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