(function(){const H=typeof document<"u",X=()=>{},dt=H?document.querySelector("script[type=esms-options]"):void 0,M=dt?JSON.parse(dt.innerHTML):{};Object.assign(M,self.esmsInitOptions||{});let y=H?!!M.shimMode:!0;const ge=ee(y&&M.onimport),$e=ee(y&&M.resolve);let Kt=M.fetch?ee(M.fetch):fetch;const Vt=M.meta?ee(y&&M.meta):X,mt=M.mapOverrides;let N=M.nonce;if(!N&&H){const n=document.querySelector("script[nonce]");n&&(N=n.nonce||n.getAttribute("nonce"))}const Xt=ee(M.onerror||X),{revokeBlobURLs:bt,noLoadEventRetriggers:ve,globalLoadEventRetrigger:Yt,enforceIntegrity:Zt}=M;function ee(n){return typeof n=="string"?self[n]:n}const Se=Array.isArray(M.polyfillEnable)?M.polyfillEnable:[],Ee=Se.includes("css-modules"),Ce=Se.includes("json-modules"),te=Se.includes("wasm-modules"),ne=Se.includes("source-phase"),pt=M.onpolyfill?ee(M.onpolyfill):()=>{console.log("%c^^ Module error above is polyfilled and can be ignored ^^","font-weight:900;color:#391")},Ut=!navigator.userAgentData&&!!navigator.userAgent.match(/Edge\/\d+\.\d+/),Y=H?document.baseURI:`${location.protocol}//${location.host}${location.pathname.includes("/")?location.pathname.slice(0,location.pathname.lastIndexOf("/")+1):location.pathname}`,j=(n,s="text/javascript")=>URL.createObjectURL(new Blob([n],{type:s}));let{skip:W}=M;if(Array.isArray(W)){const n=W.map(s=>new URL(s,Y).href);W=s=>n.some(a=>a[a.length-1]==="/"&&s.startsWith(a)||s===a)}else if(typeof W=="string"){const n=new RegExp(W);W=s=>n.test(s)}else W instanceof RegExp&&(W=n=>W.test(n));const e0=n=>self.dispatchEvent(Object.assign(new Event("error"),{error:n})),qe=n=>{(self.reportError||e0)(n),Xt(n)};function ae(n){return n?` imported from ${n}`:""}let xe=!1;function t0(){xe=!0}if(!y)if(document.querySelectorAll("script[type=module-shim],script[type=importmap-shim],link[rel=modulepreload-shim]").length)y=!0;else{let n=!1;for(const s of document.querySelectorAll("script[type=module],script[type=importmap]"))if(!n)s.type==="module"&&!s.ep&&(n=!0);else if(s.type==="importmap"&&n){xe=!0;break}}const n0=/\\/g;function Ae(n){try{if(n.indexOf(":")!==-1)return new URL(n).href}catch{}}function ht(n,s){return J(n,s)||Ae(n)||J("./"+n,s)}function J(n,s){const a=s.indexOf("#"),d=s.indexOf("?");if(a+d>-2&&(s=s.slice(0,a===-1?d:d===-1||d>a?a:d)),n.indexOf("\\")!==-1&&(n=n.replace(n0,"/")),n[0]==="/"&&n[1]==="/")return s.slice(0,s.indexOf(":")+1)+n;if(n[0]==="."&&(n[1]==="/"||n[1]==="."&&(n[2]==="/"||n.length===2&&(n+="/"))||n.length===1&&(n+="/"))||n[0]==="/"){const c=s.slice(0,s.indexOf(":")+1);if(c==="blob:")throw new TypeError(`Failed to resolve module specifier "${n}". Invalid relative url or base scheme isn't hierarchical.`);let f;if(s[c.length+1]==="/"?c!=="file:"?(f=s.slice(c.length+2),f=f.slice(f.indexOf("/")+1)):f=s.slice(8):f=s.slice(c.length+(s[c.length]==="/")),n[0]==="/")return s.slice(0,s.length-f.length-1)+n;const m=f.slice(0,f.lastIndexOf("/")+1)+n,p=[];let w=-1;for(let b=0;b "${n[c]}" does not resolve`)}}function r0(n,s,a){for(let d in n){const c=J(d,a)||d;if((!y||!mt)&&s[c]&&s[c]!==n[c])throw Error(`Rejected map integrity override "${c}" from ${s[c]} to ${n[c]}.`);s[c]=n[d]}}let D=!H&&(0,eval)("u=>import(u)"),ce;const s0=H&&new Promise(n=>{const s=Object.assign(document.createElement("script"),{src:j("self._d=u=>import(u)"),ep:!0});s.setAttribute("nonce",N),s.addEventListener("load",()=>{if(!(ce=!!(D=self._d))){let a;window.addEventListener("error",d=>a=d),D=(d,c)=>new Promise((f,m)=>{const p=Object.assign(document.createElement("script"),{type:"module",src:j(`import*as m from'${d}';self._esmsi=m`)});a=void 0,p.ep=!0,N&&p.setAttribute("nonce",N),p.addEventListener("error",w),p.addEventListener("load",w);function w(b){document.head.removeChild(p),self._esmsi?(f(self._esmsi,Y),self._esmsi=void 0):(m(!(b instanceof Event)&&b||a&&a.error||new Error(`Error loading ${c&&c.errUrl||d} (${p.src}).`)),a=void 0)}document.head.appendChild(p)})}document.head.removeChild(s),delete self._d,n()}),document.head.appendChild(s)});let Le=!1,Oe=!1;const Be=H&&HTMLScriptElement.supports;let re=Be&&Be.name==="supports"&&Be("importmap"),Me=ce,Ie=!1,je=!1;const Pe=[0,97,115,109,1,0,0,0];let i0=Promise.resolve(s0).then(()=>{if(ce)return H?new Promise(n=>{const s=document.createElement("iframe");s.style.display="none",s.setAttribute("nonce",N);function a({data:p}){Array.isArray(p)&&p[0]==="esms"&&([,re,Me,Oe,Le,Ie,je]=p,n(),document.head.removeChild(s),window.removeEventListener("message",a,!1))}window.addEventListener("message",a,!1);const d=`