function k(){}const it=t=>t;function xt(t,e){for(const n in e)t[n]=e[n];return t}function st(t){return t()}function Y(){return Object.create(null)}function C(t){t.forEach(st)}function Q(t){return typeof t=="function"}function Qt(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let q;function Ut(t,e){return q||(q=document.createElement("a")),q.href=e,t===q.href}function bt(t){return Object.keys(t).length===0}function $t(t,...e){if(t==null)return k;const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function Vt(t,e,n){t.$$.on_destroy.push($t(e,n))}function Xt(t,e,n,i){if(t){const r=rt(t,e,n,i);return t[0](r)}}function rt(t,e,n,i){return t[1]&&i?xt(n.ctx.slice(),t[1](i(e))):n.ctx}function Yt(t,e,n,i){if(t[2]&&i){const r=t[2](i(n));if(e.dirty===void 0)return r;if(typeof r=="object"){const c=[],s=Math.max(e.dirty.length,r.length);for(let l=0;l32){const e=[],n=t.ctx.length/32;for(let i=0;iwindow.performance.now():()=>Date.now(),U=ot?t=>requestAnimationFrame(t):k;const E=new Set;function lt(t){E.forEach(e=>{e.c(t)||(E.delete(e),e.f())}),E.size!==0&&U(lt)}function at(t){let e;return E.size===0&&U(lt),{promise:new Promise(n=>{E.add(e={c:t,f:n})}),abort(){E.delete(e)}}}let F=!1;function wt(){F=!0}function vt(){F=!1}function kt(t,e,n,i){for(;t>1);n(r)<=i?t=r+1:e=r}return t}function Et(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const o=[];for(let a=0;a0&&e[n[r]].claim_order<=a?r+1:kt(1,r,u=>e[n[u]].claim_order,a))-1;i[o]=n[d]+1;const f=d+1;n[f]=o,r=Math.max(f,r)}const c=[],s=[];let l=e.length-1;for(let o=n[r]+1;o!=0;o=i[o-1]){for(c.push(e[o-1]);l>=o;l--)s.push(e[l]);l--}for(;l>=0;l--)s.push(e[l]);c.reverse(),s.sort((o,a)=>o.claim_order-a.claim_order);for(let o=0,a=0;o=c[a].claim_order;)a++;const d=at.removeEventListener(e,n,i)}function le(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function jt(t){return Array.from(t.childNodes)}function ft(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function _t(t,e,n,i,r=!1){ft(t);const c=(()=>{for(let s=t.claim_info.last_index;s=0;s--){const l=t[s];if(e(l)){const o=n(l);return o===void 0?t.splice(s,1):t[s]=o,r?o===void 0&&t.claim_info.last_index--:t.claim_info.last_index=s,l}}return i()})();return c.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,c}function Rt(t,e,n,i){return _t(t,r=>r.nodeName===e,r=>{const c=[];for(let s=0;sr.removeAttribute(s))},()=>i(e))}function ae(t,e,n){return Rt(t,e,n,V)}function qt(t,e){return _t(t,n=>n.nodeType===3,n=>{const i=""+e;if(n.data.startsWith(i)){if(n.data.length!==i.length)return n.splitText(i.length)}else n.data=i},()=>X(e),!0)}function ue(t){return qt(t," ")}function Z(t,e,n){for(let i=n;i>>0}function Lt(t,e){const n={stylesheet:St(e),rules:{}};return O.set(t,n),n}function J(t,e,n,i,r,c,s,l=0){const o=16.666/i;let a=`{ `;for(let p=0;p<=1;p+=o){const y=e+(n-e)*c(p);a+=p*100+`%{${s(y,1-y)}} `}const d=a+`100% {${s(n,1-n)}} }`,f=`__svelte_${Ht(d)}_${l}`,u=ut(t),{stylesheet:_,rules:h}=O.get(u)||Lt(u,t);h[f]||(h[f]=!0,_.insertRule(`@keyframes ${f} ${d}`,_.cssRules.length));const g=t.style.animation||"";return t.style.animation=`${g?`${g}, `:""}${f} ${i}ms linear ${r}ms 1 both`,P+=1,f}function ht(t,e){const n=(t.style.animation||"").split(", "),i=n.filter(e?c=>c.indexOf(e)<0:c=>c.indexOf("__svelte")===-1),r=n.length-i.length;r&&(t.style.animation=i.join(", "),P-=r,P||Dt())}function Dt(){U(()=>{P||(O.forEach(t=>{const{stylesheet:e}=t;let n=e.cssRules.length;for(;n--;)e.deleteRule(n);t.rules={}}),O.clear())})}function xe(t,e,n,i){if(!e)return k;const r=t.getBoundingClientRect();if(e.left===r.left&&e.right===r.right&&e.top===r.top&&e.bottom===r.bottom)return k;const{delay:c=0,duration:s=300,easing:l=it,start:o=ct()+c,end:a=o+s,tick:d=k,css:f}=n(t,{from:e,to:r},i);let u=!0,_=!1,h;function g(){f&&(h=J(t,0,1,s,c,l,f)),c||(_=!0)}function p(){f&&ht(t,h),u=!1}return at(y=>{if(!_&&y>=o&&(_=!0),_&&y>=a&&(d(1,0),p()),!u)return!1;if(_){const w=y-o,x=0+1*l(w/s);d(x,1-x)}return!0}),g(),d(0,1),p}function be(t){const e=getComputedStyle(t);if(e.position!=="absolute"&&e.position!=="fixed"){const{width:n,height:i}=e,r=t.getBoundingClientRect();t.style.position="absolute",t.style.width=n,t.style.height=i,Ot(t,r)}}function Ot(t,e){const n=t.getBoundingClientRect();if(e.left!==n.left||e.top!==n.top){const i=getComputedStyle(t),r=i.transform==="none"?"":i.transform;t.style.transform=`${r} translate(${e.left-n.left}px, ${e.top-n.top}px)`}}let T;function N(t){T=t}function M(){if(!T)throw new Error("Function called outside component initialization");return T}function $e(t){M().$$.on_mount.push(t)}function we(t){M().$$.after_update.push(t)}function ve(){const t=M();return(e,n)=>{const i=t.$$.callbacks[e];if(i){const r=dt(e,n);i.slice().forEach(c=>{c.call(t,r)})}}}function ke(t,e){M().$$.context.set(t,e)}function Ee(t){return M().$$.context.get(t)}const A=[],et=[],H=[],nt=[],mt=Promise.resolve();let K=!1;function pt(){K||(K=!0,mt.then(yt))}function Ce(){return pt(),mt}function z(t){H.push(t)}const I=new Set;let B=0;function yt(){const t=T;do{for(;B{S=null})),S}function W(t,e,n){t.dispatchEvent(dt(`${e?"intro":"outro"}${n}`))}const L=new Set;let v;function Se(){v={r:0,c:[],p:v}}function Ae(){v.r||C(v.c),v=v.p}function gt(t,e){t&&t.i&&(L.delete(t),t.i(e))}function Ft(t,e,n,i){if(t&&t.o){if(L.has(t))return;L.add(t),v.c.push(()=>{L.delete(t),i&&(n&&t.d(1),i())}),t.o(e)}}const Gt={duration:0};function Ne(t,e,n,i){let r=e(t,n),c=i?0:1,s=null,l=null,o=null;function a(){o&&ht(t,o)}function d(u,_){const h=u.b-c;return _*=Math.abs(h),{a:c,b:u.b,d:h,duration:_,start:u.start,end:u.start+_,group:u.group}}function f(u){const{delay:_=0,duration:h=300,easing:g=it,tick:p=k,css:y}=r||Gt,w={start:ct()+_,b:u};u||(w.group=v,v.r+=1),s||l?l=w:(y&&(a(),o=J(t,c,u,h,_,g,y)),u&&p(0,1),s=d(w,h),z(()=>W(t,u,"start")),at(x=>{if(l&&x>l.start&&(s=d(l,h),l=null,W(t,s.b,"start"),y&&(a(),o=J(t,c,s.b,s.duration,0,g,r.css))),s){if(x>=s.end)p(c=s.b,1-c),W(t,s.b,"end"),l||(s.b?a():--s.group.r||C(s.group.c)),s=null;else if(x>=s.start){const j=x-s.start;c=s.a+s.d*g(j/s.duration),p(c,1-c)}}return!!(s||l)}))}return{run(u){Q(r)?zt().then(()=>{r=r(),f(u)}):f(u)},end(){a(),s=l=null}}}function It(t,e){Ft(t,1,1,()=>{e.delete(t.key)})}function Te(t,e){t.f(),It(t,e)}function Me(t,e,n,i,r,c,s,l,o,a,d,f){let u=t.length,_=c.length,h=u;const g={};for(;h--;)g[t[h].key]=h;const p=[],y=new Map,w=new Map;for(h=_;h--;){const m=f(r,c,h),b=n(m);let $=s.get(b);$?i&&$.p(m,e):($=a(b,m),$.c()),y.set(b,p[h]=$),b in g&&w.set(b,Math.abs(h-g[b]))}const x=new Set,j=new Set;function G(m){gt(m,1),m.m(l,d),s.set(m.key,m),d=m.first,_--}for(;u&&_;){const m=p[_-1],b=t[u-1],$=m.key,R=b.key;m===b?(d=m.first,u--,_--):y.has(R)?!s.has($)||x.has($)?G(m):j.has(R)?u--:w.get($)>w.get(R)?(j.add($),G(m)):(x.add(R),u--):(o(b,s),u--)}for(;u--;){const m=t[u];y.has(m.key)||o(m,s)}for(;_;)G(p[_-1]);return p}function je(t,e){const n={},i={},r={$$scope:1};let c=t.length;for(;c--;){const s=t[c],l=e[c];if(l){for(const o in s)o in l||(i[o]=1);for(const o in l)r[o]||(n[o]=l[o],r[o]=1);t[c]=l}else for(const o in s)r[o]=1}for(const s in i)s in n||(n[s]=void 0);return n}function Re(t){return typeof t=="object"&&t!==null?t:{}}function qe(t){t&&t.c()}function Be(t,e){t&&t.l(e)}function Wt(t,e,n,i){const{fragment:r,on_mount:c,on_destroy:s,after_update:l}=t.$$;r&&r.m(e,n),i||z(()=>{const o=c.map(st).filter(Q);s?s.push(...o):C(o),t.$$.on_mount=[]}),l.forEach(z)}function Jt(t,e){const n=t.$$;n.fragment!==null&&(C(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function Kt(t,e){t.$$.dirty[0]===-1&&(A.push(t),pt(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const h=_.length?_[0]:u;return a.ctx&&r(a.ctx[f],a.ctx[f]=h)&&(!a.skip_bound&&a.bound[f]&&a.bound[f](h),d&&Kt(t,f)),u}):[],a.update(),d=!0,C(a.before_update),a.fragment=i?i(a.ctx):!1,e.target){if(e.hydrate){wt();const f=jt(e.target);a.fragment&&a.fragment.l(f),f.forEach(D)}else a.fragment&&a.fragment.c();e.intro&>(t.$$.fragment),Wt(t,e.target,e.anchor,e.customElement),vt(),yt()}N(o)}class Le{$destroy(){Jt(this,1),this.$destroy=k}$on(e,n){const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(n),()=>{const r=i.indexOf(n);r!==-1&&i.splice(r,1)}}$set(e){this.$$set&&!bt(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}export{me as $,Re as A,Jt as B,xt as C,Ce as D,k as E,Nt as F,se as G,Vt as H,Ut as I,ye as J,Zt as K,te as L,Yt as M,Xt as N,Ee as O,ce as P,ge as Q,Q as R,Le as S,ne as T,ee as U,tt as V,fe as W,ve as X,C as Y,de as Z,z as _,jt as a,pe as a0,ie as a1,be as a2,Ot as a3,xe as a4,Ne as a5,Me as a6,Te as a7,le as b,ae as c,D as d,V as e,he as f,Mt as g,qt as h,He as i,_e as j,re as k,oe as l,ue as m,Se as n,Ft as o,Ae as p,gt as q,ke as r,Qt as s,X as t,we as u,$e as v,qe as w,Be as x,Wt as y,je as z};