← Back
Editing: index-legacy98.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(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return n};var r,n={},o=Object.prototype,i=o.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},l=c.iterator||"@@iterator",u=c.asyncIterator||"@@asyncIterator",s=c.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(r){f=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,i=Object.create(o.prototype),c=new T(n||[]);return a(i,"_invoke",{value:S(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}n.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",g="completed",m={};function b(){}function w(){}function x(){}var L={};f(L,l,(function(){return this}));var _=Object.getPrototypeOf,k=_&&_(_(D([])));k&&k!==o&&i.call(k,l)&&(L=k);var j=x.prototype=b.prototype=Object.create(L);function E(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function O(e,r){function n(o,a,c,l){var u=p(e[o],e,a);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==t(f)&&i.call(f,"__await")?r.resolve(f.__await).then((function(t){n("next",t,c,l)}),(function(t){n("throw",t,c,l)})):r.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return n("throw",t,c,l)}))}l(u.arg)}var o;a(this,"_invoke",{value:function(t,e){function i(){return new r((function(r,o){n(t,e,r,o)}))}return o=o?o.then(i,i):i()}})}function S(t,e,n){var o=y;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:r,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var l=N(c,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=p(t,e,n);if("normal"===u.type){if(o=n.done?g:v,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=g,n.method="throw",n.arg=u.arg)}}}function N(t,e){var n=e.method,o=t.iterator[n];if(o===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=r,N(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=p(o,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,m;var a=i.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,m):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,m)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function G(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function D(e){if(e||""===e){var n=e[l];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function t(){for(;++o<e.length;)if(i.call(e,o))return t.value=e[o],t.done=!1,t;return t.value=r,t.done=!0,t};return a.next=a}}throw new TypeError(t(e)+" is not iterable")}return w.prototype=x,a(j,"constructor",{value:x,configurable:!0}),a(x,"constructor",{value:w,configurable:!0}),w.displayName=f(x,s,"GeneratorFunction"),n.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},n.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,x):(t.__proto__=x,f(t,s,"GeneratorFunction")),t.prototype=Object.create(j),t},n.awrap=function(t){return{__await:t}},E(O.prototype),f(O.prototype,u,(function(){return this})),n.AsyncIterator=O,n.async=function(t,e,r,o,i){void 0===i&&(i=Promise);var a=new O(h(t,e,r,o),i);return n.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(j),f(j,s,"Generator"),f(j,l,(function(){return this})),f(j,"toString",(function(){return"[object Generator]"})),n.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},n.values=D,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(G),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,o){return c.type="throw",c.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),G(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;G(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:D(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),m}},n}function r(t,e,r,n,o,i,a){try{var c=t[i](a),l=c.value}catch(t){return void r(t)}c.done?e(l):Promise.resolve(l).then(n,o)}System.register(["./index-legacy106.js?v=VERSION_NUMBER","./index-legacy107.js?v=VERSION_NUMBER","./utils-lib-legacy.js?v=VERSION_NUMBER","./ali-bind-user-legacy.js?v=VERSION_NUMBER","./tencent-bind-user-legacy.js?v=VERSION_NUMBER","./base-lib-legacy.js?v=VERSION_NUMBER","./index-legacy104.js?v=VERSION_NUMBER","./index-legacy100.js?v=VERSION_NUMBER","./useController-legacy.js?v=VERSION_NUMBER","./__commonjsHelpers__-legacy.js?v=VERSION_NUMBER","./bt_logo_new-legacy.js?v=VERSION_NUMBER"],(function(t,n){"use strict";var o,i,a,c,l,u,s,f,h,p,y,v,d,g,m,b,w,x,L,_,k,j,E,O;return{setters:[function(t){o=t.default},function(t){i=t._},function(t){a=t.u,c=t.d,l=t.C,u=t.e},function(t){s=t.default},function(t){f=t.default},function(t){h=t.c,p=t.r,y=t.n,v=t.p,d=t.v,g=t.x,m=t.M,b=t.C,w=t.N,x=t.y,L=t.B,_=t.e,k=t.A,j=t.K,E=t.q,O=t.ax},null,null,null,null,null],execute:function(){var n={key:3,class:"list-disc help-text-info -ml-7rem"},S={key:4},N=h({__name:"index",setup:function(t){var u=a(),h=u.mainHeight,N=u.forceLtd,P=u.aliyunEcsLtd,G=p(!0),T=p("bind"),D=p({client:0,login:0}),F=p("div"),C=function(t){T.value=t},I=function(){var t,n=(t=e().mark((function t(){var r,n,o;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,l();case 3:if(!(r=t.sent).status){t.next=21;break}if(0===(null===(n=r.data)||void 0===n?void 0:n.login)){t.next=18;break}D.value.client=r.data.client,D.value.login=r.data.login,t.t0=null===(o=r.data)||void 0===o?void 0:o.client,t.next=1===t.t0?11:2===t.t0?13:15;break;case 11:return F.value=f,t.abrupt("break",15);case 13:return F.value=s,t.abrupt("break",15);case 15:G.value=!1,t.next=19;break;case 18:G.value=!0;case 19:t.next=22;break;case 21:G.value=!0;case 22:t.next=27;break;case 24:t.prev=24,t.t1=t.catch(0),G.value=!0;case 27:case"end":return t.stop()}}),t,null,[[0,24]])})),function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function c(t){r(a,o,i,c,l,"next",t)}function l(t){r(a,o,i,c,l,"throw",t)}c(void 0)}))});return function(){return n.apply(this,arguments)}}();return y((function(){I()})),v((function(){localStorage.clear(),sessionStorage.clear()})),function(t,e){var r=i,a=o;return E(),d("div",{class:"flex flex-col items-center mt-[4%]",style:j({"min-height":g(h)-200+"px"})},[g(N)?(E(),m(r,{key:0,class:"w-[44rem]",closable:!1,type:"warning",title:"注意事项:当前面板为企业版,绑定账号后,无法随意解绑或切换账号,绑定成功会赠送14天免费企业版授权。"})):b("",!0),g(G)?(E(),m(a,{key:1,class:"w-[44rem]",compData:{title:"绑定宝塔官网账号",btn:"登录"}})):b("",!0),g(G)||g(P)?b("",!0):(E(),m(w(g(F)),{key:2,class:"w-[44rem]",compData:{title:"绑定宝塔官网账号",btn:"登录",authData:g(D),onChangeType:C,isDialog:!1}},null,8,["compData"])),"bind"!==g(T)||g(P)?b("",!0):(E(),d("ul",n,[e[2]||(e[2]=x("li",null,"为了您能更好的体验面板功能,请先绑定堡塔账号;",-1)),e[3]||(e[3]=x("li",null,"单个宝塔帐号支持多台服务器绑定;",-1)),e[4]||(e[4]=x("li",null,"绑定帐号没有接管服务器的功能权限,请放心使用;",-1)),e[5]||(e[5]=x("li",null,"帐号绑定过程中遇到问题请联系客服处理;",-1)),e[6]||(e[6]=x("li",null,"客服电话:0769-23030556",-1)),x("li",null,[e[1]||(e[1]=L(" 客服咨询: ")),_(g(O),{placement:"bottom",width:"150",trigger:"hover","popper-class":"white-tips-popover",class:"inline-block relative leading-[2.4rem]"},{reference:k((function(){return e[0]||(e[0]=[x("span",{class:"bt-link"},"查看二维码",-1)])})),default:k((function(){return[_(g(c),{width:"150",src:"/other/customer-qrcode.png",alt:"客服咨询"})]})),_:1})])])),"other"!==g(T)||g(P)?b("",!0):(E(),d("li",S,[e[8]||(e[8]=L(" 如果遇到问题,请联系客服处理: ")),_(g(O),{placement:"bottom",width:"150",trigger:"hover","popper-class":"white-tips-popover",class:"inline-block relative leading-[2.4rem]"},{reference:k((function(){return e[7]||(e[7]=[x("span",{class:"bt-link"},"查看二维码",-1)])})),default:k((function(){return[_(g(c),{width:"150",src:"/other/customer-qrcode.png",alt:"客服咨询"})]})),_:1})]))],4)}}});t("default",u(N,[["__scopeId","data-v-7e103634"]]))}}}))}();
Save File
Cancel