From 49a39d1f155a82854f9c3296e3696fcfbbf1a051 Mon Sep 17 00:00:00 2001 From: nili Date: Tue, 16 Jul 2024 16:47:32 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20js=E7=AD=89=E8=B5=84=E6=BA=90=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0oss?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/config.ts | 2 +- ...0e45f05.async.js => 635.8a884f26.async.js} | 4 +- dist/971.8a6ac777.async.js | 1 + dist/_umi_route_preload_helper.46ceb7d1.js | 1 - dist/_umi_route_preload_helper.517c19ad.js | 1 + dist/index.html | 6 +- dist/p__AdminManagement.3ee3c339.async.js | 1 - dist/p__AdminManagement.5355b667.async.js | 1 + dist/p__AdvRecordListV2.ac86b512.async.js | 1 - dist/p__AdvRecordListV2.f8055b8e.async.js | 1 + ...xy__ProxyAdvRecordListV2.95a376ea.async.js | 1 + ...xy__ProxyAdvRecordListV2.f54d5e7d.async.js | 1 - ...oxy__ProxyUserManagement.107b3f81.async.js | 1 - ...oxy__ProxyUserManagement.752f65f0.async.js | 1 + dist/p__SuperAdmin.497ff705.async.js | 1 - dist/p__SuperAdmin.4df5c668.async.js | 1 + dist/p__UserManagement.00a0e9d3.async.js | 1 - dist/p__UserManagement.7f7499c6.async.js | 1 + dist/{umi.b81b7e17.js => umi.b63ef643.js} | 6 +- package.json | 1 + src/services/matrix/index.ts | 2 +- src/services/matrix/superAdmin.ts | 77 +++++++++++++++++-- src/services/matrix/typings.d.ts | 27 +++++++ 23 files changed, 115 insertions(+), 25 deletions(-) rename dist/{635.20e45f05.async.js => 635.8a884f26.async.js} (77%) create mode 100644 dist/971.8a6ac777.async.js delete mode 100644 dist/_umi_route_preload_helper.46ceb7d1.js create mode 100644 dist/_umi_route_preload_helper.517c19ad.js delete mode 100644 dist/p__AdminManagement.3ee3c339.async.js create mode 100644 dist/p__AdminManagement.5355b667.async.js delete mode 100644 dist/p__AdvRecordListV2.ac86b512.async.js create mode 100644 dist/p__AdvRecordListV2.f8055b8e.async.js create mode 100644 dist/p__Proxy__ProxyAdvRecordListV2.95a376ea.async.js delete mode 100644 dist/p__Proxy__ProxyAdvRecordListV2.f54d5e7d.async.js delete mode 100644 dist/p__Proxy__ProxyUserManagement.107b3f81.async.js create mode 100644 dist/p__Proxy__ProxyUserManagement.752f65f0.async.js delete mode 100644 dist/p__SuperAdmin.497ff705.async.js create mode 100644 dist/p__SuperAdmin.4df5c668.async.js delete mode 100644 dist/p__UserManagement.00a0e9d3.async.js create mode 100644 dist/p__UserManagement.7f7499c6.async.js rename dist/{umi.b81b7e17.js => umi.b63ef643.js} (98%) 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/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.8a6ac777.async.js b/dist/971.8a6ac777.async.js new file mode 100644 index 0000000..39ab78e --- /dev/null +++ b/dist/971.8a6ac777.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[971],{42767:function(G,L,e){e.d(L,{Z:function(){return a}});var D=e(5574),o=e.n(D),I=e(55241),m=e(2487),M=e(71230),y=e(7134),d=e(67294),h=e(52043),t=e(15009),v=e.n(t),g=e(97857),j=e.n(g),b=e(99289),f=e.n(b),_=e(40110),U=e(67539),A=e(55102),c=e(42075),T=e(14726),z=e(17788),R=e(4575),r=e(85893),B=function(u){var s=(0,d.useState)(),n=o()(s,2),Z=n[0],V=n[1],K=(0,d.useState)(),w=o()(K,2),$=w[0],X=w[1],Y=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",ellipsis:!0,hideInSearch:!0,filterDropdown:function(l){var p=l.setSelectedKeys,O=l.selectedKeys,P=l.confirm,S=l.clearFilters;return(0,r.jsxs)("div",{style:{padding:8},children:[(0,r.jsx)(A.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:O[0],onChange:function(E){return p(E.target.value?[E.target.value]:[])},onPressEnter:function(){return P()},style:{marginBottom:8,display:"block"}}),(0,r.jsxs)(c.Z,{children:[(0,r.jsx)(T.ZP,{onClick:function(){return P()},type:"primary",children:"\u641C\u7D22"}),(0,r.jsx)(T.ZP,{onClick:function(){return S&&S()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(l,p){return typeof l=="string"&&typeof(p==null?void 0:p.appName)=="string"?p.appName.includes(l):!1},filterIcon:function(l){return(0,r.jsx)(_.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 p=l.setSelectedKeys,O=l.selectedKeys,P=l.confirm,S=l.clearFilters;return(0,r.jsxs)("div",{style:{padding:8},children:[(0,r.jsx)(A.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:O[0],onChange:function(E){return p(E.target.value?[E.target.value]:[])},onPressEnter:function(){return P()},style:{marginBottom:8,display:"block"}}),(0,r.jsxs)(c.Z,{children:[(0,r.jsx)(T.ZP,{onClick:function(){return P()},type:"primary",children:"\u641C\u7D22"}),(0,r.jsx)(T.ZP,{onClick:function(){return S&&S()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(l,p){return typeof l=="string"&&typeof(p==null?void 0:p.packageName)=="string"?p.packageName.includes(l):!1},filterIcon:function(l){return(0,r.jsx)(_.Z,{style:{color:l?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}}],H=function(){var C=f()(v()().mark(function l(){var p,O,P,S;return v()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.next=2,(0,R.ai)();case 2:p=E.sent,p.data&&(P=[],S=[],(O=u.data.localAppList)===null||O===void 0||O.forEach(function(N){var k;(k=p.data)!==null&&k!==void 0&&k.some(function(J){return J.packageName===N.packageName})?P.push(j()(j()({},N),{},{evil:!0})):S.push(j()(j()({},N),{},{evil:!1}))}),V([].concat(P,S)),X([].concat(P,S)));case 4:case"end":return E.stop()}},l)}));return function(){return C.apply(this,arguments)}}();return(0,d.useEffect)(function(){H()},[]),(0,r.jsx)(z.Z,{style:{width:600},onCancel:u.onClose,visible:!0,footer:[],children:(0,r.jsx)(U.Z,{onRow:function(l){return{style:{backgroundColor:l.evil?"red":"transparent"}}},search:!1,onReset:function(){X(Z)},columns:Y,dataSource:$})})},W=B,F=function(u){var s=(0,d.useState)(!1),n=o()(s,2),Z=n[0],V=n[1],K=(0,h.E7)(u.data.env);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(I.Z,{content:(0,r.jsxs)(r.Fragment,{children:[u.data.localAppList&&u.data.localAppList.length>0&&(0,r.jsxs)("p",{children:[(0,r.jsx)("label",{children:"\u5DF2\u5B89\u88C5\u5E94\u7528\uFF1A"}),u.data.localAppList.length,"\u4E2A",(0,r.jsx)("a",{onClick:function(){V(!0)},style:{marginLeft:20},children:"\u67E5\u770B"})]}),K.length>0&&(0,r.jsx)(m.Z,{size:"small",header:(0,r.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:K,renderItem:function($){return(0,r.jsx)(m.Z.Item,{children:$})}})]}),children:(0,r.jsxs)(M.Z,{children:[(0,r.jsx)(y.C,{src:u.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,r.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:K.length>0?"red":""},children:["id:",u.data.id,(0,r.jsx)("br",{}),u.data.nickname||u.data.mobile]})]})}),Z&&(0,r.jsx)(W,{onClose:function(){V(!1)},data:u.data})]})},a=F},81072:function(G,L,e){e.d(L,{fn:function(){return j},pb:function(){return v},wv:function(){return h}});var D=e(15009),o=e.n(D),I=e(97857),m=e.n(I),M=e(99289),y=e.n(M),d=e(35312);function h(f,_){return t.apply(this,arguments)}function t(){return t=y()(o()().mark(function f(_,U){return o()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.abrupt("return",(0,d.request)("/api/admin/user/changeStatus",m()({method:"POST",params:m()({},_)},U||{})));case 1:case"end":return c.stop()}},f)})),t.apply(this,arguments)}function v(f,_){return g.apply(this,arguments)}function g(){return g=y()(o()().mark(function f(_,U){return o()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.abrupt("return",(0,d.request)("/api/admin/user/list",m()({method:"POST",headers:{"Content-Type":"application/json"},data:_},U||{})));case 1:case"end":return c.stop()}},f)})),g.apply(this,arguments)}function j(f,_){return b.apply(this,arguments)}function b(){return b=y()(o()().mark(function f(_,U){return o()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.abrupt("return",(0,d.request)("/api/admin/user/queryById",m()({method:"GET",params:m()({},_)},U||{})));case 1:case"end":return c.stop()}},f)})),b.apply(this,arguments)}},4575:function(G,L,e){e.d(L,{XM:function(){return f},ai:function(){return v},nr:function(){return W},vE:function(){return c}});var D=e(15009),o=e.n(D),I=e(97857),m=e.n(I),M=e(99289),y=e.n(M),d=e(35312);function h(a,i){return t.apply(this,arguments)}function t(){return t=_asyncToGenerator(_regeneratorRuntime().mark(function a(i,u){return _regeneratorRuntime().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",request("/api/admin/superAdmin/addSchedule",_objectSpread({method:"POST",headers:{"Content-Type":"application/json"},data:i},u||{})));case 1:case"end":return n.stop()}},a)})),t.apply(this,arguments)}function v(a){return g.apply(this,arguments)}function g(){return g=y()(o()().mark(function a(i){return o()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.abrupt("return",(0,d.request)("/api/admin/superAdmin/evilAppList",m()({method:"GET"},i||{})));case 1:case"end":return s.stop()}},a)})),g.apply(this,arguments)}function j(a){return b.apply(this,arguments)}function b(){return b=_asyncToGenerator(_regeneratorRuntime().mark(function a(i){return _regeneratorRuntime().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.abrupt("return",request("/api/admin/superAdmin/innerUserList",_objectSpread({method:"GET"},i||{})));case 1:case"end":return s.stop()}},a)})),b.apply(this,arguments)}function f(a,i){return _.apply(this,arguments)}function _(){return _=y()(o()().mark(function a(i,u){return o()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",(0,d.request)("/api/admin/superAdmin/saveEvilApp",m()({method:"POST",headers:{"Content-Type":"application/json"},data:i},u||{})));case 1:case"end":return n.stop()}},a)})),_.apply(this,arguments)}function U(a,i){return A.apply(this,arguments)}function A(){return A=_asyncToGenerator(_regeneratorRuntime().mark(function a(i,u){return _regeneratorRuntime().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",request("/api/admin/superAdmin/saveInnerUser",_objectSpread({method:"POST",params:_objectSpread({},i)},u||{})));case 1:case"end":return n.stop()}},a)})),A.apply(this,arguments)}function c(a,i){return T.apply(this,arguments)}function T(){return T=y()(o()().mark(function a(i,u){return o()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",(0,d.request)("/api/admin/superAdmin/saveWhiteUser",m()({method:"POST",params:m()({},i)},u||{})));case 1:case"end":return n.stop()}},a)})),T.apply(this,arguments)}function z(a){return R.apply(this,arguments)}function R(){return R=_asyncToGenerator(_regeneratorRuntime().mark(function a(i){return _regeneratorRuntime().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.abrupt("return",request("/api/admin/superAdmin/scheduleList",_objectSpread({method:"GET"},i||{})));case 1:case"end":return s.stop()}},a)})),R.apply(this,arguments)}function r(a,i){return B.apply(this,arguments)}function B(){return B=_asyncToGenerator(_regeneratorRuntime().mark(function a(i,u){return _regeneratorRuntime().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",request("/api/admin/superAdmin/transfer",_objectSpread({method:"POST",params:_objectSpread({},i)},u||{})));case 1:case"end":return n.stop()}},a)})),B.apply(this,arguments)}function W(a){return F.apply(this,arguments)}function F(){return F=y()(o()().mark(function a(i){return o()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.abrupt("return",(0,d.request)("/api/admin/superAdmin/whiteUserList",m()({method:"GET"},i||{})));case 1:case"end":return s.stop()}},a)})),F.apply(this,arguments)}},52043:function(G,L,e){e.d(L,{E7:function(){return o},FG:function(){return D},aV:function(){return y}});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"}]},o=function(h){var t=[];if(!h)return t;for(var v=h>>1,g=["\u7528\u6237\u6253\u5F00\u4E86USB\u8C03\u8BD5\u6A21\u5F0F","\u7528\u6237\u6253\u5F00\u4E86\u5F00\u53D1\u8005\u6A21\u5F0F","\u7528\u6237\u6253\u5F00\u4E86\u65E0\u969C\u788D\u6A21\u5F0F","\u7528\u6237\u624B\u673A\u5DF2\u7ECFRoot","\u7528\u6237\u5B89\u88C5\u4E86Xpose","\u7528\u6237\u5F00\u542F\u4E86VPN","\u7528\u6237\u5F00\u542F\u4EE3\u7406","\u652F\u4ED8\u5B9D\u672A\u5B89\u88C5","\u5FAE\u4FE1\u672A\u5B89\u88C5"],j=0,b=g;j>=1}return t},I=function(){return[{label:"\u5F85\u5BA1\u6279",value:"0",color:"orange"},{label:"\u5BA1\u6279\u901A\u8FC7",value:"1",color:"green"},{label:"\u8F6C\u8D26\u4E2D",value:"2",color:"orange"},{label:"\u8F6C\u8D26\u6210\u529F",value:"3",color:"green"},{label:"\u8F6C\u8D26\u5931\u8D25",value:"-1",color:"red"},{label:"\u5BA1\u6279\u62D2\u7EDD",value:"-2",color:"red"}]},m=function(h){var t=new Date(h),v=t.getFullYear().toString().padStart(4,"0"),g=(t.getMonth()+1).toString().padStart(2,"0"),j=t.getDate().toString().padStart(2,"0");return v+g+j},M=function(h,t){var v=h.toString();return v.padStart(t,"0")},y=function(h){var t=h;return t<1024?t+" B":(t=parseFloat((t/1024).toFixed(2)),t<1024?t+" KB":(t=parseFloat((t/1024).toFixed(2)),t+" MB"))}}}]); diff --git a/dist/_umi_route_preload_helper.46ceb7d1.js b/dist/_umi_route_preload_helper.46ceb7d1.js deleted file mode 100644 index 988d376..0000000 --- a/dist/_umi_route_preload_helper.46ceb7d1.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],["t__plugin-layout__Layout.6cae69f5.chunk.css",301],["t__plugin-layout__Layout.4594a64b.async.js",301],["343.7ff141fb.async.js",343],["p__User__Login__index.9d3ab92e.async.js",366],["p__DeviceOwnerApp.1ed365d2.async.js",371],["390.41467286.async.js",390],["393.38316f72.async.js",393],["397.fb5f72c1.async.js",397],["435.88a89336.async.js",435],["p__SuperAdmin.497ff705.async.js",455],["p__Proxy__ProxyUserManagement.107b3f81.async.js",526],["531.35af34f5.async.js",531],["539.290aefb9.async.js",539],["p__AdvRecordListV2.ac86b512.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.9a034487.async.js",731],["761.f7bbde11.async.js",761],["p__AdminManagement.3ee3c339.async.js",816],["p__AdvRecordList.d682c9eb.async.js",857],["p__UserManagement.00a0e9d3.async.js",903],["905.6e225d1b.async.js",905],["930.fca7adbf.async.js",930],["p__Proxy__ProxyAdvRecordListV2.f54d5e7d.async.js",990]],"r":{"/*":[19,26],"/":[0,3,4,18,20,26],"/welcome":[0,1,2,9,18,27,3,4,20,26],"/super":[0,1,5,12,14,15,26,27,3,4,18,20],"/adminList":[0,1,14,15,22,23,26,3,4,18,20],"/bind":[0,1,9,10,17,18,27,3,4,20,26],"/appList":[0,1,5,10,14,15,21,26,27,3,4,18,20],"/advList/:code":[0,1,11,14,15,18,24,26,27,3,4,20],"/advListV2/:code":[0,1,9,11,14,15,16,18,26,27,3,4,20],"/user/:code":[0,1,14,15,25,26,27,3,4,18,20],"/app/:code":[0,1,7,11,14,15,18,26,27,3,4,20],"/user/login":[0,1,6,14],"/proxy/advListV2/:code":[0,1,11,14,15,18,26,27,28,3,4,20],"/proxy/user/:code":[0,1,13,14,15,26,27,3,4,18,20]}},{publicPath:"/"});null==i||i.forEach((function(t){var e,n=t.type,a=t.url;if("js"===n)(e=r("script")).src=a,e.async=!0;else{if("css"!==n)return;(e=r("link")).href=a,e.rel="preload",e.as="style"}t.attrs.forEach((function(t){e.setAttribute(t[0],t[1]||"")})),c.appendChild(e)}))}}(); \ No newline at end of file diff --git a/dist/_umi_route_preload_helper.517c19ad.js b/dist/_umi_route_preload_helper.517c19ad.js new file mode 100644 index 0000000..917594e --- /dev/null +++ b/dist/_umi_route_preload_helper.517c19ad.js @@ -0,0 +1 @@ +!function(){"use strict";var t="/".replace(/([^/])$/,"$1/"),e=location.pathname,n=e.startsWith(t)&&decodeURI("/".concat(e.slice(t.length)));if(n){var a=document,c=a.head,r=a.createElement.bind(a),i=function(t,e,n){var a,c=e.r[t]||(null===(a=Object.entries(e.r).find((function(e){var n=e[0];return new RegExp("^".concat(n.replace(/\/:[^/]+/g,"/[^/]+").replace("/*","/.+"),"$")).test(t)})))||void 0===a?void 0:a[1]);return null==c?void 0:c.map((function(t){var a=e.f[t][1],c=e.f[t][0];return{type:c.split(".").pop(),url:"".concat(n.publicPath).concat(c),attrs:[["data-".concat(e.b),"".concat(e.p,":").concat(a)]]}}))}(n,{"p":"ant-design-pro","b":"webpack","f":[["134.6fc81d91.async.js",134],["169.57647c7d.async.js",169],["p__Welcome.61596037.async.js",185],["t__plugin-layout__Layout.6cae69f5.chunk.css",301],["t__plugin-layout__Layout.4594a64b.async.js",301],["343.7ff141fb.async.js",343],["p__User__Login__index.9d3ab92e.async.js",366],["p__DeviceOwnerApp.1ed365d2.async.js",371],["390.41467286.async.js",390],["393.38316f72.async.js",393],["397.fb5f72c1.async.js",397],["435.88a89336.async.js",435],["p__SuperAdmin.4df5c668.async.js",455],["p__Proxy__ProxyUserManagement.752f65f0.async.js",526],["531.35af34f5.async.js",531],["539.290aefb9.async.js",539],["p__AdvRecordListV2.f8055b8e.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.9a034487.async.js",731],["761.f7bbde11.async.js",761],["p__AdminManagement.5355b667.async.js",816],["p__AdvRecordList.d682c9eb.async.js",857],["p__UserManagement.7f7499c6.async.js",903],["905.6e225d1b.async.js",905],["930.fca7adbf.async.js",930],["971.8a6ac777.async.js",971],["p__Proxy__ProxyAdvRecordListV2.95a376ea.async.js",990]],"r":{"/*":[19,26],"/":[0,3,4,18,20,26],"/welcome":[0,1,2,9,18,27,3,4,20,26],"/super":[0,1,5,12,14,15,26,27,3,4,18,20],"/adminList":[0,1,14,15,22,23,26,28,3,4,18,20],"/bind":[0,1,9,10,17,18,27,3,4,20,26],"/appList":[0,1,5,10,14,15,21,26,27,3,4,18,20],"/advList/:code":[0,1,11,14,15,18,24,26,27,3,4,20],"/advListV2/:code":[0,1,9,11,14,15,16,18,26,27,3,4,20],"/user/:code":[0,1,14,15,25,26,27,28,3,4,18,20],"/app/:code":[0,1,7,11,14,15,18,26,27,3,4,20],"/user/login":[0,1,6,14],"/proxy/advListV2/:code":[0,1,11,14,15,18,26,27,29,3,4,20],"/proxy/user/:code":[0,1,13,14,15,26,27,28,3,4,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/index.html b/dist/index.html index 9b95949..ac5cdf1 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.3ee3c339.async.js b/dist/p__AdminManagement.3ee3c339.async.js deleted file mode 100644 index 53157d6..0000000 --- a/dist/p__AdminManagement.3ee3c339.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[816],{85099:function(ie,K,e){e.r(K),e.d(K,{default:function(){return ve}});var k=e(15009),i=e.n(k),G=e(99289),g=e.n(G),H=e(5574),f=e.n(H),c=e(48357),D=e(35312),t=e(8232),B=e(66309),x=e(71230),v=e(15746),Z=e(14726),U=e(13169),b=e(72051),h=e(17788),S=e(55102),o=e(34041),E=e(37804),O=e(16250),R=e(67294),u=e(72269),n=e(85893),ce=function(m){var l=function(){m.onSubmit()},d=[{title:"\u59D3\u540D",dataIndex:"name",ellipsis:!0},{title:"\u89D2\u8272",dataIndex:"role",render:function(C){var p="";switch(C){case 1:p="\u8D85\u7EA7\u7BA1\u7406\u5458";break;case 2:p="\u7BA1\u7406\u5458";break;case 3:p="\u6E38\u620F\u4E3B";break;case 4:p="\u8BBE\u5907\u4E3B";break;default:p=""}return p}},{title:"\u9690\u85CF",render:function(C){return(0,n.jsx)(u.Z,{defaultValue:C.hide!==0,onClick:function(T){C.id&&(0,c.tQ)({adminId:C.id,hide:T?1:0})}},C.id)}}];return(0,n.jsx)(h.Z,{title:"\u6279\u91CF\u7F16\u8F91",visible:!0,footer:[],onCancel:l,children:(0,n.jsx)(b.Z,{columns:d,dataSource:m.data})})},me=ce,fe=e(19632),ne=e.n(fe),L=e(81072),re=e(3089),Y=e(55241),q=e(86250),N=e(2453),z=e(42767),J=function(m){var l=(0,R.useState)([]),d=f()(l,2),I=d[0],C=d[1],p=(0,R.useState)([]),T=f()(p,2),j=T[0],X=T[1],Q=t.Z.useForm(),ee=f()(Q,1),ae=ee[0],he=function(){var P=g()(i()().mark(function $(V){var A;return i()().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,(0,c.yC)({adminId:V});case 2:A=w.sent,C(A.data||[]);case 4:case"end":return w.stop()}},$)}));return function(V){return P.apply(this,arguments)}}();return(0,R.useEffect)(function(){m.data.id&&he(m.data.id)},[m.data.id]),(0,n.jsxs)(h.Z,{title:"\u7ED1\u5B9A\u8D26\u53F7",visible:!0,centered:!0,onCancel:function(){m.onCancel()},footer:[(0,n.jsx)(Z.ZP,{onClick:function(){m.onCancel()},children:"\u53D6\u6D88"},"back"),(0,n.jsx)(Y.Z,{title:"\u786E\u5B9A\u4FDD\u5B58\u5417",content:(0,n.jsxs)("div",{style:{textAlign:"center"},children:[(0,n.jsx)("p",{children:"\u8D26\u53F7\u4E00\u65E6\u7ED1\u5B9A\u540E\uFF0C\u65E0\u6CD5\u88AB\u5220\u9664"}),(0,n.jsx)("a",{onClick:g()(i()().mark(function P(){var $;return i()().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:if($=[].concat(ne()(I),ne()(j)).map(function(W){return W.id}).filter(Boolean),!(m.data.id&&$)){A.next=7;break}return A.next=4,(0,c.cH)({adminId:m.data.id},$);case 4:m.onSubmit(),A.next=8;break;case 7:m.onCancel();case 8:case"end":return A.stop()}},P)})),children:"\u786E\u5B9A"})]}),children:(0,n.jsx)(Z.ZP,{type:"primary",children:"\u4FDD\u5B58"})},"confirm")],children:[I.length>0&&(0,n.jsxs)(x.Z,{gutter:6,style:{marginTop:20},children:[(0,n.jsx)(v.Z,{span:4,children:"\u5DF2\u7ED1\u5B9A:"}),(0,n.jsx)(q.Z,{vertical:!0,gap:"small",children:I.map(function(P){return(0,n.jsx)(x.Z,{children:(0,n.jsx)(z.Z,{data:P})},P.id)})})]}),j.length>0&&(0,n.jsxs)(x.Z,{gutter:6,style:{marginTop:20},children:[(0,n.jsx)(v.Z,{span:4,children:"\u672C\u6B21\u65B0\u589E:"}),(0,n.jsx)(q.Z,{vertical:!0,gap:"small",children:j.map(function(P){return(0,n.jsxs)(x.Z,{children:[(0,n.jsx)(z.Z,{data:P}),(0,n.jsx)(re.Z,{style:{marginLeft:20},onClick:function(){X(j.filter(function(V){return V.id!==P.id}))}})]},P.id)})})]}),(0,n.jsx)(t.Z,{style:{marginTop:20},labelCol:{span:4},wrapperCol:{span:18},form:ae,onFinish:function(){var P=g()(i()().mark(function $(V){var A,W;return i()().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:if(A=V.uid,A){M.next=4;break}return N.ZP.error("uid\u4E0D\u80FD\u4E3A\u7A7A"),M.abrupt("return");case 4:if(!(m.data.id&&A)){M.next=15;break}if(!(j.filter(function(se){return se.id===A}).length>0)){M.next=8;break}return N.ZP.error("\u8BE5\u8D26\u53F7\u5DF2\u6DFB\u52A0"),M.abrupt("return");case 8:if(!(I.filter(function(se){return se.id===A}).length>0)){M.next=11;break}return N.ZP.error("\u8BE5\u8D26\u53F7\u5DF2\u6DFB\u52A0"),M.abrupt("return");case 11:return M.next=13,(0,L.fn)({adminId:m.data.id,userId:A});case 13:W=M.sent,W.data?X([].concat(ne()(j),[W.data])):N.ZP.error("uid\u975E\u6CD5");case 15:case"end":return M.stop()}},$)}));return function($){return P.apply(this,arguments)}}(),children:(0,n.jsxs)(x.Z,{children:[(0,n.jsx)(t.Z.Item,{name:"uid",label:"uid",children:(0,n.jsx)(E.Z,{style:{width:200}})}),(0,n.jsx)(t.Z.Item,{wrapperCol:{offset:8,span:16},children:(0,n.jsx)(Z.ZP,{type:"primary",htmlType:"submit",children:"\u6DFB\u52A0"})})]})})]})},te=J,ue=function(){var m=(0,R.useState)([]),l=f()(m,2),d=l[0],I=l[1],C=(0,R.useState)(!1),p=f()(C,2),T=p[0],j=p[1],X=(0,R.useState)(void 0),Q=f()(X,2),ee=Q[0],ae=Q[1],he=(0,R.useState)(!1),P=f()(he,2),$=P[0],V=P[1],A=(0,R.useState)(!1),W=f()(A,2),w=W[0],M=W[1],se=(0,R.useState)(0),xe=f()(se,2),ye=xe[0],pe=xe[1],Ae=t.Z.useForm(),Fe=f()(Ae,1),oe=Fe[0],Ie=(0,R.useState)([]),Ce=f()(Ie,2),be=Ce[0],Pe=Ce[1],De=(0,D.useModel)("@@initialState"),je=De.initialState,_=je==null?void 0:je.currentUser,ge=function(a){return a?parseFloat((a/1e5).toFixed(2)):0},Ee=function(a){var r=be.find(function(F){return F.id===a});return r?r.name:""},Se=function(a){oe.setFieldsValue(a),j(!0),M(!0),pe(a.role?a.role:0)},Ze=[{title:"\u59D3\u540D",dataIndex:"name"},{title:"\u5E94\u7528IDs",dataIndex:"appIds",render:function(a){return(0,n.jsx)("div",{children:a==null?void 0:a.map(function(r){return(0,n.jsx)(B.Z,{color:"blue",children:Ee(r)},r)})})}},{title:"\u89D2\u8272",dataIndex:"role",render:function(a){var r="";switch(a){case 1:r="\u8D85\u7EA7\u7BA1\u7406\u5458";break;case 2:r="\u7BA1\u7406\u5458";break;case 3:r="\u6E38\u620F\u4E3B";break;case 5:r="\u4EE3\u7406";break;default:r=""}return r}},{title:"\u64CD\u4F5C",render:function(a){return[(0,n.jsx)("a",{onClick:function(){return Se(a)},children:"\u7F16\u8F91"},"edit")]}}],Be=[{title:"\u59D3\u540D",dataIndex:"name",ellipsis:!0},{title:"\u5E94\u7528IDs",dataIndex:"appIds",render:function(a){return(0,n.jsx)("div",{children:a==null?void 0:a.map(function(r){return(0,n.jsx)(B.Z,{color:"blue",children:Ee(r)},r)})})}},{title:"\u89D2\u8272",dataIndex:"role",render:function(a){var r="";switch(a){case 1:r="\u8D85\u7EA7\u7BA1\u7406\u5458";break;case 2:r="\u7BA1\u7406\u5458";break;case 3:r="\u6E38\u620F\u4E3B";break;case 5:r="\u4EE3\u7406";break;default:r=""}return r}},{title:"\u672C\u6708\u6536\u5165\uFF08\u5143\uFF09",dataIndex:"incomeThisMonth",render:function(a,r){var F;return ge((F=r.overview)===null||F===void 0?void 0:F.thisMonthIncome)}},{title:"\u4E0A\u6708\u6536\u5165\uFF08\u5143\uFF09",dataIndex:"incomeLastMonth",render:function(a,r){var F;return ge((F=r.overview)===null||F===void 0?void 0:F.lastMonthIncome)}},{title:"\u7D2F\u8BA1\u6536\u5165\uFF08\u5143\uFF09",dataIndex:"incomeTotal",render:function(a,r){var F;return ge((F=r.overview)===null||F===void 0?void 0:F.totalIncome)}},{title:"\u5F53\u524D\u5206\u6210\u6BD4\u4F8B",dataIndex:"incomeRate"},{title:"\u64CD\u4F5C",render:function(a){return(0,n.jsxs)(x.Z,{gutter:6,children:[(0,n.jsx)(v.Z,{children:(0,n.jsx)("a",{onClick:function(){return Se(a)},children:"\u7F16\u8F91"},"edit")}),a.role===5&&(0,n.jsx)(v.Z,{children:(0,n.jsx)("a",{onClick:function(){ae(a)},children:"\u7ED1\u5B9A\u8D26\u53F7"},"grant")})]})}}],Ue=function(){oe.submit()},_e=function(){j(!1)},de=function(){var s=g()(i()().mark(function a(){var r;return i()().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.next=2,(0,c.N0)();case 2:r=y.sent,r.data&&I(r.data);case 4:case"end":return y.stop()}},a)}));return function(){return s.apply(this,arguments)}}(),Oe=function(){var s=g()(i()().mark(function a(){var r;return i()().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.next=2,(0,c.ln)();case 2:r=y.sent,r.data&&Pe(r.data);case 4:case"end":return y.stop()}},a)}));return function(){return s.apply(this,arguments)}}();(0,R.useEffect)(function(){de(),Oe()},[]);var Te=function(){oe.resetFields(),j(!0),M(!1),pe(0)},Me=function(){var s=g()(i()().mark(function a(r){return i()().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.prev=0,y.next=3,(0,c.P7)(r);case 3:y.next=8;break;case 5:return y.prev=5,y.t0=y.catch(0),y.abrupt("return");case 8:j(!1),de();case 10:case"end":return y.stop()}},a,null,[[0,5]])}));return function(r){return s.apply(this,arguments)}}();return(0,n.jsxs)("div",{children:[(0,n.jsxs)(x.Z,{align:"stretch",gutter:20,children:[(0,n.jsx)(v.Z,{children:(0,n.jsx)(Z.ZP,{onClick:Te,children:"\u65B0\u5EFA\u8D26\u53F7"})}),(0,n.jsx)(v.Z,{children:(0,n.jsx)(Z.ZP,{onClick:function(){V(!0)},children:"\u6279\u91CF\u7F16\u8F91"})})]}),(0,n.jsxs)(U.Z,{centered:!0,style:{backgroundColor:"white",padding:"20px",marginTop:20},children:[(_==null?void 0:_.role)&&_.role<3&&(0,n.jsx)(O.Z,{tab:"\u6E38\u620F\u4E3B",children:(0,n.jsx)(b.Z,{columns:Ze,dataSource:d.filter(function(s){return s.role===3&&s.hide===0})})},"1"),(0,n.jsx)(O.Z,{tab:"\u4EE3\u7406",children:(0,n.jsx)(b.Z,{columns:Be,dataSource:d.filter(function(s){return s.role===5&&s.hide===0})})},"3"),(_==null?void 0:_.role)&&_.role<2&&(0,n.jsx)(O.Z,{tab:"\u7BA1\u7406\u5458",children:(0,n.jsx)(b.Z,{columns:Ze,dataSource:d.filter(function(s){return s.role===2&&s.hide===0})})},"4")]}),(0,n.jsx)(h.Z,{title:"\u7F16\u8F91",visible:T,onOk:Ue,onCancel:_e,children:(0,n.jsxs)(t.Z,{labelCol:{span:4},wrapperCol:{span:18},form:oe,onFinish:Me,children:[(0,n.jsx)(t.Z.Item,{name:"id",style:{display:"none"},children:(0,n.jsx)(S.Z,{type:"hidden"})}),(0,n.jsx)(t.Z.Item,{label:"\u7528\u6237\u540D",name:"name",children:(0,n.jsx)(S.Z,{disabled:w})}),(0,n.jsx)(t.Z.Item,{label:"\u5BC6\u7801",name:"password",children:(0,n.jsx)(S.Z.Password,{disabled:w})}),(0,n.jsx)(t.Z.Item,{label:"\u5E94\u7528",name:"appIds",children:(0,n.jsx)(o.Z,{filterOption:function(a,r){var F=typeof(r==null?void 0:r.children)=="string"?r.children:"";return F.toLowerCase().includes(a.toLowerCase())},showSearch:!0,mode:"multiple",children:be.map(function(s){return(0,n.jsx)(o.Z.Option,{value:s.id,children:s.name},s.id)})})}),(0,n.jsx)(t.Z.Item,{label:"\u89D2\u8272",name:"role",children:(0,n.jsxs)(o.Z,{disabled:w,onSelect:pe,children:[(0,n.jsx)(o.Z.Option,{disabled:(_==null?void 0:_.role)&&_.role>1,value:2,children:"\u7BA1\u7406\u5458"}),(0,n.jsx)(o.Z.Option,{disabled:(_==null?void 0:_.role)&&_.role>2,value:3,children:"\u6E38\u620F\u4E3B"}),(0,n.jsx)(o.Z.Option,{value:5,children:"\u4EE3\u7406"})]})}),ye>3&&(0,n.jsxs)(x.Z,{children:[(0,n.jsx)(v.Z,{span:12,children:(0,n.jsx)(t.Z.Item,{labelCol:{span:8},label:"\u6536\u5165\u6BD4\u4F8B",name:"incomeRate",children:(0,n.jsx)(E.Z,{placeholder:"1-100\u6574\u6570",style:{width:"80%"}})})}),ye===4?(0,n.jsx)(v.Z,{span:12,children:(0,n.jsx)(t.Z.Item,{labelCol:{span:8},label:"\u8BBE\u5907\u6570",name:"deviceCnt",children:(0,n.jsx)(E.Z,{style:{width:"80%"}})})}):""]})]})}),$&&(0,n.jsx)(me,{data:d,onSubmit:function(){V(!1),de()}}),ee&&(0,n.jsx)(te,{data:ee,onCancel:function(){ae(void 0)},onSubmit:function(){ae(void 0),de()}})]})},ve=ue},42767:function(ie,K,e){e.d(K,{Z:function(){return fe}});var k=e(5574),i=e.n(k),G=e(55241),g=e(2487),H=e(71230),f=e(7134),c=e(67294),D=e(52043),t=e(15009),B=e.n(t),x=e(97857),v=e.n(x),Z=e(99289),U=e.n(Z),b=e(40110),h=e(67539),S=e(55102),o=e(42075),E=e(14726),O=e(17788),R=e(4575),u=e(85893),n=function(L){var re=(0,c.useState)(),Y=i()(re,2),q=Y[0],N=Y[1],z=(0,c.useState)(),J=i()(z,2),te=J[0],ue=J[1],ve=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",ellipsis:!0,hideInSearch:!0,filterDropdown:function(l){var d=l.setSelectedKeys,I=l.selectedKeys,C=l.confirm,p=l.clearFilters;return(0,u.jsxs)("div",{style:{padding:8},children:[(0,u.jsx)(S.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:I[0],onChange:function(j){return d(j.target.value?[j.target.value]:[])},onPressEnter:function(){return C()},style:{marginBottom:8,display:"block"}}),(0,u.jsxs)(o.Z,{children:[(0,u.jsx)(E.ZP,{onClick:function(){return C()},type:"primary",children:"\u641C\u7D22"}),(0,u.jsx)(E.ZP,{onClick:function(){return p&&p()},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,u.jsx)(b.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,I=l.selectedKeys,C=l.confirm,p=l.clearFilters;return(0,u.jsxs)("div",{style:{padding:8},children:[(0,u.jsx)(S.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:I[0],onChange:function(j){return d(j.target.value?[j.target.value]:[])},onPressEnter:function(){return C()},style:{marginBottom:8,display:"block"}}),(0,u.jsxs)(o.Z,{children:[(0,u.jsx)(E.ZP,{onClick:function(){return C()},type:"primary",children:"\u641C\u7D22"}),(0,u.jsx)(E.ZP,{onClick:function(){return p&&p()},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,u.jsx)(b.Z,{style:{color:l?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}}],le=function(){var m=U()(B()().mark(function l(){var d,I,C,p;return B()().wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return j.next=2,(0,R.ai)();case 2:d=j.sent,d.data&&(C=[],p=[],(I=L.data.localAppList)===null||I===void 0||I.forEach(function(X){var Q;(Q=d.data)!==null&&Q!==void 0&&Q.some(function(ee){return ee.packageName===X.packageName})?C.push(v()(v()({},X),{},{evil:!0})):p.push(v()(v()({},X),{},{evil:!1}))}),N([].concat(C,p)),ue([].concat(C,p)));case 4:case"end":return j.stop()}},l)}));return function(){return m.apply(this,arguments)}}();return(0,c.useEffect)(function(){le()},[]),(0,u.jsx)(O.Z,{style:{width:600},onCancel:L.onClose,visible:!0,footer:[],children:(0,u.jsx)(h.Z,{onRow:function(l){return{style:{backgroundColor:l.evil?"red":"transparent"}}},search:!1,onReset:function(){ue(q)},columns:ve,dataSource:te})})},ce=n,me=function(L){var re=(0,c.useState)(!1),Y=i()(re,2),q=Y[0],N=Y[1],z=(0,D.E7)(L.data.env);return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(G.Z,{content:(0,u.jsxs)(u.Fragment,{children:[L.data.localAppList&&L.data.localAppList.length>0&&(0,u.jsxs)("p",{children:[(0,u.jsx)("label",{children:"\u5DF2\u5B89\u88C5\u5E94\u7528\uFF1A"}),L.data.localAppList.length,"\u4E2A",(0,u.jsx)("a",{onClick:function(){N(!0)},style:{marginLeft:20},children:"\u67E5\u770B"})]}),z.length>0&&(0,u.jsx)(g.Z,{size:"small",header:(0,u.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:z,renderItem:function(te){return(0,u.jsx)(g.Z.Item,{children:te})}})]}),children:(0,u.jsxs)(H.Z,{children:[(0,u.jsx)(f.C,{src:L.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,u.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:z.length>0?"red":""},children:["id:",L.data.id,(0,u.jsx)("br",{}),L.data.nickname||L.data.mobile]})]})}),q&&(0,u.jsx)(ce,{onClose:function(){N(!1)},data:L.data})]})},fe=me},81072:function(ie,K,e){e.d(K,{fn:function(){return v},pb:function(){return B},wv:function(){return D}});var k=e(15009),i=e.n(k),G=e(97857),g=e.n(G),H=e(99289),f=e.n(H),c=e(35312);function D(U,b){return t.apply(this,arguments)}function t(){return t=f()(i()().mark(function U(b,h){return i()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,c.request)("/api/admin/user/changeStatus",g()({method:"POST",params:g()({},b)},h||{})));case 1:case"end":return o.stop()}},U)})),t.apply(this,arguments)}function B(U,b){return x.apply(this,arguments)}function x(){return x=f()(i()().mark(function U(b,h){return i()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,c.request)("/api/admin/user/list",g()({method:"POST",headers:{"Content-Type":"application/json"},data:b},h||{})));case 1:case"end":return o.stop()}},U)})),x.apply(this,arguments)}function v(U,b){return Z.apply(this,arguments)}function Z(){return Z=f()(i()().mark(function U(b,h){return i()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,c.request)("/api/admin/user/queryById",g()({method:"GET",params:g()({},b)},h||{})));case 1:case"end":return o.stop()}},U)})),Z.apply(this,arguments)}},4575:function(ie,K,e){e.d(K,{XM:function(){return B},ai:function(){return D},nr:function(){return U},vE:function(){return v}});var k=e(15009),i=e.n(k),G=e(97857),g=e.n(G),H=e(99289),f=e.n(H),c=e(35312);function D(h){return t.apply(this,arguments)}function t(){return t=f()(i()().mark(function h(S){return i()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.abrupt("return",(0,c.request)("/api/superAdmin/evilAppList",g()({method:"GET"},S||{})));case 1:case"end":return E.stop()}},h)})),t.apply(this,arguments)}function B(h,S){return x.apply(this,arguments)}function x(){return x=f()(i()().mark(function h(S,o){return i()().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return O.abrupt("return",(0,c.request)("/api/superAdmin/saveEvilApp",g()({method:"POST",headers:{"Content-Type":"application/json"},data:S},o||{})));case 1:case"end":return O.stop()}},h)})),x.apply(this,arguments)}function v(h,S){return Z.apply(this,arguments)}function Z(){return Z=f()(i()().mark(function h(S,o){return i()().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return O.abrupt("return",(0,c.request)("/api/superAdmin/saveWhiteUser",g()({method:"POST",params:g()({},S)},o||{})));case 1:case"end":return O.stop()}},h)})),Z.apply(this,arguments)}function U(h){return b.apply(this,arguments)}function b(){return b=f()(i()().mark(function h(S){return i()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.abrupt("return",(0,c.request)("/api/superAdmin/whiteUserList",g()({method:"GET"},S||{})));case 1:case"end":return E.stop()}},h)})),b.apply(this,arguments)}},52043:function(ie,K,e){e.d(K,{E7:function(){return i},FG:function(){return k},aV:function(){return f}});var k=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"},{label:"\u5229\u597D",value:"lihao"},{label:"\u4F73\u7476",value:"jiayao"}]},i=function(D){var t=[];if(!D)return t;for(var B=D>>1,x=["\u7528\u6237\u6253\u5F00\u4E86USB\u8C03\u8BD5\u6A21\u5F0F","\u7528\u6237\u6253\u5F00\u4E86\u5F00\u53D1\u8005\u6A21\u5F0F","\u7528\u6237\u6253\u5F00\u4E86\u65E0\u969C\u788D\u6A21\u5F0F","\u7528\u6237\u624B\u673A\u5DF2\u7ECFRoot","\u7528\u6237\u5B89\u88C5\u4E86Xpose","\u7528\u6237\u5F00\u542F\u4E86VPN","\u7528\u6237\u5F00\u542F\u4EE3\u7406","\u652F\u4ED8\u5B9D\u672A\u5B89\u88C5","\u5FAE\u4FE1\u672A\u5B89\u88C5"],v=0,Z=x;v>=1}return t},G=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"}]},g=function(D){var t=new Date(D),B=t.getFullYear().toString().padStart(4,"0"),x=(t.getMonth()+1).toString().padStart(2,"0"),v=t.getDate().toString().padStart(2,"0");return B+x+v},H=function(D,t){var B=D.toString();return B.padStart(t,"0")},f=function(D){var t=D;return t<1024?t+" B":(t=parseFloat((t/1024).toFixed(2)),t<1024?t+" KB":(t=parseFloat((t/1024).toFixed(2)),t+" MB"))}}}]); diff --git a/dist/p__AdminManagement.5355b667.async.js b/dist/p__AdminManagement.5355b667.async.js new file mode 100644 index 0000000..fdbb966 --- /dev/null +++ b/dist/p__AdminManagement.5355b667.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[816],{85099:function(Pe,Y,t){t.r(Y),t.d(Y,{default:function(){return be}});var de=t(15009),v=t.n(de),oe=t(99289),y=t.n(oe),ce=t(5574),j=t.n(ce),E=t(48357),fe=t(35312),f=t(8232),q=t(66309),I=t(71230),A=t(15746),w=t(14726),ve=t(13169),O=t(72051),H=t(17788),R=t(55102),B=t(34041),V=t(37804),Q=t(16250),x=t(67294),me=t(72269),e=t(85893),he=function(d){var D=function(){d.onSubmit()},g=[{title:"\u59D3\u540D",dataIndex:"name",ellipsis:!0},{title:"\u89D2\u8272",dataIndex:"role",render:function(C){var m="";switch(C){case 1:m="\u8D85\u7EA7\u7BA1\u7406\u5458";break;case 2:m="\u7BA1\u7406\u5458";break;case 3:m="\u6E38\u620F\u4E3B";break;case 4:m="\u8BBE\u5907\u4E3B";break;default:m=""}return m}},{title:"\u9690\u85CF",render:function(C){return(0,e.jsx)(me.Z,{defaultValue:C.hide!==0,onClick:function(k){C.id&&(0,E.tQ)({adminId:C.id,hide:k?1:0})}},C.id)}}];return(0,e.jsx)(H.Z,{title:"\u6279\u91CF\u7F16\u8F91",visible:!0,footer:[],onCancel:D,children:(0,e.jsx)(O.Z,{columns:g,dataSource:d.data})})},je=he,xe=t(19632),z=t.n(xe),Ze=t(81072),Ce=t(3089),pe=t(55241),_=t(86250),P=t(2453),ee=t(42767),Fe=function(d){var D=(0,x.useState)([]),g=j()(D,2),S=g[0],C=g[1],m=(0,x.useState)([]),k=j()(m,2),Z=k[0],M=k[1],U=f.Z.useForm(),L=j()(U,1),T=L[0],J=function(){var s=y()(v()().mark(function h(p){var l;return v()().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:return F.next=2,(0,E.yC)({adminId:p});case 2:l=F.sent,C(l.data||[]);case 4:case"end":return F.stop()}},h)}));return function(p){return s.apply(this,arguments)}}();return(0,x.useEffect)(function(){d.data.id&&J(d.data.id)},[d.data.id]),(0,e.jsxs)(H.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)(pe.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:y()(v()().mark(function s(){var h;return v()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(h=[].concat(z()(S),z()(Z)).map(function(b){return b.id}).filter(Boolean),!(d.data.id&&h)){l.next=7;break}return l.next=4,(0,E.cH)({adminId:d.data.id},h);case 4:d.onSubmit(),l.next=8;break;case 7:d.onCancel();case 8:case"end":return l.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)(Ce.Z,{style:{marginLeft:20},onClick:function(){M(Z.filter(function(p){return p.id!==s.id}))}})]},s.id)})})]}),(0,e.jsx)(f.Z,{style:{marginTop:20},labelCol:{span:4},wrapperCol:{span:18},form:T,onFinish:function(){var s=y()(v()().mark(function h(p){var l,b;return v()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(l=p.uid,l){c.next=4;break}return P.ZP.error("uid\u4E0D\u80FD\u4E3A\u7A7A"),c.abrupt("return");case 4:if(!(d.data.id&&l)){c.next=15;break}if(!(Z.filter(function($){return $.id===l}).length>0)){c.next=8;break}return P.ZP.error("\u8BE5\u8D26\u53F7\u5DF2\u6DFB\u52A0"),c.abrupt("return");case 8:if(!(S.filter(function($){return $.id===l}).length>0)){c.next=11;break}return P.ZP.error("\u8BE5\u8D26\u53F7\u5DF2\u6DFB\u52A0"),c.abrupt("return");case 11:return c.next=13,(0,Ze.fn)({adminId:d.data.id,userId:l});case 13:b=c.sent,b.data?M([].concat(z()(Z),[b.data])):P.ZP.error("uid\u975E\u6CD5");case 15:case"end":return c.stop()}},h)}));return function(h){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)(V.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"})})]})})]})},ge=Fe,Se=function(){var d=(0,x.useState)([]),D=j()(d,2),g=D[0],S=D[1],C=(0,x.useState)(!1),m=j()(C,2),k=m[0],Z=m[1],M=(0,x.useState)(void 0),U=j()(M,2),L=U[0],T=U[1],J=(0,x.useState)(!1),s=j()(J,2),h=s[0],p=s[1],l=(0,x.useState)(!1),b=j()(l,2),F=b[0],c=b[1],$=(0,x.useState)(0),re=j()($,2),ae=re[0],K=re[1],Ie=f.Z.useForm(),Ae=j()(Ie,1),G=Ae[0],ye=(0,x.useState)([]),te=j()(ye,2),ie=te[0],Ee=te[1],Be=(0,fe.useModel)("@@initialState"),W=Be.initialState,o=W==null?void 0:W.currentUser,X=function(r){return r?parseFloat((r/1e5).toFixed(2)):0},le=function(r){var n=ie.find(function(u){return u.id===r});return n?n.name:""},ue=function(r){G.setFieldsValue(r),Z(!0),c(!0),K(r.role?r.role:0)},se=[{title:"\u59D3\u540D",dataIndex:"name"},{title:"\u5E94\u7528IDs",dataIndex:"appIds",render:function(r){return(0,e.jsx)("div",{children:r==null?void 0:r.map(function(n){return(0,e.jsx)(q.Z,{color:"blue",children:le(n)},n)})})}},{title:"\u89D2\u8272",dataIndex:"role",render:function(r){var n="";switch(r){case 1:n="\u8D85\u7EA7\u7BA1\u7406\u5458";break;case 2:n="\u7BA1\u7406\u5458";break;case 3:n="\u6E38\u620F\u4E3B";break;case 5:n="\u4EE3\u7406";break;default:n=""}return n}},{title:"\u64CD\u4F5C",render:function(r){return[(0,e.jsx)("a",{onClick:function(){return ue(r)},children:"\u7F16\u8F91"},"edit")]}}],De=[{title:"\u59D3\u540D",dataIndex:"name",ellipsis:!0},{title:"\u5E94\u7528IDs",dataIndex:"appIds",render:function(r){return(0,e.jsx)("div",{children:r==null?void 0:r.map(function(n){return(0,e.jsx)(q.Z,{color:"blue",children:le(n)},n)})})}},{title:"\u89D2\u8272",dataIndex:"role",render:function(r){var n="";switch(r){case 1:n="\u8D85\u7EA7\u7BA1\u7406\u5458";break;case 2:n="\u7BA1\u7406\u5458";break;case 3:n="\u6E38\u620F\u4E3B";break;case 5:n="\u4EE3\u7406";break;default:n=""}return n}},{title:"\u672C\u6708\u6536\u5165\uFF08\u5143\uFF09",dataIndex:"incomeThisMonth",render:function(r,n){var u;return X((u=n.overview)===null||u===void 0?void 0:u.thisMonthIncome)}},{title:"\u4E0A\u6708\u6536\u5165\uFF08\u5143\uFF09",dataIndex:"incomeLastMonth",render:function(r,n){var u;return X((u=n.overview)===null||u===void 0?void 0:u.lastMonthIncome)}},{title:"\u7D2F\u8BA1\u6536\u5165\uFF08\u5143\uFF09",dataIndex:"incomeTotal",render:function(r,n){var u;return X((u=n.overview)===null||u===void 0?void 0:u.totalIncome)}},{title:"\u5F53\u524D\u5206\u6210\u6BD4\u4F8B",dataIndex:"incomeRate"},{title:"\u64CD\u4F5C",render:function(r){return(0,e.jsxs)(I.Z,{gutter:6,children:[(0,e.jsx)(A.Z,{children:(0,e.jsx)("a",{onClick:function(){return ue(r)},children:"\u7F16\u8F91"},"edit")}),r.role===5&&(0,e.jsx)(A.Z,{children:(0,e.jsx)("a",{onClick:function(){T(r)},children:"\u7ED1\u5B9A\u8D26\u53F7"},"grant")})]})}}],ke=function(){G.submit()},we=function(){Z(!1)},N=function(){var a=y()(v()().mark(function r(){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()}},r)}));return function(){return a.apply(this,arguments)}}(),Te=function(){var a=y()(v()().mark(function r(){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()}},r)}));return function(){return a.apply(this,arguments)}}();(0,x.useEffect)(function(){N(),Te()},[]);var $e=function(){G.resetFields(),Z(!0),c(!1),K(0)},Oe=function(){var a=y()(v()().mark(function r(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),N();case 10:case"end":return i.stop()}},r,null,[[0,5]])}));return function(n){return a.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:$e,children:"\u65B0\u5EFA\u8D26\u53F7"})}),(0,e.jsx)(A.Z,{children:(0,e.jsx)(w.ZP,{onClick:function(){p(!0)},children:"\u6279\u91CF\u7F16\u8F91"})})]}),(0,e.jsxs)(ve.Z,{centered:!0,style:{backgroundColor:"white",padding:"20px",marginTop:20},children:[(o==null?void 0:o.role)&&o.role<3&&(0,e.jsx)(Q.Z,{tab:"\u6E38\u620F\u4E3B",children:(0,e.jsx)(O.Z,{columns:se,dataSource:g.filter(function(a){return a.role===3&&a.hide===0})})},"1"),(0,e.jsx)(Q.Z,{tab:"\u4EE3\u7406",children:(0,e.jsx)(O.Z,{columns:De,dataSource:g.filter(function(a){return a.role===5&&a.hide===0})})},"3"),(o==null?void 0:o.role)&&o.role<2&&(0,e.jsx)(Q.Z,{tab:"\u7BA1\u7406\u5458",children:(0,e.jsx)(O.Z,{columns:se,dataSource:g.filter(function(a){return a.role===2&&a.hide===0})})},"4")]}),(0,e.jsx)(H.Z,{title:"\u7F16\u8F91",visible:k,onOk:ke,onCancel:we,children:(0,e.jsxs)(f.Z,{labelCol:{span:4},wrapperCol:{span:18},form:G,onFinish:Oe,children:[(0,e.jsx)(f.Z.Item,{name:"id",style:{display:"none"},children:(0,e.jsx)(R.Z,{type:"hidden"})}),(0,e.jsx)(f.Z.Item,{label:"\u7528\u6237\u540D",name:"name",children:(0,e.jsx)(R.Z,{disabled:F})}),(0,e.jsx)(f.Z.Item,{label:"\u5BC6\u7801",name:"password",children:(0,e.jsx)(R.Z.Password,{disabled:F})}),(0,e.jsx)(f.Z.Item,{label:"\u5E94\u7528",name:"appIds",children:(0,e.jsx)(B.Z,{filterOption:function(r,n){var u=typeof(n==null?void 0:n.children)=="string"?n.children:"";return u.toLowerCase().includes(r.toLowerCase())},showSearch:!0,mode:"multiple",children:ie.map(function(a){return(0,e.jsx)(B.Z.Option,{value:a.id,children:a.name},a.id)})})}),(0,e.jsx)(f.Z.Item,{label:"\u89D2\u8272",name:"role",children:(0,e.jsxs)(B.Z,{disabled:F,onSelect:K,children:[(0,e.jsx)(B.Z.Option,{disabled:(o==null?void 0:o.role)&&o.role>1,value:2,children:"\u7BA1\u7406\u5458"}),(0,e.jsx)(B.Z.Option,{disabled:(o==null?void 0:o.role)&&o.role>2,value:3,children:"\u6E38\u620F\u4E3B"}),(0,e.jsx)(B.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)(V.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)(V.Z,{style:{width:"80%"}})})}):""]})]})}),h&&(0,e.jsx)(je,{data:g,onSubmit:function(){p(!1),N()}}),L&&(0,e.jsx)(ge,{data:L,onCancel:function(){T(void 0)},onSubmit:function(){T(void 0),N()}})]})},be=Se}}]); diff --git a/dist/p__AdvRecordListV2.ac86b512.async.js b/dist/p__AdvRecordListV2.ac86b512.async.js deleted file mode 100644 index 2d6e8b8..0000000 --- a/dist/p__AdvRecordListV2.ac86b512.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[542],{40110:function(oe,$,e){var N=e(1413),u=e(67294),H=e(509),d=e(91146),X=function(c,n){return u.createElement(d.Z,(0,N.Z)((0,N.Z)({},c),{},{ref:n,icon:H.Z}))},x=u.forwardRef(X);$.Z=x},24666:function(oe,$,e){e.r($),e.d($,{default:function(){return z}});var N=e(97857),u=e.n(N),H=e(15009),d=e.n(H),X=e(99289),x=e.n(X),h=e(5574),c=e.n(h),n=e(48357),M=e(78677),j=e(39615),Z=e(90930),W=e(67539),k=e(57470),w=e(64317),P=e(34540),b=e(13169),V=e(71230),p=e(15746),R=e(16250),pe=e(27484),r=e.n(pe),me=e(9220),T=e(67294),he=e(96974),S=function(a){return a?parseFloat((a/1e5).toFixed(2)):0},Se=function(a){return a?parseFloat((a/100).toFixed(2)):0},O=e(26839),_=function(){return _=Object.assign||function(f){for(var a,g=1,v=arguments.length;g=r()().startOf("day")},ee=function(){var Y=x()(d()().mark(function K(F){var y,J,A,s;return d()().wrap(function(te){for(;;)switch(te.prev=te.next){case 0:return te.next=2,(0,n.jD)(F);case 2:J=te.sent,A=[],(y=J.data)===null||y===void 0||y.forEach(function(C){C.advType===1&&A.push({type:"\u6A2A\u5E45",value:S(C.income)}),C.advType===2&&A.push({type:"\u63D2\u9875",value:S(C.income)}),C.advType===3&&A.push({type:"\u89C6\u9891",value:S(C.income)})}),s=A.reduce(function(C,ve){return C+ve.value},0),A.forEach(function(C){C.\u6536\u5165=C.value+"\u5143",s>0&&(C.\u767E\u5206\u6BD4=(C.value/s*100).toFixed(1)+"%")}),G(A);case 8:case"end":return te.stop()}},K)}));return function(F){return Y.apply(this,arguments)}}(),ie={data:E,title:{title:"\u5386\u53F2\u6570\u636E",align:"center"},angleField:"value",colorField:"type",height:200,marginTop:20,label:{text:"value",position:"outside"},legend:{color:{title:!1,position:"right",rowPadding:5}},tooltip:{title:"type",items:[{name:"\u6536\u5165",field:"\u6536\u5165"},{name:"\u5360\u6BD4",field:"\u767E\u5206\u6BD4"}]}},se=function(K,F){var y=parseInt(F[0]),J=parseInt(F[1]);ee(y&&J?{code:a.appCode,beginDate:y,endDate:J}:{code:a.appCode})};return(0,T.useEffect)(function(){ee({code:a.appCode})},[a.appCode]),(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(Q.Z,{style:{height:300},children:[(0,t.jsx)(ue,{onChange:se,format:"YYYYMMDD",disabledDate:L}),E.length>0&&(0,t.jsx)(ne,u()({},ie))]})})},ge=de,ye=function(a){var g=(0,T.useState)([]),v=c()(g,2),E=v[0],G=v[1],L=function(){var ie=x()(d()().mark(function se(){var Y,K,F,y;return d()().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,(0,n.R2)({code:a.appCode});case 2:K=A.sent,F=[],(Y=K.data)===null||Y===void 0||Y.forEach(function(s){s.advType===1&&F.push({type:"\u6A2A\u5E45",value:S(s.income)}),s.advType===2&&F.push({type:"\u63D2\u9875",value:S(s.income)}),s.advType===3&&F.push({type:"\u89C6\u9891",value:S(s.income)})}),y=F.reduce(function(s,ce){return s+ce.value},0),F.forEach(function(s){s.\u6536\u5165=s.value+"\u5143",y>0&&(s.\u767E\u5206\u6BD4=(s.value/y*100).toFixed(1)+"%")}),G(F);case 8:case"end":return A.stop()}},se)}));return function(){return ie.apply(this,arguments)}}(),ee={data:E,title:{title:"\u4ECA\u65E5\u6570\u636E",align:"center"},angleField:"value",colorField:"type",height:200,marginTop:20,label:{text:"value",position:"outside"},legend:{color:{title:!1,position:"right",rowPadding:5}},tooltip:{title:"type",items:[{name:"\u6536\u5165",field:"\u6536\u5165"},{name:"\u5360\u6BD4",field:"\u767E\u5206\u6BD4"}]}};return(0,T.useEffect)(function(){L()},[a.appCode]),(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(Q.Z,{style:{height:300},children:E.length>0&&(0,t.jsx)(ne,u()({},ee))})})},B=ye,l=e(42767),m=function(){var a=(0,T.useRef)(),g=(0,T.useState)(void 0),v=c()(g,2),E=v[0],G=v[1],L=function(){return window.innerWidth<=768},ee=(0,T.useState)({deviceId:{show:!L()},appName:{show:!L()},platform:{show:!L()},deviceBrand:{show:!L()},deviceName:{show:!L()},ip:{show:!L()},advType:{show:!L()}}),ie=c()(ee,2),se=ie[0],Y=ie[1],K=[{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(i){return i/100}},{title:"\u5355\u6761\u6536\u5165(\u5143)",dataIndex:"ecpm",hideInSearch:!0,renderText:function(i){return S(i)}},{title:"\u8BBE\u5907",dataIndex:"device",hideInSearch:!0,renderText:function(i,I){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{children:I.deviceBrand}),(0,t.jsx)("p",{children:I.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(i,I){if(I.user)return(0,t.jsx)(l.Z,{data:I.user})}},{title:"\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u65F6\u95F4",hideInTable:!0,dataIndex:"createdAt",valueType:"dateRange"}],F=(0,he.UO)(),y=F.code,J=(0,T.useState)(),A=c()(J,2),s=A[0],ce=A[1],te=(0,T.useState)([]),C=c()(te,2),ve=C[0],Ce=C[1],je=j.Z.Divider,Ie=(0,T.useState)(!1),Ee=c()(Ie,2),fe=Ee[0],De=Ee[1],Pe=function(){var o=x()(d()().mark(function i(I){var U;return d()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,(0,n.d1)({appCode:I});case 2:U=D.sent,U.data&&ce(U.data);case 4:case"end":return D.stop()}},i)}));return function(I){return o.apply(this,arguments)}}(),Ae=function(){var o=x()(d()().mark(function i(I){var U;return d()().wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,(0,n.Zb)(u()(u()({},I),{},{code:y}));case 2:U=D.sent,U.data&&Ce(U.data);case 4:case"end":return D.stop()}},i)}));return function(I){return o.apply(this,arguments)}}();(0,T.useEffect)(function(){var o;(o=a.current)===null||o===void 0||o.reload(),Pe(y),Ae({code:y})},[y]);var Te=ve.map(function(o){return{date:function(){var i=o.date+"",I=i.slice(0,4),U=i.slice(4,6),ae=i.slice(6,8);return"".concat(I,"-").concat(U,"-").concat(ae)}(),income:S(o.income)}}),Fe={data:Te,xField:"date",yField:"income",tooltip:{name:"\u6536\u5165",field:"income"},axis:{date:{title:"\u65E5\u671F"}},title:"\u7D2F\u8BA1"+S(ve.reduce(function(o,i){return o+(i.income?i.income:0)},0))+"\u5143",height:400,label:{text:function(i){return i.income>0?i.income:""},textBaseline:"bottom"}};return(0,t.jsx)(Z._z,{children:(0,t.jsxs)(b.Z,{defaultActiveKey:"1",centered:!0,style:{backgroundColor:"white",padding:"20px"},children:[(0,t.jsx)(R.Z,{tab:"\u5E7F\u544A\u8BE6\u60C5",children:(0,t.jsx)(W.Z,{headerTitle:E?"\u8868\u683C\u7D2F\u8BA1\uFF1A"+S(E)+"\u5143":"",actionRef:a,rowKey:"key",search:{labelWidth:120},request:function(){var o=x()(d()().mark(function i(I){var U,ae,D,xe;return d()().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return le.next=2,(0,n._5)(u()(u()({},I),{},{code:y}));case 2:return D=le.sent,I.current===1&&G((xe=D.data)===null||xe===void 0?void 0:xe.sum),le.abrupt("return",{data:(U=D.data)===null||U===void 0?void 0:U.data,total:(ae=D.data)===null||ae===void 0?void 0:ae.total,success:!0});case 5:case"end":return le.stop()}},i)}));return function(i){return o.apply(this,arguments)}}(),columns:K,columnsState:{value:se,onChange:function(i){Y(i)}}})},"1"),(0,t.jsxs)(R.Z,{tab:"\u6570\u636E\u603B\u89C8",children:[(0,t.jsx)(me.Z,{onResize:function(i){De(i.width<596)},children:(0,t.jsx)(j.Z,{children:(0,t.jsxs)(j.Z.Group,{direction:fe?"column":"row",children:[(0,t.jsx)(j.Z,{statistic:{title:"\u4E0A\u6708\u6536\u5165\uFF08\u5143\uFF09",value:S(s==null?void 0:s.lastMonthIncome)}}),(0,t.jsx)(je,{type:fe?"horizontal":"vertical"}),(0,t.jsx)(j.Z,{statistic:{title:"\u672C\u6708\u6536\u5165\uFF08\u5143\uFF09",value:S(s==null?void 0:s.thisMonthIncome)}}),(0,t.jsx)(je,{type:fe?"horizontal":"vertical"}),(0,t.jsx)(j.Z,{statistic:{title:"\u4ECA\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:S(s==null?void 0:s.todayIncome)}}),(0,t.jsx)(je,{type:fe?"horizontal":"vertical"}),(0,t.jsx)(j.Z,{statistic:{title:"\u6628\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:S(s==null?void 0:s.yesterdayIncome)}})]})})},"resize-observer"),(0,t.jsxs)(V.Z,{children:[(0,t.jsx)(p.Z,{span:10,offset:1,children:(0,t.jsx)(ge,{appCode:y||""})}),(0,t.jsx)(p.Z,{span:10,offset:2,children:(0,t.jsx)(B,{appCode:y||""})})]}),(0,t.jsxs)(k.t,{defaultCollapsed:!0,split:!0,onFinish:Ae,children:[(0,t.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,t.jsx)(w.Z,{name:"advType",label:"\u5E7F\u544A\u7C7B\u578B",valueEnum:{1:"\u6A2A\u5E45",2:"\u63D2\u9875",3:"\u6FC0\u52B1\u89C6\u9891"}}),(0,t.jsx)(P.Z,{fieldProps:{disabledDate:function(i){return i&&i>=r()().startOf("day")}},name:"date",label:"\u65F6\u95F4"})]}),(0,t.jsx)(M.Z,u()({},Fe))]},"2")]})})},z=m},42767:function(oe,$,e){e.d($,{Z:function(){return S}});var N=e(5574),u=e.n(N),H=e(55241),d=e(2487),X=e(71230),x=e(7134),h=e(67294),c=e(52043),n=e(15009),M=e.n(n),j=e(97857),Z=e.n(j),W=e(99289),k=e.n(W),w=e(40110),P=e(67539),b=e(55102),V=e(42075),p=e(14726),R=e(17788),pe=e(4575),r=e(85893),me=function(O){var _=(0,h.useState)(),q=u()(_,2),ne=q[0],re=q[1],Q=(0,h.useState)(),t=u()(Q,2),ue=t[0],de=t[1],ge=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",ellipsis:!0,hideInSearch:!0,filterDropdown:function(l){var m=l.setSelectedKeys,z=l.selectedKeys,f=l.confirm,a=l.clearFilters;return(0,r.jsxs)("div",{style:{padding:8},children:[(0,r.jsx)(b.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:z[0],onChange:function(v){return m(v.target.value?[v.target.value]:[])},onPressEnter:function(){return f()},style:{marginBottom:8,display:"block"}}),(0,r.jsxs)(V.Z,{children:[(0,r.jsx)(p.ZP,{onClick:function(){return f()},type:"primary",children:"\u641C\u7D22"}),(0,r.jsx)(p.ZP,{onClick:function(){return a&&a()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(l,m){return typeof l=="string"&&typeof(m==null?void 0:m.appName)=="string"?m.appName.includes(l):!1},filterIcon:function(l){return(0,r.jsx)(w.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 m=l.setSelectedKeys,z=l.selectedKeys,f=l.confirm,a=l.clearFilters;return(0,r.jsxs)("div",{style:{padding:8},children:[(0,r.jsx)(b.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:z[0],onChange:function(v){return m(v.target.value?[v.target.value]:[])},onPressEnter:function(){return f()},style:{marginBottom:8,display:"block"}}),(0,r.jsxs)(V.Z,{children:[(0,r.jsx)(p.ZP,{onClick:function(){return f()},type:"primary",children:"\u641C\u7D22"}),(0,r.jsx)(p.ZP,{onClick:function(){return a&&a()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(l,m){return typeof l=="string"&&typeof(m==null?void 0:m.packageName)=="string"?m.packageName.includes(l):!1},filterIcon:function(l){return(0,r.jsx)(w.Z,{style:{color:l?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}}],ye=function(){var B=k()(M()().mark(function l(){var m,z,f,a;return M()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,(0,pe.ai)();case 2:m=v.sent,m.data&&(f=[],a=[],(z=O.data.localAppList)===null||z===void 0||z.forEach(function(E){var G;(G=m.data)!==null&&G!==void 0&&G.some(function(L){return L.packageName===E.packageName})?f.push(Z()(Z()({},E),{},{evil:!0})):a.push(Z()(Z()({},E),{},{evil:!1}))}),re([].concat(f,a)),de([].concat(f,a)));case 4:case"end":return v.stop()}},l)}));return function(){return B.apply(this,arguments)}}();return(0,h.useEffect)(function(){ye()},[]),(0,r.jsx)(R.Z,{style:{width:600},onCancel:O.onClose,visible:!0,footer:[],children:(0,r.jsx)(P.Z,{onRow:function(l){return{style:{backgroundColor:l.evil?"red":"transparent"}}},search:!1,onReset:function(){de(ne)},columns:ge,dataSource:ue})})},T=me,he=function(O){var _=(0,h.useState)(!1),q=u()(_,2),ne=q[0],re=q[1],Q=(0,c.E7)(O.data.env);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(H.Z,{content:(0,r.jsxs)(r.Fragment,{children:[O.data.localAppList&&O.data.localAppList.length>0&&(0,r.jsxs)("p",{children:[(0,r.jsx)("label",{children:"\u5DF2\u5B89\u88C5\u5E94\u7528\uFF1A"}),O.data.localAppList.length,"\u4E2A",(0,r.jsx)("a",{onClick:function(){re(!0)},style:{marginLeft:20},children:"\u67E5\u770B"})]}),Q.length>0&&(0,r.jsx)(d.Z,{size:"small",header:(0,r.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:Q,renderItem:function(ue){return(0,r.jsx)(d.Z.Item,{children:ue})}})]}),children:(0,r.jsxs)(X.Z,{children:[(0,r.jsx)(x.C,{src:O.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,r.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:Q.length>0?"red":""},children:["id:",O.data.id,(0,r.jsx)("br",{}),O.data.nickname||O.data.mobile]})]})}),ne&&(0,r.jsx)(T,{onClose:function(){re(!1)},data:O.data})]})},S=he},4575:function(oe,$,e){e.d($,{XM:function(){return M},ai:function(){return c},nr:function(){return k},vE:function(){return Z}});var N=e(15009),u=e.n(N),H=e(97857),d=e.n(H),X=e(99289),x=e.n(X),h=e(35312);function c(P){return n.apply(this,arguments)}function n(){return n=x()(u()().mark(function P(b){return u()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.abrupt("return",(0,h.request)("/api/superAdmin/evilAppList",d()({method:"GET"},b||{})));case 1:case"end":return p.stop()}},P)})),n.apply(this,arguments)}function M(P,b){return j.apply(this,arguments)}function j(){return j=x()(u()().mark(function P(b,V){return u()().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return R.abrupt("return",(0,h.request)("/api/superAdmin/saveEvilApp",d()({method:"POST",headers:{"Content-Type":"application/json"},data:b},V||{})));case 1:case"end":return R.stop()}},P)})),j.apply(this,arguments)}function Z(P,b){return W.apply(this,arguments)}function W(){return W=x()(u()().mark(function P(b,V){return u()().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return R.abrupt("return",(0,h.request)("/api/superAdmin/saveWhiteUser",d()({method:"POST",params:d()({},b)},V||{})));case 1:case"end":return R.stop()}},P)})),W.apply(this,arguments)}function k(P){return w.apply(this,arguments)}function w(){return w=x()(u()().mark(function P(b){return u()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.abrupt("return",(0,h.request)("/api/superAdmin/whiteUserList",d()({method:"GET"},b||{})));case 1:case"end":return p.stop()}},P)})),w.apply(this,arguments)}},52043:function(oe,$,e){e.d($,{E7:function(){return u},FG:function(){return N},aV:function(){return x}});var N=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(c){var n=[];if(!c)return n;for(var M=c>>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"],Z=0,W=j;Z>=1}return n},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"}]},d=function(c){var n=new Date(c),M=n.getFullYear().toString().padStart(4,"0"),j=(n.getMonth()+1).toString().padStart(2,"0"),Z=n.getDate().toString().padStart(2,"0");return M+j+Z},X=function(c,n){var M=c.toString();return M.padStart(n,"0")},x=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"))}}}]); diff --git a/dist/p__AdvRecordListV2.f8055b8e.async.js b/dist/p__AdvRecordListV2.f8055b8e.async.js new file mode 100644 index 0000000..8b94f35 --- /dev/null +++ b/dist/p__AdvRecordListV2.f8055b8e.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[542],{40110:function(ve,$,e){var K=e(1413),v=e(67294),Y=e(509),m=e(91146),H=function(g,i){return v.createElement(m.Z,(0,K.Z)((0,K.Z)({},g),{},{ref:i,icon:Y.Z}))},C=v.forwardRef(H);$.Z=C},24666:function(ve,$,e){e.r($),e.d($,{default:function(){return N}});var K=e(97857),v=e.n(K),Y=e(15009),m=e.n(Y),H=e(99289),C=e.n(H),x=e(5574),g=e.n(x),i=e(48357),Z=e(78677),A=e(39615),L=e(90930),G=e(67539),_=e(57470),V=e(64317),fe=e(34540),X=e(13169),re=e(71230),M=e(15746),de=e(16250),k=e(27484),n=e.n(k),q=e(9220),T=e(67294),ee=e(96974),a=function(r){return r?parseFloat((r/1e5).toFixed(2)):0},f=function(r){return r?parseFloat((r/100).toFixed(2)):0},d=e(26839),s=function(){return s=Object.assign||function(y){for(var r,S=1,h=arguments.length;S=n()().startOf("day")},te=function(){var z=C()(m()().mark(function w(F){var E,J,P,o;return m()().wrap(function(ae){for(;;)switch(ae.prev=ae.next){case 0:return ae.next=2,(0,i.jD)(F);case 2:J=ae.sent,P=[],(E=J.data)===null||E===void 0||E.forEach(function(D){D.advType===1&&P.push({type:"\u6A2A\u5E45",value:a(D.income)}),D.advType===2&&P.push({type:"\u63D2\u9875",value:a(D.income)}),D.advType===3&&P.push({type:"\u89C6\u9891",value:a(D.income)})}),o=P.reduce(function(D,he){return D+he.value},0),P.forEach(function(D){D.\u6536\u5165=D.value+"\u5143",o>0&&(D.\u767E\u5206\u6BD4=(D.value/o*100).toFixed(1)+"%")}),W(P);case 8:case"end":return ae.stop()}},w)}));return function(F){return z.apply(this,arguments)}}(),ue={data:I,title:{title:"\u5386\u53F2\u6570\u636E",align:"center"},angleField:"value",colorField:"type",height:200,marginTop:20,label:{text:"value",position:"outside"},legend:{color:{title:!1,position:"right",rowPadding:5}},tooltip:{title:"type",items:[{name:"\u6536\u5165",field:"\u6536\u5165"},{name:"\u5360\u6BD4",field:"\u767E\u5206\u6BD4"}]}},le=function(w,F){var E=parseInt(F[0]),J=parseInt(F[1]);te(E&&J?{code:r.appCode,beginDate:E,endDate:J}:{code:r.appCode})};return(0,T.useEffect)(function(){te({code:r.appCode})},[r.appCode]),(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(Q.Z,{style:{height:300},children:[(0,t.jsx)(ce,{onChange:le,format:"YYYYMMDD",disabledDate:O}),I.length>0&&(0,t.jsx)(ie,v()({},ue))]})})},ye=pe,je=function(r){var S=(0,T.useState)([]),h=g()(S,2),I=h[0],W=h[1],O=function(){var ue=C()(m()().mark(function le(){var z,w,F,E;return m()().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return P.next=2,(0,i.R2)({code:r.appCode});case 2:w=P.sent,F=[],(z=w.data)===null||z===void 0||z.forEach(function(o){o.advType===1&&F.push({type:"\u6A2A\u5E45",value:a(o.income)}),o.advType===2&&F.push({type:"\u63D2\u9875",value:a(o.income)}),o.advType===3&&F.push({type:"\u89C6\u9891",value:a(o.income)})}),E=F.reduce(function(o,me){return o+me.value},0),F.forEach(function(o){o.\u6536\u5165=o.value+"\u5143",E>0&&(o.\u767E\u5206\u6BD4=(o.value/E*100).toFixed(1)+"%")}),W(F);case 8:case"end":return P.stop()}},le)}));return function(){return ue.apply(this,arguments)}}(),te={data:I,title:{title:"\u4ECA\u65E5\u6570\u636E",align:"center"},angleField:"value",colorField:"type",height:200,marginTop:20,label:{text:"value",position:"outside"},legend:{color:{title:!1,position:"right",rowPadding:5}},tooltip:{title:"type",items:[{name:"\u6536\u5165",field:"\u6536\u5165"},{name:"\u5360\u6BD4",field:"\u767E\u5206\u6BD4"}]}};return(0,T.useEffect)(function(){O()},[r.appCode]),(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(Q.Z,{style:{height:300},children:I.length>0&&(0,t.jsx)(ie,v()({},te))})})},B=je,c=e(42767),j=function(){var r=(0,T.useRef)(),S=(0,T.useState)(void 0),h=g()(S,2),I=h[0],W=h[1],O=function(){return window.innerWidth<=768},te=(0,T.useState)({deviceId:{show:!O()},appName:{show:!O()},platform:{show:!O()},deviceBrand:{show:!O()},deviceName:{show:!O()},ip:{show:!O()},advType:{show:!O()}}),ue=g()(te,2),le=ue[0],z=ue[1],w=[{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(l){return l/100}},{title:"\u5355\u6761\u6536\u5165(\u5143)",dataIndex:"ecpm",hideInSearch:!0,renderText:function(l){return a(l)}},{title:"\u8BBE\u5907",dataIndex:"device",hideInSearch:!0,renderText:function(l,b){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{children:b.deviceBrand}),(0,t.jsx)("p",{children:b.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(l,b){if(b.user)return(0,t.jsx)(c.Z,{data:b.user})}},{title:"\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u65F6\u95F4",hideInTable:!0,dataIndex:"createdAt",valueType:"dateRange"}],F=(0,ee.UO)(),E=F.code,J=(0,T.useState)(),P=g()(J,2),o=P[0],me=P[1],ae=(0,T.useState)([]),D=g()(ae,2),he=D[0],Te=D[1],xe=A.Z.Divider,Ce=(0,T.useState)(!1),Ee=g()(Ce,2),ge=Ee[0],Ie=Ee[1],Pe=function(){var p=C()(m()().mark(function l(b){var U;return m()().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,(0,i.d1)({appCode:b});case 2:U=R.sent,U.data&&me(U.data);case 4:case"end":return R.stop()}},l)}));return function(b){return p.apply(this,arguments)}}(),Ae=function(){var p=C()(m()().mark(function l(b){var U;return m()().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return R.next=2,(0,i.Zb)(v()(v()({},b),{},{code:E}));case 2:U=R.sent,U.data&&Te(U.data);case 4:case"end":return R.stop()}},l)}));return function(b){return p.apply(this,arguments)}}();(0,T.useEffect)(function(){var p;(p=r.current)===null||p===void 0||p.reload(),Pe(E),Ae({code:E})},[E]);var De=he.map(function(p){return{date:function(){var l=p.date+"",b=l.slice(0,4),U=l.slice(4,6),ne=l.slice(6,8);return"".concat(b,"-").concat(U,"-").concat(ne)}(),income:a(p.income)}}),be={data:De,xField:"date",yField:"income",tooltip:{name:"\u6536\u5165",field:"income"},axis:{date:{title:"\u65E5\u671F"}},title:"\u7D2F\u8BA1"+a(he.reduce(function(p,l){return p+(l.income?l.income:0)},0))+"\u5143",height:400,label:{text:function(l){return l.income>0?l.income:""},textBaseline:"bottom"}};return(0,t.jsx)(L._z,{children:(0,t.jsxs)(X.Z,{defaultActiveKey:"1",centered:!0,style:{backgroundColor:"white",padding:"20px"},children:[(0,t.jsx)(de.Z,{tab:"\u5E7F\u544A\u8BE6\u60C5",children:(0,t.jsx)(G.Z,{headerTitle:I?"\u8868\u683C\u7D2F\u8BA1\uFF1A"+a(I)+"\u5143":"",actionRef:r,rowKey:"key",search:{labelWidth:120},request:function(){var p=C()(m()().mark(function l(b){var U,ne,R,Se;return m()().wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:return oe.next=2,(0,i._5)(v()(v()({},b),{},{code:E}));case 2:return R=oe.sent,b.current===1&&W((Se=R.data)===null||Se===void 0?void 0:Se.sum),oe.abrupt("return",{data:(U=R.data)===null||U===void 0?void 0:U.data,total:(ne=R.data)===null||ne===void 0?void 0:ne.total,success:!0});case 5:case"end":return oe.stop()}},l)}));return function(l){return p.apply(this,arguments)}}(),columns:w,columnsState:{value:le,onChange:function(l){z(l)}}})},"1"),(0,t.jsxs)(de.Z,{tab:"\u6570\u636E\u603B\u89C8",children:[(0,t.jsx)(q.Z,{onResize:function(l){Ie(l.width<596)},children:(0,t.jsx)(A.Z,{children:(0,t.jsxs)(A.Z.Group,{direction:ge?"column":"row",children:[(0,t.jsx)(A.Z,{statistic:{title:"\u4E0A\u6708\u6536\u5165\uFF08\u5143\uFF09",value:a(o==null?void 0:o.lastMonthIncome)}}),(0,t.jsx)(xe,{type:ge?"horizontal":"vertical"}),(0,t.jsx)(A.Z,{statistic:{title:"\u672C\u6708\u6536\u5165\uFF08\u5143\uFF09",value:a(o==null?void 0:o.thisMonthIncome)}}),(0,t.jsx)(xe,{type:ge?"horizontal":"vertical"}),(0,t.jsx)(A.Z,{statistic:{title:"\u4ECA\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:a(o==null?void 0:o.todayIncome)}}),(0,t.jsx)(xe,{type:ge?"horizontal":"vertical"}),(0,t.jsx)(A.Z,{statistic:{title:"\u6628\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:a(o==null?void 0:o.yesterdayIncome)}})]})})},"resize-observer"),(0,t.jsxs)(re.Z,{children:[(0,t.jsx)(M.Z,{span:10,offset:1,children:(0,t.jsx)(ye,{appCode:E||""})}),(0,t.jsx)(M.Z,{span:10,offset:2,children:(0,t.jsx)(B,{appCode:E||""})})]}),(0,t.jsxs)(_.t,{defaultCollapsed:!0,split:!0,onFinish:Ae,children:[(0,t.jsx)(V.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,t.jsx)(V.Z,{name:"advType",label:"\u5E7F\u544A\u7C7B\u578B",valueEnum:{1:"\u6A2A\u5E45",2:"\u63D2\u9875",3:"\u6FC0\u52B1\u89C6\u9891"}}),(0,t.jsx)(fe.Z,{fieldProps:{disabledDate:function(l){return l&&l>=n()().startOf("day")}},name:"date",label:"\u65F6\u95F4"})]}),(0,t.jsx)(Z.Z,v()({},be))]},"2")]})})},N=j},42767:function(ve,$,e){e.d($,{Z:function(){return a}});var K=e(5574),v=e.n(K),Y=e(55241),m=e(2487),H=e(71230),C=e(7134),x=e(67294),g=e(52043),i=e(15009),Z=e.n(i),A=e(97857),L=e.n(A),G=e(99289),_=e.n(G),V=e(40110),fe=e(67539),X=e(55102),re=e(42075),M=e(14726),de=e(17788),k=e(4575),n=e(85893),q=function(d){var s=(0,x.useState)(),u=v()(s,2),ie=u[0],se=u[1],Q=(0,x.useState)(),t=v()(Q,2),ce=t[0],pe=t[1],ye=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",ellipsis:!0,hideInSearch:!0,filterDropdown:function(c){var j=c.setSelectedKeys,N=c.selectedKeys,y=c.confirm,r=c.clearFilters;return(0,n.jsxs)("div",{style:{padding:8},children:[(0,n.jsx)(X.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:N[0],onChange:function(h){return j(h.target.value?[h.target.value]:[])},onPressEnter:function(){return y()},style:{marginBottom:8,display:"block"}}),(0,n.jsxs)(re.Z,{children:[(0,n.jsx)(M.ZP,{onClick:function(){return y()},type:"primary",children:"\u641C\u7D22"}),(0,n.jsx)(M.ZP,{onClick:function(){return r&&r()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(c,j){return typeof c=="string"&&typeof(j==null?void 0:j.appName)=="string"?j.appName.includes(c):!1},filterIcon:function(c){return(0,n.jsx)(V.Z,{style:{color:c?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u5E94\u7528\u5305\u540D",dataIndex:"packageName",hideInSearch:!0,ellipsis:!0,filterDropdown:function(c){var j=c.setSelectedKeys,N=c.selectedKeys,y=c.confirm,r=c.clearFilters;return(0,n.jsxs)("div",{style:{padding:8},children:[(0,n.jsx)(X.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:N[0],onChange:function(h){return j(h.target.value?[h.target.value]:[])},onPressEnter:function(){return y()},style:{marginBottom:8,display:"block"}}),(0,n.jsxs)(re.Z,{children:[(0,n.jsx)(M.ZP,{onClick:function(){return y()},type:"primary",children:"\u641C\u7D22"}),(0,n.jsx)(M.ZP,{onClick:function(){return r&&r()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(c,j){return typeof c=="string"&&typeof(j==null?void 0:j.packageName)=="string"?j.packageName.includes(c):!1},filterIcon:function(c){return(0,n.jsx)(V.Z,{style:{color:c?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}}],je=function(){var B=_()(Z()().mark(function c(){var j,N,y,r;return Z()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,(0,k.ai)();case 2:j=h.sent,j.data&&(y=[],r=[],(N=d.data.localAppList)===null||N===void 0||N.forEach(function(I){var W;(W=j.data)!==null&&W!==void 0&&W.some(function(O){return O.packageName===I.packageName})?y.push(L()(L()({},I),{},{evil:!0})):r.push(L()(L()({},I),{},{evil:!1}))}),se([].concat(y,r)),pe([].concat(y,r)));case 4:case"end":return h.stop()}},c)}));return function(){return B.apply(this,arguments)}}();return(0,x.useEffect)(function(){je()},[]),(0,n.jsx)(de.Z,{style:{width:600},onCancel:d.onClose,visible:!0,footer:[],children:(0,n.jsx)(fe.Z,{onRow:function(c){return{style:{backgroundColor:c.evil?"red":"transparent"}}},search:!1,onReset:function(){pe(ie)},columns:ye,dataSource:ce})})},T=q,ee=function(d){var s=(0,x.useState)(!1),u=v()(s,2),ie=u[0],se=u[1],Q=(0,g.E7)(d.data.env);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(Y.Z,{content:(0,n.jsxs)(n.Fragment,{children:[d.data.localAppList&&d.data.localAppList.length>0&&(0,n.jsxs)("p",{children:[(0,n.jsx)("label",{children:"\u5DF2\u5B89\u88C5\u5E94\u7528\uFF1A"}),d.data.localAppList.length,"\u4E2A",(0,n.jsx)("a",{onClick:function(){se(!0)},style:{marginLeft:20},children:"\u67E5\u770B"})]}),Q.length>0&&(0,n.jsx)(m.Z,{size:"small",header:(0,n.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:Q,renderItem:function(ce){return(0,n.jsx)(m.Z.Item,{children:ce})}})]}),children:(0,n.jsxs)(H.Z,{children:[(0,n.jsx)(C.C,{src:d.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,n.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:Q.length>0?"red":""},children:["id:",d.data.id,(0,n.jsx)("br",{}),d.data.nickname||d.data.mobile]})]})}),ie&&(0,n.jsx)(T,{onClose:function(){se(!1)},data:d.data})]})},a=ee},4575:function(ve,$,e){e.d($,{XM:function(){return _},ai:function(){return Z},nr:function(){return T},vE:function(){return re}});var K=e(15009),v=e.n(K),Y=e(97857),m=e.n(Y),H=e(99289),C=e.n(H),x=e(35312);function g(a,f){return i.apply(this,arguments)}function i(){return i=_asyncToGenerator(_regeneratorRuntime().mark(function a(f,d){return _regeneratorRuntime().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",request("/api/admin/superAdmin/addSchedule",_objectSpread({method:"POST",headers:{"Content-Type":"application/json"},data:f},d||{})));case 1:case"end":return u.stop()}},a)})),i.apply(this,arguments)}function Z(a){return A.apply(this,arguments)}function A(){return A=C()(v()().mark(function a(f){return v()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.abrupt("return",(0,x.request)("/api/admin/superAdmin/evilAppList",m()({method:"GET"},f||{})));case 1:case"end":return s.stop()}},a)})),A.apply(this,arguments)}function L(a){return G.apply(this,arguments)}function G(){return G=_asyncToGenerator(_regeneratorRuntime().mark(function a(f){return _regeneratorRuntime().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.abrupt("return",request("/api/admin/superAdmin/innerUserList",_objectSpread({method:"GET"},f||{})));case 1:case"end":return s.stop()}},a)})),G.apply(this,arguments)}function _(a,f){return V.apply(this,arguments)}function V(){return V=C()(v()().mark(function a(f,d){return v()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",(0,x.request)("/api/admin/superAdmin/saveEvilApp",m()({method:"POST",headers:{"Content-Type":"application/json"},data:f},d||{})));case 1:case"end":return u.stop()}},a)})),V.apply(this,arguments)}function fe(a,f){return X.apply(this,arguments)}function X(){return X=_asyncToGenerator(_regeneratorRuntime().mark(function a(f,d){return _regeneratorRuntime().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",request("/api/admin/superAdmin/saveInnerUser",_objectSpread({method:"POST",params:_objectSpread({},f)},d||{})));case 1:case"end":return u.stop()}},a)})),X.apply(this,arguments)}function re(a,f){return M.apply(this,arguments)}function M(){return M=C()(v()().mark(function a(f,d){return v()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",(0,x.request)("/api/admin/superAdmin/saveWhiteUser",m()({method:"POST",params:m()({},f)},d||{})));case 1:case"end":return u.stop()}},a)})),M.apply(this,arguments)}function de(a){return k.apply(this,arguments)}function k(){return k=_asyncToGenerator(_regeneratorRuntime().mark(function a(f){return _regeneratorRuntime().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.abrupt("return",request("/api/admin/superAdmin/scheduleList",_objectSpread({method:"GET"},f||{})));case 1:case"end":return s.stop()}},a)})),k.apply(this,arguments)}function n(a,f){return q.apply(this,arguments)}function q(){return q=_asyncToGenerator(_regeneratorRuntime().mark(function a(f,d){return _regeneratorRuntime().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",request("/api/admin/superAdmin/transfer",_objectSpread({method:"POST",params:_objectSpread({},f)},d||{})));case 1:case"end":return u.stop()}},a)})),q.apply(this,arguments)}function T(a){return ee.apply(this,arguments)}function ee(){return ee=C()(v()().mark(function a(f){return v()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.abrupt("return",(0,x.request)("/api/admin/superAdmin/whiteUserList",m()({method:"GET"},f||{})));case 1:case"end":return s.stop()}},a)})),ee.apply(this,arguments)}},52043:function(ve,$,e){e.d($,{E7:function(){return v},FG:function(){return K},aV:function(){return C}});var K=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"},{label:"\u5229\u597D",value:"lihao"},{label:"\u4F73\u7476",value:"jiayao"}]},v=function(g){var i=[];if(!g)return i;for(var Z=g>>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"],L=0,G=A;L>=1}return i},Y=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"}]},m=function(g){var i=new Date(g),Z=i.getFullYear().toString().padStart(4,"0"),A=(i.getMonth()+1).toString().padStart(2,"0"),L=i.getDate().toString().padStart(2,"0");return Z+A+L},H=function(g,i){var Z=g.toString();return Z.padStart(i,"0")},C=function(g){var i=g;return i<1024?i+" B":(i=parseFloat((i/1024).toFixed(2)),i<1024?i+" KB":(i=parseFloat((i/1024).toFixed(2)),i+" MB"))}}}]); diff --git a/dist/p__Proxy__ProxyAdvRecordListV2.95a376ea.async.js b/dist/p__Proxy__ProxyAdvRecordListV2.95a376ea.async.js new file mode 100644 index 0000000..390d7eb --- /dev/null +++ b/dist/p__Proxy__ProxyAdvRecordListV2.95a376ea.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[990],{40110:function(ee,U,e){var S=e(1413),a=e(67294),F=e(509),d=e(91146),w=function(P,i){return a.createElement(d.Z,(0,S.Z)((0,S.Z)({},P),{},{ref:i,icon:F.Z}))},h=a.forwardRef(w);U.Z=h},42521:function(ee,U,e){e.r(U);var S=e(15009),a=e.n(S),F=e(97857),d=e.n(F),w=e(99289),h=e.n(w),p=e(5574),P=e.n(p),i=e(48357),y=e(80484),D=e(78677),O=e(90930),x=e(67539),M=e(39615),R=e(57470),H=e(64317),L=e(34540),N=e(35312),b=e(13169),f=e(96074),_=e(16250),r=e(27484),I=e.n(r),s=e(9220),C=e(67294),o=e(96974),c=e(42767),t=e(85893),l=function(){var J=(0,C.useRef)(),Q=(0,C.useRef)(),Y=(0,C.useState)(!1),z=P()(Y,2),X=z[0],re=z[1],ne=(0,N.useIntl)(),ae=(0,o.UO)(),T=ae.code,m=(0,C.useState)(),E=P()(m,2),j=E[0],B=E[1],K=(0,C.useState)([]),Z=P()(K,2),A=Z[0],te=Z[1],V=function(){return window.innerWidth<=768},se=(0,C.useState)({deviceId:{show:!V()},appName:{show:!V()},platform:{show:!V()},deviceBrand:{show:!V()},deviceName:{show:!V()},ip:{show:!V()}}),ie=P()(se,2),oe=ie[0],le=ie[1],de=[{title:"\u7528\u6237id",dataIndex:"userId",valueType:"textarea",hideInTable:!0},{title:"\u8BBE\u5907id",dataIndex:"deviceId",valueType:"textarea",ellipsis:!0,copyable:!0,hideInSearch:!0},{title:"\u7528\u6237",dataIndex:"user",hideInSearch:!0,width:150,renderText:function(n,g){if(g.user)return(0,t.jsx)(c.Z,{data:g.user})}},{title:"\u5E73\u53F0",dataIndex:"platform",valueEnum:{1:{text:"\u7A7F\u5C71\u7532"},2:{text:"\u817E\u8BAF"},3:{text:"\u767E\u5EA6\u8054\u76DF"},4:{text:"Mintegral"},5:{text:"\u5FEB\u624B"},6:{text:"\u6E38\u53EF\u8D62"},7:{text:"Sigmob"},8:{text:"Admob"}}},{title:"ecpm(\u5143)",dataIndex:"ecpm",hideInSearch:!0,renderText:function(n){return n/100}},{title:"ecpm-\u4EE3\u7406\u6536\u5165(\u5143)",dataIndex:"ecpmAdmin",hideInSearch:!0,renderText:function(n){return n/100}},{title:"\u8BBE\u5907",dataIndex:"device",hideInSearch:!0,renderText:function(n,g){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{children:g.deviceBrand}),(0,t.jsx)("p",{children:g.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 v=h()(a()().mark(function n(g){var $,W,G;return a()().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:return q.next=2,(0,i._5)(d()(d()({},g),{},{code:T}));case 2:return G=q.sent,q.abrupt("return",{data:($=G.data)===null||$===void 0?void 0:$.data,total:(W=G.data)===null||W===void 0?void 0:W.total,success:!0});case 4:case"end":return q.stop()}},n)}));return function(g){return v.apply(this,arguments)}}(),ce=function(){var v=h()(a()().mark(function n(){var g;return a()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,(0,y.OE)({appCode:T});case 2:g=W.sent,g.data&&B(g.data);case 4:case"end":return W.stop()}},n)}));return function(){return v.apply(this,arguments)}}(),ue=function(){var v=h()(a()().mark(function n(g){var $;return a()().wrap(function(G){for(;;)switch(G.prev=G.next){case 0:return G.next=2,(0,y.di)(d()(d()({},g),{},{code:T}));case 2:$=G.sent,$.data&&te($.data);case 4:case"end":return G.stop()}},n)}));return function(g){return v.apply(this,arguments)}}();(0,C.useEffect)(function(){var v,n;(v=J.current)===null||v===void 0||v.reload(),(n=Q.current)===null||n===void 0||n.reload(),ce(),ue(void 0)},[T]);var k=function(n){return n?parseFloat((n/1e5).toFixed(2)):0},me=A.map(function(v){return{date:function(){var n=v.date+"",g=n.slice(0,4),$=n.slice(4,6),W=n.slice(6,8);return"".concat(g,"-").concat($,"-").concat(W)}(),income:k(v.income)}}),pe={data:me,xField:"date",yField:"income",tooltip:{name:"\u6536\u5165",field:"income"},axis:{date:{title:"\u65E5\u671F"}},title:"\u7D2F\u8BA1"+k(A.reduce(function(v,n){return v+(n.income?n.income:0)},0))+"\u5143",height:400,label:{text:function(n){return n.income>0?n.income:""},textBaseline:"bottom"}};return(0,t.jsx)(O._z,{children:(0,t.jsxs)(b.Z,{defaultActiveKey:"2",centered:!0,style:{backgroundColor:"white",padding:"20px"},children:[(0,t.jsx)(_.Z,{tab:"\u5E7F\u544A\u8BE6\u60C5",children:(0,t.jsx)(x.Z,{headerTitle:ne.formatMessage({id:"pages.searchTable.title",defaultMessage:"Enquiry form"}),actionRef:J,rowKey:"id",search:{labelWidth:120},request:_e,columns:de,columnsState:{value:oe,onChange:function(n){le(n)}}})},"2"),(0,t.jsxs)(_.Z,{tab:"\u6570\u636E\u603B\u89C8",children:[(0,t.jsx)(s.Z,{onResize:function(n){re(n.width<596)},children:(0,t.jsx)(M.Z,{children:(0,t.jsxs)(M.Z.Group,{direction:X?"column":"row",children:[(0,t.jsx)(M.Z,{statistic:{title:"\u4E0A\u6708\u6536\u5165\uFF08\u5143\uFF09",value:k(j==null?void 0:j.lastMonthIncome)}}),(0,t.jsx)(f.Z,{type:X?"horizontal":"vertical"}),(0,t.jsx)(M.Z,{statistic:{title:"\u672C\u6708\u6536\u5165\uFF08\u5143\uFF09",value:k(j==null?void 0:j.thisMonthIncome)}}),(0,t.jsx)(f.Z,{type:X?"horizontal":"vertical"}),(0,t.jsx)(M.Z,{statistic:{title:"\u4ECA\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:k(j==null?void 0:j.todayIncome)}}),(0,t.jsx)(f.Z,{type:X?"horizontal":"vertical"}),(0,t.jsx)(M.Z,{statistic:{title:"\u6628\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:k(j==null?void 0:j.yesterdayIncome)}})]})})},"resize-observer"),(0,t.jsxs)(R.t,{defaultCollapsed:!0,split:!0,onFinish:ue,children:[(0,t.jsx)(H.Z,{label:"\u5E73\u53F0",name:"platform",valueEnum:{1:"\u7A7F\u5C71\u7532",2:"\u817E\u8BAF",3:"\u767E\u5EA6\u8054\u76DF",4:"Mintegral",5:"\u5FEB\u624B",6:"\u6E38\u53EF\u8D62",7:"Sigmob",8:"Admob"}}),(0,t.jsx)(L.Z,{fieldProps:{disabledDate:function(n){return n&&n>=I()().startOf("day")}},name:"date",label:"\u65F6\u95F4"})]}),(0,t.jsx)(D.Z,d()({},pe))]},"3")]})})};U.default=l},42767:function(ee,U,e){e.d(U,{Z:function(){return o}});var S=e(5574),a=e.n(S),F=e(55241),d=e(2487),w=e(71230),h=e(7134),p=e(67294),P=e(52043),i=e(15009),y=e.n(i),D=e(97857),O=e.n(D),x=e(99289),M=e.n(x),R=e(40110),H=e(67539),L=e(55102),N=e(42075),b=e(14726),f=e(17788),_=e(4575),r=e(85893),I=function(t){var l=(0,p.useState)(),u=a()(l,2),J=u[0],Q=u[1],Y=(0,p.useState)(),z=a()(Y,2),X=z[0],re=z[1],ne=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",ellipsis:!0,hideInSearch:!0,filterDropdown:function(m){var E=m.setSelectedKeys,j=m.selectedKeys,B=m.confirm,K=m.clearFilters;return(0,r.jsxs)("div",{style:{padding:8},children:[(0,r.jsx)(L.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:j[0],onChange:function(A){return E(A.target.value?[A.target.value]:[])},onPressEnter:function(){return B()},style:{marginBottom:8,display:"block"}}),(0,r.jsxs)(N.Z,{children:[(0,r.jsx)(b.ZP,{onClick:function(){return B()},type:"primary",children:"\u641C\u7D22"}),(0,r.jsx)(b.ZP,{onClick:function(){return K&&K()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(m,E){return typeof m=="string"&&typeof(E==null?void 0:E.appName)=="string"?E.appName.includes(m):!1},filterIcon:function(m){return(0,r.jsx)(R.Z,{style:{color:m?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u5E94\u7528\u5305\u540D",dataIndex:"packageName",hideInSearch:!0,ellipsis:!0,filterDropdown:function(m){var E=m.setSelectedKeys,j=m.selectedKeys,B=m.confirm,K=m.clearFilters;return(0,r.jsxs)("div",{style:{padding:8},children:[(0,r.jsx)(L.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:j[0],onChange:function(A){return E(A.target.value?[A.target.value]:[])},onPressEnter:function(){return B()},style:{marginBottom:8,display:"block"}}),(0,r.jsxs)(N.Z,{children:[(0,r.jsx)(b.ZP,{onClick:function(){return B()},type:"primary",children:"\u641C\u7D22"}),(0,r.jsx)(b.ZP,{onClick:function(){return K&&K()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(m,E){return typeof m=="string"&&typeof(E==null?void 0:E.packageName)=="string"?E.packageName.includes(m):!1},filterIcon:function(m){return(0,r.jsx)(R.Z,{style:{color:m?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}}],ae=function(){var T=M()(y()().mark(function m(){var E,j,B,K;return y()().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,(0,_.ai)();case 2:E=A.sent,E.data&&(B=[],K=[],(j=t.data.localAppList)===null||j===void 0||j.forEach(function(te){var V;(V=E.data)!==null&&V!==void 0&&V.some(function(se){return se.packageName===te.packageName})?B.push(O()(O()({},te),{},{evil:!0})):K.push(O()(O()({},te),{},{evil:!1}))}),Q([].concat(B,K)),re([].concat(B,K)));case 4:case"end":return A.stop()}},m)}));return function(){return T.apply(this,arguments)}}();return(0,p.useEffect)(function(){ae()},[]),(0,r.jsx)(f.Z,{style:{width:600},onCancel:t.onClose,visible:!0,footer:[],children:(0,r.jsx)(H.Z,{onRow:function(m){return{style:{backgroundColor:m.evil?"red":"transparent"}}},search:!1,onReset:function(){re(J)},columns:ne,dataSource:X})})},s=I,C=function(t){var l=(0,p.useState)(!1),u=a()(l,2),J=u[0],Q=u[1],Y=(0,P.E7)(t.data.env);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(F.Z,{content:(0,r.jsxs)(r.Fragment,{children:[t.data.localAppList&&t.data.localAppList.length>0&&(0,r.jsxs)("p",{children:[(0,r.jsx)("label",{children:"\u5DF2\u5B89\u88C5\u5E94\u7528\uFF1A"}),t.data.localAppList.length,"\u4E2A",(0,r.jsx)("a",{onClick:function(){Q(!0)},style:{marginLeft:20},children:"\u67E5\u770B"})]}),Y.length>0&&(0,r.jsx)(d.Z,{size:"small",header:(0,r.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:Y,renderItem:function(X){return(0,r.jsx)(d.Z.Item,{children:X})}})]}),children:(0,r.jsxs)(w.Z,{children:[(0,r.jsx)(h.C,{src:t.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,r.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:Y.length>0?"red":""},children:["id:",t.data.id,(0,r.jsx)("br",{}),t.data.nickname||t.data.mobile]})]})}),J&&(0,r.jsx)(s,{onClose:function(){Q(!1)},data:t.data})]})},o=C},80484:function(ee,U,e){e.d(U,{OE:function(){return O},di:function(){return y},n4:function(){return H},ps:function(){return N},sk:function(){return M}});var S=e(15009),a=e.n(S),F=e(97857),d=e.n(F),w=e(99289),h=e.n(w),p=e(35312);function P(f,_){return i.apply(this,arguments)}function i(){return i=_asyncToGenerator(_regeneratorRuntime().mark(function f(_,r){return _regeneratorRuntime().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.abrupt("return",request("/api/admin/device/calc",_objectSpread({method:"GET",params:_objectSpread({},_)},r||{})));case 1:case"end":return s.stop()}},f)})),i.apply(this,arguments)}function y(f,_){return D.apply(this,arguments)}function D(){return D=h()(a()().mark(function f(_,r){return a()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.abrupt("return",(0,p.request)("/api/admin/device/incomeDaily",d()({method:"POST",headers:{"Content-Type":"application/json"},data:_},r||{})));case 1:case"end":return s.stop()}},f)})),D.apply(this,arguments)}function O(f,_){return x.apply(this,arguments)}function x(){return x=h()(a()().mark(function f(_,r){return a()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.abrupt("return",(0,p.request)("/api/admin/device/incomeOverview",d()({method:"GET",params:d()({},_)},r||{})));case 1:case"end":return s.stop()}},f)})),x.apply(this,arguments)}function M(f,_){return R.apply(this,arguments)}function R(){return R=h()(a()().mark(function f(_,r){return a()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.abrupt("return",(0,p.request)("/api/admin/device/list",d()({method:"GET",params:d()({},_)},r||{})));case 1:case"end":return s.stop()}},f)})),R.apply(this,arguments)}function H(f,_){return L.apply(this,arguments)}function L(){return L=h()(a()().mark(function f(_,r){return a()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.abrupt("return",(0,p.request)("/api/admin/device/offline",d()({method:"POST",params:d()({},_)},r||{})));case 1:case"end":return s.stop()}},f)})),L.apply(this,arguments)}function N(f,_){return b.apply(this,arguments)}function b(){return b=h()(a()().mark(function f(_,r){return a()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.abrupt("return",(0,p.request)("/api/admin/device/online",d()({method:"POST",params:d()({},_)},r||{})));case 1:case"end":return s.stop()}},f)})),b.apply(this,arguments)}},4575:function(ee,U,e){e.d(U,{XM:function(){return M},ai:function(){return y},nr:function(){return s},vE:function(){return N}});var S=e(15009),a=e.n(S),F=e(97857),d=e.n(F),w=e(99289),h=e.n(w),p=e(35312);function P(o,c){return i.apply(this,arguments)}function i(){return i=_asyncToGenerator(_regeneratorRuntime().mark(function o(c,t){return _regeneratorRuntime().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",request("/api/admin/superAdmin/addSchedule",_objectSpread({method:"POST",headers:{"Content-Type":"application/json"},data:c},t||{})));case 1:case"end":return u.stop()}},o)})),i.apply(this,arguments)}function y(o){return D.apply(this,arguments)}function D(){return D=h()(a()().mark(function o(c){return a()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",(0,p.request)("/api/admin/superAdmin/evilAppList",d()({method:"GET"},c||{})));case 1:case"end":return l.stop()}},o)})),D.apply(this,arguments)}function O(o){return x.apply(this,arguments)}function x(){return x=_asyncToGenerator(_regeneratorRuntime().mark(function o(c){return _regeneratorRuntime().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",request("/api/admin/superAdmin/innerUserList",_objectSpread({method:"GET"},c||{})));case 1:case"end":return l.stop()}},o)})),x.apply(this,arguments)}function M(o,c){return R.apply(this,arguments)}function R(){return R=h()(a()().mark(function o(c,t){return a()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",(0,p.request)("/api/admin/superAdmin/saveEvilApp",d()({method:"POST",headers:{"Content-Type":"application/json"},data:c},t||{})));case 1:case"end":return u.stop()}},o)})),R.apply(this,arguments)}function H(o,c){return L.apply(this,arguments)}function L(){return L=_asyncToGenerator(_regeneratorRuntime().mark(function o(c,t){return _regeneratorRuntime().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",request("/api/admin/superAdmin/saveInnerUser",_objectSpread({method:"POST",params:_objectSpread({},c)},t||{})));case 1:case"end":return u.stop()}},o)})),L.apply(this,arguments)}function N(o,c){return b.apply(this,arguments)}function b(){return b=h()(a()().mark(function o(c,t){return a()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",(0,p.request)("/api/admin/superAdmin/saveWhiteUser",d()({method:"POST",params:d()({},c)},t||{})));case 1:case"end":return u.stop()}},o)})),b.apply(this,arguments)}function f(o){return _.apply(this,arguments)}function _(){return _=_asyncToGenerator(_regeneratorRuntime().mark(function o(c){return _regeneratorRuntime().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",request("/api/admin/superAdmin/scheduleList",_objectSpread({method:"GET"},c||{})));case 1:case"end":return l.stop()}},o)})),_.apply(this,arguments)}function r(o,c){return I.apply(this,arguments)}function I(){return I=_asyncToGenerator(_regeneratorRuntime().mark(function o(c,t){return _regeneratorRuntime().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",request("/api/admin/superAdmin/transfer",_objectSpread({method:"POST",params:_objectSpread({},c)},t||{})));case 1:case"end":return u.stop()}},o)})),I.apply(this,arguments)}function s(o){return C.apply(this,arguments)}function C(){return C=h()(a()().mark(function o(c){return a()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",(0,p.request)("/api/admin/superAdmin/whiteUserList",d()({method:"GET"},c||{})));case 1:case"end":return l.stop()}},o)})),C.apply(this,arguments)}},52043:function(ee,U,e){e.d(U,{E7:function(){return a},FG:function(){return S},aV:function(){return h}});var S=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(P){var i=[];if(!P)return i;for(var y=P>>1,D=["\u7528\u6237\u6253\u5F00\u4E86USB\u8C03\u8BD5\u6A21\u5F0F","\u7528\u6237\u6253\u5F00\u4E86\u5F00\u53D1\u8005\u6A21\u5F0F","\u7528\u6237\u6253\u5F00\u4E86\u65E0\u969C\u788D\u6A21\u5F0F","\u7528\u6237\u624B\u673A\u5DF2\u7ECFRoot","\u7528\u6237\u5B89\u88C5\u4E86Xpose","\u7528\u6237\u5F00\u542F\u4E86VPN","\u7528\u6237\u5F00\u542F\u4EE3\u7406","\u652F\u4ED8\u5B9D\u672A\u5B89\u88C5","\u5FAE\u4FE1\u672A\u5B89\u88C5"],O=0,x=D;O>=1}return i},F=function(){return[{label:"\u5F85\u5BA1\u6279",value:"0",color:"orange"},{label:"\u5BA1\u6279\u901A\u8FC7",value:"1",color:"green"},{label:"\u8F6C\u8D26\u4E2D",value:"2",color:"orange"},{label:"\u8F6C\u8D26\u6210\u529F",value:"3",color:"green"},{label:"\u8F6C\u8D26\u5931\u8D25",value:"-1",color:"red"},{label:"\u5BA1\u6279\u62D2\u7EDD",value:"-2",color:"red"}]},d=function(P){var i=new Date(P),y=i.getFullYear().toString().padStart(4,"0"),D=(i.getMonth()+1).toString().padStart(2,"0"),O=i.getDate().toString().padStart(2,"0");return y+D+O},w=function(P,i){var y=P.toString();return y.padStart(i,"0")},h=function(P){var i=P;return i<1024?i+" B":(i=parseFloat((i/1024).toFixed(2)),i<1024?i+" KB":(i=parseFloat((i/1024).toFixed(2)),i+" MB"))}}}]); diff --git a/dist/p__Proxy__ProxyAdvRecordListV2.f54d5e7d.async.js b/dist/p__Proxy__ProxyAdvRecordListV2.f54d5e7d.async.js deleted file mode 100644 index 124fa85..0000000 --- a/dist/p__Proxy__ProxyAdvRecordListV2.f54d5e7d.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[990],{40110:function(Q,b,e){var A=e(1413),a=e(67294),B=e(509),o=e(91146),K=function(p,s){return a.createElement(o.Z,(0,A.Z)((0,A.Z)({},p),{},{ref:s,icon:B.Z}))},f=a.forwardRef(K);b.Z=f},42521:function(Q,b,e){e.r(b);var A=e(15009),a=e.n(A),B=e(97857),o=e.n(B),K=e(99289),f=e.n(K),_=e(5574),p=e.n(_),s=e(48357),D=e(80484),x=e(78677),O=e(90930),g=e(67539),M=e(39615),T=e(57470),P=e(64317),E=e(34540),C=e(35312),c=e(13169),i=e(96074),m=e(16250),t=e(27484),F=e.n(t),u=e(9220),V=e(67294),te=e(96974),ne=e(42767),r=e(85893),k=function(){var X=(0,V.useRef)(),Y=(0,V.useRef)(),N=(0,V.useState)(!1),G=p()(N,2),w=G[0],ee=G[1],re=(0,C.useIntl)(),ae=(0,te.UO)(),y=ae.code,l=(0,V.useState)(),v=p()(l,2),h=v[0],U=v[1],R=(0,V.useState)([]),L=p()(R,2),I=L[0],q=L[1],W=function(){return window.innerWidth<=768},se=(0,V.useState)({deviceId:{show:!W()},appName:{show:!W()},platform:{show:!W()},deviceBrand:{show:!W()},deviceName:{show:!W()},ip:{show:!W()}}),ie=p()(se,2),oe=ie[0],le=ie[1],_e=[{title:"\u7528\u6237id",dataIndex:"userId",valueType:"textarea",hideInTable:!0},{title:"\u8BBE\u5907id",dataIndex:"deviceId",valueType:"textarea",ellipsis:!0,copyable:!0,hideInSearch:!0},{title:"\u7528\u6237",dataIndex:"user",hideInSearch:!0,width:150,renderText:function(n,j){if(j.user)return(0,r.jsx)(ne.Z,{data:j.user})}},{title:"\u5E73\u53F0",dataIndex:"platform",valueEnum:{1:{text:"\u7A7F\u5C71\u7532"},2:{text:"\u817E\u8BAF"},3:{text:"\u767E\u5EA6\u8054\u76DF"},4:{text:"Mintegral"},5:{text:"\u5FEB\u624B"},6:{text:"\u6E38\u53EF\u8D62"},7:{text:"Sigmob"},8:{text:"Admob"}}},{title:"ecpm(\u5143)",dataIndex:"ecpm",hideInSearch:!0,renderText:function(n){return n/100}},{title:"ecpm-\u4EE3\u7406\u6536\u5165(\u5143)",dataIndex:"ecpmAdmin",hideInSearch:!0,renderText:function(n){return n/100}},{title:"\u8BBE\u5907",dataIndex:"device",hideInSearch:!0,renderText:function(n,j){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{children:j.deviceBrand}),(0,r.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"}],de=function(){var d=f()(a()().mark(function n(j){var Z,S,$;return a()().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:return J.next=2,(0,s._5)(o()(o()({},j),{},{code:y}));case 2:return $=J.sent,J.abrupt("return",{data:(Z=$.data)===null||Z===void 0?void 0:Z.data,total:(S=$.data)===null||S===void 0?void 0:S.total,success:!0});case 4:case"end":return J.stop()}},n)}));return function(j){return d.apply(this,arguments)}}(),ce=function(){var d=f()(a()().mark(function n(){var j;return a()().wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return S.next=2,(0,D.OE)({appCode:y});case 2:j=S.sent,j.data&&U(j.data);case 4:case"end":return S.stop()}},n)}));return function(){return d.apply(this,arguments)}}(),ue=function(){var d=f()(a()().mark(function n(j){var Z;return a()().wrap(function($){for(;;)switch($.prev=$.next){case 0:return $.next=2,(0,D.di)(o()(o()({},j),{},{code:y}));case 2:Z=$.sent,Z.data&&q(Z.data);case 4:case"end":return $.stop()}},n)}));return function(j){return d.apply(this,arguments)}}();(0,V.useEffect)(function(){var d,n;(d=X.current)===null||d===void 0||d.reload(),(n=Y.current)===null||n===void 0||n.reload(),ce(),ue(void 0)},[y]);var H=function(n){return n?parseFloat((n/1e5).toFixed(2)):0},me=I.map(function(d){return{date:function(){var n=d.date+"",j=n.slice(0,4),Z=n.slice(4,6),S=n.slice(6,8);return"".concat(j,"-").concat(Z,"-").concat(S)}(),income:H(d.income)}}),fe={data:me,xField:"date",yField:"income",tooltip:{name:"\u6536\u5165",field:"income"},axis:{date:{title:"\u65E5\u671F"}},title:"\u7D2F\u8BA1"+H(I.reduce(function(d,n){return d+(n.income?n.income:0)},0))+"\u5143",height:400,label:{text:function(n){return n.income>0?n.income:""},textBaseline:"bottom"}};return(0,r.jsx)(O._z,{children:(0,r.jsxs)(c.Z,{defaultActiveKey:"2",centered:!0,style:{backgroundColor:"white",padding:"20px"},children:[(0,r.jsx)(m.Z,{tab:"\u5E7F\u544A\u8BE6\u60C5",children:(0,r.jsx)(g.Z,{headerTitle:re.formatMessage({id:"pages.searchTable.title",defaultMessage:"Enquiry form"}),actionRef:X,rowKey:"id",search:{labelWidth:120},request:de,columns:_e,columnsState:{value:oe,onChange:function(n){le(n)}}})},"2"),(0,r.jsxs)(m.Z,{tab:"\u6570\u636E\u603B\u89C8",children:[(0,r.jsx)(u.Z,{onResize:function(n){ee(n.width<596)},children:(0,r.jsx)(M.Z,{children:(0,r.jsxs)(M.Z.Group,{direction:w?"column":"row",children:[(0,r.jsx)(M.Z,{statistic:{title:"\u4E0A\u6708\u6536\u5165\uFF08\u5143\uFF09",value:H(h==null?void 0:h.lastMonthIncome)}}),(0,r.jsx)(i.Z,{type:w?"horizontal":"vertical"}),(0,r.jsx)(M.Z,{statistic:{title:"\u672C\u6708\u6536\u5165\uFF08\u5143\uFF09",value:H(h==null?void 0:h.thisMonthIncome)}}),(0,r.jsx)(i.Z,{type:w?"horizontal":"vertical"}),(0,r.jsx)(M.Z,{statistic:{title:"\u4ECA\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:H(h==null?void 0:h.todayIncome)}}),(0,r.jsx)(i.Z,{type:w?"horizontal":"vertical"}),(0,r.jsx)(M.Z,{statistic:{title:"\u6628\u65E5\u6536\u5165\uFF08\u5143\uFF09",value:H(h==null?void 0:h.yesterdayIncome)}})]})})},"resize-observer"),(0,r.jsxs)(T.t,{defaultCollapsed:!0,split:!0,onFinish:ue,children:[(0,r.jsx)(P.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)(E.Z,{fieldProps:{disabledDate:function(n){return n&&n>=F()().startOf("day")}},name:"date",label:"\u65F6\u95F4"})]}),(0,r.jsx)(x.Z,o()({},fe))]},"3")]})})};b.default=k},42767:function(Q,b,e){e.d(b,{Z:function(){return te}});var A=e(5574),a=e.n(A),B=e(55241),o=e(2487),K=e(71230),f=e(7134),_=e(67294),p=e(52043),s=e(15009),D=e.n(s),x=e(97857),O=e.n(x),g=e(99289),M=e.n(g),T=e(40110),P=e(67539),E=e(55102),C=e(42075),c=e(14726),i=e(17788),m=e(4575),t=e(85893),F=function(r){var k=(0,_.useState)(),z=a()(k,2),X=z[0],Y=z[1],N=(0,_.useState)(),G=a()(N,2),w=G[0],ee=G[1],re=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",ellipsis:!0,hideInSearch:!0,filterDropdown:function(l){var v=l.setSelectedKeys,h=l.selectedKeys,U=l.confirm,R=l.clearFilters;return(0,t.jsxs)("div",{style:{padding:8},children:[(0,t.jsx)(E.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:h[0],onChange:function(I){return v(I.target.value?[I.target.value]:[])},onPressEnter:function(){return U()},style:{marginBottom:8,display:"block"}}),(0,t.jsxs)(C.Z,{children:[(0,t.jsx)(c.ZP,{onClick:function(){return U()},type:"primary",children:"\u641C\u7D22"}),(0,t.jsx)(c.ZP,{onClick:function(){return R&&R()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(l,v){return typeof l=="string"&&typeof(v==null?void 0:v.appName)=="string"?v.appName.includes(l):!1},filterIcon:function(l){return(0,t.jsx)(T.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 v=l.setSelectedKeys,h=l.selectedKeys,U=l.confirm,R=l.clearFilters;return(0,t.jsxs)("div",{style:{padding:8},children:[(0,t.jsx)(E.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:h[0],onChange:function(I){return v(I.target.value?[I.target.value]:[])},onPressEnter:function(){return U()},style:{marginBottom:8,display:"block"}}),(0,t.jsxs)(C.Z,{children:[(0,t.jsx)(c.ZP,{onClick:function(){return U()},type:"primary",children:"\u641C\u7D22"}),(0,t.jsx)(c.ZP,{onClick:function(){return R&&R()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(l,v){return typeof l=="string"&&typeof(v==null?void 0:v.packageName)=="string"?v.packageName.includes(l):!1},filterIcon:function(l){return(0,t.jsx)(T.Z,{style:{color:l?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}}],ae=function(){var y=M()(D()().mark(function l(){var v,h,U,R;return D()().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return I.next=2,(0,m.ai)();case 2:v=I.sent,v.data&&(U=[],R=[],(h=r.data.localAppList)===null||h===void 0||h.forEach(function(q){var W;(W=v.data)!==null&&W!==void 0&&W.some(function(se){return se.packageName===q.packageName})?U.push(O()(O()({},q),{},{evil:!0})):R.push(O()(O()({},q),{},{evil:!1}))}),Y([].concat(U,R)),ee([].concat(U,R)));case 4:case"end":return I.stop()}},l)}));return function(){return y.apply(this,arguments)}}();return(0,_.useEffect)(function(){ae()},[]),(0,t.jsx)(i.Z,{style:{width:600},onCancel:r.onClose,visible:!0,footer:[],children:(0,t.jsx)(P.Z,{onRow:function(l){return{style:{backgroundColor:l.evil?"red":"transparent"}}},search:!1,onReset:function(){ee(X)},columns:re,dataSource:w})})},u=F,V=function(r){var k=(0,_.useState)(!1),z=a()(k,2),X=z[0],Y=z[1],N=(0,p.E7)(r.data.env);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(B.Z,{content:(0,t.jsxs)(t.Fragment,{children:[r.data.localAppList&&r.data.localAppList.length>0&&(0,t.jsxs)("p",{children:[(0,t.jsx)("label",{children:"\u5DF2\u5B89\u88C5\u5E94\u7528\uFF1A"}),r.data.localAppList.length,"\u4E2A",(0,t.jsx)("a",{onClick:function(){Y(!0)},style:{marginLeft:20},children:"\u67E5\u770B"})]}),N.length>0&&(0,t.jsx)(o.Z,{size:"small",header:(0,t.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:N,renderItem:function(w){return(0,t.jsx)(o.Z.Item,{children:w})}})]}),children:(0,t.jsxs)(K.Z,{children:[(0,t.jsx)(f.C,{src:r.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,t.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:N.length>0?"red":""},children:["id:",r.data.id,(0,t.jsx)("br",{}),r.data.nickname||r.data.mobile]})]})}),X&&(0,t.jsx)(u,{onClose:function(){Y(!1)},data:r.data})]})},te=V},80484:function(Q,b,e){e.d(b,{OE:function(){return O},di:function(){return D},n4:function(){return P},ps:function(){return C},sk:function(){return M}});var A=e(15009),a=e.n(A),B=e(97857),o=e.n(B),K=e(99289),f=e.n(K),_=e(35312);function p(i,m){return s.apply(this,arguments)}function s(){return s=_asyncToGenerator(_regeneratorRuntime().mark(function i(m,t){return _regeneratorRuntime().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",request("/api/admin/device/calc",_objectSpread({method:"GET",params:_objectSpread({},m)},t||{})));case 1:case"end":return u.stop()}},i)})),s.apply(this,arguments)}function D(i,m){return x.apply(this,arguments)}function x(){return x=f()(a()().mark(function i(m,t){return a()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",(0,_.request)("/api/admin/device/incomeDaily",o()({method:"POST",headers:{"Content-Type":"application/json"},data:m},t||{})));case 1:case"end":return u.stop()}},i)})),x.apply(this,arguments)}function O(i,m){return g.apply(this,arguments)}function g(){return g=f()(a()().mark(function i(m,t){return a()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",(0,_.request)("/api/admin/device/incomeOverview",o()({method:"GET",params:o()({},m)},t||{})));case 1:case"end":return u.stop()}},i)})),g.apply(this,arguments)}function M(i,m){return T.apply(this,arguments)}function T(){return T=f()(a()().mark(function i(m,t){return a()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",(0,_.request)("/api/admin/device/list",o()({method:"GET",params:o()({},m)},t||{})));case 1:case"end":return u.stop()}},i)})),T.apply(this,arguments)}function P(i,m){return E.apply(this,arguments)}function E(){return E=f()(a()().mark(function i(m,t){return a()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",(0,_.request)("/api/admin/device/offline",o()({method:"POST",params:o()({},m)},t||{})));case 1:case"end":return u.stop()}},i)})),E.apply(this,arguments)}function C(i,m){return c.apply(this,arguments)}function c(){return c=f()(a()().mark(function i(m,t){return a()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",(0,_.request)("/api/admin/device/online",o()({method:"POST",params:o()({},m)},t||{})));case 1:case"end":return u.stop()}},i)})),c.apply(this,arguments)}},4575:function(Q,b,e){e.d(b,{XM:function(){return D},ai:function(){return p},nr:function(){return M},vE:function(){return O}});var A=e(15009),a=e.n(A),B=e(97857),o=e.n(B),K=e(99289),f=e.n(K),_=e(35312);function p(P){return s.apply(this,arguments)}function s(){return s=f()(a()().mark(function P(E){return a()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.abrupt("return",(0,_.request)("/api/superAdmin/evilAppList",o()({method:"GET"},E||{})));case 1:case"end":return c.stop()}},P)})),s.apply(this,arguments)}function D(P,E){return x.apply(this,arguments)}function x(){return x=f()(a()().mark(function P(E,C){return a()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.abrupt("return",(0,_.request)("/api/superAdmin/saveEvilApp",o()({method:"POST",headers:{"Content-Type":"application/json"},data:E},C||{})));case 1:case"end":return i.stop()}},P)})),x.apply(this,arguments)}function O(P,E){return g.apply(this,arguments)}function g(){return g=f()(a()().mark(function P(E,C){return a()().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.abrupt("return",(0,_.request)("/api/superAdmin/saveWhiteUser",o()({method:"POST",params:o()({},E)},C||{})));case 1:case"end":return i.stop()}},P)})),g.apply(this,arguments)}function M(P){return T.apply(this,arguments)}function T(){return T=f()(a()().mark(function P(E){return a()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.abrupt("return",(0,_.request)("/api/superAdmin/whiteUserList",o()({method:"GET"},E||{})));case 1:case"end":return c.stop()}},P)})),T.apply(this,arguments)}},52043:function(Q,b,e){e.d(b,{E7:function(){return a},FG:function(){return A},aV:function(){return f}});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"}]},a=function(p){var s=[];if(!p)return s;for(var D=p>>1,x=["\u7528\u6237\u6253\u5F00\u4E86USB\u8C03\u8BD5\u6A21\u5F0F","\u7528\u6237\u6253\u5F00\u4E86\u5F00\u53D1\u8005\u6A21\u5F0F","\u7528\u6237\u6253\u5F00\u4E86\u65E0\u969C\u788D\u6A21\u5F0F","\u7528\u6237\u624B\u673A\u5DF2\u7ECFRoot","\u7528\u6237\u5B89\u88C5\u4E86Xpose","\u7528\u6237\u5F00\u542F\u4E86VPN","\u7528\u6237\u5F00\u542F\u4EE3\u7406","\u652F\u4ED8\u5B9D\u672A\u5B89\u88C5","\u5FAE\u4FE1\u672A\u5B89\u88C5"],O=0,g=x;O>=1}return s},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"}]},o=function(p){var s=new Date(p),D=s.getFullYear().toString().padStart(4,"0"),x=(s.getMonth()+1).toString().padStart(2,"0"),O=s.getDate().toString().padStart(2,"0");return D+x+O},K=function(p,s){var D=p.toString();return D.padStart(s,"0")},f=function(p){var s=p;return s<1024?s+" B":(s=parseFloat((s/1024).toFixed(2)),s<1024?s+" KB":(s=parseFloat((s/1024).toFixed(2)),s+" MB"))}}}]); diff --git a/dist/p__Proxy__ProxyUserManagement.107b3f81.async.js b/dist/p__Proxy__ProxyUserManagement.107b3f81.async.js deleted file mode 100644 index 3bb0c16..0000000 --- a/dist/p__Proxy__ProxyUserManagement.107b3f81.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[526],{40110:function(Y,U,r){var c=r(1413),i=r(67294),B=r(509),v=r(91146),R=function(b,a){return i.createElement(v.Z,(0,c.Z)((0,c.Z)({},b),{},{ref:a,icon:B.Z}))},E=i.forwardRef(R);U.Z=E},58371:function(Y,U,r){r.r(U);var c=r(15009),i=r.n(c),B=r(97857),v=r.n(B),R=r(99289),E=r.n(R),_=r(81072),b=r(90930),a=r(67539),P=r(35312),x=r(66309),y=r(67294),I=r(42767),m=r(85893),j=function(){var h=(0,P.useParams)(),u=h.code,g=(0,y.useRef)();(0,y.useEffect)(function(){var Z;(Z=g.current)===null||Z===void 0||Z.reload()},[u]);var L=[{title:"\u7528\u6237id",dataIndex:"userId",valueType:"textarea",hideInTable:!0},{title:"id",dataIndex:"id",valueType:"textarea",ellipsis:!0,copyable:!0,hideInSearch:!0},{title:"\u7528\u6237",hideInSearch:!0,dataIndex:"nickname",valueType:"textarea",renderText:function(t,z){return(0,m.jsx)(I.Z,{data:z})}},{title:"\u5FAE\u4FE1",dataIndex:"wxOpenId",hideInSearch:!0,renderText:function(t){return t?(0,m.jsx)(x.Z,{color:"green",children:"\u5DF2\u7ED1\u5B9A"}):(0,m.jsx)(x.Z,{color:"red",children:"\u672A\u7ED1\u5B9A"})}},{title:"\u6CE8\u518C\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u65F6\u95F4",hideInTable:!0,dataIndex:"createdAt",valueType:"dateRange",hideInSearch:!0}];return(0,m.jsx)(b._z,{children:(0,m.jsx)(a.Z,{actionRef:g,request:function(){var Z=E()(i()().mark(function t(z){var G,H,N;return i()().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.next=2,(0,_.pb)(v()(v()({},z),{},{appCode:u}));case 2:return N=C.sent,C.abrupt("return",{data:(G=N.data)===null||G===void 0?void 0:G.data,total:(H=N.data)===null||H===void 0?void 0:H.total,success:!0});case 4:case"end":return C.stop()}},t)}));return function(t){return Z.apply(this,arguments)}}(),columns:L})})};U.default=j},42767:function(Y,U,r){r.d(U,{Z:function(){return N}});var c=r(5574),i=r.n(c),B=r(55241),v=r(2487),R=r(71230),E=r(7134),_=r(67294),b=r(52043),a=r(15009),P=r.n(a),x=r(97857),y=r.n(x),I=r(99289),m=r.n(I),j=r(40110),f=r(67539),h=r(55102),u=r(42075),g=r(14726),L=r(17788),Z=r(4575),t=r(85893),z=function(C){var ee=(0,_.useState)(),V=i()(ee,2),k=V[0],e=V[1],s=(0,_.useState)(),d=i()(s,2),n=d[0],l=d[1],K=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",ellipsis:!0,hideInSearch:!0,filterDropdown:function(o){var p=o.setSelectedKeys,D=o.selectedKeys,M=o.confirm,O=o.clearFilters;return(0,t.jsxs)("div",{style:{padding:8},children:[(0,t.jsx)(h.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:D[0],onChange:function(A){return p(A.target.value?[A.target.value]:[])},onPressEnter:function(){return M()},style:{marginBottom:8,display:"block"}}),(0,t.jsxs)(u.Z,{children:[(0,t.jsx)(g.ZP,{onClick:function(){return M()},type:"primary",children:"\u641C\u7D22"}),(0,t.jsx)(g.ZP,{onClick:function(){return O&&O()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(o,p){return typeof o=="string"&&typeof(p==null?void 0:p.appName)=="string"?p.appName.includes(o):!1},filterIcon:function(o){return(0,t.jsx)(j.Z,{style:{color:o?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u5E94\u7528\u5305\u540D",dataIndex:"packageName",hideInSearch:!0,ellipsis:!0,filterDropdown:function(o){var p=o.setSelectedKeys,D=o.selectedKeys,M=o.confirm,O=o.clearFilters;return(0,t.jsxs)("div",{style:{padding:8},children:[(0,t.jsx)(h.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:D[0],onChange:function(A){return p(A.target.value?[A.target.value]:[])},onPressEnter:function(){return M()},style:{marginBottom:8,display:"block"}}),(0,t.jsxs)(u.Z,{children:[(0,t.jsx)(g.ZP,{onClick:function(){return M()},type:"primary",children:"\u641C\u7D22"}),(0,t.jsx)(g.ZP,{onClick:function(){return O&&O()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(o,p){return typeof o=="string"&&typeof(p==null?void 0:p.packageName)=="string"?p.packageName.includes(o):!1},filterIcon:function(o){return(0,t.jsx)(j.Z,{style:{color:o?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}}],S=function(){var T=m()(P()().mark(function o(){var p,D,M,O;return P()().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,(0,Z.ai)();case 2:p=A.sent,p.data&&(M=[],O=[],(D=C.data.localAppList)===null||D===void 0||D.forEach(function($){var X;(X=p.data)!==null&&X!==void 0&&X.some(function(w){return w.packageName===$.packageName})?M.push(y()(y()({},$),{},{evil:!0})):O.push(y()(y()({},$),{},{evil:!1}))}),e([].concat(M,O)),l([].concat(M,O)));case 4:case"end":return A.stop()}},o)}));return function(){return T.apply(this,arguments)}}();return(0,_.useEffect)(function(){S()},[]),(0,t.jsx)(L.Z,{style:{width:600},onCancel:C.onClose,visible:!0,footer:[],children:(0,t.jsx)(f.Z,{onRow:function(o){return{style:{backgroundColor:o.evil?"red":"transparent"}}},search:!1,onReset:function(){l(k)},columns:K,dataSource:n})})},G=z,H=function(C){var ee=(0,_.useState)(!1),V=i()(ee,2),k=V[0],e=V[1],s=(0,b.E7)(C.data.env);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(B.Z,{content:(0,t.jsxs)(t.Fragment,{children:[C.data.localAppList&&C.data.localAppList.length>0&&(0,t.jsxs)("p",{children:[(0,t.jsx)("label",{children:"\u5DF2\u5B89\u88C5\u5E94\u7528\uFF1A"}),C.data.localAppList.length,"\u4E2A",(0,t.jsx)("a",{onClick:function(){e(!0)},style:{marginLeft:20},children:"\u67E5\u770B"})]}),s.length>0&&(0,t.jsx)(v.Z,{size:"small",header:(0,t.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:s,renderItem:function(n){return(0,t.jsx)(v.Z.Item,{children:n})}})]}),children:(0,t.jsxs)(R.Z,{children:[(0,t.jsx)(E.C,{src:C.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,t.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:s.length>0?"red":""},children:["id:",C.data.id,(0,t.jsx)("br",{}),C.data.nickname||C.data.mobile]})]})}),k&&(0,t.jsx)(G,{onClose:function(){e(!1)},data:C.data})]})},N=H},81072:function(Y,U,r){r.d(U,{fn:function(){return y},pb:function(){return P},wv:function(){return b}});var c=r(15009),i=r.n(c),B=r(97857),v=r.n(B),R=r(99289),E=r.n(R),_=r(35312);function b(m,j){return a.apply(this,arguments)}function a(){return a=E()(i()().mark(function m(j,f){return i()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",(0,_.request)("/api/admin/user/changeStatus",v()({method:"POST",params:v()({},j)},f||{})));case 1:case"end":return u.stop()}},m)})),a.apply(this,arguments)}function P(m,j){return x.apply(this,arguments)}function x(){return x=E()(i()().mark(function m(j,f){return i()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",(0,_.request)("/api/admin/user/list",v()({method:"POST",headers:{"Content-Type":"application/json"},data:j},f||{})));case 1:case"end":return u.stop()}},m)})),x.apply(this,arguments)}function y(m,j){return I.apply(this,arguments)}function I(){return I=E()(i()().mark(function m(j,f){return i()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",(0,_.request)("/api/admin/user/queryById",v()({method:"GET",params:v()({},j)},f||{})));case 1:case"end":return u.stop()}},m)})),I.apply(this,arguments)}},4575:function(Y,U,r){r.d(U,{XM:function(){return P},ai:function(){return b},nr:function(){return m},vE:function(){return y}});var c=r(15009),i=r.n(c),B=r(97857),v=r.n(B),R=r(99289),E=r.n(R),_=r(35312);function b(f){return a.apply(this,arguments)}function a(){return a=E()(i()().mark(function f(h){return i()().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.abrupt("return",(0,_.request)("/api/superAdmin/evilAppList",v()({method:"GET"},h||{})));case 1:case"end":return g.stop()}},f)})),a.apply(this,arguments)}function P(f,h){return x.apply(this,arguments)}function x(){return x=E()(i()().mark(function f(h,u){return i()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.abrupt("return",(0,_.request)("/api/superAdmin/saveEvilApp",v()({method:"POST",headers:{"Content-Type":"application/json"},data:h},u||{})));case 1:case"end":return L.stop()}},f)})),x.apply(this,arguments)}function y(f,h){return I.apply(this,arguments)}function I(){return I=E()(i()().mark(function f(h,u){return i()().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return L.abrupt("return",(0,_.request)("/api/superAdmin/saveWhiteUser",v()({method:"POST",params:v()({},h)},u||{})));case 1:case"end":return L.stop()}},f)})),I.apply(this,arguments)}function m(f){return j.apply(this,arguments)}function j(){return j=E()(i()().mark(function f(h){return i()().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.abrupt("return",(0,_.request)("/api/superAdmin/whiteUserList",v()({method:"GET"},h||{})));case 1:case"end":return g.stop()}},f)})),j.apply(this,arguments)}},52043:function(Y,U,r){r.d(U,{E7:function(){return i},FG:function(){return c},aV:function(){return E}});var c=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"},{label:"\u5229\u597D",value:"lihao"},{label:"\u4F73\u7476",value:"jiayao"}]},i=function(b){var a=[];if(!b)return a;for(var P=b>>1,x=["\u7528\u6237\u6253\u5F00\u4E86USB\u8C03\u8BD5\u6A21\u5F0F","\u7528\u6237\u6253\u5F00\u4E86\u5F00\u53D1\u8005\u6A21\u5F0F","\u7528\u6237\u6253\u5F00\u4E86\u65E0\u969C\u788D\u6A21\u5F0F","\u7528\u6237\u624B\u673A\u5DF2\u7ECFRoot","\u7528\u6237\u5B89\u88C5\u4E86Xpose","\u7528\u6237\u5F00\u542F\u4E86VPN","\u7528\u6237\u5F00\u542F\u4EE3\u7406","\u652F\u4ED8\u5B9D\u672A\u5B89\u88C5","\u5FAE\u4FE1\u672A\u5B89\u88C5"],y=0,I=x;y>=1}return a},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"}]},v=function(b){var a=new Date(b),P=a.getFullYear().toString().padStart(4,"0"),x=(a.getMonth()+1).toString().padStart(2,"0"),y=a.getDate().toString().padStart(2,"0");return P+x+y},R=function(b,a){var P=b.toString();return P.padStart(a,"0")},E=function(b){var a=b;return a<1024?a+" B":(a=parseFloat((a/1024).toFixed(2)),a<1024?a+" KB":(a=parseFloat((a/1024).toFixed(2)),a+" MB"))}},66309:function(Y,U,r){r.d(U,{Z:function(){return k}});var c=r(67294),i=r(93967),B=r.n(i),v=r(98423),R=r(98787),E=r(69760),_=r(96159),b=r(45353),a=r(53124),P=r(54548),x=r(10274),y=r(14747),I=r(45503),m=r(91945);const j=e=>{const{paddingXXS:s,lineWidth:d,tagPaddingHorizontal:n,componentCls:l,calc:K}=e,S=K(n).sub(d).equal(),T=K(s).sub(d).equal();return{[l]:Object.assign(Object.assign({},(0,y.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,P.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:T,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:S}}),[`${l}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},f=e=>{const{lineWidth:s,fontSizeIcon:d,calc:n}=e,l=e.fontSizeSM;return(0,I.TS)(e,{tagFontSize:l,tagLineHeight:(0,P.bf)(n(e.lineHeightSM).mul(l).equal()),tagIconSize:n(d).sub(n(s).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},h=e=>({defaultBg:new x.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var u=(0,m.I$)("Tag",e=>{const s=f(e);return j(s)},h),g=function(e,s){var d={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&s.indexOf(n)<0&&(d[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,n=Object.getOwnPropertySymbols(e);l{const{prefixCls:d,style:n,className:l,checked:K,onChange:S,onClick:T}=e,o=g(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:p,tag:D}=c.useContext(a.E_),M=w=>{S==null||S(!K),T==null||T(w)},O=p("tag",d),[W,A,$]=u(O),X=B()(O,`${O}-checkable`,{[`${O}-checkable-checked`]:K},D==null?void 0:D.className,l,A,$);return W(c.createElement("span",Object.assign({},o,{ref:s,style:Object.assign(Object.assign({},n),D==null?void 0:D.style),className:X,onClick:M})))}),t=r(98719);const z=e=>(0,t.Z)(e,(s,d)=>{let{textColor:n,lightBorderColor:l,lightColor:K,darkColor:S}=d;return{[`${e.componentCls}${e.componentCls}-${s}`]:{color:n,background:K,borderColor:l,"&-inverse":{color:e.colorTextLightSolid,background:S,borderColor:S},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var G=(0,m.bk)(["Tag","preset"],e=>{const s=f(e);return z(s)},h);function H(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const N=(e,s,d)=>{const n=H(d);return{[`${e.componentCls}${e.componentCls}-${s}`]:{color:e[`color${d}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var q=(0,m.bk)(["Tag","status"],e=>{const s=f(e);return[N(s,"success","Success"),N(s,"processing","Info"),N(s,"error","Error"),N(s,"warning","Warning")]},h),C=function(e,s){var d={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&s.indexOf(n)<0&&(d[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,n=Object.getOwnPropertySymbols(e);l{const{prefixCls:d,className:n,rootClassName:l,style:K,children:S,icon:T,color:o,onClose:p,bordered:D=!0,visible:M}=e,O=C(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:W,direction:A,tag:$}=c.useContext(a.E_),[X,w]=c.useState(!0),ue=(0,v.Z)(O,["closeIcon","closable"]);c.useEffect(()=>{M!==void 0&&w(M)},[M]);const te=(0,R.o2)(o),ae=(0,R.yT)(o),re=te||ae,ce=Object.assign(Object.assign({backgroundColor:o&&!re?o:void 0},$==null?void 0:$.style),K),F=W("tag",d),[de,_e,me]=u(F),fe=B()(F,$==null?void 0:$.className,{[`${F}-${o}`]:re,[`${F}-has-color`]:o&&!re,[`${F}-hidden`]:!X,[`${F}-rtl`]:A==="rtl",[`${F}-borderless`]:!D},n,l,_e,me),se=J=>{J.stopPropagation(),p==null||p(J),!J.defaultPrevented&&w(!1)},[,pe]=(0,E.Z)((0,E.w)(e),(0,E.w)($),{closable:!1,closeIconRender:J=>{const ge=c.createElement("span",{className:`${F}-close-icon`,onClick:se},J);return(0,_.wm)(J,ge,Q=>({onClick:ie=>{var ne;(ne=Q==null?void 0:Q.onClick)===null||ne===void 0||ne.call(Q,ie),se(ie)},className:B()(Q==null?void 0:Q.className,`${F}-close-icon`)}))}}),ve=typeof O.onClick=="function"||S&&S.type==="a",oe=T||null,he=oe?c.createElement(c.Fragment,null,oe,S&&c.createElement("span",null,S)):S,le=c.createElement("span",Object.assign({},ue,{ref:s,className:fe,style:ce}),he,pe,te&&c.createElement(G,{key:"preset",prefixCls:F}),ae&&c.createElement(q,{key:"status",prefixCls:F}));return de(ve?c.createElement(b.Z,{component:"Tag"},le):le)});V.CheckableTag=Z;var k=V}}]); diff --git a/dist/p__Proxy__ProxyUserManagement.752f65f0.async.js b/dist/p__Proxy__ProxyUserManagement.752f65f0.async.js new file mode 100644 index 0000000..44718a4 --- /dev/null +++ b/dist/p__Proxy__ProxyUserManagement.752f65f0.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[526],{40110:function(w,y,r){var l=r(1413),C=r(67294),p=r(509),T=r(91146),x=function(j,I){return C.createElement(T.Z,(0,l.Z)((0,l.Z)({},j),{},{ref:I,icon:p.Z}))},h=C.forwardRef(x);y.Z=h},58371:function(w,y,r){r.r(y);var l=r(15009),C=r.n(l),p=r(97857),T=r.n(p),x=r(99289),h=r.n(x),W=r(81072),j=r(90930),I=r(67539),L=r(35312),K=r(66309),N=r(67294),H=r(42767),d=r(85893),F=function(){var M=(0,L.useParams)(),D=M.code,Z=(0,N.useRef)();(0,N.useEffect)(function(){var u;(u=Z.current)===null||u===void 0||u.reload()},[D]);var k=[{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(b,$){return(0,d.jsx)(H.Z,{data:$})}},{title:"\u5FAE\u4FE1",dataIndex:"wxOpenId",hideInSearch:!0,renderText:function(b){return b?(0,d.jsx)(K.Z,{color:"green",children:"\u5DF2\u7ED1\u5B9A"}):(0,d.jsx)(K.Z,{color:"red",children:"\u672A\u7ED1\u5B9A"})}},{title:"\u6CE8\u518C\u65F6\u95F4",hideInSearch:!0,dataIndex:"createdAt",valueType:"dateTime"},{title:"\u65F6\u95F4",hideInTable:!0,dataIndex:"createdAt",valueType:"dateRange",hideInSearch:!0}];return(0,d.jsx)(j._z,{children:(0,d.jsx)(I.Z,{actionRef:Z,request:function(){var u=h()(C()().mark(function b($){var B,R,m;return C()().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,(0,W.pb)(T()(T()({},$),{},{appCode:D}));case 2:return m=g.sent,g.abrupt("return",{data:(B=m.data)===null||B===void 0?void 0:B.data,total:(R=m.data)===null||R===void 0?void 0:R.total,success:!0});case 4:case"end":return g.stop()}},b)}));return function(b){return u.apply(this,arguments)}}(),columns:k})})};y.default=F},66309:function(w,y,r){r.d(y,{Z:function(){return se}});var l=r(67294),C=r(93967),p=r.n(C),T=r(98423),x=r(98787),h=r(69760),W=r(96159),j=r(45353),I=r(53124),L=r(54548),K=r(10274),N=r(14747),H=r(45503),d=r(91945);const F=e=>{const{paddingXXS:o,lineWidth:a,tagPaddingHorizontal:t,componentCls:n,calc:i}=e,s=i(t).sub(a).equal(),E=i(o).sub(a).equal();return{[n]:Object.assign(Object.assign({},(0,N.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}}},z=e=>{const{lineWidth:o,fontSizeIcon:a,calc:t}=e,n=e.fontSizeSM;return(0,H.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})},M=e=>({defaultBg:new K.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var D=(0,d.I$)("Tag",e=>{const o=z(e);return F(o)},M),Z=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:i,onChange:s,onClick:E}=e,f=Z(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:U,tag:v}=l.useContext(I.E_),A=V=>{s==null||s(!i),E==null||E(V)},O=U("tag",a),[X,G,_]=D(O),Q=p()(O,`${O}-checkable`,{[`${O}-checkable-checked`]:i},v==null?void 0:v.className,n,G,_);return X(l.createElement("span",Object.assign({},f,{ref:o,style:Object.assign(Object.assign({},t),v==null?void 0:v.style),className:Q,onClick:A})))}),b=r(98719);const $=e=>(0,b.Z)(e,(o,a)=>{let{textColor:t,lightBorderColor:n,lightColor:i,darkColor:s}=a;return{[`${e.componentCls}${e.componentCls}-${o}`]:{color:t,background:i,borderColor:n,"&-inverse":{color:e.colorTextLightSolid,background:s,borderColor:s},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var B=(0,d.bk)(["Tag","preset"],e=>{const o=z(e);return $(o)},M);function R(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const m=(e,o,a)=>{const t=R(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 q=(0,d.bk)(["Tag","status"],e=>{const o=z(e);return[m(o,"success","Success"),m(o,"processing","Info"),m(o,"error","Error"),m(o,"warning","Warning")]},M),g=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:i,children:s,icon:E,color:f,onClose:U,bordered:v=!0,visible:A}=e,O=g(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:X,direction:G,tag:_}=l.useContext(I.E_),[Q,V]=l.useState(!0),ce=(0,T.Z)(O,["closeIcon","closable"]);l.useEffect(()=>{A!==void 0&&V(A)},[A]);const re=(0,x.o2)(f),te=(0,x.yT)(f),J=re||te,ie=Object.assign(Object.assign({backgroundColor:f&&!J?f:void 0},_==null?void 0:_.style),i),c=X("tag",a),[de,ue,_e]=D(c),me=p()(c,_==null?void 0:_.className,{[`${c}-${f}`]:J,[`${c}-has-color`]:f&&!J,[`${c}-hidden`]:!Q,[`${c}-rtl`]:G==="rtl",[`${c}-borderless`]:!v},t,n,ue,_e),ne=S=>{S.stopPropagation(),U==null||U(S),!S.defaultPrevented&&V(!1)},[,ge]=(0,h.Z)((0,h.w)(e),(0,h.w)(_),{closable:!1,closeIconRender:S=>{const Ce=l.createElement("span",{className:`${c}-close-icon`,onClick:ne},S);return(0,W.wm)(S,Ce,P=>({onClick:le=>{var Y;(Y=P==null?void 0:P.onClick)===null||Y===void 0||Y.call(P,le),ne(le)},className:p()(P==null?void 0:P.className,`${c}-close-icon`)}))}}),fe=typeof O.onClick=="function"||s&&s.type==="a",oe=E||null,ve=oe?l.createElement(l.Fragment,null,oe,s&&l.createElement("span",null,s)):s,ae=l.createElement("span",Object.assign({},ce,{ref:o,className:me,style:ie}),ve,ge,re&&l.createElement(B,{key:"preset",prefixCls:c}),te&&l.createElement(q,{key:"status",prefixCls:c}));return de(fe?l.createElement(j.Z,{component:"Tag"},ae):ae)});ee.CheckableTag=u;var se=ee}}]); diff --git a/dist/p__SuperAdmin.497ff705.async.js b/dist/p__SuperAdmin.497ff705.async.js deleted file mode 100644 index ba0d2f5..0000000 --- a/dist/p__SuperAdmin.497ff705.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[455],{3089:function(he,L,n){n.d(L,{Z:function(){return p}});var U=n(1413),S=n(67294),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},M=$,w=n(91146),i=function(h,D){return S.createElement(w.Z,(0,U.Z)((0,U.Z)({},h),{},{ref:D,icon:M}))},F=S.forwardRef(i),p=F},40110:function(he,L,n){var U=n(1413),S=n(67294),$=n(509),M=n(91146),w=function(p,j){return S.createElement(M.Z,(0,U.Z)((0,U.Z)({},p),{},{ref:j,icon:$.Z}))},i=S.forwardRef(w);L.Z=i},28490:function(he,L,n){n.r(L),n.d(L,{default:function(){return We}});var U=n(97857),S=n.n(U),$=n(13769),M=n.n($),w=n(15009),i=n.n(w),F=n(99289),p=n.n(F),j=n(5574),h=n.n(j),D=n(48357),E=n(52043),O=n(40110),ne=n(3089),G=n(90930),o=n(8232),C=n(55102),b=n(42075),y=n(14726),K=n(55241),Se=n(66309),c=n(2453),Pe=n(13169),De=n(72051),je=n(17788),Ze=n(34041),be=n(71230),k=n(15746),xe=n(47676),H=n(16250),Fe=n(27484),re=n.n(Fe),x=n(67294),me=n(19632),ge=n.n(me),Ie=n(32400),Me=n(56448),Oe=n.n(Me),z=n(66476),e=n(85893),P=function(le){var X=le.onUploadSuccess,N=le.onUploadError,V=(0,x.useState)(!1),oe=h()(V,2),ee=oe[0],ae=oe[1],pe=(0,x.useState)([]),ce=h()(pe,2),J=ce[0],se=ce[1],ue=(0,x.useState)(null),de=h()(ue,2),Q=de[0],Y=de[1],_=z.Z.Dragger;(0,x.useEffect)(function(){function r(){return t.apply(this,arguments)}function t(){return t=p()(i()().mark(function v(){var s,d;return i()().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.prev=0,g.next=3,(0,D.po)();case 3:if(s=g.sent,!(!s.data||!s.data.accessKeySecret||!s.data.accessKeyId)){g.next=7;break}return c.ZP.error("\u521D\u59CB\u5316\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"),g.abrupt("return");case 7:d=new(Oe())({region:"oss-cn-beijing",accessKeyId:s.data.accessKeyId,accessKeySecret:s.data.accessKeySecret,stsToken:s.data.securityToken,bucket:s.data.bucket}),Y(d),g.next=15;break;case 11:g.prev=11,g.t0=g.catch(0),c.ZP.error("\u521D\u59CB\u5316 OSS \u5BA2\u6237\u7AEF\u5931\u8D25"),N&&N(g.t0);case 15:case"end":return g.stop()}},v,null,[[0,11]])})),t.apply(this,arguments)}r()},[N]);var fe=function(t){var v=(J||[]).filter(function(s){return s.url!==t.url});se(v)},f=function(){var r=p()(i()().mark(function t(v){var s,d,Z,g;return i()().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:if(s=v.file,!(s instanceof File)){A.next=26;break}return ae(!0),A.prev=3,A.next=6,(0,Ie.p)(s);case 6:return d=A.sent,Z="matrix/".concat(d,".").concat(s.name.split(".").pop()),A.next=10,Q==null?void 0:Q.put(Z,s,{headers:{"Content-Type":s.type}});case 10:g="https://apks.bzgames.cn/".concat(Z),X&&X(g),ae(!1),se(function(Ae){return[].concat(ge()(Ae),[{uid:s.uid,name:s.name+"\uFF1A"+g,status:"done",url:g}])}),A.next=21;break;case 16:A.prev=16,A.t0=A.catch(3),c.ZP.error("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25"),N&&N(A.t0),se(function(Ae){return[].concat(ge()(Ae),[{uid:s.uid,name:s.name,status:"error"}])});case 21:return A.prev=21,ae(!1),A.finish(21);case 24:A.next=27;break;case 26:c.ZP.error("\u4E0A\u4F20\u6587\u4EF6\u7C7B\u578B\u9519\u8BEF");case 27:case"end":return A.stop()}},t,null,[[3,16,21,24]])}));return function(v){return r.apply(this,arguments)}}();return(0,e.jsxs)(_,{fileList:J,multiple:!0,customRequest:f,onRemove:fe,disabled:ee||!Q,onPreview:function(){var r=p()(i()().mark(function t(v){return i()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,navigator.clipboard.writeText(v.url||"");case 2:c.ZP.success("\u94FE\u63A5\u590D\u5236\u6210\u529F "+v.url);case 3:case"end":return d.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"})]})},te=P,R=n(67539),B=n(4575),q=function(){var le=(0,x.useState)(!1),X=h()(le,2),N=X[0],V=X[1],oe=(0,x.useState)([]),ee=h()(oe,2),ae=ee[0],pe=ee[1],ce=(0,x.useState)([]),J=h()(ce,2),se=J[0],ue=J[1],de=o.Z.useForm(),Q=h()(de,1),Y=Q[0],_=[{title:"\u5E94\u7528\u540D",dataIndex:"name",copyable:!0,hideInSearch:!0,filterDropdown:function(r){var t=r.setSelectedKeys,v=r.selectedKeys,s=r.confirm,d=r.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(C.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:v[0],onChange:function(g){return t(g.target.value?[g.target.value]:[])},onPressEnter:function(){return s()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(b.Z,{children:[(0,e.jsx)(y.ZP,{onClick:function(){return s()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(y.ZP,{onClick:function(){return d&&d()},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)(O.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,v=r.selectedKeys,s=r.confirm,d=r.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(C.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:v[0],onChange:function(g){return t(g.target.value?[g.target.value]:[])},onPressEnter:function(){return s()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(b.Z,{children:[(0,e.jsx)(y.ZP,{onClick:function(){return s()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(y.ZP,{onClick:function(){return d&&d()},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)(O.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(){V(!0),Y.setFieldsValue(r)},children:"\u7F16\u8F91"},"edit")}}],fe=function(){var f=p()(i()().mark(function r(){var t;return i()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,(0,B.ai)();case 2:t=s.sent,t.data&&(pe(t.data),ue(t.data));case 4:case"end":return s.stop()}},r)}));return function(){return f.apply(this,arguments)}}();return(0,x.useEffect)(function(){fe()},[]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(y.ZP,{style:{marginBottom:"20px"},onClick:function(){V(!0),Y.resetFields()},children:"\u65B0\u5EFA\u5E94\u7528"}),(0,e.jsx)(R.Z,{search:!1,onReset:function(){ue(ae)},columns:_,dataSource:se}),(0,e.jsx)(je.Z,{title:"\u7F16\u8F91",visible:N,onOk:function(){Y.submit(),V(!1)},onCancel:function(){V(!1)},children:(0,e.jsxs)(o.Z,{labelCol:{span:4},wrapperCol:{span:18},form:Y,onFinish:function(){var f=p()(i()().mark(function r(t){return i()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,(0,B.XM)(t);case 2:fe();case 3:case"end":return s.stop()}},r)}));return function(r){return f.apply(this,arguments)}}(),children:[(0,e.jsx)(o.Z.Item,{name:"id",style:{display:"none"},children:(0,e.jsx)(C.Z,{type:"hidden"})}),(0,e.jsx)(o.Z.Item,{label:"\u5E94\u7528\u540D",name:"name",children:(0,e.jsx)(C.Z,{})}),(0,e.jsx)(o.Z.Item,{label:"\u5305\u540D",name:"packageName",children:(0,e.jsx)(C.Z,{})})]})})]})},W=q,ye=n(37804),Ee=n(42767),Be=function(){var le=(0,x.useState)(!1),X=h()(le,2),N=X[0],V=X[1],oe=(0,x.useState)([]),ee=h()(oe,2),ae=ee[0],pe=ee[1],ce=(0,x.useState)([]),J=h()(ce,2),se=J[0],ue=J[1],de=o.Z.useForm(),Q=h()(de,1),Y=Q[0],_=function(){var f=p()(i()().mark(function r(){var t;return i()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,(0,B.nr)();case 2:t=s.sent,t.data&&(pe(t.data),ue(t.data));case 4:case"end":return s.stop()}},r)}));return function(){return f.apply(this,arguments)}}(),fe=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",copyable:!0,hideInSearch:!0,filterDropdown:function(r){var t=r.setSelectedKeys,v=r.selectedKeys,s=r.confirm,d=r.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(C.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:v[0],onChange:function(g){return t(g.target.value?[g.target.value]:[])},onPressEnter:function(){return s()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(b.Z,{children:[(0,e.jsx)(y.ZP,{onClick:function(){return s()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(y.ZP,{onClick:function(){return d&&d()},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)(O.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,v=r.selectedKeys,s=r.confirm,d=r.clearFilters,Z=v[0]?String(v[0]):"";return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(ye.Z,{placeholder:"\u641C\u7D22 userId",value:Z,onChange:function(ve){return t(ve?[ve]:[])},onPressEnter:function(){return s()},style:{marginBottom:8,display:"block",width:200}}),(0,e.jsxs)(b.Z,{children:[(0,e.jsx)(y.ZP,{onClick:function(){return s()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(y.ZP,{onClick:function(){return d&&d()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(r,t){var v;return((v=t.user)===null||v===void 0?void 0:v.id)===r},filterIcon:function(r){return(0,e.jsx)(O.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)(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(r){return(0,e.jsx)("a",{onClick:p()(i()().mark(function t(){var v;return i()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,(0,B.vE)({userId:((v=r.user)===null||v===void 0?void 0:v.id)||0,status:r.status===0?-1:0});case 2:_();case 3:case"end":return d.stop()}},t)})),children:r.status===0?"\u7981\u7528":"\u542F\u7528"},"edit")}}];return(0,x.useEffect)(function(){_()},[]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(y.ZP,{style:{marginBottom:"20px"},onClick:function(){V(!0),Y.resetFields()},children:"\u6DFB\u52A0\u767D\u540D\u5355"}),(0,e.jsx)(R.Z,{search:!1,onReset:function(){ue(ae)},columns:fe,dataSource:se}),(0,e.jsx)(je.Z,{title:"\u7F16\u8F91",visible:N,onOk:function(){Y.submit(),V(!1)},onCancel:function(){V(!1)},children:(0,e.jsx)(o.Z,{labelCol:{span:4},wrapperCol:{span:18},form:Y,onFinish:function(){var f=p()(i()().mark(function r(t){var v;return i()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(v=t.userId,!v){d.next=5;break}return d.next=4,(0,B.vE)({userId:v});case 4:_();case 5:case"end":return d.stop()}},r)}));return function(r){return f.apply(this,arguments)}}(),children:(0,e.jsx)(o.Z.Item,{label:"userId",name:"userId",children:(0,e.jsx)(ye.Z,{style:{width:200}})})})})]})},Le=Be,Ke=["scheduleTime"],Re=function(){var le=(0,x.useState)([]),X=h()(le,2),N=X[0],V=X[1],oe=(0,x.useState)([]),ee=h()(oe,2),ae=ee[0],pe=ee[1],ce=(0,x.useState)([]),J=h()(ce,2),se=J[0],ue=J[1],de=(0,x.useState)(!1),Q=h()(de,2),Y=Q[0],_=Q[1],fe=(0,x.useState)(!1),f=h()(fe,2),r=f[0],t=f[1],v=o.Z.useForm(),s=h()(v,1),d=s[0],Z=o.Z.useForm(),g=h()(Z,1),ve=g[0],A=function(){var m=p()(i()().mark(function a(){var l;return i()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,(0,D.hy)();case 2:l=u.sent,l.data&&pe(l.data);case 4:case"end":return u.stop()}},a)}));return function(){return m.apply(this,arguments)}}(),Ae=function(){var m=p()(i()().mark(function a(l){return i()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(l){u.next=2;break}return u.abrupt("return");case 2:return u.next=4,(0,D.o9)({deviceId:l});case 4:A();case 5:case"end":return u.stop()}},a)}));return function(l){return m.apply(this,arguments)}}(),$e=[{title:"\u8BBE\u5907id",dataIndex:"deviceId",ellipsis:!0,filterDropdown:function(a){var l=a.setSelectedKeys,I=a.selectedKeys,u=a.confirm,ie=a.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(C.Z,{placeholder:"\u641C\u7D22\u8BBE\u5907",value:I[0],onChange:function(T){return l(T.target.value?[T.target.value]:[])},onPressEnter:function(){return u()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(b.Z,{children:[(0,e.jsx)(y.ZP,{onClick:function(){return u()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(y.ZP,{onClick:function(){return ie&&ie()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(a,l){return typeof a=="string"&&typeof(l==null?void 0:l.deviceId)=="string"?l.deviceId.includes(a):!1},filterIcon:function(a){return(0,e.jsx)(O.Z,{style:{color:a?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u6E20\u9053",dataIndex:"channel",render:function(a){var l=(0,E.FG)(),I=l.find(function(u){return u.value===a});return I?I.label:a}},{title:"\u64CD\u4F5C",dataIndex:"operate",render:function(a,l){return(0,e.jsx)(K.Z,{title:"\u786E\u8BA4\u5220\u9664\u5417",content:(0,e.jsxs)("div",{style:{textAlign:"center"},children:[(0,e.jsxs)("p",{children:["\u5220\u9664\u4E4B\u540Eecpm\u4F1A\u964D\u4F4E",(0,e.jsx)("br",{}),"\u4E5F\u4F1A\u5F71\u54CD\u5237\u6570\u636E\u53EF\u4F7F\u7528\u7684\u8BBE\u5907"]}),(0,e.jsx)("a",{onClick:function(){return Ae(l.deviceId)},children:"\u786E\u5B9A"})]}),children:(0,e.jsx)("a",{children:"\u5220\u9664"})})}}],we=function(a){var l=N.find(function(I){return I.id===a});return l?l.name:""},Ne=function(a){return a?parseFloat((a/1e5).toFixed(2)):0},Ve=[{title:"\u5E94\u7528",dataIndex:"appId",render:function(a){return(0,e.jsx)(Se.Z,{color:"blue",children:we(a)},a)}},{title:"\u6E20\u9053",dataIndex:"channel",render:function(a){var l=(0,E.FG)(),I=l.find(function(u){return u.value===a});return I?I.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 re()(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 re()(a).format("YYYY-MM-DD HH:mm")}},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"updatedAt",render:function(a){return re()(a).format("YYYY-MM-DD HH:mm")}}],Ue=function(){var m=p()(i()().mark(function a(){var l;return i()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,(0,D.mW)();case 2:l=u.sent,l.data&&ue(l.data);case 4:case"end":return u.stop()}},a)}));return function(){return m.apply(this,arguments)}}(),Ye=function(){var m=p()(i()().mark(function a(){var l;return i()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,(0,D.ln)();case 2:l=u.sent,l.data&&V(l.data);case 4:case"end":return u.stop()}},a)}));return function(){return m.apply(this,arguments)}}();(0,x.useEffect)(function(){Ye(),A(),Ue()},[]);var Ge=function(){var m=p()(i()().mark(function a(l){var I,u,ie;return i()().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return I=l.scheduleTime,u=M()(l,Ke),ie=I.map(function(ke){return re()(ke.time).valueOf()}),T.prev=2,T.next=5,(0,D.tI)(S()({scheduleTime:ie},u));case 5:T.next=10;break;case 7:return T.prev=7,T.t0=T.catch(2),T.abrupt("return");case 10:c.ZP.success("\u4EFB\u52A1\u63D0\u4EA4\u6210\u529F"),Ue(),t(!1);case 13:case"end":return T.stop()}},a,null,[[2,7]])}));return function(l){return m.apply(this,arguments)}}(),He=function(){d.resetFields(),_(!0)},ze=function(){ve.resetFields(),t(!0)},Xe=function(){d.submit()},Je=function(){_(!1)},Qe=function(){ve.submit()},_e=function(){t(!1)},qe=function(){var m=p()(i()().mark(function a(l){return i()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.prev=0,u.next=3,(0,D.gz)({deviceId:l.deviceId||"",channel:l.channel||""});case 3:u.next=8;break;case 5:return u.prev=5,u.t0=u.catch(0),u.abrupt("return");case 8:_(!1),A();case 10:case"end":return u.stop()}},a,null,[[0,5]])}));return function(l){return m.apply(this,arguments)}}();return(0,e.jsx)(G._z,{children:(0,e.jsxs)(Pe.Z,{defaultActiveKey:"1",onChange:function(a){a==="1"?A():a==="2"&&Ue()},centered:!0,style:{backgroundColor:"white",padding:"20px"},children:[(0,e.jsx)(H.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)(De.Z,{columns:$e,dataSource:ae}),(0,e.jsx)(je.Z,{title:"\u6DFB\u52A0\u767D\u540D\u5355",visible:Y,onOk:Xe,onCancel:Je,children:(0,e.jsxs)(o.Z,{form:d,onFinish:qe,children:[(0,e.jsx)(o.Z.Item,{name:"deviceId",label:"\u8BBE\u5907id",children:(0,e.jsx)(C.Z,{})}),(0,e.jsx)(o.Z.Item,{label:"\u6E20\u9053",name:"channel",children:(0,e.jsx)(Ze.Z,{options:(0,E.FG)()})})]})})]})},"1"),(0,e.jsx)(H.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)(De.Z,{columns:Ve,dataSource:se}),(0,e.jsx)(je.Z,{title:"\u6DFB\u52A0\u4EFB\u52A1",visible:r,onOk:Qe,onCancel:_e,children:(0,e.jsxs)(o.Z,{labelCol:{span:6},wrapperCol:{span:18},form:ve,onFinish:Ge,children:[(0,e.jsx)(o.Z.Item,{label:"\u5E94\u7528",name:"appId",children:(0,e.jsx)(Ze.Z,{mode:"multiple",options:N.map(function(m){return{label:m.name,value:m.id}})})}),(0,e.jsx)(o.Z.Item,{name:"incomeYuan",label:"\u91D1\u989D\uFF08\u5143\uFF09",children:(0,e.jsx)(C.Z,{})}),(0,e.jsx)(o.Z.List,{name:"scheduleTime",children:function(a,l){var I=l.add,u=l.remove;return(0,e.jsxs)(e.Fragment,{children:[a.map(function(ie){var Ce=ie.key,T=ie.name;return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(be.Z,{align:"stretch",gutter:16,children:[(0,e.jsx)(k.Z,{span:18,children:(0,e.jsx)(o.Z.Item,{labelCol:{xs:{span:24},sm:{span:8}},name:[T,"time"],label:"\u5F00\u59CB\u65F6\u95F4",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}],children:(0,e.jsx)(xe.default,{format:"YYYY-MM-DD HH:mm",showTime:{format:"HH:mm"}})})}),(0,e.jsx)(k.Z,{children:(0,e.jsx)(ne.Z,{onClick:function(){return u(T)}})})]},Ce)})}),(0,e.jsx)(o.Z.Item,{children:(0,e.jsx)(y.ZP,{type:"dashed",onClick:function(){return I()},block:!0,children:"\u6DFB\u52A0\u5F00\u59CB\u65F6\u95F4"})})]})}})]})})]})},"2"),(0,e.jsx)(H.Z,{tab:"\u4E0A\u4F20\u8D44\u6E90",children:(0,e.jsx)(te,{})},"3"),(0,e.jsx)(H.Z,{tab:"\u975E\u6CD5\u5E94\u7528",children:(0,e.jsx)(W,{})},"4"),(0,e.jsx)(H.Z,{tab:"\u7528\u6237\u767D\u540D\u5355",children:(0,e.jsx)(Le,{})},"5")]})})},We=Re},42767:function(he,L,n){n.d(L,{Z:function(){return Ze}});var U=n(5574),S=n.n(U),$=n(55241),M=n(2487),w=n(71230),i=n(7134),F=n(67294),p=n(52043),j=n(15009),h=n.n(j),D=n(97857),E=n.n(D),O=n(99289),ne=n.n(O),G=n(40110),o=n(67539),C=n(55102),b=n(42075),y=n(14726),K=n(17788),Se=n(4575),c=n(85893),Pe=function(k){var xe=(0,F.useState)(),H=S()(xe,2),Fe=H[0],re=H[1],x=(0,F.useState)(),me=S()(x,2),ge=me[0],Ie=me[1],Me=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",ellipsis:!0,hideInSearch:!0,filterDropdown:function(e){var P=e.setSelectedKeys,te=e.selectedKeys,R=e.confirm,B=e.clearFilters;return(0,c.jsxs)("div",{style:{padding:8},children:[(0,c.jsx)(C.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:te[0],onChange:function(W){return P(W.target.value?[W.target.value]:[])},onPressEnter:function(){return R()},style:{marginBottom:8,display:"block"}}),(0,c.jsxs)(b.Z,{children:[(0,c.jsx)(y.ZP,{onClick:function(){return R()},type:"primary",children:"\u641C\u7D22"}),(0,c.jsx)(y.ZP,{onClick:function(){return B&&B()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(e,P){return typeof e=="string"&&typeof(P==null?void 0:P.appName)=="string"?P.appName.includes(e):!1},filterIcon:function(e){return(0,c.jsx)(G.Z,{style:{color:e?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u5E94\u7528\u5305\u540D",dataIndex:"packageName",hideInSearch:!0,ellipsis:!0,filterDropdown:function(e){var P=e.setSelectedKeys,te=e.selectedKeys,R=e.confirm,B=e.clearFilters;return(0,c.jsxs)("div",{style:{padding:8},children:[(0,c.jsx)(C.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:te[0],onChange:function(W){return P(W.target.value?[W.target.value]:[])},onPressEnter:function(){return R()},style:{marginBottom:8,display:"block"}}),(0,c.jsxs)(b.Z,{children:[(0,c.jsx)(y.ZP,{onClick:function(){return R()},type:"primary",children:"\u641C\u7D22"}),(0,c.jsx)(y.ZP,{onClick:function(){return B&&B()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(e,P){return typeof e=="string"&&typeof(P==null?void 0:P.packageName)=="string"?P.packageName.includes(e):!1},filterIcon:function(e){return(0,c.jsx)(G.Z,{style:{color:e?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}}],Oe=function(){var z=ne()(h()().mark(function e(){var P,te,R,B;return h()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,(0,Se.ai)();case 2:P=W.sent,P.data&&(R=[],B=[],(te=k.data.localAppList)===null||te===void 0||te.forEach(function(ye){var Ee;(Ee=P.data)!==null&&Ee!==void 0&&Ee.some(function(Be){return Be.packageName===ye.packageName})?R.push(E()(E()({},ye),{},{evil:!0})):B.push(E()(E()({},ye),{},{evil:!1}))}),re([].concat(R,B)),Ie([].concat(R,B)));case 4:case"end":return W.stop()}},e)}));return function(){return z.apply(this,arguments)}}();return(0,F.useEffect)(function(){Oe()},[]),(0,c.jsx)(K.Z,{style:{width:600},onCancel:k.onClose,visible:!0,footer:[],children:(0,c.jsx)(o.Z,{onRow:function(e){return{style:{backgroundColor:e.evil?"red":"transparent"}}},search:!1,onReset:function(){Ie(Fe)},columns:Me,dataSource:ge})})},De=Pe,je=function(k){var xe=(0,F.useState)(!1),H=S()(xe,2),Fe=H[0],re=H[1],x=(0,p.E7)(k.data.env);return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)($.Z,{content:(0,c.jsxs)(c.Fragment,{children:[k.data.localAppList&&k.data.localAppList.length>0&&(0,c.jsxs)("p",{children:[(0,c.jsx)("label",{children:"\u5DF2\u5B89\u88C5\u5E94\u7528\uFF1A"}),k.data.localAppList.length,"\u4E2A",(0,c.jsx)("a",{onClick:function(){re(!0)},style:{marginLeft:20},children:"\u67E5\u770B"})]}),x.length>0&&(0,c.jsx)(M.Z,{size:"small",header:(0,c.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:x,renderItem:function(ge){return(0,c.jsx)(M.Z.Item,{children:ge})}})]}),children:(0,c.jsxs)(w.Z,{children:[(0,c.jsx)(i.C,{src:k.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,c.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:x.length>0?"red":""},children:["id:",k.data.id,(0,c.jsx)("br",{}),k.data.nickname||k.data.mobile]})]})}),Fe&&(0,c.jsx)(De,{onClose:function(){re(!1)},data:k.data})]})},Ze=je},4575:function(he,L,n){n.d(L,{XM:function(){return h},ai:function(){return p},nr:function(){return ne},vE:function(){return E}});var U=n(15009),S=n.n(U),$=n(97857),M=n.n($),w=n(99289),i=n.n(w),F=n(35312);function p(o){return j.apply(this,arguments)}function j(){return j=i()(S()().mark(function o(C){return S()().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.abrupt("return",(0,F.request)("/api/superAdmin/evilAppList",M()({method:"GET"},C||{})));case 1:case"end":return y.stop()}},o)})),j.apply(this,arguments)}function h(o,C){return D.apply(this,arguments)}function D(){return D=i()(S()().mark(function o(C,b){return S()().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:return K.abrupt("return",(0,F.request)("/api/superAdmin/saveEvilApp",M()({method:"POST",headers:{"Content-Type":"application/json"},data:C},b||{})));case 1:case"end":return K.stop()}},o)})),D.apply(this,arguments)}function E(o,C){return O.apply(this,arguments)}function O(){return O=i()(S()().mark(function o(C,b){return S()().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:return K.abrupt("return",(0,F.request)("/api/superAdmin/saveWhiteUser",M()({method:"POST",params:M()({},C)},b||{})));case 1:case"end":return K.stop()}},o)})),O.apply(this,arguments)}function ne(o){return G.apply(this,arguments)}function G(){return G=i()(S()().mark(function o(C){return S()().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.abrupt("return",(0,F.request)("/api/superAdmin/whiteUserList",M()({method:"GET"},C||{})));case 1:case"end":return y.stop()}},o)})),G.apply(this,arguments)}},52043:function(he,L,n){n.d(L,{E7:function(){return S},FG:function(){return U},aV:function(){return i}});var U=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(p){var j=[];if(!p)return j;for(var h=p>>1,D=["\u7528\u6237\u6253\u5F00\u4E86USB\u8C03\u8BD5\u6A21\u5F0F","\u7528\u6237\u6253\u5F00\u4E86\u5F00\u53D1\u8005\u6A21\u5F0F","\u7528\u6237\u6253\u5F00\u4E86\u65E0\u969C\u788D\u6A21\u5F0F","\u7528\u6237\u624B\u673A\u5DF2\u7ECFRoot","\u7528\u6237\u5B89\u88C5\u4E86Xpose","\u7528\u6237\u5F00\u542F\u4E86VPN","\u7528\u6237\u5F00\u542F\u4EE3\u7406","\u652F\u4ED8\u5B9D\u672A\u5B89\u88C5","\u5FAE\u4FE1\u672A\u5B89\u88C5"],E=0,O=D;E>=1}return j},$=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"}]},M=function(p){var j=new Date(p),h=j.getFullYear().toString().padStart(4,"0"),D=(j.getMonth()+1).toString().padStart(2,"0"),E=j.getDate().toString().padStart(2,"0");return h+D+E},w=function(p,j){var h=p.toString();return h.padStart(j,"0")},i=function(p){var j=p;return j<1024?j+" B":(j=parseFloat((j/1024).toFixed(2)),j<1024?j+" KB":(j=parseFloat((j/1024).toFixed(2)),j+" MB"))}},32400:function(he,L,n){n.d(L,{p:function(){return F}});var U=n(15009),S=n.n(U),$=n(99289),M=n.n($),w=n(8322),i=n.n(w);function F(j){return p.apply(this,arguments)}function p(){return p=M()(S()().mark(function j(h){return S()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.abrupt("return",new Promise(function(O,ne){var G=new(i()).ArrayBuffer,o=new FileReader;o.onload=function(C){var b;G.append((b=C.target)===null||b===void 0?void 0:b.result),O(G.end())},o.onerror=function(C){ne(C)},o.readAsArrayBuffer(h)}));case 1:case"end":return E.stop()}},j)})),p.apply(this,arguments)}}}]); diff --git a/dist/p__SuperAdmin.4df5c668.async.js b/dist/p__SuperAdmin.4df5c668.async.js new file mode 100644 index 0000000..c379d89 --- /dev/null +++ b/dist/p__SuperAdmin.4df5c668.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[455],{3089:function(Se,w,n){n.d(w,{Z:function(){return v}});var K=n(1413),E=n(67294),V={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},U=V,G=n(91146),i=function(h,P){return E.createElement(G.Z,(0,K.Z)((0,K.Z)({},h),{},{ref:P,icon:U}))},Z=E.forwardRef(i),v=Z},40110:function(Se,w,n){var K=n(1413),E=n(67294),V=n(509),U=n(91146),G=function(v,g){return E.createElement(U.Z,(0,K.Z)((0,K.Z)({},v),{},{ref:g,icon:V.Z}))},i=E.forwardRef(G);w.Z=i},28490:function(Se,w,n){n.r(w),n.d(w,{default:function(){return we}});var K=n(97857),E=n.n(K),V=n(13769),U=n.n(V),G=n(15009),i=n.n(G),Z=n(99289),v=n.n(Z),g=n(5574),h=n.n(g),P=n(48357),b=n(52043),L=n(40110),ae=n(3089),X=n(90930),x=n(8232),O=n(55102),$=n(42075),A=n(14726),Pe=n(55241),ue=n(66309),o=n(2453),ge=n(13169),xe=n(72051),ne=n(17788),j=n(34041),F=n(71230),S=n(15746),C=n(47676),d=n(16250),De=n(27484),se=n.n(De),D=n(67294),ye=n(19632),Fe=n.n(ye),be=n(32400),Oe=n(56448),Me=n.n(Oe),J=n(66476),e=n(85893),B=function(fe){var Q=fe.onUploadSuccess,Y=fe.onUploadError,H=(0,D.useState)(!1),pe=h()(H,2),te=pe[0],le=pe[1],je=(0,D.useState)([]),me=h()(je,2),_=me[0],oe=me[1],ce=(0,D.useState)(null),ve=h()(ce,2),q=ve[0],z=ve[1],ee=J.Z.Dragger;(0,D.useEffect)(function(){function r(){return t.apply(this,arguments)}function t(){return t=v()(i()().mark(function m(){var u,c;return i()().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.prev=0,y.next=3,(0,P.po)();case 3:if(u=y.sent,!(!u.data||!u.data.accessKeySecret||!u.data.accessKeyId)){y.next=7;break}return o.ZP.error("\u521D\u59CB\u5316\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"),y.abrupt("return");case 7:c=new(Me())({region:"oss-cn-beijing",accessKeyId:u.data.accessKeyId,accessKeySecret:u.data.accessKeySecret,stsToken:u.data.securityToken,bucket:u.data.bucket}),z(c),y.next=15;break;case 11:y.prev=11,y.t0=y.catch(0),o.ZP.error("\u521D\u59CB\u5316 OSS \u5BA2\u6237\u7AEF\u5931\u8D25"),Y&&Y(y.t0);case 15:case"end":return y.stop()}},m,null,[[0,11]])})),t.apply(this,arguments)}r()},[Y]);var he=function(t){var m=(_||[]).filter(function(u){return u.url!==t.url});oe(m)},f=function(){var r=v()(i()().mark(function t(m){var u,c,M,y;return i()().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:if(u=m.file,!(u instanceof File)){I.next=26;break}return le(!0),I.prev=3,I.next=6,(0,be.p)(u);case 6:return c=I.sent,M="matrix/".concat(c,".").concat(u.name.split(".").pop()),I.next=10,q==null?void 0:q.put(M,u,{headers:{"Content-Type":u.type}});case 10:y="https://apks.bzgames.cn/".concat(M),Q&&Q(y),le(!1),oe(function(Ie){return[].concat(Fe()(Ie),[{uid:u.uid,name:u.name+"\uFF1A"+y,status:"done",url:y}])}),I.next=21;break;case 16:I.prev=16,I.t0=I.catch(3),o.ZP.error("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25"),Y&&Y(I.t0),oe(function(Ie){return[].concat(Fe()(Ie),[{uid:u.uid,name:u.name,status:"error"}])});case 21:return I.prev=21,le(!1),I.finish(21);case 24:I.next=27;break;case 26:o.ZP.error("\u4E0A\u4F20\u6587\u4EF6\u7C7B\u578B\u9519\u8BEF");case 27:case"end":return I.stop()}},t,null,[[3,16,21,24]])}));return function(m){return r.apply(this,arguments)}}();return(0,e.jsxs)(ee,{fileList:_,multiple:!0,customRequest:f,onRemove:he,disabled:te||!q,onPreview:function(){var r=v()(i()().mark(function t(m){return i()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,navigator.clipboard.writeText(m.url||"");case 2:o.ZP.success("\u94FE\u63A5\u590D\u5236\u6210\u529F "+m.url);case 3:case"end":return c.stop()}},t)}));return function(t){return r.apply(this,arguments)}}(),capture:void 0,children:[(0,e.jsx)("p",{className:"ant-upload-drag-icon",children:(0,e.jsx)("i",{className:"anticon anticon-inbox"})}),(0,e.jsx)("p",{className:"ant-upload-text",children:"\u70B9\u51FB\u6216\u62D6\u62FD\u6587\u4EF6\u5230\u6B64\u533A\u57DF\u4E0A\u4F20"}),(0,e.jsx)("p",{className:"ant-upload-hint",children:"\u652F\u6301\u5355\u4E2A\u6216\u6279\u91CF\u4E0A\u4F20\u3002\u6587\u4EF6\u540D\u5C06\u4F7F\u7528\u6587\u4EF6\u7684 MD5 \u503C\u547D\u540D\u3002"})]})},ie=B,W=n(67539),k=n(4575),re=function(){var fe=(0,D.useState)(!1),Q=h()(fe,2),Y=Q[0],H=Q[1],pe=(0,D.useState)([]),te=h()(pe,2),le=te[0],je=te[1],me=(0,D.useState)([]),_=h()(me,2),oe=_[0],ce=_[1],ve=x.Z.useForm(),q=h()(ve,1),z=q[0],ee=[{title:"\u5E94\u7528\u540D",dataIndex:"name",copyable:!0,hideInSearch:!0,filterDropdown:function(r){var t=r.setSelectedKeys,m=r.selectedKeys,u=r.confirm,c=r.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(O.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:m[0],onChange:function(y){return t(y.target.value?[y.target.value]:[])},onPressEnter:function(){return u()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)($.Z,{children:[(0,e.jsx)(A.ZP,{onClick:function(){return u()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(A.ZP,{onClick:function(){return c&&c()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(r,t){return typeof r=="string"&&typeof(t==null?void 0:t.name)=="string"?t.name.includes(r):!1},filterIcon:function(r){return(0,e.jsx)(L.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,c=r.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(O.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:m[0],onChange:function(y){return t(y.target.value?[y.target.value]:[])},onPressEnter:function(){return u()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)($.Z,{children:[(0,e.jsx)(A.ZP,{onClick:function(){return u()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(A.ZP,{onClick:function(){return c&&c()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(r,t){return typeof r=="string"&&typeof(t==null?void 0:t.packageName)=="string"?t.packageName.includes(r):!1},filterIcon:function(r){return(0,e.jsx)(L.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(){H(!0),z.setFieldsValue(r)},children:"\u7F16\u8F91"},"edit")}}],he=function(){var f=v()(i()().mark(function r(){var t;return i()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,(0,k.ai)();case 2:t=u.sent,t.data&&(je(t.data),ce(t.data));case 4:case"end":return u.stop()}},r)}));return function(){return f.apply(this,arguments)}}();return(0,D.useEffect)(function(){he()},[]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(A.ZP,{style:{marginBottom:"20px"},onClick:function(){H(!0),z.resetFields()},children:"\u65B0\u5EFA\u5E94\u7528"}),(0,e.jsx)(W.Z,{search:!1,onReset:function(){ce(le)},columns:ee,dataSource:oe}),(0,e.jsx)(ne.Z,{title:"\u7F16\u8F91",visible:Y,onOk:function(){z.submit(),H(!1)},onCancel:function(){H(!1)},children:(0,e.jsxs)(x.Z,{labelCol:{span:4},wrapperCol:{span:18},form:z,onFinish:function(){var f=v()(i()().mark(function r(t){return i()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,(0,k.XM)(t);case 2:he();case 3:case"end":return u.stop()}},r)}));return function(r){return f.apply(this,arguments)}}(),children:[(0,e.jsx)(x.Z.Item,{name:"id",style:{display:"none"},children:(0,e.jsx)(O.Z,{type:"hidden"})}),(0,e.jsx)(x.Z.Item,{label:"\u5E94\u7528\u540D",name:"name",children:(0,e.jsx)(O.Z,{})}),(0,e.jsx)(x.Z.Item,{label:"\u5305\u540D",name:"packageName",children:(0,e.jsx)(O.Z,{})})]})})]})},N=re,Ee=n(37804),Ze=n(42767),Te=function(){var fe=(0,D.useState)(!1),Q=h()(fe,2),Y=Q[0],H=Q[1],pe=(0,D.useState)([]),te=h()(pe,2),le=te[0],je=te[1],me=(0,D.useState)([]),_=h()(me,2),oe=_[0],ce=_[1],ve=x.Z.useForm(),q=h()(ve,1),z=q[0],ee=function(){var f=v()(i()().mark(function r(){var t;return i()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,(0,k.nr)();case 2:t=u.sent,t.data&&(je(t.data),ce(t.data));case 4:case"end":return u.stop()}},r)}));return function(){return f.apply(this,arguments)}}(),he=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",copyable:!0,hideInSearch:!0,filterDropdown:function(r){var t=r.setSelectedKeys,m=r.selectedKeys,u=r.confirm,c=r.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(O.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:m[0],onChange:function(y){return t(y.target.value?[y.target.value]:[])},onPressEnter:function(){return u()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)($.Z,{children:[(0,e.jsx)(A.ZP,{onClick:function(){return u()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(A.ZP,{onClick:function(){return c&&c()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(r,t){return typeof r=="string"&&typeof(t==null?void 0:t.appName)=="string"?t.appName.includes(r):!1},filterIcon:function(r){return(0,e.jsx)(L.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)(Ze.Z,{data:t.user||{}})},filterDropdown:function(r){var t=r.setSelectedKeys,m=r.selectedKeys,u=r.confirm,c=r.clearFilters,M=m[0]?String(m[0]):"";return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(Ee.Z,{placeholder:"\u641C\u7D22 userId",value:M,onChange:function(Ce){return t(Ce?[Ce]:[])},onPressEnter:function(){return u()},style:{marginBottom:8,display:"block",width:200}}),(0,e.jsxs)($.Z,{children:[(0,e.jsx)(A.ZP,{onClick:function(){return u()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(A.ZP,{onClick:function(){return c&&c()},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)(L.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)(ue.Z,{color:"green",children:"\u5DF2\u542F\u7528"}):(0,e.jsx)(ue.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()(i()().mark(function t(){var m;return i()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,(0,k.vE)({userId:((m=r.user)===null||m===void 0?void 0:m.id)||0,status:r.status===0?-1:0});case 2:ee();case 3:case"end":return c.stop()}},t)})),children:r.status===0?"\u7981\u7528":"\u542F\u7528"},"edit")}}];return(0,D.useEffect)(function(){ee()},[]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(A.ZP,{style:{marginBottom:"20px"},onClick:function(){H(!0),z.resetFields()},children:"\u6DFB\u52A0\u767D\u540D\u5355"}),(0,e.jsx)(W.Z,{search:!1,onReset:function(){ce(le)},columns:he,dataSource:oe}),(0,e.jsx)(ne.Z,{title:"\u7F16\u8F91",visible:Y,onOk:function(){z.submit(),H(!1)},onCancel:function(){H(!1)},children:(0,e.jsx)(x.Z,{labelCol:{span:4},wrapperCol:{span:18},form:z,onFinish:function(){var f=v()(i()().mark(function r(t){var m;return i()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(m=t.userId,!m){c.next=5;break}return c.next=4,(0,k.vE)({userId:m});case 4:ee();case 5:case"end":return c.stop()}},r)}));return function(r){return f.apply(this,arguments)}}(),children:(0,e.jsx)(x.Z.Item,{label:"userId",name:"userId",children:(0,e.jsx)(Ee.Z,{style:{width:200}})})})})]})},ke=Te,Re=["scheduleTime"],Ke=function(){var fe=(0,D.useState)([]),Q=h()(fe,2),Y=Q[0],H=Q[1],pe=(0,D.useState)([]),te=h()(pe,2),le=te[0],je=te[1],me=(0,D.useState)([]),_=h()(me,2),oe=_[0],ce=_[1],ve=(0,D.useState)(!1),q=h()(ve,2),z=q[0],ee=q[1],he=(0,D.useState)(!1),f=h()(he,2),r=f[0],t=f[1],m=x.Z.useForm(),u=h()(m,1),c=u[0],M=x.Z.useForm(),y=h()(M,1),Ce=y[0],I=function(){var p=v()(i()().mark(function a(){var l;return i()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,(0,P.hy)();case 2:l=s.sent,l.data&&je(l.data);case 4:case"end":return s.stop()}},a)}));return function(){return p.apply(this,arguments)}}(),Ie=function(){var p=v()(i()().mark(function a(l){return i()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(l){s.next=2;break}return s.abrupt("return");case 2:return s.next=4,(0,P.o9)({deviceId:l});case 4:I();case 5:case"end":return s.stop()}},a)}));return function(l){return p.apply(this,arguments)}}(),$e=[{title:"\u8BBE\u5907id",dataIndex:"deviceId",ellipsis:!0,filterDropdown:function(a){var l=a.setSelectedKeys,T=a.selectedKeys,s=a.confirm,de=a.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(O.Z,{placeholder:"\u641C\u7D22\u8BBE\u5907",value:T[0],onChange:function(R){return l(R.target.value?[R.target.value]:[])},onPressEnter:function(){return s()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)($.Z,{children:[(0,e.jsx)(A.ZP,{onClick:function(){return s()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(A.ZP,{onClick:function(){return de&&de()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(a,l){return typeof a=="string"&&typeof(l==null?void 0:l.deviceId)=="string"?l.deviceId.includes(a):!1},filterIcon:function(a){return(0,e.jsx)(L.Z,{style:{color:a?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u6E20\u9053",dataIndex:"channel",render:function(a){var l=(0,b.FG)(),T=l.find(function(s){return s.value===a});return T?T.label:a}},{title:"\u64CD\u4F5C",dataIndex:"operate",render:function(a,l){return(0,e.jsx)(Pe.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 Ie(l.deviceId)},children:"\u786E\u5B9A"})]}),children:(0,e.jsx)("a",{children:"\u5220\u9664"})})}}],We=function(a){var l=Y.find(function(T){return T.id===a});return l?l.name:""},Ne=function(a){return a?parseFloat((a/1e5).toFixed(2)):0},Ve=[{title:"\u5E94\u7528",dataIndex:"appId",render:function(a){return(0,e.jsx)(ue.Z,{color:"blue",children:We(a)},a)}},{title:"\u6E20\u9053",dataIndex:"channel",render:function(a){var l=(0,b.FG)(),T=l.find(function(s){return s.value===a});return T?T.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 se()(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 se()(a).format("YYYY-MM-DD HH:mm")}},{title:"\u66F4\u65B0\u65F6\u95F4",dataIndex:"updatedAt",render:function(a){return se()(a).format("YYYY-MM-DD HH:mm")}}],Ue=function(){var p=v()(i()().mark(function a(){var l;return i()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,(0,P.mW)();case 2:l=s.sent,l.data&&ce(l.data);case 4:case"end":return s.stop()}},a)}));return function(){return p.apply(this,arguments)}}(),Ge=function(){var p=v()(i()().mark(function a(){var l;return i()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,(0,P.ln)();case 2:l=s.sent,l.data&&H(l.data);case 4:case"end":return s.stop()}},a)}));return function(){return p.apply(this,arguments)}}();(0,D.useEffect)(function(){Ge(),I(),Ue()},[]);var Ye=function(){var p=v()(i()().mark(function a(l){var T,s,de;return i()().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return T=l.scheduleTime,s=U()(l,Re),de=T.map(function(Le){return se()(Le.time).valueOf()}),R.prev=2,R.next=5,(0,P.tI)(E()({scheduleTime:de},s));case 5:R.next=10;break;case 7:return R.prev=7,R.t0=R.catch(2),R.abrupt("return");case 10:o.ZP.success("\u4EFB\u52A1\u63D0\u4EA4\u6210\u529F"),Ue(),t(!1);case 13:case"end":return R.stop()}},a,null,[[2,7]])}));return function(l){return p.apply(this,arguments)}}(),He=function(){c.resetFields(),ee(!0)},ze=function(){Ce.resetFields(),t(!0)},Xe=function(){c.submit()},Je=function(){ee(!1)},Qe=function(){Ce.submit()},_e=function(){t(!1)},qe=function(){var p=v()(i()().mark(function a(l){return i()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.prev=0,s.next=3,(0,P.gz)({deviceId:l.deviceId||"",channel:l.channel||""});case 3:s.next=8;break;case 5:return s.prev=5,s.t0=s.catch(0),s.abrupt("return");case 8:ee(!1),I();case 10:case"end":return s.stop()}},a,null,[[0,5]])}));return function(l){return p.apply(this,arguments)}}();return(0,e.jsx)(X._z,{children:(0,e.jsxs)(ge.Z,{defaultActiveKey:"1",onChange:function(a){a==="1"?I():a==="2"&&Ue()},centered:!0,style:{backgroundColor:"white",padding:"20px"},children:[(0,e.jsx)(d.Z,{tab:"\u8BBE\u5907\u767D\u540D\u5355",children:(0,e.jsxs)("div",{children:[(0,e.jsx)(A.ZP,{onClick:He,children:"\u6DFB\u52A0\u767D\u540D\u5355"}),(0,e.jsx)(xe.Z,{columns:$e,dataSource:le}),(0,e.jsx)(ne.Z,{title:"\u6DFB\u52A0\u767D\u540D\u5355",visible:z,onOk:Xe,onCancel:Je,children:(0,e.jsxs)(x.Z,{form:c,onFinish:qe,children:[(0,e.jsx)(x.Z.Item,{name:"deviceId",label:"\u8BBE\u5907id",children:(0,e.jsx)(O.Z,{})}),(0,e.jsx)(x.Z.Item,{label:"\u6E20\u9053",name:"channel",children:(0,e.jsx)(j.Z,{options:(0,b.FG)()})})]})})]})},"1"),(0,e.jsx)(d.Z,{tab:"\u5237\u6570\u636E",children:(0,e.jsxs)("div",{children:[(0,e.jsx)(A.ZP,{onClick:ze,children:"\u6DFB\u52A0\u4EFB\u52A1"}),(0,e.jsx)(xe.Z,{columns:Ve,dataSource:oe}),(0,e.jsx)(ne.Z,{title:"\u6DFB\u52A0\u4EFB\u52A1",visible:r,onOk:Qe,onCancel:_e,children:(0,e.jsxs)(x.Z,{labelCol:{span:6},wrapperCol:{span:18},form:Ce,onFinish:Ye,children:[(0,e.jsx)(x.Z.Item,{label:"\u5E94\u7528",name:"appId",children:(0,e.jsx)(j.Z,{mode:"multiple",options:Y.map(function(p){return{label:p.name,value:p.id}})})}),(0,e.jsx)(x.Z.Item,{name:"incomeYuan",label:"\u91D1\u989D\uFF08\u5143\uFF09",children:(0,e.jsx)(O.Z,{})}),(0,e.jsx)(x.Z.List,{name:"scheduleTime",children:function(a,l){var T=l.add,s=l.remove;return(0,e.jsxs)(e.Fragment,{children:[a.map(function(de){var Ae=de.key,R=de.name;return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(F.Z,{align:"stretch",gutter:16,children:[(0,e.jsx)(S.Z,{span:18,children:(0,e.jsx)(x.Z.Item,{labelCol:{xs:{span:24},sm:{span:8}},name:[R,"time"],label:"\u5F00\u59CB\u65F6\u95F4",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"}],children:(0,e.jsx)(C.default,{format:"YYYY-MM-DD HH:mm",showTime:{format:"HH:mm"}})})}),(0,e.jsx)(S.Z,{children:(0,e.jsx)(ae.Z,{onClick:function(){return s(R)}})})]},Ae)})}),(0,e.jsx)(x.Z.Item,{children:(0,e.jsx)(A.ZP,{type:"dashed",onClick:function(){return T()},block:!0,children:"\u6DFB\u52A0\u5F00\u59CB\u65F6\u95F4"})})]})}})]})})]})},"2"),(0,e.jsx)(d.Z,{tab:"\u4E0A\u4F20\u8D44\u6E90",children:(0,e.jsx)(ie,{})},"3"),(0,e.jsx)(d.Z,{tab:"\u975E\u6CD5\u5E94\u7528",children:(0,e.jsx)(N,{})},"4"),(0,e.jsx)(d.Z,{tab:"\u7528\u6237\u767D\u540D\u5355",children:(0,e.jsx)(ke,{})},"5")]})})},we=Ke},42767:function(Se,w,n){n.d(w,{Z:function(){return j}});var K=n(5574),E=n.n(K),V=n(55241),U=n(2487),G=n(71230),i=n(7134),Z=n(67294),v=n(52043),g=n(15009),h=n.n(g),P=n(97857),b=n.n(P),L=n(99289),ae=n.n(L),X=n(40110),x=n(67539),O=n(55102),$=n(42075),A=n(14726),Pe=n(17788),ue=n(4575),o=n(85893),ge=function(S){var C=(0,Z.useState)(),d=E()(C,2),De=d[0],se=d[1],D=(0,Z.useState)(),ye=E()(D,2),Fe=ye[0],be=ye[1],Oe=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",ellipsis:!0,hideInSearch:!0,filterDropdown:function(e){var B=e.setSelectedKeys,ie=e.selectedKeys,W=e.confirm,k=e.clearFilters;return(0,o.jsxs)("div",{style:{padding:8},children:[(0,o.jsx)(O.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:ie[0],onChange:function(N){return B(N.target.value?[N.target.value]:[])},onPressEnter:function(){return W()},style:{marginBottom:8,display:"block"}}),(0,o.jsxs)($.Z,{children:[(0,o.jsx)(A.ZP,{onClick:function(){return W()},type:"primary",children:"\u641C\u7D22"}),(0,o.jsx)(A.ZP,{onClick:function(){return k&&k()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(e,B){return typeof e=="string"&&typeof(B==null?void 0:B.appName)=="string"?B.appName.includes(e):!1},filterIcon:function(e){return(0,o.jsx)(X.Z,{style:{color:e?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u5E94\u7528\u5305\u540D",dataIndex:"packageName",hideInSearch:!0,ellipsis:!0,filterDropdown:function(e){var B=e.setSelectedKeys,ie=e.selectedKeys,W=e.confirm,k=e.clearFilters;return(0,o.jsxs)("div",{style:{padding:8},children:[(0,o.jsx)(O.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:ie[0],onChange:function(N){return B(N.target.value?[N.target.value]:[])},onPressEnter:function(){return W()},style:{marginBottom:8,display:"block"}}),(0,o.jsxs)($.Z,{children:[(0,o.jsx)(A.ZP,{onClick:function(){return W()},type:"primary",children:"\u641C\u7D22"}),(0,o.jsx)(A.ZP,{onClick:function(){return k&&k()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(e,B){return typeof e=="string"&&typeof(B==null?void 0:B.packageName)=="string"?B.packageName.includes(e):!1},filterIcon:function(e){return(0,o.jsx)(X.Z,{style:{color:e?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}}],Me=function(){var J=ae()(h()().mark(function e(){var B,ie,W,k;return h()().wrap(function(N){for(;;)switch(N.prev=N.next){case 0:return N.next=2,(0,ue.ai)();case 2:B=N.sent,B.data&&(W=[],k=[],(ie=S.data.localAppList)===null||ie===void 0||ie.forEach(function(Ee){var Ze;(Ze=B.data)!==null&&Ze!==void 0&&Ze.some(function(Te){return Te.packageName===Ee.packageName})?W.push(b()(b()({},Ee),{},{evil:!0})):k.push(b()(b()({},Ee),{},{evil:!1}))}),se([].concat(W,k)),be([].concat(W,k)));case 4:case"end":return N.stop()}},e)}));return function(){return J.apply(this,arguments)}}();return(0,Z.useEffect)(function(){Me()},[]),(0,o.jsx)(Pe.Z,{style:{width:600},onCancel:S.onClose,visible:!0,footer:[],children:(0,o.jsx)(x.Z,{onRow:function(e){return{style:{backgroundColor:e.evil?"red":"transparent"}}},search:!1,onReset:function(){be(De)},columns:Oe,dataSource:Fe})})},xe=ge,ne=function(S){var C=(0,Z.useState)(!1),d=E()(C,2),De=d[0],se=d[1],D=(0,v.E7)(S.data.env);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(V.Z,{content:(0,o.jsxs)(o.Fragment,{children:[S.data.localAppList&&S.data.localAppList.length>0&&(0,o.jsxs)("p",{children:[(0,o.jsx)("label",{children:"\u5DF2\u5B89\u88C5\u5E94\u7528\uFF1A"}),S.data.localAppList.length,"\u4E2A",(0,o.jsx)("a",{onClick:function(){se(!0)},style:{marginLeft:20},children:"\u67E5\u770B"})]}),D.length>0&&(0,o.jsx)(U.Z,{size:"small",header:(0,o.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:D,renderItem:function(Fe){return(0,o.jsx)(U.Z.Item,{children:Fe})}})]}),children:(0,o.jsxs)(G.Z,{children:[(0,o.jsx)(i.C,{src:S.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,o.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:D.length>0?"red":""},children:["id:",S.data.id,(0,o.jsx)("br",{}),S.data.nickname||S.data.mobile]})]})}),De&&(0,o.jsx)(xe,{onClose:function(){se(!1)},data:S.data})]})},j=ne},4575:function(Se,w,n){n.d(w,{XM:function(){return ae},ai:function(){return h},nr:function(){return xe},vE:function(){return $}});var K=n(15009),E=n.n(K),V=n(97857),U=n.n(V),G=n(99289),i=n.n(G),Z=n(35312);function v(j,F){return g.apply(this,arguments)}function g(){return g=_asyncToGenerator(_regeneratorRuntime().mark(function j(F,S){return _regeneratorRuntime().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.abrupt("return",request("/api/admin/superAdmin/addSchedule",_objectSpread({method:"POST",headers:{"Content-Type":"application/json"},data:F},S||{})));case 1:case"end":return d.stop()}},j)})),g.apply(this,arguments)}function h(j){return P.apply(this,arguments)}function P(){return P=i()(E()().mark(function j(F){return E()().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.abrupt("return",(0,Z.request)("/api/admin/superAdmin/evilAppList",U()({method:"GET"},F||{})));case 1:case"end":return C.stop()}},j)})),P.apply(this,arguments)}function b(j){return L.apply(this,arguments)}function L(){return L=_asyncToGenerator(_regeneratorRuntime().mark(function j(F){return _regeneratorRuntime().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.abrupt("return",request("/api/admin/superAdmin/innerUserList",_objectSpread({method:"GET"},F||{})));case 1:case"end":return C.stop()}},j)})),L.apply(this,arguments)}function ae(j,F){return X.apply(this,arguments)}function X(){return X=i()(E()().mark(function j(F,S){return E()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.abrupt("return",(0,Z.request)("/api/admin/superAdmin/saveEvilApp",U()({method:"POST",headers:{"Content-Type":"application/json"},data:F},S||{})));case 1:case"end":return d.stop()}},j)})),X.apply(this,arguments)}function x(j,F){return O.apply(this,arguments)}function O(){return O=_asyncToGenerator(_regeneratorRuntime().mark(function j(F,S){return _regeneratorRuntime().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.abrupt("return",request("/api/admin/superAdmin/saveInnerUser",_objectSpread({method:"POST",params:_objectSpread({},F)},S||{})));case 1:case"end":return d.stop()}},j)})),O.apply(this,arguments)}function $(j,F){return A.apply(this,arguments)}function A(){return A=i()(E()().mark(function j(F,S){return E()().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.abrupt("return",(0,Z.request)("/api/admin/superAdmin/saveWhiteUser",U()({method:"POST",params:U()({},F)},S||{})));case 1:case"end":return d.stop()}},j)})),A.apply(this,arguments)}function Pe(j){return ue.apply(this,arguments)}function ue(){return ue=_asyncToGenerator(_regeneratorRuntime().mark(function j(F){return _regeneratorRuntime().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.abrupt("return",request("/api/admin/superAdmin/scheduleList",_objectSpread({method:"GET"},F||{})));case 1:case"end":return C.stop()}},j)})),ue.apply(this,arguments)}function o(j,F){return ge.apply(this,arguments)}function ge(){return ge=_asyncToGenerator(_regeneratorRuntime().mark(function j(F,S){return _regeneratorRuntime().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.abrupt("return",request("/api/admin/superAdmin/transfer",_objectSpread({method:"POST",params:_objectSpread({},F)},S||{})));case 1:case"end":return d.stop()}},j)})),ge.apply(this,arguments)}function xe(j){return ne.apply(this,arguments)}function ne(){return ne=i()(E()().mark(function j(F){return E()().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.abrupt("return",(0,Z.request)("/api/admin/superAdmin/whiteUserList",U()({method:"GET"},F||{})));case 1:case"end":return C.stop()}},j)})),ne.apply(this,arguments)}},52043:function(Se,w,n){n.d(w,{E7:function(){return E},FG:function(){return K},aV:function(){return i}});var K=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"},{label:"\u5229\u597D",value:"lihao"},{label:"\u4F73\u7476",value:"jiayao"}]},E=function(v){var g=[];if(!v)return g;for(var h=v>>1,P=["\u7528\u6237\u6253\u5F00\u4E86USB\u8C03\u8BD5\u6A21\u5F0F","\u7528\u6237\u6253\u5F00\u4E86\u5F00\u53D1\u8005\u6A21\u5F0F","\u7528\u6237\u6253\u5F00\u4E86\u65E0\u969C\u788D\u6A21\u5F0F","\u7528\u6237\u624B\u673A\u5DF2\u7ECFRoot","\u7528\u6237\u5B89\u88C5\u4E86Xpose","\u7528\u6237\u5F00\u542F\u4E86VPN","\u7528\u6237\u5F00\u542F\u4EE3\u7406","\u652F\u4ED8\u5B9D\u672A\u5B89\u88C5","\u5FAE\u4FE1\u672A\u5B89\u88C5"],b=0,L=P;b>=1}return g},V=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(v){var g=new Date(v),h=g.getFullYear().toString().padStart(4,"0"),P=(g.getMonth()+1).toString().padStart(2,"0"),b=g.getDate().toString().padStart(2,"0");return h+P+b},G=function(v,g){var h=v.toString();return h.padStart(g,"0")},i=function(v){var g=v;return g<1024?g+" B":(g=parseFloat((g/1024).toFixed(2)),g<1024?g+" KB":(g=parseFloat((g/1024).toFixed(2)),g+" MB"))}},32400:function(Se,w,n){n.d(w,{p:function(){return Z}});var K=n(15009),E=n.n(K),V=n(99289),U=n.n(V),G=n(8322),i=n.n(G);function Z(g){return v.apply(this,arguments)}function v(){return v=U()(E()().mark(function g(h){return E()().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.abrupt("return",new Promise(function(L,ae){var X=new(i()).ArrayBuffer,x=new FileReader;x.onload=function(O){var $;X.append(($=O.target)===null||$===void 0?void 0:$.result),L(X.end())},x.onerror=function(O){ae(O)},x.readAsArrayBuffer(h)}));case 1:case"end":return b.stop()}},g)})),v.apply(this,arguments)}}}]); diff --git a/dist/p__UserManagement.00a0e9d3.async.js b/dist/p__UserManagement.00a0e9d3.async.js deleted file mode 100644 index 851d965..0000000 --- a/dist/p__UserManagement.00a0e9d3.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[903],{40110:function(Y,K,e){var p=e(1413),_=e(67294),R=e(509),g=e(91146),Z=function(P,l){return _.createElement(g.Z,(0,p.Z)((0,p.Z)({},P),{},{ref:l,icon:R.Z}))},y=_.forwardRef(Z);K.Z=y},42767:function(Y,K,e){e.d(K,{Z:function(){return M}});var p=e(5574),_=e.n(p),R=e(55241),g=e(2487),Z=e(71230),y=e(7134),h=e(67294),P=e(52043),l=e(15009),S=e.n(l),T=e(97857),D=e.n(T),B=e(99289),x=e.n(B),I=e(40110),o=e(67539),j=e(55102),v=e(42075),O=e(14726),W=e(17788),Q=e(4575),i=e(85893),G=function(n){var m=(0,h.useState)(),a=_()(m,2),A=a[0],t=a[1],u=(0,h.useState)(),f=_()(u,2),s=f[0],c=f[1],z=[{title:"\u5E94\u7528\u540D",dataIndex:"appName",ellipsis:!0,hideInSearch:!0,filterDropdown:function(d){var E=d.setSelectedKeys,b=d.selectedKeys,L=d.confirm,$=d.clearFilters;return(0,i.jsxs)("div",{style:{padding:8},children:[(0,i.jsx)(j.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:b[0],onChange:function(F){return E(F.target.value?[F.target.value]:[])},onPressEnter:function(){return L()},style:{marginBottom:8,display:"block"}}),(0,i.jsxs)(v.Z,{children:[(0,i.jsx)(O.ZP,{onClick:function(){return L()},type:"primary",children:"\u641C\u7D22"}),(0,i.jsx)(O.ZP,{onClick:function(){return $&&$()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(d,E){return typeof d=="string"&&typeof(E==null?void 0:E.appName)=="string"?E.appName.includes(d):!1},filterIcon:function(d){return(0,i.jsx)(I.Z,{style:{color:d?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u5E94\u7528\u5305\u540D",dataIndex:"packageName",hideInSearch:!0,ellipsis:!0,filterDropdown:function(d){var E=d.setSelectedKeys,b=d.selectedKeys,L=d.confirm,$=d.clearFilters;return(0,i.jsxs)("div",{style:{padding:8},children:[(0,i.jsx)(j.Z,{placeholder:"\u641C\u7D22\u5305\u540D",value:b[0],onChange:function(F){return E(F.target.value?[F.target.value]:[])},onPressEnter:function(){return L()},style:{marginBottom:8,display:"block"}}),(0,i.jsxs)(v.Z,{children:[(0,i.jsx)(O.ZP,{onClick:function(){return L()},type:"primary",children:"\u641C\u7D22"}),(0,i.jsx)(O.ZP,{onClick:function(){return $&&$()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(d,E){return typeof d=="string"&&typeof(E==null?void 0:E.packageName)=="string"?E.packageName.includes(d):!1},filterIcon:function(d){return(0,i.jsx)(I.Z,{style:{color:d?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}}],U=function(){var C=x()(S()().mark(function d(){var E,b,L,$;return S()().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:return F.next=2,(0,Q.ai)();case 2:E=F.sent,E.data&&(L=[],$=[],(b=n.data.localAppList)===null||b===void 0||b.forEach(function(V){var X;(X=E.data)!==null&&X!==void 0&&X.some(function(q){return q.packageName===V.packageName})?L.push(D()(D()({},V),{},{evil:!0})):$.push(D()(D()({},V),{},{evil:!1}))}),t([].concat(L,$)),c([].concat(L,$)));case 4:case"end":return F.stop()}},d)}));return function(){return C.apply(this,arguments)}}();return(0,h.useEffect)(function(){U()},[]),(0,i.jsx)(W.Z,{style:{width:600},onCancel:n.onClose,visible:!0,footer:[],children:(0,i.jsx)(o.Z,{onRow:function(d){return{style:{backgroundColor:d.evil?"red":"transparent"}}},search:!1,onReset:function(){c(A)},columns:z,dataSource:s})})},N=G,H=function(n){var m=(0,h.useState)(!1),a=_()(m,2),A=a[0],t=a[1],u=(0,P.E7)(n.data.env);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(R.Z,{content:(0,i.jsxs)(i.Fragment,{children:[n.data.localAppList&&n.data.localAppList.length>0&&(0,i.jsxs)("p",{children:[(0,i.jsx)("label",{children:"\u5DF2\u5B89\u88C5\u5E94\u7528\uFF1A"}),n.data.localAppList.length,"\u4E2A",(0,i.jsx)("a",{onClick:function(){t(!0)},style:{marginLeft:20},children:"\u67E5\u770B"})]}),u.length>0&&(0,i.jsx)(g.Z,{size:"small",header:(0,i.jsx)("div",{children:"\u8BBE\u5907\u5F02\u5E38\u4FE1\u606F"}),bordered:!0,dataSource:u,renderItem:function(s){return(0,i.jsx)(g.Z.Item,{children:s})}})]}),children:(0,i.jsxs)(Z.Z,{children:[(0,i.jsx)(y.C,{src:n.data.avatar||"https://apks.bzgames.cn/matrix/fc3fca88a8b28ff602e7a38d8164938b.png"}),(0,i.jsxs)("p",{style:{fontSize:12,marginLeft:10,color:u.length>0?"red":""},children:["id:",n.data.id,(0,i.jsx)("br",{}),n.data.nickname||n.data.mobile]})]})}),A&&(0,i.jsx)(N,{onClose:function(){t(!1)},data:n.data})]})},M=H},47989:function(Y,K,e){e.r(K);var p=e(97857),_=e.n(p),R=e(15009),g=e.n(R),Z=e(99289),y=e.n(Z),h=e(81072),P=e(90930),l=e(67539),S=e(35312),T=e(66309),D=e(86250),B=e(86738),x=e(67294),I=e(42767),o=e(85893),j=function(){var O=(0,S.useParams)(),W=O.code,Q=(0,x.useRef)();(0,x.useEffect)(function(){var G;(G=Q.current)===null||G===void 0||G.reload()},[W]);var i=[{title:"\u7528\u6237id",dataIndex:"userId",valueType:"textarea",hideInTable:!0},{title:"id",dataIndex:"id",valueType:"textarea",ellipsis:!0,copyable:!0,hideInSearch:!0},{title:"\u7528\u6237",hideInSearch:!0,dataIndex:"nickname",valueType:"textarea",renderText:function(N,H){return(0,o.jsx)(I.Z,{data:H})}},{title:"\u5FAE\u4FE1",dataIndex:"wxOpenId",hideInSearch:!0,renderText:function(N){return N?(0,o.jsx)(T.Z,{color:"green",children:"\u5DF2\u7ED1\u5B9A"}):(0,o.jsx)(T.Z,{color:"red",children:"\u672A\u7ED1\u5B9A"})}},{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(N){return(0,o.jsx)(D.Z,{gap:"small",wrap:!0,children:(0,o.jsxs)(o.Fragment,{children:[N.status===0&&(0,o.jsx)(B.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:y()(g()().mark(function H(){var M;return g()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,h.wv)({userId:N.id||0,status:-1});case 2:(M=Q.current)===null||M===void 0||M.reload();case 3:case"end":return n.stop()}},H)})),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,o.jsx)("a",{children:"\u5C01\u7981"})}),N.status===-1&&(0,o.jsx)(B.Z,{title:"\u89E3\u5C01\u7528\u6237",description:"\u89E3\u5C01\u540E\u7528\u6237\u53EF\u4EE5\u6B63\u5E38\u767B\u5F55\u3001\u83B7\u53D6\u6536\u76CA",onConfirm:y()(g()().mark(function H(){var M;return g()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,(0,h.wv)({userId:N.id||0,status:0});case 2:(M=Q.current)===null||M===void 0||M.reload();case 3:case"end":return n.stop()}},H)})),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,o.jsx)("a",{children:"\u89E3\u5C01"})})]})})}}];return(0,o.jsx)(P._z,{children:(0,o.jsx)(l.Z,{actionRef:Q,request:function(){var G=y()(g()().mark(function N(H){var M,r,n;return g()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,h.pb)(_()(_()({},H),{},{appCode:W}));case 2:return n=a.sent,a.abrupt("return",{data:(M=n.data)===null||M===void 0?void 0:M.data,total:(r=n.data)===null||r===void 0?void 0:r.total,success:!0});case 4:case"end":return a.stop()}},N)}));return function(N){return G.apply(this,arguments)}}(),columns:i})})};K.default=j},81072:function(Y,K,e){e.d(K,{fn:function(){return D},pb:function(){return S},wv:function(){return P}});var p=e(15009),_=e.n(p),R=e(97857),g=e.n(R),Z=e(99289),y=e.n(Z),h=e(35312);function P(x,I){return l.apply(this,arguments)}function l(){return l=y()(_()().mark(function x(I,o){return _()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.abrupt("return",(0,h.request)("/api/admin/user/changeStatus",g()({method:"POST",params:g()({},I)},o||{})));case 1:case"end":return v.stop()}},x)})),l.apply(this,arguments)}function S(x,I){return T.apply(this,arguments)}function T(){return T=y()(_()().mark(function x(I,o){return _()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.abrupt("return",(0,h.request)("/api/admin/user/list",g()({method:"POST",headers:{"Content-Type":"application/json"},data:I},o||{})));case 1:case"end":return v.stop()}},x)})),T.apply(this,arguments)}function D(x,I){return B.apply(this,arguments)}function B(){return B=y()(_()().mark(function x(I,o){return _()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.abrupt("return",(0,h.request)("/api/admin/user/queryById",g()({method:"GET",params:g()({},I)},o||{})));case 1:case"end":return v.stop()}},x)})),B.apply(this,arguments)}},4575:function(Y,K,e){e.d(K,{XM:function(){return S},ai:function(){return P},nr:function(){return x},vE:function(){return D}});var p=e(15009),_=e.n(p),R=e(97857),g=e.n(R),Z=e(99289),y=e.n(Z),h=e(35312);function P(o){return l.apply(this,arguments)}function l(){return l=y()(_()().mark(function o(j){return _()().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return O.abrupt("return",(0,h.request)("/api/superAdmin/evilAppList",g()({method:"GET"},j||{})));case 1:case"end":return O.stop()}},o)})),l.apply(this,arguments)}function S(o,j){return T.apply(this,arguments)}function T(){return T=y()(_()().mark(function o(j,v){return _()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.abrupt("return",(0,h.request)("/api/superAdmin/saveEvilApp",g()({method:"POST",headers:{"Content-Type":"application/json"},data:j},v||{})));case 1:case"end":return W.stop()}},o)})),T.apply(this,arguments)}function D(o,j){return B.apply(this,arguments)}function B(){return B=y()(_()().mark(function o(j,v){return _()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.abrupt("return",(0,h.request)("/api/superAdmin/saveWhiteUser",g()({method:"POST",params:g()({},j)},v||{})));case 1:case"end":return W.stop()}},o)})),B.apply(this,arguments)}function x(o){return I.apply(this,arguments)}function I(){return I=y()(_()().mark(function o(j){return _()().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return O.abrupt("return",(0,h.request)("/api/superAdmin/whiteUserList",g()({method:"GET"},j||{})));case 1:case"end":return O.stop()}},o)})),I.apply(this,arguments)}},52043:function(Y,K,e){e.d(K,{E7:function(){return _},FG:function(){return p},aV:function(){return y}});var p=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"},{label:"\u5229\u597D",value:"lihao"},{label:"\u4F73\u7476",value:"jiayao"}]},_=function(P){var l=[];if(!P)return l;for(var S=P>>1,T=["\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"],D=0,B=T;D>=1}return l},R=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"}]},g=function(P){var l=new Date(P),S=l.getFullYear().toString().padStart(4,"0"),T=(l.getMonth()+1).toString().padStart(2,"0"),D=l.getDate().toString().padStart(2,"0");return S+T+D},Z=function(P,l){var S=P.toString();return S.padStart(l,"0")},y=function(P){var l=P;return l<1024?l+" B":(l=parseFloat((l/1024).toFixed(2)),l<1024?l+" KB":(l=parseFloat((l/1024).toFixed(2)),l+" MB"))}},86250:function(Y,K,e){e.d(K,{Z:function(){return M}});var p=e(67294),_=e(93967),R=e.n(_),g=e(98423),Z=e(98065),y=e(53124),h=e(91945),P=e(45503);const l=["wrap","nowrap","wrap-reverse"],S=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],T=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],D=(r,n)=>{const m=n.wrap===!0?"wrap":n.wrap;return{[`${r}-wrap-${m}`]:m&&l.includes(m)}},B=(r,n)=>{const m={};return T.forEach(a=>{m[`${r}-align-${a}`]=n.align===a}),m[`${r}-align-stretch`]=!n.align&&!!n.vertical,m},x=(r,n)=>{const m={};return S.forEach(a=>{m[`${r}-justify-${a}`]=n.justify===a}),m};function I(r,n){return R()(Object.assign(Object.assign(Object.assign({},D(r,n)),B(r,n)),x(r,n)))}var o=I;const j=r=>{const{componentCls:n}=r;return{[n]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},v=r=>{const{componentCls:n}=r;return{[n]:{"&-gap-small":{gap:r.flexGapSM},"&-gap-middle":{gap:r.flexGap},"&-gap-large":{gap:r.flexGapLG}}}},O=r=>{const{componentCls:n}=r,m={};return l.forEach(a=>{m[`${n}-wrap-${a}`]={flexWrap:a}}),m},W=r=>{const{componentCls:n}=r,m={};return T.forEach(a=>{m[`${n}-align-${a}`]={alignItems:a}}),m},Q=r=>{const{componentCls:n}=r,m={};return S.forEach(a=>{m[`${n}-justify-${a}`]={justifyContent:a}}),m},i=()=>({});var G=(0,h.I$)("Flex",r=>{const{paddingXS:n,padding:m,paddingLG:a}=r,A=(0,P.TS)(r,{flexGapSM:n,flexGap:m,flexGapLG:a});return[j(A),v(A),O(A),W(A),Q(A)]},i,{resetStyle:!1}),N=function(r,n){var m={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&n.indexOf(a)<0&&(m[a]=r[a]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,a=Object.getOwnPropertySymbols(r);A{const{prefixCls:m,rootClassName:a,className:A,style:t,flex:u,gap:f,children:s,vertical:c=!1,component:z="div"}=r,U=N(r,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:C,direction:d,getPrefixCls:E}=p.useContext(y.E_),b=E("flex",m),[L,$,w]=G(b),F=c!=null?c:C==null?void 0:C.vertical,V=R()(A,a,C==null?void 0:C.className,b,$,w,o(b,r),{[`${b}-rtl`]:d==="rtl",[`${b}-gap-${f}`]:(0,Z.n)(f),[`${b}-vertical`]:F}),X=Object.assign(Object.assign({},C==null?void 0:C.style),t);return u&&(X.flex=u),f&&!(0,Z.n)(f)&&(X.gap=f),L(p.createElement(z,Object.assign({ref:n,className:V,style:X},(0,g.Z)(U,["justify","wrap","align"])),s))})},66309:function(Y,K,e){e.d(K,{Z:function(){return A}});var p=e(67294),_=e(93967),R=e.n(_),g=e(98423),Z=e(98787),y=e(69760),h=e(96159),P=e(45353),l=e(53124),S=e(54548),T=e(10274),D=e(14747),B=e(45503),x=e(91945);const I=t=>{const{paddingXXS:u,lineWidth:f,tagPaddingHorizontal:s,componentCls:c,calc:z}=t,U=z(s).sub(f).equal(),C=z(u).sub(f).equal();return{[c]:Object.assign(Object.assign({},(0,D.Wf)(t)),{display:"inline-block",height:"auto",marginInlineEnd:t.marginXS,paddingInline:U,fontSize:t.tagFontSize,lineHeight:t.tagLineHeight,whiteSpace:"nowrap",background:t.defaultBg,border:`${(0,S.bf)(t.lineWidth)} ${t.lineType} ${t.colorBorder}`,borderRadius:t.borderRadiusSM,opacity:1,transition:`all ${t.motionDurationMid}`,textAlign:"start",position:"relative",[`&${c}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:t.defaultColor},[`${c}-close-icon`]:{marginInlineStart:C,fontSize:t.tagIconSize,color:t.colorTextDescription,cursor:"pointer",transition:`all ${t.motionDurationMid}`,"&:hover":{color:t.colorTextHeading}},[`&${c}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${t.iconCls}-close, ${t.iconCls}-close:hover`]:{color:t.colorTextLightSolid}},["&-checkable"]:{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${c}-checkable-checked):hover`]:{color:t.colorPrimary,backgroundColor:t.colorFillSecondary},"&:active, &-checked":{color:t.colorTextLightSolid},"&-checked":{backgroundColor:t.colorPrimary,"&:hover":{backgroundColor:t.colorPrimaryHover}},"&:active":{backgroundColor:t.colorPrimaryActive}},["&-hidden"]:{display:"none"},[`> ${t.iconCls} + span, > span + ${t.iconCls}`]:{marginInlineStart:U}}),[`${c}-borderless`]:{borderColor:"transparent",background:t.tagBorderlessBg}}},o=t=>{const{lineWidth:u,fontSizeIcon:f,calc:s}=t,c=t.fontSizeSM;return(0,B.TS)(t,{tagFontSize:c,tagLineHeight:(0,S.bf)(s(t.lineHeightSM).mul(c).equal()),tagIconSize:s(f).sub(s(u).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:t.defaultBg})},j=t=>({defaultBg:new T.C(t.colorFillQuaternary).onBackground(t.colorBgContainer).toHexString(),defaultColor:t.colorText});var v=(0,x.I$)("Tag",t=>{const u=o(t);return I(u)},j),O=function(t,u){var f={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&u.indexOf(s)<0&&(f[s]=t[s]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,s=Object.getOwnPropertySymbols(t);c{const{prefixCls:f,style:s,className:c,checked:z,onChange:U,onClick:C}=t,d=O(t,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:E,tag:b}=p.useContext(l.E_),L=q=>{U==null||U(!z),C==null||C(q)},$=E("tag",f),[w,F,V]=v($),X=R()($,`${$}-checkable`,{[`${$}-checkable-checked`]:z},b==null?void 0:b.className,c,F,V);return w(p.createElement("span",Object.assign({},d,{ref:u,style:Object.assign(Object.assign({},s),b==null?void 0:b.style),className:X,onClick:L})))}),i=e(98719);const G=t=>(0,i.Z)(t,(u,f)=>{let{textColor:s,lightBorderColor:c,lightColor:z,darkColor:U}=f;return{[`${t.componentCls}${t.componentCls}-${u}`]:{color:s,background:z,borderColor:c,"&-inverse":{color:t.colorTextLightSolid,background:U,borderColor:U},[`&${t.componentCls}-borderless`]:{borderColor:"transparent"}}}});var N=(0,x.bk)(["Tag","preset"],t=>{const u=o(t);return G(u)},j);function H(t){return typeof t!="string"?t:t.charAt(0).toUpperCase()+t.slice(1)}const M=(t,u,f)=>{const s=H(f);return{[`${t.componentCls}${t.componentCls}-${u}`]:{color:t[`color${f}`],background:t[`color${s}Bg`],borderColor:t[`color${s}Border`],[`&${t.componentCls}-borderless`]:{borderColor:"transparent"}}}};var r=(0,x.bk)(["Tag","status"],t=>{const u=o(t);return[M(u,"success","Success"),M(u,"processing","Info"),M(u,"error","Error"),M(u,"warning","Warning")]},j),n=function(t,u){var f={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&u.indexOf(s)<0&&(f[s]=t[s]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,s=Object.getOwnPropertySymbols(t);c{const{prefixCls:f,className:s,rootClassName:c,style:z,children:U,icon:C,color:d,onClose:E,bordered:b=!0,visible:L}=t,$=n(t,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:w,direction:F,tag:V}=p.useContext(l.E_),[X,q]=p.useState(!0),ue=(0,g.Z)($,["closeIcon","closable"]);p.useEffect(()=>{L!==void 0&&q(L)},[L]);const re=(0,Z.o2)(d),ae=(0,Z.yT)(d),te=re||ae,ce=Object.assign(Object.assign({backgroundColor:d&&!te?d:void 0},V==null?void 0:V.style),z),J=w("tag",f),[de,me,fe]=v(J),pe=R()(J,V==null?void 0:V.className,{[`${J}-${d}`]:te,[`${J}-has-color`]:d&&!te,[`${J}-hidden`]:!X,[`${J}-rtl`]:F==="rtl",[`${J}-borderless`]:!b},s,c,me,fe),se=ee=>{ee.stopPropagation(),E==null||E(ee),!ee.defaultPrevented&&q(!1)},[,_e]=(0,y.Z)((0,y.w)(t),(0,y.w)(V),{closable:!1,closeIconRender:ee=>{const he=p.createElement("span",{className:`${J}-close-icon`,onClick:se},ee);return(0,h.wm)(ee,he,k=>({onClick:ie=>{var ne;(ne=k==null?void 0:k.onClick)===null||ne===void 0||ne.call(k,ie),se(ie)},className:R()(k==null?void 0:k.className,`${J}-close-icon`)}))}}),ve=typeof $.onClick=="function"||U&&U.type==="a",le=C||null,ge=le?p.createElement(p.Fragment,null,le,U&&p.createElement("span",null,U)):U,oe=p.createElement("span",Object.assign({},ue,{ref:u,className:pe,style:ce}),ge,_e,re&&p.createElement(N,{key:"preset",prefixCls:J}),ae&&p.createElement(r,{key:"status",prefixCls:J}));return de(ve?p.createElement(P.Z,{component:"Tag"},oe):oe)});a.CheckableTag=Q;var A=a}}]); diff --git a/dist/p__UserManagement.7f7499c6.async.js b/dist/p__UserManagement.7f7499c6.async.js new file mode 100644 index 0000000..c19b069 --- /dev/null +++ b/dist/p__UserManagement.7f7499c6.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[903],{40110:function(ee,D,t){var d=t(1413),P=t(67294),O=t(509),h=t(91146),j=function(A,I){return P.createElement(h.Z,(0,d.Z)((0,d.Z)({},A),{},{ref:I,icon:O.Z}))},E=P.forwardRef(j);D.Z=E},47989:function(ee,D,t){t.r(D);var d=t(97857),P=t.n(d),O=t(15009),h=t.n(O),j=t(99289),E=t.n(j),M=t(81072),A=t(90930),I=t(67539),U=t(35312),W=t(66309),w=t(86250),V=t(86738),B=t(67294),G=t(42767),u=t(85893),L=function(){var X=(0,U.useParams)(),J=X.code,R=(0,B.useRef)();(0,B.useEffect)(function(){var _;(_=R.current)===null||_===void 0||_.reload()},[J]);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(p,S){return(0,u.jsx)(G.Z,{data:S})}},{title:"\u5FAE\u4FE1",dataIndex:"wxOpenId",hideInSearch:!0,renderText:function(p){return p?(0,u.jsx)(W.Z,{color:"green",children:"\u5DF2\u7ED1\u5B9A"}):(0,u.jsx)(W.Z,{color:"red",children:"\u672A\u7ED1\u5B9A"})}},{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,u.jsx)(w.Z,{gap:"small",wrap:!0,children:(0,u.jsxs)(u.Fragment,{children:[p.status===0&&(0,u.jsx)(V.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()(h()().mark(function S(){var f;return h()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,M.wv)({userId:p.id||0,status:-1});case 2:(f=R.current)===null||f===void 0||f.reload();case 3:case"end":return r.stop()}},S)})),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,u.jsx)("a",{children:"\u5C01\u7981"})}),p.status===-1&&(0,u.jsx)(V.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()(h()().mark(function S(){var f;return h()().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,(0,M.wv)({userId:p.id||0,status:0});case 2:(f=R.current)===null||f===void 0||f.reload();case 3:case"end":return r.stop()}},S)})),okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",children:(0,u.jsx)("a",{children:"\u89E3\u5C01"})})]})})}}];return(0,u.jsx)(A._z,{children:(0,u.jsx)(I.Z,{actionRef:R,request:function(){var _=E()(h()().mark(function p(S){var f,n,r;return h()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,M.pb)(P()(P()({},S),{},{appCode:J}));case 2:return r=a.sent,a.abrupt("return",{data:(f=r.data)===null||f===void 0?void 0:f.data,total:(n=r.data)===null||n===void 0?void 0:n.total,success:!0});case 4:case"end":return a.stop()}},p)}));return function(p){return _.apply(this,arguments)}}(),columns:Q})})};D.default=L},86250:function(ee,D,t){t.d(D,{Z:function(){return f}});var d=t(67294),P=t(93967),O=t.n(P),h=t(98423),j=t(98065),E=t(53124),M=t(91945),A=t(45503);const I=["wrap","nowrap","wrap-reverse"],U=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],W=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],w=(n,r)=>{const c=r.wrap===!0?"wrap":r.wrap;return{[`${n}-wrap-${c}`]:c&&I.includes(c)}},V=(n,r)=>{const c={};return W.forEach(a=>{c[`${n}-align-${a}`]=r.align===a}),c[`${n}-align-stretch`]=!r.align&&!!r.vertical,c},B=(n,r)=>{const c={};return U.forEach(a=>{c[`${n}-justify-${a}`]=r.justify===a}),c};function G(n,r){return O()(Object.assign(Object.assign(Object.assign({},w(n,r)),V(n,r)),B(n,r)))}var u=G;const L=n=>{const{componentCls:r}=n;return{[r]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},H=n=>{const{componentCls:r}=n;return{[r]:{"&-gap-small":{gap:n.flexGapSM},"&-gap-middle":{gap:n.flexGap},"&-gap-large":{gap:n.flexGapLG}}}},X=n=>{const{componentCls:r}=n,c={};return I.forEach(a=>{c[`${r}-wrap-${a}`]={flexWrap:a}}),c},J=n=>{const{componentCls:r}=n,c={};return W.forEach(a=>{c[`${r}-align-${a}`]={alignItems:a}}),c},R=n=>{const{componentCls:r}=n,c={};return U.forEach(a=>{c[`${r}-justify-${a}`]={justifyContent:a}}),c},Q=()=>({});var _=(0,M.I$)("Flex",n=>{const{paddingXS:r,padding:c,paddingLG:a}=n,v=(0,A.TS)(n,{flexGapSM:r,flexGap:c,flexGapLG:a});return[L(v),H(v),X(v),J(v),R(v)]},Q,{resetStyle:!1}),p=function(n,r){var c={};for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&r.indexOf(a)<0&&(c[a]=n[a]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,a=Object.getOwnPropertySymbols(n);v{const{prefixCls:c,rootClassName:a,className:v,style:e,flex:s,gap:i,children:o,vertical:l=!1,component:x="div"}=n,m=p(n,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:g,direction:T,getPrefixCls:N}=d.useContext(E.E_),C=N("flex",c),[Z,$,Y]=_(C),k=l!=null?l:g==null?void 0:g.vertical,y=O()(v,a,g==null?void 0:g.className,C,$,Y,u(C,n),{[`${C}-rtl`]:T==="rtl",[`${C}-gap-${i}`]:(0,j.n)(i),[`${C}-vertical`]:k}),F=Object.assign(Object.assign({},g==null?void 0:g.style),e);return s&&(F.flex=s),i&&!(0,j.n)(i)&&(F.gap=i),Z(d.createElement(x,Object.assign({ref:r,className:y,style:F},(0,h.Z)(m,["justify","wrap","align"])),o))})},66309:function(ee,D,t){t.d(D,{Z:function(){return v}});var d=t(67294),P=t(93967),O=t.n(P),h=t(98423),j=t(98787),E=t(69760),M=t(96159),A=t(45353),I=t(53124),U=t(54548),W=t(10274),w=t(14747),V=t(45503),B=t(91945);const G=e=>{const{paddingXXS:s,lineWidth:i,tagPaddingHorizontal:o,componentCls:l,calc:x}=e,m=x(o).sub(i).equal(),g=x(s).sub(i).equal();return{[l]:Object.assign(Object.assign({},(0,w.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:m,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,U.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:g,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:m}}),[`${l}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},u=e=>{const{lineWidth:s,fontSizeIcon:i,calc:o}=e,l=e.fontSizeSM;return(0,V.TS)(e,{tagFontSize:l,tagLineHeight:(0,U.bf)(o(e.lineHeightSM).mul(l).equal()),tagIconSize:o(i).sub(o(s).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},L=e=>({defaultBg:new W.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var H=(0,B.I$)("Tag",e=>{const s=u(e);return G(s)},L),X=function(e,s){var i={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&s.indexOf(o)<0&&(i[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,o=Object.getOwnPropertySymbols(e);l{const{prefixCls:i,style:o,className:l,checked:x,onChange:m,onClick:g}=e,T=X(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:N,tag:C}=d.useContext(I.E_),Z=q=>{m==null||m(!x),g==null||g(q)},$=N("tag",i),[Y,k,y]=H($),F=O()($,`${$}-checkable`,{[`${$}-checkable-checked`]:x},C==null?void 0:C.className,l,k,y);return Y(d.createElement("span",Object.assign({},T,{ref:s,style:Object.assign(Object.assign({},o),C==null?void 0:C.style),className:F,onClick:Z})))}),Q=t(98719);const _=e=>(0,Q.Z)(e,(s,i)=>{let{textColor:o,lightBorderColor:l,lightColor:x,darkColor:m}=i;return{[`${e.componentCls}${e.componentCls}-${s}`]:{color:o,background:x,borderColor:l,"&-inverse":{color:e.colorTextLightSolid,background:m,borderColor:m},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var p=(0,B.bk)(["Tag","preset"],e=>{const s=u(e);return _(s)},L);function S(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const f=(e,s,i)=>{const o=S(i);return{[`${e.componentCls}${e.componentCls}-${s}`]:{color:e[`color${i}`],background:e[`color${o}Bg`],borderColor:e[`color${o}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var n=(0,B.bk)(["Tag","status"],e=>{const s=u(e);return[f(s,"success","Success"),f(s,"processing","Info"),f(s,"error","Error"),f(s,"warning","Warning")]},L),r=function(e,s){var i={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&s.indexOf(o)<0&&(i[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,o=Object.getOwnPropertySymbols(e);l{const{prefixCls:i,className:o,rootClassName:l,style:x,children:m,icon:g,color:T,onClose:N,bordered:C=!0,visible:Z}=e,$=r(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:Y,direction:k,tag:y}=d.useContext(I.E_),[F,q]=d.useState(!0),ie=(0,h.Z)($,["closeIcon","closable"]);d.useEffect(()=>{Z!==void 0&&q(Z)},[Z]);const re=(0,j.o2)(T),ae=(0,j.yT)(T),te=re||ae,de=Object.assign(Object.assign({backgroundColor:T&&!te?T:void 0},y==null?void 0:y.style),x),b=Y("tag",i),[ue,fe,me]=H(b),ge=O()(b,y==null?void 0:y.className,{[`${b}-${T}`]:te,[`${b}-has-color`]:T&&!te,[`${b}-hidden`]:!F,[`${b}-rtl`]:k==="rtl",[`${b}-borderless`]:!C},o,l,fe,me),oe=z=>{z.stopPropagation(),N==null||N(z),!z.defaultPrevented&&q(!1)},[,ve]=(0,E.Z)((0,E.w)(e),(0,E.w)(y),{closable:!1,closeIconRender:z=>{const he=d.createElement("span",{className:`${b}-close-icon`,onClick:oe},z);return(0,M.wm)(z,he,K=>({onClick:ce=>{var ne;(ne=K==null?void 0:K.onClick)===null||ne===void 0||ne.call(K,ce),oe(ce)},className:O()(K==null?void 0:K.className,`${b}-close-icon`)}))}}),Ce=typeof $.onClick=="function"||m&&m.type==="a",le=g||null,pe=le?d.createElement(d.Fragment,null,le,m&&d.createElement("span",null,m)):m,se=d.createElement("span",Object.assign({},ie,{ref:s,className:ge,style:de}),pe,ve,re&&d.createElement(p,{key:"preset",prefixCls:b}),ae&&d.createElement(n,{key:"status",prefixCls:b}));return ue(Ce?d.createElement(A.Z,{component:"Tag"},se):se)});a.CheckableTag=R;var v=a}}]); diff --git a/dist/umi.b81b7e17.js b/dist/umi.b63ef643.js similarity index 98% rename from dist/umi.b81b7e17.js rename to dist/umi.b63ef643.js index 860e756..e1bc9c7 100644 --- a/dist/umi.b81b7e17.js +++ b/dist/umi.b63ef643.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",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",301:"4594a64b",343:"7ff141fb",366:"9d3ab92e",371:"1ed365d2",390:"41467286",393:"38316f72",397:"fb5f72c1",435:"88a89336",455:"497ff705",526:"107b3f81",531:"35af34f5",539:"290aefb9",542:"ac86b512",557:"b6ee068f",559:"016bfdbb",571:"0c100574",635:"20e45f05",731:"9a034487",761:"f7bbde11",816:"3ee3c339",857:"d682c9eb",903:"00a0e9d3",905:"6e225d1b",930:"fca7adbf",990:"f54d5e7d"}[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",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",301:"4594a64b",343:"7ff141fb",366:"9d3ab92e",371:"1ed365d2",390:"41467286",393:"38316f72",397:"fb5f72c1",435:"88a89336",455:"4df5c668",526:"752f65f0",531:"35af34f5",539:"290aefb9",542:"f8055b8e",557:"b6ee068f",559:"016bfdbb",571:"0c100574",635:"8a884f26",731:"9a034487",761:"f7bbde11",816:"5355b667",857:"d682c9eb",903:"7f7499c6",905:"6e225d1b",930:"fca7adbf",971:"8a6ac777",990:"95a376ea"}[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=fa.createContext(void 0);function no(){return fa.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 fa.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?fa.createElement(mo,{to:ye}):fa.createElement(ka.Provider,{value:{route:qn.route}},fa.createElement(k,{loader:fa.memo(qn.routeComponent),loadingComponent:qn.loadingComponent||Ci,hasChildren:qn.hasChildren}))},je)}function Ci(){return fa.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 fa.createElement(fa.Suspense,{fallback:fa.createElement(qn.loadingComponent,null)},fa.createElement(Qn,{location:k.location,match:Pn,history:k,params:Ot,route:ye,routes:lt},qn.hasChildren&&fa.createElement(Za.j3,null)))}function Qi(qn){var Yn=qn.loader;return fa.createElement(fa.Suspense,{fallback:fa.createElement(qn.loadingComponent,null)},fa.createElement(Yn,null))}var Ji=null;function Hs(){return Ji}function Ps(qn){var Yn=qn.history,ye=fa.useState({action:Yn.action,location:Yn.location}),je=Yo(ye,2),k=je[0],lt=je[1];return(0,fa.useLayoutEffect)(function(){return Yn.listen(lt)},[Yn]),(0,fa.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]),fa.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=fa.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=fa.createContext(void 0);function no(){return fa.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 fa.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?fa.createElement(mo,{to:ye}):fa.createElement(ka.Provider,{value:{route:qn.route}},fa.createElement(k,{loader:fa.memo(qn.routeComponent),loadingComponent:qn.loadingComponent||Ci,hasChildren:qn.hasChildren}))},je)}function Ci(){return fa.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 fa.createElement(fa.Suspense,{fallback:fa.createElement(qn.loadingComponent,null)},fa.createElement(Qn,{location:k.location,match:Pn,history:k,params:Ot,route:ye,routes:lt},qn.hasChildren&&fa.createElement(Za.j3,null)))}function Qi(qn){var Yn=qn.loader;return fa.createElement(fa.Suspense,{fallback:fa.createElement(qn.loadingComponent,null)},fa.createElement(Yn,null))}var Ji=null;function Hs(){return Ji}function Ps(qn){var Yn=qn.history,ye=fa.useState({action:Yn.action,location:Yn.location}),je=Yo(ye,2),k=je[0],lt=je[1];return(0,fa.useLayoutEffect)(function(){return Yn.listen(lt)},[Yn]),(0,fa.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]),fa.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=fa.createElement(Ps,{basename:je,pluginManager:Yn.pluginManager,routes:Yn.routes,clientRoutes:k,history:Yn.history},ye),Ot=0,Pn=Oe;Ot('/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 || {}), }); } -/** 此处后端没有提供注释 POST /api/superAdmin/saveEvilApp */ +/** 此处后端没有提供注释 GET /api/admin/superAdmin/innerUserList */ +export async function innerUserList(options?: { [key: string]: any }) { + return request('/api/admin/superAdmin/innerUserList', { + method: 'GET', + ...(options || {}), + }); +} + +/** 此处后端没有提供注释 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,51 @@ 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, + }, + ...(options || {}), + }); +} + +/** 此处后端没有提供注释 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/admin/superAdmin/transfer', { method: 'POST', params: { ...params, @@ -37,9 +98,9 @@ export async function saveWhiteUser( }); } -/** 此处后端没有提供注释 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 142f93a..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; }; @@ -522,6 +543,12 @@ declare namespace API { endpoint?: string; }; + type transferParams = { + name: string; + aliAccount: string; + appCode: string; + }; + type UmengConfigBo = { umengAppKeyAli?: string; umengAppSecret?: string;