import"../chunks/chunk.6EV4YU6C.js";var i="";function c(t){i=t}function r(){if(!i){let t=[...document.getElementsByTagName("script")],s=t.find(e=>e.hasAttribute("data-solid"));if(s)c(s.getAttribute("data-solid"));else{let e=t.find(n=>/solid(\.min)?\.js($|\?)/.test(n.src)),a="";e&&(a=e.getAttribute("src")),c(a.split("/").slice(0,-1).join("/"))}}return i.replace(/\/$/,"")}export{r as getBasePath,c as setBasePath};
