function T(){}function J(t,n){for(const e in n)t[e]=n[e];return t}function D(t){return t()}function M(){return Object.create(null)}function g(t){t.forEach(D)}function K(t){return typeof t=="function"}function dt(t,n){return t!=t?n==n:t!==n||t&&typeof t=="object"||typeof t=="function"}let x;function ht(t,n){return x||(x=document.createElement("a")),x.href=n,t===x.href}function Q(t){return Object.keys(t).length===0}function U(t,...n){if(t==null)return T;const e=t.subscribe(...n);return e.unsubscribe?()=>e.unsubscribe():e}function mt(t,n,e){t.$$.on_destroy.push(U(n,e))}function pt(t,n,e,i){if(t){const r=O(t,n,e,i);return t[0](r)}}function O(t,n,e,i){return t[1]&&i?J(e.ctx.slice(),t[1](i(n))):e.ctx}function gt(t,n,e,i){if(t[2]&&i){const r=t[2](i(e));if(n.dirty===void 0)return r;if(typeof r=="object"){const u=[],o=Math.max(n.dirty.length,r.length);for(let s=0;s32){const n=[],e=t.ctx.length/32;for(let i=0;i>1);e(r)<=i?t=r+1:n=r}return t}function Z(t){if(t.hydrate_init)return;t.hydrate_init=!0;let n=t.childNodes;if(t.nodeName==="HEAD"){const c=[];for(let l=0;l0&&n[e[r]].claim_order<=l?r+1:Y(1,r,y=>n[e[y]].claim_order,l))-1;i[c]=e[f]+1;const a=f+1;e[a]=c,r=Math.max(a,r)}const u=[],o=[];let s=n.length-1;for(let c=e[r]+1;c!=0;c=i[c-1]){for(u.push(n[c-1]);s>=c;s--)o.push(n[s]);s--}for(;s>=0;s--)o.push(n[s]);u.reverse(),o.sort((c,l)=>c.claim_order-l.claim_order);for(let c=0,l=0;c=u[l].claim_order;)l++;const f=lt.removeEventListener(n,e,i)}function St(t,n,e){e==null?t.removeAttribute(n):t.getAttribute(n)!==e&&t.setAttribute(n,e)}function Tt(t,n,e){const i=new Set;for(let r=0;r{for(let o=t.claim_info.last_index;o=0;o--){const s=t[o];if(n(s)){const c=e(s);return c===void 0?t.splice(o,1):t[o]=c,r?c===void 0&&t.claim_info.last_index--:t.claim_info.last_index=o,s}}return i()})();return u.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,u}function z(t,n,e,i){return I(t,r=>r.nodeName===n,r=>{const u=[];for(let o=0;or.removeAttribute(o))},()=>i(n))}function Nt(t,n,e){return z(t,n,e,P)}function Ct(t,n,e){return z(t,n,e,it)}function ct(t,n){return I(t,e=>e.nodeType===3,e=>{const i=""+n;if(e.data.startsWith(i)){if(e.data.length!==i.length)return e.splitText(i.length)}else e.data=i},()=>N(n),!0)}function jt(t){return ct(t," ")}function H(t,n,e){for(let i=e;i{const i=t.$$.callbacks[n];if(i){const r=ot(n,e);i.slice().forEach(u=>{u.call(t,r)})}}}function Rt(t,n){d().$$.context.set(t,n)}function Wt(t){return d().$$.context.get(t)}const h=[],q=[],$=[],B=[],F=Promise.resolve();let k=!1;function R(){k||(k=!0,F.then(W))}function Jt(){return R(),F}function S(t){$.push(t)}const A=new Set;let b=0;function W(){const t=p;do{for(;b{v.delete(t),i&&(e&&t.d(1),i())}),t.o(n)}}function Vt(t,n){const e={},i={},r={$$scope:1};let u=t.length;for(;u--;){const o=t[u],s=n[u];if(s){for(const c in o)c in s||(i[c]=1);for(const c in s)r[c]||(e[c]=s[c],r[c]=1);t[u]=s}else for(const c in o)r[c]=1}for(const o in i)o in e||(e[o]=void 0);return e}function Xt(t){return typeof t=="object"&&t!==null?t:{}}function Yt(t){t&&t.c()}function Zt(t,n){t&&t.l(n)}function at(t,n,e,i){const{fragment:r,on_mount:u,on_destroy:o,after_update:s}=t.$$;r&&r.m(n,e),i||S(()=>{const c=u.map(D).filter(K);o?o.push(...c):g(c),t.$$.on_mount=[]}),s.forEach(S)}function ft(t,n){const e=t.$$;e.fragment!==null&&(g(e.on_destroy),e.fragment&&e.fragment.d(n),e.on_destroy=e.fragment=null,e.ctx=[])}function _t(t,n){t.$$.dirty[0]===-1&&(h.push(t),R(),t.$$.dirty.fill(0)),t.$$.dirty[n/31|0]|=1<{const j=C.length?C[0]:y;return l.ctx&&r(l.ctx[a],l.ctx[a]=j)&&(!l.skip_bound&&l.bound[a]&&l.bound[a](j),f&&_t(t,a)),y}):[],l.update(),f=!0,g(l.before_update),l.fragment=i?i(l.ctx):!1,n.target){if(n.hydrate){V();const a=rt(n.target);l.fragment&&l.fragment.l(a),a.forEach(w)}else l.fragment&&l.fragment.c();n.intro&&ut(t.$$.fragment),at(t,n.target,n.anchor,n.customElement),X(),W()}m(c)}class nn{$destroy(){ft(this,1),this.$destroy=T}$on(n,e){const i=this.$$.callbacks[n]||(this.$$.callbacks[n]=[]);return i.push(e),()=>{const r=i.indexOf(e);r!==-1&&i.splice(r,1)}}$set(n){this.$$set&&!Q(n)&&(this.$$.skip_bound=!0,this.$$set(n),this.$$.skip_bound=!1)}}export{S as $,Xt as A,ft as B,J as C,Jt as D,T as E,tt as F,wt as G,mt as H,ht as I,kt as J,Ot as K,yt as L,xt as M,gt as N,zt as O,pt as P,Wt as Q,Pt as R,nn as S,K as T,g as U,$t as V,bt as W,L as X,Mt as Y,Ft as Z,Lt as _,rt as a,Bt as a0,Dt as a1,vt as a2,Tt as a3,it as a4,Ct as a5,St as b,Nt as c,w as d,P as e,qt as f,et as g,ct as h,tn as i,Ht as j,Et as k,At as l,jt as m,Kt as n,Ut as o,Qt as p,ut as q,Rt as r,dt as s,N as t,It as u,Gt as v,Yt as w,Zt as x,at as y,Vt as z};