diff --git a/config/config.ts b/config/config.ts index abb34db..a1fdcc2 100644 --- a/config/config.ts +++ b/config/config.ts @@ -1,6 +1,5 @@ // https://umijs.org/config/ import { defineConfig } from '@umijs/max'; -import { join } from 'path'; import defaultSettings from './defaultSettings'; import proxy from './proxy'; import routes from './routes'; @@ -153,4 +152,5 @@ export default defineConfig({ }, esbuildMinifyIIFE: true, requestRecord: {}, + publicPath: 'https://apks.bzgames.cn/matrix_fe/', }); diff --git a/dist/15.a664eb81.async.js b/dist/15.a664eb81.async.js new file mode 100644 index 0000000..7b58287 --- /dev/null +++ b/dist/15.a664eb81.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[15],{42767:function(N,b,r){r.d(b,{Z:function(){return i}});var x=r(5574),u=r.n(x),C=r(55241),o=r(2487),F=r(71230),f=r(7134),c=r(67294),m=r(52043),s=r(58125),g=r(15009),y=r.n(g),A=r(97857),h=r.n(A),D=r(99289),I=r.n(D),Z=r(40110),T=r(67539),K=r(55102),L=r(42075),U=r(14726),M=r(17788),$=r(4575),n=r(85893),k=function(e){var a=(0,c.useState)(),B=u()(a,2),W=B[0],V=B[1],w=(0,c.useState)(),R=u()(w,2),G=R[0],X=R[1],Q=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",ellipsis:!0,hideInSearch:!0,filterDropdown:function(l){var d=l.setSelectedKeys,P=l.selectedKeys,j=l.confirm,_=l.clearFilters;return(0,n.jsxs)("div",{style:{padding:8},children:[(0,n.jsx)(K.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:P[0],onChange:function(v){return d(v.target.value?[v.target.value]:[])},onPressEnter:function(){return j()},style:{marginBottom:8,display:"block"}}),(0,n.jsxs)(L.Z,{children:[(0,n.jsx)(U.ZP,{onClick:function(){return j()},type:"primary",children:"\u641C\u7D22"}),(0,n.jsx)(U.ZP,{onClick:function(){return _&&_()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(l,d){return typeof l=="string"&&typeof(d==null?void 0:d.appName)=="string"?d.appName.includes(l):!1},filterIcon:function(l){return(0,n.jsx)(Z.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 d=l.setSelectedKeys,P=l.selectedKeys,j=l.confirm,_=l.clearFilters;return(0,n.jsxs)("div",{style:{padding:8},children:[(0,n.jsx)(K.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:P[0],onChange:function(v){return d(v.target.value?[v.target.value]:[])},onPressEnter:function(){return j()},style:{marginBottom:8,display:"block"}}),(0,n.jsxs)(L.Z,{children:[(0,n.jsx)(U.ZP,{onClick:function(){return j()},type:"primary",children:"\u641C\u7D22"}),(0,n.jsx)(U.ZP,{onClick:function(){return _&&_()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(l,d){return typeof l=="string"&&typeof(d==null?void 0:d.packageName)=="string"?d.packageName.includes(l):!1},filterIcon:function(l){return(0,n.jsx)(Z.Z,{style:{color:l?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}}],H=function(){var E=I()(y()().mark(function l(){var d,P,j,_;return y()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,(0,$.ai)();case 2:d=v.sent,d.data&&(j=[],_=[],(P=e.data.localAppList)===null||P===void 0||P.forEach(function(Y){var z;(z=d.data)!==null&&z!==void 0&&z.some(function(J){return J.packageName===Y.packageName})?j.push(h()(h()({},Y),{},{evil:!0})):_.push(h()(h()({},Y),{},{evil:!1}))}),V([].concat(j,_)),X([].concat(j,_)));case 4:case"end":return v.stop()}},l)}));return function(){return E.apply(this,arguments)}}();return(0,c.useEffect)(function(){H()},[]),(0,n.jsx)(M.Z,{style:{width:600},onCancel:e.onClose,visible:!0,footer:[],children:(0,n.jsx)(T.Z,{onRow:function(l){return{style:{backgroundColor:l.evil?"red":"transparent"}}},search:!1,onReset:function(){X(W)},columns:Q,dataSource:G})})},O=k,t=function(e){var a=(0,c.useState)(!1),B=u()(a,2),W=B[0],V=B[1],w=(0,m.E7)(e.data.env);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(C.Z,{content:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("p",{children:[(0,n.jsx)("label",{children:"\u603B\u6536\u5165\uFF1A"}),(0,s.P)(e.data.income),"\u5143"]}),(0,n.jsxs)("p",{children:[(0,n.jsx)("label",{children:"\u5DF2\u63D0\u73B0\uFF1A"}),(0,s.D)(e.data.realMoney),"\u5143"]}),e.data.localAppList&&e.data.localAppList.length>0&&(0,n.jsxs)("p",{children:[(0,n.jsx)("label",{children:"\u5DF2\u5B89\u88C5\u5E94\u7528\uFF1A"}),e.data.localAppList.length,"\u4E2A",(0,n.jsx)("a",{onClick:function(){V(!0)},style:{marginLeft:20},children:"\u67E5\u770B"})]}),w.length>0&&(0,n.jsx)(o.Z,{size:"small",header:(0,n.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:w,renderItem:function(G){return(0,n.jsx)(o.Z.Item,{children:G})}})]}),children:(0,n.jsxs)(F.Z,{children:[(0,n.jsx)(f.C,{src:e.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,n.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:w.length>0?"red":""},children:["id:",e.data.id,(0,n.jsx)("br",{}),e.data.nickname||e.data.mobile]})]})}),W&&(0,n.jsx)(O,{onClose:function(){V(!1)},data:e.data})]})},i=t},4575:function(N,b,r){r.d(b,{Rn:function(){return m},SN:function(){return Z},XM:function(){return D},ai:function(){return g},k_:function(){return A},nN:function(){return U},nr:function(){return k},re:function(){return $},vE:function(){return K}});var x=r(15009),u=r.n(x),C=r(97857),o=r.n(C),F=r(99289),f=r.n(F),c=r(35312);function m(t,i){return s.apply(this,arguments)}function s(){return s=f()(u()().mark(function t(i,p){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,c.request)("/api/admin/superAdmin/addSchedule",o()({method:"POST",headers:{"Content-Type":"application/json"},data:i},p||{})));case 1:case"end":return a.stop()}},t)})),s.apply(this,arguments)}function g(t){return y.apply(this,arguments)}function y(){return y=f()(u()().mark(function t(i){return u()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,c.request)("/api/admin/superAdmin/evilAppList",o()({method:"GET"},i||{})));case 1:case"end":return e.stop()}},t)})),y.apply(this,arguments)}function A(t){return h.apply(this,arguments)}function h(){return h=f()(u()().mark(function t(i){return u()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,c.request)("/api/admin/superAdmin/innerUserList",o()({method:"GET"},i||{})));case 1:case"end":return e.stop()}},t)})),h.apply(this,arguments)}function D(t,i){return I.apply(this,arguments)}function I(){return I=f()(u()().mark(function t(i,p){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,c.request)("/api/admin/superAdmin/saveEvilApp",o()({method:"POST",headers:{"Content-Type":"application/json"},data:i},p||{})));case 1:case"end":return a.stop()}},t)})),I.apply(this,arguments)}function Z(t,i){return T.apply(this,arguments)}function T(){return T=f()(u()().mark(function t(i,p){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,c.request)("/api/admin/superAdmin/saveInnerUser",o()({method:"POST",params:o()({},i)},p||{})));case 1:case"end":return a.stop()}},t)})),T.apply(this,arguments)}function K(t,i){return L.apply(this,arguments)}function L(){return L=f()(u()().mark(function t(i,p){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,c.request)("/api/admin/superAdmin/saveWhiteUser",o()({method:"POST",params:o()({},i)},p||{})));case 1:case"end":return a.stop()}},t)})),L.apply(this,arguments)}function U(t){return M.apply(this,arguments)}function M(){return M=f()(u()().mark(function t(i){return u()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,c.request)("/api/admin/superAdmin/scheduleList",o()({method:"GET"},i||{})));case 1:case"end":return e.stop()}},t)})),M.apply(this,arguments)}function $(t,i){return n.apply(this,arguments)}function n(){return n=f()(u()().mark(function t(i,p){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,c.request)("/api/admin/superAdmin/transfer",o()({method:"POST",params:o()({},i)},p||{})));case 1:case"end":return a.stop()}},t)})),n.apply(this,arguments)}function k(t){return O.apply(this,arguments)}function O(){return O=f()(u()().mark(function t(i){return u()().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,c.request)("/api/admin/superAdmin/whiteUserList",o()({method:"GET"},i||{})));case 1:case"end":return e.stop()}},t)})),O.apply(this,arguments)}},52043:function(N,b,r){r.d(b,{E7:function(){return u},FG:function(){return x},RQ:function(){return F},XY:function(){return C},aV:function(){return f},m0:function(){return o}});var x=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"},{label:"\u5229\u597D",value:"lihao"},{label:"\u4F73\u7476",value:"jiayao"}]},u=function(m){var s=[];if(!m)return s;for(var g=m>>1,y=["\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,h=y;A>=1}return s},C=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(m){var s=new Date(m),g=s.getFullYear().toString().padStart(4,"0"),y=(s.getMonth()+1).toString().padStart(2,"0"),A=s.getDate().toString().padStart(2,"0");return g+y+A},F=function(m,s){var g=m.toString();return g.padStart(s,"0")},f=function(m){var s=m;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(N,b,r){r.d(b,{D:function(){return u},P:function(){return x}});var x=function(o){return o?parseFloat((o/1e5).toFixed(2)):0},u=function(o){return o?parseFloat((o/100).toFixed(2)):0}}}]); diff --git a/dist/635.20e45f05.async.js b/dist/635.8a884f26.async.js similarity index 77% rename from dist/635.20e45f05.async.js rename to dist/635.8a884f26.async.js index 198252a..c7620da 100644 --- a/dist/635.20e45f05.async.js +++ b/dist/635.8a884f26.async.js @@ -5,7 +5,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `).concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,`-menu-item, `).concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,"-menu-submenu > ").concat(e.antCls,`-menu-submenu-title, `).concat(e.antCls,"-menu-submenu > ").concat(e.antCls,"-menu-submenu-title"),{paddingInline:"0 !important",marginBlock:"4px !important"}),"".concat(e.antCls,"-menu-item-group > ").concat(e.antCls,"-menu-item-group-list > ").concat(e.antCls,"-menu-submenu-selected > ").concat(e.antCls,`-menu-submenu-title, - `).concat(e.antCls,"-menu-submenu-selected > ").concat(e.antCls,"-menu-submenu-title"),{backgroundColor:i==null?void 0:i.colorBgMenuItemSelected,borderRadius:e.borderRadiusLG}),"".concat(e.componentCls,"-group"),(0,l.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{paddingInline:0}))),"&-item-title",(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({display:"flex",flexDirection:"row",alignItems:"center",gap:e.marginXS},"".concat(e.componentCls,"-item-text"),{maxWidth:"100%",textOverflow:"ellipsis",overflow:"hidden",wordBreak:"break-all",whiteSpace:"nowrap"}),"&-collapsed",(0,l.Z)((0,l.Z)({minWidth:40,height:40},"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px !important",height:"16px"}}),"".concat(e.componentCls,"-item-text-has-icon"),{display:"none !important"})),"&-collapsed-level-0",{flexDirection:"column",justifyContent:"center"}),"&".concat(e.componentCls,"-group-item-title"),{gap:e.marginXS,height:18,overflow:"hidden"}),"&".concat(e.componentCls,"-item-collapsed-show-title"),(0,l.Z)({lineHeight:"16px",gap:0},"&".concat(e.componentCls,"-item-title-collapsed"),(0,l.Z)((0,l.Z)({display:"flex"},"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px!important",height:"16px"}}),"".concat(e.componentCls,"-item-text"),{opacity:"1 !important",display:"inline !important",textAlign:"center",fontSize:12,height:12,lineHeight:"12px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",margin:0,padding:0,marginBlockStart:4})))),"&-group",(0,l.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{fontSize:12,color:e.colorTextLabel,".anticon":{marginInlineEnd:8}})),"&-group-divider",{color:e.colorTextSecondary,fontSize:12,lineHeight:20})),n.includes("horizontal")?{}:(0,l.Z)({},"".concat(e.antCls,"-menu-submenu").concat(e.antCls,"-menu-submenu-popup"),(0,l.Z)({},"".concat(e.componentCls,"-item-title"),{alignItems:"flex-start"}))),{},(0,l.Z)({},"".concat(e.antCls,"-menu-submenu-popup"),{backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"}))};function ea(r,e){return(0,Te.Xj)("ProLayoutBaseMenu"+e,function(n){var t=(0,s.Z)((0,s.Z)({},n),{},{componentCls:".".concat(r)});return[qr(t,e||"inline")]})}var ot=function(e){var n=(0,m.useState)(e.collapsed),t=(0,F.Z)(n,2),a=t[0],i=t[1],o=(0,m.useState)(!1),c=(0,F.Z)(o,2),d=c[0],v=c[1];return(0,m.useEffect)(function(){v(!1),setTimeout(function(){i(e.collapsed)},400)},[e.collapsed]),e.disable?e.children:(0,u.jsx)(Jr.Z,{title:e.title,open:a&&e.collapsed?d:!1,placement:"right",onOpenChange:v,children:e.children})},it=rt({scriptUrl:at.h.iconfontUrl}),lt=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"icon-",t=arguments.length>2?arguments[2]:void 0;if(typeof e=="string"&&e!==""){if(Ln(e)||Yr(e))return(0,u.jsx)("img",{width:16,src:e,alt:"icon",className:t},e);if(e.startsWith(n))return(0,u.jsx)(it,{type:e})}return e},ut=function(e){if(e&&typeof e=="string"){var n=e.substring(0,1).toUpperCase();return n}return null},na=(0,zr.Z)(function r(e){var n=this;(0,Fr.Z)(this,r),(0,l.Z)(this,"props",void 0),(0,l.Z)(this,"getNavMenuItems",function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0;return t.map(function(o){return n.getSubMenuOrItem(o,a,i)}).filter(function(o){return o}).flat(1)}),(0,l.Z)(this,"getSubMenuOrItem",function(t,a,i){var o=n.props,c=o.subMenuItemRender,d=o.baseClassName,v=o.prefixCls,f=o.collapsed,C=o.menu,x=o.iconPrefixes,M=o.layout,w=(C==null?void 0:C.type)==="group"&&M!=="top",B=n.props.token,I=n.getIntlName(t),$=(t==null?void 0:t.children)||(t==null?void 0:t.routes),_=w&&a===0?"group":void 0;if(Array.isArray($)&&$.length>0){var W,T,L,y,R,V=a===0||w&&a===1,A=lt(t.icon,x,"".concat(d,"-icon ").concat((W=n.props)===null||W===void 0?void 0:W.hashId)),P=f&&V?ut(I):null,ne=(0,u.jsxs)("div",{className:q()("".concat(d,"-item-title"),(T=n.props)===null||T===void 0?void 0:T.hashId,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(d,"-item-title-collapsed"),f),"".concat(d,"-item-title-collapsed-level-").concat(i),f),"".concat(d,"-group-item-title"),_==="group"),"".concat(d,"-item-collapsed-show-title"),(C==null?void 0:C.collapsedShowTitle)&&f)),children:[_==="group"&&f?null:V&&A?(0,u.jsx)("span",{className:"".concat(d,"-item-icon ").concat((L=n.props)===null||L===void 0?void 0:L.hashId).trim(),children:A}):P,(0,u.jsx)("span",{className:q()("".concat(d,"-item-text"),(y=n.props)===null||y===void 0?void 0:y.hashId,(0,l.Z)({},"".concat(d,"-item-text-has-icon"),_!=="group"&&V&&(A||P))),children:I})]}),de=c?c((0,s.Z)((0,s.Z)({},t),{},{isUrl:!1}),ne,n.props):ne;if(w&&a===0&&n.props.collapsed&&!C.collapsedShowGroupTitle)return n.getNavMenuItems($,a+1,a);var p=n.getNavMenuItems($,a+1,w&&a===0&&n.props.collapsed?a:a+1);return[{type:_,key:t.key||t.path,label:de,onClick:w?void 0:t.onTitleClick,children:p,className:q()((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(d,"-group"),_==="group"),"".concat(d,"-submenu"),_!=="group"),"".concat(d,"-submenu-has-icon"),_!=="group"&&V&&A))},w&&a===0?{type:"divider",prefixCls:v,className:"".concat(d,"-divider"),key:(t.key||t.path)+"-group-divider",style:{padding:0,borderBlockEnd:0,margin:n.props.collapsed?"4px":"6px 16px",marginBlockStart:n.props.collapsed?4:8,borderColor:B==null||(R=B.layout)===null||R===void 0||(R=R.sider)===null||R===void 0?void 0:R.colorMenuItemDivider}}:void 0].filter(Boolean)}return{className:"".concat(d,"-menu-item"),disabled:t.disabled,key:t.key||t.path,onClick:t.onTitleClick,label:n.getMenuItemPath(t,a,i)}}),(0,l.Z)(this,"getIntlName",function(t){var a=t.name,i=t.locale,o=n.props,c=o.menu,d=o.formatMessage;return i&&(c==null?void 0:c.locale)!==!1?d==null?void 0:d({id:i,defaultMessage:a}):a}),(0,l.Z)(this,"getMenuItemPath",function(t,a,i){var o,c,d,v,f=n.conversionPath(t.path||"/"),C=n.props,x=C.location,M=x===void 0?{pathname:"/"}:x,w=C.isMobile,B=C.onCollapse,I=C.menuItemRender,$=C.iconPrefixes,_=n.getIntlName(t),W=n.props,T=W.baseClassName,L=W.menu,y=W.collapsed,R=(L==null?void 0:L.type)==="group",V=a===0||R&&a===1,A=V?lt(t.icon,$,"".concat(T,"-icon ").concat((o=n.props)===null||o===void 0?void 0:o.hashId)):null,P=y&&V?ut(_):null,ne=(0,u.jsxs)("div",{className:q()("".concat(T,"-item-title"),(c=n.props)===null||c===void 0?void 0:c.hashId,(0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(T,"-item-title-collapsed"),y),"".concat(T,"-item-title-collapsed-level-").concat(i),y),"".concat(T,"-item-collapsed-show-title"),(L==null?void 0:L.collapsedShowTitle)&&y)),children:[(0,u.jsx)("span",{className:"".concat(T,"-item-icon ").concat((d=n.props)===null||d===void 0?void 0:d.hashId).trim(),style:{display:P===null&&!A?"none":""},children:A||(0,u.jsx)("span",{className:"anticon",children:P})}),(0,u.jsx)("span",{className:q()("".concat(T,"-item-text"),(v=n.props)===null||v===void 0?void 0:v.hashId,(0,l.Z)({},"".concat(T,"-item-text-has-icon"),V&&(A||P))),children:_})]},f),de=Ln(f);if(de){var p,ve,Z;ne=(0,u.jsxs)("span",{onClick:function(){var pe,le;(pe=window)===null||pe===void 0||(le=pe.open)===null||le===void 0||le.call(pe,f,"_blank")},className:q()("".concat(T,"-item-title"),(p=n.props)===null||p===void 0?void 0:p.hashId,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(T,"-item-title-collapsed"),y),"".concat(T,"-item-title-collapsed-level-").concat(i),y),"".concat(T,"-item-link"),!0),"".concat(T,"-item-collapsed-show-title"),(L==null?void 0:L.collapsedShowTitle)&&y)),children:[(0,u.jsx)("span",{className:"".concat(T,"-item-icon ").concat((ve=n.props)===null||ve===void 0?void 0:ve.hashId).trim(),style:{display:P===null&&!A?"none":""},children:A||(0,u.jsx)("span",{className:"anticon",children:P})}),(0,u.jsx)("span",{className:q()("".concat(T,"-item-text"),(Z=n.props)===null||Z===void 0?void 0:Z.hashId,(0,l.Z)({},"".concat(T,"-item-text-has-icon"),V&&(A||P))),children:_})]},f)}if(I){var Y=(0,s.Z)((0,s.Z)({},t),{},{isUrl:de,itemPath:f,isMobile:w,replace:f===M.pathname,onClick:function(){return B&&B(!0)},children:void 0});return a===0?(0,u.jsx)(ot,{collapsed:y,title:_,disable:t.disabledTooltip,children:I(Y,ne,n.props)}):I(Y,ne,n.props)}return a===0?(0,u.jsx)(ot,{collapsed:y,title:_,disable:t.disabledTooltip,children:ne}):ne}),(0,l.Z)(this,"conversionPath",function(t){return t&&t.indexOf("http")===0?t:"/".concat(t||"").replace(/\/+/g,"/")}),this.props=e}),ta=function(e,n){var t=n.layout,a=n.collapsed,i={};return e&&!a&&["side","mix"].includes(t||"mix")&&(i={openKeys:e}),i},ct=function(e){var n=e.mode,t=e.className,a=e.handleOpenChange,i=e.style,o=e.menuData,c=e.prefixCls,d=e.menu,v=e.matchMenuKeys,f=e.iconfontUrl,C=e.selectedKeys,x=e.onSelect,M=e.menuRenderType,w=e.openKeys,B=(0,m.useContext)(J.L_),I=B.dark,$=B.token,_="".concat(c,"-base-menu-").concat(n),W=(0,m.useRef)([]),T=(0,oe.Z)(d==null?void 0:d.defaultOpenAll),L=(0,F.Z)(T,2),y=L[0],R=L[1],V=(0,oe.Z)(function(){return d!=null&&d.defaultOpenAll?(0,ln.O7)(o)||[]:w===!1?!1:[]},{value:w===!1?void 0:w,onChange:a}),A=(0,F.Z)(V,2),P=A[0],ne=A[1],de=(0,oe.Z)([],{value:C,onChange:x?function(Ce){x&&Ce&&x(Ce)}:void 0}),p=(0,F.Z)(de,2),ve=p[0],Z=p[1];(0,m.useEffect)(function(){d!=null&&d.defaultOpenAll||w===!1||v&&(ne(v),Z(v))},[v.join("-")]),(0,m.useEffect)(function(){f&&(it=rt({scriptUrl:f}))},[f]),(0,m.useEffect)(function(){if(v.join("-")!==(ve||[]).join("-")&&Z(v),!y&&w!==!1&&v.join("-")!==(P||[]).join("-")){var Ce=v;(d==null?void 0:d.autoClose)===!1&&(Ce=Array.from(new Set([].concat((0,yn.Z)(v),(0,yn.Z)(P||[]))))),ne(Ce)}else d!=null&&d.ignoreFlatMenu&&y?ne((0,ln.O7)(o)):R(!1)},[v.join("-")]);var Y=(0,m.useMemo)(function(){return ta(P,e)},[P&&P.join(","),e.layout,e.collapsed]),ae=ea(_,n),pe=ae.wrapSSR,le=ae.hashId,Ze=(0,m.useMemo)(function(){return new na((0,s.Z)((0,s.Z)({},e),{},{token:$,menuRenderType:M,baseClassName:_,hashId:le}))},[e,$,M,_,le]);if(d!=null&&d.loading)return(0,u.jsx)("div",{style:n!=null&&n.includes("inline")?{padding:24}:{marginBlockStart:16},children:(0,u.jsx)(kr.Z,{active:!0,title:!1,paragraph:{rows:n!=null&&n.includes("inline")?6:1}})});e.openKeys===!1&&!e.handleOpenChange&&(W.current=v);var xe=e.postMenuData?e.postMenuData(o):o;return xe&&(xe==null?void 0:xe.length)<1?null:pe((0,m.createElement)(et.Z,(0,s.Z)((0,s.Z)({},Y),{},{_internalDisableMenuItemTitleTooltip:!0,key:"Menu",mode:n,inlineIndent:16,defaultOpenKeys:W.current,theme:I?"dark":"light",selectedKeys:ve,style:(0,s.Z)({backgroundColor:"transparent",border:"none"},i),className:q()(t,le,_,(0,l.Z)((0,l.Z)({},"".concat(_,"-horizontal"),n==="horizontal"),"".concat(_,"-collapsed"),e.collapsed)),items:Ze.getNavMenuItems(xe,0,0),onOpenChange:function(we){e.collapsed||ne(we)}},e.menuProps)))};function ra(r,e){var n=e.stylish,t=e.proLayoutCollapsedWidth;return(0,Te.Xj)("ProLayoutSiderMenuStylish",function(a){var i=(0,s.Z)((0,s.Z)({},a),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:t});return n?[(0,l.Z)({},"div".concat(a.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(i.componentCls),n==null?void 0:n(i)))]:[]})}var aa=["title","render"],oa=m.memo(function(r){return(0,u.jsx)(u.Fragment,{children:r.children})}),ia=Ve.Z.Sider,dt=Ve.Z._InternalSiderContext,la=dt===void 0?{Provider:oa}:dt,An=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"menuHeaderRender",t=e.logo,a=e.title,i=e.layout,o=e[n];if(o===!1)return null;var c=_n(t),d=(0,u.jsx)("h1",{children:a!=null?a:"Ant Design Pro"});return o?o(c,e.collapsed?null:d,e):e.isMobile?null:i==="mix"&&n==="menuHeaderRender"?!1:e.collapsed?(0,u.jsx)("a",{children:c},"title"):(0,u.jsxs)("a",{children:[c,d]},"title")},st=function(e){var n,t=e.collapsed,a=e.originCollapsed,i=e.fixSiderbar,o=e.menuFooterRender,c=e.onCollapse,d=e.theme,v=e.siderWidth,f=e.isMobile,C=e.onMenuHeaderClick,x=e.breakpoint,M=x===void 0?"lg":x,w=e.style,B=e.layout,I=e.menuExtraRender,$=I===void 0?!1:I,_=e.links,W=e.menuContentRender,T=e.collapsedButtonRender,L=e.prefixCls,y=e.avatarProps,R=e.rightContentRender,V=e.actionsRender,A=e.onOpenChange,P=e.stylish,ne=e.logoStyle,de=(0,m.useContext)(J.L_),p=de.hashId,ve=(0,m.useMemo)(function(){return!(f||B==="mix")},[f,B]),Z="".concat(L,"-sider"),Y=64,ae=ra("".concat(Z,".").concat(Z,"-stylish"),{stylish:P,proLayoutCollapsedWidth:Y}),pe=q()("".concat(Z),p,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(Z,"-fixed"),i),"".concat(Z,"-fixed-mix"),B==="mix"&&!f&&i),"".concat(Z,"-collapsed"),e.collapsed),"".concat(Z,"-layout-").concat(B),B&&!f),"".concat(Z,"-light"),d!=="dark"),"".concat(Z,"-mix"),B==="mix"&&!f),"".concat(Z,"-stylish"),!!P)),le=An(e),Ze=$&&$(e),xe=(0,m.useMemo)(function(){return W!==!1&&(0,m.createElement)(ct,(0,s.Z)((0,s.Z)({},e),{},{key:"base-menu",mode:t&&!f?"vertical":"inline",handleOpenChange:A,style:{width:"100%"},className:"".concat(Z,"-menu ").concat(p).trim()}))},[Z,p,W,A,e]),Ce=(_||[]).map(function(Me,_e){return{className:"".concat(Z,"-link"),label:Me,key:_e}}),we=(0,m.useMemo)(function(){return W?W(e,xe):xe},[W,xe,e]),Be=(0,m.useMemo)(function(){if(!y)return null;var Me=y.title,_e=y.render,Le=(0,fe.Z)(y,aa),Zn=(0,u.jsxs)("div",{className:"".concat(Z,"-actions-avatar"),children:[Le!=null&&Le.src||Le!=null&&Le.srcSet||Le.icon||Le.children?(0,u.jsx)(qn.C,(0,s.Z)({size:28},Le)):null,y.title&&!t&&(0,u.jsx)("span",{children:Me})]});return _e?_e(y,Zn,e):Zn},[y,Z,t]),je=(0,m.useMemo)(function(){return V?(0,u.jsx)(Ar.Z,{align:"center",size:4,direction:t?"vertical":"horizontal",className:q()(["".concat(Z,"-actions-list"),t&&"".concat(Z,"-actions-list-collapsed"),p]),children:[V==null?void 0:V(e)].flat(1).map(function(Me,_e){return(0,u.jsx)("div",{className:"".concat(Z,"-actions-list-item ").concat(p).trim(),children:Me},_e)})}):null},[V,Z,t]),Ae=(0,m.useMemo)(function(){return(0,u.jsx)(Nn,{onItemClick:e.itemClick,appList:e.appList,prefixCls:e.prefixCls})},[e.appList,e.prefixCls]),ze=(0,m.useMemo)(function(){if(T===!1)return null;var Me=(0,u.jsx)(Wr,{isMobile:f,collapsed:a,className:"".concat(Z,"-collapsed-button"),onClick:function(){c==null||c(!a)}});return T?T(t,Me):Me},[T,f,a,Z,t,c]),Fe=(0,m.useMemo)(function(){return!Be&&!je?null:(0,u.jsxs)("div",{className:q()("".concat(Z,"-actions"),p,t&&"".concat(Z,"-actions-collapsed")),children:[Be,je]})},[je,Be,Z,t,p]),Ke=(0,m.useMemo)(function(){var Me;return e!=null&&(Me=e.menu)!==null&&Me!==void 0&&Me.hideMenuWhenCollapsed&&t?"".concat(Z,"-hide-menu-collapsed"):null},[Z,t,e==null||(n=e.menu)===null||n===void 0?void 0:n.hideMenuWhenCollapsed]),un=o&&(o==null?void 0:o(e)),Sn=(0,u.jsxs)(u.Fragment,{children:[le&&(0,u.jsxs)("div",{className:q()([q()("".concat(Z,"-logo"),p,(0,l.Z)({},"".concat(Z,"-logo-collapsed"),t))]),onClick:ve?C:void 0,id:"logo",style:ne,children:[le,Ae]}),Ze&&(0,u.jsx)("div",{className:q()(["".concat(Z,"-extra"),!le&&"".concat(Z,"-extra-no-logo"),p]),children:Ze}),(0,u.jsx)("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:we}),(0,u.jsxs)(la.Provider,{value:{},children:[_?(0,u.jsx)("div",{className:"".concat(Z,"-links ").concat(p).trim(),children:(0,u.jsx)(et.Z,{inlineIndent:16,className:"".concat(Z,"-link-menu ").concat(p).trim(),selectedKeys:[],openKeys:[],theme:d,mode:"inline",items:Ce})}):null,ve&&(0,u.jsxs)(u.Fragment,{children:[Fe,!je&&R?(0,u.jsx)("div",{className:q()("".concat(Z,"-actions"),p,(0,l.Z)({},"".concat(Z,"-actions-collapsed"),t)),children:R==null?void 0:R(e)}):null]}),un&&(0,u.jsx)("div",{className:q()(["".concat(Z,"-footer"),p,(0,l.Z)({},"".concat(Z,"-footer-collapsed"),t)]),children:un})]})]});return ae.wrapSSR((0,u.jsxs)(u.Fragment,{children:[i&&!f&&!Ke&&(0,u.jsx)("div",{style:(0,s.Z)({width:t?Y:v,overflow:"hidden",flex:"0 0 ".concat(t?Y:v,"px"),maxWidth:t?Y:v,minWidth:t?Y:v,transition:"all 0.2s ease 0s"},w)}),(0,u.jsxs)(ia,{collapsible:!0,trigger:null,collapsed:t,breakpoint:M===!1?void 0:M,onCollapse:function(_e){f||c==null||c(_e)},collapsedWidth:Y,style:w,theme:d,width:v,className:q()(pe,p,Ke),children:[Ke?(0,u.jsx)("div",{className:"".concat(Z,"-hide-when-collapsed ").concat(p).trim(),style:{height:"100%",width:"100%",opacity:Ke?0:1},children:Sn}):Sn,ze]})]}))},ua=g(10178),ca=g(9220),da=function(e){var n,t,a,i,o;return(0,l.Z)({},e.componentCls,{"&-header-actions":{display:"flex",height:"100%",alignItems:"center","&-item":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingBlock:0,paddingInline:2,color:(n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorTextRightActionsItem,fontSize:"16px",cursor:"pointer",borderRadius:e.borderRadius,"> *":{paddingInline:6,paddingBlock:6,borderRadius:e.borderRadius,"&:hover":{backgroundColor:(t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorBgRightActionsItemHover}}},"&-avatar":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInlineStart:e.padding,paddingInlineEnd:e.padding,cursor:"pointer",color:(a=e.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorTextRightActionsItem,"> div":{height:"44px",color:(i=e.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorTextRightActionsItem,paddingInline:8,paddingBlock:8,cursor:"pointer",display:"flex",alignItems:"center",lineHeight:"44px",borderRadius:e.borderRadius,"&:hover":{backgroundColor:(o=e.layout)===null||o===void 0||(o=o.header)===null||o===void 0?void 0:o.colorBgRightActionsItemHover}}}}})};function sa(r){return(0,Te.Xj)("ProLayoutRightContent",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[da(n)]})}var va=["rightContentRender","avatarProps","actionsRender","headerContentRender"],fa=["title","render"],vt=function(e){var n=e.rightContentRender,t=e.avatarProps,a=e.actionsRender,i=e.headerContentRender,o=(0,fe.Z)(e,va),c=(0,m.useContext)(Ne.ZP.ConfigContext),d=c.getPrefixCls,v="".concat(d(),"-pro-global-header"),f=sa(v),C=f.wrapSSR,x=f.hashId,M=(0,m.useState)("auto"),w=(0,F.Z)(M,2),B=w[0],I=w[1],$=(0,m.useMemo)(function(){if(!t)return null;var L=t.title,y=t.render,R=(0,fe.Z)(t,fa),V=[R!=null&&R.src||R!=null&&R.srcSet||R.icon||R.children?(0,m.createElement)(qn.C,(0,s.Z)((0,s.Z)({},R),{},{size:28,key:"avatar"})):null,L?(0,u.jsx)("span",{style:{marginInlineStart:8},children:L},"name"):void 0];return y?y(t,(0,u.jsx)("div",{children:V}),o):(0,u.jsx)("div",{children:V})},[t]),_=a||$?function(L){var y=a&&(a==null?void 0:a(L));return!y&&!$?null:Array.isArray(y)?C((0,u.jsxs)("div",{className:"".concat(v,"-header-actions ").concat(x).trim(),children:[y.filter(Boolean).map(function(R,V){var A=!1;if(m.isValidElement(R)){var P;A=!!(R!=null&&(P=R.props)!==null&&P!==void 0&&P["aria-hidden"])}return(0,u.jsx)("div",{className:q()("".concat(v,"-header-actions-item ").concat(x),(0,l.Z)({},"".concat(v,"-header-actions-hover"),!A)),children:R},V)}),$&&(0,u.jsx)("span",{className:"".concat(v,"-header-actions-avatar ").concat(x).trim(),children:$})]})):C((0,u.jsxs)("div",{className:"".concat(v,"-header-actions ").concat(x).trim(),children:[y,$&&(0,u.jsx)("span",{className:"".concat(v,"-header-actions-avatar ").concat(x).trim(),children:$})]}))}:void 0,W=(0,ua.D)(function(){var L=(0,te.Z)((0,se.Z)().mark(function y(R){return(0,se.Z)().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:I(R);case 1:case"end":return A.stop()}},y)}));return function(y){return L.apply(this,arguments)}}(),160),T=_||n;return(0,u.jsx)("div",{className:"".concat(v,"-right-content ").concat(x).trim(),style:{minWidth:B,height:"100%"},children:(0,u.jsx)("div",{style:{height:"100%"},children:(0,u.jsx)(ca.Z,{onResize:function(y){var R=y.width;W.run(R)},children:T?(0,u.jsx)("div",{style:{display:"flex",alignItems:"center",height:"100%",justifyContent:"flex-end"},children:T((0,s.Z)((0,s.Z)({},o),{},{rightContentSize:B}))}):null})})})},ma=function(e){var n,t;return(0,l.Z)({},e.componentCls,{position:"relative",width:"100%",height:"100%",backgroundColor:"transparent",".anticon":{color:"inherit"},"&-main":{display:"flex",height:"100%",paddingInlineStart:"16px","&-left":(0,l.Z)({display:"flex",alignItems:"center"},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16,marginInlineStart:-8})},"&-wide":{maxWidth:1152,margin:"0 auto"},"&-logo":{position:"relative",display:"flex",height:"100%",alignItems:"center",overflow:"hidden","> *:first-child":{display:"flex",alignItems:"center",minHeight:"22px",fontSize:"22px"},"> *:first-child > img":{display:"inline-block",height:"32px",verticalAlign:"middle"},"> *:first-child > h1":{display:"inline-block",marginBlock:0,marginInline:0,lineHeight:"24px",marginInlineStart:6,fontWeight:"600",fontSize:"16px",color:(n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorHeaderTitle,verticalAlign:"top"}},"&-menu":{minWidth:0,display:"flex",alignItems:"center",paddingInline:6,paddingBlock:6,lineHeight:"".concat(Math.max((((t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader)||56)-12,40),"px")}})};function ha(r){return(0,Te.Xj)("ProLayoutTopNavHeader",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[ma(n)]})}var ft=function(e){var n,t,a,i,o,c,d,v=(0,m.useRef)(null),f=e.onMenuHeaderClick,C=e.contentWidth,x=e.rightContentRender,M=e.className,w=e.style,B=e.headerContentRender,I=e.layout,$=e.actionsRender,_=(0,m.useContext)(Ne.ZP.ConfigContext),W=_.getPrefixCls,T=(0,m.useContext)(J.L_),L=T.dark,y="".concat(e.prefixCls||W("pro"),"-top-nav-header"),R=ha(y),V=R.wrapSSR,A=R.hashId,P=void 0;e.menuHeaderRender!==void 0?P="menuHeaderRender":(I==="mix"||I==="top")&&(P="headerTitleRender");var ne=An((0,s.Z)((0,s.Z)({},e),{},{collapsed:!1}),P),de=(0,m.useContext)(J.L_),p=de.token,ve=(0,m.useMemo)(function(){var Z,Y,ae,pe,le,Ze,xe,Ce,we,Be,je,Ae,ze,Fe=(0,u.jsx)(Ne.ZP,{theme:{hashed:(0,J.nu)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"},Menu:(0,s.Z)({},j({colorItemBg:((Z=p.layout)===null||Z===void 0||(Z=Z.header)===null||Z===void 0?void 0:Z.colorBgHeader)||"transparent",colorSubItemBg:((Y=p.layout)===null||Y===void 0||(Y=Y.header)===null||Y===void 0?void 0:Y.colorBgHeader)||"transparent",radiusItem:p.borderRadius,colorItemBgSelected:((ae=p.layout)===null||ae===void 0||(ae=ae.header)===null||ae===void 0?void 0:ae.colorBgMenuItemSelected)||(p==null?void 0:p.colorBgTextHover),itemHoverBg:((pe=p.layout)===null||pe===void 0||(pe=pe.header)===null||pe===void 0?void 0:pe.colorBgMenuItemHover)||(p==null?void 0:p.colorBgTextHover),colorItemBgSelectedHorizontal:((le=p.layout)===null||le===void 0||(le=le.header)===null||le===void 0?void 0:le.colorBgMenuItemSelected)||(p==null?void 0:p.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:((Ze=p.layout)===null||Ze===void 0||(Ze=Ze.header)===null||Ze===void 0?void 0:Ze.colorTextMenu)||(p==null?void 0:p.colorTextSecondary),colorItemTextHoverHorizontal:((xe=p.layout)===null||xe===void 0||(xe=xe.header)===null||xe===void 0?void 0:xe.colorTextMenuActive)||(p==null?void 0:p.colorText),colorItemTextSelectedHorizontal:((Ce=p.layout)===null||Ce===void 0||(Ce=Ce.header)===null||Ce===void 0?void 0:Ce.colorTextMenuSelected)||(p==null?void 0:p.colorTextBase),horizontalItemBorderRadius:4,colorItemTextHover:((we=p.layout)===null||we===void 0||(we=we.header)===null||we===void 0?void 0:we.colorTextMenuActive)||"rgba(0, 0, 0, 0.85)",horizontalItemHoverBg:((Be=p.layout)===null||Be===void 0||(Be=Be.header)===null||Be===void 0?void 0:Be.colorBgMenuItemHover)||"rgba(0, 0, 0, 0.04)",colorItemTextSelected:((je=p.layout)===null||je===void 0||(je=je.header)===null||je===void 0?void 0:je.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:p==null?void 0:p.colorBgElevated,subMenuItemBg:p==null?void 0:p.colorBgElevated,darkSubMenuItemBg:"transparent",darkPopupBg:p==null?void 0:p.colorBgElevated}))},token:{colorBgElevated:((Ae=p.layout)===null||Ae===void 0||(Ae=Ae.header)===null||Ae===void 0?void 0:Ae.colorBgHeader)||"transparent"}},children:(0,u.jsx)(ct,(0,s.Z)((0,s.Z)((0,s.Z)({theme:L?"dark":"light"},e),{},{className:"".concat(y,"-base-menu ").concat(A).trim()},e.menuProps),{},{style:(0,s.Z)({width:"100%"},(ze=e.menuProps)===null||ze===void 0?void 0:ze.style),collapsed:!1,menuRenderType:"header",mode:"horizontal"}))});return B?B(e,Fe):Fe},[(n=p.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorBgHeader,(t=p.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorBgMenuItemSelected,(a=p.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorBgMenuItemHover,(i=p.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorTextMenu,(o=p.layout)===null||o===void 0||(o=o.header)===null||o===void 0?void 0:o.colorTextMenuActive,(c=p.layout)===null||c===void 0||(c=c.header)===null||c===void 0?void 0:c.colorTextMenuSelected,(d=p.layout)===null||d===void 0||(d=d.header)===null||d===void 0?void 0:d.colorBgMenuElevated,p.borderRadius,p==null?void 0:p.colorBgTextHover,p==null?void 0:p.colorTextSecondary,p==null?void 0:p.colorText,p==null?void 0:p.colorTextBase,p.colorBgElevated,L,e,y,A,B]);return V((0,u.jsx)("div",{className:q()(y,A,M,(0,l.Z)({},"".concat(y,"-light"),!0)),style:w,children:(0,u.jsxs)("div",{ref:v,className:q()("".concat(y,"-main"),A,(0,l.Z)({},"".concat(y,"-wide"),C==="Fixed"&&I==="top")),children:[ne&&(0,u.jsxs)("div",{className:q()("".concat(y,"-main-left ").concat(A)),onClick:f,children:[(0,u.jsx)(Nn,(0,s.Z)({},e)),(0,u.jsx)("div",{className:"".concat(y,"-logo ").concat(A).trim(),id:"logo",children:ne},"logo")]}),(0,u.jsx)("div",{style:{flex:1},className:"".concat(y,"-menu ").concat(A).trim(),children:ve}),(x||$||e.avatarProps)&&(0,u.jsx)(vt,(0,s.Z)((0,s.Z)({rightContentRender:x},e),{},{prefixCls:y}))]})}))},ga=function(e){var n,t,a;return(0,l.Z)({},e.componentCls,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({position:"relative",background:"transparent",display:"flex",alignItems:"center",marginBlock:0,marginInline:16,height:((n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56,boxSizing:"border-box","> a":{height:"100%"}},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16}),"&-collapsed-button",{minHeight:"22px",color:(t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorHeaderTitle,fontSize:"18px",marginInlineEnd:"16px"}),"&-logo",{position:"relative",marginInlineEnd:"16px",a:{display:"flex",alignItems:"center",height:"100%",minHeight:"22px",fontSize:"20px"},img:{height:"28px"},h1:{height:"32px",marginBlock:0,marginInline:0,marginInlineStart:8,fontWeight:"600",color:((a=e.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorHeaderTitle)||e.colorTextHeading,fontSize:"18px",lineHeight:"32px"},"&-mix":{display:"flex",alignItems:"center"}}),"&-logo-mobile",{minWidth:"24px",marginInlineEnd:0}))};function pa(r){return(0,Te.Xj)("ProLayoutGlobalHeader",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[ga(n)]})}var ya=function(e,n){return e===!1?null:e?e(n,null):n},xa=function(e){var n=e.isMobile,t=e.logo,a=e.collapsed,i=e.onCollapse,o=e.rightContentRender,c=e.menuHeaderRender,d=e.onMenuHeaderClick,v=e.className,f=e.style,C=e.layout,x=e.children,M=e.splitMenus,w=e.menuData,B=e.prefixCls,I=(0,m.useContext)(Ne.ZP.ConfigContext),$=I.getPrefixCls,_=I.direction,W="".concat(B||$("pro"),"-global-header"),T=pa(W),L=T.wrapSSR,y=T.hashId,R=q()(v,W,y);if(C==="mix"&&!n&&M){var V=(w||[]).map(function(de){return(0,s.Z)((0,s.Z)({},de),{},{children:void 0,routes:void 0})}),A=(0,ln.QX)(V);return(0,u.jsx)(ft,(0,s.Z)((0,s.Z)({mode:"horizontal"},e),{},{splitMenus:!1,menuData:A}))}var P=q()("".concat(W,"-logo"),y,(0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(W,"-logo-rtl"),_==="rtl"),"".concat(W,"-logo-mix"),C==="mix"),"".concat(W,"-logo-mobile"),n)),ne=(0,u.jsx)("span",{className:P,children:(0,u.jsx)("a",{children:_n(t)})},"logo");return L((0,u.jsxs)("div",{className:R,style:(0,s.Z)({},f),children:[n&&(0,u.jsx)("span",{className:"".concat(W,"-collapsed-button ").concat(y).trim(),onClick:function(){i==null||i(!a)},children:(0,u.jsx)(Rr,{})}),n&&ya(c,ne),C==="mix"&&!n&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(Nn,(0,s.Z)({},e)),(0,u.jsx)("div",{className:P,onClick:d,children:An((0,s.Z)((0,s.Z)({},e),{},{collapsed:!1}),"headerTitleRender")})]}),(0,u.jsx)("div",{style:{flex:1},children:x}),(o||e.actionsRender||e.avatarProps)&&(0,u.jsx)(vt,(0,s.Z)({rightContentRender:o},e))]}))},Ca=function(e){var n,t,a,i;return(0,l.Z)({},"".concat(e.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(e.antCls,"-layout-header").concat(e.componentCls),{height:((n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56,lineHeight:"".concat(((t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader)||56,"px"),zIndex:19,width:"100%",paddingBlock:0,paddingInline:0,borderBlockEnd:"1px solid ".concat(e.colorSplit),backgroundColor:((a=e.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorBgHeader)||"rgba(255, 255, 255, 0.4)",WebkitBackdropFilter:"blur(8px)",backdropFilter:"blur(8px)",transition:"background-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)","&-fixed-header":{position:"fixed",insetBlockStart:0,width:"100%",zIndex:100,insetInlineEnd:0},"&-fixed-header-scroll":{backgroundColor:((i=e.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorBgScrollHeader)||"rgba(255, 255, 255, 0.8)"},"&-header-actions":{display:"flex",alignItems:"center",fontSize:"16",cursor:"pointer","& &-item":{paddingBlock:0,paddingInline:8,"&:hover":{color:e.colorText}}},"&-header-realDark":{boxShadow:"0 2px 8px 0 rgba(0, 0, 0, 65%)"},"&-header-actions-header-action":{transition:"width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"}}))};function ba(r){return(0,Te.Xj)("ProLayoutHeader",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[Ca(n)]})}function Sa(r,e){var n=e.stylish,t=e.proLayoutCollapsedWidth;return(0,Te.Xj)("ProLayoutHeaderStylish",function(a){var i=(0,s.Z)((0,s.Z)({},a),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:t});return n?[(0,l.Z)({},"div".concat(a.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(i.componentCls),n==null?void 0:n(i)))]:[]})}var mt=Ve.Z.Header,Za=function(e){var n,t,a,i=e.isMobile,o=e.fixedHeader,c=e.className,d=e.style,v=e.collapsed,f=e.prefixCls,C=e.onCollapse,x=e.layout,M=e.headerRender,w=e.headerContentRender,B=(0,m.useContext)(J.L_),I=B.token,$=(0,m.useContext)(Ne.ZP.ConfigContext),_=(0,m.useState)(!1),W=(0,F.Z)(_,2),T=W[0],L=W[1],y=o||x==="mix",R=(0,m.useCallback)(function(){var Z=x==="top",Y=(0,ln.QX)(e.menuData||[]),ae=(0,u.jsx)(xa,(0,s.Z)((0,s.Z)({onCollapse:C},e),{},{menuData:Y,children:w&&w(e,null)}));return Z&&!i&&(ae=(0,u.jsx)(ft,(0,s.Z)((0,s.Z)({mode:"horizontal",onCollapse:C},e),{},{menuData:Y}))),M&&typeof M=="function"?M(e,ae):ae},[w,M,i,x,C,e]);(0,m.useEffect)(function(){var Z,Y=($==null||(Z=$.getTargetContainer)===null||Z===void 0?void 0:Z.call($))||document.body,ae=function(){var le,Ze=Y.scrollTop;return Ze>(((le=I.layout)===null||le===void 0||(le=le.header)===null||le===void 0?void 0:le.heightLayoutHeader)||56)&&!T?(L(!0),!0):(T&&L(!1),!1)};if(y&&typeof window!="undefined")return Y.addEventListener("scroll",ae,{passive:!0}),function(){Y.removeEventListener("scroll",ae)}},[(n=I.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader,y,T]);var V=x==="top",A="".concat(f,"-layout-header"),P=ba(A),ne=P.wrapSSR,de=P.hashId,p=Sa("".concat(A,".").concat(A,"-stylish"),{proLayoutCollapsedWidth:64,stylish:e.stylish}),ve=q()(c,de,A,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(A,"-fixed-header"),y),"".concat(A,"-fixed-header-scroll"),T),"".concat(A,"-mix"),x==="mix"),"".concat(A,"-fixed-header-action"),!v),"".concat(A,"-top-menu"),V),"".concat(A,"-header"),!0),"".concat(A,"-stylish"),!!e.stylish));return x==="side"&&!i?null:p.wrapSSR(ne((0,u.jsx)(u.Fragment,{children:(0,u.jsxs)(Ne.ZP,{theme:{hashed:(0,J.nu)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"}}},children:[y&&(0,u.jsx)(mt,{style:(0,s.Z)({height:((t=I.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader)||56,lineHeight:"".concat(((a=I.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.heightLayoutHeader)||56,"px"),backgroundColor:"transparent",zIndex:19},d)}),(0,u.jsx)(mt,{className:ve,style:d,children:R()})]})})))},Ma=g(83832),Ia=g(85265),Ra=g(54548),ht=new Ra.E4("antBadgeLoadingCircle",{"0%":{display:"none",opacity:0,overflow:"hidden"},"80%":{overflow:"hidden"},"100%":{display:"unset",opacity:1}}),Ta=function(e){var n,t,a,i,o,c,d,v,f,C,x,M;return(0,l.Z)({},"".concat(e.proComponentsCls,"-layout"),(0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-layout-sider").concat(e.componentCls),{background:((n=e.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.colorMenuBackground)||"transparent"}),e.componentCls,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({position:"relative",boxSizing:"border-box","&-menu":{position:"relative",zIndex:10,minHeight:"100%"}},"& ".concat(e.antCls,"-layout-sider-children"),{position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:(t=e.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.paddingInlineLayoutMenu,paddingBlock:(a=e.layout)===null||a===void 0||(a=a.sider)===null||a===void 0?void 0:a.paddingBlockLayoutMenu,borderInlineEnd:"1px solid ".concat(e.colorSplit),marginInlineEnd:-1}),"".concat(e.antCls,"-menu"),(0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{fontSize:e.fontSizeSM,paddingBottom:4}),"".concat(e.antCls,"-menu-item:hover"),{color:(i=e.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.colorTextMenuItemHover})),"&-logo",{position:"relative",display:"flex",alignItems:"center",justifyContent:"space-between",paddingInline:12,paddingBlock:16,color:(o=e.layout)===null||o===void 0||(o=o.sider)===null||o===void 0?void 0:o.colorTextMenu,cursor:"pointer",borderBlockEnd:"1px solid ".concat((c=e.layout)===null||c===void 0||(c=c.sider)===null||c===void 0?void 0:c.colorMenuItemDivider),"> a":{display:"flex",alignItems:"center",justifyContent:"center",minHeight:22,fontSize:22,"> img":{display:"inline-block",height:22,verticalAlign:"middle"},"> h1":{display:"inline-block",height:22,marginBlock:0,marginInlineEnd:0,marginInlineStart:6,color:(d=e.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.colorTextMenuTitle,animationName:ht,animationDuration:".4s",animationTimingFunction:"ease",fontWeight:600,fontSize:16,lineHeight:"22px",verticalAlign:"middle"}},"&-collapsed":(0,l.Z)({flexDirection:"column-reverse",margin:0,padding:12},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginBlockEnd:8,fontSize:16,transition:"font-size 0.2s ease-in-out,color 0.2s ease-in-out"})}),"&-actions",{display:"flex",alignItems:"center",justifyContent:"space-between",marginBlock:4,marginInline:0,color:(v=e.layout)===null||v===void 0||(v=v.sider)===null||v===void 0?void 0:v.colorTextMenu,"&-collapsed":{flexDirection:"column-reverse",paddingBlock:0,paddingInline:8,fontSize:16,transition:"font-size 0.3s ease-in-out"},"&-list":{color:(f=e.layout)===null||f===void 0||(f=f.sider)===null||f===void 0?void 0:f.colorTextMenuSecondary,"&-collapsed":{marginBlockEnd:8,animationName:"none"},"&-item":{paddingInline:6,paddingBlock:6,lineHeight:"16px",fontSize:16,cursor:"pointer",borderRadius:e.borderRadius,"&:hover":{background:e.colorBgTextHover}}},"&-avatar":{fontSize:14,paddingInline:8,paddingBlock:8,display:"flex",alignItems:"center",gap:e.marginXS,borderRadius:e.borderRadius,"& *":{cursor:"pointer"},"&:hover":{background:e.colorBgTextHover}}}),"&-hide-menu-collapsed",{insetInlineStart:"-".concat(e.proLayoutCollapsedWidth-12,"px"),position:"absolute"}),"&-extra",{marginBlockEnd:16,marginBlock:0,marginInline:16,"&-no-logo":{marginBlockStart:16}}),"&-links",{width:"100%",ul:{height:"auto"}}),"&-link-menu",{border:"none",boxShadow:"none",background:"transparent"}),"&-footer",{color:(C=e.layout)===null||C===void 0||(C=C.sider)===null||C===void 0?void 0:C.colorTextMenuSecondary,paddingBlockEnd:16,fontSize:e.fontSize,animationName:ht,animationDuration:".4s",animationTimingFunction:"ease"})),"".concat(e.componentCls).concat(e.componentCls,"-fixed"),{position:"fixed",insetBlockStart:0,insetInlineStart:0,zIndex:"100",height:"100%","&-mix":{height:"calc(100% - ".concat(((x=e.layout)===null||x===void 0||(x=x.header)===null||x===void 0?void 0:x.heightLayoutHeader)||56,"px)"),insetBlockStart:"".concat(((M=e.layout)===null||M===void 0||(M=M.header)===null||M===void 0?void 0:M.heightLayoutHeader)||56,"px")}}))};function Ba(r,e){var n=e.proLayoutCollapsedWidth;return(0,Te.Xj)("ProLayoutSiderMenu",function(t){var a=(0,s.Z)((0,s.Z)({},t),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:n});return[Ta(a)]})}var gt=function(e){var n,t=e.isMobile,a=e.siderWidth,i=e.collapsed,o=e.onCollapse,c=e.style,d=e.className,v=e.hide,f=e.prefixCls,C=e.getContainer,x=(0,m.useContext)(J.L_),M=x.token;(0,m.useEffect)(function(){t===!0&&(o==null||o(!0))},[t]);var w=(0,Jn.Z)(e,["className","style"]),B=m.useContext(Ne.ZP.ConfigContext),I=B.direction,$=Ba("".concat(f,"-sider"),{proLayoutCollapsedWidth:64}),_=$.wrapSSR,W=$.hashId,T=q()("".concat(f,"-sider"),d,W);if(v)return null;var L=(0,b.X)(!i,function(){return o==null?void 0:o(!0)});return _(t?(0,u.jsx)(Ia.Z,(0,s.Z)((0,s.Z)({placement:I==="rtl"?"right":"left",className:q()("".concat(f,"-drawer-sider"),d)},L),{},{style:(0,s.Z)({padding:0,height:"100vh"},c),onClose:function(){o==null||o(!0)},maskClosable:!0,closable:!1,getContainer:C||!1,width:a,styles:{body:{height:"100vh",padding:0,display:"flex",flexDirection:"row",backgroundColor:(n=M.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.colorMenuBackground}},children:(0,u.jsx)(st,(0,s.Z)((0,s.Z)({},w),{},{isMobile:!0,className:T,collapsed:t?!1:i,splitMenus:!1,originCollapsed:i}))})):(0,u.jsx)(st,(0,s.Z)((0,s.Z)({className:T,originCollapsed:i},w),{},{style:c})))},pt=g(76509),Pa=g(14779),Hn=g.n(Pa),ja=function(e,n,t){if(t){var a=(0,yn.Z)(t.keys()).find(function(o){return Hn()(o).test(e)});if(a)return t.get(a)}if(n){var i=Object.keys(n).find(function(o){return Hn()(o).test(e)});if(i)return n[i]}return{path:""}},Dn=function(e,n){var t=e.pathname,a=t===void 0?"/":t,i=e.breadcrumb,o=e.breadcrumbMap,c=e.formatMessage,d=e.title,v=e.menu,f=v===void 0?{locale:!1}:v,C=n?"":d||"",x=ja(a,i,o);if(!x)return{title:C,id:"",pageName:C};var M=x.name;return f.locale!==!1&&x.locale&&c&&(M=c({id:x.locale||"",defaultMessage:x.name})),M?n||!d?{title:M,id:x.locale||"",pageName:M}:{title:"".concat(M," - ").concat(d),id:x.locale||"",pageName:M}:{title:C,id:x.locale||"",pageName:C}},So=function(e,n){return Dn(e,n).title},Ea=g(52676),bn=g(67159),Qe=g(34155),wa=function(){var e;return typeof Qe=="undefined"?bn.Z:((e=Qe)===null||Qe===void 0||(Qe={NODE_ENV:"production",PUBLIC_PATH:"/"})===null||Qe===void 0?void 0:Qe.ANTD_VERSION)||bn.Z},La=function(e){var n,t,a,i,o,c,d,v,f,C,x,M,w,B,I,$,_,W,T,L,y,R,V,A,P,ne,de,p,ve,Z,Y,ae;return(n=wa())!==null&&n!==void 0&&n.startsWith("5")?{}:(0,l.Z)((0,l.Z)((0,l.Z)({},e.componentCls,(0,l.Z)((0,l.Z)({width:"100%",height:"100%"},"".concat(e.proComponentsCls,"-base-menu"),(y={color:(t=e.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.colorTextMenu},(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)(y,"".concat(e.antCls,"-menu-sub"),{backgroundColor:"transparent!important",color:(a=e.layout)===null||a===void 0||(a=a.sider)===null||a===void 0?void 0:a.colorTextMenu}),"& ".concat(e.antCls,"-layout"),{backgroundColor:"transparent",width:"100%"}),"".concat(e.antCls,"-menu-submenu-expand-icon, ").concat(e.antCls,"-menu-submenu-arrow"),{color:"inherit"}),"&".concat(e.antCls,"-menu"),(0,l.Z)((0,l.Z)({color:(i=e.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.colorTextMenu},"".concat(e.antCls,"-menu-item"),{"*":{transition:"none !important"}}),"".concat(e.antCls,"-menu-item a"),{color:"inherit"})),"&".concat(e.antCls,"-menu-inline"),(0,l.Z)({},"".concat(e.antCls,"-menu-selected::after,").concat(e.antCls,"-menu-item-selected::after"),{display:"none"})),"".concat(e.antCls,"-menu-sub ").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),"".concat(e.antCls,`-menu-item:active, + `).concat(e.antCls,"-menu-submenu-selected > ").concat(e.antCls,"-menu-submenu-title"),{backgroundColor:i==null?void 0:i.colorBgMenuItemSelected,borderRadius:e.borderRadiusLG}),"".concat(e.componentCls,"-group"),(0,l.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{paddingInline:0}))),"&-item-title",(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({display:"flex",flexDirection:"row",alignItems:"center",gap:e.marginXS},"".concat(e.componentCls,"-item-text"),{maxWidth:"100%",textOverflow:"ellipsis",overflow:"hidden",wordBreak:"break-all",whiteSpace:"nowrap"}),"&-collapsed",(0,l.Z)((0,l.Z)({minWidth:40,height:40},"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px !important",height:"16px"}}),"".concat(e.componentCls,"-item-text-has-icon"),{display:"none !important"})),"&-collapsed-level-0",{flexDirection:"column",justifyContent:"center"}),"&".concat(e.componentCls,"-group-item-title"),{gap:e.marginXS,height:18,overflow:"hidden"}),"&".concat(e.componentCls,"-item-collapsed-show-title"),(0,l.Z)({lineHeight:"16px",gap:0},"&".concat(e.componentCls,"-item-title-collapsed"),(0,l.Z)((0,l.Z)({display:"flex"},"".concat(e.componentCls,"-item-icon"),{height:"16px",width:"16px",lineHeight:"16px !important",".anticon":{lineHeight:"16px!important",height:"16px"}}),"".concat(e.componentCls,"-item-text"),{opacity:"1 !important",display:"inline !important",textAlign:"center",fontSize:12,height:12,lineHeight:"12px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",margin:0,padding:0,marginBlockStart:4})))),"&-group",(0,l.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{fontSize:12,color:e.colorTextLabel,".anticon":{marginInlineEnd:8}})),"&-group-divider",{color:e.colorTextSecondary,fontSize:12,lineHeight:20})),n.includes("horizontal")?{}:(0,l.Z)({},"".concat(e.antCls,"-menu-submenu").concat(e.antCls,"-menu-submenu-popup"),(0,l.Z)({},"".concat(e.componentCls,"-item-title"),{alignItems:"flex-start"}))),{},(0,l.Z)({},"".concat(e.antCls,"-menu-submenu-popup"),{backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"}))};function ea(r,e){return(0,Te.Xj)("ProLayoutBaseMenu"+e,function(n){var t=(0,s.Z)((0,s.Z)({},n),{},{componentCls:".".concat(r)});return[qr(t,e||"inline")]})}var ot=function(e){var n=(0,m.useState)(e.collapsed),t=(0,F.Z)(n,2),a=t[0],i=t[1],o=(0,m.useState)(!1),c=(0,F.Z)(o,2),d=c[0],v=c[1];return(0,m.useEffect)(function(){v(!1),setTimeout(function(){i(e.collapsed)},400)},[e.collapsed]),e.disable?e.children:(0,u.jsx)(Jr.Z,{title:e.title,open:a&&e.collapsed?d:!1,placement:"right",onOpenChange:v,children:e.children})},it=rt({scriptUrl:at.h.iconfontUrl}),lt=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"icon-",t=arguments.length>2?arguments[2]:void 0;if(typeof e=="string"&&e!==""){if(Ln(e)||Yr(e))return(0,u.jsx)("img",{width:16,src:e,alt:"icon",className:t},e);if(e.startsWith(n))return(0,u.jsx)(it,{type:e})}return e},ut=function(e){if(e&&typeof e=="string"){var n=e.substring(0,1).toUpperCase();return n}return null},na=(0,zr.Z)(function r(e){var n=this;(0,Fr.Z)(this,r),(0,l.Z)(this,"props",void 0),(0,l.Z)(this,"getNavMenuItems",function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0;return t.map(function(o){return n.getSubMenuOrItem(o,a,i)}).filter(function(o){return o}).flat(1)}),(0,l.Z)(this,"getSubMenuOrItem",function(t,a,i){var o=n.props,c=o.subMenuItemRender,d=o.baseClassName,v=o.prefixCls,f=o.collapsed,C=o.menu,x=o.iconPrefixes,M=o.layout,w=(C==null?void 0:C.type)==="group"&&M!=="top",B=n.props.token,I=n.getIntlName(t),$=(t==null?void 0:t.children)||(t==null?void 0:t.routes),_=w&&a===0?"group":void 0;if(Array.isArray($)&&$.length>0){var W,T,L,y,R,V=a===0||w&&a===1,A=lt(t.icon,x,"".concat(d,"-icon ").concat((W=n.props)===null||W===void 0?void 0:W.hashId)),P=f&&V?ut(I):null,ne=(0,u.jsxs)("div",{className:q()("".concat(d,"-item-title"),(T=n.props)===null||T===void 0?void 0:T.hashId,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(d,"-item-title-collapsed"),f),"".concat(d,"-item-title-collapsed-level-").concat(i),f),"".concat(d,"-group-item-title"),_==="group"),"".concat(d,"-item-collapsed-show-title"),(C==null?void 0:C.collapsedShowTitle)&&f)),children:[_==="group"&&f?null:V&&A?(0,u.jsx)("span",{className:"".concat(d,"-item-icon ").concat((L=n.props)===null||L===void 0?void 0:L.hashId).trim(),children:A}):P,(0,u.jsx)("span",{className:q()("".concat(d,"-item-text"),(y=n.props)===null||y===void 0?void 0:y.hashId,(0,l.Z)({},"".concat(d,"-item-text-has-icon"),_!=="group"&&V&&(A||P))),children:I})]}),de=c?c((0,s.Z)((0,s.Z)({},t),{},{isUrl:!1}),ne,n.props):ne;if(w&&a===0&&n.props.collapsed&&!C.collapsedShowGroupTitle)return n.getNavMenuItems($,a+1,a);var p=n.getNavMenuItems($,a+1,w&&a===0&&n.props.collapsed?a:a+1);return[{type:_,key:t.key||t.path,label:de,onClick:w?void 0:t.onTitleClick,children:p,className:q()((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(d,"-group"),_==="group"),"".concat(d,"-submenu"),_!=="group"),"".concat(d,"-submenu-has-icon"),_!=="group"&&V&&A))},w&&a===0?{type:"divider",prefixCls:v,className:"".concat(d,"-divider"),key:(t.key||t.path)+"-group-divider",style:{padding:0,borderBlockEnd:0,margin:n.props.collapsed?"4px":"6px 16px",marginBlockStart:n.props.collapsed?4:8,borderColor:B==null||(R=B.layout)===null||R===void 0||(R=R.sider)===null||R===void 0?void 0:R.colorMenuItemDivider}}:void 0].filter(Boolean)}return{className:"".concat(d,"-menu-item"),disabled:t.disabled,key:t.key||t.path,onClick:t.onTitleClick,label:n.getMenuItemPath(t,a,i)}}),(0,l.Z)(this,"getIntlName",function(t){var a=t.name,i=t.locale,o=n.props,c=o.menu,d=o.formatMessage;return i&&(c==null?void 0:c.locale)!==!1?d==null?void 0:d({id:i,defaultMessage:a}):a}),(0,l.Z)(this,"getMenuItemPath",function(t,a,i){var o,c,d,v,f=n.conversionPath(t.path||"/"),C=n.props,x=C.location,M=x===void 0?{pathname:"/"}:x,w=C.isMobile,B=C.onCollapse,I=C.menuItemRender,$=C.iconPrefixes,_=n.getIntlName(t),W=n.props,T=W.baseClassName,L=W.menu,y=W.collapsed,R=(L==null?void 0:L.type)==="group",V=a===0||R&&a===1,A=V?lt(t.icon,$,"".concat(T,"-icon ").concat((o=n.props)===null||o===void 0?void 0:o.hashId)):null,P=y&&V?ut(_):null,ne=(0,u.jsxs)("div",{className:q()("".concat(T,"-item-title"),(c=n.props)===null||c===void 0?void 0:c.hashId,(0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(T,"-item-title-collapsed"),y),"".concat(T,"-item-title-collapsed-level-").concat(i),y),"".concat(T,"-item-collapsed-show-title"),(L==null?void 0:L.collapsedShowTitle)&&y)),children:[(0,u.jsx)("span",{className:"".concat(T,"-item-icon ").concat((d=n.props)===null||d===void 0?void 0:d.hashId).trim(),style:{display:P===null&&!A?"none":""},children:A||(0,u.jsx)("span",{className:"anticon",children:P})}),(0,u.jsx)("span",{className:q()("".concat(T,"-item-text"),(v=n.props)===null||v===void 0?void 0:v.hashId,(0,l.Z)({},"".concat(T,"-item-text-has-icon"),V&&(A||P))),children:_})]},f),de=Ln(f);if(de){var p,ve,Z;ne=(0,u.jsxs)("span",{onClick:function(){var pe,le;(pe=window)===null||pe===void 0||(le=pe.open)===null||le===void 0||le.call(pe,f,"_blank")},className:q()("".concat(T,"-item-title"),(p=n.props)===null||p===void 0?void 0:p.hashId,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(T,"-item-title-collapsed"),y),"".concat(T,"-item-title-collapsed-level-").concat(i),y),"".concat(T,"-item-link"),!0),"".concat(T,"-item-collapsed-show-title"),(L==null?void 0:L.collapsedShowTitle)&&y)),children:[(0,u.jsx)("span",{className:"".concat(T,"-item-icon ").concat((ve=n.props)===null||ve===void 0?void 0:ve.hashId).trim(),style:{display:P===null&&!A?"none":""},children:A||(0,u.jsx)("span",{className:"anticon",children:P})}),(0,u.jsx)("span",{className:q()("".concat(T,"-item-text"),(Z=n.props)===null||Z===void 0?void 0:Z.hashId,(0,l.Z)({},"".concat(T,"-item-text-has-icon"),V&&(A||P))),children:_})]},f)}if(I){var Y=(0,s.Z)((0,s.Z)({},t),{},{isUrl:de,itemPath:f,isMobile:w,replace:f===M.pathname,onClick:function(){return B&&B(!0)},children:void 0});return a===0?(0,u.jsx)(ot,{collapsed:y,title:_,disable:t.disabledTooltip,children:I(Y,ne,n.props)}):I(Y,ne,n.props)}return a===0?(0,u.jsx)(ot,{collapsed:y,title:_,disable:t.disabledTooltip,children:ne}):ne}),(0,l.Z)(this,"conversionPath",function(t){return t&&t.indexOf("http")===0?t:"/".concat(t||"").replace(/\/+/g,"/")}),this.props=e}),ta=function(e,n){var t=n.layout,a=n.collapsed,i={};return e&&!a&&["side","mix"].includes(t||"mix")&&(i={openKeys:e}),i},ct=function(e){var n=e.mode,t=e.className,a=e.handleOpenChange,i=e.style,o=e.menuData,c=e.prefixCls,d=e.menu,v=e.matchMenuKeys,f=e.iconfontUrl,C=e.selectedKeys,x=e.onSelect,M=e.menuRenderType,w=e.openKeys,B=(0,m.useContext)(J.L_),I=B.dark,$=B.token,_="".concat(c,"-base-menu-").concat(n),W=(0,m.useRef)([]),T=(0,oe.Z)(d==null?void 0:d.defaultOpenAll),L=(0,F.Z)(T,2),y=L[0],R=L[1],V=(0,oe.Z)(function(){return d!=null&&d.defaultOpenAll?(0,ln.O7)(o)||[]:w===!1?!1:[]},{value:w===!1?void 0:w,onChange:a}),A=(0,F.Z)(V,2),P=A[0],ne=A[1],de=(0,oe.Z)([],{value:C,onChange:x?function(Ce){x&&Ce&&x(Ce)}:void 0}),p=(0,F.Z)(de,2),ve=p[0],Z=p[1];(0,m.useEffect)(function(){d!=null&&d.defaultOpenAll||w===!1||v&&(ne(v),Z(v))},[v.join("-")]),(0,m.useEffect)(function(){f&&(it=rt({scriptUrl:f}))},[f]),(0,m.useEffect)(function(){if(v.join("-")!==(ve||[]).join("-")&&Z(v),!y&&w!==!1&&v.join("-")!==(P||[]).join("-")){var Ce=v;(d==null?void 0:d.autoClose)===!1&&(Ce=Array.from(new Set([].concat((0,yn.Z)(v),(0,yn.Z)(P||[]))))),ne(Ce)}else d!=null&&d.ignoreFlatMenu&&y?ne((0,ln.O7)(o)):R(!1)},[v.join("-")]);var Y=(0,m.useMemo)(function(){return ta(P,e)},[P&&P.join(","),e.layout,e.collapsed]),ae=ea(_,n),pe=ae.wrapSSR,le=ae.hashId,Ze=(0,m.useMemo)(function(){return new na((0,s.Z)((0,s.Z)({},e),{},{token:$,menuRenderType:M,baseClassName:_,hashId:le}))},[e,$,M,_,le]);if(d!=null&&d.loading)return(0,u.jsx)("div",{style:n!=null&&n.includes("inline")?{padding:24}:{marginBlockStart:16},children:(0,u.jsx)(kr.Z,{active:!0,title:!1,paragraph:{rows:n!=null&&n.includes("inline")?6:1}})});e.openKeys===!1&&!e.handleOpenChange&&(W.current=v);var xe=e.postMenuData?e.postMenuData(o):o;return xe&&(xe==null?void 0:xe.length)<1?null:pe((0,m.createElement)(et.Z,(0,s.Z)((0,s.Z)({},Y),{},{_internalDisableMenuItemTitleTooltip:!0,key:"Menu",mode:n,inlineIndent:16,defaultOpenKeys:W.current,theme:I?"dark":"light",selectedKeys:ve,style:(0,s.Z)({backgroundColor:"transparent",border:"none"},i),className:q()(t,le,_,(0,l.Z)((0,l.Z)({},"".concat(_,"-horizontal"),n==="horizontal"),"".concat(_,"-collapsed"),e.collapsed)),items:Ze.getNavMenuItems(xe,0,0),onOpenChange:function(we){e.collapsed||ne(we)}},e.menuProps)))};function ra(r,e){var n=e.stylish,t=e.proLayoutCollapsedWidth;return(0,Te.Xj)("ProLayoutSiderMenuStylish",function(a){var i=(0,s.Z)((0,s.Z)({},a),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:t});return n?[(0,l.Z)({},"div".concat(a.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(i.componentCls),n==null?void 0:n(i)))]:[]})}var aa=["title","render"],oa=m.memo(function(r){return(0,u.jsx)(u.Fragment,{children:r.children})}),ia=Ve.Z.Sider,dt=Ve.Z._InternalSiderContext,la=dt===void 0?{Provider:oa}:dt,An=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"menuHeaderRender",t=e.logo,a=e.title,i=e.layout,o=e[n];if(o===!1)return null;var c=_n(t),d=(0,u.jsx)("h1",{children:a!=null?a:"Ant Design Pro"});return o?o(c,e.collapsed?null:d,e):e.isMobile?null:i==="mix"&&n==="menuHeaderRender"?!1:e.collapsed?(0,u.jsx)("a",{children:c},"title"):(0,u.jsxs)("a",{children:[c,d]},"title")},st=function(e){var n,t=e.collapsed,a=e.originCollapsed,i=e.fixSiderbar,o=e.menuFooterRender,c=e.onCollapse,d=e.theme,v=e.siderWidth,f=e.isMobile,C=e.onMenuHeaderClick,x=e.breakpoint,M=x===void 0?"lg":x,w=e.style,B=e.layout,I=e.menuExtraRender,$=I===void 0?!1:I,_=e.links,W=e.menuContentRender,T=e.collapsedButtonRender,L=e.prefixCls,y=e.avatarProps,R=e.rightContentRender,V=e.actionsRender,A=e.onOpenChange,P=e.stylish,ne=e.logoStyle,de=(0,m.useContext)(J.L_),p=de.hashId,ve=(0,m.useMemo)(function(){return!(f||B==="mix")},[f,B]),Z="".concat(L,"-sider"),Y=64,ae=ra("".concat(Z,".").concat(Z,"-stylish"),{stylish:P,proLayoutCollapsedWidth:Y}),pe=q()("".concat(Z),p,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(Z,"-fixed"),i),"".concat(Z,"-fixed-mix"),B==="mix"&&!f&&i),"".concat(Z,"-collapsed"),e.collapsed),"".concat(Z,"-layout-").concat(B),B&&!f),"".concat(Z,"-light"),d!=="dark"),"".concat(Z,"-mix"),B==="mix"&&!f),"".concat(Z,"-stylish"),!!P)),le=An(e),Ze=$&&$(e),xe=(0,m.useMemo)(function(){return W!==!1&&(0,m.createElement)(ct,(0,s.Z)((0,s.Z)({},e),{},{key:"base-menu",mode:t&&!f?"vertical":"inline",handleOpenChange:A,style:{width:"100%"},className:"".concat(Z,"-menu ").concat(p).trim()}))},[Z,p,W,A,e]),Ce=(_||[]).map(function(Me,_e){return{className:"".concat(Z,"-link"),label:Me,key:_e}}),we=(0,m.useMemo)(function(){return W?W(e,xe):xe},[W,xe,e]),Be=(0,m.useMemo)(function(){if(!y)return null;var Me=y.title,_e=y.render,Le=(0,fe.Z)(y,aa),Zn=(0,u.jsxs)("div",{className:"".concat(Z,"-actions-avatar"),children:[Le!=null&&Le.src||Le!=null&&Le.srcSet||Le.icon||Le.children?(0,u.jsx)(qn.C,(0,s.Z)({size:28},Le)):null,y.title&&!t&&(0,u.jsx)("span",{children:Me})]});return _e?_e(y,Zn,e):Zn},[y,Z,t]),je=(0,m.useMemo)(function(){return V?(0,u.jsx)(Ar.Z,{align:"center",size:4,direction:t?"vertical":"horizontal",className:q()(["".concat(Z,"-actions-list"),t&&"".concat(Z,"-actions-list-collapsed"),p]),children:[V==null?void 0:V(e)].flat(1).map(function(Me,_e){return(0,u.jsx)("div",{className:"".concat(Z,"-actions-list-item ").concat(p).trim(),children:Me},_e)})}):null},[V,Z,t]),Ae=(0,m.useMemo)(function(){return(0,u.jsx)(Nn,{onItemClick:e.itemClick,appList:e.appList,prefixCls:e.prefixCls})},[e.appList,e.prefixCls]),ze=(0,m.useMemo)(function(){if(T===!1)return null;var Me=(0,u.jsx)(Wr,{isMobile:f,collapsed:a,className:"".concat(Z,"-collapsed-button"),onClick:function(){c==null||c(!a)}});return T?T(t,Me):Me},[T,f,a,Z,t,c]),Fe=(0,m.useMemo)(function(){return!Be&&!je?null:(0,u.jsxs)("div",{className:q()("".concat(Z,"-actions"),p,t&&"".concat(Z,"-actions-collapsed")),children:[Be,je]})},[je,Be,Z,t,p]),Ke=(0,m.useMemo)(function(){var Me;return e!=null&&(Me=e.menu)!==null&&Me!==void 0&&Me.hideMenuWhenCollapsed&&t?"".concat(Z,"-hide-menu-collapsed"):null},[Z,t,e==null||(n=e.menu)===null||n===void 0?void 0:n.hideMenuWhenCollapsed]),un=o&&(o==null?void 0:o(e)),Sn=(0,u.jsxs)(u.Fragment,{children:[le&&(0,u.jsxs)("div",{className:q()([q()("".concat(Z,"-logo"),p,(0,l.Z)({},"".concat(Z,"-logo-collapsed"),t))]),onClick:ve?C:void 0,id:"logo",style:ne,children:[le,Ae]}),Ze&&(0,u.jsx)("div",{className:q()(["".concat(Z,"-extra"),!le&&"".concat(Z,"-extra-no-logo"),p]),children:Ze}),(0,u.jsx)("div",{style:{flex:1,overflowY:"auto",overflowX:"hidden"},children:we}),(0,u.jsxs)(la.Provider,{value:{},children:[_?(0,u.jsx)("div",{className:"".concat(Z,"-links ").concat(p).trim(),children:(0,u.jsx)(et.Z,{inlineIndent:16,className:"".concat(Z,"-link-menu ").concat(p).trim(),selectedKeys:[],openKeys:[],theme:d,mode:"inline",items:Ce})}):null,ve&&(0,u.jsxs)(u.Fragment,{children:[Fe,!je&&R?(0,u.jsx)("div",{className:q()("".concat(Z,"-actions"),p,(0,l.Z)({},"".concat(Z,"-actions-collapsed"),t)),children:R==null?void 0:R(e)}):null]}),un&&(0,u.jsx)("div",{className:q()(["".concat(Z,"-footer"),p,(0,l.Z)({},"".concat(Z,"-footer-collapsed"),t)]),children:un})]})]});return ae.wrapSSR((0,u.jsxs)(u.Fragment,{children:[i&&!f&&!Ke&&(0,u.jsx)("div",{style:(0,s.Z)({width:t?Y:v,overflow:"hidden",flex:"0 0 ".concat(t?Y:v,"px"),maxWidth:t?Y:v,minWidth:t?Y:v,transition:"all 0.2s ease 0s"},w)}),(0,u.jsxs)(ia,{collapsible:!0,trigger:null,collapsed:t,breakpoint:M===!1?void 0:M,onCollapse:function(_e){f||c==null||c(_e)},collapsedWidth:Y,style:w,theme:d,width:v,className:q()(pe,p,Ke),children:[Ke?(0,u.jsx)("div",{className:"".concat(Z,"-hide-when-collapsed ").concat(p).trim(),style:{height:"100%",width:"100%",opacity:Ke?0:1},children:Sn}):Sn,ze]})]}))},ua=g(10178),ca=g(9220),da=function(e){var n,t,a,i,o;return(0,l.Z)({},e.componentCls,{"&-header-actions":{display:"flex",height:"100%",alignItems:"center","&-item":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingBlock:0,paddingInline:2,color:(n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorTextRightActionsItem,fontSize:"16px",cursor:"pointer",borderRadius:e.borderRadius,"> *":{paddingInline:6,paddingBlock:6,borderRadius:e.borderRadius,"&:hover":{backgroundColor:(t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorBgRightActionsItemHover}}},"&-avatar":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInlineStart:e.padding,paddingInlineEnd:e.padding,cursor:"pointer",color:(a=e.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorTextRightActionsItem,"> div":{height:"44px",color:(i=e.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorTextRightActionsItem,paddingInline:8,paddingBlock:8,cursor:"pointer",display:"flex",alignItems:"center",lineHeight:"44px",borderRadius:e.borderRadius,"&:hover":{backgroundColor:(o=e.layout)===null||o===void 0||(o=o.header)===null||o===void 0?void 0:o.colorBgRightActionsItemHover}}}}})};function sa(r){return(0,Te.Xj)("ProLayoutRightContent",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[da(n)]})}var va=["rightContentRender","avatarProps","actionsRender","headerContentRender"],fa=["title","render"],vt=function(e){var n=e.rightContentRender,t=e.avatarProps,a=e.actionsRender,i=e.headerContentRender,o=(0,fe.Z)(e,va),c=(0,m.useContext)(Ne.ZP.ConfigContext),d=c.getPrefixCls,v="".concat(d(),"-pro-global-header"),f=sa(v),C=f.wrapSSR,x=f.hashId,M=(0,m.useState)("auto"),w=(0,F.Z)(M,2),B=w[0],I=w[1],$=(0,m.useMemo)(function(){if(!t)return null;var L=t.title,y=t.render,R=(0,fe.Z)(t,fa),V=[R!=null&&R.src||R!=null&&R.srcSet||R.icon||R.children?(0,m.createElement)(qn.C,(0,s.Z)((0,s.Z)({},R),{},{size:28,key:"avatar"})):null,L?(0,u.jsx)("span",{style:{marginInlineStart:8},children:L},"name"):void 0];return y?y(t,(0,u.jsx)("div",{children:V}),o):(0,u.jsx)("div",{children:V})},[t]),_=a||$?function(L){var y=a&&(a==null?void 0:a(L));return!y&&!$?null:Array.isArray(y)?C((0,u.jsxs)("div",{className:"".concat(v,"-header-actions ").concat(x).trim(),children:[y.filter(Boolean).map(function(R,V){var A=!1;if(m.isValidElement(R)){var P;A=!!(R!=null&&(P=R.props)!==null&&P!==void 0&&P["aria-hidden"])}return(0,u.jsx)("div",{className:q()("".concat(v,"-header-actions-item ").concat(x),(0,l.Z)({},"".concat(v,"-header-actions-hover"),!A)),children:R},V)}),$&&(0,u.jsx)("span",{className:"".concat(v,"-header-actions-avatar ").concat(x).trim(),children:$})]})):C((0,u.jsxs)("div",{className:"".concat(v,"-header-actions ").concat(x).trim(),children:[y,$&&(0,u.jsx)("span",{className:"".concat(v,"-header-actions-avatar ").concat(x).trim(),children:$})]}))}:void 0,W=(0,ua.D)(function(){var L=(0,te.Z)((0,se.Z)().mark(function y(R){return(0,se.Z)().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:I(R);case 1:case"end":return A.stop()}},y)}));return function(y){return L.apply(this,arguments)}}(),160),T=_||n;return(0,u.jsx)("div",{className:"".concat(v,"-right-content ").concat(x).trim(),style:{minWidth:B,height:"100%"},children:(0,u.jsx)("div",{style:{height:"100%"},children:(0,u.jsx)(ca.Z,{onResize:function(y){var R=y.width;W.run(R)},children:T?(0,u.jsx)("div",{style:{display:"flex",alignItems:"center",height:"100%",justifyContent:"flex-end"},children:T((0,s.Z)((0,s.Z)({},o),{},{rightContentSize:B}))}):null})})})},ma=function(e){var n,t;return(0,l.Z)({},e.componentCls,{position:"relative",width:"100%",height:"100%",backgroundColor:"transparent",".anticon":{color:"inherit"},"&-main":{display:"flex",height:"100%",paddingInlineStart:"16px","&-left":(0,l.Z)({display:"flex",alignItems:"center"},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16,marginInlineStart:-8})},"&-wide":{maxWidth:1152,margin:"0 auto"},"&-logo":{position:"relative",display:"flex",height:"100%",alignItems:"center",overflow:"hidden","> *:first-child":{display:"flex",alignItems:"center",minHeight:"22px",fontSize:"22px"},"> *:first-child > img":{display:"inline-block",height:"32px",verticalAlign:"middle"},"> *:first-child > h1":{display:"inline-block",marginBlock:0,marginInline:0,lineHeight:"24px",marginInlineStart:6,fontWeight:"600",fontSize:"16px",color:(n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorHeaderTitle,verticalAlign:"top"}},"&-menu":{minWidth:0,display:"flex",alignItems:"center",paddingInline:6,paddingBlock:6,lineHeight:"".concat(Math.max((((t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader)||56)-12,40),"px")}})};function ha(r){return(0,Te.Xj)("ProLayoutTopNavHeader",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[ma(n)]})}var ft=function(e){var n,t,a,i,o,c,d,v=(0,m.useRef)(null),f=e.onMenuHeaderClick,C=e.contentWidth,x=e.rightContentRender,M=e.className,w=e.style,B=e.headerContentRender,I=e.layout,$=e.actionsRender,_=(0,m.useContext)(Ne.ZP.ConfigContext),W=_.getPrefixCls,T=(0,m.useContext)(J.L_),L=T.dark,y="".concat(e.prefixCls||W("pro"),"-top-nav-header"),R=ha(y),V=R.wrapSSR,A=R.hashId,P=void 0;e.menuHeaderRender!==void 0?P="menuHeaderRender":(I==="mix"||I==="top")&&(P="headerTitleRender");var ne=An((0,s.Z)((0,s.Z)({},e),{},{collapsed:!1}),P),de=(0,m.useContext)(J.L_),p=de.token,ve=(0,m.useMemo)(function(){var Z,Y,ae,pe,le,Ze,xe,Ce,we,Be,je,Ae,ze,Fe=(0,u.jsx)(Ne.ZP,{theme:{hashed:(0,J.nu)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"},Menu:(0,s.Z)({},j({colorItemBg:((Z=p.layout)===null||Z===void 0||(Z=Z.header)===null||Z===void 0?void 0:Z.colorBgHeader)||"transparent",colorSubItemBg:((Y=p.layout)===null||Y===void 0||(Y=Y.header)===null||Y===void 0?void 0:Y.colorBgHeader)||"transparent",radiusItem:p.borderRadius,colorItemBgSelected:((ae=p.layout)===null||ae===void 0||(ae=ae.header)===null||ae===void 0?void 0:ae.colorBgMenuItemSelected)||(p==null?void 0:p.colorBgTextHover),itemHoverBg:((pe=p.layout)===null||pe===void 0||(pe=pe.header)===null||pe===void 0?void 0:pe.colorBgMenuItemHover)||(p==null?void 0:p.colorBgTextHover),colorItemBgSelectedHorizontal:((le=p.layout)===null||le===void 0||(le=le.header)===null||le===void 0?void 0:le.colorBgMenuItemSelected)||(p==null?void 0:p.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:((Ze=p.layout)===null||Ze===void 0||(Ze=Ze.header)===null||Ze===void 0?void 0:Ze.colorTextMenu)||(p==null?void 0:p.colorTextSecondary),colorItemTextHoverHorizontal:((xe=p.layout)===null||xe===void 0||(xe=xe.header)===null||xe===void 0?void 0:xe.colorTextMenuActive)||(p==null?void 0:p.colorText),colorItemTextSelectedHorizontal:((Ce=p.layout)===null||Ce===void 0||(Ce=Ce.header)===null||Ce===void 0?void 0:Ce.colorTextMenuSelected)||(p==null?void 0:p.colorTextBase),horizontalItemBorderRadius:4,colorItemTextHover:((we=p.layout)===null||we===void 0||(we=we.header)===null||we===void 0?void 0:we.colorTextMenuActive)||"rgba(0, 0, 0, 0.85)",horizontalItemHoverBg:((Be=p.layout)===null||Be===void 0||(Be=Be.header)===null||Be===void 0?void 0:Be.colorBgMenuItemHover)||"rgba(0, 0, 0, 0.04)",colorItemTextSelected:((je=p.layout)===null||je===void 0||(je=je.header)===null||je===void 0?void 0:je.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:p==null?void 0:p.colorBgElevated,subMenuItemBg:p==null?void 0:p.colorBgElevated,darkSubMenuItemBg:"transparent",darkPopupBg:p==null?void 0:p.colorBgElevated}))},token:{colorBgElevated:((Ae=p.layout)===null||Ae===void 0||(Ae=Ae.header)===null||Ae===void 0?void 0:Ae.colorBgHeader)||"transparent"}},children:(0,u.jsx)(ct,(0,s.Z)((0,s.Z)((0,s.Z)({theme:L?"dark":"light"},e),{},{className:"".concat(y,"-base-menu ").concat(A).trim()},e.menuProps),{},{style:(0,s.Z)({width:"100%"},(ze=e.menuProps)===null||ze===void 0?void 0:ze.style),collapsed:!1,menuRenderType:"header",mode:"horizontal"}))});return B?B(e,Fe):Fe},[(n=p.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.colorBgHeader,(t=p.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorBgMenuItemSelected,(a=p.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorBgMenuItemHover,(i=p.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorTextMenu,(o=p.layout)===null||o===void 0||(o=o.header)===null||o===void 0?void 0:o.colorTextMenuActive,(c=p.layout)===null||c===void 0||(c=c.header)===null||c===void 0?void 0:c.colorTextMenuSelected,(d=p.layout)===null||d===void 0||(d=d.header)===null||d===void 0?void 0:d.colorBgMenuElevated,p.borderRadius,p==null?void 0:p.colorBgTextHover,p==null?void 0:p.colorTextSecondary,p==null?void 0:p.colorText,p==null?void 0:p.colorTextBase,p.colorBgElevated,L,e,y,A,B]);return V((0,u.jsx)("div",{className:q()(y,A,M,(0,l.Z)({},"".concat(y,"-light"),!0)),style:w,children:(0,u.jsxs)("div",{ref:v,className:q()("".concat(y,"-main"),A,(0,l.Z)({},"".concat(y,"-wide"),C==="Fixed"&&I==="top")),children:[ne&&(0,u.jsxs)("div",{className:q()("".concat(y,"-main-left ").concat(A)),onClick:f,children:[(0,u.jsx)(Nn,(0,s.Z)({},e)),(0,u.jsx)("div",{className:"".concat(y,"-logo ").concat(A).trim(),id:"logo",children:ne},"logo")]}),(0,u.jsx)("div",{style:{flex:1},className:"".concat(y,"-menu ").concat(A).trim(),children:ve}),(x||$||e.avatarProps)&&(0,u.jsx)(vt,(0,s.Z)((0,s.Z)({rightContentRender:x},e),{},{prefixCls:y}))]})}))},ga=function(e){var n,t,a;return(0,l.Z)({},e.componentCls,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({position:"relative",background:"transparent",display:"flex",alignItems:"center",marginBlock:0,marginInline:16,height:((n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56,boxSizing:"border-box","> a":{height:"100%"}},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginInlineEnd:16}),"&-collapsed-button",{minHeight:"22px",color:(t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.colorHeaderTitle,fontSize:"18px",marginInlineEnd:"16px"}),"&-logo",{position:"relative",marginInlineEnd:"16px",a:{display:"flex",alignItems:"center",height:"100%",minHeight:"22px",fontSize:"20px"},img:{height:"28px"},h1:{height:"32px",marginBlock:0,marginInline:0,marginInlineStart:8,fontWeight:"600",color:((a=e.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorHeaderTitle)||e.colorTextHeading,fontSize:"18px",lineHeight:"32px"},"&-mix":{display:"flex",alignItems:"center"}}),"&-logo-mobile",{minWidth:"24px",marginInlineEnd:0}))};function pa(r){return(0,Te.Xj)("ProLayoutGlobalHeader",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[ga(n)]})}var ya=function(e,n){return e===!1?null:e?e(n,null):n},xa=function(e){var n=e.isMobile,t=e.logo,a=e.collapsed,i=e.onCollapse,o=e.rightContentRender,c=e.menuHeaderRender,d=e.onMenuHeaderClick,v=e.className,f=e.style,C=e.layout,x=e.children,M=e.splitMenus,w=e.menuData,B=e.prefixCls,I=(0,m.useContext)(Ne.ZP.ConfigContext),$=I.getPrefixCls,_=I.direction,W="".concat(B||$("pro"),"-global-header"),T=pa(W),L=T.wrapSSR,y=T.hashId,R=q()(v,W,y);if(C==="mix"&&!n&&M){var V=(w||[]).map(function(de){return(0,s.Z)((0,s.Z)({},de),{},{children:void 0,routes:void 0})}),A=(0,ln.QX)(V);return(0,u.jsx)(ft,(0,s.Z)((0,s.Z)({mode:"horizontal"},e),{},{splitMenus:!1,menuData:A}))}var P=q()("".concat(W,"-logo"),y,(0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(W,"-logo-rtl"),_==="rtl"),"".concat(W,"-logo-mix"),C==="mix"),"".concat(W,"-logo-mobile"),n)),ne=(0,u.jsx)("span",{className:P,children:(0,u.jsx)("a",{children:_n(t)})},"logo");return L((0,u.jsxs)("div",{className:R,style:(0,s.Z)({},f),children:[n&&(0,u.jsx)("span",{className:"".concat(W,"-collapsed-button ").concat(y).trim(),onClick:function(){i==null||i(!a)},children:(0,u.jsx)(Rr,{})}),n&&ya(c,ne),C==="mix"&&!n&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(Nn,(0,s.Z)({},e)),(0,u.jsx)("div",{className:P,onClick:d,children:An((0,s.Z)((0,s.Z)({},e),{},{collapsed:!1}),"headerTitleRender")})]}),(0,u.jsx)("div",{style:{flex:1},children:x}),(o||e.actionsRender||e.avatarProps)&&(0,u.jsx)(vt,(0,s.Z)({rightContentRender:o},e))]}))},Ca=function(e){var n,t,a,i;return(0,l.Z)({},"".concat(e.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(e.antCls,"-layout-header").concat(e.componentCls),{height:((n=e.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader)||56,lineHeight:"".concat(((t=e.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader)||56,"px"),zIndex:19,width:"100%",paddingBlock:0,paddingInline:0,borderBlockEnd:"1px solid ".concat(e.colorSplit),backgroundColor:((a=e.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.colorBgHeader)||"rgba(255, 255, 255, 0.4)",WebkitBackdropFilter:"blur(8px)",backdropFilter:"blur(8px)",transition:"background-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)","&-fixed-header":{position:"fixed",insetBlockStart:0,width:"100%",zIndex:100,insetInlineEnd:0},"&-fixed-header-scroll":{backgroundColor:((i=e.layout)===null||i===void 0||(i=i.header)===null||i===void 0?void 0:i.colorBgScrollHeader)||"rgba(255, 255, 255, 0.8)"},"&-header-actions":{display:"flex",alignItems:"center",fontSize:"16",cursor:"pointer","& &-item":{paddingBlock:0,paddingInline:8,"&:hover":{color:e.colorText}}},"&-header-realDark":{boxShadow:"0 2px 8px 0 rgba(0, 0, 0, 65%)"},"&-header-actions-header-action":{transition:"width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"}}))};function ba(r){return(0,Te.Xj)("ProLayoutHeader",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[Ca(n)]})}function Sa(r,e){var n=e.stylish,t=e.proLayoutCollapsedWidth;return(0,Te.Xj)("ProLayoutHeaderStylish",function(a){var i=(0,s.Z)((0,s.Z)({},a),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:t});return n?[(0,l.Z)({},"div".concat(a.proComponentsCls,"-layout"),(0,l.Z)({},"".concat(i.componentCls),n==null?void 0:n(i)))]:[]})}var mt=Ve.Z.Header,Za=function(e){var n,t,a,i=e.isMobile,o=e.fixedHeader,c=e.className,d=e.style,v=e.collapsed,f=e.prefixCls,C=e.onCollapse,x=e.layout,M=e.headerRender,w=e.headerContentRender,B=(0,m.useContext)(J.L_),I=B.token,$=(0,m.useContext)(Ne.ZP.ConfigContext),_=(0,m.useState)(!1),W=(0,F.Z)(_,2),T=W[0],L=W[1],y=o||x==="mix",R=(0,m.useCallback)(function(){var Z=x==="top",Y=(0,ln.QX)(e.menuData||[]),ae=(0,u.jsx)(xa,(0,s.Z)((0,s.Z)({onCollapse:C},e),{},{menuData:Y,children:w&&w(e,null)}));return Z&&!i&&(ae=(0,u.jsx)(ft,(0,s.Z)((0,s.Z)({mode:"horizontal",onCollapse:C},e),{},{menuData:Y}))),M&&typeof M=="function"?M(e,ae):ae},[w,M,i,x,C,e]);(0,m.useEffect)(function(){var Z,Y=($==null||(Z=$.getTargetContainer)===null||Z===void 0?void 0:Z.call($))||document.body,ae=function(){var le,Ze=Y.scrollTop;return Ze>(((le=I.layout)===null||le===void 0||(le=le.header)===null||le===void 0?void 0:le.heightLayoutHeader)||56)&&!T?(L(!0),!0):(T&&L(!1),!1)};if(y&&typeof window!="undefined")return Y.addEventListener("scroll",ae,{passive:!0}),function(){Y.removeEventListener("scroll",ae)}},[(n=I.layout)===null||n===void 0||(n=n.header)===null||n===void 0?void 0:n.heightLayoutHeader,y,T]);var V=x==="top",A="".concat(f,"-layout-header"),P=ba(A),ne=P.wrapSSR,de=P.hashId,p=Sa("".concat(A,".").concat(A,"-stylish"),{proLayoutCollapsedWidth:64,stylish:e.stylish}),ve=q()(c,de,A,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(A,"-fixed-header"),y),"".concat(A,"-fixed-header-scroll"),T),"".concat(A,"-mix"),x==="mix"),"".concat(A,"-fixed-header-action"),!v),"".concat(A,"-top-menu"),V),"".concat(A,"-header"),!0),"".concat(A,"-stylish"),!!e.stylish));return x==="side"&&!i?null:p.wrapSSR(ne((0,u.jsx)(u.Fragment,{children:(0,u.jsxs)(Ne.ZP,{theme:{hashed:(0,J.nu)(),components:{Layout:{headerBg:"transparent",bodyBg:"transparent"}}},children:[y&&(0,u.jsx)(mt,{style:(0,s.Z)({height:((t=I.layout)===null||t===void 0||(t=t.header)===null||t===void 0?void 0:t.heightLayoutHeader)||56,lineHeight:"".concat(((a=I.layout)===null||a===void 0||(a=a.header)===null||a===void 0?void 0:a.heightLayoutHeader)||56,"px"),backgroundColor:"transparent",zIndex:19},d)}),(0,u.jsx)(mt,{className:ve,style:d,children:R()})]})})))},Ma=g(83832),Ia=g(85265),Ra=g(54548),ht=new Ra.E4("antBadgeLoadingCircle",{"0%":{display:"none",opacity:0,overflow:"hidden"},"80%":{overflow:"hidden"},"100%":{display:"unset",opacity:1}}),Ta=function(e){var n,t,a,i,o,c,d,v,f,C,x,M;return(0,l.Z)({},"".concat(e.proComponentsCls,"-layout"),(0,l.Z)((0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-layout-sider").concat(e.componentCls),{background:((n=e.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.colorMenuBackground)||"transparent"}),e.componentCls,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({position:"relative",boxSizing:"border-box","&-menu":{position:"relative",zIndex:10,minHeight:"100%"}},"& ".concat(e.antCls,"-layout-sider-children"),{position:"relative",display:"flex",flexDirection:"column",height:"100%",paddingInline:(t=e.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.paddingInlineLayoutMenu,paddingBlock:(a=e.layout)===null||a===void 0||(a=a.sider)===null||a===void 0?void 0:a.paddingBlockLayoutMenu,borderInlineEnd:"1px solid ".concat(e.colorSplit),marginInlineEnd:-1}),"".concat(e.antCls,"-menu"),(0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-menu-item-group-title"),{fontSize:e.fontSizeSM,paddingBottom:4}),"".concat(e.antCls,"-menu-item:hover"),{color:(i=e.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.colorTextMenuItemHover})),"&-logo",{position:"relative",display:"flex",alignItems:"center",justifyContent:"space-between",paddingInline:12,paddingBlock:16,color:(o=e.layout)===null||o===void 0||(o=o.sider)===null||o===void 0?void 0:o.colorTextMenu,cursor:"pointer",borderBlockEnd:"1px solid ".concat((c=e.layout)===null||c===void 0||(c=c.sider)===null||c===void 0?void 0:c.colorMenuItemDivider),"> a":{display:"flex",alignItems:"center",justifyContent:"center",minHeight:22,fontSize:22,"> img":{display:"inline-block",height:22,verticalAlign:"middle"},"> h1":{display:"inline-block",height:22,marginBlock:0,marginInlineEnd:0,marginInlineStart:6,color:(d=e.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.colorTextMenuTitle,animationName:ht,animationDuration:".4s",animationTimingFunction:"ease",fontWeight:600,fontSize:16,lineHeight:"22px",verticalAlign:"middle"}},"&-collapsed":(0,l.Z)({flexDirection:"column-reverse",margin:0,padding:12},"".concat(e.proComponentsCls,"-layout-apps-icon"),{marginBlockEnd:8,fontSize:16,transition:"font-size 0.2s ease-in-out,color 0.2s ease-in-out"})}),"&-actions",{display:"flex",alignItems:"center",justifyContent:"space-between",marginBlock:4,marginInline:0,color:(v=e.layout)===null||v===void 0||(v=v.sider)===null||v===void 0?void 0:v.colorTextMenu,"&-collapsed":{flexDirection:"column-reverse",paddingBlock:0,paddingInline:8,fontSize:16,transition:"font-size 0.3s ease-in-out"},"&-list":{color:(f=e.layout)===null||f===void 0||(f=f.sider)===null||f===void 0?void 0:f.colorTextMenuSecondary,"&-collapsed":{marginBlockEnd:8,animationName:"none"},"&-item":{paddingInline:6,paddingBlock:6,lineHeight:"16px",fontSize:16,cursor:"pointer",borderRadius:e.borderRadius,"&:hover":{background:e.colorBgTextHover}}},"&-avatar":{fontSize:14,paddingInline:8,paddingBlock:8,display:"flex",alignItems:"center",gap:e.marginXS,borderRadius:e.borderRadius,"& *":{cursor:"pointer"},"&:hover":{background:e.colorBgTextHover}}}),"&-hide-menu-collapsed",{insetInlineStart:"-".concat(e.proLayoutCollapsedWidth-12,"px"),position:"absolute"}),"&-extra",{marginBlockEnd:16,marginBlock:0,marginInline:16,"&-no-logo":{marginBlockStart:16}}),"&-links",{width:"100%",ul:{height:"auto"}}),"&-link-menu",{border:"none",boxShadow:"none",background:"transparent"}),"&-footer",{color:(C=e.layout)===null||C===void 0||(C=C.sider)===null||C===void 0?void 0:C.colorTextMenuSecondary,paddingBlockEnd:16,fontSize:e.fontSize,animationName:ht,animationDuration:".4s",animationTimingFunction:"ease"})),"".concat(e.componentCls).concat(e.componentCls,"-fixed"),{position:"fixed",insetBlockStart:0,insetInlineStart:0,zIndex:"100",height:"100%","&-mix":{height:"calc(100% - ".concat(((x=e.layout)===null||x===void 0||(x=x.header)===null||x===void 0?void 0:x.heightLayoutHeader)||56,"px)"),insetBlockStart:"".concat(((M=e.layout)===null||M===void 0||(M=M.header)===null||M===void 0?void 0:M.heightLayoutHeader)||56,"px")}}))};function Ba(r,e){var n=e.proLayoutCollapsedWidth;return(0,Te.Xj)("ProLayoutSiderMenu",function(t){var a=(0,s.Z)((0,s.Z)({},t),{},{componentCls:".".concat(r),proLayoutCollapsedWidth:n});return[Ta(a)]})}var gt=function(e){var n,t=e.isMobile,a=e.siderWidth,i=e.collapsed,o=e.onCollapse,c=e.style,d=e.className,v=e.hide,f=e.prefixCls,C=e.getContainer,x=(0,m.useContext)(J.L_),M=x.token;(0,m.useEffect)(function(){t===!0&&(o==null||o(!0))},[t]);var w=(0,Jn.Z)(e,["className","style"]),B=m.useContext(Ne.ZP.ConfigContext),I=B.direction,$=Ba("".concat(f,"-sider"),{proLayoutCollapsedWidth:64}),_=$.wrapSSR,W=$.hashId,T=q()("".concat(f,"-sider"),d,W);if(v)return null;var L=(0,b.X)(!i,function(){return o==null?void 0:o(!0)});return _(t?(0,u.jsx)(Ia.Z,(0,s.Z)((0,s.Z)({placement:I==="rtl"?"right":"left",className:q()("".concat(f,"-drawer-sider"),d)},L),{},{style:(0,s.Z)({padding:0,height:"100vh"},c),onClose:function(){o==null||o(!0)},maskClosable:!0,closable:!1,getContainer:C||!1,width:a,styles:{body:{height:"100vh",padding:0,display:"flex",flexDirection:"row",backgroundColor:(n=M.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.colorMenuBackground}},children:(0,u.jsx)(st,(0,s.Z)((0,s.Z)({},w),{},{isMobile:!0,className:T,collapsed:t?!1:i,splitMenus:!1,originCollapsed:i}))})):(0,u.jsx)(st,(0,s.Z)((0,s.Z)({className:T,originCollapsed:i},w),{},{style:c})))},pt=g(76509),Pa=g(14779),Hn=g.n(Pa),ja=function(e,n,t){if(t){var a=(0,yn.Z)(t.keys()).find(function(o){return Hn()(o).test(e)});if(a)return t.get(a)}if(n){var i=Object.keys(n).find(function(o){return Hn()(o).test(e)});if(i)return n[i]}return{path:""}},Dn=function(e,n){var t=e.pathname,a=t===void 0?"/":t,i=e.breadcrumb,o=e.breadcrumbMap,c=e.formatMessage,d=e.title,v=e.menu,f=v===void 0?{locale:!1}:v,C=n?"":d||"",x=ja(a,i,o);if(!x)return{title:C,id:"",pageName:C};var M=x.name;return f.locale!==!1&&x.locale&&c&&(M=c({id:x.locale||"",defaultMessage:x.name})),M?n||!d?{title:M,id:x.locale||"",pageName:M}:{title:"".concat(M," - ").concat(d),id:x.locale||"",pageName:M}:{title:C,id:x.locale||"",pageName:C}},So=function(e,n){return Dn(e,n).title},Ea=g(52676),bn=g(67159),Qe=g(34155),wa=function(){var e;return typeof Qe=="undefined"?bn.Z:((e=Qe)===null||Qe===void 0||(Qe={NODE_ENV:"production",PUBLIC_PATH:"https://apks.bzgames.cn/matrix_fe/"})===null||Qe===void 0?void 0:Qe.ANTD_VERSION)||bn.Z},La=function(e){var n,t,a,i,o,c,d,v,f,C,x,M,w,B,I,$,_,W,T,L,y,R,V,A,P,ne,de,p,ve,Z,Y,ae;return(n=wa())!==null&&n!==void 0&&n.startsWith("5")?{}:(0,l.Z)((0,l.Z)((0,l.Z)({},e.componentCls,(0,l.Z)((0,l.Z)({width:"100%",height:"100%"},"".concat(e.proComponentsCls,"-base-menu"),(y={color:(t=e.layout)===null||t===void 0||(t=t.sider)===null||t===void 0?void 0:t.colorTextMenu},(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)(y,"".concat(e.antCls,"-menu-sub"),{backgroundColor:"transparent!important",color:(a=e.layout)===null||a===void 0||(a=a.sider)===null||a===void 0?void 0:a.colorTextMenu}),"& ".concat(e.antCls,"-layout"),{backgroundColor:"transparent",width:"100%"}),"".concat(e.antCls,"-menu-submenu-expand-icon, ").concat(e.antCls,"-menu-submenu-arrow"),{color:"inherit"}),"&".concat(e.antCls,"-menu"),(0,l.Z)((0,l.Z)({color:(i=e.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.colorTextMenu},"".concat(e.antCls,"-menu-item"),{"*":{transition:"none !important"}}),"".concat(e.antCls,"-menu-item a"),{color:"inherit"})),"&".concat(e.antCls,"-menu-inline"),(0,l.Z)({},"".concat(e.antCls,"-menu-selected::after,").concat(e.antCls,"-menu-item-selected::after"),{display:"none"})),"".concat(e.antCls,"-menu-sub ").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),"".concat(e.antCls,`-menu-item:active, `).concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"}),"&".concat(e.antCls,"-menu-light"),(0,l.Z)({},"".concat(e.antCls,`-menu-item:hover, `).concat(e.antCls,`-menu-item-active, `).concat(e.antCls,`-menu-submenu-active, @@ -23,5 +23,5 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(V=e.layout)===null||V===void 0||(V=V.header)===null||V===void 0?void 0:V.colorTextMenuActive,borderRadius:e.borderRadius,transition:"none",backgroundColor:(A=e.layout)===null||A===void 0||(A=A.header)===null||A===void 0?void 0:A.colorBgMenuItemSelected},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(P=e.layout)===null||P===void 0||(P=P.header)===null||P===void 0?void 0:P.colorTextMenuActive})),"".concat(e.antCls,"-menu-item-selected"),{color:(ne=e.layout)===null||ne===void 0||(ne=ne.header)===null||ne===void 0?void 0:ne.colorTextMenuSelected,borderRadius:e.borderRadius,backgroundColor:(de=e.layout)===null||de===void 0||(de=de.header)===null||de===void 0?void 0:de.colorBgMenuItemSelected})))),"".concat(e.antCls,"-menu-sub").concat(e.antCls,"-menu-inline"),{backgroundColor:"transparent!important"}),"".concat(e.antCls,"-menu-submenu-popup"),(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({backgroundColor:"rgba(255, 255, 255, 0.42)","-webkit-backdrop-filter":"blur(8px)",backdropFilter:"blur(8px)"},"".concat(e.antCls,"-menu"),(0,l.Z)({background:"transparent !important",backgroundColor:"transparent !important"},"".concat(e.antCls,`-menu-item:active, `).concat(e.antCls,"-menu-submenu-title:active"),{backgroundColor:"transparent!important"})),"".concat(e.antCls,"-menu-item-selected"),{color:(p=e.layout)===null||p===void 0||(p=p.sider)===null||p===void 0?void 0:p.colorTextMenuSelected}),"".concat(e.antCls,"-menu-submenu-selected"),{color:(ve=e.layout)===null||ve===void 0||(ve=ve.sider)===null||ve===void 0?void 0:ve.colorTextMenuSelected}),"".concat(e.antCls,"-menu:not(").concat(e.antCls,"-menu-horizontal)"),(0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-menu-item-selected"),{backgroundColor:"rgba(0, 0, 0, 0.04)",borderRadius:e.borderRadius,color:(Z=e.layout)===null||Z===void 0||(Z=Z.sider)===null||Z===void 0?void 0:Z.colorTextMenuSelected}),"".concat(e.antCls,`-menu-item:hover, `).concat(e.antCls,`-menu-item-active, - `).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(Y=e.layout)===null||Y===void 0||(Y=Y.sider)===null||Y===void 0?void 0:Y.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(ae=e.layout)===null||ae===void 0||(ae=ae.sider)===null||ae===void 0?void 0:ae.colorTextMenuActive}))))},_a=function(e){var n,t,a,i;return(0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-layout"),{backgroundColor:"transparent !important"}),e.componentCls,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"& ".concat(e.antCls,"-layout"),{display:"flex",backgroundColor:"transparent",width:"100%"}),"".concat(e.componentCls,"-content"),{display:"flex",flexDirection:"column",width:"100%",backgroundColor:((n=e.layout)===null||n===void 0||(n=n.pageContainer)===null||n===void 0?void 0:n.colorBgPageContainer)||"transparent",position:"relative",paddingBlock:(t=e.layout)===null||t===void 0||(t=t.pageContainer)===null||t===void 0?void 0:t.paddingBlockPageContainerContent,paddingInline:(a=e.layout)===null||a===void 0||(a=a.pageContainer)===null||a===void 0?void 0:a.paddingInlinePageContainerContent,"&-has-page-container":{padding:0}}),"".concat(e.componentCls,"-container"),{width:"100%",display:"flex",flexDirection:"column",minWidth:0,minHeight:0,backgroundColor:"transparent"}),"".concat(e.componentCls,"-bg-list"),{pointerEvents:"none",position:"fixed",overflow:"hidden",insetBlockStart:0,insetInlineStart:0,zIndex:0,height:"100%",width:"100%",background:(i=e.layout)===null||i===void 0?void 0:i.bgLayout}))};function Na(r){return(0,Te.Xj)("ProLayout",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[_a(n),La(n)]})}function Aa(r){if(!r||r==="/")return["/"];var e=r.split("/").filter(function(n){return n});return e.map(function(n,t){return"/".concat(e.slice(0,t+1).join("/"))})}var Ye=g(34155),Ha=function(){var e;return typeof Ye=="undefined"?bn.Z:((e=Ye)===null||Ye===void 0||(Ye={NODE_ENV:"production",PUBLIC_PATH:"/"})===null||Ye===void 0?void 0:Ye.ANTD_VERSION)||bn.Z},Da=function(e,n,t){var a=e,i=a.breadcrumbName,o=a.title,c=a.path,d=t.findIndex(function(v){return v.linkPath===e.path})===t.length-1;return d?(0,u.jsx)("span",{children:o||i}):(0,u.jsx)("span",{onClick:c?function(){return location.href=c}:void 0,children:o||i})},Oa=function(e,n){var t=n.formatMessage,a=n.menu;return e.locale&&t&&(a==null?void 0:a.locale)!==!1?t({id:e.locale,defaultMessage:e.name}):e.name},$a=function(e,n){var t=e.get(n);if(!t){var a=Array.from(e.keys())||[],i=a.find(function(o){return Hn()(o.replace("?","")).test(n)});i&&(t=e.get(i))}return t||{path:""}},Wa=function(e){var n=e.location,t=e.breadcrumbMap;return{location:n,breadcrumbMap:t}},za=function(e,n,t){var a=Aa(e==null?void 0:e.pathname),i=a.map(function(o){var c=$a(n,o),d=Oa(c,t),v=c.hideInBreadcrumb;return d&&!v?{linkPath:o,breadcrumbName:d,title:d,component:c.component}:{linkPath:"",breadcrumbName:"",title:""}}).filter(function(o){return o&&o.linkPath});return i},Fa=function(e){var n=Wa(e),t=n.location,a=n.breadcrumbMap;return t&&t.pathname&&a?za(t,a,e):[]},Ka=function(e,n){var t=e.breadcrumbRender,a=e.itemRender,i=n.breadcrumbProps||{},o=i.minLength,c=o===void 0?2:o,d=Fa(e),v=function(x){for(var M=a||Da,w=arguments.length,B=new Array(w>1?w-1:0),I=1;I-1?{items:f,itemRender:v}:{routes:f,itemRender:v}};function Ua(r){return(0,yn.Z)(r).reduce(function(e,n){var t=(0,F.Z)(n,2),a=t[0],i=t[1];return e[a]=i,e},{})}var Ga=function r(e,n,t,a){var i=ur(e,(n==null?void 0:n.locale)||!1,t,!0),o=i.menuData,c=i.breadcrumb;return a?r(a(o),n,t,void 0):{breadcrumb:Ua(c),breadcrumbMap:c,menuData:o}},Xa=g(71002),Va=g(51812),Qa=function(e){var n=(0,m.useState)({}),t=(0,F.Z)(n,2),a=t[0],i=t[1];return(0,m.useEffect)(function(){i((0,Va.Y)({layout:(0,Xa.Z)(e.layout)!=="object"?e.layout:void 0,navTheme:e.navTheme,menuRender:e.menuRender,footerRender:e.footerRender,menuHeaderRender:e.menuHeaderRender,headerRender:e.headerRender,fixSiderbar:e.fixSiderbar}))},[e.layout,e.navTheme,e.menuRender,e.footerRender,e.menuHeaderRender,e.headerRender,e.fixSiderbar]),a},Ya=["id","defaultMessage"],Ja=["fixSiderbar","navTheme","layout"],yt=0,ka=function(e,n){var t;return e.headerRender===!1||e.pure?null:(0,u.jsx)(Za,(0,s.Z)((0,s.Z)({matchMenuKeys:n},e),{},{stylish:(t=e.stylish)===null||t===void 0?void 0:t.header}))},qa=function(e){return e.footerRender===!1||e.pure?null:e.footerRender?e.footerRender((0,s.Z)({},e),(0,u.jsx)(Cr.q,{})):null},eo=function(e,n){var t,a=e.layout,i=e.isMobile,o=e.selectedKeys,c=e.openKeys,d=e.splitMenus,v=e.suppressSiderWhenMenuEmpty,f=e.menuRender;if(e.menuRender===!1||e.pure)return null;var C=e.menuData;if(d&&(c!==!1||a==="mix")&&!i){var x=o||n,M=(0,F.Z)(x,1),w=M[0];if(w){var B;C=((B=e.menuData)===null||B===void 0||(B=B.find(function(W){return W.key===w}))===null||B===void 0?void 0:B.children)||[]}else C=[]}var I=(0,ln.QX)(C||[]);if(I&&(I==null?void 0:I.length)<1&&(d||v))return null;if(a==="top"&&!i){var $;return(0,u.jsx)(gt,(0,s.Z)((0,s.Z)({matchMenuKeys:n},e),{},{hide:!0,stylish:($=e.stylish)===null||$===void 0?void 0:$.sider}))}var _=(0,u.jsx)(gt,(0,s.Z)((0,s.Z)({matchMenuKeys:n},e),{},{menuData:I,stylish:(t=e.stylish)===null||t===void 0?void 0:t.sider}));return f?f(e,_):_},no=function(e,n){var t=n.pageTitleRender,a=Dn(e);if(t===!1)return{title:n.title||"",id:"",pageName:""};if(t){var i=t(e,a.title,a);if(typeof i=="string")return Dn((0,s.Z)((0,s.Z)({},a),{},{title:i}));(0,gr.ZP)(typeof i=="string","pro-layout: renderPageTitle return value should be a string")}return a},to=function(e,n,t){return e?n?64:t:0},ro=function(e){var n,t,a,i,o,c,d,v,f,C,x,M,w,B,I=e||{},$=I.children,_=I.onCollapse,W=I.location,T=W===void 0?{pathname:"/"}:W,L=I.contentStyle,y=I.route,R=I.defaultCollapsed,V=I.style,A=I.siderWidth,P=I.menu,ne=I.siderMenuType,de=I.isChildrenLayout,p=I.menuDataRender,ve=I.actionRef,Z=I.bgLayoutImgList,Y=I.formatMessage,ae=I.loading,pe=(0,m.useMemo)(function(){return A||(e.layout==="mix"?215:256)},[e.layout,A]),le=(0,m.useContext)(Ne.ZP.ConfigContext),Ze=(n=e.prefixCls)!==null&&n!==void 0?n:le.getPrefixCls("pro"),xe=(0,oe.Z)(!1,{value:P==null?void 0:P.loading,onChange:P==null?void 0:P.onLoadingChange}),Ce=(0,F.Z)(xe,2),we=Ce[0],Be=Ce[1],je=(0,m.useState)(function(){return yt+=1,"pro-layout-".concat(yt)}),Ae=(0,F.Z)(je,1),ze=Ae[0],Fe=(0,m.useCallback)(function(Ie){var Ue=Ie.id,Rn=Ie.defaultMessage,fn=(0,fe.Z)(Ie,Ya);if(Y)return Y((0,s.Z)({id:Ue,defaultMessage:Rn},fn));var mn=(0,Ea.e)();return mn[Ue]?mn[Ue]:Rn},[Y]),Ke=(0,kn.ZP)([ze,P==null?void 0:P.params],function(){var Ie=(0,te.Z)((0,se.Z)().mark(function Ue(Rn){var fn,mn,Lt,_t;return(0,se.Z)().wrap(function(en){for(;;)switch(en.prev=en.next){case 0:return mn=(0,F.Z)(Rn,2),Lt=mn[1],Be(!0),en.next=4,P==null||(fn=P.request)===null||fn===void 0?void 0:fn.call(P,Lt||{},(y==null?void 0:y.children)||(y==null?void 0:y.routes)||[]);case 4:return _t=en.sent,Be(!1),en.abrupt("return",_t);case 7:case"end":return en.stop()}},Ue)}));return function(Ue){return Ie.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),un=Ke.data,Sn=Ke.mutate,Me=Ke.isLoading;(0,m.useEffect)(function(){Be(Me)},[Me]);var _e=(0,kn.kY)(),Le=_e.cache;(0,m.useEffect)(function(){return function(){Le instanceof Map&&Le.delete(ze)}},[]);var Zn=(0,m.useMemo)(function(){return Ga(un||(y==null?void 0:y.children)||(y==null?void 0:y.routes)||[],P,Fe,p)},[Fe,P,p,un,y==null?void 0:y.children,y==null?void 0:y.routes]),On=Zn||{},oo=On.breadcrumb,xt=On.breadcrumbMap,Ct=On.menuData,cn=Ct===void 0?[]:Ct;ve&&P!==null&&P!==void 0&&P.request&&(ve.current={reload:function(){Sn()}});var dn=(0,m.useMemo)(function(){return mr(T.pathname||"/",cn||[],!0)},[T.pathname,cn]),$n=(0,m.useMemo)(function(){return Array.from(new Set(dn.map(function(Ie){return Ie.key||Ie.path||""})))},[dn]),bt=dn[dn.length-1]||{},St=Qa(bt),Mn=(0,s.Z)((0,s.Z)({},e),St),io=Mn.fixSiderbar,Zo=Mn.navTheme,sn=Mn.layout,lo=(0,fe.Z)(Mn,Ja),Je=N(),ke=(0,m.useMemo)(function(){return(Je==="sm"||Je==="xs")&&!e.disableMobile},[Je,e.disableMobile]),uo=sn!=="top"&&!ke,co=(0,oe.Z)(function(){return R!==void 0?R:!!(ke||Je==="md")},{value:e.collapsed,onChange:_}),Zt=(0,F.Z)(co,2),vn=Zt[0],Mt=Zt[1],qe=(0,Jn.Z)((0,s.Z)((0,s.Z)((0,s.Z)({prefixCls:Ze},e),{},{siderWidth:pe},St),{},{formatMessage:Fe,breadcrumb:oo,menu:(0,s.Z)((0,s.Z)({},P),{},{type:ne||(P==null?void 0:P.type),loading:we}),layout:sn}),["className","style","breadcrumbRender"]),Wn=no((0,s.Z)((0,s.Z)({pathname:T.pathname},qe),{},{breadcrumbMap:xt}),e),so=Ka((0,s.Z)((0,s.Z)({},qe),{},{breadcrumbRender:e.breadcrumbRender,breadcrumbMap:xt}),e),In=eo((0,s.Z)((0,s.Z)({},qe),{},{menuData:cn,onCollapse:Mt,isMobile:ke,collapsed:vn}),$n),zn=ka((0,s.Z)((0,s.Z)({},qe),{},{children:null,hasSiderMenu:!!In,menuData:cn,isMobile:ke,collapsed:vn,onCollapse:Mt}),$n),It=qa((0,s.Z)({isMobile:ke,collapsed:vn},qe)),vo=(0,m.useContext)(pt.X),fo=vo.isChildrenLayout,Fn=de!==void 0?de:fo,He="".concat(Ze,"-layout"),Rt=Na(He),mo=Rt.wrapSSR,Kn=Rt.hashId,ho=q()(e.className,Kn,"ant-design-pro",He,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"screen-".concat(Je),Je),"".concat(He,"-top-menu"),sn==="top"),"".concat(He,"-is-children"),Fn),"".concat(He,"-fix-siderbar"),io),"".concat(He,"-").concat(sn),sn)),go=to(!!uo,vn,pe),Tt={position:"relative"};(Fn||L&&L.minHeight)&&(Tt.minHeight=0),(0,m.useEffect)(function(){var Ie;(Ie=e.onPageChange)===null||Ie===void 0||Ie.call(e,e.location)},[T.pathname,(t=T.pathname)===null||t===void 0?void 0:t.search]);var po=(0,m.useState)(!1),Bt=(0,F.Z)(po,2),Pt=Bt[0],yo=Bt[1],xo=(0,m.useState)(0),jt=(0,F.Z)(xo,2),Et=jt[0],Co=jt[1];h(Wn,e.title||!1);var bo=(0,m.useContext)(J.L_),X=bo.token,wt=(0,m.useMemo)(function(){return Z&&Z.length>0?Z==null?void 0:Z.map(function(Ie,Ue){return(0,u.jsx)("img",{src:Ie.src,style:(0,s.Z)({position:"absolute"},Ie)},Ue)}):null},[Z]);return mo((0,u.jsx)(pt.X.Provider,{value:(0,s.Z)((0,s.Z)({},qe),{},{breadcrumb:so,menuData:cn,isMobile:ke,collapsed:vn,hasPageContainer:Et,setHasPageContainer:Co,isChildrenLayout:!0,title:Wn.pageName,hasSiderMenu:!!In,hasHeader:!!zn,siderWidth:go,hasFooter:!!It,hasFooterToolbar:Pt,setHasFooterToolbar:yo,pageTitleInfo:Wn,matchMenus:dn,matchMenuKeys:$n,currentMenu:bt}),children:e.pure?(0,u.jsx)(u.Fragment,{children:$}):(0,u.jsxs)("div",{className:ho,children:[wt||(a=X.layout)!==null&&a!==void 0&&a.bgLayout?(0,u.jsx)("div",{className:q()("".concat(He,"-bg-list"),Kn),children:wt}):null,(0,u.jsxs)(Ve.Z,{style:(0,s.Z)({minHeight:"100%",flexDirection:In?"row":void 0},V),children:[(0,u.jsx)(Ne.ZP,{theme:{hashed:(0,J.nu)(),token:{controlHeightLG:((i=X.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.menuHeight)||(X==null?void 0:X.controlHeightLG)},components:{Menu:j({colorItemBg:((o=X.layout)===null||o===void 0||(o=o.sider)===null||o===void 0?void 0:o.colorMenuBackground)||"transparent",colorSubItemBg:((c=X.layout)===null||c===void 0||(c=c.sider)===null||c===void 0?void 0:c.colorMenuBackground)||"transparent",radiusItem:X.borderRadius,colorItemBgSelected:((d=X.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.colorBgMenuItemSelected)||(X==null?void 0:X.colorBgTextHover),colorItemBgHover:((v=X.layout)===null||v===void 0||(v=v.sider)===null||v===void 0?void 0:v.colorBgMenuItemHover)||(X==null?void 0:X.colorBgTextHover),colorItemBgActive:((f=X.layout)===null||f===void 0||(f=f.sider)===null||f===void 0?void 0:f.colorBgMenuItemActive)||(X==null?void 0:X.colorBgTextActive),colorItemBgSelectedHorizontal:((C=X.layout)===null||C===void 0||(C=C.sider)===null||C===void 0?void 0:C.colorBgMenuItemSelected)||(X==null?void 0:X.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:((x=X.layout)===null||x===void 0||(x=x.sider)===null||x===void 0?void 0:x.colorTextMenu)||(X==null?void 0:X.colorTextSecondary),colorItemTextHover:((M=X.layout)===null||M===void 0||(M=M.sider)===null||M===void 0?void 0:M.colorTextMenuItemHover)||"rgba(0, 0, 0, 0.85)",colorItemTextSelected:((w=X.layout)===null||w===void 0||(w=w.sider)===null||w===void 0?void 0:w.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:X==null?void 0:X.colorBgElevated,subMenuItemBg:X==null?void 0:X.colorBgElevated,darkSubMenuItemBg:"transparent",darkPopupBg:X==null?void 0:X.colorBgElevated})}},children:In}),(0,u.jsxs)("div",{style:Tt,className:"".concat(He,"-container ").concat(Kn).trim(),children:[zn,(0,u.jsx)(yr,(0,s.Z)((0,s.Z)({hasPageContainer:Et,isChildrenLayout:Fn},lo),{},{hasHeader:!!zn,prefixCls:He,style:L,children:ae?(0,u.jsx)(Ma.S,{}):$})),It,Pt&&(0,u.jsx)("div",{className:"".concat(He,"-has-footer"),style:{height:64,marginBlockStart:(B=X.layout)===null||B===void 0||(B=B.pageContainer)===null||B===void 0?void 0:B.paddingBlockPageContainerContent}})]})]})]})}))},ao=function(e){var n=e.colorPrimary,t=e.navTheme!==void 0?{dark:e.navTheme==="realDark"}:{};return(0,u.jsx)(Ne.ZP,{theme:n?{token:{colorPrimary:n}}:void 0,children:(0,u.jsx)(J._Y,(0,s.Z)((0,s.Z)({autoClearCache:!0},t),{},{token:e.token,prefixCls:e.prefixCls,children:(0,u.jsx)(ro,(0,s.Z)((0,s.Z)({logo:(0,u.jsx)(xr,{})},at.h),{},{location:(0,U.j)()?window.location:void 0},e))}))})}},83832:function(be,ye,g){"use strict";g.d(ye,{S:function(){return J}});var l=g(1413),se=g(91),te=g(75081),fe=g(67294),F=g(85893),s=["isLoading","pastDelay","timedOut","error","retry"],J=function(m){var ie=m.isLoading,ue=m.pastDelay,he=m.timedOut,N=m.error,U=m.retry,h=(0,se.Z)(m,s);return(0,F.jsx)("div",{style:{paddingBlockStart:100,textAlign:"center"},children:(0,F.jsx)(te.Z,(0,l.Z)({size:"large"},h))})}},76509:function(be,ye,g){"use strict";g.d(ye,{X:function(){return se}});var l=g(67294),se=(0,l.createContext)({})},90743:function(be,ye){var g;function l(h){"@babel/helpers - typeof";return l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},l(h)}g={value:!0},ye.Bo=g=g=g=g=g=g=void 0;function se(h){for(var S=[],b=0;b=48&&E<=57||E>=65&&E<=90||E>=97&&E<=122||E===95){ee+=h[O++];continue}break}if(!ee)throw new TypeError("Missing parameter name at "+b);S.push({type:"NAME",index:b,value:ee}),b=O;continue}if(j==="("){var H=1,Q="",O=b+1;if(h[O]==="?")throw new TypeError('Pattern cannot start with "?" at '+O);for(;O-1:Re===void 0;ee||(ce+="(?:"+me+"(?="+G+"))?"),$e||(ce+="(?="+me+"|"+G+")")}return new RegExp(ce,m(b))}g=N;function U(h,S,b){return h instanceof RegExp?ie(h,S):Array.isArray(h)?ue(h,S,b):he(h,S,b)}ye.Bo=U},78164:function(be,ye,g){"use strict";g.d(ye,{S:function(){return ie}});var l=g(15671),se=g(43144),te=g(97326),fe=g(60136),F=g(29388),s=g(4942),J=g(29905),oe=g(67294),m=g(85893),ie=function(ue){(0,fe.Z)(N,ue);var he=(0,F.Z)(N);function N(){var U;(0,l.Z)(this,N);for(var h=arguments.length,S=new Array(h),b=0;b-1&&(G=j[Se],j=j.slice(0,Se))}j&&(h.push(j),j="",E=!1);var Ee=G!==""&&me!==void 0&&me!==G,Oe=D==="+"||D==="*",Re=D==="?"||D==="*",$e=G||ee,De=z||re;h.push({name:ce||S++,prefix:G,delimiter:$e,optional:Re,repeat:Oe,partial:Ee,pattern:De?s(De):"[^"+F($e)+"]+?"})}return(j||b-1;else{var G=K.repeat?"(?:"+K.pattern+")(?:"+F(K.delimiter)+"(?:"+K.pattern+"))*":K.pattern;U&&U.push(K),K.optional?K.partial?H+=F(K.prefix)+"("+G+")?":H+="(?:"+F(K.prefix)+"("+G+"))?":H+=F(K.prefix)+"("+G+")"}}return j?(S||(H+="(?:"+ee+")?"),H+=E==="$"?"$":"(?="+E+")"):(S||(H+="(?:"+ee+"(?="+E+"))?"),Q||(H+="(?="+ee+"|"+E+")")),new RegExp(H,J(h))}function he(N,U,h){return N instanceof RegExp?oe(N,U):Array.isArray(N)?m(N,U,h):ie(N,U,h)}},64599:function(be,ye,g){var l=g(96263);function se(te,fe){var F=typeof Symbol!="undefined"&&te[Symbol.iterator]||te["@@iterator"];if(!F){if(Array.isArray(te)||(F=l(te))||fe&&te&&typeof te.length=="number"){F&&(te=F);var s=0,J=function(){};return{s:J,n:function(){return s>=te.length?{done:!0}:{done:!1,value:te[s++]}},e:function(he){throw he},f:J}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. + `).concat(e.antCls,"-menu-submenu-title:hover"),(0,l.Z)({color:(Y=e.layout)===null||Y===void 0||(Y=Y.sider)===null||Y===void 0?void 0:Y.colorTextMenuActive,borderRadius:e.borderRadius},"".concat(e.antCls,"-menu-submenu-arrow"),{color:(ae=e.layout)===null||ae===void 0||(ae=ae.sider)===null||ae===void 0?void 0:ae.colorTextMenuActive}))))},_a=function(e){var n,t,a,i;return(0,l.Z)((0,l.Z)({},"".concat(e.antCls,"-layout"),{backgroundColor:"transparent !important"}),e.componentCls,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"& ".concat(e.antCls,"-layout"),{display:"flex",backgroundColor:"transparent",width:"100%"}),"".concat(e.componentCls,"-content"),{display:"flex",flexDirection:"column",width:"100%",backgroundColor:((n=e.layout)===null||n===void 0||(n=n.pageContainer)===null||n===void 0?void 0:n.colorBgPageContainer)||"transparent",position:"relative",paddingBlock:(t=e.layout)===null||t===void 0||(t=t.pageContainer)===null||t===void 0?void 0:t.paddingBlockPageContainerContent,paddingInline:(a=e.layout)===null||a===void 0||(a=a.pageContainer)===null||a===void 0?void 0:a.paddingInlinePageContainerContent,"&-has-page-container":{padding:0}}),"".concat(e.componentCls,"-container"),{width:"100%",display:"flex",flexDirection:"column",minWidth:0,minHeight:0,backgroundColor:"transparent"}),"".concat(e.componentCls,"-bg-list"),{pointerEvents:"none",position:"fixed",overflow:"hidden",insetBlockStart:0,insetInlineStart:0,zIndex:0,height:"100%",width:"100%",background:(i=e.layout)===null||i===void 0?void 0:i.bgLayout}))};function Na(r){return(0,Te.Xj)("ProLayout",function(e){var n=(0,s.Z)((0,s.Z)({},e),{},{componentCls:".".concat(r)});return[_a(n),La(n)]})}function Aa(r){if(!r||r==="/")return["/"];var e=r.split("/").filter(function(n){return n});return e.map(function(n,t){return"/".concat(e.slice(0,t+1).join("/"))})}var Ye=g(34155),Ha=function(){var e;return typeof Ye=="undefined"?bn.Z:((e=Ye)===null||Ye===void 0||(Ye={NODE_ENV:"production",PUBLIC_PATH:"https://apks.bzgames.cn/matrix_fe/"})===null||Ye===void 0?void 0:Ye.ANTD_VERSION)||bn.Z},Da=function(e,n,t){var a=e,i=a.breadcrumbName,o=a.title,c=a.path,d=t.findIndex(function(v){return v.linkPath===e.path})===t.length-1;return d?(0,u.jsx)("span",{children:o||i}):(0,u.jsx)("span",{onClick:c?function(){return location.href=c}:void 0,children:o||i})},Oa=function(e,n){var t=n.formatMessage,a=n.menu;return e.locale&&t&&(a==null?void 0:a.locale)!==!1?t({id:e.locale,defaultMessage:e.name}):e.name},$a=function(e,n){var t=e.get(n);if(!t){var a=Array.from(e.keys())||[],i=a.find(function(o){return Hn()(o.replace("?","")).test(n)});i&&(t=e.get(i))}return t||{path:""}},Wa=function(e){var n=e.location,t=e.breadcrumbMap;return{location:n,breadcrumbMap:t}},za=function(e,n,t){var a=Aa(e==null?void 0:e.pathname),i=a.map(function(o){var c=$a(n,o),d=Oa(c,t),v=c.hideInBreadcrumb;return d&&!v?{linkPath:o,breadcrumbName:d,title:d,component:c.component}:{linkPath:"",breadcrumbName:"",title:""}}).filter(function(o){return o&&o.linkPath});return i},Fa=function(e){var n=Wa(e),t=n.location,a=n.breadcrumbMap;return t&&t.pathname&&a?za(t,a,e):[]},Ka=function(e,n){var t=e.breadcrumbRender,a=e.itemRender,i=n.breadcrumbProps||{},o=i.minLength,c=o===void 0?2:o,d=Fa(e),v=function(x){for(var M=a||Da,w=arguments.length,B=new Array(w>1?w-1:0),I=1;I-1?{items:f,itemRender:v}:{routes:f,itemRender:v}};function Ua(r){return(0,yn.Z)(r).reduce(function(e,n){var t=(0,F.Z)(n,2),a=t[0],i=t[1];return e[a]=i,e},{})}var Ga=function r(e,n,t,a){var i=ur(e,(n==null?void 0:n.locale)||!1,t,!0),o=i.menuData,c=i.breadcrumb;return a?r(a(o),n,t,void 0):{breadcrumb:Ua(c),breadcrumbMap:c,menuData:o}},Xa=g(71002),Va=g(51812),Qa=function(e){var n=(0,m.useState)({}),t=(0,F.Z)(n,2),a=t[0],i=t[1];return(0,m.useEffect)(function(){i((0,Va.Y)({layout:(0,Xa.Z)(e.layout)!=="object"?e.layout:void 0,navTheme:e.navTheme,menuRender:e.menuRender,footerRender:e.footerRender,menuHeaderRender:e.menuHeaderRender,headerRender:e.headerRender,fixSiderbar:e.fixSiderbar}))},[e.layout,e.navTheme,e.menuRender,e.footerRender,e.menuHeaderRender,e.headerRender,e.fixSiderbar]),a},Ya=["id","defaultMessage"],Ja=["fixSiderbar","navTheme","layout"],yt=0,ka=function(e,n){var t;return e.headerRender===!1||e.pure?null:(0,u.jsx)(Za,(0,s.Z)((0,s.Z)({matchMenuKeys:n},e),{},{stylish:(t=e.stylish)===null||t===void 0?void 0:t.header}))},qa=function(e){return e.footerRender===!1||e.pure?null:e.footerRender?e.footerRender((0,s.Z)({},e),(0,u.jsx)(Cr.q,{})):null},eo=function(e,n){var t,a=e.layout,i=e.isMobile,o=e.selectedKeys,c=e.openKeys,d=e.splitMenus,v=e.suppressSiderWhenMenuEmpty,f=e.menuRender;if(e.menuRender===!1||e.pure)return null;var C=e.menuData;if(d&&(c!==!1||a==="mix")&&!i){var x=o||n,M=(0,F.Z)(x,1),w=M[0];if(w){var B;C=((B=e.menuData)===null||B===void 0||(B=B.find(function(W){return W.key===w}))===null||B===void 0?void 0:B.children)||[]}else C=[]}var I=(0,ln.QX)(C||[]);if(I&&(I==null?void 0:I.length)<1&&(d||v))return null;if(a==="top"&&!i){var $;return(0,u.jsx)(gt,(0,s.Z)((0,s.Z)({matchMenuKeys:n},e),{},{hide:!0,stylish:($=e.stylish)===null||$===void 0?void 0:$.sider}))}var _=(0,u.jsx)(gt,(0,s.Z)((0,s.Z)({matchMenuKeys:n},e),{},{menuData:I,stylish:(t=e.stylish)===null||t===void 0?void 0:t.sider}));return f?f(e,_):_},no=function(e,n){var t=n.pageTitleRender,a=Dn(e);if(t===!1)return{title:n.title||"",id:"",pageName:""};if(t){var i=t(e,a.title,a);if(typeof i=="string")return Dn((0,s.Z)((0,s.Z)({},a),{},{title:i}));(0,gr.ZP)(typeof i=="string","pro-layout: renderPageTitle return value should be a string")}return a},to=function(e,n,t){return e?n?64:t:0},ro=function(e){var n,t,a,i,o,c,d,v,f,C,x,M,w,B,I=e||{},$=I.children,_=I.onCollapse,W=I.location,T=W===void 0?{pathname:"/"}:W,L=I.contentStyle,y=I.route,R=I.defaultCollapsed,V=I.style,A=I.siderWidth,P=I.menu,ne=I.siderMenuType,de=I.isChildrenLayout,p=I.menuDataRender,ve=I.actionRef,Z=I.bgLayoutImgList,Y=I.formatMessage,ae=I.loading,pe=(0,m.useMemo)(function(){return A||(e.layout==="mix"?215:256)},[e.layout,A]),le=(0,m.useContext)(Ne.ZP.ConfigContext),Ze=(n=e.prefixCls)!==null&&n!==void 0?n:le.getPrefixCls("pro"),xe=(0,oe.Z)(!1,{value:P==null?void 0:P.loading,onChange:P==null?void 0:P.onLoadingChange}),Ce=(0,F.Z)(xe,2),we=Ce[0],Be=Ce[1],je=(0,m.useState)(function(){return yt+=1,"pro-layout-".concat(yt)}),Ae=(0,F.Z)(je,1),ze=Ae[0],Fe=(0,m.useCallback)(function(Ie){var Ue=Ie.id,Rn=Ie.defaultMessage,fn=(0,fe.Z)(Ie,Ya);if(Y)return Y((0,s.Z)({id:Ue,defaultMessage:Rn},fn));var mn=(0,Ea.e)();return mn[Ue]?mn[Ue]:Rn},[Y]),Ke=(0,kn.ZP)([ze,P==null?void 0:P.params],function(){var Ie=(0,te.Z)((0,se.Z)().mark(function Ue(Rn){var fn,mn,Lt,_t;return(0,se.Z)().wrap(function(en){for(;;)switch(en.prev=en.next){case 0:return mn=(0,F.Z)(Rn,2),Lt=mn[1],Be(!0),en.next=4,P==null||(fn=P.request)===null||fn===void 0?void 0:fn.call(P,Lt||{},(y==null?void 0:y.children)||(y==null?void 0:y.routes)||[]);case 4:return _t=en.sent,Be(!1),en.abrupt("return",_t);case 7:case"end":return en.stop()}},Ue)}));return function(Ue){return Ie.apply(this,arguments)}}(),{revalidateOnFocus:!1,shouldRetryOnError:!1,revalidateOnReconnect:!1}),un=Ke.data,Sn=Ke.mutate,Me=Ke.isLoading;(0,m.useEffect)(function(){Be(Me)},[Me]);var _e=(0,kn.kY)(),Le=_e.cache;(0,m.useEffect)(function(){return function(){Le instanceof Map&&Le.delete(ze)}},[]);var Zn=(0,m.useMemo)(function(){return Ga(un||(y==null?void 0:y.children)||(y==null?void 0:y.routes)||[],P,Fe,p)},[Fe,P,p,un,y==null?void 0:y.children,y==null?void 0:y.routes]),On=Zn||{},oo=On.breadcrumb,xt=On.breadcrumbMap,Ct=On.menuData,cn=Ct===void 0?[]:Ct;ve&&P!==null&&P!==void 0&&P.request&&(ve.current={reload:function(){Sn()}});var dn=(0,m.useMemo)(function(){return mr(T.pathname||"/",cn||[],!0)},[T.pathname,cn]),$n=(0,m.useMemo)(function(){return Array.from(new Set(dn.map(function(Ie){return Ie.key||Ie.path||""})))},[dn]),bt=dn[dn.length-1]||{},St=Qa(bt),Mn=(0,s.Z)((0,s.Z)({},e),St),io=Mn.fixSiderbar,Zo=Mn.navTheme,sn=Mn.layout,lo=(0,fe.Z)(Mn,Ja),Je=N(),ke=(0,m.useMemo)(function(){return(Je==="sm"||Je==="xs")&&!e.disableMobile},[Je,e.disableMobile]),uo=sn!=="top"&&!ke,co=(0,oe.Z)(function(){return R!==void 0?R:!!(ke||Je==="md")},{value:e.collapsed,onChange:_}),Zt=(0,F.Z)(co,2),vn=Zt[0],Mt=Zt[1],qe=(0,Jn.Z)((0,s.Z)((0,s.Z)((0,s.Z)({prefixCls:Ze},e),{},{siderWidth:pe},St),{},{formatMessage:Fe,breadcrumb:oo,menu:(0,s.Z)((0,s.Z)({},P),{},{type:ne||(P==null?void 0:P.type),loading:we}),layout:sn}),["className","style","breadcrumbRender"]),Wn=no((0,s.Z)((0,s.Z)({pathname:T.pathname},qe),{},{breadcrumbMap:xt}),e),so=Ka((0,s.Z)((0,s.Z)({},qe),{},{breadcrumbRender:e.breadcrumbRender,breadcrumbMap:xt}),e),In=eo((0,s.Z)((0,s.Z)({},qe),{},{menuData:cn,onCollapse:Mt,isMobile:ke,collapsed:vn}),$n),zn=ka((0,s.Z)((0,s.Z)({},qe),{},{children:null,hasSiderMenu:!!In,menuData:cn,isMobile:ke,collapsed:vn,onCollapse:Mt}),$n),It=qa((0,s.Z)({isMobile:ke,collapsed:vn},qe)),vo=(0,m.useContext)(pt.X),fo=vo.isChildrenLayout,Fn=de!==void 0?de:fo,He="".concat(Ze,"-layout"),Rt=Na(He),mo=Rt.wrapSSR,Kn=Rt.hashId,ho=q()(e.className,Kn,"ant-design-pro",He,(0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)((0,l.Z)({},"screen-".concat(Je),Je),"".concat(He,"-top-menu"),sn==="top"),"".concat(He,"-is-children"),Fn),"".concat(He,"-fix-siderbar"),io),"".concat(He,"-").concat(sn),sn)),go=to(!!uo,vn,pe),Tt={position:"relative"};(Fn||L&&L.minHeight)&&(Tt.minHeight=0),(0,m.useEffect)(function(){var Ie;(Ie=e.onPageChange)===null||Ie===void 0||Ie.call(e,e.location)},[T.pathname,(t=T.pathname)===null||t===void 0?void 0:t.search]);var po=(0,m.useState)(!1),Bt=(0,F.Z)(po,2),Pt=Bt[0],yo=Bt[1],xo=(0,m.useState)(0),jt=(0,F.Z)(xo,2),Et=jt[0],Co=jt[1];h(Wn,e.title||!1);var bo=(0,m.useContext)(J.L_),X=bo.token,wt=(0,m.useMemo)(function(){return Z&&Z.length>0?Z==null?void 0:Z.map(function(Ie,Ue){return(0,u.jsx)("img",{src:Ie.src,style:(0,s.Z)({position:"absolute"},Ie)},Ue)}):null},[Z]);return mo((0,u.jsx)(pt.X.Provider,{value:(0,s.Z)((0,s.Z)({},qe),{},{breadcrumb:so,menuData:cn,isMobile:ke,collapsed:vn,hasPageContainer:Et,setHasPageContainer:Co,isChildrenLayout:!0,title:Wn.pageName,hasSiderMenu:!!In,hasHeader:!!zn,siderWidth:go,hasFooter:!!It,hasFooterToolbar:Pt,setHasFooterToolbar:yo,pageTitleInfo:Wn,matchMenus:dn,matchMenuKeys:$n,currentMenu:bt}),children:e.pure?(0,u.jsx)(u.Fragment,{children:$}):(0,u.jsxs)("div",{className:ho,children:[wt||(a=X.layout)!==null&&a!==void 0&&a.bgLayout?(0,u.jsx)("div",{className:q()("".concat(He,"-bg-list"),Kn),children:wt}):null,(0,u.jsxs)(Ve.Z,{style:(0,s.Z)({minHeight:"100%",flexDirection:In?"row":void 0},V),children:[(0,u.jsx)(Ne.ZP,{theme:{hashed:(0,J.nu)(),token:{controlHeightLG:((i=X.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.menuHeight)||(X==null?void 0:X.controlHeightLG)},components:{Menu:j({colorItemBg:((o=X.layout)===null||o===void 0||(o=o.sider)===null||o===void 0?void 0:o.colorMenuBackground)||"transparent",colorSubItemBg:((c=X.layout)===null||c===void 0||(c=c.sider)===null||c===void 0?void 0:c.colorMenuBackground)||"transparent",radiusItem:X.borderRadius,colorItemBgSelected:((d=X.layout)===null||d===void 0||(d=d.sider)===null||d===void 0?void 0:d.colorBgMenuItemSelected)||(X==null?void 0:X.colorBgTextHover),colorItemBgHover:((v=X.layout)===null||v===void 0||(v=v.sider)===null||v===void 0?void 0:v.colorBgMenuItemHover)||(X==null?void 0:X.colorBgTextHover),colorItemBgActive:((f=X.layout)===null||f===void 0||(f=f.sider)===null||f===void 0?void 0:f.colorBgMenuItemActive)||(X==null?void 0:X.colorBgTextActive),colorItemBgSelectedHorizontal:((C=X.layout)===null||C===void 0||(C=C.sider)===null||C===void 0?void 0:C.colorBgMenuItemSelected)||(X==null?void 0:X.colorBgTextHover),colorActiveBarWidth:0,colorActiveBarHeight:0,colorActiveBarBorderSize:0,colorItemText:((x=X.layout)===null||x===void 0||(x=x.sider)===null||x===void 0?void 0:x.colorTextMenu)||(X==null?void 0:X.colorTextSecondary),colorItemTextHover:((M=X.layout)===null||M===void 0||(M=M.sider)===null||M===void 0?void 0:M.colorTextMenuItemHover)||"rgba(0, 0, 0, 0.85)",colorItemTextSelected:((w=X.layout)===null||w===void 0||(w=w.sider)===null||w===void 0?void 0:w.colorTextMenuSelected)||"rgba(0, 0, 0, 1)",popupBg:X==null?void 0:X.colorBgElevated,subMenuItemBg:X==null?void 0:X.colorBgElevated,darkSubMenuItemBg:"transparent",darkPopupBg:X==null?void 0:X.colorBgElevated})}},children:In}),(0,u.jsxs)("div",{style:Tt,className:"".concat(He,"-container ").concat(Kn).trim(),children:[zn,(0,u.jsx)(yr,(0,s.Z)((0,s.Z)({hasPageContainer:Et,isChildrenLayout:Fn},lo),{},{hasHeader:!!zn,prefixCls:He,style:L,children:ae?(0,u.jsx)(Ma.S,{}):$})),It,Pt&&(0,u.jsx)("div",{className:"".concat(He,"-has-footer"),style:{height:64,marginBlockStart:(B=X.layout)===null||B===void 0||(B=B.pageContainer)===null||B===void 0?void 0:B.paddingBlockPageContainerContent}})]})]})]})}))},ao=function(e){var n=e.colorPrimary,t=e.navTheme!==void 0?{dark:e.navTheme==="realDark"}:{};return(0,u.jsx)(Ne.ZP,{theme:n?{token:{colorPrimary:n}}:void 0,children:(0,u.jsx)(J._Y,(0,s.Z)((0,s.Z)({autoClearCache:!0},t),{},{token:e.token,prefixCls:e.prefixCls,children:(0,u.jsx)(ro,(0,s.Z)((0,s.Z)({logo:(0,u.jsx)(xr,{})},at.h),{},{location:(0,U.j)()?window.location:void 0},e))}))})}},83832:function(be,ye,g){"use strict";g.d(ye,{S:function(){return J}});var l=g(1413),se=g(91),te=g(75081),fe=g(67294),F=g(85893),s=["isLoading","pastDelay","timedOut","error","retry"],J=function(m){var ie=m.isLoading,ue=m.pastDelay,he=m.timedOut,N=m.error,U=m.retry,h=(0,se.Z)(m,s);return(0,F.jsx)("div",{style:{paddingBlockStart:100,textAlign:"center"},children:(0,F.jsx)(te.Z,(0,l.Z)({size:"large"},h))})}},76509:function(be,ye,g){"use strict";g.d(ye,{X:function(){return se}});var l=g(67294),se=(0,l.createContext)({})},90743:function(be,ye){var g;function l(h){"@babel/helpers - typeof";return l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol&&S!==Symbol.prototype?"symbol":typeof S},l(h)}g={value:!0},ye.Bo=g=g=g=g=g=g=void 0;function se(h){for(var S=[],b=0;b=48&&E<=57||E>=65&&E<=90||E>=97&&E<=122||E===95){ee+=h[O++];continue}break}if(!ee)throw new TypeError("Missing parameter name at "+b);S.push({type:"NAME",index:b,value:ee}),b=O;continue}if(j==="("){var H=1,Q="",O=b+1;if(h[O]==="?")throw new TypeError('Pattern cannot start with "?" at '+O);for(;O-1:Re===void 0;ee||(ce+="(?:"+me+"(?="+G+"))?"),$e||(ce+="(?="+me+"|"+G+")")}return new RegExp(ce,m(b))}g=N;function U(h,S,b){return h instanceof RegExp?ie(h,S):Array.isArray(h)?ue(h,S,b):he(h,S,b)}ye.Bo=U},78164:function(be,ye,g){"use strict";g.d(ye,{S:function(){return ie}});var l=g(15671),se=g(43144),te=g(97326),fe=g(60136),F=g(29388),s=g(4942),J=g(29905),oe=g(67294),m=g(85893),ie=function(ue){(0,fe.Z)(N,ue);var he=(0,F.Z)(N);function N(){var U;(0,l.Z)(this,N);for(var h=arguments.length,S=new Array(h),b=0;b-1&&(G=j[Se],j=j.slice(0,Se))}j&&(h.push(j),j="",E=!1);var Ee=G!==""&&me!==void 0&&me!==G,Oe=D==="+"||D==="*",Re=D==="?"||D==="*",$e=G||ee,De=z||re;h.push({name:ce||S++,prefix:G,delimiter:$e,optional:Re,repeat:Oe,partial:Ee,pattern:De?s(De):"[^"+F($e)+"]+?"})}return(j||b-1;else{var G=K.repeat?"(?:"+K.pattern+")(?:"+F(K.delimiter)+"(?:"+K.pattern+"))*":K.pattern;U&&U.push(K),K.optional?K.partial?H+=F(K.prefix)+"("+G+")?":H+="(?:"+F(K.prefix)+"("+G+"))?":H+=F(K.prefix)+"("+G+")"}}return j?(S||(H+="(?:"+ee+")?"),H+=E==="$"?"$":"(?="+E+")"):(S||(H+="(?:"+ee+"(?="+E+"))?"),Q||(H+="(?="+ee+"|"+E+")")),new RegExp(H,J(h))}function he(N,U,h){return N instanceof RegExp?oe(N,U):Array.isArray(N)?m(N,U,h):ie(N,U,h)}},64599:function(be,ye,g){var l=g(96263);function se(te,fe){var F=typeof Symbol!="undefined"&&te[Symbol.iterator]||te["@@iterator"];if(!F){if(Array.isArray(te)||(F=l(te))||fe&&te&&typeof te.length=="number"){F&&(te=F);var s=0,J=function(){};return{s:J,n:function(){return s>=te.length?{done:!0}:{done:!1,value:te[s++]}},e:function(he){throw he},f:J}}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 oe=!0,m=!1,ie;return{s:function(){F=F.call(te)},n:function(){var he=F.next();return oe=he.done,he},e:function(he){m=!0,ie=he},f:function(){try{!oe&&F.return!=null&&F.return()}finally{if(m)throw ie}}}}be.exports=se,be.exports.__esModule=!0,be.exports.default=be.exports}}]); diff --git a/dist/971.677bb358.async.js b/dist/971.677bb358.async.js deleted file mode 100644 index 448ab4f..0000000 --- a/dist/971.677bb358.async.js +++ /dev/null @@ -1 +0,0 @@ -"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.fc289021.js b/dist/_umi_route_preload_helper.fc289021.js new file mode 100644 index 0000000..85facf6 --- /dev/null +++ b/dist/_umi_route_preload_helper.fc289021.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":[["15.a664eb81.async.js",15],["134.6fc81d91.async.js",134],["169.57647c7d.async.js",169],["p__Welcome.61596037.async.js",185],["p__MoneyManagement.4138f9c6.async.js",190],["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.dec1a716.async.js",455],["p__Proxy__ProxyUserManagement.3e781dae.async.js",526],["531.35af34f5.async.js",531],["539.290aefb9.async.js",539],["p__AdvRecordListV2.93e34297.async.js",542],["p__Bind.b6ee068f.async.js",557],["559.016bfdbb.async.js",559],["p__404.0c100574.async.js",571],["635.8a884f26.async.js",635],["p__App__AppManagement.6464403a.async.js",731],["761.f7bbde11.async.js",761],["p__AdminManagement.22b52ba3.async.js",816],["841.614ef4c0.async.js",841],["p__AdvRecordList.fc092f59.async.js",857],["p__UserManagement.0ef1f876.async.js",903],["905.6e225d1b.async.js",905],["930.fca7adbf.async.js",930],["931.c2d40e0b.async.js",931],["p__Proxy__ProxyAdvRecordListV2.20a0f4c8.async.js",990]],"r":{"/*":[19,27],"/":[1,5,6,18,20,27],"/welcome":[1,2,3,10,18,28,5,6,20,27],"/super":[0,1,2,12,14,15,27,28,29,5,6,18,20],"/adminList":[0,1,2,14,15,22,23,27,5,6,18,20],"/bind":[1,2,10,11,17,18,28,5,6,20,27],"/appList":[1,2,11,14,15,21,27,28,29,5,6,18,20],"/advList/:code":[1,2,14,15,18,24,25,27,28,5,6,20],"/advListV2/:code":[0,1,2,14,15,16,18,24,27,28,5,6,20],"/user/:code":[0,1,2,14,15,26,27,28,5,6,18,20],"/money/:code":[0,1,2,4,14,15,27,28,5,6,18,20],"/app/:code":[1,2,8,14,15,18,24,27,28,5,6,20],"/user/login":[1,2,7,14],"/proxy/advListV2/:code":[0,1,2,14,15,18,24,27,28,30,5,6,20],"/proxy/user/:code":[0,1,2,13,14,15,27,28,5,6,18,20]}},{publicPath:"https://apks.bzgames.cn/matrix_fe/"});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.feec1793.js b/dist/_umi_route_preload_helper.feec1793.js deleted file mode 100644 index dfde180..0000000 --- a/dist/_umi_route_preload_helper.feec1793.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.6438f0bb.async.js",190],["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.579fe948.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.c08f72ac.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],["931.c2d40e0b.async.js",931],["971.677bb358.async.js",971],["p__Proxy__ProxyAdvRecordListV2.8a4ba9c6.async.js",990]],"r":{"/*":[18,26],"/":[0,4,5,17,19,26],"/welcome":[0,1,2,9,17,27,4,5,19,26],"/super":[0,1,11,13,14,26,27,28,4,5,17,19],"/adminList":[0,1,13,14,21,22,26,29,4,5,17,19],"/bind":[0,1,9,10,16,17,27,4,5,19,26],"/appList":[0,1,10,13,14,20,26,27,28,4,5,17,19],"/advList/:code":[0,1,13,14,17,23,24,26,27,4,5,19],"/advListV2/:code":[0,1,13,14,15,17,23,26,27,4,5,19],"/user/:code":[0,1,13,14,25,26,27,29,4,5,17,19],"/money/:code":[0,1,3,13,14,26,27,4,5,17,19],"/app/:code":[0,1,7,13,14,17,23,26,27,4,5,19],"/user/login":[0,1,6,13],"/proxy/advListV2/:code":[0,1,13,14,17,23,26,27,30,4,5,19],"/proxy/user/:code":[0,1,12,13,14,26,27,29,4,5,17,19]}},{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 13c6b54..772d99e 100644 --- a/dist/index.html +++ b/dist/index.html @@ -5,12 +5,12 @@ Ant Design Pro - + - +
- + \ No newline at end of file diff --git a/dist/p__AdminManagement.22b52ba3.async.js b/dist/p__AdminManagement.22b52ba3.async.js new file mode 100644 index 0000000..f99ca85 --- /dev/null +++ b/dist/p__AdminManagement.22b52ba3.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[816],{85099:function(ve,L,r){r.r(L),r.d(L,{default:function(){return ye}});var Q=r(15009),s=r.n(Q),z=r(99289),p=r.n(z),J=r(5574),h=r.n(J),E=r(48357),X=r(35312),o=r(8232),R=r(66309),x=r(71230),S=r(15746),D=r(14726),F=r(13169),j=r(72051),P=r(17788),M=r(55102),u=r(34041),Y=r(37804),V=r(16250),C=r(67294),je=r(72269),e=r(85893),pe=function(m){var U=function(){m.onSubmit()},y=[{title:"\u59D3\u540D",dataIndex:"name",ellipsis:!0},{title:"\u89D2\u8272",dataIndex:"role",render:function(I){var Z="";switch(I){case 1:Z="\u8D85\u7EA7\u7BA1\u7406\u5458";break;case 2:Z="\u7BA1\u7406\u5458";break;case 3:Z="\u6E38\u620F\u4E3B";break;case 4:Z="\u8BBE\u5907\u4E3B";break;default:Z=""}return Z}},{title:"\u9690\u85CF",render:function(I){return(0,e.jsx)(je.Z,{defaultValue:I.hide!==0,onClick:function(w){I.id&&(0,E.tQ)({adminId:I.id,hide:w?1:0})}},I.id)}}];return(0,e.jsx)(P.Z,{title:"\u6279\u91CF\u7F16\u8F91",visible:!0,footer:[],onCancel:U,children:(0,e.jsx)(j.Z,{columns:y,dataSource:m.data})})},xe=pe,Ze=r(19632),q=r.n(Ze),be=r(81072),Ce=r(3089),ge=r(55241),ae=r(86250),G=r(2453),ue=r(42767),Ee=function(m){var U=(0,C.useState)([]),y=h()(U,2),O=y[0],I=y[1],Z=(0,C.useState)([]),w=h()(Z,2),g=w[0],_=w[1],K=o.Z.useForm(),W=h()(K,1),k=W[0],ee=function(){var c=p()(s()().mark(function b(A){var l;return s()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,(0,E.yC)({adminId:A});case 2:l=B.sent,I(l.data||[]);case 4:case"end":return B.stop()}},b)}));return function(A){return c.apply(this,arguments)}}();return(0,C.useEffect)(function(){m.data.id&&ee(m.data.id)},[m.data.id]),(0,e.jsxs)(P.Z,{title:"\u7ED1\u5B9A\u8D26\u53F7",visible:!0,centered:!0,onCancel:function(){m.onCancel()},footer:[(0,e.jsx)(D.ZP,{onClick:function(){m.onCancel()},children:"\u53D6\u6D88"},"back"),(0,e.jsx)(ge.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:p()(s()().mark(function c(){var b;return s()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(b=[].concat(q()(O),q()(g)).map(function(T){return T.id}).filter(Boolean),!(m.data.id&&b)){l.next=7;break}return l.next=4,(0,E.cH)({adminId:m.data.id},b);case 4:m.onSubmit(),l.next=8;break;case 7:m.onCancel();case 8:case"end":return l.stop()}},c)})),children:"\u786E\u5B9A"})]}),children:(0,e.jsx)(D.ZP,{type:"primary",children:"\u4FDD\u5B58"})},"confirm")],children:[O.length>0&&(0,e.jsxs)(x.Z,{gutter:6,style:{marginTop:20},children:[(0,e.jsx)(S.Z,{span:4,children:"\u5DF2\u7ED1\u5B9A:"}),(0,e.jsx)(ae.Z,{vertical:!0,gap:"small",children:O.map(function(c){return(0,e.jsx)(x.Z,{children:(0,e.jsx)(ue.Z,{data:c})},c.id)})})]}),g.length>0&&(0,e.jsxs)(x.Z,{gutter:6,style:{marginTop:20},children:[(0,e.jsx)(S.Z,{span:4,children:"\u672C\u6B21\u65B0\u589E:"}),(0,e.jsx)(ae.Z,{vertical:!0,gap:"small",children:g.map(function(c){return(0,e.jsxs)(x.Z,{children:[(0,e.jsx)(ue.Z,{data:c}),(0,e.jsx)(Ce.Z,{style:{marginLeft:20},onClick:function(){_(g.filter(function(A){return A.id!==c.id}))}})]},c.id)})})]}),(0,e.jsx)(o.Z,{style:{marginTop:20},labelCol:{span:4},wrapperCol:{span:18},form:k,onFinish:function(){var c=p()(s()().mark(function b(A){var l,T;return s()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:if(l=A.uid,l){v.next=4;break}return G.ZP.error("uid\u4E0D\u80FD\u4E3A\u7A7A"),v.abrupt("return");case 4:if(!(m.data.id&&l)){v.next=15;break}if(!(g.filter(function($){return $.id===l}).length>0)){v.next=8;break}return G.ZP.error("\u8BE5\u8D26\u53F7\u5DF2\u6DFB\u52A0"),v.abrupt("return");case 8:if(!(O.filter(function($){return $.id===l}).length>0)){v.next=11;break}return G.ZP.error("\u8BE5\u8D26\u53F7\u5DF2\u6DFB\u52A0"),v.abrupt("return");case 11:return v.next=13,(0,be.fn)({adminId:m.data.id,userId:l});case 13:T=v.sent,T.data?_([].concat(q()(g),[T.data])):G.ZP.error("uid\u975E\u6CD5");case 15:case"end":return v.stop()}},b)}));return function(b){return c.apply(this,arguments)}}(),children:(0,e.jsxs)(x.Z,{children:[(0,e.jsx)(o.Z.Item,{name:"uid",label:"uid",children:(0,e.jsx)(Y.Z,{style:{width:200}})}),(0,e.jsx)(o.Z.Item,{wrapperCol:{offset:8,span:16},children:(0,e.jsx)(D.ZP,{type:"primary",htmlType:"submit",children:"\u6DFB\u52A0"})})]})})]})},Se=Ee,Fe=function(){var m=(0,C.useState)([]),U=h()(m,2),y=U[0],O=U[1],I=(0,C.useState)(!1),Z=h()(I,2),w=Z[0],g=Z[1],_=(0,C.useState)(void 0),K=h()(_,2),W=K[0],k=K[1],ee=(0,C.useState)(!1),c=h()(ee,2),b=c[0],A=c[1],l=(0,C.useState)(!1),T=h()(l,2),B=T[0],v=T[1],$=(0,C.useState)(0),se=h()($,2),le=se[0],ne=se[1],Ie=o.Z.useForm(),Ae=h()(Ie,1),N=Ae[0],Be=(0,C.useState)([]),de=h()(Be,2),oe=de[0],De=de[1],Pe=(0,X.useModel)("@@initialState"),re=Pe.initialState,f=re==null?void 0:re.currentUser,te=function(a){return a?parseFloat((a/1e5).toFixed(2)):0},ce=function(a){var n=oe.find(function(d){return d.id===a});return n?n.name:""},me=function(a){N.setFieldsValue(a),g(!0),v(!0),ne(a.role?a.role:0)},fe=[{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)(R.Z,{color:"blue",children:ce(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 me(a)},children:"\u7F16\u8F91"},"edit")]}}],he=[{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)(R.Z,{color:"blue",children:ce(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 d;return te((d=n.overview)===null||d===void 0?void 0:d.thisMonthIncome)}},{title:"\u4E0A\u6708\u6536\u5165\uFF08\u5143\uFF09",dataIndex:"incomeLastMonth",render:function(a,n){var d;return te((d=n.overview)===null||d===void 0?void 0:d.lastMonthIncome)}},{title:"\u7D2F\u8BA1\u6536\u5165\uFF08\u5143\uFF09",dataIndex:"incomeTotal",render:function(a,n){var d;return te((d=n.overview)===null||d===void 0?void 0:d.totalIncome)}},{title:"\u5F53\u524D\u5206\u6210\u6BD4\u4F8B",dataIndex:"incomeRate"},{title:"\u64CD\u4F5C",render:function(a){return(0,e.jsxs)(x.Z,{gutter:6,children:[(0,e.jsx)(S.Z,{children:(0,e.jsx)("a",{onClick:function(){return me(a)},children:"\u7F16\u8F91"},"edit")}),a.role===5&&(0,e.jsx)(S.Z,{children:(0,e.jsx)("a",{onClick:function(){k(a)},children:"\u7ED1\u5B9A\u8D26\u53F7"},"grant")})]})}}],Oe=function(){N.submit()},Te=function(){g(!1)},H=function(){var t=p()(s()().mark(function a(){var n;return s()().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&&O(n.data);case 4:case"end":return i.stop()}},a)}));return function(){return t.apply(this,arguments)}}(),Me=function(){var t=p()(s()().mark(function a(){var n;return s()().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&&De(n.data);case 4:case"end":return i.stop()}},a)}));return function(){return t.apply(this,arguments)}}();(0,C.useEffect)(function(){H(),Me()},[]);var Ue=function(){N.resetFields(),g(!0),v(!1),ne(0)},we=function(){var t=p()(s()().mark(function a(n){return s()().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:g(!1),H();case 10:case"end":return i.stop()}},a,null,[[0,5]])}));return function(n){return t.apply(this,arguments)}}();return(0,e.jsxs)("div",{children:[(0,e.jsxs)(x.Z,{align:"stretch",gutter:20,children:[(0,e.jsx)(S.Z,{children:(0,e.jsx)(D.ZP,{onClick:Ue,children:"\u65B0\u5EFA\u8D26\u53F7"})}),(0,e.jsx)(S.Z,{children:(0,e.jsx)(D.ZP,{onClick:function(){A(!0)},children:"\u6279\u91CF\u7F16\u8F91"})})]}),(0,e.jsxs)(F.Z,{centered:!0,style:{backgroundColor:"white",padding:"20px",marginTop:20},children:[(f==null?void 0:f.role)&&f.role<3&&(0,e.jsx)(V.Z,{tab:"\u6E38\u620F\u4E3B",children:(0,e.jsx)(j.Z,{columns:fe,dataSource:y.filter(function(t){return t.role===3&&t.hide===0})})},"1"),(0,e.jsx)(V.Z,{tab:"\u8BBE\u5907\u4E3B",children:(0,e.jsx)(j.Z,{columns:he,dataSource:y.filter(function(t){return t.role===4&&t.hide===0})})},"2"),(0,e.jsx)(V.Z,{tab:"\u4EE3\u7406",children:(0,e.jsx)(j.Z,{columns:he,dataSource:y.filter(function(t){return t.role===5&&t.hide===0})})},"3"),(f==null?void 0:f.role)&&f.role<2&&(0,e.jsx)(V.Z,{tab:"\u7BA1\u7406\u5458",children:(0,e.jsx)(j.Z,{columns:fe,dataSource:y.filter(function(t){return t.role===2&&t.hide===0})})},"4")]}),(0,e.jsx)(P.Z,{title:"\u7F16\u8F91",visible:w,onOk:Oe,onCancel:Te,children:(0,e.jsxs)(o.Z,{labelCol:{span:4},wrapperCol:{span:18},form:N,onFinish:we,children:[(0,e.jsx)(o.Z.Item,{name:"id",style:{display:"none"},children:(0,e.jsx)(M.Z,{type:"hidden"})}),(0,e.jsx)(o.Z.Item,{label:"\u7528\u6237\u540D",name:"name",children:(0,e.jsx)(M.Z,{disabled:B})}),(0,e.jsx)(o.Z.Item,{label:"\u5BC6\u7801",name:"password",children:(0,e.jsx)(M.Z.Password,{disabled:B})}),(0,e.jsx)(o.Z.Item,{label:"\u5E94\u7528",name:"appIds",children:(0,e.jsx)(u.Z,{filterOption:function(a,n){var d=typeof(n==null?void 0:n.children)=="string"?n.children:"";return d.toLowerCase().includes(a.toLowerCase())},showSearch:!0,mode:"multiple",children:oe.map(function(t){return(0,e.jsx)(u.Z.Option,{value:t.id,children:t.name},t.id)})})}),(0,e.jsx)(o.Z.Item,{label:"\u89D2\u8272",name:"role",children:(0,e.jsxs)(u.Z,{disabled:B,onSelect:ne,children:[(0,e.jsx)(u.Z.Option,{disabled:(f==null?void 0:f.role)&&f.role>1,value:2,children:"\u7BA1\u7406\u5458"}),(0,e.jsx)(u.Z.Option,{disabled:(f==null?void 0:f.role)&&f.role>2,value:3,children:"\u6E38\u620F\u4E3B"}),(0,e.jsx)(u.Z.Option,{value:4,children:"\u8BBE\u5907\u4E3B"}),(0,e.jsx)(u.Z.Option,{value:5,children:"\u4EE3\u7406"})]})}),le>3&&(0,e.jsxs)(x.Z,{children:[(0,e.jsx)(S.Z,{span:12,children:(0,e.jsx)(o.Z.Item,{labelCol:{span:8},label:"\u6536\u5165\u6BD4\u4F8B",name:"incomeRate",children:(0,e.jsx)(Y.Z,{placeholder:"1-100\u6574\u6570",style:{width:"80%"}})})}),le===4?(0,e.jsx)(S.Z,{span:12,children:(0,e.jsx)(o.Z.Item,{labelCol:{span:8},label:"\u8BBE\u5907\u6570",name:"deviceCnt",children:(0,e.jsx)(Y.Z,{style:{width:"80%"}})})}):""]})]})}),b&&(0,e.jsx)(xe,{data:y,onSubmit:function(){A(!1),H()}}),W&&(0,e.jsx)(Se,{data:W,onCancel:function(){k(void 0)},onSubmit:function(){k(void 0),H()}})]})},ye=Fe},81072:function(ve,L,r){r.d(L,{fn:function(){return S},pb:function(){return R},wv:function(){return X}});var Q=r(15009),s=r.n(Q),z=r(97857),p=r.n(z),J=r(99289),h=r.n(J),E=r(35312);function X(F,j){return o.apply(this,arguments)}function o(){return o=h()(s()().mark(function F(j,P){return s()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",(0,E.request)("/api/admin/user/changeStatus",p()({method:"POST",params:p()({},j)},P||{})));case 1:case"end":return u.stop()}},F)})),o.apply(this,arguments)}function R(F,j){return x.apply(this,arguments)}function x(){return x=h()(s()().mark(function F(j,P){return s()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",(0,E.request)("/api/admin/user/list",p()({method:"POST",headers:{"Content-Type":"application/json"},data:j},P||{})));case 1:case"end":return u.stop()}},F)})),x.apply(this,arguments)}function S(F,j){return D.apply(this,arguments)}function D(){return D=h()(s()().mark(function F(j,P){return s()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",(0,E.request)("/api/admin/user/queryById",p()({method:"GET",params:p()({},j)},P||{})));case 1:case"end":return u.stop()}},F)})),D.apply(this,arguments)}}}]); diff --git a/dist/p__AdminManagement.3439b2cb.async.js b/dist/p__AdminManagement.3439b2cb.async.js deleted file mode 100644 index fee7d7a..0000000 --- a/dist/p__AdminManagement.3439b2cb.async.js +++ /dev/null @@ -1 +0,0 @@ -"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 deleted file mode 100644 index ba6e241..0000000 --- a/dist/p__AdvRecordListV2.185cc304.async.js +++ /dev/null @@ -1 +0,0 @@ -"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.93e34297.async.js b/dist/p__AdvRecordListV2.93e34297.async.js new file mode 100644 index 0000000..4a7dc92 --- /dev/null +++ b/dist/p__AdvRecordListV2.93e34297.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[542],{40110:function(Z,D,e){var O=e(1413),i=e(67294),M=e(509),o=e(91146),I=function(u,P){return i.createElement(o.Z,(0,O.Z)((0,O.Z)({},u),{},{ref:P,icon:M.Z}))},f=i.forwardRef(I);D.Z=f},86408:function(Z,D,e){e.r(D);var O=e(97857),i=e.n(O),M=e(15009),o=e.n(M),I=e(99289),f=e.n(I),R=e(5574),u=e.n(R),P=e(48357),V=e(11415),l=e(39615),F=e(90930),z=e(67539),$=e(57470),A=e(64317),N=e(34540),w=e(13169),C=e(16250),G=e(27484),H=e.n(G),J=e(9220),c=e(67294),Q=e(96974),m=e(58125),X=e(42767),a=e(85893),Y=function(){var U=(0,c.useRef)(),k=(0,c.useState)(void 0),b=u()(k,2),S=b[0],q=b[1],v=function(){return window.innerWidth<=768},ee=(0,c.useState)({deviceId:{show:!v()},appName:{show:!v()},platform:{show:!v()},deviceBrand:{show:!v()},deviceName:{show:!v()},ip:{show:!v()},advType:{show:!v()}}),B=u()(ee,2),te=B[0],ae=B[1],ne=[{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(t){return t/100}},{title:"\u91D1\u5E01",dataIndex:"ecpmReal",hideInSearch:!0,renderText:function(t){return t}},{title:"\u8BBE\u5907",dataIndex:"device",hideInSearch:!0,renderText:function(t,r){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{children:r.deviceBrand}),(0,a.jsx)("p",{children:r.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(t,r){if(r.user)return(0,a.jsx)(X.Z,{data:r.user})}},{title:"\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u65F6\u95F4",hideInTable:!0,dataIndex:"createdAt",valueType:"dateRange"}],re=(0,Q.UO)(),x=re.code,_e=(0,c.useState)(),y=u()(_e,2),d=y[0],se=y[1],de=(0,c.useState)([]),K=u()(de,2),L=K[0],ie=K[1],T=l.Z.Divider,oe=(0,c.useState)(!1),W=u()(oe,2),p=W[0],ue=W[1],le=function(){var n=f()(o()().mark(function t(r){var s;return o()().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return _.next=2,(0,P.d1)({appCode:r});case 2:s=_.sent,s.data&&se(s.data);case 4:case"end":return _.stop()}},t)}));return function(r){return n.apply(this,arguments)}}(),g=function(){var n=f()(o()().mark(function t(r){var s;return o()().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return _.next=2,(0,P.Zb)(i()(i()({},r),{},{code:x}));case 2:s=_.sent,s.data&&ie(s.data);case 4:case"end":return _.stop()}},t)}));return function(r){return n.apply(this,arguments)}}();(0,c.useEffect)(function(){var n;(n=U.current)===null||n===void 0||n.reload(),le(x),g({code:x})},[x]);var ce=L.map(function(n){return{date:function(){var t=n.date+"",r=t.slice(0,4),s=t.slice(4,6),E=t.slice(6,8);return"".concat(r,"-").concat(s,"-").concat(E)}(),income:(0,m.P)(n.income)}}),me={data:ce,xField:"date",yField:"income",tooltip:{name:"\u6536\u5165",field:"income"},axis:{date:{title:"\u65E5\u671F"}},title:"\u7D2F\u8BA1"+(0,m.P)(L.reduce(function(n,t){return n+(t.income?t.income:0)},0))+"\u5143",height:400,label:{text:function(t){return t.income>0?t.income:""},textBaseline:"bottom"}};return(0,a.jsx)(F._z,{children:(0,a.jsxs)(w.Z,{defaultActiveKey:"1",centered:!0,style:{backgroundColor:"white",padding:"20px"},children:[(0,a.jsx)(C.Z,{tab:"\u5E7F\u544A\u8BE6\u60C5",children:(0,a.jsx)(z.Z,{headerTitle:S?"\u8868\u683C\u7D2F\u8BA1\uFF1A"+(0,m.P)(S)+"\u5143":"",actionRef:U,rowKey:"key",search:{labelWidth:120},request:function(){var n=f()(o()().mark(function t(r){var s,E,_,j;return o()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,(0,P._5)(i()(i()({},r),{},{code:x}));case 2:return _=h.sent,r.current===1&&q((j=_.data)===null||j===void 0?void 0:j.sum),h.abrupt("return",{data:(s=_.data)===null||s===void 0?void 0:s.data,total:(E=_.data)===null||E===void 0?void 0:E.total,success:!0});case 5:case"end":return h.stop()}},t)}));return function(t){return n.apply(this,arguments)}}(),columns:ne,columnsState:{value:te,onChange:function(t){ae(t)}}})},"1"),(0,a.jsxs)(C.Z,{tab:"\u6570\u636E\u603B\u89C8",children:[(0,a.jsx)(J.Z,{onResize:function(t){ue(t.width<596)},children:(0,a.jsx)(l.Z,{children:(0,a.jsxs)(l.Z.Group,{direction:p?"column":"row",children:[(0,a.jsx)(l.Z,{statistic:{title:"\u4E0A\u6708\u6536\u5165\uFF08\u5143\uFF09",value:(0,m.P)(d==null?void 0:d.lastMonthIncome)}}),(0,a.jsx)(T,{type:p?"horizontal":"vertical"}),(0,a.jsx)(l.Z,{statistic:{title:"\u672C\u6708\u6536\u5165\uFF08\u5143\uFF09",value:(0,m.P)(d==null?void 0:d.thisMonthIncome)}}),(0,a.jsx)(T,{type:p?"horizontal":"vertical"}),(0,a.jsx)(l.Z,{statistic:{title:"\u4ECA\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:(0,m.P)(d==null?void 0:d.todayIncome)}}),(0,a.jsx)(T,{type:p?"horizontal":"vertical"}),(0,a.jsx)(l.Z,{statistic:{title:"\u6628\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:(0,m.P)(d==null?void 0:d.yesterdayIncome)}})]})})},"resize-observer"),(0,a.jsxs)($.t,{defaultCollapsed:!0,split:!0,onFinish:g,children:[(0,a.jsx)(A.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,a.jsx)(A.Z,{name:"advType",label:"\u5E7F\u544A\u7C7B\u578B",valueEnum:{1:"\u6A2A\u5E45",2:"\u63D2\u9875",3:"\u6FC0\u52B1\u89C6\u9891"}}),(0,a.jsx)(N.Z,{fieldProps:{disabledDate:function(t){return t&&t>=H()().startOf("day")}},name:"date",label:"\u65F6\u95F4"})]}),(0,a.jsx)(V.Z,i()({},me))]},"2")]})})};D.default=Y}}]); diff --git a/dist/p__App__AppManagement.6464403a.async.js b/dist/p__App__AppManagement.6464403a.async.js new file mode 100644 index 0000000..3fbdb6b --- /dev/null +++ b/dist/p__App__AppManagement.6464403a.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[731],{75385:function(Ae,re,r){r.r(re),r.d(re,{default:function(){return En}});var Y=r(90930),I=r(35312),te=r(15009),u=r.n(te),ue=r(99289),Z=r.n(ue),k=r(5574),E=r.n(k),P=r(48357),z=r(67539),J=r(55241),W=r(10397),C=r(55102),j=r(67294),se=r(97857),w=r.n(se);function ee(y,n){return ne.apply(this,arguments)}function ne(){return ne=Z()(u()().mark(function y(n,i){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,I.request)("/api/admin/app/aliPayConfig",w()({method:"GET",params:w()({},n)},i||{})));case 1:case"end":return a.stop()}},y)})),ne.apply(this,arguments)}function me(y,n,i){return fe.apply(this,arguments)}function fe(){return fe=Z()(u()().mark(function y(n,i,b){return u()().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return A.abrupt("return",(0,I.request)("/api/admin/app/aliPayConfig",w()({method:"POST",headers:{"Content-Type":"application/json"},params:w()({},n),data:i},b||{})));case 1:case"end":return A.stop()}},y)})),fe.apply(this,arguments)}function he(y,n){return ve.apply(this,arguments)}function ve(){return ve=Z()(u()().mark(function y(n,i){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,I.request)("/api/admin/app/basicConfig",w()({method:"GET",params:w()({},n)},i||{})));case 1:case"end":return a.stop()}},y)})),ve.apply(this,arguments)}function ge(y,n){return Ce.apply(this,arguments)}function Ce(){return Ce=Z()(u()().mark(function y(n,i){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,I.request)("/api/admin/app/basicConfig",w()({method:"POST",headers:{"Content-Type":"application/json"},data:n},i||{})));case 1:case"end":return a.stop()}},y)})),Ce.apply(this,arguments)}function ye(y,n){return D.apply(this,arguments)}function D(){return D=Z()(u()().mark(function y(n,i){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,I.request)("/api/admin/app/normalConfig",w()({method:"GET",params:w()({},n)},i||{})));case 1:case"end":return a.stop()}},y)})),D.apply(this,arguments)}function s(y,n,i){return m.apply(this,arguments)}function m(){return m=Z()(u()().mark(function y(n,i,b){return u()().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return A.abrupt("return",(0,I.request)("/api/admin/app/normalConfig",w()({method:"POST",headers:{"Content-Type":"application/json"},params:w()({},n),data:i},b||{})));case 1:case"end":return A.stop()}},y)})),m.apply(this,arguments)}function o(y,n){return l.apply(this,arguments)}function l(){return l=Z()(u()().mark(function y(n,i){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,I.request)("/api/admin/app/uMengConfig",w()({method:"GET",params:w()({},n)},i||{})));case 1:case"end":return a.stop()}},y)})),l.apply(this,arguments)}function H(y,n,i){return be.apply(this,arguments)}function be(){return be=Z()(u()().mark(function y(n,i,b){return u()().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return A.abrupt("return",(0,I.request)("/api/admin/app/uMengConfig",w()({method:"POST",headers:{"Content-Type":"application/json"},params:w()({},n),data:i},b||{})));case 1:case"end":return A.stop()}},y)})),be.apply(this,arguments)}function we(y,n){return ie.apply(this,arguments)}function ie(){return ie=_asyncToGenerator(_regeneratorRuntime().mark(function y(n,i){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)},i||{})));case 1:case"end":return a.stop()}},y)})),ie.apply(this,arguments)}function Ke(y,n,i){return je.apply(this,arguments)}function je(){return je=_asyncToGenerator(_regeneratorRuntime().mark(function y(n,i,b){return _regeneratorRuntime().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return A.abrupt("return",request("/api/admin/app/wxConfig",_objectSpread({method:"POST",headers:{"Content-Type":"application/json"},params:_objectSpread({},n),data:i},b||{})));case 1:case"end":return A.stop()}},y)})),je.apply(this,arguments)}var pe=r(1413),Oe=r(93696),q=r(91146),De=function(n,i){return j.createElement(q.Z,(0,pe.Z)((0,pe.Z)({},n),{},{ref:i,icon:Oe.Z}))},Te=j.forwardRef(De),X=Te,Ie=r(3089),Be=r(42110),Ue=function(n,i){return j.createElement(q.Z,(0,pe.Z)((0,pe.Z)({},n),{},{ref:i,icon:Be.Z}))},Me=j.forwardRef(Ue),$e=Me,t=r(8232),Ze=r(17788),_e=r(72269),oe=r(37804),ce=r(83062),ke=r(71230),ae=r(14726),Re=r(15746),e=r(85893),Qe=function(n){var i=t.Z.useForm(),b=E()(i,1),a=b[0],A=function(){a.submit()},R=function(){n.onCancel()},V=function(){var d=Z()(u()().mark(function x(c){var h;return u()().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return O.next=2,ye({appCode:c});case 2:h=O.sent,a.setFieldsValue(h.data);case 4:case"end":return O.stop()}},x)}));return function(c){return d.apply(this,arguments)}}();(0,j.useEffect)(function(){V(n.appCode)},[n.appCode]);var L=function(){var d=Z()(u()().mark(function x(c){return u()().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:return F.prev=0,F.next=3,s({appCode:n.appCode},c);case 3:F.next=8;break;case 5:return F.prev=5,F.t0=F.catch(0),F.abrupt("return");case 8:n.onSubmit();case 9:case"end":return F.stop()}},x,null,[[0,5]])}));return function(c){return d.apply(this,arguments)}}(),T={labelCol:{xs:{span:24},sm:{span:6}},wrapperCol:{xs:{span:24},sm:{span:20}}},f={wrapperCol:{xs:{span:24,offset:10},sm:{span:20,offset:6}}};return(0,e.jsx)(Ze.Z,{title:"\u7F16\u8F91",visible:n.updateModalOpen,onOk:A,onCancel:R,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)(_e.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"pangolinDailyLimit",label:"\u7A7F\u5C71\u7532\u6BCF\u65E5\u6B21\u6570",children:(0,e.jsx)(oe.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"tencentDailyLimit",label:"\u5E7F\u544A\u6BCF\u65E5\u6B21\u6570",children:(0,e.jsx)(oe.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"videoDuration",label:"\u89C6\u9891\u5E7F\u544A\u95F4\u9694(\u79D2)",children:(0,e.jsx)(oe.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"popUpDuration",label:"\u63D2\u9875\u5E7F\u544A\u95F4\u9694(\u79D2)",children:(0,e.jsx)(oe.Z,{})}),(0,e.jsx)(t.Z.List,{name:"moneyLadder",children:function(x,c){var h=c.add,F=c.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)(ce.Z,{title:"\u7528\u6237\u53EF\u9009\u7684\u63D0\u73B0\u91D1\u989D\u6863\u4F4D\uFF0C\u5355\u4F4D\u5206",children:(0,e.jsx)(X,{})})})]}),required:!1,children:[(0,e.jsx)(ke.Z,{children:x.map(function(O){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,w()(w()({},O),{},{validateTrigger:["onChange","onBlur"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u91D1\u989D\u6216\u8005\u5220\u9664"}],noStyle:!0,children:(0,e.jsx)(oe.Z,{placeholder:"\u91D1\u989D\uFF0C\u5355\u4F4D\u5206"})})),(0,e.jsx)(Ie.Z,{style:{marginLeft:4},className:"dynamic-delete-button",onClick:function(){return F(O.name)}})]})},O.key)})}),(0,e.jsx)(t.Z.Item,w()(w()({},f),{},{children:(0,e.jsx)(ae.ZP,{type:"dashed",onClick:function(){return h()},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)(ce.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)(X,{})})})]}),children:(0,e.jsx)(oe.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)(C.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)(ce.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)(X,{})})})]}),children:(0,e.jsx)(oe.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)(ce.Z,{title:"\u770B\u4E00\u6761\u89C6\u9891\u6700\u591A\u80FD\u83B7\u5F97\u7684\u94B1\uFF0C\u5355\u4F4D\u5206",children:(0,e.jsx)(X,{})})})]}),children:(0,e.jsx)(oe.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)(oe.Z,{style:{width:"60%"}})}),(0,e.jsx)(t.Z.List,{name:"dayRates",children:function(x,c){var h=c.add,F=c.remove;return(0,e.jsxs)(e.Fragment,{children:[x.map(function(O,$){var U=O.key,M=O.name;return(0,e.jsx)(e.Fragment,{children:(0,j.createElement)(t.Z.Item,w()(w()({},$===0?T:f),{},{label:$===0?"\u7279\u6B8A\u65E5\u5206\u6210\u6BD4\u4F8B":"",required:!1,key:U}),(0,e.jsxs)(ke.Z,{align:"stretch",gutter:16,children:[(0,e.jsx)(Re.Z,{span:8,children:(0,e.jsx)(t.Z.Item,{name:[M,"day"],rules:[{required:!0}],children:(0,e.jsx)(C.Z,{placeholder:"Day"})})}),(0,e.jsx)(Re.Z,{span:8,children:(0,e.jsx)(t.Z.Item,{name:[M,"rate"],rules:[{required:!0}],children:(0,e.jsx)(C.Z,{placeholder:"Rate"})})}),(0,e.jsx)(Re.Z,{children:(0,e.jsx)(Ie.Z,{onClick:function(){return F(M)}})})]},U))})}),(0,e.jsx)(t.Z.Item,w()(w()({},f),{},{children:(0,e.jsx)(ae.ZP,{type:"dashed",onClick:function(){return h()},block:!0,children:"\u6DFB\u52A0\u7279\u6B8A\u65E5\u5206\u6210\u6BD4\u4F8B"})}))]})}})]})})},Je=Qe,Ye=function(){var n=(0,j.useState)(!1),i=E()(n,2),b=i[0],a=i[1],A=(0,j.useState)([]),R=E()(A,2),V=R[0],L=R[1],T=(0,j.useState)([]),f=E()(T,2),d=f[0],x=f[1],c=(0,I.useModel)("@@initialState"),h=c.initialState,F=h==null?void 0:h.currentUser,O=F&&F.role&&F.role<=3,$=(0,j.useState)(),U=E()($,2),M=U[0],G=U[1],g=function(_){var B=V.filter(function(v){var S;return v==null||(S=v.name)===null||S===void 0?void 0:S.includes(_)});x(B)},N=[{title:"\u5E94\u7528\u540D",dataIndex:"name",copyable:!0,hideInSearch:!0},{title:"\u5E94\u7528\u56FE\u7247",dataIndex:"img",hideInSearch:!0,renderText:function(_){return(0,e.jsx)("img",{style:{width:"40px"},src:_})}},{title:"code",dataIndex:"code",copyable:!0,hideInSearch:!0},{title:"\u4E0B\u8F7D\u5730\u5740",dataIndex:"url",width:200,hideInSearch:!0,renderText:function(_){return(0,e.jsx)(J.Z,{overlayInnerStyle:{padding:0},content:(0,e.jsx)(W.Z,{value:_||"",bordered:!1}),children:(0,e.jsx)("a",{style:{wordBreak:"break-word"},children:_})})}},{title:"\u64CD\u4F5C",width:80,hideInSearch:!0,renderText:function(_){if(_.enableCash&&O)return(0,e.jsx)("a",{onClick:function(){G(_.code),a(!0)},children:"\u7F16\u8F91"},"edit")}}],K=function(){var p=Z()(u()().mark(function _(){var B;return u()().wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return S.next=2,(0,P.ln)();case 2:B=S.sent,B.data&&(L(B.data),x(B.data));case 4:case"end":return S.stop()}},_)}));return function(){return p.apply(this,arguments)}}();return(0,j.useEffect)(function(){K()},[]),(0,e.jsxs)(Y._z,{children:[(0,e.jsx)(z.Z,{search:{defaultCollapsed:!1,optionRender:function(){return[(0,e.jsx)(C.Z,{placeholder:"\u8BF7\u8F93\u5165\u5E94\u7528\u540D",onChange:function(B){return g(B.target.value)}},"name")]}},onReset:function(){x(V)},columns:N,dataSource:d}),M&&(0,e.jsx)(Je,{updateModalOpen:b,appCode:M||"",onCancel:function(){return a(!1)},onSubmit:function(){a(!1)}})]})},qe=Ye,Le=r(52043),en=r(40110),nn=r(42075),xe=r(66309),an=r(86250),rn={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"},tn=rn,un=function(n,i){return j.createElement(q.Z,(0,pe.Z)((0,pe.Z)({},n),{},{ref:i,icon:tn}))},sn=j.forwardRef(un),Fe=sn,Se=r(66476),Pe=C.Z.TextArea,ln=function(n){var i=t.Z.useForm(),b=E()(i,1),a=b[0],A=function(){a.submit()},R=function(){n.onCancel()},V=function(){var T=Z()(u()().mark(function f(d){var x;return u()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,ee({appCode:d});case 2:x=h.sent,a.setFieldsValue(x.data);case 4:case"end":return h.stop()}},f)}));return function(d){return T.apply(this,arguments)}}();(0,j.useEffect)(function(){V(n.appCode)},[n.appCode]);var L=function(){var T=Z()(u()().mark(function f(d){return u()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.prev=0,c.next=3,me({appCode:n.appCode},d);case 3:c.next=8;break;case 5:return c.prev=5,c.t0=c.catch(0),c.abrupt("return");case 8:n.onSubmit();case 9:case"end":return c.stop()}},f,null,[[0,5]])}));return function(d){return T.apply(this,arguments)}}();return(0,e.jsx)(Ze.Z,{title:"\u7F16\u8F91",visible:n.updateModalOpen,onOk:A,onCancel:R,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)(ce.Z,{title:"\u652F\u4ED8\u5B9D\u5F00\u653E\u5E73\u53F0\u83B7\u53D6\uFF0Chttps://open.alipay.com/develop/manage",children:(0,e.jsx)(X,{})})})]}),children:(0,e.jsx)(C.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)(ce.Z,{title:"\u5BC6\u94A5\u5DE5\u5177\u751F\u6210",children:(0,e.jsx)(X,{})})})]}),children:(0,e.jsxs)(C.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)(Se.Z,{name:"file",multiple:!1,onChange:function(f){if(f.file.status!=="uploading"){var d=new FileReader;d.onload=function(){a.setFieldsValue({aliPayPrivateKey:d.result})},d.readAsText(f.file.originFileObj)}},showUploadList:!1,style:{width:"100px"},children:(0,e.jsx)(ae.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(Fe,{}),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)(ce.Z,{title:"\u652F\u4ED8\u5B9D\u5F00\u653E\u5E73\u53F0\u4E0B\u8F7D",children:(0,e.jsx)(X,{})})})]}),children:(0,e.jsxs)(C.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)(Se.Z,{name:"file",multiple:!1,onChange:function(f){if(f.file.status!=="uploading"){var d=new FileReader;d.onload=function(){a.setFieldsValue({aliPayAppCert:d.result})},d.readAsText(f.file.originFileObj)}},showUploadList:!1,style:{width:"100px"},children:(0,e.jsx)(ae.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(Fe,{}),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)(ce.Z,{title:"\u652F\u4ED8\u5B9D\u5F00\u653E\u5E73\u53F0\u4E0B\u8F7D",children:(0,e.jsx)(X,{})})})]}),children:(0,e.jsxs)(C.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)(Se.Z,{name:"file",multiple:!1,onChange:function(f){if(f.file.status!=="uploading"){var d=new FileReader;d.onload=function(){a.setFieldsValue({aliPayRootCert:d.result})},d.readAsText(f.file.originFileObj)}},showUploadList:!1,style:{width:"100px"},children:(0,e.jsx)(ae.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(Fe,{}),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)(ce.Z,{title:"\u652F\u4ED8\u5B9D\u5F00\u653E\u5E73\u53F0\u4E0B\u8F7D",children:(0,e.jsx)(X,{})})})]}),children:(0,e.jsxs)(C.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)(Se.Z,{name:"file",multiple:!1,onChange:function(f){if(f.file.status!=="uploading"){var d=new FileReader;d.onload=function(){a.setFieldsValue({aliPayPublicCert:d.result})},d.readAsText(f.file.originFileObj)}},showUploadList:!1,style:{width:"100px"},children:(0,e.jsx)(ae.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(Fe,{}),children:"\u9009\u62E9\u6587\u4EF6"})})]})})]})})},on=ln,de=r(2453),cn=r(4575),dn=function(n){var i=t.Z.useForm(),b=E()(i,1),a=b[0],A=function(){a.submit()},R=function(){n.onCancel()},V=function(){var L=Z()(u()().mark(function T(f){return u()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.prev=0,x.next=3,(0,cn.re)(w()(w()({},f),{},{appCode:n.appCode}));case 3:x.next=8;break;case 5:return x.prev=5,x.t0=x.catch(0),x.abrupt("return");case 8:de.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 x.stop()}},T,null,[[0,5]])}));return function(f){return L.apply(this,arguments)}}();return(0,e.jsx)(Ze.Z,{title:"\u7F16\u8F91",visible:!0,onOk:A,onCancel:R,children:(0,e.jsxs)(t.Z,{labelCol:{span:4},wrapperCol:{span:18},form:a,onFinish:V,children:[(0,e.jsx)(t.Z.Item,{name:"name",label:"\u59D3\u540D",children:(0,e.jsx)(C.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"aliAccount",label:"\u652F\u4ED8\u5B9D\u8D26\u53F7",children:(0,e.jsx)(C.Z,{})})]})})},pn=dn,Ge=r(34041),We=r(32400),mn=r(56448),Ne=r.n(mn),fn=function(n){var i=n.onUploadSuccess,b=n.onUploadError,a=n.url,A=(0,j.useState)(!1),R=E()(A,2),V=R[0],L=R[1],T=(0,j.useState)(null),f=E()(T,2),d=f[0],x=f[1],c=(0,j.useState)([]),h=E()(c,2),F=h[0],O=h[1];(0,j.useEffect)(function(){function U(){return M.apply(this,arguments)}function M(){return M=Z()(u()().mark(function G(){var g,N;return u()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.prev=0,p.next=3,(0,P.po)();case 3:if(g=p.sent,!(!g.data||!g.data.accessKeySecret||!g.data.accessKeyId)){p.next=7;break}return de.ZP.error("\u521D\u59CB\u5316\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"),p.abrupt("return");case 7:N=new(Ne())({region:"oss-cn-beijing",accessKeyId:g.data.accessKeyId,accessKeySecret:g.data.accessKeySecret,stsToken:g.data.securityToken,bucket:g.data.bucket}),x(N),p.next=15;break;case 11:p.prev=11,p.t0=p.catch(0),de.ZP.error("\u521D\u59CB\u5316 OSS \u5BA2\u6237\u7AEF\u5931\u8D25"),b&&b(p.t0);case 15:case"end":return p.stop()}},G,null,[[0,11]])})),M.apply(this,arguments)}U()},[b]);var $=function(){var U=Z()(u()().mark(function M(G){var g,N,K,p,_;return u()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:if(g=G.file,!(g instanceof File)){v.next=31;break}if(L(!0),O([{uid:g.uid,name:g.name,status:"uploading"}]),v.prev=4,N=g.name.split(".").pop(),a){v.next=13;break}return v.next=9,(0,We.p)(g);case 9:p=v.sent,K="matrix/".concat(p,".").concat(N),v.next=14;break;case 13:K="matrix/".concat(a,".").concat(N);case 14:return v.next=16,d==null?void 0:d.put(K,g,{headers:{"Content-Type":g.type}});case 16:_="https://apks.bzgames.cn/".concat(K),i&&i(_,g),L(!1),O([{uid:g.uid,name:g.name,status:"done",url:_}]),v.next=26;break;case 22:v.prev=22,v.t0=v.catch(4),de.ZP.error("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25"),b&&b(v.t0);case 26:return v.prev=26,L(!1),v.finish(26);case 29:v.next=32;break;case 31:de.ZP.error("\u4E0A\u4F20\u6587\u4EF6\u7C7B\u578B\u9519\u8BEF");case 32:case"end":return v.stop()}},M,null,[[4,22,26,29]])}));return function(G){return U.apply(this,arguments)}}();return(0,e.jsx)(Se.Z,{fileList:F,customRequest:$,disabled:V||!d,children:(0,e.jsx)(ae.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(Fe,{}),children:"\u9009\u62E9\u6587\u4EF6"})})},ze=fn,hn=r(19632),vn=r.n(hn),gn=function(n){var i=n.value,b=n.onChange,a=(0,j.useState)(!1),A=E()(a,2),R=A[0],V=A[1],L=(0,j.useState)(null),T=E()(L,2),f=T[0],d=T[1],x=(0,j.useState)([]),c=E()(x,2),h=c[0],F=c[1];(0,j.useEffect)(function(){i&&F(i)},[i]),(0,j.useEffect)(function(){function U(){return M.apply(this,arguments)}function M(){return M=Z()(u()().mark(function G(){var g,N;return u()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.prev=0,p.next=3,(0,P.po)();case 3:if(g=p.sent,!(!g.data||!g.data.accessKeySecret||!g.data.accessKeyId)){p.next=7;break}return de.ZP.error("\u521D\u59CB\u5316\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"),p.abrupt("return");case 7:N=new(Ne())({region:"oss-cn-beijing",accessKeyId:g.data.accessKeyId,accessKeySecret:g.data.accessKeySecret,stsToken:g.data.securityToken,bucket:g.data.bucket}),d(N),p.next=14;break;case 11:p.prev=11,p.t0=p.catch(0),de.ZP.error("\u521D\u59CB\u5316 OSS \u5BA2\u6237\u7AEF\u5931\u8D25");case 14:case"end":return p.stop()}},G,null,[[0,11]])})),M.apply(this,arguments)}U()},[]),(0,j.useEffect)(function(){b&&b(h)},[h]);var O=function(){var U=Z()(u()().mark(function M(G){var g,N,K,p;return u()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:if(g=G.file,!(g instanceof File)){B.next=23;break}return V(!0),B.prev=3,B.next=6,(0,We.p)(g);case 6:return N=B.sent,K="matrix/".concat(N,".").concat(g.name.split(".").pop()),B.next=10,f==null?void 0:f.put(K,g,{headers:{"Content-Type":g.type}});case 10:p="https://apks.bzgames.cn/".concat(K),V(!1),F(function(v){return[].concat(vn()(v),[{uid:g.uid,name:g.name,status:"done",url:p}])}),B.next=18;break;case 15:B.prev=15,B.t0=B.catch(3),de.ZP.error("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25");case 18:return B.prev=18,V(!1),B.finish(18);case 21:B.next=24;break;case 23:de.ZP.error("\u4E0A\u4F20\u6587\u4EF6\u7C7B\u578B\u9519\u8BEF");case 24:case"end":return B.stop()}},M,null,[[3,15,18,21]])}));return function(G){return U.apply(this,arguments)}}(),$=function(M){var G=(h||[]).filter(function(g){return g.url!==M.url});F(G)};return(0,e.jsx)(Se.Z,{multiple:!0,fileList:h,onRemove:$,customRequest:O,disabled:R||!f,children:(0,e.jsx)(ae.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(Fe,{}),children:"\u9009\u62E9\u6587\u4EF6"})})},Cn=gn,jn=function(n){var i=t.Z.useForm(),b=E()(i,1),a=b[0],A=(0,j.useState)(!1),R=E()(A,2),V=R[0],L=R[1],T=function(){a.submit()},f=function(){n.onCancel()},d=function(){var c=Z()(u()().mark(function h(F){var O;return u()().wrap(function(U){for(;;)switch(U.prev=U.next){case 0:if(F){U.next=3;break}return a.resetFields(),U.abrupt("return");case 3:return U.next=5,he({appCode:F});case 5:O=U.sent,a.setFieldsValue(O.data);case 7:case"end":return U.stop()}},h)}));return function(F){return c.apply(this,arguments)}}();(0,j.useEffect)(function(){d(n.appCode),L(n.appCode!==void 0),n.appCode||a.resetFields()},[n.appCode]);var x=function(){var c=Z()(u()().mark(function h(F){return u()().wrap(function($){for(;;)switch($.prev=$.next){case 0:return $.prev=0,$.next=3,ge(F);case 3:$.next=8;break;case 5:return $.prev=5,$.t0=$.catch(0),$.abrupt("return");case 8:n.onSubmit();case 9:case"end":return $.stop()}},h,null,[[0,5]])}));return function(F){return c.apply(this,arguments)}}();return(0,e.jsx)(Ze.Z,{title:"\u7F16\u8F91",visible:n.updateModalOpen,onOk:T,onCancel:f,children:(0,e.jsxs)(t.Z,{labelCol:{span:5},wrapperCol:{span:18},form:a,onFinish:x,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,{name:"code",style:{display:"none"},children:(0,e.jsx)(C.Z,{type:"hidden"})}),(0,e.jsx)(t.Z.Item,{label:"\u5E94\u7528\u540D",name:"name",children:(0,e.jsx)(C.Z,{})}),(0,e.jsx)(t.Z.Item,{label:"\u5E94\u7528icon",name:"img",children:(0,e.jsxs)(C.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"img",noStyle:!0,children:(0,e.jsx)(C.Z,{})}),(0,e.jsx)(ze,{onUploadSuccess:function(h){a.setFieldsValue({img:h})}})]})}),(0,e.jsx)(t.Z.Item,{label:"\u4E0B\u8F7D\u5730\u5740",name:"url",children:(0,e.jsxs)(C.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"url",noStyle:!0,children:(0,e.jsx)(C.Z,{})}),(0,e.jsx)(ze,{url:n.appCode,onUploadSuccess:function(h,F){a.setFieldsValue({url:h,fileSize:(0,Le.aV)(F.size)})}})]})}),(0,e.jsx)(t.Z.Item,{label:"app\u7248\u672C",name:"version",children:(0,e.jsx)(C.Z,{})}),(0,e.jsx)(t.Z.Item,{label:"\u83DC\u5355\u680F\u4E2D",name:"hide",children:(0,e.jsx)(Ge.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)(Ge.Z,{disabled:V,options:(0,Le.FG)()})}),(0,e.jsx)(t.Z.Item,{label:"app\u5927\u5C0F",name:"fileSize",children:(0,e.jsx)(C.Z,{disabled:!0})}),(0,e.jsx)(t.Z.Item,{label:"app\u4E0B\u8F7D\u6B21\u6570",name:"downloadTimes",children:(0,e.jsx)(C.Z,{disabled:!0})}),(0,e.jsx)(t.Z.Item,{label:"\u6240\u5C5E\u516C\u53F8",name:"author",children:(0,e.jsx)(C.Z,{})}),(0,e.jsx)(t.Z.Item,{label:"app\u5305\u540D",name:"packageName",children:(0,e.jsx)(C.Z,{})}),(0,e.jsx)(t.Z.Item,{label:"app\u7B80\u4ECB",name:"desc",children:(0,e.jsx)(C.Z.TextArea,{})}),(0,e.jsxs)(t.Z.Item,{label:"\u5E94\u7528\u622A\u56FE",name:"images",children:[(0,e.jsx)(Cn,{value:[],onChange:function(h){var F=h.filter(function(O){return O.url}).map(function(O){return O.url}).filter(Boolean);F&&F.length>0&&a.setFieldsValue({images:F})}}),(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"})]})]})})},yn=jn,xn=function(n){var i=t.Z.useForm(),b=E()(i,1),a=b[0],A=function(){a.submit()},R=function(){n.onCancel()},V=function(){var T=Z()(u()().mark(function f(d){var x;return u()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,o({appCode:d});case 2:x=h.sent,a.setFieldsValue(x.data);case 4:case"end":return h.stop()}},f)}));return function(d){return T.apply(this,arguments)}}();(0,j.useEffect)(function(){V(n.appCode)},[n.appCode]);var L=function(){var T=Z()(u()().mark(function f(d){return u()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.prev=0,c.next=3,H({appCode:n.appCode},d);case 3:c.next=8;break;case 5:return c.prev=5,c.t0=c.catch(0),c.abrupt("return");case 8:n.onSubmit();case 9:case"end":return c.stop()}},f,null,[[0,5]])}));return function(d){return T.apply(this,arguments)}}();return(0,e.jsx)(Ze.Z,{title:"\u7F16\u8F91",visible:n.updateModalOpen,onOk:A,onCancel:R,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)(C.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"umengAppSecret",label:"AppSecret(\u963F\u91CC\u4E91)",children:(0,e.jsx)(C.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"umengAppCode",label:"AppCode(\u963F\u91CC\u4E91)",children:(0,e.jsx)(C.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"umengAppKey",label:"AppKey(\u53CB\u76DF)",children:(0,e.jsx)(C.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"linkId",label:"linkId(\u53CB\u76DF)",children:(0,e.jsx)(C.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"bindWx",label:"\u7ED1\u5B9A\u5FAE\u4FE1\u8D26\u53F7",children:(0,e.jsx)(_e.Z,{})})]})})},Fn=xn,Sn=function(){var n=(0,j.useState)(!1),i=E()(n,2),b=i[0],a=i[1],A=(0,j.useState)([]),R=E()(A,2),V=R[0],L=R[1],T=(0,j.useState)(!1),f=E()(T,2),d=f[0],x=f[1],c=(0,j.useState)(!1),h=E()(c,2),F=h[0],O=h[1],$=(0,j.useState)(!1),U=E()($,2),M=U[0],G=U[1],g=(0,j.useState)(),N=E()(g,2),K=N[0],p=N[1],_=[{title:"\u5E94\u7528\u540D",dataIndex:"name",copyable:!0,hideInSearch:!0,fixed:"left",filterDropdown:function(S){var Q=S.setSelectedKeys,Ee=S.selectedKeys,le=S.confirm,He=S.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(C.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:Ee[0],onChange:function(Xe){return Q(Xe.target.value?[Xe.target.value]:[])},onPressEnter:function(){return le()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(nn.Z,{children:[(0,e.jsx)(ae.ZP,{onClick:function(){return le()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(ae.ZP,{onClick:function(){return He&&He()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(S,Q){return typeof S=="string"&&typeof(Q==null?void 0:Q.name)=="string"?Q.name.includes(S):!1},filterIcon:function(S){return(0,e.jsx)(en.Z,{style:{color:S?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u56FE\u7247",dataIndex:"img",hideInSearch:!0,renderText:function(S){return(0,e.jsx)("img",{style:{width:"40px"},src:S})}},{title:"code",dataIndex:"code",copyable:!0,hideInSearch:!0},{title:"\u5E94\u7528\u5E02\u573A",dataIndex:"code",copyable:!0,width:200,hideInSearch:!0,renderText:function(S){return"https://pomelo.bzgames.cn/market/"+S}},{title:"\u4E0B\u8F7D\u5730\u5740",dataIndex:"url",width:200,hideInSearch:!0,copyable:!0},{title:"\u4E0B\u8F7D\u4E8C\u7EF4\u7801",dataIndex:"url",hideInSearch:!0,renderText:function(S){return S?(0,e.jsx)(J.Z,{overlayInnerStyle:{padding:0},content:(0,e.jsx)(W.Z,{value:S||"",bordered:!1}),children:(0,e.jsx)("a",{style:{wordBreak:"break-word"},children:"\u67E5\u770B"})}):""}},{title:"secret",dataIndex:"secret",ellipsis:!0,copyable:!0,hideInSearch:!0},{title:"\u83DC\u5355\u680F\u4E2D",dataIndex:"hide",hideInSearch:!0,renderText:function(S){return S===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(S){var Q=(0,Le.FG)(),Ee=Q.find(function(le){return le.value===S});return Ee?Ee.label:S}},{title:"\u64CD\u4F5C",width:100,hideInSearch:!0,fixed:"right",renderText:function(S){return(0,e.jsxs)(an.Z,{gap:"small",wrap:!0,children:[(0,e.jsx)(xe.Z,{color:"magenta",onClick:function(){p(S.code),a(!0)},children:"\u7F16\u8F91"},"edit"),S.enableCash&&(0,e.jsx)(xe.Z,{color:"orange",onClick:function(){p(S.code),O(!0)},children:"\u53CB\u76DF\u914D\u7F6E"},"ediyUMeng"),(0,e.jsx)(xe.Z,{color:"#2db7f5",onClick:function(){p(S.code),x(!0)},children:"\u652F\u4ED8\u5B9D\u914D\u7F6E"},"ediyAliPay"),S.enableCash&&(0,e.jsx)(xe.Z,{color:"cyan",onClick:function(){p(S.code),G(!0)},children:"\u8F6C\u8D26"},"ediyTransfer")]})}}],B=function(){var v=Z()(u()().mark(function S(){var Q;return u()().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return le.next=2,(0,P.ln)();case 2:Q=le.sent,Q.data&&L(Q.data);case 4:case"end":return le.stop()}},S)}));return function(){return v.apply(this,arguments)}}();return(0,j.useEffect)(function(){B()},[]),(0,e.jsxs)(Y._z,{children:[(0,e.jsx)(ae.ZP,{style:{marginBottom:"20px"},onClick:function(){a(!0),p(void 0)},children:"\u65B0\u5EFA\u5E94\u7528"}),(0,e.jsx)(z.Z,{scroll:{x:1200},search:!1,columns:_,dataSource:V}),K&&d&&(0,e.jsx)(on,{updateModalOpen:d,appCode:K||"",onCancel:function(){return x(!1)},onSubmit:function(){x(!1),B()}}),K&&F&&(0,e.jsx)(Fn,{updateModalOpen:F,appCode:K||"",onCancel:function(){return O(!1)},onSubmit:function(){O(!1)}}),(0,e.jsx)(yn,{updateModalOpen:b,appCode:K,onCancel:function(){return a(!1)},onSubmit:function(){a(!1),B()}}),K&&M&&(0,e.jsx)(pn,{appCode:K||"",onCancel:function(){return G(!1)},onSubmit:function(){G(!1)}})]})},bn=Sn,Zn=function(){var n=(0,I.useModel)("@@initialState"),i=n.initialState,b=i==null?void 0:i.currentUser,a=b&&b.role&&b.role<2;return(0,e.jsx)(Y._z,{children:a?(0,e.jsx)(bn,{}):(0,e.jsx)(qe,{})})},En=Zn},4575:function(Ae,re,r){r.d(re,{Rn:function(){return E},SN:function(){return w},XM:function(){return j},ai:function(){return z},k_:function(){return W},nN:function(){return fe},nr:function(){return Ce},re:function(){return ve},vE:function(){return ne}});var Y=r(15009),I=r.n(Y),te=r(97857),u=r.n(te),ue=r(99289),Z=r.n(ue),k=r(35312);function E(D,s){return P.apply(this,arguments)}function P(){return P=Z()(I()().mark(function D(s,m){return I()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",(0,k.request)("/api/admin/superAdmin/addSchedule",u()({method:"POST",headers:{"Content-Type":"application/json"},data:s},m||{})));case 1:case"end":return l.stop()}},D)})),P.apply(this,arguments)}function z(D){return J.apply(this,arguments)}function J(){return J=Z()(I()().mark(function D(s){return I()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,k.request)("/api/admin/superAdmin/evilAppList",u()({method:"GET"},s||{})));case 1:case"end":return o.stop()}},D)})),J.apply(this,arguments)}function W(D){return C.apply(this,arguments)}function C(){return C=Z()(I()().mark(function D(s){return I()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,k.request)("/api/admin/superAdmin/innerUserList",u()({method:"GET"},s||{})));case 1:case"end":return o.stop()}},D)})),C.apply(this,arguments)}function j(D,s){return se.apply(this,arguments)}function se(){return se=Z()(I()().mark(function D(s,m){return I()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",(0,k.request)("/api/admin/superAdmin/saveEvilApp",u()({method:"POST",headers:{"Content-Type":"application/json"},data:s},m||{})));case 1:case"end":return l.stop()}},D)})),se.apply(this,arguments)}function w(D,s){return ee.apply(this,arguments)}function ee(){return ee=Z()(I()().mark(function D(s,m){return I()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",(0,k.request)("/api/admin/superAdmin/saveInnerUser",u()({method:"POST",params:u()({},s)},m||{})));case 1:case"end":return l.stop()}},D)})),ee.apply(this,arguments)}function ne(D,s){return me.apply(this,arguments)}function me(){return me=Z()(I()().mark(function D(s,m){return I()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",(0,k.request)("/api/admin/superAdmin/saveWhiteUser",u()({method:"POST",params:u()({},s)},m||{})));case 1:case"end":return l.stop()}},D)})),me.apply(this,arguments)}function fe(D){return he.apply(this,arguments)}function he(){return he=Z()(I()().mark(function D(s){return I()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,k.request)("/api/admin/superAdmin/scheduleList",u()({method:"GET"},s||{})));case 1:case"end":return o.stop()}},D)})),he.apply(this,arguments)}function ve(D,s){return ge.apply(this,arguments)}function ge(){return ge=Z()(I()().mark(function D(s,m){return I()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",(0,k.request)("/api/admin/superAdmin/transfer",u()({method:"POST",params:u()({},s)},m||{})));case 1:case"end":return l.stop()}},D)})),ge.apply(this,arguments)}function Ce(D){return ye.apply(this,arguments)}function ye(){return ye=Z()(I()().mark(function D(s){return I()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,k.request)("/api/admin/superAdmin/whiteUserList",u()({method:"GET"},s||{})));case 1:case"end":return o.stop()}},D)})),ye.apply(this,arguments)}},52043:function(Ae,re,r){r.d(re,{E7:function(){return I},FG:function(){return Y},RQ:function(){return ue},XY:function(){return te},aV:function(){return Z},m0:function(){return u}});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"}]},I=function(E){var P=[];if(!E)return P;for(var z=E>>1,J=["\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,C=J;W>=1}return P},te=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(E){var P=new Date(E),z=P.getFullYear().toString().padStart(4,"0"),J=(P.getMonth()+1).toString().padStart(2,"0"),W=P.getDate().toString().padStart(2,"0");return z+J+W},ue=function(E,P){var z=E.toString();return z.padStart(P,"0")},Z=function(E){var P=E;return P<1024?P+" B":(P=parseFloat((P/1024).toFixed(2)),P<1024?P+" KB":(P=parseFloat((P/1024).toFixed(2)),P+" MB"))}},32400:function(Ae,re,r){r.d(re,{p:function(){return k}});var Y=r(15009),I=r.n(Y),te=r(99289),u=r.n(te),ue=r(8322),Z=r.n(ue);function k(P){return E.apply(this,arguments)}function E(){return E=u()(I()().mark(function P(z){return I()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.abrupt("return",new Promise(function(C,j){var se=new(Z()).ArrayBuffer,w=new FileReader;w.onload=function(ee){var ne;se.append((ne=ee.target)===null||ne===void 0?void 0:ne.result),C(se.end())},w.onerror=function(ee){j(ee)},w.readAsArrayBuffer(z)}));case 1:case"end":return W.stop()}},P)})),E.apply(this,arguments)}},86250:function(Ae,re,r){r.d(re,{Z:function(){return D}});var Y=r(67294),I=r(93967),te=r.n(I),u=r(98423),ue=r(98065),Z=r(53124),k=r(91945),E=r(45503);const P=["wrap","nowrap","wrap-reverse"],z=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],J=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],W=(s,m)=>{const o=m.wrap===!0?"wrap":m.wrap;return{[`${s}-wrap-${o}`]:o&&P.includes(o)}},C=(s,m)=>{const o={};return J.forEach(l=>{o[`${s}-align-${l}`]=m.align===l}),o[`${s}-align-stretch`]=!m.align&&!!m.vertical,o},j=(s,m)=>{const o={};return z.forEach(l=>{o[`${s}-justify-${l}`]=m.justify===l}),o};function se(s,m){return te()(Object.assign(Object.assign(Object.assign({},W(s,m)),C(s,m)),j(s,m)))}var w=se;const ee=s=>{const{componentCls:m}=s;return{[m]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},ne=s=>{const{componentCls:m}=s;return{[m]:{"&-gap-small":{gap:s.flexGapSM},"&-gap-middle":{gap:s.flexGap},"&-gap-large":{gap:s.flexGapLG}}}},me=s=>{const{componentCls:m}=s,o={};return P.forEach(l=>{o[`${m}-wrap-${l}`]={flexWrap:l}}),o},fe=s=>{const{componentCls:m}=s,o={};return J.forEach(l=>{o[`${m}-align-${l}`]={alignItems:l}}),o},he=s=>{const{componentCls:m}=s,o={};return z.forEach(l=>{o[`${m}-justify-${l}`]={justifyContent:l}}),o},ve=()=>({});var ge=(0,k.I$)("Flex",s=>{const{paddingXS:m,padding:o,paddingLG:l}=s,H=(0,E.TS)(s,{flexGapSM:m,flexGap:o,flexGapLG:l});return[ee(H),ne(H),me(H),fe(H),he(H)]},ve,{resetStyle:!1}),Ce=function(s,m){var o={};for(var l in s)Object.prototype.hasOwnProperty.call(s,l)&&m.indexOf(l)<0&&(o[l]=s[l]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,l=Object.getOwnPropertySymbols(s);H{const{prefixCls:o,rootClassName:l,className:H,style:be,flex:we,gap:ie,children:Ke,vertical:je=!1,component:pe="div"}=s,Oe=Ce(s,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:q,direction:De,getPrefixCls:Te}=Y.useContext(Z.E_),X=Te("flex",o),[Ie,Be,Ue]=ge(X),Me=je!=null?je:q==null?void 0:q.vertical,$e=te()(H,l,q==null?void 0:q.className,X,Be,Ue,w(X,s),{[`${X}-rtl`]:De==="rtl",[`${X}-gap-${ie}`]:(0,ue.n)(ie),[`${X}-vertical`]:Me}),t=Object.assign(Object.assign({},q==null?void 0:q.style),be);return we&&(t.flex=we),ie&&!(0,ue.n)(ie)&&(t.gap=ie),Ie(Y.createElement(pe,Object.assign({ref:m,className:$e,style:t},(0,u.Z)(Oe,["justify","wrap","align"])),Ke))})}}]); diff --git a/dist/p__App__AppManagement.c08f72ac.async.js b/dist/p__App__AppManagement.c08f72ac.async.js deleted file mode 100644 index ad7ce55..0000000 --- a/dist/p__App__AppManagement.c08f72ac.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[731],{75385:function(Ze,se,r){r.r(se),r.d(se,{default:function(){return En}});var ne=r(90930),T=r(35312),le=r(15009),u=r.n(le),ie=r(99289),S=r.n(ie),W=r(5574),F=r.n(W),Z=r(48357),H=r(67539),ee=r(55241),N=r(10397),m=r(55102),h=r(67294),oe=r(97857),E=r.n(oe);function te(v,n){return M.apply(this,arguments)}function M(){return M=S()(u()().mark(function v(n,s){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,T.request)("/api/admin/app/aliPayConfig",E()({method:"GET",params:E()({},n)},s||{})));case 1:case"end":return a.stop()}},v)})),M.apply(this,arguments)}function X(v,n,s){return ae.apply(this,arguments)}function ae(){return ae=S()(u()().mark(function v(n,s,y){return u()().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.abrupt("return",(0,T.request)("/api/admin/app/aliPayConfig",E()({method:"POST",headers:{"Content-Type":"application/json"},params:E()({},n),data:s},y||{})));case 1:case"end":return b.stop()}},v)})),ae.apply(this,arguments)}function Q(v,n){return L.apply(this,arguments)}function L(){return L=S()(u()().mark(function v(n,s){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,T.request)("/api/admin/app/basicConfig",E()({method:"GET",params:E()({},n)},s||{})));case 1:case"end":return a.stop()}},v)})),L.apply(this,arguments)}function Ie(v,n){return xe.apply(this,arguments)}function xe(){return xe=S()(u()().mark(function v(n,s){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,T.request)("/api/admin/app/basicConfig",E()({method:"POST",headers:{"Content-Type":"application/json"},data:n},s||{})));case 1:case"end":return a.stop()}},v)})),xe.apply(this,arguments)}function Ve(v,n){return ye.apply(this,arguments)}function ye(){return ye=S()(u()().mark(function v(n,s){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,T.request)("/api/admin/app/normalConfig",E()({method:"GET",params:E()({},n)},s||{})));case 1:case"end":return a.stop()}},v)})),ye.apply(this,arguments)}function x(v,n,s){return A.apply(this,arguments)}function A(){return A=S()(u()().mark(function v(n,s,y){return u()().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.abrupt("return",(0,T.request)("/api/admin/app/normalConfig",E()({method:"POST",headers:{"Content-Type":"application/json"},params:E()({},n),data:s},y||{})));case 1:case"end":return b.stop()}},v)})),A.apply(this,arguments)}function w(v,n){return I.apply(this,arguments)}function I(){return I=S()(u()().mark(function v(n,s){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,T.request)("/api/admin/app/uMengConfig",E()({method:"GET",params:E()({},n)},s||{})));case 1:case"end":return a.stop()}},v)})),I.apply(this,arguments)}function J(v,n,s){return Fe.apply(this,arguments)}function Fe(){return Fe=S()(u()().mark(function v(n,s,y){return u()().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.abrupt("return",(0,T.request)("/api/admin/app/uMengConfig",E()({method:"POST",headers:{"Content-Type":"application/json"},params:E()({},n),data:s},y||{})));case 1:case"end":return b.stop()}},v)})),Fe.apply(this,arguments)}function Pe(v,n){return de.apply(this,arguments)}function de(){return de=_asyncToGenerator(_regeneratorRuntime().mark(function v(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()}},v)})),de.apply(this,arguments)}function Ke(v,n,s){return ve.apply(this,arguments)}function ve(){return ve=_asyncToGenerator(_regeneratorRuntime().mark(function v(n,s,y){return _regeneratorRuntime().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.abrupt("return",request("/api/admin/app/wxConfig",_objectSpread({method:"POST",headers:{"Content-Type":"application/json"},params:_objectSpread({},n),data:s},y||{})));case 1:case"end":return b.stop()}},v)})),ve.apply(this,arguments)}var he=r(1413),De=r(93696),re=r(91146),Oe=function(n,s){return h.createElement(re.Z,(0,he.Z)((0,he.Z)({},n),{},{ref:s,icon:De.Z}))},we=h.forwardRef(Oe),Y=we,Ee=r(3089),Te=r(42110),Be=function(n,s){return h.createElement(re.Z,(0,he.Z)((0,he.Z)({},n),{},{ref:s,icon:Te.Z}))},Me=h.forwardRef(Be),Ue=Me,t=r(8232),be=r(17788),Ge=r(72269),pe=r(37804),fe=r(83062),Re=r(71230),ue=r(14726),$e=r(15746),e=r(85893),Qe=function(n){var s=t.Z.useForm(),y=F()(s,1),a=y[0],b=function(){a.submit()},$=function(){n.onCancel()},V=function(){var i=S()(u()().mark(function g(l){var d;return u()().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return P.next=2,Ve({appCode:l});case 2:d=P.sent,a.setFieldsValue(d.data);case 4:case"end":return P.stop()}},g)}));return function(l){return i.apply(this,arguments)}}();(0,h.useEffect)(function(){V(n.appCode)},[n.appCode]);var k=function(){var i=S()(u()().mark(function g(l){return u()().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.prev=0,C.next=3,x({appCode:n.appCode},l);case 3:C.next=8;break;case 5:return C.prev=5,C.t0=C.catch(0),C.abrupt("return");case 8:n.onSubmit();case 9:case"end":return C.stop()}},g,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}}},c={wrapperCol:{xs:{span:24,offset:10},sm:{span:20,offset:6}}};return(0,e.jsx)(be.Z,{title:"\u7F16\u8F91",visible:n.updateModalOpen,onOk:b,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)(Ge.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"pangolinDailyLimit",label:"\u7A7F\u5C71\u7532\u6BCF\u65E5\u6B21\u6570",children:(0,e.jsx)(pe.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"tencentDailyLimit",label:"\u5E7F\u544A\u6BCF\u65E5\u6B21\u6570",children:(0,e.jsx)(pe.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"videoDuration",label:"\u89C6\u9891\u5E7F\u544A\u95F4\u9694(\u79D2)",children:(0,e.jsx)(pe.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"popUpDuration",label:"\u63D2\u9875\u5E7F\u544A\u95F4\u9694(\u79D2)",children:(0,e.jsx)(pe.Z,{})}),(0,e.jsx)(t.Z.List,{name:"moneyLadder",children:function(g,l){var d=l.add,C=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)(Re.Z,{children:g.map(function(P){return(0,e.jsx)(t.Z.Item,{label:"",required:!1,children:(0,e.jsxs)(Re.Z,{align:"stretch",style:{marginRight:10},children:[(0,e.jsx)(t.Z.Item,E()(E()({},P),{},{validateTrigger:["onChange","onBlur"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u91D1\u989D\u6216\u8005\u5220\u9664"}],noStyle:!0,children:(0,e.jsx)(pe.Z,{placeholder:"\u91D1\u989D\uFF0C\u5355\u4F4D\u5206"})})),(0,e.jsx)(Ee.Z,{style:{marginLeft:4},className:"dynamic-delete-button",onClick:function(){return C(P.name)}})]})},P.key)})}),(0,e.jsx)(t.Z.Item,E()(E()({},c),{},{children:(0,e.jsx)(ue.ZP,{type:"dashed",onClick:function(){return d()},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)(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)(pe.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)(m.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)(pe.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)(pe.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)(pe.Z,{style:{width:"60%"}})}),(0,e.jsx)(t.Z.List,{name:"dayRates",children:function(g,l){var d=l.add,C=l.remove;return(0,e.jsxs)(e.Fragment,{children:[g.map(function(P,R){var B=P.key,U=P.name;return(0,e.jsx)(e.Fragment,{children:(0,h.createElement)(t.Z.Item,E()(E()({},R===0?D:c),{},{label:R===0?"\u7279\u6B8A\u65E5\u5206\u6210\u6BD4\u4F8B":"",required:!1,key:B}),(0,e.jsxs)(Re.Z,{align:"stretch",gutter:16,children:[(0,e.jsx)($e.Z,{span:8,children:(0,e.jsx)(t.Z.Item,{name:[U,"day"],rules:[{required:!0}],children:(0,e.jsx)(m.Z,{placeholder:"Day"})})}),(0,e.jsx)($e.Z,{span:8,children:(0,e.jsx)(t.Z.Item,{name:[U,"rate"],rules:[{required:!0}],children:(0,e.jsx)(m.Z,{placeholder:"Rate"})})}),(0,e.jsx)($e.Z,{children:(0,e.jsx)(Ee.Z,{onClick:function(){return C(U)}})})]},B))})}),(0,e.jsx)(t.Z.Item,E()(E()({},c),{},{children:(0,e.jsx)(ue.ZP,{type:"dashed",onClick:function(){return d()},block:!0,children:"\u6DFB\u52A0\u7279\u6B8A\u65E5\u5206\u6210\u6BD4\u4F8B"})}))]})}})]})})},Je=Qe,Ye=function(){var n=(0,h.useState)(!1),s=F()(n,2),y=s[0],a=s[1],b=(0,h.useState)([]),$=F()(b,2),V=$[0],k=$[1],D=(0,h.useState)([]),c=F()(D,2),i=c[0],g=c[1],l=(0,T.useModel)("@@initialState"),d=l.initialState,C=d==null?void 0:d.currentUser,P=C&&C.role&&C.role<=3,R=(0,h.useState)(),B=F()(R,2),U=B[0],_=B[1],f=function(G){var O=V.filter(function(p){var j;return p==null||(j=p.name)===null||j===void 0?void 0:j.includes(G)});g(O)},z=[{title:"\u5E94\u7528\u540D",dataIndex:"name",copyable:!0,hideInSearch:!0},{title:"\u5E94\u7528\u56FE\u7247",dataIndex:"img",hideInSearch:!0,renderText:function(G){return(0,e.jsx)("img",{style:{width:"40px"},src:G})}},{title:"code",dataIndex:"code",copyable:!0,hideInSearch:!0},{title:"\u4E0B\u8F7D\u5730\u5740",dataIndex:"url",width:200,hideInSearch:!0,renderText:function(G){return(0,e.jsx)(ee.Z,{overlayInnerStyle:{padding:0},content:(0,e.jsx)(N.Z,{value:G||"",bordered:!1}),children:(0,e.jsx)("a",{style:{wordBreak:"break-word"},children:G})})}},{title:"\u64CD\u4F5C",width:80,hideInSearch:!0,renderText:function(G){if(G.enableCash&&P)return(0,e.jsx)("a",{onClick:function(){_(G.code),a(!0)},children:"\u7F16\u8F91"},"edit")}}],K=function(){var o=S()(u()().mark(function G(){var O;return u()().wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return j.next=2,(0,Z.ln)();case 2:O=j.sent,O.data&&(k(O.data),g(O.data));case 4:case"end":return j.stop()}},G)}));return function(){return o.apply(this,arguments)}}();return(0,h.useEffect)(function(){K()},[]),(0,e.jsxs)(ne._z,{children:[(0,e.jsx)(H.Z,{search:{defaultCollapsed:!1,optionRender:function(){return[(0,e.jsx)(m.Z,{placeholder:"\u8BF7\u8F93\u5165\u5E94\u7528\u540D",onChange:function(O){return f(O.target.value)}},"name")]}},onReset:function(){g(V)},columns:z,dataSource:i}),U&&(0,e.jsx)(Je,{updateModalOpen:y,appCode:U||"",onCancel:function(){return a(!1)},onSubmit:function(){a(!1)}})]})},qe=Ye,ke=r(52043),en=r(40110),nn=r(42075),ge=r(66309),an=r(86250),rn={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"},tn=rn,un=function(n,s){return h.createElement(re.Z,(0,he.Z)((0,he.Z)({},n),{},{ref:s,icon:tn}))},sn=h.forwardRef(un),Ce=sn,je=r(66476),Ae=m.Z.TextArea,ln=function(n){var s=t.Z.useForm(),y=F()(s,1),a=y[0],b=function(){a.submit()},$=function(){n.onCancel()},V=function(){var D=S()(u()().mark(function c(i){var g;return u()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,te({appCode:i});case 2:g=d.sent,a.setFieldsValue(g.data);case 4:case"end":return d.stop()}},c)}));return function(i){return D.apply(this,arguments)}}();(0,h.useEffect)(function(){V(n.appCode)},[n.appCode]);var k=function(){var D=S()(u()().mark(function c(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()}},c,null,[[0,5]])}));return function(i){return D.apply(this,arguments)}}();return(0,e.jsx)(be.Z,{title:"\u7F16\u8F91",visible:n.updateModalOpen,onOk:b,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)(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)(m.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)(m.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)(Ae,{autoSize:{maxRows:6}})}),(0,e.jsx)(je.Z,{name:"file",multiple:!1,onChange:function(c){if(c.file.status!=="uploading"){var i=new FileReader;i.onload=function(){a.setFieldsValue({aliPayPrivateKey:i.result})},i.readAsText(c.file.originFileObj)}},showUploadList:!1,style:{width:"100px"},children:(0,e.jsx)(ue.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(Ce,{}),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)(m.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)(Ae,{autoSize:{maxRows:6}})}),(0,e.jsx)(je.Z,{name:"file",multiple:!1,onChange:function(c){if(c.file.status!=="uploading"){var i=new FileReader;i.onload=function(){a.setFieldsValue({aliPayAppCert:i.result})},i.readAsText(c.file.originFileObj)}},showUploadList:!1,style:{width:"100px"},children:(0,e.jsx)(ue.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(Ce,{}),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)(m.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)(Ae,{autoSize:{maxRows:6}})}),(0,e.jsx)(je.Z,{name:"file",multiple:!1,onChange:function(c){if(c.file.status!=="uploading"){var i=new FileReader;i.onload=function(){a.setFieldsValue({aliPayRootCert:i.result})},i.readAsText(c.file.originFileObj)}},showUploadList:!1,style:{width:"100px"},children:(0,e.jsx)(ue.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(Ce,{}),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)(m.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)(Ae,{autoSize:{maxRows:6}})}),(0,e.jsx)(je.Z,{name:"file",multiple:!1,onChange:function(c){if(c.file.status!=="uploading"){var i=new FileReader;i.onload=function(){a.setFieldsValue({aliPayPublicCert:i.result})},i.readAsText(c.file.originFileObj)}},showUploadList:!1,style:{width:"100px"},children:(0,e.jsx)(ue.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(Ce,{}),children:"\u9009\u62E9\u6587\u4EF6"})})]})})]})})},on=ln,me=r(2453),cn=r(4575),dn=function(n){var s=t.Z.useForm(),y=F()(s,1),a=y[0],b=function(){a.submit()},$=function(){n.onCancel()},V=function(){var k=S()(u()().mark(function D(c){return u()().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.prev=0,g.next=3,(0,cn.re)(E()(E()({},c),{},{appCode:n.appCode}));case 3:g.next=8;break;case 5:return g.prev=5,g.t0=g.catch(0),g.abrupt("return");case 8:me.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 g.stop()}},D,null,[[0,5]])}));return function(c){return k.apply(this,arguments)}}();return(0,e.jsx)(be.Z,{title:"\u7F16\u8F91",visible:!0,onOk:b,onCancel:$,children:(0,e.jsxs)(t.Z,{labelCol:{span:4},wrapperCol:{span:18},form:a,onFinish:V,children:[(0,e.jsx)(t.Z.Item,{name:"name",label:"\u59D3\u540D",children:(0,e.jsx)(m.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"aliAccount",label:"\u652F\u4ED8\u5B9D\u8D26\u53F7",children:(0,e.jsx)(m.Z,{})})]})})},pn=dn,_e=r(34041),We=r(32400),fn=r(56448),Ne=r.n(fn),mn=function(n){var s=n.onUploadSuccess,y=n.onUploadError,a=n.url,b=(0,h.useState)(!1),$=F()(b,2),V=$[0],k=$[1],D=(0,h.useState)(null),c=F()(D,2),i=c[0],g=c[1],l=(0,h.useState)([]),d=F()(l,2),C=d[0],P=d[1];(0,h.useEffect)(function(){function B(){return U.apply(this,arguments)}function U(){return U=S()(u()().mark(function _(){var f,z;return u()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,o.next=3,(0,Z.po)();case 3:if(f=o.sent,!(!f.data||!f.data.accessKeySecret||!f.data.accessKeyId)){o.next=7;break}return me.ZP.error("\u521D\u59CB\u5316\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"),o.abrupt("return");case 7:z=new(Ne())({region:"oss-cn-beijing",accessKeyId:f.data.accessKeyId,accessKeySecret:f.data.accessKeySecret,stsToken:f.data.securityToken,bucket:f.data.bucket}),g(z),o.next=15;break;case 11:o.prev=11,o.t0=o.catch(0),me.ZP.error("\u521D\u59CB\u5316 OSS \u5BA2\u6237\u7AEF\u5931\u8D25"),y&&y(o.t0);case 15:case"end":return o.stop()}},_,null,[[0,11]])})),U.apply(this,arguments)}B()},[y]);var R=function(){var B=S()(u()().mark(function U(_){var f,z,K,o,G;return u()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:if(f=_.file,!(f instanceof File)){p.next=31;break}if(k(!0),P([{uid:f.uid,name:f.name,status:"uploading"}]),p.prev=4,z=f.name.split(".").pop(),a){p.next=13;break}return p.next=9,(0,We.p)(f);case 9:o=p.sent,K="matrix/".concat(o,".").concat(z),p.next=14;break;case 13:K="matrix/".concat(a,".").concat(z);case 14:return p.next=16,i==null?void 0:i.put(K,f,{headers:{"Content-Type":f.type}});case 16:G="https://apks.bzgames.cn/".concat(K),s&&s(G,f),k(!1),P([{uid:f.uid,name:f.name,status:"done",url:G}]),p.next=26;break;case 22:p.prev=22,p.t0=p.catch(4),me.ZP.error("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25"),y&&y(p.t0);case 26:return p.prev=26,k(!1),p.finish(26);case 29:p.next=32;break;case 31:me.ZP.error("\u4E0A\u4F20\u6587\u4EF6\u7C7B\u578B\u9519\u8BEF");case 32:case"end":return p.stop()}},U,null,[[4,22,26,29]])}));return function(_){return B.apply(this,arguments)}}();return(0,e.jsx)(je.Z,{fileList:C,customRequest:R,disabled:V||!i,children:(0,e.jsx)(ue.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(Ce,{}),children:"\u9009\u62E9\u6587\u4EF6"})})},ze=mn,hn=r(19632),vn=r.n(hn),gn=function(n){var s=n.value,y=n.onChange,a=(0,h.useState)(!1),b=F()(a,2),$=b[0],V=b[1],k=(0,h.useState)(null),D=F()(k,2),c=D[0],i=D[1],g=(0,h.useState)([]),l=F()(g,2),d=l[0],C=l[1];(0,h.useEffect)(function(){s&&C(s)},[s]),(0,h.useEffect)(function(){function B(){return U.apply(this,arguments)}function U(){return U=S()(u()().mark(function _(){var f,z;return u()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,o.next=3,(0,Z.po)();case 3:if(f=o.sent,!(!f.data||!f.data.accessKeySecret||!f.data.accessKeyId)){o.next=7;break}return me.ZP.error("\u521D\u59CB\u5316\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"),o.abrupt("return");case 7:z=new(Ne())({region:"oss-cn-beijing",accessKeyId:f.data.accessKeyId,accessKeySecret:f.data.accessKeySecret,stsToken:f.data.securityToken,bucket:f.data.bucket}),i(z),o.next=14;break;case 11:o.prev=11,o.t0=o.catch(0),me.ZP.error("\u521D\u59CB\u5316 OSS \u5BA2\u6237\u7AEF\u5931\u8D25");case 14:case"end":return o.stop()}},_,null,[[0,11]])})),U.apply(this,arguments)}B()},[]),(0,h.useEffect)(function(){y&&y(d)},[d]);var P=function(){var B=S()(u()().mark(function U(_){var f,z,K,o;return u()().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:if(f=_.file,!(f instanceof File)){O.next=23;break}return V(!0),O.prev=3,O.next=6,(0,We.p)(f);case 6:return z=O.sent,K="matrix/".concat(z,".").concat(f.name.split(".").pop()),O.next=10,c==null?void 0:c.put(K,f,{headers:{"Content-Type":f.type}});case 10:o="https://apks.bzgames.cn/".concat(K),V(!1),C(function(p){return[].concat(vn()(p),[{uid:f.uid,name:f.name,status:"done",url:o}])}),O.next=18;break;case 15:O.prev=15,O.t0=O.catch(3),me.ZP.error("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25");case 18:return O.prev=18,V(!1),O.finish(18);case 21:O.next=24;break;case 23:me.ZP.error("\u4E0A\u4F20\u6587\u4EF6\u7C7B\u578B\u9519\u8BEF");case 24:case"end":return O.stop()}},U,null,[[3,15,18,21]])}));return function(_){return B.apply(this,arguments)}}(),R=function(U){var _=(d||[]).filter(function(f){return f.url!==U.url});C(_)};return(0,e.jsx)(je.Z,{multiple:!0,fileList:d,onRemove:R,customRequest:P,disabled:$||!c,children:(0,e.jsx)(ue.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(Ce,{}),children:"\u9009\u62E9\u6587\u4EF6"})})},Cn=gn,jn=function(n){var s=t.Z.useForm(),y=F()(s,1),a=y[0],b=(0,h.useState)(!1),$=F()(b,2),V=$[0],k=$[1],D=function(){a.submit()},c=function(){n.onCancel()},i=function(){var l=S()(u()().mark(function d(C){var P;return u()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:if(C){B.next=3;break}return a.resetFields(),B.abrupt("return");case 3:return B.next=5,Q({appCode:C});case 5:P=B.sent,a.setFieldsValue(P.data);case 7:case"end":return B.stop()}},d)}));return function(C){return l.apply(this,arguments)}}();(0,h.useEffect)(function(){i(n.appCode),k(n.appCode!==void 0),n.appCode||a.resetFields()},[n.appCode]);var g=function(){var l=S()(u()().mark(function d(C){return u()().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return R.prev=0,R.next=3,Ie(C);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()}},d,null,[[0,5]])}));return function(C){return l.apply(this,arguments)}}();return(0,e.jsx)(be.Z,{title:"\u7F16\u8F91",visible:n.updateModalOpen,onOk:D,onCancel:c,children:(0,e.jsxs)(t.Z,{labelCol:{span:5},wrapperCol:{span:18},form:a,onFinish:g,children:[(0,e.jsx)(t.Z.Item,{name:"id",style:{display:"none"},children:(0,e.jsx)(m.Z,{type:"hidden"})}),(0,e.jsx)(t.Z.Item,{name:"code",style:{display:"none"},children:(0,e.jsx)(m.Z,{type:"hidden"})}),(0,e.jsx)(t.Z.Item,{label:"\u5E94\u7528\u540D",name:"name",children:(0,e.jsx)(m.Z,{})}),(0,e.jsx)(t.Z.Item,{label:"\u5E94\u7528icon",name:"img",children:(0,e.jsxs)(m.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"img",noStyle:!0,children:(0,e.jsx)(m.Z,{})}),(0,e.jsx)(ze,{onUploadSuccess:function(d){a.setFieldsValue({img:d})}})]})}),(0,e.jsx)(t.Z.Item,{label:"\u4E0B\u8F7D\u5730\u5740",name:"url",children:(0,e.jsxs)(m.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"url",noStyle:!0,children:(0,e.jsx)(m.Z,{})}),(0,e.jsx)(ze,{url:n.appCode,onUploadSuccess:function(d,C){a.setFieldsValue({url:d,fileSize:(0,ke.aV)(C.size)})}})]})}),(0,e.jsx)(t.Z.Item,{label:"app\u7248\u672C",name:"version",children:(0,e.jsx)(m.Z,{})}),(0,e.jsx)(t.Z.Item,{label:"\u83DC\u5355\u680F\u4E2D",name:"hide",children:(0,e.jsx)(_e.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)(_e.Z,{disabled:V,options:(0,ke.FG)()})}),(0,e.jsx)(t.Z.Item,{label:"app\u5927\u5C0F",name:"fileSize",children:(0,e.jsx)(m.Z,{disabled:!0})}),(0,e.jsx)(t.Z.Item,{label:"app\u4E0B\u8F7D\u6B21\u6570",name:"downloadTimes",children:(0,e.jsx)(m.Z,{disabled:!0})}),(0,e.jsx)(t.Z.Item,{label:"\u6240\u5C5E\u516C\u53F8",name:"author",children:(0,e.jsx)(m.Z,{})}),(0,e.jsx)(t.Z.Item,{label:"app\u5305\u540D",name:"packageName",children:(0,e.jsx)(m.Z,{})}),(0,e.jsx)(t.Z.Item,{label:"app\u7B80\u4ECB",name:"desc",children:(0,e.jsx)(m.Z.TextArea,{})}),(0,e.jsxs)(t.Z.Item,{label:"\u5E94\u7528\u622A\u56FE",name:"images",children:[(0,e.jsx)(Cn,{value:[],onChange:function(d){var C=d.filter(function(P){return P.url}).map(function(P){return P.url}).filter(Boolean);C&&C.length>0&&a.setFieldsValue({images:C})}}),(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"})]})]})})},xn=jn,yn=function(n){var s=t.Z.useForm(),y=F()(s,1),a=y[0],b=function(){a.submit()},$=function(){n.onCancel()},V=function(){var D=S()(u()().mark(function c(i){var g;return u()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,w({appCode:i});case 2:g=d.sent,a.setFieldsValue(g.data);case 4:case"end":return d.stop()}},c)}));return function(i){return D.apply(this,arguments)}}();(0,h.useEffect)(function(){V(n.appCode)},[n.appCode]);var k=function(){var D=S()(u()().mark(function c(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()}},c,null,[[0,5]])}));return function(i){return D.apply(this,arguments)}}();return(0,e.jsx)(be.Z,{title:"\u7F16\u8F91",visible:n.updateModalOpen,onOk:b,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)(m.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"umengAppSecret",label:"AppSecret(\u963F\u91CC\u4E91)",children:(0,e.jsx)(m.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"umengAppCode",label:"AppCode(\u963F\u91CC\u4E91)",children:(0,e.jsx)(m.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"umengAppKey",label:"AppKey(\u53CB\u76DF)",children:(0,e.jsx)(m.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"linkId",label:"linkId(\u53CB\u76DF)",children:(0,e.jsx)(m.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"bindWx",label:"\u7ED1\u5B9A\u5FAE\u4FE1\u8D26\u53F7",children:(0,e.jsx)(Ge.Z,{})})]})})},Fn=yn,bn=function(){var n=(0,h.useState)(!1),s=F()(n,2),y=s[0],a=s[1],b=(0,h.useState)([]),$=F()(b,2),V=$[0],k=$[1],D=(0,h.useState)(!1),c=F()(D,2),i=c[0],g=c[1],l=(0,h.useState)(!1),d=F()(l,2),C=d[0],P=d[1],R=(0,h.useState)(!1),B=F()(R,2),U=B[0],_=B[1],f=(0,h.useState)(),z=F()(f,2),K=z[0],o=z[1],G=[{title:"\u5E94\u7528\u540D",dataIndex:"name",copyable:!0,hideInSearch:!0,fixed:"left",filterDropdown:function(j){var q=j.setSelectedKeys,Se=j.selectedKeys,ce=j.confirm,He=j.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(m.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:Se[0],onChange:function(Xe){return q(Xe.target.value?[Xe.target.value]:[])},onPressEnter:function(){return ce()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(nn.Z,{children:[(0,e.jsx)(ue.ZP,{onClick:function(){return ce()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(ue.ZP,{onClick:function(){return He&&He()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(j,q){return typeof j=="string"&&typeof(q==null?void 0:q.name)=="string"?q.name.includes(j):!1},filterIcon:function(j){return(0,e.jsx)(en.Z,{style:{color:j?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u56FE\u7247",dataIndex:"img",hideInSearch:!0,renderText:function(j){return(0,e.jsx)("img",{style:{width:"40px"},src:j})}},{title:"code",dataIndex:"code",copyable:!0,hideInSearch:!0},{title:"\u5E94\u7528\u5E02\u573A",dataIndex:"code",copyable:!0,width:200,hideInSearch:!0,renderText:function(j){return"https://pomelo.bzgames.cn/market/"+j}},{title:"\u4E0B\u8F7D\u5730\u5740",dataIndex:"url",width:200,hideInSearch:!0,copyable:!0},{title:"\u4E0B\u8F7D\u4E8C\u7EF4\u7801",dataIndex:"url",hideInSearch:!0,renderText:function(j){return j?(0,e.jsx)(ee.Z,{overlayInnerStyle:{padding:0},content:(0,e.jsx)(N.Z,{value:j||"",bordered:!1}),children:(0,e.jsx)("a",{style:{wordBreak:"break-word"},children:"\u67E5\u770B"})}):""}},{title:"secret",dataIndex:"secret",ellipsis:!0,copyable:!0,hideInSearch:!0},{title:"\u83DC\u5355\u680F\u4E2D",dataIndex:"hide",hideInSearch:!0,renderText:function(j){return j===0?(0,e.jsx)(ge.Z,{color:"blue",children:"\u5C55\u793A"}):(0,e.jsx)(ge.Z,{color:"purple",children:"\u9690\u85CF"})}},{title:"\u6E20\u9053",dataIndex:"channel",hideInSearch:!0,renderText:function(j){var q=(0,ke.FG)(),Se=q.find(function(ce){return ce.value===j});return Se?Se.label:j}},{title:"\u64CD\u4F5C",width:100,hideInSearch:!0,fixed:"right",renderText:function(j){return(0,e.jsxs)(an.Z,{gap:"small",wrap:!0,children:[(0,e.jsx)(ge.Z,{color:"magenta",onClick:function(){o(j.code),a(!0)},children:"\u7F16\u8F91"},"edit"),j.enableCash&&(0,e.jsx)(ge.Z,{color:"orange",onClick:function(){o(j.code),P(!0)},children:"\u53CB\u76DF\u914D\u7F6E"},"ediyUMeng"),(0,e.jsx)(ge.Z,{color:"#2db7f5",onClick:function(){o(j.code),g(!0)},children:"\u652F\u4ED8\u5B9D\u914D\u7F6E"},"ediyAliPay"),j.enableCash&&(0,e.jsx)(ge.Z,{color:"cyan",onClick:function(){o(j.code),_(!0)},children:"\u8F6C\u8D26"},"ediyTransfer")]})}}],O=function(){var p=S()(u()().mark(function j(){var q;return u()().wrap(function(ce){for(;;)switch(ce.prev=ce.next){case 0:return ce.next=2,(0,Z.ln)();case 2:q=ce.sent,q.data&&k(q.data);case 4:case"end":return ce.stop()}},j)}));return function(){return p.apply(this,arguments)}}();return(0,h.useEffect)(function(){O()},[]),(0,e.jsxs)(ne._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)(H.Z,{scroll:{x:1200},search:!1,columns:G,dataSource:V}),K&&i&&(0,e.jsx)(on,{updateModalOpen:i,appCode:K||"",onCancel:function(){return g(!1)},onSubmit:function(){g(!1),O()}}),K&&C&&(0,e.jsx)(Fn,{updateModalOpen:C,appCode:K||"",onCancel:function(){return P(!1)},onSubmit:function(){P(!1)}}),(0,e.jsx)(xn,{updateModalOpen:y,appCode:K,onCancel:function(){return a(!1)},onSubmit:function(){a(!1),O()}}),K&&U&&(0,e.jsx)(pn,{appCode:K||"",onCancel:function(){return _(!1)},onSubmit:function(){_(!1)}})]})},Sn=bn,Zn=function(){var n=(0,T.useModel)("@@initialState"),s=n.initialState,y=s==null?void 0:s.currentUser,a=y&&y.role&&y.role<2;return(0,e.jsx)(ne._z,{children:a?(0,e.jsx)(Sn,{}):(0,e.jsx)(qe,{})})},En=Zn},4575:function(Ze,se,r){r.d(se,{XM:function(){return H},ai:function(){return F},nr:function(){return E},re:function(){return h},vE:function(){return N}});var ne=r(15009),T=r.n(ne),le=r(97857),u=r.n(le),ie=r(99289),S=r.n(ie),W=r(35312);function F(M){return Z.apply(this,arguments)}function Z(){return Z=S()(T()().mark(function M(X){return T()().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()}},M)})),Z.apply(this,arguments)}function H(M,X){return ee.apply(this,arguments)}function ee(){return ee=S()(T()().mark(function M(X,ae){return T()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.abrupt("return",(0,W.request)("/api/superAdmin/saveEvilApp",u()({method:"POST",headers:{"Content-Type":"application/json"},data:X},ae||{})));case 1:case"end":return L.stop()}},M)})),ee.apply(this,arguments)}function N(M,X){return m.apply(this,arguments)}function m(){return m=S()(T()().mark(function M(X,ae){return T()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.abrupt("return",(0,W.request)("/api/superAdmin/saveWhiteUser",u()({method:"POST",params:u()({},X)},ae||{})));case 1:case"end":return L.stop()}},M)})),m.apply(this,arguments)}function h(M,X){return oe.apply(this,arguments)}function oe(){return oe=S()(T()().mark(function M(X,ae){return T()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.abrupt("return",(0,W.request)("/api/superAdmin/transfer",u()({method:"POST",params:u()({},X)},ae||{})));case 1:case"end":return L.stop()}},M)})),oe.apply(this,arguments)}function E(M){return te.apply(this,arguments)}function te(){return te=S()(T()().mark(function M(X){return T()().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()}},M)})),te.apply(this,arguments)}},52043:function(Ze,se,r){r.d(se,{E7:function(){return T},FG:function(){return ne},RQ:function(){return ie},XY:function(){return le},aV:function(){return S},m0:function(){return u}});var ne=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"},{label:"\u5229\u597D",value:"lihao"},{label:"\u4F73\u7476",value:"jiayao"}]},T=function(F){var Z=[];if(!F)return Z;for(var H=F>>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,m=ee;N>=1}return Z},le=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(F){var Z=new Date(F),H=Z.getFullYear().toString().padStart(4,"0"),ee=(Z.getMonth()+1).toString().padStart(2,"0"),N=Z.getDate().toString().padStart(2,"0");return H+ee+N},ie=function(F,Z){var H=F.toString();return H.padStart(Z,"0")},S=function(F){var Z=F;return Z<1024?Z+" B":(Z=parseFloat((Z/1024).toFixed(2)),Z<1024?Z+" KB":(Z=parseFloat((Z/1024).toFixed(2)),Z+" MB"))}},32400:function(Ze,se,r){r.d(se,{p:function(){return W}});var ne=r(15009),T=r.n(ne),le=r(99289),u=r.n(le),ie=r(8322),S=r.n(ie);function W(Z){return F.apply(this,arguments)}function F(){return F=u()(T()().mark(function Z(H){return T()().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:return N.abrupt("return",new Promise(function(m,h){var oe=new(S()).ArrayBuffer,E=new FileReader;E.onload=function(te){var M;oe.append((M=te.target)===null||M===void 0?void 0:M.result),m(oe.end())},E.onerror=function(te){h(te)},E.readAsArrayBuffer(H)}));case 1:case"end":return N.stop()}},Z)})),F.apply(this,arguments)}},86250:function(Ze,se,r){r.d(se,{Z:function(){return ye}});var ne=r(67294),T=r(93967),le=r.n(T),u=r(98423),ie=r(98065),S=r(53124),W=r(91945),F=r(45503);const Z=["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=(x,A)=>{const w=A.wrap===!0?"wrap":A.wrap;return{[`${x}-wrap-${w}`]:w&&Z.includes(w)}},m=(x,A)=>{const w={};return ee.forEach(I=>{w[`${x}-align-${I}`]=A.align===I}),w[`${x}-align-stretch`]=!A.align&&!!A.vertical,w},h=(x,A)=>{const w={};return H.forEach(I=>{w[`${x}-justify-${I}`]=A.justify===I}),w};function oe(x,A){return le()(Object.assign(Object.assign(Object.assign({},N(x,A)),m(x,A)),h(x,A)))}var E=oe;const te=x=>{const{componentCls:A}=x;return{[A]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},M=x=>{const{componentCls:A}=x;return{[A]:{"&-gap-small":{gap:x.flexGapSM},"&-gap-middle":{gap:x.flexGap},"&-gap-large":{gap:x.flexGapLG}}}},X=x=>{const{componentCls:A}=x,w={};return Z.forEach(I=>{w[`${A}-wrap-${I}`]={flexWrap:I}}),w},ae=x=>{const{componentCls:A}=x,w={};return ee.forEach(I=>{w[`${A}-align-${I}`]={alignItems:I}}),w},Q=x=>{const{componentCls:A}=x,w={};return H.forEach(I=>{w[`${A}-justify-${I}`]={justifyContent:I}}),w},L=()=>({});var Ie=(0,W.I$)("Flex",x=>{const{paddingXS:A,padding:w,paddingLG:I}=x,J=(0,F.TS)(x,{flexGapSM:A,flexGap:w,flexGapLG:I});return[te(J),M(J),X(J),ae(J),Q(J)]},L,{resetStyle:!1}),xe=function(x,A){var w={};for(var I in x)Object.prototype.hasOwnProperty.call(x,I)&&A.indexOf(I)<0&&(w[I]=x[I]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var J=0,I=Object.getOwnPropertySymbols(x);J{const{prefixCls:w,rootClassName:I,className:J,style:Fe,flex:Pe,gap:de,children:Ke,vertical:ve=!1,component:he="div"}=x,De=xe(x,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:re,direction:Oe,getPrefixCls:we}=ne.useContext(S.E_),Y=we("flex",w),[Ee,Te,Be]=Ie(Y),Me=ve!=null?ve:re==null?void 0:re.vertical,Ue=le()(J,I,re==null?void 0:re.className,Y,Te,Be,E(Y,x),{[`${Y}-rtl`]:Oe==="rtl",[`${Y}-gap-${de}`]:(0,ie.n)(de),[`${Y}-vertical`]:Me}),t=Object.assign(Object.assign({},re==null?void 0:re.style),Fe);return Pe&&(t.flex=Pe),de&&!(0,ie.n)(de)&&(t.gap=de),Ee(ne.createElement(he,Object.assign({ref:A,className:Ue,style:t},(0,u.Z)(De,["justify","wrap","align"])),Ke))})}}]); diff --git a/dist/p__MoneyManagement.4138f9c6.async.js b/dist/p__MoneyManagement.4138f9c6.async.js new file mode 100644 index 0000000..2c72af9 --- /dev/null +++ b/dist/p__MoneyManagement.4138f9c6.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[190],{40110:function(ee,D,n){var d=n(1413),x=n(67294),T=n(509),v=n(91146),E=function(F,S){return x.createElement(v.Z,(0,d.Z)((0,d.Z)({},F),{},{ref:S,icon:T.Z}))},y=x.forwardRef(E);D.Z=y},39829:function(ee,D,n){n.r(D),n.d(D,{default:function(){return Y}});var d=n(97857),x=n.n(d),T=n(15009),v=n.n(T),E=n(99289),y=n.n(E),P=n(35312);function F(O,h){return S.apply(this,arguments)}function S(){return S=y()(v()().mark(function O(h,a){return v()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,P.request)("/api/admin/money/audit",x()({method:"POST",headers:{"Content-Type":"application/json"},data:h},a||{})));case 1:case"end":return o.stop()}},O)})),S.apply(this,arguments)}function N(O,h){return B.apply(this,arguments)}function B(){return B=y()(v()().mark(function O(h,a){return v()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,P.request)("/api/admin/money/list",x()({method:"POST",headers:{"Content-Type":"application/json"},data:h},a||{})));case 1:case"end":return o.stop()}},O)})),B.apply(this,arguments)}var U=n(58125),X=n(90930),M=n(67539),J=n(66309),R=n(86250),A=n(86738),Z=n(14726),V=n(67294),z=n(52043),K=n(42767),m=n(85893),Q=function(){var h=(0,P.useParams)(),a=h.code,s=(0,V.useRef)();(0,V.useEffect)(function(){var l;(l=s.current)===null||l===void 0||l.reload()},[a]);var o=[{title:"id",dataIndex:"id",valueType:"textarea",copyable:!0,hideInSearch:!0,renderText:function(u,e){return(0,z.m0)(e.createdAt||0)+(0,z.RQ)(e.id||0,6)}},{title:"\u7528\u6237",hideInSearch:!0,dataIndex:"user",valueType:"textarea",width:150,renderText:function(u,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(u){return(0,U.D)(u)}},{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(u){var e=(0,z.XY)(),r=e.find(function(t){return t.value===u+""}),c=r?r.label:"\u672A\u77E5";return(0,m.jsx)(J.Z,{color:r==null?void 0:r.color,children:c})}},{title:"\u72B6\u6001",dataIndex:"status",hideInTable:!0,valueType:"select",fieldProps:{options:(0,z.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(u){return(0,m.jsx)(R.Z,{gap:"small",wrap:!0,children:u.status===0&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(A.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:y()(v()().mark(function e(){var r;return v()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,F({id:u.id,status:-2,reason:""});case 2:(r=s.current)===null||r===void 0||r.reload();case 3:case"end":return t.stop()}},e)})),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,m.jsx)(Z.ZP,{children:"\u62D2\u7EDD"})}),(0,m.jsx)(A.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:y()(v()().mark(function e(){var r;return v()().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,F({id:u.id,status:1,reason:""});case 2:(r=s.current)===null||r===void 0||r.reload();case 3:case"end":return t.stop()}},e)})),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,m.jsx)(Z.ZP,{type:"primary",children:"\u901A\u8FC7"})})]})})}}];return(0,m.jsx)(X._z,{children:(0,m.jsx)(M.Z,{actionRef:s,request:function(){var l=y()(v()().mark(function u(e){var r,c,t;return v()().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return f.next=2,N(x()(x()({},e),{},{appCode:a}));case 2:return t=f.sent,f.abrupt("return",{data:(r=t.data)===null||r===void 0?void 0:r.data,total:(c=t.data)===null||c===void 0?void 0:c.total,success:!0});case 4:case"end":return f.stop()}},u)}));return function(u){return l.apply(this,arguments)}}(),columns:o})})},Y=Q},86250:function(ee,D,n){n.d(D,{Z:function(){return h}});var d=n(67294),x=n(93967),T=n.n(x),v=n(98423),E=n(98065),y=n(53124),P=n(91945),F=n(45503);const S=["wrap","nowrap","wrap-reverse"],N=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],B=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],U=(a,s)=>{const o=s.wrap===!0?"wrap":s.wrap;return{[`${a}-wrap-${o}`]:o&&S.includes(o)}},X=(a,s)=>{const o={};return B.forEach(l=>{o[`${a}-align-${l}`]=s.align===l}),o[`${a}-align-stretch`]=!s.align&&!!s.vertical,o},M=(a,s)=>{const o={};return N.forEach(l=>{o[`${a}-justify-${l}`]=s.justify===l}),o};function J(a,s){return T()(Object.assign(Object.assign(Object.assign({},U(a,s)),X(a,s)),M(a,s)))}var R=J;const A=a=>{const{componentCls:s}=a;return{[s]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},Z=a=>{const{componentCls:s}=a;return{[s]:{"&-gap-small":{gap:a.flexGapSM},"&-gap-middle":{gap:a.flexGap},"&-gap-large":{gap:a.flexGapLG}}}},V=a=>{const{componentCls:s}=a,o={};return S.forEach(l=>{o[`${s}-wrap-${l}`]={flexWrap:l}}),o},z=a=>{const{componentCls:s}=a,o={};return B.forEach(l=>{o[`${s}-align-${l}`]={alignItems:l}}),o},K=a=>{const{componentCls:s}=a,o={};return N.forEach(l=>{o[`${s}-justify-${l}`]={justifyContent:l}}),o},m=()=>({});var Q=(0,P.I$)("Flex",a=>{const{paddingXS:s,padding:o,paddingLG:l}=a,u=(0,F.TS)(a,{flexGapSM:s,flexGap:o,flexGapLG:l});return[A(u),Z(u),V(u),z(u),K(u)]},m,{resetStyle:!1}),Y=function(a,s){var o={};for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&s.indexOf(l)<0&&(o[l]=a[l]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,l=Object.getOwnPropertySymbols(a);u{const{prefixCls:o,rootClassName:l,className:u,style:e,flex:r,gap:c,children:t,vertical:i=!1,component:f="div"}=a,g=Y(a,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:p,direction:I,getPrefixCls:L}=d.useContext(y.E_),C=L("flex",o),[w,j,k]=Q(C),q=i!=null?i:p==null?void 0:p.vertical,b=T()(u,l,p==null?void 0:p.className,C,j,k,R(C,a),{[`${C}-rtl`]:I==="rtl",[`${C}-gap-${c}`]:(0,E.n)(c),[`${C}-vertical`]:q}),W=Object.assign(Object.assign({},p==null?void 0:p.style),e);return r&&(W.flex=r),c&&!(0,E.n)(c)&&(W.gap=c),w(d.createElement(f,Object.assign({ref:s,className:b,style:W},(0,v.Z)(g,["justify","wrap","align"])),t))})},66309:function(ee,D,n){n.d(D,{Z:function(){return u}});var d=n(67294),x=n(93967),T=n.n(x),v=n(98423),E=n(98787),y=n(69760),P=n(96159),F=n(45353),S=n(53124),N=n(54548),B=n(10274),U=n(14747),X=n(45503),M=n(91945);const J=e=>{const{paddingXXS:r,lineWidth:c,tagPaddingHorizontal:t,componentCls:i,calc:f}=e,g=f(t).sub(c).equal(),p=f(r).sub(c).equal();return{[i]:Object.assign(Object.assign({},(0,U.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,N.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${i}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${i}-close-icon`]:{marginInlineStart:p,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${i}-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(${i}-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}}),[`${i}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},R=e=>{const{lineWidth:r,fontSizeIcon:c,calc:t}=e,i=e.fontSizeSM;return(0,X.TS)(e,{tagFontSize:i,tagLineHeight:(0,N.bf)(t(e.lineHeightSM).mul(i).equal()),tagIconSize:t(c).sub(t(r).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},A=e=>({defaultBg:new B.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var Z=(0,M.I$)("Tag",e=>{const r=R(e);return J(r)},A),V=function(e,r){var c={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(c[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,t=Object.getOwnPropertySymbols(e);i{const{prefixCls:c,style:t,className:i,checked:f,onChange:g,onClick:p}=e,I=V(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:L,tag:C}=d.useContext(S.E_),w=_=>{g==null||g(!f),p==null||p(_)},j=L("tag",c),[k,q,b]=Z(j),W=T()(j,`${j}-checkable`,{[`${j}-checkable-checked`]:f},C==null?void 0:C.className,i,q,b);return k(d.createElement("span",Object.assign({},I,{ref:r,style:Object.assign(Object.assign({},t),C==null?void 0:C.style),className:W,onClick:w})))}),m=n(98719);const Q=e=>(0,m.Z)(e,(r,c)=>{let{textColor:t,lightBorderColor:i,lightColor:f,darkColor:g}=c;return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:t,background:f,borderColor:i,"&-inverse":{color:e.colorTextLightSolid,background:g,borderColor:g},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Y=(0,M.bk)(["Tag","preset"],e=>{const r=R(e);return Q(r)},A);function O(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const h=(e,r,c)=>{const t=O(c);return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:e[`color${c}`],background:e[`color${t}Bg`],borderColor:e[`color${t}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var a=(0,M.bk)(["Tag","status"],e=>{const r=R(e);return[h(r,"success","Success"),h(r,"processing","Info"),h(r,"error","Error"),h(r,"warning","Warning")]},A),s=function(e,r){var c={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(c[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,t=Object.getOwnPropertySymbols(e);i{const{prefixCls:c,className:t,rootClassName:i,style:f,children:g,icon:p,color:I,onClose:L,bordered:C=!0,visible:w}=e,j=s(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:k,direction:q,tag:b}=d.useContext(S.E_),[W,_]=d.useState(!0),ie=(0,v.Z)(j,["closeIcon","closable"]);d.useEffect(()=>{w!==void 0&&_(w)},[w]);const re=(0,E.o2)(I),ae=(0,E.yT)(I),te=re||ae,ue=Object.assign(Object.assign({backgroundColor:I&&!te?I:void 0},b==null?void 0:b.style),f),$=k("tag",c),[de,fe,ge]=Z($),pe=T()($,b==null?void 0:b.className,{[`${$}-${I}`]:te,[`${$}-has-color`]:I&&!te,[`${$}-hidden`]:!W,[`${$}-rtl`]:q==="rtl",[`${$}-borderless`]:!C},t,i,fe,ge),le=H=>{H.stopPropagation(),L==null||L(H),!H.defaultPrevented&&_(!1)},[,ve]=(0,y.Z)((0,y.w)(e),(0,y.w)(b),{closable:!1,closeIconRender:H=>{const he=d.createElement("span",{className:`${$}-close-icon`,onClick:le},H);return(0,P.wm)(H,he,G=>({onClick:ce=>{var ne;(ne=G==null?void 0:G.onClick)===null||ne===void 0||ne.call(G,ce),le(ce)},className:T()(G==null?void 0:G.className,`${$}-close-icon`)}))}}),me=typeof j.onClick=="function"||g&&g.type==="a",oe=p||null,Ce=oe?d.createElement(d.Fragment,null,oe,g&&d.createElement("span",null,g)):g,se=d.createElement("span",Object.assign({},ie,{ref:r,className:pe,style:ue}),Ce,ve,re&&d.createElement(Y,{key:"preset",prefixCls:$}),ae&&d.createElement(a,{key:"status",prefixCls:$}));return de(me?d.createElement(F.Z,{component:"Tag"},se):se)});l.CheckableTag=K;var u=l}}]); diff --git a/dist/p__MoneyManagement.6438f0bb.async.js b/dist/p__MoneyManagement.6438f0bb.async.js deleted file mode 100644 index 53b1d21..0000000 --- a/dist/p__MoneyManagement.6438f0bb.async.js +++ /dev/null @@ -1 +0,0 @@ -"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__Proxy__ProxyAdvRecordListV2.20a0f4c8.async.js b/dist/p__Proxy__ProxyAdvRecordListV2.20a0f4c8.async.js new file mode 100644 index 0000000..308cc2b --- /dev/null +++ b/dist/p__Proxy__ProxyAdvRecordListV2.20a0f4c8.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[990],{40110:function(V,M,e){var j=e(1413),s=e(67294),b=e(509),u=e(91146),R=function(h,P){return s.createElement(u.Z,(0,j.Z)((0,j.Z)({},h),{},{ref:P,icon:b.Z}))},m=s.forwardRef(R);M.Z=m},42521:function(V,M,e){e.r(M);var j=e(15009),s=e.n(j),b=e(97857),u=e.n(b),R=e(99289),m=e.n(R),p=e(5574),h=e.n(p),P=e(48357),B=e(80484),U=e(11415),W=e(90930),y=e(67539),E=e(39615),A=e(57470),S=e(64317),C=e(34540),Z=e(35312),g=e(13169),_=e(96074),i=e(16250),d=e(27484),O=e.n(d),n=e(9220),D=e(67294),J=e(96974),Q=e(42767),r=e(85893),X=function(){var w=(0,D.useRef)(),Y=(0,D.useRef)(),k=(0,D.useState)(!1),$=h()(k,2),L=$[0],q=$[1],ee=(0,Z.useIntl)(),te=(0,J.UO)(),K=te.code,ne=(0,D.useState)(),F=h()(ne,2),l=F[0],re=F[1],ae=(0,D.useState)([]),G=h()(ae,2),z=G[0],_e=G[1],x=function(){return window.innerWidth<=768},se=(0,D.useState)({deviceId:{show:!x()},appName:{show:!x()},platform:{show:!x()},deviceBrand:{show:!x()},deviceName:{show:!x()},ip:{show:!x()}}),N=h()(se,2),ie=N[0],ue=N[1],oe=[{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(t,o){if(o.user)return(0,r.jsx)(Q.Z,{data:o.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(t){return t/100}},{title:"ecpm-\u4EE3\u7406\u6536\u5165(\u5143)",dataIndex:"ecpmAdmin",hideInSearch:!0,renderText:function(t){return t/100}},{title:"\u8BBE\u5907",dataIndex:"device",hideInSearch:!0,renderText:function(t,o){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{children:o.deviceBrand}),(0,r.jsx)("p",{children:o.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"}],de=function(){var a=m()(s()().mark(function t(o){var v,c,f;return s()().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return I.next=2,(0,P._5)(u()(u()({},o),{},{code:K}));case 2:return f=I.sent,I.abrupt("return",{data:(v=f.data)===null||v===void 0?void 0:v.data,total:(c=f.data)===null||c===void 0?void 0:c.total,success:!0});case 4:case"end":return I.stop()}},t)}));return function(o){return a.apply(this,arguments)}}(),le=function(){var a=m()(s()().mark(function t(){var o;return s()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,(0,B.OE)({appCode:K});case 2:o=c.sent,o.data&&re(o.data);case 4:case"end":return c.stop()}},t)}));return function(){return a.apply(this,arguments)}}(),H=function(){var a=m()(s()().mark(function t(o){var v;return s()().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return f.next=2,(0,B.di)(u()(u()({},o),{},{code:K}));case 2:v=f.sent,v.data&&_e(v.data);case 4:case"end":return f.stop()}},t)}));return function(o){return a.apply(this,arguments)}}();(0,D.useEffect)(function(){var a,t;(a=w.current)===null||a===void 0||a.reload(),(t=Y.current)===null||t===void 0||t.reload(),le(),H(void 0)},[K]);var T=function(t){return t?parseFloat((t/1e5).toFixed(2)):0},ce=z.map(function(a){return{date:function(){var t=a.date+"",o=t.slice(0,4),v=t.slice(4,6),c=t.slice(6,8);return"".concat(o,"-").concat(v,"-").concat(c)}(),income:T(a.income)}}),me={data:ce,xField:"date",yField:"income",tooltip:{name:"\u6536\u5165",field:"income"},axis:{date:{title:"\u65E5\u671F"}},title:"\u7D2F\u8BA1"+T(z.reduce(function(a,t){return a+(t.income?t.income:0)},0))+"\u5143",height:400,label:{text:function(t){return t.income>0?t.income:""},textBaseline:"bottom"}};return(0,r.jsx)(W._z,{children:(0,r.jsxs)(g.Z,{defaultActiveKey:"2",centered:!0,style:{backgroundColor:"white",padding:"20px"},children:[(0,r.jsx)(i.Z,{tab:"\u5E7F\u544A\u8BE6\u60C5",children:(0,r.jsx)(y.Z,{headerTitle:ee.formatMessage({id:"pages.searchTable.title",defaultMessage:"Enquiry form"}),actionRef:w,rowKey:"id",search:{labelWidth:120},request:de,columns:oe,columnsState:{value:ie,onChange:function(t){ue(t)}}})},"2"),(0,r.jsxs)(i.Z,{tab:"\u6570\u636E\u603B\u89C8",children:[(0,r.jsx)(n.Z,{onResize:function(t){q(t.width<596)},children:(0,r.jsx)(E.Z,{children:(0,r.jsxs)(E.Z.Group,{direction:L?"column":"row",children:[(0,r.jsx)(E.Z,{statistic:{title:"\u4E0A\u6708\u6536\u5165\uFF08\u5143\uFF09",value:T(l==null?void 0:l.lastMonthIncome)}}),(0,r.jsx)(_.Z,{type:L?"horizontal":"vertical"}),(0,r.jsx)(E.Z,{statistic:{title:"\u672C\u6708\u6536\u5165\uFF08\u5143\uFF09",value:T(l==null?void 0:l.thisMonthIncome)}}),(0,r.jsx)(_.Z,{type:L?"horizontal":"vertical"}),(0,r.jsx)(E.Z,{statistic:{title:"\u4ECA\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:T(l==null?void 0:l.todayIncome)}}),(0,r.jsx)(_.Z,{type:L?"horizontal":"vertical"}),(0,r.jsx)(E.Z,{statistic:{title:"\u6628\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:T(l==null?void 0:l.yesterdayIncome)}})]})})},"resize-observer"),(0,r.jsxs)(A.t,{defaultCollapsed:!0,split:!0,onFinish:H,children:[(0,r.jsx)(S.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,r.jsx)(C.Z,{fieldProps:{disabledDate:function(t){return t&&t>=O()().startOf("day")}},name:"date",label:"\u65F6\u95F4"})]}),(0,r.jsx)(U.Z,u()({},me))]},"3")]})})};M.default=X},80484:function(V,M,e){e.d(M,{OE:function(){return W},di:function(){return B},n4:function(){return S},ps:function(){return Z},sk:function(){return E}});var j=e(15009),s=e.n(j),b=e(97857),u=e.n(b),R=e(99289),m=e.n(R),p=e(35312);function h(_,i){return P.apply(this,arguments)}function P(){return P=_asyncToGenerator(_regeneratorRuntime().mark(function _(i,d){return _regeneratorRuntime().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",request("/api/admin/device/calc",_objectSpread({method:"GET",params:_objectSpread({},i)},d||{})));case 1:case"end":return n.stop()}},_)})),P.apply(this,arguments)}function B(_,i){return U.apply(this,arguments)}function U(){return U=m()(s()().mark(function _(i,d){return s()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",(0,p.request)("/api/admin/device/incomeDaily",u()({method:"POST",headers:{"Content-Type":"application/json"},data:i},d||{})));case 1:case"end":return n.stop()}},_)})),U.apply(this,arguments)}function W(_,i){return y.apply(this,arguments)}function y(){return y=m()(s()().mark(function _(i,d){return s()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",(0,p.request)("/api/admin/device/incomeOverview",u()({method:"GET",params:u()({},i)},d||{})));case 1:case"end":return n.stop()}},_)})),y.apply(this,arguments)}function E(_,i){return A.apply(this,arguments)}function A(){return A=m()(s()().mark(function _(i,d){return s()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",(0,p.request)("/api/admin/device/list",u()({method:"GET",params:u()({},i)},d||{})));case 1:case"end":return n.stop()}},_)})),A.apply(this,arguments)}function S(_,i){return C.apply(this,arguments)}function C(){return C=m()(s()().mark(function _(i,d){return s()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",(0,p.request)("/api/admin/device/offline",u()({method:"POST",params:u()({},i)},d||{})));case 1:case"end":return n.stop()}},_)})),C.apply(this,arguments)}function Z(_,i){return g.apply(this,arguments)}function g(){return g=m()(s()().mark(function _(i,d){return s()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",(0,p.request)("/api/admin/device/online",u()({method:"POST",params:u()({},i)},d||{})));case 1:case"end":return n.stop()}},_)})),g.apply(this,arguments)}}}]); diff --git a/dist/p__Proxy__ProxyAdvRecordListV2.8a4ba9c6.async.js b/dist/p__Proxy__ProxyAdvRecordListV2.8a4ba9c6.async.js deleted file mode 100644 index 2a994d4..0000000 --- a/dist/p__Proxy__ProxyAdvRecordListV2.8a4ba9c6.async.js +++ /dev/null @@ -1 +0,0 @@ -"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__ProxyUserManagement.3e781dae.async.js b/dist/p__Proxy__ProxyUserManagement.3e781dae.async.js new file mode 100644 index 0000000..9e53728 --- /dev/null +++ b/dist/p__Proxy__ProxyUserManagement.3e781dae.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[526],{40110:function(G,P,r){var o=r(1413),d=r(67294),b=r(509),_=r(91146),O=function(y,h){return d.createElement(_.Z,(0,o.Z)((0,o.Z)({},y),{},{ref:h,icon:b.Z}))},m=d.forwardRef(O);P.Z=m},58371:function(G,P,r){r.r(P);var o=r(15009),d=r.n(o),b=r(97857),_=r.n(b),O=r(99289),m=r.n(O),T=r(81072),y=r(58125),h=r(90930),A=r(67539),S=r(35312),W=r(66309),I=r(67294),u=r(42767),i=r(85893),f=function(){var l=(0,S.useParams)(),H=l.code,X=(0,I.useRef)();(0,I.useEffect)(function(){var p;(p=X.current)===null||p===void 0||p.reload()},[H]);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(g,K){return(0,i.jsx)(u.Z,{data:K})}},{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(g){return g?(0,i.jsx)(W.Z,{color:"green",children:"\u5DF2\u7ED1\u5B9A"}):(0,i.jsx)(W.Z,{color:"red",children:"\u672A\u7ED1\u5B9A"})}},{title:"\u603B\u6536\u76CA\uFF08\u5143\uFF09",hideInSearch:!0,dataIndex:"income",renderText:function(g){return(0,y.P)(g)}},{title:"\u5DF2\u63D0\u73B0\uFF08\u5143\uFF09",hideInSearch:!0,dataIndex:"realMoney",renderText:function(g){return(0,y.D)(g)}},{title:"\u6CE8\u518C\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u65F6\u95F4",hideInTable:!0,dataIndex:"createdAt",valueType:"dateRange",hideInSearch:!0}];return(0,i.jsx)(h._z,{children:(0,i.jsx)(A.Z,{actionRef:X,request:function(){var p=m()(d()().mark(function g(K){var V,x,N;return d()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.next=2,(0,T.pb)(_()(_()({},K),{},{appCode:H}));case 2:return N=B.sent,B.abrupt("return",{data:(V=N.data)===null||V===void 0?void 0:V.data,total:(x=N.data)===null||x===void 0?void 0:x.total,success:!0});case 4:case"end":return B.stop()}},g)}));return function(g){return p.apply(this,arguments)}}(),columns:Q})})};P.default=f},81072:function(G,P,r){r.d(P,{fn:function(){return W},pb:function(){return A},wv:function(){return y}});var o=r(15009),d=r.n(o),b=r(97857),_=r.n(b),O=r(99289),m=r.n(O),T=r(35312);function y(u,i){return h.apply(this,arguments)}function h(){return h=m()(d()().mark(function u(i,f){return d()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",(0,T.request)("/api/admin/user/changeStatus",_()({method:"POST",params:_()({},i)},f||{})));case 1:case"end":return l.stop()}},u)})),h.apply(this,arguments)}function A(u,i){return S.apply(this,arguments)}function S(){return S=m()(d()().mark(function u(i,f){return d()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",(0,T.request)("/api/admin/user/list",_()({method:"POST",headers:{"Content-Type":"application/json"},data:i},f||{})));case 1:case"end":return l.stop()}},u)})),S.apply(this,arguments)}function W(u,i){return I.apply(this,arguments)}function I(){return I=m()(d()().mark(function u(i,f){return d()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",(0,T.request)("/api/admin/user/queryById",_()({method:"GET",params:_()({},i)},f||{})));case 1:case"end":return l.stop()}},u)})),I.apply(this,arguments)}},66309:function(G,P,r){r.d(P,{Z:function(){return ie}});var o=r(67294),d=r(93967),b=r.n(d),_=r(98423),O=r(98787),m=r(69760),T=r(96159),y=r(45353),h=r(53124),A=r(54548),S=r(10274),W=r(14747),I=r(45503),u=r(91945);const i=e=>{const{paddingXXS:a,lineWidth:s,tagPaddingHorizontal:n,componentCls:t,calc:C}=e,c=C(n).sub(s).equal(),U=C(a).sub(s).equal();return{[t]:Object.assign(Object.assign({},(0,W.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:c,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",[`&${t}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${t}-close-icon`]:{marginInlineStart:U,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${t}-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(${t}-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:c}}),[`${t}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},f=e=>{const{lineWidth:a,fontSizeIcon:s,calc:n}=e,t=e.fontSizeSM;return(0,I.TS)(e,{tagFontSize:t,tagLineHeight:(0,A.bf)(n(e.lineHeightSM).mul(t).equal()),tagIconSize:n(s).sub(n(a).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},D=e=>({defaultBg:new S.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var l=(0,u.I$)("Tag",e=>{const a=f(e);return i(a)},D),H=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 t=0,n=Object.getOwnPropertySymbols(e);t{const{prefixCls:s,style:n,className:t,checked:C,onChange:c,onClick:U}=e,j=H(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:z,tag:M}=o.useContext(h.E_),Z=F=>{c==null||c(!C),U==null||U(F)},$=z("tag",s),[J,Y,E]=l($),w=b()($,`${$}-checkable`,{[`${$}-checkable-checked`]:C},M==null?void 0:M.className,t,Y,E);return J(o.createElement("span",Object.assign({},j,{ref:a,style:Object.assign(Object.assign({},n),M==null?void 0:M.style),className:w,onClick:Z})))}),p=r(98719);const g=e=>(0,p.Z)(e,(a,s)=>{let{textColor:n,lightBorderColor:t,lightColor:C,darkColor:c}=s;return{[`${e.componentCls}${e.componentCls}-${a}`]:{color:n,background:C,borderColor:t,"&-inverse":{color:e.colorTextLightSolid,background:c,borderColor:c},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var K=(0,u.bk)(["Tag","preset"],e=>{const a=f(e);return g(a)},D);function V(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const x=(e,a,s)=>{const n=V(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 N=(0,u.bk)(["Tag","status"],e=>{const a=f(e);return[x(a,"success","Success"),x(a,"processing","Info"),x(a,"error","Error"),x(a,"warning","Warning")]},D),ee=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 t=0,n=Object.getOwnPropertySymbols(e);t{const{prefixCls:s,className:n,rootClassName:t,style:C,children:c,icon:U,color:j,onClose:z,bordered:M=!0,visible:Z}=e,$=ee(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:J,direction:Y,tag:E}=o.useContext(h.E_),[w,F]=o.useState(!0),ce=(0,_.Z)($,["closeIcon","closable"]);o.useEffect(()=>{Z!==void 0&&F(Z)},[Z]);const ne=(0,O.o2)(j),te=(0,O.yT)(j),k=ne||te,de=Object.assign(Object.assign({backgroundColor:j&&!k?j:void 0},E==null?void 0:E.style),C),v=J("tag",s),[ue,_e,me]=l(v),fe=b()(v,E==null?void 0:E.className,{[`${v}-${j}`]:k,[`${v}-has-color`]:j&&!k,[`${v}-hidden`]:!w,[`${v}-rtl`]:Y==="rtl",[`${v}-borderless`]:!M},n,t,_e,me),ae=L=>{L.stopPropagation(),z==null||z(L),!L.defaultPrevented&&F(!1)},[,pe]=(0,m.Z)((0,m.w)(e),(0,m.w)(E),{closable:!1,closeIconRender:L=>{const he=o.createElement("span",{className:`${v}-close-icon`,onClick:ae},L);return(0,T.wm)(L,he,R=>({onClick:le=>{var q;(q=R==null?void 0:R.onClick)===null||q===void 0||q.call(R,le),ae(le)},className:b()(R==null?void 0:R.className,`${v}-close-icon`)}))}}),ge=typeof $.onClick=="function"||c&&c.type==="a",oe=U||null,ve=oe?o.createElement(o.Fragment,null,oe,c&&o.createElement("span",null,c)):c,se=o.createElement("span",Object.assign({},ce,{ref:a,className:fe,style:de}),ve,pe,ne&&o.createElement(K,{key:"preset",prefixCls:v}),te&&o.createElement(N,{key:"status",prefixCls:v}));return ue(ge?o.createElement(y.Z,{component:"Tag"},se):se)});re.CheckableTag=Q;var ie=re}}]); diff --git a/dist/p__Proxy__ProxyUserManagement.9b5c45a4.async.js b/dist/p__Proxy__ProxyUserManagement.9b5c45a4.async.js deleted file mode 100644 index 6fa94fe..0000000 --- a/dist/p__Proxy__ProxyUserManagement.9b5c45a4.async.js +++ /dev/null @@ -1 +0,0 @@ -"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.579fe948.async.js b/dist/p__SuperAdmin.579fe948.async.js deleted file mode 100644 index 6a1b3a5..0000000 --- a/dist/p__SuperAdmin.579fe948.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[455],{28490:function(Fe,w,n){n.r(w),n.d(w,{default:function(){return $e}});var G=n(97857),F=n.n(G),H=n(13769),A=n.n(H),re=n(15009),l=n.n(re),Z=n(99289),v=n.n(Z),h=n(5574),j=n.n(h),b=n(48357),O=n(52043),B=n(40110),te=n(3089),_=n(90930),g=n(8232),M=n(55102),C=n(42075),y=n(14726),R=n(55241),T=n(66309),S=n(2453),c=n(13169),Ze=n(72051),Ce=n(17788),Ie=n(34041),Be=n(71230),Pe=n(15746),U=n(47676),ae=n(16250),he=n(27484),oe=n.n(he),E=n(67294),je=n(19632),ce=n.n(je),Se=n(32400),be=n(56448),Me=n.n(be),ke=n(66476),e=n(85893),x=function(de){var z=de.onUploadSuccess,N=de.onUploadError,Y=(0,E.useState)(!1),fe=j()(Y,2),ne=fe[0],ue=fe[1],ye=(0,E.useState)([]),me=j()(ye,2),X=me[0],se=me[1],ie=(0,E.useState)(null),pe=j()(ie,2),Q=pe[0],V=pe[1],J=ke.Z.Dragger;(0,E.useEffect)(function(){function r(){return t.apply(this,arguments)}function t(){return t=v()(l()().mark(function m(){var u,o;return l()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.prev=0,p.next=3,(0,b.po)();case 3:if(u=p.sent,!(!u.data||!u.data.accessKeySecret||!u.data.accessKeyId)){p.next=7;break}return S.ZP.error("\u521D\u59CB\u5316\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"),p.abrupt("return");case 7:o=new(Me())({region:"oss-cn-beijing",accessKeyId:u.data.accessKeyId,accessKeySecret:u.data.accessKeySecret,stsToken:u.data.securityToken,bucket:u.data.bucket}),V(o),p.next=15;break;case 11:p.prev=11,p.t0=p.catch(0),S.ZP.error("\u521D\u59CB\u5316 OSS \u5BA2\u6237\u7AEF\u5931\u8D25"),N&&N(p.t0);case 15:case"end":return p.stop()}},m,null,[[0,11]])})),t.apply(this,arguments)}r()},[N]);var ve=function(t){var m=(X||[]).filter(function(u){return u.url!==t.url});se(m)},d=function(){var r=v()(l()().mark(function t(m){var u,o,I,p;return l()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:if(u=m.file,!(u instanceof File)){D.next=26;break}return ue(!0),D.prev=3,D.next=6,(0,Se.p)(u);case 6:return o=D.sent,I="matrix/".concat(o,".").concat(u.name.split(".").pop()),D.next=10,Q==null?void 0:Q.put(I,u,{headers:{"Content-Type":u.type}});case 10:p="https://apks.bzgames.cn/".concat(I),z&&z(p),ue(!1),se(function(De){return[].concat(ce()(De),[{uid:u.uid,name:u.name+"\uFF1A"+p,status:"done",url:p}])}),D.next=21;break;case 16:D.prev=16,D.t0=D.catch(3),S.ZP.error("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25"),N&&N(D.t0),se(function(De){return[].concat(ce()(De),[{uid:u.uid,name:u.name,status:"error"}])});case 21:return D.prev=21,ue(!1),D.finish(21);case 24:D.next=27;break;case 26:S.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(m){return r.apply(this,arguments)}}();return(0,e.jsxs)(J,{fileList:X,multiple:!0,customRequest:d,onRemove:ve,disabled:ne||!Q,onPreview:function(){var r=v()(l()().mark(function t(m){return l()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,navigator.clipboard.writeText(m.url||"");case 2:S.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"})]})},k=x,q=n(67539),L=n(4575),W=function(){var de=(0,E.useState)(!1),z=j()(de,2),N=z[0],Y=z[1],fe=(0,E.useState)([]),ne=j()(fe,2),ue=ne[0],ye=ne[1],me=(0,E.useState)([]),X=j()(me,2),se=X[0],ie=X[1],pe=g.Z.useForm(),Q=j()(pe,1),V=Q[0],J=[{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)(M.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:m[0],onChange:function(p){return t(p.target.value?[p.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)(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,m=r.selectedKeys,u=r.confirm,o=r.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(M.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:m[0],onChange:function(p){return t(p.target.value?[p.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)(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")}}],ve=function(){var d=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,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,E.useEffect)(function(){ve()},[]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(y.ZP,{style:{marginBottom:"20px"},onClick:function(){Y(!0),V.resetFields()},children:"\u65B0\u5EFA\u5E94\u7528"}),(0,e.jsx)(q.Z,{search:!1,onReset:function(){ie(ue)},columns:J,dataSource:se}),(0,e.jsx)(Ce.Z,{title:"\u7F16\u8F91",visible:N,onOk:function(){V.submit(),Y(!1)},onCancel:function(){Y(!1)},children:(0,e.jsxs)(g.Z,{labelCol:{span:4},wrapperCol:{span:18},form:V,onFinish:function(){var d=v()(l()().mark(function r(t){return l()().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)(M.Z,{type:"hidden"})}),(0,e.jsx)(g.Z.Item,{label:"\u5E94\u7528\u540D",name:"name",children:(0,e.jsx)(M.Z,{})}),(0,e.jsx)(g.Z.Item,{label:"\u5305\u540D",name:"packageName",children:(0,e.jsx)(M.Z,{})})]})})]})},ee=W,$=n(37804),Ee=n(42767),Ae=function(){var de=(0,E.useState)(!1),z=j()(de,2),N=z[0],Y=z[1],fe=(0,E.useState)([]),ne=j()(fe,2),ue=ne[0],ye=ne[1],me=(0,E.useState)([]),X=j()(me,2),se=X[0],ie=X[1],pe=g.Z.useForm(),Q=j()(pe,1),V=Q[0],J=function(){var d=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,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)(M.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:m[0],onChange:function(p){return t(p.target.value?[p.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)(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,m=r.selectedKeys,u=r.confirm,o=r.clearFilters,I=m[0]?String(m[0]):"";return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)($.Z,{placeholder:"\u641C\u7D22 userId",value:I,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)(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)(T.Z,{color:"green",children:"\u5DF2\u542F\u7528"}):(0,e.jsx)(T.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 m;return l()().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:J();case 3:case"end":return o.stop()}},t)})),children:r.status===0?"\u7981\u7528":"\u542F\u7528"},"edit")}}];return(0,E.useEffect)(function(){J()},[]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(y.ZP,{style:{marginBottom:"20px"},onClick:function(){Y(!0),V.resetFields()},children:"\u6DFB\u52A0\u767D\u540D\u5355"}),(0,e.jsx)(q.Z,{search:!1,onReset:function(){ie(ue)},columns:ve,dataSource:se}),(0,e.jsx)(Ce.Z,{title:"\u7F16\u8F91",visible:N,onOk:function(){V.submit(),Y(!1)},onCancel:function(){Y(!1)},children:(0,e.jsx)(g.Z,{labelCol:{span:4},wrapperCol:{span:18},form:V,onFinish:function(){var d=v()(l()().mark(function r(t){var m;return l()().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:J();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)($.Z,{style:{width:200}})})})})]})},Oe=Ae,Ke=["scheduleTime"],Re=function(){var de=(0,E.useState)([]),z=j()(de,2),N=z[0],Y=z[1],fe=(0,E.useState)([]),ne=j()(fe,2),ue=ne[0],ye=ne[1],me=(0,E.useState)([]),X=j()(me,2),se=X[0],ie=X[1],pe=(0,E.useState)(!1),Q=j()(pe,2),V=Q[0],J=Q[1],ve=(0,E.useState)(!1),d=j()(ve,2),r=d[0],t=d[1],m=g.Z.useForm(),u=j()(m,1),o=u[0],I=g.Z.useForm(),p=j()(I,1),ge=p[0],D=function(){var f=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,b.hy)();case 2:i=s.sent,i.data&&ye(i.data);case 4:case"end":return s.stop()}},a)}));return function(){return f.apply(this,arguments)}}(),De=function(){var f=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,b.o9)({deviceId:i});case 4:D();case 5:case"end":return s.stop()}},a)}));return function(i){return f.apply(this,arguments)}}(),we=[{title:"\u8BBE\u5907id",dataIndex:"deviceId",ellipsis:!0,filterDropdown:function(a){var i=a.setSelectedKeys,P=a.selectedKeys,s=a.confirm,le=a.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(M.Z,{placeholder:"\u641C\u7D22\u8BBE\u5907",value:P[0],onChange:function(K){return i(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,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,O.FG)(),P=i.find(function(s){return s.value===a});return P?P.label:a}},{title:"\u64CD\u4F5C",dataIndex:"operate",render:function(a,i){return(0,e.jsx)(R.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(i.deviceId)},children:"\u786E\u5B9A"})]}),children:(0,e.jsx)("a",{children:"\u5220\u9664"})})}}],We=function(a){var i=N.find(function(P){return P.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)(T.Z,{color:"blue",children:We(a)},a)}},{title:"\u6E20\u9053",dataIndex:"channel",render:function(a){var i=(0,O.FG)(),P=i.find(function(s){return s.value===a});return P?P.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")}}],Ue=function(){var f=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,b.mW)();case 2:i=s.sent,i.data&&ie(i.data);case 4:case"end":return s.stop()}},a)}));return function(){return f.apply(this,arguments)}}(),Ve=function(){var f=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,b.ln)();case 2:i=s.sent,i.data&&Y(i.data);case 4:case"end":return s.stop()}},a)}));return function(){return f.apply(this,arguments)}}();(0,E.useEffect)(function(){Ve(),D(),Ue()},[]);var Ge=function(){var f=v()(l()().mark(function a(i){var P,s,le;return l()().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:return P=i.scheduleTime,s=A()(i,Ke),le=P.map(function(Le){return oe()(Le.time).valueOf()}),K.prev=2,K.next=5,(0,b.tI)(F()({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:S.ZP.success("\u4EFB\u52A1\u63D0\u4EA4\u6210\u529F"),Ue(),t(!1);case 13:case"end":return K.stop()}},a,null,[[2,7]])}));return function(i){return f.apply(this,arguments)}}(),He=function(){o.resetFields(),J(!0)},ze=function(){ge.resetFields(),t(!0)},Xe=function(){o.submit()},Qe=function(){J(!1)},Je=function(){ge.submit()},_e=function(){t(!1)},qe=function(){var f=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,b.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:J(!1),D();case 10:case"end":return s.stop()}},a,null,[[0,5]])}));return function(i){return f.apply(this,arguments)}}();return(0,e.jsx)(_._z,{children:(0,e.jsxs)(c.Z,{defaultActiveKey:"1",onChange:function(a){a==="1"?D():a==="2"&&Ue()},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)(Ze.Z,{columns:we,dataSource:ue}),(0,e.jsx)(Ce.Z,{title:"\u6DFB\u52A0\u767D\u540D\u5355",visible:V,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)(M.Z,{})}),(0,e.jsx)(g.Z.Item,{label:"\u6E20\u9053",name:"channel",children:(0,e.jsx)(Ie.Z,{options:(0,O.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)(Ze.Z,{columns:Ye,dataSource:se}),(0,e.jsx)(Ce.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)(Ie.Z,{mode:"multiple",options:N.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)(M.Z,{})}),(0,e.jsx)(g.Z.List,{name:"scheduleTime",children:function(a,i){var P=i.add,s=i.remove;return(0,e.jsxs)(e.Fragment,{children:[a.map(function(le){var xe=le.key,K=le.name;return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(Be.Z,{align:"stretch",gutter:16,children:[(0,e.jsx)(Pe.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)(U.default,{format:"YYYY-MM-DD HH:mm",showTime:{format:"HH:mm"}})})}),(0,e.jsx)(Pe.Z,{children:(0,e.jsx)(te.Z,{onClick:function(){return s(K)}})})]},xe)})}),(0,e.jsx)(g.Z.Item,{children:(0,e.jsx)(y.ZP,{type:"dashed",onClick:function(){return P()},block:!0,children:"\u6DFB\u52A0\u5F00\u59CB\u65F6\u95F4"})})]})}})]})})]})},"2"),(0,e.jsx)(ae.Z,{tab:"\u4E0A\u4F20\u8D44\u6E90",children:(0,e.jsx)(k,{})},"3"),(0,e.jsx)(ae.Z,{tab:"\u975E\u6CD5\u5E94\u7528",children:(0,e.jsx)(ee,{})},"4"),(0,e.jsx)(ae.Z,{tab:"\u7528\u6237\u767D\u540D\u5355",children:(0,e.jsx)(Oe,{})},"5")]})})},$e=Re},42767:function(Fe,w,n){n.d(w,{Z:function(){return Be}});var G=n(5574),F=n.n(G),H=n(55241),A=n(2487),re=n(71230),l=n(7134),Z=n(67294),v=n(52043),h=n(58125),j=n(15009),b=n.n(j),O=n(97857),B=n.n(O),te=n(99289),_=n.n(te),g=n(40110),M=n(67539),C=n(55102),y=n(42075),R=n(14726),T=n(17788),S=n(4575),c=n(85893),Ze=function(U){var ae=(0,Z.useState)(),he=F()(ae,2),oe=he[0],E=he[1],je=(0,Z.useState)(),ce=F()(je,2),Se=ce[0],be=ce[1],Me=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",ellipsis:!0,hideInSearch:!0,filterDropdown:function(x){var k=x.setSelectedKeys,q=x.selectedKeys,L=x.confirm,W=x.clearFilters;return(0,c.jsxs)("div",{style:{padding:8},children:[(0,c.jsx)(C.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:q[0],onChange:function($){return k($.target.value?[$.target.value]:[])},onPressEnter:function(){return L()},style:{marginBottom:8,display:"block"}}),(0,c.jsxs)(y.Z,{children:[(0,c.jsx)(R.ZP,{onClick:function(){return L()},type:"primary",children:"\u641C\u7D22"}),(0,c.jsx)(R.ZP,{onClick:function(){return W&&W()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(x,k){return typeof x=="string"&&typeof(k==null?void 0:k.appName)=="string"?k.appName.includes(x):!1},filterIcon:function(x){return(0,c.jsx)(g.Z,{style:{color:x?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u5E94\u7528\u5305\u540D",dataIndex:"packageName",hideInSearch:!0,ellipsis:!0,filterDropdown:function(x){var k=x.setSelectedKeys,q=x.selectedKeys,L=x.confirm,W=x.clearFilters;return(0,c.jsxs)("div",{style:{padding:8},children:[(0,c.jsx)(C.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:q[0],onChange:function($){return k($.target.value?[$.target.value]:[])},onPressEnter:function(){return L()},style:{marginBottom:8,display:"block"}}),(0,c.jsxs)(y.Z,{children:[(0,c.jsx)(R.ZP,{onClick:function(){return L()},type:"primary",children:"\u641C\u7D22"}),(0,c.jsx)(R.ZP,{onClick:function(){return W&&W()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(x,k){return typeof x=="string"&&typeof(k==null?void 0:k.packageName)=="string"?k.packageName.includes(x):!1},filterIcon:function(x){return(0,c.jsx)(g.Z,{style:{color:x?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}}],ke=function(){var e=_()(b()().mark(function x(){var k,q,L,W;return b()().wrap(function($){for(;;)switch($.prev=$.next){case 0:return $.next=2,(0,S.ai)();case 2:k=$.sent,k.data&&(L=[],W=[],(q=U.data.localAppList)===null||q===void 0||q.forEach(function(Ee){var Ae;(Ae=k.data)!==null&&Ae!==void 0&&Ae.some(function(Oe){return Oe.packageName===Ee.packageName})?L.push(B()(B()({},Ee),{},{evil:!0})):W.push(B()(B()({},Ee),{},{evil:!1}))}),E([].concat(L,W)),be([].concat(L,W)));case 4:case"end":return $.stop()}},x)}));return function(){return e.apply(this,arguments)}}();return(0,Z.useEffect)(function(){ke()},[]),(0,c.jsx)(T.Z,{style:{width:600},onCancel:U.onClose,visible:!0,footer:[],children:(0,c.jsx)(M.Z,{onRow:function(x){return{style:{backgroundColor:x.evil?"red":"transparent"}}},search:!1,onReset:function(){be(oe)},columns:Me,dataSource:Se})})},Ce=Ze,Ie=function(U){var ae=(0,Z.useState)(!1),he=F()(ae,2),oe=he[0],E=he[1],je=(0,v.E7)(U.data.env);return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(H.Z,{content:(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("p",{children:[(0,c.jsx)("label",{children:"\u603B\u6536\u5165\uFF1A"}),(0,h.P)(U.data.income),"\u5143"]}),(0,c.jsxs)("p",{children:[(0,c.jsx)("label",{children:"\u5DF2\u63D0\u73B0\uFF1A"}),(0,h.D)(U.data.realMoney),"\u5143"]}),U.data.localAppList&&U.data.localAppList.length>0&&(0,c.jsxs)("p",{children:[(0,c.jsx)("label",{children:"\u5DF2\u5B89\u88C5\u5E94\u7528\uFF1A"}),U.data.localAppList.length,"\u4E2A",(0,c.jsx)("a",{onClick:function(){E(!0)},style:{marginLeft:20},children:"\u67E5\u770B"})]}),je.length>0&&(0,c.jsx)(A.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)(A.Z.Item,{children:Se})}})]}),children:(0,c.jsxs)(re.Z,{children:[(0,c.jsx)(l.C,{src:U.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:",U.data.id,(0,c.jsx)("br",{}),U.data.nickname||U.data.mobile]})]})}),oe&&(0,c.jsx)(Ce,{onClose:function(){E(!1)},data:U.data})]})},Be=Ie},4575:function(Fe,w,n){n.d(w,{XM:function(){return j},ai:function(){return v},nr:function(){return g},re:function(){return te},vE:function(){return O}});var G=n(15009),F=n.n(G),H=n(97857),A=n.n(H),re=n(99289),l=n.n(re),Z=n(35312);function v(C){return h.apply(this,arguments)}function h(){return h=l()(F()().mark(function C(y){return F()().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return T.abrupt("return",(0,Z.request)("/api/superAdmin/evilAppList",A()({method:"GET"},y||{})));case 1:case"end":return T.stop()}},C)})),h.apply(this,arguments)}function j(C,y){return b.apply(this,arguments)}function b(){return b=l()(F()().mark(function C(y,R){return F()().wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return S.abrupt("return",(0,Z.request)("/api/superAdmin/saveEvilApp",A()({method:"POST",headers:{"Content-Type":"application/json"},data:y},R||{})));case 1:case"end":return S.stop()}},C)})),b.apply(this,arguments)}function O(C,y){return B.apply(this,arguments)}function B(){return B=l()(F()().mark(function C(y,R){return F()().wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return S.abrupt("return",(0,Z.request)("/api/superAdmin/saveWhiteUser",A()({method:"POST",params:A()({},y)},R||{})));case 1:case"end":return S.stop()}},C)})),B.apply(this,arguments)}function te(C,y){return _.apply(this,arguments)}function _(){return _=l()(F()().mark(function C(y,R){return F()().wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return S.abrupt("return",(0,Z.request)("/api/superAdmin/transfer",A()({method:"POST",params:A()({},y)},R||{})));case 1:case"end":return S.stop()}},C)})),_.apply(this,arguments)}function g(C){return M.apply(this,arguments)}function M(){return M=l()(F()().mark(function C(y){return F()().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return T.abrupt("return",(0,Z.request)("/api/superAdmin/whiteUserList",A()({method:"GET"},y||{})));case 1:case"end":return T.stop()}},C)})),M.apply(this,arguments)}},52043:function(Fe,w,n){n.d(w,{E7:function(){return F},FG:function(){return G},RQ:function(){return re},XY:function(){return H},aV:function(){return l},m0:function(){return A}});var G=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 j=v>>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"],O=0,B=b;O>=1}return h},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"}]},A=function(v){var h=new Date(v),j=h.getFullYear().toString().padStart(4,"0"),b=(h.getMonth()+1).toString().padStart(2,"0"),O=h.getDate().toString().padStart(2,"0");return j+b+O},re=function(v,h){var j=v.toString();return j.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(Fe,w,n){n.d(w,{p:function(){return Z}});var G=n(15009),F=n.n(G),H=n(99289),A=n.n(H),re=n(8322),l=n.n(re);function Z(h){return v.apply(this,arguments)}function v(){return v=A()(F()().mark(function h(j){return F()().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return O.abrupt("return",new Promise(function(B,te){var _=new(l()).ArrayBuffer,g=new FileReader;g.onload=function(M){var C;_.append((C=M.target)===null||C===void 0?void 0:C.result),B(_.end())},g.onerror=function(M){te(M)},g.readAsArrayBuffer(j)}));case 1:case"end":return O.stop()}},h)})),v.apply(this,arguments)}},58125:function(Fe,w,n){n.d(w,{D:function(){return F},P:function(){return G}});var G=function(A){return A?parseFloat((A/1e5).toFixed(2)):0},F=function(A){return A?parseFloat((A/100).toFixed(2)):0}}}]); diff --git a/dist/p__SuperAdmin.dec1a716.async.js b/dist/p__SuperAdmin.dec1a716.async.js new file mode 100644 index 0000000..ad3edb0 --- /dev/null +++ b/dist/p__SuperAdmin.dec1a716.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[455],{87450:function(ge,re,i){i.r(re),i.d(re,{default:function(){return Ge}});var le=i(97857),ee=i.n(le),ce=i(13769),te=i.n(ce),de=i(15009),f=i.n(de),oe=i(99289),y=i.n(oe),ae=i(5574),v=i.n(ae),W=i(48357),z=i(52043),H=i(40110),fe=i(3089),ue=i(90930),h=i(8232),b=i(55102),L=i(42075),C=i(14726),Ze=i(55241),se=i(66309),X=i(2453),Ie=i(13169),me=i(72051),q=i(17788),pe=i(34041),De=i(71230),ye=i(15746),Fe=i(47676),J=i(16250),Ae=i(27484),Q=i.n(Ae),j=i(67294),Ee=i(19632),Ce=i.n(Ee),ke=i(32400),Pe=i(56448),be=i.n(Pe),Me=i(66476),e=i(85893),Be=function(K){var I=K.onUploadSuccess,A=K.onUploadError,S=(0,j.useState)(!1),U=v()(S,2),E=U[0],B=U[1],N=(0,j.useState)([]),Y=v()(N,2),D=Y[0],T=Y[1],w=(0,j.useState)(null),$=v()(w,2),M=$[0],x=$[1],k=Me.Z.Dragger;(0,j.useEffect)(function(){function n(){return t.apply(this,arguments)}function t(){return t=y()(f()().mark(function a(){var r,u;return f()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.prev=0,l.next=3,(0,W.po)();case 3:if(r=l.sent,!(!r.data||!r.data.accessKeySecret||!r.data.accessKeyId)){l.next=7;break}return X.ZP.error("\u521D\u59CB\u5316\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"),l.abrupt("return");case 7:u=new(be())({region:"oss-cn-beijing",accessKeyId:r.data.accessKeyId,accessKeySecret:r.data.accessKeySecret,stsToken:r.data.securityToken,bucket:r.data.bucket}),x(u),l.next=15;break;case 11:l.prev=11,l.t0=l.catch(0),X.ZP.error("\u521D\u59CB\u5316 OSS \u5BA2\u6237\u7AEF\u5931\u8D25"),A&&A(l.t0);case 15:case"end":return l.stop()}},a,null,[[0,11]])})),t.apply(this,arguments)}n()},[A]);var R=function(t){var a=(D||[]).filter(function(r){return r.url!==t.url});T(a)},c=function(){var n=y()(f()().mark(function t(a){var r,u,p,l;return f()().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:if(r=a.file,!(r instanceof File)){F.next=26;break}return B(!0),F.prev=3,F.next=6,(0,ke.p)(r);case 6:return u=F.sent,p="matrix/".concat(u,".").concat(r.name.split(".").pop()),F.next=10,M==null?void 0:M.put(p,r,{headers:{"Content-Type":r.type}});case 10:l="https://apks.bzgames.cn/".concat(p),I&&I(l),B(!1),T(function(Z){return[].concat(Ce()(Z),[{uid:r.uid,name:r.name+"\uFF1A"+l,status:"done",url:l}])}),F.next=21;break;case 16:F.prev=16,F.t0=F.catch(3),X.ZP.error("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25"),A&&A(F.t0),T(function(Z){return[].concat(Ce()(Z),[{uid:r.uid,name:r.name,status:"error"}])});case 21:return F.prev=21,B(!1),F.finish(21);case 24:F.next=27;break;case 26:X.ZP.error("\u4E0A\u4F20\u6587\u4EF6\u7C7B\u578B\u9519\u8BEF");case 27:case"end":return F.stop()}},t,null,[[3,16,21,24]])}));return function(a){return n.apply(this,arguments)}}();return(0,e.jsxs)(k,{fileList:D,multiple:!0,customRequest:c,onRemove:R,disabled:E||!M,onPreview:function(){var n=y()(f()().mark(function t(a){return f()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,navigator.clipboard.writeText(a.url||"");case 2:X.ZP.success("\u94FE\u63A5\u590D\u5236\u6210\u529F "+a.url);case 3:case"end":return u.stop()}},t)}));return function(t){return n.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"})]})},we=Be,he=i(67539),V=i(4575),Te=function(){var K=(0,j.useState)(!1),I=v()(K,2),A=I[0],S=I[1],U=(0,j.useState)([]),E=v()(U,2),B=E[0],N=E[1],Y=(0,j.useState)([]),D=v()(Y,2),T=D[0],w=D[1],$=h.Z.useForm(),M=v()($,1),x=M[0],k=[{title:"\u5E94\u7528\u540D",dataIndex:"name",copyable:!0,hideInSearch:!0,filterDropdown:function(n){var t=n.setSelectedKeys,a=n.selectedKeys,r=n.confirm,u=n.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(b.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:a[0],onChange:function(l){return t(l.target.value?[l.target.value]:[])},onPressEnter:function(){return r()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(L.Z,{children:[(0,e.jsx)(C.ZP,{onClick:function(){return r()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(C.ZP,{onClick:function(){return u&&u()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(n,t){return typeof n=="string"&&typeof(t==null?void 0:t.name)=="string"?t.name.includes(n):!1},filterIcon:function(n){return(0,e.jsx)(H.Z,{style:{color:n?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u5E94\u7528\u5305\u540D",dataIndex:"packageName",hideInSearch:!0,filterDropdown:function(n){var t=n.setSelectedKeys,a=n.selectedKeys,r=n.confirm,u=n.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(b.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:a[0],onChange:function(l){return t(l.target.value?[l.target.value]:[])},onPressEnter:function(){return r()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(L.Z,{children:[(0,e.jsx)(C.ZP,{onClick:function(){return r()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(C.ZP,{onClick:function(){return u&&u()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(n,t){return typeof n=="string"&&typeof(t==null?void 0:t.packageName)=="string"?t.packageName.includes(n):!1},filterIcon:function(n){return(0,e.jsx)(H.Z,{style:{color:n?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u64CD\u4F5C",width:80,hideInSearch:!0,renderText:function(n){return(0,e.jsx)("a",{onClick:function(){S(!0),x.setFieldsValue(n)},children:"\u7F16\u8F91"},"edit")}}],R=function(){var c=y()(f()().mark(function n(){var t;return f()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,V.ai)();case 2:t=r.sent,t.data&&(N(t.data),w(t.data));case 4:case"end":return r.stop()}},n)}));return function(){return c.apply(this,arguments)}}();return(0,j.useEffect)(function(){R()},[]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(C.ZP,{style:{marginBottom:"20px"},onClick:function(){S(!0),x.resetFields()},children:"\u65B0\u5EFA\u5E94\u7528"}),(0,e.jsx)(he.Z,{search:!1,onReset:function(){w(B)},columns:k,dataSource:T}),(0,e.jsx)(q.Z,{title:"\u7F16\u8F91",visible:A,onOk:function(){x.submit(),S(!1)},onCancel:function(){S(!1)},children:(0,e.jsxs)(h.Z,{labelCol:{span:4},wrapperCol:{span:18},form:x,onFinish:function(){var c=y()(f()().mark(function n(t){return f()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,V.XM)(t);case 2:R();case 3:case"end":return r.stop()}},n)}));return function(n){return c.apply(this,arguments)}}(),children:[(0,e.jsx)(h.Z.Item,{name:"id",style:{display:"none"},children:(0,e.jsx)(b.Z,{type:"hidden"})}),(0,e.jsx)(h.Z.Item,{label:"\u5E94\u7528\u540D",name:"name",children:(0,e.jsx)(b.Z,{})}),(0,e.jsx)(h.Z.Item,{label:"\u5305\u540D",name:"packageName",children:(0,e.jsx)(b.Z,{})})]})})]})},Oe=Te,ie=i(37804),Se=i(42767),Ke=function(){var K=(0,j.useState)(!1),I=v()(K,2),A=I[0],S=I[1],U=(0,j.useState)([]),E=v()(U,2),B=E[0],N=E[1],Y=(0,j.useState)([]),D=v()(Y,2),T=D[0],w=D[1],$=h.Z.useForm(),M=v()($,1),x=M[0],k=function(){var c=y()(f()().mark(function n(){var t;return f()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,V.k_)();case 2:t=r.sent,t.data&&(N(t.data),w(t.data));case 4:case"end":return r.stop()}},n)}));return function(){return c.apply(this,arguments)}}(),R=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",copyable:!0,hideInSearch:!0,filterDropdown:function(n){var t=n.setSelectedKeys,a=n.selectedKeys,r=n.confirm,u=n.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(b.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:a[0],onChange:function(l){return t(l.target.value?[l.target.value]:[])},onPressEnter:function(){return r()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(L.Z,{children:[(0,e.jsx)(C.ZP,{onClick:function(){return r()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(C.ZP,{onClick:function(){return u&&u()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(n,t){return typeof n=="string"&&typeof(t==null?void 0:t.appName)=="string"?t.appName.includes(n):!1},filterIcon:function(n){return(0,e.jsx)(H.Z,{style:{color:n?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u7528\u6237",dataIndex:"user",hideInSearch:!0,render:function(n,t){return(0,e.jsx)(Se.Z,{data:t.user||{}})},filterDropdown:function(n){var t=n.setSelectedKeys,a=n.selectedKeys,r=n.confirm,u=n.clearFilters,p=a[0]?String(a[0]):"";return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(ie.Z,{placeholder:"\u641C\u7D22 userId",value:p,onChange:function(O){return t(O?[O]:[])},onPressEnter:function(){return r()},style:{marginBottom:8,display:"block",width:200}}),(0,e.jsxs)(L.Z,{children:[(0,e.jsx)(C.ZP,{onClick:function(){return r()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(C.ZP,{onClick:function(){return u&&u()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(n,t){var a;return((a=t.user)===null||a===void 0?void 0:a.id)===n},filterIcon:function(n){return(0,e.jsx)(H.Z,{style:{color:n?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u521B\u5EFA\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u4FEE\u6539\u65F6\u95F4",hideInSearch:!0,dataIndex:"updatedAt",valueType:"dateTime"}];return(0,j.useEffect)(function(){k()},[]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(C.ZP,{style:{marginBottom:"20px"},onClick:function(){S(!0),x.resetFields()},children:"\u6DFB\u52A0\u5185\u90E8\u7528\u6237"}),(0,e.jsx)(he.Z,{search:!1,onReset:function(){w(B)},columns:R,dataSource:T}),(0,e.jsx)(q.Z,{title:"\u7F16\u8F91",visible:A,onOk:function(){x.submit(),S(!1)},onCancel:function(){S(!1)},children:(0,e.jsx)(h.Z,{labelCol:{span:4},wrapperCol:{span:18},form:x,onFinish:function(){var c=y()(f()().mark(function n(t){var a;return f()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(a=t.userId,!a){u.next=5;break}return u.next=4,(0,V.SN)({userId:a});case 4:k();case 5:case"end":return u.stop()}},n)}));return function(n){return c.apply(this,arguments)}}(),children:(0,e.jsx)(h.Z.Item,{label:"userId",name:"userId",children:(0,e.jsx)(ie.Z,{style:{width:200}})})})})]})},Ue=Ke,Ye=i(58125),$e=["scheduleTime"],Re=function(){var K=(0,j.useState)(!1),I=v()(K,2),A=I[0],S=I[1],U=(0,j.useState)([]),E=v()(U,2),B=E[0],N=E[1],Y=(0,j.useState)([]),D=v()(Y,2),T=D[0],w=D[1],$=h.Z.useForm(),M=v()($,1),x=M[0],k=function(){var a=y()(f()().mark(function r(){var u;return f()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,(0,W.ln)();case 2:u=l.sent,u.data&&N(u.data);case 4:case"end":return l.stop()}},r)}));return function(){return a.apply(this,arguments)}}(),R=function(r){var u=B.find(function(p){return p.id===r});return u?u.name:""},c=function(){var a=y()(f()().mark(function r(){var u;return f()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,(0,V.nN)();case 2:u=l.sent,u.data&&w(u.data);case 4:case"end":return l.stop()}},r)}));return function(){return a.apply(this,arguments)}}(),n=[{title:"\u5E94\u7528",dataIndex:"appId",render:function(r){return(0,e.jsx)(se.Z,{color:"blue",children:R(r)},r)}},{title:"\u76EE\u6807\u91D1\u989D",dataIndex:"incomeYuan"},{title:"\u5DF2\u5237\u91D1\u989D",dataIndex:"mockIncome",render:function(r){return(0,Ye.P)(r)}},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"scheduleTime",render:function(r){return Q()(r).format("YYYY-MM-DD HH:mm")}},{title:"\u72B6\u6001",dataIndex:"status",render:function(r){switch(r){case 0:return"\u672A\u5F00\u59CB";case 1:return"\u8FDB\u884C\u4E2D";case 2:return"\u5DF2\u5B8C\u6210"}return r}},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"createdAt",render:function(r){return Q()(r).format("YYYY-MM-DD HH:mm")}},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"updatedAt",render:function(r){return Q()(r).format("YYYY-MM-DD HH:mm")}}];(0,j.useEffect)(function(){k(),c()},[]);var t=function(){x.resetFields(),S(!0)};return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)("div",{children:[(0,e.jsx)(C.ZP,{onClick:t,children:"\u6DFB\u52A0\u4EFB\u52A1"}),(0,e.jsx)(me.Z,{columns:n,dataSource:T}),(0,e.jsx)(q.Z,{title:"\u6DFB\u52A0\u4EFB\u52A1",visible:A,onOk:function(){x.submit()},onCancel:function(){S(!1)},children:(0,e.jsxs)(h.Z,{labelCol:{span:6},wrapperCol:{span:18},form:x,onFinish:function(){var a=y()(f()().mark(function r(u){var p,l,O;return f()().wrap(function(Z){for(;;)switch(Z.prev=Z.next){case 0:if(p=u.scheduleTime,l=te()(u,$e),p){Z.next=4;break}return X.ZP.error("\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"),Z.abrupt("return");case 4:return O=p.map(function(ve){return ve.valueOf()}),Z.prev=5,Z.next=8,(0,V.Rn)(ee()({scheduleTime:O},l));case 8:Z.next=13;break;case 10:return Z.prev=10,Z.t0=Z.catch(5),Z.abrupt("return");case 13:X.ZP.success("\u4EFB\u52A1\u63D0\u4EA4\u6210\u529F"),c(),S(!1);case 16:case"end":return Z.stop()}},r,null,[[5,10]])}));return function(r){return a.apply(this,arguments)}}(),children:[(0,e.jsx)(h.Z.Item,{label:"\u5E94\u7528",name:"appId",children:(0,e.jsx)(pe.Z,{mode:"multiple",options:B.map(function(a){return{label:a.name,value:a.id}})})}),(0,e.jsx)(h.Z.Item,{name:"incomeYuan",label:"\u91D1\u989D\uFF08\u5143\uFF09",children:(0,e.jsx)(b.Z,{})}),(0,e.jsx)(h.Z.Item,{name:"scheduleTime",label:"\u5F00\u59CB\u65F6\u95F4",children:(0,e.jsx)(Fe.default,{multiple:!0,format:"YYYY-MM-DD HH:mm",showTime:{format:"HH:mm"}})})]})})]})})},Le=Re,Ne=function(){var K=(0,j.useState)(!1),I=v()(K,2),A=I[0],S=I[1],U=(0,j.useState)([]),E=v()(U,2),B=E[0],N=E[1],Y=(0,j.useState)([]),D=v()(Y,2),T=D[0],w=D[1],$=h.Z.useForm(),M=v()($,1),x=M[0],k=function(){var c=y()(f()().mark(function n(){var t;return f()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,V.nr)();case 2:t=r.sent,t.data&&(N(t.data),w(t.data));case 4:case"end":return r.stop()}},n)}));return function(){return c.apply(this,arguments)}}(),R=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",copyable:!0,hideInSearch:!0,filterDropdown:function(n){var t=n.setSelectedKeys,a=n.selectedKeys,r=n.confirm,u=n.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(b.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:a[0],onChange:function(l){return t(l.target.value?[l.target.value]:[])},onPressEnter:function(){return r()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(L.Z,{children:[(0,e.jsx)(C.ZP,{onClick:function(){return r()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(C.ZP,{onClick:function(){return u&&u()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(n,t){return typeof n=="string"&&typeof(t==null?void 0:t.appName)=="string"?t.appName.includes(n):!1},filterIcon:function(n){return(0,e.jsx)(H.Z,{style:{color:n?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u7528\u6237",dataIndex:"user",hideInSearch:!0,render:function(n,t){return(0,e.jsx)(Se.Z,{data:t.user||{}})},filterDropdown:function(n){var t=n.setSelectedKeys,a=n.selectedKeys,r=n.confirm,u=n.clearFilters,p=a[0]?String(a[0]):"";return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(ie.Z,{placeholder:"\u641C\u7D22 userId",value:p,onChange:function(O){return t(O?[O]:[])},onPressEnter:function(){return r()},style:{marginBottom:8,display:"block",width:200}}),(0,e.jsxs)(L.Z,{children:[(0,e.jsx)(C.ZP,{onClick:function(){return r()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(C.ZP,{onClick:function(){return u&&u()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(n,t){var a;return((a=t.user)===null||a===void 0?void 0:a.id)===n},filterIcon:function(n){return(0,e.jsx)(H.Z,{style:{color:n?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u72B6\u6001",hideInSearch:!0,renderText:function(n){return n.status===0?(0,e.jsx)(se.Z,{color:"green",children:"\u5DF2\u542F\u7528"}):(0,e.jsx)(se.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(n){return(0,e.jsx)("a",{onClick:y()(f()().mark(function t(){var a;return f()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,(0,V.vE)({userId:((a=n.user)===null||a===void 0?void 0:a.id)||0,status:n.status===0?-1:0});case 2:k();case 3:case"end":return u.stop()}},t)})),children:n.status===0?"\u7981\u7528":"\u542F\u7528"},"edit")}}];return(0,j.useEffect)(function(){k()},[]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(C.ZP,{style:{marginBottom:"20px"},onClick:function(){S(!0),x.resetFields()},children:"\u6DFB\u52A0\u767D\u540D\u5355"}),(0,e.jsx)(he.Z,{search:!1,onReset:function(){w(B)},columns:R,dataSource:T}),(0,e.jsx)(q.Z,{title:"\u7F16\u8F91",visible:A,onOk:function(){x.submit(),S(!1)},onCancel:function(){S(!1)},children:(0,e.jsx)(h.Z,{labelCol:{span:4},wrapperCol:{span:18},form:x,onFinish:function(){var c=y()(f()().mark(function n(t){var a;return f()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(a=t.userId,!a){u.next=5;break}return u.next=4,(0,V.vE)({userId:a});case 4:k();case 5:case"end":return u.stop()}},n)}));return function(n){return c.apply(this,arguments)}}(),children:(0,e.jsx)(h.Z.Item,{label:"userId",name:"userId",children:(0,e.jsx)(ie.Z,{style:{width:200}})})})})]})},We=Ne,He=["scheduleTime"],Ve=function(){var K=(0,j.useState)([]),I=v()(K,2),A=I[0],S=I[1],U=(0,j.useState)([]),E=v()(U,2),B=E[0],N=E[1],Y=(0,j.useState)([]),D=v()(Y,2),T=D[0],w=D[1],$=(0,j.useState)(!1),M=v()($,2),x=M[0],k=M[1],R=(0,j.useState)(!1),c=v()(R,2),n=c[0],t=c[1],a=h.Z.useForm(),r=v()(a,1),u=r[0],p=h.Z.useForm(),l=v()(p,1),O=l[0],F=function(){var m=y()(f()().mark(function s(){var o;return f()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,(0,W.hy)();case 2:o=d.sent,o.data&&N(o.data);case 4:case"end":return d.stop()}},s)}));return function(){return m.apply(this,arguments)}}(),Z=function(){var m=y()(f()().mark(function s(o){return f()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(o){d.next=2;break}return d.abrupt("return");case 2:return d.next=4,(0,W.o9)({deviceId:o});case 4:F();case 5:case"end":return d.stop()}},s)}));return function(o){return m.apply(this,arguments)}}(),ve=[{title:"\u8BBE\u5907id",dataIndex:"deviceId",ellipsis:!0,filterDropdown:function(s){var o=s.setSelectedKeys,g=s.selectedKeys,d=s.confirm,G=s.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(b.Z,{placeholder:"\u641C\u7D22\u8BBE\u5907",value:g[0],onChange:function(P){return o(P.target.value?[P.target.value]:[])},onPressEnter:function(){return d()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(L.Z,{children:[(0,e.jsx)(C.ZP,{onClick:function(){return d()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(C.ZP,{onClick:function(){return G&&G()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(s,o){return typeof s=="string"&&typeof(o==null?void 0:o.deviceId)=="string"?o.deviceId.includes(s):!1},filterIcon:function(s){return(0,e.jsx)(H.Z,{style:{color:s?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u6E20\u9053",dataIndex:"channel",render:function(s){var o=(0,z.FG)(),g=o.find(function(d){return d.value===s});return g?g.label:s}},{title:"\u64CD\u4F5C",dataIndex:"operate",render:function(s,o){return(0,e.jsx)(Ze.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 Z(o.deviceId)},children:"\u786E\u5B9A"})]}),children:(0,e.jsx)("a",{children:"\u5220\u9664"})})}}],ze=function(s){var o=A.find(function(g){return g.id===s});return o?o.name:""},Xe=function(s){return s?parseFloat((s/1e5).toFixed(2)):0},Je=[{title:"\u5E94\u7528",dataIndex:"appId",render:function(s){return(0,e.jsx)(se.Z,{color:"blue",children:ze(s)},s)}},{title:"\u6E20\u9053",dataIndex:"channel",render:function(s){var o=(0,z.FG)(),g=o.find(function(d){return d.value===s});return g?g.label:s}},{title:"\u76EE\u6807\u91D1\u989D",dataIndex:"incomeYuan"},{title:"\u5DF2\u5237\u91D1\u989D",dataIndex:"mockIncome",render:function(s){return Xe(s)}},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"scheduleTime",render:function(s){return Q()(s).format("YYYY-MM-DD HH:mm")}},{title:"\u72B6\u6001",dataIndex:"status",render:function(s){switch(s){case 0:return"\u672A\u5F00\u59CB";case 1:return"\u8FDB\u884C\u4E2D";case 2:return"\u5DF2\u5B8C\u6210"}return s}},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"createdAt",render:function(s){return Q()(s).format("YYYY-MM-DD HH:mm")}},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"updatedAt",render:function(s){return Q()(s).format("YYYY-MM-DD HH:mm")}}],je=function(){var m=y()(f()().mark(function s(){var o;return f()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,(0,W.mW)();case 2:o=d.sent,o.data&&w(o.data);case 4:case"end":return d.stop()}},s)}));return function(){return m.apply(this,arguments)}}(),Qe=function(){var m=y()(f()().mark(function s(){var o;return f()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,(0,W.ln)();case 2:o=d.sent,o.data&&S(o.data);case 4:case"end":return d.stop()}},s)}));return function(){return m.apply(this,arguments)}}();(0,j.useEffect)(function(){Qe(),F(),je()},[]);var qe=function(){var m=y()(f()().mark(function s(o){var g,d,G;return f()().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return g=o.scheduleTime,d=te()(o,He),G=g.map(function(xe){return Q()(xe.time).valueOf()}),P.prev=2,P.next=5,(0,W.tI)(ee()({scheduleTime:G},d));case 5:P.next=10;break;case 7:return P.prev=7,P.t0=P.catch(2),P.abrupt("return");case 10:X.ZP.success("\u4EFB\u52A1\u63D0\u4EA4\u6210\u529F"),je(),t(!1);case 13:case"end":return P.stop()}},s,null,[[2,7]])}));return function(o){return m.apply(this,arguments)}}(),_e=function(){u.resetFields(),k(!0)},en=function(){O.resetFields(),t(!0)},nn=function(){u.submit()},rn=function(){k(!1)},tn=function(){O.submit()},an=function(){t(!1)},un=function(){var m=y()(f()().mark(function s(o){return f()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.prev=0,d.next=3,(0,W.gz)({deviceId:o.deviceId||"",channel:o.channel||""});case 3:d.next=8;break;case 5:return d.prev=5,d.t0=d.catch(0),d.abrupt("return");case 8:k(!1),F();case 10:case"end":return d.stop()}},s,null,[[0,5]])}));return function(o){return m.apply(this,arguments)}}();return(0,e.jsx)(ue._z,{children:(0,e.jsxs)(Ie.Z,{defaultActiveKey:"1",onChange:function(s){s==="1"?F():s==="2"&&je()},centered:!0,style:{backgroundColor:"white",padding:"20px"},children:[(0,e.jsx)(J.Z,{tab:"\u8BBE\u5907\u767D\u540D\u5355",children:(0,e.jsxs)("div",{children:[(0,e.jsx)(C.ZP,{onClick:_e,children:"\u6DFB\u52A0\u767D\u540D\u5355"}),(0,e.jsx)(me.Z,{columns:ve,dataSource:B}),(0,e.jsx)(q.Z,{title:"\u6DFB\u52A0\u767D\u540D\u5355",visible:x,onOk:nn,onCancel:rn,children:(0,e.jsxs)(h.Z,{form:u,onFinish:un,children:[(0,e.jsx)(h.Z.Item,{name:"deviceId",label:"\u8BBE\u5907id",children:(0,e.jsx)(b.Z,{})}),(0,e.jsx)(h.Z.Item,{label:"\u6E20\u9053",name:"channel",children:(0,e.jsx)(pe.Z,{options:(0,z.FG)()})})]})})]})},"1"),(0,e.jsx)(J.Z,{tab:"\u5237\u6570\u636E",children:(0,e.jsxs)("div",{children:[(0,e.jsx)(C.ZP,{onClick:en,children:"\u6DFB\u52A0\u4EFB\u52A1"}),(0,e.jsx)(me.Z,{columns:Je,dataSource:T}),(0,e.jsx)(q.Z,{title:"\u6DFB\u52A0\u4EFB\u52A1",visible:n,onOk:tn,onCancel:an,children:(0,e.jsxs)(h.Z,{labelCol:{span:6},wrapperCol:{span:18},form:O,onFinish:qe,children:[(0,e.jsx)(h.Z.Item,{label:"\u5E94\u7528",name:"appId",children:(0,e.jsx)(pe.Z,{mode:"multiple",options:A.map(function(m){return{label:m.name,value:m.id}})})}),(0,e.jsx)(h.Z.Item,{name:"incomeYuan",label:"\u91D1\u989D\uFF08\u5143\uFF09",children:(0,e.jsx)(b.Z,{})}),(0,e.jsx)(h.Z.List,{name:"scheduleTime",children:function(s,o){var g=o.add,d=o.remove;return(0,e.jsxs)(e.Fragment,{children:[s.map(function(G){var _=G.key,P=G.name;return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(De.Z,{align:"stretch",gutter:16,children:[(0,e.jsx)(ye.Z,{span:18,children:(0,e.jsx)(h.Z.Item,{labelCol:{xs:{span:24},sm:{span:8}},name:[P,"time"],label:"\u5F00\u59CB\u65F6\u95F4",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}],children:(0,e.jsx)(Fe.default,{format:"YYYY-MM-DD HH:mm",showTime:{format:"HH:mm"}})})}),(0,e.jsx)(ye.Z,{children:(0,e.jsx)(fe.Z,{onClick:function(){return d(P)}})})]},_)})}),(0,e.jsx)(h.Z.Item,{children:(0,e.jsx)(C.ZP,{type:"dashed",onClick:function(){return g()},block:!0,children:"\u6DFB\u52A0\u5F00\u59CB\u65F6\u95F4"})})]})}})]})})]})},"2"),(0,e.jsx)(J.Z,{tab:"\u4E0A\u4F20\u8D44\u6E90",children:(0,e.jsx)(we,{})},"3"),(0,e.jsx)(J.Z,{tab:"\u975E\u6CD5\u5E94\u7528",children:(0,e.jsx)(Oe,{})},"4"),(0,e.jsx)(J.Z,{tab:"\u7528\u6237\u767D\u540D\u5355",children:(0,e.jsx)(We,{})},"5"),(0,e.jsx)(J.Z,{tab:"\u5237\u6570\u636Ev2",children:(0,e.jsx)(Le,{})},"6"),(0,e.jsx)(J.Z,{tab:"\u5185\u90E8\u7528\u6237",children:(0,e.jsx)(Ue,{})},"7")]})})},Ge=Ve},32400:function(ge,re,i){i.d(re,{p:function(){return oe}});var le=i(15009),ee=i.n(le),ce=i(99289),te=i.n(ce),de=i(8322),f=i.n(de);function oe(ae){return y.apply(this,arguments)}function y(){return y=te()(ee()().mark(function ae(v){return ee()().wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return z.abrupt("return",new Promise(function(H,fe){var ue=new(f()).ArrayBuffer,h=new FileReader;h.onload=function(b){var L;ue.append((L=b.target)===null||L===void 0?void 0:L.result),H(ue.end())},h.onerror=function(b){fe(b)},h.readAsArrayBuffer(v)}));case 1:case"end":return z.stop()}},ae)})),y.apply(this,arguments)}}}]); diff --git a/dist/p__UserManagement.0ef1f876.async.js b/dist/p__UserManagement.0ef1f876.async.js new file mode 100644 index 0000000..ce0c15a --- /dev/null +++ b/dist/p__UserManagement.0ef1f876.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[903],{40110:function(Y,R,t){var u=t(1413),h=t(67294),T=t(509),f=t(91146),D=function(W,P){return h.createElement(f.Z,(0,u.Z)((0,u.Z)({},W),{},{ref:P,icon:T.Z}))},E=h.forwardRef(D);R.Z=E},47989:function(Y,R,t){t.r(R);var u=t(97857),h=t.n(u),T=t(15009),f=t.n(T),D=t(99289),E=t.n(D),I=t(81072),W=t(90930),P=t(67539),L=t(35312),M=t(66309),V=t(86250),U=t(86738),g=t(67294),x=t(58125),j=t(42767),_=t(85893),m=function(){var q=(0,L.useParams)(),G=q.code,N=(0,g.useRef)();(0,g.useEffect)(function(){var b;(b=N.current)===null||b===void 0||b.reload()},[G]);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(p,O){return(0,_.jsx)(j.Z,{data:O})}},{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(p){return p?(0,_.jsx)(M.Z,{color:"green",children:"\u5DF2\u7ED1\u5B9A"}):(0,_.jsx)(M.Z,{color:"red",children:"\u672A\u7ED1\u5B9A"})}},{title:"\u603B\u6536\u76CA\uFF08\u5143\uFF09",hideInSearch:!0,dataIndex:"income",renderText:function(p){return(0,x.P)(p)}},{title:"\u5DF2\u63D0\u73B0\uFF08\u5143\uFF09",hideInSearch:!0,dataIndex:"realMoney",renderText:function(p){return(0,x.D)(p)}},{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(p){return(0,_.jsx)(V.Z,{gap:"small",wrap:!0,children:(0,_.jsxs)(_.Fragment,{children:[p.status===0&&(0,_.jsx)(U.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()(f()().mark(function O(){var n;return f()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,I.wv)({userId:p.id||0,status:-1});case 2:(n=N.current)===null||n===void 0||n.reload();case 3:case"end":return r.stop()}},O)})),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,_.jsx)("a",{children:"\u5C01\u7981"})}),p.status===-1&&(0,_.jsx)(U.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()(f()().mark(function O(){var n;return f()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,I.wv)({userId:p.id||0,status:0});case 2:(n=N.current)===null||n===void 0||n.reload();case 3:case"end":return r.stop()}},O)})),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,_.jsx)("a",{children:"\u89E3\u5C01"})})]})})}}];return(0,_.jsx)(W._z,{children:(0,_.jsx)(P.Z,{actionRef:N,request:function(){var b=E()(f()().mark(function p(O){var n,s,r;return f()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,(0,I.pb)(h()(h()({},O),{},{appCode:G}));case 2:return r=d.sent,d.abrupt("return",{data:(n=r.data)===null||n===void 0?void 0:n.data,total:(s=r.data)===null||s===void 0?void 0:s.total,success:!0});case 4:case"end":return d.stop()}},p)}));return function(p){return b.apply(this,arguments)}}(),columns:X})})};R.default=m},81072:function(Y,R,t){t.d(R,{fn:function(){return V},pb:function(){return L},wv:function(){return W}});var u=t(15009),h=t.n(u),T=t(97857),f=t.n(T),D=t(99289),E=t.n(D),I=t(35312);function W(g,x){return P.apply(this,arguments)}function P(){return P=E()(h()().mark(function g(x,j){return h()().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.abrupt("return",(0,I.request)("/api/admin/user/changeStatus",f()({method:"POST",params:f()({},x)},j||{})));case 1:case"end":return m.stop()}},g)})),P.apply(this,arguments)}function L(g,x){return M.apply(this,arguments)}function M(){return M=E()(h()().mark(function g(x,j){return h()().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.abrupt("return",(0,I.request)("/api/admin/user/list",f()({method:"POST",headers:{"Content-Type":"application/json"},data:x},j||{})));case 1:case"end":return m.stop()}},g)})),M.apply(this,arguments)}function V(g,x){return U.apply(this,arguments)}function U(){return U=E()(h()().mark(function g(x,j){return h()().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.abrupt("return",(0,I.request)("/api/admin/user/queryById",f()({method:"GET",params:f()({},x)},j||{})));case 1:case"end":return m.stop()}},g)})),U.apply(this,arguments)}},86250:function(Y,R,t){t.d(R,{Z:function(){return O}});var u=t(67294),h=t(93967),T=t.n(h),f=t(98423),D=t(98065),E=t(53124),I=t(91945),W=t(45503);const P=["wrap","nowrap","wrap-reverse"],L=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],M=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],V=(n,s)=>{const r=s.wrap===!0?"wrap":s.wrap;return{[`${n}-wrap-${r}`]:r&&P.includes(r)}},U=(n,s)=>{const r={};return M.forEach(o=>{r[`${n}-align-${o}`]=s.align===o}),r[`${n}-align-stretch`]=!s.align&&!!s.vertical,r},g=(n,s)=>{const r={};return L.forEach(o=>{r[`${n}-justify-${o}`]=s.justify===o}),r};function x(n,s){return T()(Object.assign(Object.assign(Object.assign({},V(n,s)),U(n,s)),g(n,s)))}var j=x;const _=n=>{const{componentCls:s}=n;return{[s]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},m=n=>{const{componentCls:s}=n;return{[s]:{"&-gap-small":{gap:n.flexGapSM},"&-gap-middle":{gap:n.flexGap},"&-gap-large":{gap:n.flexGapLG}}}},k=n=>{const{componentCls:s}=n,r={};return P.forEach(o=>{r[`${s}-wrap-${o}`]={flexWrap:o}}),r},q=n=>{const{componentCls:s}=n,r={};return M.forEach(o=>{r[`${s}-align-${o}`]={alignItems:o}}),r},G=n=>{const{componentCls:s}=n,r={};return L.forEach(o=>{r[`${s}-justify-${o}`]={justifyContent:o}}),r},N=()=>({});var X=(0,I.I$)("Flex",n=>{const{paddingXS:s,padding:r,paddingLG:o}=n,d=(0,W.TS)(n,{flexGapSM:s,flexGap:r,flexGapLG:o});return[_(d),m(d),k(d),q(d),G(d)]},N,{resetStyle:!1}),b=function(n,s){var r={};for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&s.indexOf(o)<0&&(r[o]=n[o]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,o=Object.getOwnPropertySymbols(n);d{const{prefixCls:r,rootClassName:o,className:d,style:e,flex:c,gap:i,children:a,vertical:l=!1,component:S="div"}=n,v=b(n,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:C,direction:A,getPrefixCls:Z}=u.useContext(E.E_),y=Z("flex",r),[F,K,J]=X(y),Q=l!=null?l:C==null?void 0:C.vertical,$=T()(d,o,C==null?void 0:C.className,y,K,J,j(y,n),{[`${y}-rtl`]:A==="rtl",[`${y}-gap-${i}`]:(0,D.n)(i),[`${y}-vertical`]:Q}),z=Object.assign(Object.assign({},C==null?void 0:C.style),e);return c&&(z.flex=c),i&&!(0,D.n)(i)&&(z.gap=i),F(u.createElement(S,Object.assign({ref:s,className:$,style:z},(0,f.Z)(v,["justify","wrap","align"])),a))})},66309:function(Y,R,t){t.d(R,{Z:function(){return d}});var u=t(67294),h=t(93967),T=t.n(h),f=t(98423),D=t(98787),E=t(69760),I=t(96159),W=t(45353),P=t(53124),L=t(54548),M=t(10274),V=t(14747),U=t(45503),g=t(91945);const x=e=>{const{paddingXXS:c,lineWidth:i,tagPaddingHorizontal:a,componentCls:l,calc:S}=e,v=S(a).sub(i).equal(),C=S(c).sub(i).equal();return{[l]:Object.assign(Object.assign({},(0,V.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:v,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",[`&${l}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${l}-close-icon`]:{marginInlineStart:C,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${l}-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(${l}-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:v}}),[`${l}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},j=e=>{const{lineWidth:c,fontSizeIcon:i,calc:a}=e,l=e.fontSizeSM;return(0,U.TS)(e,{tagFontSize:l,tagLineHeight:(0,L.bf)(a(e.lineHeightSM).mul(l).equal()),tagIconSize:a(i).sub(a(c).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},_=e=>({defaultBg:new M.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var m=(0,g.I$)("Tag",e=>{const c=j(e);return x(c)},_),k=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 l=0,a=Object.getOwnPropertySymbols(e);l{const{prefixCls:i,style:a,className:l,checked:S,onChange:v,onClick:C}=e,A=k(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Z,tag:y}=u.useContext(P.E_),F=ee=>{v==null||v(!S),C==null||C(ee)},K=Z("tag",i),[J,Q,$]=m(K),z=T()(K,`${K}-checkable`,{[`${K}-checkable-checked`]:S},y==null?void 0:y.className,l,Q,$);return J(u.createElement("span",Object.assign({},A,{ref:c,style:Object.assign(Object.assign({},a),y==null?void 0:y.style),className:z,onClick:F})))}),N=t(98719);const X=e=>(0,N.Z)(e,(c,i)=>{let{textColor:a,lightBorderColor:l,lightColor:S,darkColor:v}=i;return{[`${e.componentCls}${e.componentCls}-${c}`]:{color:a,background:S,borderColor:l,"&-inverse":{color:e.colorTextLightSolid,background:v,borderColor:v},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var b=(0,g.bk)(["Tag","preset"],e=>{const c=j(e);return X(c)},_);function p(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const O=(e,c,i)=>{const a=p(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 n=(0,g.bk)(["Tag","status"],e=>{const c=j(e);return[O(c,"success","Success"),O(c,"processing","Info"),O(c,"error","Error"),O(c,"warning","Warning")]},_),s=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 l=0,a=Object.getOwnPropertySymbols(e);l{const{prefixCls:i,className:a,rootClassName:l,style:S,children:v,icon:C,color:A,onClose:Z,bordered:y=!0,visible:F}=e,K=s(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:J,direction:Q,tag:$}=u.useContext(P.E_),[z,ee]=u.useState(!0),ie=(0,f.Z)(K,["closeIcon","closable"]);u.useEffect(()=>{F!==void 0&&ee(F)},[F]);const re=(0,D.o2)(A),ae=(0,D.yT)(A),te=re||ae,ue=Object.assign(Object.assign({backgroundColor:A&&!te?A:void 0},$==null?void 0:$.style),S),B=J("tag",i),[de,_e,me]=m(B),fe=T()(B,$==null?void 0:$.className,{[`${B}-${A}`]:te,[`${B}-has-color`]:A&&!te,[`${B}-hidden`]:!z,[`${B}-rtl`]:Q==="rtl",[`${B}-borderless`]:!y},a,l,_e,me),se=H=>{H.stopPropagation(),Z==null||Z(H),!H.defaultPrevented&&ee(!1)},[,ge]=(0,E.Z)((0,E.w)(e),(0,E.w)($),{closable:!1,closeIconRender:H=>{const Ce=u.createElement("span",{className:`${B}-close-icon`,onClick:se},H);return(0,I.wm)(H,Ce,w=>({onClick:ce=>{var ne;(ne=w==null?void 0:w.onClick)===null||ne===void 0||ne.call(w,ce),se(ce)},className:T()(w==null?void 0:w.className,`${B}-close-icon`)}))}}),pe=typeof K.onClick=="function"||v&&v.type==="a",oe=C||null,ve=oe?u.createElement(u.Fragment,null,oe,v&&u.createElement("span",null,v)):v,le=u.createElement("span",Object.assign({},ie,{ref:c,className:fe,style:ue}),ve,ge,re&&u.createElement(b,{key:"preset",prefixCls:B}),ae&&u.createElement(n,{key:"status",prefixCls:B}));return de(pe?u.createElement(W.Z,{component:"Tag"},le):le)});o.CheckableTag=G;var d=o}}]); diff --git a/dist/p__UserManagement.98f62b33.async.js b/dist/p__UserManagement.98f62b33.async.js deleted file mode 100644 index 5b33c62..0000000 --- a/dist/p__UserManagement.98f62b33.async.js +++ /dev/null @@ -1 +0,0 @@ -"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.04ea5536.js b/dist/umi.0ea2c086.js similarity index 98% rename from dist/umi.04ea5536.js rename to dist/umi.0ea2c086.js index 02dd515..555b716 100644 --- a/dist/umi.04ea5536.js +++ b/dist/umi.0ea2c086.js @@ -110,7 +110,7 @@ transform: rotate(360deg); } } -`,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)(` +`,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);"):"",` @@ -419,8 +419,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},51064:function(v,g,e){"use strict";var t=e(76058),r=e(36812),o=e(75773),a=e(23622),s=e(49385),c=e(8758),u=e(38055),l=e(33457),f=e(13841),p=e(62570),y=e(65411),m=e(67697),d=e(53931);v.exports=function(b,C,S,x){var T="stackTraceLimit",w=x?2:1,j=b.split("."),E=j[j.length-1],$=t.apply(null,j);if($){var N=$.prototype;if(!d&&r(N,"cause")&&delete N.cause,!S)return $;var oe=t("Error"),z=C(function(Y,te){var ee=f(x?te:Y,void 0),B=x?new $(Y):new $;return ee!==void 0&&o(B,"message",ee),y(B,z,B.stack,2),this&&a(N,this)&&l(B,this,z),arguments.length>w&&p(B,arguments[w]),B});if(z.prototype=N,E!=="Error"?s?s(z,oe):c(z,oe,{name:!0}):m&&T in $&&(u(z,$,T),u(z,$,"prepareStackTrace")),c(z,$),!d)try{N.name!==E&&o(N,"name",E),N.constructor=z}catch(Y){}return z}}},54927:function(v,g,e){"use strict";var t=e(79989),r=e(76058),o=e(61735),a=e(3689),s=e(51064),c="AggregateError",u=r(c),l=!a(function(){return u([1]).errors[0]!==1})&&a(function(){return u([1],c,{cause:7}).cause!==7});t({global:!0,constructor:!0,arity:2,forced:l},{AggregateError:s(c,function(f){return function(y,m){return o(f,this,arguments)}},l,!0)})},39382:function(v,g,e){"use strict";var t=e(79989),r=e(23622),o=e(61868),a=e(49385),s=e(8758),c=e(25391),u=e(75773),l=e(75684),f=e(62570),p=e(65411),y=e(18734),m=e(13841),d=e(44201),b=d("toStringTag"),C=Error,S=[].push,x=function(j,E){var $=r(T,this),N;a?N=a(new C,$?o(this):T):(N=$?this:c(T),u(N,b,"Error")),E!==void 0&&u(N,"message",m(E)),p(N,x,N.stack,1),arguments.length>2&&f(N,arguments[2]);var oe=[];return y(j,S,{that:oe}),u(N,"errors",oe),N};a?a(x,C):s(x,C,{name:!0});var T=x.prototype=c(C.prototype,{constructor:l(1,x),message:l(1,""),name:l(1,"AggregateError")});t({global:!0,constructor:!0,arity:2},{AggregateError:x})},95879:function(v,g,e){"use strict";e(39382)},92176:function(v,g,e){"use strict";var t=e(79989),r=e(90690),o=e(6310),a=e(68700),s=e(87370);t({target:"Array",proto:!0},{at:function(u){var l=r(this),f=o(l),p=a(u),y=p>=0?p:f+p;return y<0||y>=f?void 0:l[y]}}),s("at")},93383:function(v,g,e){"use strict";var t=e(79989),r=e(61969).findLastIndex,o=e(87370);t({target:"Array",proto:!0},{findLastIndex:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),o("findLastIndex")},59867:function(v,g,e){"use strict";var t=e(79989),r=e(61969).findLast,o=e(87370);t({target:"Array",proto:!0},{findLast:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),o("findLast")},70560:function(v,g,e){"use strict";var t=e(79989),r=e(90690),o=e(6310),a=e(5649),s=e(55565),c=e(3689),u=c(function(){return[].push.call({length:4294967296},1)!==4294967297}),l=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(p){return p instanceof TypeError}},f=u||!l();t({target:"Array",proto:!0,arity:1,forced:f},{push:function(y){var m=r(this),d=o(m),b=arguments.length;s(d+b);for(var C=0;C79&&a<83,u=c||!o("reduceRight");t({target:"Array",proto:!0,forced:u},{reduceRight:function(f){return r(this,f,arguments.length,arguments.length>1?arguments[1]:void 0)}})},278:function(v,g,e){"use strict";var t=e(79989),r=e(88820).left,o=e(16834),a=e(3615),s=e(50806),c=!s&&a>79&&a<83,u=c||!o("reduce");t({target:"Array",proto:!0,forced:u},{reduce:function(f){var p=arguments.length;return r(this,f,p,p>1?arguments[1]:void 0)}})},29830:function(v,g,e){"use strict";var t=e(79989),r=e(26166),o=e(65290),a=e(87370),s=Array;t({target:"Array",proto:!0},{toReversed:function(){return r(o(this),s)}}),a("toReversed")},12894:function(v,g,e){"use strict";var t=e(79989),r=e(68844),o=e(10509),a=e(65290),s=e(59976),c=e(88277),u=e(87370),l=Array,f=r(c("Array","sort"));t({target:"Array",proto:!0},{toSorted:function(y){y!==void 0&&o(y);var m=a(this),d=s(l,m);return f(d,y)}}),u("toSorted")},93530:function(v,g,e){"use strict";var t=e(79989),r=e(87370),o=e(55565),a=e(6310),s=e(27578),c=e(65290),u=e(68700),l=Array,f=Math.max,p=Math.min;t({target:"Array",proto:!0},{toSpliced:function(m,d){var b=c(this),C=a(b),S=s(m,C),x=arguments.length,T=0,w,j,E,$;for(x===0?w=j=0:x===1?(w=0,j=C-S):(w=x-2,j=p(f(u(d),0),C-S)),E=o(C+w-j),$=l(E);T=0?d:m+d;return b<0||b>=m?void 0:u(y,b)}})},12281:function(v,g,e){"use strict";var t=e(79989),r=e(68844),o=e(74684),a=e(34327),s=r("".charCodeAt);t({target:"String",proto:!0},{isWellFormed:function(){for(var u=a(o(this)),l=u.length,f=0;f=56320||++f>=l||(s(u,f)&64512)!==56320))return!1}return!0}})},56532:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(68844),a=e(74684),s=e(69985),c=e(981),u=e(91245),l=e(34327),f=e(54849),p=e(63477),y=e(27017),m=e(44201),d=e(53931),b=m("replace"),C=TypeError,S=o("".indexOf),x=o("".replace),T=o("".slice),w=Math.max,j=function(E,$,N){return N>E.length?-1:$===""?N:S(E,$,N)};t({target:"String",proto:!0},{replaceAll:function($,N){var oe=a(this),z,Y,te,ee,B,ne,Q,q,L,F=0,I=0,M="";if(!c($)){if(z=u($),z&&(Y=l(a(p($))),!~S(Y,"g")))throw new C("`.replaceAll` does not allow non-global regexes");if(te=f($,b),te)return r(te,$,oe,N);if(d&&z)return x(l(oe),$,N)}for(ee=l(oe),B=l($),ne=s(N),ne||(N=l(N)),Q=B.length,q=w(1,Q),F=j(ee,B,0);F!==-1;)L=ne?l(N(B,F,ee)):y(B,ee,F,[],void 0,N),M+=T(ee,I,F)+L,I=F+Q,F=j(ee,B,F+q);return I=56320||T+1>=S||(f(C,T+1)&64512)!==56320?x[T]=m:(x[T]=l(C,T),x[++T]=l(C,T))}return p(x,"")}})},95194:function(v,g,e){"use strict";var t=e(54872),r=e(6310),o=e(68700),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("at",function(u){var l=a(this),f=r(l),p=o(u),y=p>=0?p:f+p;return y<0||y>=f?void 0:l[y]})},82:function(v,g,e){"use strict";var t=e(54872),r=e(61969).findLastIndex,o=t.aTypedArray,a=t.exportTypedArrayMethod;a("findLastIndex",function(c){return r(o(this),c,arguments.length>1?arguments[1]:void 0)})},20522:function(v,g,e){"use strict";var t=e(54872),r=e(61969).findLast,o=t.aTypedArray,a=t.exportTypedArrayMethod;a("findLast",function(c){return r(o(this),c,arguments.length>1?arguments[1]:void 0)})},79976:function(v,g,e){"use strict";var t=e(19037),r=e(22615),o=e(54872),a=e(6310),s=e(83250),c=e(90690),u=e(3689),l=t.RangeError,f=t.Int8Array,p=f&&f.prototype,y=p&&p.set,m=o.aTypedArray,d=o.exportTypedArrayMethod,b=!u(function(){var S=new Uint8ClampedArray(2);return r(y,S,{length:1,0:3},1),S[1]!==3}),C=b&&o.NATIVE_ARRAY_BUFFER_VIEWS&&u(function(){var S=new f(2);return S.set(1),S.set("2",1),S[0]!==0||S[1]!==2});d("set",function(x){m(this);var T=s(arguments.length>1?arguments[1]:void 0,1),w=c(x);if(b)return r(y,this,w,T);var j=this.length,E=a(w),$=0;if(E+T>j)throw new l("Wrong length");for(;$1?arguments[1]:void 0)}}),o("filterOut")},54883:function(v,g,e){"use strict";var t=e(79989),r=e(2960).filterReject,o=e(87370);t({target:"Array",proto:!0,forced:!0},{filterReject:function(s){return r(this,s,arguments.length>1?arguments[1]:void 0)}}),o("filterReject")},18073:function(v,g,e){"use strict";var t=e(79989),r=e(2231);t({target:"Array",stat:!0},{fromAsync:r})},96882:function(v,g,e){"use strict";var t=e(79989),r=e(16834),o=e(87370),a=e(44416),s=e(53931);t({target:"Array",proto:!0,name:"groupToMap",forced:s||!r("groupByToMap")},{groupByToMap:a}),o("groupByToMap")},22525:function(v,g,e){"use strict";var t=e(79989),r=e(64976),o=e(16834),a=e(87370);t({target:"Array",proto:!0,forced:!o("groupBy")},{groupBy:function(c){var u=arguments.length>1?arguments[1]:void 0;return r(this,c,u)}}),a("groupBy")},32539:function(v,g,e){"use strict";var t=e(79989),r=e(87370),o=e(44416),a=e(53931);t({target:"Array",proto:!0,forced:a},{groupToMap:o}),r("groupToMap")},36208:function(v,g,e){"use strict";var t=e(79989),r=e(64976),o=e(87370);t({target:"Array",proto:!0},{group:function(s){var c=arguments.length>1?arguments[1]:void 0;return r(this,s,c)}}),o("group")},5082:function(v,g,e){"use strict";var t=e(79989),r=e(92297),o=Object.isFrozen,a=function(s,c){if(!o||!r(s)||!o(s))return!1;for(var u=0,l=s.length,f;u1?arguments[1]:!1);return o([u&255,u>>8&255],10)}})},89246:function(v,g,e){"use strict";var t=e(79989),r=e(68844),o=r(DataView.prototype.getUint8);t({target:"DataView",proto:!0,forced:!0},{getUint8Clamped:function(s){return o(this,s)}})},31186:function(v,g,e){"use strict";var t=e(79989),r=e(68844),o=e(50926),a=e(19842),s=e(15477).pack,c=e(76043),u=TypeError,l=r(DataView.prototype.setUint16);t({target:"DataView",proto:!0},{setFloat16:function(p,y){if(o(this)!=="DataView")throw new u("Incorrect receiver");var m=a(p),d=s(c(y),10,2);return l(this,m,d[1]<<8|d[0],arguments.length>2?arguments[2]:!1)}})},9279:function(v,g,e){"use strict";var t=e(79989),r=e(68844),o=e(50926),a=e(19842),s=e(87191),c=TypeError,u=r(DataView.prototype.setUint8);t({target:"DataView",proto:!0,forced:!0},{setUint8Clamped:function(f,p){if(o(this)!=="DataView")throw new c("Incorrect receiver");var y=a(f);return u(this,y,s(p))}})},26725:function(v,g,e){"use strict";var t=e(79989),r=e(67697),o=e(76058),a=e(10509),s=e(767),c=e(11880),u=e(6045),l=e(62148),f=e(44201),p=e(618),y=e(29199),m=o("SuppressedError"),d=ReferenceError,b=f("dispose"),C=f("toStringTag"),S="DisposableStack",x=p.set,T=p.getterFor(S),w="sync-dispose",j="disposed",E="pending",$=function(z){var Y=T(z);if(Y.state===j)throw new d(S+" already disposed");return Y},N=function(){x(s(this,oe),{type:S,state:E,stack:[]}),r||(this.disposed=!1)},oe=N.prototype;u(oe,{dispose:function(){var Y=T(this);if(Y.state!==j){Y.state=j,r||(this.disposed=!0);for(var te=Y.stack,ee=te.length,B=!1,ne;ee;){var Q=te[--ee];te[ee]=null;try{Q()}catch(q){B?ne=new m(q,ne):(B=!0,ne=q)}}if(Y.stack=null,B)throw ne}},use:function(Y){return y($(this),Y,w),Y},adopt:function(Y,te){var ee=$(this);return a(te),y(ee,void 0,w,function(){te(Y)}),Y},defer:function(Y){var te=$(this);a(Y),y(te,void 0,w,Y)},move:function(){var Y=$(this),te=new N;return T(te).stack=Y.stack,Y.stack=[],Y.state=j,r||(this.disposed=!0),te}}),r&&l(oe,"disposed",{configurable:!0,get:function(){return T(this).state===j}}),c(oe,b,oe.dispose,{name:"dispose"}),c(oe,C,S,{nonWritable:!0}),t({global:!0,constructor:!0},{DisposableStack:N})},26125:function(v,g,e){"use strict";var t=e(79989),r=e(33505);t({target:"Function",proto:!0,forced:!0},{demethodize:r})},2820:function(v,g,e){"use strict";var t=e(79989),r=e(68844),o=e(69985),a=e(6738),s=e(36812),c=e(67697),u=Object.getOwnPropertyDescriptor,l=/^\s*class\b/,f=r(l.exec),p=function(y){try{if(!c||!f(l,a(y)))return!1}catch(d){}var m=u(y,"prototype");return!!m&&s(m,"writable")&&!m.writable};t({target:"Function",stat:!0,sham:!0,forced:!0},{isCallable:function(m){return o(m)&&!p(m)}})},62517:function(v,g,e){"use strict";var t=e(79989),r=e(19429);t({target:"Function",stat:!0,forced:!0},{isConstructor:r})},54947:function(v,g,e){"use strict";var t=e(44201),r=e(72560).f,o=t("metadata"),a=Function.prototype;a[o]===void 0&&r(a,o,{value:null})},74993:function(v,g,e){"use strict";var t=e(79989),r=e(33505);t({target:"Function",proto:!0,forced:!0,name:"demethodize"},{unThis:r})},50647:function(v,g,e){"use strict";var t=e(79989),r=e(47082);t({target:"Iterator",name:"indexed",proto:!0,real:!0,forced:!0},{asIndexedPairs:r})},67602:function(v,g,e){"use strict";var t=e(79989),r=e(19037),o=e(767),a=e(85027),s=e(69985),c=e(61868),u=e(62148),l=e(76522),f=e(3689),p=e(36812),y=e(44201),m=e(12013).IteratorPrototype,d=e(67697),b=e(53931),C="constructor",S="Iterator",x=y("toStringTag"),T=TypeError,w=r[S],j=b||!s(w)||w.prototype!==m||!f(function(){w({})}),E=function(){if(o(this,m),c(this)===m)throw new T("Abstract class Iterator not directly constructable")},$=function(N,oe){d?u(m,N,{configurable:!0,get:function(){return oe},set:function(z){if(a(this),this===m)throw new T("You can't redefine this property");p(this,N)?this[N]=z:l(this,N,z)}}):m[N]=oe};p(m,x)||$(x,S),(j||!p(m,C)||m[C]===Object)&&$(C,E),E.prototype=m,t({global:!0,constructor:!0,forced:j},{Iterator:E})},82639:function(v,g,e){"use strict";var t=e(22615),r=e(11880),o=e(54849),a=e(36812),s=e(44201),c=e(12013).IteratorPrototype,u=s("dispose");a(c,u)||r(c,u,function(){var l=o(this,"return");l&&t(l,this)})},63986:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(85027),a=e(22302),s=e(4654),c=e(15904),u=e(65419),l=e(53931),f=u(function(){for(var p=this.iterator,y=this.next,m,d;this.remaining;)if(this.remaining--,m=o(r(y,p)),d=this.done=!!m.done,d)return;if(m=o(r(y,p)),d=this.done=!!m.done,!d)return m.value});t({target:"Iterator",proto:!0,real:!0,forced:l},{drop:function(y){o(this);var m=c(s(+y));return new f(a(this),{remaining:m})}})},16054:function(v,g,e){"use strict";var t=e(79989),r=e(18734),o=e(10509),a=e(85027),s=e(22302);t({target:"Iterator",proto:!0,real:!0},{every:function(u){a(this),o(u);var l=s(this),f=0;return!r(l,function(p,y){if(!u(p,f++))return y()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},53476:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(10509),a=e(85027),s=e(22302),c=e(65419),u=e(71228),l=e(53931),f=c(function(){for(var p=this.iterator,y=this.predicate,m=this.next,d,b,C;;){if(d=a(r(m,p)),b=this.done=!!d.done,b)return;if(C=d.value,u(p,y,[C,this.counter++],!0))return C}});t({target:"Iterator",proto:!0,real:!0,forced:l},{filter:function(y){return a(this),o(y),new f(s(this),{predicate:y})}})},70928:function(v,g,e){"use strict";var t=e(79989),r=e(18734),o=e(10509),a=e(85027),s=e(22302);t({target:"Iterator",proto:!0,real:!0},{find:function(u){a(this),o(u);var l=s(this),f=0;return r(l,function(p,y){if(u(p,f++))return y(p)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},49411:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(10509),a=e(85027),s=e(22302),c=e(36752),u=e(65419),l=e(72125),f=e(53931),p=u(function(){for(var y=this.iterator,m=this.mapper,d,b;;){if(b=this.inner)try{if(d=a(r(b.next,b.iterator)),!d.done)return d.value;this.inner=null}catch(C){l(y,"throw",C)}if(d=a(r(this.next,y)),this.done=!!d.done)return;try{this.inner=c(m(d.value,this.counter++),!1)}catch(C){l(y,"throw",C)}}});t({target:"Iterator",proto:!0,real:!0,forced:f},{flatMap:function(m){return a(this),o(m),new p(s(this),{mapper:m,inner:null})}})},30005:function(v,g,e){"use strict";var t=e(79989),r=e(18734),o=e(10509),a=e(85027),s=e(22302);t({target:"Iterator",proto:!0,real:!0},{forEach:function(u){a(this),o(u);var l=s(this),f=0;r(l,function(p){u(p,f++)},{IS_RECORD:!0})}})},73494:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(90690),a=e(23622),s=e(12013).IteratorPrototype,c=e(65419),u=e(36752),l=e(53931),f=c(function(){return r(this.next,this.iterator)},!0);t({target:"Iterator",stat:!0,forced:l},{from:function(y){var m=u(typeof y=="string"?o(y):y,!0);return a(s,m.iterator)?m.iterator:new f(m)}})},94564:function(v,g,e){"use strict";var t=e(79989),r=e(47082);t({target:"Iterator",proto:!0,real:!0,forced:!0},{indexed:r})},41792:function(v,g,e){"use strict";var t=e(79989),r=e(88983),o=e(53931);t({target:"Iterator",proto:!0,real:!0,forced:o},{map:r})},5985:function(v,g,e){"use strict";var t=e(79989),r=e(98554),o=TypeError;t({target:"Iterator",stat:!0,forced:!0},{range:function(s,c,u){if(typeof s=="number")return new r(s,c,u,"number",0,1);if(typeof s=="bigint")return new r(s,c,u,"bigint",BigInt(0),BigInt(1));throw new o("Incorrect Iterator.range arguments")}})},31107:function(v,g,e){"use strict";var t=e(79989),r=e(18734),o=e(10509),a=e(85027),s=e(22302),c=TypeError;t({target:"Iterator",proto:!0,real:!0},{reduce:function(l){a(this),o(l);var f=s(this),p=arguments.length<2,y=p?void 0:arguments[1],m=0;if(r(f,function(d){p?(p=!1,y=d):y=l(y,d,m),m++},{IS_RECORD:!0}),p)throw new c("Reduce of empty iterator with no initial value");return y}})},28244:function(v,g,e){"use strict";var t=e(79989),r=e(18734),o=e(10509),a=e(85027),s=e(22302);t({target:"Iterator",proto:!0,real:!0},{some:function(u){a(this),o(u);var l=s(this),f=0;return r(l,function(p,y){if(u(p,f++))return y()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},3645:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(85027),a=e(22302),s=e(4654),c=e(15904),u=e(65419),l=e(72125),f=e(53931),p=u(function(){var y=this.iterator;if(!this.remaining--)return this.done=!0,l(y,"normal",void 0);var m=o(r(this.next,y)),d=this.done=!!m.done;if(!d)return m.value});t({target:"Iterator",proto:!0,real:!0,forced:f},{take:function(m){o(this);var d=c(s(+m));return new p(a(this),{remaining:d})}})},58429:function(v,g,e){"use strict";var t=e(79989),r=e(85027),o=e(18734),a=e(22302),s=[].push;t({target:"Iterator",proto:!0,real:!0},{toArray:function(){var u=[];return o(a(r(this)),s,{that:u,IS_RECORD:!0}),u}})},39569:function(v,g,e){"use strict";var t=e(79989),r=e(85027),o=e(29019),a=e(40219),s=e(22302),c=e(53931);t({target:"Iterator",proto:!0,real:!0,forced:c},{toAsync:function(){return new a(s(new o(s(r(this)))))}})},74320:function(v,g,e){"use strict";var t=e(79989),r=e(22818),o=e(55670);t({target:"JSON",stat:!0,forced:!r},{isRawJSON:o})},20691:function(v,g,e){"use strict";var t=e(79989),r=e(67697),o=e(19037),a=e(76058),s=e(68844),c=e(22615),u=e(69985),l=e(48999),f=e(92297),p=e(36812),y=e(34327),m=e(6310),d=e(76522),b=e(3689),C=e(46675),S=e(50146),x=o.JSON,T=o.Number,w=o.SyntaxError,j=x&&x.parse,E=a("Object","keys"),$=Object.getOwnPropertyDescriptor,N=s("".charAt),oe=s("".slice),z=s(/./.exec),Y=s([].push),te=/^\d$/,ee=/^[1-9]$/,B=/^(?:-|\d)$/,ne=/^[\t\n\r ]$/,Q=0,q=1,L=function(X,G){X=y(X);var ce=new R(X,0,""),he=ce.parse(),Re=he.value,Ie=ce.skip(ne,he.end);if(Ie1?arguments[1]:void 0);return a(u,function(f,p){if(!l(f,p,u))return!1},!0)!==!1}})},41099:function(v,g,e){"use strict";var t=e(79989),r=e(54071),o=e(9945),a=e(83914),s=e(10613),c=a.Map,u=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(f){var p=o(this),y=r(f,arguments.length>1?arguments[1]:void 0),m=new c;return s(p,function(d,b){y(d,b,p)&&u(m,b,d)}),m}})},20876:function(v,g,e){"use strict";var t=e(79989),r=e(54071),o=e(9945),a=e(10613);t({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(c){var u=o(this),l=r(c,arguments.length>1?arguments[1]:void 0),f=a(u,function(p,y){if(l(p,y,u))return{key:y}},!0);return f&&f.key}})},26320:function(v,g,e){"use strict";var t=e(79989),r=e(54071),o=e(9945),a=e(10613);t({target:"Map",proto:!0,real:!0,forced:!0},{find:function(c){var u=o(this),l=r(c,arguments.length>1?arguments[1]:void 0),f=a(u,function(p,y){if(l(p,y,u))return{value:p}},!0);return f&&f.value}})},6052:function(v,g,e){"use strict";var t=e(79989),r=e(28737);t({target:"Map",stat:!0,forced:!0},{from:r})},76791:function(v,g,e){"use strict";var t=e(79989),r=e(68600),o=e(9945),a=e(10613);t({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(c){return a(o(this),function(u){if(r(u,c))return!0},!0)===!0}})},75341:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(18734),a=e(69985),s=e(10509),c=e(83914).Map;t({target:"Map",stat:!0,forced:!0},{keyBy:function(l,f){var p=a(this)?this:c,y=new p;s(f);var m=s(y.set);return o(l,function(d){r(m,y,f(d),d)}),y}})},40019:function(v,g,e){"use strict";var t=e(79989),r=e(9945),o=e(10613);t({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(s){var c=o(r(this),function(u,l){if(u===s)return{key:l}},!0);return c&&c.key}})},92343:function(v,g,e){"use strict";var t=e(79989),r=e(54071),o=e(9945),a=e(83914),s=e(10613),c=a.Map,u=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(f){var p=o(this),y=r(f,arguments.length>1?arguments[1]:void 0),m=new c;return s(p,function(d,b){u(m,y(d,b,p),d)}),m}})},51096:function(v,g,e){"use strict";var t=e(79989),r=e(54071),o=e(9945),a=e(83914),s=e(10613),c=a.Map,u=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(f){var p=o(this),y=r(f,arguments.length>1?arguments[1]:void 0),m=new c;return s(p,function(d,b){u(m,b,y(d,b,p))}),m}})},4314:function(v,g,e){"use strict";var t=e(79989),r=e(9945),o=e(18734),a=e(83914).set;t({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(c){for(var u=r(this),l=arguments.length,f=0;f1?arguments[1]:void 0);return a(u,function(f,p){if(l(f,p,u))return!0},!0)===!0}})},24453:function(v,g,e){"use strict";var t=e(79989),r=e(41432);t({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:r})},64078:function(v,g,e){"use strict";var t=e(79989),r=e(10509),o=e(9945),a=e(83914),s=TypeError,c=a.get,u=a.has,l=a.set;t({target:"Map",proto:!0,real:!0,forced:!0},{update:function(p,y){var m=o(this),d=arguments.length;r(y);var b=u(m,p);if(!b&&d<3)throw new s("Updating absent value");var C=b?c(m,p):r(d>2?arguments[2]:void 0)(p,m);return l(m,p,y(C,p,m)),m}})},66190:function(v,g,e){"use strict";var t=e(79989),r=e(41432);t({target:"Map",proto:!0,real:!0,forced:!0},{upsert:r})},25684:function(v,g,e){"use strict";var t=e(79989),r=Math.min,o=Math.max;t({target:"Math",stat:!0,forced:!0},{clamp:function(s,c,u){return r(u,o(c,s))}})},31789:function(v,g,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180})},8677:function(v,g,e){"use strict";var t=e(79989),r=180/Math.PI;t({target:"Math",stat:!0,forced:!0},{degrees:function(a){return a*r}})},59151:function(v,g,e){"use strict";var t=e(79989),r=e(76043);t({target:"Math",stat:!0},{f16round:r})},346:function(v,g,e){"use strict";var t=e(79989),r=e(84463),o=e(37788);t({target:"Math",stat:!0,forced:!0},{fscale:function(s,c,u,l,f){return o(r(s,c,u,l,f))}})},91069:function(v,g,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,forced:!0},{iaddh:function(o,a,s,c){var u=o>>>0,l=a>>>0,f=s>>>0;return l+(c>>>0)+((u&f|(u|f)&~(u+f>>>0))>>>31)|0}})},18886:function(v,g,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,forced:!0},{imulh:function(o,a){var s=65535,c=+o,u=+a,l=c&s,f=u&s,p=c>>16,y=u>>16,m=(p*f>>>0)+(l*f>>>16);return p*y+(m>>16)+((l*y>>>0)+(m&s)>>16)}})},88065:function(v,g,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,forced:!0},{isubh:function(o,a,s,c){var u=o>>>0,l=a>>>0,f=s>>>0;return l-(c>>>0)-((~u&f|~(u^f)&u-f>>>0)>>>31)|0}})},68172:function(v,g,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI})},60445:function(v,g,e){"use strict";var t=e(79989),r=Math.PI/180;t({target:"Math",stat:!0,forced:!0},{radians:function(a){return a*r}})},99457:function(v,g,e){"use strict";var t=e(79989),r=e(84463);t({target:"Math",stat:!0,forced:!0},{scale:r})},613:function(v,g,e){"use strict";var t=e(79989),r=e(85027),o=e(70046),a=e(30974),s=e(27807),c=e(618),u="Seeded Random",l=u+" Generator",f='Math.seededPRNG() argument should have a "seed" field with a finite value.',p=c.set,y=c.getterFor(l),m=TypeError,d=a(function(C){p(this,{type:l,seed:C%2147483647})},u,function(){var C=y(this),S=C.seed=(C.seed*1103515245+12345)%2147483647;return s((S&1073741823)/1073741823,!1)});t({target:"Math",stat:!0,forced:!0},{seededPRNG:function(C){var S=r(C).seed;if(!o(S))throw new m(f);return new d(S)}})},835:function(v,g,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,forced:!0},{signbit:function(o){var a=+o;return a===a&&a===0?1/a===-1/0:a<0}})},926:function(v,g,e){"use strict";var t=e(79989);t({target:"Math",stat:!0,forced:!0},{umulh:function(o,a){var s=65535,c=+o,u=+a,l=c&s,f=u&s,p=c>>>16,y=u>>>16,m=(p*f>>>0)+(l*f>>>16);return p*y+(m>>>16)+((l*y>>>0)+(m&s)>>>16)}})},82899:function(v,g,e){"use strict";var t=e(79989),r=e(68844),o=e(68700),a="Invalid number representation",s="Invalid radix",c=RangeError,u=SyntaxError,l=TypeError,f=parseInt,p=Math.pow,y=/^[\d.a-z]+$/,m=r("".charAt),d=r(y.exec),b=r(1 .toString),C=r("".slice),S=r("".split);t({target:"Number",stat:!0,forced:!0},{fromString:function(T,w){var j=1;if(typeof T!="string")throw new l(a);if(!T.length)throw new u(a);if(m(T,0)==="-"&&(j=-1,T=C(T,1),!T.length))throw new u(a);var E=w===void 0?10:o(w);if(E<2||E>36)throw new c(s);if(!d(y,T))throw new u(a);var $=S(T,"."),N=f($[0],E);if($.length>1&&(N+=f($[1],E)/p(E,$[1].length)),E===10&&b(N,E)!==T)throw new u(a);return j*N}})},29977:function(v,g,e){"use strict";var t=e(79989),r=e(98554);t({target:"Number",stat:!0,forced:!0},{range:function(a,s,c){return new r(a,s,c,"number",0,1)}})},31927:function(v,g,e){"use strict";var t=e(79989),r=e(42351);t({target:"Object",stat:!0,forced:!0},{iterateEntries:function(a){return new r(a,"entries")}})},77131:function(v,g,e){"use strict";var t=e(79989),r=e(42351);t({target:"Object",stat:!0,forced:!0},{iterateKeys:function(a){return new r(a,"keys")}})},55174:function(v,g,e){"use strict";var t=e(79989),r=e(42351);t({target:"Object",stat:!0,forced:!0},{iterateValues:function(a){return new r(a,"values")}})},63503:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(67697),a=e(14241),s=e(10509),c=e(85027),u=e(767),l=e(69985),f=e(981),p=e(48999),y=e(54849),m=e(11880),d=e(6045),b=e(62148),C=e(20920),S=e(44201),x=e(618),T=S("observable"),w="Observable",j="Subscription",E="SubscriptionObserver",$=x.getterFor,N=x.set,oe=$(w),z=$(j),Y=$(E),te=function(q){this.observer=c(q),this.cleanup=void 0,this.subscriptionObserver=void 0};te.prototype={type:j,clean:function(){var q=this.cleanup;if(q){this.cleanup=void 0;try{q()}catch(L){C(L)}}},close:function(){if(!o){var q=this.facade,L=this.subscriptionObserver;q.closed=!0,L&&(L.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var ee=function(q,L){var F=N(this,new te(q)),I;o||(this.closed=!1);try{(I=y(q,"start"))&&r(I,q,this)}catch(ae){C(ae)}if(!F.isClosed()){var M=F.subscriptionObserver=new B(F);try{var R=L(M),H=R;f(R)||(F.cleanup=l(R.unsubscribe)?function(){H.unsubscribe()}:s(R))}catch(ae){M.error(ae);return}F.isClosed()&&F.clean()}};ee.prototype=d({},{unsubscribe:function(){var L=z(this);L.isClosed()||(L.close(),L.clean())}}),o&&b(ee.prototype,"closed",{configurable:!0,get:function(){return z(this).isClosed()}});var B=function(q){N(this,{type:E,subscriptionState:q}),o||(this.closed=!1)};B.prototype=d({},{next:function(L){var F=Y(this).subscriptionState;if(!F.isClosed()){var I=F.observer;try{var M=y(I,"next");M&&r(M,I,L)}catch(R){C(R)}}},error:function(L){var F=Y(this).subscriptionState;if(!F.isClosed()){var I=F.observer;F.close();try{var M=y(I,"error");M?r(M,I,L):C(L)}catch(R){C(R)}F.clean()}},complete:function(){var L=Y(this).subscriptionState;if(!L.isClosed()){var F=L.observer;L.close();try{var I=y(F,"complete");I&&r(I,F)}catch(M){C(M)}L.clean()}}}),o&&b(B.prototype,"closed",{configurable:!0,get:function(){return Y(this).subscriptionState.isClosed()}});var ne=function(L){u(this,Q),N(this,{type:w,subscriber:s(L)})},Q=ne.prototype;d(Q,{subscribe:function(L){var F=arguments.length;return new ee(l(L)?{next:L,error:F>1?arguments[1]:void 0,complete:F>2?arguments[2]:void 0}:p(L)?L:{},oe(this).subscriber)}}),m(Q,T,function(){return this}),t({global:!0,constructor:!0,forced:!0},{Observable:ne}),a(w)},9818:function(v,g,e){"use strict";var t=e(79989),r=e(76058),o=e(22615),a=e(85027),s=e(19429),c=e(5185),u=e(54849),l=e(18734),f=e(44201),p=f("observable");t({target:"Observable",stat:!0,forced:!0},{from:function(m){var d=s(this)?this:r("Observable"),b=u(a(m),p);if(b){var C=a(o(b,m));return C.constructor===d?C:new d(function(x){return C.subscribe(x)})}var S=c(m);return new d(function(x){l(S,function(T,w){if(x.next(T),x.closed)return w()},{IS_ITERATOR:!0,INTERRUPTED:!0}),x.complete()})}})},76314:function(v,g,e){"use strict";e(63503),e(9818),e(38771)},38771:function(v,g,e){"use strict";var t=e(79989),r=e(76058),o=e(19429),a=r("Array");t({target:"Observable",stat:!0,forced:!0},{of:function(){for(var c=o(this)?this:r("Observable"),u=arguments.length,l=a(u),f=0;f?@[\\\\\\]^`{|}~"+a+"]","g");t({target:"RegExp",stat:!0,forced:!0},{escape:function(f){var p=o(f),y=s(p,0);return(y>47&&y<58?"\\x3":"")+c(p,u,"\\$&")}})},57282:function(v,g,e){"use strict";var t=e(79989),r=e(10029),o=e(61034).add;t({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var s=r(this),c=0,u=arguments.length;c1?arguments[1]:void 0);return a(u,function(f){if(!l(f,f,u))return!1},!0)!==!1}})},96986:function(v,g,e){"use strict";var t=e(79989),r=e(54071),o=e(10029),a=e(61034),s=e(48774),c=a.Set,u=a.add;t({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(f){var p=o(this),y=r(f,arguments.length>1?arguments[1]:void 0),m=new c;return s(p,function(d){y(d,d,p)&&u(m,d)}),m}})},95681:function(v,g,e){"use strict";var t=e(79989),r=e(54071),o=e(10029),a=e(48774);t({target:"Set",proto:!0,real:!0,forced:!0},{find:function(c){var u=o(this),l=r(c,arguments.length>1?arguments[1]:void 0),f=a(u,function(p){if(l(p,p,u))return{value:p}},!0);return f&&f.value}})},13781:function(v,g,e){"use strict";var t=e(79989),r=e(28737);t({target:"Set",stat:!0,forced:!0},{from:r})},98873:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(2939),a=e(72948);t({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(c){return r(a,this,o(c))}})},33442:function(v,g,e){"use strict";var t=e(79989),r=e(3689),o=e(72948),a=e(53234),s=!a("intersection")||r(function(){return Array.from(new Set([1,2,3]).intersection(new Set([3,2])))!=="3,2"});t({target:"Set",proto:!0,real:!0,forced:s},{intersection:o})},50308:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(2939),a=e(97795);t({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(c){return r(a,this,o(c))}})},61964:function(v,g,e){"use strict";var t=e(79989),r=e(97795),o=e(53234);t({target:"Set",proto:!0,real:!0,forced:!o("isDisjointFrom")},{isDisjointFrom:r})},18955:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(2939),a=e(26951);t({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(c){return r(a,this,o(c))}})},69878:function(v,g,e){"use strict";var t=e(79989),r=e(26951),o=e(53234);t({target:"Set",proto:!0,real:!0,forced:!o("isSubsetOf")},{isSubsetOf:r})},65115:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(2939),a=e(3894);t({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(c){return r(a,this,o(c))}})},52915:function(v,g,e){"use strict";var t=e(79989),r=e(3894),o=e(53234);t({target:"Set",proto:!0,real:!0,forced:!o("isSupersetOf")},{isSupersetOf:r})},19490:function(v,g,e){"use strict";var t=e(79989),r=e(68844),o=e(10029),a=e(48774),s=e(34327),c=r([].join),u=r([].push);t({target:"Set",proto:!0,real:!0,forced:!0},{join:function(f){var p=o(this),y=f===void 0?",":s(f),m=[];return a(p,function(d){u(m,d)}),c(m,y)}})},95752:function(v,g,e){"use strict";var t=e(79989),r=e(54071),o=e(10029),a=e(61034),s=e(48774),c=a.Set,u=a.add;t({target:"Set",proto:!0,real:!0,forced:!0},{map:function(f){var p=o(this),y=r(f,arguments.length>1?arguments[1]:void 0),m=new c;return s(p,function(d){u(m,y(d,d,p))}),m}})},32789:function(v,g,e){"use strict";var t=e(79989),r=e(1114);t({target:"Set",stat:!0,forced:!0},{of:r})},27913:function(v,g,e){"use strict";var t=e(79989),r=e(10509),o=e(10029),a=e(48774),s=TypeError;t({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(u){var l=o(this),f=arguments.length<2,p=f?void 0:arguments[1];if(r(u),a(l,function(y){f?(f=!1,p=y):p=u(p,y,y,l)}),f)throw new s("Reduce of empty set with no initial value");return p}})},6831:function(v,g,e){"use strict";var t=e(79989),r=e(54071),o=e(10029),a=e(48774);t({target:"Set",proto:!0,real:!0,forced:!0},{some:function(c){var u=o(this),l=r(c,arguments.length>1?arguments[1]:void 0);return a(u,function(f){if(l(f,f,u))return!0},!0)===!0}})},90243:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(2939),a=e(62289);t({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(c){return r(a,this,o(c))}})},97895:function(v,g,e){"use strict";var t=e(79989),r=e(62289),o=e(53234);t({target:"Set",proto:!0,real:!0,forced:!o("symmetricDifference")},{symmetricDifference:r})},98030:function(v,g,e){"use strict";var t=e(79989),r=e(22615),o=e(2939),a=e(75674);t({target:"Set",proto:!0,real:!0,forced:!0},{union:function(c){return r(a,this,o(c))}})},22275:function(v,g,e){"use strict";var t=e(79989),r=e(75674),o=e(53234);t({target:"Set",proto:!0,real:!0,forced:!o("union")},{union:r})},86220:function(v,g,e){"use strict";var t=e(79989),r=e(10730).charAt,o=e(74684),a=e(68700),s=e(34327);t({target:"String",proto:!0,forced:!0},{at:function(u){var l=s(o(this)),f=l.length,p=a(u),y=p>=0?p:f+p;return y<0||y>=f?void 0:r(l,y)}})},95853:function(v,g,e){"use strict";var t=e(79989),r=e(30974),o=e(27807),a=e(74684),s=e(34327),c=e(618),u=e(10730),l=u.codeAt,f=u.charAt,p="String Iterator",y=c.set,m=c.getterFor(p),d=r(function(C){y(this,{type:p,string:C,index:0})},"String",function(){var C=m(this),S=C.string,x=C.index,T;return x>=S.length?o(void 0,!0):(T=f(S,x),C.index+=T.length,o({codePoint:l(T,0),position:x},!1))});t({target:"String",proto:!0,forced:!0},{codePoints:function(){return new d(s(a(this)))}})},21917:function(v,g,e){"use strict";var t=e(79989),r=e(8195);t({target:"String",stat:!0,forced:!0},{cooked:r})},66084:function(v,g,e){"use strict";var t=e(71594),r=e(79989),o=e(98702),a=e(68844),s=e(61735),c=e(85027),u=e(90690),l=e(69985),f=e(6310),p=e(72560).f,y=e(9015),m=e(16803),d=e(8195),b=e(98985),C=e(86350),S=new m.WeakMap,x=m.get,T=m.has,w=m.set,j=Array,E=TypeError,$=Object.freeze||Object,N=Object.isFrozen,oe=Math.min,z=a("".charAt),Y=a("".slice),te=a("".split),ee=a(/./.exec),B=/([\n\u2028\u2029]|\r\n?)/g,ne=RegExp("^["+C+"]*"),Q=RegExp("[^"+C+"]"),q="Invalid tag",L="Invalid opening line",F="Invalid closing line",I=function(G){var ce=G.raw;if(t&&!N(ce))throw new E("Raw template should be frozen");if(T(S,ce))return x(S,ce);var he=M(ce),Re=H(he);return p(Re,"raw",{value:$(he)}),$(Re),w(S,ce,Re),Re},M=function(G){var ce=u(G),he=f(ce),Re=j(he),Ie=j(he),Ze=0,nt,pt,Qe,ot;if(!he)throw new E(q);for(;Ze0)throw new E(L);nt[1]=""}if(le){if(nt.length===1||ee(Q,nt[nt.length-1]))throw new E(F);nt[nt.length-2]="",nt[nt.length-1]=""}for(var Z=2;Z1?arguments[1]:void 0);return o(this,l)},!0)},59359:function(v,g,e){"use strict";var t=e(54872),r=e(2960).filterReject,o=e(20716),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("filterReject",function(u){var l=r(a(this),u,arguments.length>1?arguments[1]:void 0);return o(this,l)},!0)},76677:function(v,g,e){"use strict";var t=e(76058),r=e(52655),o=e(2231),a=e(54872),s=e(59976),c=a.aTypedArrayConstructor,u=a.exportTypedArrayStaticMethod;u("fromAsync",function(f){var p=this,y=arguments.length,m=y>1?arguments[1]:void 0,d=y>2?arguments[2]:void 0;return new(t("Promise"))(function(b){r(p),b(o(f,m,d))}).then(function(b){return s(c(p),b)})},!0)},30548:function(v,g,e){"use strict";var t=e(54872),r=e(64976),o=e(47338),a=t.aTypedArray,s=t.exportTypedArrayMethod;s("groupBy",function(u){var l=arguments.length>1?arguments[1]:void 0;return r(a(this),u,l,o)},!0)},915:function(v,g,e){"use strict";var t=e(54872),r=e(6310),o=e(9401),a=e(27578),s=e(71530),c=e(68700),u=e(3689),l=t.aTypedArray,f=t.getTypedArrayConstructor,p=t.exportTypedArrayMethod,y=Math.max,m=Math.min,d=!u(function(){var b=new Int8Array([1]),C=b.toSpliced(1,0,{valueOf:function(){return b[0]=2,3}});return C[0]!==2||C[1]!==3});p("toSpliced",function(C,S){var x=l(this),T=f(x),w=r(x),j=a(C,w),E=arguments.length,$=0,N,oe,z,Y,te,ee,B;if(E===0)N=oe=0;else if(E===1)N=0,oe=w-j;else if(oe=m(y(c(S),0),w-j),N=E-2,N){Y=new T(N),z=o(Y);for(var ne=2;ne1?a(arguments[1]):void 0,N=f($)==="base64"?p:y,oe=$?!!$.strict:!1,z=oe?E:C(E,T,"");if(z.length%4===0)S(z,-2)==="=="?z=S(z,0,-2):S(z,-1)==="="&&(z=S(z,0,-1));else if(oe)throw new d("Input is not correctly padded");var Y=z.length%4;switch(Y){case 1:throw new d("Bad input length");case 2:z+="AA";break;case 3:z+="A"}for(var te=[],ee=0,B=z.length,ne=function(L){var F=b(z,ee+L);if(!c(N,F))throw new d('Bad char in input: "'+F+'"');return N[F]<<18-6*L};ee>16&255,Q>>8&255,Q&255)}var q=te.length;if(Y===2){if(oe&&te[q-2]!==0)throw new d(w);q-=2}else if(Y===3){if(oe&&te[q-1]!==0)throw new d(w);q--}return u(m,te,q)}})},91117:function(v,g,e){"use strict";var t=e(79989),r=e(19037),o=e(68844),a=e(51082),s=r.Uint8Array,c=r.SyntaxError,u=r.parseInt,l=/[^\da-f]/i,f=o(l.exec),p=o("".slice);s&&t({target:"Uint8Array",stat:!0,forced:!0},{fromHex:function(m){a(m);var d=m.length;if(d%2)throw new c("String should have an even number of characters");if(f(l,m))throw new c("String should only contain hex characters");for(var b=new s(d/2),C=0;C>6*E&63)};x+21&&!p(arguments[1])?b(arguments[1]):void 0,ie=D?D.transfer:void 0,We,Fe;ie!==void 0&&(We=new I,Fe=Ne(ie,We));var $e=de(xe,We);return Fe&&at(Fe),$e}})},98858:function(v,g,e){"use strict";var t=e(11880),r=e(68844),o=e(34327),a=e(21500),s=URLSearchParams,c=s.prototype,u=r(c.append),l=r(c.delete),f=r(c.forEach),p=r([].push),y=new s("a=1&a=2&b=3");y.delete("a",1),y.delete("b",void 0),y+""!="a=2"&&t(c,"delete",function(m){var d=arguments.length,b=d<2?void 0:arguments[1];if(d&&b===void 0)return l(this,m);var C=[];f(this,function(N,oe){p(C,{key:oe,value:N})}),a(d,1);for(var S=o(m),x=o(b),T=0,w=0,j=!1,E=C.length,$;Tr.length)&&(o=r.length);for(var a=0,s=new Array(o);a=o.length?{done:!0}:{done:!1,value:o[c++]}},e:function(m){throw m},f:u}}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 l=!0,f=!1,p;return{s:function(){s=s.call(o)},n:function(){var m=s.next();return l=m.done,m},e:function(m){f=!0,p=m},f:function(){try{!l&&s.return!=null&&s.return()}finally{if(f)throw p}}}}},29388:function(v,g,e){"use strict";e.d(g,{Z:function(){return a}});var t=e(61120),r=e(78814),o=e(82963);function a(s){var c=(0,r.Z)();return function(){var l=(0,t.Z)(s),f;if(c){var p=(0,t.Z)(this).constructor;f=Reflect.construct(l,arguments,p)}else f=l.apply(this,arguments);return(0,o.Z)(this,f)}}},4942:function(v,g,e){"use strict";e.d(g,{Z:function(){return r}});var t=e(83997);function r(o,a,s){return a=(0,t.Z)(a),a in o?Object.defineProperty(o,a,{value:s,enumerable:!0,configurable:!0,writable:!0}):o[a]=s,o}},87462:function(v,g,e){"use strict";e.d(g,{Z:function(){return t}});function t(){return t=Object.assign?Object.assign.bind():function(r){for(var o=1;o=0)continue;s[c]=o[c]}return s}function r(o,a){if(o==null)return{};var s=t(o,a),c,u;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(o);for(u=0;u=0)&&Object.prototype.propertyIsEnumerable.call(o,c)&&(s[c]=o[c])}return s}},82963:function(v,g,e){"use strict";e.d(g,{Z:function(){return o}});var t=e(71002),r=e(97326);function o(a,s){if(s&&((0,t.Z)(s)==="object"||typeof s=="function"))return s;if(s!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(0,r.Z)(a)}},74165:function(v,g,e){"use strict";e.d(g,{Z:function(){return r}});var t=e(71002);function r(){"use strict";r=function(){return a};var o,a={},s=Object.prototype,c=s.hasOwnProperty,u=Object.defineProperty||function(I,M,R){I[M]=R.value},l=typeof Symbol=="function"?Symbol:{},f=l.iterator||"@@iterator",p=l.asyncIterator||"@@asyncIterator",y=l.toStringTag||"@@toStringTag";function m(I,M,R){return Object.defineProperty(I,M,{value:R,enumerable:!0,configurable:!0,writable:!0}),I[M]}try{m({},"")}catch(I){m=function(R,H,ae){return R[H]=ae}}function d(I,M,R,H){var ae=M&&M.prototype instanceof j?M:j,X=Object.create(ae.prototype),G=new L(H||[]);return u(X,"_invoke",{value:B(I,R,G)}),X}function b(I,M,R){try{return{type:"normal",arg:I.call(M,R)}}catch(H){return{type:"throw",arg:H}}}a.wrap=d;var C="suspendedStart",S="suspendedYield",x="executing",T="completed",w={};function j(){}function E(){}function $(){}var N={};m(N,f,function(){return this});var oe=Object.getPrototypeOf,z=oe&&oe(oe(F([])));z&&z!==s&&c.call(z,f)&&(N=z);var Y=$.prototype=j.prototype=Object.create(N);function te(I){["next","throw","return"].forEach(function(M){m(I,M,function(R){return this._invoke(M,R)})})}function ee(I,M){function R(ae,X,G,ce){var he=b(I[ae],I,X);if(he.type!=="throw"){var Re=he.arg,Ie=Re.value;return Ie&&(0,t.Z)(Ie)=="object"&&c.call(Ie,"__await")?M.resolve(Ie.__await).then(function(Ze){R("next",Ze,G,ce)},function(Ze){R("throw",Ze,G,ce)}):M.resolve(Ie).then(function(Ze){Re.value=Ze,G(Re)},function(Ze){return R("throw",Ze,G,ce)})}ce(he.arg)}var H;u(this,"_invoke",{value:function(X,G){function ce(){return new M(function(he,Re){R(X,G,he,Re)})}return H=H?H.then(ce,ce):ce()}})}function B(I,M,R){var H=C;return function(ae,X){if(H===x)throw Error("Generator is already running");if(H===T){if(ae==="throw")throw X;return{value:o,done:!0}}for(R.method=ae,R.arg=X;;){var G=R.delegate;if(G){var ce=ne(G,R);if(ce){if(ce===w)continue;return ce}}if(R.method==="next")R.sent=R._sent=R.arg;else if(R.method==="throw"){if(H===C)throw H=T,R.arg;R.dispatchException(R.arg)}else R.method==="return"&&R.abrupt("return",R.arg);H=x;var he=b(I,M,R);if(he.type==="normal"){if(H=R.done?T:S,he.arg===w)continue;return{value:he.arg,done:R.done}}he.type==="throw"&&(H=T,R.method="throw",R.arg=he.arg)}}}function ne(I,M){var R=M.method,H=I.iterator[R];if(H===o)return M.delegate=null,R==="throw"&&I.iterator.return&&(M.method="return",M.arg=o,ne(I,M),M.method==="throw")||R!=="return"&&(M.method="throw",M.arg=new TypeError("The iterator does not provide a '"+R+"' method")),w;var ae=b(H,I.iterator,M.arg);if(ae.type==="throw")return M.method="throw",M.arg=ae.arg,M.delegate=null,w;var X=ae.arg;return X?X.done?(M[I.resultName]=X.value,M.next=I.nextLoc,M.method!=="return"&&(M.method="next",M.arg=o),M.delegate=null,w):X:(M.method="throw",M.arg=new TypeError("iterator result is not an object"),M.delegate=null,w)}function Q(I){var M={tryLoc:I[0]};1 in I&&(M.catchLoc=I[1]),2 in I&&(M.finallyLoc=I[2],M.afterLoc=I[3]),this.tryEntries.push(M)}function q(I){var M=I.completion||{};M.type="normal",delete M.arg,I.completion=M}function L(I){this.tryEntries=[{tryLoc:"root"}],I.forEach(Q,this),this.reset(!0)}function F(I){if(I||I===""){var M=I[f];if(M)return M.call(I);if(typeof I.next=="function")return I;if(!isNaN(I.length)){var R=-1,H=function ae(){for(;++R=0;--ae){var X=this.tryEntries[ae],G=X.completion;if(X.tryLoc==="root")return H("end");if(X.tryLoc<=this.prev){var ce=c.call(X,"catchLoc"),he=c.call(X,"finallyLoc");if(ce&&he){if(this.prev=0;--H){var ae=this.tryEntries[H];if(ae.tryLoc<=this.prev&&c.call(ae,"finallyLoc")&&this.prev=0;--R){var H=this.tryEntries[R];if(H.finallyLoc===M)return this.complete(H.completion,H.afterLoc),q(H),w}},catch:function(M){for(var R=this.tryEntries.length-1;R>=0;--R){var H=this.tryEntries[R];if(H.tryLoc===M){var ae=H.completion;if(ae.type==="throw"){var X=ae.arg;q(H)}return X}}throw Error("illegal catch attempt")},delegateYield:function(M,R,H){return this.delegate={iterator:F(M),resultName:R,nextLoc:H},this.method==="next"&&(this.arg=o),w}},a}},89611:function(v,g,e){"use strict";e.d(g,{Z:function(){return t}});function t(r,o){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(s,c){return s.__proto__=c,s},t(r,o)}},97685:function(v,g,e){"use strict";e.d(g,{Z:function(){return s}});var t=e(83878);function r(c,u){var l=c==null?null:typeof Symbol!="undefined"&&c[Symbol.iterator]||c["@@iterator"];if(l!=null){var f,p,y,m,d=[],b=!0,C=!1;try{if(y=(l=l.call(c)).next,u===0){if(Object(l)!==l)return;b=!1}else for(;!(b=(f=y.call(l)).done)&&(d.push(f.value),d.length!==u);b=!0);}catch(S){C=!0,p=S}finally{try{if(!b&&l.return!=null&&(m=l.return(),Object(m)!==m))return}finally{if(C)throw p}}return d}}var o=e(40181),a=e(25267);function s(c,u){return(0,t.Z)(c)||r(c,u)||(0,o.Z)(c,u)||(0,a.Z)()}},84506:function(v,g,e){"use strict";e.d(g,{Z:function(){return s}});var t=e(83878),r=e(59199),o=e(40181),a=e(25267);function s(c){return(0,t.Z)(c)||(0,r.Z)(c)||(0,o.Z)(c)||(0,a.Z)()}},74902:function(v,g,e){"use strict";e.d(g,{Z:function(){return c}});var t=e(30907);function r(u){if(Array.isArray(u))return(0,t.Z)(u)}var o=e(59199),a=e(40181);function s(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function c(u){return r(u)||(0,o.Z)(u)||(0,a.Z)(u)||s()}},83997:function(v,g,e){"use strict";e.d(g,{Z:function(){return o}});var t=e(71002);function r(a,s){if((0,t.Z)(a)!="object"||!a)return a;var c=a[Symbol.toPrimitive];if(c!==void 0){var u=c.call(a,s||"default");if((0,t.Z)(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(a)}function o(a){var s=r(a,"string");return(0,t.Z)(s)=="symbol"?s:s+""}},71002:function(v,g,e){"use strict";e.d(g,{Z:function(){return t}});function t(r){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},t(r)}},40181:function(v,g,e){"use strict";e.d(g,{Z:function(){return r}});var t=e(30907);function r(o,a){if(o){if(typeof o=="string")return(0,t.Z)(o,a);var s=Object.prototype.toString.call(o).slice(8,-1);if(s==="Object"&&o.constructor&&(s=o.constructor.name),s==="Map"||s==="Set")return Array.from(o);if(s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return(0,t.Z)(o,a)}}},58096:function(v,g,e){"use strict";e.d(g,{Z:function(){return t}});function t(){return t=Object.assign?Object.assign.bind():function(r){for(var o=1;o=0)&&(s[u]=o[u]);return s}function r(o,a){if(o==null)return{};var s=t(o,a),c,u;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(o);for(u=0;u=0)&&Object.prototype.propertyIsEnumerable.call(o,c)&&(s[c]=o[c])}return s}},81758:function(v,g,e){"use strict";e.d(g,{J$:function(){return We},ZP:function(){return Fe},kY:function(){return _}});var t=e(67294),r=e(61688);const o=()=>{},a=o(),s=Object,c=$e=>$e===a,u=$e=>typeof $e=="function",l=($e,we)=>Gl(Gl({},$e),we),f=$e=>u($e.then),p=new WeakMap;let y=0;const m=$e=>{const we=typeof $e,Pe=$e&&$e.constructor,Ae=Pe==Date;let Ue,_e;if(s($e)===$e&&!Ae&&Pe!=RegExp){if(Ue=p.get($e),Ue)return Ue;if(Ue=++y+"~",p.set($e,Ue),Pe==Array){for(Ue="@",_e=0;_e<$e.length;_e++)Ue+=m($e[_e])+",";p.set($e,Ue)}if(Pe==s){Ue="#";const ct=s.keys($e).sort();for(;!c(_e=ct.pop());)c($e[_e])||(Ue+=_e+":"+m($e[_e])+",");p.set($e,Ue)}}else Ue=Ae?$e.toJSON():we=="symbol"?$e.toString():we=="string"?JSON.stringify($e):""+$e;return Ue},d=new WeakMap,b={},C={},S="undefined",x=typeof window!=S,T=typeof document!=S,w=()=>x&&typeof window.requestAnimationFrame!=S,j=($e,we)=>{const Pe=d.get($e);return[()=>!c(we)&&$e.get(we)||b,Ae=>{if(!c(we)){const Ue=$e.get(we);we in C||(C[we]=Ue),Pe[5](we,l(Ue,Ae),Ue||b)}},Pe[6],()=>!c(we)&&we in C?C[we]:!c(we)&&$e.get(we)||b]};let E=!0;const $=()=>E,[N,oe]=x&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[o,o],z=()=>{const $e=T&&document.visibilityState;return c($e)||$e!=="hidden"},Y=$e=>(T&&document.addEventListener("visibilitychange",$e),N("focus",$e),()=>{T&&document.removeEventListener("visibilitychange",$e),oe("focus",$e)}),te=$e=>{const we=()=>{E=!0,$e()},Pe=()=>{E=!1};return N("online",we),N("offline",Pe),()=>{oe("online",we),oe("offline",Pe)}},ee={isOnline:$,isVisible:z},B={initFocus:Y,initReconnect:te},ne=!t.useId,Q=!x||"Deno"in window,q=$e=>w()?window.requestAnimationFrame($e):setTimeout($e,1),L=Q?t.useEffect:t.useLayoutEffect,F=typeof navigator!="undefined"&&navigator.connection,I=!Q&&F&&(["slow-2g","2g"].includes(F.effectiveType)||F.saveData),M=$e=>{if(u($e))try{$e=$e()}catch(Pe){$e=""}const we=$e;return $e=typeof $e=="string"?$e:(Array.isArray($e)?$e.length:$e)?m($e):"",[$e,we]};let R=0;const H=()=>++R,ae=0,X=1,G=2;var he={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:ae,MUTATE_EVENT:G,RECONNECT_EVENT:X};function Re(...$e){return Lu(this,null,function*(){const[we,Pe,Ae,Ue]=$e,_e=l({populateCache:!0,throwOnError:!0},typeof Ue=="boolean"?{revalidate:Ue}:Ue||{});let ct=_e.populateCache;const At=_e.rollbackOnError;let vt=_e.optimisticData;const qt=Kt=>typeof At=="function"?At(Kt):At!==!1,kt=_e.throwOnError;if(u(Pe)){const Kt=Pe,Ct=[],Ke=we.keys();for(const Et of Ke)!/^\$(inf|sub)\$/.test(Et)&&Kt(we.get(Et)._k)&&Ct.push(Et);return Promise.all(Ct.map(wt))}return wt(Pe);function wt(Kt){return Lu(this,null,function*(){const[Ct]=M(Kt);if(!Ct)return;const[Ke,Et]=j(we,Ct),[Ut,gt,cn,Ft]=d.get(we),en=()=>{const er=Ut[Ct];return(u(_e.revalidate)?_e.revalidate(Ke().data,Kt):_e.revalidate!==!1)&&(delete cn[Ct],delete Ft[Ct],er&&er[0])?er[0](G).then(()=>Ke().data):Ke().data};if($e.length<3)return en();let Yt=Ae,dn;const pn=H();gt[Ct]=[pn,0];const rn=!c(vt),On=Ke(),An=On.data,Jn=On._c,Rr=c(Jn)?An:Jn;if(rn&&(vt=u(vt)?vt(Rr,An):vt,Et({data:vt,_c:Rr})),u(Yt))try{Yt=Yt(Rr)}catch(er){dn=er}if(Yt&&f(Yt))if(Yt=yield Yt.catch(er=>{dn=er}),pn!==gt[Ct][0]){if(dn)throw dn;return Yt}else dn&&rn&&qt(dn)&&(ct=!0,Et({data:Rr,_c:a}));if(ct&&!dn)if(u(ct)){const er=ct(Yt,Rr);Et({data:er,error:a,_c:a})}else Et({data:Yt,error:a,_c:a});if(gt[Ct][1]=H(),Promise.resolve(en()).then(()=>{Et({_c:a})}),dn){if(kt)throw dn;return}return Yt})}})}const Ie=($e,we)=>{for(const Pe in $e)$e[Pe][0]&&$e[Pe][0](we)},Ze=($e,we)=>{if(!d.has($e)){const Pe=l(B,we),Ae={},Ue=Re.bind(a,$e);let _e=o;const ct={},At=(kt,wt)=>{const Kt=ct[kt]||[];return ct[kt]=Kt,Kt.push(wt),()=>Kt.splice(Kt.indexOf(wt),1)},vt=(kt,wt,Kt)=>{$e.set(kt,wt);const Ct=ct[kt];if(Ct)for(const Ke of Ct)Ke(wt,Kt)},qt=()=>{if(!d.has($e)&&(d.set($e,[Ae,{},{},{},Ue,vt,At]),!Q)){const kt=Pe.initFocus(setTimeout.bind(a,Ie.bind(a,Ae,ae))),wt=Pe.initReconnect(setTimeout.bind(a,Ie.bind(a,Ae,X)));_e=()=>{kt&&kt(),wt&&wt(),d.delete($e)}}};return qt(),[$e,Ue,qt,_e]}return[$e,d.get($e)[4]]},nt=($e,we,Pe,Ae,Ue)=>{const _e=Pe.errorRetryCount,ct=Ue.retryCount,At=~~((Math.random()+.5)*(1<<(ct<8?ct:8)))*Pe.errorRetryInterval;!c(_e)&&ct>_e||setTimeout(Ae,At,Ue)},pt=($e,we)=>m($e)==m(we),[Qe,ot]=Ze(new Map),it=l({onLoadingSlow:o,onSuccess:o,onError:o,onErrorRetry:nt,onDiscarded:o,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:I?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:I?5e3:3e3,compare:pt,isPaused:()=>!1,cache:Qe,mutate:ot,fallback:{}},ee),le=($e,we)=>{const Pe=l($e,we);if(we){const{use:Ae,fallback:Ue}=$e,{use:_e,fallback:ct}=we;Ae&&_e&&(Pe.use=Ae.concat(_e)),Ue&&ct&&(Pe.fallback=l(Ue,ct))}return Pe},Z=(0,t.createContext)({}),O=$e=>{const{value:we}=$e,Pe=(0,t.useContext)(Z),Ae=u(we),Ue=(0,t.useMemo)(()=>Ae?we(Pe):we,[Ae,Pe,we]),_e=(0,t.useMemo)(()=>Ae?Ue:le(Pe,Ue),[Ae,Pe,Ue]),ct=Ue&&Ue.provider,At=(0,t.useRef)(a);ct&&!At.current&&(At.current=Ze(ct(_e.cache||Qe),Ue));const vt=At.current;return vt&&(_e.cache=vt[0],_e.mutate=vt[1]),L(()=>{if(vt)return vt[2]&&vt[2](),vt[3]},[]),(0,t.createElement)(Z.Provider,l($e,{value:_e}))},A="$inf$",W=x&&window.__SWR_DEVTOOLS_USE__,V=W?window.__SWR_DEVTOOLS_USE__:[],J=()=>{W&&(window.__SWR_DEVTOOLS_REACT__=t)},ue=$e=>u($e[1])?[$e[0],$e[1],$e[2]||{}]:[$e[0],null,($e[1]===null?$e[2]:$e[1])||{}],_=()=>l(it,(0,t.useContext)(Z)),K=($e,we)=>{const[Pe,Ae]=M($e),[,,,Ue]=d.get(Qe);if(Ue[Pe])return Ue[Pe];const _e=we(Ae);return Ue[Pe]=_e,_e},se=$e=>(we,Pe,Ae)=>$e(we,Pe&&((..._e)=>{const[ct]=M(we),[,,,At]=d.get(Qe);if(ct.startsWith(A))return Pe(..._e);const vt=At[ct];return c(vt)?Pe(..._e):(delete At[ct],vt)}),Ae),pe=V.concat(se),de=$e=>function(...Pe){const Ae=_(),[Ue,_e,ct]=ue(Pe),At=le(Ae,ct);let vt=$e;const{use:qt}=At,kt=(qt||[]).concat(pe);for(let wt=kt.length;wt--;)vt=kt[wt](vt);return vt(Ue,_e||At.fetcher||null,At)},Ne=($e,we,Pe)=>{const Ae=we[$e]||(we[$e]=[]);return Ae.push(Pe),()=>{const Ue=Ae.indexOf(Pe);Ue>=0&&(Ae[Ue]=Ae[Ae.length-1],Ae.pop())}},at=($e,we)=>(...Pe)=>{const[Ae,Ue,_e]=ue(Pe),ct=(_e.use||[]).concat(we);return $e(Ae,Ue,Xc(Gl({},_e),{use:ct}))};J();const Ce=$e=>serialize($e)[0],xe=t.use||($e=>{if($e.status==="pending")throw $e;if($e.status==="fulfilled")return $e.value;throw $e.status==="rejected"?$e.reason:($e.status="pending",$e.then(we=>{$e.status="fulfilled",$e.value=we},we=>{$e.status="rejected",$e.reason=we}),$e)}),D={dedupe:!0},ie=($e,we,Pe)=>{const{cache:Ae,compare:Ue,suspense:_e,fallbackData:ct,revalidateOnMount:At,revalidateIfStale:vt,refreshInterval:qt,refreshWhenHidden:kt,refreshWhenOffline:wt,keepPreviousData:Kt}=Pe,[Ct,Ke,Et,Ut]=d.get(Ae),[gt,cn]=M($e),Ft=(0,t.useRef)(!1),en=(0,t.useRef)(!1),Yt=(0,t.useRef)(gt),dn=(0,t.useRef)(we),pn=(0,t.useRef)(Pe),rn=()=>pn.current,On=()=>rn().isVisible()&&rn().isOnline(),[An,Jn,Rr,er]=j(Ae,gt),ut=(0,t.useRef)({}).current,Je=c(ct)?Pe.fallback[gt]:ct,ke=(qe,xt)=>{for(const Bt in ut){const bt=Bt;if(bt==="data"){if(!Ue(qe[bt],xt[bt])&&(!c(qe[bt])||!Ue(ir,xt[bt])))return!1}else if(xt[bt]!==qe[bt])return!1}return!0},Jt=(0,t.useMemo)(()=>{const qe=(()=>!gt||!we?!1:c(At)?rn().isPaused()||_e?!1:c(vt)?!0:vt:At)(),xt=Dn=>{const Gn=l(Dn);return delete Gn._k,qe?Gl({isValidating:!0,isLoading:!0},Gn):Gn},Bt=An(),bt=er(),zt=xt(Bt),Vt=Bt===bt?zt:xt(bt);let nn=zt;return[()=>{const Dn=xt(An());return ke(Dn,nn)?(nn.data=Dn.data,nn.isLoading=Dn.isLoading,nn.isValidating=Dn.isValidating,nn.error=Dn.error,nn):(nn=Dn,Dn)},()=>Vt]},[Ae,gt]),ht=(0,r.useSyncExternalStore)((0,t.useCallback)(qe=>Rr(gt,(xt,Bt)=>{ke(Bt,xt)||qe()}),[Ae,gt]),Jt[0],Jt[1]),un=!Ft.current,Tn=Ct[gt]&&Ct[gt].length>0,Un=ht.data,rr=c(Un)?Je:Un,or=ht.error,fr=(0,t.useRef)(rr),ir=Kt?c(Un)?fr.current:Un:rr,gr=(()=>Tn&&!c(or)?!1:un&&!c(At)?At:rn().isPaused()?!1:_e?c(rr)?!1:vt:c(rr)||vt)(),sr=!!(gt&&we&&un&&gr),fn=c(ht.isValidating)?sr:ht.isValidating,tr=c(ht.isLoading)?sr:ht.isLoading,gn=(0,t.useCallback)(qe=>Lu(this,null,function*(){const xt=dn.current;if(!gt||!xt||en.current||rn().isPaused())return!1;let Bt,bt,zt=!0;const Vt=qe||{},nn=!Et[gt]||!Vt.dedupe,Dn=()=>ne?!en.current&>===Yt.current&&Ft.current:gt===Yt.current,Gn={isValidating:!1,isLoading:!1},Vn=()=>{Jn(Gn)},Fn=()=>{const Bn=Et[gt];Bn&&Bn[1]===bt&&delete Et[gt]},mn={isValidating:!0};c(An().data)&&(mn.isLoading=!0);try{if(nn&&(Jn(mn),Pe.loadingTimeout&&c(An().data)&&setTimeout(()=>{zt&&Dn()&&rn().onLoadingSlow(gt,Pe)},Pe.loadingTimeout),Et[gt]=[xt(cn),H()]),[Bt,bt]=Et[gt],Bt=yield Bt,nn&&setTimeout(Fn,Pe.dedupingInterval),!Et[gt]||Et[gt][1]!==bt)return nn&&Dn()&&rn().onDiscarded(gt),!1;Gn.error=a;const Bn=Ke[gt];if(!c(Bn)&&(bt<=Bn[0]||bt<=Bn[1]||Bn[1]===0))return Vn(),nn&&Dn()&&rn().onDiscarded(gt),!1;const Mn=An().data;Gn.data=Ue(Mn,Bt)?Mn:Bt,nn&&Dn()&&rn().onSuccess(Bt,gt,Pe)}catch(Bn){Fn();const Mn=rn(),{shouldRetryOnError:jr}=Mn;Mn.isPaused()||(Gn.error=Bn,nn&&Dn()&&(Mn.onError(Bn,gt,Mn),(jr===!0||u(jr)&&jr(Bn))&&(!rn().revalidateOnFocus||!rn().revalidateOnReconnect||On())&&Mn.onErrorRetry(Bn,gt,Mn,De=>{const Te=Ct[gt];Te&&Te[0]&&Te[0](he.ERROR_REVALIDATE_EVENT,De)},{retryCount:(Vt.retryCount||0)+1,dedupe:!0})))}return zt=!1,Vn(),!0}),[gt,Ae]),an=(0,t.useCallback)((...qe)=>Re(Ae,Yt.current,...qe),[]);if(L(()=>{dn.current=we,pn.current=Pe,c(Un)||(fr.current=Un)}),L(()=>{if(!gt)return;const qe=gn.bind(a,D);let xt=0;const bt=Ne(gt,Ct,(zt,Vt={})=>{if(zt==he.FOCUS_EVENT){const nn=Date.now();rn().revalidateOnFocus&&nn>xt&&On()&&(xt=nn+rn().focusThrottleInterval,qe())}else if(zt==he.RECONNECT_EVENT)rn().revalidateOnReconnect&&On()&&qe();else{if(zt==he.MUTATE_EVENT)return gn();if(zt==he.ERROR_REVALIDATE_EVENT)return gn(Vt)}});return en.current=!1,Yt.current=gt,Ft.current=!0,Jn({_k:cn}),gr&&(c(rr)||Q?qe():q(qe)),()=>{en.current=!0,bt()}},[gt]),L(()=>{let qe;function xt(){const bt=u(qt)?qt(An().data):qt;bt&&qe!==-1&&(qe=setTimeout(Bt,bt))}function Bt(){!An().error&&(kt||rn().isVisible())&&(wt||rn().isOnline())?gn(D).then(xt):xt()}return xt(),()=>{qe&&(clearTimeout(qe),qe=-1)}},[qt,kt,wt,gt]),(0,t.useDebugValue)(ir),_e&&c(rr)&>){if(!ne&&Q)throw new Error("Fallback data is required when using suspense in SSR.");dn.current=we,pn.current=Pe,en.current=!1;const qe=Ut[gt];if(!c(qe)){const xt=an(qe);xe(xt)}if(c(or)){const xt=gn(D);c(ir)||(xt.status="fulfilled",xt.value=!0),xe(xt)}else throw or}return{mutate:an,get data(){return ut.data=!0,ir},get error(){return ut.error=!0,or},get isValidating(){return ut.isValidating=!0,fn},get isLoading(){return ut.isLoading=!0,tr}}},We=s.defineProperty(O,"defaultValue",{value:it}),Fe=de(ie)}},Ho={};function be(v){var g=Ho[v];if(g!==void 0)return g.exports;var e=Ho[v]={id:v,loaded:!1,exports:{}};return di[v].call(e.exports,e,e.exports,be),e.loaded=!0,e.exports}be.m=di,function(){be.n=function(v){var g=v&&v.__esModule?function(){return v.default}:function(){return v};return be.d(g,{a:g}),g}}(),function(){var v=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},g;be.t=function(e,t){if(t&1&&(e=this(e)),t&8||typeof e=="object"&&e&&(t&4&&e.__esModule||t&16&&typeof e.then=="function"))return e;var r=Object.create(null);be.r(r);var o={};g=g||[null,v({}),v([]),v(v)];for(var a=t&2&&e;typeof a=="object"&&!~g.indexOf(a);a=v(a))Object.getOwnPropertyNames(a).forEach(function(s){o[s]=function(){return e[s]}});return o.default=function(){return e},be.d(r,o),r}}(),function(){be.d=function(v,g){for(var e in g)be.o(g,e)&&!be.o(v,e)&&Object.defineProperty(v,e,{enumerable:!0,get:g[e]})}}(),function(){be.f={},be.e=function(v){return Promise.all(Object.keys(be.f).reduce(function(g,e){return be.f[e](v,g),g},[]))}}(),function(){be.u=function(v){return""+({185:"p__Welcome",190:"p__MoneyManagement",301:"t__plugin-layout__Layout",366:"p__User__Login__index",371:"p__DeviceOwnerApp",455:"p__SuperAdmin",526:"p__Proxy__ProxyUserManagement",542:"p__AdvRecordListV2",557:"p__Bind",571:"p__404",731:"p__App__AppManagement",816:"p__AdminManagement",857:"p__AdvRecordList",903:"p__UserManagement",990:"p__Proxy__ProxyAdvRecordListV2"}[v]||v)+"."+{134:"6fc81d91",169:"57647c7d",185:"61596037",190:"6438f0bb",301:"4594a64b",366:"9d3ab92e",371:"c61abcd9",390:"41467286",393:"38316f72",397:"fb5f72c1",455:"579fe948",526:"9b5c45a4",531:"35af34f5",539:"290aefb9",542:"185cc304",557:"b6ee068f",559:"016bfdbb",571:"0c100574",635:"20e45f05",731:"c08f72ac",761:"f7bbde11",816:"3439b2cb",841:"614ef4c0",857:"fc092f59",903:"98f62b33",905:"6e225d1b",930:"fca7adbf",931:"c2d40e0b",971:"677bb358",990:"8a4ba9c6"}[v]+".async.js"}}(),function(){be.miniCssF=function(v){return"t__plugin-layout__Layout.6cae69f5.chunk.css"}}(),function(){be.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(v){if(typeof window=="object")return window}}()}(),function(){be.o=function(v,g){return Object.prototype.hasOwnProperty.call(v,g)}}(),function(){var v={},g="ant-design-pro:";be.l=function(e,t,r,o){if(v[e]){v[e].push(t);return}var a,s;if(r!==void 0)for(var c=document.getElementsByTagName("script"),u=0;u=0)&&(s[u]=o[u]);return s}function r(o,a){if(o==null)return{};var s=t(o,a),c,u;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(o);for(u=0;u=0)&&Object.prototype.propertyIsEnumerable.call(o,c)&&(s[c]=o[c])}return s}},81758:function(v,g,e){"use strict";e.d(g,{J$:function(){return We},ZP:function(){return Fe},kY:function(){return _}});var t=e(67294),r=e(61688);const o=()=>{},a=o(),s=Object,c=$e=>$e===a,u=$e=>typeof $e=="function",l=($e,we)=>Gl(Gl({},$e),we),f=$e=>u($e.then),p=new WeakMap;let y=0;const m=$e=>{const we=typeof $e,Pe=$e&&$e.constructor,Ae=Pe==Date;let Ue,_e;if(s($e)===$e&&!Ae&&Pe!=RegExp){if(Ue=p.get($e),Ue)return Ue;if(Ue=++y+"~",p.set($e,Ue),Pe==Array){for(Ue="@",_e=0;_e<$e.length;_e++)Ue+=m($e[_e])+",";p.set($e,Ue)}if(Pe==s){Ue="#";const ct=s.keys($e).sort();for(;!c(_e=ct.pop());)c($e[_e])||(Ue+=_e+":"+m($e[_e])+",");p.set($e,Ue)}}else Ue=Ae?$e.toJSON():we=="symbol"?$e.toString():we=="string"?JSON.stringify($e):""+$e;return Ue},d=new WeakMap,b={},C={},S="undefined",x=typeof window!=S,T=typeof document!=S,w=()=>x&&typeof window.requestAnimationFrame!=S,j=($e,we)=>{const Pe=d.get($e);return[()=>!c(we)&&$e.get(we)||b,Ae=>{if(!c(we)){const Ue=$e.get(we);we in C||(C[we]=Ue),Pe[5](we,l(Ue,Ae),Ue||b)}},Pe[6],()=>!c(we)&&we in C?C[we]:!c(we)&&$e.get(we)||b]};let E=!0;const $=()=>E,[N,oe]=x&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[o,o],z=()=>{const $e=T&&document.visibilityState;return c($e)||$e!=="hidden"},Y=$e=>(T&&document.addEventListener("visibilitychange",$e),N("focus",$e),()=>{T&&document.removeEventListener("visibilitychange",$e),oe("focus",$e)}),te=$e=>{const we=()=>{E=!0,$e()},Pe=()=>{E=!1};return N("online",we),N("offline",Pe),()=>{oe("online",we),oe("offline",Pe)}},ee={isOnline:$,isVisible:z},B={initFocus:Y,initReconnect:te},ne=!t.useId,Q=!x||"Deno"in window,q=$e=>w()?window.requestAnimationFrame($e):setTimeout($e,1),L=Q?t.useEffect:t.useLayoutEffect,F=typeof navigator!="undefined"&&navigator.connection,I=!Q&&F&&(["slow-2g","2g"].includes(F.effectiveType)||F.saveData),M=$e=>{if(u($e))try{$e=$e()}catch(Pe){$e=""}const we=$e;return $e=typeof $e=="string"?$e:(Array.isArray($e)?$e.length:$e)?m($e):"",[$e,we]};let R=0;const H=()=>++R,ae=0,X=1,G=2;var he={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:ae,MUTATE_EVENT:G,RECONNECT_EVENT:X};function Re(...$e){return Lu(this,null,function*(){const[we,Pe,Ae,Ue]=$e,_e=l({populateCache:!0,throwOnError:!0},typeof Ue=="boolean"?{revalidate:Ue}:Ue||{});let ct=_e.populateCache;const At=_e.rollbackOnError;let vt=_e.optimisticData;const qt=Kt=>typeof At=="function"?At(Kt):At!==!1,kt=_e.throwOnError;if(u(Pe)){const Kt=Pe,Ct=[],Ke=we.keys();for(const Et of Ke)!/^\$(inf|sub)\$/.test(Et)&&Kt(we.get(Et)._k)&&Ct.push(Et);return Promise.all(Ct.map(wt))}return wt(Pe);function wt(Kt){return Lu(this,null,function*(){const[Ct]=M(Kt);if(!Ct)return;const[Ke,Et]=j(we,Ct),[Ut,gt,cn,Ft]=d.get(we),en=()=>{const er=Ut[Ct];return(u(_e.revalidate)?_e.revalidate(Ke().data,Kt):_e.revalidate!==!1)&&(delete cn[Ct],delete Ft[Ct],er&&er[0])?er[0](G).then(()=>Ke().data):Ke().data};if($e.length<3)return en();let Yt=Ae,dn;const pn=H();gt[Ct]=[pn,0];const rn=!c(vt),On=Ke(),An=On.data,Jn=On._c,Rr=c(Jn)?An:Jn;if(rn&&(vt=u(vt)?vt(Rr,An):vt,Et({data:vt,_c:Rr})),u(Yt))try{Yt=Yt(Rr)}catch(er){dn=er}if(Yt&&f(Yt))if(Yt=yield Yt.catch(er=>{dn=er}),pn!==gt[Ct][0]){if(dn)throw dn;return Yt}else dn&&rn&&qt(dn)&&(ct=!0,Et({data:Rr,_c:a}));if(ct&&!dn)if(u(ct)){const er=ct(Yt,Rr);Et({data:er,error:a,_c:a})}else Et({data:Yt,error:a,_c:a});if(gt[Ct][1]=H(),Promise.resolve(en()).then(()=>{Et({_c:a})}),dn){if(kt)throw dn;return}return Yt})}})}const Ie=($e,we)=>{for(const Pe in $e)$e[Pe][0]&&$e[Pe][0](we)},Ze=($e,we)=>{if(!d.has($e)){const Pe=l(B,we),Ae={},Ue=Re.bind(a,$e);let _e=o;const ct={},At=(kt,wt)=>{const Kt=ct[kt]||[];return ct[kt]=Kt,Kt.push(wt),()=>Kt.splice(Kt.indexOf(wt),1)},vt=(kt,wt,Kt)=>{$e.set(kt,wt);const Ct=ct[kt];if(Ct)for(const Ke of Ct)Ke(wt,Kt)},qt=()=>{if(!d.has($e)&&(d.set($e,[Ae,{},{},{},Ue,vt,At]),!Q)){const kt=Pe.initFocus(setTimeout.bind(a,Ie.bind(a,Ae,ae))),wt=Pe.initReconnect(setTimeout.bind(a,Ie.bind(a,Ae,X)));_e=()=>{kt&&kt(),wt&&wt(),d.delete($e)}}};return qt(),[$e,Ue,qt,_e]}return[$e,d.get($e)[4]]},nt=($e,we,Pe,Ae,Ue)=>{const _e=Pe.errorRetryCount,ct=Ue.retryCount,At=~~((Math.random()+.5)*(1<<(ct<8?ct:8)))*Pe.errorRetryInterval;!c(_e)&&ct>_e||setTimeout(Ae,At,Ue)},pt=($e,we)=>m($e)==m(we),[Qe,ot]=Ze(new Map),it=l({onLoadingSlow:o,onSuccess:o,onError:o,onErrorRetry:nt,onDiscarded:o,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:I?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:I?5e3:3e3,compare:pt,isPaused:()=>!1,cache:Qe,mutate:ot,fallback:{}},ee),le=($e,we)=>{const Pe=l($e,we);if(we){const{use:Ae,fallback:Ue}=$e,{use:_e,fallback:ct}=we;Ae&&_e&&(Pe.use=Ae.concat(_e)),Ue&&ct&&(Pe.fallback=l(Ue,ct))}return Pe},Z=(0,t.createContext)({}),O=$e=>{const{value:we}=$e,Pe=(0,t.useContext)(Z),Ae=u(we),Ue=(0,t.useMemo)(()=>Ae?we(Pe):we,[Ae,Pe,we]),_e=(0,t.useMemo)(()=>Ae?Ue:le(Pe,Ue),[Ae,Pe,Ue]),ct=Ue&&Ue.provider,At=(0,t.useRef)(a);ct&&!At.current&&(At.current=Ze(ct(_e.cache||Qe),Ue));const vt=At.current;return vt&&(_e.cache=vt[0],_e.mutate=vt[1]),L(()=>{if(vt)return vt[2]&&vt[2](),vt[3]},[]),(0,t.createElement)(Z.Provider,l($e,{value:_e}))},A="$inf$",W=x&&window.__SWR_DEVTOOLS_USE__,V=W?window.__SWR_DEVTOOLS_USE__:[],J=()=>{W&&(window.__SWR_DEVTOOLS_REACT__=t)},ue=$e=>u($e[1])?[$e[0],$e[1],$e[2]||{}]:[$e[0],null,($e[1]===null?$e[2]:$e[1])||{}],_=()=>l(it,(0,t.useContext)(Z)),K=($e,we)=>{const[Pe,Ae]=M($e),[,,,Ue]=d.get(Qe);if(Ue[Pe])return Ue[Pe];const _e=we(Ae);return Ue[Pe]=_e,_e},se=$e=>(we,Pe,Ae)=>$e(we,Pe&&((..._e)=>{const[ct]=M(we),[,,,At]=d.get(Qe);if(ct.startsWith(A))return Pe(..._e);const vt=At[ct];return c(vt)?Pe(..._e):(delete At[ct],vt)}),Ae),pe=V.concat(se),de=$e=>function(...Pe){const Ae=_(),[Ue,_e,ct]=ue(Pe),At=le(Ae,ct);let vt=$e;const{use:qt}=At,kt=(qt||[]).concat(pe);for(let wt=kt.length;wt--;)vt=kt[wt](vt);return vt(Ue,_e||At.fetcher||null,At)},Ne=($e,we,Pe)=>{const Ae=we[$e]||(we[$e]=[]);return Ae.push(Pe),()=>{const Ue=Ae.indexOf(Pe);Ue>=0&&(Ae[Ue]=Ae[Ae.length-1],Ae.pop())}},at=($e,we)=>(...Pe)=>{const[Ae,Ue,_e]=ue(Pe),ct=(_e.use||[]).concat(we);return $e(Ae,Ue,Xc(Gl({},_e),{use:ct}))};J();const Ce=$e=>serialize($e)[0],xe=t.use||($e=>{if($e.status==="pending")throw $e;if($e.status==="fulfilled")return $e.value;throw $e.status==="rejected"?$e.reason:($e.status="pending",$e.then(we=>{$e.status="fulfilled",$e.value=we},we=>{$e.status="rejected",$e.reason=we}),$e)}),D={dedupe:!0},ie=($e,we,Pe)=>{const{cache:Ae,compare:Ue,suspense:_e,fallbackData:ct,revalidateOnMount:At,revalidateIfStale:vt,refreshInterval:qt,refreshWhenHidden:kt,refreshWhenOffline:wt,keepPreviousData:Kt}=Pe,[Ct,Ke,Et,Ut]=d.get(Ae),[gt,cn]=M($e),Ft=(0,t.useRef)(!1),en=(0,t.useRef)(!1),Yt=(0,t.useRef)(gt),dn=(0,t.useRef)(we),pn=(0,t.useRef)(Pe),rn=()=>pn.current,On=()=>rn().isVisible()&&rn().isOnline(),[An,Jn,Rr,er]=j(Ae,gt),ut=(0,t.useRef)({}).current,Je=c(ct)?Pe.fallback[gt]:ct,ke=(qe,xt)=>{for(const Bt in ut){const bt=Bt;if(bt==="data"){if(!Ue(qe[bt],xt[bt])&&(!c(qe[bt])||!Ue(ir,xt[bt])))return!1}else if(xt[bt]!==qe[bt])return!1}return!0},Jt=(0,t.useMemo)(()=>{const qe=(()=>!gt||!we?!1:c(At)?rn().isPaused()||_e?!1:c(vt)?!0:vt:At)(),xt=Dn=>{const Gn=l(Dn);return delete Gn._k,qe?Gl({isValidating:!0,isLoading:!0},Gn):Gn},Bt=An(),bt=er(),zt=xt(Bt),Vt=Bt===bt?zt:xt(bt);let nn=zt;return[()=>{const Dn=xt(An());return ke(Dn,nn)?(nn.data=Dn.data,nn.isLoading=Dn.isLoading,nn.isValidating=Dn.isValidating,nn.error=Dn.error,nn):(nn=Dn,Dn)},()=>Vt]},[Ae,gt]),ht=(0,r.useSyncExternalStore)((0,t.useCallback)(qe=>Rr(gt,(xt,Bt)=>{ke(Bt,xt)||qe()}),[Ae,gt]),Jt[0],Jt[1]),un=!Ft.current,Tn=Ct[gt]&&Ct[gt].length>0,Un=ht.data,rr=c(Un)?Je:Un,or=ht.error,fr=(0,t.useRef)(rr),ir=Kt?c(Un)?fr.current:Un:rr,gr=(()=>Tn&&!c(or)?!1:un&&!c(At)?At:rn().isPaused()?!1:_e?c(rr)?!1:vt:c(rr)||vt)(),sr=!!(gt&&we&&un&&gr),fn=c(ht.isValidating)?sr:ht.isValidating,tr=c(ht.isLoading)?sr:ht.isLoading,gn=(0,t.useCallback)(qe=>Lu(this,null,function*(){const xt=dn.current;if(!gt||!xt||en.current||rn().isPaused())return!1;let Bt,bt,zt=!0;const Vt=qe||{},nn=!Et[gt]||!Vt.dedupe,Dn=()=>ne?!en.current&>===Yt.current&&Ft.current:gt===Yt.current,Gn={isValidating:!1,isLoading:!1},Vn=()=>{Jn(Gn)},Fn=()=>{const Bn=Et[gt];Bn&&Bn[1]===bt&&delete Et[gt]},mn={isValidating:!0};c(An().data)&&(mn.isLoading=!0);try{if(nn&&(Jn(mn),Pe.loadingTimeout&&c(An().data)&&setTimeout(()=>{zt&&Dn()&&rn().onLoadingSlow(gt,Pe)},Pe.loadingTimeout),Et[gt]=[xt(cn),H()]),[Bt,bt]=Et[gt],Bt=yield Bt,nn&&setTimeout(Fn,Pe.dedupingInterval),!Et[gt]||Et[gt][1]!==bt)return nn&&Dn()&&rn().onDiscarded(gt),!1;Gn.error=a;const Bn=Ke[gt];if(!c(Bn)&&(bt<=Bn[0]||bt<=Bn[1]||Bn[1]===0))return Vn(),nn&&Dn()&&rn().onDiscarded(gt),!1;const Mn=An().data;Gn.data=Ue(Mn,Bt)?Mn:Bt,nn&&Dn()&&rn().onSuccess(Bt,gt,Pe)}catch(Bn){Fn();const Mn=rn(),{shouldRetryOnError:jr}=Mn;Mn.isPaused()||(Gn.error=Bn,nn&&Dn()&&(Mn.onError(Bn,gt,Mn),(jr===!0||u(jr)&&jr(Bn))&&(!rn().revalidateOnFocus||!rn().revalidateOnReconnect||On())&&Mn.onErrorRetry(Bn,gt,Mn,De=>{const Te=Ct[gt];Te&&Te[0]&&Te[0](he.ERROR_REVALIDATE_EVENT,De)},{retryCount:(Vt.retryCount||0)+1,dedupe:!0})))}return zt=!1,Vn(),!0}),[gt,Ae]),an=(0,t.useCallback)((...qe)=>Re(Ae,Yt.current,...qe),[]);if(L(()=>{dn.current=we,pn.current=Pe,c(Un)||(fr.current=Un)}),L(()=>{if(!gt)return;const qe=gn.bind(a,D);let xt=0;const bt=Ne(gt,Ct,(zt,Vt={})=>{if(zt==he.FOCUS_EVENT){const nn=Date.now();rn().revalidateOnFocus&&nn>xt&&On()&&(xt=nn+rn().focusThrottleInterval,qe())}else if(zt==he.RECONNECT_EVENT)rn().revalidateOnReconnect&&On()&&qe();else{if(zt==he.MUTATE_EVENT)return gn();if(zt==he.ERROR_REVALIDATE_EVENT)return gn(Vt)}});return en.current=!1,Yt.current=gt,Ft.current=!0,Jn({_k:cn}),gr&&(c(rr)||Q?qe():q(qe)),()=>{en.current=!0,bt()}},[gt]),L(()=>{let qe;function xt(){const bt=u(qt)?qt(An().data):qt;bt&&qe!==-1&&(qe=setTimeout(Bt,bt))}function Bt(){!An().error&&(kt||rn().isVisible())&&(wt||rn().isOnline())?gn(D).then(xt):xt()}return xt(),()=>{qe&&(clearTimeout(qe),qe=-1)}},[qt,kt,wt,gt]),(0,t.useDebugValue)(ir),_e&&c(rr)&>){if(!ne&&Q)throw new Error("Fallback data is required when using suspense in SSR.");dn.current=we,pn.current=Pe,en.current=!1;const qe=Ut[gt];if(!c(qe)){const xt=an(qe);xe(xt)}if(c(or)){const xt=gn(D);c(ir)||(xt.status="fulfilled",xt.value=!0),xe(xt)}else throw or}return{mutate:an,get data(){return ut.data=!0,ir},get error(){return ut.error=!0,or},get isValidating(){return ut.isValidating=!0,fn},get isLoading(){return ut.isLoading=!0,tr}}},We=s.defineProperty(O,"defaultValue",{value:it}),Fe=de(ie)}},Ho={};function be(v){var g=Ho[v];if(g!==void 0)return g.exports;var e=Ho[v]={id:v,loaded:!1,exports:{}};return di[v].call(e.exports,e,e.exports,be),e.loaded=!0,e.exports}be.m=di,function(){be.n=function(v){var g=v&&v.__esModule?function(){return v.default}:function(){return v};return be.d(g,{a:g}),g}}(),function(){var v=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},g;be.t=function(e,t){if(t&1&&(e=this(e)),t&8||typeof e=="object"&&e&&(t&4&&e.__esModule||t&16&&typeof e.then=="function"))return e;var r=Object.create(null);be.r(r);var o={};g=g||[null,v({}),v([]),v(v)];for(var a=t&2&&e;typeof a=="object"&&!~g.indexOf(a);a=v(a))Object.getOwnPropertyNames(a).forEach(function(s){o[s]=function(){return e[s]}});return o.default=function(){return e},be.d(r,o),r}}(),function(){be.d=function(v,g){for(var e in g)be.o(g,e)&&!be.o(v,e)&&Object.defineProperty(v,e,{enumerable:!0,get:g[e]})}}(),function(){be.f={},be.e=function(v){return Promise.all(Object.keys(be.f).reduce(function(g,e){return be.f[e](v,g),g},[]))}}(),function(){be.u=function(v){return""+({185:"p__Welcome",190:"p__MoneyManagement",301:"t__plugin-layout__Layout",366:"p__User__Login__index",371:"p__DeviceOwnerApp",455:"p__SuperAdmin",526:"p__Proxy__ProxyUserManagement",542:"p__AdvRecordListV2",557:"p__Bind",571:"p__404",731:"p__App__AppManagement",816:"p__AdminManagement",857:"p__AdvRecordList",903:"p__UserManagement",990:"p__Proxy__ProxyAdvRecordListV2"}[v]||v)+"."+{15:"a664eb81",134:"6fc81d91",169:"57647c7d",185:"61596037",190:"4138f9c6",301:"4594a64b",366:"9d3ab92e",371:"c61abcd9",390:"41467286",393:"38316f72",397:"fb5f72c1",455:"dec1a716",526:"3e781dae",531:"35af34f5",539:"290aefb9",542:"93e34297",557:"b6ee068f",559:"016bfdbb",571:"0c100574",635:"8a884f26",731:"6464403a",761:"f7bbde11",816:"22b52ba3",841:"614ef4c0",857:"fc092f59",903:"0ef1f876",905:"6e225d1b",930:"fca7adbf",931:"c2d40e0b",990:"20a0f4c8"}[v]+".async.js"}}(),function(){be.miniCssF=function(v){return"t__plugin-layout__Layout.6cae69f5.chunk.css"}}(),function(){be.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(v){if(typeof window=="object")return window}}()}(),function(){be.o=function(v,g){return Object.prototype.hasOwnProperty.call(v,g)}}(),function(){var v={},g="ant-design-pro:";be.l=function(e,t,r,o){if(v[e]){v[e].push(t);return}var a,s;if(r!==void 0)for(var c=document.getElementsByTagName("script"),u=0;uqn.length)&&(Yn=qn.length);for(var ye=0,je=new Array(Yn);ye0&&arguments[0]!==void 0?arguments[0]:"";return qn.endsWith("/")?qn:"".concat(qn,"/")}var Na=be(49647),Ga=be(58096),ka=da.createContext(void 0);function no(){return da.useContext(ka)}var bo=["redirect"];function Ro(qn){var Yn=qn.routesById,ye=qn.parentId,je=qn.routeComponents;return Object.keys(Yn).filter(function(k){return Yn[k].parentId===ye}).map(function(k){var lt=Ni(Hr({route:Yn[k],routeComponent:je[k],loadingComponent:qn.loadingComponent,reactRouter5Compat:qn.reactRouter5Compat},qn.reactRouter5Compat&&{hasChildren:Object.keys(Yn).filter(function(Pn){return Yn[Pn].parentId===k}).length>0})),Ot=Ro({routesById:Yn,routeComponents:je,parentId:lt.id,loadingComponent:qn.loadingComponent,reactRouter5Compat:qn.reactRouter5Compat});return Ot.length>0&&(lt.children=Ot,lt.routes=Ot),lt})}function mo(qn){var Yn=(0,Za.UO)(),ye=(0,Za.Gn)(qn.to,Yn),je=(0,so.T$)(),k=(0,Za.TH)();if(je!=null&&je.keepQuery){var lt=k.search+k.hash;ye+=lt}var Ot=Hr(Hr({},qn),{},{to:ye});return da.createElement(Za.Fg,(0,Ga.Z)({replace:!0},Ot))}function Ni(qn){var Yn=qn.route,ye=Yn.redirect,je=(0,Na.Z)(Yn,bo),k=qn.reactRouter5Compat?Ei:Qi;return Hr({element:ye?da.createElement(mo,{to:ye}):da.createElement(ka.Provider,{value:{route:qn.route}},da.createElement(k,{loader:da.memo(qn.routeComponent),loadingComponent:qn.loadingComponent||Ci,hasChildren:qn.hasChildren}))},je)}function Ci(){return da.createElement("div",null)}function Ei(qn){var Yn=no(),ye=Yn.route,je=(0,so.Ov)(),k=je.history,lt=je.clientRoutes,Ot=(0,Za.UO)(),Pn={params:Ot,isExact:!0,path:ye.path,url:k.location.pathname},Qn=qn.loader;return da.createElement(da.Suspense,{fallback:da.createElement(qn.loadingComponent,null)},da.createElement(Qn,{location:k.location,match:Pn,history:k,params:Ot,route:ye,routes:lt},qn.hasChildren&&da.createElement(Za.j3,null)))}function Qi(qn){var Yn=qn.loader;return da.createElement(da.Suspense,{fallback:da.createElement(qn.loadingComponent,null)},da.createElement(Yn,null))}var Ji=null;function Hs(){return Ji}function Ps(qn){var Yn=qn.history,ye=da.useState({action:Yn.action,location:Yn.location}),je=Yo(ye,2),k=je[0],lt=je[1];return(0,da.useLayoutEffect)(function(){return Yn.listen(lt)},[Yn]),(0,da.useLayoutEffect)(function(){function Ot(Pn){qn.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:qn.routes,clientRoutes:qn.clientRoutes,location:Pn.location,action:Pn.action,basename:qn.basename,isFirst:!!Pn.isFirst}})}return Ot({location:k.location,action:k.action,isFirst:!0}),Yn.listen(Ot)},[Yn,qn.routes,qn.clientRoutes]),da.createElement(Za.F0,{navigator:Yn,location:k.location,basename:qn.basename},qn.children)}function Os(){var qn=(0,so.Ov)(),Yn=qn.clientRoutes;return(0,Za.V$)(Yn)}var Oe=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],Se=function(Yn,ye){var je=Yn.basename||"/",k=Ro({routesById:Yn.routes,routeComponents:Yn.routeComponents,loadingComponent:Yn.loadingComponent,reactRouter5Compat:Yn.reactRouter5Compat});Yn.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:k}});for(var lt=da.createElement(Ps,{basename:je,pluginManager:Yn.pluginManager,routes:Yn.routes,clientRoutes:k,history:Yn.history},ye),Ot=0,Pn=Oe;Ot0&&arguments[0]!==void 0?arguments[0]:"";return qn.endsWith("/")?qn:"".concat(qn,"/")}var Na=be(49647),Ga=be(58096),ka=da.createContext(void 0);function no(){return da.useContext(ka)}var bo=["redirect"];function Ro(qn){var Yn=qn.routesById,ye=qn.parentId,je=qn.routeComponents;return Object.keys(Yn).filter(function(k){return Yn[k].parentId===ye}).map(function(k){var lt=Ni(Hr({route:Yn[k],routeComponent:je[k],loadingComponent:qn.loadingComponent,reactRouter5Compat:qn.reactRouter5Compat},qn.reactRouter5Compat&&{hasChildren:Object.keys(Yn).filter(function(Pn){return Yn[Pn].parentId===k}).length>0})),Ot=Ro({routesById:Yn,routeComponents:je,parentId:lt.id,loadingComponent:qn.loadingComponent,reactRouter5Compat:qn.reactRouter5Compat});return Ot.length>0&&(lt.children=Ot,lt.routes=Ot),lt})}function mo(qn){var Yn=(0,Za.UO)(),ye=(0,Za.Gn)(qn.to,Yn),je=(0,so.T$)(),k=(0,Za.TH)();if(je!=null&&je.keepQuery){var lt=k.search+k.hash;ye+=lt}var Ot=Hr(Hr({},qn),{},{to:ye});return da.createElement(Za.Fg,(0,Ga.Z)({replace:!0},Ot))}function Ni(qn){var Yn=qn.route,ye=Yn.redirect,je=(0,Na.Z)(Yn,bo),k=qn.reactRouter5Compat?Ei:Qi;return Hr({element:ye?da.createElement(mo,{to:ye}):da.createElement(ka.Provider,{value:{route:qn.route}},da.createElement(k,{loader:da.memo(qn.routeComponent),loadingComponent:qn.loadingComponent||Ci,hasChildren:qn.hasChildren}))},je)}function Ci(){return da.createElement("div",null)}function Ei(qn){var Yn=no(),ye=Yn.route,je=(0,so.Ov)(),k=je.history,lt=je.clientRoutes,Ot=(0,Za.UO)(),Pn={params:Ot,isExact:!0,path:ye.path,url:k.location.pathname},Qn=qn.loader;return da.createElement(da.Suspense,{fallback:da.createElement(qn.loadingComponent,null)},da.createElement(Qn,{location:k.location,match:Pn,history:k,params:Ot,route:ye,routes:lt},qn.hasChildren&&da.createElement(Za.j3,null)))}function Qi(qn){var Yn=qn.loader;return da.createElement(da.Suspense,{fallback:da.createElement(qn.loadingComponent,null)},da.createElement(Yn,null))}var Ji=null;function Hs(){return Ji}function Ps(qn){var Yn=qn.history,ye=da.useState({action:Yn.action,location:Yn.location}),je=Yo(ye,2),k=je[0],lt=je[1];return(0,da.useLayoutEffect)(function(){return Yn.listen(lt)},[Yn]),(0,da.useLayoutEffect)(function(){function Ot(Pn){qn.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:qn.routes,clientRoutes:qn.clientRoutes,location:Pn.location,action:Pn.action,basename:qn.basename,isFirst:!!Pn.isFirst}})}return Ot({location:k.location,action:k.action,isFirst:!0}),Yn.listen(Ot)},[Yn,qn.routes,qn.clientRoutes]),da.createElement(Za.F0,{navigator:Yn,location:k.location,basename:qn.basename},qn.children)}function Os(){var qn=(0,so.Ov)(),Yn=qn.clientRoutes;return(0,Za.V$)(Yn)}var Oe=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],Se=function(Yn,ye){var je=Yn.basename||"/",k=Ro({routesById:Yn.routes,routeComponents:Yn.routeComponents,loadingComponent:Yn.loadingComponent,reactRouter5Compat:Yn.reactRouter5Compat});Yn.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:k}});for(var lt=da.createElement(Ps,{basename:je,pluginManager:Yn.pluginManager,routes:Yn.routes,clientRoutes:k,history:Yn.history},ye),Ot=0,Pn=Oe;Ot { + + + + + + ); diff --git a/src/pages/SuperAdmin/InnerUserManagement.tsx b/src/pages/SuperAdmin/InnerUserManagement.tsx new file mode 100644 index 0000000..a040230 --- /dev/null +++ b/src/pages/SuperAdmin/InnerUserManagement.tsx @@ -0,0 +1,172 @@ +import { innerUserList } from '@/services/matrix/superAdmin'; +import { SearchOutlined } from '@ant-design/icons'; +import { ProColumns, ProTable } from '@ant-design/pro-components'; +import { Button, Form, Input, InputNumber, Modal, Space } from 'antd'; +import { useEffect, useState } from 'react'; + +import { saveInnerUser } from '../../services/matrix/superAdmin'; +import UserInfo from '../User/UserInfo'; + +const InnerUserManagement = () => { + const [visible, setVisible] = useState(false); + + const [whiteUserArr, setWhiteUserArr] = useState([]); + const [filteredArr, setFilteredArr] = useState([]); + const [form] = Form.useForm(); + + const fetchApp = async () => { + const res = await innerUserList(); + if (res.data) { + setWhiteUserArr(res.data); + setFilteredArr(res.data); + } + }; + + const columns: ProColumns[] = [ + { + title: '应用名', + dataIndex: 'appName', + copyable: true, + hideInSearch: true, + filterDropdown: ({ setSelectedKeys, selectedKeys, confirm, clearFilters }) => ( +
+ setSelectedKeys(e.target.value ? [e.target.value] : [])} + onPressEnter={() => confirm()} + style={{ marginBottom: 8, display: 'block' }} + /> + + + + +
+ ), + onFilter: (value, record) => { + if (typeof value === 'string' && typeof record?.appName === 'string') { + return record.appName.includes(value); + } + return false; + }, + filterIcon: (filtered) => ( + + ), + }, + { + title: '用户', + dataIndex: 'user', + hideInSearch: true, + render: (_, r) => , + filterDropdown: ({ setSelectedKeys, selectedKeys, confirm, clearFilters }) => { + const selectedUserId = selectedKeys[0] ? String(selectedKeys[0]) : ''; + return ( +
+ setSelectedKeys(value ? [value] : [])} + onPressEnter={() => confirm()} + style={{ marginBottom: 8, display: 'block', width: 200 }} + /> + + + + +
+ ); + }, + onFilter: (value, record) => { + return record.user?.id === value; + }, + filterIcon: (filtered) => ( + + ), + }, + { + title: '创建时间', + hideInSearch: true, + dataIndex: 'createdAt', + valueType: 'dateTime', + }, + { + title: '修改时间', + hideInSearch: true, + dataIndex: 'updatedAt', + valueType: 'dateTime', + }, + ]; + + useEffect(() => { + fetchApp(); + }, []); + + return ( + <> + + + { + setFilteredArr(whiteUserArr); + }} + columns={columns} + dataSource={filteredArr} + /> + + { + form.submit(); + setVisible(false); + }} + onCancel={() => { + setVisible(false); + }} + > +
{ + if (userId) { + await saveInnerUser({ userId: userId }); + fetchApp(); + } + }} + > + + + +
+
+ + ); +}; + +export default InnerUserManagement; diff --git a/src/pages/SuperAdmin/MockScheduleManagement.tsx b/src/pages/SuperAdmin/MockScheduleManagement.tsx new file mode 100644 index 0000000..b64d533 --- /dev/null +++ b/src/pages/SuperAdmin/MockScheduleManagement.tsx @@ -0,0 +1,164 @@ +import { appList } from '@/services/matrix/admin'; +import { addScheduleV2, scheduleListV2 } from '@/services/matrix/superAdmin'; +import { formatIncome } from '@/utils/numberUtils'; +import { Button, DatePicker, Form, Input, Modal, Select, Table, Tag, message } from 'antd'; +import { ColumnsType } from 'antd/es/table'; +import moment, { Moment } from 'moment'; +import { useEffect, useState } from 'react'; + +const MockScheduleManagement = () => { + const [visible, setVisible] = useState(false); + const [appArr, setAppArr] = useState([]); + const [scheduleArr, setScheduleArr] = useState([]); + const [scheduleForm] = Form.useForm(); + + const fetchApp = async () => { + const res = await appList(); + if (res.data) { + setAppArr(res.data); + } + }; + + const getAppNameById = (appId: number) => { + const app = appArr.find((app) => app.id === appId); + return app ? app.name : ''; + }; + + const fetchScheduleList = async () => { + const res = await scheduleListV2(); + if (res.data) { + setScheduleArr(res.data); + } + }; + + const sColumns: ColumnsType = [ + { + title: '应用', + dataIndex: 'appId', + render: (appId) => ( + + {getAppNameById(appId)} + + ), + }, + { + title: '目标金额', + dataIndex: 'incomeYuan', + }, + { + title: '已刷金额', + dataIndex: 'mockIncome', + render: (r: number) => { + return formatIncome(r); + }, + }, + { + title: '开始时间', + dataIndex: 'scheduleTime', + render: (r: string) => { + return moment(r).format('YYYY-MM-DD HH:mm'); + }, + }, + { + title: '状态', + dataIndex: 'status', + render: (r: number) => { + switch (r) { + case 0: + return '未开始'; + case 1: + return '进行中'; + case 2: + return '已完成'; + } + return r; + }, + }, + { + title: '创建时间', + dataIndex: 'createdAt', + render: (r: string) => { + return moment(r).format('YYYY-MM-DD HH:mm'); + }, + }, + { + title: '更新时间', + dataIndex: 'updatedAt', + render: (r: string) => { + return moment(r).format('YYYY-MM-DD HH:mm'); + }, + }, + ]; + + useEffect(() => { + fetchApp(); + fetchScheduleList(); + }, []); + + const addScheduleTask = () => { + scheduleForm.resetFields(); // 重置表单字段 + setVisible(true); + }; + + return ( + <> +
+ + + + { + scheduleForm.submit(); + }} + onCancel={() => { + setVisible(false); + }} + > +
{ + const { scheduleTime, ...otherValues } = params; + if (!scheduleTime) { + message.error('请选择开始时间'); + return; + } + const timeStamps = scheduleTime.map((x: { time: Moment }) => { + return x.valueOf(); + }); + try { + await addScheduleV2({ scheduleTime: timeStamps, ...otherValues }); // 将时间戳作为参数传递给后端 + } catch { + return; + } + message.success('任务提交成功'); + fetchScheduleList(); + setVisible(false); + }} + > + + + + + + + + + + +
+ + + ); +}; + +export default MockScheduleManagement; diff --git a/src/services/matrix/index.ts b/src/services/matrix/index.ts index b227b37..3042b58 100644 --- a/src/services/matrix/index.ts +++ b/src/services/matrix/index.ts @@ -9,8 +9,8 @@ import * as matrixMoneyController from './matrixMoneyController'; import * as matrixUserController from './matrixUserController'; import * as superAdmin from './superAdmin'; export default { - superAdmin, matrixUserController, + superAdmin, admin, matrixMoneyController, device, diff --git a/src/services/matrix/superAdmin.ts b/src/services/matrix/superAdmin.ts index 51ad2f9..2c9fa98 100644 --- a/src/services/matrix/superAdmin.ts +++ b/src/services/matrix/superAdmin.ts @@ -2,17 +2,40 @@ /* eslint-disable */ import { request } from '@umijs/max'; -/** 此处后端没有提供注释 GET /api/superAdmin/evilAppList */ +/** 此处后端没有提供注释 POST /api/admin/superAdmin/addSchedule */ +export async function addScheduleV2( + body: API.AddMockScheduleReq, + options?: { [key: string]: any }, +) { + return request('/api/admin/superAdmin/addSchedule', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + +/** 此处后端没有提供注释 GET /api/admin/superAdmin/evilAppList */ export async function evilAppList(options?: { [key: string]: any }) { - return request('/api/superAdmin/evilAppList', { + return request('/api/admin/superAdmin/evilAppList', { + method: 'GET', + ...(options || {}), + }); +} + +/** 此处后端没有提供注释 GET /api/admin/superAdmin/innerUserList */ +export async function innerUserList(options?: { [key: string]: any }) { + return request('/api/admin/superAdmin/innerUserList', { method: 'GET', ...(options || {}), }); } -/** 此处后端没有提供注释 POST /api/superAdmin/saveEvilApp */ +/** 此处后端没有提供注释 POST /api/admin/superAdmin/saveEvilApp */ export async function saveEvilApp(body: API.MatrixEvilApp, options?: { [key: string]: any }) { - return request('/api/superAdmin/saveEvilApp', { + return request('/api/admin/superAdmin/saveEvilApp', { method: 'POST', headers: { 'Content-Type': 'application/json', @@ -22,13 +45,28 @@ export async function saveEvilApp(body: API.MatrixEvilApp, options?: { [key: str }); } -/** 此处后端没有提供注释 POST /api/superAdmin/saveWhiteUser */ +/** 此处后端没有提供注释 POST /api/admin/superAdmin/saveInnerUser */ +export async function saveInnerUser( + // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) + params: API.saveInnerUserParams, + options?: { [key: string]: any }, +) { + return request('/api/admin/superAdmin/saveInnerUser', { + method: 'POST', + params: { + ...params, + }, + ...(options || {}), + }); +} + +/** 此处后端没有提供注释 POST /api/admin/superAdmin/saveWhiteUser */ export async function saveWhiteUser( // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) params: API.saveWhiteUserParams, options?: { [key: string]: any }, ) { - return request('/api/superAdmin/saveWhiteUser', { + return request('/api/admin/superAdmin/saveWhiteUser', { method: 'POST', params: { ...params, @@ -37,13 +75,21 @@ export async function saveWhiteUser( }); } -/** 此处后端没有提供注释 POST /api/superAdmin/transfer */ +/** 此处后端没有提供注释 GET /api/admin/superAdmin/scheduleList */ +export async function scheduleListV2(options?: { [key: string]: any }) { + return request('/api/admin/superAdmin/scheduleList', { + method: 'GET', + ...(options || {}), + }); +} + +/** 此处后端没有提供注释 POST /api/admin/superAdmin/transfer */ export async function transfer( // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) params: API.transferParams, options?: { [key: string]: any }, ) { - return request('/api/superAdmin/transfer', { + return request('/api/admin/superAdmin/transfer', { method: 'POST', params: { ...params, @@ -52,9 +98,9 @@ export async function transfer( }); } -/** 此处后端没有提供注释 GET /api/superAdmin/whiteUserList */ +/** 此处后端没有提供注释 GET /api/admin/superAdmin/whiteUserList */ export async function whiteUserList(options?: { [key: string]: any }) { - return request('/api/superAdmin/whiteUserList', { + return request('/api/admin/superAdmin/whiteUserList', { method: 'GET', ...(options || {}), }); diff --git a/src/services/matrix/typings.d.ts b/src/services/matrix/typings.d.ts index 6f1b439..cb58ea0 100644 --- a/src/services/matrix/typings.d.ts +++ b/src/services/matrix/typings.d.ts @@ -271,6 +271,17 @@ declare namespace API { updatedAt?: string; }; + type MatrixMockScheduleV2 = { + id?: number; + appId?: number; + incomeYuan?: number; + mockIncome?: number; + status?: number; + scheduleTime?: string; + createdAt?: string; + updatedAt?: string; + }; + type MatrixWhiteDevice = { id?: number; deviceId?: string; @@ -403,6 +414,12 @@ declare namespace API { data?: MatrixMockSchedule[]; }; + type RListMatrixMockScheduleV2 = { + code?: number; + message?: string; + data?: MatrixMockScheduleV2[]; + }; + type RListMatrixWhiteDevice = { code?: number; message?: string; @@ -495,6 +512,10 @@ declare namespace API { adminId: number; }; + type saveInnerUserParams = { + userId: number; + }; + type saveNormalConfigParams = { appCode: string; };