const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["js/result.js?v=1764830988434","js/public.js?v=1764830988434","js/page_layout.js?v=1764830988434","js/vue.js?v=1764830988434","js/__commonjsHelpers__.js?v=1764830988434","js/naive.js?v=1764830988434","js/common.js?v=1764830988434","css/page_layout.css?v=1764830988434","css/public.css?v=1764830988434"])))=>i.map(i=>d[i]);
import{x as e,a as t}from"./page_layout.js?v=1764830988434";import{_ as s}from"./index.vue_vue_type_script_setup_true_lang5.js?v=1764830988434";import{c as i,d as a,_ as p,h as r,a as n,u as o}from"./public.js?v=1764830988434";import{u as l,m as _,f as u}from"./index85.js?v=1764830988434";import{da as m,aC as d}from"./naive.js?v=1764830988434";import{k as j,P as c,R as x,V as g,W as y,a3 as f,S as v,a4 as h,U as k,ak as b,an as w,j as P,_ as R}from"./vue.js?v=1764830988434";import"./common.js?v=1764830988434";import"./__commonjsHelpers__.js?v=1764830988434";import"./index.vue_vue_type_script_setup_true_lang6.js?v=1764830988434";import"./index133.js?v=1764830988434";import"./index.js?v=1764830988434";import"./index.vue_vue_type_script_setup_true_lang7.js?v=1764830988434";import"./index.vue_vue_type_script_setup_true_lang9.js?v=1764830988434";import"./index.vue_vue_type_script_setup_true_lang8.js?v=1764830988434";import"./index131.js?v=1764830988434";import"./php.js?v=1764830988434";import"./soft.js?v=1764830988434";import"./site.js?v=1764830988434";import"./site4.js?v=1764830988434";import"./index.vue_vue_type_script_setup_true_lang13.js?v=1764830988434";import"./index246.js?v=1764830988434";import"./index97.js?v=1764830988434";import"./index107.js?v=1764830988434";import"./index.vue_vue_type_script_setup_true_lang.js?v=1764830988434";import"./index.vue_vue_type_script_setup_true_lang10.js?v=1764830988434";import"./index96.js?v=1764830988434";import"./index98.js?v=1764830988434";import"./theme-monokai.js?v=1764830988434";import"./file.js?v=1764830988434";import"./refersh.js?v=1764830988434";import"./index.vue_vue_type_script_setup_true_lang16.js?v=1764830988434";import"./index102.js?v=1764830988434";import"./ssl.js?v=1764830988434";import"./cert.js?v=1764830988434";import"./ssl-lets-progress.js?v=1764830988434";import"./utils3.js?v=1764830988434";import"./index218.js?v=1764830988434";import"./paypal-js.js?v=1764830988434";import"./upload.js?v=1764830988434";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()=>{n({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)&&o({title:L("Public.Table.Result"),width:480,data:{message:i},component:R(()=>t(()=>import("./result.js?v=1764830988434"),__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=d,a=m,n=p,o=r,l=s;return g(),x("div",S,[y(l,null,{toolsLeft:f(()=>[y(a,{class:"flex-nowrap!","items-center":""},{default:f(()=>[y(i,{type:"primary",disabled:!k($).length,onClick:A},{default:f(()=>[P(h(e.$t("Site.TableOP.index_8")),1)]),_:1},8,["disabled"]),k(C).data.length?w("",!0):(g(),x("span",W,h(e.$t("WP.index_30")),1))]),_:1}),y(n,null,{default:f(()=>[v("span",null,h(e.$t("WP.index_31")),1)]),_:1})]),table:f(()=>[y(o,{"checked-row-keys":k($),"onUpdate:checkedRowKeys":t[0]||(t[0]=e=>b($)?$.value=e:null),loading:k(D),"loading-num":3,"max-height":340,data:k(C).data,columns:k(O)},null,8,["checked-row-keys","loading","data","columns"])]),pageLeft:f(()=>[y(n,null,{default:f(()=>[v("li",null,h(e.$t("WP.index_29")),1),t[1]||(t[1]=v("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};
