(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"66e9b849450b819e11683314a547a341cb57f7d0"};var i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="a3b0f1c9-b2a8-4645-a8b2-1a64490058ae",t._sentryDebugIdIdentifier="sentry-dbid-a3b0f1c9-b2a8-4645-a8b2-1a64490058ae")}catch{}})();const h="modulepreload",y=function(t){return"/"+t},u={},E=function(i,c,p){let l=Promise.resolve();if(c&&c.length>0){let f=function(e){return Promise.all(e.map(s=>Promise.resolve(s).then(a=>({status:"fulfilled",value:a}),a=>({status:"rejected",reason:a}))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),n=o?.nonce||o?.getAttribute("nonce");l=f(c.map(e=>{if(e=y(e),e in u)return;u[e]=!0;const s=e.endsWith(".css"),a=s?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${a}`))return;const r=document.createElement("link");if(r.rel=s?"stylesheet":h,s||(r.as="script"),r.crossOrigin="",r.href=e,n&&r.setAttribute("nonce",n),document.head.appendChild(r),s)return new Promise((b,m)=>{r.addEventListener("load",b),r.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${e}`)))})}))}function d(o){const n=new Event("vite:preloadError",{cancelable:!0});if(n.payload=o,window.dispatchEvent(n),!n.defaultPrevented)throw o}return l.then(o=>{for(const n of o||[])n.status==="rejected"&&d(n.reason);return i().catch(d)})};export{E as _};
//# sourceMappingURL=preload-helper-DLdknYSj.js.map
