-
Notifications
You must be signed in to change notification settings - Fork 450
/
Copy path045f76.31.min.js
1 lines (1 loc) · 23.4 KB
/
045f76.31.min.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[31],{1648:function(e,a,l){"use strict";var r,t,n=l(0),u=l.n(n);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var l=arguments[a];for(var r in l)Object.prototype.hasOwnProperty.call(l,r)&&(e[r]=l[r])}return e}).apply(this,arguments)}a.a=function(e){return u.a.createElement("svg",c({width:12,height:11,fill:"none"},e),r||(r=u.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 .667C4 .298 4.298 0 4.667 0h2c.368 0 .666.298.666.667v.166a.5.5 0 00.5.5H10.8c.187 0 .28 0 .351.037a.333.333 0 01.146.145c.036.072.036.165.036.352v.266c0 .187 0 .28-.036.352a.333.333 0 01-.146.145c-.071.037-.164.037-.351.037h-.3a.5.5 0 00-.5.5v6.5a.667.667 0 01-.667.666H2a.667.667 0 01-.667-.666v-6.5a.5.5 0 00-.5-.5h-.3c-.186 0-.28 0-.351-.037a.333.333 0 01-.146-.145C0 2.413 0 2.32 0 2.133v-.266c0-.187 0-.28.036-.352a.333.333 0 01.146-.145c.071-.037.165-.037.351-.037H3.5a.5.5 0 00.5-.5V.667zM3.667 5c0-.184.149-.333.333-.333h.667C4.85 4.667 5 4.816 5 5v2.667C5 7.85 4.85 8 4.667 8H4a.333.333 0 01-.333-.333V5zm2.666 0c0-.184.15-.333.334-.333h.666c.184 0 .334.149.334.333v2.667c0 .184-.15.333-.334.333h-.666a.333.333 0 01-.334-.333V5z",fill:"#4E5969"})),u.a.createElement("mask",{id:"trash-can_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:0,width:12,height:11},t||(t=u.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 .667C4 .298 4.298 0 4.667 0h2c.368 0 .666.298.666.667v.666H10.8c.187 0 .28 0 .351.037a.333.333 0 01.146.145c.036.072.036.165.036.352v.266c0 .187 0 .28-.036.352a.333.333 0 01-.146.145c-.071.037-.164.037-.351.037H10v7a.667.667 0 01-.667.666H2a.667.667 0 01-.667-.666v-7h-.8c-.186 0-.28 0-.351-.037a.333.333 0 01-.146-.145C0 2.413 0 2.32 0 2.133v-.266c0-.187 0-.28.036-.352a.333.333 0 01.146-.145c.071-.037.165-.037.351-.037H4V.667zM3.667 5c0-.184.149-.333.333-.333h.667C4.85 4.667 5 4.816 5 5v2.667C5 7.85 4.85 8 4.667 8H4a.333.333 0 01-.333-.333V5zm2.666 0c0-.184.15-.333.334-.333h.666c.184 0 .334.149.334.333v2.667c0 .184-.15.333-.334.333h-.666a.333.333 0 01-.334-.333V5z",fill:"#fff"}))))}},1649:function(e,a,l){"use strict";var r,t,n=l(0),u=l.n(n);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var l=arguments[a];for(var r in l)Object.prototype.hasOwnProperty.call(l,r)&&(e[r]=l[r])}return e}).apply(this,arguments)}a.a=function(e){return u.a.createElement("svg",c({width:12,height:12,fill:"none"},e),r||(r=u.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.333 1.466c0-.368.299-.666.667-.666h2c.368 0 .667.298.667.666v.167a.5.5 0 00.5.5h2.966c.187 0 .28 0 .352.036a.334.334 0 01.145.146c.037.071.037.165.037.351v.267c0 .187 0 .28-.037.351a.334.334 0 01-.145.146c-.072.036-.165.036-.352.036h-.3a.5.5 0 00-.5.5v6.5a.667.667 0 01-.666.667H2.333a.667.667 0 01-.666-.666v-6.5a.5.5 0 00-.5-.5h-.3c-.187 0-.28 0-.352-.037a.333.333 0 01-.145-.146c-.037-.07-.037-.164-.037-.35v-.268c0-.186 0-.28.037-.35a.333.333 0 01.145-.147c.072-.036.165-.036.352-.036h2.966a.5.5 0 00.5-.5v-.167zM4 5.8c0-.184.15-.334.333-.334H5c.184 0 .333.15.333.334v2.666c0 .185-.149.334-.333.334h-.667A.333.333 0 014 8.466V5.8zm2.667 0c0-.184.149-.334.333-.334h.667c.184 0 .333.15.333.334v2.666c0 .185-.15.334-.333.334H7a.333.333 0 01-.333-.334V5.8z",fill:"#C9CDD4"})),u.a.createElement("mask",{id:"trash-can-disabled_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:0,width:12,height:12},t||(t=u.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.333 1.466c0-.368.299-.666.667-.666h2c.368 0 .667.298.667.666v.667h3.466c.187 0 .28 0 .352.036a.334.334 0 01.145.146c.037.071.037.165.037.351v.267c0 .187 0 .28-.037.351a.334.334 0 01-.145.146c-.072.036-.165.036-.352.036h-.8v7a.667.667 0 01-.666.667H2.333a.667.667 0 01-.666-.666v-7h-.8c-.187 0-.28 0-.352-.037a.333.333 0 01-.145-.146c-.037-.07-.037-.164-.037-.35v-.268c0-.186 0-.28.037-.35a.333.333 0 01.145-.147c.072-.036.165-.036.352-.036h3.466v-.667zM4 5.8c0-.184.15-.334.333-.334H5c.184 0 .333.15.333.334v2.666c0 .185-.149.334-.333.334h-.667A.333.333 0 014 8.466V5.8zm2.667 0c0-.184.149-.334.333-.334h.667c.184 0 .333.15.333.334v2.666c0 .185-.15.334-.333.334H7a.333.333 0 01-.333-.334V5.8z",fill:"#fff"}))))}},1704:function(e,a,l){"use strict";l.d(a,"j",(function(){return r})),l.d(a,"i",(function(){return t})),l.d(a,"h",(function(){return c})),l.d(a,"e",(function(){return m})),l.d(a,"g",(function(){return i})),l.d(a,"d",(function(){return o})),l.d(a,"a",(function(){return b})),l.d(a,"c",(function(){return s})),l.d(a,"b",(function(){return N})),l.d(a,"f",(function(){return f}));var r,t,n=l(54),u=l(12);!function(e){e.inspected="INSPECTED",e.attached="ATTACHED",e.waitAttach="WAIT_ATTACH",e.closing="CLOSING",e.waitInspect="WAIT_INSPECT"}(r||(r={})),function(e){e.Golang="Golang",e.Python="CPython",e.Java="JVM",e.NodeJS="NodeJS",e.Php="PHP"}(t||(t={}));var c=function(e){var a=e.params;return Object(n.b)({method:"get",url:"/api/v6/rasp/GetRaspStatistics",params:a},Object(u.g)("获取RASP统计信息"))},m=function(e){var a=e.data,l=e.params;return Object(n.b)({method:"post",url:"/api/v6/rasp/GetRaspProcessList",data:a,params:l},Object(u.g)("获取rasp列表"))},i=function(e){var a=e.data;return Object(n.b)({method:"post",url:"/api/v6/rasp/GetRaspProcessDetail",data:a},Object(u.g)("获取主机漏洞基本信息"))},o=function(e){var a=e.data,l=e.params;return Object(n.b)({method:"post",url:"/api/v6/rasp/GetConfigList",data:a,params:l},Object(u.g)("获取RASP配置列表"))},b=function(e){var a=e.data;return Object(n.b)({method:"post",url:"/api/v6/rasp/NewConfig",data:a},Object(u.g)("新建配置"),!0)},s=function(e){var a=e.data;return Object(n.b)({method:"post",url:"/api/v6/rasp/EditConfig",data:a},Object(u.g)("编辑配置"),!0)},N=function(e){var a=e.data;return Object(n.b)({method:"post",url:"/api/v6/rasp/DelConfig",data:a},Object(u.g)("删除配置"),!0)},f=function(){return Object(n.b)({method:"get",url:"/api/v6/rasp/GetRaspMethodMap"},Object(u.g)("获取函数列表"))}},1776:function(e,a,l){e.exports={"add-util":"add-util-95fd99b6e7",add:"add-412bea641c","add-tips-one":"add-tips-one-70c92f4df6","add-tips-two":"add-tips-two-f807d778e1"}},490:function(e,a,l){"use strict";l.r(a);l(225);var r,t=l(127),n=(l(1337),l(1338)),u=l(1581),c=(l(1394),l(1401)),m=(l(1544),l(546)),i=l(1580),o=(l(197),l(117)),b=l(10),s=l.n(b),N=l(28),f=l.n(N),d=l(50),_=l.n(d),p=(l(1357),l(1365)),v=(l(600),l(198)),h=(l(806),l(199)),g=l(603),E=l.n(g),O=l(16),y=l.n(O),j=l(0),w=l.n(j),k=l(604),C=(l(116),l(42)),x=l(168),I=l(115),P=l.n(I),R=l(12),A=l(1776),H=l.n(A),z="/opt/tiger/compile_path/src/code.byted.org/biz-platform/hids/src/components/common/form-list-add-btn/index.tsx",S=P.a.bind(H.a),T=function(e){var a,l=e.fields,r=e.limit,t=e.onAdd,n=e.label;return w.a.createElement("div",{__source:{fileName:z,lineNumber:25,columnNumber:5}},!r||(null==l?void 0:l.length)<r?w.a.createElement("div",{className:S("add-util"),__source:{fileName:z,lineNumber:27,columnNumber:9}},w.a.createElement("div",{className:S("add"),onClick:function(){t()},__source:{fileName:z,lineNumber:28,columnNumber:11}},w.a.createElement(C.a,{type:"primary",icon:w.a.createElement(x.a,{__source:{fileName:z,lineNumber:34,columnNumber:42}}),size:"mini",__source:{fileName:z,lineNumber:34,columnNumber:13}}),w.a.createElement("span",{className:S("add-tips-one"),__source:{fileName:z,lineNumber:35,columnNumber:13}},Object(R.g)("新增{label}",{label:n}))),!!r&&w.a.createElement("span",{className:S("add-tips-two"),__source:{fileName:z,lineNumber:39,columnNumber:13}},Object(R.g)("还可新增{placeholder1}个{label}",{placeholder1:r-(null!==(a=null==l?void 0:l.length)&&void 0!==a?a:0),label:n}))):null)},V=(l(162),l(67)),M=l(1648),L=l(1649),q="/opt/tiger/compile_path/src/code.byted.org/biz-platform/hids/src/components/common/form-list-delete-btn/index.tsx",D=function(e){var a=e.fields,l=e.limit,r=e.onRemove,t=e.label;return w.a.createElement("span",{style:{height:"32px",lineHeight:"32px",marginLeft:"16px"},__source:{fileName:q,lineNumber:21,columnNumber:5}},!l||(null==a?void 0:a.length)>l?w.a.createElement(V.a,{content:"".concat(Object(R.g)("删除{label}",{label:t})),getPopupContainer:function(){var e;return null===(e=document.getElementsByTagName("body"))||void 0===e?void 0:e[0]},__source:{fileName:q,lineNumber:23,columnNumber:9}},w.a.createElement(M.a,{style:{cursor:"pointer"},onClick:r,__source:{fileName:q,lineNumber:27,columnNumber:11}})):w.a.createElement(V.a,{content:"".concat(Object(R.g)("至少保留{limit}个{label}",{limit:l,label:t})),getPopupContainer:function(){var e;return null===(e=document.getElementsByTagName("body"))||void 0===e?void 0:e[0]},__source:{fileName:q,lineNumber:30,columnNumber:9}},w.a.createElement(L.a,{style:{cursor:"not-allowed"},__source:{fileName:q,lineNumber:34,columnNumber:11}})))},G=l(613),J=l(1704),U="/opt/tiger/compile_path/src/code.byted.org/biz-platform/hids/src/pages/rasp-config/rasp-modal/index.tsx";function B(e,a){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);a&&(r=r.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),l.push.apply(l,r)}return l}function F(e){for(var a=1;a<arguments.length;a++){var l=null!=arguments[a]?arguments[a]:{};a%2?B(Object(l),!0).forEach((function(a){s()(e,a,l[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):B(Object(l)).forEach((function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(l,a))}))}return e}var W=Object(k.a)(h.a)(r||(r=E()(["\n .arco-form-label-item {\n flex: unset;\n }\n .arco-form-item-wrapper {\n flex: unset;\n }\n"]))),K=v.a.Option,Q=["Java","Golang","PHP"],X=p.a.TabPane,Y={if_protect:!1,runtime:[],ip_list:[],env_list:[],tag:"",cmd:"",alive_time:10,zuduancanshu:1,guolvcanshu:1};a.default=function(e){var a=e.visible,l=e.type,r=e.data,b=e.raspMethod,s=e.handleConfirm,N=e.handleCancel,d=(l===G.a.add?Object(R.g)("新建配置"):Object(R.g)("编辑配置"),h.a.useForm()),g=_()(d,1)[0];Object(j.useEffect)((function(){a?r&&g.setFieldsValue(r):g.setFieldsValue(Y)}),[a,r]);var E=function(){var e=f()(y.a.mark((function e(){var a;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g.validate();case 2:if(a=e.sent,l!==G.a.add){e.next=8;break}return e.next=6,Object(J.a)({data:a});case 6:e.next=10;break;case 8:return e.next=10,Object(J.c)({data:F(F({},a),{},{id:r.id})});case 10:s();case 11:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),O=function(e){var a,l,r=Object(j.useState)({type:"include",rule:""}),t=_()(r,2),n=t[0],u=t[1];null!=e.value&&(""!==(null===(a=e.value)||void 0===a?void 0:a.type)&&(n.type=e.value.type),""!==(null===(l=e.value)||void 0===l?void 0:l.rule)&&(n.rule=e.value.rule));var c=function(a){var l=F(F({},n),a);u(l),e.onChange&&e.onChange(l)};return w.a.createElement(o.a,{addBefore:w.a.createElement(v.a,{placeholder:"Please select",defaultValue:"include",style:{width:100},value:n.type,onChange:function(e){return c({type:e})},__source:{fileName:U,lineNumber:116,columnNumber:11}},w.a.createElement(v.a.Option,{value:"include",__source:{fileName:U,lineNumber:123,columnNumber:13}},Object(R.g)("包含")),w.a.createElement(v.a.Option,{value:"exclude",__source:{fileName:U,lineNumber:124,columnNumber:13}},Object(R.g)("不包含"))),value:n.rule,onChange:function(e){return c({rule:e})},allowClear:!0,placeholder:Object(R.g)("输入规则正则"),__source:{fileName:U,lineNumber:114,columnNumber:7}})},k=Object(j.useState)([]),C=_()(k,2),x=C[0],I=C[1];return w.a.createElement(G.b,{visible:a,onCancel:N,onOk:E,style:{width:1e3},__source:{fileName:U,lineNumber:147,columnNumber:5}},w.a.createElement(p.a,{defaultActiveTab:"1",__source:{fileName:U,lineNumber:148,columnNumber:7}},w.a.createElement(X,{key:"1",title:w.a.createElement("span",{__source:{fileName:U,lineNumber:152,columnNumber:13}},w.a.createElement(i.a,{style:{marginRight:6},__source:{fileName:U,lineNumber:153,columnNumber:15}}),Object(R.g)("常规配置")),__source:{fileName:U,lineNumber:149,columnNumber:9}},w.a.createElement(W,{form:g,colon:!1,labelAlign:"right",labelCol:R.d?{span:6}:{span:4},wrapperCol:R.d?{span:18}:{span:20},__source:{fileName:U,lineNumber:158,columnNumber:11}},w.a.createElement(h.a.Item,{field:"tag",label:Object(R.g)("搜索"),shouldUpdate:!0,__source:{fileName:U,lineNumber:165,columnNumber:13}},(function(e){return w.a.createElement(o.a,{style:{width:"300px"},__source:{fileName:U,lineNumber:167,columnNumber:24}})})),w.a.createElement(h.a.Item,{label:Object(R.g)("主机IP"),rules:[{required:!1}],__source:{fileName:U,lineNumber:171,columnNumber:13}},w.a.createElement(h.a.List,{field:"ip_list",__source:{fileName:U,lineNumber:172,columnNumber:15}},(function(e,a){var l=a.add,r=a.remove;return w.a.createElement("div",{__source:{fileName:U,lineNumber:175,columnNumber:21}},e.map((function(a,l){return w.a.createElement("div",{key:a.key,style:{display:"flex"},__source:{fileName:U,lineNumber:178,columnNumber:27}},w.a.createElement(h.a.Item,{field:a.field,rules:[{required:!1}],__source:{fileName:U,lineNumber:179,columnNumber:29}},w.a.createElement(o.a,{style:{width:R.d?400:444},__source:{fileName:U,lineNumber:180,columnNumber:31}})),w.a.createElement(D,{fields:e,onRemove:function(){r(l)},label:"IP",__source:{fileName:U,lineNumber:183,columnNumber:29}}))})),w.a.createElement(T,{fields:e,onAdd:l,label:"ip",__source:{fileName:U,lineNumber:193,columnNumber:23}}))}))),w.a.createElement(h.a.Item,{field:"cmd",label:Object(R.g)("进程命令行"),__source:{fileName:U,lineNumber:199,columnNumber:13}},w.a.createElement(o.a,{style:{width:R.d?140:114},__source:{fileName:U,lineNumber:200,columnNumber:15}})),w.a.createElement(h.a.Item,{field:"alive_time",label:Object(R.g)("探针存活时间"),rules:[{type:"number"}],__source:{fileName:U,lineNumber:202,columnNumber:13}},w.a.createElement(m.a,{style:{width:R.d?140:114},__source:{fileName:U,lineNumber:207,columnNumber:15}})),w.a.createElement(h.a.Item,{label:Object(R.g)("环境变量"),rules:[{required:!1}],__source:{fileName:U,lineNumber:210,columnNumber:13}},w.a.createElement(h.a.List,{field:"env_list",__source:{fileName:U,lineNumber:211,columnNumber:15}},(function(e,a){var l=a.add,r=a.remove;return w.a.createElement("div",{__source:{fileName:U,lineNumber:214,columnNumber:21}},e.map((function(a,l){return w.a.createElement("div",{key:a.key,style:{display:"flex"},__source:{fileName:U,lineNumber:217,columnNumber:27}},w.a.createElement(h.a.Item,{field:a.field,rules:[{required:!1}],__source:{fileName:U,lineNumber:218,columnNumber:29}},w.a.createElement(o.a,{style:{width:R.d?400:444},__source:{fileName:U,lineNumber:219,columnNumber:31}})),w.a.createElement(D,{fields:e,onRemove:function(){r(l)},label:Object(R.g)("环境变量"),__source:{fileName:U,lineNumber:222,columnNumber:29}}))})),w.a.createElement(T,{fields:e,onAdd:l,label:Object(R.g)("环境变量"),__source:{fileName:U,lineNumber:232,columnNumber:23}}))}))),w.a.createElement(h.a.Item,{field:"runtime",label:Object(R.g)("运行时类型"),__source:{fileName:U,lineNumber:239,columnNumber:13}},w.a.createElement(v.a,{mode:"multiple",placeholder:Object(R.g)("选择运行时"),style:{width:345},allowClear:!0,__source:{fileName:U,lineNumber:240,columnNumber:15}},Q.map((function(e){return w.a.createElement(K,{key:e,value:e,__source:{fileName:U,lineNumber:247,columnNumber:19}},e)})))),w.a.createElement(h.a.Item,{field:"if_protect",label:Object(R.g)("是否自动注入"),shouldUpdate:!0,__source:{fileName:U,lineNumber:254,columnNumber:13}},(function(e){return w.a.createElement(c.a,{size:"small",checked:!!e.if_protect,onChange:function(){var a=f()(y.a.mark((function a(l){return y.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:e.if_protect=l;case 1:case"end":return a.stop()}}),a)})));return function(e){return a.apply(this,arguments)}}(),style:{marginLeft:"8px"},__source:{fileName:U,lineNumber:257,columnNumber:19}})})))),w.a.createElement(X,{key:"2",title:w.a.createElement("span",{__source:{fileName:U,lineNumber:273,columnNumber:13}},w.a.createElement(u.a,{style:{marginRight:6},__source:{fileName:U,lineNumber:274,columnNumber:15}}),Object(R.g)("阻断配置")),__source:{fileName:U,lineNumber:270,columnNumber:9}},w.a.createElement(h.a,{form:g,colon:!1,labelAlign:"right",labelCol:R.d?{span:6}:{span:4},wrapperCol:R.d?{span:18}:{span:20},__source:{fileName:U,lineNumber:279,columnNumber:11}},w.a.createElement(h.a.Item,{label:Object(R.g)("阻断策略"),rules:[{required:!1}],__source:{fileName:U,lineNumber:286,columnNumber:13}},w.a.createElement(h.a.List,{field:"block",__source:{fileName:U,lineNumber:287,columnNumber:15}},(function(e,a){var l=a.add,r=a.remove;return w.a.createElement("div",{__source:{fileName:U,lineNumber:290,columnNumber:21}},e.map((function(a,l){return w.a.createElement("div",{key:a.key,style:{display:"flex"},__source:{fileName:U,lineNumber:293,columnNumber:27}},w.a.createElement(h.a.Item,{label:"".concat(Object(R.g)("策略 {placeholder1}",{placeholder1:l+1})),__source:{fileName:U,lineNumber:294,columnNumber:29}},w.a.createElement(t.a,{direction:"vertical",__source:{fileName:U,lineNumber:297,columnNumber:31}},w.a.createElement(h.a.Item,{field:a.field,rules:[{required:!1}],__source:{fileName:U,lineNumber:298,columnNumber:33}},w.a.createElement(n.a,{__source:{fileName:U,lineNumber:299,columnNumber:35}},Object(R.g)("阻断设置"))),w.a.createElement(h.a.Item,{field:"".concat(a.field,".runtime"),label:Object(R.g)("运行时类型"),__source:{fileName:U,lineNumber:301,columnNumber:33}},w.a.createElement(v.a,{placeholder:Object(R.g)("选择运行时"),allowClear:!0,onChange:function(){var e=f()(y.a.mark((function e(a){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:I(b[a]);case 1:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}(),__source:{fileName:U,lineNumber:305,columnNumber:35}},Q.map((function(e){return w.a.createElement(K,{key:e,value:e,__source:{fileName:U,lineNumber:313,columnNumber:39}},e)})))),w.a.createElement(h.a.Item,{field:"".concat(a.field,".hook_func"),label:Object(R.g)("选择hook函数"),__source:{fileName:U,lineNumber:319,columnNumber:33}},w.a.createElement(v.a,{mode:"multiple",placeholder:Object(R.g)("搜索函数"),allowClear:!0,__source:{fileName:U,lineNumber:323,columnNumber:35}},x.map((function(e){return w.a.createElement(K,{key:e,value:e,__source:{fileName:U,lineNumber:329,columnNumber:39}},e)})))),w.a.createElement(h.a.Item,{field:"".concat(a.field,".hook_param"),label:Object(R.g)("选择hook参数"),__source:{fileName:U,lineNumber:335,columnNumber:33}},w.a.createElement(m.a,{mode:"button",min:0,max:10,style:{width:R.d?300:344},__source:{fileName:U,lineNumber:339,columnNumber:35}})),w.a.createElement(h.a.List,{field:"".concat(a.field,".rules"),__source:{fileName:U,lineNumber:347,columnNumber:33}},(function(e,a){var l=a.add,r=a.remove;return w.a.createElement("div",{__source:{fileName:U,lineNumber:350,columnNumber:39}},e.map((function(a,l){return w.a.createElement("div",{key:a.key,style:{display:"flex"},__source:{fileName:U,lineNumber:353,columnNumber:45}},w.a.createElement(h.a.Item,{field:a.field,rules:[{required:!1}],__source:{fileName:U,lineNumber:354,columnNumber:47}},w.a.createElement(O,{__source:{fileName:U,lineNumber:358,columnNumber:49}})),w.a.createElement(D,{fields:e,onRemove:function(){r(l)},label:Object(R.g)("规则"),__source:{fileName:U,lineNumber:360,columnNumber:47}}))})),w.a.createElement(T,{fields:e,onAdd:l,label:Object(R.g)("规则"),__source:{fileName:U,lineNumber:370,columnNumber:41}}))})))),w.a.createElement(D,{fields:e,onRemove:function(){r(l)},label:Object(R.g)("阻断策略"),__source:{fileName:U,lineNumber:382,columnNumber:29}}))})),w.a.createElement(T,{fields:e,onAdd:l,label:Object(R.g)("策略"),__source:{fileName:U,lineNumber:392,columnNumber:23}}))}))))),w.a.createElement(X,{key:"3",title:w.a.createElement("span",{__source:{fileName:U,lineNumber:404,columnNumber:13}},w.a.createElement(u.a,{style:{marginRight:6},__source:{fileName:U,lineNumber:405,columnNumber:15}}),Object(R.g)("过滤配置")),__source:{fileName:U,lineNumber:401,columnNumber:9}},w.a.createElement(h.a,{form:g,colon:!1,labelAlign:"right",labelCol:R.d?{span:6}:{span:4},wrapperCol:R.d?{span:18}:{span:20},__source:{fileName:U,lineNumber:410,columnNumber:11}},w.a.createElement(h.a.Item,{label:Object(R.g)("过滤策略"),rules:[{required:!1}],__source:{fileName:U,lineNumber:417,columnNumber:13}},w.a.createElement(h.a.List,{field:"filter",__source:{fileName:U,lineNumber:418,columnNumber:15}},(function(e,a){var l=a.add,r=a.remove;return w.a.createElement("div",{__source:{fileName:U,lineNumber:421,columnNumber:21}},e.map((function(a,l){return w.a.createElement("div",{key:a.key,style:{display:"flex"},__source:{fileName:U,lineNumber:424,columnNumber:27}},w.a.createElement(h.a.Item,{label:"".concat(Object(R.g)("策略 {placeholder1}",{placeholder1:l+1})),__source:{fileName:U,lineNumber:425,columnNumber:29}},w.a.createElement(t.a,{direction:"vertical",__source:{fileName:U,lineNumber:428,columnNumber:31}},w.a.createElement(h.a.Item,{field:a.field,rules:[{required:!1}],__source:{fileName:U,lineNumber:429,columnNumber:33}},w.a.createElement(n.a,{__source:{fileName:U,lineNumber:430,columnNumber:35}},Object(R.g)("过滤设置"))),w.a.createElement(h.a.Item,{field:"".concat(a.field,".runtime"),label:Object(R.g)("运行时类型"),__source:{fileName:U,lineNumber:432,columnNumber:33}},w.a.createElement(v.a,{placeholder:Object(R.g)("选择运行时"),allowClear:!0,onChange:function(){var e=f()(y.a.mark((function e(a){return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:I(b[a]);case 1:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}(),__source:{fileName:U,lineNumber:436,columnNumber:35}},Q.map((function(e){return w.a.createElement(K,{key:e,value:e,__source:{fileName:U,lineNumber:444,columnNumber:39}},e)})))),w.a.createElement(h.a.Item,{field:"".concat(a.field,".hook_func"),label:Object(R.g)("选择hook函数"),__source:{fileName:U,lineNumber:450,columnNumber:33}},w.a.createElement(v.a,{mode:"multiple",placeholder:Object(R.g)("搜索函数"),allowClear:!0,__source:{fileName:U,lineNumber:454,columnNumber:35}},x.map((function(e){return w.a.createElement(K,{key:e,value:e,__source:{fileName:U,lineNumber:460,columnNumber:39}},e)})))),w.a.createElement(h.a.Item,{field:"".concat(a.field,".hook_param"),label:Object(R.g)("选择hook参数"),__source:{fileName:U,lineNumber:466,columnNumber:33}},w.a.createElement(m.a,{mode:"button",min:0,max:10,style:{width:R.d?300:344},__source:{fileName:U,lineNumber:470,columnNumber:35}})),w.a.createElement(h.a.List,{field:"".concat(a.field,".rules"),__source:{fileName:U,lineNumber:478,columnNumber:33}},(function(e,a){var l=a.add,r=a.remove;return w.a.createElement("div",{__source:{fileName:U,lineNumber:481,columnNumber:39}},e.map((function(a,l){return w.a.createElement("div",{key:a.key,style:{display:"flex"},__source:{fileName:U,lineNumber:484,columnNumber:45}},w.a.createElement(h.a.Item,{field:a.field,rules:[{required:!1}],__source:{fileName:U,lineNumber:485,columnNumber:47}},w.a.createElement(O,{__source:{fileName:U,lineNumber:489,columnNumber:49}})),w.a.createElement(D,{fields:e,onRemove:function(){r(l)},label:Object(R.g)("规则"),__source:{fileName:U,lineNumber:491,columnNumber:47}}))})),w.a.createElement(T,{fields:e,onAdd:l,label:Object(R.g)("规则"),__source:{fileName:U,lineNumber:501,columnNumber:41}}))})))),w.a.createElement(D,{fields:e,onRemove:function(){r(l)},label:Object(R.g)("过滤策略"),__source:{fileName:U,lineNumber:513,columnNumber:29}}))})),w.a.createElement(T,{fields:e,onAdd:l,label:Object(R.g)("策略"),__source:{fileName:U,lineNumber:523,columnNumber:23}}))})))))))}}}]);