@qwik.dev/core 2.0.0-beta.16 → 2.0.0-beta.18

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/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.16-dev+a83ccf3",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",N=(t,n)=>t["qFuncs_"+n]||[],R="q:base",A="q:instance",q="q:container-island",_="/"+q,I="q:ignore",C="/"+I,P="q:container",j="/"+P,O="http://www.w3.org/1999/xhtml",E="http://www.w3.org/2000/svg",T="http://www.w3.org/1998/Math/MathML",M="qRender",F="q:key",L="q:props",D="q:seq",U="q:seqIdx",W=":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(R)??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)=>nt(t)?t.then(n,ot):n(t),ot=t=>{(t=>{throw i(!1,t,...[])})(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=We();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,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)},yt=(t,n,e,r,o=!1)=>{const i=$t(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)},mt=(t,n,e)=>{const r=$t(t,n,e);return r>=0?t[r+1]:null},wt=(t,n,e)=>$t(t,n,e)>=0,bt=t=>"foreignObject"===t;function vt(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(vt(n,n.localName,e,r))}return o}function gt(t,n,e,r){Un(t);let o=t,i=null,s=null,l=null;for(;o;){let c=null,u=null;if(Tn(o)){c=o.element;const t=ie(o),i=o.parent,f=null==s?n:i&&re(i);if(f){const t=St(f,ie(o));e=t.elementNamespace,r=t.elementNamespaceFlag}const a=le(o);if(u=vt(c,t,e,!a),c.remove(),null==s&&(s=u),l&&l.appendChild(u),o.element=u,o.flags&=-193,o.flags|=r,a){o=a,l=u;continue}if(fe(c)){const t=Fi(c);if(t){const n=le(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 St(t,n){const e=!t||!(!ie(t)||(r=t,192&r.flags));var r;const o=!e&&bt(ie(t));let i=O,s=0;const l="string"==typeof n||Tn(n);return l&&function(t){return"string"==typeof t?"svg"===(n=t)||bt(n):!!(64&t.flags);var n}(n)?(i=E,s=64):l&&function(t){return"string"==typeof t?"math"===t:!!(128&t.flags)}(n)?(i=T,s=128):!t||o||e||(i=64&t.flags?E:128&t.flags?T:O,s=192&t.flags),{elementNamespace:i,elementNamespaceFlag:s}}const kt=Symbol("invalid"),xt=Symbol("backRef"),Nt=Symbol("store.target"),Rt=Symbol("store.handler"),At=Symbol("store.all");class qt{u;h=void 0;p=null;$=null;constructor(t,n){this.p=t,this.u=n}force(){this.p?.m(7,void 0,this,this.h)}get untrackedValue(){return this.u}set untrackedValue(t){this.u=t}get value(){return _t(this,()=>this.h||=new Set,()=>this.untrackedValue)}set value(t){t!==this.u&&(this.u=t,this.p?.m(7,void 0,this,this.h))}valueOf(){}toString(){return this.constructor.name}toJSON(){return{value:this.u}}}const _t=(t,n,e)=>{const r=We();if(r){if(null===t.p){if(!r.p)return e();t.p=r.p}const o=r.k;o&&((t,n,e)=>{Vi(e,n),zi(n,t),Qi(n,t.p)})(t,o,n())}return e()},It=Symbol("CONST"),Ct=Symbol("VAR"),Pt=Symbol("OWNER"),jt=Symbol("PROPS_HANDLER"),Ot=Symbol("IMMUTABLE"),Et=Symbol("UNINITIALIZED"),Tt=t=>t.startsWith("on:")||t.startsWith("on-window:")||t.startsWith("on-document:");function Mt(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+Lt(t)}("-"===r.charAt(0)?r.slice(1):r.toLowerCase(),n)}}return null}function Ft(t){return t.startsWith("preventdefault:")}const Lt=t=>t.replace(/([A-Z-])/g,t=>"-"+t.toLowerCase()),Dt=t=>t.startsWith("on:")?["",t.substring(3)]:t.startsWith("on-window:")?["window",t.substring(10)]:["document",t.substring(12)],Ut=(t,n)=>{const e=":"+n;return t?t+e:e},Wt=(t,n)=>t?"-"+n:n,Vt=[],zt={};function Qt(t){return new Proxy({},new Bt(t))}Object.freeze(Vt),Object.freeze(zt);class Bt{owner;h=void 0;p=null;constructor(t){this.owner=t}get(t,n){if(n===It)return this.owner.constProps;if(n===Ct)return this.owner.varProps;if(n===Pt)return this.owner;if(n===jt)return this;let e;if("children"===n)e=this.owner.children;else{if("string"==typeof n&&"string"==typeof this.owner.type){const t=Mt(n);t&&(n=t)}e=Gt(this.owner,n),n in this.owner.varProps&&Ht(this,n)}return e instanceof gn&&4&e.N?e.value:e}set(t,n,e){if(n===Pt)this.owner=e;else if("children"===n)this.owner.children=e;else if(n===It)this.owner.constProps=e;else if(n===Ct)this.owner.varProps=e;else{if("string"==typeof n&&"string"==typeof this.owner.type){const t=Mt(n);t&&(n=t)}this.owner.constProps&&n in this.owner.constProps&&delete this.owner.constProps[n],this.owner.varProps===zt?this.owner.varProps={}:n in this.owner.varProps||(this.owner.toSort=!0),this.owner.varProps[n]!==e&&(this.owner.varProps[n]=e,Jt(this,n))}return!0}deleteProperty(t,n){let e=delete this.owner.varProps[n];return e&&Jt(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===It||n===Ct)return!0;const e=n in this.owner.varProps;if("string"==typeof n&&(e&&Ht(this,n),"string"==typeof this.owner.type)){const t=Mt(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 Ht=(t,n)=>{const e=We();e&&null===t.p&&e.p&&(t.p=e.p);const r=e?.k;r&&ls(t.owner._proxy,n,t,r)},Jt=(t,n)=>{const e=function(t,n){return t?.get(n)}(t.h,n);e&&t.p?.m(7,void 0,t,e)},Gt=(t,n)=>t.constProps&&n in t.constProps?t.constProps[n]:t.varProps[n],Yt=t=>t?Ct in t?"children"in t?{...t[Ct],children:t.children}:t[Ct]:t:null,Xt=t=>t&&It in t?t[It]:null,Kt=t=>t&&Ct in t,Zt=t=>{const n=t.R;if(n){t.R=null;try{n()}catch(t){i(!1,t)}}};function tn(t,n,e){t[xt]||(t[xt]=new Map);const r=t[xt];let o=r.get(n);return o||(o=[t,n],r.set(n,o)),e&&(o[3]=e),o}const nn=(t,n)=>(e,r)=>{const o=Ge();return o.k=tn(t,":"),o.p=n||void 0,Be(o,()=>{if(f(e))return e();if(r)return e[r];if(Wi(e))return e.value;if(l(e)&&rs(e))return ls(Zi(e),At,Ki(e),o.k),e;throw a(2)})},en=(t,n)=>{let e=null;return[r=>{"function"==typeof r&&(e||(e=[],t.R=Rs(()=>{t.R=null;for(const t of e)try{t()}catch(t){n(t)}})),e.push(r))},e??[]]};class rn extends qt{q;N;[xt]=void 0;constructor(t,n,e=33){super(t,kt),this.q=n,this.N=e}invalidate(){this.N|=1,this.p?.m(7,void 0,this,this.h)}force(){this.N|=2,super.force()}get untrackedValue(){return this._(),this.u}_(){if(!(1&this.N))return;const t=this.q;Ui(t);const n=We(),e=n?.k;n&&(n.k=tn(this,"."));try{const e=t.getFn(n)();if(nt(e))throw a(29,[t.dev?t.dev.file:"",t.j]);this.N&=-2,e!==this.u&&(this.u!==kt&&(this.N|=2),this.u=e)}finally{n&&(n.k=e)}}set value(t){throw a(30)}get value(){return super.value}}class on extends rn{O=!1;T=void 0;M=void 0;L=void 0;R;D=kt;U=null;[xt]=void 0;constructor(t,n,e=1){super(t,n,e)}get loading(){return _t(this,()=>this.M||=new Set,()=>this.untrackedLoading)}set untrackedLoading(t){t!==this.O&&(this.O=t,this.p?.m(7,void 0,this,this.M))}get untrackedLoading(){return this.O}get error(){return _t(this,()=>this.L||=new Set,()=>this.untrackedError)}set untrackedError(t){t!==this.T&&(this.T=t,this.p?.m(7,void 0,this,this.L))}get untrackedError(){return this.T}invalidate(){super.invalidate(),this.U=null}async promise(){return this.U=null,await st(()=>this._()),this.u}_(){if(!(1&this.N))return;const t=this.D===kt||null===this.U?this.W():this.D;if(nt(t)){const n=this.D===kt;this.untrackedLoading=!0,this.untrackedError=void 0,this.D!==kt&&Zt(this);const e=t.then(t=>{this.D=t,this.untrackedLoading=!1,this.untrackedError=void 0,this.setValue(t)&&Bi(this.p,this,this.h)}).catch(t=>{nt(t)||(this.D=t,this.untrackedLoading=!1,this.untrackedError=t)});if(n)throw e;return e}this.setValue(t)}async W(){if(!this.U){const[t]=en(this,t=>this.p?.handleError(t,null));this.U=this.q.getFn()({track:nn(this,this.p),cleanup:t})}return this.U}setValue(t){this.N&=-2;const n=t!==this.u;return n&&(this.u=t,this.N|=2),n}}const sn=t=>function(n,...e){return t.call(null,Ms(n),...e)};class ln extends rn{constructor(t,n){super(t,n,33)}B=!1;_(){if(!(1&this.N))return;Ui(this.q);let t=this.q.resolved;"function"==typeof t&&(t=t());const{deserialize:n,initial:e}=t,r=t.update,o=this.u===kt?e:this.u,i=Ke(()=>this.B?r?.(o)||o:n(o),this,".",this.p),s=this.B&&"undefined"!==i||i!==this.u;this.N&=-2,this.B=!0,s&&(this.N|=2,this.u=i)}}const cn=(t,n)=>new rn(n?.container||null,t,Ji(n?.serializationStrategy||"always")),un=(t,n)=>new on(n?.container||null,t,Ji(n?.serializationStrategy||"never")),fn=t=>new ln(null,t),an=t=>new qt(null,t),hn=/*#__PURE__*/sn(cn),dn=/*#__PURE__*/sn(un),pn=sn(fn),$n=t=>t.value,yn=(t,n)=>t[n],mn=t=>1===t.length?Wi(t[0])?t[0].$||=new gn(null,$n,t,null):rs(t[0])?new gn(null,$n,t,null):t[0].value:new gn(null,yn,t,null),wn=(...t)=>{const n=t[0],e=t.length<2?"value":t[1];if(!l(n))return n[e];if(Wi(n))return n instanceof gn&&4&n.N?n:mn(t);if(Kt(n)){const r=n[It],o=n[Ct];if(r&&e in r)return r[e];if(e in o)return bn(o[e],t)}else{const r=Zi(n);if(r)return bn(r[e],t)}return n[e]},bn=(t,n)=>Wi(t)?t:mn(n),vn=(t,n)=>{const e=wn(t,n);return e===Ot?t[n]:e};class gn extends qt{H;J;G;N;Y=void 0;[xt]=void 0;constructor(t,n,e,r,o=5){super(t,kt),this.H=e,this.J=n,this.G=r,this.N=o}invalidate(){this.N|=1;try{this._()}catch(t){this.p?.m(7,this.Y,this,this.h)}2&this.N&&(this.N&=-3,Bi(this.p,this,this.h))}force(){this.N|=2,this.p?.m(7,this.Y,this,this.h)}get untrackedValue(){return this._(),this.u}_(){if(!(1&this.N))return;const t=Ke(()=>this.J(...this.H),this,".",this.p);this.N&=-3,t!==this.u&&(this.N|=2,this.u=t)}X(){return this.J===$n&&Wi(this.H[0])?this.H[0]:this}set value(t){throw a(31)}get value(){return super.value}}let Sn=class{[xt]=void 0};function kn(t,n){En(n)&&Tn(n)&&ce(n);const e=n[xt];if(e){for(const[,n]of e)xn(t,n);e.clear()}}function xn(t,n){const e=n[2];if(e){for(const r of e)if(r instanceof qt)Nn(t,r,n);else if(r instanceof on)Rn(r,n);else if(Kt(r))An(r[jt],n);else if(t.K.has(r)){const e=t.K.get(r);An(Ki(e),n)}e.clear()}}function Nn(t,n,e){const r=n.h;r&&r.has(e)&&r.delete(e),n instanceof gn&&(n.Y=void 0,kn(t,n))}function Rn(t,n){const e=t.h;e&&e.has(n)&&e.delete(n);const r=t.M;r&&r.has(n)&&r.delete(n)}function An(t,n){const e=t?.h;if(e)for(const[t,r]of e.entries())r.has(n)&&(r.delete(n),0===r.size&&e.delete(t))}class qn extends Sn{flags;parent;previousSibling;nextSibling;props=null;slotParent=null;chores=null;blockedChores=null;constructor(t,n,e,r){super(),this.flags=t,this.parent=n,this.previousSibling=e,this.nextSibling=r}getProp(t,n){const e=this.flags;if(3&e){1&e&&Vn(this),this.props||=[];const r=$t(this.props,t,0);if(r>=0){let t=this.props[r+1];return"string"==typeof t&&n&&(this.props[r+1]=t=n(t)),t}}return null}setProp(t,n){this.props||=[];const e=$t(this.props,t,0);e>=0?this.props[e+1]=n:null!=n&&this.props.splice(-1^e,0,t,n)}getAttr(t){return 3&this.flags?(Vn(this),this.props||=[],mt(this.props,t,0)):null}setAttr(t,n,e){if(3&this.flags){Vn(this),this.props||=[];const r=$t(this.props,t,0);r>=0?(this.props[r+1]!=n&&this instanceof Cn&&e&&e.push(2,this.element,t,n),null==n?this.props.splice(r,2):this.props[r+1]=n):null!=n&&(this.props.splice(-1^r,0,t,n),this instanceof Cn&&e&&e.push(2,this.element,t,n))}}toString(){return String(this)}}class _n extends qn{textNode;text;constructor(t,n,e,r,o,i){super(t,n,e,r),this.textNode=o,this.text=i}}class In extends qn{firstChild;lastChild;constructor(t,n,e,r,o,i){super(t,n,e,r),this.firstChild=o,this.lastChild=i}}class Cn extends qn{firstChild;lastChild;element;elementName;constructor(t,n,e,r,o,i,s,l){super(t,n,e,r),this.firstChild=o,this.lastChild=i,this.element=s,this.elementName=l}}const Pn=t=>{he(t);const n=new Cn(-255,null,null,null,void 0,void 0,t,void 0);return Tn(n),Fn(n),Ln(n),t.vNode=n,n},jn=(t,n)=>{const e=new _n(-244,null,null,null,t,n);return he(t),Tn(e),Fn(e),Ln(e),e},On=()=>{const t=new In(-254,null,null,null,null,null);return Tn(t),Fn(t),Ln(t),t},En=t=>t instanceof qn,Tn=t=>!(1&~t.flags),Mn=t=>!(1&~t.flags)&&void 0!==t.firstChild&&void 0!==t.lastChild,Fn=t=>!(4&~t.flags),Ln=t=>!(2&~t.flags),Dn=t=>!(2&~t.flags)&&null!==t.getProp(m,null),Un=t=>(Tn(t),Wn(t),t),Wn=t=>{if(t)switch(7&t.flags){case 1:return"Element";case 2:return"Virtual";case 4:return"Text"}return"<unknown>"},Vn=t=>{if(1==(15&t.flags)){const n=t;n.flags^=8;const e=n.element,r=e.attributes;for(let t=0;t<r.length;t++){const o=r[t],i=o.name;if(i===B||!i)break;if(i.startsWith(P)){const t=Pe(n);"html"===o.value?yt(t,H,e.innerHTML,0):"text"===o.value&&"value"in e&&yt(t,"value",e.value,0)}else if(!i.startsWith("on:")){const t=o.value,e=Pe(n);yt(e,i,t,0)}}}};function zn(t,n){let e=t;if(Fn(t))return;let r=null;for(;;){if(n?.(e,r))return;const o=le(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 Qn(t,n,e=!1,r=[]){if((t=>!!(5&t.flags))(n))return Fn(n)&&Hn(t,n),r.push(e?n:Oe(n)),r;let o=le(n);for(;o;)Tn(o)?r.push(e?o:Oe(o)):Fn(o)?(Hn(t,o),r.push(e?o:Oe(o))):Qn(t,o,!!e,r),o=o.nextSibling;return r}const Bn=(t,n,e)=>{const r=n?"firstChild":"lastChild",o=n?"nextSibling":"previousSibling";let i=t;for(;e&&i&&Ln(i);){const t=i[r];if(!t)break;if(5&t.flags)return t;i=t}for(;i;){let t=i[o];if(t&&5&t.flags)return t;if(!t){let n=i.parent;if(n&&!Ln(n))return null;for(;n&&!(t=n[o]);)if(n=n.parent,n&&!Ln(n))return null;if(!t)return null;if(Fn(t)&&n&&Tn(n))return null}for(;t;){if(i=t,5&i.flags&&Oe(i))return i;t=i[r]}}return null},Hn=(t,n)=>{const e=(Fn(r=n),Wn(r),r);var r;if(!(8&e.flags)){const r=ee(n),o=e.textNode,i=r.ownerDocument;let s=Bn(n,!1,!0);const l=Bn(n,!0,!0),c=o||(l instanceof Cn?l.element:l?.textNode)||null;let u=c;for(;s&&Fn(s);){if(!(8&s.flags)){const n=i.createTextNode(s.text);t.push(6,r,u,n),u=n,s.textNode=n,s.flags|=8}s=Bn(s,!1,!0)}for(s=n;s&&Fn(s);){const n=Bn(s,!0,!0),e=!n||!Fn(n);if(!(8&s.flags)){if(e&&o)t.push(1,o,s.text);else{const n=i.createTextNode(s.text);t.push(6,r,c,n),s.textNode=n}s.flags|=8}s=n}}},Jn=(t,n)=>{Un(t);let e=t;const r=t.element,{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(En(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=Xn(e,n[t]);-1!=s&&(i.vNode=e,o.set(s,e))}if("string"==typeof n){const t=n.length;let r=Kn(n,t),o=0;for(;r<t;){const t=n.charCodeAt(r);o*=26,t>=97?o+=t-97:(o+=t-65,e=Gn(e,o),o=0),r++}}return e},Gn=(t,n)=>{let e=le(t);for(;e.flags>>>8!==n;)e=e.nextSibling,lt();return e},Yn=[],Xn=(t,n)=>{Un(t);let e=le(t);for(;e&&(!(e instanceof Cn)||e.element!==n);){if(Ln(e)){const t=e.nextSibling,n=le(e);n?(t&&Yn.push(t),e=n):e=t||(Yn.length?Yn.pop():null)}else{const t=e.nextSibling;e=t||t||Yn.pop()}lt()}for(;Yn.length;)Yn.pop();return Un(e),e},Kn=(t,n)=>{let e=0;for(;e<n;){if(!(t.charCodeAt(e)<=57))return e;e++}return n},Zn=t=>"false"!==t&&Boolean(t),te=(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,ne=(t,n,e,r)=>{Wn(n),Tn(n)&&ce(n);const o=e.parent;if(e===r){if(o)return;r=null}const i=re(n,!1),s=i&&i.element;let l=null;i&&(l=function(t,n,e){const{elementNamespace:r,elementNamespaceFlag:o}=St(n,e);let i=[];if(r===O)i=Qn(t,e);else{const s=Qn(t,e,!0);for(let t=0;t<s.length;t++){const e=s[t];if(Fn(e)){i.push(e.textNode);continue}if((192&e.flags)==(192&n.flags)){i.push(e.element);continue}const l=gt(e,n,r,o);l&&i.push(l)}}return i}(t,i,e)),o&&(e.previousSibling||e.nextSibling||o!==n)&&oe(t,o,e,!1);const c=32&n.flags;if(!c){let e=null;null==r?Ln(n)&&(e=Bn(n,!0,!1)):e=Ln(r)?Bn(r,!0,!0):r,e&&((t,n)=>{Fn(n)&&Hn(t,n)})(t,e),l&&l.length&&t.push(6,s,Oe(e),...l)}const u=r,f=u?u.previousSibling:n.lastChild;u?u.previousSibling=e:n.lastChild=e,f?f.nextSibling=e:n.firstChild=e,e.previousSibling=f,e.nextSibling=u,e.parent=n,c&&(e.flags|=32)},ee=(t,n=!0)=>(t=re(t,n))&&t.element,re=(t,n=!0)=>{for(;t&&!Tn(t);)t=t.parent||(n?t.slotParent:null);return t},oe=(t,n,e,r)=>{if(Fn(e)&&Hn(t,e),r){const r=ee(n,!1);if(n.getAttr(H))return;const o=Qn(t,e);r&&o.length&&t.push(4,r,...o)}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},ie=t=>{const n=Un(t);let e=n.elementName;if(void 0===e){const t=n.element,r=xe(t).toLowerCase();e=n.elementName=r,n.flags|=(t=>{switch(Se(t)){case E:return 64;case T:return 128;default:return 0}})(t)}return e},se=t=>{let n=t.text;return void 0===n&&(n=t.text=t.textNode.nodeValue),n},le=t=>{if(Fn(t))return null;let n=t.firstChild;return void 0===n&&(n=ce(t)),n},ce=t=>{const n=Un(t);let e=n.firstChild;return void 0===e&&(e=n.parent&&fe(n.element)?n.firstChild=n.lastChild=null:(t=>{const n=t.element,e=ve(n),r=n.ownerDocument?.qVNodeData?.get(n);return((t,n,e,r)=>{if(r){if(r.charCodeAt(0)===pt){const n=1;let o=1;for(;r.charCodeAt(o)!==pt;)o++;const i=r.substring(n,o);r=r.substring(o+1);const s=qe(t,e,i);if(!r)return s}return function(t,n,e,r){let o=0,i=null,s=null,l=null;const c=n=>{n.flags=255&n.flags|o<<8,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=De(t);return!n||n&&Fe(t)};let p=null;if(Ie(n,(y,w,b,v,g)=>{if(Te(y())){for(;d(r);)if(!(r=$e(r)))throw a(27,[n,y(),g]);f=null,l=null;let t=0;for(;Te(y());)t*=10,t+=b()-48;for(;t--;)c(Pn(r)),r=$e(r)}else if(59===y())t.setAttr(S,w(),null);else if(60===y())(p||=[]).push(t),t.setAttr($,w(),null);else if(61===y()){h||(h=Mi(e));const n=w();h.Z(parseInt(n),t)}else if(62===y())t.setAttr(L,w(),null);else if(64===y()){let n;v(g+1)===pt?(b(),n=decodeURI(w()),b()):n=w(),t.setAttr(F,n,null)}else if(91===y())t.setAttr(D,w(),null);else if(94===y())t.setAttr(U,w(),null);else if(96===y())h||(h=Mi(e)),_e(t,w(),h);else if(63===y())h||(h=Mi(e)),t.slotParent=Jn(h.rootVNode,w());else if(93===y())t.setAttr(k,w(),null);else if(123===y())b(),c(On()),Le.push(t,i,s,l,o),o=0,t=s,i=s=null;else if(y()===pt){const n=w(),e=w();t.setAttr(n,e,null)}else if(125===y())b(),t.lastChild=s,o=Le.pop(),l=Le.pop(),s=Le.pop(),i=Le.pop(),t=Le.pop();else if(126===y())t.setAttr(m,w(),null);else{for(;De(r)&&Fe(r);)r=$e(r);const t=r&&3===he(r)?r:null;null===f&&(f=t?t.nodeValue:null,u=0);let n=0;for(;Me(y());)n+=b()-97,n*=26;n+=b()-65;const e=null===f?"":f.substring(u,u+n);c(l=((t,n,e)=>{n&&he(n);const r=new _n(-252,null,t,null,n,e);return Tn(r),Fn(r),Ln(r),r})(l,t,e)),u+=n}}),p){h||(h=Mi(e));for(const t of p)h.ensureProjectionResolved(t);p=null}return t.lastChild=s,i}(t,r,n,e)}return qe(t,e)})(t,n,e,r)})(n)),e};let ue=null;const fe=t=>(ue||(ue=t.hasAttribute),ue.call(t,P));let ae=null;const he=t=>(ae||(ae=Ne(t,"nodeType")),ae.call(t)),de=t=>{const n=he(t);return 3===n||1===n};let pe=null;const $e=t=>{for(pe||(pe=Ne(t,"nextSibling")),be||(be=Ne(t,"firstChild"));t;)if(null!==(t=pe.call(t))){const n=he(t);if(3===n||1===n)break;if(8===n){const n=t.nodeValue;if(n?.startsWith(I))return ye(t,q,pe,be);if(t.nodeValue?.startsWith(_))return ye(t,C,pe,be);if(n?.startsWith(P))for(;t&&(t=pe.call(t))&&(8!==he(t)||!t.nodeValue?.startsWith(j)););}}return t};function ye(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=we(t),o&&(o=e.call(o))),t=o}return null}let me=null;const we=t=>(me||(me=Ne(t,"parentNode")),me.call(t));let be=null;const ve=t=>{for(be||(be=Ne(t,"firstChild")),t=t&&be.call(t);t&&!de(t);)t=$e(t);return t};let ge=null;const Se=t=>(ge||(ge=Ne(t,"namespaceURI")),ge.call(t));let ke=null;const xe=t=>(ke||(ke=Ne(t,"nodeName")),ke.call(t)),Ne=(t,n)=>{let e;for(;t&&!(e=Object.getOwnPropertyDescriptor(t,n)?.get);)t=Object.getPrototypeOf(t);return e||function(){return this[n]}},Re=t=>"STYLE"===t.nodeName&&(t.hasAttribute(S)||t.hasAttribute(b)),Ae=t=>t.hasAttribute(B),qe=(t,n,e)=>{let r=null;const o=()=>{for(;De(i)&&Fe(i);)i=$e(i)};let i=n;o();let s=null;for(;i;){const n=he(i);let e=null;3===n?e=jn(i,i.textContent??void 0):1===n&&(e=Pn(i)),e&&(e.parent=t,s&&(s.nextSibling=e),e.previousSibling=s,s=e),r||(t.firstChild=r=s),i=$e(i),o()}if(t.lastChild=s||null,t.firstChild=r,e){let n=null;Ie(e,(e,r)=>{if(61===e()){n||(n=Mi(t.element));const e=r();n.Z(parseInt(e),t)}else 96===e()?(n||(n=Mi(t.element)),_e(t,r(),n)):r()})}return r};function _e(t,n,e){t[xt]?((t,n)=>{for(const[e,r]of n)t.set(e,r)})(t[xt],e.tt(n)):Object.defineProperty(t,xt,{get(){const r=e.tt(n);return t[xt]=r,r},set(n){Object.defineProperty(t,xt,{value:n,writable:!0,enumerable:!0,configurable:!0})},enumerable:!0,configurable:!0})}const Ie=(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||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)},Ce=t=>{if(3&t.flags){Vn(t);const n=[],e=Pe(t);for(let t=0;t<e.length;t+=2){const r=e[t];r.startsWith(B)||n.push(r)}return n}return[]},Pe=t=>(t.props||=[],t.props),je=t=>t.parent||t.slotParent,Oe=t=>null===t||Ln(t)?null:Tn(t)?t.element:(Fn(t),t.textNode);function Ee(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(Fn(i))s.push(Yi(se(i)));else if(Ln(i)){const e=["["+String(i.flags>>>8)+"]"];Ce(i).forEach(t=>{if(t!==ht){const n=i.getAttr(t);e.push(" "+t+"="+Yi(n))}});const r=(o?"":"")+(dt[i.getAttr(ht)||"V"]||dt.V)+(o?"":"");s.push("<"+r+e.join("")+">");const l=le(i);l&&s.push(" "+Ee.call(l,t-1,n+" ",!0,!0,o)),s.push("</"+r+">")}else if(Tn(i)){const r=ie(i),l=[],c=Ce(i);c.forEach(t=>{const n=i.getAttr(t);l.push(" "+t+"="+Yi(n))});const u=Oe(i);if(u){const t=u.ownerDocument.qVNodeData?.get(u);t&&l.push(" q:vnodeData="+Yi(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?"="+Yi(n.value):""))}if(s.push("<"+r+l.join("")+">"),Mn(i)||e){const e=le(i);e&&s.push(" "+Ee.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 Te=t=>48<=t&&t<=57,Me=t=>97<=t&&t<=122;function Fe(t){return!Ae(t)||Re(t)}const Le=[],De=t=>t&&"object"==typeof t&&1===he(t);let Ue;const We=()=>{if(!Ue){const t="undefined"!=typeof document&&document&&document.__q_context__;if(!t)return;return c(t)?document.__q_context__=Je(t):t}return Ue},Ve=()=>{const t=We();if(!t)throw a(9);return t},ze=()=>{const t=We();if(!t||t.nt!==M)throw a(10);return t};function Qe(t){if(null==t)return t;const n=Ve();return function(...e){return He.call(this,n,t,e)}}function Be(t,n,...e){return He.call(this,t,n,e)}function He(t,n,e){const r=Ue;let o;try{Ue=t,o=n.apply(this,e)}finally{Ue=r}return o}const Je=([t,n,e])=>{const r=Mi(t),o=Jn(r.rootVNode,t),i=r.l;return i&&function(t){ut=t}(i),Ge(i,o,t,n,e)},Ge=(t,n,e,r,o)=>({et:o,Y:n,rt:e,nt:r,ot:void 0,k:void 0,l:t||(r&&l(r)&&"locale"in r?r.locale:void 0),p:void 0}),Ye=t=>{if(!Ue)return t();{const n=Ue.k;try{return Ue.k=void 0,t()}finally{Ue.k=n}}},Xe=/*#__PURE__*/Ge(void 0,void 0,void 0,M),Ke=(t,n,e,r,o)=>{const i=Xe.k,s=Xe.p;try{return Xe.k=tn(n,e,o),Xe.p=r,Be(Xe,t)}finally{Xe.k=i,Xe.p=s}},Ze=(t,n,e,r,o)=>(t instanceof gn&&t.Y!==n&&n&&(t.Y=n),Ke(()=>t.value,n,e,r,o)),tr=()=>{const t=We();if(t){const n=t.Y;let e=null;return null!=n&&(En(n)?Tn(n)&&(e=Oe(n)):e=n),e??t.ot?.it(void 0)}},nr=()=>{const t=We();if(t)return t.nt},er=()=>{const t=We();if(t)return t.p},rr=t=>t,or=t=>{const n=Li(t)?.qContainer;return n?(async()=>{for(;;){await n.m(255).st;const t=n.lt||0;if(await Promise.resolve(),t===(n.lt||0))return}})():Promise.resolve()},ir=()=>{const t=ze(),n=t.Y;let e=t.p.getHostProp(n,D);null===e&&(e=[],t.p.setHostProp(n,D,e));let r=t.p.getHostProp(n,U);for(null===r&&(r=0),t.p.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}},sr=t=>(/^[\w/.-]+$/.test(t),/*#__PURE__*/Object.freeze({id:Lt(t)})),lr=(t,n)=>{const{val:e,set:r,iCtx:o}=ir();void 0===e&&(o.p.setContext(o.Y,t,n),r(1))},cr=(t,n)=>{const{val:e,set:r,iCtx:o}=ir();if(void 0!==e)return e;const i=o.p.resolveContext(o.Y,t);if("function"==typeof n)return r(Be(void 0,n,i));if(void 0!==i)return r(i);if(void 0!==n)return r(n);throw a(8,[t.id])},ur=t=>{const n=Ve(),e=n.Y;if(e)return n.p?.resolveContext(e,t)},fr=/*#__PURE__*/sr("qk-error");class ar{data;constructor(t){this.data=t}}const hr=()=>{const t=Ve();let n=t.ot;return n||(n=Mi(Li(t.rt)).parseQRL(decodeURIComponent(String(t.et)))),n.ct},dr=(t,n)=>{const[e]=hr();e.value="number"===n.type?n.valueAsNumber:n.value},pr=(t,n)=>{const[e]=hr();e.value=n.checked},$r="bind:value",yr="bind:checked";class mr{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||vr(n)?zt:n,this.constProps=!e||vr(e)?null:e,this.children=r,"string"==typeof t){for(const t in this.constProps){const n=Mt(t);n&&(wr(this.constProps,n,this.constProps[t]),delete this.constProps[t])}for(const t in this.varProps){const n=Mt(t);n&&(e&&t in e||(i=wr(this.varProps,n,this.varProps[t])||i),delete this.varProps[t])}yr in this.varProps?i=gr(this.varProps,yr)||i:$r in this.varProps?i=gr(this.varProps,$r)||i:this.constProps&&(yr in this.constProps?gr(this.constProps,yr):$r in this.constProps&&gr(this.constProps,$r)),"className"in this.varProps&&(this.varProps.class=this.varProps.className,this.varProps.className=void 0,i=!0),this.constProps&&"className"in this.constProps&&(this.constProps.class=this.constProps.className,this.constProps.className=void 0)}}get props(){return this._proxy||=Qt(this)}}const wr=(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]},br=t=>t instanceof mr,vr=t=>{for(const n in t)if(void 0!==t[n])return!1;return!0},gr=(t,n)=>{const e=t[n];if(t[n]=void 0,e)return n===yr?(t.checked=e,t["on:input"]=Is(null,"_chk",pr,null,null,[e])):(t.value=e,t["on:input"]=Is(null,"_val",dr,null,null,[e])),!0},Sr=(t,n,e,r,o,i,s)=>Ye(()=>new mr(t,n,e,r,i,!1,s)),kr=(t,n,e,r,o,i,s)=>Ye(()=>{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 mr(t,n,e,r,i,!0,s)}),xr=(t,n,e,r)=>qr(t,n,r),Nr=(t,n,e,r,o)=>qr(t,{...e,...n},o),Rr=(t,n,e,r,o,i)=>qr(t,{...e,...n,children:r},i),Ar=t=>t.children,qr=(t,n,e,r,o)=>kr(t,n,null,null,0,e,o),_r=qr,Ir=qr;function Cr(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"string"==typeof t&&!o&&"dangerouslySetInnerHTML"in r&&(o="innerhtml"),kr(t,n,null,r.children,0,o)}const Pr=t=>t.children,jr=(t,n)=>new mr(Ar,null,null,t.children,n),Or=(t,n)=>{const{val:e,set:r,iCtx:o,i}=ir();if(e)return;r(1);const s=new Tr(10|(!1===n?.deferUpdates?0:16),i,o.Y,t,void 0,null);r(s);const l=Er(s,o.p,o.Y);if(nt(l))throw l},Er=(t,n,e)=>{t.N&=-9,Zt(t);const r=Ge(n.l,e,void 0,"qTask");r.p=n;const o=t.ot.getFn(r,()=>kn(n,t)),i=nn(t,n),[s]=en(t,t=>n.handleError(t,e)),l={track:i,cleanup:s};return et(()=>o(l),s,r=>{if(nt(r))return r.then(()=>Er(t,n,e));throw r})};class Tr extends Sn{N;ut;ft;ot;ht;R;constructor(t,n,e,r,o,i){super(),this.N=t,this.ut=n,this.ft=e,this.ot=r,this.ht=o,this.R=i}}const Mr=t=>t instanceof Tr,Fr=(t,n)=>{const[e]=hr(),r=1&e.N?16:3;Mi(n).m(r,e)},Lr=(t,n)=>{const{val:e,set:r,i:o,iCtx:i}=ir();if(null!=e)return e;const s=i.p,l=Ur(s,n),c=i.Y,u=new Tr(12,o,c,t,l,null);return r(l),Vr(u,s,c),l},Dr=t=>Sr(Pr,null,null,function(t){const n=t.value;if(Wr(n)){const e=n._state;if("pending"===e&&t.onPending)return Promise.resolve().then(Qe(t.onPending));if("rejected"===e&&t.onRejected)return Promise.resolve(n._error).then(Qe(t.onRejected));{const e=Ye(()=>n._resolved);if(void 0!==e)return Promise.resolve(e).then(Qe(t.onResolved))}return Ye(()=>n.value).then(Qe(t.onResolved),Qe(t.onRejected))}if(nt(n))return n.then(Qe(t.onResolved),Qe(t.onRejected));if(Wi(n)){const e=st(()=>n.value);return(nt(e)?e:Promise.resolve(e)).then(Qe(t.onResolved))}return Promise.resolve(n).then(Qe(t.onResolved))}(t),0,null),Ur=(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}))(n);return r.value=e,os(t,r,1)},Wr=t=>l(t)&&"resource"===(Zi(t)||t).__brand,Vr=(t,n,e)=>{t.N&=-9,Zt(t);const r=Ge(n.l,e,void 0,"qResource");r.p=n;const o=t.ot.getFn(r,()=>kn(n,t)),i=t.ht,s=nn(t,n),[l,c]=en(t,t=>n.handleError(t,e)),u=es(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=(t,n)=>!d&&(d=!0,t?(d=!0,u.loading=!1,u._state="resolved",u._resolved=n,u._error=void 0,a(n)):(d=!0,u.loading=!1,u._state="rejected",u._error=n,h(n)),ts(i,"_state"),!0);c.push(()=>{if(!0===Ye(()=>i.loading)){const t=Ye(()=>i._resolved);p(!0,t)}}),Be(r,()=>{i._state="pending",i.loading=!0,i.value=new Promise((t,n)=>{a=t,h=n})});const $=et(()=>o(f),t=>{p(!0,t)},r=>{if(nt(r))return r.then(()=>Vr(t,n,e));p(!1,r)}),y=u._timeout;return y>0?Promise.race([$,it(y).then(()=>{p(!1,new Error("timeout"))&&Zt(t)})]):$},zr=t=>Sr(Ar,null,{[w]:""},t.children,0,t.name??""),Qr=[void 0,null,!0,!1,"",Vt,zt,kt,At,Et,zr,Pr,NaN,1/0,-1/0,Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER-1,Number.MIN_SAFE_INTEGER],Br=["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"],Hr=["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 Jr(t,n,e){let r=n.o,o=n.dt;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.$t(null,0,n.resolved));else{if(o||(o=t.yt(n.j)),!o)throw a(14,[n.o]);o.startsWith("./")&&(o=o.slice(2))}let s=null;if(Array.isArray(n.ct)&&n.ct.length>0&&(s=n.ct.map(n=>`${t.wt(n)}`)),e)return[o,r,s];let l=`${o}#${r}`;return s&&s.length>0&&(l+=`[${s.join(" ")}]`),l}function Gr(t,n,e){return Is(t,n,null,null,e,null)}const Yr=new WeakMap,Xr=new Map,Kr=(t,n,e)=>{switch(n){case 0:case 13:return e;case 1:return t.tt(e);case 2:if(!t.bt)return Et;const r=t.bt[e];return-1===r||void 0===r?Et:t.tt(r);case 3:return Qr[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 Gr(t.tt(n[0]),t.tt(n[1]),n.length>2?n.slice(2):null)}return Gr("",String(e));case 21:return new Tr(-1,-1,null,null,null,null);case 22:{const n=Ur(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 Us(null);case 24:return new qt(t,0);case 25:return new gn(t,null,null,null);case 26:return new rn(t,null);case 27:return new on(t,null);case 28:return new ln(t,null);case 29:{const n=e,r=n[0],o=n[1],i=Kr(t,r,o),s=is(i,0,t);return Pi(r)&&Xr.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 mr(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 Yr.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 Qt(null);case 9:return Zr(t,e);case 10:const f=Zr(t,e);if(En(f))return ce(f),Oe(f);throw a(17,[typeof f]);case 33:return new ar({});default:throw a(18,[n])}};function Zr(t,n){return n?t.rootVNode?Jn(t.rootVNode,n):void 0:t.element?.ownerDocument}const to=(t,n,e=Vt)=>{let r=null,o=null;if(f(t))o=t;else{if(!u(t))throw a(7,[t]);r=t}return Is(r,n,null,o,null,e)},no=(t,n,e=Vt)=>Is(null,n,t,null,null,e),eo=(t,n=Vt)=>Is(null,t,null,null,null,n),ro=(t,n,e=Vt)=>{const r=eo(t,e);return r.dev=n,r},oo=(t,n,e,r=Vt)=>{const o=to(t,n,r);return o.dev=e,o},io=(t,n,e,r=Vt)=>{const o=no(t,n,r);return o.dev=e,o},so=(t,n)=>(void 0===globalThis.__qwik_reg_symbols&&(globalThis.__qwik_reg_symbols=new Map),globalThis.__qwik_reg_symbols.set(n,t),t),lo=(t,n,e,r,o)=>{const i=Ge(t.l,e||void 0,void 0,M);let s;e&&(i.k=tn(e,":"),i.p=t),t.ensureProjectionResolved(n);let l=!1;if(null===r&&(r=t.getHostProp(n,$)),p(r))"children"in(o=o||t.getHostProp(n,L)||zt)&&delete o.children,s=r.getFn(i);else if(Vs(r)){const t=r;s=()=>He(i,t,[o||zt,null,0])}else{l=!0;const t=r;s=()=>He(i,t,[o||zt])}const c=(e=0)=>et(()=>(l||(t.setHostProp(n,U,null),t.setHostProp(n,V,null)),e>0&&En(n)&&kn(t,n),s(o)),e=>{const r=t.getHostProp(n,W);return r?function(t,n){const e=uo(t);let r=t;const o="on:qvisible";return rt(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]=fo(r);r=n,i=t}l=i}l&&("script"===l.type&&s===o&&(c="on-document:qinit"),co(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 co(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 uo(t){const n=[t];for(;n.length;){const t=n.shift();if(br(t)){if("string"==typeof t.type)return t;n.push(t.children)}else if(c(t))n.push(...t);else{if(nt(t))return rt(t,t=>uo(t));if(Wi(t))return uo(Ye(()=>t.value))}}return null}function fo(t){if(br(t)){const n=ao();return t.type===Pr||Vs(t.type)?(null==t.children?t.children=n:c(t.children)?t.children.push(n):t.children=[t.children,n],[n,t]):[n,Sr(Pr,null,null,[t,n],0,null)]}if("object"!=typeof(n=t)&&"function"!=typeof n&&null!=n){const n=ao();return[n,Sr(Pr,null,null,[t,n],0,null)]}var n;if(c(t)&&t.length>0){const[n,e]=fo(t[0]);return[n,t]}return[null,t]}function ao(){return new mr("script",null,{hidden:""})}const ho=Symbol("skip render"),po=()=>null,$o=()=>null,yo=t=>[qr($o,{data:"qkssr-pu"}),t.children,qr($o,{data:"qkssr-po"})],mo=(t,n)=>qr(jr,{children:qr(wo,t)},n),wo=()=>null;function bo(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)+"&lt;";else if(62===e)n+=t.substring(o,r)+"&gt;";else if(38===e)n+=t.substring(o,r)+"&amp;";else if(34===e)n+=t.substring(o,r)+"&quot;";else{if(39!==e)continue;n+=t.substring(o,r)+"&#39;"}o=r+1}return 0===o?t:n+t.substring(o)}function vo(t){return!t.startsWith("q:")&&!t.startsWith(":")}const go=(t,n=[],e={})=>{let r=null;const o=t[It];if(o)for(const t in o)n.includes(t)||(r||={},r[t]=o[t]);const i=e,s=t[Ct];for(const t in s)n.includes(t)||(i[t]=s[t]);return Qt(new mr(null,i,r))},So=t=>y+t;function ko(t){return"class"in t||"className"in t}function xo(t){return"class"===t||"className"===t}const No=t=>{if(t){let n=0;do{t=t.substring(0,n)+So(t.substring(n))}while(0!==(n=t.indexOf(" ",n)+1))}return t||null},Ro=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"]),Ao=(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)},qo=t=>{if(!t)return"";if(u(t))return t.trim();const n=[];if(c(t))for(const e of t){const t=qo(e);t&&n.push(t)}else for(const[e,r]of Object.entries(t))r&&n.push(e.trim());return n.join(" ")},_o=t=>t.replace(/([A-Z])/g,"-$1").toLowerCase();function Io(t,n,e){if(xo(t)){const t=qo(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(_o(e)+":"+Co(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&&Ft(t)&&(n="");return n}const Co=(t,n)=>"number"!=typeof n||0===n||Ro.has(t)?n:n+"px",Po=(t,n,e,r)=>{let o=t.vt;const i=[],s=[],l=[];let u=null,f=null,h=null,p=null,y=null,w=null,b=null,v=null,g=0,S=0,k=!0;const x=new ar({gt:r,St:!0}),N=new ar({gt:r,St:!1});return R(n,e),function n(){for(;s.length;){const e=s.shift(),r=s.shift();if(nt(e))return e.then(t=>(R(t,r),n())).catch(e=>(t.handleError(e,r),n()));R(e,r)}if(l.length){const t=l.splice(0);return Promise.all(t).then(()=>n())}}();function R(n,e){if(En(n),En(e),u=e,h=null,f=le(e),O(n,!0),!(32&u.flags))for(;i.length;){for(;g<S;){if(ct(),"string"==typeof v)Z(v);else if("number"==typeof v)Z(String(v));else if(v&&"object"==typeof v){if(Array.isArray(v))C(v,!1);else if(Wi(v)){G("S",null);const n=v instanceof gn?v.X():v,e=f?.[xt]?.get(".")?.[2]?.has(n);if(!e){const e=h||f;C(A(()=>Ze(n,e,".",t)),!0)}}else if(nt(v))G("A",null),s.push(v,h||f);else if(br(v)){const t=v.type;"string"==typeof t?(W(),V(v,t),C(v.children,!0)):"function"==typeof t&&(t===Pr?(W(),G("F",v.key),C(v.children,!0)):t===zr?(W(),M()||C(v.children,!0)):t===Eo?(T(),C(v.children,!0,!1)):t===$o||t===po?U():(W(),Y(t)))}}else v===ho?o=[]:Z("");q()}U(),D(),j()}}function A(t){try{return t()}catch(n){if(nt(n)){const e=n.then(()=>st(t));return s.push(e,h||f),null}throw n}}function q(){if(k){if(g++,g<S)v=b[g];else if(!1===i[i.length-1])return j();null!==h?h=null:I()}else k=!0}function _(){return f?f.nextSibling:null}function I(){f=_()}function C(n,e,r=!0){r&&(null==n||e&&c(n)&&0===n.length)?function(){const n=f&&le(f);if(null!==n){let e=n;for(;e;)Fo(t,e),e=e.nextSibling;((t,n,e)=>{const r=ee(n);if(r)if(Tn(n))t.push(5,r);else{const e=Qn(t,n);e.length&&t.push(4,r,...e)}const o=e.previousSibling;o?o.nextSibling=null:n.firstChild=null,n.lastChild=o})(o,f,n)}}():(O(n,e),e&&(w=null,p=null,y=null,u=h||f,f=le(u),h=null),k=!1)}function j(){i.pop()&&(w=i.pop(),p=i.pop(),y=i.pop(),h=i.pop(),f=i.pop(),u=i.pop()),v=i.pop(),S=i.pop(),g=i.pop(),b=i.pop(),q()}function O(t,n){i.push(b,g,S,v),n&&i.push(u,f,h,y,p,w),i.push(n),Array.isArray(t)?(g=0,S=t.length,b=t,v=S>0?t[0]:null):void 0===t?(g=0,v=null,b=null,S=0):(g=0,v=t,b=null,S=1)}function E(){return h?f:_()}function T(){const n=v.key;f=u.getProp(n,n=>Jn(t.rootVNode,n)),f=f&&32&f.flags?null:f,null==f&&(h=On(),h.setProp(m,n),h.slotParent=u,u.setProp(n,h))}function M(){const n=(t=>{let n=1;for(;n--;){for(;t&&(!Ln(t)||null===t.getProp($,null));){const e=t.slotParent,r=Ln(t)&&e;r&&n++,t=r||t.parent}n>0&&(t=t.parent)}return t})(u),e=function(n){const e=v,r=e.constProps;if(r&&"object"==typeof r&&"name"in r){const e=r.name;if(n&&e instanceof gn)return Ze(e,n,":",t)}return Gt(e,"name")||""}(n),r=n?n.getProp(e,null):null;return null==r?(ne(o,u,h=On(),f&&E()),h.setProp(m,e),n&&n.setProp(e,h),!1):(r===f||(ne(o,u,h=r,f&&E()),h.setProp(m,e),n&&n.setProp(e,h)),!0)}function D(){if(w){for(const n of w.values())32&n.flags||(Fo(t,n),oe(o,u,n,!0));w.clear(),w=null}f=null}function U(){if(null!==f)for(;f;){const n=f;I(),u===n.parent&&(Fo(t,n),oe(o,u,n,!0))}}function W(){for(;null!==f&&Fn(f);){Fo(t,f);const n=f;I(),oe(o,u,n,!0)}}function V(n,e){const i=f&&Tn(f)&&e===ie(f),s=n.key;let c=!1;const p=jo(f);if(i&&s===p)B(e,s);else{const i=Q(e,s);J(e,s,i,u,()=>c=function(n,e,i){const s=function(n){const e=re(u),{elementNamespace:r,elementNamespaceFlag:o}=St(e,n),i=t.document.createElementNS(r,n);return h=((t,n)=>{he(t);const e=new Cn(-247,null,null,null,null,null,t,n);return Tn(e),Fn(e),Ln(e),t.vNode=e,e})(i,n),h.flags|=o,i}(e);function c(t,n,e){if(null!=(n=Io(t,n,r))){if(64&e.flags){const e=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}}(t);if(e)return void s.setAttributeNS(e,t,n)}s.setAttribute(t,n)}}const{constProps:d}=n;let p=!1;if(d)for(const n in d){let r=d[n];if(Tt(n)){const t=Dt(n);if(t){const[e,i]=t,s=Ut(e,i),l=Wt(e,s);i&&(h.setProp(Uo+":"+s,r),e&&h.setAttr(n,"",o),z(l))}p=!0;continue}if("ref"===n){if(Wi(r)){r.value=s;continue}if("function"==typeof r){r(s);continue}if(null==r)continue;throw a(15,[i])}if(Wi(r)){const e=h,o=r;r=st(()=>Ze(o,e,n,t,x))}if(nt(r)){const t=h,e=r.then(e=>c(n,e,t));l.push(e);continue}if(n!==H)if("textarea"!==e||"value"!==n)c(n,r,h);else{if(r&&"string"!=typeof r)continue;s.value=bo(r||"")}else r&&(s.innerHTML=String(r),s.setAttribute(P,"html"))}const $=n.key;return $&&h.setProp(F,$),r&&(ko(n.varProps)||n.constProps&&ko(n.constProps)||s.setAttribute("class",r)),ne(o,u,h,f),p}(n,e))}const $=[],y=n.varProps;if(n.toSort){const t=Object.keys(y).sort();for(const n of t){const t=y[n];null!=t&&$.push(n,t)}}else for(const t in y){const n=y[t];null!=n&&$.push(t,n)}null!==s&&yt($,F,s,0);const m=h||f,w=m.element;w.vNode||(w.vNode=m),c=function(n,e){Vn(n);const i=Pe(n);let s=0,c=0,u=!1;const f=(t,n,e,s,l)=>{const c=null!=e?Io(n,e,r):null;l?null!=c&&(i.splice(s,0,n,c),o.push(2,t.element,n,c)):null!=c?(i[s+1]=c,o.push(2,t.element,n,c)):(i.splice(s,2),o.push(2,t.element,n,null))},h=(e,r,o,s)=>{if(e.startsWith(":"))return void n.setProp(e,r);if("ref"===e){const t=n.element;if(Wi(r))return void(r.value=t);if("function"==typeof r)return void r(t);throw a(15,[null])}const c=n[xt]?.get(e);if(Wi(r)){const o=r instanceof gn?r.X():r,i=c?.[0];if(i===o)return;c&&xn(t,c);const s=n;r=st(()=>Ze(o,s,e,t,N))}else c&&xn(t,c);if(nt(r)){const t=n,o=r.then(n=>{const r=$t(i,e,0),o=r<0;f(t,e,n,o?-1^r:r,o)});return void l.push(o)}f(n,e,r,o,s)},d=(t,n)=>{const e=Dt(t);if(e){const[t,r]=e,o=Ut(t,r),i=Wt(t,o);h(":"+o,n,0,!1),z(i),u=!0}};for(;s<e.length||c<i.length;){const t=s<e.length?e[s]:void 0,r=c<i.length?i[c]:void 0;if(r?.startsWith(Uo))c+=2;else if(void 0===t)Tt(r)?c+=2:h(r,null,c,!1);else if(void 0===r){const n=e[s+1];Tt(t)?d(t,n):h(t,n,c,!0),s+=2,c+=2}else if(t===r){const r=e[s+1],o=i[c+1],l=Tt(t);r!==o?l?d(t,r):h(t,r,c,!1):l&&!n.element.qDispatchEvent&&d(t,r),s+=2,c+=2}else if(t<r){const n=e[s+1];Tt(t)?d(t,n):h(t,n,c,!0),s+=2,c+=2}else Tt(r)?c+=2:h(r,null,c,!1)}return u}(m,$)||c,c&&(w.qDispatchEvent||(w.qDispatchEvent=(n,e)=>{const r=Lt(n.type),o=":"+e.substring(1)+":"+r,i=[m.getProp(o,null),m.getProp(Uo+o,null)];let s=!1;return i.flat(2).forEach(e=>{if(e)if(d(e))e(n,w);else{const r=t.m(2,m,e,[n,w]);s=s||!0===r}}),s}))}function z(n){const e=t.document.defaultView;e&&(e.qwikevents||=[]).push(n)}function Q(t,n){return null==n?null:t?t+":"+n:n}function B(t,n){const e=Q(t,n);return!(!e||!w?.has(e)||(w.delete(e),0))}function J(n,e,r,i,s,l){if(h=function(n,e){let r=null;if(null===p){p=new Map,y=[];let o=f;for(;o;){const i=Tn(o)?ie(o):null,s=jo(o)||Oo(o,t.tt);null===r&&s==e&&i==n?r=o:null===s?y.push(i,o):p.set(Q(i,s),o),o=o.nextSibling}}else if(null===e){for(let t=0;t<y.length;t+=2)if(y[t]===n){r=y[t+1],y.splice(t,2);break}}else{const t=Q(n,e);p.has(t)&&(r=p.get(t),p.delete(t))}return function(n){if(!n){if(f){const n=Tn(f)?ie(f):null,e=jo(f)||Oo(f,t.tt);if(null!=e){const t=Q(n,e);w||=new Map,w.set(t,f),p?.delete(t)}}return}let e=f;for(;e&&e!==n;){const n=Tn(e)?ie(e):null,r=jo(e)||Oo(e,t.tt);if(null!=r){const t=Q(n,r);w||=new Map,w.set(t,e),p?.delete(t)}e=e.nextSibling}}(r),r}(n,e),h)return f=h,void(h=null);if(null!=r){const n=w?.get(r)||null;if(n){if(w.delete(r),l&&f){const n=jo(f)||Oo(f,t.tt);if(null!=n){const t=Q(Tn(f)?ie(f):null,n);null!=t&&(w||=new Map,w.set(t,f))}}return ne(o,i,n,f),f=n,void(h=null)}}return s()}function G(t,n){const e="F"===t,r=jo(f);if(f&&Ln(f)&&r===n&&(!e||n))return void B(null,r);const i=()=>{ne(o,u,h=On(),f&&E()),h.setProp(F,n)};null!==n?J(null,n,Q(null,n),u,i,!0):i()}function Y(n){const e=n[Ws];let r=h||f;const o=v;if(e){const n=o.props;let i=!1;const[s]=e,l=s.j,c=Oo(r,t.tt),a=o.key||l;if(a===(jo(r)||c)?l===c&&o.key?B(null,a):(X(r,s,n),r=h,i=!0):(J(null,a,a,u,()=>{X(r,s,n),i=!0}),r=h||f),r){const e=r.getProp(L,t.tt);i||(i||=function(t,n,e,r){let o=!1,i=!1;if(e){const t=e[jt].h,s=To(n[It],e[It],e[jt],r,!1);if(i=s,o||=s,t&&t.size>0){const t=To(n[Ct],e[Ct],e[jt],r);i||=t}}return i&&(e?e[Pt]=n[Pt]:n&&(t.setProp(L,n),e=n)),o}(r,n,e,t)),i&&(r.setProp($,s),r.flags&=-33,t.m(6,r,s,e))}!function(t,n){const e=Array.isArray(t)?t:[t],r=t=>new mr(Eo,null,null,[],t),o=[];if(n){const t=Pe(n);for(let n=0;n<t.length;n+=2){const e=t[n];if(vo(e)){const t=e;o.push(t),o.push(r(t))}}}if(0!==o.length||null!=t){for(let t=0;t<e.length;t++){const n=e[t],i=String(br(n)&&Gt(n,m)||""),s=$t(o,i,0);let l;s>=0?l=o[s+1]:o.splice(~s,0,i,l=r(i)),!1===n||l.children.push(n)}for(let t=o.length-2;t>=0;t-=2)o.splice(t,1);C(o,!0)}}(o.children,r)}else{const e=o.key,i=e===jo(r),l=Oo(r,t.tt);if(r&&null!=l||null==e?(K(),r=h):i?B(null,e):(J(null,e,e,u,()=>{K()}),r=h||f),r){let e=r;for(;e&&(!Ln(e)||null===e.getProp($,null));)e=e.parent;const i=lo(t,r,e||t.rootVNode,n,o.props);s.push(i,r)}}}function X(n,e,r){n&&kn(t,n),ne(o,u,h=On(),f&&E());const i=v;t.setHostProp(h,$,e),t.setHostProp(h,L,r),t.setHostProp(h,F,i.key)}function K(){ne(o,u,h=On(),f&&E());const t=v;h.setProp(L,t.props),t.key&&h.setProp(F,t.key)}function Z(n){if(null!==f&&3===(t=>{const n=t.flags;if(1&n)return 1;if(2&n)return 11;if(4&n)return 3;throw a(26,[n])})(f))return n!==se(f)?void((t,n,e)=>{Hn(t,n),t.push(1,n.textNode,n.text=e)})(o,f,n):void 0;ne(o,u,h=jn(t.document.createTextNode(n),n),f)}};function jo(t){return null==t?null:t.getProp(F,null)}function Oo(t,n){if(null==t)return null;const e=t.getProp($,n);return e?e.j:null}function Eo(){}function To(t,n,e,r,o=!0){const i=Mo(t),s=Mo(n);if(i&&s)return!1;if(i||s)return!0;const l=Object.keys(t),c=Object.keys(n);let u=l.length,f=c.length;if("children"in t&&u--,x in t&&u--,"children"in n&&f--,x in n&&f--,u!==f)return!0;let a=!1;e.p=r;for(const r of l)if("children"!==r&&r!==x&&(!Object.prototype.hasOwnProperty.call(n,r)||t[r]!==n[r])){if(a=!0,!o)return!0;Jt(e,r)}return a}function Mo(t){return!t||0===Object.keys(t).length}function Fo(t,n){let e=n;if(Fn(n))return void Do(e);let r=null;for(;;){const o=e.flags;if(3&o){if(kn(t,e),Do(e),2&o&&null!==e.getProp($,null)){const n=t.getHostProp(e,D);if(n)for(let e=0;e<n.length;e++){const r=n[e];if(l(r)){const n=Mr(r);if(n&&1&r.N){t.m(32,r);continue}(r instanceof qt||rs(r))&&kn(t,r),(n||r instanceof on)&&Zt(r)}}const r=Pe(e);for(let n=0;n<r.length;n+=2)if(vo(r[n])){const e=r[n+1];if(e){r[n+1]=null;const o="string"==typeof e?Jn(t.rootVNode,e):e;let i=le(o);for(;i;)Fo(t,i),i=i.nextSibling;Lo(t.vt,o)}}}if(Dn(e)){if(e===n){const t=le(e);if(t)return void zn(t,()=>{})}}else{const t=le(e);if(t){e=t;continue}}}else 4&o&&Do(e);if(e===n)return;const i=e.nextSibling;if(i)e=i;else{for(r=e.parent;r;){if(r===n)return;const t=r.nextSibling;if(t){e=t;break}r=r.parent}if(null==r)return}}}function Lo(t,n){const e=n.parent;e&&1&e.flags&&"q:template"===ie(e)&&oe(t,e,n,!0)}function Do(t){t.flags|=32}const Uo=":",Wo=[{blockedType:16,blockingType:4,match:(t,n)=>zo(t,n)||zo(n,t)},{blockedType:16,blockingType:6,match:(t,n)=>zo(t,n)||zo(n,t)}],Vo=[{blockedType:2,blockingType:1,match:(t,n)=>{const e=t.kt,r=n.kt;return Qo(t,n)&&Bo(e,r)}},{blockedType:3,blockingType:1,match:(t,n)=>{const e=t.xt,r=n.kt;return Qo(t,n)&&Bo(e.ot,r)}},{blockedType:16,blockingType:1,match:(t,n)=>{const e=t.xt,r=n.kt;return Qo(t,n)&&Bo(e.ot,r)}},{blockedType:4,blockingType:6,match:(t,n)=>t.Nt===n.Nt},{blockedType:5,blockingType:6,match:(t,n)=>t.Nt===n.Nt},...Wo,{blockedType:3,blockingType:3,match:(t,n,e)=>{if(t.Nt!==n.Nt)return!1;const r=t.Rt;if("number"!=typeof r||r<=0)return!1;const o=function(t,n,e){const r=e.getHostProp(t,D);if(!r||r.length<=n)return null;for(let t=n-1;t>=0;t--){const n=r[t];if(n instanceof Tr&&2&n.N)return n}return null}(t.Nt,r,e);return o===n.xt}}];function zo(t,n){const e=t.Nt,r=n.Nt;return!(!En(e)||!En(r))&&((t,n)=>{let e=je(t);for(;e;){if(e===n)return!0;e=je(e)}return!1})(e,r)}function Qo(t,n){return t.Nt===n.Nt}function Bo(t,n){return t.o===n.o}function Ho(t,n){const e=t.Nt;if(!En(e))return null;const r=0===n;let o=e;for(o=je(o);o;){const t=r?o.chores:o.blockedChores;if(t)for(const n of t)if(n.At<16&&3!==n.At&&1!==n.At&&2!==n.At&&n.ht===ri.NONE)return n;o=je(o)}return null}function Jo(t,n,e,r,o){const i=Ho(t,0);if(i)return i;const s=Ho(t,1);if(s)return s;for(const i of Vo)if(t.At===i.blockedType){for(const e of n)if(e.At===i.blockingType&&i.match(t,e,o)&&e.ht===ri.NONE)return e;for(const n of e)if(n.At===i.blockingType&&i.match(t,n,o)&&n.ht===ri.NONE)return n;for(const n of r)if(n.At===i.blockingType&&i.match(t,n,o)&&n.ht!==ri.FAILED)return n}return null}function Go(t,n,e){for(const r of Wo)if(t.At===r.blockedType)for(const o of n)if(o.At===r.blockingType&&r.match(t,o,e)&&o.ht!==ri.FAILED)return o;return null}const Yo=[],Xo=[],Ko=[],Zo=[];class ti extends Array{add(t){const n=function(t,n){let e=0,r=t.length;for(;e<r;){const o=e+(r-e>>1),i=ni(n,t[o]);if(i<0)r=o;else{if(!(i>0))return o;e=o+1}}return~e}(this,t);if(n<0)return this.splice(~n,0,t),n;const e=this[n];return e.xt!==t.xt&&(e.xt=t.xt),n}delete(t){const n=this.indexOf(t);return n>=0&&this.splice(n,1),n}}function ni(t,n){const e=(240&t.At)-(240&n.At);if(0!==e)return e;const r=t.Nt,o=n.Nt;if(r!==o&&null!==r&&null!==o)if(En(r)&&En(o)){const t=((t,n)=>{if(t===n)return 0;let e=-1,r=-1;for(;t;)t=(Yo[++e]=t).parent||t.slotParent;for(;n;)n=(Xo[++r]=n).parent||n.slotParent;for(;e>=0&&r>=0;){if((t=Yo[e])!==(n=Xo[r])){let e=n;do{if(e=e.nextSibling,e===t)return 1}while(e);e=n;do{if(e=e.previousSibling,e===t)return-1}while(e);return n.slotParent?-1:1}e--,r--}return e<r?-1:1})(r,o);if(0!==t)return t}else{En(r),En(o);const t=((t,n)=>{if(t===n)return 0;let e=-1,r=-1;for(;t;)t=(Ko[++e]=t).parentComponent;for(;n;)n=(Zo[++r]=n).parentComponent;for(;e>=0&&r>=0;){if((t=Ko[e])!==(n=Zo[r]))return 1;e--,r--}return e<r?-1:1})(r,o);if(0!==t)return t}const i=(15&t.At)-(15&n.At);if(0!==i)return i;const s=ei(t.Rt)-ei(n.Rt);return 0!==s?s:t.kt!==n.kt?p(t.kt)&&p(n.kt)&&t.kt.j===n.kt.j?0:1:7===t.At&&7===n.At&&(t.kt instanceof ss&&n.kt instanceof ss||t.kt instanceof Bt&&n.kt instanceof Bt||t.kt instanceof on&&n.kt instanceof on)&&t.xt!==n.xt?1:0}function ei(t){return"number"==typeof t?t:-1}var ri;!function(t){t[t.NONE=0]="NONE",t[t.RUNNING=1]="RUNNING",t[t.FAILED=2]="FAILED",t[t.DONE=3]="DONE"}(ri||(ri={}));const oi=t=>t.ht===ri.NONE?t.st||=new Promise((n,e)=>{t.qt=n,t._t=e}):t.st;function ii(t){return!!(t.Nt&&En(t.Nt)&&32&t.Nt.flags)}function si(t){return 3===t.At&&!!t.xt&&!!(4&t.xt.N)}function li(t,n,e){(si(t)||0!==ni(t,n))&&((n.It||=new ti).add(t),e.add(t),En(t.Nt)&&(t.Nt.blockedChores||=new ti).add(t))}function ci(t){return 4===t||6===t}const ui=(...t)=>{const[n]=hr(),e=Ve(),r=e.Y;if(!r)return;const o=Mi(e.rt).m;if(!o)throw a(1);const i=o(2,r,n,t);return oi(i)};function fi(t){return null===t||"string"==typeof t||"number"==typeof t||"boolean"==typeof t}const ai=(t,n,e)=>new gn(null,t,n,e||null);class hi{At;Ct;Pt;h;ot;constructor(t,n,e,r,o){this.At=t,this.Ct=n,this.Pt=e,this.h=r,this.ot=o}}const di=t=>Array.isArray(t)&&t.length>0;function pi(t,n){return n.G&&"{"===n.G[0]&&(n.G=`(${n.G})`),[t.$t(n.G,n.H.length,n.J),n.H]}function $i(t){let n;if(t)for(const[e,r]of t)r[2]&&(n||=new Map,n.set(e,r));return n}class yi{jt;constructor(t){this.jt=t}}let mi=()=>!1;class wi{Ot;constructor(t){this.Ot=t}}const bi=(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.Et;)n.unshift(t.ut),t=t.Et;return n.unshift(t.ut),n.join(" ")})(t);void 0===n&&(n=f.length),f[n]=new wi(e),t.Et=null,t.ut=n},$=t?n=>n instanceof t:()=>!1;return mi=n?t=>t instanceof n:()=>!1,{async Tt(){return await async function(t){const{Mt:n,Ft:e,Lt:r,K:o,wt:i,Dt:s,getSeenRef:l,Ut: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)=>{N(t,n)})},S=n=>{d(n)||(y.add(n),t.wt(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.Et&&(w?s(o):(s(o,e),n=t.Wt[e])),"number"==typeof u&&(f[u]=o.ut,m.delete(n));const a=n instanceof wi?n.Ot:o.ut;if(!w&&a===e)return o;g(1,a)},N=(n,e)=>{if(Ns(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===kt?g(3,7):n===At?g(3,8):n===Et&&g(3,9);break;case"function":if(n===zr)g(3,10);else if(n===Pr)g(3,11);else if(p(n)){if(k(n,e)){const[e,r,o]=Jr(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(!Vs(n))throw a(34,[n.toString()]);{const[e]=n[Ws];t.Vt.add(e.o),g(23,[e])}}break;case"object":if(n===Vt)g(3,5);else if(n===zt)g(3,6);else if(null===n)g(3,1);else if(n instanceof wi)g(1,n.Ot);else{const t=k(n,e);if(t){const e=w;w=t,R(n),w=e}}break;default:throw a(20,[typeof n])}},R=n=>{if(Kt(n)){const t=n[Pt];g(32,[(s=t,new yi(s)),t.varProps,t.constProps,n[jt].h])}else if(n instanceof ar)g(33,[n.data.gt,n.data.St]);else if(rs(n))if(function(t){return"__brand"in t&&"resource"===t.__brand}(n)){t.zt.add(n);const e=A(n.value,i,(t,e)=>new hi(22,t,e,Ki(n).h));g(2,e)}else{const t=Ki(n),e=Zi(n),r=t.N,i=t.h,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(Hi(n)){const t=n[qs](n);if(nt(t)){const n=A(t,i,(t,n)=>new hi(28,t,n,void 0,void 0));g(2,n)}else{const n=w.ut;w=w.Et,N(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];Ns(r)||t.push(e,r)}g(5,t.length?t:0)}else if(r(n))n.Qt.vnodeData[0]|=16,g(10,n.Qt.id);else if(n instanceof qt){if(n instanceof ln){S(n.q);const t=function(t,n){return n===kt?n:rt(t.q.resolved||t.q.resolve(),t=>{let e;return"function"==typeof t&&(t=t()),t.serialize?e=t.serialize(n):"object"==typeof n&&qs in n&&(e=n[qs](n)),void 0===e&&(e=kt),e})}(n,n.u);if(nt(t)){const e=A(t,i,(t,e)=>new hi(28,t,e,n.h,n.q));g(2,e)}else g(28,[n.q,n.h,t]);return}if(n instanceof gn)g(25,[...pi(t,n),$i(n[xt]),n.N,n.Y,...n.h||[]]);else if(n instanceof rn){let t=n.u;const e=32&n.N,r=16&n.N,o=1&n.N,i=Ns(n.u);e?t=n.u:(r||o||i)&&(t=kt),S(n.q);const s=[n.q,n.h],l=n instanceof on;l&&s.push(n.M,n.L,n.O,n.T);let c=!1;t!==kt&&(s.push(t),l||void 0!==t||(c=!0)),g(l?27:26,s,c)}else{const t=n.u,e=void 0===t,r=[t];n.h&&r.push(...n.h),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.Bt(n,"q:id",String(e)),g(9,n.id);const r=n.vnodeData;if(r&&(((t,n)=>{for(const e of t)if(di(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(di(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(br(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 Tr){const t=[n.ot,n.N,n.ut,n.ft,n[xt],n.ht];for(;void 0===t[t.length-1];)t.pop();g(21,t)}else if(nt(n)){const t=A(n,i,(t,n)=>new hi(15,t,n));g(2,t)}else if(n instanceof hi)if(22===n.At)g(22,[n.Ct,n.Pt,n.h]);else if(28===n.At)if(n.ot)g(28,[n.ot,n.h,n.Pt]);else{if(!n.Ct)throw console.error(n.Pt),a(33);{const t=w.ut;w=w.Et,N(n.Pt,t)}}else g(15,[n.Ct,n.Pt]);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 yi){const t=n.jt;if(k(t,w.ut,!0)){let n=m.get(t);void 0===n&&(n=h++,m.set(t,n),f[n]=-1),g(2,n)}}else{if(!En(n))throw a(20,[typeof n]);g(3,0)}var s};function A(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{Wt:e}=t;for(;u<e.length||$.size;){0!==u&&n.write(",");let t=!1;for(;u<e.length;u++)t?n.write(","):t=!0,N(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)},Ft:$,Lt:mi,yt:e,getSeenRef:t=>l.get(t),Wt:f,Ut:(t,n,e)=>{const r={ut:e,Et:n};return l.set(t,r),r},Ht:t=>{const n=l.get(t);return n&&(n.Et?void 0:n.ut)},Dt:h,wt:(t,n)=>{let e,r=l.get(t);return r?(r.Et&&h(r),e=r.ut):(e=f.length,r={ut:e},l.set(t,r),f.push(t)),n?r:e},Jt:u,$t:(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},Mt:s,Gt:new Set,Yt:new Set,zt:new Set,Vt:new Set,K:i,Xt:r,Bt:o}};class vi{Kt;m;K;l;tt;Zt;tn=0;nn=null;en=null;lt=0;constructor(t,n,e){this.Zt=n,this.l=e,this.Kt=o,this.K=new WeakMap,this.tt=()=>{throw Error("Not implemented")};const r=new ti,i=new ti,s=new Set;this.m=((t,n,e,r,o)=>{let i=null,s=!1,l=!1,c=!1,u=0,f=performance.now();const a=(t=>{let n;if("function"==typeof setImmediate)n=()=>{setImmediate(t)};else if("undefined"!=typeof MessageChannel){const e=new MessageChannel;e.port1.onmessage=()=>{t()},n=()=>{e.port2.postMessage(null)}}else n=()=>{setTimeout(t)};return n})(g);let h=null,d=0,p=null;function $(){s||(s=!0,a())}const y=Math.floor(1e3/60);return function(n,c=null,u=null,f=null){if(255===n&&i)return i;const a=3===n||16===n||32===n;a&&(c.N|=8);const h={At:n,Rt:a?c.ut:"string"==typeof u?u:0,Nt:a?c.ft:c,kt:u,xt:a?c:f,ht:ri.NONE,It:null,rn:void 0,sn:void 0,qt:void 0,_t:void 0,st:null};if(255===n)return oi(h),i=h,$(),h;if(1!==h.At&&2!==h.At){const n=function(t){if(o.size)for(const n of o)if(0===ni(t,n))return n;return null}(h);if(n)return si(n)&&li(h,n,r),h;const i=Jo(h,e,r,o,t);if(i)return li(h,i,r),h}return R(h,e),2!==n||l?$():(s=!0,g()),h};function m(){null!=h&&(clearTimeout(h),h=null)}function w(){if(null!=h)return;const t=performance.now(),n=Math.max(0,y-(t-u));0!==n?h=setTimeout(()=>{h=null,b()},n):l||b()}function b(){d>0||c||(c=!0,n(),c=!1,u=performance.now(),m())}function v(t){return!t&&f-u>=y}function g(){const n=!1;if(s=!1,l)return;if(!e.length)return b(),void(i&&!o.size&&(i.qt(null),i=null));l=!0,u=performance.now(),m();const c=()=>e.length?($(),!1):i&&o.size?(v(n)&&b(),!1):(p=null,b(),i?.qt(null),i=null,!0),a=n=>{let i=!1;if(n.It){for(const s of n.It){const n=Jo(s,e,r,o,t);n?(n.It||=new ti).add(s):(r.delete(s),En(s.Nt)&&s.Nt.blockedChores?.delete(s),R(s,e),i=!0)}n.It=null}i&&!l&&$()};try{for(;e.length;){f=performance.now();const r=p=e.shift();if(r.ht!==ri.NONE)continue;if(ii(r)&&32!==r.At){En(r.Nt)&&r.Nt.chores?.delete(r),ci(r.At)&&d--;continue}if(16===r.At){b();const n=Go(r,o,t);if(n&&n.ht===ri.RUNNING){(n.It||=new ti).add(r);continue}}r.rn=performance.now();const s=N(r,n);if(r.st=s,nt(s)?(o.add(r),r.ht=ri.RUNNING,s.then(t=>{k(r,t)}).catch(t=>{r.ht===ri.RUNNING?x(r,t):console.error(t)}).finally(()=>{o.delete(r),a(r);let t=!1;i&&!o.size&&(t=c()),t||l||w()})):(k(r,s),a(r)),v(n))return b(),void $()}}catch(t){x(p,t),a(p)}finally{l=!1,c()}}function k(t,n){t.sn=performance.now(),t.ht=ri.DONE,t.st=n,t.qt?.(n),En(t.Nt)&&t.Nt.chores?.delete(t),ci(t.At)&&d--}function x(n,e){n.sn=performance.now(),n.ht=ri.FAILED,ci(n.At)&&d--,n._t?.(e),t.handleError(e,n.Nt)}function N(n,e){const r=n.Nt;let o;switch(n.At){case 6:o=et(()=>lo(t,r,r,n.kt,n.xt),n=>{if(e)return n;{const e=t.getHostProp(r,S);return st(()=>Po(t,n,r,No(e)))}},t=>{x(n,t)});break;case 2:{const t=n.kt.getFn();o=st(()=>t(...n.xt))}break;case 3:case 16:{const e=n.xt;if(4&e.N)o=Vr(e,t,r);else{const n=e;o=Er(n,t,r),16&n.N&&(d++,o=rt(o,()=>{d--}))}}break;case 32:Zt(n.xt);break;case 4:{const e=n.kt;let r=n.xt;Wi(r)&&(r=r.value),o=st(()=>Po(t,r,e,null))}break;case 5:{const r=n.Nt,i=n.xt;let s=i.Pt;Wi(s)&&(s=s.value);const l=i.St,c=t.vt,u=n.Rt,f=Io(u,s,i.gt);e?(t.addBackpatchEntry(n.Nt.id,u,f),o=null):(l?c.push(2,r.element,u,f):r.setAttr(u,f,c),o=void 0)}break;case 1:{const t=n.kt;o=t.resolved?null:t.resolve()}break;case 7:{const e=n.kt,r=n.xt;if(!r?.size)break;let i=e instanceof rn||e instanceof gn;if(e instanceof on&&r!==e.h&&(i=!1),i){const n=Ge();n.p=t,o=rt(st(()=>Be.call(e,n,e._)),()=>{if(2&e.N)return e.N&=-3,st(()=>Bi(t,e,r))})}else o=st(()=>{Bi(t,e,r)})}}return o}function R(t,n){(function(t,n){return n.add(t)<0&&(En(t.Nt)&&(t.Nt.chores||=new ti).add(t),ci(t.At))})(t,n)&&d++}})(this,t,r,i,s)}trackSignalValue(t,n,e,r){return Ze(t,n,e,this,r)}serializationCtxFactory(t,n,e,r){return bi(t,n,e,this.getHostProp.bind(this),this.setHostProp.bind(this),this.K,r)}}class gi{ln;cn;constructor(t,n){this.ln=t,this.cn=n}}class Si{}async function ki(t,n,e){const r=[n],o=t=>r.push(t);await(async()=>{for(;r.length;){const n=r.pop();if(n instanceof gi)e.currentStyleScoped=n.ln,e.parentComponentFrame=n.cn;else{if(n===Si){const t=r.pop();await st(()=>r.push(t()));continue}if("function"!=typeof n)xi(t,o,n,{styleScoped:e.currentStyleScoped,parentComponentFrame:e.parentComponentFrame});else{if(n===Promise){r.push(await r.pop());continue}await n.apply(t)}}}})()}function xi(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(Wi(e)){t.openFragment(Vt);const r=t.getOrCreateLastNode(),o=e instanceof gn?e.X():e;n(t.closeFragment),n(()=>Ze(o,r,".",t)),n(Si)}else if(nt(e))t.openFragment(Vt),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 ki(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==Gt(t,"class")&&n&&(t.constProps||(t.constProps={}),t.constProps.class="")}(o,r.styleScoped);let e=null;const s=t.openElement(i,Ni(o.varProps,{serializationCtx:t.serializationCtx,styleScopedId:r.styleScoped,key:o.key,toSort:o.toSort}),Ni(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===Pr){t.openFragment(null!=o.key?[F,o.key]:Vt),n(t.closeFragment);const e=o.children;null!=e&&n(e)}else if(i===zr){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 gn)return Ze(n,t,":",e)}return Gt(n,"name")||""}(s,o,t);i.push(m,c),n(new gi(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 gi(e.projectionScopedStyle,e.projectionComponentFrame))}else t.openFragment(Vt),t.closeFragment()}else if(i===$o)t.commentNode(Gt(o,"data")||"");else if(i===mo){t.commentNode(Q);const e=o.children;let i;i=f(e)?e({async write(n){await ki(t,n,{currentStyleScoped:r.styleScoped,parentComponentFrame:r.parentComponentFrame}),t.commentNode(Q)}}):e,n(i),nt(i)&&n(Promise)}else if(i===po)t.htmlNode(Gt(o,"data"));else if(Vs(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[Ws],i=n.props;i&&i.children&&delete i.children,r.setProp($,o),r.setProp(L,i),null!==n.key&&r.setProp(F,n.key);const s=t.m(6,r,o,i);return oi(s)})(t,o,i);if(n(new gi(r.styleScoped,r.parentComponentFrame)),n(t.closeComponent),nt(l))n(async()=>{const t=await l,r=No(e.getProp(S));n(t),n(new gi(r,s))});else{n(l);const t=No(e.getProp(S));n(new gi(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 lo(t,o,n,e,r.props)})(t,e&&e.componentNode,i,o);n(r),nt(r)&&n(Promise)}}}function Ni(t,n){if(null==t)return null;const e=[],r=(t,r)=>{if(null!=r){if(Tt(t)){const o=Ri(n.serializationCtx,t,r);return void(o&&e.push(t,o))}Wi(r)?xo(t)?e.push(t,[r,n.styleScopedId]):e.push(t,r):(Ft(t)&&function(t,n){const e=n.substring(14);e&&t.Yt.add(e)}(n.serializationCtx,t),r=Io(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 null!=n.key&&e.push(F,n.key),e}function Ri(t,n,e){let r=null;const o=e,i=t=>{r=(null==r?"":r+"\n")+t},s=n=>(!n.o.startsWith("_")&&n.ct?.length&&(n=Is(null,"_run",ui,null,null,[n])),Jr(t,n));if(Array.isArray(o))for(let e=0;e<=o.length;e++){const r=o[e];if(p(r))i(s(r)),Ai(t,n,r);else if(null!=r){const e=Ri(t,n,r);e&&i(e)}}else p(o)&&(r=s(o),Ai(t,n,o));return r}function Ai(t,n,e){const r=Dt(n);if(r){const[n,o]=r,i=Ut(n,o),s=Wt(n,i);t.Yt.add(s),t.Gt.add(e)}}const qi=(t,n,e,r)=>{if(0!==e)switch(4!==e&&Array.isArray(r)&&(r=_i(t,r)),e){case 4:_i(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:Ii(t,n),20===e&&n.resolve();break;case 21:const o=n,i=r;o.ot=i[0],o.N=i[1],o.ut=i[2],o.ft=i[3],o[xt]=i[4],o.ht=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"),Ki(n).h=c;break;case 23:n[Ws][0]=r[0];break;case 29:{const e=es(n),o=Xr.get(e);o&&(Xr.delete(e),qi(t,e,o.t,o.v));const[,i,s]=r,l=Ki(n);l.N=i,l.h=s;break}case 24:{const t=n,e=r;t.u=e[0],t.h=new Set(e.slice(1));break}case 25:{const e=n,o=r;e.J=t.getSyncFn(o[0]),e.H=o[1],e[xt]=o[2],e.u=kt,e.N=o[3],e.N|=1,e.Y=o[4],e.h=new Set(o.slice(5)),function(t){if(null!==t.Y&&En(t.Y)){const n=t.Y,e=t.h;let r=!1;if(e)for(const[o,i]of e)if(u(i)){const e=n.getAttr(i);if(null!==e){t.u=e,r=!0;break}}if(!r){const e=le(n);e&&n.firstChild===n.lastChild&&Fn(e)&&(t.u=se(e))}}}(e);break}case 27:{const t=n,e=r;t.q=e[0],t.h=new Set(e[1]),t.M=new Set(e[2]),t.L=new Set(e[3]),t.O=e[4],t.T=e[5],e.length>6&&(t.u=e[6],t.D=e[6]),t.N|=1;break}case 28:case 26:{const o=n,i=r;o.q=i[0],i[1]&&(o.h=new Set(i[1])),i.length>2?(o.u=i[2],28===e&&(o.N|=1)):(o.N|=1,o.q.resolve(),t.m(1,null,o.q));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]=Yr.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===Et&&(m=new mr(Pr,y[1],y[2]),m._proxy=$),$[Pt]=m,$[jt].h=y[3];break;case 33:{const t=n;t.data.gt=r[0],t.data.St=r[1];break}default:throw a(16,[e])}},_i=(t,n,e=Array(n.length/2))=>{for(let r=0;r<n.length;r+=2)e[r/2]=Ci(t,n[r],n[r+1]);return e};function Ii(t,n){if(n.ct)return n;const e=n.un;return n.ct=e?e.map(n=>t.tt(n)):null,n.un=null,t.element&&n.it(t.element),n}function Ci(t,n,e){if(0===n)return e;const r=Kr(t,n,e);return Pi(n)&&qi(t,r,n,e),r}const Pi=t=>t>=14||4===t||5===t,ji=new WeakMap,Oi=Symbol("UNWRAP"),Ei=(t,n)=>{if(!Array.isArray(n)||En(n)||l(e=n)&&Oi in e)return n;var e;let r=ji.get(n);if(!r){const e=Array(n.length/2).fill(void 0);r=new Proxy(e,new Ti(t,n)),ji.set(n,r)}return r};class Ti{p;fn;an;constructor(t,n){this.p=t,this.fn=n,this.an=this.fn.length/2}get(t,n,e){if(n===Oi)return t;const r="number"==typeof n?n:"string"==typeof n?parseInt(n,10):NaN;if(Number.isNaN(r)||r<0||r>=this.an)return Reflect.get(t,n,e);const o=2*r,i=this.fn[o],s=this.fn[o+1];if(0===i)return s;const l=this.p,c=Kr(l,i,s);return Reflect.set(t,n,c),this.fn[o]=0,this.fn[o+1]=c,Pi(i)&&qi(l,c,i,s),c}has(t,n){return n===Oi||Object.prototype.hasOwnProperty.call(t,n)}set(t,n,e,r){if(n===Oi)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.fn.length/2)return o;const s=2*i;return this.fn[s]=0,this.fn[s+1]=e,!0}}function Mi(t){const n=Li(t);if(!n)throw a(24);return Fi(n)}function Fi(t){let n=t.qContainer;return n||(n=new Di(t)),n}function Li(t){return(En(t)?ee(t,!0):t).closest("[q\\:container]:not([q\\:container=html]):not([q\\:container=text])")}class Di extends vi{element;qContainer;qManifestHash;rootVNode;document;vt;hn;K=new WeakMap;dn;nn;bt=null;vNodeLocate=t=>Jn(this.rootVNode,t);pn;$n=null;constructor(t){if(super(()=>{this.lt++,(t=>{let n=0;const e=t.length;for(;n<e;)switch(t[n++]){case 1:t[n++].nodeValue=t[n++];break;case 2:const r=t[n++];let o=t[n++];"className"===o&&(o="class");const i=t[n++],s=null==i||!1===i;te(r,o)?r[o]=Zn(i):o===H?(r.innerHTML=i,r.setAttribute(P,"html")):s?r.removeAttribute(o):"value"===o&&o in r?r.value=String(i):r.setAttribute(o,String(i));break;case 3:const l=t[n++],c=l.head,u=l.querySelectorAll(g);for(let t=0;t<u.length;t++)c.appendChild(u[t]);break;case 4:const f=t[n++];let a;for(;n<e&&"number"!=typeof(a=t[n]);)f.removeChild(a),n++;break;case 5:const h=t[n++];h.replaceChildren?h.replaceChildren():h.textContent="";break;case 6:const d=t[n++],p=t[n++];let $;for(;n<e&&"number"!=typeof($=t[n]);)d.insertBefore($,p),n++}t.length=0})(this.vt)},{},t.getAttribute("q:locale")),this.qContainer=t.getAttribute(P),!this.qContainer)throw a(25);this.vt=[3,t.ownerDocument],this.document=t.ownerDocument,this.element=t,this.en=t.getAttribute(R),this.nn=t.getAttribute(A),this.qManifestHash=t.getAttribute("q:manifest-hash"),this.rootVNode=Pn(this.element),this.hn=[],this.pn=[];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=>33<=t&&t<=46,$=(t,n,e)=>{let r=0;for(;n<e;){const e=t.charCodeAt(n);if(0===r&&p(e))break;123===e?r++:125===e&&r--,n++}return n},y=t=>{for(;t&&(t=t.nextSibling)&&0===d(t););return t},m=(n,e,r,o,i,s)=>{const c=i.length;let u=0,f=-1,a=0,h=0,w=0,b=-1,v=null;const g=()=>{let t=0;for(;p(w=i.charCodeAt(a))&&(t+=1<<w-33,a++,!(a>=c)););return t};do{if(r===o)return;v=null;const p=r==e?2:d(r);if(3===p){const t=r;let e=r;for(;e&&!(v=y(e));)e=e.parentNode;m(n,t,r,v,t.qVnodeData||"",t.qVNodeRefs)}else if(16===p){let t=r;do{if(t=n.nextNode(),!t)throw new Error(`Island inside \x3c!--${r?.nodeValue}--\x3e not found!`)}while(65!==d(t));v=null}else if(64===p){v=r;do{if(v=n.nextNode(),!v)throw new Error("Ignore block not closed!")}while(32!==d(v));v=null}else if(9===p){v=r;do{if(v=y(v),!v)throw new Error(`\x3c!--${r?.nodeValue}--\x3e not closed!`)}while(8!==d(v));m(n,r,r,v,"",null)}else if(6===p){v=y(r);const n=r,e=n?.shadowRoot;e&&m(t.createTreeWalker(e,129),null,e,null,"",null)}if(!(2&~p)){if(f<u&&(-1===f&&(f=0),a=h,a<c?(f+=g(),126===w&&(b=f,a++,w=a<c?i.charCodeAt(h):33),h=$(i,a,c)):f=Number.MAX_SAFE_INTEGER),u===f){b===u&&s.set(u,r);const t=i.substring(a,h);l.set(r,t)}u++}}while(r=v||n.nextNode())},w=t.createTreeWalker(t,129);m(w,null,w.firstChild(),null,"",null)}(n),this.dn=N(n,this.nn)||Vt,this.yn(),t.setAttribute(P,"resumed"),t.qContainer=this;const e=t.querySelectorAll('script[type="qwik/state"]');0!==e.length&&(this.hn=JSON.parse(e[e.length-1].textContent),ys(this.hn,this),this.pn=Ei(this,this.hn)),t.isConnected&&t.dispatchEvent(new CustomEvent("qresume",{bubbles:!0}))}Z(t,n){this.pn[t]=n}parseQRL(t){return Ii(this,function(t){const n=t.indexOf("#"),e=t.indexOf("[",n),r=t.indexOf("]",e);return Gr(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,fr);if(!e)throw t;e.error=t}setContext(t,n,e){let r=this.getHostProp(t,k);null==r&&this.setHostProp(t,k,r=[]),yt(r,n.id,e,0,!0)}resolveContext(t,n){for(;t;){const e=this.getHostProp(t,k);if(null!=e&&wt(e,n.id,0))return mt(e,n.id,0);t=this.getParentHost(t)}}getParentHost(t){let n=t.parent;for(;n;)if(Ln(n)){if(null!==n.getProp($,null))return n;n=n.parent||n.slotParent}else n=n.parent;return null}setHostProp(t,n,e){t.setProp(n,e)}getHostProp(t,n){const e=t;let r=null;switch(n){case D:case L:case $:case k:case x:r=this.tt;break;case U:case V:r=parseInt}return e.getProp(n,r)}ensureProjectionResolved(t){if(!(16&t.flags)){t.flags|=16;const n=Pe(t);for(let t=0;t<n.length;t+=2)if(vo(n[t])){const e=n[t+1];if("string"==typeof e){const r=this.vNodeLocate(e);n[t+1]=r}}}}tt=t=>bs(t,this.pn);getSyncFn(t){return this.dn[t]}mn(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.$n&&(this.$n=new Set,this.element.querySelectorAll(v).forEach(t=>{this.$n.add(t.getAttribute(b))})),!this.$n.has(n)){this.$n.add(n);const e=this.document.createElement("style");e.setAttribute(b,n),e.textContent=t,this.vt.push(6,this.document.head,null,e)}}yn(){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.Zt={containerAttributes:t}}}const Ui=t=>{if(!t.resolved)throw t.resolve()},Wi=t=>t instanceof qt,Vi=(t,n)=>{!t.has(n)&&t.add(n)},zi=(t,n)=>{t[2]||=new Set,!t[2].has(n)&&t[2].add(n)},Qi=(t,n)=>{if(n&&!(t=>t instanceof Di)(n)){const e=t[0],r=t[1];let o=null;Mr(e)?o=e.ot:e instanceof rn?o=e.q:":"===r&&(o=n.getHostProp(e,$)),o&&n.serializationCtx.Gt.add(o)}},Bi=(t,n,e)=>{if(e){const r=e=>{const r=e[0],o=e[1];if(Mr(r)){r.N|=8;let n=3;1&r.N&&(n=16),t.m(n,r)}else if(r instanceof qt)r instanceof rn&&(r.q.resolved||t.m(1,null,r.q)),r.invalidate();else if(":"===o){const n=r,e=t.getHostProp(n,$),o=t.getHostProp(n,L);t.m(6,n,e,o)}else if("."===o)t.m(4,r,r,n);else{const i=e[3];if(i instanceof ar){const e={...i.data,Pt:n};t.m(5,r,o,e)}}};for(const t of e)r(t)}},Hi=t=>l(t)&&"function"==typeof t[qs],Ji=t=>{let n=1;switch(t){case"never":n|=16;break;case"always":n|=32}return n},Gi=[];function Yi(t){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(Mr(t))return`Task(${Yi(t.ot)})`;if(p(t))return`Qrl(${t.o})`;if("object"==typeof t||"function"==typeof t){if(Gi.includes(t))return"*";try{if(Gi.push(t),Array.isArray(t))return En(t)?"("+t.getProp(ht,null)+")":t.map(Yi);if(Wi(t))return t instanceof gn?"WrappedSignal":t instanceof rn?"ComputedSignal":"Signal";if(rs(t))return"Store";if(br(t))return Xi(t);if(En(t))return"("+t.getProp(ht,null)+")"}finally{Gi.pop()}}return t}const Xi=t=>{if(br(t)){let n="<"+t.type;if(t.props){for(const[e,r]of Object.entries(t.props))n+=" "+e+"="+Yi(r);const e=t.children;null!=e?(n+=">",Array.isArray(e)?e.forEach(t=>{n+=Xi(t)}):n+=Xi(e),n+="</"+t.type+">"):n+="/>"}return n}return String(t)},Ki=t=>t[Rt],Zi=t=>t?.[Nt]||null,ts=(t,n)=>{const e=Ki(t);e&&e.force(n)},ns=(t,n)=>{const e=Ki(t);return!!e&&(e.h?.get(n)?.size??0)>0},es=t=>Zi(t)||t,rs=t=>Nt in t;function os(t,n,e){return new Proxy(n,new ss(e,t||null))}const is=(t,n,e)=>{if(s(t)&&e){let r=e.K.get(t);return r||(r=os(e,t,n),e.K.set(t,r)),r}return t};class ss{N;p;h=void 0;constructor(t,n){this.N=t,this.p=n}toString(){return"[Store]"}force(t){const n=Zi(this);this.p?.m(7,void 0,this,us(n,t,this.h))}get(t,n){if("symbol"==typeof n)return n===Nt?t:n===Rt?this:t[n];const e=We(),r=t[n];if(e){if(null===this.p){if(!e.p)return r;this.p=e.p}const o=e.k;o&&ls(t,Array.isArray(t)?At:n,this,o)}return"toString"===n&&r===Object.prototype.toString?this.toString:1&this.N&&l(r)&&!Object.isFrozen(r)&&!rs(r)&&!Object.isFrozen(t)?is(r,this.N,this.p):r}set(t,n,e){if("symbol"==typeof n)return t[n]=e,!0;const r=1&this.N?es(e):e;return n in t?r!==t[n]&&cs(n,r,t,this):cs(n,r,t,this),!0}deleteProperty(t,n){return"string"==typeof n&&delete t[n]&&(Array.isArray(t)||this.p?.m(7,void 0,this,us(t,n,this.h)),!0)}has(t,n){if(n===Nt)return!0;if("string"==typeof n){const e=We();if(e){const r=e.k;r&&ls(t,Array.isArray(t)?At:n,this,r)}}return Object.prototype.hasOwnProperty.call(t,n)}ownKeys(t){const n=We(),e=n?.k;return e&&ls(t,At,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 ls(t,n,e,r){const o=e.h||=new Map;let i=o.get(n);i||(i=new Set,o.set(n,i)),Vi(i,r),zi(r,t),Qi(r,e.p)}function cs(t,n,e,r){e[t]=n;const o=us(e,t,r.h);o&&r.p?.m(7,void 0,r,o)}function us(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(At);if(o){r||=new Set;for(const t of o)r.add(t)}return r}const fs=(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(rs(t)&&(t=Zi(t)),e==Object.prototype){for(const e in t)if(!fs(Ye(()=>t[e]),n))return!1;return!0}if(e==Array.prototype){for(let e=0;e<t.length;e++)if(!fs(t[e],n))return!1;return!0}if(Mr(t))return!0;if(Kt(t))return!0;if(nt(t))return!0;if(br(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 ar)return!0;if(mi?.(t))return!0}else if("function"==typeof t){if(p(t)||Vs(t)||t===zr||t===Pr)return!0}else if(t===Et||t===kt||t===At)return!0;return!1},as=(t,n)=>{let e=En(t)?Ee.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 hs=!1;const ds=(t,n=!1,e="",r=20)=>{const o=n?"":"",i=n?"":"",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&&(hs=!0);const t=`{${l(f)?f.constructor.name:typeof f}}`;c.push(`${o}${t}${i} ${as(f,`${e} `)}`)}else 3===u?f=$s(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${ds(f,n,`${e} `)}\n${e}]`:"[]"),c.push(`${o}${ps(u)}${i} ${f}`)}const u=c.map((t,n)=>`${e}${s?`${n} `:""}${t}`).join("\n");if(s){const n=hs?"":`(${JSON.stringify(t).length} chars)`;return hs=!1,`\n${u}\n${n}`}return u},ps=t=>Hr[t]||`Unknown(${t})`,$s=t=>Br[t]||`Unknown(${t})`;function ys(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.bt=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 ms(t){const n=bi(null,null,()=>"",()=>"",()=>{},new WeakMap);for(const e of t)n.wt(e);return await n.Tt(),n.Mt.toString()}function ws(t,n){if(null==t)return[];const e=JSON.parse(t);if(!Array.isArray(e))return[];let r;r=Z(n)&&tt(n)?vs(e,n):vs(e);const o=[];for(let t=0;t<e.length;t+=2)o[t/2]=Ci(r,e[t],e[t+1]);return o}function bs(t,n){return"string"==typeof t&&(t=parseInt(t,10)),n[t]}function vs(t,n){let e;const r={tt:t=>bs(t,e),getSyncFn:()=>()=>{},K:new WeakMap,element:null,bt:null,m:null};return ys(t,r),e=Ei(r,t),r.ht=e,n&&(r.element=n),r}const gs=(t,n)=>{const e=new WeakSet;return Ye(()=>Ss(t,e,"_",n))},Ss=(t,n,e,r)=>{const o=es(t);if(null==o)return t;if(xs(o)){if("object"==typeof o){if(n.has(o))return t;n.add(o)}if(Wi(o))return t;if(fs(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]);Ss(t,n,e+"["+i+"]"),r=i+1}),t}if(s(o)){for(const[t,r]of Object.entries(o))Ss(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},ks=/*#__PURE__*/new WeakSet,xs=t=>!l(t)&&!f(t)||!ks.has(t)&&!(As in t),Ns=t=>!!t&&(l(t)||"function"==typeof t)&&(As in t||ks.has(t)),Rs=t=>((l(t)&&null!==t||"function"==typeof t)&&ks.add(t),t),As=Symbol("noSerialize"),qs=Symbol("serialize"),_s=Symbol("resolved"),Is=(n,e,r,o,i,s)=>{let l;const u=async function(...t){const n=d.call(this,We());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.ot,l=i.nt;i.ot=u,i.nt||=this;try{return Be.call(this,i,r,...o)}finally{i.ot=s,i.nt=l}};return e}const p=t=>"function"!=typeof t||!i?.length&&!s?.length?t:function(...n){let e=We();if(e){if(e.ot?.o===u.o)return t.apply(this,n);const r=e.ot;e.ot=u;try{return t.apply(this,n)}finally{e.ot=r}}return e=Ge(),e.ot=u,e.nt=this,Be.call(this,e,t,...n)};o&&_s in o&&(r=o[_s]);const $=r?async()=>r:async i=>{if(null!==r)return r;if(i&&h(i),""===n){const t=l.getAttribute(A),n=N(l.ownerDocument,t);return u.resolved=r=n[Number(e)]}n&&t(n,1);const s=Os(),c=We();if(null!==o)r=o().then(t=>{const n=p(r=t[e]);return o[_s]=n,u.resolved=n,n});else{const t=K().importSymbol(l,n,e);r=rt(t,t=>u.resolved=p(r=t))}return nt(r)&&r.then(()=>Ps(e,c?.rt,s),t=>{console.error(`qrl ${e} failed to load`,t),r=null}),r},y=t=>null==t?Ge():c(t)?Je(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.ct,resolve:$,it:h,dt:n,o:e,j:m,getFn:d,un:i,ct:s,dev:null,resolved:void 0}),r&&(r=rt(r,t=>u.resolved=p(r=t))),e&&t(e,.8),u},Cs=/*#__PURE__*/new Set,Ps=(t,n,e)=>{Cs.has(t)||(Cs.add(t),js("qsymbol",{symbol:t,element:n,reqTime:e}))},js=(t,n)=>{"object"==typeof document&&document.dispatchEvent(new CustomEvent(t,{bubbles:!1,detail:n}))},Os=()=>"object"==typeof performance?performance.now():0;let Es=0;const Ts=t=>Is(null,"s"+Es++,t,null,null,null),Ms=Ts,Fs=t=>t,Ls=t=>Is("",h,t,null,null,null),Ds=function(t,n){return void 0===n&&(n=t.toString()),t.serialized=n,Is("",h,t,null,null,null)},Us=t=>{function n(n,e){const r=t.j.slice(0,4)+":"+(e||""),o=()=>{};return o[Ws]=[t],kr(o,n,null,n.children,0,r)}return n[Ws]=[t],n},Ws=Symbol("serializable-data"),Vs=t=>"function"==typeof t&&void 0!==t[Ws],zs=t=>Us(Ms(t)),Qs=sn(Fs),Bs=async(t,n,e={})=>{if(9===t.nodeType){let n=t.firstChild;for(;n&&!tt(n);)n=n.nextSibling;t=n}t.setAttribute(P,"resumed");const r=Mi(t);r.Zt=e.serverData||{};const o=r.rootVNode;return r.m(4,o,o,n),await r.m(255).st,{cleanup:()=>{Fo(r,r.rootVNode)}}},Hs=(t,n)=>{const{val:e,set:r,iCtx:o}=ir();if(null!=e)return e;const i=f(t)?Be(void 0,t):t;if(!1===n?.reactive)return r(i),i;{const t=o.p,e=is(i,n?.deep??1?1:0,t);return r(e),e}},Js=()=>{const{val:t,set:n,iCtx:e}=ir();if(null!=t)return t;const r=e.p.en||"",o=r?Ao(r).substring(0,3):"",i=e.p.getHostProp(e.Y,$);let s=`${o}${i?.getHash().substring(0,3)||""}${(e.p.tn++).toString(36)||""}`,l=s.charCodeAt(0);return l>=48&&l<=57&&(l+=17,s=String.fromCharCode(l)+s.substring(1)),n(s)};function Gs(t,n){const e=We();return e?.p?.Zt[t]??n}const Ys=/*#__PURE__*/new Map,Xs=(t,n)=>{let e=Ys.get(n);return e||Ys.set(n,e=Ks(t,n)),e},Ks=(t,n)=>{const e=t.length,r=[],o=[];let i=0,s=i,l=rl,c=0;for(;i<e;){const n=i;let e=t.charCodeAt(i++);e===Il&&(i++,e=Al);const r=Fl[l];for(let d=0;d<r.length;d++){const p=r[d],[$,y,m]=p;if(($===c||$===hl||$===dl&&Zs(c)||$===$l&&el(c))&&(y===e||y===hl||y===dl&&Zs(e)||y===pl&&!Zs(e)&&e!==kl||y===$l&&el(e))&&(3==p.length||a(p))){if(p.length>3&&(e=t.charCodeAt(i-1)),m===fl||m==al){m===al&&(l!==ol||h()?tl(e)||f(i-(y==pl?1:y==gl?2:0)):(tl(e)?u(i-2):f(i-2),s++)),y===pl&&(i--,e=c);do{l=o.pop()||rl,l===il&&(u(i-1),s++)}while(nl(l))}else o.push(l),l===il&&m===rl?(u(i-8),s=i):m===sl&&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===il||h()||(u(t),r.push(".",y,n))}function a(n){let e=0;if(t.charCodeAt(i)===Sl)for(let n=1;n<10;n++)if(t.charCodeAt(i+n)===Sl){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)|Pl)!==o.charCodeAt(n))continue t;return i+=o.length+e,!0}return!1}function h(){return-1!==o.indexOf(il)||-1!==o.indexOf(ll)}},Zs=t=>t>=xl&&t<=Nl||t>=Al&&t<=ql||t>=jl&&t<=Ol||t>=128||t===Cl||t===Sl,tl=t=>t===Rl||t===kl||t===_l||t===vl||Zs(t),nl=t=>t===cl||t===ll||t===ul||t===il,el=t=>t===bl||t===yl||t===ml||t===wl,rl=0,ol=2,il=5,sl=6,ll=10,cl=11,ul=12,fl=17,al=18,hl=0,dl=1,pl=2,$l=3,yl=9,ml=10,wl=13,bl=32,vl=35,gl=41,Sl=45,kl=46,xl=48,Nl=57,Rl=58,Al=65,ql=90,_l=91,Il=92,Cl=95,Pl=32,jl=97,Ol=122,El=123,Tl=125,Ml=[[hl,39,14],[hl,34,15],[hl,47,16,"*"]],Fl=[[[hl,42,ol],[hl,_l,7],[hl,Rl,sl,":","before","after","first-letter","first-line"],[hl,Rl,il,"global"],[hl,Rl,3,"has","host-context","not","where","is","matches","any"],[hl,Rl,4],[hl,dl,1],[hl,kl,1],[hl,vl,1],[hl,64,ll,"keyframe"],[hl,64,cl,"media","supports","container"],[hl,64,ul],[hl,El,13],[47,42,16],[hl,59,fl],[hl,Tl,fl],[hl,gl,fl],...Ml],[[hl,pl,al]],[[hl,pl,al]],[[hl,40,rl],[hl,pl,al]],[[hl,40,8],[hl,pl,al]],[[hl,40,rl],[hl,pl,fl]],[[hl,pl,fl]],[[hl,93,al],[hl,39,14],[hl,34,15]],[[hl,gl,fl],...Ml],[[hl,Tl,fl],...Ml],[[hl,Tl,fl],[$l,dl,1],[hl,Rl,il,"global"],[hl,El,13],...Ml],[[hl,El,rl],[hl,59,fl],...Ml],[[hl,59,fl],[hl,El,9],...Ml],[[hl,Tl,fl],[hl,El,13],[hl,40,8],...Ml],[[hl,39,fl]],[[hl,34,fl]],[[42,47,fl]]],Ll=t=>({styleId:Vl(t,t=>t,!1)}),Dl=/*#__PURE__*/sn(Ll),Ul=t=>({scopeId:y+Vl(t,Xs,!0)}),Wl=/*#__PURE__*/sn(Ul),Vl=(t,n,e)=>{const{val:r,set:o,iCtx:i,i:s}=ir();if(r)return r;const l=(c=s,`${Ao(t.j)}-${c}`);var c;const u=i.Y;if(o(l),!t.resolved)throw t.resolve().then(t=>i.p.mn(n(t,l),l,u,e));return i.p.mn(n(t.resolved,l),l,u,e),l},zl=(t,n)=>{Hl("on:",t,n)},Ql=(t,n)=>{Hl("on-document:",t,n)},Bl=(t,n)=>{Hl("on-window:",t,n)},Hl=(t,n,e)=>{const{isAdded:r,addEvent:o}=Jl();if(!r&&e)if(Array.isArray(n))for(const r of n)o(t+Lt(r),e);else o(t+Lt(n),e)},Jl=()=>{const t=ze(),n=t.Y;let e=t.p.getHostProp(n,W);null===e&&(e={},t.p.setHostProp(n,W,e));let r=t.p.getHostProp(n,V);null===r&&(r=0),t.p.setHostProp(n,V,r+1);let o=t.p.getHostProp(n,z);for(null===o&&(o=[],t.p.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)}}},Gl=t=>Yl(()=>{const n=f(t)&&!Vs(t)?Be(void 0,t):t;return an(n)}),Yl=t=>{const{val:n,set:e}=ir();return null!=n?n:e(t=f(t)&&!Vs(t)?t():t)},Xl=(t,n,e)=>{const{val:r,set:o}=ir();if(r)return r;const i=n(t,e);return o(i),Ui(t),i},Kl=(t,n)=>Xl(t,cn,n),Zl=sn(Kl),tc=t=>Xl(t,fn),nc=sn(tc),ec=(t,n)=>{const{val:e,set:r,i:o,iCtx:i}=ir(),s=n?.strategy??"intersection-observer";if(e)return void(32&e.N||(e.N|=32,rc(e,s)));const l=new Tr(1,o,i.Y,t,void 0,null);r(l),rc(l,s),t.resolve(i.rt),i.p.m(16,l)},rc=(t,n)=>{"intersection-observer"===n?zl("qvisible",oc(t)):"document-ready"===n?Ql("qinit",oc(t)):"document-idle"===n&&Ql("qidle",oc(t))},oc=t=>Is(null,"_task",Fr,null,null,[t]),ic=(t,n)=>Lr(Ms(t),n),sc=/*#__PURE__*/sn(Or),lc=/*#__PURE__*/sn(ec),cc=(t,n)=>Xl(t,un,n),uc=sn(cc),fc=()=>{const t=Hs({error:void 0});return lr(fr,t),t},ac=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=hc.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 Sr("script",null,o,null,0,"prefetch-service-worker")},hc=/*#__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(),dc=()=>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{Ts as $,Pr as Fragment,As as NoSerializeSymbol,dc as PrefetchGraph,ac as PrefetchServiceWorker,jr as RenderOnce,Dr as Resource,$o as SSRComment,po as SSRRaw,mo as SSRStream,yo as SSRStreamBlock,qs as SerializerSymbol,ho as SkipRender,zr as Slot,It as _CONST_PROPS,Di as _DomContainer,xt as _EFFECT_BACK_REF,Vt as _EMPTY_ARRAY,Ot as _IMMUTABLE,vi as _SharedContainer,ar as _SubscriptionData,Et as _UNINITIALIZED,Ct as _VAR_PROPS,pr as _chk,ws as _deserialize,ds as _dumpState,ai as _fnSignal,Xt as _getConstProps,er as _getContextContainer,tr as _getContextElement,nr as _getContextEvent,Mi as _getDomContainer,Li as _getQContainerElement,Yt as _getVarProps,ns as _hasStoreEffects,br as _isJSXNode,rs as _isStore,fi as _isStringifiable,Mr as _isTask,rr as _jsxBranch,xr as _jsxC,Rr as _jsxQ,Nr as _jsxS,Sr as _jsxSorted,kr as _jsxSplit,$t as _mapApp_findIndx,mt as _mapArray_get,yt as _mapArray_set,eo as _noopQrl,ro as _noopQrlDEV,ys as _preprocessState,Ds as _qrlSync,so as _regSymbol,ur as _resolveContextWithoutSequentialScope,go as _restProps,ui as _run,ms as _serialize,Fr as _task,dr as _val,gs as _verifySerializable,Vn as _vnode_ensureElementInflated,Ce as _vnode_getAttrKeys,le as _vnode_getFirstChild,Pe as _vnode_getProps,Mn as _vnode_isMaterialized,Fn as _vnode_isTextVNode,Ln as _vnode_isVirtualVNode,Ee as _vnode_toString,or as _waitUntilRendered,ki as _walkJSX,wn as _wrapProp,vn as _wrapSignal,zs as component$,Us as componentQrl,dn as createAsyncComputed$,un as createAsyncComputedQrl,hn as createComputed$,cn as createComputedQrl,sr as createContextId,Cr as createElement,pn as createSerializer$,fn as createSerializerQrl,an as createSignal,Qs as event$,Fs as eventQrl,ts as forceStoreEffects,Mi as getDomContainer,ft as getLocale,K as getPlatform,Cr as h,sn as implicit$FirstArg,no as inlinedQrl,io as inlinedQrlDEV,e as isBrowser,r as isDev,n as isServer,Wi as isSignal,qr as jsx,_r as jsxDEV,Ir as jsxs,Rs as noSerialize,to as qrl,oo as qrlDEV,Bs as render,X as setPlatform,Ls as sync$,Ye as untrack,es as unwrapStore,uc as useAsyncComputed$,cc as useAsyncComputedQrl,Zl as useComputed$,Kl as useComputedQrl,Yl as useConstant,cr as useContext,lr as useContextProvider,fc as useErrorBoundary,Js as useId,hr as useLexicalScope,zl as useOn,Ql as useOnDocument,Bl as useOnWindow,ic as useResource$,Lr as useResourceQrl,nc as useSerializer$,tc as useSerializerQrl,Gs as useServerData,Gl as useSignal,Hs as useStore,Dl as useStyles$,Ll as useStylesQrl,Wl as useStylesScoped$,Ul as useStylesScopedQrl,sc as useTask$,Or as useTaskQrl,lc as useVisibleTask$,ec 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.18-dev+a8081d4",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)}}let at;function ht(t){if(void 0===at){const n=Gi();if(n&&n.l)return n.l;if(void 0!==t)return t;throw new Error("Reading `locale` outside of context.")}return at}function dt(t,n){const e=at;try{return at=t,n()}finally{at=e}}const pt="q:type",$t={V:"Virtual",F:"Fragment",S:"Signal",A:"Awaited",C:"Component",I:"InlineComponent",P:"Projection"},yt=124,mt=t=>"foreignObject"===t,wt=t=>"svg"===t||mt(t),bt=t=>"math"===t;function vt(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(vt(n,n.localName,e,r))}return o}function gt(t,n,e,r){let o=t,i=null,s=null,l=null;for(;o;){let c=null,u=null;if(Eo(o)){c=o.node;const t=si(o),i=o.parent,f=null==s?n:i&&ri(i,!0);if(f){const t=kt(f,si(o));e=t.elementNamespace,r=t.elementNamespaceFlag}const a=ui(o);if(u=vt(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(hi(c)){const t=fl(c);if(t){const n=ui(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 St={elementNamespace:M,elementNamespaceFlag:0};function kt(t,n){const e=!t||!(!si(t)||(r=t,384&r.flags));var r;const o=!e&&mt(si(t));let i=M,s=0;const l="string"==typeof n||Eo(n);return l&&function(t){return"string"==typeof t?wt(t):!!Eo(t)&&(wt(si(t))||!!(128&t.flags))}(n)?(i=E,s=128):l&&function(t){return"string"==typeof t?bt(t):!!Eo(t)&&(bt(si(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),St.elementNamespace=i,St.elementNamespaceFlag=s,St}const xt=Symbol("backRef");class Rt{[xt]=void 0}class qt{flags;parent;previousSibling;nextSibling;props;[xt]=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 jt extends qt{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 Ct extends jt{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 Pt extends qt{node;text;constructor(t,n,e,r,o,i,s){super(t,n,e,r,o),this.node=i,this.text=s}}const At=[],Nt=[];function _t(t,n){const e=Ut(n).priority;let r=At.length;for(let t=0;t<At.length;t++)if(e<Ut(At[t]).priority){r=t;break}At.splice(r,0,n),t.u++,t.h||=new Promise(n=>t.p=n)}function Ot(){for(let t=0;t<At.length;t++){const n=At[t];let e=!1;for(let t=0;t<Nt.length;t++)if(Fi(n,Nt[t])){e=!0;break}if(!e)return n}return null}function It(t,n){Nt.push(t),Et(t,n,!0),n.$++}function Mt(t,n){const e=Nt.indexOf(t);if(-1!==e){const t=Nt.length-1;e!==t&&(Nt[e]=Nt[t]),Nt.pop(),n.$--}_t(n,t)}function Et(t,n,e){e||(t.flags&=-65);const r=At.indexOf(t);-1!==r&&(At.splice(r,1),n.u--)}const Ft=new WeakMap,Tt=":nodeProps",Dt=":nodeDiff",Lt=":signal";function Wt(t,n,e){n.position=e,e&&xo(e)&&function(t,n,e){Et(e,t);const r=Ut(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 Ut(t){return Ft.get(t)??null}class Vt{m;k=void 0;R=null;q=null;constructor(t,n){this.R=t,this.m=n}force(){xl(this.R,this,this.k)}get untrackedValue(){return this.m}set untrackedValue(t){this.m=t}get value(){const t=Gi();if(!t)return this.untrackedValue;if(null===this.R){if(!t.R)return this.untrackedValue;this.R=t.R}const e=t.j;return e&&(gl(this.k||=new Set,e),Sl(e,this),(import.meta.env.TEST?!hl(this.R):n)&&kl(e,this.R)),this.untrackedValue}set value(t){t!==this.m&&(this.m=t,xl(this.R,this,this.k))}valueOf(){}toString(){return this.constructor.name}toJSON(){return{value:this.m}}}const zt=(t,n,e)=>{const r=Gi();if(!r)return e();if(null===t.R){if(!r.R)return e();t.R=r.R}const o=r.j;return o&&(gl(n(),o),Sl(o,t),kl(o,t.R)),e()},Qt=Symbol("CONST"),Bt=Symbol("VAR"),Ht=Symbol("OWNER"),Jt=Symbol("PROPS_HANDLER"),Gt=Symbol("IMMUTABLE"),Yt=Symbol("UNINITIALIZED"),Xt=t=>111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&(58===t.charCodeAt(2)||t.startsWith("on-window:")||t.startsWith("on-document:"));function Kt(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+tn(t)}("-"===r.charAt(0)?r.slice(1):r.toLowerCase(),n)}}return null}function Zt(t){return t.startsWith("preventdefault:")}const tn=t=>t.replace(/([A-Z-])/g,t=>"-"+t.toLowerCase()),nn=t=>t.startsWith("on:")?["",t.substring(3)]:t.startsWith("on-window:")?["window",t.substring(10)]:["document",t.substring(12)],en=(t,n)=>{const e=":"+n;return t?t+e:e},rn=(t,n)=>t?"-"+n:n,on=[],sn={};function ln(t){return new Proxy({},new cn(t))}Object.freeze(on),Object.freeze(sn);class cn{owner;k=void 0;R=null;constructor(t){this.owner=t}get(t,n){if(n===Qt)return this.owner.constProps;if(n===Bt)return this.owner.varProps;if(n===Ht)return this.owner;if(n===Jt)return this;let e;if("children"===n)e=this.owner.children;else{if("string"==typeof n&&"string"==typeof this.owner.type){const t=Kt(n);t&&(n=t)}e=an(this.owner,n),n in this.owner.varProps&&un(this,n)}return e instanceof Wn&&4&e.N?e.value:e}set(t,n,e){if(n===Ht)this.owner=e;else if("children"===n)this.owner.children=e;else if(n===Qt)this.owner.constProps=e;else if(n===Bt)this.owner.varProps=e;else{if("string"==typeof n&&"string"==typeof this.owner.type){const t=Kt(n);t&&(n=t)}this.owner.constProps&&n in this.owner.constProps&&delete this.owner.constProps[n],this.owner.varProps===sn?this.owner.varProps={}:n in this.owner.varProps||(this.owner.toSort=!0),this.owner.varProps[n]!==e&&(this.owner.varProps[n]=e,fn(this,n))}return!0}deleteProperty(t,n){let e=delete this.owner.varProps[n];return e&&fn(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===Qt||n===Bt)return!0;const e=n in this.owner.varProps;if("string"==typeof n&&(e&&un(this,n),"string"==typeof this.owner.type)){const t=Kt(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 un=(t,n)=>{const e=Gi();e&&null===t.R&&e.R&&(t.R=e.R);const r=e?.j;r&&Dl(t.owner._proxy,n,t,r)},fn=(t,n)=>{const e=function(t,n){return t?.get(n)}(t.k,n);return e&&xl(t.R,t,e),!!e},an=(t,n)=>t.constProps&&n in t.constProps?t.constProps[n]:t.varProps[n],hn=t=>t?Bt in t?"children"in t?{...t[Bt],children:t.children}:t[Bt]:t:null,dn=t=>t&&Qt in t?t[Qt]:null,pn=t=>t&&Bt in t,$n=t=>{const n=t._;if(n){t._=null;try{n()}catch(t){i(!1,t)}}},yn=Symbol("invalid");class mn{consumer;property;backRef;data;constructor(t,n,e=null,r=null){this.consumer=t,this.property=n,this.backRef=e,this.data=r}}const wn=Symbol("store.target"),bn=Symbol("store.handler"),vn=Symbol("store.all");function gn(t,n,e){t[xt]||(t[xt]=new Map);const r=t[xt];let o=r.get(n);return o||(o=new mn(t,n),r.set(n,o)),e&&(o.data=e),o}const Sn=(t,n)=>(e,r)=>{const o=rs();return o.j=gn(t,":"),o.R=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),vn,Al(e),o.j),e;throw a(2)})},kn=(t,n)=>{let e=null;return[r=>{"function"==typeof r&&(e||(e=[],t._=oc(()=>{t._=null;for(const t of e)try{t()}catch(t){n(t)}})),e.push(r))},e??[]]};class xn extends Vt{O;N;[xt]=void 0;constructor(t,n,e=33){super(t,yn),this.O=n,this.N=e}invalidate(){this.N|=1;const t=rs();t.R=this.R||void 0,ct(ft(()=>Zi.call(this,t,this.M)),()=>{2&this.N&&(this.N&=-3,xl(this.R,this,this.k))})}force(){this.N|=2,super.force()}get untrackedValue(){return this.M(),this.m}M(){if(!(1&this.N))return;const t=this.O;bl(t);const n=Gi(),e=n?.j;if(n){const t=gn(this,".");Vn(this.R,t),n.j=t}try{const e=t.getFn(n)();if(st(e))throw a(29,[t.dev?t.dev.file:"",t.T]);this.N&=-2,e!==this.m&&(this.m!==yn&&(this.N|=2),this.m=e)}finally{n&&(n.j=e)}}set value(t){throw a(30)}get value(){return super.value}}class Rn extends xn{D=!1;L=void 0;W=void 0;U=void 0;_;B=yn;H=null;[xt]=void 0;constructor(t,n,e=1){super(t,n,e)}get loading(){return zt(this,()=>this.W||=new Set,()=>this.untrackedLoading)}set untrackedLoading(t){t!==this.D&&(this.D=t,xl(this.R,this,this.W))}get untrackedLoading(){return this.D}get error(){return zt(this,()=>this.U||=new Set,()=>this.untrackedError)}set untrackedError(t){t!==this.L&&(this.L=t,xl(this.R,this,this.U))}get untrackedError(){return this.L}invalidate(){this.H=null,super.invalidate()}async promise(){return this.H=null,await ft(()=>this.M()),this.m}M(){if(!(1&this.N))return;const t=this.B===yn||null===this.H?this.J():this.B;if(st(t)){const n=this.B===yn;this.untrackedLoading=!0,this.untrackedError=void 0,this.B!==yn&&$n(this);const e=t.then(t=>{this.B=t,this.untrackedLoading=!1,this.untrackedError=void 0,this.setValue(t)&&(this.N&=-3,xl(this.R,this,this.k))}).catch(t=>{st(t)||(this.B=t,this.untrackedLoading=!1,this.untrackedError=t)});if(n)throw e;return e}this.setValue(t)}async J(){if(!this.H){const[t]=kn(this,t=>this.R?.handleError(t,null));this.H=this.O.getFn()({track:Sn(this,this.R),cleanup:t})}return this.H}setValue(t){this.N&=-2;const n=t!==this.m;return n&&(this.m=t,this.N|=2),n}}const qn=t=>function(n,...e){return t.call(null,$c(n),...e)};class jn extends xn{constructor(t,n){super(t,n,33)}G=!1;M(){if(!(1&this.N))return;bl(this.O);let t=this.O.resolved;"function"==typeof t&&(t=t());const{deserialize:n,initial:e}=t,r=t.update,o=this.m===yn?e:this.m,i=ss(()=>this.G?r?.(o)||o:n(o),this,".",this.R),s=this.G&&"undefined"!==i||i!==this.m;this.N&=-2,this.G=!0,s&&(this.N|=2,this.m=i)}}const Cn=(t,n)=>new xn(n?.container||null,t,ql(n?.serializationStrategy||"always")),Pn=(t,n)=>new Rn(n?.container||null,t,ql(n?.serializationStrategy||"never")),An=t=>new jn(null,t),Nn=t=>new Vt(null,t),_n=/*#__PURE__*/qn(Cn),On=/*#__PURE__*/qn(Pn),In=qn(An),Mn=t=>t.value,En=(t,n)=>t[n],Fn=t=>1===t.length?vl(t[0])?t[0].q||=new Wn(null,Mn,t,null):Ml(t[0])?new Wn(null,Mn,t,null):t[0].value:new Wn(null,En,t,null),Tn=(...t)=>{const n=t[0],e=t.length<2?"value":t[1];if(!l(n))return n[e];if(vl(n))return n instanceof Wn&&4&n.N?n:Fn(t);if(pn(n)){const r=n[Qt],o=n[Bt];if(r&&Object.prototype.hasOwnProperty.call(r,e))return r[e];if(Object.prototype.hasOwnProperty.call(o,e))return Dn(o[e],t)}else{const r=Nl(n);if(r)return Dn(r[e],t)}return n[e]},Dn=(t,n)=>vl(t)?t:Fn(n),Ln=(t,n)=>{const e=Tn(t,n);return e===Gt?t[n]:e};class Wn extends Vt{Y;X;K;N;Z=void 0;[xt]=void 0;constructor(t,n,e,r,o=5){super(t,yn),this.Y=e,this.X=n,this.K=r,this.N=o}invalidate(){this.N|=1;try{this.M()}catch(t){this.R&&this.Z&&(this.R.setHostProp(this.Z,Lt,this),Co(this.R,this.Z,16))}2&this.N&&(this.N&=-3,xl(this.R,this,this.k))}force(){this.N|=2,this.R&&this.Z&&(this.R.setHostProp(this.Z,Lt,this),Co(this.R,this.Z,16))}get untrackedValue(){return this.M(),this.m}M(){if(!(1&this.N))return;const t=ss(()=>this.X(...this.Y),this,".",this.R);this.N&=-3,t!==this.m&&(this.N|=2,this.m=t)}tt(){return this.X===Mn&&vl(this.Y[0])?this.Y[0]:this}set value(t){throw a(31)}get value(){return super.value}}function Un(t,n){Mo(n)&&Eo(n)&&fi(n);const e=n[xt];if(e){for(const[,n]of e)Vn(t,n);e.clear()}}function Vn(t,n){const e=n.backRef;if(e){for(const r of e)if(r instanceof Vt)zn(t,r,n);else if(r instanceof Rn)Qn(r,n);else if(pn(r))Bn(r[Jt],n);else if(t.nt.has(r)){const e=t.nt.get(r);Bn(Al(e),n)}e.clear()}}function zn(t,n,e){const r=n.k;r&&r.has(e)&&r.delete(e),n instanceof Wn&&(n.Z=void 0,Un(t,n))}function Qn(t,n){const e=t.k;e&&e.has(n)&&e.delete(n);const r=t.W;r&&r.has(n)&&r.delete(n)}function Bn(t,n){const e=t?.k;if(e)for(const[t,r]of e.entries())r.has(n)&&(r.delete(n),0===r.size&&e.delete(t))}class Hn{data;constructor(t){this.data=t}}const Jn=()=>{const t=Yi();let n=t.et;if(!n){const e=ul(al(t.Z instanceof Ct?t.Z.node:void 0));t.R||=e,n=e.parseQRL(decodeURIComponent(String(t.rt)))}return n.ot},Gn=(t,n)=>{const[e]=Jn();e.value="number"===n.type?n.valueAsNumber:n.value},Yn=(t,n)=>{const[e]=Jn();e.value=n.checked};class Xn{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||te(n)?sn:n,this.constProps=!e||te(e)?null:e}get props(){return this._proxy||=ln(this)}}const Kn=(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]},Zn=t=>t instanceof Xn,te=t=>0===Object.keys(t).length,ne="bind:value",ee="bind:checked",re=Object.prototype.hasOwnProperty,oe=(t,n,e,r,o,i,s)=>new Xn(t,n,e,r,i,!1,s),ie=(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=Kt(n);r&&(c||(e={...e},c=!0),re.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=Kt(e);r?(u||(n={...n},u=!0),re.call(n,r)&&!t.has(r)||(n[r]=n[e]),delete n[e],l=!0):e===ee?a=n[e]:e===ne&&(f=n[e]),t.add(e)}if(a||f)if(u||(n={...n},u=!0),a){delete n[ee],n.checked=a;const t=cc(null,"_chk",Yn,null,null,[a]);if(e&&re.call(e,"on:input")){c||(e={...e},c=!0);const t=e["on:input"];delete e["on:input"],l=Kn(n,"on:input",t)||l}l=Kn(n,"on:input",t)||l}else if(f){delete n[ne],n.value=f;const t=cc(null,"_val",Gn,null,null,[f]);if(e&&re.call(e,"on:input")){c||(e={...e},c=!0);const t=e["on:input"];delete e["on:input"],l=Kn(n,"on:input",t)||l}l=Kn(n,"on:input",t)||l}}n&&re.call(n,"className")&&(u||(n={...n},u=!0),n.class=n.className,n.className=void 0,l=!0),e&&re.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 Xn(t,n,e,r,i,l||!0,s)},se=(t,n,e,r)=>fe(t,n,r),le=(t,n,e,r,o)=>fe(t,{...e,...n},o),ce=(t,n,e,r,o,i)=>fe(t,{...e,...n,children:r},i),ue=t=>t.children,fe=(t,n,e,r,o)=>ie(t,n,null,null,0,e,o),ae=fe,he=fe;function de(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 ie(t,n,null,r.children,0,o)}const pe=t=>t.children,$e=(t,n)=>new Xn(ue,null,null,t.children,n),ye=(t,e,r,o,i)=>{const s=es(t.l,r||e,t);let l;r&&(s.j=gn(r,":"),s.R=t),t.ensureProjectionResolved(e);let c=!1;if(null===o&&(o=t.getHostProp(e,$)),p(o))"children"in(i=i||t.getHostProp(e,L)||sn)&&delete i.children,l=o.getFn(s);else if(gc(o)){const t=o;l=()=>ts(s,t,[i||sn,null,0])}else{c=!0;const t=o;l=()=>ts(s,t,[i||sn])}const u=!import.meta.env.TEST&&n,f=(n=0)=>lt(()=>(c||(t.setHostProp(e,U,null),t.setHostProp(e,B,null)),n>0&&Mo(e)&&Un(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=we(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]=be(r);r=n,i=t}l=i}l&&("script"===l.type&&s===o&&(c="on-document:qinit"),me(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 me(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 we(t){const n=[t];for(;n.length;){const t=n.shift();if(Zn(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=>we(t));if(vl(t))return we(os(()=>t.value))}}return null}function be(t){if(Zn(t)){const n=ve();return t.type===pe||gc(t.type)?(null==t.children?t.children=n:c(t.children)?t.children.push(n):t.children=[t.children,n],[n,t]):[n,oe(pe,null,null,[t,n],0,null)]}if("object"!=typeof(n=t)&&"function"!=typeof n||null==n){const n=ve();return[n,oe(pe,null,null,[t,n],0,null)]}var n;if(c(t)&&t.length>0){const[n,e]=be(t[0]);return[n,t]}return[null,t]}function ve(){return new Xn("script",null,{hidden:""},null,null)}const ge=t=>oe(ue,null,{[w]:""},t.children,0,t.name??""),Se=Symbol("skip render"),ke=()=>null,xe=()=>null,Re=t=>[fe(xe,{data:"qkssr-pu"}),t.children,fe(xe,{data:"qkssr-po"})],qe=(t,n)=>fe($e,{children:fe(je,t)},n),je=()=>null;function Ce(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)+"&lt;";else if(62===e)n+=t.substring(o,r)+"&gt;";else if(38===e)n+=t.substring(o,r)+"&amp;";else if(34===e)n+=t.substring(o,r)+"&quot;";else{if(39!==e)continue;n+=t.substring(o,r)+"&#39;"}o=r+1}return 0===o?t:n+t.substring(o)}function Pe(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 Ae(t){return!t.startsWith("q:")&&!t.startsWith(":")}const Ne=(t,n=[],e={})=>{let r=null;const o=t[Qt];if(o)for(const t in o)n.includes(t)||(r||={},r[t]=o[t]);const i=e,s=t[Bt];for(const t in s)n.includes(t)||(i[t]=s[t]);return ln(new Xn(null,i,r,null,null))},_e=t=>y+t;function Oe(t){return"class"===t}const Ie=t=>{if(t){let n=0;do{t=t.substring(0,n)+_e(t.substring(n))}while(0!==(n=t.indexOf(" ",n)+1))}return t||null},Me=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"]),Ee=(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)},Fe=t=>{if(!t)return"";if(u(t))return t.trim();const n=[];if(c(t))for(const e of t){const t=Fe(e);t&&n.push(t)}else for(const[e,r]of Object.entries(t))r&&n.push(e.trim());return n.join(" ")},Te=t=>t.replace(/([A-Z])/g,"-$1").toLowerCase();function De(t,n,e){if(Oe(t)){const t=Fe(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(Te(e)+":"+Le(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&&Zt(t)&&(n="");return n}const Le=(t,n)=>"number"!=typeof n||0===n||Me.has(t)?n:n+"px",We=(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)},Ue=(t,n,e,r,o=!1)=>{const i=We(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)},Ve=(t,n,e)=>{const r=We(t,n,e);return r>=0?t[r+1]:null},ze=(t,n,e)=>We(t,n,e)>=0;class Qe{target;constructor(t){this.target=t}}class Be{target;constructor(t){this.target=t}}class He{target;text;operationType=16;constructor(t,n){this.target=t,this.text=n}}class Je{target;parent;beforeTarget;constructor(t,n,e){this.target=t,this.parent=n,this.beforeTarget=e}}class Ge{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 Ye=t=>new Qe(t),Xe=(t,n)=>new He(t,n),Ke=(t,n,e)=>new Je(t,n,e),Ze=(t,n,e,r=null,o=!1)=>new Ge(t,n,e,r,o);function tr(t,n,e,r,o,i){const s=i&&t?.st||null,l=Wo(n,V,s);if(null!==l)return e(r,o,l);const c=Wo(n,z,s);return null!==c?e(r,o,...c):e(r,o)}const nr=(...t)=>{const[n]=Jn(),e=Yi(),r=e.Z;if(r)return e.R||=ul(r.node),Qo(r),ft(()=>{if(!(32&r.flags))return tr(e.R,r,n,t[0],t[1],!0).catch(t=>{const n=e.R;if(!n)throw t;n.handleError(t,r)})})};let er=null,rr=null;function or(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)=>{rr||(rr=t.setAttributeNS),rr.call(t,n,e,r)})(t,r,n,e)}o=t,er||(er=o.setAttribute),er.call(o,n,e)}var o}function ir(t){return t?t.nextSibling:null}const sr=Object.prototype.hasOwnProperty;function lr(t,n,e,r,o,i){import.meta.env.TEST&&o&&Uo(n,X,o),Uo(n,e,i),Po(t,Ze(n.node,e,r,o,!!(128&n.flags)))}const cr=(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 Hn({lt:i,ct:!0}),var:new Hn({lt:i,ct:!1})}};ur(s,e,r);const l=br(s);if(st(l))return l.finally(()=>{vr(s)});vr(s)};function ur(t,n,e){if(t.vParent=e,t.vNewNode=null,t.vCurrent=ui(e),pr(t,n,!0),!(32&t.vParent.flags))for(;t.stack.length;){for(;t.jsxIdx<t.jsxCount;){if("string"==typeof t.jsxValue)Er(t,t.jsxValue);else if("number"==typeof t.jsxValue)Er(t,String(t.jsxValue));else if(t.jsxValue&&"object"==typeof t.jsxValue)if(Zn(t.jsxValue)){const n=t.jsxValue.type;"string"==typeof n?(kr(t),Rr(t,t.jsxValue,n),t.jsxValue.constProps&&sr.call(t.jsxValue.constProps,Y)||sr.call(t.jsxValue.varProps,Y)?gr(t,!1):hr(t,t.jsxValue.children,!0)):"function"==typeof n&&(n===pe?(kr(t),_r(t,"F",t.jsxValue.key),hr(t,t.jsxValue.children,!0)):n===ge?(kr(t),mr(t)||hr(t,t.jsxValue.children,!0)):n===Dr?(yr(t),hr(t,t.jsxValue.children,!0,!1)):n===xe||n===ke?Sr(t):(kr(t),Or(t,n)))}else if(Array.isArray(t.jsxValue))hr(t,t.jsxValue,!1);else if(vl(t.jsxValue)){_r(t,"S",null);const n=t.jsxValue instanceof Wn?t.jsxValue.tt():t.jsxValue,e=t.vCurrent?.[xt]?.get(".")?.backRef;let r=e?.has(n);if(e&&n instanceof Wn&&(r=Br(e,n)),!r){const e=t.vNewNode||t.vCurrent;hr(t,fr(t,()=>ls(n,e,".",t.container)),!0)}}else st(t.jsxValue)&&(_r(t,"A",null),t.asyncQueue.push(t.jsxValue,t.vNewNode||t.vCurrent));else t.jsxValue===Se||Er(t,"");ar(t)}Sr(t),wr(t),dr(t)}}function fr(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 ar(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 dr(t);null!==t.vNewNode?t.vNewNode=null:t.vCurrent=ir(t.vCurrent)}else t.shouldAdvance=!0}function hr(t,n,e,r=!0){if(r&&(null==n||e&&c(n)&&0===n.length))gr(t);else{if(pr(t,n,e),e){const n=t.isCreationMode||!!t.vNewNode||!ui(t.vCurrent);t.isCreationMode=n,t.vSideBuffer=null,t.vSiblings=null,t.vSiblingsArray=null,t.vParent=t.vNewNode||t.vCurrent,t.vCurrent=ui(t.vParent),t.vNewNode=null}t.shouldAdvance=!1}}function dr(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(),ar(t)}function pr(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 $r(t){return t.vNewNode?t.vCurrent:ir(t.vCurrent)}function yr(t){const n=t.jsxValue.key;t.vCurrent=Wo(t.vParent,n,n=>Yo(t.container.rootVNode,n)),t.vCurrent=t.vCurrent&&32&t.vCurrent.flags?null:t.vCurrent,null==t.vCurrent&&(t.vNewNode=Io(),Uo(t.vNewNode,m,n),t.vNewNode.slotParent=t.vParent,Uo(t.vParent,n,t.vNewNode))}function mr(t){const n=Hi(t.vParent),e=function(t,n){const e=t.jsxValue,r=e.constProps;if(r&&"object"==typeof r&&sr.call(r,"name")){const e=r.name;if(n&&e instanceof Wn)return ls(e,n,":",t.container)}return an(e,"name")||""}(t,n),r=n?Wo(n,e,null):null;if(null==r)return ni(t.journal,t.vParent,t.vNewNode=Io(),t.vCurrent&&$r(t)),Uo(t.vNewNode,m,e),n&&Uo(n,e,t.vNewNode),!1;if(r===t.vCurrent);else{const o=r.parent;ni(t.journal,t.vParent,t.vNewNode=r,t.vCurrent&&$r(t)),Uo(t.vNewNode,m,e),n&&Uo(n,e,t.vNewNode),o&&Eo(o)&&!o.firstChild&&si(o)===I&&oi(t.journal,o.parent,o,!0)}return!0}function wr(t){if(t.vSideBuffer){for(const n of t.vSideBuffer.values())32&n.flags||(Ur(t.container,t.journal,n,t.cursor),oi(t.journal,t.vParent,n,!0));t.vSideBuffer.clear(),t.vSideBuffer=null}t.vCurrent=null}function br(t){for(;t.asyncQueue.length;){const n=t.asyncQueue.shift(),e=t.asyncQueue.shift();if(st(n))return n.then(n=>(ur(t,n,e),br(t))).catch(n=>(t.container.handleError(n,e),br(t)));ur(t,n,e)}if(t.asyncAttributePromises.length){const n=t.asyncAttributePromises.splice(0);return Promise.all(n).then(()=>br(t))}}function vr(t){t.journal=null,t.cursor=null}function gr(t,n=!0){const e=t.vCurrent&&ui(t.vCurrent);if(null!==e){let r=e;for(;r;)Ur(t.container,t.journal,r,t.cursor),r=r.nextSibling;ii(t.journal,t.vCurrent,e,n)}}function Sr(t){if(null!==t.vCurrent)for(;t.vCurrent;){const n=t.vCurrent;t.vCurrent=ir(t.vCurrent),t.vParent===n.parent&&(Ur(t.container,t.journal,n,t.cursor),oi(t.journal,t.vParent,n,!0))}}function kr(t){for(;null!==t.vCurrent&&To(t.vCurrent);){Ur(t.container,t.journal,t.vCurrent,t.cursor);const n=t.vCurrent;t.vCurrent=ir(t.vCurrent),oi(t.journal,t.vParent,n,!0)}}function xr(t,n,e,r){const o=function(t,n){const e=kt(ri(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=No(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(Xt(n)){const e=nn(n);if(e){const[r,o]=e,i=en(r,o),s=rn(r,i);o&&(Uo(t.vNewNode,"::"+i,l),r&&Vo(t.journal,t.vNewNode,n,""),Cr(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=>or(o,n,De(n,r,t.scopedStyleIdPrefix),!!(128&e.flags)));t.asyncAttributePromises.push(r);continue}if(n!==Y)if("textarea"!==e||"value"!==n)or(o,n,De(n,l,t.scopedStyleIdPrefix),!!(128&t.vNewNode.flags));else{if(l&&"string"!=typeof l)continue;o.value=Ce(l||"")}else l&&(o.innerHTML=String(l),o.setAttribute(_,"html"))}const l=n.key;return l&&(t.vNewNode.key=l),t.scopedStyleIdPrefix&&(sr.call(n.varProps,"class")||n.constProps&&sr.call(n.constProps,"class")||o.setAttribute("class",t.scopedStyleIdPrefix)),ni(t.journal,t.vParent,t.vNewNode,t.vCurrent),s}function Rr(t,n,e){let r=!1;if(t.isCreationMode)r=xr(t,n,e,null);else{const o=t.vCurrent&&Eo(t.vCurrent),i=o&&e===si(t.vCurrent),s=n.key;if(i&&s===(o&&t.vCurrent.key))Ar(t,e,s);else{const o=Pr(e,s);Nr(t,e,s,o,t.vParent)&&(r=xr(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||Qo(n);const o=n.props;let i=!1;for(const s in e){const l=e[s],c=Xt(s);if(o&&sr.call(o,s)){const e=o[s];if(l!==e){if(l instanceof Wn&&e instanceof Wn&&Qr(l,e))continue;if(c){const e=jr(t,n,s,l,r);i||=e}else qr(t,n,s,l,r)}}else if(null!=l)if(c){const e=jr(t,n,s,l,r);i||=e}else qr(t,n,s,l,r)}if(o)for(const i in o)sr.call(e,i)||i.startsWith(Hr)||Xt(i)||qr(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=tn(n.type),o=":"+e.substring(1)+":"+r,s=[Wo(i,o,null),Wo(i,Hr+o,null)];for(const e of s.flat(2))e&&tr(t.container,i,e,n,i.node,!1).catch(n=>{t.container.handleError(n,i)})}))}const qr=(t,n,e,r,o)=>{if(e===V||e===z||e.charAt(0)===Hr)return void Uo(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[xt]?.get(e);if(vl(r)){const o=r instanceof Wn?r.tt():r;if(s?.backRef?.has(o))return;s&&Vn(t.container,s);const i=n;r=ft(()=>ls(o,i,e,t.container,t.subscriptionData.var))}else s&&Vn(t.container,s);if(st(r)){const o=n,s=r.then(n=>{lr(t.journal,o,e,n,t.scopedStyleIdPrefix,i)});return void t.asyncAttributePromises.push(s)}lr(t.journal,n,e,r,t.scopedStyleIdPrefix,i)},jr=(t,n,e,r,o)=>{const i=nn(e);if(i){const e=n.props,[s,l]=i,c=en(s,l),u=rn(s,c),f=":"+c;return!(e&&sr.call(e,f)||(qr(t,n,f,r,o),Cr(t,u),0))}return!1};function Cr(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 Ar(t,n,e){const r=Pr(n,e);return!(!r||!t.vSideBuffer?.has(r)||(t.vSideBuffer.delete(r),0))}function Nr(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=Eo(o)?si(o):null;if((Fr(o)||Tr(o,t.container.st))===e&&r===n)return o}t.vSiblings=new Map,t.vSiblingsArray=[];let i=t.vCurrent;for(;i;){const o=Eo(i)?si(i):null,s=Fr(i)||Tr(i,t.container.st);null===r&&s==e&&o==n?r=i:null===s?t.vSiblingsArray.push(o,i):t.vSiblings.set(Pr(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=Pr(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=Eo(t.vCurrent)?si(t.vCurrent):null,e=Fr(t.vCurrent)||Tr(t.vCurrent,t.container.st);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=Eo(e)?si(e):null,r=Fr(e)||Tr(e,t.container.st);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 ni(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=Fr(t.vCurrent)||Tr(t.vCurrent,t.container.st);if(null!=n){const e=Pr(Eo(t.vCurrent)?si(t.vCurrent):null,n);null!=e&&(t.vSideBuffer||=new Map,t.vSideBuffer.set(e,t.vCurrent))}}return ni(t.journal,o,n,t.vCurrent),t.vCurrent=n,t.vNewNode=null,!1}}return!0}function _r(t,n,e){const r="F"===n,o=Fr(t.vCurrent);if(!t.vCurrent||!Do(t.vCurrent)||o!==e||r&&!e)return null===e||t.isCreationMode?(ni(t.journal,t.vParent,t.vNewNode=Io(),t.vCurrent&&$r(t)),void(t.vNewNode.key=e)):void(Nr(t,null,e,Pr(null,e),t.vParent,!0)&&(ni(t.journal,t.vParent,t.vNewNode=Io(),t.vCurrent&&$r(t)),t.vNewNode.key=e));Ar(t,null,o)}function Or(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.T,c=Tr(r,t.container.st),u=o.key||l;if(u===(Fr(r)||c)?l===c&&o.key?Ar(t,null,u):(Ir(t,r,s,n),r=t.vNewNode,i=!0):(Nr(t,null,u,u,t.vParent)&&(Ir(t,r,s,n),i=!0),r=t.vNewNode||t.vCurrent),r){const e=Wo(r,L,t.container.st);i||(i||=function(t,n,e,r){let o=!1;if(e){const t=Lr(n[Qt],e[Qt],e[Jt],r,!1);o||=t;const i=Lr(n[Bt],e[Bt],e[Jt],r,!0);o||=i,e[Ht]=n[Ht]}else n&&(Uo(t,L,n),e=n);return o}(r,n,e,t.container)),i&&(Uo(r,$,s),r.flags&=-33,Co(t.container,r,4,t.cursor))}!function(t,n,e){const r=Array.isArray(n)?n:[n],o=t=>new Xn(Dr,null,null,[],t),i=[];if(e){const t=e.props;if(t)for(const n of Object.keys(t))if(Ae(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(Zn(n)&&an(n,m)||""),s=We(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);hr(t,i,!0)}}(t,o.children,r)}else{const e=o.key,i=e===Fr(r),s=Tr(r,t.container.st);if(r&&null!=s||null==e?(Mr(t),r=t.vNewNode):i?Ar(t,null,e):(Nr(t,null,e,e,t.vParent)&&Mr(t),r=t.vNewNode||t.vCurrent),r){let e=r;for(;e&&(!Do(e)||null===Wo(e,$,null));)e=e.parent;const i=ye(t.container,r,e||t.container.rootVNode,n,o.props);t.asyncQueue.push(i,r)}}}function Ir(t,n,e,r){n&&Un(t.container,n),ni(t.journal,t.vParent,t.vNewNode=Io(),t.vCurrent&&$r(t));const o=t.jsxValue;Uo(t.vNewNode,$,e),Uo(t.vNewNode,L,r),t.vNewNode.key=o.key}function Mr(t){ni(t.journal,t.vParent,t.vNewNode=Io(),t.vCurrent&&$r(t));const n=t.jsxValue;Uo(t.vNewNode,L,n.props),n.key&&(t.vNewNode.key=n.key)}function Er(t,n){if(null!==t.vCurrent&&3===Qi(t.vCurrent))return n!==li(t.vCurrent)?void ci(t.journal,t.vCurrent,n):void 0;ni(t.journal,t.vParent,t.vNewNode=Oo((import.meta.env.TEST?t.container.document:document).createTextNode(n),n),t.vCurrent)}function Fr(t){return null==t||To(t)?null:t.key}function Tr(t,n){if(null==t||To(t))return null;const e=Wo(t,$,n);return e?e.T:null}function Dr(){}function Lr(t,n,e,r,o=!0){if(Wr(t)&&Wr(n))return!1;e.R=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]),fn(e,r)||(i=!0)}if(n)for(const r in n)"children"===r||r===x||t&&sr.call(t,r)||!o||(delete n[r],fn(e,r)||(i=!0));return i}function Wr(t){return!t||0===Object.keys(t).length}function Ur(t,n,e,r=null){let o=e;if(To(e))return void zr(o);let i=null;for(;;){const s=o.flags;if(3&s){if(Un(t,o),zr(o),2&s&&null!==Wo(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.N){i.N|=32,Co(t,o,64,r);continue}(i instanceof Vt||Ml(i))&&Un(t,i),(n||i instanceof Rn)&&$n(i)}}const i=o.props;if(i)for(const e of Object.keys(i))if(Ae(e)){const o=i[e];if(o){i[e]=null;const s="string"==typeof o?Yo(t.rootVNode,o):o;let l=ui(s);for(;l;)Ur(t,n,l,r),l=l.nextSibling;Vr(n,s)}}}if(Lo(o)){if(o===e){const t=ui(o);if(t)return void Bo(t,()=>{})}}else{const t=ui(o);if(t){o=t;continue}}}else 4&s&&zr(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 Vr(t,n){const e=n.parent;e&&1&e.flags&&si(e)===I&&oi(t,e,n,!0)}function zr(t){t.flags|=32}function Qr(t,n){return t===n||n.X===t.X&&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.Y,t.Y)}function Br(t,n){if(!(n instanceof Wn))return!1;for(const e of t)if(e instanceof Wn&&Qr(e,n))return!0;return!1}const Hr=":",Jr=()=>{const t=Xi(),n=t.Z;let e=t.R.getHostProp(n,W);null===e&&(e=[],t.R.setHostProp(n,W,e));let r=t.R.getHostProp(n,U);for(null===r&&(r=0),t.R.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}},Gr=(t,n)=>{const{val:e,set:r,i:o,iCtx:i}=Jr();if(null!=e)return e.ut;const s=i.R,l=Xr(s,n),c=i.Z,u=new yl(12,o,c,t,l,null);return r(u),Zr(u,s,c),l},Yr=t=>oe(pe,null,null,function(t){const n=t.value;if(Kr(n)){const e=n._state;if("pending"===e&&t.onPending)return 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),Xr=(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)},Kr=t=>l(t)&&"resource"===(Nl(t)||t).__brand,Zr=(t,n,e)=>{t.N&=-9,$n(t);const r=rs(n.l,e,"qResource");r.R=n;const o=t.et.getFn(r,()=>Un(n,t)),i=t.ut,s=Sn(t,n),[l,c]=kn(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(()=>Zr(t,n,e));$(!1,r)}),m=u._timeout;return m>0?Promise.race([y,ut(m).then(()=>{$(!1,new Error("timeout"))&&$n(t)})]):y};function to(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.N))continue;if(4&r.N)Zr(r,n,t);else if(1&r.N)(e.afterFlushTasks||=[]).push(r);else{const i=!!(16&r.N),s=$l(r,n,t);st(s)&&(i?o=o?o.then(()=>s):s:(e.extraPromises||=[]).push(s))}}return o}function no(t,n,e,r){t.dirty&=-3;const o=t;let i=function(t){const n=t.props;return n?.[Dt]}(t);if(i)return vl(i)&&(i=i.value),cr(n,e,i,o,r,null)}function eo(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(()=>ye(n,o,o,i,s),t=>{const i=n.getHostProp(o,S);return ft(()=>cr(n,e,t,o,r,Ie(i)))},t=>{n.handleError(t,o)});return st(l)?l:void 0}function ro(t,n,e,r,o,i=null){n.push(Ze(t.node,e,r,i,!!(128&t.flags))),o||(t.props&&null==r?delete t.props[e]:(t.props||={})[e]=r)}function oo(t,n){if(t.dirty&=-9,!(1&t.flags))return;const e=function(t){return(t.props||={})[Tt]??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),ro(r,n,t,e,o.isConst,o.scopedStyleIdPrefix)}!function(t){delete(t.props||={})[Tt]}(t)}function io(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.N&&(t.N&=-33,$n(t))}function so(t,n){t.dirty&=-17;const e=n.getHostProp(t,Lt);if(!e)return;const r=e.k,o=rs();return o.R=n,ct(ft(()=>Zi.call(e,o,e.M)),()=>{if(2&e.N)return e.N&=-3,xl(n,e,r)})}let lo=null;const co=(t,n,e)=>{lo||(lo=t.insertBefore),lo.call(t,n,e)},uo=(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,fo=t=>"false"!==t&&Boolean(t),ao=(ho=wo,()=>queueMicrotask(ho));var ho;const po=(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})(wo);let $o=!1;function yo(){$o||($o=!0,ao())}function mo(){$o||($o=!0,po())}function wo(t={timeBudget:1e3/60}){$o=!1;let n=null;for(;n=Ot();)bo(n,t)}function bo(t,e){const{timeBudget:r}=e,o=!import.meta.env.TEST&&n,i=performance.now(),s=Ut(t);if(s.promise)return;const l=s.container;if(!t.dirty)return void vo(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 mo();if(s.promise)return;if(!(127&u.dirty)){Wt(l,s,ko(u,t));continue}if(32&u.flags){64&u.dirty&&io(u,l),u.dirty&=-128,Wt(l,s,ko(u,t));continue}let n;try{if(1&u.dirty)n=to(u,l,s);else if(2&u.dirty)n=no(u,l,c,t);else if(4&u.dirty)n=eo(u,l,c,t);else if(8&u.dirty)oo(u,c);else if(16&u.dirty)n=so(u,l);else if(32&u.dirty){const n=u.dirtyChildren;if(n&&0!==n.length){So(n,u),u.nextDirtyChildIndex=0,u=ko(n[0],t),Wt(l,s,u);continue}u.dirty&=-33}}catch(t){l.handleError(t,u)}if(n&&st(n)){s.promise=n,It(t,l);const e=u;return void n.catch(t=>{l.handleError(t,e)}).finally(()=>{s.promise=null,Mt(t,l),yo()})}}vo(l,t,s,o)}function vo(t,n,e,r){if(!(127&n.dirty)){if(Et(n,t),r||function(t,n){const e=Ut(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)co(n,r[0],e);else{const t=(n.ownerDocument||n).createDocumentFragment();for(const n of r)t.appendChild(n);co(n,t,e)}r=null,n=null,e=null,o.clear()}};for(const s of t)if(s instanceof Je){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}co(s.parent,s.target,s.beforeTarget)}else if(s instanceof Qe)(o.has(s.target)||e&&s.target===e||n&&s.target===n)&&i(),s.target.remove();else{if(s instanceof Be){(o.has(s.target)||e&&s.target===e||n&&s.target===n)&&i(),s.target.textContent="";continue}if(s instanceof He)s.target.nodeValue=s.text;else if(s instanceof Ge){const t=s.target,e=s.attrName,r=s.attrValue,o=null!=r?De(e,r,s.scopedStyleIdPrefix):null,l=null==o||!1===o;uo(t,e)?t[e]=fo(o):e===Y?(n===t&&i(),t.innerHTML=o,t.setAttribute(_,"html")):l?t.removeAttribute(e):"value"===e&&e in t?t.value=o:or(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(()=>{go(t)});go(t)}}function go(t){0===t.u&&0===t.$&&(t.p(),t.h=null)}function So(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 ko(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,ko(e,n)}function xo(t){return!!(64&t.flags)}function Ro(t,n){if(!(1&n.flags))return 8&n.dirty&&function(t,n){n.dirty&=-9;const e=n.getProp(Tt);if(e&&0!==e.size)for(const[r,o]of e.entries()){let e=o.value;vl(e)&&(e=e.value);const i=De(r,e,o.scopedStyleIdPrefix);t.addBackpatchEntry(n.id,r,i)}}(t,n),16&n.dirty&&so(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.N))continue;let i;i=4&e.N?Zr(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 qo=[];function jo(t){for(let n=0;n<qo.length;n++){const e=qo[n],r=qo[n+1]||t;r.dirty|=32,r.dirtyChildren||=[],r.dirtyChildren.push(e)}}function Co(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){qo.push(t);let e=t.parent||t.slotParent;for(;e;){const r=127&e.dirty,o=xo(e);if(e===n||r){if(jo(e),o){const n=Ut(e);n.position!==e&&(n.position=t)}return void(qo.length=0)}if(o){const n=Ut(e);n.position!==e&&(n.position=t)}qo.push(e),e=e.parent||e.slotParent}qo.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(xo(t))return t;t=t.parent||t.slotParent}return null}(n);if(t){const e=Ut(t);let r=e.position;if(r)for(;r!==t;)if(r=r.parent||r.slotParent,r===n){e.position=n;break}}}}else xo(n)||function(t){qo.push(t);let n=t.parent||t.slotParent;for(;n;){if(xo(n))return jo(n),qo.length=0,!0;qo.push(n),n=n.parent||n.slotParent}return qo.length=0,!1}(n)||function(t,n){Ft.set(n,{afterFlushTasks:null,extraPromises:null,journal:null,container:t,position:n,priority:0,promise:null});const e=n;e.flags|=64,_t(t,e),yo()}(t,n)}function Po(t,n){t.push(n)}const Ao=(t,n)=>{let e;for(;t&&!(e=Object.getOwnPropertyDescriptor(t,n)?.get);)t=Object.getPrototypeOf(t);return e||function(){return this[n]}},No=(t,n,e=null)=>{const r=new Ct(e,-503,null,null,null,null,null,null,t,n);return t.vNode=r,r},_o=t=>{const n=new Ct(null,-511,null,null,null,null,void 0,void 0,t,void 0);return t.vNode=n,n},Oo=(t,n)=>new Pt(-500,null,null,null,null,t,n),Io=()=>new jt(null,-510,null,null,null,null,null,null),Mo=t=>t instanceof qt,Eo=t=>!(1&~t.flags),Fo=t=>!(1&~t.flags)&&void 0!==t.firstChild&&void 0!==t.lastChild,To=t=>!(4&~t.flags),Do=t=>!(2&~t.flags),Lo=t=>!(2&~t.flags)&&null!==Wo(t,m,null),Wo=(t,n,e)=>{if(Eo(t)||Do(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},Uo=(t,n,e)=>{null==e&&t.props?delete t.props[n]:(t.props||={},t.props[n]=e)},Vo=(t,n,e,r,o=null)=>{Eo(n)&&(import.meta.env.TEST&&o&&Uo(n,X,o),Uo(n,e,r),Po(t,Ze(n.node,e,r,o,!!(128&n.flags))))},zo=t=>{if(t.key)return;const n=pi(t.node,G);n&&(t.key=n)},Qo=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?Uo(n,"dangerouslySetInnerHTML",e.innerHTML):"text"===t&&"value"in e&&Uo(n,"value",e.value)}else i.startsWith("on:")||Uo(n,i,o.value)}}};function Bo(t,n){let e=t;if(To(t))return;let r=null;for(;;){if(n?.(e,r))return;const o=ui(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 Ho(t,n,e=!1,r=[]){if((t=>!!(5&t.flags))(n))return To(n)&&Go(t,n),r.push(e?n:Di(n)),r;let o=ui(n);for(;o;)Eo(o)?r.push(e?o:Di(o)):To(o)?(Go(t,o),r.push(e?o:Di(o))):Ho(t,o,!!e,r),o=o.nextSibling;return r}const Jo=(t,n,e)=>{let r=t;for(;e&&r&&Do(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&&!Do(e))return null;for(;e&&!(t=n?e.nextSibling:e.previousSibling);)if(e=e.parent,e&&!Do(e))return null;if(!t)return null;if(To(t)&&e&&Eo(e))return null}for(;t;){if(r=t,5&r.flags&&Di(r))return r;t=n?r.firstChild:r.lastChild}}return null},Go=(t,n)=>{const e=n;if(!(8&e.flags)){const r=ei(n,!0),o=e.node,i=Ai(r);let s=Jo(n,!1,!0);const l=Jo(n,!0,!0),c=o||(l&&Eo(l)?l.node:l?.node)||null;let u=c;for(;s&&To(s);){if(!(8&s.flags)){const n=i.createTextNode(s.text);Po(t,Ke(n,r,u)),u=n,s.node=n,s.flags|=8}s=Jo(s,!1,!0)}for(s=n;s&&To(s);){const n=Jo(s,!0,!0),e=!n||!To(n);if(!(8&s.flags)){if(e&&o)Po(t,Xe(o,s.text));else{const n=i.createTextNode(s.text);Po(t,Ke(n,r,c)),s.node=n}s.flags|=8}s=n}}},Yo=(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(Mo(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=Zo(e,n[t]);-1!=s&&(i.vNode=e,o.set(s,e))}if("string"==typeof n){const t=n.length;let r=ti(n,t),o=0;for(;r<t;){const t=n.charCodeAt(r);o*=26,t>=97?o+=t-97:(o+=t-65,e=Xo(e,o),o=0),r++}}return e},Xo=(t,n)=>{let e=ui(t);for(;e.flags>>>9!==n;)e=e.nextSibling;return e},Ko=[],Zo=(t,n)=>{let e=ui(t);for(;e&&(!(e instanceof Ct)||e.node!==n);)if(Do(e)){const t=e.nextSibling,n=ui(e);n?(t&&Ko.push(t),e=n):e=t||(Ko.length?Ko.pop():null)}else{const t=e.nextSibling;e=t||t||Ko.pop()}for(;Ko.length;)Ko.pop();return e},ti=(t,n)=>{let e=0;for(;e<n;){if(!(t.charCodeAt(e)<=57))return e;e++}return n},ni=(t,n,e,r)=>{Eo(n)&&fi(n);const o=e.parent;if(e===r){if(o)return;r=null}const i=ri(n,!1),s=i&&i.node;let l=null;i&&(l=function(t,n,e){const{elementNamespace:r,elementNamespaceFlag:o}=kt(n,e);let i=[];if(r===M)i=Ho(t,e,!0);else{const s=Ho(t,e,!0);for(let t=0;t<s.length;t++){const e=s[t];if(To(e)){i.push(e);continue}if((384&e.flags)==(384&n.flags)){i.push(e);continue}const l=gt(e,n,r,o);l&&(e.node=l,i.push(e))}}return i}(t,i,e)),o&&(e.previousSibling||e.nextSibling||o!==n)&&oi(t,o,e,!1);const c=32&n.flags;let u=null;if(!c&&(null==r?Do(n)&&(u=Jo(n,!0,!1)):u=Do(r)?Jo(r,!0,!0):r,u&&((t,n)=>{To(n)&&Go(t,n)})(t,u),l&&l.length))for(const n of l)Po(t,Ke(n.node,s,Di(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)},ei=(t,n)=>(t=ri(t,n))&&t.node,ri=(t,n)=>{for(;t&&!Eo(t);)t=t.parent||(n?t.slotParent:null);return t},oi=(t,n,e,r)=>{if(To(e)&&Go(t,e),r){const r=ei(n,!1);if(null!==Wo(n,Y,null))return;const o=Ho(t,e,!0);if(r&&o.length)for(const n of o)Po(t,Ye(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},ii=(t,n,e,r=!0)=>{if(ei(n,!0)&&r)if(Eo(n))Po(t,new Be(n.node));else{const e=Ho(t,n,!0);if(e.length)for(const n of e)Po(t,Ye(n.node))}const o=e.previousSibling;o?o.nextSibling=null:n.firstChild=null,n.lastChild=o},si=t=>{const n=t;let e=n.elementName;if(void 0===e){const t=n.node,r=Ci(t).toLowerCase();e=n.elementName=r,n.flags|=(t=>{switch(qi(t)){case E:return 128;case F:return 256;default:return 0}})(t)}return e},li=t=>{let n=t.text;return void 0===n&&(n=t.text=t.node.nodeValue),n},ci=(t,n,e)=>{Go(t,n),n.text=e,Po(t,Xe(n.node,e))},ui=t=>{if(To(t))return null;let n=t.firstChild;return void 0===n&&(n=fi(t)),n},fi=t=>{const n=t;let e=n.firstChild;return void 0===e&&(e=n.parent&&hi(n.node)?n.firstChild=n.lastChild=null:(t=>{const n=t.node,e=xi(n),r=Ai(n)?.qVNodeData?.get(n);return((t,n,e,r)=>{if(zo(t),r){if(r.charCodeAt(0)===yt&&r.charCodeAt(1)===yt){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=Oi(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=Bi(t);return!n||n&&Vi(t)};let p=null;if(Mi(n,(y,w,b,v,g)=>{if(Wi(y())){for(;d(r);)if(!(r=bi(r)))throw a(27,[n,y(),g]);f=null,l=null;let t=0;for(;Wi(y());)t*=10,t+=b()-48;for(;t--;){const t=_o(r);zo(t),c(t),r=bi(r)}}else if(59===y())Uo(t,S,w());else if(60===y())(p||=[]).push(t),Uo(t,$,w());else if(61===y()){h||(h=ul(e));const n=w();h.ht(parseInt(n),t)}else if(62===y())Uo(t,L,w());else if(64===y()){let n;v(g+1)===yt?(b(),n=decodeURI(Pe(w())),b()):n=w(),t.key=n}else if(91===y())Uo(t,W,w());else if(94===y())Uo(t,U,w());else if(96===y())h||(h=ul(e)),Ii(t,w(),h);else if(63===y())h||(h=ul(e)),t.slotParent=Yo(h.rootVNode,w());else if(93===y())Uo(t,k,w());else if(123===y())b(),c(Io()),zi.push(t,i,s,l,o),o=0,t=s,i=s=null;else if(y()===yt){const n=Pe(w()),e=Pe(w());Uo(t,n,e)}else if(125===y())b(),t.lastChild=s,o=zi.pop(),l=zi.pop(),s=zi.pop(),i=zi.pop(),t=zi.pop();else if(126===y()){const n=Pe(w());Uo(t,m,n)}else{for(;Bi(r)&&Vi(r);)r=bi(r);const t=r&&3===yi(r)?r:null;null===f&&(f=t?t.nodeValue:null,u=0);let n=0;for(;Ui(y());)n+=b()-97,n*=26;n+=b()-65;const e=null===f?"":f.substring(u,u+n);c(l=((t,n,e)=>new Pt(-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 Oi(t,e)})(t,n,e,r)})(n)),e};let ai=null;const hi=t=>(ai||(ai=t.hasAttribute),ai.call(t,_));let di=null;const pi=(t,n)=>(di||(di=t.getAttribute),di.call(t,n));let $i=null;const yi=t=>($i||($i=Ao(t,"nodeType")),$i.call(t)),mi=t=>{const n=yi(t);return 3===n||1===n};let wi=null;const bi=t=>{for(wi||(wi=Ao(t,"nextSibling")),ki||(ki=Ao(t,"firstChild"));t;)if(null!==(t=wi.call(t))){const n=yi(t);if(3===n||1===n)break;if(8===n){const n=t.nodeValue;if(n?.startsWith(A))return vi(t,C,wi,ki);if(t.nodeValue?.startsWith(P))return vi(t,N,wi,ki);if(n?.startsWith(_))for(;t&&(t=wi.call(t))&&(8!==yi(t)||!t.nodeValue?.startsWith(O)););}}return t};function vi(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=Si(t),o&&(o=e.call(o))),t=o}return null}let gi=null;const Si=t=>(gi||(gi=Ao(t,"parentNode")),gi.call(t));let ki=null;const xi=t=>{for(ki||(ki=Ao(t,"firstChild")),t=t&&ki.call(t);t&&!mi(t);)t=bi(t);return t};let Ri=null;const qi=t=>(Ri||(Ri=Ao(t,"namespaceURI")),Ri.call(t));let ji=null;const Ci=t=>(ji||(ji=Ao(t,"nodeName")),ji.call(t));let Pi=null;const Ai=t=>(Pi||(Pi=Ao(t,"ownerDocument")),Pi.call(t)),Ni=t=>"STYLE"===t.nodeName&&(t.hasAttribute(S)||t.hasAttribute(b)),_i=t=>t.hasAttribute(G),Oi=(t,n,e)=>{let r=null;const o=()=>{for(;Bi(i)&&Vi(i);)i=bi(i)};let i=n;o();let s=null;for(;i;){const n=yi(i);let e=null;3===n?e=Oo(i,i.textContent??void 0):1===n&&(e=_o(i),zo(e)),e&&(e.parent=t,s&&(s.nextSibling=e),e.previousSibling=s,s=e),r||(t.firstChild=r=s),i=bi(i),o()}if(t.lastChild=s||null,t.firstChild=r,e){let n=null;Mi(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)),Ii(t,r(),n)):r()})}return r};function Ii(t,n,e){t[xt]?((t,n)=>{for(const[e,r]of n)t.set(e,r)})(t[xt],e.st(n)):Object.defineProperty(t,xt,{get(){const r=e.st(n);return t[xt]=r,r},set(n){Object.defineProperty(t,xt,{value:n,writable:!0,enumerable:!0,configurable:!0})},enumerable:!0,configurable:!0})}const Mi=(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)},Ei=t=>{if(3&t.flags){Qo(t);const n=[],e=t.props;if(e)for(const t of Object.keys(e))t.startsWith(G)||n.push(t);return n}return[]},Fi=(t,n)=>{let e=Ti(t);for(;e;){if(e===n)return!0;e=Ti(e)}return!1},Ti=t=>t.parent||t.slotParent,Di=t=>null===t||Do(t)?null:t.node;function Li(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(To(i))s.push(Cl(li(i)));else if(Do(i)){const e=["["+String(i.flags>>>9)+"]"];i.dirty&&e.push(` dirty:${i.dirty}`),Ei(i).forEach(t=>{if(t!==pt&&t!==X){const n=Wo(i,t,null);e.push(" "+t+"="+Cl(n))}});const r=(o?"":"")+($t[Wo(i,pt,null)||"V"]||$t.V)+(o?"":"");s.push("<"+r+e.join("")+">");const l=ui(i);l&&s.push(" "+Li.call(l,t-1,n+" ",!0,!0,o)),s.push("</"+r+">")}else if(Eo(i)){const r=si(i),l=[];xo(i)&&l.push(" cursor"),i.dirty&&l.push(` dirty:${i.dirty}`),i.dirtyChildren&&l.push(` dirtyChildren[${i.dirtyChildren.length}]`);const c=Ei(i);for(const t of c){const n=Wo(i,t,null);l.push(" "+t+"="+Cl(n))}const u=Di(i);if(u){const t=Ai(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("")+">"),Fo(i)||e){const e=ui(i);e&&s.push(" "+Li.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 Wi=t=>48<=t&&t<=57,Ui=t=>97<=t&&t<=122;function Vi(t){return!_i(t)||Ni(t)}const zi=[],Qi=t=>{const n=t.flags;if(1&n)return 1;if(2&n)return 11;if(4&n)return 3;throw a(26,[n])},Bi=t=>t&&"object"==typeof t&&1===yi(t),Hi=t=>{let n=1;for(;n--;){for(;t&&(!Do(t)||null===Wo(t,$,null));){const e=t.slotParent,r=Do(t)&&e;r&&n++,t=r||t.parent}n>0&&(t=t.parent)}return t};let Ji;const Gi=()=>{if(!Ji){const t="undefined"!=typeof document&&document&&document.__q_context__;if(!t)return;return c(t)?document.__q_context__=ns(t):t}return Ji},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=Ji;let o;try{Ji=t,o=n.apply(this,e)}finally{Ji=r}return o}const ns=([t,n,e])=>{const r=ul(t),o=Yo(r.rootVNode,t),i=r.l;return i&&function(t){at=t}(i),rs(i,o,n,e)};function es(t,n,e,r){return{rt:r,Z:n,dt:T,et:void 0,j:void 0,l:t,R:e,it:void 0}}function rs(t,n,e,r){return{rt:r,Z:n,dt:e,et:void 0,j:void 0,l:t||(e&&l(e)&&"locale"in e?e.locale:void 0),R:void 0}}const os=t=>{if(!Ji)return t();{const n=Ji.j;try{return Ji.j=void 0,t()}finally{Ji.j=n}}},is=/*#__PURE__*/es(void 0,void 0,void 0),ss=(t,n,e,r,o)=>{const i=is.j,s=is.R;try{return is.j=gn(n,e,o),is.R=r,Zi(is,t)}finally{is.j=i,is.R=s}},ls=(t,n,e,r,o)=>(t instanceof Wn&&t.Z!==n&&n&&(t.Z=n),ss(()=>t.value,n,e,r,o)),cs=()=>{const t=Gi();if(t){const n=t.Z;let e=null;return null!=n&&(Mo(n)?Eo(n)&&(e=Di(n)):e=n),e??t.et?.$t(void 0)}},us=()=>{const t=Gi();if(t)return t.dt},fs=()=>{const t=Gi();if(t)return t.R},as=t=>t,hs=t=>{const n=ul(t),e=n?.h;return e||Promise.resolve()},ds=t=>/*#__PURE__*/Object.freeze({id:tn(t)}),ps=(t,n)=>{const{val:e,set:r,iCtx:o}=Jr();void 0===e&&(o.R.setContext(o.Z,t,n),r(1))},$s=(t,n)=>{const{val:e,set:r,iCtx:o}=Jr();if(void 0!==e)return e;const i=o.R.resolveContext(o.Z,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.Z;if(e)return n.R?.resolveContext(e,t)},ms=/*#__PURE__*/ds("qk-error"),ws=[void 0,null,!0,!1,"",on,sn,yn,vn,Yt,ge,pe,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.T)),!o)throw a(14,[n.o]);o.startsWith("./")&&(o=o.slice(2))}let s=null;if(Array.isArray(n.ot)&&n.ot.length>0&&(s=n.ot.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 Yt;const r=t.gt[e];return-1===r||void 0===r?Yt: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=Xr(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 Vt(t,0);case 25:return new Wn(t,null,null,null);case 26:return new xn(t,null);case 27:return new Rn(t,null);case 28:return new jn(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 Xn(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 ln(null);case 9:return qs(t,e);case 10:const f=qs(t,e);if(Mo(f))return fi(f),Di(f);throw a(17,[typeof f]);case 33:return new Hn({});case 34:return new mn(null,null,null,null);default:throw a(18,[n])}};function qs(t,n){return n?t.rootVNode?Yo(t.rootVNode,n):void 0:t.element?.ownerDocument}const js=(t,n,e=on)=>{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=on)=>cc(null,n,t,null,null,e),Ps=(t,n=on)=>cc(null,t,null,null,null,n),As=(t,n,e=on)=>{const r=Ps(t,e);return r.dev=n,r},Ns=(t,n,e,r=on)=>{const o=js(t,n,r);return o.dev=e,o},_s=(t,n,e,r=on)=>{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 Wn(null,t,n,e||null);class Es{St;kt;xt;k;et;constructor(t,n,e,r,o){this.St=t,this.kt=n,this.xt=e,this.k=r,this.et=o}}const Fs=t=>Array.isArray(t)&&t.length>0;function Ts(t,n){return n.K&&"{"===n.K[0]&&(n.K=`(${n.K})`),[t.wt(n.K,n.Y.length,n.X),n.Y]}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,nt: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===yn?g(3,7):n===vn?g(3,8):n===Yt&&g(3,9);break;case"function":if(n===ge)g(3,10);else if(n===pe)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===on)g(3,5);else if(n===sn)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(pn(n)){const t=n[Ht];g(32,[(s=t,new Ls(s)),t.varProps,t.constProps,n[Jt].k])}else if(n instanceof Hn)g(33,[n.data.lt,n.data.ct]);else if(n instanceof mn)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).k));g(2,e)}else{const t=Al(n),e=Nl(n),r=t.N,i=t.k,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 Vt){if(n instanceof jn){S(n.O);const t=function(t,n){return n===yn?n:ct(t.O.resolved||t.O.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=yn),e})}(n,n.m);if(st(t)){const e=j(t,i,(t,e)=>new Es(28,t,e,n.k,n.O));g(2,e)}else g(28,[n.O,Ds(n[xt]),n.k,t]);return}if(n instanceof Wn)g(25,[...Ts(t,n),Ds(n[xt]),n.N,n.Z,...n.k||[]]);else if(n instanceof xn){let t=n.m;const e=32&n.N,r=16&n.N,o=1&n.N,i=rc(n.m);e?t=n.m:(r||o||i)&&(t=yn),S(n.O);const s=[n.O,Ds(n[xt]),n.k],l=n instanceof Rn;l&&s.push(n.W,n.U,n.D,n.L);let c=!1;t!==yn&&(s.push(t),l||void 0!==t||(c=!0)),g(l?27:26,s,c)}else{const t=n.m,e=void 0===t,r=[t];n.k&&r.push(...n.k),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(Zn(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.et,n.N,n.Ct,n.ft,n[xt],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.k]);else if(28===n.St)if(n.et)g(28,[n.et,n.k,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(!Mo(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,nt:i,zt:r,Dt:o}};class zs{Qt;nt;l;st;Bt;Ht=0;Jt=null;Gt=null;h=null;p=null;u=0;$=0;constructor(t,n){this.Bt=t,this.l=n,this.Qt=o,this.nt=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.nt,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(on);const r=t.getOrCreateLastNode(),o=e instanceof Wn?e.tt():e;n(t.closeFragment),n(()=>ls(o,r,".",t)),n(Bs)}else if(st(e))t.openFragment(on),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==an(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===pe){t.openFragment(null!=o.key?[D,o.key]:on),n(t.closeFragment);const e=o.children;null!=e&&n(e)}else if(i===ge){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 Wn)return ls(n,t,":",e)}return an(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(on),t.closeFragment()}else if(i===xe)t.commentNode(an(o,"data")||"");else if(i===qe){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===ke)t.htmlNode(an(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),ye(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=Ie(e.getProp(S));n(t),n(new Qs(r,s))});else{n(l);const t=Ie(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 ye(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(Xt(t)){const o=Ys(n.serializationCtx,t,r);return void(o&&e.push(t,o))}vl(r)?Oe(t)?e.push(t,[r,n.styleScopedId]):e.push(t,r):(Zt(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=De(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.ot?.length&&(n=cc(null,"_run",nr,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=nn(n);if(r){const[n,o]=r,i=en(n,o),s=rn(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.et=i[0],o.N=i[1],o.Ct=i[2],o.ft=i[3],o[xt]=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).k=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.N=i,l.k=s;break}case 24:{const t=n,e=r;t.m=e[0],t.k=new Set(e.slice(1));break}case 25:{const e=n,o=r;e.X=t.getSyncFn(o[0]),e.Y=o[1],e[xt]=o[2],e.m=yn,e.N=o[3],e.N|=1,e.Z=o[4],e.k=new Set(o.slice(5)),function(t){if(null!==t.Z&&Mo(t.Z)){const n=t.Z,e=t.k;let r=!1;if(e)for(const o of e){const e=o.property;if(u(e)){const o=Wo(n,e,null);if(null!==o){t.m=o,r=!0;break}}}if(!r){const e=ui(n);e&&n.firstChild===n.lastChild&&To(e)&&(t.m=li(e))}}}(e);break}case 27:{const t=n,e=r;t.O=e[0],t[xt]=e[1],t.k=new Set(e[2]),t.W=new Set(e[3]),t.U=new Set(e[4]),t.D=e[5],t.L=e[6],e.length>7&&(t.m=e[7],t.B=e[7]),t.N|=1;break}case 28:case 26:{const t=n,o=r;t.O=o[0],t[xt]=o[1],o[2]&&(t.k=new Set(o[2])),o.length>3?(t.m=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]=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===Yt&&(m=new Xn(pe,y[1],y[2],null,null),m._proxy=$),$[Ht]=m,$[Jt].k=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.ot)return n;const e=n.Kt;return n.ot=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)||Mo(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{R;Zt;tn;constructor(t,n){this.R=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.R,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;nt=new WeakMap;en;Jt;gt=null;vNodeLocate=t=>Yo(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=_o(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)||on,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=[]),Ue(r,n.id,e,0,!0)}resolveContext(t,n){for(;t;){const e=this.getHostProp(t,k);if(null!=e&&ze(e,n.id,0))return Ve(e,n.id,0);t=this.getParentHost(t)}}getParentHost(t){let n=t.parent;for(;n;)if(Do(n)){if(null!==Wo(n,$,null))return n;n=n.parent||n.slotParent}else n=n.parent;return null}setHostProp(t,n,e){Uo(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 Wo(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(Ae(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}=Jr();if(e)return;r(1);const s=new yl(10|(!1===n?.deferUpdates?0:16),i,o.Z,t,void 0,null);r(s);const l=o.R,{it:c}=o,u=ct(c,()=>$l(s,l,o.Z));st(u)&&(o.it=u)},$l=(t,n,e)=>{t.N&=-9,$n(t);const r=rs(n.l,e,"qTask");r.R=n;const o=t.et.getFn(r,()=>Un(n,t)),i=Sn(t,n),[s]=kn(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 Rt{N;Ct;ft;et;ut;_;constructor(t,n,e,r,o,i){super(),this.N=t,this.Ct=n,this.ft=e,this.et=r,this.ut=o,this._=i}}const ml=t=>t instanceof yl,wl=(t,n)=>{const[e]=Jn(),r=ul(n);e.N|=8,Co(r,e.ft,1)},bl=t=>{if(!t.resolved)throw t.resolve()},vl=t=>t instanceof Vt,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.et:e instanceof xn?o=e.O:":"===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.N|=8,Co(t,o.ft,1);else if(o instanceof Vt)o.invalidate();else if(":"===i)Co(t,o,4);else if("."===i)r&&(s=o,l=n,(s.props||={})[Dt]=l,Co(t,o,2));else{const s=e.data;if(s instanceof Hn){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[Tt];o||(o=new Map,r[Tt]=o),o.set(n,e)}(o,i,l);else{const t=o;let n=t.getProp(Tt);n||(n=new Map,t.setProp(Tt,n)),n.set(i,l)}Co(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.et)})`;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 Mo(t)?"("+(Wo(t,pt,null)||"vnode")+")":t.map(Cl);if(vl(t))return t instanceof Wn?"WrappedSignal":t instanceof xn?"ComputedSignal":"Signal";if(Ml(t))return"Store";if(Zn(t))return Pl(t);if(Mo(t))return"("+(Wo(t,pt,null)||"vnode")+")"}finally{jl.pop()}}}catch(t){return console.error("ERROR in qwikDebugToString",t),"*error*"}return t}const Pl=t=>{if(Zn(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[bn],Nl=t=>t?.[wn]||null,_l=(t,n)=>{const e=Al(t);e&&e.force(n)},Ol=(t,n)=>{const e=Al(t);return!!e&&(e.k?.get(n)?.size??0)>0},Il=t=>Nl(t)||t,Ml=t=>wn 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.nt.get(t);return r||(r=El(e,t,n),e.nt.set(t,r)),r}return t};class Tl{N;R;k=void 0;constructor(t,n){this.N=t,this.R=n}toString(){return"[Store]"}force(t){const n=Nl(this);xl(this.R,this,Wl(n,t,this.k))}get(t,n){if("symbol"==typeof n)return n===wn?t:n===bn?this:t[n];const e=Gi(),r=t[n];if(e){if(null===this.R){if(!e.R)return r;this.R=e.R}const o=e.j;o&&Dl(t,Array.isArray(t)?vn: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)?Fl(r,this.N,this.R):r}set(t,n,e){if("symbol"==typeof n)return t[n]=e,!0;const r=1&this.N?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.R,this,Wl(t,n,this.k)),!0)}has(t,n){if(n===wn)return!0;if("string"==typeof n){const e=Gi();if(e){const r=e.j;r&&Dl(t,Array.isArray(t)?vn:n,this,r)}}return Object.prototype.hasOwnProperty.call(t,n)}ownKeys(t){const n=Gi(),e=n?.j;return e&&Dl(t,vn,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.k||=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.R):n)&&kl(o,r.R)}function Ll(t,n,e,r){e[t]=n;const o=Wl(e,t,r.k);o&&xl(r.R,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(vn);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(pn(t))return!0;if(st(t))return!0;if(Zn(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 Hn)return!0;if(Ws?.(t))return!0}else if("function"==typeof t){if(p(t)||gc(t)||t===ge||t===pe)return!0}else if(t===Yt||t===yn||t===vn)return!0;return!1},Vl=(t,n)=>{let e=Mo(t)?Li.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?"":"",i=n?"":"",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:()=>()=>{},nt: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.et,l=i.dt;i.et=u,i.dt||=this;try{return Zi.call(this,i,r,...o)}finally{i.et=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.et?.o===u.o)return t.apply(this,n);const r=e.et;e.et=u;try{return t.apply(this,n)}finally{e.et=r}}return e=rs(),e.et=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?.Z instanceof Ct?c?.Z.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.ot,resolve:$,$t:h,yt:n,o:e,T:m,getFn:d,Kt:i,ot: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.T.slice(0,4)+":"+(e||""),o=()=>{};return o[vc]=[t],ie(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=qn(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 Uo(o,Dt,n),Co(r,o,2),await r.h,{cleanup:()=>{Ur(r,[],r.rootVNode)}}},Rc=(t,n)=>{const{val:e,set:r,iCtx:o}=Jr();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.R,e=Fl(i,n?.deep??1?1:0,t);return r(e),e}},qc=()=>{const{val:t,set:n,iCtx:e}=Jr();if(null!=t)return t;const r=e.R.Gt||"",o=r?Ee(r).substring(0,3):"",i=e.R.getHostProp(e.Z,$);let s=`${o}${i?.getHash().substring(0,3)||""}${(e.R.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?.R?.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__*/qn(mu),bu=t=>({scopeId:y+gu(t,Pc,!0)}),vu=/*#__PURE__*/qn(bu),gu=(t,n,e)=>{const{val:r,set:o,iCtx:i,i:s}=Jr();if(r)return r;const l=(c=s,`${Ee(t.T)}-${c}`);var c;const u=i.Z;if(o(l),!t.resolved)throw t.resolve().then(t=>i.R.un(n(t,l),l,u,e));return i.R.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+tn(r),e);else o(t+tn(n),e)},qu=()=>{const t=Xi(),n=t.Z;let e=t.R.getHostProp(n,Q);null===e&&(e={},t.R.setHostProp(n,Q,e));let r=t.R.getHostProp(n,B);null===r&&(r=0),t.R.setHostProp(n,B,r+1);let o=t.R.getHostProp(n,H);for(null===o&&(o=[],t.R.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 Nn(n)}),Cu=t=>{const{val:n,set:e}=Jr();return null!=n?n:e(t=f(t)&&!gc(t)?t():t)},Pu=(t,n,e)=>{const{val:r,set:o}=Jr();if(r)return r;const i=n(t,e);return o(i),bl(t),i},Au=(t,n)=>Pu(t,Cn,n),Nu=qn(Au),_u=t=>Pu(t,An),Ou=qn(_u),Iu=(t,n)=>{const{val:e,set:r,i:o,iCtx:i}=Jr(),s=n?.strategy??"intersection-observer";if(e)return void(64&e.N||(e.N|=64,Mu(e,s)));let l;l=9,t.resolve(),Co(i.R,i.Z,1);const c=new yl(9,o,i.Z,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)=>Gr($c(t),n),Tu=/*#__PURE__*/qn(pl),Du=/*#__PURE__*/qn(Iu),Lu=(t,n)=>Pu(t,Pn,n),Wu=qn(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 oe("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 $,pe as Fragment,ic as NoSerializeSymbol,Qu as PrefetchGraph,Vu as PrefetchServiceWorker,$e as RenderOnce,Yr as Resource,xe as SSRComment,ke as SSRRaw,qe as SSRStream,Re as SSRStreamBlock,sc as SerializerSymbol,Se as SkipRender,ge as Slot,Qt as _CONST_PROPS,dl as _DomContainer,xt as _EFFECT_BACK_REF,on as _EMPTY_ARRAY,Gt as _IMMUTABLE,zs as _SharedContainer,Hn as _SubscriptionData,Yt as _UNINITIALIZED,Bt as _VAR_PROPS,Yn as _chk,Yl as _deserialize,Ql as _dumpState,Ro as _executeSsrChores,Ms as _fnSignal,dn as _getConstProps,fs as _getContextContainer,cs as _getContextElement,us as _getContextEvent,ul as _getDomContainer,al as _getQContainerElement,hn as _getVarProps,Ol as _hasStoreEffects,Zn as _isJSXNode,Ml as _isStore,Is as _isStringifiable,ml as _isTask,as as _jsxBranch,se as _jsxC,ce as _jsxQ,le as _jsxS,oe as _jsxSorted,ie as _jsxSplit,We as _mapApp_findIndx,Ve as _mapArray_get,Ue as _mapArray_set,Ps as _noopQrl,As as _noopQrlDEV,Jl as _preprocessState,wc as _qrlSync,Os as _regSymbol,ys as _resolveContextWithoutSequentialScope,Ne as _restProps,nr as _run,Gl as _serialize,wl as _task,Gn as _val,Zl as _verifySerializable,Qo as _vnode_ensureElementInflated,Ei as _vnode_getAttrKeys,ui as _vnode_getFirstChild,Fo as _vnode_isMaterialized,To as _vnode_isTextVNode,Do as _vnode_isVirtualVNode,Li as _vnode_toString,hs as _waitUntilRendered,Hs as _walkJSX,Tn as _wrapProp,Ln as _wrapSignal,Sc as component$,bc as componentQrl,On as createAsyncComputed$,Pn as createAsyncComputedQrl,_n as createComputed$,Cn as createComputedQrl,ds as createContextId,de as createElement,In as createSerializer$,An as createSerializerQrl,Nn as createSignal,kc as event$,yc as eventQrl,_l as forceStoreEffects,ul as getDomContainer,ht as getLocale,et as getPlatform,de as h,qn as implicit$FirstArg,Cs as inlinedQrl,_s as inlinedQrlDEV,e as isBrowser,r as isDev,n as isServer,vl as isSignal,fe as jsx,ae as jsxDEV,he 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,Jn as useLexicalScope,Su as useOn,ku as useOnDocument,xu as useOnWindow,Fu as useResource$,Gr 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,dt as withLocale};