System.register(["./index-legacy107.js?v=1764233927359","./index-legacy104.js?v=1764233927359","./vue-legacy.js?v=1764233927359","./utils-legacy.js?v=1764233927359","./page_layout-legacy.js?v=1764233927359","./public-legacy.js?v=1764233927359","./naive-legacy.js?v=1764233927359","./common-legacy.js?v=1764233927359","./__commonjsHelpers__-legacy.js?v=1764233927359","./soft-legacy.js?v=1764233927359","./site-legacy.js?v=1764233927359"],function(e,a){"use strict";var l,s,t,n,u,o,c,r,g,i,p,y,d,_,m,v,f,j;return{setters:[e=>{l=e._},e=>{s=e._},e=>{t=e.k,n=e.af,u=e.R,o=e.V,c=e.W,r=e.U,g=e.P,i=e.r,p=e.c,y=e.a2,d=e.a3,_=e.ak},e=>{m=e.I},e=>{v=e.T,f=e.d},e=>{j=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 o(),u("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),u=i(""),x=i("backup"),b=i(),h=[{key:"backup",label:a("Config.Backup.index_91"),component:k,data:{log:p(()=>u.value)}},{key:"restore",label:a("Config.Backup.index_92"),component:k,data:{log:p(()=>u.value)},show:0!==t.value.restore_status}],w=()=>{R()},{loading:B,setLoading:C}=j(),R=async()=>{try{C(!0);const{message:e}=await m({timestamp:t.value.timestamp,type:x.value});f(e)&&(u.value=e.result)}finally{C(!1)}};return R(),(e,a)=>{const s=l,t=v;return o(),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"])}}}))}}});
