import{c as y}from"./axios.136fb7b6.js";var w={exports:{}};/*! * js-table2excel v1.1.2 * Released under the MIT License. * repository: https://github.com/hxj9102/table2excel.git */(function(g,O){(function(f,x){g.exports=x()})(y,function(){var f=function(c,i){var t;((t=window.navigator.userAgent).indexOf("MSIE")>=0?"ie":t.indexOf("Firefox")>=0?"Firefox":t.indexOf("Chrome")>=0?"Chrome":t.indexOf("Opera")>=0?"Opera":t.indexOf("Safari")>=0?"Safari":void 0)=="ie"?x(c):v(c,i)},x=function(c,i){var t=c,n=new ActiveXObject("Excel.Application"),a=n.Workbooks.Add(),r=a.Worksheets(1),s=document.body.createTextRange();s.moveToElementText(t),s.select,s.execCommand("Copy"),r.Paste(),n.Visible=!0;try{n.Application.GetSaveAsFilename("Excel.xls","Excel Spreadsheets (*.xls), *.xls")}catch(h){print("Nested catch caught "+h)}finally{a.SaveAs(fname),a.Close(savechanges=!1),n.Quit(),n=null,window.setInterval("Cleanup();",1),window.setInterval("Cleanup();",1)}},v=function(c,i){var t,n="data:application/vnd.ms-excel;base64,"+function(s){return window.btoa(unescape(encodeURIComponent(s)))}((t={worksheet:i,table:c},'{table}
'.replace(/{(\w+)}/g,function(s,h){return t[h]})));if(navigator.userAgent.indexOf("Firefox")>-1)window.location.href=n;else{var a,r=document.createElement("a");r.href=n,r.download=i||"",window.MouseEvent?a=new MouseEvent("click"):(a=document.createEvent("MouseEvents")).initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),r.dispatchEvent(a)}};return function(){for(var c={image:function(e,o){return o=Object.assign({width:40,height:60},o),''.concat(e,"")}},i=arguments.length,t=new Array(i),n=0;n'.concat(p,""):"",u=r.reduce(function(e,o){return e+="".concat(o.title,"")},"");u="".concat(u,"");var m=s.reduce(function(e,o){var E=r.reduce(function(k,l){var d={};return l.type==="image"&&(o.size?(d.width=o.size[0],d.height=o.size[1]):(l.width&&(d.width=l.width),l.height&&(d.height=l.height))),k+=c[l.type||"text"](o[l.key],d)},"");return e+="".concat(E,"")},"");m="".concat(m,""),f(b+u+m,h)}})})(w);const A=w.exports;export{A as t};