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