var at=Object.defineProperty;var ft=(t,e,n)=>e in t?at(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var p=(t,e,n)=>(ft(t,typeof e!="symbol"?e+"":e,n),n);function g(){}const lt=t=>t;function dt(t,e){for(const n in e)t[n]=e[n];return t}function Q(t){return t()}function U(){return Object.create(null)}function P(t){t.forEach(Q)}function z(t){return typeof t=="function"}function Rt(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let T;function qt(t,e){return t===e?!0:(T||(T=document.createElement("a")),T.href=e,t===T.href)}function ht(t){return Object.keys(t).length===0}function _t(t,...e){if(t==null){for(const s of e)s(void 0);return g}const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function Ft(t,e,n){t.$$.on_destroy.push(_t(e,n))}function It(t,e,n,s){if(t){const i=X(t,e,n,s);return t[0](i)}}function X(t,e,n,s){return t[1]&&s?dt(n.ctx.slice(),t[1](s(e))):n.ctx}function Wt(t,e,n,s){if(t[2]&&s){const i=t[2](s(n));if(e.dirty===void 0)return i;if(typeof i=="object"){const r=[],u=Math.max(e.dirty.length,i.length);for(let a=0;a32){const e=[],n=t.ctx.length/32;for(let s=0;swindow.performance.now():()=>Date.now(),W=Y?t=>requestAnimationFrame(t):g;const E=new Set;function Z(t){E.forEach(e=>{e.c(t)||(E.delete(e),e.f())}),E.size!==0&&W(Z)}function mt(t){let e;return E.size===0&&W(Z),{promise:new Promise(n=>{E.add(e={c:t,f:n})}),abort(){E.delete(e)}}}function tt(t,e){t.appendChild(e)}function et(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function yt(t){const e=B("style");return e.textContent="/* empty */",gt(et(t),e),e.sheet}function gt(t,e){return tt(t.head||t,e),e.sheet}function $t(t,e,n){t.insertBefore(e,n||null)}function D(t){t.parentNode&&t.parentNode.removeChild(t)}function Xt(t,e){for(let n=0;nt.removeEventListener(e,n,s)}function te(t){return function(e){return e.preventDefault(),t.call(this,e)}}function st(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}const bt=["width","height"];function ee(t,e){const n=Object.getOwnPropertyDescriptors(t.__proto__);for(const s in e)e[s]==null?t.removeAttribute(s):s==="style"?t.style.cssText=e[s]:s==="__value"?t.value=t[s]=e[s]:n[s]&&n[s].set&&bt.indexOf(s)===-1?t[s]=e[s]:st(t,s,e[s])}function ne(t,e,n){const s=e.toLowerCase();s in t?t[s]=typeof t[s]=="boolean"&&n===""?!0:n:e in t?t[e]=typeof t[e]=="boolean"&&n===""?!0:n:st(t,e,n)}function xt(t){return Array.from(t.childNodes)}function se(t,e){e=""+e,t.data!==e&&(t.data=e)}function ie(t,e){t.value=e??""}function re(t,e,n,s){n==null?t.style.removeProperty(e):t.style.setProperty(e,n,s?"important":"")}let O;function vt(){if(O===void 0){O=!1;try{typeof window<"u"&&window.parent&&window.parent.document}catch{O=!0}}return O}function oe(t,e){getComputedStyle(t).position==="static"&&(t.style.position="relative");const s=B("iframe");s.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),s.setAttribute("aria-hidden","true"),s.tabIndex=-1;const i=vt();let r;return i?(s.src="data:text/html,