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