function y(){}function F(t,e){for(const n in e)t[n]=e[n];return t}function B(t){return t()}function q(){return Object.create(null)}function b(t){t.forEach(B)}function k(t){return typeof t=="function"}function st(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let $;function ft(t,e){return $||($=document.createElement("a")),$.href=e,t===$.href}function H(t){return Object.keys(t).length===0}function I(t,...e){if(t==null)return y;const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function dt(t,e,n){t.$$.on_destroy.push(I(e,n))}function _t(t,e,n,r){if(t){const i=D(t,e,n,r);return t[0](i)}}function D(t,e,n,r){return t[1]&&r?F(n.ctx.slice(),t[1](r(e))):n.ctx}function ht(t,e,n,r){if(t[2]&&r){const i=t[2](r(n));if(e.dirty===void 0)return i;if(typeof i=="object"){const a=[],l=Math.max(e.dirty.length,i.length);for(let o=0;o32){const e=[],n=t.ctx.length/32;for(let r=0;r>1);n(i)<=r?t=i+1:e=i}return t}function R(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const c=[];for(let u=0;u0&&e[n[i]].claim_order<=u?i+1:Q(1,i,x=>e[n[x]].claim_order,u))-1;r[c]=n[f]+1;const s=f+1;n[s]=c,i=Math.max(s,i)}const a=[],l=[];let o=e.length-1;for(let c=n[i]+1;c!=0;c=r[c-1]){for(a.push(e[c-1]);o>=c;o--)l.push(e[o]);o--}for(;o>=0;o--)l.push(e[o]);a.reverse(),l.sort((c,u)=>c.claim_order-u.claim_order);for(let c=0,u=0;c=a[u].claim_order;)u++;const f=ut.removeEventListener(e,n,r)}function vt(t){return function(e){return e.preventDefault(),t.call(this,e)}}function Et(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function Y(t){return Array.from(t.childNodes)}function Z(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function L(t,e,n,r,i=!1){Z(t);const a=(()=>{for(let l=t.claim_info.last_index;l=0;l--){const o=t[l];if(e(o)){const c=n(o);return c===void 0?t.splice(l,1):t[l]=c,i?c===void 0&&t.claim_info.last_index--:t.claim_info.last_index=l,o}}return r()})();return a.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,a}function tt(t,e,n,r){return L(t,i=>i.nodeName===e,i=>{const a=[];for(let l=0;li.removeAttribute(l))},()=>r(e))}function Nt(t,e,n){return tt(t,e,n,X)}function et(t,e){return L(t,n=>n.nodeType===3,n=>{const r=""+e;if(n.data.startsWith(r)){if(n.data.length!==r.length)return n.splitText(r.length)}else n.data=r},()=>A(e),!0)}function St(t){return et(t," ")}function kt(t,e){e=""+e,t.data!==e&&(t.data=e)}function At(t,e,n,r){n==null?t.style.removeProperty(e):t.style.setProperty(e,n,r?"important":"")}function nt(t,e,{bubbles:n=!1,cancelable:r=!1}={}){const i=document.createEvent("CustomEvent");return i.initCustomEvent(t,n,r,e),i}function Mt(t,e){return new t(e)}let g;function p(t){g=t}function M(){if(!g)throw new Error("Function called outside component initialization");return g}function jt(t){M().$$.on_mount.push(t)}function Ct(t){M().$$.after_update.push(t)}function qt(){const t=M();return(e,n,{cancelable:r=!1}={})=>{const i=t.$$.callbacks[e];if(i){const a=nt(e,n,{cancelable:r});return i.slice().forEach(l=>{l.call(t,a)}),!a.defaultPrevented}return!0}}const h=[],O=[];let m=[];const T=[],P=Promise.resolve();let N=!1;function W(){N||(N=!0,P.then(z))}function Ot(){return W(),P}function S(t){m.push(t)}const E=new Set;let _=0;function z(){if(_!==0)return;const t=g;do{try{for(;_t.indexOf(r)===-1?e.push(r):n.push(r)),n.forEach(r=>r()),m=e}const w=new Set;let d;function Tt(){d={r:0,c:[],p:d}}function Bt(){d.r||b(d.c),d=d.p}function lt(t,e){t&&t.i&&(w.delete(t),t.i(e))}function Dt(t,e,n,r){if(t&&t.o){if(w.has(t))return;w.add(t),d.c.push(()=>{w.delete(t),r&&(n&&t.d(1),r())}),t.o(e)}else r&&r()}const ct=["allowfullscreen","allowpaymentrequest","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected"];[...ct];function Lt(t){t&&t.c()}function Pt(t,e){t&&t.l(e)}function ut(t,e,n,r){const{fragment:i,after_update:a}=t.$$;i&&i.m(e,n),r||S(()=>{const l=t.$$.on_mount.map(B).filter(k);t.$$.on_destroy?t.$$.on_destroy.push(...l):b(l),t.$$.on_mount=[]}),a.forEach(S)}function ot(t,e){const n=t.$$;n.fragment!==null&&(it(n.after_update),b(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function at(t,e){t.$$.dirty[0]===-1&&(h.push(t),W(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const C=j.length?j[0]:x;return u.ctx&&i(u.ctx[s],u.ctx[s]=C)&&(!u.skip_bound&&u.bound[s]&&u.bound[s](C),f&&at(t,s)),x}):[],u.update(),f=!0,b(u.before_update),u.fragment=r?r(u.ctx):!1,e.target){if(e.hydrate){J();const s=Y(e.target);u.fragment&&u.fragment.l(s),s.forEach(V)}else u.fragment&&u.fragment.c();e.intro&<(t.$$.fragment),ut(t,e.target,e.anchor,e.customElement),K(),z()}p(c)}class zt{$destroy(){ot(this,1),this.$destroy=y}$on(e,n){if(!k(n))return y;const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(n),()=>{const i=r.indexOf(n);i!==-1&&r.splice(i,1)}}$set(e){this.$$set&&!H(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}export{ut as A,ot as B,_t as C,mt as D,pt as E,ht as F,U as G,y as H,dt as I,yt as J,qt as K,ft as L,bt as M,wt as N,vt as O,zt as S,xt as a,gt as b,St as c,Dt as d,$t as e,Bt as f,lt as g,V as h,Wt as i,Ct as j,X as k,Nt as l,Y as m,Et as n,jt as o,At as p,A as q,et as r,st as s,Ot as t,kt as u,Tt as v,O as w,Mt as x,Lt as y,Pt as z};