import{b0 as c,L as n}from"./index-B-IqqSSt.js";import{B as d}from"./vendor-CB-jpi5M.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-UTlpq3_r.js.map
