@qwik.dev/core 2.0.0-beta.26 → 2.0.0-beta.28

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
- function t(t){let n="";const e=t.length;let i=0,s=i;for(;i<e;i++){const e=t.charCodeAt(i);if(60===e)n+=t.substring(s,i)+"&lt;";else if(62===e)n+=t.substring(s,i)+"&gt;";else if(38===e)n+=t.substring(s,i)+"&amp;";else if(34===e)n+=t.substring(s,i)+"&quot;";else{if(39!==e)continue;n+=t.substring(s,i)+"&#39;"}s=i+1}return 0===s?t:n+t.substring(s)}function n(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 e(t,n=Le){let e,i=!1;try{e=t(),i=!0}catch(t){e=t}if(!Te(e))return i?e:n(e);let s=Ie;const r=async e=>{for(;Te(e);)try{return await e,await t()}catch(t){if(!Te(t)){e=t;break}if(! --s){e=Error("Exceeded max retry count in retryOnPromise");break}e=t}return n(e)};return i?e.catch(r):r(e)}function i(t){if(t.endsWith("$")){const[n,e]=(t=>{let n,e=-1;return t.startsWith("on")?(n="q-e:",e=2):t.startsWith("window:on")?(n="q-w:",e=9):t.startsWith("document:on")&&(n="q-d:",e=11),[n,e]})(t);if(-1!==e){const i=t.slice(e,-1);return"DOMContentLoaded"===i?n+"-d-o-m-content-loaded":((t,n)=>n+ze(t))("-"===i.charAt(0)?i.slice(1):i.toLowerCase(),n)}}return null}function s(t,n,e){if((t=>"class"===t)(t)){const t=Je(n);n=e?e+(t.length?" "+t:t):t}else"style"===t?n=(t=>{if(null==t)return"";if("object"==typeof t){if(zn(t))throw Jn(0,[t,"style"]);{const n=[];for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)){const i=t[e];null!=i&&"function"!=typeof i&&(e.startsWith("--")?n.push(e+":"+i):n.push(He(e)+":"+Ye(e,i)))}return n.join(";")}}return t+""})(n):(t=>t.startsWith("aria-")||["spellcheck","draggable","contenteditable"].includes(t))(t)||"number"==typeof n?n=(t=>null!=t?t+"":null)(n):!1===n||null==n?n=null:!0===n&&(t=>t.startsWith("preventdefault:"))(t)&&(n="");return n}function r(t,n,e,i=!1){const s=t.ownerDocument.createElementNS(e,n);for(const n of t.attributes)n.name!==Ne&&s.setAttribute(n.name,n.value);if(i)for(const n of t.childNodes){const t=n.nodeType;3===t?s.appendChild(n.cloneNode()):1===t&&s.appendChild(r(n,n.localName,e,i))}return s}function o(t,n){const e=!t||!(!no(t)||(i=t,1536&i.flags));var i;const s=!e&&wi(no(t));let r=we,o=0;const l="string"==typeof n||Rr(n);return l&&(t=>"string"==typeof t?bi(t):!!Rr(t)&&(bi(no(t))||!!(512&t.flags)))(n)?(r=be,o=512):l&&(t=>"string"==typeof t?vi(t):!!Rr(t)&&(vi(no(t))||!!(1024&t.flags)))(n)?(r=ve,o=1024):!t||s||e||(r=512&t.flags?be:1024&t.flags?ve:we,o=1536&t.flags),gi.elementNamespace=r,gi.elementNamespaceFlag=o,gi}function l(t,n){const e=d(n).priority;let i=Ci.length;for(let t=0;t<Ci.length;t++)if(e<d(Ci[t]).priority){i=t;break}Ci.splice(i,0,n),t.o++,t.l||=new Promise(n=>t.u=n)}function c(){for(let t=0;t<Ci.length;t++){const n=Ci[t];let e=!1;for(let t=0;t<Pi.length;t++)if(Oo(n,Pi[t])){e=!0;break}if(!e)return n}return null}function u(t,n){Pi.push(t),a(t,n,!0),n.o++}function f(t,n){const e=Pi.indexOf(t);if(-1!==e){const t=Pi.length-1;e!==t&&(Pi[e]=Pi[t]),Pi.pop(),n.o--}l(n,t)}function a(t,n,e){e||(t.flags&=-257);const i=Ci.indexOf(t);-1!==i&&(Ci.splice(i,1),n.o--)}function h(t,n,e){n.position=e,e&&Nt(e)&&((t,n,e)=>{a(e,t);const i=d(e);if(i===n)return;const s=i.afterFlushTasks;if(s&&s.length>0){const t=n.afterFlushTasks;t?t.push(...s):n.afterFlushTasks=s}const r=i.extraPromises;if(r&&r.length>0){const t=n.extraPromises;t?t.push(...r):n.extraPromises=r}const o=i.journal;if(o&&o.length>0){const t=n.journal;t?t.push(...o):n.journal=o}})(t,n,e)}function d(t){return Ai.get(t)??null}function p(t){return new Proxy({},new zi(t))}function $(t,n,e){t[Si]||(t[Si]=new Map);const i=t[Si];let s=i.get(n);return s||(s=new Ki(t,n),i.set(n,s)),e&&(s.data=e),s}function y(t,n){qr(n)&&Rr(n)&&ro(n);const e=n[Si];if(e){for(const[,n]of e)m(t,n);e.clear()}}function m(t,n){const e=n.backRef;if(e){for(const i of e)if(i instanceof rs)b(i,n);else if(i instanceof Mi)w(t,i,n);else if(Gi(i))v(i[Di],n);else if(t.h.has(i)){const e=t.h.get(i);v(uc(e),n)}e.clear()}}function w(t,n,e){const i=n.p;i&&i.has(e)&&i.delete(e),n instanceof gs&&!i?.size&&(n.$=void 0,y(t,n))}function b(t,n){const e=t.p;e&&e.has(n)&&e.delete(n);const i=t.m;i&&i.has(n)&&i.delete(n);const s=t.k;s&&s.has(n)&&s.delete(n),t.q()}function v(t,n){const e=t?.p;if(e)for(const[t,i]of e.entries())i.has(n)&&(i.delete(n),0===i.size&&e.delete(t))}function g(t,n){ks(this,n),_c[0].value="number"===n.type?n.valueAsNumber:n.value}function S(t,n){ks(this,n),_c[0].value=n.checked}function k(t,n){if(ks(this,n),_c)for(const t of _c)t instanceof rs&&64&t.R&&t.j()}function x(t,n,...e){const i={children:arguments.length>2?e.flat(100):null};let s=null;for(const t in n)"key"==t?s=n[t]:i[t]=n[t];return Os(t,n,null,i.children,0,s)}function q(t,n){const e=j(t);let i=t;const s="q-e:qvisible";return De(e,t=>{const e=!t;let r=null;for(const o in n)if(Object.prototype.hasOwnProperty.call(n,o)){let l=t,c=o;if(e){if(o!==s&&!o.startsWith("q-d:")&&!o.startsWith("q-w:"))continue;if(!r){const[t,n]=C(i);i=n,r=t}l=r}l&&("script"===l.type&&o===s&&(c="q-d:qinit"),R(l,c,n[o]))}return i})}function R(t,n,e){const i=t.constProps||={},s=i[n];null==s?i[n]=e:Array.isArray(s)?s.push(...e):i[n]=[s,...e],t.varProps[n]&&(Array.isArray(s)?s.push(...i[n]):t.varProps[n]=[s,...e],i[n]=void 0)}function j(t){const n=[t];for(;n.length;){const t=n.shift();if(Rs(t)){if("string"==typeof t.type)return t;n.push(t.children)}else if(zn(t))n.push(...t);else{if(Te(t))return De(t,t=>j(t));if(tc(t))return j(t.untrackedValue)}}return null}function C(t){if(Rs(t)){const n=P();return t.type===Ds||Gc(t.type)?(null==t.children?t.children=n:zn(t.children)?t.children.push(n):t.children=[t.children,n],[n,t]):[n,As(Ds,null,null,[t,n],0,null)]}if("object"!=typeof(n=t)&&"function"!=typeof n||null==n){const n=P();return[n,As(Ds,null,null,[t,n],0,null)]}var n;if(zn(t)&&t.length>0){const[n,e]=C(t[0]);return[n,t]}return[null,t]}function P(){return new xs("script",null,{hidden:""},null,null)}function A(t,n,e,i){if(null!=e){if(i){const i=(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(i)return void((t,n,e,i)=>{Gs||(Gs=t.setAttributeNS),Gs.call(t,n,e,i)})(t,i,n,e)}s=t,Ys||(Ys=s.setAttribute),Ys.call(s,n,e)}var s}function O(t){return!t.startsWith("q:")&&!t.startsWith(Pe)}function _(t,n,i,s){if(!i.isConnected)return;s||(s=zo(n,i));const r=s.O,o=s.$;Ir(r,o);let l=t;if(64&o.flags){let e;128&o.flags||(e=!0,o.flags|=128);const s=e?r._:null,c=_r(o,je,s);if(null!==c)l=()=>t(n,i,c);else{const e=_r(o,Ce,s);null!==e&&(l=()=>t(n,i,...e))}}return e(()=>{if(!(32&o.flags))return Ht(s,l,[n,i])},t=>r.handleError(t,o))}function N(t,n){if(!n.isConnected)return;const e=zo(t,n);return"string"==typeof this&&Nc(Mc(e.O,this)),_(_c[0],t,n,e)}function M(t){return t?t.nextSibling:null}function E(t,n,e,i,s,r){import.meta.env.TEST&&s&&Nr(n,Ee,s),Nr(n,e,r),Tt(t,or(n.node,e,i,s,!!(512&n.flags)))}function I(t,n,e){if(t.vParent=e,t.vNewNode=null,t.vCurrent=so(e),W(t,n,!0),!(32&t.vParent.flags))for(;t.stack.length;){for(;t.jsxIdx<t.jsxCount;){if("string"==typeof t.jsxValue)lt(t,t.jsxValue);else if("number"==typeof t.jsxValue)lt(t,t.jsxValue+"");else if(t.jsxValue&&"object"==typeof t.jsxValue)if(Rs(t.jsxValue)){const n=t.jsxValue.type;"string"==typeof n?(G(t),Z(t,t.jsxValue,n),t.jsxValue.constProps&&cr.call(t.jsxValue.constProps,Me)||cr.call(t.jsxValue.varProps,Me)?H(t,!1):D(t,t.jsxValue.children,!0)):"function"==typeof n&&(n===Ds?(G(t),it(t,"F",t.jsxValue.key),D(t,t.jsxValue.children,!0)):n===Us?(G(t),z(t)||D(t,t.jsxValue.children,!0)):n===ft?(V(t),D(t,t.jsxValue.children,!0,!1)):n===Bs||n===zs?Y(t):(G(t),st(t,n)))}else if(Array.isArray(t.jsxValue))D(t,t.jsxValue,!1);else if(tc(t.jsxValue)){it(t,"S",null);const n=t.jsxValue instanceof gs?t.jsxValue.N():t.jsxValue,e=t.vCurrent?.[Si]?.get(".")?.backRef;let i=e?.has(n);if(e&&n instanceof gs&&(i=mt(e,n)),!i){const e=t.vNewNode||t.vCurrent;D(t,T(t,()=>Ho(n,e,".",t.container)),!0)}}else Te(t.jsxValue)&&(it(t,"A",null),t.asyncQueue.push(t.jsxValue,t.vNewNode||t.vCurrent));else t.jsxValue===Vs||lt(t,"");F(t)}Y(t),B(t),L(t)}}function T(t,n){try{return n()}catch(i){if(Te(i)){const s=i.then(()=>e(n));return t.asyncQueue.push(s,t.vNewNode||t.vCurrent),null}throw i}}function F(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 L(t);null!==t.vNewNode?t.vNewNode=null:t.vCurrent=M(t.vCurrent)}else t.shouldAdvance=!0}function D(t,n,e,i=!0){if(i&&(null==n||e&&zn(n)&&0===n.length))H(t);else{if(W(t,n,e),e){const n=t.isCreationMode||!!t.vNewNode||!so(t.vCurrent);t.isCreationMode=n,t.vSideBuffer=null,t.vSiblings=null,t.vSiblingsArray=null,t.vParent=t.vNewNode||t.vCurrent,t.vCurrent=so(t.vParent),t.vNewNode=null}t.shouldAdvance=!1}}function L(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(),F(t)}function W(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 U(t){return t.vNewNode?t.vCurrent:M(t.vCurrent)}function V(t){const n=t.jsxValue.key;t.vCurrent=_r(t.vParent,n,n=>Dr(t.container.rootVNode,n)),t.vCurrent=t.vCurrent&&32&t.vCurrent.flags?null:t.vCurrent,null==t.vCurrent&&(t.vNewNode=xr(),Nr(t.vNewNode,ne,n),t.vNewNode.slotParent=t.vParent,Nr(t.vParent,n,t.vNewNode))}function z(t){const n=Do(t.vParent),e=((t,n)=>{const e=t.jsxValue,i=e.constProps;if(i&&"object"==typeof i&&cr.call(i,"name")){const e=i.name;if(n&&e instanceof gs)return Ho(e,n,":",t.container)}return Ji(e,"name")||""})(t,n),i=n?_r(n,e,null):null;if(null==i)return t.vNewNode=xr(),Nr(t.vNewNode,ne,e),n&&Nr(n,e,t.vNewNode),Gr(t.journal,t.vParent,t.vNewNode,t.vCurrent&&U(t)),!1;if(i===t.vCurrent);else{const s=i.parent;t.vNewNode=i,Nr(t.vNewNode,ne,e),n&&Nr(n,e,t.vNewNode),Yr(t.journal,t.vNewNode),Gr(t.journal,t.vParent,t.vNewNode,t.vCurrent&&U(t)),s&&Rr(s)&&!s.firstChild&&no(s)===me&&Zr(t.journal,s.parent,s,!0)}return!0}function B(t){if(t.vSideBuffer){for(const n of t.vSideBuffer.values())32&n.flags||(dt(t.container,t.journal,n,t.cursor),Zr(t.journal,t.vParent,n,!0));t.vSideBuffer.clear(),t.vSideBuffer=null}t.vCurrent=null}function Q(t){for(;t.asyncQueue.length;){const n=t.asyncQueue.shift(),e=t.asyncQueue.shift();if(Te(n))return n.then(n=>(I(t,n,e),Q(t))).catch(n=>(t.container.handleError(n,e),Q(t)));I(t,n,e)}if(t.asyncAttributePromises.length){const n=t.asyncAttributePromises.splice(0);return Promise.all(n).then(()=>Q(t))}}function J(t){t.journal=null,t.cursor=null}function H(t,n=!0){const e=t.vCurrent&&so(t.vCurrent);if(null!==e){let i=e;for(;i;)dt(t.container,t.journal,i,t.cursor),i=i.nextSibling;to(t.journal,t.vCurrent,e,n)}}function Y(t){if(null!==t.vCurrent)for(;t.vCurrent;){const n=t.vCurrent;t.vCurrent=M(t.vCurrent),t.vParent===n.parent&&(dt(t.container,t.journal,n,t.cursor),Zr(t.journal,t.vParent,n,!0))}}function G(t){if(null!==t.vCurrent&&Pr(t.vCurrent)){const n=t.vCurrent;t.vCurrent=M(t.vCurrent),Zr(t.journal,t.vParent,n,!0)}}function X(n,i,r,l){const c=((t,n)=>{const e=o(Kr(t.vParent,!0),n),i=import.meta.env.TEST?t.container.document:document,s=0===e.elementNamespaceFlag?i.createElement(n):i.createElementNS(e.elementNamespace,n);return t.vNewNode=gr(s,n),t.vNewNode.flags|=e.elementNamespaceFlag,s})(n,r),{constProps:u}=i;if(u)for(const i in u){let o=u[i];if(Ve(i))K(i,o,c,n.vNewNode,n);else{if("ref"===i){if(tc(o)){o.value=c;continue}if("function"==typeof o){o(c);continue}if(null==o)continue;throw Jn(15,[l])}if(tc(o)){const t=n.vNewNode,s=o;o=e(()=>Ho(s,t,i,n.container,n.subscriptionData.const))}if(Te(o)){const t=n.vNewNode,e=o.then(e=>A(c,i,s(i,e,n.scopedStyleIdPrefix),!!(512&t.flags)));n.asyncAttributePromises.push(e);continue}if(i!==Me)if("textarea"!==r||"value"!==i)A(c,i,s(i,o,n.scopedStyleIdPrefix),!!(512&n.vNewNode.flags));else{if(o&&"string"!=typeof o)continue;c.value=t(o||"")}else o&&(c.innerHTML=o+"",c.setAttribute($e,"html"))}}const f=i.key;f&&(n.vNewNode.key=f),n.scopedStyleIdPrefix&&(cr.call(i.varProps,"class")||i.constProps&&cr.call(i.constProps,"class")||c.setAttribute("class",n.scopedStyleIdPrefix)),zr(n.journal,n.vParent,n.vNewNode,n.vCurrent)}function K(t,n,e,i,s){const r=t.slice(2);if(Array.isArray(n)){const t=n,i=[];for(let n=0;n<t.length;n++){const e=t[n];if(Array.isArray(e))for(let t=0;t<e.length;t++){const n=e[t];n&&i.push(_.bind(null,n))}else e&&i.push(_.bind(null,e))}i.length>0&&((e._qDispatch||={})[r]=i)}else n&&((e._qDispatch||={})[r]=[_.bind(null,n)]);"e"!==t.charAt(2)&&Mr(s.journal,i,t,""),((t,n)=>{const e=import.meta.env.TEST?t.container.document.defaultView:window;e&&(e._qwikEv||=[]).push(n)})(s,r)}function Z(t,n,e){if(t.isCreationMode)X(t,n,e,null);else{const i=t.vCurrent&&Rr(t.vCurrent),s=i&&e===no(t.vCurrent),r=n.key;s&&r===(i&&t.vCurrent.key)?nt(t,e,r):et(t,e,r,tt(e,r),t.vParent)&&X(t,n,e,null)}const i=n.varProps;i&&((t,n,e,i)=>{t.isCreationMode||Ir(t.container,n);const s=n.props;for(const r in e){const o=e[r];if(s&&cr.call(s,r)){const e=s[r];if(o!==e){if(o instanceof gs&&e instanceof gs&&yt(o,e))continue;fr(t,n,r,o,i)}}else null!=o&&fr(t,n,r,o,i)}if(s)for(const r in s)cr.call(e,r)||":"===r.charAt(0)||Ve(r)||fr(t,n,r,null,i)})(t,t.vNewNode||t.vCurrent,i,null)}function tt(t,n){return null==n?null:t?t+":"+n:n}function nt(t,n,e){const i=tt(n,e);return!(!i||!t.vSideBuffer?.has(i)||(t.vSideBuffer.delete(i),0))}function et(t,n,e,i,s,r){if(t.vNewNode=((t,n,e)=>{let i=null;if(null===t.vSiblings){const s=t.vCurrent;if(s){const i=Rr(s)?no(s):null;if((ct(s)||ut(s,t.container._))===e&&i===n)return s}t.vSiblings=new Map,t.vSiblingsArray=[];let r=t.vCurrent;for(;r;){const s=Rr(r)?no(r):null,o=ct(r)||ut(r,t.container._);null===i&&o==e&&s==n?i=r:null===o?t.vSiblingsArray.push(s,r):t.vSiblings.set(tt(s,o),r),r=r.nextSibling}}else if(null===e){for(let e=0;e<t.vSiblingsArray.length;e+=2)if(t.vSiblingsArray[e]===n){i=t.vSiblingsArray[e+1],t.vSiblingsArray.splice(e,2);break}}else{const s=tt(n,e),r=t.vSiblings.get(s);r&&(i=r,t.vSiblings.delete(s))}return((t,n)=>{if(!n){if(t.vCurrent){const n=Rr(t.vCurrent)?no(t.vCurrent):null,e=ct(t.vCurrent)||ut(t.vCurrent,t.container._);if(null!=e){const i=tt(n,e);t.vSideBuffer||=new Map,t.vSideBuffer.set(i,t.vCurrent),t.vSiblings?.delete(i)}}return}let e=t.vCurrent;for(;e&&e!==n;){const n=Rr(e)?no(e):null,i=ct(e)||ut(e,t.container._);if(null!=i){const s=tt(n,i);t.vSideBuffer||=new Map,t.vSideBuffer.set(s,e),t.vSiblings?.delete(s)}e=e.nextSibling}})(t,i),i})(t,n,e),t.vNewNode)return i||Gr(t.journal,s,t.vNewNode,t.vCurrent),t.vCurrent=t.vNewNode,t.vNewNode=null,!1;if(null!=i){const n=t.vSideBuffer?.get(i)||null;if(n){if(t.vSideBuffer.delete(i),r&&t.vCurrent){const n=ct(t.vCurrent)||ut(t.vCurrent,t.container._);if(null!=n){const e=tt(Rr(t.vCurrent)?no(t.vCurrent):null,n);null!=e&&(t.vSideBuffer||=new Map,t.vSideBuffer.set(e,t.vCurrent))}}return n!==t.vCurrent&&Gr(t.journal,s,n,t.vCurrent),t.vCurrent=n,t.vNewNode=null,!1}}return!0}function it(t,n,e){const i="F"===n,s=ct(t.vCurrent);if(!t.vCurrent||!Ar(t.vCurrent)||s!==e||i&&!e)return null===e||t.isCreationMode?(Br(t.journal,t.vParent,t.vNewNode=xr(),t.vCurrent&&U(t)),void(t.vNewNode.key=e)):void(et(t,null,e,tt(null,e),t.vParent,!0)&&(Br(t.journal,t.vParent,t.vNewNode=xr(),t.vCurrent&&U(t)),t.vNewNode.key=e));nt(t,null,s)}function st(t,n){const e=n[Yc];let i=t.vNewNode||t.vCurrent;const s=t.jsxValue;if(e){const n=s.props;let r=!1;const[o]=e,l=o.M,c=ut(i,t.container._),u=s.key||l;if(u===(ct(i)||c)?l===c?nt(t,null,u):(rt(t,i,o,n),i=t.vNewNode,r=!0):(et(t,null,u,u,t.vParent)&&(rt(t,i,o,n),r=!0),i=t.vNewNode||t.vCurrent),i){const e=_r(i,xe,t.container._);if(!r){const l=((t,n,e,i)=>{let s=!1;if(e){const t=at(n[Ii],e[Ii],e[Di],i,!1);s||=t;const r=at(n[Ti],e[Ti],e[Di],i,!0);s||=r,e[Fi]=n[Fi]}else n&&(Nr(t,xe,n),e=n);return s})(i,n,e,t.container);l&&null==s.key&&(rt(t,i,o,n),i=t.vNewNode,r=!0),r||=l}r&&(Nr(i,Zn,o),i.flags&=-33,It(t.container,i,4,t.cursor))}((t,n,e)=>{const i=Array.isArray(n)?n:[n],s=t=>new xs(ft,null,null,[],t),r=[];if(e){const t=e.props;if(t)for(const n in t)O(n)&&Dn(r,n,s(n),0)}if(0!==r.length||null!=n){for(let t=0;t<i.length;t++){const n=i[t],e=(Rs(n)&&Ji(n,ne)||"")+"",o=Fn(r,e,0);let l;o>=0?l=r[o+1]:r.splice(~o,0,e,l=s(e)),!1===n||l.children.push(n)}for(let t=r.length-2;t>=0;t-=2)r.splice(t,1);D(t,r,!0)}})(t,s.children,i)}else{const e=s.key,r=e===ct(i),o=ut(i,t.container._);if(i&&null!=o||!i?(ot(t),i=t.vNewNode):r?nt(t,null,e):(et(t,null,e,e,t.vParent)&&ot(t),i=t.vNewNode||t.vCurrent),i){let e=i;for(;e&&(!Ar(e)||null===_r(e,Zn,null));)e=e.parent||Do(e);const r=Ws(t.container,i,e||t.container.rootVNode,n,s.props);t.asyncQueue.push(r,i)}}}function rt(t,n,e,i){n&&y(t.container,n),Br(t.journal,t.vParent,t.vNewNode=xr(),t.vCurrent&&U(t));const s=t.jsxValue;Nr(t.vNewNode,Zn,e),Nr(t.vNewNode,xe,i),t.vNewNode.key=s.key}function ot(t){Br(t.journal,t.vParent,t.vNewNode=xr(),t.vCurrent&&U(t));const n=t.jsxValue;Nr(t.vNewNode,xe,n.props),n.key&&(t.vNewNode.key=n.key)}function lt(t,n){if(null!==t.vCurrent&&3===To(t.vCurrent))return n!==eo(t.vCurrent)?void io(t.journal,t.vCurrent,n):void 0;zr(t.journal,t.vParent,t.vNewNode=kr((import.meta.env.TEST?t.container.document:document).createTextNode(n),n),t.vCurrent)}function ct(t){return null==t||Pr(t)?null:t.key}function ut(t,n){if(null==t||Pr(t))return null;const e=_r(t,Zn,n);return e?e.M:null}function ft(){}function at(t,n,e,i,s=!0){if(ht(t)&&ht(n))return!1;e.O=i;let r=!1;if(t)for(const i in t)if("children"!==i&&i!==ce&&(!n||t[i]!==n[i])){if(!s)return!0;n&&(n[i]=t[i]),Qi(e,i)||(r=!0)}if(n)for(const i in n)"children"===i||i===ce||t&&cr.call(t,i)||!s||(delete n[i],Qi(e,i)||(r=!0));return r}function ht(t){return!t||ci(t)}function dt(t,n,e,i=null){let s=e;if(Pr(e))return void $t(s);let r=null;for(;;){const o=s.flags;if(3&o){if(y(t,s),$t(s),2&o&&null!==_r(s,Zn,null)){const e=t.getHostProp(s,qe);if(e)for(let n=0;n<e.length;n++){const r=e[n];if(Vn(r)){const n=Kl(r);if(n&&1&r.R){r.R|=16,It(t,s,64,i);continue}(r instanceof Mi||pc(r))&&y(t,r),(n||r instanceof rs)&&lr(r)}}const r=s.props;if(r)for(const e of Object.keys(r))if(O(e)){const s=r[e];if(s){r[e]=null;const o="string"==typeof s?Dr(t.rootVNode,s):s;let l=so(o);for(;l;)dt(t,n,l,i),l=l.nextSibling;pt(n,o)}}}if(Or(s)){if(s===e){const t=so(s);if(t)return void Lt(t,()=>{})}}else{const t=so(s);if(t){s=t;continue}}}else 4&o&&$t(s);if(s===e)return;const l=s.nextSibling;if(l)s=l;else{for(r=s.parent;r;){if(r===e)return;const t=r.nextSibling;if(t){s=t;break}r=r.parent}if(null==r)return}}}function pt(t,n){const e=n.parent;e&&1&e.flags&&no(e)===me&&Zr(t,e,n,!0)}function $t(t){t.flags|=32}function yt(t,n){return t===n||n.T===t.T&&((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.D,t.D)}function mt(t,n){if(!(n instanceof gs))return!1;for(const e of t)if(e instanceof gs&&yt(e,n))return!0;return!1}function wt(t,n,e){t.dirty&=-2;const i=n.getHostProp(t,qe);if(!i||0===i.length)return;let s;for(const r of i)if(r instanceof Xl){const i=r;if(!(4&i.R))continue;if(1&i.R)(e.afterFlushTasks||=[]).push(i);else{const r=!!(8&i.R),o=Gl(i,n,t);Te(o)&&(r?s=s?s.then(()=>o):o:(e.extraPromises||=[]).push(o))}}return s}function bt(t,n,e,i){t.dirty&=-3;const s=t;let r=(t=>{const n=t.props;return n?.[_i]})(t);if(r)return tc(r)&&(r=r.value),ur(n,e,r,s,i,null)}function vt(t,n,i,s){t.dirty&=-5;const r=t,o=n.getHostProp(r,Zn);if(!o)return;const l=n.getHostProp(r,xe)||null,c=Fe(()=>Ws(n,r,r,o,l),t=>{const o=n.getHostProp(r,oe);return e(()=>ur(n,i,t,r,s,Ue(o)))},t=>{n.handleError(t,r)});return Te(c)?c:void 0}function gt(t,n,e,i,s,r=null){n.push(or(t.node,e,i,r,!!(512&t.flags))),s||(t.props&&null==i?delete t.props[e]:(t.props||={})[e]=i)}function St(t,n){if(t.dirty&=-9,!(1&t.flags))return;const e=(t=>(t.props||={})[Oi]??null)(t);if(!e||0===e.size)return;const i=t;for(const[t,s]of e.entries()){let e=s.value;tc(e)&&(e=e.value),gt(i,n,t,e,s.isConst,s.scopedStyleIdPrefix)}(t=>{delete(t.props||={})[Oi]})(t)}function kt(t,n){t.dirty&=-65;const e=n.getHostProp(t,qe);if(e&&0!==e.length)for(const t of e)t instanceof Xl&&16&t.R&&(t.R&=-17,lr(t))}function xt(t,n){t.dirty&=-17;const i=n.getHostProp(t,Ni);if(!i)return;const s=i.p,r=Gt();return r.O=n,De(e(()=>Jt.call(i,r,i.j)),()=>{if(2&i.R)return i.R&=-3,sc(n,i,s)})}function qt(){wr||(wr=!0,$r())}function Rt(){wr||(wr=!0,mr())}function jt(t={timeBudget:1e3/60}){wr=!1;let n=null;for(;n=c();)Ct(n,t)}function Ct(t,n){const{timeBudget:e}=n,i=import.meta.env.TEST?yi():_n,s=performance.now(),r=d(t);if(r.promise)return;const o=r.container;if(!t.dirty)return void Pt(o,t,r,i);const l=r.journal||=[];let c=null;for(;c=r.position;){if(r.promise)return;if(!(127&c.dirty)){h(o,r,_t(c,t));continue}if(32&c.flags){if(64&c.dirty)kt(c,o);else if(32&c.dirty){const n=Ot(o,r,c,t);if(null!==n){c=n;continue}}c.dirty&=-128,h(o,r,_t(c,t));continue}let n;try{if(1&c.dirty)n=wt(c,o,r);else if(2&c.dirty)n=bt(c,o,l,t);else if(4&c.dirty)n=vt(c,o,l,t);else if(8&c.dirty)St(c,l);else if(16&c.dirty)n=xt(c,o);else if(32&c.dirty){const n=Ot(o,r,c,t);if(null!==n){c=n;continue}}}catch(t){o.handleError(t,c)}if(n&&Te(n)){r.promise=n,u(t,o);const e=c;return void n.catch(t=>{o.handleError(t,e)}).finally(()=>{r.promise=null,f(t,o),qt()})}if(performance.now()-s>=e)return void Rt()}Pt(o,t,r,i)}function Pt(t,n,e,i){if(!(127&n.dirty)){if(a(n,t),i||((t,n)=>{const e=d(t),i=e.journal;i&&i.length>0&&((t=>{let n=null,e=null,i=null;const r=new Set,o=()=>{if(i){if(1===i.length)hr(n,i[0],e);else{const t=(n.ownerDocument||n).createDocumentFragment();for(let n=0;n<i.length;n++)t.appendChild(i[n]);hr(n,t,e)}i=null,n=null,e=null,r.clear()}};for(let l=0;l<t.length;l++){const c=t[l];if(c instanceof nr){if(n===c.parent&&e===c.beforeTarget){i||(i=[]),i.push(c.target),r.add(c.target);continue}if(!i){n=c.parent,e=c.beforeTarget,i=[c.target],r.add(c.target);continue}if(n===c.parent){o(),n=c.parent,e=c.beforeTarget,i=[c.target],r.add(c.target);continue}if(r.has(c.target)||e&&c.target===e||n&&c.target===n){o(),n=c.parent,e=c.beforeTarget,i=[c.target],r.add(c.target);continue}hr(c.parent,c.target,c.beforeTarget)}else if(c instanceof Ks)(r.has(c.target)||e&&c.target===e||n&&c.target===n)&&o(),c.target.remove();else{if(c instanceof Zs){(r.has(c.target)||e&&c.target===e||n&&c.target===n)&&o(),c.target.textContent="";continue}if(c instanceof tr)c.target.nodeValue=c.text;else if(c instanceof er){const t=c.target,e=c.attrName,i=c.attrValue,r=null!=i?s(e,i,c.scopedStyleIdPrefix):null,l=null==r||!1===r;dr(t,e)?t[e]=pr(r):e===Me?(n===t&&o(),t.innerHTML=r,t.setAttribute($e,"html")):l?t.removeAttribute(e):"value"===e&&e in t?t.value=r:A(t,e,r,c.isSvg)}}}o()})(i),e.journal=null),((t,n)=>{const e=n.afterFlushTasks;if(!e||0===e.length)return void(n.afterFlushTasks=null);let i;for(const n of e){const e=Gl(n,t,n.L);Te(e)&&(i=i?i.then(()=>e):e)}i&&(n.extraPromises||=[]).push(i),n.afterFlushTasks=null})(n,e)})(n,t),e.extraPromises)return void Promise.all(e.extraPromises).then(()=>{At(t)});At(t)}}function At(t){t.W()}function Ot(t,n,e,i){const s=e.dirtyChildren;if(!s||0===s.length)return e.dirty&=-33,null;((t,n)=>{let e=0;for(let i=0;i<t.length;i++){const s=t[i];if(s.parent===n){if(e!==i){const n=t[e];t[e]=s,t[i]=n}e++}}})(s,e),e.nextDirtyChildIndex=0;const r=_t(s[0],i);return h(t,n,r),r}function _t(t,n){if(t===n)return 127&n.dirty?n:null;let e=null;if(t.slotParent&&32&t.slotParent.dirty?e=t.slotParent:t.parent&&32&t.parent.dirty&&(e=t.parent),!e)return 127&n.dirty?n:null;const i=e.dirtyChildren;let s=e.nextDirtyChildIndex;const r=i.length;let o=r;for(;o-- >0;){const t=i[s];if(127&t.dirty)return e.nextDirtyChildIndex=(s+1)%r,t;s++,s===r&&(s=0)}return e.dirty&=-33,e.dirtyChildren=null,e.nextDirtyChildIndex=0,_t(e,n)}function Nt(t){return!!(256&t.flags)}function Mt(t,n){if(!(1&n.flags))return 8&n.dirty&&((t,n)=>{n.dirty&=-9;const e=n.getProp(Oi);if(e&&0!==e.size)for(const[i,r]of e.entries()){let e=r.value;tc(e)&&(e=e.value);const o=s(i,e,r.scopedStyleIdPrefix);t.addBackpatchEntry(n.id,i,o)}})(t,n),16&n.dirty&&xt(n,t),127&n.dirty&&In(`A chore was scheduled on a host element that has already been streamed to the client.\n This can lead to inconsistencies between Server-Side Rendering (SSR) and Client-Side Rendering (CSR).\n \n Problematic chore:\n - Host: ${""+n}\n - Nearest element location: ${n.currentFile}\n \n This is often caused by modifying a signal in an already rendered component during SSR.`),void(n.dirty&=-128);let e=null;if(1&n.dirty){const i=((t,n)=>{n.dirty&=-2;const e=n.getProp(qe);if(!e||0===e.length)return null;let i=null;for(const s of e)if(s instanceof Xl){const e=s;if(!(4&e.R))continue;const r=Gl(e,t,n);i=i?i.then(()=>r):r}return i})(t,n);Te(i)&&(e=i)}return n.dirty&=-124,e||void 0}function Et(t){for(let n=0;n<br.length;n++){const e=br[n],i=br[n+1]||t;i.dirty|=32,i.dirtyChildren||=[],i.dirtyChildren.includes(e)||i.dirtyChildren.push(e)}}function It(t,n,e,i=null){const s=n.dirty;if(n.dirty|=e,import.meta.env.TEST?yi():_n){const e=Mt(t,n);return void(Te(e)&&(t.l=t.l?t.l.then(()=>e):e))}const r=127&e;if((r?127&s:s)||n===i)return;const o=n.slotParent||n.parent;if(i&&r&&o&&!o.dirty)((t,n)=>{br.push(t);let e=t.slotParent||t.parent;for(;e;){const i=127&e.dirty,s=Nt(e);if(e===n||i){if(Et(e),s){const n=d(e);n.position!==e&&(n.position=t)}return void(br.length=0)}if(s){const n=d(e);n.position!==e&&(n.position=t)}br.push(e),e=e.slotParent||e.parent}br.length=0,(()=>{throw Tn(!1,"Cursor root not found in current path!")})()})(n,i);else if(o&&127&o.dirty){if(r&&(o.dirty|=32),o.dirtyChildren||=[],o.dirtyChildren.includes(n)||o.dirtyChildren.push(n),r&&n.dirtyChildren){const t=(t=>{for(;t;){if(Nt(t))return t;t=t.parent||t.slotParent}return null})(n);if(t){const e=d(t);let i=e.position;if(i)for(;i!==t;)if(i=i.slotParent||i.parent,i===n){e.position=n;break}}}}else Nt(n)||(t=>{br.push(t);let n=t.slotParent||t.parent;for(;n;){if(Nt(n))return Et(n),br.length=0,!0;br.push(n),n=n.slotParent||n.parent}return br.length=0,!1})(n)||((t,n)=>{Ai.set(n,{afterFlushTasks:null,extraPromises:null,journal:null,container:t,position:n,priority:0,promise:null});const e=n;e.flags|=256,l(t,e),qt()})(t,n)}function Tt(t,n){t.push(n)}function Ft(t,n,e,i){const s=t.value,r=n.slice(2),o=s.split("|").map(t=>{const n=Zt(t);return n.O=e,n});(i._qDispatch||={})[r]=o}function Dt(t,n,e){let i=so(n);for(;i;)Pr(i)?(Fr(t,i),e(i,n)):Rr(i)?e(i,n):Dt(t,i,e),i=i.nextSibling}function Lt(t,n){let e=t;if(Pr(t))return void n?.(t,null);let i=null;for(;;){if(n?.(e,i))return;const s=so(e);if(s){e=s;continue}if(e===t)return;const r=e.nextSibling;if(r)e=r;else{for(i=e.parent;i;){if(i===t)return;const n=i.nextSibling;if(n){e=n;break}i=i.parent}if(null==i)return}}}function Wt(t,n,e,i){for(;t;){if(t.nodeValue?.startsWith(n))return e.call(t)||null;let s=i.call(t);s||(s=e.call(t)),s||(s=mo(t),s&&(s=e.call(s))),t=s}return null}function Ut(t,n,e){t[Si]?((t,n)=>{for(const[e,i]of n)t.set(e,i)})(t[Si],e._(n)):Object.defineProperty(t,Si,{get(){const i=e._(n);return t[Si]=i,i},set(n){Object.defineProperty(t,Si,{value:n,writable:!0,enumerable:!0,configurable:!0})},enumerable:!0,configurable:!0})}function Vt(t=20,n="",e=!1,i=!1,s=!0,r=null){if(this&&!r)try{r=(()=>{let t=this;for(;t;){if(Rr(t)){const n=$n(t.node);return n?pn(n):null}t=t.parent}return null})()}catch{}let o=this;if(0===t)return"...";if(null===o)return"null";if(void 0===o)return"undefined";const l=[];do{if(Pr(o))l.push(mn(eo(o)));else if(Ar(o)){const e=["["+(o.flags>>>11)+"]"];o.dirty&&e.push(" dirty:"+o.dirty),r&&Ao(r,o).forEach(t=>{if(t!==Gn&&t!==Ee){const n=_r(o,t,null);e.push(" "+t+"="+mn(n))}});const i=(s?"":"")+(Xn[_r(o,Gn,null)||"V"]||Xn.V)+(s?"":"");l.push("<"+i+e.join("")+">");const c=so(o);c&&l.push(" "+Vt.call(c,t-1,n+" ",!0,!0,s)),l.push("</"+i+">")}else if(Rr(o)){const i=no(o),c=[];Nt(o)&&c.push(" cursor"),o.dirty&&c.push(" dirty:"+o.dirty),o.dirtyChildren&&c.push(` dirtyChildren[${o.dirtyChildren.length}]`);const u=r?Ao(r,o):[];for(const t of u){const n=_r(o,t,null);c.push(" "+t+"="+mn(n))}const f=No(o);if(f){const t=qo(f).qVNodeData?.get(f);t&&c.push(" q:vnodeData="+mn(t))}const a=f.attributes;for(let t=0;t<a.length;t++){const n=a[t];-1===u.indexOf(n.name)&&c.push(" "+n.name+(n.value?"="+mn(n.value):""))}if(l.push("<"+i+c.join("")+">"),Cr(o)||e){const e=so(o);e&&l.push(" "+Vt.call(e,t-1,n+" ",!0,!0,s))}else l.push(" \x3c!-- not materialized --!>");l.push("</"+i+">")}o=i&&o.nextSibling||null}while(o);return l.join("\n"+n)}function zt(t){return!jo(t)||Ro(t)}function Bt(t){if(void 0===Lo){const n=Uo();if(n&&n.U)return n.U;if(void 0!==t)return t;throw Error("Reading `locale` outside of context.")}return Lo}function Qt(t,n){const e=Lo;try{return Lo=t,n()}finally{Lo=e}}function Jt(t,n,...e){return Ht.call(this,t,n,e)}function Ht(t,n,e){const i=Wo;try{return Wo=t,n.apply(this,e)}finally{Wo=i}}function Yt(t,n,e){const i={$:n,B:ge,J:void 0,U:t,O:e,H:void 0};return En(i),i}function Gt(t,n,e){const i={$:n,B:e,J:void 0,U:t||(e&&Vn(e)&&"locale"in e?e.locale:void 0),O:void 0};return En(i),i}function Xt(t,n,e){let i=n.Y,s=n.G;const r=$i();if(r){const t=r.chunkForSymbol(i,s);t&&(s=t[1],i=t[0])}var o;if(Yn(o=n)&&o.Y==Hn)s="",i=t.X(null,0,n.resolved)+"";else{if(s||(s=t.K(n.M)),!s)throw Jn(14,[n.Y]);s.startsWith("./")&&(s=s.slice(2))}const l=n.getCaptured();let c=null;if(l&&l.length>0&&(c=l.map(n=>""+t.Z(n)).join(" ")),e)return[s,i,c];let u=`${s}#${i}`;return c&&(u+="#"+c),u}function Kt(t,n,e){return Tc(t,n,null,null,e)}function Zt(t){const[n,e,i]=t.split("#");return Kt(n,e,i||null)}function tn(t,n){return n?t.rootVNode?Dr(t.rootVNode,n):void 0:t.element?.ownerDocument}function nn(t){return null===t||"string"==typeof t||"number"==typeof t||"boolean"==typeof t}function en(t,n){return n.tt&&"{"===n.tt[0]&&(n.tt=`(${n.tt})`),[t.X(n.tt,n.D.length,n.T),n.D]}function sn(t){return Object.prototype.hasOwnProperty.call(t,ce)?t[ce]:void 0}function rn(t,n,e){return()=>{t.currentStyleScoped=n,t.parentComponentFrame=e}}async function on(t,n,i){const s=[n],r=t=>s.push(t);await(async()=>{for(;s.length;){const n=s.pop();if(n===Ol){const t=s.pop();await e(()=>s.push(t()));continue}"function"!=typeof n?ln(t,r,n,i):n===Promise?s.push(await s.pop()):await n.apply(t)}})()}function ln(t,n,e,i){if(null==e)t.textNode("");else if("boolean"==typeof e)t.textNode("");else if("number"==typeof e)t.textNode(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(tc(e)){((t,n)=>{const e=n instanceof gs?n.N():n;e instanceof rs&&e.nt>0&&(t.Z(e),t.et.add(e))})(t.serializationCtx,e),t.openFragment(Vi);const i=t.getOrCreateLastNode(),s=e instanceof gs?e.N():e;n(t.closeFragment),n(()=>Ho(s,i,".",t)),n(Ol)}else if(Te(e))t.openFragment(Vi),n(t.closeFragment),n(e),n(Promise),n(()=>t.streamHandler.flush());else if((t=>!!t[Symbol.asyncIterator])(e))n(async()=>{for await(const n of e)await on(t,n,{currentStyleScoped:i.currentStyleScoped,parentComponentFrame:i.parentComponentFrame}),t.streamHandler.flush()});else{const s=e,r=s.type;if("string"==typeof r){((t,n)=>{null==Ji(t,"class")&&n&&(t.constProps||(t.constProps={}),t.constProps.class="")})(s,i.currentStyleScoped);const e=t.openElement(r,s.key,s.varProps,s.constProps,i.currentStyleScoped,null);e&&t.htmlNode(e),n(t.closeElement),"head"===r?(t.emitQwikLoaderAtTopIfNeeded(),t.emitPreloaderPre(),n(t.additionalHeadNodes)):"body"===r?n(t.additionalBodyNodes):t.isHtml||t._didAddQwikLoader||(t.emitQwikLoaderAtTopIfNeeded(),t.emitPreloaderPre(),t._didAddQwikLoader=!0);const o=s.children;null!=o&&n(o)}else if(Qn(r))if(r===Ds){t.openFragment(null!=s.key?{[ke]:s.key}:{}),n(t.closeFragment);const e=s.children;null!=e&&n(e)}else if(r===Us){const e=i.parentComponentFrame;if(e){const r={};r["q:sparent"]=e.componentNode.id||"",t.openProjection(r);const o=e.componentNode,l=t.getOrCreateLastNode(),c=((t,n,e)=>{const i=n.constProps;if(i&&"object"==typeof i&&"name"in i){const n=i.name;if(n instanceof gs)return Ho(n,t,":",e)}return Ji(n,"name")||Se})(o,s,t);r[ne]=c,n(rn(i,i.currentStyleScoped,i.parentComponentFrame)),n(t.closeProjection);const u=s.children||null,f=e.consumeChildrenForSlot(l,c)||u;u&&f!==u&&t.addUnclaimedProjection(e,Se,u),n(f),n(rn(i,e.projectionScopedStyle,e.projectionComponentFrame))}else t.openFragment(Vi),t.closeFragment()}else if(r===Bs)t.commentNode(Ji(s,"data")||"");else if(r===Js){t.streamHandler.flush();const e=s.children;let r;r=Qn(e)?e({async write(n){await on(t,n,{currentStyleScoped:i.currentStyleScoped,parentComponentFrame:i.parentComponentFrame}),t.streamHandler.flush()}}):e,n(r),Te(r)&&n(Promise)}else if(r===zs)t.htmlNode(Ji(s,"data"));else if(r===Qs)t.streamHandler.streamBlockStart(),n(()=>t.streamHandler.streamBlockEnd()),n(s.children);else if(Gc(r)){t.openComponent({});const e=t.getOrCreateLastNode(),o=t.getParentComponentFrame();o.distributeChildrenIntoSlots(s.children,i.currentStyleScoped,i.parentComponentFrame);const l=((t,n,e)=>{const i=t.getOrCreateLastNode(),[s]=e[Yc],r=n.props;return r&&r.children&&delete r.children,i.setProp(Zn,s),i.setProp(xe,r),null!==n.key&&i.setProp(ke,n.key),Ws(t,i,i,s,r)})(t,s,r);if(n(rn(i,i.currentStyleScoped,i.parentComponentFrame)),n(t.closeComponent),Te(l))n(async()=>{const t=await l,s=Ue(e.getProp(oe));n(t),n(rn(i,s,o))});else{n(l);const t=Ue(e.getProp(oe));n(rn(i,t,o))}}else{t.openFragment({[ke]:s.key}),n(t.closeFragment);const e=t.getParentComponentFrame(),i=((t,n,e,i)=>{const s=t.getOrCreateLastNode();return Ws(t,s,n,e,i.props)})(t,e&&e.componentNode,r,s);n(i),Te(i)&&n(Promise)}}}function cn(t,n,e,i){let s=null;const r=e,o=t=>{s=(null==s?"":s+"|")+t},l=n=>(n.Y.startsWith("_")||!n.it?.length&&!i||(n=Tc(null,"_run",N,null,[n])),Xt(t,n));if(Array.isArray(r))for(let e=0;e<r.length;e++){const s=r[e];if(Yn(s))o(l(s)),un(t,n,s);else if(null!=s){const e=cn(t,n,s,i);e&&o(e)}}else Yn(r)&&(s=l(r),un(t,n,r));return s}function un(t,n,e){const i=[(s=n).charAt(2),s.substring(4)];var s;if(i){const[n,s]=i,r=((t,n)=>t+":"+n)(n,s);t.st.add(r),t.rt.add(e)}}function fn(t,n,e){if(0===n)return e;const i=al(t,n,e);return Ll(n)&&Fl(t,i,n,e),i}function an(t,n){if(t)for(const e of t)e.backRef||=new Set,e.backRef.add(n)}function hn(t,n){if(t)for(const[,e]of t)an(e,n)}function dn(t){const n=$n(t);if(!n)throw Jn(24);return pn(n)}function pn(t){const n=t;return n.qContainer||=new Hl(n)}function $n(t){return t.closest("[q\\:container]:not([q\\:container=html]):not([q\\:container=text])")}function yn(t,n){const e=dn(n);"string"==typeof this&&Nc(Mc(e,this));const i=_c[0];i.R|=4,It(e,i.L,1)}function mn(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 t+"";if(Kl(t))return`Task(${mn(t.ot)})`;if(Yn(t))return`Qrl(${t.Y})`;if("object"==typeof t||"function"==typeof t){if(lc.includes(t))return"*";try{if(lc.push(t),Array.isArray(t))return qr(t)?"("+(_r(t,Gn,null)||"vnode")+")":t.map(mn);if(tc(t))return t instanceof gs?"WrappedSignal":t instanceof is?"ComputedSignal":"Signal";if(pc(t))return"Store";if(Rs(t))return cc(t);if(qr(t))return"("+(_r(t,Gn,null)||"vnode")+")"}finally{lc.pop()}}}catch(t){return console.error("ERROR in qwikDebugToString",t),"*error*"}return t}function wn(t,n,e){return new Proxy(n,new yc(e,t||null))}function bn(t,n,e,i){const s=e.p||=new Map;let r=s.get(n);r||(r=new Set,s.set(n,r)),nc(r,i),ec(i,t),(import.meta.env.TEST?!Jl(e.O):_n)&&ic(i,e.O)}function vn(t,n,e,i){e[t]=n;const s=gn(e,t,i.p);s&&sc(i.O,i,s)}function gn(t,n,e){let i;if(e)if(Array.isArray(t))for(const t of e.values()){i||=new Set;for(const n of t)i.add(n)}else i=e.get(n);const s=e?.get(ns);if(s){i||=new Set;for(const t of s)i.add(t)}return i}function Sn(t,n){const e=(t,n)=>1===t&&"string"==typeof n,i=t=>14===t,s=n=>{const e=t[n+1].split(" ");let i=t,s=1,r=0,o=0,l=null;for(let n=0;n<e.length;n++)if(l=i,r=2*parseInt(e[n],10),o=r+1,s=i[r],i=i[o],1===s){const n=2*i;s=t[n],i=t[n+1]}l&&(l[r]=1,l[o]=n/2),t[n]=s,t[n+1]=i};for(let r=0;r<t.length;r+=2)e(t[r],t[r+1])?s(r):i(t[r])&&(n.lt=t[r+1])}async function kn(t){const n=Pl(null,null,()=>"",()=>{},new WeakMap);return n.Z(t),await n.ct(),""+n.ut}function xn(t){if(null==t)throw Error("No state data to deserialize");const n=JSON.parse(t);if(!Array.isArray(n)||n.length<2||"number"!=typeof n[0])throw Error("Invalid state data");const e=(t=>{let n;const e={_:t=>qn(t,n),getSyncFn:()=>()=>{},h:new WeakMap,element:null,lt:null};return Sn(t,e),n=Vl(e,t),e.ft=n,e})(n);return fn(e,n[0],n[1])}function qn(t,n){return"string"==typeof t?n[t=parseInt(t,10)]:n[t]}function Rn(t,n,e){const i=(...s)=>t.resolved?e&&!1===e()?void 0:Ht.call(this,n,t.resolved,s):t.resolve().then(t=>{if(!Qn(t))throw Jn(5);return i(...s)});return i}function jn(){return this.Y}function Cn(){return this.M}function Pn(){return Ec(this),this.it}function An(t,n){const e=Uo();return e?.O?.ht[t]??n}import{p as On}from"@qwik.dev/core/preloader";const _n=!1,Nn=!0,Mn=!1,En=()=>{},In=()=>{},Tn=(t,n,...e)=>{const i=n instanceof Error?n:Error(n);return console.error("%cQWIK ERROR","",i.message,...e,i.stack),t&&setTimeout(()=>{throw i},0),i},Fn=(t,n,e)=>{let i=e>>1,s=t.length-2>>1;for(;i<=s;){const e=i+(s-i>>1),r=t[e<<1];if(r===n)return e<<1;r<n?i=e+1:s=e-1}return~(i<<1)},Dn=(t,n,e,i,s=!1)=>{const r=Fn(t,n,i);r>=0?null!=e||s?t[r+1]=e:t.splice(r,2):(null!=e||s)&&t.splice(-1^r,0,n,e)},Ln=(t,n,e)=>{const i=Fn(t,n,e);return i>=0?t[i+1]:null},Wn=(t,n,e)=>Fn(t,n,e)>=0,Un=t=>{const n=Object.getPrototypeOf(t);return n===Object.prototype||n===Array.prototype||null===n},Vn=t=>"object"==typeof t&&null!==t,zn=t=>Array.isArray(t),Bn=t=>"string"==typeof t,Qn=t=>"function"==typeof t,Jn=(t,n=[])=>{const e=((t,...n)=>`Code(Q${t}) https://github.com/QwikDev/qwik/blob/build/v2/packages/qwik/src/core/shared/error/error.ts#${n.join()}L${9+t}`)(t,...n);return((t,...n)=>Tn(false,t,...n))(e,...n)},Hn="<sync>",Yn=t=>"function"==typeof t&&"function"==typeof t.getSymbol,Gn="q:type",Xn={V:"Virtual",F:"Fragment",S:"Signal",A:"Awaited",C:"Component",I:"InlineComponent",P:"Projection"},Kn=124,Zn="q:renderFn",te="⚡️",ne="q:slot",ee="q:s",ie="q:style",se="style[q\\:style]",re=se+",style[q\\:sstyle]",oe="q:sstyle",le="q:ctx",ce="q:brefs",ue=(t,n)=>t["qFuncs_"+n]||[],fe="q:base",ae="q:container-island",he="/"+ae,de="q:ignore",pe="/"+de,$e="q:container",ye="/"+$e,me="q:template",we="http://www.w3.org/1999/xhtml",be="http://www.w3.org/2000/svg",ve="http://www.w3.org/1998/Math/MathML",ge="qRender",Se="",ke="q:key",xe="q:props",qe="q:seq",Re="q:seqIdx",je="q:p",Ce="q:ps",Pe=":",Ae=":on",Oe=":onIdx",_e=":onFlags",Ne=":",Me="dangerouslySetInnerHTML",Ee="__scopedStyleIdPrefix__",Ie=100,Te=t=>!!t&&"object"==typeof t&&"function"==typeof t.then,Fe=(t,n,e)=>{try{const i=t();return Te(i)?i.then(n,e):n(i)}catch(t){return e(t)}},De=(t,n)=>Te(t)?t.then(n):n(t),Le=t=>{throw t},We=t=>te+t,Ue=t=>{if(t){let n=0;do{t=t.substring(0,n)+We(t.substring(n))}while(0!==(n=t.indexOf(" ",n)+1))}return t||null},Ve=t=>113===t.charCodeAt(0)&&45===t.charCodeAt(1)&&58===t.charCodeAt(3),ze=t=>t.replace(/([A-Z-])/g,t=>"-"+t.toLowerCase()),Be=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"]),Qe=(t,n=0)=>{for(let e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;return(+Math.abs(n)).toString(36)},Je=t=>{if(!t)return"";if(Bn(t))return t.trim();const n=[];if(zn(t))for(const e of t){const t=Je(e);t&&n.push(t)}else for(const[e,i]of Object.entries(t))i&&n.push(e.trim());return n.join(" ")},He=t=>t.replace(/([A-Z])/g,"-$1").toLowerCase(),Ye=(t,n)=>"number"!=typeof n||0===n||Be.has(t)?n:n+"px",Ge=document,Xe=Ge.createElement("link").relList.supports("modulepreload")?"modulePreload":"preload",Ke=/\.[mc]?js$/,Ze=t=>{let n=ti.get(t);if(!n){let e;n=((t,n)=>({dt:t,ft:Ke.test(t)?0:3,$t:n,yt:1,wt:Date.now(),bt:0,vt:0}))(t,e),ti.set(t,n)}return n},ti=new Map;let ni=0;const ei=[],ii=()=>{if(ei.length)for(;ei.length;){const t=ei[0];if(!(1-t.yt>=.99||ni<5))break;ei.shift(),si(t)}},si=t=>{if(t.ft>=2)return;ni++;const n=Date.now();t.bt=n-t.wt,t.ft=2;const e=Ge.createElement("link");e.href=""+new URL("undefined"+t.dt,Ge.baseURI),e.rel=Xe,e.as="script",e.onload=e.onerror=()=>{ni--;const i=Date.now();t.vt=i-n,t.ft=4,e.remove(),ii()},Ge.head.appendChild(e)},ri=(t,n,e)=>{if(e?.has(t))return;const i=t.yt;if(t.yt=n,!(i-t.yt<.01)&&t.$t){e||=new Set,e.add(t);const n=1-t.yt;for(const i of t.$t){const t=Ze(i.dt);if(0===t.yt)continue;let s;if(1===n||n>=.99&&li<100)li++,s=Math.min(.01,1-i.gt);else{const e=(1-i.gt*n)/i.St;s=Math.max(.02,t.yt*e),i.St=e}ri(t,s,e)}}},oi=(t,n)=>{const e=Ze(t);e&&e.yt>n&&ri(e,n)};let li;document.addEventListener("qsymbol",t=>{const{symbol:n,href:e}=t.detail;e&&(t=>{if(!t?.length)return;li=0;let n=0;if(Array.isArray(t))for(let e=t.length-1;e>=0;e--){const i=t[e];"number"==typeof i?n=1-i/10:oi(i,n)}else oi(t,n);ii()})(n.slice(n.lastIndexOf("_")+1))});const ci=t=>{for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n))return!1;return!0},ui=",",fi="2.0.0-beta.26-dev+c693cf5",ai=()=>({isServer:_n,importSymbol(t,n,e){if(!n)throw Jn(14,[e]);if(!t)throw Jn(13,[n,e]);const i=""+hi(t.ownerDocument,t,n),s=new URL(i);return s.hash="",import(s.href).then(t=>t[e])},raf:t=>new Promise(n=>{requestAnimationFrame(()=>{n(t())})}),chunkForSymbol:(t,n)=>[t,n??"_"]}),hi=(t,n,e)=>{const i=t.baseURI,s=new URL(n.getAttribute(fe)??i,i);return new URL(e,s)};let di=/*#__PURE__ */ai();const pi=t=>di=t,$i=()=>di,yi=()=>!1,mi=t=>1===t.nodeType,wi=t=>"foreignObject"===t,bi=t=>"svg"===t||wi(t),vi=t=>"math"===t,gi={elementNamespace:we,elementNamespaceFlag:0},Si=Symbol();class ki{[Si]=void 0}class xi{flags;parent;previousSibling;nextSibling;props;[Si]=void 0;slotParent=null;dirty=0;dirtyChildren=null;nextDirtyChildIndex=0;constructor(t,n,e,i,s){this.flags=t,this.parent=n,this.previousSibling=e,this.nextSibling=i,this.props=s}toString(){return Object.prototype.toString.call(this)}}class qi extends xi{key;firstChild;lastChild;constructor(t,n,e,i,s,r,o,l){super(n,e,i,s,r),this.key=t,this.firstChild=o,this.lastChild=l}}class Ri extends qi{node;elementName;constructor(t,n,e,i,s,r,o,l,c,u){super(t,n,e,i,s,r,o,l),this.node=c,this.elementName=u}}class ji extends xi{node;text;constructor(t,n,e,i,s,r,o){super(t,n,e,i,s),this.node=r,this.text=o}}const Ci=[],Pi=[],Ai=new WeakMap,Oi=":nodeProps",_i=":nodeDiff",Ni=":signal";class Mi{kt;p=void 0;O=null;xt=null;constructor(t,n){this.O=t||Uo()?.O||null,this.kt=n}trigger(){sc(this.O,this,this.p)}force(){sc(this.O,this,this.p)}get untrackedValue(){return this.kt}set untrackedValue(t){this.kt=t}get value(){const t=this.untrackedValue,n=Uo();if(!n)return t;null===this.O&&(this.O=n.O);const e=n.J;return e&&(nc(this.p||=new Set,e),ec(e,this),(import.meta.env.TEST?!Jl(this.O):_n)&&ic(e,this.O)),t}set value(t){t!==this.kt&&(this.kt=t,sc(this.O,this,this.p))}valueOf(){}toString(){return this.constructor.name}toJSON(){return{value:this.kt}}}const Ei=(t,n,e)=>{const i=Uo();if(i&&(t.O||=i.O||null)){const e=i.J;e&&(nc(t[n]||=new Set,e),ec(e,t),ic(e,t.O))}return t[e]},Ii=Symbol(),Ti=Symbol(),Fi=Symbol(),Di=Symbol(),Li=Symbol(),Wi=Symbol(),Ui=[],Vi={};Object.freeze(Ui),Object.freeze(Vi);class zi{owner;p=void 0;O=null;constructor(t){this.owner=t}get(t,n){if(n===Ii)return this.owner.constProps;if(n===Ti)return this.owner.varProps;if(n===Fi)return this.owner;if(n===Di)return this;let e;if("children"===n)e=this.owner.children;else{if("string"==typeof n&&"string"==typeof this.owner.type){const t=i(n);t&&(n=t)}e=Ji(this.owner,n),n in this.owner.varProps&&Bi(this,n)}return e instanceof gs&&4&e.R?e.value:e}set(t,n,e){if(n===Fi)this.owner=e;else if("children"===n)this.owner.children=e;else if(n===Ii)this.owner.constProps=e;else if(n===Ti)this.owner.varProps=e;else{if("string"==typeof n&&"string"==typeof this.owner.type){const t=i(n);t&&(n=t)}this.owner.constProps&&n in this.owner.constProps&&delete this.owner.constProps[n],this.owner.varProps===Vi?this.owner.varProps={}:n in this.owner.varProps||(this.owner.toSort=!0),this.owner.varProps[n]!==e&&(this.owner.varProps[n]=e,Qi(this,n))}return!0}deleteProperty(t,n){let e=delete this.owner.varProps[n];return e&&Qi(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===Ii||n===Ti)return!0;const e=n in this.owner.varProps;if("string"==typeof n&&(e&&Bi(this,n),"string"==typeof this.owner.type)){const t=i(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 Bi=(t,n)=>{const e=Uo();e&&null===t.O&&e.O&&(t.O=e.O);const i=e?.J;i&&bn(t.owner._proxy,n,t,i)},Qi=(t,n)=>{const e=((t,n)=>t?.get(n))(t.p,n);return e&&sc(t.O,t,e),!!e},Ji=(t,n)=>t.constProps&&n in t.constProps?t.constProps[n]:t.varProps[n],Hi=t=>t?Ti in t?"children"in t?{...t[Ti],children:t.children}:t[Ti]:t:null,Yi=t=>t&&Ii in t?t[Ii]:null,Gi=t=>t&&Ti in t,Xi=Symbol();class Ki{consumer;property;backRef;data;constructor(t,n,e=null,i=null){this.consumer=t,this.property=n,this.backRef=e,this.data=i}}const Zi=Symbol(),ts=Symbol(),ns=Symbol(),es=(t,n)=>(e,i)=>{const s=Gt();return s.J=$(t,":"),s.O=n||void 0,Jt(s,()=>{if(Qn(e))return e();if(i)return e[i];if(tc(e))return e.value;if(Vn(e)&&pc(e))return bn(fc(e),ns,uc(e),s.J),e;throw Jn(2)})};class is extends Mi{qt;R;[Si]=void 0;constructor(t,n,e=17){super(t||n.O,Xi),this.qt=n,this.R=e}invalidate(){this.R|=1;const t=Gt();t.O=this.O||void 0;const n=e(Ht.bind(this,t,this.j));n&&n.catch(t=>{this.O?this.O.handleError(t,null):console.error("Error during computation",t)})}get untrackedValue(){return this.j(),this.kt}set untrackedValue(t){this.kt=t}j(){if(!(1&this.R))return;const t=this.qt;Zl(t);const n=Uo(),e=n?.J;if(n){const t=$(this,".");m(this.O,t),n.J=t}try{const e=t.getFn(n)();if(Te(e))throw Jn(29,[t.dev?t.dev.file:"",t.M]);this.R&=-2,super.value=e}finally{n&&(n.J=e)}}}class ss{Rt;jt=null;Ct=!1;Pt=!0;At;Ot;_t;constructor(t){this.Rt=t}get track(){return this.At||=es(this.Rt,this.Rt.O)}get abortSignal(){return(this._t||=new AbortController).signal}cache(){console.error("useResource cache() method does not do anything. Use `useAsync$` instead of `useResource$`, use the `interval` option for polling behavior.")}get previous(){const t=this.Rt.kt;if(t!==Xi)return t}cleanup(t){"function"==typeof t&&(this.Ot||=[]).push(t)}}class rs extends is{Nt=!1;Mt=void 0;m=void 0;k=void 0;Et=null;It=[];Tt=1;nt=0;Ft;[Si]=void 0;constructor(t,n,e=17,i){super(t,n,e);const s=i?.interval,r=i?.concurrency??1,o=i?.initial,l=i?.timeout,c=i?.eagerCleanup,u=i?.clientOnly;if(void 0!==o){const t="function"==typeof o?o():o;this.kt=t}this.Tt=r,l&&(this.Ft=l),c&&(this.R|=32),u&&(this.R|=64),s&&(this.interval=s)}get untrackedValue(){if(this.j(),this.Et?.jt){if(this.kt===Xi||!import.meta.env.TEST&&_n)throw this.Et?.jt;return this.kt}if(this.Mt)throw this.Mt;if(!import.meta.env.TEST&&_n&&64&this.R&&this.kt===Xi)throw Error("During SSR, cannot read .value from clientOnly async signal without an initial value. Use .loading or provide an initial value.");return this.kt}set untrackedValue(t){this.kt=t}get loading(){return Ei(this,"$loadingEffects$","untrackedLoading")}set untrackedLoading(t){t!==this.Nt&&(this.Nt=t,sc(this.O,this,this.m))}get untrackedLoading(){if(this.j(),!import.meta.env.TEST&&_n&&this.Et?.jt)throw this.Et?.jt;return this.Nt}get error(){return Ei(this,"$errorEffects$","untrackedError")}set untrackedError(t){t!==this.Mt&&(this.Mt=t,sc(this.O,this,this.k))}get untrackedError(){return this.Mt}get interval(){return this.nt}set interval(t){this.Dt(),this.nt=t,this.nt>0&&this.p?.size&&this.Lt()}async invalidate(){this.R|=1,this.Dt(),(this.p?.size||this.m?.size||this.k?.size)&&(await!0,this.j())}abort(t){this.Et&&this.Wt(this.Et,t)}q(){32&this.R&&!this.Ut()&&(import.meta,setTimeout(()=>{this.Ut()||this.abort()}))}async promise(){for(this.j();this.Et?.jt;)await(this.Et?.jt)}j(){if(!(1&this.R))return;if(!import.meta.env.TEST&&_n&&64&this.R)return this.Nt=!0,void this.O?.serializationCtx.et.add(this);if(this.Dt(),this.Et&&this.Wt(this.Et),this.It.length>=(0===this.Tt?1/0:this.Tt))return;this.R&=-2;const t=new ss(this);this.Et=t,this.It.push(t),t.jt=this.Vt(t)}async Vt(t){const n=()=>t===this.Et;this.untrackedLoading=!0;const i=this.qt.resolved||await this.qt.resolve();try{this.Ft&&(this.zt=setTimeout(()=>{t._t?.abort();const e=Error("timeout");n()&&(this.untrackedError=e,t.Pt=!1)},this.Ft));const s=await e(i.bind(null,t));if(t.jt=null,t.Pt){const n=this.It.indexOf(t);if(-1!==n)for(let t=0;t<n;t++)this.It[t].Pt=!1;this.untrackedError=void 0,this.value=s}}catch(e){t.jt=null,n()&&(this.untrackedError=e)}n()&&(clearTimeout(this.zt),1&this.R?this.j():(this.untrackedLoading=!1,this.Lt()))}async Bt(){this.Dt(),clearTimeout(this.zt),this.Et&&await this.Wt(this.Et),await Promise.all(this.It.map(t=>t.jt))}Dt(){void 0!==this.Qt&&(clearTimeout(this.Qt),this.Qt=void 0)}Lt(){import.meta,this.nt>0&&(this.Dt(),this.Qt=setTimeout(this.invalidate.bind(this),this.nt),this.Qt?.unref?.())}Ut(){return!!(this.p?.size||this.m?.size||this.k?.size)}async Wt(t,n){if(t.Ct)return t.jt;t.Ct=!0,t._t?.abort(n),t.jt=Promise.resolve(t.jt).then(()=>t.jt=this.Jt(t))}async Jt(t){const n=t.Ot;if(n?.length){const t=t=>{const n=this.O?.handleError;n?n(t,null):console.error("Error in async signal cleanup",t)};await Promise.all(n.map(n=>{try{const e=n();if(Te(e))return e.catch(t)}catch(n){t(n)}})),n.length=0}const e=this.It,i=e.indexOf(t);-1!==i&&e.splice(i,1),this.j()}}const os=t=>(n,...e)=>t.call(null,zc(n),...e);class ls extends is{constructor(t,n){super(t,n,17)}Ht=!1;j(){if(!(1&this.R))return;Zl(this.qt),this.R&=-2;let t=this.qt.resolved;"function"==typeof t&&(t=t());const{deserialize:n,initial:e}=t,i=t.update,s=this.kt===Xi?e:this.kt,r=Jo(()=>this.Ht?i?.(s)||s:n(s),this,".",this.O);this.Ht=!0,(this.Ht&&"undefined"!==r||r!==this.kt)&&(this.kt=r,sc(this.O,this,this.p))}}const cs=(t,n)=>new is(n?.container||null,t,oc(n?.serializationStrategy||"always")),us=(t,n)=>new rs(n?.container||null,t,oc(n?.serializationStrategy||"always"),n),fs=t=>new ls(null,t),as=t=>new Mi(null,t),hs=/*#__PURE__*/os(cs),ds=/*#__PURE__*/os(us),ps=os(fs),$s=t=>t.value,ys=(t,n)=>t[n],ms=t=>1===t.length?tc(t[0])?t[0].xt||=new gs(null,$s,t,null):pc(t[0])?new gs(null,$s,t,null):t[0].value:new gs(null,ys,t,null),ws=(...t)=>{const n=t[0],e=t.length<2?"value":t[1];if(!Vn(n))return n[e];if(tc(n))return n instanceof gs&&4&n.R?n:ms(t);if(Gi(n)){const i=n[Ii],s=n[Ti];if(i&&Object.prototype.hasOwnProperty.call(i,e))return i[e];if(Object.prototype.hasOwnProperty.call(s,e))return bs(s[e],t)}else{const i=fc(n);if(i)return bs(i[e],t)}return n[e]},bs=(t,n)=>tc(t)?t:ms(n),vs=(t,n)=>{const e=ws(t,n);return e===Li?t[n]:e};class gs extends Mi{D;T;tt;R;$=void 0;[Si]=void 0;constructor(t,n,e,i,s=5){super(t,Xi),this.D=e,this.T=n,this.tt=i,this.R=s}invalidate(){this.R|=1;try{this.j()}catch(t){this.O&&this.$&&(this.O.setHostProp(this.$,Ni,this),It(this.O,this.$,16))}2&this.R&&(this.R&=-3,sc(this.O,this,this.p))}get untrackedValue(){return this.j(),this.kt}j(){if(!(1&this.R))return;const t=Jo(()=>this.T(...this.D),this,".",this.O);this.R&=-3,t!==this.kt&&(this.R|=2,this.kt=t)}N(){return this.T===$s&&tc(this.D[0])?this.D[0]:this}set value(t){throw Jn(31)}get value(){return super.value}}class Ss{data;constructor(t){this.data=t}}const ks=(t,n)=>{if("string"==typeof t){const e=dn(n);Nc(Mc(e,t))}return null};class xs{type;children;toSort;key;varProps;constProps;dev;_proxy=null;constructor(t,n,e,i,s,r,o){this.type=t,this.children=i,this.toSort=!!r,this.key=null==s?null:"string"==typeof s?s:""+s,this.varProps=!n||ci(n)?Vi:n,this.constProps=!e||ci(e)?null:e,En()}get props(){return this._proxy||=p(this)}}const qs=(t,n,e)=>{let i=t[n];if(!i)return t[n]=e,!0;Array.isArray(i)?i.push(e):i=t[n]=[i,e]},Rs=t=>t instanceof xs,js="bind:value",Cs="bind:checked",Ps=Object.prototype.hasOwnProperty,As=(t,n,e,i,s,r,o)=>new xs(t,n,e,i,r,!1,o),Os=(t,n,e,s,r,o,l)=>{let c=!1,u=!1,f=!1,a=null,h=null;if("string"==typeof t){if(e){const t=new Set;for(const n in e){const s=i(n);s?(u||(e={...e},u=!0),Ps.call(e,s)&&!t.has(s)||(e[s]=e[n]),delete e[n]):n===Cs?h=e[n]:n===js&&(a=e[n]),t.add(n)}}if(n){const t=new Set;for(const e in n){const s=i(e);s?(f||(n={...n},f=!0),Ps.call(n,s)&&!t.has(s)||(n[s]=n[e]),delete n[e],c=!0):e===Cs?h=n[e]:e===js&&(a=n[e]),t.add(e)}}if(h||a)if(f||(n={...n},f=!0),n||={},h){n&&Ps.call(n,Cs)&&delete n[Cs],e&&Ps.call(e,Cs)&&(u||(e={...e},u=!0),delete e[Cs]),n.checked=h;const t=Tc(null,"_chk",S,null,[h]);if(e&&Ps.call(e,"q-e:input")){u||(e={...e},u=!0);const t=e["q-e:input"];delete e["q-e:input"],c=qs(n,"q-e:input",t)||c}c=qs(n,"q-e:input",t)||c}else if(a){n&&Ps.call(n,js)&&delete n[js],e&&Ps.call(e,js)&&(u||(e={...e},u=!0),delete e[js]),n.value=a;const t=Tc(null,"_val",g,null,[a]);if(e&&Ps.call(e,"q-e:input")){u||(e={...e},u=!0);const t=e["q-e:input"];delete e["q-e:input"],c=qs(n,"q-e:input",t)||c}c=qs(n,"q-e:input",t)||c}n&&Ps.call(n,"className")&&(f||(n={...n},f=!0),n.class=n.className,n.className=void 0,c=!0),e&&Ps.call(e,"className")&&(u||(e={...e},u=!0),e.class=e.className,e.className=void 0)}if(n)for(const t in n)"children"===t?(f||(n={...n},f=!0),s||=n.children,delete n.children):"key"===t?(f||(n={...n},f=!0),o||=n.key,delete n.key):(e&&t in e||null===n[t])&&(f||(n={...n},f=!0),delete n[t]);return new xs(t,n,e,s,o,c||!0,l)},_s=(t,n,e,i)=>Is(t,n,i),Ns=(t,n,e,i,s)=>Is(t,{...e,...n},s),Ms=(t,n,e,i,s,r)=>Is(t,{...e,...n,children:i},r),Es=t=>t.children,Is=(t,n,e,i,s)=>Os(t,n,null,null,0,e,s),Ts=Is,Fs=Is,Ds=t=>t.children,Ls=(t,n)=>new xs(Es,null,null,t.children,n),Ws=(t,n,e,i,s)=>{const r=Yt(t.U,e||n,t);let o;e&&(r.J=$(e,":"),r.O=t),t.ensureProjectionResolved(n);let l=!1;if(null===i&&(i=t.getHostProp(n,Zn)),Yn(i))"children"in(s=s||t.getHostProp(n,xe)||Vi)&&delete s.children,o=i.getFn(r);else if(Gc(i)){const t=i;o=()=>Ht(r,t,[s||Vi,null,0])}else{l=!0;const t=i;o=()=>Ht(r,t,[s||Vi])}const c=!import.meta.env.TEST&&_n,u=(e=0)=>Fe(()=>(l||(t.setHostProp(n,Re,null),t.setHostProp(n,Oe,null)),e>0&&qr(n)&&y(t,n),De(o(s),t=>De(r.H,()=>t))),i=>{if(c&&!l&&4&n.dirty&&(n.dirty&=-5,e<Ie))return u(e+1);const s=t.getHostProp(n,Ae);return s?q(i,s):i},t=>{if(Te(t)&&e<Ie)return t.then(()=>u(++e));if(e>=Ie)throw Error("Max retry count of component execution reached");throw t});return u()},Us=t=>As(Es,null,{[ee]:""},t.children,0,t.name??""),Vs=Symbol(),zs=()=>null,Bs=()=>null,Qs=t=>t.children,Js=(t,n)=>Is(Ls,{children:Is(Hs,t)},n),Hs=()=>null;let Ys=null,Gs=null;const Xs=(t,n=[],e={})=>{let i=null;const s=t[Ii];if(s)for(const t in s)n.includes(t)||(i||={},i[t]=s[t]);const r=e,o=t[Ti];for(const t in o)n.includes(t)||(r[t]=o[t]);return p(new xs(null,r,i,null,null))};class Ks{target;constructor(t){this.target=t}}class Zs{target;constructor(t){this.target=t}}class tr{target;text;constructor(t,n){this.target=t,this.text=n}}class nr{target;parent;beforeTarget;constructor(t,n,e){this.target=t,this.parent=n,this.beforeTarget=e}}class er{target;attrName;attrValue;scopedStyleIdPrefix;isSvg;constructor(t,n,e,i,s){this.target=t,this.attrName=n,this.attrValue=e,this.scopedStyleIdPrefix=i,this.isSvg=s}}const ir=t=>new Ks(t),sr=(t,n)=>new tr(t,n),rr=(t,n,e)=>new nr(t,n,e),or=(t,n,e,i=null,s=!1)=>new er(t,n,e,i,s),lr=t=>{if(t.Bt){try{t.Bt()}catch(t){Tn(!1,t)}t.Bt=null}},cr=Object.prototype.hasOwnProperty,ur=(t,n,e,i,s,r)=>{const o=((t,n,e,i)=>({container:t,journal:n,cursor:e,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 Ss({Yt:i,Gt:!0}),var:new Ss({Yt:i,Gt:!1})}}))(t,n,s,r);I(o,e,i);const l=Q(o);if(Te(l))return l.finally(()=>{J(o)});J(o)},fr=(t,n,i,s,r)=>{if(Ve(i))return void K(i,s,n.node,n,t);if(i===je||i===Ce)return Nr(n,i,s),void(n.flags|=192);const o=s;if("ref"===i){const t=n.node;if(tc(s))return void(s.value=t);if("function"==typeof s)return void s(t);throw Jn(15,[r])}const l=n[Si]?.get(i);if(tc(s)){const r=s instanceof gs?s.N():s;if(l?.backRef?.has(r))return;l&&m(t.container,l);const o=n;s=e(()=>Ho(r,o,i,t.container,t.subscriptionData.var))}else l&&m(t.container,l);if(Te(s)){const e=n,r=s.then(n=>{E(t.journal,e,i,n,t.scopedStyleIdPrefix,o)});return void t.asyncAttributePromises.push(r)}E(t.journal,n,i,s,t.scopedStyleIdPrefix,o)};let ar=null;const hr=(t,n,e)=>{ar||(ar=t.insertBefore),ar.call(t,n,e)},dr=(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,pr=t=>"false"!==t&&!!t,$r=(yr=jt,()=>queueMicrotask(yr));var yr;const mr=(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})(jt);let wr=!1;const br=[],vr=(t,n)=>{let e;for(;t&&!(e=Object.getOwnPropertyDescriptor(t,n)?.get);)t=Object.getPrototypeOf(t);return e||function(){return this[n]}},gr=(t,n,e=null)=>{const i=new Ri(e,-2039,null,null,null,null,null,null,t,n);return t.vNode=i,i},Sr=t=>{const n=new Ri(null,-2047,null,null,null,null,void 0,void 0,t,void 0);return t.vNode=n,n},kr=(t,n)=>new ji(-2036,null,null,null,null,t,n),xr=()=>new qi(null,-2046,null,null,null,null,null,null),qr=t=>t instanceof xi,Rr=t=>!(1&~t.flags),jr=t=>!!(5&t.flags),Cr=t=>!(1&~t.flags)&&void 0!==t.firstChild&&void 0!==t.lastChild,Pr=t=>!(4&~t.flags),Ar=t=>!(2&~t.flags),Or=t=>!(2&~t.flags)&&null!==_r(t,ne,null),_r=(t,n,e)=>{if(Rr(t)||Ar(t)){const i=t.props?.[n]??null;if("string"==typeof i&&e){const s=e(i);return t.props[n]=s,s}return i}return null},Nr=(t,n,e)=>{null==e&&t.props?delete t.props[n]:(t.props||={},t.props[n]=e)},Mr=(t,n,e,i,s=null)=>{Rr(n)&&(import.meta.env.TEST&&s&&Nr(n,Ee,s),Nr(n,e,i),Tt(t,or(n.node,e,i,s,!!(512&n.flags))))},Er=t=>{if(t.key)return;const n=uo(t.node,Ne);n&&(t.key=n)},Ir=(t,n)=>{if(1==(15&n.flags)){const e=n;e.flags^=8;const i=e.node,s=i.attributes;let r=!1;for(let n=0;n<s.length;n++){const o=s[n],l=o.name;if(Ve(l))Ft(o,l,t,i);else if(r);else if(l!==Ne&&l)if(l.startsWith($e)){const t=o.value;"html"===t?Nr(e,"dangerouslySetInnerHTML",i.innerHTML):"text"===t&&"value"in i&&Nr(e,"value",i.value)}else Nr(e,l,o.value);else{const t=o.value;t&&(e.key=t),r=!0}}null===_r(e,je,null)&&null===_r(e,Ce,null)||(n.flags|=64)}},Tr=(t,n,e)=>{let i=t;for(;e&&i&&Ar(i);){const t=n?i.firstChild:i.lastChild;if(!t)break;if(5&t.flags)return t;i=t}for(;i;){let t=n?i.nextSibling:i.previousSibling;if(t&&5&t.flags)return t;if(!t){let e=i.parent;if(e&&!Ar(e))return null;for(;e&&!(t=n?e.nextSibling:e.previousSibling);)if(e=e.parent,e&&!Ar(e))return null;if(!t)return null;if(Pr(t)&&e&&Rr(e))return null}for(;t;){if(i=t,5&i.flags&&No(i))return i;t=n?i.firstChild:i.lastChild}}return null},Fr=(t,n)=>{const e=n;if(!(8&e.flags)){const i=Xr(n,!0),s=e.node,r=qo(i);let o=Tr(n,!1,!0);const l=Tr(n,!0,!0),c=s||(l&&Rr(l)?l.node:l?.node)||null;let u=c;for(;o&&Pr(o);){if(!(8&o.flags)){const n=r.createTextNode(o.text);Tt(t,rr(n,i,u)),u=n,o.node=n,o.flags|=8}o=Tr(o,!1,!0)}for(o=n;o&&Pr(o);){const n=Tr(o,!0,!0),e=!n||!Pr(n);if(!(8&o.flags)){if(e&&s)Tt(t,sr(s,o.text));else{const n=r.createTextNode(o.text);Tt(t,rr(n,i,c)),o.node=n}o.flags|=8}o=n}}},Dr=(t,n)=>{let e=t;const i=t.node,{qVNodeRefs:s}=i;let r,o=-1;if("string"==typeof n)o=parseInt(n),r=s.get(o);else{r=n;const t=r.vNode;if(t)return t}if(qr(r))e=r;else{let t=r;const n=[r];for(;t&&t!==i&&!t.vNode;)t=t.parentElement,n.push(t);t.vNode&&(e=t.vNode);for(let t=n.length-2;t>=0;t--)e=Ur(e,n[t]);-1!=o&&(r.vNode=e,s.set(o,e))}if("string"==typeof n){const t=n.length;let i=Vr(n,t),s=0;for(;i<t;){const t=n.charCodeAt(i);s*=26,t>=97?s+=t-97:(s+=t-65,e=Lr(e,s),s=0),i++}}return e},Lr=(t,n)=>{let e=so(t);for(;e.flags>>>11!==n;)e=e.nextSibling;return e},Wr=[],Ur=(t,n)=>{let e=so(t);for(;e&&(!(e instanceof Ri)||e.node!==n);)if(Ar(e)){const t=e.nextSibling,n=so(e);n?(t&&Wr.push(t),e=n):e=t||(Wr.length?Wr.pop():null)}else{const t=e.nextSibling;e=t||t||Wr.pop()}for(;Wr.length;)Wr.pop();return e},Vr=(t,n)=>{let e=0;for(;e<n;){if(!(t.charCodeAt(e)<=57))return e;e++}return n},zr=(t,n,e,i)=>{const s=Rr(n);s&&ro(n);const r=e.parent;if(e===i){if(r)return;i=null}Hr(t,r,n,e);const o=e.node,l=32&n.flags,c=s?n.node:Xr(n,!1);c&&!l&&Tt(t,rr(o,c,Qr(t,n,i)?.node??null)),Jr(n,e,i),l&&(e.flags|=32)},Br=(t,n,e,i)=>{const s=Rr(n);s&&ro(n);const l=e.parent;if(e===i){if(l)return;i=null}Hr(t,l,n,e);const c=32&n.flags,u=s?n:Kr(n,!1),f=u?.node,a=Qr(t,n,i),h=a?.node??null;if(Or(e)&&u&&1536&u.flags){const s=Kr(n,!1),l=Qr(t,n,i)?.node??null,{elementNamespace:c,elementNamespaceFlag:u}=o(s,e);Dt(t,e,n=>{if(Pr(n))Tt(t,rr(n.node,f,l));else{if((1536&n.flags)!==u){const t=((t,n,e,i)=>{let s=t,l=null,c=null,u=null;for(;s;){let f=null,a=null;if(Rr(s)){f=s.node;const t=no(s),l=s.parent,h=null==c?n:l&&Kr(l,!0);if(h){const t=o(h,no(s));e=t.elementNamespace,i=t.elementNamespaceFlag}const d=so(s);if(a=r(f,t,e,!d),f.remove(),null==c&&(c=a),u&&u.appendChild(a),s.node=a,s.flags&=-1537,s.flags|=i,d){s=d,u=a;continue}if(lo(f)){const t=pn(f);if(t){const n=so(t.rootVNode);if(n){s=n,u=a;continue}}}}if(s===t)return c;const h=s.nextSibling;if(h)s=h;else{for(l=s.parent;l;){if(l===t)return c;const n=l.nextSibling;if(n)return s=n,c;l=l.parent}if(null==l)return c}}return c})(n,s,c,u);t&&(n.node=t)}Tt(t,rr(n.node,f,l))}})}else f&&!c&&Dt(t,e,n=>{Tt(t,rr(n.node,f,h))});Jr(n,e,i),c&&(e.flags|=32)},Qr=(t,n,e)=>{let i=null;return null==e?Ar(n)&&(i=Tr(n,!0,!1)):i=Ar(e)?Tr(e,!0,!0):e,i&&Pr(i)&&Fr(t,i),i},Jr=(t,n,e)=>{const i=e?e.previousSibling:t.lastChild;e?e.previousSibling=n:t.lastChild=n,i?i.nextSibling=n:t.firstChild=n,n.previousSibling=i,n.nextSibling=e,n.parent=t},Hr=(t,n,e,i)=>{n&&(i.previousSibling||i.nextSibling||n!==e)&&Zr(t,n,i,!1)},Yr=(t,n)=>{let e=n;for(;e&&Ar(e);)e=e.lastChild;!e||!Pr(e)||8&e.flags||Fr(t,e)},Gr=(t,n,e,i)=>{jr(e)?zr(t,n,e,i):Br(t,n,e,i)},Xr=(t,n)=>(t=Kr(t,n))&&t.node,Kr=(t,n)=>{for(;t&&!Rr(t);)t=t.parent||(n?t.slotParent:null);return t},Zr=(t,n,e,i)=>{if(Pr(e)&&Fr(t,e),i){if(null!==_r(n,Me,null))return;jr(e)?Tt(t,ir(e.node)):Dt(t,e,n=>{Tt(t,ir(n.node))})}const s=e.previousSibling,r=e.nextSibling;s?s.nextSibling=r:n.firstChild=r,r?r.previousSibling=s:n.lastChild=s,e.previousSibling=null,e.nextSibling=null},to=(t,n,e,i=!0)=>{Xr(n,!0)&&i&&(jr(n)?Tt(t,new Zs(n.node)):Dt(t,n,n=>{Tt(t,ir(n.node))}));const s=e.previousSibling;s?s.nextSibling=null:n.firstChild=null,n.lastChild=s},no=t=>{const n=t;let e=n.elementName;if(void 0===e){const t=n.node,i=ko(t).toLowerCase();e=n.elementName=i,n.flags|=(t=>{switch(go(t)){case be:return 512;case ve:return 1024;default:return 0}})(t)}return e},eo=t=>{let n=t.text;return void 0===n&&(n=t.text=t.node.nodeValue),n},io=(t,n,e)=>{Fr(t,n),n.text=e,Tt(t,sr(n.node,e))},so=t=>{if(Pr(t))return null;let n=t.firstChild;return void 0===n&&(n=ro(t)),n},ro=t=>{const e=t;let i=e.firstChild;return void 0===i&&(i=e.parent&&lo(e.node)?e.firstChild=e.lastChild=null:(t=>{const e=t.node,i=bo(e),s=qo(e)?.qVNodeData?.get(e);return((t,e,i,s)=>{if(Er(t),s){if(s.charCodeAt(0)===Kn&&s.charCodeAt(1)===Kn){const n=(t=>{const n=t.indexOf("||",2);return{elementVNodeData:t.substring(2,n),virtualVNodeData:t.substring(n+2)}})(s);s=n.virtualVNodeData;const e=Co(t,i,n.elementVNodeData);if(!s)return e}return((t,e,i,s)=>{let r=0,o=null,l=null,c=null;const u=n=>{n.flags=2047&n.flags|r<<11,r++,l&&(l.nextSibling=n),n.previousSibling=l,n.parent=t,o||(t.firstChild=o=n),l=n};let f=0,a=null,h=null;const d=t=>{const n=Fo(t);return!n||n&&zt(t)};let p=null;if(Po(e,($,y,m,w,b)=>{if(Mo($())){for(;d(s);)if(!(s=$o(s)))throw Jn(27,[e,$(),b]);a=null,c=null;let t=0;for(;Mo($());)t*=10,t+=m()-48;for(;t--;){const n=Sr(s);for(Er(n),u(n),s=$o(s);Fo(s)&&zt(s);)if(!(s=$o(s))&&t>0)throw Jn(27,[e,$(),b])}}else if(59===$())Nr(t,oe,y());else if(60===$())(p||=[]).push(t),Nr(t,Zn,y());else if(61===$()){h||(h=dn(i));const n=y();h.Xt(parseInt(n),t)}else if(62===$())Nr(t,xe,y());else if(64===$()){let e;w(b+1)===Kn?(m(),e=decodeURI(n(y())),m()):e=y(),t.key=e}else if(91===$())Nr(t,qe,y());else if(94===$())Nr(t,Re,y());else if(96===$())h||(h=dn(i)),Ut(t,y(),h);else if(63===$())h||(h=dn(i)),t.slotParent=Dr(h.rootVNode,y());else if(93===$())Nr(t,le,y());else if(123===$())m(),u(xr()),Io.push(t,o,l,c,r),r=0,t=l,o=l=null;else if($()===Kn){const e=n(y()),i=n(y());Nr(t,e,i)}else if(125===$())m(),t.lastChild=l,r=Io.pop(),c=Io.pop(),l=Io.pop(),o=Io.pop(),t=Io.pop();else if(126===$()){const e=n(y());Nr(t,ne,e)}else{for(;Fo(s)&&zt(s);)s=$o(s);const t=s&&3===ao(s)?s:null;null===a&&(a=t?t.nodeValue:null,f=0);let n=0;for(;Eo($());)n+=m()-97,n*=26;n+=m()-65;const e=null===a?"":a.substring(f,f+n);u(c=((t,n,e)=>new ji(-2044,null,t,null,null,n,e))(c,t,e)),f+=n}}),p){h||(h=dn(i));for(let t=0;t<p.length;t++)h.ensureProjectionResolved(p[t]);p=null}return t.lastChild=l,o})(t,s,e,i)}return Co(t,i)})(t,e,i,s)})(e)),i};let oo=null;const lo=t=>(oo||(oo=t.hasAttribute),oo.call(t,$e));let co=null;const uo=(t,n)=>(co||(co=t.getAttribute),co.call(t,n));let fo=null;const ao=t=>(fo||(fo=vr(t,"nodeType")),fo.call(t)),ho=t=>{const n=ao(t);return 3===n||1===n};let po=null;const $o=t=>{for(po||(po=vr(t,"nextSibling")),wo||(wo=vr(t,"firstChild"));t;)if(null!==(t=po.call(t))){const n=ao(t);if(3===n||1===n)break;if(8===n){const n=t.nodeValue;if(n?.startsWith(de))return Wt(t,ae,po,wo);if(t.nodeValue?.startsWith(he))return Wt(t,pe,po,wo);if(n?.startsWith($e))for(;t&&(t=po.call(t))&&(8!==ao(t)||!t.nodeValue?.startsWith(ye)););}}return t};let yo=null;const mo=t=>(yo||(yo=vr(t,"parentNode")),yo.call(t));let wo=null;const bo=t=>{for(wo||(wo=vr(t,"firstChild")),t=t&&wo.call(t);t&&!ho(t);)t=$o(t);return t};let vo=null;const go=t=>(vo||(vo=vr(t,"namespaceURI")),vo.call(t));let So=null;const ko=t=>(So||(So=vr(t,"nodeName")),So.call(t));let xo=null;const qo=t=>(xo||(xo=vr(t,"ownerDocument")),xo.call(t)),Ro=t=>"STYLE"===t.nodeName&&(t.hasAttribute(oe)||t.hasAttribute(ie)),jo=t=>t.hasAttribute(Ne),Co=(t,n,e)=>{let i=null;const s=()=>{for(;Fo(r)&&zt(r);)r=$o(r)};let r=n;s();let o=null;for(;r;){const n=ao(r);let e=null;3===n?e=kr(r,r.textContent??void 0):1===n&&(e=Sr(r),Er(e)),e&&(e.parent=t,o&&(o.nextSibling=e),e.previousSibling=o,o=e),i||(t.firstChild=i=o),r=$o(r),s()}if(t.lastChild=o||null,t.firstChild=i,e){let n=null;Po(e,(e,i)=>{if(61===e()){n||(n=dn(t.node));const e=i();n.Xt(parseInt(e),t)}else 96===e()?(n||(n=dn(t.node)),Ut(t,i(),n)):i()})}return i},Po=(t,n)=>{let e=0,i=0,s=0;const r=n=>n<t.length?t.charCodeAt(n):0,o=()=>0!==s?s:s=r(e),l=()=>(i=o(),s=0,e++,i),c=()=>{l();const n=e;for(;o()<=58&&0!==s||92===s||95===s||s>=65&&s<=90||s>=97&&s<=122;)l();return t.substring(n,e)};for(;0!==o();)n(o,c,l,r,e)},Ao=(t,n)=>{if(3&n.flags){Ir(t,n);const e=[],i=n.props;if(i)for(const t in i)t.startsWith(Ne)||e.push(t);return e}return[]},Oo=(t,n)=>{let e=_o(t);for(;e;){if(e===n)return!0;e=_o(e)}return!1},_o=t=>t.parent||t.slotParent,No=t=>null===t||Ar(t)?null:t.node,Mo=t=>48<=t&&t<=57,Eo=t=>97<=t&&t<=122,Io=[],To=t=>{const n=t.flags;if(1&n)return 1;if(2&n)return 11;if(4&n)return 3;throw Jn(26,[n])},Fo=t=>t&&"object"==typeof t&&1===ao(t),Do=t=>{let n=1;for(;n--;){for(;t&&(!Ar(t)||null===_r(t,Zn,null));){const e=t.slotParent,i=Ar(t)&&e;i&&n++,t=i||t.parent}n>0&&(t=t.parent)}return t};let Lo,Wo;const Uo=()=>Wo,Vo=()=>{const t=Uo();if(!t||t.B!==ge)throw Jn(10);return t},zo=(t,n)=>{const e=dn(n),i=Dr(e.rootVNode,n),s=e.U;s&&(t=>{Lo=t})(s);const r=Gt(s,i,t);return r.O=e,r},Bo=(t,...n)=>{if("function"==typeof t){if(!Wo)return t(...n);{const e=Wo.J;try{return Wo.J=void 0,t(...n)}finally{Wo.J=e}}}return tc(t)?t.untrackedValue:dc(t)},Qo=/*#__PURE__*/Yt(void 0,void 0,void 0),Jo=(t,n,e,i,s)=>{const r=Qo.J,o=Qo.O;try{return Qo.J=$(n,e,s),Qo.O=i,Ht(Qo,t)}finally{Qo.J=r,Qo.O=o}},Ho=(t,n,e,i,s)=>(t instanceof gs&&t.$!==n&&n&&(t.$=n),Jo(()=>t.value,n,e,i,s)),Yo=()=>Uo()?.$,Go=()=>{const t=Uo();if(t)return t.B},Xo=()=>{const t=Uo();if(t)return t.O},Ko=t=>t,Zo=t=>t.l||Promise.resolve(),tl=()=>{const t=Vo(),n=t.$;let e=t.O.getHostProp(n,qe);null===e&&(e=[],t.O.setHostProp(n,qe,e));let i=t.O.getHostProp(n,Re);for(null===i&&(i=0),t.O.setHostProp(n,Re,i+1);e.length<=i;)e.push(void 0);return{val:e[i],set:t=>e[i]=t,i,iCtx:t}},nl=t=>/*#__PURE__*/Object.freeze({id:ze(t)}),el=(t,n)=>{const{val:e,set:i,iCtx:s}=tl();void 0===e&&(s.O.setContext(s.$,t,n),i(1))},il=(t,n)=>{const{val:e,set:i,iCtx:s}=tl();if(void 0!==e)return e;const r=s.O.resolveContext(s.$,t);if("function"==typeof n)return i(Jt(void 0,n,r));if(void 0!==r)return i(r);if(void 0!==n)return i(n);throw Jn(8,[t.id])},sl=t=>{const n=(()=>{const t=Uo();if(!t)throw Jn(9);return t})(),e=n.$;if(e)return n.O?.resolveContext(e,t)},rl=/*#__PURE__*/nl("qk-error"),ol=[void 0,null,!0,!1,"",Ui,Vi,Xi,ns,Wi,Us,Ds,NaN,1/0,-1/0,Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER-1,Number.MIN_SAFE_INTEGER],ll=["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"],cl=["Plain","RootRef","ForwardRef","Constant","Array","Object","URL","Date","Regex","QRL","VNode","RefVNode","BigInt","URLSearchParams","ForwardRefs","Error","Promise","Set","Map","Uint8Array","Task","Component","Signal","WrappedSignal","ComputedSignal","AsyncSignal","SerializerSignal","Store","FormData","JSXNode","PropsProxy","SubscriptionData","EffectSubscription"],ul=new WeakMap,fl=new Map,al=(t,n,e)=>{switch(n){case 0:case 14:return e;case 1:return t._(e);case 2:if(!t.lt)return Wi;const i=t.lt[e];return-1===i||void 0===i?Wi:t._(i);case 3:return ol[e];case 4:return Array(e.length/2);case 5:return{};case 9:{let n;if("string"==typeof e){const[i,s,r]=e.split("#");n=Kt(t._(i),t._(s),r||null)}else n=Kt("",e+"",null);return n.O=t,n}case 20:return new Xl(-1,-1,null,null,null,null);case 6:return new URL(e);case 7:return new Date(e);case 8:const s=e.lastIndexOf("/");return RegExp(e.slice(1,s),e.slice(s+1));case 15:return Error();case 21:return Hc(null);case 22:return new Mi(t,0);case 23:return new gs(t,null,null,null);case 24:return new is(t,null);case 25:return new rs(t,null,void 0,{interval:0});case 26:return new ls(t,null);case 27:{const n=e,i=n[0],s=n[1],r=al(t,i,s),o=$c(r,0,t);return Ll(i)&&fl.set(r,{t:i,v:s}),n[0]=0,n[1]=r,o}case 13:return new URLSearchParams(e);case 28:return new FormData;case 29:return new xs(null,null,null,null,null);case 12:return BigInt(e);case 17:return new Set;case 18:return new Map;case 16:let r,o;const l=new Promise((t,n)=>{r=t,o=n});return ul.set(l,[r,o]),l.catch(()=>{}),l;case 19:const c=e.length,u=3&c;return new Uint8Array(3*(c>>>2)+(u?u-1:0));case 30:return p(null);case 10:return tn(t,e);case 11:const f=tn(t,e);if(qr(f))return ro(f),No(f);throw Jn(17,[typeof f]);case 31:return new Ss({});case 32:return new Ki(null,null,null,null);default:throw Jn(18,[n])}},hl=(t,n,e)=>{let i=null,s=null;if(Qn(t))s=t;else{if(!Bn(t))throw Jn(7,[t]);i=t}return Tc(i,n,null,s,e)},dl=(t,n,e)=>Tc(null,n,t,null,e),pl=(t,n)=>Tc(null,t,null,null,n),$l=(t,n,e)=>{const i=pl(t,e);return i.dev=n,i},yl=(t,n,e,i)=>{const s=hl(t,n,i);return s.dev=e,s},ml=(t,n,e,i)=>{const s=dl(t,n,i);return s.dev=e,s},wl=(t,n)=>(void 0===globalThis.__qwik_reg_symbols&&(globalThis.__qwik_reg_symbols=new Map),globalThis.__qwik_reg_symbols.set(n,t),t),bl=(t,n,e)=>new gs(null,t,n,e||null);class vl{Kt;rootIdx=0;forwardRefs=[];forwardRefsId=0;promises=new Set;s11nWeakRefs=new Map;parent;qrlMap=new Map;ut;constructor(t){this.Kt=t,this.ut=t.ut}async serialize(){await this.outputRoots()}outputArray(t,n,e){this.ut.write("[");let i,s=!1;if(n)i=t.length;else{for(i=t.length-1;i>=0&&void 0===t[i];)i--;i++}for(let n=0;n<i;n++)s?this.ut.write(ui):s=!0,e(t[n],n);this.ut.write("]")}stringNeedsJsonEscape$(t){for(let n=0;n<t.length;n++){const e=t.charCodeAt(n);if(e<32||34===e||92===e)return!0}return!1}output(t,n,e){if("number"==typeof n)this.ut.write(t+ui+n);else if("string"==typeof n){const e=this.stringNeedsJsonEscape$(n)?JSON.stringify(n):'"'+n+'"';this.ut.write(t+ui);let i=-1,s=0;for(;-1!==(i=e.indexOf("</",s));)this.ut.write(e.slice(s,i)),this.ut.write("<\\/"),s=i+2;this.ut.write(0===s?e:e.slice(s))}else this.ut.write(t+ui),this.outputArray(n,!!e,(t,n)=>{this.writeValue(t,n)})}getSeenRefOrOutput(t,n,e){let i=this.Kt.getSeenRef(t);const s=!e&&this.s11nWeakRefs.get(t);if(!i){if(e)return!0;if("number"!=typeof s)return this.Kt.Zt(t,this.parent,n);i=this.Kt.Z(t,!0)}i.tn&&(this.parent?this.Kt.nn(i):(this.Kt.nn(i,n),t=this.Kt.en[n])),"number"==typeof s&&(this.forwardRefs[s]=i.sn,this.s11nWeakRefs.delete(t));const r=t instanceof jl?t.rn:i.sn;if(!this.parent&&r===n)return i;this.output(1,r)}writeValue(t,n){if(Cc(t))this.output(3,0);else switch(typeof t){case"undefined":this.output(3,0);break;case"boolean":this.output(3,t?2:3);break;case"number":Number.isNaN(t)?this.output(3,12):Number.isFinite(t)?t===Number.MAX_SAFE_INTEGER?this.output(3,15):t===Number.MAX_SAFE_INTEGER-1?this.output(3,16):t===Number.MIN_SAFE_INTEGER?this.output(3,17):this.output(0,t):this.output(3,t<0?14:13);break;case"string":0===t.length?this.output(3,4):(t.length<4||this.getSeenRefOrOutput(t,n))&&this.output(0,t);break;case"bigint":(t<1e4&&t>-1e3||this.getSeenRefOrOutput(t,n))&&this.output(12,""+t);break;case"symbol":t===Xi?this.output(3,7):t===ns?this.output(3,8):t===Wi&&this.output(3,9);break;case"function":if(t===Us)this.output(3,10);else if(t===Ds)this.output(3,11);else if(Yn(t)){if(this.getSeenRefOrOutput(t,n)){const[n,e,i]=Xt(this.Kt,t,!0);let s;if(""!==n){s=`${this.Kt.Z(n)}#${this.Kt.Z(e)}${i?"#"+i:""}`;const r=this.qrlMap.get(s);if(r){const t=this.Kt.Z(r);return void this.output(1,t)}this.qrlMap.set(s,t)}else s=+e;this.output(9,s)}}else{if(!Gc(t))throw Jn(34,[""+t]);{const[n]=t[Yc];this.Kt.ln.add(n.Y),this.output(21,[n])}}break;case"object":if(t===Ui)this.output(3,5);else if(t===Vi)this.output(3,6);else if(null===t)this.output(3,1);else if(t instanceof jl)this.output(1,t.rn);else{const e=this.getSeenRefOrOutput(t,n);if(e){const n=this.parent;this.parent=e,this.writeObjectValue(t),this.parent=n}}break;default:throw Jn(20,[typeof t])}}writeObjectValue(t){if(Gi(t)){const n=t[Fi];this.output(30,[ql(n),n.varProps,n.constProps,t[Di].p])}else if(t instanceof Ss)this.output(31,[t.data.Yt,t.data.Gt]);else if(t instanceof Ki)this.output(32,[t.consumer,t.property,t.data]);else if(pc(t)){const n=uc(t),e=fc(t),i=n.R,s=n.p,r=[];for(const t in e){const n=this.Kt.h.get(e[t]);n&&r.push(n)}const o=[e,i,s,...r];for(;void 0===o[o.length-1];)o.pop();this.output(27,o)}else if(rc(t)){const n=t[Oc](t);if(Te(n)){const t=this.resolvePromise(n,(t,n)=>new gl(26,t,n,void 0,void 0));this.output(2,t)}else{const t=this.parent.sn;this.parent=this.parent.tn,this.writeValue(n,t)}}else if((t=>{const n=Object.getPrototypeOf(t);return null==n||n===Object.prototype||n===Array.prototype})(t))if(Array.isArray(t))this.output(4,t);else{const n=[];for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)){const i=t[e];Cc(i)||n.push(e,i)}this.output(5,n.length?n:0)}else if(this.Kt.cn(t))t.un.vnodeData[0]|=16,this.output(11,t.un.id);else if(t instanceof Mi){if(t instanceof ls){const n=((t,n)=>n===Xi?n:De(t.qt.resolved||t.qt.resolve(),t=>{let e;return"function"==typeof t&&(t=t()),t.serialize?e=t.serialize(n):"object"==typeof n&&Oc in n&&(e=n[Oc](n)),void 0===e&&(e=Xi),e}))(t,t.kt);if(Te(n)){const e=this.resolvePromise(n,(n,e)=>new gl(26,n,e,t.p,t.qt));this.output(2,e)}else this.output(26,[t.qt,t.p,n]);return}if(t instanceof gs)this.output(23,[...en(this.Kt,t),t.R,t.$,...t.p||[]]);else if(t instanceof is){let n=t.kt;const e=16&t.R,i=8&t.R,s=1&t.R,r=Cc(t.kt),o=t instanceof rs,l=o&&t.nt>0?t.nt:void 0,c=o&&1!==t.Tt?t.Tt:void 0,u=o&&0!==t.Ft?t.Ft:void 0,f=o&&-25&t.R||void 0;s||r?n=Xi:e?n=t.kt:i&&(n=Xi);const a=[t.qt,t.p];o&&(a.push(t.m,t.k,t.Mt),a.push(f||void 0));let h=!1;n===Xi&&void 0===l&&void 0===c&&void 0===u||(a.push(n),void 0===n&&(h=!0)),o&&(a.push(l),a.push(c),a.push(u)),this.output(o?25:24,a,h)}else{const n=t.kt,e=void 0===n,i=[n];t.p&&i.push(...t.p),this.output(22,i,e)}}else if(t instanceof URL)this.output(6,t.href);else if(t instanceof Date)this.output(7,Number.isNaN(t.valueOf())?"":t.valueOf());else if(t instanceof RegExp)this.output(8,""+t);else if(t instanceof Error){const n=[t.message];n.push(...Object.entries(t).flat()),this.output(15,n)}else if(this.Kt.fn(t)){const n=this.Kt.Z(t);this.Kt.an(t,"q:id",n+""),this.output(10,t.id);const e=t.vnodeData;if(e&&(Sl(e,t=>this.Kt.Z(t)),e[0]|=16),t.children){const n=t.children.length;for(let e=0;e<n;e++){const n=t.children[e].vnodeData;if(n){for(let t=0;t<n.length;t++){const e=n[t];if(kl(e)){const t=sn(e);t&&this.Kt.Z(t)}}n[0]|=16}}}}else if("undefined"!=typeof FormData&&t instanceof FormData){const n=[];for(const[e,i]of t.entries())"string"==typeof i&&n.push(e,i);this.output(28,n)}else if(t instanceof URLSearchParams)this.output(13,""+t);else if(t instanceof Set)this.output(17,[...t.values()]);else if(t instanceof Map){const n=[];for(const[e,i]of t.entries())n.push(e,i);this.output(18,n)}else if(Rs(t)){const n=[t.type,t.key,t.varProps,t.constProps,t.children,t.toSort||void 0];for(;void 0===n[n.length-1];)n.pop();this.output(29,n)}else if(t instanceof Xl){const n=[t.ot,t.R,t.sn,t.L,t.ft];for(;void 0===n[n.length-1];)n.pop();this.output(20,n)}else if(Te(t)){const n=this.resolvePromise(t,(t,n)=>new gl(16,t,n));this.output(2,n)}else if(t instanceof gl)if(26===t.hn)if(t.ot)this.output(26,[t.ot,t.p,t.dn]);else{if(!t.pn)throw console.error(t.dn),Jn(33);{const n=this.parent.sn;this.parent=this.parent.tn,this.writeValue(t.dn,n)}}else this.output(16,[t.pn,t.dn]);else if(t instanceof Uint8Array){let n="";const e=t.length;for(let i=0;i<e;i++)n+=String.fromCharCode(t[i]);const i=btoa(n).replace(/=+$/,"");this.output(19,i)}else if(t instanceof xl){const n=t.$n;if(this.getSeenRefOrOutput(n,this.parent.sn,!0)){let t=this.s11nWeakRefs.get(n);void 0===t&&(t=this.forwardRefsId++,this.s11nWeakRefs.set(n,t),this.forwardRefs[t]=-1),this.output(2,t)}}else{if(!qr(t))throw Jn(20,[typeof t]);this.output(3,0)}}resolvePromise(t,n){const e=this.forwardRefsId++;return t.then(i=>{this.promises.delete(t),this.forwardRefs[e]=this.Kt.Z(n(!0,i))}).catch(i=>{this.promises.delete(t),this.forwardRefs[e]=this.Kt.Z(n(!1,i))}),this.promises.add(t),e}async outputRoots(){this.ut.write("[");const{en:t}=this.Kt;for(;this.rootIdx<t.length||this.promises.size;){0!==this.rootIdx&&this.ut.write(ui);let n=!1;for(;this.rootIdx<t.length;this.rootIdx++)n?this.ut.write(ui):n=!0,this.writeValue(t[this.rootIdx],this.rootIdx);if(this.promises.size)try{await Promise.race(this.promises)}catch{}}if(this.forwardRefs.length){let t=this.forwardRefs.length-1;for(;t>=0&&-1===this.forwardRefs[t];)t--;if(t>=0){this.ut.write(ui),this.ut.write(14+ui);const n=t===this.forwardRefs.length-1?this.forwardRefs:this.forwardRefs.slice(0,t+1);this.outputArray(n,!0,t=>{this.ut.write(t+"")})}}this.ut.write("]")}}class gl{hn;pn;dn;p;ot;constructor(t,n,e,i,s){this.hn=t,this.pn=n,this.dn=e,this.p=i,this.ot=s}}const Sl=(t,n)=>{const e=t.length;for(let i=0;i<e;i++){const e=t[i];if(kl(e))for(const t in e){const i=e[t];null==i||"string"==typeof i||t===xe&&ci(i)||n(i)}}},kl=t=>"object"==typeof t&&null!==t&&!ci(t);class xl{$n;constructor(t){this.$n=t}}const ql=t=>new xl(t);let Rl=()=>!1;class jl{rn;constructor(t){this.rn=t}}class Cl{NodeConstructor;DomRefConstructor;K;an;h;ut;yn=new Map;mn=new Map;wn=[];en=[];et=new Set;rt=new Set;st=new Set;ln=new Set;bn;constructor(t,n,e,i,s,r){this.NodeConstructor=t,this.DomRefConstructor=n,this.K=e,this.an=i,this.h=s,this.ut=r,this.bn=new vl(this)}async ct(){return await this.bn.serialize()}getSeenRef(t){return this.yn.get(t)}Zt(t,n,e){const i={sn:e,tn:n};return this.yn.set(t,i),i}vn(t){const n=[];for(;t.tn;)n.unshift(t.sn),t=t.tn;return n.unshift(t.sn),n.join(" ")}nn(t,n){const e=this.vn(t);void 0===n&&(n=this.en.length),this.en[n]=new jl(e),t.tn=null,t.sn=n}Z(t,n=!1){let e,i=this.yn.get(t);return i?(i.tn&&this.nn(i),e=i.sn):(e=this.en.length,i={sn:e},this.yn.set(t,i),this.en.push(t)),n?i:e}fn(t){return!!this.NodeConstructor&&t instanceof this.NodeConstructor}cn(t){return!!this.DomRefConstructor&&t instanceof this.DomRefConstructor}gn(t){const n=this.yn.get(t);return n&&(n.tn?void 0:n.sn)}X(t,n,e){const i=null==t;i&&(t=e.serialized||""+e);let s=this.mn.get(t);if(void 0===s)if(s=this.wn.length,this.mn.set(t,s),i)this.wn.push(t);else{let e="(";for(let t=0;t<n;t++)e+=(0==t?"p":",p")+t;this.wn.push(e+=")=>"+t)}return s}}const Pl=(t,n,e,i,s,r)=>{if(!r){const t=[];r={write:n=>t.push(n),toString:()=>t.join("")}}return Rl=n?t=>t instanceof n:()=>!1,new Cl(t,n,e,i,s,r)};class Al{Sn;h;U;_;ht;kn=0;xn=null;qn=null;l=null;u=null;o=0;constructor(t,n){this.ht=t,this.U=n,this.Sn=fi,this.h=new WeakMap,this._=()=>{throw Error("Not implemented")}}trackSignalValue(t,n,e,i){return Ho(t,n,e,this,i)}serializationCtxFactory(t,n,e,i){return Pl(t,n,e,this.setHostProp.bind(this),this.h,i)}W(){0===this.o&&(this.u?.(),this.l=null)}}class Ol{}const _l=()=>_c,Nl=async t=>{const[n,e]=_c,i=await n(t);return i&&"object"==typeof i?e.r?Object.assign(e.r,i):e.r=wn(n.O,i,1):e.r=i,{r:e.r}},Ml=(t,n)=>{const{val:e,set:i,iCtx:s}=tl();if(e)return e;const r=Tc(null,"_rsc",Nl,null,[t,{}]);t.O=s.O;const o=us(r,{timeout:n?.timeout,container:s.O,concurrency:0});o.j();const l={__brand:"resource",signal:o,get value(){return o.promise().then(()=>o.error?Promise.reject(o.error):o.value.r)},get loading(){return o.loading}};return i(l),l},El=({value:t,onResolved:n,onPending:e,onRejected:i})=>{if(Te(t))return t.then(n,i);const s=Il(t),r=s?t.signal:t;if(e&&r.loading)return e();if(i&&r.error)return i(r.error);const o=s?r.value?.r:r.value;return Te(o)?o.then(n,i):n(o)},Il=t=>t&&"resource"===t.__brand;let Tl=Promise.resolve();const Fl=(t,n,e,i)=>{if(0!==e)switch(4!==e&&Array.isArray(i)&&(i=Dl(t,i)),e){case 4:Dl(t,i,n);break;case 5:if(0===i)break;for(let t=0;t<i.length;t+=2)n[i[t]]=i[t+1];break;case 20:const s=n,r=i;s.ot=r[0],s.R=r[1],s.sn=r[2],s.L=r[3],s.ft=r[4];break;case 21:n[Yc][0]=i[0];break;case 27:{const e=dc(n),s=fl.get(e);s&&(fl.delete(e),Fl(t,e,s.t,s.v));const[,r,o]=i,l=uc(n);l.R=r,l.p=o,hn(l.p,e);break}case 22:{const t=n,e=i;t.kt=e[0],t.p=new Set(e.slice(1)),an(t.p,t);break}case 23:{const e=n,s=i;e.T=t.getSyncFn(s[0]),e.D=s[1],e.kt=Xi,e.R=s[2],e.R|=1,e.$=s[3],e.p=new Set(s.slice(4)),(t=>{if(null!==t.$&&qr(t.$)){const n=t.$,e=t.p;let i=!1;if(e)for(const s of e){const e=s.property;if(Bn(e)){const s=_r(n,e,null);if(null!==s){t.kt=s,i=!0;break}}}if(!i){const e=so(n);e&&n.firstChild===n.lastChild&&Pr(e)&&(t.kt=eo(e))}}})(e),an(e.p,e);break}case 25:{const t=n,e=i;t.qt=e[0],t.p=new Set(e[1]),t.m=new Set(e[2]),t.k=new Set(e[3]),t.Mt=e[4],t.R=e[5]??0,64&t.R&&(t.Nt=!0),e.length>6&&(t.kt=e[6]),t.kt===Xi&&(t.R|=1),t.interval=e[7]??0,t.Tt=e[8]??1,t.Ft=e[9]??0,an(t.p,t),an(t.m,t),an(t.k,t);break}case 26:case 24:{const s=n,r=i;s.qt=r[0];const o=s.qt.resolve(t).catch(()=>{});Tl=Tl.finally(()=>o),r[1]&&(s.p=new Set(r[1])),r.length>2&&(s.kt=r[2]),26!==e&&s.kt!==Xi&&(s.R&=-2),an(s.p,s);break}case 15:{const t=i;n.message=t[0];for(let e=1;e<t.length;e+=2)n[t[e]]=t[e+1];break}case 28:{const t=n,e=i;for(let n=0;n<e.length;n++)t.append(e[n++],e[n]);break}case 29:{const t=n,[e,s,r,o,l,c]=i;t.type=e,t.key=s,t.varProps=r,t.constProps=o||null,t.children=l,t.toSort=!!c;break}case 17:{const t=n,e=i;for(let n=0;n<e.length;n++)t.add(e[n]);break}case 18:{const t=n,e=i;for(let n=0;n<e.length;n++)t.set(e[n++],e[n]);break}case 16:{const t=n,[e,s]=i,[r,o]=ul.get(t);e?r(s):o(s);break}case 19:const o=n,l=atob(i);let c=0;for(const t of l)o[c++]=t.charCodeAt(0);break;case 30:const u=n,f=i;let a=f[0];a===Wi&&(a=new xs(Ds,f[1],f[2],null,null),a._proxy=u),u[Fi]=a;const h=u[Di];h.p=f[3],hn(h.p,u);break;case 31:{const t=n;t.data.Yt=i[0],t.data.Gt=i[1];break}case 32:{const t=n,e=i;t.consumer=e[0],t.property=e[1],t.data=e[2],(t=>{const n=t.consumer;!import.meta.env.TEST&&_n&&!n||(n[Si]||=new Map,n[Si].set(t.property,t))})(t);break}default:throw Jn(16,[e])}},Dl=(t,n,e=Array(n.length/2))=>{for(let i=0;i<n.length;i+=2)e[i/2]=fn(t,n[i],n[i+1]);return e},Ll=t=>t>=15||4===t||5===t,Wl=new WeakMap,Ul=Symbol(),Vl=(t,n)=>{if(!Array.isArray(n)||qr(n)||Vn(e=n)&&Ul in e)return n;var e;let i=Wl.get(n);if(!i){const e=Array(n.length/2).fill(void 0);i=new Proxy(e,new zl(t,n)),Wl.set(n,i)}return i};class zl{O;Rn;jn;constructor(t,n){this.O=t,this.Rn=n,this.jn=this.Rn.length/2}get(t,n,e){if(n===Ul)return t;const i="number"==typeof n?n:"string"==typeof n?parseInt(n,10):NaN;if(Number.isNaN(i)||i<0||i>=this.jn)return Reflect.get(t,n,e);const s=2*i,r=this.Rn[s],o=this.Rn[s+1];if(0===r)return o;const l=this.O,c=al(l,r,o);return Reflect.set(t,n,c),this.Rn[s]=0,this.Rn[s+1]=c,Ll(r)&&Fl(l,c,r,o),c}has(t,n){return n===Ul||Object.prototype.hasOwnProperty.call(t,n)}set(t,n,e,i){if(n===Ul)return!1;const s=Reflect.set(t,n,e,i),r="number"==typeof n?n:parseInt(n,10);if(Number.isNaN(r)||r<0||r>=this.Rn.length/2)return s;const o=2*r;return this.Rn[o]=0,this.Rn[o+1]=e,!0}}const Bl=t=>33<=t&&t<=46,Ql=(t,n,e)=>{let i=0;for(;n<e;){const e=t.charCodeAt(n);if(92===e)n+=2;else{if(0===i&&Bl(e))break;123===e?i++:125===e&&i--,n++}}return n},Jl=t=>t instanceof Hl;class Hl extends Al{element;qContainer;qManifestHash;rootVNode;document;Cn;h=new WeakMap;Pn;xn;lt=null;vNodeLocate=t=>Dr(this.rootVNode,t);An;On=null;constructor(t){if(super({},t.getAttribute("q:locale")),this.qContainer=t.getAttribute($e),!this.qContainer)throw Jn(25);this.document=t.ownerDocument,this.element=t,this.qn=t.getAttribute(fe),this.xn=t.getAttribute("q:instance"),this.qManifestHash=t.getAttribute("q:manifest-hash"),this.rootVNode=Sr(this.element),this.Cn=[],this.An=[];const n=this.element.ownerDocument;n.qVNodeData||function(t){const n="q:container",e="/"+n,i="q:ignore",s="/"+i,r="q:container-island",o="/"+r,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=>{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(r))return 65;if(l.startsWith(i))return 16;if(l.startsWith(n))return 9;if(l.startsWith(o))return 64;if(l.startsWith(s))return 32;if(l.startsWith(e))return 8}return 0},p=t=>{for(;t&&(t=t.nextSibling)&&0===d(t););return t},$=(n,e,i,s,r,o)=>{const c=r.length;let u=0,f=-1,a=0,h=0,y=0,m=-1,w=null;const b=()=>{let t=0;for(;Bl(y=r.charCodeAt(a))&&(t+=1<<y-33,a++,!(a>=c)););return t};do{if(i===s)return;w=null;const v=i==e?2:d(i);if(3===v){const t=i;let e=i;for(;e&&!(w=p(e));)e=e.parentNode;$(n,t,i,w,t.qVnodeData||"",t.qVNodeRefs)}else if(16===v){let t=i;do{if(t=n.nextNode(),!t)throw Error(`Island inside \x3c!--${i?.nodeValue}--\x3e not found!`)}while(65!==d(t));w=null}else if(64===v){w=i;do{if(w=n.nextNode(),!w)throw Error("Ignore block not closed!")}while(32!==d(w));w=null}else if(9===v){w=i;do{if(w=p(w),!w)throw Error(`\x3c!--${i?.nodeValue}--\x3e not closed!`)}while(8!==d(w));$(n,i,i,w,"",null)}else if(6===v){w=p(i);const n=i,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?r.charCodeAt(h):33),h=Ql(r,a,c)):f=Number.MAX_SAFE_INTEGER),u===f){m===u&&o.set(u,i);const t=r.substring(a,h);l.set(i,t)}u++}}while(i=w||n.nextNode())},y=t.createTreeWalker(t,129);$(y,null,y.firstChild(),null,"",null)}(n),this.Pn=ue(n,this.xn)||Ui,this._n(),t.setAttribute($e,"resumed"),t.qContainer=this;const e=t.querySelectorAll('script[type="qwik/state"]');0!==e.length&&(this.Cn=JSON.parse(e[e.length-1].textContent),Sn(this.Cn,this),this.An=Vl(this,this.Cn)),this.Nn(),t.isConnected&&t.dispatchEvent(new CustomEvent("qresume",{bubbles:!0}))}Nn(){const t=this.element.ownerDocument,n=t.head,e=t.body.querySelectorAll(re),i=e.length;if(i){const s=t.createDocumentFragment();for(let t=0;t<i;t++)s.appendChild(e[t]);n.appendChild(s)}}Xt(t,n){this.An[t]=n}parseQRL(t){const n=Zt(t);return n.O=this,n}handleError(t,n){const e=n&&this.resolveContext(n,rl);if(!e)throw t;e.error=t}setContext(t,n,e){let i=this.getHostProp(t,le);null==i&&this.setHostProp(t,le,i=[]),Dn(i,n.id,e,0,!0)}resolveContext(t,n){for(;t;){const e=this.getHostProp(t,le);if(null!=e&&Wn(e,n.id,0))return Ln(e,n.id,0);t=this.getParentHost(t)}}getParentHost(t){let n=t.parent;for(;n;)if(Ar(n)){if(null!==_r(n,Zn,null))return n;n=n.parent||n.slotParent}else n=n.parent;return null}setHostProp(t,n,e){Nr(t,n,e)}getHostProp(t,n){const e=t;let i=null;switch(n){case qe:case xe:case Zn:case le:case ce:i=this._;break;case Re:case Oe:i=parseInt}return _r(e,n,i)}ensureProjectionResolved(t){if(!(16&t.flags)){t.flags|=16;const n=t.props;if(n)for(const t of Object.keys(n))if(O(t)){const e=n[t];if("string"==typeof e){const i=this.vNodeLocate(e);n[t]=i}}}}_=t=>qn(t,this.An);getSyncFn(t){return this.Pn[t]}Mn(t,n,e,i){if(i){const t=this.getHostProp(e,oe),i=new Set((t=>t?.split(" ")??null)(t));i.add(n),this.setHostProp(e,oe,(t=>Array.from(t).join(" "))(i))}if(null==this.On&&(this.On=new Set,this.element.querySelectorAll(se).forEach(t=>{this.On.add(t.getAttribute(ie))})),!this.On.has(n)){this.On.add(n);const e=this.document.createElement("style");e.setAttribute(ie,n),e.textContent=t,this.document.head.appendChild(e)}}_n(){const t={},n=this.element.attributes;if(n)for(let e=0;e<n.length;e++){const i=n[e];i.name!==Ne&&(t[i.name]=i.value)}this.ht={containerAttributes:t}}}const Yl=(t,n)=>{const{val:e,set:i,iCtx:s,i:r}=tl();if(e)return;i(1);const o=new Xl(6|(!1===n?.deferUpdates?0:8),r,s.$,t,void 0,null);i(o);const l=s.O,{H:c}=s,u=De(c,()=>Gl(o,l,s.$));Te(u)&&(s.H=u)},Gl=(t,n,e)=>{t.R&=-5,lr(t);const i=Gt(n.U,e,"qTask");i.O=n;const s=t.ot.getFn(i,()=>y(n,t)),r=es(t,n),[o]=((t,n)=>{let e=null;return[i=>{"function"==typeof i&&(e||(e=[],t.Bt=()=>{t.Bt=null;for(const t of e)try{t()}catch(t){n(t)}}),e.push(i))},e??[]]})(t,t=>n.handleError(t,e)),l={track:r,cleanup:o};return Fe(()=>s(l),o,i=>{if(Te(i))return i.then(()=>Gl(t,n,e));n.handleError(i,e)})};class Xl extends ki{R;sn;L;ot;ft;Bt;constructor(t,n,e,i,s,r){super(),this.R=t,this.sn=n,this.L=e,this.ot=i,this.ft=s,this.Bt=r}}const Kl=t=>t instanceof Xl,Zl=t=>{if(!t.resolved)throw t.resolve()},tc=t=>t instanceof Mi,nc=(t,n)=>{t.add(n)},ec=(t,n)=>{(t.backRef||=new Set).add(n)},ic=(t,n)=>{if(n?.serializationCtx){const e=t.consumer,i=t.property;let s=null;Kl(e)?s=e.ot:e instanceof is?s=e.qt:":"===i&&(s=n.getHostProp(e,Zn)),s&&n.serializationCtx.rt.add(s)}},sc=(t,n,e)=>{const i=(import.meta,!0);if(e){const s=e=>{const s=e.consumer,r=e.property;if(Kl(s))s.R|=4,It(t,s.L,1);else if(s instanceof Mi)s.invalidate();else if(":"===r)It(t,s,4);else if("."===r)i&&(o=s,l=n,(o.props||={})[_i]=l,It(t,s,2));else{const o=e.data;if(o instanceof Ss){const e=o.data,l={isConst:e.Gt,scopedStyleIdPrefix:e.Yt,value:n};if(i)((t,n,e)=>{const i=t.props||={};let s=i[Oi];s||(s=new Map,i[Oi]=s),s.set(n,e)})(s,r,l);else{const t=s;let n=t.getProp(Oi);n||(n=new Map,t.setProp(Oi,n)),n.set(r,l)}It(t,s,8)}}var o,l},r=Array.from(e);for(const t of r)s(t)}},rc=t=>Vn(t)&&"function"==typeof t[Oc],oc=t=>{let n=1;switch(t){case"never":n|=8;break;case"always":n|=16}return n},lc=[],cc=t=>{if(Rs(t)){if("function"==typeof t.type){const n=t.type[Yc];if(n){const[t]=n;return"Component("+t.Y+")"}return"Function("+t.type.name+")"}let n="<"+t.type;if(t.props){for(const[e,i]of Object.entries(t.props))n+=" "+e+"="+mn(i);const e=t.children;null!=e?(n+=">",Array.isArray(e)?e.forEach(t=>{n+=cc(t)}):n+=cc(e),n+="</"+t.type+">"):n+="/>"}return n}return t+""},uc=t=>t[ts],fc=t=>t?.[Zi]||null,ac=(t,n)=>{const e=uc(t);e&&e.force(n)},hc=(t,n)=>{const e=uc(t);return!!e&&(e.p?.get(n)?.size??0)>0},dc=t=>fc(t)||t,pc=t=>Zi in t,$c=(t,n,e)=>{if(Un(t)&&e){let i=e.h.get(t);return i||(i=wn(e,t,n),e.h.set(t,i)),i}return t};class yc{R;O;p=void 0;constructor(t,n){this.R=t,this.O=n}toString(){return"[Store]"}force(t){const n=fc(this);sc(this.O,this,gn(n,t,this.p))}get(t,n){if("symbol"==typeof n)return n===Zi?t:n===ts?this:t[n];const e=Uo(),i=t[n];if(e){if(null===this.O){if(!e.O)return i;this.O=e.O}const s=e.J;s&&bn(t,Array.isArray(t)?ns:n,this,s)}return"toString"===n&&i===Object.prototype.toString?this.toString:1&this.R&&Vn(i)&&!Object.isFrozen(i)&&!pc(i)&&!Object.isFrozen(t)?$c(i,this.R,this.O):i}set(t,n,e){if("symbol"==typeof n)return t[n]=e,!0;const i=1&this.R?dc(e):e;return n in t?i!==t[n]&&vn(n,i,t,this):vn(n,i,t,this),!0}deleteProperty(t,n){return"string"==typeof n&&delete t[n]&&(Array.isArray(t)||sc(this.O,this,gn(t,n,this.p)),!0)}has(t,n){if(n===Zi)return!0;if("string"==typeof n){const e=Uo();if(e){const i=e.J;i&&bn(t,Array.isArray(t)?ns:n,this,i)}}return Object.prototype.hasOwnProperty.call(t,n)}ownKeys(t){const n=Uo(),e=n?.J;return e&&bn(t,ns,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}}}const mc=(t,n)=>t[n],wc=(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(pc(t)&&(t=fc(t)),e==Object.prototype){for(const e in t)if(!wc(Bo(mc,t,e),n))return!1;return!0}if(e==Array.prototype){for(let e=0;e<t.length;e++)if(!wc(t[e],n))return!1;return!0}if(Kl(t))return!0;if(Gi(t))return!0;if(Te(t))return!0;if(Rs(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 Ss)return!0;if(Rl?.(t))return!0}else if("function"==typeof t){if(Yn(t)||Gc(t)||t===Us||t===Ds)return!0}else if(t===Wi||t===Xi||t===ns)return!0;return!1},bc=(t,n)=>{let e=qr(t)?Vt.call(t,1,"",!0).replaceAll(/\n.*/gm,""):"function"==typeof t?t+"":(t=>{const n=new WeakSet;return JSON.stringify(t,(t,e)=>{if(Vn(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 vc=!1;const gc=(t,n=!1,e="",i=20)=>{const s=n?"":"",r=n?"":"",o=""===e,l=[];for(let o=0;o<t.length;o++){if(i&&o>2*i){l.push("...");break}const c=t[o];let u=t[++o];if(0===c){"number"!=typeof u&&"string"!=typeof u&&(vc=!0);const t=`{${Vn(u)?u.constructor.name:typeof u}}`;l.push(`${s}${t}${r} ${bc(u,e+" ")}`)}else 3===c?u=kc(u):"string"==typeof u?(u=JSON.stringify(u),u.length>120&&(u=u.slice(0,120)+'"...')):14===c?u=`[\n${e} ${u.join(`\n${e} `)}\n${e}]`:Array.isArray(u)&&(u=u.length?`[\n${gc(u,n,e+" ")}\n${e}]`:"[]"),l.push(`${s}${Sc(c)}${r} ${u}`)}const c=l.map((t,n)=>`${e}${o?n+" ":""}${t}`).join("\n");if(o){const n=vc?"":`(${JSON.stringify(t).length} chars)`;return vc=!1,`\n${c}\n${n}`}return c},Sc=t=>cl[t]||`Unknown(${t})`,kc=t=>ll[t]||`Unknown(${t})`,xc=(t,n)=>Bo(qc,t,new WeakSet,"_",n),qc=(t,n,e,i)=>{const s=dc(t);if(null==s)return t;if(jc(s)){if("object"==typeof s){if(n.has(s))return t;n.add(s)}if(tc(s))return t;if(wc(s))return t;const r=typeof s;if("object"===r){if(Te(s))return t;if((t=>t&&"number"==typeof t.nodeType)(s))return t;if(zn(s)){let i=0;return s.forEach((t,r)=>{if(r!==i)throw Jn(3,[s]);qc(t,n,e+"["+r+"]"),i=r+1}),t}if(s.__brand)return t;if(Un(s)){for(const[t,i]of Object.entries(s))qc(i,n,e+"."+t);return t}}let o;if(o=i||"Value cannot be serialized","_"!==e&&(o+=` in ${e},`),"object"===r)o+=` 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"===r){const n=t.name;o+=` because it's a function named "${n}". You might need to convert it to a QRL using $(fn):\n\nconst ${n} = $(${t+""});\n\nPlease check out https://qwik.dev/docs/advanced/qrl/ for more information.`}throw Jn(3,[o])}return t},Rc=/*#__PURE__*/new WeakSet,jc=t=>!Vn(t)&&!Qn(t)||!Rc.has(t)&&!(Ac in t),Cc=t=>!!t&&(Vn(t)||"function"==typeof t)&&(Rc.has(t)||Ac in t),Pc=t=>((Vn(t)&&null!==t||"function"==typeof t)&&Rc.add(t),t),Ac=Symbol(),Oc=Symbol();let _c=null;const Nc=t=>{_c=t},Mc=(t,n)=>{const e=[];for(const i of n.split(" "))e.push(t._(i));return e},Ec=t=>{if(_c=t.it,"string"==typeof _c){if(!t.O)throw Jn(13);const n=Tl;if(_c=t.it=Mc(t.O,_c),Tl!==n)return Tl}},Ic=(t,n)=>"function"==typeof n&&t.it?function(...e){return Ec(t),n.apply(this,e)}:n,Tc=(t,n,e,i,s)=>{const r=async function(...t){if(r.resolved)return r.resolved.apply(this,t);const n=Uo();return await r.resolve(n?.O),Ht.call(this,n,r.resolved,t)};i&&n in i&&(e=i[n]);const o=null!=e?async()=>e:((t,n)=>{let e;return async i=>{if(null!=e)return e;if(i)t.O=i;else if(!t.O){const n=Uo();n?.O&&(t.O=n.O)}if(""===t.G){const n=t.O.xn,i=t.O.element?.ownerDocument||document,s=ue(i,n);return t.resolved=e=s[+t.Y]}t.G&&On(t.G,1);const s=Wc(),r=t.Y,o=n?n().then(t=>t[r]):$i().importSymbol(t.O?.element,t.G,r);if(e=De(o,i=>(n&&(n[r]=i),e=t.resolved=Ic(t,i))),Te(e)){const t=Uo();e.then(()=>Dc(r,t?.$ instanceof Ri?t?.$.node:void 0,s),t=>{console.error(`qrl ${r} failed to load`,t),e=null})}return t.O&&await Ec(t),e}})(r,i),l=(t=>{const n=t.lastIndexOf("_");return n>-1?t.slice(n+1):t})(n);return Object.assign(r,{getSymbol:jn,getHash:Cn,getCaptured:Pn,getFn:function(t,n){return Rn.call(this,r,t,n)},resolve:o,resolved:void 0,G:t,Y:n,M:l,it:s,O:null}),null!=e&&(e=De(Ec(r),()=>De(e,t=>e=r.resolved=Ic(r,t)))),t&&On(t,.8),r},Fc=/*#__PURE__*/new Set,Dc=(t,n,e)=>{Fc.has(t)||(Fc.add(t),Lc("qsymbol",{symbol:t,element:n,reqTime:e}))},Lc=(t,n)=>{"object"==typeof document&&document.dispatchEvent(new CustomEvent(t,{bubbles:!1,detail:n}))},Wc=()=>"object"==typeof performance?performance.now():0;let Uc=0;const Vc=t=>Tc(null,"s"+Uc++,t,null,null),zc=Vc,Bc=t=>t,Qc=t=>Tc("",Hn,t,null,null),Jc=(t,n)=>(void 0===n&&(n=""+t),t.serialized=n,Tc("",Hn,t,null,null)),Hc=t=>{function n(n,e){const i=t.M.slice(0,4)+":"+(e||""),s=()=>{};return s[Yc]=[t],Os(s,n,null,n.children,0,i)}return n[Yc]=[t],n},Yc=Symbol(),Gc=t=>"function"==typeof t&&void 0!==t[Yc],Xc=t=>Hc(zc(t)),Kc=os(Bc),Zc=async(t,n,e={})=>{if(9===t.nodeType){let n=t.firstChild;for(;n&&!mi(n);)n=n.nextSibling;t=n}t.setAttribute($e,"resumed");const i=dn(t);i.ht=e.serverData||{};const s=i.rootVNode;return Nr(s,_i,n),It(i,s,2),await i.l,{cleanup:()=>{dt(i,[],i.rootVNode)}}},tu=(t,n)=>{const{val:e,set:i,iCtx:s}=tl();if(null!=e)return e;const r=Qn(t)?Jt(void 0,t):t;if(!1===n?.reactive)return i(r),r;{const t=s.O,e=$c(r,n?.deep??1?1:0,t);return i(e),e}},nu=()=>{const{val:t,set:n,iCtx:e}=tl();if(null!=t)return t;const i=e.O.qn||"",s=i?Qe(i).substring(0,3):"",r=e.O.getHostProp(e.$,Zn);let o=`${s}${r?.getHash().substring(0,3)||""}${(e.O.kn++).toString(36)||""}`,l=o.charCodeAt(0);return l>=48&&l<=57&&(l+=17,o=String.fromCharCode(l)+o.substring(1)),n(o)},eu=/*#__PURE__*/new Map,iu=(t,n)=>{let e=eu.get(n);return e||eu.set(n,e=su(t,n)),e},su=(t,n)=>{function e(n){l.push(t.substring(f,n)),f=n}function i(t){a===au||r()||(e(t),l.push(".",te,n))}function s(n){let e=0;if(t.charCodeAt(u)===Cu)for(let n=1;n<10;n++)if(t.charCodeAt(u+n)===Cu){e=n+1;break}t:for(let i=3;i<n.length;i++){const s=n[i];for(let n=0;n<s.length;n++)if((t.charCodeAt(u+n+e)|Fu)!==s.charCodeAt(n))continue t;return u+=s.length+e,!0}return!1}function r(){return-1!==c.indexOf(au)||-1!==c.indexOf(du)}const o=t.length,l=[],c=[];let u=0,f=u,a=uu,h=0;for(;u<o;){const n=u;let o=t.charCodeAt(u++);o===Iu&&(u++,o=Nu);const l=zu[a];for(let d=0;d<l.length;d++){const p=l[d],[$,y,m]=p;if(($===h||$===wu||$===bu&&ru(h)||$===gu&&cu(h))&&(y===o||y===wu||y===bu&&ru(o)||y===vu&&!ru(o)&&o!==Pu||y===gu&&cu(o))&&(3==p.length||s(p))){if(p.length>3&&(o=t.charCodeAt(u-1)),m===yu||m==mu){m===mu&&(a!==fu||r()?ou(o)||i(u-(y==vu?1:y==ju?2:0)):(ou(o)?e(u-2):i(u-2),f++)),y===vu&&(u--,o=h);do{a=c.pop()||uu,a===au&&(e(u-1),f++)}while(lu(a))}else c.push(a),a===au&&m===uu?(e(u-8),f=u):m===hu&&i(n),a=m;break}}h=o}return e(u),l.join("")},ru=t=>t>=Au&&t<=Ou||t>=Nu&&t<=Mu||t>=Du&&t<=Lu||t>=128||t===Tu||t===Cu,ou=t=>t===_u||t===Pu||t===Eu||t===Ru||ru(t),lu=t=>t===pu||t===du||t===$u||t===au,cu=t=>t===qu||t===Su||t===ku||t===xu,uu=0,fu=2,au=5,hu=6,du=10,pu=11,$u=12,yu=17,mu=18,wu=0,bu=1,vu=2,gu=3,Su=9,ku=10,xu=13,qu=32,Ru=35,ju=41,Cu=45,Pu=46,Au=48,Ou=57,_u=58,Nu=65,Mu=90,Eu=91,Iu=92,Tu=95,Fu=32,Du=97,Lu=122,Wu=123,Uu=125,Vu=/*@__PURE__*/(()=>[[wu,39,14],[wu,34,15],[wu,47,16,"*"]])(),zu=/*@__PURE__*/(()=>[[[wu,42,fu],[wu,Eu,7],[wu,_u,hu,":","before","after","first-letter","first-line"],[wu,_u,au,"global"],[wu,_u,3,"has","host-context","not","where","is","matches","any"],[wu,_u,4],[wu,bu,1],[wu,Pu,1],[wu,Ru,1],[wu,64,du,"keyframe"],[wu,64,pu,"media","supports","container"],[wu,64,$u],[wu,Wu,13],[47,42,16],[wu,59,yu],[wu,Uu,yu],[wu,ju,yu],...Vu],[[wu,vu,mu]],[[wu,vu,mu]],[[wu,40,uu],[wu,vu,mu]],[[wu,40,8],[wu,vu,mu]],[[wu,40,uu],[wu,vu,yu]],[[wu,vu,yu]],[[wu,93,mu],[wu,39,14],[wu,34,15]],[[wu,ju,yu],...Vu],[[wu,Uu,yu],...Vu],[[wu,Uu,yu],[gu,bu,1],[wu,_u,au,"global"],[wu,Wu,13],...Vu],[[wu,Wu,uu],[wu,59,yu],...Vu],[[wu,59,yu],[wu,Wu,9],...Vu],[[wu,Uu,yu],[wu,Wu,13],[wu,40,8],...Vu],[[wu,39,yu]],[[wu,34,yu]],[[42,47,yu]]])(),Bu=t=>({styleId:Yu(t,t=>t,!1)}),Qu=/*#__PURE__*/os(Bu),Ju=t=>({scopeId:te+Yu(t,iu,!0)}),Hu=/*#__PURE__*/os(Ju),Yu=(t,n,e)=>{const{val:i,set:s,iCtx:r,i:o}=tl();if(i)return i;const l=(c=o,`${Qe(t.M)}-${c}`);var c;const u=r.$;if(s(l),!t.resolved)throw t.resolve().then(t=>r.O.Mn(n(t,l),l,u,e));return r.O.Mn(n(t.resolved,l),l,u,e),l},Gu=(t,n)=>{Zu("q-e:",t,n)},Xu=(t,n)=>{Zu("q-d:",t,n)},Ku=(t,n)=>{Zu("q-w:",t,n)},Zu=(t,n,e)=>{const{isAdded:i,addEvent:s}=tf();if(!i&&e)if(Array.isArray(n))for(const i of n)s(t+ze(i),e);else s(t+ze(n),e)},tf=()=>{const t=Vo(),n=t.$;let e=t.O.getHostProp(n,Ae);null===e&&(e={},t.O.setHostProp(n,Ae,e));let i=t.O.getHostProp(n,Oe);null===i&&(i=0),t.O.setHostProp(n,Oe,i+1);let s=t.O.getHostProp(n,_e);for(null===s&&(s=[],t.O.setHostProp(n,_e,s));s.length<=i;)s.push(!1);return{isAdded:s[i],addEvent:(t,n)=>{s[i]=!0;let r=e[t];r||(e[t]=r=[]),r.push(n)}}},nf=t=>{const n=Qn(t)&&!Gc(t)?Jt(void 0,t):t;return as(n)},ef=t=>sf(nf,t),sf=(t,...n)=>{const{val:e,set:i}=tl();return null!=e?e:i(t=Qn(t)&&!Gc(t)?Bo(t,...n):t)},rf=(t,n)=>(t.resolve(),cs(t,n)),of=(t,n)=>sf(rf,t,n),lf=os(of),cf=t=>(t.resolve(),fs(t)),uf=t=>sf(cf,t),ff=os(uf),af=(t,n)=>{const{val:e,set:i,i:s,iCtx:r}=tl(),o=n?.strategy??"intersection-observer";if(e)return void(32&e.R||(e.R|=32,hf(e,o)));let l;l=5,t.resolve(),It(r.O,r.$,1);const c=new Xl(5,s,r.$,t,void 0,null);i(c),hf(c,o)},hf=(t,n)=>{"intersection-observer"===n?Gu("qvisible",df(t)):"document-ready"===n?Xu("qinit",df(t)):"document-idle"===n&&Xu("qidle",df(t))},df=t=>Tc(null,"_task",yn,null,[t]),pf=os(Ml),$f=/*#__PURE__*/os(Yl),yf=/*#__PURE__*/os(af),mf=(t,n)=>(t.resolve(),us(t,n)),wf=(t,n)=>sf(mf,t,n),bf=os(wf),vf=()=>{const t=tu({error:void 0});return el(rl,t),t},gf=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 i=Sf.replace('"_URL_"',JSON.stringify(e.path.split("/").pop()));return i=i.replaceAll(/\s\s+/gm,""),As("script",null,{dangerouslySetInnerHTML:"("+i+")(navigator.serviceWorker);",nonce:e.nonce},null,0,"prefetch-service-worker")},Sf=/*#__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)}),kf=()=>null;globalThis.__qwik&&Jn(30,[globalThis.__qwik,fi]),globalThis.__qwik=fi,import.meta.hot&&import.meta.hot.dispose(()=>{globalThis.__qwik=void 0});export{Vc as $,Ds as Fragment,Ac as NoSerializeSymbol,kf as PrefetchGraph,gf as PrefetchServiceWorker,Ls as RenderOnce,El as Resource,Bs as SSRComment,zs as SSRRaw,Js as SSRStream,Qs as SSRStreamBlock,Oc as SerializerSymbol,Vs as SkipRender,Us as Slot,Ii as _CONST_PROPS,Hl as _DomContainer,Si as _EFFECT_BACK_REF,Ui as _EMPTY_ARRAY,Vi as _EMPTY_OBJ,Li as _IMMUTABLE,Al as _SharedContainer,Ss as _SubscriptionData,Wi as _UNINITIALIZED,Ti as _VAR_PROPS,_c as _captures,S as _chk,Tc as _createQRL,xn as _deserialize,gc as _dumpState,Mt as _executeSsrChores,bl as _fnSignal,Yi as _getConstProps,Xo as _getContextContainer,Go as _getContextEvent,Yo as _getContextHostElement,dn as _getDomContainer,$n as _getQContainerElement,Hi as _getVarProps,hc as _hasStoreEffects,Rs as _isJSXNode,pc as _isStore,nn as _isStringifiable,Kl as _isTask,Ko as _jsxBranch,_s as _jsxC,Ms as _jsxQ,Ns as _jsxS,As as _jsxSorted,Os as _jsxSplit,Fn as _mapApp_findIndx,Ln as _mapArray_get,Dn as _mapArray_set,pl as _noopQrl,$l as _noopQrlDEV,Sn as _preprocessState,Jc as _qrlSync,Xt as _qrlToString,wl as _regSymbol,k as _res,sl as _resolveContextWithoutSequentialScope,Xs as _restProps,Nl as _rsc,N as _run,kn as _serialize,cn as _setEvent,yn as _task,g as _val,xc as _verifySerializable,Ir as _vnode_ensureElementInflated,Ao as _vnode_getAttrKeys,so as _vnode_getFirstChild,Cr as _vnode_isMaterialized,Pr as _vnode_isTextVNode,Ar as _vnode_isVirtualVNode,Vt as _vnode_toString,Zo as _waitUntilRendered,on as _walkJSX,ws as _wrapProp,vs as _wrapSignal,Xc as component$,Hc as componentQrl,ds as createAsync$,us as createAsyncQrl,hs as createComputed$,cs as createComputedQrl,nl as createContextId,x as createElement,ps as createSerializer$,fs as createSerializerQrl,as as createSignal,Kc as event$,Bc as eventQrl,ac as forceStoreEffects,dn as getDomContainer,Bt as getLocale,$i as getPlatform,x as h,os as implicit$FirstArg,dl as inlinedQrl,ml as inlinedQrlDEV,Nn as isBrowser,Mn as isDev,_n as isServer,tc as isSignal,Is as jsx,Ts as jsxDEV,Fs as jsxs,Pc as noSerialize,hl as qrl,yl as qrlDEV,Zc as render,pi as setPlatform,Qc as sync$,Bo as untrack,dc as unwrapStore,bf as useAsync$,wf as useAsyncQrl,lf as useComputed$,of as useComputedQrl,sf as useConstant,il as useContext,el as useContextProvider,vf as useErrorBoundary,nu as useId,_l as useLexicalScope,Gu as useOn,Xu as useOnDocument,Ku as useOnWindow,pf as useResource$,Ml as useResourceQrl,ff as useSerializer$,uf as useSerializerQrl,An as useServerData,ef as useSignal,tu as useStore,Qu as useStyles$,Bu as useStylesQrl,Hu as useStylesScoped$,Ju as useStylesScopedQrl,$f as useTask$,Yl as useTaskQrl,yf as useVisibleTask$,af as useVisibleTaskQrl,fi as version,Qt as withLocale};
1
+ function t(t){let n="";const e=t.length;let i=0,r=i;for(;i<e;i++){const e=t.charCodeAt(i);if(60===e)n+=t.substring(r,i)+"&lt;";else if(62===e)n+=t.substring(r,i)+"&gt;";else if(38===e)n+=t.substring(r,i)+"&amp;";else if(34===e)n+=t.substring(r,i)+"&quot;";else{if(39!==e)continue;n+=t.substring(r,i)+"&#39;"}r=i+1}return 0===r?t:n+t.substring(r)}function n(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 e(t,n=Ge){let e,i=!1;try{e=t(),i=!0}catch(t){e=t}if(!Be(e))return i?e:n(e);let r=Je;const s=async e=>{for(;Be(e);)try{return await e,await t()}catch(t){if(!Be(t)){e=t;break}if(! --r){e=Error("Exceeded max retry count in retryOnPromise");break}e=t}return n(e)};return i?e.catch(s):s(e)}function i(t){if(t.endsWith("$")){const[n,e]=(t=>{let n,e=-1;return t.startsWith("on")?(n="q-e:",e=2):t.startsWith("window:on")?(n="q-w:",e=9):t.startsWith("document:on")&&(n="q-d:",e=11),[n,e]})(t);if(-1!==e){const i=t.slice(e,-1);return"DOMContentLoaded"===i?n+"-d-o-m-content-loaded":((t,n)=>n+ti(t))("-"===i.charAt(0)?i.slice(1):i.toLowerCase(),n)}}return null}function r(t,n,e){if((t=>"class"===t)(t)){const t=ii(n);n=e?e+(t.length?" "+t:t):t}else"style"===t?n=(t=>{if(null==t)return"";if("object"==typeof t){if(te(t))throw ie(0,[t,"style"]);{const n=[];for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)){const i=t[e];null!=i&&"function"!=typeof i&&(e.startsWith("--")?n.push(e+":"+i):n.push(ri(e)+":"+si(e,i)))}return n.join(";")}}return t+""})(n):(t=>t.startsWith("aria-")||["spellcheck","draggable","contenteditable"].includes(t))(t)||"number"==typeof n?n=(t=>null!=t?t+"":null)(n):!1===n||null==n?n=null:!0===n&&(t=>t.startsWith("preventdefault:"))(t)&&(n="");return n}function s(t,n,e,i=!1){const r=t.ownerDocument.createElementNS(e,n);for(const n of t.attributes)n.name!==Ue&&r.setAttribute(n.name,n.value);if(i)for(const n of t.childNodes){const t=n.nodeType;3===t?r.appendChild(n.cloneNode()):1===t&&r.appendChild(s(n,n.localName,e,i))}return r}function o(t,n){const e=!t||!(!ho(t)||(i=t,1536&i.flags));var i;const r=!e&&Ci(ho(t));let s=Ce,o=0;const l="string"==typeof n||Ts(n);return l&&(t=>"string"==typeof t?Ei(t):!!Ts(t)&&(Ei(ho(t))||!!(512&t.flags)))(n)?(s=Ee,o=512):l&&(t=>"string"==typeof t?Oi(t):!!Ts(t)&&(Oi(ho(t))||!!(1024&t.flags)))(n)?(s=Oe,o=1024):!t||r||e||(s=512&t.flags?Ee:1024&t.flags?Oe:Ce,o=1536&t.flags),Pi.elementNamespace=s,Pi.elementNamespaceFlag=o,Pi}function l(t,n){const e=d(n).priority;let i=Fi.length;for(let t=0;t<Fi.length;t++)if(e<d(Fi[t]).priority){i=t;break}Fi.splice(i,0,n),t.o++,t.l||=new Promise(n=>t.u=n)}function c(){for(let t=0;t<Fi.length;t++){const n=Fi[t];let e=!1;for(let t=0;t<Li.length;t++)if(Io(n,Li[t])){e=!0;break}if(!e)return n}return null}function u(t,n){Li.push(t),a(t,n,!0),n.o++}function f(t,n){const e=Li.indexOf(t);if(-1!==e){const t=Li.length-1;e!==t&&(Li[e]=Li[t]),Li.pop(),n.o--}l(n,t)}function a(t,n,e){e||(t.flags&=-257);const i=Fi.indexOf(t);-1!==i&&(Fi.splice(i,1),n.o--)}function h(t,n,e){n.position=e,e&&_t(e)&&((t,n,e)=>{a(e,t);const i=d(e);if(i===n)return;const r=i.afterFlushTasks;if(r&&r.length>0){const t=n.afterFlushTasks;t?t.push(...r):n.afterFlushTasks=r}const s=i.extraPromises;if(s&&s.length>0){const t=n.extraPromises;t?t.push(...s):n.extraPromises=s}const o=i.journal;if(o&&o.length>0){const t=n.journal;t?t.push(...o):n.journal=o}})(t,n,e)}function d(t){return zi.get(t)??null}function p(t){return new Proxy({},new Zi(t))}function $(t,n,e){t[Ai]||(t[Ai]=new Map);const i=t[Ai];let r=i.get(n);return r||(r=new lr(t,n),i.set(n,r)),e&&(r.data=e),r}function y(t,n){Ms(n)&&Ts(n)&&mo(n);const e=n[Ai];if(e){for(const[,n]of e)m(t,n);e.clear()}}function m(t,n){const e=n.backRef;if(e){for(const i of e)if(i instanceof pr)b(i,n);else if(i instanceof Qi)w(t,i,n);else if(sr(i))v(i[Hi],n);else if(t.h.has(i)){const e=t.h.get(i);v(xc(e),n)}e.clear()}}function w(t,n,e){const i=n.p;i&&i.has(e)&&i.delete(e),n instanceof Or&&!i?.size&&(n.$=void 0,y(t,n))}function b(t,n){const e=t.p;e&&e.has(n)&&e.delete(n);const i=t.m;i&&i.has(n)&&i.delete(n);const r=t.k;r&&r.has(n)&&r.delete(n),t.q()}function v(t,n){const e=t?.p;if(e)for(const[t,i]of e.entries())i.has(n)&&(i.delete(n),0===i.size&&e.delete(t))}function g(t,n){Ar(this,n),Bc[0].value="number"===n.type?n.valueAsNumber:n.value}function S(t,n){Ar(this,n),Bc[0].value=n.checked}function k(t,n){if(Ar(this,n),Bc)for(const t of Bc)t instanceof pr&&64&t.R&&t.j()}function x(t,n,...e){const i={children:arguments.length>2?e.flat(100):null};let r=null;for(const t in n)"key"==t?r=n[t]:i[t]=n[t];return Dr(t,n,null,i.children,0,r)}function q(t,n){const e=j(t);let i=t;const r="q-e:qvisible";return Ye(e,t=>{const e=!t;let s=null;for(const o in n)if(Object.prototype.hasOwnProperty.call(n,o)){let l=t,c=o;if(e){if(o!==r&&!o.startsWith("q-d:")&&!o.startsWith("q-w:"))continue;if(!s){const[t,n]=C(i);i=n,s=t}l=s}l&&("script"===l.type&&o===r&&(c="q-d:qinit"),R(l,c,n[o]))}return i})}function R(t,n,e){const i=t.constProps||={},r=i[n];null==r?i[n]=e:Array.isArray(r)?r.push(...e):i[n]=[r,...e],t.varProps[n]&&(Array.isArray(r)?r.push(...i[n]):t.varProps[n]=[r,...e],i[n]=void 0)}function j(t){const n=[t];for(;n.length;){const t=n.shift();if(Mr(t)){if("string"==typeof t.type)return t;n.push(t.children)}else if(te(t))n.push(...t);else{if(Be(t))return Ye(t,t=>j(t));if($c(t))return j(t.untrackedValue)}}return null}function C(t){if(Mr(t)){const n=E();return t.type===Yr||au(t.type)?(null==t.children?t.children=n:te(t.children)?t.children.push(n):t.children=[t.children,n],[n,t]):[n,zr(Yr,null,null,[t,n],0,null)]}if("object"!=typeof(n=t)&&"function"!=typeof n||null==n){const n=E();return[n,zr(Yr,null,null,[t,n],0,null)]}var n;if(te(t)&&t.length>0){const[n,e]=C(t[0]);return[n,t]}return[null,t]}function E(){return new Nr("script",null,{hidden:""},null,0,null)}function O(t,n,e,i){if(null!=e){if(i){const i=(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(i)return void((t,n,e,i)=>{os||(os=t.setAttributeNS),os.call(t,n,e,i)})(t,i,n,e)}r=t,ss||(ss=r.setAttribute),ss.call(r,n,e)}var r}function P(t){return!t.startsWith("q:")&&!t.startsWith(Le)}function A(t,n,i,r){if(!i.isConnected)return;r||(r=Ho(n,i));const s=r.O,o=r.$;Bs(s,o);let l=t;if(64&o.flags){let e;128&o.flags||(e=!0,o.flags|=128);const r=e?s._:null,c=Us(o,Te,r);if(null!==c)l=()=>t(n,i,c);else{const e=Us(o,Fe,r);null!==e&&(l=()=>t(n,i,...e))}}return e(()=>{if(!(32&o.flags))return Ht(r,l,[n,i])},t=>s.handleError(t,o))}function _(t,n){if(!n.isConnected)return;const e=Ho(t,n);return"string"==typeof this&&Hc(Yc(e.O,this)),A(Bc[0],t,n,e)}function N(t){return t?t.nextSibling:null}function I(t,n,e,i,r,s){import.meta.env.TEST&&r&&Qs(n,Ve,r),Qs(n,e,s),Tt(t,ys(n.node,e,i,r,!!(512&n.flags)))}function M(t,n,e){if(t.N=e,t.M=null,t.T=yo(e),D(t,n,!0),!(32&t.N.flags))for(;t.L.length;){for(;t.D<t.W;){if("string"==typeof t.U)lt(t,t.U);else if("number"==typeof t.U)lt(t,t.U+"");else if(t.U&&"object"==typeof t.U)if(Mr(t.U)){const n=t.U.type;"string"==typeof n?(G(t),Z(t,t.U,n),t.U.constProps&&ws.call(t.U.constProps,Qe)||ws.call(t.U.varProps,Qe)?H(t,!1):L(t,t.U.children,!0)):"function"==typeof n&&(n===Yr?(G(t),it(t,"F",t.U.key),L(t,t.U.children,!0)):n===Kr?(G(t),Q(t)||L(t,t.U.children,!0)):n===ft?(U(t),L(t,t.U.children,!0,!1)):n===ns||n===ts?Y(t):(G(t),rt(t,n)))}else if(Array.isArray(t.U))L(t,t.U,!1);else if($c(t.U)){it(t,"S",null);const n=t.U instanceof Or?t.U.J():t.U,e=t.T?.[Ai]?.get(".")?.backRef;let i=e?.has(n);if(e&&n instanceof Or&&(i=mt(e,n)),!i){const e=t.M||t.T;L(t,T(t,()=>Ko(n,e,".",t.O)),!0)}}else Be(t.U)&&(it(t,"A",null),t.B.push(t.U,t.M||t.T));else t.U===Zr||lt(t,"");F(t)}Y(t),V(t),z(t)}}function T(t,n){try{return n()}catch(i){if(Be(i)){const r=i.then(()=>e(n));return t.B.push(r,t.M||t.T),null}throw i}}function F(t){if(t.H){if(t.D++,t.D<t.W)t.U=t.Y[t.D];else if(t.L.length>0&&!1===t.L[t.L.length-1])return z(t);null!==t.M?t.M=null:t.T=N(t.T)}else t.H=!0}function L(t,n,e,i=!0){if(i&&(null==n||e&&te(n)&&0===n.length))H(t);else{if(D(t,n,e),e){const n=t.G||!!t.M||!yo(t.T);t.G=n,t.X=null,t.K=null,t.Z=null,t.N=t.M||t.T,t.T=yo(t.N),t.M=null}t.H=!1}}function z(t){t.L.pop()&&(t.G=t.L.pop(),t.X=t.L.pop(),t.K=t.L.pop(),t.Z=t.L.pop(),t.M=t.L.pop(),t.T=t.L.pop(),t.N=t.L.pop()),t.U=t.L.pop(),t.W=t.L.pop(),t.D=t.L.pop(),t.Y=t.L.pop(),F(t)}function D(t,n,e){t.L.push(t.Y,t.D,t.W,t.U),e&&t.L.push(t.N,t.T,t.M,t.Z,t.K,t.X,t.G),t.L.push(e),Array.isArray(n)?(t.D=0,t.W=n.length,t.Y=n,t.U=t.W>0?n[0]:null):void 0===n?(t.D=0,t.U=null,t.Y=null,t.W=0):(t.D=0,t.U=n,t.Y=null,t.W=1)}function W(t){return t.M?t.T:N(t.T)}function U(t){const n=t.U.key;t.T=Us(t.N,n,n=>Gs(t.O.rootVNode,n)),t.T=t.T&&32&t.T.flags?null:t.T,null==t.T&&(t.M=Is(),Qs(t.M,ae,n),t.M.slotParent=t.N,Qs(t.N,n,t.M))}function Q(t){const n=Uo(t.N),e=((t,n)=>{const e=t.U,i=e.constProps;if(i&&"object"==typeof i&&ws.call(i,"name")){const e=i.name;if(n&&e instanceof Or)return Ko(e,n,":",t.O)}return er(e,"name")||""})(t,n),i=n?Us(n,e,null):null;if(null==i)return t.M=Is(),Qs(t.M,ae,e),n&&Qs(n,e,t.M),lo(t.tt,t.N,t.M,t.T&&W(t)),!1;if(i===t.T);else{const r=i.parent;t.M=i,Qs(t.M,ae,e),n&&Qs(n,e,t.M),oo(t.tt,t.M),lo(t.tt,t.N,t.M,t.T&&W(t)),r&&Ts(r)&&!r.firstChild&&ho(r)===je&&fo(t.tt,r.parent,r,!0)}return!0}function V(t){if(t.X){for(const n of t.X.values())32&n.flags||(dt(t.O,t.tt,n,t.nt),fo(t.tt,t.N,n,!0));t.X.clear(),t.X=null}t.T=null}function J(t){for(;t.B.length;){const n=t.B.shift(),e=t.B.shift();if(Be(n))return n.then(n=>(M(t,n,e),J(t))).catch(n=>(t.O.handleError(n,e),J(t)));M(t,n,e)}if(t.et.length){const n=t.et.splice(0);return Promise.all(n).then(()=>J(t))}}function B(t){t.tt=null,t.nt=null}function H(t,n=!0){const e=t.T&&yo(t.T);if(null!==e){let i=e;for(;i;)dt(t.O,t.tt,i,t.nt),i=i.nextSibling;ao(t.tt,t.T,e,n)}}function Y(t){if(null!==t.T)for(;t.T;){const n=t.T;t.T=N(t.T),t.N===n.parent&&(dt(t.O,t.tt,n,t.nt),fo(t.tt,t.N,n,!0))}}function G(t){if(null!==t.T&&zs(t.T)){const n=t.T;t.T=N(t.T),fo(t.tt,t.N,n,!0)}}function X(n,i,s,l){const c=((t,n)=>{const e=o(uo(t.N,!0),n),i=import.meta.env.TEST?t.O.document:document,r=0===e.elementNamespaceFlag?i.createElement(n):i.createElementNS(e.elementNamespace,n);return t.M=As(r,n),t.M.flags|=e.elementNamespaceFlag,r})(n,s),{constProps:u}=i;if(u)for(const i in u){let o=u[i];if(Ze(i))K(i,o,c,n.M,n);else{if("ref"===i){if($c(o)){o.value=c;continue}if("function"==typeof o){o(c);continue}if(null==o)continue;throw ie(15,[l])}if($c(o)){const t=n.M,r=o;o=e(()=>Ko(r,t,i,n.O,n.rt.it))}if(Be(o)){const t=n.M,e=o.then(e=>O(c,i,r(i,e,n.st),!!(512&t.flags)));n.et.push(e);continue}if(i!==Qe)if("textarea"!==s||"value"!==i)O(c,i,r(i,o,n.st),!!(512&n.M.flags));else{if(o&&"string"!=typeof o)continue;c.value=t(o||"")}else o&&(c.innerHTML=o+"",c.setAttribute(qe,"html"))}}const f=i.key;f&&(n.M.key=f),n.st&&(ws.call(i.varProps,"class")||i.constProps&&ws.call(i.constProps,"class")||c.setAttribute("class",n.st)),no(n.tt,n.N,n.M,n.T)}function K(t,n,e,i,r){const s=t.slice(2);if(Array.isArray(n)){const t=n,i=[];for(let n=0;n<t.length;n++){const e=t[n];if(Array.isArray(e))for(let t=0;t<e.length;t++){const n=e[t];n&&i.push(A.bind(null,n))}else e&&i.push(A.bind(null,e))}i.length>0&&((e._qDispatch||={})[s]=i)}else n&&((e._qDispatch||={})[s]=[A.bind(null,n)]);"e"!==t.charAt(2)&&Vs(r.tt,i,t,""),((t,n)=>{const e=import.meta.env.TEST?t.O.document.defaultView:window;e&&(e._qwikEv||=[]).push(n)})(r,s)}function Z(t,n,e){if(t.G)X(t,n,e,null);else{const i=t.T&&Ts(t.T),r=i&&e===ho(t.T),s=n.key;r&&s===(i&&t.T.key)?nt(t,e,s):et(t,e,s,tt(e,s),t.N)&&X(t,n,e,null)}const i=n.varProps;i&&((t,n,e,i)=>{t.G||Bs(t.O,n);const r=n.props;for(const s in e){const o=e[s];if(r&&ws.call(r,s)){const e=r[s];if(o!==e){if(o instanceof Or&&e instanceof Or&&yt(o,e))continue;vs(t,n,s,o,i)}}else null!=o&&vs(t,n,s,o,i)}if(r)for(const s in r)ws.call(e,s)||":"===s.charAt(0)||Ze(s)||vs(t,n,s,null,i)})(t,t.M||t.T,i,null)}function tt(t,n){return null==n?null:t?t+":"+n:n}function nt(t,n,e){const i=tt(n,e);return!(!i||!t.X?.has(i)||(t.X.delete(i),0))}function et(t,n,e,i,r,s){if(t.M=((t,n,e)=>{let i=null;if(null===t.K){const r=t.T;if(r){const i=Ts(r)?ho(r):null;if((ct(r)||ut(r,t.O._))===e&&i===n)return r}t.K=new Map,t.Z=[];let s=t.T;for(;s;){const r=Ts(s)?ho(s):null,o=ct(s)||ut(s,t.O._);null===i&&o==e&&r==n?i=s:null===o?t.Z.push(r,s):t.K.set(tt(r,o),s),s=s.nextSibling}}else if(null===e){for(let e=0;e<t.Z.length;e+=2)if(t.Z[e]===n){i=t.Z[e+1],t.Z.splice(e,2);break}}else{const r=tt(n,e),s=t.K.get(r);s&&(i=s,t.K.delete(r))}return((t,n)=>{if(!n){if(t.T){const n=Ts(t.T)?ho(t.T):null,e=ct(t.T)||ut(t.T,t.O._);if(null!=e){const i=tt(n,e);t.X||=new Map,t.X.set(i,t.T),t.K?.delete(i)}}return}let e=t.T;for(;e&&e!==n;){const n=Ts(e)?ho(e):null,i=ct(e)||ut(e,t.O._);if(null!=i){const r=tt(n,i);t.X||=new Map,t.X.set(r,e),t.K?.delete(r)}e=e.nextSibling}})(t,i),i})(t,n,e),t.M)return i||lo(t.tt,r,t.M,t.T),t.T=t.M,t.M=null,!1;if(null!=i){const n=t.X?.get(i)||null;if(n){if(t.X.delete(i),s&&t.T){const n=ct(t.T)||ut(t.T,t.O._);if(null!=n){const e=tt(Ts(t.T)?ho(t.T):null,n);null!=e&&(t.X||=new Map,t.X.set(e,t.T))}}return n!==t.T&&lo(t.tt,r,n,t.T),t.T=n,t.M=null,!1}}return!0}function it(t,n,e){const i="F"===n,r=ct(t.T);if(!t.T||!Ds(t.T)||r!==e||i&&!e)return null===e||t.G?(eo(t.tt,t.N,t.M=Is(),t.T&&W(t)),void(t.M.key=e)):void(et(t,null,e,tt(null,e),t.N,!0)&&(eo(t.tt,t.N,t.M=Is(),t.T&&W(t)),t.M.key=e));nt(t,null,r)}function rt(t,n){const e=n[fu];let i=t.M||t.T;const r=t.U;if(e){const n=r.props;let s=!1;const[o]=e,l=o.ot,c=ut(i,t.O._),u=r.key||l;if(u===(ct(i)||c)?l===c?nt(t,null,u):(st(t,i,o,n),i=t.M,s=!0):(et(t,null,u,u,t.N)&&(st(t,i,o,n),s=!0),i=t.M||t.T),i){const e=Us(i,Ne,t.O._);if(!s){const l=((t,n,e,i)=>{let r=!1;if(e){const t=at(n[Vi],e[Vi],e[Hi],i,!1);r||=t;const s=at(n[Ji],e[Ji],e[Hi],i,!0);r||=s,e[Bi]=n[Bi]}else n&&(Qs(t,Ne,n),e=n);return r})(i,n,e,t.O);l&&null==r.key&&(st(t,i,o,n),i=t.M,s=!0),s||=l}s&&(Qs(i,ue,o),i.flags&=-33,Mt(t.O,i,4,t.nt))}((t,n,e)=>{const i=Array.isArray(n)?n:[n],r=t=>new Nr(ft,null,null,[],0,t),s=[];if(e){const t=e.props;if(t)for(const n in t)P(n)&&Yn(s,n,r(n),0)}if(0!==s.length||null!=n){for(let t=0;t<i.length;t++){const n=i[t],e=(Mr(n)&&er(n,ae)||"")+"",o=Hn(s,e,0);let l;o>=0?l=s[o+1]:s.splice(~o,0,e,l=r(e)),!1===n||l.children.push(n)}for(let t=s.length-2;t>=0;t-=2)s.splice(t,1);L(t,s,!0)}})(t,r.children,i)}else{const e=r.key,s=e===ct(i),o=ut(i,t.O._);if(i&&null!=o||!i?(ot(t),i=t.M):s?nt(t,null,e):(et(t,null,e,e,t.N)&&ot(t),i=t.M||t.T),i){let e=i;for(;e&&(!Ds(e)||null===Us(e,ue,null));)e=e.parent||Uo(e);const s=Xr(t.O,i,e||t.O.rootVNode,n,r.props);t.B.push(s,i)}}}function st(t,n,e,i){n&&y(t.O,n),eo(t.tt,t.N,t.M=Is(),t.T&&W(t));const r=t.U;Qs(t.M,ue,e),Qs(t.M,Ne,i),t.M.key=r.key}function ot(t){eo(t.tt,t.N,t.M=Is(),t.T&&W(t));const n=t.U;Qs(t.M,Ne,n.props),n.key&&(t.M.key=n.key)}function lt(t,n){if(null!==t.T&&3===Do(t.T))return n!==po(t.T)?void $o(t.tt,t.T,n):void 0;no(t.tt,t.N,t.M=Ns((import.meta.env.TEST?t.O.document:document).createTextNode(n),n),t.T)}function ct(t){return null==t||zs(t)?null:t.key}function ut(t,n){if(null==t||zs(t))return null;const e=Us(t,ue,n);return e?e.ot:null}function ft(){}function at(t,n,e,i,r=!0){if(ht(t)&&ht(n))return!1;e.O=i;let s=!1;if(t)for(const i in t)if("children"!==i&&i!==we&&(!n||t[i]!==n[i])){if(!r)return!0;n&&(n[i]=t[i]),nr(e,i)||(s=!0)}if(n)for(const i in n)"children"===i||i===we||t&&ws.call(t,i)||!r||(delete n[i],nr(e,i)||(s=!0));return s}function ht(t){return!t||wi(t)}function dt(t,n,e,i=null){let r=e;if(zs(e))return void $t(r);let s=null;for(;;){const o=r.flags;if(3&o){if(y(t,r),$t(r),2&o&&null!==Us(r,ue,null)){const e=t.getHostProp(r,Ie);if(e)for(let n=0;n<e.length;n++){const s=e[n];if(Zn(s)){const n=dc(s);if(n&&1&s.R){s.R|=16,Mt(t,r,64,i);continue}(s instanceof Qi||Ec(s))&&y(t,s),(n||s instanceof pr)&&ms(s)}}const s=r.props;if(s)for(const e of Object.keys(s))if(P(e)){const r=s[e];if(r){s[e]=null;const o="string"==typeof r?Gs(t.rootVNode,r):r;let l=yo(o);for(;l;)dt(t,n,l,i),l=l.nextSibling;pt(n,o)}}}if(Ws(r)){if(r===e){const t=yo(r);if(t)return void zt(t,()=>{})}}else{const t=yo(r);if(t){r=t;continue}}}else 4&o&&$t(r);if(r===e)return;const l=r.nextSibling;if(l)r=l;else{for(s=r.parent;s;){if(s===e)return;const t=s.nextSibling;if(t){r=t;break}s=s.parent}if(null==s)return}}}function pt(t,n){const e=n.parent;e&&1&e.flags&&ho(e)===je&&fo(t,e,n,!0)}function $t(t){t.flags|=32}function yt(t,n){return t===n||n.lt===t.lt&&((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.ct,t.ct)}function mt(t,n){if(!(n instanceof Or))return!1;for(const e of t)if(e instanceof Or&&yt(e,n))return!0;return!1}function wt(t,n,e){t.dirty&=-2;const i=n.getHostProp(t,Ie);if(!i||0===i.length)return;let r;for(const s of i)if(s instanceof hc){const i=s;if(!(4&i.R))continue;if(1&i.R)(e.afterFlushTasks||=[]).push(i);else{const s=!!(8&i.R),o=ac(i,n,t);Be(o)&&(s?r=r?r.then(()=>o):o:(e.extraPromises||=[]).push(o))}}return r}function bt(t,n,e,i){t.dirty&=-3;const r=t;let s=(t=>{const n=t.props;return n?.[Wi]})(t);if(s)return $c(s)&&(s=s.value),bs(n,e,s,r,i,null)}function vt(t,n,i,r){t.dirty&=-5;const s=t,o=n.getHostProp(s,ue);if(!o)return;const l=n.getHostProp(s,Ne)||null,c=He(()=>Xr(n,s,s,o,l),t=>{const o=n.getHostProp(s,ye);return e(()=>bs(n,i,t,s,r,Ke(o)))},t=>{n.handleError(t,s)});return Be(c)?c:void 0}function gt(t,n,e,i,r,s=null){n.push(ys(t.node,e,i,s,!!(512&t.flags))),r||(t.props&&null==i?delete t.props[e]:(t.props||={})[e]=i)}function St(t,n){if(t.dirty&=-9,!(1&t.flags))return;const e=(t=>(t.props||={})[Di]??null)(t);if(!e||0===e.size)return;const i=t;for(const[t,r]of e.entries()){let e=r.value;$c(e)&&(e=e.value),gt(i,n,t,e,r.isConst,r.scopedStyleIdPrefix)}(t=>{delete(t.props||={})[Di]})(t)}function kt(t,n){t.dirty&=-65;const e=n.getHostProp(t,Ie);if(e&&0!==e.length)for(const t of e)t instanceof hc&&16&t.R&&(t.R&=-17,ms(t))}function xt(t,n){t.dirty&=-17;const i=n.getHostProp(t,Ui);if(!i)return;const r=i.p,s=Gt();return s.O=n,Ye(e(()=>Bt.call(i,s,i.j)),()=>{if(2&i.R)return i.R&=-3,bc(n,i,r)})}function qt(){Cs||(Cs=!0,qs())}function Rt(){Cs||(Cs=!0,js())}function jt(t={timeBudget:1e3/60}){Cs=!1;let n=null;for(;n=c();)Ct(n,t)}function Ct(t,n){const{timeBudget:e}=n,i=import.meta.env.TEST?Ri():_n,r=performance.now(),s=d(t);if(s.promise)return;const o=s.container;if(!t.dirty)return void Et(o,t,s,i);const l=s.journal||=[];let c=null;for(;c=s.position;){if(s.promise)return;if(!(127&c.dirty)){h(o,s,At(c,t));continue}if(32&c.flags){if(64&c.dirty)kt(c,o);else if(32&c.dirty){const n=Pt(o,s,c,t);if(null!==n){c=n;continue}}c.dirty&=-128,h(o,s,At(c,t));continue}let n;try{if(1&c.dirty)n=wt(c,o,s);else if(2&c.dirty)n=bt(c,o,l,t);else if(4&c.dirty)n=vt(c,o,l,t);else if(8&c.dirty)St(c,l);else if(16&c.dirty)n=xt(c,o);else if(32&c.dirty){const n=Pt(o,s,c,t);if(null!==n){c=n;continue}}}catch(t){o.handleError(t,c)}if(n&&Be(n)){s.promise=n,u(t,o);const e=c;return void n.catch(t=>{o.handleError(t,e)}).finally(()=>{s.promise=null,f(t,o),qt()})}if(performance.now()-r>=e)return void Rt()}Et(o,t,s,i)}function Et(t,n,e,i){if(!(127&n.dirty)){if(a(n,t),i||((t,n)=>{const e=d(t),i=e.journal;i&&i.length>0&&((t=>{let n=null,e=null,i=null;const s=new Set,o=()=>{if(i){if(1===i.length)Ss(n,i[0],e);else{const t=(n.ownerDocument||n).createDocumentFragment();for(let n=0;n<i.length;n++)t.appendChild(i[n]);Ss(n,t,e)}i=null,n=null,e=null,s.clear()}};for(let l=0;l<t.length;l++){const c=t[l];if(c instanceof as){if(n===c.parent&&e===c.beforeTarget){i||(i=[]),i.push(c.target),s.add(c.target);continue}if(!i){n=c.parent,e=c.beforeTarget,i=[c.target],s.add(c.target);continue}if(n===c.parent){o(),n=c.parent,e=c.beforeTarget,i=[c.target],s.add(c.target);continue}if(s.has(c.target)||e&&c.target===e||n&&c.target===n){o(),n=c.parent,e=c.beforeTarget,i=[c.target],s.add(c.target);continue}Ss(c.parent,c.target,c.beforeTarget)}else if(c instanceof cs)(s.has(c.target)||e&&c.target===e||n&&c.target===n)&&o(),c.target.remove();else{if(c instanceof us){(s.has(c.target)||e&&c.target===e||n&&c.target===n)&&o(),c.target.textContent="";continue}if(c instanceof fs)c.target.nodeValue=c.text;else if(c instanceof hs){const t=c.target,e=c.attrName,i=c.attrValue,s=null!=i?r(e,i,c.scopedStyleIdPrefix):null,l=null==s||!1===s;ks(t,e)?t[e]=xs(s):e===Qe?(n===t&&o(),t.innerHTML=s,t.setAttribute(qe,"html")):l?t.removeAttribute(e):"value"===e&&e in t?t.value=s:O(t,e,s,c.isSvg)}}}o()})(i),e.journal=null),((t,n)=>{const e=n.afterFlushTasks;if(!e||0===e.length)return void(n.afterFlushTasks=null);let i;for(const n of e){const e=ac(n,t,n.ut);Be(e)&&(i=i?i.then(()=>e):e)}i&&(n.extraPromises||=[]).push(i),n.afterFlushTasks=null})(n,e)})(n,t),e.extraPromises)return void Promise.all(e.extraPromises).then(()=>{Ot(t)});Ot(t)}}function Ot(t){t.ft()}function Pt(t,n,e,i){const r=e.dirtyChildren;if(!r||0===r.length)return e.dirty&=-33,null;((t,n)=>{let e=0;for(let i=0;i<t.length;i++){const r=t[i];if(r.parent===n){if(e!==i){const n=t[e];t[e]=r,t[i]=n}e++}}})(r,e),e.nextDirtyChildIndex=0;const s=At(r[0],i);return h(t,n,s),s}function At(t,n){if(t===n)return 127&n.dirty?n:null;let e=null;if(t.slotParent&&32&t.slotParent.dirty?e=t.slotParent:t.parent&&32&t.parent.dirty&&(e=t.parent),!e)return 127&n.dirty?n:null;const i=e.dirtyChildren;let r=e.nextDirtyChildIndex;const s=i.length;let o=s;for(;o-- >0;){const t=i[r];if(127&t.dirty)return e.nextDirtyChildIndex=(r+1)%s,t;r++,r===s&&(r=0)}return e.dirty&=-33,e.dirtyChildren=null,e.nextDirtyChildIndex=0,At(e,n)}function _t(t){return!!(256&t.flags)}function Nt(t,n){if(!(1&n.flags))return 8&n.dirty&&((t,n)=>{n.dirty&=-9;const e=n.getProp(Di);if(e&&0!==e.size)for(const[i,s]of e.entries()){let e=s.value;$c(e)&&(e=e.value);const o=r(i,e,s.scopedStyleIdPrefix);t.addBackpatchEntry(n.id,i,o)}})(t,n),16&n.dirty&&xt(n,t),127&n.dirty&&Jn(`A chore was scheduled on a host element that has already been streamed to the client.\n This can lead to inconsistencies between Server-Side Rendering (SSR) and Client-Side Rendering (CSR).\n \n Problematic chore:\n - Host: ${""+n}\n - Nearest element location: ${n.currentFile}\n \n This is often caused by modifying a signal in an already rendered component during SSR.`),void(n.dirty&=-128);let e=null;if(1&n.dirty){const i=((t,n)=>{n.dirty&=-2;const e=n.getProp(Ie);if(!e||0===e.length)return null;let i=null;for(const r of e)if(r instanceof hc){const e=r;if(!(4&e.R))continue;const s=ac(e,t,n);i=i?i.then(()=>s):s}return i})(t,n);Be(i)&&(e=i)}return n.dirty&=-124,e||void 0}function It(t){for(let n=0;n<Es.length;n++){const e=Es[n],i=Es[n+1]||t;i.dirty|=32,i.dirtyChildren||=[],i.dirtyChildren.includes(e)||i.dirtyChildren.push(e)}}function Mt(t,n,e,i=null){const r=n.dirty;if(n.dirty|=e,import.meta.env.TEST?Ri():_n){const e=Nt(t,n);return void(Be(e)&&(t.l=t.l?t.l.then(()=>e):e))}const s=127&e;if((s?127&r:r)||n===i)return;const o=n.slotParent||n.parent;if(i&&s&&o&&!o.dirty)((t,n)=>{Es.push(t);let e=t.slotParent||t.parent;for(;e;){const i=127&e.dirty,r=_t(e);if(e===n||i){if(It(e),r){const n=d(e);n.position!==e&&(n.position=t)}return void(Es.length=0)}if(r){const n=d(e);n.position!==e&&(n.position=t)}Es.push(e),e=e.slotParent||e.parent}Es.length=0,(()=>{throw Bn(!1,"Cursor root not found in current path!")})()})(n,i);else if(o&&127&o.dirty){if(s&&(o.dirty|=32),o.dirtyChildren||=[],o.dirtyChildren.includes(n)||o.dirtyChildren.push(n),s&&n.dirtyChildren){const t=(t=>{for(;t;){if(_t(t))return t;t=t.parent||t.slotParent}return null})(n);if(t){const e=d(t);let i=e.position;if(i)for(;i!==t;)if(i=i.slotParent||i.parent,i===n){e.position=n;break}}}}else _t(n)||(t=>{Es.push(t);let n=t.slotParent||t.parent;for(;n;){if(_t(n))return It(n),Es.length=0,!0;Es.push(n),n=n.slotParent||n.parent}return Es.length=0,!1})(n)||((t,n)=>{zi.set(n,{afterFlushTasks:null,extraPromises:null,journal:null,container:t,position:n,priority:0,promise:null});const e=n;e.flags|=256,l(t,e),qt()})(t,n)}function Tt(t,n){t.push(n)}function Ft(t,n,e,i){const r=t.value,s=n.slice(2),o=r.split("|").map(t=>{const n=Zt(t);return n.O=e,n});(i._qDispatch||={})[s]=o}function Lt(t,n,e){let i=yo(n);for(;i;)zs(i)?(Ys(t,i),e(i,n)):Ts(i)?e(i,n):Lt(t,i,e),i=i.nextSibling}function zt(t,n){let e=t;if(zs(t))return void n?.(t,null);let i=null;for(;;){if(n?.(e,i))return;const r=yo(e);if(r){e=r;continue}if(e===t)return;const s=e.nextSibling;if(s)e=s;else{for(i=e.parent;i;){if(i===t)return;const n=i.nextSibling;if(n){e=n;break}i=i.parent}if(null==i)return}}}function Dt(t,n,e,i){for(;t;){if(t.nodeValue?.startsWith(n))return e.call(t)||null;let r=i.call(t);r||(r=e.call(t)),r||(r=Ro(t),r&&(r=e.call(r))),t=r}return null}function Wt(t,n,e){t[Ai]?((t,n)=>{for(const[e,i]of n)t.set(e,i)})(t[Ai],e._(n)):Object.defineProperty(t,Ai,{get(){const i=e._(n);return t[Ai]=i,i},set(n){Object.defineProperty(t,Ai,{value:n,writable:!0,enumerable:!0,configurable:!0})},enumerable:!0,configurable:!0})}function Ut(t=20,n="",e=!1,i=!1,r=!0,s=null){if(this&&!s)try{s=(()=>{let t=this;for(;t;){if(Ts(t)){const n=yn(t.node);return n?$n(n):null}t=t.parent}return null})()}catch{}let o=this;if(0===t)return"...";if(null===o)return"null";if(void 0===o)return"undefined";const l=[];do{if(zs(o))l.push(wn(po(o)));else if(Ds(o)){const e=["["+(o.flags>>>11)+"]"];o.dirty&&e.push(" dirty:"+o.dirty),s&&No(s,o).forEach(t=>{if(t!==oe&&t!==Ve){const n=Us(o,t,null);e.push(" "+t+"="+wn(n))}});const i=(r?"":"")+(le[Us(o,oe,null)||"V"]||le.V)+(r?"":"");l.push("<"+i+e.join("")+">");const c=yo(o);c&&l.push(" "+Ut.call(c,t-1,n+" ",!0,!0,r)),l.push("</"+i+">")}else if(Ts(o)){const i=ho(o),c=[];_t(o)&&c.push(" cursor"),o.dirty&&c.push(" dirty:"+o.dirty),o.dirtyChildren&&c.push(` dirtyChildren[${o.dirtyChildren.length}]`);const u=s?No(s,o):[];for(const t of u){const n=Us(o,t,null);c.push(" "+t+"="+wn(n))}const f=To(o);if(f){const t=Po(f).qVNodeData?.get(f);t&&c.push(" q:vnodeData="+wn(t))}const a=f.attributes;for(let t=0;t<a.length;t++){const n=a[t];-1===u.indexOf(n.name)&&c.push(" "+n.name+(n.value?"="+wn(n.value):""))}if(l.push("<"+i+c.join("")+">"),Ls(o)||e){const e=yo(o);e&&l.push(" "+Ut.call(e,t-1,n+" ",!0,!0,r))}else l.push(" \x3c!-- not materialized --!>");l.push("</"+i+">")}o=i&&o.nextSibling||null}while(o);return l.join("\n"+n)}function Qt(t){return!t.hasAttribute(Ue)||"STYLE"===t.nodeName&&(t.hasAttribute(ye)||t.hasAttribute(de))}function Vt(t){if(void 0===Qo){const n=Jo();if(n&&n.ht)return n.ht;if(void 0!==t)return t;throw Error("Reading `locale` outside of context.")}return Qo}function Jt(t,n){const e=Qo;try{return Qo=t,n()}finally{Qo=e}}function Bt(t,n,...e){return Ht.call(this,t,n,e)}function Ht(t,n,e){const i=Vo;try{return Vo=t,n.apply(this,e)}finally{Vo=i}}function Yt(t,n,e){const i={$:n,dt:Pe,$t:void 0,ht:t,O:e,yt:void 0};return Wn(i),i}function Gt(t,n,e){const i={$:n,dt:e,$t:void 0,ht:t||(e&&Zn(e)&&"locale"in e?e.locale:void 0),O:void 0};return Wn(i),i}function Xt(t,n,e){let i=n.wt,r=n.bt;const s=qi();if(s){const t=s.chunkForSymbol(i,r);t&&(r=t[1],i=t[0])}var o;if(se(o=n)&&o.wt==re)r="",i=t.vt(null,0,n.resolved)+"";else{if(r||(r=t.gt(n.ot)),!r)throw ie(14,[n.wt]);r.startsWith("./")&&(r=r.slice(2))}const l=n.getCaptured();let c=null;if(l&&l.length>0&&(c=l.map(n=>""+t.St(n)).join(" ")),e)return[r,i,c];let u=`${r}#${i}`;return c&&(u+="#"+c),u}function Kt(t,n,e){return Kc(t,n,null,null,e)}function Zt(t){const[n,e,i]=t.split("#");return Kt(n,e,i||null)}function tn(t,n){return n?t.rootVNode?Gs(t.rootVNode,n):void 0:t.element?.ownerDocument}function nn(t){return null===t||"string"==typeof t||"number"==typeof t||"boolean"==typeof t}function en(t,n){return n.kt&&"{"===n.kt[0]&&(n.kt=`(${n.kt})`),[t.vt(n.kt,n.ct.length,n.lt),n.ct]}function rn(t){return Object.prototype.hasOwnProperty.call(t,we)?t[we]:void 0}function sn(t,n,e){return()=>{t.currentStyleScoped=n,t.parentComponentFrame=e}}async function on(t,n,i){const r=[n],s=t=>r.push(t);await(async()=>{for(;r.length;){const n=r.pop();if(n===Ll){const t=r.pop();await e(()=>r.push(t()));continue}"function"!=typeof n?ln(t,s,n,i):n===Promise?r.push(await r.pop()):await n.apply(t)}})()}function ln(t,n,e,i){if(null==e)t.textNode("");else if("boolean"==typeof e)t.textNode("");else if("number"==typeof e)t.textNode(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($c(e)){((t,n)=>{const e=n instanceof Or?n.J():n;e instanceof pr&&e.xt>0&&(t.St(e),t.qt.add(e))})(t.serializationCtx,e),t.openFragment(Ki);const i=t.getOrCreateLastNode(),r=e instanceof Or?e.J():e;n(t.closeFragment),n(()=>Ko(r,i,".",t)),n(Ll)}else if(Be(e))t.openFragment(Ki),n(t.closeFragment),n(e),n(Promise),n(()=>t.streamHandler.flush());else if((t=>!!t[Symbol.asyncIterator])(e))n(async()=>{for await(const n of e)await on(t,n,{currentStyleScoped:i.currentStyleScoped,parentComponentFrame:i.parentComponentFrame}),t.streamHandler.flush()});else{const r=e,s=r.type;if("string"==typeof s){((t,n)=>{null==er(t,"class")&&n&&(t.constProps||(t.constProps={}),t.constProps.class="")})(r,i.currentStyleScoped);const e=t.openElement(s,r.key,r.varProps,r.constProps,i.currentStyleScoped,null,!!(4&r.flags));e&&t.htmlNode(e),n(t.closeElement),"head"===s?(t.emitQwikLoaderAtTopIfNeeded(),t.emitPreloaderPre(),n(t.additionalHeadNodes)):"body"===s?n(t.additionalBodyNodes):t.isHtml||t._didAddQwikLoader||(t.emitQwikLoaderAtTopIfNeeded(),t.emitPreloaderPre(),t._didAddQwikLoader=!0);const o=r.children;null!=o&&n(o)}else if(ee(s))if(s===Yr){t.openFragment(null!=r.key?{[_e]:r.key}:{}),n(t.closeFragment);const e=r.children;null!=e&&n(e)}else if(s===Kr){const e=i.parentComponentFrame;if(e){const s={};s["q:sparent"]=e.componentNode.id||"",t.openProjection(s);const o=e.componentNode,l=t.getOrCreateLastNode(),c=((t,n,e)=>{const i=n.constProps;if(i&&"object"==typeof i&&"name"in i){const n=i.name;if(n instanceof Or)return Ko(n,t,":",e)}return er(n,"name")||Ae})(o,r,t);s[ae]=c,n(sn(i,i.currentStyleScoped,i.parentComponentFrame)),n(t.closeProjection);const u=r.children||null,f=e.consumeChildrenForSlot(l,c)||u;u&&f!==u&&t.addUnclaimedProjection(e,Ae,u),n(f),n(sn(i,e.projectionScopedStyle,e.projectionComponentFrame))}else t.openFragment(Ki),t.closeFragment()}else if(s===ns)t.commentNode(er(r,"data")||"");else if(s===is){t.streamHandler.flush();const e=r.children;let s;s=ee(e)?e({async write(n){await on(t,n,{currentStyleScoped:i.currentStyleScoped,parentComponentFrame:i.parentComponentFrame}),t.streamHandler.flush()}}):e,n(s),Be(s)&&n(Promise)}else if(s===ts)t.htmlNode(er(r,"data"));else if(s===es)t.streamHandler.streamBlockStart(),n(()=>t.streamHandler.streamBlockEnd()),n(r.children);else if(au(s)){t.openComponent({});const e=t.getOrCreateLastNode(),o=t.getParentComponentFrame();o.distributeChildrenIntoSlots(r.children,i.currentStyleScoped,i.parentComponentFrame);const l=((t,n,e)=>{const i=t.getOrCreateLastNode(),[r]=e[fu],s=n.props;return s&&s.children&&delete s.children,i.setProp(ue,r),i.setProp(Ne,s),null!==n.key&&i.setProp(_e,n.key),Xr(t,i,i,r,s)})(t,r,s);if(n(sn(i,i.currentStyleScoped,i.parentComponentFrame)),n(t.closeComponent),Be(l))n(async()=>{const t=await l,r=Ke(e.getProp(ye));n(t),n(sn(i,r,o))});else{n(l);const t=Ke(e.getProp(ye));n(sn(i,t,o))}}else{t.openFragment({[_e]:r.key}),n(t.closeFragment);const e=t.getParentComponentFrame(),i=((t,n,e,i)=>{const r=t.getOrCreateLastNode();return Xr(t,r,n,e,i.props)})(t,e&&e.componentNode,s,r);n(i),Be(i)&&n(Promise)}}}function cn(t,n,e,i){let r=null;const s=e,o=t=>{r=(null==r?"":r+"|")+t},l=n=>(n.wt.startsWith("_")||!n.Rt?.length&&!i||(n=Kc(null,"_run",_,null,[n])),Xt(t,n));if(Array.isArray(s))for(let e=0;e<s.length;e++){const r=s[e];if(se(r))o(l(r)),un(t,n,r);else if(null!=r){const e=cn(t,n,r,i);e&&o(e)}}else se(s)&&(r=l(s),un(t,n,s));return r}function un(t,n,e){const i=[(r=n).charAt(2),r.substring(4)];var r;if(i){const[n,r]=i,s=((t,n)=>t+":"+n)(n,r);t.jt.add(s),t.Ct.add(e)}}function fn(t){Jo()&&(Xl||=gl(Gl,"_hmr"),Jl((t=>"qHmr"+t.replace(/[^a-zA-Z0-9_]/g,"_"))(t),Xl))}function an(t,n,e){if(0===n)return e;const i=yl(t,n,e);return nc(n)&&Zl(t,i,n,e),i}function hn(t,n){if(t)for(const e of t)e.backRef||=new Set,e.backRef.add(n)}function dn(t,n){if(t)for(const[,e]of t)hn(e,n)}function pn(t){const n=yn(t);if(!n)throw ie(24);return $n(n)}function $n(t){const n=t;return n.qContainer||=new uc(n)}function yn(t){return t.closest("[q\\:container]:not([q\\:container=html]):not([q\\:container=text])")}function mn(t,n){const e=pn(n);"string"==typeof this&&Hc(Yc(e,this));const i=Bc[0];i.R|=4,Mt(e,i.ut,1)}function wn(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 t+"";if(dc(t))return`Task(${wn(t.Et)})`;if(se(t))return`Qrl(${t.wt})`;if("object"==typeof t||"function"==typeof t){if(Sc.includes(t))return"*";try{if(Sc.push(t),Array.isArray(t))return Ms(t)?"("+(Us(t,oe,null)||"vnode")+")":t.map(wn);if($c(t))return t instanceof Or?"WrappedSignal":t instanceof hr?"ComputedSignal":"Signal";if(Ec(t))return"Store";if(Mr(t))return kc(t);if(Ms(t))return"("+(Us(t,oe,null)||"vnode")+")"}finally{Sc.pop()}}}catch(t){return console.error("ERROR in qwikDebugToString",t),"*error*"}return t}function bn(t,n,e){return new Proxy(n,new Pc(e,t||null))}function vn(t,n,e,i){const r=e.p||=new Map;let s=r.get(n);s||(s=new Set,r.set(n,s)),yc(s,i),mc(i,t),(import.meta.env.TEST?!cc(e.O):_n)&&wc(i,e.O)}function gn(t,n,e,i){e[t]=n;const r=Sn(e,t,i.p);r&&bc(i.O,i,r)}function Sn(t,n,e){let i;if(e)if(Array.isArray(t))for(const t of e.values()){i||=new Set;for(const n of t)i.add(n)}else i=e.get(n);const r=e?.get(fr);if(r){i||=new Set;for(const t of r)i.add(t)}return i}function kn(t,n){const e=(t,n)=>1===t&&"string"==typeof n,i=t=>14===t,r=n=>{const e=t[n+1].split(" ");let i=t,r=1,s=0,o=0,l=null;for(let n=0;n<e.length;n++)if(l=i,s=2*parseInt(e[n],10),o=s+1,r=i[s],i=i[o],1===r){const n=2*i;r=t[n],i=t[n+1]}l&&(l[s]=1,l[o]=n/2),t[n]=r,t[n+1]=i};for(let s=0;s<t.length;s+=2)e(t[s],t[s+1])?r(s):i(t[s])&&(n.Ot=t[s+1])}async function xn(t){const n=Tl(null,null,()=>"",()=>{},new WeakMap);return n.St(t),await n.Pt(),""+n.At}function qn(t){if(null==t)throw Error("No state data to deserialize");const n=JSON.parse(t);if(!Array.isArray(n)||n.length<2||"number"!=typeof n[0])throw Error("Invalid state data");const e=(t=>{let n;const e={_:t=>Rn(t,n),getSyncFn:()=>()=>{},h:new WeakMap,element:null,Ot:null};return kn(t,e),n=rc(e,t),e._t=n,e})(n);return an(e,n[0],n[1])}function Rn(t,n){return"string"==typeof t?n[t=parseInt(t,10)]:n[t]}function jn(t,n,e){const i=(...r)=>t.resolved?e&&!1===e()?void 0:Ht.call(this,n,t.resolved,r):t.resolve().then(t=>{if(!ee(t))throw ie(5);return i(...r)});return i}function Cn(){return this.wt}function En(){return this.ot}function On(){return Gc(this),this.Rt}function Pn(t,n){const e=Jo();return e?.O?.Nt[t]??n}import{p as An}from"@qwik.dev/core/preloader";const _n=!1,Nn=!0,In=!1,Mn=globalThis,Tn=!1!==Mn.qDev,Fn=!1!==Mn.qSerialize,Ln=!1!==Mn.qDynamicPlatform,zn=!0===Mn.qTest,Dn=!0===Mn.qRuntimeQrl,Wn=t=>{Tn&&Object.seal(t)},Un=Tn?"background: #564CE0; color: white; padding: 2px 3px; border-radius: 2px; font-size: 0.8em;":"",Qn=/*#__PURE__*/new Set,Vn=(t,...n)=>{if(Tn){const e="warn"+t;Qn.has(e)||(Qn.add(e),Jn(t,...n))}},Jn=(t,...n)=>{Tn&&console.warn("%cQWIK WARN",Un,t,...n)},Bn=(t,n,...e)=>{const i=n instanceof Error?n:Error(n);return!zn&&console.error("%cQWIK ERROR",Un,i.message,...e,i.stack),t&&!zn&&setTimeout(()=>{throw i},0),i},Hn=(t,n,e)=>{let i=e>>1,r=t.length-2>>1;for(;i<=r;){const e=i+(r-i>>1),s=t[e<<1];if(s===n)return e<<1;s<n?i=e+1:r=e-1}return~(i<<1)},Yn=(t,n,e,i,r=!1)=>{const s=Hn(t,n,i);s>=0?null!=e||r?t[s+1]=e:t.splice(s,2):(null!=e||r)&&t.splice(-1^s,0,n,e)},Gn=(t,n,e)=>{const i=Hn(t,n,e);return i>=0?t[i+1]:null},Xn=(t,n,e)=>Hn(t,n,e)>=0,Kn=t=>{const n=Object.getPrototypeOf(t);return n===Object.prototype||n===Array.prototype||null===n},Zn=t=>"object"==typeof t&&null!==t,te=t=>Array.isArray(t),ne=t=>"string"==typeof t,ee=t=>"function"==typeof t,ie=(t,n=[])=>{const e=((t,...n)=>{if(Tn){let e=["Error while serializing class or style attributes","Scheduler not found","track() received object, without prop to track","Only primitive and object literals can be serialized. {{0}}","You can render over a existing q:container. Skipping render().","QRL is not a function","Dynamic import {{0}} not found","Unknown type argument","Actual value for useContext({{0}}) can not be found, make sure some ancestor component has set a value using useContextProvider(). In the browser make sure that the context was used during SSR so its state was serialized.","Invoking 'use*()' method outside of invocation context.","Calling a 'use*()' method outside 'component$(() => { HERE })' is not allowed. 'use*()' methods provide hooks to the 'component$' state and lifecycle, ie 'use' hooks can only be called synchronously within the 'component$' function or another 'use' method.\nSee https://qwik.dev/docs/core/tasks/#use-method-rules",'The provided Context reference "{{0}}" is not a valid context created by createContextId()',"SsrError(tag): {{0}}","QRLs can not be resolved because it does not have an attached container. This means that the QRL does not know where it belongs inside the DOM, so it cant dynamically import() from a relative path.","QRLs can not be dynamically resolved, because it does not have a chunk path","{{0}}\nThe JSX ref attribute must be a Signal","Serialization Error: Deserialization of data type {{0}} is not implemented","Serialization Error: Expected vnode for ref prop, but got {{0}}","Serialization Error: Cannot allocate data type {{0}}","Serialization Error: Missing root id for {{0}}","Serialization Error: Serialization of data type {{0}} is not implemented","Serialization Error: Unvisited {{0}}","Serialization Error: Missing QRL chunk for {{0}}","{{0}}\nThe value of the textarea must be a string found {{1}}","Unable to find q:container","Element must have 'q:container' attribute.","Unknown vnode type {{0}}.","Materialize error: missing element: {{0}} {{1}} {{2}}","Cannot coerce a Signal, use `.value` instead","useComputed$ QRL {{0}} {{1}} cannot return a Promise",'===\nQwik version {{0}} already imported while importing {{1}}.\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',"WrappedSignal is read-only","Attribute value is unsafe for SSR {{0}}","SerializerSymbol function returned rejected promise","Serialization Error: Cannot serialize function: {{0}}"][t]??"";return n.length&&(e=e.replaceAll(/{{(\d+)}}/g,(t,e)=>{let i=n[e];return i&&Zn(i)&&i.constructor===Object&&(i=JSON.stringify(i).slice(0,50)),i})),`Code(Q${t}): ${e}`}return`Code(Q${t}) https://github.com/QwikDev/qwik/blob/build/v2/packages/qwik/src/core/shared/error/error.ts#${n.join()}L${9+t}`})(t,...n);return((t,...n)=>Bn(Tn,t,...n))(e,...n)},re="<sync>",se=t=>"function"==typeof t&&"function"==typeof t.getSymbol,oe="q:type",le={V:"Virtual",F:"Fragment",S:"Signal",A:"Awaited",C:"Component",I:"InlineComponent",P:"Projection"},ce=124,ue="q:renderFn",fe="⚡️",ae="q:slot",he="q:s",de="q:style",pe="style[q\\:style]",$e=pe+",style[q\\:sstyle]",ye="q:sstyle",me="q:ctx",we="q:brefs",be=(t,n)=>t["qFuncs_"+n]||[],ve="q:base",ge="q:container-island",Se="/"+ge,ke="q:ignore",xe="/"+ke,qe="q:container",Re="/"+qe,je="q:template",Ce="http://www.w3.org/1999/xhtml",Ee="http://www.w3.org/2000/svg",Oe="http://www.w3.org/1998/Math/MathML",Pe="qRender",Ae="",_e="q:key",Ne="q:props",Ie="q:seq",Me="q:seqIdx",Te="q:p",Fe="q:ps",Le=":",ze=":on",De=":onIdx",We=":onFlags",Ue=":",Qe="dangerouslySetInnerHTML",Ve="__scopedStyleIdPrefix__",Je=100,Be=t=>!!t&&"object"==typeof t&&"function"==typeof t.then,He=(t,n,e)=>{try{const i=t();return Be(i)?i.then(n,e):n(i)}catch(t){return e(t)}},Ye=(t,n)=>Be(t)?t.then(n):n(t),Ge=t=>{throw t},Xe=t=>fe+t,Ke=t=>{if(t){let n=0;do{t=t.substring(0,n)+Xe(t.substring(n))}while(0!==(n=t.indexOf(" ",n)+1))}return t||null},Ze=t=>113===t.charCodeAt(0)&&45===t.charCodeAt(1)&&58===t.charCodeAt(3),ti=t=>t.replace(/([A-Z-])/g,t=>"-"+t.toLowerCase()),ni=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"]),ei=(t,n=0)=>{for(let e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;return(+Math.abs(n)).toString(36)},ii=t=>{if(!t)return"";if(ne(t))return t.trim();const n=[];if(te(t))for(const e of t){const t=ii(e);t&&n.push(t)}else for(const[e,i]of Object.entries(t))i&&n.push(e.trim());return n.join(" ")},ri=t=>t.replace(/([A-Z])/g,"-$1").toLowerCase(),si=(t,n)=>"number"!=typeof n||0===n||ni.has(t)?n:n+"px",oi=document,li=oi.createElement("link").relList.supports("modulepreload")?"modulePreload":"preload",ci=/\.[mc]?js$/,ui=t=>{let n=fi.get(t);if(!n){let e;n=((t,n)=>({It:t,_t:ci.test(t)?0:3,Mt:n,Tt:1,Ft:Date.now(),Lt:0,zt:0}))(t,e),fi.set(t,n)}return n},fi=new Map;let ai=0;const hi=[],di=()=>{if(hi.length)for(;hi.length;){const t=hi[0];if(!(1-t.Tt>=.99||ai<5))break;hi.shift(),pi(t)}},pi=t=>{if(t._t>=2)return;ai++;const n=Date.now();t.Lt=n-t.Ft,t._t=2;const e=oi.createElement("link");e.href=""+new URL("undefined"+t.It,oi.baseURI),e.rel=li,e.as="script",e.onload=e.onerror=()=>{ai--;const i=Date.now();t.zt=i-n,t._t=4,e.remove(),di()},oi.head.appendChild(e)},$i=(t,n,e)=>{if(e?.has(t))return;const i=t.Tt;if(t.Tt=n,!(i-t.Tt<.01)&&t.Mt){e||=new Set,e.add(t);const n=1-t.Tt;for(const i of t.Mt){const t=ui(i.It);if(0===t.Tt)continue;let r;if(1===n||n>=.99&&mi<100)mi++,r=Math.min(.01,1-i.Dt);else{const e=(1-i.Dt*n)/i.Wt;r=Math.max(.02,t.Tt*e),i.Wt=e}$i(t,r,e)}}},yi=(t,n)=>{const e=ui(t);e&&e.Tt>n&&$i(e,n)};let mi;document.addEventListener("qsymbol",t=>{const{symbol:n,href:e}=t.detail;e&&(t=>{if(!t?.length)return;mi=0;let n=0;if(Array.isArray(t))for(let e=t.length-1;e>=0;e--){const i=t[e];"number"==typeof i?n=1-i/10:yi(i,n)}else yi(t,n);di()})(n.slice(n.lastIndexOf("_")+1))});const wi=t=>{for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n))return!1;return!0},bi=",",vi="2.0.0-beta.28-dev+fac55b7",gi=()=>({isServer:_n,importSymbol(t,n,e){if(!n)throw ie(14,[e]);if(!t)throw ie(13,[n,e]);const i=""+Si(t.ownerDocument,t,n),r=new URL(i);return r.hash="",import(r.href).then(t=>t[e])},raf:t=>new Promise(n=>{requestAnimationFrame(()=>{n(t())})}),chunkForSymbol:(t,n)=>[t,n??"_"]}),Si=(t,n,e)=>{const i=t.baseURI,r=new URL(n.getAttribute(ve)??i,i);return new URL(e,r)};let ki=/*#__PURE__ */gi();const xi=t=>ki=t,qi=()=>ki,Ri=()=>!!Ln&&ki.isServer,ji=t=>1===t.nodeType,Ci=t=>"foreignObject"===t,Ei=t=>"svg"===t||Ci(t),Oi=t=>"math"===t,Pi={elementNamespace:Ce,elementNamespaceFlag:0},Ai=Symbol();class _i{[Ai]=void 0}class Ni{flags;parent;previousSibling;nextSibling;props;[Ai]=void 0;slotParent=null;dirty=0;dirtyChildren=null;nextDirtyChildIndex=0;constructor(t,n,e,i,r){this.flags=t,this.parent=n,this.previousSibling=e,this.nextSibling=i,this.props=r}toString(){return Object.prototype.toString.call(this)}}class Ii extends Ni{key;firstChild;lastChild;constructor(t,n,e,i,r,s,o,l){super(n,e,i,r,s),this.key=t,this.firstChild=o,this.lastChild=l}}class Mi extends Ii{node;elementName;constructor(t,n,e,i,r,s,o,l,c,u){super(t,n,e,i,r,s,o,l),this.node=c,this.elementName=u}}class Ti extends Ni{node;text;constructor(t,n,e,i,r,s,o){super(t,n,e,i,r),this.node=s,this.text=o}}const Fi=[],Li=[],zi=new WeakMap,Di=":nodeProps",Wi=":nodeDiff",Ui=":signal";class Qi{Ut;p=void 0;O=null;Qt=null;constructor(t,n){this.O=t||Jo()?.O||null,this.Ut=n}trigger(){bc(this.O,this,this.p)}force(){bc(this.O,this,this.p)}get untrackedValue(){return this.Ut}set untrackedValue(t){this.Ut=t}get value(){const t=this.untrackedValue,n=Jo();if(!n)return t;null===this.O&&(this.O=n.O);const e=n.$t;return e&&(yc(this.p||=new Set,e),mc(e,this),(import.meta.env.TEST?!cc(this.O):_n)&&wc(e,this.O)),t}set value(t){t!==this.Ut&&(this.Ut=t,bc(this.O,this,this.p))}valueOf(){if(Tn)throw ie(28)}toString(){return this.constructor.name}toJSON(){return{value:this.Ut}}}const Vi=Symbol(),Ji=Symbol(),Bi=Symbol(),Hi=Symbol(),Yi=Symbol(),Gi=Symbol(),Xi=[],Ki={};Object.freeze(Xi),Object.freeze(Ki);class Zi{owner;p=void 0;O=null;constructor(t){this.owner=t}get(t,n){if(n===Vi)return this.owner.constProps;if(n===Ji)return this.owner.varProps;if(n===Bi)return this.owner;if(n===Hi)return this;let e;if("children"===n)e=this.owner.children;else{if("string"==typeof n&&"string"==typeof this.owner.type){const t=i(n);t&&(n=t)}e=er(this.owner,n),n in this.owner.varProps&&tr(this,n)}return e instanceof Or&&4&e.R?e.value:e}set(t,n,e){if(n===Bi)this.owner=e;else if("children"===n)this.owner.children=e;else if(n===Vi)this.owner.constProps=e;else if(n===Ji)this.owner.varProps=e;else{if("string"==typeof n&&"string"==typeof this.owner.type){const t=i(n);t&&(n=t)}this.owner.constProps&&n in this.owner.constProps&&delete this.owner.constProps[n],this.owner.varProps===Ki?this.owner.varProps={}:n in this.owner.varProps||(this.owner.toSort=!0),this.owner.varProps[n]!==e&&(this.owner.varProps[n]=e,nr(this,n))}return!0}deleteProperty(t,n){let e=delete this.owner.varProps[n];return e&&nr(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===Vi||n===Ji)return!0;const e=n in this.owner.varProps;if("string"==typeof n&&(e&&tr(this,n),"string"==typeof this.owner.type)){const t=i(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 tr=(t,n)=>{const e=Jo();e&&null===t.O&&e.O&&(t.O=e.O);const i=e?.$t;i&&vn(t.owner._proxy,n,t,i)},nr=(t,n)=>{const e=((t,n)=>t?.get(n))(t.p,n);return e&&bc(t.O,t,e),!!e},er=(t,n)=>t.constProps&&n in t.constProps?t.constProps[n]:t.varProps[n],ir=t=>t?Ji in t?"children"in t?{...t[Ji],children:t.children}:t[Ji]:t:null,rr=t=>t&&Vi in t?t[Vi]:null,sr=t=>t&&Ji in t,or=Symbol();class lr{consumer;property;backRef;data;constructor(t,n,e=null,i=null){this.consumer=t,this.property=n,this.backRef=e,this.data=i}}const cr=Symbol(),ur=Symbol(),fr=Symbol(),ar=(t,n)=>(e,i)=>{const r=Gt();return r.$t=$(t,":"),r.O=n||void 0,Bt(r,()=>{if(ee(e))return e();if(i)return e[i];if($c(e))return e.value;if(Zn(e)&&Ec(e))return vn(qc(e),fr,xc(e),r.$t),e;throw ie(2)})};class hr extends Qi{Vt;R;[Ai]=void 0;constructor(t,n,e=17){super(t||n.O,or),this.Vt=n,this.R=e}invalidate(){this.R|=1;const t=Gt();t.O=this.O||void 0;const n=e(Ht.bind(this,t,this.j));n&&n.catch(t=>{this.O?this.O.handleError(t,null):console.error("Error during computation",t)})}get untrackedValue(){return this.j(),this.Ut}set untrackedValue(t){this.Ut=t}j(){if(!(1&this.R))return;const t=this.Vt;pc(t);const n=Jo(),e=n?.$t;if(n){const t=$(this,".");m(this.O,t),n.$t=t}try{const e=t.getFn(n)();if(Be(e))throw ie(29,[t.dev?t.dev.file:"",t.ot]);this.R&=-2,super.value=e}finally{n&&(n.$t=e)}}}class dr{Jt;Bt=null;Ht=!1;Yt=!0;Gt;Xt;Kt;constructor(t){this.Jt=t}get track(){return this.Gt||=ar(this.Jt,this.Jt.O)}get abortSignal(){return(this.Kt||=new AbortController).signal}cache(){}get previous(){const t=this.Jt.Ut;if(t!==or)return t}cleanup(t){"function"==typeof t&&(this.Xt||=[]).push(t)}}class pr extends hr{Zt=!1;tn=void 0;m=void 0;k=void 0;nn=null;en=[];rn=1;xt=0;sn;[Ai]=void 0;constructor(t,n,e=17,i){super(t,n,e);const r=i?.interval,s=i?.concurrency??1,o=i?.initial,l=i?.timeout,c=i?.eagerCleanup,u=i?.clientOnly;if(void 0!==o){const t="function"==typeof o?o():o;this.Ut=t}this.rn=s,l&&(this.sn=l),c&&(this.R|=32),u&&(this.R|=64),r&&(this.interval=r)}get untrackedValue(){if(this.j(),this.nn?.Bt){if(this.Ut===or||(import.meta.env.TEST?Ri():_n))throw this.nn?.Bt;return this.Ut}if(this.tn)throw this.tn;if((import.meta.env.TEST?Ri():_n)&&64&this.R&&this.Ut===or)throw Error("Cannot read .value from clientOnly");return this.Ut}set untrackedValue(t){this.Ut=t}get loading(){const t=this.untrackedLoading,n=Jo();if(n&&(this.O||=n.O||null)){const t=n.$t;t&&(yc(this.m||=new Set,t),mc(t,this),wc(t,this.O))}return t}set untrackedLoading(t){t!==this.Zt&&(this.Zt=t,bc(this.O,this,this.m))}get untrackedLoading(){if(this.j(),(import.meta.env.TEST?Ri():_n)&&this.nn?.Bt)throw this.nn?.Bt;return this.Zt}get error(){const t=this.untrackedError,n=Jo();if(n&&(this.O||=n.O||null)){const t=n.$t;t&&(yc(this.k||=new Set,t),mc(t,this),wc(t,this.O))}return t}set untrackedError(t){t!==this.tn&&(this.tn=t,bc(this.O,this,this.k))}get untrackedError(){return this.tn}get interval(){return this.xt}set interval(t){this.ln(),this.xt=t,this.xt>0&&this.p?.size&&this.cn()}async invalidate(){this.R|=1,this.ln(),(this.p?.size||this.m?.size||this.k?.size)&&(await!0,this.j())}abort(t){this.nn&&this.un(this.nn,t)}q(){32&this.R&&!this.fn()&&(import.meta.env.TEST?!Ri():Nn)&&setTimeout(()=>{this.fn()||this.abort()})}async promise(){for(this.j();this.nn?.Bt;)await(this.nn?.Bt)}j(){if(!(1&this.R))return;if((import.meta.env.TEST?Ri():_n)&&64&this.R)return this.Zt=!0,void this.O?.serializationCtx.qt.add(this);if(this.ln(),this.nn&&this.un(this.nn),this.en.length>=(0===this.rn?1/0:this.rn))return;this.R&=-2;const t=new dr(this);this.nn=t,this.en.push(t),t.Bt=this.an(t)}async an(t){const n=()=>t===this.nn;this.untrackedLoading=!0;const i=this.Vt.resolved||await this.Vt.resolve();try{this.sn&&(this.hn=setTimeout(()=>{t.Kt?.abort();const e=Error("timeout");n()&&(this.untrackedError=e,t.Yt=!1)},this.sn));const r=await e(i.bind(null,t));if(t.Bt=null,t.Yt){const n=this.en.indexOf(t);if(-1!==n)for(let t=0;t<n;t++)this.en[t].Yt=!1;this.untrackedError=void 0,this.value=r}}catch(e){t.Bt=null,n()&&(this.untrackedError=e)}n()&&(clearTimeout(this.hn),1&this.R?this.j():(this.untrackedLoading=!1,this.cn()))}async dn(){this.ln(),clearTimeout(this.hn),this.nn&&await this.un(this.nn),await Promise.all(this.en.map(t=>t.Bt))}ln(){void 0!==this.pn&&(clearTimeout(this.pn),this.pn=void 0)}cn(){(import.meta.env.TEST?!Ri():Nn)&&this.xt>0&&(this.ln(),this.pn=setTimeout(this.invalidate.bind(this),this.xt),this.pn?.unref?.())}fn(){return!!(this.p?.size||this.m?.size||this.k?.size)}async un(t,n){if(t.Ht)return t.Bt;t.Ht=!0,t.Kt?.abort(n),t.Bt=Promise.resolve(t.Bt).then(()=>t.Bt=this.$n(t))}async $n(t){const n=t.Xt;if(n?.length){const t=t=>{const n=this.O?.handleError;n?n(t,null):console.error("Error in async signal cleanup",t)};await Promise.all(n.map(n=>{try{const e=n();if(Be(e))return e.catch(t)}catch(n){t(n)}})),n.length=0}const e=this.en,i=e.indexOf(t);-1!==i&&e.splice(i,1),this.j()}}const $r=t=>(n,...e)=>t.call(null,su(n),...e);class yr extends hr{constructor(t,n){super(t,n,17)}yn=!1;j(){if(!(1&this.R))return;pc(this.Vt),this.R&=-2;let t=this.Vt.resolved;"function"==typeof t&&(t=t());const{deserialize:n,initial:e}=t,i=t.update,r=this.Ut===or?e:this.Ut,s=Xo(()=>this.yn?i?.(r)||r:n(r),this,".",this.O);this.yn=!0,(this.yn&&"undefined"!==s||s!==this.Ut)&&(this.Ut=s,bc(this.O,this,this.p))}}const mr=(t,n)=>new hr(n?.container||null,t,gc(n?.serializationStrategy||"always")),wr=(t,n)=>new pr(n?.container||null,t,gc(n?.serializationStrategy||"always"),n),br=t=>new yr(null,t),vr=t=>new Qi(null,t),gr=/*#__PURE__*/$r(mr),Sr=/*#__PURE__*/$r(wr),kr=$r(br),xr=t=>t.value,qr=(t,n)=>t[n],Rr=t=>1===t.length?$c(t[0])?t[0].Qt||=new Or(null,xr,t,null):Ec(t[0])?new Or(null,xr,t,null):t[0].value:new Or(null,qr,t,null),jr=(...t)=>{const n=t[0],e=t.length<2?"value":t[1];if(!Zn(n))return n[e];if($c(n))return n instanceof Or&&4&n.R?n:Rr(t);if(sr(n)){const i=n[Vi],r=n[Ji];if(i&&Object.prototype.hasOwnProperty.call(i,e))return i[e];if(Object.prototype.hasOwnProperty.call(r,e))return Cr(r[e],t)}else{const i=qc(n);if(i)return Cr(i[e],t)}return n[e]},Cr=(t,n)=>$c(t)?t:Rr(n),Er=(t,n)=>{const e=jr(t,n);return e===Yi?t[n]:e};class Or extends Qi{ct;lt;kt;R;$=void 0;[Ai]=void 0;constructor(t,n,e,i,r=5){super(t,or),this.ct=e,this.lt=n,this.kt=i,this.R=r}invalidate(){this.R|=1;try{this.j()}catch(t){this.O&&this.$&&(this.O.setHostProp(this.$,Ui,this),Mt(this.O,this.$,16))}2&this.R&&(this.R&=-3,bc(this.O,this,this.p))}get untrackedValue(){return this.j(),this.Ut}j(){if(!(1&this.R))return;const t=Xo(()=>this.lt(...this.ct),this,".",this.O);this.R&=-3,t!==this.Ut&&(this.R|=2,this.Ut=t)}J(){return this.lt===xr&&$c(this.ct[0])?this.ct[0]:this}set value(t){throw ie(31)}get value(){return super.value}}class Pr{data;constructor(t){this.data=t}}const Ar=(t,n)=>{if("string"==typeof t){const e=pn(n);Hc(Yc(e,t))}return null},_r=Object.prototype.hasOwnProperty;class Nr{type;children;flags;toSort;key;varProps;constProps;dev;_proxy=null;constructor(t,n,e,i,r,s,o,l){this.type=t,this.children=i,this.flags=r,this.toSort=!!o,this.key=null==s?null:"string"==typeof s?s:""+s,this.varProps=!n||wi(n)?Ki:n,this.constProps=!e||wi(e)?null:e,Tn&&l&&(this.dev={...l,stack:Error().stack?.split("\n").slice(2).join("\n")}),Wn(this)}get props(){return this._proxy||=p(this)}}const Ir=(t,n,e)=>{let i=t[n];if(!i)return t[n]=e,!0;Array.isArray(i)?i.push(e):i=t[n]=[i,e]},Mr=t=>Tn?t instanceof Nr||!!(Zn(t)&&_r.call(t,"key")&&_r.call(t,"props")&&_r.call(t,"type"))&&!sr(t)&&(Jn('Duplicate implementations of "JSXNode" found'),!0):t instanceof Nr,Tr="bind:value",Fr="bind:checked",Lr=Object.prototype.hasOwnProperty,zr=(t,n,e,i,r,s,o)=>new Nr(t,n,e,i,r,s,!1,o),Dr=(t,n,e,r,s,o,l)=>{let c=!1,u=!1,f=!1,a=null,h=null;if("string"==typeof t){if(e){const t=new Set;for(const n in e){const r=i(n);r?(u||(e={...e},u=!0),Lr.call(e,r)&&!t.has(r)||(e[r]=e[n]),delete e[n]):n===Fr?h=e[n]:n===Tr&&(a=e[n]),t.add(n)}}if(n){const t=new Set;for(const e in n){const r=i(e);r?(f||(n={...n},f=!0),Lr.call(n,r)&&!t.has(r)||(n[r]=n[e]),delete n[e],c=!0):e===Fr?h=n[e]:e===Tr&&(a=n[e]),t.add(e)}}if(h||a)if(f||(n={...n},f=!0),n||={},h){n&&Lr.call(n,Fr)&&delete n[Fr],e&&Lr.call(e,Fr)&&(u||(e={...e},u=!0),delete e[Fr]),n.checked=h;const t=Kc(null,"_chk",S,null,[h]);if(e&&Lr.call(e,"q-e:input")){u||(e={...e},u=!0);const t=e["q-e:input"];delete e["q-e:input"],c=Ir(n,"q-e:input",t)||c}c=Ir(n,"q-e:input",t)||c}else if(a){n&&Lr.call(n,Tr)&&delete n[Tr],e&&Lr.call(e,Tr)&&(u||(e={...e},u=!0),delete e[Tr]),n.value=a;const t=Kc(null,"_val",g,null,[a]);if(e&&Lr.call(e,"q-e:input")){u||(e={...e},u=!0);const t=e["q-e:input"];delete e["q-e:input"],c=Ir(n,"q-e:input",t)||c}c=Ir(n,"q-e:input",t)||c}n&&Lr.call(n,"className")&&(f||(n={...n},f=!0),n.class=n.className,n.className=void 0,c=!0,Tn&&Vn(`jsx${l?` ${l.fileName}${l?.lineNumber?":"+l.lineNumber:""}`:""}: \`className\` is deprecated. Use \`class\` instead.`)),e&&Lr.call(e,"className")&&(u||(e={...e},u=!0),e.class=e.className,e.className=void 0,Tn&&Vn(`jsx${l?` ${l.fileName}${l?.lineNumber?":"+l.lineNumber:""}`:""}: \`className\` is deprecated. Use \`class\` instead.`))}if(n)for(const t in n)"children"===t?(f||(n={...n},f=!0),r||=n.children,delete n.children):"key"===t?(f||(n={...n},f=!0),o||=n.key,delete n.key):(e&&t in e||null===n[t])&&(f||(n={...n},f=!0),delete n[t]);return new Nr(t,n,e,r,s,o,c||!0,l)},Wr=(t,n,e,i)=>Jr(t,n,i),Ur=(t,n,e,i,r)=>Jr(t,{...e,...n},r),Qr=(t,n,e,i,r,s)=>Jr(t,{...e,...n,children:i},s),Vr=t=>t.children,Jr=(t,n,e,i,r)=>Dr(t,n,null,null,0,e,r),Br=Jr,Hr=Jr,Yr=t=>t.children,Gr=(t,n)=>new Nr(Vr,null,null,t.children,0,n),Xr=(t,n,e,i,r)=>{const s=Yt(t.ht,e||n,t);let o;e&&(s.$t=$(e,":"),s.O=t),t.ensureProjectionResolved(n);let l=!1;if(null===i&&(i=t.getHostProp(n,ue)),se(i))"children"in(r=r||t.getHostProp(n,Ne)||Ki)&&delete r.children,o=i.getFn(s);else if(au(i)){const t=i;o=()=>Ht(s,t,[r||Ki,null,0])}else{l=!0;const t=i;o=()=>Ht(s,t,[r||Ki])}const c=import.meta.env.TEST?Ri():_n,u=(e=0)=>He(()=>(l||(t.setHostProp(n,Me,null),t.setHostProp(n,De,null)),e>0&&Ms(n)&&y(t,n),Ye(o(r),t=>Ye(s.yt,()=>t))),i=>{if(c&&!l&&4&n.dirty&&(n.dirty&=-5,e<Je))return u(e+1);const r=t.getHostProp(n,ze);return r?q(i,r):i},t=>{if(Be(t)&&e<Je)return t.then(()=>u(++e));if(e>=Je)throw Error("Max retry count of component execution reached");throw t});return u()},Kr=t=>zr(Vr,null,{[he]:""},t.children,0,t.name??""),Zr=Symbol(),ts=()=>null,ns=()=>null,es=t=>t.children,is=(t,n)=>Jr(Gr,{children:Jr(rs,t)},n),rs=()=>null;let ss=null,os=null;const ls=(t,n=[],e={})=>{let i=null;const r=t[Vi];if(r)for(const t in r)n.includes(t)||(i||={},i[t]=r[t]);const s=e,o=t[Ji];for(const t in o)n.includes(t)||(s[t]=o[t]);return p(new Nr(null,s,i,null,0,null))};class cs{target;constructor(t){this.target=t}}class us{target;constructor(t){this.target=t}}class fs{target;text;constructor(t,n){this.target=t,this.text=n}}class as{target;parent;beforeTarget;constructor(t,n,e){this.target=t,this.parent=n,this.beforeTarget=e}}class hs{target;attrName;attrValue;scopedStyleIdPrefix;isSvg;constructor(t,n,e,i,r){this.target=t,this.attrName=n,this.attrValue=e,this.scopedStyleIdPrefix=i,this.isSvg=r}}const ds=t=>new cs(t),ps=(t,n)=>new fs(t,n),$s=(t,n,e)=>new as(t,n,e),ys=(t,n,e,i=null,r=!1)=>new hs(t,n,e,i,r),ms=t=>{if(t.dn){try{t.dn()}catch(t){Bn(!1,t)}t.dn=null}},ws=Object.prototype.hasOwnProperty,bs=(t,n,e,i,r,s)=>{const o=((t,n,e,i)=>({O:t,tt:n,nt:e,st:i,L:[],B:[],et:[],N:null,T:null,M:null,K:null,Z:null,X:null,Y:null,U:null,D:0,W:0,H:!0,G:!1,rt:{it:new Pr({st:i,mn:!0}),wn:new Pr({st:i,mn:!1})}}))(t,n,r,s);M(o,e,i);const l=J(o);if(Be(l))return l.finally(()=>{B(o)});B(o)},vs=(t,n,i,r,s)=>{if(Ze(i))return void K(i,r,n.node,n,t);if(i===Te||i===Fe)return Qs(n,i,r),void(n.flags|=192);const o=r;if("ref"===i){const t=n.node;if($c(r))return void(r.value=t);if("function"==typeof r)return void r(t);throw ie(15,[s])}const l=n[Ai]?.get(i);if($c(r)){const s=r instanceof Or?r.J():r;if(l?.backRef?.has(s))return;l&&m(t.O,l);const o=n;r=e(()=>Ko(s,o,i,t.O,t.rt.wn))}else l&&m(t.O,l);if(Be(r)){const e=n,s=r.then(n=>{I(t.tt,e,i,n,t.st,o)});return void t.et.push(s)}I(t.tt,n,i,r,t.st,o)};let gs=null;const Ss=(t,n,e)=>{gs||(gs=t.insertBefore),gs.call(t,n,e)},ks=(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,xs=t=>"false"!==t&&!!t,qs=(Rs=jt,()=>queueMicrotask(Rs));var Rs;const js=(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})(jt);let Cs=!1;const Es=[],Os=(t,n)=>{let e;for(;t&&!(e=Object.getOwnPropertyDescriptor(t,n)?.get);)t=Object.getPrototypeOf(t);return e||function(){return this[n]}},Ps=t=>{let n=null;return e=>(n||(n=Os(e,t)),n.call(e))},As=(t,n,e=null)=>{const i=new Mi(e,-2039,null,null,null,null,null,null,t,n);return t.vNode=i,i},_s=t=>{const n=new Mi(null,-2047,null,null,null,null,void 0,void 0,t,void 0);return t.vNode=n,n},Ns=(t,n)=>new Ti(-2036,null,null,null,null,t,n),Is=()=>new Ii(null,-2046,null,null,null,null,null,null),Ms=t=>t instanceof Ni,Ts=t=>!(1&~t.flags),Fs=t=>!!(5&t.flags),Ls=t=>!(1&~t.flags)&&void 0!==t.firstChild&&void 0!==t.lastChild,zs=t=>!(4&~t.flags),Ds=t=>!(2&~t.flags),Ws=t=>!(2&~t.flags)&&null!==Us(t,ae,null),Us=(t,n,e)=>{if(Ts(t)||Ds(t)){const i=t.props?.[n]??null;if("string"==typeof i&&e){const r=e(i);return t.props[n]=r,r}return i}return null},Qs=(t,n,e)=>{null==e&&t.props?delete t.props[n]:(t.props||={},t.props[n]=e)},Vs=(t,n,e,i,r=null)=>{Ts(n)&&(import.meta.env.TEST&&r&&Qs(n,Ve,r),Qs(n,e,i),Tt(t,ys(n.node,e,i,r,!!(512&n.flags))))},Js=t=>{if(t.key)return;const n=go(t.node,Ue);n&&(t.key=n)},Bs=(t,n)=>{if(1==(15&n.flags)){const e=n;e.flags^=8;const i=e.node,r=i.attributes;let s=!1;for(let n=0;n<r.length;n++){const o=r[n],l=o.name;if(Ze(l))Ft(o,l,t,i);else if(s);else if(l!==Ue&&l)if(l.startsWith(qe)){const t=o.value;"html"===t?Qs(e,"dangerouslySetInnerHTML",i.innerHTML):"text"===t&&"value"in i&&Qs(e,"value",i.value)}else Qs(e,l,o.value);else{const t=o.value;t&&(e.key=t),s=!0}}null===Us(e,Te,null)&&null===Us(e,Fe,null)||(n.flags|=64)}},Hs=(t,n,e)=>{let i=t;for(;e&&i&&Ds(i);){const t=n?i.firstChild:i.lastChild;if(!t)break;if(5&t.flags)return t;i=t}for(;i;){let t=n?i.nextSibling:i.previousSibling;if(t&&5&t.flags)return t;if(!t){let e=i.parent;if(e&&!Ds(e))return null;for(;e&&!(t=n?e.nextSibling:e.previousSibling);)if(e=e.parent,e&&!Ds(e))return null;if(!t)return null;if(zs(t)&&e&&Ts(e))return null}for(;t;){if(i=t,5&i.flags&&To(i))return i;t=n?i.firstChild:i.lastChild}}return null},Ys=(t,n)=>{const e=n;if(!(8&e.flags)){const i=co(n,!0),r=e.node,s=Po(i);let o=Hs(n,!1,!0);const l=Hs(n,!0,!0),c=r||(l&&Ts(l)?l.node:l?.node)||null;let u=c;for(;o&&zs(o);){if(!(8&o.flags)){const n=s.createTextNode(o.text);Tt(t,$s(n,i,u)),u=n,o.node=n,o.flags|=8}o=Hs(o,!1,!0)}for(o=n;o&&zs(o);){const n=Hs(o,!0,!0),e=!n||!zs(n);if(!(8&o.flags)){if(e&&r)Tt(t,ps(r,o.text));else{const n=s.createTextNode(o.text);Tt(t,$s(n,i,c)),o.node=n}o.flags|=8}o=n}}},Gs=(t,n)=>{let e=t;const i=t.node,{qVNodeRefs:r}=i;let s,o=-1;if("string"==typeof n)o=parseInt(n),s=r.get(o);else{s=n;const t=s.vNode;if(t)return t}if(Ms(s))e=s;else{let t=s;const n=[s];for(;t&&t!==i&&!t.vNode;)t=t.parentElement,n.push(t);t.vNode&&(e=t.vNode);for(let t=n.length-2;t>=0;t--)e=Zs(e,n[t]);-1!=o&&(s.vNode=e,r.set(o,e))}if("string"==typeof n){const t=n.length;let i=to(n,t),r=0;for(;i<t;){const t=n.charCodeAt(i);r*=26,t>=97?r+=t-97:(r+=t-65,e=Xs(e,r),r=0),i++}}return e},Xs=(t,n)=>{let e=yo(t);for(;e.flags>>>11!==n;)e=e.nextSibling;return e},Ks=[],Zs=(t,n)=>{let e=yo(t);for(;e&&(!(e instanceof Mi)||e.node!==n);)if(Ds(e)){const t=e.nextSibling,n=yo(e);n?(t&&Ks.push(t),e=n):e=t||(Ks.length?Ks.pop():null)}else{const t=e.nextSibling;e=t||t||Ks.pop()}for(;Ks.length;)Ks.pop();return e},to=(t,n)=>{let e=0;for(;e<n;){if(!(t.charCodeAt(e)<=57))return e;e++}return n},no=(t,n,e,i)=>{const r=Ts(n);r&&mo(n);const s=e.parent;if(e===i){if(s)return;i=null}so(t,s,n,e);const o=e.node,l=32&n.flags,c=r?n.node:co(n,!1);c&&!l&&Tt(t,$s(o,c,io(t,n,i)?.node??null)),ro(n,e,i),l&&(e.flags|=32)},eo=(t,n,e,i)=>{const r=Ts(n);r&&mo(n);const l=e.parent;if(e===i){if(l)return;i=null}so(t,l,n,e);const c=32&n.flags,u=r?n:uo(n,!1),f=u?.node,a=io(t,n,i),h=a?.node??null;if(Ws(e)&&u&&1536&u.flags){const r=uo(n,!1),l=io(t,n,i)?.node??null,{elementNamespace:c,elementNamespaceFlag:u}=o(r,e);Lt(t,e,n=>{if(zs(n))Tt(t,$s(n.node,f,l));else{if((1536&n.flags)!==u){const t=((t,n,e,i)=>{let r=t,l=null,c=null,u=null;for(;r;){let f=null,a=null;if(Ts(r)){f=r.node;const t=ho(r),l=r.parent,h=null==c?n:l&&uo(l,!0);if(h){const t=o(h,ho(r));e=t.elementNamespace,i=t.elementNamespaceFlag}const d=yo(r);if(a=s(f,t,e,!d),f.remove(),null==c&&(c=a),u&&u.appendChild(a),r.node=a,r.flags&=-1537,r.flags|=i,d){r=d,u=a;continue}if(bo(f)){const t=$n(f);if(t){const n=yo(t.rootVNode);if(n){r=n,u=a;continue}}}}if(r===t)return c;const h=r.nextSibling;if(h)r=h;else{for(l=r.parent;l;){if(l===t)return c;const n=l.nextSibling;if(n)return r=n,c;l=l.parent}if(null==l)return c}}return c})(n,r,c,u);t&&(n.node=t)}Tt(t,$s(n.node,f,l))}})}else f&&!c&&Lt(t,e,n=>{Tt(t,$s(n.node,f,h))});ro(n,e,i),c&&(e.flags|=32)},io=(t,n,e)=>{let i=null;return null==e?Ds(n)&&(i=Hs(n,!0,!1)):i=Ds(e)?Hs(e,!0,!0):e,i&&zs(i)&&Ys(t,i),i},ro=(t,n,e)=>{const i=e?e.previousSibling:t.lastChild;e?e.previousSibling=n:t.lastChild=n,i?i.nextSibling=n:t.firstChild=n,n.previousSibling=i,n.nextSibling=e,n.parent=t},so=(t,n,e,i)=>{n&&(i.previousSibling||i.nextSibling||n!==e)&&fo(t,n,i,!1)},oo=(t,n)=>{let e=n;for(;e&&Ds(e);)e=e.lastChild;!e||!zs(e)||8&e.flags||Ys(t,e)},lo=(t,n,e,i)=>{Fs(e)?no(t,n,e,i):eo(t,n,e,i)},co=(t,n)=>(t=uo(t,n))&&t.node,uo=(t,n)=>{for(;t&&!Ts(t);)t=t.parent||(n?t.slotParent:null);return t},fo=(t,n,e,i)=>{if(zs(e)&&Ys(t,e),i){if(null!==Us(n,Qe,null))return;Fs(e)?Tt(t,ds(e.node)):Lt(t,e,n=>{Tt(t,ds(n.node))})}const r=e.previousSibling,s=e.nextSibling;r?r.nextSibling=s:n.firstChild=s,s?s.previousSibling=r:n.lastChild=r,e.previousSibling=null,e.nextSibling=null},ao=(t,n,e,i=!0)=>{co(n,!0)&&i&&(Fs(n)?Tt(t,new us(n.node)):Lt(t,n,n=>{Tt(t,ds(n.node))}));const r=e.previousSibling;r?r.nextSibling=null:n.firstChild=null,n.lastChild=r},ho=t=>{const n=t;let e=n.elementName;if(void 0===e){const t=n.node,i=Oo(t).toLowerCase();e=n.elementName=i,n.flags|=(t=>{switch(Eo(t)){case Ee:return 512;case Oe:return 1024;default:return 0}})(t)}return e},po=t=>{let n=t.text;return void 0===n&&(n=t.text=t.node.nodeValue),n},$o=(t,n,e)=>{Ys(t,n),n.text=e,Tt(t,ps(n.node,e))},yo=t=>{if(zs(t))return null;let n=t.firstChild;return void 0===n&&(n=mo(t)),n},mo=t=>{const e=t;let i=e.firstChild;return void 0===i&&(i=e.parent&&bo(e.node)?e.firstChild=e.lastChild=null:(t=>{const e=t.node,i=Co(e),r=Po(e)?.qVNodeData?.get(e);return((t,e,i,r)=>{if(Js(t),r){if(r.charCodeAt(0)===ce&&r.charCodeAt(1)===ce){const n=(t=>{const n=t.indexOf("||",2);return{elementVNodeData:t.substring(2,n),virtualVNodeData:t.substring(n+2)}})(r);r=n.virtualVNodeData;const e=Ao(t,i,n.elementVNodeData);if(!r)return e}return((t,e,i,r)=>{let s=0,o=null,l=null,c=null;const u=n=>{n.flags=2047&n.flags|s<<11,s++,l&&(l.nextSibling=n),n.previousSibling=l,n.parent=t,o||(t.firstChild=o=n),l=n};let f=0,a=null,h=null;const d=t=>{const n=Wo(t);return!n||n&&Qt(t)};let p=null;if(_o(e,($,y,m,w,b)=>{if(Fo($())){for(;d(r);)if(!(r=qo(r)))throw ie(27,[e,$(),b]);a=null,c=null;let t=0;for(;Fo($());)t*=10,t+=m()-48;for(;t--;){const n=_s(r);for(Js(n),u(n),r=qo(r);Wo(r)&&Qt(r);)if(!(r=qo(r))&&t>0)throw ie(27,[e,$(),b])}}else if(59===$())Qs(t,ye,y());else if(60===$())(p||=[]).push(t),Qs(t,ue,y());else if(61===$()){h||(h=pn(i));const n=y();h.bn(parseInt(n),t)}else if(62===$())Qs(t,Ne,y());else if(64===$()){let e;w(b+1)===ce?(m(),e=decodeURI(n(y())),m()):e=y(),t.key=e}else if(91===$())Qs(t,Ie,y());else if(94===$())Qs(t,Me,y());else if(96===$())h||(h=pn(i)),Wt(t,y(),h);else if(63===$())h||(h=pn(i)),t.slotParent=Gs(h.rootVNode,y());else if(93===$())Qs(t,me,y());else if(123===$())m(),u(Is()),zo.push(t,o,l,c,s),s=0,t=l,o=l=null;else if($()===ce){const e=n(y()),i=n(y());Qs(t,e,i)}else if(125===$())m(),t.lastChild=l,s=zo.pop(),c=zo.pop(),l=zo.pop(),o=zo.pop(),t=zo.pop();else if(126===$()){const e=n(y());Qs(t,ae,e)}else{for(;Wo(r)&&Qt(r);)r=qo(r);const t=r&&3===So(r)?r:null;null===a&&(a=t?t.nodeValue:null,f=0);let n=0;for(;Lo($());)n+=m()-97,n*=26;n+=m()-65;const e=null===a?"":a.substring(f,f+n);u(c=((t,n,e)=>new Ti(-2044,null,t,null,null,n,e))(c,t,e)),f+=n}}),p){h||(h=pn(i));for(let t=0;t<p.length;t++)h.ensureProjectionResolved(p[t]);p=null}return t.lastChild=l,o})(t,r,e,i)}return Ao(t,i)})(t,e,i,r)})(e)),i};let wo=null;const bo=t=>(wo||(wo=t.hasAttribute),wo.call(t,qe));let vo=null;const go=(t,n)=>(vo||(vo=t.getAttribute),vo.call(t,n)),So=Ps("nodeType"),ko=t=>{const n=So(t);return 3===n||1===n};let xo=null;const qo=t=>{for(xo||(xo=Os(t,"nextSibling")),jo||(jo=Os(t,"firstChild"));t;)if(null!==(t=xo.call(t))){const n=So(t);if(3===n||1===n)break;if(8===n){const n=t.nodeValue;if(n?.startsWith(ke))return Dt(t,ge,xo,jo);if(t.nodeValue?.startsWith(Se))return Dt(t,xe,xo,jo);if(n?.startsWith(qe))for(;t&&(t=xo.call(t))&&(8!==So(t)||!t.nodeValue?.startsWith(Re)););}}return t},Ro=Ps("parentNode");let jo=null;const Co=t=>{for(jo||(jo=Os(t,"firstChild")),t=t&&jo.call(t);t&&!ko(t);)t=qo(t);return t},Eo=Ps("namespaceURI"),Oo=Ps("nodeName"),Po=Ps("ownerDocument"),Ao=(t,n,e)=>{let i=null;const r=()=>{for(;Wo(s)&&Qt(s);)s=qo(s)};let s=n;r();let o=null;for(;s;){const n=So(s);let e=null;3===n?e=Ns(s,s.textContent??void 0):1===n&&(e=_s(s),Js(e)),e&&(e.parent=t,o&&(o.nextSibling=e),e.previousSibling=o,o=e),i||(t.firstChild=i=o),s=qo(s),r()}if(t.lastChild=o||null,t.firstChild=i,e){let n=null;_o(e,(e,i)=>{if(61===e()){n||(n=pn(t.node));const e=i();n.bn(parseInt(e),t)}else 96===e()?(n||(n=pn(t.node)),Wt(t,i(),n)):i()})}return i},_o=(t,n)=>{let e=0,i=0,r=0;const s=n=>n<t.length?t.charCodeAt(n):0,o=()=>0!==r?r:r=s(e),l=()=>(i=o(),r=0,e++,i),c=()=>{l();const n=e;for(;o()<=58&&0!==r||92===r||95===r||r>=65&&r<=90||r>=97&&r<=122;)l();return t.substring(n,e)};for(;0!==o();)n(o,c,l,s,e)},No=(t,n)=>{if(3&n.flags){Bs(t,n);const e=[],i=n.props;if(i)for(const t in i)t.startsWith(Ue)||e.push(t);return e}return[]},Io=(t,n)=>{let e=Mo(t);for(;e;){if(e===n)return!0;e=Mo(e)}return!1},Mo=t=>t.parent||t.slotParent,To=t=>null===t||Ds(t)?null:t.node,Fo=t=>48<=t&&t<=57,Lo=t=>97<=t&&t<=122,zo=[],Do=t=>{const n=t.flags;if(1&n)return 1;if(2&n)return 11;if(4&n)return 3;throw ie(26,[n])},Wo=t=>t&&"object"==typeof t&&1===So(t),Uo=t=>{let n=1;for(;n--;){for(;t&&(!Ds(t)||null===Us(t,ue,null));){const e=t.slotParent,i=Ds(t)&&e;i&&n++,t=i||t.parent}n>0&&(t=t.parent)}return t};let Qo,Vo;const Jo=()=>Vo,Bo=()=>{const t=Jo();if(!t||t.dt!==Pe)throw ie(10);return t},Ho=(t,n)=>{const e=pn(n),i=Gs(e.rootVNode,n),r=e.ht;r&&(t=>{Qo=t})(r);const s=Gt(r,i,t);return s.O=e,s},Yo=(t,...n)=>{if("function"==typeof t){if(!Vo)return t(...n);{const e=Vo.$t;try{return Vo.$t=void 0,t(...n)}finally{Vo.$t=e}}}return $c(t)?t.untrackedValue:Cc(t)},Go=/*#__PURE__*/Yt(void 0,void 0,void 0),Xo=(t,n,e,i,r)=>{const s=Go.$t,o=Go.O;try{return Go.$t=$(n,e,r),Go.O=i,Ht(Go,t)}finally{Go.$t=s,Go.O=o}},Ko=(t,n,e,i,r)=>(t instanceof Or&&t.$!==n&&n&&(t.$=n),Xo(()=>t.value,n,e,i,r)),Zo=()=>Jo()?.$,tl=()=>{const t=Jo();if(t)return t.dt},nl=()=>{const t=Jo();if(t)return t.O},el=t=>t,il=t=>t.l||Promise.resolve(),rl=()=>{const t=Bo(),n=t.$;let e=t.O.getHostProp(n,Ie);null===e&&(e=[],t.O.setHostProp(n,Ie,e));let i=t.O.getHostProp(n,Me);for(null===i&&(i=0),t.O.setHostProp(n,Me,i+1);e.length<=i;)e.push(void 0);return{val:e[i],set:t=>(Tn&&Fn&&Lc(t),e[i]=t),i,iCtx:t}},sl=t=>/*#__PURE__*/Object.freeze({id:ti(t)}),ol=(t,n)=>{const{val:e,set:i,iCtx:r}=rl();void 0===e&&(Tn&&cl(t),Tn&&Fn&&Lc(n),r.O.setContext(r.$,t,n),i(1))},ll=(t,n)=>{const{val:e,set:i,iCtx:r}=rl();if(void 0!==e)return e;Tn&&cl(t);const s=r.O.resolveContext(r.$,t);if("function"==typeof n)return i(Bt(void 0,n,s));if(void 0!==s)return i(s);if(void 0!==n)return i(n);throw ie(8,[t.id])},cl=t=>{if(!Zn(t)||"string"!=typeof t.id||0===t.id.length)throw ie(11,[t])},ul=t=>{const n=(()=>{const t=Jo();if(!t)throw ie(9);return t})(),e=n.$;if(e)return n.O?.resolveContext(e,t)},fl=/*#__PURE__*/sl("qk-error"),al=[void 0,null,!0,!1,"",Xi,Ki,or,fr,Gi,Kr,Yr,NaN,1/0,-1/0,Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER-1,Number.MIN_SAFE_INTEGER],hl=["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"],dl=["Plain","RootRef","ForwardRef","Constant","Array","Object","URL","Date","Regex","QRL","VNode","RefVNode","BigInt","URLSearchParams","ForwardRefs","Error","Promise","Set","Map","Uint8Array","Task","Component","Signal","WrappedSignal","ComputedSignal","AsyncSignal","SerializerSignal","Store","FormData","JSXNode","PropsProxy","SubscriptionData","EffectSubscription"],pl=new WeakMap,$l=new Map,yl=(t,n,e)=>{switch(n){case 0:case 14:return e;case 1:return t._(e);case 2:if(!t.Ot)return Gi;const i=t.Ot[e];return-1===i||void 0===i?Gi:t._(i);case 3:return al[e];case 4:return Array(e.length/2);case 5:return{};case 9:{let n;if("string"==typeof e){const[i,r,s]=e.split("#");n=Kt(t._(i),t._(r),s||null)}else n=Kt("",e+"",null);return n.O=t,n}case 20:return new hc(-1,-1,null,null,null,null);case 6:return new URL(e);case 7:return new Date(e);case 8:const r=e.lastIndexOf("/");return RegExp(e.slice(1,r),e.slice(r+1));case 15:return Error();case 21:return uu(null);case 22:return new Qi(t,0);case 23:return new Or(t,null,null,null);case 24:return new hr(t,null);case 25:return new pr(t,null,void 0,{interval:0});case 26:return new yr(t,null);case 27:{const n=e,i=n[0],r=n[1],s=yl(t,i,r),o=Oc(s,0,t);return nc(i)&&$l.set(s,{t:i,v:r}),n[0]=0,n[1]=s,o}case 13:return new URLSearchParams(e);case 28:return new FormData;case 29:return new Nr(null,null,null,null,0,null);case 12:return BigInt(e);case 17:return new Set;case 18:return new Map;case 16:let s,o;const l=new Promise((t,n)=>{s=t,o=n});return pl.set(l,[s,o]),l.catch(()=>{}),l;case 19:const c=e.length,u=3&c;return new Uint8Array(3*(c>>>2)+(u?u-1:0));case 30:return p(null);case 10:return tn(t,e);case 11:const f=tn(t,e);if(Ms(f))return mo(f),To(f);throw ie(17,[typeof f]);case 31:return new Pr({});case 32:return new lr(null,null,null,null);default:throw ie(18,[n])}},ml=/\(\s*(['"])([^\1]+)\1\s*\)/,wl=/Promise\s*\.\s*resolve/,bl=/[\\/(]([\w\d.\-_]+\.(js|ts)x?):/,vl=(t,n,e,i=0)=>{let r=null,s=null;if(ee(t)){if(s=t,Fn){let n;const e=t+"";if((n=e.match(ml))&&n[2])r=n[2];else{if(!(n=e.match(wl)))throw ie(6,[e]);{const t="QWIK-SELF",e=Error(t).stack.split("\n"),s=e.findIndex(n=>n.includes(t));n=e[s+2+i].match(bl),r=n?n[1]:"main"}}}}else{if(!ne(t))throw ie(7,[t]);r=t}return Kc(r,n,null,s,e)},gl=(t,n,e)=>Kc(null,n,t,null,e),Sl=(t,n)=>Kc(null,t,null,null,n),kl=(t,n,e)=>{const i=Sl(t,e);return i.dev=n,i},xl=(t,n,e,i)=>{const r=vl(t,n,i,1);return r.dev=e,r},ql=(t,n,e,i)=>{const r=gl(t,n,i);return r.dev=e,r},Rl=(t,n)=>(void 0===globalThis.__qwik_reg_symbols&&(globalThis.__qwik_reg_symbols=new Map),globalThis.__qwik_reg_symbols.set(n,t),t),jl=(t,n,e)=>new Or(null,t,n,e||null);class Cl{vn;gn=0;Ot=[];Sn=0;kn=new Set;xn=new Map;qn;Rn=new Map;At;constructor(t){this.vn=t,this.At=t.At}async serialize(){await this.outputRoots()}outputArray(t,n,e){this.At.write("[");let i,r=!1;if(n)i=t.length;else{for(i=t.length-1;i>=0&&void 0===t[i];)i--;i++}for(let n=0;n<i;n++)r?this.At.write(bi):r=!0,e(t[n],n);this.At.write("]")}stringNeedsJsonEscape$(t){for(let n=0;n<t.length;n++){const e=t.charCodeAt(n);if(e<32||34===e||92===e)return!0}return!1}output(t,n,e){if("number"==typeof n)this.At.write(t+bi+n);else if("string"==typeof n){const e=this.stringNeedsJsonEscape$(n)?JSON.stringify(n):'"'+n+'"';this.At.write(t+bi);let i=-1,r=0;for(;-1!==(i=e.indexOf("</",r));)this.At.write(e.slice(r,i)),this.At.write("<\\/"),r=i+2;this.At.write(0===r?e:e.slice(r))}else this.At.write(t+bi),this.outputArray(n,!!e,(t,n)=>{this.writeValue(t,n)})}getSeenRefOrOutput(t,n,e){let i=this.vn.getSeenRef(t);const r=!e&&this.xn.get(t);if(!i){if(e)return!0;if("number"!=typeof r)return this.vn.jn(t,this.qn,n);i=this.vn.St(t,!0)}i.qn&&(this.qn?this.vn.Cn(i):(this.vn.Cn(i,n),t=this.vn.En[n])),"number"==typeof r&&(this.Ot[r]=i.On,this.xn.delete(t));const s=t instanceof Il?t.Pn:i.On;if(!this.qn&&s===n)return i;this.output(1,s)}writeValue(t,n){if(Uc(t))this.output(3,0);else switch(typeof t){case"undefined":this.output(3,0);break;case"boolean":this.output(3,t?2:3);break;case"number":Number.isNaN(t)?this.output(3,12):Number.isFinite(t)?t===Number.MAX_SAFE_INTEGER?this.output(3,15):t===Number.MAX_SAFE_INTEGER-1?this.output(3,16):t===Number.MIN_SAFE_INTEGER?this.output(3,17):this.output(0,t):this.output(3,t<0?14:13);break;case"string":0===t.length?this.output(3,4):(t.length<4||this.getSeenRefOrOutput(t,n))&&this.output(0,t);break;case"bigint":(t<1e4&&t>-1e3||this.getSeenRefOrOutput(t,n))&&this.output(12,""+t);break;case"symbol":t===or?this.output(3,7):t===fr?this.output(3,8):t===Gi&&this.output(3,9);break;case"function":if(t===Kr)this.output(3,10);else if(t===Yr)this.output(3,11);else if(se(t)){if(this.getSeenRefOrOutput(t,n)){const[n,e,i]=Xt(this.vn,t,!0);let r;if(""!==n){r=`${this.vn.St(n)}#${this.vn.St(e)}${i?"#"+i:""}`;const s=this.Rn.get(r);if(s){const t=this.vn.St(s);return void this.output(1,t)}this.Rn.set(r,t)}else r=+e;this.output(9,r)}}else{if(!au(t))throw ie(34,[""+t]);{const[n]=t[fu];this.vn.An.add(n.wt),this.output(21,[n])}}break;case"object":if(t===Xi)this.output(3,5);else if(t===Ki)this.output(3,6);else if(null===t)this.output(3,1);else if(t instanceof Il)this.output(1,t.Pn);else{const e=this.getSeenRefOrOutput(t,n);if(e){const n=this.qn;this.qn=e,this.writeObjectValue(t),this.qn=n}}break;default:throw ie(20,[typeof t])}}writeObjectValue(t){if(sr(t)){const n=t[Bi];this.output(30,[_l(n),n.varProps,n.constProps,t[Hi].p])}else if(t instanceof Pr)this.output(31,[t.data.st,t.data.mn]);else if(t instanceof lr)this.output(32,[t.consumer,t.property,t.data]);else if(Ec(t)){const n=xc(t),e=qc(t),i=n.R,r=n.p,s=[];for(const t in e){const n=this.vn.h.get(e[t]);n&&s.push(n)}const o=[e,i,r,...s];for(;void 0===o[o.length-1];)o.pop();this.output(27,o)}else if(vc(t)){const n=t[Jc](t);if(Be(n)){const t=this.resolvePromise(n,(t,n)=>new El(26,t,n,void 0,void 0));this.output(2,t)}else{const t=this.qn.On;this.qn=this.qn.qn,this.writeValue(n,t)}}else if((t=>{const n=Object.getPrototypeOf(t);return null==n||n===Object.prototype||n===Array.prototype})(t))if(Array.isArray(t))this.output(4,t);else{const n=[];for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)){const i=t[e];Uc(i)||n.push(e,i)}this.output(5,n.length?n:0)}else if(this.vn._n(t))t.Nn.vnodeData[0]|=16,this.output(11,t.Nn.id);else if(t instanceof Qi){if(t instanceof yr){const n=((t,n)=>n===or?n:Ye(t.Vt.resolved||t.Vt.resolve(),t=>{let e;return"function"==typeof t&&(t=t()),t.serialize?e=t.serialize(n):"object"==typeof n&&Jc in n&&(e=n[Jc](n)),void 0===e&&(e=or),e}))(t,t.Ut);if(Be(n)){const e=this.resolvePromise(n,(n,e)=>new El(26,n,e,t.p,t.Vt));this.output(2,e)}else this.output(26,[t.Vt,t.p,n]);return}if(t instanceof Or)this.output(23,[...en(this.vn,t),t.R,t.$,...t.p||[]]);else if(t instanceof hr){let n=t.Ut;const e=16&t.R,i=8&t.R,r=1&t.R,s=Uc(t.Ut),o=t instanceof pr,l=o&&t.xt>0?t.xt:void 0,c=o&&1!==t.rn?t.rn:void 0,u=o&&0!==t.sn?t.sn:void 0,f=o&&-25&t.R||void 0;r||s?n=or:e?n=t.Ut:i&&(n=or);const a=[t.Vt,t.p];o&&(a.push(t.m,t.k,t.tn),a.push(f||void 0));let h=!1;n===or&&void 0===l&&void 0===c&&void 0===u||(a.push(n),void 0===n&&(h=!0)),o&&(a.push(l),a.push(c),a.push(u)),this.output(o?25:24,a,h)}else{const n=t.Ut,e=void 0===n,i=[n];t.p&&i.push(...t.p),this.output(22,i,e)}}else if(t instanceof URL)this.output(6,t.href);else if(t instanceof Date)this.output(7,Number.isNaN(t.valueOf())?"":t.valueOf());else if(t instanceof RegExp)this.output(8,""+t);else if(t instanceof Error){const n=[t.message];n.push(...Object.entries(t).flat()),this.output(15,n)}else if(this.vn.In(t)){const n=this.vn.St(t);this.vn.Mn(t,"q:id",n+""),this.output(10,t.id);const e=t.vnodeData;if(e&&(Ol(e,t=>this.vn.St(t)),e[0]|=16),t.children){const n=t.children.length;for(let e=0;e<n;e++){const n=t.children[e].vnodeData;if(n){for(let t=0;t<n.length;t++){const e=n[t];if(Pl(e)){const t=rn(e);t&&this.vn.St(t)}}n[0]|=16}}}}else if("undefined"!=typeof FormData&&t instanceof FormData){const n=[];for(const[e,i]of t.entries())"string"==typeof i&&n.push(e,i);this.output(28,n)}else if(t instanceof URLSearchParams)this.output(13,""+t);else if(t instanceof Set)this.output(17,[...t.values()]);else if(t instanceof Map){const n=[];for(const[e,i]of t.entries())n.push(e,i);this.output(18,n)}else if(Mr(t)){const n=[t.type,t.key,t.varProps,t.constProps,t.children,t.toSort||void 0];for(;void 0===n[n.length-1];)n.pop();this.output(29,n)}else if(t instanceof hc){const n=[t.Et,t.R,t.On,t.ut,t._t];for(;void 0===n[n.length-1];)n.pop();this.output(20,n)}else if(Be(t)){const n=this.resolvePromise(t,(t,n)=>new El(16,t,n));this.output(2,n)}else if(t instanceof El)if(26===t.Tn)if(t.Et)this.output(26,[t.Et,t.p,t.Fn]);else{if(!t.Ln)throw console.error(t.Fn),ie(33);{const n=this.qn.On;this.qn=this.qn.qn,this.writeValue(t.Fn,n)}}else this.output(16,[t.Ln,t.Fn]);else if(t instanceof Uint8Array){let n="";const e=t.length;for(let i=0;i<e;i++)n+=String.fromCharCode(t[i]);const i=btoa(n).replace(/=+$/,"");this.output(19,i)}else if(t instanceof Al){const n=t.zn;if(this.getSeenRefOrOutput(n,this.qn.On,!0)){let t=this.xn.get(n);void 0===t&&(t=this.Sn++,this.xn.set(n,t),this.Ot[t]=-1),this.output(2,t)}}else{if(!Ms(t))throw ie(20,[typeof t]);this.output(3,0)}}resolvePromise(t,n){const e=this.Sn++;return t.then(i=>{this.kn.delete(t),this.Ot[e]=this.vn.St(n(!0,i))}).catch(i=>{this.kn.delete(t),this.Ot[e]=this.vn.St(n(!1,i))}),this.kn.add(t),e}async outputRoots(){this.At.write("[");const{En:t}=this.vn;for(;this.gn<t.length||this.kn.size;){0!==this.gn&&this.At.write(bi);let n=!1;for(;this.gn<t.length;this.gn++)n?this.At.write(bi):n=!0,this.writeValue(t[this.gn],this.gn);if(this.kn.size)try{await Promise.race(this.kn)}catch{}}if(this.Ot.length){let t=this.Ot.length-1;for(;t>=0&&-1===this.Ot[t];)t--;if(t>=0){this.At.write(bi),this.At.write(14+bi);const n=t===this.Ot.length-1?this.Ot:this.Ot.slice(0,t+1);this.outputArray(n,!0,t=>{this.At.write(t+"")})}}this.At.write("]")}}class El{Tn;Ln;Fn;p;Et;constructor(t,n,e,i,r){this.Tn=t,this.Ln=n,this.Fn=e,this.p=i,this.Et=r}}const Ol=(t,n)=>{const e=t.length;for(let i=0;i<e;i++){const e=t[i];if(Pl(e))for(const t in e){const i=e[t];null==i||"string"==typeof i||t===Ne&&wi(i)||n(i)}}},Pl=t=>"object"==typeof t&&null!==t&&!wi(t);class Al{zn;constructor(t){this.zn=t}}const _l=t=>new Al(t);let Nl=()=>!1;class Il{Pn;constructor(t){this.Pn=t}}class Ml{NodeConstructor;DomRefConstructor;gt;Mn;h;At;Dn=new Map;Wn=new Map;Un=[];En=[];qt=new Set;Ct=new Set;jt=new Set;An=new Set;Qn;constructor(t,n,e,i,r,s){this.NodeConstructor=t,this.DomRefConstructor=n,this.gt=e,this.Mn=i,this.h=r,this.At=s,this.Qn=new Cl(this)}async Pt(){return await this.Qn.serialize()}getSeenRef(t){return this.Dn.get(t)}jn(t,n,e){const i={On:e,qn:n};return this.Dn.set(t,i),i}Vn(t){const n=[];for(;t.qn;)n.unshift(t.On),t=t.qn;return n.unshift(t.On),n.join(" ")}Cn(t,n){const e=this.Vn(t);void 0===n&&(n=this.En.length),this.En[n]=new Il(e),t.qn=null,t.On=n}St(t,n=!1){let e,i=this.Dn.get(t);return i?(i.qn&&this.Cn(i),e=i.On):(e=this.En.length,i={On:e},this.Dn.set(t,i),this.En.push(t)),n?i:e}In(t){return!!this.NodeConstructor&&t instanceof this.NodeConstructor}_n(t){return!!this.DomRefConstructor&&t instanceof this.DomRefConstructor}Jn(t){const n=this.Dn.get(t);return n&&(n.qn?void 0:n.On)}vt(t,n,e){const i=null==t;i&&(t=e.serialized||""+e);let r=this.Wn.get(t);if(void 0===r)if(r=this.Un.length,this.Wn.set(t,r),i)this.Un.push(t);else{let e="(";for(let t=0;t<n;t++)e+=(0==t?"p":",p")+t;this.Un.push(e+=")=>"+t)}return r}}const Tl=(t,n,e,i,r,s)=>{if(!s){const t=[];s={write:n=>t.push(n),toString:()=>t.join("")}}return Nl=n?t=>t instanceof n:()=>!1,new Ml(t,n,e,i,r,s)};class Fl{Bn;h;ht;_;Nt;Hn=0;Yn=null;Gn=null;l=null;u=null;o=0;constructor(t,n){this.Nt=t,this.ht=n,this.Bn=vi,this.h=new WeakMap,this._=()=>{throw Error("Not implemented")}}trackSignalValue(t,n,e,i){return Ko(t,n,e,this,i)}serializationCtxFactory(t,n,e,i){return Tl(t,n,e,this.setHostProp.bind(this),this.h,i)}ft(){0===this.o&&(this.u?.(),this.l=null)}}class Ll{}const zl=()=>Bc,Dl=async t=>{const[n,e]=Bc,i=await n(t);return i&&"object"==typeof i?e.r?Object.assign(e.r,i):e.r=bn(n.O,i,1):e.r=i,{r:e.r}},Wl=(t,n)=>{const{val:e,set:i,iCtx:r}=rl();if(e)return e;const s=Kc(null,"_rsc",Dl,null,[t,{}]);t.O=r.O;const o=wr(s,{timeout:n?.timeout,container:r.O,concurrency:0});o.j();const l={__brand:"resource",signal:o,get value(){return o.promise().then(()=>o.error?Promise.reject(o.error):o.value.r)},get loading(){return o.loading}};return i(l),l},Ul=({value:t,onResolved:n,onPending:e,onRejected:i})=>{if(Be(t))return t.then(n,i);const r=Ql(t),s=r?t.signal:t;if(e&&s.loading)return e();if(i&&s.error)return i(s.error);const o=r?s.value?.r:s.value;return Be(o)?o.then(n,i):n(o)},Ql=t=>t&&"resource"===t.__brand,Vl=(t,n)=>{Hl("q-e:",t,n)},Jl=(t,n)=>{Hl("q-d:",t,n)},Bl=(t,n)=>{Hl("q-w:",t,n)},Hl=(t,n,e)=>{const{isAdded:i,addEvent:r}=Yl();if(!i&&e)if(Array.isArray(n))for(const i of n)r(t+ti(i),e);else r(t+ti(n),e)},Yl=()=>{const t=Bo(),n=t.$;let e=t.O.getHostProp(n,ze);null===e&&(e={},t.O.setHostProp(n,ze,e));let i=t.O.getHostProp(n,De);null===i&&(i=0),t.O.setHostProp(n,De,i+1);let r=t.O.getHostProp(n,We);for(null===r&&(r=[],t.O.setHostProp(n,We,r));r.length<=i;)r.push(!1);return{isAdded:r[i],addEvent:(t,n)=>{r[i]=!0;let s=e[t];s||(e[t]=s=[]),s.push(n)}}},Gl=(t,n)=>{const e=Ho(t,n),i=e.O;let r=e.$;if(!i||!r)return;if(!i.getHostProp(r,ue)){const t=i.getParentHost(r);if(!t)return;r=t}const s=i.getHostProp(r,ue);if(s){const t=s.bt,n=Date.now(),e=t.includes("?")?t+"&t="+n:t+"?t="+n,o=vl(e,s.wt);o.O=i,o.dev=s.dev,i.setHostProp(r,ue,o)}Mt(i,r,4)};let Xl,Kl=Promise.resolve();const Zl=(t,n,e,i)=>{if(0!==e)switch(4!==e&&Array.isArray(i)&&(i=tc(t,i)),e){case 4:tc(t,i,n);break;case 5:if(0===i)break;for(let t=0;t<i.length;t+=2)n[i[t]]=i[t+1];break;case 20:const r=n,s=i;r.Et=s[0],r.R=s[1],r.On=s[2],r.ut=s[3],r._t=s[4];break;case 21:n[fu][0]=i[0];break;case 27:{const e=Cc(n),r=$l.get(e);r&&($l.delete(e),Zl(t,e,r.t,r.v));const[,s,o]=i,l=xc(n);l.R=s,l.p=o,dn(l.p,e);break}case 22:{const t=n,e=i;t.Ut=e[0],t.p=new Set(e.slice(1)),hn(t.p,t);break}case 23:{const e=n,r=i;e.lt=t.getSyncFn(r[0]),e.ct=r[1],e.Ut=or,e.R=r[2],e.R|=1,e.$=r[3],e.p=new Set(r.slice(4)),(t=>{if(null!==t.$&&Ms(t.$)){const n=t.$,e=t.p;let i=!1;if(e)for(const r of e){const e=r.property;if(ne(e)){const r=Us(n,e,null);if(null!==r){t.Ut=r,i=!0;break}}}if(!i){const e=yo(n);e&&n.firstChild===n.lastChild&&zs(e)&&(t.Ut=po(e))}}})(e),hn(e.p,e);break}case 25:{const t=n,e=i;t.Vt=e[0],t.p=new Set(e[1]),t.m=new Set(e[2]),t.k=new Set(e[3]),t.tn=e[4],t.R=e[5]??0,64&t.R&&(t.Zt=!0),e.length>6&&(t.Ut=e[6]),t.Ut===or&&(t.R|=1),t.interval=e[7]??0,t.rn=e[8]??1,t.sn=e[9]??0,hn(t.p,t),hn(t.m,t),hn(t.k,t);break}case 26:case 24:{const r=n,s=i;r.Vt=s[0];const o=r.Vt.resolve(t).catch(()=>{});Kl=Kl.finally(()=>o),s[1]&&(r.p=new Set(s[1])),s.length>2&&(r.Ut=s[2]),26!==e&&r.Ut!==or&&(r.R&=-2),hn(r.p,r);break}case 15:{const t=i;n.message=t[0];for(let e=1;e<t.length;e+=2)n[t[e]]=t[e+1];break}case 28:{const t=n,e=i;for(let n=0;n<e.length;n++)t.append(e[n++],e[n]);break}case 29:{const t=n,[e,r,s,o,l,c]=i;t.type=e,t.key=r,t.varProps=s,t.constProps=o||null,t.children=l,t.toSort=!!c;break}case 17:{const t=n,e=i;for(let n=0;n<e.length;n++)t.add(e[n]);break}case 18:{const t=n,e=i;for(let n=0;n<e.length;n++)t.set(e[n++],e[n]);break}case 16:{const t=n,[e,r]=i,[s,o]=pl.get(t);e?s(r):o(r);break}case 19:const o=n,l=atob(i);let c=0;for(const t of l)o[c++]=t.charCodeAt(0);break;case 30:const u=n,f=i;let a=f[0];a===Gi&&(a=new Nr(Yr,f[1],f[2],null,0,null),a._proxy=u),u[Bi]=a;const h=u[Hi];h.p=f[3],dn(h.p,u);break;case 31:{const t=n;t.data.st=i[0],t.data.mn=i[1];break}case 32:{const t=n,e=i;t.consumer=e[0],t.property=e[1],t.data=e[2],(t=>{const n=import.meta.env.TEST?Ri():_n,e=t.consumer;n&&!e||(e[Ai]||=new Map,e[Ai].set(t.property,t))})(t);break}default:throw ie(16,[e])}},tc=(t,n,e=Array(n.length/2))=>{for(let i=0;i<n.length;i+=2)e[i/2]=an(t,n[i],n[i+1]);return e},nc=t=>t>=15||4===t||5===t,ec=new WeakMap,ic=Symbol(),rc=(t,n)=>{if(!Array.isArray(n)||Ms(n)||Zn(e=n)&&ic in e)return n;var e;let i=ec.get(n);if(!i){const e=Array(n.length/2).fill(void 0);i=new Proxy(e,new sc(t,n)),ec.set(n,i)}return i};class sc{O;Xn;Kn;constructor(t,n){this.O=t,this.Xn=n,this.Kn=this.Xn.length/2}get(t,n,e){if(n===ic)return t;const i="number"==typeof n?n:"string"==typeof n?parseInt(n,10):NaN;if(Number.isNaN(i)||i<0||i>=this.Kn)return Reflect.get(t,n,e);const r=2*i,s=this.Xn[r],o=this.Xn[r+1];if(0===s)return o;const l=this.O,c=yl(l,s,o);return Reflect.set(t,n,c),this.Xn[r]=0,this.Xn[r+1]=c,nc(s)&&Zl(l,c,s,o),c}has(t,n){return n===ic||Object.prototype.hasOwnProperty.call(t,n)}set(t,n,e,i){if(n===ic)return!1;const r=Reflect.set(t,n,e,i),s="number"==typeof n?n:parseInt(n,10);if(Number.isNaN(s)||s<0||s>=this.Xn.length/2)return r;const o=2*s;return this.Xn[o]=0,this.Xn[o+1]=e,!0}}const oc=t=>33<=t&&t<=46,lc=(t,n,e)=>{let i=0;for(;n<e;){const e=t.charCodeAt(n);if(92===e)n+=2;else{if(0===i&&oc(e))break;123===e?i++:125===e&&i--,n++}}return n},cc=t=>t instanceof uc;class uc extends Fl{element;qContainer;qManifestHash;rootVNode;document;h=new WeakMap;Zn;Yn;Ot=null;vNodeLocate=t=>Gs(this.rootVNode,t);te;ne;ee=null;constructor(t){if(super({},t.getAttribute("q:locale")),this.qContainer=t.getAttribute(qe),!this.qContainer)throw ie(25);this.document=t.ownerDocument,this.element=t,this.Gn=t.getAttribute(ve),this.Yn=t.getAttribute("q:instance"),this.qManifestHash=t.getAttribute("q:manifest-hash"),this.rootVNode=_s(this.element),this.te=[],this.ne=[];const n=this.element.ownerDocument;n.qVNodeData||function(t){const n="q:container",e="/"+n,i="q:ignore",r="/"+i,s="q:container-island",o="/"+s,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=>{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(s))return 65;if(l.startsWith(i))return 16;if(l.startsWith(n))return 9;if(l.startsWith(o))return 64;if(l.startsWith(r))return 32;if(l.startsWith(e))return 8}return 0},p=t=>{for(;t&&(t=t.nextSibling)&&0===d(t););return t},$=(n,e,i,r,s,o)=>{const c=s.length;let u=0,f=-1,a=0,h=0,y=0,m=-1,w=null;const b=()=>{let t=0;for(;oc(y=s.charCodeAt(a))&&(t+=1<<y-33,a++,!(a>=c)););return t};do{if(i===r)return;w=null;const v=i==e?2:d(i);if(3===v){const t=i;let e=i;for(;e&&!(w=p(e));)e=e.parentNode;$(n,t,i,w,t.qVnodeData||"",t.qVNodeRefs)}else if(16===v){let t=i;do{if(t=n.nextNode(),!t)throw Error(`Island inside \x3c!--${i?.nodeValue}--\x3e not found!`)}while(65!==d(t));w=null}else if(64===v){w=i;do{if(w=n.nextNode(),!w)throw Error("Ignore block not closed!")}while(32!==d(w));w=null}else if(9===v){w=i;do{if(w=p(w),!w)throw Error(`\x3c!--${i?.nodeValue}--\x3e not closed!`)}while(8!==d(w));$(n,i,i,w,"",null)}else if(6===v){w=p(i);const n=i,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?s.charCodeAt(h):33),h=lc(s,a,c)):f=Number.MAX_SAFE_INTEGER),u===f){m===u&&o.set(u,i);const t=s.substring(a,h);l.set(i,t)}u++}}while(i=w||n.nextNode())},y=t.createTreeWalker(t,129);$(y,null,y.firstChild(),null,"",null)}(n),this.Zn=be(n,this.Yn)||Xi,this.ie(),t.setAttribute(qe,"resumed"),t.qContainer=this;const e=t.querySelectorAll('script[type="qwik/state"]');0!==e.length&&(this.te=JSON.parse(e[e.length-1].textContent),kn(this.te,this),this.ne=rc(this,this.te)),this.re(),!zn&&t.isConnected&&t.dispatchEvent(new CustomEvent("qresume",{bubbles:!0}))}re(){const t=this.element.ownerDocument,n=t.head,e=t.body.querySelectorAll($e),i=e.length;if(i){const r=t.createDocumentFragment();for(let t=0;t<i;t++)r.appendChild(e[t]);n.appendChild(r)}}bn(t,n){this.ne[t]=n}parseQRL(t){const n=Zt(t);return n.O=this,n}handleError(t,n){if(Tn&&n){if("undefined"!=typeof document){const e=()=>{const e=n,i=e.parent,r=e.nextSibling,s=[],o=((t,n,e,i)=>{const r=n.createElement("errored-host");i&&i instanceof Error&&(r.props={error:i}),r.setAttribute("q:key","_error_");const s=As(r,"errored-host");if(Fs(e))lo(t,s,e,null);else{const n=[];Lt(t,e,t=>{n.push(t)});for(let e=0;e<n.length;e++)lo(t,s,n[e],null)}return s})(s,document,e,t),l=Ts(e)&&i||e;no(s,l,o,l===e?null:r)};this.l?this.l.then(e):e()}if(t&&t instanceof Error&&("hostElement"in t||(t.hostElement=n+"")),!(t=>!(t&&t instanceof Error&&"plugin"in t))(t))throw t}const e=n&&this.resolveContext(n,fl);if(!e)throw t;e.error=t}setContext(t,n,e){let i=this.getHostProp(t,me);null==i&&this.setHostProp(t,me,i=[]),Yn(i,n.id,e,0,!0)}resolveContext(t,n){for(;t;){const e=this.getHostProp(t,me);if(null!=e&&Xn(e,n.id,0))return Gn(e,n.id,0);t=this.getParentHost(t)}}getParentHost(t){let n=t.parent;for(;n;)if(Ds(n)){if(null!==Us(n,ue,null))return n;n=n.parent||n.slotParent}else n=n.parent;return null}setHostProp(t,n,e){Qs(t,n,e)}getHostProp(t,n){const e=t;let i=null;switch(n){case Ie:case Ne:case ue:case me:case we:i=this._;break;case Me:case De:i=parseInt}return Us(e,n,i)}ensureProjectionResolved(t){if(!(16&t.flags)){t.flags|=16;const n=t.props;if(n)for(const t of Object.keys(n))if(P(t)){const e=n[t];if("string"==typeof e){const i=this.vNodeLocate(e);n[t]=i}}}}_=t=>Rn(t,this.ne);getSyncFn(t){return this.Zn[t]}se(t,n,e,i){if(i){const t=this.getHostProp(e,ye),i=new Set((t=>t?.split(" ")??null)(t));i.add(n),this.setHostProp(e,ye,(t=>Array.from(t).join(" "))(i))}if(null==this.ee&&(this.ee=new Set,this.element.querySelectorAll(pe).forEach(t=>{this.ee.add(t.getAttribute(de))})),!this.ee.has(n)){this.ee.add(n);const e=this.document.createElement("style");e.setAttribute(de,n),e.textContent=t,this.document.head.appendChild(e)}}ie(){const t={},n=this.element.attributes;if(n)for(let e=0;e<n.length;e++){const i=n[e];i.name!==Ue&&(t[i.name]=i.value)}this.Nt={containerAttributes:t}}}const fc=(t,n)=>{const{val:e,set:i,iCtx:r,i:s}=rl();if(e)return;i(1);const o=new hc(6|(!1===n?.deferUpdates?0:8),s,r.$,t,void 0,null);i(o);const l=r.O,{yt:c}=r,u=Ye(c,()=>ac(o,l,r.$));Be(u)&&(r.yt=u)},ac=(t,n,e)=>{t.R&=-5,ms(t);const i=Gt(n.ht,e,"qTask");i.O=n;const r=t.Et.getFn(i,()=>y(n,t)),s=ar(t,n),[o]=((t,n)=>{let e=null;return[i=>{"function"==typeof i&&(e||(e=[],t.dn=()=>{t.dn=null;for(const t of e)try{t()}catch(t){n(t)}}),e.push(i))},e??[]]})(t,t=>n.handleError(t,e)),l={track:s,cleanup:o};return He(()=>r(l),o,i=>{if(Be(i))return i.then(()=>ac(t,n,e));n.handleError(i,e)})};class hc extends _i{R;On;ut;Et;_t;dn;constructor(t,n,e,i,r,s){super(),this.R=t,this.On=n,this.ut=e,this.Et=i,this._t=r,this.dn=s}}const dc=t=>t instanceof hc,pc=t=>{if(!t.resolved)throw t.resolve()},$c=t=>t instanceof Qi,yc=(t,n)=>{t.add(n)},mc=(t,n)=>{(t.backRef||=new Set).add(n)},wc=(t,n)=>{if(n?.serializationCtx){const e=t.consumer,i=t.property;let r=null;dc(e)?r=e.Et:e instanceof hr?r=e.Vt:":"===i&&(r=n.getHostProp(e,ue)),r&&n.serializationCtx.Ct.add(r)}},bc=(t,n,e)=>{const i=!import.meta.env.TEST||!Ri();if(e){const r=e=>{const r=e.consumer,s=e.property;if(dc(r))r.R|=4,Mt(t,r.ut,1);else if(r instanceof Qi)r.invalidate();else if(":"===s)Mt(t,r,4);else if("."===s)i&&(o=r,l=n,(o.props||={})[Wi]=l,Mt(t,r,2));else{const o=e.data;if(o instanceof Pr){const e=o.data,l={isConst:e.mn,scopedStyleIdPrefix:e.st,value:n};if(i)((t,n,e)=>{const i=t.props||={};let r=i[Di];r||(r=new Map,i[Di]=r),r.set(n,e)})(r,s,l);else{const t=r;let n=t.getProp(Di);n||(n=new Map,t.setProp(Di,n)),n.set(s,l)}Mt(t,r,8)}}var o,l},s=Array.from(e);for(const t of s)r(t)}},vc=t=>Zn(t)&&"function"==typeof t[Jc],gc=t=>{let n=1;switch(t){case"never":n|=8;break;case"always":n|=16}return n},Sc=[],kc=t=>{if(Mr(t)){if("function"==typeof t.type){const n=t.type[fu];if(n){const[t]=n;return"Component("+t.wt+")"}return"Function("+t.type.name+")"}let n="<"+t.type;if(t.props){for(const[e,i]of Object.entries(t.props))n+=" "+e+"="+wn(i);const e=t.children;null!=e?(n+=">",Array.isArray(e)?e.forEach(t=>{n+=kc(t)}):n+=kc(e),n+="</"+t.type+">"):n+="/>"}return n}return t+""},xc=t=>t[ur],qc=t=>t?.[cr]||null,Rc=(t,n)=>{const e=xc(t);e&&e.force(n)},jc=(t,n)=>{const e=xc(t);return!!e&&(e.p?.get(n)?.size??0)>0},Cc=t=>qc(t)||t,Ec=t=>cr in t,Oc=(t,n,e)=>{if(Kn(t)&&e){let i=e.h.get(t);return i||(i=bn(e,t,n),e.h.set(t,i)),i}return t};class Pc{R;O;p=void 0;constructor(t,n){this.R=t,this.O=n}toString(){return"[Store]"}force(t){const n=qc(this);bc(this.O,this,Sn(n,t,this.p))}get(t,n){if("symbol"==typeof n)return n===cr?t:n===ur?this:t[n];const e=Jo(),i=t[n];if(e){if(null===this.O){if(!e.O)return i;this.O=e.O}const r=e.$t;r&&vn(t,Array.isArray(t)?fr:n,this,r)}return"toString"===n&&i===Object.prototype.toString?this.toString:1&this.R&&Zn(i)&&!Object.isFrozen(i)&&!Ec(i)&&!Object.isFrozen(t)?Oc(i,this.R,this.O):i}set(t,n,e){if("symbol"==typeof n)return t[n]=e,!0;const i=1&this.R?Cc(e):e;return n in t?i!==t[n]&&gn(n,i,t,this):gn(n,i,t,this),!0}deleteProperty(t,n){return"string"==typeof n&&delete t[n]&&(Array.isArray(t)||bc(this.O,this,Sn(t,n,this.p)),!0)}has(t,n){if(n===cr)return!0;if("string"==typeof n){const e=Jo();if(e){const i=e.$t;i&&vn(t,Array.isArray(t)?fr:n,this,i)}}return Object.prototype.hasOwnProperty.call(t,n)}ownKeys(t){const n=Jo(),e=n?.$t;return e&&vn(t,fr,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}}}const Ac=(t,n)=>t[n],_c=(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(Ec(t)&&(t=qc(t)),e==Object.prototype){for(const e in t)if(!_c(Yo(Ac,t,e),n))return!1;return!0}if(e==Array.prototype){for(let e=0;e<t.length;e++)if(!_c(t[e],n))return!1;return!0}if(dc(t))return!0;if(sr(t))return!0;if(Be(t))return!0;if(Mr(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 Pr)return!0;if(Nl?.(t))return!0}else if("function"==typeof t){if(se(t)||au(t)||t===Kr||t===Yr)return!0}else if(t===Gi||t===or||t===fr)return!0;return!1},Nc=(t,n)=>{let e=Ms(t)?Ut.call(t,1,"",!0).replaceAll(/\n.*/gm,""):"function"==typeof t?t+"":(t=>{const n=new WeakSet;return JSON.stringify(t,(t,e)=>{if(Zn(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 Ic=!1;const Mc=(t,n=!1,e="",i=20)=>{const r=n?"":"",s=n?"":"",o=""===e,l=[];for(let o=0;o<t.length;o++){if(i&&o>2*i){l.push("...");break}const c=t[o];let u=t[++o];if(0===c){"number"!=typeof u&&"string"!=typeof u&&(Ic=!0);const t=`{${Zn(u)?u.constructor.name:typeof u}}`;l.push(`${r}${t}${s} ${Nc(u,e+" ")}`)}else 3===c?u=Fc(u):"string"==typeof u?(u=JSON.stringify(u),u.length>120&&(u=u.slice(0,120)+'"...')):14===c?u=`[\n${e} ${u.join(`\n${e} `)}\n${e}]`:Array.isArray(u)&&(u=u.length?`[\n${Mc(u,n,e+" ")}\n${e}]`:"[]"),l.push(`${r}${Tc(c)}${s} ${u}`)}const c=l.map((t,n)=>`${e}${o?n+" ":""}${t}`).join("\n");if(o){const n=Ic?"":`(${JSON.stringify(t).length} chars)`;return Ic=!1,`\n${c}\n${n}`}return c},Tc=t=>dl[t]||`Unknown(${t})`,Fc=t=>hl[t]||`Unknown(${t})`,Lc=(t,n)=>Yo(zc,t,new WeakSet,"_",n),zc=(t,n,e,i)=>{const r=Cc(t);if(null==r)return t;if(Wc(r)){if("object"==typeof r){if(n.has(r))return t;n.add(r)}if($c(r))return t;if(_c(r))return t;const s=typeof r;if("object"===s){if(Be(r))return t;if((t=>t&&"number"==typeof t.nodeType)(r))return t;if(te(r)){let i=0;return r.forEach((t,s)=>{if(s!==i)throw ie(3,[r]);zc(t,n,e+"["+s+"]"),i=s+1}),t}if(r.__brand)return t;if(Kn(r)){for(const[t,i]of Object.entries(r))zc(i,n,e+"."+t);return t}}let o;if(o=i||"Value cannot be serialized","_"!==e&&(o+=` in ${e},`),"object"===s)o+=` 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"===s){const n=t.name;o+=` because it's a function named "${n}". You might need to convert it to a QRL using $(fn):\n\nconst ${n} = $(${t+""});\n\nPlease check out https://qwik.dev/docs/advanced/qrl/ for more information.`}throw ie(3,[o])}return t},Dc=/*#__PURE__*/new WeakSet,Wc=t=>!Zn(t)&&!ee(t)||!Dc.has(t)&&!(Vc in t),Uc=t=>!!t&&(Zn(t)||"function"==typeof t)&&(Dc.has(t)||Vc in t),Qc=t=>((Zn(t)&&null!==t||"function"==typeof t)&&Dc.add(t),t),Vc=Symbol(),Jc=Symbol();let Bc=null;const Hc=t=>{Bc=t},Yc=(t,n)=>{const e=[];for(const i of n.split(" "))e.push(t._(i));return e},Gc=t=>{if(Bc=t.Rt,"string"==typeof Bc){if(!t.O)throw ie(13);const n=Kl;if(Bc=t.Rt=Yc(t.O,Bc),Kl!==n)return Kl}},Xc=(t,n)=>"function"==typeof n&&t.Rt?function(...e){return Gc(t),n.apply(this,e)}:n,Kc=(t,n,e,i,r)=>{const s=e;if(Tn&&Fn&&r&&"object"==typeof r)for(const t of r)Lc(t,"Captured variable in the closure can not be serialized");const o=async function(...t){if(o.resolved)return o.resolved.apply(this,t);const n=Jo();return await o.resolve(n?.O),Ht.call(this,n,o.resolved,t)};i&&n in i&&(e=i[n]);const l=null!=e?async()=>e:((t,n)=>{let e;return async i=>{if(null!=e)return e;if(i)t.O=i;else if(!t.O){const n=Jo();n?.O&&(t.O=n.O)}if(""===t.bt){const n=t.O.Yn,i=t.O.element?.ownerDocument||document,r=be(i,n);return t.resolved=e=r[+t.wt]}t.bt&&An(t.bt,1);const r=eu(),s=t.wt,o=n?n().then(t=>t[s]):qi().importSymbol(t.O?.element,t.bt,s);if(e=Ye(o,i=>(n&&(n[s]=i),e=t.resolved=Xc(t,i))),Be(e)){const t=Jo();e.then(()=>tu(s,t?.$ instanceof Mi?t?.$.node:void 0,r),t=>{console.error(`qrl ${s} failed to load`,t),e=null})}return t.O&&await Gc(t),e}})(o,i),c=(t=>{const n=t.lastIndexOf("_");return n>-1?t.slice(n+1):t})(n);return Object.assign(o,{getSymbol:Cn,getHash:En,getCaptured:On,getFn:function(t,n){return jn.call(this,o,t,n)},resolve:l,resolved:void 0,bt:t,wt:n,ot:c,Rt:r,O:null}),Tn&&(o.dev=null,o.oe=s,Wn(o)),null!=e&&(e=Ye(Gc(o),()=>Ye(e,t=>e=o.resolved=Xc(o,t)))),t&&An(t,.8),o},Zc=/*#__PURE__*/new Set,tu=(t,n,e)=>{Zc.has(t)||(Zc.add(t),nu("qsymbol",{symbol:t,element:n,reqTime:e}))},nu=(t,n)=>{zn||Ri()||"object"!=typeof document||document.dispatchEvent(new CustomEvent(t,{bubbles:!1,detail:n}))},eu=()=>zn||Ri()?0:"object"==typeof performance?performance.now():0;let iu=0;const ru=t=>{if(!Dn&&Tn)throw Error("Optimizer should replace all usages of $() with some special syntax. If you need to create a QRL manually, use inlinedQrl() instead.");return Kc(null,"s"+iu++,t,null,null)},su=ru,ou=t=>t,lu=t=>{if(!Dn&&Tn)throw Error("Optimizer should replace all usages of sync$() with some special syntax. If you need to create a QRL manually, use inlinedSyncQrl() instead.");return Tn&&(t=Function("return "+t)()),Kc("",re,t,null,null)},cu=(t,n)=>(void 0===n&&(n=""+t),t.serialized=n,Kc("",re,t,null,null)),uu=t=>{function n(n,e,i=0){const r=(zn?"sX":t.ot.slice(0,4))+":"+(e||""),s=()=>{};return s[fu]=[t],Dr(s,n,null,n.children,i,r)}return n[fu]=[t],n},fu=Symbol(),au=t=>"function"==typeof t&&void 0!==t[fu],hu=t=>uu(su(t)),du=$r(ou),pu=async(t,n,e={})=>{if(9===t.nodeType){let n=t.firstChild;for(;n&&!ji(n);)n=n.nextSibling;t=n}if(Tn&&t.hasAttribute(qe))throw ie(4,[t]);t.setAttribute(qe,"resumed");const i=pn(t);i.Nt=e.serverData||{};const r=i.rootVNode;return Qs(r,Wi,n),Mt(i,r,2),await i.l,{cleanup:()=>{dt(i,[],i.rootVNode)}}},$u=(t,n)=>{const{val:e,set:i,iCtx:r}=rl();if(null!=e)return e;const s=ee(t)?Bt(void 0,t):t;if(!1===n?.reactive)return i(s),s;{const t=r.O,e=Oc(s,n?.deep??1?1:0,t);return i(e),e}},yu=()=>{const{val:t,set:n,iCtx:e}=rl();if(null!=t)return t;const i=e.O.Gn||"",r=i?ei(i).substring(0,3):"",s=e.O.getHostProp(e.$,ue);let o=`${r}${s?.getHash().substring(0,3)||""}${(e.O.Hn++).toString(36)||""}`,l=o.charCodeAt(0);return l>=48&&l<=57&&(l+=17,o=String.fromCharCode(l)+o.substring(1)),n(o)},mu=/*#__PURE__*/new Map,wu=(t,n)=>{if(Tn)return bu(t,n);let e=mu.get(n);return e||mu.set(n,e=bu(t,n)),e},bu=(t,n)=>{function e(n){l.push(t.substring(f,n)),f=n}function i(t){a===Ru||s()||(e(t),l.push(".",fe,n))}function r(n){let e=0;if(t.charCodeAt(u)===Uu)for(let n=1;n<10;n++)if(t.charCodeAt(u+n)===Uu){e=n+1;break}t:for(let i=3;i<n.length;i++){const r=n[i];for(let n=0;n<r.length;n++)if((t.charCodeAt(u+n+e)|Zu)!==r.charCodeAt(n))continue t;return u+=r.length+e,!0}return!1}function s(){return-1!==c.indexOf(Ru)||-1!==c.indexOf(Cu)}const o=t.length,l=[],c=[];let u=0,f=u,a=xu,h=0;for(;u<o;){const n=u;let o=t.charCodeAt(u++);o===Xu&&(u++,o=Hu);const l=of[a];for(let d=0;d<l.length;d++){const p=l[d],[$,y,m]=p;if(($===h||$===_u||$===Nu&&vu(h)||$===Mu&&ku(h))&&(y===o||y===_u||y===Nu&&vu(o)||y===Iu&&!vu(o)&&o!==Qu||y===Mu&&ku(o))&&(3==p.length||r(p))){if(p.length>3&&(o=t.charCodeAt(u-1)),m===Pu||m==Au){m===Au&&(a!==qu||s()?gu(o)||i(u-(y==Iu?1:y==Wu?2:0)):(gu(o)?e(u-2):i(u-2),f++)),y===Iu&&(u--,o=h);do{a=c.pop()||xu,a===Ru&&(e(u-1),f++)}while(Su(a))}else c.push(a),a===Ru&&m===xu?(e(u-8),f=u):m===ju&&i(n),a=m;break}}h=o}return e(u),l.join("")},vu=t=>t>=Vu&&t<=Ju||t>=Hu&&t<=Yu||t>=tf&&t<=nf||t>=128||t===Ku||t===Uu,gu=t=>t===Bu||t===Qu||t===Gu||t===Du||vu(t),Su=t=>t===Eu||t===Cu||t===Ou||t===Ru,ku=t=>t===zu||t===Tu||t===Fu||t===Lu,xu=0,qu=2,Ru=5,ju=6,Cu=10,Eu=11,Ou=12,Pu=17,Au=18,_u=0,Nu=1,Iu=2,Mu=3,Tu=9,Fu=10,Lu=13,zu=32,Du=35,Wu=41,Uu=45,Qu=46,Vu=48,Ju=57,Bu=58,Hu=65,Yu=90,Gu=91,Xu=92,Ku=95,Zu=32,tf=97,nf=122,ef=123,rf=125,sf=/*@__PURE__*/(()=>[[_u,39,14],[_u,34,15],[_u,47,16,"*"]])(),of=/*@__PURE__*/(()=>[[[_u,42,qu],[_u,Gu,7],[_u,Bu,ju,":","before","after","first-letter","first-line"],[_u,Bu,Ru,"global"],[_u,Bu,3,"has","host-context","not","where","is","matches","any"],[_u,Bu,4],[_u,Nu,1],[_u,Qu,1],[_u,Du,1],[_u,64,Cu,"keyframe"],[_u,64,Eu,"media","supports","container"],[_u,64,Ou],[_u,ef,13],[47,42,16],[_u,59,Pu],[_u,rf,Pu],[_u,Wu,Pu],...sf],[[_u,Iu,Au]],[[_u,Iu,Au]],[[_u,40,xu],[_u,Iu,Au]],[[_u,40,8],[_u,Iu,Au]],[[_u,40,xu],[_u,Iu,Pu]],[[_u,Iu,Pu]],[[_u,93,Au],[_u,39,14],[_u,34,15]],[[_u,Wu,Pu],...sf],[[_u,rf,Pu],...sf],[[_u,rf,Pu],[Mu,Nu,1],[_u,Bu,Ru,"global"],[_u,ef,13],...sf],[[_u,ef,xu],[_u,59,Pu],...sf],[[_u,59,Pu],[_u,ef,9],...sf],[[_u,rf,Pu],[_u,ef,13],[_u,40,8],...sf],[[_u,39,Pu]],[[_u,34,Pu]],[[42,47,Pu]]])(),lf=t=>({styleId:af(t,t=>t,!1)}),cf=/*#__PURE__*/$r(lf),uf=t=>({scopeId:fe+af(t,wu,!0)}),ff=/*#__PURE__*/$r(uf),af=(t,n,e)=>{const{val:i,set:r,iCtx:s,i:o}=rl();if(i)return i;const l=(c=o,`${ei(t.ot)}-${c}`);var c;const u=s.$;if(r(l),!t.resolved)throw t.resolve().then(t=>s.O.se(n(t,l),l,u,e));return s.O.se(n(t.resolved,l),l,u,e),l},hf=t=>{const n=ee(t)&&!au(t)?Bt(void 0,t):t;return vr(n)},df=t=>pf(hf,t),pf=(t,...n)=>{const{val:e,set:i}=rl();return null!=e?e:i(t=ee(t)&&!au(t)?Yo(t,...n):t)},$f=(t,n)=>(t.resolve(),mr(t,n)),yf=(t,n)=>pf($f,t,n),mf=$r(yf),wf=t=>(t.resolve(),br(t)),bf=t=>pf(wf,t),vf=$r(bf),gf=(t,n)=>{const{val:e,set:i,i:r,iCtx:s}=rl(),o=n?.strategy??"intersection-observer";if(e)return void(32&e.R||Ri()||(e.R|=32,Sf(e,o)));let l;Ri()?l=1:(l=5,t.resolve(),Mt(s.O,s.$,1));const c=new hc(l,r,s.$,t,void 0,null);i(c),Sf(c,o)},Sf=(t,n)=>{"intersection-observer"===n?Vl("qvisible",kf(t)):"document-ready"===n?Jl("qinit",kf(t)):"document-idle"===n&&Jl("qidle",kf(t))},kf=t=>Kc(null,"_task",mn,null,[t]),xf=$r(Wl),qf=/*#__PURE__*/$r(fc),Rf=/*#__PURE__*/$r(gf),jf=(t,n)=>(t.resolve(),wr(t,n)),Cf=(t,n)=>pf(jf,t,n),Ef=$r(Cf),Of=()=>{const t=$u({error:void 0});return ol(fl,t),t},Pf=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 i=Af.replace('"_URL_"',JSON.stringify(e.path.split("/").pop()));return i=i.replaceAll(/\s\s+/gm,""),zr("script",null,{dangerouslySetInnerHTML:"("+i+")(navigator.serviceWorker);",nonce:e.nonce},null,0,"prefetch-service-worker")},Af=/*#__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)}),_f=()=>null;globalThis.__qwik&&ie(30,[globalThis.__qwik,vi]),globalThis.__qwik=vi,import.meta.hot&&import.meta.hot.dispose(()=>{globalThis.__qwik=void 0});export{ru as $,Yr as Fragment,Vc as NoSerializeSymbol,_f as PrefetchGraph,Pf as PrefetchServiceWorker,Gr as RenderOnce,Ul as Resource,ns as SSRComment,ts as SSRRaw,is as SSRStream,es as SSRStreamBlock,Jc as SerializerSymbol,Zr as SkipRender,Kr as Slot,Vi as _CONST_PROPS,uc as _DomContainer,Ai as _EFFECT_BACK_REF,Xi as _EMPTY_ARRAY,Ki as _EMPTY_OBJ,Yi as _IMMUTABLE,Fl as _SharedContainer,Pr as _SubscriptionData,Gi as _UNINITIALIZED,Ji as _VAR_PROPS,Bc as _captures,S as _chk,Kc as _createQRL,qn as _deserialize,Mc as _dumpState,Nt as _executeSsrChores,jl as _fnSignal,rr as _getConstProps,nl as _getContextContainer,tl as _getContextEvent,Zo as _getContextHostElement,pn as _getDomContainer,yn as _getQContainerElement,ir as _getVarProps,jc as _hasStoreEffects,Gl as _hmr,Mr as _isJSXNode,Ec as _isStore,nn as _isStringifiable,dc as _isTask,el as _jsxBranch,Wr as _jsxC,Qr as _jsxQ,Ur as _jsxS,zr as _jsxSorted,Dr as _jsxSplit,Hn as _mapApp_findIndx,Gn as _mapArray_get,Yn as _mapArray_set,Sl as _noopQrl,kl as _noopQrlDEV,kn as _preprocessState,cu as _qrlSync,Xt as _qrlToString,Rl as _regSymbol,k as _res,ul as _resolveContextWithoutSequentialScope,ls as _restProps,Dl as _rsc,_ as _run,xn as _serialize,cn as _setEvent,mn as _task,fn as _useHmr,g as _val,Lc as _verifySerializable,Bs as _vnode_ensureElementInflated,No as _vnode_getAttrKeys,yo as _vnode_getFirstChild,Ls as _vnode_isMaterialized,zs as _vnode_isTextVNode,Ds as _vnode_isVirtualVNode,Ut as _vnode_toString,il as _waitUntilRendered,on as _walkJSX,jr as _wrapProp,Er as _wrapSignal,hu as component$,uu as componentQrl,Sr as createAsync$,wr as createAsyncQrl,gr as createComputed$,mr as createComputedQrl,sl as createContextId,x as createElement,kr as createSerializer$,br as createSerializerQrl,vr as createSignal,du as event$,ou as eventQrl,Rc as forceStoreEffects,pn as getDomContainer,Vt as getLocale,qi as getPlatform,x as h,$r as implicit$FirstArg,gl as inlinedQrl,ql as inlinedQrlDEV,Nn as isBrowser,In as isDev,_n as isServer,$c as isSignal,Jr as jsx,Br as jsxDEV,Hr as jsxs,Qc as noSerialize,vl as qrl,xl as qrlDEV,pu as render,xi as setPlatform,lu as sync$,Yo as untrack,Cc as unwrapStore,Ef as useAsync$,Cf as useAsyncQrl,mf as useComputed$,yf as useComputedQrl,pf as useConstant,ll as useContext,ol as useContextProvider,Of as useErrorBoundary,yu as useId,zl as useLexicalScope,Vl as useOn,Jl as useOnDocument,Bl as useOnWindow,xf as useResource$,Wl as useResourceQrl,vf as useSerializer$,bf as useSerializerQrl,Pn as useServerData,df as useSignal,$u as useStore,cf as useStyles$,lf as useStylesQrl,ff as useStylesScoped$,uf as useStylesScopedQrl,qf as useTask$,fc as useTaskQrl,Rf as useVisibleTask$,gf as useVisibleTaskQrl,vi as version,Jt as withLocale};