var t=new Map;function requestInclude(e,s="cors"){const n=t.get(e);if(void 0!==n)return Promise.resolve(n);const r=fetch(e,{mode:s}).then((async s=>{const n={ok:s.ok,status:s.status,html:await s.text()};return t.set(e,n),n}));return t.set(e,r),r}export{requestInclude};