var P=Object.defineProperty;var j=(e,t,n)=>t in e?P(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var d=(e,t,n)=>(j(e,typeof t!="symbol"?t+"":t,n),n);import{r as $,n as x,h as N,i as I,j as S,k as D,l as T,m as q,p as G,q as E,v as O,w as R,x as z}from"./scheduler.63274e7e.js";let y=!1;function U(){y=!0}function V(){y=!1}function W(e,t,n,i){for(;e>1);n(s)<=i?e=s+1:t=s}return e}function F(e){if(e.hydrate_init)return;e.hydrate_init=!0;let t=e.childNodes;if(e.nodeName==="HEAD"){const r=[];for(let a=0;a0&&t[n[s]].claim_order<=a?s+1:W(1,s,h=>t[n[h]].claim_order,a))-1;i[r]=n[o]+1;const u=o+1;n[u]=r,s=Math.max(u,s)}const c=[],l=[];let f=t.length-1;for(let r=n[s]+1;r!=0;r=i[r-1]){for(c.push(t[r-1]);f>=r;f--)l.push(t[f]);f--}for(;f>=0;f--)l.push(t[f]);c.reverse(),l.sort((r,a)=>r.claim_order-a.claim_order);for(let r=0,a=0;r=c[a].claim_order;)a++;const o=ae.removeEventListener(t,n,i)}function ue(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function oe(e){return e.dataset.svelteH}function X(e){return Array.from(e.childNodes)}function M(e){e.claim_info===void 0&&(e.claim_info={last_index:0,total_claimed:0})}function C(e,t,n,i,s=!1){M(e);const c=(()=>{for(let l=e.claim_info.last_index;l=0;l--){const f=e[l];if(t(f)){const r=n(f);return r===void 0?e.splice(l,1):e[l]=r,s?r===void 0&&e.claim_info.last_index--:e.claim_info.last_index=l,f}}return i()})();return c.claim_order=e.claim_info.total_claimed,e.claim_info.total_claimed+=1,c}function B(e,t,n,i){return C(e,s=>s.nodeName===t,s=>{const c=[];for(let l=0;ls.removeAttribute(l))},()=>i(t))}function de(e,t,n){return B(e,t,n,H)}function _e(e,t,n){return B(e,t,n,L)}function Y(e,t){return C(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},()=>g(t),!0)}function he(e){return Y(e," ")}function A(e,t,n){for(let i=n;i{m.delete(e),i&&(n&&e.d(1),i())}),e.o(t)}else i&&i()}function we(e){e&&e.c()}function Ne(e,t){e&&e.l(t)}function ee(e,t,n){const{fragment:i,after_update:s}=e.$$;i&&i.m(t,n),T(()=>{const c=e.$$.on_mount.map(O).filter(S);e.$$.on_destroy?e.$$.on_destroy.push(...c):$(c),e.$$.on_mount=[]}),s.forEach(T)}function te(e,t){const n=e.$$;n.fragment!==null&&(q(n.after_update),$(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function ne(e,t){e.$$.dirty[0]===-1&&(R.push(e),z(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<{const w=v.length?v[0]:h;return a.ctx&&s(a.ctx[u],a.ctx[u]=w)&&(!a.skip_bound&&a.bound[u]&&a.bound[u](w),o&&ne(e,u)),h}):[],a.update(),o=!0,$(a.before_update),a.fragment=i?i(a.ctx):!1,t.target){if(t.hydrate){U();const u=X(t.target);a.fragment&&a.fragment.l(u),u.forEach(p)}else a.fragment&&a.fragment.c();t.intro&&k(e.$$.fragment),ee(e,t.target,t.anchor),V(),I()}E(r)}class Ee{constructor(){d(this,"$$");d(this,"$$set")}$destroy(){te(this,1),this.$destroy=x}$on(t,n){if(!S(n))return x;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&&!D(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const ie="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(ie);export{L as A,_e as B,me as C,le as D,b as H,Ee as S,Q as a,ge as b,he as c,k as d,ce as e,p as f,H as g,de as h,Te as i,X as j,ue as k,$e as l,g as m,Y as n,pe as o,xe as p,ye as q,we as r,ae as s,ve as t,Ne as u,ee as v,te as w,J as x,oe as y,fe as z};