Source identity
| Field | Recorded value |
|---|---|
| Source type | archive member |
| Original record | q-delv2fu_.js |
| Date | Not specified in source |
| Path or archive member | archives/libsrc-1c3f88063121/NETLIFY_AI_RECOVERY_2026-10-14_21-10-49/sites/janady13__tdg-personal-v4__204eae72-36b4-461e-b1c3-17e71468c44b/originals/deploy_69ae09e0292be9eb90cfba85/build/q-delv2fu_.js |
| Original SHA-256 | 0dbc14038c710f8948b03f37135df6044d786ea6bd38fdea7a268140830415c1 |
| Reading-copy SHA-256 | 0dbc14038c710f8948b03f37135df6044d786ea6bd38fdea7a268140830415c1 |
| Archive source | {"sourceId": "libsrc-1c3f88063121", "member": "NETLIFY_AI_RECOVERY_2026-10-14_21-10-49/sites/janady13__tdg-personal-v4__204eae72-36b4-461e-b1c3-17e71468c44b/originals/deploy_69ae09e0292be9eb90cfba85/build/q-delv2fu_.js"} |
Every recorded occurrence
These 2 records contain identical original source bytes. Their paths and revisions remain part of the archive.
| Original record | Branch or archive | Revision / identifier | Original location |
|---|---|---|---|
| q-delv2fu_.js | {"sourceId": "libsrc-1c3f88063121", "member": "NETLIFY_AI_RECOVERY_2026-10-14_21-10-49/sites/janady13__tdg-personal-v4__204eae72-36b4-461e-b1c3-17e71468c44b/originals/deploy_69ae09e0292be9eb90cfba85/build/q-delv2fu_.js"} | libsrc-aec4f2b50148 | archives/libsrc-1c3f88063121/NETLIFY_AI_RECOVERY_2026-10-14_21-10-49/sites/janady13__tdg-personal-v4__204eae72-36b4-461e-b1c3-17e71468c44b/originals/deploy_69ae09e0292be9eb90cfba85/build/q-delv2fu_.js |
| d4a2f276a6f820b16cc0178cfc5de5aeba0e546a | {"sourceId": "libsrc-1c3f88063121", "member": "NETLIFY_AI_RECOVERY_2026-10-14_21-10-49/sites/janady13__tdg-personal-v4__204eae72-36b4-461e-b1c3-17e71468c44b/originals/.content_store/d4/d4a2f276a6f820b16cc0178cfc5de5aeba0e546a"} | libsrc-4d2f4a98ba92 | archives/libsrc-1c3f88063121/NETLIFY_AI_RECOVERY_2026-10-14_21-10-49/sites/janady13__tdg-personal-v4__204eae72-36b4-461e-b1c3-17e71468c44b/originals/.content_store/d4/d4a2f276a6f820b16cc0178cfc5de5aeba0e546a |
Recovered source transcript
Download complete source text ↓13 lines · 65.3 KB
var Js=Object.defineProperty;var Xs=(e,t,n)=>t in e?Js(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var v=(e,t,n)=>Xs(e,typeof t!="symbol"?t+"":t,n);import{p as mn,i as Ks}from"./q-DoNi8vyY.js";/**
* @license
* @builder.io/qwik 1.19.1
* Copyright Builder.io, Inc. All Rights Reserved.
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/QwikDev/qwik/blob/main/LICENSE
*/const Ys=!1,he=e=>e&&typeof e.nodeType=="number",Wn=e=>e.nodeType===9,oe=e=>e.nodeType===1,$e=e=>{const t=e.nodeType;return t===1||t===111},Zs=e=>{const t=e.nodeType;return t===1||t===111||t===3},K=e=>e.nodeType===111,Pt=e=>e.nodeType===3,We=e=>e.nodeType===8,fe=(e,...t)=>kt(!1,e,...t),js=(e,...t)=>{throw kt(!1,e,...t)},Nt=(e,...t)=>kt(Ys,e,...t),gn=()=>{},gt=()=>{},er=e=>e,kt=(e,t,...n)=>{const s=t instanceof Error?t:new Error(t);return console.error("%cQWIK ERROR","",s.message,...er(n),s.stack),s};const rt=e=>`Code(${e}) https://github.com/QwikDev/qwik/blob/main/packages/qwik/src/core/error/error.ts#L${8+e}`,M=(e,...t)=>{const n=rt(e,...t);return Nt(n,...t)},tr=()=>({isServer:Ks,importSymbol(e,t,n){if(!t)throw M(31,n);if(!e)throw M(30,t,n);const s=nr(e.ownerDocument,e,t).toString(),r=new URL(s);return r.hash="",import(r.href).then(o=>o[n])},raf:e=>new Promise(t=>{requestAnimationFrame(()=>{t(e())})}),nextTick:e=>new Promise(t=>{setTimeout(()=>{t(e())})}),chunkForSymbol:(e,t)=>[e,t??"_"]}),nr=(e,t,n)=>{const s=e.baseURI,r=new URL(t.getAttribute("q:base")??s,s);return new URL(n,r)};let Bn=tr();const Ct=()=>Bn,sr=()=>Bn.isServer,ot=e=>{const t=Object.getPrototypeOf(e);return t===Object.prototype||t===null},ie=e=>!!e&&typeof e=="object",P=e=>Array.isArray(e),qe=e=>typeof e=="string",G=e=>typeof e=="function",L=e=>e&&typeof e.then=="function",Rt=(e,t,n)=>{try{const s=e();return L(s)?s.then(t,n):t(s)}catch(s){return n(s)}},I=(e,t)=>L(e)?e.then(t):t(e),zt=e=>e.some(L)?Promise.all(e):e,be=e=>e.length>0?Promise.all(e):e,Un=e=>e!=null,rr=e=>new Promise(t=>{setTimeout(t,e)}),te=[],Q={},Be=e=>typeof document<"u"?document:e.nodeType===9?e:e.ownerDocument,or="q:renderFn",ee="q:slot",Hn="q:s",Ot="q:style",Gn="q:instance",Vn=(e,t)=>e["qFuncs_"+t]||[],yt=Symbol("proxy target"),xe=Symbol("proxy flags"),H=Symbol("proxy manager"),N=Symbol("IMMUTABLE"),Lt="_qc_",W=(e,t,n)=>e.setAttribute(t,n),J=(e,t)=>e.getAttribute(t),Dt=e=>e.replace(/([A-Z])/g,"-$1").toLowerCase(),$r=e=>e.replace(/-./g,t=>t[1].toUpperCase()),ir=(e,t,n,s)=>{e&&e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:s,composed:s}))},Ft=(e,t,n=0)=>t.$proxyMap$.get(e)||(n!==0&&it(e,n),$t(e,t,void 0)),$t=(e,t,n)=>{Je(e),t.$proxyMap$.has(e);const s=t.$subsManager$.$createManager$(n),r=new Proxy(e,new Jn(t,s));return t.$proxyMap$.set(e,r),r},Qt=()=>{const e={};return it(e,2),e},it=(e,t)=>{Object.defineProperty(e,xe,{value:t,enumerable:!1})},ui=(e,t)=>{const n={};for(const s in e)t.includes(s)||(n[s]=e[s]);return n};class Jn{constructor(t,n){v(this,"$containerState$");v(this,"$manager$");this.$containerState$=t,this.$manager$=n}deleteProperty(t,n){if(2&t[xe])throw M(17);return typeof n=="string"&&delete t[n]&&(this.$manager$.$notifySubs$(P(t)?void 0:n),!0)}get(t,n){var c;if(typeof n=="symbol")return n===yt?t:n===H?this.$manager$:t[n];const s=t[xe]??0,r=R(),o=!!(1&s),$=t["$$"+n];let l,i;if(r&&(l=r.$subscriber$),!(2&s)||n in t&&!cr((c=t[N])==null?void 0:c[n])||(l=null),$?(i=$.value,l=null):i=t[n],l){const a=P(t);this.$manager$.$addSub$(l,a?void 0:n)}return o?lr(i,this.$containerState$):i}set(t,n,s){if(typeof n=="symbol")return t[n]=s,!0;const r=t[xe]??0;if(2&r)throw M(17);const o=1&r?Je(s):s;if(P(t))return t[n]=o,this.$manager$.$notifySubs$(),!0;const $=t[n];return t[n]=o,$!==o&&this.$manager$.$notifySubs$(n),!0}has(t,n){if(n===yt)return!0;const s=R();if(typeof n=="string"&&s){const o=s.$subscriber$;if(o){const $=P(t);this.$manager$.$addSub$(o,$?void 0:n)}}const r=Object.prototype.hasOwnProperty;return!!r.call(t,n)||!(typeof n!="string"||!r.call(t,"$$"+n))}ownKeys(t){if(!(2&(t[xe]??0))){let s=null;const r=R();r&&(s=r.$subscriber$),s&&this.$manager$.$addSub$(s)}return P(t)?Reflect.ownKeys(t):Reflect.ownKeys(t).map(s=>typeof s=="string"&&s.startsWith("$$")?s.slice(2):s)}getOwnPropertyDescriptor(t,n){const s=Reflect.getOwnPropertyDescriptor(t,n);return P(t)||typeof n=="symbol"||s&&!s.configurable?s:{enumerable:!0,configurable:!0}}}const cr=e=>e===N||U(e),lr=(e,t)=>{if(ie(e)){if(Object.isFrozen(e))return e;const n=Je(e);if(n!==e||Qs(n))return e;if(ot(n)||P(n))return t.$proxyMap$.get(n)||Ft(n,t,1)}return e},ar=/^(on|window:|document:)/,ur="preventdefault:",Xn=e=>e.endsWith("$")&&ar.test(e),fr=e=>{if(e.length===0)return te;if(e.length===1){const n=e[0];return[[n[0],[n[1]]]]}const t=[];for(let n=0;n<e.length;n++){const s=e[n][0];t.includes(s)||t.push(s)}return t.map(n=>[n,e.filter(s=>s[0]===n).map(s=>s[1])])},Kn=(e,t,n,s)=>{if(t.endsWith("$"),t=St(t.slice(0,-1)),n)if(P(n)){const r=n.flat(1/0).filter(o=>o!=null).map(o=>[t,Sn(o,s)]);e.push(...r)}else e.push([t,Sn(n,s)]);return t},yn=["on","window:on","document:on"],dr=["on","on-window","on-document"],St=e=>{let t="on";for(let n=0;n<yn.length;n++){const s=yn[n];if(e.startsWith(s)){t=dr[n],e=e.slice(s.length);break}}return t+":"+(e=e.startsWith("-")?Dt(e.slice(1)):e.toLowerCase())},Sn=(e,t)=>(e.$setContainer$(t),e),pr=(e,t)=>{const n=e.$element$.attributes,s=[];for(let r=0;r<n.length;r++){const{name:o,value:$}=n.item(r);if(o.startsWith("on:")||o.startsWith("on-window:")||o.startsWith("on-document:")){const l=$.split(`
`);for(const i of l){const c=ft(i,t);c.$capture$&&zs(c,e),s.push([o,c])}}}return s},hr=(e,t=0)=>{for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return Number(Math.abs(t)).toString(36)},mr=(e,t)=>`${hr(e.$hash$)}-${t}`,gr=e=>{const t=e.join("|");if(t.length>0)return t},me=()=>{const e=sn(),t=O(e.$hostElement$,e.$renderCtx$.$static$.$containerState$),n=t.$seq$||(t.$seq$=[]),s=e.$i$++;return{val:n[s],set:r=>n[s]=r,i:s,iCtx:e,elCtx:t}},yr=e=>Object.freeze({id:Dt(e)}),Sr=(e,t)=>{const{val:n,set:s,elCtx:r}=me();if(n!==void 0)return;(r.$contexts$||(r.$contexts$=new Map)).set(e.id,t),s(!0)},fi=(e,t)=>{const{val:n,set:s,iCtx:r,elCtx:o}=me();if(n!==void 0)return n;const $=Yn(e,o,r.$renderCtx$.$static$.$containerState$);if($!==void 0)return s($);throw M(13,e.id)},vr=(e,t)=>{var r;let n=e,s=1;for(;n&&!((r=n.hasAttribute)!=null&&r.call(n,"q:container"));){for(;n=n.previousSibling;)if(We(n)){const o=n.__virtual;if(o){const $=o[Lt];if(n===o.open)return $??O(o,t);if($!=null&&$.$parentCtx$)return $.$parentCtx$;n=o;continue}if(n.data==="/qv")s++;else if(n.data.startsWith("qv ")&&(s--,s===0))return O(Ve(n),t)}n=e.parentElement,e=n}return null},br=(e,t)=>(e.$parentCtx$===void 0&&(e.$parentCtx$=vr(e.$element$,t)),e.$parentCtx$),Yn=(e,t,n)=>{var o;const s=e.id;if(!t)return;let r=t;for(;r;){const $=(o=r.$contexts$)==null?void 0:o.get(s);if($)return $;r=br(r,n)}},Zn=yr("qk-error"),Wt=(e,t,n)=>{const s=B(t);{const r=Yn(Zn,s,n.$static$.$containerState$);if(r===void 0)throw e;r.error=e}},xr=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"]),wr=e=>xr.has(e),vt=(e,t,n)=>{t.$flags$&=~Le,t.$flags$|=tn,t.$slots$=[],t.li.length=0;const s=t.$element$,r=t.$componentQrl$,o=t.$props$,$=V(e.$static$.$locale$,s,void 0,"qRender"),l=$.$waitOn$=[],i=Bt(e);i.$cmpCtx$=t,i.$slotCtx$=void 0,$.$subscriber$=[0,s],$.$renderCtx$=e,r.$setContainer$(e.$static$.$containerState$.$containerEl$);const c=r.getFn($);return Rt(()=>c(o),a=>I(sr()?I(be(l),()=>I(Jr(e.$static$.$containerState$,e),()=>be(l))):be(l),()=>{var f;if(t.$flags$&Le){if(!(n&&n>100))return vt(e,t,n?n+1:1);gt(`Infinite loop detected. Element: ${(f=t.$componentQrl$)==null?void 0:f.$symbol$}`)}return{node:a,rCtx:i}}),a=>{var f;if(a===ms){if(!(n&&n>100))return I(be(l),()=>vt(e,t,n?n+1:1));gt(`Infinite loop detected. Element: ${(f=t.$componentQrl$)==null?void 0:f.$symbol$}`)}return Wt(a,s,e),{node:ts,rCtx:i}})},Er=(e,t)=>({$static$:{$doc$:e,$locale$:t.$serverData$.locale,$containerState$:t,$hostElements$:new Set,$operations$:[],$postOperations$:[],$roots$:[],$addSlots$:[],$rmSlots$:[],$visited$:[]},$cmpCtx$:null,$slotCtx$:void 0}),Bt=e=>({$static$:e.$static$,$cmpCtx$:e.$cmpCtx$,$slotCtx$:e.$slotCtx$}),Ut=(e,t)=>{var n;return(n=t==null?void 0:t.$scopeIds$)!=null&&n.length?t.$scopeIds$.join(" ")+" "+bt(e):bt(e)},bt=e=>{if(!e)return"";if(qe(e))return e.trim();const t=[];if(P(e))for(const n of e){const s=bt(n);s&&t.push(s)}else for(const[n,s]of Object.entries(e))s&&t.push(n.trim());return t.join(" ")},Ht=e=>{if(e==null)return"";if(typeof e=="object"){if(P(e))throw M(0,e,"style");{const t=[];for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const s=e[n];s!=null&&typeof s!="function"&&(n.startsWith("--")?t.push(n+":"+s):t.push(Dt(n)+":"+_r(n,s)))}return t.join(";")}}return String(e)},_r=(e,t)=>typeof t!="number"||t===0||wr(e)?t:t+"px",Tr=e=>se(e.$static$.$containerState$.$elementIndex$++),jn=(e,t)=>{const n=Tr(e);t.$id$=n},Gt=e=>U(e)?Gt(e.value):e==null||typeof e=="boolean"?"":String(e);function Ir(e){return e.startsWith("aria-")}const Ar=(e,t)=>!!t.key&&(!ct(e)||!G(e.type)&&e.key!=t.key),le="dangerouslySetInnerHTML",di=(e,t,n)=>new _t(e,t,n),qr=e=>{const t=e.$funcStr$;let n="";for(let s=0;s<e.$args$.length;s++)n+=`p${s},`;return`(${n})=>(${t})`},es=(e,t,n,s,r,o)=>{const $=o==null?null:String(o);return new Ue(e,t||Q,n,s,r,$)},pi=(e,t,n,s,r,o)=>{let $=null;return t&&"children"in t&&($=t.children,delete t.children),es(e,t,n,$,s,r)},Vt=(e,t,n,s,r)=>{const o=s==null?null:String(s),$=t??{};if(typeof e=="string"&&N in $){const i=$[N];delete $[N];const c=$.children;delete $.children;for(const[a,f]of Object.entries(i))f!==N&&(delete $[a],$[a]=f);return es(e,null,$,c,n,s)}const l=new Ue(e,$,null,$.children,n,o);return typeof e=="string"&&t&&delete t.children,l};class Ue{constructor(t,n,s,r,o,$=null){v(this,"type");v(this,"props");v(this,"immutableProps");v(this,"children");v(this,"flags");v(this,"key");v(this,"dev");this.type=t,this.props=n,this.immutableProps=s,this.children=r,this.flags=o,this.key=$}}const ze=e=>e.children,ct=e=>e instanceof Ue,xt=e=>e.children,ts=Symbol("skip render"),Jt=(e,t,n)=>{const s=!(t.$flags$&tn),r=t.$element$,o=e.$static$.$containerState$;return o.$hostsStaging$.delete(t),o.$subsManager$.$clearSub$(r),I(vt(e,t),$=>{const l=e.$static$,i=$.rCtx,c=V(e.$static$.$locale$,r);if(l.$hostElements$.add(r),c.$subscriber$=[0,r],c.$renderCtx$=i,s&&t.$appendStyles$)for(const f of t.$appendStyles$)Fo(l,f);const a=ne($.node,c);return I(a,f=>{const p=Mr(r,f),h=Xt(t);return I(je(i,h,p,n),()=>{t.$vdom$=p})})})},Xt=e=>(e.$vdom$||(e.$vdom$=et(e.$element$)),e.$vdom$);class j{constructor(t,n,s,r,o,$){v(this,"$type$");v(this,"$props$");v(this,"$immutableProps$");v(this,"$children$");v(this,"$flags$");v(this,"$key$");v(this,"$elm$",null);v(this,"$text$","");v(this,"$signal$",null);v(this,"$id$");v(this,"$dev$");this.$type$=t,this.$props$=n,this.$immutableProps$=s,this.$children$=r,this.$flags$=o,this.$key$=$,this.$id$=t+($?":"+$:"")}}const ns=(e,t)=>{const{key:n,type:s,props:r,children:o,flags:$,immutableProps:l}=e;let i="";if(qe(s))i=s;else{if(s!==ze){if(G(s)){const a=Y(t,s,r,n,$,e.dev);return Ar(a,e)?ns(Vt(ze,{children:a},0,n),t):ne(a,t)}throw M(25,s)}i=Ie}let c=te;return o!=null?I(ne(o,t),a=>(a!==void 0&&(c=P(a)?a:[a]),new j(i,r,l,c,$,n))):new j(i,r,l,c,$,n)},Mr=(e,t)=>{const n=t===void 0?te:P(t)?t:[t],s=new j(":virtual",{},null,n,0,null);return s.$elm$=e,s},ne=(e,t)=>{if(e!=null&&typeof e!="boolean"){if(ss(e)){const n=new j("#text",Q,null,te,0,null);return n.$text$=String(e),n}if(ct(e))return ns(e,t);if(U(e)){const n=new j("#signal",Q,null,te,0,null);return n.$signal$=e,n}if(P(e)){const n=zt(e.flatMap(s=>ne(s,t)));return I(n,s=>s.flat(100).filter(Un))}return L(e)?e.then(n=>ne(n,t)):e===ts?new j(":skipRender",Q,null,te,0,null):void 0}},ss=e=>qe(e)||typeof e=="number",rs=e=>{J(e,"q:container")==="paused"&&(Nr(e),Or(e))},Pr=e=>{const t=Be(e),n=Rr(e===t.documentElement?t.body:e,"type");if(n)return JSON.parse(Cr(n.firstChild.data)||"{}")},hi=(e,t)=>{const n=JSON.parse(e);if(typeof n!="object")return null;const{_objs:s,_entry:r}=n;if(s===void 0||r===void 0)return null;let o={},$={};if(he(t)&&$e(t)){const c=at(t);c&&($=ge(c),o=c.ownerDocument)}const l=Ls($,o);for(let c=0;c<s.length;c++){const a=s[c];qe(a)&&(s[c]=a===dt?void 0:l.prepare(a))}const i=c=>s[X(c)];for(const c of s)os(c,i,l);return i(r)},Nr=e=>{if(!vo(e))return;const t=e._qwikjson_??Pr(e);if(e._qwikjson_=null,!t)return;const n=Be(e),s=e.getAttribute(Gn),r=Vn(n,s),o=ge(e),$=new Map,l=new Map;let i=null,c=0;const a=n.createTreeWalker(e,Ss);for(;i=a.nextNode();){const u=i.data;if(c===0){if(u.startsWith("qv ")){const m=Lr(u);m>=0&&$.set(m,i)}else if(u.startsWith("t=")){const m=u.slice(2),b=X(m),d=zr(i);$.set(b,d),l.set(b,d.data)}}u==="cq"?c++:u==="/cq"&&c--}const f=e.getElementsByClassName("qc📦").length!==0;e.querySelectorAll("[q\\:id]").forEach(u=>{if(f&&u.closest("[q\\:container]")!==e)return;const m=J(u,"q:id"),b=X(m);$.set(b,u)});const p=Ls(o,n),h=new Map,g=new Set,S=u=>(typeof u=="string"&&u.length>0,h.has(u)?h.get(u):y(u)),y=u=>{if(u.startsWith("#")){const w=u.slice(1),E=X(w);$.has(E);const _=$.get(E);if(We(_)){if(!_.isConnected)return void h.set(u,void 0);const A=Ve(_);return h.set(u,A),O(A,o),A}return oe(_)?(h.set(u,_),O(_,o),_):(h.set(u,_),_)}if(u.startsWith("@")){const w=u.slice(1),E=X(w);return r[E]}if(u.startsWith("*")){const w=u.slice(1),E=X(w);$.has(E);const _=l.get(E);return h.set(u,_),_}const m=X(u),b=t.objs;b.length>m;let d=b[m];qe(d)&&(d=d===dt?void 0:p.prepare(d));let x=d;for(let w=u.length-1;w>=0;w--){const E=V$[u[w]];if(!E)break;x=E(x,o)}return h.set(u,x),ss(d)||g.has(m)||(g.add(m),kr(d,m,t.subs,S,o,p),os(d,S,p)),x};o.$elementIndex$=1e5,o.$pauseCtx$={getObject:S,meta:t.ctx,refs:t.refs},W(e,"q:container","resumed"),ir(e,"qresume",void 0,!0)},kr=(e,t,n,s,r,o)=>{const $=n[t];if($){const l=[];let i=0;for(const c of $)if(c.startsWith("_"))i=parseInt(c.slice(1),10);else{const a=Y$(c,s);a&&l.push(a)}if(i>0&&it(e,i),!o.subs(e,l)){const c=r.$proxyMap$.get(e);c?z(c).$addSubs$(l):$t(e,r,l)}}},os=(e,t,n)=>{if(!n.fill(e,t)&&e&&typeof e=="object"){if(P(e))for(let s=0;s<e.length;s++)e[s]=t(e[s]);else if(ot(e))for(const s in e)e[s]=t(e[s])}},Cr=e=>e.replace(/\\x3C(\/?script)/gi,"<$1"),Rr=(e,t)=>{let n=e.lastElementChild;for(;n;){if(n.tagName==="SCRIPT"&&J(n,t)==="qwik/json")return n;n=n.previousElementSibling}},zr=e=>{const t=e.nextSibling;if(Pt(t))return t;{const n=e.ownerDocument.createTextNode("");return e.parentElement.insertBefore(n,e),n}},Or=e=>{e.qwik={pause:()=>t$(e),state:ge(e)}},Lr=e=>{const t=e.indexOf("q:id=");return t>0?X(e.slice(t+5)):-1},Dr=()=>{const e=uo();let t=e.$qrl$;if(t)t.$captureRef$;else{const n=e.$element$,s=at(n);t=ft(decodeURIComponent(String(e.$url$)),s),rs(s);const r=O(n,ge(s));zs(t,r)}return t.$captureRef$},Fr=(e,t)=>{try{const n=t[0],s=e.$static$;switch(n){case 1:case 2:{let r,o;n===1?(r=t[1],o=t[3]):(r=t[3],o=t[1]);const $=B(r);if($==null)return;const l=t[4],i=r.namespaceURI===Ge;s.$containerState$.$subsManager$.$clearSignal$(t);let c=pe(t[2],t.slice(0,-1));l==="class"?c=Ut(c,B(o)):l==="style"&&(c=Ht(c));const a=Xt($);return l in a.$props$&&a.$props$[l]===c?void 0:(a.$props$[l]=c,on(s,r,l,c,i))}case 3:case 4:{const r=t[3];if(!s.$visited$.includes(r)){s.$containerState$.$subsManager$.$clearSignal$(t);const o=void 0;let $=pe(t[2],t.slice(0,-1));const l=ei();Array.isArray($)&&($=new Ue(ze,{},null,$,0,null));let i=ne($,o);if(L(i))fe("Rendering promises in JSX signals is not supported");else{i===void 0&&(i=ne("",o));const c=bs(r),a=Qr(t[1]);if(e.$cmpCtx$=O(a,e.$static$.$containerState$),c.$type$==i.$type$&&c.$key$==i.$key$&&c.$id$==i.$id$)ve(e,c,i,0);else{const f=[],p=c.$elm$,h=ae(e,i,0,f);f.length&&fe("Rendering promises in JSX signals is not supported"),l[3]=h,Ee(e.$static$,r.parentElement,h,p),p&&cn(s,p)}}}}}}catch{}};function Qr(e){for(;e;){if($e(e))return e;e=e.parentElement}throw new Error("Not found")}const Wr=(e,t)=>{if(e[0]===0){const n=e[1];en(n)?Kt(n,t):Br(n,t)}else Ur(e,t)},Br=(e,t)=>{rs(t.$containerEl$);const n=O(e,t);n.$componentQrl$,!(n.$flags$&Le)&&(n.$flags$|=Le,t.$hostsRendering$!==void 0?t.$hostsStaging$.add(n):(t.$hostsNext$.add(n),Yt(t)))},Ur=(e,t)=>{const n=t.$hostsRendering$!==void 0;t.$opsNext$.add(e),n||Yt(t)},Kt=(e,t)=>{e.$flags$&de||(e.$flags$|=de,t.$hostsRendering$!==void 0?t.$taskStaging$.add(e):(t.$taskNext$.add(e),Yt(t)))},Yt=e=>(e.$renderPromise$===void 0&&(e.$renderPromise$=Ct().nextTick(()=>$s(e))),e.$renderPromise$),Hr=()=>{const[e]=Dr();Kt(e,ge(at(e.$el$)))},$s=async e=>{const t=e.$containerEl$,n=Be(t);try{const s=Er(n,e),r=s.$static$,o=e.$hostsRendering$=new Set(e.$hostsNext$);e.$hostsNext$.clear(),await Vr(e,s),e.$hostsStaging$.forEach(i=>{o.add(i)}),e.$hostsStaging$.clear();const $=Array.from(e.$opsNext$);e.$opsNext$.clear();const l=Array.from(o);Kr(l),!e.$styleMoved$&&l.length>0&&(e.$styleMoved$=!0,(t===n.documentElement?n.body:t).querySelectorAll("style[q\\:style]").forEach(i=>{e.$styleIds$.add(J(i,Ot)),qs(r,n.head,i)}));for(const i of l){const c=i.$element$;if(!r.$hostElements$.has(c)&&i.$componentQrl$){c.isConnected,r.$roots$.push(i);try{await Jt(s,i,Gr(c.parentElement))}catch(a){fe(a)}}}return $.forEach(i=>{Fr(s,i)}),r.$operations$.push(...r.$postOperations$),r.$operations$.length===0?(Pn(r),void await vn(e,s)):(await ko(r),Pn(r),vn(e,s))}catch(s){fe(s)}},Gr=e=>{let t=0;return e&&(e.namespaceURI===Ge&&(t|=F),e.tagName==="HEAD"&&(t|=Ye)),t},vn=async(e,t)=>{const n=t.$static$.$hostElements$;await Xr(e,t,(s,r)=>(s.$flags$&is)!==0&&(!r||n.has(s.$el$))),e.$hostsStaging$.forEach(s=>{e.$hostsNext$.add(s)}),e.$hostsStaging$.clear(),e.$hostsRendering$=void 0,e.$renderPromise$=void 0,e.$hostsNext$.size+e.$taskNext$.size+e.$opsNext$.size>0&&(e.$renderPromise$=$s(e))},wt=e=>(e.$flags$&cs)!==0,bn=e=>(e.$flags$&ls)!==0,Vr=async(e,t)=>{const n=e.$containerEl$,s=[],r=[];e.$taskNext$.forEach(o=>{wt(o)&&(r.push(I(o.$qrl$.$resolveLazy$(n),()=>o)),e.$taskNext$.delete(o)),bn(o)&&(s.push(I(o.$qrl$.$resolveLazy$(n),()=>o)),e.$taskNext$.delete(o))});do if(e.$taskStaging$.forEach(o=>{wt(o)?r.push(I(o.$qrl$.$resolveLazy$(n),()=>o)):bn(o)?s.push(I(o.$qrl$.$resolveLazy$(n),()=>o)):e.$taskNext$.add(o)}),e.$taskStaging$.clear(),r.length>0){const o=await Promise.all(r);Xe(o),await Promise.all(o.map($=>Ke($,e,t))),r.length=0}while(e.$taskStaging$.size>0);if(s.length>0){const o=await Promise.all(s);Xe(o);for(const $ of o)Ke($,e,t)}},Jr=(e,t)=>{const n=e.$containerEl$,s=e.$taskStaging$;if(!s.size)return;const r=[];let o=20;const $=()=>{if(s.forEach(l=>{wt(l)&&r.push(I(l.$qrl$.$resolveLazy$(n),()=>l))}),s.clear(),r.length>0)return Promise.all(r).then(async l=>{if(Xe(l),await Promise.all(l.map(i=>Ke(i,e,t))),r.length=0,--o&&s.size>0)return $();o||gt(`Infinite task loop detected. Tasks:
${Array.from(s).map(i=>` ${i.$qrl$.$symbol$}`).join(`
`)}`)})};return $()},Xr=async(e,t,n)=>{const s=[],r=e.$containerEl$;e.$taskNext$.forEach(o=>{n(o,!1)&&(o.$el$.isConnected&&s.push(I(o.$qrl$.$resolveLazy$(r),()=>o)),e.$taskNext$.delete(o))});do if(e.$taskStaging$.forEach(o=>{o.$el$.isConnected&&(n(o,!0)?s.push(I(o.$qrl$.$resolveLazy$(r),()=>o)):e.$taskNext$.add(o))}),e.$taskStaging$.clear(),s.length>0){const o=await Promise.all(s);Xe(o);for(const $ of o)Ke($,e,t);s.length=0}while(e.$taskStaging$.size>0)},Kr=e=>{e.sort((t,n)=>2&t.$element$.compareDocumentPosition(nt(n.$element$))?1:-1)},Xe=e=>{e.sort((t,n)=>t.$el$===n.$el$?t.$index$<n.$index$?-1:1:2&t.$el$.compareDocumentPosition(nt(n.$el$))?1:-1)},Yr=(e,t)=>{jt(Zt(e,void 0),t)},xn=(e,t)=>{jt(Zt(e,"document"),t)},mi=(e,t)=>{jt(Zt(e,"window"),t)},Zt=(e,t)=>{const n=t!==void 0?t+":":"";return Array.isArray(e)?e.map(s=>`${n}on-${s}`):`${n}on-${e}`},jt=(e,t)=>{if(t){const n=sn(),s=O(n.$hostElement$,n.$renderCtx$.$static$.$containerState$);typeof e=="string"?s.li.push([St(e),t]):s.li.push(...e.map(r=>[St(r),t])),s.$flags$|=Et}},Zr=e=>{const t=fo(),n=G(e)&&!pn(e)?Y(void 0,e):e;return go(n,t,0)},jr=e=>{const{val:t,set:n}=me();return t??n(e=G(e)&&!pn(e)?e():e)},gi=e=>jr(()=>Zr(e)),is=1,cs=2,ls=4,de=16,yi=(e,t)=>{const{val:n,set:s,iCtx:r,i:o,elCtx:$}=me();if(n)return;const l=r.$renderCtx$.$static$.$containerState$,i=new lt(de|cs,o,$.$element$,e,void 0);s(!0),e.$resolveLazy$(l.$containerEl$),$.$tasks$||($.$tasks$=[]),$.$tasks$.push(i),ho(r,()=>us(i,l,r.$renderCtx$))},Si=(e,t)=>{const{val:n,set:s,i:r,iCtx:o,elCtx:$}=me(),l=(t==null?void 0:t.strategy)??"intersection-observer";if(n)return;const i=new lt(is,r,$.$element$,e,void 0),c=o.$renderCtx$.$static$.$containerState$;$.$tasks$||($.$tasks$=[]),$.$tasks$.push(i),s(i),so(i,l),e.$resolveLazy$(c.$containerEl$),Kt(i,c)},as=e=>(e.$flags$&ls)!==0,eo=e=>!!(8&e.$flags$),Ke=async(e,t,n)=>(e.$flags$&de,as(e)?to(e,t,n):eo(e)?no(e,t,n):us(e,t,n)),to=(e,t,n,s)=>{e.$flags$&=~de,Oe(e);const r=V(n.$static$.$locale$,e.$el$,void 0,"qTask"),{$subsManager$:o}=t;r.$renderCtx$=n;const $=e.$qrl$.getFn(r,()=>{o.$clearSub$(e)}),l=[],i=e.$state$,c=Je(i),a={track:(u,m)=>{if(G(u)){const d=V();return d.$renderCtx$=n,d.$subscriber$=[0,e],Y(d,u)}const b=z(u);return b?b.$addSub$([0,e],m):Nt(rt(26),u),m?u[m]:U(u)?u.value:u},cleanup(u){l.push(u)},cache(u){let m=0;m=u==="immutable"?1/0:u,i._cache=m},previous:c._resolved};let f,p,h=!1;const g=(u,m)=>!h&&(h=!0,u?(h=!0,i.loading=!1,i._state="resolved",i._resolved=m,i._error=void 0,f(m)):(h=!0,i.loading=!1,i._state="rejected",i._error=m,p(m)),!0);Y(r,()=>{i._state="pending",i.loading=!0,i.value=new Promise((u,m)=>{f=u,p=m})}),e.$destroy$=Bs(()=>{h=!0,l.forEach(u=>u())});const S=Rt(()=>I(s,()=>$(a)),u=>{g(!0,u)},u=>{g(!1,u)}),y=c._timeout;return y>0?Promise.race([S,rr(y).then(()=>{g(!1,new Error("timeout"))&&Oe(e)})]):S},us=(e,t,n)=>{e.$flags$&=~de,Oe(e);const s=e.$el$,r=V(n.$static$.$locale$,s,void 0,"qTask");r.$renderCtx$=n;const{$subsManager$:o}=t,$=e.$qrl$.getFn(r,()=>{o.$clearSub$(e)}),l=[];e.$destroy$=Bs(()=>{l.forEach(c=>c())});const i={track:(c,a)=>{if(G(c)){const p=V();return p.$subscriber$=[0,e],Y(p,c)}const f=z(c);return f?f.$addSub$([0,e],a):Nt(rt(26),c),a?c[a]:U(c)?c.value:c},cleanup(c){l.push(c)}};return Rt(()=>$(i),c=>{G(c)&&l.push(c)},c=>{Wt(c,s,n)})},no=(e,t,n)=>{e.$state$,e.$flags$&=~de,Oe(e);const s=e.$el$,r=V(n.$static$.$locale$,s,void 0,"qComputed");r.$subscriber$=[0,e],r.$renderCtx$=n;const{$subsManager$:o}=t,$=e.$qrl$.getFn(r,()=>{o.$clearSub$(e)}),l=c=>{mo(()=>{const a=e.$state$;a[Ce]&=~hs,a.untrackedValue!==c&&(a.untrackedValue=c,a[H].$notifySubs$())})},i=c=>{Wt(c,s,n)};try{return I(e.$qrl$.$resolveLazy$(t.$containerEl$),()=>{const c=$();if(L(c)){const a="useComputed$: Async functions in computed tasks are deprecated and will stop working in v2. Use useTask$ or useResource$ instead.",f=new Error(a).stack;return f&&f.replace(/^Error:\s*/,""),gn(),c.then(l,i)}l(c)})}catch(c){i(c)}},Oe=e=>{const t=e.$destroy$;if(t){e.$destroy$=void 0;try{t()}catch(n){fe(n)}}},fs=e=>{32&e.$flags$?(e.$flags$&=-33,(0,e.$qrl$)()):Oe(e)},so=(e,t)=>{t==="visible"||t==="intersection-observer"?Yr("qvisible",ht(e)):t==="load"||t==="document-ready"?xn("qinit",ht(e)):t!=="idle"&&t!=="document-idle"||xn("qidle",ht(e))},ht=e=>{const t=e.$qrl$,n=pt(t.$chunk$,"_hW",Hr,null,null,[e],t.$symbol$);return t.dev&&(n.dev=t.dev),n},en=e=>ie(e)&&e instanceof lt,ro=(e,t)=>{let n=`${se(e.$flags$)} ${se(e.$index$)} ${t(e.$qrl$)} ${t(e.$el$)}`;return e.$state$&&(n+=` ${t(e.$state$)}`),n},oo=e=>{const[t,n,s,r,o]=e.split(" ");return new lt(X(t),X(n),r,s,o)};class lt{constructor(t,n,s,r,o){v(this,"$flags$");v(this,"$index$");v(this,"$el$");v(this,"$qrl$");v(this,"$state$");this.$flags$=t,this.$index$=n,this.$el$=s,this.$qrl$=r,this.$state$=o}}function $o(e){return io(e)&&e.nodeType===1}function io(e){return e&&typeof e.nodeType=="number"}const Le=1,Et=2,tn=4,ds=8,B=e=>e[Lt],O=(e,t)=>{const n=B(e);if(n)return n;const s=nn(e),r=J(e,"q:id");if(r){const o=t.$pauseCtx$;if(s.$id$=r,o){const{getObject:$,meta:l,refs:i}=o;if($o(e)){const c=i[r];c&&(s.$refMap$=c.split(" ").map($),s.li=pr(s,t.$containerEl$))}else{const c=e.getAttribute("q:sstyle");s.$scopeIds$=c?c.split("|"):null;const a=l[r];if(a){const f=a.s,p=a.h,h=a.c,g=a.w;if(f&&(s.$seq$=f.split(" ").map($)),g&&(s.$tasks$=g.split(" ").map($)),h){s.$contexts$=new Map;for(const S of h.split(" ")){const[y,u]=S.split("=");s.$contexts$.set(y,$(u))}}if(p){const[S,y]=p.split(" ");if(s.$flags$=tn,S&&(s.$componentQrl$=$(S)),y){const u=$(y);s.$props$=u,it(u,2),u[N]=co(u)}else s.$props$=$t(Qt(),t)}}}}}return s},co=e=>{const t={},n=ye(e);for(const s in n)s.startsWith("$$")&&(t[s.slice(2)]=n[s]);return t},nn=e=>{const t={$flags$:0,$id$:"",$element$:e,$refMap$:[],li:[],$tasks$:null,$seq$:null,$slots$:null,$scopeIds$:null,$appendStyles$:null,$props$:null,$vdom$:null,$componentQrl$:null,$contexts$:null,$dynamicSlots$:null,$parentCtx$:void 0,$realParentCtx$:void 0};return e[Lt]=t,t},lo=(e,t)=>{var n;(n=e.$tasks$)==null||n.forEach(s=>{t.$clearSub$(s),fs(s)}),e.$componentQrl$=null,e.$seq$=null,e.$tasks$=null};let _e;function vi(e){if(_e===void 0){const t=R();return t&&t.$locale$?t.$locale$:e}return _e}function bi(e,t){const n=_e;try{return _e=e,t()}finally{_e=n}}function ao(e){_e=e}let ke;const R=()=>{if(!ke){const e=typeof document<"u"&&document&&document.__q_context__;return e?P(e)?document.__q_context__=ps(e):e:void 0}return ke},uo=()=>{const e=R();if(!e)throw M(14);return e},sn=()=>{const e=R();if(!e||e.$event$!=="qRender")throw M(20);return e.$hostElement$,e.$waitOn$,e.$renderCtx$,e.$subscriber$,e},fo=()=>sn().$renderCtx$.$static$.$containerState$;function Y(e,t,...n){return po.call(this,e,t,n)}function po(e,t,n){const s=ke;let r;try{ke=e,r=t.apply(this,n)}finally{ke=s}return r}const ho=(e,t)=>{const n=e.$waitOn$;if(n.length===0){const s=t();L(s)&&n.push(s)}else n.push(Promise.all(n).then(t))},ps=([e,t,n])=>{const s=e.closest("[q\\:container]"),r=(s==null?void 0:s.getAttribute("q:locale"))||void 0;return r&&ao(r),V(r,void 0,e,t,n)},V=(e,t,n,s,r)=>({$url$:r,$i$:0,$hostElement$:t,$element$:n,$event$:s,$qrl$:void 0,$waitOn$:void 0,$subscriber$:void 0,$renderCtx$:void 0,$locale$:e||(typeof s=="object"&&s&&"locale"in s?s.locale:void 0)}),at=e=>e.closest("[q\\:container]"),mo=(e,...t)=>typeof e=="function"?Y(void 0,e,...t):U(e)?e.untrackedValue:Je(e),wn=V(void 0,void 0,void 0,"qRender"),pe=(e,t)=>(wn.$subscriber$=t,Y(wn,()=>e.value)),xi=()=>{var t;const e=R();if(e)return e.$element$??e.$hostElement$??((t=e.$qrl$)==null?void 0:t.$setContainer$(void 0))},wi=e=>{const t=R();return t&&t.$hostElement$&&t.$renderCtx$&&(O(t.$hostElement$,t.$renderCtx$.$static$.$containerState$).$flags$|=ds),e},Ei=e=>{const t=at(e);return t?ge(t).$renderPromise$??Promise.resolve():Promise.resolve()},go=(e,t,n,s)=>{const r=t.$subsManager$.$createManager$(s);return new De(e,r,n)},Ce=Symbol("proxy manager"),yo=1,hs=2,ms=Symbol("unassigned signal");class He{}var Dn,Fn,Qn;class De extends(Qn=He,Fn=H,Dn=Ce,Qn){constructor(n,s,r){super();v(this,"untrackedValue");v(this,Fn);v(this,Dn,0);this.untrackedValue=n,this[H]=s,this[Ce]=r}valueOf(){}toString(){return`[Signal ${String(this.value)}]`}toJSON(){return{value:this.value}}get value(){var s;if(this[Ce]&hs)throw ms;const n=(s=R())==null?void 0:s.$subscriber$;return n&&this[H].$addSub$(n),this.untrackedValue}set value(n){const s=this[H];s&&this.untrackedValue!==n&&(this.untrackedValue=n,s.$notifySubs$())}}class _t extends He{constructor(n,s,r){super();v(this,"$func$");v(this,"$args$");v(this,"$funcStr$");this.$func$=n,this.$args$=s,this.$funcStr$=r}get value(){return this.$func$.apply(void 0,this.$args$)}}class Tt extends He{constructor(n,s){super();v(this,"ref");v(this,"prop");this.ref=n,this.prop=s}get[H](){return z(this.ref)}get value(){return this.ref[this.prop]}set value(n){this.ref[this.prop]=n}}const U=e=>e instanceof He,So=(e,t)=>{var r,o;if(!ie(e))return e[t];if(e instanceof He)return e;const n=ye(e);if(n){const $=n["$$"+t];if($)return $;if(((r=n[N])==null?void 0:r[t])!==!0)return new Tt(e,t)}const s=(o=e[N])==null?void 0:o[t];return U(s)?s:N},_i=(e,t)=>{const n=So(e,t);return n===N?e[t]:n},En=Symbol("ContainerState"),ge=e=>{let t=e[En];return t||(e[En]=t=gs(e,J(e,"q:base")??"/")),t},gs=(e,t)=>{const n={};if(e){const r=e.attributes;if(r)for(let o=0;o<r.length;o++){const $=r[o];n[$.name]=$.value}}const s={$containerEl$:e,$elementIndex$:0,$styleMoved$:!1,$proxyMap$:new WeakMap,$opsNext$:new Set,$taskNext$:new Set,$taskStaging$:new Set,$hostsNext$:new Set,$hostsStaging$:new Set,$styleIds$:new Set,$events$:new Set,$serverData$:{containerAttributes:n},$base$:t,$renderPromise$:void 0,$hostsRendering$:void 0,$pauseCtx$:void 0,$subsManager$:null,$inlineFns$:new Map};return s.$subsManager$=Z$(s),s},ys=(e,t)=>{if(G(e))return e(t);if(U(e))return e.value=t;throw M(32,e)},Ss=128,vo=e=>oe(e)&&e.hasAttribute("q:container"),se=e=>e.toString(36),X=e=>parseInt(e,36),bo=e=>{const t=e.indexOf(":");return e&&$r(e.slice(t+1))},Ge="http://www.w3.org/2000/svg",F=1,Ye=2,Ze=[],je=(e,t,n,s)=>{t.$elm$;const r=n.$children$;if(r.length===1&&r[0].$type$===":skipRender")return void(n.$children$=t.$children$);const o=t.$elm$;let $=tt;t.$children$===Ze&&o.nodeName==="HEAD"&&($=Eo,s|=Ye);const l=xo(t,$);return l.length>0&&r.length>0?wo(e,o,l,r,s):l.length>0&&r.length===0?rn(e.$static$,l,0,l.length-1):r.length>0?ws(e,o,null,r,0,r.length-1,s):void 0},xo=(e,t)=>{const n=e.$children$;return n===Ze?e.$children$=vs(e.$elm$,t):n},wo=(e,t,n,s,r)=>{let o=0,$=0,l=n.length-1,i=n[0],c=n[l],a=s.length-1,f=s[0],p=s[a],h,g,S;const y=[],u=e.$static$;for(;o<=l&&$<=a;)if(i==null)i=n[++o];else if(c==null)c=n[--l];else if(f==null)f=s[++$];else if(p==null)p=s[--a];else if(i.$id$===f.$id$)y.push(ve(e,i,f,r)),i=n[++o],f=s[++$];else if(c.$id$===p.$id$)y.push(ve(e,c,p,r)),c=n[--l],p=s[--a];else if(i.$key$&&i.$id$===p.$id$)i.$elm$,c.$elm$,y.push(ve(e,i,p,r)),Do(u,t,i.$elm$,c.$elm$),i=n[++o],p=s[--a];else if(c.$key$&&c.$id$===f.$id$)i.$elm$,c.$elm$,y.push(ve(e,c,f,r)),Ee(u,t,c.$elm$,i.$elm$),c=n[--l],f=s[++$];else{if(h===void 0&&(h=zo(n,o,l)),g=h[f.$key$],g===void 0){const b=ae(e,f,r,y);Ee(u,t,b,i==null?void 0:i.$elm$)}else if(S=n[g],S.$type$!==f.$type$){const b=ae(e,f,r,y);I(b,d=>{Ee(u,t,d,i==null?void 0:i.$elm$)})}else y.push(ve(e,S,f,r)),n[g]=void 0,S.$elm$,Ee(u,t,S.$elm$,i.$elm$);f=s[++$]}$<=a&&y.push(ws(e,t,s[a+1]==null?null:s[a+1].$elm$,s,$,a,r));let m=zt(y);return o<=l&&(m=I(m,()=>{rn(u,n,o,l)})),m},we=(e,t)=>{const n=K(e)?e.close:null,s=[];let r=e.firstChild;for(;(r=ln(r))&&(t(r)&&s.push(r),r=r.nextSibling,r!==n););return s},vs=(e,t)=>we(e,t).map(bs),bs=e=>{var t;return oe(e)?((t=B(e))==null?void 0:t.$vdom$)??et(e):et(e)},et=e=>{if($e(e)){const t=new j(e.localName,{},null,Ze,0,At(e));return t.$elm$=e,t}if(Pt(e)){const t=new j(e.nodeName,Q,null,Ze,0,null);return t.$text$=e.data,t.$elm$=e,t}},Eo=e=>{const t=e.nodeType;return t===1?e.hasAttribute("q:head"):t===111},It=e=>e.nodeName==="Q:TEMPLATE",tt=e=>{const t=e.nodeType;if(t===3||t===111)return!0;if(t!==1)return!1;const n=e.nodeName;return n!=="Q:TEMPLATE"&&(n==="HEAD"?e.hasAttribute("q:head"):n!=="STYLE"||!e.hasAttribute(Ot))},xs=e=>{const t={};for(const n of e){const s=_o(n);(t[s]??(t[s]=new j(Ie,{[Hn]:""},null,[],0,s))).$children$.push(n)}return t},ve=(e,t,n,s)=>{t.$type$,n.$type$,t.$key$,n.$key$,t.$id$,n.$id$;const r=t.$elm$,o=n.$type$,$=e.$static$,l=$.$containerState$,i=e.$cmpCtx$;if(n.$elm$=r,o==="#text"){$.$visited$.push(r);const p=n.$signal$;return p&&(n.$text$=Gt(pe(p,[4,i.$element$,p,r]))),void re($,r,"data",n.$text$)}if(o==="#signal")return;const c=n.$props$,a=n.$flags$,f=O(r,l);if(o!==Ie){let p=(s&F)!==0;if(p||o!=="svg"||(s|=F,p=!0),c!==Q){1&a||(f.li.length=0);const h=t.$props$;n.$props$=h;for(const g in c){let S=c[g];if(g!=="ref"){if(Xn(g)){const y=Kn(f.li,g,S,l.$containerEl$);Ts($,r,y);continue}U(S)&&(S=pe(S,[1,i.$element$,S,r,g])),g==="class"?S=Ut(S,i):g==="style"&&(S=Ht(S)),h[g]!==S&&(h[g]=S,on($,r,g,S,p))}else S!==void 0&&ys(S,r)}}return 2&a||(p&&o==="foreignObject"&&(s&=~F),c[le]!==void 0)||o==="textarea"?void 0:je(e,t,n,s)}if("q:renderFn"in c){const p=c.props;No(l,f,p);let h=!!(f.$flags$&Le);return h||f.$componentQrl$||f.$element$.hasAttribute("q:id")||(jn(e,f),f.$componentQrl$=p["q:renderFn"],f.$componentQrl$,h=!0),h?I(Jt(e,f,s),()=>_n(e,f,n,s)):_n(e,f,n,s)}if("q:s"in c)return i.$slots$,void i.$slots$.push(n);if(le in c)re($,r,"innerHTML",c[le]);else if(!(2&a))return je(e,t,n,s)},_n=(e,t,n,s)=>{if(2&n.$flags$)return;const r=e.$static$,o=xs(n.$children$),$=_s(t);for(const l in $.slots)if(!o[l]){const i=$.slots[l],c=vs(i,tt);if(c.length>0){const a=B(i);a&&a.$vdom$&&(a.$vdom$.$children$=[]),rn(r,c,0,c.length-1)}}for(const l in $.templates){const i=$.templates[l];i&&!o[l]&&($.templates[l]=void 0,cn(r,i))}return zt(Object.keys(o).map(l=>{const i=o[l],c=Es(r,$,t,l,e.$static$.$containerState$),a=Xt(c),f=Bt(e),p=c.$element$;f.$slotCtx$=c,c.$vdom$=i,i.$elm$=p;let h=s&~F;p.isSvg&&(h|=F);const g=r.$addSlots$.findIndex(S=>S[0]===p);return g>=0&&r.$addSlots$.splice(g,1),je(f,a,i,h)}))},ws=(e,t,n,s,r,o,$)=>{const l=[];for(;r<=o;++r){const i=s[r],c=ae(e,i,$,l);Ee(e.$static$,t,c,n)}return be(l)},rn=(e,t,n,s)=>{for(;n<=s;++n){const r=t[n];r&&(r.$elm$,cn(e,r.$elm$))}},Es=(e,t,n,s,r)=>{const o=t.slots[s];if(o)return O(o,r);const $=t.templates[s];if($)return O($,r);const l=Ms(e.$doc$,s),i=nn(l);return i.$parentCtx$=n,Wo(e,n.$element$,l),t.templates[s]=l,i},_o=e=>e.$props$[ee]??"",ae=(e,t,n,s)=>{const r=t.$type$,o=e.$static$.$doc$,$=e.$cmpCtx$;if(r==="#text")return t.$elm$=o.createTextNode(t.$text$);if(r==="#signal"){const y=t.$signal$,u=y.value;if(ct(u)){const m=ne(u);if(U(m))throw new Error("NOT IMPLEMENTED: Promise");if(Array.isArray(m))throw new Error("NOT IMPLEMENTED: Array");{const b=ae(e,m,n,s);return pe(y,4&n?[3,b,y,b]:[4,$.$element$,y,b]),t.$elm$=b}}{const m=o.createTextNode(t.$text$);return m.data=t.$text$=Gt(u),pe(y,4&n?[3,m,y,m]:[4,$.$element$,y,m]),t.$elm$=m}}let l,i=!!(n&F);i||r!=="svg"||(n|=F,i=!0);const c=r===Ie,a=t.$props$,f=e.$static$,p=f.$containerState$;c?l=Vo(o,i):r==="head"?(l=o.head,n|=Ye):(l=$n(o,r,i),n&=~Ye),2&t.$flags$&&(n|=4),t.$elm$=l;const h=nn(l);if(e.$slotCtx$?(h.$parentCtx$=e.$slotCtx$,h.$realParentCtx$=e.$cmpCtx$):h.$parentCtx$=e.$cmpCtx$,c){if("q:renderFn"in a){const y=a["q:renderFn"],u=Qt(),m=p.$subsManager$.$createManager$(),b=new Proxy(u,new Jn(p,m)),d=a.props;if(p.$proxyMap$.set(u,b),h.$props$=b,d!==Q){const w=u[N]=d[N]??Q;for(const E in d)if(E!=="children"&&E!==ee){const _=w[E];U(_)?u["$$"+E]=_:u[E]=d[E]}}jn(e,h),h.$componentQrl$=y;const x=I(Jt(e,h,n),()=>{let w=t.$children$;if(w.length===0)return;w.length===1&&w[0].$type$===":skipRender"&&(w=w[0].$children$);const E=_s(h),_=[],A=xs(w);for(const C in A){const Me=A[C],ce=Es(f,E,h,C,f.$containerState$),Z=Bt(e),Se=ce.$element$;Z.$slotCtx$=ce,ce.$vdom$=Me,Me.$elm$=Se;let D=n&~F;Se.isSvg&&(D|=F);for(const k of Me.$children$){const Pe=ae(Z,k,D,_);k.$elm$,k.$elm$,qs(f,Se,Pe)}}return be(_)});return L(x)&&s.push(x),l}if("q:s"in a)$.$slots$,Ho(l,t.$key$),W(l,"q:sref",$.$id$),W(l,"q:s",""),$.$slots$.push(t),f.$addSlots$.push([l,$.$element$]);else if(le in a)return re(f,l,"innerHTML",a[le]),l}else{if(t.$immutableProps$){const y=a!==Q?Object.fromEntries(Object.entries(t.$immutableProps$).map(([u,m])=>[u,m===N?a[u]:m])):t.$immutableProps$;An(f,h,$,y,i,!0)}if(a!==Q){h.$vdom$=t;const y=t.$immutableProps$?Object.fromEntries(Object.entries(a).filter(([u])=>!(u in t.$immutableProps$))):a;t.$props$=An(f,h,$,y,i,!1)}if(i&&r==="foreignObject"&&(i=!1,n&=~F),$){const y=$.$scopeIds$;y&&y.forEach(u=>{l.classList.add(u)}),$.$flags$&Et&&(h.li.push(...$.li),$.$flags$&=~Et)}for(const y of h.li)Ts(f,l,y[0]);if(a[le]!==void 0)return l;i&&r==="foreignObject"&&(i=!1,n&=~F)}let g=t.$children$;if(g.length===0)return l;g.length===1&&g[0].$type$===":skipRender"&&(g=g[0].$children$);const S=g.map(y=>ae(e,y,n,s));for(const y of S)Fe(l,y);return l},To=e=>{const t=e.$slots$;return t||(e.$element$.parentElement,e.$slots$=Io(e))},_s=e=>{const t=To(e),n={},s={},r=Array.from(e.$element$.childNodes).filter(It);for(const o of t)o.$elm$,n[o.$key$??""]=o.$elm$;for(const o of r)s[J(o,ee)??""]=o;return{slots:n,templates:s}},Io=e=>{const t=e.$element$.parentElement;return Yo(t,"q:sref",e.$id$).map(et)},Ao=(e,t,n)=>(re(e,t.style,"cssText",n),!0),Tn=(e,t,n)=>(t.namespaceURI===Ge?Qe(e,t,"class",n):re(e,t,"className",n),!0),In=(e,t,n,s)=>s in t&&((t[s]!==n||s==="value"&&!t.hasAttribute(s))&&(s==="value"&&t.tagName!=="OPTION"?Lo(e,t,s,n):re(e,t,s,n)),!0),Ne=(e,t,n,s)=>(Qe(e,t,s.toLowerCase(),n),!0),qo=(e,t,n)=>(re(e,t,"innerHTML",n),!0),Mo=()=>!0,Po={style:Ao,class:Tn,className:Tn,value:In,checked:In,href:Ne,list:Ne,form:Ne,tabIndex:Ne,download:Ne,innerHTML:Mo,[le]:qo},on=(e,t,n,s,r)=>{if(Ir(n))return void Qe(e,t,n,s!=null?String(s):s);const o=Po[n];o&&o(e,t,s,n)||(r||!(n in t)?(n.startsWith(ur)&&Is(n.slice(15)),Qe(e,t,n,s)):re(e,t,n,s))},An=(e,t,n,s,r,o)=>{const $={},l=t.$element$;for(const i in s){let c=s[i];if(i!=="ref")if(Xn(i))Kn(t.li,i,c,e.$containerState$.$containerEl$);else{if(U(c)&&(c=pe(c,o?[1,l,c,n.$element$,i]:[2,n.$element$,c,l,i])),i==="class"){if(c=Ut(c,n),!c)continue}else i==="style"&&(c=Ht(c));$[i]=c,on(e,l,i,c,r)}else c!==void 0&&ys(c,l)}return $},No=(e,t,n)=>{let s=t.$props$;if(s||(t.$props$=s=$t(Qt(),e)),n===Q)return;const r=z(s),o=ye(s),$=o[N]=n[N]??Q;for(const l in n)if(l!=="children"&&l!==ee&&!$[l]){const i=n[l];o[l]!==i&&(o[l]=i,r.$notifySubs$(l))}},Re=(e,t,n,s,r=!1)=>{if(n.$clearSub$(e),$e(e)){if(!r&&s&&e.hasAttribute("q:s"))return void t.$rmSlots$.push(e);const o=B(e);o&&lo(o,n);const $=K(e)?e.close:null;let l=e.firstChild;for(;(l=ln(l))&&(Re(l,t,n,!0,r),l=l.nextSibling,l!==$););}},qn=()=>{document.__q_scroll_restore__&&(document.__q_scroll_restore__(),document.__q_scroll_restore__=void 0)},ko=async e=>{if(document.__q_view_transition__&&(document.__q_view_transition__=void 0,document.startViewTransition)){const t=document.startViewTransition(()=>{Mn(e),qn()}),n=new CustomEvent("qviewTransition",{detail:t});return document.dispatchEvent(n),void await t.finished}Mn(e),qn()},Fe=(e,t)=>{K(t)?t.appendTo(e):e.appendChild(t)},Co=(e,t)=>{K(t)?t.remove():e.removeChild(t)},Ro=(e,t,n)=>{K(t)?t.insertBeforeTo(e,(n==null?void 0:n.nextSibling)??null):e.insertBefore(t,(n==null?void 0:n.nextSibling)??null)},ut=(e,t,n)=>{K(t)?t.insertBeforeTo(e,nt(n)):e.insertBefore(t,nt(n))},zo=(e,t,n)=>{const s={};for(let r=t;r<=n;++r){const o=e[r].$key$;o!=null&&(s[o]=r)}return s},Ts=(e,t,n)=>{n.startsWith("on:")||Qe(e,t,n,""),Is(n)},Is=e=>{{const t=bo(e);try{(globalThis.qwikevents||(globalThis.qwikevents=[])).push(t)}catch{}}},Qe=(e,t,n,s)=>{e.$operations$.push({$operation$:Oo,$args$:[t,n,s]})},Oo=(e,t,n)=>{if(n==null||n===!1)e.removeAttribute(t);else{const s=n===!0?"":String(n);W(e,t,s)}},re=(e,t,n,s)=>{e.$operations$.push({$operation$:As,$args$:[t,n,s]})},Lo=(e,t,n,s)=>{e.$postOperations$.push({$operation$:As,$args$:[t,n,s]})},As=(e,t,n)=>{try{e[t]=n??"",n==null&&he(e)&&oe(e)&&e.removeAttribute(t)}catch(s){fe(rt(6),t,{node:e,value:n},s)}},$n=(e,t,n)=>n?e.createElementNS(Ge,t):e.createElement(t),Ee=(e,t,n,s)=>(e.$operations$.push({$operation$:ut,$args$:[t,n,s||null]}),n),Do=(e,t,n,s)=>(e.$operations$.push({$operation$:Ro,$args$:[t,n,s||null]}),n),qs=(e,t,n)=>(e.$operations$.push({$operation$:Fe,$args$:[t,n]}),n),Fo=(e,t)=>{e.$containerState$.$styleIds$.add(t.styleId),e.$postOperations$.push({$operation$:Qo,$args$:[e.$containerState$,t]})},Qo=(e,t)=>{const n=e.$containerEl$,s=Be(n),r=s.documentElement===n,o=s.head,$=s.createElement("style");W($,Ot,t.styleId),W($,"hidden",""),$.textContent=t.content,r&&o?Fe(o,$):ut(n,$,n.firstChild)},Wo=(e,t,n)=>{e.$operations$.push({$operation$:Bo,$args$:[t,n]})},Bo=(e,t)=>{ut(e,t,e.firstChild)},cn=(e,t)=>{$e(t)&&Re(t,e,e.$containerState$.$subsManager$,!0),e.$operations$.push({$operation$:Uo,$args$:[t,e]})},Uo=e=>{const t=e.parentElement;t&&Co(t,e)},Ms=(e,t)=>{const n=$n(e,"q:template",!1);return W(n,ee,t),W(n,"hidden",""),W(n,"aria-hidden","true"),n},Mn=e=>{for(const t of e.$operations$)t.$operation$.apply(void 0,t.$args$);Go(e)},At=e=>J(e,"q:key"),Ho=(e,t)=>{t!==null&&W(e,"q:key",t)},Go=e=>{const t=e.$containerState$.$subsManager$;for(const n of e.$rmSlots$){const s=At(n),r=we(n,tt);if(r.length>0){const o=n.getAttribute("q:sref"),$=e.$roots$.find(l=>l.$id$===o);if($){const l=$.$element$;if(l.isConnected)if(we(l,It).some(i=>J(i,ee)===s))Re(n,e,t,!1);else{const i=Ms(e.$doc$,s);for(const c of r)Fe(i,c);ut(l,i,l.firstChild)}else Re(n,e,t,!1)}else Re(n,e,t,!1)}}for(const[n,s]of e.$addSlots$){const r=At(n),o=we(s,It).find($=>$.getAttribute(ee)===r);o&&(we(o,tt).forEach($=>{Fe(n,$)}),o.remove())}},Pn=()=>{},Vo=(e,t)=>{const n=e.createComment("qv "),s=e.createComment("/qv");return new Ps(n,s,t)},Jo=e=>{if(!e)return{};const t=e.split(" ");return Object.fromEntries(t.map(n=>{const s=n.indexOf("=");return s>=0?[n.slice(0,s),jo(n.slice(s+1))]:[n,""]}))},Xo=e=>{const t=[];return Object.entries(e).forEach(([n,s])=>{t.push(s?`${n}=${Zo(s)}`:`${n}`)}),t.join(" ")},Ko=(e,t,n)=>e.ownerDocument.createTreeWalker(e,128,{acceptNode(s){const r=Ve(s);return r&&J(r,t)===n?1:2}}),Yo=(e,t,n)=>{const s=Ko(e,t,n),r=[];let o=null;for(;o=s.nextNode();)r.push(Ve(o));return r},Zo=e=>e.replace(/ /g,"+"),jo=e=>e.replace(/\+/g," "),Ie=":virtual";class Ps{constructor(t,n,s){v(this,"open");v(this,"close");v(this,"isSvg");v(this,"ownerDocument");v(this,"_qc_",null);v(this,"nodeType",111);v(this,"localName",Ie);v(this,"nodeName",Ie);v(this,"$attributes$");v(this,"$template$");this.open=t,this.close=n,this.isSvg=s;const r=this.ownerDocument=t.ownerDocument;this.$template$=$n(r,"template",!1),this.$attributes$=Jo(t.data.slice(3)),t.data.startsWith("qv "),t.__virtual=this,n.__virtual=this}insertBefore(t,n){const s=this.parentElement;return s?s.insertBefore(t,n||this.close):this.$template$.insertBefore(t,n),t}remove(){const t=this.parentElement;if(t){const n=this.childNodes;this.$template$.childElementCount,t.removeChild(this.open);for(let s=0;s<n.length;s++)this.$template$.appendChild(n[s]);t.removeChild(this.close)}}appendChild(t){return this.insertBefore(t,null)}insertBeforeTo(t,n){const s=this.childNodes;t.insertBefore(this.open,n);for(const r of s)t.insertBefore(r,n);t.insertBefore(this.close,n),this.$template$.childElementCount}appendTo(t){this.insertBeforeTo(t,null)}get namespaceURI(){var t;return((t=this.parentElement)==null?void 0:t.namespaceURI)??""}removeChild(t){this.parentElement?this.parentElement.removeChild(t):this.$template$.removeChild(t)}getAttribute(t){return this.$attributes$[t]??null}hasAttribute(t){return t in this.$attributes$}setAttribute(t,n){this.$attributes$[t]=n,this.open.data=Nn(this.$attributes$)}removeAttribute(t){delete this.$attributes$[t],this.open.data=Nn(this.$attributes$)}matches(t){return!1}compareDocumentPosition(t){return this.open.compareDocumentPosition(t)}closest(t){const n=this.parentElement;return n?n.closest(t):null}querySelectorAll(t){const n=[];return we(this,Zs).forEach(s=>{$e(s)&&(s.matches(t)&&n.push(s),n.concat(Array.from(s.querySelectorAll(t))))}),n}querySelector(t){for(const n of this.childNodes)if(oe(n)){if(n.matches(t))return n;const s=n.querySelector(t);if(s!==null)return s}return null}get innerHTML(){return""}set innerHTML(t){const n=this.parentElement;n?(this.childNodes.forEach(s=>this.removeChild(s)),this.$template$.innerHTML=t,n.insertBefore(this.$template$.content,this.close)):this.$template$.innerHTML=t}get firstChild(){if(this.parentElement){const t=this.open.nextSibling;return t===this.close?null:t}return this.$template$.firstChild}get nextSibling(){return this.close.nextSibling}get previousSibling(){return this.open.previousSibling}get childNodes(){if(!this.parentElement)return Array.from(this.$template$.childNodes);const t=[];let n=this.open;for(;(n=n.nextSibling)&&n!==this.close;)t.push(n);return t}get isConnected(){return this.open.isConnected}get parentElement(){return this.open.parentElement}}const Nn=e=>`qv ${Xo(e)}`,ln=e=>{if(e==null)return null;if(We(e)){const t=Ve(e);if(t)return t}return e},e$=e=>{let t=e,n=1;for(;t=t.nextSibling;)if(We(t)){const s=t.__virtual;if(s)t=s;else if(t.data.startsWith("qv "))n++;else if(t.data==="/qv"&&(n--,n===0))return t}},Ve=e=>{var n;const t=e.__virtual;if(t)return t;if(e.data.startsWith("qv ")){const s=e$(e);return new Ps(e,s,((n=e.parentElement)==null?void 0:n.namespaceURI)===Ge)}return null},nt=e=>e==null?null:K(e)?e.open:e,Ti=async e=>{const t=gs(null,null),n=Ns(t);let s;for(T(e,n,!1);(s=n.$promises$).length>0;){n.$promises$=[];const c=await Promise.allSettled(s);for(const a of c)a.status==="rejected"&&console.error(a.reason)}const r=Array.from(n.$objSet$.keys());let o=0;const $=new Map;for(const c of r)$.set(c,se(o)),o++;if(n.$noSerialize$.length>0){const c=$.get(void 0);for(const a of n.$noSerialize$)$.set(a,c)}const l=c=>{let a="";if(L(c)){const p=ks(c);if(!p)throw M(27,c);c=p.value,a+=p.resolved?"~":"_"}if(ie(c)){const p=ye(c);p&&(a+="!",c=p)}const f=$.get(c);if(f===void 0)throw M(27,c);return f+a},i=Rs(r,l,null,n,t);return JSON.stringify({_entry:l(e),_objs:i})},t$=async e=>{const t=Be(e),n=t.documentElement,s=Wn(e)?n:e;if(J(s,"q:container")==="paused")throw M(21);const r=s===t.documentElement?t.body:s,o=ge(s),$=s$(s,a$);W(s,"q:container","paused");for(const f of $){const p=f.$element$,h=f.li;if(f.$scopeIds$){const g=gr(f.$scopeIds$);g&&p.setAttribute("q:sstyle",g)}if(f.$id$&&p.setAttribute("q:id",f.$id$),oe(p)&&h.length>0){const g=fr(h);for(const S of g)p.setAttribute(S[0],g$(S[1],o,f))}}const l=await n$($,o,f=>he(f)&&Pt(f)?d$(f,o):null),i=t.createElement("script");W(i,"type","qwik/json"),i.textContent=i$(JSON.stringify(l.state,void 0,void 0)),r.appendChild(i);const c=Array.from(o.$events$,f=>JSON.stringify(f)),a=t.createElement("script");return a.textContent=`(window.qwikevents||=[]).push(${c.join(", ")})`,r.appendChild(a),l},n$=async(e,t,n,s)=>{var b;const r=Ns(t);let o=!1;for(const d of e)if(d.$tasks$)for(const x of d.$tasks$)as(x)&&r.$resources$.push(x.$state$),fs(x);for(const d of e){const x=d.$element$,w=d.li;for(const E of w)if(oe(x)){const _=E[1],A=_.$captureRef$;if(A)for(const C of A)T(C,r,!0);r.$qrls$.push(_),o=!0}}if(!o)return{state:{refs:{},ctx:{},objs:[],subs:[]},objs:[],funcs:[],qrls:[],resources:r.$resources$,mode:"static"};let $;for(;($=r.$promises$).length>0;)r.$promises$=[],await Promise.all($);const l=r.$elements$.length>0;if(l){for(const d of r.$deferElements$)an(d,r,d.$element$);for(const d of e)r$(d,r)}for(;($=r.$promises$).length>0;)r.$promises$=[],await Promise.all($);const i=new Map,c=Array.from(r.$objSet$.keys()),a=new Map,f=d=>{let x="";if(L(d)){const E=ks(d);if(!E)return null;d=E.value,x+=E.resolved?"~":"_"}if(ie(d)){const E=ye(d);if(E)x+="!",d=E;else if($e(d)){const _=(A=>{let C=i.get(A);return C===void 0&&(C=f$(A),C||console.warn("Missing ID",A),i.set(A,C)),C})(d);return _?"#"+_+x:null}}const w=a.get(d);return w?w+x:n?n(d):null},p=d=>{const x=f(d);if(x===null){if(dn(d)){const w=se(a.size);return a.set(d,w),w}throw M(27,d)}return x},h=new Map;for(const d of c){const x=(b=u$(d,t))==null?void 0:b.$subs$;if(!x)continue;const w=Us(d)??0,E=[];1&w&&E.push(w);for(const _ of x){const A=_[1];_[0]===0&&he(A)&&K(A)&&!r.$elements$.includes(B(A))||E.push(_)}E.length>0&&h.set(d,E)}c.sort((d,x)=>(h.has(d)?0:1)-(h.has(x)?0:1));let g=0;for(const d of c)a.set(d,se(g)),g++;if(r.$noSerialize$.length>0){const d=a.get(void 0);for(const x of r.$noSerialize$)a.set(x,d)}const S=[];for(const d of c){const x=h.get(d);if(x==null)break;S.push(x.map(w=>typeof w=="number"?`_${w}`:K$(w,f)).filter(Un))}S.length,h.size;const y=Rs(c,p,f,r,t),u={},m={};for(const d of e){const x=d.$element$,w=d.$id$,E=d.$refMap$,_=d.$props$,A=d.$contexts$,C=d.$tasks$,Me=d.$componentQrl$,ce=d.$seq$,Z={},Se=K(x)&&r.$elements$.includes(d);if(E.length>0){const D=ue(E,p," ");D&&(m[w]=D)}else if(l){let D=!1;if(Se){const k=f(_);Z.h=p(Me)+(k?" "+k:""),D=!0}else{const k=f(_);k&&(Z.h=" "+k,D=!0)}if(C&&C.length>0){const k=ue(C,f," ");k&&(Z.w=k,D=!0)}if(Se&&ce&&ce.length>0){const k=ue(ce,p," ");Z.s=k,D=!0}if(A){const k=[];A.forEach((Gs,Vs)=>{const hn=f(Gs);hn&&k.push(`${Vs}=${hn}`)});const Pe=k.join(" ");Pe&&(Z.c=Pe,D=!0)}D&&(u[w]=Z)}}return{state:{refs:m,ctx:u,objs:y,subs:S},objs:c,funcs:r.$inlinedFunctions$,resources:r.$resources$,qrls:r.$qrls$,mode:l?"render":"listeners"}},ue=(e,t,n)=>{let s="";for(const r of e){const o=t(r);o!==null&&(s!==""&&(s+=n),s+=o)}return s},s$=(e,t)=>{const n=[],s=t(e);s!==void 0&&n.push(s);const r=e.ownerDocument.createTreeWalker(e,1|Ss,{acceptNode(o){if(l$(o))return 2;const $=t(o);return $!==void 0&&n.push($),3}});for(;r.nextNode(););return n},r$=(e,t)=>{var r;const n=e.$realParentCtx$||e.$parentCtx$,s=e.$props$;if(n&&s&&!Cs(s)&&t.$elements$.includes(n)){const o=(r=z(s))==null?void 0:r.$subs$,$=e.$element$;if(o)for(const[l,i]of o)l===0?(i!==$&&Ae(z(s),t,!1),he(i)?$$(i,t):T(i,t,!0)):(T(s,t,!1),Ae(z(s),t,!1))}},Ns=e=>{const t=[];return e.$inlineFns$.forEach((n,s)=>{for(;t.length<=n;)t.push("");t[n]=s}),{$containerState$:e,$seen$:new Set,$objSet$:new Set,$prefetch$:0,$noSerialize$:[],$inlinedFunctions$:t,$resources$:[],$elements$:[],$qrls$:[],$deferElements$:[],$promises$:[]}},o$=(e,t)=>{const n=B(e);t.$elements$.includes(n)||(t.$elements$.push(n),n.$flags$&ds?(t.$prefetch$++,an(n,t,!0),t.$prefetch$--):t.$deferElements$.push(n))},$$=(e,t)=>{const n=B(e);if(n){if(t.$elements$.includes(n))return;t.$elements$.push(n),an(n,t,e)}},an=(e,t,n)=>{if(e.$props$&&!Cs(e.$props$)&&(T(e.$props$,t,n),Ae(z(e.$props$),t,n)),e.$componentQrl$&&T(e.$componentQrl$,t,n),e.$seq$)for(const s of e.$seq$)T(s,t,n);if(e.$tasks$){const s=t.$containerState$.$subsManager$.$groupToManagers$;for(const r of e.$tasks$)s.has(r)&&T(r,t,n)}if(n===!0&&(kn(e,t),e.$dynamicSlots$))for(const s of e.$dynamicSlots$)kn(s,t)},kn=(e,t)=>{for(;e;){if(e.$contexts$)for(const n of e.$contexts$.values())T(n,t,!0);e=e.$parentCtx$}},i$=e=>e.replace(/<(\/?script)/gi,"\\x3C$1"),Ae=(e,t,n)=>{if(t.$seen$.has(e))return;t.$seen$.add(e);const s=e.$subs$;for(const r of s)if(r[0]>0&&T(r[2],t,n),n===!0){const o=r[1];he(o)&&K(o)?r[0]===0&&o$(o,t):T(o,t,!0)}},qt=Symbol(),c$=e=>e.then(t=>(e[qt]={resolved:!0,value:t},t),t=>(e[qt]={resolved:!1,value:t},t)),ks=e=>e[qt],T=(e,t,n)=>{if(e!=null){const s=typeof e;switch(s){case"function":case"object":{if(t.$seen$.has(e))return;if(t.$seen$.add(e),Qs(e))return t.$objSet$.add(void 0),void t.$noSerialize$.push(e);const r=e,o=ye(e);if(o){const $=!(2&Us(e=o));if(n&&$&&Ae(z(r),t,n),Ws(r))return void t.$objSet$.add(e)}if(H$(e,t,n))return void t.$objSet$.add(e);if(L(e))return void t.$promises$.push(c$(e).then($=>{T($,t,n)}));if(s==="object"){if(he(e))return;if(P(e))for(let $=0;$<e.length;$++)T(r[$],t,n);else if(ot(e))for(const $ in e)T(r[$],t,n)}break}}}t.$objSet$.add(e)},l$=e=>oe(e)&&e.hasAttribute("q:container"),a$=e=>{const t=ln(e);if($e(t)){const n=B(t);if(n&&n.$id$)return n}},u$=(e,t)=>{if(!ie(e))return;if(e instanceof De)return z(e);const n=t.$proxyMap$.get(e);return n?z(n):void 0},f$=e=>{const t=B(e);return t?t.$id$:null},d$=(e,t)=>{const n=e.previousSibling;if(n&&We(n)&&n.data.startsWith("t="))return"#"+n.data.slice(2);const s=e.ownerDocument,r=se(t.$elementIndex$++),o=s.createComment(`t=${r}`),$=s.createComment(""),l=e.parentElement;return l.insertBefore(o,e),l.insertBefore($,e.nextSibling),"#"+r},Cs=e=>Object.keys(e).length===0;function Rs(e,t,n,s,r){return e.map(o=>{if(o===null)return null;const $=typeof o;switch($){case"undefined":return dt;case"number":if(!Number.isFinite(o))break;return o;case"string":if(o.charCodeAt(0)<32)break;return o;case"boolean":return o}const l=G$(o,t,s,r);if(l!==void 0)return l;if($==="object"){if(P(o))return o.map(t);if(ot(o)){const i={};for(const c in o)if(n){const a=n(o[c]);a!==null&&(i[c]=a)}else i[c]=t(o[c]);return i}}throw M(3,o)})}const p$=/\(\s*(['"])([^\1]+)\1\s*\)/,h$=/Promise\s*\.\s*resolve/,m$=/[\\/(]([\w\d.\-_]+\.(js|ts)x?):/,Cn=new Set,Ii=(e,t,n=te,s=0)=>{let r=null,o=null;if(G(e)){o=e;{let $;const l=String(e);if(($=l.match(p$))&&$[2])r=$[2];else{if(!($=l.match(h$)))throw M(11,l);{const i="QWIK-SELF",c=new Error(i).stack.split(`
`),a=c.findIndex(f=>f.includes(i));$=c[a+2+s].match(m$),r=$?$[1]:"main"}}}}else{if(!qe(e))throw M(12,e);r=e}return Cn.has(t)||Cn.add(t),pt(r,t,null,o,null,n,null)},un=(e,t={})=>{var c,a;let n=e.$symbol$,s=e.$chunk$;const r=e.$refSymbol$??n,o=Ct();if(o){const f=o.chunkForSymbol(r,s,(c=e.dev)==null?void 0:c.file);f?(s=f[1],e.$refSymbol$||(n=f[0])):console.error("serializeQRL: Cannot resolve symbol",n,"in",s,(a=e.dev)==null?void 0:a.file)}if(s==null)throw M(31,e.$symbol$);if(s.startsWith("./")&&(s=s.slice(2)),ti(e))if(t.$containerState$){const f=e.resolved,p=t.$containerState$,h=f.serialized||f.toString();let g=p.$inlineFns$.get(h);g===void 0&&(g=p.$inlineFns$.size,p.$inlineFns$.set(h,g)),n=String(g)}else js("Sync QRL without containerState");let $=`${s}#${n}`;const l=e.$capture$,i=e.$captureRef$;return i&&i.length?t.$getObjId$?$+=`[${ue(i,t.$getObjId$," ")}]`:t.$addRefMap$&&($+=`[${ue(i,t.$addRefMap$," ")}]`):l&&l.length>0&&($+=`[${l.join(" ")}]`),$},g$=(e,t,n)=>{n.$element$;const s={$containerState$:t,$addRefMap$:r=>y$(n.$refMap$,r)};return ue(e,r=>un(r,s),`
`)},ft=(e,t)=>{const n=e.length,s=Rn(e,0,"#"),r=Rn(e,s,"["),o=Math.min(s,r),$=e.substring(0,o),l=s==n?s:s+1,i=l==r?"default":e.substring(l,r),c=r===n?te:e.substring(r+1,n-1).split(" "),a=pt($,i,null,null,c,null,null);return t&&a.$setContainer$(t),a},Rn=(e,t,n)=>{const s=e.length,r=e.indexOf(n,t==s?0:t);return r==-1?s:r},y$=(e,t)=>{const n=e.indexOf(t);return n===-1?(e.push(t),String(e.length-1)):String(n)},zs=(e,t)=>(e.$capture$,e.$captureRef$=e.$capture$.map(n=>{const s=parseInt(n,10),r=t.$refMap$[s];return t.$refMap$.length>s,r})),S$=e=>({__brand:"resource",value:void 0,loading:!0,_resolved:void 0,_error:void 0,_state:"pending",_timeout:(e==null?void 0:e.timeout)??-1,_cache:0}),v$=e=>ie(e)&&e.__brand==="resource",b$=(e,t)=>{const n=e._state;return n==="resolved"?`0 ${t(e._resolved)}`:n==="pending"?"1":`2 ${t(e._error)}`},x$=e=>{const[t,n]=e.split(" "),s=S$(void 0);return s.value=Promise.resolve(),t==="0"?(s._state="resolved",s._resolved=n,s.loading=!1):t==="1"?(s._state="pending",s.value=new Promise(()=>{}),s.loading=!0):t==="2"&&(s._state="rejected",s._error=n,s.loading=!1),s},Mt=e=>Vt(ze,{[Hn]:""},0,e.name??""),dt="";function q(e){return{$prefixCode$:e.$prefix$.charCodeAt(0),$prefixChar$:e.$prefix$,$test$:e.$test$,$serialize$:e.$serialize$,$prepare$:e.$prepare$,$fill$:e.$fill$,$collect$:e.$collect$,$subs$:e.$subs$}}const w$=q({$prefix$:"",$test$:e=>dn(e),$collect$:(e,t,n)=>{if(e.$captureRef$)for(const s of e.$captureRef$)T(s,t,n);t.$prefetch$===0&&t.$qrls$.push(e)},$serialize$:(e,t)=>un(e,{$getObjId$:t}),$prepare$:(e,t)=>ft(e,t.$containerEl$),$fill$:(e,t)=>{e.$capture$&&e.$capture$.length>0&&(e.$captureRef$=e.$capture$.map(t),e.$capture$=null)}}),E$=q({$prefix$:"",$test$:e=>en(e),$collect$:(e,t,n)=>{T(e.$qrl$,t,n),e.$state$&&(T(e.$state$,t,n),n===!0&&e.$state$ instanceof De&&Ae(e.$state$[H],t,!0))},$serialize$:(e,t)=>ro(e,t),$prepare$:e=>oo(e),$fill$:(e,t)=>{e.$el$=t(e.$el$),e.$qrl$=t(e.$qrl$),e.$state$&&(e.$state$=t(e.$state$))}}),_$=q({$prefix$:"",$test$:e=>v$(e),$collect$:(e,t,n)=>{T(e.value,t,n),T(e._resolved,t,n)},$serialize$:(e,t)=>b$(e,t),$prepare$:e=>x$(e),$fill$:(e,t)=>{if(e._state==="resolved")e._resolved=t(e._resolved),e.value=Promise.resolve(e._resolved);else if(e._state==="rejected"){const n=Promise.reject(e._error);n.catch(()=>null),e._error=t(e._error),e.value=n}}}),T$=q({$prefix$:"",$test$:e=>e instanceof URL,$serialize$:e=>e.href,$prepare$:e=>new URL(e)}),I$=q({$prefix$:"",$test$:e=>e instanceof Date,$serialize$:e=>e.toISOString(),$prepare$:e=>new Date(e)}),A$=q({$prefix$:"\x07",$test$:e=>e instanceof RegExp,$serialize$:e=>`${e.flags} ${e.source}`,$prepare$:e=>{const t=e.indexOf(" "),n=e.slice(t+1),s=e.slice(0,t);return new RegExp(n,s)}}),q$=q({$prefix$:"",$test$:e=>e instanceof Error,$serialize$:e=>e.message,$prepare$:e=>{const t=new Error(e);return t.stack=void 0,t}}),M$=q({$prefix$:"",$test$:e=>!!e&&typeof e=="object"&&Wn(e),$prepare$:(e,t,n)=>n}),st=Symbol("serializable-data"),P$=q({$prefix$:"",$test$:e=>pn(e),$serialize$:(e,t)=>{const[n]=e[st];return un(n,{$getObjId$:t})},$prepare$:(e,t)=>{const n=ft(e,t.$containerEl$);return $i(n)},$fill$:(e,t)=>{var s;const[n]=e[st];(s=n.$capture$)!=null&&s.length&&(n.$captureRef$=n.$capture$.map(t),n.$capture$=null)}}),N$=q({$prefix$:"",$test$:e=>e instanceof _t,$collect$:(e,t,n)=>{if(e.$args$)for(const s of e.$args$)T(s,t,n)},$serialize$:(e,t,n)=>{const s=qr(e);let r=n.$inlinedFunctions$.indexOf(s);return r<0&&(r=n.$inlinedFunctions$.length,n.$inlinedFunctions$.push(s)),ue(e.$args$,t," ")+" @"+se(r)},$prepare$:e=>{const t=e.split(" "),n=t.slice(0,-1),s=t[t.length-1];return new _t(s,n,s)},$fill$:(e,t)=>{e.$func$,e.$func$=t(e.$func$),e.$args$=e.$args$.map(t)}}),k$=q({$prefix$:"",$test$:e=>e instanceof De,$collect$:(e,t,n)=>(T(e.untrackedValue,t,n),n===!0&&!(e[Ce]&yo)&&Ae(e[H],t,!0),e),$serialize$:(e,t)=>t(e.untrackedValue),$prepare$:(e,t)=>{var n;return new De(e,(n=t==null?void 0:t.$subsManager$)==null?void 0:n.$createManager$(),0)},$subs$:(e,t)=>{e[H].$addSubs$(t)},$fill$:(e,t)=>{e.untrackedValue=t(e.untrackedValue)}}),C$=q({$prefix$:"",$test$:e=>e instanceof Tt,$collect$(e,t,n){if(T(e.ref,t,n),Ws(e.ref)){const s=z(e.ref);J$(t.$containerState$.$subsManager$,s,n)&&T(e.ref[e.prop],t,n)}return e},$serialize$:(e,t)=>`${t(e.ref)} ${e.prop}`,$prepare$:e=>{const[t,n]=e.split(" ");return new Tt(t,n)},$fill$:(e,t)=>{e.ref=t(e.ref)}}),R$=q({$prefix$:"",$test$:e=>typeof e=="number",$serialize$:e=>String(e),$prepare$:e=>Number(e)}),z$=q({$prefix$:"",$test$:e=>e instanceof URLSearchParams,$serialize$:e=>e.toString(),$prepare$:e=>new URLSearchParams(e)}),O$=q({$prefix$:"",$test$:e=>typeof FormData<"u"&&e instanceof globalThis.FormData,$serialize$:e=>{const t=[];return e.forEach((n,s)=>{t.push(typeof n=="string"?[s,n]:[s,n.name])}),JSON.stringify(t)},$prepare$:e=>{const t=JSON.parse(e),n=new FormData;for(const[s,r]of t)n.append(s,r);return n}}),L$=q({$prefix$:"",$test$:e=>ct(e),$collect$:(e,t,n)=>{T(e.children,t,n),T(e.props,t,n),T(e.immutableProps,t,n),T(e.key,t,n);let s=e.type;s===Mt?s=":slot":s===xt&&(s=":fragment"),T(s,t,n)},$serialize$:(e,t)=>{let n=e.type;return n===Mt?n=":slot":n===xt&&(n=":fragment"),`${t(n)} ${t(e.props)} ${t(e.immutableProps)} ${t(e.key)} ${t(e.children)} ${e.flags}`},$prepare$:e=>{const[t,n,s,r,o,$]=e.split(" ");return new Ue(t,n,s,o,parseInt($,10),r)},$fill$:(e,t)=>{e.type=X$(t(e.type)),e.props=t(e.props),e.immutableProps=t(e.immutableProps),e.key=t(e.key),e.children=t(e.children)}}),D$=q({$prefix$:"",$test$:e=>typeof e=="bigint",$serialize$:e=>e.toString(),$prepare$:e=>BigInt(e)}),F$=q({$prefix$:"",$test$:e=>e instanceof Uint8Array,$serialize$:e=>{let t="";for(const n of e)t+=String.fromCharCode(n);return btoa(t).replace(/=+$/,"")},$prepare$:e=>{const t=atob(e),n=new Uint8Array(t.length);let s=0;for(const r of t)n[s++]=r.charCodeAt(0);return n},$fill$:void 0}),Te=Symbol(),Q$=q({$prefix$:"",$test$:e=>e instanceof Set,$collect$:(e,t,n)=>{e.forEach(s=>T(s,t,n))},$serialize$:(e,t)=>Array.from(e).map(t).join(" "),$prepare$:e=>{const t=new Set;return t[Te]=e,t},$fill$:(e,t)=>{const n=e[Te];e[Te]=void 0;const s=n.length===0?[]:n.split(" ");for(const r of s)e.add(t(r))}}),W$=q({$prefix$:"",$test$:e=>e instanceof Map,$collect$:(e,t,n)=>{e.forEach((s,r)=>{T(s,t,n),T(r,t,n)})},$serialize$:(e,t)=>{const n=[];return e.forEach((s,r)=>{n.push(t(r)+" "+t(s))}),n.join(" ")},$prepare$:e=>{const t=new Map;return t[Te]=e,t},$fill$:(e,t)=>{const n=e[Te];e[Te]=void 0;const s=n.length===0?[]:n.split(" ");s.length%2;for(let r=0;r<s.length;r+=2)e.set(t(s[r]),t(s[r+1]))}}),B$=q({$prefix$:"\x1B",$test$:e=>!!Os(e)||e===dt,$serialize$:e=>e,$prepare$:e=>e}),fn=[w$,E$,_$,T$,I$,A$,q$,M$,P$,N$,k$,C$,R$,z$,O$,L$,D$,Q$,W$,B$,F$],zn=(()=>{const e=[];return fn.forEach(t=>{const n=t.$prefixCode$;for(;e.length<n;)e.push(void 0);e.push(t)}),e})();function Os(e){if(typeof e=="string"){const t=e.charCodeAt(0);if(t<zn.length)return zn[t]}}const U$=fn.filter(e=>e.$collect$),H$=(e,t,n)=>{for(const s of U$)if(s.$test$(e))return s.$collect$(e,t,n),!0;return!1},G$=(e,t,n,s)=>{for(const r of fn)if(r.$test$(e)){let o=r.$prefixChar$;return r.$serialize$&&(o+=r.$serialize$(e,t,n,s)),o}if(typeof e=="string")return e},Ls=(e,t)=>{const n=new Map,s=new Map;return{prepare(r){const o=Os(r);if(o){const $=o.$prepare$(r.slice(1),e,t);return o.$fill$&&n.set($,o),o.$subs$&&s.set($,o),$}return r},subs(r,o){const $=s.get(r);return!!$&&($.$subs$(r,o,e),!0)},fill(r,o){const $=n.get(r);return!!$&&($.$fill$(r,o,e),!0)}}},V$={"!":(e,t)=>t.$proxyMap$.get(e)??Ft(e,t),"~":e=>Promise.resolve(e),_:e=>Promise.reject(e)},J$=(e,t,n)=>{if(typeof n=="boolean")return n;const s=e.$groupToManagers$.get(n);return!!(s&&s.length>0)&&(s.length!==1||s[0]!==t)},X$=e=>e===":slot"?Mt:e===":fragment"?xt:e,Ds=new WeakSet,Fs=new WeakSet,Qs=e=>Ds.has(e),Ws=e=>Fs.has(e),Bs=e=>((typeof e=="object"&&e!==null||typeof e=="function")&&Ds.add(e),e),Ai=e=>(Fs.add(e),e),Je=e=>ie(e)?ye(e)??e:e,ye=e=>e[yt],z=e=>e[H],Us=e=>e[xe],K$=(e,t)=>{const n=e[0],s=typeof e[1]=="string"?e[1]:t(e[1]);if(!s)return;let r=n+" "+s,o;if(n===0)o=e[2];else{const $=t(e[2]);if(!$)return;n<=2?(o=e[5],r+=` ${$} ${On(t(e[3]))} ${e[4]}`):n<=4&&(o=e[4],r+=` ${$} ${typeof e[3]=="string"?e[3]:On(t(e[3]))}`)}return o&&(r+=` ${encodeURI(o)}`),r},Y$=(e,t)=>{const n=e.split(" "),s=parseInt(n[0],10);n.length>=2;const r=t(n[1]);if(!r||en(r)&&!r.$el$)return;const o=[s,r];return s===0?(n.length<=3,o.push(mt(n[2]))):s<=2?(n.length===5||n.length,o.push(t(n[2]),t(n[3]),n[4],mt(n[5]))):s<=4&&(n.length===4||n.length,o.push(t(n[2]),t(n[3]),mt(n[4]))),o},mt=e=>{if(e!==void 0)return decodeURI(e)},Z$=e=>{const t=new Map;return{$groupToManagers$:t,$createManager$:s=>new j$(t,e,s),$clearSub$:s=>{const r=t.get(s);if(r){for(const o of r)o.$unsubGroup$(s);t.delete(s),r.length=0}},$clearSignal$:s=>{const r=t.get(s[1]);if(r)for(const o of r)o.$unsubEntry$(s)}}};class j${constructor(t,n,s){v(this,"$groupToManagers$");v(this,"$containerState$");v(this,"$subs$");this.$groupToManagers$=t,this.$containerState$=n,this.$subs$=[],s&&this.$addSubs$(s)}$addSubs$(t){this.$subs$.push(...t);for(const n of this.$subs$)this.$addToGroup$(n[1],this)}$addToGroup$(t,n){let s=this.$groupToManagers$.get(t);s||this.$groupToManagers$.set(t,s=[]),s.includes(n)||s.push(n)}$unsubGroup$(t){const n=this.$subs$;for(let s=0;s<n.length;s++)n[s][1]===t&&(n.splice(s,1),s--)}$unsubEntry$(t){const[n,s,r,o]=t,$=this.$subs$;if(n===1||n===2){const l=t[4];for(let i=0;i<$.length;i++){const c=$[i];c[0]===n&&c[1]===s&&c[2]===r&&c[3]===o&&c[4]===l&&($.splice(i,1),i--)}}else if(n===3||n===4)for(let l=0;l<$.length;l++){const i=$[l];i[0]===n&&i[1]===s&&i[2]===r&&i[3]===o&&($.splice(l,1),l--)}}$addSub$(t,n){const s=this.$subs$,r=t[1];t[0]===0&&s.some(([o,$,l])=>o===0&&$===r&&l===n)||(s.push(Hs=[...t,n]),this.$addToGroup$(r,this))}$notifySubs$(t){const n=this.$subs$;for(const s of n){const r=s[s.length-1];t&&r&&r!==t||Wr(s,this.$containerState$)}}}let Hs;function ei(){return Hs}const On=e=>{if(e==null)throw fe("must be non null",e);return e},dn=e=>typeof e=="function"&&typeof e.getSymbol=="function",ti=e=>dn(e)&&e.$symbol$=="<sync>",pt=(e,t,n,s,r,o,$)=>{let l;const i=async function(...u){return await h.call(this,R())(...u)},c=u=>(l||(l=u),l),a=u=>typeof u!="function"||!(r!=null&&r.length)&&!(o!=null&&o.length)?u:function(...m){let b=R();if(b){const d=b.$qrl$;b.$qrl$=i;const x=b.$event$;b.$event$===void 0&&(b.$event$=this);try{return u.apply(this,m)}finally{b.$qrl$=d,b.$event$=x}}return b=V(),b.$qrl$=i,b.$event$=this,Y.call(this,b,u,...m)},f=async u=>{if(n!==null)return n;if(u&&c(u),e===""){const d=l.getAttribute(Gn),x=Vn(l.ownerDocument,d);return i.resolved=n=x[Number(t)]}e&&mn(e,1);const m=oi(),b=R();if(s!==null)n=s().then(d=>i.resolved=n=a(d[t]));else{const d=Ct().importSymbol(l,e,t);n=I(d,x=>i.resolved=n=a(x))}return typeof n=="object"&&L(n)&&n.then(()=>si(t,b==null?void 0:b.$element$,m),d=>{console.error(`qrl ${t} failed to load`,d),n=null}),n},p=u=>n!==null?n:f(u);function h(u,m){return(...b)=>I(p(),d=>{if(!G(d))throw M(10);if(m&&m()===!1)return;const x=g(u);return Y.call(this,x,d,...b)})}const g=u=>u==null?V():P(u)?ps(u):u,S=$??t,y=ni(S);return Object.assign(i,{getSymbol:()=>S,getHash:()=>y,getCaptured:()=>o,resolve:f,$resolveLazy$:p,$setContainer$:c,$chunk$:e,$symbol$:t,$refSymbol$:$,$hash$:y,getFn:h,$capture$:r,$captureRef$:o,dev:null,resolved:void 0}),n&&(n=I(n,u=>i.resolved=n=a(u))),S&&mn(S,.8),i},ni=e=>{const t=e.lastIndexOf("_");return t>-1?e.slice(t+1):e};const Ln=new Set,si=(e,t,n)=>{Ln.has(e)||(Ln.add(e),ri("qsymbol",{symbol:e,element:t,reqTime:n}))},ri=(e,t)=>{typeof document!="object"||document.dispatchEvent(new CustomEvent(e,{bubbles:!1,detail:t}))},oi=()=>typeof performance=="object"?performance.now():0,qi=e=>e,Mi=function(e,t){return t===void 0&&(t=e.toString()),e.serialized=t,pt("","<sync>",e,null,null,null,null)},$i=e=>{function t(n,s,r){const o=e.$hash$.slice(0,4)+":"+(s||"");return Vt(ze,{[or]:e,[ee]:n[ee],[N]:n[N],children:n.children,props:n},r,o)}return t[st]=[e],t},pn=e=>typeof e=="function"&&e[st]!==void 0,ii=(e,t)=>{const{val:n,set:s,iCtx:r}=me();if(n!=null)return n;const o=G(e)?Y(void 0,e):e;if((t==null?void 0:t.reactive)===!1)return s(o),o;{const $=Ft(o,r.$renderCtx$.$static$.$containerState$,(t==null?void 0:t.deep)??!0?1:0);return s($),$}};function Pi(e,t){var s;const n=R();return((s=n==null?void 0:n.$renderCtx$)==null?void 0:s.$static$.$containerState$.$serverData$[e])??t}const Ni=e=>{ci(e,t=>t)},ci=(e,t,n)=>{const{val:s,set:r,iCtx:o,i:$,elCtx:l}=me();if(s)return s;const i=mr(e,$),c=o.$renderCtx$.$static$.$containerState$;if(r(i),l.$appendStyles$||(l.$appendStyles$=[]),l.$scopeIds$||(l.$scopeIds$=[]),c.$styleIds$.has(i))return i;c.$styleIds$.add(i);const a=e.$resolveLazy$(c.$containerEl$),f=p=>{l.$appendStyles$,l.$appendStyles$.push({styleId:i,content:t(p,i)})};return L(a)?o.$waitOn$.push(a.then(f)):f(a),i},ki=()=>{const e=ii({error:void 0});return Sr(Zn,e),e};export{fi as A,ts as B,Ti as C,hi as D,$i as E,xt as F,qi as G,yr as H,bi as I,Mt as S,Vt as _,es as a,di as b,pi as c,_i as d,Hr as e,gi as f,mo as g,Mi as h,Si as i,Ni as j,Pi as k,ii as l,Ai as m,Sr as n,yi as o,xi as p,Ii as q,vi as r,Bs as s,Ei as t,Dr as u,wi as v,ki as w,mi as x,ui as y,N as z};