import{b0 as c,L as n}from"./index-D8gWJXbr.js";import{B as d}from"./vendor-3e8OGtgt.js";async function i(t,r){try{const{data:o}=await c(t).blob(),a=window.URL.createObjectURL(d(o)),e=document.createElement("a");e.href=a,e.setAttribute("download",r),document.body.appendChild(e),e.click(),document.body.removeChild(e)}catch(o){n.error(i.name,o)}}export{i as d};
//# sourceMappingURL=index-Bj_SRNte.js.map
