import{u as n}from"./router.c605742c.js";import{r as o,w as a}from"./runnerData.38462a80.js";import"./vue-router.a333e065.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f0cf9bdf-c01d-4cc5-b9eb-3ac9dc3338e5",e._sentryDebugIdIdentifier="sentry-dbid-f0cf9bdf-c01d-4cc5-b9eb-3ac9dc3338e5")}catch{}})();async function d(e){const t=n(),r=await fetch(`/_pages/${e}`,{headers:t.authHeaders});if(r.status===404)return null;if(!r.ok)throw new Error(await r.text());const{form:s}=await r.json();return s?o(s):null}async function i(){const e=n(),t=await fetch("/_workspace",{headers:e.authHeaders});if(t.status!=200)return a({});const r=await t.json();return a(r)}export{d as f,i as g};
//# sourceMappingURL=api.3bef6029.js.map
