var I=Object.defineProperty;var O=(t,e,n)=>e in t?I(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var f=(t,e,n)=>O(t,typeof e!="symbol"?e+"":e,n);function L(){}const ut=t=>t;function G(t,e){for(const n in e)t[n]=e[n];return t}function F(t){return t()}function ft(){return Object.create(null)}function U(t){t.forEach(F)}function J(t){return typeof t=="function"}function dt(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let m;function _t(t,e){return t===e?!0:(m||(m=document.createElement("a")),m.href=e,t===m.href)}function ht(t){return Object.keys(t).length===0}function K(t,...e){if(t==null){for(const i of e)i(void 0);return L}const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function mt(t,e,n){t.$$.on_destroy.push(K(e,n))}function pt(t,e,n,i){if(t){const s=D(t,e,n,i);return t[0](s)}}function D(t,e,n,i){return t[1]&&i?G(n.ctx.slice(),t[1](i(e))):n.ctx}function yt(t,e,n,i){if(t[2]&&i){const s=t[2](i(n));if(e.dirty===void 0)return s;if(typeof s=="object"){const c=[],r=Math.max(e.dirty.length,s.length);for(let l=0;l32){const e=[],n=t.ctx.length/32;for(let i=0;i>1);n(s)<=i?t=s+1:e=s}return t}function V(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[s]].claim_order<=a?s+1:Q(1,s,W=>e[n[W]].claim_order,a))-1;i[o]=n[u]+1;const H=u+1;n[H]=o,s=Math.max(H,s)}const c=[],r=[];let l=e.length-1;for(let o=n[s]+1;o!=0;o=i[o-1]){for(c.push(e[o-1]);l>=o;l--)r.push(e[l]);l--}for(;l>=0;l--)r.push(e[l]);c.reverse(),r.sort((o,a)=>o.claim_order-a.claim_order);for(let o=0,a=0;o=c[a].claim_order;)a++;const u=at.removeEventListener(e,n,i)}function Mt(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function St(t){return function(e){e.target===this&&t.call(this,e)}}function Ct(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function Lt(t){return t.dataset.svelteH}function Dt(t){return Array.from(t.childNodes)}function q(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function z(t,e,n,i,s=!1){q(t);const c=(()=>{for(let r=t.claim_info.last_index;r=0;r--){const l=t[r];if(e(l)){const o=n(l);return o===void 0?t.splice(r,1):t[r]=o,s?o===void 0&&t.claim_info.last_index--:t.claim_info.last_index=r,l}}return i()})();return c.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,c}function B(t,e,n,i){return z(t,s=>s.nodeName===e,s=>{const c=[];for(let r=0;rs.removeAttribute(r))},()=>i(e))}function Pt(t,e,n){return B(t,e,n,x)}function jt(t,e,n){return B(t,e,n,j)}function et(t,e){return z(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},()=>A(e),!0)}function qt(t){return et(t," ")}function S(t,e,n){for(let i=n;i{r.source===i.contentWindow&&e()})):(i.src="about:blank",i.onload=()=>{c=M(i.contentWindow,"resize",e),e()}),P(t,i),()=>{(s||c&&i.contentWindow)&&c(),y(i)}}function Ft(t,e,n){t.classList.toggle(e,!!n)}function it(t,e,{bubbles:n=!1,cancelable:i=!1}={}){return new CustomEvent(t,{detail:e,bubbles:n,cancelable:i})}function Ut(t,e){const n=[];let i=0;for(const s of e.childNodes)if(s.nodeType===8){const c=s.textContent.trim();c===`HEAD_${t}_END`?(i-=1,n.push(s)):c===`HEAD_${t}_START`&&(i+=1,n.push(s))}else i>0&&n.push(s);return n}class st{constructor(e=!1){f(this,"is_svg",!1);f(this,"e");f(this,"n");f(this,"t");f(this,"a");this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,n,i=null){this.e||(this.is_svg?this.e=j(n.nodeName):this.e=x(n.nodeType===11?"TEMPLATE":n.nodeName),this.t=n.tagName!=="TEMPLATE"?n:n.content,this.c(e)),this.i(i)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(e){for(let n=0;n{const s=t.$$.callbacks[e];if(s){const c=it(e,n,{cancelable:i});return s.slice().forEach(r=>{r.call(t,c)}),!c.defaultPrevented}return!0}}function Xt(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach(i=>i.call(this,e))}const h=[],C=[];let _=[];const N=[],R=Promise.resolve();let T=!1;function rt(){T||(T=!0,R.then(ot))}function Yt(){return rt(),R}function ct(t){_.push(t)}function Zt(t){N.push(t)}const v=new Set;let d=0;function ot(){if(d!==0)return;const t=b;do{try{for(;dt.indexOf(i)===-1?e.push(i):n.push(i)),n.forEach(i=>i()),_=e}export{Zt as $,X as A,Tt as B,U as C,J as D,ct as E,it as F,ut as G,ft as H,ot as I,ht as J,$t as K,b as L,E as M,F as N,h as O,rt as P,vt as Q,Nt as R,Lt as S,G as T,At as U,_t as V,M as W,St as X,j as Y,jt as Z,Gt as _,kt as a,xt as a0,Ft as a1,Mt as a2,Xt as a3,Vt as a4,Et as a5,wt as a6,Rt as a7,w as a8,zt as a9,It as aa,Ot as ab,Ut as ac,Dt as b,Pt as c,et as d,x as e,y as f,qt as g,Z as h,tt as i,Bt as j,mt as k,pt as l,gt as m,L as n,yt as o,Ht as p,Qt as q,Kt as r,dt as s,A as t,bt as u,Ct as v,Wt as w,C as x,Jt as y,Yt as z};