"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[15],{42767:function(G,x,r){r.d(x,{Z:function(){return s}});var C=r(5574),o=r.n(C),S=r(58125),c=r(55241),L=r(2487),b=r(71230),m=r(7134),p=r(67294),u=r(52043),v=r(15009),g=r.n(v),A=r(97857),f=r.n(A),F=r(99289),D=r.n(F),V=r(40110),T=r(67539),Z=r(55102),U=r(42075),I=r(14726),R=r(17788),z=r(4575),n=r(85893),$=function(e){var a=(0,p.useState)(),O=o()(a,2),N=O[0],K=O[1],B=(0,p.useState)(),w=o()(B,2),k=w[0],X=w[1],Q=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",ellipsis:!0,hideInSearch:!0,filterDropdown:function(i){var l=i.setSelectedKeys,P=i.selectedKeys,_=i.confirm,y=i.clearFilters;return(0,n.jsxs)("div",{style:{padding:8},children:[(0,n.jsx)(Z.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:P[0],onChange:function(h){return l(h.target.value?[h.target.value]:[])},onPressEnter:function(){return _()},style:{marginBottom:8,display:"block"}}),(0,n.jsxs)(U.Z,{children:[(0,n.jsx)(I.ZP,{onClick:function(){return _()},type:"primary",children:"\u641C\u7D22"}),(0,n.jsx)(I.ZP,{onClick:function(){return y&&y()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(i,l){return typeof i=="string"&&typeof(l==null?void 0:l.appName)=="string"?l.appName.includes(i):!1},filterIcon:function(i){return(0,n.jsx)(V.Z,{style:{color:i?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u5E94\u7528\u5305\u540D",dataIndex:"packageName",hideInSearch:!0,ellipsis:!0,filterDropdown:function(i){var l=i.setSelectedKeys,P=i.selectedKeys,_=i.confirm,y=i.clearFilters;return(0,n.jsxs)("div",{style:{padding:8},children:[(0,n.jsx)(Z.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:P[0],onChange:function(h){return l(h.target.value?[h.target.value]:[])},onPressEnter:function(){return _()},style:{marginBottom:8,display:"block"}}),(0,n.jsxs)(U.Z,{children:[(0,n.jsx)(I.ZP,{onClick:function(){return _()},type:"primary",children:"\u641C\u7D22"}),(0,n.jsx)(I.ZP,{onClick:function(){return y&&y()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(i,l){return typeof i=="string"&&typeof(l==null?void 0:l.packageName)=="string"?l.packageName.includes(i):!1},filterIcon:function(i){return(0,n.jsx)(V.Z,{style:{color:i?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}}],H=function(){var j=D()(g()().mark(function i(){var l,P,_,y;return g()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,(0,z.ai)();case 2:l=h.sent,l.data&&(_=[],y=[],(P=e.data.localAppList)===null||P===void 0||P.forEach(function(W){var Y;(Y=l.data)!==null&&Y!==void 0&&Y.some(function(J){return J.packageName===W.packageName})?_.push(f()(f()({},W),{},{evil:!0})):y.push(f()(f()({},W),{},{evil:!1}))}),K([].concat(_,y)),X([].concat(_,y)));case 4:case"end":return h.stop()}},i)}));return function(){return j.apply(this,arguments)}}();return(0,p.useEffect)(function(){H()},[]),(0,n.jsx)(R.Z,{style:{width:600},onCancel:e.onClose,visible:!0,footer:[],children:(0,n.jsx)(T.Z,{onRow:function(i){return{style:{backgroundColor:i.evil?"red":"transparent"}}},search:!1,onReset:function(){X(N)},columns:Q,dataSource:k})})},M=$,t=function(e){var a=(0,p.useState)(!1),O=o()(a,2),N=O[0],K=O[1],B=(0,u.E7)(e.data.env);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(c.Z,{content:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("p",{children:[(0,n.jsx)("label",{children:"\u603B\u6536\u5165\uFF1A"}),(0,S.P)(e.data.income),"\u5143"]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("label",{children:"\u5DF2\u63D0\u73B0\uFF1A"}),(0,S.D)(e.data.realMoney),"\u5143"]}),B.length>0&&(0,n.jsx)(L.Z,{size:"small",header:(0,n.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:B,renderItem:function(k){return(0,n.jsx)(L.Z.Item,{children:k})}}),e.data.localAppList&&e.data.localAppList.length>0&&(0,n.jsxs)("p",{children:[(0,n.jsx)("label",{children:"\u5DF2\u5B89\u88C5\u5E94\u7528\uFF1A"}),e.data.localAppList.length,"\u4E2A",(0,n.jsx)("a",{onClick:function(){K(!0)},style:{marginLeft:20},children:"\u67E5\u770B"})]})]}),children:(0,n.jsxs)(b.Z,{children:[(0,n.jsx)(m.C,{src:e.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,n.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:B.length>0?"red":""},children:["id:",e.data.id,(0,n.jsx)("br",{}),e.data.nickname||e.data.mobile]})]})}),N&&(0,n.jsx)(M,{onClose:function(){K(!1)},data:e.data})]})},s=t},4575:function(G,x,r){r.d(x,{XM:function(){return F},ai:function(){return v},nr:function(){return $},vE:function(){return Z}});var C=r(15009),o=r.n(C),S=r(97857),c=r.n(S),L=r(99289),b=r.n(L),m=r(35312);function p(t,s){return u.apply(this,arguments)}function u(){return u=_asyncToGenerator(_regeneratorRuntime().mark(function t(s,d){return _regeneratorRuntime().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",request("/api/admin/superAdmin/addSchedule",_objectSpread({method:"POST",headers:{"Content-Type":"application/json"},data:s},d||{})));case 1:case"end":return a.stop()}},t)})),u.apply(this,arguments)}function v(t){return g.apply(this,arguments)}function g(){return g=b()(o()().mark(function t(s){return o()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,m.request)("/api/admin/superAdmin/evilAppList",c()({method:"GET"},s||{})));case 1:case"end":return e.stop()}},t)})),g.apply(this,arguments)}function A(t){return f.apply(this,arguments)}function f(){return f=_asyncToGenerator(_regeneratorRuntime().mark(function t(s){return _regeneratorRuntime().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",request("/api/admin/superAdmin/innerUserList",_objectSpread({method:"GET"},s||{})));case 1:case"end":return e.stop()}},t)})),f.apply(this,arguments)}function F(t,s){return D.apply(this,arguments)}function D(){return D=b()(o()().mark(function t(s,d){return o()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,m.request)("/api/admin/superAdmin/saveEvilApp",c()({method:"POST",headers:{"Content-Type":"application/json"},data:s},d||{})));case 1:case"end":return a.stop()}},t)})),D.apply(this,arguments)}function V(t,s){return T.apply(this,arguments)}function T(){return T=_asyncToGenerator(_regeneratorRuntime().mark(function t(s,d){return _regeneratorRuntime().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",request("/api/admin/superAdmin/saveInnerUser",_objectSpread({method:"POST",params:_objectSpread({},s)},d||{})));case 1:case"end":return a.stop()}},t)})),T.apply(this,arguments)}function Z(t,s){return U.apply(this,arguments)}function U(){return U=b()(o()().mark(function t(s,d){return o()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,m.request)("/api/admin/superAdmin/saveWhiteUser",c()({method:"POST",params:c()({},s)},d||{})));case 1:case"end":return a.stop()}},t)})),U.apply(this,arguments)}function I(t){return R.apply(this,arguments)}function R(){return R=_asyncToGenerator(_regeneratorRuntime().mark(function t(s){return _regeneratorRuntime().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",request("/api/admin/superAdmin/scheduleList",_objectSpread({method:"GET"},s||{})));case 1:case"end":return e.stop()}},t)})),R.apply(this,arguments)}function z(t,s){return n.apply(this,arguments)}function n(){return n=_asyncToGenerator(_regeneratorRuntime().mark(function t(s,d){return _regeneratorRuntime().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",request("/api/admin/superAdmin/transfer",_objectSpread({method:"POST",params:_objectSpread({},s)},d||{})));case 1:case"end":return a.stop()}},t)})),n.apply(this,arguments)}function $(t){return M.apply(this,arguments)}function M(){return M=b()(o()().mark(function t(s){return o()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,m.request)("/api/admin/superAdmin/whiteUserList",c()({method:"GET"},s||{})));case 1:case"end":return e.stop()}},t)})),M.apply(this,arguments)}},52043:function(G,x,r){r.d(x,{E7:function(){return o},FG:function(){return C},RQ:function(){return L},XY:function(){return S},aV:function(){return b},m0:function(){return c}});var C=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"},{label:"\u5229\u597D",value:"lihao"},{label:"\u4F73\u7476",value:"jiayao"}]},o=function(p){var u=[];if(!p)return u;for(var v=p>>1,g=["\u7528\u6237\u6253\u5F00\u4E86USB\u8C03\u8BD5\u6A21\u5F0F","\u7528\u6237\u6253\u5F00\u4E86\u5F00\u53D1\u8005\u6A21\u5F0F","\u7528\u6237\u6253\u5F00\u4E86\u65E0\u969C\u788D\u6A21\u5F0F","\u7528\u6237\u624B\u673A\u5DF2\u7ECFRoot","\u7528\u6237\u5B89\u88C5\u4E86Xpose","\u7528\u6237\u5F00\u542F\u4E86VPN","\u7528\u6237\u5F00\u542F\u4EE3\u7406","\u652F\u4ED8\u5B9D\u672A\u5B89\u88C5","\u5FAE\u4FE1\u672A\u5B89\u88C5"],A=0,f=g;A>=1}return u},S=function(){return[{label:"\u5F85\u5BA1\u6279",value:"0",color:"orange"},{label:"\u5BA1\u6279\u901A\u8FC7",value:"1",color:"green"},{label:"\u8F6C\u8D26\u4E2D",value:"2",color:"orange"},{label:"\u8F6C\u8D26\u6210\u529F",value:"3",color:"green"},{label:"\u8F6C\u8D26\u5931\u8D25",value:"-1",color:"red"},{label:"\u5BA1\u6279\u62D2\u7EDD",value:"-2",color:"red"}]},c=function(p){var u=new Date(p),v=u.getFullYear().toString().padStart(4,"0"),g=(u.getMonth()+1).toString().padStart(2,"0"),A=u.getDate().toString().padStart(2,"0");return v+g+A},L=function(p,u){var v=p.toString();return v.padStart(u,"0")},b=function(p){var u=p;return u<1024?u+" B":(u=parseFloat((u/1024).toFixed(2)),u<1024?u+" KB":(u=parseFloat((u/1024).toFixed(2)),u+" MB"))}},58125:function(G,x,r){r.d(x,{D:function(){return o},P:function(){return C}});var C=function(c){return c?parseFloat((c/1e5).toFixed(2)):0},o=function(c){return c?parseFloat((c/100).toFixed(2)):0}}}]);