System.register(["./index-legacy102.js?v=1753954525509","./index-legacy101.js?v=1753954525509","./vue-legacy.js?v=1753954525509","./utils-legacy.js?v=1753954525509","./page_layout-legacy.js?v=1753954525509","./public-legacy.js?v=1753954525509","./naive-legacy.js?v=1753954525509","./common-legacy.js?v=1753954525509","./__commonjsHelpers__-legacy.js?v=1753954525509","./soft-legacy.js?v=1753954525509"],(function(e,a){"use strict";var l,s,t,n,u,o,c,r,g,p,i,y,d,_,m,v,f,j;return{setters:[e=>{l=e._},e=>{s=e._},e=>{t=e.k,n=e.ad,u=e.U,o=e.V,c=e.Q,r=e.X,g=e.P,p=e.r,i=e.c,y=e.a1,d=e.a2,_=e.ah},e=>{m=e.I},e=>{v=e.c,f=e.O},e=>{j=e.c},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=p(""),x=p("backup"),b=p(),h=[{key:"backup",label:a("Config.Backup.index_91"),component:k,data:{log:i((()=>o.value))}},{key:"restore",label:a("Config.Backup.index_92"),component:k,data:{log:i((()=>o.value))},show:0!==t.value.restore_status}],w=()=>{U()},{loading:B,setLoading:C}=j(),U=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 U(),(e,a)=>{const s=l,t=f;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"])}}}))}}}));
