@qwik.dev/core 2.0.0-beta.17 → 2.0.0-beta.19
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/bindings/qwik.darwin-arm64.node +0 -0
- package/bindings/qwik.linux-x64-gnu.node +0 -0
- package/bindings/qwik.win32-x64-msvc.node +0 -0
- package/bindings/qwik_wasm_bg.wasm +0 -0
- package/dist/backpatch/package.json +1 -1
- package/dist/build/package.json +1 -1
- package/dist/cli.mjs +57 -57
- package/dist/core-internal.d.ts +32 -32
- package/dist/core.min.mjs +1 -1
- package/dist/core.mjs +1234 -788
- package/dist/core.mjs.map +1 -1
- package/dist/core.prod.mjs +815 -553
- package/dist/loader/index.mjs +2 -2
- package/dist/loader/package.json +1 -1
- package/dist/optimizer.mjs +1007 -1000
- package/dist/qwikloader.debug.js +1 -1
- package/dist/qwikloader.js +1 -1
- package/dist/server.mjs +65 -106
- package/dist/starters/adapters/cloudflare-workers/README.md +52 -0
- package/dist/starters/adapters/cloudflare-workers/adapters/cloudflare-workers/vite.config.ts +15 -0
- package/dist/starters/adapters/cloudflare-workers/gitignore +3 -0
- package/dist/starters/adapters/cloudflare-workers/package.json +31 -0
- package/dist/starters/adapters/cloudflare-workers/public/.assetsignore +4 -0
- package/dist/starters/adapters/cloudflare-workers/public/_headers +11 -0
- package/dist/starters/adapters/cloudflare-workers/public/_redirects +1 -0
- package/dist/starters/adapters/cloudflare-workers/src/entry.cloudflare-pages.tsx +23 -0
- package/dist/starters/adapters/cloudflare-workers/worker-configuration.d.ts +5 -0
- package/dist/starters/adapters/cloudflare-workers/wrangler.jsonc +41 -0
- package/dist/starters/adapters/express/package.json +1 -1
- package/dist/starters/features/compiled-i18n/package.json +37 -0
- package/dist/starters/features/compiled-i18n/src/components/locale-selector/locale-selector.tsx +30 -0
- package/dist/starters/features/{localize → compiled-i18n}/src/entry.ssr.tsx +7 -2
- package/dist/starters/features/compiled-i18n/src/routes/plugin@compiled-i18n.ts +28 -0
- package/dist/starters/features/csr/package.json +1 -1
- package/dist/starters/features/cypress/src/actions/example.action.ts +5 -0
- package/dist/starters/features/cypress/src/components/example/example.cy.tsx +50 -8
- package/dist/starters/features/cypress/src/components/example/example.tsx +13 -3
- package/dist/starters/features/cypress/src/loaders/example.loader.ts +5 -0
- package/dist/starters/features/playwright/playwright-report/index.html +0 -19
- package/dist/testing/index.d.ts +11 -11
- package/dist/testing/index.mjs +2966 -2498
- package/dist/testing/package.json +1 -1
- package/package.json +14 -11
- package/bindings/qwik.darwin-x64.node +0 -0
- package/bindings/qwik.wasm.cjs +0 -471
- package/dist/starters/features/localize/package.json +0 -37
- package/dist/starters/features/localize/src/locales/message.en.json +0 -8
- package/dist/starters/features/localize/src/locales/message.it.json +0 -8
- package/dist/starters/features/localize/src/routes/[locale]/i18n-utils.ts +0 -94
- package/dist/starters/features/localize/src/routes/[locale]/index.tsx +0 -52
- package/dist/starters/features/localize/src/routes/[locale]/layout.tsx +0 -12
package/dist/core.min.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t}from"@qwik.dev/core/preloader";const n=!1,e=!0,r=!1,o="2.0.0-beta.17-dev+c34c237",i=(t,n,...e)=>{const r=n instanceof Error?n:new Error(n);return console.error("%cQWIK ERROR","",r.message,...e,r.stack),t&&setTimeout(()=>{throw r},0),r},s=t=>{const n=Object.getPrototypeOf(t);return n===Object.prototype||n===Array.prototype||null===n},l=t=>"object"==typeof t&&null!==t,c=t=>Array.isArray(t),u=t=>"string"==typeof t,f=t=>"function"==typeof t,a=(t,n=[])=>{const e=(t=>`Code(Q${t}) https://github.com/QwikDev/qwik/blob/main/packages/qwik/src/core/error/error.ts#L${8+t}`)(t,...n);return((t,...n)=>i(false,t,...n))(e,...n)},h="<sync>",d=t=>p(t)&&t.o==h,p=t=>"function"==typeof t&&"function"==typeof t.getSymbol,$="q:renderFn",y="⚡️",w="q:slot",m="q:s",b="q:style",v="style[q\\:style]",g=v+",style[q\\:sstyle]",S="q:sstyle",k="q:ctx",x="q:brefs",R=(t,n)=>t["qFuncs_"+n]||[],q="q:base",N="q:instance",j="q:container-island",C="/"+j,A="q:ignore",P="/"+A,O="q:container",I="/"+O,_="http://www.w3.org/1999/xhtml",M="http://www.w3.org/2000/svg",E="http://www.w3.org/1998/Math/MathML",T="qRender",F="q:key",D="q:props",L="q:seq",W="q:seqIdx",U=":on",V=":onIdx",z=":onFlags",Q="qkssr-f",B=":",H="dangerouslySetInnerHTML",J=()=>({isServer:n,importSymbol(t,n,e){if(!n)throw a(14,[e]);if(!t)throw a(13,[n,e]);const r=G(t.ownerDocument,t,n).toString(),o=new URL(r);return o.hash="",import(o.href).then(t=>t[e])},raf:t=>new Promise(n=>{requestAnimationFrame(()=>{n(t())})}),chunkForSymbol:(t,n)=>[t,n??"_"]}),G=(t,n,e)=>{const r=t.baseURI,o=new URL(n.getAttribute(q)??r,r);return new URL(e,o)};let Y=/*#__PURE__ */J();const X=t=>Y=t,K=()=>Y,Z=t=>t&&"number"==typeof t.nodeType,tt=t=>1===t.nodeType,nt=t=>!!t&&"object"==typeof t&&"function"==typeof t.then,et=(t,n,e)=>{try{const r=t();return nt(r)?r.then(n,e):n(r)}catch(t){return e(t)}},rt=(t,n)=>{try{return nt(t)?t.catch(n):t}catch(t){return n(t)}},ot=(t,n)=>nt(t)?t.then(n):n(t),it=t=>new Promise(n=>{setTimeout(n,t)});function st(t,n=0){const e=e=>{if(nt(e)&&n<100)return e.then(st.bind(null,t,n++));throw e};try{const n=t();return nt(n)?n.catch(t=>e(t)):n}catch(t){return e(t)}}function lt(){}function ct(){}let ut;function ft(t){if(void 0===ut){const n=Ti();if(n&&n.l)return n.l;if(void 0!==t)return t;throw new Error("Reading `locale` outside of context.")}return ut}function at(t,n){const e=ut;try{return ut=t,n()}finally{ut=e}}const ht="q:type",dt={V:"Virtual",F:"Fragment",S:"Signal",A:"Awaited",C:"Component",I:"InlineComponent",P:"Projection"},pt=124,$t=t=>"foreignObject"===t;function yt(t,n,e,r=!1){const o=t.ownerDocument.createElementNS(e,n);for(const n of t.attributes)n.name!==B&&o.setAttribute(n.name,n.value);if(r)for(const n of t.childNodes){const t=n.nodeType;3===t?o.appendChild(n.cloneNode()):1===t&&o.appendChild(yt(n,n.localName,e,r))}return o}function wt(t,n,e,r){No(t);let o=t,i=null,s=null,l=null;for(;o;){let c=null,u=null;if(So(o)){c=o.node;const t=Jo(o),i=o.parent,f=null==s?n:i&&Qo(i,!0);if(f){const t=mt(f,Jo(o));e=t.elementNamespace,r=t.elementNamespaceFlag}const a=Xo(o);if(u=yt(c,t,e,!a),c.remove(),null==s&&(s=u),l&&l.appendChild(u),o.node=u,o.flags&=-385,o.flags|=r,a){o=a,l=u;continue}if(ti(c)){const t=Zs(c);if(t){const n=Xo(t.rootVNode);if(n){o=n,l=u;continue}}}}if(o===t)return s;const f=o.nextSibling;if(f)o=f;else{for(i=o.parent;i;){if(i===t)return s;const n=i.nextSibling;if(n)return o=n,s;i=i.parent}if(null==i)return s}}return s}function mt(t,n){const e=!t||!(!Jo(t)||(r=t,384&r.flags));var r;const o=!e&&$t(Jo(t));let i=_,s=0;const l="string"==typeof n||So(n);return l&&function(t){return"string"==typeof t?"svg"===(n=t)||$t(n):!!(128&t.flags);var n}(n)?(i=M,s=128):l&&function(t){return"string"==typeof t?"math"===t:!!(256&t.flags)}(n)?(i=E,s=256):!t||o||e||(i=128&t.flags?M:256&t.flags?E:_,s=384&t.flags),{elementNamespace:i,elementNamespaceFlag:s}}const bt=Symbol("backRef");class vt{[bt]=void 0}class gt extends vt{flags;parent;previousSibling;nextSibling;props;slotParent=null;dirty=0;dirtyChildren=null;nextDirtyChildIndex=0;constructor(t,n,e,r,o){super(),this.flags=t,this.parent=n,this.previousSibling=e,this.nextSibling=r,this.props=o}toString(){return super.toString()}}class St extends gt{key;firstChild;lastChild;node;elementName;constructor(t,n,e,r,o,i,s,l,c,u){super(n,e,r,o,i),this.key=t,this.firstChild=s,this.lastChild=l,this.node=c,this.elementName=u}}class kt extends gt{node;text;constructor(t,n,e,r,o,i,s){super(t,n,e,r,o),this.node=i,this.text=s}}class xt extends gt{key;firstChild;lastChild;constructor(t,n,e,r,o,i,s,l){super(n,e,r,o,i),this.key=t,this.firstChild=s,this.lastChild=l}}const Rt=[],qt=[];function Nt(t,n){const e=Tt(n).priority;let r=Rt.length;for(let t=0;t<Rt.length;t++)if(e<Tt(Rt[t]).priority){r=t;break}Rt.splice(r,0,n),t.u++,t.h||=new Promise(n=>t.p=n)}function jt(){for(let t=0;t<Rt.length;t++){const n=Rt[t];let e=!1;for(let t=0;t<qt.length;t++)if(Ri(n,qt[t])){e=!0;break}if(!e)return n}return null}function Ct(t,n){qt.push(t),Pt(t,n,!0)}function At(t,n){const e=qt.indexOf(t);if(-1!==e){const t=qt.length-1;e!==t&&(qt[e]=qt[t]),qt.pop()}Nt(n,t)}function Pt(t,n,e){n.u>0&&n.u--,e||(t.flags&=-65);const r=Rt.indexOf(t);-1!==r&&Rt.splice(r,1)}const Ot=new WeakMap,It=":nodeProps",_t=":nodeDiff",Mt=":signal";function Et(t,n,e){n.position=e,e&&uo(e)&&function(t,n,e){Pt(e,t);const r=Tt(e);if(r===n)return;const o=r.afterFlushTasks;if(o&&o.length>0){const t=n.afterFlushTasks;t?t.push(...o):n.afterFlushTasks=o}const i=r.extraPromises;if(i&&i.length>0){const t=n.extraPromises;t?t.push(...i):n.extraPromises=i}const s=r.journal;if(s&&s.length>0){const t=n.journal;t?t.push(...s):n.journal=s}}(t,n,e)}function Tt(t){return Ot.get(t)??null}class Ft{$;m=void 0;k=null;R=null;constructor(t,n){this.k=t,this.$=n}force(){ll(this.k,this,this.m)}get untrackedValue(){return this.$}set untrackedValue(t){this.$=t}get value(){return Dt(this,()=>this.m||=new Set,()=>this.untrackedValue)}set value(t){t!==this.$&&(this.$=t,ll(this.k,this,this.m))}valueOf(){}toString(){return this.constructor.name}toJSON(){return{value:this.$}}}const Dt=(t,n,e)=>{const r=Ti();if(r){if(null===t.k){if(!r.k)return e();t.k=r.k}const o=r.q;o&&((t,n,e)=>{ol(e,n),il(n,t),sl(n,t.k)})(t,o,n())}return e()},Lt=Symbol("CONST"),Wt=Symbol("VAR"),Ut=Symbol("OWNER"),Vt=Symbol("PROPS_HANDLER"),zt=Symbol("IMMUTABLE"),Qt=Symbol("UNINITIALIZED"),Bt=t=>t.startsWith("on:")||t.startsWith("on-window:")||t.startsWith("on-document:");function Ht(t){if(t.endsWith("$")){const[n,e]=function(t){let n="on:",e=-1;return t.startsWith("on")?(n="on:",e=2):t.startsWith("window:on")?(n="on-window:",e=9):t.startsWith("document:on")&&(n="on-document:",e=11),[n,e]}(t);if(-1!==e){const r=t.slice(e,-1);return"DOMContentLoaded"===r?n+"-d-o-m-content-loaded":function(t,n){return n+Gt(t)}("-"===r.charAt(0)?r.slice(1):r.toLowerCase(),n)}}return null}function Jt(t){return t.startsWith("preventdefault:")}const Gt=t=>t.replace(/([A-Z-])/g,t=>"-"+t.toLowerCase()),Yt=t=>t.startsWith("on:")?["",t.substring(3)]:t.startsWith("on-window:")?["window",t.substring(10)]:["document",t.substring(12)],Xt=(t,n)=>{const e=":"+n;return t?t+e:e},Kt=(t,n)=>t?"-"+n:n,Zt=[],tn={};function nn(t){return new Proxy({},new en(t))}Object.freeze(Zt),Object.freeze(tn);class en{owner;m=void 0;k=null;constructor(t){this.owner=t}get(t,n){if(n===Lt)return this.owner.constProps;if(n===Wt)return this.owner.varProps;if(n===Ut)return this.owner;if(n===Vt)return this;let e;if("children"===n)e=this.owner.children;else{if("string"==typeof n&&"string"==typeof this.owner.type){const t=Ht(n);t&&(n=t)}e=sn(this.owner,n),n in this.owner.varProps&&rn(this,n)}return e instanceof Mn&&4&e.N?e.value:e}set(t,n,e){if(n===Ut)this.owner=e;else if("children"===n)this.owner.children=e;else if(n===Lt)this.owner.constProps=e;else if(n===Wt)this.owner.varProps=e;else{if("string"==typeof n&&"string"==typeof this.owner.type){const t=Ht(n);t&&(n=t)}this.owner.constProps&&n in this.owner.constProps&&delete this.owner.constProps[n],this.owner.varProps===tn?this.owner.varProps={}:n in this.owner.varProps||(this.owner.toSort=!0),this.owner.varProps[n]!==e&&(this.owner.varProps[n]=e,on(this,n))}return!0}deleteProperty(t,n){let e=delete this.owner.varProps[n];return e&&on(this,n),this.owner.constProps&&(e=delete this.owner.constProps[n]||e),null!=this.owner.children&&"children"===n&&(this.owner.children=null,e=!0),e}has(t,n){if("children"===n)return null!=this.owner.children;if(n===Lt||n===Wt)return!0;const e=n in this.owner.varProps;if("string"==typeof n&&(e&&rn(this,n),"string"==typeof this.owner.type)){const t=Ht(n);t&&(n=t)}return e||!!this.owner.constProps&&n in this.owner.constProps}getOwnPropertyDescriptor(t,n){return{configurable:!0,enumerable:!0,value:"children"===n?this.owner.children:this.owner.constProps&&n in this.owner.constProps?this.owner.constProps[n]:this.owner.varProps[n]}}ownKeys(){const t=Object.keys(this.owner.varProps);if(null!=this.owner.children&&t.push("children"),this.owner.constProps)for(const n in this.owner.constProps)-1===t.indexOf(n)&&t.push(n);return t}}const rn=(t,n)=>{const e=Ti();e&&null===t.k&&e.k&&(t.k=e.k);const r=e?.q;r&&Sl(t.owner._proxy,n,t,r)},on=(t,n)=>{const e=function(t,n){return t?.get(n)}(t.m,n);e&&ll(t.k,t,e)},sn=(t,n)=>t.constProps&&n in t.constProps?t.constProps[n]:t.varProps[n],ln=t=>t?Wt in t?"children"in t?{...t[Wt],children:t.children}:t[Wt]:t:null,cn=t=>t&&Lt in t?t[Lt]:null,un=t=>t&&Wt in t,fn=t=>{const n=t.j;if(n){t.j=null;try{n()}catch(t){i(!1,t)}}};function an(t,n,e){t[bt]||(t[bt]=new Map);const r=t[bt];let o=r.get(n);return o||(o=[t,n],r.set(n,o)),e&&(o[3]=e),o}const hn=Symbol("invalid"),dn=Symbol("store.target"),pn=Symbol("store.handler"),$n=Symbol("store.all"),yn=(t,n)=>(e,r)=>{const o=Qi();return o.q=an(t,":"),o.k=n||void 0,Wi(o,()=>{if(f(e))return e();if(r)return e[r];if(rl(e))return e.value;if(l(e)&&ml(e))return Sl(pl(e),$n,dl(e),o.q),e;throw a(2)})},wn=(t,n)=>{let e=null;return[r=>{"function"==typeof r&&(e||(e=[],t.j=Wl(()=>{t.j=null;for(const t of e)try{t()}catch(t){n(t)}})),e.push(r))},e??[]]};class mn extends Ft{O;N;[bt]=void 0;constructor(t,n,e=33){super(t,hn),this.O=n,this.N=e}invalidate(){this.N|=1;const t=Qi();t.k=this.k||void 0,ot(st(()=>Wi.call(this,t,this._)),()=>{2&this.N&&(this.N&=-3,ll(this.k,this,this.m))})}force(){this.N|=2,super.force()}get untrackedValue(){return this._(),this.$}_(){if(!(1&this.N))return;const t=this.O;el(t);const n=Ti(),e=n?.q;n&&(n.q=an(this,"."));try{const e=t.getFn(n)();if(nt(e))throw a(29,[t.dev?t.dev.file:"",t.M]);this.N&=-2,e!==this.$&&(this.$!==hn&&(this.N|=2),this.$=e)}finally{n&&(n.q=e)}}set value(t){throw a(30)}get value(){return super.value}}class bn extends mn{T=!1;D=void 0;L=void 0;W=void 0;j;U=hn;B=null;[bt]=void 0;constructor(t,n,e=1){super(t,n,e)}get loading(){return Dt(this,()=>this.L||=new Set,()=>this.untrackedLoading)}set untrackedLoading(t){t!==this.T&&(this.T=t,ll(this.k,this,this.L))}get untrackedLoading(){return this.T}get error(){return Dt(this,()=>this.W||=new Set,()=>this.untrackedError)}set untrackedError(t){t!==this.D&&(this.D=t,ll(this.k,this,this.W))}get untrackedError(){return this.D}invalidate(){this.B=null,super.invalidate()}async promise(){return this.B=null,await st(()=>this._()),this.$}_(){if(!(1&this.N))return;const t=this.U===hn||null===this.B?this.H():this.U;if(nt(t)){const n=this.U===hn;this.untrackedLoading=!0,this.untrackedError=void 0,this.U!==hn&&fn(this);const e=t.then(t=>{this.U=t,this.untrackedLoading=!1,this.untrackedError=void 0,this.setValue(t)&&(this.N&=-3,ll(this.k,this,this.m))}).catch(t=>{nt(t)||(this.U=t,this.untrackedLoading=!1,this.untrackedError=t)});if(n)throw e;return e}this.setValue(t)}async H(){if(!this.B){const[t]=wn(this,t=>this.k?.handleError(t,null));this.B=this.O.getFn()({track:yn(this,this.k),cleanup:t})}return this.B}setValue(t){this.N&=-2;const n=t!==this.$;return n&&(this.$=t,this.N|=2),n}}const vn=t=>function(n,...e){return t.call(null,Kl(n),...e)};class gn extends mn{constructor(t,n){super(t,n,33)}J=!1;_(){if(!(1&this.N))return;el(this.O);let t=this.O.resolved;"function"==typeof t&&(t=t());const{deserialize:n,initial:e}=t,r=t.update,o=this.$===hn?e:this.$,i=Ji(()=>this.J?r?.(o)||o:n(o),this,".",this.k),s=this.J&&"undefined"!==i||i!==this.$;this.N&=-2,this.J=!0,s&&(this.N|=2,this.$=i)}}const Sn=(t,n)=>new mn(n?.container||null,t,ul(n?.serializationStrategy||"always")),kn=(t,n)=>new bn(n?.container||null,t,ul(n?.serializationStrategy||"never")),xn=t=>new gn(null,t),Rn=t=>new Ft(null,t),qn=/*#__PURE__*/vn(Sn),Nn=/*#__PURE__*/vn(kn),jn=vn(xn),Cn=t=>t.value,An=(t,n)=>t[n],Pn=t=>1===t.length?rl(t[0])?t[0].R||=new Mn(null,Cn,t,null):ml(t[0])?new Mn(null,Cn,t,null):t[0].value:new Mn(null,An,t,null),On=(...t)=>{const n=t[0],e=t.length<2?"value":t[1];if(!l(n))return n[e];if(rl(n))return n instanceof Mn&&4&n.N?n:Pn(t);if(un(n)){const r=n[Lt],o=n[Wt];if(r&&e in r)return r[e];if(e in o)return In(o[e],t)}else{const r=pl(n);if(r)return In(r[e],t)}return n[e]},In=(t,n)=>rl(t)?t:Pn(n),_n=(t,n)=>{const e=On(t,n);return e===zt?t[n]:e};class Mn extends Ft{G;Y;X;N;K=void 0;[bt]=void 0;constructor(t,n,e,r,o=5){super(t,hn),this.G=e,this.Y=n,this.X=r,this.N=o}invalidate(){this.N|=1;try{this._()}catch(t){this.k&&this.K&&(this.k.setHostProp(this.K,Mt,this),po(this.k,this.K,16))}2&this.N&&(this.N&=-3,ll(this.k,this,this.m))}force(){this.N|=2,this.k&&this.K&&(this.k.setHostProp(this.K,Mt,this),po(this.k,this.K,16))}get untrackedValue(){return this._(),this.$}_(){if(!(1&this.N))return;const t=Ji(()=>this.Y(...this.G),this,".",this.k);this.N&=-3,t!==this.$&&(this.N|=2,this.$=t)}Z(){return this.Y===Cn&&rl(this.G[0])?this.G[0]:this}set value(t){throw a(31)}get value(){return super.value}}function En(t,n){go(n)&&So(n)&&Ko(n);const e=n[bt];if(e){for(const[,n]of e)Tn(t,n);e.clear()}}function Tn(t,n){const e=n[2];if(e){for(const r of e)if(r instanceof Ft)Fn(t,r,n);else if(r instanceof bn)Dn(r,n);else if(un(r))Ln(r[Vt],n);else if(t.tt.has(r)){const e=t.tt.get(r);Ln(dl(e),n)}e.clear()}}function Fn(t,n,e){const r=n.m;r&&r.has(e)&&r.delete(e),n instanceof Mn&&(n.K=void 0,En(t,n))}function Dn(t,n){const e=t.m;e&&e.has(n)&&e.delete(n);const r=t.L;r&&r.has(n)&&r.delete(n)}function Ln(t,n){const e=t?.m;if(e)for(const[t,r]of e.entries())r.has(n)&&(r.delete(n),0===r.size&&e.delete(t))}class Wn{data;constructor(t){this.data=t}}const Un=()=>{const t=Fi();let n=t.nt;return n||(n=Ks(tl(t.K instanceof St?t.K.node:void 0)).parseQRL(decodeURIComponent(String(t.et)))),n.rt},Vn=(t,n)=>{const[e]=Un();e.value="number"===n.type?n.valueAsNumber:n.value},zn=(t,n)=>{const[e]=Un();e.value=n.checked},Qn=Object.prototype.hasOwnProperty,Bn="bind:value",Hn="bind:checked";class Jn{type;toSort;key;varProps;constProps;children;dev;_proxy=null;constructor(t,n,e,r,o,i,s){if(this.type=t,this.toSort=!!i,this.key=null==o?null:String(o),this.varProps=!n||Xn(n)?tn:n,this.constProps=!e||Xn(e)?null:e,this.children=r,"string"==typeof t){for(const t in this.constProps){const n=Ht(t);n&&(Gn(this.constProps,n,this.constProps[t]),delete this.constProps[t])}for(const t in this.varProps){const n=Ht(t);n&&(e&&Qn.call(e,t)||(i=Gn(this.varProps,n,this.varProps[t])||i),delete this.varProps[t])}Qn.call(this.varProps,Hn)?i=Kn(this.varProps,Hn)||i:Qn.call(this.varProps,Bn)?i=Kn(this.varProps,Bn)||i:this.constProps&&(Qn.call(this.constProps,Hn)?Kn(this.constProps,Hn):Qn.call(this.constProps,Bn)&&Kn(this.constProps,Bn)),Qn.call(this.varProps,"className")&&(this.varProps.class=this.varProps.className,this.varProps.className=void 0,i=!0),this.constProps&&Qn.call(this.constProps,"className")&&(this.constProps.class=this.constProps.className,this.constProps.className=void 0)}}get props(){return this._proxy||=nn(this)}}const Gn=(t,n,e)=>{let r=t[n];if(!r)return t[n]=e,!0;Array.isArray(r)?r.push(e):r=t[n]=[r,e]},Yn=t=>t instanceof Jn,Xn=t=>{for(const n in t)if(void 0!==t[n])return!1;return!0},Kn=(t,n)=>{const e=t[n];if(t[n]=void 0,e)return n===Hn?(t.checked=e,t["on:input"]=Ql(null,"_chk",zn,null,null,[e])):(t.value=e,t["on:input"]=Ql(null,"_val",Vn,null,null,[e])),!0},Zn=(t,n,e,r,o,i,s)=>Bi(()=>new Jn(t,n,e,r,i,!1,s)),te=(t,n,e,r,o,i,s)=>Bi(()=>{if(n)for(const t in n)"children"===t?(r||=n.children,delete n.children):"key"===t?(i||=n.key,delete n.key):e&&t in e&&delete n[t];return new Jn(t,n,e,r,i,!0,s)}),ne=(t,n,e,r)=>ie(t,n,r),ee=(t,n,e,r,o)=>ie(t,{...e,...n},o),re=(t,n,e,r,o,i)=>ie(t,{...e,...n,children:r},i),oe=t=>t.children,ie=(t,n,e,r,o)=>te(t,n,null,null,0,e,o),se=ie,le=ie;function ce(t,n,...e){const r={children:arguments.length>2?e.flat(100):null};let o=null;for(const t in n)"key"==t?o=n[t]:r[t]=n[t];return te(t,n,null,r.children,0,o)}const ue=t=>t.children,fe=(t,n)=>new Jn(oe,null,null,t.children,n),ae=(t,n,e,r,o)=>{const i=zi(t.l,e||n,t);let s;e&&(i.q=an(e,":"),i.k=t),t.ensureProjectionResolved(n);let l=!1;if(null===r&&(r=t.getHostProp(n,$)),p(r))"children"in(o=o||t.getHostProp(n,D)||tn)&&delete o.children,s=r.getFn(i);else if(oc(r)){const t=r;s=()=>Ui(i,t,[o||tn,null,0])}else{l=!0;const t=r;s=()=>Ui(i,t,[o||tn])}const c=(e=0)=>et(()=>(l||(t.setHostProp(n,W,null),t.setHostProp(n,V,null)),e>0&&go(n)&&En(t,n),ot(s(o),t=>ot(i.ot,()=>t))),e=>{const r=t.getHostProp(n,U);return r?function(t,n){const e=de(t);let r=t;const o="on:qvisible";return ot(e,t=>{const e=!t;let i=null;for(const s in n)if(Object.prototype.hasOwnProperty.call(n,s)){let l=t,c=s;if(e){if(s!==o&&!s.startsWith("on-document:")&&!s.startsWith("on-window:"))continue;if(!i){const[t,n]=pe(r);r=n,i=t}l=i}l&&("script"===l.type&&s===o&&(c="on-document:qinit"),he(l,c,n[s]))}return r})}(e,r):e},t=>{if(nt(t)&&e<100)return t.then(()=>c(++e));if(e>=100)throw new Error("Max retry count of component execution reached");throw t});return c()};function he(t,n,e){const r=t.constProps||={},o=r[n];null==o?r[n]=e:Array.isArray(o)?o.push(...e):r[n]=[o,...e],t.varProps[n]&&(Array.isArray(o)?o.push(...r[n]):t.varProps[n]=[o,...e],r[n]=void 0)}function de(t){const n=[t];for(;n.length;){const t=n.shift();if(Yn(t)){if("string"==typeof t.type)return t;n.push(t.children)}else if(c(t))n.push(...t);else{if(nt(t))return ot(t,t=>de(t));if(rl(t))return de(Bi(()=>t.value))}}return null}function pe(t){if(Yn(t)){const n=$e();return t.type===ue||oc(t.type)?(null==t.children?t.children=n:c(t.children)?t.children.push(n):t.children=[t.children,n],[n,t]):[n,Zn(ue,null,null,[t,n],0,null)]}if("object"!=typeof(n=t)&&"function"!=typeof n&&null!=n){const n=$e();return[n,Zn(ue,null,null,[t,n],0,null)]}var n;if(c(t)&&t.length>0){const[n,e]=pe(t[0]);return[n,t]}return[null,t]}function $e(){return new Jn("script",null,{hidden:""})}const ye=t=>Zn(oe,null,{[m]:""},t.children,0,t.name??""),we=Symbol("skip render"),me=()=>null,be=()=>null,ve=t=>[ie(be,{data:"qkssr-pu"}),t.children,ie(be,{data:"qkssr-po"})],ge=(t,n)=>ie(fe,{children:ie(Se,t)},n),Se=()=>null;function ke(t){let n="";const e=t.length;let r=0,o=r;for(;r<e;r++){const e=t.charCodeAt(r);if(60===e)n+=t.substring(o,r)+"<";else if(62===e)n+=t.substring(o,r)+">";else if(38===e)n+=t.substring(o,r)+"&";else if(34===e)n+=t.substring(o,r)+""";else{if(39!==e)continue;n+=t.substring(o,r)+"'"}o=r+1}return 0===o?t:n+t.substring(o)}function xe(t){let n="";for(let e=0;e<t.length;e++)"\\"===t.charAt(e)&&e+1<t.length?(n+=t.charAt(e+1),e++):n+=t.charAt(e);return n}function Re(t){return!t.startsWith("q:")&&!t.startsWith(":")}const qe=(t,n=[],e={})=>{let r=null;const o=t[Lt];if(o)for(const t in o)n.includes(t)||(r||={},r[t]=o[t]);const i=e,s=t[Wt];for(const t in s)n.includes(t)||(i[t]=s[t]);return nn(new Jn(null,i,r))},Ne=t=>y+t;function je(t){return"class"in t}function Ce(t){return"class"===t}const Ae=t=>{if(t){let n=0;do{t=t.substring(0,n)+Ne(t.substring(n))}while(0!==(n=t.indexOf(" ",n)+1))}return t||null},Pe=new Set(["animationIterationCount","aspectRatio","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","columns","flex","flexGrow","flexShrink","gridArea","gridRow","gridRowEnd","gridRowStart","gridColumn","gridColumnEnd","gridColumnStart","fontWeight","lineClamp","lineHeight","opacity","order","orphans","scale","tabSize","widows","zIndex","zoom","MozAnimationIterationCount","MozBoxFlex","msFlex","msFlexPositive","WebkitAnimationIterationCount","WebkitBoxFlex","WebkitBoxOrdinalGroup","WebkitColumnCount","WebkitColumns","WebkitFlex","WebkitFlexGrow","WebkitFlexShrink","WebkitLineClamp"]),Oe=(t,n=0)=>{for(let e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;return Number(Math.abs(n)).toString(36)},Ie=t=>{if(!t)return"";if(u(t))return t.trim();const n=[];if(c(t))for(const e of t){const t=Ie(e);t&&n.push(t)}else for(const[e,r]of Object.entries(t))r&&n.push(e.trim());return n.join(" ")},_e=t=>t.replace(/([A-Z])/g,"-$1").toLowerCase();function Me(t,n,e){if(Ce(t)){const t=Ie(n);n=e?e+(t.length?" "+t:t):t}else"style"===t?n=(t=>{if(null==t)return"";if("object"==typeof t){if(c(t))throw a(0,[t,"style"]);{const n=[];for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)){const r=t[e];null!=r&&"function"!=typeof r&&(e.startsWith("--")?n.push(e+":"+r):n.push(_e(e)+":"+Ee(e,r)))}return n.join(";")}}return String(t)})(n):function(t){return t.startsWith("aria-")||["spellcheck","draggable","contenteditable"].includes(t)}(t)||"number"==typeof n?n=(t=>null!=t?String(t):null)(n):!1===n||null==n?n=null:!0===n&&Jt(t)&&(n="");return n}const Ee=(t,n)=>"number"!=typeof n||0===n||Pe.has(t)?n:n+"px",Te=()=>{const t=Di(),n=t.K;let e=t.k.getHostProp(n,L);null===e&&(e=[],t.k.setHostProp(n,L,e));let r=t.k.getHostProp(n,W);for(null===r&&(r=0),t.k.setHostProp(n,W,r+1);e.length<=r;)e.push(void 0);return{val:e[r],set:t=>e[r]=t,i:r,iCtx:t}},Fe=(t,n)=>{const{val:e,set:r,iCtx:o,i}=Te();if(e)return;r(1);const s=new Le(10|(!1===n?.deferUpdates?0:16),i,o.K,t,void 0,null);r(s);const l=o.k,{ot:c}=o,u=ot(c,()=>De(s,l,o.K));nt(u)&&(o.ot=u)},De=(t,n,e)=>{t.N&=-9,fn(t);const r=Qi(n.l,e,"qTask");r.k=n;const o=t.nt.getFn(r,()=>En(n,t)),i=yn(t,n),[s]=wn(t,t=>n.handleError(t,e)),l={track:i,cleanup:s};return et(()=>o(l),s,r=>{if(nt(r))return r.then(()=>De(t,n,e));n.handleError(r,e)})};class Le extends vt{N;it;st;nt;lt;j;constructor(t,n,e,r,o,i){super(),this.N=t,this.it=n,this.st=e,this.nt=r,this.lt=o,this.j=i}}const We=t=>t instanceof Le,Ue=(t,n)=>{const[e]=Un(),r=Ks(n);e.N|=8,po(r,e.st,1)},Ve=(t,n,e)=>{let r=e>>1,o=t.length-2>>1;for(;r<=o;){const e=r+(o-r>>1),i=t[e<<1];if(i===n)return e<<1;i<n?r=e+1:o=e-1}return~(r<<1)},ze=(t,n,e,r,o=!1)=>{const i=Ve(t,n,r);i>=0?null!=e||o?t[i+1]=e:t.splice(i,2):(null!=e||o)&&t.splice(-1^i,0,n,e)},Qe=(t,n,e)=>{const r=Ve(t,n,e);return r>=0?t[r+1]:null},Be=(t,n,e)=>Ve(t,n,e)>=0;function He(t){return t?t.nextSibling:null}const Je=Object.prototype.hasOwnProperty;function Ge(t,n,e,r,o){const i=null!=r?Me(e,r,o):null;Po(t,n,e,i)}const Ye=(t,n,e,r,o,i)=>{const s={container:t,journal:n,cursor:o,scopedStyleIdPrefix:i,stack:[],asyncQueue:[],asyncAttributePromises:[],vParent:null,vCurrent:null,vNewNode:null,vSiblings:null,vSiblingsArray:null,vSideBuffer:null,jsxChildren:null,jsxValue:null,jsxIdx:0,jsxCount:0,shouldAdvance:!0,subscriptionData:{const:new Wn({ct:i,ut:!0}),var:new Wn({ct:i,ut:!1})}};Xe(s,e,r);const l=lr(s);if(nt(l))return l.finally(()=>{cr(s)});cr(s)};function Xe(t,n,e){if(go(n),go(e),t.vParent=e,t.vNewNode=null,t.vCurrent=Xo(e),er(t,n,!0),!(32&t.vParent.flags))for(;t.stack.length;){for(;t.jsxIdx<t.jsxCount;){if(ct(),"string"==typeof t.jsxValue)gr(t,t.jsxValue);else if("number"==typeof t.jsxValue)gr(t,String(t.jsxValue));else if(t.jsxValue&&"object"==typeof t.jsxValue){if(Array.isArray(t.jsxValue))tr(t,t.jsxValue,!1);else if(rl(t.jsxValue)){wr(t,"S",null);const n=t.jsxValue instanceof Mn?t.jsxValue.Z():t.jsxValue,e=t.vCurrent?.[bt]?.get(".")?.[2]?.has(n);if(!e){const e=t.vNewNode||t.vCurrent;tr(t,Ke(t,()=>Gi(n,e,".",t.container)),!0)}}else if(nt(t.jsxValue))wr(t,"A",null),t.asyncQueue.push(t.jsxValue,t.vNewNode||t.vCurrent);else if(Yn(t.jsxValue)){const n=t.jsxValue.type;"string"==typeof n?(ar(t),hr(t,t.jsxValue,n),t.jsxValue.constProps&&Je.call(t.jsxValue.constProps,H)||Je.call(t.jsxValue.varProps,H)?ur(t,!1):tr(t,t.jsxValue.children,!0)):"function"==typeof n&&(n===ue?(ar(t),wr(t,"F",t.jsxValue.key),tr(t,t.jsxValue.children,!0)):n===ye?(ar(t),ir(t)||tr(t,t.jsxValue.children,!0)):n===xr?(or(t),tr(t,t.jsxValue.children,!0,!1)):n===be||n===me?fr(t):(ar(t),mr(t,n)))}}else t.jsxValue===we||gr(t,"");Ze(t)}fr(t),sr(t),nr(t)}}function Ke(t,n){try{return n()}catch(e){if(nt(e)){const r=e.then(()=>st(n));return t.asyncQueue.push(r,t.vNewNode||t.vCurrent),null}throw e}}function Ze(t){if(t.shouldAdvance){if(t.jsxIdx++,t.jsxIdx<t.jsxCount)t.jsxValue=t.jsxChildren[t.jsxIdx];else if(t.stack.length>0&&!1===t.stack[t.stack.length-1])return nr(t);null!==t.vNewNode?t.vNewNode=null:t.vCurrent=He(t.vCurrent)}else t.shouldAdvance=!0}function tr(t,n,e,r=!0){r&&(null==n||e&&c(n)&&0===n.length)?ur(t):(er(t,n,e),e&&(t.vSideBuffer=null,t.vSiblings=null,t.vSiblingsArray=null,t.vParent=t.vNewNode||t.vCurrent,t.vCurrent=Xo(t.vParent),t.vNewNode=null),t.shouldAdvance=!1)}function nr(t){t.stack.pop()&&(t.vSideBuffer=t.stack.pop(),t.vSiblings=t.stack.pop(),t.vSiblingsArray=t.stack.pop(),t.vNewNode=t.stack.pop(),t.vCurrent=t.stack.pop(),t.vParent=t.stack.pop()),t.jsxValue=t.stack.pop(),t.jsxCount=t.stack.pop(),t.jsxIdx=t.stack.pop(),t.jsxChildren=t.stack.pop(),Ze(t)}function er(t,n,e){t.stack.push(t.jsxChildren,t.jsxIdx,t.jsxCount,t.jsxValue),e&&t.stack.push(t.vParent,t.vCurrent,t.vNewNode,t.vSiblingsArray,t.vSiblings,t.vSideBuffer),t.stack.push(e),Array.isArray(n)?(t.jsxIdx=0,t.jsxCount=n.length,t.jsxChildren=n,t.jsxValue=t.jsxCount>0?n[0]:null):void 0===n?(t.jsxIdx=0,t.jsxValue=null,t.jsxChildren=null,t.jsxCount=0):(t.jsxIdx=0,t.jsxValue=n,t.jsxChildren=null,t.jsxCount=1)}function rr(t){return t.vNewNode?t.vCurrent:He(t.vCurrent)}function or(t){const n=t.jsxValue.key;t.vCurrent=Co(t.vParent,n,n=>Fo(t.container.rootVNode,n)),t.vCurrent=t.vCurrent&&32&t.vCurrent.flags?null:t.vCurrent,null==t.vCurrent&&(t.vNewNode=vo(),Ao(t.vNewNode,w,n),t.vNewNode.slotParent=t.vParent,Ao(t.vParent,n,t.vNewNode))}function ir(t){const n=Mi(t.vParent),e=function(t,n){const e=t.jsxValue,r=e.constProps;if(r&&"object"==typeof r&&Je.call(r,"name")){const e=r.name;if(n&&e instanceof Mn)return Gi(e,n,":",t.container)}return sn(e,"name")||""}(t,n),r=n?Co(n,e,null):null;return null==r?(Vo(t.journal,t.vParent,t.vNewNode=vo(),t.vCurrent&&rr(t)),Ao(t.vNewNode,w,e),n&&Ao(n,e,t.vNewNode),!1):(r===t.vCurrent||(Vo(t.journal,t.vParent,t.vNewNode=r,t.vCurrent&&rr(t)),Ao(t.vNewNode,w,e),n&&Ao(n,e,t.vNewNode)),!0)}function sr(t){if(t.vSideBuffer){for(const n of t.vSideBuffer.values())32&n.flags||(Nr(t.container,t.journal,n,t.cursor),Bo(t.journal,t.vParent,n,!0));t.vSideBuffer.clear(),t.vSideBuffer=null}t.vCurrent=null}function lr(t){for(;t.asyncQueue.length;){const n=t.asyncQueue.shift(),e=t.asyncQueue.shift();if(nt(n))return n.then(n=>(Xe(t,n,e),lr(t))).catch(n=>(t.container.handleError(n,e),lr(t)));Xe(t,n,e)}if(t.asyncAttributePromises.length){const n=t.asyncAttributePromises.splice(0);return Promise.all(n).then(()=>lr(t))}}function cr(t){t.journal=null,t.cursor=null}function ur(t,n=!0){const e=t.vCurrent&&Xo(t.vCurrent);if(null!==e){let r=e;for(;r;)Nr(t.container,t.journal,r,t.cursor),r=r.nextSibling;Ho(t.journal,t.vCurrent,e,n)}}function fr(t){if(null!==t.vCurrent)for(;t.vCurrent;){const n=t.vCurrent;t.vCurrent=He(t.vCurrent),t.vParent===n.parent&&(Nr(t.container,t.journal,n,t.cursor),Bo(t.journal,t.vParent,n,!0))}}function ar(t){for(;null!==t.vCurrent&&xo(t.vCurrent);){Nr(t.container,t.journal,t.vCurrent,t.cursor);const n=t.vCurrent;t.vCurrent=He(t.vCurrent),Bo(t.journal,t.vParent,n,!0)}}function hr(t,n,e){const r=t.vCurrent&&So(t.vCurrent)&&e===Jo(t.vCurrent),o=n.key;let i=!1;const s=Sr(t.vCurrent);if(r&&o===s)$r(t,e,o);else{const r=pr(e,o);yr(t,e,o,r,t.vParent)&&(i=function(t,n,e){const r=function(t,n){const e=Qo(t.vParent,!0),{elementNamespace:r,elementNamespaceFlag:o}=mt(e,n),i=t.container.document.createElementNS(r,n);return t.vNewNode=wo(i,n),t.vNewNode.flags|=o,i}(t,e);function o(n,e,o){if(null!=(e=Me(n,e,t.scopedStyleIdPrefix))){if(128&o.flags){const t=function(t){switch(t){case"xlink:href":case"xlink:actuate":case"xlink:arcrole":case"xlink:role":case"xlink:show":case"xlink:title":case"xlink:type":return"http://www.w3.org/1999/xlink";case"xml:base":case"xml:lang":case"xml:space":return"http://www.w3.org/XML/1998/namespace";default:return null}}(n);if(t)return void r.setAttributeNS(t,n,e)}r.setAttribute(n,e)}}const{constProps:i}=n;let s=!1;if(i)for(const n in i){let l=i[n];if(Bt(n)){const e=Yt(n);if(e){const[r,o]=e,i=Xt(r,o),s=Kt(r,i);o&&(Ao(t.vNewNode,"::"+i,l),r&&Po(t.journal,t.vNewNode,n,""),dr(t,s))}s=!0;continue}if("ref"===n){if(rl(l)){l.value=r;continue}if("function"==typeof l){l(r);continue}if(null==l)continue;throw a(15,[null])}if(rl(l)){const e=t.vNewNode,r=l;l=st(()=>Gi(r,e,n,t.container,t.subscriptionData.const))}if(nt(l)){const e=t.vNewNode,r=l.then(t=>o(n,t,e));t.asyncAttributePromises.push(r);continue}if(n!==H)if("textarea"!==e||"value"!==n)o(n,l,t.vNewNode);else{if(l&&"string"!=typeof l)continue;r.value=ke(l||"")}else l&&(r.innerHTML=String(l),r.setAttribute(O,"html"))}const l=n.key;return l&&(t.vNewNode.key=l),t.scopedStyleIdPrefix&&(je(n.varProps)||n.constProps&&je(n.constProps)||r.setAttribute("class",t.scopedStyleIdPrefix)),Vo(t.journal,t.vParent,t.vNewNode,t.vCurrent),s}(t,n,e))}const l=n.varProps,c=t.vNewNode||t.vCurrent,u=c.node;l&&(i=function(t,n,e,r){Io(n);let o=!1;const i=(e,r)=>{if(e.startsWith(":"))return void Ao(n,e,r);if("ref"===e){const t=n.node;if(rl(r))return void(r.value=t);if("function"==typeof r)return void r(t);throw a(15,[null])}const o=n[bt]?.get(e);if(rl(r)){const i=r instanceof Mn?r.Z():r;if(o?.[2]?.has(i))return;o&&Tn(t.container,o);const s=n;r=st(()=>Gi(i,s,e,t.container,t.subscriptionData.var))}else o&&Tn(t.container,o);if(nt(r)){const o=n,i=r.then(n=>{Ge(t.journal,o,e,n,t.scopedStyleIdPrefix)});return void t.asyncAttributePromises.push(i)}Ge(t.journal,n,e,r,t.scopedStyleIdPrefix)},s=(n,e)=>{const r=Yt(n);if(r){const[n,s]=r,l=Xt(n,s),c=Kt(n,l);i(":"+l,e),dr(t,c),o=!0}};for(const t of Object.keys(e)){const n=e[t],o=Bt(t);Je.call(r,t)?n!==r[t]&&(o?s(t,n):i(t,n)):null!=n&&(o?s(t,n):i(t,n))}for(const t of Object.keys(r))Je.call(e,t)||t.startsWith(Ar)||Bt(t)||i(t,null);return o}(t,c,l,c.props||={})||i),i&&(u.qDispatchEvent||(u.qDispatchEvent=(n,e)=>{if(32&c.flags)return;const r=Gt(n.type),o=":"+e.substring(1)+":"+r,i=[Co(c,o,null),Co(c,Ar+o,null)];for(const e of i.flat(2))e&&rt(e(n,u),n=>{t.container.handleError(n,c)})}))}function dr(t,n){const e=import.meta.env.TEST?t.container.document.defaultView:window;e&&(e.qwikevents||=[]).push(n)}function pr(t,n){return null==n?null:t?t+":"+n:n}function $r(t,n,e){const r=pr(n,e);return!(!r||!t.vSideBuffer?.has(r)||(t.vSideBuffer.delete(r),0))}function yr(t,n,e,r,o,i){if(t.vNewNode=function(t,n,e){let r=null;if(null===t.vSiblings){t.vSiblings=new Map,t.vSiblingsArray=[];let o=t.vCurrent;for(;o;){const i=So(o)?Jo(o):null,s=Sr(o)||kr(o,t.container.ft);null===r&&s==e&&i==n?r=o:null===s?t.vSiblingsArray.push(i,o):t.vSiblings.set(pr(i,s),o),o=o.nextSibling}}else if(null===e){for(let e=0;e<t.vSiblingsArray.length;e+=2)if(t.vSiblingsArray[e]===n){r=t.vSiblingsArray[e+1],t.vSiblingsArray.splice(e,2);break}}else{const o=pr(n,e);t.vSiblings.has(o)&&(r=t.vSiblings.get(o),t.vSiblings.delete(o))}return function(t,n){if(!n){if(t.vCurrent){const n=So(t.vCurrent)?Jo(t.vCurrent):null,e=Sr(t.vCurrent)||kr(t.vCurrent,t.container.ft);if(null!=e){const r=pr(n,e);t.vSideBuffer||=new Map,t.vSideBuffer.set(r,t.vCurrent),t.vSiblings?.delete(r)}}return}let e=t.vCurrent;for(;e&&e!==n;){const n=So(e)?Jo(e):null,r=Sr(e)||kr(e,t.container.ft);if(null!=r){const o=pr(n,r);t.vSideBuffer||=new Map,t.vSideBuffer.set(o,e),t.vSiblings?.delete(o)}e=e.nextSibling}}(t,r),r}(t,n,e),t.vNewNode)return t.vCurrent=t.vNewNode,t.vNewNode=null,!1;if(null!=r){const n=t.vSideBuffer?.get(r)||null;if(n){if(t.vSideBuffer.delete(r),i&&t.vCurrent){const n=Sr(t.vCurrent)||kr(t.vCurrent,t.container.ft);if(null!=n){const e=pr(So(t.vCurrent)?Jo(t.vCurrent):null,n);null!=e&&(t.vSideBuffer||=new Map,t.vSideBuffer.set(e,t.vCurrent))}}return Vo(t.journal,o,n,t.vCurrent),t.vCurrent=n,t.vNewNode=null,!1}}return!0}function wr(t,n,e){const r="F"===n,o=Sr(t.vCurrent);if(!t.vCurrent||!Ro(t.vCurrent)||o!==e||r&&!e)return null===e?(Vo(t.journal,t.vParent,t.vNewNode=vo(),t.vCurrent&&rr(t)),void(t.vNewNode.key=e)):void(yr(t,null,e,pr(null,e),t.vParent,!0)&&(Vo(t.journal,t.vParent,t.vNewNode=vo(),t.vCurrent&&rr(t)),t.vNewNode.key=e));$r(t,null,o)}function mr(t,n){const e=n[rc];let r=t.vNewNode||t.vCurrent;const o=t.jsxValue;if(e){const n=o.props;let i=!1;const[s]=e,l=s.M,c=kr(r,t.container.ft),u=o.key||l;if(u===(Sr(r)||c)?l===c&&o.key?$r(t,null,u):(br(t,r,s,n),r=t.vNewNode,i=!0):(yr(t,null,u,u,t.vParent)&&(br(t,r,s,n),i=!0),r=t.vNewNode||t.vCurrent),r){const e=Co(r,D,t.container.ft);i||(i||=function(t,n,e,r){let o=!1;if(e){const t=e[Vt].m,i=Rr(n[Lt],e[Lt],e[Vt],r,!1);o||=i,t&&t.size>0&&Rr(n[Wt],e[Wt],e[Vt],r,!0),e[Ut]=n[Ut]}else n&&(Ao(t,D,n),e=n);return o}(r,n,e,t.container)),i&&(Ao(r,$,s),r.flags&=-33,po(t.container,r,4,t.cursor))}!function(t,n,e){const r=Array.isArray(n)?n:[n],o=t=>new Jn(xr,null,null,[],t),i=[];if(e){const t=e.props;if(t)for(const n of Object.keys(t))if(Re(n)){const t=n;i.push(t),i.push(o(t))}}if(0!==i.length||null!=n){for(let t=0;t<r.length;t++){const n=r[t],e=String(Yn(n)&&sn(n,w)||""),s=Ve(i,e,0);let l;s>=0?l=i[s+1]:i.splice(~s,0,e,l=o(e)),!1===n||l.children.push(n)}for(let t=i.length-2;t>=0;t-=2)i.splice(t,1);tr(t,i,!0)}}(t,o.children,r)}else{const e=o.key,i=e===Sr(r),s=kr(r,t.container.ft);if(r&&null!=s||null==e?(vr(t),r=t.vNewNode):i?$r(t,null,e):(yr(t,null,e,e,t.vParent)&&vr(t),r=t.vNewNode||t.vCurrent),r){let e=r;for(;e&&(!Ro(e)||null===Co(e,$,null));)e=e.parent;const i=ae(t.container,r,e||t.container.rootVNode,n,o.props);t.asyncQueue.push(i,r)}}}function br(t,n,e,r){n&&En(t.container,n),Vo(t.journal,t.vParent,t.vNewNode=vo(),t.vCurrent&&rr(t));const o=t.jsxValue;Ao(t.vNewNode,$,e),Ao(t.vNewNode,D,r),t.vNewNode.key=o.key}function vr(t){Vo(t.journal,t.vParent,t.vNewNode=vo(),t.vCurrent&&rr(t));const n=t.jsxValue;Ao(t.vNewNode,D,n.props),n.key&&(t.vNewNode.key=n.key)}function gr(t,n){if(null!==t.vCurrent&&3===Ii(t.vCurrent))return n!==Go(t.vCurrent)?void Yo(t.journal,t.vCurrent,n):void 0;Vo(t.journal,t.vParent,t.vNewNode=bo(t.container.document.createTextNode(n),n),t.vCurrent)}function Sr(t){return null==t||xo(t)?null:t.key}function kr(t,n){if(null==t||xo(t))return null;const e=Co(t,$,n);return e?e.M:null}function xr(){}function Rr(t,n,e,r,o=!0){if(qr(t)&&qr(n))return!1;e.k=r;let i=!1;if(t)for(const r in t)if("children"!==r&&r!==x&&(!n||t[r]!==n[r])){if(i=!0,!o)return!0;n&&(n[r]=t[r]),on(e,r)}if(n)for(const r in n)"children"!==r&&r!==x&&(t&&Je.call(t,r)||(i=!0,o&&(delete n[r],on(e,r))));return i}function qr(t){return!t||0===Object.keys(t).length}function Nr(t,n,e,r=null){let o=e;if(xo(e))return void Cr(o);let i=null;for(;;){const s=o.flags;if(3&s){if(En(t,o),Cr(o),2&s&&null!==Co(o,$,null)){const e=t.getHostProp(o,L);if(e)for(let n=0;n<e.length;n++){const i=e[n];if(l(i)){const n=We(i);if(n&&1&i.N){i.N|=32,po(t,o,64,r);continue}(i instanceof Ft||ml(i))&&En(t,i),(n||i instanceof bn)&&fn(i)}}const i=o.props;if(i)for(const e of Object.keys(i))if(Re(e)){const o=i[e];if(o){i[e]=null;const s="string"==typeof o?Fo(t.rootVNode,o):o;let l=Xo(s);for(;l;)Nr(t,n,l,r),l=l.nextSibling;jr(n,s)}}}if(qo(o)){if(o===e){const t=Xo(o);if(t)return void _o(t,()=>{})}}else{const t=Xo(o);if(t){o=t;continue}}}else 4&s&&Cr(o);if(o===e)return;const c=o.nextSibling;if(c)o=c;else{for(i=o.parent;i;){if(i===e)return;const t=i.nextSibling;if(t){o=t;break}i=i.parent}if(null==i)return}}}function jr(t,n){const e=n.parent;e&&1&e.flags&&"q:template"===Jo(e)&&Bo(t,e,n,!0)}function Cr(t){t.flags|=32}const Ar=":",Pr=(t,n)=>{const{val:e,set:r,i:o,iCtx:i}=Te();if(null!=e)return e.lt;const s=i.k,l=Ir(s,n),c=i.K,u=new Le(12,o,c,t,l,null);return r(u),Mr(u,s,c),l},Or=t=>Zn(ue,null,null,function(t){const n=t.value;if(_r(n)){const e=n._state;if("pending"===e&&t.onPending)return Promise.resolve().then(Li(t.onPending));if("rejected"===e&&t.onRejected)return Promise.resolve(n._error).then(Li(t.onRejected));{const e=Bi(()=>n._resolved);if(void 0!==e)return Promise.resolve(e).then(Li(t.onResolved))}return Bi(()=>n.value).then(Li(t.onResolved),Li(t.onRejected))}if(nt(n))return n.then(Li(t.onResolved),Li(t.onRejected));if(rl(n)){const e=st(()=>n.value);return(nt(e)?e:Promise.resolve(e)).then(Li(t.onResolved))}return Promise.resolve(n).then(Li(t.onResolved))}(t),0,null),Ir=(t,n,e)=>{const r=(t=>({__brand:"resource",value:void 0,loading:!0,_resolved:void 0,_error:void 0,_state:"pending",_timeout:t?.timeout??-1,_cache:0,_generation:0}))(n);return r.value=e,bl(t,r,1)},_r=t=>l(t)&&"resource"===(pl(t)||t).__brand,Mr=(t,n,e)=>{t.N&=-9,fn(t);const r=Qi(n.l,e,"qResource");r.k=n;const o=t.nt.getFn(r,()=>En(n,t)),i=t.lt,s=yn(t,n),[l,c]=wn(t,t=>n.handleError(t,e)),u=wl(i),f={track:s,cleanup:l,cache(t){let n=0;n="immutable"===t?1/0:t,i._cache=n},previous:u._resolved};let a,h,d=!1;const p=++u._generation,$=(t,n)=>!d&&u._generation===p&&(d=!0,t?(u.loading=!1,u._state="resolved",u._resolved=n,u._error=void 0,a(n)):(u.loading=!1,u._state="rejected",u._error=n,h(n)),$l(i,"_state"),!0);c.push(()=>{if(!0===Bi(()=>i.loading)){const t=Bi(()=>i._resolved);$(!0,t)}}),Wi(r,()=>{i._state="pending",i.loading=!0,i.value=new Promise((t,n)=>{a=t,h=n})});const y=et(()=>o(f),t=>{$(!0,t)},r=>{if(nt(r))return r.then(()=>Mr(t,n,e));$(!1,r)}),w=u._timeout;return w>0?Promise.race([y,it(w).then(()=>{$(!1,new Error("timeout"))&&fn(t)})]):y},Er=t=>({operationType:1,target:t}),Tr=(t,n)=>({operationType:16,target:t,text:n}),Fr=(t,n,e)=>({operationType:2,target:t,parent:n,beforeTarget:e}),Dr=(t,n,e)=>({operationType:8,target:t,attrName:n,attrValue:e});function Lr(t,n,e){t.dirty&=-2;const r=n.getHostProp(t,L);if(!r||0===r.length)return;let o;for(const i of r)if(i instanceof Le){const r=i;if(!(8&r.N))continue;if(4&r.N)Mr(r,n,t);else if(1&r.N)(e.afterFlushTasks||=[]).push(r);else{const i=!!(16&r.N),s=De(r,n,t);nt(s)&&(i?o=o?o.then(()=>s):s:(e.extraPromises||=[]).push(s))}}return o}function Wr(t,n,e,r){t.dirty&=-3;const o=t;let i=function(t){const n=t.props;return n?.[_t]}(t);if(i)return rl(i)&&(i=i.value),Ye(n,e,i,o,r,null)}function Ur(t,n,e,r){t.dirty&=-5;const o=t,i=n.getHostProp(o,$);if(!i)return;const s=n.getHostProp(o,D)||null,l=et(()=>ae(n,o,o,i,s),t=>{const i=n.getHostProp(o,S);return st(()=>Ye(n,e,t,o,r,Ae(i)))},t=>{n.handleError(t,o)});return nt(l)?l:void 0}function Vr(t,n,e,r,o){n.push(Dr(t.node,e,r)),o||(t.props&&null==r?delete t.props[e]:(t.props||={})[e]=r)}function zr(t,n){if(t.dirty&=-9,!(1&t.flags))return;const e=function(t){return(t.props||={})[It]??null}(t);if(!e||0===e.size)return;const r=t;for(const[t,o]of e.entries()){let e=o.value;rl(e)&&(e=e.value),Vr(r,n,t,Me(t,e,o.scopedStyleIdPrefix),o.isConst)}!function(t){delete(t.props||={})[It]}(t)}function Qr(t,n){t.dirty&=-65;const e=n.getHostProp(t,L);if(e&&0!==e.length)for(const t of e)t instanceof Le&&32&t.N&&(t.N&=-33,fn(t))}function Br(t,n){t.dirty&=-17;const e=n.getHostProp(t,Mt);if(!e)return;const r=e.m,o=Qi();return o.k=n,ot(st(()=>Wi.call(e,o,e._)),()=>{if(2&e.N)return e.N&=-3,ll(n,e,r)})}let Hr=null;const Jr=(t,n,e)=>{Hr||(Hr=t.insertBefore),Hr.call(t,n,e)},Gr=(t,n)=>("allowfullscreen"==n||"async"==n||"autofocus"==n||"autoplay"==n||"checked"==n||"controls"==n||"default"==n||"defer"==n||"disabled"==n||"formnovalidate"==n||"inert"==n||"ismap"==n||"itemscope"==n||"loop"==n||"multiple"==n||"muted"==n||"nomodule"==n||"novalidate"==n||"open"==n||"playsinline"==n||"readonly"==n||"required"==n||"reversed"==n||"selected"==n)&&n in t,Yr=t=>"false"!==t&&Boolean(t),Xr=(Kr=ro,()=>queueMicrotask(Kr));var Kr;const Zr=(t=>{let n;if("undefined"!=typeof MessageChannel){const e=new MessageChannel;e.port1.onmessage=()=>t(),n=()=>e.port2.postMessage(null)}else n=()=>setTimeout(t);return n})(ro);let to=!1;function no(){to||(to=!0,Xr())}function eo(){to||(to=!0,Zr())}function ro(t={timeBudget:1e3/60}){to=!1;let n=null;for(;n=jt();)oo(n,t)}function oo(t,n){const{timeBudget:e}=n,r=!1,o=performance.now(),i=Tt(t);if(i.promise)return;const s=i.container;if(!t.dirty)return void io(s,t,i,r);const l=i.journal||=[];let c=null;for(;c=i.position;){if(!import.meta.env.TEST&&performance.now()-o>=e)return void eo();if(i.promise)return;if(!(127&c.dirty)){Et(s,i,co(c,t));continue}if(32&c.flags){64&c.dirty&&Qr(c,s),c.dirty&=-128,Et(s,i,co(c,t));continue}let n;try{if(1&c.dirty)n=Lr(c,s,i);else if(2&c.dirty)n=Wr(c,s,l,t);else if(4&c.dirty)n=Ur(c,s,l,t);else if(8&c.dirty)zr(c,l);else if(16&c.dirty)n=Br(c,s);else if(32&c.dirty){const n=c.dirtyChildren;if(n&&0!==n.length){lo(n,c),c.nextDirtyChildIndex=0,c=co(n[0],t),Et(s,i,c);continue}c.dirty&=-33}}catch(t){s.handleError(t,c)}if(n&&nt(n)){i.promise=n,Ct(t,s);const e=c;return void n.catch(t=>{s.handleError(t,e)}).finally(()=>{i.promise=null,At(t,s),no()})}}io(s,t,i,r)}function io(t,n,e,r){if(!(127&n.dirty)){if(Pt(n,t),r||function(t,n){const e=Tt(t),r=e.journal;r&&r.length>0&&(function(t){for(const n of t)switch(n.operationType){case 2:Jr(n.parent,n.target,n.beforeTarget);break;case 1:n.target.remove();break;case 16:n.target.nodeValue=n.text;break;case 8:{const t=n.target,e=n.attrName,r=n.attrValue,o=null==r||!1===r;Gr(t,e)?t[e]=Yr(r):e===H?(t.innerHTML=r,t.setAttribute(O,"html")):o?t.removeAttribute(e):"value"===e&&e in t?t.value=r:t.setAttribute(e,r);break}case 4:{const t=n.target;t.replaceChildren?t.replaceChildren():t.textContent="";break}}}(r),e.journal=null),function(t,n){const e=n.afterFlushTasks;if(!e||0===e.length)return void(n.afterFlushTasks=null);let r;for(const n of e){const e=De(n,t,n.st);nt(e)&&(r=r?r.then(()=>e):e)}r&&(n.extraPromises||=[]).push(r),n.afterFlushTasks=null}(n,e)}(n,t),e.extraPromises)return void Promise.all(e.extraPromises).then(()=>{so(t)});so(t)}}function so(t){0===t.u&&(t.p(),t.h=null)}function lo(t,n){let e=0;for(let r=0;r<t.length;r++){const o=t[r];if(o.parent===n){if(e!==r){const n=t[e];t[e]=o,t[r]=n}e++}}}function co(t,n){if(t===n)return 127&n.dirty?n:null;let e=null;if(t.parent&&32&t.parent.dirty?e=t.parent:t.slotParent&&32&t.slotParent.dirty&&(e=t.slotParent),!e)return 127&n.dirty?n:null;const r=e.dirtyChildren;let o=e.nextDirtyChildIndex;const i=r.length;let s=i;for(;s-- >0;){const t=r[o];if(127&t.dirty)return e.nextDirtyChildIndex=(o+1)%i,t;o++,o===i&&(o=0)}return e.dirty&=-33,e.dirtyChildren=null,co(e,n)}function uo(t){return!!(64&t.flags)}function fo(t,n){if(!(1&n.flags))return 8&n.dirty&&function(t,n){n.dirty&=-9;const e=n.getProp(It);if(e&&0!==e.size)for(const[r,o]of e.entries()){let e=o.value;rl(e)&&(e=e.value);const i=Me(r,e,o.scopedStyleIdPrefix);t.addBackpatchEntry(n.id,r,i)}}(t,n),16&n.dirty&&Br(n,t),127&n.dirty&&n.toString(),void(n.dirty&=-128);let e=null;if(1&n.dirty){const r=function(t,n){n.dirty&=-2;const e=n.getProp(L);if(!e||0===e.length)return null;let r=null;for(const o of e)if(o instanceof Le){const e=o;if(!(8&e.N))continue;let i;i=4&e.N?Mr(e,t,n):De(e,t,n),r=r?r.then(()=>i):i}return r}(t,n);nt(r)&&(e=r)}return n.dirty&=-128,e||void 0}const ao=[];function ho(t){for(let n=0;n<ao.length;n++){const e=ao[n],r=ao[n+1]||t;r.dirty|=32,r.dirtyChildren||=[],r.dirtyChildren.push(e)}}function po(t,n,e,r=null){const o=n.dirty;n.dirty|=e;const s=127&e;if((s?127&o:o)||n===r)return;const l=n.parent||n.slotParent;if(r&&s&&l&&!l.dirty)!function(t,n){ao.push(t);let e=t.parent||t.slotParent;for(;e;){const r=127&e.dirty,o=uo(e);if(e===n||r){if(ho(e),o){const n=Tt(e);n.position!==e&&(n.position=t)}return void(ao.length=0)}if(o){const n=Tt(e);n.position!==e&&(n.position=t)}ao.push(e),e=e.parent||e.slotParent}ao.length=0,(()=>{throw i(!1,"Cursor root not found in current path!",...[])})()}(n,r);else if(l&&127&l.dirty){if(s&&(l.dirty|=32),l.dirtyChildren||=[],l.dirtyChildren.push(n),s&&n.dirtyChildren){const t=function(t){for(;t;){if(uo(t))return t;t=t.parent||t.slotParent}return null}(n);if(t){const e=Tt(t);let r=e.position;if(r)for(;r!==t;)if(r=r.parent||r.slotParent,r===n){e.position=n;break}}}}else uo(n)||function(t){ao.push(t);let n=t.parent||t.slotParent;for(;n;){if(uo(n))return ho(n),ao.length=0,!0;ao.push(n),n=n.parent||n.slotParent}return ao.length=0,!1}(n)||function(t,n){Ot.set(n,{afterFlushTasks:null,extraPromises:null,journal:null,container:t,position:n,priority:0,promise:null});const e=n;e.flags|=64,Nt(t,e),no()}(t,n)}function $o(t,n){t.push(n)}const yo=(t,n)=>{let e;for(;t&&!(e=Object.getOwnPropertyDescriptor(t,n)?.get);)t=Object.getPrototypeOf(t);return e||function(){return this[n]}},wo=(t,n,e=null)=>{oi(t);const r=new St(e,-503,null,null,null,null,null,null,t,n);return t.vNode=r,r},mo=t=>{oi(t);const n=new St(null,-511,null,null,null,null,void 0,void 0,t,void 0);return t.vNode=n,n},bo=(t,n)=>{const e=new kt(-500,null,null,null,null,t,n);return oi(t),So(e),xo(e),Ro(e),e},vo=()=>{const t=new xt(null,-510,null,null,null,null,null,null);return So(t),xo(t),Ro(t),t},go=t=>t instanceof gt,So=t=>t instanceof St,ko=t=>!(1&~t.flags)&&void 0!==t.firstChild&&void 0!==t.lastChild,xo=t=>t instanceof kt,Ro=t=>t instanceof xt,qo=t=>!(2&~t.flags)&&null!==Co(t,w,null),No=t=>(So(t),jo(t),t),jo=t=>{if(t)switch(7&t.flags){case 1:return"Element";case 2:return"Virtual";case 4:return"Text"}return"<unknown>"},Co=(t,n,e)=>{if(So(t)||Ro(t)){const r=t.props?.[n]??null;if("string"==typeof r&&e){const o=e(r);return t.props[n]=o,o}return r}return null},Ao=(t,n,e)=>{(So(t)||Ro(t))&&(null==e&&t.props?delete t.props[n]:(t.props||={},t.props[n]=e))},Po=(t,n,e,r)=>{So(n)&&(Ao(n,e,r),$o(t,Dr(n.node,e,r)))},Oo=t=>{if(t.key)return;const n=ei(t.node,B);n&&(t.key=n)},Io=t=>{if(1==(15&t.flags)){const n=t;n.flags^=8;const e=n.node,r=e.attributes;for(let t=0;t<r.length;t++){const o=r[t],i=o.name;if(i===B||!i){const t=o.value;t&&(n.key=t);break}if(i.startsWith(O)){const t=o.value;"html"===t?Ao(n,"dangerouslySetInnerHTML",e.innerHTML):"text"===t&&"value"in e&&Ao(n,"value",e.value)}else i.startsWith("on:")||Ao(n,i,o.value)}}};function _o(t,n){let e=t;if(xo(t))return;let r=null;for(;;){if(n?.(e,r))return;const o=Xo(e);if(o){e=o;continue}if(e===t)return;const i=e.nextSibling;if(i)e=i;else{for(r=e.parent;r;){if(r===t)return;const n=r.nextSibling;if(n){e=n;break}r=r.parent}if(null==r)return}}}function Mo(t,n,e=!1,r=[]){if((t=>!!(5&t.flags))(n))return xo(n)&&To(t,n),r.push(e?n:Ni(n)),r;let o=Xo(n);for(;o;)So(o)?r.push(e?o:Ni(o)):xo(o)?(To(t,o),r.push(e?o:Ni(o))):Mo(t,o,!!e,r),o=o.nextSibling;return r}const Eo=(t,n,e)=>{let r=t;for(;e&&r&&Ro(r);){const t=n?r.firstChild:r.lastChild;if(!t)break;if(5&t.flags)return t;r=t}for(;r;){let t=n?r.nextSibling:r.previousSibling;if(t&&5&t.flags)return t;if(!t){let e=r.parent;if(e&&!Ro(e))return null;for(;e&&!(t=n?e.nextSibling:e.previousSibling);)if(e=e.parent,e&&!Ro(e))return null;if(!t)return null;if(xo(t)&&e&&So(e))return null}for(;t;){if(r=t,5&r.flags&&Ni(r))return r;t=n?r.firstChild:r.lastChild}}return null},To=(t,n)=>{const e=(xo(r=n),jo(r),r);var r;if(!(8&e.flags)){const r=zo(n,!0),o=e.node,i=mi(r);let s=Eo(n,!1,!0);const l=Eo(n,!0,!0),c=o||(l instanceof St?l.node:l?.node)||null;let u=c;for(;s&&xo(s);){if(!(8&s.flags)){const n=i.createTextNode(s.text);$o(t,Fr(n,r,u)),u=n,s.node=n,s.flags|=8}s=Eo(s,!1,!0)}for(s=n;s&&xo(s);){const n=Eo(s,!0,!0),e=!n||!xo(n);if(!(8&s.flags)){if(e&&o)$o(t,Tr(o,s.text));else{const n=i.createTextNode(s.text);$o(t,Fr(n,r,c)),s.node=n}s.flags|=8}s=n}}},Fo=(t,n)=>{No(t);let e=t;const r=t.node,{qVNodeRefs:o}=r;let i,s=-1;if("string"==typeof n)s=parseInt(n),i=o.get(s);else{i=n;const t=i.vNode;if(t)return t}if(go(i))e=i;else{r.contains(i);let t=i;const n=[i];for(;t&&t!==r&&!t.vNode;)t=t.parentElement,n.push(t);t.vNode&&(e=t.vNode);for(let t=n.length-2;t>=0;t--)e=Wo(e,n[t]);-1!=s&&(i.vNode=e,o.set(s,e))}if("string"==typeof n){const t=n.length;let r=Uo(n,t),o=0;for(;r<t;){const t=n.charCodeAt(r);o*=26,t>=97?o+=t-97:(o+=t-65,e=Do(e,o),o=0),r++}}return e},Do=(t,n)=>{let e=Xo(t);for(;e.flags>>>9!==n;)e=e.nextSibling,lt();return e},Lo=[],Wo=(t,n)=>{No(t);let e=Xo(t);for(;e&&(!(e instanceof St)||e.node!==n);){if(Ro(e)){const t=e.nextSibling,n=Xo(e);n?(t&&Lo.push(t),e=n):e=t||(Lo.length?Lo.pop():null)}else{const t=e.nextSibling;e=t||t||Lo.pop()}lt()}for(;Lo.length;)Lo.pop();return No(e),e},Uo=(t,n)=>{let e=0;for(;e<n;){if(!(t.charCodeAt(e)<=57))return e;e++}return n},Vo=(t,n,e,r)=>{jo(n),So(n)&&Ko(n);const o=e.parent;if(e===r){if(o)return;r=null}const i=Qo(n,!1),s=i&&i.node;let l=null;i&&(l=function(t,n,e){const{elementNamespace:r,elementNamespaceFlag:o}=mt(n,e);let i=[];if(r===_)i=Mo(t,e,!0);else{const s=Mo(t,e,!0);for(let t=0;t<s.length;t++){const e=s[t];if(xo(e)){i.push(e);continue}if((384&e.flags)==(384&n.flags)){i.push(e);continue}const l=wt(e,n,r,o);l&&(e.node=l,i.push(e))}}return i}(t,i,e)),o&&(e.previousSibling||e.nextSibling||o!==n)&&Bo(t,o,e,!1);const c=32&n.flags;let u=null;if(!c&&(null==r?Ro(n)&&(u=Eo(n,!0,!1)):u=Ro(r)?Eo(r,!0,!0):r,u&&((t,n)=>{xo(n)&&To(t,n)})(t,u),l&&l.length))for(const n of l)$o(t,Fr(n.node,s,Ni(u)));const f=r,a=f?f.previousSibling:n.lastChild;f?f.previousSibling=e:n.lastChild=e,a?a.nextSibling=e:n.firstChild=e,e.previousSibling=a,e.nextSibling=f,e.parent=n,c&&(e.flags|=32)},zo=(t,n)=>(t=Qo(t,n))&&t.node,Qo=(t,n)=>{for(;t&&!So(t);)t=t.parent||(n?t.slotParent:null);return t},Bo=(t,n,e,r)=>{if(xo(e)&&To(t,e),r){const r=zo(n,!1);if(null!==Co(n,H,null))return;const o=Mo(t,e,!0);if(r&&o.length)for(const n of o)$o(t,Er(n.node))}const o=e.previousSibling,i=e.nextSibling;o?o.nextSibling=i:n.firstChild=i,i?i.previousSibling=o:n.lastChild=o,e.previousSibling=null,e.nextSibling=null},Ho=(t,n,e,r=!0)=>{if(zo(n,!0)&&r)if(So(n))$o(t,{operationType:4,target:n.node});else{const e=Mo(t,n,!0);if(e.length)for(const n of e)$o(t,Er(n.node))}const o=e.previousSibling;o?o.nextSibling=null:n.firstChild=null,n.lastChild=o},Jo=t=>{const n=No(t);let e=n.elementName;if(void 0===e){const t=n.node,r=yi(t).toLowerCase();e=n.elementName=r,n.flags|=(t=>{switch(pi(t)){case M:return 128;case E:return 256;default:return 0}})(t)}return e},Go=t=>{let n=t.text;return void 0===n&&(n=t.text=t.node.nodeValue),n},Yo=(t,n,e)=>{To(t,n),n.text=e,$o(t,Tr(n.node,e))},Xo=t=>{if(xo(t))return null;let n=t.firstChild;return void 0===n&&(n=Ko(t)),n},Ko=t=>{const n=No(t);let e=n.firstChild;return void 0===e&&(e=n.parent&&ti(n.node)?n.firstChild=n.lastChild=null:(t=>{const n=t.node,e=hi(n),r=mi(n)?.qVNodeData?.get(n);return((t,n,e,r)=>{if(Oo(t),r){if(r.charCodeAt(0)===pt&&r.charCodeAt(1)===pt){const n=(t=>{const n=t.indexOf("||",2);return{elementVNodeData:t.substring(2,n),virtualVNodeData:t.substring(n+2)}})(r);r=n.virtualVNodeData;const o=gi(t,e,n.elementVNodeData);if(!r)return o}return function(t,n,e,r){let o=0,i=null,s=null,l=null;const c=n=>{n.flags=511&n.flags|o<<9,o++,s&&(s.nextSibling=n),n.previousSibling=s,n.parent=t,i||(t.firstChild=i=n),s=n};let u=0,f=null,h=null;const d=t=>{const n=_i(t);return!n||n&&Pi(t)};let p=null;if(ki(n,(y,m,b,v,g)=>{if(Ci(y())){for(;d(r);)if(!(r=li(r)))throw a(27,[n,y(),g]);f=null,l=null;let t=0;for(;Ci(y());)t*=10,t+=b()-48;for(;t--;){const t=mo(r);Oo(t),c(t),r=li(r)}}else if(59===y())Ao(t,S,m());else if(60===y())(p||=[]).push(t),Ao(t,$,m());else if(61===y()){h||(h=Ks(e));const n=m();h.ht(parseInt(n),t)}else if(62===y())Ao(t,D,m());else if(64===y()){let n;v(g+1)===pt?(b(),n=decodeURI(xe(m())),b()):n=m(),t.key=n}else if(91===y())Ao(t,L,m());else if(94===y())Ao(t,W,m());else if(96===y())h||(h=Ks(e)),Si(t,m(),h);else if(63===y())h||(h=Ks(e)),t.slotParent=Fo(h.rootVNode,m());else if(93===y())Ao(t,k,m());else if(123===y())b(),c(vo()),Oi.push(t,i,s,l,o),o=0,t=s,i=s=null;else if(y()===pt){const n=xe(m()),e=xe(m());Ao(t,n,e)}else if(125===y())b(),t.lastChild=s,o=Oi.pop(),l=Oi.pop(),s=Oi.pop(),i=Oi.pop(),t=Oi.pop();else if(126===y()){const n=xe(m());Ao(t,w,n)}else{for(;_i(r)&&Pi(r);)r=li(r);const t=r&&3===oi(r)?r:null;null===f&&(f=t?t.nodeValue:null,u=0);let n=0;for(;Ai(y());)n+=b()-97,n*=26;n+=b()-65;const e=null===f?"":f.substring(u,u+n);c(l=((t,n,e)=>(n&&oi(n),new kt(-508,null,t,null,null,n,e)))(l,t,e)),u+=n}}),p){h||(h=Ks(e));for(const t of p)h.ensureProjectionResolved(t);p=null}return t.lastChild=s,i}(t,r,n,e)}return gi(t,e)})(t,n,e,r)})(n)),e};let Zo=null;const ti=t=>(Zo||(Zo=t.hasAttribute),Zo.call(t,O));let ni=null;const ei=(t,n)=>(ni||(ni=t.getAttribute),ni.call(t,n));let ri=null;const oi=t=>(ri||(ri=yo(t,"nodeType")),ri.call(t)),ii=t=>{const n=oi(t);return 3===n||1===n};let si=null;const li=t=>{for(si||(si=yo(t,"nextSibling")),ai||(ai=yo(t,"firstChild"));t;)if(null!==(t=si.call(t))){const n=oi(t);if(3===n||1===n)break;if(8===n){const n=t.nodeValue;if(n?.startsWith(A))return ci(t,j,si,ai);if(t.nodeValue?.startsWith(C))return ci(t,P,si,ai);if(n?.startsWith(O))for(;t&&(t=si.call(t))&&(8!==oi(t)||!t.nodeValue?.startsWith(I)););}}return t};function ci(t,n,e,r){for(;t;){if(t.nodeValue?.startsWith(n))return e.call(t)||null;let o=r.call(t);o||(o=e.call(t)),o||(o=fi(t),o&&(o=e.call(o))),t=o}return null}let ui=null;const fi=t=>(ui||(ui=yo(t,"parentNode")),ui.call(t));let ai=null;const hi=t=>{for(ai||(ai=yo(t,"firstChild")),t=t&&ai.call(t);t&&!ii(t);)t=li(t);return t};let di=null;const pi=t=>(di||(di=yo(t,"namespaceURI")),di.call(t));let $i=null;const yi=t=>($i||($i=yo(t,"nodeName")),$i.call(t));let wi=null;const mi=t=>(wi||(wi=yo(t,"ownerDocument")),wi.call(t)),bi=t=>"STYLE"===t.nodeName&&(t.hasAttribute(S)||t.hasAttribute(b)),vi=t=>t.hasAttribute(B),gi=(t,n,e)=>{let r=null;const o=()=>{for(;_i(i)&&Pi(i);)i=li(i)};let i=n;o();let s=null;for(;i;){const n=oi(i);let e=null;3===n?e=bo(i,i.textContent??void 0):1===n&&(e=mo(i),Oo(e)),e&&(e.parent=t,s&&(s.nextSibling=e),e.previousSibling=s,s=e),r||(t.firstChild=r=s),i=li(i),o()}if(t.lastChild=s||null,t.firstChild=r,e){let n=null;ki(e,(e,r)=>{if(61===e()){n||(n=Ks(t.node));const e=r();n.ht(parseInt(e),t)}else 96===e()?(n||(n=Ks(t.node)),Si(t,r(),n)):r()})}return r};function Si(t,n,e){t[bt]?((t,n)=>{for(const[e,r]of n)t.set(e,r)})(t[bt],e.ft(n)):Object.defineProperty(t,bt,{get(){const r=e.ft(n);return t[bt]=r,r},set(n){Object.defineProperty(t,bt,{value:n,writable:!0,enumerable:!0,configurable:!0})},enumerable:!0,configurable:!0})}const ki=(t,n)=>{let e=0,r=0,o=0;const i=n=>n<t.length?t.charCodeAt(n):0,s=()=>0!==o?o:o=i(e),l=()=>(r=s(),o=0,e++,r),c=()=>{l();const n=e;for(;s()<=58&&0!==o||92===o||95===o||o>=65&&o<=90||o>=97&&o<=122;)l();return t.substring(n,e)};for(;0!==s();)n(s,c,l,i,e)},xi=t=>{if(3&t.flags){Io(t);const n=[],e=t.props;if(e)for(const t of Object.keys(e))t.startsWith(B)||n.push(t);return n}return[]},Ri=(t,n)=>{let e=qi(t);for(;e;){if(e===n)return!0;e=qi(e)}return!1},qi=t=>t.parent||t.slotParent,Ni=t=>null===t||Ro(t)?null:t.node;function ji(t=20,n="",e=!1,r=!1,o=!0){let i=this;if(0===t)return"...";if(null===i)return"null";if(void 0===i)return"undefined";const s=[];do{if(xo(i))s.push(al(Go(i)));else if(Ro(i)){const e=["["+String(i.flags>>>9)+"]"];xi(i).forEach(t=>{if(t!==ht){const n=Co(i,t,null);e.push(" "+t+"="+al(n))}});const r=(o?"[34m":"")+(dt[Co(i,ht,null)||"V"]||dt.V)+(o?"[0m":"");s.push("<"+r+e.join("")+">");const l=Xo(i);l&&s.push(" "+ji.call(l,t-1,n+" ",!0,!0,o)),s.push("</"+r+">")}else if(So(i)){const r=Jo(i),l=[];uo(i)&&l.push(" cursor"),i.dirty&&l.push(` dirty:${i.dirty}`),i.dirtyChildren&&l.push(` dirtyChildren[${i.dirtyChildren.length}]`);const c=xi(i);for(const t of c){const n=Co(i,t,null);l.push(" "+t+"="+al(n))}const u=Ni(i);if(u){const t=mi(u).qVNodeData?.get(u);t&&l.push(" q:vnodeData="+al(t))}const f=u.attributes;for(let t=0;t<f.length;t++){const n=f[t];-1===c.indexOf(n.name)&&l.push(" "+n.name+(n.value?"="+al(n.value):""))}if(s.push("<"+r+l.join("")+">"),ko(i)||e){const e=Xo(i);e&&s.push(" "+ji.call(e,t-1,n+" ",!0,!0,o))}else s.push(" \x3c!-- not materialized --!>");s.push("</"+r+">")}i=r&&i.nextSibling||null}while(i);return s.join("\n"+n)}const Ci=t=>48<=t&&t<=57,Ai=t=>97<=t&&t<=122;function Pi(t){return!vi(t)||bi(t)}const Oi=[],Ii=t=>{const n=t.flags;if(1&n)return 1;if(2&n)return 11;if(4&n)return 3;throw a(26,[n])},_i=t=>t&&"object"==typeof t&&1===oi(t),Mi=t=>{let n=1;for(;n--;){for(;t&&(!Ro(t)||null===Co(t,$,null));){const e=t.slotParent,r=Ro(t)&&e;r&&n++,t=r||t.parent}n>0&&(t=t.parent)}return t};let Ei;const Ti=()=>{if(!Ei){const t="undefined"!=typeof document&&document&&document.__q_context__;if(!t)return;return c(t)?document.__q_context__=Vi(t):t}return Ei},Fi=()=>{const t=Ti();if(!t)throw a(9);return t},Di=()=>{const t=Ti();if(!t||t.dt!==T)throw a(10);return t};function Li(t){if(null==t)return t;const n=Fi();return function(...e){return Ui.call(this,n,t,e)}}function Wi(t,n,...e){return Ui.call(this,t,n,e)}function Ui(t,n,e){const r=Ei;let o;try{Ei=t,o=n.apply(this,e)}finally{Ei=r}return o}const Vi=([t,n,e])=>{const r=Ks(t),o=Fo(r.rootVNode,t),i=r.l;return i&&function(t){ut=t}(i),Qi(i,o,n,e)};function zi(t,n,e,r){return{et:r,K:n,dt:T,nt:void 0,q:void 0,l:t,k:e,ot:void 0}}function Qi(t,n,e,r){return{et:r,K:n,dt:e,nt:void 0,q:void 0,l:t||(e&&l(e)&&"locale"in e?e.locale:void 0),k:void 0}}const Bi=t=>{if(!Ei)return t();{const n=Ei.q;try{return Ei.q=void 0,t()}finally{Ei.q=n}}},Hi=/*#__PURE__*/zi(void 0,void 0,void 0),Ji=(t,n,e,r,o)=>{const i=Hi.q,s=Hi.k;try{return Hi.q=an(n,e,o),Hi.k=r,Wi(Hi,t)}finally{Hi.q=i,Hi.k=s}},Gi=(t,n,e,r,o)=>(t instanceof Mn&&t.K!==n&&n&&(t.K=n),Ji(()=>t.value,n,e,r,o)),Yi=()=>{const t=Ti();if(t){const n=t.K;let e=null;return null!=n&&(go(n)?So(n)&&(e=Ni(n)):e=n),e??t.nt?.$t(void 0)}},Xi=()=>{const t=Ti();if(t)return t.dt},Ki=()=>{const t=Ti();if(t)return t.k},Zi=t=>t,ts=t=>{const n=Ks(t),e=n?.h;return e||Promise.resolve()},ns=t=>(/^[\w/.-]+$/.test(t),/*#__PURE__*/Object.freeze({id:Gt(t)})),es=(t,n)=>{const{val:e,set:r,iCtx:o}=Te();void 0===e&&(o.k.setContext(o.K,t,n),r(1))},rs=(t,n)=>{const{val:e,set:r,iCtx:o}=Te();if(void 0!==e)return e;const i=o.k.resolveContext(o.K,t);if("function"==typeof n)return r(Wi(void 0,n,i));if(void 0!==i)return r(i);if(void 0!==n)return r(n);throw a(8,[t.id])},os=t=>{const n=Fi(),e=n.K;if(e)return n.k?.resolveContext(e,t)},is=/*#__PURE__*/ns("qk-error"),ss=[void 0,null,!0,!1,"",Zt,tn,hn,$n,Qt,ye,ue,NaN,1/0,-1/0,Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER-1,Number.MIN_SAFE_INTEGER],ls=["undefined","null","true","false","''","EMPTY_ARRAY","EMPTY_OBJ","NEEDS_COMPUTATION","STORE_ALL_PROPS","_UNINITIALIZED","Slot","Fragment","NaN","Infinity","-Infinity","MAX_SAFE_INTEGER","MAX_SAFE_INTEGER-1","MIN_SAFE_INTEGER"],cs=["Plain","RootRef","ForwardRef","Constant","Array","Object","URL","Date","Regex","VNode","RefVNode","BigInt","URLSearchParams","ForwardRefs","Error","Promise","Set","Map","Uint8Array","QRL","PreloadQRL","Task","Resource","Component","Signal","WrappedSignal","ComputedSignal","AsyncComputedSignal","SerializerSignal","Store","FormData","JSXNode","PropsProxy","SubscriptionData"];function us(t,n,e){let r=n.o,o=n.yt;const i=K();if(i){const t=i.chunkForSymbol(r,o,n.dev?.file);t&&(o=t[1],r=t[0])}if(d(n))o="",r=String(t.wt(null,0,n.resolved));else{if(o||(o=t.bt(n.M)),!o)throw a(14,[n.o]);o.startsWith("./")&&(o=o.slice(2))}let s=null;if(Array.isArray(n.rt)&&n.rt.length>0&&(s=n.rt.map(n=>`${t.vt(n)}`)),e)return[o,r,s];let l=`${o}#${r}`;return s&&s.length>0&&(l+=`[${s.join(" ")}]`),l}function fs(t,n,e){return Ql(t,n,null,null,e,null)}const as=new WeakMap,hs=new Map,ds=(t,n,e)=>{switch(n){case 0:case 13:return e;case 1:return t.ft(e);case 2:if(!t.gt)return Qt;const r=t.gt[e];return-1===r||void 0===r?Qt:t.ft(r);case 3:return ss[e];case 4:return Array(e.length/2);case 5:return{};case 19:case 20:if("string"==typeof e){const n=e.split(" ").map(Number);return fs(t.ft(n[0]),t.ft(n[1]),n.length>2?n.slice(2):null)}return fs("",String(e));case 21:return new Le(-1,-1,null,null,null,null);case 22:{const n=Ir(t,void 0,void 0);return n.loading=!1,n}case 6:return new URL(e);case 7:return new Date(e);case 8:const o=e.lastIndexOf("/");return new RegExp(e.slice(1,o),e.slice(o+1));case 14:return new Error;case 23:return ec(null);case 24:return new Ft(t,0);case 25:return new Mn(t,null,null,null);case 26:return new mn(t,null);case 27:return new bn(t,null);case 28:return new gn(t,null);case 29:{const n=e,r=n[0],o=n[1],i=ds(t,r,o),s=vl(i,0,t);return Qs(r)&&hs.set(i,{t:r,v:o}),n[0]=0,n[1]=i,s}case 12:return new URLSearchParams(e);case 30:return new FormData;case 31:return new Jn(null);case 11:return BigInt(e);case 16:return new Set;case 17:return new Map;case 15:let i,s;const l=new Promise((t,n)=>{i=t,s=n});return as.set(l,[i,s]),l.catch(()=>{}),l;case 18:const c=e.length,u=3&c;return new Uint8Array(3*(c>>>2)+(u?u-1:0));case 32:return nn(null);case 9:return ps(t,e);case 10:const f=ps(t,e);if(go(f))return Ko(f),Ni(f);throw a(17,[typeof f]);case 33:return new Wn({});default:throw a(18,[n])}};function ps(t,n){return n?t.rootVNode?Fo(t.rootVNode,n):void 0:t.element?.ownerDocument}const $s=(t,n,e=Zt)=>{let r=null,o=null;if(f(t))o=t;else{if(!u(t))throw a(7,[t]);r=t}return Ql(r,n,null,o,null,e)},ys=(t,n,e=Zt)=>Ql(null,n,t,null,null,e),ws=(t,n=Zt)=>Ql(null,t,null,null,null,n),ms=(t,n,e=Zt)=>{const r=ws(t,e);return r.dev=n,r},bs=(t,n,e,r=Zt)=>{const o=$s(t,n,r);return o.dev=e,o},vs=(t,n,e,r=Zt)=>{const o=ys(t,n,r);return o.dev=e,o},gs=(t,n)=>(void 0===globalThis.__qwik_reg_symbols&&(globalThis.__qwik_reg_symbols=new Map),globalThis.__qwik_reg_symbols.set(n,t),t),Ss=(...t)=>{const[n]=Un(),e=Fi(),r=e.K;if(r)return st(()=>{if(!(32&r.flags))return rt(n(...t),t=>{const n=e.k||=Ks(r.node);if(!n)throw t;n.handleError(t,r)})})};function ks(t){return null===t||"string"==typeof t||"number"==typeof t||"boolean"==typeof t}const xs=(t,n,e)=>new Mn(null,t,n,e||null);class Rs{St;kt;xt;m;nt;constructor(t,n,e,r,o){this.St=t,this.kt=n,this.xt=e,this.m=r,this.nt=o}}const qs=t=>Array.isArray(t)&&t.length>0;function Ns(t,n){return n.X&&"{"===n.X[0]&&(n.X=`(${n.X})`),[t.wt(n.X,n.G.length,n.Y),n.G]}function js(t){let n;if(t)for(const[e,r]of t)r[2]&&(n||=new Map,n.set(e,r));return n}class Cs{Rt;constructor(t){this.Rt=t}}let As=()=>!1;class Ps{qt;constructor(t){this.qt=t}}const Os=(t,n,e,r,o,i,s)=>{if(!s){const t=[];s={write:n=>t.push(n),toString:()=>t.join("")}}const l=new Map,c=new Map,u=[],f=[],h=(t,n)=>{const e=(t=>{const n=[];for(;t.Nt;)n.unshift(t.it),t=t.Nt;return n.unshift(t.it),n.join(" ")})(t);void 0===n&&(n=f.length),f[n]=new Ps(e),t.Nt=null,t.it=n},$=t?n=>n instanceof t:()=>!1;return As=n?t=>t instanceof n:()=>!1,{async jt(){return await async function(t){const{Ct:n,At:e,Pt:r,tt:o,vt:i,Ot:s,getSeenRef:l,It:c}=t;let u=0;const f=[];let h=0;const $=new Set,y=new Set,w=new Map;let m;const b=new Map,v=(t,e,r)=>{n.write("[");let o,i=!1;if(e)o=t.length;else{for(o=t.length-1;o>=0&&void 0===t[o];)o--;o++}for(let e=0;e<o;e++)i?n.write(","):i=!0,r(t[e],e);n.write("]")},g=(t,e,r)=>{if(n.write(`${t},`),"number"==typeof e)n.write(e.toString());else if("string"==typeof e){const t=JSON.stringify(e);let r=-1,o=0;for(;-1!==(r=t.indexOf("</",o));)n.write(t.slice(o,r)),n.write("<\\/"),o=r+2;n.write(0===o?t:t.slice(o))}else v(e,!!r,(t,n)=>{R(t,n)})},S=n=>{d(n)||(y.add(n),t.vt(n))},k=(n,e,r)=>{let o=l(n);const u=!r&&w.get(n);if(!o){if(r)return!0;if("number"!=typeof u)return c(n,m,e);o=i(n,!0)}o.Nt&&(m?s(o):(s(o,e),n=t._t[e])),"number"==typeof u&&(f[u]=o.it,w.delete(n));const a=n instanceof Ps?n.qt:o.it;if(!m&&a===e)return o;g(1,a)},R=(n,e)=>{if(Ll(n))g(3,0);else switch(typeof n){case"undefined":g(3,0);break;case"boolean":g(3,n?2:3);break;case"number":Number.isNaN(n)?g(3,12):Number.isFinite(n)?n===Number.MAX_SAFE_INTEGER?g(3,15):n===Number.MAX_SAFE_INTEGER-1?g(3,16):n===Number.MIN_SAFE_INTEGER?g(3,17):g(0,n):g(3,n<0?14:13);break;case"string":0===n.length?g(3,4):(n.length<4||k(n,e))&&g(0,n);break;case"bigint":(n<1e4&&n>-1e3||k(n,e))&&g(11,n.toString());break;case"symbol":n===hn?g(3,7):n===$n?g(3,8):n===Qt&&g(3,9);break;case"function":if(n===ye)g(3,10);else if(n===ue)g(3,11);else if(p(n)){if(k(n,e)){const[e,r,o]=us(t,n,!0);let s,l;if(""!==e){s=`${i(e)} ${i(r)}${o?" "+o.join(" "):""}`;const t=b.get(s);if(t){const n=i(t);return void g(1,n)}b.set(s,n),l=y.has(n)?20:19}else s=Number(r),l=19;g(l,s)}}else{if(!oc(n))throw a(34,[n.toString()]);{const[e]=n[rc];t.Mt.add(e.o),g(23,[e])}}break;case"object":if(n===Zt)g(3,5);else if(n===tn)g(3,6);else if(null===n)g(3,1);else if(n instanceof Ps)g(1,n.qt);else{const t=k(n,e);if(t){const e=m;m=t,q(n),m=e}}break;default:throw a(20,[typeof n])}},q=n=>{if(un(n)){const t=n[Ut];g(32,[(s=t,new Cs(s)),t.varProps,t.constProps,n[Vt].m])}else if(n instanceof Wn)g(33,[n.data.ct,n.data.ut]);else if(ml(n))if(function(t){return"__brand"in t&&"resource"===t.__brand}(n)){t.Et.add(n);const e=N(n.value,i,(t,e)=>new Rs(22,t,e,dl(n).m));g(2,e)}else{const t=dl(n),e=pl(n),r=t.N,i=t.m,s=[];for(const t in e){const n=o.get(e[t]);n&&s.push(n)}const l=[e,r,i,...s];for(;void 0===l[l.length-1];)l.pop();g(29,l)}else if(cl(n)){const t=n[Vl](n);if(nt(t)){const n=N(t,i,(t,n)=>new Rs(28,t,n,void 0,void 0));g(2,n)}else{const n=m.it;m=m.Nt,R(t,n)}}else if(function(t){const n=Object.getPrototypeOf(t);return null==n||n===Object.prototype||n===Array.prototype}(n))if(Array.isArray(n))g(4,n);else{const t=[];for(const e in n)if(Object.prototype.hasOwnProperty.call(n,e)){const r=n[e];Ll(r)||t.push(e,r)}g(5,t.length?t:0)}else if(r(n))n.Tt.vnodeData[0]|=16,g(10,n.Tt.id);else if(n instanceof Ft){if(n instanceof gn){S(n.O);const t=function(t,n){return n===hn?n:ot(t.O.resolved||t.O.resolve(),t=>{let e;return"function"==typeof t&&(t=t()),t.serialize?e=t.serialize(n):"object"==typeof n&&Vl in n&&(e=n[Vl](n)),void 0===e&&(e=hn),e})}(n,n.$);if(nt(t)){const e=N(t,i,(t,e)=>new Rs(28,t,e,n.m,n.O));g(2,e)}else g(28,[n.O,js(n[bt]),n.m,t]);return}if(n instanceof Mn)g(25,[...Ns(t,n),js(n[bt]),n.N,n.K,...n.m||[]]);else if(n instanceof mn){let t=n.$;const e=32&n.N,r=16&n.N,o=1&n.N,i=Ll(n.$);e?t=n.$:(r||o||i)&&(t=hn),S(n.O);const s=[n.O,js(n[bt]),n.m],l=n instanceof bn;l&&s.push(n.L,n.W,n.T,n.D);let c=!1;t!==hn&&(s.push(t),l||void 0!==t||(c=!0)),g(l?27:26,s,c)}else{const t=n.$,e=void 0===t,r=[t];n.m&&r.push(...n.m),g(24,r,e)}}else if(n instanceof URL)g(6,n.href);else if(n instanceof Date)g(7,Number.isNaN(n.valueOf())?"":n.valueOf());else if(n instanceof RegExp)g(8,n.toString());else if(n instanceof Error){const t=[n.message];t.push(...Object.entries(n).flat()),g(14,t)}else if(e(n)){const e=i(n);t.Ft(n,"q:id",String(e)),g(9,n.id);const r=n.vnodeData;if(r&&(((t,n)=>{for(const e of t)if(qs(e))for(let t=1;t<e.length;t+=2){const r=e[t];null==r||"string"==typeof r||e[t-1]===D&&0===Object.keys(r).length||n(r)}})(r,t=>i(t)),r[0]|=16),n.children)for(const t of n.children){const n=t.vnodeData;if(n){for(const t of n)if(qs(t)){const n=t.findIndex(t=>t===x);-1!==n&&i(t[n+1])}n[0]|=16}}}else if("undefined"!=typeof FormData&&n instanceof FormData){const t=[];n.forEach((n,e)=>{t.push(e,"string"==typeof n?n:n.name)}),g(30,t)}else if(n instanceof URLSearchParams)g(12,n.toString());else if(n instanceof Set)g(16,[...n.values()]);else if(n instanceof Map){const t=[];for(const[e,r]of n.entries())t.push(e,r);g(17,t)}else if(Yn(n)){const t=[n.type,n.key,n.varProps,n.constProps,n.children,n.toSort||void 0];for(;void 0===t[t.length-1];)t.pop();g(31,t)}else if(n instanceof Le){const t=[n.nt,n.N,n.it,n.st,n[bt],n.lt];for(;void 0===t[t.length-1];)t.pop();g(21,t)}else if(nt(n)){const t=N(n,i,(t,n)=>new Rs(15,t,n));g(2,t)}else if(n instanceof Rs)if(22===n.St)g(22,[n.kt,n.xt,n.m]);else if(28===n.St)if(n.nt)g(28,[n.nt,n.m,n.xt]);else{if(!n.kt)throw console.error(n.xt),a(33);{const t=m.it;m=m.Nt,R(n.xt,t)}}else g(15,[n.kt,n.xt]);else if(n instanceof Uint8Array){let t="";for(const e of n)t+=String.fromCharCode(e);const e=btoa(t).replace(/=+$/,"");g(18,e)}else if(n instanceof Cs){const t=n.Rt;if(k(t,m.it,!0)){let n=w.get(t);void 0===n&&(n=h++,w.set(t,n),f[n]=-1),g(2,n)}}else{if(!go(n))throw a(20,[typeof n]);g(3,0)}var s};function N(t,n,e){const r=h++;return t.then(o=>{$.delete(t),f[r]=n(e(!0,o))}).catch(o=>{$.delete(t),f[r]=n(e(!1,o))}),$.add(t),r}await(async()=>{n.write("[");const{_t:e}=t;for(;u<e.length||$.size;){0!==u&&n.write(",");let t=!1;for(;u<e.length;u++)t?n.write(","):t=!0,R(e[u],u);if($.size)try{await Promise.race($)}catch{}}if(f.length){let t=f.length-1;for(;t>=0&&-1===f[t];)t--;if(t>=0){n.write(","),n.write("13,");const e=t===f.length-1?f:f.slice(0,t+1);v(e,!0,t=>{n.write(String(t))})}}n.write("]")})()}(this)},At:$,Pt:As,bt:e,getSeenRef:t=>l.get(t),_t:f,It:(t,n,e)=>{const r={it:e,Nt:n};return l.set(t,r),r},Dt:t=>{const n=l.get(t);return n&&(n.Nt?void 0:n.it)},Ot:h,vt:(t,n)=>{let e,r=l.get(t);return r?(r.Nt&&h(r),e=r.it):(e=f.length,r={it:e},l.set(t,r),f.push(t)),n?r:e},Lt:u,wt:(t,n,e)=>{const r=null==t;r&&(t=e.serialized||e.toString());let o=c.get(t);if(void 0===o)if(o=u.length,c.set(t,o),r)u.push(t);else{let e="(";for(let t=0;t<n;t++)e+=(0==t?"p":",p")+t;u.push(e+=")=>"+t)}return o},Ct:s,Wt:new Set,Ut:new Set,Et:new Set,Mt:new Set,tt:i,Vt:r,Ft:o}};class Is{zt;tt;l;ft;Qt;Bt=0;Ht=null;Jt=null;h=null;p=null;u=0;constructor(t,n){this.Qt=t,this.l=n,this.zt=o,this.tt=new WeakMap,this.ft=()=>{throw Error("Not implemented")}}trackSignalValue(t,n,e,r){return Gi(t,n,e,this,r)}serializationCtxFactory(t,n,e,r){return Os(t,n,e,this.getHostProp.bind(this),this.setHostProp.bind(this),this.tt,r)}}class _s{Gt;Yt;constructor(t,n){this.Gt=t,this.Yt=n}}class Ms{}async function Es(t,n,e){const r=[n],o=t=>r.push(t);await(async()=>{for(;r.length;){const n=r.pop();if(n instanceof _s)e.currentStyleScoped=n.Gt,e.parentComponentFrame=n.Yt;else{if(n===Ms){const t=r.pop();await st(()=>r.push(t()));continue}if("function"!=typeof n)Ts(t,o,n,{styleScoped:e.currentStyleScoped,parentComponentFrame:e.parentComponentFrame});else{if(n===Promise){r.push(await r.pop());continue}await n.apply(t)}}}})()}function Ts(t,n,e,r){if(null==e)t.textNode("");else if("boolean"==typeof e)t.textNode("");else if("number"==typeof e)t.textNode(String(e));else if("string"==typeof e)t.textNode(e);else if("object"==typeof e)if(Array.isArray(e))for(let t=e.length-1;t>=0;t--)n(e[t]);else if(rl(e)){t.openFragment(Zt);const r=t.getOrCreateLastNode(),o=e instanceof Mn?e.Z():e;n(t.closeFragment),n(()=>Gi(o,r,".",t)),n(Ms)}else if(nt(e))t.openFragment(Zt),n(t.closeFragment),n(e),n(Promise),n(()=>t.commentNode(Q));else if(function(t){return!!t[Symbol.asyncIterator]}(e))n(async()=>{for await(const n of e)await Es(t,n,{currentStyleScoped:r.styleScoped,parentComponentFrame:r.parentComponentFrame}),t.commentNode(Q)});else{const o=e,i=o.type;if("string"==typeof i){!function(t,n){null==sn(t,"class")&&n&&(t.constProps||(t.constProps={}),t.constProps.class="")}(o,r.styleScoped);let e=null;const s=t.openElement(i,o.key,Fs(o.varProps,{serializationCtx:t.serializationCtx,styleScopedId:r.styleScoped,toSort:o.toSort}),Fs(o.constProps,{serializationCtx:t.serializationCtx,styleScopedId:r.styleScoped}),e);s&&t.htmlNode(s),n(t.closeElement),"head"===i?(t.emitQwikLoaderAtTopIfNeeded(),t.emitPreloaderPre(),n(t.additionalHeadNodes)):"body"===i?n(t.additionalBodyNodes):t.isHtml||t._didAddQwikLoader||(t.emitQwikLoaderAtTopIfNeeded(),t.emitPreloaderPre(),t._didAddQwikLoader=!0);const l=o.children;null!=l&&n(l)}else if(f(i))if(i===ue){t.openFragment(null!=o.key?[F,o.key]:Zt),n(t.closeFragment);const e=o.children;null!=e&&n(e)}else if(i===ye){const e=r.parentComponentFrame||t.unclaimedProjectionComponentFrameQueue.shift();if(e){const i=[];i.push("q:sparent",e.componentNode.id||""),t.openProjection(i);const s=e.componentNode,l=t.getOrCreateLastNode(),c=function(t,n,e){const r=n.constProps;if(r&&"object"==typeof r&&"name"in r){const n=r.name;if(n instanceof Mn)return Gi(n,t,":",e)}return sn(n,"name")||""}(s,o,t);i.push(w,c),n(new _s(r.styleScoped,r.parentComponentFrame)),n(t.closeProjection);const u=o.children||null,f=e.consumeChildrenForSlot(l,c)||u;u&&f!==u&&t.addUnclaimedProjection(e,"",u),n(f),n(new _s(e.projectionScopedStyle,e.projectionComponentFrame))}else t.openFragment(Zt),t.closeFragment()}else if(i===be)t.commentNode(sn(o,"data")||"");else if(i===ge){t.commentNode(Q);const e=o.children;let i;i=f(e)?e({async write(n){await Es(t,n,{currentStyleScoped:r.styleScoped,parentComponentFrame:r.parentComponentFrame}),t.commentNode(Q)}}):e,n(i),nt(i)&&n(Promise)}else if(i===me)t.htmlNode(sn(o,"data"));else if(oc(i)){t.openComponent([]);const e=t.getOrCreateLastNode(),s=t.getParentComponentFrame();s.distributeChildrenIntoSlots(o.children,r.styleScoped,r.parentComponentFrame);const l=((t,n,e)=>{const r=t.getOrCreateLastNode(),[o]=e[rc],i=n.props;return i&&i.children&&delete i.children,r.setProp($,o),r.setProp(D,i),null!==n.key&&r.setProp(F,n.key),ae(t,r,r,o,i)})(t,o,i);if(n(new _s(r.styleScoped,r.parentComponentFrame)),n(t.closeComponent),nt(l))n(async()=>{const t=await l,r=Ae(e.getProp(S));n(t),n(new _s(r,s))});else{n(l);const t=Ae(e.getProp(S));n(new _s(t,s))}}else{t.openFragment([F,o.key]),n(t.closeFragment);const e=t.getComponentFrame(0),r=((t,n,e,r)=>{const o=t.getOrCreateLastNode();return ae(t,o,n,e,r.props)})(t,e&&e.componentNode,i,o);n(r),nt(r)&&n(Promise)}}}function Fs(t,n){if(null==t)return null;const e=[],r=(t,r)=>{if(null!=r){if(Bt(t)){const o=Ds(n.serializationCtx,t,r);return void(o&&e.push(t,o))}rl(r)?Ce(t)?e.push(t,[r,n.styleScopedId]):e.push(t,r):(Jt(t)&&function(t,n){const e=n.substring(14);e&&t.Ut.add(e)}(n.serializationCtx,t),r=Me(t,r,n.styleScopedId),e.push(t,r))}};if(n.toSort){const n=Object.keys(t).sort();for(const e of n)r(e,t[e])}else for(const n in t)r(n,t[n]);return e}function Ds(t,n,e){let r=null;const o=e,i=t=>{r=(null==r?"":r+"\n")+t},s=n=>(!n.o.startsWith("_")&&n.rt?.length&&(n=Ql(null,"_run",Ss,null,null,[n])),us(t,n));if(Array.isArray(o))for(let e=0;e<=o.length;e++){const r=o[e];if(p(r))i(s(r)),Ls(t,n,r);else if(null!=r){const e=Ds(t,n,r);e&&i(e)}}else p(o)&&(r=s(o),Ls(t,n,o));return r}function Ls(t,n,e){const r=Yt(n);if(r){const[n,o]=r,i=Xt(n,o),s=Kt(n,i);t.Ut.add(s),t.Wt.add(e)}}const Ws=(t,n,e,r)=>{if(0!==e)switch(4!==e&&Array.isArray(r)&&(r=Us(t,r)),e){case 4:Us(t,r,n);break;case 5:if(0===r)break;for(let t=0;t<r.length;t+=2)n[r[t]]=r[t+1];break;case 19:case 20:Vs(t,n),20===e&&n.resolve();break;case 21:const o=n,i=r;o.nt=i[0],o.N=i[1],o.it=i[2],o.st=i[3],o[bt]=i[4],o.lt=i[5];break;case 22:const[s,l,c]=r,f=n;s?(f.value=Promise.resolve(l),f._resolved=l,f._state="resolved"):(f.value=Promise.reject(l),f._error=l,f._state="rejected"),dl(n).m=c;break;case 23:n[rc][0]=r[0];break;case 29:{const e=wl(n),o=hs.get(e);o&&(hs.delete(e),Ws(t,e,o.t,o.v));const[,i,s]=r,l=dl(n);l.N=i,l.m=s;break}case 24:{const t=n,e=r;t.$=e[0],t.m=new Set(e.slice(1));break}case 25:{const e=n,o=r;e.Y=t.getSyncFn(o[0]),e.G=o[1],e[bt]=o[2],e.$=hn,e.N=o[3],e.N|=1,e.K=o[4],e.m=new Set(o.slice(5)),function(t){if(null!==t.K&&go(t.K)){const n=t.K,e=t.m;let r=!1;if(e)for(const[o,i]of e)if(u(i)){const e=Co(n,i,null);if(null!==e){t.$=e,r=!0;break}}if(!r){const e=Xo(n);e&&n.firstChild===n.lastChild&&xo(e)&&(t.$=Go(e))}}}(e);break}case 27:{const t=n,e=r;t.O=e[0],t[bt]=e[1],t.m=new Set(e[2]),t.L=new Set(e[3]),t.W=new Set(e[4]),t.T=e[5],t.D=e[6],e.length>7&&(t.$=e[7],t.U=e[7]),t.N|=1;break}case 28:case 26:{const t=n,o=r;t.O=o[0],t[bt]=o[1],o[2]&&(t.m=new Set(o[2])),o.length>3?(t.$=o[3],28===e&&(t.N|=1)):(t.N|=1,t.O.resolve());break}case 14:{const t=r;n.message=t[0];for(let e=1;e<t.length;e+=2)n[t[e]]=t[e+1];break}case 30:{const t=n,e=r;for(let n=0;n<e.length;n++)t.append(e[n++],e[n]);break}case 31:{const t=n,[e,o,i,s,l,c]=r;t.type=e,t.key=o,t.varProps=i,t.constProps=s||null,t.children=l,t.toSort=!!c;break}case 16:{const t=n,e=r;for(let n=0;n<e.length;n++)t.add(e[n]);break}case 17:{const t=n,e=r;for(let n=0;n<e.length;n++)t.set(e[n++],e[n]);break}case 15:{const t=n,[e,o]=r,[i,s]=as.get(t);e?i(o):s(o);break}case 18:const h=n,d=atob(r);let p=0;for(const t of d)h[p++]=t.charCodeAt(0);break;case 32:const $=n,y=r;let w=y[0];w===Qt&&(w=new Jn(ue,y[1],y[2]),w._proxy=$),$[Ut]=w,$[Vt].m=y[3];break;case 33:{const t=n;t.data.ct=r[0],t.data.ut=r[1];break}default:throw a(16,[e])}},Us=(t,n,e=Array(n.length/2))=>{for(let r=0;r<n.length;r+=2)e[r/2]=zs(t,n[r],n[r+1]);return e};function Vs(t,n){if(n.rt)return n;const e=n.Xt;return n.rt=e?e.map(n=>t.ft(n)):null,n.Xt=null,t.element&&n.$t(t.element),n}function zs(t,n,e){if(0===n)return e;const r=ds(t,n,e);return Qs(n)&&Ws(t,r,n,e),r}const Qs=t=>t>=14||4===t||5===t,Bs=new WeakMap,Hs=Symbol("UNWRAP"),Js=(t,n)=>{if(!Array.isArray(n)||go(n)||l(e=n)&&Hs in e)return n;var e;let r=Bs.get(n);if(!r){const e=Array(n.length/2).fill(void 0);r=new Proxy(e,new Gs(t,n)),Bs.set(n,r)}return r};class Gs{k;Kt;Zt;constructor(t,n){this.k=t,this.Kt=n,this.Zt=this.Kt.length/2}get(t,n,e){if(n===Hs)return t;const r="number"==typeof n?n:"string"==typeof n?parseInt(n,10):NaN;if(Number.isNaN(r)||r<0||r>=this.Zt)return Reflect.get(t,n,e);const o=2*r,i=this.Kt[o],s=this.Kt[o+1];if(0===i)return s;const l=this.k,c=ds(l,i,s);return Reflect.set(t,n,c),this.Kt[o]=0,this.Kt[o+1]=c,Qs(i)&&Ws(l,c,i,s),c}has(t,n){return n===Hs||Object.prototype.hasOwnProperty.call(t,n)}set(t,n,e,r){if(n===Hs)return!1;const o=Reflect.set(t,n,e,r),i="number"==typeof n?n:parseInt(n,10);if(Number.isNaN(i)||i<0||i>=this.Kt.length/2)return o;const s=2*i;return this.Kt[s]=0,this.Kt[s+1]=e,!0}}const Ys=t=>33<=t&&t<=46,Xs=(t,n,e)=>{let r=0;for(;n<e;){const e=t.charCodeAt(n);if(92===e)n+=2;else{if(0===r&&Ys(e))break;123===e?r++:125===e&&r--,n++}}return n};function Ks(t){const n=tl(t);if(!n)throw a(24);return Zs(n)}function Zs(t){const n=t;return n.qContainer||=new nl(n)}function tl(t){return t.closest("[q\\:container]:not([q\\:container=html]):not([q\\:container=text])")}class nl extends Is{element;qContainer;qManifestHash;rootVNode;document;tn;tt=new WeakMap;nn;Ht;gt=null;vNodeLocate=t=>Fo(this.rootVNode,t);en;rn=null;constructor(t){if(super({},t.getAttribute("q:locale")),this.qContainer=t.getAttribute(O),!this.qContainer)throw a(25);this.document=t.ownerDocument,this.element=t,this.Jt=t.getAttribute(q),this.Ht=t.getAttribute(N),this.qManifestHash=t.getAttribute("q:manifest-hash"),this.rootVNode=mo(this.element),this.tn=[],this.en=[];const n=this.element.ownerDocument;n.qVNodeData||function(t){const n="q:container",e="/"+n,r="q:ignore",o="/"+r,i="q:container-island",s="/"+i,l=t.qVNodeData||(t.qVNodeData=new WeakMap),c=t.body,u=c.getAttribute,f=c.hasAttribute,a=((t,n)=>{let e;for(;t&&!(e=Object.getOwnPropertyDescriptor(t,n)?.get);)t=Object.getPrototypeOf(t);return e||function(){return this[n]}})(c,"nodeType"),h=t=>{Array.from(t.querySelectorAll('script[type="qwik/vnode"]')).forEach(t=>{t.setAttribute("type","x-qwik/vnode");const n=t.closest("[q\\:container]");n.qVnodeData=t.textContent,n.qVNodeRefs=new Map}),t.querySelectorAll("[q\\:shadowroot]").forEach(t=>{const n=t.shadowRoot;n&&h(n)})};h(t);const d=t=>{const l=a.call(t);if(1===l)return null===u.call(t,n)?f.call(t,"q:shadowroot")?6:f.call(t,":")?2:0:3;if(8===l){const l=t.nodeValue||"";if(l.startsWith(i))return 65;if(l.startsWith(r))return 16;if(l.startsWith(n))return 9;if(l.startsWith(s))return 64;if(l.startsWith(o))return 32;if(l.startsWith(e))return 8}return 0},p=t=>{for(;t&&(t=t.nextSibling)&&0===d(t););return t},$=(n,e,r,o,i,s)=>{const c=i.length;let u=0,f=-1,a=0,h=0,y=0,w=-1,m=null;const b=()=>{let t=0;for(;Ys(y=i.charCodeAt(a))&&(t+=1<<y-33,a++,!(a>=c)););return t};do{if(r===o)return;m=null;const v=r==e?2:d(r);if(3===v){const t=r;let e=r;for(;e&&!(m=p(e));)e=e.parentNode;$(n,t,r,m,t.qVnodeData||"",t.qVNodeRefs)}else if(16===v){let t=r;do{if(t=n.nextNode(),!t)throw new Error(`Island inside \x3c!--${r?.nodeValue}--\x3e not found!`)}while(65!==d(t));m=null}else if(64===v){m=r;do{if(m=n.nextNode(),!m)throw new Error("Ignore block not closed!")}while(32!==d(m));m=null}else if(9===v){m=r;do{if(m=p(m),!m)throw new Error(`\x3c!--${r?.nodeValue}--\x3e not closed!`)}while(8!==d(m));$(n,r,r,m,"",null)}else if(6===v){m=p(r);const n=r,e=n?.shadowRoot;e&&$(t.createTreeWalker(e,129),null,e,null,"",null)}if(!(2&~v)){if(f<u&&(-1===f&&(f=0),a=h,a<c?(f+=b(),126===y&&(w=f,a++,y=a<c?i.charCodeAt(h):33),h=Xs(i,a,c)):f=Number.MAX_SAFE_INTEGER),u===f){w===u&&s.set(u,r);const t=i.substring(a,h);l.set(r,t)}u++}}while(r=m||n.nextNode())},y=t.createTreeWalker(t,129);$(y,null,y.firstChild(),null,"",null)}(n),this.nn=R(n,this.Ht)||Zt,this.sn(),t.setAttribute(O,"resumed"),t.qContainer=this;const e=t.querySelectorAll('script[type="qwik/state"]');0!==e.length&&(this.tn=JSON.parse(e[e.length-1].textContent),Pl(this.tn,this),this.en=Js(this,this.tn)),this.ln(),t.isConnected&&t.dispatchEvent(new CustomEvent("qresume",{bubbles:!0}))}ln(){const t=this.element.ownerDocument,n=t.head,e=t.querySelectorAll(g);for(let t=0;t<e.length;t++)n.appendChild(e[t])}ht(t,n){this.en[t]=n}parseQRL(t){return Vs(this,function(t){const n=t.indexOf("#"),e=t.indexOf("[",n),r=t.indexOf("]",e);return fs(t.slice(0,n>-1?n:e),e>-1?t.slice(n+1,e):t.slice(n+1),e>-1&&r>-1?t.slice(e+1,r).split(" ").filter(t=>t.length).map(t=>parseInt(t,10)):null)}(t))}handleError(t,n){const e=n&&this.resolveContext(n,is);if(!e)throw t;e.error=t}setContext(t,n,e){let r=this.getHostProp(t,k);null==r&&this.setHostProp(t,k,r=[]),ze(r,n.id,e,0,!0)}resolveContext(t,n){for(;t;){const e=this.getHostProp(t,k);if(null!=e&&Be(e,n.id,0))return Qe(e,n.id,0);t=this.getParentHost(t)}}getParentHost(t){let n=t.parent;for(;n;)if(Ro(n)){if(null!==Co(n,$,null))return n;n=n.parent||n.slotParent}else n=n.parent;return null}setHostProp(t,n,e){Ao(t,n,e)}getHostProp(t,n){const e=t;let r=null;switch(n){case L:case D:case $:case k:case x:r=this.ft;break;case W:case V:r=parseInt}return Co(e,n,r)}ensureProjectionResolved(t){if(!(16&t.flags)){t.flags|=16;const n=t.props;if(n)for(const t of Object.keys(n))if(Re(t)){const e=n[t];if("string"==typeof e){const r=this.vNodeLocate(e);n[t]=r}}}}ft=t=>_l(t,this.en);getSyncFn(t){return this.nn[t]}cn(t,n,e,r){if(r){const t=this.getHostProp(e,S),r=new Set(function(t){return t?.split(" ")??null}(t));r.add(n),this.setHostProp(e,S,function(t){return Array.from(t).join(" ")}(r))}if(null==this.rn&&(this.rn=new Set,this.element.querySelectorAll(v).forEach(t=>{this.rn.add(t.getAttribute(b))})),!this.rn.has(n)){this.rn.add(n);const e=this.document.createElement("style");e.setAttribute(b,n),e.textContent=t,this.document.head.appendChild(e)}}sn(){const t={},n=this.element.attributes;if(n)for(let e=0;e<n.length;e++){const r=n[e];r.name!==B&&(t[r.name]=r.value)}this.Qt={containerAttributes:t}}}const el=t=>{if(!t.resolved)throw t.resolve()},rl=t=>t instanceof Ft,ol=(t,n)=>{!t.has(n)&&t.add(n)},il=(t,n)=>{t[2]||=new Set,!t[2].has(n)&&t[2].add(n)},sl=(t,n)=>{if(n&&!(t=>t instanceof nl)(n)){const e=t[0],r=t[1];let o=null;We(e)?o=e.nt:e instanceof mn?o=e.O:":"===r&&(o=n.getHostProp(e,$)),o&&n.serializationCtx.Wt.add(o)}},ll=(t,n,e)=>{if(e){const r=e=>{const r=e[0],o=e[1];if(We(r))r.N|=8,po(t,r.st,1);else if(r instanceof Ft)r.invalidate();else if(":"===o)po(t,r,4);else if("."===o)i=r,s=n,(i.props||={})[_t]=s,po(t,r,2);else{const i=e[3];if(i instanceof Wn){const e=i.data;(function(t,n,e){const r=t.props||={};let o=r[It];o||(o=new Map,r[It]=o),o.set(n,e)})(r,o,{isConst:e.ut,scopedStyleIdPrefix:e.ct,value:n}),po(t,r,8)}}var i,s};for(const t of e)r(t)}},cl=t=>l(t)&&"function"==typeof t[Vl],ul=t=>{let n=1;switch(t){case"never":n|=16;break;case"always":n|=32}return n},fl=[];function al(t){try{if(null===t)return"null";if(void 0===t)return"undefined";if("string"==typeof t)return'"'+t+'"';if("number"==typeof t||"boolean"==typeof t)return String(t);if(We(t))return`Task(${al(t.nt)})`;if(p(t))return`Qrl(${t.o})`;if("object"==typeof t||"function"==typeof t){if(fl.includes(t))return"*";try{if(fl.push(t),Array.isArray(t))return go(t)?"("+(Co(t,ht,null)||"vnode")+")":t.map(al);if(rl(t))return t instanceof Mn?"WrappedSignal":t instanceof mn?"ComputedSignal":"Signal";if(ml(t))return"Store";if(Yn(t))return hl(t);if(go(t))return"("+(Co(t,ht,null)||"vnode")+")"}finally{fl.pop()}}}catch(t){return console.error("ERROR in qwikDebugToString",t),"*error*"}return t}const hl=t=>{if(Yn(t)){if("function"==typeof t.type){const n=t.type[rc];if(n){const[t]=n;return"Component("+t.o+")"}return"Function("+t.type.name+")"}let n="<"+t.type;if(t.props){for(const[e,r]of Object.entries(t.props))n+=" "+e+"="+al(r);const e=t.children;null!=e?(n+=">",Array.isArray(e)?e.forEach(t=>{n+=hl(t)}):n+=hl(e),n+="</"+t.type+">"):n+="/>"}return n}return String(t)},dl=t=>t[pn],pl=t=>t?.[dn]||null,$l=(t,n)=>{const e=dl(t);e&&e.force(n)},yl=(t,n)=>{const e=dl(t);return!!e&&(e.m?.get(n)?.size??0)>0},wl=t=>pl(t)||t,ml=t=>dn in t;function bl(t,n,e){return new Proxy(n,new gl(e,t||null))}const vl=(t,n,e)=>{if(s(t)&&e){let r=e.tt.get(t);return r||(r=bl(e,t,n),e.tt.set(t,r)),r}return t};class gl{N;k;m=void 0;constructor(t,n){this.N=t,this.k=n}toString(){return"[Store]"}force(t){const n=pl(this);ll(this.k,this,xl(n,t,this.m))}get(t,n){if("symbol"==typeof n)return n===dn?t:n===pn?this:t[n];const e=Ti(),r=t[n];if(e){if(null===this.k){if(!e.k)return r;this.k=e.k}const o=e.q;o&&Sl(t,Array.isArray(t)?$n:n,this,o)}return"toString"===n&&r===Object.prototype.toString?this.toString:1&this.N&&l(r)&&!Object.isFrozen(r)&&!ml(r)&&!Object.isFrozen(t)?vl(r,this.N,this.k):r}set(t,n,e){if("symbol"==typeof n)return t[n]=e,!0;const r=1&this.N?wl(e):e;return n in t?r!==t[n]&&kl(n,r,t,this):kl(n,r,t,this),!0}deleteProperty(t,n){return"string"==typeof n&&delete t[n]&&(Array.isArray(t)||ll(this.k,this,xl(t,n,this.m)),!0)}has(t,n){if(n===dn)return!0;if("string"==typeof n){const e=Ti();if(e){const r=e.q;r&&Sl(t,Array.isArray(t)?$n:n,this,r)}}return Object.prototype.hasOwnProperty.call(t,n)}ownKeys(t){const n=Ti(),e=n?.q;return e&&Sl(t,$n,this,e),Reflect.ownKeys(t)}getOwnPropertyDescriptor(t,n){const e=Reflect.getOwnPropertyDescriptor(t,n);return Array.isArray(t)||"symbol"==typeof n||e&&!e.configurable?e:{enumerable:!0,configurable:!0}}}function Sl(t,n,e,r){const o=e.m||=new Map;let i=o.get(n);i||(i=new Set,o.set(n,i)),ol(i,r),il(r,t),sl(r,e.k)}function kl(t,n,e,r){e[t]=n;const o=xl(e,t,r.m);o&&ll(r.k,r,o)}function xl(t,n,e){let r;if(e)if(Array.isArray(t))for(const t of e.values()){r||=new Set;for(const n of t)r.add(n)}else r=e.get(n);const o=e?.get($n);if(o){r||=new Set;for(const t of o)r.add(t)}return r}const Rl=(t,n=new WeakSet)=>{if(null==t||"string"==typeof t||"number"==typeof t||"boolean"==typeof t||"bigint"==typeof t)return!0;if("object"==typeof t){if(n.has(t))return!0;n.add(t);const e=Object.getPrototypeOf(t);if(ml(t)&&(t=pl(t)),e==Object.prototype){for(const e in t)if(!Rl(Bi(()=>t[e]),n))return!1;return!0}if(e==Array.prototype){for(let e=0;e<t.length;e++)if(!Rl(t[e],n))return!1;return!0}if(We(t))return!0;if(un(t))return!0;if(nt(t))return!0;if(Yn(t))return!0;if(t instanceof Error)return!0;if(t instanceof URL)return!0;if(t instanceof Date)return!0;if(t instanceof RegExp)return!0;if(t instanceof URLSearchParams)return!0;if(t instanceof FormData)return!0;if(t instanceof Set)return!0;if(t instanceof Map)return!0;if(t instanceof Uint8Array)return!0;if(t instanceof Wn)return!0;if(As?.(t))return!0}else if("function"==typeof t){if(p(t)||oc(t)||t===ye||t===ue)return!0}else if(t===Qt||t===hn||t===$n)return!0;return!1},ql=(t,n)=>{let e=go(t)?ji.call(t,1,"",!0).replaceAll(/\n.*/gm,""):"function"==typeof t?String(t):(t=>{const n=new WeakSet;return JSON.stringify(t,(t,e)=>{if(l(e)){if(n.has(e))return`[Circular ${e.constructor.name}]`;n.add(e)}return e},2)})(t);return e.length>500&&(e=e.slice(0,500)+'"...'),e=e.replace(/\n/g,"\n"+n),e.includes("\n")?e=`\n${n}${e}`:e};let Nl=!1;const jl=(t,n=!1,e="",r=20)=>{const o=n?"[31m":"",i=n?"[0m":"",s=""===e,c=[];for(let s=0;s<t.length;s++){if(r&&s>2*r){c.push("...");break}const u=t[s];let f=t[++s];if(0===u){"number"!=typeof f&&"string"!=typeof f&&(Nl=!0);const t=`{${l(f)?f.constructor.name:typeof f}}`;c.push(`${o}${t}${i} ${ql(f,`${e} `)}`)}else 3===u?f=Al(f):"string"==typeof f?(f=JSON.stringify(f),f.length>120&&(f=f.slice(0,120)+'"...')):13===u?f=`[\n${e} ${f.join(`\n${e} `)}\n${e}]`:Array.isArray(f)&&(f=f.length?`[\n${jl(f,n,`${e} `)}\n${e}]`:"[]"),c.push(`${o}${Cl(u)}${i} ${f}`)}const u=c.map((t,n)=>`${e}${s?`${n} `:""}${t}`).join("\n");if(s){const n=Nl?"":`(${JSON.stringify(t).length} chars)`;return Nl=!1,`\n${u}\n${n}`}return u},Cl=t=>cs[t]||`Unknown(${t})`,Al=t=>ls[t]||`Unknown(${t})`;function Pl(n,e){const r=(t,n)=>1===t&&"string"==typeof n,o=t=>13===t,i=t=>20===t,s=t=>{const e=n[t+1].split(" ");let r=n,o=1,i=0,s=0,l=null;for(let t=0;t<e.length;t++)if(l=r,i=2*parseInt(e[t],10),s=i+1,o=r[i],r=r[s],1===o){const t=2*r;o=n[t],r=n[t+1]}l&&(l[i]=1,l[s]=t/2),n[t]=o,n[t+1]=r},l=[];for(let t=0;t<n.length;t+=2)if(r(n[t],n[t+1]))s(t);else if(o(n[t]))e.gt=n[t+1];else if(i(n[t])){const e=Number(n[t+1].split(" ")[0]);l.push(e)}for(const e of l){const r=n[2*e];let o;if(0===r)o=n[2*e+1];else{if(1!==r)continue;o=n[2*n[2*e+1]+1]}t(o,.3)}}async function Ol(t){const n=Os(null,null,()=>"",()=>"",()=>{},new WeakMap);for(const e of t)n.vt(e);return await n.jt(),n.Ct.toString()}function Il(t,n){if(null==t)return[];const e=JSON.parse(t);if(!Array.isArray(e))return[];let r;r=Z(n)&&tt(n)?Ml(e,n):Ml(e);const o=[];for(let t=0;t<e.length;t+=2)o[t/2]=zs(r,e[t],e[t+1]);return o}function _l(t,n){return"string"==typeof t&&(t=parseInt(t,10)),n[t]}function Ml(t,n){let e;const r={ft:t=>_l(t,e),getSyncFn:()=>()=>{},tt:new WeakMap,element:null,gt:null};return Pl(t,r),e=Js(r,t),r.lt=e,n&&(r.element=n),r}const El=(t,n)=>{const e=new WeakSet;return Bi(()=>Tl(t,e,"_",n))},Tl=(t,n,e,r)=>{const o=wl(t);if(null==o)return t;if(Dl(o)){if("object"==typeof o){if(n.has(o))return t;n.add(o)}if(rl(o))return t;if(Rl(o))return t;const i=typeof o;if("object"===i){if(nt(o))return t;if(Z(o))return t;if(c(o)){let r=0;return o.forEach((t,i)=>{if(i!==r)throw a(3,[o]);Tl(t,n,e+"["+i+"]"),r=i+1}),t}if(s(o)){for(const[t,r]of Object.entries(o))Tl(r,n,e+"."+t);return t}}let l;if(l=r||"Value cannot be serialized","_"!==e&&(l+=` in ${e},`),"object"===i)l+=` because it's an instance of "${t?.constructor.name}". You might need to use 'noSerialize()' or use an object literal instead. Check out https://qwik.dev/docs/advanced/dollar/`;else if("function"===i){const n=t.name;l+=` because it's a function named "${n}". You might need to convert it to a QRL using $(fn):\n\nconst ${n} = $(${String(t)});\n\nPlease check out https://qwik.dev/docs/advanced/qrl/ for more information.`}throw a(3,[l])}return t},Fl=/*#__PURE__*/new WeakSet,Dl=t=>!l(t)&&!f(t)||!Fl.has(t)&&!(Ul in t),Ll=t=>!!t&&(l(t)||"function"==typeof t)&&(Ul in t||Fl.has(t)),Wl=t=>((l(t)&&null!==t||"function"==typeof t)&&Fl.add(t),t),Ul=Symbol("noSerialize"),Vl=Symbol("serialize"),zl=Symbol("resolved"),Ql=(n,e,r,o,i,s)=>{let l;const u=async function(...t){const n=d.call(this,Ti());return await n(...t)},h=t=>(l||(l=t),l);function d(t,n){const e=(...o)=>{if(!u.resolved)return u.resolve().then(t=>{if(!f(t))throw a(5);return e(...o)});if(n&&!1===n())return;const i=y(t),s=i.nt,l=i.dt;i.nt=u,i.dt||=this;try{return Wi.call(this,i,r,...o)}finally{i.nt=s,i.dt=l}};return e}const p=t=>"function"!=typeof t||!i?.length&&!s?.length?t:function(...n){let e=Ti();if(e){if(e.nt?.o===u.o)return t.apply(this,n);const r=e.nt;e.nt=u;try{return t.apply(this,n)}finally{e.nt=r}}return e=Qi(),e.nt=u,e.dt=this,Wi.call(this,e,t,...n)};o&&zl in o&&(r=o[zl]);const $=r?async()=>r:async i=>{if(null!==r)return r;if(i&&h(i),""===n){const t=l.getAttribute(N),n=R(l.ownerDocument,t);return u.resolved=r=n[Number(e)]}n&&t(n,1);const s=Gl(),c=Ti();if(null!==o)r=o().then(t=>{const n=p(r=t[e]);return o[zl]=n,u.resolved=n,n});else{const t=K().importSymbol(l,n,e);r=ot(t,t=>u.resolved=p(r=t))}return nt(r)&&r.then(()=>Hl(e,c?.K instanceof St?c?.K.node:void 0,s),t=>{console.error(`qrl ${e} failed to load`,t),r=null}),r},y=t=>null==t?Qi():c(t)?Vi(t):t,w=(t=>{const n=t.lastIndexOf("_");return n>-1?t.slice(n+1):t})(e);return Object.assign(u,{getSymbol:()=>e,getHash:()=>w,getCaptured:()=>u.rt,resolve:$,$t:h,yt:n,o:e,M:w,getFn:d,Xt:i,rt:s,dev:null,resolved:void 0}),r&&(r=ot(r,t=>u.resolved=p(r=t))),e&&t(e,.8),u},Bl=/*#__PURE__*/new Set,Hl=(t,n,e)=>{Bl.has(t)||(Bl.add(t),Jl("qsymbol",{symbol:t,element:n,reqTime:e}))},Jl=(t,n)=>{"object"==typeof document&&document.dispatchEvent(new CustomEvent(t,{bubbles:!1,detail:n}))},Gl=()=>"object"==typeof performance?performance.now():0;let Yl=0;const Xl=t=>Ql(null,"s"+Yl++,t,null,null,null),Kl=Xl,Zl=t=>t,tc=t=>Ql("",h,t,null,null,null),nc=function(t,n){return void 0===n&&(n=t.toString()),t.serialized=n,Ql("",h,t,null,null,null)},ec=t=>{function n(n,e){const r=t.M.slice(0,4)+":"+(e||""),o=()=>{};return o[rc]=[t],te(o,n,null,n.children,0,r)}return n[rc]=[t],n},rc=Symbol("serializable-data"),oc=t=>"function"==typeof t&&void 0!==t[rc],ic=t=>ec(Kl(t)),sc=vn(Zl),lc=async(t,n,e={})=>{if(9===t.nodeType){let n=t.firstChild;for(;n&&!tt(n);)n=n.nextSibling;t=n}t.setAttribute(O,"resumed");const r=Ks(t);r.Qt=e.serverData||{};const o=r.rootVNode;return Ao(o,_t,n),po(r,o,2),await r.h,{cleanup:()=>{Nr(r,[],r.rootVNode)}}},cc=(t,n)=>{const{val:e,set:r,iCtx:o}=Te();if(null!=e)return e;const i=f(t)?Wi(void 0,t):t;if(!1===n?.reactive)return r(i),i;{const t=o.k,e=vl(i,n?.deep??1?1:0,t);return r(e),e}},uc=()=>{const{val:t,set:n,iCtx:e}=Te();if(null!=t)return t;const r=e.k.Jt||"",o=r?Oe(r).substring(0,3):"",i=e.k.getHostProp(e.K,$);let s=`${o}${i?.getHash().substring(0,3)||""}${(e.k.Bt++).toString(36)||""}`,l=s.charCodeAt(0);return l>=48&&l<=57&&(l+=17,s=String.fromCharCode(l)+s.substring(1)),n(s)};function fc(t,n){const e=Ti();return e?.k?.Qt[t]??n}const ac=/*#__PURE__*/new Map,hc=(t,n)=>{let e=ac.get(n);return e||ac.set(n,e=dc(t,n)),e},dc=(t,n)=>{const e=t.length,r=[],o=[];let i=0,s=i,l=mc,c=0;for(;i<e;){const n=i;let e=t.charCodeAt(i++);e===Qc&&(i++,e=Uc);const r=Zc[l];for(let d=0;d<r.length;d++){const p=r[d],[$,y,w]=p;if(($===c||$===Nc||$===jc&&pc(c)||$===Ac&&wc(c))&&(y===e||y===Nc||y===jc&&pc(e)||y===Cc&&!pc(e)&&e!==Fc||y===Ac&&wc(e))&&(3==p.length||a(p))){if(p.length>3&&(e=t.charCodeAt(i-1)),w===Rc||w==qc){w===qc&&(l!==bc||h()?$c(e)||f(i-(y==Cc?1:y==Ec?2:0)):($c(e)?u(i-2):f(i-2),s++)),y===Cc&&(i--,e=c);do{l=o.pop()||mc,l===vc&&(u(i-1),s++)}while(yc(l))}else o.push(l),l===vc&&w===mc?(u(i-8),s=i):w===gc&&f(n),l=w;break}}c=e}return u(i),r.join("");function u(n){r.push(t.substring(s,n)),s=n}function f(t){l===vc||h()||(u(t),r.push(".",y,n))}function a(n){let e=0;if(t.charCodeAt(i)===Tc)for(let n=1;n<10;n++)if(t.charCodeAt(i+n)===Tc){e=n+1;break}t:for(let r=3;r<n.length;r++){const o=n[r];for(let n=0;n<o.length;n++)if((t.charCodeAt(i+n+e)|Hc)!==o.charCodeAt(n))continue t;return i+=o.length+e,!0}return!1}function h(){return-1!==o.indexOf(vc)||-1!==o.indexOf(Sc)}},pc=t=>t>=Dc&&t<=Lc||t>=Uc&&t<=Vc||t>=Jc&&t<=Gc||t>=128||t===Bc||t===Tc,$c=t=>t===Wc||t===Fc||t===zc||t===Mc||pc(t),yc=t=>t===kc||t===Sc||t===xc||t===vc,wc=t=>t===_c||t===Pc||t===Oc||t===Ic,mc=0,bc=2,vc=5,gc=6,Sc=10,kc=11,xc=12,Rc=17,qc=18,Nc=0,jc=1,Cc=2,Ac=3,Pc=9,Oc=10,Ic=13,_c=32,Mc=35,Ec=41,Tc=45,Fc=46,Dc=48,Lc=57,Wc=58,Uc=65,Vc=90,zc=91,Qc=92,Bc=95,Hc=32,Jc=97,Gc=122,Yc=123,Xc=125,Kc=[[Nc,39,14],[Nc,34,15],[Nc,47,16,"*"]],Zc=[[[Nc,42,bc],[Nc,zc,7],[Nc,Wc,gc,":","before","after","first-letter","first-line"],[Nc,Wc,vc,"global"],[Nc,Wc,3,"has","host-context","not","where","is","matches","any"],[Nc,Wc,4],[Nc,jc,1],[Nc,Fc,1],[Nc,Mc,1],[Nc,64,Sc,"keyframe"],[Nc,64,kc,"media","supports","container"],[Nc,64,xc],[Nc,Yc,13],[47,42,16],[Nc,59,Rc],[Nc,Xc,Rc],[Nc,Ec,Rc],...Kc],[[Nc,Cc,qc]],[[Nc,Cc,qc]],[[Nc,40,mc],[Nc,Cc,qc]],[[Nc,40,8],[Nc,Cc,qc]],[[Nc,40,mc],[Nc,Cc,Rc]],[[Nc,Cc,Rc]],[[Nc,93,qc],[Nc,39,14],[Nc,34,15]],[[Nc,Ec,Rc],...Kc],[[Nc,Xc,Rc],...Kc],[[Nc,Xc,Rc],[Ac,jc,1],[Nc,Wc,vc,"global"],[Nc,Yc,13],...Kc],[[Nc,Yc,mc],[Nc,59,Rc],...Kc],[[Nc,59,Rc],[Nc,Yc,9],...Kc],[[Nc,Xc,Rc],[Nc,Yc,13],[Nc,40,8],...Kc],[[Nc,39,Rc]],[[Nc,34,Rc]],[[42,47,Rc]]],tu=t=>({styleId:ou(t,t=>t,!1)}),nu=/*#__PURE__*/vn(tu),eu=t=>({scopeId:y+ou(t,hc,!0)}),ru=/*#__PURE__*/vn(eu),ou=(t,n,e)=>{const{val:r,set:o,iCtx:i,i:s}=Te();if(r)return r;const l=(c=s,`${Oe(t.M)}-${c}`);var c;const u=i.K;if(o(l),!t.resolved)throw t.resolve().then(t=>i.k.cn(n(t,l),l,u,e));return i.k.cn(n(t.resolved,l),l,u,e),l},iu=(t,n)=>{cu("on:",t,n)},su=(t,n)=>{cu("on-document:",t,n)},lu=(t,n)=>{cu("on-window:",t,n)},cu=(t,n,e)=>{const{isAdded:r,addEvent:o}=uu();if(!r&&e)if(Array.isArray(n))for(const r of n)o(t+Gt(r),e);else o(t+Gt(n),e)},uu=()=>{const t=Di(),n=t.K;let e=t.k.getHostProp(n,U);null===e&&(e={},t.k.setHostProp(n,U,e));let r=t.k.getHostProp(n,V);null===r&&(r=0),t.k.setHostProp(n,V,r+1);let o=t.k.getHostProp(n,z);for(null===o&&(o=[],t.k.setHostProp(n,z,o));o.length<=r;)o.push(!1);return{isAdded:o[r],addEvent:(t,n)=>{o[r]=!0;let i=e[t];i||(e[t]=i=[]),i.push(n)}}},fu=t=>au(()=>{const n=f(t)&&!oc(t)?Wi(void 0,t):t;return Rn(n)}),au=t=>{const{val:n,set:e}=Te();return null!=n?n:e(t=f(t)&&!oc(t)?t():t)},hu=(t,n,e)=>{const{val:r,set:o}=Te();if(r)return r;const i=n(t,e);return o(i),el(t),i},du=(t,n)=>hu(t,Sn,n),pu=vn(du),$u=t=>hu(t,xn),yu=vn($u),wu=(t,n)=>{const{val:e,set:r,i:o,iCtx:i}=Te(),s=n?.strategy??"intersection-observer";if(e)return void(64&e.N||(e.N|=64,mu(e,s)));const l=new Le(9,o,i.K,t,void 0,null);r(l),mu(l,s),t.resolved||t.resolve(),po(i.k,i.K,1)},mu=(t,n)=>{"intersection-observer"===n?iu("qvisible",bu(t)):"document-ready"===n?su("qinit",bu(t)):"document-idle"===n&&su("qidle",bu(t))},bu=t=>Ql(null,"_task",Ue,null,null,[t]),vu=(t,n)=>Pr(Kl(t),n),gu=/*#__PURE__*/vn(Fe),Su=/*#__PURE__*/vn(wu),ku=(t,n)=>hu(t,kn,n),xu=vn(ku),Ru=()=>{const t=cc({error:void 0});return es(is,t),t},qu=t=>{import.meta;const n=import.meta.env.BASE_URL||"/",e={path:"qwik-prefetch-service-worker.js",...t};e.path=t?.path?.startsWith?.("/")?t.path:n+e.path;let r=Nu.replace('"_URL_"',JSON.stringify(e.path.split("/").pop()));r=r.replaceAll(/\s\s+/gm,"");const o={dangerouslySetInnerHTML:["("+r+")(",["navigator.serviceWorker"].join(","),");"].join(""),nonce:e.nonce};return Zn("script",null,o,null,0,"prefetch-service-worker")},Nu=/*#__PURE__*/(t=>{"getRegistrations"in t&&t.getRegistrations().then(t=>{t.forEach(t=>{t.active&&t.active.scriptURL.endsWith("_URL_")&&t.unregister().catch(console.error)})}),"caches"in window&&caches.keys().then(t=>{const n=t.find(t=>t.startsWith("QwikBundles"));n&&caches.delete(n).catch(console.error)}).catch(console.error)}).toString(),ju=()=>null;globalThis.__qwik&&console.error(`==============================================\nQwik version ${globalThis.__qwik} already imported while importing ${o}.\nThis can lead to issues due to duplicated shared structures.\nVerify that the Qwik libraries you're using are in "resolve.noExternal[]" and in "optimizeDeps.exclude".\n==============================================\n`),globalThis.__qwik=o,import.meta.hot&&import.meta.hot.dispose(()=>{globalThis.__qwik=void 0});export{Xl as $,ue as Fragment,Ul as NoSerializeSymbol,ju as PrefetchGraph,qu as PrefetchServiceWorker,fe as RenderOnce,Or as Resource,be as SSRComment,me as SSRRaw,ge as SSRStream,ve as SSRStreamBlock,Vl as SerializerSymbol,we as SkipRender,ye as Slot,Lt as _CONST_PROPS,nl as _DomContainer,bt as _EFFECT_BACK_REF,Zt as _EMPTY_ARRAY,zt as _IMMUTABLE,Is as _SharedContainer,Wn as _SubscriptionData,Qt as _UNINITIALIZED,Wt as _VAR_PROPS,zn as _chk,Il as _deserialize,jl as _dumpState,fo as _executeSsrChores,xs as _fnSignal,cn as _getConstProps,Ki as _getContextContainer,Yi as _getContextElement,Xi as _getContextEvent,Ks as _getDomContainer,tl as _getQContainerElement,ln as _getVarProps,yl as _hasStoreEffects,Yn as _isJSXNode,ml as _isStore,ks as _isStringifiable,We as _isTask,Zi as _jsxBranch,ne as _jsxC,re as _jsxQ,ee as _jsxS,Zn as _jsxSorted,te as _jsxSplit,Ve as _mapApp_findIndx,Qe as _mapArray_get,ze as _mapArray_set,ws as _noopQrl,ms as _noopQrlDEV,Pl as _preprocessState,nc as _qrlSync,gs as _regSymbol,os as _resolveContextWithoutSequentialScope,qe as _restProps,Ss as _run,Ol as _serialize,Ue as _task,Vn as _val,El as _verifySerializable,Io as _vnode_ensureElementInflated,xi as _vnode_getAttrKeys,Xo as _vnode_getFirstChild,ko as _vnode_isMaterialized,xo as _vnode_isTextVNode,Ro as _vnode_isVirtualVNode,ji as _vnode_toString,ts as _waitUntilRendered,Es as _walkJSX,On as _wrapProp,_n as _wrapSignal,ic as component$,ec as componentQrl,Nn as createAsyncComputed$,kn as createAsyncComputedQrl,qn as createComputed$,Sn as createComputedQrl,ns as createContextId,ce as createElement,jn as createSerializer$,xn as createSerializerQrl,Rn as createSignal,sc as event$,Zl as eventQrl,$l as forceStoreEffects,Ks as getDomContainer,ft as getLocale,K as getPlatform,ce as h,vn as implicit$FirstArg,ys as inlinedQrl,vs as inlinedQrlDEV,e as isBrowser,r as isDev,n as isServer,rl as isSignal,ie as jsx,se as jsxDEV,le as jsxs,Wl as noSerialize,$s as qrl,bs as qrlDEV,lc as render,X as setPlatform,tc as sync$,Bi as untrack,wl as unwrapStore,xu as useAsyncComputed$,ku as useAsyncComputedQrl,pu as useComputed$,du as useComputedQrl,au as useConstant,rs as useContext,es as useContextProvider,Ru as useErrorBoundary,uc as useId,Un as useLexicalScope,iu as useOn,su as useOnDocument,lu as useOnWindow,vu as useResource$,Pr as useResourceQrl,yu as useSerializer$,$u as useSerializerQrl,fc as useServerData,fu as useSignal,cc as useStore,nu as useStyles$,tu as useStylesQrl,ru as useStylesScoped$,eu as useStylesScopedQrl,gu as useTask$,Fe as useTaskQrl,Su as useVisibleTask$,wu as useVisibleTaskQrl,o as version,at as withLocale};
|
|
1
|
+
import{p as t}from"@qwik.dev/core/preloader";const n=!1,e=!0,r=!1,o="2.0.0-beta.19-dev+0d046fb",i=(t,n,...e)=>{const r=n instanceof Error?n:new Error(n);return console.error("%cQWIK ERROR","",r.message,...e,r.stack),t&&setTimeout(()=>{throw r},0),r},s=t=>{const n=Object.getPrototypeOf(t);return n===Object.prototype||n===Array.prototype||null===n},l=t=>"object"==typeof t&&null!==t,c=t=>Array.isArray(t),u=t=>"string"==typeof t,f=t=>"function"==typeof t,a=(t,n=[])=>{const e=(t=>`Code(Q${t}) https://github.com/QwikDev/qwik/blob/main/packages/qwik/src/core/error/error.ts#L${8+t}`)(t,...n);return((t,...n)=>i(false,t,...n))(e,...n)},h="<sync>",d=t=>p(t)&&t.o==h,p=t=>"function"==typeof t&&"function"==typeof t.getSymbol,$="q:renderFn",y="⚡️",m="q:slot",w="q:s",b="q:style",v="style[q\\:style]",g=v+",style[q\\:sstyle]",S="q:sstyle",k="q:ctx",x="q:brefs",R=(t,n)=>t["qFuncs_"+n]||[],q="q:base",j="q:instance",C="q:container-island",P="/"+C,A="q:ignore",N="/"+A,_="q:container",O="/"+_,I="q:template",M="http://www.w3.org/1999/xhtml",E="http://www.w3.org/2000/svg",F="http://www.w3.org/1998/Math/MathML",T="qRender",D="q:key",L="q:props",W="q:seq",U="q:seqIdx",V="q:p",z="q:ps",Q=":on",B=":onIdx",H=":onFlags",J="qkssr-f",G=":",Y="dangerouslySetInnerHTML",X="__scopedStyleIdPrefix__",K=()=>({isServer:n,importSymbol(t,n,e){if(!n)throw a(14,[e]);if(!t)throw a(13,[n,e]);const r=Z(t.ownerDocument,t,n).toString(),o=new URL(r);return o.hash="",import(o.href).then(t=>t[e])},raf:t=>new Promise(n=>{requestAnimationFrame(()=>{n(t())})}),chunkForSymbol:(t,n)=>[t,n??"_"]}),Z=(t,n,e)=>{const r=t.baseURI,o=new URL(n.getAttribute(q)??r,r);return new URL(e,o)};let tt=/*#__PURE__ */K();const nt=t=>tt=t,et=()=>tt,rt=t=>t&&"number"==typeof t.nodeType,ot=t=>1===t.nodeType,it=100,st=t=>!!t&&"object"==typeof t&&"function"==typeof t.then,lt=(t,n,e)=>{try{const r=t();return st(r)?r.then(n,e):n(r)}catch(t){return e(t)}},ct=(t,n)=>st(t)?t.then(n):n(t),ut=t=>new Promise(n=>{setTimeout(n,t)});function ft(t,n=0){const e=e=>{if(st(e)&&n<it)return e.then(ft.bind(null,t,n++));throw e};try{const n=t();return st(n)?n.catch(t=>e(t)):n}catch(t){return e(t)}}const at="q:type",ht={V:"Virtual",F:"Fragment",S:"Signal",A:"Awaited",C:"Component",I:"InlineComponent",P:"Projection"},dt=124,pt=t=>"foreignObject"===t,$t=t=>"svg"===t||pt(t),yt=t=>"math"===t;function mt(t,n,e,r=!1){const o=t.ownerDocument.createElementNS(e,n);for(const n of t.attributes)n.name!==G&&o.setAttribute(n.name,n.value);if(r)for(const n of t.childNodes){const t=n.nodeType;3===t?o.appendChild(n.cloneNode()):1===t&&o.appendChild(mt(n,n.localName,e,r))}return o}function wt(t,n,e,r){let o=t,i=null,s=null,l=null;for(;o;){let c=null,u=null;if(Oo(o)){c=o.node;const t=ri(o),i=o.parent,f=null==s?n:i&&ti(i,!0);if(f){const t=vt(f,ri(o));e=t.elementNamespace,r=t.elementNamespaceFlag}const a=si(o);if(u=mt(c,t,e,!a),c.remove(),null==s&&(s=u),l&&l.appendChild(u),o.node=u,o.flags&=-385,o.flags|=r,a){o=a,l=u;continue}if(ui(c)){const t=fl(c);if(t){const n=si(t.rootVNode);if(n){o=n,l=u;continue}}}}if(o===t)return s;const f=o.nextSibling;if(f)o=f;else{for(i=o.parent;i;){if(i===t)return s;const n=i.nextSibling;if(n)return o=n,s;i=i.parent}if(null==i)return s}}return s}const bt={elementNamespace:M,elementNamespaceFlag:0};function vt(t,n){const e=!t||!(!ri(t)||(r=t,384&r.flags));var r;const o=!e&&pt(ri(t));let i=M,s=0;const l="string"==typeof n||Oo(n);return l&&function(t){return"string"==typeof t?$t(t):!!Oo(t)&&($t(ri(t))||!!(128&t.flags))}(n)?(i=E,s=128):l&&function(t){return"string"==typeof t?yt(t):!!Oo(t)&&(yt(ri(t))||!!(256&t.flags))}(n)?(i=F,s=256):!t||o||e||(i=128&t.flags?E:256&t.flags?F:M,s=384&t.flags),bt.elementNamespace=i,bt.elementNamespaceFlag=s,bt}const gt=Symbol("backRef");class St{[gt]=void 0}class kt{flags;parent;previousSibling;nextSibling;props;[gt]=void 0;slotParent=null;dirty=0;dirtyChildren=null;nextDirtyChildIndex=0;constructor(t,n,e,r,o){this.flags=t,this.parent=n,this.previousSibling=e,this.nextSibling=r,this.props=o}toString(){return Object.prototype.toString.call(this)}}class xt extends kt{key;firstChild;lastChild;constructor(t,n,e,r,o,i,s,l){super(n,e,r,o,i),this.key=t,this.firstChild=s,this.lastChild=l}}class Rt extends xt{node;elementName;constructor(t,n,e,r,o,i,s,l,c,u){super(t,n,e,r,o,i,s,l),this.node=c,this.elementName=u}}class qt extends kt{node;text;constructor(t,n,e,r,o,i,s){super(t,n,e,r,o),this.node=i,this.text=s}}const jt=[],Ct=[];function Pt(t,n){const e=Dt(n).priority;let r=jt.length;for(let t=0;t<jt.length;t++)if(e<Dt(jt[t]).priority){r=t;break}jt.splice(r,0,n),t.l++,t.u||=new Promise(n=>t.h=n)}function At(){for(let t=0;t<jt.length;t++){const n=jt[t];let e=!1;for(let t=0;t<Ct.length;t++)if(Ii(n,Ct[t])){e=!0;break}if(!e)return n}return null}function Nt(t,n){Ct.push(t),Ot(t,n,!0),n.p++}function _t(t,n){const e=Ct.indexOf(t);if(-1!==e){const t=Ct.length-1;e!==t&&(Ct[e]=Ct[t]),Ct.pop(),n.p--}Pt(n,t)}function Ot(t,n,e){e||(t.flags&=-65);const r=jt.indexOf(t);-1!==r&&(jt.splice(r,1),n.l--)}const It=new WeakMap,Mt=":nodeProps",Et=":nodeDiff",Ft=":signal";function Tt(t,n,e){n.position=e,e&&go(e)&&function(t,n,e){Ot(e,t);const r=Dt(e);if(r===n)return;const o=r.afterFlushTasks;if(o&&o.length>0){const t=n.afterFlushTasks;t?t.push(...o):n.afterFlushTasks=o}const i=r.extraPromises;if(i&&i.length>0){const t=n.extraPromises;t?t.push(...i):n.extraPromises=i}const s=r.journal;if(s&&s.length>0){const t=n.journal;t?t.push(...s):n.journal=s}}(t,n,e)}function Dt(t){return It.get(t)??null}class Lt{$;m=void 0;k=null;R=null;constructor(t,n){this.k=t,this.$=n}force(){xl(this.k,this,this.m)}get untrackedValue(){return this.$}set untrackedValue(t){this.$=t}get value(){const t=Gi();if(!t)return this.untrackedValue;if(null===this.k){if(!t.k)return this.untrackedValue;this.k=t.k}const e=t.q;return e&&(gl(this.m||=new Set,e),Sl(e,this),(import.meta.env.TEST?!hl(this.k):n)&&kl(e,this.k)),this.untrackedValue}set value(t){t!==this.$&&(this.$=t,xl(this.k,this,this.m))}valueOf(){}toString(){return this.constructor.name}toJSON(){return{value:this.$}}}const Wt=(t,n,e)=>{const r=Gi();if(!r)return e();if(null===t.k){if(!r.k)return e();t.k=r.k}const o=r.q;return o&&(gl(n(),o),Sl(o,t),kl(o,t.k)),e()},Ut=Symbol("CONST"),Vt=Symbol("VAR"),zt=Symbol("OWNER"),Qt=Symbol("PROPS_HANDLER"),Bt=Symbol("IMMUTABLE"),Ht=Symbol("UNINITIALIZED"),Jt=t=>111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&(58===t.charCodeAt(2)||t.startsWith("on-window:")||t.startsWith("on-document:"));function Gt(t){if(t.endsWith("$")){const[n,e]=function(t){let n="on:",e=-1;return t.startsWith("on")?(n="on:",e=2):t.startsWith("window:on")?(n="on-window:",e=9):t.startsWith("document:on")&&(n="on-document:",e=11),[n,e]}(t);if(-1!==e){const r=t.slice(e,-1);return"DOMContentLoaded"===r?n+"-d-o-m-content-loaded":function(t,n){return n+Xt(t)}("-"===r.charAt(0)?r.slice(1):r.toLowerCase(),n)}}return null}function Yt(t){return t.startsWith("preventdefault:")}const Xt=t=>t.replace(/([A-Z-])/g,t=>"-"+t.toLowerCase()),Kt=t=>t.startsWith("on:")?["",t.substring(3)]:t.startsWith("on-window:")?["window",t.substring(10)]:["document",t.substring(12)],Zt=(t,n)=>{const e=":"+n;return t?t+e:e},tn=(t,n)=>t?"-"+n:n,nn=[],en={};function rn(t){return new Proxy({},new on(t))}Object.freeze(nn),Object.freeze(en);class on{owner;m=void 0;k=null;constructor(t){this.owner=t}get(t,n){if(n===Ut)return this.owner.constProps;if(n===Vt)return this.owner.varProps;if(n===zt)return this.owner;if(n===Qt)return this;let e;if("children"===n)e=this.owner.children;else{if("string"==typeof n&&"string"==typeof this.owner.type){const t=Gt(n);t&&(n=t)}e=cn(this.owner,n),n in this.owner.varProps&&sn(this,n)}return e instanceof Tn&&4&e.j?e.value:e}set(t,n,e){if(n===zt)this.owner=e;else if("children"===n)this.owner.children=e;else if(n===Ut)this.owner.constProps=e;else if(n===Vt)this.owner.varProps=e;else{if("string"==typeof n&&"string"==typeof this.owner.type){const t=Gt(n);t&&(n=t)}this.owner.constProps&&n in this.owner.constProps&&delete this.owner.constProps[n],this.owner.varProps===en?this.owner.varProps={}:n in this.owner.varProps||(this.owner.toSort=!0),this.owner.varProps[n]!==e&&(this.owner.varProps[n]=e,ln(this,n))}return!0}deleteProperty(t,n){let e=delete this.owner.varProps[n];return e&&ln(this,n),this.owner.constProps&&(e=delete this.owner.constProps[n]||e),null!=this.owner.children&&"children"===n&&(this.owner.children=null,e=!0),e}has(t,n){if("children"===n)return null!=this.owner.children;if(n===Ut||n===Vt)return!0;const e=n in this.owner.varProps;if("string"==typeof n&&(e&&sn(this,n),"string"==typeof this.owner.type)){const t=Gt(n);t&&(n=t)}return e||!!this.owner.constProps&&n in this.owner.constProps}getOwnPropertyDescriptor(t,n){return{configurable:!0,enumerable:!0,value:"children"===n?this.owner.children:this.owner.constProps&&n in this.owner.constProps?this.owner.constProps[n]:this.owner.varProps[n]}}ownKeys(){const t=Object.keys(this.owner.varProps);if(null!=this.owner.children&&t.push("children"),this.owner.constProps)for(const n in this.owner.constProps)-1===t.indexOf(n)&&t.push(n);return t}}const sn=(t,n)=>{const e=Gi();e&&null===t.k&&e.k&&(t.k=e.k);const r=e?.q;r&&Dl(t.owner._proxy,n,t,r)},ln=(t,n)=>{const e=function(t,n){return t?.get(n)}(t.m,n);return e&&xl(t.k,t,e),!!e},cn=(t,n)=>t.constProps&&n in t.constProps?t.constProps[n]:t.varProps[n],un=t=>t?Vt in t?"children"in t?{...t[Vt],children:t.children}:t[Vt]:t:null,fn=t=>t&&Ut in t?t[Ut]:null,an=t=>t&&Vt in t,hn=t=>{const n=t.N;if(n){t.N=null;try{n()}catch(t){i(!1,t)}}},dn=Symbol("invalid");class pn{consumer;property;backRef;data;constructor(t,n,e=null,r=null){this.consumer=t,this.property=n,this.backRef=e,this.data=r}}const $n=Symbol("store.target"),yn=Symbol("store.handler"),mn=Symbol("store.all");function wn(t,n,e){t[gt]||(t[gt]=new Map);const r=t[gt];let o=r.get(n);return o||(o=new pn(t,n),r.set(n,o)),e&&(o.data=e),o}const bn=(t,n)=>(e,r)=>{const o=rs();return o.q=wn(t,":"),o.k=n||void 0,Zi(o,()=>{if(f(e))return e();if(r)return e[r];if(vl(e))return e.value;if(l(e)&&Ml(e))return Dl(Nl(e),mn,Al(e),o.q),e;throw a(2)})},vn=(t,n)=>{let e=null;return[r=>{"function"==typeof r&&(e||(e=[],t.N=oc(()=>{t.N=null;for(const t of e)try{t()}catch(t){n(t)}})),e.push(r))},e??[]]};class gn extends Lt{_;j;[gt]=void 0;constructor(t,n,e=33){super(t,dn),this._=n,this.j=e}invalidate(){this.j|=1;const t=rs();t.k=this.k||void 0,ct(ft(()=>Zi.call(this,t,this.O)),()=>{2&this.j&&(this.j&=-3,xl(this.k,this,this.m))})}force(){this.j|=2,super.force()}get untrackedValue(){return this.O(),this.$}O(){if(!(1&this.j))return;const t=this._;bl(t);const n=Gi(),e=n?.q;if(n){const t=wn(this,".");Ln(this.k,t),n.q=t}try{const e=t.getFn(n)();if(st(e))throw a(29,[t.dev?t.dev.file:"",t.M]);this.j&=-2,e!==this.$&&(this.$!==dn&&(this.j|=2),this.$=e)}finally{n&&(n.q=e)}}set value(t){throw a(30)}get value(){return super.value}}class Sn extends gn{T=!1;D=void 0;L=void 0;W=void 0;N;U=dn;B=null;[gt]=void 0;constructor(t,n,e=1){super(t,n,e)}get loading(){return Wt(this,()=>this.L||=new Set,()=>this.untrackedLoading)}set untrackedLoading(t){t!==this.T&&(this.T=t,xl(this.k,this,this.L))}get untrackedLoading(){return this.T}get error(){return Wt(this,()=>this.W||=new Set,()=>this.untrackedError)}set untrackedError(t){t!==this.D&&(this.D=t,xl(this.k,this,this.W))}get untrackedError(){return this.D}invalidate(){this.B=null,super.invalidate()}async promise(){return this.B=null,await ft(()=>this.O()),this.$}O(){if(!(1&this.j))return;const t=this.U===dn||null===this.B?this.H():this.U;if(st(t)){const n=this.U===dn;this.untrackedLoading=!0,this.untrackedError=void 0,this.U!==dn&&hn(this);const e=t.then(t=>{this.U=t,this.untrackedLoading=!1,this.untrackedError=void 0,this.setValue(t)&&(this.j&=-3,xl(this.k,this,this.m))}).catch(t=>{st(t)||(this.U=t,this.untrackedLoading=!1,this.untrackedError=t)});if(n)throw e;return e}this.setValue(t)}async H(){if(!this.B){const[t]=vn(this,t=>this.k?.handleError(t,null));this.B=this._.getFn()({track:bn(this,this.k),cleanup:t})}return this.B}setValue(t){this.j&=-2;const n=t!==this.$;return n&&(this.$=t,this.j|=2),n}}const kn=t=>function(n,...e){return t.call(null,$c(n),...e)};class xn extends gn{constructor(t,n){super(t,n,33)}J=!1;O(){if(!(1&this.j))return;bl(this._);let t=this._.resolved;"function"==typeof t&&(t=t());const{deserialize:n,initial:e}=t,r=t.update,o=this.$===dn?e:this.$,i=ss(()=>this.J?r?.(o)||o:n(o),this,".",this.k),s=this.J&&"undefined"!==i||i!==this.$;this.j&=-2,this.J=!0,s&&(this.j|=2,this.$=i)}}const Rn=(t,n)=>new gn(n?.container||null,t,ql(n?.serializationStrategy||"always")),qn=(t,n)=>new Sn(n?.container||null,t,ql(n?.serializationStrategy||"never")),jn=t=>new xn(null,t),Cn=t=>new Lt(null,t),Pn=/*#__PURE__*/kn(Rn),An=/*#__PURE__*/kn(qn),Nn=kn(jn),_n=t=>t.value,On=(t,n)=>t[n],In=t=>1===t.length?vl(t[0])?t[0].R||=new Tn(null,_n,t,null):Ml(t[0])?new Tn(null,_n,t,null):t[0].value:new Tn(null,On,t,null),Mn=(...t)=>{const n=t[0],e=t.length<2?"value":t[1];if(!l(n))return n[e];if(vl(n))return n instanceof Tn&&4&n.j?n:In(t);if(an(n)){const r=n[Ut],o=n[Vt];if(r&&Object.prototype.hasOwnProperty.call(r,e))return r[e];if(Object.prototype.hasOwnProperty.call(o,e))return En(o[e],t)}else{const r=Nl(n);if(r)return En(r[e],t)}return n[e]},En=(t,n)=>vl(t)?t:In(n),Fn=(t,n)=>{const e=Mn(t,n);return e===Bt?t[n]:e};class Tn extends Lt{G;Y;X;j;K=void 0;[gt]=void 0;constructor(t,n,e,r,o=5){super(t,dn),this.G=e,this.Y=n,this.X=r,this.j=o}invalidate(){this.j|=1;try{this.O()}catch(t){this.k&&this.K&&(this.k.setHostProp(this.K,Ft,this),Ro(this.k,this.K,16))}2&this.j&&(this.j&=-3,xl(this.k,this,this.m))}force(){this.j|=2,this.k&&this.K&&(this.k.setHostProp(this.K,Ft,this),Ro(this.k,this.K,16))}get untrackedValue(){return this.O(),this.$}O(){if(!(1&this.j))return;const t=ss(()=>this.Y(...this.G),this,".",this.k);this.j&=-3,t!==this.$&&(this.j|=2,this.$=t)}Z(){return this.Y===_n&&vl(this.G[0])?this.G[0]:this}set value(t){throw a(31)}get value(){return super.value}}function Dn(t,n){_o(n)&&Oo(n)&&li(n);const e=n[gt];if(e){for(const[,n]of e)Ln(t,n);e.clear()}}function Ln(t,n){const e=n.backRef;if(e){for(const r of e)if(r instanceof Sn)Un(r,n);else if(r instanceof Lt)Wn(t,r,n);else if(an(r))Vn(r[Qt],n);else if(t.tt.has(r)){const e=t.tt.get(r);Vn(Al(e),n)}e.clear()}}function Wn(t,n,e){const r=n.m;r&&r.has(e)&&r.delete(e),n instanceof Tn&&!r?.size&&(n.K=void 0,Dn(t,n))}function Un(t,n){const e=t.m;e&&e.has(n)&&e.delete(n);const r=t.L;r&&r.has(n)&&r.delete(n)}function Vn(t,n){const e=t?.m;if(e)for(const[t,r]of e.entries())r.has(n)&&(r.delete(n),0===r.size&&e.delete(t))}class zn{data;constructor(t){this.data=t}}const Qn=()=>{const t=Yi();let n=t.nt;if(!n){const e=ul(al(t.K instanceof Rt?t.K.node:void 0));t.k||=e,n=e.parseQRL(decodeURIComponent(String(t.et)))}return n.rt},Bn=(t,n)=>{const[e]=Qn();e.value="number"===n.type?n.valueAsNumber:n.value},Hn=(t,n)=>{const[e]=Qn();e.value=n.checked};class Jn{type;children;toSort;key;varProps;constProps;dev;_proxy=null;constructor(t,n,e,r,o,i,s){this.type=t,this.children=r,this.toSort=!!i,this.key=null==o?null:"string"==typeof o?o:""+o,this.varProps=!n||Xn(n)?en:n,this.constProps=!e||Xn(e)?null:e}get props(){return this._proxy||=rn(this)}}const Gn=(t,n,e)=>{let r=t[n];if(!r)return t[n]=e,!0;Array.isArray(r)?r.push(e):r=t[n]=[r,e]},Yn=t=>t instanceof Jn,Xn=t=>0===Object.keys(t).length,Kn="bind:value",Zn="bind:checked",te=Object.prototype.hasOwnProperty,ne=(t,n,e,r,o,i,s)=>new Jn(t,n,e,r,i,!1,s),ee=(t,n,e,r,o,i,s)=>{let l=!1,c=!1,u=!1,f=null,a=null;if("string"==typeof t){if(e){const t=new Set;for(const n in e){const r=Gt(n);r&&(c||(e={...e},c=!0),te.call(e,r)&&!t.has(r)||(e[r]=e[n]),delete e[n]),t.add(n)}}if(n){const t=new Set;for(const e in n){const r=Gt(e);r?(u||(n={...n},u=!0),te.call(n,r)&&!t.has(r)||(n[r]=n[e]),delete n[e],l=!0):e===Zn?a=n[e]:e===Kn&&(f=n[e]),t.add(e)}if(a||f)if(u||(n={...n},u=!0),a){delete n[Zn],n.checked=a;const t=cc(null,"_chk",Hn,null,null,[a]);if(e&&te.call(e,"on:input")){c||(e={...e},c=!0);const t=e["on:input"];delete e["on:input"],l=Gn(n,"on:input",t)||l}l=Gn(n,"on:input",t)||l}else if(f){delete n[Kn],n.value=f;const t=cc(null,"_val",Bn,null,null,[f]);if(e&&te.call(e,"on:input")){c||(e={...e},c=!0);const t=e["on:input"];delete e["on:input"],l=Gn(n,"on:input",t)||l}l=Gn(n,"on:input",t)||l}}n&&te.call(n,"className")&&(u||(n={...n},u=!0),n.class=n.className,n.className=void 0,l=!0),e&&te.call(e,"className")&&(c||(e={...e},c=!0),e.class=e.className,e.className=void 0)}if(n)for(const t in n)"children"===t?(u||(n={...n},u=!0),r||=n.children,delete n.children):"key"===t?(u||(n={...n},u=!0),i||=n.key,delete n.key):(e&&t in e||null===n[t])&&(u||(n={...n},u=!0),delete n[t]);return new Jn(t,n,e,r,i,l||!0,s)},re=(t,n,e,r)=>le(t,n,r),oe=(t,n,e,r,o)=>le(t,{...e,...n},o),ie=(t,n,e,r,o,i)=>le(t,{...e,...n,children:r},i),se=t=>t.children,le=(t,n,e,r,o)=>ee(t,n,null,null,0,e,o),ce=le,ue=le;function fe(t,n,...e){const r={children:arguments.length>2?e.flat(100):null};let o=null;for(const t in n)"key"==t?o=n[t]:r[t]=n[t];return ee(t,n,null,r.children,0,o)}const ae=t=>t.children,he=(t,n)=>new Jn(se,null,null,t.children,n),de=(t,e,r,o,i)=>{const s=es(t.ot,r||e,t);let l;r&&(s.q=wn(r,":"),s.k=t),t.ensureProjectionResolved(e);let c=!1;if(null===o&&(o=t.getHostProp(e,$)),p(o))"children"in(i=i||t.getHostProp(e,L)||en)&&delete i.children,l=o.getFn(s);else if(gc(o)){const t=o;l=()=>ts(s,t,[i||en,null,0])}else{c=!0;const t=o;l=()=>ts(s,t,[i||en])}const u=!import.meta.env.TEST&&n,f=(n=0)=>lt(()=>(c||(t.setHostProp(e,U,null),t.setHostProp(e,B,null)),n>0&&_o(e)&&Dn(t,e),ct(l(i),t=>ct(s.it,()=>t))),r=>{if(u&&!c&&4&e.dirty&&(e.dirty&=-5,n<it))return f(n+1);const o=t.getHostProp(e,Q);return o?function(t,n){const e=$e(t);let r=t;const o="on:qvisible";return ct(e,t=>{const e=!t;let i=null;for(const s in n)if(Object.prototype.hasOwnProperty.call(n,s)){let l=t,c=s;if(e){if(s!==o&&!s.startsWith("on-document:")&&!s.startsWith("on-window:"))continue;if(!i){const[t,n]=ye(r);r=n,i=t}l=i}l&&("script"===l.type&&s===o&&(c="on-document:qinit"),pe(l,c,n[s]))}return r})}(r,o):r},t=>{if(st(t)&&n<it)return t.then(()=>f(++n));if(n>=it)throw new Error("Max retry count of component execution reached");throw t});return f()};function pe(t,n,e){const r=t.constProps||={},o=r[n];null==o?r[n]=e:Array.isArray(o)?o.push(...e):r[n]=[o,...e],t.varProps[n]&&(Array.isArray(o)?o.push(...r[n]):t.varProps[n]=[o,...e],r[n]=void 0)}function $e(t){const n=[t];for(;n.length;){const t=n.shift();if(Yn(t)){if("string"==typeof t.type)return t;n.push(t.children)}else if(c(t))n.push(...t);else{if(st(t))return ct(t,t=>$e(t));if(vl(t))return $e(os(()=>t.value))}}return null}function ye(t){if(Yn(t)){const n=me();return t.type===ae||gc(t.type)?(null==t.children?t.children=n:c(t.children)?t.children.push(n):t.children=[t.children,n],[n,t]):[n,ne(ae,null,null,[t,n],0,null)]}if("object"!=typeof(n=t)&&"function"!=typeof n||null==n){const n=me();return[n,ne(ae,null,null,[t,n],0,null)]}var n;if(c(t)&&t.length>0){const[n,e]=ye(t[0]);return[n,t]}return[null,t]}function me(){return new Jn("script",null,{hidden:""},null,null)}const we=t=>ne(se,null,{[w]:""},t.children,0,t.name??""),be=Symbol("skip render"),ve=()=>null,ge=()=>null,Se=t=>[le(ge,{data:"qkssr-pu"}),t.children,le(ge,{data:"qkssr-po"})],ke=(t,n)=>le(he,{children:le(xe,t)},n),xe=()=>null;function Re(t){let n="";const e=t.length;let r=0,o=r;for(;r<e;r++){const e=t.charCodeAt(r);if(60===e)n+=t.substring(o,r)+"<";else if(62===e)n+=t.substring(o,r)+">";else if(38===e)n+=t.substring(o,r)+"&";else if(34===e)n+=t.substring(o,r)+""";else{if(39!==e)continue;n+=t.substring(o,r)+"'"}o=r+1}return 0===o?t:n+t.substring(o)}function qe(t){let n="";for(let e=0;e<t.length;e++)"\\"===t.charAt(e)&&e+1<t.length?(n+=t.charAt(e+1),e++):n+=t.charAt(e);return n}function je(t){return!t.startsWith("q:")&&!t.startsWith(":")}const Ce=(t,n=[],e={})=>{let r=null;const o=t[Ut];if(o)for(const t in o)n.includes(t)||(r||={},r[t]=o[t]);const i=e,s=t[Vt];for(const t in s)n.includes(t)||(i[t]=s[t]);return rn(new Jn(null,i,r,null,null))},Pe=t=>y+t;function Ae(t){return"class"===t}const Ne=t=>{if(t){let n=0;do{t=t.substring(0,n)+Pe(t.substring(n))}while(0!==(n=t.indexOf(" ",n)+1))}return t||null},_e=new Set(["animationIterationCount","aspectRatio","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","columns","flex","flexGrow","flexShrink","gridArea","gridRow","gridRowEnd","gridRowStart","gridColumn","gridColumnEnd","gridColumnStart","fontWeight","lineClamp","lineHeight","opacity","order","orphans","scale","tabSize","widows","zIndex","zoom","MozAnimationIterationCount","MozBoxFlex","msFlex","msFlexPositive","WebkitAnimationIterationCount","WebkitBoxFlex","WebkitBoxOrdinalGroup","WebkitColumnCount","WebkitColumns","WebkitFlex","WebkitFlexGrow","WebkitFlexShrink","WebkitLineClamp"]),Oe=(t,n=0)=>{for(let e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;return Number(Math.abs(n)).toString(36)},Ie=t=>{if(!t)return"";if(u(t))return t.trim();const n=[];if(c(t))for(const e of t){const t=Ie(e);t&&n.push(t)}else for(const[e,r]of Object.entries(t))r&&n.push(e.trim());return n.join(" ")},Me=t=>t.replace(/([A-Z])/g,"-$1").toLowerCase();function Ee(t,n,e){if(Ae(t)){const t=Ie(n);n=e?e+(t.length?" "+t:t):t}else"style"===t?n=(t=>{if(null==t)return"";if("object"==typeof t){if(c(t))throw a(0,[t,"style"]);{const n=[];for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)){const r=t[e];null!=r&&"function"!=typeof r&&(e.startsWith("--")?n.push(e+":"+r):n.push(Me(e)+":"+Fe(e,r)))}return n.join(";")}}return String(t)})(n):function(t){return t.startsWith("aria-")||["spellcheck","draggable","contenteditable"].includes(t)}(t)||"number"==typeof n?n=(t=>null!=t?String(t):null)(n):!1===n||null==n?n=null:!0===n&&Yt(t)&&(n="");return n}const Fe=(t,n)=>"number"!=typeof n||0===n||_e.has(t)?n:n+"px",Te=(t,n,e)=>{let r=e>>1,o=t.length-2>>1;for(;r<=o;){const e=r+(o-r>>1),i=t[e<<1];if(i===n)return e<<1;i<n?r=e+1:o=e-1}return~(r<<1)},De=(t,n,e,r,o=!1)=>{const i=Te(t,n,r);i>=0?null!=e||o?t[i+1]=e:t.splice(i,2):(null!=e||o)&&t.splice(-1^i,0,n,e)},Le=(t,n,e)=>{const r=Te(t,n,e);return r>=0?t[r+1]:null},We=(t,n,e)=>Te(t,n,e)>=0;class Ue{target;constructor(t){this.target=t}}class Ve{target;constructor(t){this.target=t}}class ze{target;text;operationType=16;constructor(t,n){this.target=t,this.text=n}}class Qe{target;parent;beforeTarget;constructor(t,n,e){this.target=t,this.parent=n,this.beforeTarget=e}}class Be{target;attrName;attrValue;scopedStyleIdPrefix;isSvg;constructor(t,n,e,r,o){this.target=t,this.attrName=n,this.attrValue=e,this.scopedStyleIdPrefix=r,this.isSvg=o}}const He=t=>new Ue(t),Je=(t,n)=>new ze(t,n),Ge=(t,n,e)=>new Qe(t,n,e),Ye=(t,n,e,r=null,o=!1)=>new Be(t,n,e,r,o);function Xe(t,n,e,r,o,i){const s=i&&t?.st||null,l=To(n,V,s);if(null!==l)return e(r,o,l);const c=To(n,z,s);return null!==c?e(r,o,...c):e(r,o)}const Ke=(...t)=>{const[n]=Qn(),e=Yi(),r=e.K;if(r)return e.k||=ul(r.node),Uo(r),ft(()=>{if(!(32&r.flags))return Xe(e.k,r,n,t[0],t[1],!0).catch(t=>{const n=e.k;if(!n)throw t;n.handleError(t,r)})})};let Ze=null,tr=null;function nr(t,n,e,r){if(null!=e){if(r){const r=function(t){switch(t){case"xlink:href":case"xlink:actuate":case"xlink:arcrole":case"xlink:role":case"xlink:show":case"xlink:title":case"xlink:type":return"http://www.w3.org/1999/xlink";case"xml:base":case"xml:lang":case"xml:space":return"http://www.w3.org/XML/1998/namespace";default:return null}}(n);if(r)return void((t,n,e,r)=>{tr||(tr=t.setAttributeNS),tr.call(t,n,e,r)})(t,r,n,e)}o=t,Ze||(Ze=o.setAttribute),Ze.call(o,n,e)}var o}function er(t){return t?t.nextSibling:null}const rr=Object.prototype.hasOwnProperty;function or(t,n,e,r,o,i){import.meta.env.TEST&&o&&Do(n,X,o),Do(n,e,i),qo(t,Ye(n.node,e,r,o,!!(128&n.flags)))}const ir=(t,n,e,r,o,i)=>{const s={container:t,journal:n,cursor:o,scopedStyleIdPrefix:i,stack:[],asyncQueue:[],asyncAttributePromises:[],vParent:null,vCurrent:null,vNewNode:null,vSiblings:null,vSiblingsArray:null,vSideBuffer:null,jsxChildren:null,jsxValue:null,jsxIdx:0,jsxCount:0,shouldAdvance:!0,isCreationMode:!1,subscriptionData:{const:new zn({lt:i,ct:!0}),var:new zn({lt:i,ct:!1})}};sr(s,e,r);const l=yr(s);if(st(l))return l.finally(()=>{mr(s)});mr(s)};function sr(t,n,e){if(t.vParent=e,t.vNewNode=null,t.vCurrent=si(e),ar(t,n,!0),!(32&t.vParent.flags))for(;t.stack.length;){for(;t.jsxIdx<t.jsxCount;){if("string"==typeof t.jsxValue)Or(t,t.jsxValue);else if("number"==typeof t.jsxValue)Or(t,String(t.jsxValue));else if(t.jsxValue&&"object"==typeof t.jsxValue)if(Yn(t.jsxValue)){const n=t.jsxValue.type;"string"==typeof n?(vr(t),Sr(t,t.jsxValue,n),t.jsxValue.constProps&&rr.call(t.jsxValue.constProps,Y)||rr.call(t.jsxValue.varProps,Y)?wr(t,!1):ur(t,t.jsxValue.children,!0)):"function"==typeof n&&(n===ae?(vr(t),Pr(t,"F",t.jsxValue.key),ur(t,t.jsxValue.children,!0)):n===we?(vr(t),pr(t)||ur(t,t.jsxValue.children,!0)):n===Er?(dr(t),ur(t,t.jsxValue.children,!0,!1)):n===ge||n===ve?br(t):(vr(t),Ar(t,n)))}else if(Array.isArray(t.jsxValue))ur(t,t.jsxValue,!1);else if(vl(t.jsxValue)){Pr(t,"S",null);const n=t.jsxValue instanceof Tn?t.jsxValue.Z():t.jsxValue,e=t.vCurrent?.[gt]?.get(".")?.backRef;let r=e?.has(n);if(e&&n instanceof Tn&&(r=Vr(e,n)),!r){const e=t.vNewNode||t.vCurrent;ur(t,lr(t,()=>ls(n,e,".",t.container)),!0)}}else st(t.jsxValue)&&(Pr(t,"A",null),t.asyncQueue.push(t.jsxValue,t.vNewNode||t.vCurrent));else t.jsxValue===be||Or(t,"");cr(t)}br(t),$r(t),fr(t)}}function lr(t,n){try{return n()}catch(e){if(st(e)){const r=e.then(()=>ft(n));return t.asyncQueue.push(r,t.vNewNode||t.vCurrent),null}throw e}}function cr(t){if(t.shouldAdvance){if(t.jsxIdx++,t.jsxIdx<t.jsxCount)t.jsxValue=t.jsxChildren[t.jsxIdx];else if(t.stack.length>0&&!1===t.stack[t.stack.length-1])return fr(t);null!==t.vNewNode?t.vNewNode=null:t.vCurrent=er(t.vCurrent)}else t.shouldAdvance=!0}function ur(t,n,e,r=!0){if(r&&(null==n||e&&c(n)&&0===n.length))wr(t);else{if(ar(t,n,e),e){const n=t.isCreationMode||!!t.vNewNode||!si(t.vCurrent);t.isCreationMode=n,t.vSideBuffer=null,t.vSiblings=null,t.vSiblingsArray=null,t.vParent=t.vNewNode||t.vCurrent,t.vCurrent=si(t.vParent),t.vNewNode=null}t.shouldAdvance=!1}}function fr(t){t.stack.pop()&&(t.isCreationMode=t.stack.pop(),t.vSideBuffer=t.stack.pop(),t.vSiblings=t.stack.pop(),t.vSiblingsArray=t.stack.pop(),t.vNewNode=t.stack.pop(),t.vCurrent=t.stack.pop(),t.vParent=t.stack.pop()),t.jsxValue=t.stack.pop(),t.jsxCount=t.stack.pop(),t.jsxIdx=t.stack.pop(),t.jsxChildren=t.stack.pop(),cr(t)}function ar(t,n,e){t.stack.push(t.jsxChildren,t.jsxIdx,t.jsxCount,t.jsxValue),e&&t.stack.push(t.vParent,t.vCurrent,t.vNewNode,t.vSiblingsArray,t.vSiblings,t.vSideBuffer,t.isCreationMode),t.stack.push(e),Array.isArray(n)?(t.jsxIdx=0,t.jsxCount=n.length,t.jsxChildren=n,t.jsxValue=t.jsxCount>0?n[0]:null):void 0===n?(t.jsxIdx=0,t.jsxValue=null,t.jsxChildren=null,t.jsxCount=0):(t.jsxIdx=0,t.jsxValue=n,t.jsxChildren=null,t.jsxCount=1)}function hr(t){return t.vNewNode?t.vCurrent:er(t.vCurrent)}function dr(t){const n=t.jsxValue.key;t.vCurrent=To(t.vParent,n,n=>Ho(t.container.rootVNode,n)),t.vCurrent=t.vCurrent&&32&t.vCurrent.flags?null:t.vCurrent,null==t.vCurrent&&(t.vNewNode=No(),Do(t.vNewNode,m,n),t.vNewNode.slotParent=t.vParent,Do(t.vParent,n,t.vNewNode))}function pr(t){const n=zi(t.vParent),e=function(t,n){const e=t.jsxValue,r=e.constProps;if(r&&"object"==typeof r&&rr.call(r,"name")){const e=r.name;if(n&&e instanceof Tn)return ls(e,n,":",t.container)}return cn(e,"name")||""}(t,n),r=n?To(n,e,null):null;if(null==r)return Ko(t.journal,t.vParent,t.vNewNode=No(),t.vCurrent&&hr(t)),Do(t.vNewNode,m,e),n&&Do(n,e,t.vNewNode),!1;if(r===t.vCurrent);else{const o=r.parent;Ko(t.journal,t.vParent,t.vNewNode=r,t.vCurrent&&hr(t)),Do(t.vNewNode,m,e),n&&Do(n,e,t.vNewNode),o&&Oo(o)&&!o.firstChild&&ri(o)===I&&ni(t.journal,o.parent,o,!0)}return!0}function $r(t){if(t.vSideBuffer){for(const n of t.vSideBuffer.values())32&n.flags||(Dr(t.container,t.journal,n,t.cursor),ni(t.journal,t.vParent,n,!0));t.vSideBuffer.clear(),t.vSideBuffer=null}t.vCurrent=null}function yr(t){for(;t.asyncQueue.length;){const n=t.asyncQueue.shift(),e=t.asyncQueue.shift();if(st(n))return n.then(n=>(sr(t,n,e),yr(t))).catch(n=>(t.container.handleError(n,e),yr(t)));sr(t,n,e)}if(t.asyncAttributePromises.length){const n=t.asyncAttributePromises.splice(0);return Promise.all(n).then(()=>yr(t))}}function mr(t){t.journal=null,t.cursor=null}function wr(t,n=!0){const e=t.vCurrent&&si(t.vCurrent);if(null!==e){let r=e;for(;r;)Dr(t.container,t.journal,r,t.cursor),r=r.nextSibling;ei(t.journal,t.vCurrent,e,n)}}function br(t){if(null!==t.vCurrent)for(;t.vCurrent;){const n=t.vCurrent;t.vCurrent=er(t.vCurrent),t.vParent===n.parent&&(Dr(t.container,t.journal,n,t.cursor),ni(t.journal,t.vParent,n,!0))}}function vr(t){for(;null!==t.vCurrent&&Mo(t.vCurrent);){Dr(t.container,t.journal,t.vCurrent,t.cursor);const n=t.vCurrent;t.vCurrent=er(t.vCurrent),ni(t.journal,t.vParent,n,!0)}}function gr(t,n,e,r){const o=function(t,n){const e=vt(ti(t.vParent,!0),n),r=import.meta.env.TEST?t.container.document:document,o=0===e.elementNamespaceFlag?r.createElement(n):r.createElementNS(e.elementNamespace,n);return t.vNewNode=Co(o,n),t.vNewNode.flags|=e.elementNamespaceFlag,o}(t,e),{constProps:i}=n;let s=!1;if(i)for(const n in i){let l=i[n];if(Jt(n)){const e=Kt(n);if(e){const[r,o]=e,i=Zt(r,o),s=tn(r,i);o&&(Do(t.vNewNode,"::"+i,l),r&&Lo(t.journal,t.vNewNode,n,""),Rr(t,s))}s=!0;continue}if("ref"===n){if(vl(l)){l.value=o;continue}if("function"==typeof l){l(o);continue}if(null==l)continue;throw a(15,[r])}if(vl(l)){const e=t.vNewNode,r=l;l=ft(()=>ls(r,e,n,t.container,t.subscriptionData.const))}if(st(l)){const e=t.vNewNode,r=l.then(r=>nr(o,n,Ee(n,r,t.scopedStyleIdPrefix),!!(128&e.flags)));t.asyncAttributePromises.push(r);continue}if(n!==Y)if("textarea"!==e||"value"!==n)nr(o,n,Ee(n,l,t.scopedStyleIdPrefix),!!(128&t.vNewNode.flags));else{if(l&&"string"!=typeof l)continue;o.value=Re(l||"")}else l&&(o.innerHTML=String(l),o.setAttribute(_,"html"))}const l=n.key;return l&&(t.vNewNode.key=l),t.scopedStyleIdPrefix&&(rr.call(n.varProps,"class")||n.constProps&&rr.call(n.constProps,"class")||o.setAttribute("class",t.scopedStyleIdPrefix)),Ko(t.journal,t.vParent,t.vNewNode,t.vCurrent),s}function Sr(t,n,e){let r=!1;if(t.isCreationMode)r=gr(t,n,e,null);else{const o=t.vCurrent&&Oo(t.vCurrent),i=o&&e===ri(t.vCurrent),s=n.key;if(i&&s===(o&&t.vCurrent.key))jr(t,e,s);else{const o=qr(e,s);Cr(t,e,s,o,t.vParent)&&(r=gr(t,n,e,null))}}const o=n.varProps,i=t.vNewNode||t.vCurrent,s=i.node;o&&(r=function(t,n,e,r){t.isCreationMode||Uo(n);const o=n.props;let i=!1;for(const s in e){const l=e[s],c=Jt(s);if(o&&rr.call(o,s)){const e=o[s];if(l!==e){if(l instanceof Tn&&e instanceof Tn&&Ur(l,e))continue;if(c){const e=xr(t,n,s,l,r);i||=e}else kr(t,n,s,l,r)}}else if(null!=l)if(c){const e=xr(t,n,s,l,r);i||=e}else kr(t,n,s,l,r)}if(o)for(const i in o)rr.call(e,i)||i.startsWith(zr)||Jt(i)||kr(t,n,i,null,r);return i}(t,i,o,null)||r),r&&(s.qDispatchEvent||(s.qDispatchEvent=(n,e)=>{if(32&i.flags)return;const r=Xt(n.type),o=":"+e.substring(1)+":"+r,s=[To(i,o,null),To(i,zr+o,null)];for(const e of s.flat(2))e&&Xe(t.container,i,e,n,i.node,!1).catch(n=>{t.container.handleError(n,i)})}))}const kr=(t,n,e,r,o)=>{if(e===V||e===z||e.charAt(0)===zr)return void Do(n,e,r);const i=r;if("ref"===e){const t=n.node;if(vl(r))return void(r.value=t);if("function"==typeof r)return void r(t);throw a(15,[o])}const s=n[gt]?.get(e);if(vl(r)){const o=r instanceof Tn?r.Z():r;if(s?.backRef?.has(o))return;s&&Ln(t.container,s);const i=n;r=ft(()=>ls(o,i,e,t.container,t.subscriptionData.var))}else s&&Ln(t.container,s);if(st(r)){const o=n,s=r.then(n=>{or(t.journal,o,e,n,t.scopedStyleIdPrefix,i)});return void t.asyncAttributePromises.push(s)}or(t.journal,n,e,r,t.scopedStyleIdPrefix,i)},xr=(t,n,e,r,o)=>{const i=Kt(e);if(i){const e=n.props,[s,l]=i,c=Zt(s,l),u=tn(s,c),f=":"+c;return!(e&&rr.call(e,f)||(kr(t,n,f,r,o),Rr(t,u),0))}return!1};function Rr(t,n){const e=import.meta.env.TEST?t.container.document.defaultView:window;e&&(e.qwikevents||=[]).push(n)}function qr(t,n){return null==n?null:t?t+":"+n:n}function jr(t,n,e){const r=qr(n,e);return!(!r||!t.vSideBuffer?.has(r)||(t.vSideBuffer.delete(r),0))}function Cr(t,n,e,r,o,i){if(t.vNewNode=function(t,n,e){let r=null;if(null===t.vSiblings){const o=t.vCurrent;if(o){const r=Oo(o)?ri(o):null;if((Ir(o)||Mr(o,t.container.st))===e&&r===n)return o}t.vSiblings=new Map,t.vSiblingsArray=[];let i=t.vCurrent;for(;i;){const o=Oo(i)?ri(i):null,s=Ir(i)||Mr(i,t.container.st);null===r&&s==e&&o==n?r=i:null===s?t.vSiblingsArray.push(o,i):t.vSiblings.set(qr(o,s),i),i=i.nextSibling}}else if(null===e){for(let e=0;e<t.vSiblingsArray.length;e+=2)if(t.vSiblingsArray[e]===n){r=t.vSiblingsArray[e+1],t.vSiblingsArray.splice(e,2);break}}else{const o=qr(n,e),i=t.vSiblings.get(o);i&&(r=i,t.vSiblings.delete(o))}return function(t,n){if(!n){if(t.vCurrent){const n=Oo(t.vCurrent)?ri(t.vCurrent):null,e=Ir(t.vCurrent)||Mr(t.vCurrent,t.container.st);if(null!=e){const r=qr(n,e);t.vSideBuffer||=new Map,t.vSideBuffer.set(r,t.vCurrent),t.vSiblings?.delete(r)}}return}let e=t.vCurrent;for(;e&&e!==n;){const n=Oo(e)?ri(e):null,r=Ir(e)||Mr(e,t.container.st);if(null!=r){const o=qr(n,r);t.vSideBuffer||=new Map,t.vSideBuffer.set(o,e),t.vSiblings?.delete(o)}e=e.nextSibling}}(t,r),r}(t,n,e),t.vNewNode)return Ko(t.journal,o,t.vNewNode,t.vCurrent),t.vCurrent=t.vNewNode,t.vNewNode=null,!1;if(null!=r){const n=t.vSideBuffer?.get(r)||null;if(n){if(t.vSideBuffer.delete(r),i&&t.vCurrent){const n=Ir(t.vCurrent)||Mr(t.vCurrent,t.container.st);if(null!=n){const e=qr(Oo(t.vCurrent)?ri(t.vCurrent):null,n);null!=e&&(t.vSideBuffer||=new Map,t.vSideBuffer.set(e,t.vCurrent))}}return Ko(t.journal,o,n,t.vCurrent),t.vCurrent=n,t.vNewNode=null,!1}}return!0}function Pr(t,n,e){const r="F"===n,o=Ir(t.vCurrent);if(!t.vCurrent||!Eo(t.vCurrent)||o!==e||r&&!e)return null===e||t.isCreationMode?(Ko(t.journal,t.vParent,t.vNewNode=No(),t.vCurrent&&hr(t)),void(t.vNewNode.key=e)):void(Cr(t,null,e,qr(null,e),t.vParent,!0)&&(Ko(t.journal,t.vParent,t.vNewNode=No(),t.vCurrent&&hr(t)),t.vNewNode.key=e));jr(t,null,o)}function Ar(t,n){const e=n[vc];let r=t.vNewNode||t.vCurrent;const o=t.jsxValue;if(e){const n=o.props;let i=!1;const[s]=e,l=s.M,c=Mr(r,t.container.st),u=o.key||l;if(u===(Ir(r)||c)?l===c&&o.key?jr(t,null,u):(Nr(t,r,s,n),r=t.vNewNode,i=!0):(Cr(t,null,u,u,t.vParent)&&(Nr(t,r,s,n),i=!0),r=t.vNewNode||t.vCurrent),r){const e=To(r,L,t.container.st);i||(i||=function(t,n,e,r){let o=!1;if(e){const t=Fr(n[Ut],e[Ut],e[Qt],r,!1);o||=t;const i=Fr(n[Vt],e[Vt],e[Qt],r,!0);o||=i,e[zt]=n[zt]}else n&&(Do(t,L,n),e=n);return o}(r,n,e,t.container)),i&&(Do(r,$,s),r.flags&=-33,Ro(t.container,r,4,t.cursor))}!function(t,n,e){const r=Array.isArray(n)?n:[n],o=t=>new Jn(Er,null,null,[],t),i=[];if(e){const t=e.props;if(t)for(const n of Object.keys(t))if(je(n)){const t=n;i.push(t),i.push(o(t))}}if(0!==i.length||null!=n){for(let t=0;t<r.length;t++){const n=r[t],e=String(Yn(n)&&cn(n,m)||""),s=Te(i,e,0);let l;s>=0?l=i[s+1]:i.splice(~s,0,e,l=o(e)),!1===n||l.children.push(n)}for(let t=i.length-2;t>=0;t-=2)i.splice(t,1);ur(t,i,!0)}}(t,o.children,r)}else{const e=o.key,i=e===Ir(r),s=Mr(r,t.container.st);if(r&&null!=s||null==e?(_r(t),r=t.vNewNode):i?jr(t,null,e):(Cr(t,null,e,e,t.vParent)&&_r(t),r=t.vNewNode||t.vCurrent),r){let e=r;for(;e&&(!Eo(e)||null===To(e,$,null));)e=e.parent;const i=de(t.container,r,e||t.container.rootVNode,n,o.props);t.asyncQueue.push(i,r)}}}function Nr(t,n,e,r){n&&Dn(t.container,n),Ko(t.journal,t.vParent,t.vNewNode=No(),t.vCurrent&&hr(t));const o=t.jsxValue;Do(t.vNewNode,$,e),Do(t.vNewNode,L,r),t.vNewNode.key=o.key}function _r(t){Ko(t.journal,t.vParent,t.vNewNode=No(),t.vCurrent&&hr(t));const n=t.jsxValue;Do(t.vNewNode,L,n.props),n.key&&(t.vNewNode.key=n.key)}function Or(t,n){if(null!==t.vCurrent&&3===Ui(t.vCurrent))return n!==oi(t.vCurrent)?void ii(t.journal,t.vCurrent,n):void 0;Ko(t.journal,t.vParent,t.vNewNode=Ao((import.meta.env.TEST?t.container.document:document).createTextNode(n),n),t.vCurrent)}function Ir(t){return null==t||Mo(t)?null:t.key}function Mr(t,n){if(null==t||Mo(t))return null;const e=To(t,$,n);return e?e.M:null}function Er(){}function Fr(t,n,e,r,o=!0){if(Tr(t)&&Tr(n))return!1;e.k=r;let i=!1;if(t)for(const r in t)if("children"!==r&&r!==x&&(!n||t[r]!==n[r])){if(!o)return!0;n&&(n[r]=t[r]),ln(e,r)||(i=!0)}if(n)for(const r in n)"children"===r||r===x||t&&rr.call(t,r)||!o||(delete n[r],ln(e,r)||(i=!0));return i}function Tr(t){return!t||0===Object.keys(t).length}function Dr(t,n,e,r=null){let o=e;if(Mo(e))return void Wr(o);let i=null;for(;;){const s=o.flags;if(3&s){if(Dn(t,o),Wr(o),2&s&&null!==To(o,$,null)){const e=t.getHostProp(o,W);if(e)for(let n=0;n<e.length;n++){const i=e[n];if(l(i)){const n=ml(i);if(n&&1&i.j){i.j|=32,Ro(t,o,64,r);continue}(i instanceof Lt||Ml(i))&&Dn(t,i),(n||i instanceof Sn)&&hn(i)}}const i=o.props;if(i)for(const e of Object.keys(i))if(je(e)){const o=i[e];if(o){i[e]=null;const s="string"==typeof o?Ho(t.rootVNode,o):o;let l=si(s);for(;l;)Dr(t,n,l,r),l=l.nextSibling;Lr(n,s)}}}if(Fo(o)){if(o===e){const t=si(o);if(t)return void Vo(t,()=>{})}}else{const t=si(o);if(t){o=t;continue}}}else 4&s&&Wr(o);if(o===e)return;const c=o.nextSibling;if(c)o=c;else{for(i=o.parent;i;){if(i===e)return;const t=i.nextSibling;if(t){o=t;break}i=i.parent}if(null==i)return}}}function Lr(t,n){const e=n.parent;e&&1&e.flags&&ri(e)===I&&ni(t,e,n,!0)}function Wr(t){t.flags|=32}function Ur(t,n){return t===n||n.Y===t.Y&&function(t,n){if(t===n)return!0;if(!t||!n||t.length!==n.length)return!1;for(let e=0;e<t.length;e++)if(t[e]!==n[e])return!1;return!0}(n.G,t.G)}function Vr(t,n){if(!(n instanceof Tn))return!1;for(const e of t)if(e instanceof Tn&&Ur(e,n))return!0;return!1}const zr=":",Qr=()=>{const t=Xi(),n=t.K;let e=t.k.getHostProp(n,W);null===e&&(e=[],t.k.setHostProp(n,W,e));let r=t.k.getHostProp(n,U);for(null===r&&(r=0),t.k.setHostProp(n,U,r+1);e.length<=r;)e.push(void 0);return{val:e[r],set:t=>e[r]=t,i:r,iCtx:t}},Br=(t,n)=>{const{val:e,set:r,i:o,iCtx:i}=Qr();if(null!=e)return e.ut;const s=i.k,l=Jr(s,n),c=i.K,u=new yl(12,o,c,t,l,null);return r(u),Yr(u,s,c),l},Hr=t=>ne(ae,null,null,function(t){const n=t.value;if(Gr(n)){const e=n._state;if("pending"===e&&t.onPending)return n.value.catch(()=>{}),Promise.resolve().then(Ki(t.onPending));if("rejected"===e&&t.onRejected)return Promise.resolve(n._error).then(Ki(t.onRejected));{const e=os(()=>n._resolved);if(void 0!==e)return Promise.resolve(e).then(Ki(t.onResolved))}return os(()=>n.value).then(Ki(t.onResolved),Ki(t.onRejected))}if(st(n))return n.then(Ki(t.onResolved),Ki(t.onRejected));if(vl(n)){const e=ft(()=>n.value);return(st(e)?e:Promise.resolve(e)).then(Ki(t.onResolved))}return Promise.resolve(n).then(Ki(t.onResolved))}(t),0,null),Jr=(t,n,e)=>{const r=(t=>({__brand:"resource",value:void 0,loading:!0,_resolved:void 0,_error:void 0,_state:"pending",_timeout:t?.timeout??-1,_cache:0,_generation:0}))(n);return r.value=e,El(t,r,1)},Gr=t=>l(t)&&"resource"===(Nl(t)||t).__brand,Yr=(t,n,e)=>{t.j&=-9,hn(t);const r=rs(n.ot,e,"qResource");r.k=n;const o=t.nt.getFn(r,()=>Dn(n,t)),i=t.ut,s=bn(t,n),[l,c]=vn(t,t=>n.handleError(t,e)),u=Il(i),f={track:s,cleanup:l,cache(t){let n=0;n="immutable"===t?1/0:t,i._cache=n},previous:u._resolved};let a,h,d=!1;const p=++u._generation,$=(t,n)=>!d&&u._generation===p&&(d=!0,t?(u.loading=!1,u._state="resolved",u._resolved=n,u._error=void 0,a(n)):(u.loading=!1,u._state="rejected",u._error=n,h(n)),_l(i,"_state"),!0);c.push(()=>{if(!0===os(()=>i.loading)){const t=os(()=>i._resolved);$(!0,t)}}),Zi(r,()=>{i._state="pending",i.loading=!0,i.value=new Promise((t,n)=>{a=t,h=n})});const y=lt(()=>o(f),t=>{$(!0,t)},r=>{if(st(r))return r.then(()=>Yr(t,n,e));$(!1,r)}),m=u._timeout;return m>0?Promise.race([y,ut(m).then(()=>{$(!1,new Error("timeout"))&&hn(t)})]):y};function Xr(t,n,e){t.dirty&=-2;const r=n.getHostProp(t,W);if(!r||0===r.length)return;let o;for(const i of r)if(i instanceof yl){const r=i;if(!(8&r.j))continue;if(4&r.j)Yr(r,n,t);else if(1&r.j)(e.afterFlushTasks||=[]).push(r);else{const i=!!(16&r.j),s=$l(r,n,t);st(s)&&(i?o=o?o.then(()=>s):s:(e.extraPromises||=[]).push(s))}}return o}function Kr(t,n,e,r){t.dirty&=-3;const o=t;let i=function(t){const n=t.props;return n?.[Et]}(t);if(i)return vl(i)&&(i=i.value),ir(n,e,i,o,r,null)}function Zr(t,n,e,r){t.dirty&=-5;const o=t,i=n.getHostProp(o,$);if(!i)return;const s=n.getHostProp(o,L)||null,l=lt(()=>de(n,o,o,i,s),t=>{const i=n.getHostProp(o,S);return ft(()=>ir(n,e,t,o,r,Ne(i)))},t=>{n.handleError(t,o)});return st(l)?l:void 0}function to(t,n,e,r,o,i=null){n.push(Ye(t.node,e,r,i,!!(128&t.flags))),o||(t.props&&null==r?delete t.props[e]:(t.props||={})[e]=r)}function no(t,n){if(t.dirty&=-9,!(1&t.flags))return;const e=function(t){return(t.props||={})[Mt]??null}(t);if(!e||0===e.size)return;const r=t;for(const[t,o]of e.entries()){let e=o.value;vl(e)&&(e=e.value),to(r,n,t,e,o.isConst,o.scopedStyleIdPrefix)}!function(t){delete(t.props||={})[Mt]}(t)}function eo(t,n){t.dirty&=-65;const e=n.getHostProp(t,W);if(e&&0!==e.length)for(const t of e)t instanceof yl&&32&t.j&&(t.j&=-33,hn(t))}function ro(t,n){t.dirty&=-17;const e=n.getHostProp(t,Ft);if(!e)return;const r=e.m,o=rs();return o.k=n,ct(ft(()=>Zi.call(e,o,e.O)),()=>{if(2&e.j)return e.j&=-3,xl(n,e,r)})}let oo=null;const io=(t,n,e)=>{oo||(oo=t.insertBefore),oo.call(t,n,e)},so=(t,n)=>("allowfullscreen"==n||"async"==n||"autofocus"==n||"autoplay"==n||"checked"==n||"controls"==n||"default"==n||"defer"==n||"disabled"==n||"formnovalidate"==n||"inert"==n||"ismap"==n||"itemscope"==n||"loop"==n||"multiple"==n||"muted"==n||"nomodule"==n||"novalidate"==n||"open"==n||"playsinline"==n||"readonly"==n||"required"==n||"reversed"==n||"selected"==n)&&n in t,lo=t=>"false"!==t&&Boolean(t),co=(uo=$o,()=>queueMicrotask(uo));var uo;const fo=(t=>{let n;if("undefined"!=typeof MessageChannel){const e=new MessageChannel;e.port1.onmessage=()=>t(),n=()=>e.port2.postMessage(null)}else n=()=>setTimeout(t);return n})($o);let ao=!1;function ho(){ao||(ao=!0,co())}function po(){ao||(ao=!0,fo())}function $o(t={timeBudget:1e3/60}){ao=!1;let n=null;for(;n=At();)yo(n,t)}function yo(t,e){const{timeBudget:r}=e,o=!import.meta.env.TEST&&n,i=performance.now(),s=Dt(t);if(s.promise)return;const l=s.container;if(!t.dirty)return void mo(l,t,s,o);const c=s.journal||=[];let u=null;for(;u=s.position;){if(!o&&!import.meta.env.TEST&&performance.now()-i>=r)return void po();if(s.promise)return;if(!(127&u.dirty)){Tt(l,s,vo(u,t));continue}if(32&u.flags){64&u.dirty&&eo(u,l),u.dirty&=-128,Tt(l,s,vo(u,t));continue}let n;try{if(1&u.dirty)n=Xr(u,l,s);else if(2&u.dirty)n=Kr(u,l,c,t);else if(4&u.dirty)n=Zr(u,l,c,t);else if(8&u.dirty)no(u,c);else if(16&u.dirty)n=ro(u,l);else if(32&u.dirty){const n=u.dirtyChildren;if(n&&0!==n.length){bo(n,u),u.nextDirtyChildIndex=0,u=vo(n[0],t),Tt(l,s,u);continue}u.dirty&=-33}}catch(t){l.handleError(t,u)}if(n&&st(n)){s.promise=n,Nt(t,l);const e=u;return void n.catch(t=>{l.handleError(t,e)}).finally(()=>{s.promise=null,_t(t,l),ho()})}}mo(l,t,s,o)}function mo(t,n,e,r){if(!(127&n.dirty)){if(Ot(n,t),r||function(t,n){const e=Dt(t),r=e.journal;r&&r.length>0&&(function(t){let n=null,e=null,r=null;const o=new Set,i=()=>{if(r){if(1===r.length)io(n,r[0],e);else{const t=(n.ownerDocument||n).createDocumentFragment();for(const n of r)t.appendChild(n);io(n,t,e)}r=null,n=null,e=null,o.clear()}};for(const s of t)if(s instanceof Qe){if(n===s.parent&&e===s.beforeTarget){r||(r=[]),r.push(s.target),o.add(s.target);continue}if(!r){n=s.parent,e=s.beforeTarget,r=[s.target],o.add(s.target);continue}if(n===s.parent){i(),n=s.parent,e=s.beforeTarget,r=[s.target],o.add(s.target);continue}if(o.has(s.target)||e&&s.target===e||n&&s.target===n){i(),n=s.parent,e=s.beforeTarget,r=[s.target],o.add(s.target);continue}io(s.parent,s.target,s.beforeTarget)}else if(s instanceof Ue)(o.has(s.target)||e&&s.target===e||n&&s.target===n)&&i(),s.target.remove();else{if(s instanceof Ve){(o.has(s.target)||e&&s.target===e||n&&s.target===n)&&i(),s.target.textContent="";continue}if(s instanceof ze)s.target.nodeValue=s.text;else if(s instanceof Be){const t=s.target,e=s.attrName,r=s.attrValue,o=null!=r?Ee(e,r,s.scopedStyleIdPrefix):null,l=null==o||!1===o;so(t,e)?t[e]=lo(o):e===Y?(n===t&&i(),t.innerHTML=o,t.setAttribute(_,"html")):l?t.removeAttribute(e):"value"===e&&e in t?t.value=o:nr(t,e,o,s.isSvg)}}i()}(r),e.journal=null),function(t,n){const e=n.afterFlushTasks;if(!e||0===e.length)return void(n.afterFlushTasks=null);let r;for(const n of e){const e=$l(n,t,n.ft);st(e)&&(r=r?r.then(()=>e):e)}r&&(n.extraPromises||=[]).push(r),n.afterFlushTasks=null}(n,e)}(n,t),e.extraPromises)return void Promise.all(e.extraPromises).then(()=>{wo(t)});wo(t)}}function wo(t){0===t.l&&0===t.p&&(t.h(),t.u=null)}function bo(t,n){let e=0;for(let r=0;r<t.length;r++){const o=t[r];if(o.parent===n){if(e!==r){const n=t[e];t[e]=o,t[r]=n}e++}}}function vo(t,n){if(t===n)return 127&n.dirty?n:null;let e=null;if(t.parent&&32&t.parent.dirty?e=t.parent:t.slotParent&&32&t.slotParent.dirty&&(e=t.slotParent),!e)return 127&n.dirty?n:null;const r=e.dirtyChildren;let o=e.nextDirtyChildIndex;const i=r.length;let s=i;for(;s-- >0;){const t=r[o];if(127&t.dirty)return e.nextDirtyChildIndex=(o+1)%i,t;o++,o===i&&(o=0)}return e.dirty&=-33,e.dirtyChildren=null,e.nextDirtyChildIndex=0,vo(e,n)}function go(t){return!!(64&t.flags)}function So(t,n){if(!(1&n.flags))return 8&n.dirty&&function(t,n){n.dirty&=-9;const e=n.getProp(Mt);if(e&&0!==e.size)for(const[r,o]of e.entries()){let e=o.value;vl(e)&&(e=e.value);const i=Ee(r,e,o.scopedStyleIdPrefix);t.addBackpatchEntry(n.id,r,i)}}(t,n),16&n.dirty&&ro(n,t),127&n.dirty&&n.toString(),void(n.dirty&=-128);let e=null;if(1&n.dirty){const r=function(t,n){n.dirty&=-2;const e=n.getProp(W);if(!e||0===e.length)return null;let r=null;for(const o of e)if(o instanceof yl){const e=o;if(!(8&e.j))continue;let i;i=4&e.j?Yr(e,t,n):$l(e,t,n),r=r?r.then(()=>i):i}return r}(t,n);st(r)&&(e=r)}return n.dirty&=-124,e||void 0}const ko=[];function xo(t){for(let n=0;n<ko.length;n++){const e=ko[n],r=ko[n+1]||t;r.dirty|=32,r.dirtyChildren||=[],r.dirtyChildren.push(e)}}function Ro(t,n,e,r=null){const o=n.dirty;n.dirty|=e,import.meta;const s=127&e;if((s?127&o:o)||n===r)return;const l=n.parent||n.slotParent;if(r&&s&&l&&!l.dirty)!function(t,n){ko.push(t);let e=t.parent||t.slotParent;for(;e;){const r=127&e.dirty,o=go(e);if(e===n||r){if(xo(e),o){const n=Dt(e);n.position!==e&&(n.position=t)}return void(ko.length=0)}if(o){const n=Dt(e);n.position!==e&&(n.position=t)}ko.push(e),e=e.parent||e.slotParent}ko.length=0,(()=>{throw i(!1,"Cursor root not found in current path!")})()}(n,r);else if(l&&127&l.dirty){if(s&&(l.dirty|=32),l.dirtyChildren||=[],l.dirtyChildren.push(n),s&&n.dirtyChildren){const t=function(t){for(;t;){if(go(t))return t;t=t.parent||t.slotParent}return null}(n);if(t){const e=Dt(t);let r=e.position;if(r)for(;r!==t;)if(r=r.parent||r.slotParent,r===n){e.position=n;break}}}}else go(n)||function(t){ko.push(t);let n=t.parent||t.slotParent;for(;n;){if(go(n))return xo(n),ko.length=0,!0;ko.push(n),n=n.parent||n.slotParent}return ko.length=0,!1}(n)||function(t,n){It.set(n,{afterFlushTasks:null,extraPromises:null,journal:null,container:t,position:n,priority:0,promise:null});const e=n;e.flags|=64,Pt(t,e),ho()}(t,n)}function qo(t,n){t.push(n)}const jo=(t,n)=>{let e;for(;t&&!(e=Object.getOwnPropertyDescriptor(t,n)?.get);)t=Object.getPrototypeOf(t);return e||function(){return this[n]}},Co=(t,n,e=null)=>{const r=new Rt(e,-503,null,null,null,null,null,null,t,n);return t.vNode=r,r},Po=t=>{const n=new Rt(null,-511,null,null,null,null,void 0,void 0,t,void 0);return t.vNode=n,n},Ao=(t,n)=>new qt(-500,null,null,null,null,t,n),No=()=>new xt(null,-510,null,null,null,null,null,null),_o=t=>t instanceof kt,Oo=t=>!(1&~t.flags),Io=t=>!(1&~t.flags)&&void 0!==t.firstChild&&void 0!==t.lastChild,Mo=t=>!(4&~t.flags),Eo=t=>!(2&~t.flags),Fo=t=>!(2&~t.flags)&&null!==To(t,m,null),To=(t,n,e)=>{if(Oo(t)||Eo(t)){const r=t.props?.[n]??null;if("string"==typeof r&&e){const o=e(r);return t.props[n]=o,o}return r}return null},Do=(t,n,e)=>{null==e&&t.props?delete t.props[n]:(t.props||={},t.props[n]=e)},Lo=(t,n,e,r,o=null)=>{Oo(n)&&(import.meta.env.TEST&&o&&Do(n,X,o),Do(n,e,r),qo(t,Ye(n.node,e,r,o,!!(128&n.flags))))},Wo=t=>{if(t.key)return;const n=ai(t.node,G);n&&(t.key=n)},Uo=t=>{if(1==(15&t.flags)){const n=t;n.flags^=8;const e=n.node,r=e.attributes;for(let t=0;t<r.length;t++){const o=r[t],i=o.name;if(i===G||!i){const t=o.value;t&&(n.key=t);break}if(i.startsWith(_)){const t=o.value;"html"===t?Do(n,"dangerouslySetInnerHTML",e.innerHTML):"text"===t&&"value"in e&&Do(n,"value",e.value)}else i.startsWith("on:")||Do(n,i,o.value)}}};function Vo(t,n){let e=t;if(Mo(t))return;let r=null;for(;;){if(n?.(e,r))return;const o=si(e);if(o){e=o;continue}if(e===t)return;const i=e.nextSibling;if(i)e=i;else{for(r=e.parent;r;){if(r===t)return;const n=r.nextSibling;if(n){e=n;break}r=r.parent}if(null==r)return}}}function zo(t,n,e=!1,r=[]){if((t=>!!(5&t.flags))(n))return Mo(n)&&Bo(t,n),r.push(e?n:Ei(n)),r;let o=si(n);for(;o;)Oo(o)?r.push(e?o:Ei(o)):Mo(o)?(Bo(t,o),r.push(e?o:Ei(o))):zo(t,o,!!e,r),o=o.nextSibling;return r}const Qo=(t,n,e)=>{let r=t;for(;e&&r&&Eo(r);){const t=n?r.firstChild:r.lastChild;if(!t)break;if(5&t.flags)return t;r=t}for(;r;){let t=n?r.nextSibling:r.previousSibling;if(t&&5&t.flags)return t;if(!t){let e=r.parent;if(e&&!Eo(e))return null;for(;e&&!(t=n?e.nextSibling:e.previousSibling);)if(e=e.parent,e&&!Eo(e))return null;if(!t)return null;if(Mo(t)&&e&&Oo(e))return null}for(;t;){if(r=t,5&r.flags&&Ei(r))return r;t=n?r.firstChild:r.lastChild}}return null},Bo=(t,n)=>{const e=n;if(!(8&e.flags)){const r=Zo(n,!0),o=e.node,i=ji(r);let s=Qo(n,!1,!0);const l=Qo(n,!0,!0),c=o||(l&&Oo(l)?l.node:l?.node)||null;let u=c;for(;s&&Mo(s);){if(!(8&s.flags)){const n=i.createTextNode(s.text);qo(t,Ge(n,r,u)),u=n,s.node=n,s.flags|=8}s=Qo(s,!1,!0)}for(s=n;s&&Mo(s);){const n=Qo(s,!0,!0),e=!n||!Mo(n);if(!(8&s.flags)){if(e&&o)qo(t,Je(o,s.text));else{const n=i.createTextNode(s.text);qo(t,Ge(n,r,c)),s.node=n}s.flags|=8}s=n}}},Ho=(t,n)=>{let e=t;const r=t.node,{qVNodeRefs:o}=r;let i,s=-1;if("string"==typeof n)s=parseInt(n),i=o.get(s);else{i=n;const t=i.vNode;if(t)return t}if(_o(i))e=i;else{let t=i;const n=[i];for(;t&&t!==r&&!t.vNode;)t=t.parentElement,n.push(t);t.vNode&&(e=t.vNode);for(let t=n.length-2;t>=0;t--)e=Yo(e,n[t]);-1!=s&&(i.vNode=e,o.set(s,e))}if("string"==typeof n){const t=n.length;let r=Xo(n,t),o=0;for(;r<t;){const t=n.charCodeAt(r);o*=26,t>=97?o+=t-97:(o+=t-65,e=Jo(e,o),o=0),r++}}return e},Jo=(t,n)=>{let e=si(t);for(;e.flags>>>9!==n;)e=e.nextSibling;return e},Go=[],Yo=(t,n)=>{let e=si(t);for(;e&&(!(e instanceof Rt)||e.node!==n);)if(Eo(e)){const t=e.nextSibling,n=si(e);n?(t&&Go.push(t),e=n):e=t||(Go.length?Go.pop():null)}else{const t=e.nextSibling;e=t||t||Go.pop()}for(;Go.length;)Go.pop();return e},Xo=(t,n)=>{let e=0;for(;e<n;){if(!(t.charCodeAt(e)<=57))return e;e++}return n},Ko=(t,n,e,r)=>{Oo(n)&&li(n);const o=e.parent;if(e===r){if(o)return;r=null}const i=ti(n,!1),s=i&&i.node;let l=null;i&&(l=function(t,n,e){const{elementNamespace:r,elementNamespaceFlag:o}=vt(n,e);let i=[];if(r===M)i=zo(t,e,!0);else{const s=zo(t,e,!0);for(let t=0;t<s.length;t++){const e=s[t];if(Mo(e)){i.push(e);continue}if((384&e.flags)==(384&n.flags)){i.push(e);continue}const l=wt(e,n,r,o);l&&(e.node=l,i.push(e))}}return i}(t,i,e)),o&&(e.previousSibling||e.nextSibling||o!==n)&&ni(t,o,e,!1);const c=32&n.flags;let u=null;if(!c&&(null==r?Eo(n)&&(u=Qo(n,!0,!1)):u=Eo(r)?Qo(r,!0,!0):r,u&&((t,n)=>{Mo(n)&&Bo(t,n)})(t,u),l&&l.length))for(const n of l)qo(t,Ge(n.node,s,Ei(u)));const f=r,a=f?f.previousSibling:n.lastChild;f?f.previousSibling=e:n.lastChild=e,a?a.nextSibling=e:n.firstChild=e,e.previousSibling=a,e.nextSibling=f,e.parent=n,c&&(e.flags|=32)},Zo=(t,n)=>(t=ti(t,n))&&t.node,ti=(t,n)=>{for(;t&&!Oo(t);)t=t.parent||(n?t.slotParent:null);return t},ni=(t,n,e,r)=>{if(Mo(e)&&Bo(t,e),r){const r=Zo(n,!1);if(null!==To(n,Y,null))return;const o=zo(t,e,!0);if(r&&o.length)for(const n of o)qo(t,He(n.node))}const o=e.previousSibling,i=e.nextSibling;o?o.nextSibling=i:n.firstChild=i,i?i.previousSibling=o:n.lastChild=o,e.previousSibling=null,e.nextSibling=null},ei=(t,n,e,r=!0)=>{if(Zo(n,!0)&&r)if(Oo(n))qo(t,new Ve(n.node));else{const e=zo(t,n,!0);if(e.length)for(const n of e)qo(t,He(n.node))}const o=e.previousSibling;o?o.nextSibling=null:n.firstChild=null,n.lastChild=o},ri=t=>{const n=t;let e=n.elementName;if(void 0===e){const t=n.node,r=Ri(t).toLowerCase();e=n.elementName=r,n.flags|=(t=>{switch(ki(t)){case E:return 128;case F:return 256;default:return 0}})(t)}return e},oi=t=>{let n=t.text;return void 0===n&&(n=t.text=t.node.nodeValue),n},ii=(t,n,e)=>{Bo(t,n),n.text=e,qo(t,Je(n.node,e))},si=t=>{if(Mo(t))return null;let n=t.firstChild;return void 0===n&&(n=li(t)),n},li=t=>{const n=t;let e=n.firstChild;return void 0===e&&(e=n.parent&&ui(n.node)?n.firstChild=n.lastChild=null:(t=>{const n=t.node,e=gi(n),r=ji(n)?.qVNodeData?.get(n);return((t,n,e,r)=>{if(Wo(t),r){if(r.charCodeAt(0)===dt&&r.charCodeAt(1)===dt){const n=(t=>{const n=t.indexOf("||",2);return{elementVNodeData:t.substring(2,n),virtualVNodeData:t.substring(n+2)}})(r);r=n.virtualVNodeData;const o=Ai(t,e,n.elementVNodeData);if(!r)return o}return function(t,n,e,r){let o=0,i=null,s=null,l=null;const c=n=>{n.flags=511&n.flags|o<<9,o++,s&&(s.nextSibling=n),n.previousSibling=s,n.parent=t,i||(t.firstChild=i=n),s=n};let u=0,f=null,h=null;const d=t=>{const n=Vi(t);return!n||n&&Li(t)};let p=null;if(_i(n,(y,w,b,v,g)=>{if(Ti(y())){for(;d(r);)if(!(r=yi(r)))throw a(27,[n,y(),g]);f=null,l=null;let t=0;for(;Ti(y());)t*=10,t+=b()-48;for(;t--;){const t=Po(r);Wo(t),c(t),r=yi(r)}}else if(59===y())Do(t,S,w());else if(60===y())(p||=[]).push(t),Do(t,$,w());else if(61===y()){h||(h=ul(e));const n=w();h.ht(parseInt(n),t)}else if(62===y())Do(t,L,w());else if(64===y()){let n;v(g+1)===dt?(b(),n=decodeURI(qe(w())),b()):n=w(),t.key=n}else if(91===y())Do(t,W,w());else if(94===y())Do(t,U,w());else if(96===y())h||(h=ul(e)),Ni(t,w(),h);else if(63===y())h||(h=ul(e)),t.slotParent=Ho(h.rootVNode,w());else if(93===y())Do(t,k,w());else if(123===y())b(),c(No()),Wi.push(t,i,s,l,o),o=0,t=s,i=s=null;else if(y()===dt){const n=qe(w()),e=qe(w());Do(t,n,e)}else if(125===y())b(),t.lastChild=s,o=Wi.pop(),l=Wi.pop(),s=Wi.pop(),i=Wi.pop(),t=Wi.pop();else if(126===y()){const n=qe(w());Do(t,m,n)}else{for(;Vi(r)&&Li(r);)r=yi(r);const t=r&&3===di(r)?r:null;null===f&&(f=t?t.nodeValue:null,u=0);let n=0;for(;Di(y());)n+=b()-97,n*=26;n+=b()-65;const e=null===f?"":f.substring(u,u+n);c(l=((t,n,e)=>new qt(-508,null,t,null,null,n,e))(l,t,e)),u+=n}}),p){h||(h=ul(e));for(const t of p)h.ensureProjectionResolved(t);p=null}return t.lastChild=s,i}(t,r,n,e)}return Ai(t,e)})(t,n,e,r)})(n)),e};let ci=null;const ui=t=>(ci||(ci=t.hasAttribute),ci.call(t,_));let fi=null;const ai=(t,n)=>(fi||(fi=t.getAttribute),fi.call(t,n));let hi=null;const di=t=>(hi||(hi=jo(t,"nodeType")),hi.call(t)),pi=t=>{const n=di(t);return 3===n||1===n};let $i=null;const yi=t=>{for($i||($i=jo(t,"nextSibling")),vi||(vi=jo(t,"firstChild"));t;)if(null!==(t=$i.call(t))){const n=di(t);if(3===n||1===n)break;if(8===n){const n=t.nodeValue;if(n?.startsWith(A))return mi(t,C,$i,vi);if(t.nodeValue?.startsWith(P))return mi(t,N,$i,vi);if(n?.startsWith(_))for(;t&&(t=$i.call(t))&&(8!==di(t)||!t.nodeValue?.startsWith(O)););}}return t};function mi(t,n,e,r){for(;t;){if(t.nodeValue?.startsWith(n))return e.call(t)||null;let o=r.call(t);o||(o=e.call(t)),o||(o=bi(t),o&&(o=e.call(o))),t=o}return null}let wi=null;const bi=t=>(wi||(wi=jo(t,"parentNode")),wi.call(t));let vi=null;const gi=t=>{for(vi||(vi=jo(t,"firstChild")),t=t&&vi.call(t);t&&!pi(t);)t=yi(t);return t};let Si=null;const ki=t=>(Si||(Si=jo(t,"namespaceURI")),Si.call(t));let xi=null;const Ri=t=>(xi||(xi=jo(t,"nodeName")),xi.call(t));let qi=null;const ji=t=>(qi||(qi=jo(t,"ownerDocument")),qi.call(t)),Ci=t=>"STYLE"===t.nodeName&&(t.hasAttribute(S)||t.hasAttribute(b)),Pi=t=>t.hasAttribute(G),Ai=(t,n,e)=>{let r=null;const o=()=>{for(;Vi(i)&&Li(i);)i=yi(i)};let i=n;o();let s=null;for(;i;){const n=di(i);let e=null;3===n?e=Ao(i,i.textContent??void 0):1===n&&(e=Po(i),Wo(e)),e&&(e.parent=t,s&&(s.nextSibling=e),e.previousSibling=s,s=e),r||(t.firstChild=r=s),i=yi(i),o()}if(t.lastChild=s||null,t.firstChild=r,e){let n=null;_i(e,(e,r)=>{if(61===e()){n||(n=ul(t.node));const e=r();n.ht(parseInt(e),t)}else 96===e()?(n||(n=ul(t.node)),Ni(t,r(),n)):r()})}return r};function Ni(t,n,e){t[gt]?((t,n)=>{for(const[e,r]of n)t.set(e,r)})(t[gt],e.st(n)):Object.defineProperty(t,gt,{get(){const r=e.st(n);return t[gt]=r,r},set(n){Object.defineProperty(t,gt,{value:n,writable:!0,enumerable:!0,configurable:!0})},enumerable:!0,configurable:!0})}const _i=(t,n)=>{let e=0,r=0,o=0;const i=n=>n<t.length?t.charCodeAt(n):0,s=()=>0!==o?o:o=i(e),l=()=>(r=s(),o=0,e++,r),c=()=>{l();const n=e;for(;s()<=58&&0!==o||92===o||95===o||o>=65&&o<=90||o>=97&&o<=122;)l();return t.substring(n,e)};for(;0!==s();)n(s,c,l,i,e)},Oi=t=>{if(3&t.flags){Uo(t);const n=[],e=t.props;if(e)for(const t of Object.keys(e))t.startsWith(G)||n.push(t);return n}return[]},Ii=(t,n)=>{let e=Mi(t);for(;e;){if(e===n)return!0;e=Mi(e)}return!1},Mi=t=>t.parent||t.slotParent,Ei=t=>null===t||Eo(t)?null:t.node;function Fi(t=20,n="",e=!1,r=!1,o=!0){let i=this;if(0===t)return"...";if(null===i)return"null";if(void 0===i)return"undefined";const s=[];do{if(Mo(i))s.push(Cl(oi(i)));else if(Eo(i)){const e=["["+String(i.flags>>>9)+"]"];i.dirty&&e.push(` dirty:${i.dirty}`),Oi(i).forEach(t=>{if(t!==at&&t!==X){const n=To(i,t,null);e.push(" "+t+"="+Cl(n))}});const r=(o?"[34m":"")+(ht[To(i,at,null)||"V"]||ht.V)+(o?"[0m":"");s.push("<"+r+e.join("")+">");const l=si(i);l&&s.push(" "+Fi.call(l,t-1,n+" ",!0,!0,o)),s.push("</"+r+">")}else if(Oo(i)){const r=ri(i),l=[];go(i)&&l.push(" cursor"),i.dirty&&l.push(` dirty:${i.dirty}`),i.dirtyChildren&&l.push(` dirtyChildren[${i.dirtyChildren.length}]`);const c=Oi(i);for(const t of c){const n=To(i,t,null);l.push(" "+t+"="+Cl(n))}const u=Ei(i);if(u){const t=ji(u).qVNodeData?.get(u);t&&l.push(" q:vnodeData="+Cl(t))}const f=u.attributes;for(let t=0;t<f.length;t++){const n=f[t];-1===c.indexOf(n.name)&&l.push(" "+n.name+(n.value?"="+Cl(n.value):""))}if(s.push("<"+r+l.join("")+">"),Io(i)||e){const e=si(i);e&&s.push(" "+Fi.call(e,t-1,n+" ",!0,!0,o))}else s.push(" \x3c!-- not materialized --!>");s.push("</"+r+">")}i=r&&i.nextSibling||null}while(i);return s.join("\n"+n)}const Ti=t=>48<=t&&t<=57,Di=t=>97<=t&&t<=122;function Li(t){return!Pi(t)||Ci(t)}const Wi=[],Ui=t=>{const n=t.flags;if(1&n)return 1;if(2&n)return 11;if(4&n)return 3;throw a(26,[n])},Vi=t=>t&&"object"==typeof t&&1===di(t),zi=t=>{let n=1;for(;n--;){for(;t&&(!Eo(t)||null===To(t,$,null));){const e=t.slotParent,r=Eo(t)&&e;r&&n++,t=r||t.parent}n>0&&(t=t.parent)}return t};let Qi,Bi;function Hi(t){if(void 0===Qi){const n=Gi();if(n&&n.ot)return n.ot;if(void 0!==t)return t;throw new Error("Reading `locale` outside of context.")}return Qi}function Ji(t,n){const e=Qi;try{return Qi=t,n()}finally{Qi=e}}const Gi=()=>{if(!Bi){const t="undefined"!=typeof document&&document&&document.__q_context__;if(!t)return;return c(t)?document.__q_context__=ns(t):t}return Bi},Yi=()=>{const t=Gi();if(!t)throw a(9);return t},Xi=()=>{const t=Gi();if(!t||t.dt!==T)throw a(10);return t};function Ki(t){if(null==t)return t;const n=Yi();return function(...e){return ts.call(this,n,t,e)}}function Zi(t,n,...e){return ts.call(this,t,n,e)}function ts(t,n,e){const r=Bi;let o;try{Bi=t,o=n.apply(this,e)}finally{Bi=r}return o}const ns=([t,n,e])=>{const r=ul(t),o=Ho(r.rootVNode,t),i=r.ot;return i&&function(t){Qi=t}(i),rs(i,o,n,e)};function es(t,n,e,r){return{et:r,K:n,dt:T,nt:void 0,q:void 0,ot:t,k:e,it:void 0}}function rs(t,n,e,r){return{et:r,K:n,dt:e,nt:void 0,q:void 0,ot:t||(e&&l(e)&&"locale"in e?e.locale:void 0),k:void 0}}const os=(t,...n)=>{if("function"==typeof t){if(!Bi)return t(...n);{const e=Bi.q;try{return Bi.q=void 0,t(...n)}finally{Bi.q=e}}}return vl(t)?t.untrackedValue:Il(t)},is=/*#__PURE__*/es(void 0,void 0,void 0),ss=(t,n,e,r,o)=>{const i=is.q,s=is.k;try{return is.q=wn(n,e,o),is.k=r,Zi(is,t)}finally{is.q=i,is.k=s}},ls=(t,n,e,r,o)=>(t instanceof Tn&&t.K!==n&&n&&(t.K=n),ss(()=>t.value,n,e,r,o)),cs=()=>{const t=Gi();if(t){const n=t.K;let e=null;return null!=n&&(_o(n)?Oo(n)&&(e=Ei(n)):e=n),e??t.nt?.$t(void 0)}},us=()=>{const t=Gi();if(t)return t.dt},fs=()=>{const t=Gi();if(t)return t.k},as=t=>t,hs=t=>{const n=ul(t),e=n?.u;return e||Promise.resolve()},ds=t=>/*#__PURE__*/Object.freeze({id:Xt(t)}),ps=(t,n)=>{const{val:e,set:r,iCtx:o}=Qr();void 0===e&&(o.k.setContext(o.K,t,n),r(1))},$s=(t,n)=>{const{val:e,set:r,iCtx:o}=Qr();if(void 0!==e)return e;const i=o.k.resolveContext(o.K,t);if("function"==typeof n)return r(Zi(void 0,n,i));if(void 0!==i)return r(i);if(void 0!==n)return r(n);throw a(8,[t.id])},ys=t=>{const n=Yi(),e=n.K;if(e)return n.k?.resolveContext(e,t)},ms=/*#__PURE__*/ds("qk-error"),ws=[void 0,null,!0,!1,"",nn,en,dn,mn,Ht,we,ae,NaN,1/0,-1/0,Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER-1,Number.MIN_SAFE_INTEGER],bs=["undefined","null","true","false","''","EMPTY_ARRAY","EMPTY_OBJ","NEEDS_COMPUTATION","STORE_ALL_PROPS","_UNINITIALIZED","Slot","Fragment","NaN","Infinity","-Infinity","MAX_SAFE_INTEGER","MAX_SAFE_INTEGER-1","MIN_SAFE_INTEGER"],vs=["Plain","RootRef","ForwardRef","Constant","Array","Object","URL","Date","Regex","VNode","RefVNode","BigInt","URLSearchParams","ForwardRefs","Error","Promise","Set","Map","Uint8Array","QRL","PreloadQRL","Task","Resource","Component","Signal","WrappedSignal","ComputedSignal","AsyncComputedSignal","SerializerSignal","Store","FormData","JSXNode","PropsProxy","SubscriptionData","EffectSubscription"];function gs(t,n,e){let r=n.o,o=n.yt;const i=et();if(i){const t=i.chunkForSymbol(r,o,n.dev?.file);t&&(o=t[1],r=t[0])}if(d(n))o="",r=String(t.wt(null,0,n.resolved));else{if(o||(o=t.bt(n.M)),!o)throw a(14,[n.o]);o.startsWith("./")&&(o=o.slice(2))}let s=null;if(Array.isArray(n.rt)&&n.rt.length>0&&(s=n.rt.map(n=>`${t.vt(n)}`)),e)return[o,r,s];let l=`${o}#${r}`;return s&&s.length>0&&(l+=`[${s.join(" ")}]`),l}function Ss(t,n,e){return cc(t,n,null,null,e,null)}const ks=new WeakMap,xs=new Map,Rs=(t,n,e)=>{switch(n){case 0:case 13:return e;case 1:return t.st(e);case 2:if(!t.gt)return Ht;const r=t.gt[e];return-1===r||void 0===r?Ht:t.st(r);case 3:return ws[e];case 4:return Array(e.length/2);case 5:return{};case 19:case 20:if("string"==typeof e){const n=e.split(" ").map(Number);return Ss(t.st(n[0]),t.st(n[1]),n.length>2?n.slice(2):null)}return Ss("",String(e));case 21:return new yl(-1,-1,null,null,null,null);case 22:{const n=Jr(t,void 0,void 0);return n.loading=!1,n}case 6:return new URL(e);case 7:return new Date(e);case 8:const o=e.lastIndexOf("/");return new RegExp(e.slice(1,o),e.slice(o+1));case 14:return new Error;case 23:return bc(null);case 24:return new Lt(t,0);case 25:return new Tn(t,null,null,null);case 26:return new gn(t,null);case 27:return new Sn(t,null);case 28:return new xn(t,null);case 29:{const n=e,r=n[0],o=n[1],i=Rs(t,r,o),s=Fl(i,0,t);return el(r)&&xs.set(i,{t:r,v:o}),n[0]=0,n[1]=i,s}case 12:return new URLSearchParams(e);case 30:return new FormData;case 31:return new Jn(null,null,null,null,null);case 11:return BigInt(e);case 16:return new Set;case 17:return new Map;case 15:let i,s;const l=new Promise((t,n)=>{i=t,s=n});return ks.set(l,[i,s]),l.catch(()=>{}),l;case 18:const c=e.length,u=3&c;return new Uint8Array(3*(c>>>2)+(u?u-1:0));case 32:return rn(null);case 9:return qs(t,e);case 10:const f=qs(t,e);if(_o(f))return li(f),Ei(f);throw a(17,[typeof f]);case 33:return new zn({});case 34:return new pn(null,null,null,null);default:throw a(18,[n])}};function qs(t,n){return n?t.rootVNode?Ho(t.rootVNode,n):void 0:t.element?.ownerDocument}const js=(t,n,e=nn)=>{let r=null,o=null;if(f(t))o=t;else{if(!u(t))throw a(7,[t]);r=t}return cc(r,n,null,o,null,e)},Cs=(t,n,e=nn)=>cc(null,n,t,null,null,e),Ps=(t,n=nn)=>cc(null,t,null,null,null,n),As=(t,n,e=nn)=>{const r=Ps(t,e);return r.dev=n,r},Ns=(t,n,e,r=nn)=>{const o=js(t,n,r);return o.dev=e,o},_s=(t,n,e,r=nn)=>{const o=Cs(t,n,r);return o.dev=e,o},Os=(t,n)=>(void 0===globalThis.__qwik_reg_symbols&&(globalThis.__qwik_reg_symbols=new Map),globalThis.__qwik_reg_symbols.set(n,t),t);function Is(t){return null===t||"string"==typeof t||"number"==typeof t||"boolean"==typeof t}const Ms=(t,n,e)=>new Tn(null,t,n,e||null);class Es{St;kt;xt;m;nt;constructor(t,n,e,r,o){this.St=t,this.kt=n,this.xt=e,this.m=r,this.nt=o}}const Fs=t=>Array.isArray(t)&&t.length>0;function Ts(t,n){return n.X&&"{"===n.X[0]&&(n.X=`(${n.X})`),[t.wt(n.X,n.G.length,n.Y),n.G]}function Ds(t){let n;if(t)for(const[e,r]of t)r.backRef&&(n||=new Map,n.set(e,r));return n}class Ls{Rt;constructor(t){this.Rt=t}}let Ws=()=>!1;class Us{qt;constructor(t){this.qt=t}}const Vs=(t,n,e,r,o,i,s)=>{if(!s){const t=[];s={write:n=>t.push(n),toString:()=>t.join("")}}const l=new Map,c=new Map,u=[],f=[],h=(t,n)=>{const e=(t=>{const n=[];for(;t.jt;)n.unshift(t.Ct),t=t.jt;return n.unshift(t.Ct),n.join(" ")})(t);void 0===n&&(n=f.length),f[n]=new Us(e),t.jt=null,t.Ct=n},$=t?n=>n instanceof t:()=>!1;return Ws=n?t=>t instanceof n:()=>!1,{async Pt(){return await async function(t){const{At:n,Nt:e,_t:r,tt:o,vt:i,Ot:s,getSeenRef:l,It:c}=t;let u=0;const f=[];let h=0;const $=new Set,y=new Set,m=new Map;let w;const b=new Map,v=(t,e,r)=>{n.write("[");let o,i=!1;if(e)o=t.length;else{for(o=t.length-1;o>=0&&void 0===t[o];)o--;o++}for(let e=0;e<o;e++)i?n.write(","):i=!0,r(t[e],e);n.write("]")},g=(t,e,r)=>{if(n.write(`${t},`),"number"==typeof e)n.write(e.toString());else if("string"==typeof e){const t=JSON.stringify(e);let r=-1,o=0;for(;-1!==(r=t.indexOf("</",o));)n.write(t.slice(o,r)),n.write("<\\/"),o=r+2;n.write(0===o?t:t.slice(o))}else v(e,!!r,(t,n)=>{R(t,n)})},S=n=>{d(n)||(y.add(n),t.vt(n))},k=(n,e,r)=>{let o=l(n);const u=!r&&m.get(n);if(!o){if(r)return!0;if("number"!=typeof u)return c(n,w,e);o=i(n,!0)}o.jt&&(w?s(o):(s(o,e),n=t.Mt[e])),"number"==typeof u&&(f[u]=o.Ct,m.delete(n));const a=n instanceof Us?n.qt:o.Ct;if(!w&&a===e)return o;g(1,a)},R=(n,e)=>{if(rc(n))g(3,0);else switch(typeof n){case"undefined":g(3,0);break;case"boolean":g(3,n?2:3);break;case"number":Number.isNaN(n)?g(3,12):Number.isFinite(n)?n===Number.MAX_SAFE_INTEGER?g(3,15):n===Number.MAX_SAFE_INTEGER-1?g(3,16):n===Number.MIN_SAFE_INTEGER?g(3,17):g(0,n):g(3,n<0?14:13);break;case"string":0===n.length?g(3,4):(n.length<4||k(n,e))&&g(0,n);break;case"bigint":(n<1e4&&n>-1e3||k(n,e))&&g(11,n.toString());break;case"symbol":n===dn?g(3,7):n===mn?g(3,8):n===Ht&&g(3,9);break;case"function":if(n===we)g(3,10);else if(n===ae)g(3,11);else if(p(n)){if(k(n,e)){const[e,r,o]=gs(t,n,!0);let s,l;if(""!==e){s=`${i(e)} ${i(r)}${o?" "+o.join(" "):""}`;const t=b.get(s);if(t){const n=i(t);return void g(1,n)}b.set(s,n),l=y.has(n)?20:19}else s=Number(r),l=19;g(l,s)}}else{if(!gc(n))throw a(34,[n.toString()]);{const[e]=n[vc];t.Et.add(e.o),g(23,[e])}}break;case"object":if(n===nn)g(3,5);else if(n===en)g(3,6);else if(null===n)g(3,1);else if(n instanceof Us)g(1,n.qt);else{const t=k(n,e);if(t){const e=w;w=t,q(n),w=e}}break;default:throw a(20,[typeof n])}},q=n=>{if(an(n)){const t=n[zt];g(32,[(s=t,new Ls(s)),t.varProps,t.constProps,n[Qt].m])}else if(n instanceof zn)g(33,[n.data.lt,n.data.ct]);else if(n instanceof pn)g(34,[n.consumer,n.property,n.backRef,n.data]);else if(Ml(n))if(function(t){return"__brand"in t&&"resource"===t.__brand}(n)){t.Ft.add(n);const e=j(n.value,i,(t,e)=>new Es(22,t,e,Al(n).m));g(2,e)}else{const t=Al(n),e=Nl(n),r=t.j,i=t.m,s=[];for(const t in e){const n=o.get(e[t]);n&&s.push(n)}const l=[e,r,i,...s];for(;void 0===l[l.length-1];)l.pop();g(29,l)}else if(Rl(n)){const t=n[sc](n);if(st(t)){const n=j(t,i,(t,n)=>new Es(28,t,n,void 0,void 0));g(2,n)}else{const n=w.Ct;w=w.jt,R(t,n)}}else if(function(t){const n=Object.getPrototypeOf(t);return null==n||n===Object.prototype||n===Array.prototype}(n))if(Array.isArray(n))g(4,n);else{const t=[];for(const e in n)if(Object.prototype.hasOwnProperty.call(n,e)){const r=n[e];rc(r)||t.push(e,r)}g(5,t.length?t:0)}else if(r(n))n.Tt.vnodeData[0]|=16,g(10,n.Tt.id);else if(n instanceof Lt){if(n instanceof xn){S(n._);const t=function(t,n){return n===dn?n:ct(t._.resolved||t._.resolve(),t=>{let e;return"function"==typeof t&&(t=t()),t.serialize?e=t.serialize(n):"object"==typeof n&&sc in n&&(e=n[sc](n)),void 0===e&&(e=dn),e})}(n,n.$);if(st(t)){const e=j(t,i,(t,e)=>new Es(28,t,e,n.m,n._));g(2,e)}else g(28,[n._,Ds(n[gt]),n.m,t]);return}if(n instanceof Tn)g(25,[...Ts(t,n),Ds(n[gt]),n.j,n.K,...n.m||[]]);else if(n instanceof gn){let t=n.$;const e=32&n.j,r=16&n.j,o=1&n.j,i=rc(n.$);e?t=n.$:(r||o||i)&&(t=dn),S(n._);const s=[n._,Ds(n[gt]),n.m],l=n instanceof Sn;l&&s.push(n.L,n.W,n.T,n.D);let c=!1;t!==dn&&(s.push(t),l||void 0!==t||(c=!0)),g(l?27:26,s,c)}else{const t=n.$,e=void 0===t,r=[t];n.m&&r.push(...n.m),g(24,r,e)}}else if(n instanceof URL)g(6,n.href);else if(n instanceof Date)g(7,Number.isNaN(n.valueOf())?"":n.valueOf());else if(n instanceof RegExp)g(8,n.toString());else if(n instanceof Error){const t=[n.message];t.push(...Object.entries(n).flat()),g(14,t)}else if(e(n)){const e=i(n);t.Dt(n,"q:id",String(e)),g(9,n.id);const r=n.vnodeData;if(r&&(((t,n)=>{for(const e of t)if(Fs(e))for(let t=1;t<e.length;t+=2){const r=e[t];null==r||"string"==typeof r||e[t-1]===L&&0===Object.keys(r).length||n(r)}})(r,t=>i(t)),r[0]|=16),n.children)for(const t of n.children){const n=t.vnodeData;if(n){for(const t of n)if(Fs(t)){const n=t.findIndex(t=>t===x);-1!==n&&i(t[n+1])}n[0]|=16}}}else if("undefined"!=typeof FormData&&n instanceof FormData){const t=[];n.forEach((n,e)=>{t.push(e,"string"==typeof n?n:n.name)}),g(30,t)}else if(n instanceof URLSearchParams)g(12,n.toString());else if(n instanceof Set)g(16,[...n.values()]);else if(n instanceof Map){const t=[];for(const[e,r]of n.entries())t.push(e,r);g(17,t)}else if(Yn(n)){const t=[n.type,n.key,n.varProps,n.constProps,n.children,n.toSort||void 0];for(;void 0===t[t.length-1];)t.pop();g(31,t)}else if(n instanceof yl){const t=[n.nt,n.j,n.Ct,n.ft,n[gt],n.ut];for(;void 0===t[t.length-1];)t.pop();g(21,t)}else if(st(n)){const t=j(n,i,(t,n)=>new Es(15,t,n));g(2,t)}else if(n instanceof Es)if(22===n.St)g(22,[n.kt,n.xt,n.m]);else if(28===n.St)if(n.nt)g(28,[n.nt,n.m,n.xt]);else{if(!n.kt)throw console.error(n.xt),a(33);{const t=w.Ct;w=w.jt,R(n.xt,t)}}else g(15,[n.kt,n.xt]);else if(n instanceof Uint8Array){let t="";for(const e of n)t+=String.fromCharCode(e);const e=btoa(t).replace(/=+$/,"");g(18,e)}else if(n instanceof Ls){const t=n.Rt;if(k(t,w.Ct,!0)){let n=m.get(t);void 0===n&&(n=h++,m.set(t,n),f[n]=-1),g(2,n)}}else{if(!_o(n))throw a(20,[typeof n]);g(3,0)}var s};function j(t,n,e){const r=h++;return t.then(o=>{$.delete(t),f[r]=n(e(!0,o))}).catch(o=>{$.delete(t),f[r]=n(e(!1,o))}),$.add(t),r}await(async()=>{n.write("[");const{Mt:e}=t;for(;u<e.length||$.size;){0!==u&&n.write(",");let t=!1;for(;u<e.length;u++)t?n.write(","):t=!0,R(e[u],u);if($.size)try{await Promise.race($)}catch{}}if(f.length){let t=f.length-1;for(;t>=0&&-1===f[t];)t--;if(t>=0){n.write(","),n.write("13,");const e=t===f.length-1?f:f.slice(0,t+1);v(e,!0,t=>{n.write(String(t))})}}n.write("]")})()}(this)},Nt:$,_t:Ws,bt:e,getSeenRef:t=>l.get(t),Mt:f,It:(t,n,e)=>{const r={Ct:e,jt:n};return l.set(t,r),r},Lt:t=>{const n=l.get(t);return n&&(n.jt?void 0:n.Ct)},Ot:h,vt:(t,n)=>{let e,r=l.get(t);return r?(r.jt&&h(r),e=r.Ct):(e=f.length,r={Ct:e},l.set(t,r),f.push(t)),n?r:e},Wt:u,wt:(t,n,e)=>{const r=null==t;r&&(t=e.serialized||e.toString());let o=c.get(t);if(void 0===o)if(o=u.length,c.set(t,o),r)u.push(t);else{let e="(";for(let t=0;t<n;t++)e+=(0==t?"p":",p")+t;u.push(e+=")=>"+t)}return o},At:s,Ut:new Set,Vt:new Set,Ft:new Set,Et:new Set,tt:i,zt:r,Dt:o}};class zs{Qt;tt;ot;st;Bt;Ht=0;Jt=null;Gt=null;u=null;h=null;l=0;p=0;constructor(t,n){this.Bt=t,this.ot=n,this.Qt=o,this.tt=new WeakMap,this.st=()=>{throw Error("Not implemented")}}trackSignalValue(t,n,e,r){return ls(t,n,e,this,r)}serializationCtxFactory(t,n,e,r){return Vs(t,n,e,this.getHostProp.bind(this),this.setHostProp.bind(this),this.tt,r)}}class Qs{Yt;Xt;constructor(t,n){this.Yt=t,this.Xt=n}}class Bs{}async function Hs(t,n,e){const r=[n],o=t=>r.push(t);await(async()=>{for(;r.length;){const n=r.pop();if(n instanceof Qs)e.currentStyleScoped=n.Yt,e.parentComponentFrame=n.Xt;else{if(n===Bs){const t=r.pop();await ft(()=>r.push(t()));continue}if("function"!=typeof n)Js(t,o,n,{styleScoped:e.currentStyleScoped,parentComponentFrame:e.parentComponentFrame});else{if(n===Promise){r.push(await r.pop());continue}await n.apply(t)}}}})()}function Js(t,n,e,r){if(null==e)t.textNode("");else if("boolean"==typeof e)t.textNode("");else if("number"==typeof e)t.textNode(String(e));else if("string"==typeof e)t.textNode(e);else if("object"==typeof e)if(Array.isArray(e))for(let t=e.length-1;t>=0;t--)n(e[t]);else if(vl(e)){t.openFragment(nn);const r=t.getOrCreateLastNode(),o=e instanceof Tn?e.Z():e;n(t.closeFragment),n(()=>ls(o,r,".",t)),n(Bs)}else if(st(e))t.openFragment(nn),n(t.closeFragment),n(e),n(Promise),n(()=>t.commentNode(J));else if(function(t){return!!t[Symbol.asyncIterator]}(e))n(async()=>{for await(const n of e)await Hs(t,n,{currentStyleScoped:r.styleScoped,parentComponentFrame:r.parentComponentFrame}),t.commentNode(J)});else{const o=e,i=o.type;if("string"==typeof i){!function(t,n){null==cn(t,"class")&&n&&(t.constProps||(t.constProps={}),t.constProps.class="")}(o,r.styleScoped);let e=null;const s=t.openElement(i,o.key,Gs(o.varProps,{serializationCtx:t.serializationCtx,styleScopedId:r.styleScoped,toSort:o.toSort}),Gs(o.constProps,{serializationCtx:t.serializationCtx,styleScopedId:r.styleScoped}),e);s&&t.htmlNode(s),n(t.closeElement),"head"===i?(t.emitQwikLoaderAtTopIfNeeded(),t.emitPreloaderPre(),n(t.additionalHeadNodes)):"body"===i?n(t.additionalBodyNodes):t.isHtml||t._didAddQwikLoader||(t.emitQwikLoaderAtTopIfNeeded(),t.emitPreloaderPre(),t._didAddQwikLoader=!0);const l=o.children;null!=l&&n(l)}else if(f(i))if(i===ae){t.openFragment(null!=o.key?[D,o.key]:nn),n(t.closeFragment);const e=o.children;null!=e&&n(e)}else if(i===we){const e=r.parentComponentFrame;if(e){const i=[];i.push("q:sparent",e.componentNode.id||""),t.openProjection(i);const s=e.componentNode,l=t.getOrCreateLastNode(),c=function(t,n,e){const r=n.constProps;if(r&&"object"==typeof r&&"name"in r){const n=r.name;if(n instanceof Tn)return ls(n,t,":",e)}return cn(n,"name")||""}(s,o,t);i.push(m,c),n(new Qs(r.styleScoped,r.parentComponentFrame)),n(t.closeProjection);const u=o.children||null,f=e.consumeChildrenForSlot(l,c)||u;u&&f!==u&&t.addUnclaimedProjection(e,"",u),n(f),n(new Qs(e.projectionScopedStyle,e.projectionComponentFrame))}else t.openFragment(nn),t.closeFragment()}else if(i===ge)t.commentNode(cn(o,"data")||"");else if(i===ke){t.commentNode(J);const e=o.children;let i;i=f(e)?e({async write(n){await Hs(t,n,{currentStyleScoped:r.styleScoped,parentComponentFrame:r.parentComponentFrame}),t.commentNode(J)}}):e,n(i),st(i)&&n(Promise)}else if(i===ve)t.htmlNode(cn(o,"data"));else if(gc(i)){t.openComponent([]);const e=t.getOrCreateLastNode(),s=t.getParentComponentFrame();s.distributeChildrenIntoSlots(o.children,r.styleScoped,r.parentComponentFrame);const l=((t,n,e)=>{const r=t.getOrCreateLastNode(),[o]=e[vc],i=n.props;return i&&i.children&&delete i.children,r.setProp($,o),r.setProp(L,i),null!==n.key&&r.setProp(D,n.key),de(t,r,r,o,i)})(t,o,i);if(n(new Qs(r.styleScoped,r.parentComponentFrame)),n(t.closeComponent),st(l))n(async()=>{const t=await l,r=Ne(e.getProp(S));n(t),n(new Qs(r,s))});else{n(l);const t=Ne(e.getProp(S));n(new Qs(t,s))}}else{t.openFragment([D,o.key]),n(t.closeFragment);const e=t.getComponentFrame(0),r=((t,n,e,r)=>{const o=t.getOrCreateLastNode();return de(t,o,n,e,r.props)})(t,e&&e.componentNode,i,o);n(r),st(r)&&n(Promise)}}}function Gs(t,n){if(null==t)return null;const e=[],r=(t,r)=>{if(null!=r){if(Jt(t)){const o=Ys(n.serializationCtx,t,r);return void(o&&e.push(t,o))}vl(r)?Ae(t)?e.push(t,[r,n.styleScopedId]):e.push(t,r):(Yt(t)?function(t,n){const e=n.substring(14);e&&t.Vt.add(e)}(n.serializationCtx,t):t!==V&&t!==z||(r=n.serializationCtx.vt(r)),r=Ee(t,r,n.styleScopedId),e.push(t,r))}};if(n.toSort){const n=Object.keys(t).sort();for(const e of n)r(e,t[e])}else for(const n in t)r(n,t[n]);return e}function Ys(t,n,e){let r=null;const o=e,i=t=>{r=(null==r?"":r+"\n")+t},s=n=>(!n.o.startsWith("_")&&n.rt?.length&&(n=cc(null,"_run",Ke,null,null,[n])),gs(t,n));if(Array.isArray(o))for(let e=0;e<=o.length;e++){const r=o[e];if(p(r))i(s(r)),Xs(t,n,r);else if(null!=r){const e=Ys(t,n,r);e&&i(e)}}else p(o)&&(r=s(o),Xs(t,n,o));return r}function Xs(t,n,e){const r=Kt(n);if(r){const[n,o]=r,i=Zt(n,o),s=tn(n,i);t.Vt.add(s),t.Ut.add(e)}}const Ks=(t,n,e,r)=>{if(0!==e)switch(4!==e&&Array.isArray(r)&&(r=Zs(t,r)),e){case 4:Zs(t,r,n);break;case 5:if(0===r)break;for(let t=0;t<r.length;t+=2)n[r[t]]=r[t+1];break;case 19:case 20:tl(t,n),20===e&&n.resolve();break;case 21:const o=n,i=r;o.nt=i[0],o.j=i[1],o.Ct=i[2],o.ft=i[3],o[gt]=i[4],o.ut=i[5];break;case 22:const[s,l,c]=r,f=n;s?(f.value=Promise.resolve(l),f._resolved=l,f._state="resolved"):(f.value=Promise.reject(l),f._error=l,f._state="rejected"),Al(n).m=c;break;case 23:n[vc][0]=r[0];break;case 29:{const e=Il(n),o=xs.get(e);o&&(xs.delete(e),Ks(t,e,o.t,o.v));const[,i,s]=r,l=Al(n);l.j=i,l.m=s;break}case 24:{const t=n,e=r;t.$=e[0],t.m=new Set(e.slice(1));break}case 25:{const e=n,o=r;e.Y=t.getSyncFn(o[0]),e.G=o[1],e[gt]=o[2],e.$=dn,e.j=o[3],e.j|=1,e.K=o[4],e.m=new Set(o.slice(5)),function(t){if(null!==t.K&&_o(t.K)){const n=t.K,e=t.m;let r=!1;if(e)for(const o of e){const e=o.property;if(u(e)){const o=To(n,e,null);if(null!==o){t.$=o,r=!0;break}}}if(!r){const e=si(n);e&&n.firstChild===n.lastChild&&Mo(e)&&(t.$=oi(e))}}}(e);break}case 27:{const t=n,e=r;t._=e[0],t[gt]=e[1],t.m=new Set(e[2]),t.L=new Set(e[3]),t.W=new Set(e[4]),t.T=e[5],t.D=e[6],e.length>7&&(t.$=e[7],t.U=e[7]),t.j|=1;break}case 28:case 26:{const t=n,o=r;t._=o[0],t[gt]=o[1],o[2]&&(t.m=new Set(o[2])),o.length>3?(t.$=o[3],28===e&&(t.j|=1)):(t.j|=1,t._.resolve());break}case 14:{const t=r;n.message=t[0];for(let e=1;e<t.length;e+=2)n[t[e]]=t[e+1];break}case 30:{const t=n,e=r;for(let n=0;n<e.length;n++)t.append(e[n++],e[n]);break}case 31:{const t=n,[e,o,i,s,l,c]=r;t.type=e,t.key=o,t.varProps=i,t.constProps=s||null,t.children=l,t.toSort=!!c;break}case 16:{const t=n,e=r;for(let n=0;n<e.length;n++)t.add(e[n]);break}case 17:{const t=n,e=r;for(let n=0;n<e.length;n++)t.set(e[n++],e[n]);break}case 15:{const t=n,[e,o]=r,[i,s]=ks.get(t);e?i(o):s(o);break}case 18:const h=n,d=atob(r);let p=0;for(const t of d)h[p++]=t.charCodeAt(0);break;case 32:const $=n,y=r;let m=y[0];m===Ht&&(m=new Jn(ae,y[1],y[2],null,null),m._proxy=$),$[zt]=m,$[Qt].m=y[3];break;case 33:{const t=n;t.data.lt=r[0],t.data.ct=r[1];break}case 34:{const t=n,e=r;t.consumer=e[0],t.property=e[1],t.backRef=e[2],t.data=e[3];break}default:throw a(16,[e])}},Zs=(t,n,e=Array(n.length/2))=>{for(let r=0;r<n.length;r+=2)e[r/2]=nl(t,n[r],n[r+1]);return e};function tl(t,n){if(n.rt)return n;const e=n.Kt;return n.rt=e?e.map(n=>t.st(n)):null,n.Kt=null,t.element&&n.$t(t.element),n}function nl(t,n,e){if(0===n)return e;const r=Rs(t,n,e);return el(n)&&Ks(t,r,n,e),r}const el=t=>t>=14||4===t||5===t,rl=new WeakMap,ol=Symbol("UNWRAP"),il=(t,n)=>{if(!Array.isArray(n)||_o(n)||l(e=n)&&ol in e)return n;var e;let r=rl.get(n);if(!r){const e=Array(n.length/2).fill(void 0);r=new Proxy(e,new sl(t,n)),rl.set(n,r)}return r};class sl{k;Zt;tn;constructor(t,n){this.k=t,this.Zt=n,this.tn=this.Zt.length/2}get(t,n,e){if(n===ol)return t;const r="number"==typeof n?n:"string"==typeof n?parseInt(n,10):NaN;if(Number.isNaN(r)||r<0||r>=this.tn)return Reflect.get(t,n,e);const o=2*r,i=this.Zt[o],s=this.Zt[o+1];if(0===i)return s;const l=this.k,c=Rs(l,i,s);return Reflect.set(t,n,c),this.Zt[o]=0,this.Zt[o+1]=c,el(i)&&Ks(l,c,i,s),c}has(t,n){return n===ol||Object.prototype.hasOwnProperty.call(t,n)}set(t,n,e,r){if(n===ol)return!1;const o=Reflect.set(t,n,e,r),i="number"==typeof n?n:parseInt(n,10);if(Number.isNaN(i)||i<0||i>=this.Zt.length/2)return o;const s=2*i;return this.Zt[s]=0,this.Zt[s+1]=e,!0}}const ll=t=>33<=t&&t<=46,cl=(t,n,e)=>{let r=0;for(;n<e;){const e=t.charCodeAt(n);if(92===e)n+=2;else{if(0===r&&ll(e))break;123===e?r++:125===e&&r--,n++}}return n};function ul(t){const n=al(t);if(!n)throw a(24);return fl(n)}function fl(t){const n=t;return n.qContainer||=new dl(n)}function al(t){return t.closest("[q\\:container]:not([q\\:container=html]):not([q\\:container=text])")}const hl=t=>t instanceof dl;class dl extends zs{element;qContainer;qManifestHash;rootVNode;document;nn;tt=new WeakMap;en;Jt;gt=null;vNodeLocate=t=>Ho(this.rootVNode,t);rn;sn=null;constructor(t){if(super({},t.getAttribute("q:locale")),this.qContainer=t.getAttribute(_),!this.qContainer)throw a(25);this.document=t.ownerDocument,this.element=t,this.Gt=t.getAttribute(q),this.Jt=t.getAttribute(j),this.qManifestHash=t.getAttribute("q:manifest-hash"),this.rootVNode=Po(this.element),this.nn=[],this.rn=[];const n=this.element.ownerDocument;n.qVNodeData||function(t){const n="q:container",e="/"+n,r="q:ignore",o="/"+r,i="q:container-island",s="/"+i,l=t.qVNodeData||(t.qVNodeData=new WeakMap),c=t.body,u=c.getAttribute,f=c.hasAttribute,a=((t,n)=>{let e;for(;t&&!(e=Object.getOwnPropertyDescriptor(t,n)?.get);)t=Object.getPrototypeOf(t);return e||function(){return this[n]}})(c,"nodeType"),h=t=>{Array.from(t.querySelectorAll('script[type="qwik/vnode"]')).forEach(t=>{t.setAttribute("type","x-qwik/vnode");const n=t.closest("[q\\:container]");n.qVnodeData=t.textContent,n.qVNodeRefs=new Map}),t.querySelectorAll("[q\\:shadowroot]").forEach(t=>{const n=t.shadowRoot;n&&h(n)})};h(t);const d=t=>{const l=a.call(t);if(1===l)return null===u.call(t,n)?f.call(t,"q:shadowroot")?6:f.call(t,":")?2:0:3;if(8===l){const l=t.nodeValue||"";if(l.startsWith(i))return 65;if(l.startsWith(r))return 16;if(l.startsWith(n))return 9;if(l.startsWith(s))return 64;if(l.startsWith(o))return 32;if(l.startsWith(e))return 8}return 0},p=t=>{for(;t&&(t=t.nextSibling)&&0===d(t););return t},$=(n,e,r,o,i,s)=>{const c=i.length;let u=0,f=-1,a=0,h=0,y=0,m=-1,w=null;const b=()=>{let t=0;for(;ll(y=i.charCodeAt(a))&&(t+=1<<y-33,a++,!(a>=c)););return t};do{if(r===o)return;w=null;const v=r==e?2:d(r);if(3===v){const t=r;let e=r;for(;e&&!(w=p(e));)e=e.parentNode;$(n,t,r,w,t.qVnodeData||"",t.qVNodeRefs)}else if(16===v){let t=r;do{if(t=n.nextNode(),!t)throw new Error(`Island inside \x3c!--${r?.nodeValue}--\x3e not found!`)}while(65!==d(t));w=null}else if(64===v){w=r;do{if(w=n.nextNode(),!w)throw new Error("Ignore block not closed!")}while(32!==d(w));w=null}else if(9===v){w=r;do{if(w=p(w),!w)throw new Error(`\x3c!--${r?.nodeValue}--\x3e not closed!`)}while(8!==d(w));$(n,r,r,w,"",null)}else if(6===v){w=p(r);const n=r,e=n?.shadowRoot;e&&$(t.createTreeWalker(e,129),null,e,null,"",null)}if(!(2&~v)){if(f<u&&(-1===f&&(f=0),a=h,a<c?(f+=b(),126===y&&(m=f,a++,y=a<c?i.charCodeAt(h):33),h=cl(i,a,c)):f=Number.MAX_SAFE_INTEGER),u===f){m===u&&s.set(u,r);const t=i.substring(a,h);l.set(r,t)}u++}}while(r=w||n.nextNode())},y=t.createTreeWalker(t,129);$(y,null,y.firstChild(),null,"",null)}(n),this.en=R(n,this.Jt)||nn,this.ln(),t.setAttribute(_,"resumed"),t.qContainer=this;const e=t.querySelectorAll('script[type="qwik/state"]');0!==e.length&&(this.nn=JSON.parse(e[e.length-1].textContent),Jl(this.nn,this),this.rn=il(this,this.nn)),this.cn(),t.isConnected&&t.dispatchEvent(new CustomEvent("qresume",{bubbles:!0}))}cn(){const t=this.element.ownerDocument,n=t.head,e=t.querySelectorAll(g);for(let t=0;t<e.length;t++)n.appendChild(e[t])}ht(t,n){this.rn[t]=n}parseQRL(t){return tl(this,function(t){const n=t.indexOf("#"),e=t.indexOf("[",n),r=t.indexOf("]",e);return Ss(t.slice(0,n>-1?n:e),e>-1?t.slice(n+1,e):t.slice(n+1),e>-1&&r>-1?t.slice(e+1,r).split(" ").filter(t=>t.length).map(t=>parseInt(t,10)):null)}(t))}handleError(t,n){const e=n&&this.resolveContext(n,ms);if(!e)throw t;e.error=t}setContext(t,n,e){let r=this.getHostProp(t,k);null==r&&this.setHostProp(t,k,r=[]),De(r,n.id,e,0,!0)}resolveContext(t,n){for(;t;){const e=this.getHostProp(t,k);if(null!=e&&We(e,n.id,0))return Le(e,n.id,0);t=this.getParentHost(t)}}getParentHost(t){let n=t.parent;for(;n;)if(Eo(n)){if(null!==To(n,$,null))return n;n=n.parent||n.slotParent}else n=n.parent;return null}setHostProp(t,n,e){Do(t,n,e)}getHostProp(t,n){const e=t;let r=null;switch(n){case W:case L:case $:case k:case x:r=this.st;break;case U:case B:r=parseInt}return To(e,n,r)}ensureProjectionResolved(t){if(!(16&t.flags)){t.flags|=16;const n=t.props;if(n)for(const t of Object.keys(n))if(je(t)){const e=n[t];if("string"==typeof e){const r=this.vNodeLocate(e);n[t]=r}}}}st=t=>Xl(t,this.rn);getSyncFn(t){return this.en[t]}un(t,n,e,r){if(r){const t=this.getHostProp(e,S),r=new Set(function(t){return t?.split(" ")??null}(t));r.add(n),this.setHostProp(e,S,function(t){return Array.from(t).join(" ")}(r))}if(null==this.sn&&(this.sn=new Set,this.element.querySelectorAll(v).forEach(t=>{this.sn.add(t.getAttribute(b))})),!this.sn.has(n)){this.sn.add(n);const e=this.document.createElement("style");e.setAttribute(b,n),e.textContent=t,this.document.head.appendChild(e)}}ln(){const t={},n=this.element.attributes;if(n)for(let e=0;e<n.length;e++){const r=n[e];r.name!==G&&(t[r.name]=r.value)}this.Bt={containerAttributes:t}}}const pl=(t,n)=>{const{val:e,set:r,iCtx:o,i}=Qr();if(e)return;r(1);const s=new yl(10|(!1===n?.deferUpdates?0:16),i,o.K,t,void 0,null);r(s);const l=o.k,{it:c}=o,u=ct(c,()=>$l(s,l,o.K));st(u)&&(o.it=u)},$l=(t,n,e)=>{t.j&=-9,hn(t);const r=rs(n.ot,e,"qTask");r.k=n;const o=t.nt.getFn(r,()=>Dn(n,t)),i=bn(t,n),[s]=vn(t,t=>n.handleError(t,e)),l={track:i,cleanup:s};return lt(()=>o(l),s,r=>{if(st(r))return r.then(()=>$l(t,n,e));n.handleError(r,e)})};class yl extends St{j;Ct;ft;nt;ut;N;constructor(t,n,e,r,o,i){super(),this.j=t,this.Ct=n,this.ft=e,this.nt=r,this.ut=o,this.N=i}}const ml=t=>t instanceof yl,wl=(t,n)=>{const[e]=Qn(),r=ul(n);e.j|=8,Ro(r,e.ft,1)},bl=t=>{if(!t.resolved)throw t.resolve()},vl=t=>t instanceof Lt,gl=(t,n)=>{t.add(n)},Sl=(t,n)=>{(t.backRef||=new Set).add(n)},kl=(t,n)=>{if(n){const e=t.consumer,r=t.property;let o=null;ml(e)?o=e.nt:e instanceof gn?o=e._:":"===r&&(o=n.getHostProp(e,$)),o&&n.serializationCtx.Ut.add(o)}},xl=(t,n,e)=>{const r=(import.meta,!0);if(e){const o=e=>{const o=e.consumer,i=e.property;if(ml(o))o.j|=8,Ro(t,o.ft,1);else if(o instanceof Lt)o.invalidate();else if(":"===i)Ro(t,o,4);else if("."===i)r&&(s=o,l=n,(s.props||={})[Et]=l,Ro(t,o,2));else{const s=e.data;if(s instanceof zn){const e=s.data,l={isConst:e.ct,scopedStyleIdPrefix:e.lt,value:n};if(r)!function(t,n,e){const r=t.props||={};let o=r[Mt];o||(o=new Map,r[Mt]=o),o.set(n,e)}(o,i,l);else{const t=o;let n=t.getProp(Mt);n||(n=new Map,t.setProp(Mt,n)),n.set(i,l)}Ro(t,o,8)}}var s,l},i=Array.from(e);for(const t of i)o(t)}},Rl=t=>l(t)&&"function"==typeof t[sc],ql=t=>{let n=1;switch(t){case"never":n|=16;break;case"always":n|=32}return n},jl=[];function Cl(t){try{if(null===t)return"null";if(void 0===t)return"undefined";if("string"==typeof t)return'"'+t+'"';if("number"==typeof t||"boolean"==typeof t)return String(t);if(ml(t))return`Task(${Cl(t.nt)})`;if(p(t))return`Qrl(${t.o})`;if("object"==typeof t||"function"==typeof t){if(jl.includes(t))return"*";try{if(jl.push(t),Array.isArray(t))return _o(t)?"("+(To(t,at,null)||"vnode")+")":t.map(Cl);if(vl(t))return t instanceof Tn?"WrappedSignal":t instanceof gn?"ComputedSignal":"Signal";if(Ml(t))return"Store";if(Yn(t))return Pl(t);if(_o(t))return"("+(To(t,at,null)||"vnode")+")"}finally{jl.pop()}}}catch(t){return console.error("ERROR in qwikDebugToString",t),"*error*"}return t}const Pl=t=>{if(Yn(t)){if("function"==typeof t.type){const n=t.type[vc];if(n){const[t]=n;return"Component("+t.o+")"}return"Function("+t.type.name+")"}let n="<"+t.type;if(t.props){for(const[e,r]of Object.entries(t.props))n+=" "+e+"="+Cl(r);const e=t.children;null!=e?(n+=">",Array.isArray(e)?e.forEach(t=>{n+=Pl(t)}):n+=Pl(e),n+="</"+t.type+">"):n+="/>"}return n}return String(t)},Al=t=>t[yn],Nl=t=>t?.[$n]||null,_l=(t,n)=>{const e=Al(t);e&&e.force(n)},Ol=(t,n)=>{const e=Al(t);return!!e&&(e.m?.get(n)?.size??0)>0},Il=t=>Nl(t)||t,Ml=t=>$n in t;function El(t,n,e){return new Proxy(n,new Tl(e,t||null))}const Fl=(t,n,e)=>{if(s(t)&&e){let r=e.tt.get(t);return r||(r=El(e,t,n),e.tt.set(t,r)),r}return t};class Tl{j;k;m=void 0;constructor(t,n){this.j=t,this.k=n}toString(){return"[Store]"}force(t){const n=Nl(this);xl(this.k,this,Wl(n,t,this.m))}get(t,n){if("symbol"==typeof n)return n===$n?t:n===yn?this:t[n];const e=Gi(),r=t[n];if(e){if(null===this.k){if(!e.k)return r;this.k=e.k}const o=e.q;o&&Dl(t,Array.isArray(t)?mn:n,this,o)}return"toString"===n&&r===Object.prototype.toString?this.toString:1&this.j&&l(r)&&!Object.isFrozen(r)&&!Ml(r)&&!Object.isFrozen(t)?Fl(r,this.j,this.k):r}set(t,n,e){if("symbol"==typeof n)return t[n]=e,!0;const r=1&this.j?Il(e):e;return n in t?r!==t[n]&&Ll(n,r,t,this):Ll(n,r,t,this),!0}deleteProperty(t,n){return"string"==typeof n&&delete t[n]&&(Array.isArray(t)||xl(this.k,this,Wl(t,n,this.m)),!0)}has(t,n){if(n===$n)return!0;if("string"==typeof n){const e=Gi();if(e){const r=e.q;r&&Dl(t,Array.isArray(t)?mn:n,this,r)}}return Object.prototype.hasOwnProperty.call(t,n)}ownKeys(t){const n=Gi(),e=n?.q;return e&&Dl(t,mn,this,e),Reflect.ownKeys(t)}getOwnPropertyDescriptor(t,n){const e=Reflect.getOwnPropertyDescriptor(t,n);return Array.isArray(t)||"symbol"==typeof n||e&&!e.configurable?e:{enumerable:!0,configurable:!0}}}function Dl(t,e,r,o){const i=r.m||=new Map;let s=i.get(e);s||(s=new Set,i.set(e,s)),gl(s,o),Sl(o,t),(import.meta.env.TEST?!hl(r.k):n)&&kl(o,r.k)}function Ll(t,n,e,r){e[t]=n;const o=Wl(e,t,r.m);o&&xl(r.k,r,o)}function Wl(t,n,e){let r;if(e)if(Array.isArray(t))for(const t of e.values()){r||=new Set;for(const n of t)r.add(n)}else r=e.get(n);const o=e?.get(mn);if(o){r||=new Set;for(const t of o)r.add(t)}return r}const Ul=(t,n=new WeakSet)=>{if(null==t||"string"==typeof t||"number"==typeof t||"boolean"==typeof t||"bigint"==typeof t)return!0;if("object"==typeof t){if(n.has(t))return!0;n.add(t);const e=Object.getPrototypeOf(t);if(Ml(t)&&(t=Nl(t)),e==Object.prototype){for(const e in t)if(!Ul(os(()=>t[e]),n))return!1;return!0}if(e==Array.prototype){for(let e=0;e<t.length;e++)if(!Ul(t[e],n))return!1;return!0}if(ml(t))return!0;if(an(t))return!0;if(st(t))return!0;if(Yn(t))return!0;if(t instanceof Error)return!0;if(t instanceof URL)return!0;if(t instanceof Date)return!0;if(t instanceof RegExp)return!0;if(t instanceof URLSearchParams)return!0;if(t instanceof FormData)return!0;if(t instanceof Set)return!0;if(t instanceof Map)return!0;if(t instanceof Uint8Array)return!0;if(t instanceof zn)return!0;if(Ws?.(t))return!0}else if("function"==typeof t){if(p(t)||gc(t)||t===we||t===ae)return!0}else if(t===Ht||t===dn||t===mn)return!0;return!1},Vl=(t,n)=>{let e=_o(t)?Fi.call(t,1,"",!0).replaceAll(/\n.*/gm,""):"function"==typeof t?String(t):(t=>{const n=new WeakSet;return JSON.stringify(t,(t,e)=>{if(l(e)){if(n.has(e))return`[Circular ${e.constructor.name}]`;n.add(e)}return e},2)})(t);return e.length>500&&(e=e.slice(0,500)+'"...'),e=e.replace(/\n/g,"\n"+n),e.includes("\n")?e=`\n${n}${e}`:e};let zl=!1;const Ql=(t,n=!1,e="",r=20)=>{const o=n?"[31m":"",i=n?"[0m":"",s=""===e,c=[];for(let s=0;s<t.length;s++){if(r&&s>2*r){c.push("...");break}const u=t[s];let f=t[++s];if(0===u){"number"!=typeof f&&"string"!=typeof f&&(zl=!0);const t=`{${l(f)?f.constructor.name:typeof f}}`;c.push(`${o}${t}${i} ${Vl(f,`${e} `)}`)}else 3===u?f=Hl(f):"string"==typeof f?(f=JSON.stringify(f),f.length>120&&(f=f.slice(0,120)+'"...')):13===u?f=`[\n${e} ${f.join(`\n${e} `)}\n${e}]`:Array.isArray(f)&&(f=f.length?`[\n${Ql(f,n,`${e} `)}\n${e}]`:"[]"),c.push(`${o}${Bl(u)}${i} ${f}`)}const u=c.map((t,n)=>`${e}${s?`${n} `:""}${t}`).join("\n");if(s){const n=zl?"":`(${JSON.stringify(t).length} chars)`;return zl=!1,`\n${u}\n${n}`}return u},Bl=t=>vs[t]||`Unknown(${t})`,Hl=t=>bs[t]||`Unknown(${t})`;function Jl(n,e){const r=(t,n)=>1===t&&"string"==typeof n,o=t=>13===t,i=t=>20===t,s=t=>{const e=n[t+1].split(" ");let r=n,o=1,i=0,s=0,l=null;for(let t=0;t<e.length;t++)if(l=r,i=2*parseInt(e[t],10),s=i+1,o=r[i],r=r[s],1===o){const t=2*r;o=n[t],r=n[t+1]}l&&(l[i]=1,l[s]=t/2),n[t]=o,n[t+1]=r},l=[];for(let t=0;t<n.length;t+=2)if(r(n[t],n[t+1]))s(t);else if(o(n[t]))e.gt=n[t+1];else if(i(n[t])){const e=Number(n[t+1].split(" ")[0]);l.push(e)}for(const e of l){const r=n[2*e];let o;if(0===r)o=n[2*e+1];else{if(1!==r)continue;o=n[2*n[2*e+1]+1]}t(o,.3)}}async function Gl(t){const n=Vs(null,null,()=>"",()=>"",()=>{},new WeakMap);for(const e of t)n.vt(e);return await n.Pt(),n.At.toString()}function Yl(t,n){if(null==t)return[];const e=JSON.parse(t);if(!Array.isArray(e))return[];let r;r=rt(n)&&ot(n)?Kl(e,n):Kl(e);const o=[];for(let t=0;t<e.length;t+=2)o[t/2]=nl(r,e[t],e[t+1]);return o}function Xl(t,n){return"string"==typeof t&&(t=parseInt(t,10)),n[t]}function Kl(t,n){let e;const r={st:t=>Xl(t,e),getSyncFn:()=>()=>{},tt:new WeakMap,element:null,gt:null};return Jl(t,r),e=il(r,t),r.ut=e,n&&(r.element=n),r}const Zl=(t,n)=>{const e=new WeakSet;return os(()=>tc(t,e,"_",n))},tc=(t,n,e,r)=>{const o=Il(t);if(null==o)return t;if(ec(o)){if("object"==typeof o){if(n.has(o))return t;n.add(o)}if(vl(o))return t;if(Ul(o))return t;const i=typeof o;if("object"===i){if(st(o))return t;if(rt(o))return t;if(c(o)){let r=0;return o.forEach((t,i)=>{if(i!==r)throw a(3,[o]);tc(t,n,e+"["+i+"]"),r=i+1}),t}if(s(o)){for(const[t,r]of Object.entries(o))tc(r,n,e+"."+t);return t}}let l;if(l=r||"Value cannot be serialized","_"!==e&&(l+=` in ${e},`),"object"===i)l+=` because it's an instance of "${t?.constructor.name}". You might need to use 'noSerialize()' or use an object literal instead. Check out https://qwik.dev/docs/advanced/dollar/`;else if("function"===i){const n=t.name;l+=` because it's a function named "${n}". You might need to convert it to a QRL using $(fn):\n\nconst ${n} = $(${String(t)});\n\nPlease check out https://qwik.dev/docs/advanced/qrl/ for more information.`}throw a(3,[l])}return t},nc=/*#__PURE__*/new WeakSet,ec=t=>!l(t)&&!f(t)||!nc.has(t)&&!(ic in t),rc=t=>!!t&&(l(t)||"function"==typeof t)&&(ic in t||nc.has(t)),oc=t=>((l(t)&&null!==t||"function"==typeof t)&&nc.add(t),t),ic=Symbol("noSerialize"),sc=Symbol("serialize"),lc=Symbol("resolved"),cc=(n,e,r,o,i,s)=>{let l;const u=async function(...t){const n=d.call(this,Gi());return await n(...t)},h=t=>(l||(l=t),l);function d(t,n){const e=(...o)=>{if(!u.resolved)return u.resolve().then(t=>{if(!f(t))throw a(5);return e(...o)});if(n&&!1===n())return;const i=y(t),s=i.nt,l=i.dt;i.nt=u,i.dt||=this;try{return Zi.call(this,i,r,...o)}finally{i.nt=s,i.dt=l}};return e}const p=t=>"function"!=typeof t||!i?.length&&!s?.length?t:function(...n){let e=Gi();if(e){if(e.nt?.o===u.o)return t.apply(this,n);const r=e.nt;e.nt=u;try{return t.apply(this,n)}finally{e.nt=r}}return e=rs(),e.nt=u,e.dt=this,Zi.call(this,e,t,...n)};o&&lc in o&&(r=o[lc]);const $=r?async()=>r:async i=>{if(null!==r)return r;if(i&&h(i),""===n){const t=l.getAttribute(j),n=R(l.ownerDocument,t);return u.resolved=r=n[Number(e)]}n&&t(n,1);const s=hc(),c=Gi();if(null!==o)r=o().then(t=>{const n=p(r=t[e]);return o[lc]=n,u.resolved=n,n});else{const t=et().importSymbol(l,n,e);r=ct(t,t=>u.resolved=p(r=t))}return st(r)&&r.then(()=>fc(e,c?.K instanceof Rt?c?.K.node:void 0,s),t=>{console.error(`qrl ${e} failed to load`,t),r=null}),r},y=t=>null==t?rs():c(t)?ns(t):t,m=(t=>{const n=t.lastIndexOf("_");return n>-1?t.slice(n+1):t})(e);return Object.assign(u,{getSymbol:()=>e,getHash:()=>m,getCaptured:()=>u.rt,resolve:$,$t:h,yt:n,o:e,M:m,getFn:d,Kt:i,rt:s,dev:null,resolved:void 0}),r&&(r=ct(r,t=>u.resolved=p(r=t))),e&&t(e,.8),u},uc=/*#__PURE__*/new Set,fc=(t,n,e)=>{uc.has(t)||(uc.add(t),ac("qsymbol",{symbol:t,element:n,reqTime:e}))},ac=(t,n)=>{"object"==typeof document&&document.dispatchEvent(new CustomEvent(t,{bubbles:!1,detail:n}))},hc=()=>"object"==typeof performance?performance.now():0;let dc=0;const pc=t=>cc(null,"s"+dc++,t,null,null,null),$c=pc,yc=t=>t,mc=t=>cc("",h,t,null,null,null),wc=function(t,n){return void 0===n&&(n=t.toString()),t.serialized=n,cc("",h,t,null,null,null)},bc=t=>{function n(n,e){const r=t.M.slice(0,4)+":"+(e||""),o=()=>{};return o[vc]=[t],ee(o,n,null,n.children,0,r)}return n[vc]=[t],n},vc=Symbol("serializable-data"),gc=t=>"function"==typeof t&&void 0!==t[vc],Sc=t=>bc($c(t)),kc=kn(yc),xc=async(t,n,e={})=>{if(9===t.nodeType){let n=t.firstChild;for(;n&&!ot(n);)n=n.nextSibling;t=n}t.setAttribute(_,"resumed");const r=ul(t);r.Bt=e.serverData||{};const o=r.rootVNode;return Do(o,Et,n),Ro(r,o,2),await r.u,{cleanup:()=>{Dr(r,[],r.rootVNode)}}},Rc=(t,n)=>{const{val:e,set:r,iCtx:o}=Qr();if(null!=e)return e;const i=f(t)?Zi(void 0,t):t;if(!1===n?.reactive)return r(i),i;{const t=o.k,e=Fl(i,n?.deep??1?1:0,t);return r(e),e}},qc=()=>{const{val:t,set:n,iCtx:e}=Qr();if(null!=t)return t;const r=e.k.Gt||"",o=r?Oe(r).substring(0,3):"",i=e.k.getHostProp(e.K,$);let s=`${o}${i?.getHash().substring(0,3)||""}${(e.k.Ht++).toString(36)||""}`,l=s.charCodeAt(0);return l>=48&&l<=57&&(l+=17,s=String.fromCharCode(l)+s.substring(1)),n(s)};function jc(t,n){const e=Gi();return e?.k?.Bt[t]??n}const Cc=/*#__PURE__*/new Map,Pc=(t,n)=>{let e=Cc.get(n);return e||Cc.set(n,e=Ac(t,n)),e},Ac=(t,n)=>{const e=t.length,r=[],o=[];let i=0,s=i,l=Mc,c=0;for(;i<e;){const n=i;let e=t.charCodeAt(i++);e===cu&&(i++,e=iu);const r=yu[l];for(let d=0;d<r.length;d++){const p=r[d],[$,y,m]=p;if(($===c||$===zc||$===Qc&&Nc(c)||$===Hc&&Ic(c))&&(y===e||y===zc||y===Qc&&Nc(e)||y===Bc&&!Nc(e)&&e!==nu||y===Hc&&Ic(e))&&(3==p.length||a(p))){if(p.length>3&&(e=t.charCodeAt(i-1)),m===Uc||m==Vc){m===Vc&&(l!==Ec||h()?_c(e)||f(i-(y==Bc?1:y==Zc?2:0)):(_c(e)?u(i-2):f(i-2),s++)),y===Bc&&(i--,e=c);do{l=o.pop()||Mc,l===Fc&&(u(i-1),s++)}while(Oc(l))}else o.push(l),l===Fc&&m===Mc?(u(i-8),s=i):m===Tc&&f(n),l=m;break}}c=e}return u(i),r.join("");function u(n){r.push(t.substring(s,n)),s=n}function f(t){l===Fc||h()||(u(t),r.push(".",y,n))}function a(n){let e=0;if(t.charCodeAt(i)===tu)for(let n=1;n<10;n++)if(t.charCodeAt(i+n)===tu){e=n+1;break}t:for(let r=3;r<n.length;r++){const o=n[r];for(let n=0;n<o.length;n++)if((t.charCodeAt(i+n+e)|fu)!==o.charCodeAt(n))continue t;return i+=o.length+e,!0}return!1}function h(){return-1!==o.indexOf(Fc)||-1!==o.indexOf(Dc)}},Nc=t=>t>=eu&&t<=ru||t>=iu&&t<=su||t>=au&&t<=hu||t>=128||t===uu||t===tu,_c=t=>t===ou||t===nu||t===lu||t===Kc||Nc(t),Oc=t=>t===Lc||t===Dc||t===Wc||t===Fc,Ic=t=>t===Xc||t===Jc||t===Gc||t===Yc,Mc=0,Ec=2,Fc=5,Tc=6,Dc=10,Lc=11,Wc=12,Uc=17,Vc=18,zc=0,Qc=1,Bc=2,Hc=3,Jc=9,Gc=10,Yc=13,Xc=32,Kc=35,Zc=41,tu=45,nu=46,eu=48,ru=57,ou=58,iu=65,su=90,lu=91,cu=92,uu=95,fu=32,au=97,hu=122,du=123,pu=125,$u=[[zc,39,14],[zc,34,15],[zc,47,16,"*"]],yu=[[[zc,42,Ec],[zc,lu,7],[zc,ou,Tc,":","before","after","first-letter","first-line"],[zc,ou,Fc,"global"],[zc,ou,3,"has","host-context","not","where","is","matches","any"],[zc,ou,4],[zc,Qc,1],[zc,nu,1],[zc,Kc,1],[zc,64,Dc,"keyframe"],[zc,64,Lc,"media","supports","container"],[zc,64,Wc],[zc,du,13],[47,42,16],[zc,59,Uc],[zc,pu,Uc],[zc,Zc,Uc],...$u],[[zc,Bc,Vc]],[[zc,Bc,Vc]],[[zc,40,Mc],[zc,Bc,Vc]],[[zc,40,8],[zc,Bc,Vc]],[[zc,40,Mc],[zc,Bc,Uc]],[[zc,Bc,Uc]],[[zc,93,Vc],[zc,39,14],[zc,34,15]],[[zc,Zc,Uc],...$u],[[zc,pu,Uc],...$u],[[zc,pu,Uc],[Hc,Qc,1],[zc,ou,Fc,"global"],[zc,du,13],...$u],[[zc,du,Mc],[zc,59,Uc],...$u],[[zc,59,Uc],[zc,du,9],...$u],[[zc,pu,Uc],[zc,du,13],[zc,40,8],...$u],[[zc,39,Uc]],[[zc,34,Uc]],[[42,47,Uc]]],mu=t=>({styleId:gu(t,t=>t,!1)}),wu=/*#__PURE__*/kn(mu),bu=t=>({scopeId:y+gu(t,Pc,!0)}),vu=/*#__PURE__*/kn(bu),gu=(t,n,e)=>{const{val:r,set:o,iCtx:i,i:s}=Qr();if(r)return r;const l=(c=s,`${Oe(t.M)}-${c}`);var c;const u=i.K;if(o(l),!t.resolved)throw t.resolve().then(t=>i.k.un(n(t,l),l,u,e));return i.k.un(n(t.resolved,l),l,u,e),l},Su=(t,n)=>{Ru("on:",t,n)},ku=(t,n)=>{Ru("on-document:",t,n)},xu=(t,n)=>{Ru("on-window:",t,n)},Ru=(t,n,e)=>{const{isAdded:r,addEvent:o}=qu();if(!r&&e)if(Array.isArray(n))for(const r of n)o(t+Xt(r),e);else o(t+Xt(n),e)},qu=()=>{const t=Xi(),n=t.K;let e=t.k.getHostProp(n,Q);null===e&&(e={},t.k.setHostProp(n,Q,e));let r=t.k.getHostProp(n,B);null===r&&(r=0),t.k.setHostProp(n,B,r+1);let o=t.k.getHostProp(n,H);for(null===o&&(o=[],t.k.setHostProp(n,H,o));o.length<=r;)o.push(!1);return{isAdded:o[r],addEvent:(t,n)=>{o[r]=!0;let i=e[t];i||(e[t]=i=[]),i.push(n)}}},ju=t=>Cu(()=>{const n=f(t)&&!gc(t)?Zi(void 0,t):t;return Cn(n)}),Cu=t=>{const{val:n,set:e}=Qr();return null!=n?n:e(t=f(t)&&!gc(t)?t():t)},Pu=(t,n,e)=>{const{val:r,set:o}=Qr();if(r)return r;const i=n(t,e);return o(i),bl(t),i},Au=(t,n)=>Pu(t,Rn,n),Nu=kn(Au),_u=t=>Pu(t,jn),Ou=kn(_u),Iu=(t,n)=>{const{val:e,set:r,i:o,iCtx:i}=Qr(),s=n?.strategy??"intersection-observer";if(e)return void(64&e.j||(e.j|=64,Mu(e,s)));let l;l=9,t.resolve(),Ro(i.k,i.K,1);const c=new yl(9,o,i.K,t,void 0,null);r(c),Mu(c,s)},Mu=(t,n)=>{"intersection-observer"===n?Su("qvisible",Eu(t)):"document-ready"===n?ku("qinit",Eu(t)):"document-idle"===n&&ku("qidle",Eu(t))},Eu=t=>cc(null,"_task",wl,null,null,[t]),Fu=(t,n)=>Br($c(t),n),Tu=/*#__PURE__*/kn(pl),Du=/*#__PURE__*/kn(Iu),Lu=(t,n)=>Pu(t,qn,n),Wu=kn(Lu),Uu=()=>{const t=Rc({error:void 0});return ps(ms,t),t},Vu=t=>{import.meta;const n=import.meta.env.BASE_URL||"/",e={path:"qwik-prefetch-service-worker.js",...t};e.path=t?.path?.startsWith?.("/")?t.path:n+e.path;let r=zu.replace('"_URL_"',JSON.stringify(e.path.split("/").pop()));r=r.replaceAll(/\s\s+/gm,"");const o={dangerouslySetInnerHTML:["("+r+")(",["navigator.serviceWorker"].join(","),");"].join(""),nonce:e.nonce};return ne("script",null,o,null,0,"prefetch-service-worker")},zu=/*#__PURE__*/(t=>{"getRegistrations"in t&&t.getRegistrations().then(t=>{t.forEach(t=>{t.active&&t.active.scriptURL.endsWith("_URL_")&&t.unregister().catch(console.error)})}),"caches"in window&&caches.keys().then(t=>{const n=t.find(t=>t.startsWith("QwikBundles"));n&&caches.delete(n).catch(console.error)}).catch(console.error)}).toString(),Qu=()=>null;globalThis.__qwik&&console.error(`==============================================\nQwik version ${globalThis.__qwik} already imported while importing ${o}.\nThis can lead to issues due to duplicated shared structures.\nVerify that the Qwik libraries you're using are in "resolve.noExternal[]" and in "optimizeDeps.exclude".\n==============================================\n`),globalThis.__qwik=o,import.meta.hot&&import.meta.hot.dispose(()=>{globalThis.__qwik=void 0});export{pc as $,ae as Fragment,ic as NoSerializeSymbol,Qu as PrefetchGraph,Vu as PrefetchServiceWorker,he as RenderOnce,Hr as Resource,ge as SSRComment,ve as SSRRaw,ke as SSRStream,Se as SSRStreamBlock,sc as SerializerSymbol,be as SkipRender,we as Slot,Ut as _CONST_PROPS,dl as _DomContainer,gt as _EFFECT_BACK_REF,nn as _EMPTY_ARRAY,Bt as _IMMUTABLE,zs as _SharedContainer,zn as _SubscriptionData,Ht as _UNINITIALIZED,Vt as _VAR_PROPS,Hn as _chk,Yl as _deserialize,Ql as _dumpState,So as _executeSsrChores,Ms as _fnSignal,fn as _getConstProps,fs as _getContextContainer,cs as _getContextElement,us as _getContextEvent,ul as _getDomContainer,al as _getQContainerElement,un as _getVarProps,Ol as _hasStoreEffects,Yn as _isJSXNode,Ml as _isStore,Is as _isStringifiable,ml as _isTask,as as _jsxBranch,re as _jsxC,ie as _jsxQ,oe as _jsxS,ne as _jsxSorted,ee as _jsxSplit,Te as _mapApp_findIndx,Le as _mapArray_get,De as _mapArray_set,Ps as _noopQrl,As as _noopQrlDEV,Jl as _preprocessState,wc as _qrlSync,Os as _regSymbol,ys as _resolveContextWithoutSequentialScope,Ce as _restProps,Ke as _run,Gl as _serialize,wl as _task,Bn as _val,Zl as _verifySerializable,Uo as _vnode_ensureElementInflated,Oi as _vnode_getAttrKeys,si as _vnode_getFirstChild,Io as _vnode_isMaterialized,Mo as _vnode_isTextVNode,Eo as _vnode_isVirtualVNode,Fi as _vnode_toString,hs as _waitUntilRendered,Hs as _walkJSX,Mn as _wrapProp,Fn as _wrapSignal,Sc as component$,bc as componentQrl,An as createAsyncComputed$,qn as createAsyncComputedQrl,Pn as createComputed$,Rn as createComputedQrl,ds as createContextId,fe as createElement,Nn as createSerializer$,jn as createSerializerQrl,Cn as createSignal,kc as event$,yc as eventQrl,_l as forceStoreEffects,ul as getDomContainer,Hi as getLocale,et as getPlatform,fe as h,kn as implicit$FirstArg,Cs as inlinedQrl,_s as inlinedQrlDEV,e as isBrowser,r as isDev,n as isServer,vl as isSignal,le as jsx,ce as jsxDEV,ue as jsxs,oc as noSerialize,js as qrl,Ns as qrlDEV,xc as render,nt as setPlatform,mc as sync$,os as untrack,Il as unwrapStore,Wu as useAsyncComputed$,Lu as useAsyncComputedQrl,Nu as useComputed$,Au as useComputedQrl,Cu as useConstant,$s as useContext,ps as useContextProvider,Uu as useErrorBoundary,qc as useId,Qn as useLexicalScope,Su as useOn,ku as useOnDocument,xu as useOnWindow,Fu as useResource$,Br as useResourceQrl,Ou as useSerializer$,_u as useSerializerQrl,jc as useServerData,ju as useSignal,Rc as useStore,wu as useStyles$,mu as useStylesQrl,vu as useStylesScoped$,bu as useStylesScopedQrl,Tu as useTask$,pl as useTaskQrl,Du as useVisibleTask$,Iu as useVisibleTaskQrl,o as version,Ji as withLocale};
|