!function(){function n(){/*! 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:{},u=o.iterator||"@@iterator",c=o.toStringTag||"@@toStringTag";function i(n,o,u,c){var i=o&&o.prototype instanceof l?o:l,s=Object.create(i.prototype);return t(s,"_invoke",function(n,t,o){var u,c,i,l=0,s=o||[],f=!1,p={p:0,n:0,v:e,a:y,f:y.bind(e,4),d:function(n,t){return u=n,c=0,i=e,p.n=t,a}};function y(n,t){for(c=n,i=t,r=0;!f&&l&&!o&&r<s.length;r++){var o,u=s[r],y=p.p,m=u[2];n>3?(o=m===t)&&(i=u[(c=u[4])?5:(c=3,3)],u[4]=u[5]=e):u[0]<=y&&((o=n<2&&y<u[1])?(c=0,p.v=t,p.n=u[1]):y<m&&(o=n<3||u[0]>t||t>m)&&(u[4]=n,u[5]=t,p.n=m,c=0))}if(o||n>1)return a;throw f=!0,t}return function(o,s,m){if(l>1)throw TypeError("Generator is already running");for(f&&1===s&&y(s,m),c=s,i=m;(r=c<2?e:i)||!f;){u||(c?c<3?(c>1&&(p.n=-1),y(c,i)):p.n=i:p.v=i);try{if(l=2,u){if(c||(o="next"),r=u[o]){if(!(r=r.call(u,i)))throw TypeError("iterator result is not an object");if(!r.done)return r;i=r.value,c<2&&(c=0)}else 1===c&&(r=u.return)&&r.call(u),c<2&&(i=TypeError("The iterator does not provide a '"+o+"' method"),c=1);u=e}else if((r=(f=p.n<0)?i:n.call(t,p))!==a)break}catch(r){u=e,c=1,i=r}finally{l=1}}return{value:r,done:f}}}(n,u,c),!0),s}var a={};function l(){}function s(){}function f(){}r=Object.getPrototypeOf;var p=[][u]?r(r([][u]())):(t(r={},u,function(){return this}),r),y=f.prototype=l.prototype=Object.create(p);function m(n){return Object.setPrototypeOf?Object.setPrototypeOf(n,f):(n.__proto__=f,t(n,c,"GeneratorFunction")),n.prototype=Object.create(y),n}return s.prototype=f,t(y,"constructor",f),t(f,"constructor",s),s.displayName="GeneratorFunction",t(f,c,"GeneratorFunction"),t(y),t(y,c,"Generator"),t(y,u,function(){return this}),t(y,"toString",function(){return"[object Generator]"}),(n=function(){return{w:i,m:m}})()}function t(n,e,r,o){var u=Object.defineProperty;try{u({},"",{})}catch(n){u=0}t=function(n,e,r,o){function c(e,r){t(n,e,function(n){return this._invoke(e,r,n)})}e?u?u(n,e,{value:r,enumerable:!o,configurable:!o,writable:!o}):n[e]=r:(c("next",0),c("throw",1),c("return",2))},t(n,e,r,o)}function e(n,t,e,r,o,u,c){try{var i=n[u](c),a=i.value}catch(n){return void e(n)}i.done?t(a):Promise.resolve(a).then(r,o)}function r(n){return function(){var t=this,r=arguments;return new Promise(function(o,u){var c=n.apply(t,r);function i(n){e(c,o,u,i,a,"next",n)}function a(n){e(c,o,u,i,a,"throw",n)}i(void 0)})}}System.register(["./utils-lib-legacy.js?v=1761009159","./index-legacy105.js?v=1761009159","./base-lib-legacy.js?v=1761009159","./column-legacy.js?v=1761009159","./firewall-legacy.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159","./index-legacy106.js?v=1761009159"],function(t,e){"use strict";var o,u,c,i,a,l,s,f,p,y,m,v,d,h,b,g,_,j,w,x,O;return{setters:[function(n){o=n.P,u=n.k,c=n.l,i=n.$},function(n){a=n._},function(n){l=n.c,s=n.r,f=n.q,p=n.v,y=n.x,m=n.e,v=n.B,d=n.y,h=n.Q,b=n.C,g=n.V,_=n.G},function(n){j=n.u},function(n){w=n.bz,x=n.bA,O=n.bB},null,null],execute:function(){var e={class:"px-[1.6rem] py-[1.6rem]"};t("default",l({__name:"row-process",setup:function(t){var l=s([]),G=s(""),P=s([{content:"【进程名称】请填写完整的进程名称,如: mysqld"},{content:"【说明】在白名单列表中的进程将不再检测范围,建议将常用软件的进程添加进白名单"}]),k=function(){var t=r(n().m(function t(){return n().w(function(n){for(;;)switch(n.n){case 0:o({loading:"正在获取进程列表，请稍后...",request:w(),data:[Array,l]});case 1:return n.a(2)}},t)}));return function(){return t.apply(this,arguments)}}(),S=function(){var t=r(n().m(function t(){return n().w(function(n){for(;;)switch(n.n){case 0:o({loading:"正在添加进程，请稍后...",request:x({process_name:G.value}),message:!0,success:function(n){n.status&&(k(),G.value="")}});case 1:return n.a(2)}},t)}));return function(){return t.apply(this,arguments)}}(),T=function(){var t=r(n().m(function t(e){return n().w(function(n){for(;;)switch(n.n){case 0:o({loading:"正在删除进程，请稍后...",request:O({process_name:e}),message:!0,success:function(n){n.status&&k()}});case 1:return n.a(2)}},t)}));return function(n){return t.apply(this,arguments)}}(),q=g([{label:"进程名称",prop:"processName",render:function(n,t){return m("span",null,[n])}},j([{title:"删除",onClick:T}])]);return f(function(){return k()}),function(n,t){var r=u,o=_,s=c,f=a,g=i;return p(),y("div",e,[m(f,null,{"header-left":v(function(){return[m(r,{modelValue:d(G),"onUpdate:modelValue":t[0]||(t[0]=function(n){return h(G)?G.value=n:null}),placeholder:"请输入完整的进程名称"},null,8,["modelValue"]),m(o,{class:"ml-1rem",type:"primary",onClick:S},{default:v(function(){return t[1]||(t[1]=[b(" 添加进程 ",-1)])}),_:1,__:[1]})]}),content:v(function(){return[m(s,{"max-height":400,ref:"table",column:d(q),data:d(l)},null,8,["column","data"])]}),_:1}),m(g,{options:d(P),class:"mx-[1.6rem] mt-[1.6rem]"},null,8,["options"])])}}}))}}})}();
