function E(){}const et=t=>t;function P(t,e){for(const n in e)t[n]=e[n];return t}function T(t){return t()}function nt(){return Object.create(null)}function B(t){t.forEach(T)}function L(t){return typeof t=="function"}function it(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}function rt(t){return Object.keys(t).length===0}function M(t,...e){if(t==null){for(const i of e)i(void 0);return E}const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function ct(t,e,n){t.$$.on_destroy.push(M(e,n))}function st(t,e,n,i){if(t){const r=N(t,e,n,i);return t[0](r)}}function N(t,e,n,i){return t[1]&&i?P(n.ctx.slice(),t[1](i(e))):n.ctx}function lt(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 o=[],c=Math.max(e.dirty.length,r.length);for(let l=0;l32){const e=[],n=t.ctx.length/32;for(let i=0;i>1);n(r)<=i?t=r+1:e=r}return t}function I(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const s=[];for(let u=0;u0&&e[n[r]].claim_order<=u?r+1:q(1,r,D=>e[n[D]].claim_order,u))-1;i[s]=n[a]+1;const w=a+1;n[w]=s,r=Math.max(w,r)}const o=[],c=[];let l=e.length-1;for(let s=n[r]+1;s!=0;s=i[s-1]){for(o.push(e[s-1]);l>=s;l--)c.push(e[l]);l--}for(;l>=0;l--)c.push(e[l]);o.reverse(),c.sort((s,u)=>s.claim_order-u.claim_order);for(let s=0,u=0;s=o[u].claim_order;)u++;const a=ut.removeEventListener(e,n,i)}function A(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}const W=["width","height"];function G(t,e){const n=Object.getOwnPropertyDescriptors(t.__proto__);for(const i in e)e[i]==null?t.removeAttribute(i):i==="style"?t.style.cssText=e[i]:i==="__value"?t.value=t[i]=e[i]:n[i]&&n[i].set&&W.indexOf(i)===-1?t[i]=e[i]:A(t,i,e[i])}function J(t,e){Object.keys(e).forEach(n=>{K(t,n,e[n])})}function K(t,e,n){const i=e.toLowerCase();i in t?t[i]=typeof t[i]=="boolean"&&n===""?!0:n:e in t?t[e]=typeof t[e]=="boolean"&&n===""?!0:n:A(t,e,n)}function kt(t){return/-/.test(t)?J:G}function vt(t){return Array.from(t.childNodes)}function Q(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function C(t,e,n,i,r=!1){Q(t);const o=(()=>{for(let c=t.claim_info.last_index;c=0;c--){const l=t[c];if(e(l)){const s=n(l);return s===void 0?t.splice(c,1):t[c]=s,r?s===void 0&&t.claim_info.last_index--:t.claim_info.last_index=c,l}}return i()})();return o.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,o}function O(t,e,n,i){return C(t,r=>r.nodeName===e,r=>{const o=[];for(let c=0;cr.removeAttribute(c))},()=>i(e))}function Et(t,e,n){return O(t,e,n,j)}function Nt(t,e,n){return O(t,e,n,U)}function V(t,e){return C(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 jt(t){return V(t," ")}function At(t,e){e=""+e,t.data!==e&&(t.data=e)}function Ct(t,e,n,i){n==null?t.style.removeProperty(e):t.style.setProperty(e,n,i?"important":"")}function X(t,e,{bubbles:n=!1,cancelable:i=!1}={}){return new CustomEvent(t,{detail:e,bubbles:n,cancelable:i})}function Ot(t,e){return new t(e)}let m;function y(t){m=t}function d(){if(!m)throw new Error("Function called outside component initialization");return m}function St(t){d().$$.on_mount.push(t)}function Dt(t){d().$$.after_update.push(t)}function Pt(t){d().$$.on_destroy.push(t)}function Tt(){const t=d();return(e,n,{cancelable:i=!1}={})=>{const r=t.$$.callbacks[e];if(r){const o=X(e,n,{cancelable:i});return r.slice().forEach(c=>{c.call(t,o)}),!o.defaultPrevented}return!0}}function Bt(t,e){return d().$$.context.set(t,e),e}function Lt(t){return d().$$.context.get(t)}function Mt(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach(i=>i.call(this,e))}const h=[],k=[];let _=[];const v=[],S=Promise.resolve();let g=!1;function Y(){g||(g=!0,S.then($))}function qt(){return Y(),S}function Z(t){_.push(t)}const b=new Set;let f=0;function $(){if(f!==0)return;const t=m;do{try{for(;ft.indexOf(i)===-1?e.push(i):n.push(i)),n.forEach(i=>i()),_=e}export{y as $,ft as A,Bt as B,P as C,at as D,kt as E,dt as F,wt as G,L as H,B as I,Mt as J,et as K,Tt as L,Z as M,Lt as N,G as O,U as P,Nt as Q,_t as R,Pt as S,z as T,pt as U,X as V,nt as W,$ as X,rt as Y,It as Z,m as _,gt as a,T as a0,h as a1,Y as a2,ht as a3,mt as a4,Dt as b,jt as c,bt as d,xt as e,j as f,Et as g,vt as h,yt as i,A as j,Ct as k,x as l,V as m,At as n,St as o,k as p,Ot as q,st as r,it as s,qt as t,ot as u,ut as v,lt as w,H as x,E as y,ct as z};