import{r as n}from"./index.0018c8ef.js";function l(){const t=n(!1);return{exportLoading:t,exportData:async a=>{t.value=!0;const r=await a(),o=URL.createObjectURL(r),e=document.createElement("a");e.style.display="none",e.href=o,document.body.appendChild(e),e.click(),document.body.removeChild(e),window.URL.revokeObjectURL(o),t.value=!1}}}export{l as u};