!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 e,r,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.toStringTag||"@@toStringTag";function u(t,o,a,i){var u=o&&o.prototype instanceof s?o:s,f=Object.create(u.prototype);return n(f,"_invoke",function(t,n,o){var a,i,u,s=0,f=o||[],l=!1,p={p:0,n:0,v:e,a:y,f:y.bind(e,4),d:function(t,n){return a=t,i=0,u=e,p.n=n,c}};function y(t,n){for(i=t,u=n,r=0;!l&&s&&!o&&r<f.length;r++){var o,a=f[r],y=p.p,v=a[2];t>3?(o=v===n)&&(u=a[(i=a[4])?5:(i=3,3)],a[4]=a[5]=e):a[0]<=y&&((o=t<2&&y<a[1])?(i=0,p.v=n,p.n=a[1]):y<v&&(o=t<3||a[0]>n||n>v)&&(a[4]=t,a[5]=n,p.n=v,i=0))}if(o||t>1)return c;throw l=!0,n}return function(o,f,v){if(s>1)throw TypeError("Generator is already running");for(l&&1===f&&y(f,v),i=f,u=v;(r=i<2?e:u)||!l;){a||(i?i<3?(i>1&&(p.n=-1),y(i,u)):p.n=u:p.v=u);try{if(s=2,a){if(i||(o="next"),r=a[o]){if(!(r=r.call(a,u)))throw TypeError("iterator result is not an object");if(!r.done)return r;u=r.value,i<2&&(i=0)}else 1===i&&(r=a.return)&&r.call(a),i<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),i=1);a=e}else if((r=(l=p.n<0)?u:t.call(n,p))!==c)break}catch(r){a=e,i=1,u=r}finally{s=1}}return{value:r,done:l}}}(t,a,i),!0),f}var c={};function s(){}function f(){}function l(){}r=Object.getPrototypeOf;var p=[][a]?r(r([][a]())):(n(r={},a,function(){return this}),r),y=l.prototype=s.prototype=Object.create(p);function v(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,n(t,i,"GeneratorFunction")),t.prototype=Object.create(y),t}return f.prototype=l,n(y,"constructor",l),n(l,"constructor",f),f.displayName="GeneratorFunction",n(l,i,"GeneratorFunction"),n(y),n(y,i,"Generator"),n(y,a,function(){return this}),n(y,"toString",function(){return"[object Generator]"}),(t=function(){return{w:u,m:v}})()}function n(t,e,r,o){var a=Object.defineProperty;try{a({},"",{})}catch(t){a=0}n=function(t,e,r,o){function i(e,r){n(t,e,function(t){return this._invoke(e,r,t)})}e?a?a(t,e,{value:r,enumerable:!o,configurable:!o,writable:!o}):t[e]=r:(i("next",0),i("throw",1),i("return",2))},n(t,e,r,o)}function e(t,n,e,r,o,a,i){try{var u=t[a](i),c=u.value}catch(t){return void e(t)}u.done?n(c):Promise.resolve(c).then(r,o)}function r(t){return function(){var n=this,r=arguments;return new Promise(function(o,a){var i=t.apply(n,r);function u(t){e(i,o,a,u,c,"next",t)}function c(t){e(i,o,a,u,c,"throw",t)}u(void 0)})}}System.register(["./ssl-legacy.js?v=1761009159","./utils-lib-legacy.js?v=1761009159","./base-lib-legacy.js?v=1761009159","./useStore-legacy10.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159"],function(n,e){"use strict";var o,a,i,u,c,s,f,l,p,y,v;return{setters:[function(t){o=t.W,a=t.X},function(t){i=t.an,u=t.P},function(t){c=t.c,s=t.t,f=t.e,l=t.v,p=t.x,y=t.y},function(t){v=t.g},null],execute:function(){var e={class:"p-[16px]"};n("default",c({__name:"index",props:{compData:{type:Object,default:function(){return{}}}},setup:function(n){var c=v().refs.isRefreshDomainList,d=s(n.compData).row,m=function(){var n=r(t().m(function n(e){var r,o;return t().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,t.n=1,a({fun_name:"get_domain_list",dns_id:d.value.id});case 1:return r=t.v,o=r.data,t.a(2,{data:o.data,total:o.total});case 2:return t.p=2,t.v,t.a(2,{data:[],total:0})}},n,null,[[0,2]])}));return function(t){return n.apply(this,arguments)}}(),h=i({request:m,columns:[{label:"域名",prop:"name"},{label:"操作",align:"right",width:55,render:function(t){return f("span",{class:t.sync?"text-primary cursor-pointer":"text-tertiary cursor-not-allowed",onClick:function(){return t.sync&&_(t)}},[t.sync?"同步":"已同步"])}}]}),b=h.BtTable,g=(h.BtPage,h.BtRefresh,h.BtTableCategory,h.BtRecommendSearch,h.BtColumn,h.BtBatch,h.BtErrorMask,h.refresh),_=function(){var n=r(t().m(function n(e){return t().w(function(t){for(;;)switch(t.n){case 0:u({loading:"同步中...",request:o({dns_id:d.value.id,domain_name:e.name}),message:!0,success:function(){g(),c.value=!0}});case 1:return t.a(2)}},n)}));return function(t){return n.apply(this,arguments)}}();return function(t,n){return l(),p("div",e,[f(y(b))])}}}))}}})}();
