import{u as n}from"./index.27c0ea5f.js";import"./outputWidgets.b2f2adf2.js";import{r as s,w as r}from"./runnerData.f7a85f05.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="9451cecf-bbda-4a11-830b-a5b48230bfc6",t._sentryDebugIdIdentifier="sentry-dbid-9451cecf-bbda-4a11-830b-a5b48230bfc6")}catch{}})();async function c(t){const e=await fetch(`/_pages/${t}`,{headers:n.authHeaders()});if(e.status==404)return null;if(!e.ok)throw new Error(await e.text());const{form:a}=await e.json();return a?s(a):null}async function i(){const t=await fetch("/_workspace");if(t.status!=200)return r({});const e=await t.json();return r(e)}export{c as f,i as g};
//# sourceMappingURL=api.b6448f2c.js.map
