(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))a(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const r of t.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&a(r)}).observe(document,{childList:!0,subtree:!0});function u(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function a(e){if(e.ep)return;e.ep=!0;const t=u(e);fetch(e.href,t)}})();const g="modulepreload",v=function(l,i){return new URL(l,i).href},p={},E=function(i,u,a){let e=Promise.resolve();if(u&&u.length>0){let y=function(n){return Promise.all(n.map(c=>Promise.resolve(c).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};const r=document.getElementsByTagName("link"),o=document.querySelector("meta[property=csp-nonce]"),h=o?.nonce||o?.getAttribute("nonce");e=y(u.map(n=>{if(n=v(n,a),n in p)return;p[n]=!0;const c=n.endsWith(".css"),f=c?'[rel="stylesheet"]':"";if(a)for(let d=r.length-1;d>=0;d--){const m=r[d];if(m.href===n&&(!c||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${n}"]${f}`))return;const s=document.createElement("link");if(s.rel=c?"stylesheet":g,c||(s.as="script"),s.crossOrigin="",s.href=n,h&&s.setAttribute("nonce",h),document.head.appendChild(s),c)return new Promise((d,m)=>{s.addEventListener("load",d),s.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${n}`)))})}))}function t(r){const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=r,window.dispatchEvent(o),!o.defaultPrevented)throw r}return e.then(r=>{for(const o of r||[])o.status==="rejected"&&t(o.reason);return i().catch(t)})};E(()=>import("./main-Da5vWd85.js").then(l=>l.G),[],import.meta.url);export{E as _};
