import{dasa,Uase,raso,oass,iast,wasl,easd,aasr,fasi,tasm,Masn,yasu,lasp,_asc}from"./index-B4Nyjh3H.js";import{Easf,aasb}from"./el-col-ChTZtubL.js";import{aas_,Easy}from"./el-form-DDCfLIJB.js";import{Easj}from"./el-upload-CSzzt7Od.js";import"./el-progress-Ci66xlfW.js";import{Eash}from"./el-card-wk8kGoMw.js";import{gasw}from"./index-Bm26evLc.js";import"./castArray-BrlE0VBR.js";import"./isEqual-DFD3TClT.js";import"./index-CdbOSPly.js";constE=c(a({__name:"SubdomainDictionary",setup(a){const{t:c}=p(),E=async()=>{consta=awaitw(),e=window.URL.createObjectURL(newBlob([a.data])),o=document.createElement("a");o.href=e,o.setAttribute("download","subdomain"),document.body.appendChild(o),o.click(),document.body.removeChild(o)},k=e(),v=o({Authorization:`${k.getToken}`});return(a,e)=>(s(),t(r(h),{shadow:"never",class:"mb-20px"},{header:l((()=>[d(r(b),null,{default:l((()=>[d(r(f),{span:3,style:{height:"100%"}},{default:l((()=>[i("span",null,m(r(c)("router.subdomainDictionary")),1)])),_:1})])),_:1})])),default:l((()=>[d(r(y),null,{default:l((()=>[d(r(_),{label:r(c)("common.upload")},{default:l((()=>[d(r(j),{class:"upload-demo",action:"/api/dictionary/subdomain/save",headers:v.value},{default:l((()=>[d(r(n),{type:"primary",size:"small"},{default:l((()=>[u("Click to upload")])),_:1})])),_:1},8,["headers"])])),_:1},8,["label"]),d(r(_),{label:r(c)("common.download")},{default:l((()=>[d(r(n),{type:"primary",size:"small",onClick:E},{default:l((()=>[u("Download")])),_:1})])),_:1},8,["label"])])),_:1})])),_:1}))}}),[["__scopeId","data-v-4d6f01d0"]]);export{Easdefault};