text: import{r as l,a as m,b as d}from"./route-for-api-9ec299d3.js";const t={};function p(){return null}const u=/tmprl\.cloud$/,h=async({url:n,request:s=fetch})=>{var o,r,a,i;const e=await l(m("settings"),{request:s}),c=p();return{auth:{enabled:!!((o=e==null?void 0:e.Auth)==null?void 0:o.Enabled),options:(r=e==null?void 0:e.Auth)==null?void 0:r.Options},baseUrl:((i=(a=t==null?void 0:t.env)==null?void 0:a.VITE_API)!=null?i:d)?window.location.origin:"",defaultNamespace:(e==null?void 0:e.DefaultNamespace)||"default",runtimeEnvironment:{get isCloud(){return u.test(n.hostname)},get isLocal(){return u.test(n.hostname)},envOverride:Boolean(c)}}};export{h as f};
  