const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/result.js?v=1763625242172","js/public.js?v=1763625242172","js/page_layout.js?v=1763625242172","js/vue.js?v=1763625242172","js/__commonjsHelpers__.js?v=1763625242172","js/naive.js?v=1763625242172","js/common.js?v=1763625242172","css/page_layout.css?v=1763625242172","css/public.css?v=1763625242172"])))=>i.map(i=>d[i]);
import{x as e,a as t}from"./page_layout.js?v=1763625242172";import{_ as s}from"./index.vue_vue_type_script_setup_true_lang5.js?v=1763625242172";import{c as i,d as a,a as p,u as r,_ as n,h as o}from"./public.js?v=1763625242172";import{u as l,m as _,f as u}from"./index87.js?v=1763625242172";import{aC as m,d9 as d}from"./naive.js?v=1763625242172";import{k as j,P as c,R as x,S as g,X as y,a3 as f,V as v,j as h,a4 as k,an as b,U as w,aj as P,_ as R}from"./vue.js?v=1763625242172";import"./common.js?v=1763625242172";import"./__commonjsHelpers__.js?v=1763625242172";import"./index.vue_vue_type_script_setup_true_lang6.js?v=1763625242172";import"./index132.js?v=1763625242172";import"./index.js?v=1763625242172";import"./index.vue_vue_type_script_setup_true_lang7.js?v=1763625242172";import"./index.vue_vue_type_script_setup_true_lang12.js?v=1763625242172";import"./index.vue_vue_type_script_setup_true_lang8.js?v=1763625242172";import"./index130.js?v=1763625242172";import"./php.js?v=1763625242172";import"./soft.js?v=1763625242172";import"./site.js?v=1763625242172";import"./site4.js?v=1763625242172";import"./index.vue_vue_type_script_setup_true_lang15.js?v=1763625242172";import"./index245.js?v=1763625242172";import"./index99.js?v=1763625242172";import"./index107.js?v=1763625242172";import"./index.vue_vue_type_script_setup_true_lang.js?v=1763625242172";import"./index.vue_vue_type_script_setup_true_lang10.js?v=1763625242172";import"./index98.js?v=1763625242172";import"./index100.js?v=1763625242172";import"./theme-monokai.js?v=1763625242172";import"./file.js?v=1763625242172";import"./refersh.js?v=1763625242172";import"./index.vue_vue_type_script_setup_true_lang17.js?v=1763625242172";import"./index104.js?v=1763625242172";import"./ssl.js?v=1763625242172";import"./cert.js?v=1763625242172";import"./ssl-lets-progress.js?v=1763625242172";import"./utils3.js?v=1763625242172";import"./index217.js?v=1763625242172";import"./paypal-js.js?v=1763625242172";import"./upload.js?v=1763625242172";const S={class:"p-20px"},W={key:0},L=j({__name:"index",setup(j){const{t:L}=c(),T=l(),{keys:$,table:C,columns:O}=i([{type:"selection",width:40},{key:"name",title:L("Site.TableRow.index_2"),ellipsis:{tooltip:{width:"trigger"}}},{key:"path",title:L("Site.DelSite.index_2")}]),A=async()=>{p({title:L("WP.index_27"),content:L("WP.index_28"),onConfirm:async({hide:s})=>{const{message:i}=await _({sites_list:JSON.stringify($.value)});e(i)&&r({title:L("Public.Table.Result"),width:480,data:{message:i},component:R((()=>t((()=>import("./result.js?v=1763625242172")),__vite__mapDeps([0,1,2,3,4,5,6,7,8]))))}),U(),T.setRefresh(!0),s()}})},{loading:D,setLoading:E}=a(),U=async()=>{try{E(!0);const{message:t}=await u();e(t)&&(C.data=t)}finally{$.value=[],E(!1)}};return U(),(e,t)=>{const i=m,a=d,p=n,r=o,l=s;return x(),g("div",S,[y(l,null,{toolsLeft:f((()=>[y(a,{class:"flex-nowrap!","items-center":""},{default:f((()=>[y(i,{type:"primary",disabled:!v($).length,onClick:A},{default:f((()=>[h(k(e.$t("Site.TableOP.index_8")),1)])),_:1},8,["disabled"]),v(C).data.length?b("",!0):(x(),g("span",W,k(e.$t("WP.index_30")),1))])),_:1}),y(p,null,{default:f((()=>[w("span",null,k(e.$t("WP.index_31")),1)])),_:1})])),table:f((()=>[y(r,{"checked-row-keys":v($),"onUpdate:checkedRowKeys":t[0]||(t[0]=e=>P($)?$.value=e:null),loading:v(D),"loading-num":3,"max-height":340,data:v(C).data,columns:v(O)},null,8,["checked-row-keys","loading","data","columns"])])),pageLeft:f((()=>[y(p,null,{default:f((()=>[w("li",null,k(e.$t("WP.index_29")),1),t[1]||(t[1]=w("li",null,"After migration, the backup data of the original website will be lost. Please save it carefully.",-1))])),_:1,__:[1]})])),_:1})])}}});export{L as default};
