import{b2 as c,L as d}from"./index-CiAiYnez.js";import{ad as n}from"./vendor-D8NNcBCx.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-DGm8AMTO.js.map
