var V=Object.defineProperty;var W=(e,t,n)=>t in e?V(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var S=(e,t,n)=>W(e,typeof t!="symbol"?t+"":t,n);import{n as w,r as E,i as j,d as D,e as G,f as R,g as J,h as K,j as Q,k as X,l as B,m as Y,p as Z,q as ee}from"./scheduler.Cv9s0imo.js";const q=typeof window<"u";let te=q?()=>window.performance.now():()=>Date.now(),O=q?e=>requestAnimationFrame(e):w;const g=new Set;function z(e){g.forEach(t=>{t.c(e)||(g.delete(t),t.f())}),g.size!==0&&O(z)}function ne(e){let t;return g.size===0&&O(z),{promise:new Promise(n=>{g.add(t={c:e,f:n})}),abort(){g.delete(t)}}}let b=!1;function ie(){b=!0}function se(){b=!1}function re(e,t,n,i){for(;e<t;){const s=e+(t-e>>1);n(s)<=i?e=s+1:t=s}return e}function le(e){if(e.hydrate_init)return;e.hydrate_init=!0;let t=e.childNodes;if(e.nodeName==="HEAD"){const r=[];for(let l=0;l<t.length;l++){const u=t[l];u.claim_order!==void 0&&r.push(u)}t=r}const n=new Int32Array(t.length+1),i=new Int32Array(t.length);n[0]=-1;let s=0;for(let r=0;r<t.length;r++){const l=t[r].claim_order,u=(s>0&&t[n[s]].claim_order<=l?s+1:re(1,s,_=>t[n[_]].claim_order,l))-1;i[r]=n[u]+1;const f=u+1;n[f]=r,s=Math.max(f,s)}const o=[],a=[];let c=t.length-1;for(let r=n[s]+1;r!=0;r=i[r-1]){for(o.push(t[r-1]);c>=r;c--)a.push(t[c]);c--}for(;c>=0;c--)a.push(t[c]);o.reverse(),a.sort((r,l)=>r.claim_order-l.claim_order);for(let r=0,l=0;r<a.length;r++){for(;l<o.length&&a[r].claim_order>=o[l].claim_order;)l++;const u=l<o.length?o[l]:null;e.insertBefore(a[r],u)}}function ae(e,t){e.appendChild(t)}function I(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function oe(e){const t=M("style");return t.textContent="/* empty */",ce(I(e),t),t.sheet}function ce(e,t){return ae(e.head||e,t),t.sheet}function fe(e,t){if(b){for(le(e),(e.actual_end_child===void 0||e.actual_end_child!==null&&e.actual_end_child.parentNode!==e)&&(e.actual_end_child=e.firstChild);e.actual_end_child!==null&&e.actual_end_child.claim_order===void 0;)e.actual_end_child=e.actual_end_child.nextSibling;t!==e.actual_end_child?(t.claim_order!==void 0||t.parentNode!==e)&&e.insertBefore(t,e.actual_end_child):e.actual_end_child=t.nextSibling}else(t.parentNode!==e||t.nextSibling!==null)&&e.appendChild(t)}function Oe(e,t,n){b&&!n?fe(e,t):(t.parentNode!==e||t.nextSibling!=n)&&e.insertBefore(t,n||null)}function L(e){e.parentNode&&e.parentNode.removeChild(e)}function M(e){return document.createElement(e)}function T(e){return document.createTextNode(e)}function Te(){return T(" ")}function Pe(){return T("")}function Re(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function ue(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}const _e=["width","height"];function Be(e,t){const n=Object.getOwnPropertyDescriptors(e.__proto__);for(const i in t)t[i]==null?e.removeAttribute(i):i==="style"?e.style.cssText=t[i]:i==="__value"?e.value=e[i]=t[i]:n[i]&&n[i].set&&_e.indexOf(i)===-1?e[i]=t[i]:ue(e,i,t[i])}function ke(e){return e.dataset.svelteH}function de(e){return Array.from(e.childNodes)}function me(e){e.claim_info===void 0&&(e.claim_info={last_index:0,total_claimed:0})}function F(e,t,n,i,s=!1){me(e);const o=(()=>{for(let a=e.claim_info.last_index;a<e.length;a++){const c=e[a];if(t(c)){const r=n(c);return r===void 0?e.splice(a,1):e[a]=r,s||(e.claim_info.last_index=a),c}}for(let a=e.claim_info.last_index-1;a>=0;a--){const c=e[a];if(t(c)){const r=n(c);return r===void 0?e.splice(a,1):e[a]=r,s?r===void 0&&e.claim_info.last_index--:e.claim_info.last_index=a,c}}return i()})();return o.claim_order=e.claim_info.total_claimed,e.claim_info.total_claimed+=1,o}function he(e,t,n,i){return F(e,s=>s.nodeName===t,s=>{const o=[];for(let a=0;a<s.attributes.length;a++){const c=s.attributes[a];n[c.name]||o.push(c.name)}o.forEach(a=>s.removeAttribute(a))},()=>i(t))}function He(e,t,n){return he(e,t,n,M)}function pe(e,t){return F(e,n=>n.nodeType===3,n=>{const i=""+t;if(n.data.startsWith(i)){if(n.data.length!==i.length)return n.splitText(i.length)}else n.data=i},()=>T(t),!0)}function qe(e){return pe(e," ")}function ze(e,t){t=""+t,e.data!==t&&(e.data=t)}function Ie(e,t,n,i){n==null?e.style.removeProperty(t):e.style.setProperty(t,n,"")}function $e(e,t,{bubbles:n=!1,cancelable:i=!1}={}){return new CustomEvent(e,{detail:t,bubbles:n,cancelable:i})}function Le(e,t){const n=[];let i=0;for(const s of t.childNodes)if(s.nodeType===8){const o=s.textContent.trim();o===`HEAD_${e}_END`?(i-=1,n.push(s)):o===`HEAD_${e}_START`&&(i+=1,n.push(s))}else i>0&&n.push(s);return n}function Me(e,t){return new e(t)}const N=new Map;let A=0;function ye(e){let t=5381,n=e.length;for(;n--;)t=(t<<5)-t^e.charCodeAt(n);return t>>>0}function ge(e,t){const n={stylesheet:oe(t),rules:{}};return N.set(e,n),n}function xe(e,t,n,i,s,o,a,c=0){const r=16.666/i;let l=`{
`;for(let h=0;h<=1;h+=r){const y=t+(n-t)*o(h);l+=h*100+`%{${a(y,1-y)}}
`}const u=l+`100% {${a(n,1-n)}}
}`,f=`__svelte_${ye(u)}_${c}`,_=I(e),{stylesheet:d,rules:m}=N.get(_)||ge(_,e);m[f]||(m[f]=!0,d.insertRule(`@keyframes ${f} ${u}`,d.cssRules.length));const $=e.style.animation||"";return e.style.animation=`${$?`${$}, `:""}${f} ${i}ms linear ${s}ms 1 both`,A+=1,f}function k(e,t){const n=(e.style.animation||"").split(", "),i=n.filter(t?o=>o.indexOf(t)<0:o=>o.indexOf("__svelte")===-1),s=n.length-i.length;s&&(e.style.animation=i.join(", "),A-=s,A||we())}function we(){O(()=>{A||(N.forEach(e=>{const{ownerNode:t}=e.stylesheet;t&&L(t)}),N.clear())})}let x;function ve(){return x||(x=Promise.resolve(),x.then(()=>{x=null})),x}function H(e,t,n){e.dispatchEvent($e(`intro${n}`))}const v=new Set;let p;function Fe(){p={r:0,c:[],p}}function Ue(){p.r||E(p.c),p=p.p}function Ne(e,t){e&&e.i&&(v.delete(e),e.i(t))}function Ve(e,t,n,i){if(e&&e.o){if(v.has(e))return;v.add(e),p.c.push(()=>{v.delete(e),i&&(n&&e.d(1),i())}),e.o(t)}else i&&i()}const Ae={duration:0};function We(e,t,n){const i={direction:"in"};let s=t(e,n,i),o=!1,a,c,r=0;function l(){a&&k(e,a)}function u(){const{delay:_=0,duration:d=300,easing:m=G,tick:$=w,css:h}=s||Ae;h&&(a=xe(e,0,1,d,_,m,h,r++)),$(0,1);const y=te()+_,U=y+d;c&&c.abort(),o=!0,D(()=>H(e,!0,"start")),c=ne(C=>{if(o){if(C>=U)return $(1,0),H(e,!0,"end"),l(),o=!1;if(C>=y){const P=m((C-y)/d);$(P,1-P)}}return o})}let f=!1;return{start(){f||(f=!0,k(e),j(s)?(s=s(i),ve().then(u)):u())},invalidate(){f=!1},end(){o&&(l(),o=!1)}}}function Ge(e){e&&e.c()}function Je(e,t){e&&e.l(t)}function Ee(e,t,n){const{fragment:i,after_update:s}=e.$$;i&&i.m(t,n),D(()=>{const o=e.$$.on_mount.map(Y).filter(j);e.$$.on_destroy?e.$$.on_destroy.push(...o):E(o),e.$$.on_mount=[]}),s.forEach(D)}function be(e,t){const n=e.$$;n.fragment!==null&&(Q(n.after_update),E(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Ce(e,t){e.$$.dirty[0]===-1&&(Z.push(e),ee(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Ke(e,t,n,i,s,o,a=null,c=[-1]){const r=X;B(e);const l=e.$$={fragment:null,ctx:[],props:o,update:w,not_equal:s,bound:R(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(r?r.$$.context:[])),callbacks:R(),dirty:c,skip_bound:!1,root:t.target||r.$$.root};a&&a(l.root);let u=!1;if(l.ctx=n?n(e,t.props||{},(f,_,...d)=>{const m=d.length?d[0]:_;return l.ctx&&s(l.ctx[f],l.ctx[f]=m)&&(!l.skip_bound&&l.bound[f]&&l.bound[f](m),u&&Ce(e,f)),_}):[],l.update(),u=!0,E(l.before_update),l.fragment=i?i(l.ctx):!1,t.target){if(t.hydrate){ie();const f=de(t.target);l.fragment&&l.fragment.l(f),f.forEach(L)}else l.fragment&&l.fragment.c();t.intro&&Ne(e.$$.fragment),Ee(e,t.target,t.anchor),se(),J()}B(r)}class Qe{constructor(){S(this,"$$");S(this,"$$set")}$destroy(){be(this,1),this.$destroy=w}$on(t,n){if(!j(n))return w;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(n),()=>{const s=i.indexOf(n);s!==-1&&i.splice(s,1)}}$set(t){this.$$set&&!K(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Se="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Se);export{Be as A,Re as B,We as C,Qe as S,de as a,pe as b,He as c,L as d,M as e,qe as f,Oe as g,fe as h,Ke as i,ze as j,ke as k,Le as l,ue as m,Pe as n,Ve as o,Ue as p,Ne as q,Ie as r,Te as s,T as t,Fe as u,Me as v,Ge as w,Je as x,Ee as y,be as z};
