let a="",f="";function d(r){a=r.base,f=r.assets||a}const m="modulepreload",i={},h="/embed/huggingface-projects/wordalle/static/_app/immutable/",b=function(o,n){return!n||n.length===0?o():Promise.all(n.map(e=>{if(e=`${h}${e}`,e in i)return;i[e]=!0;const s=e.endsWith(".css"),l=s?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${l}`))return;const t=document.createElement("link");if(t.rel=s?"stylesheet":m,s||(t.as="script",t.crossOrigin=""),t.href=e,document.head.appendChild(t),s)return new Promise((c,u)=>{t.addEventListener("load",c),t.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${e}`)))})})).then(()=>o())};export{b as _,f as a,a as b,d as s};