File: /www/server/panel/BTPanel/static/js/useOtherController-legacy.js
!function(){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function r(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?e(Object(o),!0).forEach(function(e){n(t,e,o[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))})}return t}function n(e,r,n){return(r=function(e){var r=function(e,r){if("object"!=t(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,r||"default");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==t(r)?r:r+""}(r))in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,e,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",u=r.toStringTag||"@@toStringTag";function c(r,n,o,u){var c=n&&n.prototype instanceof l?n:l,s=Object.create(c.prototype);return i(s,"_invoke",function(r,n,o){var i,u,c,l=0,s=o||[],f=!1,p={p:0,n:0,v:t,a:y,f:y.bind(t,4),d:function(e,r){return i=e,u=0,c=t,p.n=r,a}};function y(r,n){for(u=r,c=n,e=0;!f&&l&&!o&&e<s.length;e++){var o,i=s[e],y=p.p,b=i[2];r>3?(o=b===n)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=t):i[0]<=y&&((o=r<2&&y<i[1])?(u=0,p.v=n,p.n=i[1]):y<b&&(o=r<3||i[0]>n||n>b)&&(i[4]=r,i[5]=n,p.n=b,u=0))}if(o||r>1)return a;throw f=!0,n}return function(o,s,b){if(l>1)throw TypeError("Generator is already running");for(f&&1===s&&y(s,b),u=s,c=b;(e=u<2?t:c)||!f;){i||(u?u<3?(u>1&&(p.n=-1),y(u,c)):p.n=c:p.v=c);try{if(l=2,i){if(u||(o="next"),e=i[o]){if(!(e=e.call(i,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,u<2&&(u=0)}else 1===u&&(e=i.return)&&e.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=t}else if((e=(f=p.n<0)?c:r.call(n,p))!==a)break}catch(e){i=t,u=1,c=e}finally{l=1}}return{value:e,done:f}}}(r,o,u),!0),s}var a={};function l(){}function s(){}function f(){}e=Object.getPrototypeOf;var p=[][n]?e(e([][n]())):(i(e={},n,function(){return this}),e),y=f.prototype=l.prototype=Object.create(p);function b(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,i(t,u,"GeneratorFunction")),t.prototype=Object.create(y),t}return s.prototype=f,i(y,"constructor",f),i(f,"constructor",s),s.displayName="GeneratorFunction",i(f,u,"GeneratorFunction"),i(y),i(y,u,"Generator"),i(y,n,function(){return this}),i(y,"toString",function(){return"[object Generator]"}),(o=function(){return{w:c,m:b}})()}function i(t,e,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}i=function(t,e,r,n){function u(e,r){i(t,e,function(t){return this._invoke(e,r,t)})}e?o?o(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n}):t[e]=r:(u("next",0),u("throw",1),u("return",2))},i(t,e,r,n)}function u(t,e,r,n,o,i,u){try{var c=t[i](u),a=c.value}catch(t){return void r(t)}c.done?e(a):Promise.resolve(a).then(n,o)}function c(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var i=t.apply(e,r);function c(t){u(i,n,o,c,a,"next",t)}function a(t){u(i,n,o,c,a,"throw",t)}c(void 0)})}}System.register(["./site-legacy.js?v=1777008528","./index-legacy110.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./useController-legacy15.js?v=1777008528","./useStore-legacy12.js?v=1777008528"],function(t,e){"use strict";var n,i,u,a,l,s,f,p,y,b,v;return{setters:[function(t){n=t.editAgainVerify},function(t){i=t._},function(t){u=t.B,a=t.P},function(t){l=t.r,s=t.e,f=t.C},function(t){p=t.Z,y=t._},function(t){b=t.u,v=t.S}],execute:function(){var e=b().certVerifyInfo,d=v().verifyBusCertEvent,g=(t("o",function(){var t=c(o().m(function t(r){var i,u;return o().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,i={oid:e.value.oid,dcvMethod:r.value.dcvMethod,pid:e.value.pid,cert_ssl_type:e.value.certType},t.n=1,a({loading:"正在更改验证方式,请稍后...",request:n(i),message:!0});case 1:return null!=(u=t.v)&&u.status&&g(i.oid,i.cert_ssl_type,i.pid),t.a(2,u.status);case 2:return t.p=2,t.v,t.a(2,!1)}},t,null,[[0,2]])}));return function(e){return t.apply(this,arguments)}}()),function(){var t=c(o().m(function t(e,n,i){var u,c;return o().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,d(e,n,i);case 1:u=t.v,(c=u.data)&&y(r(r({},c),{},{cert_ssl_type:n,certType:n,pid:i}));case 2:return t.a(2)}},t)}));return function(e,r,n){return t.apply(this,arguments)}}());t("t",l([{label:"URL",prop:"url",showOverflowTooltip:!0},{label:"验证结果",prop:"status",width:100,render:function(t){return 1==t.status?s("span",{class:"text-primary"},[f("通过")]):s("span",{class:"text-[red] flex item-center"},[s("span",null,[f("失败["),t.status,f("]")]),s("a",{href:"https://www.bt.cn/bbs/thread-56802-1-1.html",target:"_blank",class:"svgtofont-el-question-filled text-warning ml-[2px]"},null)])}},{label:"操作",align:"right",width:160,render:function(t,e){return s("div",{class:"flex items-center justify-end"},[s("span",{class:"cursor-pointer bt-link",onClick:function(){return u({value:t.url})}},[f("复制")]),s(i,null,null),s("a",{class:"bt-link",href:t.url,target:"_blank"},[f("打开")]),s(i,null,null),s("span",{class:"cursor-pointer bt-link",onClick:function(){return p(t,e)}},[f("重新验证")])])}}]))}}})}();