!function(){function t(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var n,r,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",u=o.toStringTag||"@@toStringTag";function c(t,o,i,u){var c=o&&o.prototype instanceof s?o:s,l=Object.create(c.prototype);return e(l,"_invoke",function(t,e,o){var i,u,c,s=0,l=o||[],f=!1,p={p:0,n:0,v:n,a:y,f:y.bind(n,4),d:function(t,e){return i=t,u=0,c=n,p.n=e,a}};function y(t,e){for(u=t,c=e,r=0;!f&&s&&!o&&r<l.length;r++){var o,i=l[r],y=p.p,d=i[2];t>3?(o=d===e)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=n):i[0]<=y&&((o=t<2&&y<i[1])?(u=0,p.v=e,p.n=i[1]):y<d&&(o=t<3||i[0]>e||e>d)&&(i[4]=t,i[5]=e,p.n=d,u=0))}if(o||t>1)return a;throw f=!0,e}return function(o,l,d){if(s>1)throw TypeError("Generator is already running");for(f&&1===l&&y(l,d),u=l,c=d;(r=u<2?n:c)||!f;){i||(u?u<3?(u>1&&(p.n=-1),y(u,c)):p.n=c:p.v=c);try{if(s=2,i){if(u||(o="next"),r=i[o]){if(!(r=r.call(i,c)))throw TypeError("iterator result is not an object");if(!r.done)return r;c=r.value,u<2&&(u=0)}else 1===u&&(r=i.return)&&r.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=n}else if((r=(f=p.n<0)?c:t.call(e,p))!==a)break}catch(r){i=n,u=1,c=r}finally{s=1}}return{value:r,done:f}}}(t,i,u),!0),l}var a={};function s(){}function l(){}function f(){}r=Object.getPrototypeOf;var p=[][i]?r(r([][i]())):(e(r={},i,function(){return this}),r),y=f.prototype=s.prototype=Object.create(p);function d(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,e(t,u,"GeneratorFunction")),t.prototype=Object.create(y),t}return l.prototype=f,e(y,"constructor",f),e(f,"constructor",l),l.displayName="GeneratorFunction",e(f,u,"GeneratorFunction"),e(y),e(y,u,"Generator"),e(y,i,function(){return this}),e(y,"toString",function(){return"[object Generator]"}),(t=function(){return{w:c,m:d}})()}function e(t,n,r,o){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}e=function(t,n,r,o){function u(n,r){e(t,n,function(t){return this._invoke(n,r,t)})}n?i?i(t,n,{value:r,enumerable:!o,configurable:!o,writable:!o}):t[n]=r:(u("next",0),u("throw",1),u("return",2))},e(t,n,r,o)}function n(t,e,n,r,o,i,u){try{var c=t[i](u),a=c.value}catch(t){return void n(t)}c.done?e(a):Promise.resolve(a).then(r,o)}System.register(["./utils-lib-legacy.js?v=1761009159","./index-legacy105.js?v=1761009159","./base-lib-legacy.js?v=1761009159","./useMethod-legacy5.js?v=1761009159","./useController-legacy5.js?v=1761009159","./column-legacy.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159","./validator-legacy.js?v=1761009159","./index-legacy106.js?v=1761009159","./site-legacy.js?v=1761009159","./useStore-legacy4.js?v=1761009159","./useController-legacy6.js?v=1761009159"],function(e,r){"use strict";var o,i,u,c,a,s,l,f,p,y,d,v,h,g,m,b,j;return{setters:[function(t){o=t.an,i=t.P,u=t.ao,c=t.$},function(t){a=t._},function(t){s=t.s,l=t.c,f=t.v,p=t.x,y=t.e,d=t.B,v=t.z,h=t.y},function(t){g=t.n,m=t.o},function(t){b=t.u},function(t){j=t.u},null,null,null,null,null,null],execute:function(){s(b());var r=function(){var e,r=(e=t().m(function e(n){var r,o;return t().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,t.n=1,g();case 1:return r=t.v,o=r.data.msg,t.a(2,{data:o,total:0});case 2:return t.p=2,t.v,t.a(2,{data:[],total:0})}},e,null,[[0,2]])}),function(){var t=this,r=arguments;return new Promise(function(o,i){var u=e.apply(t,r);function c(t){n(u,o,i,c,a,"next",t)}function a(t){n(u,o,i,c,a,"throw",t)}c(void 0)})});return function(t){return r.apply(this,arguments)}}(),_={class:"p-[2rem]"};e("default",l({__name:"index",setup:function(t){var e=s(b()).isRefreshMigrateSiteList,n=o({request:function(t){return r()},columns:[{label:"网站名",minWidth:180,isCustom:!0,prop:"name"},j([{title:"迁移站点",width:100,onClick:function(t){i({loading:"迁移中，请稍候...",message:!0,request:m({site_id:t.id}),success:function(t){t.status&&(e.value=!0)}})}}])],extension:[u(e)]}),l=n.BtTable,g=(n.BtPage,n.BtRecommendSearch);n.BtRefresh,n.BtColumn,n.BtBatch,n.BtTableCategory,n.BtErrorMask,n.tableRef,n.classList,n.refresh,n.config;return function(t,e){var n=a,r=c;return f(),p("div",_,[y(n,null,{"header-left":d(function(){return e[0]||(e[0]=[v("div",{class:"flex flex-col"},[v("div",{class:"text-secondary"},"* 迁移后无法将WordPress网站恢复到网站")],-1)])}),"header-right":d(function(){return[y(h(g),{type:"remote-wp",placeholder:"请输入域名",class:"!w-[270px] mr-[10px]"})]}),content:d(function(){return[y(h(l),{"min-height":200})]}),_:1}),y(r,{options:[{content:"迁移后，您将能够在WP工具包中管理WordPress网站，但是您将无法继续在网站中管理WordPress网站！"}],style:{"list-style":"disc"}})])}}}))}}})}();
