threels-workbench-app 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ body {
2
+ margin: 0;
3
+ display: flex;
4
+ place-items: center;
5
+ min-width: 320px;
6
+ min-height: 100vh;
7
+ }
@@ -0,0 +1,91 @@
1
+ .scrollbar {
2
+ overflow: hidden auto;
3
+ }
4
+
5
+ .scrollbar::-webkit-scrollbar {
6
+ width: 10px;
7
+ height: 10px;
8
+ }
9
+
10
+ .scrollbar::-webkit-scrollbar-thumb {
11
+ background: rgba(0, 180, 255, 0.5);
12
+ border-radius: 10px;
13
+ box-shadow: inset 0 0 5px rgba(255, 255, 255, 0);
14
+ }
15
+
16
+ .scrollbar::-webkit-scrollbar-track {
17
+ background: rgba(255, 255, 255, 0.15);
18
+ border-radius: vw(3);
19
+ box-shadow: inset 0 0 vw(5) rgba(0, 0, 0, 0);
20
+ }
21
+
22
+ .workbench-index-layout {
23
+ min-height: 100%;
24
+
25
+ .layout-header {
26
+ display: flex;
27
+ align-items: center;
28
+ justify-content: space-between;
29
+ padding: 0 20px !important;
30
+ box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03), 0 1px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px 0 rgba(0, 0, 0, 0.02);
31
+
32
+ .header-logo {
33
+ display: flex;
34
+ align-items: center;
35
+
36
+ .header-title {
37
+ line-height: 23px;
38
+ }
39
+
40
+ .logo-title {
41
+ margin-left: 15px;
42
+ font-size: 20px;
43
+ }
44
+
45
+ .logo-sub-title {
46
+ margin-left: 15px;
47
+ font-size: 14px;
48
+ }
49
+ }
50
+
51
+ .header-menu {
52
+ flex: 1;
53
+ display: flex;
54
+ overflow: hidden;
55
+
56
+ .menu-box {
57
+ flex: 1;
58
+ overflow: hidden;
59
+ height: 64px;
60
+
61
+ li {
62
+ cursor: pointer;
63
+
64
+ svg {
65
+ cursor: pointer;
66
+ }
67
+
68
+ span {
69
+ cursor: pointer;
70
+ }
71
+ }
72
+
73
+
74
+ }
75
+ }
76
+
77
+ .header-info {
78
+ cursor: pointer;
79
+ }
80
+ }
81
+
82
+ .slider-menu {
83
+ overflow: scroll;
84
+ height: 100%;
85
+
86
+ .ant-menu {
87
+ border: 0 !important;
88
+ }
89
+
90
+ }
91
+ }
@@ -0,0 +1,59 @@
1
+ .workbench-login-container {
2
+ width: 100vw;
3
+ height: 100vh;
4
+ background-repeat: no-repeat;
5
+ background-size: 100% 100%;
6
+ position: relative;
7
+ display: flex;
8
+
9
+ .login-img {
10
+ flex: 0 0 60%;
11
+
12
+ .img-bg {
13
+ width: 100%;
14
+ height: 100%;
15
+ background-repeat: no-repeat;
16
+ background-position: center center;
17
+ background-size: cover;
18
+ }
19
+ }
20
+
21
+ .login-info {
22
+ flex: 0 0 40%;
23
+ background: #fff;
24
+ display: flex;
25
+ align-items: center;
26
+ justify-content: center;
27
+
28
+ .login-box {
29
+ display: flex;
30
+ align-items: center;
31
+ flex-direction: column;
32
+
33
+ max-width: 500px;
34
+ min-width: 400px;
35
+ transition: all 0.5s;
36
+
37
+ .ant-spin-nested-loading {
38
+ width: 100%;
39
+ }
40
+
41
+ .login-name {
42
+ color: #333;
43
+ font-size: 24px;
44
+ margin: 24px 0;
45
+ font-weight: 500;
46
+ min-height: 36px;
47
+ }
48
+
49
+ .login-form {
50
+ width: 88%;
51
+ }
52
+
53
+ .login-btn {
54
+ border-radius: 5px;
55
+ width: 100%;
56
+ }
57
+ }
58
+ }
59
+ }
@@ -1 +1 @@
1
- 'use strict';const a0_0x257de1=a0_0x1735;(function(_0x53cdb7,_0x48dc98){const _0x7b2b8a=a0_0x1735,_0x4fadac=_0x53cdb7();while(!![]){try{const _0x42812d=parseInt(_0x7b2b8a(0x1ff))/0x1*(parseInt(_0x7b2b8a(0x232))/0x2)+-parseInt(_0x7b2b8a(0x201))/0x3*(parseInt(_0x7b2b8a(0x20f))/0x4)+-parseInt(_0x7b2b8a(0x1f9))/0x5+-parseInt(_0x7b2b8a(0x202))/0x6*(parseInt(_0x7b2b8a(0x225))/0x7)+-parseInt(_0x7b2b8a(0x22d))/0x8+parseInt(_0x7b2b8a(0x20e))/0x9+parseInt(_0x7b2b8a(0x1f4))/0xa;if(_0x42812d===_0x48dc98)break;else _0x4fadac['push'](_0x4fadac['shift']());}catch(_0x5e688a){_0x4fadac['push'](_0x4fadac['shift']());}}}(a0_0x4aa5,0x433e2));const jsxRuntime=require(a0_0x257de1(0x224)),react=require(a0_0x257de1(0x22c)),antd=require(a0_0x257de1(0x204)),zhCN=require(a0_0x257de1(0x207)),reactRouter=require(a0_0x257de1(0x222)),page_login_LoginPage=require(a0_0x257de1(0x1fb)),page_index_IndexPage=require(a0_0x257de1(0x1ee)),WorkBench=require(a0_0x257de1(0x229)),threelsWorkbenchComponent=require('threels-workbench-component');let cfg={'fetchEncryptChecker':void 0x0};function registerFetchEncryptChecker(_0x5e8388){const _0x3fe86b=a0_0x257de1;cfg[_0x3fe86b(0x205)]=_0x5e8388;}let doResultCode=!![];function appInit(){const _0x14906f=a0_0x257de1;(window[_0x14906f(0x216)]===void 0x0||window[_0x14906f(0x216)]===null)&&(window[_0x14906f(0x216)]=WorkBench[_0x14906f(0x200)](_0x14906f(0x216))||''),WorkBench[_0x14906f(0x1f0)]((_0x491dd6,_0x3eaa49,_0x395c27)=>{const _0x375994=_0x14906f;let {code:_0x3c1644,data:_0x55a1df,success:_0x339288}=_0x491dd6;if(!_0x339288){_0x395c27(_0x3c1644?_0x3c1644:_0x375994(0x220),_0x491dd6[_0x375994(0x1f3)]||_0x491dd6[_0x375994(0x1f8)]||_0x375994(0x233),_0x55a1df);return;}_0x3eaa49(_0x491dd6);}),WorkBench[_0x14906f(0x21e)](_0xf58181=>{const _0x59dbc9=_0x14906f;if(!doResultCode)return!![];switch(_0xf58181[_0x59dbc9(0x22e)]){case _0x59dbc9(0x214):doResultCode=![],threelsWorkbenchComponent[_0x59dbc9(0x1ef)][_0x59dbc9(0x239)](_0x59dbc9(0x1fd),{'onOk':()=>{const _0x348d4a=_0x59dbc9;window[_0x348d4a(0x23a)]['window'][_0x348d4a(0x218)][_0x348d4a(0x238)]();}});return!![];case'USER_NEED_LOGIN':{return doResultCode=![],threelsWorkbenchComponent[_0x59dbc9(0x1ef)][_0x59dbc9(0x239)](_0x59dbc9(0x23b),{'onOk':()=>{const _0x20b6cc=_0x59dbc9,_0x4f386b=encodeURIComponent(window[_0x20b6cc(0x23a)][_0x20b6cc(0x212)][_0x20b6cc(0x218)][_0x20b6cc(0x21d)]);window[_0x20b6cc(0x23a)]['window']['location']['href']=window['_ctx']+_0x20b6cc(0x1f5)+_0x4f386b;}}),!![];}case'DECRYPT_SERVER_DATA_ERROR':doResultCode=![],threelsWorkbenchComponent[_0x59dbc9(0x1ef)][_0x59dbc9(0x239)]('服务器配置更新,需要刷新网页',{'onOk':()=>{const _0x28e8f5=_0x59dbc9;window[_0x28e8f5(0x23a)][_0x28e8f5(0x212)][_0x28e8f5(0x218)]['reload']();}});return!![];}return![];}),WorkBench[_0x14906f(0x230)](_0x3732af=>{const _0x29e017=_0x14906f;threelsWorkbenchComponent[_0x29e017(0x1ef)]['noticeFail'](_0x3732af[_0x29e017(0x1f8)]||_0x3732af[_0x29e017(0x1f3)]);}),WorkBench['registerPresenterShowIndicator'](_0x21f36f=>threelsWorkbenchComponent[_0x14906f(0x1ef)][_0x14906f(0x237)](_0x21f36f||'加载中...')),WorkBench[_0x14906f(0x1f2)](()=>threelsWorkbenchComponent[_0x14906f(0x1ef)]['toastHide']()),WorkBench['registerFetchResponseChecker']((_0x43cb91,_0x4e7721)=>{let {status:_0xbd2576}=_0x43cb91;_0xbd2576!==0xc8&&_0x4e7721('RESPONSE_STATUS_ERROR','服务器返回错误状态:'+_0xbd2576+'\x20!');}),WorkBench[_0x14906f(0x210)](requestParamsProcessor),WorkBench['registerFetchEncryptFunction'](_0x37ca7f=>{const _0x523f3c=_0x14906f;if(cfg[_0x523f3c(0x205)])return cfg[_0x523f3c(0x205)](_0x37ca7f)&&WorkBench[_0x523f3c(0x223)]();return WorkBench[_0x523f3c(0x223)]();},_0x525872=>WorkBench[_0x14906f(0x1f1)](_0x525872)),WorkBench[_0x14906f(0x1fa)](({response:_0x53bcfb})=>{const _0x396abf=_0x14906f;return _0x53bcfb[_0x396abf(0x21a)][_0x396abf(0x200)](_0x396abf(0x1f6));},_0x2836cc=>WorkBench[_0x14906f(0x221)](_0x2836cc));}function a0_0x4aa5(){const _0x28ea4c=['get','3PemMXT','6VUuhFD','icon-adduser','antd','fetchEncryptChecker','用户权限','antd/locale/zh_CN','Route','registerFetchEncryptChecker','/login','toLowerCase','_ctxRes','Routes','3114441BgjPWY','1434156rwkrSq','registerFetchParamsProcessor','系统设置','window','root','USER_LOGIN_INFO_CHANGE','抱歉,您访问的页面不存在!!!','_ctx','/image','location','用户管理22','headers','uploadFileUrl','/file','href','registerPresenterDoError','startsWith','FAILS','decrypt','react-router','isRequestEncrypt','react/jsx-runtime','3794644yUqBhi','用户管理23','abc','404','threels-workbench-core','http://','signature','react','2678736tyznCQ','code','/22','registerPresenterTipError','jsxs','934594TdyefY','服务器返回数据错误','Button','uploadImgUrl','用户管理','toastLoading','reload','alertFail','parent','登录超时,需要重新登录','App','jsx','../page/index/IndexPage.js','Tip','registerFetchReturnJsonChecker','encrypt','registerPresenterCloseIndicator','message','10359770yTSZhx','/login?backUrl=','dataencrypt','/23','msg','1692120KzNelu','registerFetchDecryptFunction','../page/login/LoginPage.js','https://','登录被重置,需要重新登录','primary','1pmOHNK'];a0_0x4aa5=function(){return _0x28ea4c;};return a0_0x4aa5();}const API_CONFIG={'uploadImgUrl':window[a0_0x257de1(0x20c)]+a0_0x257de1(0x217),'uploadFileUrl':window['_ctxRes']+a0_0x257de1(0x21c)},requestParamsProcessor=({url:_0x2733dd,bodyParams:_0x37918f,urlParams:_0x3ca75e,headers:_0x4eac74})=>{const _0x377203=a0_0x257de1;let _0x1d7782=_0x2733dd[_0x377203(0x20b)]();!_0x1d7782[_0x377203(0x21f)](_0x377203(0x22a))&&!_0x1d7782[_0x377203(0x21f)](_0x377203(0x1fc))&&(_0x2733dd!==API_CONFIG[_0x377203(0x235)]&&_0x2733dd!==API_CONFIG[_0x377203(0x21b)]&&(_0x2733dd=''+window[_0x377203(0x216)]+_0x2733dd));let _0x4880fc=WorkBench[_0x377203(0x22b)]();return _0x3ca75e={..._0x3ca75e,..._0x4880fc},{'url':_0x2733dd,'bodyParams':_0x37918f,'urlParams':_0x3ca75e,'headers':_0x4eac74};};appInit();function getBaseName(){let {_ctx:_0x155299}=window;return _0x155299;}function App(_0x578e89){const _0x1a5cb0=a0_0x257de1;let {platform:platform=_0x1a5cb0(0x213),platformName:platformName='',locale:_0x475148,children:_0x19e94a,topMenu:_0x3e5e12,topComponent:_0x1b30b0,showNav:_0x4e9026,showTab:_0x15efee,tabCache:_0x2fc8c2,keepMenu:_0x3c4fa1}=_0x578e89;return jsxRuntime[_0x1a5cb0(0x23d)](react['StrictMode'],{'children':jsxRuntime[_0x1a5cb0(0x23d)](antd['ConfigProvider'],{'locale':_0x475148?_0x475148:zhCN,'children':jsxRuntime['jsx'](reactRouter['BrowserRouter'],{'basename':getBaseName(),'children':jsxRuntime[_0x1a5cb0(0x231)](reactRouter[_0x1a5cb0(0x20d)],{'children':[jsxRuntime['jsx'](reactRouter[_0x1a5cb0(0x208)],{'path':'/*','element':jsxRuntime['jsx'](page_index_IndexPage['IndexPage'],{'platform':platform,'platformName':platformName,'topMenu':_0x3e5e12,'rightComponent':_0x1b30b0,'showNav':_0x4e9026,'showTab':_0x15efee,'keepMenu':_0x3c4fa1,'tabCache':_0x2fc8c2,'menuItems':menuItems})}),jsxRuntime['jsx'](reactRouter[_0x1a5cb0(0x208)],{'path':_0x1a5cb0(0x20a),'element':jsxRuntime['jsx'](page_login_LoginPage['LoginPage'],{'platform':platform,'platformName':platformName})}),_0x19e94a,jsxRuntime[_0x1a5cb0(0x23d)](reactRouter[_0x1a5cb0(0x208)],{'path':'*','element':jsxRuntime[_0x1a5cb0(0x23d)](Page404,{})})]})})})});}function Page404(){const _0x1c8e7e=a0_0x257de1,_0x2a9f29=()=>{const _0x5acb12=a0_0x1735;let {_ctx:_0xd78975}=window;window[_0x5acb12(0x218)][_0x5acb12(0x21d)]=_0xd78975||'/';};return jsxRuntime[_0x1c8e7e(0x23d)](antd['Result'],{'status':_0x1c8e7e(0x228),'title':_0x1c8e7e(0x215),'extra':jsxRuntime[_0x1c8e7e(0x23d)](antd[_0x1c8e7e(0x234)],{'type':_0x1c8e7e(0x1fe),'onClick':_0x2a9f29,'children':'返回'})});}function a0_0x1735(_0x28bc44,_0x1b07c0){const _0x4aa578=a0_0x4aa5();return a0_0x1735=function(_0x173502,_0x836227){_0x173502=_0x173502-0x1ee;let _0x49bf2e=_0x4aa578[_0x173502];return _0x49bf2e;},a0_0x1735(_0x28bc44,_0x1b07c0);}let menuItems=[{'menuId':'1','name':'仪表盘','urlPath':'/1','componentId':'abc','extArg':'','iconCls':a0_0x257de1(0x203),'sort':0x1},{'menuId':'2','name':a0_0x257de1(0x236),'urlPath':'/2','componentId':a0_0x257de1(0x227),'extArg':'','iconCls':'icon-adduser','sort':0x1},{'menuId':'22','name':a0_0x257de1(0x219),'parentMenuId':'2','urlPath':a0_0x257de1(0x22f),'componentId':'abc','extArg':'','iconCls':'icon-adduser','sort':0x1},{'menuId':'23','name':a0_0x257de1(0x226),'parentMenuId':'2','urlPath':a0_0x257de1(0x1f7),'componentId':a0_0x257de1(0x227),'extArg':'','iconCls':a0_0x257de1(0x203),'sort':0x1},{'menuId':'3','name':'系统管理','urlPath':'/3','componentId':'abc','extArg':'','iconCls':a0_0x257de1(0x203),'sort':0x1},{'menuId':'4','parentMenuId':'3','name':a0_0x257de1(0x236),'urlPath':'/4','componentId':a0_0x257de1(0x227),'extArg':'','iconCls':a0_0x257de1(0x203),'sort':0x1},{'menuId':'5','parentMenuId':'3','name':a0_0x257de1(0x211),'urlPath':'/5','componentId':a0_0x257de1(0x227),'extArg':'','iconCls':a0_0x257de1(0x203),'sort':0x1},{'menuId':'6','parentMenuId':'5','name':'角色管理','urlPath':'/6','componentId':a0_0x257de1(0x227),'extArg':'','iconCls':a0_0x257de1(0x203),'sort':0x1},{'menuId':'7','parentMenuId':'5','name':a0_0x257de1(0x206),'urlPath':'/7','componentId':a0_0x257de1(0x227),'extArg':'','iconCls':a0_0x257de1(0x203),'sort':0x1}];exports[a0_0x257de1(0x23c)]=App,exports[a0_0x257de1(0x209)]=registerFetchEncryptChecker;
1
+ 'use strict';const a0_0x3ec4ec=a0_0xe67c;(function(_0x565e15,_0x4e30b2){const _0x28a221=a0_0xe67c,_0x5eca74=_0x565e15();while(!![]){try{const _0x142f14=-parseInt(_0x28a221(0x16d))/0x1*(-parseInt(_0x28a221(0x1a0))/0x2)+-parseInt(_0x28a221(0x16f))/0x3+parseInt(_0x28a221(0x19f))/0x4*(parseInt(_0x28a221(0x1b2))/0x5)+-parseInt(_0x28a221(0x1b1))/0x6*(parseInt(_0x28a221(0x17e))/0x7)+-parseInt(_0x28a221(0x1a8))/0x8+parseInt(_0x28a221(0x19a))/0x9+parseInt(_0x28a221(0x189))/0xa*(parseInt(_0x28a221(0x176))/0xb);if(_0x142f14===_0x4e30b2)break;else _0x5eca74['push'](_0x5eca74['shift']());}catch(_0x1a0b30){_0x5eca74['push'](_0x5eca74['shift']());}}}(a0_0x44e9,0x1c0f9));const jsxRuntime=require(a0_0x3ec4ec(0x191)),react=require('react'),antd=require('antd'),zhCN=require(a0_0x3ec4ec(0x166)),reactRouter=require(a0_0x3ec4ec(0x181)),page_login_LoginPage=require('../page/login/LoginPage.js'),page_index_IndexPage=require(a0_0x3ec4ec(0x1a9)),WorkBench=require('threels-workbench-core'),threelsWorkbenchComponent=require('threels-workbench-component');let cfg={'fetchEncryptChecker':void 0x0};function registerFetchEncryptChecker(_0x165e7a){const _0x8e87fc=a0_0x3ec4ec;cfg[_0x8e87fc(0x1b7)]=_0x165e7a;}let doResultCode=!![];function appInit(){const _0xcddd21=a0_0x3ec4ec;(window[_0xcddd21(0x1a7)]===void 0x0||window['_ctx']===null)&&(window[_0xcddd21(0x1a7)]=WorkBench[_0xcddd21(0x199)](_0xcddd21(0x1a7))||''),WorkBench[_0xcddd21(0x1bb)]((_0x4f051a,_0x431feb,_0x2e3530)=>{const _0x12a847=_0xcddd21;let {code:_0x18c518,data:_0x1bf036,success:_0x23605f}=_0x4f051a;if(!_0x23605f){_0x2e3530(_0x18c518?_0x18c518:_0x12a847(0x19d),_0x4f051a[_0x12a847(0x1a3)]||_0x4f051a[_0x12a847(0x198)]||_0x12a847(0x19e),_0x1bf036);return;}_0x431feb(_0x4f051a);}),WorkBench[_0xcddd21(0x185)](_0x52a3d8=>{const _0x5eee14=_0xcddd21;if(!doResultCode)return!![];switch(_0x52a3d8['code']){case'USER_LOGIN_INFO_CHANGE':doResultCode=![],threelsWorkbenchComponent[_0x5eee14(0x178)][_0x5eee14(0x1b4)](_0x5eee14(0x186),{'onOk':()=>{const _0xc7d1b1=_0x5eee14;window[_0xc7d1b1(0x192)][_0xc7d1b1(0x16c)][_0xc7d1b1(0x1ba)][_0xc7d1b1(0x194)]();}});return!![];case'USER_NEED_LOGIN':{return doResultCode=![],threelsWorkbenchComponent['Tip'][_0x5eee14(0x1b4)](_0x5eee14(0x179),{'onOk':()=>{const _0x344dc5=_0x5eee14,_0x2af7b6=encodeURIComponent(window[_0x344dc5(0x192)][_0x344dc5(0x16c)][_0x344dc5(0x1ba)][_0x344dc5(0x175)]);window[_0x344dc5(0x192)][_0x344dc5(0x16c)]['location'][_0x344dc5(0x175)]=window[_0x344dc5(0x1a7)]+_0x344dc5(0x171)+_0x2af7b6;}}),!![];}case _0x5eee14(0x1b9):doResultCode=![],threelsWorkbenchComponent[_0x5eee14(0x178)][_0x5eee14(0x1b4)](_0x5eee14(0x168),{'onOk':()=>{const _0x1bc6b0=_0x5eee14;window[_0x1bc6b0(0x192)]['window'][_0x1bc6b0(0x1ba)]['reload']();}});return!![];}return![];}),WorkBench[_0xcddd21(0x1a2)](_0xaaa9f9=>{const _0x3801f4=_0xcddd21;threelsWorkbenchComponent[_0x3801f4(0x178)][_0x3801f4(0x19b)](_0xaaa9f9['msg']||_0xaaa9f9[_0x3801f4(0x1a3)]);}),WorkBench[_0xcddd21(0x1af)](_0x2eed3a=>threelsWorkbenchComponent[_0xcddd21(0x178)][_0xcddd21(0x18c)](_0x2eed3a||_0xcddd21(0x193))),WorkBench['registerPresenterCloseIndicator'](()=>threelsWorkbenchComponent['Tip'][_0xcddd21(0x1aa)]()),WorkBench[_0xcddd21(0x1b8)]((_0x14e892,_0x95addc)=>{const _0x1392fa=_0xcddd21;let {status:_0x578231}=_0x14e892;_0x578231!==0xc8&&_0x95addc(_0x1392fa(0x19c),_0x1392fa(0x173)+_0x578231+'\x20!');}),WorkBench[_0xcddd21(0x180)](requestParamsProcessor),WorkBench['registerFetchEncryptFunction'](_0x226005=>{const _0x430312=_0xcddd21;if(cfg[_0x430312(0x1b7)])return cfg['fetchEncryptChecker'](_0x226005)&&WorkBench[_0x430312(0x183)]();return WorkBench[_0x430312(0x183)]();},_0x426e83=>WorkBench[_0xcddd21(0x177)](_0x426e83)),WorkBench['registerFetchDecryptFunction'](({response:_0x13572d})=>{const _0x320f20=_0xcddd21;return _0x13572d[_0x320f20(0x1a1)][_0x320f20(0x199)](_0x320f20(0x18d));},_0x310d5f=>WorkBench['decrypt'](_0x310d5f));}function a0_0x44e9(){const _0x382a73=['registerPresenterShowIndicator','404','1098348agKSKo','25pUBvxk','LoginPage','alertFail','StrictMode','primary','fetchEncryptChecker','registerFetchResponseChecker','DECRYPT_SERVER_DATA_ERROR','location','registerFetchReturnJsonChecker','root','antd/locale/zh_CN','抱歉,您访问的页面不存在!!!','服务器配置更新,需要刷新网页','registerFetchEncryptChecker','/image','uploadImgUrl','window','1bOGbJg','https://','354423oMpTTH','/22','/login?backUrl=','/file','服务器返回错误状态:','Route','href','44NJXnSs','encrypt','Tip','登录超时,需要重新登录','BrowserRouter','ConfigProvider','http://','_ctxRes','7YwWGCn','用户管理23','registerFetchParamsProcessor','react-router','Button','isRequestEncrypt','toLowerCase','registerPresenterDoError','登录被重置,需要重新登录','icon-adduser','signature','726070CGbHCg','IndexPage','Routes','toastLoading','dataencrypt','jsx','用户权限','仪表盘','react/jsx-runtime','parent','加载中...','reload','/23','用户管理22','用户管理','msg','get','87264TOdrzl','noticeFail','RESPONSE_STATUS_ERROR','FAILS','服务器返回数据错误','57388hiBJZQ','322208PDQXuj','headers','registerPresenterTipError','message','/login','角色管理','uploadFileUrl','_ctx','934616ydrnVI','../page/index/IndexPage.js','toastHide','abc','jsxs','startsWith','系统管理'];a0_0x44e9=function(){return _0x382a73;};return a0_0x44e9();}const API_CONFIG={'uploadImgUrl':window[a0_0x3ec4ec(0x17d)]+a0_0x3ec4ec(0x16a),'uploadFileUrl':window['_ctxRes']+a0_0x3ec4ec(0x172)},requestParamsProcessor=({url:_0x34f05b,bodyParams:_0x4fb42a,urlParams:_0x1dfa8a,headers:_0xaeaf10})=>{const _0x50c5bb=a0_0x3ec4ec;let _0x1f29a8=_0x34f05b[_0x50c5bb(0x184)]();!_0x1f29a8[_0x50c5bb(0x1ad)](_0x50c5bb(0x17c))&&!_0x1f29a8[_0x50c5bb(0x1ad)](_0x50c5bb(0x16e))&&(_0x34f05b!==API_CONFIG[_0x50c5bb(0x16b)]&&_0x34f05b!==API_CONFIG[_0x50c5bb(0x1a6)]&&(_0x34f05b=''+window[_0x50c5bb(0x1a7)]+_0x34f05b));let _0x5cf80b=WorkBench[_0x50c5bb(0x188)]();return _0x1dfa8a={..._0x1dfa8a,..._0x5cf80b},{'url':_0x34f05b,'bodyParams':_0x4fb42a,'urlParams':_0x1dfa8a,'headers':_0xaeaf10};};function a0_0xe67c(_0x1a0fb2,_0x7ab468){const _0x44e9a1=a0_0x44e9();return a0_0xe67c=function(_0xe67c58,_0x1f0f1a){_0xe67c58=_0xe67c58-0x166;let _0x41f5d7=_0x44e9a1[_0xe67c58];return _0x41f5d7;},a0_0xe67c(_0x1a0fb2,_0x7ab468);}appInit();function getBaseName(){let {_ctx:_0x533d3d}=window;return _0x533d3d;}function App(_0x125695){const _0x2a4617=a0_0x3ec4ec;let {platform:platform=_0x2a4617(0x1bc),platformName:platformName='',locale:_0x476af7,children:_0x435a12,topMenu:_0x43af12,topComponent:_0x14cd35,showNav:_0x387736,showTab:_0x58b09c,tabCache:_0x1e640f,keepMenu:_0x5132d1}=_0x125695;return jsxRuntime['jsx'](react[_0x2a4617(0x1b5)],{'children':jsxRuntime[_0x2a4617(0x18e)](antd[_0x2a4617(0x17b)],{'locale':_0x476af7?_0x476af7:zhCN,'children':jsxRuntime[_0x2a4617(0x18e)](reactRouter[_0x2a4617(0x17a)],{'basename':getBaseName(),'children':jsxRuntime[_0x2a4617(0x1ac)](reactRouter[_0x2a4617(0x18b)],{'children':[jsxRuntime['jsx'](reactRouter[_0x2a4617(0x174)],{'path':'/*','element':jsxRuntime[_0x2a4617(0x18e)](page_index_IndexPage[_0x2a4617(0x18a)],{'platform':platform,'platformName':platformName,'topMenu':_0x43af12,'rightComponent':_0x14cd35,'showNav':_0x387736,'showTab':_0x58b09c,'keepMenu':_0x5132d1,'tabCache':_0x1e640f,'menuItems':menuItems})}),jsxRuntime['jsx'](reactRouter[_0x2a4617(0x174)],{'path':_0x2a4617(0x1a4),'element':jsxRuntime['jsx'](page_login_LoginPage[_0x2a4617(0x1b3)],{'platform':platform,'platformName':platformName})}),_0x435a12,jsxRuntime[_0x2a4617(0x18e)](reactRouter[_0x2a4617(0x174)],{'path':'*','element':jsxRuntime[_0x2a4617(0x18e)](Page404,{})})]})})})});}function Page404(){const _0x44a190=a0_0x3ec4ec,_0x596f83=()=>{const _0x5ddc51=a0_0xe67c;let {_ctx:_0x448502}=window;window[_0x5ddc51(0x1ba)]['href']=_0x448502||'/';};return jsxRuntime[_0x44a190(0x18e)](antd['Result'],{'status':_0x44a190(0x1b0),'title':_0x44a190(0x167),'extra':jsxRuntime[_0x44a190(0x18e)](antd[_0x44a190(0x182)],{'type':_0x44a190(0x1b6),'onClick':_0x596f83,'children':'返回'})});}let menuItems=[{'menuId':'1','name':a0_0x3ec4ec(0x190),'urlPath':'/1','componentId':a0_0x3ec4ec(0x1ab),'extArg':'','iconCls':'icon-adduser','sort':0x1},{'menuId':'2','name':a0_0x3ec4ec(0x197),'urlPath':'/2','componentId':a0_0x3ec4ec(0x1ab),'extArg':'','iconCls':a0_0x3ec4ec(0x187),'sort':0x1},{'menuId':'22','name':a0_0x3ec4ec(0x196),'parentMenuId':'2','urlPath':a0_0x3ec4ec(0x170),'componentId':a0_0x3ec4ec(0x1ab),'extArg':'','iconCls':a0_0x3ec4ec(0x187),'sort':0x1},{'menuId':'23','name':a0_0x3ec4ec(0x17f),'parentMenuId':'2','urlPath':a0_0x3ec4ec(0x195),'componentId':a0_0x3ec4ec(0x1ab),'extArg':'','iconCls':a0_0x3ec4ec(0x187),'sort':0x1},{'menuId':'3','name':a0_0x3ec4ec(0x1ae),'urlPath':'/3','componentId':a0_0x3ec4ec(0x1ab),'extArg':'','iconCls':a0_0x3ec4ec(0x187),'sort':0x1},{'menuId':'4','parentMenuId':'3','name':a0_0x3ec4ec(0x197),'urlPath':'/4','componentId':a0_0x3ec4ec(0x1ab),'extArg':'','iconCls':a0_0x3ec4ec(0x187),'sort':0x1},{'menuId':'5','parentMenuId':'3','name':'系统设置','urlPath':'/5','componentId':a0_0x3ec4ec(0x1ab),'extArg':'','iconCls':'icon-adduser','sort':0x1},{'menuId':'6','parentMenuId':'5','name':a0_0x3ec4ec(0x1a5),'urlPath':'/6','componentId':'abc','extArg':'','iconCls':'icon-adduser','sort':0x1},{'menuId':'7','parentMenuId':'5','name':a0_0x3ec4ec(0x18f),'urlPath':'/7','componentId':a0_0x3ec4ec(0x1ab),'extArg':'','iconCls':a0_0x3ec4ec(0x187),'sort':0x1}];exports['App']=App,exports[a0_0x3ec4ec(0x169)]=registerFetchEncryptChecker;
@@ -1 +1 @@
1
- 'use strict';function a1_0x2f66(){const _0x141ac7=['16489sffpcQ','./app/app.js','1228348sXzLff','50598iJPYbo','51HsURjM','259750thMbSa','126ZAwDYM','Module','toStringTag','65964yPGNsR','registerFetchEncryptChecker','767688cjhSGc','5OhUZvc','74654FdysfB','default','15852WuogGm','App','21HpbFqP'];a1_0x2f66=function(){return _0x141ac7;};return a1_0x2f66();}const a1_0x256347=a1_0x3f87;(function(_0x19837c,_0xa7ce2c){const _0x32f56a=a1_0x3f87,_0x335557=_0x19837c();while(!![]){try{const _0x17d509=parseInt(_0x32f56a(0xc2))/0x1+-parseInt(_0x32f56a(0xc6))/0x2*(parseInt(_0x32f56a(0xcf))/0x3)+parseInt(_0x32f56a(0xcd))/0x4*(-parseInt(_0x32f56a(0xc5))/0x5)+-parseInt(_0x32f56a(0xce))/0x6+-parseInt(_0x32f56a(0xca))/0x7*(parseInt(_0x32f56a(0xc4))/0x8)+parseInt(_0x32f56a(0xd1))/0x9*(-parseInt(_0x32f56a(0xd0))/0xa)+-parseInt(_0x32f56a(0xcb))/0xb*(-parseInt(_0x32f56a(0xc8))/0xc);if(_0x17d509===_0xa7ce2c)break;else _0x335557['push'](_0x335557['shift']());}catch(_0x4da673){_0x335557['push'](_0x335557['shift']());}}}(a1_0x2f66,0x6c873));function a1_0x3f87(_0x164e56,_0x48d4cd){const _0x2f666f=a1_0x2f66();return a1_0x3f87=function(_0x3f877d,_0x20ce74){_0x3f877d=_0x3f877d-0xc0;let _0x1a2e1d=_0x2f666f[_0x3f877d];return _0x1a2e1d;},a1_0x3f87(_0x164e56,_0x48d4cd);}Object['defineProperties'](exports,{'__esModule':{'value':!![]},[Symbol[a1_0x256347(0xc1)]]:{'value':a1_0x256347(0xc0)}});const app_app=require(a1_0x256347(0xcc));exports[a1_0x256347(0xc7)]=app_app[a1_0x256347(0xc9)],exports['registerFetchEncryptChecker']=app_app[a1_0x256347(0xc3)];
1
+ 'use strict';const a1_0x1e0c17=a1_0xb2dc;(function(_0x2f8292,_0x329531){const _0x1c32e9=a1_0xb2dc,_0x591dad=_0x2f8292();while(!![]){try{const _0x4a42cb=-parseInt(_0x1c32e9(0x189))/0x1*(parseInt(_0x1c32e9(0x18d))/0x2)+parseInt(_0x1c32e9(0x190))/0x3*(-parseInt(_0x1c32e9(0x195))/0x4)+parseInt(_0x1c32e9(0x19a))/0x5+parseInt(_0x1c32e9(0x197))/0x6*(-parseInt(_0x1c32e9(0x199))/0x7)+parseInt(_0x1c32e9(0x188))/0x8*(parseInt(_0x1c32e9(0x192))/0x9)+-parseInt(_0x1c32e9(0x194))/0xa*(parseInt(_0x1c32e9(0x18b))/0xb)+parseInt(_0x1c32e9(0x193))/0xc*(parseInt(_0x1c32e9(0x18f))/0xd);if(_0x4a42cb===_0x329531)break;else _0x591dad['push'](_0x591dad['shift']());}catch(_0x3b473c){_0x591dad['push'](_0x591dad['shift']());}}}(a1_0x73d2,0x5c324));function a1_0xb2dc(_0x59c0c3,_0x3032cb){const _0x73d2ec=a1_0x73d2();return a1_0xb2dc=function(_0xb2dc6f,_0x216058){_0xb2dc6f=_0xb2dc6f-0x188;let _0x5010a5=_0x73d2ec[_0xb2dc6f];return _0x5010a5;},a1_0xb2dc(_0x59c0c3,_0x3032cb);}function a1_0x73d2(){const _0x2e1796=['2973856hvxplr','28164olyatE','registerFetchEncryptChecker','11hSWrSp','App','38ZdVFNj','IndexPage','223717GbCPED','39nEzezy','Module','18WpbOEw','492hGgTrv','813910myazwV','66972yfAJRU','default','2339826ymLTMk','./page/index/IndexPage.js','7EhqAjW','763700JicUZP'];a1_0x73d2=function(){return _0x2e1796;};return a1_0x73d2();}Object['defineProperties'](exports,{'__esModule':{'value':!![]},[Symbol['toStringTag']]:{'value':a1_0x1e0c17(0x191)}});const app_app=require('./app/app.js'),page_index_IndexPage=require(a1_0x1e0c17(0x198));exports[a1_0x1e0c17(0x196)]=app_app[a1_0x1e0c17(0x18c)],exports[a1_0x1e0c17(0x18a)]=app_app[a1_0x1e0c17(0x18a)],exports['IndexPage']=page_index_IndexPage[a1_0x1e0c17(0x18e)];
@@ -1 +1 @@
1
- 'use strict';const a2_0x4e21e8=a2_0x5b4b;(function(_0x409fc0,_0x3a4842){const _0x162d6b=a2_0x5b4b,_0x403632=_0x409fc0();while(!![]){try{const _0x18678c=-parseInt(_0x162d6b(0x164))/0x1*(-parseInt(_0x162d6b(0xdf))/0x2)+-parseInt(_0x162d6b(0x148))/0x3+-parseInt(_0x162d6b(0x1a4))/0x4*(parseInt(_0x162d6b(0xe6))/0x5)+-parseInt(_0x162d6b(0xed))/0x6*(-parseInt(_0x162d6b(0x125))/0x7)+-parseInt(_0x162d6b(0x104))/0x8*(parseInt(_0x162d6b(0xc2))/0x9)+-parseInt(_0x162d6b(0x187))/0xa+parseInt(_0x162d6b(0x18a))/0xb;if(_0x18678c===_0x3a4842)break;else _0x403632['push'](_0x403632['shift']());}catch(_0x785e16){_0x403632['push'](_0x403632['shift']());}}}(a2_0x52a7,0xd7889));const jsxRuntime=require('react/jsx-runtime'),antd=require('antd'),icons=require(a2_0x4e21e8(0x1a8)),react=require(a2_0x4e21e8(0x174)),WorkBench=require(a2_0x4e21e8(0x101)),threelsWorkbenchComponent=require(a2_0x4e21e8(0x157)),presenter_presenter=require(a2_0x4e21e8(0x11c)),reactRouter=require(a2_0x4e21e8(0x142));class AccountPwdForm extends threelsWorkbenchComponent[a2_0x4e21e8(0x14a)]{static [a2_0x4e21e8(0x181)]={'onSuccess':void 0x0};constructor(_0x2bfadd){const _0x12fab5=a2_0x4e21e8;super(_0x2bfadd),this[_0x12fab5(0x19c)]=new presenter_presenter[(_0x12fab5(0x1b4))](this);}[a2_0x4e21e8(0xd5)](){const _0x48a355=a2_0x4e21e8;this[_0x48a355(0x1a3)][_0x48a355(0x13d)]&&this[_0x48a355(0x1a3)][_0x48a355(0x13d)]();}['_onSubmit'](){const _0x2629a2=a2_0x4e21e8;this[_0x2629a2(0x114)][_0x2629a2(0x1a0)]()[_0x2629a2(0x13a)](_0x398764=>{const _0x527db7=_0x2629a2;let {oldPwd:_0xda4cce,newPwd:_0x1c7db9,newPwd2:_0x5b33f2}=_0x398764;if(_0xda4cce===_0x1c7db9){this[_0x527db7(0x170)](_0x527db7(0x155));return;}if(_0x1c7db9!==_0x5b33f2){this['noticeFail']('两次新密码输入不一致');return;}this[_0x527db7(0x18e)]('处理中...'),this[_0x527db7(0x19c)]['resetPwd']({'oldPwd':_0xda4cce,'newPwd':_0x1c7db9},{},()=>{const _0x2d678a=_0x527db7;this[_0x2d678a(0x11d)](_0x2d678a(0x134)),this['props']['onSuccess']&&this[_0x2d678a(0x1a3)]['onSuccess']();});});}[a2_0x4e21e8(0xd3)](_0x1d4d22){this['showSpin'](_0x1d4d22);}['closeLoadingIndicator'](){const _0x31d63b=a2_0x4e21e8;this[_0x31d63b(0x150)]();}['showDoingIndicator'](_0x5ab1b8){const _0x4b3f9=a2_0x4e21e8;this[_0x4b3f9(0x1aa)](_0x5ab1b8);}['closeDoingIndicator'](){const _0x1c78e7=a2_0x4e21e8;this[_0x1c78e7(0x150)]();}[a2_0x4e21e8(0x154)](){const _0x280bbe=a2_0x4e21e8;return this['renderSpin'](jsxRuntime['jsxs'](antd['Form'],{'ref':_0x5c692e=>this['form']=_0x5c692e,'layout':'vertical','children':[jsxRuntime[_0x280bbe(0xe2)](antd[_0x280bbe(0x14f)][_0x280bbe(0x17e)],{'label':_0x280bbe(0x1a7),'name':_0x280bbe(0x162),'rules':[{'required':!![],'message':_0x280bbe(0x163)}],'children':jsxRuntime[_0x280bbe(0xe2)](antd[_0x280bbe(0xde)][_0x280bbe(0x1b3)],{'placeholder':_0x280bbe(0x116)})}),jsxRuntime['jsx'](antd[_0x280bbe(0x14f)][_0x280bbe(0x17e)],{'label':_0x280bbe(0xe8),'name':_0x280bbe(0x15e),'rules':[{'required':!![],'message':_0x280bbe(0xca)}],'children':jsxRuntime[_0x280bbe(0xe2)](antd[_0x280bbe(0xde)]['Password'],{'placeholder':'请输入密码'})}),jsxRuntime[_0x280bbe(0xe2)](antd['Form'][_0x280bbe(0x17e)],{'label':_0x280bbe(0xd4),'name':_0x280bbe(0x143),'rules':[{'required':!![],'message':_0x280bbe(0x13b)}],'children':jsxRuntime['jsx'](antd[_0x280bbe(0xde)][_0x280bbe(0x1b3)],{'placeholder':_0x280bbe(0x1b0)})}),jsxRuntime['jsx'](antd[_0x280bbe(0x10a)],{'type':_0x280bbe(0x109),'justify':'end','children':jsxRuntime[_0x280bbe(0xfc)](antd[_0x280bbe(0xfe)],{'children':[jsxRuntime[_0x280bbe(0xe2)](antd['Button'],{'onClick':this['_closeForm'][_0x280bbe(0x10f)](this),'children':'取消'}),jsxRuntime[_0x280bbe(0xe2)](antd[_0x280bbe(0x14e)],{'type':_0x280bbe(0x13e),'onClick':this[_0x280bbe(0x130)][_0x280bbe(0x10f)](this),'children':'修改'})]})})]}));}}class AccountPlatformGrid extends threelsWorkbenchComponent[a2_0x4e21e8(0x14a)]{static [a2_0x4e21e8(0x181)]={'accountId':void 0x0,'onPlatformChange':void 0x0};constructor(_0x36fcae){const _0x4b9492=a2_0x4e21e8;super(_0x36fcae),this[_0x4b9492(0x19c)]=new presenter_presenter[(_0x4b9492(0x1b4))](this);}['componentDidMount'](){const _0x361152=a2_0x4e21e8;this[_0x361152(0x107)]();}['_search'](){const _0x263c48=a2_0x4e21e8;this[_0x263c48(0xd3)](_0x263c48(0xcd)),this[_0x263c48(0x19c)][_0x263c48(0x19e)]({},{},_0x162170=>{const _0xea26ff=_0x263c48;this[_0xea26ff(0x160)][_0xea26ff(0x177)](_0x162170[_0xea26ff(0x12c)]);});}['showLoadingIndicator'](_0x3577a6,_0x295627={}){const _0x54ab98=a2_0x4e21e8;this[_0x54ab98(0x160)][_0x54ab98(0xd3)]();}[a2_0x4e21e8(0x189)](){const _0x401c55=a2_0x4e21e8;this[_0x401c55(0x160)][_0x401c55(0x189)]();}[a2_0x4e21e8(0x154)](){const _0x4d32ee=a2_0x4e21e8;return jsxRuntime[_0x4d32ee(0xe2)](threelsWorkbenchComponent[_0x4d32ee(0x192)],{'ref':_0x2dc72f=>{const _0x43383d=_0x4d32ee;this[_0x43383d(0x160)]=_0x2dc72f;},'scroll':{'x':_0x4d32ee(0xc5)},'className':_0x4d32ee(0xe9),'_showPage':![],'rowKey':_0x528855=>_0x528855['id'],'size':'small','columns':[{'title':'平台','dataIndex':_0x4d32ee(0xdb),'fixed':_0x4d32ee(0x108),'render':(_0x469f39,_0x54dcae)=>{const _0x4a258f=_0x4d32ee;let {platformName:_0x4cebcb,userPlatform:_0x2b69c3,userPlatformName:_0xf7bcde,mainPlatform:_0xd8b24d}=_0x54dcae;if(_0x2b69c3)return jsxRuntime[_0x4a258f(0xfc)](antd[_0x4a258f(0x1a6)],{'justify':_0x4a258f(0x180),'children':[jsxRuntime[_0x4a258f(0xfc)](antd[_0x4a258f(0xfe)],{'children':[jsxRuntime[_0x4a258f(0xe2)](antd[_0x4a258f(0x110)],{'children':_0x4cebcb}),jsxRuntime[_0x4a258f(0xe2)](antd[_0x4a258f(0x110)],{'children':_0xf7bcde})]}),_0xd8b24d&&jsxRuntime[_0x4a258f(0xe2)](antd[_0x4a258f(0x110)],{'color':'error','children':'默认平台'})]});return jsxRuntime[_0x4a258f(0xfc)](antd[_0x4a258f(0x1a6)],{'justify':'space-between','children':[jsxRuntime[_0x4a258f(0xe2)](antd[_0x4a258f(0x110)],{'children':_0x4cebcb}),_0xd8b24d&&jsxRuntime['jsx'](antd['Tag'],{'color':_0x4a258f(0xee),'children':_0x4a258f(0x182)})]});}},{'title':'角色','dataIndex':_0x4d32ee(0x156),'render':(_0x413fce,_0x9a2142)=>{const _0x5cbc05=_0x4d32ee;let {roleNames:_0x44c61d}=_0x9a2142;if(_0x44c61d)return _0x44c61d['split'](',')[_0x5cbc05(0xf7)]((_0x179c6a,_0x5d96cd)=>jsxRuntime['jsx'](antd[_0x5cbc05(0x110)],{'children':_0x179c6a},_0x5d96cd));return null;}}]});}}class AccountModifyForm extends threelsWorkbenchComponent[a2_0x4e21e8(0x14a)]{static [a2_0x4e21e8(0x181)]={'onSuccess':void 0x0};constructor(_0x3789a3){const _0x3a8b1f=a2_0x4e21e8;super(_0x3789a3),this['presenter']=new presenter_presenter[(_0x3a8b1f(0x1b4))](this);}[a2_0x4e21e8(0x17b)](){this['_search']();}['_search'](){const _0x4d40b6=a2_0x4e21e8;this[_0x4d40b6(0xd3)]('加载中...'),this['presenter'][_0x4d40b6(0x1ac)]({},{},_0x5226fa=>{const _0x376668=_0x4d40b6;this[_0x376668(0x114)][_0x376668(0x14b)](_0x5226fa[_0x376668(0x12c)]);});}[a2_0x4e21e8(0xd5)](){const _0x7dd753=a2_0x4e21e8;this[_0x7dd753(0x1a3)][_0x7dd753(0x13d)]&&this[_0x7dd753(0x1a3)][_0x7dd753(0x13d)]();}[a2_0x4e21e8(0x130)](){const _0x6c1313=a2_0x4e21e8;this[_0x6c1313(0x114)][_0x6c1313(0x1a0)]()['then'](_0x32ea1c=>{const _0xcd4286=_0x6c1313;this[_0xcd4286(0x18e)]('处理中...'),this[_0xcd4286(0x19c)][_0xcd4286(0x129)]({..._0x32ea1c},{},()=>{const _0x444f9a=_0xcd4286;this[_0x444f9a(0x11d)](_0x444f9a(0x172)),this[_0x444f9a(0x1a3)]['onSuccess']&&this[_0x444f9a(0x1a3)][_0x444f9a(0x10e)]();});});}[a2_0x4e21e8(0xd3)](_0x57997b){const _0x36ec9e=a2_0x4e21e8;this[_0x36ec9e(0x1aa)](_0x57997b);}[a2_0x4e21e8(0x189)](){const _0x483a83=a2_0x4e21e8;this[_0x483a83(0x150)]();}[a2_0x4e21e8(0x18e)](_0x2416aa){const _0x262693=a2_0x4e21e8;this[_0x262693(0x1aa)](_0x2416aa);}[a2_0x4e21e8(0x196)](){const _0x14b301=a2_0x4e21e8;this[_0x14b301(0x150)]();}[a2_0x4e21e8(0x154)](){const _0x3b4c44=a2_0x4e21e8;return this[_0x3b4c44(0x16d)](jsxRuntime[_0x3b4c44(0xfc)](antd[_0x3b4c44(0x14f)],{'ref':_0x300ac8=>this[_0x3b4c44(0x114)]=_0x300ac8,'layout':_0x3b4c44(0x19b),'children':[jsxRuntime['jsx'](antd[_0x3b4c44(0x14f)][_0x3b4c44(0x17e)],{'label':'名称','name':_0x3b4c44(0xf6),'rules':[{'required':!![],'message':_0x3b4c44(0x138)}],'children':jsxRuntime[_0x3b4c44(0xe2)](antd['Input'],{'placeholder':_0x3b4c44(0x15f)})}),jsxRuntime[_0x3b4c44(0xe2)](antd[_0x3b4c44(0x14f)][_0x3b4c44(0x17e)],{'label':'手机','name':_0x3b4c44(0x11a),'rules':[{'required':!![],'message':_0x3b4c44(0x136)}],'children':jsxRuntime[_0x3b4c44(0xe2)](antd[_0x3b4c44(0xde)],{'placeholder':_0x3b4c44(0xdd)})}),jsxRuntime[_0x3b4c44(0xe2)](antd['Form'][_0x3b4c44(0x17e)],{'label':'邮箱','name':'email','rules':[{'required':!![],'message':_0x3b4c44(0x122)}],'children':jsxRuntime[_0x3b4c44(0xe2)](antd[_0x3b4c44(0xde)],{'placeholder':_0x3b4c44(0x19f)})}),jsxRuntime[_0x3b4c44(0xe2)](antd[_0x3b4c44(0x10a)],{'type':'flex','justify':_0x3b4c44(0xf9),'children':jsxRuntime[_0x3b4c44(0xfc)](antd[_0x3b4c44(0xfe)],{'children':[jsxRuntime[_0x3b4c44(0xe2)](antd[_0x3b4c44(0x14e)],{'onClick':this[_0x3b4c44(0xd5)]['bind'](this),'children':'取消'}),jsxRuntime[_0x3b4c44(0xe2)](antd[_0x3b4c44(0x14e)],{'type':_0x3b4c44(0x13e),'onClick':this['_onSubmit'][_0x3b4c44(0x10f)](this),'children':'修改'})]})})]}));}}class AccountDetail extends threelsWorkbenchComponent['BaseComponent']{static[a2_0x4e21e8(0x115)](){const _0x3b3c2a=a2_0x4e21e8;let _0x3778c1=threelsWorkbenchComponent[_0x3b3c2a(0xc8)][_0x3b3c2a(0x178)](jsxRuntime[_0x3b3c2a(0xe2)](AccountDetail,{'onCancel':()=>{_0x3778c1()['close']();}}),{'title':_0x3b3c2a(0x10c),'width':0x320,'bodyStyle':{'padding':0xa}});}constructor(_0x25fd3e){const _0x56c347=a2_0x4e21e8;super(_0x25fd3e),this['presenter']=new presenter_presenter['WorkbenchAccountPresenter'](this),this[_0x56c347(0x1ad)]={'data':{}};}['componentDidMount'](){const _0x535afb=a2_0x4e21e8;this[_0x535afb(0x107)]();}[a2_0x4e21e8(0xd3)](_0x2676bd){const _0x9934d7=a2_0x4e21e8;this[_0x9934d7(0x1aa)](_0x2676bd);}['closeLoadingIndicator'](){const _0x45b963=a2_0x4e21e8;this[_0x45b963(0x150)]();}[a2_0x4e21e8(0x107)](){const _0x31c978=a2_0x4e21e8;this[_0x31c978(0xd3)]('加载中...'),this[_0x31c978(0x19c)]['info']({},{},_0xc508c9=>{this['setState']({'data':_0xc508c9['data']});});}['_onModify'](){const _0x3eb2fc=a2_0x4e21e8;let _0x334fdd=threelsWorkbenchComponent[_0x3eb2fc(0x113)][_0x3eb2fc(0x178)](jsxRuntime[_0x3eb2fc(0xe2)](AccountModifyForm,{'onCancel':()=>{_0x334fdd()['close']();},'onSuccess':()=>{const _0x376f6a=_0x3eb2fc;_0x334fdd()[_0x376f6a(0x12d)](),this[_0x376f6a(0x107)]();}}),{'title':_0x3eb2fc(0x12e)});}[a2_0x4e21e8(0x154)](){const _0x41312a=a2_0x4e21e8;let {data:_0x6441a4}=this['state'];return this[_0x41312a(0x16d)](jsxRuntime[_0x41312a(0xfc)](antd[_0x41312a(0xfe)],{'direction':'vertical','style':{'width':_0x41312a(0x19d)},'children':[jsxRuntime[_0x41312a(0xe2)](antd[_0x41312a(0x183)],{'title':_0x41312a(0x179),'size':_0x41312a(0x145),'extra':jsxRuntime['jsx'](antd[_0x41312a(0xfe)],{'children':jsxRuntime[_0x41312a(0xe2)](antd[_0x41312a(0x14e)],{'size':'small','type':_0x41312a(0x13e),'onClick':this[_0x41312a(0x19a)]['bind'](this),'children':'修改'})}),'children':jsxRuntime[_0x41312a(0xe2)](threelsWorkbenchComponent[_0x41312a(0x1a2)],{'bordered':!![],'column':0x1,'size':_0x41312a(0x145),'items':this[_0x41312a(0x1ad)]['data']?[{'label':'账号ID','children':_0x6441a4[_0x41312a(0x120)]},{'label':'账号','children':_0x6441a4[_0x41312a(0xd2)]},{'label':'名称','children':_0x6441a4[_0x41312a(0xf6)]},{'label':'手机','children':_0x6441a4[_0x41312a(0x11a)]},{'label':'邮箱','children':_0x6441a4[_0x41312a(0x132)]}]:[]})}),jsxRuntime['jsx'](antd[_0x41312a(0x183)],{'title':_0x41312a(0x131),'size':_0x41312a(0x145),'children':jsxRuntime['jsx'](AccountPlatformGrid,{})})]}));}}const defaultStyle={'header':{'backgroundColor':a2_0x4e21e8(0x15a),'fontColor':a2_0x4e21e8(0x1b5),'logo':{'height':0x28,'width':0x28},'border':{'bottom':{'width':0x1,'color':a2_0x4e21e8(0x184)}},'account':{'backgroundColor':a2_0x4e21e8(0xc9),'fontColor':'#fff'},'menu':{'backgroundColor':a2_0x4e21e8(0xf1),'fontSize':0xf,'activeBarHeight':0x4,'active':{'fontColor':a2_0x4e21e8(0xc9),'backgroundColor':'transparent'}}},'left':{'width':0xf0,'backgroundColor':a2_0x4e21e8(0x193),'fontColor':a2_0x4e21e8(0x1b5),'border':{'right':{'width':0x1,'color':'#eee'}},'menu':{'itemHeight':0x30,'fontSize':0xf,'active':{'fontColor':a2_0x4e21e8(0xe3),'backgroundColor':a2_0x4e21e8(0xc9)}}}};function IndexPage(_0x5d5490){const _0x5d0279=a2_0x4e21e8;let {loginAccount:_0x34a18d,curPlatform:_0x21b36f,menuItems:_0x21add2,style:style=defaultStyle}=_0x5d5490;!_0x34a18d&&(_0x34a18d=WorkBench[_0x5d0279(0xda)](_0x5d0279(0x176)));!_0x21b36f&&(_0x21b36f=WorkBench[_0x5d0279(0xda)](_0x5d0279(0xce)));if(!_0x34a18d||!_0x21b36f)return threelsWorkbenchComponent['Tip'][_0x5d0279(0xd1)](_0x5d0279(0x191),{'onOk':()=>{const _0x3c03b9=_0x5d0279,_0x4abdd5=encodeURIComponent(window['parent'][_0x3c03b9(0xd7)][_0x3c03b9(0x175)][_0x3c03b9(0x121)]);window[_0x3c03b9(0x194)][_0x3c03b9(0xd7)][_0x3c03b9(0x175)][_0x3c03b9(0x121)]=window['_ctx']+_0x3c03b9(0x141)+_0x4abdd5;}}),null;let {platform:_0x5375fe,topMenu:_0x5bad07,rightComponent:_0x1b4753,showTab:_0x9266c7,showNav:_0x54b320,keepMenu:_0x477c12,tabCache:_0x3093d6}=_0x5d5490,[_0x320c80,_0x562d90]=react[_0x5d0279(0x17f)]([]),[_0x275418,_0x3f04a9]=react[_0x5d0279(0x17f)]({}),[_0x28915d,_0x2e626f]=react[_0x5d0279(0x17f)](null),_0x3751c0=reactRouter[_0x5d0279(0xfb)](),_0x128fa4=reactRouter[_0x5d0279(0x128)]();const {pathname:_0x2d6ca1}=_0x3751c0;let _0x559380=presenter_presenter[_0x5d0279(0x102)]();react[_0x5d0279(0x10d)](()=>{const _0xac03d3=_0x5d0279,_0x328f4b=_0x1faed5=>{let {menus:_0x1cfdbc,menusMap:_0x5a6ca6}=wrapperMenus(_0x1faed5),_0x4dbbf0=findCurMenu(_0x1cfdbc,_0x2d6ca1);_0x4dbbf0==null&&(_0x4dbbf0=findDefaultMenu(_0x1cfdbc));if(_0x4dbbf0){let {urlPath:_0x494ba1}=_0x4dbbf0;_0x2d6ca1!==_0x494ba1&&_0x128fa4(_0x494ba1);}_0x2e626f(_0x4dbbf0),_0x562d90(_0x1cfdbc),_0x3f04a9(_0x5a6ca6);};_0x21add2?_0x328f4b(_0x21add2):(_0x559380[_0xac03d3(0xd3)](),_0x559380['platformMenu']({},{},_0x3c4651=>{const _0x2ae4ad=_0xac03d3;_0x328f4b(_0x3c4651[_0x2ae4ad(0x126)]);}));},[]);const _0x20db23=react[_0x5d0279(0xcf)](_0x575b3c=>{if(_0x575b3c){let {urlPath:_0x3cbd8d}=_0x575b3c;_0x128fa4(_0x3cbd8d);}_0x2e626f(_0x575b3c);},[]);return jsxRuntime['jsxs'](antd['Layout'],{'className':_0x5d0279(0x173),'children':[jsxRuntime['jsxs'](antd[_0x5d0279(0xff)][_0x5d0279(0x16f)],{'className':_0x5d0279(0x171),'style':{'height':0x41,'background':style[_0x5d0279(0x17c)][_0x5d0279(0x18f)],'borderBottom':style[_0x5d0279(0x17c)][_0x5d0279(0xcc)][_0x5d0279(0xf5)]['width']+_0x5d0279(0x18c)+style[_0x5d0279(0x17c)][_0x5d0279(0xcc)][_0x5d0279(0xf5)][_0x5d0279(0xdc)]},'children':[jsxRuntime['jsx'](LogoComponent,{'platform':_0x5375fe,'style':style}),_0x5bad07&&jsxRuntime[_0x5d0279(0xe2)](TopMenu,{'menus':_0x320c80,'menusMap':_0x275418,'curMenu':_0x28915d,'onSelect':_0x20db23,'style':style}),jsxRuntime[_0x5d0279(0xe2)](_0x5d0279(0x144),{'className':_0x5d0279(0x190),'children':jsxRuntime[_0x5d0279(0xfc)](antd[_0x5d0279(0xfe)],{'size':0x10,'children':[_0x1b4753,jsxRuntime['jsx'](AccountComponent,{'style':style})]})})]}),jsxRuntime[_0x5d0279(0xfc)](antd[_0x5d0279(0xff)],{'children':[jsxRuntime['jsx'](LeftMenu,{'topMenu':_0x5bad07,'menus':_0x320c80,'menusMap':_0x275418,'curMenu':_0x28915d,'onSelect':_0x20db23,'style':style}),jsxRuntime[_0x5d0279(0xe2)](antd['Layout'][_0x5d0279(0x186)],{'style':{'padding':0xa,'backgroundColor':_0x5d0279(0xe3)},'children':jsxRuntime[_0x5d0279(0xe2)](MenuContent,{'menus':_0x320c80,'menusMap':_0x275418,'curMenu':_0x28915d,'showTab':_0x9266c7,'showNav':_0x54b320,'topMenu':_0x5bad07,'keepMenu':_0x477c12,'tabCache':_0x3093d6,'onTabChange':_0x20db23,'style':style})})]})]});}function LogoComponent(_0x1ba4ae){const _0x50e34b=a2_0x4e21e8;let {style:_0x34d485}=_0x1ba4ae,_0x120341=WorkBench[_0x50e34b(0xda)](_0x50e34b(0x176)),_0xc91acf=WorkBench[_0x50e34b(0xda)]('_curPlatform');const _0x5ed936=presenter_presenter[_0x50e34b(0x102)]();let {platform:_0x5b8b4d}=_0x1ba4ae;const _0x2d43f0=react[_0x50e34b(0xcf)](_0x477b4c=>{const _0x36b199=_0x50e34b;threelsWorkbenchComponent[_0x36b199(0x1b1)]['confirm'](_0x36b199(0x106)+_0x477b4c[_0x36b199(0x133)]+_0x36b199(0x18d),()=>{const _0x31458e=_0x36b199;_0x5ed936[_0x31458e(0x195)]({'userPlatformId':_0x477b4c[_0x31458e(0xd8)]},{},()=>{const _0x47ec21=_0x31458e;window[_0x47ec21(0x175)][_0x47ec21(0x197)]();});});},[]);return jsxRuntime[_0x50e34b(0xfc)](_0x50e34b(0x144),{'className':_0x50e34b(0xc4),'style':{'minWidth':0xdc},'children':[jsxRuntime[_0x50e34b(0xe2)](_0x50e34b(0xd9),{'className':_0x50e34b(0xe1),'src':window['_ctx']+'/_res/logo/'+_0x5b8b4d,'alt':_0x50e34b(0xfa),'style':{'height':_0x34d485[_0x50e34b(0x17c)][_0x50e34b(0xfa)]['height'],'width':_0x34d485['header'][_0x50e34b(0xfa)][_0x50e34b(0x11e)]}}),jsxRuntime[_0x50e34b(0xfc)](_0x50e34b(0x144),{'className':_0x50e34b(0x153),'children':[jsxRuntime[_0x50e34b(0xe2)]('div',{'className':'logo-title','style':{'color':_0x34d485['header']['fontColor']},'children':_0xc91acf['platformName']}),_0x120341['platforms'][_0x50e34b(0x161)]>0x1?jsxRuntime['jsx'](antd[_0x50e34b(0x146)],{'menu':((()=>{let _0x3f0cd3=[];return _0x120341['platforms']['forEach'](_0x64cc85=>{const _0x2ba2a1=a2_0x5b4b;_0x64cc85[_0x2ba2a1(0x133)]!==_0xc91acf[_0x2ba2a1(0x133)]&&_0x3f0cd3[_0x2ba2a1(0xf8)]({'key':_0x64cc85[_0x2ba2a1(0xd8)],'label':_0x64cc85[_0x2ba2a1(0x133)],'onClick':()=>_0x2d43f0(_0x64cc85)});}),{'items':_0x3f0cd3};})()),'children':jsxRuntime[_0x50e34b(0xe2)](_0x50e34b(0x144),{'className':'logo-sub-title','style':{'cursor':_0x50e34b(0x167)},'children':jsxRuntime[_0x50e34b(0xfc)](antd['Space'],{'children':[jsxRuntime[_0x50e34b(0xe2)](_0x50e34b(0x112),{'style':{'color':_0x34d485['header'][_0x50e34b(0xea)]},'children':_0xc91acf[_0x50e34b(0x133)]}),jsxRuntime[_0x50e34b(0xe2)](_0x50e34b(0x112),{'style':{'color':_0x34d485[_0x50e34b(0x17c)]['fontColor']},'children':jsxRuntime[_0x50e34b(0xe2)](icons[_0x50e34b(0xf3)],{})})]})})}):jsxRuntime[_0x50e34b(0xe2)]('div',{'className':_0x50e34b(0x169),'style':{'color':_0x34d485[_0x50e34b(0x17c)]['fontColor']},'children':_0xc91acf['userPlatformName']})]})]});}function AccountComponent(_0x5d5203){const _0x1b6656=a2_0x4e21e8;let {style:_0x1db78}=_0x5d5203,_0x3589aa=WorkBench[_0x1b6656(0xda)]('_account');const _0x23e9c3=presenter_presenter[_0x1b6656(0x16c)](),_0x46d4ec=react[_0x1b6656(0xcf)](()=>{const _0x3e3ed5=_0x1b6656;threelsWorkbenchComponent[_0x3e3ed5(0x1b1)][_0x3e3ed5(0x11b)](_0x3e3ed5(0x1b2),()=>{const _0x2ecb81=_0x3e3ed5;_0x23e9c3[_0x2ecb81(0x135)]({},{},()=>{const _0x32e7a2=_0x2ecb81;window[_0x32e7a2(0x175)][_0x32e7a2(0x121)]=window[_0x32e7a2(0xeb)]+'/login';});});},[]),_0x2eecb3=react['useCallback'](()=>{const _0xe09008=_0x1b6656;let _0x60ce73=threelsWorkbenchComponent[_0xe09008(0x113)]['show'](jsxRuntime['jsx'](AccountPwdForm,{'onCancel':()=>{const _0x559188=_0xe09008;_0x60ce73()[_0x559188(0x12d)]();},'onSuccess':()=>{_0x60ce73()['close']();}}),{'title':_0xe09008(0x1a5)});},[]);return jsxRuntime[_0x1b6656(0xe2)](antd[_0x1b6656(0x146)],{'menu':{'items':[{'key':'profile','icon':jsxRuntime[_0x1b6656(0xe2)](icons[_0x1b6656(0x16b)],{}),'label':'个人资料','onClick':()=>{const _0x38971f=_0x1b6656;AccountDetail[_0x38971f(0x115)]();}},{'key':_0x1b6656(0x13f),'icon':jsxRuntime[_0x1b6656(0xe2)](icons[_0x1b6656(0x18b)],{}),'label':'修改密码','onClick':_0x2eecb3},{'type':'divider'},{'key':_0x1b6656(0x199),'icon':jsxRuntime['jsx'](icons['LogoutOutlined'],{}),'label':_0x1b6656(0xe0),'onClick':_0x46d4ec}]},'children':jsxRuntime['jsxs'](antd[_0x1b6656(0xfe)],{'style':{'cursor':'pointer'},'children':[jsxRuntime[_0x1b6656(0xe2)](antd['Avatar'],{'size':0x20,'icon':jsxRuntime[_0x1b6656(0xe2)](icons[_0x1b6656(0x16b)],{'style':{'color':_0x1db78[_0x1b6656(0x17c)][_0x1b6656(0xd2)]['fontColor']}}),'style':{'backgroundColor':_0x1db78[_0x1b6656(0x17c)][_0x1b6656(0xd2)]['backgroundColor']}}),jsxRuntime[_0x1b6656(0xe2)](_0x1b6656(0x112),{'style':{'color':_0x1db78['header'][_0x1b6656(0xea)]},'children':_0x3589aa[_0x1b6656(0xf6)]})]})});}function TopMenu(_0x3e546f){const _0x43d549=a2_0x4e21e8;let {menus:_0x33c80e,curMenu:_0x15ffeb,style:_0x5ed32f}=_0x3e546f,[_0x49f4e,_0x420fac]=react[_0x43d549(0x17f)](null),_0x68eae3=react[_0x43d549(0x139)](_0x15ffeb);const _0x5c02aa=react[_0x43d549(0xcf)](({item:_0x263a8e,domEvent:_0x58bf06})=>{const _0x4de086=_0x43d549;_0x58bf06[_0x4de086(0x15b)]();let {data:_0x42259a,children:_0x264a80}=_0x263a8e[_0x4de086(0x1a3)][_0x4de086(0x165)];_0x264a80&&_0x264a80[_0x4de086(0x161)]>0x0&&(_0x42259a=findDefaultMenu(_0x264a80)),_0x3e546f[_0x4de086(0x1a9)](_0x42259a);},[]);if(!_0x15ffeb&&!_0x68eae3['current']||!_0x33c80e||_0x33c80e['length']===0x0)return null;let _0x5322b=null,_0x3b65ea=_0x33c80e[_0x43d549(0xf7)](_0x2ee12e=>{const _0x7dcbe9=_0x43d549;let {menuId:_0x539b00}=_0x15ffeb||_0x68eae3[_0x7dcbe9(0xfd)];if(_0x539b00===_0x2ee12e[_0x7dcbe9(0x1b6)])_0x5322b=_0x2ee12e[_0x7dcbe9(0x1b6)];else curMenuInMenus({'curMenu':_0x15ffeb||_0x68eae3[_0x7dcbe9(0xfd)],'menus':_0x2ee12e['children']})&&(_0x5322b=_0x2ee12e['key']);return{'key':_0x2ee12e[_0x7dcbe9(0x1b6)],'label':jsxRuntime[_0x7dcbe9(0xe2)](_0x7dcbe9(0x112),{'style':{'fontSize':_0x5ed32f[_0x7dcbe9(0x17c)][_0x7dcbe9(0x137)][_0x7dcbe9(0x118)]},'children':_0x2ee12e[_0x7dcbe9(0x111)]}),'icon':_0x2ee12e[_0x7dcbe9(0x1ae)]?jsxRuntime['jsx'](threelsWorkbenchComponent[_0x7dcbe9(0x119)],{'id':_0x2ee12e[_0x7dcbe9(0x1ae)],'fontSize':_0x5ed32f['header'][_0x7dcbe9(0x137)]['fontSize']}):null,'item':_0x2ee12e};});return _0x5322b!==_0x49f4e&&_0x420fac(_0x5322b),_0x15ffeb&&(_0x68eae3[_0x43d549(0xfd)]=_0x15ffeb),jsxRuntime[_0x43d549(0xe2)](_0x43d549(0x144),{'className':_0x43d549(0x147),'children':jsxRuntime[_0x43d549(0xe2)](_0x43d549(0x144),{'className':_0x43d549(0xc3),'children':jsxRuntime[_0x43d549(0xe2)](antd[_0x43d549(0xe4)],{'theme':{'components':{'Menu':{'activeBarHeight':_0x5ed32f[_0x43d549(0x17c)]['menu'][_0x43d549(0xf4)],'itemBg':_0x5ed32f[_0x43d549(0x17c)][_0x43d549(0x18f)],'darkItemBg':_0x5ed32f[_0x43d549(0x17c)][_0x43d549(0x18f)],'itemColor':_0x5ed32f[_0x43d549(0x17c)][_0x43d549(0xea)],'darkItemColor':_0x5ed32f[_0x43d549(0x17c)]['fontColor'],'horizontalItemHoverBg':_0x5ed32f['header'][_0x43d549(0x137)][_0x43d549(0x12b)][_0x43d549(0x18f)],'horizontalItemHoverColor':_0x5ed32f[_0x43d549(0x17c)][_0x43d549(0x137)][_0x43d549(0x12b)][_0x43d549(0xea)],'horizontalItemSelectedBg':_0x5ed32f[_0x43d549(0x17c)][_0x43d549(0x137)][_0x43d549(0x12b)][_0x43d549(0x18f)],'horizontalItemSelectedColor':_0x5ed32f['header'][_0x43d549(0x137)][_0x43d549(0x12b)]['fontColor'],'darkItemSelectedBg':_0x5ed32f[_0x43d549(0x17c)][_0x43d549(0x137)][_0x43d549(0x12b)][_0x43d549(0x18f)],'itemHoverColor':_0x5ed32f[_0x43d549(0x17c)]['menu'][_0x43d549(0x12b)]['fontColor']}}},'children':jsxRuntime[_0x43d549(0xe2)](antd['Menu'],{'theme':_0x43d549(0x127),'mode':_0x43d549(0x16a),'items':_0x3b65ea,'selectedKeys':_0x49f4e?[_0x49f4e]:null,'onSelect':_0x5c02aa})})})});}function LeftMenu(_0x247a87){const _0x2c195e=a2_0x4e21e8;let {menus:_0x2b657e,topMenu:_0x1fc656,curMenu:_0x40e66e,style:_0x1042ec}=_0x247a87,_0x12b985=react[_0x2c195e(0x139)](_0x40e66e),_0x545ae8=react[_0x2c195e(0x139)](null),_0x1a3be8=findLeftMenu({'menus':_0x2b657e,'curMenu':_0x40e66e||_0x12b985[_0x2c195e(0xfd)],'topMenu':_0x1fc656}),[_0x482654,_0x125ed5]=react['useState']([]);const _0x25a08c=react[_0x2c195e(0xcf)](({item:_0x24f4ae,domEvent:_0x36a9bd})=>{const _0x426a20=_0x2c195e;_0x36a9bd[_0x426a20(0x15b)]();let {data:_0x11e992}=_0x24f4ae[_0x426a20(0x1a3)];_0x545ae8[_0x426a20(0xfd)]=_0x11e992[_0x426a20(0x151)],_0x247a87['onSelect'](_0x11e992);},[]);if(!_0x40e66e&&!_0x12b985['current']||!_0x1a3be8||_0x1a3be8['length']===0x0)return null;if(_0x40e66e&&(!_0x545ae8[_0x2c195e(0xfd)]||_0x545ae8[_0x2c195e(0xfd)]!==_0x40e66e[_0x2c195e(0x151)])){let _0x25b885={};_0x1a3be8[_0x2c195e(0x149)](_0x548999=>{const _0x2aeb85=_0x2c195e;_0x25b885[_0x548999[_0x2aeb85(0x1b6)]]=!![];}),_0x482654=findOpenMenuKeys(_0x40e66e,_0x25b885),_0x482654['length']>0x0&&_0x125ed5(_0x482654);}_0x40e66e&&(_0x12b985[_0x2c195e(0xfd)]=_0x40e66e,_0x545ae8[_0x2c195e(0xfd)]=_0x40e66e[_0x2c195e(0x151)]);const _0x41d174=_0x188eca=>{const _0x2f05e5=_0x2c195e;if(!_0x188eca||_0x188eca['length']===0x0)return _0x188eca;let _0x2c3424=[];for(let _0x2f22cf=0x0;_0x2f22cf<_0x188eca[_0x2f05e5(0x161)];_0x2f22cf++){let {key:_0x74e676,label:_0x1eabb4,icon:_0x39a5dd,children:_0x18ea23,data:_0x4e42bf}=_0x188eca[_0x2f22cf];_0x18ea23&&_0x18ea23[_0x2f05e5(0x161)]>0x0&&(_0x18ea23=_0x41d174(_0x18ea23)),_0x2c3424[_0x2f05e5(0xf8)]({'key':_0x74e676,'label':jsxRuntime[_0x2f05e5(0xe2)](_0x2f05e5(0x112),{'style':{'fontSize':_0x1042ec['left'][_0x2f05e5(0x137)][_0x2f05e5(0x118)]},'children':_0x1eabb4}),'icon':_0x39a5dd?jsxRuntime['jsx'](threelsWorkbenchComponent[_0x2f05e5(0x119)],{'id':_0x39a5dd,'fontSize':_0x1042ec['left']['menu'][_0x2f05e5(0x118)]}):null,'children':_0x18ea23,'data':_0x4e42bf});}return _0x2c3424;};return jsxRuntime['jsx'](antd[_0x2c195e(0xff)]['Sider'],{'width':_0x1042ec[_0x2c195e(0x108)]['width'],'collapsible':!![],'children':jsxRuntime[_0x2c195e(0xe2)](_0x2c195e(0x144),{'className':_0x2c195e(0x158),'style':{'background':_0x1042ec[_0x2c195e(0x108)][_0x2c195e(0x18f)],'borderRight':_0x1042ec[_0x2c195e(0x108)][_0x2c195e(0xcc)]['right'][_0x2c195e(0x11e)]+'px\x20solid\x20'+_0x1042ec[_0x2c195e(0x108)][_0x2c195e(0xcc)]['right'][_0x2c195e(0xdc)]},'children':jsxRuntime[_0x2c195e(0xe2)](antd[_0x2c195e(0xe4)],{'theme':{'components':{'Menu':{'itemBg':_0x1042ec[_0x2c195e(0x108)][_0x2c195e(0x18f)],'itemBorderRadius':0x0,'subMenuItemBorderRadius':0x0,'itemColor':_0x1042ec[_0x2c195e(0x108)][_0x2c195e(0xea)],'groupTitleColor':_0x1042ec[_0x2c195e(0x108)][_0x2c195e(0xea)],'groupTitleFontSize':_0x1042ec['left']['fontSize'],'itemActiveBg':_0x1042ec[_0x2c195e(0x108)][_0x2c195e(0x137)][_0x2c195e(0x12b)][_0x2c195e(0x18f)],'itemHoverColor':_0x1042ec[_0x2c195e(0x108)][_0x2c195e(0x137)][_0x2c195e(0x12b)][_0x2c195e(0xea)],'itemHoverBg':_0x1042ec['left'][_0x2c195e(0x137)][_0x2c195e(0x12b)]['backgroundColor'],'itemSelectedBg':_0x1042ec[_0x2c195e(0x108)][_0x2c195e(0x137)][_0x2c195e(0x12b)][_0x2c195e(0x18f)],'itemSelectedColor':_0x1042ec['left'][_0x2c195e(0x137)][_0x2c195e(0x12b)][_0x2c195e(0xea)],'subMenuItemSelectedColor':_0x1042ec[_0x2c195e(0x108)][_0x2c195e(0xea)],'itemMarginInline':0x0,'popupBg':_0x1042ec['left'][_0x2c195e(0x18f)],'itemMarginBlock':0x0,'itemHeight':_0x1042ec[_0x2c195e(0x108)][_0x2c195e(0x137)]['itemHeight']}}},'children':jsxRuntime['jsx'](antd['Menu'],{'theme':'light','mode':'inline','openKeys':_0x482654,'selectedKeys':_0x40e66e?[_0x40e66e[_0x2c195e(0x151)]]:[],'items':_0x41d174(_0x1a3be8),'onOpenChange':_0x30c633=>{_0x125ed5(_0x30c633);},'onSelect':_0x25a08c})})})});}class MenuContent extends threelsWorkbenchComponent[a2_0x4e21e8(0x14a)]{constructor(_0x33f1f0){const _0x12e8d1=a2_0x4e21e8;super(_0x33f1f0),this['registerPropListener'](_0x12e8d1(0x103),_0x4371cc=>{const _0x43cf0=_0x12e8d1;this[_0x43cf0(0x10b)](_0x4371cc);}),this['tabsMap']={};}['_createTabItem'](_0x20b143){const _0x5d491e=a2_0x4e21e8;return{'key':_0x20b143[_0x5d491e(0x151)],'label':_0x20b143[_0x5d491e(0xf6)],'icon':_0x20b143[_0x5d491e(0x185)]?jsxRuntime[_0x5d491e(0xe2)](threelsWorkbenchComponent[_0x5d491e(0x119)],{'id':_0x20b143[_0x5d491e(0x185)],'fontSize':0xf,'style':{'verticalAlign':-0x3}}):null,'children':_0x20b143['menuId']+':'+_0x20b143[_0x5d491e(0xf6)],'data':_0x20b143};}[a2_0x4e21e8(0x12a)](_0x4b7c64,_0x709793){const _0x577391=a2_0x4e21e8;let _0x4f6ac4=this[_0x577391(0x140)](_0x709793);return jsxRuntime[_0x577391(0xe2)](threelsWorkbenchComponent[_0x577391(0x13c)],{'ref':_0x4b7c64,'activeKey':_0x709793['menuId'],'items':_0x4f6ac4,'animated':!![],'_drag':!![],'_showCloseBtn':!![],'type':_0x577391(0x17d),'hideAdd':!![],'size':'small','_onItemsChange':({items:_0x625c01})=>{const _0x303bf1=_0x577391;this[_0x303bf1(0xe7)](_0x625c01,this[_0x303bf1(0x1a3)][_0x303bf1(0x103)]);},'onChange':({item:_0x2f60f1})=>{const _0x1c1034=_0x577391;this[_0x1c1034(0x1a3)][_0x1c1034(0x105)]&&this[_0x1c1034(0x1a3)]['onTabChange']((_0x2f60f1||{})[_0x1c1034(0x12c)]);}});}[a2_0x4e21e8(0xef)](_0x388f1b){const _0x52d5ef=a2_0x4e21e8;let _0x5e864f=WorkBench[_0x52d5ef(0xda)]('_account'),_0x5903ec=WorkBench[_0x52d5ef(0xda)]('_curPlatform'),{topMenu:_0x5e8b95}=this['props'],_0x28a344;if(_0x5e8b95){let _0x47059f=findRootMenu(_0x388f1b);return _0x28a344=_0x47059f[_0x52d5ef(0x151)],_0x52d5ef(0x14c)+WorkBench[_0x52d5ef(0x152)](_0x52d5ef(0xe5)+(_0x5903ec['userPlatformId']||_0x5903ec['platformId'])+'-'+_0x5e864f[_0x52d5ef(0x120)]+'-'+_0x28a344);}else return _0x52d5ef(0x14c)+WorkBench[_0x52d5ef(0x152)](_0x52d5ef(0xe5)+(_0x5903ec['userPlatformId']||_0x5903ec[_0x52d5ef(0x17a)])+'-'+_0x5e864f['accountId']);}[a2_0x4e21e8(0x140)](_0x1545eb){const _0x492ec1=a2_0x4e21e8;let _0x4b3a6e=[],{tabCache:_0x4ec388,menusMap:_0x102fb4}=this[_0x492ec1(0x1a3)];if(!_0x4ec388)return _0x4b3a6e['push'](this[_0x492ec1(0x198)](_0x1545eb)),_0x4b3a6e;let _0x75c4ad=WorkBench['getCookie'](this[_0x492ec1(0xef)](_0x1545eb)),_0x35effb=_0x75c4ad?_0x75c4ad[_0x492ec1(0x188)](','):[],_0x4a8db0=![];if(_0x35effb[_0x492ec1(0x161)]>0x0)for(let _0xd423b=0x0;_0xd423b<_0x35effb[_0x492ec1(0x161)];_0xd423b++){let _0x14c621=_0x102fb4[_0x35effb[_0xd423b]];if(!_0x14c621)continue;_0x14c621=_0x14c621[_0x492ec1(0x12c)],_0x4b3a6e[_0x492ec1(0xf8)](this['_createTabItem'](_0x14c621)),_0x14c621[_0x492ec1(0x151)]===_0x1545eb[_0x492ec1(0x151)]&&(_0x4a8db0=!![]);}return!_0x4a8db0&&_0x4b3a6e['push'](this[_0x492ec1(0x198)](_0x1545eb)),_0x4b3a6e;}[a2_0x4e21e8(0xe7)](_0x5bc950,_0xb9a827){const _0x1effc6=a2_0x4e21e8;if(!_0xb9a827)return;let {tabCache:_0x4f8b5d}=this[_0x1effc6(0x1a3)];if(!_0x4f8b5d)return;if(_0x5bc950&&_0x5bc950['length']>0x0){let _0x5f52fa=[];_0x5bc950['forEach'](_0x2e6217=>{_0x5f52fa['push'](_0x2e6217['key']);}),WorkBench[_0x1effc6(0x12f)](this[_0x1effc6(0xef)](_0xb9a827),_0x5f52fa[_0x1effc6(0x124)](','));}else WorkBench[_0x1effc6(0xd6)](this[_0x1effc6(0xef)](_0xb9a827));}[a2_0x4e21e8(0x10b)](_0x51002c){const _0x248021=a2_0x4e21e8;let {menus:_0x1d3ae5,topMenu:_0x23d646,showTab:_0x40ebf1}=this[_0x248021(0x1a3)];if(!_0x23d646&&_0x40ebf1){this['tabs']?this[_0x248021(0x11f)](this[_0x248021(0x1a1)],_0x51002c):this['cachePanel'][_0x248021(0x100)]({'key':_0x248021(0x14d),'children':this[_0x248021(0x12a)](_0x5c7223=>{const _0x5d7731=_0x248021;this[_0x5d7731(0x1a1)]=_0x5c7223;},_0x51002c)});return;}if(_0x23d646){if(_0x40ebf1){let _0x28d138=findLeftMenu({'menus':_0x1d3ae5,'curMenu':_0x51002c,'topMenu':_0x23d646});if(_0x28d138&&_0x28d138[_0x248021(0x161)]>0x0){let _0x34f126=findRootMenu(_0x51002c);if(this[_0x248021(0xc6)][_0x248021(0xd0)](_0x34f126['menuId'])){this[_0x248021(0xc6)][_0x248021(0xc7)](_0x34f126[_0x248021(0x151)],{'triggerOnChange':![]});let _0x410edc=this['tabsMap'][_0x34f126[_0x248021(0x151)]];this[_0x248021(0x11f)](_0x410edc,_0x51002c);}else this[_0x248021(0xc6)]['addItems']({'key':_0x34f126[_0x248021(0x151)],'children':this['_createTabs'](_0x50caf3=>{const _0x969949=_0x248021;this[_0x969949(0x123)][_0x34f126[_0x969949(0x151)]]=_0x50caf3;},_0x51002c)},{'activeKey':_0x34f126[_0x248021(0x151)],'triggerOnChange':![]});}else this[_0x248021(0x16e)](_0x51002c);}else this[_0x248021(0x16e)](_0x51002c);}else this[_0x248021(0x16e)](_0x51002c);}[a2_0x4e21e8(0x16e)](_0x162565){const _0x342705=a2_0x4e21e8;if(!_0x162565){this['cachePanel'][_0x342705(0x166)]();return;}let {menuId:_0x5df0da,name:_0x2fa2cf}=_0x162565;if(this[_0x342705(0x1a3)][_0x342705(0x117)]){this['cachePanel'][_0x342705(0xd0)](_0x5df0da)?this[_0x342705(0xc6)]['setActiveKey'](_0x5df0da,{'triggerOnChange':![]}):this[_0x342705(0xc6)]['addItems']({'key':_0x5df0da,'children':_0x5df0da+':'+_0x2fa2cf},{'activeKey':_0x5df0da,'triggerOnChange':![]});return;}this[_0x342705(0xc6)][_0x342705(0x100)]({'key':_0x5df0da,'children':_0x5df0da+':'+_0x2fa2cf});}[a2_0x4e21e8(0x11f)](_0x328104,_0x3d0328){const _0x3adb3f=a2_0x4e21e8;if(!_0x328104)return;if(!_0x3d0328){_0x328104[_0x3adb3f(0x166)]({'triggerOnChange':![]});return;}let {menuId:_0xa667a2}=_0x3d0328;_0x328104[_0x3adb3f(0xd0)](_0xa667a2)?_0x328104[_0x3adb3f(0xc7)](_0xa667a2,{'triggerOnChange':![]}):_0x328104[_0x3adb3f(0x168)](this[_0x3adb3f(0x198)](_0x3d0328),{'activeKey':_0xa667a2,'triggerOnChange':![]});}[a2_0x4e21e8(0x154)](){const _0x4476b8=a2_0x4e21e8;let {showNav:_0x482599,curMenu:_0x44f4e1}=this[_0x4476b8(0x1a3)];return jsxRuntime[_0x4476b8(0xfc)](jsxRuntime[_0x4476b8(0x159)],{'children':[_0x482599&&jsxRuntime[_0x4476b8(0xe2)](antd[_0x4476b8(0xcb)],{'style':{'marginBottom':0xf},'items':findBreadcrumbItems(_0x44f4e1)}),jsxRuntime['jsx'](threelsWorkbenchComponent[_0x4476b8(0x15d)],{'style':{'display':''+(_0x44f4e1?'block':'none')},'ref':_0x57fca4=>this[_0x4476b8(0xc6)]=_0x57fca4})]});}}function wrapperMenus(_0x24b864){const _0x2a6eb8=a2_0x4e21e8;if(!_0x24b864||_0x24b864[_0x2a6eb8(0x161)]===0x0)return{'menus':[],'menusMap':{}};let _0xab7771={},_0x39394c={};_0x24b864['forEach'](_0x130bfc=>{const _0x589520=_0x2a6eb8;let _0x36595e={'key':_0x130bfc[_0x589520(0x151)],'label':_0x130bfc[_0x589520(0xf6)],'icon':_0x130bfc[_0x589520(0x185)],'data':_0x130bfc};_0xab7771[_0x130bfc[_0x589520(0x151)]]=_0x36595e,_0x39394c[_0x130bfc[_0x589520(0x151)]]=_0x36595e;}),_0x24b864['forEach'](_0x117cb2=>{const _0x17593e=_0x2a6eb8;let {menuId:_0x42f1ee,parentMenuId:_0x19fdd0}=_0x117cb2,_0x12deed=_0xab7771[_0x19fdd0];_0x12deed&&(!_0x12deed['children']&&(_0x12deed[_0x17593e(0xf0)]=[]),_0x117cb2[_0x17593e(0xf2)]=_0x12deed[_0x17593e(0x12c)],_0x12deed[_0x17593e(0xf0)][_0x17593e(0xf8)](_0xab7771[_0x42f1ee]),delete _0x39394c[_0x42f1ee]);});let _0x1702f6=[];Object[_0x2a6eb8(0x1ab)](_0x39394c)[_0x2a6eb8(0x149)](_0x4fc111=>_0x1702f6['push'](_0x39394c[_0x4fc111]));if(_0x1702f6[_0x2a6eb8(0x161)]===0x0)return _0x1702f6;return _0x1702f6[_0x2a6eb8(0x15c)]((_0xdc0eb7,_0x33ae4e)=>{const _0x44bc87=_0x2a6eb8;let _0x4d20a1=_0xdc0eb7[_0x44bc87(0x12c)][_0x44bc87(0x15c)],_0x1a360c=_0x33ae4e[_0x44bc87(0x12c)][_0x44bc87(0x15c)];return _0x4d20a1-_0x1a360c;}),{'menus':_0x1702f6,'menusMap':_0xab7771};}function findCurMenu(_0x52f50d,_0x38a012){const _0x5e9024=a2_0x4e21e8;if('/'===_0x38a012||_0x38a012==='')return null;if(!_0x52f50d||_0x52f50d[_0x5e9024(0x161)]===0x0)return null;let _0x80be06=_0x38a012[_0x5e9024(0x188)]('/')[_0x5e9024(0x124)]('/');for(let _0x419a0b=0x0;_0x419a0b<_0x52f50d[_0x5e9024(0x161)];_0x419a0b++){let {data:_0x3a4c2e,children:_0x33b473}=_0x52f50d[_0x419a0b],{urlPath:_0x27fb1d}=_0x3a4c2e,_0x16c1a8=_0x27fb1d[_0x5e9024(0x188)]('/')[_0x5e9024(0x124)]('/');if(_0x80be06===_0x16c1a8){if(!_0x33b473||_0x33b473[_0x5e9024(0x161)]===0x0)return _0x3a4c2e;return null;}if(_0x33b473&&_0x33b473[_0x5e9024(0x161)]>0x0){let _0x2002bb=findCurMenu(_0x33b473,_0x38a012);if(_0x2002bb)return _0x2002bb;}}return null;}function findDefaultMenu(_0x2c6408){const _0x6760fd=a2_0x4e21e8;if(!_0x2c6408||_0x2c6408[_0x6760fd(0x161)]===0x0)return null;let {data:_0x15725a,children:_0x2348c2}=_0x2c6408[0x0];if(!_0x2348c2||_0x2348c2['length']===0x0)return _0x15725a;return findDefaultMenu(_0x2348c2);}function a2_0x52a7(){const _0x13a5db=['forEach','BaseComponent','setFieldsValue','ctm_','tab','Button','Form','closeSpin','menuId','md5','header-title','render','新密码不能与旧密码相同','roleNames','threels-workbench-component','slider-menu','Fragment','#fff','stopPropagation','sort','CachePanel','newPwd','请输入名称','grid','length','oldPwd','请输入旧密码!','269681mkHMKb','item','clearItems','pointer','addItems','logo-sub-title','horizontal','UserOutlined','useWorkbenchLoginPresenter','renderSpin','_cachePanelShowMenu','Header','noticeFail','layout-header','修改成功','workbench-index-layout','react','location','_account','setData','show','基本信息','platformId','componentDidMount','header','editable-card','Item','useState','space-between','defaultProps','默认平台','Card','#eee','iconCls','Content','2111000Cxelut','split','closeLoadingIndicator','39957247WyGrwv','SettingOutlined','px\x20solid\x20','\x22吗?','showDoingIndicator','backgroundColor','header-info','登录超时,需要重新登录','Table','#ffffff','parent','platformSwitch','closeDoingIndicator','reload','_createTabItem','logout','_onModify','vertical','presenter','100%','platformList','请输入邮箱','validateFields','tabs','Descriptions','props','4ZQJTUC','修改密码','Flex','旧密码','@ant-design/icons','onSelect','showSpin','keys','info','state','icon','reverse','请输入确认密码','Tip','确定要退出登录吗?','Password','WorkbenchAccountPresenter','rgba(0,\x200,\x200,\x200.88)','key','27GHqcAN','menu-box','header-logo','max-content','cachePanel','setActiveKey','Drawer','#108ee9','请输入新密码!','Breadcrumb','border','加载中...','_curPlatform','useCallback','exitItem','alertFail','account','showLoadingIndicator','确认密码','_closeForm','removeCookie','window','userPlatformId','img','get','platform','color','请输入手机','Input','8jqNNwr','退出登录','logo-img','jsx','#FFF','ConfigProvider','ct_','5983010MjRLbH','_saveCacheTabsItems','新密码','table-margin-hide','fontColor','_ctx','IndexPage','6wjBSwa','error','_getCacheTabsCookieName','children','transparent','parentMenu','DownOutlined','activeBarHeight','bottom','name','map','push','end','logo','useLocation','jsxs','current','Space','Layout','setItems','threels-workbench-core','useWorkbenchAccountPresenter','curMenu','3673416FZRGSp','onTabChange','确定要切换到\x22','_search','left','flex','Row','_menuChange','账号详情','useEffect','onSuccess','bind','Tag','label','span','Modal','form','showDetails','请输入旧密码','keepMenu','fontSize','SvgIcon','mobile','confirm','../../presenter/presenter.js','noticeSuccess','width','_tabsShowMenu','accountId','href','请输入邮箱!','tabsMap','join','4754659khaGlC','menuItems','light','useNavigate','modify','_createTabs','active','data','close','修改信息','setCookie','_onSubmit','关联平台','email','userPlatformName','修改密码成功','loginOut','请输入手机!','menu','请输入名称!','useRef','then','请输入确认密码!','Tabs','onCancel','primary','settings','_getCacheTabsItems','/login?backUrl=','react-router','newPwd2','div','small','Dropdown','header-menu','5167140fQrrcf'];a2_0x52a7=function(){return _0x13a5db;};return a2_0x52a7();}function findLeftMenu({menus:_0x376a6c,topMenu:_0x3f9fac,curMenu:_0xd53d56}={}){const _0x137577=a2_0x4e21e8;if(!_0xd53d56||!_0x376a6c||_0x376a6c[_0x137577(0x161)]===0x0)return null;if(!_0x3f9fac)return _0x376a6c;for(let _0x2a2d48=0x0;_0x2a2d48<_0x376a6c[_0x137577(0x161)];_0x2a2d48++){let {children:_0x1e9b8c}=_0x376a6c[_0x2a2d48];if(curMenuInMenus({'curMenu':_0xd53d56,'menus':_0x1e9b8c}))return _0x1e9b8c;}return null;}function curMenuInMenus({curMenu:_0x565b79,menus:_0xb03604}={}){const _0x163ff1=a2_0x4e21e8;if(!_0x565b79||!_0xb03604||_0xb03604[_0x163ff1(0x161)]===0x0)return![];for(let _0x50242d=0x0;_0x50242d<_0xb03604[_0x163ff1(0x161)];_0x50242d++){let {data:_0x6bf24e,children:_0x22a484}=_0xb03604[_0x50242d];if(_0x6bf24e[_0x163ff1(0x151)]===_0x565b79['menuId'])return!![];if(_0x22a484&&_0x22a484['length']>0x0){if(curMenuInMenus({'curMenu':_0x565b79,'menus':_0x22a484}))return!![];}}return![];}function a2_0x5b4b(_0x18e755,_0xecb58b){const _0x52a7b5=a2_0x52a7();return a2_0x5b4b=function(_0x5b4b6a,_0xcc8581){_0x5b4b6a=_0x5b4b6a-0xc2;let _0x487225=_0x52a7b5[_0x5b4b6a];return _0x487225;},a2_0x5b4b(_0x18e755,_0xecb58b);}function findOpenMenuKeys(_0xe98417,_0xd32788){const _0x43a6b4=a2_0x4e21e8;let _0x45c13a=[],{menuId:_0xc88885,parentMenu:_0x3dd9dc}=_0xe98417;if(_0xd32788[_0xc88885])return _0x45c13a;if(!_0x3dd9dc)return _0x45c13a;return _0x45c13a[_0x43a6b4(0xf8)](_0x3dd9dc[_0x43a6b4(0x151)]),_0x45c13a[_0x43a6b4(0xf8)](...findOpenMenuKeys(_0x3dd9dc,_0xd32788)),_0x45c13a;}function findRootMenu(_0x21aefc){let {parentMenu:_0x5d035a}=_0x21aefc;if(!_0x5d035a)return _0x21aefc;return findRootMenu(_0x5d035a);}function findBreadcrumbItems(_0x205eb7){const _0x30c6b9=a2_0x4e21e8;let _0x156b29=[];if(!_0x205eb7)return _0x156b29;let {iconCls:_0x2c4085,name:_0x3d1c50}=_0x205eb7;_0x2c4085?_0x156b29[_0x30c6b9(0xf8)]({'title':jsxRuntime[_0x30c6b9(0xfc)]('span',{'children':[jsxRuntime[_0x30c6b9(0xe2)](threelsWorkbenchComponent[_0x30c6b9(0x119)],{'id':_0x2c4085,'fontSize':0xe,'style':{'verticalAlign':-0x2,'marginRight':0x5}}),_0x3d1c50]})}):_0x156b29[_0x30c6b9(0xf8)]({'title':_0x3d1c50});let {parentMenu:_0x31eb53}=_0x205eb7;if(!_0x31eb53)return _0x156b29;return _0x156b29[_0x30c6b9(0xf8)](...findBreadcrumbItems(_0x31eb53)),_0x156b29[_0x30c6b9(0x1af)]();}exports[a2_0x4e21e8(0xec)]=IndexPage;
1
+ 'use strict';const a2_0x464d64=a2_0x33a1;(function(_0xcddd1e,_0x528b43){const _0x39f7e8=a2_0x33a1,_0x212bdf=_0xcddd1e();while(!![]){try{const _0x3da9c1=parseInt(_0x39f7e8(0x1ff))/0x1*(-parseInt(_0x39f7e8(0x1f6))/0x2)+parseInt(_0x39f7e8(0x219))/0x3+-parseInt(_0x39f7e8(0x2a5))/0x4+-parseInt(_0x39f7e8(0x292))/0x5*(parseInt(_0x39f7e8(0x2b2))/0x6)+-parseInt(_0x39f7e8(0x22f))/0x7+-parseInt(_0x39f7e8(0x22a))/0x8*(parseInt(_0x39f7e8(0x226))/0x9)+-parseInt(_0x39f7e8(0x2af))/0xa*(-parseInt(_0x39f7e8(0x29e))/0xb);if(_0x3da9c1===_0x528b43)break;else _0x212bdf['push'](_0x212bdf['shift']());}catch(_0x1e90e3){_0x212bdf['push'](_0x212bdf['shift']());}}}(a2_0x4547,0x78636));function a2_0x4547(){const _0x17e5dc=['small','请输入邮箱!','accountId','newPwd','bottom','1fjWkOJ','useWorkbenchLoginPresenter','loginOut','window','Dropdown','email','get','Input','ct_','退出登录','ConfigProvider','Tag','right','fontSize','img','_ctx','账号ID','请输入新密码!','Drawer','state','Form','Space','Item','platformId','修改成功','SettingOutlined','2248923auUJHf','exitItem','logo-sub-title','默认平台','账号详情','Card','onSelect','registerPropListener','IndexPage','tab','grid','account','/login?backUrl=','4104zhffOd','menuItems','iconCls','renderSpin','4232iLnZgZ','请输入名称!','slider-menu','noticeFail','name','4211844cOEEPG','clearItems','key','alertFail','Flex','stopPropagation','LogoutOutlined','useNavigate','keys','Descriptions','confirm','addItems','activeBarHeight','请输入手机','menuId','Sider','data','parent','BaseComponent','Tip','_tabsShowMenu','vertical','label','flex','item','closeLoadingIndicator','登录超时,需要重新登录','新密码','onTabChange','span','_createTabItem','_search','header-logo','确定要切换到\x22','transparent','../../presenter/presenter.js','width','presenter','showLoadingIndicator','split','#eee','修改信息','Row','antd','horizontal','_getCacheTabsItems','threels-workbench-core','componentDidMount','_createTabs','curMenu','setItems','children','useEffect','primary','加载中...','join','showSpin','DownOutlined','基本信息','_closeForm','menu','light','react/jsx-runtime','platformMenu','Menu','threels-workbench-component','useCallback','error','backgroundColor','SvgIcon','header','form','oldPwd','useState','props','cachePanel','Layout','rgba(0,\x200,\x200,\x200.88)','md5','closeSpin','useRef','userPlatformName','UserOutlined','请输入旧密码!','_curPlatform','logo','editable-card','确认密码','layout-header','table-margin-hide','active','header-title','href','#ffffff','tabs','platformName','请输入邮箱','noticeSuccess','个人资料','5nevdbl','header-info','resetPwd','length','logout','Button','removeCookie','Fragment','icon','pointer','getCookie','Content','7216FNITAz','_getCacheTabsCookieName','关联平台','_saveCacheTabsItems','处理中...','newPwd2','roleNames','1262564WnKCwX','forEach','header-menu','div','ctm_','_cachePanelShowMenu','show','render','divider','map','32590cycyVJ','space-between','旧密码','2009766QFXRoP','#FFF','bind','_onSubmit','onCancel','then','_account','px\x20solid\x20','setCookie','height','_menuChange','profile','请输入确认密码','platformSwitch','#fff','location','useWorkbenchAccountPresenter','push','Password','/_res/logo/','setFieldsValue','defaultProps','setActiveKey','onSuccess','_onModify','platformList','Header','jsxs','color','reverse','close','mobile','showDetails','border','sort','closeDoingIndicator','platform','validateFields','showDoingIndicator','keepMenu','userPlatformId','workbench-index-layout','WorkbenchAccountPresenter','left','Modal','fontColor','menu-box','修改密码','@ant-design/icons','current','#108ee9','100%','jsx','logo-img','none','info','1801834tfGvtw','max-content','tabsMap','react'];a2_0x4547=function(){return _0x17e5dc;};return a2_0x4547();}const jsxRuntime=require(a2_0x464d64(0x26d)),antd=require(a2_0x464d64(0x25a)),icons=require(a2_0x464d64(0x1ee)),react=require(a2_0x464d64(0x1f9)),WorkBench=require(a2_0x464d64(0x25d)),threelsWorkbenchComponent=require(a2_0x464d64(0x270)),presenter_presenter=require(a2_0x464d64(0x252)),reactRouter=require('react-router');class AccountPwdForm extends threelsWorkbenchComponent[a2_0x464d64(0x241)]{static [a2_0x464d64(0x2c7)]={'onSuccess':void 0x0};constructor(_0x3932ae){const _0x1d9fde=a2_0x464d64;super(_0x3932ae),this[_0x1d9fde(0x254)]=new presenter_presenter[(_0x1d9fde(0x1e8))](this);}[a2_0x464d64(0x26a)](){const _0x5a4754=a2_0x464d64;this[_0x5a4754(0x279)][_0x5a4754(0x2b6)]&&this[_0x5a4754(0x279)][_0x5a4754(0x2b6)]();}[a2_0x464d64(0x2b5)](){const _0x374abb=a2_0x464d64;this[_0x374abb(0x276)][_0x374abb(0x2d7)]()[_0x374abb(0x2b7)](_0x4cc061=>{const _0xaf0d36=_0x374abb;let {oldPwd:_0x2ee30b,newPwd:_0x4789b7,newPwd2:_0x189785}=_0x4cc061;if(_0x2ee30b===_0x4789b7){this[_0xaf0d36(0x22d)]('新密码不能与旧密码相同');return;}if(_0x4789b7!==_0x189785){this[_0xaf0d36(0x22d)]('两次新密码输入不一致');return;}this[_0xaf0d36(0x2d8)]('处理中...'),this[_0xaf0d36(0x254)][_0xaf0d36(0x294)]({'oldPwd':_0x2ee30b,'newPwd':_0x4789b7},{},()=>{const _0x50cdff=_0xaf0d36;this[_0x50cdff(0x290)]('修改密码成功'),this[_0x50cdff(0x279)]['onSuccess']&&this[_0x50cdff(0x279)][_0x50cdff(0x2c9)]();});});}[a2_0x464d64(0x255)](_0x5886c9){const _0x235b5d=a2_0x464d64;this[_0x235b5d(0x267)](_0x5886c9);}[a2_0x464d64(0x248)](){const _0x2b39b2=a2_0x464d64;this[_0x2b39b2(0x27e)]();}[a2_0x464d64(0x2d8)](_0x39a8f7){this['showSpin'](_0x39a8f7);}['closeDoingIndicator'](){this['closeSpin']();}[a2_0x464d64(0x2ac)](){const _0x2859dd=a2_0x464d64;return this[_0x2859dd(0x229)](jsxRuntime[_0x2859dd(0x2cd)](antd[_0x2859dd(0x213)],{'ref':_0x2e7bbc=>this['form']=_0x2e7bbc,'layout':'vertical','children':[jsxRuntime[_0x2859dd(0x1f2)](antd[_0x2859dd(0x213)][_0x2859dd(0x215)],{'label':_0x2859dd(0x2b1),'name':_0x2859dd(0x277),'rules':[{'required':!![],'message':_0x2859dd(0x282)}],'children':jsxRuntime['jsx'](antd[_0x2859dd(0x206)]['Password'],{'placeholder':'请输入旧密码'})}),jsxRuntime[_0x2859dd(0x1f2)](antd[_0x2859dd(0x213)][_0x2859dd(0x215)],{'label':_0x2859dd(0x24a),'name':_0x2859dd(0x1fd),'rules':[{'required':!![],'message':_0x2859dd(0x210)}],'children':jsxRuntime[_0x2859dd(0x1f2)](antd[_0x2859dd(0x206)]['Password'],{'placeholder':'请输入密码'})}),jsxRuntime[_0x2859dd(0x1f2)](antd['Form'][_0x2859dd(0x215)],{'label':_0x2859dd(0x286),'name':_0x2859dd(0x2a3),'rules':[{'required':!![],'message':'请输入确认密码!'}],'children':jsxRuntime['jsx'](antd[_0x2859dd(0x206)][_0x2859dd(0x2c4)],{'placeholder':_0x2859dd(0x2be)})}),jsxRuntime[_0x2859dd(0x1f2)](antd[_0x2859dd(0x259)],{'type':_0x2859dd(0x246),'justify':'end','children':jsxRuntime['jsxs'](antd[_0x2859dd(0x214)],{'children':[jsxRuntime[_0x2859dd(0x1f2)](antd['Button'],{'onClick':this[_0x2859dd(0x26a)][_0x2859dd(0x2b4)](this),'children':'取消'}),jsxRuntime[_0x2859dd(0x1f2)](antd[_0x2859dd(0x297)],{'type':'primary','onClick':this[_0x2859dd(0x2b5)][_0x2859dd(0x2b4)](this),'children':'修改'})]})})]}));}}class AccountPlatformGrid extends threelsWorkbenchComponent[a2_0x464d64(0x241)]{static [a2_0x464d64(0x2c7)]={'accountId':void 0x0,'onPlatformChange':void 0x0};constructor(_0x48955a){const _0x5242ac=a2_0x464d64;super(_0x48955a),this[_0x5242ac(0x254)]=new presenter_presenter[(_0x5242ac(0x1e8))](this);}[a2_0x464d64(0x25e)](){const _0x150f79=a2_0x464d64;this[_0x150f79(0x24e)]();}[a2_0x464d64(0x24e)](){const _0x564d21=a2_0x464d64;this[_0x564d21(0x255)](_0x564d21(0x265)),this[_0x564d21(0x254)][_0x564d21(0x2cb)]({},{},_0x5161fa=>{const _0x3d03a3=_0x564d21;this[_0x3d03a3(0x223)]['setData'](_0x5161fa[_0x3d03a3(0x23f)]);});}[a2_0x464d64(0x255)](_0x4303c1,_0x695c0c={}){const _0x402081=a2_0x464d64;this[_0x402081(0x223)]['showLoadingIndicator']();}[a2_0x464d64(0x248)](){const _0x1baca0=a2_0x464d64;this[_0x1baca0(0x223)]['closeLoadingIndicator']();}[a2_0x464d64(0x2ac)](){const _0x3773a6=a2_0x464d64;return jsxRuntime[_0x3773a6(0x1f2)](threelsWorkbenchComponent['Table'],{'ref':_0x4b21ba=>{const _0x53aa39=_0x3773a6;this[_0x53aa39(0x223)]=_0x4b21ba;},'scroll':{'x':_0x3773a6(0x1f7)},'className':_0x3773a6(0x288),'_showPage':![],'rowKey':_0x2535dc=>_0x2535dc['id'],'size':_0x3773a6(0x1fa),'columns':[{'title':'平台','dataIndex':_0x3773a6(0x2d6),'fixed':_0x3773a6(0x1e9),'render':(_0x248447,_0x1d2bc3)=>{const _0x4fc485=_0x3773a6;let {platformName:_0x57fcd6,userPlatform:_0x4d4eec,userPlatformName:_0x1702a2,mainPlatform:_0xf5b749}=_0x1d2bc3;if(_0x4d4eec)return jsxRuntime[_0x4fc485(0x2cd)](antd[_0x4fc485(0x233)],{'justify':'space-between','children':[jsxRuntime['jsxs'](antd[_0x4fc485(0x214)],{'children':[jsxRuntime['jsx'](antd['Tag'],{'children':_0x57fcd6}),jsxRuntime[_0x4fc485(0x1f2)](antd['Tag'],{'children':_0x1702a2})]}),_0xf5b749&&jsxRuntime[_0x4fc485(0x1f2)](antd[_0x4fc485(0x20a)],{'color':_0x4fc485(0x272),'children':_0x4fc485(0x21c)})]});return jsxRuntime[_0x4fc485(0x2cd)](antd[_0x4fc485(0x233)],{'justify':_0x4fc485(0x2b0),'children':[jsxRuntime[_0x4fc485(0x1f2)](antd['Tag'],{'children':_0x57fcd6}),_0xf5b749&&jsxRuntime[_0x4fc485(0x1f2)](antd[_0x4fc485(0x20a)],{'color':_0x4fc485(0x272),'children':_0x4fc485(0x21c)})]});}},{'title':'角色','dataIndex':_0x3773a6(0x2a4),'render':(_0x1f0474,_0x5c1688)=>{const _0x27a143=_0x3773a6;let {roleNames:_0x5c1e99}=_0x5c1688;if(_0x5c1e99)return _0x5c1e99[_0x27a143(0x256)](',')['map']((_0x1561a0,_0x5446ab)=>jsxRuntime['jsx'](antd['Tag'],{'children':_0x1561a0},_0x5446ab));return null;}}]});}}class AccountModifyForm extends threelsWorkbenchComponent[a2_0x464d64(0x241)]{static [a2_0x464d64(0x2c7)]={'onSuccess':void 0x0};constructor(_0x4ff811){const _0x64638b=a2_0x464d64;super(_0x4ff811),this[_0x64638b(0x254)]=new presenter_presenter['WorkbenchAccountPresenter'](this);}[a2_0x464d64(0x25e)](){const _0x16e24a=a2_0x464d64;this[_0x16e24a(0x24e)]();}[a2_0x464d64(0x24e)](){const _0x3d076=a2_0x464d64;this[_0x3d076(0x255)]('加载中...'),this['presenter'][_0x3d076(0x1f5)]({},{},_0xbc73fb=>{const _0x2eb929=_0x3d076;this['form'][_0x2eb929(0x2c6)](_0xbc73fb[_0x2eb929(0x23f)]);});}[a2_0x464d64(0x26a)](){const _0x3ec802=a2_0x464d64;this['props']['onCancel']&&this[_0x3ec802(0x279)][_0x3ec802(0x2b6)]();}[a2_0x464d64(0x2b5)](){const _0x4d5c46=a2_0x464d64;this[_0x4d5c46(0x276)][_0x4d5c46(0x2d7)]()[_0x4d5c46(0x2b7)](_0x233760=>{const _0x4d959a=_0x4d5c46;this['showDoingIndicator'](_0x4d959a(0x2a2)),this[_0x4d959a(0x254)]['modify']({..._0x233760},{},()=>{const _0x37615c=_0x4d959a;this[_0x37615c(0x290)](_0x37615c(0x217)),this['props']['onSuccess']&&this[_0x37615c(0x279)][_0x37615c(0x2c9)]();});});}[a2_0x464d64(0x255)](_0x384631){const _0x2247d4=a2_0x464d64;this[_0x2247d4(0x267)](_0x384631);}[a2_0x464d64(0x248)](){const _0x602b03=a2_0x464d64;this[_0x602b03(0x27e)]();}[a2_0x464d64(0x2d8)](_0x563ec2){const _0x52094a=a2_0x464d64;this[_0x52094a(0x267)](_0x563ec2);}[a2_0x464d64(0x2d5)](){this['closeSpin']();}['render'](){const _0x1e4eee=a2_0x464d64;return this[_0x1e4eee(0x229)](jsxRuntime[_0x1e4eee(0x2cd)](antd['Form'],{'ref':_0x44bff5=>this[_0x1e4eee(0x276)]=_0x44bff5,'layout':_0x1e4eee(0x244),'children':[jsxRuntime[_0x1e4eee(0x1f2)](antd[_0x1e4eee(0x213)][_0x1e4eee(0x215)],{'label':'名称','name':_0x1e4eee(0x22e),'rules':[{'required':!![],'message':_0x1e4eee(0x22b)}],'children':jsxRuntime[_0x1e4eee(0x1f2)](antd[_0x1e4eee(0x206)],{'placeholder':'请输入名称'})}),jsxRuntime['jsx'](antd[_0x1e4eee(0x213)][_0x1e4eee(0x215)],{'label':'手机','name':_0x1e4eee(0x2d1),'rules':[{'required':!![],'message':'请输入手机!'}],'children':jsxRuntime[_0x1e4eee(0x1f2)](antd[_0x1e4eee(0x206)],{'placeholder':_0x1e4eee(0x23c)})}),jsxRuntime['jsx'](antd[_0x1e4eee(0x213)][_0x1e4eee(0x215)],{'label':'邮箱','name':_0x1e4eee(0x204),'rules':[{'required':!![],'message':_0x1e4eee(0x1fb)}],'children':jsxRuntime[_0x1e4eee(0x1f2)](antd[_0x1e4eee(0x206)],{'placeholder':_0x1e4eee(0x28f)})}),jsxRuntime[_0x1e4eee(0x1f2)](antd[_0x1e4eee(0x259)],{'type':_0x1e4eee(0x246),'justify':'end','children':jsxRuntime[_0x1e4eee(0x2cd)](antd['Space'],{'children':[jsxRuntime[_0x1e4eee(0x1f2)](antd[_0x1e4eee(0x297)],{'onClick':this[_0x1e4eee(0x26a)][_0x1e4eee(0x2b4)](this),'children':'取消'}),jsxRuntime['jsx'](antd[_0x1e4eee(0x297)],{'type':_0x1e4eee(0x264),'onClick':this['_onSubmit'][_0x1e4eee(0x2b4)](this),'children':'修改'})]})})]}));}}class AccountDetail extends threelsWorkbenchComponent[a2_0x464d64(0x241)]{static[a2_0x464d64(0x2d2)](){const _0x4051ab=a2_0x464d64;let _0x5b1a63=threelsWorkbenchComponent[_0x4051ab(0x211)][_0x4051ab(0x2ab)](jsxRuntime[_0x4051ab(0x1f2)](AccountDetail,{'onCancel':()=>{const _0x4fdcb3=_0x4051ab;_0x5b1a63()[_0x4fdcb3(0x2d0)]();}}),{'title':_0x4051ab(0x21d),'width':0x320,'bodyStyle':{'padding':0xa}});}constructor(_0x433b8a){const _0x66f202=a2_0x464d64;super(_0x433b8a),this['presenter']=new presenter_presenter[(_0x66f202(0x1e8))](this),this[_0x66f202(0x212)]={'data':{}};}['componentDidMount'](){this['_search']();}['showLoadingIndicator'](_0x1293a5){const _0x2301e3=a2_0x464d64;this[_0x2301e3(0x267)](_0x1293a5);}[a2_0x464d64(0x248)](){const _0x5e85c7=a2_0x464d64;this[_0x5e85c7(0x27e)]();}[a2_0x464d64(0x24e)](){const _0xba9063=a2_0x464d64;this['showLoadingIndicator'](_0xba9063(0x265)),this[_0xba9063(0x254)]['info']({},{},_0x32e576=>{const _0x2478a6=_0xba9063;this['setState']({'data':_0x32e576[_0x2478a6(0x23f)]});});}[a2_0x464d64(0x2ca)](){const _0x5e71cf=a2_0x464d64;let _0x22e81d=threelsWorkbenchComponent[_0x5e71cf(0x1ea)][_0x5e71cf(0x2ab)](jsxRuntime['jsx'](AccountModifyForm,{'onCancel':()=>{const _0xb03bad=_0x5e71cf;_0x22e81d()[_0xb03bad(0x2d0)]();},'onSuccess':()=>{const _0xd2006a=_0x5e71cf;_0x22e81d()[_0xd2006a(0x2d0)](),this[_0xd2006a(0x24e)]();}}),{'title':_0x5e71cf(0x258)});}[a2_0x464d64(0x2ac)](){const _0x58bebf=a2_0x464d64;let {data:_0x446e2b}=this['state'];return this[_0x58bebf(0x229)](jsxRuntime[_0x58bebf(0x2cd)](antd[_0x58bebf(0x214)],{'direction':_0x58bebf(0x244),'style':{'width':_0x58bebf(0x1f1)},'children':[jsxRuntime[_0x58bebf(0x1f2)](antd[_0x58bebf(0x21e)],{'title':_0x58bebf(0x269),'size':_0x58bebf(0x1fa),'extra':jsxRuntime['jsx'](antd[_0x58bebf(0x214)],{'children':jsxRuntime['jsx'](antd[_0x58bebf(0x297)],{'size':_0x58bebf(0x1fa),'type':_0x58bebf(0x264),'onClick':this[_0x58bebf(0x2ca)][_0x58bebf(0x2b4)](this),'children':'修改'})}),'children':jsxRuntime[_0x58bebf(0x1f2)](threelsWorkbenchComponent[_0x58bebf(0x238)],{'bordered':!![],'column':0x1,'size':_0x58bebf(0x1fa),'items':this[_0x58bebf(0x212)][_0x58bebf(0x23f)]?[{'label':_0x58bebf(0x20f),'children':_0x446e2b[_0x58bebf(0x1fc)]},{'label':'账号','children':_0x446e2b['account']},{'label':'名称','children':_0x446e2b['name']},{'label':'手机','children':_0x446e2b['mobile']},{'label':'邮箱','children':_0x446e2b['email']}]:[]})}),jsxRuntime['jsx'](antd[_0x58bebf(0x21e)],{'title':_0x58bebf(0x2a0),'size':'small','children':jsxRuntime[_0x58bebf(0x1f2)](AccountPlatformGrid,{})})]}));}}const defaultStyle={'header':{'backgroundColor':a2_0x464d64(0x2c0),'fontColor':a2_0x464d64(0x27c),'logo':{'height':0x28,'width':0x28},'border':{'bottom':{'width':0x1,'color':a2_0x464d64(0x257)}},'account':{'backgroundColor':a2_0x464d64(0x1f0),'fontColor':a2_0x464d64(0x2c0)},'menu':{'backgroundColor':a2_0x464d64(0x251),'fontSize':0xf,'activeBarHeight':0x4,'active':{'fontColor':a2_0x464d64(0x1f0),'backgroundColor':a2_0x464d64(0x251)}}},'left':{'width':0xf0,'backgroundColor':a2_0x464d64(0x28c),'fontColor':a2_0x464d64(0x27c),'border':{'right':{'width':0x1,'color':a2_0x464d64(0x257)}},'menu':{'itemHeight':0x30,'fontSize':0xf,'active':{'fontColor':a2_0x464d64(0x2b3),'backgroundColor':a2_0x464d64(0x1f0)}}}};function getLoginAccount(_0x186c4e){const _0x3f0a34=a2_0x464d64;let {loginAccount:_0xf27f8}=_0x186c4e;return _0xf27f8?_0xf27f8:WorkBench[_0x3f0a34(0x205)](_0x3f0a34(0x2b8));}function getCurPlatform(_0x4aef2f){const _0x3747bb=a2_0x464d64;let {curPlatform:_0x351326}=_0x4aef2f;return _0x351326?_0x351326:WorkBench[_0x3747bb(0x205)](_0x3747bb(0x283));}function IndexPage(_0x7d8263){const _0x3466c0=a2_0x464d64;let {menuItems:_0x22fd9b,style:style=defaultStyle,syncRoute:syncRoute=!![]}=_0x7d8263,_0x75ea92=getLoginAccount(_0x7d8263),_0x1b7cd1=getCurPlatform(_0x7d8263);if(!_0x75ea92||!_0x1b7cd1)return threelsWorkbenchComponent[_0x3466c0(0x242)][_0x3466c0(0x232)](_0x3466c0(0x249),{'onOk':()=>{const _0x3db75a=_0x3466c0,_0x385b56=encodeURIComponent(window[_0x3db75a(0x240)][_0x3db75a(0x202)][_0x3db75a(0x2c1)]['href']);window[_0x3db75a(0x240)][_0x3db75a(0x202)][_0x3db75a(0x2c1)]['href']=window[_0x3db75a(0x20e)]+_0x3db75a(0x225)+_0x385b56;}}),null;let {platform:_0x521243,topMenu:_0x5f28c8,rightComponent:_0x4079ba,showTab:_0xf5d872,showNav:_0x3d0529,keepMenu:_0x1fca45,tabCache:_0x5820bd}=_0x7d8263,[_0xb10cfd,_0x4cfb11]=react['useState']([]),[_0x503b23,_0x248b8b]=react[_0x3466c0(0x278)]({}),[_0x318c93,_0x249de8]=react[_0x3466c0(0x278)](null),_0x5f1d29=syncRoute?reactRouter['useLocation']():{'pathname':'/'},_0x12829c=syncRoute?reactRouter[_0x3466c0(0x236)]():null,_0x1feee1=presenter_presenter[_0x3466c0(0x2c2)]();react[_0x3466c0(0x263)](()=>{const _0x4c1081=_0x3466c0,_0x4433b8=_0x4421d2=>{const {pathname:_0x1735dc}=_0x5f1d29;let {menus:_0x4a2196,menusMap:_0x17b85d}=wrapperMenus(_0x4421d2),_0x4ea24b;syncRoute&&(_0x4ea24b=findCurMenu(_0x4a2196,_0x1735dc));!_0x4ea24b&&(_0x4ea24b=findDefaultMenu(_0x4a2196));if(_0x4ea24b&&syncRoute){let {urlPath:_0x8547e3}=_0x4ea24b;_0x1735dc!==_0x8547e3&&_0x12829c(_0x8547e3);}_0x249de8(_0x4ea24b),_0x4cfb11(_0x4a2196),_0x248b8b(_0x17b85d);};_0x22fd9b?_0x4433b8(_0x22fd9b):(_0x1feee1['showLoadingIndicator'](),_0x1feee1[_0x4c1081(0x26e)]({},{},_0x52e57b=>{const _0xef053e=_0x4c1081;_0x4433b8(_0x52e57b[_0xef053e(0x227)]);}));},[]);const _0x373073=react['useCallback'](_0x100ad9=>{if(_0x100ad9&&syncRoute){let {urlPath:_0x4ac396}=_0x100ad9;_0x12829c(_0x4ac396);}_0x249de8(_0x100ad9);},[]);return jsxRuntime[_0x3466c0(0x2cd)](antd[_0x3466c0(0x27b)],{'className':_0x3466c0(0x2db),'children':[jsxRuntime[_0x3466c0(0x2cd)](antd['Layout'][_0x3466c0(0x2cc)],{'className':_0x3466c0(0x287),'style':{'height':0x41,'background':style['header'][_0x3466c0(0x273)],'borderBottom':style[_0x3466c0(0x275)]['border'][_0x3466c0(0x1fe)][_0x3466c0(0x253)]+_0x3466c0(0x2b9)+style[_0x3466c0(0x275)][_0x3466c0(0x2d3)][_0x3466c0(0x1fe)][_0x3466c0(0x2ce)]},'children':[jsxRuntime[_0x3466c0(0x1f2)](LogoComponent,{'platform':_0x521243,'style':style,'loginAccount':_0x75ea92,'curPlatform':_0x1b7cd1}),_0x5f28c8&&jsxRuntime[_0x3466c0(0x1f2)](TopMenu,{'menus':_0xb10cfd,'menusMap':_0x503b23,'curMenu':_0x318c93,'onSelect':_0x373073,'style':style,'loginAccount':_0x75ea92,'curPlatform':_0x1b7cd1}),jsxRuntime[_0x3466c0(0x1f2)](_0x3466c0(0x2a8),{'className':_0x3466c0(0x293),'children':jsxRuntime['jsxs'](antd[_0x3466c0(0x214)],{'size':0x10,'children':[_0x4079ba,jsxRuntime[_0x3466c0(0x1f2)](AccountComponent,{'style':style,'loginAccount':_0x75ea92,'curPlatform':_0x1b7cd1})]})})]}),jsxRuntime['jsxs'](antd[_0x3466c0(0x27b)],{'children':[jsxRuntime[_0x3466c0(0x1f2)](LeftMenu,{'topMenu':_0x5f28c8,'menus':_0xb10cfd,'menusMap':_0x503b23,'curMenu':_0x318c93,'onSelect':_0x373073,'style':style,'loginAccount':_0x75ea92,'curPlatform':_0x1b7cd1}),jsxRuntime[_0x3466c0(0x1f2)](antd['Layout'][_0x3466c0(0x29d)],{'style':{'padding':0xa,'backgroundColor':'#FFF'},'children':jsxRuntime[_0x3466c0(0x1f2)](MenuContent,{'menus':_0xb10cfd,'menusMap':_0x503b23,'curMenu':_0x318c93,'showTab':_0xf5d872,'showNav':_0x3d0529,'topMenu':_0x5f28c8,'keepMenu':_0x1fca45,'tabCache':_0x5820bd,'onTabChange':_0x373073,'style':style,'loginAccount':_0x75ea92,'curPlatform':_0x1b7cd1})})]})]});}function LogoComponent(_0x42bdbe){const _0xa7ce23=a2_0x464d64;let {style:_0x21282f}=_0x42bdbe,_0x27bfbd=getLoginAccount(_0x42bdbe),_0x4e68e7=getCurPlatform(_0x42bdbe);const _0x45f8d2=presenter_presenter[_0xa7ce23(0x2c2)]();let {platform:_0x23832c}=_0x42bdbe;const _0x58a5fd=react[_0xa7ce23(0x271)](_0x234521=>{const _0x2e0589=_0xa7ce23;threelsWorkbenchComponent[_0x2e0589(0x242)][_0x2e0589(0x239)](_0x2e0589(0x250)+_0x234521[_0x2e0589(0x280)]+'\x22吗?',()=>{const _0x9bf7fd=_0x2e0589;_0x45f8d2[_0x9bf7fd(0x2bf)]({'userPlatformId':_0x234521[_0x9bf7fd(0x2da)]},{},()=>{const _0xd6c262=_0x9bf7fd;window[_0xd6c262(0x2c1)]['reload']();});});},[]);return jsxRuntime[_0xa7ce23(0x2cd)]('div',{'className':_0xa7ce23(0x24f),'style':{'minWidth':0xdc},'children':[jsxRuntime[_0xa7ce23(0x1f2)](_0xa7ce23(0x20d),{'className':_0xa7ce23(0x1f3),'src':window[_0xa7ce23(0x20e)]+_0xa7ce23(0x2c5)+_0x23832c,'alt':_0xa7ce23(0x284),'style':{'height':_0x21282f[_0xa7ce23(0x275)]['logo'][_0xa7ce23(0x2bb)],'width':_0x21282f[_0xa7ce23(0x275)]['logo'][_0xa7ce23(0x253)]}}),jsxRuntime['jsxs'](_0xa7ce23(0x2a8),{'className':_0xa7ce23(0x28a),'children':[jsxRuntime[_0xa7ce23(0x1f2)](_0xa7ce23(0x2a8),{'className':'logo-title','style':{'color':_0x21282f[_0xa7ce23(0x275)]['fontColor']},'children':_0x4e68e7[_0xa7ce23(0x28e)]}),_0x27bfbd['platforms'][_0xa7ce23(0x295)]>0x1?jsxRuntime[_0xa7ce23(0x1f2)](antd[_0xa7ce23(0x203)],{'menu':((()=>{const _0x561993=_0xa7ce23;let _0x3c5230=[];return _0x27bfbd['platforms'][_0x561993(0x2a6)](_0x5b4314=>{const _0x59384d=_0x561993;_0x5b4314['userPlatformName']!==_0x4e68e7[_0x59384d(0x280)]&&_0x3c5230[_0x59384d(0x2c3)]({'key':_0x5b4314[_0x59384d(0x2da)],'label':_0x5b4314[_0x59384d(0x280)],'onClick':()=>_0x58a5fd(_0x5b4314)});}),{'items':_0x3c5230};})()),'children':jsxRuntime['jsx'](_0xa7ce23(0x2a8),{'className':_0xa7ce23(0x21b),'style':{'cursor':'pointer'},'children':jsxRuntime[_0xa7ce23(0x2cd)](antd[_0xa7ce23(0x214)],{'children':[jsxRuntime['jsx']('span',{'style':{'color':_0x21282f[_0xa7ce23(0x275)][_0xa7ce23(0x1eb)]},'children':_0x4e68e7['userPlatformName']}),jsxRuntime[_0xa7ce23(0x1f2)]('span',{'style':{'color':_0x21282f[_0xa7ce23(0x275)]['fontColor']},'children':jsxRuntime[_0xa7ce23(0x1f2)](icons[_0xa7ce23(0x268)],{})})]})})}):jsxRuntime['jsx'](_0xa7ce23(0x2a8),{'className':_0xa7ce23(0x21b),'style':{'color':_0x21282f[_0xa7ce23(0x275)][_0xa7ce23(0x1eb)]},'children':_0x4e68e7['userPlatformName']})]})]});}function AccountComponent(_0x217de2){const _0x2c3ea8=a2_0x464d64;let {style:_0x334353}=_0x217de2,_0x5c7527=getLoginAccount(_0x217de2);const _0x5abeb3=presenter_presenter[_0x2c3ea8(0x200)](),_0x4f6723=react['useCallback'](()=>{const _0x126e54=_0x2c3ea8;threelsWorkbenchComponent[_0x126e54(0x242)]['confirm']('确定要退出登录吗?',()=>{const _0x5861ec=_0x126e54;_0x5abeb3[_0x5861ec(0x201)]({},{},()=>{const _0x49a5f8=_0x5861ec;window[_0x49a5f8(0x2c1)][_0x49a5f8(0x28b)]=window['_ctx']+'/login';});});},[]),_0x5f17b3=react['useCallback'](()=>{const _0x577b48=_0x2c3ea8;let _0x21a51f=threelsWorkbenchComponent['Modal'][_0x577b48(0x2ab)](jsxRuntime[_0x577b48(0x1f2)](AccountPwdForm,{'onCancel':()=>{const _0x444d2e=_0x577b48;_0x21a51f()[_0x444d2e(0x2d0)]();},'onSuccess':()=>{const _0x3f0f08=_0x577b48;_0x21a51f()[_0x3f0f08(0x2d0)]();}}),{'title':_0x577b48(0x1ed)});},[]);return jsxRuntime[_0x2c3ea8(0x1f2)](antd['Dropdown'],{'menu':{'items':[{'key':_0x2c3ea8(0x2bd),'icon':jsxRuntime['jsx'](icons[_0x2c3ea8(0x281)],{}),'label':_0x2c3ea8(0x291),'onClick':()=>{const _0x517860=_0x2c3ea8;AccountDetail[_0x517860(0x2d2)]();}},{'key':'settings','icon':jsxRuntime[_0x2c3ea8(0x1f2)](icons[_0x2c3ea8(0x218)],{}),'label':_0x2c3ea8(0x1ed),'onClick':_0x5f17b3},{'type':_0x2c3ea8(0x2ad)},{'key':_0x2c3ea8(0x296),'icon':jsxRuntime[_0x2c3ea8(0x1f2)](icons[_0x2c3ea8(0x235)],{}),'label':_0x2c3ea8(0x208),'onClick':_0x4f6723}]},'children':jsxRuntime[_0x2c3ea8(0x2cd)](antd['Space'],{'style':{'cursor':_0x2c3ea8(0x29b)},'children':[jsxRuntime[_0x2c3ea8(0x1f2)](antd['Avatar'],{'size':0x20,'icon':jsxRuntime[_0x2c3ea8(0x1f2)](icons[_0x2c3ea8(0x281)],{'style':{'color':_0x334353[_0x2c3ea8(0x275)][_0x2c3ea8(0x224)][_0x2c3ea8(0x1eb)]}}),'style':{'backgroundColor':_0x334353['header'][_0x2c3ea8(0x224)][_0x2c3ea8(0x273)]}}),jsxRuntime[_0x2c3ea8(0x1f2)]('span',{'style':{'color':_0x334353[_0x2c3ea8(0x275)]['fontColor']},'children':_0x5c7527['name']})]})});}function a2_0x33a1(_0x21ba53,_0x38f25b){const _0x454764=a2_0x4547();return a2_0x33a1=function(_0x33a1b9,_0xaaa0a1){_0x33a1b9=_0x33a1b9-0x1e8;let _0x5562b7=_0x454764[_0x33a1b9];return _0x5562b7;},a2_0x33a1(_0x21ba53,_0x38f25b);}function TopMenu(_0x5269e5){const _0x526bce=a2_0x464d64;let {menus:_0x16ddf7,curMenu:_0x588e17,style:_0x548d6b}=_0x5269e5,[_0x1b221e,_0x24db31]=react[_0x526bce(0x278)](null),_0x317568=react['useRef'](_0x588e17);const _0x54e77c=react[_0x526bce(0x271)](({item:_0x196e10,domEvent:_0x45919f})=>{const _0x3d2485=_0x526bce;_0x45919f[_0x3d2485(0x234)]();let {data:_0x19b156,children:_0x50c163}=_0x196e10['props'][_0x3d2485(0x247)];_0x50c163&&_0x50c163[_0x3d2485(0x295)]>0x0&&(_0x19b156=findDefaultMenu(_0x50c163)),_0x5269e5[_0x3d2485(0x21f)](_0x19b156);},[]);if(!_0x588e17&&!_0x317568[_0x526bce(0x1ef)]||!_0x16ddf7||_0x16ddf7['length']===0x0)return null;let _0x3bb46d=null,_0x4e5022=_0x16ddf7[_0x526bce(0x2ae)](_0x4a2b53=>{const _0x269d5f=_0x526bce;let {menuId:_0x5ae99c}=_0x588e17||_0x317568[_0x269d5f(0x1ef)];if(_0x5ae99c===_0x4a2b53[_0x269d5f(0x231)])_0x3bb46d=_0x4a2b53[_0x269d5f(0x231)];else curMenuInMenus({'curMenu':_0x588e17||_0x317568['current'],'menus':_0x4a2b53[_0x269d5f(0x262)]})&&(_0x3bb46d=_0x4a2b53[_0x269d5f(0x231)]);return{'key':_0x4a2b53['key'],'label':jsxRuntime[_0x269d5f(0x1f2)](_0x269d5f(0x24c),{'style':{'fontSize':_0x548d6b[_0x269d5f(0x275)][_0x269d5f(0x26b)][_0x269d5f(0x20c)]},'children':_0x4a2b53[_0x269d5f(0x245)]}),'icon':_0x4a2b53[_0x269d5f(0x29a)]?jsxRuntime[_0x269d5f(0x1f2)](threelsWorkbenchComponent[_0x269d5f(0x274)],{'id':_0x4a2b53['icon'],'fontSize':_0x548d6b['header']['menu']['fontSize']}):null,'item':_0x4a2b53};});return _0x3bb46d!==_0x1b221e&&_0x24db31(_0x3bb46d),_0x588e17&&(_0x317568[_0x526bce(0x1ef)]=_0x588e17),jsxRuntime[_0x526bce(0x1f2)](_0x526bce(0x2a8),{'className':_0x526bce(0x2a7),'children':jsxRuntime['jsx'](_0x526bce(0x2a8),{'className':_0x526bce(0x1ec),'children':jsxRuntime[_0x526bce(0x1f2)](antd[_0x526bce(0x209)],{'theme':{'components':{'Menu':{'activeBarHeight':_0x548d6b['header'][_0x526bce(0x26b)][_0x526bce(0x23b)],'itemBg':_0x548d6b[_0x526bce(0x275)][_0x526bce(0x273)],'darkItemBg':_0x548d6b[_0x526bce(0x275)]['backgroundColor'],'itemColor':_0x548d6b[_0x526bce(0x275)][_0x526bce(0x1eb)],'darkItemColor':_0x548d6b[_0x526bce(0x275)][_0x526bce(0x1eb)],'horizontalItemHoverBg':_0x548d6b[_0x526bce(0x275)][_0x526bce(0x26b)]['active']['backgroundColor'],'horizontalItemHoverColor':_0x548d6b['header'][_0x526bce(0x26b)][_0x526bce(0x289)][_0x526bce(0x1eb)],'horizontalItemSelectedBg':_0x548d6b['header']['menu']['active'][_0x526bce(0x273)],'horizontalItemSelectedColor':_0x548d6b[_0x526bce(0x275)]['menu']['active'][_0x526bce(0x1eb)],'darkItemSelectedBg':_0x548d6b[_0x526bce(0x275)][_0x526bce(0x26b)][_0x526bce(0x289)][_0x526bce(0x273)],'itemHoverColor':_0x548d6b[_0x526bce(0x275)][_0x526bce(0x26b)]['active'][_0x526bce(0x1eb)]}}},'children':jsxRuntime[_0x526bce(0x1f2)](antd[_0x526bce(0x26f)],{'theme':_0x526bce(0x26c),'mode':_0x526bce(0x25b),'items':_0x4e5022,'selectedKeys':_0x1b221e?[_0x1b221e]:null,'onSelect':_0x54e77c})})})});}function LeftMenu(_0x5e7aa8){const _0x57a34f=a2_0x464d64;let {menus:_0x3a43d8,topMenu:_0xb466f4,curMenu:_0x4ddddc,style:_0x126a00}=_0x5e7aa8,_0x1711e9=react[_0x57a34f(0x27f)](_0x4ddddc),_0x300325=react[_0x57a34f(0x27f)](null),_0x44dece=findLeftMenu({'menus':_0x3a43d8,'curMenu':_0x4ddddc||_0x1711e9[_0x57a34f(0x1ef)],'topMenu':_0xb466f4}),[_0x6ee833,_0x4ead4a]=react['useState']([]);const _0x480ec9=react['useCallback'](({item:_0x42cd56,domEvent:_0x13474f})=>{const _0x18ae23=_0x57a34f;_0x13474f[_0x18ae23(0x234)]();let {data:_0x2dd104}=_0x42cd56[_0x18ae23(0x279)];_0x300325[_0x18ae23(0x1ef)]=_0x2dd104[_0x18ae23(0x23d)],_0x5e7aa8[_0x18ae23(0x21f)](_0x2dd104);},[]);if(!_0x4ddddc&&!_0x1711e9['current']||!_0x44dece||_0x44dece[_0x57a34f(0x295)]===0x0)return null;if(_0x4ddddc&&(!_0x300325[_0x57a34f(0x1ef)]||_0x300325[_0x57a34f(0x1ef)]!==_0x4ddddc[_0x57a34f(0x23d)])){let _0xbe546={};_0x44dece['forEach'](_0x5144cc=>{const _0x5f2928=_0x57a34f;_0xbe546[_0x5144cc[_0x5f2928(0x231)]]=!![];}),_0x6ee833=findOpenMenuKeys(_0x4ddddc,_0xbe546),_0x6ee833[_0x57a34f(0x295)]>0x0&&_0x4ead4a(_0x6ee833);}_0x4ddddc&&(_0x1711e9['current']=_0x4ddddc,_0x300325[_0x57a34f(0x1ef)]=_0x4ddddc[_0x57a34f(0x23d)]);const _0x5e20f6=_0x12734e=>{const _0x4fa8a6=_0x57a34f;if(!_0x12734e||_0x12734e[_0x4fa8a6(0x295)]===0x0)return _0x12734e;let _0x6f9af3=[];for(let _0x1b2b9c=0x0;_0x1b2b9c<_0x12734e[_0x4fa8a6(0x295)];_0x1b2b9c++){let {key:_0x39b0a6,label:_0x14e028,icon:_0x163464,children:_0x27248d,data:_0x16247b}=_0x12734e[_0x1b2b9c];_0x27248d&&_0x27248d['length']>0x0&&(_0x27248d=_0x5e20f6(_0x27248d)),_0x6f9af3['push']({'key':_0x39b0a6,'label':jsxRuntime[_0x4fa8a6(0x1f2)](_0x4fa8a6(0x24c),{'style':{'fontSize':_0x126a00[_0x4fa8a6(0x1e9)][_0x4fa8a6(0x26b)][_0x4fa8a6(0x20c)]},'children':_0x14e028}),'icon':_0x163464?jsxRuntime[_0x4fa8a6(0x1f2)](threelsWorkbenchComponent[_0x4fa8a6(0x274)],{'id':_0x163464,'fontSize':_0x126a00[_0x4fa8a6(0x1e9)]['menu']['fontSize']}):null,'children':_0x27248d,'data':_0x16247b});}return _0x6f9af3;};return jsxRuntime[_0x57a34f(0x1f2)](antd[_0x57a34f(0x27b)][_0x57a34f(0x23e)],{'width':_0x126a00[_0x57a34f(0x1e9)][_0x57a34f(0x253)],'collapsible':!![],'children':jsxRuntime[_0x57a34f(0x1f2)](_0x57a34f(0x2a8),{'className':_0x57a34f(0x22c),'style':{'background':_0x126a00['left']['backgroundColor'],'borderRight':_0x126a00['left'][_0x57a34f(0x2d3)]['right'][_0x57a34f(0x253)]+_0x57a34f(0x2b9)+_0x126a00[_0x57a34f(0x1e9)][_0x57a34f(0x2d3)][_0x57a34f(0x20b)][_0x57a34f(0x2ce)]},'children':jsxRuntime['jsx'](antd[_0x57a34f(0x209)],{'theme':{'components':{'Menu':{'itemBg':_0x126a00[_0x57a34f(0x1e9)]['backgroundColor'],'itemBorderRadius':0x0,'subMenuItemBorderRadius':0x0,'itemColor':_0x126a00['left'][_0x57a34f(0x1eb)],'groupTitleColor':_0x126a00[_0x57a34f(0x1e9)][_0x57a34f(0x1eb)],'groupTitleFontSize':_0x126a00['left'][_0x57a34f(0x20c)],'itemActiveBg':_0x126a00[_0x57a34f(0x1e9)][_0x57a34f(0x26b)][_0x57a34f(0x289)][_0x57a34f(0x273)],'itemHoverColor':_0x126a00[_0x57a34f(0x1e9)][_0x57a34f(0x26b)][_0x57a34f(0x289)][_0x57a34f(0x1eb)],'itemHoverBg':_0x126a00[_0x57a34f(0x1e9)]['menu'][_0x57a34f(0x289)][_0x57a34f(0x273)],'itemSelectedBg':_0x126a00[_0x57a34f(0x1e9)][_0x57a34f(0x26b)][_0x57a34f(0x289)][_0x57a34f(0x273)],'itemSelectedColor':_0x126a00[_0x57a34f(0x1e9)][_0x57a34f(0x26b)][_0x57a34f(0x289)][_0x57a34f(0x1eb)],'subMenuItemSelectedColor':_0x126a00[_0x57a34f(0x1e9)][_0x57a34f(0x1eb)],'itemMarginInline':0x0,'popupBg':_0x126a00['left']['backgroundColor'],'itemMarginBlock':0x0,'itemHeight':_0x126a00[_0x57a34f(0x1e9)][_0x57a34f(0x26b)]['itemHeight']}}},'children':jsxRuntime[_0x57a34f(0x1f2)](antd['Menu'],{'theme':_0x57a34f(0x26c),'mode':'inline','openKeys':_0x6ee833,'selectedKeys':_0x4ddddc?[_0x4ddddc[_0x57a34f(0x23d)]]:[],'items':_0x5e20f6(_0x44dece),'onOpenChange':_0x430794=>{_0x4ead4a(_0x430794);},'onSelect':_0x480ec9})})})});}class MenuContent extends threelsWorkbenchComponent['BaseComponent']{constructor(_0x510a7e){const _0x4843c1=a2_0x464d64;super(_0x510a7e),this[_0x4843c1(0x220)](_0x4843c1(0x260),_0x2a46e3=>{const _0x4b9565=_0x4843c1;this[_0x4b9565(0x2bc)](_0x2a46e3);}),this[_0x4843c1(0x1f8)]={};}[a2_0x464d64(0x24d)](_0x5286d8){const _0xd1e54e=a2_0x464d64;return{'key':_0x5286d8[_0xd1e54e(0x23d)],'label':_0x5286d8[_0xd1e54e(0x22e)],'icon':_0x5286d8['iconCls']?jsxRuntime[_0xd1e54e(0x1f2)](threelsWorkbenchComponent[_0xd1e54e(0x274)],{'id':_0x5286d8[_0xd1e54e(0x228)],'fontSize':0xf,'style':{'verticalAlign':-0x3}}):null,'children':_0x5286d8[_0xd1e54e(0x23d)]+':'+_0x5286d8[_0xd1e54e(0x22e)],'data':_0x5286d8};}['_createTabs'](_0x2b8527,_0x276d1c){const _0x5657d2=a2_0x464d64;let _0x14afdf=this[_0x5657d2(0x25c)](_0x276d1c);return jsxRuntime['jsx'](threelsWorkbenchComponent['Tabs'],{'ref':_0x2b8527,'activeKey':_0x276d1c[_0x5657d2(0x23d)],'items':_0x14afdf,'animated':!![],'_drag':!![],'_showCloseBtn':!![],'type':_0x5657d2(0x285),'hideAdd':!![],'size':_0x5657d2(0x1fa),'_onItemsChange':({items:_0x293870})=>{const _0x20b1e3=_0x5657d2;this[_0x20b1e3(0x2a1)](_0x293870,this[_0x20b1e3(0x279)][_0x20b1e3(0x260)]);},'onChange':({item:_0x1dfe52})=>{const _0x437dd5=_0x5657d2;this[_0x437dd5(0x279)][_0x437dd5(0x24b)]&&this['props'][_0x437dd5(0x24b)]((_0x1dfe52||{})['data']);}});}[a2_0x464d64(0x29f)](_0x1061bf){const _0x247cce=a2_0x464d64;let _0x6abf28=getLoginAccount(this[_0x247cce(0x279)]),_0x4183f8=getCurPlatform(this['props']),{topMenu:_0x53a2a7}=this['props'],_0x525452;if(_0x53a2a7){let _0xb94f4=findRootMenu(_0x1061bf);return _0x525452=_0xb94f4['menuId'],_0x247cce(0x2a9)+WorkBench[_0x247cce(0x27d)](_0x247cce(0x207)+(_0x4183f8[_0x247cce(0x2da)]||_0x4183f8[_0x247cce(0x216)])+'-'+_0x6abf28[_0x247cce(0x1fc)]+'-'+_0x525452);}else return _0x247cce(0x2a9)+WorkBench[_0x247cce(0x27d)](_0x247cce(0x207)+(_0x4183f8[_0x247cce(0x2da)]||_0x4183f8[_0x247cce(0x216)])+'-'+_0x6abf28[_0x247cce(0x1fc)]);}[a2_0x464d64(0x25c)](_0x598ee2){const _0x466c81=a2_0x464d64;let _0x581071=[],{tabCache:_0x26f850,menusMap:_0x6b0d86}=this[_0x466c81(0x279)];if(!_0x26f850)return _0x581071['push'](this[_0x466c81(0x24d)](_0x598ee2)),_0x581071;let _0x3c3893=WorkBench[_0x466c81(0x29c)](this[_0x466c81(0x29f)](_0x598ee2)),_0xbd2612=_0x3c3893?_0x3c3893[_0x466c81(0x256)](','):[],_0x500c48=![];if(_0xbd2612[_0x466c81(0x295)]>0x0)for(let _0x5b095e=0x0;_0x5b095e<_0xbd2612['length'];_0x5b095e++){let _0x46e176=_0x6b0d86[_0xbd2612[_0x5b095e]];if(!_0x46e176)continue;_0x46e176=_0x46e176[_0x466c81(0x23f)],_0x581071['push'](this[_0x466c81(0x24d)](_0x46e176)),_0x46e176[_0x466c81(0x23d)]===_0x598ee2[_0x466c81(0x23d)]&&(_0x500c48=!![]);}return!_0x500c48&&_0x581071[_0x466c81(0x2c3)](this[_0x466c81(0x24d)](_0x598ee2)),_0x581071;}['_saveCacheTabsItems'](_0x1d8ad7,_0x41c504){const _0x5da842=a2_0x464d64;if(!_0x41c504)return;let {tabCache:_0x561c7f}=this[_0x5da842(0x279)];if(!_0x561c7f)return;if(_0x1d8ad7&&_0x1d8ad7[_0x5da842(0x295)]>0x0){let _0x5ecc74=[];_0x1d8ad7['forEach'](_0x2f30de=>{_0x5ecc74['push'](_0x2f30de['key']);}),WorkBench[_0x5da842(0x2ba)](this[_0x5da842(0x29f)](_0x41c504),_0x5ecc74[_0x5da842(0x266)](','));}else WorkBench[_0x5da842(0x298)](this[_0x5da842(0x29f)](_0x41c504));}['_menuChange'](_0x3a3b9c){const _0x2ed93a=a2_0x464d64;let {menus:_0x3c9dc4,topMenu:_0x15e7db,showTab:_0x1e6aa5}=this[_0x2ed93a(0x279)];if(!_0x15e7db&&_0x1e6aa5){this[_0x2ed93a(0x28d)]?this[_0x2ed93a(0x243)](this['tabs'],_0x3a3b9c):this[_0x2ed93a(0x27a)][_0x2ed93a(0x261)]({'key':_0x2ed93a(0x222),'children':this[_0x2ed93a(0x25f)](_0x4a6fd2=>{const _0xe07428=_0x2ed93a;this[_0xe07428(0x28d)]=_0x4a6fd2;},_0x3a3b9c)});return;}if(_0x15e7db){if(_0x1e6aa5){let _0x1652a9=findLeftMenu({'menus':_0x3c9dc4,'curMenu':_0x3a3b9c,'topMenu':_0x15e7db});if(_0x1652a9&&_0x1652a9['length']>0x0){let _0x586762=findRootMenu(_0x3a3b9c);if(this[_0x2ed93a(0x27a)][_0x2ed93a(0x21a)](_0x586762[_0x2ed93a(0x23d)])){this[_0x2ed93a(0x27a)][_0x2ed93a(0x2c8)](_0x586762['menuId'],{'triggerOnChange':![]});let _0x18e20a=this[_0x2ed93a(0x1f8)][_0x586762[_0x2ed93a(0x23d)]];this[_0x2ed93a(0x243)](_0x18e20a,_0x3a3b9c);}else this[_0x2ed93a(0x27a)][_0x2ed93a(0x23a)]({'key':_0x586762[_0x2ed93a(0x23d)],'children':this[_0x2ed93a(0x25f)](_0x723de2=>{const _0x1ce836=_0x2ed93a;this[_0x1ce836(0x1f8)][_0x586762[_0x1ce836(0x23d)]]=_0x723de2;},_0x3a3b9c)},{'activeKey':_0x586762[_0x2ed93a(0x23d)],'triggerOnChange':![]});}else this['_cachePanelShowMenu'](_0x3a3b9c);}else this[_0x2ed93a(0x2aa)](_0x3a3b9c);}else this['_cachePanelShowMenu'](_0x3a3b9c);}[a2_0x464d64(0x2aa)](_0x375210){const _0x4e3067=a2_0x464d64;if(!_0x375210){this[_0x4e3067(0x27a)]['clearItems']();return;}let {menuId:_0x25ecdc,name:_0x3cc2b5}=_0x375210;if(this[_0x4e3067(0x279)][_0x4e3067(0x2d9)]){this[_0x4e3067(0x27a)]['exitItem'](_0x25ecdc)?this[_0x4e3067(0x27a)]['setActiveKey'](_0x25ecdc,{'triggerOnChange':![]}):this['cachePanel'][_0x4e3067(0x23a)]({'key':_0x25ecdc,'children':_0x25ecdc+':'+_0x3cc2b5},{'activeKey':_0x25ecdc,'triggerOnChange':![]});return;}this['cachePanel'][_0x4e3067(0x261)]({'key':_0x25ecdc,'children':_0x25ecdc+':'+_0x3cc2b5});}['_tabsShowMenu'](_0x4bd636,_0xe57f12){const _0x34b811=a2_0x464d64;if(!_0x4bd636)return;if(!_0xe57f12){_0x4bd636[_0x34b811(0x230)]({'triggerOnChange':![]});return;}let {menuId:_0x34f4f2}=_0xe57f12;_0x4bd636[_0x34b811(0x21a)](_0x34f4f2)?_0x4bd636[_0x34b811(0x2c8)](_0x34f4f2,{'triggerOnChange':![]}):_0x4bd636['addItems'](this[_0x34b811(0x24d)](_0xe57f12),{'activeKey':_0x34f4f2,'triggerOnChange':![]});}[a2_0x464d64(0x2ac)](){const _0x554cb2=a2_0x464d64;let {showNav:_0x59ecfd,curMenu:_0x3dfafd}=this['props'];return jsxRuntime['jsxs'](jsxRuntime[_0x554cb2(0x299)],{'children':[_0x59ecfd&&jsxRuntime['jsx'](antd['Breadcrumb'],{'style':{'marginBottom':0xf},'items':findBreadcrumbItems(_0x3dfafd)}),jsxRuntime[_0x554cb2(0x1f2)](threelsWorkbenchComponent['CachePanel'],{'style':{'display':''+(_0x3dfafd?'block':_0x554cb2(0x1f4))},'ref':_0x16e6bd=>this[_0x554cb2(0x27a)]=_0x16e6bd})]});}}function wrapperMenus(_0x39549d){const _0x3f20a8=a2_0x464d64;if(!_0x39549d||_0x39549d['length']===0x0)return{'menus':[],'menusMap':{}};let _0x35a4b7={},_0x8e271={};_0x39549d[_0x3f20a8(0x2a6)](_0x2ab0b4=>{const _0x341a4c=_0x3f20a8;let _0x159235={'key':_0x2ab0b4[_0x341a4c(0x23d)],'label':_0x2ab0b4[_0x341a4c(0x22e)],'icon':_0x2ab0b4[_0x341a4c(0x228)],'data':_0x2ab0b4};_0x35a4b7[_0x2ab0b4['menuId']]=_0x159235,_0x8e271[_0x2ab0b4[_0x341a4c(0x23d)]]=_0x159235;}),_0x39549d['forEach'](_0x57bd71=>{const _0x402ada=_0x3f20a8;let {menuId:_0x377569,parentMenuId:_0x1f7677}=_0x57bd71,_0x4542fc=_0x35a4b7[_0x1f7677];_0x4542fc&&(!_0x4542fc[_0x402ada(0x262)]&&(_0x4542fc['children']=[]),_0x57bd71['parentMenu']=_0x4542fc[_0x402ada(0x23f)],_0x4542fc[_0x402ada(0x262)]['push'](_0x35a4b7[_0x377569]),delete _0x8e271[_0x377569]);});let _0x2ce26c=[];Object[_0x3f20a8(0x237)](_0x8e271)[_0x3f20a8(0x2a6)](_0x3f1436=>_0x2ce26c[_0x3f20a8(0x2c3)](_0x8e271[_0x3f1436]));if(_0x2ce26c[_0x3f20a8(0x295)]===0x0)return _0x2ce26c;return _0x2ce26c[_0x3f20a8(0x2d4)]((_0x350652,_0x37234a)=>{const _0x36af6e=_0x3f20a8;let _0x236f45=_0x350652[_0x36af6e(0x23f)]['sort'],_0x53c05d=_0x37234a[_0x36af6e(0x23f)][_0x36af6e(0x2d4)];return _0x236f45-_0x53c05d;}),{'menus':_0x2ce26c,'menusMap':_0x35a4b7};}function findCurMenu(_0x52b47b,_0x31e775){const _0x2127f6=a2_0x464d64;if('/'===_0x31e775||_0x31e775==='')return null;if(!_0x52b47b||_0x52b47b['length']===0x0)return null;let _0x4952c3=_0x31e775[_0x2127f6(0x256)]('/')[_0x2127f6(0x266)]('/');for(let _0x4d9780=0x0;_0x4d9780<_0x52b47b[_0x2127f6(0x295)];_0x4d9780++){let {data:_0x12430c,children:_0x357b56}=_0x52b47b[_0x4d9780],{urlPath:_0x4b6553}=_0x12430c,_0x4099f6=_0x4b6553[_0x2127f6(0x256)]('/')[_0x2127f6(0x266)]('/');if(_0x4952c3===_0x4099f6){if(!_0x357b56||_0x357b56[_0x2127f6(0x295)]===0x0)return _0x12430c;return null;}if(_0x357b56&&_0x357b56[_0x2127f6(0x295)]>0x0){let _0x548cdd=findCurMenu(_0x357b56,_0x31e775);if(_0x548cdd)return _0x548cdd;}}return null;}function findDefaultMenu(_0x57e220){const _0x142baa=a2_0x464d64;if(!_0x57e220||_0x57e220[_0x142baa(0x295)]===0x0)return null;let {data:_0x25b831,children:_0x5d0fc2}=_0x57e220[0x0];if(!_0x5d0fc2||_0x5d0fc2[_0x142baa(0x295)]===0x0)return _0x25b831;return findDefaultMenu(_0x5d0fc2);}function findLeftMenu({menus:_0x447190,topMenu:_0x152793,curMenu:_0x479dcc}={}){const _0x4ffc6b=a2_0x464d64;if(!_0x479dcc||!_0x447190||_0x447190[_0x4ffc6b(0x295)]===0x0)return null;if(!_0x152793)return _0x447190;for(let _0x4e31b5=0x0;_0x4e31b5<_0x447190[_0x4ffc6b(0x295)];_0x4e31b5++){let {children:_0x2c39f4}=_0x447190[_0x4e31b5];if(curMenuInMenus({'curMenu':_0x479dcc,'menus':_0x2c39f4}))return _0x2c39f4;}return null;}function curMenuInMenus({curMenu:_0x40be98,menus:_0x36552c}={}){const _0x17c6f5=a2_0x464d64;if(!_0x40be98||!_0x36552c||_0x36552c[_0x17c6f5(0x295)]===0x0)return![];for(let _0x5965e5=0x0;_0x5965e5<_0x36552c['length'];_0x5965e5++){let {data:_0x1d1bbb,children:_0x7a0ddf}=_0x36552c[_0x5965e5];if(_0x1d1bbb['menuId']===_0x40be98[_0x17c6f5(0x23d)])return!![];if(_0x7a0ddf&&_0x7a0ddf[_0x17c6f5(0x295)]>0x0){if(curMenuInMenus({'curMenu':_0x40be98,'menus':_0x7a0ddf}))return!![];}}return![];}function findOpenMenuKeys(_0x12a1a5,_0x562aff){const _0x1a5ee9=a2_0x464d64;let _0xe922f2=[],{menuId:_0x29e67a,parentMenu:_0x5104f2}=_0x12a1a5;if(_0x562aff[_0x29e67a])return _0xe922f2;if(!_0x5104f2)return _0xe922f2;return _0xe922f2[_0x1a5ee9(0x2c3)](_0x5104f2['menuId']),_0xe922f2[_0x1a5ee9(0x2c3)](...findOpenMenuKeys(_0x5104f2,_0x562aff)),_0xe922f2;}function findRootMenu(_0x7a4f1d){let {parentMenu:_0x278c6d}=_0x7a4f1d;if(!_0x278c6d)return _0x7a4f1d;return findRootMenu(_0x278c6d);}function findBreadcrumbItems(_0x4f7906){const _0x4b1062=a2_0x464d64;let _0x1777d0=[];if(!_0x4f7906)return _0x1777d0;let {iconCls:_0x155598,name:_0xab232a}=_0x4f7906;_0x155598?_0x1777d0[_0x4b1062(0x2c3)]({'title':jsxRuntime[_0x4b1062(0x2cd)](_0x4b1062(0x24c),{'children':[jsxRuntime[_0x4b1062(0x1f2)](threelsWorkbenchComponent['SvgIcon'],{'id':_0x155598,'fontSize':0xe,'style':{'verticalAlign':-0x2,'marginRight':0x5}}),_0xab232a]})}):_0x1777d0[_0x4b1062(0x2c3)]({'title':_0xab232a});let {parentMenu:_0x89a787}=_0x4f7906;if(!_0x89a787)return _0x1777d0;return _0x1777d0[_0x4b1062(0x2c3)](...findBreadcrumbItems(_0x89a787)),_0x1777d0[_0x4b1062(0x2cf)]();}exports[a2_0x464d64(0x221)]=IndexPage;
@@ -1 +1 @@
1
- 'use strict';const a3_0x246c5d=a3_0x401b;(function(_0x5d8ca4,_0x1d2349){const _0x2493d2=a3_0x401b,_0x26d81e=_0x5d8ca4();while(!![]){try{const _0x337d76=parseInt(_0x2493d2(0x1a6))/0x1*(parseInt(_0x2493d2(0x197))/0x2)+parseInt(_0x2493d2(0x1a5))/0x3*(parseInt(_0x2493d2(0x1a7))/0x4)+parseInt(_0x2493d2(0x19a))/0x5*(parseInt(_0x2493d2(0x19c))/0x6)+parseInt(_0x2493d2(0x199))/0x7*(-parseInt(_0x2493d2(0x198))/0x8)+-parseInt(_0x2493d2(0x1a3))/0x9+parseInt(_0x2493d2(0x1a2))/0xa+-parseInt(_0x2493d2(0x19d))/0xb*(-parseInt(_0x2493d2(0x19f))/0xc);if(_0x337d76===_0x1d2349)break;else _0x26d81e['push'](_0x26d81e['shift']());}catch(_0x584f51){_0x26d81e['push'](_0x26d81e['shift']());}}}(a3_0x450a,0x9ea5c));function a3_0x450a(){const _0xbcdc3f=['2291037snvPIc','2500ZdrLYu','LoginPage','3012AMOzHl','5049oXdJxY','toStringTag','6984JowJnp','./index/IndexPage.js','./login/LoginPage.js','2336090LinSND','7961328rtsBjV','IndexPage','1212FUFJmV','1kqPROC','9580SLmWUq','939334jcoUzA','16UeOjig'];a3_0x450a=function(){return _0xbcdc3f;};return a3_0x450a();}function a3_0x401b(_0x1498f0,_0x42e029){const _0x450ae8=a3_0x450a();return a3_0x401b=function(_0x401b1c,_0x1d0bb3){_0x401b1c=_0x401b1c-0x197;let _0x64cac4=_0x450ae8[_0x401b1c];return _0x64cac4;},a3_0x401b(_0x1498f0,_0x42e029);}Object['defineProperty'](exports,Symbol[a3_0x246c5d(0x19e)],{'value':'Module'});const page_login_LoginPage=require(a3_0x246c5d(0x1a1)),page_index_IndexPage=require(a3_0x246c5d(0x1a0));exports[a3_0x246c5d(0x19b)]=page_login_LoginPage[a3_0x246c5d(0x19b)],exports[a3_0x246c5d(0x1a4)]=page_index_IndexPage[a3_0x246c5d(0x1a4)];
1
+ 'use strict';const a3_0x50ecc0=a3_0x7382;(function(_0x5d4a82,_0x293754){const _0x291df1=a3_0x7382,_0x126b01=_0x5d4a82();while(!![]){try{const _0x45b460=-parseInt(_0x291df1(0xe4))/0x1*(-parseInt(_0x291df1(0xe1))/0x2)+-parseInt(_0x291df1(0xe3))/0x3*(parseInt(_0x291df1(0xeb))/0x4)+parseInt(_0x291df1(0xe5))/0x5+-parseInt(_0x291df1(0xdf))/0x6*(-parseInt(_0x291df1(0xe0))/0x7)+-parseInt(_0x291df1(0xe2))/0x8*(parseInt(_0x291df1(0xe6))/0x9)+parseInt(_0x291df1(0xe9))/0xa*(parseInt(_0x291df1(0xe8))/0xb)+-parseInt(_0x291df1(0xdc))/0xc;if(_0x45b460===_0x293754)break;else _0x126b01['push'](_0x126b01['shift']());}catch(_0x2e3308){_0x126b01['push'](_0x126b01['shift']());}}}(a3_0x5a30,0x60c65));function a3_0x7382(_0x47e27d,_0x31b347){const _0x5a30ac=a3_0x5a30();return a3_0x7382=function(_0x73825e,_0x3e2aa6){_0x73825e=_0x73825e-0xdb;let _0x370f75=_0x5a30ac[_0x73825e];return _0x370f75;},a3_0x7382(_0x47e27d,_0x31b347);}function a3_0x5a30(){const _0x51d7a0=['5189200RSvHip','16431MShcvF','744jqeDAQ','3857065WTQnPn','9dEJTLL','Module','11vCKKRq','4416730augMsD','defineProperty','176IrgJoH','LoginPage','5866944lskPPI','toStringTag','IndexPage','228954VPzdPz','77PiouIP','382wbiXoN'];a3_0x5a30=function(){return _0x51d7a0;};return a3_0x5a30();}Object[a3_0x50ecc0(0xea)](exports,Symbol[a3_0x50ecc0(0xdd)],{'value':a3_0x50ecc0(0xe7)});const page_login_LoginPage=require('./login/LoginPage.js'),page_index_IndexPage=require('./index/IndexPage.js');exports[a3_0x50ecc0(0xdb)]=page_login_LoginPage[a3_0x50ecc0(0xdb)],exports['IndexPage']=page_index_IndexPage[a3_0x50ecc0(0xde)];
@@ -1 +1 @@
1
- 'use strict';const a4_0x1940c9=a4_0x17fa;(function(_0x330434,_0x3b63ab){const _0x508e38=a4_0x17fa,_0x3a8f99=_0x330434();while(!![]){try{const _0x3ac17c=parseInt(_0x508e38(0x14b))/0x1*(parseInt(_0x508e38(0x185))/0x2)+-parseInt(_0x508e38(0x183))/0x3+-parseInt(_0x508e38(0x15d))/0x4*(-parseInt(_0x508e38(0x158))/0x5)+-parseInt(_0x508e38(0x15b))/0x6*(parseInt(_0x508e38(0x17c))/0x7)+-parseInt(_0x508e38(0x168))/0x8*(parseInt(_0x508e38(0x15c))/0x9)+-parseInt(_0x508e38(0x150))/0xa+parseInt(_0x508e38(0x165))/0xb;if(_0x3ac17c===_0x3b63ab)break;else _0x3a8f99['push'](_0x3a8f99['shift']());}catch(_0x211798){_0x3a8f99['push'](_0x3a8f99['shift']());}}}(a4_0x36a0,0xacbe0));function a4_0x17fa(_0x40ce8d,_0x1b9c15){const _0x36a019=a4_0x36a0();return a4_0x17fa=function(_0x17fa45,_0x46daf5){_0x17fa45=_0x17fa45-0x149;let _0x2b32a7=_0x36a019[_0x17fa45];return _0x2b32a7;},a4_0x17fa(_0x40ce8d,_0x1b9c15);}const jsxRuntime=require(a4_0x1940c9(0x171)),antd=require(a4_0x1940c9(0x172)),threelsWorkbenchComponent=require(a4_0x1940c9(0x16b)),icons=require(a4_0x1940c9(0x15e)),react=require(a4_0x1940c9(0x169)),presenter_presenter=require(a4_0x1940c9(0x16f));require(a4_0x1940c9(0x16c));function LoginPage(_0x40ba26){const _0x59b63a=a4_0x1940c9;let {platform:_0x293a85,platformName:_0x53d2f1}=_0x40ba26,[_0x5e46a9,_0x42caa8]=react['useState'](_0x53d2f1),{render:_0x28707b,show:_0x5f3ca9,close:_0x5a9898}=threelsWorkbenchComponent[_0x59b63a(0x159)][_0x59b63a(0x16e)](),_0x4218b2=presenter_presenter[_0x59b63a(0x179)]({'showDoingIndicator':_0x5f3ca9,'closeDoingIndicator':_0x5a9898});react['useEffect'](()=>{_0x4218b2['platform']({'platform':_0x293a85},{},_0x112593=>{const _0x2658d8=a4_0x17fa;_0x42caa8(_0x112593[_0x2658d8(0x149)]['name']);});},[]);let _0x2d88e1=react[_0x59b63a(0x182)](null);const _0x4651cb=react[_0x59b63a(0x167)](()=>{const _0x4f6fb3=_0x59b63a;_0x2d88e1[_0x4f6fb3(0x160)]['validateFields']()[_0x4f6fb3(0x14a)](_0xa29228=>{_0x4218b2['showDoingIndicator']('登录中...'),_0x4218b2['login']({..._0xa29228,'platform':_0x293a85},{},_0x5e880d=>{const _0x38701c=a4_0x17fa;let {backUrl:_0x1df555}=threelsWorkbenchComponent[_0x38701c(0x159)][_0x38701c(0x14c)]();if(_0x1df555)window['location']['href']=_0x1df555;else window['_ctx']?window[_0x38701c(0x17f)][_0x38701c(0x154)]=window['_ctx']:window[_0x38701c(0x17f)][_0x38701c(0x154)]='/';});});},[]);return jsxRuntime[_0x59b63a(0x155)]('div',{'className':_0x59b63a(0x15a),'children':[jsxRuntime[_0x59b63a(0x152)]('div',{'className':_0x59b63a(0x181),'children':jsxRuntime['jsx'](_0x59b63a(0x15f),{'className':_0x59b63a(0x178),'style':{'backgroundImage':_0x59b63a(0x174)+window[_0x59b63a(0x16d)]+'/_res/cover/'+_0x293a85+')'}})}),jsxRuntime['jsx'](_0x59b63a(0x15f),{'className':_0x59b63a(0x186),'children':jsxRuntime['jsxs'](_0x59b63a(0x15f),{'className':'login-box','children':[jsxRuntime[_0x59b63a(0x152)](_0x59b63a(0x15f),{'className':_0x59b63a(0x17b),'children':jsxRuntime[_0x59b63a(0x152)](antd[_0x59b63a(0x176)],{'src':window['_ctx']+_0x59b63a(0x184)+_0x293a85,'size':0x40})}),jsxRuntime['jsx'](_0x59b63a(0x15f),{'className':_0x59b63a(0x14e),'children':jsxRuntime[_0x59b63a(0x152)]('span',{'children':_0x5e46a9})}),_0x28707b(jsxRuntime['jsx'](_0x59b63a(0x15f),{'className':_0x59b63a(0x153),'children':jsxRuntime[_0x59b63a(0x155)](antd[_0x59b63a(0x16a)],{'ref':_0x2d88e1,'wrapperCol':{'span':0x18},'children':[jsxRuntime['jsx'](antd[_0x59b63a(0x16a)]['Item'],{'name':_0x59b63a(0x14d),'rules':[{'required':!![],'message':'请输入账号!'}],'children':jsxRuntime['jsx'](antd[_0x59b63a(0x151)],{'prefix':jsxRuntime['jsx'](icons[_0x59b63a(0x157)],{'style':{'color':_0x59b63a(0x17d)}}),'placeholder':'请输入账号','onKeyDown':_0x18e954=>{const _0x51775e=_0x59b63a;_0x18e954[_0x51775e(0x163)]===_0x51775e(0x14f)&&_0x4651cb();}})}),jsxRuntime[_0x59b63a(0x152)](antd[_0x59b63a(0x16a)][_0x59b63a(0x162)],{'name':_0x59b63a(0x180),'rules':[{'required':!![],'message':_0x59b63a(0x175)}],'children':jsxRuntime[_0x59b63a(0x152)](antd['Input'][_0x59b63a(0x170)],{'prefix':jsxRuntime[_0x59b63a(0x152)](icons['LockOutlined'],{'style':{'color':_0x59b63a(0x17d)}}),'placeholder':_0x59b63a(0x156),'onKeyDown':_0x223f5b=>{const _0x39251f=_0x59b63a;_0x223f5b[_0x39251f(0x163)]==='Enter'&&_0x4651cb();}})}),jsxRuntime[_0x59b63a(0x152)](antd[_0x59b63a(0x177)],{'children':jsxRuntime['jsx'](antd[_0x59b63a(0x17e)],{'span':0x18,'children':jsxRuntime['jsx'](antd[_0x59b63a(0x166)],{'type':_0x59b63a(0x161),'className':_0x59b63a(0x164),'size':_0x59b63a(0x173),'onClick':_0x4651cb,'children':'登录'})})})]})}))]})})]});}function a4_0x36a0(){const _0x47fe51=['login-info','data','then','22621VvAwVc','useUrlQuery','account','login-name','Enter','1677320nPBMBP','Input','jsx','login-form','href','jsxs','请输入密码','UserOutlined','5VlBeek','BaseFunction','workbench-login-container','348zjwYnY','108ahzMNE','1466172gkynSx','@ant-design/icons','div','current','primary','Item','key','login-btn','10294988pBYZHt','Button','useCallback','459472CbDVBs','react','Form','threels-workbench-component','threels-workbench-core','_ctx','useSpin','../../presenter/presenter.js','Password','react/jsx-runtime','antd','large','url(','请输入密码!','Avatar','Row','img-bg','useWorkbenchLoginPresenter','LoginPage','login-logo','100513GbyfDG','rgba(0,0,0,.25)','Col','location','password','login-img','useRef','447876AAZPcL','/_res/logo/','110FAzUld'];a4_0x36a0=function(){return _0x47fe51;};return a4_0x36a0();}exports[a4_0x1940c9(0x17a)]=LoginPage;
1
+ 'use strict';function a4_0x32f6(_0x27ff57,_0x3a88fc){const _0x3ef303=a4_0x3ef3();return a4_0x32f6=function(_0x32f6d4,_0x1e5f1f){_0x32f6d4=_0x32f6d4-0x1da;let _0x1947f6=_0x3ef303[_0x32f6d4];return _0x1947f6;},a4_0x32f6(_0x27ff57,_0x3a88fc);}const a4_0x2c2f4e=a4_0x32f6;(function(_0x171d81,_0xfc3adb){const _0x31f65=a4_0x32f6,_0x445129=_0x171d81();while(!![]){try{const _0x17ab9c=parseInt(_0x31f65(0x1f4))/0x1*(parseInt(_0x31f65(0x205))/0x2)+-parseInt(_0x31f65(0x1eb))/0x3+parseInt(_0x31f65(0x204))/0x4*(-parseInt(_0x31f65(0x1f5))/0x5)+parseInt(_0x31f65(0x1e3))/0x6+-parseInt(_0x31f65(0x209))/0x7*(parseInt(_0x31f65(0x1f3))/0x8)+-parseInt(_0x31f65(0x210))/0x9+parseInt(_0x31f65(0x1e7))/0xa;if(_0x17ab9c===_0xfc3adb)break;else _0x445129['push'](_0x445129['shift']());}catch(_0x3912a7){_0x445129['push'](_0x445129['shift']());}}}(a4_0x3ef3,0xab79b));const jsxRuntime=require(a4_0x2c2f4e(0x1de)),antd=require(a4_0x2c2f4e(0x218)),threelsWorkbenchComponent=require(a4_0x2c2f4e(0x1ff)),icons=require('@ant-design/icons'),react=require(a4_0x2c2f4e(0x20d)),presenter_presenter=require(a4_0x2c2f4e(0x208));function a4_0x3ef3(){const _0x519a1e=['current','href','请输入账号!','primary','LockOutlined','1016RdHkFl','33602roEXDB','8150PTFJve','login-name','Col','login-btn','jsx','then','/_res/cover/','请输入密码!','url(','登录中...','threels-workbench-component','useCallback','/_res/logo/','location','data','2932ueajxr','2FrJaDx','workbench-login-container','_ctx','../../presenter/presenter.js','56224YnJoAX','login-box','Form','key','react','span','showDoingIndicator','9927135lYsYwe','useEffect','请输入账号','BaseFunction','Input','Row','login-logo','useRef','antd','Password','login-form','platform','Enter','rgba(0,0,0,.25)','react/jsx-runtime','useState','login-img','useUrlQuery','img-bg','5422212yQWMbL','useWorkbenchLoginPresenter','Item','jsxs','40302370fSasSY','name','请输入密码','account','2841927WcHRys','div','UserOutlined'];a4_0x3ef3=function(){return _0x519a1e;};return a4_0x3ef3();}require('threels-workbench-core');function LoginPage(_0x8df174){const _0x1f742a=a4_0x2c2f4e;let {platform:_0x42ba42,platformName:_0x4186d3}=_0x8df174,[_0x2343a1,_0x598eef]=react[_0x1f742a(0x1df)](_0x4186d3),{render:_0x2d6f23,show:_0x12cbc1,close:_0x5a5918}=threelsWorkbenchComponent[_0x1f742a(0x213)]['useSpin'](),_0x17eea2=presenter_presenter[_0x1f742a(0x1e4)]({'showDoingIndicator':_0x12cbc1,'closeDoingIndicator':_0x5a5918});react[_0x1f742a(0x211)](()=>{const _0x43b4a7=_0x1f742a;_0x17eea2[_0x43b4a7(0x1db)]({'platform':_0x42ba42},{},_0x13c56e=>{const _0x49f5cb=_0x43b4a7;_0x598eef(_0x13c56e[_0x49f5cb(0x203)][_0x49f5cb(0x1e8)]);});},[]);let _0x3dda0c=react[_0x1f742a(0x217)](null);const _0x3be1f9=react[_0x1f742a(0x200)](()=>{const _0x41b822=_0x1f742a;_0x3dda0c[_0x41b822(0x1ee)]['validateFields']()[_0x41b822(0x1fa)](_0x179207=>{const _0x52b401=_0x41b822;_0x17eea2[_0x52b401(0x20f)](_0x52b401(0x1fe)),_0x17eea2['login']({..._0x179207,'platform':_0x42ba42},{},_0x152699=>{const _0x5a5952=_0x52b401;let {backUrl:_0x10e039}=threelsWorkbenchComponent['BaseFunction'][_0x5a5952(0x1e1)]();if(_0x10e039)window[_0x5a5952(0x202)][_0x5a5952(0x1ef)]=_0x10e039;else window[_0x5a5952(0x207)]?window['location'][_0x5a5952(0x1ef)]=window[_0x5a5952(0x207)]:window[_0x5a5952(0x202)]['href']='/';});});},[]);return jsxRuntime[_0x1f742a(0x1e6)]('div',{'className':_0x1f742a(0x206),'children':[jsxRuntime[_0x1f742a(0x1f9)](_0x1f742a(0x1ec),{'className':_0x1f742a(0x1e0),'children':jsxRuntime[_0x1f742a(0x1f9)](_0x1f742a(0x1ec),{'className':_0x1f742a(0x1e2),'style':{'backgroundImage':_0x1f742a(0x1fd)+window['_ctx']+_0x1f742a(0x1fb)+_0x42ba42+')'}})}),jsxRuntime[_0x1f742a(0x1f9)](_0x1f742a(0x1ec),{'className':'login-info','children':jsxRuntime['jsxs'](_0x1f742a(0x1ec),{'className':_0x1f742a(0x20a),'children':[jsxRuntime[_0x1f742a(0x1f9)]('div',{'className':_0x1f742a(0x216),'children':jsxRuntime[_0x1f742a(0x1f9)](antd['Avatar'],{'src':window['_ctx']+_0x1f742a(0x201)+_0x42ba42,'size':0x40})}),jsxRuntime[_0x1f742a(0x1f9)](_0x1f742a(0x1ec),{'className':_0x1f742a(0x1f6),'children':jsxRuntime[_0x1f742a(0x1f9)](_0x1f742a(0x20e),{'children':_0x2343a1})}),_0x2d6f23(jsxRuntime['jsx'](_0x1f742a(0x1ec),{'className':_0x1f742a(0x1da),'children':jsxRuntime['jsxs'](antd[_0x1f742a(0x20b)],{'ref':_0x3dda0c,'wrapperCol':{'span':0x18},'children':[jsxRuntime[_0x1f742a(0x1f9)](antd[_0x1f742a(0x20b)][_0x1f742a(0x1e5)],{'name':_0x1f742a(0x1ea),'rules':[{'required':!![],'message':_0x1f742a(0x1f0)}],'children':jsxRuntime[_0x1f742a(0x1f9)](antd[_0x1f742a(0x214)],{'prefix':jsxRuntime[_0x1f742a(0x1f9)](icons[_0x1f742a(0x1ed)],{'style':{'color':_0x1f742a(0x1dd)}}),'placeholder':_0x1f742a(0x212),'onKeyDown':_0x33fb9a=>{const _0x3f99cf=_0x1f742a;_0x33fb9a[_0x3f99cf(0x20c)]==='Enter'&&_0x3be1f9();}})}),jsxRuntime[_0x1f742a(0x1f9)](antd['Form']['Item'],{'name':'password','rules':[{'required':!![],'message':_0x1f742a(0x1fc)}],'children':jsxRuntime[_0x1f742a(0x1f9)](antd[_0x1f742a(0x214)][_0x1f742a(0x219)],{'prefix':jsxRuntime[_0x1f742a(0x1f9)](icons[_0x1f742a(0x1f2)],{'style':{'color':'rgba(0,0,0,.25)'}}),'placeholder':_0x1f742a(0x1e9),'onKeyDown':_0x537ff6=>{const _0x1d35fe=_0x1f742a;_0x537ff6[_0x1d35fe(0x20c)]===_0x1d35fe(0x1dc)&&_0x3be1f9();}})}),jsxRuntime[_0x1f742a(0x1f9)](antd[_0x1f742a(0x215)],{'children':jsxRuntime[_0x1f742a(0x1f9)](antd[_0x1f742a(0x1f7)],{'span':0x18,'children':jsxRuntime[_0x1f742a(0x1f9)](antd['Button'],{'type':_0x1f742a(0x1f1),'className':_0x1f742a(0x1f8),'size':'large','onClick':_0x3be1f9,'children':'登录'})})})]})}))]})})]});}exports['LoginPage']=LoginPage;
@@ -1 +1 @@
1
- 'use strict';function a5_0x544a(_0x495106,_0x10d71c){const _0xf8903=a5_0xf890();return a5_0x544a=function(_0x544af7,_0x3d4f8a){_0x544af7=_0x544af7-0x189;let _0x12355b=_0xf8903[_0x544af7];return _0x12355b;},a5_0x544a(_0x495106,_0x10d71c);}const a5_0x1dde88=a5_0x544a;(function(_0x48f84f,_0xb7b962){const _0xb5cb16=a5_0x544a,_0x3484cf=_0x48f84f();while(!![]){try{const _0x1467ec=parseInt(_0xb5cb16(0x18d))/0x1*(parseInt(_0xb5cb16(0x18b))/0x2)+-parseInt(_0xb5cb16(0x198))/0x3+-parseInt(_0xb5cb16(0x1a6))/0x4+parseInt(_0xb5cb16(0x18f))/0x5*(parseInt(_0xb5cb16(0x193))/0x6)+parseInt(_0xb5cb16(0x18a))/0x7+-parseInt(_0xb5cb16(0x1ab))/0x8*(parseInt(_0xb5cb16(0x18c))/0x9)+parseInt(_0xb5cb16(0x19d))/0xa;if(_0x1467ec===_0xb7b962)break;else _0x3484cf['push'](_0x3484cf['shift']());}catch(_0x49d1e9){_0x3484cf['push'](_0x3484cf['shift']());}}}(a5_0xf890,0xd5624));const react=require('react'),WorkBench=require(a5_0x1dde88(0x19c));function useWorkbenchLoginPresenter(_0x4dc7f8){const _0x4ff769=a5_0x1dde88;return react[_0x4ff769(0x199)](()=>new WorkbenchLoginPresenter(_0x4dc7f8),[]);}class WorkbenchLoginPresenter extends WorkBench[a5_0x1dde88(0x194)]{constructor(_0x203c9c){super(_0x203c9c);}[a5_0x1dde88(0x19a)](_0x304f8a,_0x28273a,_0x29d5a3,_0x98945d,_0x476ab3){const _0x472c31=a5_0x1dde88;let _0x42d981=_0x472c31(0x19f);WorkBench[_0x472c31(0x18e)]({..._0x476ab3?_0x476ab3:{},'url':_0x42d981,'bodyParams':_0x304f8a,'urlParams':_0x28273a})[_0x472c31(0x195)](_0x5ce3e1=>this[_0x472c31(0x196)](_0x29d5a3,_0x5ce3e1,{'url':_0x42d981,'body':_0x304f8a,'query':_0x28273a}),_0x4c7dad=>this[_0x472c31(0x1aa)](_0x98945d,_0x4c7dad,{'url':_0x42d981,'body':_0x304f8a,'query':_0x28273a}));}[a5_0x1dde88(0x1a8)](_0x4fc9a6,_0xddd9e5,_0x58c304,_0x19abfe,_0x4e0755){const _0x596b0e=a5_0x1dde88;let _0x18793c=_0x596b0e(0x192);WorkBench[_0x596b0e(0x18e)]({..._0x4e0755?_0x4e0755:{},'url':_0x18793c,'bodyParams':_0x4fc9a6,'urlParams':_0xddd9e5})[_0x596b0e(0x195)](_0x58d5d1=>this['resolve'](_0x58c304,_0x58d5d1,{'url':_0x18793c,'body':_0x4fc9a6,'query':_0xddd9e5}),_0x5d35e7=>this[_0x596b0e(0x1aa)](_0x19abfe,_0x5d35e7,{'url':_0x18793c,'body':_0x4fc9a6,'query':_0xddd9e5}));}[a5_0x1dde88(0x1a1)](_0x46a03e,_0x34a40d,_0x4d29d7,_0x4ac601,_0x5d56fa){const _0xe8cbe4=a5_0x1dde88;let _0x2fe3f2=_0xe8cbe4(0x190);WorkBench[_0xe8cbe4(0x18e)]({..._0x5d56fa?_0x5d56fa:{},'url':_0x2fe3f2,'bodyParams':_0x46a03e,'urlParams':_0x34a40d})[_0xe8cbe4(0x195)](_0x564010=>this[_0xe8cbe4(0x196)](_0x4d29d7,_0x564010,{'url':_0x2fe3f2,'body':_0x46a03e,'query':_0x34a40d}),_0x524a53=>this[_0xe8cbe4(0x1aa)](_0x4ac601,_0x524a53,{'url':_0x2fe3f2,'body':_0x46a03e,'query':_0x34a40d}));}}function useWorkbenchAccountPresenter(_0x646073){const _0x47a13c=a5_0x1dde88;return react[_0x47a13c(0x199)](()=>new WorkbenchAccountPresenter(_0x646073),[]);}function a5_0xf890(){const _0x3e35d3=['7495820HpcgfT','submitJsonData','/api/platform_info','platformList','loginOut','/api/_webplatform_workbench/account/info','useWorkbenchLoginPresenter','/api/_webplatform_workbench/account/modify','/api/_webplatform_workbench/account/platform/list','1870328mbGfHr','platformMenu','login','info','reject','152ejjWth','resetPwd','WorkbenchAccountPresenter','631218mojCCz','31138FUtKiz','322038tgOJkO','49iuENNi','submitFormData','530940LJCmPM','/api/loginOut','modify','/api/login','48VQxuiJ','Presenter','then','resolve','/api/_webplatform_workbench/account/reset/pwd','1292043mUFWqa','useMemo','platform','/api/_webplatform_workbench/account/platform/menu','threels-workbench-core'];a5_0xf890=function(){return _0x3e35d3;};return a5_0xf890();}class WorkbenchAccountPresenter extends WorkBench['Presenter']{constructor(_0x1f0634){super(_0x1f0634);}[a5_0x1dde88(0x1a7)](_0x36132c,_0x42afe3,_0x147416,_0x2f9fad,_0x1aff64){const _0x26033b=a5_0x1dde88;let _0x5289ba=_0x26033b(0x19b);WorkBench[_0x26033b(0x18e)]({..._0x1aff64?_0x1aff64:{},'url':_0x5289ba,'bodyParams':_0x36132c,'urlParams':_0x42afe3})[_0x26033b(0x195)](_0x207bd6=>this['resolve'](_0x147416,_0x207bd6,{'url':_0x5289ba,'body':_0x36132c,'query':_0x42afe3}),_0x47b81c=>this['reject'](_0x2f9fad,_0x47b81c,{'url':_0x5289ba,'body':_0x36132c,'query':_0x42afe3}));}[a5_0x1dde88(0x1a0)](_0x4fa70b,_0x3648d6,_0x5e8936,_0x3d999f,_0x9ccbf6){const _0x5b8874=a5_0x1dde88;let _0x543c11=_0x5b8874(0x1a5);WorkBench[_0x5b8874(0x18e)]({..._0x9ccbf6?_0x9ccbf6:{},'url':_0x543c11,'bodyParams':_0x4fa70b,'urlParams':_0x3648d6})[_0x5b8874(0x195)](_0x4023a8=>this[_0x5b8874(0x196)](_0x5e8936,_0x4023a8,{'url':_0x543c11,'body':_0x4fa70b,'query':_0x3648d6}),_0x5c94ab=>this[_0x5b8874(0x1aa)](_0x3d999f,_0x5c94ab,{'url':_0x543c11,'body':_0x4fa70b,'query':_0x3648d6}));}['platformSwitch'](_0x2a3436,_0x4c3fea,_0x4c0da6,_0x316412,_0x5f3b56){const _0x2ba7c1=a5_0x1dde88;let _0x7bd707='/api/_webplatform_workbench/account/platform/switch';WorkBench[_0x2ba7c1(0x18e)]({..._0x5f3b56?_0x5f3b56:{},'url':_0x7bd707,'bodyParams':_0x2a3436,'urlParams':_0x4c3fea})[_0x2ba7c1(0x195)](_0x790dcd=>this[_0x2ba7c1(0x196)](_0x4c0da6,_0x790dcd,{'url':_0x7bd707,'body':_0x2a3436,'query':_0x4c3fea}),_0x2753cd=>this[_0x2ba7c1(0x1aa)](_0x316412,_0x2753cd,{'url':_0x7bd707,'body':_0x2a3436,'query':_0x4c3fea}));}[a5_0x1dde88(0x1a9)](_0x5a1d0d,_0x669f52,_0x533894,_0x3176d5,_0x3250af){const _0x202353=a5_0x1dde88;let _0xc6d72f=_0x202353(0x1a2);WorkBench[_0x202353(0x18e)]({..._0x3250af?_0x3250af:{},'url':_0xc6d72f,'bodyParams':_0x5a1d0d,'urlParams':_0x669f52})['then'](_0x368ae1=>this[_0x202353(0x196)](_0x533894,_0x368ae1,{'url':_0xc6d72f,'body':_0x5a1d0d,'query':_0x669f52}),_0xe9e5f7=>this[_0x202353(0x1aa)](_0x3176d5,_0xe9e5f7,{'url':_0xc6d72f,'body':_0x5a1d0d,'query':_0x669f52}));}[a5_0x1dde88(0x191)](_0x5e8d38,_0x4bd319,_0x1d1b8f,_0x281271,_0xf3d7ba){const _0x197172=a5_0x1dde88;let _0xb6a34f=_0x197172(0x1a4);WorkBench[_0x197172(0x19e)]({..._0xf3d7ba?_0xf3d7ba:{},'url':_0xb6a34f,'bodyParams':_0x5e8d38,'urlParams':_0x4bd319})['then'](_0x4af66f=>this[_0x197172(0x196)](_0x1d1b8f,_0x4af66f,{'url':_0xb6a34f,'body':_0x5e8d38,'query':_0x4bd319}),_0x5ca3d9=>this['reject'](_0x281271,_0x5ca3d9,{'url':_0xb6a34f,'body':_0x5e8d38,'query':_0x4bd319}));}[a5_0x1dde88(0x1ac)](_0xaf6f7a,_0x1c0ac5,_0x5756b0,_0x10e3d3,_0x44dfd2){const _0x13f091=a5_0x1dde88;let _0x152c39=_0x13f091(0x197);WorkBench[_0x13f091(0x18e)]({..._0x44dfd2?_0x44dfd2:{},'url':_0x152c39,'bodyParams':_0xaf6f7a,'urlParams':_0x1c0ac5})[_0x13f091(0x195)](_0x246c5e=>this['resolve'](_0x5756b0,_0x246c5e,{'url':_0x152c39,'body':_0xaf6f7a,'query':_0x1c0ac5}),_0x196e81=>this[_0x13f091(0x1aa)](_0x10e3d3,_0x196e81,{'url':_0x152c39,'body':_0xaf6f7a,'query':_0x1c0ac5}));}}exports[a5_0x1dde88(0x189)]=WorkbenchAccountPresenter,exports['useWorkbenchAccountPresenter']=useWorkbenchAccountPresenter,exports[a5_0x1dde88(0x1a3)]=useWorkbenchLoginPresenter;
1
+ 'use strict';function a5_0x2211(_0x4cead3,_0x1951a1){const _0x3c8c13=a5_0x3c8c();return a5_0x2211=function(_0x221154,_0x3c13f6){_0x221154=_0x221154-0x1f1;let _0xa487a5=_0x3c8c13[_0x221154];return _0xa487a5;},a5_0x2211(_0x4cead3,_0x1951a1);}const a5_0x560d12=a5_0x2211;(function(_0x487adc,_0x3ae75b){const _0x1e658f=a5_0x2211,_0x44eb8f=_0x487adc();while(!![]){try{const _0xca06bc=parseInt(_0x1e658f(0x1f2))/0x1+-parseInt(_0x1e658f(0x1f4))/0x2*(-parseInt(_0x1e658f(0x215))/0x3)+parseInt(_0x1e658f(0x216))/0x4*(parseInt(_0x1e658f(0x20f))/0x5)+-parseInt(_0x1e658f(0x212))/0x6*(parseInt(_0x1e658f(0x213))/0x7)+-parseInt(_0x1e658f(0x1fb))/0x8+-parseInt(_0x1e658f(0x1fc))/0x9*(-parseInt(_0x1e658f(0x20e))/0xa)+parseInt(_0x1e658f(0x209))/0xb;if(_0xca06bc===_0x3ae75b)break;else _0x44eb8f['push'](_0x44eb8f['shift']());}catch(_0x506efe){_0x44eb8f['push'](_0x44eb8f['shift']());}}}(a5_0x3c8c,0x1fc78));const react=require(a5_0x560d12(0x1f3)),WorkBench=require(a5_0x560d12(0x1f6));function useWorkbenchLoginPresenter(_0x282448){const _0x4f6674=a5_0x560d12;return react[_0x4f6674(0x20c)](()=>new WorkbenchLoginPresenter(_0x282448),[]);}class WorkbenchLoginPresenter extends WorkBench[a5_0x560d12(0x20b)]{constructor(_0x179d1b){super(_0x179d1b);}[a5_0x560d12(0x20a)](_0x3c7e23,_0x4e97a9,_0x35febf,_0x2f589c,_0x21114a){const _0x558a16=a5_0x560d12;let _0x119673=_0x558a16(0x211);WorkBench[_0x558a16(0x203)]({..._0x21114a?_0x21114a:{},'url':_0x119673,'bodyParams':_0x3c7e23,'urlParams':_0x4e97a9})['then'](_0x5d21e4=>this[_0x558a16(0x205)](_0x35febf,_0x5d21e4,{'url':_0x119673,'body':_0x3c7e23,'query':_0x4e97a9}),_0x5a891f=>this[_0x558a16(0x1f1)](_0x2f589c,_0x5a891f,{'url':_0x119673,'body':_0x3c7e23,'query':_0x4e97a9}));}['login'](_0x193b3e,_0x167aa3,_0x156431,_0x4d9b9b,_0x97e4fe){const _0x11a439=a5_0x560d12;let _0x2d8535=_0x11a439(0x1fe);WorkBench['submitFormData']({..._0x97e4fe?_0x97e4fe:{},'url':_0x2d8535,'bodyParams':_0x193b3e,'urlParams':_0x167aa3})[_0x11a439(0x202)](_0x29a565=>this[_0x11a439(0x205)](_0x156431,_0x29a565,{'url':_0x2d8535,'body':_0x193b3e,'query':_0x167aa3}),_0x25d28b=>this[_0x11a439(0x1f1)](_0x4d9b9b,_0x25d28b,{'url':_0x2d8535,'body':_0x193b3e,'query':_0x167aa3}));}[a5_0x560d12(0x1fa)](_0x1bb297,_0x240a5e,_0x9a70b2,_0xdf41e7,_0x4c2e85){const _0x2f192a=a5_0x560d12;let _0x12d6de='/api/loginOut';WorkBench[_0x2f192a(0x203)]({..._0x4c2e85?_0x4c2e85:{},'url':_0x12d6de,'bodyParams':_0x1bb297,'urlParams':_0x240a5e})[_0x2f192a(0x202)](_0x9090ae=>this[_0x2f192a(0x205)](_0x9a70b2,_0x9090ae,{'url':_0x12d6de,'body':_0x1bb297,'query':_0x240a5e}),_0x54400c=>this[_0x2f192a(0x1f1)](_0xdf41e7,_0x54400c,{'url':_0x12d6de,'body':_0x1bb297,'query':_0x240a5e}));}}function useWorkbenchAccountPresenter(_0x1ee546){const _0x2db62e=a5_0x560d12;return react[_0x2db62e(0x20c)](()=>new WorkbenchAccountPresenter(_0x1ee546),[]);}class WorkbenchAccountPresenter extends WorkBench[a5_0x560d12(0x20b)]{constructor(_0x21db5b){super(_0x21db5b);}[a5_0x560d12(0x204)](_0x48ca63,_0x18fee4,_0x304b22,_0x49d251,_0x24c0fd){const _0x59ed90=a5_0x560d12;let _0x22972c=_0x59ed90(0x208);WorkBench['submitFormData']({..._0x24c0fd?_0x24c0fd:{},'url':_0x22972c,'bodyParams':_0x48ca63,'urlParams':_0x18fee4})[_0x59ed90(0x202)](_0x4354e1=>this[_0x59ed90(0x205)](_0x304b22,_0x4354e1,{'url':_0x22972c,'body':_0x48ca63,'query':_0x18fee4}),_0x384602=>this['reject'](_0x49d251,_0x384602,{'url':_0x22972c,'body':_0x48ca63,'query':_0x18fee4}));}[a5_0x560d12(0x207)](_0x59edf3,_0x139085,_0x3c1fe8,_0xb316f6,_0x4b202e){const _0x2bc29c=a5_0x560d12;let _0x2e37cd=_0x2bc29c(0x200);WorkBench[_0x2bc29c(0x203)]({..._0x4b202e?_0x4b202e:{},'url':_0x2e37cd,'bodyParams':_0x59edf3,'urlParams':_0x139085})[_0x2bc29c(0x202)](_0x54d530=>this[_0x2bc29c(0x205)](_0x3c1fe8,_0x54d530,{'url':_0x2e37cd,'body':_0x59edf3,'query':_0x139085}),_0x2d952f=>this['reject'](_0xb316f6,_0x2d952f,{'url':_0x2e37cd,'body':_0x59edf3,'query':_0x139085}));}[a5_0x560d12(0x1f9)](_0x441112,_0x3bb228,_0x289718,_0x39ea88,_0x3f6131){const _0x12ebd0=a5_0x560d12;let _0x262e38=_0x12ebd0(0x1fd);WorkBench[_0x12ebd0(0x203)]({..._0x3f6131?_0x3f6131:{},'url':_0x262e38,'bodyParams':_0x441112,'urlParams':_0x3bb228})['then'](_0x591b84=>this[_0x12ebd0(0x205)](_0x289718,_0x591b84,{'url':_0x262e38,'body':_0x441112,'query':_0x3bb228}),_0x119ff3=>this[_0x12ebd0(0x1f1)](_0x39ea88,_0x119ff3,{'url':_0x262e38,'body':_0x441112,'query':_0x3bb228}));}[a5_0x560d12(0x210)](_0x2e700b,_0x41b825,_0x404824,_0xd55ffc,_0x3f2be9){const _0x2a3e22=a5_0x560d12;let _0x4f8770=_0x2a3e22(0x201);WorkBench['submitFormData']({..._0x3f2be9?_0x3f2be9:{},'url':_0x4f8770,'bodyParams':_0x2e700b,'urlParams':_0x41b825})[_0x2a3e22(0x202)](_0x212355=>this[_0x2a3e22(0x205)](_0x404824,_0x212355,{'url':_0x4f8770,'body':_0x2e700b,'query':_0x41b825}),_0x2d85db=>this[_0x2a3e22(0x1f1)](_0xd55ffc,_0x2d85db,{'url':_0x4f8770,'body':_0x2e700b,'query':_0x41b825}));}[a5_0x560d12(0x20d)](_0xbe5b5c,_0xd61bb,_0x2806aa,_0x3d9ee6,_0x227527){const _0x9a8c7c=a5_0x560d12;let _0x3059d7=_0x9a8c7c(0x206);WorkBench['submitJsonData']({..._0x227527?_0x227527:{},'url':_0x3059d7,'bodyParams':_0xbe5b5c,'urlParams':_0xd61bb})['then'](_0x4b0b91=>this['resolve'](_0x2806aa,_0x4b0b91,{'url':_0x3059d7,'body':_0xbe5b5c,'query':_0xd61bb}),_0x511eb8=>this[_0x9a8c7c(0x1f1)](_0x3d9ee6,_0x511eb8,{'url':_0x3059d7,'body':_0xbe5b5c,'query':_0xd61bb}));}[a5_0x560d12(0x1f5)](_0x22839d,_0x3eb50c,_0x15d69b,_0x12a1d7,_0x38181b){const _0x4b8059=a5_0x560d12;let _0x1206f8=_0x4b8059(0x1f7);WorkBench[_0x4b8059(0x203)]({..._0x38181b?_0x38181b:{},'url':_0x1206f8,'bodyParams':_0x22839d,'urlParams':_0x3eb50c})[_0x4b8059(0x202)](_0xb40791=>this['resolve'](_0x15d69b,_0xb40791,{'url':_0x1206f8,'body':_0x22839d,'query':_0x3eb50c}),_0x55d8d7=>this[_0x4b8059(0x1f1)](_0x12a1d7,_0x55d8d7,{'url':_0x1206f8,'body':_0x22839d,'query':_0x3eb50c}));}}function a5_0x3c8c(){const _0x558951=['reject','235340YoBwAR','react','400330msgPPp','resetPwd','threels-workbench-core','/api/_webplatform_workbench/account/reset/pwd','useWorkbenchLoginPresenter','platformSwitch','loginOut','1137360tFMTmD','45vgEKqI','/api/_webplatform_workbench/account/platform/switch','/api/login','useWorkbenchAccountPresenter','/api/_webplatform_workbench/account/platform/list','/api/_webplatform_workbench/account/info','then','submitFormData','platformMenu','resolve','/api/_webplatform_workbench/account/modify','platformList','/api/_webplatform_workbench/account/platform/menu','284185njbNId','platform','Presenter','useMemo','modify','5710TomzkQ','2710CrTLTx','info','/api/platform_info','33102FZgyaz','273IzpuCe','WorkbenchAccountPresenter','3bbFDpI','172uxlUhO'];a5_0x3c8c=function(){return _0x558951;};return a5_0x3c8c();}exports[a5_0x560d12(0x214)]=WorkbenchAccountPresenter,exports[a5_0x560d12(0x1ff)]=useWorkbenchAccountPresenter,exports[a5_0x560d12(0x1f8)]=useWorkbenchLoginPresenter;
@@ -1 +1 @@
1
- const a6_0x93c844=a6_0x4abb;(function(_0x1387b8,_0x2ff91f){const _0x5edae5=a6_0x4abb,_0x2dce26=_0x1387b8();while(!![]){try{const _0x932315=-parseInt(_0x5edae5(0x161))/0x1+-parseInt(_0x5edae5(0x170))/0x2+parseInt(_0x5edae5(0x16e))/0x3+parseInt(_0x5edae5(0x173))/0x4+parseInt(_0x5edae5(0x172))/0x5+-parseInt(_0x5edae5(0x177))/0x6*(-parseInt(_0x5edae5(0x15a))/0x7)+-parseInt(_0x5edae5(0x148))/0x8*(-parseInt(_0x5edae5(0x166))/0x9);if(_0x932315===_0x2ff91f)break;else _0x2dce26['push'](_0x2dce26['shift']());}catch(_0x2da01d){_0x2dce26['push'](_0x2dce26['shift']());}}}(a6_0xc663,0x2fc6c));import{jsx,jsxs}from'react/jsx-runtime';function a6_0x4abb(_0x47c111,_0x30c8e0){const _0xc6639d=a6_0xc663();return a6_0x4abb=function(_0x4abb74,_0x29ddcf){_0x4abb74=_0x4abb74-0x143;let _0x16a0a0=_0xc6639d[_0x4abb74];return _0x16a0a0;},a6_0x4abb(_0x47c111,_0x30c8e0);}import{StrictMode}from'react';import{ConfigProvider,Result,Button}from'antd';import a6_0x25cc3c from'antd/locale/zh_CN';import{BrowserRouter,Routes,Route}from'react-router';import{L as a6_0x514dab}from'../page/login/LoginPage.js';import{I as a6_0x4b6576}from'../page/index/IndexPage.js';import a6_0x205c08,{registerFetchReturnJsonChecker,registerPresenterDoError,registerPresenterTipError,registerPresenterShowIndicator,registerPresenterCloseIndicator,registerFetchResponseChecker,registerFetchParamsProcessor,registerFetchEncryptFunction,registerFetchDecryptFunction}from'threels-workbench-core';import{Tip}from'threels-workbench-component';let cfg={'fetchEncryptChecker':void 0x0};function registerFetchEncryptChecker(_0x4a0211){const _0x106ad2=a6_0x4abb;cfg[_0x106ad2(0x14e)]=_0x4a0211;}let doResultCode=!![];function appInit(){const _0x1548c6=a6_0x4abb;(window[_0x1548c6(0x175)]===void 0x0||window[_0x1548c6(0x175)]===null)&&(window[_0x1548c6(0x175)]=a6_0x205c08[_0x1548c6(0x156)](_0x1548c6(0x175))||''),registerFetchReturnJsonChecker((_0x389c4d,_0x596ebd,_0x169d9a)=>{const _0x4cd22e=_0x1548c6;let {code:_0x520e0d,data:_0x2b88f0,success:_0x22837d}=_0x389c4d;if(!_0x22837d){_0x169d9a(_0x520e0d?_0x520e0d:_0x4cd22e(0x165),_0x389c4d[_0x4cd22e(0x155)]||_0x389c4d[_0x4cd22e(0x150)]||_0x4cd22e(0x149),_0x2b88f0);return;}_0x596ebd(_0x389c4d);}),registerPresenterDoError(_0x5271b9=>{const _0x41793c=_0x1548c6;if(!doResultCode)return!![];switch(_0x5271b9[_0x41793c(0x15b)]){case _0x41793c(0x146):doResultCode=![],Tip[_0x41793c(0x153)]('登录被重置,需要重新登录',{'onOk':()=>{const _0x64f0a8=_0x41793c;window[_0x64f0a8(0x143)][_0x64f0a8(0x145)]['location'][_0x64f0a8(0x159)]();}});return!![];case _0x41793c(0x174):{return doResultCode=![],Tip[_0x41793c(0x153)](_0x41793c(0x169),{'onOk':()=>{const _0x72f5f0=_0x41793c,_0x6bfae3=encodeURIComponent(window[_0x72f5f0(0x143)]['window'][_0x72f5f0(0x152)][_0x72f5f0(0x15d)]);window[_0x72f5f0(0x143)]['window']['location'][_0x72f5f0(0x15d)]=window[_0x72f5f0(0x175)]+_0x72f5f0(0x16f)+_0x6bfae3;}}),!![];}case _0x41793c(0x176):doResultCode=![],Tip[_0x41793c(0x153)](_0x41793c(0x162),{'onOk':()=>{const _0x4d87c9=_0x41793c;window[_0x4d87c9(0x143)][_0x4d87c9(0x145)][_0x4d87c9(0x152)][_0x4d87c9(0x159)]();}});return!![];}return![];}),registerPresenterTipError(_0xeaebbc=>{const _0x52608c=_0x1548c6;Tip[_0x52608c(0x15f)](_0xeaebbc[_0x52608c(0x150)]||_0xeaebbc[_0x52608c(0x155)]);}),registerPresenterShowIndicator(_0x557836=>Tip[_0x1548c6(0x16b)](_0x557836||_0x1548c6(0x16a))),registerPresenterCloseIndicator(()=>Tip['toastHide']()),registerFetchResponseChecker((_0x46ab46,_0x221a9a)=>{const _0x54ea21=_0x1548c6;let {status:_0x368fb8}=_0x46ab46;_0x368fb8!==0xc8&&_0x221a9a(_0x54ea21(0x14d),_0x54ea21(0x168)+_0x368fb8+'\x20!');}),registerFetchParamsProcessor(requestParamsProcessor),registerFetchEncryptFunction(_0x20c855=>{const _0x4d7ed7=_0x1548c6;if(cfg[_0x4d7ed7(0x14e)])return cfg[_0x4d7ed7(0x14e)](_0x20c855)&&a6_0x205c08[_0x4d7ed7(0x15c)]();return a6_0x205c08[_0x4d7ed7(0x15c)]();},_0x343001=>a6_0x205c08['encrypt'](_0x343001)),registerFetchDecryptFunction(({response:_0x36dc59})=>{const _0x4fd8d5=_0x1548c6;return _0x36dc59[_0x4fd8d5(0x147)]['get']('dataencrypt');},_0x46e45e=>a6_0x205c08['decrypt'](_0x46e45e));}const API_CONFIG={'uploadImgUrl':window[a6_0x93c844(0x16d)]+'/image','uploadFileUrl':window[a6_0x93c844(0x16d)]+a6_0x93c844(0x14c)},requestParamsProcessor=({url:_0x13b749,bodyParams:_0x38615b,urlParams:_0x11424e,headers:_0x2e1ae3})=>{const _0x926638=a6_0x93c844;let _0xb8b780=_0x13b749[_0x926638(0x151)]();!_0xb8b780[_0x926638(0x164)]('http://')&&!_0xb8b780['startsWith'](_0x926638(0x157))&&(_0x13b749!==API_CONFIG[_0x926638(0x158)]&&_0x13b749!==API_CONFIG[_0x926638(0x178)]&&(_0x13b749=''+window[_0x926638(0x175)]+_0x13b749));let _0x108363=a6_0x205c08[_0x926638(0x144)]();return _0x11424e={..._0x11424e,..._0x108363},{'url':_0x13b749,'bodyParams':_0x38615b,'urlParams':_0x11424e,'headers':_0x2e1ae3};};function a6_0xc663(){const _0x25661a=['/login','服务器返回错误状态:','登录超时,需要重新登录','加载中...','toastLoading','root','_ctxRes','239889aJYOUd','/login?backUrl=','492288UIPLKi','abc','917185TNJLUq','1022636cjAGHY','USER_NEED_LOGIN','_ctx','DECRYPT_SERVER_DATA_ERROR','83154MQicGF','uploadFileUrl','用户管理','parent','signature','window','USER_LOGIN_INFO_CHANGE','headers','54992PGnJmh','服务器返回数据错误','404','/22','/file','RESPONSE_STATUS_ERROR','fetchEncryptChecker','系统设置','msg','toLowerCase','location','alertFail','系统管理','message','get','https://','uploadImgUrl','reload','63YTYHVg','code','isRequestEncrypt','href','icon-adduser','noticeFail','primary','332560FWtpEg','服务器配置更新,需要刷新网页','角色管理','startsWith','FAILS','171pulNHx'];a6_0xc663=function(){return _0x25661a;};return a6_0xc663();}appInit();function getBaseName(){let {_ctx:_0x3db2fa}=window;return _0x3db2fa;}function App(_0x2a8ea3){const _0x586125=a6_0x93c844;let {platform:platform=_0x586125(0x16c),platformName:platformName='',locale:_0x2bb36c,children:_0xf3b8aa,topMenu:_0x30b446,topComponent:_0xcdc991,showNav:_0x5d6789,showTab:_0x36b4b7,tabCache:_0x17fff5,keepMenu:_0xef356}=_0x2a8ea3;return jsx(StrictMode,{'children':jsx(ConfigProvider,{'locale':_0x2bb36c?_0x2bb36c:a6_0x25cc3c,'children':jsx(BrowserRouter,{'basename':getBaseName(),'children':jsxs(Routes,{'children':[jsx(Route,{'path':'/*','element':jsx(a6_0x4b6576,{'platform':platform,'platformName':platformName,'topMenu':_0x30b446,'rightComponent':_0xcdc991,'showNav':_0x5d6789,'showTab':_0x36b4b7,'keepMenu':_0xef356,'tabCache':_0x17fff5,'menuItems':menuItems})}),jsx(Route,{'path':_0x586125(0x167),'element':jsx(a6_0x514dab,{'platform':platform,'platformName':platformName})}),_0xf3b8aa,jsx(Route,{'path':'*','element':jsx(Page404,{})})]})})})});}function Page404(){const _0xfe003b=a6_0x93c844,_0x4ddc7b=()=>{const _0x589d65=a6_0x4abb;let {_ctx:_0x1dd8df}=window;window[_0x589d65(0x152)][_0x589d65(0x15d)]=_0x1dd8df||'/';};return jsx(Result,{'status':_0xfe003b(0x14a),'title':'抱歉,您访问的页面不存在!!!','extra':jsx(Button,{'type':_0xfe003b(0x160),'onClick':_0x4ddc7b,'children':'返回'})});}let menuItems=[{'menuId':'1','name':'仪表盘','urlPath':'/1','componentId':'abc','extArg':'','iconCls':a6_0x93c844(0x15e),'sort':0x1},{'menuId':'2','name':a6_0x93c844(0x179),'urlPath':'/2','componentId':a6_0x93c844(0x171),'extArg':'','iconCls':a6_0x93c844(0x15e),'sort':0x1},{'menuId':'22','name':'用户管理22','parentMenuId':'2','urlPath':a6_0x93c844(0x14b),'componentId':a6_0x93c844(0x171),'extArg':'','iconCls':a6_0x93c844(0x15e),'sort':0x1},{'menuId':'23','name':'用户管理23','parentMenuId':'2','urlPath':'/23','componentId':a6_0x93c844(0x171),'extArg':'','iconCls':a6_0x93c844(0x15e),'sort':0x1},{'menuId':'3','name':a6_0x93c844(0x154),'urlPath':'/3','componentId':a6_0x93c844(0x171),'extArg':'','iconCls':a6_0x93c844(0x15e),'sort':0x1},{'menuId':'4','parentMenuId':'3','name':a6_0x93c844(0x179),'urlPath':'/4','componentId':a6_0x93c844(0x171),'extArg':'','iconCls':a6_0x93c844(0x15e),'sort':0x1},{'menuId':'5','parentMenuId':'3','name':a6_0x93c844(0x14f),'urlPath':'/5','componentId':a6_0x93c844(0x171),'extArg':'','iconCls':a6_0x93c844(0x15e),'sort':0x1},{'menuId':'6','parentMenuId':'5','name':a6_0x93c844(0x163),'urlPath':'/6','componentId':'abc','extArg':'','iconCls':a6_0x93c844(0x15e),'sort':0x1},{'menuId':'7','parentMenuId':'5','name':'用户权限','urlPath':'/7','componentId':a6_0x93c844(0x171),'extArg':'','iconCls':a6_0x93c844(0x15e),'sort':0x1}];export{App as A,registerFetchEncryptChecker as r};
1
+ const a6_0x280adf=a6_0x2364;(function(_0x551847,_0xfc95a4){const _0x58783b=a6_0x2364,_0xa0d730=_0x551847();while(!![]){try{const _0x5948de=-parseInt(_0x58783b(0x206))/0x1+parseInt(_0x58783b(0x1ff))/0x2*(-parseInt(_0x58783b(0x203))/0x3)+-parseInt(_0x58783b(0x1e8))/0x4+-parseInt(_0x58783b(0x1da))/0x5+-parseInt(_0x58783b(0x1f1))/0x6+parseInt(_0x58783b(0x207))/0x7+parseInt(_0x58783b(0x209))/0x8;if(_0x5948de===_0xfc95a4)break;else _0xa0d730['push'](_0xa0d730['shift']());}catch(_0x2fcb1b){_0xa0d730['push'](_0xa0d730['shift']());}}}(a6_0x4828,0xcb13d));function a6_0x2364(_0x511619,_0x14583f){const _0x4828ea=a6_0x4828();return a6_0x2364=function(_0x2364eb,_0x50f0c){_0x2364eb=_0x2364eb-0x1d8;let _0x16bdaa=_0x4828ea[_0x2364eb];return _0x16bdaa;},a6_0x2364(_0x511619,_0x14583f);}import'../../assets/app/app.css';import{jsx,jsxs}from'react/jsx-runtime';import{StrictMode}from'react';import{ConfigProvider,Result,Button}from'antd';import a6_0x31738a from'antd/locale/zh_CN';import{BrowserRouter,Routes,Route}from'react-router';import{L as a6_0x307ff2}from'../page/login/LoginPage.js';import{I as a6_0x583eeb}from'../page/index/IndexPage.js';import a6_0x1cbb4f,{registerFetchReturnJsonChecker,registerPresenterDoError,registerPresenterTipError,registerPresenterShowIndicator,registerPresenterCloseIndicator,registerFetchResponseChecker,registerFetchParamsProcessor,registerFetchEncryptFunction,registerFetchDecryptFunction}from'threels-workbench-core';import{Tip}from'threels-workbench-component';let cfg={'fetchEncryptChecker':void 0x0};function registerFetchEncryptChecker(_0x3225cd){const _0x5a8089=a6_0x2364;cfg[_0x5a8089(0x1df)]=_0x3225cd;}let doResultCode=!![];function appInit(){const _0x4473a9=a6_0x2364;(window[_0x4473a9(0x1f3)]===void 0x0||window[_0x4473a9(0x1f3)]===null)&&(window[_0x4473a9(0x1f3)]=a6_0x1cbb4f['get'](_0x4473a9(0x1f3))||''),registerFetchReturnJsonChecker((_0x256464,_0xcad1f1,_0x353b20)=>{const _0xe7073c=_0x4473a9;let {code:_0x56c436,data:_0x303b94,success:_0x16e0d8}=_0x256464;if(!_0x16e0d8){_0x353b20(_0x56c436?_0x56c436:'FAILS',_0x256464['message']||_0x256464[_0xe7073c(0x1f7)]||'服务器返回数据错误',_0x303b94);return;}_0xcad1f1(_0x256464);}),registerPresenterDoError(_0x1b9968=>{const _0x3ff8cb=_0x4473a9;if(!doResultCode)return!![];switch(_0x1b9968[_0x3ff8cb(0x1f6)]){case _0x3ff8cb(0x1e4):doResultCode=![],Tip[_0x3ff8cb(0x208)](_0x3ff8cb(0x1ed),{'onOk':()=>{const _0x527a44=_0x3ff8cb;window[_0x527a44(0x1ea)][_0x527a44(0x1e3)][_0x527a44(0x1e1)][_0x527a44(0x204)]();}});return!![];case'USER_NEED_LOGIN':{return doResultCode=![],Tip['alertFail'](_0x3ff8cb(0x1f8),{'onOk':()=>{const _0x2cc509=_0x3ff8cb,_0x34093a=encodeURIComponent(window[_0x2cc509(0x1ea)][_0x2cc509(0x1e3)][_0x2cc509(0x1e1)]['href']);window[_0x2cc509(0x1ea)][_0x2cc509(0x1e3)][_0x2cc509(0x1e1)]['href']=window['_ctx']+_0x2cc509(0x20b)+_0x34093a;}}),!![];}case _0x3ff8cb(0x1e9):doResultCode=![],Tip[_0x3ff8cb(0x208)](_0x3ff8cb(0x1eb),{'onOk':()=>{const _0x5476e1=_0x3ff8cb;window[_0x5476e1(0x1ea)][_0x5476e1(0x1e3)][_0x5476e1(0x1e1)]['reload']();}});return!![];}return![];}),registerPresenterTipError(_0x34fdb1=>{const _0x831257=_0x4473a9;Tip['noticeFail'](_0x34fdb1[_0x831257(0x1f7)]||_0x34fdb1['message']);}),registerPresenterShowIndicator(_0x47296d=>Tip[_0x4473a9(0x20c)](_0x47296d||'加载中...')),registerPresenterCloseIndicator(()=>Tip['toastHide']()),registerFetchResponseChecker((_0x5f07b6,_0x14d73d)=>{const _0x3e9e80=_0x4473a9;let {status:_0x27d0ac}=_0x5f07b6;_0x27d0ac!==0xc8&&_0x14d73d(_0x3e9e80(0x200),_0x3e9e80(0x1e6)+_0x27d0ac+'\x20!');}),registerFetchParamsProcessor(requestParamsProcessor),registerFetchEncryptFunction(_0xfca0c1=>{const _0x22cfce=_0x4473a9;if(cfg['fetchEncryptChecker'])return cfg['fetchEncryptChecker'](_0xfca0c1)&&a6_0x1cbb4f[_0x22cfce(0x1e0)]();return a6_0x1cbb4f[_0x22cfce(0x1e0)]();},_0x16c791=>a6_0x1cbb4f[_0x4473a9(0x1db)](_0x16c791)),registerFetchDecryptFunction(({response:_0x27df99})=>{const _0x164a12=_0x4473a9;return _0x27df99[_0x164a12(0x1fe)][_0x164a12(0x1dd)]('dataencrypt');},_0x1b526a=>a6_0x1cbb4f[_0x4473a9(0x1f9)](_0x1b526a));}const API_CONFIG={'uploadImgUrl':window[a6_0x280adf(0x1ef)]+a6_0x280adf(0x1f2),'uploadFileUrl':window[a6_0x280adf(0x1ef)]+a6_0x280adf(0x1fb)},requestParamsProcessor=({url:_0x1b9a29,bodyParams:_0xf3038d,urlParams:_0x124359,headers:_0x26532c})=>{const _0x35abfa=a6_0x280adf;let _0x53364c=_0x1b9a29['toLowerCase']();!_0x53364c[_0x35abfa(0x1d8)]('http://')&&!_0x53364c[_0x35abfa(0x1d8)]('https://')&&(_0x1b9a29!==API_CONFIG[_0x35abfa(0x1de)]&&_0x1b9a29!==API_CONFIG[_0x35abfa(0x1f5)]&&(_0x1b9a29=''+window[_0x35abfa(0x1f3)]+_0x1b9a29));let _0x42c6ad=a6_0x1cbb4f[_0x35abfa(0x1f0)]();return _0x124359={..._0x124359,..._0x42c6ad},{'url':_0x1b9a29,'bodyParams':_0xf3038d,'urlParams':_0x124359,'headers':_0x26532c};};function a6_0x4828(){const _0xdaea0f=['抱歉,您访问的页面不存在!!!','primary','72SGbDmE','reload','系统管理','58877WSToEe','7074711DByjUl','alertFail','38159056ARPeHv','icon-adduser','/login?backUrl=','toastLoading','startsWith','仪表盘','6972510RPhzdf','encrypt','/login','get','uploadImgUrl','fetchEncryptChecker','isRequestEncrypt','location','404','window','USER_LOGIN_INFO_CHANGE','/22','服务器返回错误状态:','系统设置','3539556NrgEFV','DECRYPT_SERVER_DATA_ERROR','parent','服务器配置更新,需要刷新网页','用户权限','登录被重置,需要重新登录','角色管理','_ctxRes','signature','7761036RFeSOG','/image','_ctx','root','uploadFileUrl','code','msg','登录超时,需要重新登录','decrypt','href','/file','用户管理23','abc','headers','109748ftoizu','RESPONSE_STATUS_ERROR'];a6_0x4828=function(){return _0xdaea0f;};return a6_0x4828();}appInit();function getBaseName(){let {_ctx:_0x3f2dad}=window;return _0x3f2dad;}function App(_0x3dc774){const _0x2c054b=a6_0x280adf;let {platform:platform=_0x2c054b(0x1f4),platformName:platformName='',locale:_0x3d6cf8,children:_0x2e01e5,topMenu:_0x2a99b0,topComponent:_0x30a901,showNav:_0x3cb723,showTab:_0x1a37dd,tabCache:_0x5efc7f,keepMenu:_0x54f011}=_0x3dc774;return jsx(StrictMode,{'children':jsx(ConfigProvider,{'locale':_0x3d6cf8?_0x3d6cf8:a6_0x31738a,'children':jsx(BrowserRouter,{'basename':getBaseName(),'children':jsxs(Routes,{'children':[jsx(Route,{'path':'/*','element':jsx(a6_0x583eeb,{'platform':platform,'platformName':platformName,'topMenu':_0x2a99b0,'rightComponent':_0x30a901,'showNav':_0x3cb723,'showTab':_0x1a37dd,'keepMenu':_0x54f011,'tabCache':_0x5efc7f,'menuItems':menuItems})}),jsx(Route,{'path':_0x2c054b(0x1dc),'element':jsx(a6_0x307ff2,{'platform':platform,'platformName':platformName})}),_0x2e01e5,jsx(Route,{'path':'*','element':jsx(Page404,{})})]})})})});}function Page404(){const _0x1c7e3c=a6_0x280adf,_0x1e92be=()=>{const _0x483789=a6_0x2364;let {_ctx:_0x518710}=window;window['location'][_0x483789(0x1fa)]=_0x518710||'/';};return jsx(Result,{'status':_0x1c7e3c(0x1e2),'title':_0x1c7e3c(0x201),'extra':jsx(Button,{'type':_0x1c7e3c(0x202),'onClick':_0x1e92be,'children':'返回'})});}let menuItems=[{'menuId':'1','name':a6_0x280adf(0x1d9),'urlPath':'/1','componentId':'abc','extArg':'','iconCls':'icon-adduser','sort':0x1},{'menuId':'2','name':'用户管理','urlPath':'/2','componentId':a6_0x280adf(0x1fd),'extArg':'','iconCls':a6_0x280adf(0x20a),'sort':0x1},{'menuId':'22','name':'用户管理22','parentMenuId':'2','urlPath':a6_0x280adf(0x1e5),'componentId':a6_0x280adf(0x1fd),'extArg':'','iconCls':a6_0x280adf(0x20a),'sort':0x1},{'menuId':'23','name':a6_0x280adf(0x1fc),'parentMenuId':'2','urlPath':'/23','componentId':'abc','extArg':'','iconCls':a6_0x280adf(0x20a),'sort':0x1},{'menuId':'3','name':a6_0x280adf(0x205),'urlPath':'/3','componentId':a6_0x280adf(0x1fd),'extArg':'','iconCls':'icon-adduser','sort':0x1},{'menuId':'4','parentMenuId':'3','name':'用户管理','urlPath':'/4','componentId':'abc','extArg':'','iconCls':a6_0x280adf(0x20a),'sort':0x1},{'menuId':'5','parentMenuId':'3','name':a6_0x280adf(0x1e7),'urlPath':'/5','componentId':'abc','extArg':'','iconCls':a6_0x280adf(0x20a),'sort':0x1},{'menuId':'6','parentMenuId':'5','name':a6_0x280adf(0x1ee),'urlPath':'/6','componentId':a6_0x280adf(0x1fd),'extArg':'','iconCls':'icon-adduser','sort':0x1},{'menuId':'7','parentMenuId':'5','name':a6_0x280adf(0x1ec),'urlPath':'/7','componentId':a6_0x280adf(0x1fd),'extArg':'','iconCls':a6_0x280adf(0x20a),'sort':0x1}];export{App as A,registerFetchEncryptChecker as r};
@@ -1 +1 @@
1
- (function(_0x3fcb22,_0x4d6a46){var _0xb76110=a7_0x36da,_0x1a6954=_0x3fcb22();while(!![]){try{var _0x146eb2=parseInt(_0xb76110(0x1e3))/0x1+parseInt(_0xb76110(0x1e8))/0x2*(-parseInt(_0xb76110(0x1ec))/0x3)+-parseInt(_0xb76110(0x1e1))/0x4*(parseInt(_0xb76110(0x1e4))/0x5)+-parseInt(_0xb76110(0x1eb))/0x6*(parseInt(_0xb76110(0x1e2))/0x7)+-parseInt(_0xb76110(0x1e0))/0x8*(parseInt(_0xb76110(0x1e9))/0x9)+parseInt(_0xb76110(0x1e5))/0xa*(parseInt(_0xb76110(0x1e7))/0xb)+parseInt(_0xb76110(0x1ea))/0xc*(parseInt(_0xb76110(0x1e6))/0xd);if(_0x146eb2===_0x4d6a46)break;else _0x1a6954['push'](_0x1a6954['shift']());}catch(_0x2badb4){_0x1a6954['push'](_0x1a6954['shift']());}}}(a7_0xcc8c,0x28894));function a7_0xcc8c(){var _0x1aff7c=['158944hPstFt','28CKuSIA','91uSmOgS','195679eLnbXu','148015KCwtSQ','10DTmrwN','1729jWjXwr','1448843uVqQCx','91244gSoqMY','117BErCVX','68568okrEDR','126150FLHBiQ','12TvQHge'];a7_0xcc8c=function(){return _0x1aff7c;};return a7_0xcc8c();}import'./../assets/app/app.css';function a7_0x36da(_0xde6652,_0x2dc11f){var _0xcc8ceb=a7_0xcc8c();return a7_0x36da=function(_0x36da1b,_0x1675b2){_0x36da1b=_0x36da1b-0x1e0;var _0x2fc8dd=_0xcc8ceb[_0x36da1b];return _0x2fc8dd;},a7_0x36da(_0xde6652,_0x2dc11f);}import{A as a7_0xfb0fe7}from'./app/app.js';import{r}from'./app/app.js';export{a7_0xfb0fe7 as default,r as registerFetchEncryptChecker};
1
+ (function(_0x243df3,_0x4de740){var _0x3526f1=a7_0x3804,_0x316fdd=_0x243df3();while(!![]){try{var _0x390722=parseInt(_0x3526f1(0x1eb))/0x1*(parseInt(_0x3526f1(0x1f2))/0x2)+-parseInt(_0x3526f1(0x1ec))/0x3+-parseInt(_0x3526f1(0x1ee))/0x4+-parseInt(_0x3526f1(0x1ea))/0x5*(-parseInt(_0x3526f1(0x1ef))/0x6)+parseInt(_0x3526f1(0x1f1))/0x7+-parseInt(_0x3526f1(0x1ed))/0x8*(-parseInt(_0x3526f1(0x1f0))/0x9)+-parseInt(_0x3526f1(0x1e9))/0xa;if(_0x390722===_0x4de740)break;else _0x316fdd['push'](_0x316fdd['shift']());}catch(_0x156f77){_0x316fdd['push'](_0x316fdd['shift']());}}}(a7_0x5614,0x35d5c));function a7_0x3804(_0x54f67a,_0x225dc0){var _0x561489=a7_0x5614();return a7_0x3804=function(_0x380416,_0x1a70e6){_0x380416=_0x380416-0x1e9;var _0x1c4133=_0x561489[_0x380416];return _0x1c4133;},a7_0x3804(_0x54f67a,_0x225dc0);}import{A as a7_0x1ac5dc}from'./app/app.js';import{r}from'./app/app.js';import{I}from'./page/index/IndexPage.js';function a7_0x5614(){var _0x562139=['67108VdzVbC','12EqhBAF','261459byodrV','1246868uFsmwz','14qWLwYf','2848420zoMLYV','623150WwZjRw','25267cDoYjq','943602eZEsxs','64gOCfHD'];a7_0x5614=function(){return _0x562139;};return a7_0x5614();}export{I as IndexPage,a7_0x1ac5dc as default,r as registerFetchEncryptChecker};
@@ -1 +1 @@
1
- const a8_0x39607d=a8_0x1094;function a8_0x5a9e(){const _0x549417=['_curPlatform','validateFields','light','props','vertical','4881390vGMbSt','keys','reload','none','_cachePanelShowMenu','email','children','4jnfNJh','logo-sub-title','modify','账号详情','pointer','#108ee9','location','noticeSuccess','fontSize','stopPropagation','componentDidMount','onTabChange','horizontal','forEach','primary','bind','onSelect','account','then','setData','platformSwitch','addItems','backgroundColor','grid','split','setFieldsValue','newPwd','_createTabs','6777oqaPUi','closeLoadingIndicator','header-logo','12664nKOUNn','209saRBAD','block','parentMenu','默认平台','transparent','修改密码','_account','_saveCacheTabsItems','defaultProps','platforms','newPwd2','Password','#fff','showDoingIndicator','closeSpin','showSpin','header','请输入确认密码','_ctx','close','join','100%','Content','end','fontColor','bottom','onSuccess','请输入邮箱!','setActiveKey','355061nATlMc','两次新密码输入不一致','show','logo','space-between','closeDoingIndicator','请输入新密码!','57jeuzDA','workbench-index-layout','color','/login?backUrl=','div','setState','onCancel','_getCacheTabsItems','form','platformMenu','rgba(0,\x200,\x200,\x200.88)','small','right','\x22吗?','alertFail','showLoadingIndicator','2315630thFdLI','inline','name','showDetails','renderSpin','_getCacheTabsCookieName','logo-title','presenter','加载中...','_tabsShowMenu','iconCls','window','left','platformId','get','flex','error','新密码不能与旧密码相同','current','4216965FwpeRq','3456082tuUHGg','header-title','_menuChange','_createTabItem','处理中...','icon','activeBarHeight','ct_','menuId','state','Header','tab','item','请输入旧密码!','resetPwd','_search','退出登录','_onModify','info','border','#FFF','请输入确认密码!','clearItems','render','active','profile','登录超时,需要重新登录','Item','noticeFail','accountId','data','ctm_','#eee','width','parent','setItems','platformList','请输入名称!','tabs','tabsMap','menu','curMenu','确定要退出登录吗?','push','/_res/logo/','max-content','roleNames','修改密码成功','关联平台','请输入邮箱','116540FbAsOS','platform','logo-img','新密码','_onSubmit','cachePanel','个人资料','userPlatformId','key','itemHeight','header-menu','logout','length','请输入旧密码','platformName','userPlatformName','exitItem','href','_closeForm','menuItems','menu-box','span','sort'];a8_0x5a9e=function(){return _0x549417;};return a8_0x5a9e();}(function(_0x51da59,_0x1fc11){const _0x3c08f5=a8_0x1094,_0x1571c3=_0x51da59();while(!![]){try{const _0x6b972a=-parseInt(_0x3c08f5(0x254))/0x1*(parseInt(_0x3c08f5(0x217))/0x2)+parseInt(_0x3c08f5(0x25b))/0x3*(-parseInt(_0x3c08f5(0x1f4))/0x4)+-parseInt(_0x3c08f5(0x1c1))/0x5+-parseInt(_0x3c08f5(0x210))/0x6+parseInt(_0x3c08f5(0x1c2))/0x7+parseInt(_0x3c08f5(0x236))/0x8*(-parseInt(_0x3c08f5(0x233))/0x9)+parseInt(_0x3c08f5(0x26b))/0xa*(parseInt(_0x3c08f5(0x237))/0xb);if(_0x6b972a===_0x1fc11)break;else _0x1571c3['push'](_0x1571c3['shift']());}catch(_0x14c511){_0x1571c3['push'](_0x1571c3['shift']());}}}(a8_0x5a9e,0xbe9eb));import{jsxs,jsx,Fragment}from'react/jsx-runtime';import{Form,Input,Row,Space,Button,Flex,Tag,Card,Layout,Dropdown,ConfigProvider,Menu,Avatar,Breadcrumb}from'antd';import{DownOutlined,UserOutlined,SettingOutlined,LogoutOutlined}from'@ant-design/icons';import{useState,useEffect,useCallback,useRef}from'react';import a8_0xc6be05,{md5,getCookie,setCookie,removeCookie}from'threels-workbench-core';import{BaseComponent,Table,Drawer,Modal,Descriptions,Tip,SvgIcon,Tabs,CachePanel}from'threels-workbench-component';import{W as a8_0x127948,u as a8_0x48869b,a as a8_0xbcd9d2}from'../../presenter/presenter.js';function a8_0x1094(_0x437712,_0x1ac7d4){const _0x5a9ec8=a8_0x5a9e();return a8_0x1094=function(_0x10949c,_0x355093){_0x10949c=_0x10949c-0x1b7;let _0xadb1e8=_0x5a9ec8[_0x10949c];return _0xadb1e8;},a8_0x1094(_0x437712,_0x1ac7d4);}import{useLocation,useNavigate}from'react-router';class AccountPwdForm extends BaseComponent{static [a8_0x39607d(0x23f)]={'onSuccess':void 0x0};constructor(_0x14a328){const _0x425d39=a8_0x39607d;super(_0x14a328),this[_0x425d39(0x272)]=new a8_0x127948(this);}['_closeForm'](){const _0x38bafc=a8_0x39607d;this['props'][_0x38bafc(0x261)]&&this['props'][_0x38bafc(0x261)]();}['_onSubmit'](){const _0x5e41f3=a8_0x39607d;this[_0x5e41f3(0x263)][_0x5e41f3(0x20c)]()[_0x5e41f3(0x229)](_0x548d48=>{const _0x44ae7b=_0x5e41f3;let {oldPwd:_0x3258bd,newPwd:_0x4b6a38,newPwd2:_0x1a7014}=_0x548d48;if(_0x3258bd===_0x4b6a38){this[_0x44ae7b(0x1de)](_0x44ae7b(0x1bf));return;}if(_0x4b6a38!==_0x1a7014){this[_0x44ae7b(0x1de)](_0x44ae7b(0x255));return;}this[_0x44ae7b(0x244)](_0x44ae7b(0x1c6)),this[_0x44ae7b(0x272)][_0x44ae7b(0x1d0)]({'oldPwd':_0x3258bd,'newPwd':_0x4b6a38},{},()=>{const _0x1dd5fc=_0x44ae7b;this[_0x1dd5fc(0x21e)](_0x1dd5fc(0x1f1)),this[_0x1dd5fc(0x20e)]['onSuccess']&&this['props'][_0x1dd5fc(0x251)]();});});}['showLoadingIndicator'](_0x550be9){const _0x131e9f=a8_0x39607d;this[_0x131e9f(0x246)](_0x550be9);}[a8_0x39607d(0x234)](){const _0x26263e=a8_0x39607d;this[_0x26263e(0x245)]();}[a8_0x39607d(0x244)](_0x237359){const _0x3790a8=a8_0x39607d;this[_0x3790a8(0x246)](_0x237359);}['closeDoingIndicator'](){const _0x2e4e3b=a8_0x39607d;this[_0x2e4e3b(0x245)]();}[a8_0x39607d(0x1d9)](){const _0x44d5c8=a8_0x39607d;return this[_0x44d5c8(0x26f)](jsxs(Form,{'ref':_0x9ed73=>this[_0x44d5c8(0x263)]=_0x9ed73,'layout':_0x44d5c8(0x20f),'children':[jsx(Form[_0x44d5c8(0x1dd)],{'label':'旧密码','name':'oldPwd','rules':[{'required':!![],'message':_0x44d5c8(0x1cf)}],'children':jsx(Input[_0x44d5c8(0x242)],{'placeholder':_0x44d5c8(0x201)})}),jsx(Form[_0x44d5c8(0x1dd)],{'label':_0x44d5c8(0x1f7),'name':_0x44d5c8(0x231),'rules':[{'required':!![],'message':_0x44d5c8(0x25a)}],'children':jsx(Input[_0x44d5c8(0x242)],{'placeholder':'请输入密码'})}),jsx(Form['Item'],{'label':'确认密码','name':_0x44d5c8(0x241),'rules':[{'required':!![],'message':_0x44d5c8(0x1d7)}],'children':jsx(Input[_0x44d5c8(0x242)],{'placeholder':_0x44d5c8(0x248)})}),jsx(Row,{'type':_0x44d5c8(0x1bd),'justify':_0x44d5c8(0x24e),'children':jsxs(Space,{'children':[jsx(Button,{'onClick':this[_0x44d5c8(0x206)][_0x44d5c8(0x226)](this),'children':'取消'}),jsx(Button,{'type':_0x44d5c8(0x225),'onClick':this['_onSubmit'][_0x44d5c8(0x226)](this),'children':'修改'})]})})]}));}}class AccountPlatformGrid extends BaseComponent{static [a8_0x39607d(0x23f)]={'accountId':void 0x0,'onPlatformChange':void 0x0};constructor(_0x4a753f){const _0x711d13=a8_0x39607d;super(_0x4a753f),this[_0x711d13(0x272)]=new a8_0x127948(this);}[a8_0x39607d(0x221)](){const _0x214a59=a8_0x39607d;this[_0x214a59(0x1d1)]();}['_search'](){const _0x58661a=a8_0x39607d;this[_0x58661a(0x26a)](_0x58661a(0x273)),this['presenter'][_0x58661a(0x1e6)]({},{},_0x2df9df=>{const _0x5b8ad4=_0x58661a;this[_0x5b8ad4(0x22e)][_0x5b8ad4(0x22a)](_0x2df9df[_0x5b8ad4(0x1e0)]);});}['showLoadingIndicator'](_0x3e7be0,_0x4a86d5={}){const _0x8c6e8c=a8_0x39607d;this[_0x8c6e8c(0x22e)]['showLoadingIndicator']();}['closeLoadingIndicator'](){const _0x3ab26c=a8_0x39607d;this[_0x3ab26c(0x22e)][_0x3ab26c(0x234)]();}[a8_0x39607d(0x1d9)](){const _0x3d3c1b=a8_0x39607d;return jsx(Table,{'ref':_0x5d6c7d=>{const _0x2fdce3=a8_0x1094;this[_0x2fdce3(0x22e)]=_0x5d6c7d;},'scroll':{'x':_0x3d3c1b(0x1ef)},'className':'table-margin-hide','_showPage':![],'rowKey':_0x353659=>_0x353659['id'],'size':_0x3d3c1b(0x266),'columns':[{'title':'平台','dataIndex':_0x3d3c1b(0x1f5),'fixed':_0x3d3c1b(0x1ba),'render':(_0x51b185,_0x437451)=>{const _0x1b6bb5=_0x3d3c1b;let {platformName:_0x576994,userPlatform:_0x63dd95,userPlatformName:_0x173c64,mainPlatform:_0xd1e394}=_0x437451;if(_0x63dd95)return jsxs(Flex,{'justify':'space-between','children':[jsxs(Space,{'children':[jsx(Tag,{'children':_0x576994}),jsx(Tag,{'children':_0x173c64})]}),_0xd1e394&&jsx(Tag,{'color':_0x1b6bb5(0x1be),'children':_0x1b6bb5(0x23a)})]});return jsxs(Flex,{'justify':_0x1b6bb5(0x258),'children':[jsx(Tag,{'children':_0x576994}),_0xd1e394&&jsx(Tag,{'color':_0x1b6bb5(0x1be),'children':_0x1b6bb5(0x23a)})]});}},{'title':'角色','dataIndex':_0x3d3c1b(0x1f0),'render':(_0x157b41,_0x4bc0a9)=>{const _0x50eb87=_0x3d3c1b;let {roleNames:_0x213de6}=_0x4bc0a9;if(_0x213de6)return _0x213de6[_0x50eb87(0x22f)](',')['map']((_0x2d35db,_0x33727d)=>jsx(Tag,{'children':_0x2d35db},_0x33727d));return null;}}]});}}class AccountModifyForm extends BaseComponent{static ['defaultProps']={'onSuccess':void 0x0};constructor(_0x73ebae){const _0xc2966e=a8_0x39607d;super(_0x73ebae),this[_0xc2966e(0x272)]=new a8_0x127948(this);}[a8_0x39607d(0x221)](){const _0x2a6052=a8_0x39607d;this[_0x2a6052(0x1d1)]();}[a8_0x39607d(0x1d1)](){const _0x58a883=a8_0x39607d;this['showLoadingIndicator'](_0x58a883(0x273)),this[_0x58a883(0x272)]['info']({},{},_0x2340ca=>{const _0x2caf45=_0x58a883;this[_0x2caf45(0x263)][_0x2caf45(0x230)](_0x2340ca[_0x2caf45(0x1e0)]);});}[a8_0x39607d(0x206)](){const _0x29bf9a=a8_0x39607d;this[_0x29bf9a(0x20e)][_0x29bf9a(0x261)]&&this[_0x29bf9a(0x20e)][_0x29bf9a(0x261)]();}[a8_0x39607d(0x1f8)](){const _0x24edcb=a8_0x39607d;this[_0x24edcb(0x263)][_0x24edcb(0x20c)]()[_0x24edcb(0x229)](_0x5c1788=>{const _0xed1bb5=_0x24edcb;this[_0xed1bb5(0x244)](_0xed1bb5(0x1c6)),this[_0xed1bb5(0x272)][_0xed1bb5(0x219)]({..._0x5c1788},{},()=>{const _0x1855b2=_0xed1bb5;this[_0x1855b2(0x21e)]('修改成功'),this['props'][_0x1855b2(0x251)]&&this[_0x1855b2(0x20e)][_0x1855b2(0x251)]();});});}[a8_0x39607d(0x26a)](_0x2bf93d){const _0x4ae764=a8_0x39607d;this[_0x4ae764(0x246)](_0x2bf93d);}['closeLoadingIndicator'](){const _0x421584=a8_0x39607d;this[_0x421584(0x245)]();}[a8_0x39607d(0x244)](_0x2608de){const _0x4f68e3=a8_0x39607d;this[_0x4f68e3(0x246)](_0x2608de);}[a8_0x39607d(0x259)](){this['closeSpin']();}[a8_0x39607d(0x1d9)](){const _0x981742=a8_0x39607d;return this[_0x981742(0x26f)](jsxs(Form,{'ref':_0x3c3aa7=>this[_0x981742(0x263)]=_0x3c3aa7,'layout':'vertical','children':[jsx(Form[_0x981742(0x1dd)],{'label':'名称','name':_0x981742(0x26d),'rules':[{'required':!![],'message':_0x981742(0x1e7)}],'children':jsx(Input,{'placeholder':'请输入名称'})}),jsx(Form[_0x981742(0x1dd)],{'label':'手机','name':'mobile','rules':[{'required':!![],'message':'请输入手机!'}],'children':jsx(Input,{'placeholder':'请输入手机'})}),jsx(Form['Item'],{'label':'邮箱','name':_0x981742(0x215),'rules':[{'required':!![],'message':_0x981742(0x252)}],'children':jsx(Input,{'placeholder':_0x981742(0x1f3)})}),jsx(Row,{'type':_0x981742(0x1bd),'justify':'end','children':jsxs(Space,{'children':[jsx(Button,{'onClick':this[_0x981742(0x206)][_0x981742(0x226)](this),'children':'取消'}),jsx(Button,{'type':'primary','onClick':this['_onSubmit']['bind'](this),'children':'修改'})]})})]}));}}class AccountDetail extends BaseComponent{static['showDetails'](){const _0x33f8b5=a8_0x39607d;let _0xe42b0d=Drawer['show'](jsx(AccountDetail,{'onCancel':()=>{const _0x20ad52=a8_0x1094;_0xe42b0d()[_0x20ad52(0x24a)]();}}),{'title':_0x33f8b5(0x21a),'width':0x320,'bodyStyle':{'padding':0xa}});}constructor(_0x3d80db){super(_0x3d80db),this['presenter']=new a8_0x127948(this),this['state']={'data':{}};}[a8_0x39607d(0x221)](){const _0x1e6d90=a8_0x39607d;this[_0x1e6d90(0x1d1)]();}[a8_0x39607d(0x26a)](_0x4bda02){const _0xc2d704=a8_0x39607d;this[_0xc2d704(0x246)](_0x4bda02);}[a8_0x39607d(0x234)](){this['closeSpin']();}[a8_0x39607d(0x1d1)](){const _0x5cc298=a8_0x39607d;this[_0x5cc298(0x26a)](_0x5cc298(0x273)),this[_0x5cc298(0x272)][_0x5cc298(0x1d4)]({},{},_0x519cdd=>{const _0x565103=_0x5cc298;this[_0x565103(0x260)]({'data':_0x519cdd[_0x565103(0x1e0)]});});}[a8_0x39607d(0x1d3)](){const _0xfbbcce=a8_0x39607d;let _0x34f638=Modal[_0xfbbcce(0x256)](jsx(AccountModifyForm,{'onCancel':()=>{_0x34f638()['close']();},'onSuccess':()=>{const _0x29a987=_0xfbbcce;_0x34f638()['close'](),this[_0x29a987(0x1d1)]();}}),{'title':'修改信息'});}[a8_0x39607d(0x1d9)](){const _0xb781b3=a8_0x39607d;let {data:_0x197c4c}=this[_0xb781b3(0x1cb)];return this[_0xb781b3(0x26f)](jsxs(Space,{'direction':'vertical','style':{'width':_0xb781b3(0x24c)},'children':[jsx(Card,{'title':'基本信息','size':_0xb781b3(0x266),'extra':jsx(Space,{'children':jsx(Button,{'size':_0xb781b3(0x266),'type':_0xb781b3(0x225),'onClick':this['_onModify'][_0xb781b3(0x226)](this),'children':'修改'})}),'children':jsx(Descriptions,{'bordered':!![],'column':0x1,'size':_0xb781b3(0x266),'items':this['state'][_0xb781b3(0x1e0)]?[{'label':'账号ID','children':_0x197c4c[_0xb781b3(0x1df)]},{'label':'账号','children':_0x197c4c[_0xb781b3(0x228)]},{'label':'名称','children':_0x197c4c[_0xb781b3(0x26d)]},{'label':'手机','children':_0x197c4c['mobile']},{'label':'邮箱','children':_0x197c4c['email']}]:[]})}),jsx(Card,{'title':_0xb781b3(0x1f2),'size':_0xb781b3(0x266),'children':jsx(AccountPlatformGrid,{})})]}));}}const defaultStyle={'header':{'backgroundColor':'#fff','fontColor':a8_0x39607d(0x265),'logo':{'height':0x28,'width':0x28},'border':{'bottom':{'width':0x1,'color':a8_0x39607d(0x1e2)}},'account':{'backgroundColor':a8_0x39607d(0x21c),'fontColor':a8_0x39607d(0x243)},'menu':{'backgroundColor':'transparent','fontSize':0xf,'activeBarHeight':0x4,'active':{'fontColor':a8_0x39607d(0x21c),'backgroundColor':a8_0x39607d(0x23b)}}},'left':{'width':0xf0,'backgroundColor':'#ffffff','fontColor':'rgba(0,\x200,\x200,\x200.88)','border':{'right':{'width':0x1,'color':a8_0x39607d(0x1e2)}},'menu':{'itemHeight':0x30,'fontSize':0xf,'active':{'fontColor':a8_0x39607d(0x1d6),'backgroundColor':a8_0x39607d(0x21c)}}}};function IndexPage(_0x83428d){const _0x13969f=a8_0x39607d;let {loginAccount:_0x1bc167,curPlatform:_0x2b7833,menuItems:_0x32f3a8,style:style=defaultStyle}=_0x83428d;!_0x1bc167&&(_0x1bc167=a8_0xc6be05[_0x13969f(0x1bc)]('_account'));!_0x2b7833&&(_0x2b7833=a8_0xc6be05[_0x13969f(0x1bc)](_0x13969f(0x20b)));if(!_0x1bc167||!_0x2b7833)return Tip[_0x13969f(0x269)](_0x13969f(0x1dc),{'onOk':()=>{const _0x3cd770=_0x13969f,_0xb334bf=encodeURIComponent(window[_0x3cd770(0x1e4)][_0x3cd770(0x1b9)][_0x3cd770(0x21d)][_0x3cd770(0x205)]);window[_0x3cd770(0x1e4)][_0x3cd770(0x1b9)]['location'][_0x3cd770(0x205)]=window[_0x3cd770(0x249)]+_0x3cd770(0x25e)+_0xb334bf;}}),null;let {platform:_0xe52ee5,topMenu:_0x11971b,rightComponent:_0x39f6a2,showTab:_0x4bc467,showNav:_0x231e4a,keepMenu:_0x3ff966,tabCache:_0xe66bbf}=_0x83428d,[_0x249412,_0x3f3095]=useState([]),[_0x8c1fe7,_0x58b048]=useState({}),[_0x1eb9c5,_0x3b5487]=useState(null),_0x48cdde=useLocation(),_0xf07c93=useNavigate();const {pathname:_0x5edb22}=_0x48cdde;let _0x4e159d=a8_0x48869b();useEffect(()=>{const _0x56887a=_0x13969f,_0x4bc1bb=_0x3671a5=>{let {menus:_0x4981ae,menusMap:_0x395d54}=wrapperMenus(_0x3671a5),_0x34e14a=findCurMenu(_0x4981ae,_0x5edb22);_0x34e14a==null&&(_0x34e14a=findDefaultMenu(_0x4981ae));if(_0x34e14a){let {urlPath:_0x45e718}=_0x34e14a;_0x5edb22!==_0x45e718&&_0xf07c93(_0x45e718);}_0x3b5487(_0x34e14a),_0x3f3095(_0x4981ae),_0x58b048(_0x395d54);};_0x32f3a8?_0x4bc1bb(_0x32f3a8):(_0x4e159d[_0x56887a(0x26a)](),_0x4e159d[_0x56887a(0x264)]({},{},_0x47cc16=>{const _0x490b6e=_0x56887a;_0x4bc1bb(_0x47cc16[_0x490b6e(0x207)]);}));},[]);const _0x20c147=useCallback(_0x536938=>{if(_0x536938){let {urlPath:_0x789413}=_0x536938;_0xf07c93(_0x789413);}_0x3b5487(_0x536938);},[]);return jsxs(Layout,{'className':_0x13969f(0x25c),'children':[jsxs(Layout[_0x13969f(0x1cc)],{'className':'layout-header','style':{'height':0x41,'background':style[_0x13969f(0x247)][_0x13969f(0x22d)],'borderBottom':style[_0x13969f(0x247)]['border'][_0x13969f(0x250)][_0x13969f(0x1e3)]+'px\x20solid\x20'+style[_0x13969f(0x247)][_0x13969f(0x1d5)][_0x13969f(0x250)][_0x13969f(0x25d)]},'children':[jsx(LogoComponent,{'platform':_0xe52ee5,'style':style}),_0x11971b&&jsx(TopMenu,{'menus':_0x249412,'menusMap':_0x8c1fe7,'curMenu':_0x1eb9c5,'onSelect':_0x20c147,'style':style}),jsx('div',{'className':'header-info','children':jsxs(Space,{'size':0x10,'children':[_0x39f6a2,jsx(AccountComponent,{'style':style})]})})]}),jsxs(Layout,{'children':[jsx(LeftMenu,{'topMenu':_0x11971b,'menus':_0x249412,'menusMap':_0x8c1fe7,'curMenu':_0x1eb9c5,'onSelect':_0x20c147,'style':style}),jsx(Layout[_0x13969f(0x24d)],{'style':{'padding':0xa,'backgroundColor':'#FFF'},'children':jsx(MenuContent,{'menus':_0x249412,'menusMap':_0x8c1fe7,'curMenu':_0x1eb9c5,'showTab':_0x4bc467,'showNav':_0x231e4a,'topMenu':_0x11971b,'keepMenu':_0x3ff966,'tabCache':_0xe66bbf,'onTabChange':_0x20c147,'style':style})})]})]});}function LogoComponent(_0x5c558a){const _0x3c716b=a8_0x39607d;let {style:_0x4bd974}=_0x5c558a,_0x3dad7d=a8_0xc6be05[_0x3c716b(0x1bc)](_0x3c716b(0x23d)),_0x49dc9f=a8_0xc6be05[_0x3c716b(0x1bc)]('_curPlatform');const _0x2cd039=a8_0x48869b();let {platform:_0x3c20e1}=_0x5c558a;const _0x3f732b=useCallback(_0x1278de=>{const _0x3bcef4=_0x3c716b;Tip['confirm']('确定要切换到\x22'+_0x1278de[_0x3bcef4(0x203)]+_0x3bcef4(0x268),()=>{const _0x2301d9=_0x3bcef4;_0x2cd039[_0x2301d9(0x22b)]({'userPlatformId':_0x1278de['userPlatformId']},{},()=>{const _0xe421cf=_0x2301d9;window[_0xe421cf(0x21d)][_0xe421cf(0x212)]();});});},[]);return jsxs(_0x3c716b(0x25f),{'className':_0x3c716b(0x235),'style':{'minWidth':0xdc},'children':[jsx('img',{'className':_0x3c716b(0x1f6),'src':window['_ctx']+_0x3c716b(0x1ee)+_0x3c20e1,'alt':_0x3c716b(0x257),'style':{'height':_0x4bd974[_0x3c716b(0x247)][_0x3c716b(0x257)]['height'],'width':_0x4bd974[_0x3c716b(0x247)]['logo']['width']}}),jsxs(_0x3c716b(0x25f),{'className':_0x3c716b(0x1c3),'children':[jsx(_0x3c716b(0x25f),{'className':_0x3c716b(0x271),'style':{'color':_0x4bd974[_0x3c716b(0x247)][_0x3c716b(0x24f)]},'children':_0x49dc9f[_0x3c716b(0x202)]}),_0x3dad7d[_0x3c716b(0x240)][_0x3c716b(0x200)]>0x1?jsx(Dropdown,{'menu':((()=>{const _0xf64129=_0x3c716b;let _0x1a547b=[];return _0x3dad7d[_0xf64129(0x240)][_0xf64129(0x224)](_0x5cc857=>{const _0x1c3f12=_0xf64129;_0x5cc857[_0x1c3f12(0x203)]!==_0x49dc9f['userPlatformName']&&_0x1a547b['push']({'key':_0x5cc857[_0x1c3f12(0x1fb)],'label':_0x5cc857[_0x1c3f12(0x203)],'onClick':()=>_0x3f732b(_0x5cc857)});}),{'items':_0x1a547b};})()),'children':jsx(_0x3c716b(0x25f),{'className':_0x3c716b(0x218),'style':{'cursor':_0x3c716b(0x21b)},'children':jsxs(Space,{'children':[jsx(_0x3c716b(0x209),{'style':{'color':_0x4bd974['header'][_0x3c716b(0x24f)]},'children':_0x49dc9f[_0x3c716b(0x203)]}),jsx(_0x3c716b(0x209),{'style':{'color':_0x4bd974['header']['fontColor']},'children':jsx(DownOutlined,{})})]})})}):jsx('div',{'className':_0x3c716b(0x218),'style':{'color':_0x4bd974[_0x3c716b(0x247)][_0x3c716b(0x24f)]},'children':_0x49dc9f[_0x3c716b(0x203)]})]})]});}function AccountComponent(_0x25cdcc){const _0x5a6ae7=a8_0x39607d;let {style:_0x2fdc99}=_0x25cdcc,_0x5583c6=a8_0xc6be05['get']('_account');const _0x5035b8=a8_0xbcd9d2(),_0x4554e8=useCallback(()=>{const _0xc11e1b=a8_0x1094;Tip['confirm'](_0xc11e1b(0x1ec),()=>{_0x5035b8['loginOut']({},{},()=>{const _0x29959e=a8_0x1094;window[_0x29959e(0x21d)][_0x29959e(0x205)]=window[_0x29959e(0x249)]+'/login';});});},[]),_0x5c941d=useCallback(()=>{const _0x373067=a8_0x1094;let _0x5816da=Modal['show'](jsx(AccountPwdForm,{'onCancel':()=>{const _0x1a89ea=a8_0x1094;_0x5816da()[_0x1a89ea(0x24a)]();},'onSuccess':()=>{_0x5816da()['close']();}}),{'title':_0x373067(0x23c)});},[]);return jsx(Dropdown,{'menu':{'items':[{'key':_0x5a6ae7(0x1db),'icon':jsx(UserOutlined,{}),'label':_0x5a6ae7(0x1fa),'onClick':()=>{const _0x457c1f=_0x5a6ae7;AccountDetail[_0x457c1f(0x26e)]();}},{'key':'settings','icon':jsx(SettingOutlined,{}),'label':_0x5a6ae7(0x23c),'onClick':_0x5c941d},{'type':'divider'},{'key':_0x5a6ae7(0x1ff),'icon':jsx(LogoutOutlined,{}),'label':_0x5a6ae7(0x1d2),'onClick':_0x4554e8}]},'children':jsxs(Space,{'style':{'cursor':_0x5a6ae7(0x21b)},'children':[jsx(Avatar,{'size':0x20,'icon':jsx(UserOutlined,{'style':{'color':_0x2fdc99[_0x5a6ae7(0x247)][_0x5a6ae7(0x228)][_0x5a6ae7(0x24f)]}}),'style':{'backgroundColor':_0x2fdc99[_0x5a6ae7(0x247)][_0x5a6ae7(0x228)][_0x5a6ae7(0x22d)]}}),jsx(_0x5a6ae7(0x209),{'style':{'color':_0x2fdc99[_0x5a6ae7(0x247)][_0x5a6ae7(0x24f)]},'children':_0x5583c6[_0x5a6ae7(0x26d)]})]})});}function TopMenu(_0x2bed9a){const _0x2ac653=a8_0x39607d;let {menus:_0x287795,curMenu:_0x53643f,style:_0x5f21f4}=_0x2bed9a,[_0x1ca1aa,_0x1a5c71]=useState(null),_0x30e108=useRef(_0x53643f);const _0x1f18b3=useCallback(({item:_0x1664f1,domEvent:_0x35a470})=>{const _0x3ee9f9=a8_0x1094;_0x35a470[_0x3ee9f9(0x220)]();let {data:_0x487e3d,children:_0x5e4185}=_0x1664f1[_0x3ee9f9(0x20e)][_0x3ee9f9(0x1ce)];_0x5e4185&&_0x5e4185[_0x3ee9f9(0x200)]>0x0&&(_0x487e3d=findDefaultMenu(_0x5e4185)),_0x2bed9a[_0x3ee9f9(0x227)](_0x487e3d);},[]);if(!_0x53643f&&!_0x30e108[_0x2ac653(0x1c0)]||!_0x287795||_0x287795[_0x2ac653(0x200)]===0x0)return null;let _0x29ab85=null,_0x35e0cd=_0x287795['map'](_0x403f39=>{const _0x5988bb=_0x2ac653;let {menuId:_0x25cfcf}=_0x53643f||_0x30e108[_0x5988bb(0x1c0)];if(_0x25cfcf===_0x403f39[_0x5988bb(0x1fc)])_0x29ab85=_0x403f39[_0x5988bb(0x1fc)];else curMenuInMenus({'curMenu':_0x53643f||_0x30e108['current'],'menus':_0x403f39[_0x5988bb(0x216)]})&&(_0x29ab85=_0x403f39[_0x5988bb(0x1fc)]);return{'key':_0x403f39['key'],'label':jsx(_0x5988bb(0x209),{'style':{'fontSize':_0x5f21f4[_0x5988bb(0x247)]['menu']['fontSize']},'children':_0x403f39['label']}),'icon':_0x403f39[_0x5988bb(0x1c7)]?jsx(SvgIcon,{'id':_0x403f39[_0x5988bb(0x1c7)],'fontSize':_0x5f21f4[_0x5988bb(0x247)][_0x5988bb(0x1ea)][_0x5988bb(0x21f)]}):null,'item':_0x403f39};});return _0x29ab85!==_0x1ca1aa&&_0x1a5c71(_0x29ab85),_0x53643f&&(_0x30e108[_0x2ac653(0x1c0)]=_0x53643f),jsx(_0x2ac653(0x25f),{'className':_0x2ac653(0x1fe),'children':jsx('div',{'className':_0x2ac653(0x208),'children':jsx(ConfigProvider,{'theme':{'components':{'Menu':{'activeBarHeight':_0x5f21f4[_0x2ac653(0x247)][_0x2ac653(0x1ea)][_0x2ac653(0x1c8)],'itemBg':_0x5f21f4['header'][_0x2ac653(0x22d)],'darkItemBg':_0x5f21f4[_0x2ac653(0x247)][_0x2ac653(0x22d)],'itemColor':_0x5f21f4[_0x2ac653(0x247)][_0x2ac653(0x24f)],'darkItemColor':_0x5f21f4['header'][_0x2ac653(0x24f)],'horizontalItemHoverBg':_0x5f21f4[_0x2ac653(0x247)]['menu'][_0x2ac653(0x1da)][_0x2ac653(0x22d)],'horizontalItemHoverColor':_0x5f21f4['header'][_0x2ac653(0x1ea)][_0x2ac653(0x1da)][_0x2ac653(0x24f)],'horizontalItemSelectedBg':_0x5f21f4[_0x2ac653(0x247)][_0x2ac653(0x1ea)][_0x2ac653(0x1da)][_0x2ac653(0x22d)],'horizontalItemSelectedColor':_0x5f21f4[_0x2ac653(0x247)][_0x2ac653(0x1ea)][_0x2ac653(0x1da)]['fontColor'],'darkItemSelectedBg':_0x5f21f4['header']['menu'][_0x2ac653(0x1da)]['backgroundColor'],'itemHoverColor':_0x5f21f4[_0x2ac653(0x247)][_0x2ac653(0x1ea)]['active'][_0x2ac653(0x24f)]}}},'children':jsx(Menu,{'theme':_0x2ac653(0x20d),'mode':_0x2ac653(0x223),'items':_0x35e0cd,'selectedKeys':_0x1ca1aa?[_0x1ca1aa]:null,'onSelect':_0x1f18b3})})})});}function LeftMenu(_0x37fe70){const _0x3f3467=a8_0x39607d;let {menus:_0x10ed0b,topMenu:_0x51232e,curMenu:_0x48905a,style:_0x2bdc2e}=_0x37fe70,_0x179a94=useRef(_0x48905a),_0x2a025f=useRef(null),_0x3843db=findLeftMenu({'menus':_0x10ed0b,'curMenu':_0x48905a||_0x179a94[_0x3f3467(0x1c0)],'topMenu':_0x51232e}),[_0x17d100,_0x46dcd9]=useState([]);const _0x3c565f=useCallback(({item:_0x29e80e,domEvent:_0x33400d})=>{const _0x54c158=_0x3f3467;_0x33400d[_0x54c158(0x220)]();let {data:_0x419c80}=_0x29e80e[_0x54c158(0x20e)];_0x2a025f['current']=_0x419c80[_0x54c158(0x1ca)],_0x37fe70['onSelect'](_0x419c80);},[]);if(!_0x48905a&&!_0x179a94['current']||!_0x3843db||_0x3843db['length']===0x0)return null;if(_0x48905a&&(!_0x2a025f[_0x3f3467(0x1c0)]||_0x2a025f[_0x3f3467(0x1c0)]!==_0x48905a[_0x3f3467(0x1ca)])){let _0x81de65={};_0x3843db[_0x3f3467(0x224)](_0x51c090=>{const _0x232d29=_0x3f3467;_0x81de65[_0x51c090[_0x232d29(0x1fc)]]=!![];}),_0x17d100=findOpenMenuKeys(_0x48905a,_0x81de65),_0x17d100['length']>0x0&&_0x46dcd9(_0x17d100);}_0x48905a&&(_0x179a94[_0x3f3467(0x1c0)]=_0x48905a,_0x2a025f[_0x3f3467(0x1c0)]=_0x48905a[_0x3f3467(0x1ca)]);const _0x4d40c5=_0x12fe6c=>{const _0x5b8f00=_0x3f3467;if(!_0x12fe6c||_0x12fe6c['length']===0x0)return _0x12fe6c;let _0xea928a=[];for(let _0xeb90eb=0x0;_0xeb90eb<_0x12fe6c['length'];_0xeb90eb++){let {key:_0x5f446c,label:_0x43a1db,icon:_0x16b195,children:_0x3d3c08,data:_0xc6b30d}=_0x12fe6c[_0xeb90eb];_0x3d3c08&&_0x3d3c08[_0x5b8f00(0x200)]>0x0&&(_0x3d3c08=_0x4d40c5(_0x3d3c08)),_0xea928a['push']({'key':_0x5f446c,'label':jsx(_0x5b8f00(0x209),{'style':{'fontSize':_0x2bdc2e[_0x5b8f00(0x1ba)][_0x5b8f00(0x1ea)][_0x5b8f00(0x21f)]},'children':_0x43a1db}),'icon':_0x16b195?jsx(SvgIcon,{'id':_0x16b195,'fontSize':_0x2bdc2e[_0x5b8f00(0x1ba)]['menu'][_0x5b8f00(0x21f)]}):null,'children':_0x3d3c08,'data':_0xc6b30d});}return _0xea928a;};return jsx(Layout['Sider'],{'width':_0x2bdc2e[_0x3f3467(0x1ba)][_0x3f3467(0x1e3)],'collapsible':!![],'children':jsx(_0x3f3467(0x25f),{'className':'slider-menu','style':{'background':_0x2bdc2e[_0x3f3467(0x1ba)][_0x3f3467(0x22d)],'borderRight':_0x2bdc2e[_0x3f3467(0x1ba)][_0x3f3467(0x1d5)][_0x3f3467(0x267)][_0x3f3467(0x1e3)]+'px\x20solid\x20'+_0x2bdc2e['left']['border'][_0x3f3467(0x267)][_0x3f3467(0x25d)]},'children':jsx(ConfigProvider,{'theme':{'components':{'Menu':{'itemBg':_0x2bdc2e[_0x3f3467(0x1ba)]['backgroundColor'],'itemBorderRadius':0x0,'subMenuItemBorderRadius':0x0,'itemColor':_0x2bdc2e[_0x3f3467(0x1ba)]['fontColor'],'groupTitleColor':_0x2bdc2e[_0x3f3467(0x1ba)][_0x3f3467(0x24f)],'groupTitleFontSize':_0x2bdc2e[_0x3f3467(0x1ba)][_0x3f3467(0x21f)],'itemActiveBg':_0x2bdc2e[_0x3f3467(0x1ba)][_0x3f3467(0x1ea)][_0x3f3467(0x1da)][_0x3f3467(0x22d)],'itemHoverColor':_0x2bdc2e[_0x3f3467(0x1ba)][_0x3f3467(0x1ea)][_0x3f3467(0x1da)][_0x3f3467(0x24f)],'itemHoverBg':_0x2bdc2e['left'][_0x3f3467(0x1ea)][_0x3f3467(0x1da)]['backgroundColor'],'itemSelectedBg':_0x2bdc2e[_0x3f3467(0x1ba)][_0x3f3467(0x1ea)]['active']['backgroundColor'],'itemSelectedColor':_0x2bdc2e['left'][_0x3f3467(0x1ea)][_0x3f3467(0x1da)][_0x3f3467(0x24f)],'subMenuItemSelectedColor':_0x2bdc2e[_0x3f3467(0x1ba)][_0x3f3467(0x24f)],'itemMarginInline':0x0,'popupBg':_0x2bdc2e[_0x3f3467(0x1ba)]['backgroundColor'],'itemMarginBlock':0x0,'itemHeight':_0x2bdc2e[_0x3f3467(0x1ba)][_0x3f3467(0x1ea)][_0x3f3467(0x1fd)]}}},'children':jsx(Menu,{'theme':_0x3f3467(0x20d),'mode':_0x3f3467(0x26c),'openKeys':_0x17d100,'selectedKeys':_0x48905a?[_0x48905a[_0x3f3467(0x1ca)]]:[],'items':_0x4d40c5(_0x3843db),'onOpenChange':_0x2c8e69=>{_0x46dcd9(_0x2c8e69);},'onSelect':_0x3c565f})})})});}class MenuContent extends BaseComponent{constructor(_0x19acc9){const _0x1532ce=a8_0x39607d;super(_0x19acc9),this['registerPropListener'](_0x1532ce(0x1eb),_0x2a7d13=>{const _0x151e5f=_0x1532ce;this[_0x151e5f(0x1c4)](_0x2a7d13);}),this['tabsMap']={};}[a8_0x39607d(0x1c5)](_0x88365f){const _0x19d47d=a8_0x39607d;return{'key':_0x88365f[_0x19d47d(0x1ca)],'label':_0x88365f[_0x19d47d(0x26d)],'icon':_0x88365f[_0x19d47d(0x1b8)]?jsx(SvgIcon,{'id':_0x88365f[_0x19d47d(0x1b8)],'fontSize':0xf,'style':{'verticalAlign':-0x3}}):null,'children':_0x88365f[_0x19d47d(0x1ca)]+':'+_0x88365f[_0x19d47d(0x26d)],'data':_0x88365f};}[a8_0x39607d(0x232)](_0x2223b6,_0x392d92){const _0x35afc7=a8_0x39607d;let _0x3f29b5=this[_0x35afc7(0x262)](_0x392d92);return jsx(Tabs,{'ref':_0x2223b6,'activeKey':_0x392d92['menuId'],'items':_0x3f29b5,'animated':!![],'_drag':!![],'_showCloseBtn':!![],'type':'editable-card','hideAdd':!![],'size':_0x35afc7(0x266),'_onItemsChange':({items:_0x2b9610})=>{const _0x2845ef=_0x35afc7;this[_0x2845ef(0x23e)](_0x2b9610,this[_0x2845ef(0x20e)]['curMenu']);},'onChange':({item:_0x36f12a})=>{const _0x455318=_0x35afc7;this[_0x455318(0x20e)][_0x455318(0x222)]&&this['props'][_0x455318(0x222)]((_0x36f12a||{})[_0x455318(0x1e0)]);}});}['_getCacheTabsCookieName'](_0x1aa8f8){const _0x3abd88=a8_0x39607d;let _0x432cee=a8_0xc6be05['get'](_0x3abd88(0x23d)),_0x3b08e7=a8_0xc6be05[_0x3abd88(0x1bc)](_0x3abd88(0x20b)),{topMenu:_0x4fd899}=this[_0x3abd88(0x20e)],_0xc3a89f;if(_0x4fd899){let _0x47a1f0=findRootMenu(_0x1aa8f8);return _0xc3a89f=_0x47a1f0['menuId'],_0x3abd88(0x1e1)+md5(_0x3abd88(0x1c9)+(_0x3b08e7[_0x3abd88(0x1fb)]||_0x3b08e7[_0x3abd88(0x1bb)])+'-'+_0x432cee['accountId']+'-'+_0xc3a89f);}else return _0x3abd88(0x1e1)+md5('ct_'+(_0x3b08e7['userPlatformId']||_0x3b08e7['platformId'])+'-'+_0x432cee[_0x3abd88(0x1df)]);}['_getCacheTabsItems'](_0xd4df8e){const _0x5ac9d7=a8_0x39607d;let _0x4b7974=[],{tabCache:_0x251ed2,menusMap:_0x3159f8}=this[_0x5ac9d7(0x20e)];if(!_0x251ed2)return _0x4b7974[_0x5ac9d7(0x1ed)](this[_0x5ac9d7(0x1c5)](_0xd4df8e)),_0x4b7974;let _0x377289=getCookie(this[_0x5ac9d7(0x270)](_0xd4df8e)),_0x1d300c=_0x377289?_0x377289[_0x5ac9d7(0x22f)](','):[],_0x37bfa4=![];if(_0x1d300c[_0x5ac9d7(0x200)]>0x0)for(let _0x2da963=0x0;_0x2da963<_0x1d300c[_0x5ac9d7(0x200)];_0x2da963++){let _0x4d056d=_0x3159f8[_0x1d300c[_0x2da963]];if(!_0x4d056d)continue;_0x4d056d=_0x4d056d[_0x5ac9d7(0x1e0)],_0x4b7974['push'](this['_createTabItem'](_0x4d056d)),_0x4d056d[_0x5ac9d7(0x1ca)]===_0xd4df8e[_0x5ac9d7(0x1ca)]&&(_0x37bfa4=!![]);}return!_0x37bfa4&&_0x4b7974['push'](this[_0x5ac9d7(0x1c5)](_0xd4df8e)),_0x4b7974;}['_saveCacheTabsItems'](_0xbcd642,_0x2d21c5){const _0x65402b=a8_0x39607d;if(!_0x2d21c5)return;let {tabCache:_0x60c721}=this[_0x65402b(0x20e)];if(!_0x60c721)return;if(_0xbcd642&&_0xbcd642[_0x65402b(0x200)]>0x0){let _0x24b0a4=[];_0xbcd642[_0x65402b(0x224)](_0x56b350=>{const _0x3c3421=_0x65402b;_0x24b0a4[_0x3c3421(0x1ed)](_0x56b350[_0x3c3421(0x1fc)]);}),setCookie(this[_0x65402b(0x270)](_0x2d21c5),_0x24b0a4[_0x65402b(0x24b)](','));}else removeCookie(this[_0x65402b(0x270)](_0x2d21c5));}[a8_0x39607d(0x1c4)](_0x172e8f){const _0x17225e=a8_0x39607d;let {menus:_0x3272d1,topMenu:_0x9e8034,showTab:_0x5726f2}=this['props'];if(!_0x9e8034&&_0x5726f2){this[_0x17225e(0x1e8)]?this['_tabsShowMenu'](this[_0x17225e(0x1e8)],_0x172e8f):this[_0x17225e(0x1f9)][_0x17225e(0x1e5)]({'key':_0x17225e(0x1cd),'children':this[_0x17225e(0x232)](_0x4e01a1=>{this['tabs']=_0x4e01a1;},_0x172e8f)});return;}if(_0x9e8034){if(_0x5726f2){let _0x1b6a40=findLeftMenu({'menus':_0x3272d1,'curMenu':_0x172e8f,'topMenu':_0x9e8034});if(_0x1b6a40&&_0x1b6a40['length']>0x0){let _0x2713eb=findRootMenu(_0x172e8f);if(this[_0x17225e(0x1f9)]['exitItem'](_0x2713eb[_0x17225e(0x1ca)])){this[_0x17225e(0x1f9)]['setActiveKey'](_0x2713eb['menuId'],{'triggerOnChange':![]});let _0x252dcb=this[_0x17225e(0x1e9)][_0x2713eb[_0x17225e(0x1ca)]];this['_tabsShowMenu'](_0x252dcb,_0x172e8f);}else this[_0x17225e(0x1f9)][_0x17225e(0x22c)]({'key':_0x2713eb[_0x17225e(0x1ca)],'children':this[_0x17225e(0x232)](_0x4a29df=>{const _0x2f7d22=_0x17225e;this[_0x2f7d22(0x1e9)][_0x2713eb[_0x2f7d22(0x1ca)]]=_0x4a29df;},_0x172e8f)},{'activeKey':_0x2713eb[_0x17225e(0x1ca)],'triggerOnChange':![]});}else this[_0x17225e(0x214)](_0x172e8f);}else this[_0x17225e(0x214)](_0x172e8f);}else this[_0x17225e(0x214)](_0x172e8f);}[a8_0x39607d(0x214)](_0x3c6efa){const _0x2425f3=a8_0x39607d;if(!_0x3c6efa){this[_0x2425f3(0x1f9)][_0x2425f3(0x1d8)]();return;}let {menuId:_0x43685b,name:_0x5b11a5}=_0x3c6efa;if(this[_0x2425f3(0x20e)]['keepMenu']){this[_0x2425f3(0x1f9)]['exitItem'](_0x43685b)?this[_0x2425f3(0x1f9)][_0x2425f3(0x253)](_0x43685b,{'triggerOnChange':![]}):this['cachePanel'][_0x2425f3(0x22c)]({'key':_0x43685b,'children':_0x43685b+':'+_0x5b11a5},{'activeKey':_0x43685b,'triggerOnChange':![]});return;}this[_0x2425f3(0x1f9)][_0x2425f3(0x1e5)]({'key':_0x43685b,'children':_0x43685b+':'+_0x5b11a5});}[a8_0x39607d(0x1b7)](_0x3d3786,_0x3af540){const _0x5245c0=a8_0x39607d;if(!_0x3d3786)return;if(!_0x3af540){_0x3d3786[_0x5245c0(0x1d8)]({'triggerOnChange':![]});return;}let {menuId:_0x1ede77}=_0x3af540;_0x3d3786[_0x5245c0(0x204)](_0x1ede77)?_0x3d3786[_0x5245c0(0x253)](_0x1ede77,{'triggerOnChange':![]}):_0x3d3786[_0x5245c0(0x22c)](this[_0x5245c0(0x1c5)](_0x3af540),{'activeKey':_0x1ede77,'triggerOnChange':![]});}['render'](){const _0x2208fb=a8_0x39607d;let {showNav:_0x1b58a0,curMenu:_0x2f8397}=this['props'];return jsxs(Fragment,{'children':[_0x1b58a0&&jsx(Breadcrumb,{'style':{'marginBottom':0xf},'items':findBreadcrumbItems(_0x2f8397)}),jsx(CachePanel,{'style':{'display':''+(_0x2f8397?_0x2208fb(0x238):_0x2208fb(0x213))},'ref':_0x23f14f=>this['cachePanel']=_0x23f14f})]});}}function wrapperMenus(_0xd645ea){const _0x1653f7=a8_0x39607d;if(!_0xd645ea||_0xd645ea[_0x1653f7(0x200)]===0x0)return{'menus':[],'menusMap':{}};let _0x1f28bb={},_0x4a04f8={};_0xd645ea['forEach'](_0x543532=>{const _0x558caa=_0x1653f7;let _0x40038c={'key':_0x543532[_0x558caa(0x1ca)],'label':_0x543532[_0x558caa(0x26d)],'icon':_0x543532[_0x558caa(0x1b8)],'data':_0x543532};_0x1f28bb[_0x543532[_0x558caa(0x1ca)]]=_0x40038c,_0x4a04f8[_0x543532[_0x558caa(0x1ca)]]=_0x40038c;}),_0xd645ea[_0x1653f7(0x224)](_0x1c937c=>{const _0x4871f0=_0x1653f7;let {menuId:_0x36f3bd,parentMenuId:_0x1b12c7}=_0x1c937c,_0x52d89a=_0x1f28bb[_0x1b12c7];_0x52d89a&&(!_0x52d89a[_0x4871f0(0x216)]&&(_0x52d89a[_0x4871f0(0x216)]=[]),_0x1c937c[_0x4871f0(0x239)]=_0x52d89a[_0x4871f0(0x1e0)],_0x52d89a[_0x4871f0(0x216)]['push'](_0x1f28bb[_0x36f3bd]),delete _0x4a04f8[_0x36f3bd]);});let _0x2c75b8=[];Object[_0x1653f7(0x211)](_0x4a04f8)[_0x1653f7(0x224)](_0xa03c5d=>_0x2c75b8[_0x1653f7(0x1ed)](_0x4a04f8[_0xa03c5d]));if(_0x2c75b8['length']===0x0)return _0x2c75b8;return _0x2c75b8['sort']((_0x320baf,_0x17ee8e)=>{const _0x53f909=_0x1653f7;let _0x5e4aed=_0x320baf[_0x53f909(0x1e0)]['sort'],_0x7f0e21=_0x17ee8e[_0x53f909(0x1e0)][_0x53f909(0x20a)];return _0x5e4aed-_0x7f0e21;}),{'menus':_0x2c75b8,'menusMap':_0x1f28bb};}function findCurMenu(_0x46d2fb,_0x3ae288){const _0x2b94c8=a8_0x39607d;if('/'===_0x3ae288||_0x3ae288==='')return null;if(!_0x46d2fb||_0x46d2fb['length']===0x0)return null;let _0x374098=_0x3ae288[_0x2b94c8(0x22f)]('/')[_0x2b94c8(0x24b)]('/');for(let _0x44e997=0x0;_0x44e997<_0x46d2fb[_0x2b94c8(0x200)];_0x44e997++){let {data:_0x7107ad,children:_0x7292d4}=_0x46d2fb[_0x44e997],{urlPath:_0x5ed717}=_0x7107ad,_0x46c6c9=_0x5ed717['split']('/')['join']('/');if(_0x374098===_0x46c6c9){if(!_0x7292d4||_0x7292d4['length']===0x0)return _0x7107ad;return null;}if(_0x7292d4&&_0x7292d4[_0x2b94c8(0x200)]>0x0){let _0x13fbeb=findCurMenu(_0x7292d4,_0x3ae288);if(_0x13fbeb)return _0x13fbeb;}}return null;}function findDefaultMenu(_0x1ceed2){const _0x11a042=a8_0x39607d;if(!_0x1ceed2||_0x1ceed2[_0x11a042(0x200)]===0x0)return null;let {data:_0x412be2,children:_0x26ee1f}=_0x1ceed2[0x0];if(!_0x26ee1f||_0x26ee1f['length']===0x0)return _0x412be2;return findDefaultMenu(_0x26ee1f);}function findLeftMenu({menus:_0x5f0c22,topMenu:_0x41a0db,curMenu:_0xb02bd1}={}){const _0x2b9619=a8_0x39607d;if(!_0xb02bd1||!_0x5f0c22||_0x5f0c22[_0x2b9619(0x200)]===0x0)return null;if(!_0x41a0db)return _0x5f0c22;for(let _0x5b5717=0x0;_0x5b5717<_0x5f0c22[_0x2b9619(0x200)];_0x5b5717++){let {children:_0x5124a1}=_0x5f0c22[_0x5b5717];if(curMenuInMenus({'curMenu':_0xb02bd1,'menus':_0x5124a1}))return _0x5124a1;}return null;}function curMenuInMenus({curMenu:_0x2cd172,menus:_0x100e8b}={}){const _0x3d94dc=a8_0x39607d;if(!_0x2cd172||!_0x100e8b||_0x100e8b[_0x3d94dc(0x200)]===0x0)return![];for(let _0x49d845=0x0;_0x49d845<_0x100e8b[_0x3d94dc(0x200)];_0x49d845++){let {data:_0x5c5757,children:_0x3b14e5}=_0x100e8b[_0x49d845];if(_0x5c5757[_0x3d94dc(0x1ca)]===_0x2cd172[_0x3d94dc(0x1ca)])return!![];if(_0x3b14e5&&_0x3b14e5[_0x3d94dc(0x200)]>0x0){if(curMenuInMenus({'curMenu':_0x2cd172,'menus':_0x3b14e5}))return!![];}}return![];}function findOpenMenuKeys(_0x833d7b,_0x2596ba){const _0x147017=a8_0x39607d;let _0x49e5c4=[],{menuId:_0x486a0c,parentMenu:_0x11ecd1}=_0x833d7b;if(_0x2596ba[_0x486a0c])return _0x49e5c4;if(!_0x11ecd1)return _0x49e5c4;return _0x49e5c4[_0x147017(0x1ed)](_0x11ecd1[_0x147017(0x1ca)]),_0x49e5c4[_0x147017(0x1ed)](...findOpenMenuKeys(_0x11ecd1,_0x2596ba)),_0x49e5c4;}function findRootMenu(_0x59f0c3){let {parentMenu:_0x424504}=_0x59f0c3;if(!_0x424504)return _0x59f0c3;return findRootMenu(_0x424504);}function findBreadcrumbItems(_0x4091ae){const _0x47f1d5=a8_0x39607d;let _0xaa85aa=[];if(!_0x4091ae)return _0xaa85aa;let {iconCls:_0x330b13,name:_0x49f444}=_0x4091ae;_0x330b13?_0xaa85aa[_0x47f1d5(0x1ed)]({'title':jsxs('span',{'children':[jsx(SvgIcon,{'id':_0x330b13,'fontSize':0xe,'style':{'verticalAlign':-0x2,'marginRight':0x5}}),_0x49f444]})}):_0xaa85aa[_0x47f1d5(0x1ed)]({'title':_0x49f444});let {parentMenu:_0x40da60}=_0x4091ae;if(!_0x40da60)return _0xaa85aa;return _0xaa85aa[_0x47f1d5(0x1ed)](...findBreadcrumbItems(_0x40da60)),_0xaa85aa['reverse']();}export{IndexPage as I};
1
+ const a8_0x7ac5d7=a8_0x370b;(function(_0xec10d0,_0x288ba6){const _0x5bd19f=a8_0x370b,_0x536d0d=_0xec10d0();while(!![]){try{const _0xf4d7d=parseInt(_0x5bd19f(0x1b8))/0x1*(-parseInt(_0x5bd19f(0x203))/0x2)+-parseInt(_0x5bd19f(0x184))/0x3*(-parseInt(_0x5bd19f(0x16b))/0x4)+-parseInt(_0x5bd19f(0x1eb))/0x5*(parseInt(_0x5bd19f(0x16e))/0x6)+-parseInt(_0x5bd19f(0x173))/0x7+-parseInt(_0x5bd19f(0x1d7))/0x8+parseInt(_0x5bd19f(0x1a8))/0x9*(parseInt(_0x5bd19f(0x187))/0xa)+parseInt(_0x5bd19f(0x17e))/0xb*(parseInt(_0x5bd19f(0x209))/0xc);if(_0xf4d7d===_0x288ba6)break;else _0x536d0d['push'](_0x536d0d['shift']());}catch(_0x5341f1){_0x536d0d['push'](_0x536d0d['shift']());}}}(a8_0x2abb,0x1d3b2));function a8_0x2abb(){const _0x5838e6=['activeBarHeight','请输入确认密码!','showDoingIndicator','_tabsShowMenu','inline','请输入手机!','请输入手机','请输入旧密码','bind','platforms','账号ID','_closeForm','children','Password','_saveCacheTabsItems','/_res/logo/','_ctx','ctm_','border','none','menu-box','platformSwitch','componentDidMount','validateFields','648FYGoVc','请输入名称','menu','menuId','sort','keepMenu','fontColor','cachePanel','bottom','platformId','layout-header','backgroundColor','请输入邮箱','退出登录','newPwd','parent','6fjIDkb','修改密码','span','exitItem','noticeFail','grid','#FFF','state','_account','rgba(0,\x200,\x200,\x200.88)','ct_','Item','profile','left','setActiveKey','header-title','img','_createTabItem','info','_cachePanelShowMenu','flex','\x22吗?','header-menu','reverse','header','roleNames','space-between','parentMenu','header-info','current','then','190584yLHkhn','href','active','请输入旧密码!','logo','onTabChange','forEach','platformMenu','确定要切换到\x22','logo-sub-title','transparent','showSpin','个人资料','platformName','map','div','get','setFieldsValue','两次新密码输入不一致','/login?backUrl=','55bHKDDE','onSelect','setData','modify','fontSize','key','join','noticeSuccess','light','block','location','split','divider','name','addItems','处理中...','Content','end','alertFail','默认平台','/login','primary','platform','#eee','24936KQcKZG','px\x20solid\x20','tab','curMenu','登录超时,需要重新登录','presenter','25656vpLJhw','length','_search','确认密码','accountId','header-logo','defaultProps','max-content','props','width','item','height','clearItems','showLoadingIndicator','oldPwd','right','close','slider-menu','tabs','data','#fff','logo-img','100%','onSuccess','userPlatformName','请输入新密码!','userPlatformId','account','color','window','setState','logout','render','新密码不能与旧密码相同','form','icon','confirm','setItems','push','修改密码成功','onCancel','_getCacheTabsItems','show','17244mqOFoX','请输入确认密码','_onModify','88932WpKxRh','loginOut','mobile','_menuChange','error','686742IRBhLT','showDetails','iconCls','#ffffff','stopPropagation','label','加载中...','renderSpin','pointer','_getCacheTabsCookieName','itemHeight','451tQNaEQ','closeSpin','_createTabs','logo-title','tabsMap','closeLoadingIndicator','111WEQysA','closeDoingIndicator','修改信息','32270fiTHvO','#108ee9','email','settings','_onSubmit','small','请输入邮箱!','Sider','keys'];a8_0x2abb=function(){return _0x5838e6;};return a8_0x2abb();}import'../../../assets/page/index/IndexPage.css';import{jsxs,jsx,Fragment}from'react/jsx-runtime';import{Form,Input,Row,Space,Button,Flex,Tag,Card,Layout,Dropdown,ConfigProvider,Menu,Avatar,Breadcrumb}from'antd';import{DownOutlined,UserOutlined,SettingOutlined,LogoutOutlined}from'@ant-design/icons';import{useState,useEffect,useCallback,useRef}from'react';import a8_0x53f3c0,{md5,getCookie,setCookie,removeCookie}from'threels-workbench-core';import{BaseComponent,Table,Drawer,Modal,Descriptions,Tip,SvgIcon,Tabs,CachePanel}from'threels-workbench-component';import{W as a8_0x248210,u as a8_0x51b548,a as a8_0x441adf}from'../../presenter/presenter.js';import{useLocation,useNavigate}from'react-router';class AccountPwdForm extends BaseComponent{static [a8_0x7ac5d7(0x20f)]={'onSuccess':void 0x0};constructor(_0x7f9cc1){super(_0x7f9cc1),this['presenter']=new a8_0x248210(this);}[a8_0x7ac5d7(0x19b)](){const _0x5c26ed=a8_0x7ac5d7;this[_0x5c26ed(0x211)]['onCancel']&&this['props'][_0x5c26ed(0x168)]();}['_onSubmit'](){this['form']['validateFields']()['then'](_0x1a7e20=>{const _0xa7f518=a8_0x370b;let {oldPwd:_0x2f8b7b,newPwd:_0x5207b1,newPwd2:_0x365fc9}=_0x1a7e20;if(_0x2f8b7b===_0x5207b1){this[_0xa7f518(0x1bc)](_0xa7f518(0x161));return;}if(_0x5207b1!==_0x365fc9){this['noticeFail'](_0xa7f518(0x1e9));return;}this['showDoingIndicator'](_0xa7f518(0x1fa)),this[_0xa7f518(0x208)]['resetPwd']({'oldPwd':_0x2f8b7b,'newPwd':_0x5207b1},{},()=>{const _0x2f0ed6=_0xa7f518;this[_0x2f0ed6(0x1f2)](_0x2f0ed6(0x167)),this[_0x2f0ed6(0x211)][_0x2f0ed6(0x220)]&&this['props'][_0x2f0ed6(0x220)]();});});}['showLoadingIndicator'](_0x2f6cea){this['showSpin'](_0x2f6cea);}[a8_0x7ac5d7(0x183)](){const _0x571c17=a8_0x7ac5d7;this[_0x571c17(0x17f)]();}['showDoingIndicator'](_0x318238){const _0x463178=a8_0x7ac5d7;this[_0x463178(0x1e2)](_0x318238);}[a8_0x7ac5d7(0x185)](){this['closeSpin']();}[a8_0x7ac5d7(0x160)](){const _0x313697=a8_0x7ac5d7;return this[_0x313697(0x17a)](jsxs(Form,{'ref':_0x45a1e4=>this['form']=_0x45a1e4,'layout':'vertical','children':[jsx(Form[_0x313697(0x1c3)],{'label':'旧密码','name':_0x313697(0x217),'rules':[{'required':!![],'message':_0x313697(0x1da)}],'children':jsx(Input[_0x313697(0x19d)],{'placeholder':_0x313697(0x197)})}),jsx(Form[_0x313697(0x1c3)],{'label':'新密码','name':_0x313697(0x1b6),'rules':[{'required':!![],'message':_0x313697(0x159)}],'children':jsx(Input[_0x313697(0x19d)],{'placeholder':'请输入密码'})}),jsx(Form['Item'],{'label':_0x313697(0x20c),'name':'newPwd2','rules':[{'required':!![],'message':_0x313697(0x191)}],'children':jsx(Input['Password'],{'placeholder':_0x313697(0x16c)})}),jsx(Row,{'type':_0x313697(0x1cc),'justify':_0x313697(0x1fc),'children':jsxs(Space,{'children':[jsx(Button,{'onClick':this[_0x313697(0x19b)][_0x313697(0x198)](this),'children':'取消'}),jsx(Button,{'type':_0x313697(0x200),'onClick':this[_0x313697(0x18b)][_0x313697(0x198)](this),'children':'修改'})]})})]}));}}function a8_0x370b(_0x45885c,_0x31629a){const _0x2abb1d=a8_0x2abb();return a8_0x370b=function(_0x370b36,_0x34a193){_0x370b36=_0x370b36-0x158;let _0x4706cc=_0x2abb1d[_0x370b36];return _0x4706cc;},a8_0x370b(_0x45885c,_0x31629a);}class AccountPlatformGrid extends BaseComponent{static [a8_0x7ac5d7(0x20f)]={'accountId':void 0x0,'onPlatformChange':void 0x0};constructor(_0x17c0a6){super(_0x17c0a6),this['presenter']=new a8_0x248210(this);}['componentDidMount'](){this['_search']();}[a8_0x7ac5d7(0x20b)](){const _0x4c7f5a=a8_0x7ac5d7;this['showLoadingIndicator'](_0x4c7f5a(0x179)),this[_0x4c7f5a(0x208)]['platformList']({},{},_0x4e923e=>{const _0x3967e1=_0x4c7f5a;this[_0x3967e1(0x1bd)][_0x3967e1(0x1ed)](_0x4e923e['data']);});}[a8_0x7ac5d7(0x216)](_0x13bfe8,_0x251a12={}){this['grid']['showLoadingIndicator']();}['closeLoadingIndicator'](){this['grid']['closeLoadingIndicator']();}[a8_0x7ac5d7(0x160)](){const _0x1c3662=a8_0x7ac5d7;return jsx(Table,{'ref':_0x38f801=>{const _0x472756=a8_0x370b;this[_0x472756(0x1bd)]=_0x38f801;},'scroll':{'x':_0x1c3662(0x210)},'className':'table-margin-hide','_showPage':![],'rowKey':_0xf98f81=>_0xf98f81['id'],'size':_0x1c3662(0x18c),'columns':[{'title':'平台','dataIndex':_0x1c3662(0x201),'fixed':_0x1c3662(0x1c5),'render':(_0x35d1ea,_0xf0c423)=>{const _0x36d145=_0x1c3662;let {platformName:_0x1cb214,userPlatform:_0x3b01b3,userPlatformName:_0xb1a211,mainPlatform:_0x4e4284}=_0xf0c423;if(_0x3b01b3)return jsxs(Flex,{'justify':'space-between','children':[jsxs(Space,{'children':[jsx(Tag,{'children':_0x1cb214}),jsx(Tag,{'children':_0xb1a211})]}),_0x4e4284&&jsx(Tag,{'color':_0x36d145(0x172),'children':'默认平台'})]});return jsxs(Flex,{'justify':_0x36d145(0x1d2),'children':[jsx(Tag,{'children':_0x1cb214}),_0x4e4284&&jsx(Tag,{'color':_0x36d145(0x172),'children':_0x36d145(0x1fe)})]});}},{'title':'角色','dataIndex':_0x1c3662(0x1d1),'render':(_0x4c0b63,_0x3fbfbe)=>{const _0x12b1bd=_0x1c3662;let {roleNames:_0x9717a1}=_0x3fbfbe;if(_0x9717a1)return _0x9717a1[_0x12b1bd(0x1f6)](',')[_0x12b1bd(0x1e5)]((_0x5d1012,_0xbcb529)=>jsx(Tag,{'children':_0x5d1012},_0xbcb529));return null;}}]});}}class AccountModifyForm extends BaseComponent{static [a8_0x7ac5d7(0x20f)]={'onSuccess':void 0x0};constructor(_0x522b90){const _0x5212c2=a8_0x7ac5d7;super(_0x522b90),this[_0x5212c2(0x208)]=new a8_0x248210(this);}['componentDidMount'](){const _0x52e532=a8_0x7ac5d7;this[_0x52e532(0x20b)]();}[a8_0x7ac5d7(0x20b)](){const _0x235ccc=a8_0x7ac5d7;this['showLoadingIndicator'](_0x235ccc(0x179)),this[_0x235ccc(0x208)][_0x235ccc(0x1ca)]({},{},_0x538f22=>{const _0x297009=_0x235ccc;this[_0x297009(0x162)][_0x297009(0x1e8)](_0x538f22[_0x297009(0x21c)]);});}[a8_0x7ac5d7(0x19b)](){this['props']['onCancel']&&this['props']['onCancel']();}[a8_0x7ac5d7(0x18b)](){const _0x5d1247=a8_0x7ac5d7;this[_0x5d1247(0x162)][_0x5d1247(0x1a7)]()[_0x5d1247(0x1d6)](_0x26ec5e=>{const _0x14be74=_0x5d1247;this['showDoingIndicator'](_0x14be74(0x1fa)),this[_0x14be74(0x208)][_0x14be74(0x1ee)]({..._0x26ec5e},{},()=>{const _0x52ac98=_0x14be74;this['noticeSuccess']('修改成功'),this[_0x52ac98(0x211)][_0x52ac98(0x220)]&&this[_0x52ac98(0x211)][_0x52ac98(0x220)]();});});}[a8_0x7ac5d7(0x216)](_0x3d7fcf){const _0x43c354=a8_0x7ac5d7;this[_0x43c354(0x1e2)](_0x3d7fcf);}[a8_0x7ac5d7(0x183)](){this['closeSpin']();}[a8_0x7ac5d7(0x192)](_0x1b0427){const _0x57603e=a8_0x7ac5d7;this[_0x57603e(0x1e2)](_0x1b0427);}[a8_0x7ac5d7(0x185)](){const _0x4e033d=a8_0x7ac5d7;this[_0x4e033d(0x17f)]();}['render'](){const _0x57c668=a8_0x7ac5d7;return this['renderSpin'](jsxs(Form,{'ref':_0x1953c1=>this['form']=_0x1953c1,'layout':'vertical','children':[jsx(Form[_0x57c668(0x1c3)],{'label':'名称','name':_0x57c668(0x1f8),'rules':[{'required':!![],'message':'请输入名称!'}],'children':jsx(Input,{'placeholder':_0x57c668(0x1a9)})}),jsx(Form['Item'],{'label':'手机','name':_0x57c668(0x170),'rules':[{'required':!![],'message':_0x57c668(0x195)}],'children':jsx(Input,{'placeholder':_0x57c668(0x196)})}),jsx(Form[_0x57c668(0x1c3)],{'label':'邮箱','name':_0x57c668(0x189),'rules':[{'required':!![],'message':_0x57c668(0x18d)}],'children':jsx(Input,{'placeholder':_0x57c668(0x1b4)})}),jsx(Row,{'type':'flex','justify':_0x57c668(0x1fc),'children':jsxs(Space,{'children':[jsx(Button,{'onClick':this[_0x57c668(0x19b)][_0x57c668(0x198)](this),'children':'取消'}),jsx(Button,{'type':_0x57c668(0x200),'onClick':this[_0x57c668(0x18b)]['bind'](this),'children':'修改'})]})})]}));}}class AccountDetail extends BaseComponent{static['showDetails'](){const _0x3e0e96=a8_0x7ac5d7;let _0x1ceed3=Drawer[_0x3e0e96(0x16a)](jsx(AccountDetail,{'onCancel':()=>{const _0x5c8342=_0x3e0e96;_0x1ceed3()[_0x5c8342(0x219)]();}}),{'title':'账号详情','width':0x320,'bodyStyle':{'padding':0xa}});}constructor(_0xc0ec1){super(_0xc0ec1),this['presenter']=new a8_0x248210(this),this['state']={'data':{}};}[a8_0x7ac5d7(0x1a6)](){this['_search']();}[a8_0x7ac5d7(0x216)](_0xa733de){const _0x280370=a8_0x7ac5d7;this[_0x280370(0x1e2)](_0xa733de);}['closeLoadingIndicator'](){this['closeSpin']();}[a8_0x7ac5d7(0x20b)](){const _0x1981c6=a8_0x7ac5d7;this[_0x1981c6(0x216)](_0x1981c6(0x179)),this[_0x1981c6(0x208)][_0x1981c6(0x1ca)]({},{},_0x3b33be=>{const _0xf00c9b=_0x1981c6;this[_0xf00c9b(0x15e)]({'data':_0x3b33be[_0xf00c9b(0x21c)]});});}[a8_0x7ac5d7(0x16d)](){const _0x34ec30=a8_0x7ac5d7;let _0x42d080=Modal[_0x34ec30(0x16a)](jsx(AccountModifyForm,{'onCancel':()=>{_0x42d080()['close']();},'onSuccess':()=>{const _0x380778=_0x34ec30;_0x42d080()[_0x380778(0x219)](),this[_0x380778(0x20b)]();}}),{'title':_0x34ec30(0x186)});}[a8_0x7ac5d7(0x160)](){const _0x4c4568=a8_0x7ac5d7;let {data:_0x25017c}=this[_0x4c4568(0x1bf)];return this['renderSpin'](jsxs(Space,{'direction':'vertical','style':{'width':_0x4c4568(0x21f)},'children':[jsx(Card,{'title':'基本信息','size':'small','extra':jsx(Space,{'children':jsx(Button,{'size':_0x4c4568(0x18c),'type':_0x4c4568(0x200),'onClick':this[_0x4c4568(0x16d)][_0x4c4568(0x198)](this),'children':'修改'})}),'children':jsx(Descriptions,{'bordered':!![],'column':0x1,'size':_0x4c4568(0x18c),'items':this['state']['data']?[{'label':_0x4c4568(0x19a),'children':_0x25017c[_0x4c4568(0x20d)]},{'label':'账号','children':_0x25017c[_0x4c4568(0x15b)]},{'label':'名称','children':_0x25017c[_0x4c4568(0x1f8)]},{'label':'手机','children':_0x25017c[_0x4c4568(0x170)]},{'label':'邮箱','children':_0x25017c[_0x4c4568(0x189)]}]:[]})}),jsx(Card,{'title':'关联平台','size':_0x4c4568(0x18c),'children':jsx(AccountPlatformGrid,{})})]}));}}const defaultStyle={'header':{'backgroundColor':a8_0x7ac5d7(0x21d),'fontColor':a8_0x7ac5d7(0x1c1),'logo':{'height':0x28,'width':0x28},'border':{'bottom':{'width':0x1,'color':a8_0x7ac5d7(0x202)}},'account':{'backgroundColor':a8_0x7ac5d7(0x188),'fontColor':'#fff'},'menu':{'backgroundColor':a8_0x7ac5d7(0x1e1),'fontSize':0xf,'activeBarHeight':0x4,'active':{'fontColor':a8_0x7ac5d7(0x188),'backgroundColor':a8_0x7ac5d7(0x1e1)}}},'left':{'width':0xf0,'backgroundColor':a8_0x7ac5d7(0x176),'fontColor':a8_0x7ac5d7(0x1c1),'border':{'right':{'width':0x1,'color':a8_0x7ac5d7(0x202)}},'menu':{'itemHeight':0x30,'fontSize':0xf,'active':{'fontColor':a8_0x7ac5d7(0x1be),'backgroundColor':a8_0x7ac5d7(0x188)}}}};function getLoginAccount(_0x1dd52b){const _0x3dbf64=a8_0x7ac5d7;let {loginAccount:_0x28992a}=_0x1dd52b;return _0x28992a?_0x28992a:a8_0x53f3c0['get'](_0x3dbf64(0x1c0));}function getCurPlatform(_0x3d3e4c){const _0x7a1683=a8_0x7ac5d7;let {curPlatform:_0x39b2ef}=_0x3d3e4c;return _0x39b2ef?_0x39b2ef:a8_0x53f3c0[_0x7a1683(0x1e7)]('_curPlatform');}function IndexPage(_0x4ce795){const _0x1d69bc=a8_0x7ac5d7;let {menuItems:_0x306262,style:style=defaultStyle,syncRoute:syncRoute=!![]}=_0x4ce795,_0x3938f0=getLoginAccount(_0x4ce795),_0x59de9c=getCurPlatform(_0x4ce795);if(!_0x3938f0||!_0x59de9c)return Tip[_0x1d69bc(0x1fd)](_0x1d69bc(0x207),{'onOk':()=>{const _0x181110=_0x1d69bc,_0x289d1e=encodeURIComponent(window['parent'][_0x181110(0x15d)][_0x181110(0x1f5)][_0x181110(0x1d8)]);window[_0x181110(0x1b7)][_0x181110(0x15d)][_0x181110(0x1f5)][_0x181110(0x1d8)]=window[_0x181110(0x1a0)]+_0x181110(0x1ea)+_0x289d1e;}}),null;let {platform:_0x3f449d,topMenu:_0x4daadf,rightComponent:_0x26b0fa,showTab:_0x37d42c,showNav:_0x4db1e1,keepMenu:_0xc0b361,tabCache:_0x520455}=_0x4ce795,[_0x2c610c,_0x7e90c2]=useState([]),[_0xd3d05e,_0x585a54]=useState({}),[_0x254da7,_0x3465dc]=useState(null),_0x37adb7=syncRoute?useLocation():{'pathname':'/'},_0x14cfce=syncRoute?useNavigate():null,_0x430cce=a8_0x51b548();useEffect(()=>{const _0x1b80f8=_0x1d69bc,_0x3118d5=_0x4e39ba=>{const {pathname:_0x28118e}=_0x37adb7;let {menus:_0x3bce76,menusMap:_0x253607}=wrapperMenus(_0x4e39ba),_0x151446;syncRoute&&(_0x151446=findCurMenu(_0x3bce76,_0x28118e));!_0x151446&&(_0x151446=findDefaultMenu(_0x3bce76));if(_0x151446&&syncRoute){let {urlPath:_0x26365e}=_0x151446;_0x28118e!==_0x26365e&&_0x14cfce(_0x26365e);}_0x3465dc(_0x151446),_0x7e90c2(_0x3bce76),_0x585a54(_0x253607);};_0x306262?_0x3118d5(_0x306262):(_0x430cce['showLoadingIndicator'](),_0x430cce[_0x1b80f8(0x1de)]({},{},_0x50c29a=>{_0x3118d5(_0x50c29a['menuItems']);}));},[]);const _0x2cc414=useCallback(_0x47bf68=>{if(_0x47bf68&&syncRoute){let {urlPath:_0x4d92b8}=_0x47bf68;_0x14cfce(_0x4d92b8);}_0x3465dc(_0x47bf68);},[]);return jsxs(Layout,{'className':'workbench-index-layout','children':[jsxs(Layout['Header'],{'className':_0x1d69bc(0x1b2),'style':{'height':0x41,'background':style[_0x1d69bc(0x1d0)][_0x1d69bc(0x1b3)],'borderBottom':style[_0x1d69bc(0x1d0)]['border'][_0x1d69bc(0x1b0)][_0x1d69bc(0x212)]+_0x1d69bc(0x204)+style[_0x1d69bc(0x1d0)][_0x1d69bc(0x1a2)][_0x1d69bc(0x1b0)][_0x1d69bc(0x15c)]},'children':[jsx(LogoComponent,{'platform':_0x3f449d,'style':style,'loginAccount':_0x3938f0,'curPlatform':_0x59de9c}),_0x4daadf&&jsx(TopMenu,{'menus':_0x2c610c,'menusMap':_0xd3d05e,'curMenu':_0x254da7,'onSelect':_0x2cc414,'style':style,'loginAccount':_0x3938f0,'curPlatform':_0x59de9c}),jsx(_0x1d69bc(0x1e6),{'className':_0x1d69bc(0x1d4),'children':jsxs(Space,{'size':0x10,'children':[_0x26b0fa,jsx(AccountComponent,{'style':style,'loginAccount':_0x3938f0,'curPlatform':_0x59de9c})]})})]}),jsxs(Layout,{'children':[jsx(LeftMenu,{'topMenu':_0x4daadf,'menus':_0x2c610c,'menusMap':_0xd3d05e,'curMenu':_0x254da7,'onSelect':_0x2cc414,'style':style,'loginAccount':_0x3938f0,'curPlatform':_0x59de9c}),jsx(Layout[_0x1d69bc(0x1fb)],{'style':{'padding':0xa,'backgroundColor':'#FFF'},'children':jsx(MenuContent,{'menus':_0x2c610c,'menusMap':_0xd3d05e,'curMenu':_0x254da7,'showTab':_0x37d42c,'showNav':_0x4db1e1,'topMenu':_0x4daadf,'keepMenu':_0xc0b361,'tabCache':_0x520455,'onTabChange':_0x2cc414,'style':style,'loginAccount':_0x3938f0,'curPlatform':_0x59de9c})})]})]});}function LogoComponent(_0x235ccb){const _0x4679c6=a8_0x7ac5d7;let {style:_0x5d6a44}=_0x235ccb,_0x385814=getLoginAccount(_0x235ccb),_0x120a24=getCurPlatform(_0x235ccb);const _0x291938=a8_0x51b548();let {platform:_0x2cd7f8}=_0x235ccb;const _0x32b391=useCallback(_0x58b895=>{const _0x277aa9=a8_0x370b;Tip[_0x277aa9(0x164)](_0x277aa9(0x1df)+_0x58b895[_0x277aa9(0x158)]+_0x277aa9(0x1cd),()=>{const _0x5f59e3=_0x277aa9;_0x291938[_0x5f59e3(0x1a5)]({'userPlatformId':_0x58b895['userPlatformId']},{},()=>{const _0x287281=_0x5f59e3;window[_0x287281(0x1f5)]['reload']();});});},[]);return jsxs(_0x4679c6(0x1e6),{'className':_0x4679c6(0x20e),'style':{'minWidth':0xdc},'children':[jsx(_0x4679c6(0x1c8),{'className':_0x4679c6(0x21e),'src':window['_ctx']+_0x4679c6(0x19f)+_0x2cd7f8,'alt':_0x4679c6(0x1db),'style':{'height':_0x5d6a44['header'][_0x4679c6(0x1db)][_0x4679c6(0x214)],'width':_0x5d6a44[_0x4679c6(0x1d0)][_0x4679c6(0x1db)][_0x4679c6(0x212)]}}),jsxs(_0x4679c6(0x1e6),{'className':_0x4679c6(0x1c7),'children':[jsx(_0x4679c6(0x1e6),{'className':_0x4679c6(0x181),'style':{'color':_0x5d6a44[_0x4679c6(0x1d0)]['fontColor']},'children':_0x120a24[_0x4679c6(0x1e4)]}),_0x385814[_0x4679c6(0x199)][_0x4679c6(0x20a)]>0x1?jsx(Dropdown,{'menu':((()=>{const _0xf05629=_0x4679c6;let _0x59f3b6=[];return _0x385814[_0xf05629(0x199)][_0xf05629(0x1dd)](_0x219727=>{_0x219727['userPlatformName']!==_0x120a24['userPlatformName']&&_0x59f3b6['push']({'key':_0x219727['userPlatformId'],'label':_0x219727['userPlatformName'],'onClick':()=>_0x32b391(_0x219727)});}),{'items':_0x59f3b6};})()),'children':jsx('div',{'className':'logo-sub-title','style':{'cursor':_0x4679c6(0x17b)},'children':jsxs(Space,{'children':[jsx(_0x4679c6(0x1ba),{'style':{'color':_0x5d6a44[_0x4679c6(0x1d0)][_0x4679c6(0x1ae)]},'children':_0x120a24['userPlatformName']}),jsx(_0x4679c6(0x1ba),{'style':{'color':_0x5d6a44[_0x4679c6(0x1d0)][_0x4679c6(0x1ae)]},'children':jsx(DownOutlined,{})})]})})}):jsx('div',{'className':_0x4679c6(0x1e0),'style':{'color':_0x5d6a44[_0x4679c6(0x1d0)]['fontColor']},'children':_0x120a24[_0x4679c6(0x158)]})]})]});}function AccountComponent(_0x33abd4){const _0xf8bdc6=a8_0x7ac5d7;let {style:_0x35a239}=_0x33abd4,_0x1ce8d2=getLoginAccount(_0x33abd4);const _0x33786d=a8_0x441adf(),_0x44b211=useCallback(()=>{const _0x137fbc=a8_0x370b;Tip[_0x137fbc(0x164)]('确定要退出登录吗?',()=>{const _0x5bed57=_0x137fbc;_0x33786d[_0x5bed57(0x16f)]({},{},()=>{const _0x55b839=_0x5bed57;window[_0x55b839(0x1f5)][_0x55b839(0x1d8)]=window[_0x55b839(0x1a0)]+_0x55b839(0x1ff);});});},[]),_0x3c3f73=useCallback(()=>{const _0x202fa5=a8_0x370b;let _0x36873c=Modal[_0x202fa5(0x16a)](jsx(AccountPwdForm,{'onCancel':()=>{_0x36873c()['close']();},'onSuccess':()=>{const _0x4ceb21=_0x202fa5;_0x36873c()[_0x4ceb21(0x219)]();}}),{'title':_0x202fa5(0x1b9)});},[]);return jsx(Dropdown,{'menu':{'items':[{'key':_0xf8bdc6(0x1c4),'icon':jsx(UserOutlined,{}),'label':_0xf8bdc6(0x1e3),'onClick':()=>{const _0x39580a=_0xf8bdc6;AccountDetail[_0x39580a(0x174)]();}},{'key':_0xf8bdc6(0x18a),'icon':jsx(SettingOutlined,{}),'label':_0xf8bdc6(0x1b9),'onClick':_0x3c3f73},{'type':_0xf8bdc6(0x1f7)},{'key':_0xf8bdc6(0x15f),'icon':jsx(LogoutOutlined,{}),'label':_0xf8bdc6(0x1b5),'onClick':_0x44b211}]},'children':jsxs(Space,{'style':{'cursor':_0xf8bdc6(0x17b)},'children':[jsx(Avatar,{'size':0x20,'icon':jsx(UserOutlined,{'style':{'color':_0x35a239[_0xf8bdc6(0x1d0)][_0xf8bdc6(0x15b)]['fontColor']}}),'style':{'backgroundColor':_0x35a239['header']['account'][_0xf8bdc6(0x1b3)]}}),jsx(_0xf8bdc6(0x1ba),{'style':{'color':_0x35a239[_0xf8bdc6(0x1d0)]['fontColor']},'children':_0x1ce8d2[_0xf8bdc6(0x1f8)]})]})});}function TopMenu(_0x356fb9){const _0x215c04=a8_0x7ac5d7;let {menus:_0x3724c6,curMenu:_0x33de07,style:_0x224574}=_0x356fb9,[_0x33187c,_0x17a80b]=useState(null),_0x4df17d=useRef(_0x33de07);const _0x5d2184=useCallback(({item:_0x278733,domEvent:_0x2ee986})=>{const _0xc33c0e=a8_0x370b;_0x2ee986[_0xc33c0e(0x177)]();let {data:_0x58521f,children:_0x216ebe}=_0x278733[_0xc33c0e(0x211)][_0xc33c0e(0x213)];_0x216ebe&&_0x216ebe[_0xc33c0e(0x20a)]>0x0&&(_0x58521f=findDefaultMenu(_0x216ebe)),_0x356fb9[_0xc33c0e(0x1ec)](_0x58521f);},[]);if(!_0x33de07&&!_0x4df17d[_0x215c04(0x1d5)]||!_0x3724c6||_0x3724c6[_0x215c04(0x20a)]===0x0)return null;let _0x1d5af4=null,_0x18d601=_0x3724c6[_0x215c04(0x1e5)](_0x37941d=>{const _0x11c57e=_0x215c04;let {menuId:_0x210c90}=_0x33de07||_0x4df17d[_0x11c57e(0x1d5)];if(_0x210c90===_0x37941d[_0x11c57e(0x1f0)])_0x1d5af4=_0x37941d['key'];else curMenuInMenus({'curMenu':_0x33de07||_0x4df17d[_0x11c57e(0x1d5)],'menus':_0x37941d[_0x11c57e(0x19c)]})&&(_0x1d5af4=_0x37941d[_0x11c57e(0x1f0)]);return{'key':_0x37941d[_0x11c57e(0x1f0)],'label':jsx('span',{'style':{'fontSize':_0x224574[_0x11c57e(0x1d0)][_0x11c57e(0x1aa)][_0x11c57e(0x1ef)]},'children':_0x37941d[_0x11c57e(0x178)]}),'icon':_0x37941d[_0x11c57e(0x163)]?jsx(SvgIcon,{'id':_0x37941d[_0x11c57e(0x163)],'fontSize':_0x224574[_0x11c57e(0x1d0)][_0x11c57e(0x1aa)]['fontSize']}):null,'item':_0x37941d};});return _0x1d5af4!==_0x33187c&&_0x17a80b(_0x1d5af4),_0x33de07&&(_0x4df17d[_0x215c04(0x1d5)]=_0x33de07),jsx('div',{'className':_0x215c04(0x1ce),'children':jsx(_0x215c04(0x1e6),{'className':_0x215c04(0x1a4),'children':jsx(ConfigProvider,{'theme':{'components':{'Menu':{'activeBarHeight':_0x224574[_0x215c04(0x1d0)][_0x215c04(0x1aa)][_0x215c04(0x190)],'itemBg':_0x224574[_0x215c04(0x1d0)][_0x215c04(0x1b3)],'darkItemBg':_0x224574[_0x215c04(0x1d0)]['backgroundColor'],'itemColor':_0x224574[_0x215c04(0x1d0)][_0x215c04(0x1ae)],'darkItemColor':_0x224574[_0x215c04(0x1d0)][_0x215c04(0x1ae)],'horizontalItemHoverBg':_0x224574[_0x215c04(0x1d0)]['menu']['active'][_0x215c04(0x1b3)],'horizontalItemHoverColor':_0x224574[_0x215c04(0x1d0)][_0x215c04(0x1aa)]['active'][_0x215c04(0x1ae)],'horizontalItemSelectedBg':_0x224574['header'][_0x215c04(0x1aa)][_0x215c04(0x1d9)][_0x215c04(0x1b3)],'horizontalItemSelectedColor':_0x224574[_0x215c04(0x1d0)]['menu'][_0x215c04(0x1d9)][_0x215c04(0x1ae)],'darkItemSelectedBg':_0x224574[_0x215c04(0x1d0)][_0x215c04(0x1aa)]['active']['backgroundColor'],'itemHoverColor':_0x224574['header']['menu'][_0x215c04(0x1d9)]['fontColor']}}},'children':jsx(Menu,{'theme':_0x215c04(0x1f3),'mode':'horizontal','items':_0x18d601,'selectedKeys':_0x33187c?[_0x33187c]:null,'onSelect':_0x5d2184})})})});}function LeftMenu(_0x4ea6d9){const _0x4b949d=a8_0x7ac5d7;let {menus:_0x1a0be3,topMenu:_0x499210,curMenu:_0x161e11,style:_0x40d478}=_0x4ea6d9,_0x65f595=useRef(_0x161e11),_0x1e83ab=useRef(null),_0x187656=findLeftMenu({'menus':_0x1a0be3,'curMenu':_0x161e11||_0x65f595['current'],'topMenu':_0x499210}),[_0x239b0f,_0x5bbcf2]=useState([]);const _0x120e33=useCallback(({item:_0xf08bfd,domEvent:_0x199ac6})=>{const _0x2b019e=a8_0x370b;_0x199ac6[_0x2b019e(0x177)]();let {data:_0x474a59}=_0xf08bfd[_0x2b019e(0x211)];_0x1e83ab[_0x2b019e(0x1d5)]=_0x474a59[_0x2b019e(0x1ab)],_0x4ea6d9[_0x2b019e(0x1ec)](_0x474a59);},[]);if(!_0x161e11&&!_0x65f595['current']||!_0x187656||_0x187656['length']===0x0)return null;if(_0x161e11&&(!_0x1e83ab['current']||_0x1e83ab[_0x4b949d(0x1d5)]!==_0x161e11['menuId'])){let _0x275db9={};_0x187656[_0x4b949d(0x1dd)](_0x274fd8=>{_0x275db9[_0x274fd8['key']]=!![];}),_0x239b0f=findOpenMenuKeys(_0x161e11,_0x275db9),_0x239b0f['length']>0x0&&_0x5bbcf2(_0x239b0f);}_0x161e11&&(_0x65f595[_0x4b949d(0x1d5)]=_0x161e11,_0x1e83ab[_0x4b949d(0x1d5)]=_0x161e11[_0x4b949d(0x1ab)]);const _0x4e7c36=_0x24fa88=>{const _0xe60b63=_0x4b949d;if(!_0x24fa88||_0x24fa88[_0xe60b63(0x20a)]===0x0)return _0x24fa88;let _0x116669=[];for(let _0x366ec7=0x0;_0x366ec7<_0x24fa88[_0xe60b63(0x20a)];_0x366ec7++){let {key:_0x5b1165,label:_0x2f5a14,icon:_0x48d8c3,children:_0x130785,data:_0x44b02e}=_0x24fa88[_0x366ec7];_0x130785&&_0x130785['length']>0x0&&(_0x130785=_0x4e7c36(_0x130785)),_0x116669[_0xe60b63(0x166)]({'key':_0x5b1165,'label':jsx(_0xe60b63(0x1ba),{'style':{'fontSize':_0x40d478[_0xe60b63(0x1c5)][_0xe60b63(0x1aa)][_0xe60b63(0x1ef)]},'children':_0x2f5a14}),'icon':_0x48d8c3?jsx(SvgIcon,{'id':_0x48d8c3,'fontSize':_0x40d478[_0xe60b63(0x1c5)][_0xe60b63(0x1aa)][_0xe60b63(0x1ef)]}):null,'children':_0x130785,'data':_0x44b02e});}return _0x116669;};return jsx(Layout[_0x4b949d(0x18e)],{'width':_0x40d478[_0x4b949d(0x1c5)][_0x4b949d(0x212)],'collapsible':!![],'children':jsx('div',{'className':_0x4b949d(0x21a),'style':{'background':_0x40d478[_0x4b949d(0x1c5)][_0x4b949d(0x1b3)],'borderRight':_0x40d478[_0x4b949d(0x1c5)][_0x4b949d(0x1a2)]['right'][_0x4b949d(0x212)]+_0x4b949d(0x204)+_0x40d478[_0x4b949d(0x1c5)][_0x4b949d(0x1a2)][_0x4b949d(0x218)][_0x4b949d(0x15c)]},'children':jsx(ConfigProvider,{'theme':{'components':{'Menu':{'itemBg':_0x40d478['left'][_0x4b949d(0x1b3)],'itemBorderRadius':0x0,'subMenuItemBorderRadius':0x0,'itemColor':_0x40d478[_0x4b949d(0x1c5)][_0x4b949d(0x1ae)],'groupTitleColor':_0x40d478[_0x4b949d(0x1c5)][_0x4b949d(0x1ae)],'groupTitleFontSize':_0x40d478[_0x4b949d(0x1c5)][_0x4b949d(0x1ef)],'itemActiveBg':_0x40d478[_0x4b949d(0x1c5)][_0x4b949d(0x1aa)][_0x4b949d(0x1d9)][_0x4b949d(0x1b3)],'itemHoverColor':_0x40d478['left'][_0x4b949d(0x1aa)][_0x4b949d(0x1d9)][_0x4b949d(0x1ae)],'itemHoverBg':_0x40d478[_0x4b949d(0x1c5)][_0x4b949d(0x1aa)][_0x4b949d(0x1d9)][_0x4b949d(0x1b3)],'itemSelectedBg':_0x40d478[_0x4b949d(0x1c5)][_0x4b949d(0x1aa)][_0x4b949d(0x1d9)][_0x4b949d(0x1b3)],'itemSelectedColor':_0x40d478[_0x4b949d(0x1c5)][_0x4b949d(0x1aa)][_0x4b949d(0x1d9)][_0x4b949d(0x1ae)],'subMenuItemSelectedColor':_0x40d478['left']['fontColor'],'itemMarginInline':0x0,'popupBg':_0x40d478[_0x4b949d(0x1c5)]['backgroundColor'],'itemMarginBlock':0x0,'itemHeight':_0x40d478[_0x4b949d(0x1c5)][_0x4b949d(0x1aa)][_0x4b949d(0x17d)]}}},'children':jsx(Menu,{'theme':'light','mode':_0x4b949d(0x194),'openKeys':_0x239b0f,'selectedKeys':_0x161e11?[_0x161e11['menuId']]:[],'items':_0x4e7c36(_0x187656),'onOpenChange':_0x5d2ddf=>{_0x5bbcf2(_0x5d2ddf);},'onSelect':_0x120e33})})})});}class MenuContent extends BaseComponent{constructor(_0x4e8b45){super(_0x4e8b45),this['registerPropListener']('curMenu',_0x336897=>{const _0x104774=a8_0x370b;this[_0x104774(0x171)](_0x336897);}),this['tabsMap']={};}['_createTabItem'](_0x21eba1){const _0x2bdde7=a8_0x7ac5d7;return{'key':_0x21eba1[_0x2bdde7(0x1ab)],'label':_0x21eba1[_0x2bdde7(0x1f8)],'icon':_0x21eba1[_0x2bdde7(0x175)]?jsx(SvgIcon,{'id':_0x21eba1['iconCls'],'fontSize':0xf,'style':{'verticalAlign':-0x3}}):null,'children':_0x21eba1['menuId']+':'+_0x21eba1['name'],'data':_0x21eba1};}[a8_0x7ac5d7(0x180)](_0x521dad,_0x1aefc3){const _0xb4f77a=a8_0x7ac5d7;let _0x4cb6c9=this[_0xb4f77a(0x169)](_0x1aefc3);return jsx(Tabs,{'ref':_0x521dad,'activeKey':_0x1aefc3[_0xb4f77a(0x1ab)],'items':_0x4cb6c9,'animated':!![],'_drag':!![],'_showCloseBtn':!![],'type':'editable-card','hideAdd':!![],'size':'small','_onItemsChange':({items:_0x2fc381})=>{const _0x4f0c6c=_0xb4f77a;this['_saveCacheTabsItems'](_0x2fc381,this[_0x4f0c6c(0x211)][_0x4f0c6c(0x206)]);},'onChange':({item:_0x5dc1cc})=>{const _0x2ba850=_0xb4f77a;this[_0x2ba850(0x211)][_0x2ba850(0x1dc)]&&this[_0x2ba850(0x211)]['onTabChange']((_0x5dc1cc||{})[_0x2ba850(0x21c)]);}});}['_getCacheTabsCookieName'](_0x285dc6){const _0x287d80=a8_0x7ac5d7;let _0x22cb0f=getLoginAccount(this[_0x287d80(0x211)]),_0x2cf7c4=getCurPlatform(this['props']),{topMenu:_0x2a7ae2}=this['props'],_0x54763a;if(_0x2a7ae2){let _0x5cb413=findRootMenu(_0x285dc6);return _0x54763a=_0x5cb413[_0x287d80(0x1ab)],_0x287d80(0x1a1)+md5(_0x287d80(0x1c2)+(_0x2cf7c4[_0x287d80(0x15a)]||_0x2cf7c4['platformId'])+'-'+_0x22cb0f[_0x287d80(0x20d)]+'-'+_0x54763a);}else return _0x287d80(0x1a1)+md5('ct_'+(_0x2cf7c4['userPlatformId']||_0x2cf7c4[_0x287d80(0x1b1)])+'-'+_0x22cb0f['accountId']);}[a8_0x7ac5d7(0x169)](_0x45c282){const _0x249bb3=a8_0x7ac5d7;let _0x1b6c41=[],{tabCache:_0x203ca4,menusMap:_0x2a0637}=this[_0x249bb3(0x211)];if(!_0x203ca4)return _0x1b6c41[_0x249bb3(0x166)](this[_0x249bb3(0x1c9)](_0x45c282)),_0x1b6c41;let _0x425afe=getCookie(this[_0x249bb3(0x17c)](_0x45c282)),_0x140fbf=_0x425afe?_0x425afe['split'](','):[],_0x2629f1=![];if(_0x140fbf[_0x249bb3(0x20a)]>0x0)for(let _0x1666f9=0x0;_0x1666f9<_0x140fbf[_0x249bb3(0x20a)];_0x1666f9++){let _0x922aef=_0x2a0637[_0x140fbf[_0x1666f9]];if(!_0x922aef)continue;_0x922aef=_0x922aef[_0x249bb3(0x21c)],_0x1b6c41[_0x249bb3(0x166)](this[_0x249bb3(0x1c9)](_0x922aef)),_0x922aef[_0x249bb3(0x1ab)]===_0x45c282['menuId']&&(_0x2629f1=!![]);}return!_0x2629f1&&_0x1b6c41[_0x249bb3(0x166)](this[_0x249bb3(0x1c9)](_0x45c282)),_0x1b6c41;}[a8_0x7ac5d7(0x19e)](_0x5a2f15,_0x450549){const _0x33dfd2=a8_0x7ac5d7;if(!_0x450549)return;let {tabCache:_0x164380}=this[_0x33dfd2(0x211)];if(!_0x164380)return;if(_0x5a2f15&&_0x5a2f15[_0x33dfd2(0x20a)]>0x0){let _0x1c8d99=[];_0x5a2f15[_0x33dfd2(0x1dd)](_0x2f7b73=>{const _0x4b35b4=_0x33dfd2;_0x1c8d99[_0x4b35b4(0x166)](_0x2f7b73[_0x4b35b4(0x1f0)]);}),setCookie(this[_0x33dfd2(0x17c)](_0x450549),_0x1c8d99[_0x33dfd2(0x1f1)](','));}else removeCookie(this[_0x33dfd2(0x17c)](_0x450549));}[a8_0x7ac5d7(0x171)](_0x46de53){const _0x12707f=a8_0x7ac5d7;let {menus:_0x1f69ec,topMenu:_0x3ca942,showTab:_0x54d607}=this[_0x12707f(0x211)];if(!_0x3ca942&&_0x54d607){this[_0x12707f(0x21b)]?this[_0x12707f(0x193)](this[_0x12707f(0x21b)],_0x46de53):this[_0x12707f(0x1af)][_0x12707f(0x165)]({'key':_0x12707f(0x205),'children':this['_createTabs'](_0x23b511=>{const _0x24a226=_0x12707f;this[_0x24a226(0x21b)]=_0x23b511;},_0x46de53)});return;}if(_0x3ca942){if(_0x54d607){let _0x2933ad=findLeftMenu({'menus':_0x1f69ec,'curMenu':_0x46de53,'topMenu':_0x3ca942});if(_0x2933ad&&_0x2933ad[_0x12707f(0x20a)]>0x0){let _0x3504d4=findRootMenu(_0x46de53);if(this['cachePanel'][_0x12707f(0x1bb)](_0x3504d4[_0x12707f(0x1ab)])){this[_0x12707f(0x1af)]['setActiveKey'](_0x3504d4['menuId'],{'triggerOnChange':![]});let _0xbdcc4e=this[_0x12707f(0x182)][_0x3504d4[_0x12707f(0x1ab)]];this['_tabsShowMenu'](_0xbdcc4e,_0x46de53);}else this[_0x12707f(0x1af)][_0x12707f(0x1f9)]({'key':_0x3504d4[_0x12707f(0x1ab)],'children':this[_0x12707f(0x180)](_0x5947e8=>{const _0x5bedb5=_0x12707f;this['tabsMap'][_0x3504d4[_0x5bedb5(0x1ab)]]=_0x5947e8;},_0x46de53)},{'activeKey':_0x3504d4['menuId'],'triggerOnChange':![]});}else this[_0x12707f(0x1cb)](_0x46de53);}else this[_0x12707f(0x1cb)](_0x46de53);}else this[_0x12707f(0x1cb)](_0x46de53);}['_cachePanelShowMenu'](_0x33a78e){const _0x496868=a8_0x7ac5d7;if(!_0x33a78e){this[_0x496868(0x1af)]['clearItems']();return;}let {menuId:_0x5840b6,name:_0x424b71}=_0x33a78e;if(this[_0x496868(0x211)][_0x496868(0x1ad)]){this[_0x496868(0x1af)]['exitItem'](_0x5840b6)?this['cachePanel'][_0x496868(0x1c6)](_0x5840b6,{'triggerOnChange':![]}):this[_0x496868(0x1af)][_0x496868(0x1f9)]({'key':_0x5840b6,'children':_0x5840b6+':'+_0x424b71},{'activeKey':_0x5840b6,'triggerOnChange':![]});return;}this[_0x496868(0x1af)]['setItems']({'key':_0x5840b6,'children':_0x5840b6+':'+_0x424b71});}['_tabsShowMenu'](_0x46f636,_0x5e1f03){const _0x18c57a=a8_0x7ac5d7;if(!_0x46f636)return;if(!_0x5e1f03){_0x46f636[_0x18c57a(0x215)]({'triggerOnChange':![]});return;}let {menuId:_0x8b020a}=_0x5e1f03;_0x46f636[_0x18c57a(0x1bb)](_0x8b020a)?_0x46f636[_0x18c57a(0x1c6)](_0x8b020a,{'triggerOnChange':![]}):_0x46f636['addItems'](this['_createTabItem'](_0x5e1f03),{'activeKey':_0x8b020a,'triggerOnChange':![]});}[a8_0x7ac5d7(0x160)](){const _0x319bfd=a8_0x7ac5d7;let {showNav:_0x314070,curMenu:_0x168ed5}=this[_0x319bfd(0x211)];return jsxs(Fragment,{'children':[_0x314070&&jsx(Breadcrumb,{'style':{'marginBottom':0xf},'items':findBreadcrumbItems(_0x168ed5)}),jsx(CachePanel,{'style':{'display':''+(_0x168ed5?_0x319bfd(0x1f4):_0x319bfd(0x1a3))},'ref':_0x3ad382=>this['cachePanel']=_0x3ad382})]});}}function wrapperMenus(_0x3554be){const _0x2f1ffe=a8_0x7ac5d7;if(!_0x3554be||_0x3554be['length']===0x0)return{'menus':[],'menusMap':{}};let _0x3261f2={},_0x1b5821={};_0x3554be[_0x2f1ffe(0x1dd)](_0x3ed53b=>{const _0x388216=_0x2f1ffe;let _0x3c37f1={'key':_0x3ed53b[_0x388216(0x1ab)],'label':_0x3ed53b[_0x388216(0x1f8)],'icon':_0x3ed53b[_0x388216(0x175)],'data':_0x3ed53b};_0x3261f2[_0x3ed53b[_0x388216(0x1ab)]]=_0x3c37f1,_0x1b5821[_0x3ed53b[_0x388216(0x1ab)]]=_0x3c37f1;}),_0x3554be['forEach'](_0x542425=>{const _0x17cb81=_0x2f1ffe;let {menuId:_0x50363e,parentMenuId:_0x20bc24}=_0x542425,_0x53711f=_0x3261f2[_0x20bc24];_0x53711f&&(!_0x53711f[_0x17cb81(0x19c)]&&(_0x53711f[_0x17cb81(0x19c)]=[]),_0x542425[_0x17cb81(0x1d3)]=_0x53711f['data'],_0x53711f[_0x17cb81(0x19c)][_0x17cb81(0x166)](_0x3261f2[_0x50363e]),delete _0x1b5821[_0x50363e]);});let _0x11027d=[];Object[_0x2f1ffe(0x18f)](_0x1b5821)[_0x2f1ffe(0x1dd)](_0x488db8=>_0x11027d['push'](_0x1b5821[_0x488db8]));if(_0x11027d[_0x2f1ffe(0x20a)]===0x0)return _0x11027d;return _0x11027d[_0x2f1ffe(0x1ac)]((_0x34663d,_0x2a6c1c)=>{const _0x4345a5=_0x2f1ffe;let _0x234ea6=_0x34663d[_0x4345a5(0x21c)][_0x4345a5(0x1ac)],_0x35ff4c=_0x2a6c1c[_0x4345a5(0x21c)][_0x4345a5(0x1ac)];return _0x234ea6-_0x35ff4c;}),{'menus':_0x11027d,'menusMap':_0x3261f2};}function findCurMenu(_0x4fd279,_0x356bc4){const _0x2a4d1b=a8_0x7ac5d7;if('/'===_0x356bc4||_0x356bc4==='')return null;if(!_0x4fd279||_0x4fd279[_0x2a4d1b(0x20a)]===0x0)return null;let _0x5ae957=_0x356bc4[_0x2a4d1b(0x1f6)]('/')[_0x2a4d1b(0x1f1)]('/');for(let _0x4ae10b=0x0;_0x4ae10b<_0x4fd279[_0x2a4d1b(0x20a)];_0x4ae10b++){let {data:_0x46b553,children:_0x5d8703}=_0x4fd279[_0x4ae10b],{urlPath:_0x45a655}=_0x46b553,_0x4c3163=_0x45a655[_0x2a4d1b(0x1f6)]('/')[_0x2a4d1b(0x1f1)]('/');if(_0x5ae957===_0x4c3163){if(!_0x5d8703||_0x5d8703[_0x2a4d1b(0x20a)]===0x0)return _0x46b553;return null;}if(_0x5d8703&&_0x5d8703['length']>0x0){let _0x3707ea=findCurMenu(_0x5d8703,_0x356bc4);if(_0x3707ea)return _0x3707ea;}}return null;}function findDefaultMenu(_0x36ac67){const _0x5e974c=a8_0x7ac5d7;if(!_0x36ac67||_0x36ac67[_0x5e974c(0x20a)]===0x0)return null;let {data:_0x17d22d,children:_0x3b1956}=_0x36ac67[0x0];if(!_0x3b1956||_0x3b1956[_0x5e974c(0x20a)]===0x0)return _0x17d22d;return findDefaultMenu(_0x3b1956);}function findLeftMenu({menus:_0x49f0f2,topMenu:_0x2a9d2a,curMenu:_0x4a1e8a}={}){const _0x3ebf2e=a8_0x7ac5d7;if(!_0x4a1e8a||!_0x49f0f2||_0x49f0f2[_0x3ebf2e(0x20a)]===0x0)return null;if(!_0x2a9d2a)return _0x49f0f2;for(let _0x1d5993=0x0;_0x1d5993<_0x49f0f2[_0x3ebf2e(0x20a)];_0x1d5993++){let {children:_0x2d948e}=_0x49f0f2[_0x1d5993];if(curMenuInMenus({'curMenu':_0x4a1e8a,'menus':_0x2d948e}))return _0x2d948e;}return null;}function curMenuInMenus({curMenu:_0x2310c2,menus:_0x568dfb}={}){const _0x592ae2=a8_0x7ac5d7;if(!_0x2310c2||!_0x568dfb||_0x568dfb[_0x592ae2(0x20a)]===0x0)return![];for(let _0xab5ad9=0x0;_0xab5ad9<_0x568dfb[_0x592ae2(0x20a)];_0xab5ad9++){let {data:_0x59066a,children:_0x44a61e}=_0x568dfb[_0xab5ad9];if(_0x59066a[_0x592ae2(0x1ab)]===_0x2310c2[_0x592ae2(0x1ab)])return!![];if(_0x44a61e&&_0x44a61e['length']>0x0){if(curMenuInMenus({'curMenu':_0x2310c2,'menus':_0x44a61e}))return!![];}}return![];}function findOpenMenuKeys(_0x3d03d2,_0x3e3bee){const _0x2f38f5=a8_0x7ac5d7;let _0x4a8b34=[],{menuId:_0x257a82,parentMenu:_0x3b34a5}=_0x3d03d2;if(_0x3e3bee[_0x257a82])return _0x4a8b34;if(!_0x3b34a5)return _0x4a8b34;return _0x4a8b34[_0x2f38f5(0x166)](_0x3b34a5[_0x2f38f5(0x1ab)]),_0x4a8b34[_0x2f38f5(0x166)](...findOpenMenuKeys(_0x3b34a5,_0x3e3bee)),_0x4a8b34;}function findRootMenu(_0x4760b7){let {parentMenu:_0x54073e}=_0x4760b7;if(!_0x54073e)return _0x4760b7;return findRootMenu(_0x54073e);}function findBreadcrumbItems(_0x48eead){const _0x27a818=a8_0x7ac5d7;let _0x4aee38=[];if(!_0x48eead)return _0x4aee38;let {iconCls:_0x278c50,name:_0x490fd4}=_0x48eead;_0x278c50?_0x4aee38[_0x27a818(0x166)]({'title':jsxs(_0x27a818(0x1ba),{'children':[jsx(SvgIcon,{'id':_0x278c50,'fontSize':0xe,'style':{'verticalAlign':-0x2,'marginRight':0x5}}),_0x490fd4]})}):_0x4aee38[_0x27a818(0x166)]({'title':_0x490fd4});let {parentMenu:_0x2b1770}=_0x48eead;if(!_0x2b1770)return _0x4aee38;return _0x4aee38[_0x27a818(0x166)](...findBreadcrumbItems(_0x2b1770)),_0x4aee38[_0x27a818(0x1cf)]();}export{IndexPage as I};
@@ -1 +1 @@
1
- function a9_0x2ca7(){var _0x1474e3=['1128716QjujWt','2071764IMiMLY','14852992zOqPkA','5257280GrRowD','3000516RNcmiJ','14maffuI','4190652JShQTo','211518lAPffc'];a9_0x2ca7=function(){return _0x1474e3;};return a9_0x2ca7();}(function(_0xa6ef07,_0x2f5c09){var _0x38db08=a9_0x133a,_0x311101=_0xa6ef07();while(!![]){try{var _0x684389=parseInt(_0x38db08(0x16c))/0x1+parseInt(_0x38db08(0x173))/0x2+parseInt(_0x38db08(0x16d))/0x3+parseInt(_0x38db08(0x170))/0x4+parseInt(_0x38db08(0x16f))/0x5+parseInt(_0x38db08(0x172))/0x6+-parseInt(_0x38db08(0x171))/0x7*(parseInt(_0x38db08(0x16e))/0x8);if(_0x684389===_0x2f5c09)break;else _0x311101['push'](_0x311101['shift']());}catch(_0x1d0b16){_0x311101['push'](_0x311101['shift']());}}}(a9_0x2ca7,0xadca2));function a9_0x133a(_0x5e5089,_0x59b47d){var _0x2ca711=a9_0x2ca7();return a9_0x133a=function(_0x133aab,_0x33e587){_0x133aab=_0x133aab-0x16c;var _0x29cf42=_0x2ca711[_0x133aab];return _0x29cf42;},a9_0x133a(_0x5e5089,_0x59b47d);}import'./../../assets/app/app.css';import{L}from'./login/LoginPage.js';import{I}from'./index/IndexPage.js';export{I as IndexPage,L as LoginPage};
1
+ (function(_0x389391,_0x951a70){var _0x5abace=a9_0x28cd,_0x14740f=_0x389391();while(!![]){try{var _0x31f5d0=parseInt(_0x5abace(0x15e))/0x1+parseInt(_0x5abace(0x161))/0x2+-parseInt(_0x5abace(0x159))/0x3+parseInt(_0x5abace(0x15f))/0x4*(-parseInt(_0x5abace(0x15a))/0x5)+-parseInt(_0x5abace(0x15c))/0x6+parseInt(_0x5abace(0x160))/0x7*(parseInt(_0x5abace(0x15b))/0x8)+parseInt(_0x5abace(0x15d))/0x9;if(_0x31f5d0===_0x951a70)break;else _0x14740f['push'](_0x14740f['shift']());}catch(_0x69f5b1){_0x14740f['push'](_0x14740f['shift']());}}}(a9_0x5d80,0x480cb));import{L}from'./login/LoginPage.js';import{I}from'./index/IndexPage.js';function a9_0x5d80(){var _0x48f3d3=['25OCRRjj','562504EOzUvd','1828344DJWBeO','2996955qusmbA','424592MsMAzK','117728nRHzBy','7bcUHLr','870732kdVFaj','1548801phPuOz'];a9_0x5d80=function(){return _0x48f3d3;};return a9_0x5d80();}function a9_0x28cd(_0x5f3413,_0x540855){var _0x5d80d2=a9_0x5d80();return a9_0x28cd=function(_0x28cd6f,_0x390528){_0x28cd6f=_0x28cd6f-0x159;var _0x7f8274=_0x5d80d2[_0x28cd6f];return _0x7f8274;},a9_0x28cd(_0x5f3413,_0x540855);}export{I as IndexPage,L as LoginPage};
@@ -1 +1 @@
1
- (function(_0x327de5,_0x720765){const _0x24dd36=a10_0xf416,_0x4b68e8=_0x327de5();while(!![]){try{const _0x2b0473=-parseInt(_0x24dd36(0x158))/0x1+-parseInt(_0x24dd36(0x148))/0x2+parseInt(_0x24dd36(0x13d))/0x3+parseInt(_0x24dd36(0x13f))/0x4*(parseInt(_0x24dd36(0x155))/0x5)+parseInt(_0x24dd36(0x142))/0x6*(-parseInt(_0x24dd36(0x14d))/0x7)+parseInt(_0x24dd36(0x13e))/0x8+parseInt(_0x24dd36(0x137))/0x9;if(_0x2b0473===_0x720765)break;else _0x4b68e8['push'](_0x4b68e8['shift']());}catch(_0x56a298){_0x4b68e8['push'](_0x4b68e8['shift']());}}}(a10_0x3dd2,0x74e9d));function a10_0xf416(_0x475769,_0x58d9b1){const _0x3dd26b=a10_0x3dd2();return a10_0xf416=function(_0xf41660,_0x10be17){_0xf41660=_0xf41660-0x12e;let _0x49ca35=_0x3dd26b[_0xf41660];return _0x49ca35;},a10_0xf416(_0x475769,_0x58d9b1);}import{jsxs,jsx}from'react/jsx-runtime';import{Avatar,Form,Input,Row,Col,Button}from'antd';import{BaseFunction}from'threels-workbench-component';import{UserOutlined,LockOutlined}from'@ant-design/icons';import{useState,useEffect,useRef,useCallback}from'react';import{a as a10_0x5d92d1}from'../../presenter/presenter.js';function a10_0x3dd2(){const _0x3c2f8f=['946568GlLfTa','请输入账号!','validateFields','6AobAHa','login-btn','rgba(0,0,0,.25)','account','请输入密码!','login','1321178fcXdWr','login-img','login-box','div','useUrlQuery','3085411NqKXSW','请输入密码','data','_ctx','key','location','primary','useSpin','5KzMFKQ','href','/_res/cover/','643615xeXJuM','showDoingIndicator','Password','name','登录中...','img-bg','/_res/logo/','large','login-info','platform','login-name','8746002hlmgSK','password','Enter','Item','then','url(','2305611zIXcYs','1975176jMTTZK'];a10_0x3dd2=function(){return _0x3c2f8f;};return a10_0x3dd2();}import'threels-workbench-core';function LoginPage(_0x179c7b){const _0x31ab01=a10_0xf416;let {platform:_0x4f4a53,platformName:_0x556895}=_0x179c7b,[_0x7a670f,_0x586eff]=useState(_0x556895),{render:_0x53a128,show:_0x2b4109,close:_0x530365}=BaseFunction[_0x31ab01(0x154)](),_0x143ddd=a10_0x5d92d1({'showDoingIndicator':_0x2b4109,'closeDoingIndicator':_0x530365});useEffect(()=>{const _0x1282d0=_0x31ab01;_0x143ddd[_0x1282d0(0x135)]({'platform':_0x4f4a53},{},_0x4285c6=>{const _0x1bc159=_0x1282d0;_0x586eff(_0x4285c6[_0x1bc159(0x14f)][_0x1bc159(0x12f)]);});},[]);let _0x564718=useRef(null);const _0x83506e=useCallback(()=>{const _0x3d71c4=_0x31ab01;_0x564718['current'][_0x3d71c4(0x141)]()[_0x3d71c4(0x13b)](_0x413aff=>{const _0x419ae0=_0x3d71c4;_0x143ddd[_0x419ae0(0x159)](_0x419ae0(0x130)),_0x143ddd[_0x419ae0(0x147)]({..._0x413aff,'platform':_0x4f4a53},{},_0x7b2ccb=>{const _0x416010=_0x419ae0;let {backUrl:_0x31180f}=BaseFunction[_0x416010(0x14c)]();if(_0x31180f)window['location'][_0x416010(0x156)]=_0x31180f;else window['_ctx']?window[_0x416010(0x152)][_0x416010(0x156)]=window[_0x416010(0x150)]:window[_0x416010(0x152)][_0x416010(0x156)]='/';});});},[]);return jsxs(_0x31ab01(0x14b),{'className':'workbench-login-container','children':[jsx('div',{'className':_0x31ab01(0x149),'children':jsx(_0x31ab01(0x14b),{'className':_0x31ab01(0x131),'style':{'backgroundImage':_0x31ab01(0x13c)+window['_ctx']+_0x31ab01(0x157)+_0x4f4a53+')'}})}),jsx(_0x31ab01(0x14b),{'className':_0x31ab01(0x134),'children':jsxs(_0x31ab01(0x14b),{'className':_0x31ab01(0x14a),'children':[jsx(_0x31ab01(0x14b),{'className':'login-logo','children':jsx(Avatar,{'src':window['_ctx']+_0x31ab01(0x132)+_0x4f4a53,'size':0x40})}),jsx(_0x31ab01(0x14b),{'className':_0x31ab01(0x136),'children':jsx('span',{'children':_0x7a670f})}),_0x53a128(jsx('div',{'className':'login-form','children':jsxs(Form,{'ref':_0x564718,'wrapperCol':{'span':0x18},'children':[jsx(Form[_0x31ab01(0x13a)],{'name':_0x31ab01(0x145),'rules':[{'required':!![],'message':_0x31ab01(0x140)}],'children':jsx(Input,{'prefix':jsx(UserOutlined,{'style':{'color':_0x31ab01(0x144)}}),'placeholder':'请输入账号','onKeyDown':_0x52dd6b=>{const _0x1b3cba=_0x31ab01;_0x52dd6b[_0x1b3cba(0x151)]===_0x1b3cba(0x139)&&_0x83506e();}})}),jsx(Form[_0x31ab01(0x13a)],{'name':_0x31ab01(0x138),'rules':[{'required':!![],'message':_0x31ab01(0x146)}],'children':jsx(Input[_0x31ab01(0x12e)],{'prefix':jsx(LockOutlined,{'style':{'color':_0x31ab01(0x144)}}),'placeholder':_0x31ab01(0x14e),'onKeyDown':_0x577016=>{const _0x2f575b=_0x31ab01;_0x577016['key']===_0x2f575b(0x139)&&_0x83506e();}})}),jsx(Row,{'children':jsx(Col,{'span':0x18,'children':jsx(Button,{'type':_0x31ab01(0x153),'className':_0x31ab01(0x143),'size':_0x31ab01(0x133),'onClick':_0x83506e,'children':'登录'})})})]})}))]})})]});}export{LoginPage as L};
1
+ (function(_0xd388e0,_0x3ac0e5){const _0x1b10aa=a10_0x2913,_0x25d232=_0xd388e0();while(!![]){try{const _0x3b72c5=-parseInt(_0x1b10aa(0x1d2))/0x1*(-parseInt(_0x1b10aa(0x1d3))/0x2)+parseInt(_0x1b10aa(0x1af))/0x3+-parseInt(_0x1b10aa(0x1c4))/0x4+parseInt(_0x1b10aa(0x1b8))/0x5*(-parseInt(_0x1b10aa(0x1c3))/0x6)+parseInt(_0x1b10aa(0x1cd))/0x7+parseInt(_0x1b10aa(0x1ac))/0x8+-parseInt(_0x1b10aa(0x1c2))/0x9*(parseInt(_0x1b10aa(0x1be))/0xa);if(_0x3b72c5===_0x3ac0e5)break;else _0x25d232['push'](_0x25d232['shift']());}catch(_0x9c3530){_0x25d232['push'](_0x25d232['shift']());}}}(a10_0x1d9d,0x3703f));import'../../../assets/page/login/LoginPage.css';import{jsxs,jsx}from'react/jsx-runtime';import{Avatar,Form,Input,Row,Col,Button}from'antd';import{BaseFunction}from'threels-workbench-component';import{UserOutlined,LockOutlined}from'@ant-design/icons';function a10_0x2913(_0x3410d7,_0x124880){const _0x1d9d3d=a10_0x1d9d();return a10_0x2913=function(_0x2913ed,_0x42096c){_0x2913ed=_0x2913ed-0x1ab;let _0x14d949=_0x1d9d3d[_0x2913ed];return _0x14d949;},a10_0x2913(_0x3410d7,_0x124880);}function a10_0x1d9d(){const _0xba69c4=['/_res/logo/','password','2410880cracdj','登录中...','rgba(0,0,0,.25)','1000812VzGfmv','请输入密码','div','workbench-login-container','useUrlQuery','location','login-form','login-img','Enter','1295hcuJsD','/_res/cover/','showDoingIndicator','account','large','_ctx','609060TTzmNf','url(','useSpin','Item','90yVmSJn','5142rEmENL','587076UPpBYt','href','primary','key','login-name','login-box','validateFields','span','login-logo','3027948wAMAQl','img-bg','请输入账号','current','Password','135607bhfiOg','2AUsUzY','login','login-btn'];a10_0x1d9d=function(){return _0xba69c4;};return a10_0x1d9d();}import{useState,useEffect,useRef,useCallback}from'react';import{a as a10_0x3b325b}from'../../presenter/presenter.js';import'threels-workbench-core';function LoginPage(_0x4324ee){const _0x5c8578=a10_0x2913;let {platform:_0x25ef03,platformName:_0x43a34c}=_0x4324ee,[_0x52fde1,_0x9b19b8]=useState(_0x43a34c),{render:_0xf98f44,show:_0x5d5afc,close:_0x5e2d61}=BaseFunction[_0x5c8578(0x1c0)](),_0x5cd453=a10_0x3b325b({'showDoingIndicator':_0x5d5afc,'closeDoingIndicator':_0x5e2d61});useEffect(()=>{_0x5cd453['platform']({'platform':_0x25ef03},{},_0x375221=>{_0x9b19b8(_0x375221['data']['name']);});},[]);let _0x26e175=useRef(null);const _0x5bfbea=useCallback(()=>{const _0xb897ad=_0x5c8578;_0x26e175[_0xb897ad(0x1d0)][_0xb897ad(0x1ca)]()['then'](_0x5b493a=>{const _0x1d779d=_0xb897ad;_0x5cd453[_0x1d779d(0x1ba)](_0x1d779d(0x1ad)),_0x5cd453[_0x1d779d(0x1d4)]({..._0x5b493a,'platform':_0x25ef03},{},_0x506012=>{const _0x4def84=_0x1d779d;let {backUrl:_0xf9f8be}=BaseFunction[_0x4def84(0x1b3)]();if(_0xf9f8be)window[_0x4def84(0x1b4)][_0x4def84(0x1c5)]=_0xf9f8be;else window[_0x4def84(0x1bd)]?window[_0x4def84(0x1b4)]['href']=window['_ctx']:window[_0x4def84(0x1b4)][_0x4def84(0x1c5)]='/';});});},[]);return jsxs('div',{'className':_0x5c8578(0x1b2),'children':[jsx(_0x5c8578(0x1b1),{'className':_0x5c8578(0x1b6),'children':jsx(_0x5c8578(0x1b1),{'className':_0x5c8578(0x1ce),'style':{'backgroundImage':_0x5c8578(0x1bf)+window[_0x5c8578(0x1bd)]+_0x5c8578(0x1b9)+_0x25ef03+')'}})}),jsx('div',{'className':'login-info','children':jsxs(_0x5c8578(0x1b1),{'className':_0x5c8578(0x1c9),'children':[jsx('div',{'className':_0x5c8578(0x1cc),'children':jsx(Avatar,{'src':window[_0x5c8578(0x1bd)]+_0x5c8578(0x1d6)+_0x25ef03,'size':0x40})}),jsx('div',{'className':_0x5c8578(0x1c8),'children':jsx(_0x5c8578(0x1cb),{'children':_0x52fde1})}),_0xf98f44(jsx(_0x5c8578(0x1b1),{'className':_0x5c8578(0x1b5),'children':jsxs(Form,{'ref':_0x26e175,'wrapperCol':{'span':0x18},'children':[jsx(Form[_0x5c8578(0x1c1)],{'name':_0x5c8578(0x1bb),'rules':[{'required':!![],'message':'请输入账号!'}],'children':jsx(Input,{'prefix':jsx(UserOutlined,{'style':{'color':'rgba(0,0,0,.25)'}}),'placeholder':_0x5c8578(0x1cf),'onKeyDown':_0xf660c2=>{const _0x5ecf47=_0x5c8578;_0xf660c2[_0x5ecf47(0x1c7)]===_0x5ecf47(0x1b7)&&_0x5bfbea();}})}),jsx(Form[_0x5c8578(0x1c1)],{'name':_0x5c8578(0x1ab),'rules':[{'required':!![],'message':'请输入密码!'}],'children':jsx(Input[_0x5c8578(0x1d1)],{'prefix':jsx(LockOutlined,{'style':{'color':_0x5c8578(0x1ae)}}),'placeholder':_0x5c8578(0x1b0),'onKeyDown':_0x319a87=>{const _0x9a879f=_0x5c8578;_0x319a87[_0x9a879f(0x1c7)]==='Enter'&&_0x5bfbea();}})}),jsx(Row,{'children':jsx(Col,{'span':0x18,'children':jsx(Button,{'type':_0x5c8578(0x1c6),'className':_0x5c8578(0x1d5),'size':_0x5c8578(0x1bc),'onClick':_0x5bfbea,'children':'登录'})})})]})}))]})})]});}export{LoginPage as L};
@@ -1 +1 @@
1
- function a11_0x5627(){const _0x32e625=['250893jWeDRn','8HVruEp','/api/platform_info','20mpEvlv','login','loginOut','platformList','info','1650wneDoP','3654064TgieFO','89098tPlebz','resolve','platformSwitch','/api/_webplatform_workbench/account/info','/api/loginOut','/api/_webplatform_workbench/account/modify','783062RiETuU','1569384IDcUTD','reject','then','modify','platformMenu','resetPwd','platform','12630WPjcyp','6039640FtWQxH','/api/_webplatform_workbench/account/platform/switch'];a11_0x5627=function(){return _0x32e625;};return a11_0x5627();}const a11_0x514c91=a11_0x7dc5;(function(_0x26e598,_0x39d895){const _0x52a091=a11_0x7dc5,_0x478002=_0x26e598();while(!![]){try{const _0x58c0a5=parseInt(_0x52a091(0xc9))/0x1*(parseInt(_0x52a091(0xb7))/0x2)+parseInt(_0x52a091(0xbe))/0x3+parseInt(_0x52a091(0xb6))/0x4+-parseInt(_0x52a091(0xc5))/0x5*(parseInt(_0x52a091(0xb5))/0x6)+parseInt(_0x52a091(0xbd))/0x7+-parseInt(_0x52a091(0xc6))/0x8+-parseInt(_0x52a091(0xc8))/0x9*(-parseInt(_0x52a091(0xcb))/0xa);if(_0x58c0a5===_0x39d895)break;else _0x478002['push'](_0x478002['shift']());}catch(_0x579347){_0x478002['push'](_0x478002['shift']());}}}(a11_0x5627,0x7cc4b));import{useMemo}from'react';function a11_0x7dc5(_0x3b5ed0,_0x14db12){const _0x5627a5=a11_0x5627();return a11_0x7dc5=function(_0x7dc544,_0x298791){_0x7dc544=_0x7dc544-0xb2;let _0x54bf94=_0x5627a5[_0x7dc544];return _0x54bf94;},a11_0x7dc5(_0x3b5ed0,_0x14db12);}import{Presenter,submitFormData,submitJsonData}from'threels-workbench-core';function useWorkbenchLoginPresenter(_0x364425){return useMemo(()=>new WorkbenchLoginPresenter(_0x364425),[]);}class WorkbenchLoginPresenter extends Presenter{constructor(_0x140602){super(_0x140602);}[a11_0x514c91(0xc4)](_0x294f24,_0x5d7252,_0x51ce5f,_0x5a7f38,_0x2b4106){const _0x262dfb=a11_0x514c91;let _0x36de4f=_0x262dfb(0xca);submitFormData({..._0x2b4106?_0x2b4106:{},'url':_0x36de4f,'bodyParams':_0x294f24,'urlParams':_0x5d7252})[_0x262dfb(0xc0)](_0x5195d8=>this[_0x262dfb(0xb8)](_0x51ce5f,_0x5195d8,{'url':_0x36de4f,'body':_0x294f24,'query':_0x5d7252}),_0x12c10b=>this[_0x262dfb(0xbf)](_0x5a7f38,_0x12c10b,{'url':_0x36de4f,'body':_0x294f24,'query':_0x5d7252}));}[a11_0x514c91(0xcc)](_0x40b7a0,_0x14f2a4,_0x42fb2e,_0x3845a0,_0x1b415e){const _0x23ae75=a11_0x514c91;let _0x22e368='/api/login';submitFormData({..._0x1b415e?_0x1b415e:{},'url':_0x22e368,'bodyParams':_0x40b7a0,'urlParams':_0x14f2a4})[_0x23ae75(0xc0)](_0x4ddb68=>this[_0x23ae75(0xb8)](_0x42fb2e,_0x4ddb68,{'url':_0x22e368,'body':_0x40b7a0,'query':_0x14f2a4}),_0x318d8b=>this[_0x23ae75(0xbf)](_0x3845a0,_0x318d8b,{'url':_0x22e368,'body':_0x40b7a0,'query':_0x14f2a4}));}[a11_0x514c91(0xb2)](_0x4838bb,_0x1ced83,_0x5997fc,_0x110cd6,_0x793054){const _0x120e65=a11_0x514c91;let _0x655ced=_0x120e65(0xbb);submitFormData({..._0x793054?_0x793054:{},'url':_0x655ced,'bodyParams':_0x4838bb,'urlParams':_0x1ced83})[_0x120e65(0xc0)](_0x19fea8=>this[_0x120e65(0xb8)](_0x5997fc,_0x19fea8,{'url':_0x655ced,'body':_0x4838bb,'query':_0x1ced83}),_0x2e6627=>this[_0x120e65(0xbf)](_0x110cd6,_0x2e6627,{'url':_0x655ced,'body':_0x4838bb,'query':_0x1ced83}));}}function useWorkbenchAccountPresenter(_0xc5bf24){return useMemo(()=>new WorkbenchAccountPresenter(_0xc5bf24),[]);}class WorkbenchAccountPresenter extends Presenter{constructor(_0x4a06cf){super(_0x4a06cf);}[a11_0x514c91(0xc2)](_0x51cb4f,_0x2753c7,_0x84ee63,_0x1a09b5,_0x309c12){const _0x5e8d39=a11_0x514c91;let _0x2524cd='/api/_webplatform_workbench/account/platform/menu';submitFormData({..._0x309c12?_0x309c12:{},'url':_0x2524cd,'bodyParams':_0x51cb4f,'urlParams':_0x2753c7})['then'](_0x131d59=>this[_0x5e8d39(0xb8)](_0x84ee63,_0x131d59,{'url':_0x2524cd,'body':_0x51cb4f,'query':_0x2753c7}),_0x3802ac=>this[_0x5e8d39(0xbf)](_0x1a09b5,_0x3802ac,{'url':_0x2524cd,'body':_0x51cb4f,'query':_0x2753c7}));}[a11_0x514c91(0xb3)](_0xd311e7,_0x3d21e1,_0x56d8f6,_0x159389,_0x174c7f){const _0x38ac41=a11_0x514c91;let _0x1eed4f='/api/_webplatform_workbench/account/platform/list';submitFormData({..._0x174c7f?_0x174c7f:{},'url':_0x1eed4f,'bodyParams':_0xd311e7,'urlParams':_0x3d21e1})['then'](_0xbcbbcb=>this[_0x38ac41(0xb8)](_0x56d8f6,_0xbcbbcb,{'url':_0x1eed4f,'body':_0xd311e7,'query':_0x3d21e1}),_0x29f8ef=>this[_0x38ac41(0xbf)](_0x159389,_0x29f8ef,{'url':_0x1eed4f,'body':_0xd311e7,'query':_0x3d21e1}));}[a11_0x514c91(0xb9)](_0xd8dc87,_0x259991,_0x3e4e2a,_0x462cdf,_0x2652fe){const _0x3440e8=a11_0x514c91;let _0x5c596d=_0x3440e8(0xc7);submitFormData({..._0x2652fe?_0x2652fe:{},'url':_0x5c596d,'bodyParams':_0xd8dc87,'urlParams':_0x259991})[_0x3440e8(0xc0)](_0xb97ccb=>this[_0x3440e8(0xb8)](_0x3e4e2a,_0xb97ccb,{'url':_0x5c596d,'body':_0xd8dc87,'query':_0x259991}),_0xc032d4=>this[_0x3440e8(0xbf)](_0x462cdf,_0xc032d4,{'url':_0x5c596d,'body':_0xd8dc87,'query':_0x259991}));}[a11_0x514c91(0xb4)](_0x452630,_0x3d87a3,_0x3e3986,_0x27fece,_0x1dfb99){const _0x5e9b8c=a11_0x514c91;let _0x5c1879=_0x5e9b8c(0xba);submitFormData({..._0x1dfb99?_0x1dfb99:{},'url':_0x5c1879,'bodyParams':_0x452630,'urlParams':_0x3d87a3})[_0x5e9b8c(0xc0)](_0x311726=>this[_0x5e9b8c(0xb8)](_0x3e3986,_0x311726,{'url':_0x5c1879,'body':_0x452630,'query':_0x3d87a3}),_0xfc7a85=>this[_0x5e9b8c(0xbf)](_0x27fece,_0xfc7a85,{'url':_0x5c1879,'body':_0x452630,'query':_0x3d87a3}));}[a11_0x514c91(0xc1)](_0x2dd04e,_0x4ac6b2,_0x48322f,_0x42a36a,_0x2509c9){const _0x23eb61=a11_0x514c91;let _0x2d2c5f=_0x23eb61(0xbc);submitJsonData({..._0x2509c9?_0x2509c9:{},'url':_0x2d2c5f,'bodyParams':_0x2dd04e,'urlParams':_0x4ac6b2})['then'](_0x52fabb=>this['resolve'](_0x48322f,_0x52fabb,{'url':_0x2d2c5f,'body':_0x2dd04e,'query':_0x4ac6b2}),_0x4f7be2=>this[_0x23eb61(0xbf)](_0x42a36a,_0x4f7be2,{'url':_0x2d2c5f,'body':_0x2dd04e,'query':_0x4ac6b2}));}[a11_0x514c91(0xc3)](_0x44af54,_0x4c4faa,_0x346132,_0x9c2dee,_0x215a4){const _0x2276b3=a11_0x514c91;let _0xa1c10f='/api/_webplatform_workbench/account/reset/pwd';submitFormData({..._0x215a4?_0x215a4:{},'url':_0xa1c10f,'bodyParams':_0x44af54,'urlParams':_0x4c4faa})[_0x2276b3(0xc0)](_0x40c385=>this[_0x2276b3(0xb8)](_0x346132,_0x40c385,{'url':_0xa1c10f,'body':_0x44af54,'query':_0x4c4faa}),_0x583072=>this[_0x2276b3(0xbf)](_0x9c2dee,_0x583072,{'url':_0xa1c10f,'body':_0x44af54,'query':_0x4c4faa}));}}export{WorkbenchAccountPresenter as W,useWorkbenchLoginPresenter as a,useWorkbenchAccountPresenter as u};
1
+ const a11_0x5a7350=a11_0x2183;(function(_0x1099c7,_0x34a6a4){const _0x33e0d8=a11_0x2183,_0x5e5760=_0x1099c7();while(!![]){try{const _0x154fb8=-parseInt(_0x33e0d8(0x10c))/0x1*(-parseInt(_0x33e0d8(0xfc))/0x2)+parseInt(_0x33e0d8(0x106))/0x3*(parseInt(_0x33e0d8(0x113))/0x4)+parseInt(_0x33e0d8(0x111))/0x5*(-parseInt(_0x33e0d8(0x105))/0x6)+parseInt(_0x33e0d8(0xff))/0x7*(parseInt(_0x33e0d8(0x100))/0x8)+parseInt(_0x33e0d8(0x114))/0x9+-parseInt(_0x33e0d8(0x108))/0xa+-parseInt(_0x33e0d8(0x109))/0xb;if(_0x154fb8===_0x34a6a4)break;else _0x5e5760['push'](_0x5e5760['shift']());}catch(_0x606f65){_0x5e5760['push'](_0x5e5760['shift']());}}}(a11_0x16d9,0xaf378));import{useMemo}from'react';import{Presenter,submitFormData,submitJsonData}from'threels-workbench-core';function a11_0x16d9(){const _0x421c96=['8SWwpZs','/api/_webplatform_workbench/account/platform/switch','resolve','reject','platformList','6142254JKWZHi','901005mAMngc','/api/login','8673970RPBphS','11866085XuQLsP','then','platform','3gfmEne','loginOut','platformSwitch','/api/loginOut','platformMenu','5GGUxbx','/api/_webplatform_workbench/account/platform/list','16hVOcWQ','12289320HzzaMm','resetPwd','202054HYYTmH','/api/_webplatform_workbench/account/reset/pwd','modify','5723396qzIfZv'];a11_0x16d9=function(){return _0x421c96;};return a11_0x16d9();}function a11_0x2183(_0x158531,_0xfc84d7){const _0x16d993=a11_0x16d9();return a11_0x2183=function(_0x21839f,_0x1b9213){_0x21839f=_0x21839f-0xfb;let _0x12df63=_0x16d993[_0x21839f];return _0x12df63;},a11_0x2183(_0x158531,_0xfc84d7);}function useWorkbenchLoginPresenter(_0x17a9c8){return useMemo(()=>new WorkbenchLoginPresenter(_0x17a9c8),[]);}class WorkbenchLoginPresenter extends Presenter{constructor(_0x16658b){super(_0x16658b);}[a11_0x5a7350(0x10b)](_0x2648bb,_0x3fa3a9,_0x364c28,_0x165b35,_0x332a32){const _0xc56cf2=a11_0x5a7350;let _0x235433='/api/platform_info';submitFormData({..._0x332a32?_0x332a32:{},'url':_0x235433,'bodyParams':_0x2648bb,'urlParams':_0x3fa3a9})[_0xc56cf2(0x10a)](_0x45dce0=>this[_0xc56cf2(0x102)](_0x364c28,_0x45dce0,{'url':_0x235433,'body':_0x2648bb,'query':_0x3fa3a9}),_0x4f75a9=>this[_0xc56cf2(0x103)](_0x165b35,_0x4f75a9,{'url':_0x235433,'body':_0x2648bb,'query':_0x3fa3a9}));}['login'](_0x2d380a,_0x517572,_0x34e29e,_0x4900c4,_0x4badac){const _0x1b5107=a11_0x5a7350;let _0x1c4f6f=_0x1b5107(0x107);submitFormData({..._0x4badac?_0x4badac:{},'url':_0x1c4f6f,'bodyParams':_0x2d380a,'urlParams':_0x517572})[_0x1b5107(0x10a)](_0x588acd=>this[_0x1b5107(0x102)](_0x34e29e,_0x588acd,{'url':_0x1c4f6f,'body':_0x2d380a,'query':_0x517572}),_0x447be5=>this[_0x1b5107(0x103)](_0x4900c4,_0x447be5,{'url':_0x1c4f6f,'body':_0x2d380a,'query':_0x517572}));}[a11_0x5a7350(0x10d)](_0x5d9b3c,_0x50dfbb,_0x4acd36,_0x23864f,_0x37ec80){const _0x47e915=a11_0x5a7350;let _0x49b6e7=_0x47e915(0x10f);submitFormData({..._0x37ec80?_0x37ec80:{},'url':_0x49b6e7,'bodyParams':_0x5d9b3c,'urlParams':_0x50dfbb})[_0x47e915(0x10a)](_0x297cd9=>this['resolve'](_0x4acd36,_0x297cd9,{'url':_0x49b6e7,'body':_0x5d9b3c,'query':_0x50dfbb}),_0x2aed0e=>this[_0x47e915(0x103)](_0x23864f,_0x2aed0e,{'url':_0x49b6e7,'body':_0x5d9b3c,'query':_0x50dfbb}));}}function useWorkbenchAccountPresenter(_0x110687){return useMemo(()=>new WorkbenchAccountPresenter(_0x110687),[]);}class WorkbenchAccountPresenter extends Presenter{constructor(_0x48da35){super(_0x48da35);}[a11_0x5a7350(0x110)](_0x24905f,_0xc4b369,_0x2ad0ac,_0x28e2be,_0x32c6c8){const _0x3f7d78=a11_0x5a7350;let _0x3b1b22='/api/_webplatform_workbench/account/platform/menu';submitFormData({..._0x32c6c8?_0x32c6c8:{},'url':_0x3b1b22,'bodyParams':_0x24905f,'urlParams':_0xc4b369})[_0x3f7d78(0x10a)](_0x3d3469=>this['resolve'](_0x2ad0ac,_0x3d3469,{'url':_0x3b1b22,'body':_0x24905f,'query':_0xc4b369}),_0x3866fb=>this[_0x3f7d78(0x103)](_0x28e2be,_0x3866fb,{'url':_0x3b1b22,'body':_0x24905f,'query':_0xc4b369}));}[a11_0x5a7350(0x104)](_0x185811,_0x5c0d8e,_0x35ba4a,_0x22a81d,_0xc2dc94){const _0x289d0a=a11_0x5a7350;let _0x2168a4=_0x289d0a(0x112);submitFormData({..._0xc2dc94?_0xc2dc94:{},'url':_0x2168a4,'bodyParams':_0x185811,'urlParams':_0x5c0d8e})[_0x289d0a(0x10a)](_0x265456=>this[_0x289d0a(0x102)](_0x35ba4a,_0x265456,{'url':_0x2168a4,'body':_0x185811,'query':_0x5c0d8e}),_0x109d21=>this[_0x289d0a(0x103)](_0x22a81d,_0x109d21,{'url':_0x2168a4,'body':_0x185811,'query':_0x5c0d8e}));}[a11_0x5a7350(0x10e)](_0x21e866,_0x5cc0ca,_0x12aebe,_0x523690,_0x5aad66){const _0x281f3e=a11_0x5a7350;let _0x7fd59a=_0x281f3e(0x101);submitFormData({..._0x5aad66?_0x5aad66:{},'url':_0x7fd59a,'bodyParams':_0x21e866,'urlParams':_0x5cc0ca})['then'](_0xd7fd6d=>this[_0x281f3e(0x102)](_0x12aebe,_0xd7fd6d,{'url':_0x7fd59a,'body':_0x21e866,'query':_0x5cc0ca}),_0x261f94=>this[_0x281f3e(0x103)](_0x523690,_0x261f94,{'url':_0x7fd59a,'body':_0x21e866,'query':_0x5cc0ca}));}['info'](_0x2b4082,_0x327b56,_0x4af4ef,_0x3de572,_0x2efb25){const _0xf46586=a11_0x5a7350;let _0x5b0b63='/api/_webplatform_workbench/account/info';submitFormData({..._0x2efb25?_0x2efb25:{},'url':_0x5b0b63,'bodyParams':_0x2b4082,'urlParams':_0x327b56})[_0xf46586(0x10a)](_0x3ffc44=>this[_0xf46586(0x102)](_0x4af4ef,_0x3ffc44,{'url':_0x5b0b63,'body':_0x2b4082,'query':_0x327b56}),_0x261d5f=>this[_0xf46586(0x103)](_0x3de572,_0x261d5f,{'url':_0x5b0b63,'body':_0x2b4082,'query':_0x327b56}));}[a11_0x5a7350(0xfe)](_0xa52f9,_0x445b6d,_0x5d8048,_0x209cb2,_0x3fc7a5){const _0x33eda5=a11_0x5a7350;let _0x149b81='/api/_webplatform_workbench/account/modify';submitJsonData({..._0x3fc7a5?_0x3fc7a5:{},'url':_0x149b81,'bodyParams':_0xa52f9,'urlParams':_0x445b6d})[_0x33eda5(0x10a)](_0x25f955=>this['resolve'](_0x5d8048,_0x25f955,{'url':_0x149b81,'body':_0xa52f9,'query':_0x445b6d}),_0x3efa47=>this[_0x33eda5(0x103)](_0x209cb2,_0x3efa47,{'url':_0x149b81,'body':_0xa52f9,'query':_0x445b6d}));}[a11_0x5a7350(0xfb)](_0x53363e,_0x2096f5,_0x59c360,_0xcde31e,_0x134f68){const _0x5b3ec7=a11_0x5a7350;let _0x3c6ba2=_0x5b3ec7(0xfd);submitFormData({..._0x134f68?_0x134f68:{},'url':_0x3c6ba2,'bodyParams':_0x53363e,'urlParams':_0x2096f5})[_0x5b3ec7(0x10a)](_0x504617=>this['resolve'](_0x59c360,_0x504617,{'url':_0x3c6ba2,'body':_0x53363e,'query':_0x2096f5}),_0x5245c0=>this[_0x5b3ec7(0x103)](_0xcde31e,_0x5245c0,{'url':_0x3c6ba2,'body':_0x53363e,'query':_0x2096f5}));}}export{WorkbenchAccountPresenter as W,useWorkbenchLoginPresenter as a,useWorkbenchAccountPresenter as u};
package/package.json CHANGED
@@ -1,18 +1,20 @@
1
1
  {
2
2
  "name": "threels-workbench-app",
3
3
  "private": false,
4
- "version": "0.0.2",
4
+ "version": "0.0.4",
5
5
  "type": "module",
6
6
  "main": "dist/lib/cjs/index.js",
7
7
  "module": "dist/lib/es/index.js",
8
8
  "files": [
9
+ "dist/lib/assets/*",
9
10
  "dist/lib/cjs/*",
10
11
  "dist/lib/es/*"
11
12
  ],
12
13
  "scripts": {
13
14
  "start": "vite",
14
15
  "dev": "vite",
15
- "build": "vite build",
16
+ "build": "vite build && yarn run build-copy",
17
+ "build-copy": "cp -R ./dist/assets ./dist/lib/assets",
16
18
  "lint": "eslint .",
17
19
  "preview": "vite preview"
18
20
  },
@@ -42,7 +44,6 @@
42
44
  "threels-workbench-core": "^0.0.11",
43
45
  "use-immer": "~0.11.0",
44
46
  "vite": "~7.0.0",
45
- "vite-obfuscator-zznode": "^1.3.1",
46
- "vite-plugin-libcss": "^1.1.2"
47
+ "vite-obfuscator-zznode": "^1.3.1"
47
48
  }
48
49
  }