diff --git a/dist/971.677bb358.async.js b/dist/971.677bb358.async.js new file mode 100644 index 0000000..448ab4f --- /dev/null +++ b/dist/971.677bb358.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[971],{42767:function(R,C,e){e.d(C,{Z:function(){return z}});var D=e(5574),a=e.n(D),S=e(55241),s=e(2487),O=e(71230),j=e(7134),i=e(67294),m=e(52043),t=e(58125),g=e(15009),p=e.n(g),E=e(97857),d=e.n(E),_=e(99289),f=e.n(_),P=e(40110),L=e(67539),r=e(55102),c=e(42075),y=e(14726),v=e(17788),o=e(4575),n=e(85893),G=function(h){var W=(0,i.useState)(),T=a()(W,2),Z=T[0],K=T[1],F=(0,i.useState)(),B=a()(F,2),V=B[0],w=B[1],Q=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",ellipsis:!0,hideInSearch:!0,filterDropdown:function(u){var l=u.setSelectedKeys,I=u.selectedKeys,A=u.confirm,x=u.clearFilters;return(0,n.jsxs)("div",{style:{padding:8},children:[(0,n.jsx)(r.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:I[0],onChange:function(b){return l(b.target.value?[b.target.value]:[])},onPressEnter:function(){return A()},style:{marginBottom:8,display:"block"}}),(0,n.jsxs)(c.Z,{children:[(0,n.jsx)(y.ZP,{onClick:function(){return A()},type:"primary",children:"\u641C\u7D22"}),(0,n.jsx)(y.ZP,{onClick:function(){return x&&x()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(u,l){return typeof u=="string"&&typeof(l==null?void 0:l.appName)=="string"?l.appName.includes(u):!1},filterIcon:function(u){return(0,n.jsx)(P.Z,{style:{color:u?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u5E94\u7528\u5305\u540D",dataIndex:"packageName",hideInSearch:!0,ellipsis:!0,filterDropdown:function(u){var l=u.setSelectedKeys,I=u.selectedKeys,A=u.confirm,x=u.clearFilters;return(0,n.jsxs)("div",{style:{padding:8},children:[(0,n.jsx)(r.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:I[0],onChange:function(b){return l(b.target.value?[b.target.value]:[])},onPressEnter:function(){return A()},style:{marginBottom:8,display:"block"}}),(0,n.jsxs)(c.Z,{children:[(0,n.jsx)(y.ZP,{onClick:function(){return A()},type:"primary",children:"\u641C\u7D22"}),(0,n.jsx)(y.ZP,{onClick:function(){return x&&x()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(u,l){return typeof u=="string"&&typeof(l==null?void 0:l.packageName)=="string"?l.packageName.includes(u):!1},filterIcon:function(u){return(0,n.jsx)(P.Z,{style:{color:u?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}}],H=function(){var U=f()(p()().mark(function u(){var l,I,A,x;return p()().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,(0,o.ai)();case 2:l=b.sent,l.data&&(A=[],x=[],(I=h.data.localAppList)===null||I===void 0||I.forEach(function($){var N;(N=l.data)!==null&&N!==void 0&&N.some(function(J){return J.packageName===$.packageName})?A.push(d()(d()({},$),{},{evil:!0})):x.push(d()(d()({},$),{},{evil:!1}))}),K([].concat(A,x)),w([].concat(A,x)));case 4:case"end":return b.stop()}},u)}));return function(){return U.apply(this,arguments)}}();return(0,i.useEffect)(function(){H()},[]),(0,n.jsx)(v.Z,{style:{width:600},onCancel:h.onClose,visible:!0,footer:[],children:(0,n.jsx)(L.Z,{onRow:function(u){return{style:{backgroundColor:u.evil?"red":"transparent"}}},search:!1,onReset:function(){w(Z)},columns:Q,dataSource:V})})},Y=G,k=function(h){var W=(0,i.useState)(!1),T=a()(W,2),Z=T[0],K=T[1],F=(0,m.E7)(h.data.env);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(S.Z,{content:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("p",{children:[(0,n.jsx)("label",{children:"\u603B\u6536\u5165\uFF1A"}),(0,t.P)(h.data.income),"\u5143"]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("label",{children:"\u5DF2\u63D0\u73B0\uFF1A"}),(0,t.D)(h.data.realMoney),"\u5143"]}),h.data.localAppList&&h.data.localAppList.length>0&&(0,n.jsxs)("p",{children:[(0,n.jsx)("label",{children:"\u5DF2\u5B89\u88C5\u5E94\u7528\uFF1A"}),h.data.localAppList.length,"\u4E2A",(0,n.jsx)("a",{onClick:function(){K(!0)},style:{marginLeft:20},children:"\u67E5\u770B"})]}),F.length>0&&(0,n.jsx)(s.Z,{size:"small",header:(0,n.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:F,renderItem:function(V){return(0,n.jsx)(s.Z.Item,{children:V})}})]}),children:(0,n.jsxs)(O.Z,{children:[(0,n.jsx)(j.C,{src:h.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,n.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:F.length>0?"red":""},children:["id:",h.data.id,(0,n.jsx)("br",{}),h.data.nickname||h.data.mobile]})]})}),Z&&(0,n.jsx)(Y,{onClose:function(){K(!1)},data:h.data})]})},z=k},81072:function(R,C,e){e.d(C,{fn:function(){return E},pb:function(){return g},wv:function(){return m}});var D=e(15009),a=e.n(D),S=e(97857),s=e.n(S),O=e(99289),j=e.n(O),i=e(35312);function m(_,f){return t.apply(this,arguments)}function t(){return t=j()(a()().mark(function _(f,P){return a()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,i.request)("/api/admin/user/changeStatus",s()({method:"POST",params:s()({},f)},P||{})));case 1:case"end":return r.stop()}},_)})),t.apply(this,arguments)}function g(_,f){return p.apply(this,arguments)}function p(){return p=j()(a()().mark(function _(f,P){return a()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,i.request)("/api/admin/user/list",s()({method:"POST",headers:{"Content-Type":"application/json"},data:f},P||{})));case 1:case"end":return r.stop()}},_)})),p.apply(this,arguments)}function E(_,f){return d.apply(this,arguments)}function d(){return d=j()(a()().mark(function _(f,P){return a()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,i.request)("/api/admin/user/queryById",s()({method:"GET",params:s()({},f)},P||{})));case 1:case"end":return r.stop()}},_)})),d.apply(this,arguments)}},4575:function(R,C,e){e.d(C,{XM:function(){return g},ai:function(){return m},nr:function(){return P},re:function(){return _},vE:function(){return E}});var D=e(15009),a=e.n(D),S=e(97857),s=e.n(S),O=e(99289),j=e.n(O),i=e(35312);function m(r){return t.apply(this,arguments)}function t(){return t=j()(a()().mark(function r(c){return a()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.abrupt("return",(0,i.request)("/api/superAdmin/evilAppList",s()({method:"GET"},c||{})));case 1:case"end":return v.stop()}},r)})),t.apply(this,arguments)}function g(r,c){return p.apply(this,arguments)}function p(){return p=j()(a()().mark(function r(c,y){return a()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,i.request)("/api/superAdmin/saveEvilApp",s()({method:"POST",headers:{"Content-Type":"application/json"},data:c},y||{})));case 1:case"end":return o.stop()}},r)})),p.apply(this,arguments)}function E(r,c){return d.apply(this,arguments)}function d(){return d=j()(a()().mark(function r(c,y){return a()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,i.request)("/api/superAdmin/saveWhiteUser",s()({method:"POST",params:s()({},c)},y||{})));case 1:case"end":return o.stop()}},r)})),d.apply(this,arguments)}function _(r,c){return f.apply(this,arguments)}function f(){return f=j()(a()().mark(function r(c,y){return a()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,i.request)("/api/superAdmin/transfer",s()({method:"POST",params:s()({},c)},y||{})));case 1:case"end":return o.stop()}},r)})),f.apply(this,arguments)}function P(r){return L.apply(this,arguments)}function L(){return L=j()(a()().mark(function r(c){return a()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.abrupt("return",(0,i.request)("/api/superAdmin/whiteUserList",s()({method:"GET"},c||{})));case 1:case"end":return v.stop()}},r)})),L.apply(this,arguments)}},52043:function(R,C,e){e.d(C,{E7:function(){return a},FG:function(){return D},RQ:function(){return O},XY:function(){return S},aV:function(){return j},m0:function(){return s}});var D=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"},{label:"\u5229\u597D",value:"lihao"},{label:"\u4F73\u7476",value:"jiayao"}]},a=function(m){var t=[];if(!m)return t;for(var g=m>>1,p=["\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"],E=0,d=p;E>=1}return t},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"}]},s=function(m){var t=new Date(m),g=t.getFullYear().toString().padStart(4,"0"),p=(t.getMonth()+1).toString().padStart(2,"0"),E=t.getDate().toString().padStart(2,"0");return g+p+E},O=function(m,t){var g=m.toString();return g.padStart(t,"0")},j=function(m){var t=m;return t<1024?t+" B":(t=parseFloat((t/1024).toFixed(2)),t<1024?t+" KB":(t=parseFloat((t/1024).toFixed(2)),t+" MB"))}},58125:function(R,C,e){e.d(C,{D:function(){return a},P:function(){return D}});var D=function(s){return s?parseFloat((s/1e5).toFixed(2)):0},a=function(s){return s?parseFloat((s/100).toFixed(2)):0}}}]); diff --git a/dist/_umi_route_preload_helper.359b15d9.js b/dist/_umi_route_preload_helper.359b15d9.js deleted file mode 100644 index c1a79e4..0000000 --- a/dist/_umi_route_preload_helper.359b15d9.js +++ /dev/null @@ -1 +0,0 @@ -!function(){"use strict";var t="/".replace(/([^/])$/,"$1/"),e=location.pathname,n=e.startsWith(t)&&decodeURI("/".concat(e.slice(t.length)));if(n){var a=document,c=a.head,r=a.createElement.bind(a),i=function(t,e,n){var a,c=e.r[t]||(null===(a=Object.entries(e.r).find((function(e){var n=e[0];return new RegExp("^".concat(n.replace(/\/:[^/]+/g,"/[^/]+").replace("/*","/.+"),"$")).test(t)})))||void 0===a?void 0:a[1]);return null==c?void 0:c.map((function(t){var a=e.f[t][1],c=e.f[t][0];return{type:c.split(".").pop(),url:"".concat(n.publicPath).concat(c),attrs:[["data-".concat(e.b),"".concat(e.p,":").concat(a)]]}}))}(n,{"p":"ant-design-pro","b":"webpack","f":[["134.6fc81d91.async.js",134],["169.57647c7d.async.js",169],["p__Welcome.61596037.async.js",185],["p__MoneyManagement.b9d33efc.async.js",190],["247.3fe8fb10.async.js",247],["t__plugin-layout__Layout.6cae69f5.chunk.css",301],["t__plugin-layout__Layout.4594a64b.async.js",301],["p__User__Login__index.9d3ab92e.async.js",366],["p__DeviceOwnerApp.c61abcd9.async.js",371],["390.41467286.async.js",390],["393.38316f72.async.js",393],["397.fb5f72c1.async.js",397],["p__SuperAdmin.aebf7b0e.async.js",455],["p__Proxy__ProxyUserManagement.8c01d23c.async.js",526],["531.35af34f5.async.js",531],["539.290aefb9.async.js",539],["p__AdvRecordListV2.b284abcd.async.js",542],["p__Bind.b6ee068f.async.js",557],["559.016bfdbb.async.js",559],["p__404.0c100574.async.js",571],["635.20e45f05.async.js",635],["p__App__AppManagement.f548d89d.async.js",731],["761.f7bbde11.async.js",761],["p__AdminManagement.0afb1c76.async.js",816],["841.614ef4c0.async.js",841],["p__AdvRecordList.fc092f59.async.js",857],["p__UserManagement.17af3678.async.js",903],["905.6e225d1b.async.js",905],["930.fca7adbf.async.js",930],["p__Proxy__ProxyAdvRecordListV2.a4fe446b.async.js",990]],"r":{"/*":[19,27],"/":[0,5,6,18,20,27],"/welcome":[0,1,2,10,18,28,5,6,20,27],"/super":[0,1,4,12,14,15,27,28,5,6,18,20],"/adminList":[0,1,14,15,22,23,27,5,6,18,20],"/bind":[0,1,10,11,17,18,28,5,6,20,27],"/appList":[0,1,4,11,14,15,21,27,28,5,6,18,20],"/advList/:code":[0,1,14,15,18,24,25,27,28,5,6,20],"/advListV2/:code":[0,1,14,15,16,18,24,27,28,5,6,20],"/user/:code":[0,1,14,15,26,27,28,5,6,18,20],"/money/:code":[0,1,3,14,15,27,28,5,6,18,20],"/app/:code":[0,1,8,14,15,18,24,27,28,5,6,20],"/user/login":[0,1,7,14],"/proxy/advListV2/:code":[0,1,14,15,18,24,27,28,29,5,6,20],"/proxy/user/:code":[0,1,13,14,15,27,28,5,6,18,20]}},{publicPath:"/"});null==i||i.forEach((function(t){var e,n=t.type,a=t.url;if("js"===n)(e=r("script")).src=a,e.async=!0;else{if("css"!==n)return;(e=r("link")).href=a,e.rel="preload",e.as="style"}t.attrs.forEach((function(t){e.setAttribute(t[0],t[1]||"")})),c.appendChild(e)}))}}(); \ No newline at end of file diff --git a/dist/_umi_route_preload_helper.ecebd6a3.js b/dist/_umi_route_preload_helper.ecebd6a3.js new file mode 100644 index 0000000..7ba7d74 --- /dev/null +++ b/dist/_umi_route_preload_helper.ecebd6a3.js @@ -0,0 +1 @@ +!function(){"use strict";var t="/".replace(/([^/])$/,"$1/"),e=location.pathname,n=e.startsWith(t)&&decodeURI("/".concat(e.slice(t.length)));if(n){var a=document,c=a.head,r=a.createElement.bind(a),i=function(t,e,n){var a,c=e.r[t]||(null===(a=Object.entries(e.r).find((function(e){var n=e[0];return new RegExp("^".concat(n.replace(/\/:[^/]+/g,"/[^/]+").replace("/*","/.+"),"$")).test(t)})))||void 0===a?void 0:a[1]);return null==c?void 0:c.map((function(t){var a=e.f[t][1],c=e.f[t][0];return{type:c.split(".").pop(),url:"".concat(n.publicPath).concat(c),attrs:[["data-".concat(e.b),"".concat(e.p,":").concat(a)]]}}))}(n,{"p":"ant-design-pro","b":"webpack","f":[["134.6fc81d91.async.js",134],["169.57647c7d.async.js",169],["p__Welcome.61596037.async.js",185],["p__MoneyManagement.6438f0bb.async.js",190],["247.3fe8fb10.async.js",247],["t__plugin-layout__Layout.6cae69f5.chunk.css",301],["t__plugin-layout__Layout.4594a64b.async.js",301],["p__User__Login__index.9d3ab92e.async.js",366],["p__DeviceOwnerApp.c61abcd9.async.js",371],["390.41467286.async.js",390],["393.38316f72.async.js",393],["397.fb5f72c1.async.js",397],["p__SuperAdmin.ec6dec07.async.js",455],["p__Proxy__ProxyUserManagement.9b5c45a4.async.js",526],["531.35af34f5.async.js",531],["539.290aefb9.async.js",539],["p__AdvRecordListV2.185cc304.async.js",542],["p__Bind.b6ee068f.async.js",557],["559.016bfdbb.async.js",559],["p__404.0c100574.async.js",571],["635.20e45f05.async.js",635],["p__App__AppManagement.5d7b6a83.async.js",731],["761.f7bbde11.async.js",761],["p__AdminManagement.3439b2cb.async.js",816],["841.614ef4c0.async.js",841],["p__AdvRecordList.fc092f59.async.js",857],["p__UserManagement.98f62b33.async.js",903],["905.6e225d1b.async.js",905],["930.fca7adbf.async.js",930],["971.677bb358.async.js",971],["p__Proxy__ProxyAdvRecordListV2.8a4ba9c6.async.js",990]],"r":{"/*":[19,27],"/":[0,5,6,18,20,27],"/welcome":[0,1,2,10,18,28,5,6,20,27],"/super":[0,1,4,12,14,15,27,28,5,6,18,20],"/adminList":[0,1,14,15,22,23,27,29,5,6,18,20],"/bind":[0,1,10,11,17,18,28,5,6,20,27],"/appList":[0,1,4,11,14,15,21,27,28,5,6,18,20],"/advList/:code":[0,1,14,15,18,24,25,27,28,5,6,20],"/advListV2/:code":[0,1,14,15,16,18,24,27,28,5,6,20],"/user/:code":[0,1,14,15,26,27,28,29,5,6,18,20],"/money/:code":[0,1,3,14,15,27,28,5,6,18,20],"/app/:code":[0,1,8,14,15,18,24,27,28,5,6,20],"/user/login":[0,1,7,14],"/proxy/advListV2/:code":[0,1,14,15,18,24,27,28,30,5,6,20],"/proxy/user/:code":[0,1,13,14,15,27,28,29,5,6,18,20]}},{publicPath:"/"});null==i||i.forEach((function(t){var e,n=t.type,a=t.url;if("js"===n)(e=r("script")).src=a,e.async=!0;else{if("css"!==n)return;(e=r("link")).href=a,e.rel="preload",e.as="style"}t.attrs.forEach((function(t){e.setAttribute(t[0],t[1]||"")})),c.appendChild(e)}))}}(); \ No newline at end of file diff --git a/dist/index.html b/dist/index.html index 710a53e..c920051 100644 --- a/dist/index.html +++ b/dist/index.html @@ -7,10 +7,10 @@ Ant Design Pro - +
- + \ No newline at end of file diff --git a/dist/p__AdminManagement.0afb1c76.async.js b/dist/p__AdminManagement.0afb1c76.async.js deleted file mode 100644 index b0bbbfc..0000000 --- a/dist/p__AdminManagement.0afb1c76.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[816],{85099:function(ne,$,n){n.r($),n.d($,{default:function(){return ie}});var V=n(15009),i=n.n(V),w=n(99289),o=n.n(w),W=n(5574),m=n.n(W),c=n(48357),D=n(35312),t=n(8232),M=n(66309),v=n(71230),x=n(15746),j=n(14726),B=n(13169),g=n(72051),f=n(17788),C=n(55102),l=n(34041),E=n(37804),b=n(16250),R=n(67294),de=n(72269),e=n(85893),ce=function(Z){var O=function(){Z.onSubmit()},s=[{title:"\u59D3\u540D",dataIndex:"name",ellipsis:!0},{title:"\u89D2\u8272",dataIndex:"role",render:function(S){var h="";switch(S){case 1:h="\u8D85\u7EA7\u7BA1\u7406\u5458";break;case 2:h="\u7BA1\u7406\u5458";break;case 3:h="\u6E38\u620F\u4E3B";break;case 4:h="\u8BBE\u5907\u4E3B";break;default:h=""}return h}},{title:"\u9690\u85CF",render:function(S){return(0,e.jsx)(de.Z,{defaultValue:S.hide!==0,onClick:function(I){S.id&&(0,c.tQ)({adminId:S.id,hide:I?1:0})}},S.id)}}];return(0,e.jsx)(f.Z,{title:"\u6279\u91CF\u7F16\u8F91",visible:!0,footer:[],onCancel:O,children:(0,e.jsx)(g.Z,{columns:s,dataSource:Z.data})})},me=ce,fe=n(19632),re=n.n(fe),ve=n(81072),U=n(3089),te=n(55241),H=n(86250),Y=n(2453),Q=n(42767),J=function(Z){var O=(0,R.useState)([]),s=m()(O,2),d=s[0],S=s[1],h=(0,R.useState)([]),I=m()(h,2),y=I[0],_=I[1],z=t.Z.useForm(),X=m()(z,1),ee=X[0],he=function(){var P=o()(i()().mark(function K(k){var A;return i()().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:return N.next=2,(0,c.yC)({adminId:k});case 2:A=N.sent,S(A.data||[]);case 4:case"end":return N.stop()}},K)}));return function(k){return P.apply(this,arguments)}}();return(0,R.useEffect)(function(){Z.data.id&&he(Z.data.id)},[Z.data.id]),(0,e.jsxs)(f.Z,{title:"\u7ED1\u5B9A\u8D26\u53F7",visible:!0,centered:!0,onCancel:function(){Z.onCancel()},footer:[(0,e.jsx)(j.ZP,{onClick:function(){Z.onCancel()},children:"\u53D6\u6D88"},"back"),(0,e.jsx)(te.Z,{title:"\u786E\u5B9A\u4FDD\u5B58\u5417",content:(0,e.jsxs)("div",{style:{textAlign:"center"},children:[(0,e.jsx)("p",{children:"\u8D26\u53F7\u4E00\u65E6\u7ED1\u5B9A\u540E\uFF0C\u65E0\u6CD5\u88AB\u5220\u9664"}),(0,e.jsx)("a",{onClick:o()(i()().mark(function P(){var K;return i()().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:if(K=[].concat(re()(d),re()(y)).map(function(G){return G.id}).filter(Boolean),!(Z.data.id&&K)){A.next=7;break}return A.next=4,(0,c.cH)({adminId:Z.data.id},K);case 4:Z.onSubmit(),A.next=8;break;case 7:Z.onCancel();case 8:case"end":return A.stop()}},P)})),children:"\u786E\u5B9A"})]}),children:(0,e.jsx)(j.ZP,{type:"primary",children:"\u4FDD\u5B58"})},"confirm")],children:[d.length>0&&(0,e.jsxs)(v.Z,{gutter:6,style:{marginTop:20},children:[(0,e.jsx)(x.Z,{span:4,children:"\u5DF2\u7ED1\u5B9A:"}),(0,e.jsx)(H.Z,{vertical:!0,gap:"small",children:d.map(function(P){return(0,e.jsx)(v.Z,{children:(0,e.jsx)(Q.Z,{data:P})},P.id)})})]}),y.length>0&&(0,e.jsxs)(v.Z,{gutter:6,style:{marginTop:20},children:[(0,e.jsx)(x.Z,{span:4,children:"\u672C\u6B21\u65B0\u589E:"}),(0,e.jsx)(H.Z,{vertical:!0,gap:"small",children:y.map(function(P){return(0,e.jsxs)(v.Z,{children:[(0,e.jsx)(Q.Z,{data:P}),(0,e.jsx)(U.Z,{style:{marginLeft:20},onClick:function(){_(y.filter(function(k){return k.id!==P.id}))}})]},P.id)})})]}),(0,e.jsx)(t.Z,{style:{marginTop:20},labelCol:{span:4},wrapperCol:{span:18},form:ee,onFinish:function(){var P=o()(i()().mark(function K(k){var A,G;return i()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:if(A=k.uid,A){L.next=4;break}return Y.ZP.error("uid\u4E0D\u80FD\u4E3A\u7A7A"),L.abrupt("return");case 4:if(!(Z.data.id&&A)){L.next=15;break}if(!(y.filter(function(ue){return ue.id===A}).length>0)){L.next=8;break}return Y.ZP.error("\u8BE5\u8D26\u53F7\u5DF2\u6DFB\u52A0"),L.abrupt("return");case 8:if(!(d.filter(function(ue){return ue.id===A}).length>0)){L.next=11;break}return Y.ZP.error("\u8BE5\u8D26\u53F7\u5DF2\u6DFB\u52A0"),L.abrupt("return");case 11:return L.next=13,(0,ve.fn)({adminId:Z.data.id,userId:A});case 13:G=L.sent,G.data?_([].concat(re()(y),[G.data])):Y.ZP.error("uid\u975E\u6CD5");case 15:case"end":return L.stop()}},K)}));return function(K){return P.apply(this,arguments)}}(),children:(0,e.jsxs)(v.Z,{children:[(0,e.jsx)(t.Z.Item,{name:"uid",label:"uid",children:(0,e.jsx)(E.Z,{style:{width:200}})}),(0,e.jsx)(t.Z.Item,{wrapperCol:{offset:8,span:16},children:(0,e.jsx)(j.ZP,{type:"primary",htmlType:"submit",children:"\u6DFB\u52A0"})})]})})]})},q=J,ae=function(){var Z=(0,R.useState)([]),O=m()(Z,2),s=O[0],d=O[1],S=(0,R.useState)(!1),h=m()(S,2),I=h[0],y=h[1],_=(0,R.useState)(void 0),z=m()(_,2),X=z[0],ee=z[1],he=(0,R.useState)(!1),P=m()(he,2),K=P[0],k=P[1],A=(0,R.useState)(!1),G=m()(A,2),N=G[0],L=G[1],ue=(0,R.useState)(0),ge=m()(ue,2),ye=ge[0],pe=ge[1],Fe=t.Z.useForm(),Ie=m()(Fe,1),le=Ie[0],Pe=(0,R.useState)([]),be=m()(Pe,2),Ce=be[0],De=be[1],Be=(0,D.useModel)("@@initialState"),je=Be.initialState,T=je==null?void 0:je.currentUser,xe=function(u){return u?parseFloat((u/1e5).toFixed(2)):0},Ee=function(u){var r=Ce.find(function(F){return F.id===u});return r?r.name:""},Ze=function(u){le.setFieldsValue(u),y(!0),L(!0),pe(u.role?u.role:0)},Se=[{title:"\u59D3\u540D",dataIndex:"name"},{title:"\u5E94\u7528IDs",dataIndex:"appIds",render:function(u){return(0,e.jsx)("div",{children:u==null?void 0:u.map(function(r){return(0,e.jsx)(M.Z,{color:"blue",children:Ee(r)},r)})})}},{title:"\u89D2\u8272",dataIndex:"role",render:function(u){var r="";switch(u){case 1:r="\u8D85\u7EA7\u7BA1\u7406\u5458";break;case 2:r="\u7BA1\u7406\u5458";break;case 3:r="\u6E38\u620F\u4E3B";break;case 4:r="\u8BBE\u5907\u4E3B";break;default:r=""}return r}},{title:"\u64CD\u4F5C",render:function(u){return[(0,e.jsx)("a",{onClick:function(){return Ze(u)},children:"\u7F16\u8F91"},"edit")]}}],Ae=[{title:"\u59D3\u540D",dataIndex:"name",ellipsis:!0},{title:"\u5E94\u7528IDs",dataIndex:"appIds",render:function(u){return(0,e.jsx)("div",{children:u==null?void 0:u.map(function(r){return(0,e.jsx)(M.Z,{color:"blue",children:Ee(r)},r)})})}},{title:"\u89D2\u8272",dataIndex:"role",render:function(u){var r="";switch(u){case 1:r="\u8D85\u7EA7\u7BA1\u7406\u5458";break;case 2:r="\u7BA1\u7406\u5458";break;case 3:r="\u6E38\u620F\u4E3B";break;case 4:r="\u8BBE\u5907\u4E3B";break;case 5:r="\u4EE3\u7406";break;default:r=""}return r}},{title:"\u672C\u6708\u6536\u5165\uFF08\u5143\uFF09",dataIndex:"incomeThisMonth",render:function(u,r){var F;return xe((F=r.overview)===null||F===void 0?void 0:F.thisMonthIncome)}},{title:"\u4E0A\u6708\u6536\u5165\uFF08\u5143\uFF09",dataIndex:"incomeLastMonth",render:function(u,r){var F;return xe((F=r.overview)===null||F===void 0?void 0:F.lastMonthIncome)}},{title:"\u7D2F\u8BA1\u6536\u5165\uFF08\u5143\uFF09",dataIndex:"incomeTotal",render:function(u,r){var F;return xe((F=r.overview)===null||F===void 0?void 0:F.totalIncome)}},{title:"\u5F53\u524D\u5206\u6210\u6BD4\u4F8B",dataIndex:"incomeRate"},{title:"\u64CD\u4F5C",render:function(u){return(0,e.jsxs)(v.Z,{gutter:6,children:[(0,e.jsx)(x.Z,{children:(0,e.jsx)("a",{onClick:function(){return Ze(u)},children:"\u7F16\u8F91"},"edit")}),u.role===5&&(0,e.jsx)(x.Z,{children:(0,e.jsx)("a",{onClick:function(){ee(u)},children:"\u7ED1\u5B9A\u8D26\u53F7"},"grant")})]})}}],Ue=function(){le.submit()},Oe=function(){y(!1)},oe=function(){var a=o()(i()().mark(function u(){var r;return i()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.next=2,(0,c.N0)();case 2:r=p.sent,r.data&&d(r.data);case 4:case"end":return p.stop()}},u)}));return function(){return a.apply(this,arguments)}}(),_e=function(){var a=o()(i()().mark(function u(){var r;return i()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.next=2,(0,c.ln)();case 2:r=p.sent,r.data&&De(r.data);case 4:case"end":return p.stop()}},u)}));return function(){return a.apply(this,arguments)}}();(0,R.useEffect)(function(){oe(),_e()},[]);var Te=function(){le.resetFields(),y(!0),L(!1),pe(0)},Me=function(){var a=o()(i()().mark(function u(r){return i()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.prev=0,p.next=3,(0,c.P7)(r);case 3:p.next=8;break;case 5:return p.prev=5,p.t0=p.catch(0),p.abrupt("return");case 8:y(!1),oe();case 10:case"end":return p.stop()}},u,null,[[0,5]])}));return function(r){return a.apply(this,arguments)}}();return(0,e.jsxs)("div",{children:[(0,e.jsxs)(v.Z,{align:"stretch",gutter:20,children:[(0,e.jsx)(x.Z,{children:(0,e.jsx)(j.ZP,{onClick:Te,children:"\u65B0\u5EFA\u8D26\u53F7"})}),(0,e.jsx)(x.Z,{children:(0,e.jsx)(j.ZP,{onClick:function(){k(!0)},children:"\u6279\u91CF\u7F16\u8F91"})})]}),(0,e.jsxs)(B.Z,{centered:!0,style:{backgroundColor:"white",padding:"20px",marginTop:20},children:[(T==null?void 0:T.role)&&T.role<3&&(0,e.jsx)(b.Z,{tab:"\u6E38\u620F\u4E3B",children:(0,e.jsx)(g.Z,{columns:Se,dataSource:s.filter(function(a){return a.role===3&&a.hide===0})})},"1"),(0,e.jsx)(b.Z,{tab:"\u8BBE\u5907\u4E3B",children:(0,e.jsx)(g.Z,{columns:Ae,dataSource:s.filter(function(a){return a.role===4&&a.hide===0})})},"2"),(0,e.jsx)(b.Z,{tab:"\u4EE3\u7406",children:(0,e.jsx)(g.Z,{columns:Ae,dataSource:s.filter(function(a){return a.role===5&&a.hide===0})})},"3"),(T==null?void 0:T.role)&&T.role<2&&(0,e.jsx)(b.Z,{tab:"\u7BA1\u7406\u5458",children:(0,e.jsx)(g.Z,{columns:Se,dataSource:s.filter(function(a){return a.role===2&&a.hide===0})})},"4")]}),(0,e.jsx)(f.Z,{title:"\u7F16\u8F91",visible:I,onOk:Ue,onCancel:Oe,children:(0,e.jsxs)(t.Z,{labelCol:{span:4},wrapperCol:{span:18},form:le,onFinish:Me,children:[(0,e.jsx)(t.Z.Item,{name:"id",style:{display:"none"},children:(0,e.jsx)(C.Z,{type:"hidden"})}),(0,e.jsx)(t.Z.Item,{label:"\u7528\u6237\u540D",name:"name",children:(0,e.jsx)(C.Z,{disabled:N})}),(0,e.jsx)(t.Z.Item,{label:"\u5BC6\u7801",name:"password",children:(0,e.jsx)(C.Z.Password,{disabled:N})}),(0,e.jsx)(t.Z.Item,{label:"\u5E94\u7528",name:"appIds",children:(0,e.jsx)(l.Z,{filterOption:function(u,r){var F=typeof(r==null?void 0:r.children)=="string"?r.children:"";return F.toLowerCase().includes(u.toLowerCase())},showSearch:!0,mode:"multiple",children:Ce.map(function(a){return(0,e.jsx)(l.Z.Option,{value:a.id,children:a.name},a.id)})})}),(0,e.jsx)(t.Z.Item,{label:"\u89D2\u8272",name:"role",children:(0,e.jsxs)(l.Z,{disabled:N,onSelect:pe,children:[(0,e.jsx)(l.Z.Option,{disabled:(T==null?void 0:T.role)&&T.role>1,value:2,children:"\u7BA1\u7406\u5458"}),(0,e.jsx)(l.Z.Option,{disabled:(T==null?void 0:T.role)&&T.role>2,value:3,children:"\u6E38\u620F\u4E3B"}),(0,e.jsx)(l.Z.Option,{value:4,children:"\u8BBE\u5907\u4E3B"}),(0,e.jsx)(l.Z.Option,{value:5,children:"\u4EE3\u7406"})]})}),ye>3&&(0,e.jsxs)(v.Z,{children:[(0,e.jsx)(x.Z,{span:12,children:(0,e.jsx)(t.Z.Item,{labelCol:{span:8},label:"\u6536\u5165\u6BD4\u4F8B",name:"incomeRate",children:(0,e.jsx)(E.Z,{placeholder:"1-100\u6574\u6570",style:{width:"80%"}})})}),ye===4?(0,e.jsx)(x.Z,{span:12,children:(0,e.jsx)(t.Z.Item,{labelCol:{span:8},label:"\u8BBE\u5907\u6570",name:"deviceCnt",children:(0,e.jsx)(E.Z,{style:{width:"80%"}})})}):""]})]})}),K&&(0,e.jsx)(me,{data:s,onSubmit:function(){k(!1),oe()}}),X&&(0,e.jsx)(q,{data:X,onCancel:function(){ee(void 0)},onSubmit:function(){ee(void 0),oe()}})]})},ie=ae},42767:function(ne,$,n){n.d($,{Z:function(){return re}});var V=n(5574),i=n.n(V),w=n(55241),o=n(2487),W=n(71230),m=n(7134),c=n(67294),D=n(52043),t=n(58125),M=n(15009),v=n.n(M),x=n(97857),j=n.n(x),B=n(99289),g=n.n(B),f=n(40110),C=n(67539),l=n(55102),E=n(42075),b=n(14726),R=n(17788),de=n(4575),e=n(85893),ce=function(U){var te=(0,c.useState)(),H=i()(te,2),Y=H[0],Q=H[1],J=(0,c.useState)(),q=i()(J,2),ae=q[0],ie=q[1],se=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",ellipsis:!0,hideInSearch:!0,filterDropdown:function(s){var d=s.setSelectedKeys,S=s.selectedKeys,h=s.confirm,I=s.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(l.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:S[0],onChange:function(_){return d(_.target.value?[_.target.value]:[])},onPressEnter:function(){return h()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(E.Z,{children:[(0,e.jsx)(b.ZP,{onClick:function(){return h()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(b.ZP,{onClick:function(){return I&&I()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(s,d){return typeof s=="string"&&typeof(d==null?void 0:d.appName)=="string"?d.appName.includes(s):!1},filterIcon:function(s){return(0,e.jsx)(f.Z,{style:{color:s?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u5E94\u7528\u5305\u540D",dataIndex:"packageName",hideInSearch:!0,ellipsis:!0,filterDropdown:function(s){var d=s.setSelectedKeys,S=s.selectedKeys,h=s.confirm,I=s.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(l.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:S[0],onChange:function(_){return d(_.target.value?[_.target.value]:[])},onPressEnter:function(){return h()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(E.Z,{children:[(0,e.jsx)(b.ZP,{onClick:function(){return h()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(b.ZP,{onClick:function(){return I&&I()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(s,d){return typeof s=="string"&&typeof(d==null?void 0:d.packageName)=="string"?d.packageName.includes(s):!1},filterIcon:function(s){return(0,e.jsx)(f.Z,{style:{color:s?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}}],Z=function(){var O=g()(v()().mark(function s(){var d,S,h,I;return v()().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return _.next=2,(0,de.ai)();case 2:d=_.sent,d.data&&(h=[],I=[],(S=U.data.localAppList)===null||S===void 0||S.forEach(function(z){var X;(X=d.data)!==null&&X!==void 0&&X.some(function(ee){return ee.packageName===z.packageName})?h.push(j()(j()({},z),{},{evil:!0})):I.push(j()(j()({},z),{},{evil:!1}))}),Q([].concat(h,I)),ie([].concat(h,I)));case 4:case"end":return _.stop()}},s)}));return function(){return O.apply(this,arguments)}}();return(0,c.useEffect)(function(){Z()},[]),(0,e.jsx)(R.Z,{style:{width:600},onCancel:U.onClose,visible:!0,footer:[],children:(0,e.jsx)(C.Z,{onRow:function(s){return{style:{backgroundColor:s.evil?"red":"transparent"}}},search:!1,onReset:function(){ie(Y)},columns:se,dataSource:ae})})},me=ce,fe=function(U){var te=(0,c.useState)(!1),H=i()(te,2),Y=H[0],Q=H[1],J=(0,D.E7)(U.data.env);return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(w.Z,{content:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("p",{children:[(0,e.jsx)("label",{children:"\u603B\u6536\u5165\uFF1A"}),(0,t.P)(U.data.income),"\u5143"]}),(0,e.jsxs)("p",{children:[(0,e.jsx)("label",{children:"\u5DF2\u63D0\u73B0\uFF1A"}),(0,t.D)(U.data.realMoney),"\u5143"]}),U.data.localAppList&&U.data.localAppList.length>0&&(0,e.jsxs)("p",{children:[(0,e.jsx)("label",{children:"\u5DF2\u5B89\u88C5\u5E94\u7528\uFF1A"}),U.data.localAppList.length,"\u4E2A",(0,e.jsx)("a",{onClick:function(){Q(!0)},style:{marginLeft:20},children:"\u67E5\u770B"})]}),J.length>0&&(0,e.jsx)(o.Z,{size:"small",header:(0,e.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:J,renderItem:function(ae){return(0,e.jsx)(o.Z.Item,{children:ae})}})]}),children:(0,e.jsxs)(W.Z,{children:[(0,e.jsx)(m.C,{src:U.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,e.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:J.length>0?"red":""},children:["id:",U.data.id,(0,e.jsx)("br",{}),U.data.nickname||U.data.mobile]})]})}),Y&&(0,e.jsx)(me,{onClose:function(){Q(!1)},data:U.data})]})},re=fe},81072:function(ne,$,n){n.d($,{fn:function(){return x},pb:function(){return M},wv:function(){return D}});var V=n(15009),i=n.n(V),w=n(97857),o=n.n(w),W=n(99289),m=n.n(W),c=n(35312);function D(B,g){return t.apply(this,arguments)}function t(){return t=m()(i()().mark(function B(g,f){return i()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",(0,c.request)("/api/admin/user/changeStatus",o()({method:"POST",params:o()({},g)},f||{})));case 1:case"end":return l.stop()}},B)})),t.apply(this,arguments)}function M(B,g){return v.apply(this,arguments)}function v(){return v=m()(i()().mark(function B(g,f){return i()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",(0,c.request)("/api/admin/user/list",o()({method:"POST",headers:{"Content-Type":"application/json"},data:g},f||{})));case 1:case"end":return l.stop()}},B)})),v.apply(this,arguments)}function x(B,g){return j.apply(this,arguments)}function j(){return j=m()(i()().mark(function B(g,f){return i()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",(0,c.request)("/api/admin/user/queryById",o()({method:"GET",params:o()({},g)},f||{})));case 1:case"end":return l.stop()}},B)})),j.apply(this,arguments)}},4575:function(ne,$,n){n.d($,{XM:function(){return M},ai:function(){return D},nr:function(){return B},vE:function(){return x}});var V=n(15009),i=n.n(V),w=n(97857),o=n.n(w),W=n(99289),m=n.n(W),c=n(35312);function D(f){return t.apply(this,arguments)}function t(){return t=m()(i()().mark(function f(C){return i()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.abrupt("return",(0,c.request)("/api/superAdmin/evilAppList",o()({method:"GET"},C||{})));case 1:case"end":return E.stop()}},f)})),t.apply(this,arguments)}function M(f,C){return v.apply(this,arguments)}function v(){return v=m()(i()().mark(function f(C,l){return i()().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.abrupt("return",(0,c.request)("/api/superAdmin/saveEvilApp",o()({method:"POST",headers:{"Content-Type":"application/json"},data:C},l||{})));case 1:case"end":return b.stop()}},f)})),v.apply(this,arguments)}function x(f,C){return j.apply(this,arguments)}function j(){return j=m()(i()().mark(function f(C,l){return i()().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.abrupt("return",(0,c.request)("/api/superAdmin/saveWhiteUser",o()({method:"POST",params:o()({},C)},l||{})));case 1:case"end":return b.stop()}},f)})),j.apply(this,arguments)}function B(f){return g.apply(this,arguments)}function g(){return g=m()(i()().mark(function f(C){return i()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.abrupt("return",(0,c.request)("/api/superAdmin/whiteUserList",o()({method:"GET"},C||{})));case 1:case"end":return E.stop()}},f)})),g.apply(this,arguments)}},52043:function(ne,$,n){n.d($,{E7:function(){return i},FG:function(){return V},RQ:function(){return W},XY:function(){return w},aV:function(){return m},m0:function(){return o}});var V=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"},{label:"\u5229\u597D",value:"lihao"},{label:"\u4F73\u7476",value:"jiayao"}]},i=function(D){var t=[];if(!D)return t;for(var M=D>>1,v=["\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"],x=0,j=v;x>=1}return t},w=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"}]},o=function(D){var t=new Date(D),M=t.getFullYear().toString().padStart(4,"0"),v=(t.getMonth()+1).toString().padStart(2,"0"),x=t.getDate().toString().padStart(2,"0");return M+v+x},W=function(D,t){var M=D.toString();return M.padStart(t,"0")},m=function(D){var t=D;return t<1024?t+" B":(t=parseFloat((t/1024).toFixed(2)),t<1024?t+" KB":(t=parseFloat((t/1024).toFixed(2)),t+" MB"))}},58125:function(ne,$,n){n.d($,{D:function(){return i},P:function(){return V}});var V=function(o){return o?parseFloat((o/1e5).toFixed(2)):0},i=function(o){return o?parseFloat((o/100).toFixed(2)):0}}}]); diff --git a/dist/p__AdminManagement.3439b2cb.async.js b/dist/p__AdminManagement.3439b2cb.async.js new file mode 100644 index 0000000..fee7d7a --- /dev/null +++ b/dist/p__AdminManagement.3439b2cb.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[816],{85099:function(Pe,Y,t){t.r(Y),t.d(Y,{default:function(){return Ie}});var oe=t(15009),v=t.n(oe),ce=t(99289),B=t.n(ce),fe=t(5574),j=t.n(fe),E=t(48357),ve=t(35312),f=t(8232),q=t(66309),I=t(71230),A=t(15746),w=t(14726),he=t(13169),T=t(72051),R=t(17788),V=t(55102),y=t(34041),Q=t(37804),P=t(16250),x=t(67294),me=t(72269),e=t(85893),je=function(d){var D=function(){d.onSubmit()},C=[{title:"\u59D3\u540D",dataIndex:"name",ellipsis:!0},{title:"\u89D2\u8272",dataIndex:"role",render:function(p){var h="";switch(p){case 1:h="\u8D85\u7EA7\u7BA1\u7406\u5458";break;case 2:h="\u7BA1\u7406\u5458";break;case 3:h="\u6E38\u620F\u4E3B";break;case 4:h="\u8BBE\u5907\u4E3B";break;default:h=""}return h}},{title:"\u9690\u85CF",render:function(p){return(0,e.jsx)(me.Z,{defaultValue:p.hide!==0,onClick:function(k){p.id&&(0,E.tQ)({adminId:p.id,hide:k?1:0})}},p.id)}}];return(0,e.jsx)(R.Z,{title:"\u6279\u91CF\u7F16\u8F91",visible:!0,footer:[],onCancel:D,children:(0,e.jsx)(T.Z,{columns:C,dataSource:d.data})})},xe=je,Ze=t(19632),z=t.n(Ze),Ce=t(81072),pe=t(3089),Fe=t(55241),_=t(86250),M=t(2453),ee=t(42767),ge=function(d){var D=(0,x.useState)([]),C=j()(D,2),S=C[0],p=C[1],h=(0,x.useState)([]),k=j()(h,2),Z=k[0],U=k[1],L=f.Z.useForm(),G=j()(L,1),O=G[0],J=function(){var s=B()(v()().mark(function m(F){var u;return v()().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,(0,E.yC)({adminId:F});case 2:u=g.sent,p(u.data||[]);case 4:case"end":return g.stop()}},m)}));return function(F){return s.apply(this,arguments)}}();return(0,x.useEffect)(function(){d.data.id&&J(d.data.id)},[d.data.id]),(0,e.jsxs)(R.Z,{title:"\u7ED1\u5B9A\u8D26\u53F7",visible:!0,centered:!0,onCancel:function(){d.onCancel()},footer:[(0,e.jsx)(w.ZP,{onClick:function(){d.onCancel()},children:"\u53D6\u6D88"},"back"),(0,e.jsx)(Fe.Z,{title:"\u786E\u5B9A\u4FDD\u5B58\u5417",content:(0,e.jsxs)("div",{style:{textAlign:"center"},children:[(0,e.jsx)("p",{children:"\u8D26\u53F7\u4E00\u65E6\u7ED1\u5B9A\u540E\uFF0C\u65E0\u6CD5\u88AB\u5220\u9664"}),(0,e.jsx)("a",{onClick:B()(v()().mark(function s(){var m;return v()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(m=[].concat(z()(S),z()(Z)).map(function(b){return b.id}).filter(Boolean),!(d.data.id&&m)){u.next=7;break}return u.next=4,(0,E.cH)({adminId:d.data.id},m);case 4:d.onSubmit(),u.next=8;break;case 7:d.onCancel();case 8:case"end":return u.stop()}},s)})),children:"\u786E\u5B9A"})]}),children:(0,e.jsx)(w.ZP,{type:"primary",children:"\u4FDD\u5B58"})},"confirm")],children:[S.length>0&&(0,e.jsxs)(I.Z,{gutter:6,style:{marginTop:20},children:[(0,e.jsx)(A.Z,{span:4,children:"\u5DF2\u7ED1\u5B9A:"}),(0,e.jsx)(_.Z,{vertical:!0,gap:"small",children:S.map(function(s){return(0,e.jsx)(I.Z,{children:(0,e.jsx)(ee.Z,{data:s})},s.id)})})]}),Z.length>0&&(0,e.jsxs)(I.Z,{gutter:6,style:{marginTop:20},children:[(0,e.jsx)(A.Z,{span:4,children:"\u672C\u6B21\u65B0\u589E:"}),(0,e.jsx)(_.Z,{vertical:!0,gap:"small",children:Z.map(function(s){return(0,e.jsxs)(I.Z,{children:[(0,e.jsx)(ee.Z,{data:s}),(0,e.jsx)(pe.Z,{style:{marginLeft:20},onClick:function(){U(Z.filter(function(F){return F.id!==s.id}))}})]},s.id)})})]}),(0,e.jsx)(f.Z,{style:{marginTop:20},labelCol:{span:4},wrapperCol:{span:18},form:O,onFinish:function(){var s=B()(v()().mark(function m(F){var u,b;return v()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(u=F.uid,u){c.next=4;break}return M.ZP.error("uid\u4E0D\u80FD\u4E3A\u7A7A"),c.abrupt("return");case 4:if(!(d.data.id&&u)){c.next=15;break}if(!(Z.filter(function($){return $.id===u}).length>0)){c.next=8;break}return M.ZP.error("\u8BE5\u8D26\u53F7\u5DF2\u6DFB\u52A0"),c.abrupt("return");case 8:if(!(S.filter(function($){return $.id===u}).length>0)){c.next=11;break}return M.ZP.error("\u8BE5\u8D26\u53F7\u5DF2\u6DFB\u52A0"),c.abrupt("return");case 11:return c.next=13,(0,Ce.fn)({adminId:d.data.id,userId:u});case 13:b=c.sent,b.data?U([].concat(z()(Z),[b.data])):M.ZP.error("uid\u975E\u6CD5");case 15:case"end":return c.stop()}},m)}));return function(m){return s.apply(this,arguments)}}(),children:(0,e.jsxs)(I.Z,{children:[(0,e.jsx)(f.Z.Item,{name:"uid",label:"uid",children:(0,e.jsx)(Q.Z,{style:{width:200}})}),(0,e.jsx)(f.Z.Item,{wrapperCol:{offset:8,span:16},children:(0,e.jsx)(w.ZP,{type:"primary",htmlType:"submit",children:"\u6DFB\u52A0"})})]})})]})},Se=ge,be=function(){var d=(0,x.useState)([]),D=j()(d,2),C=D[0],S=D[1],p=(0,x.useState)(!1),h=j()(p,2),k=h[0],Z=h[1],U=(0,x.useState)(void 0),L=j()(U,2),G=L[0],O=L[1],J=(0,x.useState)(!1),s=j()(J,2),m=s[0],F=s[1],u=(0,x.useState)(!1),b=j()(u,2),g=b[0],c=b[1],$=(0,x.useState)(0),re=j()($,2),ae=re[0],K=re[1],Ae=f.Z.useForm(),ye=j()(Ae,1),N=ye[0],Be=(0,x.useState)([]),te=j()(Be,2),ie=te[0],Ee=te[1],De=(0,ve.useModel)("@@initialState"),W=De.initialState,o=W==null?void 0:W.currentUser,X=function(a){return a?parseFloat((a/1e5).toFixed(2)):0},ue=function(a){var n=ie.find(function(l){return l.id===a});return n?n.name:""},le=function(a){N.setFieldsValue(a),Z(!0),c(!0),K(a.role?a.role:0)},se=[{title:"\u59D3\u540D",dataIndex:"name"},{title:"\u5E94\u7528IDs",dataIndex:"appIds",render:function(a){return(0,e.jsx)("div",{children:a==null?void 0:a.map(function(n){return(0,e.jsx)(q.Z,{color:"blue",children:ue(n)},n)})})}},{title:"\u89D2\u8272",dataIndex:"role",render:function(a){var n="";switch(a){case 1:n="\u8D85\u7EA7\u7BA1\u7406\u5458";break;case 2:n="\u7BA1\u7406\u5458";break;case 3:n="\u6E38\u620F\u4E3B";break;case 4:n="\u8BBE\u5907\u4E3B";break;default:n=""}return n}},{title:"\u64CD\u4F5C",render:function(a){return[(0,e.jsx)("a",{onClick:function(){return le(a)},children:"\u7F16\u8F91"},"edit")]}}],de=[{title:"\u59D3\u540D",dataIndex:"name",ellipsis:!0},{title:"\u5E94\u7528IDs",dataIndex:"appIds",render:function(a){return(0,e.jsx)("div",{children:a==null?void 0:a.map(function(n){return(0,e.jsx)(q.Z,{color:"blue",children:ue(n)},n)})})}},{title:"\u89D2\u8272",dataIndex:"role",render:function(a){var n="";switch(a){case 1:n="\u8D85\u7EA7\u7BA1\u7406\u5458";break;case 2:n="\u7BA1\u7406\u5458";break;case 3:n="\u6E38\u620F\u4E3B";break;case 4:n="\u8BBE\u5907\u4E3B";break;case 5:n="\u4EE3\u7406";break;default:n=""}return n}},{title:"\u672C\u6708\u6536\u5165\uFF08\u5143\uFF09",dataIndex:"incomeThisMonth",render:function(a,n){var l;return X((l=n.overview)===null||l===void 0?void 0:l.thisMonthIncome)}},{title:"\u4E0A\u6708\u6536\u5165\uFF08\u5143\uFF09",dataIndex:"incomeLastMonth",render:function(a,n){var l;return X((l=n.overview)===null||l===void 0?void 0:l.lastMonthIncome)}},{title:"\u7D2F\u8BA1\u6536\u5165\uFF08\u5143\uFF09",dataIndex:"incomeTotal",render:function(a,n){var l;return X((l=n.overview)===null||l===void 0?void 0:l.totalIncome)}},{title:"\u5F53\u524D\u5206\u6210\u6BD4\u4F8B",dataIndex:"incomeRate"},{title:"\u64CD\u4F5C",render:function(a){return(0,e.jsxs)(I.Z,{gutter:6,children:[(0,e.jsx)(A.Z,{children:(0,e.jsx)("a",{onClick:function(){return le(a)},children:"\u7F16\u8F91"},"edit")}),a.role===5&&(0,e.jsx)(A.Z,{children:(0,e.jsx)("a",{onClick:function(){O(a)},children:"\u7ED1\u5B9A\u8D26\u53F7"},"grant")})]})}}],ke=function(){N.submit()},we=function(){Z(!1)},H=function(){var r=B()(v()().mark(function a(){var n;return v()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,(0,E.N0)();case 2:n=i.sent,n.data&&S(n.data);case 4:case"end":return i.stop()}},a)}));return function(){return r.apply(this,arguments)}}(),Te=function(){var r=B()(v()().mark(function a(){var n;return v()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,(0,E.ln)();case 2:n=i.sent,n.data&&Ee(n.data);case 4:case"end":return i.stop()}},a)}));return function(){return r.apply(this,arguments)}}();(0,x.useEffect)(function(){H(),Te()},[]);var Oe=function(){N.resetFields(),Z(!0),c(!1),K(0)},$e=function(){var r=B()(v()().mark(function a(n){return v()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.prev=0,i.next=3,(0,E.P7)(n);case 3:i.next=8;break;case 5:return i.prev=5,i.t0=i.catch(0),i.abrupt("return");case 8:Z(!1),H();case 10:case"end":return i.stop()}},a,null,[[0,5]])}));return function(n){return r.apply(this,arguments)}}();return(0,e.jsxs)("div",{children:[(0,e.jsxs)(I.Z,{align:"stretch",gutter:20,children:[(0,e.jsx)(A.Z,{children:(0,e.jsx)(w.ZP,{onClick:Oe,children:"\u65B0\u5EFA\u8D26\u53F7"})}),(0,e.jsx)(A.Z,{children:(0,e.jsx)(w.ZP,{onClick:function(){F(!0)},children:"\u6279\u91CF\u7F16\u8F91"})})]}),(0,e.jsxs)(he.Z,{centered:!0,style:{backgroundColor:"white",padding:"20px",marginTop:20},children:[(o==null?void 0:o.role)&&o.role<3&&(0,e.jsx)(P.Z,{tab:"\u6E38\u620F\u4E3B",children:(0,e.jsx)(T.Z,{columns:se,dataSource:C.filter(function(r){return r.role===3&&r.hide===0})})},"1"),(0,e.jsx)(P.Z,{tab:"\u8BBE\u5907\u4E3B",children:(0,e.jsx)(T.Z,{columns:de,dataSource:C.filter(function(r){return r.role===4&&r.hide===0})})},"2"),(0,e.jsx)(P.Z,{tab:"\u4EE3\u7406",children:(0,e.jsx)(T.Z,{columns:de,dataSource:C.filter(function(r){return r.role===5&&r.hide===0})})},"3"),(o==null?void 0:o.role)&&o.role<2&&(0,e.jsx)(P.Z,{tab:"\u7BA1\u7406\u5458",children:(0,e.jsx)(T.Z,{columns:se,dataSource:C.filter(function(r){return r.role===2&&r.hide===0})})},"4")]}),(0,e.jsx)(R.Z,{title:"\u7F16\u8F91",visible:k,onOk:ke,onCancel:we,children:(0,e.jsxs)(f.Z,{labelCol:{span:4},wrapperCol:{span:18},form:N,onFinish:$e,children:[(0,e.jsx)(f.Z.Item,{name:"id",style:{display:"none"},children:(0,e.jsx)(V.Z,{type:"hidden"})}),(0,e.jsx)(f.Z.Item,{label:"\u7528\u6237\u540D",name:"name",children:(0,e.jsx)(V.Z,{disabled:g})}),(0,e.jsx)(f.Z.Item,{label:"\u5BC6\u7801",name:"password",children:(0,e.jsx)(V.Z.Password,{disabled:g})}),(0,e.jsx)(f.Z.Item,{label:"\u5E94\u7528",name:"appIds",children:(0,e.jsx)(y.Z,{filterOption:function(a,n){var l=typeof(n==null?void 0:n.children)=="string"?n.children:"";return l.toLowerCase().includes(a.toLowerCase())},showSearch:!0,mode:"multiple",children:ie.map(function(r){return(0,e.jsx)(y.Z.Option,{value:r.id,children:r.name},r.id)})})}),(0,e.jsx)(f.Z.Item,{label:"\u89D2\u8272",name:"role",children:(0,e.jsxs)(y.Z,{disabled:g,onSelect:K,children:[(0,e.jsx)(y.Z.Option,{disabled:(o==null?void 0:o.role)&&o.role>1,value:2,children:"\u7BA1\u7406\u5458"}),(0,e.jsx)(y.Z.Option,{disabled:(o==null?void 0:o.role)&&o.role>2,value:3,children:"\u6E38\u620F\u4E3B"}),(0,e.jsx)(y.Z.Option,{value:4,children:"\u8BBE\u5907\u4E3B"}),(0,e.jsx)(y.Z.Option,{value:5,children:"\u4EE3\u7406"})]})}),ae>3&&(0,e.jsxs)(I.Z,{children:[(0,e.jsx)(A.Z,{span:12,children:(0,e.jsx)(f.Z.Item,{labelCol:{span:8},label:"\u6536\u5165\u6BD4\u4F8B",name:"incomeRate",children:(0,e.jsx)(Q.Z,{placeholder:"1-100\u6574\u6570",style:{width:"80%"}})})}),ae===4?(0,e.jsx)(A.Z,{span:12,children:(0,e.jsx)(f.Z.Item,{labelCol:{span:8},label:"\u8BBE\u5907\u6570",name:"deviceCnt",children:(0,e.jsx)(Q.Z,{style:{width:"80%"}})})}):""]})]})}),m&&(0,e.jsx)(xe,{data:C,onSubmit:function(){F(!1),H()}}),G&&(0,e.jsx)(Se,{data:G,onCancel:function(){O(void 0)},onSubmit:function(){O(void 0),H()}})]})},Ie=be}}]); diff --git a/dist/p__AdvRecordListV2.185cc304.async.js b/dist/p__AdvRecordListV2.185cc304.async.js new file mode 100644 index 0000000..ba6e241 --- /dev/null +++ b/dist/p__AdvRecordListV2.185cc304.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[542],{40110:function(H,O,e){var A=e(1413),s=e(67294),S=e(509),i=e(91146),B=function(c,n){return s.createElement(i.Z,(0,A.Z)((0,A.Z)({},c),{},{ref:n,icon:S.Z}))},j=s.forwardRef(B);O.Z=j},86408:function(H,O,e){e.r(O);var A=e(97857),s=e.n(A),S=e(15009),i=e.n(S),B=e(99289),j=e.n(B),m=e(5574),c=e.n(m),n=e(48357),C=e(11415),f=e(39615),b=e(90930),y=e(67539),Z=e(57470),W=e(64317),z=e(34540),V=e(13169),_=e(16250),p=e(27484),D=e.n(p),E=e(9220),l=e(67294),t=e(96974),K=e(58125),ne=e(42767),u=e(85893),re=function(){var h=(0,l.useRef)(),J=(0,l.useState)(void 0),F=c()(J,2),G=F[0],w=F[1],I=function(){return window.innerWidth<=768},N=(0,l.useState)({deviceId:{show:!I()},appName:{show:!I()},platform:{show:!I()},deviceBrand:{show:!I()},deviceName:{show:!I()},ip:{show:!I()},advType:{show:!I()}}),Y=c()(N,2),ee=Y[0],ae=Y[1],se=[{title:"\u7528\u6237id",hideInTable:!0,dataIndex:"userId"},{title:"\u8BBE\u5907id",dataIndex:"deviceId",valueType:"textarea",ellipsis:!0,copyable:!0},{title:"\u5E94\u7528\u540D\u79F0",hideInSearch:!0,dataIndex:"appName",valueType:"textarea"},{title:"\u5E73\u53F0",dataIndex:"platform",width:80,valueEnum:{1:{text:"\u7A7F\u5C71\u7532"},2:{text:"\u817E\u8BAF"},3:{text:"\u767E\u5EA6\u8054\u76DF"},4:{text:"Mintegral"},5:{text:"\u5FEB\u624B"},6:{text:"\u6E38\u53EF\u8D62"},7:{text:"Sigmob"},8:{text:"Admob"}}},{title:"\u5E7F\u544A\u7C7B\u578B",dataIndex:"advType",valueEnum:{1:{text:"\u6A2A\u5E45",status:"Success"},2:{text:"\u63D2\u9875",status:"Success"},3:{text:"\u6FC0\u52B1\u89C6\u9891",status:"Success"}}},{title:"ecpm(\u5143)",dataIndex:"ecpm",hideInSearch:!0,renderText:function(r){return r/100}},{title:"\u91D1\u5E01",dataIndex:"ecpmReal",hideInSearch:!0,renderText:function(r){return r}},{title:"\u8BBE\u5907",dataIndex:"device",hideInSearch:!0,renderText:function(r,P){return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("p",{children:P.deviceBrand}),(0,u.jsx)("p",{children:P.deviceName})]})}},{title:"ip",dataIndex:"ip",hideInSearch:!0,valueType:"textarea"},{title:"\u4EE3\u7406",dataIndex:"adminName",hideInSearch:!0,valueType:"textarea"},{title:"\u7528\u6237",dataIndex:"user",hideInSearch:!0,width:150,renderText:function(r,P){if(P.user)return(0,u.jsx)(ne.Z,{data:P.user})}},{title:"\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u65F6\u95F4",hideInTable:!0,dataIndex:"createdAt",valueType:"dateRange"}],U=(0,t.UO)(),a=U.code,v=(0,l.useState)(),R=c()(v,2),o=R[0],T=R[1],L=(0,l.useState)([]),g=c()(L,2),X=g[0],k=g[1],q=f.Z.Divider,de=(0,l.useState)(!1),le=c()(de,2),te=le[0],ce=le[1],_e=function(){var d=j()(i()().mark(function r(P){var M;return i()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,(0,n.d1)({appCode:P});case 2:M=x.sent,M.data&&T(M.data);case 4:case"end":return x.stop()}},r)}));return function(P){return d.apply(this,arguments)}}(),oe=function(){var d=j()(i()().mark(function r(P){var M;return i()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,(0,n.Zb)(s()(s()({},P),{},{code:a}));case 2:M=x.sent,M.data&&k(M.data);case 4:case"end":return x.stop()}},r)}));return function(P){return d.apply(this,arguments)}}();(0,l.useEffect)(function(){var d;(d=h.current)===null||d===void 0||d.reload(),_e(a),oe({code:a})},[a]);var me=X.map(function(d){return{date:function(){var r=d.date+"",P=r.slice(0,4),M=r.slice(4,6),$=r.slice(6,8);return"".concat(P,"-").concat(M,"-").concat($)}(),income:(0,K.P)(d.income)}}),ve={data:me,xField:"date",yField:"income",tooltip:{name:"\u6536\u5165",field:"income"},axis:{date:{title:"\u65E5\u671F"}},title:"\u7D2F\u8BA1"+(0,K.P)(X.reduce(function(d,r){return d+(r.income?r.income:0)},0))+"\u5143",height:400,label:{text:function(r){return r.income>0?r.income:""},textBaseline:"bottom"}};return(0,u.jsx)(b._z,{children:(0,u.jsxs)(V.Z,{defaultActiveKey:"1",centered:!0,style:{backgroundColor:"white",padding:"20px"},children:[(0,u.jsx)(_.Z,{tab:"\u5E7F\u544A\u8BE6\u60C5",children:(0,u.jsx)(y.Z,{headerTitle:G?"\u8868\u683C\u7D2F\u8BA1\uFF1A"+(0,K.P)(G)+"\u5143":"",actionRef:h,rowKey:"key",search:{labelWidth:120},request:function(){var d=j()(i()().mark(function r(P){var M,$,x,ie;return i()().wrap(function(Q){for(;;)switch(Q.prev=Q.next){case 0:return Q.next=2,(0,n._5)(s()(s()({},P),{},{code:a}));case 2:return x=Q.sent,P.current===1&&w((ie=x.data)===null||ie===void 0?void 0:ie.sum),Q.abrupt("return",{data:(M=x.data)===null||M===void 0?void 0:M.data,total:($=x.data)===null||$===void 0?void 0:$.total,success:!0});case 5:case"end":return Q.stop()}},r)}));return function(r){return d.apply(this,arguments)}}(),columns:se,columnsState:{value:ee,onChange:function(r){ae(r)}}})},"1"),(0,u.jsxs)(_.Z,{tab:"\u6570\u636E\u603B\u89C8",children:[(0,u.jsx)(E.Z,{onResize:function(r){ce(r.width<596)},children:(0,u.jsx)(f.Z,{children:(0,u.jsxs)(f.Z.Group,{direction:te?"column":"row",children:[(0,u.jsx)(f.Z,{statistic:{title:"\u4E0A\u6708\u6536\u5165\uFF08\u5143\uFF09",value:(0,K.P)(o==null?void 0:o.lastMonthIncome)}}),(0,u.jsx)(q,{type:te?"horizontal":"vertical"}),(0,u.jsx)(f.Z,{statistic:{title:"\u672C\u6708\u6536\u5165\uFF08\u5143\uFF09",value:(0,K.P)(o==null?void 0:o.thisMonthIncome)}}),(0,u.jsx)(q,{type:te?"horizontal":"vertical"}),(0,u.jsx)(f.Z,{statistic:{title:"\u4ECA\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:(0,K.P)(o==null?void 0:o.todayIncome)}}),(0,u.jsx)(q,{type:te?"horizontal":"vertical"}),(0,u.jsx)(f.Z,{statistic:{title:"\u6628\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:(0,K.P)(o==null?void 0:o.yesterdayIncome)}})]})})},"resize-observer"),(0,u.jsxs)(Z.t,{defaultCollapsed:!0,split:!0,onFinish:oe,children:[(0,u.jsx)(W.Z,{label:"\u5E73\u53F0",name:"platform",valueEnum:{1:"\u7A7F\u5C71\u7532",2:"\u817E\u8BAF",3:"\u767E\u5EA6\u8054\u76DF",4:"Mintegral",5:"\u5FEB\u624B",6:"\u6E38\u53EF\u8D62",7:"Sigmob",8:"Admob"}}),(0,u.jsx)(W.Z,{name:"advType",label:"\u5E7F\u544A\u7C7B\u578B",valueEnum:{1:"\u6A2A\u5E45",2:"\u63D2\u9875",3:"\u6FC0\u52B1\u89C6\u9891"}}),(0,u.jsx)(z.Z,{fieldProps:{disabledDate:function(r){return r&&r>=D()().startOf("day")}},name:"date",label:"\u65F6\u95F4"})]}),(0,u.jsx)(C.Z,s()({},ve))]},"2")]})})};O.default=re},42767:function(H,O,e){e.d(O,{Z:function(){return re}});var A=e(5574),s=e.n(A),S=e(55241),i=e(2487),B=e(71230),j=e(7134),m=e(67294),c=e(52043),n=e(58125),C=e(15009),f=e.n(C),b=e(97857),y=e.n(b),Z=e(99289),W=e.n(Z),z=e(40110),V=e(67539),_=e(55102),p=e(42075),D=e(14726),E=e(17788),l=e(4575),t=e(85893),K=function(h){var J=(0,m.useState)(),F=s()(J,2),G=F[0],w=F[1],I=(0,m.useState)(),N=s()(I,2),Y=N[0],ee=N[1],ae=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",ellipsis:!0,hideInSearch:!0,filterDropdown:function(a){var v=a.setSelectedKeys,R=a.selectedKeys,o=a.confirm,T=a.clearFilters;return(0,t.jsxs)("div",{style:{padding:8},children:[(0,t.jsx)(_.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:R[0],onChange:function(g){return v(g.target.value?[g.target.value]:[])},onPressEnter:function(){return o()},style:{marginBottom:8,display:"block"}}),(0,t.jsxs)(p.Z,{children:[(0,t.jsx)(D.ZP,{onClick:function(){return o()},type:"primary",children:"\u641C\u7D22"}),(0,t.jsx)(D.ZP,{onClick:function(){return T&&T()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(a,v){return typeof a=="string"&&typeof(v==null?void 0:v.appName)=="string"?v.appName.includes(a):!1},filterIcon:function(a){return(0,t.jsx)(z.Z,{style:{color:a?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u5E94\u7528\u5305\u540D",dataIndex:"packageName",hideInSearch:!0,ellipsis:!0,filterDropdown:function(a){var v=a.setSelectedKeys,R=a.selectedKeys,o=a.confirm,T=a.clearFilters;return(0,t.jsxs)("div",{style:{padding:8},children:[(0,t.jsx)(_.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:R[0],onChange:function(g){return v(g.target.value?[g.target.value]:[])},onPressEnter:function(){return o()},style:{marginBottom:8,display:"block"}}),(0,t.jsxs)(p.Z,{children:[(0,t.jsx)(D.ZP,{onClick:function(){return o()},type:"primary",children:"\u641C\u7D22"}),(0,t.jsx)(D.ZP,{onClick:function(){return T&&T()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(a,v){return typeof a=="string"&&typeof(v==null?void 0:v.packageName)=="string"?v.packageName.includes(a):!1},filterIcon:function(a){return(0,t.jsx)(z.Z,{style:{color:a?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}}],se=function(){var U=W()(f()().mark(function a(){var v,R,o,T;return f()().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,(0,l.ai)();case 2:v=g.sent,v.data&&(o=[],T=[],(R=h.data.localAppList)===null||R===void 0||R.forEach(function(X){var k;(k=v.data)!==null&&k!==void 0&&k.some(function(q){return q.packageName===X.packageName})?o.push(y()(y()({},X),{},{evil:!0})):T.push(y()(y()({},X),{},{evil:!1}))}),w([].concat(o,T)),ee([].concat(o,T)));case 4:case"end":return g.stop()}},a)}));return function(){return U.apply(this,arguments)}}();return(0,m.useEffect)(function(){se()},[]),(0,t.jsx)(E.Z,{style:{width:600},onCancel:h.onClose,visible:!0,footer:[],children:(0,t.jsx)(V.Z,{onRow:function(a){return{style:{backgroundColor:a.evil?"red":"transparent"}}},search:!1,onReset:function(){ee(G)},columns:ae,dataSource:Y})})},ne=K,u=function(h){var J=(0,m.useState)(!1),F=s()(J,2),G=F[0],w=F[1],I=(0,c.E7)(h.data.env);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(S.Z,{content:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("p",{children:[(0,t.jsx)("label",{children:"\u603B\u6536\u5165\uFF1A"}),(0,n.P)(h.data.income),"\u5143"]}),(0,t.jsxs)("p",{children:[(0,t.jsx)("label",{children:"\u5DF2\u63D0\u73B0\uFF1A"}),(0,n.D)(h.data.realMoney),"\u5143"]}),h.data.localAppList&&h.data.localAppList.length>0&&(0,t.jsxs)("p",{children:[(0,t.jsx)("label",{children:"\u5DF2\u5B89\u88C5\u5E94\u7528\uFF1A"}),h.data.localAppList.length,"\u4E2A",(0,t.jsx)("a",{onClick:function(){w(!0)},style:{marginLeft:20},children:"\u67E5\u770B"})]}),I.length>0&&(0,t.jsx)(i.Z,{size:"small",header:(0,t.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:I,renderItem:function(Y){return(0,t.jsx)(i.Z.Item,{children:Y})}})]}),children:(0,t.jsxs)(B.Z,{children:[(0,t.jsx)(j.C,{src:h.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,t.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:I.length>0?"red":""},children:["id:",h.data.id,(0,t.jsx)("br",{}),h.data.nickname||h.data.mobile]})]})}),G&&(0,t.jsx)(ne,{onClose:function(){w(!1)},data:h.data})]})},re=u},4575:function(H,O,e){e.d(O,{XM:function(){return C},ai:function(){return c},nr:function(){return z},re:function(){return Z},vE:function(){return b}});var A=e(15009),s=e.n(A),S=e(97857),i=e.n(S),B=e(99289),j=e.n(B),m=e(35312);function c(_){return n.apply(this,arguments)}function n(){return n=j()(s()().mark(function _(p){return s()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.abrupt("return",(0,m.request)("/api/superAdmin/evilAppList",i()({method:"GET"},p||{})));case 1:case"end":return E.stop()}},_)})),n.apply(this,arguments)}function C(_,p){return f.apply(this,arguments)}function f(){return f=j()(s()().mark(function _(p,D){return s()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",(0,m.request)("/api/superAdmin/saveEvilApp",i()({method:"POST",headers:{"Content-Type":"application/json"},data:p},D||{})));case 1:case"end":return l.stop()}},_)})),f.apply(this,arguments)}function b(_,p){return y.apply(this,arguments)}function y(){return y=j()(s()().mark(function _(p,D){return s()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",(0,m.request)("/api/superAdmin/saveWhiteUser",i()({method:"POST",params:i()({},p)},D||{})));case 1:case"end":return l.stop()}},_)})),y.apply(this,arguments)}function Z(_,p){return W.apply(this,arguments)}function W(){return W=j()(s()().mark(function _(p,D){return s()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",(0,m.request)("/api/superAdmin/transfer",i()({method:"POST",params:i()({},p)},D||{})));case 1:case"end":return l.stop()}},_)})),W.apply(this,arguments)}function z(_){return V.apply(this,arguments)}function V(){return V=j()(s()().mark(function _(p){return s()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.abrupt("return",(0,m.request)("/api/superAdmin/whiteUserList",i()({method:"GET"},p||{})));case 1:case"end":return E.stop()}},_)})),V.apply(this,arguments)}},52043:function(H,O,e){e.d(O,{E7:function(){return s},FG:function(){return A},RQ:function(){return B},XY:function(){return S},aV:function(){return j},m0:function(){return i}});var A=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"},{label:"\u5229\u597D",value:"lihao"},{label:"\u4F73\u7476",value:"jiayao"}]},s=function(c){var n=[];if(!c)return n;for(var C=c>>1,f=["\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"],b=0,y=f;b>=1}return n},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"}]},i=function(c){var n=new Date(c),C=n.getFullYear().toString().padStart(4,"0"),f=(n.getMonth()+1).toString().padStart(2,"0"),b=n.getDate().toString().padStart(2,"0");return C+f+b},B=function(c,n){var C=c.toString();return C.padStart(n,"0")},j=function(c){var n=c;return n<1024?n+" B":(n=parseFloat((n/1024).toFixed(2)),n<1024?n+" KB":(n=parseFloat((n/1024).toFixed(2)),n+" MB"))}},58125:function(H,O,e){e.d(O,{D:function(){return s},P:function(){return A}});var A=function(i){return i?parseFloat((i/1e5).toFixed(2)):0},s=function(i){return i?parseFloat((i/100).toFixed(2)):0}}}]); diff --git a/dist/p__AdvRecordListV2.b284abcd.async.js b/dist/p__AdvRecordListV2.b284abcd.async.js deleted file mode 100644 index f9e4d04..0000000 --- a/dist/p__AdvRecordListV2.b284abcd.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[542],{40110:function(Q,M,e){var O=e(1413),i=e(67294),T=e(509),u=e(91146),B=function(d,n){return i.createElement(u.Z,(0,O.Z)((0,O.Z)({},d),{},{ref:n,icon:T.Z}))},x=i.forwardRef(B);M.Z=x},86408:function(Q,M,e){e.r(M);var O=e(97857),i=e.n(O),T=e(15009),u=e.n(T),B=e(99289),x=e.n(B),_=e(5574),d=e.n(_),n=e(48357),A=e(11415),m=e(39615),S=e(90930),D=e(67539),V=e(57470),F=e(64317),f=e(34540),g=e(13169),b=e(16250),p=e(27484),h=e.n(p),te=e(9220),K=e(67294),t=e(96974),W=e(58125),ne=e(42767),s=e(85893),re=function(){var v=(0,K.useRef)(),H=(0,K.useState)(void 0),Z=d()(H,2),z=Z[0],G=Z[1],y=function(){return window.innerWidth<=768},N=(0,K.useState)({deviceId:{show:!y()},appName:{show:!y()},platform:{show:!y()},deviceBrand:{show:!y()},deviceName:{show:!y()},ip:{show:!y()},advType:{show:!y()}}),w=d()(N,2),q=w[0],ae=w[1],se=[{title:"\u7528\u6237id",hideInTable:!0,dataIndex:"userId"},{title:"\u8BBE\u5907id",dataIndex:"deviceId",valueType:"textarea",ellipsis:!0,copyable:!0},{title:"\u5E94\u7528\u540D\u79F0",hideInSearch:!0,dataIndex:"appName",valueType:"textarea"},{title:"\u5E73\u53F0",dataIndex:"platform",width:80,valueEnum:{1:{text:"\u7A7F\u5C71\u7532"},2:{text:"\u817E\u8BAF"},3:{text:"\u767E\u5EA6\u8054\u76DF"},4:{text:"Mintegral"},5:{text:"\u5FEB\u624B"},6:{text:"\u6E38\u53EF\u8D62"},7:{text:"Sigmob"},8:{text:"Admob"}}},{title:"\u5E7F\u544A\u7C7B\u578B",dataIndex:"advType",valueEnum:{1:{text:"\u6A2A\u5E45",status:"Success"},2:{text:"\u63D2\u9875",status:"Success"},3:{text:"\u6FC0\u52B1\u89C6\u9891",status:"Success"}}},{title:"ecpm(\u5143)",dataIndex:"ecpm",hideInSearch:!0,renderText:function(r){return r/100}},{title:"\u91D1\u5E01",dataIndex:"ecpmReal",hideInSearch:!0,renderText:function(r){return r}},{title:"\u8BBE\u5907",dataIndex:"device",hideInSearch:!0,renderText:function(r,E){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("p",{children:E.deviceBrand}),(0,s.jsx)("p",{children:E.deviceName})]})}},{title:"ip",dataIndex:"ip",hideInSearch:!0,valueType:"textarea"},{title:"\u4EE3\u7406",dataIndex:"adminName",hideInSearch:!0,valueType:"textarea"},{title:"\u7528\u6237",dataIndex:"user",hideInSearch:!0,width:150,renderText:function(r,E){if(E.user)return(0,s.jsx)(ne.Z,{data:E.user})}},{title:"\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u65F6\u95F4",hideInTable:!0,dataIndex:"createdAt",valueType:"dateRange"}],U=(0,t.UO)(),a=U.code,c=(0,K.useState)(),R=d()(c,2),l=R[0],C=R[1],L=(0,K.useState)([]),j=d()(L,2),Y=j[0],J=j[1],k=m.Z.Divider,de=(0,K.useState)(!1),le=d()(de,2),ee=le[0],ce=le[1],_e=function(){var o=x()(u()().mark(function r(E){var I;return u()().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return P.next=2,(0,n.d1)({appCode:E});case 2:I=P.sent,I.data&&C(I.data);case 4:case"end":return P.stop()}},r)}));return function(E){return o.apply(this,arguments)}}(),oe=function(){var o=x()(u()().mark(function r(E){var I;return u()().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return P.next=2,(0,n.Zb)(i()(i()({},E),{},{code:a}));case 2:I=P.sent,I.data&&J(I.data);case 4:case"end":return P.stop()}},r)}));return function(E){return o.apply(this,arguments)}}();(0,K.useEffect)(function(){var o;(o=v.current)===null||o===void 0||o.reload(),_e(a),oe({code:a})},[a]);var me=Y.map(function(o){return{date:function(){var r=o.date+"",E=r.slice(0,4),I=r.slice(4,6),$=r.slice(6,8);return"".concat(E,"-").concat(I,"-").concat($)}(),income:(0,W.P)(o.income)}}),ve={data:me,xField:"date",yField:"income",tooltip:{name:"\u6536\u5165",field:"income"},axis:{date:{title:"\u65E5\u671F"}},title:"\u7D2F\u8BA1"+(0,W.P)(Y.reduce(function(o,r){return o+(r.income?r.income:0)},0))+"\u5143",height:400,label:{text:function(r){return r.income>0?r.income:""},textBaseline:"bottom"}};return(0,s.jsx)(S._z,{children:(0,s.jsxs)(g.Z,{defaultActiveKey:"1",centered:!0,style:{backgroundColor:"white",padding:"20px"},children:[(0,s.jsx)(b.Z,{tab:"\u5E7F\u544A\u8BE6\u60C5",children:(0,s.jsx)(D.Z,{headerTitle:z?"\u8868\u683C\u7D2F\u8BA1\uFF1A"+(0,W.P)(z)+"\u5143":"",actionRef:v,rowKey:"key",search:{labelWidth:120},request:function(){var o=x()(u()().mark(function r(E){var I,$,P,ie;return u()().wrap(function(X){for(;;)switch(X.prev=X.next){case 0:return X.next=2,(0,n._5)(i()(i()({},E),{},{code:a}));case 2:return P=X.sent,E.current===1&&G((ie=P.data)===null||ie===void 0?void 0:ie.sum),X.abrupt("return",{data:(I=P.data)===null||I===void 0?void 0:I.data,total:($=P.data)===null||$===void 0?void 0:$.total,success:!0});case 5:case"end":return X.stop()}},r)}));return function(r){return o.apply(this,arguments)}}(),columns:se,columnsState:{value:q,onChange:function(r){ae(r)}}})},"1"),(0,s.jsxs)(b.Z,{tab:"\u6570\u636E\u603B\u89C8",children:[(0,s.jsx)(te.Z,{onResize:function(r){ce(r.width<596)},children:(0,s.jsx)(m.Z,{children:(0,s.jsxs)(m.Z.Group,{direction:ee?"column":"row",children:[(0,s.jsx)(m.Z,{statistic:{title:"\u4E0A\u6708\u6536\u5165\uFF08\u5143\uFF09",value:(0,W.P)(l==null?void 0:l.lastMonthIncome)}}),(0,s.jsx)(k,{type:ee?"horizontal":"vertical"}),(0,s.jsx)(m.Z,{statistic:{title:"\u672C\u6708\u6536\u5165\uFF08\u5143\uFF09",value:(0,W.P)(l==null?void 0:l.thisMonthIncome)}}),(0,s.jsx)(k,{type:ee?"horizontal":"vertical"}),(0,s.jsx)(m.Z,{statistic:{title:"\u4ECA\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:(0,W.P)(l==null?void 0:l.todayIncome)}}),(0,s.jsx)(k,{type:ee?"horizontal":"vertical"}),(0,s.jsx)(m.Z,{statistic:{title:"\u6628\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:(0,W.P)(l==null?void 0:l.yesterdayIncome)}})]})})},"resize-observer"),(0,s.jsxs)(V.t,{defaultCollapsed:!0,split:!0,onFinish:oe,children:[(0,s.jsx)(F.Z,{label:"\u5E73\u53F0",name:"platform",valueEnum:{1:"\u7A7F\u5C71\u7532",2:"\u817E\u8BAF",3:"\u767E\u5EA6\u8054\u76DF",4:"Mintegral",5:"\u5FEB\u624B",6:"\u6E38\u53EF\u8D62",7:"Sigmob",8:"Admob"}}),(0,s.jsx)(F.Z,{name:"advType",label:"\u5E7F\u544A\u7C7B\u578B",valueEnum:{1:"\u6A2A\u5E45",2:"\u63D2\u9875",3:"\u6FC0\u52B1\u89C6\u9891"}}),(0,s.jsx)(f.Z,{fieldProps:{disabledDate:function(r){return r&&r>=h()().startOf("day")}},name:"date",label:"\u65F6\u95F4"})]}),(0,s.jsx)(A.Z,i()({},ve))]},"2")]})})};M.default=re},42767:function(Q,M,e){e.d(M,{Z:function(){return re}});var O=e(5574),i=e.n(O),T=e(55241),u=e(2487),B=e(71230),x=e(7134),_=e(67294),d=e(52043),n=e(58125),A=e(15009),m=e.n(A),S=e(97857),D=e.n(S),V=e(99289),F=e.n(V),f=e(40110),g=e(67539),b=e(55102),p=e(42075),h=e(14726),te=e(17788),K=e(4575),t=e(85893),W=function(v){var H=(0,_.useState)(),Z=i()(H,2),z=Z[0],G=Z[1],y=(0,_.useState)(),N=i()(y,2),w=N[0],q=N[1],ae=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",ellipsis:!0,hideInSearch:!0,filterDropdown:function(a){var c=a.setSelectedKeys,R=a.selectedKeys,l=a.confirm,C=a.clearFilters;return(0,t.jsxs)("div",{style:{padding:8},children:[(0,t.jsx)(b.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:R[0],onChange:function(j){return c(j.target.value?[j.target.value]:[])},onPressEnter:function(){return l()},style:{marginBottom:8,display:"block"}}),(0,t.jsxs)(p.Z,{children:[(0,t.jsx)(h.ZP,{onClick:function(){return l()},type:"primary",children:"\u641C\u7D22"}),(0,t.jsx)(h.ZP,{onClick:function(){return C&&C()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(a,c){return typeof a=="string"&&typeof(c==null?void 0:c.appName)=="string"?c.appName.includes(a):!1},filterIcon:function(a){return(0,t.jsx)(f.Z,{style:{color:a?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u5E94\u7528\u5305\u540D",dataIndex:"packageName",hideInSearch:!0,ellipsis:!0,filterDropdown:function(a){var c=a.setSelectedKeys,R=a.selectedKeys,l=a.confirm,C=a.clearFilters;return(0,t.jsxs)("div",{style:{padding:8},children:[(0,t.jsx)(b.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:R[0],onChange:function(j){return c(j.target.value?[j.target.value]:[])},onPressEnter:function(){return l()},style:{marginBottom:8,display:"block"}}),(0,t.jsxs)(p.Z,{children:[(0,t.jsx)(h.ZP,{onClick:function(){return l()},type:"primary",children:"\u641C\u7D22"}),(0,t.jsx)(h.ZP,{onClick:function(){return C&&C()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(a,c){return typeof a=="string"&&typeof(c==null?void 0:c.packageName)=="string"?c.packageName.includes(a):!1},filterIcon:function(a){return(0,t.jsx)(f.Z,{style:{color:a?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}}],se=function(){var U=F()(m()().mark(function a(){var c,R,l,C;return m()().wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return j.next=2,(0,K.ai)();case 2:c=j.sent,c.data&&(l=[],C=[],(R=v.data.localAppList)===null||R===void 0||R.forEach(function(Y){var J;(J=c.data)!==null&&J!==void 0&&J.some(function(k){return k.packageName===Y.packageName})?l.push(D()(D()({},Y),{},{evil:!0})):C.push(D()(D()({},Y),{},{evil:!1}))}),G([].concat(l,C)),q([].concat(l,C)));case 4:case"end":return j.stop()}},a)}));return function(){return U.apply(this,arguments)}}();return(0,_.useEffect)(function(){se()},[]),(0,t.jsx)(te.Z,{style:{width:600},onCancel:v.onClose,visible:!0,footer:[],children:(0,t.jsx)(g.Z,{onRow:function(a){return{style:{backgroundColor:a.evil?"red":"transparent"}}},search:!1,onReset:function(){q(z)},columns:ae,dataSource:w})})},ne=W,s=function(v){var H=(0,_.useState)(!1),Z=i()(H,2),z=Z[0],G=Z[1],y=(0,d.E7)(v.data.env);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(T.Z,{content:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("p",{children:[(0,t.jsx)("label",{children:"\u603B\u6536\u5165\uFF1A"}),(0,n.P)(v.data.income),"\u5143"]}),(0,t.jsxs)("p",{children:[(0,t.jsx)("label",{children:"\u5DF2\u63D0\u73B0\uFF1A"}),(0,n.D)(v.data.realMoney),"\u5143"]}),v.data.localAppList&&v.data.localAppList.length>0&&(0,t.jsxs)("p",{children:[(0,t.jsx)("label",{children:"\u5DF2\u5B89\u88C5\u5E94\u7528\uFF1A"}),v.data.localAppList.length,"\u4E2A",(0,t.jsx)("a",{onClick:function(){G(!0)},style:{marginLeft:20},children:"\u67E5\u770B"})]}),y.length>0&&(0,t.jsx)(u.Z,{size:"small",header:(0,t.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:y,renderItem:function(w){return(0,t.jsx)(u.Z.Item,{children:w})}})]}),children:(0,t.jsxs)(B.Z,{children:[(0,t.jsx)(x.C,{src:v.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,t.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:y.length>0?"red":""},children:["id:",v.data.id,(0,t.jsx)("br",{}),v.data.nickname||v.data.mobile]})]})}),z&&(0,t.jsx)(ne,{onClose:function(){G(!1)},data:v.data})]})},re=s},4575:function(Q,M,e){e.d(M,{XM:function(){return A},ai:function(){return d},nr:function(){return V},vE:function(){return S}});var O=e(15009),i=e.n(O),T=e(97857),u=e.n(T),B=e(99289),x=e.n(B),_=e(35312);function d(f){return n.apply(this,arguments)}function n(){return n=x()(i()().mark(function f(g){return i()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.abrupt("return",(0,_.request)("/api/superAdmin/evilAppList",u()({method:"GET"},g||{})));case 1:case"end":return p.stop()}},f)})),n.apply(this,arguments)}function A(f,g){return m.apply(this,arguments)}function m(){return m=x()(i()().mark(function f(g,b){return i()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.abrupt("return",(0,_.request)("/api/superAdmin/saveEvilApp",u()({method:"POST",headers:{"Content-Type":"application/json"},data:g},b||{})));case 1:case"end":return h.stop()}},f)})),m.apply(this,arguments)}function S(f,g){return D.apply(this,arguments)}function D(){return D=x()(i()().mark(function f(g,b){return i()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.abrupt("return",(0,_.request)("/api/superAdmin/saveWhiteUser",u()({method:"POST",params:u()({},g)},b||{})));case 1:case"end":return h.stop()}},f)})),D.apply(this,arguments)}function V(f){return F.apply(this,arguments)}function F(){return F=x()(i()().mark(function f(g){return i()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.abrupt("return",(0,_.request)("/api/superAdmin/whiteUserList",u()({method:"GET"},g||{})));case 1:case"end":return p.stop()}},f)})),F.apply(this,arguments)}},52043:function(Q,M,e){e.d(M,{E7:function(){return i},FG:function(){return O},RQ:function(){return B},XY:function(){return T},aV:function(){return x},m0:function(){return u}});var O=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"},{label:"\u5229\u597D",value:"lihao"},{label:"\u4F73\u7476",value:"jiayao"}]},i=function(d){var n=[];if(!d)return n;for(var A=d>>1,m=["\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"],S=0,D=m;S>=1}return n},T=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"}]},u=function(d){var n=new Date(d),A=n.getFullYear().toString().padStart(4,"0"),m=(n.getMonth()+1).toString().padStart(2,"0"),S=n.getDate().toString().padStart(2,"0");return A+m+S},B=function(d,n){var A=d.toString();return A.padStart(n,"0")},x=function(d){var n=d;return n<1024?n+" B":(n=parseFloat((n/1024).toFixed(2)),n<1024?n+" KB":(n=parseFloat((n/1024).toFixed(2)),n+" MB"))}},58125:function(Q,M,e){e.d(M,{D:function(){return i},P:function(){return O}});var O=function(u){return u?parseFloat((u/1e5).toFixed(2)):0},i=function(u){return u?parseFloat((u/100).toFixed(2)):0}}}]); diff --git a/dist/p__App__AppManagement.5d7b6a83.async.js b/dist/p__App__AppManagement.5d7b6a83.async.js new file mode 100644 index 0000000..46b3437 --- /dev/null +++ b/dist/p__App__AppManagement.5d7b6a83.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[731],{75385:function(Ee,ie,r){r.r(ie),r.d(ie,{default:function(){return Sn}});var re=r(90930),O=r(35312),oe=r(15009),u=r.n(oe),ce=r(99289),F=r.n(ce),W=r(5574),C=r.n(W),b=r(48357),H=r(67539),ee=r(55241),N=r(10397),f=r(55102),m=r(67294),de=r(97857),S=r.n(de);function se(h,n){return U.apply(this,arguments)}function U(){return U=F()(u()().mark(function h(n,s){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,O.request)("/api/admin/app/aliPayConfig",S()({method:"GET",params:S()({},n)},s||{})));case 1:case"end":return a.stop()}},h)})),U.apply(this,arguments)}function X(h,n,s){return te.apply(this,arguments)}function te(){return te=F()(u()().mark(function h(n,s,x){return u()().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.abrupt("return",(0,O.request)("/api/admin/app/aliPayConfig",S()({method:"POST",headers:{"Content-Type":"application/json"},params:S()({},n),data:s},x||{})));case 1:case"end":return y.stop()}},h)})),te.apply(this,arguments)}function Q(h,n){return _.apply(this,arguments)}function _(){return _=F()(u()().mark(function h(n,s){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,O.request)("/api/admin/app/basicConfig",S()({method:"GET",params:S()({},n)},s||{})));case 1:case"end":return a.stop()}},h)})),_.apply(this,arguments)}function we(h,n){return be.apply(this,arguments)}function be(){return be=F()(u()().mark(function h(n,s){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,O.request)("/api/admin/app/basicConfig",S()({method:"POST",headers:{"Content-Type":"application/json"},data:n},s||{})));case 1:case"end":return a.stop()}},h)})),be.apply(this,arguments)}function Ke(h,n){return Se.apply(this,arguments)}function Se(){return Se=F()(u()().mark(function h(n,s){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,O.request)("/api/admin/app/normalConfig",S()({method:"GET",params:S()({},n)},s||{})));case 1:case"end":return a.stop()}},h)})),Se.apply(this,arguments)}function j(h,n,s){return Z.apply(this,arguments)}function Z(){return Z=F()(u()().mark(function h(n,s,x){return u()().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.abrupt("return",(0,O.request)("/api/admin/app/normalConfig",S()({method:"POST",headers:{"Content-Type":"application/json"},params:S()({},n),data:s},x||{})));case 1:case"end":return y.stop()}},h)})),Z.apply(this,arguments)}function w(h,n){return A.apply(this,arguments)}function A(){return A=F()(u()().mark(function h(n,s){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,O.request)("/api/admin/app/uMengConfig",S()({method:"GET",params:S()({},n)},s||{})));case 1:case"end":return a.stop()}},h)})),A.apply(this,arguments)}function J(h,n,s){return Ze.apply(this,arguments)}function Ze(){return Ze=F()(u()().mark(function h(n,s,x){return u()().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.abrupt("return",(0,O.request)("/api/admin/app/uMengConfig",S()({method:"POST",headers:{"Content-Type":"application/json"},params:S()({},n),data:s},x||{})));case 1:case"end":return y.stop()}},h)})),Ze.apply(this,arguments)}function De(h,n){return pe.apply(this,arguments)}function pe(){return pe=_asyncToGenerator(_regeneratorRuntime().mark(function h(n,s){return _regeneratorRuntime().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",request("/api/admin/app/wxConfig",_objectSpread({method:"GET",params:_objectSpread({},n)},s||{})));case 1:case"end":return a.stop()}},h)})),pe.apply(this,arguments)}function Ge(h,n,s){return Ce.apply(this,arguments)}function Ce(){return Ce=_asyncToGenerator(_regeneratorRuntime().mark(function h(n,s,x){return _regeneratorRuntime().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.abrupt("return",request("/api/admin/app/wxConfig",_objectSpread({method:"POST",headers:{"Content-Type":"application/json"},params:_objectSpread({},n),data:s},x||{})));case 1:case"end":return y.stop()}},h)})),Ce.apply(this,arguments)}var ge=r(1413),Oe=r(93696),ue=r(91146),Te=function(n,s){return m.createElement(ue.Z,(0,ge.Z)((0,ge.Z)({},n),{},{ref:s,icon:Oe.Z}))},Be=m.forwardRef(Te),Y=Be,Ie=r(3089),Me=r(42110),Ue=function(n,s){return m.createElement(ue.Z,(0,ge.Z)((0,ge.Z)({},n),{},{ref:s,icon:Me.Z}))},Re=m.forwardRef(Ue),$e=Re,t=r(8232),Ae=r(17788),We=r(72269),me=r(37804),fe=r(83062),ke=r(71230),he=r(14726),Le=r(15746),e=r(85893),Qe=function(n){var s=t.Z.useForm(),x=C()(s,1),a=x[0],y=function(){a.submit()},$=function(){n.onCancel()},k=function(){var i=F()(u()().mark(function v(l){var c;return u()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.next=2,Ke({appCode:l});case 2:c=E.sent,a.setFieldsValue(c.data);case 4:case"end":return E.stop()}},v)}));return function(l){return i.apply(this,arguments)}}();(0,m.useEffect)(function(){k(n.appCode)},[n.appCode]);var L=function(){var i=F()(u()().mark(function v(l){return u()().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.prev=0,g.next=3,j({appCode:n.appCode},l);case 3:g.next=8;break;case 5:return g.prev=5,g.t0=g.catch(0),g.abrupt("return");case 8:n.onSubmit();case 9:case"end":return g.stop()}},v,null,[[0,5]])}));return function(l){return i.apply(this,arguments)}}(),P={labelCol:{xs:{span:24},sm:{span:6}},wrapperCol:{xs:{span:24},sm:{span:20}}},o={wrapperCol:{xs:{span:24,offset:10},sm:{span:20,offset:6}}};return(0,e.jsx)(Ae.Z,{title:"\u7F16\u8F91",visible:n.updateModalOpen,onOk:y,onCancel:$,children:(0,e.jsxs)(t.Z,{labelCol:{span:6},wrapperCol:{span:18},form:a,onFinish:L,children:[(0,e.jsx)(t.Z.Item,{name:"enablePangolin",label:"\u542F\u7528\u7A7F\u5C71\u7532",children:(0,e.jsx)(We.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"pangolinDailyLimit",label:"\u7A7F\u5C71\u7532\u6BCF\u65E5\u6B21\u6570",children:(0,e.jsx)(me.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"tencentDailyLimit",label:"\u5E7F\u544A\u6BCF\u65E5\u6B21\u6570",children:(0,e.jsx)(me.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"videoDuration",label:"\u89C6\u9891\u5E7F\u544A\u95F4\u9694(\u79D2)",children:(0,e.jsx)(me.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"popUpDuration",label:"\u63D2\u9875\u5E7F\u544A\u95F4\u9694(\u79D2)",children:(0,e.jsx)(me.Z,{})}),(0,e.jsx)(t.Z.List,{name:"moneyLadder",children:function(v,l){var c=l.add,g=l.remove;return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(t.Z.Item,{label:(0,e.jsxs)(e.Fragment,{children:["\u63D0\u73B0\u68AF\u5EA6",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(fe.Z,{title:"\u7528\u6237\u53EF\u9009\u7684\u63D0\u73B0\u91D1\u989D\u6863\u4F4D\uFF0C\u5355\u4F4D\u5206",children:(0,e.jsx)(Y,{})})})]}),required:!1,children:[(0,e.jsx)(ke.Z,{children:v.map(function(E){return(0,e.jsx)(t.Z.Item,{label:"",required:!1,children:(0,e.jsxs)(ke.Z,{align:"stretch",style:{marginRight:10},children:[(0,e.jsx)(t.Z.Item,S()(S()({},E),{},{validateTrigger:["onChange","onBlur"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u91D1\u989D\u6216\u8005\u5220\u9664"}],noStyle:!0,children:(0,e.jsx)(me.Z,{placeholder:"\u91D1\u989D\uFF0C\u5355\u4F4D\u5206"})})),(0,e.jsx)(Ie.Z,{style:{marginLeft:4},className:"dynamic-delete-button",onClick:function(){return g(E.name)}})]})},E.key)})}),(0,e.jsx)(t.Z.Item,S()(S()({},o),{},{children:(0,e.jsx)(he.ZP,{type:"dashed",onClick:function(){return c()},icon:(0,e.jsx)($e,{}),children:"\u6DFB\u52A0\u63D0\u73B0\u68AF\u5EA6"})}))]})})}}),(0,e.jsx)(t.Z.Item,{name:"noAuditMoney",label:(0,e.jsxs)(e.Fragment,{children:["\u4E0D\u5BA1\u6838\u95E8\u69DB",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(fe.Z,{title:"\u4F4E\u4E8E\u6B64\u91D1\u989D\u7684\u63D0\u73B0\u7533\u8BF7\u5C06\u4F1A\u81EA\u52A8\u5BA1\u6838\u901A\u8FC7\uFF0C\u5355\u4F4D\u5206",children:(0,e.jsx)(Y,{})})})]}),children:(0,e.jsx)(me.Z,{placeholder:"\u5355\u4F4D\u5206",style:{width:"60%"}})}),(0,e.jsx)(t.Z.Item,{name:"qqUrl",label:"QQ\u7FA4\u94FE\u63A5",children:(0,e.jsx)(f.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"dayLimit",label:(0,e.jsxs)(e.Fragment,{children:["\u6BCF\u65E5\u63D0\u73B0\u6B21\u6570",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(fe.Z,{title:"\u540C\u4E2A\u8D26\u53F7\u6216\u540C\u4E2A\u652F\u4ED8\u5B9D\u6BCF\u65E5\u6700\u591A\u63D0\u73B0\u7684\u6B21\u6570",children:(0,e.jsx)(Y,{})})})]}),children:(0,e.jsx)(me.Z,{style:{width:"60%"}})}),(0,e.jsx)(t.Z.Item,{name:"maxIncomeEachVideo",label:(0,e.jsxs)(e.Fragment,{children:["\u5355\u6761\u6536\u76CA\u4E0A\u9650",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(fe.Z,{title:"\u770B\u4E00\u6761\u89C6\u9891\u6700\u591A\u80FD\u83B7\u5F97\u7684\u94B1\uFF0C\u5355\u4F4D\u5206",children:(0,e.jsx)(Y,{})})})]}),children:(0,e.jsx)(me.Z,{style:{width:"60%"}})}),(0,e.jsx)(t.Z.Item,{name:"defaultRate",label:(0,e.jsx)(e.Fragment,{children:"\u9ED8\u8BA4\u5206\u6210\u6BD4\u4F8B"}),children:(0,e.jsx)(me.Z,{style:{width:"60%"}})}),(0,e.jsx)(t.Z.List,{name:"dayRates",children:function(v,l){var c=l.add,g=l.remove;return(0,e.jsxs)(e.Fragment,{children:[v.map(function(E,R){var T=E.key,B=E.name;return(0,e.jsx)(e.Fragment,{children:(0,m.createElement)(t.Z.Item,S()(S()({},R===0?P:o),{},{label:R===0?"\u7279\u6B8A\u65E5\u5206\u6210\u6BD4\u4F8B":"",required:!1,key:T}),(0,e.jsxs)(ke.Z,{align:"stretch",gutter:16,children:[(0,e.jsx)(Le.Z,{span:8,children:(0,e.jsx)(t.Z.Item,{name:[B,"day"],rules:[{required:!0}],children:(0,e.jsx)(f.Z,{placeholder:"Day"})})}),(0,e.jsx)(Le.Z,{span:8,children:(0,e.jsx)(t.Z.Item,{name:[B,"rate"],rules:[{required:!0}],children:(0,e.jsx)(f.Z,{placeholder:"Rate"})})}),(0,e.jsx)(Le.Z,{children:(0,e.jsx)(Ie.Z,{onClick:function(){return g(B)}})})]},T))})}),(0,e.jsx)(t.Z.Item,S()(S()({},o),{},{children:(0,e.jsx)(he.ZP,{type:"dashed",onClick:function(){return c()},block:!0,children:"\u6DFB\u52A0\u7279\u6B8A\u65E5\u5206\u6210\u6BD4\u4F8B"})}))]})}})]})})},Je=Qe,Ye=function(){var n=(0,m.useState)(!1),s=C()(n,2),x=s[0],a=s[1],y=(0,m.useState)([]),$=C()(y,2),k=$[0],L=$[1],P=(0,m.useState)([]),o=C()(P,2),i=o[0],v=o[1],l=(0,O.useModel)("@@initialState"),c=l.initialState,g=c==null?void 0:c.currentUser,E=g&&g.role&&g.role<=3,R=(0,m.useState)(),T=C()(R,2),B=T[0],G=T[1],p=function(V){var D=k.filter(function(I){var q;return I==null||(q=I.name)===null||q===void 0?void 0:q.includes(V)});v(D)},z=[{title:"\u5E94\u7528\u540D",dataIndex:"name",copyable:!0,hideInSearch:!0},{title:"\u5E94\u7528\u56FE\u7247",dataIndex:"img",hideInSearch:!0,renderText:function(V){return(0,e.jsx)("img",{style:{width:"40px"},src:V})}},{title:"code",dataIndex:"code",copyable:!0,hideInSearch:!0},{title:"\u4E0B\u8F7D\u5730\u5740",dataIndex:"url",width:200,hideInSearch:!0,renderText:function(V){return(0,e.jsx)(ee.Z,{overlayInnerStyle:{padding:0},content:(0,e.jsx)(N.Z,{value:V||"",bordered:!1}),children:(0,e.jsx)("a",{style:{wordBreak:"break-word"},children:V})})}},{title:"\u64CD\u4F5C",width:80,hideInSearch:!0,renderText:function(V){if(V.enableCash&&E)return(0,e.jsx)("a",{onClick:function(){G(V.code),a(!0)},children:"\u7F16\u8F91"},"edit")}}],ne=function(){var d=F()(u()().mark(function V(){var D;return u()().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:return q.next=2,(0,b.ln)();case 2:D=q.sent,D.data&&(L(D.data),v(D.data));case 4:case"end":return q.stop()}},V)}));return function(){return d.apply(this,arguments)}}();return(0,m.useEffect)(function(){ne()},[]),(0,e.jsxs)(re._z,{children:[(0,e.jsx)(H.Z,{search:{defaultCollapsed:!1,optionRender:function(){return[(0,e.jsx)(f.Z,{placeholder:"\u8BF7\u8F93\u5165\u5E94\u7528\u540D",onChange:function(D){return p(D.target.value)}},"name")]}},onReset:function(){v(k)},columns:z,dataSource:i}),B&&(0,e.jsx)(Je,{updateModalOpen:x,appCode:B||"",onCancel:function(){return a(!1)},onSubmit:function(){a(!1)}})]})},qe=Ye,_e=r(52043),xe=r(66309),en=r(86250),nn={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},an=nn,rn=function(n,s){return m.createElement(ue.Z,(0,ge.Z)((0,ge.Z)({},n),{},{ref:s,icon:an}))},tn=m.forwardRef(rn),ye=tn,Fe=r(66476),Pe=f.Z.TextArea,un=function(n){var s=t.Z.useForm(),x=C()(s,1),a=x[0],y=function(){a.submit()},$=function(){n.onCancel()},k=function(){var P=F()(u()().mark(function o(i){var v;return u()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,se({appCode:i});case 2:v=c.sent,a.setFieldsValue(v.data);case 4:case"end":return c.stop()}},o)}));return function(i){return P.apply(this,arguments)}}();(0,m.useEffect)(function(){k(n.appCode)},[n.appCode]);var L=function(){var P=F()(u()().mark(function o(i){return u()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.prev=0,l.next=3,X({appCode:n.appCode},i);case 3:l.next=8;break;case 5:return l.prev=5,l.t0=l.catch(0),l.abrupt("return");case 8:n.onSubmit();case 9:case"end":return l.stop()}},o,null,[[0,5]])}));return function(i){return P.apply(this,arguments)}}();return(0,e.jsx)(Ae.Z,{title:"\u7F16\u8F91",visible:n.updateModalOpen,onOk:y,onCancel:$,children:(0,e.jsxs)(t.Z,{labelCol:{span:8},wrapperCol:{span:18},form:a,onFinish:L,children:[(0,e.jsx)(t.Z.Item,{name:"aliPayAppId",label:(0,e.jsxs)(e.Fragment,{children:["AppId",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(fe.Z,{title:"\u652F\u4ED8\u5B9D\u5F00\u653E\u5E73\u53F0\u83B7\u53D6\uFF0Chttps://open.alipay.com/develop/manage",children:(0,e.jsx)(Y,{})})})]}),children:(0,e.jsx)(f.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"aliPayPrivateKey",label:(0,e.jsxs)(e.Fragment,{children:["\u5E94\u7528\u79C1\u94A5RSA2048",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(fe.Z,{title:"\u5BC6\u94A5\u5DE5\u5177\u751F\u6210",children:(0,e.jsx)(Y,{})})})]}),children:(0,e.jsxs)(f.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"aliPayPrivateKey",noStyle:!0,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6216\u9009\u62E9\u5E94\u7528\u79C1\u94A5!"}],children:(0,e.jsx)(Pe,{autoSize:{maxRows:6}})}),(0,e.jsx)(Fe.Z,{name:"file",multiple:!1,onChange:function(o){if(o.file.status!=="uploading"){var i=new FileReader;i.onload=function(){a.setFieldsValue({aliPayPrivateKey:i.result})},i.readAsText(o.file.originFileObj)}},showUploadList:!1,style:{width:"100px"},children:(0,e.jsx)(he.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(ye,{}),children:"\u9009\u62E9\u6587\u4EF6"})})]})}),(0,e.jsx)(t.Z.Item,{name:"aliPayAppCert",label:(0,e.jsxs)(e.Fragment,{children:["appCertPublicKey",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(fe.Z,{title:"\u652F\u4ED8\u5B9D\u5F00\u653E\u5E73\u53F0\u4E0B\u8F7D",children:(0,e.jsx)(Y,{})})})]}),children:(0,e.jsxs)(f.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"aliPayAppCert",noStyle:!0,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6216\u9009\u62E9appCertPublicKey!"}],children:(0,e.jsx)(Pe,{autoSize:{maxRows:6}})}),(0,e.jsx)(Fe.Z,{name:"file",multiple:!1,onChange:function(o){if(o.file.status!=="uploading"){var i=new FileReader;i.onload=function(){a.setFieldsValue({aliPayAppCert:i.result})},i.readAsText(o.file.originFileObj)}},showUploadList:!1,style:{width:"100px"},children:(0,e.jsx)(he.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(ye,{}),children:"\u9009\u62E9\u6587\u4EF6"})})]})}),(0,e.jsx)(t.Z.Item,{name:"aliPayRootCert",label:(0,e.jsxs)(e.Fragment,{children:["alipayRootCert",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(fe.Z,{title:"\u652F\u4ED8\u5B9D\u5F00\u653E\u5E73\u53F0\u4E0B\u8F7D",children:(0,e.jsx)(Y,{})})})]}),children:(0,e.jsxs)(f.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"aliPayRootCert",noStyle:!0,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6216\u9009\u62E9alipayRootCert!"}],children:(0,e.jsx)(Pe,{autoSize:{maxRows:6}})}),(0,e.jsx)(Fe.Z,{name:"file",multiple:!1,onChange:function(o){if(o.file.status!=="uploading"){var i=new FileReader;i.onload=function(){a.setFieldsValue({aliPayRootCert:i.result})},i.readAsText(o.file.originFileObj)}},showUploadList:!1,style:{width:"100px"},children:(0,e.jsx)(he.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(ye,{}),children:"\u9009\u62E9\u6587\u4EF6"})})]})}),(0,e.jsx)(t.Z.Item,{name:"aliPayPublicCert",label:(0,e.jsxs)(e.Fragment,{children:["alipayCertPublicKey",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(fe.Z,{title:"\u652F\u4ED8\u5B9D\u5F00\u653E\u5E73\u53F0\u4E0B\u8F7D",children:(0,e.jsx)(Y,{})})})]}),children:(0,e.jsxs)(f.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"aliPayPublicCert",noStyle:!0,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6216\u9009\u62E9alipayCertPublicKey!"}],children:(0,e.jsx)(Pe,{autoSize:{maxRows:6}})}),(0,e.jsx)(Fe.Z,{name:"file",multiple:!1,onChange:function(o){if(o.file.status!=="uploading"){var i=new FileReader;i.onload=function(){a.setFieldsValue({aliPayPublicCert:i.result})},i.readAsText(o.file.originFileObj)}},showUploadList:!1,style:{width:"100px"},children:(0,e.jsx)(he.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(ye,{}),children:"\u9009\u62E9\u6587\u4EF6"})})]})})]})})},sn=un,ve=r(2453),ln=r(4575),on=function(n){var s=t.Z.useForm(),x=C()(s,1),a=x[0],y=function(){a.submit()},$=function(){n.onCancel()},k=function(){var L=F()(u()().mark(function P(o){return u()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.prev=0,v.next=3,(0,ln.re)(S()(S()({},o),{},{appCode:n.appCode}));case 3:v.next=8;break;case 5:return v.prev=5,v.t0=v.catch(0),v.abrupt("return");case 8:ve.ZP.success("\u8F6C\u8D26\u6210\u529F\uFF0C\u8BF7\u67E5\u770B\u652F\u4ED8\u5B9D\u8D26\u6237\u662F\u5426\u5230\u8D26"),n.onSubmit();case 10:case"end":return v.stop()}},P,null,[[0,5]])}));return function(o){return L.apply(this,arguments)}}();return(0,e.jsx)(Ae.Z,{title:"\u7F16\u8F91",visible:!0,onOk:y,onCancel:$,children:(0,e.jsxs)(t.Z,{labelCol:{span:4},wrapperCol:{span:18},form:a,onFinish:k,children:[(0,e.jsx)(t.Z.Item,{name:"name",label:"\u59D3\u540D",children:(0,e.jsx)(f.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"aliAccount",label:"\u652F\u4ED8\u5B9D\u8D26\u53F7",children:(0,e.jsx)(f.Z,{})})]})})},cn=on,Ne=r(34041),ze=r(32400),dn=r(56448),He=r.n(dn),pn=function(n){var s=n.onUploadSuccess,x=n.onUploadError,a=n.url,y=(0,m.useState)(!1),$=C()(y,2),k=$[0],L=$[1],P=(0,m.useState)(null),o=C()(P,2),i=o[0],v=o[1],l=(0,m.useState)([]),c=C()(l,2),g=c[0],E=c[1];(0,m.useEffect)(function(){function T(){return B.apply(this,arguments)}function B(){return B=F()(u()().mark(function G(){var p,z;return u()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.prev=0,d.next=3,(0,b.po)();case 3:if(p=d.sent,!(!p.data||!p.data.accessKeySecret||!p.data.accessKeyId)){d.next=7;break}return ve.ZP.error("\u521D\u59CB\u5316\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"),d.abrupt("return");case 7:z=new(He())({region:"oss-cn-beijing",accessKeyId:p.data.accessKeyId,accessKeySecret:p.data.accessKeySecret,stsToken:p.data.securityToken,bucket:p.data.bucket}),v(z),d.next=15;break;case 11:d.prev=11,d.t0=d.catch(0),ve.ZP.error("\u521D\u59CB\u5316 OSS \u5BA2\u6237\u7AEF\u5931\u8D25"),x&&x(d.t0);case 15:case"end":return d.stop()}},G,null,[[0,11]])})),B.apply(this,arguments)}T()},[x]);var R=function(){var T=F()(u()().mark(function B(G){var p,z,ne,d,V;return u()().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:if(p=G.file,!(p instanceof File)){I.next=31;break}if(L(!0),E([{uid:p.uid,name:p.name,status:"uploading"}]),I.prev=4,z=p.name.split(".").pop(),a){I.next=13;break}return I.next=9,(0,ze.p)(p);case 9:d=I.sent,ne="matrix/".concat(d,".").concat(z),I.next=14;break;case 13:ne="matrix/".concat(a,".").concat(z);case 14:return I.next=16,i==null?void 0:i.put(ne,p,{headers:{"Content-Type":p.type}});case 16:V="https://apks.bzgames.cn/".concat(ne),s&&s(V,p),L(!1),E([{uid:p.uid,name:p.name,status:"done",url:V}]),I.next=26;break;case 22:I.prev=22,I.t0=I.catch(4),ve.ZP.error("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25"),x&&x(I.t0);case 26:return I.prev=26,L(!1),I.finish(26);case 29:I.next=32;break;case 31:ve.ZP.error("\u4E0A\u4F20\u6587\u4EF6\u7C7B\u578B\u9519\u8BEF");case 32:case"end":return I.stop()}},B,null,[[4,22,26,29]])}));return function(G){return T.apply(this,arguments)}}();return(0,e.jsx)(Fe.Z,{fileList:g,customRequest:R,disabled:k||!i,children:(0,e.jsx)(he.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(ye,{}),children:"\u9009\u62E9\u6587\u4EF6"})})},Xe=pn,mn=r(19632),fn=r.n(mn),hn=function(n){var s=n.value,x=n.onChange,a=(0,m.useState)(!1),y=C()(a,2),$=y[0],k=y[1],L=(0,m.useState)(null),P=C()(L,2),o=P[0],i=P[1],v=(0,m.useState)([]),l=C()(v,2),c=l[0],g=l[1];(0,m.useEffect)(function(){s&&g(s)},[s]),(0,m.useEffect)(function(){function T(){return B.apply(this,arguments)}function B(){return B=F()(u()().mark(function G(){var p,z;return u()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.prev=0,d.next=3,(0,b.po)();case 3:if(p=d.sent,!(!p.data||!p.data.accessKeySecret||!p.data.accessKeyId)){d.next=7;break}return ve.ZP.error("\u521D\u59CB\u5316\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"),d.abrupt("return");case 7:z=new(He())({region:"oss-cn-beijing",accessKeyId:p.data.accessKeyId,accessKeySecret:p.data.accessKeySecret,stsToken:p.data.securityToken,bucket:p.data.bucket}),i(z),d.next=14;break;case 11:d.prev=11,d.t0=d.catch(0),ve.ZP.error("\u521D\u59CB\u5316 OSS \u5BA2\u6237\u7AEF\u5931\u8D25");case 14:case"end":return d.stop()}},G,null,[[0,11]])})),B.apply(this,arguments)}T()},[]),(0,m.useEffect)(function(){x&&x(c)},[c]);var E=function(){var T=F()(u()().mark(function B(G){var p,z,ne,d;return u()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:if(p=G.file,!(p instanceof File)){D.next=23;break}return k(!0),D.prev=3,D.next=6,(0,ze.p)(p);case 6:return z=D.sent,ne="matrix/".concat(z,".").concat(p.name.split(".").pop()),D.next=10,o==null?void 0:o.put(ne,p,{headers:{"Content-Type":p.type}});case 10:d="https://apks.bzgames.cn/".concat(ne),k(!1),g(function(I){return[].concat(fn()(I),[{uid:p.uid,name:p.name,status:"done",url:d}])}),D.next=18;break;case 15:D.prev=15,D.t0=D.catch(3),ve.ZP.error("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25");case 18:return D.prev=18,k(!1),D.finish(18);case 21:D.next=24;break;case 23:ve.ZP.error("\u4E0A\u4F20\u6587\u4EF6\u7C7B\u578B\u9519\u8BEF");case 24:case"end":return D.stop()}},B,null,[[3,15,18,21]])}));return function(G){return T.apply(this,arguments)}}(),R=function(B){var G=(c||[]).filter(function(p){return p.url!==B.url});g(G)};return(0,e.jsx)(Fe.Z,{multiple:!0,fileList:c,onRemove:R,customRequest:E,disabled:$||!o,children:(0,e.jsx)(he.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(ye,{}),children:"\u9009\u62E9\u6587\u4EF6"})})},vn=hn,gn=function(n){var s=t.Z.useForm(),x=C()(s,1),a=x[0],y=(0,m.useState)(!1),$=C()(y,2),k=$[0],L=$[1],P=function(){a.submit()},o=function(){n.onCancel()},i=function(){var l=F()(u()().mark(function c(g){var E;return u()().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:if(g){T.next=3;break}return a.resetFields(),T.abrupt("return");case 3:return T.next=5,Q({appCode:g});case 5:E=T.sent,a.setFieldsValue(E.data);case 7:case"end":return T.stop()}},c)}));return function(g){return l.apply(this,arguments)}}();(0,m.useEffect)(function(){i(n.appCode),L(n.appCode!==void 0),n.appCode||a.resetFields()},[n.appCode]);var v=function(){var l=F()(u()().mark(function c(g){return u()().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return R.prev=0,R.next=3,we(g);case 3:R.next=8;break;case 5:return R.prev=5,R.t0=R.catch(0),R.abrupt("return");case 8:n.onSubmit();case 9:case"end":return R.stop()}},c,null,[[0,5]])}));return function(g){return l.apply(this,arguments)}}();return(0,e.jsx)(Ae.Z,{title:"\u7F16\u8F91",visible:n.updateModalOpen,onOk:P,onCancel:o,children:(0,e.jsxs)(t.Z,{labelCol:{span:5},wrapperCol:{span:18},form:a,onFinish:v,children:[(0,e.jsx)(t.Z.Item,{name:"id",style:{display:"none"},children:(0,e.jsx)(f.Z,{type:"hidden"})}),(0,e.jsx)(t.Z.Item,{name:"code",style:{display:"none"},children:(0,e.jsx)(f.Z,{type:"hidden"})}),(0,e.jsx)(t.Z.Item,{label:"\u5E94\u7528\u540D",name:"name",children:(0,e.jsx)(f.Z,{})}),(0,e.jsx)(t.Z.Item,{label:"\u5E94\u7528icon",name:"img",children:(0,e.jsxs)(f.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"img",noStyle:!0,children:(0,e.jsx)(f.Z,{})}),(0,e.jsx)(Xe,{onUploadSuccess:function(c){a.setFieldsValue({img:c})}})]})}),(0,e.jsx)(t.Z.Item,{label:"\u4E0B\u8F7D\u5730\u5740",name:"url",children:(0,e.jsxs)(f.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"url",noStyle:!0,children:(0,e.jsx)(f.Z,{})}),(0,e.jsx)(Xe,{url:n.appCode,onUploadSuccess:function(c,g){a.setFieldsValue({url:c,fileSize:(0,_e.aV)(g.size)})}})]})}),(0,e.jsx)(t.Z.Item,{label:"app\u7248\u672C",name:"version",children:(0,e.jsx)(f.Z,{})}),(0,e.jsx)(t.Z.Item,{label:"\u83DC\u5355\u680F\u4E2D",name:"hide",children:(0,e.jsx)(Ne.Z,{options:[{label:"\u5C55\u793A",value:0},{label:"\u9690\u85CF",value:1}]})}),(0,e.jsx)(t.Z.Item,{label:"\u6E20\u9053",name:"channel",children:(0,e.jsx)(Ne.Z,{disabled:k,options:(0,_e.FG)()})}),(0,e.jsx)(t.Z.Item,{label:"app\u5927\u5C0F",name:"fileSize",children:(0,e.jsx)(f.Z,{disabled:!0})}),(0,e.jsx)(t.Z.Item,{label:"app\u4E0B\u8F7D\u6B21\u6570",name:"downloadTimes",children:(0,e.jsx)(f.Z,{disabled:!0})}),(0,e.jsx)(t.Z.Item,{label:"\u6240\u5C5E\u516C\u53F8",name:"author",children:(0,e.jsx)(f.Z,{})}),(0,e.jsx)(t.Z.Item,{label:"app\u5305\u540D",name:"packageName",children:(0,e.jsx)(f.Z,{})}),(0,e.jsx)(t.Z.Item,{label:"app\u7B80\u4ECB",name:"desc",children:(0,e.jsx)(f.Z.TextArea,{})}),(0,e.jsxs)(t.Z.Item,{label:"\u5E94\u7528\u622A\u56FE",name:"images",children:[(0,e.jsx)(vn,{value:[],onChange:function(c){var g=c.filter(function(E){return E.url}).map(function(E){return E.url}).filter(Boolean);g&&g.length>0&&a.setFieldsValue({images:g})}}),(0,e.jsx)("label",{style:{color:"gray"},children:"\u53EF\u591A\u9009\uFF0C\u4E0D\u4F20\u9ED8\u8BA4\u4F1A\u4F7F\u7528\u4E4B\u524D\u7684\u65E7\u6570\u636E"})]})]})})},Cn=gn,jn=function(n){var s=t.Z.useForm(),x=C()(s,1),a=x[0],y=function(){a.submit()},$=function(){n.onCancel()},k=function(){var P=F()(u()().mark(function o(i){var v;return u()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,w({appCode:i});case 2:v=c.sent,a.setFieldsValue(v.data);case 4:case"end":return c.stop()}},o)}));return function(i){return P.apply(this,arguments)}}();(0,m.useEffect)(function(){k(n.appCode)},[n.appCode]);var L=function(){var P=F()(u()().mark(function o(i){return u()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.prev=0,l.next=3,J({appCode:n.appCode},i);case 3:l.next=8;break;case 5:return l.prev=5,l.t0=l.catch(0),l.abrupt("return");case 8:n.onSubmit();case 9:case"end":return l.stop()}},o,null,[[0,5]])}));return function(i){return P.apply(this,arguments)}}();return(0,e.jsx)(Ae.Z,{title:"\u7F16\u8F91",visible:n.updateModalOpen,onOk:y,onCancel:$,children:(0,e.jsxs)(t.Z,{labelCol:{span:8},wrapperCol:{span:16},form:a,onFinish:L,children:[(0,e.jsx)(t.Z.Item,{name:"umengAppKeyAli",label:"AppKey(\u963F\u91CC\u4E91)",children:(0,e.jsx)(f.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"umengAppSecret",label:"AppSecret(\u963F\u91CC\u4E91)",children:(0,e.jsx)(f.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"umengAppCode",label:"AppCode(\u963F\u91CC\u4E91)",children:(0,e.jsx)(f.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"umengAppKey",label:"AppKey(\u53CB\u76DF)",children:(0,e.jsx)(f.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"linkId",label:"linkId(\u53CB\u76DF)",children:(0,e.jsx)(f.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"bindWx",label:"\u7ED1\u5B9A\u5FAE\u4FE1\u8D26\u53F7",children:(0,e.jsx)(We.Z,{})})]})})},xn=jn,yn=function(){var n=(0,m.useState)(!1),s=C()(n,2),x=s[0],a=s[1],y=(0,m.useState)([]),$=C()(y,2),k=$[0],L=$[1],P=(0,m.useState)([]),o=C()(P,2),i=o[0],v=o[1],l=(0,m.useState)(!1),c=C()(l,2),g=c[0],E=c[1],R=(0,m.useState)(!1),T=C()(R,2),B=T[0],G=T[1],p=(0,m.useState)(!1),z=C()(p,2),ne=z[0],d=z[1],V=(0,m.useState)(),D=C()(V,2),I=D[0],q=D[1],Zn=[{title:"\u5E94\u7528\u540D",dataIndex:"name",copyable:!0,hideInSearch:!0},{title:"\u56FE\u7247",dataIndex:"img",hideInSearch:!0,renderText:function(M){return(0,e.jsx)("img",{style:{width:"40px"},src:M})}},{title:"code",dataIndex:"code",copyable:!0,hideInSearch:!0},{title:"\u5E94\u7528\u5E02\u573A",dataIndex:"code",copyable:!0,hideInSearch:!0,renderText:function(M){return(0,e.jsxs)("a",{rel:"noreferrer",target:"_blank",href:"https://pomelo.bzgames.cn/market/"+M,children:["https://pomelo.bzgames.cn/market/",M]})}},{title:"\u4E0B\u8F7D\u5730\u5740",dataIndex:"url",width:200,hideInSearch:!0,renderText:function(M){return(0,e.jsx)(ee.Z,{overlayInnerStyle:{padding:0},content:(0,e.jsx)(N.Z,{value:M||"",bordered:!1}),children:(0,e.jsx)("a",{style:{wordBreak:"break-word"},children:M})})}},{title:"secret",dataIndex:"secret",ellipsis:!0,copyable:!0,hideInSearch:!0},{title:"\u83DC\u5355\u680F\u4E2D",dataIndex:"hide",hideInSearch:!0,renderText:function(M){return M===0?(0,e.jsx)(xe.Z,{color:"blue",children:"\u5C55\u793A"}):(0,e.jsx)(xe.Z,{color:"purple",children:"\u9690\u85CF"})}},{title:"\u6E20\u9053",dataIndex:"channel",hideInSearch:!0,renderText:function(M){var ae=(0,_e.FG)(),je=ae.find(function(le){return le.value===M});return je?je.label:M}},{title:"\u64CD\u4F5C",width:100,hideInSearch:!0,renderText:function(M){return(0,e.jsxs)(en.Z,{gap:"small",wrap:!0,children:[(0,e.jsx)(xe.Z,{color:"magenta",onClick:function(){q(M.code),a(!0)},children:"\u7F16\u8F91"},"edit"),M.enableCash&&(0,e.jsx)(xe.Z,{color:"orange",onClick:function(){q(M.code),G(!0)},children:"\u53CB\u76DF\u914D\u7F6E"},"ediyUMeng"),(0,e.jsx)(xe.Z,{color:"#2db7f5",onClick:function(){q(M.code),E(!0)},children:"\u652F\u4ED8\u5B9D\u914D\u7F6E"},"ediyAliPay"),M.enableCash&&(0,e.jsx)(xe.Z,{color:"cyan",onClick:function(){q(M.code),d(!0)},children:"\u8F6C\u8D26"},"ediyTransfer")]})}}],Ve=function(){var K=F()(u()().mark(function M(){var ae;return u()().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return le.next=2,(0,b.ln)();case 2:ae=le.sent,ae.data&&(L(ae.data),v(ae.data));case 4:case"end":return le.stop()}},M)}));return function(){return K.apply(this,arguments)}}();(0,m.useEffect)(function(){Ve()},[]);var An=function(M){var ae=k.filter(function(je){var le;return je==null||(le=je.name)===null||le===void 0?void 0:le.includes(M)});v(ae)};return(0,e.jsxs)(re._z,{children:[(0,e.jsx)(he.ZP,{style:{marginBottom:"20px"},onClick:function(){a(!0),q(void 0)},children:"\u65B0\u5EFA\u5E94\u7528"}),(0,e.jsx)(H.Z,{search:{defaultCollapsed:!1,optionRender:function(){return[(0,e.jsx)(f.Z,{placeholder:"\u8BF7\u8F93\u5165\u5E94\u7528\u540D",onChange:function(ae){return An(ae.target.value)}},"name")]}},onReset:function(){v(k)},columns:Zn,dataSource:i}),I&&g&&(0,e.jsx)(sn,{updateModalOpen:g,appCode:I||"",onCancel:function(){return E(!1)},onSubmit:function(){E(!1),Ve()}}),I&&B&&(0,e.jsx)(xn,{updateModalOpen:B,appCode:I||"",onCancel:function(){return G(!1)},onSubmit:function(){G(!1)}}),(0,e.jsx)(Cn,{updateModalOpen:x,appCode:I,onCancel:function(){return a(!1)},onSubmit:function(){a(!1),Ve()}}),I&&ne&&(0,e.jsx)(cn,{appCode:I||"",onCancel:function(){return d(!1)},onSubmit:function(){d(!1)}})]})},Fn=yn,bn=function(){var n=(0,O.useModel)("@@initialState"),s=n.initialState,x=s==null?void 0:s.currentUser,a=x&&x.role&&x.role<2;return(0,e.jsx)(re._z,{children:a?(0,e.jsx)(Fn,{}):(0,e.jsx)(qe,{})})},Sn=bn},4575:function(Ee,ie,r){r.d(ie,{XM:function(){return H},ai:function(){return C},nr:function(){return S},re:function(){return m},vE:function(){return N}});var re=r(15009),O=r.n(re),oe=r(97857),u=r.n(oe),ce=r(99289),F=r.n(ce),W=r(35312);function C(U){return b.apply(this,arguments)}function b(){return b=F()(O()().mark(function U(X){return O()().wrap(function(Q){for(;;)switch(Q.prev=Q.next){case 0:return Q.abrupt("return",(0,W.request)("/api/superAdmin/evilAppList",u()({method:"GET"},X||{})));case 1:case"end":return Q.stop()}},U)})),b.apply(this,arguments)}function H(U,X){return ee.apply(this,arguments)}function ee(){return ee=F()(O()().mark(function U(X,te){return O()().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return _.abrupt("return",(0,W.request)("/api/superAdmin/saveEvilApp",u()({method:"POST",headers:{"Content-Type":"application/json"},data:X},te||{})));case 1:case"end":return _.stop()}},U)})),ee.apply(this,arguments)}function N(U,X){return f.apply(this,arguments)}function f(){return f=F()(O()().mark(function U(X,te){return O()().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return _.abrupt("return",(0,W.request)("/api/superAdmin/saveWhiteUser",u()({method:"POST",params:u()({},X)},te||{})));case 1:case"end":return _.stop()}},U)})),f.apply(this,arguments)}function m(U,X){return de.apply(this,arguments)}function de(){return de=F()(O()().mark(function U(X,te){return O()().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return _.abrupt("return",(0,W.request)("/api/superAdmin/transfer",u()({method:"POST",params:u()({},X)},te||{})));case 1:case"end":return _.stop()}},U)})),de.apply(this,arguments)}function S(U){return se.apply(this,arguments)}function se(){return se=F()(O()().mark(function U(X){return O()().wrap(function(Q){for(;;)switch(Q.prev=Q.next){case 0:return Q.abrupt("return",(0,W.request)("/api/superAdmin/whiteUserList",u()({method:"GET"},X||{})));case 1:case"end":return Q.stop()}},U)})),se.apply(this,arguments)}},52043:function(Ee,ie,r){r.d(ie,{E7:function(){return O},FG:function(){return re},RQ:function(){return ce},XY:function(){return oe},aV:function(){return F},m0:function(){return u}});var re=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(C){var b=[];if(!C)return b;for(var H=C>>1,ee=["\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"],N=0,f=ee;N>=1}return b},oe=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"}]},u=function(C){var b=new Date(C),H=b.getFullYear().toString().padStart(4,"0"),ee=(b.getMonth()+1).toString().padStart(2,"0"),N=b.getDate().toString().padStart(2,"0");return H+ee+N},ce=function(C,b){var H=C.toString();return H.padStart(b,"0")},F=function(C){var b=C;return b<1024?b+" B":(b=parseFloat((b/1024).toFixed(2)),b<1024?b+" KB":(b=parseFloat((b/1024).toFixed(2)),b+" MB"))}},32400:function(Ee,ie,r){r.d(ie,{p:function(){return W}});var re=r(15009),O=r.n(re),oe=r(99289),u=r.n(oe),ce=r(8322),F=r.n(ce);function W(b){return C.apply(this,arguments)}function C(){return C=u()(O()().mark(function b(H){return O()().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:return N.abrupt("return",new Promise(function(f,m){var de=new(F()).ArrayBuffer,S=new FileReader;S.onload=function(se){var U;de.append((U=se.target)===null||U===void 0?void 0:U.result),f(de.end())},S.onerror=function(se){m(se)},S.readAsArrayBuffer(H)}));case 1:case"end":return N.stop()}},b)})),C.apply(this,arguments)}},86250:function(Ee,ie,r){r.d(ie,{Z:function(){return Se}});var re=r(67294),O=r(93967),oe=r.n(O),u=r(98423),ce=r(98065),F=r(53124),W=r(91945),C=r(45503);const b=["wrap","nowrap","wrap-reverse"],H=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],ee=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],N=(j,Z)=>{const w=Z.wrap===!0?"wrap":Z.wrap;return{[`${j}-wrap-${w}`]:w&&b.includes(w)}},f=(j,Z)=>{const w={};return ee.forEach(A=>{w[`${j}-align-${A}`]=Z.align===A}),w[`${j}-align-stretch`]=!Z.align&&!!Z.vertical,w},m=(j,Z)=>{const w={};return H.forEach(A=>{w[`${j}-justify-${A}`]=Z.justify===A}),w};function de(j,Z){return oe()(Object.assign(Object.assign(Object.assign({},N(j,Z)),f(j,Z)),m(j,Z)))}var S=de;const se=j=>{const{componentCls:Z}=j;return{[Z]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},U=j=>{const{componentCls:Z}=j;return{[Z]:{"&-gap-small":{gap:j.flexGapSM},"&-gap-middle":{gap:j.flexGap},"&-gap-large":{gap:j.flexGapLG}}}},X=j=>{const{componentCls:Z}=j,w={};return b.forEach(A=>{w[`${Z}-wrap-${A}`]={flexWrap:A}}),w},te=j=>{const{componentCls:Z}=j,w={};return ee.forEach(A=>{w[`${Z}-align-${A}`]={alignItems:A}}),w},Q=j=>{const{componentCls:Z}=j,w={};return H.forEach(A=>{w[`${Z}-justify-${A}`]={justifyContent:A}}),w},_=()=>({});var we=(0,W.I$)("Flex",j=>{const{paddingXS:Z,padding:w,paddingLG:A}=j,J=(0,C.TS)(j,{flexGapSM:Z,flexGap:w,flexGapLG:A});return[se(J),U(J),X(J),te(J),Q(J)]},_,{resetStyle:!1}),be=function(j,Z){var w={};for(var A in j)Object.prototype.hasOwnProperty.call(j,A)&&Z.indexOf(A)<0&&(w[A]=j[A]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var J=0,A=Object.getOwnPropertySymbols(j);J{const{prefixCls:w,rootClassName:A,className:J,style:Ze,flex:De,gap:pe,children:Ge,vertical:Ce=!1,component:ge="div"}=j,Oe=be(j,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:ue,direction:Te,getPrefixCls:Be}=re.useContext(F.E_),Y=Be("flex",w),[Ie,Me,Ue]=we(Y),Re=Ce!=null?Ce:ue==null?void 0:ue.vertical,$e=oe()(J,A,ue==null?void 0:ue.className,Y,Me,Ue,S(Y,j),{[`${Y}-rtl`]:Te==="rtl",[`${Y}-gap-${pe}`]:(0,ce.n)(pe),[`${Y}-vertical`]:Re}),t=Object.assign(Object.assign({},ue==null?void 0:ue.style),Ze);return De&&(t.flex=De),pe&&!(0,ce.n)(pe)&&(t.gap=pe),Ie(re.createElement(ge,Object.assign({ref:Z,className:$e,style:t},(0,u.Z)(Oe,["justify","wrap","align"])),Ge))})}}]); diff --git a/dist/p__App__AppManagement.f548d89d.async.js b/dist/p__App__AppManagement.f548d89d.async.js deleted file mode 100644 index 4b0bd16..0000000 --- a/dist/p__App__AppManagement.f548d89d.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[731],{82339:function(Ae,le,r){r.r(le),r.d(le,{default:function(){return xn}});var Y=r(90930),G=r(35312),se=r(15009),s=r.n(se),ie=r(99289),w=r.n(ie),q=r(5574),C=r.n(q),b=r(48357),Q=r(67539),ee=r(55241),H=r(10397),x=r(55102),h=r(67294),me=r(97857),E=r.n(me);function de(f,n){return ne.apply(this,arguments)}function ne(){return ne=w()(s()().mark(function f(n,u){return s()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,G.request)("/api/admin/app/aliPayConfig",E()({method:"GET",params:E()({},n)},u||{})));case 1:case"end":return a.stop()}},f)})),ne.apply(this,arguments)}function Ee(f,n,u){return ge.apply(this,arguments)}function ge(){return ge=w()(s()().mark(function f(n,u,g){return s()().wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return j.abrupt("return",(0,G.request)("/api/admin/app/aliPayConfig",E()({method:"POST",headers:{"Content-Type":"application/json"},params:E()({},n),data:u},g||{})));case 1:case"end":return j.stop()}},f)})),ge.apply(this,arguments)}function Ie(f,n){return Ce.apply(this,arguments)}function Ce(){return Ce=w()(s()().mark(function f(n,u){return s()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,G.request)("/api/admin/app/basicConfig",E()({method:"GET",params:E()({},n)},u||{})));case 1:case"end":return a.stop()}},f)})),Ce.apply(this,arguments)}function we(f,n){return xe.apply(this,arguments)}function xe(){return xe=w()(s()().mark(function f(n,u){return s()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,G.request)("/api/admin/app/basicConfig",E()({method:"POST",headers:{"Content-Type":"application/json"},data:n},u||{})));case 1:case"end":return a.stop()}},f)})),xe.apply(this,arguments)}function Ve(f,n){return je.apply(this,arguments)}function je(){return je=w()(s()().mark(function f(n,u){return s()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,G.request)("/api/admin/app/normalConfig",E()({method:"GET",params:E()({},n)},u||{})));case 1:case"end":return a.stop()}},f)})),je.apply(this,arguments)}function v(f,n,u){return y.apply(this,arguments)}function y(){return y=w()(s()().mark(function f(n,u,g){return s()().wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return j.abrupt("return",(0,G.request)("/api/admin/app/normalConfig",E()({method:"POST",headers:{"Content-Type":"application/json"},params:E()({},n),data:u},g||{})));case 1:case"end":return j.stop()}},f)})),y.apply(this,arguments)}function I(f,n){return F.apply(this,arguments)}function F(){return F=w()(s()().mark(function f(n,u){return s()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,G.request)("/api/admin/app/uMengConfig",E()({method:"GET",params:E()({},n)},u||{})));case 1:case"end":return a.stop()}},f)})),F.apply(this,arguments)}function z(f,n,u){return ye.apply(this,arguments)}function ye(){return ye=w()(s()().mark(function f(n,u,g){return s()().wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return j.abrupt("return",(0,G.request)("/api/admin/app/uMengConfig",E()({method:"POST",headers:{"Content-Type":"application/json"},params:E()({},n),data:u},g||{})));case 1:case"end":return j.stop()}},f)})),ye.apply(this,arguments)}function De(f,n){return ae.apply(this,arguments)}function ae(){return ae=_asyncToGenerator(_regeneratorRuntime().mark(function f(n,u){return _regeneratorRuntime().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",request("/api/admin/app/wxConfig",_objectSpread({method:"GET",params:_objectSpread({},n)},u||{})));case 1:case"end":return a.stop()}},f)})),ae.apply(this,arguments)}function Ge(f,n,u){return pe.apply(this,arguments)}function pe(){return pe=_asyncToGenerator(_regeneratorRuntime().mark(function f(n,u,g){return _regeneratorRuntime().wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return j.abrupt("return",request("/api/admin/app/wxConfig",_objectSpread({method:"POST",headers:{"Content-Type":"application/json"},params:_objectSpread({},n),data:u},g||{})));case 1:case"end":return j.stop()}},f)})),pe.apply(this,arguments)}var oe=r(1413),Oe=r(93696),X=r(91146),Pe=function(n,u){return h.createElement(X.Z,(0,oe.Z)((0,oe.Z)({},n),{},{ref:u,icon:Oe.Z}))},Be=h.forwardRef(Pe),W=Be,Se=r(3089),Te=r(42110),Me=function(n,u){return h.createElement(X.Z,(0,oe.Z)((0,oe.Z)({},n),{},{ref:u,icon:Te.Z}))},Re=h.forwardRef(Me),Ue=Re,t=r(8232),Ze=r(17788),Ke=r(72269),re=r(37804),te=r(83062),$e=r(71230),ue=r(14726),ke=r(15746),e=r(85893),Qe=function(n){var u=t.Z.useForm(),g=C()(u,1),a=g[0],j=function(){a.submit()},$=function(){n.onCancel()},k=function(){var i=w()(s()().mark(function Z(l){var c;return s()().wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return S.next=2,Ve({appCode:l});case 2:c=S.sent,a.setFieldsValue(c.data);case 4:case"end":return S.stop()}},Z)}));return function(l){return i.apply(this,arguments)}}();(0,h.useEffect)(function(){k(n.appCode)},[n.appCode]);var K=function(){var i=w()(s()().mark(function Z(l){return s()().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.prev=0,m.next=3,v({appCode:n.appCode},l);case 3:m.next=8;break;case 5:return m.prev=5,m.t0=m.catch(0),m.abrupt("return");case 8:n.onSubmit();case 9:case"end":return m.stop()}},Z,null,[[0,5]])}));return function(l){return i.apply(this,arguments)}}(),D={labelCol:{xs:{span:24},sm:{span:6}},wrapperCol:{xs:{span:24},sm:{span:20}}},p={wrapperCol:{xs:{span:24,offset:10},sm:{span:20,offset:6}}};return(0,e.jsx)(Ze.Z,{title:"\u7F16\u8F91",visible:n.updateModalOpen,onOk:j,onCancel:$,children:(0,e.jsxs)(t.Z,{labelCol:{span:6},wrapperCol:{span:18},form:a,onFinish:K,children:[(0,e.jsx)(t.Z.Item,{name:"enablePangolin",label:"\u542F\u7528\u7A7F\u5C71\u7532",children:(0,e.jsx)(Ke.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"pangolinDailyLimit",label:"\u7A7F\u5C71\u7532\u6BCF\u65E5\u6B21\u6570",children:(0,e.jsx)(re.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"tencentDailyLimit",label:"\u5E7F\u544A\u6BCF\u65E5\u6B21\u6570",children:(0,e.jsx)(re.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"videoDuration",label:"\u89C6\u9891\u5E7F\u544A\u95F4\u9694(\u79D2)",children:(0,e.jsx)(re.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"popUpDuration",label:"\u63D2\u9875\u5E7F\u544A\u95F4\u9694(\u79D2)",children:(0,e.jsx)(re.Z,{})}),(0,e.jsx)(t.Z.List,{name:"moneyLadder",children:function(Z,l){var c=l.add,m=l.remove;return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(t.Z.Item,{label:(0,e.jsxs)(e.Fragment,{children:["\u63D0\u73B0\u68AF\u5EA6",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(te.Z,{title:"\u7528\u6237\u53EF\u9009\u7684\u63D0\u73B0\u91D1\u989D\u6863\u4F4D\uFF0C\u5355\u4F4D\u5206",children:(0,e.jsx)(W,{})})})]}),required:!1,children:[(0,e.jsx)($e.Z,{children:Z.map(function(S){return(0,e.jsx)(t.Z.Item,{label:"",required:!1,children:(0,e.jsxs)($e.Z,{align:"stretch",style:{marginRight:10},children:[(0,e.jsx)(t.Z.Item,E()(E()({},S),{},{validateTrigger:["onChange","onBlur"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u91D1\u989D\u6216\u8005\u5220\u9664"}],noStyle:!0,children:(0,e.jsx)(re.Z,{placeholder:"\u91D1\u989D\uFF0C\u5355\u4F4D\u5206"})})),(0,e.jsx)(Se.Z,{style:{marginLeft:4},className:"dynamic-delete-button",onClick:function(){return m(S.name)}})]})},S.key)})}),(0,e.jsx)(t.Z.Item,E()(E()({},p),{},{children:(0,e.jsx)(ue.ZP,{type:"dashed",onClick:function(){return c()},icon:(0,e.jsx)(Ue,{}),children:"\u6DFB\u52A0\u63D0\u73B0\u68AF\u5EA6"})}))]})})}}),(0,e.jsx)(t.Z.Item,{name:"noAuditMoney",label:(0,e.jsxs)(e.Fragment,{children:["\u4E0D\u5BA1\u6838\u95E8\u69DB",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(te.Z,{title:"\u4F4E\u4E8E\u6B64\u91D1\u989D\u7684\u63D0\u73B0\u7533\u8BF7\u5C06\u4F1A\u81EA\u52A8\u5BA1\u6838\u901A\u8FC7\uFF0C\u5355\u4F4D\u5206",children:(0,e.jsx)(W,{})})})]}),children:(0,e.jsx)(re.Z,{placeholder:"\u5355\u4F4D\u5206",style:{width:"60%"}})}),(0,e.jsx)(t.Z.Item,{name:"qqUrl",label:"QQ\u7FA4\u94FE\u63A5",children:(0,e.jsx)(x.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"dayLimit",label:(0,e.jsxs)(e.Fragment,{children:["\u6BCF\u65E5\u63D0\u73B0\u6B21\u6570",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(te.Z,{title:"\u540C\u4E2A\u8D26\u53F7\u6216\u540C\u4E2A\u652F\u4ED8\u5B9D\u6BCF\u65E5\u6700\u591A\u63D0\u73B0\u7684\u6B21\u6570",children:(0,e.jsx)(W,{})})})]}),children:(0,e.jsx)(re.Z,{style:{width:"60%"}})}),(0,e.jsx)(t.Z.Item,{name:"maxIncomeEachVideo",label:(0,e.jsxs)(e.Fragment,{children:["\u5355\u6761\u6536\u76CA\u4E0A\u9650",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(te.Z,{title:"\u770B\u4E00\u6761\u89C6\u9891\u6700\u591A\u80FD\u83B7\u5F97\u7684\u94B1\uFF0C\u5355\u4F4D\u5206",children:(0,e.jsx)(W,{})})})]}),children:(0,e.jsx)(re.Z,{style:{width:"60%"}})}),(0,e.jsx)(t.Z.Item,{name:"defaultRate",label:(0,e.jsx)(e.Fragment,{children:"\u9ED8\u8BA4\u5206\u6210\u6BD4\u4F8B"}),children:(0,e.jsx)(re.Z,{style:{width:"60%"}})}),(0,e.jsx)(t.Z.List,{name:"dayRates",children:function(Z,l){var c=l.add,m=l.remove;return(0,e.jsxs)(e.Fragment,{children:[Z.map(function(S,M){var B=S.key,T=S.name;return(0,e.jsx)(e.Fragment,{children:(0,h.createElement)(t.Z.Item,E()(E()({},M===0?D:p),{},{label:M===0?"\u7279\u6B8A\u65E5\u5206\u6210\u6BD4\u4F8B":"",required:!1,key:B}),(0,e.jsxs)($e.Z,{align:"stretch",gutter:16,children:[(0,e.jsx)(ke.Z,{span:8,children:(0,e.jsx)(t.Z.Item,{name:[T,"day"],rules:[{required:!0}],children:(0,e.jsx)(x.Z,{placeholder:"Day"})})}),(0,e.jsx)(ke.Z,{span:8,children:(0,e.jsx)(t.Z.Item,{name:[T,"rate"],rules:[{required:!0}],children:(0,e.jsx)(x.Z,{placeholder:"Rate"})})}),(0,e.jsx)(ke.Z,{children:(0,e.jsx)(Se.Z,{onClick:function(){return m(T)}})})]},B))})}),(0,e.jsx)(t.Z.Item,E()(E()({},p),{},{children:(0,e.jsx)(ue.ZP,{type:"dashed",onClick:function(){return c()},block:!0,children:"\u6DFB\u52A0\u7279\u6B8A\u65E5\u5206\u6210\u6BD4\u4F8B"})}))]})}})]})})},Xe=Qe,Je=function(){var n=(0,h.useState)(!1),u=C()(n,2),g=u[0],a=u[1],j=(0,h.useState)([]),$=C()(j,2),k=$[0],K=$[1],D=(0,h.useState)([]),p=C()(D,2),i=p[0],Z=p[1],l=(0,G.useModel)("@@initialState"),c=l.initialState,m=c==null?void 0:c.currentUser,S=m&&m.role&&m.role<=3,M=(0,h.useState)(),B=C()(M,2),T=B[0],L=B[1],d=function(R){var A=k.filter(function(O){var P;return O==null||(P=O.name)===null||P===void 0?void 0:P.includes(R)});Z(A)},N=[{title:"\u5E94\u7528\u540D",dataIndex:"name",copyable:!0,hideInSearch:!0},{title:"\u5E94\u7528\u56FE\u7247",dataIndex:"img",hideInSearch:!0,renderText:function(R){return(0,e.jsx)("img",{style:{width:"40px"},src:R})}},{title:"code",dataIndex:"code",copyable:!0,hideInSearch:!0},{title:"\u4E0B\u8F7D\u5730\u5740",dataIndex:"url",width:200,hideInSearch:!0,renderText:function(R){return(0,e.jsx)(ee.Z,{overlayInnerStyle:{padding:0},content:(0,e.jsx)(H.Z,{value:R||"",bordered:!1}),children:(0,e.jsx)("a",{style:{wordBreak:"break-word"},children:R})})}},{title:"\u64CD\u4F5C",width:80,hideInSearch:!0,renderText:function(R){if(R.enableCash&&S)return(0,e.jsx)("a",{onClick:function(){L(R.code),a(!0)},children:"\u7F16\u8F91"},"edit")}}],V=function(){var o=w()(s()().mark(function R(){var A;return s()().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return P.next=2,(0,b.ln)();case 2:A=P.sent,A.data&&(K(A.data),Z(A.data));case 4:case"end":return P.stop()}},R)}));return function(){return o.apply(this,arguments)}}();return(0,h.useEffect)(function(){V()},[]),(0,e.jsxs)(Y._z,{children:[(0,e.jsx)(Q.Z,{search:{defaultCollapsed:!1,optionRender:function(){return[(0,e.jsx)(x.Z,{placeholder:"\u8BF7\u8F93\u5165\u5E94\u7528\u540D",onChange:function(A){return d(A.target.value)}},"name")]}},onReset:function(){Z(k)},columns:N,dataSource:i}),T&&(0,e.jsx)(Xe,{updateModalOpen:g,appCode:T||"",onCancel:function(){return a(!1)},onSubmit:function(){a(!1)}})]})},Ye=Je,Le=r(52043),Fe=r(66309),qe=r(86250),_e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},en=_e,nn=function(n,u){return h.createElement(X.Z,(0,oe.Z)((0,oe.Z)({},n),{},{ref:u,icon:en}))},an=h.forwardRef(nn),he=an,ve=r(66476),be=x.Z.TextArea,rn=function(n){var u=t.Z.useForm(),g=C()(u,1),a=g[0],j=function(){a.submit()},$=function(){n.onCancel()},k=function(){var D=w()(s()().mark(function p(i){var Z;return s()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,de({appCode:i});case 2:Z=c.sent,a.setFieldsValue(Z.data);case 4:case"end":return c.stop()}},p)}));return function(i){return D.apply(this,arguments)}}();(0,h.useEffect)(function(){k(n.appCode)},[n.appCode]);var K=function(){var D=w()(s()().mark(function p(i){return s()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.prev=0,l.next=3,Ee({appCode:n.appCode},i);case 3:l.next=8;break;case 5:return l.prev=5,l.t0=l.catch(0),l.abrupt("return");case 8:n.onSubmit();case 9:case"end":return l.stop()}},p,null,[[0,5]])}));return function(i){return D.apply(this,arguments)}}();return(0,e.jsx)(Ze.Z,{title:"\u7F16\u8F91",visible:n.updateModalOpen,onOk:j,onCancel:$,children:(0,e.jsxs)(t.Z,{labelCol:{span:8},wrapperCol:{span:18},form:a,onFinish:K,children:[(0,e.jsx)(t.Z.Item,{name:"aliPayAppId",label:(0,e.jsxs)(e.Fragment,{children:["AppId",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(te.Z,{title:"\u652F\u4ED8\u5B9D\u5F00\u653E\u5E73\u53F0\u83B7\u53D6\uFF0Chttps://open.alipay.com/develop/manage",children:(0,e.jsx)(W,{})})})]}),children:(0,e.jsx)(x.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"aliPayPrivateKey",label:(0,e.jsxs)(e.Fragment,{children:["\u5E94\u7528\u79C1\u94A5RSA2048",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(te.Z,{title:"\u5BC6\u94A5\u5DE5\u5177\u751F\u6210",children:(0,e.jsx)(W,{})})})]}),children:(0,e.jsxs)(x.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"aliPayPrivateKey",noStyle:!0,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6216\u9009\u62E9\u5E94\u7528\u79C1\u94A5!"}],children:(0,e.jsx)(be,{autoSize:{maxRows:6}})}),(0,e.jsx)(ve.Z,{name:"file",multiple:!1,onChange:function(p){if(p.file.status!=="uploading"){var i=new FileReader;i.onload=function(){a.setFieldsValue({aliPayPrivateKey:i.result})},i.readAsText(p.file.originFileObj)}},showUploadList:!1,style:{width:"100px"},children:(0,e.jsx)(ue.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(he,{}),children:"\u9009\u62E9\u6587\u4EF6"})})]})}),(0,e.jsx)(t.Z.Item,{name:"aliPayAppCert",label:(0,e.jsxs)(e.Fragment,{children:["appCertPublicKey",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(te.Z,{title:"\u652F\u4ED8\u5B9D\u5F00\u653E\u5E73\u53F0\u4E0B\u8F7D",children:(0,e.jsx)(W,{})})})]}),children:(0,e.jsxs)(x.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"aliPayAppCert",noStyle:!0,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6216\u9009\u62E9appCertPublicKey!"}],children:(0,e.jsx)(be,{autoSize:{maxRows:6}})}),(0,e.jsx)(ve.Z,{name:"file",multiple:!1,onChange:function(p){if(p.file.status!=="uploading"){var i=new FileReader;i.onload=function(){a.setFieldsValue({aliPayAppCert:i.result})},i.readAsText(p.file.originFileObj)}},showUploadList:!1,style:{width:"100px"},children:(0,e.jsx)(ue.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(he,{}),children:"\u9009\u62E9\u6587\u4EF6"})})]})}),(0,e.jsx)(t.Z.Item,{name:"aliPayRootCert",label:(0,e.jsxs)(e.Fragment,{children:["alipayRootCert",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(te.Z,{title:"\u652F\u4ED8\u5B9D\u5F00\u653E\u5E73\u53F0\u4E0B\u8F7D",children:(0,e.jsx)(W,{})})})]}),children:(0,e.jsxs)(x.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"aliPayRootCert",noStyle:!0,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6216\u9009\u62E9alipayRootCert!"}],children:(0,e.jsx)(be,{autoSize:{maxRows:6}})}),(0,e.jsx)(ve.Z,{name:"file",multiple:!1,onChange:function(p){if(p.file.status!=="uploading"){var i=new FileReader;i.onload=function(){a.setFieldsValue({aliPayRootCert:i.result})},i.readAsText(p.file.originFileObj)}},showUploadList:!1,style:{width:"100px"},children:(0,e.jsx)(ue.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(he,{}),children:"\u9009\u62E9\u6587\u4EF6"})})]})}),(0,e.jsx)(t.Z.Item,{name:"aliPayPublicCert",label:(0,e.jsxs)(e.Fragment,{children:["alipayCertPublicKey",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(te.Z,{title:"\u652F\u4ED8\u5B9D\u5F00\u653E\u5E73\u53F0\u4E0B\u8F7D",children:(0,e.jsx)(W,{})})})]}),children:(0,e.jsxs)(x.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"aliPayPublicCert",noStyle:!0,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6216\u9009\u62E9alipayCertPublicKey!"}],children:(0,e.jsx)(be,{autoSize:{maxRows:6}})}),(0,e.jsx)(ve.Z,{name:"file",multiple:!1,onChange:function(p){if(p.file.status!=="uploading"){var i=new FileReader;i.onload=function(){a.setFieldsValue({aliPayPublicCert:i.result})},i.readAsText(p.file.originFileObj)}},showUploadList:!1,style:{width:"100px"},children:(0,e.jsx)(ue.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(he,{}),children:"\u9009\u62E9\u6587\u4EF6"})})]})})]})})},tn=rn,Ne=r(34041),ze=r(32400),un=r(56448),We=r.n(un),ce=r(2453),ln=function(n){var u=n.onUploadSuccess,g=n.onUploadError,a=n.url,j=(0,h.useState)(!1),$=C()(j,2),k=$[0],K=$[1],D=(0,h.useState)(null),p=C()(D,2),i=p[0],Z=p[1],l=(0,h.useState)([]),c=C()(l,2),m=c[0],S=c[1];(0,h.useEffect)(function(){function B(){return T.apply(this,arguments)}function T(){return T=w()(s()().mark(function L(){var d,N;return s()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,o.next=3,(0,b.po)();case 3:if(d=o.sent,!(!d.data||!d.data.accessKeySecret||!d.data.accessKeyId)){o.next=7;break}return ce.ZP.error("\u521D\u59CB\u5316\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"),o.abrupt("return");case 7:N=new(We())({region:"oss-cn-beijing",accessKeyId:d.data.accessKeyId,accessKeySecret:d.data.accessKeySecret,stsToken:d.data.securityToken,bucket:d.data.bucket}),Z(N),o.next=15;break;case 11:o.prev=11,o.t0=o.catch(0),ce.ZP.error("\u521D\u59CB\u5316 OSS \u5BA2\u6237\u7AEF\u5931\u8D25"),g&&g(o.t0);case 15:case"end":return o.stop()}},L,null,[[0,11]])})),T.apply(this,arguments)}B()},[g]);var M=function(){var B=w()(s()().mark(function T(L){var d,N,V,o,R;return s()().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:if(d=L.file,!(d instanceof File)){O.next=31;break}if(K(!0),S([{uid:d.uid,name:d.name,status:"uploading"}]),O.prev=4,N=d.name.split(".").pop(),a){O.next=13;break}return O.next=9,(0,ze.p)(d);case 9:o=O.sent,V="matrix/".concat(o,".").concat(N),O.next=14;break;case 13:V="matrix/".concat(a,".").concat(N);case 14:return O.next=16,i==null?void 0:i.put(V,d,{headers:{"Content-Type":d.type}});case 16:R="https://apks.bzgames.cn/".concat(V),u&&u(R,d),K(!1),S([{uid:d.uid,name:d.name,status:"done",url:R}]),O.next=26;break;case 22:O.prev=22,O.t0=O.catch(4),ce.ZP.error("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25"),g&&g(O.t0);case 26:return O.prev=26,K(!1),O.finish(26);case 29:O.next=32;break;case 31:ce.ZP.error("\u4E0A\u4F20\u6587\u4EF6\u7C7B\u578B\u9519\u8BEF");case 32:case"end":return O.stop()}},T,null,[[4,22,26,29]])}));return function(L){return B.apply(this,arguments)}}();return(0,e.jsx)(ve.Z,{fileList:m,customRequest:M,disabled:k||!i,children:(0,e.jsx)(ue.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(he,{}),children:"\u9009\u62E9\u6587\u4EF6"})})},He=ln,sn=r(19632),on=r.n(sn),cn=function(n){var u=n.value,g=n.onChange,a=(0,h.useState)(!1),j=C()(a,2),$=j[0],k=j[1],K=(0,h.useState)(null),D=C()(K,2),p=D[0],i=D[1],Z=(0,h.useState)([]),l=C()(Z,2),c=l[0],m=l[1];(0,h.useEffect)(function(){u&&m(u)},[u]),(0,h.useEffect)(function(){function B(){return T.apply(this,arguments)}function T(){return T=w()(s()().mark(function L(){var d,N;return s()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,o.next=3,(0,b.po)();case 3:if(d=o.sent,!(!d.data||!d.data.accessKeySecret||!d.data.accessKeyId)){o.next=7;break}return ce.ZP.error("\u521D\u59CB\u5316\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"),o.abrupt("return");case 7:N=new(We())({region:"oss-cn-beijing",accessKeyId:d.data.accessKeyId,accessKeySecret:d.data.accessKeySecret,stsToken:d.data.securityToken,bucket:d.data.bucket}),i(N),o.next=14;break;case 11:o.prev=11,o.t0=o.catch(0),ce.ZP.error("\u521D\u59CB\u5316 OSS \u5BA2\u6237\u7AEF\u5931\u8D25");case 14:case"end":return o.stop()}},L,null,[[0,11]])})),T.apply(this,arguments)}B()},[]),(0,h.useEffect)(function(){g&&g(c)},[c]);var S=function(){var B=w()(s()().mark(function T(L){var d,N,V,o;return s()().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:if(d=L.file,!(d instanceof File)){A.next=23;break}return k(!0),A.prev=3,A.next=6,(0,ze.p)(d);case 6:return N=A.sent,V="matrix/".concat(N,".").concat(d.name.split(".").pop()),A.next=10,p==null?void 0:p.put(V,d,{headers:{"Content-Type":d.type}});case 10:o="https://apks.bzgames.cn/".concat(V),k(!1),m(function(O){return[].concat(on()(O),[{uid:d.uid,name:d.name,status:"done",url:o}])}),A.next=18;break;case 15:A.prev=15,A.t0=A.catch(3),ce.ZP.error("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25");case 18:return A.prev=18,k(!1),A.finish(18);case 21:A.next=24;break;case 23:ce.ZP.error("\u4E0A\u4F20\u6587\u4EF6\u7C7B\u578B\u9519\u8BEF");case 24:case"end":return A.stop()}},T,null,[[3,15,18,21]])}));return function(L){return B.apply(this,arguments)}}(),M=function(T){var L=(c||[]).filter(function(d){return d.url!==T.url});m(L)};return(0,e.jsx)(ve.Z,{multiple:!0,fileList:c,onRemove:M,customRequest:S,disabled:$||!p,children:(0,e.jsx)(ue.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(he,{}),children:"\u9009\u62E9\u6587\u4EF6"})})},dn=cn,pn=function(n){var u=t.Z.useForm(),g=C()(u,1),a=g[0],j=(0,h.useState)(!1),$=C()(j,2),k=$[0],K=$[1],D=function(){a.submit()},p=function(){n.onCancel()},i=function(){var l=w()(s()().mark(function c(m){var S;return s()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:if(m){B.next=3;break}return a.resetFields(),B.abrupt("return");case 3:return B.next=5,Ie({appCode:m});case 5:S=B.sent,a.setFieldsValue(S.data);case 7:case"end":return B.stop()}},c)}));return function(m){return l.apply(this,arguments)}}();(0,h.useEffect)(function(){i(n.appCode),K(n.appCode!==void 0),n.appCode||a.resetFields()},[n.appCode]);var Z=function(){var l=w()(s()().mark(function c(m){return s()().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return M.prev=0,M.next=3,we(m);case 3:M.next=8;break;case 5:return M.prev=5,M.t0=M.catch(0),M.abrupt("return");case 8:n.onSubmit();case 9:case"end":return M.stop()}},c,null,[[0,5]])}));return function(m){return l.apply(this,arguments)}}();return(0,e.jsx)(Ze.Z,{title:"\u7F16\u8F91",visible:n.updateModalOpen,onOk:D,onCancel:p,children:(0,e.jsxs)(t.Z,{labelCol:{span:5},wrapperCol:{span:18},form:a,onFinish:Z,children:[(0,e.jsx)(t.Z.Item,{name:"id",style:{display:"none"},children:(0,e.jsx)(x.Z,{type:"hidden"})}),(0,e.jsx)(t.Z.Item,{name:"code",style:{display:"none"},children:(0,e.jsx)(x.Z,{type:"hidden"})}),(0,e.jsx)(t.Z.Item,{label:"\u5E94\u7528\u540D",name:"name",children:(0,e.jsx)(x.Z,{})}),(0,e.jsx)(t.Z.Item,{label:"\u5E94\u7528icon",name:"img",children:(0,e.jsxs)(x.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"img",noStyle:!0,children:(0,e.jsx)(x.Z,{})}),(0,e.jsx)(He,{onUploadSuccess:function(c){a.setFieldsValue({img:c})}})]})}),(0,e.jsx)(t.Z.Item,{label:"\u4E0B\u8F7D\u5730\u5740",name:"url",children:(0,e.jsxs)(x.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"url",noStyle:!0,children:(0,e.jsx)(x.Z,{})}),(0,e.jsx)(He,{url:n.appCode,onUploadSuccess:function(c,m){a.setFieldsValue({url:c,fileSize:(0,Le.aV)(m.size)})}})]})}),(0,e.jsx)(t.Z.Item,{label:"app\u7248\u672C",name:"version",children:(0,e.jsx)(x.Z,{})}),(0,e.jsx)(t.Z.Item,{label:"\u83DC\u5355\u680F\u4E2D",name:"hide",children:(0,e.jsx)(Ne.Z,{options:[{label:"\u5C55\u793A",value:0},{label:"\u9690\u85CF",value:1}]})}),(0,e.jsx)(t.Z.Item,{label:"\u6E20\u9053",name:"channel",children:(0,e.jsx)(Ne.Z,{disabled:k,options:(0,Le.FG)()})}),(0,e.jsx)(t.Z.Item,{label:"app\u5927\u5C0F",name:"fileSize",children:(0,e.jsx)(x.Z,{disabled:!0})}),(0,e.jsx)(t.Z.Item,{label:"app\u4E0B\u8F7D\u6B21\u6570",name:"downloadTimes",children:(0,e.jsx)(x.Z,{disabled:!0})}),(0,e.jsx)(t.Z.Item,{label:"\u6240\u5C5E\u516C\u53F8",name:"author",children:(0,e.jsx)(x.Z,{})}),(0,e.jsx)(t.Z.Item,{label:"app\u5305\u540D",name:"packageName",children:(0,e.jsx)(x.Z,{})}),(0,e.jsx)(t.Z.Item,{label:"app\u7B80\u4ECB",name:"desc",children:(0,e.jsx)(x.Z.TextArea,{})}),(0,e.jsxs)(t.Z.Item,{label:"\u5E94\u7528\u622A\u56FE",name:"images",children:[(0,e.jsx)(dn,{value:[],onChange:function(c){var m=c.filter(function(S){return S.url}).map(function(S){return S.url}).filter(Boolean);m&&m.length>0&&a.setFieldsValue({images:m})}}),(0,e.jsx)("label",{style:{color:"gray"},children:"\u53EF\u591A\u9009\uFF0C\u4E0D\u4F20\u9ED8\u8BA4\u4F1A\u4F7F\u7528\u4E4B\u524D\u7684\u65E7\u6570\u636E"})]})]})})},fn=pn,mn=function(n){var u=t.Z.useForm(),g=C()(u,1),a=g[0],j=function(){a.submit()},$=function(){n.onCancel()},k=function(){var D=w()(s()().mark(function p(i){var Z;return s()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,I({appCode:i});case 2:Z=c.sent,a.setFieldsValue(Z.data);case 4:case"end":return c.stop()}},p)}));return function(i){return D.apply(this,arguments)}}();(0,h.useEffect)(function(){k(n.appCode)},[n.appCode]);var K=function(){var D=w()(s()().mark(function p(i){return s()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.prev=0,l.next=3,z({appCode:n.appCode},i);case 3:l.next=8;break;case 5:return l.prev=5,l.t0=l.catch(0),l.abrupt("return");case 8:n.onSubmit();case 9:case"end":return l.stop()}},p,null,[[0,5]])}));return function(i){return D.apply(this,arguments)}}();return(0,e.jsx)(Ze.Z,{title:"\u7F16\u8F91",visible:n.updateModalOpen,onOk:j,onCancel:$,children:(0,e.jsxs)(t.Z,{labelCol:{span:8},wrapperCol:{span:16},form:a,onFinish:K,children:[(0,e.jsx)(t.Z.Item,{name:"umengAppKeyAli",label:"AppKey(\u963F\u91CC\u4E91)",children:(0,e.jsx)(x.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"umengAppSecret",label:"AppSecret(\u963F\u91CC\u4E91)",children:(0,e.jsx)(x.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"umengAppCode",label:"AppCode(\u963F\u91CC\u4E91)",children:(0,e.jsx)(x.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"umengAppKey",label:"AppKey(\u53CB\u76DF)",children:(0,e.jsx)(x.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"linkId",label:"linkId(\u53CB\u76DF)",children:(0,e.jsx)(x.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"bindWx",label:"\u7ED1\u5B9A\u5FAE\u4FE1\u8D26\u53F7",children:(0,e.jsx)(Ke.Z,{})})]})})},hn=mn,vn=function(){var n=(0,h.useState)(!1),u=C()(n,2),g=u[0],a=u[1],j=(0,h.useState)([]),$=C()(j,2),k=$[0],K=$[1],D=(0,h.useState)([]),p=C()(D,2),i=p[0],Z=p[1],l=(0,h.useState)(!1),c=C()(l,2),m=c[0],S=c[1],M=(0,h.useState)(!1),B=C()(M,2),T=B[0],L=B[1],d=(0,h.useState)(),N=C()(d,2),V=N[0],o=N[1],R=[{title:"\u5E94\u7528\u540D",dataIndex:"name",copyable:!0,hideInSearch:!0},{title:"\u56FE\u7247",dataIndex:"img",hideInSearch:!0,renderText:function(U){return(0,e.jsx)("img",{style:{width:"40px"},src:U})}},{title:"code",dataIndex:"code",copyable:!0,hideInSearch:!0},{title:"\u4E0B\u8F7D\u5730\u5740",dataIndex:"url",width:200,hideInSearch:!0,renderText:function(U){return(0,e.jsx)(ee.Z,{overlayInnerStyle:{padding:0},content:(0,e.jsx)(H.Z,{value:U||"",bordered:!1}),children:(0,e.jsx)("a",{style:{wordBreak:"break-word"},children:U})})}},{title:"secret",dataIndex:"secret",ellipsis:!0,copyable:!0,hideInSearch:!0},{title:"\u83DC\u5355\u680F\u4E2D",dataIndex:"hide",hideInSearch:!0,renderText:function(U){return U===0?(0,e.jsx)(Fe.Z,{color:"blue",children:"\u5C55\u793A"}):(0,e.jsx)(Fe.Z,{color:"purple",children:"\u9690\u85CF"})}},{title:"\u6E20\u9053",dataIndex:"channel",hideInSearch:!0,renderText:function(U){var J=(0,Le.FG)(),fe=J.find(function(_){return _.value===U});return fe?fe.label:U}},{title:"\u64CD\u4F5C",width:100,hideInSearch:!0,renderText:function(U){return(0,e.jsxs)(qe.Z,{gap:"small",wrap:!0,children:[(0,e.jsx)(Fe.Z,{color:"magenta",onClick:function(){o(U.code),a(!0)},children:"\u7F16\u8F91"},"edit"),U.enableCash&&(0,e.jsx)(Fe.Z,{color:"orange",onClick:function(){o(U.code),L(!0)},children:"\u53CB\u76DF\u914D\u7F6E"},"ediyUMeng"),(0,e.jsx)(Fe.Z,{color:"#2db7f5",onClick:function(){o(U.code),S(!0)},children:"\u652F\u4ED8\u5B9D\u914D\u7F6E"},"ediyAliPay")]})}}],A=function(){var P=w()(s()().mark(function U(){var J;return s()().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return _.next=2,(0,b.ln)();case 2:J=_.sent,J.data&&(K(J.data),Z(J.data));case 4:case"end":return _.stop()}},U)}));return function(){return P.apply(this,arguments)}}();(0,h.useEffect)(function(){A()},[]);var O=function(U){var J=k.filter(function(fe){var _;return fe==null||(_=fe.name)===null||_===void 0?void 0:_.includes(U)});Z(J)};return(0,e.jsxs)(Y._z,{children:[(0,e.jsx)(ue.ZP,{style:{marginBottom:"20px"},onClick:function(){a(!0),o(void 0)},children:"\u65B0\u5EFA\u5E94\u7528"}),(0,e.jsx)(Q.Z,{search:{defaultCollapsed:!1,optionRender:function(){return[(0,e.jsx)(x.Z,{placeholder:"\u8BF7\u8F93\u5165\u5E94\u7528\u540D",onChange:function(J){return O(J.target.value)}},"name")]}},onReset:function(){Z(k)},columns:R,dataSource:i}),V&&m&&(0,e.jsx)(tn,{updateModalOpen:m,appCode:V||"",onCancel:function(){return S(!1)},onSubmit:function(){S(!1),A()}}),V&&T&&(0,e.jsx)(hn,{updateModalOpen:T,appCode:V||"",onCancel:function(){return L(!1)},onSubmit:function(){L(!1)}}),(0,e.jsx)(fn,{updateModalOpen:g,appCode:V,onCancel:function(){return a(!1)},onSubmit:function(){a(!1),A()}})]})},gn=vn,Cn=function(){var n=(0,G.useModel)("@@initialState"),u=n.initialState,g=u==null?void 0:u.currentUser,a=g&&g.role&&g.role<2;return(0,e.jsx)(Y._z,{children:a?(0,e.jsx)(gn,{}):(0,e.jsx)(Ye,{})})},xn=Cn},52043:function(Ae,le,r){r.d(le,{E7:function(){return G},FG:function(){return Y},RQ:function(){return ie},XY:function(){return se},aV:function(){return w},m0:function(){return s}});var Y=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"},{label:"\u5229\u597D",value:"lihao"},{label:"\u4F73\u7476",value:"jiayao"}]},G=function(C){var b=[];if(!C)return b;for(var Q=C>>1,ee=["\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"],H=0,x=ee;H>=1}return b},se=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"}]},s=function(C){var b=new Date(C),Q=b.getFullYear().toString().padStart(4,"0"),ee=(b.getMonth()+1).toString().padStart(2,"0"),H=b.getDate().toString().padStart(2,"0");return Q+ee+H},ie=function(C,b){var Q=C.toString();return Q.padStart(b,"0")},w=function(C){var b=C;return b<1024?b+" B":(b=parseFloat((b/1024).toFixed(2)),b<1024?b+" KB":(b=parseFloat((b/1024).toFixed(2)),b+" MB"))}},32400:function(Ae,le,r){r.d(le,{p:function(){return q}});var Y=r(15009),G=r.n(Y),se=r(99289),s=r.n(se),ie=r(8322),w=r.n(ie);function q(b){return C.apply(this,arguments)}function C(){return C=s()(G()().mark(function b(Q){return G()().wrap(function(H){for(;;)switch(H.prev=H.next){case 0:return H.abrupt("return",new Promise(function(x,h){var me=new(w()).ArrayBuffer,E=new FileReader;E.onload=function(de){var ne;me.append((ne=de.target)===null||ne===void 0?void 0:ne.result),x(me.end())},E.onerror=function(de){h(de)},E.readAsArrayBuffer(Q)}));case 1:case"end":return H.stop()}},b)})),C.apply(this,arguments)}},86250:function(Ae,le,r){r.d(le,{Z:function(){return je}});var Y=r(67294),G=r(93967),se=r.n(G),s=r(98423),ie=r(98065),w=r(53124),q=r(91945),C=r(45503);const b=["wrap","nowrap","wrap-reverse"],Q=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],ee=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],H=(v,y)=>{const I=y.wrap===!0?"wrap":y.wrap;return{[`${v}-wrap-${I}`]:I&&b.includes(I)}},x=(v,y)=>{const I={};return ee.forEach(F=>{I[`${v}-align-${F}`]=y.align===F}),I[`${v}-align-stretch`]=!y.align&&!!y.vertical,I},h=(v,y)=>{const I={};return Q.forEach(F=>{I[`${v}-justify-${F}`]=y.justify===F}),I};function me(v,y){return se()(Object.assign(Object.assign(Object.assign({},H(v,y)),x(v,y)),h(v,y)))}var E=me;const de=v=>{const{componentCls:y}=v;return{[y]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},ne=v=>{const{componentCls:y}=v;return{[y]:{"&-gap-small":{gap:v.flexGapSM},"&-gap-middle":{gap:v.flexGap},"&-gap-large":{gap:v.flexGapLG}}}},Ee=v=>{const{componentCls:y}=v,I={};return b.forEach(F=>{I[`${y}-wrap-${F}`]={flexWrap:F}}),I},ge=v=>{const{componentCls:y}=v,I={};return ee.forEach(F=>{I[`${y}-align-${F}`]={alignItems:F}}),I},Ie=v=>{const{componentCls:y}=v,I={};return Q.forEach(F=>{I[`${y}-justify-${F}`]={justifyContent:F}}),I},Ce=()=>({});var we=(0,q.I$)("Flex",v=>{const{paddingXS:y,padding:I,paddingLG:F}=v,z=(0,C.TS)(v,{flexGapSM:y,flexGap:I,flexGapLG:F});return[de(z),ne(z),Ee(z),ge(z),Ie(z)]},Ce,{resetStyle:!1}),xe=function(v,y){var I={};for(var F in v)Object.prototype.hasOwnProperty.call(v,F)&&y.indexOf(F)<0&&(I[F]=v[F]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,F=Object.getOwnPropertySymbols(v);z{const{prefixCls:I,rootClassName:F,className:z,style:ye,flex:De,gap:ae,children:Ge,vertical:pe=!1,component:oe="div"}=v,Oe=xe(v,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:X,direction:Pe,getPrefixCls:Be}=Y.useContext(w.E_),W=Be("flex",I),[Se,Te,Me]=we(W),Re=pe!=null?pe:X==null?void 0:X.vertical,Ue=se()(z,F,X==null?void 0:X.className,W,Te,Me,E(W,v),{[`${W}-rtl`]:Pe==="rtl",[`${W}-gap-${ae}`]:(0,ie.n)(ae),[`${W}-vertical`]:Re}),t=Object.assign(Object.assign({},X==null?void 0:X.style),ye);return De&&(t.flex=De),ae&&!(0,ie.n)(ae)&&(t.gap=ae),Se(Y.createElement(oe,Object.assign({ref:y,className:Ue,style:t},(0,s.Z)(Oe,["justify","wrap","align"])),Ge))})}}]); diff --git a/dist/p__MoneyManagement.6438f0bb.async.js b/dist/p__MoneyManagement.6438f0bb.async.js new file mode 100644 index 0000000..53b1d21 --- /dev/null +++ b/dist/p__MoneyManagement.6438f0bb.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[190],{40110:function(k,R,t){var v=t(1413),C=t(67294),B=t(509),f=t(91146),U=function(T,c){return C.createElement(f.Z,(0,v.Z)((0,v.Z)({},T),{},{ref:c,icon:B.Z}))},S=C.forwardRef(U);R.Z=S},39829:function(k,R,t){t.r(R),t.d(R,{default:function(){return q}});var v=t(97857),C=t.n(v),B=t(15009),f=t.n(B),U=t(99289),S=t.n(U),y=t(35312);function T(X,Z){return c.apply(this,arguments)}function c(){return c=S()(f()().mark(function X(Z,l){return f()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,y.request)("/api/admin/money/audit",C()({method:"POST",headers:{"Content-Type":"application/json"},data:Z},l||{})));case 1:case"end":return r.stop()}},X)})),c.apply(this,arguments)}function L(X,Z){return A.apply(this,arguments)}function A(){return A=S()(f()().mark(function X(Z,l){return f()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,y.request)("/api/admin/money/list",C()({method:"POST",headers:{"Content-Type":"application/json"},data:Z},l||{})));case 1:case"end":return r.stop()}},X)})),A.apply(this,arguments)}var W=t(58125),M=t(90930),w=t(67539),H=t(66309),K=t(86250),z=t(86738),x=t(14726),b=t(67294),I=t(52043),P=t(42767),g=t(85893),i=function(){var Z=(0,y.useParams)(),l=Z.code,u=(0,b.useRef)();(0,b.useEffect)(function(){var o;(o=u.current)===null||o===void 0||o.reload()},[l]);var r=[{title:"id",dataIndex:"id",valueType:"textarea",copyable:!0,hideInSearch:!0,renderText:function(p,e){return(0,I.m0)(e.createdAt||0)+(0,I.RQ)(e.id||0,6)}},{title:"\u7528\u6237",hideInSearch:!0,dataIndex:"user",valueType:"textarea",width:150,renderText:function(p,e){if(e.user)return(0,g.jsx)(P.Z,{data:e.user})}},{title:"\u91D1\u989D\uFF08\u5143\uFF09",hideInSearch:!0,dataIndex:"cent",valueType:"textarea",renderText:function(p){return(0,W.D)(p)}},{title:"\u652F\u4ED8\u5B9D\u540D\u79F0",dataIndex:"name",hideInSearch:!0},{title:"\u652F\u4ED8\u5B9D\u8D26\u53F7",dataIndex:"aliPayAccount",hideInSearch:!0},{title:"\u8BA2\u5355\u53F7",dataIndex:"orderId",hideInSearch:!0,ellipsis:!0},{title:"\u8F6C\u8D26\u65F6\u95F4",dataIndex:"transDate",hideInSearch:!0},{title:"\u72B6\u6001",dataIndex:"status",hideInSearch:!0,renderText:function(p){var e=(0,I.XY)(),a=e.find(function(n){return n.value===p+""}),s=a?a.label:"\u672A\u77E5";return(0,g.jsx)(H.Z,{color:a==null?void 0:a.color,children:s})}},{title:"\u72B6\u6001",dataIndex:"status",hideInTable:!0,valueType:"select",fieldProps:{options:(0,I.XY)()}},{title:"\u5907\u6CE8",dataIndex:"reason",hideInSearch:!0},{title:"\u7533\u8BF7\u65F6\u95F4",dataIndex:"createdAt",valueType:"dateTime",hideInSearch:!0},{title:"\u64CD\u4F5C",width:100,hideInSearch:!0,renderText:function(p){return(0,g.jsx)(K.Z,{gap:"small",wrap:!0,children:p.status===0&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(z.Z,{title:"\u62D2\u7EDD\u63D0\u73B0\u7533\u8BF7",description:"\u62D2\u7EDD\u540E\uFF0C\u72B6\u6001\u65E0\u6CD5\u4FEE\u6539\u6210\u5BA1\u6279\u901A\u8FC7\uFF0C\u786E\u5B9A\u62D2\u7EDD\u5417?",onConfirm:S()(f()().mark(function e(){var a;return f()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,T({id:p.id,status:-2,reason:""});case 2:(a=u.current)===null||a===void 0||a.reload();case 3:case"end":return n.stop()}},e)})),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,g.jsx)(x.ZP,{children:"\u62D2\u7EDD"})}),(0,g.jsx)(z.Z,{title:"\u901A\u8FC7\u63D0\u73B0\u7533\u8BF7",description:"\u901A\u8FC7\u540E\u7CFB\u7EDF\u5C06\u81EA\u52A8\u8F6C\u8D26\uFF0C\u65E0\u6CD5\u64A4\u56DE\uFF0C\u786E\u5B9A\u901A\u8FC7\u5417?",onConfirm:S()(f()().mark(function e(){var a;return f()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,T({id:p.id,status:1,reason:""});case 2:(a=u.current)===null||a===void 0||a.reload();case 3:case"end":return n.stop()}},e)})),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,g.jsx)(x.ZP,{type:"primary",children:"\u901A\u8FC7"})})]})})}}];return(0,g.jsx)(M._z,{children:(0,g.jsx)(w.Z,{actionRef:u,request:function(){var o=S()(f()().mark(function p(e){var a,s,n;return f()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.next=2,L(C()(C()({},e),{},{appCode:l}));case 2:return n=E.sent,E.abrupt("return",{data:(a=n.data)===null||a===void 0?void 0:a.data,total:(s=n.data)===null||s===void 0?void 0:s.total,success:!0});case 4:case"end":return E.stop()}},p)}));return function(p){return o.apply(this,arguments)}}(),columns:r})})},q=i},42767:function(k,R,t){t.d(R,{Z:function(){return l}});var v=t(5574),C=t.n(v),B=t(55241),f=t(2487),U=t(71230),S=t(7134),y=t(67294),T=t(52043),c=t(58125),L=t(15009),A=t.n(L),W=t(97857),M=t.n(W),w=t(99289),H=t.n(w),K=t(40110),z=t(67539),x=t(55102),b=t(42075),I=t(14726),P=t(17788),g=t(4575),i=t(85893),q=function(r){var o=(0,y.useState)(),p=C()(o,2),e=p[0],a=p[1],s=(0,y.useState)(),n=C()(s,2),d=n[0],E=n[1],D=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",ellipsis:!0,hideInSearch:!0,filterDropdown:function(h){var m=h.setSelectedKeys,V=h.selectedKeys,$=h.confirm,N=h.clearFilters;return(0,i.jsxs)("div",{style:{padding:8},children:[(0,i.jsx)(x.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:V[0],onChange:function(j){return m(j.target.value?[j.target.value]:[])},onPressEnter:function(){return $()},style:{marginBottom:8,display:"block"}}),(0,i.jsxs)(b.Z,{children:[(0,i.jsx)(I.ZP,{onClick:function(){return $()},type:"primary",children:"\u641C\u7D22"}),(0,i.jsx)(I.ZP,{onClick:function(){return N&&N()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(h,m){return typeof h=="string"&&typeof(m==null?void 0:m.appName)=="string"?m.appName.includes(h):!1},filterIcon:function(h){return(0,i.jsx)(K.Z,{style:{color:h?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u5E94\u7528\u5305\u540D",dataIndex:"packageName",hideInSearch:!0,ellipsis:!0,filterDropdown:function(h){var m=h.setSelectedKeys,V=h.selectedKeys,$=h.confirm,N=h.clearFilters;return(0,i.jsxs)("div",{style:{padding:8},children:[(0,i.jsx)(x.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:V[0],onChange:function(j){return m(j.target.value?[j.target.value]:[])},onPressEnter:function(){return $()},style:{marginBottom:8,display:"block"}}),(0,i.jsxs)(b.Z,{children:[(0,i.jsx)(I.ZP,{onClick:function(){return $()},type:"primary",children:"\u641C\u7D22"}),(0,i.jsx)(I.ZP,{onClick:function(){return N&&N()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(h,m){return typeof h=="string"&&typeof(m==null?void 0:m.packageName)=="string"?m.packageName.includes(h):!1},filterIcon:function(h){return(0,i.jsx)(K.Z,{style:{color:h?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}}],F=function(){var O=H()(A()().mark(function h(){var m,V,$,N;return A()().wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return j.next=2,(0,g.ai)();case 2:m=j.sent,m.data&&($=[],N=[],(V=r.data.localAppList)===null||V===void 0||V.forEach(function(Y){var J;(J=m.data)!==null&&J!==void 0&&J.some(function(te){return te.packageName===Y.packageName})?$.push(M()(M()({},Y),{},{evil:!0})):N.push(M()(M()({},Y),{},{evil:!1}))}),a([].concat($,N)),E([].concat($,N)));case 4:case"end":return j.stop()}},h)}));return function(){return O.apply(this,arguments)}}();return(0,y.useEffect)(function(){F()},[]),(0,i.jsx)(P.Z,{style:{width:600},onCancel:r.onClose,visible:!0,footer:[],children:(0,i.jsx)(z.Z,{onRow:function(h){return{style:{backgroundColor:h.evil?"red":"transparent"}}},search:!1,onReset:function(){E(e)},columns:D,dataSource:d})})},X=q,Z=function(r){var o=(0,y.useState)(!1),p=C()(o,2),e=p[0],a=p[1],s=(0,T.E7)(r.data.env);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(B.Z,{content:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("p",{children:[(0,i.jsx)("label",{children:"\u603B\u6536\u5165\uFF1A"}),(0,c.P)(r.data.income),"\u5143"]}),(0,i.jsxs)("p",{children:[(0,i.jsx)("label",{children:"\u5DF2\u63D0\u73B0\uFF1A"}),(0,c.D)(r.data.realMoney),"\u5143"]}),r.data.localAppList&&r.data.localAppList.length>0&&(0,i.jsxs)("p",{children:[(0,i.jsx)("label",{children:"\u5DF2\u5B89\u88C5\u5E94\u7528\uFF1A"}),r.data.localAppList.length,"\u4E2A",(0,i.jsx)("a",{onClick:function(){a(!0)},style:{marginLeft:20},children:"\u67E5\u770B"})]}),s.length>0&&(0,i.jsx)(f.Z,{size:"small",header:(0,i.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:s,renderItem:function(d){return(0,i.jsx)(f.Z.Item,{children:d})}})]}),children:(0,i.jsxs)(U.Z,{children:[(0,i.jsx)(S.C,{src:r.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,i.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:s.length>0?"red":""},children:["id:",r.data.id,(0,i.jsx)("br",{}),r.data.nickname||r.data.mobile]})]})}),e&&(0,i.jsx)(X,{onClose:function(){a(!1)},data:r.data})]})},l=Z},4575:function(k,R,t){t.d(R,{XM:function(){return L},ai:function(){return T},nr:function(){return K},re:function(){return w},vE:function(){return W}});var v=t(15009),C=t.n(v),B=t(97857),f=t.n(B),U=t(99289),S=t.n(U),y=t(35312);function T(x){return c.apply(this,arguments)}function c(){return c=S()(C()().mark(function x(b){return C()().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return P.abrupt("return",(0,y.request)("/api/superAdmin/evilAppList",f()({method:"GET"},b||{})));case 1:case"end":return P.stop()}},x)})),c.apply(this,arguments)}function L(x,b){return A.apply(this,arguments)}function A(){return A=S()(C()().mark(function x(b,I){return C()().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.abrupt("return",(0,y.request)("/api/superAdmin/saveEvilApp",f()({method:"POST",headers:{"Content-Type":"application/json"},data:b},I||{})));case 1:case"end":return g.stop()}},x)})),A.apply(this,arguments)}function W(x,b){return M.apply(this,arguments)}function M(){return M=S()(C()().mark(function x(b,I){return C()().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.abrupt("return",(0,y.request)("/api/superAdmin/saveWhiteUser",f()({method:"POST",params:f()({},b)},I||{})));case 1:case"end":return g.stop()}},x)})),M.apply(this,arguments)}function w(x,b){return H.apply(this,arguments)}function H(){return H=S()(C()().mark(function x(b,I){return C()().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.abrupt("return",(0,y.request)("/api/superAdmin/transfer",f()({method:"POST",params:f()({},b)},I||{})));case 1:case"end":return g.stop()}},x)})),H.apply(this,arguments)}function K(x){return z.apply(this,arguments)}function z(){return z=S()(C()().mark(function x(b){return C()().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return P.abrupt("return",(0,y.request)("/api/superAdmin/whiteUserList",f()({method:"GET"},b||{})));case 1:case"end":return P.stop()}},x)})),z.apply(this,arguments)}},52043:function(k,R,t){t.d(R,{E7:function(){return C},FG:function(){return v},RQ:function(){return U},XY:function(){return B},aV:function(){return S},m0:function(){return f}});var v=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"},{label:"\u5229\u597D",value:"lihao"},{label:"\u4F73\u7476",value:"jiayao"}]},C=function(T){var c=[];if(!T)return c;for(var L=T>>1,A=["\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"],W=0,M=A;W>=1}return c},B=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"}]},f=function(T){var c=new Date(T),L=c.getFullYear().toString().padStart(4,"0"),A=(c.getMonth()+1).toString().padStart(2,"0"),W=c.getDate().toString().padStart(2,"0");return L+A+W},U=function(T,c){var L=T.toString();return L.padStart(c,"0")},S=function(T){var c=T;return c<1024?c+" B":(c=parseFloat((c/1024).toFixed(2)),c<1024?c+" KB":(c=parseFloat((c/1024).toFixed(2)),c+" MB"))}},58125:function(k,R,t){t.d(R,{D:function(){return C},P:function(){return v}});var v=function(f){return f?parseFloat((f/1e5).toFixed(2)):0},C=function(f){return f?parseFloat((f/100).toFixed(2)):0}},86250:function(k,R,t){t.d(R,{Z:function(){return Z}});var v=t(67294),C=t(93967),B=t.n(C),f=t(98423),U=t(98065),S=t(53124),y=t(91945),T=t(45503);const c=["wrap","nowrap","wrap-reverse"],L=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],A=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],W=(l,u)=>{const r=u.wrap===!0?"wrap":u.wrap;return{[`${l}-wrap-${r}`]:r&&c.includes(r)}},M=(l,u)=>{const r={};return A.forEach(o=>{r[`${l}-align-${o}`]=u.align===o}),r[`${l}-align-stretch`]=!u.align&&!!u.vertical,r},w=(l,u)=>{const r={};return L.forEach(o=>{r[`${l}-justify-${o}`]=u.justify===o}),r};function H(l,u){return B()(Object.assign(Object.assign(Object.assign({},W(l,u)),M(l,u)),w(l,u)))}var K=H;const z=l=>{const{componentCls:u}=l;return{[u]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},x=l=>{const{componentCls:u}=l;return{[u]:{"&-gap-small":{gap:l.flexGapSM},"&-gap-middle":{gap:l.flexGap},"&-gap-large":{gap:l.flexGapLG}}}},b=l=>{const{componentCls:u}=l,r={};return c.forEach(o=>{r[`${u}-wrap-${o}`]={flexWrap:o}}),r},I=l=>{const{componentCls:u}=l,r={};return A.forEach(o=>{r[`${u}-align-${o}`]={alignItems:o}}),r},P=l=>{const{componentCls:u}=l,r={};return L.forEach(o=>{r[`${u}-justify-${o}`]={justifyContent:o}}),r},g=()=>({});var i=(0,y.I$)("Flex",l=>{const{paddingXS:u,padding:r,paddingLG:o}=l,p=(0,T.TS)(l,{flexGapSM:u,flexGap:r,flexGapLG:o});return[z(p),x(p),b(p),I(p),P(p)]},g,{resetStyle:!1}),q=function(l,u){var r={};for(var o in l)Object.prototype.hasOwnProperty.call(l,o)&&u.indexOf(o)<0&&(r[o]=l[o]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,o=Object.getOwnPropertySymbols(l);p{const{prefixCls:r,rootClassName:o,className:p,style:e,flex:a,gap:s,children:n,vertical:d=!1,component:E="div"}=l,D=q(l,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:F,direction:O,getPrefixCls:h}=v.useContext(S.E_),m=h("flex",r),[V,$,N]=i(m),G=d!=null?d:F==null?void 0:F.vertical,j=B()(p,o,F==null?void 0:F.className,m,$,N,K(m,l),{[`${m}-rtl`]:O==="rtl",[`${m}-gap-${s}`]:(0,U.n)(s),[`${m}-vertical`]:G}),Y=Object.assign(Object.assign({},F==null?void 0:F.style),e);return a&&(Y.flex=a),s&&!(0,U.n)(s)&&(Y.gap=s),V(v.createElement(E,Object.assign({ref:u,className:j,style:Y},(0,f.Z)(D,["justify","wrap","align"])),n))})},66309:function(k,R,t){t.d(R,{Z:function(){return p}});var v=t(67294),C=t(93967),B=t.n(C),f=t(98423),U=t(98787),S=t(69760),y=t(96159),T=t(45353),c=t(53124),L=t(54548),A=t(10274),W=t(14747),M=t(45503),w=t(91945);const H=e=>{const{paddingXXS:a,lineWidth:s,tagPaddingHorizontal:n,componentCls:d,calc:E}=e,D=E(n).sub(s).equal(),F=E(a).sub(s).equal();return{[d]:Object.assign(Object.assign({},(0,W.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:D,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,L.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${d}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${d}-close-icon`]:{marginInlineStart:F,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${d}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${d}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:D}}),[`${d}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},K=e=>{const{lineWidth:a,fontSizeIcon:s,calc:n}=e,d=e.fontSizeSM;return(0,M.TS)(e,{tagFontSize:d,tagLineHeight:(0,L.bf)(n(e.lineHeightSM).mul(d).equal()),tagIconSize:n(s).sub(n(a).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},z=e=>({defaultBg:new A.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var x=(0,w.I$)("Tag",e=>{const a=K(e);return H(a)},z),b=function(e,a){var s={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&a.indexOf(n)<0&&(s[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,n=Object.getOwnPropertySymbols(e);d{const{prefixCls:s,style:n,className:d,checked:E,onChange:D,onClick:F}=e,O=b(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:h,tag:m}=v.useContext(c.E_),V=J=>{D==null||D(!E),F==null||F(J)},$=h("tag",s),[N,G,j]=x($),Y=B()($,`${$}-checkable`,{[`${$}-checkable-checked`]:E},m==null?void 0:m.className,d,G,j);return N(v.createElement("span",Object.assign({},O,{ref:a,style:Object.assign(Object.assign({},n),m==null?void 0:m.style),className:Y,onClick:V})))}),g=t(98719);const i=e=>(0,g.Z)(e,(a,s)=>{let{textColor:n,lightBorderColor:d,lightColor:E,darkColor:D}=s;return{[`${e.componentCls}${e.componentCls}-${a}`]:{color:n,background:E,borderColor:d,"&-inverse":{color:e.colorTextLightSolid,background:D,borderColor:D},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var q=(0,w.bk)(["Tag","preset"],e=>{const a=K(e);return i(a)},z);function X(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const Z=(e,a,s)=>{const n=X(s);return{[`${e.componentCls}${e.componentCls}-${a}`]:{color:e[`color${s}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var l=(0,w.bk)(["Tag","status"],e=>{const a=K(e);return[Z(a,"success","Success"),Z(a,"processing","Info"),Z(a,"error","Error"),Z(a,"warning","Warning")]},z),u=function(e,a){var s={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&a.indexOf(n)<0&&(s[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,n=Object.getOwnPropertySymbols(e);d{const{prefixCls:s,className:n,rootClassName:d,style:E,children:D,icon:F,color:O,onClose:h,bordered:m=!0,visible:V}=e,$=u(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:N,direction:G,tag:j}=v.useContext(c.E_),[Y,J]=v.useState(!0),te=(0,f.Z)($,["closeIcon","closable"]);v.useEffect(()=>{V!==void 0&&J(V)},[V]);const ae=(0,U.o2)(O),le=(0,U.yT)(O),ne=ae||le,ce=Object.assign(Object.assign({backgroundColor:O&&!ne?O:void 0},j==null?void 0:j.style),E),Q=N("tag",s),[de,fe,pe]=x(Q),me=B()(Q,j==null?void 0:j.className,{[`${Q}-${O}`]:ne,[`${Q}-has-color`]:O&&!ne,[`${Q}-hidden`]:!Y,[`${Q}-rtl`]:G==="rtl",[`${Q}-borderless`]:!m},n,d,fe,pe),oe=ee=>{ee.stopPropagation(),h==null||h(ee),!ee.defaultPrevented&&J(!1)},[,ve]=(0,S.Z)((0,S.w)(e),(0,S.w)(j),{closable:!1,closeIconRender:ee=>{const Ce=v.createElement("span",{className:`${Q}-close-icon`,onClick:oe},ee);return(0,y.wm)(ee,Ce,_=>({onClick:ue=>{var re;(re=_==null?void 0:_.onClick)===null||re===void 0||re.call(_,ue),oe(ue)},className:B()(_==null?void 0:_.className,`${Q}-close-icon`)}))}}),ge=typeof $.onClick=="function"||D&&D.type==="a",se=F||null,he=se?v.createElement(v.Fragment,null,se,D&&v.createElement("span",null,D)):D,ie=v.createElement("span",Object.assign({},te,{ref:a,className:me,style:ce}),he,ve,ae&&v.createElement(q,{key:"preset",prefixCls:Q}),le&&v.createElement(l,{key:"status",prefixCls:Q}));return de(ge?v.createElement(T.Z,{component:"Tag"},ie):ie)});o.CheckableTag=P;var p=o}}]); diff --git a/dist/p__MoneyManagement.b9d33efc.async.js b/dist/p__MoneyManagement.b9d33efc.async.js deleted file mode 100644 index bd0a5ca..0000000 --- a/dist/p__MoneyManagement.b9d33efc.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[190],{40110:function(J,R,t){var v=t(1413),h=t(67294),F=t(509),p=t(91146),W=function(E,c){return h.createElement(p.Z,(0,v.Z)((0,v.Z)({},E),{},{ref:c,icon:F.Z}))},x=h.forwardRef(W);R.Z=x},39829:function(J,R,t){t.r(R),t.d(R,{default:function(){return q}});var v=t(97857),h=t.n(v),F=t(15009),p=t.n(F),W=t(99289),x=t.n(W),C=t(35312);function E(H,N){return c.apply(this,arguments)}function c(){return c=x()(p()().mark(function H(N,l){return p()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,C.request)("/api/admin/money/audit",h()({method:"POST",headers:{"Content-Type":"application/json"},data:N},l||{})));case 1:case"end":return r.stop()}},H)})),c.apply(this,arguments)}function B(H,N){return $.apply(this,arguments)}function $(){return $=x()(p()().mark(function H(N,l){return p()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",(0,C.request)("/api/admin/money/list",h()({method:"POST",headers:{"Content-Type":"application/json"},data:N},l||{})));case 1:case"end":return r.stop()}},H)})),$.apply(this,arguments)}var V=t(58125),L=t(90930),K=t(67539),w=t(66309),S=t(86250),T=t(86738),Z=t(14726),I=t(67294),j=t(52043),k=t(42767),M=t(85893),i=function(){var N=(0,C.useParams)(),l=N.code,u=(0,I.useRef)();(0,I.useEffect)(function(){var o;(o=u.current)===null||o===void 0||o.reload()},[l]);var r=[{title:"id",dataIndex:"id",valueType:"textarea",copyable:!0,hideInSearch:!0,renderText:function(f,e){return(0,j.m0)(e.createdAt||0)+(0,j.RQ)(e.id||0,6)}},{title:"\u7528\u6237",hideInSearch:!0,dataIndex:"user",valueType:"textarea",width:150,renderText:function(f,e){if(e.user)return(0,M.jsx)(k.Z,{data:e.user})}},{title:"\u91D1\u989D\uFF08\u5143\uFF09",hideInSearch:!0,dataIndex:"cent",valueType:"textarea",renderText:function(f){return(0,V.D)(f)}},{title:"\u652F\u4ED8\u5B9D\u540D\u79F0",dataIndex:"name",hideInSearch:!0},{title:"\u652F\u4ED8\u5B9D\u8D26\u53F7",dataIndex:"aliPayAccount",hideInSearch:!0},{title:"\u8BA2\u5355\u53F7",dataIndex:"orderId",hideInSearch:!0,ellipsis:!0},{title:"\u8F6C\u8D26\u65F6\u95F4",dataIndex:"transDate",hideInSearch:!0},{title:"\u72B6\u6001",dataIndex:"status",hideInSearch:!0,renderText:function(f){var e=(0,j.XY)(),a=e.find(function(n){return n.value===f+""}),s=a?a.label:"\u672A\u77E5";return(0,M.jsx)(w.Z,{color:a==null?void 0:a.color,children:s})}},{title:"\u72B6\u6001",dataIndex:"status",hideInTable:!0,valueType:"select",fieldProps:{options:(0,j.XY)()}},{title:"\u5907\u6CE8",dataIndex:"reason",hideInSearch:!0},{title:"\u7533\u8BF7\u65F6\u95F4",dataIndex:"createdAt",valueType:"dateTime",hideInSearch:!0},{title:"\u64CD\u4F5C",width:100,hideInSearch:!0,renderText:function(f){return(0,M.jsx)(S.Z,{gap:"small",wrap:!0,children:f.status===0&&(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(T.Z,{title:"\u62D2\u7EDD\u63D0\u73B0\u7533\u8BF7",description:"\u62D2\u7EDD\u540E\uFF0C\u72B6\u6001\u65E0\u6CD5\u4FEE\u6539\u6210\u5BA1\u6279\u901A\u8FC7\uFF0C\u786E\u5B9A\u62D2\u7EDD\u5417?",onConfirm:x()(p()().mark(function e(){var a;return p()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,E({id:f.id,status:-2,reason:""});case 2:(a=u.current)===null||a===void 0||a.reload();case 3:case"end":return n.stop()}},e)})),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,M.jsx)(Z.ZP,{children:"\u62D2\u7EDD"})}),(0,M.jsx)(T.Z,{title:"\u901A\u8FC7\u63D0\u73B0\u7533\u8BF7",description:"\u901A\u8FC7\u540E\u7CFB\u7EDF\u5C06\u81EA\u52A8\u8F6C\u8D26\uFF0C\u65E0\u6CD5\u64A4\u56DE\uFF0C\u786E\u5B9A\u901A\u8FC7\u5417?",onConfirm:x()(p()().mark(function e(){var a;return p()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,E({id:f.id,status:1,reason:""});case 2:(a=u.current)===null||a===void 0||a.reload();case 3:case"end":return n.stop()}},e)})),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,M.jsx)(Z.ZP,{type:"primary",children:"\u901A\u8FC7"})})]})})}}];return(0,M.jsx)(L._z,{children:(0,M.jsx)(K.Z,{actionRef:u,request:function(){var o=x()(p()().mark(function f(e){var a,s,n;return p()().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,B(h()(h()({},e),{},{appCode:l}));case 2:return n=b.sent,b.abrupt("return",{data:(a=n.data)===null||a===void 0?void 0:a.data,total:(s=n.data)===null||s===void 0?void 0:s.total,success:!0});case 4:case"end":return b.stop()}},f)}));return function(f){return o.apply(this,arguments)}}(),columns:r})})},q=i},42767:function(J,R,t){t.d(R,{Z:function(){return l}});var v=t(5574),h=t.n(v),F=t(55241),p=t(2487),W=t(71230),x=t(7134),C=t(67294),E=t(52043),c=t(58125),B=t(15009),$=t.n(B),V=t(97857),L=t.n(V),K=t(99289),w=t.n(K),S=t(40110),T=t(67539),Z=t(55102),I=t(42075),j=t(14726),k=t(17788),M=t(4575),i=t(85893),q=function(r){var o=(0,C.useState)(),f=h()(o,2),e=f[0],a=f[1],s=(0,C.useState)(),n=h()(s,2),d=n[0],b=n[1],A=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",ellipsis:!0,hideInSearch:!0,filterDropdown:function(g){var m=g.setSelectedKeys,z=g.selectedKeys,O=g.confirm,U=g.clearFilters;return(0,i.jsxs)("div",{style:{padding:8},children:[(0,i.jsx)(Z.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:z[0],onChange:function(y){return m(y.target.value?[y.target.value]:[])},onPressEnter:function(){return O()},style:{marginBottom:8,display:"block"}}),(0,i.jsxs)(I.Z,{children:[(0,i.jsx)(j.ZP,{onClick:function(){return O()},type:"primary",children:"\u641C\u7D22"}),(0,i.jsx)(j.ZP,{onClick:function(){return U&&U()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(g,m){return typeof g=="string"&&typeof(m==null?void 0:m.appName)=="string"?m.appName.includes(g):!1},filterIcon:function(g){return(0,i.jsx)(S.Z,{style:{color:g?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u5E94\u7528\u5305\u540D",dataIndex:"packageName",hideInSearch:!0,ellipsis:!0,filterDropdown:function(g){var m=g.setSelectedKeys,z=g.selectedKeys,O=g.confirm,U=g.clearFilters;return(0,i.jsxs)("div",{style:{padding:8},children:[(0,i.jsx)(Z.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:z[0],onChange:function(y){return m(y.target.value?[y.target.value]:[])},onPressEnter:function(){return O()},style:{marginBottom:8,display:"block"}}),(0,i.jsxs)(I.Z,{children:[(0,i.jsx)(j.ZP,{onClick:function(){return O()},type:"primary",children:"\u641C\u7D22"}),(0,i.jsx)(j.ZP,{onClick:function(){return U&&U()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(g,m){return typeof g=="string"&&typeof(m==null?void 0:m.packageName)=="string"?m.packageName.includes(g):!1},filterIcon:function(g){return(0,i.jsx)(S.Z,{style:{color:g?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}}],D=function(){var P=w()($()().mark(function g(){var m,z,O,U;return $()().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.next=2,(0,M.ai)();case 2:m=y.sent,m.data&&(O=[],U=[],(z=r.data.localAppList)===null||z===void 0||z.forEach(function(X){var Q;(Q=m.data)!==null&&Q!==void 0&&Q.some(function(te){return te.packageName===X.packageName})?O.push(L()(L()({},X),{},{evil:!0})):U.push(L()(L()({},X),{},{evil:!1}))}),a([].concat(O,U)),b([].concat(O,U)));case 4:case"end":return y.stop()}},g)}));return function(){return P.apply(this,arguments)}}();return(0,C.useEffect)(function(){D()},[]),(0,i.jsx)(k.Z,{style:{width:600},onCancel:r.onClose,visible:!0,footer:[],children:(0,i.jsx)(T.Z,{onRow:function(g){return{style:{backgroundColor:g.evil?"red":"transparent"}}},search:!1,onReset:function(){b(e)},columns:A,dataSource:d})})},H=q,N=function(r){var o=(0,C.useState)(!1),f=h()(o,2),e=f[0],a=f[1],s=(0,E.E7)(r.data.env);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(F.Z,{content:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("p",{children:[(0,i.jsx)("label",{children:"\u603B\u6536\u5165\uFF1A"}),(0,c.P)(r.data.income),"\u5143"]}),(0,i.jsxs)("p",{children:[(0,i.jsx)("label",{children:"\u5DF2\u63D0\u73B0\uFF1A"}),(0,c.D)(r.data.realMoney),"\u5143"]}),r.data.localAppList&&r.data.localAppList.length>0&&(0,i.jsxs)("p",{children:[(0,i.jsx)("label",{children:"\u5DF2\u5B89\u88C5\u5E94\u7528\uFF1A"}),r.data.localAppList.length,"\u4E2A",(0,i.jsx)("a",{onClick:function(){a(!0)},style:{marginLeft:20},children:"\u67E5\u770B"})]}),s.length>0&&(0,i.jsx)(p.Z,{size:"small",header:(0,i.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:s,renderItem:function(d){return(0,i.jsx)(p.Z.Item,{children:d})}})]}),children:(0,i.jsxs)(W.Z,{children:[(0,i.jsx)(x.C,{src:r.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,i.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:s.length>0?"red":""},children:["id:",r.data.id,(0,i.jsx)("br",{}),r.data.nickname||r.data.mobile]})]})}),e&&(0,i.jsx)(H,{onClose:function(){a(!1)},data:r.data})]})},l=N},4575:function(J,R,t){t.d(R,{XM:function(){return B},ai:function(){return E},nr:function(){return K},vE:function(){return V}});var v=t(15009),h=t.n(v),F=t(97857),p=t.n(F),W=t(99289),x=t.n(W),C=t(35312);function E(S){return c.apply(this,arguments)}function c(){return c=x()(h()().mark(function S(T){return h()().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return I.abrupt("return",(0,C.request)("/api/superAdmin/evilAppList",p()({method:"GET"},T||{})));case 1:case"end":return I.stop()}},S)})),c.apply(this,arguments)}function B(S,T){return $.apply(this,arguments)}function $(){return $=x()(h()().mark(function S(T,Z){return h()().wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return j.abrupt("return",(0,C.request)("/api/superAdmin/saveEvilApp",p()({method:"POST",headers:{"Content-Type":"application/json"},data:T},Z||{})));case 1:case"end":return j.stop()}},S)})),$.apply(this,arguments)}function V(S,T){return L.apply(this,arguments)}function L(){return L=x()(h()().mark(function S(T,Z){return h()().wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return j.abrupt("return",(0,C.request)("/api/superAdmin/saveWhiteUser",p()({method:"POST",params:p()({},T)},Z||{})));case 1:case"end":return j.stop()}},S)})),L.apply(this,arguments)}function K(S){return w.apply(this,arguments)}function w(){return w=x()(h()().mark(function S(T){return h()().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return I.abrupt("return",(0,C.request)("/api/superAdmin/whiteUserList",p()({method:"GET"},T||{})));case 1:case"end":return I.stop()}},S)})),w.apply(this,arguments)}},52043:function(J,R,t){t.d(R,{E7:function(){return h},FG:function(){return v},RQ:function(){return W},XY:function(){return F},aV:function(){return x},m0:function(){return p}});var v=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"},{label:"\u5229\u597D",value:"lihao"},{label:"\u4F73\u7476",value:"jiayao"}]},h=function(E){var c=[];if(!E)return c;for(var B=E>>1,$=["\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"],V=0,L=$;V>=1}return c},F=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"}]},p=function(E){var c=new Date(E),B=c.getFullYear().toString().padStart(4,"0"),$=(c.getMonth()+1).toString().padStart(2,"0"),V=c.getDate().toString().padStart(2,"0");return B+$+V},W=function(E,c){var B=E.toString();return B.padStart(c,"0")},x=function(E){var c=E;return c<1024?c+" B":(c=parseFloat((c/1024).toFixed(2)),c<1024?c+" KB":(c=parseFloat((c/1024).toFixed(2)),c+" MB"))}},58125:function(J,R,t){t.d(R,{D:function(){return h},P:function(){return v}});var v=function(p){return p?parseFloat((p/1e5).toFixed(2)):0},h=function(p){return p?parseFloat((p/100).toFixed(2)):0}},86250:function(J,R,t){t.d(R,{Z:function(){return N}});var v=t(67294),h=t(93967),F=t.n(h),p=t(98423),W=t(98065),x=t(53124),C=t(91945),E=t(45503);const c=["wrap","nowrap","wrap-reverse"],B=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],$=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],V=(l,u)=>{const r=u.wrap===!0?"wrap":u.wrap;return{[`${l}-wrap-${r}`]:r&&c.includes(r)}},L=(l,u)=>{const r={};return $.forEach(o=>{r[`${l}-align-${o}`]=u.align===o}),r[`${l}-align-stretch`]=!u.align&&!!u.vertical,r},K=(l,u)=>{const r={};return B.forEach(o=>{r[`${l}-justify-${o}`]=u.justify===o}),r};function w(l,u){return F()(Object.assign(Object.assign(Object.assign({},V(l,u)),L(l,u)),K(l,u)))}var S=w;const T=l=>{const{componentCls:u}=l;return{[u]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},Z=l=>{const{componentCls:u}=l;return{[u]:{"&-gap-small":{gap:l.flexGapSM},"&-gap-middle":{gap:l.flexGap},"&-gap-large":{gap:l.flexGapLG}}}},I=l=>{const{componentCls:u}=l,r={};return c.forEach(o=>{r[`${u}-wrap-${o}`]={flexWrap:o}}),r},j=l=>{const{componentCls:u}=l,r={};return $.forEach(o=>{r[`${u}-align-${o}`]={alignItems:o}}),r},k=l=>{const{componentCls:u}=l,r={};return B.forEach(o=>{r[`${u}-justify-${o}`]={justifyContent:o}}),r},M=()=>({});var i=(0,C.I$)("Flex",l=>{const{paddingXS:u,padding:r,paddingLG:o}=l,f=(0,E.TS)(l,{flexGapSM:u,flexGap:r,flexGapLG:o});return[T(f),Z(f),I(f),j(f),k(f)]},M,{resetStyle:!1}),q=function(l,u){var r={};for(var o in l)Object.prototype.hasOwnProperty.call(l,o)&&u.indexOf(o)<0&&(r[o]=l[o]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,o=Object.getOwnPropertySymbols(l);f{const{prefixCls:r,rootClassName:o,className:f,style:e,flex:a,gap:s,children:n,vertical:d=!1,component:b="div"}=l,A=q(l,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:D,direction:P,getPrefixCls:g}=v.useContext(x.E_),m=g("flex",r),[z,O,U]=i(m),G=d!=null?d:D==null?void 0:D.vertical,y=F()(f,o,D==null?void 0:D.className,m,O,U,S(m,l),{[`${m}-rtl`]:P==="rtl",[`${m}-gap-${s}`]:(0,W.n)(s),[`${m}-vertical`]:G}),X=Object.assign(Object.assign({},D==null?void 0:D.style),e);return a&&(X.flex=a),s&&!(0,W.n)(s)&&(X.gap=s),z(v.createElement(b,Object.assign({ref:u,className:y,style:X},(0,p.Z)(A,["justify","wrap","align"])),n))})},66309:function(J,R,t){t.d(R,{Z:function(){return f}});var v=t(67294),h=t(93967),F=t.n(h),p=t(98423),W=t(98787),x=t(69760),C=t(96159),E=t(45353),c=t(53124),B=t(54548),$=t(10274),V=t(14747),L=t(45503),K=t(91945);const w=e=>{const{paddingXXS:a,lineWidth:s,tagPaddingHorizontal:n,componentCls:d,calc:b}=e,A=b(n).sub(s).equal(),D=b(a).sub(s).equal();return{[d]:Object.assign(Object.assign({},(0,V.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:A,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,B.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${d}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${d}-close-icon`]:{marginInlineStart:D,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${d}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${d}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:A}}),[`${d}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},S=e=>{const{lineWidth:a,fontSizeIcon:s,calc:n}=e,d=e.fontSizeSM;return(0,L.TS)(e,{tagFontSize:d,tagLineHeight:(0,B.bf)(n(e.lineHeightSM).mul(d).equal()),tagIconSize:n(s).sub(n(a).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},T=e=>({defaultBg:new $.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var Z=(0,K.I$)("Tag",e=>{const a=S(e);return w(a)},T),I=function(e,a){var s={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&a.indexOf(n)<0&&(s[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,n=Object.getOwnPropertySymbols(e);d{const{prefixCls:s,style:n,className:d,checked:b,onChange:A,onClick:D}=e,P=I(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:g,tag:m}=v.useContext(c.E_),z=Q=>{A==null||A(!b),D==null||D(Q)},O=g("tag",s),[U,G,y]=Z(O),X=F()(O,`${O}-checkable`,{[`${O}-checkable-checked`]:b},m==null?void 0:m.className,d,G,y);return U(v.createElement("span",Object.assign({},P,{ref:a,style:Object.assign(Object.assign({},n),m==null?void 0:m.style),className:X,onClick:z})))}),M=t(98719);const i=e=>(0,M.Z)(e,(a,s)=>{let{textColor:n,lightBorderColor:d,lightColor:b,darkColor:A}=s;return{[`${e.componentCls}${e.componentCls}-${a}`]:{color:n,background:b,borderColor:d,"&-inverse":{color:e.colorTextLightSolid,background:A,borderColor:A},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var q=(0,K.bk)(["Tag","preset"],e=>{const a=S(e);return i(a)},T);function H(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const N=(e,a,s)=>{const n=H(s);return{[`${e.componentCls}${e.componentCls}-${a}`]:{color:e[`color${s}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var l=(0,K.bk)(["Tag","status"],e=>{const a=S(e);return[N(a,"success","Success"),N(a,"processing","Info"),N(a,"error","Error"),N(a,"warning","Warning")]},T),u=function(e,a){var s={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&a.indexOf(n)<0&&(s[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,n=Object.getOwnPropertySymbols(e);d{const{prefixCls:s,className:n,rootClassName:d,style:b,children:A,icon:D,color:P,onClose:g,bordered:m=!0,visible:z}=e,O=u(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:U,direction:G,tag:y}=v.useContext(c.E_),[X,Q]=v.useState(!0),te=(0,p.Z)(O,["closeIcon","closable"]);v.useEffect(()=>{z!==void 0&&Q(z)},[z]);const ae=(0,W.o2)(P),le=(0,W.yT)(P),ne=ae||le,ce=Object.assign(Object.assign({backgroundColor:P&&!ne?P:void 0},y==null?void 0:y.style),b),Y=U("tag",s),[de,fe,pe]=Z(Y),me=F()(Y,y==null?void 0:y.className,{[`${Y}-${P}`]:ne,[`${Y}-has-color`]:P&&!ne,[`${Y}-hidden`]:!X,[`${Y}-rtl`]:G==="rtl",[`${Y}-borderless`]:!m},n,d,fe,pe),oe=ee=>{ee.stopPropagation(),g==null||g(ee),!ee.defaultPrevented&&Q(!1)},[,ve]=(0,x.Z)((0,x.w)(e),(0,x.w)(y),{closable:!1,closeIconRender:ee=>{const Ce=v.createElement("span",{className:`${Y}-close-icon`,onClick:oe},ee);return(0,C.wm)(ee,Ce,_=>({onClick:ue=>{var re;(re=_==null?void 0:_.onClick)===null||re===void 0||re.call(_,ue),oe(ue)},className:F()(_==null?void 0:_.className,`${Y}-close-icon`)}))}}),ge=typeof O.onClick=="function"||A&&A.type==="a",se=D||null,he=se?v.createElement(v.Fragment,null,se,A&&v.createElement("span",null,A)):A,ie=v.createElement("span",Object.assign({},te,{ref:a,className:me,style:ce}),he,ve,ae&&v.createElement(q,{key:"preset",prefixCls:Y}),le&&v.createElement(l,{key:"status",prefixCls:Y}));return de(ge?v.createElement(E.Z,{component:"Tag"},ie):ie)});o.CheckableTag=k;var f=o}}]); diff --git a/dist/p__Proxy__ProxyAdvRecordListV2.8a4ba9c6.async.js b/dist/p__Proxy__ProxyAdvRecordListV2.8a4ba9c6.async.js new file mode 100644 index 0000000..2a994d4 --- /dev/null +++ b/dist/p__Proxy__ProxyAdvRecordListV2.8a4ba9c6.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[990],{40110:function(Y,g,e){var y=e(1413),n=e(67294),b=e(509),a=e(91146),R=function(E,i){return n.createElement(a.Z,(0,y.Z)((0,y.Z)({},E),{},{ref:i,icon:b.Z}))},p=n.forwardRef(R);g.Z=p},42521:function(Y,g,e){e.r(g);var y=e(15009),n=e.n(y),b=e(97857),a=e.n(b),R=e(99289),p=e.n(R),m=e(5574),E=e.n(m),i=e(48357),O=e(80484),D=e(11415),I=e(90930),P=e(67539),M=e(39615),S=e(57470),G=e(64317),L=e(34540),v=e(35312),h=e(13169),u=e(96074),s=e(16250),l=e(27484),t=e.n(l),o=e(9220),V=e(67294),ae=e(96974),se=e(42767),c=e(85893),x=function(){var N=(0,V.useRef)(),k=(0,V.useRef)(),X=(0,V.useState)(!1),z=E()(X,2),W=z[0],q=z[1],ne=(0,v.useIntl)(),ie=(0,ae.UO)(),Q=ie.code,B=(0,V.useState)(),_=E()(B,2),d=_[0],$=_[1],C=(0,V.useState)([]),A=E()(C,2),K=A[0],T=A[1],F=function(){return window.innerWidth<=768},ee=(0,V.useState)({deviceId:{show:!F()},appName:{show:!F()},platform:{show:!F()},deviceBrand:{show:!F()},deviceName:{show:!F()},ip:{show:!F()}}),re=E()(ee,2),oe=re[0],le=re[1],de=[{title:"\u7528\u6237id",dataIndex:"userId",valueType:"textarea",hideInTable:!0},{title:"\u8BBE\u5907id",dataIndex:"deviceId",valueType:"textarea",ellipsis:!0,copyable:!0,hideInSearch:!0},{title:"\u7528\u6237",dataIndex:"user",hideInSearch:!0,width:150,renderText:function(r,j){if(j.user)return(0,c.jsx)(se.Z,{data:j.user})}},{title:"\u5E73\u53F0",dataIndex:"platform",valueEnum:{1:{text:"\u7A7F\u5C71\u7532"},2:{text:"\u817E\u8BAF"},3:{text:"\u767E\u5EA6\u8054\u76DF"},4:{text:"Mintegral"},5:{text:"\u5FEB\u624B"},6:{text:"\u6E38\u53EF\u8D62"},7:{text:"Sigmob"},8:{text:"Admob"}}},{title:"ecpm(\u5143)",dataIndex:"ecpm",hideInSearch:!0,renderText:function(r){return r/100}},{title:"ecpm-\u4EE3\u7406\u6536\u5165(\u5143)",dataIndex:"ecpmAdmin",hideInSearch:!0,renderText:function(r){return r/100}},{title:"\u8BBE\u5907",dataIndex:"device",hideInSearch:!0,renderText:function(r,j){return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("p",{children:j.deviceBrand}),(0,c.jsx)("p",{children:j.deviceName})]})}},{title:"ip",dataIndex:"ip",hideInSearch:!0,valueType:"textarea"},{title:"\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u65F6\u95F4",hideInTable:!0,dataIndex:"createdAt",valueType:"dateRange"}],_e=function(){var f=p()(n()().mark(function r(j){var Z,U,w;return n()().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:return J.next=2,(0,i._5)(a()(a()({},j),{},{code:Q}));case 2:return w=J.sent,J.abrupt("return",{data:(Z=w.data)===null||Z===void 0?void 0:Z.data,total:(U=w.data)===null||U===void 0?void 0:U.total,success:!0});case 4:case"end":return J.stop()}},r)}));return function(j){return f.apply(this,arguments)}}(),ce=function(){var f=p()(n()().mark(function r(){var j;return n()().wrap(function(U){for(;;)switch(U.prev=U.next){case 0:return U.next=2,(0,O.OE)({appCode:Q});case 2:j=U.sent,j.data&&$(j.data);case 4:case"end":return U.stop()}},r)}));return function(){return f.apply(this,arguments)}}(),ue=function(){var f=p()(n()().mark(function r(j){var Z;return n()().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,(0,O.di)(a()(a()({},j),{},{code:Q}));case 2:Z=w.sent,Z.data&&T(Z.data);case 4:case"end":return w.stop()}},r)}));return function(j){return f.apply(this,arguments)}}();(0,V.useEffect)(function(){var f,r;(f=N.current)===null||f===void 0||f.reload(),(r=k.current)===null||r===void 0||r.reload(),ce(),ue(void 0)},[Q]);var H=function(r){return r?parseFloat((r/1e5).toFixed(2)):0},me=K.map(function(f){return{date:function(){var r=f.date+"",j=r.slice(0,4),Z=r.slice(4,6),U=r.slice(6,8);return"".concat(j,"-").concat(Z,"-").concat(U)}(),income:H(f.income)}}),fe={data:me,xField:"date",yField:"income",tooltip:{name:"\u6536\u5165",field:"income"},axis:{date:{title:"\u65E5\u671F"}},title:"\u7D2F\u8BA1"+H(K.reduce(function(f,r){return f+(r.income?r.income:0)},0))+"\u5143",height:400,label:{text:function(r){return r.income>0?r.income:""},textBaseline:"bottom"}};return(0,c.jsx)(I._z,{children:(0,c.jsxs)(h.Z,{defaultActiveKey:"2",centered:!0,style:{backgroundColor:"white",padding:"20px"},children:[(0,c.jsx)(s.Z,{tab:"\u5E7F\u544A\u8BE6\u60C5",children:(0,c.jsx)(P.Z,{headerTitle:ne.formatMessage({id:"pages.searchTable.title",defaultMessage:"Enquiry form"}),actionRef:N,rowKey:"id",search:{labelWidth:120},request:_e,columns:de,columnsState:{value:oe,onChange:function(r){le(r)}}})},"2"),(0,c.jsxs)(s.Z,{tab:"\u6570\u636E\u603B\u89C8",children:[(0,c.jsx)(o.Z,{onResize:function(r){q(r.width<596)},children:(0,c.jsx)(M.Z,{children:(0,c.jsxs)(M.Z.Group,{direction:W?"column":"row",children:[(0,c.jsx)(M.Z,{statistic:{title:"\u4E0A\u6708\u6536\u5165\uFF08\u5143\uFF09",value:H(d==null?void 0:d.lastMonthIncome)}}),(0,c.jsx)(u.Z,{type:W?"horizontal":"vertical"}),(0,c.jsx)(M.Z,{statistic:{title:"\u672C\u6708\u6536\u5165\uFF08\u5143\uFF09",value:H(d==null?void 0:d.thisMonthIncome)}}),(0,c.jsx)(u.Z,{type:W?"horizontal":"vertical"}),(0,c.jsx)(M.Z,{statistic:{title:"\u4ECA\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:H(d==null?void 0:d.todayIncome)}}),(0,c.jsx)(u.Z,{type:W?"horizontal":"vertical"}),(0,c.jsx)(M.Z,{statistic:{title:"\u6628\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:H(d==null?void 0:d.yesterdayIncome)}})]})})},"resize-observer"),(0,c.jsxs)(S.t,{defaultCollapsed:!0,split:!0,onFinish:ue,children:[(0,c.jsx)(G.Z,{label:"\u5E73\u53F0",name:"platform",valueEnum:{1:"\u7A7F\u5C71\u7532",2:"\u817E\u8BAF",3:"\u767E\u5EA6\u8054\u76DF",4:"Mintegral",5:"\u5FEB\u624B",6:"\u6E38\u53EF\u8D62",7:"Sigmob",8:"Admob"}}),(0,c.jsx)(L.Z,{fieldProps:{disabledDate:function(r){return r&&r>=t()().startOf("day")}},name:"date",label:"\u65F6\u95F4"})]}),(0,c.jsx)(D.Z,a()({},fe))]},"3")]})})};g.default=x},42767:function(Y,g,e){e.d(g,{Z:function(){return se}});var y=e(5574),n=e.n(y),b=e(55241),a=e(2487),R=e(71230),p=e(7134),m=e(67294),E=e(52043),i=e(58125),O=e(15009),D=e.n(O),I=e(97857),P=e.n(I),M=e(99289),S=e.n(M),G=e(40110),L=e(67539),v=e(55102),h=e(42075),u=e(14726),s=e(17788),l=e(4575),t=e(85893),o=function(x){var te=(0,m.useState)(),N=n()(te,2),k=N[0],X=N[1],z=(0,m.useState)(),W=n()(z,2),q=W[0],ne=W[1],ie=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",ellipsis:!0,hideInSearch:!0,filterDropdown:function(_){var d=_.setSelectedKeys,$=_.selectedKeys,C=_.confirm,A=_.clearFilters;return(0,t.jsxs)("div",{style:{padding:8},children:[(0,t.jsx)(v.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:$[0],onChange:function(T){return d(T.target.value?[T.target.value]:[])},onPressEnter:function(){return C()},style:{marginBottom:8,display:"block"}}),(0,t.jsxs)(h.Z,{children:[(0,t.jsx)(u.ZP,{onClick:function(){return C()},type:"primary",children:"\u641C\u7D22"}),(0,t.jsx)(u.ZP,{onClick:function(){return A&&A()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(_,d){return typeof _=="string"&&typeof(d==null?void 0:d.appName)=="string"?d.appName.includes(_):!1},filterIcon:function(_){return(0,t.jsx)(G.Z,{style:{color:_?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u5E94\u7528\u5305\u540D",dataIndex:"packageName",hideInSearch:!0,ellipsis:!0,filterDropdown:function(_){var d=_.setSelectedKeys,$=_.selectedKeys,C=_.confirm,A=_.clearFilters;return(0,t.jsxs)("div",{style:{padding:8},children:[(0,t.jsx)(v.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:$[0],onChange:function(T){return d(T.target.value?[T.target.value]:[])},onPressEnter:function(){return C()},style:{marginBottom:8,display:"block"}}),(0,t.jsxs)(h.Z,{children:[(0,t.jsx)(u.ZP,{onClick:function(){return C()},type:"primary",children:"\u641C\u7D22"}),(0,t.jsx)(u.ZP,{onClick:function(){return A&&A()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(_,d){return typeof _=="string"&&typeof(d==null?void 0:d.packageName)=="string"?d.packageName.includes(_):!1},filterIcon:function(_){return(0,t.jsx)(G.Z,{style:{color:_?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}}],Q=function(){var B=S()(D()().mark(function _(){var d,$,C,A;return D()().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return T.next=2,(0,l.ai)();case 2:d=T.sent,d.data&&(C=[],A=[],($=x.data.localAppList)===null||$===void 0||$.forEach(function(F){var ee;(ee=d.data)!==null&&ee!==void 0&&ee.some(function(re){return re.packageName===F.packageName})?C.push(P()(P()({},F),{},{evil:!0})):A.push(P()(P()({},F),{},{evil:!1}))}),X([].concat(C,A)),ne([].concat(C,A)));case 4:case"end":return T.stop()}},_)}));return function(){return B.apply(this,arguments)}}();return(0,m.useEffect)(function(){Q()},[]),(0,t.jsx)(s.Z,{style:{width:600},onCancel:x.onClose,visible:!0,footer:[],children:(0,t.jsx)(L.Z,{onRow:function(_){return{style:{backgroundColor:_.evil?"red":"transparent"}}},search:!1,onReset:function(){ne(k)},columns:ie,dataSource:q})})},V=o,ae=function(x){var te=(0,m.useState)(!1),N=n()(te,2),k=N[0],X=N[1],z=(0,E.E7)(x.data.env);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(b.Z,{content:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("p",{children:[(0,t.jsx)("label",{children:"\u603B\u6536\u5165\uFF1A"}),(0,i.P)(x.data.income),"\u5143"]}),(0,t.jsxs)("p",{children:[(0,t.jsx)("label",{children:"\u5DF2\u63D0\u73B0\uFF1A"}),(0,i.D)(x.data.realMoney),"\u5143"]}),x.data.localAppList&&x.data.localAppList.length>0&&(0,t.jsxs)("p",{children:[(0,t.jsx)("label",{children:"\u5DF2\u5B89\u88C5\u5E94\u7528\uFF1A"}),x.data.localAppList.length,"\u4E2A",(0,t.jsx)("a",{onClick:function(){X(!0)},style:{marginLeft:20},children:"\u67E5\u770B"})]}),z.length>0&&(0,t.jsx)(a.Z,{size:"small",header:(0,t.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:z,renderItem:function(q){return(0,t.jsx)(a.Z.Item,{children:q})}})]}),children:(0,t.jsxs)(R.Z,{children:[(0,t.jsx)(p.C,{src:x.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,t.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:z.length>0?"red":""},children:["id:",x.data.id,(0,t.jsx)("br",{}),x.data.nickname||x.data.mobile]})]})}),k&&(0,t.jsx)(V,{onClose:function(){X(!1)},data:x.data})]})},se=ae},80484:function(Y,g,e){e.d(g,{OE:function(){return I},di:function(){return O},n4:function(){return G},ps:function(){return v},sk:function(){return M}});var y=e(15009),n=e.n(y),b=e(97857),a=e.n(b),R=e(99289),p=e.n(R),m=e(35312);function E(u,s){return i.apply(this,arguments)}function i(){return i=_asyncToGenerator(_regeneratorRuntime().mark(function u(s,l){return _regeneratorRuntime().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",request("/api/admin/device/calc",_objectSpread({method:"GET",params:_objectSpread({},s)},l||{})));case 1:case"end":return o.stop()}},u)})),i.apply(this,arguments)}function O(u,s){return D.apply(this,arguments)}function D(){return D=p()(n()().mark(function u(s,l){return n()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,m.request)("/api/admin/device/incomeDaily",a()({method:"POST",headers:{"Content-Type":"application/json"},data:s},l||{})));case 1:case"end":return o.stop()}},u)})),D.apply(this,arguments)}function I(u,s){return P.apply(this,arguments)}function P(){return P=p()(n()().mark(function u(s,l){return n()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,m.request)("/api/admin/device/incomeOverview",a()({method:"GET",params:a()({},s)},l||{})));case 1:case"end":return o.stop()}},u)})),P.apply(this,arguments)}function M(u,s){return S.apply(this,arguments)}function S(){return S=p()(n()().mark(function u(s,l){return n()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,m.request)("/api/admin/device/list",a()({method:"GET",params:a()({},s)},l||{})));case 1:case"end":return o.stop()}},u)})),S.apply(this,arguments)}function G(u,s){return L.apply(this,arguments)}function L(){return L=p()(n()().mark(function u(s,l){return n()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,m.request)("/api/admin/device/offline",a()({method:"POST",params:a()({},s)},l||{})));case 1:case"end":return o.stop()}},u)})),L.apply(this,arguments)}function v(u,s){return h.apply(this,arguments)}function h(){return h=p()(n()().mark(function u(s,l){return n()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,m.request)("/api/admin/device/online",a()({method:"POST",params:a()({},s)},l||{})));case 1:case"end":return o.stop()}},u)})),h.apply(this,arguments)}},4575:function(Y,g,e){e.d(g,{XM:function(){return O},ai:function(){return E},nr:function(){return G},re:function(){return M},vE:function(){return I}});var y=e(15009),n=e.n(y),b=e(97857),a=e.n(b),R=e(99289),p=e.n(R),m=e(35312);function E(v){return i.apply(this,arguments)}function i(){return i=p()(n()().mark(function v(h){return n()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.abrupt("return",(0,m.request)("/api/superAdmin/evilAppList",a()({method:"GET"},h||{})));case 1:case"end":return s.stop()}},v)})),i.apply(this,arguments)}function O(v,h){return D.apply(this,arguments)}function D(){return D=p()(n()().mark(function v(h,u){return n()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",(0,m.request)("/api/superAdmin/saveEvilApp",a()({method:"POST",headers:{"Content-Type":"application/json"},data:h},u||{})));case 1:case"end":return l.stop()}},v)})),D.apply(this,arguments)}function I(v,h){return P.apply(this,arguments)}function P(){return P=p()(n()().mark(function v(h,u){return n()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",(0,m.request)("/api/superAdmin/saveWhiteUser",a()({method:"POST",params:a()({},h)},u||{})));case 1:case"end":return l.stop()}},v)})),P.apply(this,arguments)}function M(v,h){return S.apply(this,arguments)}function S(){return S=p()(n()().mark(function v(h,u){return n()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",(0,m.request)("/api/superAdmin/transfer",a()({method:"POST",params:a()({},h)},u||{})));case 1:case"end":return l.stop()}},v)})),S.apply(this,arguments)}function G(v){return L.apply(this,arguments)}function L(){return L=p()(n()().mark(function v(h){return n()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.abrupt("return",(0,m.request)("/api/superAdmin/whiteUserList",a()({method:"GET"},h||{})));case 1:case"end":return s.stop()}},v)})),L.apply(this,arguments)}},52043:function(Y,g,e){e.d(g,{E7:function(){return n},FG:function(){return y},RQ:function(){return R},XY:function(){return b},aV:function(){return p},m0:function(){return a}});var y=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"},{label:"\u5229\u597D",value:"lihao"},{label:"\u4F73\u7476",value:"jiayao"}]},n=function(E){var i=[];if(!E)return i;for(var O=E>>1,D=["\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"],I=0,P=D;I>=1}return i},b=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"}]},a=function(E){var i=new Date(E),O=i.getFullYear().toString().padStart(4,"0"),D=(i.getMonth()+1).toString().padStart(2,"0"),I=i.getDate().toString().padStart(2,"0");return O+D+I},R=function(E,i){var O=E.toString();return O.padStart(i,"0")},p=function(E){var i=E;return i<1024?i+" B":(i=parseFloat((i/1024).toFixed(2)),i<1024?i+" KB":(i=parseFloat((i/1024).toFixed(2)),i+" MB"))}},58125:function(Y,g,e){e.d(g,{D:function(){return n},P:function(){return y}});var y=function(a){return a?parseFloat((a/1e5).toFixed(2)):0},n=function(a){return a?parseFloat((a/100).toFixed(2)):0}}}]); diff --git a/dist/p__Proxy__ProxyAdvRecordListV2.a4fe446b.async.js b/dist/p__Proxy__ProxyAdvRecordListV2.a4fe446b.async.js deleted file mode 100644 index ce1d83c..0000000 --- a/dist/p__Proxy__ProxyAdvRecordListV2.a4fe446b.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[990],{40110:function(Y,M,e){var y=e(1413),r=e(67294),I=e(509),s=e(91146),L=function(p,i){return r.createElement(s.Z,(0,y.Z)((0,y.Z)({},p),{},{ref:i,icon:I.Z}))},f=r.forwardRef(L);M.Z=f},42521:function(Y,M,e){e.r(M);var y=e(15009),r=e.n(y),I=e(97857),s=e.n(I),L=e(99289),f=e.n(L),_=e(5574),p=e.n(_),i=e(48357),O=e(80484),D=e(11415),A=e(90930),E=e(67539),b=e(39615),B=e(57470),h=e(64317),P=e(34540),U=e(35312),v=e(13169),a=e(96074),m=e(16250),g=e(27484),t=e.n(g),u=e(9220),$=e(67294),ae=e(96974),se=e(42767),d=e(85893),x=function(){var N=(0,$.useRef)(),k=(0,$.useRef)(),X=(0,$.useState)(!1),z=p()(X,2),F=z[0],q=z[1],ne=(0,U.useIntl)(),ie=(0,ae.UO)(),Q=ie.code,K=(0,$.useState)(),l=p()(K,2),o=l[0],G=l[1],R=(0,$.useState)([]),T=p()(R,2),W=T[0],C=T[1],Z=function(){return window.innerWidth<=768},ee=(0,$.useState)({deviceId:{show:!Z()},appName:{show:!Z()},platform:{show:!Z()},deviceBrand:{show:!Z()},deviceName:{show:!Z()},ip:{show:!Z()}}),re=p()(ee,2),oe=re[0],le=re[1],de=[{title:"\u7528\u6237id",dataIndex:"userId",valueType:"textarea",hideInTable:!0},{title:"\u8BBE\u5907id",dataIndex:"deviceId",valueType:"textarea",ellipsis:!0,copyable:!0,hideInSearch:!0},{title:"\u7528\u6237",dataIndex:"user",hideInSearch:!0,width:150,renderText:function(n,j){if(j.user)return(0,d.jsx)(se.Z,{data:j.user})}},{title:"\u5E73\u53F0",dataIndex:"platform",valueEnum:{1:{text:"\u7A7F\u5C71\u7532"},2:{text:"\u817E\u8BAF"},3:{text:"\u767E\u5EA6\u8054\u76DF"},4:{text:"Mintegral"},5:{text:"\u5FEB\u624B"},6:{text:"\u6E38\u53EF\u8D62"},7:{text:"Sigmob"},8:{text:"Admob"}}},{title:"ecpm(\u5143)",dataIndex:"ecpm",hideInSearch:!0,renderText:function(n){return n/100}},{title:"ecpm-\u4EE3\u7406\u6536\u5165(\u5143)",dataIndex:"ecpmAdmin",hideInSearch:!0,renderText:function(n){return n/100}},{title:"\u8BBE\u5907",dataIndex:"device",hideInSearch:!0,renderText:function(n,j){return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("p",{children:j.deviceBrand}),(0,d.jsx)("p",{children:j.deviceName})]})}},{title:"ip",dataIndex:"ip",hideInSearch:!0,valueType:"textarea"},{title:"\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u65F6\u95F4",hideInTable:!0,dataIndex:"createdAt",valueType:"dateRange"}],_e=function(){var c=f()(r()().mark(function n(j){var V,S,w;return r()().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:return J.next=2,(0,i._5)(s()(s()({},j),{},{code:Q}));case 2:return w=J.sent,J.abrupt("return",{data:(V=w.data)===null||V===void 0?void 0:V.data,total:(S=w.data)===null||S===void 0?void 0:S.total,success:!0});case 4:case"end":return J.stop()}},n)}));return function(j){return c.apply(this,arguments)}}(),ce=function(){var c=f()(r()().mark(function n(){var j;return r()().wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return S.next=2,(0,O.OE)({appCode:Q});case 2:j=S.sent,j.data&&G(j.data);case 4:case"end":return S.stop()}},n)}));return function(){return c.apply(this,arguments)}}(),ue=function(){var c=f()(r()().mark(function n(j){var V;return r()().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,(0,O.di)(s()(s()({},j),{},{code:Q}));case 2:V=w.sent,V.data&&C(V.data);case 4:case"end":return w.stop()}},n)}));return function(j){return c.apply(this,arguments)}}();(0,$.useEffect)(function(){var c,n;(c=N.current)===null||c===void 0||c.reload(),(n=k.current)===null||n===void 0||n.reload(),ce(),ue(void 0)},[Q]);var H=function(n){return n?parseFloat((n/1e5).toFixed(2)):0},me=W.map(function(c){return{date:function(){var n=c.date+"",j=n.slice(0,4),V=n.slice(4,6),S=n.slice(6,8);return"".concat(j,"-").concat(V,"-").concat(S)}(),income:H(c.income)}}),fe={data:me,xField:"date",yField:"income",tooltip:{name:"\u6536\u5165",field:"income"},axis:{date:{title:"\u65E5\u671F"}},title:"\u7D2F\u8BA1"+H(W.reduce(function(c,n){return c+(n.income?n.income:0)},0))+"\u5143",height:400,label:{text:function(n){return n.income>0?n.income:""},textBaseline:"bottom"}};return(0,d.jsx)(A._z,{children:(0,d.jsxs)(v.Z,{defaultActiveKey:"2",centered:!0,style:{backgroundColor:"white",padding:"20px"},children:[(0,d.jsx)(m.Z,{tab:"\u5E7F\u544A\u8BE6\u60C5",children:(0,d.jsx)(E.Z,{headerTitle:ne.formatMessage({id:"pages.searchTable.title",defaultMessage:"Enquiry form"}),actionRef:N,rowKey:"id",search:{labelWidth:120},request:_e,columns:de,columnsState:{value:oe,onChange:function(n){le(n)}}})},"2"),(0,d.jsxs)(m.Z,{tab:"\u6570\u636E\u603B\u89C8",children:[(0,d.jsx)(u.Z,{onResize:function(n){q(n.width<596)},children:(0,d.jsx)(b.Z,{children:(0,d.jsxs)(b.Z.Group,{direction:F?"column":"row",children:[(0,d.jsx)(b.Z,{statistic:{title:"\u4E0A\u6708\u6536\u5165\uFF08\u5143\uFF09",value:H(o==null?void 0:o.lastMonthIncome)}}),(0,d.jsx)(a.Z,{type:F?"horizontal":"vertical"}),(0,d.jsx)(b.Z,{statistic:{title:"\u672C\u6708\u6536\u5165\uFF08\u5143\uFF09",value:H(o==null?void 0:o.thisMonthIncome)}}),(0,d.jsx)(a.Z,{type:F?"horizontal":"vertical"}),(0,d.jsx)(b.Z,{statistic:{title:"\u4ECA\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:H(o==null?void 0:o.todayIncome)}}),(0,d.jsx)(a.Z,{type:F?"horizontal":"vertical"}),(0,d.jsx)(b.Z,{statistic:{title:"\u6628\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:H(o==null?void 0:o.yesterdayIncome)}})]})})},"resize-observer"),(0,d.jsxs)(B.t,{defaultCollapsed:!0,split:!0,onFinish:ue,children:[(0,d.jsx)(h.Z,{label:"\u5E73\u53F0",name:"platform",valueEnum:{1:"\u7A7F\u5C71\u7532",2:"\u817E\u8BAF",3:"\u767E\u5EA6\u8054\u76DF",4:"Mintegral",5:"\u5FEB\u624B",6:"\u6E38\u53EF\u8D62",7:"Sigmob",8:"Admob"}}),(0,d.jsx)(P.Z,{fieldProps:{disabledDate:function(n){return n&&n>=t()().startOf("day")}},name:"date",label:"\u65F6\u95F4"})]}),(0,d.jsx)(D.Z,s()({},fe))]},"3")]})})};M.default=x},42767:function(Y,M,e){e.d(M,{Z:function(){return se}});var y=e(5574),r=e.n(y),I=e(55241),s=e(2487),L=e(71230),f=e(7134),_=e(67294),p=e(52043),i=e(58125),O=e(15009),D=e.n(O),A=e(97857),E=e.n(A),b=e(99289),B=e.n(b),h=e(40110),P=e(67539),U=e(55102),v=e(42075),a=e(14726),m=e(17788),g=e(4575),t=e(85893),u=function(x){var te=(0,_.useState)(),N=r()(te,2),k=N[0],X=N[1],z=(0,_.useState)(),F=r()(z,2),q=F[0],ne=F[1],ie=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",ellipsis:!0,hideInSearch:!0,filterDropdown:function(l){var o=l.setSelectedKeys,G=l.selectedKeys,R=l.confirm,T=l.clearFilters;return(0,t.jsxs)("div",{style:{padding:8},children:[(0,t.jsx)(U.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:G[0],onChange:function(C){return o(C.target.value?[C.target.value]:[])},onPressEnter:function(){return R()},style:{marginBottom:8,display:"block"}}),(0,t.jsxs)(v.Z,{children:[(0,t.jsx)(a.ZP,{onClick:function(){return R()},type:"primary",children:"\u641C\u7D22"}),(0,t.jsx)(a.ZP,{onClick:function(){return T&&T()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(l,o){return typeof l=="string"&&typeof(o==null?void 0:o.appName)=="string"?o.appName.includes(l):!1},filterIcon:function(l){return(0,t.jsx)(h.Z,{style:{color:l?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u5E94\u7528\u5305\u540D",dataIndex:"packageName",hideInSearch:!0,ellipsis:!0,filterDropdown:function(l){var o=l.setSelectedKeys,G=l.selectedKeys,R=l.confirm,T=l.clearFilters;return(0,t.jsxs)("div",{style:{padding:8},children:[(0,t.jsx)(U.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:G[0],onChange:function(C){return o(C.target.value?[C.target.value]:[])},onPressEnter:function(){return R()},style:{marginBottom:8,display:"block"}}),(0,t.jsxs)(v.Z,{children:[(0,t.jsx)(a.ZP,{onClick:function(){return R()},type:"primary",children:"\u641C\u7D22"}),(0,t.jsx)(a.ZP,{onClick:function(){return T&&T()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(l,o){return typeof l=="string"&&typeof(o==null?void 0:o.packageName)=="string"?o.packageName.includes(l):!1},filterIcon:function(l){return(0,t.jsx)(h.Z,{style:{color:l?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}}],Q=function(){var K=B()(D()().mark(function l(){var o,G,R,T;return D()().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.next=2,(0,g.ai)();case 2:o=C.sent,o.data&&(R=[],T=[],(G=x.data.localAppList)===null||G===void 0||G.forEach(function(Z){var ee;(ee=o.data)!==null&&ee!==void 0&&ee.some(function(re){return re.packageName===Z.packageName})?R.push(E()(E()({},Z),{},{evil:!0})):T.push(E()(E()({},Z),{},{evil:!1}))}),X([].concat(R,T)),ne([].concat(R,T)));case 4:case"end":return C.stop()}},l)}));return function(){return K.apply(this,arguments)}}();return(0,_.useEffect)(function(){Q()},[]),(0,t.jsx)(m.Z,{style:{width:600},onCancel:x.onClose,visible:!0,footer:[],children:(0,t.jsx)(P.Z,{onRow:function(l){return{style:{backgroundColor:l.evil?"red":"transparent"}}},search:!1,onReset:function(){ne(k)},columns:ie,dataSource:q})})},$=u,ae=function(x){var te=(0,_.useState)(!1),N=r()(te,2),k=N[0],X=N[1],z=(0,p.E7)(x.data.env);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(I.Z,{content:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("p",{children:[(0,t.jsx)("label",{children:"\u603B\u6536\u5165\uFF1A"}),(0,i.P)(x.data.income),"\u5143"]}),(0,t.jsxs)("p",{children:[(0,t.jsx)("label",{children:"\u5DF2\u63D0\u73B0\uFF1A"}),(0,i.D)(x.data.realMoney),"\u5143"]}),x.data.localAppList&&x.data.localAppList.length>0&&(0,t.jsxs)("p",{children:[(0,t.jsx)("label",{children:"\u5DF2\u5B89\u88C5\u5E94\u7528\uFF1A"}),x.data.localAppList.length,"\u4E2A",(0,t.jsx)("a",{onClick:function(){X(!0)},style:{marginLeft:20},children:"\u67E5\u770B"})]}),z.length>0&&(0,t.jsx)(s.Z,{size:"small",header:(0,t.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:z,renderItem:function(q){return(0,t.jsx)(s.Z.Item,{children:q})}})]}),children:(0,t.jsxs)(L.Z,{children:[(0,t.jsx)(f.C,{src:x.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,t.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:z.length>0?"red":""},children:["id:",x.data.id,(0,t.jsx)("br",{}),x.data.nickname||x.data.mobile]})]})}),k&&(0,t.jsx)($,{onClose:function(){X(!1)},data:x.data})]})},se=ae},80484:function(Y,M,e){e.d(M,{OE:function(){return A},di:function(){return O},n4:function(){return h},ps:function(){return U},sk:function(){return b}});var y=e(15009),r=e.n(y),I=e(97857),s=e.n(I),L=e(99289),f=e.n(L),_=e(35312);function p(a,m){return i.apply(this,arguments)}function i(){return i=_asyncToGenerator(_regeneratorRuntime().mark(function a(m,g){return _regeneratorRuntime().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",request("/api/admin/device/calc",_objectSpread({method:"GET",params:_objectSpread({},m)},g||{})));case 1:case"end":return u.stop()}},a)})),i.apply(this,arguments)}function O(a,m){return D.apply(this,arguments)}function D(){return D=f()(r()().mark(function a(m,g){return r()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",(0,_.request)("/api/admin/device/incomeDaily",s()({method:"POST",headers:{"Content-Type":"application/json"},data:m},g||{})));case 1:case"end":return u.stop()}},a)})),D.apply(this,arguments)}function A(a,m){return E.apply(this,arguments)}function E(){return E=f()(r()().mark(function a(m,g){return r()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",(0,_.request)("/api/admin/device/incomeOverview",s()({method:"GET",params:s()({},m)},g||{})));case 1:case"end":return u.stop()}},a)})),E.apply(this,arguments)}function b(a,m){return B.apply(this,arguments)}function B(){return B=f()(r()().mark(function a(m,g){return r()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",(0,_.request)("/api/admin/device/list",s()({method:"GET",params:s()({},m)},g||{})));case 1:case"end":return u.stop()}},a)})),B.apply(this,arguments)}function h(a,m){return P.apply(this,arguments)}function P(){return P=f()(r()().mark(function a(m,g){return r()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",(0,_.request)("/api/admin/device/offline",s()({method:"POST",params:s()({},m)},g||{})));case 1:case"end":return u.stop()}},a)})),P.apply(this,arguments)}function U(a,m){return v.apply(this,arguments)}function v(){return v=f()(r()().mark(function a(m,g){return r()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",(0,_.request)("/api/admin/device/online",s()({method:"POST",params:s()({},m)},g||{})));case 1:case"end":return u.stop()}},a)})),v.apply(this,arguments)}},4575:function(Y,M,e){e.d(M,{XM:function(){return O},ai:function(){return p},nr:function(){return b},vE:function(){return A}});var y=e(15009),r=e.n(y),I=e(97857),s=e.n(I),L=e(99289),f=e.n(L),_=e(35312);function p(h){return i.apply(this,arguments)}function i(){return i=f()(r()().mark(function h(P){return r()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.abrupt("return",(0,_.request)("/api/superAdmin/evilAppList",s()({method:"GET"},P||{})));case 1:case"end":return v.stop()}},h)})),i.apply(this,arguments)}function O(h,P){return D.apply(this,arguments)}function D(){return D=f()(r()().mark(function h(P,U){return r()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,_.request)("/api/superAdmin/saveEvilApp",s()({method:"POST",headers:{"Content-Type":"application/json"},data:P},U||{})));case 1:case"end":return a.stop()}},h)})),D.apply(this,arguments)}function A(h,P){return E.apply(this,arguments)}function E(){return E=f()(r()().mark(function h(P,U){return r()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,_.request)("/api/superAdmin/saveWhiteUser",s()({method:"POST",params:s()({},P)},U||{})));case 1:case"end":return a.stop()}},h)})),E.apply(this,arguments)}function b(h){return B.apply(this,arguments)}function B(){return B=f()(r()().mark(function h(P){return r()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.abrupt("return",(0,_.request)("/api/superAdmin/whiteUserList",s()({method:"GET"},P||{})));case 1:case"end":return v.stop()}},h)})),B.apply(this,arguments)}},52043:function(Y,M,e){e.d(M,{E7:function(){return r},FG:function(){return y},RQ:function(){return L},XY:function(){return I},aV:function(){return f},m0:function(){return s}});var y=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"},{label:"\u5229\u597D",value:"lihao"},{label:"\u4F73\u7476",value:"jiayao"}]},r=function(p){var i=[];if(!p)return i;for(var O=p>>1,D=["\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,E=D;A>=1}return i},I=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"}]},s=function(p){var i=new Date(p),O=i.getFullYear().toString().padStart(4,"0"),D=(i.getMonth()+1).toString().padStart(2,"0"),A=i.getDate().toString().padStart(2,"0");return O+D+A},L=function(p,i){var O=p.toString();return O.padStart(i,"0")},f=function(p){var i=p;return i<1024?i+" B":(i=parseFloat((i/1024).toFixed(2)),i<1024?i+" KB":(i=parseFloat((i/1024).toFixed(2)),i+" MB"))}},58125:function(Y,M,e){e.d(M,{D:function(){return r},P:function(){return y}});var y=function(s){return s?parseFloat((s/1e5).toFixed(2)):0},r=function(s){return s?parseFloat((s/100).toFixed(2)):0}}}]); diff --git a/dist/p__Proxy__ProxyUserManagement.8c01d23c.async.js b/dist/p__Proxy__ProxyUserManagement.8c01d23c.async.js deleted file mode 100644 index 30e77dd..0000000 --- a/dist/p__Proxy__ProxyUserManagement.8c01d23c.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[526],{40110:function(z,A,n){var i=n(1413),l=n(67294),T=n(509),c=n(91146),B=function(g,a){return l.createElement(c.Z,(0,i.Z)((0,i.Z)({},g),{},{ref:a,icon:T.Z}))},E=l.forwardRef(B);A.Z=E},58371:function(z,A,n){n.r(A);var i=n(15009),l=n.n(i),T=n(97857),c=n.n(T),B=n(99289),E=n.n(B),p=n(81072),g=n(58125),a=n(90930),D=n(67539),x=n(35312),U=n(66309),b=n(67294),y=n(42767),v=n(85893),_=function(){var d=(0,x.useParams)(),P=d.code,O=(0,b.useRef)();(0,b.useEffect)(function(){var R;(R=O.current)===null||R===void 0||R.reload()},[P]);var q=[{title:"\u7528\u6237id",dataIndex:"userId",valueType:"textarea",hideInTable:!0},{title:"id",dataIndex:"id",valueType:"textarea",ellipsis:!0,copyable:!0,hideInSearch:!0},{title:"\u7528\u6237",hideInSearch:!0,dataIndex:"nickname",valueType:"textarea",renderText:function(r,G){return(0,v.jsx)(y.Z,{data:G})}},{title:"\u652F\u4ED8\u5B9D\u540D\u79F0",dataIndex:"name",hideInSearch:!0},{title:"\u652F\u4ED8\u5B9D\u8D26\u53F7",dataIndex:"aliPayAccount",hideInSearch:!0},{title:"\u5FAE\u4FE1",dataIndex:"wxOpenId",hideInSearch:!0,renderText:function(r){return r?(0,v.jsx)(U.Z,{color:"green",children:"\u5DF2\u7ED1\u5B9A"}):(0,v.jsx)(U.Z,{color:"red",children:"\u672A\u7ED1\u5B9A"})}},{title:"\u603B\u6536\u76CA\uFF08\u5143\uFF09",hideInSearch:!0,dataIndex:"income",renderText:function(r){return(0,g.P)(r)}},{title:"\u5DF2\u63D0\u73B0\uFF08\u5143\uFF09",hideInSearch:!0,dataIndex:"realMoney",renderText:function(r){return(0,g.D)(r)}},{title:"\u6CE8\u518C\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u65F6\u95F4",hideInTable:!0,dataIndex:"createdAt",valueType:"dateRange",hideInSearch:!0}];return(0,v.jsx)(a._z,{children:(0,v.jsx)(D.Z,{actionRef:O,request:function(){var R=E()(l()().mark(function r(G){var H,Z,X;return l()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,(0,p.pb)(c()(c()({},G),{},{appCode:P}));case 2:return X=h.sent,h.abrupt("return",{data:(H=X.data)===null||H===void 0?void 0:H.data,total:(Z=X.data)===null||Z===void 0?void 0:Z.total,success:!0});case 4:case"end":return h.stop()}},r)}));return function(r){return R.apply(this,arguments)}}(),columns:q})})};A.default=_},42767:function(z,A,n){n.d(A,{Z:function(){return X}});var i=n(5574),l=n.n(i),T=n(55241),c=n(2487),B=n(71230),E=n(7134),p=n(67294),g=n(52043),a=n(58125),D=n(15009),x=n.n(D),U=n(97857),b=n.n(U),y=n(99289),v=n.n(y),_=n(40110),j=n(67539),d=n(55102),P=n(42075),O=n(14726),q=n(17788),R=n(4575),r=n(85893),G=function(h){var w=(0,p.useState)(),Y=l()(w,2),e=Y[0],s=Y[1],m=(0,p.useState)(),t=l()(m,2),o=t[0],$=t[1],M=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",ellipsis:!0,hideInSearch:!0,filterDropdown:function(u){var f=u.setSelectedKeys,K=u.selectedKeys,S=u.confirm,L=u.clearFilters;return(0,r.jsxs)("div",{style:{padding:8},children:[(0,r.jsx)(d.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:K[0],onChange:function(C){return f(C.target.value?[C.target.value]:[])},onPressEnter:function(){return S()},style:{marginBottom:8,display:"block"}}),(0,r.jsxs)(P.Z,{children:[(0,r.jsx)(O.ZP,{onClick:function(){return S()},type:"primary",children:"\u641C\u7D22"}),(0,r.jsx)(O.ZP,{onClick:function(){return L&&L()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(u,f){return typeof u=="string"&&typeof(f==null?void 0:f.appName)=="string"?f.appName.includes(u):!1},filterIcon:function(u){return(0,r.jsx)(_.Z,{style:{color:u?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u5E94\u7528\u5305\u540D",dataIndex:"packageName",hideInSearch:!0,ellipsis:!0,filterDropdown:function(u){var f=u.setSelectedKeys,K=u.selectedKeys,S=u.confirm,L=u.clearFilters;return(0,r.jsxs)("div",{style:{padding:8},children:[(0,r.jsx)(d.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:K[0],onChange:function(C){return f(C.target.value?[C.target.value]:[])},onPressEnter:function(){return S()},style:{marginBottom:8,display:"block"}}),(0,r.jsxs)(P.Z,{children:[(0,r.jsx)(O.ZP,{onClick:function(){return S()},type:"primary",children:"\u641C\u7D22"}),(0,r.jsx)(O.ZP,{onClick:function(){return L&&L()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(u,f){return typeof u=="string"&&typeof(f==null?void 0:f.packageName)=="string"?f.packageName.includes(u):!1},filterIcon:function(u){return(0,r.jsx)(_.Z,{style:{color:u?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}}],N=function(){var I=v()(x()().mark(function u(){var f,K,S,L;return x()().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.next=2,(0,R.ai)();case 2:f=C.sent,f.data&&(S=[],L=[],(K=h.data.localAppList)===null||K===void 0||K.forEach(function(Q){var V;(V=f.data)!==null&&V!==void 0&&V.some(function(ne){return ne.packageName===Q.packageName})?S.push(b()(b()({},Q),{},{evil:!0})):L.push(b()(b()({},Q),{},{evil:!1}))}),s([].concat(S,L)),$([].concat(S,L)));case 4:case"end":return C.stop()}},u)}));return function(){return I.apply(this,arguments)}}();return(0,p.useEffect)(function(){N()},[]),(0,r.jsx)(q.Z,{style:{width:600},onCancel:h.onClose,visible:!0,footer:[],children:(0,r.jsx)(j.Z,{onRow:function(u){return{style:{backgroundColor:u.evil?"red":"transparent"}}},search:!1,onReset:function(){$(e)},columns:M,dataSource:o})})},H=G,Z=function(h){var w=(0,p.useState)(!1),Y=l()(w,2),e=Y[0],s=Y[1],m=(0,g.E7)(h.data.env);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(T.Z,{content:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("p",{children:[(0,r.jsx)("label",{children:"\u603B\u6536\u5165\uFF1A"}),(0,a.P)(h.data.income),"\u5143"]}),(0,r.jsxs)("p",{children:[(0,r.jsx)("label",{children:"\u5DF2\u63D0\u73B0\uFF1A"}),(0,a.D)(h.data.realMoney),"\u5143"]}),h.data.localAppList&&h.data.localAppList.length>0&&(0,r.jsxs)("p",{children:[(0,r.jsx)("label",{children:"\u5DF2\u5B89\u88C5\u5E94\u7528\uFF1A"}),h.data.localAppList.length,"\u4E2A",(0,r.jsx)("a",{onClick:function(){s(!0)},style:{marginLeft:20},children:"\u67E5\u770B"})]}),m.length>0&&(0,r.jsx)(c.Z,{size:"small",header:(0,r.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:m,renderItem:function(o){return(0,r.jsx)(c.Z.Item,{children:o})}})]}),children:(0,r.jsxs)(B.Z,{children:[(0,r.jsx)(E.C,{src:h.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,r.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:m.length>0?"red":""},children:["id:",h.data.id,(0,r.jsx)("br",{}),h.data.nickname||h.data.mobile]})]})}),e&&(0,r.jsx)(H,{onClose:function(){s(!1)},data:h.data})]})},X=Z},81072:function(z,A,n){n.d(A,{fn:function(){return U},pb:function(){return D},wv:function(){return g}});var i=n(15009),l=n.n(i),T=n(97857),c=n.n(T),B=n(99289),E=n.n(B),p=n(35312);function g(y,v){return a.apply(this,arguments)}function a(){return a=E()(l()().mark(function y(v,_){return l()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.abrupt("return",(0,p.request)("/api/admin/user/changeStatus",c()({method:"POST",params:c()({},v)},_||{})));case 1:case"end":return d.stop()}},y)})),a.apply(this,arguments)}function D(y,v){return x.apply(this,arguments)}function x(){return x=E()(l()().mark(function y(v,_){return l()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.abrupt("return",(0,p.request)("/api/admin/user/list",c()({method:"POST",headers:{"Content-Type":"application/json"},data:v},_||{})));case 1:case"end":return d.stop()}},y)})),x.apply(this,arguments)}function U(y,v){return b.apply(this,arguments)}function b(){return b=E()(l()().mark(function y(v,_){return l()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.abrupt("return",(0,p.request)("/api/admin/user/queryById",c()({method:"GET",params:c()({},v)},_||{})));case 1:case"end":return d.stop()}},y)})),b.apply(this,arguments)}},4575:function(z,A,n){n.d(A,{XM:function(){return D},ai:function(){return g},nr:function(){return y},vE:function(){return U}});var i=n(15009),l=n.n(i),T=n(97857),c=n.n(T),B=n(99289),E=n.n(B),p=n(35312);function g(_){return a.apply(this,arguments)}function a(){return a=E()(l()().mark(function _(j){return l()().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return P.abrupt("return",(0,p.request)("/api/superAdmin/evilAppList",c()({method:"GET"},j||{})));case 1:case"end":return P.stop()}},_)})),a.apply(this,arguments)}function D(_,j){return x.apply(this,arguments)}function x(){return x=E()(l()().mark(function _(j,d){return l()().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return O.abrupt("return",(0,p.request)("/api/superAdmin/saveEvilApp",c()({method:"POST",headers:{"Content-Type":"application/json"},data:j},d||{})));case 1:case"end":return O.stop()}},_)})),x.apply(this,arguments)}function U(_,j){return b.apply(this,arguments)}function b(){return b=E()(l()().mark(function _(j,d){return l()().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return O.abrupt("return",(0,p.request)("/api/superAdmin/saveWhiteUser",c()({method:"POST",params:c()({},j)},d||{})));case 1:case"end":return O.stop()}},_)})),b.apply(this,arguments)}function y(_){return v.apply(this,arguments)}function v(){return v=E()(l()().mark(function _(j){return l()().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return P.abrupt("return",(0,p.request)("/api/superAdmin/whiteUserList",c()({method:"GET"},j||{})));case 1:case"end":return P.stop()}},_)})),v.apply(this,arguments)}},52043:function(z,A,n){n.d(A,{E7:function(){return l},FG:function(){return i},RQ:function(){return B},XY:function(){return T},aV:function(){return E},m0:function(){return c}});var i=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"},{label:"\u5229\u597D",value:"lihao"},{label:"\u4F73\u7476",value:"jiayao"}]},l=function(g){var a=[];if(!g)return a;for(var D=g>>1,x=["\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"],U=0,b=x;U>=1}return a},T=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(g){var a=new Date(g),D=a.getFullYear().toString().padStart(4,"0"),x=(a.getMonth()+1).toString().padStart(2,"0"),U=a.getDate().toString().padStart(2,"0");return D+x+U},B=function(g,a){var D=g.toString();return D.padStart(a,"0")},E=function(g){var a=g;return a<1024?a+" B":(a=parseFloat((a/1024).toFixed(2)),a<1024?a+" KB":(a=parseFloat((a/1024).toFixed(2)),a+" MB"))}},58125:function(z,A,n){n.d(A,{D:function(){return l},P:function(){return i}});var i=function(c){return c?parseFloat((c/1e5).toFixed(2)):0},l=function(c){return c?parseFloat((c/100).toFixed(2)):0}},66309:function(z,A,n){n.d(A,{Z:function(){return Y}});var i=n(67294),l=n(93967),T=n.n(l),c=n(98423),B=n(98787),E=n(69760),p=n(96159),g=n(45353),a=n(53124),D=n(54548),x=n(10274),U=n(14747),b=n(45503),y=n(91945);const v=e=>{const{paddingXXS:s,lineWidth:m,tagPaddingHorizontal:t,componentCls:o,calc:$}=e,M=$(t).sub(m).equal(),N=$(s).sub(m).equal();return{[o]:Object.assign(Object.assign({},(0,U.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:M,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,D.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:N,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${o}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:M}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},_=e=>{const{lineWidth:s,fontSizeIcon:m,calc:t}=e,o=e.fontSizeSM;return(0,b.TS)(e,{tagFontSize:o,tagLineHeight:(0,D.bf)(t(e.lineHeightSM).mul(o).equal()),tagIconSize:t(m).sub(t(s).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},j=e=>({defaultBg:new x.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var d=(0,y.I$)("Tag",e=>{const s=_(e);return v(s)},j),P=function(e,s){var m={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&s.indexOf(t)<0&&(m[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,t=Object.getOwnPropertySymbols(e);o{const{prefixCls:m,style:t,className:o,checked:$,onChange:M,onClick:N}=e,I=P(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:u,tag:f}=i.useContext(a.E_),K=V=>{M==null||M(!$),N==null||N(V)},S=u("tag",m),[L,W,C]=d(S),Q=T()(S,`${S}-checkable`,{[`${S}-checkable-checked`]:$},f==null?void 0:f.className,o,W,C);return L(i.createElement("span",Object.assign({},I,{ref:s,style:Object.assign(Object.assign({},t),f==null?void 0:f.style),className:Q,onClick:K})))}),R=n(98719);const r=e=>(0,R.Z)(e,(s,m)=>{let{textColor:t,lightBorderColor:o,lightColor:$,darkColor:M}=m;return{[`${e.componentCls}${e.componentCls}-${s}`]:{color:t,background:$,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:M,borderColor:M},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var G=(0,y.bk)(["Tag","preset"],e=>{const s=_(e);return r(s)},j);function H(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const Z=(e,s,m)=>{const t=H(m);return{[`${e.componentCls}${e.componentCls}-${s}`]:{color:e[`color${m}`],background:e[`color${t}Bg`],borderColor:e[`color${t}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var X=(0,y.bk)(["Tag","status"],e=>{const s=_(e);return[Z(s,"success","Success"),Z(s,"processing","Info"),Z(s,"error","Error"),Z(s,"warning","Warning")]},j),ee=function(e,s){var m={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&s.indexOf(t)<0&&(m[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,t=Object.getOwnPropertySymbols(e);o{const{prefixCls:m,className:t,rootClassName:o,style:$,children:M,icon:N,color:I,onClose:u,bordered:f=!0,visible:K}=e,S=ee(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:L,direction:W,tag:C}=i.useContext(a.E_),[Q,V]=i.useState(!0),ne=(0,c.Z)(S,["closeIcon","closable"]);i.useEffect(()=>{K!==void 0&&V(K)},[K]);const ae=(0,B.o2)(I),oe=(0,B.yT)(I),re=ae||oe,ce=Object.assign(Object.assign({backgroundColor:I&&!re?I:void 0},C==null?void 0:C.style),$),F=L("tag",m),[de,me,_e]=d(F),fe=T()(F,C==null?void 0:C.className,{[`${F}-${I}`]:re,[`${F}-has-color`]:I&&!re,[`${F}-hidden`]:!Q,[`${F}-rtl`]:W==="rtl",[`${F}-borderless`]:!f},t,o,me,_e),se=k=>{k.stopPropagation(),u==null||u(k),!k.defaultPrevented&&V(!1)},[,pe]=(0,E.Z)((0,E.w)(e),(0,E.w)(C),{closable:!1,closeIconRender:k=>{const ge=i.createElement("span",{className:`${F}-close-icon`,onClick:se},k);return(0,p.wm)(k,ge,J=>({onClick:ue=>{var te;(te=J==null?void 0:J.onClick)===null||te===void 0||te.call(J,ue),se(ue)},className:T()(J==null?void 0:J.className,`${F}-close-icon`)}))}}),ve=typeof S.onClick=="function"||M&&M.type==="a",le=N||null,he=le?i.createElement(i.Fragment,null,le,M&&i.createElement("span",null,M)):M,ie=i.createElement("span",Object.assign({},ne,{ref:s,className:fe,style:ce}),he,pe,ae&&i.createElement(G,{key:"preset",prefixCls:F}),oe&&i.createElement(X,{key:"status",prefixCls:F}));return de(ve?i.createElement(g.Z,{component:"Tag"},ie):ie)});w.CheckableTag=q;var Y=w}}]); diff --git a/dist/p__Proxy__ProxyUserManagement.9b5c45a4.async.js b/dist/p__Proxy__ProxyUserManagement.9b5c45a4.async.js new file mode 100644 index 0000000..6fa94fe --- /dev/null +++ b/dist/p__Proxy__ProxyUserManagement.9b5c45a4.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[526],{40110:function(q,I,r){var l=r(1413),v=r(67294),C=r(509),P=r(91146),T=function(y,S){return v.createElement(P.Z,(0,l.Z)((0,l.Z)({},y),{},{ref:S,icon:C.Z}))},h=v.forwardRef(T);I.Z=h},58371:function(q,I,r){r.r(I);var l=r(15009),v=r.n(l),C=r(97857),P=r.n(C),T=r(99289),h=r.n(T),W=r(81072),y=r(58125),S=r(90930),L=r(67539),F=r(35312),K=r(66309),N=r(67294),D=r(42767),p=r(85893),j=function(){var Z=(0,F.useParams)(),V=Z.code,X=(0,N.useRef)();(0,N.useEffect)(function(){var c;(c=X.current)===null||c===void 0||c.reload()},[V]);var G=[{title:"\u7528\u6237id",dataIndex:"userId",valueType:"textarea",hideInTable:!0},{title:"id",dataIndex:"id",valueType:"textarea",ellipsis:!0,copyable:!0,hideInSearch:!0},{title:"\u7528\u6237",hideInSearch:!0,dataIndex:"nickname",valueType:"textarea",renderText:function(i,$){return(0,p.jsx)(D.Z,{data:$})}},{title:"\u652F\u4ED8\u5B9D\u540D\u79F0",dataIndex:"name",hideInSearch:!0},{title:"\u652F\u4ED8\u5B9D\u8D26\u53F7",dataIndex:"aliPayAccount",hideInSearch:!0},{title:"\u5FAE\u4FE1",dataIndex:"wxOpenId",hideInSearch:!0,renderText:function(i){return i?(0,p.jsx)(K.Z,{color:"green",children:"\u5DF2\u7ED1\u5B9A"}):(0,p.jsx)(K.Z,{color:"red",children:"\u672A\u7ED1\u5B9A"})}},{title:"\u603B\u6536\u76CA\uFF08\u5143\uFF09",hideInSearch:!0,dataIndex:"income",renderText:function(i){return(0,y.P)(i)}},{title:"\u5DF2\u63D0\u73B0\uFF08\u5143\uFF09",hideInSearch:!0,dataIndex:"realMoney",renderText:function(i){return(0,y.D)(i)}},{title:"\u6CE8\u518C\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u65F6\u95F4",hideInTable:!0,dataIndex:"createdAt",valueType:"dateRange",hideInSearch:!0}];return(0,p.jsx)(S._z,{children:(0,p.jsx)(L.Z,{actionRef:X,request:function(){var c=h()(v()().mark(function i($){var B,m,R;return v()().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,(0,W.pb)(P()(P()({},$),{},{appCode:V}));case 2:return R=b.sent,b.abrupt("return",{data:(B=R.data)===null||B===void 0?void 0:B.data,total:(m=R.data)===null||m===void 0?void 0:m.total,success:!0});case 4:case"end":return b.stop()}},i)}));return function(i){return c.apply(this,arguments)}}(),columns:G})})};I.default=j},66309:function(q,I,r){r.d(I,{Z:function(){return ce}});var l=r(67294),v=r(93967),C=r.n(v),P=r(98423),T=r(98787),h=r(69760),W=r(96159),y=r(45353),S=r(53124),L=r(54548),F=r(10274),K=r(14747),N=r(45503),D=r(91945);const p=e=>{const{paddingXXS:o,lineWidth:a,tagPaddingHorizontal:t,componentCls:n,calc:u}=e,s=u(t).sub(a).equal(),E=u(o).sub(a).equal();return{[n]:Object.assign(Object.assign({},(0,K.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:s,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,L.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${n}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${n}-close-icon`]:{marginInlineStart:E,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${n}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${n}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:s}}),[`${n}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},j=e=>{const{lineWidth:o,fontSizeIcon:a,calc:t}=e,n=e.fontSizeSM;return(0,N.TS)(e,{tagFontSize:n,tagLineHeight:(0,L.bf)(t(e.lineHeightSM).mul(n).equal()),tagIconSize:t(a).sub(t(o).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},z=e=>({defaultBg:new F.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var Z=(0,D.I$)("Tag",e=>{const o=j(e);return p(o)},z),V=function(e,o){var a={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(a[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,t=Object.getOwnPropertySymbols(e);n{const{prefixCls:a,style:t,className:n,checked:u,onChange:s,onClick:E}=e,f=V(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:U,tag:g}=l.useContext(S.E_),A=H=>{s==null||s(!u),E==null||E(H)},O=U("tag",a),[Q,J,_]=Z(O),Y=C()(O,`${O}-checkable`,{[`${O}-checkable-checked`]:u},g==null?void 0:g.className,n,J,_);return Q(l.createElement("span",Object.assign({},f,{ref:o,style:Object.assign(Object.assign({},t),g==null?void 0:g.style),className:Y,onClick:A})))}),c=r(98719);const i=e=>(0,c.Z)(e,(o,a)=>{let{textColor:t,lightBorderColor:n,lightColor:u,darkColor:s}=a;return{[`${e.componentCls}${e.componentCls}-${o}`]:{color:t,background:u,borderColor:n,"&-inverse":{color:e.colorTextLightSolid,background:s,borderColor:s},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var $=(0,D.bk)(["Tag","preset"],e=>{const o=j(e);return i(o)},z);function B(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const m=(e,o,a)=>{const t=B(a);return{[`${e.componentCls}${e.componentCls}-${o}`]:{color:e[`color${a}`],background:e[`color${t}Bg`],borderColor:e[`color${t}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var R=(0,D.bk)(["Tag","status"],e=>{const o=j(e);return[m(o,"success","Success"),m(o,"processing","Info"),m(o,"error","Error"),m(o,"warning","Warning")]},z),ee=function(e,o){var a={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(a[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,t=Object.getOwnPropertySymbols(e);n{const{prefixCls:a,className:t,rootClassName:n,style:u,children:s,icon:E,color:f,onClose:U,bordered:g=!0,visible:A}=e,O=ee(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:Q,direction:J,tag:_}=l.useContext(S.E_),[Y,H]=l.useState(!0),ie=(0,P.Z)(O,["closeIcon","closable"]);l.useEffect(()=>{A!==void 0&&H(A)},[A]);const te=(0,T.o2)(f),ne=(0,T.yT)(f),w=te||ne,de=Object.assign(Object.assign({backgroundColor:f&&!w?f:void 0},_==null?void 0:_.style),u),d=Q("tag",a),[ue,_e,me]=Z(d),fe=C()(d,_==null?void 0:_.className,{[`${d}-${f}`]:w,[`${d}-has-color`]:f&&!w,[`${d}-hidden`]:!Y,[`${d}-rtl`]:J==="rtl",[`${d}-borderless`]:!g},t,n,_e,me),oe=M=>{M.stopPropagation(),U==null||U(M),!M.defaultPrevented&&H(!1)},[,ge]=(0,h.Z)((0,h.w)(e),(0,h.w)(_),{closable:!1,closeIconRender:M=>{const he=l.createElement("span",{className:`${d}-close-icon`,onClick:oe},M);return(0,W.wm)(M,he,x=>({onClick:se=>{var k;(k=x==null?void 0:x.onClick)===null||k===void 0||k.call(x,se),oe(se)},className:C()(x==null?void 0:x.className,`${d}-close-icon`)}))}}),ve=typeof O.onClick=="function"||s&&s.type==="a",ae=E||null,Ce=ae?l.createElement(l.Fragment,null,ae,s&&l.createElement("span",null,s)):s,le=l.createElement("span",Object.assign({},ie,{ref:o,className:fe,style:de}),Ce,ge,te&&l.createElement($,{key:"preset",prefixCls:d}),ne&&l.createElement(R,{key:"status",prefixCls:d}));return ue(ve?l.createElement(y.Z,{component:"Tag"},le):le)});re.CheckableTag=G;var ce=re}}]); diff --git a/dist/p__SuperAdmin.aebf7b0e.async.js b/dist/p__SuperAdmin.aebf7b0e.async.js deleted file mode 100644 index 8df9d95..0000000 --- a/dist/p__SuperAdmin.aebf7b0e.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[455],{40110:function(ge,K,n){var R=n(1413),F=n(67294),$=n(509),E=n(91146),G=function(v,h){return F.createElement(E.Z,(0,R.Z)((0,R.Z)({},v),{},{ref:h,icon:$.Z}))},l=F.forwardRef(G);K.Z=l},28490:function(ge,K,n){n.r(K),n.d(K,{default:function(){return We}});var R=n(97857),F=n.n(R),$=n(13769),E=n.n($),G=n(15009),l=n.n(G),A=n(99289),v=n.n(A),h=n(5574),y=n.n(h),P=n(48357),B=n(52043),b=n(40110),ne=n(3089),J=n(90930),o=n(8232),x=n(55102),O=n(42075),g=n(14726),U=n(55241),Fe=n(66309),ie=n(2453),d=n(13169),Ie=n(72051),Ce=n(17788),Ze=n(34041),Me=n(71230),Pe=n(15746),T=n(47676),re=n(16250),ve=n(27484),le=n.n(ve),S=n(67294),he=n(19632),oe=n.n(he),Se=n(32400),be=n(56448),Be=n.n(be),Oe=n(66476),e=n(85893),C=function(ce){var H=ce.onUploadSuccess,N=ce.onUploadError,Y=(0,S.useState)(!1),de=y()(Y,2),ee=de[0],te=de[1],je=(0,S.useState)([]),fe=y()(je,2),z=fe[0],ae=fe[1],ue=(0,S.useState)(null),me=y()(ue,2),X=me[0],V=me[1],Q=Oe.Z.Dragger;(0,S.useEffect)(function(){function r(){return t.apply(this,arguments)}function t(){return t=v()(l()().mark(function p(){var u,c;return l()().wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return j.prev=0,j.next=3,(0,P.po)();case 3:if(u=j.sent,!(!u.data||!u.data.accessKeySecret||!u.data.accessKeyId)){j.next=7;break}return ie.ZP.error("\u521D\u59CB\u5316\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"),j.abrupt("return");case 7:c=new(Be())({region:"oss-cn-beijing",accessKeyId:u.data.accessKeyId,accessKeySecret:u.data.accessKeySecret,stsToken:u.data.securityToken,bucket:u.data.bucket}),V(c),j.next=15;break;case 11:j.prev=11,j.t0=j.catch(0),ie.ZP.error("\u521D\u59CB\u5316 OSS \u5BA2\u6237\u7AEF\u5931\u8D25"),N&&N(j.t0);case 15:case"end":return j.stop()}},p,null,[[0,11]])})),t.apply(this,arguments)}r()},[N]);var pe=function(t){var p=(z||[]).filter(function(u){return u.url!==t.url});ae(p)},f=function(){var r=v()(l()().mark(function t(p){var u,c,I,j;return l()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:if(u=p.file,!(u instanceof File)){D.next=26;break}return te(!0),D.prev=3,D.next=6,(0,Se.p)(u);case 6:return c=D.sent,I="matrix/".concat(c,".").concat(u.name.split(".").pop()),D.next=10,X==null?void 0:X.put(I,u,{headers:{"Content-Type":u.type}});case 10:j="https://apks.bzgames.cn/".concat(I),H&&H(j),te(!1),ae(function(Ae){return[].concat(oe()(Ae),[{uid:u.uid,name:u.name+"\uFF1A"+j,status:"done",url:j}])}),D.next=21;break;case 16:D.prev=16,D.t0=D.catch(3),ie.ZP.error("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25"),N&&N(D.t0),ae(function(Ae){return[].concat(oe()(Ae),[{uid:u.uid,name:u.name,status:"error"}])});case 21:return D.prev=21,te(!1),D.finish(21);case 24:D.next=27;break;case 26:ie.ZP.error("\u4E0A\u4F20\u6587\u4EF6\u7C7B\u578B\u9519\u8BEF");case 27:case"end":return D.stop()}},t,null,[[3,16,21,24]])}));return function(p){return r.apply(this,arguments)}}();return(0,e.jsxs)(Q,{fileList:z,multiple:!0,customRequest:f,onRemove:pe,disabled:ee||!X,onPreview:function(){var r=v()(l()().mark(function t(p){return l()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,navigator.clipboard.writeText(p.url||"");case 2:ie.ZP.success("\u94FE\u63A5\u590D\u5236\u6210\u529F "+p.url);case 3:case"end":return c.stop()}},t)}));return function(t){return r.apply(this,arguments)}}(),capture:void 0,children:[(0,e.jsx)("p",{className:"ant-upload-drag-icon",children:(0,e.jsx)("i",{className:"anticon anticon-inbox"})}),(0,e.jsx)("p",{className:"ant-upload-text",children:"\u70B9\u51FB\u6216\u62D6\u62FD\u6587\u4EF6\u5230\u6B64\u533A\u57DF\u4E0A\u4F20"}),(0,e.jsx)("p",{className:"ant-upload-hint",children:"\u652F\u6301\u5355\u4E2A\u6216\u6279\u91CF\u4E0A\u4F20\u3002\u6587\u4EF6\u540D\u5C06\u4F7F\u7528\u6587\u4EF6\u7684 MD5 \u503C\u547D\u540D\u3002"})]})},M=C,_=n(67539),k=n(4575),w=function(){var ce=(0,S.useState)(!1),H=y()(ce,2),N=H[0],Y=H[1],de=(0,S.useState)([]),ee=y()(de,2),te=ee[0],je=ee[1],fe=(0,S.useState)([]),z=y()(fe,2),ae=z[0],ue=z[1],me=o.Z.useForm(),X=y()(me,1),V=X[0],Q=[{title:"\u5E94\u7528\u540D",dataIndex:"name",copyable:!0,hideInSearch:!0,filterDropdown:function(r){var t=r.setSelectedKeys,p=r.selectedKeys,u=r.confirm,c=r.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(x.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:p[0],onChange:function(j){return t(j.target.value?[j.target.value]:[])},onPressEnter:function(){return u()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(O.Z,{children:[(0,e.jsx)(g.ZP,{onClick:function(){return u()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(g.ZP,{onClick:function(){return c&&c()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(r,t){return typeof r=="string"&&typeof(t==null?void 0:t.name)=="string"?t.name.includes(r):!1},filterIcon:function(r){return(0,e.jsx)(b.Z,{style:{color:r?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u5E94\u7528\u5305\u540D",dataIndex:"packageName",hideInSearch:!0,filterDropdown:function(r){var t=r.setSelectedKeys,p=r.selectedKeys,u=r.confirm,c=r.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(x.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:p[0],onChange:function(j){return t(j.target.value?[j.target.value]:[])},onPressEnter:function(){return u()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(O.Z,{children:[(0,e.jsx)(g.ZP,{onClick:function(){return u()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(g.ZP,{onClick:function(){return c&&c()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(r,t){return typeof r=="string"&&typeof(t==null?void 0:t.packageName)=="string"?t.packageName.includes(r):!1},filterIcon:function(r){return(0,e.jsx)(b.Z,{style:{color:r?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u64CD\u4F5C",width:80,hideInSearch:!0,renderText:function(r){return(0,e.jsx)("a",{onClick:function(){Y(!0),V.setFieldsValue(r)},children:"\u7F16\u8F91"},"edit")}}],pe=function(){var f=v()(l()().mark(function r(){var t;return l()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,(0,k.ai)();case 2:t=u.sent,t.data&&(je(t.data),ue(t.data));case 4:case"end":return u.stop()}},r)}));return function(){return f.apply(this,arguments)}}();return(0,S.useEffect)(function(){pe()},[]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(g.ZP,{style:{marginBottom:"20px"},onClick:function(){Y(!0),V.resetFields()},children:"\u65B0\u5EFA\u5E94\u7528"}),(0,e.jsx)(_.Z,{search:!1,onReset:function(){ue(te)},columns:Q,dataSource:ae}),(0,e.jsx)(Ce.Z,{title:"\u7F16\u8F91",visible:N,onOk:function(){V.submit(),Y(!1)},onCancel:function(){Y(!1)},children:(0,e.jsxs)(o.Z,{labelCol:{span:4},wrapperCol:{span:18},form:V,onFinish:function(){var f=v()(l()().mark(function r(t){return l()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,(0,k.XM)(t);case 2:pe();case 3:case"end":return u.stop()}},r)}));return function(r){return f.apply(this,arguments)}}(),children:[(0,e.jsx)(o.Z.Item,{name:"id",style:{display:"none"},children:(0,e.jsx)(x.Z,{type:"hidden"})}),(0,e.jsx)(o.Z.Item,{label:"\u5E94\u7528\u540D",name:"name",children:(0,e.jsx)(x.Z,{})}),(0,e.jsx)(o.Z.Item,{label:"\u5305\u540D",name:"packageName",children:(0,e.jsx)(x.Z,{})})]})})]})},q=w,W=n(37804),Ee=n(42767),De=function(){var ce=(0,S.useState)(!1),H=y()(ce,2),N=H[0],Y=H[1],de=(0,S.useState)([]),ee=y()(de,2),te=ee[0],je=ee[1],fe=(0,S.useState)([]),z=y()(fe,2),ae=z[0],ue=z[1],me=o.Z.useForm(),X=y()(me,1),V=X[0],Q=function(){var f=v()(l()().mark(function r(){var t;return l()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,(0,k.nr)();case 2:t=u.sent,t.data&&(je(t.data),ue(t.data));case 4:case"end":return u.stop()}},r)}));return function(){return f.apply(this,arguments)}}(),pe=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",copyable:!0,hideInSearch:!0,filterDropdown:function(r){var t=r.setSelectedKeys,p=r.selectedKeys,u=r.confirm,c=r.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(x.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:p[0],onChange:function(j){return t(j.target.value?[j.target.value]:[])},onPressEnter:function(){return u()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(O.Z,{children:[(0,e.jsx)(g.ZP,{onClick:function(){return u()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(g.ZP,{onClick:function(){return c&&c()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(r,t){return typeof r=="string"&&typeof(t==null?void 0:t.appName)=="string"?t.appName.includes(r):!1},filterIcon:function(r){return(0,e.jsx)(b.Z,{style:{color:r?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u7528\u6237",dataIndex:"user",hideInSearch:!0,render:function(r,t){return(0,e.jsx)(Ee.Z,{data:t.user||{}})},filterDropdown:function(r){var t=r.setSelectedKeys,p=r.selectedKeys,u=r.confirm,c=r.clearFilters,I=p[0]?String(p[0]):"";return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(W.Z,{placeholder:"\u641C\u7D22 userId",value:I,onChange:function(ye){return t(ye?[ye]:[])},onPressEnter:function(){return u()},style:{marginBottom:8,display:"block",width:200}}),(0,e.jsxs)(O.Z,{children:[(0,e.jsx)(g.ZP,{onClick:function(){return u()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(g.ZP,{onClick:function(){return c&&c()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(r,t){var p;return((p=t.user)===null||p===void 0?void 0:p.id)===r},filterIcon:function(r){return(0,e.jsx)(b.Z,{style:{color:r?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u72B6\u6001",hideInSearch:!0,renderText:function(r){return r.status===0?(0,e.jsx)(Fe.Z,{color:"green",children:"\u5DF2\u542F\u7528"}):(0,e.jsx)(Fe.Z,{color:"red",children:"\u672A\u542F\u7528"})}},{title:"\u521B\u5EFA\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u4FEE\u6539\u65F6\u95F4",hideInSearch:!0,dataIndex:"updatedAt",valueType:"dateTime"},{title:"\u64CD\u4F5C",width:80,hideInSearch:!0,renderText:function(r){return(0,e.jsx)("a",{onClick:v()(l()().mark(function t(){var p;return l()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,(0,k.vE)({userId:((p=r.user)===null||p===void 0?void 0:p.id)||0,status:r.status===0?-1:0});case 2:Q();case 3:case"end":return c.stop()}},t)})),children:r.status===0?"\u7981\u7528":"\u542F\u7528"},"edit")}}];return(0,S.useEffect)(function(){Q()},[]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(g.ZP,{style:{marginBottom:"20px"},onClick:function(){Y(!0),V.resetFields()},children:"\u6DFB\u52A0\u767D\u540D\u5355"}),(0,e.jsx)(_.Z,{search:!1,onReset:function(){ue(te)},columns:pe,dataSource:ae}),(0,e.jsx)(Ce.Z,{title:"\u7F16\u8F91",visible:N,onOk:function(){V.submit(),Y(!1)},onCancel:function(){Y(!1)},children:(0,e.jsx)(o.Z,{labelCol:{span:4},wrapperCol:{span:18},form:V,onFinish:function(){var f=v()(l()().mark(function r(t){var p;return l()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(p=t.userId,!p){c.next=5;break}return c.next=4,(0,k.vE)({userId:p});case 4:Q();case 5:case"end":return c.stop()}},r)}));return function(r){return f.apply(this,arguments)}}(),children:(0,e.jsx)(o.Z.Item,{label:"userId",name:"userId",children:(0,e.jsx)(W.Z,{style:{width:200}})})})})]})},Ue=De,Ke=["scheduleTime"],Re=function(){var ce=(0,S.useState)([]),H=y()(ce,2),N=H[0],Y=H[1],de=(0,S.useState)([]),ee=y()(de,2),te=ee[0],je=ee[1],fe=(0,S.useState)([]),z=y()(fe,2),ae=z[0],ue=z[1],me=(0,S.useState)(!1),X=y()(me,2),V=X[0],Q=X[1],pe=(0,S.useState)(!1),f=y()(pe,2),r=f[0],t=f[1],p=o.Z.useForm(),u=y()(p,1),c=u[0],I=o.Z.useForm(),j=y()(I,1),ye=j[0],D=function(){var m=v()(l()().mark(function a(){var i;return l()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,(0,P.hy)();case 2:i=s.sent,i.data&&je(i.data);case 4:case"end":return s.stop()}},a)}));return function(){return m.apply(this,arguments)}}(),Ae=function(){var m=v()(l()().mark(function a(i){return l()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(i){s.next=2;break}return s.abrupt("return");case 2:return s.next=4,(0,P.o9)({deviceId:i});case 4:D();case 5:case"end":return s.stop()}},a)}));return function(i){return m.apply(this,arguments)}}(),$e=[{title:"\u8BBE\u5907id",dataIndex:"deviceId",ellipsis:!0,filterDropdown:function(a){var i=a.setSelectedKeys,Z=a.selectedKeys,s=a.confirm,se=a.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(x.Z,{placeholder:"\u641C\u7D22\u8BBE\u5907",value:Z[0],onChange:function(L){return i(L.target.value?[L.target.value]:[])},onPressEnter:function(){return s()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(O.Z,{children:[(0,e.jsx)(g.ZP,{onClick:function(){return s()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(g.ZP,{onClick:function(){return se&&se()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(a,i){return typeof a=="string"&&typeof(i==null?void 0:i.deviceId)=="string"?i.deviceId.includes(a):!1},filterIcon:function(a){return(0,e.jsx)(b.Z,{style:{color:a?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u6E20\u9053",dataIndex:"channel",render:function(a){var i=(0,B.FG)(),Z=i.find(function(s){return s.value===a});return Z?Z.label:a}},{title:"\u64CD\u4F5C",dataIndex:"operate",render:function(a,i){return(0,e.jsx)(U.Z,{title:"\u786E\u8BA4\u5220\u9664\u5417",content:(0,e.jsxs)("div",{style:{textAlign:"center"},children:[(0,e.jsxs)("p",{children:["\u5220\u9664\u4E4B\u540Eecpm\u4F1A\u964D\u4F4E",(0,e.jsx)("br",{}),"\u4E5F\u4F1A\u5F71\u54CD\u5237\u6570\u636E\u53EF\u4F7F\u7528\u7684\u8BBE\u5907"]}),(0,e.jsx)("a",{onClick:function(){return Ae(i.deviceId)},children:"\u786E\u5B9A"})]}),children:(0,e.jsx)("a",{children:"\u5220\u9664"})})}}],we=function(a){var i=N.find(function(Z){return Z.id===a});return i?i.name:""},Ne=function(a){return a?parseFloat((a/1e5).toFixed(2)):0},Ye=[{title:"\u5E94\u7528",dataIndex:"appId",render:function(a){return(0,e.jsx)(Fe.Z,{color:"blue",children:we(a)},a)}},{title:"\u6E20\u9053",dataIndex:"channel",render:function(a){var i=(0,B.FG)(),Z=i.find(function(s){return s.value===a});return Z?Z.label:a}},{title:"\u76EE\u6807\u91D1\u989D",dataIndex:"incomeYuan"},{title:"\u5DF2\u5237\u91D1\u989D",dataIndex:"mockIncome",render:function(a){return Ne(a)}},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"scheduleTime",render:function(a){return le()(a).format("YYYY-MM-DD HH:mm")}},{title:"\u72B6\u6001",dataIndex:"status",render:function(a){switch(a){case 0:return"\u672A\u5F00\u59CB";case 1:return"\u8FDB\u884C\u4E2D";case 2:return"\u5DF2\u5B8C\u6210"}return a}},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"createdAt",render:function(a){return le()(a).format("YYYY-MM-DD HH:mm")}},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"updatedAt",render:function(a){return le()(a).format("YYYY-MM-DD HH:mm")}}],ke=function(){var m=v()(l()().mark(function a(){var i;return l()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,(0,P.mW)();case 2:i=s.sent,i.data&&ue(i.data);case 4:case"end":return s.stop()}},a)}));return function(){return m.apply(this,arguments)}}(),Ve=function(){var m=v()(l()().mark(function a(){var i;return l()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,(0,P.ln)();case 2:i=s.sent,i.data&&Y(i.data);case 4:case"end":return s.stop()}},a)}));return function(){return m.apply(this,arguments)}}();(0,S.useEffect)(function(){Ve(),D(),ke()},[]);var Ge=function(){var m=v()(l()().mark(function a(i){var Z,s,se;return l()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return Z=i.scheduleTime,s=E()(i,Ke),se=Z.map(function(Le){return le()(Le.time).valueOf()}),L.prev=2,L.next=5,(0,P.tI)(F()({scheduleTime:se},s));case 5:L.next=10;break;case 7:return L.prev=7,L.t0=L.catch(2),L.abrupt("return");case 10:ie.ZP.success("\u4EFB\u52A1\u63D0\u4EA4\u6210\u529F"),ke(),t(!1);case 13:case"end":return L.stop()}},a,null,[[2,7]])}));return function(i){return m.apply(this,arguments)}}(),He=function(){c.resetFields(),Q(!0)},ze=function(){ye.resetFields(),t(!0)},Xe=function(){c.submit()},Qe=function(){Q(!1)},Je=function(){ye.submit()},_e=function(){t(!1)},qe=function(){var m=v()(l()().mark(function a(i){return l()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,(0,P.gz)({deviceId:i.deviceId||"",channel:i.channel||""});case 3:s.next=8;break;case 5:return s.prev=5,s.t0=s.catch(0),s.abrupt("return");case 8:Q(!1),D();case 10:case"end":return s.stop()}},a,null,[[0,5]])}));return function(i){return m.apply(this,arguments)}}();return(0,e.jsx)(J._z,{children:(0,e.jsxs)(d.Z,{defaultActiveKey:"1",onChange:function(a){a==="1"?D():a==="2"&&ke()},centered:!0,style:{backgroundColor:"white",padding:"20px"},children:[(0,e.jsx)(re.Z,{tab:"\u8BBE\u5907\u767D\u540D\u5355",children:(0,e.jsxs)("div",{children:[(0,e.jsx)(g.ZP,{onClick:He,children:"\u6DFB\u52A0\u767D\u540D\u5355"}),(0,e.jsx)(Ie.Z,{columns:$e,dataSource:te}),(0,e.jsx)(Ce.Z,{title:"\u6DFB\u52A0\u767D\u540D\u5355",visible:V,onOk:Xe,onCancel:Qe,children:(0,e.jsxs)(o.Z,{form:c,onFinish:qe,children:[(0,e.jsx)(o.Z.Item,{name:"deviceId",label:"\u8BBE\u5907id",children:(0,e.jsx)(x.Z,{})}),(0,e.jsx)(o.Z.Item,{label:"\u6E20\u9053",name:"channel",children:(0,e.jsx)(Ze.Z,{options:(0,B.FG)()})})]})})]})},"1"),(0,e.jsx)(re.Z,{tab:"\u5237\u6570\u636E",children:(0,e.jsxs)("div",{children:[(0,e.jsx)(g.ZP,{onClick:ze,children:"\u6DFB\u52A0\u4EFB\u52A1"}),(0,e.jsx)(Ie.Z,{columns:Ye,dataSource:ae}),(0,e.jsx)(Ce.Z,{title:"\u6DFB\u52A0\u4EFB\u52A1",visible:r,onOk:Je,onCancel:_e,children:(0,e.jsxs)(o.Z,{labelCol:{span:6},wrapperCol:{span:18},form:ye,onFinish:Ge,children:[(0,e.jsx)(o.Z.Item,{label:"\u5E94\u7528",name:"appId",children:(0,e.jsx)(Ze.Z,{mode:"multiple",options:N.map(function(m){return{label:m.name,value:m.id}})})}),(0,e.jsx)(o.Z.Item,{name:"incomeYuan",label:"\u91D1\u989D\uFF08\u5143\uFF09",children:(0,e.jsx)(x.Z,{})}),(0,e.jsx)(o.Z.List,{name:"scheduleTime",children:function(a,i){var Z=i.add,s=i.remove;return(0,e.jsxs)(e.Fragment,{children:[a.map(function(se){var xe=se.key,L=se.name;return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(Me.Z,{align:"stretch",gutter:16,children:[(0,e.jsx)(Pe.Z,{span:18,children:(0,e.jsx)(o.Z.Item,{labelCol:{xs:{span:24},sm:{span:8}},name:[L,"time"],label:"\u5F00\u59CB\u65F6\u95F4",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}],children:(0,e.jsx)(T.default,{format:"YYYY-MM-DD HH:mm",showTime:{format:"HH:mm"}})})}),(0,e.jsx)(Pe.Z,{children:(0,e.jsx)(ne.Z,{onClick:function(){return s(L)}})})]},xe)})}),(0,e.jsx)(o.Z.Item,{children:(0,e.jsx)(g.ZP,{type:"dashed",onClick:function(){return Z()},block:!0,children:"\u6DFB\u52A0\u5F00\u59CB\u65F6\u95F4"})})]})}})]})})]})},"2"),(0,e.jsx)(re.Z,{tab:"\u4E0A\u4F20\u8D44\u6E90",children:(0,e.jsx)(M,{})},"3"),(0,e.jsx)(re.Z,{tab:"\u975E\u6CD5\u5E94\u7528",children:(0,e.jsx)(q,{})},"4"),(0,e.jsx)(re.Z,{tab:"\u7528\u6237\u767D\u540D\u5355",children:(0,e.jsx)(Ue,{})},"5")]})})},We=Re},42767:function(ge,K,n){n.d(K,{Z:function(){return Me}});var R=n(5574),F=n.n(R),$=n(55241),E=n(2487),G=n(71230),l=n(7134),A=n(67294),v=n(52043),h=n(58125),y=n(15009),P=n.n(y),B=n(97857),b=n.n(B),ne=n(99289),J=n.n(ne),o=n(40110),x=n(67539),O=n(55102),g=n(42075),U=n(14726),Fe=n(17788),ie=n(4575),d=n(85893),Ie=function(T){var re=(0,A.useState)(),ve=F()(re,2),le=ve[0],S=ve[1],he=(0,A.useState)(),oe=F()(he,2),Se=oe[0],be=oe[1],Be=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",ellipsis:!0,hideInSearch:!0,filterDropdown:function(C){var M=C.setSelectedKeys,_=C.selectedKeys,k=C.confirm,w=C.clearFilters;return(0,d.jsxs)("div",{style:{padding:8},children:[(0,d.jsx)(O.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:_[0],onChange:function(W){return M(W.target.value?[W.target.value]:[])},onPressEnter:function(){return k()},style:{marginBottom:8,display:"block"}}),(0,d.jsxs)(g.Z,{children:[(0,d.jsx)(U.ZP,{onClick:function(){return k()},type:"primary",children:"\u641C\u7D22"}),(0,d.jsx)(U.ZP,{onClick:function(){return w&&w()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(C,M){return typeof C=="string"&&typeof(M==null?void 0:M.appName)=="string"?M.appName.includes(C):!1},filterIcon:function(C){return(0,d.jsx)(o.Z,{style:{color:C?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u5E94\u7528\u5305\u540D",dataIndex:"packageName",hideInSearch:!0,ellipsis:!0,filterDropdown:function(C){var M=C.setSelectedKeys,_=C.selectedKeys,k=C.confirm,w=C.clearFilters;return(0,d.jsxs)("div",{style:{padding:8},children:[(0,d.jsx)(O.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:_[0],onChange:function(W){return M(W.target.value?[W.target.value]:[])},onPressEnter:function(){return k()},style:{marginBottom:8,display:"block"}}),(0,d.jsxs)(g.Z,{children:[(0,d.jsx)(U.ZP,{onClick:function(){return k()},type:"primary",children:"\u641C\u7D22"}),(0,d.jsx)(U.ZP,{onClick:function(){return w&&w()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(C,M){return typeof C=="string"&&typeof(M==null?void 0:M.packageName)=="string"?M.packageName.includes(C):!1},filterIcon:function(C){return(0,d.jsx)(o.Z,{style:{color:C?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}}],Oe=function(){var e=J()(P()().mark(function C(){var M,_,k,w;return P()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,(0,ie.ai)();case 2:M=W.sent,M.data&&(k=[],w=[],(_=T.data.localAppList)===null||_===void 0||_.forEach(function(Ee){var De;(De=M.data)!==null&&De!==void 0&&De.some(function(Ue){return Ue.packageName===Ee.packageName})?k.push(b()(b()({},Ee),{},{evil:!0})):w.push(b()(b()({},Ee),{},{evil:!1}))}),S([].concat(k,w)),be([].concat(k,w)));case 4:case"end":return W.stop()}},C)}));return function(){return e.apply(this,arguments)}}();return(0,A.useEffect)(function(){Oe()},[]),(0,d.jsx)(Fe.Z,{style:{width:600},onCancel:T.onClose,visible:!0,footer:[],children:(0,d.jsx)(x.Z,{onRow:function(C){return{style:{backgroundColor:C.evil?"red":"transparent"}}},search:!1,onReset:function(){be(le)},columns:Be,dataSource:Se})})},Ce=Ie,Ze=function(T){var re=(0,A.useState)(!1),ve=F()(re,2),le=ve[0],S=ve[1],he=(0,v.E7)(T.data.env);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)($.Z,{content:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("p",{children:[(0,d.jsx)("label",{children:"\u603B\u6536\u5165\uFF1A"}),(0,h.P)(T.data.income),"\u5143"]}),(0,d.jsxs)("p",{children:[(0,d.jsx)("label",{children:"\u5DF2\u63D0\u73B0\uFF1A"}),(0,h.D)(T.data.realMoney),"\u5143"]}),T.data.localAppList&&T.data.localAppList.length>0&&(0,d.jsxs)("p",{children:[(0,d.jsx)("label",{children:"\u5DF2\u5B89\u88C5\u5E94\u7528\uFF1A"}),T.data.localAppList.length,"\u4E2A",(0,d.jsx)("a",{onClick:function(){S(!0)},style:{marginLeft:20},children:"\u67E5\u770B"})]}),he.length>0&&(0,d.jsx)(E.Z,{size:"small",header:(0,d.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:he,renderItem:function(Se){return(0,d.jsx)(E.Z.Item,{children:Se})}})]}),children:(0,d.jsxs)(G.Z,{children:[(0,d.jsx)(l.C,{src:T.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,d.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:he.length>0?"red":""},children:["id:",T.data.id,(0,d.jsx)("br",{}),T.data.nickname||T.data.mobile]})]})}),le&&(0,d.jsx)(Ce,{onClose:function(){S(!1)},data:T.data})]})},Me=Ze},4575:function(ge,K,n){n.d(K,{XM:function(){return y},ai:function(){return v},nr:function(){return ne},vE:function(){return B}});var R=n(15009),F=n.n(R),$=n(97857),E=n.n($),G=n(99289),l=n.n(G),A=n(35312);function v(o){return h.apply(this,arguments)}function h(){return h=l()(F()().mark(function o(x){return F()().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.abrupt("return",(0,A.request)("/api/superAdmin/evilAppList",E()({method:"GET"},x||{})));case 1:case"end":return g.stop()}},o)})),h.apply(this,arguments)}function y(o,x){return P.apply(this,arguments)}function P(){return P=l()(F()().mark(function o(x,O){return F()().wrap(function(U){for(;;)switch(U.prev=U.next){case 0:return U.abrupt("return",(0,A.request)("/api/superAdmin/saveEvilApp",E()({method:"POST",headers:{"Content-Type":"application/json"},data:x},O||{})));case 1:case"end":return U.stop()}},o)})),P.apply(this,arguments)}function B(o,x){return b.apply(this,arguments)}function b(){return b=l()(F()().mark(function o(x,O){return F()().wrap(function(U){for(;;)switch(U.prev=U.next){case 0:return U.abrupt("return",(0,A.request)("/api/superAdmin/saveWhiteUser",E()({method:"POST",params:E()({},x)},O||{})));case 1:case"end":return U.stop()}},o)})),b.apply(this,arguments)}function ne(o){return J.apply(this,arguments)}function J(){return J=l()(F()().mark(function o(x){return F()().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.abrupt("return",(0,A.request)("/api/superAdmin/whiteUserList",E()({method:"GET"},x||{})));case 1:case"end":return g.stop()}},o)})),J.apply(this,arguments)}},52043:function(ge,K,n){n.d(K,{E7:function(){return F},FG:function(){return R},RQ:function(){return G},XY:function(){return $},aV:function(){return l},m0:function(){return E}});var R=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"},{label:"\u5229\u597D",value:"lihao"},{label:"\u4F73\u7476",value:"jiayao"}]},F=function(v){var h=[];if(!v)return h;for(var y=v>>1,P=["\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"],B=0,b=P;B>=1}return h},$=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"}]},E=function(v){var h=new Date(v),y=h.getFullYear().toString().padStart(4,"0"),P=(h.getMonth()+1).toString().padStart(2,"0"),B=h.getDate().toString().padStart(2,"0");return y+P+B},G=function(v,h){var y=v.toString();return y.padStart(h,"0")},l=function(v){var h=v;return h<1024?h+" B":(h=parseFloat((h/1024).toFixed(2)),h<1024?h+" KB":(h=parseFloat((h/1024).toFixed(2)),h+" MB"))}},32400:function(ge,K,n){n.d(K,{p:function(){return A}});var R=n(15009),F=n.n(R),$=n(99289),E=n.n($),G=n(8322),l=n.n(G);function A(h){return v.apply(this,arguments)}function v(){return v=E()(F()().mark(function h(y){return F()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.abrupt("return",new Promise(function(b,ne){var J=new(l()).ArrayBuffer,o=new FileReader;o.onload=function(x){var O;J.append((O=x.target)===null||O===void 0?void 0:O.result),b(J.end())},o.onerror=function(x){ne(x)},o.readAsArrayBuffer(y)}));case 1:case"end":return B.stop()}},h)})),v.apply(this,arguments)}},58125:function(ge,K,n){n.d(K,{D:function(){return F},P:function(){return R}});var R=function(E){return E?parseFloat((E/1e5).toFixed(2)):0},F=function(E){return E?parseFloat((E/100).toFixed(2)):0}}}]); diff --git a/dist/p__SuperAdmin.ec6dec07.async.js b/dist/p__SuperAdmin.ec6dec07.async.js new file mode 100644 index 0000000..fd31a23 --- /dev/null +++ b/dist/p__SuperAdmin.ec6dec07.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[455],{40110:function(Ce,R,n){var $=n(1413),x=n(67294),N=n(509),S=n(91146),z=function(p,v){return x.createElement(S.Z,(0,$.Z)((0,$.Z)({},p),{},{ref:v,icon:N.Z}))},i=x.forwardRef(z);R.Z=i},28490:function(Ce,R,n){n.r(R),n.d(R,{default:function(){return $e}});var $=n(97857),x=n.n($),N=n(13769),S=n.n(N),z=n(15009),i=n.n(z),D=n(99289),p=n.n(D),v=n(5574),j=n.n(v),b=n(48357),T=n(52043),M=n(40110),te=n(3089),q=n(90930),g=n(8232),O=n(55102),C=n(42075),y=n(14726),W=n(55241),U=n(66309),E=n(2453),c=n(13169),Ie=n(72051),xe=n(17788),Pe=n(34041),Me=n(71230),Ze=n(15746),k=n(47676),ae=n(16250),he=n(27484),oe=n.n(he),A=n(67294),je=n(19632),ce=n.n(je),Se=n(32400),be=n(56448),Oe=n.n(be),Be=n(66476),e=n(85893),F=function(de){var X=de.onUploadSuccess,V=de.onUploadError,G=(0,A.useState)(!1),fe=j()(G,2),re=fe[0],ue=fe[1],ye=(0,A.useState)([]),me=j()(ye,2),Q=me[0],se=me[1],ie=(0,A.useState)(null),pe=j()(ie,2),J=pe[0],H=pe[1],_=Be.Z.Dragger;(0,A.useEffect)(function(){function r(){return t.apply(this,arguments)}function t(){return t=p()(i()().mark(function m(){var u,o;return i()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.prev=0,h.next=3,(0,b.po)();case 3:if(u=h.sent,!(!u.data||!u.data.accessKeySecret||!u.data.accessKeyId)){h.next=7;break}return E.ZP.error("\u521D\u59CB\u5316\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"),h.abrupt("return");case 7:o=new(Oe())({region:"oss-cn-beijing",accessKeyId:u.data.accessKeyId,accessKeySecret:u.data.accessKeySecret,stsToken:u.data.securityToken,bucket:u.data.bucket}),H(o),h.next=15;break;case 11:h.prev=11,h.t0=h.catch(0),E.ZP.error("\u521D\u59CB\u5316 OSS \u5BA2\u6237\u7AEF\u5931\u8D25"),V&&V(h.t0);case 15:case"end":return h.stop()}},m,null,[[0,11]])})),t.apply(this,arguments)}r()},[V]);var ve=function(t){var m=(Q||[]).filter(function(u){return u.url!==t.url});se(m)},d=function(){var r=p()(i()().mark(function t(m){var u,o,P,h;return i()().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:if(u=m.file,!(u instanceof File)){I.next=26;break}return ue(!0),I.prev=3,I.next=6,(0,Se.p)(u);case 6:return o=I.sent,P="matrix/".concat(o,".").concat(u.name.split(".").pop()),I.next=10,J==null?void 0:J.put(P,u,{headers:{"Content-Type":u.type}});case 10:h="https://apks.bzgames.cn/".concat(P),X&&X(h),ue(!1),se(function(De){return[].concat(ce()(De),[{uid:u.uid,name:u.name+"\uFF1A"+h,status:"done",url:h}])}),I.next=21;break;case 16:I.prev=16,I.t0=I.catch(3),E.ZP.error("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25"),V&&V(I.t0),se(function(De){return[].concat(ce()(De),[{uid:u.uid,name:u.name,status:"error"}])});case 21:return I.prev=21,ue(!1),I.finish(21);case 24:I.next=27;break;case 26:E.ZP.error("\u4E0A\u4F20\u6587\u4EF6\u7C7B\u578B\u9519\u8BEF");case 27:case"end":return I.stop()}},t,null,[[3,16,21,24]])}));return function(m){return r.apply(this,arguments)}}();return(0,e.jsxs)(_,{fileList:Q,multiple:!0,customRequest:d,onRemove:ve,disabled:re||!J,onPreview:function(){var r=p()(i()().mark(function t(m){return i()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,navigator.clipboard.writeText(m.url||"");case 2:E.ZP.success("\u94FE\u63A5\u590D\u5236\u6210\u529F "+m.url);case 3:case"end":return o.stop()}},t)}));return function(t){return r.apply(this,arguments)}}(),capture:void 0,children:[(0,e.jsx)("p",{className:"ant-upload-drag-icon",children:(0,e.jsx)("i",{className:"anticon anticon-inbox"})}),(0,e.jsx)("p",{className:"ant-upload-text",children:"\u70B9\u51FB\u6216\u62D6\u62FD\u6587\u4EF6\u5230\u6B64\u533A\u57DF\u4E0A\u4F20"}),(0,e.jsx)("p",{className:"ant-upload-hint",children:"\u652F\u6301\u5355\u4E2A\u6216\u6279\u91CF\u4E0A\u4F20\u3002\u6587\u4EF6\u540D\u5C06\u4F7F\u7528\u6587\u4EF6\u7684 MD5 \u503C\u547D\u540D\u3002"})]})},B=F,ee=n(67539),L=n(4575),Y=function(){var de=(0,A.useState)(!1),X=j()(de,2),V=X[0],G=X[1],fe=(0,A.useState)([]),re=j()(fe,2),ue=re[0],ye=re[1],me=(0,A.useState)([]),Q=j()(me,2),se=Q[0],ie=Q[1],pe=g.Z.useForm(),J=j()(pe,1),H=J[0],_=[{title:"\u5E94\u7528\u540D",dataIndex:"name",copyable:!0,hideInSearch:!0,filterDropdown:function(r){var t=r.setSelectedKeys,m=r.selectedKeys,u=r.confirm,o=r.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(O.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:m[0],onChange:function(h){return t(h.target.value?[h.target.value]:[])},onPressEnter:function(){return u()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(C.Z,{children:[(0,e.jsx)(y.ZP,{onClick:function(){return u()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(y.ZP,{onClick:function(){return o&&o()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(r,t){return typeof r=="string"&&typeof(t==null?void 0:t.name)=="string"?t.name.includes(r):!1},filterIcon:function(r){return(0,e.jsx)(M.Z,{style:{color:r?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u5E94\u7528\u5305\u540D",dataIndex:"packageName",hideInSearch:!0,filterDropdown:function(r){var t=r.setSelectedKeys,m=r.selectedKeys,u=r.confirm,o=r.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(O.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:m[0],onChange:function(h){return t(h.target.value?[h.target.value]:[])},onPressEnter:function(){return u()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(C.Z,{children:[(0,e.jsx)(y.ZP,{onClick:function(){return u()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(y.ZP,{onClick:function(){return o&&o()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(r,t){return typeof r=="string"&&typeof(t==null?void 0:t.packageName)=="string"?t.packageName.includes(r):!1},filterIcon:function(r){return(0,e.jsx)(M.Z,{style:{color:r?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u64CD\u4F5C",width:80,hideInSearch:!0,renderText:function(r){return(0,e.jsx)("a",{onClick:function(){G(!0),H.setFieldsValue(r)},children:"\u7F16\u8F91"},"edit")}}],ve=function(){var d=p()(i()().mark(function r(){var t;return i()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,(0,L.ai)();case 2:t=u.sent,t.data&&(ye(t.data),ie(t.data));case 4:case"end":return u.stop()}},r)}));return function(){return d.apply(this,arguments)}}();return(0,A.useEffect)(function(){ve()},[]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(y.ZP,{style:{marginBottom:"20px"},onClick:function(){G(!0),H.resetFields()},children:"\u65B0\u5EFA\u5E94\u7528"}),(0,e.jsx)(ee.Z,{search:!1,onReset:function(){ie(ue)},columns:_,dataSource:se}),(0,e.jsx)(xe.Z,{title:"\u7F16\u8F91",visible:V,onOk:function(){H.submit(),G(!1)},onCancel:function(){G(!1)},children:(0,e.jsxs)(g.Z,{labelCol:{span:4},wrapperCol:{span:18},form:H,onFinish:function(){var d=p()(i()().mark(function r(t){return i()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,(0,L.XM)(t);case 2:ve();case 3:case"end":return u.stop()}},r)}));return function(r){return d.apply(this,arguments)}}(),children:[(0,e.jsx)(g.Z.Item,{name:"id",style:{display:"none"},children:(0,e.jsx)(O.Z,{type:"hidden"})}),(0,e.jsx)(g.Z.Item,{label:"\u5E94\u7528\u540D",name:"name",children:(0,e.jsx)(O.Z,{})}),(0,e.jsx)(g.Z.Item,{label:"\u5305\u540D",name:"packageName",children:(0,e.jsx)(O.Z,{})})]})})]})},ne=Y,w=n(37804),Ee=n(42767),Ae=function(){var de=(0,A.useState)(!1),X=j()(de,2),V=X[0],G=X[1],fe=(0,A.useState)([]),re=j()(fe,2),ue=re[0],ye=re[1],me=(0,A.useState)([]),Q=j()(me,2),se=Q[0],ie=Q[1],pe=g.Z.useForm(),J=j()(pe,1),H=J[0],_=function(){var d=p()(i()().mark(function r(){var t;return i()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,(0,L.nr)();case 2:t=u.sent,t.data&&(ye(t.data),ie(t.data));case 4:case"end":return u.stop()}},r)}));return function(){return d.apply(this,arguments)}}(),ve=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",copyable:!0,hideInSearch:!0,filterDropdown:function(r){var t=r.setSelectedKeys,m=r.selectedKeys,u=r.confirm,o=r.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(O.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:m[0],onChange:function(h){return t(h.target.value?[h.target.value]:[])},onPressEnter:function(){return u()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(C.Z,{children:[(0,e.jsx)(y.ZP,{onClick:function(){return u()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(y.ZP,{onClick:function(){return o&&o()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(r,t){return typeof r=="string"&&typeof(t==null?void 0:t.appName)=="string"?t.appName.includes(r):!1},filterIcon:function(r){return(0,e.jsx)(M.Z,{style:{color:r?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u7528\u6237",dataIndex:"user",hideInSearch:!0,render:function(r,t){return(0,e.jsx)(Ee.Z,{data:t.user||{}})},filterDropdown:function(r){var t=r.setSelectedKeys,m=r.selectedKeys,u=r.confirm,o=r.clearFilters,P=m[0]?String(m[0]):"";return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(w.Z,{placeholder:"\u641C\u7D22 userId",value:P,onChange:function(ge){return t(ge?[ge]:[])},onPressEnter:function(){return u()},style:{marginBottom:8,display:"block",width:200}}),(0,e.jsxs)(C.Z,{children:[(0,e.jsx)(y.ZP,{onClick:function(){return u()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(y.ZP,{onClick:function(){return o&&o()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(r,t){var m;return((m=t.user)===null||m===void 0?void 0:m.id)===r},filterIcon:function(r){return(0,e.jsx)(M.Z,{style:{color:r?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u72B6\u6001",hideInSearch:!0,renderText:function(r){return r.status===0?(0,e.jsx)(U.Z,{color:"green",children:"\u5DF2\u542F\u7528"}):(0,e.jsx)(U.Z,{color:"red",children:"\u672A\u542F\u7528"})}},{title:"\u521B\u5EFA\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u4FEE\u6539\u65F6\u95F4",hideInSearch:!0,dataIndex:"updatedAt",valueType:"dateTime"},{title:"\u64CD\u4F5C",width:80,hideInSearch:!0,renderText:function(r){return(0,e.jsx)("a",{onClick:p()(i()().mark(function t(){var m;return i()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,(0,L.vE)({userId:((m=r.user)===null||m===void 0?void 0:m.id)||0,status:r.status===0?-1:0});case 2:_();case 3:case"end":return o.stop()}},t)})),children:r.status===0?"\u7981\u7528":"\u542F\u7528"},"edit")}}];return(0,A.useEffect)(function(){_()},[]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(y.ZP,{style:{marginBottom:"20px"},onClick:function(){G(!0),H.resetFields()},children:"\u6DFB\u52A0\u767D\u540D\u5355"}),(0,e.jsx)(ee.Z,{search:!1,onReset:function(){ie(ue)},columns:ve,dataSource:se}),(0,e.jsx)(xe.Z,{title:"\u7F16\u8F91",visible:V,onOk:function(){H.submit(),G(!1)},onCancel:function(){G(!1)},children:(0,e.jsx)(g.Z,{labelCol:{span:4},wrapperCol:{span:18},form:H,onFinish:function(){var d=p()(i()().mark(function r(t){var m;return i()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(m=t.userId,!m){o.next=5;break}return o.next=4,(0,L.vE)({userId:m});case 4:_();case 5:case"end":return o.stop()}},r)}));return function(r){return d.apply(this,arguments)}}(),children:(0,e.jsx)(g.Z.Item,{label:"userId",name:"userId",children:(0,e.jsx)(w.Z,{style:{width:200}})})})})]})},Te=Ae,Ke=["scheduleTime"],Re=function(){var de=(0,A.useState)([]),X=j()(de,2),V=X[0],G=X[1],fe=(0,A.useState)([]),re=j()(fe,2),ue=re[0],ye=re[1],me=(0,A.useState)([]),Q=j()(me,2),se=Q[0],ie=Q[1],pe=(0,A.useState)(!1),J=j()(pe,2),H=J[0],_=J[1],ve=(0,A.useState)(!1),d=j()(ve,2),r=d[0],t=d[1],m=g.Z.useForm(),u=j()(m,1),o=u[0],P=g.Z.useForm(),h=j()(P,1),ge=h[0],I=function(){var f=p()(i()().mark(function a(){var l;return i()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,(0,b.hy)();case 2:l=s.sent,l.data&&ye(l.data);case 4:case"end":return s.stop()}},a)}));return function(){return f.apply(this,arguments)}}(),De=function(){var f=p()(i()().mark(function a(l){return i()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(l){s.next=2;break}return s.abrupt("return");case 2:return s.next=4,(0,b.o9)({deviceId:l});case 4:I();case 5:case"end":return s.stop()}},a)}));return function(l){return f.apply(this,arguments)}}(),We=[{title:"\u8BBE\u5907id",dataIndex:"deviceId",ellipsis:!0,filterDropdown:function(a){var l=a.setSelectedKeys,Z=a.selectedKeys,s=a.confirm,le=a.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(O.Z,{placeholder:"\u641C\u7D22\u8BBE\u5907",value:Z[0],onChange:function(K){return l(K.target.value?[K.target.value]:[])},onPressEnter:function(){return s()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(C.Z,{children:[(0,e.jsx)(y.ZP,{onClick:function(){return s()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(y.ZP,{onClick:function(){return le&&le()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(a,l){return typeof a=="string"&&typeof(l==null?void 0:l.deviceId)=="string"?l.deviceId.includes(a):!1},filterIcon:function(a){return(0,e.jsx)(M.Z,{style:{color:a?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u6E20\u9053",dataIndex:"channel",render:function(a){var l=(0,T.FG)(),Z=l.find(function(s){return s.value===a});return Z?Z.label:a}},{title:"\u64CD\u4F5C",dataIndex:"operate",render:function(a,l){return(0,e.jsx)(W.Z,{title:"\u786E\u8BA4\u5220\u9664\u5417",content:(0,e.jsxs)("div",{style:{textAlign:"center"},children:[(0,e.jsxs)("p",{children:["\u5220\u9664\u4E4B\u540Eecpm\u4F1A\u964D\u4F4E",(0,e.jsx)("br",{}),"\u4E5F\u4F1A\u5F71\u54CD\u5237\u6570\u636E\u53EF\u4F7F\u7528\u7684\u8BBE\u5907"]}),(0,e.jsx)("a",{onClick:function(){return De(l.deviceId)},children:"\u786E\u5B9A"})]}),children:(0,e.jsx)("a",{children:"\u5220\u9664"})})}}],we=function(a){var l=V.find(function(Z){return Z.id===a});return l?l.name:""},Ne=function(a){return a?parseFloat((a/1e5).toFixed(2)):0},Ye=[{title:"\u5E94\u7528",dataIndex:"appId",render:function(a){return(0,e.jsx)(U.Z,{color:"blue",children:we(a)},a)}},{title:"\u6E20\u9053",dataIndex:"channel",render:function(a){var l=(0,T.FG)(),Z=l.find(function(s){return s.value===a});return Z?Z.label:a}},{title:"\u76EE\u6807\u91D1\u989D",dataIndex:"incomeYuan"},{title:"\u5DF2\u5237\u91D1\u989D",dataIndex:"mockIncome",render:function(a){return Ne(a)}},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"scheduleTime",render:function(a){return oe()(a).format("YYYY-MM-DD HH:mm")}},{title:"\u72B6\u6001",dataIndex:"status",render:function(a){switch(a){case 0:return"\u672A\u5F00\u59CB";case 1:return"\u8FDB\u884C\u4E2D";case 2:return"\u5DF2\u5B8C\u6210"}return a}},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"createdAt",render:function(a){return oe()(a).format("YYYY-MM-DD HH:mm")}},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"updatedAt",render:function(a){return oe()(a).format("YYYY-MM-DD HH:mm")}}],ke=function(){var f=p()(i()().mark(function a(){var l;return i()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,(0,b.mW)();case 2:l=s.sent,l.data&&ie(l.data);case 4:case"end":return s.stop()}},a)}));return function(){return f.apply(this,arguments)}}(),Ve=function(){var f=p()(i()().mark(function a(){var l;return i()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,(0,b.ln)();case 2:l=s.sent,l.data&&G(l.data);case 4:case"end":return s.stop()}},a)}));return function(){return f.apply(this,arguments)}}();(0,A.useEffect)(function(){Ve(),I(),ke()},[]);var Ge=function(){var f=p()(i()().mark(function a(l){var Z,s,le;return i()().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:return Z=l.scheduleTime,s=S()(l,Ke),le=Z.map(function(Le){return oe()(Le.time).valueOf()}),K.prev=2,K.next=5,(0,b.tI)(x()({scheduleTime:le},s));case 5:K.next=10;break;case 7:return K.prev=7,K.t0=K.catch(2),K.abrupt("return");case 10:E.ZP.success("\u4EFB\u52A1\u63D0\u4EA4\u6210\u529F"),ke(),t(!1);case 13:case"end":return K.stop()}},a,null,[[2,7]])}));return function(l){return f.apply(this,arguments)}}(),He=function(){o.resetFields(),_(!0)},ze=function(){ge.resetFields(),t(!0)},Xe=function(){o.submit()},Qe=function(){_(!1)},Je=function(){ge.submit()},_e=function(){t(!1)},qe=function(){var f=p()(i()().mark(function a(l){return i()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,(0,b.gz)({deviceId:l.deviceId||"",channel:l.channel||""});case 3:s.next=8;break;case 5:return s.prev=5,s.t0=s.catch(0),s.abrupt("return");case 8:_(!1),I();case 10:case"end":return s.stop()}},a,null,[[0,5]])}));return function(l){return f.apply(this,arguments)}}();return(0,e.jsx)(q._z,{children:(0,e.jsxs)(c.Z,{defaultActiveKey:"1",onChange:function(a){a==="1"?I():a==="2"&&ke()},centered:!0,style:{backgroundColor:"white",padding:"20px"},children:[(0,e.jsx)(ae.Z,{tab:"\u8BBE\u5907\u767D\u540D\u5355",children:(0,e.jsxs)("div",{children:[(0,e.jsx)(y.ZP,{onClick:He,children:"\u6DFB\u52A0\u767D\u540D\u5355"}),(0,e.jsx)(Ie.Z,{columns:We,dataSource:ue}),(0,e.jsx)(xe.Z,{title:"\u6DFB\u52A0\u767D\u540D\u5355",visible:H,onOk:Xe,onCancel:Qe,children:(0,e.jsxs)(g.Z,{form:o,onFinish:qe,children:[(0,e.jsx)(g.Z.Item,{name:"deviceId",label:"\u8BBE\u5907id",children:(0,e.jsx)(O.Z,{})}),(0,e.jsx)(g.Z.Item,{label:"\u6E20\u9053",name:"channel",children:(0,e.jsx)(Pe.Z,{options:(0,T.FG)()})})]})})]})},"1"),(0,e.jsx)(ae.Z,{tab:"\u5237\u6570\u636E",children:(0,e.jsxs)("div",{children:[(0,e.jsx)(y.ZP,{onClick:ze,children:"\u6DFB\u52A0\u4EFB\u52A1"}),(0,e.jsx)(Ie.Z,{columns:Ye,dataSource:se}),(0,e.jsx)(xe.Z,{title:"\u6DFB\u52A0\u4EFB\u52A1",visible:r,onOk:Je,onCancel:_e,children:(0,e.jsxs)(g.Z,{labelCol:{span:6},wrapperCol:{span:18},form:ge,onFinish:Ge,children:[(0,e.jsx)(g.Z.Item,{label:"\u5E94\u7528",name:"appId",children:(0,e.jsx)(Pe.Z,{mode:"multiple",options:V.map(function(f){return{label:f.name,value:f.id}})})}),(0,e.jsx)(g.Z.Item,{name:"incomeYuan",label:"\u91D1\u989D\uFF08\u5143\uFF09",children:(0,e.jsx)(O.Z,{})}),(0,e.jsx)(g.Z.List,{name:"scheduleTime",children:function(a,l){var Z=l.add,s=l.remove;return(0,e.jsxs)(e.Fragment,{children:[a.map(function(le){var Fe=le.key,K=le.name;return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(Me.Z,{align:"stretch",gutter:16,children:[(0,e.jsx)(Ze.Z,{span:18,children:(0,e.jsx)(g.Z.Item,{labelCol:{xs:{span:24},sm:{span:8}},name:[K,"time"],label:"\u5F00\u59CB\u65F6\u95F4",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}],children:(0,e.jsx)(k.default,{format:"YYYY-MM-DD HH:mm",showTime:{format:"HH:mm"}})})}),(0,e.jsx)(Ze.Z,{children:(0,e.jsx)(te.Z,{onClick:function(){return s(K)}})})]},Fe)})}),(0,e.jsx)(g.Z.Item,{children:(0,e.jsx)(y.ZP,{type:"dashed",onClick:function(){return Z()},block:!0,children:"\u6DFB\u52A0\u5F00\u59CB\u65F6\u95F4"})})]})}})]})})]})},"2"),(0,e.jsx)(ae.Z,{tab:"\u4E0A\u4F20\u8D44\u6E90",children:(0,e.jsx)(B,{})},"3"),(0,e.jsx)(ae.Z,{tab:"\u975E\u6CD5\u5E94\u7528",children:(0,e.jsx)(ne,{})},"4"),(0,e.jsx)(ae.Z,{tab:"\u7528\u6237\u767D\u540D\u5355",children:(0,e.jsx)(Te,{})},"5")]})})},$e=Re},42767:function(Ce,R,n){n.d(R,{Z:function(){return Me}});var $=n(5574),x=n.n($),N=n(55241),S=n(2487),z=n(71230),i=n(7134),D=n(67294),p=n(52043),v=n(58125),j=n(15009),b=n.n(j),T=n(97857),M=n.n(T),te=n(99289),q=n.n(te),g=n(40110),O=n(67539),C=n(55102),y=n(42075),W=n(14726),U=n(17788),E=n(4575),c=n(85893),Ie=function(k){var ae=(0,D.useState)(),he=x()(ae,2),oe=he[0],A=he[1],je=(0,D.useState)(),ce=x()(je,2),Se=ce[0],be=ce[1],Oe=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",ellipsis:!0,hideInSearch:!0,filterDropdown:function(F){var B=F.setSelectedKeys,ee=F.selectedKeys,L=F.confirm,Y=F.clearFilters;return(0,c.jsxs)("div",{style:{padding:8},children:[(0,c.jsx)(C.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:ee[0],onChange:function(w){return B(w.target.value?[w.target.value]:[])},onPressEnter:function(){return L()},style:{marginBottom:8,display:"block"}}),(0,c.jsxs)(y.Z,{children:[(0,c.jsx)(W.ZP,{onClick:function(){return L()},type:"primary",children:"\u641C\u7D22"}),(0,c.jsx)(W.ZP,{onClick:function(){return Y&&Y()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(F,B){return typeof F=="string"&&typeof(B==null?void 0:B.appName)=="string"?B.appName.includes(F):!1},filterIcon:function(F){return(0,c.jsx)(g.Z,{style:{color:F?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u5E94\u7528\u5305\u540D",dataIndex:"packageName",hideInSearch:!0,ellipsis:!0,filterDropdown:function(F){var B=F.setSelectedKeys,ee=F.selectedKeys,L=F.confirm,Y=F.clearFilters;return(0,c.jsxs)("div",{style:{padding:8},children:[(0,c.jsx)(C.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:ee[0],onChange:function(w){return B(w.target.value?[w.target.value]:[])},onPressEnter:function(){return L()},style:{marginBottom:8,display:"block"}}),(0,c.jsxs)(y.Z,{children:[(0,c.jsx)(W.ZP,{onClick:function(){return L()},type:"primary",children:"\u641C\u7D22"}),(0,c.jsx)(W.ZP,{onClick:function(){return Y&&Y()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(F,B){return typeof F=="string"&&typeof(B==null?void 0:B.packageName)=="string"?B.packageName.includes(F):!1},filterIcon:function(F){return(0,c.jsx)(g.Z,{style:{color:F?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}}],Be=function(){var e=q()(b()().mark(function F(){var B,ee,L,Y;return b()().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,(0,E.ai)();case 2:B=w.sent,B.data&&(L=[],Y=[],(ee=k.data.localAppList)===null||ee===void 0||ee.forEach(function(Ee){var Ae;(Ae=B.data)!==null&&Ae!==void 0&&Ae.some(function(Te){return Te.packageName===Ee.packageName})?L.push(M()(M()({},Ee),{},{evil:!0})):Y.push(M()(M()({},Ee),{},{evil:!1}))}),A([].concat(L,Y)),be([].concat(L,Y)));case 4:case"end":return w.stop()}},F)}));return function(){return e.apply(this,arguments)}}();return(0,D.useEffect)(function(){Be()},[]),(0,c.jsx)(U.Z,{style:{width:600},onCancel:k.onClose,visible:!0,footer:[],children:(0,c.jsx)(O.Z,{onRow:function(F){return{style:{backgroundColor:F.evil?"red":"transparent"}}},search:!1,onReset:function(){be(oe)},columns:Oe,dataSource:Se})})},xe=Ie,Pe=function(k){var ae=(0,D.useState)(!1),he=x()(ae,2),oe=he[0],A=he[1],je=(0,p.E7)(k.data.env);return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(N.Z,{content:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("p",{children:[(0,c.jsx)("label",{children:"\u603B\u6536\u5165\uFF1A"}),(0,v.P)(k.data.income),"\u5143"]}),(0,c.jsxs)("p",{children:[(0,c.jsx)("label",{children:"\u5DF2\u63D0\u73B0\uFF1A"}),(0,v.D)(k.data.realMoney),"\u5143"]}),k.data.localAppList&&k.data.localAppList.length>0&&(0,c.jsxs)("p",{children:[(0,c.jsx)("label",{children:"\u5DF2\u5B89\u88C5\u5E94\u7528\uFF1A"}),k.data.localAppList.length,"\u4E2A",(0,c.jsx)("a",{onClick:function(){A(!0)},style:{marginLeft:20},children:"\u67E5\u770B"})]}),je.length>0&&(0,c.jsx)(S.Z,{size:"small",header:(0,c.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:je,renderItem:function(Se){return(0,c.jsx)(S.Z.Item,{children:Se})}})]}),children:(0,c.jsxs)(z.Z,{children:[(0,c.jsx)(i.C,{src:k.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,c.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:je.length>0?"red":""},children:["id:",k.data.id,(0,c.jsx)("br",{}),k.data.nickname||k.data.mobile]})]})}),oe&&(0,c.jsx)(xe,{onClose:function(){A(!1)},data:k.data})]})},Me=Pe},4575:function(Ce,R,n){n.d(R,{XM:function(){return j},ai:function(){return p},nr:function(){return g},re:function(){return te},vE:function(){return T}});var $=n(15009),x=n.n($),N=n(97857),S=n.n(N),z=n(99289),i=n.n(z),D=n(35312);function p(C){return v.apply(this,arguments)}function v(){return v=i()(x()().mark(function C(y){return x()().wrap(function(U){for(;;)switch(U.prev=U.next){case 0:return U.abrupt("return",(0,D.request)("/api/superAdmin/evilAppList",S()({method:"GET"},y||{})));case 1:case"end":return U.stop()}},C)})),v.apply(this,arguments)}function j(C,y){return b.apply(this,arguments)}function b(){return b=i()(x()().mark(function C(y,W){return x()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.abrupt("return",(0,D.request)("/api/superAdmin/saveEvilApp",S()({method:"POST",headers:{"Content-Type":"application/json"},data:y},W||{})));case 1:case"end":return E.stop()}},C)})),b.apply(this,arguments)}function T(C,y){return M.apply(this,arguments)}function M(){return M=i()(x()().mark(function C(y,W){return x()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.abrupt("return",(0,D.request)("/api/superAdmin/saveWhiteUser",S()({method:"POST",params:S()({},y)},W||{})));case 1:case"end":return E.stop()}},C)})),M.apply(this,arguments)}function te(C,y){return q.apply(this,arguments)}function q(){return q=i()(x()().mark(function C(y,W){return x()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.abrupt("return",(0,D.request)("/api/superAdmin/transfer",S()({method:"POST",params:S()({},y)},W||{})));case 1:case"end":return E.stop()}},C)})),q.apply(this,arguments)}function g(C){return O.apply(this,arguments)}function O(){return O=i()(x()().mark(function C(y){return x()().wrap(function(U){for(;;)switch(U.prev=U.next){case 0:return U.abrupt("return",(0,D.request)("/api/superAdmin/whiteUserList",S()({method:"GET"},y||{})));case 1:case"end":return U.stop()}},C)})),O.apply(this,arguments)}},52043:function(Ce,R,n){n.d(R,{E7:function(){return x},FG:function(){return $},RQ:function(){return z},XY:function(){return N},aV:function(){return i},m0:function(){return S}});var $=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"},{label:"\u5229\u597D",value:"lihao"},{label:"\u4F73\u7476",value:"jiayao"}]},x=function(p){var v=[];if(!p)return v;for(var j=p>>1,b=["\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"],T=0,M=b;T>=1}return v},N=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"}]},S=function(p){var v=new Date(p),j=v.getFullYear().toString().padStart(4,"0"),b=(v.getMonth()+1).toString().padStart(2,"0"),T=v.getDate().toString().padStart(2,"0");return j+b+T},z=function(p,v){var j=p.toString();return j.padStart(v,"0")},i=function(p){var v=p;return v<1024?v+" B":(v=parseFloat((v/1024).toFixed(2)),v<1024?v+" KB":(v=parseFloat((v/1024).toFixed(2)),v+" MB"))}},32400:function(Ce,R,n){n.d(R,{p:function(){return D}});var $=n(15009),x=n.n($),N=n(99289),S=n.n(N),z=n(8322),i=n.n(z);function D(v){return p.apply(this,arguments)}function p(){return p=S()(x()().mark(function v(j){return x()().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return T.abrupt("return",new Promise(function(M,te){var q=new(i()).ArrayBuffer,g=new FileReader;g.onload=function(O){var C;q.append((C=O.target)===null||C===void 0?void 0:C.result),M(q.end())},g.onerror=function(O){te(O)},g.readAsArrayBuffer(j)}));case 1:case"end":return T.stop()}},v)})),p.apply(this,arguments)}},58125:function(Ce,R,n){n.d(R,{D:function(){return x},P:function(){return $}});var $=function(S){return S?parseFloat((S/1e5).toFixed(2)):0},x=function(S){return S?parseFloat((S/100).toFixed(2)):0}}}]); diff --git a/dist/p__UserManagement.17af3678.async.js b/dist/p__UserManagement.17af3678.async.js deleted file mode 100644 index 90e822f..0000000 --- a/dist/p__UserManagement.17af3678.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[903],{40110:function(J,F,e){var f=e(1413),m=e(67294),T=e(509),c=e(91146),W=function(P,s){return m.createElement(c.Z,(0,f.Z)((0,f.Z)({},P),{},{ref:s,icon:T.Z}))},x=m.forwardRef(W);F.Z=x},42767:function(J,F,e){e.d(F,{Z:function(){return r}});var f=e(5574),m=e.n(f),T=e(55241),c=e(2487),W=e(71230),x=e(7134),E=e(67294),P=e(52043),s=e(58125),D=e(15009),O=e.n(D),K=e(97857),S=e.n(K),j=e(99289),I=e.n(j),y=e(40110),p=e(67539),h=e(55102),B=e(42075),U=e(14726),Q=e(17788),Y=e(4575),l=e(85893),Z=function(t){var i=(0,E.useState)(),C=m()(i,2),n=C[0],d=C[1],_=(0,E.useState)(),a=m()(_,2),u=a[0],G=a[1],L=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",ellipsis:!0,hideInSearch:!0,filterDropdown:function(g){var v=g.setSelectedKeys,z=g.selectedKeys,A=g.confirm,V=g.clearFilters;return(0,l.jsxs)("div",{style:{padding:8},children:[(0,l.jsx)(h.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:z[0],onChange:function(b){return v(b.target.value?[b.target.value]:[])},onPressEnter:function(){return A()},style:{marginBottom:8,display:"block"}}),(0,l.jsxs)(B.Z,{children:[(0,l.jsx)(U.ZP,{onClick:function(){return A()},type:"primary",children:"\u641C\u7D22"}),(0,l.jsx)(U.ZP,{onClick:function(){return V&&V()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(g,v){return typeof g=="string"&&typeof(v==null?void 0:v.appName)=="string"?v.appName.includes(g):!1},filterIcon:function(g){return(0,l.jsx)(y.Z,{style:{color:g?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u5E94\u7528\u5305\u540D",dataIndex:"packageName",hideInSearch:!0,ellipsis:!0,filterDropdown:function(g){var v=g.setSelectedKeys,z=g.selectedKeys,A=g.confirm,V=g.clearFilters;return(0,l.jsxs)("div",{style:{padding:8},children:[(0,l.jsx)(h.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:z[0],onChange:function(b){return v(b.target.value?[b.target.value]:[])},onPressEnter:function(){return A()},style:{marginBottom:8,display:"block"}}),(0,l.jsxs)(B.Z,{children:[(0,l.jsx)(U.ZP,{onClick:function(){return A()},type:"primary",children:"\u641C\u7D22"}),(0,l.jsx)(U.ZP,{onClick:function(){return V&&V()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(g,v){return typeof g=="string"&&typeof(v==null?void 0:v.packageName)=="string"?v.packageName.includes(g):!1},filterIcon:function(g){return(0,l.jsx)(y.Z,{style:{color:g?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}}],R=function(){var M=I()(O()().mark(function g(){var v,z,A,V;return O()().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,(0,Y.ai)();case 2:v=b.sent,v.data&&(A=[],V=[],(z=t.data.localAppList)===null||z===void 0||z.forEach(function(H){var k;(k=v.data)!==null&&k!==void 0&&k.some(function(ne){return ne.packageName===H.packageName})?A.push(S()(S()({},H),{},{evil:!0})):V.push(S()(S()({},H),{},{evil:!1}))}),d([].concat(A,V)),G([].concat(A,V)));case 4:case"end":return b.stop()}},g)}));return function(){return M.apply(this,arguments)}}();return(0,E.useEffect)(function(){R()},[]),(0,l.jsx)(Q.Z,{style:{width:600},onCancel:t.onClose,visible:!0,footer:[],children:(0,l.jsx)(p.Z,{onRow:function(g){return{style:{backgroundColor:g.evil?"red":"transparent"}}},search:!1,onReset:function(){G(n)},columns:L,dataSource:u})})},$=Z,N=function(t){var i=(0,E.useState)(!1),C=m()(i,2),n=C[0],d=C[1],_=(0,P.E7)(t.data.env);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(T.Z,{content:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("p",{children:[(0,l.jsx)("label",{children:"\u603B\u6536\u5165\uFF1A"}),(0,s.P)(t.data.income),"\u5143"]}),(0,l.jsxs)("p",{children:[(0,l.jsx)("label",{children:"\u5DF2\u63D0\u73B0\uFF1A"}),(0,s.D)(t.data.realMoney),"\u5143"]}),t.data.localAppList&&t.data.localAppList.length>0&&(0,l.jsxs)("p",{children:[(0,l.jsx)("label",{children:"\u5DF2\u5B89\u88C5\u5E94\u7528\uFF1A"}),t.data.localAppList.length,"\u4E2A",(0,l.jsx)("a",{onClick:function(){d(!0)},style:{marginLeft:20},children:"\u67E5\u770B"})]}),_.length>0&&(0,l.jsx)(c.Z,{size:"small",header:(0,l.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:_,renderItem:function(u){return(0,l.jsx)(c.Z.Item,{children:u})}})]}),children:(0,l.jsxs)(W.Z,{children:[(0,l.jsx)(x.C,{src:t.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,l.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:_.length>0?"red":""},children:["id:",t.data.id,(0,l.jsx)("br",{}),t.data.nickname||t.data.mobile]})]})}),n&&(0,l.jsx)($,{onClose:function(){d(!1)},data:t.data})]})},r=N},47989:function(J,F,e){e.r(F);var f=e(97857),m=e.n(f),T=e(15009),c=e.n(T),W=e(99289),x=e.n(W),E=e(81072),P=e(90930),s=e(67539),D=e(35312),O=e(66309),K=e(86250),S=e(86738),j=e(67294),I=e(58125),y=e(42767),p=e(85893),h=function(){var U=(0,D.useParams)(),Q=U.code,Y=(0,j.useRef)();(0,j.useEffect)(function(){var Z;(Z=Y.current)===null||Z===void 0||Z.reload()},[Q]);var l=[{title:"\u7528\u6237id",dataIndex:"userId",valueType:"textarea",hideInTable:!0},{title:"id",dataIndex:"id",valueType:"textarea",ellipsis:!0,copyable:!0,hideInSearch:!0},{title:"\u7528\u6237",hideInSearch:!0,dataIndex:"nickname",valueType:"textarea",renderText:function($,N){return(0,p.jsx)(y.Z,{data:N})}},{title:"\u652F\u4ED8\u5B9D\u540D\u79F0",dataIndex:"name",hideInSearch:!0},{title:"\u652F\u4ED8\u5B9D\u8D26\u53F7",dataIndex:"aliPayAccount",hideInSearch:!0},{title:"\u5FAE\u4FE1",dataIndex:"wxOpenId",hideInSearch:!0,renderText:function($){return $?(0,p.jsx)(O.Z,{color:"green",children:"\u5DF2\u7ED1\u5B9A"}):(0,p.jsx)(O.Z,{color:"red",children:"\u672A\u7ED1\u5B9A"})}},{title:"\u603B\u6536\u76CA\uFF08\u5143\uFF09",hideInSearch:!0,dataIndex:"income",renderText:function($){return(0,I.P)($)}},{title:"\u5DF2\u63D0\u73B0\uFF08\u5143\uFF09",hideInSearch:!0,dataIndex:"realMoney",renderText:function($){return(0,I.D)($)}},{title:"\u6CE8\u518C\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u65F6\u95F4",hideInTable:!0,dataIndex:"createdAt",valueType:"dateRange",hideInSearch:!0},{title:"\u64CD\u4F5C",width:100,hideInSearch:!0,renderText:function($){return(0,p.jsx)(K.Z,{gap:"small",wrap:!0,children:(0,p.jsxs)(p.Fragment,{children:[$.status===0&&(0,p.jsx)(S.Z,{title:"\u5C01\u7981\u7528\u6237",description:"\u5C01\u7981\u540E\u7528\u6237\u5C06\u65E0\u6CD5\u767B\u5F55\u3001\u65E0\u6CD5\u83B7\u53D6\u6536\u76CA",onConfirm:x()(c()().mark(function N(){var r;return c()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,E.wv)({userId:$.id||0,status:-1});case 2:(r=Y.current)===null||r===void 0||r.reload();case 3:case"end":return t.stop()}},N)})),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,p.jsx)("a",{children:"\u5C01\u7981"})}),$.status===-1&&(0,p.jsx)(S.Z,{title:"\u89E3\u5C01\u7528\u6237",description:"\u89E3\u5C01\u540E\u7528\u6237\u53EF\u4EE5\u6B63\u5E38\u767B\u5F55\u3001\u83B7\u53D6\u6536\u76CA",onConfirm:x()(c()().mark(function N(){var r;return c()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,E.wv)({userId:$.id||0,status:0});case 2:(r=Y.current)===null||r===void 0||r.reload();case 3:case"end":return t.stop()}},N)})),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,p.jsx)("a",{children:"\u89E3\u5C01"})})]})})}}];return(0,p.jsx)(P._z,{children:(0,p.jsx)(s.Z,{actionRef:Y,request:function(){var Z=x()(c()().mark(function $(N){var r,o,t;return c()().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.next=2,(0,E.pb)(m()(m()({},N),{},{appCode:Q}));case 2:return t=C.sent,C.abrupt("return",{data:(r=t.data)===null||r===void 0?void 0:r.data,total:(o=t.data)===null||o===void 0?void 0:o.total,success:!0});case 4:case"end":return C.stop()}},$)}));return function($){return Z.apply(this,arguments)}}(),columns:l})})};F.default=h},81072:function(J,F,e){e.d(F,{fn:function(){return K},pb:function(){return D},wv:function(){return P}});var f=e(15009),m=e.n(f),T=e(97857),c=e.n(T),W=e(99289),x=e.n(W),E=e(35312);function P(j,I){return s.apply(this,arguments)}function s(){return s=x()(m()().mark(function j(I,y){return m()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.abrupt("return",(0,E.request)("/api/admin/user/changeStatus",c()({method:"POST",params:c()({},I)},y||{})));case 1:case"end":return h.stop()}},j)})),s.apply(this,arguments)}function D(j,I){return O.apply(this,arguments)}function O(){return O=x()(m()().mark(function j(I,y){return m()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.abrupt("return",(0,E.request)("/api/admin/user/list",c()({method:"POST",headers:{"Content-Type":"application/json"},data:I},y||{})));case 1:case"end":return h.stop()}},j)})),O.apply(this,arguments)}function K(j,I){return S.apply(this,arguments)}function S(){return S=x()(m()().mark(function j(I,y){return m()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.abrupt("return",(0,E.request)("/api/admin/user/queryById",c()({method:"GET",params:c()({},I)},y||{})));case 1:case"end":return h.stop()}},j)})),S.apply(this,arguments)}},4575:function(J,F,e){e.d(F,{XM:function(){return D},ai:function(){return P},nr:function(){return j},vE:function(){return K}});var f=e(15009),m=e.n(f),T=e(97857),c=e.n(T),W=e(99289),x=e.n(W),E=e(35312);function P(y){return s.apply(this,arguments)}function s(){return s=x()(m()().mark(function y(p){return m()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.abrupt("return",(0,E.request)("/api/superAdmin/evilAppList",c()({method:"GET"},p||{})));case 1:case"end":return B.stop()}},y)})),s.apply(this,arguments)}function D(y,p){return O.apply(this,arguments)}function O(){return O=x()(m()().mark(function y(p,h){return m()().wrap(function(U){for(;;)switch(U.prev=U.next){case 0:return U.abrupt("return",(0,E.request)("/api/superAdmin/saveEvilApp",c()({method:"POST",headers:{"Content-Type":"application/json"},data:p},h||{})));case 1:case"end":return U.stop()}},y)})),O.apply(this,arguments)}function K(y,p){return S.apply(this,arguments)}function S(){return S=x()(m()().mark(function y(p,h){return m()().wrap(function(U){for(;;)switch(U.prev=U.next){case 0:return U.abrupt("return",(0,E.request)("/api/superAdmin/saveWhiteUser",c()({method:"POST",params:c()({},p)},h||{})));case 1:case"end":return U.stop()}},y)})),S.apply(this,arguments)}function j(y){return I.apply(this,arguments)}function I(){return I=x()(m()().mark(function y(p){return m()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.abrupt("return",(0,E.request)("/api/superAdmin/whiteUserList",c()({method:"GET"},p||{})));case 1:case"end":return B.stop()}},y)})),I.apply(this,arguments)}},52043:function(J,F,e){e.d(F,{E7:function(){return m},FG:function(){return f},RQ:function(){return W},XY:function(){return T},aV:function(){return x},m0:function(){return c}});var f=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"},{label:"\u5229\u597D",value:"lihao"},{label:"\u4F73\u7476",value:"jiayao"}]},m=function(P){var s=[];if(!P)return s;for(var D=P>>1,O=["\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"],K=0,S=O;K>=1}return s},T=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 s=new Date(P),D=s.getFullYear().toString().padStart(4,"0"),O=(s.getMonth()+1).toString().padStart(2,"0"),K=s.getDate().toString().padStart(2,"0");return D+O+K},W=function(P,s){var D=P.toString();return D.padStart(s,"0")},x=function(P){var s=P;return s<1024?s+" B":(s=parseFloat((s/1024).toFixed(2)),s<1024?s+" KB":(s=parseFloat((s/1024).toFixed(2)),s+" MB"))}},58125:function(J,F,e){e.d(F,{D:function(){return m},P:function(){return f}});var f=function(c){return c?parseFloat((c/1e5).toFixed(2)):0},m=function(c){return c?parseFloat((c/100).toFixed(2)):0}},86250:function(J,F,e){e.d(F,{Z:function(){return N}});var f=e(67294),m=e(93967),T=e.n(m),c=e(98423),W=e(98065),x=e(53124),E=e(91945),P=e(45503);const s=["wrap","nowrap","wrap-reverse"],D=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],O=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],K=(r,o)=>{const t=o.wrap===!0?"wrap":o.wrap;return{[`${r}-wrap-${t}`]:t&&s.includes(t)}},S=(r,o)=>{const t={};return O.forEach(i=>{t[`${r}-align-${i}`]=o.align===i}),t[`${r}-align-stretch`]=!o.align&&!!o.vertical,t},j=(r,o)=>{const t={};return D.forEach(i=>{t[`${r}-justify-${i}`]=o.justify===i}),t};function I(r,o){return T()(Object.assign(Object.assign(Object.assign({},K(r,o)),S(r,o)),j(r,o)))}var y=I;const p=r=>{const{componentCls:o}=r;return{[o]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},h=r=>{const{componentCls:o}=r;return{[o]:{"&-gap-small":{gap:r.flexGapSM},"&-gap-middle":{gap:r.flexGap},"&-gap-large":{gap:r.flexGapLG}}}},B=r=>{const{componentCls:o}=r,t={};return s.forEach(i=>{t[`${o}-wrap-${i}`]={flexWrap:i}}),t},U=r=>{const{componentCls:o}=r,t={};return O.forEach(i=>{t[`${o}-align-${i}`]={alignItems:i}}),t},Q=r=>{const{componentCls:o}=r,t={};return D.forEach(i=>{t[`${o}-justify-${i}`]={justifyContent:i}}),t},Y=()=>({});var l=(0,E.I$)("Flex",r=>{const{paddingXS:o,padding:t,paddingLG:i}=r,C=(0,P.TS)(r,{flexGapSM:o,flexGap:t,flexGapLG:i});return[p(C),h(C),B(C),U(C),Q(C)]},Y,{resetStyle:!1}),Z=function(r,o){var t={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&o.indexOf(i)<0&&(t[i]=r[i]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,i=Object.getOwnPropertySymbols(r);C{const{prefixCls:t,rootClassName:i,className:C,style:n,flex:d,gap:_,children:a,vertical:u=!1,component:G="div"}=r,L=Z(r,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:R,direction:M,getPrefixCls:g}=f.useContext(x.E_),v=g("flex",t),[z,A,V]=l(v),w=u!=null?u:R==null?void 0:R.vertical,b=T()(C,i,R==null?void 0:R.className,v,A,V,y(v,r),{[`${v}-rtl`]:M==="rtl",[`${v}-gap-${_}`]:(0,W.n)(_),[`${v}-vertical`]:w}),H=Object.assign(Object.assign({},R==null?void 0:R.style),n);return d&&(H.flex=d),_&&!(0,W.n)(_)&&(H.gap=_),z(f.createElement(G,Object.assign({ref:o,className:b,style:H},(0,c.Z)(L,["justify","wrap","align"])),a))})},66309:function(J,F,e){e.d(F,{Z:function(){return C}});var f=e(67294),m=e(93967),T=e.n(m),c=e(98423),W=e(98787),x=e(69760),E=e(96159),P=e(45353),s=e(53124),D=e(54548),O=e(10274),K=e(14747),S=e(45503),j=e(91945);const I=n=>{const{paddingXXS:d,lineWidth:_,tagPaddingHorizontal:a,componentCls:u,calc:G}=n,L=G(a).sub(_).equal(),R=G(d).sub(_).equal();return{[u]:Object.assign(Object.assign({},(0,K.Wf)(n)),{display:"inline-block",height:"auto",marginInlineEnd:n.marginXS,paddingInline:L,fontSize:n.tagFontSize,lineHeight:n.tagLineHeight,whiteSpace:"nowrap",background:n.defaultBg,border:`${(0,D.bf)(n.lineWidth)} ${n.lineType} ${n.colorBorder}`,borderRadius:n.borderRadiusSM,opacity:1,transition:`all ${n.motionDurationMid}`,textAlign:"start",position:"relative",[`&${u}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:n.defaultColor},[`${u}-close-icon`]:{marginInlineStart:R,fontSize:n.tagIconSize,color:n.colorTextDescription,cursor:"pointer",transition:`all ${n.motionDurationMid}`,"&:hover":{color:n.colorTextHeading}},[`&${u}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${n.iconCls}-close, ${n.iconCls}-close:hover`]:{color:n.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${u}-checkable-checked):hover`]:{color:n.colorPrimary,backgroundColor:n.colorFillSecondary},"&:active, &-checked":{color:n.colorTextLightSolid},"&-checked":{backgroundColor:n.colorPrimary,"&:hover":{backgroundColor:n.colorPrimaryHover}},"&:active":{backgroundColor:n.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${n.iconCls} + span, > span + ${n.iconCls}`]:{marginInlineStart:L}}),[`${u}-borderless`]:{borderColor:"transparent",background:n.tagBorderlessBg}}},y=n=>{const{lineWidth:d,fontSizeIcon:_,calc:a}=n,u=n.fontSizeSM;return(0,S.TS)(n,{tagFontSize:u,tagLineHeight:(0,D.bf)(a(n.lineHeightSM).mul(u).equal()),tagIconSize:a(_).sub(a(d).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:n.defaultBg})},p=n=>({defaultBg:new O.C(n.colorFillQuaternary).onBackground(n.colorBgContainer).toHexString(),defaultColor:n.colorText});var h=(0,j.I$)("Tag",n=>{const d=y(n);return I(d)},p),B=function(n,d){var _={};for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&d.indexOf(a)<0&&(_[a]=n[a]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,a=Object.getOwnPropertySymbols(n);u{const{prefixCls:_,style:a,className:u,checked:G,onChange:L,onClick:R}=n,M=B(n,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:g,tag:v}=f.useContext(s.E_),z=k=>{L==null||L(!G),R==null||R(k)},A=g("tag",_),[V,w,b]=h(A),H=T()(A,`${A}-checkable`,{[`${A}-checkable-checked`]:G},v==null?void 0:v.className,u,w,b);return V(f.createElement("span",Object.assign({},M,{ref:d,style:Object.assign(Object.assign({},a),v==null?void 0:v.style),className:H,onClick:z})))}),Y=e(98719);const l=n=>(0,Y.Z)(n,(d,_)=>{let{textColor:a,lightBorderColor:u,lightColor:G,darkColor:L}=_;return{[`${n.componentCls}${n.componentCls}-${d}`]:{color:a,background:G,borderColor:u,"&-inverse":{color:n.colorTextLightSolid,background:L,borderColor:L},[`&${n.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Z=(0,j.bk)(["Tag","preset"],n=>{const d=y(n);return l(d)},p);function $(n){return typeof n!="string"?n:n.charAt(0).toUpperCase()+n.slice(1)}const N=(n,d,_)=>{const a=$(_);return{[`${n.componentCls}${n.componentCls}-${d}`]:{color:n[`color${_}`],background:n[`color${a}Bg`],borderColor:n[`color${a}Border`],[`&${n.componentCls}-borderless`]:{borderColor:"transparent"}}}};var r=(0,j.bk)(["Tag","status"],n=>{const d=y(n);return[N(d,"success","Success"),N(d,"processing","Info"),N(d,"error","Error"),N(d,"warning","Warning")]},p),o=function(n,d){var _={};for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&d.indexOf(a)<0&&(_[a]=n[a]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,a=Object.getOwnPropertySymbols(n);u{const{prefixCls:_,className:a,rootClassName:u,style:G,children:L,icon:R,color:M,onClose:g,bordered:v=!0,visible:z}=n,A=o(n,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:V,direction:w,tag:b}=f.useContext(s.E_),[H,k]=f.useState(!0),ne=(0,c.Z)(A,["closeIcon","closable"]);f.useEffect(()=>{z!==void 0&&k(z)},[z]);const ae=(0,W.o2)(M),se=(0,W.yT)(M),te=ae||se,ce=Object.assign(Object.assign({backgroundColor:M&&!te?M:void 0},b==null?void 0:b.style),G),X=V("tag",_),[de,fe,me]=h(X),pe=T()(X,b==null?void 0:b.className,{[`${X}-${M}`]:te,[`${X}-has-color`]:M&&!te,[`${X}-hidden`]:!H,[`${X}-rtl`]:w==="rtl",[`${X}-borderless`]:!v},a,u,fe,me),le=ee=>{ee.stopPropagation(),g==null||g(ee),!ee.defaultPrevented&&k(!1)},[,_e]=(0,x.Z)((0,x.w)(n),(0,x.w)(b),{closable:!1,closeIconRender:ee=>{const he=f.createElement("span",{className:`${X}-close-icon`,onClick:le},ee);return(0,E.wm)(ee,he,q=>({onClick:ue=>{var re;(re=q==null?void 0:q.onClick)===null||re===void 0||re.call(q,ue),le(ue)},className:T()(q==null?void 0:q.className,`${X}-close-icon`)}))}}),ve=typeof A.onClick=="function"||L&&L.type==="a",oe=R||null,ge=oe?f.createElement(f.Fragment,null,oe,L&&f.createElement("span",null,L)):L,ie=f.createElement("span",Object.assign({},ne,{ref:d,className:pe,style:ce}),ge,_e,ae&&f.createElement(Z,{key:"preset",prefixCls:X}),se&&f.createElement(r,{key:"status",prefixCls:X}));return de(ve?f.createElement(P.Z,{component:"Tag"},ie):ie)});i.CheckableTag=Q;var C=i}}]); diff --git a/dist/p__UserManagement.98f62b33.async.js b/dist/p__UserManagement.98f62b33.async.js new file mode 100644 index 0000000..5b33c62 --- /dev/null +++ b/dist/p__UserManagement.98f62b33.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[903],{40110:function(ee,$,n){var d=n(1413),T=n(67294),b=n(509),_=n(91146),S=function(R,P){return T.createElement(_.Z,(0,d.Z)((0,d.Z)({},R),{},{ref:P,icon:b.Z}))},E=T.forwardRef(S);$.Z=E},47989:function(ee,$,n){n.r($);var d=n(97857),T=n.n(d),b=n(15009),_=n.n(b),S=n(99289),E=n.n(S),D=n(81072),R=n(90930),P=n(67539),A=n(35312),U=n(66309),H=n(86250),F=n(86738),M=n(67294),V=n(58125),W=n(42767),f=n(85893),z=function(){var k=(0,A.useParams)(),w=k.code,B=(0,M.useRef)();(0,M.useEffect)(function(){var p;(p=B.current)===null||p===void 0||p.reload()},[w]);var X=[{title:"\u7528\u6237id",dataIndex:"userId",valueType:"textarea",hideInTable:!0},{title:"id",dataIndex:"id",valueType:"textarea",ellipsis:!0,copyable:!0,hideInSearch:!0},{title:"\u7528\u6237",hideInSearch:!0,dataIndex:"nickname",valueType:"textarea",renderText:function(m,h){return(0,f.jsx)(W.Z,{data:h})}},{title:"\u652F\u4ED8\u5B9D\u540D\u79F0",dataIndex:"name",hideInSearch:!0},{title:"\u652F\u4ED8\u5B9D\u8D26\u53F7",dataIndex:"aliPayAccount",hideInSearch:!0},{title:"\u5FAE\u4FE1",dataIndex:"wxOpenId",hideInSearch:!0,renderText:function(m){return m?(0,f.jsx)(U.Z,{color:"green",children:"\u5DF2\u7ED1\u5B9A"}):(0,f.jsx)(U.Z,{color:"red",children:"\u672A\u7ED1\u5B9A"})}},{title:"\u603B\u6536\u76CA\uFF08\u5143\uFF09",hideInSearch:!0,dataIndex:"income",renderText:function(m){return(0,V.P)(m)}},{title:"\u5DF2\u63D0\u73B0\uFF08\u5143\uFF09",hideInSearch:!0,dataIndex:"realMoney",renderText:function(m){return(0,V.D)(m)}},{title:"\u6CE8\u518C\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u65F6\u95F4",hideInTable:!0,dataIndex:"createdAt",valueType:"dateRange",hideInSearch:!0},{title:"\u64CD\u4F5C",width:100,hideInSearch:!0,renderText:function(m){return(0,f.jsx)(H.Z,{gap:"small",wrap:!0,children:(0,f.jsxs)(f.Fragment,{children:[m.status===0&&(0,f.jsx)(F.Z,{title:"\u5C01\u7981\u7528\u6237",description:"\u5C01\u7981\u540E\u7528\u6237\u5C06\u65E0\u6CD5\u767B\u5F55\u3001\u65E0\u6CD5\u83B7\u53D6\u6536\u76CA",onConfirm:E()(_()().mark(function h(){var t;return _()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,D.wv)({userId:m.id||0,status:-1});case 2:(t=B.current)===null||t===void 0||t.reload();case 3:case"end":return r.stop()}},h)})),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,f.jsx)("a",{children:"\u5C01\u7981"})}),m.status===-1&&(0,f.jsx)(F.Z,{title:"\u89E3\u5C01\u7528\u6237",description:"\u89E3\u5C01\u540E\u7528\u6237\u53EF\u4EE5\u6B63\u5E38\u767B\u5F55\u3001\u83B7\u53D6\u6536\u76CA",onConfirm:E()(_()().mark(function h(){var t;return _()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,D.wv)({userId:m.id||0,status:0});case 2:(t=B.current)===null||t===void 0||t.reload();case 3:case"end":return r.stop()}},h)})),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,f.jsx)("a",{children:"\u89E3\u5C01"})})]})})}}];return(0,f.jsx)(R._z,{children:(0,f.jsx)(P.Z,{actionRef:B,request:function(){var p=E()(_()().mark(function m(h){var t,l,r;return _()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,(0,D.pb)(T()(T()({},h),{},{appCode:w}));case 2:return r=u.sent,u.abrupt("return",{data:(t=r.data)===null||t===void 0?void 0:t.data,total:(l=r.data)===null||l===void 0?void 0:l.total,success:!0});case 4:case"end":return u.stop()}},m)}));return function(m){return p.apply(this,arguments)}}(),columns:X})})};$.default=z},86250:function(ee,$,n){n.d($,{Z:function(){return h}});var d=n(67294),T=n(93967),b=n.n(T),_=n(98423),S=n(98065),E=n(53124),D=n(91945),R=n(45503);const P=["wrap","nowrap","wrap-reverse"],A=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],U=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],H=(t,l)=>{const r=l.wrap===!0?"wrap":l.wrap;return{[`${t}-wrap-${r}`]:r&&P.includes(r)}},F=(t,l)=>{const r={};return U.forEach(o=>{r[`${t}-align-${o}`]=l.align===o}),r[`${t}-align-stretch`]=!l.align&&!!l.vertical,r},M=(t,l)=>{const r={};return A.forEach(o=>{r[`${t}-justify-${o}`]=l.justify===o}),r};function V(t,l){return b()(Object.assign(Object.assign(Object.assign({},H(t,l)),F(t,l)),M(t,l)))}var W=V;const f=t=>{const{componentCls:l}=t;return{[l]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},z=t=>{const{componentCls:l}=t;return{[l]:{"&-gap-small":{gap:t.flexGapSM},"&-gap-middle":{gap:t.flexGap},"&-gap-large":{gap:t.flexGapLG}}}},Y=t=>{const{componentCls:l}=t,r={};return P.forEach(o=>{r[`${l}-wrap-${o}`]={flexWrap:o}}),r},k=t=>{const{componentCls:l}=t,r={};return U.forEach(o=>{r[`${l}-align-${o}`]={alignItems:o}}),r},w=t=>{const{componentCls:l}=t,r={};return A.forEach(o=>{r[`${l}-justify-${o}`]={justifyContent:o}}),r},B=()=>({});var X=(0,D.I$)("Flex",t=>{const{paddingXS:l,padding:r,paddingLG:o}=t,u=(0,R.TS)(t,{flexGapSM:l,flexGap:r,flexGapLG:o});return[f(u),z(u),Y(u),k(u),w(u)]},B,{resetStyle:!1}),p=function(t,l){var r={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&l.indexOf(o)<0&&(r[o]=t[o]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,o=Object.getOwnPropertySymbols(t);u{const{prefixCls:r,rootClassName:o,className:u,style:e,flex:c,gap:i,children:a,vertical:s=!1,component:x="div"}=t,g=p(t,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:v,direction:I,getPrefixCls:L}=d.useContext(E.E_),C=L("flex",r),[N,j,J]=X(C),Q=s!=null?s:v==null?void 0:v.vertical,y=b()(u,o,v==null?void 0:v.className,C,j,J,W(C,t),{[`${C}-rtl`]:I==="rtl",[`${C}-gap-${i}`]:(0,S.n)(i),[`${C}-vertical`]:Q}),K=Object.assign(Object.assign({},v==null?void 0:v.style),e);return c&&(K.flex=c),i&&!(0,S.n)(i)&&(K.gap=i),N(d.createElement(x,Object.assign({ref:l,className:y,style:K},(0,_.Z)(g,["justify","wrap","align"])),a))})},66309:function(ee,$,n){n.d($,{Z:function(){return u}});var d=n(67294),T=n(93967),b=n.n(T),_=n(98423),S=n(98787),E=n(69760),D=n(96159),R=n(45353),P=n(53124),A=n(54548),U=n(10274),H=n(14747),F=n(45503),M=n(91945);const V=e=>{const{paddingXXS:c,lineWidth:i,tagPaddingHorizontal:a,componentCls:s,calc:x}=e,g=x(a).sub(i).equal(),v=x(c).sub(i).equal();return{[s]:Object.assign(Object.assign({},(0,H.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:g,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,A.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${s}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${s}-close-icon`]:{marginInlineStart:v,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${s}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${s}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:g}}),[`${s}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},W=e=>{const{lineWidth:c,fontSizeIcon:i,calc:a}=e,s=e.fontSizeSM;return(0,F.TS)(e,{tagFontSize:s,tagLineHeight:(0,A.bf)(a(e.lineHeightSM).mul(s).equal()),tagIconSize:a(i).sub(a(c).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},f=e=>({defaultBg:new U.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var z=(0,M.I$)("Tag",e=>{const c=W(e);return V(c)},f),Y=function(e,c){var i={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&c.indexOf(a)<0&&(i[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,a=Object.getOwnPropertySymbols(e);s{const{prefixCls:i,style:a,className:s,checked:x,onChange:g,onClick:v}=e,I=Y(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:L,tag:C}=d.useContext(P.E_),N=q=>{g==null||g(!x),v==null||v(q)},j=L("tag",i),[J,Q,y]=z(j),K=b()(j,`${j}-checkable`,{[`${j}-checkable-checked`]:x},C==null?void 0:C.className,s,Q,y);return J(d.createElement("span",Object.assign({},I,{ref:c,style:Object.assign(Object.assign({},a),C==null?void 0:C.style),className:K,onClick:N})))}),B=n(98719);const X=e=>(0,B.Z)(e,(c,i)=>{let{textColor:a,lightBorderColor:s,lightColor:x,darkColor:g}=i;return{[`${e.componentCls}${e.componentCls}-${c}`]:{color:a,background:x,borderColor:s,"&-inverse":{color:e.colorTextLightSolid,background:g,borderColor:g},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var p=(0,M.bk)(["Tag","preset"],e=>{const c=W(e);return X(c)},f);function m(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const h=(e,c,i)=>{const a=m(i);return{[`${e.componentCls}${e.componentCls}-${c}`]:{color:e[`color${i}`],background:e[`color${a}Bg`],borderColor:e[`color${a}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var t=(0,M.bk)(["Tag","status"],e=>{const c=W(e);return[h(c,"success","Success"),h(c,"processing","Info"),h(c,"error","Error"),h(c,"warning","Warning")]},f),l=function(e,c){var i={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&c.indexOf(a)<0&&(i[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,a=Object.getOwnPropertySymbols(e);s{const{prefixCls:i,className:a,rootClassName:s,style:x,children:g,icon:v,color:I,onClose:L,bordered:C=!0,visible:N}=e,j=l(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:J,direction:Q,tag:y}=d.useContext(P.E_),[K,q]=d.useState(!0),ie=(0,_.Z)(j,["closeIcon","closable"]);d.useEffect(()=>{N!==void 0&&q(N)},[N]);const re=(0,S.o2)(I),ae=(0,S.yT)(I),te=re||ae,de=Object.assign(Object.assign({backgroundColor:I&&!te?I:void 0},y==null?void 0:y.style),x),O=J("tag",i),[ue,fe,me]=z(O),ge=b()(O,y==null?void 0:y.className,{[`${O}-${I}`]:te,[`${O}-has-color`]:I&&!te,[`${O}-hidden`]:!K,[`${O}-rtl`]:Q==="rtl",[`${O}-borderless`]:!C},a,s,fe,me),le=G=>{G.stopPropagation(),L==null||L(G),!G.defaultPrevented&&q(!1)},[,ve]=(0,E.Z)((0,E.w)(e),(0,E.w)(y),{closable:!1,closeIconRender:G=>{const he=d.createElement("span",{className:`${O}-close-icon`,onClick:le},G);return(0,D.wm)(G,he,Z=>({onClick:ce=>{var ne;(ne=Z==null?void 0:Z.onClick)===null||ne===void 0||ne.call(Z,ce),le(ce)},className:b()(Z==null?void 0:Z.className,`${O}-close-icon`)}))}}),Ce=typeof j.onClick=="function"||g&&g.type==="a",oe=v||null,pe=oe?d.createElement(d.Fragment,null,oe,g&&d.createElement("span",null,g)):g,se=d.createElement("span",Object.assign({},ie,{ref:c,className:ge,style:de}),pe,ve,re&&d.createElement(p,{key:"preset",prefixCls:O}),ae&&d.createElement(t,{key:"status",prefixCls:O}));return ue(Ce?d.createElement(R.Z,{component:"Tag"},se):se)});o.CheckableTag=w;var u=o}}]); diff --git a/dist/umi.d291380e.js b/dist/umi.e20ce413.js similarity index 67% rename from dist/umi.d291380e.js rename to dist/umi.e20ce413.js index ada30e2..3f5e82f 100644 --- a/dist/umi.d291380e.js +++ b/dist/umi.e20ce413.js @@ -1,6 +1,6 @@ -!(function(){var Sd=Object.defineProperty,xd=Object.defineProperties;var Cd=Object.getOwnPropertyDescriptors;var Gc=Object.getOwnPropertySymbols;var Ed=Object.prototype.hasOwnProperty,Pd=Object.prototype.propertyIsEnumerable;var Yc=(di,Ho,be)=>Ho in di?Sd(di,Ho,{enumerable:!0,configurable:!0,writable:!0,value:be}):di[Ho]=be,Gl=(di,Ho)=>{for(var be in Ho||(Ho={}))Ed.call(Ho,be)&&Yc(di,be,Ho[be]);if(Gc)for(var be of Gc(Ho))Pd.call(Ho,be)&&Yc(di,be,Ho[be]);return di},Xc=(di,Ho)=>xd(di,Cd(Ho));var Lu=(di,Ho,be)=>new Promise((dc,v)=>{var g=r=>{try{t(be.next(r))}catch(o){v(o)}},e=r=>{try{t(be.throw(r))}catch(o){v(o)}},t=r=>r.done?dc(r.value):Promise.resolve(r.value).then(g,e);t((be=be.apply(di,Ho)).next())});(function(){var di={54548:function(v,g,e){"use strict";e.d(g,{E4:function(){return za},V9:function(){return Y},jG:function(){return I},t2:function(){return wt},ks:function(){return D},bf:function(){return U},CI:function(){return ua},fp:function(){return Ct},xy:function(){return wn}});var t=e(4942),r=e(97685),o=e(74902),a=e(1413);function s(Qe){for(var mt=0,pt,$t=0,tn=Qe.length;tn>=4;++$t,tn-=4)pt=Qe.charCodeAt($t)&255|(Qe.charCodeAt(++$t)&255)<<8|(Qe.charCodeAt(++$t)&255)<<16|(Qe.charCodeAt(++$t)&255)<<24,pt=(pt&65535)*1540483477+((pt>>>16)*59797<<16),pt^=pt>>>24,mt=(pt&65535)*1540483477+((pt>>>16)*59797<<16)^(mt&65535)*1540483477+((mt>>>16)*59797<<16);switch(tn){case 3:mt^=(Qe.charCodeAt($t+2)&255)<<16;case 2:mt^=(Qe.charCodeAt($t+1)&255)<<8;case 1:mt^=Qe.charCodeAt($t)&255,mt=(mt&65535)*1540483477+((mt>>>16)*59797<<16)}return mt^=mt>>>13,mt=(mt&65535)*1540483477+((mt>>>16)*59797<<16),((mt^mt>>>15)>>>0).toString(36)}var c=s,u=e(44958),l=e(67294),f=e.t(l,2),p=e(91),y=e(56982),m=e(91881),d=e(15671),b=e(43144),C="%";function S(Qe){return Qe.join(C)}var x=function(){function Qe(mt){(0,d.Z)(this,Qe),(0,t.Z)(this,"instanceId",void 0),(0,t.Z)(this,"cache",new Map),this.instanceId=mt}return(0,b.Z)(Qe,[{key:"get",value:function(pt){return this.opGet(S(pt))}},{key:"opGet",value:function(pt){return this.cache.get(pt)||null}},{key:"update",value:function(pt,$t){return this.opUpdate(S(pt),$t)}},{key:"opUpdate",value:function(pt,$t){var tn=this.cache.get(pt),Nn=$t(tn);Nn===null?this.cache.delete(pt):this.cache.set(pt,Nn)}}]),Qe}(),w=x,O=["children"],j="data-token-hash",E="data-css-hash",$="data-cache-path",N="__cssinjs_instance__";function oe(){var Qe=Math.random().toString(12).slice(2);if(typeof document!="undefined"&&document.head&&document.body){var mt=document.body.querySelectorAll("style[".concat(E,"]"))||[],pt=document.head.firstChild;Array.from(mt).forEach(function(tn){tn[N]=tn[N]||Qe,tn[N]===Qe&&document.head.insertBefore(tn,pt)});var $t={};Array.from(document.querySelectorAll("style[".concat(E,"]"))).forEach(function(tn){var Nn=tn.getAttribute(E);if($t[Nn]){if(tn[N]===Qe){var vr;(vr=tn.parentNode)===null||vr===void 0||vr.removeChild(tn)}}else $t[Nn]=!0})}return new w(Qe)}var Z=l.createContext({hashPriority:"low",cache:oe(),defaultCache:!0}),Y=function(mt){var pt=mt.children,$t=(0,p.Z)(mt,O),tn=l.useContext(Z),Nn=(0,y.Z)(function(){var vr=(0,a.Z)({},tn);Object.keys($t).forEach(function(nr){var Ir=$t[nr];$t[nr]!==void 0&&(vr[nr]=Ir)});var br=$t.cache;return vr.cache=vr.cache||oe(),vr.defaultCache=!br&&tn.defaultCache,vr},[tn,$t],function(vr,br){return!(0,m.Z)(vr[0],br[0],!0)||!(0,m.Z)(vr[1],br[1],!0)});return l.createElement(Z.Provider,{value:Nn},pt)},te=Z,ee=e(71002),B=e(98924);function ne(Qe,mt){if(Qe.length!==mt.length)return!1;for(var pt=0;pt1&&arguments[1]!==void 0?arguments[1]:!1,vr={map:this.cache};return pt.forEach(function(br){if(!vr)vr=void 0;else{var nr;vr=(nr=vr)===null||nr===void 0||(nr=nr.map)===null||nr===void 0?void 0:nr.get(br)}}),($t=vr)!==null&&$t!==void 0&&$t.value&&Nn&&(vr.value[1]=this.cacheCallTimes++),(tn=vr)===null||tn===void 0?void 0:tn.value}},{key:"get",value:function(pt){var $t;return($t=this.internalGet(pt,!0))===null||$t===void 0?void 0:$t[0]}},{key:"has",value:function(pt){return!!this.internalGet(pt)}},{key:"set",value:function(pt,$t){var tn=this;if(!this.has(pt)){if(this.size()+1>Qe.MAX_CACHE_SIZE+Qe.MAX_CACHE_OFFSET){var Nn=this.keys.reduce(function(Ir,Er){var yr=(0,r.Z)(Ir,2),Xn=yr[1];return tn.internalGet(Er)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),L+=1}return(0,b.Z)(Qe,[{key:"getDerivativeToken",value:function(pt){return this.derivatives.reduce(function($t,tn){return tn(pt,$t)},void 0)}}]),Qe}(),T=new Q;function I(Qe){var mt=Array.isArray(Qe)?Qe:[Qe];return T.has(mt)||T.set(mt,new F(mt)),T.get(mt)}var R=new WeakMap,z={};function ae(Qe,mt){for(var pt=R,$t=0;$t1&&arguments[1]!==void 0?arguments[1]:!1,pt=X.get(Qe)||"";return pt||(Object.keys(Qe).forEach(function($t){var tn=Qe[$t];pt+=$t,tn instanceof F?pt+=tn.id:tn&&(0,ee.Z)(tn)==="object"?pt+=G(tn,mt):pt+=tn}),mt&&(pt=c(pt)),X.set(Qe,pt)),pt}function ce(Qe,mt){return c("".concat(mt,"_").concat(G(Qe,!0)))}var he="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),Re="_bAmBoO_";function Ie(Qe,mt,pt){if((0,B.Z)()){var $t,tn;(0,u.hq)(Qe,he);var Nn=document.createElement("div");Nn.style.position="fixed",Nn.style.left="0",Nn.style.top="0",mt==null||mt(Nn),document.body.appendChild(Nn);var vr=pt?pt(Nn):($t=getComputedStyle(Nn).content)===null||$t===void 0?void 0:$t.includes(Re);return(tn=Nn.parentNode)===null||tn===void 0||tn.removeChild(Nn),(0,u.jL)(he),vr}return!1}var Ze=null;function ot(){return Ze===void 0&&(Ze=Ie("@layer ".concat(he," { .").concat(he,' { content: "').concat(Re,'"!important; } }'),function(Qe){Qe.className=he})),Ze}var Je=void 0;function He(){return Je===void 0&&(Je=Ie(":where(.".concat(he,') { content: "').concat(Re,'"!important; }'),function(Qe){Qe.className=he})),Je}var qe=void 0;function Xe(){return qe===void 0&&(qe=Ie(".".concat(he," { inset-block: 93px !important; }"),function(Qe){Qe.className=he},function(Qe){return getComputedStyle(Qe).bottom==="93px"})),qe}var le=(0,B.Z)();function U(Qe){return typeof Qe=="number"?"".concat(Qe,"px"):Qe}function M(Qe,mt,pt){var $t,tn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Nn=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(Nn)return Qe;var vr=(0,a.Z)((0,a.Z)({},tn),{},($t={},(0,t.Z)($t,j,mt),(0,t.Z)($t,E,pt),$t)),br=Object.keys(vr).map(function(nr){var Ir=vr[nr];return Ir?"".concat(nr,'="').concat(Ir,'"'):null}).filter(function(nr){return nr}).join(" ");return"")}var D=function(mt){var pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(pt?"".concat(pt,"-"):"").concat(mt).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},K=function(mt,pt,$t){return Object.keys(mt).length?".".concat(pt).concat($t!=null&&$t.scope?".".concat($t.scope):"","{").concat(Object.entries(mt).map(function(tn){var Nn=(0,r.Z)(tn,2),vr=Nn[0],br=Nn[1];return"".concat(vr,":").concat(br,";")}).join(""),"}"):""},k=function(mt,pt,$t){var tn={},Nn={};return Object.entries(mt).forEach(function(vr){var br,nr,Ir=(0,r.Z)(vr,2),Er=Ir[0],yr=Ir[1];if($t!=null&&(br=$t.preserve)!==null&&br!==void 0&&br[Er])Nn[Er]=yr;else if((typeof yr=="string"||typeof yr=="number")&&!($t!=null&&(nr=$t.ignore)!==null&&nr!==void 0&&nr[Er])){var Xn,Kr=D(Er,$t==null?void 0:$t.prefix);tn[Kr]=typeof yr=="number"&&!($t!=null&&(Xn=$t.unitless)!==null&&Xn!==void 0&&Xn[Er])?"".concat(yr,"px"):String(yr),Nn[Er]="var(".concat(Kr,")")}}),[Nn,K(tn,pt,{scope:$t==null?void 0:$t.scope})]},J=e(8410),ue=(0,a.Z)({},f),_=ue.useInsertionEffect,V=function(mt,pt,$t){l.useMemo(mt,$t),(0,J.Z)(function(){return pt(!0)},$t)},se=_?function(Qe,mt,pt){return _(function(){return Qe(),mt()},pt)}:V,pe=se,de=(0,a.Z)({},f),Ne=de.useInsertionEffect,st=function(mt){var pt=[],$t=!1;function tn(Nn){$t||pt.push(Nn)}return l.useEffect(function(){return $t=!1,function(){$t=!0,pt.length&&pt.forEach(function(Nn){return Nn()})}},mt),tn},Ce=function(){return function(mt){mt()}},xe=typeof Ne!="undefined"?st:Ce,A=xe;function ie(){return!1}var ke=!1;function Fe(){return ke}var $e=ie;if(!1)var we,Pe;function Ae(Qe,mt,pt,$t,tn){var Nn=l.useContext(te),vr=Nn.cache,br=[Qe].concat((0,o.Z)(mt)),nr=S(br),Ir=A([nr]),Er=$e(),yr=function(xr){vr.opUpdate(nr,function(Jr){var oa=Jr||[void 0,void 0],kr=(0,r.Z)(oa,2),ca=kr[0],qr=ca===void 0?0:ca,Hr=kr[1],Vr=Hr,ia=Vr||pt(),ja=[qr,ia];return xr?xr(ja):ja})};l.useMemo(function(){yr()},[nr]);var Xn=vr.opGet(nr),Kr=Xn[1];return pe(function(){tn==null||tn(Kr)},function(ta){return yr(function(xr){var Jr=(0,r.Z)(xr,2),oa=Jr[0],kr=Jr[1];return ta&&oa===0&&(tn==null||tn(Kr)),[oa+1,kr]}),function(){vr.opUpdate(nr,function(xr){var Jr=xr||[],oa=(0,r.Z)(Jr,2),kr=oa[0],ca=kr===void 0?0:kr,qr=oa[1],Hr=ca-1;return Hr===0?(Ir(function(){(ta||!vr.opGet(nr))&&($t==null||$t(qr,!1))}),null):[ca-1,qr]})}},[nr]),Kr}var We={},tt="css",dt=new Map;function At(Qe){dt.set(Qe,(dt.get(Qe)||0)+1)}function vt(Qe,mt){if(typeof document!="undefined"){var pt=document.querySelectorAll("style[".concat(j,'="').concat(Qe,'"]'));pt.forEach(function($t){if($t[N]===mt){var tn;(tn=$t.parentNode)===null||tn===void 0||tn.removeChild($t)}})}}var qt=0;function kt(Qe,mt){dt.set(Qe,(dt.get(Qe)||0)-1);var pt=Array.from(dt.keys()),$t=pt.filter(function(tn){var Nn=dt.get(tn)||0;return Nn<=0});pt.length-$t.length>qt&&$t.forEach(function(tn){vt(tn,mt),dt.delete(tn)})}var wt=function(mt,pt,$t,tn){var Nn=$t.getDerivativeToken(mt),vr=(0,a.Z)((0,a.Z)({},Nn),pt);return tn&&(vr=tn(vr)),vr},Kt="token";function Ct(Qe,mt){var pt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},$t=(0,l.useContext)(te),tn=$t.cache.instanceId,Nn=$t.container,vr=pt.salt,br=vr===void 0?"":vr,nr=pt.override,Ir=nr===void 0?We:nr,Er=pt.formatToken,yr=pt.getComputedToken,Xn=pt.cssVar,Kr=ae(function(){return Object.assign.apply(Object,[{}].concat((0,o.Z)(mt)))},mt),ta=G(Kr),xr=G(Ir),Jr=Xn?G(Xn):"",oa=Ae(Kt,[br,Qe.id,ta,xr,Jr],function(){var kr,ca=yr?yr(Kr,Ir,Qe):wt(Kr,Ir,Qe,Er),qr=(0,a.Z)({},ca),Hr="";if(Xn){var Vr=k(ca,Xn.key,{prefix:Xn.prefix,ignore:Xn.ignore,unitless:Xn.unitless,preserve:Xn.preserve}),ia=(0,r.Z)(Vr,2);ca=ia[0],Hr=ia[1]}var ja=ce(ca,br);ca._tokenKey=ja,qr._tokenKey=ce(qr,br);var Ka=(kr=Xn==null?void 0:Xn.key)!==null&&kr!==void 0?kr:ja;ca._themeKey=Ka,At(Ka);var io="".concat(tt,"-").concat(c(ja));return ca._hashId=io,[ca,io,qr,Hr,(Xn==null?void 0:Xn.key)||""]},function(kr){kt(kr[0]._themeKey,tn)},function(kr){var ca=(0,r.Z)(kr,4),qr=ca[0],Hr=ca[3];if(Xn&&Hr){var Vr=(0,u.hq)(Hr,c("css-variables-".concat(qr._themeKey)),{mark:E,prepend:"queue",attachTo:Nn,priority:-999});Vr[N]=tn,Vr.setAttribute(j,qr._themeKey)}});return oa}var Ge=function(mt,pt,$t){var tn=(0,r.Z)(mt,5),Nn=tn[2],vr=tn[3],br=tn[4],nr=$t||{},Ir=nr.plain;if(!vr)return null;var Er=Nn._tokenKey,yr=-999,Xn={"data-rc-order":"prependQueue","data-rc-priority":"".concat(yr)},Kr=M(vr,br,Er,Xn,Ir);return[yr,Er,Kr]},Et=e(87462),Ut={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},gt=Ut,cn="-ms-",Ft="-moz-",en="-webkit-",Yt="comm",dn="rule",pn="decl",rn="@page",On="@media",An="@import",Jn="@charset",Rr="@viewport",er="@supports",ct="@document",et="@namespace",Ve="@keyframes",Jt="@font-face",ht="@counter-style",un="@font-feature-values",Tn="@layer",Un="@scope",rr=Math.abs,or=String.fromCharCode,fr=Object.assign;function ir(Qe,mt){return gn(Qe,0)^45?(((mt<<2^gn(Qe,0))<<2^gn(Qe,1))<<2^gn(Qe,2))<<2^gn(Qe,3):0}function gr(Qe){return Qe.trim()}function sr(Qe,mt){return(Qe=mt.exec(Qe))?Qe[0]:Qe}function fn(Qe,mt,pt){return Qe.replace(mt,pt)}function tr(Qe,mt,pt){return Qe.indexOf(mt,pt)}function gn(Qe,mt){return Qe.charCodeAt(mt)|0}function an(Qe,mt,pt){return Qe.slice(mt,pt)}function nt(Qe){return Qe.length}function xt(Qe){return Qe.length}function Bt(Qe,mt){return mt.push(Qe),Qe}function bt(Qe,mt){return Qe.map(mt).join("")}function zt(Qe,mt){return Qe.filter(function(pt){return!sr(pt,mt)})}function Vt(Qe,mt){for(var pt="",$t=0;$t0?gn(Bn,--Fn):0,Gn--,mn===10&&(Gn=1,Dn--),mn}function Ue(){return mn=Fn2||xn(mn)>3?"":" "}function ar(Qe){for(;Ue();)switch(xn(mn)){case 0:append(Hn(Fn-1),Qe);break;case 2:append(Wn(mn),Qe);break;default:append(from(mn),Qe)}return Qe}function ur(Qe,mt){for(;--mt&&Ue()&&!(mn<48||mn>102||mn>57&&mn<65||mn>70&&mn<97););return on(Qe,Dt()+(mt<6&&rt()==32&&Ue()==32))}function Tt(Qe){for(;Ue();)switch(mn){case Qe:return Fn;case 34:case 39:Qe!==34&&Qe!==39&&Tt(mn);break;case 40:Qe===41&&Tt(Qe);break;case 92:Ue();break}return Fn}function _t(Qe,mt){for(;Ue()&&Qe+mn!==57;)if(Qe+mn===84&&rt()===47)break;return"/*"+on(mt,Fn-1)+"*"+or(Qe===47?Qe:Ue())}function Hn(Qe){for(;!xn(rt());)Ue();return on(Qe,Fn)}function zn(Qe){return In(Ke("",null,null,null,[""],Qe=hn(Qe),0,[0],Qe))}function Ke(Qe,mt,pt,$t,tn,Nn,vr,br,nr){for(var Ir=0,Er=0,yr=vr,Xn=0,Kr=0,ta=0,xr=1,Jr=1,oa=1,kr=0,ca="",qr=tn,Hr=Nn,Vr=$t,ia=ca;Jr;)switch(ta=kr,kr=Ue()){case 40:if(ta!=108&&gn(ia,yr-1)==58){tr(ia+=fn(Wn(kr),"&","&\f"),"&\f",rr(Ir?br[Ir-1]:0))!=-1&&(oa=-1);break}case 34:case 39:case 91:ia+=Wn(kr);break;case 9:case 10:case 13:case 32:ia+=hr(ta);break;case 92:ia+=ur(Dt()-1,7);continue;case 47:switch(rt()){case 42:case 47:Bt(fe(_t(Ue(),Dt()),mt,pt,nr),nr);break;default:ia+="/"}break;case 123*xr:br[Ir++]=nt(ia)*oa;case 125*xr:case 59:case 0:switch(kr){case 0:case 125:Jr=0;case 59+Er:oa==-1&&(ia=fn(ia,/\f/g,"")),Kr>0&&nt(ia)-yr&&Bt(Kr>32?Ee(ia+";",$t,pt,yr-1,nr):Ee(fn(ia," ","")+";",$t,pt,yr-2,nr),nr);break;case 59:ia+=";";default:if(Bt(Vr=me(ia,mt,pt,Ir,Er,tn,br,ca,qr=[],Hr=[],yr,Nn),Nn),kr===123)if(Er===0)Ke(ia,mt,Vr,Vr,qr,Nn,yr,br,Hr);else switch(Xn===99&&gn(ia,3)===110?100:Xn){case 100:case 108:case 109:case 115:Ke(Qe,Vr,Vr,$t&&Bt(me(Qe,Vr,Vr,0,0,tn,br,ca,tn,qr=[],yr,Hr),Hr),tn,Hr,yr,br,$t?qr:Hr);break;default:Ke(ia,Vr,Vr,Vr,[""],Hr,0,br,Hr)}}Ir=Er=Kr=0,xr=oa=1,ca=ia="",yr=vr;break;case 58:yr=1+nt(ia),Kr=ta;default:if(xr<1){if(kr==123)--xr;else if(kr==125&&xr++==0&&Le()==125)continue}switch(ia+=or(kr),kr*xr){case 38:oa=Er>0?1:(ia+="\f",-1);break;case 44:br[Ir++]=(nt(ia)-1)*oa,oa=1;break;case 64:rt()===45&&(ia+=Wn(Ue())),Xn=rt(),Er=yr=nt(ca=ia+=Hn(Dt())),kr++;break;case 45:ta===45&&nt(ia)==2&&(xr=0)}}return Nn}function me(Qe,mt,pt,$t,tn,Nn,vr,br,nr,Ir,Er,yr){for(var Xn=tn-1,Kr=tn===0?Nn:[""],ta=xt(Kr),xr=0,Jr=0,oa=0;xr<$t;++xr)for(var kr=0,ca=an(Qe,Xn+1,Xn=rr(Jr=vr[xr])),qr=Qe;kr0?Kr[kr]+" "+ca:fn(ca,/&\f/g,Kr[kr])))&&(nr[oa++]=qr);return Mn(Qe,mt,pt,tn===0?dn:br,nr,Ir,Er,yr)}function fe(Qe,mt,pt,$t){return Mn(Qe,mt,pt,Yt,or(Te()),an(Qe,2,-2),0,$t)}function Ee(Qe,mt,pt,$t,tn){return Mn(Qe,mt,pt,pn,an(Qe,0,$t),an(Qe,$t+1,-1),$t,tn)}function ve(Qe,mt){var pt=mt.path,$t=mt.parentSelectors;devWarning(!1,"[Ant Design CSS-in-JS] ".concat(pt?"Error in ".concat(pt,": "):"").concat(Qe).concat($t.length?" Selector: ".concat($t.join(" | ")):""))}var _e=function(mt,pt,$t){if(mt==="content"){var tn=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Nn=["normal","none","initial","inherit","unset"];(typeof pt!="string"||Nn.indexOf(pt)===-1&&!tn.test(pt)&&(pt.charAt(0)!==pt.charAt(pt.length-1)||pt.charAt(0)!=='"'&&pt.charAt(0)!=="'"))&&lintWarning("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(pt,"\"'`."),$t)}},it=null,It=function(mt,pt,$t){mt==="animation"&&$t.hashId&&pt!=="none"&&lintWarning("You seem to be using hashed animation '".concat(pt,"', in which case 'animationName' with Keyframe as value is recommended."),$t)},Nt=null;function Zt(Qe){var mt,pt=((mt=Qe.match(/:not\(([^)]*)\)/))===null||mt===void 0?void 0:mt[1])||"",$t=pt.split(/(\[[^[]*])|(?=[.#])/).filter(function(tn){return tn});return $t.length>1}function Pt(Qe){return Qe.parentSelectors.reduce(function(mt,pt){return mt?pt.includes("&")?pt.replace(/&/g,mt):"".concat(mt," ").concat(pt):pt},"")}var Cn=function(mt,pt,$t){var tn=Pt($t),Nn=tn.match(/:not\([^)]*\)/g)||[];Nn.length>0&&Nn.some(Zt)&&lintWarning("Concat ':not' selector not support in legacy browsers.",$t)},yn=null,Gt=function(mt,pt,$t){switch(mt){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":lintWarning("You seem to be using non-logical property '".concat(mt,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),$t);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof pt=="string"){var tn=pt.split(" ").map(function(br){return br.trim()});tn.length===4&&tn[1]!==tn[3]&&lintWarning("You seem to be using '".concat(mt,"' property with different left ").concat(mt," and right ").concat(mt,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),$t)}return;case"clear":case"textAlign":(pt==="left"||pt==="right")&&lintWarning("You seem to be using non-logical value '".concat(pt,"' of ").concat(mt,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),$t);return;case"borderRadius":if(typeof pt=="string"){var Nn=pt.split("/").map(function(br){return br.trim()}),vr=Nn.reduce(function(br,nr){if(br)return br;var Ir=nr.split(" ").map(function(Er){return Er.trim()});return Ir.length>=2&&Ir[0]!==Ir[1]||Ir.length===3&&Ir[1]!==Ir[2]||Ir.length===4&&Ir[2]!==Ir[3]?!0:br},!1);vr&&lintWarning("You seem to be using non-logical value '".concat(pt,"' of ").concat(mt,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),$t)}return;default:}},yt=null,Mt=function(mt,pt,$t){(typeof pt=="string"&&/NaN/g.test(pt)||Number.isNaN(pt))&&lintWarning("Unexpected 'NaN' in property '".concat(mt,": ").concat(pt,"'."),$t)},Rt=null,En=function(mt,pt,$t){$t.parentSelectors.some(function(tn){var Nn=tn.split(",");return Nn.some(function(vr){return vr.split("&").length>2})})&&lintWarning("Should not use more than one `&` in a selector.",$t)},Xt=null,Ln="data-ant-cssinjs-cache-path",Nr="_FILE_STYLE__";function Sr(Qe){return Object.keys(Qe).map(function(mt){var pt=Qe[mt];return"".concat(mt,":").concat(pt)}).join(";")}var Br,Tr=!0;function la(Qe){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;Br=Qe,Tr=mt}function Xr(){if(!Br&&(Br={},(0,B.Z)())){var Qe=document.createElement("div");Qe.className=Ln,Qe.style.position="fixed",Qe.style.visibility="hidden",Qe.style.top="-9999px",document.body.appendChild(Qe);var mt=getComputedStyle(Qe).content||"";mt=mt.replace(/^"/,"").replace(/"$/,""),mt.split(";").forEach(function(tn){var Nn=tn.split(":"),vr=(0,r.Z)(Nn,2),br=vr[0],nr=vr[1];Br[br]=nr});var pt=document.querySelector("style[".concat(Ln,"]"));if(pt){var $t;Tr=!1,($t=pt.parentNode)===null||$t===void 0||$t.removeChild(pt)}document.body.removeChild(Qe)}}function Qr(Qe){return Xr(),!!Br[Qe]}function cr(Qe){var mt=Br[Qe],pt=null;if(mt&&(0,B.Z)())if(Tr)pt=Nr;else{var $t=document.querySelector("style[".concat(E,'="').concat(Br[Qe],'"]'));$t?pt=$t.innerHTML:delete Br[Qe]}return[pt,mt]}var Ur="_skip_check_",ea="_multi_value_";function Lt(Qe){var mt=Vt(zn(Qe),nn);return mt.replace(/\{%%%\:[^;];}/g,";")}function lt(Qe){return(0,ee.Z)(Qe)==="object"&&Qe&&(Ur in Qe||ea in Qe)}function sn(Qe,mt,pt){if(!mt)return Qe;var $t=".".concat(mt),tn=pt==="low"?":where(".concat($t,")"):$t,Nn=Qe.split(",").map(function(vr){var br,nr=vr.trim().split(/\s+/),Ir=nr[0]||"",Er=((br=Ir.match(/^\w+/))===null||br===void 0?void 0:br[0])||"";return Ir="".concat(Er).concat(tn).concat(Ir.slice(Er.length)),[Ir].concat((0,o.Z)(nr.slice(1))).join(" ")});return Nn.join(",")}var ln=function Qe(mt){var pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},tn=$t.root,Nn=$t.injectHash,vr=$t.parentSelectors,br=pt.hashId,nr=pt.layer,Ir=pt.path,Er=pt.hashPriority,yr=pt.transformers,Xn=yr===void 0?[]:yr,Kr=pt.linters,ta=Kr===void 0?[]:Kr,xr="",Jr={};function oa(qr){var Hr=qr.getName(br);if(!Jr[Hr]){var Vr=Qe(qr.style,pt,{root:!1,parentSelectors:vr}),ia=(0,r.Z)(Vr,1),ja=ia[0];Jr[Hr]="@keyframes ".concat(qr.getName(br)).concat(ja)}}function kr(qr){var Hr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return qr.forEach(function(Vr){Array.isArray(Vr)?kr(Vr,Hr):Vr&&Hr.push(Vr)}),Hr}var ca=kr(Array.isArray(mt)?mt:[mt]);return ca.forEach(function(qr){var Hr=typeof qr=="string"&&!tn?{}:qr;if(typeof Hr=="string")xr+="".concat(Hr,` -`);else if(Hr._keyframe)oa(Hr);else{var Vr=Xn.reduce(function(ia,ja){var Ka;return(ja==null||(Ka=ja.visit)===null||Ka===void 0?void 0:Ka.call(ja,ia))||ia},Hr);Object.keys(Vr).forEach(function(ia){var ja=Vr[ia];if((0,ee.Z)(ja)==="object"&&ja&&(ia!=="animationName"||!ja._keyframe)&&!lt(ja)){var Ka=!1,io=ia.trim(),Yo=!1;(tn||Nn)&&br?io.startsWith("@")?Ka=!0:io=sn(ia,br,Er):tn&&!br&&(io==="&"||io==="")&&(io="",Yo=!0);var da=Qe(ja,pt,{root:Yo,injectHash:Ka,parentSelectors:[].concat((0,o.Z)(vr),[io])}),po=(0,r.Z)(da,2),Za=po[0],so=po[1];Jr=(0,a.Z)((0,a.Z)({},Jr),so),xr+="".concat(io).concat(Za)}else{let Na=function(Ga,ka){var no=Ga.replace(/[A-Z]/g,function(Ro){return"-".concat(Ro.toLowerCase())}),bo=ka;!gt[Ga]&&typeof bo=="number"&&bo!==0&&(bo="".concat(bo,"px")),Ga==="animationName"&&ka!==null&&ka!==void 0&&ka._keyframe&&(oa(ka),bo=ka.getName(br)),xr+="".concat(no,":").concat(bo,";")};var Wa,Ha=(Wa=ja==null?void 0:ja.value)!==null&&Wa!==void 0?Wa:ja;(0,ee.Z)(ja)==="object"&&ja!==null&&ja!==void 0&&ja[ea]&&Array.isArray(Ha)?Ha.forEach(function(Ga){Na(ia,Ga)}):Na(ia,Ha)}})}}),tn?nr&&(xr="@layer ".concat(nr.name," {").concat(xr,"}"),nr.dependencies&&(Jr["@layer ".concat(nr.name)]=nr.dependencies.map(function(qr){return"@layer ".concat(qr,", ").concat(nr.name,";")}).join(` -`))):xr="{".concat(xr,"}"),[xr,Jr]};function pr(Qe,mt){return c("".concat(Qe.join("%")).concat(mt))}function Ar(){return null}var jn="style";function wn(Qe,mt){var pt=Qe.token,$t=Qe.path,tn=Qe.hashId,Nn=Qe.layer,vr=Qe.nonce,br=Qe.clientOnly,nr=Qe.order,Ir=nr===void 0?0:nr,Er=l.useContext(te),yr=Er.autoClear,Xn=Er.mock,Kr=Er.defaultCache,ta=Er.hashPriority,xr=Er.container,Jr=Er.ssrInline,oa=Er.transformers,kr=Er.linters,ca=Er.cache,qr=Er.layer,Hr=pt._tokenKey,Vr=[Hr];qr&&Vr.push("layer"),Vr.push.apply(Vr,(0,o.Z)($t));var ia=le,ja=Ae(jn,Vr,function(){var po=Vr.join("|");if(Qr(po)){var Za=cr(po),so=(0,r.Z)(Za,2),Wa=so[0],Ha=so[1];if(Wa)return[Wa,Hr,Ha,{},br,Ir]}var Na=mt(),Ga=ln(Na,{hashId:tn,hashPriority:ta,layer:qr?Nn:void 0,path:$t.join("-"),transformers:oa,linters:kr}),ka=(0,r.Z)(Ga,2),no=ka[0],bo=ka[1],Ro=Lt(no),mo=pr(Vr,Ro);return[Ro,Hr,mo,bo,br,Ir]},function(po,Za){var so=(0,r.Z)(po,3),Wa=so[2];(Za||yr)&&le&&(0,u.jL)(Wa,{mark:E})},function(po){var Za=(0,r.Z)(po,4),so=Za[0],Wa=Za[1],Ha=Za[2],Na=Za[3];if(ia&&so!==Nr){var Ga={mark:E,prepend:qr?!1:"queue",attachTo:xr,priority:Ir},ka=typeof vr=="function"?vr():vr;ka&&(Ga.csp={nonce:ka});var no=[],bo=[];Object.keys(Na).forEach(function(mo){mo.startsWith("@layer")?no.push(mo):bo.push(mo)}),no.forEach(function(mo){(0,u.hq)(Lt(Na[mo]),"_layer-".concat(mo),(0,a.Z)((0,a.Z)({},Ga),{},{prepend:!0}))});var Ro=(0,u.hq)(so,Ha,Ga);Ro[N]=ca.instanceId,Ro.setAttribute(j,Hr),bo.forEach(function(mo){(0,u.hq)(Lt(Na[mo]),"_effect-".concat(mo),Ga)})}}),Ka=(0,r.Z)(ja,3),io=Ka[0],Yo=Ka[1],da=Ka[2];return function(po){var Za;if(!Jr||ia||!Kr)Za=l.createElement(Ar,null);else{var so;Za=l.createElement("style",(0,Et.Z)({},(so={},(0,t.Z)(so,j,Yo),(0,t.Z)(so,E,da),so),{dangerouslySetInnerHTML:{__html:io}}))}return l.createElement(l.Fragment,null,Za,po)}}var bn=function(mt,pt,$t){var tn=(0,r.Z)(mt,6),Nn=tn[0],vr=tn[1],br=tn[2],nr=tn[3],Ir=tn[4],Er=tn[5],yr=$t||{},Xn=yr.plain;if(Ir)return null;var Kr=Nn,ta={"data-rc-order":"prependQueue","data-rc-priority":"".concat(Er)};return Kr=M(Nn,vr,br,ta,Xn),nr&&Object.keys(nr).forEach(function(xr){if(!pt[xr]){pt[xr]=!0;var Jr=Lt(nr[xr]),oa=M(Jr,vr,"_effect-".concat(xr),ta,Xn);xr.startsWith("@layer")?Kr=oa+Kr:Kr+=oa}}),[Er,br,Kr]},_n="cssVar",Or=function(mt,pt){var $t=mt.key,tn=mt.prefix,Nn=mt.unitless,vr=mt.ignore,br=mt.token,nr=mt.scope,Ir=nr===void 0?"":nr,Er=(0,l.useContext)(te),yr=Er.cache.instanceId,Xn=Er.container,Kr=br._tokenKey,ta=[].concat((0,o.Z)(mt.path),[$t,Ir,Kr]),xr=Ae(_n,ta,function(){var Jr=pt(),oa=k(Jr,$t,{prefix:tn,unitless:Nn,ignore:vr,scope:Ir}),kr=(0,r.Z)(oa,2),ca=kr[0],qr=kr[1],Hr=pr(ta,qr);return[ca,qr,Hr,$t]},function(Jr){var oa=(0,r.Z)(Jr,3),kr=oa[2];le&&(0,u.jL)(kr,{mark:E})},function(Jr){var oa=(0,r.Z)(Jr,3),kr=oa[1],ca=oa[2];if(kr){var qr=(0,u.hq)(kr,ca,{mark:E,prepend:"queue",attachTo:Xn,priority:-999});qr[N]=yr,qr.setAttribute(j,$t)}});return xr},$r=function(mt,pt,$t){var tn=(0,r.Z)(mt,4),Nn=tn[1],vr=tn[2],br=tn[3],nr=$t||{},Ir=nr.plain;if(!Nn)return null;var Er=-999,yr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(Er)},Xn=M(Nn,br,vr,yr,Ir);return[Er,vr,Xn]},ua=Or,Ea,ha=(Ea={},(0,t.Z)(Ea,jn,bn),(0,t.Z)(Ea,Kt,Ge),(0,t.Z)(Ea,_n,$r),Ea);function mr(Qe){return Qe!==null}function _r(Qe,mt){var pt=typeof mt=="boolean"?{plain:mt}:mt||{},$t=pt.plain,tn=$t===void 0?!1:$t,Nn=pt.types,vr=Nn===void 0?["style","token","cssVar"]:Nn,br=new RegExp("^(".concat((typeof vr=="string"?[vr]:vr).join("|"),")%")),nr=Array.from(Qe.cache.keys()).filter(function(Xn){return br.test(Xn)}),Ir={},Er={},yr="";return nr.map(function(Xn){var Kr=Xn.replace(br,"").replace(/%/g,"|"),ta=Xn.split("%"),xr=_slicedToArray(ta,1),Jr=xr[0],oa=ha[Jr],kr=oa(Qe.cache.get(Xn)[1],Ir,{plain:tn});if(!kr)return null;var ca=_slicedToArray(kr,3),qr=ca[0],Hr=ca[1],Vr=ca[2];return Xn.startsWith("style")&&(Er[Kr]=Hr),[qr,Vr]}).filter(mr).sort(function(Xn,Kr){var ta=_slicedToArray(Xn,1),xr=ta[0],Jr=_slicedToArray(Kr,1),oa=Jr[0];return xr-oa}).forEach(function(Xn){var Kr=_slicedToArray(Xn,2),ta=Kr[1];yr+=ta}),yr+=toStyleStr(".".concat(ATTR_CACHE_MAP,'{content:"').concat(serializeCacheMap(Er),'";}'),void 0,void 0,_defineProperty({},ATTR_CACHE_MAP,ATTR_CACHE_MAP),tn),yr}var Ma=function(){function Qe(mt,pt){(0,d.Z)(this,Qe),(0,t.Z)(this,"name",void 0),(0,t.Z)(this,"style",void 0),(0,t.Z)(this,"_keyframe",!0),this.name=mt,this.style=pt}return(0,b.Z)(Qe,[{key:"getName",value:function(){var pt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return pt?"".concat(pt,"-").concat(this.name):this.name}}]),Qe}(),za=Ma;function Ta(Qe){if(typeof Qe=="number")return[[Qe],!1];var mt=String(Qe).trim(),pt=mt.match(/(.*)(!important)/),$t=(pt?pt[1]:mt).trim().split(/\s+/),tn=[],Nn=0;return[$t.reduce(function(vr,br){if(br.includes("(")||br.includes(")")){var nr=br.split("(").length-1,Ir=br.split(")").length-1;Nn+=nr-Ir}return Nn>=0&&tn.push(br),Nn===0&&(vr.push(tn.join(" ")),tn=[]),vr},[]),!!pt]}function Ra(Qe){return Qe.notSplit=!0,Qe}var ao={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:Ra(["borderTop","borderBottom"]),borderBlockStart:Ra(["borderTop"]),borderBlockEnd:Ra(["borderBottom"]),borderInline:Ra(["borderLeft","borderRight"]),borderInlineStart:Ra(["borderLeft"]),borderInlineEnd:Ra(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function ho(Qe,mt){var pt=Qe;return mt&&(pt="".concat(pt," !important")),{_skip_check_:!0,value:pt}}var Ja={visit:function(mt){var pt={};return Object.keys(mt).forEach(function($t){var tn=mt[$t],Nn=ao[$t];if(Nn&&(typeof tn=="number"||typeof tn=="string")){var vr=Ta(tn),br=(0,r.Z)(vr,2),nr=br[0],Ir=br[1];Nn.length&&Nn.notSplit?Nn.forEach(function(Er){pt[Er]=ho(tn,Ir)}):Nn.length===1?pt[Nn[0]]=ho(nr[0],Ir):Nn.length===2?Nn.forEach(function(Er,yr){var Xn;pt[Er]=ho((Xn=nr[yr])!==null&&Xn!==void 0?Xn:nr[0],Ir)}):Nn.length===4?Nn.forEach(function(Er,yr){var Xn,Kr;pt[Er]=ho((Xn=(Kr=nr[yr])!==null&&Kr!==void 0?Kr:nr[yr-2])!==null&&Xn!==void 0?Xn:nr[0],Ir)}):pt[$t]=tn}else pt[$t]=tn}),pt}},Go=null,Pa=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function Xa(Qe,mt){var pt=Math.pow(10,mt+1),$t=Math.floor(Qe*pt);return Math.round($t/10)*10/pt}var ti=function(){var mt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},pt=mt.rootValue,$t=pt===void 0?16:pt,tn=mt.precision,Nn=tn===void 0?5:tn,vr=mt.mediaQuery,br=vr===void 0?!1:vr,nr=function(yr,Xn){if(!Xn)return yr;var Kr=parseFloat(Xn);if(Kr<=1)return yr;var ta=Xa(Kr/$t,Nn);return"".concat(ta,"rem")},Ir=function(yr){var Xn=_objectSpread({},yr);return Object.entries(yr).forEach(function(Kr){var ta=_slicedToArray(Kr,2),xr=ta[0],Jr=ta[1];if(typeof Jr=="string"&&Jr.includes("px")){var oa=Jr.replace(Pa,nr);Xn[xr]=oa}!unitless[xr]&&typeof Jr=="number"&&Jr!==0&&(Xn[xr]="".concat(Jr,"px").replace(Pa,nr));var kr=xr.trim();if(kr.startsWith("@")&&kr.includes("px")&&br){var ca=xr.replace(Pa,nr);Xn[ca]=Xn[xr],delete Xn[xr]}}),Xn};return{visit:Ir}},Uo=null,Lo={supportModernCSS:function(){return He()&&Xe()}}},32857:function(v,g){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};g.Z=e},1085:function(v,g){"use strict";var e={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};g.Z=e},89503:function(v,g){"use strict";var e={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};g.Z=e},48820:function(v,g){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"};g.Z=e},66023:function(v,g){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};g.Z=e},15294:function(v,g){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};g.Z=e},36688:function(v,g){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"};g.Z=e},50756:function(v,g){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};g.Z=e},509:function(v,g){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};g.Z=e},34689:function(v,g){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"};g.Z=e},91146:function(v,g,e){"use strict";e.d(g,{Z:function(){return Ce}});var t=e(1413),r=e(97685),o=e(4942),a=e(91),s=e(67294),c=e(93967),u=e.n(c),l=(0,s.createContext)({}),f=l,p=e(71002),y=e(86500),m=e(1350),d=2,b=.16,C=.05,S=.05,x=.15,w=5,O=4,j=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function E(xe){var A=xe.r,ie=xe.g,ke=xe.b,Fe=(0,y.py)(A,ie,ke);return{h:Fe.h*360,s:Fe.s,v:Fe.v}}function $(xe){var A=xe.r,ie=xe.g,ke=xe.b;return"#".concat((0,y.vq)(A,ie,ke,!1))}function N(xe,A,ie){var ke=ie/100,Fe={r:(A.r-xe.r)*ke+xe.r,g:(A.g-xe.g)*ke+xe.g,b:(A.b-xe.b)*ke+xe.b};return Fe}function oe(xe,A,ie){var ke;return Math.round(xe.h)>=60&&Math.round(xe.h)<=240?ke=ie?Math.round(xe.h)-d*A:Math.round(xe.h)+d*A:ke=ie?Math.round(xe.h)+d*A:Math.round(xe.h)-d*A,ke<0?ke+=360:ke>=360&&(ke-=360),ke}function Z(xe,A,ie){if(xe.h===0&&xe.s===0)return xe.s;var ke;return ie?ke=xe.s-b*A:A===O?ke=xe.s+b:ke=xe.s+C*A,ke>1&&(ke=1),ie&&A===w&&ke>.1&&(ke=.1),ke<.06&&(ke=.06),Number(ke.toFixed(2))}function Y(xe,A,ie){var ke;return ie?ke=xe.v+S*A:ke=xe.v-x*A,ke>1&&(ke=1),Number(ke.toFixed(2))}function te(xe){for(var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ie=[],ke=(0,m.uA)(xe),Fe=w;Fe>0;Fe-=1){var $e=E(ke),we=$((0,m.uA)({h:oe($e,Fe,!0),s:Z($e,Fe,!0),v:Y($e,Fe,!0)}));ie.push(we)}ie.push($(ke));for(var Pe=1;Pe<=O;Pe+=1){var Ae=E(ke),We=$((0,m.uA)({h:oe(Ae,Pe),s:Z(Ae,Pe),v:Y(Ae,Pe)}));ie.push(We)}return A.theme==="dark"?j.map(function(tt){var dt=tt.index,At=tt.opacity,vt=$(N((0,m.uA)(A.backgroundColor||"#141414"),(0,m.uA)(ie[dt]),At*100));return vt}):ie}var ee={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},B={},ne={};Object.keys(ee).forEach(function(xe){B[xe]=te(ee[xe]),B[xe].primary=B[xe][5],ne[xe]=te(ee[xe],{theme:"dark",backgroundColor:"#141414"}),ne[xe].primary=ne[xe][5]});var Q=B.red,q=B.volcano,L=B.gold,F=B.orange,T=B.yellow,I=B.lime,R=B.green,z=B.cyan,ae=B.blue,X=B.geekblue,G=B.purple,ce=B.magenta,he=B.grey,Re=e(80334),Ie=e(44958),Ze=e(68929),ot=e.n(Ze);function Je(xe,A){(0,Re.ZP)(xe,"[@ant-design/icons] ".concat(A))}function He(xe){return(0,p.Z)(xe)==="object"&&typeof xe.name=="string"&&typeof xe.theme=="string"&&((0,p.Z)(xe.icon)==="object"||typeof xe.icon=="function")}function qe(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(xe).reduce(function(A,ie){var ke=xe[ie];switch(ie){case"class":A.className=ke,delete A.class;break;default:delete A[ie],A[ot()(ie)]=ke}return A},{})}function Xe(xe,A,ie){return ie?s.createElement(xe.tag,(0,t.Z)((0,t.Z)({key:A},qe(xe.attrs)),ie),(xe.children||[]).map(function(ke,Fe){return Xe(ke,"".concat(A,"-").concat(xe.tag,"-").concat(Fe))})):s.createElement(xe.tag,(0,t.Z)({key:A},qe(xe.attrs)),(xe.children||[]).map(function(ke,Fe){return Xe(ke,"".concat(A,"-").concat(xe.tag,"-").concat(Fe))}))}function le(xe){return te(xe)[0]}function U(xe){return xe?Array.isArray(xe)?xe:[xe]:[]}var M={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},D=` +!(function(){var Sd=Object.defineProperty,xd=Object.defineProperties;var Cd=Object.getOwnPropertyDescriptors;var Gc=Object.getOwnPropertySymbols;var Ed=Object.prototype.hasOwnProperty,Pd=Object.prototype.propertyIsEnumerable;var Yc=(di,Ho,be)=>Ho in di?Sd(di,Ho,{enumerable:!0,configurable:!0,writable:!0,value:be}):di[Ho]=be,Gl=(di,Ho)=>{for(var be in Ho||(Ho={}))Ed.call(Ho,be)&&Yc(di,be,Ho[be]);if(Gc)for(var be of Gc(Ho))Pd.call(Ho,be)&&Yc(di,be,Ho[be]);return di},Xc=(di,Ho)=>xd(di,Cd(Ho));var Lu=(di,Ho,be)=>new Promise((dc,v)=>{var g=r=>{try{t(be.next(r))}catch(o){v(o)}},e=r=>{try{t(be.throw(r))}catch(o){v(o)}},t=r=>r.done?dc(r.value):Promise.resolve(r.value).then(g,e);t((be=be.apply(di,Ho)).next())});(function(){var di={54548:function(v,g,e){"use strict";e.d(g,{E4:function(){return za},V9:function(){return Y},jG:function(){return M},t2:function(){return wt},ks:function(){return A},bf:function(){return Z},CI:function(){return ua},fp:function(){return Ct},xy:function(){return wn}});var t=e(4942),r=e(97685),o=e(74902),a=e(1413);function s(Ye){for(var mt=0,ft,$t=0,tn=Ye.length;tn>=4;++$t,tn-=4)ft=Ye.charCodeAt($t)&255|(Ye.charCodeAt(++$t)&255)<<8|(Ye.charCodeAt(++$t)&255)<<16|(Ye.charCodeAt(++$t)&255)<<24,ft=(ft&65535)*1540483477+((ft>>>16)*59797<<16),ft^=ft>>>24,mt=(ft&65535)*1540483477+((ft>>>16)*59797<<16)^(mt&65535)*1540483477+((mt>>>16)*59797<<16);switch(tn){case 3:mt^=(Ye.charCodeAt($t+2)&255)<<16;case 2:mt^=(Ye.charCodeAt($t+1)&255)<<8;case 1:mt^=Ye.charCodeAt($t)&255,mt=(mt&65535)*1540483477+((mt>>>16)*59797<<16)}return mt^=mt>>>13,mt=(mt&65535)*1540483477+((mt>>>16)*59797<<16),((mt^mt>>>15)>>>0).toString(36)}var c=s,u=e(44958),l=e(67294),f=e.t(l,2),p=e(91),y=e(56982),m=e(91881),d=e(15671),b=e(43144),C="%";function S(Ye){return Ye.join(C)}var x=function(){function Ye(mt){(0,d.Z)(this,Ye),(0,t.Z)(this,"instanceId",void 0),(0,t.Z)(this,"cache",new Map),this.instanceId=mt}return(0,b.Z)(Ye,[{key:"get",value:function(ft){return this.opGet(S(ft))}},{key:"opGet",value:function(ft){return this.cache.get(ft)||null}},{key:"update",value:function(ft,$t){return this.opUpdate(S(ft),$t)}},{key:"opUpdate",value:function(ft,$t){var tn=this.cache.get(ft),Nn=$t(tn);Nn===null?this.cache.delete(ft):this.cache.set(ft,Nn)}}]),Ye}(),T=x,w=["children"],j="data-token-hash",E="data-css-hash",$="data-cache-path",N="__cssinjs_instance__";function oe(){var Ye=Math.random().toString(12).slice(2);if(typeof document!="undefined"&&document.head&&document.body){var mt=document.body.querySelectorAll("style[".concat(E,"]"))||[],ft=document.head.firstChild;Array.from(mt).forEach(function(tn){tn[N]=tn[N]||Ye,tn[N]===Ye&&document.head.insertBefore(tn,ft)});var $t={};Array.from(document.querySelectorAll("style[".concat(E,"]"))).forEach(function(tn){var Nn=tn.getAttribute(E);if($t[Nn]){if(tn[N]===Ye){var vr;(vr=tn.parentNode)===null||vr===void 0||vr.removeChild(tn)}}else $t[Nn]=!0})}return new T(Ye)}var z=l.createContext({hashPriority:"low",cache:oe(),defaultCache:!0}),Y=function(mt){var ft=mt.children,$t=(0,p.Z)(mt,w),tn=l.useContext(z),Nn=(0,y.Z)(function(){var vr=(0,a.Z)({},tn);Object.keys($t).forEach(function(nr){var Ir=$t[nr];$t[nr]!==void 0&&(vr[nr]=Ir)});var br=$t.cache;return vr.cache=vr.cache||oe(),vr.defaultCache=!br&&tn.defaultCache,vr},[tn,$t],function(vr,br){return!(0,m.Z)(vr[0],br[0],!0)||!(0,m.Z)(vr[1],br[1],!0)});return l.createElement(z.Provider,{value:Nn},ft)},te=z,ee=e(71002),B=e(98924);function ne(Ye,mt){if(Ye.length!==mt.length)return!1;for(var ft=0;ft1&&arguments[1]!==void 0?arguments[1]:!1,vr={map:this.cache};return ft.forEach(function(br){if(!vr)vr=void 0;else{var nr;vr=(nr=vr)===null||nr===void 0||(nr=nr.map)===null||nr===void 0?void 0:nr.get(br)}}),($t=vr)!==null&&$t!==void 0&&$t.value&&Nn&&(vr.value[1]=this.cacheCallTimes++),(tn=vr)===null||tn===void 0?void 0:tn.value}},{key:"get",value:function(ft){var $t;return($t=this.internalGet(ft,!0))===null||$t===void 0?void 0:$t[0]}},{key:"has",value:function(ft){return!!this.internalGet(ft)}},{key:"set",value:function(ft,$t){var tn=this;if(!this.has(ft)){if(this.size()+1>Ye.MAX_CACHE_SIZE+Ye.MAX_CACHE_OFFSET){var Nn=this.keys.reduce(function(Ir,Er){var yr=(0,r.Z)(Ir,2),Xn=yr[1];return tn.internalGet(Er)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),L+=1}return(0,b.Z)(Ye,[{key:"getDerivativeToken",value:function(ft){return this.derivatives.reduce(function($t,tn){return tn(ft,$t)},void 0)}}]),Ye}(),I=new Q;function M(Ye){var mt=Array.isArray(Ye)?Ye:[Ye];return I.has(mt)||I.set(mt,new F(mt)),I.get(mt)}var R=new WeakMap,H={};function ae(Ye,mt){for(var ft=R,$t=0;$t1&&arguments[1]!==void 0?arguments[1]:!1,ft=X.get(Ye)||"";return ft||(Object.keys(Ye).forEach(function($t){var tn=Ye[$t];ft+=$t,tn instanceof F?ft+=tn.id:tn&&(0,ee.Z)(tn)==="object"?ft+=G(tn,mt):ft+=tn}),mt&&(ft=c(ft)),X.set(Ye,ft)),ft}function ce(Ye,mt){return c("".concat(mt,"_").concat(G(Ye,!0)))}var he="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),Re="_bAmBoO_";function Ie(Ye,mt,ft){if((0,B.Z)()){var $t,tn;(0,u.hq)(Ye,he);var Nn=document.createElement("div");Nn.style.position="fixed",Nn.style.left="0",Nn.style.top="0",mt==null||mt(Nn),document.body.appendChild(Nn);var vr=ft?ft(Nn):($t=getComputedStyle(Nn).content)===null||$t===void 0?void 0:$t.includes(Re);return(tn=Nn.parentNode)===null||tn===void 0||tn.removeChild(Nn),(0,u.jL)(he),vr}return!1}var Ze=null;function nt(){return Ze===void 0&&(Ze=Ie("@layer ".concat(he," { .").concat(he,' { content: "').concat(Re,'"!important; } }'),function(Ye){Ye.className=he})),Ze}var pt=void 0;function Qe(){return pt===void 0&&(pt=Ie(":where(.".concat(he,') { content: "').concat(Re,'"!important; }'),function(Ye){Ye.className=he})),pt}var ot=void 0;function it(){return ot===void 0&&(ot=Ie(".".concat(he," { inset-block: 93px !important; }"),function(Ye){Ye.className=he},function(Ye){return getComputedStyle(Ye).bottom==="93px"})),ot}var le=(0,B.Z)();function Z(Ye){return typeof Ye=="number"?"".concat(Ye,"px"):Ye}function O(Ye,mt,ft){var $t,tn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Nn=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(Nn)return Ye;var vr=(0,a.Z)((0,a.Z)({},tn),{},($t={},(0,t.Z)($t,j,mt),(0,t.Z)($t,E,ft),$t)),br=Object.keys(vr).map(function(nr){var Ir=vr[nr];return Ir?"".concat(nr,'="').concat(Ir,'"'):null}).filter(function(nr){return nr}).join(" ");return"")}var A=function(mt){var ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(ft?"".concat(ft,"-"):"").concat(mt).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},W=function(mt,ft,$t){return Object.keys(mt).length?".".concat(ft).concat($t!=null&&$t.scope?".".concat($t.scope):"","{").concat(Object.entries(mt).map(function(tn){var Nn=(0,r.Z)(tn,2),vr=Nn[0],br=Nn[1];return"".concat(vr,":").concat(br,";")}).join(""),"}"):""},V=function(mt,ft,$t){var tn={},Nn={};return Object.entries(mt).forEach(function(vr){var br,nr,Ir=(0,r.Z)(vr,2),Er=Ir[0],yr=Ir[1];if($t!=null&&(br=$t.preserve)!==null&&br!==void 0&&br[Er])Nn[Er]=yr;else if((typeof yr=="string"||typeof yr=="number")&&!($t!=null&&(nr=$t.ignore)!==null&&nr!==void 0&&nr[Er])){var Xn,Kr=A(Er,$t==null?void 0:$t.prefix);tn[Kr]=typeof yr=="number"&&!($t!=null&&(Xn=$t.unitless)!==null&&Xn!==void 0&&Xn[Er])?"".concat(yr,"px"):String(yr),Nn[Er]="var(".concat(Kr,")")}}),[Nn,W(tn,ft,{scope:$t==null?void 0:$t.scope})]},J=e(8410),ue=(0,a.Z)({},f),_=ue.useInsertionEffect,K=function(mt,ft,$t){l.useMemo(mt,$t),(0,J.Z)(function(){return ft(!0)},$t)},se=_?function(Ye,mt,ft){return _(function(){return Ye(),mt()},ft)}:K,pe=se,de=(0,a.Z)({},f),Ne=de.useInsertionEffect,at=function(mt){var ft=[],$t=!1;function tn(Nn){$t||ft.push(Nn)}return l.useEffect(function(){return $t=!1,function(){$t=!0,ft.length&&ft.forEach(function(Nn){return Nn()})}},mt),tn},Ce=function(){return function(mt){mt()}},xe=typeof Ne!="undefined"?at:Ce,D=xe;function ie(){return!1}var We=!1;function Fe(){return We}var $e=ie;if(!1)var we,Pe;function Ae(Ye,mt,ft,$t,tn){var Nn=l.useContext(te),vr=Nn.cache,br=[Ye].concat((0,o.Z)(mt)),nr=S(br),Ir=D([nr]),Er=$e(),yr=function(xr){vr.opUpdate(nr,function(Jr){var oa=Jr||[void 0,void 0],kr=(0,r.Z)(oa,2),ca=kr[0],qr=ca===void 0?0:ca,Hr=kr[1],Vr=Hr,ia=Vr||ft(),ja=[qr,ia];return xr?xr(ja):ja})};l.useMemo(function(){yr()},[nr]);var Xn=vr.opGet(nr),Kr=Xn[1];return pe(function(){tn==null||tn(Kr)},function(ta){return yr(function(xr){var Jr=(0,r.Z)(xr,2),oa=Jr[0],kr=Jr[1];return ta&&oa===0&&(tn==null||tn(Kr)),[oa+1,kr]}),function(){vr.opUpdate(nr,function(xr){var Jr=xr||[],oa=(0,r.Z)(Jr,2),kr=oa[0],ca=kr===void 0?0:kr,qr=oa[1],Hr=ca-1;return Hr===0?(Ir(function(){(ta||!vr.opGet(nr))&&($t==null||$t(qr,!1))}),null):[ca-1,qr]})}},[nr]),Kr}var Ue={},_e="css",ct=new Map;function At(Ye){ct.set(Ye,(ct.get(Ye)||0)+1)}function vt(Ye,mt){if(typeof document!="undefined"){var ft=document.querySelectorAll("style[".concat(j,'="').concat(Ye,'"]'));ft.forEach(function($t){if($t[N]===mt){var tn;(tn=$t.parentNode)===null||tn===void 0||tn.removeChild($t)}})}}var qt=0;function kt(Ye,mt){ct.set(Ye,(ct.get(Ye)||0)-1);var ft=Array.from(ct.keys()),$t=ft.filter(function(tn){var Nn=ct.get(tn)||0;return Nn<=0});ft.length-$t.length>qt&&$t.forEach(function(tn){vt(tn,mt),ct.delete(tn)})}var wt=function(mt,ft,$t,tn){var Nn=$t.getDerivativeToken(mt),vr=(0,a.Z)((0,a.Z)({},Nn),ft);return tn&&(vr=tn(vr)),vr},Kt="token";function Ct(Ye,mt){var ft=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},$t=(0,l.useContext)(te),tn=$t.cache.instanceId,Nn=$t.container,vr=ft.salt,br=vr===void 0?"":vr,nr=ft.override,Ir=nr===void 0?Ue:nr,Er=ft.formatToken,yr=ft.getComputedToken,Xn=ft.cssVar,Kr=ae(function(){return Object.assign.apply(Object,[{}].concat((0,o.Z)(mt)))},mt),ta=G(Kr),xr=G(Ir),Jr=Xn?G(Xn):"",oa=Ae(Kt,[br,Ye.id,ta,xr,Jr],function(){var kr,ca=yr?yr(Kr,Ir,Ye):wt(Kr,Ir,Ye,Er),qr=(0,a.Z)({},ca),Hr="";if(Xn){var Vr=V(ca,Xn.key,{prefix:Xn.prefix,ignore:Xn.ignore,unitless:Xn.unitless,preserve:Xn.preserve}),ia=(0,r.Z)(Vr,2);ca=ia[0],Hr=ia[1]}var ja=ce(ca,br);ca._tokenKey=ja,qr._tokenKey=ce(qr,br);var Ka=(kr=Xn==null?void 0:Xn.key)!==null&&kr!==void 0?kr:ja;ca._themeKey=Ka,At(Ka);var io="".concat(_e,"-").concat(c(ja));return ca._hashId=io,[ca,io,qr,Hr,(Xn==null?void 0:Xn.key)||""]},function(kr){kt(kr[0]._themeKey,tn)},function(kr){var ca=(0,r.Z)(kr,4),qr=ca[0],Hr=ca[3];if(Xn&&Hr){var Vr=(0,u.hq)(Hr,c("css-variables-".concat(qr._themeKey)),{mark:E,prepend:"queue",attachTo:Nn,priority:-999});Vr[N]=tn,Vr.setAttribute(j,qr._themeKey)}});return oa}var Ke=function(mt,ft,$t){var tn=(0,r.Z)(mt,5),Nn=tn[2],vr=tn[3],br=tn[4],nr=$t||{},Ir=nr.plain;if(!vr)return null;var Er=Nn._tokenKey,yr=-999,Xn={"data-rc-order":"prependQueue","data-rc-priority":"".concat(yr)},Kr=O(vr,br,Er,Xn,Ir);return[yr,Er,Kr]},Et=e(87462),Ut={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},gt=Ut,cn="-ms-",Ft="-moz-",en="-webkit-",Yt="comm",dn="rule",pn="decl",rn="@page",On="@media",An="@import",Jn="@charset",Rr="@viewport",er="@supports",ut="@document",Je="@namespace",ke="@keyframes",Jt="@font-face",ht="@counter-style",un="@font-feature-values",Tn="@layer",Un="@scope",rr=Math.abs,or=String.fromCharCode,fr=Object.assign;function ir(Ye,mt){return gn(Ye,0)^45?(((mt<<2^gn(Ye,0))<<2^gn(Ye,1))<<2^gn(Ye,2))<<2^gn(Ye,3):0}function gr(Ye){return Ye.trim()}function sr(Ye,mt){return(Ye=mt.exec(Ye))?Ye[0]:Ye}function fn(Ye,mt,ft){return Ye.replace(mt,ft)}function tr(Ye,mt,ft){return Ye.indexOf(mt,ft)}function gn(Ye,mt){return Ye.charCodeAt(mt)|0}function an(Ye,mt,ft){return Ye.slice(mt,ft)}function qe(Ye){return Ye.length}function xt(Ye){return Ye.length}function Bt(Ye,mt){return mt.push(Ye),Ye}function bt(Ye,mt){return Ye.map(mt).join("")}function zt(Ye,mt){return Ye.filter(function(ft){return!sr(ft,mt)})}function Vt(Ye,mt){for(var ft="",$t=0;$t0?gn(Bn,--Fn):0,Gn--,mn===10&&(Gn=1,Dn--),mn}function He(){return mn=Fn2||xn(mn)>3?"":" "}function ar(Ye){for(;He();)switch(xn(mn)){case 0:append(Hn(Fn-1),Ye);break;case 2:append(Wn(mn),Ye);break;default:append(from(mn),Ye)}return Ye}function ur(Ye,mt){for(;--mt&&He()&&!(mn<48||mn>102||mn>57&&mn<65||mn>70&&mn<97););return on(Ye,Dt()+(mt<6&&et()==32&&He()==32))}function Tt(Ye){for(;He();)switch(mn){case Ye:return Fn;case 34:case 39:Ye!==34&&Ye!==39&&Tt(mn);break;case 40:Ye===41&&Tt(Ye);break;case 92:He();break}return Fn}function _t(Ye,mt){for(;He()&&Ye+mn!==57;)if(Ye+mn===84&&et()===47)break;return"/*"+on(mt,Fn-1)+"*"+or(Ye===47?Ye:He())}function Hn(Ye){for(;!xn(et());)He();return on(Ye,Fn)}function zn(Ye){return In(Ve("",null,null,null,[""],Ye=hn(Ye),0,[0],Ye))}function Ve(Ye,mt,ft,$t,tn,Nn,vr,br,nr){for(var Ir=0,Er=0,yr=vr,Xn=0,Kr=0,ta=0,xr=1,Jr=1,oa=1,kr=0,ca="",qr=tn,Hr=Nn,Vr=$t,ia=ca;Jr;)switch(ta=kr,kr=He()){case 40:if(ta!=108&&gn(ia,yr-1)==58){tr(ia+=fn(Wn(kr),"&","&\f"),"&\f",rr(Ir?br[Ir-1]:0))!=-1&&(oa=-1);break}case 34:case 39:case 91:ia+=Wn(kr);break;case 9:case 10:case 13:case 32:ia+=hr(ta);break;case 92:ia+=ur(Dt()-1,7);continue;case 47:switch(et()){case 42:case 47:Bt(fe(_t(He(),Dt()),mt,ft,nr),nr);break;default:ia+="/"}break;case 123*xr:br[Ir++]=qe(ia)*oa;case 125*xr:case 59:case 0:switch(kr){case 0:case 125:Jr=0;case 59+Er:oa==-1&&(ia=fn(ia,/\f/g,"")),Kr>0&&qe(ia)-yr&&Bt(Kr>32?Ee(ia+";",$t,ft,yr-1,nr):Ee(fn(ia," ","")+";",$t,ft,yr-2,nr),nr);break;case 59:ia+=";";default:if(Bt(Vr=me(ia,mt,ft,Ir,Er,tn,br,ca,qr=[],Hr=[],yr,Nn),Nn),kr===123)if(Er===0)Ve(ia,mt,Vr,Vr,qr,Nn,yr,br,Hr);else switch(Xn===99&&gn(ia,3)===110?100:Xn){case 100:case 108:case 109:case 115:Ve(Ye,Vr,Vr,$t&&Bt(me(Ye,Vr,Vr,0,0,tn,br,ca,tn,qr=[],yr,Hr),Hr),tn,Hr,yr,br,$t?qr:Hr);break;default:Ve(ia,Vr,Vr,Vr,[""],Hr,0,br,Hr)}}Ir=Er=Kr=0,xr=oa=1,ca=ia="",yr=vr;break;case 58:yr=1+qe(ia),Kr=ta;default:if(xr<1){if(kr==123)--xr;else if(kr==125&&xr++==0&&Le()==125)continue}switch(ia+=or(kr),kr*xr){case 38:oa=Er>0?1:(ia+="\f",-1);break;case 44:br[Ir++]=(qe(ia)-1)*oa,oa=1;break;case 64:et()===45&&(ia+=Wn(He())),Xn=et(),Er=yr=qe(ca=ia+=Hn(Dt())),kr++;break;case 45:ta===45&&qe(ia)==2&&(xr=0)}}return Nn}function me(Ye,mt,ft,$t,tn,Nn,vr,br,nr,Ir,Er,yr){for(var Xn=tn-1,Kr=tn===0?Nn:[""],ta=xt(Kr),xr=0,Jr=0,oa=0;xr<$t;++xr)for(var kr=0,ca=an(Ye,Xn+1,Xn=rr(Jr=vr[xr])),qr=Ye;kr0?Kr[kr]+" "+ca:fn(ca,/&\f/g,Kr[kr])))&&(nr[oa++]=qr);return Mn(Ye,mt,ft,tn===0?dn:br,nr,Ir,Er,yr)}function fe(Ye,mt,ft,$t){return Mn(Ye,mt,ft,Yt,or(Te()),an(Ye,2,-2),0,$t)}function Ee(Ye,mt,ft,$t,tn){return Mn(Ye,mt,ft,pn,an(Ye,0,$t),an(Ye,$t+1,-1),$t,tn)}function ve(Ye,mt){var ft=mt.path,$t=mt.parentSelectors;devWarning(!1,"[Ant Design CSS-in-JS] ".concat(ft?"Error in ".concat(ft,": "):"").concat(Ye).concat($t.length?" Selector: ".concat($t.join(" | ")):""))}var Xe=function(mt,ft,$t){if(mt==="content"){var tn=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Nn=["normal","none","initial","inherit","unset"];(typeof ft!="string"||Nn.indexOf(ft)===-1&&!tn.test(ft)&&(ft.charAt(0)!==ft.charAt(ft.length-1)||ft.charAt(0)!=='"'&&ft.charAt(0)!=="'"))&&lintWarning("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(ft,"\"'`."),$t)}},rt=null,It=function(mt,ft,$t){mt==="animation"&&$t.hashId&&ft!=="none"&&lintWarning("You seem to be using hashed animation '".concat(ft,"', in which case 'animationName' with Keyframe as value is recommended."),$t)},Nt=null;function Zt(Ye){var mt,ft=((mt=Ye.match(/:not\(([^)]*)\)/))===null||mt===void 0?void 0:mt[1])||"",$t=ft.split(/(\[[^[]*])|(?=[.#])/).filter(function(tn){return tn});return $t.length>1}function Pt(Ye){return Ye.parentSelectors.reduce(function(mt,ft){return mt?ft.includes("&")?ft.replace(/&/g,mt):"".concat(mt," ").concat(ft):ft},"")}var Cn=function(mt,ft,$t){var tn=Pt($t),Nn=tn.match(/:not\([^)]*\)/g)||[];Nn.length>0&&Nn.some(Zt)&&lintWarning("Concat ':not' selector not support in legacy browsers.",$t)},yn=null,Gt=function(mt,ft,$t){switch(mt){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":lintWarning("You seem to be using non-logical property '".concat(mt,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),$t);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof ft=="string"){var tn=ft.split(" ").map(function(br){return br.trim()});tn.length===4&&tn[1]!==tn[3]&&lintWarning("You seem to be using '".concat(mt,"' property with different left ").concat(mt," and right ").concat(mt,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),$t)}return;case"clear":case"textAlign":(ft==="left"||ft==="right")&&lintWarning("You seem to be using non-logical value '".concat(ft,"' of ").concat(mt,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),$t);return;case"borderRadius":if(typeof ft=="string"){var Nn=ft.split("/").map(function(br){return br.trim()}),vr=Nn.reduce(function(br,nr){if(br)return br;var Ir=nr.split(" ").map(function(Er){return Er.trim()});return Ir.length>=2&&Ir[0]!==Ir[1]||Ir.length===3&&Ir[1]!==Ir[2]||Ir.length===4&&Ir[2]!==Ir[3]?!0:br},!1);vr&&lintWarning("You seem to be using non-logical value '".concat(ft,"' of ").concat(mt,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),$t)}return;default:}},yt=null,Mt=function(mt,ft,$t){(typeof ft=="string"&&/NaN/g.test(ft)||Number.isNaN(ft))&&lintWarning("Unexpected 'NaN' in property '".concat(mt,": ").concat(ft,"'."),$t)},Rt=null,En=function(mt,ft,$t){$t.parentSelectors.some(function(tn){var Nn=tn.split(",");return Nn.some(function(vr){return vr.split("&").length>2})})&&lintWarning("Should not use more than one `&` in a selector.",$t)},Xt=null,Ln="data-ant-cssinjs-cache-path",Nr="_FILE_STYLE__";function Sr(Ye){return Object.keys(Ye).map(function(mt){var ft=Ye[mt];return"".concat(mt,":").concat(ft)}).join(";")}var Br,Tr=!0;function la(Ye){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;Br=Ye,Tr=mt}function Xr(){if(!Br&&(Br={},(0,B.Z)())){var Ye=document.createElement("div");Ye.className=Ln,Ye.style.position="fixed",Ye.style.visibility="hidden",Ye.style.top="-9999px",document.body.appendChild(Ye);var mt=getComputedStyle(Ye).content||"";mt=mt.replace(/^"/,"").replace(/"$/,""),mt.split(";").forEach(function(tn){var Nn=tn.split(":"),vr=(0,r.Z)(Nn,2),br=vr[0],nr=vr[1];Br[br]=nr});var ft=document.querySelector("style[".concat(Ln,"]"));if(ft){var $t;Tr=!1,($t=ft.parentNode)===null||$t===void 0||$t.removeChild(ft)}document.body.removeChild(Ye)}}function Qr(Ye){return Xr(),!!Br[Ye]}function cr(Ye){var mt=Br[Ye],ft=null;if(mt&&(0,B.Z)())if(Tr)ft=Nr;else{var $t=document.querySelector("style[".concat(E,'="').concat(Br[Ye],'"]'));$t?ft=$t.innerHTML:delete Br[Ye]}return[ft,mt]}var Ur="_skip_check_",ea="_multi_value_";function Lt(Ye){var mt=Vt(zn(Ye),nn);return mt.replace(/\{%%%\:[^;];}/g,";")}function st(Ye){return(0,ee.Z)(Ye)==="object"&&Ye&&(Ur in Ye||ea in Ye)}function sn(Ye,mt,ft){if(!mt)return Ye;var $t=".".concat(mt),tn=ft==="low"?":where(".concat($t,")"):$t,Nn=Ye.split(",").map(function(vr){var br,nr=vr.trim().split(/\s+/),Ir=nr[0]||"",Er=((br=Ir.match(/^\w+/))===null||br===void 0?void 0:br[0])||"";return Ir="".concat(Er).concat(tn).concat(Ir.slice(Er.length)),[Ir].concat((0,o.Z)(nr.slice(1))).join(" ")});return Nn.join(",")}var ln=function Ye(mt){var ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},tn=$t.root,Nn=$t.injectHash,vr=$t.parentSelectors,br=ft.hashId,nr=ft.layer,Ir=ft.path,Er=ft.hashPriority,yr=ft.transformers,Xn=yr===void 0?[]:yr,Kr=ft.linters,ta=Kr===void 0?[]:Kr,xr="",Jr={};function oa(qr){var Hr=qr.getName(br);if(!Jr[Hr]){var Vr=Ye(qr.style,ft,{root:!1,parentSelectors:vr}),ia=(0,r.Z)(Vr,1),ja=ia[0];Jr[Hr]="@keyframes ".concat(qr.getName(br)).concat(ja)}}function kr(qr){var Hr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return qr.forEach(function(Vr){Array.isArray(Vr)?kr(Vr,Hr):Vr&&Hr.push(Vr)}),Hr}var ca=kr(Array.isArray(mt)?mt:[mt]);return ca.forEach(function(qr){var Hr=typeof qr=="string"&&!tn?{}:qr;if(typeof Hr=="string")xr+="".concat(Hr,` +`);else if(Hr._keyframe)oa(Hr);else{var Vr=Xn.reduce(function(ia,ja){var Ka;return(ja==null||(Ka=ja.visit)===null||Ka===void 0?void 0:Ka.call(ja,ia))||ia},Hr);Object.keys(Vr).forEach(function(ia){var ja=Vr[ia];if((0,ee.Z)(ja)==="object"&&ja&&(ia!=="animationName"||!ja._keyframe)&&!st(ja)){var Ka=!1,io=ia.trim(),Yo=!1;(tn||Nn)&&br?io.startsWith("@")?Ka=!0:io=sn(ia,br,Er):tn&&!br&&(io==="&"||io==="")&&(io="",Yo=!0);var da=Ye(ja,ft,{root:Yo,injectHash:Ka,parentSelectors:[].concat((0,o.Z)(vr),[io])}),po=(0,r.Z)(da,2),Za=po[0],so=po[1];Jr=(0,a.Z)((0,a.Z)({},Jr),so),xr+="".concat(io).concat(Za)}else{let Na=function(Ga,ka){var no=Ga.replace(/[A-Z]/g,function(Ro){return"-".concat(Ro.toLowerCase())}),bo=ka;!gt[Ga]&&typeof bo=="number"&&bo!==0&&(bo="".concat(bo,"px")),Ga==="animationName"&&ka!==null&&ka!==void 0&&ka._keyframe&&(oa(ka),bo=ka.getName(br)),xr+="".concat(no,":").concat(bo,";")};var Wa,Ha=(Wa=ja==null?void 0:ja.value)!==null&&Wa!==void 0?Wa:ja;(0,ee.Z)(ja)==="object"&&ja!==null&&ja!==void 0&&ja[ea]&&Array.isArray(Ha)?Ha.forEach(function(Ga){Na(ia,Ga)}):Na(ia,Ha)}})}}),tn?nr&&(xr="@layer ".concat(nr.name," {").concat(xr,"}"),nr.dependencies&&(Jr["@layer ".concat(nr.name)]=nr.dependencies.map(function(qr){return"@layer ".concat(qr,", ").concat(nr.name,";")}).join(` +`))):xr="{".concat(xr,"}"),[xr,Jr]};function pr(Ye,mt){return c("".concat(Ye.join("%")).concat(mt))}function Ar(){return null}var jn="style";function wn(Ye,mt){var ft=Ye.token,$t=Ye.path,tn=Ye.hashId,Nn=Ye.layer,vr=Ye.nonce,br=Ye.clientOnly,nr=Ye.order,Ir=nr===void 0?0:nr,Er=l.useContext(te),yr=Er.autoClear,Xn=Er.mock,Kr=Er.defaultCache,ta=Er.hashPriority,xr=Er.container,Jr=Er.ssrInline,oa=Er.transformers,kr=Er.linters,ca=Er.cache,qr=Er.layer,Hr=ft._tokenKey,Vr=[Hr];qr&&Vr.push("layer"),Vr.push.apply(Vr,(0,o.Z)($t));var ia=le,ja=Ae(jn,Vr,function(){var po=Vr.join("|");if(Qr(po)){var Za=cr(po),so=(0,r.Z)(Za,2),Wa=so[0],Ha=so[1];if(Wa)return[Wa,Hr,Ha,{},br,Ir]}var Na=mt(),Ga=ln(Na,{hashId:tn,hashPriority:ta,layer:qr?Nn:void 0,path:$t.join("-"),transformers:oa,linters:kr}),ka=(0,r.Z)(Ga,2),no=ka[0],bo=ka[1],Ro=Lt(no),mo=pr(Vr,Ro);return[Ro,Hr,mo,bo,br,Ir]},function(po,Za){var so=(0,r.Z)(po,3),Wa=so[2];(Za||yr)&&le&&(0,u.jL)(Wa,{mark:E})},function(po){var Za=(0,r.Z)(po,4),so=Za[0],Wa=Za[1],Ha=Za[2],Na=Za[3];if(ia&&so!==Nr){var Ga={mark:E,prepend:qr?!1:"queue",attachTo:xr,priority:Ir},ka=typeof vr=="function"?vr():vr;ka&&(Ga.csp={nonce:ka});var no=[],bo=[];Object.keys(Na).forEach(function(mo){mo.startsWith("@layer")?no.push(mo):bo.push(mo)}),no.forEach(function(mo){(0,u.hq)(Lt(Na[mo]),"_layer-".concat(mo),(0,a.Z)((0,a.Z)({},Ga),{},{prepend:!0}))});var Ro=(0,u.hq)(so,Ha,Ga);Ro[N]=ca.instanceId,Ro.setAttribute(j,Hr),bo.forEach(function(mo){(0,u.hq)(Lt(Na[mo]),"_effect-".concat(mo),Ga)})}}),Ka=(0,r.Z)(ja,3),io=Ka[0],Yo=Ka[1],da=Ka[2];return function(po){var Za;if(!Jr||ia||!Kr)Za=l.createElement(Ar,null);else{var so;Za=l.createElement("style",(0,Et.Z)({},(so={},(0,t.Z)(so,j,Yo),(0,t.Z)(so,E,da),so),{dangerouslySetInnerHTML:{__html:io}}))}return l.createElement(l.Fragment,null,Za,po)}}var bn=function(mt,ft,$t){var tn=(0,r.Z)(mt,6),Nn=tn[0],vr=tn[1],br=tn[2],nr=tn[3],Ir=tn[4],Er=tn[5],yr=$t||{},Xn=yr.plain;if(Ir)return null;var Kr=Nn,ta={"data-rc-order":"prependQueue","data-rc-priority":"".concat(Er)};return Kr=O(Nn,vr,br,ta,Xn),nr&&Object.keys(nr).forEach(function(xr){if(!ft[xr]){ft[xr]=!0;var Jr=Lt(nr[xr]),oa=O(Jr,vr,"_effect-".concat(xr),ta,Xn);xr.startsWith("@layer")?Kr=oa+Kr:Kr+=oa}}),[Er,br,Kr]},_n="cssVar",Or=function(mt,ft){var $t=mt.key,tn=mt.prefix,Nn=mt.unitless,vr=mt.ignore,br=mt.token,nr=mt.scope,Ir=nr===void 0?"":nr,Er=(0,l.useContext)(te),yr=Er.cache.instanceId,Xn=Er.container,Kr=br._tokenKey,ta=[].concat((0,o.Z)(mt.path),[$t,Ir,Kr]),xr=Ae(_n,ta,function(){var Jr=ft(),oa=V(Jr,$t,{prefix:tn,unitless:Nn,ignore:vr,scope:Ir}),kr=(0,r.Z)(oa,2),ca=kr[0],qr=kr[1],Hr=pr(ta,qr);return[ca,qr,Hr,$t]},function(Jr){var oa=(0,r.Z)(Jr,3),kr=oa[2];le&&(0,u.jL)(kr,{mark:E})},function(Jr){var oa=(0,r.Z)(Jr,3),kr=oa[1],ca=oa[2];if(kr){var qr=(0,u.hq)(kr,ca,{mark:E,prepend:"queue",attachTo:Xn,priority:-999});qr[N]=yr,qr.setAttribute(j,$t)}});return xr},$r=function(mt,ft,$t){var tn=(0,r.Z)(mt,4),Nn=tn[1],vr=tn[2],br=tn[3],nr=$t||{},Ir=nr.plain;if(!Nn)return null;var Er=-999,yr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(Er)},Xn=O(Nn,br,vr,yr,Ir);return[Er,vr,Xn]},ua=Or,Ea,ha=(Ea={},(0,t.Z)(Ea,jn,bn),(0,t.Z)(Ea,Kt,Ke),(0,t.Z)(Ea,_n,$r),Ea);function mr(Ye){return Ye!==null}function _r(Ye,mt){var ft=typeof mt=="boolean"?{plain:mt}:mt||{},$t=ft.plain,tn=$t===void 0?!1:$t,Nn=ft.types,vr=Nn===void 0?["style","token","cssVar"]:Nn,br=new RegExp("^(".concat((typeof vr=="string"?[vr]:vr).join("|"),")%")),nr=Array.from(Ye.cache.keys()).filter(function(Xn){return br.test(Xn)}),Ir={},Er={},yr="";return nr.map(function(Xn){var Kr=Xn.replace(br,"").replace(/%/g,"|"),ta=Xn.split("%"),xr=_slicedToArray(ta,1),Jr=xr[0],oa=ha[Jr],kr=oa(Ye.cache.get(Xn)[1],Ir,{plain:tn});if(!kr)return null;var ca=_slicedToArray(kr,3),qr=ca[0],Hr=ca[1],Vr=ca[2];return Xn.startsWith("style")&&(Er[Kr]=Hr),[qr,Vr]}).filter(mr).sort(function(Xn,Kr){var ta=_slicedToArray(Xn,1),xr=ta[0],Jr=_slicedToArray(Kr,1),oa=Jr[0];return xr-oa}).forEach(function(Xn){var Kr=_slicedToArray(Xn,2),ta=Kr[1];yr+=ta}),yr+=toStyleStr(".".concat(ATTR_CACHE_MAP,'{content:"').concat(serializeCacheMap(Er),'";}'),void 0,void 0,_defineProperty({},ATTR_CACHE_MAP,ATTR_CACHE_MAP),tn),yr}var Ma=function(){function Ye(mt,ft){(0,d.Z)(this,Ye),(0,t.Z)(this,"name",void 0),(0,t.Z)(this,"style",void 0),(0,t.Z)(this,"_keyframe",!0),this.name=mt,this.style=ft}return(0,b.Z)(Ye,[{key:"getName",value:function(){var ft=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ft?"".concat(ft,"-").concat(this.name):this.name}}]),Ye}(),za=Ma;function Ta(Ye){if(typeof Ye=="number")return[[Ye],!1];var mt=String(Ye).trim(),ft=mt.match(/(.*)(!important)/),$t=(ft?ft[1]:mt).trim().split(/\s+/),tn=[],Nn=0;return[$t.reduce(function(vr,br){if(br.includes("(")||br.includes(")")){var nr=br.split("(").length-1,Ir=br.split(")").length-1;Nn+=nr-Ir}return Nn>=0&&tn.push(br),Nn===0&&(vr.push(tn.join(" ")),tn=[]),vr},[]),!!ft]}function Ra(Ye){return Ye.notSplit=!0,Ye}var ao={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:Ra(["borderTop","borderBottom"]),borderBlockStart:Ra(["borderTop"]),borderBlockEnd:Ra(["borderBottom"]),borderInline:Ra(["borderLeft","borderRight"]),borderInlineStart:Ra(["borderLeft"]),borderInlineEnd:Ra(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function ho(Ye,mt){var ft=Ye;return mt&&(ft="".concat(ft," !important")),{_skip_check_:!0,value:ft}}var Ja={visit:function(mt){var ft={};return Object.keys(mt).forEach(function($t){var tn=mt[$t],Nn=ao[$t];if(Nn&&(typeof tn=="number"||typeof tn=="string")){var vr=Ta(tn),br=(0,r.Z)(vr,2),nr=br[0],Ir=br[1];Nn.length&&Nn.notSplit?Nn.forEach(function(Er){ft[Er]=ho(tn,Ir)}):Nn.length===1?ft[Nn[0]]=ho(nr[0],Ir):Nn.length===2?Nn.forEach(function(Er,yr){var Xn;ft[Er]=ho((Xn=nr[yr])!==null&&Xn!==void 0?Xn:nr[0],Ir)}):Nn.length===4?Nn.forEach(function(Er,yr){var Xn,Kr;ft[Er]=ho((Xn=(Kr=nr[yr])!==null&&Kr!==void 0?Kr:nr[yr-2])!==null&&Xn!==void 0?Xn:nr[0],Ir)}):ft[$t]=tn}else ft[$t]=tn}),ft}},Go=null,Pa=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function Xa(Ye,mt){var ft=Math.pow(10,mt+1),$t=Math.floor(Ye*ft);return Math.round($t/10)*10/ft}var ti=function(){var mt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ft=mt.rootValue,$t=ft===void 0?16:ft,tn=mt.precision,Nn=tn===void 0?5:tn,vr=mt.mediaQuery,br=vr===void 0?!1:vr,nr=function(yr,Xn){if(!Xn)return yr;var Kr=parseFloat(Xn);if(Kr<=1)return yr;var ta=Xa(Kr/$t,Nn);return"".concat(ta,"rem")},Ir=function(yr){var Xn=_objectSpread({},yr);return Object.entries(yr).forEach(function(Kr){var ta=_slicedToArray(Kr,2),xr=ta[0],Jr=ta[1];if(typeof Jr=="string"&&Jr.includes("px")){var oa=Jr.replace(Pa,nr);Xn[xr]=oa}!unitless[xr]&&typeof Jr=="number"&&Jr!==0&&(Xn[xr]="".concat(Jr,"px").replace(Pa,nr));var kr=xr.trim();if(kr.startsWith("@")&&kr.includes("px")&&br){var ca=xr.replace(Pa,nr);Xn[ca]=Xn[xr],delete Xn[xr]}}),Xn};return{visit:Ir}},Uo=null,Lo={supportModernCSS:function(){return Qe()&&it()}}},32857:function(v,g){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};g.Z=e},1085:function(v,g){"use strict";var e={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};g.Z=e},89503:function(v,g){"use strict";var e={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};g.Z=e},48820:function(v,g){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"};g.Z=e},66023:function(v,g){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};g.Z=e},15294:function(v,g){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};g.Z=e},36688:function(v,g){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"};g.Z=e},50756:function(v,g){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};g.Z=e},509:function(v,g){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};g.Z=e},34689:function(v,g){"use strict";var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"};g.Z=e},91146:function(v,g,e){"use strict";e.d(g,{Z:function(){return Ce}});var t=e(1413),r=e(97685),o=e(4942),a=e(91),s=e(67294),c=e(93967),u=e.n(c),l=(0,s.createContext)({}),f=l,p=e(71002),y=e(86500),m=e(1350),d=2,b=.16,C=.05,S=.05,x=.15,T=5,w=4,j=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function E(xe){var D=xe.r,ie=xe.g,We=xe.b,Fe=(0,y.py)(D,ie,We);return{h:Fe.h*360,s:Fe.s,v:Fe.v}}function $(xe){var D=xe.r,ie=xe.g,We=xe.b;return"#".concat((0,y.vq)(D,ie,We,!1))}function N(xe,D,ie){var We=ie/100,Fe={r:(D.r-xe.r)*We+xe.r,g:(D.g-xe.g)*We+xe.g,b:(D.b-xe.b)*We+xe.b};return Fe}function oe(xe,D,ie){var We;return Math.round(xe.h)>=60&&Math.round(xe.h)<=240?We=ie?Math.round(xe.h)-d*D:Math.round(xe.h)+d*D:We=ie?Math.round(xe.h)+d*D:Math.round(xe.h)-d*D,We<0?We+=360:We>=360&&(We-=360),We}function z(xe,D,ie){if(xe.h===0&&xe.s===0)return xe.s;var We;return ie?We=xe.s-b*D:D===w?We=xe.s+b:We=xe.s+C*D,We>1&&(We=1),ie&&D===T&&We>.1&&(We=.1),We<.06&&(We=.06),Number(We.toFixed(2))}function Y(xe,D,ie){var We;return ie?We=xe.v+S*D:We=xe.v-x*D,We>1&&(We=1),Number(We.toFixed(2))}function te(xe){for(var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ie=[],We=(0,m.uA)(xe),Fe=T;Fe>0;Fe-=1){var $e=E(We),we=$((0,m.uA)({h:oe($e,Fe,!0),s:z($e,Fe,!0),v:Y($e,Fe,!0)}));ie.push(we)}ie.push($(We));for(var Pe=1;Pe<=w;Pe+=1){var Ae=E(We),Ue=$((0,m.uA)({h:oe(Ae,Pe),s:z(Ae,Pe),v:Y(Ae,Pe)}));ie.push(Ue)}return D.theme==="dark"?j.map(function(_e){var ct=_e.index,At=_e.opacity,vt=$(N((0,m.uA)(D.backgroundColor||"#141414"),(0,m.uA)(ie[ct]),At*100));return vt}):ie}var ee={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},B={},ne={};Object.keys(ee).forEach(function(xe){B[xe]=te(ee[xe]),B[xe].primary=B[xe][5],ne[xe]=te(ee[xe],{theme:"dark",backgroundColor:"#141414"}),ne[xe].primary=ne[xe][5]});var Q=B.red,q=B.volcano,L=B.gold,F=B.orange,I=B.yellow,M=B.lime,R=B.green,H=B.cyan,ae=B.blue,X=B.geekblue,G=B.purple,ce=B.magenta,he=B.grey,Re=e(80334),Ie=e(44958),Ze=e(68929),nt=e.n(Ze);function pt(xe,D){(0,Re.ZP)(xe,"[@ant-design/icons] ".concat(D))}function Qe(xe){return(0,p.Z)(xe)==="object"&&typeof xe.name=="string"&&typeof xe.theme=="string"&&((0,p.Z)(xe.icon)==="object"||typeof xe.icon=="function")}function ot(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(xe).reduce(function(D,ie){var We=xe[ie];switch(ie){case"class":D.className=We,delete D.class;break;default:delete D[ie],D[nt()(ie)]=We}return D},{})}function it(xe,D,ie){return ie?s.createElement(xe.tag,(0,t.Z)((0,t.Z)({key:D},ot(xe.attrs)),ie),(xe.children||[]).map(function(We,Fe){return it(We,"".concat(D,"-").concat(xe.tag,"-").concat(Fe))})):s.createElement(xe.tag,(0,t.Z)({key:D},ot(xe.attrs)),(xe.children||[]).map(function(We,Fe){return it(We,"".concat(D,"-").concat(xe.tag,"-").concat(Fe))}))}function le(xe){return te(xe)[0]}function Z(xe){return xe?Array.isArray(xe)?xe:[xe]:[]}var O={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},A=` .anticon { display: inline-flex; alignItems: center; @@ -55,7 +55,7 @@ transform: rotate(360deg); } } -`,K=function(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:D,ie=(0,s.useContext)(f),ke=ie.csp;(0,s.useEffect)(function(){(0,Ie.hq)(A,"@ant-design-icons",{prepend:!0,csp:ke})},[])},k=["icon","className","onClick","style","primaryColor","secondaryColor"],J={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function ue(xe){var A=xe.primaryColor,ie=xe.secondaryColor;J.primaryColor=A,J.secondaryColor=ie||le(A),J.calculated=!!ie}function _(){return(0,t.Z)({},J)}var V=function(A){var ie=A.icon,ke=A.className,Fe=A.onClick,$e=A.style,we=A.primaryColor,Pe=A.secondaryColor,Ae=(0,a.Z)(A,k),We=J;if(we&&(We={primaryColor:we,secondaryColor:Pe||le(we)}),K(),Je(He(ie),"icon should be icon definiton, but got ".concat(ie)),!He(ie))return null;var tt=ie;return tt&&typeof tt.icon=="function"&&(tt=(0,t.Z)((0,t.Z)({},tt),{},{icon:tt.icon(We.primaryColor,We.secondaryColor)})),Xe(tt.icon,"svg-".concat(tt.name),(0,t.Z)({className:ke,onClick:Fe,style:$e,"data-icon":tt.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},Ae))};V.displayName="IconReact",V.getTwoToneColors=_,V.setTwoToneColors=ue;var se=V;function pe(xe){var A=U(xe),ie=(0,r.Z)(A,2),ke=ie[0],Fe=ie[1];return se.setTwoToneColors({primaryColor:ke,secondaryColor:Fe})}function de(){var xe=se.getTwoToneColors();return xe.calculated?[xe.primaryColor,xe.secondaryColor]:xe.primaryColor}var Ne=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];pe("#1890ff");var st=s.forwardRef(function(xe,A){var ie=xe.className,ke=xe.icon,Fe=xe.spin,$e=xe.rotate,we=xe.tabIndex,Pe=xe.onClick,Ae=xe.twoToneColor,We=(0,a.Z)(xe,Ne),tt=s.useContext(f),dt=tt.prefixCls,At=dt===void 0?"anticon":dt,vt=tt.rootClassName,qt=u()(vt,At,(0,o.Z)((0,o.Z)({},"".concat(At,"-").concat(ke.name),!!ke.name),"".concat(At,"-spin"),!!Fe||ke.name==="loading"),ie),kt=we;kt===void 0&&Pe&&(kt=-1);var wt=$e?{msTransform:"rotate(".concat($e,"deg)"),transform:"rotate(".concat($e,"deg)")}:void 0,Kt=U(Ae),Ct=(0,r.Z)(Kt,2),Ge=Ct[0],Et=Ct[1];return s.createElement("span",(0,t.Z)((0,t.Z)({role:"img","aria-label":ke.name},We),{},{ref:A,tabIndex:kt,onClick:Pe,className:qt}),s.createElement(se,{icon:ke,primaryColor:Ge,secondaryColor:Et,style:wt}))});st.displayName="AntdIcon",st.getTwoToneColor=de,st.setTwoToneColor=pe;var Ce=st},92443:function(v,g,e){"use strict";e.d(g,{Z:function(){return l}});var t=e(1413),r=e(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868 732h-70.3c-4.8 0-9.3 2.1-12.3 5.8-7 8.5-14.5 16.7-22.4 24.5a353.84 353.84 0 01-112.7 75.9A352.8 352.8 0 01512.4 866c-47.9 0-94.3-9.4-137.9-27.8a353.84 353.84 0 01-112.7-75.9 353.28 353.28 0 01-76-112.5C167.3 606.2 158 559.9 158 512s9.4-94.2 27.8-137.8c17.8-42.1 43.4-80 76-112.5s70.5-58.1 112.7-75.9c43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 7.9 7.9 15.3 16.1 22.4 24.5 3 3.7 7.6 5.8 12.3 5.8H868c6.3 0 10.2-7 6.7-12.3C798 160.5 663.8 81.6 511.3 82 271.7 82.6 79.6 277.1 82 516.4 84.4 751.9 276.2 942 512.4 942c152.1 0 285.7-78.8 362.3-197.7 3.4-5.3-.4-12.3-6.7-12.3zm88.9-226.3L815 393.7c-5.3-4.2-13-.4-13 6.3v76H488c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 000-12.6z"}}]},name:"logout",theme:"outlined"},a=o,s=e(91146),c=function(p,y){return r.createElement(s.Z,(0,t.Z)((0,t.Z)({},p),{},{ref:y,icon:a}))},u=r.forwardRef(c),l=u},87547:function(v,g,e){"use strict";e.d(g,{Z:function(){return l}});var t=e(1413),r=e(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},a=o,s=e(91146),c=function(p,y){return r.createElement(s.Z,(0,t.Z)((0,t.Z)({},p),{},{ref:y,icon:a}))},u=r.forwardRef(c),l=u},87909:function(v,g,e){"use strict";e.d(g,{q:function(){return E}});var t=e(1413),r=e(87462),o=e(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm5.6-532.7c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z"}}]},name:"copyright",theme:"outlined"},s=a,c=e(65555),u=function(N,oe){return o.createElement(c.Z,(0,r.Z)({},N,{ref:oe,icon:s}))},l=o.forwardRef(u),f=l,p=e(21612),y=e(28459),m=e(93967),d=e.n(m),b=e(4942),C=e(98082),S=function(N){return(0,b.Z)({},N.componentCls,{marginBlock:0,marginBlockStart:48,marginBlockEnd:24,marginInline:0,paddingBlock:0,paddingInline:16,textAlign:"center","&-list":{marginBlockEnd:8,color:N.colorTextSecondary,"&-link":{color:N.colorTextSecondary,textDecoration:N.linkDecoration},"*:not(:last-child)":{marginInlineEnd:8},"&:hover":{color:N.colorPrimary}},"&-copyright":{fontSize:"14px",color:N.colorText}})};function x($){return(0,C.Xj)("ProLayoutFooter",function(N){var oe=(0,t.Z)((0,t.Z)({},N),{},{componentCls:".".concat($)});return[S(oe)]})}var w=e(85893),O=function(N){var oe=N.className,Z=N.prefixCls,Y=N.links,te=N.copyright,ee=N.style,B=(0,o.useContext)(y.ZP.ConfigContext),ne=B.getPrefixCls(Z||"pro-global-footer"),Q=x(ne),q=Q.wrapSSR,L=Q.hashId;return(Y==null||Y===!1||Array.isArray(Y)&&Y.length===0)&&(te==null||te===!1)?null:q((0,w.jsxs)("div",{className:d()(ne,L,oe),style:ee,children:[Y&&(0,w.jsx)("div",{className:"".concat(ne,"-list ").concat(L).trim(),children:Y.map(function(F){return(0,w.jsx)("a",{className:"".concat(ne,"-list-link ").concat(L).trim(),title:F.key,target:F.blankTarget?"_blank":"_self",href:F.href,rel:"noreferrer",children:F.title},F.key)})}),te&&(0,w.jsx)("div",{className:"".concat(ne,"-copyright ").concat(L).trim(),children:te})]}))},j=p.Z.Footer,E=function(N){var oe=N.links,Z=N.copyright,Y=N.style,te=N.className,ee=N.prefixCls;return(0,w.jsx)(j,{className:te,style:(0,t.Z)({padding:0},Y),children:(0,w.jsx)(O,{links:oe,prefixCls:ee,copyright:Z===!1?null:(0,w.jsxs)(o.Fragment,{children:[(0,w.jsx)(f,{})," ",Z]})})})}},14192:function(v,g,e){"use strict";e.d(g,{h:function(){return t}});var t={navTheme:"light",layout:"side",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!0,iconfontUrl:"",colorPrimary:"#1677FF",splitMenus:!1}},52676:function(v,g,e){"use strict";e.d(g,{e:function(){return C},G:function(){return b}});var t=e(12044),r=e(1413),o={"app.setting.pagestyle":"Page style setting","app.setting.pagestyle.dark":"Dark Menu style","app.setting.pagestyle.light":"Light Menu style","app.setting.pagestyle.realdark":"Dark style (Beta)","app.setting.content-width":"Content Width","app.setting.content-width.fixed":"Fixed","app.setting.content-width.fluid":"Fluid","app.setting.themecolor":"Theme Color","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.techBlue":"Tech Blue (default)","app.setting.themecolor.daybreak":"Daybreak Blue","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.sidermenutype":"SideMenu Type","app.setting.sidermenutype-sub":"Classic","app.setting.sidermenutype-group":"Grouping","app.setting.navigationmode":"Navigation Mode","app.setting.regionalsettings":"Regional Settings","app.setting.regionalsettings.header":"Header","app.setting.regionalsettings.menu":"Menu","app.setting.regionalsettings.footer":"Footer","app.setting.regionalsettings.menuHeader":"Menu Header","app.setting.sidemenu":"Side Menu Layout","app.setting.topmenu":"Top Menu Layout","app.setting.mixmenu":"Mix Menu Layout","app.setting.splitMenus":"Split Menus","app.setting.fixedheader":"Fixed Header","app.setting.fixedsidebar":"Fixed Sidebar","app.setting.fixedsidebar.hint":"Works on Side Menu Layout","app.setting.hideheader":"Hidden Header when scrolling","app.setting.hideheader.hint":"Works when Hidden Header is enabled","app.setting.othersettings":"Other Settings","app.setting.weakmode":"Weak Mode","app.setting.copy":"Copy Setting","app.setting.loading":"Loading theme","app.setting.copyinfo":"copy success\uFF0Cplease replace defaultSettings in src/models/setting.js","app.setting.production.hint":"Setting panel shows in development environment only, please manually modify"},a=(0,r.Z)({},o),s={"app.setting.pagestyle":"Impostazioni di stile","app.setting.pagestyle.dark":"Tema scuro","app.setting.pagestyle.light":"Tema chiaro","app.setting.content-width":"Largezza contenuto","app.setting.content-width.fixed":"Fissa","app.setting.content-width.fluid":"Fluida","app.setting.themecolor":"Colore del tema","app.setting.themecolor.dust":"Rosso polvere","app.setting.themecolor.volcano":"Vulcano","app.setting.themecolor.sunset":"Arancione tramonto","app.setting.themecolor.cyan":"Ciano","app.setting.themecolor.green":"Verde polare","app.setting.themecolor.techBlue":"Tech Blu (default)","app.setting.themecolor.daybreak":"Blu cielo mattutino","app.setting.themecolor.geekblue":"Blu geek","app.setting.themecolor.purple":"Viola dorato","app.setting.navigationmode":"Modalit\xE0 di navigazione","app.setting.sidemenu":"Menu laterale","app.setting.topmenu":"Menu in testata","app.setting.mixmenu":"Menu misto","app.setting.splitMenus":"Menu divisi","app.setting.fixedheader":"Testata fissa","app.setting.fixedsidebar":"Menu laterale fisso","app.setting.fixedsidebar.hint":"Solo se selezionato Menu laterale","app.setting.hideheader":"Nascondi testata durante lo scorrimento","app.setting.hideheader.hint":"Solo se abilitato Nascondi testata durante lo scorrimento","app.setting.othersettings":"Altre impostazioni","app.setting.weakmode":"Inverti colori","app.setting.copy":"Copia impostazioni","app.setting.loading":"Carico tema...","app.setting.copyinfo":"Impostazioni copiate con successo! Incolla il contenuto in config/defaultSettings.js","app.setting.production.hint":"Questo pannello \xE8 visibile solo durante lo sviluppo. Le impostazioni devono poi essere modificate manulamente"},c=(0,r.Z)({},s),u={"app.setting.pagestyle":"\uC2A4\uD0C0\uC77C \uC124\uC815","app.setting.pagestyle.dark":"\uB2E4\uD06C \uBAA8\uB4DC","app.setting.pagestyle.light":"\uB77C\uC774\uD2B8 \uBAA8\uB4DC","app.setting.content-width":"\uCEE8\uD150\uCE20 \uB108\uBE44","app.setting.content-width.fixed":"\uACE0\uC815","app.setting.content-width.fluid":"\uD750\uB984","app.setting.themecolor":"\uD14C\uB9C8 \uC0C9\uC0C1","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.techBlue":"Tech Blu (default)","app.setting.themecolor.daybreak":"Daybreak Blue","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.navigationmode":"\uB124\uBE44\uAC8C\uC774\uC158 \uBAA8\uB4DC","app.setting.regionalsettings":"\uC601\uC5ED\uBCC4 \uC124\uC815","app.setting.regionalsettings.header":"\uD5E4\uB354","app.setting.regionalsettings.menu":"\uBA54\uB274","app.setting.regionalsettings.footer":"\uBC14\uB2E5\uAE00","app.setting.regionalsettings.menuHeader":"\uBA54\uB274 \uD5E4\uB354","app.setting.sidemenu":"\uBA54\uB274 \uC0AC\uC774\uB4DC \uBC30\uCE58","app.setting.topmenu":"\uBA54\uB274 \uC0C1\uB2E8 \uBC30\uCE58","app.setting.mixmenu":"\uD63C\uD569\uD615 \uBC30\uCE58","app.setting.splitMenus":"\uBA54\uB274 \uBD84\uB9AC","app.setting.fixedheader":"\uD5E4\uB354 \uACE0\uC815","app.setting.fixedsidebar":"\uC0AC\uC774\uB4DC\uBC14 \uACE0\uC815","app.setting.fixedsidebar.hint":"'\uBA54\uB274 \uC0AC\uC774\uB4DC \uBC30\uCE58'\uB97C \uC120\uD0DD\uD588\uC744 \uB54C \uB3D9\uC791\uD568","app.setting.hideheader":"\uC2A4\uD06C\uB864 \uC911 \uD5E4\uB354 \uAC10\uCD94\uAE30","app.setting.hideheader.hint":"'\uD5E4\uB354 \uAC10\uCD94\uAE30 \uC635\uC158'\uC744 \uC120\uD0DD\uD588\uC744 \uB54C \uB3D9\uC791\uD568","app.setting.othersettings":"\uB2E4\uB978 \uC124\uC815","app.setting.weakmode":"\uACE0\uB300\uBE44 \uBAA8\uB4DC","app.setting.copy":"\uC124\uC815\uAC12 \uBCF5\uC0AC","app.setting.loading":"\uD14C\uB9C8 \uB85C\uB529 \uC911","app.setting.copyinfo":"\uBCF5\uC0AC \uC131\uACF5. src/models/settings.js\uC5D0 \uC788\uB294 defaultSettings\uB97C \uAD50\uCCB4\uD574 \uC8FC\uC138\uC694.","app.setting.production.hint":"\uC124\uC815 \uD310\uB12C\uC740 \uAC1C\uBC1C \uD658\uACBD\uC5D0\uC11C\uB9CC \uBCF4\uC5EC\uC9D1\uB2C8\uB2E4. \uC9C1\uC811 \uC218\uB3D9\uC73C\uB85C \uBCC0\uACBD\uBC14\uB78D\uB2C8\uB2E4."},l=(0,r.Z)({},u),f={"app.setting.pagestyle":"\u6574\u4F53\u98CE\u683C\u8BBE\u7F6E","app.setting.pagestyle.dark":"\u6697\u8272\u83DC\u5355\u98CE\u683C","app.setting.pagestyle.light":"\u4EAE\u8272\u83DC\u5355\u98CE\u683C","app.setting.pagestyle.realdark":"\u6697\u8272\u98CE\u683C(\u5B9E\u9A8C\u529F\u80FD)","app.setting.content-width":"\u5185\u5BB9\u533A\u57DF\u5BBD\u5EA6","app.setting.content-width.fixed":"\u5B9A\u5BBD","app.setting.content-width.fluid":"\u6D41\u5F0F","app.setting.themecolor":"\u4E3B\u9898\u8272","app.setting.themecolor.dust":"\u8584\u66AE","app.setting.themecolor.volcano":"\u706B\u5C71","app.setting.themecolor.sunset":"\u65E5\u66AE","app.setting.themecolor.cyan":"\u660E\u9752","app.setting.themecolor.green":"\u6781\u5149\u7EFF","app.setting.themecolor.techBlue":"\u79D1\u6280\u84DD\uFF08\u9ED8\u8BA4\uFF09","app.setting.themecolor.daybreak":"\u62C2\u6653","app.setting.themecolor.geekblue":"\u6781\u5BA2\u84DD","app.setting.themecolor.purple":"\u9171\u7D2B","app.setting.navigationmode":"\u5BFC\u822A\u6A21\u5F0F","app.setting.sidermenutype":"\u4FA7\u8FB9\u83DC\u5355\u7C7B\u578B","app.setting.sidermenutype-sub":"\u7ECF\u5178\u6A21\u5F0F","app.setting.sidermenutype-group":"\u5206\u7EC4\u6A21\u5F0F","app.setting.regionalsettings":"\u5185\u5BB9\u533A\u57DF","app.setting.regionalsettings.header":"\u9876\u680F","app.setting.regionalsettings.menu":"\u83DC\u5355","app.setting.regionalsettings.footer":"\u9875\u811A","app.setting.regionalsettings.menuHeader":"\u83DC\u5355\u5934","app.setting.sidemenu":"\u4FA7\u8FB9\u83DC\u5355\u5E03\u5C40","app.setting.topmenu":"\u9876\u90E8\u83DC\u5355\u5E03\u5C40","app.setting.mixmenu":"\u6DF7\u5408\u83DC\u5355\u5E03\u5C40","app.setting.splitMenus":"\u81EA\u52A8\u5206\u5272\u83DC\u5355","app.setting.fixedheader":"\u56FA\u5B9A Header","app.setting.fixedsidebar":"\u56FA\u5B9A\u4FA7\u8FB9\u83DC\u5355","app.setting.fixedsidebar.hint":"\u4FA7\u8FB9\u83DC\u5355\u5E03\u5C40\u65F6\u53EF\u914D\u7F6E","app.setting.hideheader":"\u4E0B\u6ED1\u65F6\u9690\u85CF Header","app.setting.hideheader.hint":"\u56FA\u5B9A Header \u65F6\u53EF\u914D\u7F6E","app.setting.othersettings":"\u5176\u4ED6\u8BBE\u7F6E","app.setting.weakmode":"\u8272\u5F31\u6A21\u5F0F","app.setting.copy":"\u62F7\u8D1D\u8BBE\u7F6E","app.setting.loading":"\u6B63\u5728\u52A0\u8F7D\u4E3B\u9898","app.setting.copyinfo":"\u62F7\u8D1D\u6210\u529F\uFF0C\u8BF7\u5230 src/defaultSettings.js \u4E2D\u66FF\u6362\u9ED8\u8BA4\u914D\u7F6E","app.setting.production.hint":"\u914D\u7F6E\u680F\u53EA\u5728\u5F00\u53D1\u73AF\u5883\u7528\u4E8E\u9884\u89C8\uFF0C\u751F\u4EA7\u73AF\u5883\u4E0D\u4F1A\u5C55\u73B0\uFF0C\u8BF7\u62F7\u8D1D\u540E\u624B\u52A8\u4FEE\u6539\u914D\u7F6E\u6587\u4EF6"},p=(0,r.Z)({},f),y={"app.setting.pagestyle":"\u6574\u9AD4\u98A8\u683C\u8A2D\u7F6E","app.setting.pagestyle.dark":"\u6697\u8272\u83DC\u55AE\u98A8\u683C","app.setting.pagestyle.realdark":"\u6697\u8272\u98A8\u683C(\u5B9E\u9A8C\u529F\u80FD)","app.setting.pagestyle.light":"\u4EAE\u8272\u83DC\u55AE\u98A8\u683C","app.setting.content-width":"\u5167\u5BB9\u5340\u57DF\u5BEC\u5EA6","app.setting.content-width.fixed":"\u5B9A\u5BEC","app.setting.content-width.fluid":"\u6D41\u5F0F","app.setting.themecolor":"\u4E3B\u984C\u8272","app.setting.themecolor.dust":"\u8584\u66AE","app.setting.themecolor.volcano":"\u706B\u5C71","app.setting.themecolor.sunset":"\u65E5\u66AE","app.setting.themecolor.cyan":"\u660E\u9752","app.setting.themecolor.green":"\u6975\u5149\u7DA0","app.setting.themecolor.techBlue":"\u79D1\u6280\u84DD\uFF08\u9ED8\u8A8D\uFF09","app.setting.themecolor.daybreak":"\u62C2\u66C9\u85CD","app.setting.themecolor.geekblue":"\u6975\u5BA2\u85CD","app.setting.themecolor.purple":"\u91AC\u7D2B","app.setting.navigationmode":"\u5C0E\u822A\u6A21\u5F0F","app.setting.sidemenu":"\u5074\u908A\u83DC\u55AE\u5E03\u5C40","app.setting.topmenu":"\u9802\u90E8\u83DC\u55AE\u5E03\u5C40","app.setting.mixmenu":"\u6DF7\u5408\u83DC\u55AE\u5E03\u5C40","app.setting.splitMenus":"\u81EA\u52A8\u5206\u5272\u83DC\u5355","app.setting.fixedheader":"\u56FA\u5B9A Header","app.setting.fixedsidebar":"\u56FA\u5B9A\u5074\u908A\u83DC\u55AE","app.setting.fixedsidebar.hint":"\u5074\u908A\u83DC\u55AE\u5E03\u5C40\u6642\u53EF\u914D\u7F6E","app.setting.hideheader":"\u4E0B\u6ED1\u6642\u96B1\u85CF Header","app.setting.hideheader.hint":"\u56FA\u5B9A Header \u6642\u53EF\u914D\u7F6E","app.setting.othersettings":"\u5176\u4ED6\u8A2D\u7F6E","app.setting.weakmode":"\u8272\u5F31\u6A21\u5F0F","app.setting.copy":"\u62F7\u8C9D\u8A2D\u7F6E","app.setting.loading":"\u6B63\u5728\u52A0\u8F09\u4E3B\u984C","app.setting.copyinfo":"\u62F7\u8C9D\u6210\u529F\uFF0C\u8ACB\u5230 src/defaultSettings.js \u4E2D\u66FF\u63DB\u9ED8\u8A8D\u914D\u7F6E","app.setting.production.hint":"\u914D\u7F6E\u6B04\u53EA\u5728\u958B\u767C\u74B0\u5883\u7528\u65BC\u9810\u89BD\uFF0C\u751F\u7522\u74B0\u5883\u4E0D\u6703\u5C55\u73FE\uFF0C\u8ACB\u62F7\u8C9D\u5F8C\u624B\u52D5\u4FEE\u6539\u914D\u7F6E\u6587\u4EF6"},m=(0,r.Z)({},y),d={"zh-CN":p,"zh-TW":m,"en-US":a,"it-IT":c,"ko-KR":l},b=function(){if(!(0,t.j)())return"zh-CN";var x=window.localStorage.getItem("umi_locale");return x||window.g_locale||navigator.language},C=function(){var x=b();return d[x]||d["zh-CN"]}},62812:function(v,g,e){"use strict";e.d(g,{O7:function(){return r},QX:function(){return s},tV:function(){return a}});var t=e(1413),r=function c(u){return(u||[]).reduce(function(l,f){if(f.key&&l.push(f.key),f.children||f.routes){var p=l.concat(c(f.children||f.routes)||[]);return p}return l},[])},o={techBlue:"#1677FF",daybreak:"#1890ff",dust:"#F5222D",volcano:"#FA541C",sunset:"#FAAD14",cyan:"#13C2C2",green:"#52C41A",geekblue:"#2F54EB",purple:"#722ED1"};function a(c){return c&&o[c]?o[c]:c||""}function s(c){return c.map(function(u){var l=u.children||[],f=(0,t.Z)({},u);if(!f.children&&f.routes&&(f.children=f.routes),!f.name||f.hideInMenu)return null;if(f&&f!==null&&f!==void 0&&f.children){if(!f.hideChildrenInMenu&&l.some(function(p){return p&&p.name&&!p.hideInMenu}))return(0,t.Z)((0,t.Z)({},u),{},{children:s(l)});delete f.children}return delete f.routes,f}).filter(function(u){return u})}},34853:function(v,g,e){"use strict";e.r(g),e.d(g,{blue:function(){return B},cyan:function(){return ee},geekblue:function(){return ne},generate:function(){return x},gold:function(){return N},gray:function(){return F},green:function(){return te},grey:function(){return L},lime:function(){return Y},magenta:function(){return q},orange:function(){return oe},presetDarkPalettes:function(){return j},presetPalettes:function(){return O},presetPrimaryColors:function(){return w},purple:function(){return Q},red:function(){return E},volcano:function(){return $},yellow:function(){return Z}});var t=e(86500),r=e(1350),o=2,a=.16,s=.05,c=.05,u=.15,l=5,f=4,p=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function y(T){var I=T.r,R=T.g,z=T.b,ae=(0,t.py)(I,R,z);return{h:ae.h*360,s:ae.s,v:ae.v}}function m(T){var I=T.r,R=T.g,z=T.b;return"#".concat((0,t.vq)(I,R,z,!1))}function d(T,I,R){var z=R/100,ae={r:(I.r-T.r)*z+T.r,g:(I.g-T.g)*z+T.g,b:(I.b-T.b)*z+T.b};return ae}function b(T,I,R){var z;return Math.round(T.h)>=60&&Math.round(T.h)<=240?z=R?Math.round(T.h)-o*I:Math.round(T.h)+o*I:z=R?Math.round(T.h)+o*I:Math.round(T.h)-o*I,z<0?z+=360:z>=360&&(z-=360),z}function C(T,I,R){if(T.h===0&&T.s===0)return T.s;var z;return R?z=T.s-a*I:I===f?z=T.s+a:z=T.s+s*I,z>1&&(z=1),R&&I===l&&z>.1&&(z=.1),z<.06&&(z=.06),Number(z.toFixed(2))}function S(T,I,R){var z;return R?z=T.v+c*I:z=T.v-u*I,z>1&&(z=1),Number(z.toFixed(2))}function x(T){for(var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},R=[],z=(0,r.uA)(T),ae=l;ae>0;ae-=1){var X=y(z),G=m((0,r.uA)({h:b(X,ae,!0),s:C(X,ae,!0),v:S(X,ae,!0)}));R.push(G)}R.push(m(z));for(var ce=1;ce<=f;ce+=1){var he=y(z),Re=m((0,r.uA)({h:b(he,ce),s:C(he,ce),v:S(he,ce)}));R.push(Re)}return I.theme==="dark"?p.map(function(Ie){var Ze=Ie.index,ot=Ie.opacity,Je=m(d((0,r.uA)(I.backgroundColor||"#141414"),(0,r.uA)(R[Ze]),ot*100));return Je}):R}var w={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},O={},j={};Object.keys(w).forEach(function(T){O[T]=x(w[T]),O[T].primary=O[T][5],j[T]=x(w[T],{theme:"dark",backgroundColor:"#141414"}),j[T].primary=j[T][5]});var E=O.red,$=O.volcano,N=O.gold,oe=O.orange,Z=O.yellow,Y=O.lime,te=O.green,ee=O.cyan,B=O.blue,ne=O.geekblue,Q=O.purple,q=O.magenta,L=O.grey,F=O.grey},65555:function(v,g,e){"use strict";e.d(g,{Z:function(){return $}});var t=e(87462),r=e(97685),o=e(4942),a=e(91),s=e(67294),c=e(93967),u=e.n(c),l=e(34853),f=e(2446),p=e(1413),y=e(14004),m=["icon","className","onClick","style","primaryColor","secondaryColor"],d={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function b(N){var oe=N.primaryColor,Z=N.secondaryColor;d.primaryColor=oe,d.secondaryColor=Z||(0,y.pw)(oe),d.calculated=!!Z}function C(){return(0,p.Z)({},d)}var S=function(oe){var Z=oe.icon,Y=oe.className,te=oe.onClick,ee=oe.style,B=oe.primaryColor,ne=oe.secondaryColor,Q=(0,a.Z)(oe,m),q=s.useRef(),L=d;if(B&&(L={primaryColor:B,secondaryColor:ne||(0,y.pw)(B)}),(0,y.C3)(q),(0,y.Kp)((0,y.r)(Z),"icon should be icon definiton, but got ".concat(Z)),!(0,y.r)(Z))return null;var F=Z;return F&&typeof F.icon=="function"&&(F=(0,p.Z)((0,p.Z)({},F),{},{icon:F.icon(L.primaryColor,L.secondaryColor)})),(0,y.R_)(F.icon,"svg-".concat(F.name),(0,p.Z)((0,p.Z)({className:Y,onClick:te,style:ee,"data-icon":F.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},Q),{},{ref:q}))};S.displayName="IconReact",S.getTwoToneColors=C,S.setTwoToneColors=b;var x=S;function w(N){var oe=(0,y.H9)(N),Z=(0,r.Z)(oe,2),Y=Z[0],te=Z[1];return x.setTwoToneColors({primaryColor:Y,secondaryColor:te})}function O(){var N=x.getTwoToneColors();return N.calculated?[N.primaryColor,N.secondaryColor]:N.primaryColor}var j=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];w(l.blue.primary);var E=s.forwardRef(function(N,oe){var Z=N.className,Y=N.icon,te=N.spin,ee=N.rotate,B=N.tabIndex,ne=N.onClick,Q=N.twoToneColor,q=(0,a.Z)(N,j),L=s.useContext(f.Z),F=L.prefixCls,T=F===void 0?"anticon":F,I=L.rootClassName,R=u()(I,T,(0,o.Z)((0,o.Z)({},"".concat(T,"-").concat(Y.name),!!Y.name),"".concat(T,"-spin"),!!te||Y.name==="loading"),Z),z=B;z===void 0&&ne&&(z=-1);var ae=ee?{msTransform:"rotate(".concat(ee,"deg)"),transform:"rotate(".concat(ee,"deg)")}:void 0,X=(0,y.H9)(Q),G=(0,r.Z)(X,2),ce=G[0],he=G[1];return s.createElement("span",(0,t.Z)({role:"img","aria-label":Y.name},q,{ref:oe,tabIndex:z,onClick:ne,className:R}),s.createElement(x,{icon:Y,primaryColor:ce,secondaryColor:he,style:ae}))});E.displayName="AntdIcon",E.getTwoToneColor=O,E.setTwoToneColor=w;var $=E},2446:function(v,g,e){"use strict";var t=e(67294),r=(0,t.createContext)({});g.Z=r},14004:function(v,g,e){"use strict";e.d(g,{C3:function(){return w},H9:function(){return C},Kp:function(){return p},R_:function(){return d},pw:function(){return b},r:function(){return y},vD:function(){return S}});var t=e(1413),r=e(71002),o=e(34853),a=e(44958),s=e(27571),c=e(80334),u=e(67294),l=e(2446);function f(O){return O.replace(/-(.)/g,function(j,E){return E.toUpperCase()})}function p(O,j){(0,c.ZP)(O,"[@ant-design/icons] ".concat(j))}function y(O){return(0,r.Z)(O)==="object"&&typeof O.name=="string"&&typeof O.theme=="string"&&((0,r.Z)(O.icon)==="object"||typeof O.icon=="function")}function m(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(O).reduce(function(j,E){var $=O[E];switch(E){case"class":j.className=$,delete j.class;break;default:delete j[E],j[f(E)]=$}return j},{})}function d(O,j,E){return E?u.createElement(O.tag,(0,t.Z)((0,t.Z)({key:j},m(O.attrs)),E),(O.children||[]).map(function($,N){return d($,"".concat(j,"-").concat(O.tag,"-").concat(N))})):u.createElement(O.tag,(0,t.Z)({key:j},m(O.attrs)),(O.children||[]).map(function($,N){return d($,"".concat(j,"-").concat(O.tag,"-").concat(N))}))}function b(O){return(0,o.generate)(O)[0]}function C(O){return O?Array.isArray(O)?O:[O]:[]}var S={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},x=` +`,W=function(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:A,ie=(0,s.useContext)(f),We=ie.csp;(0,s.useEffect)(function(){(0,Ie.hq)(D,"@ant-design-icons",{prepend:!0,csp:We})},[])},V=["icon","className","onClick","style","primaryColor","secondaryColor"],J={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function ue(xe){var D=xe.primaryColor,ie=xe.secondaryColor;J.primaryColor=D,J.secondaryColor=ie||le(D),J.calculated=!!ie}function _(){return(0,t.Z)({},J)}var K=function(D){var ie=D.icon,We=D.className,Fe=D.onClick,$e=D.style,we=D.primaryColor,Pe=D.secondaryColor,Ae=(0,a.Z)(D,V),Ue=J;if(we&&(Ue={primaryColor:we,secondaryColor:Pe||le(we)}),W(),pt(Qe(ie),"icon should be icon definiton, but got ".concat(ie)),!Qe(ie))return null;var _e=ie;return _e&&typeof _e.icon=="function"&&(_e=(0,t.Z)((0,t.Z)({},_e),{},{icon:_e.icon(Ue.primaryColor,Ue.secondaryColor)})),it(_e.icon,"svg-".concat(_e.name),(0,t.Z)({className:We,onClick:Fe,style:$e,"data-icon":_e.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},Ae))};K.displayName="IconReact",K.getTwoToneColors=_,K.setTwoToneColors=ue;var se=K;function pe(xe){var D=Z(xe),ie=(0,r.Z)(D,2),We=ie[0],Fe=ie[1];return se.setTwoToneColors({primaryColor:We,secondaryColor:Fe})}function de(){var xe=se.getTwoToneColors();return xe.calculated?[xe.primaryColor,xe.secondaryColor]:xe.primaryColor}var Ne=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];pe("#1890ff");var at=s.forwardRef(function(xe,D){var ie=xe.className,We=xe.icon,Fe=xe.spin,$e=xe.rotate,we=xe.tabIndex,Pe=xe.onClick,Ae=xe.twoToneColor,Ue=(0,a.Z)(xe,Ne),_e=s.useContext(f),ct=_e.prefixCls,At=ct===void 0?"anticon":ct,vt=_e.rootClassName,qt=u()(vt,At,(0,o.Z)((0,o.Z)({},"".concat(At,"-").concat(We.name),!!We.name),"".concat(At,"-spin"),!!Fe||We.name==="loading"),ie),kt=we;kt===void 0&&Pe&&(kt=-1);var wt=$e?{msTransform:"rotate(".concat($e,"deg)"),transform:"rotate(".concat($e,"deg)")}:void 0,Kt=Z(Ae),Ct=(0,r.Z)(Kt,2),Ke=Ct[0],Et=Ct[1];return s.createElement("span",(0,t.Z)((0,t.Z)({role:"img","aria-label":We.name},Ue),{},{ref:D,tabIndex:kt,onClick:Pe,className:qt}),s.createElement(se,{icon:We,primaryColor:Ke,secondaryColor:Et,style:wt}))});at.displayName="AntdIcon",at.getTwoToneColor=de,at.setTwoToneColor=pe;var Ce=at},92443:function(v,g,e){"use strict";e.d(g,{Z:function(){return l}});var t=e(1413),r=e(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868 732h-70.3c-4.8 0-9.3 2.1-12.3 5.8-7 8.5-14.5 16.7-22.4 24.5a353.84 353.84 0 01-112.7 75.9A352.8 352.8 0 01512.4 866c-47.9 0-94.3-9.4-137.9-27.8a353.84 353.84 0 01-112.7-75.9 353.28 353.28 0 01-76-112.5C167.3 606.2 158 559.9 158 512s9.4-94.2 27.8-137.8c17.8-42.1 43.4-80 76-112.5s70.5-58.1 112.7-75.9c43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 7.9 7.9 15.3 16.1 22.4 24.5 3 3.7 7.6 5.8 12.3 5.8H868c6.3 0 10.2-7 6.7-12.3C798 160.5 663.8 81.6 511.3 82 271.7 82.6 79.6 277.1 82 516.4 84.4 751.9 276.2 942 512.4 942c152.1 0 285.7-78.8 362.3-197.7 3.4-5.3-.4-12.3-6.7-12.3zm88.9-226.3L815 393.7c-5.3-4.2-13-.4-13 6.3v76H488c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 000-12.6z"}}]},name:"logout",theme:"outlined"},a=o,s=e(91146),c=function(p,y){return r.createElement(s.Z,(0,t.Z)((0,t.Z)({},p),{},{ref:y,icon:a}))},u=r.forwardRef(c),l=u},87547:function(v,g,e){"use strict";e.d(g,{Z:function(){return l}});var t=e(1413),r=e(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},a=o,s=e(91146),c=function(p,y){return r.createElement(s.Z,(0,t.Z)((0,t.Z)({},p),{},{ref:y,icon:a}))},u=r.forwardRef(c),l=u},87909:function(v,g,e){"use strict";e.d(g,{q:function(){return E}});var t=e(1413),r=e(87462),o=e(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372zm5.6-532.7c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z"}}]},name:"copyright",theme:"outlined"},s=a,c=e(65555),u=function(N,oe){return o.createElement(c.Z,(0,r.Z)({},N,{ref:oe,icon:s}))},l=o.forwardRef(u),f=l,p=e(21612),y=e(28459),m=e(93967),d=e.n(m),b=e(4942),C=e(98082),S=function(N){return(0,b.Z)({},N.componentCls,{marginBlock:0,marginBlockStart:48,marginBlockEnd:24,marginInline:0,paddingBlock:0,paddingInline:16,textAlign:"center","&-list":{marginBlockEnd:8,color:N.colorTextSecondary,"&-link":{color:N.colorTextSecondary,textDecoration:N.linkDecoration},"*:not(:last-child)":{marginInlineEnd:8},"&:hover":{color:N.colorPrimary}},"&-copyright":{fontSize:"14px",color:N.colorText}})};function x($){return(0,C.Xj)("ProLayoutFooter",function(N){var oe=(0,t.Z)((0,t.Z)({},N),{},{componentCls:".".concat($)});return[S(oe)]})}var T=e(85893),w=function(N){var oe=N.className,z=N.prefixCls,Y=N.links,te=N.copyright,ee=N.style,B=(0,o.useContext)(y.ZP.ConfigContext),ne=B.getPrefixCls(z||"pro-global-footer"),Q=x(ne),q=Q.wrapSSR,L=Q.hashId;return(Y==null||Y===!1||Array.isArray(Y)&&Y.length===0)&&(te==null||te===!1)?null:q((0,T.jsxs)("div",{className:d()(ne,L,oe),style:ee,children:[Y&&(0,T.jsx)("div",{className:"".concat(ne,"-list ").concat(L).trim(),children:Y.map(function(F){return(0,T.jsx)("a",{className:"".concat(ne,"-list-link ").concat(L).trim(),title:F.key,target:F.blankTarget?"_blank":"_self",href:F.href,rel:"noreferrer",children:F.title},F.key)})}),te&&(0,T.jsx)("div",{className:"".concat(ne,"-copyright ").concat(L).trim(),children:te})]}))},j=p.Z.Footer,E=function(N){var oe=N.links,z=N.copyright,Y=N.style,te=N.className,ee=N.prefixCls;return(0,T.jsx)(j,{className:te,style:(0,t.Z)({padding:0},Y),children:(0,T.jsx)(w,{links:oe,prefixCls:ee,copyright:z===!1?null:(0,T.jsxs)(o.Fragment,{children:[(0,T.jsx)(f,{})," ",z]})})})}},14192:function(v,g,e){"use strict";e.d(g,{h:function(){return t}});var t={navTheme:"light",layout:"side",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!0,iconfontUrl:"",colorPrimary:"#1677FF",splitMenus:!1}},52676:function(v,g,e){"use strict";e.d(g,{e:function(){return C},G:function(){return b}});var t=e(12044),r=e(1413),o={"app.setting.pagestyle":"Page style setting","app.setting.pagestyle.dark":"Dark Menu style","app.setting.pagestyle.light":"Light Menu style","app.setting.pagestyle.realdark":"Dark style (Beta)","app.setting.content-width":"Content Width","app.setting.content-width.fixed":"Fixed","app.setting.content-width.fluid":"Fluid","app.setting.themecolor":"Theme Color","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.techBlue":"Tech Blue (default)","app.setting.themecolor.daybreak":"Daybreak Blue","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.sidermenutype":"SideMenu Type","app.setting.sidermenutype-sub":"Classic","app.setting.sidermenutype-group":"Grouping","app.setting.navigationmode":"Navigation Mode","app.setting.regionalsettings":"Regional Settings","app.setting.regionalsettings.header":"Header","app.setting.regionalsettings.menu":"Menu","app.setting.regionalsettings.footer":"Footer","app.setting.regionalsettings.menuHeader":"Menu Header","app.setting.sidemenu":"Side Menu Layout","app.setting.topmenu":"Top Menu Layout","app.setting.mixmenu":"Mix Menu Layout","app.setting.splitMenus":"Split Menus","app.setting.fixedheader":"Fixed Header","app.setting.fixedsidebar":"Fixed Sidebar","app.setting.fixedsidebar.hint":"Works on Side Menu Layout","app.setting.hideheader":"Hidden Header when scrolling","app.setting.hideheader.hint":"Works when Hidden Header is enabled","app.setting.othersettings":"Other Settings","app.setting.weakmode":"Weak Mode","app.setting.copy":"Copy Setting","app.setting.loading":"Loading theme","app.setting.copyinfo":"copy success\uFF0Cplease replace defaultSettings in src/models/setting.js","app.setting.production.hint":"Setting panel shows in development environment only, please manually modify"},a=(0,r.Z)({},o),s={"app.setting.pagestyle":"Impostazioni di stile","app.setting.pagestyle.dark":"Tema scuro","app.setting.pagestyle.light":"Tema chiaro","app.setting.content-width":"Largezza contenuto","app.setting.content-width.fixed":"Fissa","app.setting.content-width.fluid":"Fluida","app.setting.themecolor":"Colore del tema","app.setting.themecolor.dust":"Rosso polvere","app.setting.themecolor.volcano":"Vulcano","app.setting.themecolor.sunset":"Arancione tramonto","app.setting.themecolor.cyan":"Ciano","app.setting.themecolor.green":"Verde polare","app.setting.themecolor.techBlue":"Tech Blu (default)","app.setting.themecolor.daybreak":"Blu cielo mattutino","app.setting.themecolor.geekblue":"Blu geek","app.setting.themecolor.purple":"Viola dorato","app.setting.navigationmode":"Modalit\xE0 di navigazione","app.setting.sidemenu":"Menu laterale","app.setting.topmenu":"Menu in testata","app.setting.mixmenu":"Menu misto","app.setting.splitMenus":"Menu divisi","app.setting.fixedheader":"Testata fissa","app.setting.fixedsidebar":"Menu laterale fisso","app.setting.fixedsidebar.hint":"Solo se selezionato Menu laterale","app.setting.hideheader":"Nascondi testata durante lo scorrimento","app.setting.hideheader.hint":"Solo se abilitato Nascondi testata durante lo scorrimento","app.setting.othersettings":"Altre impostazioni","app.setting.weakmode":"Inverti colori","app.setting.copy":"Copia impostazioni","app.setting.loading":"Carico tema...","app.setting.copyinfo":"Impostazioni copiate con successo! Incolla il contenuto in config/defaultSettings.js","app.setting.production.hint":"Questo pannello \xE8 visibile solo durante lo sviluppo. Le impostazioni devono poi essere modificate manulamente"},c=(0,r.Z)({},s),u={"app.setting.pagestyle":"\uC2A4\uD0C0\uC77C \uC124\uC815","app.setting.pagestyle.dark":"\uB2E4\uD06C \uBAA8\uB4DC","app.setting.pagestyle.light":"\uB77C\uC774\uD2B8 \uBAA8\uB4DC","app.setting.content-width":"\uCEE8\uD150\uCE20 \uB108\uBE44","app.setting.content-width.fixed":"\uACE0\uC815","app.setting.content-width.fluid":"\uD750\uB984","app.setting.themecolor":"\uD14C\uB9C8 \uC0C9\uC0C1","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.techBlue":"Tech Blu (default)","app.setting.themecolor.daybreak":"Daybreak Blue","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple","app.setting.navigationmode":"\uB124\uBE44\uAC8C\uC774\uC158 \uBAA8\uB4DC","app.setting.regionalsettings":"\uC601\uC5ED\uBCC4 \uC124\uC815","app.setting.regionalsettings.header":"\uD5E4\uB354","app.setting.regionalsettings.menu":"\uBA54\uB274","app.setting.regionalsettings.footer":"\uBC14\uB2E5\uAE00","app.setting.regionalsettings.menuHeader":"\uBA54\uB274 \uD5E4\uB354","app.setting.sidemenu":"\uBA54\uB274 \uC0AC\uC774\uB4DC \uBC30\uCE58","app.setting.topmenu":"\uBA54\uB274 \uC0C1\uB2E8 \uBC30\uCE58","app.setting.mixmenu":"\uD63C\uD569\uD615 \uBC30\uCE58","app.setting.splitMenus":"\uBA54\uB274 \uBD84\uB9AC","app.setting.fixedheader":"\uD5E4\uB354 \uACE0\uC815","app.setting.fixedsidebar":"\uC0AC\uC774\uB4DC\uBC14 \uACE0\uC815","app.setting.fixedsidebar.hint":"'\uBA54\uB274 \uC0AC\uC774\uB4DC \uBC30\uCE58'\uB97C \uC120\uD0DD\uD588\uC744 \uB54C \uB3D9\uC791\uD568","app.setting.hideheader":"\uC2A4\uD06C\uB864 \uC911 \uD5E4\uB354 \uAC10\uCD94\uAE30","app.setting.hideheader.hint":"'\uD5E4\uB354 \uAC10\uCD94\uAE30 \uC635\uC158'\uC744 \uC120\uD0DD\uD588\uC744 \uB54C \uB3D9\uC791\uD568","app.setting.othersettings":"\uB2E4\uB978 \uC124\uC815","app.setting.weakmode":"\uACE0\uB300\uBE44 \uBAA8\uB4DC","app.setting.copy":"\uC124\uC815\uAC12 \uBCF5\uC0AC","app.setting.loading":"\uD14C\uB9C8 \uB85C\uB529 \uC911","app.setting.copyinfo":"\uBCF5\uC0AC \uC131\uACF5. src/models/settings.js\uC5D0 \uC788\uB294 defaultSettings\uB97C \uAD50\uCCB4\uD574 \uC8FC\uC138\uC694.","app.setting.production.hint":"\uC124\uC815 \uD310\uB12C\uC740 \uAC1C\uBC1C \uD658\uACBD\uC5D0\uC11C\uB9CC \uBCF4\uC5EC\uC9D1\uB2C8\uB2E4. \uC9C1\uC811 \uC218\uB3D9\uC73C\uB85C \uBCC0\uACBD\uBC14\uB78D\uB2C8\uB2E4."},l=(0,r.Z)({},u),f={"app.setting.pagestyle":"\u6574\u4F53\u98CE\u683C\u8BBE\u7F6E","app.setting.pagestyle.dark":"\u6697\u8272\u83DC\u5355\u98CE\u683C","app.setting.pagestyle.light":"\u4EAE\u8272\u83DC\u5355\u98CE\u683C","app.setting.pagestyle.realdark":"\u6697\u8272\u98CE\u683C(\u5B9E\u9A8C\u529F\u80FD)","app.setting.content-width":"\u5185\u5BB9\u533A\u57DF\u5BBD\u5EA6","app.setting.content-width.fixed":"\u5B9A\u5BBD","app.setting.content-width.fluid":"\u6D41\u5F0F","app.setting.themecolor":"\u4E3B\u9898\u8272","app.setting.themecolor.dust":"\u8584\u66AE","app.setting.themecolor.volcano":"\u706B\u5C71","app.setting.themecolor.sunset":"\u65E5\u66AE","app.setting.themecolor.cyan":"\u660E\u9752","app.setting.themecolor.green":"\u6781\u5149\u7EFF","app.setting.themecolor.techBlue":"\u79D1\u6280\u84DD\uFF08\u9ED8\u8BA4\uFF09","app.setting.themecolor.daybreak":"\u62C2\u6653","app.setting.themecolor.geekblue":"\u6781\u5BA2\u84DD","app.setting.themecolor.purple":"\u9171\u7D2B","app.setting.navigationmode":"\u5BFC\u822A\u6A21\u5F0F","app.setting.sidermenutype":"\u4FA7\u8FB9\u83DC\u5355\u7C7B\u578B","app.setting.sidermenutype-sub":"\u7ECF\u5178\u6A21\u5F0F","app.setting.sidermenutype-group":"\u5206\u7EC4\u6A21\u5F0F","app.setting.regionalsettings":"\u5185\u5BB9\u533A\u57DF","app.setting.regionalsettings.header":"\u9876\u680F","app.setting.regionalsettings.menu":"\u83DC\u5355","app.setting.regionalsettings.footer":"\u9875\u811A","app.setting.regionalsettings.menuHeader":"\u83DC\u5355\u5934","app.setting.sidemenu":"\u4FA7\u8FB9\u83DC\u5355\u5E03\u5C40","app.setting.topmenu":"\u9876\u90E8\u83DC\u5355\u5E03\u5C40","app.setting.mixmenu":"\u6DF7\u5408\u83DC\u5355\u5E03\u5C40","app.setting.splitMenus":"\u81EA\u52A8\u5206\u5272\u83DC\u5355","app.setting.fixedheader":"\u56FA\u5B9A Header","app.setting.fixedsidebar":"\u56FA\u5B9A\u4FA7\u8FB9\u83DC\u5355","app.setting.fixedsidebar.hint":"\u4FA7\u8FB9\u83DC\u5355\u5E03\u5C40\u65F6\u53EF\u914D\u7F6E","app.setting.hideheader":"\u4E0B\u6ED1\u65F6\u9690\u85CF Header","app.setting.hideheader.hint":"\u56FA\u5B9A Header \u65F6\u53EF\u914D\u7F6E","app.setting.othersettings":"\u5176\u4ED6\u8BBE\u7F6E","app.setting.weakmode":"\u8272\u5F31\u6A21\u5F0F","app.setting.copy":"\u62F7\u8D1D\u8BBE\u7F6E","app.setting.loading":"\u6B63\u5728\u52A0\u8F7D\u4E3B\u9898","app.setting.copyinfo":"\u62F7\u8D1D\u6210\u529F\uFF0C\u8BF7\u5230 src/defaultSettings.js \u4E2D\u66FF\u6362\u9ED8\u8BA4\u914D\u7F6E","app.setting.production.hint":"\u914D\u7F6E\u680F\u53EA\u5728\u5F00\u53D1\u73AF\u5883\u7528\u4E8E\u9884\u89C8\uFF0C\u751F\u4EA7\u73AF\u5883\u4E0D\u4F1A\u5C55\u73B0\uFF0C\u8BF7\u62F7\u8D1D\u540E\u624B\u52A8\u4FEE\u6539\u914D\u7F6E\u6587\u4EF6"},p=(0,r.Z)({},f),y={"app.setting.pagestyle":"\u6574\u9AD4\u98A8\u683C\u8A2D\u7F6E","app.setting.pagestyle.dark":"\u6697\u8272\u83DC\u55AE\u98A8\u683C","app.setting.pagestyle.realdark":"\u6697\u8272\u98A8\u683C(\u5B9E\u9A8C\u529F\u80FD)","app.setting.pagestyle.light":"\u4EAE\u8272\u83DC\u55AE\u98A8\u683C","app.setting.content-width":"\u5167\u5BB9\u5340\u57DF\u5BEC\u5EA6","app.setting.content-width.fixed":"\u5B9A\u5BEC","app.setting.content-width.fluid":"\u6D41\u5F0F","app.setting.themecolor":"\u4E3B\u984C\u8272","app.setting.themecolor.dust":"\u8584\u66AE","app.setting.themecolor.volcano":"\u706B\u5C71","app.setting.themecolor.sunset":"\u65E5\u66AE","app.setting.themecolor.cyan":"\u660E\u9752","app.setting.themecolor.green":"\u6975\u5149\u7DA0","app.setting.themecolor.techBlue":"\u79D1\u6280\u84DD\uFF08\u9ED8\u8A8D\uFF09","app.setting.themecolor.daybreak":"\u62C2\u66C9\u85CD","app.setting.themecolor.geekblue":"\u6975\u5BA2\u85CD","app.setting.themecolor.purple":"\u91AC\u7D2B","app.setting.navigationmode":"\u5C0E\u822A\u6A21\u5F0F","app.setting.sidemenu":"\u5074\u908A\u83DC\u55AE\u5E03\u5C40","app.setting.topmenu":"\u9802\u90E8\u83DC\u55AE\u5E03\u5C40","app.setting.mixmenu":"\u6DF7\u5408\u83DC\u55AE\u5E03\u5C40","app.setting.splitMenus":"\u81EA\u52A8\u5206\u5272\u83DC\u5355","app.setting.fixedheader":"\u56FA\u5B9A Header","app.setting.fixedsidebar":"\u56FA\u5B9A\u5074\u908A\u83DC\u55AE","app.setting.fixedsidebar.hint":"\u5074\u908A\u83DC\u55AE\u5E03\u5C40\u6642\u53EF\u914D\u7F6E","app.setting.hideheader":"\u4E0B\u6ED1\u6642\u96B1\u85CF Header","app.setting.hideheader.hint":"\u56FA\u5B9A Header \u6642\u53EF\u914D\u7F6E","app.setting.othersettings":"\u5176\u4ED6\u8A2D\u7F6E","app.setting.weakmode":"\u8272\u5F31\u6A21\u5F0F","app.setting.copy":"\u62F7\u8C9D\u8A2D\u7F6E","app.setting.loading":"\u6B63\u5728\u52A0\u8F09\u4E3B\u984C","app.setting.copyinfo":"\u62F7\u8C9D\u6210\u529F\uFF0C\u8ACB\u5230 src/defaultSettings.js \u4E2D\u66FF\u63DB\u9ED8\u8A8D\u914D\u7F6E","app.setting.production.hint":"\u914D\u7F6E\u6B04\u53EA\u5728\u958B\u767C\u74B0\u5883\u7528\u65BC\u9810\u89BD\uFF0C\u751F\u7522\u74B0\u5883\u4E0D\u6703\u5C55\u73FE\uFF0C\u8ACB\u62F7\u8C9D\u5F8C\u624B\u52D5\u4FEE\u6539\u914D\u7F6E\u6587\u4EF6"},m=(0,r.Z)({},y),d={"zh-CN":p,"zh-TW":m,"en-US":a,"it-IT":c,"ko-KR":l},b=function(){if(!(0,t.j)())return"zh-CN";var x=window.localStorage.getItem("umi_locale");return x||window.g_locale||navigator.language},C=function(){var x=b();return d[x]||d["zh-CN"]}},62812:function(v,g,e){"use strict";e.d(g,{O7:function(){return r},QX:function(){return s},tV:function(){return a}});var t=e(1413),r=function c(u){return(u||[]).reduce(function(l,f){if(f.key&&l.push(f.key),f.children||f.routes){var p=l.concat(c(f.children||f.routes)||[]);return p}return l},[])},o={techBlue:"#1677FF",daybreak:"#1890ff",dust:"#F5222D",volcano:"#FA541C",sunset:"#FAAD14",cyan:"#13C2C2",green:"#52C41A",geekblue:"#2F54EB",purple:"#722ED1"};function a(c){return c&&o[c]?o[c]:c||""}function s(c){return c.map(function(u){var l=u.children||[],f=(0,t.Z)({},u);if(!f.children&&f.routes&&(f.children=f.routes),!f.name||f.hideInMenu)return null;if(f&&f!==null&&f!==void 0&&f.children){if(!f.hideChildrenInMenu&&l.some(function(p){return p&&p.name&&!p.hideInMenu}))return(0,t.Z)((0,t.Z)({},u),{},{children:s(l)});delete f.children}return delete f.routes,f}).filter(function(u){return u})}},34853:function(v,g,e){"use strict";e.r(g),e.d(g,{blue:function(){return B},cyan:function(){return ee},geekblue:function(){return ne},generate:function(){return x},gold:function(){return N},gray:function(){return F},green:function(){return te},grey:function(){return L},lime:function(){return Y},magenta:function(){return q},orange:function(){return oe},presetDarkPalettes:function(){return j},presetPalettes:function(){return w},presetPrimaryColors:function(){return T},purple:function(){return Q},red:function(){return E},volcano:function(){return $},yellow:function(){return z}});var t=e(86500),r=e(1350),o=2,a=.16,s=.05,c=.05,u=.15,l=5,f=4,p=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function y(I){var M=I.r,R=I.g,H=I.b,ae=(0,t.py)(M,R,H);return{h:ae.h*360,s:ae.s,v:ae.v}}function m(I){var M=I.r,R=I.g,H=I.b;return"#".concat((0,t.vq)(M,R,H,!1))}function d(I,M,R){var H=R/100,ae={r:(M.r-I.r)*H+I.r,g:(M.g-I.g)*H+I.g,b:(M.b-I.b)*H+I.b};return ae}function b(I,M,R){var H;return Math.round(I.h)>=60&&Math.round(I.h)<=240?H=R?Math.round(I.h)-o*M:Math.round(I.h)+o*M:H=R?Math.round(I.h)+o*M:Math.round(I.h)-o*M,H<0?H+=360:H>=360&&(H-=360),H}function C(I,M,R){if(I.h===0&&I.s===0)return I.s;var H;return R?H=I.s-a*M:M===f?H=I.s+a:H=I.s+s*M,H>1&&(H=1),R&&M===l&&H>.1&&(H=.1),H<.06&&(H=.06),Number(H.toFixed(2))}function S(I,M,R){var H;return R?H=I.v+c*M:H=I.v-u*M,H>1&&(H=1),Number(H.toFixed(2))}function x(I){for(var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},R=[],H=(0,r.uA)(I),ae=l;ae>0;ae-=1){var X=y(H),G=m((0,r.uA)({h:b(X,ae,!0),s:C(X,ae,!0),v:S(X,ae,!0)}));R.push(G)}R.push(m(H));for(var ce=1;ce<=f;ce+=1){var he=y(H),Re=m((0,r.uA)({h:b(he,ce),s:C(he,ce),v:S(he,ce)}));R.push(Re)}return M.theme==="dark"?p.map(function(Ie){var Ze=Ie.index,nt=Ie.opacity,pt=m(d((0,r.uA)(M.backgroundColor||"#141414"),(0,r.uA)(R[Ze]),nt*100));return pt}):R}var T={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},w={},j={};Object.keys(T).forEach(function(I){w[I]=x(T[I]),w[I].primary=w[I][5],j[I]=x(T[I],{theme:"dark",backgroundColor:"#141414"}),j[I].primary=j[I][5]});var E=w.red,$=w.volcano,N=w.gold,oe=w.orange,z=w.yellow,Y=w.lime,te=w.green,ee=w.cyan,B=w.blue,ne=w.geekblue,Q=w.purple,q=w.magenta,L=w.grey,F=w.grey},65555:function(v,g,e){"use strict";e.d(g,{Z:function(){return $}});var t=e(87462),r=e(97685),o=e(4942),a=e(91),s=e(67294),c=e(93967),u=e.n(c),l=e(34853),f=e(2446),p=e(1413),y=e(14004),m=["icon","className","onClick","style","primaryColor","secondaryColor"],d={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function b(N){var oe=N.primaryColor,z=N.secondaryColor;d.primaryColor=oe,d.secondaryColor=z||(0,y.pw)(oe),d.calculated=!!z}function C(){return(0,p.Z)({},d)}var S=function(oe){var z=oe.icon,Y=oe.className,te=oe.onClick,ee=oe.style,B=oe.primaryColor,ne=oe.secondaryColor,Q=(0,a.Z)(oe,m),q=s.useRef(),L=d;if(B&&(L={primaryColor:B,secondaryColor:ne||(0,y.pw)(B)}),(0,y.C3)(q),(0,y.Kp)((0,y.r)(z),"icon should be icon definiton, but got ".concat(z)),!(0,y.r)(z))return null;var F=z;return F&&typeof F.icon=="function"&&(F=(0,p.Z)((0,p.Z)({},F),{},{icon:F.icon(L.primaryColor,L.secondaryColor)})),(0,y.R_)(F.icon,"svg-".concat(F.name),(0,p.Z)((0,p.Z)({className:Y,onClick:te,style:ee,"data-icon":F.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},Q),{},{ref:q}))};S.displayName="IconReact",S.getTwoToneColors=C,S.setTwoToneColors=b;var x=S;function T(N){var oe=(0,y.H9)(N),z=(0,r.Z)(oe,2),Y=z[0],te=z[1];return x.setTwoToneColors({primaryColor:Y,secondaryColor:te})}function w(){var N=x.getTwoToneColors();return N.calculated?[N.primaryColor,N.secondaryColor]:N.primaryColor}var j=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];T(l.blue.primary);var E=s.forwardRef(function(N,oe){var z=N.className,Y=N.icon,te=N.spin,ee=N.rotate,B=N.tabIndex,ne=N.onClick,Q=N.twoToneColor,q=(0,a.Z)(N,j),L=s.useContext(f.Z),F=L.prefixCls,I=F===void 0?"anticon":F,M=L.rootClassName,R=u()(M,I,(0,o.Z)((0,o.Z)({},"".concat(I,"-").concat(Y.name),!!Y.name),"".concat(I,"-spin"),!!te||Y.name==="loading"),z),H=B;H===void 0&&ne&&(H=-1);var ae=ee?{msTransform:"rotate(".concat(ee,"deg)"),transform:"rotate(".concat(ee,"deg)")}:void 0,X=(0,y.H9)(Q),G=(0,r.Z)(X,2),ce=G[0],he=G[1];return s.createElement("span",(0,t.Z)({role:"img","aria-label":Y.name},q,{ref:oe,tabIndex:H,onClick:ne,className:R}),s.createElement(x,{icon:Y,primaryColor:ce,secondaryColor:he,style:ae}))});E.displayName="AntdIcon",E.getTwoToneColor=w,E.setTwoToneColor=T;var $=E},2446:function(v,g,e){"use strict";var t=e(67294),r=(0,t.createContext)({});g.Z=r},14004:function(v,g,e){"use strict";e.d(g,{C3:function(){return T},H9:function(){return C},Kp:function(){return p},R_:function(){return d},pw:function(){return b},r:function(){return y},vD:function(){return S}});var t=e(1413),r=e(71002),o=e(34853),a=e(44958),s=e(27571),c=e(80334),u=e(67294),l=e(2446);function f(w){return w.replace(/-(.)/g,function(j,E){return E.toUpperCase()})}function p(w,j){(0,c.ZP)(w,"[@ant-design/icons] ".concat(j))}function y(w){return(0,r.Z)(w)==="object"&&typeof w.name=="string"&&typeof w.theme=="string"&&((0,r.Z)(w.icon)==="object"||typeof w.icon=="function")}function m(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(w).reduce(function(j,E){var $=w[E];switch(E){case"class":j.className=$,delete j.class;break;default:delete j[E],j[f(E)]=$}return j},{})}function d(w,j,E){return E?u.createElement(w.tag,(0,t.Z)((0,t.Z)({key:j},m(w.attrs)),E),(w.children||[]).map(function($,N){return d($,"".concat(j,"-").concat(w.tag,"-").concat(N))})):u.createElement(w.tag,(0,t.Z)({key:j},m(w.attrs)),(w.children||[]).map(function($,N){return d($,"".concat(j,"-").concat(w.tag,"-").concat(N))}))}function b(w){return(0,o.generate)(w)[0]}function C(w){return w?Array.isArray(w)?w:[w]:[]}var S={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},x=` .anticon { display: inline-flex; align-items: center; @@ -110,45 +110,45 @@ transform: rotate(360deg); } } -`,w=function(j){var E=(0,u.useContext)(l.Z),$=E.csp,N=E.prefixCls,oe=x;N&&(oe=oe.replace(/anticon/g,N)),(0,u.useEffect)(function(){var Z=j.current,Y=(0,s.A)(Z);(0,a.hq)(oe,"@ant-design-icons",{prepend:!0,csp:$,attachTo:Y})},[])}},10915:function(v,g,e){"use strict";e.d(g,{_Y:function(){return B},L_:function(){return Q},ZP:function(){return q},nu:function(){return oe},YB:function(){return ne}});var t=e(74902),r=e(97685),o=e(91),a=e(1413),s=e(54548),c=e(28459),u=e(37029),l=e(67294),f=e(81758),p=e(32818),y=e(27484),m=e.n(y),d=e(98082),b=function(F,T){var I,R,z,ae,X,G=(0,a.Z)({},F);return(0,a.Z)((0,a.Z)({bgLayout:"linear-gradient(".concat(T.colorBgContainer,", ").concat(T.colorBgLayout," 28%)"),colorTextAppListIcon:T.colorTextSecondary,appListIconHoverBgColor:G==null||(I=G.sider)===null||I===void 0?void 0:I.colorBgMenuItemSelected,colorBgAppListIconHover:(0,d.uK)(T.colorTextBase,.04),colorTextAppListIconHover:T.colorTextBase},G),{},{header:(0,a.Z)({colorBgHeader:(0,d.uK)(T.colorBgElevated,.6),colorBgScrollHeader:(0,d.uK)(T.colorBgElevated,.8),colorHeaderTitle:T.colorText,colorBgMenuItemHover:(0,d.uK)(T.colorTextBase,.03),colorBgMenuItemSelected:"transparent",colorBgMenuElevated:(G==null||(R=G.header)===null||R===void 0?void 0:R.colorBgHeader)!=="rgba(255, 255, 255, 0.6)"?(z=G.header)===null||z===void 0?void 0:z.colorBgHeader:T.colorBgElevated,colorTextMenuSelected:(0,d.uK)(T.colorTextBase,.95),colorBgRightActionsItemHover:(0,d.uK)(T.colorTextBase,.03),colorTextRightActionsItem:T.colorTextTertiary,heightLayoutHeader:56,colorTextMenu:T.colorTextSecondary,colorTextMenuSecondary:T.colorTextTertiary,colorTextMenuTitle:T.colorText,colorTextMenuActive:T.colorText},G.header),sider:(0,a.Z)({paddingInlineLayoutMenu:8,paddingBlockLayoutMenu:0,colorBgCollapsedButton:T.colorBgElevated,colorTextCollapsedButtonHover:T.colorTextSecondary,colorTextCollapsedButton:(0,d.uK)(T.colorTextBase,.25),colorMenuBackground:"transparent",colorMenuItemDivider:(0,d.uK)(T.colorTextBase,.06),colorBgMenuItemHover:(0,d.uK)(T.colorTextBase,.03),colorBgMenuItemSelected:(0,d.uK)(T.colorTextBase,.04),colorTextMenuItemHover:T.colorText,colorTextMenuSelected:(0,d.uK)(T.colorTextBase,.95),colorTextMenuActive:T.colorText,colorTextMenu:T.colorTextSecondary,colorTextMenuSecondary:T.colorTextTertiary,colorTextMenuTitle:T.colorText,colorTextSubMenuSelected:(0,d.uK)(T.colorTextBase,.95)},G.sider),pageContainer:(0,a.Z)({colorBgPageContainer:"transparent",paddingInlinePageContainerContent:((ae=G.pageContainer)===null||ae===void 0?void 0:ae.marginInlinePageContainerContent)||40,paddingBlockPageContainerContent:((X=G.pageContainer)===null||X===void 0?void 0:X.marginBlockPageContainerContent)||32,colorBgPageContainerFixed:T.colorBgElevated},G.pageContainer)})},C=e(67804),S=e(71002),x=function(){for(var F={},T=arguments.length,I=new Array(T),R=0;R1&&arguments[1]!==void 0?arguments[1]:1,d=3735928559^m,b=1103547991^m,C=0,S;C>>16,2246822507)^Math.imul(b^b>>>13,3266489909),b=Math.imul(b^b>>>16,2246822507)^Math.imul(d^d>>>13,3266489909),4294967296*(2097151&b)+(d>>>0)},u=(0,r.jG)(function(p){return p}),l={theme:u,token:(0,t.Z)((0,t.Z)({},s),o.Z===null||o.Z===void 0||(a=o.Z.defaultAlgorithm)===null||a===void 0?void 0:a.call(o.Z,o.Z===null||o.Z===void 0?void 0:o.Z.defaultSeed)),hashId:"pro-".concat(c(JSON.stringify(s)))},f=function(){return l}},1977:function(v,g,e){"use strict";e.d(g,{n:function(){return p}});var t=e(97685),r=e(71002),o=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,a=function(m){return m==="*"||m==="x"||m==="X"},s=function(m){var d=parseInt(m,10);return isNaN(d)?m:d},c=function(m,d){return(0,r.Z)(m)!==(0,r.Z)(d)?[String(m),String(d)]:[m,d]},u=function(m,d){if(a(m)||a(d))return 0;var b=c(s(m),s(d)),C=(0,t.Z)(b,2),S=C[0],x=C[1];return S>x?1:S-1?{open:l,onOpenChange:f}:{visible:l,onVisibleChange:f};return(0,r.Y)(p)}},12044:function(v,g,e){"use strict";e.d(g,{j:function(){return o}});var t=e(34155),r=typeof t!="undefined"&&t.versions!=null&&t.versions.node!=null,o=function(){return typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.matchMedia!="undefined"&&!r}},92210:function(v,g,e){"use strict";e.d(g,{T:function(){return o}});var t=e(1413),r=e(71002),o=function(){for(var s={},c=arguments.length,u=new Array(c),l=0;l.5?N/(2-w-O):N/(w+O),w){case C:j=(S-x)/N+(S1&&(x-=1),x<.16666666666666666?C+(S-C)*(6*x):x<.5?S:x<.6666666666666666?C+(S-C)*(.6666666666666666-x)*6:C}function s(C,S,x){var w,O,j;if(C=(0,t.sh)(C,360),S=(0,t.sh)(S,100),x=(0,t.sh)(x,100),S===0)O=x,j=x,w=x;else{var E=x<.5?x*(1+S):x+S-x*S,$=2*x-E;w=a($,E,C+.3333333333333333),O=a($,E,C),j=a($,E,C-.3333333333333333)}return{r:w*255,g:O*255,b:j*255}}function c(C,S,x){C=(0,t.sh)(C,255),S=(0,t.sh)(S,255),x=(0,t.sh)(x,255);var w=Math.max(C,S,x),O=Math.min(C,S,x),j=0,E=w,$=w-O,N=w===0?0:$/w;if(w===O)j=0;else{switch(w){case C:j=(S-x)/$+(S>16,g:(C&65280)>>8,b:C&255}}},48701:function(v,g,e){"use strict";e.d(g,{R:function(){return t}});var t={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},1350:function(v,g,e){"use strict";e.d(g,{uA:function(){return a}});var t=e(86500),r=e(48701),o=e(90279);function a(d){var b={r:0,g:0,b:0},C=1,S=null,x=null,w=null,O=!1,j=!1;return typeof d=="string"&&(d=y(d)),typeof d=="object"&&(m(d.r)&&m(d.g)&&m(d.b)?(b=(0,t.rW)(d.r,d.g,d.b),O=!0,j=String(d.r).substr(-1)==="%"?"prgb":"rgb"):m(d.h)&&m(d.s)&&m(d.v)?(S=(0,o.JX)(d.s),x=(0,o.JX)(d.v),b=(0,t.WE)(d.h,S,x),O=!0,j="hsv"):m(d.h)&&m(d.s)&&m(d.l)&&(S=(0,o.JX)(d.s),w=(0,o.JX)(d.l),b=(0,t.ve)(d.h,S,w),O=!0,j="hsl"),Object.prototype.hasOwnProperty.call(d,"a")&&(C=d.a)),C=(0,o.Yq)(C),{ok:O,format:d.format||j,r:Math.min(255,Math.max(b.r,0)),g:Math.min(255,Math.max(b.g,0)),b:Math.min(255,Math.max(b.b,0)),a:C}}var s="[-\\+]?\\d+%?",c="[-\\+]?\\d*\\.\\d+%?",u="(?:".concat(c,")|(?:").concat(s,")"),l="[\\s|\\(]+(".concat(u,")[,|\\s]+(").concat(u,")[,|\\s]+(").concat(u,")\\s*\\)?"),f="[\\s|\\(]+(".concat(u,")[,|\\s]+(").concat(u,")[,|\\s]+(").concat(u,")[,|\\s]+(").concat(u,")\\s*\\)?"),p={CSS_UNIT:new RegExp(u),rgb:new RegExp("rgb"+l),rgba:new RegExp("rgba"+f),hsl:new RegExp("hsl"+l),hsla:new RegExp("hsla"+f),hsv:new RegExp("hsv"+l),hsva:new RegExp("hsva"+f),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function y(d){if(d=d.trim().toLowerCase(),d.length===0)return!1;var b=!1;if(r.R[d])d=r.R[d],b=!0;else if(d==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var C=p.rgb.exec(d);return C?{r:C[1],g:C[2],b:C[3]}:(C=p.rgba.exec(d),C?{r:C[1],g:C[2],b:C[3],a:C[4]}:(C=p.hsl.exec(d),C?{h:C[1],s:C[2],l:C[3]}:(C=p.hsla.exec(d),C?{h:C[1],s:C[2],l:C[3],a:C[4]}:(C=p.hsv.exec(d),C?{h:C[1],s:C[2],v:C[3]}:(C=p.hsva.exec(d),C?{h:C[1],s:C[2],v:C[3],a:C[4]}:(C=p.hex8.exec(d),C?{r:(0,t.VD)(C[1]),g:(0,t.VD)(C[2]),b:(0,t.VD)(C[3]),a:(0,t.T6)(C[4]),format:b?"name":"hex8"}:(C=p.hex6.exec(d),C?{r:(0,t.VD)(C[1]),g:(0,t.VD)(C[2]),b:(0,t.VD)(C[3]),format:b?"name":"hex"}:(C=p.hex4.exec(d),C?{r:(0,t.VD)(C[1]+C[1]),g:(0,t.VD)(C[2]+C[2]),b:(0,t.VD)(C[3]+C[3]),a:(0,t.T6)(C[4]+C[4]),format:b?"name":"hex8"}:(C=p.hex3.exec(d),C?{r:(0,t.VD)(C[1]+C[1]),g:(0,t.VD)(C[2]+C[2]),b:(0,t.VD)(C[3]+C[3]),format:b?"name":"hex"}:!1)))))))))}function m(d){return!!p.CSS_UNIT.exec(String(d))}},10274:function(v,g,e){"use strict";e.d(g,{C:function(){return s}});var t=e(86500),r=e(48701),o=e(1350),a=e(90279),s=function(){function u(l,f){l===void 0&&(l=""),f===void 0&&(f={});var p;if(l instanceof u)return l;typeof l=="number"&&(l=(0,t.Yt)(l)),this.originalInput=l;var y=(0,o.uA)(l);this.originalInput=l,this.r=y.r,this.g=y.g,this.b=y.b,this.a=y.a,this.roundA=Math.round(100*this.a)/100,this.format=(p=f.format)!==null&&p!==void 0?p:y.format,this.gradientType=f.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=y.ok}return u.prototype.isDark=function(){return this.getBrightness()<128},u.prototype.isLight=function(){return!this.isDark()},u.prototype.getBrightness=function(){var l=this.toRgb();return(l.r*299+l.g*587+l.b*114)/1e3},u.prototype.getLuminance=function(){var l=this.toRgb(),f,p,y,m=l.r/255,d=l.g/255,b=l.b/255;return m<=.03928?f=m/12.92:f=Math.pow((m+.055)/1.055,2.4),d<=.03928?p=d/12.92:p=Math.pow((d+.055)/1.055,2.4),b<=.03928?y=b/12.92:y=Math.pow((b+.055)/1.055,2.4),.2126*f+.7152*p+.0722*y},u.prototype.getAlpha=function(){return this.a},u.prototype.setAlpha=function(l){return this.a=(0,a.Yq)(l),this.roundA=Math.round(100*this.a)/100,this},u.prototype.isMonochrome=function(){var l=this.toHsl().s;return l===0},u.prototype.toHsv=function(){var l=(0,t.py)(this.r,this.g,this.b);return{h:l.h*360,s:l.s,v:l.v,a:this.a}},u.prototype.toHsvString=function(){var l=(0,t.py)(this.r,this.g,this.b),f=Math.round(l.h*360),p=Math.round(l.s*100),y=Math.round(l.v*100);return this.a===1?"hsv(".concat(f,", ").concat(p,"%, ").concat(y,"%)"):"hsva(".concat(f,", ").concat(p,"%, ").concat(y,"%, ").concat(this.roundA,")")},u.prototype.toHsl=function(){var l=(0,t.lC)(this.r,this.g,this.b);return{h:l.h*360,s:l.s,l:l.l,a:this.a}},u.prototype.toHslString=function(){var l=(0,t.lC)(this.r,this.g,this.b),f=Math.round(l.h*360),p=Math.round(l.s*100),y=Math.round(l.l*100);return this.a===1?"hsl(".concat(f,", ").concat(p,"%, ").concat(y,"%)"):"hsla(".concat(f,", ").concat(p,"%, ").concat(y,"%, ").concat(this.roundA,")")},u.prototype.toHex=function(l){return l===void 0&&(l=!1),(0,t.vq)(this.r,this.g,this.b,l)},u.prototype.toHexString=function(l){return l===void 0&&(l=!1),"#"+this.toHex(l)},u.prototype.toHex8=function(l){return l===void 0&&(l=!1),(0,t.s)(this.r,this.g,this.b,this.a,l)},u.prototype.toHex8String=function(l){return l===void 0&&(l=!1),"#"+this.toHex8(l)},u.prototype.toHexShortString=function(l){return l===void 0&&(l=!1),this.a===1?this.toHexString(l):this.toHex8String(l)},u.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},u.prototype.toRgbString=function(){var l=Math.round(this.r),f=Math.round(this.g),p=Math.round(this.b);return this.a===1?"rgb(".concat(l,", ").concat(f,", ").concat(p,")"):"rgba(".concat(l,", ").concat(f,", ").concat(p,", ").concat(this.roundA,")")},u.prototype.toPercentageRgb=function(){var l=function(f){return"".concat(Math.round((0,a.sh)(f,255)*100),"%")};return{r:l(this.r),g:l(this.g),b:l(this.b),a:this.a}},u.prototype.toPercentageRgbString=function(){var l=function(f){return Math.round((0,a.sh)(f,255)*100)};return this.a===1?"rgb(".concat(l(this.r),"%, ").concat(l(this.g),"%, ").concat(l(this.b),"%)"):"rgba(".concat(l(this.r),"%, ").concat(l(this.g),"%, ").concat(l(this.b),"%, ").concat(this.roundA,")")},u.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var l="#"+(0,t.vq)(this.r,this.g,this.b,!1),f=0,p=Object.entries(r.R);f=0,m=!f&&y&&(l.startsWith("hex")||l==="name");return m?l==="name"&&this.a===0?this.toName():this.toRgbString():(l==="rgb"&&(p=this.toRgbString()),l==="prgb"&&(p=this.toPercentageRgbString()),(l==="hex"||l==="hex6")&&(p=this.toHexString()),l==="hex3"&&(p=this.toHexString(!0)),l==="hex4"&&(p=this.toHex8String(!0)),l==="hex8"&&(p=this.toHex8String()),l==="name"&&(p=this.toName()),l==="hsl"&&(p=this.toHslString()),l==="hsv"&&(p=this.toHsvString()),p||this.toHexString())},u.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},u.prototype.clone=function(){return new u(this.toString())},u.prototype.lighten=function(l){l===void 0&&(l=10);var f=this.toHsl();return f.l+=l/100,f.l=(0,a.V2)(f.l),new u(f)},u.prototype.brighten=function(l){l===void 0&&(l=10);var f=this.toRgb();return f.r=Math.max(0,Math.min(255,f.r-Math.round(255*-(l/100)))),f.g=Math.max(0,Math.min(255,f.g-Math.round(255*-(l/100)))),f.b=Math.max(0,Math.min(255,f.b-Math.round(255*-(l/100)))),new u(f)},u.prototype.darken=function(l){l===void 0&&(l=10);var f=this.toHsl();return f.l-=l/100,f.l=(0,a.V2)(f.l),new u(f)},u.prototype.tint=function(l){return l===void 0&&(l=10),this.mix("white",l)},u.prototype.shade=function(l){return l===void 0&&(l=10),this.mix("black",l)},u.prototype.desaturate=function(l){l===void 0&&(l=10);var f=this.toHsl();return f.s-=l/100,f.s=(0,a.V2)(f.s),new u(f)},u.prototype.saturate=function(l){l===void 0&&(l=10);var f=this.toHsl();return f.s+=l/100,f.s=(0,a.V2)(f.s),new u(f)},u.prototype.greyscale=function(){return this.desaturate(100)},u.prototype.spin=function(l){var f=this.toHsl(),p=(f.h+l)%360;return f.h=p<0?360+p:p,new u(f)},u.prototype.mix=function(l,f){f===void 0&&(f=50);var p=this.toRgb(),y=new u(l).toRgb(),m=f/100,d={r:(y.r-p.r)*m+p.r,g:(y.g-p.g)*m+p.g,b:(y.b-p.b)*m+p.b,a:(y.a-p.a)*m+p.a};return new u(d)},u.prototype.analogous=function(l,f){l===void 0&&(l=6),f===void 0&&(f=30);var p=this.toHsl(),y=360/f,m=[this];for(p.h=(p.h-(y*l>>1)+720)%360;--l;)p.h=(p.h+y)%360,m.push(new u(p));return m},u.prototype.complement=function(){var l=this.toHsl();return l.h=(l.h+180)%360,new u(l)},u.prototype.monochromatic=function(l){l===void 0&&(l=6);for(var f=this.toHsv(),p=f.h,y=f.s,m=f.v,d=[],b=1/l;l--;)d.push(new u({h:p,s:y,v:m})),m=(m+b)%1;return d},u.prototype.splitcomplement=function(){var l=this.toHsl(),f=l.h;return[this,new u({h:(f+72)%360,s:l.s,l:l.l}),new u({h:(f+216)%360,s:l.s,l:l.l})]},u.prototype.onBackground=function(l){var f=this.toRgb(),p=new u(l).toRgb(),y=f.a+p.a*(1-f.a);return new u({r:(f.r*f.a+p.r*p.a*(1-f.a))/y,g:(f.g*f.a+p.g*p.a*(1-f.a))/y,b:(f.b*f.a+p.b*p.a*(1-f.a))/y,a:y})},u.prototype.triad=function(){return this.polyad(3)},u.prototype.tetrad=function(){return this.polyad(4)},u.prototype.polyad=function(l){for(var f=this.toHsl(),p=f.h,y=[this],m=360/l,d=1;d1)&&(l=1),l}function c(l){return l<=1?"".concat(Number(l)*100,"%"):l}function u(l){return l.length===1?"0"+l:String(l)}},2788:function(v,g,e){"use strict";e.d(g,{Z:function(){return oe}});var t=e(97685),r=e(67294),o=e(73935),a=e(98924),s=e(80334),c=e(42550),u=r.createContext(null),l=u,f=e(74902),p=e(8410),y=[];function m(Z,Y){var te=r.useState(function(){if(!(0,a.Z)())return null;var ae=document.createElement("div");return ae}),ee=(0,t.Z)(te,1),B=ee[0],ne=r.useRef(!1),Q=r.useContext(l),q=r.useState(y),L=(0,t.Z)(q,2),F=L[0],T=L[1],I=Q||(ne.current?void 0:function(ae){T(function(X){var G=[ae].concat((0,f.Z)(X));return G})});function R(){B.parentElement||document.body.appendChild(B),ne.current=!0}function z(){var ae;(ae=B.parentElement)===null||ae===void 0||ae.removeChild(B),ne.current=!1}return(0,p.Z)(function(){return Z?Q?Q(R):R():z(),z},[Z]),(0,p.Z)(function(){F.length&&(F.forEach(function(ae){return ae()}),T(y))},[F]),[B,I]}var d=e(44958),b=e(74204);function C(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var S="rc-util-locker-".concat(Date.now()),x=0;function w(Z){var Y=!!Z,te=r.useState(function(){return x+=1,"".concat(S,"_").concat(x)}),ee=(0,t.Z)(te,1),B=ee[0];(0,p.Z)(function(){if(Y){var ne=(0,b.o)(document.body).width,Q=C();(0,d.hq)(` +`,T=function(j){var E=(0,u.useContext)(l.Z),$=E.csp,N=E.prefixCls,oe=x;N&&(oe=oe.replace(/anticon/g,N)),(0,u.useEffect)(function(){var z=j.current,Y=(0,s.A)(z);(0,a.hq)(oe,"@ant-design-icons",{prepend:!0,csp:$,attachTo:Y})},[])}},10915:function(v,g,e){"use strict";e.d(g,{_Y:function(){return B},L_:function(){return Q},ZP:function(){return q},nu:function(){return oe},YB:function(){return ne}});var t=e(74902),r=e(97685),o=e(91),a=e(1413),s=e(54548),c=e(28459),u=e(37029),l=e(67294),f=e(81758),p=e(32818),y=e(27484),m=e.n(y),d=e(98082),b=function(F,I){var M,R,H,ae,X,G=(0,a.Z)({},F);return(0,a.Z)((0,a.Z)({bgLayout:"linear-gradient(".concat(I.colorBgContainer,", ").concat(I.colorBgLayout," 28%)"),colorTextAppListIcon:I.colorTextSecondary,appListIconHoverBgColor:G==null||(M=G.sider)===null||M===void 0?void 0:M.colorBgMenuItemSelected,colorBgAppListIconHover:(0,d.uK)(I.colorTextBase,.04),colorTextAppListIconHover:I.colorTextBase},G),{},{header:(0,a.Z)({colorBgHeader:(0,d.uK)(I.colorBgElevated,.6),colorBgScrollHeader:(0,d.uK)(I.colorBgElevated,.8),colorHeaderTitle:I.colorText,colorBgMenuItemHover:(0,d.uK)(I.colorTextBase,.03),colorBgMenuItemSelected:"transparent",colorBgMenuElevated:(G==null||(R=G.header)===null||R===void 0?void 0:R.colorBgHeader)!=="rgba(255, 255, 255, 0.6)"?(H=G.header)===null||H===void 0?void 0:H.colorBgHeader:I.colorBgElevated,colorTextMenuSelected:(0,d.uK)(I.colorTextBase,.95),colorBgRightActionsItemHover:(0,d.uK)(I.colorTextBase,.03),colorTextRightActionsItem:I.colorTextTertiary,heightLayoutHeader:56,colorTextMenu:I.colorTextSecondary,colorTextMenuSecondary:I.colorTextTertiary,colorTextMenuTitle:I.colorText,colorTextMenuActive:I.colorText},G.header),sider:(0,a.Z)({paddingInlineLayoutMenu:8,paddingBlockLayoutMenu:0,colorBgCollapsedButton:I.colorBgElevated,colorTextCollapsedButtonHover:I.colorTextSecondary,colorTextCollapsedButton:(0,d.uK)(I.colorTextBase,.25),colorMenuBackground:"transparent",colorMenuItemDivider:(0,d.uK)(I.colorTextBase,.06),colorBgMenuItemHover:(0,d.uK)(I.colorTextBase,.03),colorBgMenuItemSelected:(0,d.uK)(I.colorTextBase,.04),colorTextMenuItemHover:I.colorText,colorTextMenuSelected:(0,d.uK)(I.colorTextBase,.95),colorTextMenuActive:I.colorText,colorTextMenu:I.colorTextSecondary,colorTextMenuSecondary:I.colorTextTertiary,colorTextMenuTitle:I.colorText,colorTextSubMenuSelected:(0,d.uK)(I.colorTextBase,.95)},G.sider),pageContainer:(0,a.Z)({colorBgPageContainer:"transparent",paddingInlinePageContainerContent:((ae=G.pageContainer)===null||ae===void 0?void 0:ae.marginInlinePageContainerContent)||40,paddingBlockPageContainerContent:((X=G.pageContainer)===null||X===void 0?void 0:X.marginBlockPageContainerContent)||32,colorBgPageContainerFixed:I.colorBgElevated},G.pageContainer)})},C=e(67804),S=e(71002),x=function(){for(var F={},I=arguments.length,M=new Array(I),R=0;R1&&arguments[1]!==void 0?arguments[1]:1,d=3735928559^m,b=1103547991^m,C=0,S;C>>16,2246822507)^Math.imul(b^b>>>13,3266489909),b=Math.imul(b^b>>>16,2246822507)^Math.imul(d^d>>>13,3266489909),4294967296*(2097151&b)+(d>>>0)},u=(0,r.jG)(function(p){return p}),l={theme:u,token:(0,t.Z)((0,t.Z)({},s),o.Z===null||o.Z===void 0||(a=o.Z.defaultAlgorithm)===null||a===void 0?void 0:a.call(o.Z,o.Z===null||o.Z===void 0?void 0:o.Z.defaultSeed)),hashId:"pro-".concat(c(JSON.stringify(s)))},f=function(){return l}},1977:function(v,g,e){"use strict";e.d(g,{n:function(){return p}});var t=e(97685),r=e(71002),o=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,a=function(m){return m==="*"||m==="x"||m==="X"},s=function(m){var d=parseInt(m,10);return isNaN(d)?m:d},c=function(m,d){return(0,r.Z)(m)!==(0,r.Z)(d)?[String(m),String(d)]:[m,d]},u=function(m,d){if(a(m)||a(d))return 0;var b=c(s(m),s(d)),C=(0,t.Z)(b,2),S=C[0],x=C[1];return S>x?1:S-1?{open:l,onOpenChange:f}:{visible:l,onVisibleChange:f};return(0,r.Y)(p)}},12044:function(v,g,e){"use strict";e.d(g,{j:function(){return o}});var t=e(34155),r=typeof t!="undefined"&&t.versions!=null&&t.versions.node!=null,o=function(){return typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.matchMedia!="undefined"&&!r}},92210:function(v,g,e){"use strict";e.d(g,{T:function(){return o}});var t=e(1413),r=e(71002),o=function(){for(var s={},c=arguments.length,u=new Array(c),l=0;l.5?N/(2-T-w):N/(T+w),T){case C:j=(S-x)/N+(S1&&(x-=1),x<.16666666666666666?C+(S-C)*(6*x):x<.5?S:x<.6666666666666666?C+(S-C)*(.6666666666666666-x)*6:C}function s(C,S,x){var T,w,j;if(C=(0,t.sh)(C,360),S=(0,t.sh)(S,100),x=(0,t.sh)(x,100),S===0)w=x,j=x,T=x;else{var E=x<.5?x*(1+S):x+S-x*S,$=2*x-E;T=a($,E,C+.3333333333333333),w=a($,E,C),j=a($,E,C-.3333333333333333)}return{r:T*255,g:w*255,b:j*255}}function c(C,S,x){C=(0,t.sh)(C,255),S=(0,t.sh)(S,255),x=(0,t.sh)(x,255);var T=Math.max(C,S,x),w=Math.min(C,S,x),j=0,E=T,$=T-w,N=T===0?0:$/T;if(T===w)j=0;else{switch(T){case C:j=(S-x)/$+(S>16,g:(C&65280)>>8,b:C&255}}},48701:function(v,g,e){"use strict";e.d(g,{R:function(){return t}});var t={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},1350:function(v,g,e){"use strict";e.d(g,{uA:function(){return a}});var t=e(86500),r=e(48701),o=e(90279);function a(d){var b={r:0,g:0,b:0},C=1,S=null,x=null,T=null,w=!1,j=!1;return typeof d=="string"&&(d=y(d)),typeof d=="object"&&(m(d.r)&&m(d.g)&&m(d.b)?(b=(0,t.rW)(d.r,d.g,d.b),w=!0,j=String(d.r).substr(-1)==="%"?"prgb":"rgb"):m(d.h)&&m(d.s)&&m(d.v)?(S=(0,o.JX)(d.s),x=(0,o.JX)(d.v),b=(0,t.WE)(d.h,S,x),w=!0,j="hsv"):m(d.h)&&m(d.s)&&m(d.l)&&(S=(0,o.JX)(d.s),T=(0,o.JX)(d.l),b=(0,t.ve)(d.h,S,T),w=!0,j="hsl"),Object.prototype.hasOwnProperty.call(d,"a")&&(C=d.a)),C=(0,o.Yq)(C),{ok:w,format:d.format||j,r:Math.min(255,Math.max(b.r,0)),g:Math.min(255,Math.max(b.g,0)),b:Math.min(255,Math.max(b.b,0)),a:C}}var s="[-\\+]?\\d+%?",c="[-\\+]?\\d*\\.\\d+%?",u="(?:".concat(c,")|(?:").concat(s,")"),l="[\\s|\\(]+(".concat(u,")[,|\\s]+(").concat(u,")[,|\\s]+(").concat(u,")\\s*\\)?"),f="[\\s|\\(]+(".concat(u,")[,|\\s]+(").concat(u,")[,|\\s]+(").concat(u,")[,|\\s]+(").concat(u,")\\s*\\)?"),p={CSS_UNIT:new RegExp(u),rgb:new RegExp("rgb"+l),rgba:new RegExp("rgba"+f),hsl:new RegExp("hsl"+l),hsla:new RegExp("hsla"+f),hsv:new RegExp("hsv"+l),hsva:new RegExp("hsva"+f),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function y(d){if(d=d.trim().toLowerCase(),d.length===0)return!1;var b=!1;if(r.R[d])d=r.R[d],b=!0;else if(d==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var C=p.rgb.exec(d);return C?{r:C[1],g:C[2],b:C[3]}:(C=p.rgba.exec(d),C?{r:C[1],g:C[2],b:C[3],a:C[4]}:(C=p.hsl.exec(d),C?{h:C[1],s:C[2],l:C[3]}:(C=p.hsla.exec(d),C?{h:C[1],s:C[2],l:C[3],a:C[4]}:(C=p.hsv.exec(d),C?{h:C[1],s:C[2],v:C[3]}:(C=p.hsva.exec(d),C?{h:C[1],s:C[2],v:C[3],a:C[4]}:(C=p.hex8.exec(d),C?{r:(0,t.VD)(C[1]),g:(0,t.VD)(C[2]),b:(0,t.VD)(C[3]),a:(0,t.T6)(C[4]),format:b?"name":"hex8"}:(C=p.hex6.exec(d),C?{r:(0,t.VD)(C[1]),g:(0,t.VD)(C[2]),b:(0,t.VD)(C[3]),format:b?"name":"hex"}:(C=p.hex4.exec(d),C?{r:(0,t.VD)(C[1]+C[1]),g:(0,t.VD)(C[2]+C[2]),b:(0,t.VD)(C[3]+C[3]),a:(0,t.T6)(C[4]+C[4]),format:b?"name":"hex8"}:(C=p.hex3.exec(d),C?{r:(0,t.VD)(C[1]+C[1]),g:(0,t.VD)(C[2]+C[2]),b:(0,t.VD)(C[3]+C[3]),format:b?"name":"hex"}:!1)))))))))}function m(d){return!!p.CSS_UNIT.exec(String(d))}},10274:function(v,g,e){"use strict";e.d(g,{C:function(){return s}});var t=e(86500),r=e(48701),o=e(1350),a=e(90279),s=function(){function u(l,f){l===void 0&&(l=""),f===void 0&&(f={});var p;if(l instanceof u)return l;typeof l=="number"&&(l=(0,t.Yt)(l)),this.originalInput=l;var y=(0,o.uA)(l);this.originalInput=l,this.r=y.r,this.g=y.g,this.b=y.b,this.a=y.a,this.roundA=Math.round(100*this.a)/100,this.format=(p=f.format)!==null&&p!==void 0?p:y.format,this.gradientType=f.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=y.ok}return u.prototype.isDark=function(){return this.getBrightness()<128},u.prototype.isLight=function(){return!this.isDark()},u.prototype.getBrightness=function(){var l=this.toRgb();return(l.r*299+l.g*587+l.b*114)/1e3},u.prototype.getLuminance=function(){var l=this.toRgb(),f,p,y,m=l.r/255,d=l.g/255,b=l.b/255;return m<=.03928?f=m/12.92:f=Math.pow((m+.055)/1.055,2.4),d<=.03928?p=d/12.92:p=Math.pow((d+.055)/1.055,2.4),b<=.03928?y=b/12.92:y=Math.pow((b+.055)/1.055,2.4),.2126*f+.7152*p+.0722*y},u.prototype.getAlpha=function(){return this.a},u.prototype.setAlpha=function(l){return this.a=(0,a.Yq)(l),this.roundA=Math.round(100*this.a)/100,this},u.prototype.isMonochrome=function(){var l=this.toHsl().s;return l===0},u.prototype.toHsv=function(){var l=(0,t.py)(this.r,this.g,this.b);return{h:l.h*360,s:l.s,v:l.v,a:this.a}},u.prototype.toHsvString=function(){var l=(0,t.py)(this.r,this.g,this.b),f=Math.round(l.h*360),p=Math.round(l.s*100),y=Math.round(l.v*100);return this.a===1?"hsv(".concat(f,", ").concat(p,"%, ").concat(y,"%)"):"hsva(".concat(f,", ").concat(p,"%, ").concat(y,"%, ").concat(this.roundA,")")},u.prototype.toHsl=function(){var l=(0,t.lC)(this.r,this.g,this.b);return{h:l.h*360,s:l.s,l:l.l,a:this.a}},u.prototype.toHslString=function(){var l=(0,t.lC)(this.r,this.g,this.b),f=Math.round(l.h*360),p=Math.round(l.s*100),y=Math.round(l.l*100);return this.a===1?"hsl(".concat(f,", ").concat(p,"%, ").concat(y,"%)"):"hsla(".concat(f,", ").concat(p,"%, ").concat(y,"%, ").concat(this.roundA,")")},u.prototype.toHex=function(l){return l===void 0&&(l=!1),(0,t.vq)(this.r,this.g,this.b,l)},u.prototype.toHexString=function(l){return l===void 0&&(l=!1),"#"+this.toHex(l)},u.prototype.toHex8=function(l){return l===void 0&&(l=!1),(0,t.s)(this.r,this.g,this.b,this.a,l)},u.prototype.toHex8String=function(l){return l===void 0&&(l=!1),"#"+this.toHex8(l)},u.prototype.toHexShortString=function(l){return l===void 0&&(l=!1),this.a===1?this.toHexString(l):this.toHex8String(l)},u.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},u.prototype.toRgbString=function(){var l=Math.round(this.r),f=Math.round(this.g),p=Math.round(this.b);return this.a===1?"rgb(".concat(l,", ").concat(f,", ").concat(p,")"):"rgba(".concat(l,", ").concat(f,", ").concat(p,", ").concat(this.roundA,")")},u.prototype.toPercentageRgb=function(){var l=function(f){return"".concat(Math.round((0,a.sh)(f,255)*100),"%")};return{r:l(this.r),g:l(this.g),b:l(this.b),a:this.a}},u.prototype.toPercentageRgbString=function(){var l=function(f){return Math.round((0,a.sh)(f,255)*100)};return this.a===1?"rgb(".concat(l(this.r),"%, ").concat(l(this.g),"%, ").concat(l(this.b),"%)"):"rgba(".concat(l(this.r),"%, ").concat(l(this.g),"%, ").concat(l(this.b),"%, ").concat(this.roundA,")")},u.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var l="#"+(0,t.vq)(this.r,this.g,this.b,!1),f=0,p=Object.entries(r.R);f=0,m=!f&&y&&(l.startsWith("hex")||l==="name");return m?l==="name"&&this.a===0?this.toName():this.toRgbString():(l==="rgb"&&(p=this.toRgbString()),l==="prgb"&&(p=this.toPercentageRgbString()),(l==="hex"||l==="hex6")&&(p=this.toHexString()),l==="hex3"&&(p=this.toHexString(!0)),l==="hex4"&&(p=this.toHex8String(!0)),l==="hex8"&&(p=this.toHex8String()),l==="name"&&(p=this.toName()),l==="hsl"&&(p=this.toHslString()),l==="hsv"&&(p=this.toHsvString()),p||this.toHexString())},u.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},u.prototype.clone=function(){return new u(this.toString())},u.prototype.lighten=function(l){l===void 0&&(l=10);var f=this.toHsl();return f.l+=l/100,f.l=(0,a.V2)(f.l),new u(f)},u.prototype.brighten=function(l){l===void 0&&(l=10);var f=this.toRgb();return f.r=Math.max(0,Math.min(255,f.r-Math.round(255*-(l/100)))),f.g=Math.max(0,Math.min(255,f.g-Math.round(255*-(l/100)))),f.b=Math.max(0,Math.min(255,f.b-Math.round(255*-(l/100)))),new u(f)},u.prototype.darken=function(l){l===void 0&&(l=10);var f=this.toHsl();return f.l-=l/100,f.l=(0,a.V2)(f.l),new u(f)},u.prototype.tint=function(l){return l===void 0&&(l=10),this.mix("white",l)},u.prototype.shade=function(l){return l===void 0&&(l=10),this.mix("black",l)},u.prototype.desaturate=function(l){l===void 0&&(l=10);var f=this.toHsl();return f.s-=l/100,f.s=(0,a.V2)(f.s),new u(f)},u.prototype.saturate=function(l){l===void 0&&(l=10);var f=this.toHsl();return f.s+=l/100,f.s=(0,a.V2)(f.s),new u(f)},u.prototype.greyscale=function(){return this.desaturate(100)},u.prototype.spin=function(l){var f=this.toHsl(),p=(f.h+l)%360;return f.h=p<0?360+p:p,new u(f)},u.prototype.mix=function(l,f){f===void 0&&(f=50);var p=this.toRgb(),y=new u(l).toRgb(),m=f/100,d={r:(y.r-p.r)*m+p.r,g:(y.g-p.g)*m+p.g,b:(y.b-p.b)*m+p.b,a:(y.a-p.a)*m+p.a};return new u(d)},u.prototype.analogous=function(l,f){l===void 0&&(l=6),f===void 0&&(f=30);var p=this.toHsl(),y=360/f,m=[this];for(p.h=(p.h-(y*l>>1)+720)%360;--l;)p.h=(p.h+y)%360,m.push(new u(p));return m},u.prototype.complement=function(){var l=this.toHsl();return l.h=(l.h+180)%360,new u(l)},u.prototype.monochromatic=function(l){l===void 0&&(l=6);for(var f=this.toHsv(),p=f.h,y=f.s,m=f.v,d=[],b=1/l;l--;)d.push(new u({h:p,s:y,v:m})),m=(m+b)%1;return d},u.prototype.splitcomplement=function(){var l=this.toHsl(),f=l.h;return[this,new u({h:(f+72)%360,s:l.s,l:l.l}),new u({h:(f+216)%360,s:l.s,l:l.l})]},u.prototype.onBackground=function(l){var f=this.toRgb(),p=new u(l).toRgb(),y=f.a+p.a*(1-f.a);return new u({r:(f.r*f.a+p.r*p.a*(1-f.a))/y,g:(f.g*f.a+p.g*p.a*(1-f.a))/y,b:(f.b*f.a+p.b*p.a*(1-f.a))/y,a:y})},u.prototype.triad=function(){return this.polyad(3)},u.prototype.tetrad=function(){return this.polyad(4)},u.prototype.polyad=function(l){for(var f=this.toHsl(),p=f.h,y=[this],m=360/l,d=1;d1)&&(l=1),l}function c(l){return l<=1?"".concat(Number(l)*100,"%"):l}function u(l){return l.length===1?"0"+l:String(l)}},2788:function(v,g,e){"use strict";e.d(g,{Z:function(){return oe}});var t=e(97685),r=e(67294),o=e(73935),a=e(98924),s=e(80334),c=e(42550),u=r.createContext(null),l=u,f=e(74902),p=e(8410),y=[];function m(z,Y){var te=r.useState(function(){if(!(0,a.Z)())return null;var ae=document.createElement("div");return ae}),ee=(0,t.Z)(te,1),B=ee[0],ne=r.useRef(!1),Q=r.useContext(l),q=r.useState(y),L=(0,t.Z)(q,2),F=L[0],I=L[1],M=Q||(ne.current?void 0:function(ae){I(function(X){var G=[ae].concat((0,f.Z)(X));return G})});function R(){B.parentElement||document.body.appendChild(B),ne.current=!0}function H(){var ae;(ae=B.parentElement)===null||ae===void 0||ae.removeChild(B),ne.current=!1}return(0,p.Z)(function(){return z?Q?Q(R):R():H(),H},[z]),(0,p.Z)(function(){F.length&&(F.forEach(function(ae){return ae()}),I(y))},[F]),[B,M]}var d=e(44958),b=e(74204);function C(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var S="rc-util-locker-".concat(Date.now()),x=0;function T(z){var Y=!!z,te=r.useState(function(){return x+=1,"".concat(S,"_").concat(x)}),ee=(0,t.Z)(te,1),B=ee[0];(0,p.Z)(function(){if(Y){var ne=(0,b.o)(document.body).width,Q=C();(0,d.hq)(` html body { overflow-y: hidden; `.concat(Q?"width: calc(100% - ".concat(ne,"px);"):"",` -}`),B)}else(0,d.jL)(B);return function(){(0,d.jL)(B)}},[Y,B])}var O=!1;function j(Z){return typeof Z=="boolean"&&(O=Z),O}var E=function(Y){return Y===!1?!1:!(0,a.Z)()||!Y?null:typeof Y=="string"?document.querySelector(Y):typeof Y=="function"?Y():Y},$=r.forwardRef(function(Z,Y){var te=Z.open,ee=Z.autoLock,B=Z.getContainer,ne=Z.debug,Q=Z.autoDestroy,q=Q===void 0?!0:Q,L=Z.children,F=r.useState(te),T=(0,t.Z)(F,2),I=T[0],R=T[1],z=I||te;r.useEffect(function(){(q||te)&&R(te)},[te,q]);var ae=r.useState(function(){return E(B)}),X=(0,t.Z)(ae,2),G=X[0],ce=X[1];r.useEffect(function(){var U=E(B);ce(U!=null?U:null)});var he=m(z&&!G,ne),Re=(0,t.Z)(he,2),Ie=Re[0],Ze=Re[1],ot=G!=null?G:Ie;w(ee&&te&&(0,a.Z)()&&(ot===Ie||ot===document.body));var Je=null;if(L&&(0,c.Yr)(L)&&Y){var He=L;Je=He.ref}var qe=(0,c.x1)(Je,Y);if(!z||!(0,a.Z)()||G===void 0)return null;var Xe=ot===!1||j(),le=L;return Y&&(le=r.cloneElement(L,{ref:qe})),r.createElement(l.Provider,{value:Ze},Xe?le:(0,o.createPortal)(le,ot))}),N=$,oe=N},40228:function(v,g,e){"use strict";e.d(g,{Z:function(){return Xe}});var t=e(1413),r=e(97685),o=e(91),a=e(2788),s=e(93967),c=e.n(s),u=e(9220),l=e(34203),f=e(27571),p=e(66680),y=e(7028),m=e(8410),d=e(31131),b=e(67294),C=e(87462),S=e(82225),x=e(42550);function w(le){var U=le.prefixCls,M=le.align,D=le.arrow,K=le.arrowPos,k=D||{},J=k.className,ue=k.content,_=K.x,V=_===void 0?0:_,se=K.y,pe=se===void 0?0:se,de=b.useRef();if(!M||!M.points)return null;var Ne={position:"absolute"};if(M.autoArrow!==!1){var st=M.points[0],Ce=M.points[1],xe=st[0],A=st[1],ie=Ce[0],ke=Ce[1];xe===ie||!["t","b"].includes(xe)?Ne.top=pe:xe==="t"?Ne.top=0:Ne.bottom=0,A===ke||!["l","r"].includes(A)?Ne.left=V:A==="l"?Ne.left=0:Ne.right=0}return b.createElement("div",{ref:de,className:c()("".concat(U,"-arrow"),J),style:Ne},ue)}function O(le){var U=le.prefixCls,M=le.open,D=le.zIndex,K=le.mask,k=le.motion;return K?b.createElement(S.ZP,(0,C.Z)({},k,{motionAppear:!0,visible:M,removeOnLeave:!0}),function(J){var ue=J.className;return b.createElement("div",{style:{zIndex:D},className:c()("".concat(U,"-mask"),ue)})}):null}var j=b.memo(function(le){var U=le.children;return U},function(le,U){return U.cache}),E=j,$=b.forwardRef(function(le,U){var M=le.popup,D=le.className,K=le.prefixCls,k=le.style,J=le.target,ue=le.onVisibleChanged,_=le.open,V=le.keepDom,se=le.fresh,pe=le.onClick,de=le.mask,Ne=le.arrow,st=le.arrowPos,Ce=le.align,xe=le.motion,A=le.maskMotion,ie=le.forceRender,ke=le.getPopupContainer,Fe=le.autoDestroy,$e=le.portal,we=le.zIndex,Pe=le.onMouseEnter,Ae=le.onMouseLeave,We=le.onPointerEnter,tt=le.ready,dt=le.offsetX,At=le.offsetY,vt=le.offsetR,qt=le.offsetB,kt=le.onAlign,wt=le.onPrepare,Kt=le.stretch,Ct=le.targetWidth,Ge=le.targetHeight,Et=typeof M=="function"?M():M,Ut=_||V,gt=(ke==null?void 0:ke.length)>0,cn=b.useState(!ke||!gt),Ft=(0,r.Z)(cn,2),en=Ft[0],Yt=Ft[1];if((0,m.Z)(function(){!en&>&&J&&Yt(!0)},[en,gt,J]),!en)return null;var dn="auto",pn={left:"-1000vw",top:"-1000vh",right:dn,bottom:dn};if(tt||!_){var rn,On=Ce.points,An=Ce.dynamicInset||((rn=Ce._experimental)===null||rn===void 0?void 0:rn.dynamicInset),Jn=An&&On[0][1]==="r",Rr=An&&On[0][0]==="b";Jn?(pn.right=vt,pn.left=dn):(pn.left=dt,pn.right=dn),Rr?(pn.bottom=qt,pn.top=dn):(pn.top=At,pn.bottom=dn)}var er={};return Kt&&(Kt.includes("height")&&Ge?er.height=Ge:Kt.includes("minHeight")&&Ge&&(er.minHeight=Ge),Kt.includes("width")&&Ct?er.width=Ct:Kt.includes("minWidth")&&Ct&&(er.minWidth=Ct)),_||(er.pointerEvents="none"),b.createElement($e,{open:ie||Ut,getContainer:ke&&function(){return ke(J)},autoDestroy:Fe},b.createElement(O,{prefixCls:K,open:_,zIndex:we,mask:de,motion:A}),b.createElement(u.Z,{onResize:kt,disabled:!_},function(ct){return b.createElement(S.ZP,(0,C.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:ie,leavedClassName:"".concat(K,"-hidden")},xe,{onAppearPrepare:wt,onEnterPrepare:wt,visible:_,onVisibleChanged:function(Ve){var Jt;xe==null||(Jt=xe.onVisibleChanged)===null||Jt===void 0||Jt.call(xe,Ve),ue(Ve)}}),function(et,Ve){var Jt=et.className,ht=et.style,un=c()(K,Jt,D);return b.createElement("div",{ref:(0,x.sQ)(ct,U,Ve),className:un,style:(0,t.Z)((0,t.Z)((0,t.Z)((0,t.Z)({"--arrow-x":"".concat(st.x||0,"px"),"--arrow-y":"".concat(st.y||0,"px")},pn),er),ht),{},{boxSizing:"border-box",zIndex:we},k),onMouseEnter:Pe,onMouseLeave:Ae,onPointerEnter:We,onClick:pe},Ne&&b.createElement(w,{prefixCls:K,arrow:Ne,arrowPos:st,align:Ce}),b.createElement(E,{cache:!_&&!se},Et))})}))}),N=$,oe=b.forwardRef(function(le,U){var M=le.children,D=le.getTriggerDOMNode,K=(0,x.Yr)(M),k=b.useCallback(function(ue){(0,x.mH)(U,D?D(ue):ue)},[D]),J=(0,x.x1)(k,M.ref);return K?b.cloneElement(M,{ref:J}):M}),Z=oe,Y=b.createContext(null),te=Y;function ee(le){return le?Array.isArray(le)?le:[le]:[]}function B(le,U,M,D){return b.useMemo(function(){var K=ee(M!=null?M:U),k=ee(D!=null?D:U),J=new Set(K),ue=new Set(k);return le&&(J.has("hover")&&(J.delete("hover"),J.add("click")),ue.has("hover")&&(ue.delete("hover"),ue.add("click"))),[J,ue]},[le,U,M,D])}var ne=e(5110);function Q(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],M=arguments.length>2?arguments[2]:void 0;return M?le[0]===U[0]:le[0]===U[0]&&le[1]===U[1]}function q(le,U,M,D){for(var K=M.points,k=Object.keys(le),J=0;J1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(le)?U:le}function R(le){return I(parseFloat(le),0)}function z(le,U){var M=(0,t.Z)({},le);return(U||[]).forEach(function(D){if(!(D instanceof HTMLBodyElement||D instanceof HTMLHtmlElement)){var K=F(D).getComputedStyle(D),k=K.overflow,J=K.overflowClipMargin,ue=K.borderTopWidth,_=K.borderBottomWidth,V=K.borderLeftWidth,se=K.borderRightWidth,pe=D.getBoundingClientRect(),de=D.offsetHeight,Ne=D.clientHeight,st=D.offsetWidth,Ce=D.clientWidth,xe=R(ue),A=R(_),ie=R(V),ke=R(se),Fe=I(Math.round(pe.width/st*1e3)/1e3),$e=I(Math.round(pe.height/de*1e3)/1e3),we=(st-Ce-ie-ke)*Fe,Pe=(de-Ne-xe-A)*$e,Ae=xe*$e,We=A*$e,tt=ie*Fe,dt=ke*Fe,At=0,vt=0;if(k==="clip"){var qt=R(J);At=qt*Fe,vt=qt*$e}var kt=pe.x+tt-At,wt=pe.y+Ae-vt,Kt=kt+pe.width+2*At-tt-dt-we,Ct=wt+pe.height+2*vt-Ae-We-Pe;M.left=Math.max(M.left,kt),M.top=Math.max(M.top,wt),M.right=Math.min(M.right,Kt),M.bottom=Math.min(M.bottom,Ct)}}),M}function ae(le){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,M="".concat(U),D=M.match(/^(.*)\%$/);return D?le*(parseFloat(D[1])/100):parseFloat(M)}function X(le,U){var M=U||[],D=(0,r.Z)(M,2),K=D[0],k=D[1];return[ae(le.width,K),ae(le.height,k)]}function G(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[le[0],le[1]]}function ce(le,U){var M=U[0],D=U[1],K,k;return M==="t"?k=le.y:M==="b"?k=le.y+le.height:k=le.y+le.height/2,D==="l"?K=le.x:D==="r"?K=le.x+le.width:K=le.x+le.width/2,{x:K,y:k}}function he(le,U){var M={t:"b",b:"t",l:"r",r:"l"};return le.map(function(D,K){return K===U?M[D]||"c":D}).join("")}function Re(le,U,M,D,K,k,J){var ue=b.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:K[D]||{}}),_=(0,r.Z)(ue,2),V=_[0],se=_[1],pe=b.useRef(0),de=b.useMemo(function(){return U?T(U):[]},[U]),Ne=b.useRef({}),st=function(){Ne.current={}};le||st();var Ce=(0,p.Z)(function(){if(U&&M&&le){let lt=function(ln,pr){var Ar=arguments.length>2&&arguments[2]!==void 0?arguments[2]:un,jn=Et.x+ln,wn=Et.y+pr,bn=jn+rn,_n=wn+pn,Or=Math.max(jn,Ar.left),$r=Math.max(wn,Ar.top),ua=Math.min(bn,Ar.right),Ea=Math.min(_n,Ar.bottom);return Math.max(0,(ua-Or)*(Ea-$r))},sn=function(){Wn=Et.y+Bn,Zn=Wn+pn,hr=Et.x+mn,ar=hr+rn};var ie,ke,Fe=U,$e=Fe.ownerDocument,we=F(Fe),Pe=we.getComputedStyle(Fe),Ae=Pe.width,We=Pe.height,tt=Pe.position,dt=Fe.style.left,At=Fe.style.top,vt=Fe.style.right,qt=Fe.style.bottom,kt=Fe.style.overflow,wt=(0,t.Z)((0,t.Z)({},K[D]),k),Kt=$e.createElement("div");(ie=Fe.parentElement)===null||ie===void 0||ie.appendChild(Kt),Kt.style.left="".concat(Fe.offsetLeft,"px"),Kt.style.top="".concat(Fe.offsetTop,"px"),Kt.style.position=tt,Kt.style.height="".concat(Fe.offsetHeight,"px"),Kt.style.width="".concat(Fe.offsetWidth,"px"),Fe.style.left="0",Fe.style.top="0",Fe.style.right="auto",Fe.style.bottom="auto",Fe.style.overflow="hidden";var Ct;if(Array.isArray(M))Ct={x:M[0],y:M[1],width:0,height:0};else{var Ge=M.getBoundingClientRect();Ct={x:Ge.x,y:Ge.y,width:Ge.width,height:Ge.height}}var Et=Fe.getBoundingClientRect(),Ut=$e.documentElement,gt=Ut.clientWidth,cn=Ut.clientHeight,Ft=Ut.scrollWidth,en=Ut.scrollHeight,Yt=Ut.scrollTop,dn=Ut.scrollLeft,pn=Et.height,rn=Et.width,On=Ct.height,An=Ct.width,Jn={left:0,top:0,right:gt,bottom:cn},Rr={left:-dn,top:-Yt,right:Ft-dn,bottom:en-Yt},er=wt.htmlRegion,ct="visible",et="visibleFirst";er!=="scroll"&&er!==et&&(er=ct);var Ve=er===et,Jt=z(Rr,de),ht=z(Jn,de),un=er===ct?ht:Jt,Tn=Ve?ht:un;Fe.style.left="auto",Fe.style.top="auto",Fe.style.right="0",Fe.style.bottom="0";var Un=Fe.getBoundingClientRect();Fe.style.left=dt,Fe.style.top=At,Fe.style.right=vt,Fe.style.bottom=qt,Fe.style.overflow=kt,(ke=Fe.parentElement)===null||ke===void 0||ke.removeChild(Kt);var rr=I(Math.round(rn/parseFloat(Ae)*1e3)/1e3),or=I(Math.round(pn/parseFloat(We)*1e3)/1e3);if(rr===0||or===0||(0,l.Sh)(M)&&!(0,ne.Z)(M))return;var fr=wt.offset,ir=wt.targetOffset,gr=X(Et,fr),sr=(0,r.Z)(gr,2),fn=sr[0],tr=sr[1],gn=X(Ct,ir),an=(0,r.Z)(gn,2),nt=an[0],xt=an[1];Ct.x-=nt,Ct.y-=xt;var Bt=wt.points||[],bt=(0,r.Z)(Bt,2),zt=bt[0],Vt=bt[1],nn=G(Vt),Dn=G(zt),Gn=ce(Ct,nn),Vn=ce(Et,Dn),Fn=(0,t.Z)({},wt),mn=Gn.x-Vn.x+fn,Bn=Gn.y-Vn.y+tr,Mn=lt(mn,Bn),jr=lt(mn,Bn,ht),De=ce(Ct,["t","l"]),Te=ce(Et,["t","l"]),Le=ce(Ct,["b","r"]),Ue=ce(Et,["b","r"]),rt=wt.overflow||{},Dt=rt.adjustX,on=rt.adjustY,xn=rt.shiftX,hn=rt.shiftY,In=function(pr){return typeof pr=="boolean"?pr:pr>=0},Wn,Zn,hr,ar;sn();var ur=In(on),Tt=Dn[0]===nn[0];if(ur&&Dn[0]==="t"&&(Zn>Tn.bottom||Ne.current.bt)){var _t=Bn;Tt?_t-=pn-On:_t=De.y-Ue.y-tr;var Hn=lt(mn,_t),zn=lt(mn,_t,ht);Hn>Mn||Hn===Mn&&(!Ve||zn>=jr)?(Ne.current.bt=!0,Bn=_t,tr=-tr,Fn.points=[he(Dn,0),he(nn,0)]):Ne.current.bt=!1}if(ur&&Dn[0]==="b"&&(WnMn||me===Mn&&(!Ve||fe>=jr)?(Ne.current.tb=!0,Bn=Ke,tr=-tr,Fn.points=[he(Dn,0),he(nn,0)]):Ne.current.tb=!1}var Ee=In(Dt),ve=Dn[1]===nn[1];if(Ee&&Dn[1]==="l"&&(ar>Tn.right||Ne.current.rl)){var _e=mn;ve?_e-=rn-An:_e=De.x-Ue.x-fn;var it=lt(_e,Bn),It=lt(_e,Bn,ht);it>Mn||it===Mn&&(!Ve||It>=jr)?(Ne.current.rl=!0,mn=_e,fn=-fn,Fn.points=[he(Dn,1),he(nn,1)]):Ne.current.rl=!1}if(Ee&&Dn[1]==="r"&&(hrMn||Zt===Mn&&(!Ve||Pt>=jr)?(Ne.current.lr=!0,mn=Nt,fn=-fn,Fn.points=[he(Dn,1),he(nn,1)]):Ne.current.lr=!1}sn();var Cn=xn===!0?0:xn;typeof Cn=="number"&&(hrht.right&&(mn-=ar-ht.right-fn,Ct.x>ht.right-Cn&&(mn+=Ct.x-ht.right+Cn)));var yn=hn===!0?0:hn;typeof yn=="number"&&(Wnht.bottom&&(Bn-=Zn-ht.bottom-tr,Ct.y>ht.bottom-yn&&(Bn+=Ct.y-ht.bottom+yn)));var Gt=Et.x+mn,yt=Gt+rn,Mt=Et.y+Bn,Rt=Mt+pn,En=Ct.x,Xt=En+An,Ln=Ct.y,Nr=Ln+On,Sr=Math.max(Gt,En),Br=Math.min(yt,Xt),Tr=(Sr+Br)/2,la=Tr-Gt,Xr=Math.max(Mt,Ln),Qr=Math.min(Rt,Nr),cr=(Xr+Qr)/2,Ur=cr-Mt;J==null||J(U,Fn);var ea=Un.right-Et.x-(mn+Et.width),Lt=Un.bottom-Et.y-(Bn+Et.height);se({ready:!0,offsetX:mn/rr,offsetY:Bn/or,offsetR:ea/rr,offsetB:Lt/or,arrowX:la/rr,arrowY:Ur/or,scaleX:rr,scaleY:or,align:Fn})}}),xe=function(){pe.current+=1;var ke=pe.current;Promise.resolve().then(function(){pe.current===ke&&Ce()})},A=function(){se(function(ke){return(0,t.Z)((0,t.Z)({},ke),{},{ready:!1})})};return(0,m.Z)(A,[D]),(0,m.Z)(function(){le||A()},[le]),[V.ready,V.offsetX,V.offsetY,V.offsetR,V.offsetB,V.arrowX,V.arrowY,V.scaleX,V.scaleY,V.align,xe]}var Ie=e(74902);function Ze(le,U,M,D,K){(0,m.Z)(function(){if(le&&U&&M){let pe=function(){D(),K()};var k=U,J=M,ue=T(k),_=T(J),V=F(J),se=new Set([V].concat((0,Ie.Z)(ue),(0,Ie.Z)(_)));return se.forEach(function(de){de.addEventListener("scroll",pe,{passive:!0})}),V.addEventListener("resize",pe,{passive:!0}),D(),function(){se.forEach(function(de){de.removeEventListener("scroll",pe),V.removeEventListener("resize",pe)})}}},[le,U,M])}var ot=e(80334);function Je(le,U,M,D,K,k,J,ue){var _=b.useRef(le);_.current=le,b.useEffect(function(){if(U&&D&&(!K||k)){var V=function(A){var ie=A.target;_.current&&!J(ie)&&ue(!1)},se=F(D);se.addEventListener("mousedown",V,!0),se.addEventListener("contextmenu",V,!0);var pe=(0,f.A)(M);if(pe&&(pe.addEventListener("mousedown",V,!0),pe.addEventListener("contextmenu",V,!0)),!1)var de,Ne,st,Ce;return function(){se.removeEventListener("mousedown",V,!0),se.removeEventListener("contextmenu",V,!0),pe&&(pe.removeEventListener("mousedown",V,!0),pe.removeEventListener("contextmenu",V,!0))}}},[U,M,D,K,k])}var He=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function qe(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a.Z,U=b.forwardRef(function(M,D){var K=M.prefixCls,k=K===void 0?"rc-trigger-popup":K,J=M.children,ue=M.action,_=ue===void 0?"hover":ue,V=M.showAction,se=M.hideAction,pe=M.popupVisible,de=M.defaultPopupVisible,Ne=M.onPopupVisibleChange,st=M.afterPopupVisibleChange,Ce=M.mouseEnterDelay,xe=M.mouseLeaveDelay,A=xe===void 0?.1:xe,ie=M.focusDelay,ke=M.blurDelay,Fe=M.mask,$e=M.maskClosable,we=$e===void 0?!0:$e,Pe=M.getPopupContainer,Ae=M.forceRender,We=M.autoDestroy,tt=M.destroyPopupOnHide,dt=M.popup,At=M.popupClassName,vt=M.popupStyle,qt=M.popupPlacement,kt=M.builtinPlacements,wt=kt===void 0?{}:kt,Kt=M.popupAlign,Ct=M.zIndex,Ge=M.stretch,Et=M.getPopupClassNameFromAlign,Ut=M.fresh,gt=M.alignPoint,cn=M.onPopupClick,Ft=M.onPopupAlign,en=M.arrow,Yt=M.popupMotion,dn=M.maskMotion,pn=M.popupTransitionName,rn=M.popupAnimation,On=M.maskTransitionName,An=M.maskAnimation,Jn=M.className,Rr=M.getTriggerDOMNode,er=(0,o.Z)(M,He),ct=We||tt||!1,et=b.useState(!1),Ve=(0,r.Z)(et,2),Jt=Ve[0],ht=Ve[1];(0,m.Z)(function(){ht((0,d.Z)())},[]);var un=b.useRef({}),Tn=b.useContext(te),Un=b.useMemo(function(){return{registerSubPopup:function(_r,Ma){un.current[_r]=Ma,Tn==null||Tn.registerSubPopup(_r,Ma)}}},[Tn]),rr=(0,y.Z)(),or=b.useState(null),fr=(0,r.Z)(or,2),ir=fr[0],gr=fr[1],sr=b.useRef(null),fn=(0,p.Z)(function(mr){sr.current=mr,(0,l.Sh)(mr)&&ir!==mr&&gr(mr),Tn==null||Tn.registerSubPopup(rr,mr)}),tr=b.useState(null),gn=(0,r.Z)(tr,2),an=gn[0],nt=gn[1],xt=b.useRef(null),Bt=(0,p.Z)(function(mr){(0,l.Sh)(mr)&&an!==mr&&(nt(mr),xt.current=mr)}),bt=b.Children.only(J),zt=(bt==null?void 0:bt.props)||{},Vt={},nn=(0,p.Z)(function(mr){var _r,Ma,za=an;return(za==null?void 0:za.contains(mr))||((_r=(0,f.A)(za))===null||_r===void 0?void 0:_r.host)===mr||mr===za||(ir==null?void 0:ir.contains(mr))||((Ma=(0,f.A)(ir))===null||Ma===void 0?void 0:Ma.host)===mr||mr===ir||Object.values(un.current).some(function(Ta){return(Ta==null?void 0:Ta.contains(mr))||mr===Ta})}),Dn=L(k,Yt,rn,pn),Gn=L(k,dn,An,On),Vn=b.useState(de||!1),Fn=(0,r.Z)(Vn,2),mn=Fn[0],Bn=Fn[1],Mn=pe!=null?pe:mn,jr=(0,p.Z)(function(mr){pe===void 0&&Bn(mr)});(0,m.Z)(function(){Bn(pe||!1)},[pe]);var De=b.useRef(Mn);De.current=Mn;var Te=b.useRef([]);Te.current=[];var Le=(0,p.Z)(function(mr){var _r;jr(mr),((_r=Te.current[Te.current.length-1])!==null&&_r!==void 0?_r:Mn)!==mr&&(Te.current.push(mr),Ne==null||Ne(mr))}),Ue=b.useRef(),rt=function(){clearTimeout(Ue.current)},Dt=function(_r){var Ma=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;rt(),Ma===0?Le(_r):Ue.current=setTimeout(function(){Le(_r)},Ma*1e3)};b.useEffect(function(){return rt},[]);var on=b.useState(!1),xn=(0,r.Z)(on,2),hn=xn[0],In=xn[1];(0,m.Z)(function(mr){(!mr||Mn)&&In(!0)},[Mn]);var Wn=b.useState(null),Zn=(0,r.Z)(Wn,2),hr=Zn[0],ar=Zn[1],ur=b.useState([0,0]),Tt=(0,r.Z)(ur,2),_t=Tt[0],Hn=Tt[1],zn=function(_r){Hn([_r.clientX,_r.clientY])},Ke=Re(Mn,ir,gt?_t:an,qt,wt,Kt,Ft),me=(0,r.Z)(Ke,11),fe=me[0],Ee=me[1],ve=me[2],_e=me[3],it=me[4],It=me[5],Nt=me[6],Zt=me[7],Pt=me[8],Cn=me[9],yn=me[10],Gt=B(Jt,_,V,se),yt=(0,r.Z)(Gt,2),Mt=yt[0],Rt=yt[1],En=Mt.has("click"),Xt=Rt.has("click")||Rt.has("contextMenu"),Ln=(0,p.Z)(function(){hn||yn()}),Nr=function(){De.current&>&&Xt&&Dt(!1)};Ze(Mn,an,ir,Ln,Nr),(0,m.Z)(function(){Ln()},[_t,qt]),(0,m.Z)(function(){Mn&&!(wt!=null&&wt[qt])&&Ln()},[JSON.stringify(Kt)]);var Sr=b.useMemo(function(){var mr=q(wt,k,Cn,gt);return c()(mr,Et==null?void 0:Et(Cn))},[Cn,Et,wt,k,gt]);b.useImperativeHandle(D,function(){return{nativeElement:xt.current,popupElement:sr.current,forceAlign:Ln}});var Br=b.useState(0),Tr=(0,r.Z)(Br,2),la=Tr[0],Xr=Tr[1],Qr=b.useState(0),cr=(0,r.Z)(Qr,2),Ur=cr[0],ea=cr[1],Lt=function(){if(Ge&&an){var _r=an.getBoundingClientRect();Xr(_r.width),ea(_r.height)}},lt=function(){Lt(),Ln()},sn=function(_r){In(!1),yn(),st==null||st(_r)},ln=function(){return new Promise(function(_r){Lt(),ar(function(){return _r})})};(0,m.Z)(function(){hr&&(yn(),hr(),ar(null))},[hr]);function pr(mr,_r,Ma,za){Vt[mr]=function(Ta){var Ra;za==null||za(Ta),Dt(_r,Ma);for(var ao=arguments.length,ho=new Array(ao>1?ao-1:0),Ja=1;Ja1?Ma-1:0),Ta=1;Ta1?Ma-1:0),Ta=1;Ta({background:Lt,border:`${(0,xe.bf)(ln.lineWidth)} ${ln.lineType} ${lt}`,[`${pr}-icon`]:{color:sn}}),Fe=Lt=>{const{componentCls:lt,motionDurationSlow:sn,marginXS:ln,marginSM:pr,fontSize:Ar,fontSizeLG:jn,lineHeight:wn,borderRadiusLG:bn,motionEaseInOutCirc:_n,withDescriptionIconSize:Or,colorText:$r,colorTextHeading:ua,withDescriptionPadding:Ea,defaultPadding:ha}=Lt;return{[lt]:Object.assign(Object.assign({},(0,A.Wf)(Lt)),{position:"relative",display:"flex",alignItems:"center",padding:ha,wordWrap:"break-word",borderRadius:bn,[`&${lt}-rtl`]:{direction:"rtl"},[`${lt}-content`]:{flex:1,minWidth:0},[`${lt}-icon`]:{marginInlineEnd:ln,lineHeight:0},["&-description"]:{display:"none",fontSize:Ar,lineHeight:wn},"&-message":{color:ua},[`&${lt}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${sn} ${_n}, opacity ${sn} ${_n}, +}`),B)}else(0,d.jL)(B);return function(){(0,d.jL)(B)}},[Y,B])}var w=!1;function j(z){return typeof z=="boolean"&&(w=z),w}var E=function(Y){return Y===!1?!1:!(0,a.Z)()||!Y?null:typeof Y=="string"?document.querySelector(Y):typeof Y=="function"?Y():Y},$=r.forwardRef(function(z,Y){var te=z.open,ee=z.autoLock,B=z.getContainer,ne=z.debug,Q=z.autoDestroy,q=Q===void 0?!0:Q,L=z.children,F=r.useState(te),I=(0,t.Z)(F,2),M=I[0],R=I[1],H=M||te;r.useEffect(function(){(q||te)&&R(te)},[te,q]);var ae=r.useState(function(){return E(B)}),X=(0,t.Z)(ae,2),G=X[0],ce=X[1];r.useEffect(function(){var Z=E(B);ce(Z!=null?Z:null)});var he=m(H&&!G,ne),Re=(0,t.Z)(he,2),Ie=Re[0],Ze=Re[1],nt=G!=null?G:Ie;T(ee&&te&&(0,a.Z)()&&(nt===Ie||nt===document.body));var pt=null;if(L&&(0,c.Yr)(L)&&Y){var Qe=L;pt=Qe.ref}var ot=(0,c.x1)(pt,Y);if(!H||!(0,a.Z)()||G===void 0)return null;var it=nt===!1||j(),le=L;return Y&&(le=r.cloneElement(L,{ref:ot})),r.createElement(l.Provider,{value:Ze},it?le:(0,o.createPortal)(le,nt))}),N=$,oe=N},40228:function(v,g,e){"use strict";e.d(g,{Z:function(){return it}});var t=e(1413),r=e(97685),o=e(91),a=e(2788),s=e(93967),c=e.n(s),u=e(9220),l=e(34203),f=e(27571),p=e(66680),y=e(7028),m=e(8410),d=e(31131),b=e(67294),C=e(87462),S=e(82225),x=e(42550);function T(le){var Z=le.prefixCls,O=le.align,A=le.arrow,W=le.arrowPos,V=A||{},J=V.className,ue=V.content,_=W.x,K=_===void 0?0:_,se=W.y,pe=se===void 0?0:se,de=b.useRef();if(!O||!O.points)return null;var Ne={position:"absolute"};if(O.autoArrow!==!1){var at=O.points[0],Ce=O.points[1],xe=at[0],D=at[1],ie=Ce[0],We=Ce[1];xe===ie||!["t","b"].includes(xe)?Ne.top=pe:xe==="t"?Ne.top=0:Ne.bottom=0,D===We||!["l","r"].includes(D)?Ne.left=K:D==="l"?Ne.left=0:Ne.right=0}return b.createElement("div",{ref:de,className:c()("".concat(Z,"-arrow"),J),style:Ne},ue)}function w(le){var Z=le.prefixCls,O=le.open,A=le.zIndex,W=le.mask,V=le.motion;return W?b.createElement(S.ZP,(0,C.Z)({},V,{motionAppear:!0,visible:O,removeOnLeave:!0}),function(J){var ue=J.className;return b.createElement("div",{style:{zIndex:A},className:c()("".concat(Z,"-mask"),ue)})}):null}var j=b.memo(function(le){var Z=le.children;return Z},function(le,Z){return Z.cache}),E=j,$=b.forwardRef(function(le,Z){var O=le.popup,A=le.className,W=le.prefixCls,V=le.style,J=le.target,ue=le.onVisibleChanged,_=le.open,K=le.keepDom,se=le.fresh,pe=le.onClick,de=le.mask,Ne=le.arrow,at=le.arrowPos,Ce=le.align,xe=le.motion,D=le.maskMotion,ie=le.forceRender,We=le.getPopupContainer,Fe=le.autoDestroy,$e=le.portal,we=le.zIndex,Pe=le.onMouseEnter,Ae=le.onMouseLeave,Ue=le.onPointerEnter,_e=le.ready,ct=le.offsetX,At=le.offsetY,vt=le.offsetR,qt=le.offsetB,kt=le.onAlign,wt=le.onPrepare,Kt=le.stretch,Ct=le.targetWidth,Ke=le.targetHeight,Et=typeof O=="function"?O():O,Ut=_||K,gt=(We==null?void 0:We.length)>0,cn=b.useState(!We||!gt),Ft=(0,r.Z)(cn,2),en=Ft[0],Yt=Ft[1];if((0,m.Z)(function(){!en&>&&J&&Yt(!0)},[en,gt,J]),!en)return null;var dn="auto",pn={left:"-1000vw",top:"-1000vh",right:dn,bottom:dn};if(_e||!_){var rn,On=Ce.points,An=Ce.dynamicInset||((rn=Ce._experimental)===null||rn===void 0?void 0:rn.dynamicInset),Jn=An&&On[0][1]==="r",Rr=An&&On[0][0]==="b";Jn?(pn.right=vt,pn.left=dn):(pn.left=ct,pn.right=dn),Rr?(pn.bottom=qt,pn.top=dn):(pn.top=At,pn.bottom=dn)}var er={};return Kt&&(Kt.includes("height")&&Ke?er.height=Ke:Kt.includes("minHeight")&&Ke&&(er.minHeight=Ke),Kt.includes("width")&&Ct?er.width=Ct:Kt.includes("minWidth")&&Ct&&(er.minWidth=Ct)),_||(er.pointerEvents="none"),b.createElement($e,{open:ie||Ut,getContainer:We&&function(){return We(J)},autoDestroy:Fe},b.createElement(w,{prefixCls:W,open:_,zIndex:we,mask:de,motion:D}),b.createElement(u.Z,{onResize:kt,disabled:!_},function(ut){return b.createElement(S.ZP,(0,C.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:ie,leavedClassName:"".concat(W,"-hidden")},xe,{onAppearPrepare:wt,onEnterPrepare:wt,visible:_,onVisibleChanged:function(ke){var Jt;xe==null||(Jt=xe.onVisibleChanged)===null||Jt===void 0||Jt.call(xe,ke),ue(ke)}}),function(Je,ke){var Jt=Je.className,ht=Je.style,un=c()(W,Jt,A);return b.createElement("div",{ref:(0,x.sQ)(ut,Z,ke),className:un,style:(0,t.Z)((0,t.Z)((0,t.Z)((0,t.Z)({"--arrow-x":"".concat(at.x||0,"px"),"--arrow-y":"".concat(at.y||0,"px")},pn),er),ht),{},{boxSizing:"border-box",zIndex:we},V),onMouseEnter:Pe,onMouseLeave:Ae,onPointerEnter:Ue,onClick:pe},Ne&&b.createElement(T,{prefixCls:W,arrow:Ne,arrowPos:at,align:Ce}),b.createElement(E,{cache:!_&&!se},Et))})}))}),N=$,oe=b.forwardRef(function(le,Z){var O=le.children,A=le.getTriggerDOMNode,W=(0,x.Yr)(O),V=b.useCallback(function(ue){(0,x.mH)(Z,A?A(ue):ue)},[A]),J=(0,x.x1)(V,O.ref);return W?b.cloneElement(O,{ref:J}):O}),z=oe,Y=b.createContext(null),te=Y;function ee(le){return le?Array.isArray(le)?le:[le]:[]}function B(le,Z,O,A){return b.useMemo(function(){var W=ee(O!=null?O:Z),V=ee(A!=null?A:Z),J=new Set(W),ue=new Set(V);return le&&(J.has("hover")&&(J.delete("hover"),J.add("click")),ue.has("hover")&&(ue.delete("hover"),ue.add("click"))),[J,ue]},[le,Z,O,A])}var ne=e(5110);function Q(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],O=arguments.length>2?arguments[2]:void 0;return O?le[0]===Z[0]:le[0]===Z[0]&&le[1]===Z[1]}function q(le,Z,O,A){for(var W=O.points,V=Object.keys(le),J=0;J1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(le)?Z:le}function R(le){return M(parseFloat(le),0)}function H(le,Z){var O=(0,t.Z)({},le);return(Z||[]).forEach(function(A){if(!(A instanceof HTMLBodyElement||A instanceof HTMLHtmlElement)){var W=F(A).getComputedStyle(A),V=W.overflow,J=W.overflowClipMargin,ue=W.borderTopWidth,_=W.borderBottomWidth,K=W.borderLeftWidth,se=W.borderRightWidth,pe=A.getBoundingClientRect(),de=A.offsetHeight,Ne=A.clientHeight,at=A.offsetWidth,Ce=A.clientWidth,xe=R(ue),D=R(_),ie=R(K),We=R(se),Fe=M(Math.round(pe.width/at*1e3)/1e3),$e=M(Math.round(pe.height/de*1e3)/1e3),we=(at-Ce-ie-We)*Fe,Pe=(de-Ne-xe-D)*$e,Ae=xe*$e,Ue=D*$e,_e=ie*Fe,ct=We*Fe,At=0,vt=0;if(V==="clip"){var qt=R(J);At=qt*Fe,vt=qt*$e}var kt=pe.x+_e-At,wt=pe.y+Ae-vt,Kt=kt+pe.width+2*At-_e-ct-we,Ct=wt+pe.height+2*vt-Ae-Ue-Pe;O.left=Math.max(O.left,kt),O.top=Math.max(O.top,wt),O.right=Math.min(O.right,Kt),O.bottom=Math.min(O.bottom,Ct)}}),O}function ae(le){var Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,O="".concat(Z),A=O.match(/^(.*)\%$/);return A?le*(parseFloat(A[1])/100):parseFloat(O)}function X(le,Z){var O=Z||[],A=(0,r.Z)(O,2),W=A[0],V=A[1];return[ae(le.width,W),ae(le.height,V)]}function G(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[le[0],le[1]]}function ce(le,Z){var O=Z[0],A=Z[1],W,V;return O==="t"?V=le.y:O==="b"?V=le.y+le.height:V=le.y+le.height/2,A==="l"?W=le.x:A==="r"?W=le.x+le.width:W=le.x+le.width/2,{x:W,y:V}}function he(le,Z){var O={t:"b",b:"t",l:"r",r:"l"};return le.map(function(A,W){return W===Z?O[A]||"c":A}).join("")}function Re(le,Z,O,A,W,V,J){var ue=b.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:W[A]||{}}),_=(0,r.Z)(ue,2),K=_[0],se=_[1],pe=b.useRef(0),de=b.useMemo(function(){return Z?I(Z):[]},[Z]),Ne=b.useRef({}),at=function(){Ne.current={}};le||at();var Ce=(0,p.Z)(function(){if(Z&&O&&le){let st=function(ln,pr){var Ar=arguments.length>2&&arguments[2]!==void 0?arguments[2]:un,jn=Et.x+ln,wn=Et.y+pr,bn=jn+rn,_n=wn+pn,Or=Math.max(jn,Ar.left),$r=Math.max(wn,Ar.top),ua=Math.min(bn,Ar.right),Ea=Math.min(_n,Ar.bottom);return Math.max(0,(ua-Or)*(Ea-$r))},sn=function(){Wn=Et.y+Bn,Zn=Wn+pn,hr=Et.x+mn,ar=hr+rn};var ie,We,Fe=Z,$e=Fe.ownerDocument,we=F(Fe),Pe=we.getComputedStyle(Fe),Ae=Pe.width,Ue=Pe.height,_e=Pe.position,ct=Fe.style.left,At=Fe.style.top,vt=Fe.style.right,qt=Fe.style.bottom,kt=Fe.style.overflow,wt=(0,t.Z)((0,t.Z)({},W[A]),V),Kt=$e.createElement("div");(ie=Fe.parentElement)===null||ie===void 0||ie.appendChild(Kt),Kt.style.left="".concat(Fe.offsetLeft,"px"),Kt.style.top="".concat(Fe.offsetTop,"px"),Kt.style.position=_e,Kt.style.height="".concat(Fe.offsetHeight,"px"),Kt.style.width="".concat(Fe.offsetWidth,"px"),Fe.style.left="0",Fe.style.top="0",Fe.style.right="auto",Fe.style.bottom="auto",Fe.style.overflow="hidden";var Ct;if(Array.isArray(O))Ct={x:O[0],y:O[1],width:0,height:0};else{var Ke=O.getBoundingClientRect();Ct={x:Ke.x,y:Ke.y,width:Ke.width,height:Ke.height}}var Et=Fe.getBoundingClientRect(),Ut=$e.documentElement,gt=Ut.clientWidth,cn=Ut.clientHeight,Ft=Ut.scrollWidth,en=Ut.scrollHeight,Yt=Ut.scrollTop,dn=Ut.scrollLeft,pn=Et.height,rn=Et.width,On=Ct.height,An=Ct.width,Jn={left:0,top:0,right:gt,bottom:cn},Rr={left:-dn,top:-Yt,right:Ft-dn,bottom:en-Yt},er=wt.htmlRegion,ut="visible",Je="visibleFirst";er!=="scroll"&&er!==Je&&(er=ut);var ke=er===Je,Jt=H(Rr,de),ht=H(Jn,de),un=er===ut?ht:Jt,Tn=ke?ht:un;Fe.style.left="auto",Fe.style.top="auto",Fe.style.right="0",Fe.style.bottom="0";var Un=Fe.getBoundingClientRect();Fe.style.left=ct,Fe.style.top=At,Fe.style.right=vt,Fe.style.bottom=qt,Fe.style.overflow=kt,(We=Fe.parentElement)===null||We===void 0||We.removeChild(Kt);var rr=M(Math.round(rn/parseFloat(Ae)*1e3)/1e3),or=M(Math.round(pn/parseFloat(Ue)*1e3)/1e3);if(rr===0||or===0||(0,l.Sh)(O)&&!(0,ne.Z)(O))return;var fr=wt.offset,ir=wt.targetOffset,gr=X(Et,fr),sr=(0,r.Z)(gr,2),fn=sr[0],tr=sr[1],gn=X(Ct,ir),an=(0,r.Z)(gn,2),qe=an[0],xt=an[1];Ct.x-=qe,Ct.y-=xt;var Bt=wt.points||[],bt=(0,r.Z)(Bt,2),zt=bt[0],Vt=bt[1],nn=G(Vt),Dn=G(zt),Gn=ce(Ct,nn),Vn=ce(Et,Dn),Fn=(0,t.Z)({},wt),mn=Gn.x-Vn.x+fn,Bn=Gn.y-Vn.y+tr,Mn=st(mn,Bn),jr=st(mn,Bn,ht),De=ce(Ct,["t","l"]),Te=ce(Et,["t","l"]),Le=ce(Ct,["b","r"]),He=ce(Et,["b","r"]),et=wt.overflow||{},Dt=et.adjustX,on=et.adjustY,xn=et.shiftX,hn=et.shiftY,In=function(pr){return typeof pr=="boolean"?pr:pr>=0},Wn,Zn,hr,ar;sn();var ur=In(on),Tt=Dn[0]===nn[0];if(ur&&Dn[0]==="t"&&(Zn>Tn.bottom||Ne.current.bt)){var _t=Bn;Tt?_t-=pn-On:_t=De.y-He.y-tr;var Hn=st(mn,_t),zn=st(mn,_t,ht);Hn>Mn||Hn===Mn&&(!ke||zn>=jr)?(Ne.current.bt=!0,Bn=_t,tr=-tr,Fn.points=[he(Dn,0),he(nn,0)]):Ne.current.bt=!1}if(ur&&Dn[0]==="b"&&(WnMn||me===Mn&&(!ke||fe>=jr)?(Ne.current.tb=!0,Bn=Ve,tr=-tr,Fn.points=[he(Dn,0),he(nn,0)]):Ne.current.tb=!1}var Ee=In(Dt),ve=Dn[1]===nn[1];if(Ee&&Dn[1]==="l"&&(ar>Tn.right||Ne.current.rl)){var Xe=mn;ve?Xe-=rn-An:Xe=De.x-He.x-fn;var rt=st(Xe,Bn),It=st(Xe,Bn,ht);rt>Mn||rt===Mn&&(!ke||It>=jr)?(Ne.current.rl=!0,mn=Xe,fn=-fn,Fn.points=[he(Dn,1),he(nn,1)]):Ne.current.rl=!1}if(Ee&&Dn[1]==="r"&&(hrMn||Zt===Mn&&(!ke||Pt>=jr)?(Ne.current.lr=!0,mn=Nt,fn=-fn,Fn.points=[he(Dn,1),he(nn,1)]):Ne.current.lr=!1}sn();var Cn=xn===!0?0:xn;typeof Cn=="number"&&(hrht.right&&(mn-=ar-ht.right-fn,Ct.x>ht.right-Cn&&(mn+=Ct.x-ht.right+Cn)));var yn=hn===!0?0:hn;typeof yn=="number"&&(Wnht.bottom&&(Bn-=Zn-ht.bottom-tr,Ct.y>ht.bottom-yn&&(Bn+=Ct.y-ht.bottom+yn)));var Gt=Et.x+mn,yt=Gt+rn,Mt=Et.y+Bn,Rt=Mt+pn,En=Ct.x,Xt=En+An,Ln=Ct.y,Nr=Ln+On,Sr=Math.max(Gt,En),Br=Math.min(yt,Xt),Tr=(Sr+Br)/2,la=Tr-Gt,Xr=Math.max(Mt,Ln),Qr=Math.min(Rt,Nr),cr=(Xr+Qr)/2,Ur=cr-Mt;J==null||J(Z,Fn);var ea=Un.right-Et.x-(mn+Et.width),Lt=Un.bottom-Et.y-(Bn+Et.height);se({ready:!0,offsetX:mn/rr,offsetY:Bn/or,offsetR:ea/rr,offsetB:Lt/or,arrowX:la/rr,arrowY:Ur/or,scaleX:rr,scaleY:or,align:Fn})}}),xe=function(){pe.current+=1;var We=pe.current;Promise.resolve().then(function(){pe.current===We&&Ce()})},D=function(){se(function(We){return(0,t.Z)((0,t.Z)({},We),{},{ready:!1})})};return(0,m.Z)(D,[A]),(0,m.Z)(function(){le||D()},[le]),[K.ready,K.offsetX,K.offsetY,K.offsetR,K.offsetB,K.arrowX,K.arrowY,K.scaleX,K.scaleY,K.align,xe]}var Ie=e(74902);function Ze(le,Z,O,A,W){(0,m.Z)(function(){if(le&&Z&&O){let pe=function(){A(),W()};var V=Z,J=O,ue=I(V),_=I(J),K=F(J),se=new Set([K].concat((0,Ie.Z)(ue),(0,Ie.Z)(_)));return se.forEach(function(de){de.addEventListener("scroll",pe,{passive:!0})}),K.addEventListener("resize",pe,{passive:!0}),A(),function(){se.forEach(function(de){de.removeEventListener("scroll",pe),K.removeEventListener("resize",pe)})}}},[le,Z,O])}var nt=e(80334);function pt(le,Z,O,A,W,V,J,ue){var _=b.useRef(le);_.current=le,b.useEffect(function(){if(Z&&A&&(!W||V)){var K=function(D){var ie=D.target;_.current&&!J(ie)&&ue(!1)},se=F(A);se.addEventListener("mousedown",K,!0),se.addEventListener("contextmenu",K,!0);var pe=(0,f.A)(O);if(pe&&(pe.addEventListener("mousedown",K,!0),pe.addEventListener("contextmenu",K,!0)),!1)var de,Ne,at,Ce;return function(){se.removeEventListener("mousedown",K,!0),se.removeEventListener("contextmenu",K,!0),pe&&(pe.removeEventListener("mousedown",K,!0),pe.removeEventListener("contextmenu",K,!0))}}},[Z,O,A,W,V])}var Qe=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function ot(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a.Z,Z=b.forwardRef(function(O,A){var W=O.prefixCls,V=W===void 0?"rc-trigger-popup":W,J=O.children,ue=O.action,_=ue===void 0?"hover":ue,K=O.showAction,se=O.hideAction,pe=O.popupVisible,de=O.defaultPopupVisible,Ne=O.onPopupVisibleChange,at=O.afterPopupVisibleChange,Ce=O.mouseEnterDelay,xe=O.mouseLeaveDelay,D=xe===void 0?.1:xe,ie=O.focusDelay,We=O.blurDelay,Fe=O.mask,$e=O.maskClosable,we=$e===void 0?!0:$e,Pe=O.getPopupContainer,Ae=O.forceRender,Ue=O.autoDestroy,_e=O.destroyPopupOnHide,ct=O.popup,At=O.popupClassName,vt=O.popupStyle,qt=O.popupPlacement,kt=O.builtinPlacements,wt=kt===void 0?{}:kt,Kt=O.popupAlign,Ct=O.zIndex,Ke=O.stretch,Et=O.getPopupClassNameFromAlign,Ut=O.fresh,gt=O.alignPoint,cn=O.onPopupClick,Ft=O.onPopupAlign,en=O.arrow,Yt=O.popupMotion,dn=O.maskMotion,pn=O.popupTransitionName,rn=O.popupAnimation,On=O.maskTransitionName,An=O.maskAnimation,Jn=O.className,Rr=O.getTriggerDOMNode,er=(0,o.Z)(O,Qe),ut=Ue||_e||!1,Je=b.useState(!1),ke=(0,r.Z)(Je,2),Jt=ke[0],ht=ke[1];(0,m.Z)(function(){ht((0,d.Z)())},[]);var un=b.useRef({}),Tn=b.useContext(te),Un=b.useMemo(function(){return{registerSubPopup:function(_r,Ma){un.current[_r]=Ma,Tn==null||Tn.registerSubPopup(_r,Ma)}}},[Tn]),rr=(0,y.Z)(),or=b.useState(null),fr=(0,r.Z)(or,2),ir=fr[0],gr=fr[1],sr=b.useRef(null),fn=(0,p.Z)(function(mr){sr.current=mr,(0,l.Sh)(mr)&&ir!==mr&&gr(mr),Tn==null||Tn.registerSubPopup(rr,mr)}),tr=b.useState(null),gn=(0,r.Z)(tr,2),an=gn[0],qe=gn[1],xt=b.useRef(null),Bt=(0,p.Z)(function(mr){(0,l.Sh)(mr)&&an!==mr&&(qe(mr),xt.current=mr)}),bt=b.Children.only(J),zt=(bt==null?void 0:bt.props)||{},Vt={},nn=(0,p.Z)(function(mr){var _r,Ma,za=an;return(za==null?void 0:za.contains(mr))||((_r=(0,f.A)(za))===null||_r===void 0?void 0:_r.host)===mr||mr===za||(ir==null?void 0:ir.contains(mr))||((Ma=(0,f.A)(ir))===null||Ma===void 0?void 0:Ma.host)===mr||mr===ir||Object.values(un.current).some(function(Ta){return(Ta==null?void 0:Ta.contains(mr))||mr===Ta})}),Dn=L(V,Yt,rn,pn),Gn=L(V,dn,An,On),Vn=b.useState(de||!1),Fn=(0,r.Z)(Vn,2),mn=Fn[0],Bn=Fn[1],Mn=pe!=null?pe:mn,jr=(0,p.Z)(function(mr){pe===void 0&&Bn(mr)});(0,m.Z)(function(){Bn(pe||!1)},[pe]);var De=b.useRef(Mn);De.current=Mn;var Te=b.useRef([]);Te.current=[];var Le=(0,p.Z)(function(mr){var _r;jr(mr),((_r=Te.current[Te.current.length-1])!==null&&_r!==void 0?_r:Mn)!==mr&&(Te.current.push(mr),Ne==null||Ne(mr))}),He=b.useRef(),et=function(){clearTimeout(He.current)},Dt=function(_r){var Ma=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;et(),Ma===0?Le(_r):He.current=setTimeout(function(){Le(_r)},Ma*1e3)};b.useEffect(function(){return et},[]);var on=b.useState(!1),xn=(0,r.Z)(on,2),hn=xn[0],In=xn[1];(0,m.Z)(function(mr){(!mr||Mn)&&In(!0)},[Mn]);var Wn=b.useState(null),Zn=(0,r.Z)(Wn,2),hr=Zn[0],ar=Zn[1],ur=b.useState([0,0]),Tt=(0,r.Z)(ur,2),_t=Tt[0],Hn=Tt[1],zn=function(_r){Hn([_r.clientX,_r.clientY])},Ve=Re(Mn,ir,gt?_t:an,qt,wt,Kt,Ft),me=(0,r.Z)(Ve,11),fe=me[0],Ee=me[1],ve=me[2],Xe=me[3],rt=me[4],It=me[5],Nt=me[6],Zt=me[7],Pt=me[8],Cn=me[9],yn=me[10],Gt=B(Jt,_,K,se),yt=(0,r.Z)(Gt,2),Mt=yt[0],Rt=yt[1],En=Mt.has("click"),Xt=Rt.has("click")||Rt.has("contextMenu"),Ln=(0,p.Z)(function(){hn||yn()}),Nr=function(){De.current&>&&Xt&&Dt(!1)};Ze(Mn,an,ir,Ln,Nr),(0,m.Z)(function(){Ln()},[_t,qt]),(0,m.Z)(function(){Mn&&!(wt!=null&&wt[qt])&&Ln()},[JSON.stringify(Kt)]);var Sr=b.useMemo(function(){var mr=q(wt,V,Cn,gt);return c()(mr,Et==null?void 0:Et(Cn))},[Cn,Et,wt,V,gt]);b.useImperativeHandle(A,function(){return{nativeElement:xt.current,popupElement:sr.current,forceAlign:Ln}});var Br=b.useState(0),Tr=(0,r.Z)(Br,2),la=Tr[0],Xr=Tr[1],Qr=b.useState(0),cr=(0,r.Z)(Qr,2),Ur=cr[0],ea=cr[1],Lt=function(){if(Ke&&an){var _r=an.getBoundingClientRect();Xr(_r.width),ea(_r.height)}},st=function(){Lt(),Ln()},sn=function(_r){In(!1),yn(),at==null||at(_r)},ln=function(){return new Promise(function(_r){Lt(),ar(function(){return _r})})};(0,m.Z)(function(){hr&&(yn(),hr(),ar(null))},[hr]);function pr(mr,_r,Ma,za){Vt[mr]=function(Ta){var Ra;za==null||za(Ta),Dt(_r,Ma);for(var ao=arguments.length,ho=new Array(ao>1?ao-1:0),Ja=1;Ja1?Ma-1:0),Ta=1;Ta1?Ma-1:0),Ta=1;Ta({background:Lt,border:`${(0,xe.bf)(ln.lineWidth)} ${ln.lineType} ${st}`,[`${pr}-icon`]:{color:sn}}),Fe=Lt=>{const{componentCls:st,motionDurationSlow:sn,marginXS:ln,marginSM:pr,fontSize:Ar,fontSizeLG:jn,lineHeight:wn,borderRadiusLG:bn,motionEaseInOutCirc:_n,withDescriptionIconSize:Or,colorText:$r,colorTextHeading:ua,withDescriptionPadding:Ea,defaultPadding:ha}=Lt;return{[st]:Object.assign(Object.assign({},(0,D.Wf)(Lt)),{position:"relative",display:"flex",alignItems:"center",padding:ha,wordWrap:"break-word",borderRadius:bn,[`&${st}-rtl`]:{direction:"rtl"},[`${st}-content`]:{flex:1,minWidth:0},[`${st}-icon`]:{marginInlineEnd:ln,lineHeight:0},["&-description"]:{display:"none",fontSize:Ar,lineHeight:wn},"&-message":{color:ua},[`&${st}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${sn} ${_n}, opacity ${sn} ${_n}, padding-top ${sn} ${_n}, padding-bottom ${sn} ${_n}, - margin-bottom ${sn} ${_n}`},[`&${lt}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${lt}-with-description`]:{alignItems:"flex-start",padding:Ea,[`${lt}-icon`]:{marginInlineEnd:pr,fontSize:Or,lineHeight:0},[`${lt}-message`]:{display:"block",marginBottom:ln,color:ua,fontSize:jn},[`${lt}-description`]:{display:"block",color:$r}},[`${lt}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},$e=Lt=>{const{componentCls:lt,colorSuccess:sn,colorSuccessBorder:ln,colorSuccessBg:pr,colorWarning:Ar,colorWarningBorder:jn,colorWarningBg:wn,colorError:bn,colorErrorBorder:_n,colorErrorBg:Or,colorInfo:$r,colorInfoBorder:ua,colorInfoBg:Ea}=Lt;return{[lt]:{"&-success":ke(pr,ln,sn,Lt,lt),"&-info":ke(Ea,ua,$r,Lt,lt),"&-warning":ke(wn,jn,Ar,Lt,lt),"&-error":Object.assign(Object.assign({},ke(Or,_n,bn,Lt,lt)),{[`${lt}-description > pre`]:{margin:0,padding:0}})}}},we=Lt=>{const{componentCls:lt,iconCls:sn,motionDurationMid:ln,marginXS:pr,fontSizeIcon:Ar,colorIcon:jn,colorIconHover:wn}=Lt;return{[lt]:{["&-action"]:{marginInlineStart:pr},[`${lt}-close-icon`]:{marginInlineStart:pr,padding:0,overflow:"hidden",fontSize:Ar,lineHeight:(0,xe.bf)(Ar),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${sn}-close`]:{color:jn,transition:`color ${ln}`,"&:hover":{color:wn}}},"&-close-text":{color:jn,transition:`color ${ln}`,"&:hover":{color:wn}}}}},Pe=Lt=>({withDescriptionIconSize:Lt.fontSizeHeading3,defaultPadding:`${Lt.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${Lt.paddingMD}px ${Lt.paddingContentHorizontalLG}px`});var Ae=(0,ie.I$)("Alert",Lt=>[Fe(Lt),$e(Lt),we(Lt)],Pe),We=function(Lt,lt){var sn={};for(var ln in Lt)Object.prototype.hasOwnProperty.call(Lt,ln)&<.indexOf(ln)<0&&(sn[ln]=Lt[ln]);if(Lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pr=0,ln=Object.getOwnPropertySymbols(Lt);pr{const{icon:lt,prefixCls:sn,type:ln}=Lt,pr=tt[ln]||null;return lt?(0,st.wm)(lt,S.createElement("span",{className:`${sn}-icon`},lt),()=>({className:se()(`${sn}-icon`,{[lt.props.className]:lt.props.className})})):S.createElement(pr,{className:`${sn}-icon`})},At=Lt=>{const{isClosable:lt,prefixCls:sn,closeIcon:ln,handleClose:pr,ariaProps:Ar}=Lt,jn=ln===!0||ln===void 0?S.createElement(J.Z,null):ln;return lt?S.createElement("button",Object.assign({type:"button",onClick:pr,className:`${sn}-close-icon`,tabIndex:0},Ar),jn):null};var qt=S.forwardRef((Lt,lt)=>{const{description:sn,prefixCls:ln,message:pr,banner:Ar,className:jn,rootClassName:wn,style:bn,onMouseEnter:_n,onMouseLeave:Or,onClick:$r,afterClose:ua,showIcon:Ea,closable:ha,closeText:mr,closeIcon:_r,action:Ma,id:za}=Lt,Ta=We(Lt,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action","id"]),[Ra,ao]=S.useState(!1),ho=S.useRef(null);S.useImperativeHandle(lt,()=>({nativeElement:ho.current}));const{getPrefixCls:Ja,direction:Go,alert:Pa}=S.useContext(Ce.E_),Xa=Ja("alert",ln),[ti,Uo,Lo]=Ae(Xa),Qe=nr=>{var Ir;ao(!0),(Ir=Lt.onClose)===null||Ir===void 0||Ir.call(Lt,nr)},mt=S.useMemo(()=>Lt.type!==void 0?Lt.type:Ar?"warning":"info",[Lt.type,Ar]),pt=S.useMemo(()=>typeof ha=="object"&&ha.closeIcon||mr?!0:typeof ha=="boolean"?ha:_r!==!1&&_r!==null&&_r!==void 0?!0:!!(Pa!=null&&Pa.closable),[mr,_r,ha,Pa==null?void 0:Pa.closable]),$t=Ar&&Ea===void 0?!0:Ea,tn=se()(Xa,`${Xa}-${mt}`,{[`${Xa}-with-description`]:!!sn,[`${Xa}-no-icon`]:!$t,[`${Xa}-banner`]:!!Ar,[`${Xa}-rtl`]:Go==="rtl"},Pa==null?void 0:Pa.className,jn,wn,Lo,Uo),Nn=(0,Ne.Z)(Ta,{aria:!0,data:!0}),vr=S.useMemo(()=>{var nr,Ir;return typeof ha=="object"&&ha.closeIcon?ha.closeIcon:mr||(_r!==void 0?_r:typeof(Pa==null?void 0:Pa.closable)=="object"&&(!((nr=Pa==null?void 0:Pa.closable)===null||nr===void 0)&&nr.closeIcon)?(Ir=Pa==null?void 0:Pa.closable)===null||Ir===void 0?void 0:Ir.closeIcon:Pa==null?void 0:Pa.closeIcon)},[_r,ha,mr,Pa==null?void 0:Pa.closeIcon]),br=S.useMemo(()=>{const nr=ha!=null?ha:Pa==null?void 0:Pa.closable;if(typeof nr=="object"){const{closeIcon:Ir}=nr;return We(nr,["closeIcon"])}return{}},[ha,Pa==null?void 0:Pa.closable]);return ti(S.createElement(pe.ZP,{visible:!Ra,motionName:`${Xa}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:nr=>({maxHeight:nr.offsetHeight}),onLeaveEnd:ua},(nr,Ir)=>{let{className:Er,style:yr}=nr;return S.createElement("div",Object.assign({id:za,ref:(0,de.sQ)(ho,Ir),"data-show":!Ra,className:se()(tn,Er),style:Object.assign(Object.assign(Object.assign({},Pa==null?void 0:Pa.style),bn),yr),onMouseEnter:_n,onMouseLeave:Or,onClick:$r,role:"alert"},Nn),$t?S.createElement(dt,{description:sn,icon:Lt.icon,prefixCls:Xa,type:mt}):null,S.createElement("div",{className:`${Xa}-content`},pr?S.createElement("div",{className:`${Xa}-message`},pr):null,sn?S.createElement("div",{className:`${Xa}-description`},sn):null),Ma?S.createElement("div",{className:`${Xa}-action`},Ma):null,S.createElement(At,{isClosable:pt,prefixCls:Xa,closeIcon:vr,handleClose:Qe,ariaProps:br}))}))}),kt=e(15671),wt=e(43144),Kt=e(53640),Ct=e(60136),Et=function(Lt){function lt(){var sn;return(0,kt.Z)(this,lt),sn=(0,Kt.Z)(this,lt,arguments),sn.state={error:void 0,info:{componentStack:""}},sn}return(0,Ct.Z)(lt,Lt),(0,wt.Z)(lt,[{key:"componentDidCatch",value:function(ln,pr){this.setState({error:ln,info:pr})}},{key:"render",value:function(){const{message:ln,description:pr,id:Ar,children:jn}=this.props,{error:wn,info:bn}=this.state,_n=bn&&bn.componentStack?bn.componentStack:null,Or=typeof ln=="undefined"?(wn||"").toString():ln,$r=typeof pr=="undefined"?_n:pr;return wn?S.createElement(qt,{id:Ar,type:"error",message:Or,description:S.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},$r)}):jn}}])}(S.Component);const Ut=qt;Ut.ErrorBoundary=Et;var gt=Ut,cn=e(14726),Ft=e(2453),en=e(97435),Yt=e(21770),dn=e(14192),pn=e(52676),rn=e(62812),On=e(32857),An=function(lt,sn){return S.createElement(ee.Z,(0,Y.Z)({},lt,{ref:sn,icon:On.Z}))},Jn=S.forwardRef(An),Rr=Jn,er=e(83062),ct=e(85893),et=function(lt){var sn=lt.value,ln=lt.configType,pr=lt.onChange,Ar=lt.list,jn=lt.prefixCls,wn=lt.hashId,bn="".concat(jn,"-block-checkbox"),_n=(0,S.useMemo)(function(){var Or=(Ar||[]).map(function($r){return(0,ct.jsx)(er.Z,{title:$r.title,children:(0,ct.jsxs)("div",{className:se()(wn,"".concat(bn,"-item"),"".concat(bn,"-item-").concat($r.key),"".concat(bn,"-").concat(ln,"-item")),onClick:function(){return pr($r.key)},children:[(0,ct.jsx)(Rr,{className:"".concat(bn,"-selectIcon ").concat(wn).trim(),style:{display:sn===$r.key?"block":"none"}}),$r!=null&&$r.icon?(0,ct.jsx)("div",{className:"".concat(bn,"-icon ").concat(wn).trim(),children:$r.icon}):null]})},$r.key)});return Or},[sn,Ar==null?void 0:Ar.length,pr]);return(0,ct.jsx)("div",{className:se()(bn,wn),children:_n})},Ve=e(34041),Jt=function(lt){var sn=S.cloneElement(lt.action,{disabled:lt.disabled});return(0,ct.jsx)(er.Z,{title:lt.disabled?lt.disabledReason:"",placement:"left",children:(0,ct.jsx)(M.Z.Item,{actions:[sn],children:(0,ct.jsx)("span",{style:{opacity:lt.disabled?.5:1},children:lt.title})})})},ht=function(lt){var sn=lt.settings,ln=lt.prefixCls,pr=lt.changeSetting,Ar=lt.hashId,jn=nt(),wn=sn||dn.h,bn=wn.contentWidth,_n=wn.splitMenus,Or=wn.fixedHeader,$r=wn.layout,ua=wn.fixSiderbar;return(0,ct.jsx)(M.Z,{className:"".concat(ln,"-list ").concat(Ar).trim(),split:!1,dataSource:[{title:jn({id:"app.setting.content-width",defaultMessage:"Content Width"}),action:(0,ct.jsxs)(Ve.Z,{value:bn||"Fixed",size:"small",className:"content-width ".concat(Ar).trim(),onSelect:function(ha){pr("contentWidth",ha)},style:{width:80},children:[$r==="side"?null:(0,ct.jsx)(Ve.Z.Option,{value:"Fixed",children:jn({id:"app.setting.content-width.fixed",defaultMessage:"Fixed"})}),(0,ct.jsx)(Ve.Z.Option,{value:"Fluid",children:jn({id:"app.setting.content-width.fluid",defaultMessage:"Fluid"})})]})},{title:jn({id:"app.setting.fixedheader",defaultMessage:"Fixed Header"}),action:(0,ct.jsx)(D.Z,{size:"small",className:"fixed-header",checked:!!Or,onChange:function(ha){pr("fixedHeader",ha)}})},{title:jn({id:"app.setting.fixedsidebar",defaultMessage:"Fixed Sidebar"}),disabled:$r==="top",disabledReason:jn({id:"app.setting.fixedsidebar.hint",defaultMessage:"Works on Side Menu Layout"}),action:(0,ct.jsx)(D.Z,{size:"small",className:"fix-siderbar",checked:!!ua,onChange:function(ha){return pr("fixSiderbar",ha)}})},{title:jn({id:"app.setting.splitMenus"}),disabled:$r!=="mix",action:(0,ct.jsx)(D.Z,{size:"small",checked:!!_n,className:"split-menus",onChange:function(ha){pr("splitMenus",ha)}})}],renderItem:Jt})},un=function(lt){var sn=lt.settings,ln=lt.prefixCls,pr=lt.changeSetting,Ar=lt.hashId,jn=nt(),wn=["header","footer","menu","menuHeader"];return(0,ct.jsx)(M.Z,{className:"".concat(ln,"-list ").concat(Ar).trim(),split:!1,renderItem:Jt,dataSource:wn.map(function(bn){return{title:jn({id:"app.setting.regionalsettings.".concat(bn)}),action:(0,ct.jsx)(D.Z,{size:"small",className:"regional-".concat(bn," ").concat(Ar).trim(),checked:sn["".concat(bn,"Render")]||sn["".concat(bn,"Render")]===void 0,onChange:function(Or){return pr("".concat(bn,"Render"),Or===!0?void 0:!1)}})}})})},Tn=e(91),Un=["color","check"],rr=S.forwardRef(function(Lt,lt){var sn=Lt.color,ln=Lt.check,pr=(0,Tn.Z)(Lt,Un);return(0,ct.jsx)("div",(0,C.Z)((0,C.Z)({},pr),{},{style:{backgroundColor:sn},ref:lt,children:ln?(0,ct.jsx)(Rr,{}):""}))}),or=function(lt){var sn=lt.value,ln=lt.colorList,pr=lt.onChange,Ar=lt.prefixCls,jn=lt.formatMessage,wn=lt.hashId;if(!ln||(ln==null?void 0:ln.length)<1)return null;var bn="".concat(Ar,"-theme-color");return(0,ct.jsx)("div",{className:"".concat(bn," ").concat(wn).trim(),children:ln==null?void 0:ln.map(function(_n){var Or=_n.key,$r=_n.color,ua=_n.title;return Or?(0,ct.jsx)(er.Z,{title:ua!=null?ua:jn({id:"app.setting.themecolor.".concat(Or)}),children:(0,ct.jsx)(rr,{className:"".concat(bn,"-block ").concat(wn).trim(),color:$r,check:sn===$r,onClick:function(){return pr&&pr($r)}})},$r):null})})};function fr(){return(0,ct.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"1em",height:"1em",viewBox:"0 0 104 104",children:[(0,ct.jsxs)("defs",{children:[(0,ct.jsx)("rect",{id:"path-1",width:"90",height:"72",x:"0",y:"0",rx:"10"}),(0,ct.jsxs)("filter",{id:"filter-2",width:"152.2%",height:"165.3%",x:"-26.1%",y:"-27.1%",filterUnits:"objectBoundingBox",children:[(0,ct.jsx)("feMorphology",{in:"SourceAlpha",radius:"0.25",result:"shadowSpreadOuter1"}),(0,ct.jsx)("feOffset",{dy:"1",in:"shadowSpreadOuter1",result:"shadowOffsetOuter1"}),(0,ct.jsx)("feGaussianBlur",{in:"shadowOffsetOuter1",result:"shadowBlurOuter1",stdDeviation:"1"}),(0,ct.jsx)("feColorMatrix",{in:"shadowBlurOuter1",result:"shadowMatrixOuter1",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"}),(0,ct.jsx)("feMorphology",{in:"SourceAlpha",radius:"1",result:"shadowSpreadOuter2"}),(0,ct.jsx)("feOffset",{dy:"2",in:"shadowSpreadOuter2",result:"shadowOffsetOuter2"}),(0,ct.jsx)("feGaussianBlur",{in:"shadowOffsetOuter2",result:"shadowBlurOuter2",stdDeviation:"4"}),(0,ct.jsx)("feColorMatrix",{in:"shadowBlurOuter2",result:"shadowMatrixOuter2",values:"0 0 0 0 0.098466735 0 0 0 0 0.0599695403 0 0 0 0 0.0599695403 0 0 0 0.07 0"}),(0,ct.jsx)("feMorphology",{in:"SourceAlpha",radius:"2",result:"shadowSpreadOuter3"}),(0,ct.jsx)("feOffset",{dy:"4",in:"shadowSpreadOuter3",result:"shadowOffsetOuter3"}),(0,ct.jsx)("feGaussianBlur",{in:"shadowOffsetOuter3",result:"shadowBlurOuter3",stdDeviation:"8"}),(0,ct.jsx)("feColorMatrix",{in:"shadowBlurOuter3",result:"shadowMatrixOuter3",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"}),(0,ct.jsxs)("feMerge",{children:[(0,ct.jsx)("feMergeNode",{in:"shadowMatrixOuter1"}),(0,ct.jsx)("feMergeNode",{in:"shadowMatrixOuter2"}),(0,ct.jsx)("feMergeNode",{in:"shadowMatrixOuter3"})]})]})]}),(0,ct.jsxs)("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:[(0,ct.jsxs)("g",{children:[(0,ct.jsx)("use",{fill:"#000",filter:"url(#filter-2)",xlinkHref:"#path-1"}),(0,ct.jsx)("use",{fill:"#F0F2F5",xlinkHref:"#path-1"})]}),(0,ct.jsx)("path",{fill:"#FFF",d:"M25 15h65v47c0 5.523-4.477 10-10 10H25V15z"}),(0,ct.jsx)("path",{stroke:"#E6EAF0",strokeLinecap:"square",d:"M0.5 15.5L90.5 15.5"}),(0,ct.jsx)("rect",{width:"14",height:"3",x:"4",y:"26",fill:"#D7DDE6",rx:"1.5"}),(0,ct.jsx)("rect",{width:"9",height:"3",x:"4",y:"32",fill:"#D7DDE6",rx:"1.5"}),(0,ct.jsx)("rect",{width:"9",height:"3",x:"4",y:"42",fill:"#E6EAF0",rx:"1.5"}),(0,ct.jsx)("rect",{width:"9",height:"3",x:"4",y:"21",fill:"#E6EAF0",rx:"1.5"}),(0,ct.jsx)("rect",{width:"9",height:"3",x:"4",y:"53",fill:"#D7DDE6",rx:"1.5"}),(0,ct.jsx)("rect",{width:"14",height:"3",x:"4",y:"47",fill:"#D7DDE6",rx:"1.5"}),(0,ct.jsx)("path",{stroke:"#E6EAF0",strokeLinecap:"square",d:"M25.5 15.5L25.5 72.5"})]})]})}function ir(){return(0,ct.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"1em",height:"1em",viewBox:"0 0 104 104",children:[(0,ct.jsxs)("defs",{children:[(0,ct.jsx)("rect",{id:"path-1",width:"90",height:"72",x:"0",y:"0",rx:"10"}),(0,ct.jsxs)("filter",{id:"filter-2",width:"152.2%",height:"165.3%",x:"-26.1%",y:"-27.1%",filterUnits:"objectBoundingBox",children:[(0,ct.jsx)("feMorphology",{in:"SourceAlpha",radius:"0.25",result:"shadowSpreadOuter1"}),(0,ct.jsx)("feOffset",{dy:"1",in:"shadowSpreadOuter1",result:"shadowOffsetOuter1"}),(0,ct.jsx)("feGaussianBlur",{in:"shadowOffsetOuter1",result:"shadowBlurOuter1",stdDeviation:"1"}),(0,ct.jsx)("feColorMatrix",{in:"shadowBlurOuter1",result:"shadowMatrixOuter1",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"}),(0,ct.jsx)("feMorphology",{in:"SourceAlpha",radius:"1",result:"shadowSpreadOuter2"}),(0,ct.jsx)("feOffset",{dy:"2",in:"shadowSpreadOuter2",result:"shadowOffsetOuter2"}),(0,ct.jsx)("feGaussianBlur",{in:"shadowOffsetOuter2",result:"shadowBlurOuter2",stdDeviation:"4"}),(0,ct.jsx)("feColorMatrix",{in:"shadowBlurOuter2",result:"shadowMatrixOuter2",values:"0 0 0 0 0.098466735 0 0 0 0 0.0599695403 0 0 0 0 0.0599695403 0 0 0 0.07 0"}),(0,ct.jsx)("feMorphology",{in:"SourceAlpha",radius:"2",result:"shadowSpreadOuter3"}),(0,ct.jsx)("feOffset",{dy:"4",in:"shadowSpreadOuter3",result:"shadowOffsetOuter3"}),(0,ct.jsx)("feGaussianBlur",{in:"shadowOffsetOuter3",result:"shadowBlurOuter3",stdDeviation:"8"}),(0,ct.jsx)("feColorMatrix",{in:"shadowBlurOuter3",result:"shadowMatrixOuter3",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"}),(0,ct.jsxs)("feMerge",{children:[(0,ct.jsx)("feMergeNode",{in:"shadowMatrixOuter1"}),(0,ct.jsx)("feMergeNode",{in:"shadowMatrixOuter2"}),(0,ct.jsx)("feMergeNode",{in:"shadowMatrixOuter3"})]})]})]}),(0,ct.jsxs)("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:[(0,ct.jsxs)("g",{children:[(0,ct.jsx)("use",{fill:"#000",filter:"url(#filter-2)",xlinkHref:"#path-1"}),(0,ct.jsx)("use",{fill:"#F0F2F5",xlinkHref:"#path-1"})]}),(0,ct.jsx)("path",{fill:"#FFF",d:"M26 0h55c5.523 0 10 4.477 10 10v8H26V0z"}),(0,ct.jsx)("path",{fill:"#001529",d:"M10 0h19v72H10C4.477 72 0 67.523 0 62V10C0 4.477 4.477 0 10 0z"}),(0,ct.jsx)("rect",{width:"14",height:"3",x:"5",y:"18",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,ct.jsx)("rect",{width:"14",height:"3",x:"5",y:"42",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,ct.jsx)("rect",{width:"9",height:"3",x:"9",y:"24",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,ct.jsx)("rect",{width:"9",height:"3",x:"9",y:"48",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,ct.jsx)("rect",{width:"9",height:"3",x:"9",y:"36",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,ct.jsx)("rect",{width:"14",height:"3",x:"9",y:"30",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,ct.jsx)("rect",{width:"14",height:"3",x:"9",y:"54",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"})]})]})}var gr=e(4942),sr=e(98082),fn=function(lt){return(0,gr.Z)((0,gr.Z)({},"".concat(lt.componentCls,"-handle"),{position:"fixed",insetBlockStart:"240px",insetInlineEnd:"0px",zIndex:0,display:"flex",alignItems:"center",justifyContent:"center",width:"48px",height:"48px",fontSize:"16px",textAlign:"center",backgroundColor:lt.colorPrimary,borderEndStartRadius:lt.borderRadiusLG,borderStartStartRadius:lt.borderRadiusLG,"-webkit-backdropilter":"saturate(180%) blur(20px)",backdropFilter:"saturate(180%) blur(20px)",cursor:"pointer",pointerEvents:"auto"}),lt.componentCls,{"&-content":{position:"relative",minHeight:"100%",color:lt.colorText},"&-body-title":{marginBlock:lt.marginXS,fontSize:"14px",lineHeight:"22px",color:lt.colorTextHeading},"&-block-checkbox":{display:"flex",minHeight:42,gap:lt.marginSM,"& &-item":{position:"relative",width:"44px",height:"36px",overflow:"hidden",borderRadius:"4px",boxShadow:lt.boxShadow,cursor:"pointer",fontSize:56,lineHeight:"56px","&::before":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"33%",height:"100%",content:"''"},"&::after":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"25%",content:"''"},"&-realDark":{backgroundColor:"rgba(0, 21, 41, 0.85)","&::before":{backgroundColor:"rgba(0, 0, 0, 0.65)"},"&::after":{backgroundColor:"rgba(0, 0, 0, 0.85)"}},"&-light":{backgroundColor:"#fff","&::before":{backgroundColor:"#fff"},"&::after":{backgroundColor:"#fff"}},"&-dark,&-side":{backgroundColor:lt.colorBgElevated,"&::before":{zIndex:"1",backgroundColor:"#001529"},"&::after":{backgroundColor:lt.colorBgContainer}},"&-top":{backgroundColor:lt.colorBgElevated,"&::before":{backgroundColor:"transparent"},"&::after":{backgroundColor:"#001529"}},"&-mix":{backgroundColor:lt.colorBgElevated,"&::before":{backgroundColor:lt.colorBgContainer},"&::after":{backgroundColor:"#001529"}}},"& &-selectIcon":{position:"absolute",insetInlineEnd:"6px",bottom:"4px",color:lt.colorPrimary,fontWeight:"bold",fontSize:"14px",pointerEvents:"none",".action":{color:lt.colorPrimary}},"& &-icon":{fontSize:56,lineHeight:"56px"}},"&-theme-color":{marginBlockStart:"16px",overflow:"hidden","& &-block":{float:"left",width:"20px",height:"20px",marginBlockStart:8,marginInlineEnd:8,color:"#fff",fontWeight:"bold",textAlign:"center",borderRadius:"2px",cursor:"pointer"}},"&-list":(0,gr.Z)({},"li".concat(lt.antCls,"-list-item"),{paddingInline:0,paddingBlock:8})})};function tr(Lt){return(0,sr.Xj)("ProLayoutSettingDrawer",function(lt){var sn=(0,C.Z)((0,C.Z)({},lt),{},{componentCls:".".concat(Lt)});return[fn(sn)]})}var gn=function(lt){var sn=lt.children,ln=lt.hashId,pr=lt.prefixCls,Ar=lt.title;return(0,ct.jsxs)("div",{style:{marginBlockEnd:12},children:[(0,ct.jsx)("h3",{className:"".concat(pr,"-body-title ").concat(ln).trim(),children:Ar}),sn]})},an=function(lt){var sn={};return Object.keys(lt).forEach(function(ln){lt[ln]!==dn.h[ln]&&ln!=="collapse"?sn[ln]=lt[ln]:sn[ln]=void 0,ln.includes("Render")&&(sn[ln]=lt[ln]===!1?!1:void 0)}),sn.menu=void 0,sn},nt=function(){var lt=function(ln){var pr=ln.id,Ar=(0,pn.e)();return Ar[pr]};return lt},xt=function(lt,sn,ln){if((0,Ie.j)()){var pr={};Object.keys(lt).forEach(function(jn){if(dn.h[jn]||dn.h[jn]===void 0){if(jn==="colorPrimary"){pr[jn]=(0,rn.tV)(lt[jn]);return}pr[jn]=lt[jn]}});var Ar=(0,Ze.T)({},sn,pr);delete Ar.menu,delete Ar.title,delete Ar.iconfontUrl,ln==null||ln(Ar)}},Bt=function(lt,sn){return(0,Ie.j)()?(0,C.Z)((0,C.Z)((0,C.Z)({},dn.h),sn||{}),lt):dn.h},bt=function(lt){return JSON.stringify((0,en.Z)((0,C.Z)((0,C.Z)({},lt),{},{colorPrimary:lt.colorPrimary}),["colorWeak"]),null,2)},zt=function(lt){var sn=lt.defaultSettings,ln=sn===void 0?void 0:sn,pr=lt.settings,Ar=pr===void 0?void 0:pr,jn=lt.hideHintAlert,wn=lt.hideCopyButton,bn=lt.colorList,_n=bn===void 0?[{key:"techBlue",color:"#1677FF"},{key:"daybreak",color:"#1890ff"},{key:"dust",color:"#F5222D"},{key:"volcano",color:"#FA541C"},{key:"sunset",color:"#FAAD14"},{key:"cyan",color:"#13C2C2"},{key:"green",color:"#52C41A"},{key:"geekblue",color:"#2F54EB"},{key:"purple",color:"#722ED1"}]:bn,Or=lt.getContainer,$r=lt.onSettingChange,ua=lt.enableDarkTheme,Ea=lt.prefixCls,ha=Ea===void 0?"ant-pro":Ea,mr=lt.pathname,_r=mr===void 0?window.location.pathname:mr,Ma=lt.disableUrlParams,za=Ma===void 0?!0:Ma,Ta=lt.themeOnly,Ra=(0,S.useRef)(!0),ao=(0,Yt.Z)(!1,{value:lt.collapse,onChange:lt.onCollapseChange}),ho=(0,Z.Z)(ao,2),Ja=ho[0],Go=ho[1],Pa=(0,S.useState)((0,pn.G)()),Xa=(0,Z.Z)(Pa,2),ti=Xa[0],Uo=Xa[1],Lo=(0,He.l)({},{disabled:za}),Qe=(0,Z.Z)(Lo,2),mt=Qe[0],pt=Qe[1],$t=(0,Yt.Z)(function(){return Bt(mt,Ar||ln)},{value:Ar,onChange:$r}),tn=(0,Z.Z)($t,2),Nn=tn[0],vr=tn[1],br=Nn||{},nr=br.navTheme,Ir=br.colorPrimary,Er=br.siderMenuType,yr=br.layout,Xn=br.colorWeak;(0,S.useEffect)(function(){var qr=function(){ti!==(0,pn.G)()&&Uo((0,pn.G)())};return(0,Ie.j)()?(xt(Bt(mt,Ar),Nn,vr),window.document.addEventListener("languagechange",qr,{passive:!0}),function(){return window.document.removeEventListener("languagechange",qr)}):function(){return null}},[]),(0,S.useEffect)(function(){(0,ot.n)(qe.Z,"5.0.0")<0&&Xe.ZP.config({theme:{primaryColor:Nn.colorPrimary}})},[Nn.colorPrimary,Nn.navTheme]);var Kr=function(Hr,Vr){var ia={};if(ia[Hr]=Vr,Hr==="layout"&&(ia.contentWidth=Vr==="top"?"Fixed":"Fluid"),Hr==="layout"&&Vr!=="mix"&&(ia.splitMenus=!1),Hr==="layout"&&Vr==="mix"&&(ia.navTheme="light"),Hr==="colorWeak"&&Vr===!0){var ja=document.querySelector("body");ja&&(ja.dataset.prosettingdrawer=ja.style.filter,ja.style.filter="invert(80%)")}if(Hr==="colorWeak"&&Vr===!1){var Ka=document.querySelector("body");Ka&&(Ka.style.filter=Ka.dataset.prosettingdrawer||"none",delete Ka.dataset.prosettingdrawer)}delete ia.menu,delete ia.title,delete ia.iconfontUrl,delete ia.logo,delete ia.pwa,vr((0,C.Z)((0,C.Z)({},Nn),ia))},ta=nt();(0,S.useEffect)(function(){if((0,Ie.j)()&&!za){if(Ra.current){Ra.current=!1;return}var qr=new URLSearchParams(window.location.search),Hr=Object.fromEntries(qr.entries()),Vr=an((0,C.Z)((0,C.Z)({},Hr),Nn));delete Vr.logo,delete Vr.menu,delete Vr.title,delete Vr.iconfontUrl,delete Vr.pwa,pt(Vr)}},[pt,Nn,mt,_r,za]);var xr="".concat(ha,"-setting-drawer"),Jr=tr(xr),oa=Jr.wrapSSR,kr=Jr.hashId,ca=(0,Je.X)(Ja);return oa((0,ct.jsxs)(ct.Fragment,{children:[(0,ct.jsx)("div",{className:"".concat(xr,"-handle ").concat(kr).trim(),onClick:function(){return Go(!Ja)},style:{width:48,height:48},children:Ja?(0,ct.jsx)(Q,{style:{color:"#fff",fontSize:20}}):(0,ct.jsx)(T,{style:{color:"#fff",fontSize:20}})}),(0,ct.jsx)(le.Z,(0,C.Z)((0,C.Z)({},ca),{},{width:300,onClose:function(){return Go(!1)},closable:!1,placement:"right",getContainer:Or,style:{zIndex:999},children:(0,ct.jsxs)("div",{className:"".concat(xr,"-drawer-content ").concat(kr).trim(),children:[(0,ct.jsx)(gn,{title:ta({id:"app.setting.pagestyle",defaultMessage:"Page style setting"}),hashId:kr,prefixCls:xr,children:(0,ct.jsx)(et,{hashId:kr,prefixCls:xr,list:[{key:"light",title:ta({id:"app.setting.pagestyle.light",defaultMessage:"\u4EAE\u8272\u83DC\u5355\u98CE\u683C"})},{key:"realDark",title:ta({id:"app.setting.pagestyle.realdark",defaultMessage:"\u6697\u8272\u83DC\u5355\u98CE\u683C"})}].filter(function(qr){return!(qr.key==="dark"&&Nn.layout==="mix"||qr.key==="realDark"&&!ua)}),value:nr,configType:"theme",onChange:function(Hr){return Kr("navTheme",Hr)}},"navTheme")}),_n!==!1&&(0,ct.jsx)(gn,{hashId:kr,title:ta({id:"app.setting.themecolor",defaultMessage:"Theme color"}),prefixCls:xr,children:(0,ct.jsx)(or,{hashId:kr,prefixCls:xr,colorList:_n,value:(0,rn.tV)(Ir),formatMessage:ta,onChange:function(Hr){return Kr("colorPrimary",Hr)}})}),!Ta&&(0,ct.jsxs)(ct.Fragment,{children:[(0,ct.jsx)(U.Z,{}),(0,ct.jsx)(gn,{hashId:kr,prefixCls:xr,title:ta({id:"app.setting.navigationmode"}),children:(0,ct.jsx)(et,{prefixCls:xr,value:yr,hashId:kr,configType:"layout",list:[{key:"side",title:ta({id:"app.setting.sidemenu"})},{key:"top",title:ta({id:"app.setting.topmenu"})},{key:"mix",title:ta({id:"app.setting.mixmenu"})}],onChange:function(Hr){return Kr("layout",Hr)}},"layout")}),Nn.layout=="side"||Nn.layout=="mix"?(0,ct.jsx)(gn,{hashId:kr,prefixCls:xr,title:ta({id:"app.setting.sidermenutype"}),children:(0,ct.jsx)(et,{prefixCls:xr,value:Er,hashId:kr,configType:"siderMenuType",list:[{key:"sub",icon:(0,ct.jsx)(ir,{}),title:ta({id:"app.setting.sidermenutype-sub"})},{key:"group",icon:(0,ct.jsx)(fr,{}),title:ta({id:"app.setting.sidermenutype-group"})}],onChange:function(Hr){return Kr("siderMenuType",Hr)}},"siderMenuType")}):null,(0,ct.jsx)(ht,{prefixCls:xr,hashId:kr,settings:Nn,changeSetting:Kr}),(0,ct.jsx)(U.Z,{}),(0,ct.jsx)(gn,{hashId:kr,prefixCls:xr,title:ta({id:"app.setting.regionalsettings"}),children:(0,ct.jsx)(un,{hashId:kr,prefixCls:xr,settings:Nn,changeSetting:Kr})}),(0,ct.jsx)(U.Z,{}),(0,ct.jsx)(gn,{hashId:kr,prefixCls:xr,title:ta({id:"app.setting.othersettings"}),children:(0,ct.jsx)(M.Z,{className:"".concat(xr,"-list ").concat(kr).trim(),split:!1,size:"small",renderItem:Jt,dataSource:[{title:ta({id:"app.setting.weakmode"}),action:(0,ct.jsx)(D.Z,{size:"small",className:"color-weak",checked:!!Xn,onChange:function(Hr){Kr("colorWeak",Hr)}})}]})}),jn&&wn?null:(0,ct.jsx)(U.Z,{}),jn?null:(0,ct.jsx)(gt,{type:"warning",message:ta({id:"app.setting.production.hint"}),icon:(0,ct.jsx)(X,{}),showIcon:!0,style:{marginBlockEnd:16}}),wn?null:(0,ct.jsx)(cn.ZP,{block:!0,icon:(0,ct.jsx)(Re,{}),style:{marginBlockEnd:24},onClick:(0,oe.Z)((0,N.Z)().mark(function qr(){return(0,N.Z)().wrap(function(Vr){for(;;)switch(Vr.prev=Vr.next){case 0:return Vr.prev=0,Vr.next=3,navigator.clipboard.writeText(bt(Nn));case 3:Ft.ZP.success(ta({id:"app.setting.copyinfo"})),Vr.next=8;break;case 6:Vr.prev=6,Vr.t0=Vr.catch(0);case 8:case"end":return Vr.stop()}},qr,null,[[0,6]])})),children:ta({id:"app.setting.copy"})})]})]})}))]}))},Vt=e(35312),nn=e(48357),Dn=e(67610);function Gn(Lt){var lt=Lt!=null?Lt:{},sn=lt.currentUser,ln={canAdmin:sn&&sn.role&&sn.role<=3,superAdmin:sn&&sn.role&&sn.role===1,canDeviceOwner:sn&&sn.role&&sn.role===4};return ln}var Vn={errorConfig:{errorThrower:function(lt){var sn=lt,ln=sn.data,pr=sn.code,Ar=sn.message;if(pr!==0){var jn=new Error(Ar);throw jn.name="BizError",jn.info={code:pr,message:Ar,data:ln},jn}},errorHandler:function(lt,sn){if(sn!=null&&sn.skipErrorHandler)throw lt;if(lt.name==="BizError"){var ln=lt.info;ln&&Ft.ZP.error(ln.message)}else lt.response?Ft.ZP.error("Response status:".concat(lt.response.status)):lt.request?Ft.ZP.error("None response! Please retry."):Ft.ZP.error("Request error, please retry.")}},requestInterceptors:[function(Lt){var lt,sn=Lt==null||(lt=Lt.url)===null||lt===void 0?void 0:lt.concat("?token = 123");return y()(y()({},Lt),{},{url:sn})}],responseInterceptors:[function(Lt){var lt=Lt,sn=lt.data;return sn.code!==0?sn.success=!1:sn.success=!0,Lt}]},Fn=!1,mn="/user/login";function Bn(){return Mn.apply(this,arguments)}function Mn(){return Mn=d()(f()().mark(function Lt(){var lt,sn,ln;return f()().wrap(function(Ar){for(;;)switch(Ar.prev=Ar.next){case 0:if(lt=function(){var jn=d()(f()().mark(function wn(){var bn;return f()().wrap(function(Or){for(;;)switch(Or.prev=Or.next){case 0:return Or.prev=0,Or.next=3,(0,nn.Vk)({skipErrorHandler:!0});case 3:return bn=Or.sent,Or.abrupt("return",bn.data);case 7:Or.prev=7,Or.t0=Or.catch(0),Vt.history.push(mn);case 10:return Or.abrupt("return",void 0);case 11:case"end":return Or.stop()}},wn,null,[[0,7]])}));return function(){return jn.apply(this,arguments)}}(),sn=Vt.history.location,sn.pathname===mn){Ar.next=7;break}return Ar.next=5,lt();case 5:return ln=Ar.sent,Ar.abrupt("return",{fetchUserInfo:lt,currentUser:ln,settings:Dn.Z});case 7:return Ar.abrupt("return",{fetchUserInfo:lt,settings:Dn.Z});case 8:case"end":return Ar.stop()}},Lt)})),Mn.apply(this,arguments)}var jr=function(lt){return{name:lt.name,children:[{name:"\u5E7F\u544A\u6570\u636E",path:"/proxy/advListV2/"+lt.code,component:"./Proxy/ProxyAdvRecordListV2"},{name:"\u7528\u6237\u7BA1\u7406",path:"/proxy/user/"+lt.code,component:"./Proxy/ProxyUserManagement"}]}},De=function(lt){return lt.enableCash?{name:lt.name,access:"canAdmin",children:[{name:"\u5E7F\u544A\u6570\u636E",path:"/advListV2/"+lt.code,access:"canAdmin",component:"./AdvRecordListV2"},{name:"\u7528\u6237\u7BA1\u7406",path:"/user/"+lt.code,access:"canAdmin",component:"./UserManagement"},{name:"\u63D0\u73B0\u7BA1\u7406",path:"/money/"+lt.code,access:"canAdmin",component:"./MoneyManagement"}]}:{path:"/advList/"+lt.code,name:lt.name,access:"canAdmin",component:"./AdvRecordList"}},Te=function(lt){var sn,ln=lt.initialState,pr=lt.setInitialState;return y()({menu:{params:{userId:ln==null||(sn=ln.currentUser)===null||sn===void 0?void 0:sn.id},request:function(){var Ar=d()(f()().mark(function wn(){var bn,_n,Or,$r,ua;return f()().wrap(function(ha){for(;;)switch(ha.prev=ha.next){case 0:return ha.next=2,(0,nn.ln)();case 2:return Or=ha.sent,$r=[],ua=(ln==null||(bn=ln.currentUser)===null||bn===void 0?void 0:bn.role)||100,(_n=Or.data)===null||_n===void 0||_n.forEach(function(mr){mr.hide===1&&ua<=2||(ua===5?$r.push(jr(mr)):$r.push(De(mr))),ua===4&&$r.push({path:"/app/"+mr.code,name:mr.name,access:"canDeviceOwner",component:"./DeviceOwnerApp"})}),$r.push({path:"/adminList",name:"\u4EBA\u5458\u7BA1\u7406",access:"canAdmin"}),$r.push({path:"/bind",name:"\u7ED1\u5B9A\u8BBE\u5907",access:"canDeviceOwner"}),$r.push({path:"/appList",name:"\u5E94\u7528\u5217\u8868"}),$r.push({path:"/super",name:"\u9B54\u6CD5\u4E4B\u5730",access:"superAdmin"}),ha.abrupt("return",$r);case 11:case"end":return ha.stop()}},wn)}));function jn(){return Ar.apply(this,arguments)}return jn}()},menuDataRender:function(jn){return jn.map(function(wn){var bn=wn.access;if(!bn)return wn;var _n=Gn(ln);return _n[bn]?wn:y()(y()({},wn),{},{hideInMenu:!0})})},actionsRender:function(){return[(0,ct.jsx)(b.HN,{},"doc"),(0,ct.jsx)(b.pD,{},"SelectLang")]},avatarProps:{title:(0,ct.jsx)(b.gj,{}),render:function(jn,wn){return(0,ct.jsx)(b.Kd,{children:wn})}},onPageChange:function(){var jn=Vt.history.location;!(ln!=null&&ln.currentUser)&&jn.pathname!==mn&&Vt.history.push(mn)},bgLayoutImgList:[{src:"https://mdn.alipayobjects.com/yuyan_qk0oxh/afts/img/D2LWSqNny4sAAAAAAAAAAAAAFl94AQBr",left:85,bottom:100,height:"303px"},{src:"https://mdn.alipayobjects.com/yuyan_qk0oxh/afts/img/C2TWRpJpiC0AAAAAAAAAAAAAFl94AQBr",bottom:-68,right:-45,height:"303px"},{src:"https://mdn.alipayobjects.com/yuyan_qk0oxh/afts/img/F6vSTbj8KpYAAAAAAAAAAAAAFl94AQBr",bottom:0,left:0,width:"331px"}],links:Fn?[(0,ct.jsxs)(Vt.Link,{to:"/umi/plugin/openapi",target:"_blank",children:[(0,ct.jsx)($,{onPointerOverCapture:void 0,onPointerMoveCapture:void 0}),(0,ct.jsx)("span",{children:"OpenAPI \u6587\u6863"})]},"openapi")]:[],menuHeaderRender:void 0,childrenRender:function(jn){return(0,ct.jsxs)(ct.Fragment,{children:[jn,Fn&&(0,ct.jsx)(zt,{disableUrlParams:!0,enableDarkTheme:!0,settings:ln==null?void 0:ln.settings,onSettingChange:function(bn){pr(function(_n){return y()(y()({},_n),{},{settings:bn})})}})]})}},ln==null?void 0:ln.settings)},Le=y()({},Vn),Ue=e(70405),rt={},Dt=function(lt){return S.createElement(Ue.B6,{context:rt},lt)},on=e(44886),xn=e(78382);function hn(Lt){var lt=(0,on.t)("@@initialState"),sn=lt.initialState,ln=S.useMemo(function(){return Gn(sn)},[sn]);return(0,ct.jsx)(xn.J.Provider,{value:ln,children:Lt.children})}function In(Lt){return(0,ct.jsx)(hn,{children:Lt})}function Wn(){return(0,ct.jsx)("div",{})}function Zn(Lt){var lt=S.useRef(!1),sn=(0,on.t)("@@initialState")||{},ln=sn.loading,pr=ln===void 0?!1:ln;return S.useEffect(function(){pr||(lt.current=!0)},[pr]),pr&&!lt.current?(0,ct.jsx)(Wn,{}):Lt.children}function hr(Lt){return(0,ct.jsx)(Zn,{children:Lt})}var ar={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4z"}}]},name:"smile",theme:"outlined"},ur=ar,Tt=function(lt,sn){return S.createElement(O.Z,(0,C.Z)((0,C.Z)({},lt),{},{ref:sn,icon:ur}))},_t=S.forwardRef(Tt),Hn=_t,zn={SmileOutlined:Hn};function Ke(Lt){return Lt.replace(Lt[0],Lt[0].toUpperCase()).replace(/-(w)/g,function(lt,sn){return sn.toUpperCase()})}function me(Lt){var lt=Lt.routes;Object.keys(lt).forEach(function(sn){var ln=lt[sn].icon;if(ln&&typeof ln=="string"){var pr=Ke(ln);(zn[pr]||zn[pr+"Outlined"])&&(lt[sn].icon=S.createElement(zn[pr]||zn[pr+"Outlined"]))}})}var fe=e(5574),Ee=e.n(fe),ve=e(27484),_e=e.n(ve),it=e(54067),It=e(25054),Nt=e(96953),Zt=e(83783),Pt=e(76831),Cn=e(57548),yn=e(33852),Gt=e(43901),yt=e(98944);function Mt(){var Lt=getLocale();if(moment!=null&&moment.locale){var lt;moment.locale(((lt=localeInfo[Lt])===null||lt===void 0?void 0:lt.momentLocale)||"")}setIntl(Lt)}var Rt=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?S.useLayoutEffect:S.useEffect,En=function(lt){var sn,ln=(0,yt.Kd)(),pr=S.useState(ln),Ar=Ee()(pr,2),jn=Ar[0],wn=Ar[1],bn=S.useState(function(){return(0,yt.lw)(jn,!0)}),_n=Ee()(bn,2),Or=_n[0],$r=_n[1],ua=function(_r){if(_e()!==null&&_e()!==void 0&&_e().locale){var Ma;_e().locale(((Ma=yt.H8[_r])===null||Ma===void 0?void 0:Ma.momentLocale)||"en")}wn(_r),$r((0,yt.lw)(_r))};Rt(function(){return yt.B.on(yt.PZ,ua),function(){yt.B.off(yt.PZ,ua)}},[]);var Ea={},ha=(0,yt.Mg)();return(0,ct.jsx)(Xe.ZP,{direction:ha,locale:((sn=yt.H8[jn])===null||sn===void 0?void 0:sn.antd)||Ea,children:(0,ct.jsx)(yt.eU,{value:Or,children:lt.children})})};function Xt(Lt){return S.createElement(En,null,Lt)}var Ln={initialState:void 0,loading:!0,error:void 0},Nr=function(){var Lt=(0,S.useState)(Ln),lt=Ee()(Lt,2),sn=lt[0],ln=lt[1],pr=(0,S.useCallback)(d()(f()().mark(function jn(){var wn;return f()().wrap(function(_n){for(;;)switch(_n.prev=_n.next){case 0:return ln(function(Or){return y()(y()({},Or),{},{loading:!0,error:void 0})}),_n.prev=1,_n.next=4,Bn();case 4:wn=_n.sent,ln(function(Or){return y()(y()({},Or),{},{initialState:wn,loading:!1})}),_n.next=11;break;case 8:_n.prev=8,_n.t0=_n.catch(1),ln(function(Or){return y()(y()({},Or),{},{error:_n.t0,loading:!1})});case 11:case"end":return _n.stop()}},jn,null,[[1,8]])})),[]),Ar=(0,S.useCallback)(function(){var jn=d()(f()().mark(function wn(bn){return f()().wrap(function(Or){for(;;)switch(Or.prev=Or.next){case 0:ln(function($r){return typeof bn=="function"?y()(y()({},$r),{},{initialState:bn($r.initialState),loading:!1}):y()(y()({},$r),{},{initialState:bn,loading:!1})});case 1:case"end":return Or.stop()}},wn)}));return function(wn){return jn.apply(this,arguments)}}(),[]);return(0,S.useEffect)(function(){pr()},[]),y()(y()({},sn),{},{refresh:pr,setInitialState:Ar})},Sr={model_1:{namespace:"@@initialState",model:Nr}};function Br(Lt){var lt=S.useMemo(function(){return Object.keys(Sr).reduce(function(sn,ln){return sn[Sr[ln].namespace]=Sr[ln].model,sn},{})},[]);return(0,ct.jsx)(on.z,y()(y()({models:lt},Lt),{},{children:Lt.children}))}function Tr(Lt,lt){return(0,ct.jsx)(Br,y()(y()({},lt),{},{children:Lt}))}function la(Lt){return Lt.default?typeof Lt.default=="function"?Lt.default():Lt.default:Lt}function Xr(){return[{apply:la(t),path:void 0},{apply:r,path:void 0},{apply:o,path:void 0},{apply:a,path:void 0},{apply:s,path:void 0},{apply:c,path:void 0},{apply:u,path:void 0}]}function Qr(){return["patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","antd","getInitialState","layout","locale","qiankun","request"]}var cr=null;function Ur(){return cr=Vt.PluginManager.create({plugins:Xr(),validKeys:Qr()}),cr}function ea(){return cr}},35312:function(v,g,e){"use strict";e.d(g,{ApplyPluginsType:function(){return zt},FormattedMessage:function(){return r._H},Helmet:function(){return er.ql},Link:function(){return Rr},Outlet:function(){return kt.j3},PluginManager:function(){return Vt},SelectLang:function(){return r.pD},history:function(){return nn.m8},matchRoutes:function(){return kt.fp},request:function(){return At},useAppData:function(){return An.Ov},useIntl:function(){return r.YB},useLocation:function(){return kt.TH},useModel:function(){return o.t},useNavigate:function(){return kt.s0},useOutletContext:function(){return kt.bx},useParams:function(){return kt.UO}});var t=e(83228),r=e(66999),o=e(44886),a=e(15009),s=e.n(a),c=e(99289),u=e.n(c),l=e(13769),f=e(52677),p=e.n(f),y=e(97857),m=e.n(y),d=e(9669),b=e.n(d),C=e(67294),S=e(91296),x=e.n(S),w=e(93096),O=e.n(w);function j(){return typeof document!="undefined"&&typeof document.visibilityState!="undefined"?document.visibilityState!=="hidden":!0}function E(){return typeof navigator.onLine!="undefined"?navigator.onLine:!0}var $=new Map,N=function(Te,Le,Ue){var rt=$.get(Te);rt!=null&&rt.timer&&clearTimeout(rt.timer);var Dt=void 0;Le>-1&&(Dt=setTimeout(function(){$.delete(Te)},Le)),$.set(Te,{data:Ue,timer:Dt,startTime:new Date().getTime()})},oe=function(Te){var Le=$.get(Te);return{data:Le==null?void 0:Le.data,startTime:Le==null?void 0:Le.startTime}},Z=function(De,Te){var Le=typeof Symbol=="function"&&De[Symbol.iterator];if(!Le)return De;var Ue=Le.call(De),rt,Dt=[],on;try{for(;(Te===void 0||Te-- >0)&&!(rt=Ue.next()).done;)Dt.push(rt.value)}catch(xn){on={error:xn}}finally{try{rt&&!rt.done&&(Le=Ue.return)&&Le.call(Ue)}finally{if(on)throw on.error}}return Dt},Y=function(){for(var De=[],Te=0;Te0)&&!(rt=Ue.next()).done;)Dt.push(rt.value)}catch(xn){on={error:xn}}finally{try{rt&&!rt.done&&(Le=Ue.return)&&Le.call(Ue)}finally{if(on)throw on.error}}return Dt},B=function(){for(var De=[],Te=0;Te0)&&!(rt=Ue.next()).done;)Dt.push(rt.value)}catch(xn){on={error:xn}}finally{try{rt&&!rt.done&&(Le=Ue.return)&&Le.call(Ue)}finally{if(on)throw on.error}}return Dt},Ze=function(){for(var De=[],Te=0;Te0){var bn=it&&((wn=getCache(it))===null||wn===void 0?void 0:wn.startTime)||0;Pt===-1||new Date().getTime()-bn<=Pt||Object.values(Ur).forEach(function(_n){_n.refresh()})}else ln.current.apply(ln,Ze(Ke))},[]);var Ar=useCallback(function(){Object.values(Lt.current).forEach(function(wn){wn.unmount()}),Xt.current=ot,ea({}),Lt.current={}},[ea]);useUpdateEffect(function(){on||Object.values(Lt.current).forEach(function(wn){wn.refresh()})},Ze(rt)),useEffect(function(){return function(){Object.values(Lt.current).forEach(function(wn){wn.unmount()})}},[]);var jn=useCallback(function(wn){return function(){console.warn("You should't call "+wn+" when service not executed once.")}},[]);return Re(Re({loading:Mt&&!on||hr,data:Gt,error:void 0,params:[],cancel:jn("cancel"),refresh:jn("refresh"),mutate:jn("mutate")},Ur[Xt.current]||{}),{run:sn,fetches:Ur,reset:Ar})}var qe=null,Xe=function(){return Xe=Object.assign||function(De){for(var Te,Le=1,Ue=arguments.length;Le0)&&!(rt=Ue.next()).done;)Dt.push(rt.value)}catch(xn){on={error:xn}}finally{try{rt&&!rt.done&&(Le=Ue.return)&&Le.call(Ue)}finally{if(on)throw on.error}}return Dt},M=function(){for(var De=[],Te=0;Te0)&&!(rt=Ue.next()).done;)Dt.push(rt.value)}catch(xn){on={error:xn}}finally{try{rt&&!rt.done&&(Le=Ue.return)&&Le.call(Ue)}finally{if(on)throw on.error}}return Dt},_=function(){for(var De=[],Te=0;TeEn&&(Mt=Math.max(1,En)),_e({current:Mt,pageSize:Rt})},[it,_e]),Zt=useCallback(function(Gt){Nt(Gt,Ke)},[Nt,Ke]),Pt=useCallback(function(Gt){Nt(Hn,Gt)},[Nt,Hn]),Cn=useRef(Zt);Cn.current=Zt,useUpdateEffect(function(){Te.manual||Cn.current(1)},_(on));var yn=useCallback(function(Gt,yt,Mt){_e({current:Gt.current,pageSize:Gt.pageSize||rt,filters:yt,sorter:Mt})},[ve,fe,_e]);return k({loading:ar,data:Wn,params:Zn,run:hr,pagination:{current:Hn,pageSize:Ke,total:it,totalPage:It,onChange:Nt,changeCurrent:Zt,changePageSize:Pt},tableProps:{dataSource:(Wn==null?void 0:Wn.list)||[],loading:ar,onChange:yn,pagination:{current:Hn,pageSize:Ke,total:it}},sorter:fe,filters:ve},ur)}var se=null,pe=C.createContext({});pe.displayName="UseRequestConfigContext";var de=pe,Ne=function(){return Ne=Object.assign||function(De){for(var Te,Le=1,Ue=arguments.length;Le0)&&!(rt=Ue.next()).done;)Dt.push(rt.value)}catch(xn){on={error:xn}}finally{try{rt&&!rt.done&&(Le=Ue.return)&&Le.call(Ue)}finally{if(on)throw on.error}}return Dt},xe=function(){for(var De=[],Te=0;Te1&&arguments[1]!==void 0?arguments[1]:{};return useUmiRequest(De,_objectSpread({formatResult:function(Ue){return Ue==null?void 0:Ue.data},requestMethod:function(Ue){if(typeof Ue=="string")return At(Ue);if(_typeof(Ue)==="object"){var rt=Ue.url,Dt=_objectWithoutProperties(Ue,we);return At(rt,Dt)}throw new Error("request options error")}},Te))}var Ae,We,tt=function(){return We||(We=(0,$e.We)().applyPlugins({key:"request",type:zt.modify,initialValue:{}}),We)},dt=function(){var Te,Le;if(Ae)return Ae;var Ue=tt();return Ae=b().create(Ue),Ue==null||(Te=Ue.requestInterceptors)===null||Te===void 0||Te.forEach(function(rt){rt instanceof Array?Ae.interceptors.request.use(function(){var Dt=u()(s()().mark(function on(xn){var hn,In,Wn,Zn;return s()().wrap(function(ar){for(;;)switch(ar.prev=ar.next){case 0:if(hn=xn.url,rt[0].length!==2){ar.next=8;break}return ar.next=4,rt[0](hn,xn);case 4:return In=ar.sent,Wn=In.url,Zn=In.options,ar.abrupt("return",m()(m()({},Zn),{},{url:Wn}));case 8:return ar.abrupt("return",rt[0](xn));case 9:case"end":return ar.stop()}},on)}));return function(on){return Dt.apply(this,arguments)}}(),rt[1]):Ae.interceptors.request.use(function(){var Dt=u()(s()().mark(function on(xn){var hn,In,Wn,Zn;return s()().wrap(function(ar){for(;;)switch(ar.prev=ar.next){case 0:if(hn=xn.url,rt.length!==2){ar.next=8;break}return ar.next=4,rt(hn,xn);case 4:return In=ar.sent,Wn=In.url,Zn=In.options,ar.abrupt("return",m()(m()({},Zn),{},{url:Wn}));case 8:return ar.abrupt("return",rt(xn));case 9:case"end":return ar.stop()}},on)}));return function(on){return Dt.apply(this,arguments)}}())}),Ue==null||(Le=Ue.responseInterceptors)===null||Le===void 0||Le.forEach(function(rt){rt instanceof Array?Ae.interceptors.response.use(rt[0],rt[1]):Ae.interceptors.response.use(rt)}),Ae.interceptors.response.use(function(rt){var Dt,on=rt.data;return(on==null?void 0:on.success)===!1&&Ue!==null&&Ue!==void 0&&(Dt=Ue.errorConfig)!==null&&Dt!==void 0&&Dt.errorThrower&&Ue.errorConfig.errorThrower(on),rt}),Ae},At=function(Te){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{method:"GET"},Ue=dt(),rt=tt(),Dt=Le.getResponse,on=Dt===void 0?!1:Dt,xn=Le.requestInterceptors,hn=Le.responseInterceptors,In=xn==null?void 0:xn.map(function(Zn){return Zn instanceof Array?Ue.interceptors.request.use(function(){var hr=u()(s()().mark(function ar(ur){var Tt,_t,Hn,zn;return s()().wrap(function(me){for(;;)switch(me.prev=me.next){case 0:if(Tt=ur.url,Zn[0].length!==2){me.next=8;break}return me.next=4,Zn[0](Tt,ur);case 4:return _t=me.sent,Hn=_t.url,zn=_t.options,me.abrupt("return",m()(m()({},zn),{},{url:Hn}));case 8:return me.abrupt("return",Zn[0](ur));case 9:case"end":return me.stop()}},ar)}));return function(ar){return hr.apply(this,arguments)}}(),Zn[1]):Ue.interceptors.request.use(function(){var hr=u()(s()().mark(function ar(ur){var Tt,_t,Hn,zn;return s()().wrap(function(me){for(;;)switch(me.prev=me.next){case 0:if(Tt=ur.url,Zn.length!==2){me.next=8;break}return me.next=4,Zn(Tt,ur);case 4:return _t=me.sent,Hn=_t.url,zn=_t.options,me.abrupt("return",m()(m()({},zn),{},{url:Hn}));case 8:return me.abrupt("return",Zn(ur));case 9:case"end":return me.stop()}},ar)}));return function(ar){return hr.apply(this,arguments)}}())}),Wn=hn==null?void 0:hn.map(function(Zn){return Zn instanceof Array?Ue.interceptors.response.use(Zn[0],Zn[1]):Ue.interceptors.response.use(Zn)});return new Promise(function(Zn,hr){Ue.request(m()(m()({},Le),{},{url:Te})).then(function(ar){In==null||In.forEach(function(ur){Ue.interceptors.request.eject(ur)}),Wn==null||Wn.forEach(function(ur){Ue.interceptors.response.eject(ur)}),Zn(on?ar:ar.data)}).catch(function(ar){In==null||In.forEach(function(_t){Ue.interceptors.request.eject(_t)}),Wn==null||Wn.forEach(function(_t){Ue.interceptors.response.eject(_t)});try{var ur,Tt=rt==null||(ur=rt.errorConfig)===null||ur===void 0?void 0:ur.errorHandler;Tt&&Tt(ar,Le,rt)}catch(_t){hr(_t)}hr(ar)})})},vt=e(58096),qt=e(49647),kt=e(96974),wt=e(55648);function Kt(){return Kt=Object.assign||function(De){for(var Te=1;Te=0)&&(Le[rt]=De[rt]);return Le}const Ge=["onClick","reloadDocument","replace","state","target","to"],Et=null;function Ut(De,Te){if(!De){typeof console!="undefined"&&console.warn(Te);try{throw new Error(Te)}catch(Le){}}}function gt(De){let{basename:Te,children:Le,window:Ue}=De,rt=useRef();rt.current==null&&(rt.current=createBrowserHistory({window:Ue}));let Dt=rt.current,[on,xn]=useState({action:Dt.action,location:Dt.location});return useLayoutEffect(()=>Dt.listen(xn),[Dt]),createElement(Router,{basename:Te,children:Le,location:on.location,navigationType:on.action,navigator:Dt})}function cn(De){let{basename:Te,children:Le,window:Ue}=De,rt=useRef();rt.current==null&&(rt.current=createHashHistory({window:Ue}));let Dt=rt.current,[on,xn]=useState({action:Dt.action,location:Dt.location});return useLayoutEffect(()=>Dt.listen(xn),[Dt]),createElement(Router,{basename:Te,children:Le,location:on.location,navigationType:on.action,navigator:Dt})}function Ft(De){let{basename:Te,children:Le,history:Ue}=De;const[rt,Dt]=useState({action:Ue.action,location:Ue.location});return useLayoutEffect(()=>Ue.listen(Dt),[Ue]),createElement(Router,{basename:Te,children:Le,location:rt.location,navigationType:rt.action,navigator:Ue})}function en(De){return!!(De.metaKey||De.altKey||De.ctrlKey||De.shiftKey)}const Yt=(0,C.forwardRef)(function(Te,Le){let{onClick:Ue,reloadDocument:rt,replace:Dt=!1,state:on,target:xn,to:hn}=Te,In=Ct(Te,Ge),Wn=(0,kt.oQ)(hn),Zn=pn(hn,{replace:Dt,state:on,target:xn});function hr(ar){Ue&&Ue(ar),!ar.defaultPrevented&&!rt&&Zn(ar)}return(0,C.createElement)("a",Kt({},In,{href:Wn,onClick:hr,ref:Le,target:xn}))}),dn=null;function pn(De,Te){let{target:Le,replace:Ue,state:rt}=Te===void 0?{}:Te,Dt=(0,kt.s0)(),on=(0,kt.TH)(),xn=(0,kt.WU)(De);return(0,C.useCallback)(hn=>{if(hn.button===0&&(!Le||Le==="_self")&&!en(hn)){hn.preventDefault();let In=!!Ue||(0,wt.Ep)(on)===(0,wt.Ep)(xn);Dt(De,{replace:In,state:rt})}},[on,Dt,xn,Ue,rt,Le,De])}function rn(De){let Te=useRef(On(De)),Le=useLocation(),Ue=useMemo(()=>{let on=On(Le.search);for(let xn of Te.current.keys())on.has(xn)||Te.current.getAll(xn).forEach(hn=>{on.append(xn,hn)});return on},[Le.search]),rt=useNavigate(),Dt=useCallback((on,xn)=>{rt("?"+On(on),xn)},[rt]);return[Ue,Dt]}function On(De){return De===void 0&&(De=""),new URLSearchParams(typeof De=="string"||Array.isArray(De)||De instanceof URLSearchParams?De:Object.keys(De).reduce((Te,Le)=>{let Ue=De[Le];return Te.concat(Array.isArray(Ue)?Ue.map(rt=>[Le,rt]):[[Le,Ue]])},[]))}var An=e(34162),Jn=["prefetch"];function Rr(De){var Te,Le=De.prefetch,Ue=(0,qt.Z)(De,Jn),rt=(0,An.Ov)(),Dt=typeof De.to=="string"?De.to:(Te=De.to)===null||Te===void 0?void 0:Te.pathname;return Dt?C.createElement(Yt,(0,vt.Z)({onMouseEnter:function(){var xn;return Le&&Dt&&((xn=rt.preloadRoute)===null||xn===void 0?void 0:xn.call(rt,Dt))}},Ue),De.children):null}var er=e(70405);function ct(De){"@babel/helpers - typeof";return ct=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Te){return typeof Te}:function(Te){return Te&&typeof Symbol=="function"&&Te.constructor===Symbol&&Te!==Symbol.prototype?"symbol":typeof Te},ct(De)}function et(){"use strict";et=function(){return Te};var De,Te={},Le=Object.prototype,Ue=Le.hasOwnProperty,rt=Object.defineProperty||function(Gt,yt,Mt){Gt[yt]=Mt.value},Dt=typeof Symbol=="function"?Symbol:{},on=Dt.iterator||"@@iterator",xn=Dt.asyncIterator||"@@asyncIterator",hn=Dt.toStringTag||"@@toStringTag";function In(Gt,yt,Mt){return Object.defineProperty(Gt,yt,{value:Mt,enumerable:!0,configurable:!0,writable:!0}),Gt[yt]}try{In({},"")}catch(Gt){In=function(Mt,Rt,En){return Mt[Rt]=En}}function Wn(Gt,yt,Mt,Rt){var En=yt&&yt.prototype instanceof Hn?yt:Hn,Xt=Object.create(En.prototype),Ln=new Cn(Rt||[]);return rt(Xt,"_invoke",{value:It(Gt,Mt,Ln)}),Xt}function Zn(Gt,yt,Mt){try{return{type:"normal",arg:Gt.call(yt,Mt)}}catch(Rt){return{type:"throw",arg:Rt}}}Te.wrap=Wn;var hr="suspendedStart",ar="suspendedYield",ur="executing",Tt="completed",_t={};function Hn(){}function zn(){}function Ke(){}var me={};In(me,on,function(){return this});var fe=Object.getPrototypeOf,Ee=fe&&fe(fe(yn([])));Ee&&Ee!==Le&&Ue.call(Ee,on)&&(me=Ee);var ve=Ke.prototype=Hn.prototype=Object.create(me);function _e(Gt){["next","throw","return"].forEach(function(yt){In(Gt,yt,function(Mt){return this._invoke(yt,Mt)})})}function it(Gt,yt){function Mt(En,Xt,Ln,Nr){var Sr=Zn(Gt[En],Gt,Xt);if(Sr.type!=="throw"){var Br=Sr.arg,Tr=Br.value;return Tr&&ct(Tr)=="object"&&Ue.call(Tr,"__await")?yt.resolve(Tr.__await).then(function(la){Mt("next",la,Ln,Nr)},function(la){Mt("throw",la,Ln,Nr)}):yt.resolve(Tr).then(function(la){Br.value=la,Ln(Br)},function(la){return Mt("throw",la,Ln,Nr)})}Nr(Sr.arg)}var Rt;rt(this,"_invoke",{value:function(Xt,Ln){function Nr(){return new yt(function(Sr,Br){Mt(Xt,Ln,Sr,Br)})}return Rt=Rt?Rt.then(Nr,Nr):Nr()}})}function It(Gt,yt,Mt){var Rt=hr;return function(En,Xt){if(Rt===ur)throw new Error("Generator is already running");if(Rt===Tt){if(En==="throw")throw Xt;return{value:De,done:!0}}for(Mt.method=En,Mt.arg=Xt;;){var Ln=Mt.delegate;if(Ln){var Nr=Nt(Ln,Mt);if(Nr){if(Nr===_t)continue;return Nr}}if(Mt.method==="next")Mt.sent=Mt._sent=Mt.arg;else if(Mt.method==="throw"){if(Rt===hr)throw Rt=Tt,Mt.arg;Mt.dispatchException(Mt.arg)}else Mt.method==="return"&&Mt.abrupt("return",Mt.arg);Rt=ur;var Sr=Zn(Gt,yt,Mt);if(Sr.type==="normal"){if(Rt=Mt.done?Tt:ar,Sr.arg===_t)continue;return{value:Sr.arg,done:Mt.done}}Sr.type==="throw"&&(Rt=Tt,Mt.method="throw",Mt.arg=Sr.arg)}}}function Nt(Gt,yt){var Mt=yt.method,Rt=Gt.iterator[Mt];if(Rt===De)return yt.delegate=null,Mt==="throw"&&Gt.iterator.return&&(yt.method="return",yt.arg=De,Nt(Gt,yt),yt.method==="throw")||Mt!=="return"&&(yt.method="throw",yt.arg=new TypeError("The iterator does not provide a '"+Mt+"' method")),_t;var En=Zn(Rt,Gt.iterator,yt.arg);if(En.type==="throw")return yt.method="throw",yt.arg=En.arg,yt.delegate=null,_t;var Xt=En.arg;return Xt?Xt.done?(yt[Gt.resultName]=Xt.value,yt.next=Gt.nextLoc,yt.method!=="return"&&(yt.method="next",yt.arg=De),yt.delegate=null,_t):Xt:(yt.method="throw",yt.arg=new TypeError("iterator result is not an object"),yt.delegate=null,_t)}function Zt(Gt){var yt={tryLoc:Gt[0]};1 in Gt&&(yt.catchLoc=Gt[1]),2 in Gt&&(yt.finallyLoc=Gt[2],yt.afterLoc=Gt[3]),this.tryEntries.push(yt)}function Pt(Gt){var yt=Gt.completion||{};yt.type="normal",delete yt.arg,Gt.completion=yt}function Cn(Gt){this.tryEntries=[{tryLoc:"root"}],Gt.forEach(Zt,this),this.reset(!0)}function yn(Gt){if(Gt||Gt===""){var yt=Gt[on];if(yt)return yt.call(Gt);if(typeof Gt.next=="function")return Gt;if(!isNaN(Gt.length)){var Mt=-1,Rt=function En(){for(;++Mt=0;--En){var Xt=this.tryEntries[En],Ln=Xt.completion;if(Xt.tryLoc==="root")return Rt("end");if(Xt.tryLoc<=this.prev){var Nr=Ue.call(Xt,"catchLoc"),Sr=Ue.call(Xt,"finallyLoc");if(Nr&&Sr){if(this.prev=0;--Rt){var En=this.tryEntries[Rt];if(En.tryLoc<=this.prev&&Ue.call(En,"finallyLoc")&&this.prev=0;--Mt){var Rt=this.tryEntries[Mt];if(Rt.finallyLoc===yt)return this.complete(Rt.completion,Rt.afterLoc),Pt(Rt),_t}},catch:function(yt){for(var Mt=this.tryEntries.length-1;Mt>=0;--Mt){var Rt=this.tryEntries[Mt];if(Rt.tryLoc===yt){var En=Rt.completion;if(En.type==="throw"){var Xt=En.arg;Pt(Rt)}return Xt}}throw new Error("illegal catch attempt")},delegateYield:function(yt,Mt,Rt){return this.delegate={iterator:yn(yt),resultName:Mt,nextLoc:Rt},this.method==="next"&&(this.arg=De),_t}},Te}function Ve(De,Te){if(ct(De)!="object"||!De)return De;var Le=De[Symbol.toPrimitive];if(Le!==void 0){var Ue=Le.call(De,Te||"default");if(ct(Ue)!="object")return Ue;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Te==="string"?String:Number)(De)}function Jt(De){var Te=Ve(De,"string");return ct(Te)=="symbol"?Te:String(Te)}function ht(De,Te,Le){return Te=Jt(Te),Te in De?Object.defineProperty(De,Te,{value:Le,enumerable:!0,configurable:!0,writable:!0}):De[Te]=Le,De}function un(De,Te){var Le=Object.keys(De);if(Object.getOwnPropertySymbols){var Ue=Object.getOwnPropertySymbols(De);Te&&(Ue=Ue.filter(function(rt){return Object.getOwnPropertyDescriptor(De,rt).enumerable})),Le.push.apply(Le,Ue)}return Le}function Tn(De){for(var Te=1;TeDe.length)&&(Te=De.length);for(var Le=0,Ue=new Array(Te);Le=De.length?{done:!0}:{done:!1,value:De[Ue++]}},e:function(In){throw In},f:rt}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. + margin-bottom ${sn} ${_n}`},[`&${st}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${st}-with-description`]:{alignItems:"flex-start",padding:Ea,[`${st}-icon`]:{marginInlineEnd:pr,fontSize:Or,lineHeight:0},[`${st}-message`]:{display:"block",marginBottom:ln,color:ua,fontSize:jn},[`${st}-description`]:{display:"block",color:$r}},[`${st}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},$e=Lt=>{const{componentCls:st,colorSuccess:sn,colorSuccessBorder:ln,colorSuccessBg:pr,colorWarning:Ar,colorWarningBorder:jn,colorWarningBg:wn,colorError:bn,colorErrorBorder:_n,colorErrorBg:Or,colorInfo:$r,colorInfoBorder:ua,colorInfoBg:Ea}=Lt;return{[st]:{"&-success":We(pr,ln,sn,Lt,st),"&-info":We(Ea,ua,$r,Lt,st),"&-warning":We(wn,jn,Ar,Lt,st),"&-error":Object.assign(Object.assign({},We(Or,_n,bn,Lt,st)),{[`${st}-description > pre`]:{margin:0,padding:0}})}}},we=Lt=>{const{componentCls:st,iconCls:sn,motionDurationMid:ln,marginXS:pr,fontSizeIcon:Ar,colorIcon:jn,colorIconHover:wn}=Lt;return{[st]:{["&-action"]:{marginInlineStart:pr},[`${st}-close-icon`]:{marginInlineStart:pr,padding:0,overflow:"hidden",fontSize:Ar,lineHeight:(0,xe.bf)(Ar),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${sn}-close`]:{color:jn,transition:`color ${ln}`,"&:hover":{color:wn}}},"&-close-text":{color:jn,transition:`color ${ln}`,"&:hover":{color:wn}}}}},Pe=Lt=>({withDescriptionIconSize:Lt.fontSizeHeading3,defaultPadding:`${Lt.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${Lt.paddingMD}px ${Lt.paddingContentHorizontalLG}px`});var Ae=(0,ie.I$)("Alert",Lt=>[Fe(Lt),$e(Lt),we(Lt)],Pe),Ue=function(Lt,st){var sn={};for(var ln in Lt)Object.prototype.hasOwnProperty.call(Lt,ln)&&st.indexOf(ln)<0&&(sn[ln]=Lt[ln]);if(Lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pr=0,ln=Object.getOwnPropertySymbols(Lt);pr{const{icon:st,prefixCls:sn,type:ln}=Lt,pr=_e[ln]||null;return st?(0,at.wm)(st,S.createElement("span",{className:`${sn}-icon`},st),()=>({className:se()(`${sn}-icon`,{[st.props.className]:st.props.className})})):S.createElement(pr,{className:`${sn}-icon`})},At=Lt=>{const{isClosable:st,prefixCls:sn,closeIcon:ln,handleClose:pr,ariaProps:Ar}=Lt,jn=ln===!0||ln===void 0?S.createElement(J.Z,null):ln;return st?S.createElement("button",Object.assign({type:"button",onClick:pr,className:`${sn}-close-icon`,tabIndex:0},Ar),jn):null};var qt=S.forwardRef((Lt,st)=>{const{description:sn,prefixCls:ln,message:pr,banner:Ar,className:jn,rootClassName:wn,style:bn,onMouseEnter:_n,onMouseLeave:Or,onClick:$r,afterClose:ua,showIcon:Ea,closable:ha,closeText:mr,closeIcon:_r,action:Ma,id:za}=Lt,Ta=Ue(Lt,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action","id"]),[Ra,ao]=S.useState(!1),ho=S.useRef(null);S.useImperativeHandle(st,()=>({nativeElement:ho.current}));const{getPrefixCls:Ja,direction:Go,alert:Pa}=S.useContext(Ce.E_),Xa=Ja("alert",ln),[ti,Uo,Lo]=Ae(Xa),Ye=nr=>{var Ir;ao(!0),(Ir=Lt.onClose)===null||Ir===void 0||Ir.call(Lt,nr)},mt=S.useMemo(()=>Lt.type!==void 0?Lt.type:Ar?"warning":"info",[Lt.type,Ar]),ft=S.useMemo(()=>typeof ha=="object"&&ha.closeIcon||mr?!0:typeof ha=="boolean"?ha:_r!==!1&&_r!==null&&_r!==void 0?!0:!!(Pa!=null&&Pa.closable),[mr,_r,ha,Pa==null?void 0:Pa.closable]),$t=Ar&&Ea===void 0?!0:Ea,tn=se()(Xa,`${Xa}-${mt}`,{[`${Xa}-with-description`]:!!sn,[`${Xa}-no-icon`]:!$t,[`${Xa}-banner`]:!!Ar,[`${Xa}-rtl`]:Go==="rtl"},Pa==null?void 0:Pa.className,jn,wn,Lo,Uo),Nn=(0,Ne.Z)(Ta,{aria:!0,data:!0}),vr=S.useMemo(()=>{var nr,Ir;return typeof ha=="object"&&ha.closeIcon?ha.closeIcon:mr||(_r!==void 0?_r:typeof(Pa==null?void 0:Pa.closable)=="object"&&(!((nr=Pa==null?void 0:Pa.closable)===null||nr===void 0)&&nr.closeIcon)?(Ir=Pa==null?void 0:Pa.closable)===null||Ir===void 0?void 0:Ir.closeIcon:Pa==null?void 0:Pa.closeIcon)},[_r,ha,mr,Pa==null?void 0:Pa.closeIcon]),br=S.useMemo(()=>{const nr=ha!=null?ha:Pa==null?void 0:Pa.closable;if(typeof nr=="object"){const{closeIcon:Ir}=nr;return Ue(nr,["closeIcon"])}return{}},[ha,Pa==null?void 0:Pa.closable]);return ti(S.createElement(pe.ZP,{visible:!Ra,motionName:`${Xa}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:nr=>({maxHeight:nr.offsetHeight}),onLeaveEnd:ua},(nr,Ir)=>{let{className:Er,style:yr}=nr;return S.createElement("div",Object.assign({id:za,ref:(0,de.sQ)(ho,Ir),"data-show":!Ra,className:se()(tn,Er),style:Object.assign(Object.assign(Object.assign({},Pa==null?void 0:Pa.style),bn),yr),onMouseEnter:_n,onMouseLeave:Or,onClick:$r,role:"alert"},Nn),$t?S.createElement(ct,{description:sn,icon:Lt.icon,prefixCls:Xa,type:mt}):null,S.createElement("div",{className:`${Xa}-content`},pr?S.createElement("div",{className:`${Xa}-message`},pr):null,sn?S.createElement("div",{className:`${Xa}-description`},sn):null),Ma?S.createElement("div",{className:`${Xa}-action`},Ma):null,S.createElement(At,{isClosable:ft,prefixCls:Xa,closeIcon:vr,handleClose:Ye,ariaProps:br}))}))}),kt=e(15671),wt=e(43144),Kt=e(53640),Ct=e(60136),Et=function(Lt){function st(){var sn;return(0,kt.Z)(this,st),sn=(0,Kt.Z)(this,st,arguments),sn.state={error:void 0,info:{componentStack:""}},sn}return(0,Ct.Z)(st,Lt),(0,wt.Z)(st,[{key:"componentDidCatch",value:function(ln,pr){this.setState({error:ln,info:pr})}},{key:"render",value:function(){const{message:ln,description:pr,id:Ar,children:jn}=this.props,{error:wn,info:bn}=this.state,_n=bn&&bn.componentStack?bn.componentStack:null,Or=typeof ln=="undefined"?(wn||"").toString():ln,$r=typeof pr=="undefined"?_n:pr;return wn?S.createElement(qt,{id:Ar,type:"error",message:Or,description:S.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},$r)}):jn}}])}(S.Component);const Ut=qt;Ut.ErrorBoundary=Et;var gt=Ut,cn=e(14726),Ft=e(2453),en=e(97435),Yt=e(21770),dn=e(14192),pn=e(52676),rn=e(62812),On=e(32857),An=function(st,sn){return S.createElement(ee.Z,(0,Y.Z)({},st,{ref:sn,icon:On.Z}))},Jn=S.forwardRef(An),Rr=Jn,er=e(83062),ut=e(85893),Je=function(st){var sn=st.value,ln=st.configType,pr=st.onChange,Ar=st.list,jn=st.prefixCls,wn=st.hashId,bn="".concat(jn,"-block-checkbox"),_n=(0,S.useMemo)(function(){var Or=(Ar||[]).map(function($r){return(0,ut.jsx)(er.Z,{title:$r.title,children:(0,ut.jsxs)("div",{className:se()(wn,"".concat(bn,"-item"),"".concat(bn,"-item-").concat($r.key),"".concat(bn,"-").concat(ln,"-item")),onClick:function(){return pr($r.key)},children:[(0,ut.jsx)(Rr,{className:"".concat(bn,"-selectIcon ").concat(wn).trim(),style:{display:sn===$r.key?"block":"none"}}),$r!=null&&$r.icon?(0,ut.jsx)("div",{className:"".concat(bn,"-icon ").concat(wn).trim(),children:$r.icon}):null]})},$r.key)});return Or},[sn,Ar==null?void 0:Ar.length,pr]);return(0,ut.jsx)("div",{className:se()(bn,wn),children:_n})},ke=e(34041),Jt=function(st){var sn=S.cloneElement(st.action,{disabled:st.disabled});return(0,ut.jsx)(er.Z,{title:st.disabled?st.disabledReason:"",placement:"left",children:(0,ut.jsx)(O.Z.Item,{actions:[sn],children:(0,ut.jsx)("span",{style:{opacity:st.disabled?.5:1},children:st.title})})})},ht=function(st){var sn=st.settings,ln=st.prefixCls,pr=st.changeSetting,Ar=st.hashId,jn=qe(),wn=sn||dn.h,bn=wn.contentWidth,_n=wn.splitMenus,Or=wn.fixedHeader,$r=wn.layout,ua=wn.fixSiderbar;return(0,ut.jsx)(O.Z,{className:"".concat(ln,"-list ").concat(Ar).trim(),split:!1,dataSource:[{title:jn({id:"app.setting.content-width",defaultMessage:"Content Width"}),action:(0,ut.jsxs)(ke.Z,{value:bn||"Fixed",size:"small",className:"content-width ".concat(Ar).trim(),onSelect:function(ha){pr("contentWidth",ha)},style:{width:80},children:[$r==="side"?null:(0,ut.jsx)(ke.Z.Option,{value:"Fixed",children:jn({id:"app.setting.content-width.fixed",defaultMessage:"Fixed"})}),(0,ut.jsx)(ke.Z.Option,{value:"Fluid",children:jn({id:"app.setting.content-width.fluid",defaultMessage:"Fluid"})})]})},{title:jn({id:"app.setting.fixedheader",defaultMessage:"Fixed Header"}),action:(0,ut.jsx)(A.Z,{size:"small",className:"fixed-header",checked:!!Or,onChange:function(ha){pr("fixedHeader",ha)}})},{title:jn({id:"app.setting.fixedsidebar",defaultMessage:"Fixed Sidebar"}),disabled:$r==="top",disabledReason:jn({id:"app.setting.fixedsidebar.hint",defaultMessage:"Works on Side Menu Layout"}),action:(0,ut.jsx)(A.Z,{size:"small",className:"fix-siderbar",checked:!!ua,onChange:function(ha){return pr("fixSiderbar",ha)}})},{title:jn({id:"app.setting.splitMenus"}),disabled:$r!=="mix",action:(0,ut.jsx)(A.Z,{size:"small",checked:!!_n,className:"split-menus",onChange:function(ha){pr("splitMenus",ha)}})}],renderItem:Jt})},un=function(st){var sn=st.settings,ln=st.prefixCls,pr=st.changeSetting,Ar=st.hashId,jn=qe(),wn=["header","footer","menu","menuHeader"];return(0,ut.jsx)(O.Z,{className:"".concat(ln,"-list ").concat(Ar).trim(),split:!1,renderItem:Jt,dataSource:wn.map(function(bn){return{title:jn({id:"app.setting.regionalsettings.".concat(bn)}),action:(0,ut.jsx)(A.Z,{size:"small",className:"regional-".concat(bn," ").concat(Ar).trim(),checked:sn["".concat(bn,"Render")]||sn["".concat(bn,"Render")]===void 0,onChange:function(Or){return pr("".concat(bn,"Render"),Or===!0?void 0:!1)}})}})})},Tn=e(91),Un=["color","check"],rr=S.forwardRef(function(Lt,st){var sn=Lt.color,ln=Lt.check,pr=(0,Tn.Z)(Lt,Un);return(0,ut.jsx)("div",(0,C.Z)((0,C.Z)({},pr),{},{style:{backgroundColor:sn},ref:st,children:ln?(0,ut.jsx)(Rr,{}):""}))}),or=function(st){var sn=st.value,ln=st.colorList,pr=st.onChange,Ar=st.prefixCls,jn=st.formatMessage,wn=st.hashId;if(!ln||(ln==null?void 0:ln.length)<1)return null;var bn="".concat(Ar,"-theme-color");return(0,ut.jsx)("div",{className:"".concat(bn," ").concat(wn).trim(),children:ln==null?void 0:ln.map(function(_n){var Or=_n.key,$r=_n.color,ua=_n.title;return Or?(0,ut.jsx)(er.Z,{title:ua!=null?ua:jn({id:"app.setting.themecolor.".concat(Or)}),children:(0,ut.jsx)(rr,{className:"".concat(bn,"-block ").concat(wn).trim(),color:$r,check:sn===$r,onClick:function(){return pr&&pr($r)}})},$r):null})})};function fr(){return(0,ut.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"1em",height:"1em",viewBox:"0 0 104 104",children:[(0,ut.jsxs)("defs",{children:[(0,ut.jsx)("rect",{id:"path-1",width:"90",height:"72",x:"0",y:"0",rx:"10"}),(0,ut.jsxs)("filter",{id:"filter-2",width:"152.2%",height:"165.3%",x:"-26.1%",y:"-27.1%",filterUnits:"objectBoundingBox",children:[(0,ut.jsx)("feMorphology",{in:"SourceAlpha",radius:"0.25",result:"shadowSpreadOuter1"}),(0,ut.jsx)("feOffset",{dy:"1",in:"shadowSpreadOuter1",result:"shadowOffsetOuter1"}),(0,ut.jsx)("feGaussianBlur",{in:"shadowOffsetOuter1",result:"shadowBlurOuter1",stdDeviation:"1"}),(0,ut.jsx)("feColorMatrix",{in:"shadowBlurOuter1",result:"shadowMatrixOuter1",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"}),(0,ut.jsx)("feMorphology",{in:"SourceAlpha",radius:"1",result:"shadowSpreadOuter2"}),(0,ut.jsx)("feOffset",{dy:"2",in:"shadowSpreadOuter2",result:"shadowOffsetOuter2"}),(0,ut.jsx)("feGaussianBlur",{in:"shadowOffsetOuter2",result:"shadowBlurOuter2",stdDeviation:"4"}),(0,ut.jsx)("feColorMatrix",{in:"shadowBlurOuter2",result:"shadowMatrixOuter2",values:"0 0 0 0 0.098466735 0 0 0 0 0.0599695403 0 0 0 0 0.0599695403 0 0 0 0.07 0"}),(0,ut.jsx)("feMorphology",{in:"SourceAlpha",radius:"2",result:"shadowSpreadOuter3"}),(0,ut.jsx)("feOffset",{dy:"4",in:"shadowSpreadOuter3",result:"shadowOffsetOuter3"}),(0,ut.jsx)("feGaussianBlur",{in:"shadowOffsetOuter3",result:"shadowBlurOuter3",stdDeviation:"8"}),(0,ut.jsx)("feColorMatrix",{in:"shadowBlurOuter3",result:"shadowMatrixOuter3",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"}),(0,ut.jsxs)("feMerge",{children:[(0,ut.jsx)("feMergeNode",{in:"shadowMatrixOuter1"}),(0,ut.jsx)("feMergeNode",{in:"shadowMatrixOuter2"}),(0,ut.jsx)("feMergeNode",{in:"shadowMatrixOuter3"})]})]})]}),(0,ut.jsxs)("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:[(0,ut.jsxs)("g",{children:[(0,ut.jsx)("use",{fill:"#000",filter:"url(#filter-2)",xlinkHref:"#path-1"}),(0,ut.jsx)("use",{fill:"#F0F2F5",xlinkHref:"#path-1"})]}),(0,ut.jsx)("path",{fill:"#FFF",d:"M25 15h65v47c0 5.523-4.477 10-10 10H25V15z"}),(0,ut.jsx)("path",{stroke:"#E6EAF0",strokeLinecap:"square",d:"M0.5 15.5L90.5 15.5"}),(0,ut.jsx)("rect",{width:"14",height:"3",x:"4",y:"26",fill:"#D7DDE6",rx:"1.5"}),(0,ut.jsx)("rect",{width:"9",height:"3",x:"4",y:"32",fill:"#D7DDE6",rx:"1.5"}),(0,ut.jsx)("rect",{width:"9",height:"3",x:"4",y:"42",fill:"#E6EAF0",rx:"1.5"}),(0,ut.jsx)("rect",{width:"9",height:"3",x:"4",y:"21",fill:"#E6EAF0",rx:"1.5"}),(0,ut.jsx)("rect",{width:"9",height:"3",x:"4",y:"53",fill:"#D7DDE6",rx:"1.5"}),(0,ut.jsx)("rect",{width:"14",height:"3",x:"4",y:"47",fill:"#D7DDE6",rx:"1.5"}),(0,ut.jsx)("path",{stroke:"#E6EAF0",strokeLinecap:"square",d:"M25.5 15.5L25.5 72.5"})]})]})}function ir(){return(0,ut.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"1em",height:"1em",viewBox:"0 0 104 104",children:[(0,ut.jsxs)("defs",{children:[(0,ut.jsx)("rect",{id:"path-1",width:"90",height:"72",x:"0",y:"0",rx:"10"}),(0,ut.jsxs)("filter",{id:"filter-2",width:"152.2%",height:"165.3%",x:"-26.1%",y:"-27.1%",filterUnits:"objectBoundingBox",children:[(0,ut.jsx)("feMorphology",{in:"SourceAlpha",radius:"0.25",result:"shadowSpreadOuter1"}),(0,ut.jsx)("feOffset",{dy:"1",in:"shadowSpreadOuter1",result:"shadowOffsetOuter1"}),(0,ut.jsx)("feGaussianBlur",{in:"shadowOffsetOuter1",result:"shadowBlurOuter1",stdDeviation:"1"}),(0,ut.jsx)("feColorMatrix",{in:"shadowBlurOuter1",result:"shadowMatrixOuter1",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"}),(0,ut.jsx)("feMorphology",{in:"SourceAlpha",radius:"1",result:"shadowSpreadOuter2"}),(0,ut.jsx)("feOffset",{dy:"2",in:"shadowSpreadOuter2",result:"shadowOffsetOuter2"}),(0,ut.jsx)("feGaussianBlur",{in:"shadowOffsetOuter2",result:"shadowBlurOuter2",stdDeviation:"4"}),(0,ut.jsx)("feColorMatrix",{in:"shadowBlurOuter2",result:"shadowMatrixOuter2",values:"0 0 0 0 0.098466735 0 0 0 0 0.0599695403 0 0 0 0 0.0599695403 0 0 0 0.07 0"}),(0,ut.jsx)("feMorphology",{in:"SourceAlpha",radius:"2",result:"shadowSpreadOuter3"}),(0,ut.jsx)("feOffset",{dy:"4",in:"shadowSpreadOuter3",result:"shadowOffsetOuter3"}),(0,ut.jsx)("feGaussianBlur",{in:"shadowOffsetOuter3",result:"shadowBlurOuter3",stdDeviation:"8"}),(0,ut.jsx)("feColorMatrix",{in:"shadowBlurOuter3",result:"shadowMatrixOuter3",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"}),(0,ut.jsxs)("feMerge",{children:[(0,ut.jsx)("feMergeNode",{in:"shadowMatrixOuter1"}),(0,ut.jsx)("feMergeNode",{in:"shadowMatrixOuter2"}),(0,ut.jsx)("feMergeNode",{in:"shadowMatrixOuter3"})]})]})]}),(0,ut.jsxs)("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:[(0,ut.jsxs)("g",{children:[(0,ut.jsx)("use",{fill:"#000",filter:"url(#filter-2)",xlinkHref:"#path-1"}),(0,ut.jsx)("use",{fill:"#F0F2F5",xlinkHref:"#path-1"})]}),(0,ut.jsx)("path",{fill:"#FFF",d:"M26 0h55c5.523 0 10 4.477 10 10v8H26V0z"}),(0,ut.jsx)("path",{fill:"#001529",d:"M10 0h19v72H10C4.477 72 0 67.523 0 62V10C0 4.477 4.477 0 10 0z"}),(0,ut.jsx)("rect",{width:"14",height:"3",x:"5",y:"18",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,ut.jsx)("rect",{width:"14",height:"3",x:"5",y:"42",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,ut.jsx)("rect",{width:"9",height:"3",x:"9",y:"24",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,ut.jsx)("rect",{width:"9",height:"3",x:"9",y:"48",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,ut.jsx)("rect",{width:"9",height:"3",x:"9",y:"36",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,ut.jsx)("rect",{width:"14",height:"3",x:"9",y:"30",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"}),(0,ut.jsx)("rect",{width:"14",height:"3",x:"9",y:"54",fill:"#D7DDE6",opacity:"0.2",rx:"1.5"})]})]})}var gr=e(4942),sr=e(98082),fn=function(st){return(0,gr.Z)((0,gr.Z)({},"".concat(st.componentCls,"-handle"),{position:"fixed",insetBlockStart:"240px",insetInlineEnd:"0px",zIndex:0,display:"flex",alignItems:"center",justifyContent:"center",width:"48px",height:"48px",fontSize:"16px",textAlign:"center",backgroundColor:st.colorPrimary,borderEndStartRadius:st.borderRadiusLG,borderStartStartRadius:st.borderRadiusLG,"-webkit-backdropilter":"saturate(180%) blur(20px)",backdropFilter:"saturate(180%) blur(20px)",cursor:"pointer",pointerEvents:"auto"}),st.componentCls,{"&-content":{position:"relative",minHeight:"100%",color:st.colorText},"&-body-title":{marginBlock:st.marginXS,fontSize:"14px",lineHeight:"22px",color:st.colorTextHeading},"&-block-checkbox":{display:"flex",minHeight:42,gap:st.marginSM,"& &-item":{position:"relative",width:"44px",height:"36px",overflow:"hidden",borderRadius:"4px",boxShadow:st.boxShadow,cursor:"pointer",fontSize:56,lineHeight:"56px","&::before":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"33%",height:"100%",content:"''"},"&::after":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"25%",content:"''"},"&-realDark":{backgroundColor:"rgba(0, 21, 41, 0.85)","&::before":{backgroundColor:"rgba(0, 0, 0, 0.65)"},"&::after":{backgroundColor:"rgba(0, 0, 0, 0.85)"}},"&-light":{backgroundColor:"#fff","&::before":{backgroundColor:"#fff"},"&::after":{backgroundColor:"#fff"}},"&-dark,&-side":{backgroundColor:st.colorBgElevated,"&::before":{zIndex:"1",backgroundColor:"#001529"},"&::after":{backgroundColor:st.colorBgContainer}},"&-top":{backgroundColor:st.colorBgElevated,"&::before":{backgroundColor:"transparent"},"&::after":{backgroundColor:"#001529"}},"&-mix":{backgroundColor:st.colorBgElevated,"&::before":{backgroundColor:st.colorBgContainer},"&::after":{backgroundColor:"#001529"}}},"& &-selectIcon":{position:"absolute",insetInlineEnd:"6px",bottom:"4px",color:st.colorPrimary,fontWeight:"bold",fontSize:"14px",pointerEvents:"none",".action":{color:st.colorPrimary}},"& &-icon":{fontSize:56,lineHeight:"56px"}},"&-theme-color":{marginBlockStart:"16px",overflow:"hidden","& &-block":{float:"left",width:"20px",height:"20px",marginBlockStart:8,marginInlineEnd:8,color:"#fff",fontWeight:"bold",textAlign:"center",borderRadius:"2px",cursor:"pointer"}},"&-list":(0,gr.Z)({},"li".concat(st.antCls,"-list-item"),{paddingInline:0,paddingBlock:8})})};function tr(Lt){return(0,sr.Xj)("ProLayoutSettingDrawer",function(st){var sn=(0,C.Z)((0,C.Z)({},st),{},{componentCls:".".concat(Lt)});return[fn(sn)]})}var gn=function(st){var sn=st.children,ln=st.hashId,pr=st.prefixCls,Ar=st.title;return(0,ut.jsxs)("div",{style:{marginBlockEnd:12},children:[(0,ut.jsx)("h3",{className:"".concat(pr,"-body-title ").concat(ln).trim(),children:Ar}),sn]})},an=function(st){var sn={};return Object.keys(st).forEach(function(ln){st[ln]!==dn.h[ln]&&ln!=="collapse"?sn[ln]=st[ln]:sn[ln]=void 0,ln.includes("Render")&&(sn[ln]=st[ln]===!1?!1:void 0)}),sn.menu=void 0,sn},qe=function(){var st=function(ln){var pr=ln.id,Ar=(0,pn.e)();return Ar[pr]};return st},xt=function(st,sn,ln){if((0,Ie.j)()){var pr={};Object.keys(st).forEach(function(jn){if(dn.h[jn]||dn.h[jn]===void 0){if(jn==="colorPrimary"){pr[jn]=(0,rn.tV)(st[jn]);return}pr[jn]=st[jn]}});var Ar=(0,Ze.T)({},sn,pr);delete Ar.menu,delete Ar.title,delete Ar.iconfontUrl,ln==null||ln(Ar)}},Bt=function(st,sn){return(0,Ie.j)()?(0,C.Z)((0,C.Z)((0,C.Z)({},dn.h),sn||{}),st):dn.h},bt=function(st){return JSON.stringify((0,en.Z)((0,C.Z)((0,C.Z)({},st),{},{colorPrimary:st.colorPrimary}),["colorWeak"]),null,2)},zt=function(st){var sn=st.defaultSettings,ln=sn===void 0?void 0:sn,pr=st.settings,Ar=pr===void 0?void 0:pr,jn=st.hideHintAlert,wn=st.hideCopyButton,bn=st.colorList,_n=bn===void 0?[{key:"techBlue",color:"#1677FF"},{key:"daybreak",color:"#1890ff"},{key:"dust",color:"#F5222D"},{key:"volcano",color:"#FA541C"},{key:"sunset",color:"#FAAD14"},{key:"cyan",color:"#13C2C2"},{key:"green",color:"#52C41A"},{key:"geekblue",color:"#2F54EB"},{key:"purple",color:"#722ED1"}]:bn,Or=st.getContainer,$r=st.onSettingChange,ua=st.enableDarkTheme,Ea=st.prefixCls,ha=Ea===void 0?"ant-pro":Ea,mr=st.pathname,_r=mr===void 0?window.location.pathname:mr,Ma=st.disableUrlParams,za=Ma===void 0?!0:Ma,Ta=st.themeOnly,Ra=(0,S.useRef)(!0),ao=(0,Yt.Z)(!1,{value:st.collapse,onChange:st.onCollapseChange}),ho=(0,z.Z)(ao,2),Ja=ho[0],Go=ho[1],Pa=(0,S.useState)((0,pn.G)()),Xa=(0,z.Z)(Pa,2),ti=Xa[0],Uo=Xa[1],Lo=(0,Qe.l)({},{disabled:za}),Ye=(0,z.Z)(Lo,2),mt=Ye[0],ft=Ye[1],$t=(0,Yt.Z)(function(){return Bt(mt,Ar||ln)},{value:Ar,onChange:$r}),tn=(0,z.Z)($t,2),Nn=tn[0],vr=tn[1],br=Nn||{},nr=br.navTheme,Ir=br.colorPrimary,Er=br.siderMenuType,yr=br.layout,Xn=br.colorWeak;(0,S.useEffect)(function(){var qr=function(){ti!==(0,pn.G)()&&Uo((0,pn.G)())};return(0,Ie.j)()?(xt(Bt(mt,Ar),Nn,vr),window.document.addEventListener("languagechange",qr,{passive:!0}),function(){return window.document.removeEventListener("languagechange",qr)}):function(){return null}},[]),(0,S.useEffect)(function(){(0,nt.n)(ot.Z,"5.0.0")<0&&it.ZP.config({theme:{primaryColor:Nn.colorPrimary}})},[Nn.colorPrimary,Nn.navTheme]);var Kr=function(Hr,Vr){var ia={};if(ia[Hr]=Vr,Hr==="layout"&&(ia.contentWidth=Vr==="top"?"Fixed":"Fluid"),Hr==="layout"&&Vr!=="mix"&&(ia.splitMenus=!1),Hr==="layout"&&Vr==="mix"&&(ia.navTheme="light"),Hr==="colorWeak"&&Vr===!0){var ja=document.querySelector("body");ja&&(ja.dataset.prosettingdrawer=ja.style.filter,ja.style.filter="invert(80%)")}if(Hr==="colorWeak"&&Vr===!1){var Ka=document.querySelector("body");Ka&&(Ka.style.filter=Ka.dataset.prosettingdrawer||"none",delete Ka.dataset.prosettingdrawer)}delete ia.menu,delete ia.title,delete ia.iconfontUrl,delete ia.logo,delete ia.pwa,vr((0,C.Z)((0,C.Z)({},Nn),ia))},ta=qe();(0,S.useEffect)(function(){if((0,Ie.j)()&&!za){if(Ra.current){Ra.current=!1;return}var qr=new URLSearchParams(window.location.search),Hr=Object.fromEntries(qr.entries()),Vr=an((0,C.Z)((0,C.Z)({},Hr),Nn));delete Vr.logo,delete Vr.menu,delete Vr.title,delete Vr.iconfontUrl,delete Vr.pwa,ft(Vr)}},[ft,Nn,mt,_r,za]);var xr="".concat(ha,"-setting-drawer"),Jr=tr(xr),oa=Jr.wrapSSR,kr=Jr.hashId,ca=(0,pt.X)(Ja);return oa((0,ut.jsxs)(ut.Fragment,{children:[(0,ut.jsx)("div",{className:"".concat(xr,"-handle ").concat(kr).trim(),onClick:function(){return Go(!Ja)},style:{width:48,height:48},children:Ja?(0,ut.jsx)(Q,{style:{color:"#fff",fontSize:20}}):(0,ut.jsx)(I,{style:{color:"#fff",fontSize:20}})}),(0,ut.jsx)(le.Z,(0,C.Z)((0,C.Z)({},ca),{},{width:300,onClose:function(){return Go(!1)},closable:!1,placement:"right",getContainer:Or,style:{zIndex:999},children:(0,ut.jsxs)("div",{className:"".concat(xr,"-drawer-content ").concat(kr).trim(),children:[(0,ut.jsx)(gn,{title:ta({id:"app.setting.pagestyle",defaultMessage:"Page style setting"}),hashId:kr,prefixCls:xr,children:(0,ut.jsx)(Je,{hashId:kr,prefixCls:xr,list:[{key:"light",title:ta({id:"app.setting.pagestyle.light",defaultMessage:"\u4EAE\u8272\u83DC\u5355\u98CE\u683C"})},{key:"realDark",title:ta({id:"app.setting.pagestyle.realdark",defaultMessage:"\u6697\u8272\u83DC\u5355\u98CE\u683C"})}].filter(function(qr){return!(qr.key==="dark"&&Nn.layout==="mix"||qr.key==="realDark"&&!ua)}),value:nr,configType:"theme",onChange:function(Hr){return Kr("navTheme",Hr)}},"navTheme")}),_n!==!1&&(0,ut.jsx)(gn,{hashId:kr,title:ta({id:"app.setting.themecolor",defaultMessage:"Theme color"}),prefixCls:xr,children:(0,ut.jsx)(or,{hashId:kr,prefixCls:xr,colorList:_n,value:(0,rn.tV)(Ir),formatMessage:ta,onChange:function(Hr){return Kr("colorPrimary",Hr)}})}),!Ta&&(0,ut.jsxs)(ut.Fragment,{children:[(0,ut.jsx)(Z.Z,{}),(0,ut.jsx)(gn,{hashId:kr,prefixCls:xr,title:ta({id:"app.setting.navigationmode"}),children:(0,ut.jsx)(Je,{prefixCls:xr,value:yr,hashId:kr,configType:"layout",list:[{key:"side",title:ta({id:"app.setting.sidemenu"})},{key:"top",title:ta({id:"app.setting.topmenu"})},{key:"mix",title:ta({id:"app.setting.mixmenu"})}],onChange:function(Hr){return Kr("layout",Hr)}},"layout")}),Nn.layout=="side"||Nn.layout=="mix"?(0,ut.jsx)(gn,{hashId:kr,prefixCls:xr,title:ta({id:"app.setting.sidermenutype"}),children:(0,ut.jsx)(Je,{prefixCls:xr,value:Er,hashId:kr,configType:"siderMenuType",list:[{key:"sub",icon:(0,ut.jsx)(ir,{}),title:ta({id:"app.setting.sidermenutype-sub"})},{key:"group",icon:(0,ut.jsx)(fr,{}),title:ta({id:"app.setting.sidermenutype-group"})}],onChange:function(Hr){return Kr("siderMenuType",Hr)}},"siderMenuType")}):null,(0,ut.jsx)(ht,{prefixCls:xr,hashId:kr,settings:Nn,changeSetting:Kr}),(0,ut.jsx)(Z.Z,{}),(0,ut.jsx)(gn,{hashId:kr,prefixCls:xr,title:ta({id:"app.setting.regionalsettings"}),children:(0,ut.jsx)(un,{hashId:kr,prefixCls:xr,settings:Nn,changeSetting:Kr})}),(0,ut.jsx)(Z.Z,{}),(0,ut.jsx)(gn,{hashId:kr,prefixCls:xr,title:ta({id:"app.setting.othersettings"}),children:(0,ut.jsx)(O.Z,{className:"".concat(xr,"-list ").concat(kr).trim(),split:!1,size:"small",renderItem:Jt,dataSource:[{title:ta({id:"app.setting.weakmode"}),action:(0,ut.jsx)(A.Z,{size:"small",className:"color-weak",checked:!!Xn,onChange:function(Hr){Kr("colorWeak",Hr)}})}]})}),jn&&wn?null:(0,ut.jsx)(Z.Z,{}),jn?null:(0,ut.jsx)(gt,{type:"warning",message:ta({id:"app.setting.production.hint"}),icon:(0,ut.jsx)(X,{}),showIcon:!0,style:{marginBlockEnd:16}}),wn?null:(0,ut.jsx)(cn.ZP,{block:!0,icon:(0,ut.jsx)(Re,{}),style:{marginBlockEnd:24},onClick:(0,oe.Z)((0,N.Z)().mark(function qr(){return(0,N.Z)().wrap(function(Vr){for(;;)switch(Vr.prev=Vr.next){case 0:return Vr.prev=0,Vr.next=3,navigator.clipboard.writeText(bt(Nn));case 3:Ft.ZP.success(ta({id:"app.setting.copyinfo"})),Vr.next=8;break;case 6:Vr.prev=6,Vr.t0=Vr.catch(0);case 8:case"end":return Vr.stop()}},qr,null,[[0,6]])})),children:ta({id:"app.setting.copy"})})]})]})}))]}))},Vt=e(35312),nn=e(48357),Dn=e(67610);function Gn(Lt){var st=Lt!=null?Lt:{},sn=st.currentUser,ln={canAdmin:sn&&sn.role&&sn.role<=3,superAdmin:sn&&sn.role&&sn.role===1,canDeviceOwner:sn&&sn.role&&sn.role===4};return ln}var Vn={errorConfig:{errorThrower:function(st){var sn=st,ln=sn.data,pr=sn.code,Ar=sn.message;if(pr!==0){var jn=new Error(Ar);throw jn.name="BizError",jn.info={code:pr,message:Ar,data:ln},jn}},errorHandler:function(st,sn){if(sn!=null&&sn.skipErrorHandler)throw st;if(st.name==="BizError"){var ln=st.info;ln&&Ft.ZP.error(ln.message)}else st.response?Ft.ZP.error("Response status:".concat(st.response.status)):st.request?Ft.ZP.error("None response! Please retry."):Ft.ZP.error("Request error, please retry.")}},requestInterceptors:[function(Lt){var st,sn=Lt==null||(st=Lt.url)===null||st===void 0?void 0:st.concat("?token = 123");return y()(y()({},Lt),{},{url:sn})}],responseInterceptors:[function(Lt){var st=Lt,sn=st.data;return sn.code!==0?sn.success=!1:sn.success=!0,Lt}]},Fn=!1,mn="/user/login";function Bn(){return Mn.apply(this,arguments)}function Mn(){return Mn=d()(f()().mark(function Lt(){var st,sn,ln;return f()().wrap(function(Ar){for(;;)switch(Ar.prev=Ar.next){case 0:if(st=function(){var jn=d()(f()().mark(function wn(){var bn;return f()().wrap(function(Or){for(;;)switch(Or.prev=Or.next){case 0:return Or.prev=0,Or.next=3,(0,nn.Vk)({skipErrorHandler:!0});case 3:return bn=Or.sent,Or.abrupt("return",bn.data);case 7:Or.prev=7,Or.t0=Or.catch(0),Vt.history.push(mn);case 10:return Or.abrupt("return",void 0);case 11:case"end":return Or.stop()}},wn,null,[[0,7]])}));return function(){return jn.apply(this,arguments)}}(),sn=Vt.history.location,sn.pathname===mn){Ar.next=7;break}return Ar.next=5,st();case 5:return ln=Ar.sent,Ar.abrupt("return",{fetchUserInfo:st,currentUser:ln,settings:Dn.Z});case 7:return Ar.abrupt("return",{fetchUserInfo:st,settings:Dn.Z});case 8:case"end":return Ar.stop()}},Lt)})),Mn.apply(this,arguments)}var jr=function(st){return{name:st.name,children:[{name:"\u5E7F\u544A\u6570\u636E",path:"/proxy/advListV2/"+st.code,component:"./Proxy/ProxyAdvRecordListV2"},{name:"\u7528\u6237\u7BA1\u7406",path:"/proxy/user/"+st.code,component:"./Proxy/ProxyUserManagement"}]}},De=function(st){return st.enableCash?{name:st.name,access:"canAdmin",children:[{name:"\u5E7F\u544A\u6570\u636E",path:"/advListV2/"+st.code,access:"canAdmin",component:"./AdvRecordListV2"},{name:"\u7528\u6237\u7BA1\u7406",path:"/user/"+st.code,access:"canAdmin",component:"./UserManagement"},{name:"\u63D0\u73B0\u7BA1\u7406",path:"/money/"+st.code,access:"canAdmin",component:"./MoneyManagement"}]}:{path:"/advList/"+st.code,name:st.name,access:"canAdmin",component:"./AdvRecordList"}},Te=function(st){var sn,ln=st.initialState,pr=st.setInitialState;return y()({menu:{params:{userId:ln==null||(sn=ln.currentUser)===null||sn===void 0?void 0:sn.id},request:function(){var Ar=d()(f()().mark(function wn(){var bn,_n,Or,$r,ua;return f()().wrap(function(ha){for(;;)switch(ha.prev=ha.next){case 0:return ha.next=2,(0,nn.ln)();case 2:return Or=ha.sent,$r=[],ua=(ln==null||(bn=ln.currentUser)===null||bn===void 0?void 0:bn.role)||100,(_n=Or.data)===null||_n===void 0||_n.forEach(function(mr){mr.hide===1&&ua<=2||(ua===5?$r.push(jr(mr)):$r.push(De(mr))),ua===4&&$r.push({path:"/app/"+mr.code,name:mr.name,access:"canDeviceOwner",component:"./DeviceOwnerApp"})}),$r.push({path:"/adminList",name:"\u4EBA\u5458\u7BA1\u7406",access:"canAdmin"}),$r.push({path:"/bind",name:"\u7ED1\u5B9A\u8BBE\u5907",access:"canDeviceOwner"}),$r.push({path:"/appList",name:"\u5E94\u7528\u5217\u8868"}),$r.push({path:"/super",name:"\u9B54\u6CD5\u4E4B\u5730",access:"superAdmin"}),ha.abrupt("return",$r);case 11:case"end":return ha.stop()}},wn)}));function jn(){return Ar.apply(this,arguments)}return jn}()},menuDataRender:function(jn){return jn.map(function(wn){var bn=wn.access;if(!bn)return wn;var _n=Gn(ln);return _n[bn]?wn:y()(y()({},wn),{},{hideInMenu:!0})})},actionsRender:function(){return[(0,ut.jsx)(b.HN,{},"doc"),(0,ut.jsx)(b.pD,{},"SelectLang")]},avatarProps:{title:(0,ut.jsx)(b.gj,{}),render:function(jn,wn){return(0,ut.jsx)(b.Kd,{children:wn})}},onPageChange:function(){var jn=Vt.history.location;!(ln!=null&&ln.currentUser)&&jn.pathname!==mn&&Vt.history.push(mn)},bgLayoutImgList:[{src:"https://mdn.alipayobjects.com/yuyan_qk0oxh/afts/img/D2LWSqNny4sAAAAAAAAAAAAAFl94AQBr",left:85,bottom:100,height:"303px"},{src:"https://mdn.alipayobjects.com/yuyan_qk0oxh/afts/img/C2TWRpJpiC0AAAAAAAAAAAAAFl94AQBr",bottom:-68,right:-45,height:"303px"},{src:"https://mdn.alipayobjects.com/yuyan_qk0oxh/afts/img/F6vSTbj8KpYAAAAAAAAAAAAAFl94AQBr",bottom:0,left:0,width:"331px"}],links:Fn?[(0,ut.jsxs)(Vt.Link,{to:"/umi/plugin/openapi",target:"_blank",children:[(0,ut.jsx)($,{onPointerOverCapture:void 0,onPointerMoveCapture:void 0}),(0,ut.jsx)("span",{children:"OpenAPI \u6587\u6863"})]},"openapi")]:[],menuHeaderRender:void 0,childrenRender:function(jn){return(0,ut.jsxs)(ut.Fragment,{children:[jn,Fn&&(0,ut.jsx)(zt,{disableUrlParams:!0,enableDarkTheme:!0,settings:ln==null?void 0:ln.settings,onSettingChange:function(bn){pr(function(_n){return y()(y()({},_n),{},{settings:bn})})}})]})}},ln==null?void 0:ln.settings)},Le=y()({},Vn),He=e(70405),et={},Dt=function(st){return S.createElement(He.B6,{context:et},st)},on=e(44886),xn=e(78382);function hn(Lt){var st=(0,on.t)("@@initialState"),sn=st.initialState,ln=S.useMemo(function(){return Gn(sn)},[sn]);return(0,ut.jsx)(xn.J.Provider,{value:ln,children:Lt.children})}function In(Lt){return(0,ut.jsx)(hn,{children:Lt})}function Wn(){return(0,ut.jsx)("div",{})}function Zn(Lt){var st=S.useRef(!1),sn=(0,on.t)("@@initialState")||{},ln=sn.loading,pr=ln===void 0?!1:ln;return S.useEffect(function(){pr||(st.current=!0)},[pr]),pr&&!st.current?(0,ut.jsx)(Wn,{}):Lt.children}function hr(Lt){return(0,ut.jsx)(Zn,{children:Lt})}var ar={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4z"}}]},name:"smile",theme:"outlined"},ur=ar,Tt=function(st,sn){return S.createElement(w.Z,(0,C.Z)((0,C.Z)({},st),{},{ref:sn,icon:ur}))},_t=S.forwardRef(Tt),Hn=_t,zn={SmileOutlined:Hn};function Ve(Lt){return Lt.replace(Lt[0],Lt[0].toUpperCase()).replace(/-(w)/g,function(st,sn){return sn.toUpperCase()})}function me(Lt){var st=Lt.routes;Object.keys(st).forEach(function(sn){var ln=st[sn].icon;if(ln&&typeof ln=="string"){var pr=Ve(ln);(zn[pr]||zn[pr+"Outlined"])&&(st[sn].icon=S.createElement(zn[pr]||zn[pr+"Outlined"]))}})}var fe=e(5574),Ee=e.n(fe),ve=e(27484),Xe=e.n(ve),rt=e(54067),It=e(25054),Nt=e(96953),Zt=e(83783),Pt=e(76831),Cn=e(57548),yn=e(33852),Gt=e(43901),yt=e(98944);function Mt(){var Lt=getLocale();if(moment!=null&&moment.locale){var st;moment.locale(((st=localeInfo[Lt])===null||st===void 0?void 0:st.momentLocale)||"")}setIntl(Lt)}var Rt=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?S.useLayoutEffect:S.useEffect,En=function(st){var sn,ln=(0,yt.Kd)(),pr=S.useState(ln),Ar=Ee()(pr,2),jn=Ar[0],wn=Ar[1],bn=S.useState(function(){return(0,yt.lw)(jn,!0)}),_n=Ee()(bn,2),Or=_n[0],$r=_n[1],ua=function(_r){if(Xe()!==null&&Xe()!==void 0&&Xe().locale){var Ma;Xe().locale(((Ma=yt.H8[_r])===null||Ma===void 0?void 0:Ma.momentLocale)||"en")}wn(_r),$r((0,yt.lw)(_r))};Rt(function(){return yt.B.on(yt.PZ,ua),function(){yt.B.off(yt.PZ,ua)}},[]);var Ea={},ha=(0,yt.Mg)();return(0,ut.jsx)(it.ZP,{direction:ha,locale:((sn=yt.H8[jn])===null||sn===void 0?void 0:sn.antd)||Ea,children:(0,ut.jsx)(yt.eU,{value:Or,children:st.children})})};function Xt(Lt){return S.createElement(En,null,Lt)}var Ln={initialState:void 0,loading:!0,error:void 0},Nr=function(){var Lt=(0,S.useState)(Ln),st=Ee()(Lt,2),sn=st[0],ln=st[1],pr=(0,S.useCallback)(d()(f()().mark(function jn(){var wn;return f()().wrap(function(_n){for(;;)switch(_n.prev=_n.next){case 0:return ln(function(Or){return y()(y()({},Or),{},{loading:!0,error:void 0})}),_n.prev=1,_n.next=4,Bn();case 4:wn=_n.sent,ln(function(Or){return y()(y()({},Or),{},{initialState:wn,loading:!1})}),_n.next=11;break;case 8:_n.prev=8,_n.t0=_n.catch(1),ln(function(Or){return y()(y()({},Or),{},{error:_n.t0,loading:!1})});case 11:case"end":return _n.stop()}},jn,null,[[1,8]])})),[]),Ar=(0,S.useCallback)(function(){var jn=d()(f()().mark(function wn(bn){return f()().wrap(function(Or){for(;;)switch(Or.prev=Or.next){case 0:ln(function($r){return typeof bn=="function"?y()(y()({},$r),{},{initialState:bn($r.initialState),loading:!1}):y()(y()({},$r),{},{initialState:bn,loading:!1})});case 1:case"end":return Or.stop()}},wn)}));return function(wn){return jn.apply(this,arguments)}}(),[]);return(0,S.useEffect)(function(){pr()},[]),y()(y()({},sn),{},{refresh:pr,setInitialState:Ar})},Sr={model_1:{namespace:"@@initialState",model:Nr}};function Br(Lt){var st=S.useMemo(function(){return Object.keys(Sr).reduce(function(sn,ln){return sn[Sr[ln].namespace]=Sr[ln].model,sn},{})},[]);return(0,ut.jsx)(on.z,y()(y()({models:st},Lt),{},{children:Lt.children}))}function Tr(Lt,st){return(0,ut.jsx)(Br,y()(y()({},st),{},{children:Lt}))}function la(Lt){return Lt.default?typeof Lt.default=="function"?Lt.default():Lt.default:Lt}function Xr(){return[{apply:la(t),path:void 0},{apply:r,path:void 0},{apply:o,path:void 0},{apply:a,path:void 0},{apply:s,path:void 0},{apply:c,path:void 0},{apply:u,path:void 0}]}function Qr(){return["patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","antd","getInitialState","layout","locale","qiankun","request"]}var cr=null;function Ur(){return cr=Vt.PluginManager.create({plugins:Xr(),validKeys:Qr()}),cr}function ea(){return cr}},35312:function(v,g,e){"use strict";e.d(g,{ApplyPluginsType:function(){return zt},FormattedMessage:function(){return r._H},Helmet:function(){return er.ql},Link:function(){return Rr},Outlet:function(){return kt.j3},PluginManager:function(){return Vt},SelectLang:function(){return r.pD},history:function(){return nn.m8},matchRoutes:function(){return kt.fp},request:function(){return At},useAppData:function(){return An.Ov},useIntl:function(){return r.YB},useLocation:function(){return kt.TH},useModel:function(){return o.t},useNavigate:function(){return kt.s0},useOutletContext:function(){return kt.bx},useParams:function(){return kt.UO}});var t=e(83228),r=e(66999),o=e(44886),a=e(15009),s=e.n(a),c=e(99289),u=e.n(c),l=e(13769),f=e(52677),p=e.n(f),y=e(97857),m=e.n(y),d=e(9669),b=e.n(d),C=e(67294),S=e(91296),x=e.n(S),T=e(93096),w=e.n(T);function j(){return typeof document!="undefined"&&typeof document.visibilityState!="undefined"?document.visibilityState!=="hidden":!0}function E(){return typeof navigator.onLine!="undefined"?navigator.onLine:!0}var $=new Map,N=function(Te,Le,He){var et=$.get(Te);et!=null&&et.timer&&clearTimeout(et.timer);var Dt=void 0;Le>-1&&(Dt=setTimeout(function(){$.delete(Te)},Le)),$.set(Te,{data:He,timer:Dt,startTime:new Date().getTime()})},oe=function(Te){var Le=$.get(Te);return{data:Le==null?void 0:Le.data,startTime:Le==null?void 0:Le.startTime}},z=function(De,Te){var Le=typeof Symbol=="function"&&De[Symbol.iterator];if(!Le)return De;var He=Le.call(De),et,Dt=[],on;try{for(;(Te===void 0||Te-- >0)&&!(et=He.next()).done;)Dt.push(et.value)}catch(xn){on={error:xn}}finally{try{et&&!et.done&&(Le=He.return)&&Le.call(He)}finally{if(on)throw on.error}}return Dt},Y=function(){for(var De=[],Te=0;Te0)&&!(et=He.next()).done;)Dt.push(et.value)}catch(xn){on={error:xn}}finally{try{et&&!et.done&&(Le=He.return)&&Le.call(He)}finally{if(on)throw on.error}}return Dt},B=function(){for(var De=[],Te=0;Te0)&&!(et=He.next()).done;)Dt.push(et.value)}catch(xn){on={error:xn}}finally{try{et&&!et.done&&(Le=He.return)&&Le.call(He)}finally{if(on)throw on.error}}return Dt},Ze=function(){for(var De=[],Te=0;Te0){var bn=rt&&((wn=getCache(rt))===null||wn===void 0?void 0:wn.startTime)||0;Pt===-1||new Date().getTime()-bn<=Pt||Object.values(Ur).forEach(function(_n){_n.refresh()})}else ln.current.apply(ln,Ze(Ve))},[]);var Ar=useCallback(function(){Object.values(Lt.current).forEach(function(wn){wn.unmount()}),Xt.current=nt,ea({}),Lt.current={}},[ea]);useUpdateEffect(function(){on||Object.values(Lt.current).forEach(function(wn){wn.refresh()})},Ze(et)),useEffect(function(){return function(){Object.values(Lt.current).forEach(function(wn){wn.unmount()})}},[]);var jn=useCallback(function(wn){return function(){console.warn("You should't call "+wn+" when service not executed once.")}},[]);return Re(Re({loading:Mt&&!on||hr,data:Gt,error:void 0,params:[],cancel:jn("cancel"),refresh:jn("refresh"),mutate:jn("mutate")},Ur[Xt.current]||{}),{run:sn,fetches:Ur,reset:Ar})}var ot=null,it=function(){return it=Object.assign||function(De){for(var Te,Le=1,He=arguments.length;Le0)&&!(et=He.next()).done;)Dt.push(et.value)}catch(xn){on={error:xn}}finally{try{et&&!et.done&&(Le=He.return)&&Le.call(He)}finally{if(on)throw on.error}}return Dt},O=function(){for(var De=[],Te=0;Te0)&&!(et=He.next()).done;)Dt.push(et.value)}catch(xn){on={error:xn}}finally{try{et&&!et.done&&(Le=He.return)&&Le.call(He)}finally{if(on)throw on.error}}return Dt},_=function(){for(var De=[],Te=0;TeEn&&(Mt=Math.max(1,En)),Xe({current:Mt,pageSize:Rt})},[rt,Xe]),Zt=useCallback(function(Gt){Nt(Gt,Ve)},[Nt,Ve]),Pt=useCallback(function(Gt){Nt(Hn,Gt)},[Nt,Hn]),Cn=useRef(Zt);Cn.current=Zt,useUpdateEffect(function(){Te.manual||Cn.current(1)},_(on));var yn=useCallback(function(Gt,yt,Mt){Xe({current:Gt.current,pageSize:Gt.pageSize||et,filters:yt,sorter:Mt})},[ve,fe,Xe]);return V({loading:ar,data:Wn,params:Zn,run:hr,pagination:{current:Hn,pageSize:Ve,total:rt,totalPage:It,onChange:Nt,changeCurrent:Zt,changePageSize:Pt},tableProps:{dataSource:(Wn==null?void 0:Wn.list)||[],loading:ar,onChange:yn,pagination:{current:Hn,pageSize:Ve,total:rt}},sorter:fe,filters:ve},ur)}var se=null,pe=C.createContext({});pe.displayName="UseRequestConfigContext";var de=pe,Ne=function(){return Ne=Object.assign||function(De){for(var Te,Le=1,He=arguments.length;Le0)&&!(et=He.next()).done;)Dt.push(et.value)}catch(xn){on={error:xn}}finally{try{et&&!et.done&&(Le=He.return)&&Le.call(He)}finally{if(on)throw on.error}}return Dt},xe=function(){for(var De=[],Te=0;Te1&&arguments[1]!==void 0?arguments[1]:{};return useUmiRequest(De,_objectSpread({formatResult:function(He){return He==null?void 0:He.data},requestMethod:function(He){if(typeof He=="string")return At(He);if(_typeof(He)==="object"){var et=He.url,Dt=_objectWithoutProperties(He,we);return At(et,Dt)}throw new Error("request options error")}},Te))}var Ae,Ue,_e=function(){return Ue||(Ue=(0,$e.We)().applyPlugins({key:"request",type:zt.modify,initialValue:{}}),Ue)},ct=function(){var Te,Le;if(Ae)return Ae;var He=_e();return Ae=b().create(He),He==null||(Te=He.requestInterceptors)===null||Te===void 0||Te.forEach(function(et){et instanceof Array?Ae.interceptors.request.use(function(){var Dt=u()(s()().mark(function on(xn){var hn,In,Wn,Zn;return s()().wrap(function(ar){for(;;)switch(ar.prev=ar.next){case 0:if(hn=xn.url,et[0].length!==2){ar.next=8;break}return ar.next=4,et[0](hn,xn);case 4:return In=ar.sent,Wn=In.url,Zn=In.options,ar.abrupt("return",m()(m()({},Zn),{},{url:Wn}));case 8:return ar.abrupt("return",et[0](xn));case 9:case"end":return ar.stop()}},on)}));return function(on){return Dt.apply(this,arguments)}}(),et[1]):Ae.interceptors.request.use(function(){var Dt=u()(s()().mark(function on(xn){var hn,In,Wn,Zn;return s()().wrap(function(ar){for(;;)switch(ar.prev=ar.next){case 0:if(hn=xn.url,et.length!==2){ar.next=8;break}return ar.next=4,et(hn,xn);case 4:return In=ar.sent,Wn=In.url,Zn=In.options,ar.abrupt("return",m()(m()({},Zn),{},{url:Wn}));case 8:return ar.abrupt("return",et(xn));case 9:case"end":return ar.stop()}},on)}));return function(on){return Dt.apply(this,arguments)}}())}),He==null||(Le=He.responseInterceptors)===null||Le===void 0||Le.forEach(function(et){et instanceof Array?Ae.interceptors.response.use(et[0],et[1]):Ae.interceptors.response.use(et)}),Ae.interceptors.response.use(function(et){var Dt,on=et.data;return(on==null?void 0:on.success)===!1&&He!==null&&He!==void 0&&(Dt=He.errorConfig)!==null&&Dt!==void 0&&Dt.errorThrower&&He.errorConfig.errorThrower(on),et}),Ae},At=function(Te){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{method:"GET"},He=ct(),et=_e(),Dt=Le.getResponse,on=Dt===void 0?!1:Dt,xn=Le.requestInterceptors,hn=Le.responseInterceptors,In=xn==null?void 0:xn.map(function(Zn){return Zn instanceof Array?He.interceptors.request.use(function(){var hr=u()(s()().mark(function ar(ur){var Tt,_t,Hn,zn;return s()().wrap(function(me){for(;;)switch(me.prev=me.next){case 0:if(Tt=ur.url,Zn[0].length!==2){me.next=8;break}return me.next=4,Zn[0](Tt,ur);case 4:return _t=me.sent,Hn=_t.url,zn=_t.options,me.abrupt("return",m()(m()({},zn),{},{url:Hn}));case 8:return me.abrupt("return",Zn[0](ur));case 9:case"end":return me.stop()}},ar)}));return function(ar){return hr.apply(this,arguments)}}(),Zn[1]):He.interceptors.request.use(function(){var hr=u()(s()().mark(function ar(ur){var Tt,_t,Hn,zn;return s()().wrap(function(me){for(;;)switch(me.prev=me.next){case 0:if(Tt=ur.url,Zn.length!==2){me.next=8;break}return me.next=4,Zn(Tt,ur);case 4:return _t=me.sent,Hn=_t.url,zn=_t.options,me.abrupt("return",m()(m()({},zn),{},{url:Hn}));case 8:return me.abrupt("return",Zn(ur));case 9:case"end":return me.stop()}},ar)}));return function(ar){return hr.apply(this,arguments)}}())}),Wn=hn==null?void 0:hn.map(function(Zn){return Zn instanceof Array?He.interceptors.response.use(Zn[0],Zn[1]):He.interceptors.response.use(Zn)});return new Promise(function(Zn,hr){He.request(m()(m()({},Le),{},{url:Te})).then(function(ar){In==null||In.forEach(function(ur){He.interceptors.request.eject(ur)}),Wn==null||Wn.forEach(function(ur){He.interceptors.response.eject(ur)}),Zn(on?ar:ar.data)}).catch(function(ar){In==null||In.forEach(function(_t){He.interceptors.request.eject(_t)}),Wn==null||Wn.forEach(function(_t){He.interceptors.response.eject(_t)});try{var ur,Tt=et==null||(ur=et.errorConfig)===null||ur===void 0?void 0:ur.errorHandler;Tt&&Tt(ar,Le,et)}catch(_t){hr(_t)}hr(ar)})})},vt=e(58096),qt=e(49647),kt=e(96974),wt=e(55648);function Kt(){return Kt=Object.assign||function(De){for(var Te=1;Te=0)&&(Le[et]=De[et]);return Le}const Ke=["onClick","reloadDocument","replace","state","target","to"],Et=null;function Ut(De,Te){if(!De){typeof console!="undefined"&&console.warn(Te);try{throw new Error(Te)}catch(Le){}}}function gt(De){let{basename:Te,children:Le,window:He}=De,et=useRef();et.current==null&&(et.current=createBrowserHistory({window:He}));let Dt=et.current,[on,xn]=useState({action:Dt.action,location:Dt.location});return useLayoutEffect(()=>Dt.listen(xn),[Dt]),createElement(Router,{basename:Te,children:Le,location:on.location,navigationType:on.action,navigator:Dt})}function cn(De){let{basename:Te,children:Le,window:He}=De,et=useRef();et.current==null&&(et.current=createHashHistory({window:He}));let Dt=et.current,[on,xn]=useState({action:Dt.action,location:Dt.location});return useLayoutEffect(()=>Dt.listen(xn),[Dt]),createElement(Router,{basename:Te,children:Le,location:on.location,navigationType:on.action,navigator:Dt})}function Ft(De){let{basename:Te,children:Le,history:He}=De;const[et,Dt]=useState({action:He.action,location:He.location});return useLayoutEffect(()=>He.listen(Dt),[He]),createElement(Router,{basename:Te,children:Le,location:et.location,navigationType:et.action,navigator:He})}function en(De){return!!(De.metaKey||De.altKey||De.ctrlKey||De.shiftKey)}const Yt=(0,C.forwardRef)(function(Te,Le){let{onClick:He,reloadDocument:et,replace:Dt=!1,state:on,target:xn,to:hn}=Te,In=Ct(Te,Ke),Wn=(0,kt.oQ)(hn),Zn=pn(hn,{replace:Dt,state:on,target:xn});function hr(ar){He&&He(ar),!ar.defaultPrevented&&!et&&Zn(ar)}return(0,C.createElement)("a",Kt({},In,{href:Wn,onClick:hr,ref:Le,target:xn}))}),dn=null;function pn(De,Te){let{target:Le,replace:He,state:et}=Te===void 0?{}:Te,Dt=(0,kt.s0)(),on=(0,kt.TH)(),xn=(0,kt.WU)(De);return(0,C.useCallback)(hn=>{if(hn.button===0&&(!Le||Le==="_self")&&!en(hn)){hn.preventDefault();let In=!!He||(0,wt.Ep)(on)===(0,wt.Ep)(xn);Dt(De,{replace:In,state:et})}},[on,Dt,xn,He,et,Le,De])}function rn(De){let Te=useRef(On(De)),Le=useLocation(),He=useMemo(()=>{let on=On(Le.search);for(let xn of Te.current.keys())on.has(xn)||Te.current.getAll(xn).forEach(hn=>{on.append(xn,hn)});return on},[Le.search]),et=useNavigate(),Dt=useCallback((on,xn)=>{et("?"+On(on),xn)},[et]);return[He,Dt]}function On(De){return De===void 0&&(De=""),new URLSearchParams(typeof De=="string"||Array.isArray(De)||De instanceof URLSearchParams?De:Object.keys(De).reduce((Te,Le)=>{let He=De[Le];return Te.concat(Array.isArray(He)?He.map(et=>[Le,et]):[[Le,He]])},[]))}var An=e(34162),Jn=["prefetch"];function Rr(De){var Te,Le=De.prefetch,He=(0,qt.Z)(De,Jn),et=(0,An.Ov)(),Dt=typeof De.to=="string"?De.to:(Te=De.to)===null||Te===void 0?void 0:Te.pathname;return Dt?C.createElement(Yt,(0,vt.Z)({onMouseEnter:function(){var xn;return Le&&Dt&&((xn=et.preloadRoute)===null||xn===void 0?void 0:xn.call(et,Dt))}},He),De.children):null}var er=e(70405);function ut(De){"@babel/helpers - typeof";return ut=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Te){return typeof Te}:function(Te){return Te&&typeof Symbol=="function"&&Te.constructor===Symbol&&Te!==Symbol.prototype?"symbol":typeof Te},ut(De)}function Je(){"use strict";Je=function(){return Te};var De,Te={},Le=Object.prototype,He=Le.hasOwnProperty,et=Object.defineProperty||function(Gt,yt,Mt){Gt[yt]=Mt.value},Dt=typeof Symbol=="function"?Symbol:{},on=Dt.iterator||"@@iterator",xn=Dt.asyncIterator||"@@asyncIterator",hn=Dt.toStringTag||"@@toStringTag";function In(Gt,yt,Mt){return Object.defineProperty(Gt,yt,{value:Mt,enumerable:!0,configurable:!0,writable:!0}),Gt[yt]}try{In({},"")}catch(Gt){In=function(Mt,Rt,En){return Mt[Rt]=En}}function Wn(Gt,yt,Mt,Rt){var En=yt&&yt.prototype instanceof Hn?yt:Hn,Xt=Object.create(En.prototype),Ln=new Cn(Rt||[]);return et(Xt,"_invoke",{value:It(Gt,Mt,Ln)}),Xt}function Zn(Gt,yt,Mt){try{return{type:"normal",arg:Gt.call(yt,Mt)}}catch(Rt){return{type:"throw",arg:Rt}}}Te.wrap=Wn;var hr="suspendedStart",ar="suspendedYield",ur="executing",Tt="completed",_t={};function Hn(){}function zn(){}function Ve(){}var me={};In(me,on,function(){return this});var fe=Object.getPrototypeOf,Ee=fe&&fe(fe(yn([])));Ee&&Ee!==Le&&He.call(Ee,on)&&(me=Ee);var ve=Ve.prototype=Hn.prototype=Object.create(me);function Xe(Gt){["next","throw","return"].forEach(function(yt){In(Gt,yt,function(Mt){return this._invoke(yt,Mt)})})}function rt(Gt,yt){function Mt(En,Xt,Ln,Nr){var Sr=Zn(Gt[En],Gt,Xt);if(Sr.type!=="throw"){var Br=Sr.arg,Tr=Br.value;return Tr&&ut(Tr)=="object"&&He.call(Tr,"__await")?yt.resolve(Tr.__await).then(function(la){Mt("next",la,Ln,Nr)},function(la){Mt("throw",la,Ln,Nr)}):yt.resolve(Tr).then(function(la){Br.value=la,Ln(Br)},function(la){return Mt("throw",la,Ln,Nr)})}Nr(Sr.arg)}var Rt;et(this,"_invoke",{value:function(Xt,Ln){function Nr(){return new yt(function(Sr,Br){Mt(Xt,Ln,Sr,Br)})}return Rt=Rt?Rt.then(Nr,Nr):Nr()}})}function It(Gt,yt,Mt){var Rt=hr;return function(En,Xt){if(Rt===ur)throw new Error("Generator is already running");if(Rt===Tt){if(En==="throw")throw Xt;return{value:De,done:!0}}for(Mt.method=En,Mt.arg=Xt;;){var Ln=Mt.delegate;if(Ln){var Nr=Nt(Ln,Mt);if(Nr){if(Nr===_t)continue;return Nr}}if(Mt.method==="next")Mt.sent=Mt._sent=Mt.arg;else if(Mt.method==="throw"){if(Rt===hr)throw Rt=Tt,Mt.arg;Mt.dispatchException(Mt.arg)}else Mt.method==="return"&&Mt.abrupt("return",Mt.arg);Rt=ur;var Sr=Zn(Gt,yt,Mt);if(Sr.type==="normal"){if(Rt=Mt.done?Tt:ar,Sr.arg===_t)continue;return{value:Sr.arg,done:Mt.done}}Sr.type==="throw"&&(Rt=Tt,Mt.method="throw",Mt.arg=Sr.arg)}}}function Nt(Gt,yt){var Mt=yt.method,Rt=Gt.iterator[Mt];if(Rt===De)return yt.delegate=null,Mt==="throw"&&Gt.iterator.return&&(yt.method="return",yt.arg=De,Nt(Gt,yt),yt.method==="throw")||Mt!=="return"&&(yt.method="throw",yt.arg=new TypeError("The iterator does not provide a '"+Mt+"' method")),_t;var En=Zn(Rt,Gt.iterator,yt.arg);if(En.type==="throw")return yt.method="throw",yt.arg=En.arg,yt.delegate=null,_t;var Xt=En.arg;return Xt?Xt.done?(yt[Gt.resultName]=Xt.value,yt.next=Gt.nextLoc,yt.method!=="return"&&(yt.method="next",yt.arg=De),yt.delegate=null,_t):Xt:(yt.method="throw",yt.arg=new TypeError("iterator result is not an object"),yt.delegate=null,_t)}function Zt(Gt){var yt={tryLoc:Gt[0]};1 in Gt&&(yt.catchLoc=Gt[1]),2 in Gt&&(yt.finallyLoc=Gt[2],yt.afterLoc=Gt[3]),this.tryEntries.push(yt)}function Pt(Gt){var yt=Gt.completion||{};yt.type="normal",delete yt.arg,Gt.completion=yt}function Cn(Gt){this.tryEntries=[{tryLoc:"root"}],Gt.forEach(Zt,this),this.reset(!0)}function yn(Gt){if(Gt||Gt===""){var yt=Gt[on];if(yt)return yt.call(Gt);if(typeof Gt.next=="function")return Gt;if(!isNaN(Gt.length)){var Mt=-1,Rt=function En(){for(;++Mt=0;--En){var Xt=this.tryEntries[En],Ln=Xt.completion;if(Xt.tryLoc==="root")return Rt("end");if(Xt.tryLoc<=this.prev){var Nr=He.call(Xt,"catchLoc"),Sr=He.call(Xt,"finallyLoc");if(Nr&&Sr){if(this.prev=0;--Rt){var En=this.tryEntries[Rt];if(En.tryLoc<=this.prev&&He.call(En,"finallyLoc")&&this.prev=0;--Mt){var Rt=this.tryEntries[Mt];if(Rt.finallyLoc===yt)return this.complete(Rt.completion,Rt.afterLoc),Pt(Rt),_t}},catch:function(yt){for(var Mt=this.tryEntries.length-1;Mt>=0;--Mt){var Rt=this.tryEntries[Mt];if(Rt.tryLoc===yt){var En=Rt.completion;if(En.type==="throw"){var Xt=En.arg;Pt(Rt)}return Xt}}throw new Error("illegal catch attempt")},delegateYield:function(yt,Mt,Rt){return this.delegate={iterator:yn(yt),resultName:Mt,nextLoc:Rt},this.method==="next"&&(this.arg=De),_t}},Te}function ke(De,Te){if(ut(De)!="object"||!De)return De;var Le=De[Symbol.toPrimitive];if(Le!==void 0){var He=Le.call(De,Te||"default");if(ut(He)!="object")return He;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Te==="string"?String:Number)(De)}function Jt(De){var Te=ke(De,"string");return ut(Te)=="symbol"?Te:String(Te)}function ht(De,Te,Le){return Te=Jt(Te),Te in De?Object.defineProperty(De,Te,{value:Le,enumerable:!0,configurable:!0,writable:!0}):De[Te]=Le,De}function un(De,Te){var Le=Object.keys(De);if(Object.getOwnPropertySymbols){var He=Object.getOwnPropertySymbols(De);Te&&(He=He.filter(function(et){return Object.getOwnPropertyDescriptor(De,et).enumerable})),Le.push.apply(Le,He)}return Le}function Tn(De){for(var Te=1;TeDe.length)&&(Te=De.length);for(var Le=0,He=new Array(Te);Le=De.length?{done:!0}:{done:!1,value:De[He++]}},e:function(In){throw In},f:et}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Dt=!0,on=!1,xn;return{s:function(){Le=Le.call(De)},n:function(){var In=Le.next();return Dt=In.done,In},e:function(In){on=!0,xn=In},f:function(){try{!Dt&&Le.return!=null&&Le.return()}finally{if(on)throw xn}}}}function gr(De){if(Array.isArray(De))return De}function sr(De){if(typeof Symbol!="undefined"&&De[Symbol.iterator]!=null||De["@@iterator"]!=null)return Array.from(De)}function fn(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tr(De){return gr(De)||sr(De)||fr(De)||fn()}function gn(De,Te){if(!(De instanceof Te))throw new TypeError("Cannot call a class as a function")}function an(De,Te){for(var Le=0;Le-1,"register failed, invalid key ".concat(rt," ").concat(Le.path?"from plugin ".concat(Le.path):"",".")),Ue.hooks[rt]=(Ue.hooks[rt]||[]).concat(Le.apply[rt])})}},{key:"getHooks",value:function(Le){var Ue=Le.split("."),rt=tr(Ue),Dt=rt[0],on=rt.slice(1),xn=this.hooks[Dt]||[];return on.length&&(xn=xn.map(function(hn){try{var In=hn,Wn=ir(on),Zn;try{for(Wn.s();!(Zn=Wn.n()).done;){var hr=Zn.value;In=In[hr]}}catch(ar){Wn.e(ar)}finally{Wn.f()}return In}catch(ar){return null}}).filter(Boolean)),xn}},{key:"applyPlugins",value:function(Le){var Ue=Le.key,rt=Le.type,Dt=Le.initialValue,on=Le.args,xn=Le.async,hn=this.getHooks(Ue)||[];switch(on&&xt(ct(on)==="object","applyPlugins failed, args must be plain object."),xn&&xt(rt===zt.modify||rt===zt.event,"async only works with modify and event type."),rt){case zt.modify:return xn?hn.reduce(function(){var In=rr(et().mark(function Wn(Zn,hr){var ar;return et().wrap(function(Tt){for(;;)switch(Tt.prev=Tt.next){case 0:if(xt(typeof hr=="function"||ct(hr)==="object"||bt(hr),"applyPlugins failed, all hooks for key ".concat(Ue," must be function, plain object or Promise.")),!bt(Zn)){Tt.next=5;break}return Tt.next=4,Zn;case 4:Zn=Tt.sent;case 5:if(typeof hr!="function"){Tt.next=16;break}if(ar=hr(Zn,on),!bt(ar)){Tt.next=13;break}return Tt.next=10,ar;case 10:return Tt.abrupt("return",Tt.sent);case 13:return Tt.abrupt("return",ar);case 14:Tt.next=21;break;case 16:if(!bt(hr)){Tt.next=20;break}return Tt.next=19,hr;case 19:hr=Tt.sent;case 20:return Tt.abrupt("return",Tn(Tn({},Zn),hr));case 21:case"end":return Tt.stop()}},Wn)}));return function(Wn,Zn){return In.apply(this,arguments)}}(),bt(Dt)?Dt:Promise.resolve(Dt)):hn.reduce(function(In,Wn){return xt(typeof Wn=="function"||ct(Wn)==="object","applyPlugins failed, all hooks for key ".concat(Ue," must be function or plain object.")),typeof Wn=="function"?Wn(In,on):Tn(Tn({},In),Wn)},Dt);case zt.event:return rr(et().mark(function In(){var Wn,Zn,hr,ar;return et().wrap(function(Tt){for(;;)switch(Tt.prev=Tt.next){case 0:Wn=ir(hn),Tt.prev=1,Wn.s();case 3:if((Zn=Wn.n()).done){Tt.next=12;break}if(hr=Zn.value,xt(typeof hr=="function","applyPlugins failed, all hooks for key ".concat(Ue," must be function.")),ar=hr(on),!(xn&&bt(ar))){Tt.next=10;break}return Tt.next=10,ar;case 10:Tt.next=3;break;case 12:Tt.next=17;break;case 14:Tt.prev=14,Tt.t0=Tt.catch(1),Wn.e(Tt.t0);case 17:return Tt.prev=17,Wn.f(),Tt.finish(17);case 20:case"end":return Tt.stop()}},In,null,[[1,14,17,20]])}))();case zt.compose:return function(){return Bt({fns:hn.concat(Dt),args:on})()}}}}],[{key:"create",value:function(Le){var Ue=new De({validKeys:Le.validKeys});return Le.plugins.forEach(function(rt){Ue.register(rt)}),Ue}}]),De}(),nn=e(10581),Dn=0,Gn=0;function Vn(De,Te){if(!1)var Le}function Fn(De){return JSON.stringify(De,null,2)}function mn(De){var Te=De.length>1?De.map(Bn).join(" "):De[0];return p()(Te)==="object"?"".concat(Fn(Te)):Te.toString()}function Bn(De){return p()(De)==="object"?"".concat(JSON.stringify(De)):De.toString()}var Mn={log:function(){for(var Te=arguments.length,Le=new Array(Te),Ue=0;Ue0){for(Lr=1,Sa=1;Lr-1,"register failed, invalid key ".concat(et," ").concat(Le.path?"from plugin ".concat(Le.path):"",".")),He.hooks[et]=(He.hooks[et]||[]).concat(Le.apply[et])})}},{key:"getHooks",value:function(Le){var He=Le.split("."),et=tr(He),Dt=et[0],on=et.slice(1),xn=this.hooks[Dt]||[];return on.length&&(xn=xn.map(function(hn){try{var In=hn,Wn=ir(on),Zn;try{for(Wn.s();!(Zn=Wn.n()).done;){var hr=Zn.value;In=In[hr]}}catch(ar){Wn.e(ar)}finally{Wn.f()}return In}catch(ar){return null}}).filter(Boolean)),xn}},{key:"applyPlugins",value:function(Le){var He=Le.key,et=Le.type,Dt=Le.initialValue,on=Le.args,xn=Le.async,hn=this.getHooks(He)||[];switch(on&&xt(ut(on)==="object","applyPlugins failed, args must be plain object."),xn&&xt(et===zt.modify||et===zt.event,"async only works with modify and event type."),et){case zt.modify:return xn?hn.reduce(function(){var In=rr(Je().mark(function Wn(Zn,hr){var ar;return Je().wrap(function(Tt){for(;;)switch(Tt.prev=Tt.next){case 0:if(xt(typeof hr=="function"||ut(hr)==="object"||bt(hr),"applyPlugins failed, all hooks for key ".concat(He," must be function, plain object or Promise.")),!bt(Zn)){Tt.next=5;break}return Tt.next=4,Zn;case 4:Zn=Tt.sent;case 5:if(typeof hr!="function"){Tt.next=16;break}if(ar=hr(Zn,on),!bt(ar)){Tt.next=13;break}return Tt.next=10,ar;case 10:return Tt.abrupt("return",Tt.sent);case 13:return Tt.abrupt("return",ar);case 14:Tt.next=21;break;case 16:if(!bt(hr)){Tt.next=20;break}return Tt.next=19,hr;case 19:hr=Tt.sent;case 20:return Tt.abrupt("return",Tn(Tn({},Zn),hr));case 21:case"end":return Tt.stop()}},Wn)}));return function(Wn,Zn){return In.apply(this,arguments)}}(),bt(Dt)?Dt:Promise.resolve(Dt)):hn.reduce(function(In,Wn){return xt(typeof Wn=="function"||ut(Wn)==="object","applyPlugins failed, all hooks for key ".concat(He," must be function or plain object.")),typeof Wn=="function"?Wn(In,on):Tn(Tn({},In),Wn)},Dt);case zt.event:return rr(Je().mark(function In(){var Wn,Zn,hr,ar;return Je().wrap(function(Tt){for(;;)switch(Tt.prev=Tt.next){case 0:Wn=ir(hn),Tt.prev=1,Wn.s();case 3:if((Zn=Wn.n()).done){Tt.next=12;break}if(hr=Zn.value,xt(typeof hr=="function","applyPlugins failed, all hooks for key ".concat(He," must be function.")),ar=hr(on),!(xn&&bt(ar))){Tt.next=10;break}return Tt.next=10,ar;case 10:Tt.next=3;break;case 12:Tt.next=17;break;case 14:Tt.prev=14,Tt.t0=Tt.catch(1),Wn.e(Tt.t0);case 17:return Tt.prev=17,Wn.f(),Tt.finish(17);case 20:case"end":return Tt.stop()}},In,null,[[1,14,17,20]])}))();case zt.compose:return function(){return Bt({fns:hn.concat(Dt),args:on})()}}}}],[{key:"create",value:function(Le){var He=new De({validKeys:Le.validKeys});return Le.plugins.forEach(function(et){He.register(et)}),He}}]),De}(),nn=e(10581),Dn=0,Gn=0;function Vn(De,Te){if(!1)var Le}function Fn(De){return JSON.stringify(De,null,2)}function mn(De){var Te=De.length>1?De.map(Bn).join(" "):De[0];return p()(Te)==="object"?"".concat(Fn(Te)):Te.toString()}function Bn(De){return p()(De)==="object"?"".concat(JSON.stringify(De)):De.toString()}var Mn={log:function(){for(var Te=arguments.length,Le=new Array(Te),He=0;He0){for(Lr=1,Sa=1;Lrro&&(ro=ze,wo=[]),wo.push(ge))}function ru(ge,Ye){return new G(ge,[],"",Ye)}function Rl(ge,Ye,Qt){return new G(G.buildMessage(ge,Ye),ge,Ye,Qt)}function $l(){var ge;return ge=ol(),ge}function ol(){var ge,Ye;for(ge=[],Ye=Al();Ye!==W;)ge.push(Ye),Ye=Al();return ge}function Al(){var ge;return ge=au(),ge===W&&(ge=ou(),ge===W&&(ge=cu(),ge===W&&(ge=Nu(),ge===W&&(ge=du(),ge===W&&(ge=Ds()))))),ge}function il(){var ge,Ye,Qt;if(ge=ze,Ye=[],Qt=ms(),Qt===W&&(Qt=gi(),Qt===W&&(Qt=sl())),Qt!==W)for(;Qt!==W;)Ye.push(Qt),Qt=ms(),Qt===W&&(Qt=gi(),Qt===W&&(Qt=sl()));else Ye=W;return Ye!==W&&(Ua=ge,Ye=Pn(Ye)),ge=Ye,ge}function au(){var ge,Ye;return ge=ze,Ye=il(),Ye!==W&&(Ua=ge,Ye=Qn(Ye)),ge=Ye,ge}function Ds(){var ge,Ye;return ge=ze,ye.charCodeAt(ze)===35?(Ye=Cr,ze++):(Ye=W,lr===0&&Gr(na)),Ye!==W&&(Ua=ge,Ye=Da()),ge=Ye,ge}function ou(){var ge,Ye,Qt,kn,zr,Ca;return lr++,ge=ze,ye.charCodeAt(ze)===123?(Ye=dr,ze++):(Ye=W,lr===0&&Gr(Lr)),Ye!==W?(Qt=Va(),Qt!==W?(kn=vs(),kn!==W?(zr=Va(),zr!==W?(ye.charCodeAt(ze)===125?(Ca=Sa,ze++):(Ca=W,lr===0&&Gr(xa)),Ca!==W?(Ua=ge,Ye=xo(kn),ge=Ye):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W),lr--,ge===W&&(Ye=W,lr===0&&Gr(Zr)),ge}function Ls(){var ge,Ye,Qt,kn,zr;if(lr++,ge=ze,Ye=[],Qt=ze,kn=ze,lr++,zr=ns(),zr===W&&($o.test(ye.charAt(ze))?(zr=ye.charAt(ze),ze++):(zr=W,lr===0&&Gr(Co))),lr--,zr===W?kn=void 0:(ze=kn,kn=W),kn!==W?(ye.length>ze?(zr=ye.charAt(ze),ze++):(zr=W,lr===0&&Gr(ni)),zr!==W?(kn=[kn,zr],Qt=kn):(ze=Qt,Qt=W)):(ze=Qt,Qt=W),Qt!==W)for(;Qt!==W;)Ye.push(Qt),Qt=ze,kn=ze,lr++,zr=ns(),zr===W&&($o.test(ye.charAt(ze))?(zr=ye.charAt(ze),ze++):(zr=W,lr===0&&Gr(Co))),lr--,zr===W?kn=void 0:(ze=kn,kn=W),kn!==W?(ye.length>ze?(zr=ye.charAt(ze),ze++):(zr=W,lr===0&&Gr(ni)),zr!==W?(kn=[kn,zr],Qt=kn):(ze=Qt,Qt=W)):(ze=Qt,Qt=W);else Ye=W;return Ye!==W?ge=ye.substring(ge,ze):ge=Ye,lr--,ge===W&&(Ye=W,lr===0&&Gr(Xo)),ge}function js(){var ge,Ye,Qt;return lr++,ge=ze,ye.charCodeAt(ze)===47?(Ye=Vs,ze++):(Ye=W,lr===0&&Gr(Qo)),Ye!==W?(Qt=Ls(),Qt!==W?(Ua=ge,Ye=os(Qt),ge=Ye):(ze=ge,ge=W)):(ze=ge,ge=W),lr--,ge===W&&(Ye=W,lr===0&&Gr(ri)),ge}function Dl(){var ge,Ye,Qt,kn,zr;if(lr++,ge=ze,Ye=Va(),Ye!==W)if(Qt=Ls(),Qt!==W){for(kn=[],zr=js();zr!==W;)kn.push(zr),zr=js();kn!==W?(Ua=ge,Ye=ki(Qt,kn),ge=Ye):(ze=ge,ge=W)}else ze=ge,ge=W;else ze=ge,ge=W;return lr--,ge===W&&(Ye=W,lr===0&&Gr(ai)),ge}function Ll(){var ge,Ye,Qt;if(ge=ze,Ye=[],Qt=Dl(),Qt!==W)for(;Qt!==W;)Ye.push(Qt),Qt=Dl();else Ye=W;return Ye!==W&&(Ua=ge,Ye=is(Ye)),ge=Ye,ge}function iu(){var ge,Ye,Qt;return ge=ze,ye.substr(ze,2)===Vi?(Ye=Vi,ze+=2):(Ye=W,lr===0&&Gr(Ks)),Ye!==W?(Qt=Ll(),Qt!==W?(Ua=ge,Ye=fi(Qt),ge=Ye):(ze=ge,ge=W)):(ze=ge,ge=W),ge===W&&(ge=ze,Ua=ze,Ye=Bo(),Ye?Ye=void 0:Ye=W,Ye!==W?(Qt=il(),Qt!==W?(Ua=ge,Ye=Wo(Qt),ge=Ye):(ze=ge,ge=W)):(ze=ge,ge=W)),ge}function su(){var ge,Ye,Qt,kn,zr,Ca,co,$a,oo,Ya,go,Qa,fo;return ge=ze,ye.charCodeAt(ze)===123?(Ye=dr,ze++):(Ye=W,lr===0&&Gr(Lr)),Ye!==W?(Qt=Va(),Qt!==W?(kn=vs(),kn!==W?(zr=Va(),zr!==W?(ye.charCodeAt(ze)===44?(Ca=Oo,ze++):(Ca=W,lr===0&&Gr(Oi)),Ca!==W?(co=Va(),co!==W?(ye.substr(ze,6)===oi?($a=oi,ze+=6):($a=W,lr===0&&Gr(pi)),$a!==W?(oo=Va(),oo!==W?(Ya=ze,ye.charCodeAt(ze)===44?(go=Oo,ze++):(go=W,lr===0&&Gr(Oi)),go!==W?(Qa=Va(),Qa!==W?(fo=iu(),fo!==W?(go=[go,Qa,fo],Ya=go):(ze=Ya,Ya=W)):(ze=Ya,Ya=W)):(ze=Ya,Ya=W),Ya===W&&(Ya=null),Ya!==W?(go=Va(),go!==W?(ye.charCodeAt(ze)===125?(Qa=Sa,ze++):(Qa=W,lr===0&&Gr(xa)),Qa!==W?(Ua=ge,Ye=Ki(kn,$a,Ya),ge=Ye):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W),ge}function jl(){var ge,Ye,Qt,kn;if(ge=ze,ye.charCodeAt(ze)===39?(Ye=ii,ze++):(Ye=W,lr===0&&Gr(si)),Ye!==W){if(Qt=[],kn=ms(),kn===W&&(Ri.test(ye.charAt(ze))?(kn=ye.charAt(ze),ze++):(kn=W,lr===0&&Gr(ws))),kn!==W)for(;kn!==W;)Qt.push(kn),kn=ms(),kn===W&&(Ri.test(ye.charAt(ze))?(kn=ye.charAt(ze),ze++):(kn=W,lr===0&&Gr(ws)));else Qt=W;Qt!==W?(ye.charCodeAt(ze)===39?(kn=ii,ze++):(kn=W,lr===0&&Gr(si)),kn!==W?(Ye=[Ye,Qt,kn],ge=Ye):(ze=ge,ge=W)):(ze=ge,ge=W)}else ze=ge,ge=W;if(ge===W)if(ge=[],Ye=ms(),Ye===W&&(Gs.test(ye.charAt(ze))?(Ye=ye.charAt(ze),ze++):(Ye=W,lr===0&&Gr(Ys))),Ye!==W)for(;Ye!==W;)ge.push(Ye),Ye=ms(),Ye===W&&(Gs.test(ye.charAt(ze))?(Ye=ye.charAt(ze),ze++):(Ye=W,lr===0&&Gr(Ys)));else ge=W;return ge}function Nl(){var ge,Ye;if(ge=[],Jo.test(ye.charAt(ze))?(Ye=ye.charAt(ze),ze++):(Ye=W,lr===0&&Gr(_o)),Ye!==W)for(;Ye!==W;)ge.push(Ye),Jo.test(ye.charAt(ze))?(Ye=ye.charAt(ze),ze++):(Ye=W,lr===0&&Gr(_o));else ge=W;return ge}function Fl(){var ge,Ye,Qt,kn;if(ge=ze,Ye=ze,Qt=[],kn=jl(),kn===W&&(kn=Nl()),kn!==W)for(;kn!==W;)Qt.push(kn),kn=jl(),kn===W&&(kn=Nl());else Qt=W;return Qt!==W?Ye=ye.substring(Ye,ze):Ye=Qt,Ye!==W&&(Ua=ge,Ye=vo(Ye)),ge=Ye,ge}function lu(){var ge,Ye,Qt;return ge=ze,ye.substr(ze,2)===Vi?(Ye=Vi,ze+=2):(Ye=W,lr===0&&Gr(Ks)),Ye!==W?(Qt=Fl(),Qt!==W?(Ua=ge,Ye=fi(Qt),ge=Ye):(ze=ge,ge=W)):(ze=ge,ge=W),ge===W&&(ge=ze,Ua=ze,Ye=wi(),Ye?Ye=void 0:Ye=W,Ye!==W?(Qt=il(),Qt!==W?(Ua=ge,Ye=Wo(Qt),ge=Ye):(ze=ge,ge=W)):(ze=ge,ge=W)),ge}function uu(){var ge,Ye,Qt,kn,zr,Ca,co,$a,oo,Ya,go,Qa,fo;return ge=ze,ye.charCodeAt(ze)===123?(Ye=dr,ze++):(Ye=W,lr===0&&Gr(Lr)),Ye!==W?(Qt=Va(),Qt!==W?(kn=vs(),kn!==W?(zr=Va(),zr!==W?(ye.charCodeAt(ze)===44?(Ca=Oo,ze++):(Ca=W,lr===0&&Gr(Oi)),Ca!==W?(co=Va(),co!==W?(ye.substr(ze,4)===gl?($a=gl,ze+=4):($a=W,lr===0&&Gr(Yl)),$a===W&&(ye.substr(ze,4)===Xs?($a=Xs,ze+=4):($a=W,lr===0&&Gr(hl))),$a!==W?(oo=Va(),oo!==W?(Ya=ze,ye.charCodeAt(ze)===44?(go=Oo,ze++):(go=W,lr===0&&Gr(Oi)),go!==W?(Qa=Va(),Qa!==W?(fo=lu(),fo!==W?(go=[go,Qa,fo],Ya=go):(ze=Ya,Ya=W)):(ze=Ya,Ya=W)):(ze=Ya,Ya=W),Ya===W&&(Ya=null),Ya!==W?(go=Va(),go!==W?(ye.charCodeAt(ze)===125?(Qa=Sa,ze++):(Qa=W,lr===0&&Gr(xa)),Qa!==W?(Ua=ge,Ye=Ki(kn,$a,Ya),ge=Ye):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W),ge}function cu(){var ge;return ge=su(),ge===W&&(ge=uu()),ge}function Nu(){var ge,Ye,Qt,kn,zr,Ca,co,$a,oo,Ya,go,Qa,fo,ui,bi,dl;if(ge=ze,ye.charCodeAt(ze)===123?(Ye=dr,ze++):(Ye=W,lr===0&&Gr(Lr)),Ye!==W)if(Qt=Va(),Qt!==W)if(kn=vs(),kn!==W)if(zr=Va(),zr!==W)if(ye.charCodeAt(ze)===44?(Ca=Oo,ze++):(Ca=W,lr===0&&Gr(Oi)),Ca!==W)if(co=Va(),co!==W)if(ye.substr(ze,6)===yl?($a=yl,ze+=6):($a=W,lr===0&&Gr(Qs)),$a===W&&(ye.substr(ze,13)===bl?($a=bl,ze+=13):($a=W,lr===0&&Gr(ss))),$a!==W)if(oo=Va(),oo!==W)if(ye.charCodeAt(ze)===44?(Ya=Oo,ze++):(Ya=W,lr===0&&Gr(Oi)),Ya!==W)if(go=Va(),go!==W)if(Qa=ze,ye.substr(ze,7)===Js?(fo=Js,ze+=7):(fo=W,lr===0&&Gr(ju)),fo!==W?(ui=Va(),ui!==W?(bi=pu(),bi!==W?(fo=[fo,ui,bi],Qa=fo):(ze=Qa,Qa=W)):(ze=Qa,Qa=W)):(ze=Qa,Qa=W),Qa===W&&(Qa=null),Qa!==W)if(fo=Va(),fo!==W){if(ui=[],bi=Bl(),bi!==W)for(;bi!==W;)ui.push(bi),bi=Bl();else ui=W;ui!==W?(bi=Va(),bi!==W?(ye.charCodeAt(ze)===125?(dl=Sa,ze++):(dl=W,lr===0&&Gr(xa)),dl!==W?(Ua=ge,Ye=Ts(kn,$a,Qa,ui),ge=Ye):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W)}else ze=ge,ge=W;else ze=ge,ge=W;else ze=ge,ge=W;else ze=ge,ge=W;else ze=ge,ge=W;else ze=ge,ge=W;else ze=ge,ge=W;else ze=ge,ge=W;else ze=ge,ge=W;else ze=ge,ge=W;else ze=ge,ge=W;else ze=ge,ge=W;return ge}function du(){var ge,Ye,Qt,kn,zr,Ca,co,$a,oo,Ya,go,Qa,fo,ui;if(ge=ze,ye.charCodeAt(ze)===123?(Ye=dr,ze++):(Ye=W,lr===0&&Gr(Lr)),Ye!==W)if(Qt=Va(),Qt!==W)if(kn=vs(),kn!==W)if(zr=Va(),zr!==W)if(ye.charCodeAt(ze)===44?(Ca=Oo,ze++):(Ca=W,lr===0&&Gr(Oi)),Ca!==W)if(co=Va(),co!==W)if(ye.substr(ze,6)===Is?($a=Is,ze+=6):($a=W,lr===0&&Gr(Xl)),$a!==W)if(oo=Va(),oo!==W)if(ye.charCodeAt(ze)===44?(Ya=Oo,ze++):(Ya=W,lr===0&&Gr(Oi)),Ya!==W)if(go=Va(),go!==W){if(Qa=[],fo=fu(),fo!==W)for(;fo!==W;)Qa.push(fo),fo=fu();else Qa=W;Qa!==W?(fo=Va(),fo!==W?(ye.charCodeAt(ze)===125?(ui=Sa,ze++):(ui=W,lr===0&&Gr(xa)),ui!==W?(Ua=ge,Ye=Ql(kn,Qa),ge=Ye):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W)}else ze=ge,ge=W;else ze=ge,ge=W;else ze=ge,ge=W;else ze=ge,ge=W;else ze=ge,ge=W;else ze=ge,ge=W;else ze=ge,ge=W;else ze=ge,ge=W;else ze=ge,ge=W;else ze=ge,ge=W;return ge}function Fu(){var ge,Ye,Qt,kn;return ge=ze,Ye=ze,ye.charCodeAt(ze)===61?(Qt=ls,ze++):(Qt=W,lr===0&&Gr(Jl)),Qt!==W?(kn=pu(),kn!==W?(Qt=[Qt,kn],Ye=Qt):(ze=Ye,Ye=W)):(ze=Ye,Ye=W),Ye!==W?ge=ye.substring(ge,ze):ge=Ye,ge===W&&(ge=ul()),ge}function fu(){var ge,Ye,Qt,kn,zr,Ca,co,$a;return ge=ze,Ye=Va(),Ye!==W?(Qt=ul(),Qt!==W?(kn=Va(),kn!==W?(ye.charCodeAt(ze)===123?(zr=dr,ze++):(zr=W,lr===0&&Gr(Lr)),zr!==W?(Ua=ze,Ca=_s(Qt),Ca?Ca=void 0:Ca=W,Ca!==W?(co=ol(),co!==W?(ye.charCodeAt(ze)===125?($a=Sa,ze++):($a=W,lr===0&&Gr(xa)),$a!==W?(Ua=ge,Ye=qs(Qt,co),ge=Ye):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W),ge}function Bl(){var ge,Ye,Qt,kn,zr,Ca,co,$a;return ge=ze,Ye=Va(),Ye!==W?(Qt=Fu(),Qt!==W?(kn=Va(),kn!==W?(ye.charCodeAt(ze)===123?(zr=dr,ze++):(zr=W,lr===0&&Gr(Lr)),zr!==W?(Ua=ze,Ca=us(Qt),Ca?Ca=void 0:Ca=W,Ca!==W?(co=ol(),co!==W?(ye.charCodeAt(ze)===125?($a=Sa,ze++):($a=W,lr===0&&Gr(xa)),$a!==W?(Ua=ge,Ye=Sl(Qt,co),ge=Ye):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W)):(ze=ge,ge=W),ge}function ns(){var ge,Ye;return lr++,Cl.test(ye.charAt(ze))?(ge=ye.charAt(ze),ze++):(ge=W,lr===0&&Gr(El)),lr--,ge===W&&(Ye=W,lr===0&&Gr(xl)),ge}function Zl(){var ge,Ye;return lr++,mi.test(ye.charAt(ze))?(ge=ye.charAt(ze),ze++):(ge=W,lr===0&&Gr(qi)),lr--,ge===W&&(Ye=W,lr===0&&Gr(cs)),ge}function Va(){var ge,Ye,Qt;for(lr++,ge=ze,Ye=[],Qt=ns();Qt!==W;)Ye.push(Qt),Qt=ns();return Ye!==W?ge=ye.substring(ge,ze):ge=Ye,lr--,ge===W&&(Ye=W,lr===0&&Gr(Pl)),ge}function pu(){var ge,Ye,Qt;return lr++,ge=ze,ye.charCodeAt(ze)===45?(Ye=Zi,ze++):(Ye=W,lr===0&&Gr(Gi)),Ye===W&&(Ye=null),Ye!==W?(Qt=zl(),Qt!==W?(Ua=ge,Ye=Ol(Ye,Qt),ge=Ye):(ze=ge,ge=W)):(ze=ge,ge=W),lr--,ge===W&&(Ye=W,lr===0&&Gr(_l)),ge}function fc(){var ge,Ye;return lr++,ye.charCodeAt(ze)===39?(ge=ii,ze++):(ge=W,lr===0&&Gr(si)),lr--,ge===W&&(Ye=W,lr===0&&Gr(ql)),ge}function ms(){var ge,Ye;return lr++,ge=ze,ye.substr(ze,2)===li?(Ye=li,ze+=2):(Ye=W,lr===0&&Gr(ds)),Ye!==W&&(Ua=ge,Ye=eu()),ge=Ye,lr--,ge===W&&(Ye=W,lr===0&&Gr(zi)),ge}function gi(){var ge,Ye,Qt,kn,zr,Ca;if(ge=ze,ye.charCodeAt(ze)===39?(Ye=ii,ze++):(Ye=W,lr===0&&Gr(si)),Ye!==W)if(Qt=ll(),Qt!==W){for(kn=ze,zr=[],ye.substr(ze,2)===li?(Ca=li,ze+=2):(Ca=W,lr===0&&Gr(ds)),Ca===W&&(Ri.test(ye.charAt(ze))?(Ca=ye.charAt(ze),ze++):(Ca=W,lr===0&&Gr(ws)));Ca!==W;)zr.push(Ca),ye.substr(ze,2)===li?(Ca=li,ze+=2):(Ca=W,lr===0&&Gr(ds)),Ca===W&&(Ri.test(ye.charAt(ze))?(Ca=ye.charAt(ze),ze++):(Ca=W,lr===0&&Gr(ws)));zr!==W?kn=ye.substring(kn,ze):kn=zr,kn!==W?(ye.charCodeAt(ze)===39?(zr=ii,ze++):(zr=W,lr===0&&Gr(si)),zr===W&&(zr=null),zr!==W?(Ua=ge,Ye=el(Qt,kn),ge=Ye):(ze=ge,ge=W)):(ze=ge,ge=W)}else ze=ge,ge=W;else ze=ge,ge=W;return ge}function sl(){var ge,Ye,Qt,kn;return ge=ze,Ye=ze,ye.length>ze?(Qt=ye.charAt(ze),ze++):(Qt=W,lr===0&&Gr(ni)),Qt!==W?(Ua=ze,kn=tu(Qt),kn?kn=void 0:kn=W,kn!==W?(Qt=[Qt,kn],Ye=Qt):(ze=Ye,Ye=W)):(ze=Ye,Ye=W),Ye===W&&(ye.charCodeAt(ze)===10?(Ye=Ms,ze++):(Ye=W,lr===0&&Gr($i))),Ye!==W?ge=ye.substring(ge,ze):ge=Ye,ge}function ll(){var ge,Ye,Qt,kn;return ge=ze,Ye=ze,ye.length>ze?(Qt=ye.charAt(ze),ze++):(Qt=W,lr===0&&Gr(ni)),Qt!==W?(Ua=ze,kn=Rs(Qt),kn?kn=void 0:kn=W,kn!==W?(Qt=[Qt,kn],Ye=Qt):(ze=Ye,Ye=W)):(ze=Ye,Ye=W),Ye!==W?ge=ye.substring(ge,ze):ge=Ye,ge}function vs(){var ge,Ye;return lr++,ge=ze,Ye=zl(),Ye===W&&(Ye=ul()),Ye!==W?ge=ye.substring(ge,ze):ge=Ye,lr--,ge===W&&(Ye=W,lr===0&&Gr($s)),ge}function zl(){var ge,Ye,Qt,kn,zr;if(lr++,ge=ze,ye.charCodeAt(ze)===48?(Ye=wl,ze++):(Ye=W,lr===0&&Gr(fs)),Ye!==W&&(Ua=ge,Ye=nu()),ge=Ye,ge===W){if(ge=ze,Ye=ze,Tl.test(ye.charAt(ze))?(Qt=ye.charAt(ze),ze++):(Qt=W,lr===0&&Gr(yo)),Qt!==W){for(kn=[],As.test(ye.charAt(ze))?(zr=ye.charAt(ze),ze++):(zr=W,lr===0&&Gr(tl));zr!==W;)kn.push(zr),As.test(ye.charAt(ze))?(zr=ye.charAt(ze),ze++):(zr=W,lr===0&&Gr(tl));kn!==W?(Qt=[Qt,kn],Ye=Qt):(ze=Ye,Ye=W)}else ze=Ye,Ye=W;Ye!==W&&(Ua=ge,Ye=Il(Ye)),ge=Ye}return lr--,ge===W&&(Ye=W,lr===0&&Gr(es)),ge}function ul(){var ge,Ye,Qt,kn,zr;if(lr++,ge=ze,Ye=[],Qt=ze,kn=ze,lr++,zr=ns(),zr===W&&(zr=Zl()),lr--,zr===W?kn=void 0:(ze=kn,kn=W),kn!==W?(ye.length>ze?(zr=ye.charAt(ze),ze++):(zr=W,lr===0&&Gr(ni)),zr!==W?(kn=[kn,zr],Qt=kn):(ze=Qt,Qt=W)):(ze=Qt,Qt=W),Qt!==W)for(;Qt!==W;)Ye.push(Qt),Qt=ze,kn=ze,lr++,zr=ns(),zr===W&&(zr=Zl()),lr--,zr===W?kn=void 0:(ze=kn,kn=W),kn!==W?(ye.length>ze?(zr=ye.charAt(ze),ze++):(zr=W,lr===0&&Gr(ni)),zr!==W?(kn=[kn,zr],Qt=kn):(ze=Qt,Qt=W)):(ze=Qt,Qt=W);else Ye=W;return Ye!==W?ge=ye.substring(ge,ze):ge=Ye,lr--,ge===W&&(Ye=W,lr===0&&Gr(nl)),ge}var hi=["root"];function gs(){return hi.length>1}function cl(){return hi[hi.length-1]==="plural"}function yi(){return je&&je.captureLocation?{location:Ml()}:{}}if(Yi=Ot(),Yi!==W&&ze===ye.length)return Yi;throw Yi!==W&&ze1)throw new RangeError("Fraction-precision stems only accept a single optional option");Ot.stem.replace(k,function(Qn,Cr,na){return Qn==="."?je.maximumFractionDigits=0:na==="+"?je.minimumFractionDigits=na.length:Cr[0]==="#"?je.maximumFractionDigits=Cr.length:(je.minimumFractionDigits=Cr.length,je.maximumFractionDigits=Cr.length+(typeof na=="string"?na.length:0)),""}),Ot.options.length&&(je=U(U({},je),ue(Ot.options[0])));continue}if(J.test(Ot.stem)){je=U(U({},je),ue(Ot.stem));continue}var Pn=_(Ot.stem);Pn&&(je=U(U({},je),Pn))}return je}var pe=function(){var ye=function(je,W){return ye=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ut,Ot){ut.__proto__=Ot}||function(ut,Ot){for(var Pn in Ot)Ot.hasOwnProperty(Pn)&&(ut[Pn]=Ot[Pn])},ye(je,W)};return function(je,W){ye(je,W);function ut(){this.constructor=je}je.prototype=W===null?Object.create(W):(ut.prototype=W.prototype,new ut)}}(),de=function(){for(var ye=0,je=0,W=arguments.length;jero&&(ro=ze,wo=[]),wo.push(ge))}function ru(ge,Ge){return new G(ge,[],"",Ge)}function Rl(ge,Ge,Qt){return new G(G.buildMessage(ge,Ge),ge,Ge,Qt)}function $l(){var ge;return ge=ol(),ge}function ol(){var ge,Ge;for(ge=[],Ge=Al();Ge!==k;)ge.push(Ge),Ge=Al();return ge}function Al(){var ge;return ge=au(),ge===k&&(ge=ou(),ge===k&&(ge=cu(),ge===k&&(ge=Nu(),ge===k&&(ge=du(),ge===k&&(ge=Ds()))))),ge}function il(){var ge,Ge,Qt;if(ge=ze,Ge=[],Qt=ms(),Qt===k&&(Qt=gi(),Qt===k&&(Qt=sl())),Qt!==k)for(;Qt!==k;)Ge.push(Qt),Qt=ms(),Qt===k&&(Qt=gi(),Qt===k&&(Qt=sl()));else Ge=k;return Ge!==k&&(Ua=ge,Ge=Pn(Ge)),ge=Ge,ge}function au(){var ge,Ge;return ge=ze,Ge=il(),Ge!==k&&(Ua=ge,Ge=Qn(Ge)),ge=Ge,ge}function Ds(){var ge,Ge;return ge=ze,ye.charCodeAt(ze)===35?(Ge=Cr,ze++):(Ge=k,lr===0&&Gr(na)),Ge!==k&&(Ua=ge,Ge=Da()),ge=Ge,ge}function ou(){var ge,Ge,Qt,kn,zr,Ca;return lr++,ge=ze,ye.charCodeAt(ze)===123?(Ge=dr,ze++):(Ge=k,lr===0&&Gr(Lr)),Ge!==k?(Qt=Va(),Qt!==k?(kn=vs(),kn!==k?(zr=Va(),zr!==k?(ye.charCodeAt(ze)===125?(Ca=Sa,ze++):(Ca=k,lr===0&&Gr(xa)),Ca!==k?(Ua=ge,Ge=xo(kn),ge=Ge):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k),lr--,ge===k&&(Ge=k,lr===0&&Gr(Zr)),ge}function Ls(){var ge,Ge,Qt,kn,zr;if(lr++,ge=ze,Ge=[],Qt=ze,kn=ze,lr++,zr=ns(),zr===k&&($o.test(ye.charAt(ze))?(zr=ye.charAt(ze),ze++):(zr=k,lr===0&&Gr(Co))),lr--,zr===k?kn=void 0:(ze=kn,kn=k),kn!==k?(ye.length>ze?(zr=ye.charAt(ze),ze++):(zr=k,lr===0&&Gr(ni)),zr!==k?(kn=[kn,zr],Qt=kn):(ze=Qt,Qt=k)):(ze=Qt,Qt=k),Qt!==k)for(;Qt!==k;)Ge.push(Qt),Qt=ze,kn=ze,lr++,zr=ns(),zr===k&&($o.test(ye.charAt(ze))?(zr=ye.charAt(ze),ze++):(zr=k,lr===0&&Gr(Co))),lr--,zr===k?kn=void 0:(ze=kn,kn=k),kn!==k?(ye.length>ze?(zr=ye.charAt(ze),ze++):(zr=k,lr===0&&Gr(ni)),zr!==k?(kn=[kn,zr],Qt=kn):(ze=Qt,Qt=k)):(ze=Qt,Qt=k);else Ge=k;return Ge!==k?ge=ye.substring(ge,ze):ge=Ge,lr--,ge===k&&(Ge=k,lr===0&&Gr(Xo)),ge}function js(){var ge,Ge,Qt;return lr++,ge=ze,ye.charCodeAt(ze)===47?(Ge=Vs,ze++):(Ge=k,lr===0&&Gr(Qo)),Ge!==k?(Qt=Ls(),Qt!==k?(Ua=ge,Ge=os(Qt),ge=Ge):(ze=ge,ge=k)):(ze=ge,ge=k),lr--,ge===k&&(Ge=k,lr===0&&Gr(ri)),ge}function Dl(){var ge,Ge,Qt,kn,zr;if(lr++,ge=ze,Ge=Va(),Ge!==k)if(Qt=Ls(),Qt!==k){for(kn=[],zr=js();zr!==k;)kn.push(zr),zr=js();kn!==k?(Ua=ge,Ge=ki(Qt,kn),ge=Ge):(ze=ge,ge=k)}else ze=ge,ge=k;else ze=ge,ge=k;return lr--,ge===k&&(Ge=k,lr===0&&Gr(ai)),ge}function Ll(){var ge,Ge,Qt;if(ge=ze,Ge=[],Qt=Dl(),Qt!==k)for(;Qt!==k;)Ge.push(Qt),Qt=Dl();else Ge=k;return Ge!==k&&(Ua=ge,Ge=is(Ge)),ge=Ge,ge}function iu(){var ge,Ge,Qt;return ge=ze,ye.substr(ze,2)===Vi?(Ge=Vi,ze+=2):(Ge=k,lr===0&&Gr(Ks)),Ge!==k?(Qt=Ll(),Qt!==k?(Ua=ge,Ge=fi(Qt),ge=Ge):(ze=ge,ge=k)):(ze=ge,ge=k),ge===k&&(ge=ze,Ua=ze,Ge=Bo(),Ge?Ge=void 0:Ge=k,Ge!==k?(Qt=il(),Qt!==k?(Ua=ge,Ge=Wo(Qt),ge=Ge):(ze=ge,ge=k)):(ze=ge,ge=k)),ge}function su(){var ge,Ge,Qt,kn,zr,Ca,co,$a,oo,Ya,go,Qa,fo;return ge=ze,ye.charCodeAt(ze)===123?(Ge=dr,ze++):(Ge=k,lr===0&&Gr(Lr)),Ge!==k?(Qt=Va(),Qt!==k?(kn=vs(),kn!==k?(zr=Va(),zr!==k?(ye.charCodeAt(ze)===44?(Ca=Oo,ze++):(Ca=k,lr===0&&Gr(Oi)),Ca!==k?(co=Va(),co!==k?(ye.substr(ze,6)===oi?($a=oi,ze+=6):($a=k,lr===0&&Gr(pi)),$a!==k?(oo=Va(),oo!==k?(Ya=ze,ye.charCodeAt(ze)===44?(go=Oo,ze++):(go=k,lr===0&&Gr(Oi)),go!==k?(Qa=Va(),Qa!==k?(fo=iu(),fo!==k?(go=[go,Qa,fo],Ya=go):(ze=Ya,Ya=k)):(ze=Ya,Ya=k)):(ze=Ya,Ya=k),Ya===k&&(Ya=null),Ya!==k?(go=Va(),go!==k?(ye.charCodeAt(ze)===125?(Qa=Sa,ze++):(Qa=k,lr===0&&Gr(xa)),Qa!==k?(Ua=ge,Ge=Ki(kn,$a,Ya),ge=Ge):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k),ge}function jl(){var ge,Ge,Qt,kn;if(ge=ze,ye.charCodeAt(ze)===39?(Ge=ii,ze++):(Ge=k,lr===0&&Gr(si)),Ge!==k){if(Qt=[],kn=ms(),kn===k&&(Ri.test(ye.charAt(ze))?(kn=ye.charAt(ze),ze++):(kn=k,lr===0&&Gr(ws))),kn!==k)for(;kn!==k;)Qt.push(kn),kn=ms(),kn===k&&(Ri.test(ye.charAt(ze))?(kn=ye.charAt(ze),ze++):(kn=k,lr===0&&Gr(ws)));else Qt=k;Qt!==k?(ye.charCodeAt(ze)===39?(kn=ii,ze++):(kn=k,lr===0&&Gr(si)),kn!==k?(Ge=[Ge,Qt,kn],ge=Ge):(ze=ge,ge=k)):(ze=ge,ge=k)}else ze=ge,ge=k;if(ge===k)if(ge=[],Ge=ms(),Ge===k&&(Gs.test(ye.charAt(ze))?(Ge=ye.charAt(ze),ze++):(Ge=k,lr===0&&Gr(Ys))),Ge!==k)for(;Ge!==k;)ge.push(Ge),Ge=ms(),Ge===k&&(Gs.test(ye.charAt(ze))?(Ge=ye.charAt(ze),ze++):(Ge=k,lr===0&&Gr(Ys)));else ge=k;return ge}function Nl(){var ge,Ge;if(ge=[],Jo.test(ye.charAt(ze))?(Ge=ye.charAt(ze),ze++):(Ge=k,lr===0&&Gr(_o)),Ge!==k)for(;Ge!==k;)ge.push(Ge),Jo.test(ye.charAt(ze))?(Ge=ye.charAt(ze),ze++):(Ge=k,lr===0&&Gr(_o));else ge=k;return ge}function Fl(){var ge,Ge,Qt,kn;if(ge=ze,Ge=ze,Qt=[],kn=jl(),kn===k&&(kn=Nl()),kn!==k)for(;kn!==k;)Qt.push(kn),kn=jl(),kn===k&&(kn=Nl());else Qt=k;return Qt!==k?Ge=ye.substring(Ge,ze):Ge=Qt,Ge!==k&&(Ua=ge,Ge=vo(Ge)),ge=Ge,ge}function lu(){var ge,Ge,Qt;return ge=ze,ye.substr(ze,2)===Vi?(Ge=Vi,ze+=2):(Ge=k,lr===0&&Gr(Ks)),Ge!==k?(Qt=Fl(),Qt!==k?(Ua=ge,Ge=fi(Qt),ge=Ge):(ze=ge,ge=k)):(ze=ge,ge=k),ge===k&&(ge=ze,Ua=ze,Ge=wi(),Ge?Ge=void 0:Ge=k,Ge!==k?(Qt=il(),Qt!==k?(Ua=ge,Ge=Wo(Qt),ge=Ge):(ze=ge,ge=k)):(ze=ge,ge=k)),ge}function uu(){var ge,Ge,Qt,kn,zr,Ca,co,$a,oo,Ya,go,Qa,fo;return ge=ze,ye.charCodeAt(ze)===123?(Ge=dr,ze++):(Ge=k,lr===0&&Gr(Lr)),Ge!==k?(Qt=Va(),Qt!==k?(kn=vs(),kn!==k?(zr=Va(),zr!==k?(ye.charCodeAt(ze)===44?(Ca=Oo,ze++):(Ca=k,lr===0&&Gr(Oi)),Ca!==k?(co=Va(),co!==k?(ye.substr(ze,4)===gl?($a=gl,ze+=4):($a=k,lr===0&&Gr(Yl)),$a===k&&(ye.substr(ze,4)===Xs?($a=Xs,ze+=4):($a=k,lr===0&&Gr(hl))),$a!==k?(oo=Va(),oo!==k?(Ya=ze,ye.charCodeAt(ze)===44?(go=Oo,ze++):(go=k,lr===0&&Gr(Oi)),go!==k?(Qa=Va(),Qa!==k?(fo=lu(),fo!==k?(go=[go,Qa,fo],Ya=go):(ze=Ya,Ya=k)):(ze=Ya,Ya=k)):(ze=Ya,Ya=k),Ya===k&&(Ya=null),Ya!==k?(go=Va(),go!==k?(ye.charCodeAt(ze)===125?(Qa=Sa,ze++):(Qa=k,lr===0&&Gr(xa)),Qa!==k?(Ua=ge,Ge=Ki(kn,$a,Ya),ge=Ge):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k),ge}function cu(){var ge;return ge=su(),ge===k&&(ge=uu()),ge}function Nu(){var ge,Ge,Qt,kn,zr,Ca,co,$a,oo,Ya,go,Qa,fo,ui,bi,dl;if(ge=ze,ye.charCodeAt(ze)===123?(Ge=dr,ze++):(Ge=k,lr===0&&Gr(Lr)),Ge!==k)if(Qt=Va(),Qt!==k)if(kn=vs(),kn!==k)if(zr=Va(),zr!==k)if(ye.charCodeAt(ze)===44?(Ca=Oo,ze++):(Ca=k,lr===0&&Gr(Oi)),Ca!==k)if(co=Va(),co!==k)if(ye.substr(ze,6)===yl?($a=yl,ze+=6):($a=k,lr===0&&Gr(Qs)),$a===k&&(ye.substr(ze,13)===bl?($a=bl,ze+=13):($a=k,lr===0&&Gr(ss))),$a!==k)if(oo=Va(),oo!==k)if(ye.charCodeAt(ze)===44?(Ya=Oo,ze++):(Ya=k,lr===0&&Gr(Oi)),Ya!==k)if(go=Va(),go!==k)if(Qa=ze,ye.substr(ze,7)===Js?(fo=Js,ze+=7):(fo=k,lr===0&&Gr(ju)),fo!==k?(ui=Va(),ui!==k?(bi=pu(),bi!==k?(fo=[fo,ui,bi],Qa=fo):(ze=Qa,Qa=k)):(ze=Qa,Qa=k)):(ze=Qa,Qa=k),Qa===k&&(Qa=null),Qa!==k)if(fo=Va(),fo!==k){if(ui=[],bi=Bl(),bi!==k)for(;bi!==k;)ui.push(bi),bi=Bl();else ui=k;ui!==k?(bi=Va(),bi!==k?(ye.charCodeAt(ze)===125?(dl=Sa,ze++):(dl=k,lr===0&&Gr(xa)),dl!==k?(Ua=ge,Ge=Ts(kn,$a,Qa,ui),ge=Ge):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k)}else ze=ge,ge=k;else ze=ge,ge=k;else ze=ge,ge=k;else ze=ge,ge=k;else ze=ge,ge=k;else ze=ge,ge=k;else ze=ge,ge=k;else ze=ge,ge=k;else ze=ge,ge=k;else ze=ge,ge=k;else ze=ge,ge=k;else ze=ge,ge=k;return ge}function du(){var ge,Ge,Qt,kn,zr,Ca,co,$a,oo,Ya,go,Qa,fo,ui;if(ge=ze,ye.charCodeAt(ze)===123?(Ge=dr,ze++):(Ge=k,lr===0&&Gr(Lr)),Ge!==k)if(Qt=Va(),Qt!==k)if(kn=vs(),kn!==k)if(zr=Va(),zr!==k)if(ye.charCodeAt(ze)===44?(Ca=Oo,ze++):(Ca=k,lr===0&&Gr(Oi)),Ca!==k)if(co=Va(),co!==k)if(ye.substr(ze,6)===Is?($a=Is,ze+=6):($a=k,lr===0&&Gr(Xl)),$a!==k)if(oo=Va(),oo!==k)if(ye.charCodeAt(ze)===44?(Ya=Oo,ze++):(Ya=k,lr===0&&Gr(Oi)),Ya!==k)if(go=Va(),go!==k){if(Qa=[],fo=fu(),fo!==k)for(;fo!==k;)Qa.push(fo),fo=fu();else Qa=k;Qa!==k?(fo=Va(),fo!==k?(ye.charCodeAt(ze)===125?(ui=Sa,ze++):(ui=k,lr===0&&Gr(xa)),ui!==k?(Ua=ge,Ge=Ql(kn,Qa),ge=Ge):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k)}else ze=ge,ge=k;else ze=ge,ge=k;else ze=ge,ge=k;else ze=ge,ge=k;else ze=ge,ge=k;else ze=ge,ge=k;else ze=ge,ge=k;else ze=ge,ge=k;else ze=ge,ge=k;else ze=ge,ge=k;return ge}function Fu(){var ge,Ge,Qt,kn;return ge=ze,Ge=ze,ye.charCodeAt(ze)===61?(Qt=ls,ze++):(Qt=k,lr===0&&Gr(Jl)),Qt!==k?(kn=pu(),kn!==k?(Qt=[Qt,kn],Ge=Qt):(ze=Ge,Ge=k)):(ze=Ge,Ge=k),Ge!==k?ge=ye.substring(ge,ze):ge=Ge,ge===k&&(ge=ul()),ge}function fu(){var ge,Ge,Qt,kn,zr,Ca,co,$a;return ge=ze,Ge=Va(),Ge!==k?(Qt=ul(),Qt!==k?(kn=Va(),kn!==k?(ye.charCodeAt(ze)===123?(zr=dr,ze++):(zr=k,lr===0&&Gr(Lr)),zr!==k?(Ua=ze,Ca=_s(Qt),Ca?Ca=void 0:Ca=k,Ca!==k?(co=ol(),co!==k?(ye.charCodeAt(ze)===125?($a=Sa,ze++):($a=k,lr===0&&Gr(xa)),$a!==k?(Ua=ge,Ge=qs(Qt,co),ge=Ge):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k),ge}function Bl(){var ge,Ge,Qt,kn,zr,Ca,co,$a;return ge=ze,Ge=Va(),Ge!==k?(Qt=Fu(),Qt!==k?(kn=Va(),kn!==k?(ye.charCodeAt(ze)===123?(zr=dr,ze++):(zr=k,lr===0&&Gr(Lr)),zr!==k?(Ua=ze,Ca=us(Qt),Ca?Ca=void 0:Ca=k,Ca!==k?(co=ol(),co!==k?(ye.charCodeAt(ze)===125?($a=Sa,ze++):($a=k,lr===0&&Gr(xa)),$a!==k?(Ua=ge,Ge=Sl(Qt,co),ge=Ge):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k)):(ze=ge,ge=k),ge}function ns(){var ge,Ge;return lr++,Cl.test(ye.charAt(ze))?(ge=ye.charAt(ze),ze++):(ge=k,lr===0&&Gr(El)),lr--,ge===k&&(Ge=k,lr===0&&Gr(xl)),ge}function Zl(){var ge,Ge;return lr++,mi.test(ye.charAt(ze))?(ge=ye.charAt(ze),ze++):(ge=k,lr===0&&Gr(qi)),lr--,ge===k&&(Ge=k,lr===0&&Gr(cs)),ge}function Va(){var ge,Ge,Qt;for(lr++,ge=ze,Ge=[],Qt=ns();Qt!==k;)Ge.push(Qt),Qt=ns();return Ge!==k?ge=ye.substring(ge,ze):ge=Ge,lr--,ge===k&&(Ge=k,lr===0&&Gr(Pl)),ge}function pu(){var ge,Ge,Qt;return lr++,ge=ze,ye.charCodeAt(ze)===45?(Ge=Zi,ze++):(Ge=k,lr===0&&Gr(Gi)),Ge===k&&(Ge=null),Ge!==k?(Qt=zl(),Qt!==k?(Ua=ge,Ge=Ol(Ge,Qt),ge=Ge):(ze=ge,ge=k)):(ze=ge,ge=k),lr--,ge===k&&(Ge=k,lr===0&&Gr(_l)),ge}function fc(){var ge,Ge;return lr++,ye.charCodeAt(ze)===39?(ge=ii,ze++):(ge=k,lr===0&&Gr(si)),lr--,ge===k&&(Ge=k,lr===0&&Gr(ql)),ge}function ms(){var ge,Ge;return lr++,ge=ze,ye.substr(ze,2)===li?(Ge=li,ze+=2):(Ge=k,lr===0&&Gr(ds)),Ge!==k&&(Ua=ge,Ge=eu()),ge=Ge,lr--,ge===k&&(Ge=k,lr===0&&Gr(zi)),ge}function gi(){var ge,Ge,Qt,kn,zr,Ca;if(ge=ze,ye.charCodeAt(ze)===39?(Ge=ii,ze++):(Ge=k,lr===0&&Gr(si)),Ge!==k)if(Qt=ll(),Qt!==k){for(kn=ze,zr=[],ye.substr(ze,2)===li?(Ca=li,ze+=2):(Ca=k,lr===0&&Gr(ds)),Ca===k&&(Ri.test(ye.charAt(ze))?(Ca=ye.charAt(ze),ze++):(Ca=k,lr===0&&Gr(ws)));Ca!==k;)zr.push(Ca),ye.substr(ze,2)===li?(Ca=li,ze+=2):(Ca=k,lr===0&&Gr(ds)),Ca===k&&(Ri.test(ye.charAt(ze))?(Ca=ye.charAt(ze),ze++):(Ca=k,lr===0&&Gr(ws)));zr!==k?kn=ye.substring(kn,ze):kn=zr,kn!==k?(ye.charCodeAt(ze)===39?(zr=ii,ze++):(zr=k,lr===0&&Gr(si)),zr===k&&(zr=null),zr!==k?(Ua=ge,Ge=el(Qt,kn),ge=Ge):(ze=ge,ge=k)):(ze=ge,ge=k)}else ze=ge,ge=k;else ze=ge,ge=k;return ge}function sl(){var ge,Ge,Qt,kn;return ge=ze,Ge=ze,ye.length>ze?(Qt=ye.charAt(ze),ze++):(Qt=k,lr===0&&Gr(ni)),Qt!==k?(Ua=ze,kn=tu(Qt),kn?kn=void 0:kn=k,kn!==k?(Qt=[Qt,kn],Ge=Qt):(ze=Ge,Ge=k)):(ze=Ge,Ge=k),Ge===k&&(ye.charCodeAt(ze)===10?(Ge=Ms,ze++):(Ge=k,lr===0&&Gr($i))),Ge!==k?ge=ye.substring(ge,ze):ge=Ge,ge}function ll(){var ge,Ge,Qt,kn;return ge=ze,Ge=ze,ye.length>ze?(Qt=ye.charAt(ze),ze++):(Qt=k,lr===0&&Gr(ni)),Qt!==k?(Ua=ze,kn=Rs(Qt),kn?kn=void 0:kn=k,kn!==k?(Qt=[Qt,kn],Ge=Qt):(ze=Ge,Ge=k)):(ze=Ge,Ge=k),Ge!==k?ge=ye.substring(ge,ze):ge=Ge,ge}function vs(){var ge,Ge;return lr++,ge=ze,Ge=zl(),Ge===k&&(Ge=ul()),Ge!==k?ge=ye.substring(ge,ze):ge=Ge,lr--,ge===k&&(Ge=k,lr===0&&Gr($s)),ge}function zl(){var ge,Ge,Qt,kn,zr;if(lr++,ge=ze,ye.charCodeAt(ze)===48?(Ge=wl,ze++):(Ge=k,lr===0&&Gr(fs)),Ge!==k&&(Ua=ge,Ge=nu()),ge=Ge,ge===k){if(ge=ze,Ge=ze,Tl.test(ye.charAt(ze))?(Qt=ye.charAt(ze),ze++):(Qt=k,lr===0&&Gr(yo)),Qt!==k){for(kn=[],As.test(ye.charAt(ze))?(zr=ye.charAt(ze),ze++):(zr=k,lr===0&&Gr(tl));zr!==k;)kn.push(zr),As.test(ye.charAt(ze))?(zr=ye.charAt(ze),ze++):(zr=k,lr===0&&Gr(tl));kn!==k?(Qt=[Qt,kn],Ge=Qt):(ze=Ge,Ge=k)}else ze=Ge,Ge=k;Ge!==k&&(Ua=ge,Ge=Il(Ge)),ge=Ge}return lr--,ge===k&&(Ge=k,lr===0&&Gr(es)),ge}function ul(){var ge,Ge,Qt,kn,zr;if(lr++,ge=ze,Ge=[],Qt=ze,kn=ze,lr++,zr=ns(),zr===k&&(zr=Zl()),lr--,zr===k?kn=void 0:(ze=kn,kn=k),kn!==k?(ye.length>ze?(zr=ye.charAt(ze),ze++):(zr=k,lr===0&&Gr(ni)),zr!==k?(kn=[kn,zr],Qt=kn):(ze=Qt,Qt=k)):(ze=Qt,Qt=k),Qt!==k)for(;Qt!==k;)Ge.push(Qt),Qt=ze,kn=ze,lr++,zr=ns(),zr===k&&(zr=Zl()),lr--,zr===k?kn=void 0:(ze=kn,kn=k),kn!==k?(ye.length>ze?(zr=ye.charAt(ze),ze++):(zr=k,lr===0&&Gr(ni)),zr!==k?(kn=[kn,zr],Qt=kn):(ze=Qt,Qt=k)):(ze=Qt,Qt=k);else Ge=k;return Ge!==k?ge=ye.substring(ge,ze):ge=Ge,lr--,ge===k&&(Ge=k,lr===0&&Gr(nl)),ge}var hi=["root"];function gs(){return hi.length>1}function cl(){return hi[hi.length-1]==="plural"}function yi(){return je&&je.captureLocation?{location:Ml()}:{}}if(Yi=Ot(),Yi!==k&&ze===ye.length)return Yi;throw Yi!==k&&ze1)throw new RangeError("Fraction-precision stems only accept a single optional option");Ot.stem.replace(V,function(Qn,Cr,na){return Qn==="."?je.maximumFractionDigits=0:na==="+"?je.minimumFractionDigits=na.length:Cr[0]==="#"?je.maximumFractionDigits=Cr.length:(je.minimumFractionDigits=Cr.length,je.maximumFractionDigits=Cr.length+(typeof na=="string"?na.length:0)),""}),Ot.options.length&&(je=Z(Z({},je),ue(Ot.options[0])));continue}if(J.test(Ot.stem)){je=Z(Z({},je),ue(Ot.stem));continue}var Pn=_(Ot.stem);Pn&&(je=Z(Z({},je),Pn))}return je}var pe=function(){var ye=function(je,k){return ye=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(lt,Ot){lt.__proto__=Ot}||function(lt,Ot){for(var Pn in Ot)Ot.hasOwnProperty(Pn)&&(lt[Pn]=Ot[Pn])},ye(je,k)};return function(je,k){ye(je,k);function lt(){this.constructor=je}je.prototype=k===null?Object.create(k):(lt.prototype=k.prototype,new lt)}}(),de=function(){for(var ye=0,je=0,k=arguments.length;je(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,Ae=Date.now()+"@@",We=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function tt(ye,je,W){var ut=ye.tagName,Ot=ye.outerHTML,Pn=ye.textContent,Qn=ye.childNodes;if(!ut)return we(Pn||"",je);ut=ut.toLowerCase();var Cr=~We.indexOf(ut),na=W[ut];if(na&&Cr)throw new Ne(ut+" is a self-closing tag and can not be used, please use another tag name.");if(!Qn.length)return[Ot];var Da=Array.prototype.slice.call(Qn).reduce(function(Zr,dr){return Zr.concat(tt(dr,je,W))},[]);return na?typeof na=="function"?[na.apply(void 0,Da)]:[na]:de(["<"+ut+">"],Da,[""])}function dt(ye,je,W,ut,Ot,Pn){var Qn=Ce(ye,je,W,ut,Ot,void 0,Pn),Cr={},na=Qn.reduce(function(Lr,Sa){if(Sa.type===0)return Lr+=Sa.value;var xa=$e();return Cr[xa]=Sa.value,Lr+=""+ie+xa+ie},"");if(!Pe.test(na))return we(na,Cr);if(!Ot)throw new Ne("Message has placeholders but no values was given");if(typeof DOMParser=="undefined")throw new Ne("Cannot format XML message without DOMParser");A||(A=new DOMParser);var Da=A.parseFromString(''+na+"","text/html").getElementById(Ae);if(!Da)throw new Ne("Malformed HTML message "+na);var Zr=Object.keys(Ot).filter(function(Lr){return!!Da.getElementsByTagName(Lr).length});if(!Zr.length)return we(na,Cr);var dr=Zr.filter(function(Lr){return Lr!==Lr.toLowerCase()});if(dr.length)throw new Ne("HTML tag must be lowercased but the following tags are not: "+dr.join(", "));return Array.prototype.slice.call(Da.childNodes).reduce(function(Lr,Sa){return Lr.concat(tt(Sa,Cr,Ot))},[])}var At=function(){return At=Object.assign||function(ye){for(var je,W=1,ut=arguments.length;W<"']/g;function gt(ye){return(""+ye).replace(Ut,function(je){return Et[je.charCodeAt(0)]})}function cn(ye,je){var W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return je.reduce(function(ut,Ot){return Ot in ye?ut[Ot]=ye[Ot]:Ot in W&&(ut[Ot]=W[Ot]),ut},{})}function Ft(ye){Ge(ye,"[React Intl] Could not find required `intl` object. needs to exist in the component ancestry.")}function en(ye,je){var W=je?` -`.concat(je.stack):"";return"[React Intl] ".concat(ye).concat(W)}function Yt(ye){}var dn={formats:{},messages:{},timeZone:void 0,textComponent:d.Fragment,defaultLocale:"en",defaultFormats:{},onError:Yt};function pn(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function rn(){var ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:pn(),je=Intl.RelativeTimeFormat,W=Intl.ListFormat,ut=Intl.DisplayNames;return{getDateTimeFormat:le(Intl.DateTimeFormat,ye.dateTime),getNumberFormat:le(Intl.NumberFormat,ye.number),getMessageFormat:le(Ct,ye.message),getRelativeTimeFormat:le(je,ye.relativeTime),getPluralRules:le(Intl.PluralRules,ye.pluralRules),getListFormat:le(W,ye.list),getDisplayNames:le(ut,ye.displayNames)}}function On(ye,je,W,ut){var Ot=ye&&ye[je],Pn;if(Ot&&(Pn=Ot[W]),Pn)return Pn;ut(en("No ".concat(je," format named: ").concat(W)))}var An=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function Jn(ye,je){var W=ye.locale,ut=ye.formats,Ot=ye.onError,Pn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Qn=Pn.format,Cr=Qn&&On(ut,"number",Qn,Ot)||{},na=cn(Pn,An,Cr);return je(W,na)}function Rr(ye,je,W){var ut=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};try{return Jn(ye,je,ut).format(W)}catch(Ot){ye.onError(en("Error formatting number.",Ot))}return String(W)}function er(ye,je,W){var ut=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};try{return Jn(ye,je,ut).formatToParts(W)}catch(Ot){ye.onError(en("Error formatting number.",Ot))}return[]}var ct=["numeric","style"];function et(ye,je){var W=ye.locale,ut=ye.formats,Ot=ye.onError,Pn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Qn=Pn.format,Cr=!!Qn&&On(ut,"relative",Qn,Ot)||{},na=cn(Pn,ct,Cr);return je(W,na)}function Ve(ye,je,W,ut){var Ot=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};ut||(ut="second");var Pn=Intl.RelativeTimeFormat;Pn||ye.onError(en(`Intl.RelativeTimeFormat is not available in this environment. +`);var xo=k.getPluralRules(je,{type:Zr.pluralType}).select(Lr-(Zr.offset||0));xa=Zr.options[xo]||Zr.options.other}if(!xa)throw new RangeError('Invalid values for "'+Zr.value+'": "'+Lr+'". Options are "'+Object.keys(Zr.options).join('", "')+'"');Cr.push.apply(Cr,Ce(xa.value,je,k,lt,Ot,Lr-(Zr.offset||0)));continue}}return at(Cr)}function xe(ye,je,k,lt,Ot,Pn){var Qn=Ce(ye,je,k,lt,Ot,void 0,Pn);return Qn.length===1?Qn[0].value:Qn.reduce(function(Cr,na){return Cr+=na.value},"")}var D,ie="@@",We=/@@(\d+_\d+)@@/g,Fe=0;function $e(){return Date.now()+"_"+ ++Fe}function we(ye,je){return ye.split(We).filter(Boolean).map(function(k){return je[k]!=null?je[k]:k}).reduce(function(k,lt){return k.length&&typeof lt=="string"&&typeof k[k.length-1]=="string"?k[k.length-1]+=lt:k.push(lt),k},[])}var Pe=/(<([0-9a-zA-Z-_]*?)>(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,Ae=Date.now()+"@@",Ue=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function _e(ye,je,k){var lt=ye.tagName,Ot=ye.outerHTML,Pn=ye.textContent,Qn=ye.childNodes;if(!lt)return we(Pn||"",je);lt=lt.toLowerCase();var Cr=~Ue.indexOf(lt),na=k[lt];if(na&&Cr)throw new Ne(lt+" is a self-closing tag and can not be used, please use another tag name.");if(!Qn.length)return[Ot];var Da=Array.prototype.slice.call(Qn).reduce(function(Zr,dr){return Zr.concat(_e(dr,je,k))},[]);return na?typeof na=="function"?[na.apply(void 0,Da)]:[na]:de(["<"+lt+">"],Da,[""])}function ct(ye,je,k,lt,Ot,Pn){var Qn=Ce(ye,je,k,lt,Ot,void 0,Pn),Cr={},na=Qn.reduce(function(Lr,Sa){if(Sa.type===0)return Lr+=Sa.value;var xa=$e();return Cr[xa]=Sa.value,Lr+=""+ie+xa+ie},"");if(!Pe.test(na))return we(na,Cr);if(!Ot)throw new Ne("Message has placeholders but no values was given");if(typeof DOMParser=="undefined")throw new Ne("Cannot format XML message without DOMParser");D||(D=new DOMParser);var Da=D.parseFromString(''+na+"","text/html").getElementById(Ae);if(!Da)throw new Ne("Malformed HTML message "+na);var Zr=Object.keys(Ot).filter(function(Lr){return!!Da.getElementsByTagName(Lr).length});if(!Zr.length)return we(na,Cr);var dr=Zr.filter(function(Lr){return Lr!==Lr.toLowerCase()});if(dr.length)throw new Ne("HTML tag must be lowercased but the following tags are not: "+dr.join(", "));return Array.prototype.slice.call(Da.childNodes).reduce(function(Lr,Sa){return Lr.concat(_e(Sa,Cr,Ot))},[])}var At=function(){return At=Object.assign||function(ye){for(var je,k=1,lt=arguments.length;k<"']/g;function gt(ye){return(""+ye).replace(Ut,function(je){return Et[je.charCodeAt(0)]})}function cn(ye,je){var k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return je.reduce(function(lt,Ot){return Ot in ye?lt[Ot]=ye[Ot]:Ot in k&&(lt[Ot]=k[Ot]),lt},{})}function Ft(ye){Ke(ye,"[React Intl] Could not find required `intl` object. needs to exist in the component ancestry.")}function en(ye,je){var k=je?` +`.concat(je.stack):"";return"[React Intl] ".concat(ye).concat(k)}function Yt(ye){}var dn={formats:{},messages:{},timeZone:void 0,textComponent:d.Fragment,defaultLocale:"en",defaultFormats:{},onError:Yt};function pn(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function rn(){var ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:pn(),je=Intl.RelativeTimeFormat,k=Intl.ListFormat,lt=Intl.DisplayNames;return{getDateTimeFormat:le(Intl.DateTimeFormat,ye.dateTime),getNumberFormat:le(Intl.NumberFormat,ye.number),getMessageFormat:le(Ct,ye.message),getRelativeTimeFormat:le(je,ye.relativeTime),getPluralRules:le(Intl.PluralRules,ye.pluralRules),getListFormat:le(k,ye.list),getDisplayNames:le(lt,ye.displayNames)}}function On(ye,je,k,lt){var Ot=ye&&ye[je],Pn;if(Ot&&(Pn=Ot[k]),Pn)return Pn;lt(en("No ".concat(je," format named: ").concat(k)))}var An=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function Jn(ye,je){var k=ye.locale,lt=ye.formats,Ot=ye.onError,Pn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Qn=Pn.format,Cr=Qn&&On(lt,"number",Qn,Ot)||{},na=cn(Pn,An,Cr);return je(k,na)}function Rr(ye,je,k){var lt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};try{return Jn(ye,je,lt).format(k)}catch(Ot){ye.onError(en("Error formatting number.",Ot))}return String(k)}function er(ye,je,k){var lt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};try{return Jn(ye,je,lt).formatToParts(k)}catch(Ot){ye.onError(en("Error formatting number.",Ot))}return[]}var ut=["numeric","style"];function Je(ye,je){var k=ye.locale,lt=ye.formats,Ot=ye.onError,Pn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Qn=Pn.format,Cr=!!Qn&&On(lt,"relative",Qn,Ot)||{},na=cn(Pn,ut,Cr);return je(k,na)}function ke(ye,je,k,lt){var Ot=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};lt||(lt="second");var Pn=Intl.RelativeTimeFormat;Pn||ye.onError(en(`Intl.RelativeTimeFormat is not available in this environment. Try polyfilling it using "@formatjs/intl-relativetimeformat" -`));try{return et(ye,je,Ot).format(W,ut)}catch(Qn){ye.onError(en("Error formatting relative time.",Qn))}return String(W)}var Jt=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function ht(ye,je,W){var ut=ye.locale,Ot=ye.formats,Pn=ye.onError,Qn=ye.timeZone,Cr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},na=Cr.format,Da=Object.assign(Object.assign({},Qn&&{timeZone:Qn}),na&&On(Ot,je,na,Pn)),Zr=cn(Cr,Jt,Da);return je==="time"&&!Zr.hour&&!Zr.minute&&!Zr.second&&(Zr=Object.assign(Object.assign({},Zr),{hour:"numeric",minute:"numeric"})),W(ut,Zr)}function un(ye,je,W){var ut=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Ot=typeof W=="string"?new Date(W||0):W;try{return ht(ye,"date",je,ut).format(Ot)}catch(Pn){ye.onError(en("Error formatting date.",Pn))}return String(Ot)}function Tn(ye,je,W){var ut=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Ot=typeof W=="string"?new Date(W||0):W;try{return ht(ye,"time",je,ut).format(Ot)}catch(Pn){ye.onError(en("Error formatting time.",Pn))}return String(Ot)}function Un(ye,je,W){var ut=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Ot=typeof W=="string"?new Date(W||0):W;try{return ht(ye,"date",je,ut).formatToParts(Ot)}catch(Pn){ye.onError(en("Error formatting date.",Pn))}return[]}function rr(ye,je,W){var ut=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Ot=typeof W=="string"?new Date(W||0):W;try{return ht(ye,"time",je,ut).formatToParts(Ot)}catch(Pn){ye.onError(en("Error formatting time.",Pn))}return[]}var or=["localeMatcher","type"];function fr(ye,je,W){var ut=ye.locale,Ot=ye.onError,Pn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};Intl.PluralRules||Ot(en(`Intl.PluralRules is not available in this environment. +`));try{return Je(ye,je,Ot).format(k,lt)}catch(Qn){ye.onError(en("Error formatting relative time.",Qn))}return String(k)}var Jt=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function ht(ye,je,k){var lt=ye.locale,Ot=ye.formats,Pn=ye.onError,Qn=ye.timeZone,Cr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},na=Cr.format,Da=Object.assign(Object.assign({},Qn&&{timeZone:Qn}),na&&On(Ot,je,na,Pn)),Zr=cn(Cr,Jt,Da);return je==="time"&&!Zr.hour&&!Zr.minute&&!Zr.second&&(Zr=Object.assign(Object.assign({},Zr),{hour:"numeric",minute:"numeric"})),k(lt,Zr)}function un(ye,je,k){var lt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Ot=typeof k=="string"?new Date(k||0):k;try{return ht(ye,"date",je,lt).format(Ot)}catch(Pn){ye.onError(en("Error formatting date.",Pn))}return String(Ot)}function Tn(ye,je,k){var lt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Ot=typeof k=="string"?new Date(k||0):k;try{return ht(ye,"time",je,lt).format(Ot)}catch(Pn){ye.onError(en("Error formatting time.",Pn))}return String(Ot)}function Un(ye,je,k){var lt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Ot=typeof k=="string"?new Date(k||0):k;try{return ht(ye,"date",je,lt).formatToParts(Ot)}catch(Pn){ye.onError(en("Error formatting date.",Pn))}return[]}function rr(ye,je,k){var lt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Ot=typeof k=="string"?new Date(k||0):k;try{return ht(ye,"time",je,lt).formatToParts(Ot)}catch(Pn){ye.onError(en("Error formatting time.",Pn))}return[]}var or=["localeMatcher","type"];function fr(ye,je,k){var lt=ye.locale,Ot=ye.onError,Pn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};Intl.PluralRules||Ot(en(`Intl.PluralRules is not available in this environment. Try polyfilling it using "@formatjs/intl-pluralrules" -`));var Qn=cn(Pn,or);try{return je(ut,Qn).select(W)}catch(Cr){Ot(en("Error formatting plural.",Cr))}return"other"}var ir=e(19632),gr=e.n(ir);function sr(ye,je){return Object.keys(ye).reduce(function(W,ut){return W[ut]=Object.assign({timeZone:je},ye[ut]),W},{})}function fn(ye,je){var W=Object.keys(Object.assign(Object.assign({},ye),je));return W.reduce(function(ut,Ot){return ut[Ot]=Object.assign(Object.assign({},ye[Ot]||{}),je[Ot]||{}),ut},{})}function tr(ye,je){if(!je)return ye;var W=Ct.formats;return Object.assign(Object.assign(Object.assign({},W),ye),{date:fn(sr(W.date,je),sr(ye.date||{},je)),time:fn(sr(W.time,je),sr(ye.time||{},je))})}var gn=function(je){return d.createElement.apply(b,[d.Fragment,null].concat(gr()(je)))};function an(ye,je){var W=ye.locale,ut=ye.formats,Ot=ye.messages,Pn=ye.defaultLocale,Qn=ye.defaultFormats,Cr=ye.onError,na=ye.timeZone,Da=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{id:""},Zr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},dr=Da.id,Lr=Da.defaultMessage;Ge(!!dr,"[React Intl] An `id` must be provided to format a message.");var Sa=Ot&&Ot[String(dr)];ut=tr(ut,na),Qn=tr(Qn,na);var xa=[];if(Sa)try{var xo=je.getMessageFormat(Sa,W,ut,{formatters:je});xa=xo.formatHTMLMessage(Zr)}catch($o){Cr(en('Error formatting message: "'.concat(dr,'" for locale: "').concat(W,'"')+(Lr?", using default message as fallback.":""),$o))}else(!Lr||W&&W.toLowerCase()!==Pn.toLowerCase())&&Cr(en('Missing message: "'.concat(dr,'" for locale: "').concat(W,'"')+(Lr?", using default message as fallback.":"")));if(!xa.length&&Lr)try{var Xo=je.getMessageFormat(Lr,Pn,Qn);xa=Xo.formatHTMLMessage(Zr)}catch($o){Cr(en('Error formatting the default message for: "'.concat(dr,'"'),$o))}return xa.length?xa.length===1&&typeof xa[0]=="string"?xa[0]||Lr||String(dr):gn(xa):(Cr(en('Cannot format message: "'.concat(dr,'", ')+"using message ".concat(Sa||Lr?"source":"id"," as fallback."))),typeof Sa=="string"?Sa||Lr||String(dr):Lr||String(dr))}function nt(ye,je){var W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{id:""},ut=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Ot=Object.keys(ut).reduce(function(Pn,Qn){var Cr=ut[Qn];return Pn[Qn]=typeof Cr=="string"?gt(Cr):Cr,Pn},{});return an(ye,je,W,Ot)}var xt=e(38138),Bt=e.n(xt),bt=e(52677),zt=e.n(bt),Vt=["localeMatcher","type","style"],nn=Date.now();function Dn(ye){return"".concat(nn,"_").concat(ye,"_").concat(nn)}function Gn(ye,je,W){var ut=ye.locale,Ot=ye.onError,Pn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Qn=Intl.ListFormat;Qn||Ot(en(`Intl.ListFormat is not available in this environment. +`));var Qn=cn(Pn,or);try{return je(lt,Qn).select(k)}catch(Cr){Ot(en("Error formatting plural.",Cr))}return"other"}var ir=e(19632),gr=e.n(ir);function sr(ye,je){return Object.keys(ye).reduce(function(k,lt){return k[lt]=Object.assign({timeZone:je},ye[lt]),k},{})}function fn(ye,je){var k=Object.keys(Object.assign(Object.assign({},ye),je));return k.reduce(function(lt,Ot){return lt[Ot]=Object.assign(Object.assign({},ye[Ot]||{}),je[Ot]||{}),lt},{})}function tr(ye,je){if(!je)return ye;var k=Ct.formats;return Object.assign(Object.assign(Object.assign({},k),ye),{date:fn(sr(k.date,je),sr(ye.date||{},je)),time:fn(sr(k.time,je),sr(ye.time||{},je))})}var gn=function(je){return d.createElement.apply(b,[d.Fragment,null].concat(gr()(je)))};function an(ye,je){var k=ye.locale,lt=ye.formats,Ot=ye.messages,Pn=ye.defaultLocale,Qn=ye.defaultFormats,Cr=ye.onError,na=ye.timeZone,Da=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{id:""},Zr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},dr=Da.id,Lr=Da.defaultMessage;Ke(!!dr,"[React Intl] An `id` must be provided to format a message.");var Sa=Ot&&Ot[String(dr)];lt=tr(lt,na),Qn=tr(Qn,na);var xa=[];if(Sa)try{var xo=je.getMessageFormat(Sa,k,lt,{formatters:je});xa=xo.formatHTMLMessage(Zr)}catch($o){Cr(en('Error formatting message: "'.concat(dr,'" for locale: "').concat(k,'"')+(Lr?", using default message as fallback.":""),$o))}else(!Lr||k&&k.toLowerCase()!==Pn.toLowerCase())&&Cr(en('Missing message: "'.concat(dr,'" for locale: "').concat(k,'"')+(Lr?", using default message as fallback.":"")));if(!xa.length&&Lr)try{var Xo=je.getMessageFormat(Lr,Pn,Qn);xa=Xo.formatHTMLMessage(Zr)}catch($o){Cr(en('Error formatting the default message for: "'.concat(dr,'"'),$o))}return xa.length?xa.length===1&&typeof xa[0]=="string"?xa[0]||Lr||String(dr):gn(xa):(Cr(en('Cannot format message: "'.concat(dr,'", ')+"using message ".concat(Sa||Lr?"source":"id"," as fallback."))),typeof Sa=="string"?Sa||Lr||String(dr):Lr||String(dr))}function qe(ye,je){var k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{id:""},lt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Ot=Object.keys(lt).reduce(function(Pn,Qn){var Cr=lt[Qn];return Pn[Qn]=typeof Cr=="string"?gt(Cr):Cr,Pn},{});return an(ye,je,k,Ot)}var xt=e(38138),Bt=e.n(xt),bt=e(52677),zt=e.n(bt),Vt=["localeMatcher","type","style"],nn=Date.now();function Dn(ye){return"".concat(nn,"_").concat(ye,"_").concat(nn)}function Gn(ye,je,k){var lt=ye.locale,Ot=ye.onError,Pn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Qn=Intl.ListFormat;Qn||Ot(en(`Intl.ListFormat is not available in this environment. Try polyfilling it using "@formatjs/intl-listformat" -`));var Cr=cn(Pn,Vt);try{var na={},Da=W.map(function(dr,Lr){if(zt()(dr)==="object"){var Sa=Dn(Lr);return na[Sa]=dr,Sa}return String(dr)});if(!Object.keys(na).length)return je(ut,Cr).format(Da);var Zr=je(ut,Cr).formatToParts(Da);return Zr.reduce(function(dr,Lr){var Sa=Lr.value;return na[Sa]?dr.push(na[Sa]):typeof dr[dr.length-1]=="string"?dr[dr.length-1]+=Sa:dr.push(Sa),dr},[])}catch(dr){Ot(en("Error formatting list.",dr))}return W}var Vn=["localeMatcher","style","type","fallback"];function Fn(ye,je,W){var ut=ye.locale,Ot=ye.onError,Pn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Qn=Intl.DisplayNames;Qn||Ot(en(`Intl.DisplayNames is not available in this environment. +`));var Cr=cn(Pn,Vt);try{var na={},Da=k.map(function(dr,Lr){if(zt()(dr)==="object"){var Sa=Dn(Lr);return na[Sa]=dr,Sa}return String(dr)});if(!Object.keys(na).length)return je(lt,Cr).format(Da);var Zr=je(lt,Cr).formatToParts(Da);return Zr.reduce(function(dr,Lr){var Sa=Lr.value;return na[Sa]?dr.push(na[Sa]):typeof dr[dr.length-1]=="string"?dr[dr.length-1]+=Sa:dr.push(Sa),dr},[])}catch(dr){Ot(en("Error formatting list.",dr))}return k}var Vn=["localeMatcher","style","type","fallback"];function Fn(ye,je,k){var lt=ye.locale,Ot=ye.onError,Pn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Qn=Intl.DisplayNames;Qn||Ot(en(`Intl.DisplayNames is not available in this environment. Try polyfilling it using "@formatjs/intl-displaynames" -`));var Cr=cn(Pn,Vn);try{return je(ut,Cr).of(W)}catch(na){Ot(en("Error formatting display name.",na))}}var mn=Bt()||xt;function Bn(ye){return{locale:ye.locale,timeZone:ye.timeZone,formats:ye.formats,textComponent:ye.textComponent,messages:ye.messages,defaultLocale:ye.defaultLocale,defaultFormats:ye.defaultFormats,onError:ye.onError}}function Mn(ye,je){var W=rn(je),ut=Object.assign(Object.assign({},dn),ye),Ot=ut.locale,Pn=ut.defaultLocale,Qn=ut.onError;return Ot?!Intl.NumberFormat.supportedLocalesOf(Ot).length&&Qn?Qn(en('Missing locale data for locale: "'.concat(Ot,'" in Intl.NumberFormat. Using default locale: "').concat(Pn,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(Ot).length&&Qn&&Qn(en('Missing locale data for locale: "'.concat(Ot,'" in Intl.DateTimeFormat. Using default locale: "').concat(Pn,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details'))):(Qn&&Qn(en('"locale" was not configured, using "'.concat(Pn,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details'))),ut.locale=ut.defaultLocale||"en"),Object.assign(Object.assign({},ut),{formatters:W,formatNumber:Rr.bind(null,ut,W.getNumberFormat),formatNumberToParts:er.bind(null,ut,W.getNumberFormat),formatRelativeTime:Ve.bind(null,ut,W.getRelativeTimeFormat),formatDate:un.bind(null,ut,W.getDateTimeFormat),formatDateToParts:Un.bind(null,ut,W.getDateTimeFormat),formatTime:Tn.bind(null,ut,W.getDateTimeFormat),formatTimeToParts:rr.bind(null,ut,W.getDateTimeFormat),formatPlural:fr.bind(null,ut,W.getPluralRules),formatMessage:an.bind(null,ut,W),formatHTMLMessage:nt.bind(null,ut,W),formatList:Gn.bind(null,ut,W.getListFormat),formatDisplayName:Fn.bind(null,ut,W.getDisplayNames)})}var jr=function(ye){p()(W,ye);var je=m()(W);function W(){var ut;return c()(this,W),ut=je.apply(this,arguments),ut.cache=pn(),ut.state={cache:ut.cache,intl:Mn(Bn(ut.props),ut.cache),prevConfig:Bn(ut.props)},ut}return l()(W,[{key:"render",value:function(){return Ft(this.state.intl),d.createElement(N,{value:this.state.intl},this.props.children)}}],[{key:"getDerivedStateFromProps",value:function(Ot,Pn){var Qn=Pn.prevConfig,Cr=Pn.cache,na=Bn(Ot);return mn(Qn,na)?null:{intl:Mn(na,Cr),prevConfig:na}}}]),W}(d.PureComponent);jr.displayName="IntlProvider",jr.defaultProps=dn;var De=e(7411),Te=e(48370),Le=e.n(Te),Ue=e(42473),rt=e.n(Ue),Dt=function(ye,je){var W={};for(var ut in ye)Object.prototype.hasOwnProperty.call(ye,ut)&&je.indexOf(ut)<0&&(W[ut]=ye[ut]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,ut=Object.getOwnPropertySymbols(ye);Ot