File: /www/server/panel/BTPanel/static/js/index-legacy57.js
!function(){function e(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,r,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",u=o.toStringTag||"@@toStringTag";function c(e,o,i,u){var c=o&&o.prototype instanceof a?o:a,s=Object.create(c.prototype);return n(s,"_invoke",function(e,n,o){var i,u,c,a=0,s=o||[],f=!1,d={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(e,n){return i=e,u=0,c=t,d.n=n,l}};function p(e,n){for(u=e,c=n,r=0;!f&&a&&!o&&r<s.length;r++){var o,i=s[r],p=d.p,y=i[2];e>3?(o=y===n)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=t):i[0]<=p&&((o=e<2&&p<i[1])?(u=0,d.v=n,d.n=i[1]):p<y&&(o=e<3||i[0]>n||n>y)&&(i[4]=e,i[5]=n,d.n=y,u=0))}if(o||e>1)return l;throw f=!0,n}return function(o,s,y){if(a>1)throw TypeError("Generator is already running");for(f&&1===s&&p(s,y),u=s,c=y;(r=u<2?t:c)||!f;){i||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(a=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=t}else if((r=(f=d.n<0)?c:e.call(n,d))!==l)break}catch(r){i=t,u=1,c=r}finally{a=1}}return{value:r,done:f}}}(e,i,u),!0),s}var l={};function a(){}function s(){}function f(){}r=Object.getPrototypeOf;var d=[][i]?r(r([][i]())):(n(r={},i,function(){return this}),r),p=f.prototype=a.prototype=Object.create(d);function y(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,n(e,u,"GeneratorFunction")),e.prototype=Object.create(p),e}return s.prototype=f,n(p,"constructor",f),n(f,"constructor",s),s.displayName="GeneratorFunction",n(f,u,"GeneratorFunction"),n(p),n(p,u,"Generator"),n(p,i,function(){return this}),n(p,"toString",function(){return"[object Generator]"}),(e=function(){return{w:c,m:y}})()}function n(e,t,r,o){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}n=function(e,t,r,o){function u(t,r){n(e,t,function(e){return this._invoke(t,r,e)})}t?i?i(e,t,{value:r,enumerable:!o,configurable:!o,writable:!o}):e[t]=r:(u("next",0),u("throw",1),u("return",2))},n(e,t,r,o)}function t(e,n,t,r,o,i,u){try{var c=e[i](u),l=c.value}catch(e){return void t(e)}c.done?n(l):Promise.resolve(l).then(r,o)}function r(e){return function(){var n=this,r=arguments;return new Promise(function(o,i){var u=e.apply(n,r);function c(e){t(u,o,i,c,l,"next",e)}function l(e){t(u,o,i,c,l,"throw",e)}c(void 0)})}}System.register(["./utils-lib-legacy.js?v=1777008528","./index-legacy192.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./useStore-legacy8.js?v=1777008528","./firewall-legacy.js?v=1777008528","./useMethod-legacy7.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./index-legacy3.js?v=1777008528","./index-legacy119.js?v=1777008528","./index-legacy116.js?v=1777008528"],function(n,t){"use strict";var o,i,u,c,l,a,s,f,d,p,y,v,g,m,b,w,h,j,_;return{setters:[function(e){o=e._,i=e.k,u=e.cR},function(e){c=e._},function(e){l=e.c,a=e.r,s=e.H,f=e.o,d=e.j,p=e.k,y=e.p,v=e.q,g=e.e,m=e.Q,b=e.C,w=e.ap},function(e){h=e.g},function(e){j=e.f},function(e){_=e.g},null,null,null,null],execute:function(){var x={key:0,class:"flex flex-col"},S={class:"tab-header-operate"};n("default",l({__name:"index",setup:function(n){var l=h().refs.reinforceStatus,P=a({}),O=a("reinforceConfig"),k=s({title:"系统加固-功能介绍",ps:"提供灵活的系统加固功能,防止系统被植入木马,支持服务器日志审计功能",source:102,desc:["阻止系统被植入木马","加固系统安全配置"],tabImgs:[{title:"防护配置",imgSrc:"https://www.bt.cn/Public/new/plugin/introduce/firewall/system_1.png"},{title:"封锁IP",imgSrc:"https://www.bt.cn/Public/new/plugin/introduce/firewall/system_2.png"},{title:"操作日志",imgSrc:"https://www.bt.cn/Public/new/plugin/introduce/firewall/system_3.png"}],isInstall:!1,productSrc:"https://www.bt.cn/bbs/thread-127057-1-1.html",pluginInfo:{}}),I=[{label:"防护配置",name:"reinforceConfig",lazy:!0,render:function(){return o(function(){return t.import("./index-legacy247.js?v=1777008528")},void 0,t.meta.url)}},{label:"封锁IP",lazy:!0,name:"reinforceBlockIp",render:function(){return o(function(){return t.import("./index-legacy248.js?v=1777008528")},void 0,t.meta.url)}},{label:"操作日志",lazy:!0,name:"reinforceLog",render:function(){return o(function(){return t.import("./index-legacy249.js?v=1777008528")},void 0,t.meta.url)}}],G=function(){var n=r(e().m(function n(t){return e().w(function(e){for(;;)switch(e.n){case 0:return l.value=!t,e.n=1,i({loading:"正在"+(t?"开启":"关闭")+"系统加固,请稍后...",request:j(),message:!0});case 1:l.value=t;case 2:return e.a(2)}},n)}));return function(e){return n.apply(this,arguments)}}();return f(r(e().m(function n(){return e().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,_("syssafe");case 1:P.value=e.v,k.isInstall=P.value.endtime>=0,k.pluginInfo=P.value;case 2:return e.a(2)}},n)}))),function(e,n){var t,r,o=w,i=u,a=c;return d(),p("div",null,[null!==(t=y(P))&&void 0!==t&&t.setup&&(null===(r=y(P))||void 0===r?void 0:r.endtime)>=0?(d(),p("div",x,[v("div",S,[n[2]||(n[2]=v("div",{class:"mr-4"},"系统加固开关",-1)),v("div",null,[g(o,{modelValue:y(l),"onUpdate:modelValue":n[0]||(n[0]=function(e){return m(l)?l.value=e:null}),width:36,onChange:G},null,8,["modelValue"])])]),g(i,{type:"card",modelValue:y(O),"onUpdate:modelValue":n[1]||(n[1]=function(e){return m(O)?O.value=e:null}),options:I},null,8,["modelValue"])])):(d(),b(a,{key:1,data:y(k),class:"px-[20%] py-[2rem]"},null,8,["data"]))])}}}))}}})}();