
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="040872b4-a07c-58eb-aa81-23aaa21b8190")}catch(e){}}();
import{a as f}from"./BeKxTTdh.js";import{a as d}from"./C-rIDdVn.js";function p(t){return t.message.includes("Load failed")||t.message.includes("Failed to fetch")||t.message.includes("Failed to load")}async function l(t){return new Promise(n=>setTimeout(n,t))}async function y(t,n){const{label:r,...o}=n;async function i(){const e=new URL(t,f),s=new Request(e,o);return s.headers.append("x-api-bff-fetch","true"),await(await fetch(s)).json()}async function c(e,s){if(p(e))return await l(s.delay),i();throw e}const{data:u,locals:a}=await i().catch(e=>c(e,{delay:1e3})).catch(e=>c(e,{delay:2e3}));return a!=null&&a.apiRequests&&d.update(e=>[...e,{label:r,pathname:t,apiRequests:a.apiRequests}]),u}export{y as a};
//# sourceMappingURL=CmQUMDP6.js.map

//# debugId=040872b4-a07c-58eb-aa81-23aaa21b8190
