const e=(e,t,o)=>{const n=new Blob([e],{type:o});window.URL=window.URL||window.webkitURL;const c=URL.createObjectURL(n),w=document.createElement("a");w.href=c,w.download=t,w.click(),window.URL.revokeObjectURL(c)},t={excel:(t,o)=>{e(t,o,"application/vnd.ms-excel")},word:(t,o)=>{e(t,o,"application/msword")},zip:(t,o)=>{e(t,o,"application/zip")},html:(t,o)=>{e(t,o,"text/html")},markdown:(t,o)=>{e(t,o,"text/markdown")}};export{t as d};
