import{i as e,n as t}from"./api-BogCzFmd.js";import{t as n}from"./cache-hsasTrVL.js";var r=t=>`${e}${t.url}`,i=async(e=!0)=>{let i=new n(`ecosystem-list`),a=await i.get();if(e&&a)return a;let o=(await t.get(`/ecosystems`)).map(e=>({...e,logo:r(e.logo)}));return e&&await i.set(o),o},a=async(e=!0)=>{let i=new n(`extension-info`),a=await i.get();if(e&&a)return a;let o=await t.get(`/extension`);return o.logo=r(o.logo),e&&await i.set(o),o},o=async(e=!0)=>{let r=new n(`platform-config`),i=await r.get();if(e&&i)return i;let a=await t.get(`/platform-config`);return e&&await r.set(a),a};export{i as n,o as r,a as t};