!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",i=o.toStringTag||"@@toStringTag";function c(n,o,u,i){var c=o&&o.prototype instanceof l?o:l,f=Object.create(c.prototype);return t(f,"_invoke",function(n,t,o){var u,i,c,l=0,f=o||[],s=!1,p={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(n,t){return u=n,i=0,c=e,p.n=t,a}};function d(n,t){for(i=n,c=t,r=0;!s&&l&&!o&&r<f.length;r++){var o,u=f[r],d=p.p,y=u[2];n>3?(o=y===t)&&(c=u[(i=u[4])?5:(i=3,3)],u[4]=u[5]=e):u[0]<=d&&((o=n<2&&d<u[1])?(i=0,p.v=t,p.n=u[1]):d<y&&(o=n<3||u[0]>t||t>y)&&(u[4]=n,u[5]=t,p.n=y,i=0))}if(o||n>1)return a;throw s=!0,t}return function(o,f,y){if(l>1)throw TypeError("Generator is already running");for(s&&1===f&&d(f,y),i=f,c=y;(r=i<2?e:c)||!s;){u||(i?i<3?(i>1&&(p.n=-1),d(i,c)):p.n=c:p.v=c);try{if(l=2,u){if(i||(o="next"),r=u[o]){if(!(r=r.call(u,c)))throw TypeError("iterator result is not an object");if(!r.done)return r;c=r.value,i<2&&(i=0)}else 1===i&&(r=u.return)&&r.call(u),i<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),i=1);u=e}else if((r=(s=p.n<0)?c:n.call(t,p))!==a)break}catch(r){u=e,i=1,c=r}finally{l=1}}return{value:r,done:s}}}(n,u,i),!0),f}var a={};function l(){}function f(){}function s(){}r=Object.getPrototypeOf;var p=[][u]?r(r([][u]())):(t(r={},u,function(){return this}),r),d=s.prototype=l.prototype=Object.create(p);function y(n){return Object.setPrototypeOf?Object.setPrototypeOf(n,s):(n.__proto__=s,t(n,i,"GeneratorFunction")),n.prototype=Object.create(d),n}return f.prototype=s,t(d,"constructor",s),t(s,"constructor",f),f.displayName="GeneratorFunction",t(s,i,"GeneratorFunction"),t(d),t(d,i,"Generator"),t(d,u,function(){return this}),t(d,"toString",function(){return"[object Generator]"}),(n=function(){return{w:c,m:y}})()}function t(n,e,r,o){var u=Object.defineProperty;try{u({},"",{})}catch(n){u=0}t=function(n,e,r,o){function i(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:(i("next",0),i("throw",1),i("return",2))},t(n,e,r,o)}function e(n,t,e,r,o,u,i){try{var c=n[u](i),a=c.value}catch(n){return void e(n)}c.done?t(a):Promise.resolve(a).then(r,o)}System.register(["./index-legacy105.js?v=1761009159","./utils-lib-legacy.js?v=1761009159","./base-lib-legacy.js?v=1761009159","./index-legacy103.js?v=1761009159","./column-legacy.js?v=1761009159","./validator-legacy.js?v=1761009159","./index-legacy319.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159","./index-legacy106.js?v=1761009159","./store-legacy5.js?v=1761009159"],function(t,r){"use strict";var o,u,i,c,a,l,f,s,p,d,y,v,h,m,g,_,b,j,w,x,O;return{setters:[function(n){o=n._},function(n){u=n.p,i=n.M,c=n.l},function(n){a=n.c,l=n.s,f=n.r,s=n.H,p=n.v,d=n.N,y=n.B,v=n.e,h=n.y,m=n.Q,g=n.C,_=n.I,b=n.G},function(n){j=n._},function(n){w=n.u},function(n){x=n.f},function(n){O=n.H},null,null,null],execute:function(){t("default",a({__name:"exclude-path",setup:function(t){var r,a,G=O(),T=l(G).malwareData,k=G.setMalwareConfig,P=f(!1),S=f(""),C=f([{prop:"name",label:"路径",showOverflowTooltip:!0,minWidth:690},w([{title:"删除",onClick:(r=n().m(function t(e){return n().w(function(n){for(;;)switch(n.n){case 0:return n.n=1,u({title:"删除排除目录",content:"是否删除【"+e.name+"】？删除后，该目录将不再被排除"});case 1:return n.n=2,k({delete_exclude_path:e.name});case 2:return n.a(2)}},t)}),a=function(){var n=this,t=arguments;return new Promise(function(o,u){var i=r.apply(n,t);function c(n){e(i,o,u,c,a,"next",n)}function a(n){e(i,o,u,c,a,"throw",n)}c(void 0)})},function(n){return a.apply(this,arguments)})}])]),E=function(){return S.value?"/"===S.value?i.error("不能添加全盘路径"):(k({add_exclude_path:S.value}),void(S.value="")):i.error("请输入或选择目录路径")},F=function(){x({type:"dir",path:S.value,change:function(n){S.value=n}})};return function(n,t){var e=j,r=b,u=c,i=o,a=s("bt-loading");return p(),d(i,null,{"header-left":y(function(){return[v(e,{class:"mr-[12px]",modelValue:h(S),"onUpdate:modelValue":t[0]||(t[0]=function(n){return m(S)?S.value=n:null}),icon:"el-folder-opened",onIconClick:F,width:"32rem",placeholder:"请填写或选择目录路径"},null,8,["modelValue"]),v(r,{type:"primary",onClick:E},{default:y(function(){return t[1]||(t[1]=[g(" 添加 ",-1)])}),_:1,__:[1]})]}),content:y(function(){return[_(v(u,{"max-height":"370",column:h(C),data:h(T).exclude_dirs},null,8,["column","data"]),[[a,h(P)]])]}),_:1})}}}))}}})}();
