(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))n(r);new MutationObserver(r=>{for(const s of r)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function i(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerPolicy&&(s.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?s.credentials="include":r.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(r){if(r.ep)return;r.ep=!0;const s=i(r);fetch(r.href,s)}})();const fn=(e,t)=>e===t,be=Symbol("solid-proxy"),Kt={equals:fn};let hn=Ti;const dt=1,Xt=2,wi={owned:null,cleanups:null,context:null,owner:null};var x=null;let me=null,pn=null,k=null,D=null,lt=null,ce=0;function Ei(e,t){const i=k,n=x,r=e.length===0,s=t===void 0?n:t,a=r?wi:{owned:null,cleanups:null,context:s?s.context:null,owner:s},o=r?e:()=>e(()=>K(()=>de(a)));x=a,k=null;try{return ft(o,!0)}finally{k=i,x=n}}function xt(e,t){t=t?Object.assign({},Kt,t):Kt;const i={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0},n=r=>(typeof r=="function"&&(r=r(i.value)),ki(i,r));return[Ii.bind(i),n]}function Ct(e,t,i){const n=Ci(e,t,!1,dt);ue(n)}function j(e,t,i){i=i?Object.assign({},Kt,i):Kt;const n=Ci(e,t,!0,0);return n.observers=null,n.observerSlots=null,n.comparator=i.equals||void 0,ue(n),Ii.bind(n)}function K(e){if(k===null)return e();const t=k;k=null;try{return e()}finally{k=t}}function xi(e,t,i){const n=Array.isArray(e);let r,s=i&&i.defer;return a=>{let o;if(n){o=Array(e.length);for(let u=0;ut(o,r,a));return r=o,l}}function Ai(e){return x===null||(x.cleanups===null?x.cleanups=[e]:x.cleanups.push(e)),e}function vn(){return x}function gn(e,t){const i=x,n=k;x=e,k=null;try{return ft(t,!0)}catch(r){Ce(r)}finally{x=i,k=n}}function mn(e){const t=k,i=x;return Promise.resolve().then(()=>{k=t,x=i;let n;return ft(e,!1),k=x=null,n?n.done:void 0})}function Li(e,t){const i=Symbol("context");return{id:i,Provider:En(i),defaultValue:e}}function yn(e){return x&&x.context&&x.context[e.id]!==void 0?x.context[e.id]:e.defaultValue}function ke(e){const t=j(e),i=j(()=>we(t()));return i.toArray=()=>{const n=i();return Array.isArray(n)?n:n!=null?[n]:[]},i}function Ii(){if(this.sources&&this.state)if(this.state===dt)ue(this);else{const e=D;D=null,ft(()=>Yt(this),!1),D=e}if(k){const e=this.observers?this.observers.length:0;k.sources?(k.sources.push(this),k.sourceSlots.push(e)):(k.sources=[this],k.sourceSlots=[e]),this.observers?(this.observers.push(k),this.observerSlots.push(k.sources.length-1)):(this.observers=[k],this.observerSlots=[k.sources.length-1])}return this.value}function ki(e,t,i){let n=e.value;return(!e.comparator||!e.comparator(n,t))&&(e.value=t,e.observers&&e.observers.length&&ft(()=>{for(let r=0;r1e6)throw D=[],new Error},!1)),t}function ue(e){if(!e.fn)return;de(e);const t=ce;_n(e,e.value,t)}function _n(e,t,i){let n;const r=x,s=k;k=x=e;try{n=e.fn(t)}catch(a){return e.pure&&(e.state=dt,e.owned&&e.owned.forEach(de),e.owned=null),e.updatedAt=i+1,Ce(a)}finally{k=s,x=r}(!e.updatedAt||e.updatedAt<=i)&&(e.updatedAt!=null&&"observers"in e?ki(e,n):e.value=n,e.updatedAt=i)}function Ci(e,t,i,n=dt,r){const s={fn:e,state:n,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:x,context:x?x.context:null,pure:i};return x===null||x!==wi&&(x.owned?x.owned.push(s):x.owned=[s]),s}function Oi(e){if(e.state===0)return;if(e.state===Xt)return Yt(e);if(e.suspense&&K(e.suspense.inFallback))return e.suspense.effects.push(e);const t=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt=0;i--)if(e=t[i],e.state===dt)ue(e);else if(e.state===Xt){const n=D;D=null,ft(()=>Yt(e,t[0]),!1),D=n}}function ft(e,t){if(D)return e();let i=!1;t||(D=[]),lt?i=!0:lt=[],ce++;try{const n=e();return bn(i),n}catch(n){i||(lt=null),D=null,Ce(n)}}function bn(e){if(D&&(Ti(D),D=null),e)return;const t=lt;lt=null,t.length&&ft(()=>hn(t),!1)}function Ti(e){for(let t=0;t=0;t--)de(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}e.state=0}function wn(e){return e instanceof Error?e:new Error(typeof e=="string"?e:"Unknown error",{cause:e})}function Ce(e,t=x){throw wn(e)}function we(e){if(typeof e=="function"&&!e.length)return we(e());if(Array.isArray(e)){const t=[];for(let i=0;ir=K(()=>(x.context={...x.context,[e]:n.value},ke(()=>n.children))),void 0),r}}function $(e,t){return K(()=>e(t||{}))}function Bt(){return!0}const xn={get(e,t,i){return t===be?i:e.get(t)},has(e,t){return t===be?!0:e.has(t)},set:Bt,deleteProperty:Bt,getOwnPropertyDescriptor(e,t){return{configurable:!0,enumerable:!0,get(){return e.get(t)},set:Bt,deleteProperty:Bt}},ownKeys(e){return e.keys()}};function ye(e){return(e=typeof e=="function"?e():e)?e:{}}function An(){for(let e=0,t=this.length;e=0;o--){const l=ye(e[o])[a];if(l!==void 0)return l}},has(a){for(let o=e.length-1;o>=0;o--)if(a in ye(e[o]))return!0;return!1},keys(){const a=[];for(let o=0;o=0;a--){const o=e[a];if(!o)continue;const l=Object.getOwnPropertyNames(o);for(let u=l.length-1;u>=0;u--){const c=l[u];if(c==="__proto__"||c==="constructor")continue;const d=Object.getOwnPropertyDescriptor(o,c);if(!n[c])n[c]=d.get?{enumerable:!0,configurable:!0,get:An.bind(i[c]=[d.get.bind(o)])}:d.value!==void 0?d:void 0;else{const v=i[c];v&&(d.get?v.push(d.get.bind(o)):d.value!==void 0&&v.push(()=>d.value))}}}const r={},s=Object.keys(n);for(let a=s.length-1;a>=0;a--){const o=s[a],l=n[o];l&&l.get?Object.defineProperty(r,o,l):r[o]=l?l.value:void 0}return r}const In=e=>`Stale read from <${e}>.`;function Pi(e){const t=e.keyed,i=j(()=>e.when,void 0,{equals:(n,r)=>t?n===r:!n==!r});return j(()=>{const n=i();if(n){const r=e.children;return typeof r=="function"&&r.length>0?K(()=>r(t?n:()=>{if(!K(i))throw In("Show");return e.when})):r}return e.fallback},void 0,void 0)}function kn(e,t,i){let n=i.length,r=t.length,s=n,a=0,o=0,l=t[r-1].nextSibling,u=null;for(;ac-o){const h=t[a];for(;o{r=s,t===document?e():Nt(t,e(),t.firstChild?null:void 0,i)},n.owner),()=>{r(),t.textContent=""}}function St(e,t,i){let n;const r=()=>{const a=document.createElement("template");return a.innerHTML=e,i?a.content.firstChild.firstChild:a.content.firstChild},s=t?()=>K(()=>document.importNode(n||(n=r()),!0)):()=>(n||(n=r())).cloneNode(!0);return s.cloneNode=s,s}function On(e,t=window.document){const i=t[si]||(t[si]=new Set);for(let n=0,r=e.length;nGt(e,t(),r,i),n)}function Tn(e){const t=`$$${e.type}`;let i=e.composedPath&&e.composedPath()[0]||e.target;for(e.target!==i&&Object.defineProperty(e,"target",{configurable:!0,value:i}),Object.defineProperty(e,"currentTarget",{configurable:!0,get(){return i||document}});i;){const n=i[t];if(n&&!i.disabled){const r=i[`${t}Data`];if(r!==void 0?n.call(i,r,e):n.call(i,e),e.cancelBubble)return}i=i._$host||i.parentNode||i.host}}function Gt(e,t,i,n,r){for(;typeof i=="function";)i=i();if(t===i)return i;const s=typeof t,a=n!==void 0;if(e=a&&i[0]&&i[0].parentNode||e,s==="string"||s==="number")if(s==="number"&&(t=t.toString()),a){let o=i[0];o&&o.nodeType===3?o.data!==t&&(o.data=t):o=document.createTextNode(t),i=vt(e,i,n,o)}else i!==""&&typeof i=="string"?i=e.firstChild.data=t:i=e.textContent=t;else if(t==null||s==="boolean")i=vt(e,i,n);else{if(s==="function")return Ct(()=>{let o=t();for(;typeof o=="function";)o=o();i=Gt(e,o,i,n)}),()=>i;if(Array.isArray(t)){const o=[],l=i&&Array.isArray(i);if(Ee(o,t,i,r))return Ct(()=>i=Gt(e,o,i,n,!0)),()=>i;if(o.length===0){if(i=vt(e,i,n),a)return i}else l?i.length===0?oi(e,o,n):kn(e,i,o):(i&&vt(e),oi(e,o));i=o}else if(t.nodeType){if(Array.isArray(i)){if(a)return i=vt(e,i,n,t);vt(e,i,null,t)}else i==null||i===""||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);i=t}}return i}function Ee(e,t,i,n){let r=!1;for(let s=0,a=t.length;s=0;a--){const o=t[a];if(r!==o){const l=o.parentNode===e;!s&&!a?l?e.replaceChild(r,o):e.insertBefore(r,i):l&&o.remove()}else s=!0}}else e.insertBefore(r,i);return[r]}const Sn=!1;const Pn=St('