function y(){}const ut=t=>t;function at(t,e){for(const n in e)t[n]=e[n];return t}function Q(t){return t()}function I(){return Object.create(null)}function T(t){t.forEach(Q)}function D(t){return typeof t=="function"}function Ot(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let C;function zt(t,e){return C||(C=document.createElement("a")),C.href=e,t===C.href}function ft(t){return Object.keys(t).length===0}function lt(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(lt(e,n))}function Lt(t,e,n,s){if(t){const i=V(t,e,n,s);return t[0](i)}}function V(t,e,n,s){return t[1]&&s?at(n.ctx.slice(),t[1](s(e))):n.ctx}function St(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 o=[],r=Math.max(e.dirty.length,i.length);for(let u=0;u32){const e=[],n=t.ctx.length/32;for(let s=0;swindow.performance.now():()=>Date.now(),W=X?t=>requestAnimationFrame(t):y;const v=new Set;function Y(t){v.forEach(e=>{e.c(t)||(v.delete(e),e.f())}),v.size!==0&&W(Y)}function ht(t){let e;return v.size===0&&W(Y),{promise:new Promise(n=>{v.add(e={c:t,f:n})}),abort(){v.delete(e)}}}const Gt=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function Z(t,e){t.appendChild(e)}function tt(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function _t(t){const e=H("style");return mt(tt(t),e),e.sheet}function mt(t,e){return Z(t.head||t,e),e.sheet}function pt(t,e,n){t.insertBefore(e,n||null)}function L(t){t.parentNode&&t.parentNode.removeChild(t)}function Jt(t,e){for(let n=0;nt.removeEventListener(e,n,s)}function Vt(t){return function(e){return e.preventDefault(),t.call(this,e)}}function nt(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}const gt=["width","height"];function Xt(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&>.indexOf(s)===-1?t[s]=e[s]:nt(t,s,e[s])}function Yt(t,e,n){e in t?t[e]=typeof t[e]=="boolean"&&n===""?!0:n:nt(t,e,n)}function $t(t){return Array.from(t.childNodes)}function Zt(t,e){e=""+e,t.data!==e&&(t.data=e)}function te(t,e){t.value=e??""}function ee(t,e,n,s){n==null?t.style.removeProperty(e):t.style.setProperty(e,n,s?"important":"")}let P;function bt(){if(P===void 0){P=!1;try{typeof window<"u"&&window.parent&&window.parent.document}catch{P=!0}}return P}function ne(t,e){getComputedStyle(t).position==="static"&&(t.style.position="relative");const s=H("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=bt();let o;return i?(s.src="data:text/html,