System.register(["./index-legacy107.js?v=1763625242172","./index-legacy104.js?v=1763625242172","./vue-legacy.js?v=1763625242172","./utils-legacy.js?v=1763625242172","./page_layout-legacy.js?v=1763625242172","./public-legacy.js?v=1763625242172","./naive-legacy.js?v=1763625242172","./common-legacy.js?v=1763625242172","./__commonjsHelpers__-legacy.js?v=1763625242172","./soft-legacy.js?v=1763625242172","./site-legacy.js?v=1763625242172"],(function(e,a){"use strict";var l,s,t,n,u,o,c,r,g,i,p,y,d,_,m,v,j,f;return{setters:[e=>{l=e._},e=>{s=e._},e=>{t=e.k,n=e.af,u=e.R,o=e.S,c=e.X,r=e.V,g=e.P,i=e.r,p=e.c,y=e.a2,d=e.a3,_=e.aj},e=>{m=e.I},e=>{v=e.c,j=e.T},e=>{f=e.d},null,null,null,null,null],execute:function(){const a={class:"h-500px"},k=t({__name:"log",props:{log:{}},setup(e){const l=e,{log:t}=n(l);return(e,l)=>{const n=s;return u(),o("div",a,[c(n,{log:r(t)},null,8,["log"])])}}});e("default",t({__name:"index",props:{data:{}},setup(e){const{t:a}=g(),s=e,{data:t}=n(s),o=i(""),x=i("backup"),b=i(),h=[{key:"backup",label:a("Config.Backup.index_91"),component:k,data:{log:p((()=>o.value))}},{key:"restore",label:a("Config.Backup.index_92"),component:k,data:{log:p((()=>o.value))},show:0!==t.value.restore_status}],w=()=>{R()},{loading:B,setLoading:C}=f(),R=async()=>{try{C(!0);const{message:e}=await m({timestamp:t.value.timestamp,type:x.value});v(e)&&(o.value=e.result)}finally{C(!1)}};return R(),(e,a)=>{const s=l,t=j;return u(),y(t,{show:r(B)},{default:d((()=>[c(s,{class:"p-16px",value:r(x),"onUpdate:value":[a[0]||(a[0]=e=>_(x)?x.value=e:null),w],ref_key:"tabsRef",ref:b,options:h},null,8,["value"])])),_:1},8,["show"])}}}))}}}));
