const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/main-BbokVGoN.js","assets/chunk-CilyBKbf.js","assets/Export-DoySAmc3.js","assets/RuneCanvas-yOH9bQTT.js","assets/Health-qUKblogU.js","assets/Panic-CQb_PNNP.js"])))=>i.map(i=>d[i]); import{n as e,r as t,t as n}from"./chunk-CilyBKbf.js";var r={context:void 0,registry:void 0,effects:void 0,done:!1,getContextId(){return i(this.context.count)},getNextContextId(){return i(this.context.count++)}};function i(e){let t=String(e),n=t.length-1;return r.context.id+(n?String.fromCharCode(96+n):``)+t}function a(e){r.context=e}function o(){return{...r.context,id:r.getNextContextId(),count:0}}var s=(e,t)=>e===t,c=Symbol(`solid-track`),l={equals:s},u=null,d=R,f=1,p=2,m={owned:null,cleanups:null,context:null,owner:null},h={},g=null,_=null,v=null,y=null,b=null,x=null,S=null,C=0;function w(e,t){let n=b,r=g,i=e.length===0,a=t===void 0?r:t,o=i?m:{owned:null,cleanups:null,context:a?a.context:null,owner:a},s=i?e:()=>e(()=>M(()=>be(o)));g=o,b=null;try{return he(s,!0)}finally{b=n,g=r}}function T(e,t){t=t?Object.assign({},l,t):l;let n={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0};return[le.bind(n),e=>(typeof e==`function`&&(e=_&&_.running&&_.sources.has(n)?e(n.tValue):e(n.value)),ue(n,e))]}function E(e,t,n){let r=pe(e,t,!0,f);v&&_&&_.running?x.push(r):de(r)}function D(e,t,n){let r=pe(e,t,!1,f);v&&_&&_.running?x.push(r):de(r)}function O(e,t,n){d=ve;let r=pe(e,t,!1,f),i=se&&ae(se);i&&(r.suspense=i),(!n||!n.render)&&(r.user=!0),S?S.push(r):de(r)}function k(e,t,n){n=n?Object.assign({},l,n):l;let r=pe(e,t,!0,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,v&&_&&_.running?(r.tState=f,x.push(r)):de(r),le.bind(r)}function A(e){return e&&typeof e==`object`&&`then`in e}function j(e,t,n){let i,a,o;typeof t==`function`?(i=e,a=t,o=n||{}):(i=!0,a=e,o=t||{});let s=null,c=h,l=null,u=!1,d=!1,f=`initialValue`in o,p=typeof i==`function`&&k(i),m=new Set,[v,y]=(o.storage||T)(o.initialValue),[x,S]=T(void 0),[C,w]=T(void 0,{equals:!1}),[D,O]=T(f?`ready`:`unresolved`);r.context&&(l=r.getNextContextId(),o.ssrLoadFrom===`initial`?c=o.initialValue:r.load&&r.has(l)&&(c=r.load(l)));function j(e,t,n,r){return s===e&&(s=null,r!==void 0&&(f=!0),(e===c||t===c)&&o.onHydrated&&queueMicrotask(()=>o.onHydrated(r,{value:t})),c=h,_&&e&&u?(_.promises.delete(e),u=!1,he(()=>{_.running=!0,N(t,n)},!1)):N(t,n)),t}function N(e,t){he(()=>{t===void 0&&y(()=>e),O(t===void 0?f?`ready`:`unresolved`:`errored`),S(t);for(let e of m.keys())e.decrement();m.clear()},!1)}function P(){let e=se&&ae(se),t=v(),n=x();if(n!==void 0&&!s)throw n;return b&&!b.user&&e&&E(()=>{C(),s&&(e.resolved&&_&&u?_.promises.add(s):m.has(e)||(e.increment(),m.add(e)))}),t}function F(e=!0){if(e!==!1&&d)return;d=!1;let t=p?p():i;if(u=_&&_.running,t==null||t===!1){j(s,M(v));return}_&&s&&_.promises.delete(s);let n,r=c===h?M(()=>{try{return a(t,{value:v(),refetching:e})}catch(e){n=e}}):c;if(n!==void 0){j(s,void 0,Se(n),t);return}else if(!A(r))return j(s,r,void 0,t),r;return s=r,`v`in r?(r.s===1?j(s,r.v,void 0,t):j(s,void 0,Se(r.v),t),r):(d=!0,queueMicrotask(()=>d=!1),he(()=>{O(f?`refreshing`:`pending`),w()},!1),r.then(e=>j(r,e,void 0,t),e=>j(r,void 0,Se(e),t)))}Object.defineProperties(P,{state:{get:()=>D()},error:{get:()=>x()},loading:{get(){let e=D();return e===`pending`||e===`refreshing`}},latest:{get(){if(!f)return P();let e=x();if(e&&!s)throw e;return v()}}});let ee=g;return p?E(()=>(ee=g,F(!1))):F(!1),[P,{refetch:e=>te(ee,()=>F(e)),mutate:y}]}function M(e){if(!y&&b===null)return e();let t=b;b=null;try{return y?y.untrack(e):e()}finally{b=t}}function N(e,t,n){let r=Array.isArray(e),i,a=n&&n.defer;return n=>{let o;if(r){o=Array(e.length);for(let t=0;tt(o,i,n));return i=o,s}}function P(e){O(()=>M(e))}function F(e){return g===null||(g.cleanups===null?g.cleanups=[e]:g.cleanups.push(e)),e}function ee(){return g}function te(e,t){let n=g,r=b;g=e,b=null;try{return he(t,!0)}catch(e){we(e)}finally{g=n,b=r}}function ne(e){if(_&&_.running)return e(),_.done;let t=b,n=g;return Promise.resolve().then(()=>{b=t,g=n;let r;return(v||se)&&(r=_||={sources:new Set,effects:[],promises:new Set,disposed:new Set,queue:new Set,running:!0},r.done||=new Promise(e=>r.resolve=e),r.running=!0),he(e,!1),b=g=null,r?r.done:void 0})}var[I,re]=T(!1);function L(e){S.push.apply(S,e),e.length=0}function ie(e,t){let n=Symbol(`context`);return{id:n,Provider:Te(n),defaultValue:e}}function ae(e){let t;return g&&g.context&&(t=g.context[e.id])!==void 0?t:e.defaultValue}function oe(e){let t=k(e),n=k(()=>B(t()));return n.toArray=()=>{let e=n();return Array.isArray(e)?e:e==null?[]:[e]},n}var se;function ce(){return se||=ie()}function le(){let e=_&&_.running;if(this.sources&&(e?this.tState:this.state))if((e?this.tState:this.state)===f)de(this);else{let e=x;x=null,he(()=>ye(this),!1),x=e}if(b){let e=this.observers?this.observers.length:0;b.sources?(b.sources.push(this),b.sourceSlots.push(e)):(b.sources=[this],b.sourceSlots=[e]),this.observers?(this.observers.push(b),this.observerSlots.push(b.sources.length-1)):(this.observers=[b],this.observerSlots=[b.sources.length-1])}return e&&_.sources.has(this)?this.tValue:this.value}function ue(e,t,n){let r=_&&_.running&&_.sources.has(e)?e.tValue:e.value;if(!e.comparator||!e.comparator(r,t)){if(_){let r=_.running;(r||!n&&_.sources.has(e))&&(_.sources.add(e),e.tValue=t),r||(e.value=t)}else e.value=t;e.observers&&e.observers.length&&he(()=>{for(let t=0;t1e6)throw x=[],Error()},!1)}return t}function de(e){if(!e.fn)return;be(e);let t=C;fe(e,_&&_.running&&_.sources.has(e)?e.tValue:e.value,t),_&&!_.running&&_.sources.has(e)&&queueMicrotask(()=>{he(()=>{_&&(_.running=!0),b=g=e,fe(e,e.tValue,t),b=g=null},!1)})}function fe(e,t,n){let r,i=g,a=b;b=g=e;try{r=e.fn(t)}catch(t){return e.pure&&(_&&_.running?(e.tState=f,e.tOwned&&e.tOwned.forEach(be),e.tOwned=void 0):(e.state=f,e.owned&&e.owned.forEach(be),e.owned=null)),e.updatedAt=n+1,we(t)}finally{b=a,g=i}(!e.updatedAt||e.updatedAt<=n)&&(e.updatedAt!=null&&`observers`in e?ue(e,r,!0):_&&_.running&&e.pure?(_.sources.has(e)||(e.value=r),_.sources.add(e),e.tValue=r):e.value=r,e.updatedAt=n)}function pe(e,t,n,r=f,i){let a={fn:e,state:r,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:g,context:g?g.context:null,pure:n};if(_&&_.running&&(a.state=0,a.tState=r),g===null||g!==m&&(_&&_.running&&g.pure?g.tOwned?g.tOwned.push(a):g.tOwned=[a]:g.owned?g.owned.push(a):g.owned=[a]),y&&a.fn){let e=a.fn,[t,n]=T(void 0,{equals:!1}),r=y.factory(e,n);F(()=>r.dispose());let i,o=()=>ne(n).then(()=>{i&&=(i.dispose(),void 0)});a.fn=n=>(t(),_&&_.running?(i||=y.factory(e,o),i.track(n)):r.track(n))}return a}function me(e){let t=_&&_.running;if((t?e.tState:e.state)===0)return;if((t?e.tState:e.state)===p)return ye(e);if(e.suspense&&M(e.suspense.inFallback))return e.suspense.effects.push(e);let n=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt=0;r--){if(e=n[r],t){let t=e,i=n[r+1];for(;(t=t.owner)&&t!==i;)if(_.disposed.has(t))return}if((t?e.tState:e.state)===f)de(e);else if((t?e.tState:e.state)===p){let t=x;x=null,he(()=>ye(e,n[0]),!1),x=t}}}function he(e,t){if(x)return e();let n=!1;t||(x=[]),S?n=!0:S=[],C++;try{let t=e();return ge(n),t}catch(e){n||(S=null),x=null,we(e)}}function ge(e){if(x&&=(v&&_&&_.running?_e(x):R(x),null),e)return;let t;if(_){if(!_.promises.size&&!_.queue.size){let e=_.sources,n=_.disposed;S.push.apply(S,_.effects),t=_.resolve;for(let e of S)`tState`in e&&(e.state=e.tState),delete e.tState;_=null,he(()=>{for(let e of n)be(e);for(let t of e){if(t.value=t.tValue,t.owned)for(let e=0,n=t.owned.length;ed(n),!1),t&&t()}function R(e){for(let t=0;t{r.delete(n),he(()=>{_.running=!0,me(n)},!1),_&&(_.running=!1)}))}}function ve(e){let t,n=0;for(t=0;t=0;t--)be(e.tOwned[t]);delete e.tOwned}if(_&&_.running&&e.pure)xe(e,!0);else if(e.owned){for(t=e.owned.length-1;t>=0;t--)be(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}_&&_.running?e.tState=0:e.state=0}function xe(e,t){if(t||(e.tState=0,_.disposed.add(e)),e.owned)for(let t=0;tn=M(()=>(g.context={...g.context,[e]:t.value},oe(()=>t.children))),void 0),n}}var V=Symbol(`fallback`);function Ee(e){for(let t=0;t1?[]:null;return F(()=>Ee(a)),()=>{let l=e()||[],u=l.length,d,f;return l[c],M(()=>{let e,t,c,m,h,g,_,v,y;if(u===0)o!==0&&(Ee(a),a=[],r=[],i=[],o=0,s&&=[]),n.fallback&&(r=[V],i[0]=w(e=>(a[0]=e,n.fallback())),o=1);else if(o===0){for(i=Array(u),f=0;f=g&&v>=g&&r[_]===l[v];_--,v--)c[v]=i[_],m[v]=a[_],s&&(h[v]=s[_]);for(e=new Map,t=Array(v+1),f=v;f>=g;f--)y=l[f],d=e.get(y),t[f]=d===void 0?-1:d,e.set(y,f);for(d=g;d<=_;d++)y=r[d],f=e.get(y),f!==void 0&&f!==-1?(c[f]=i[d],m[f]=a[d],s&&(h[f]=s[d]),f=t[f],e.set(y,f)):a[d]();for(f=g;fEe(a)),()=>{let u=e()||[],d=u.length;return u[c],M(()=>{if(d===0)return s!==0&&(Ee(a),a=[],r=[],i=[],s=0,o=[]),n.fallback&&(r=[V],i[0]=w(e=>(a[0]=e,n.fallback())),s=1),i;for(r[0]===V&&(a[0](),a=[],r=[],i=[],s=0),l=0;lu[l]):l>=r.length&&(i[l]=w(f));for(;le(t||{}));return a(n),i}return M(()=>e(t||{}))}function Ae(e){let t,n,i=i=>{let o=r.context;if(o){let[i,s]=T();r.count||=0,r.count++,(n||=e()).then(e=>{!r.done&&a(o),r.count--,s(()=>e.default),a()}),t=i}else if(!t){let[r]=j(()=>(n||=e()).then(e=>e.default));t=r}let s;return k(()=>(s=t())?M(()=>{if(!o||r.done)return s(i);let e=r.context;a(o);let t=s(i);return a(e),t}):``)};return i.preload=()=>n||((n=e()).then(e=>t=()=>e.default),n),i}var je=e=>`Stale read from <${e}>.`;function Me(e){let t=`fallback`in e&&{fallback:()=>e.fallback};return k(De(()=>e.each,e.children,t||void 0))}function Ne(e){let t=`fallback`in e&&{fallback:()=>e.fallback};return k(Oe(()=>e.each,e.children,t||void 0))}function U(e){let t=e.keyed,n=k(()=>e.when,void 0,void 0),r=t?n:k(n,void 0,{equals:(e,t)=>!e==!t});return k(()=>{let i=r();if(i){let a=e.children;return typeof a==`function`&&a.length>0?M(()=>a(t?i:()=>{if(!M(r))throw je(`Show`);return n()})):a}return e.fallback},void 0,void 0)}function Pe(e){let t=oe(()=>e.children),n=k(()=>{let e=t(),n=Array.isArray(e)?e:[e],r=()=>void 0;for(let e=0;ea()?void 0:i.when,void 0,void 0),s=i.keyed?o:k(o,void 0,{equals:(e,t)=>!e==!t});r=()=>a()||(s()?[t,o,i]:void 0)}return r});return k(()=>{let t=n()();if(!t)return e.fallback;let[r,i,a]=t,o=a.children;return typeof o==`function`&&o.length>0?M(()=>o(a.keyed?i():()=>{if(M(n)()?.[0]!==r)throw je(`Match`);return i()})):o},void 0,void 0)}function Fe(e){return e}var Ie=ie();function Le(e){let t=0,n,i,o,s,c,[l,u]=T(!1),d=ce(),f={increment:()=>{++t===1&&u(!0)},decrement:()=>{--t===0&&u(!1)},inFallback:l,effects:[],resolved:!1},p=ee();if(r.context&&r.load){let e=r.getContextId(),t=r.load(e);if(t&&(typeof t!=`object`||t.s!==1?o=t:r.gather(e)),o&&o!==`$$f`){let[t,n]=T(void 0,{equals:!1});s=t,o.then(()=>{if(r.done)return n();r.gather(e),a(i),n(),a()},e=>{c=e,n()})}}let m=ae(Ie);m&&(n=m.register(f.inFallback));let h;return F(()=>h&&h()),H(d.Provider,{value:f,get children(){return k(()=>{if(c)throw c;if(i=r.context,s){s(),s=void 0;return}i&&o===`$$f`&&a();let t=k(()=>e.children);return k(r=>{let s=f.inFallback(),{showContent:c=!0,showFallback:l=!0}=n?n():{};if((!s||o&&o!==`$$f`)&&c)return f.resolved=!0,h&&h(),h=i=o=void 0,L(f.effects),t();if(l)return h?r:w(t=>(h=t,i&&=(a({id:i.id+`F`,count:0}),void 0),e.fallback),p)})})}})}var W=e=>k(()=>e());function Re(e,t,n){let r=n.length,i=t.length,a=r,o=0,s=0,c=t[i-1].nextSibling,l=null;for(;or-s){let i=t[o];for(;s{i=r,t===document?e():X(t,e(),t.firstChild?null:void 0,n)},r.owner),()=>{i(),t.textContent=``}}function G(e,t,n,r){let i,a=()=>{let t=r?document.createElementNS(`http://www.w3.org/1998/Math/MathML`,`template`):document.createElement(`template`);return t.innerHTML=e,n?t.content.firstChild.firstChild:r?t.firstChild:t.content.firstChild},o=t?()=>M(()=>document.importNode(i||=a(),!0)):()=>(i||=a()).cloneNode(!0);return o.cloneNode=o,o}function Ve(e,t=window.document){let n=t[ze]||(t[ze]=new Set);for(let r=0,i=e.length;rr.call(e,n[1],t))}else e.addEventListener(t,n,typeof n!=`function`&&n)}function He(e,t,n){if(!t)return n?K(e,`style`):t;let r=e.style;if(typeof t==`string`)return r.cssText=t;typeof n==`string`&&(r.cssText=n=void 0),n||={},t||={};let i,a;for(a in n)t[a]??r.removeProperty(a),delete n[a];for(a in t)i=t[a],i!==n[a]&&(r.setProperty(a,i),n[a]=i);return n}function Ue(e,t,n){n==null?e.style.removeProperty(t):e.style.setProperty(t,n)}function Y(e,t,n){return M(()=>e(t,n))}function X(e,t,n,r){if(n!==void 0&&!r&&(r=[]),typeof t!=`function`)return Ke(e,t,r,n);D(r=>Ke(e,t(),r,n),r)}function We(e){return!!r.context&&!r.done&&(!e||e.isConnected)}function Ge(e){if(r.registry&&r.events&&r.events.find(([t,n])=>n===e))return;let t=e.target,n=`$$${e.type}`,i=e.target,a=e.currentTarget,o=t=>Object.defineProperty(e,`target`,{configurable:!0,value:t}),s=()=>{let r=t[n];if(r&&!t.disabled){let i=t[`${n}Data`];if(i===void 0?r.call(t,e):r.call(t,i,e),e.cancelBubble)return}return t.host&&typeof t.host!=`string`&&!t.host._$host&&t.contains(e.target)&&o(t.host),!0},c=()=>{for(;s()&&(t=t._$host||t.parentNode||t.host););};if(Object.defineProperty(e,`currentTarget`,{configurable:!0,get(){return t||document}}),r.registry&&!r.done&&(r.done=_$HY.done=!0),e.composedPath){let n=e.composedPath();o(n[0]);for(let e=0;e{let i=t();for(;typeof i==`function`;)i=i();n=Ke(e,i,n,r)}),()=>n;else if(Array.isArray(t)){let o=[],c=n&&Array.isArray(n);if(qe(o,t,n,i))return D(()=>n=Ke(e,o,n,r,!0)),()=>n;if(a){if(!o.length)return n;if(r===void 0)return n=[...e.childNodes];let t=o[0];if(t.parentNode!==e)return n;let i=[t];for(;(t=t.nextSibling)!==r;)i.push(t);return n=i}if(o.length===0){if(n=Ye(e,n,r),s)return n}else c?n.length===0?Je(e,o,r):Re(e,n,o):(n&&Ye(e),Je(e,o));n=o}else if(t.nodeType){if(a&&t.parentNode)return n=s?[t]:t;if(Array.isArray(n)){if(s)return n=Ye(e,n,r,t);Ye(e,n,null,t)}else n==null||n===``||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t}return n}function qe(e,t,n,r){let i=!1;for(let a=0,o=t.length;a=0;a--){let o=t[a];if(i!==o){let t=o.parentNode===e;!r&&!a?t?e.replaceChild(i,o):e.insertBefore(i,n):t&&o.remove()}else r=!0}}else e.insertBefore(i,n);return[i]}function Xe(e){return e.passkey!==void 0&&e.passkey.credentialId.length>0}function Ze(e){return Xe(e)&&!e.password}var Qe=[{name:`peach`,hex:`#F49C70`},{name:`rose`,hex:`#FF8AA6`},{name:`plum`,hex:`#D597F2`},{name:`lavender`,hex:`#A6A8FF`},{name:`sky`,hex:`#5BC8EE`},{name:`mint`,hex:`#5EE0B0`},{name:`sage`,hex:`#B5D870`},{name:`butter`,hex:`#FFD45A`},{name:`sand`,hex:`#EDBC85`},{name:`clay`,hex:`#F08660`},{name:`slate`,hex:`#80BEDE`},{name:`stone`,hex:`#C8B8A8`}],$e=G(`