threels-workbench-app 0.0.3 → 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.
- package/dist/lib/cjs/app/app.js +1 -1
- package/dist/lib/cjs/index.js +1 -1
- package/dist/lib/cjs/page/index/IndexPage.js +1 -1
- package/dist/lib/cjs/page/index.js +1 -1
- package/dist/lib/cjs/page/login/LoginPage.js +1 -1
- package/dist/lib/cjs/presenter/presenter.js +1 -1
- package/dist/lib/es/app/app.js +1 -1
- package/dist/lib/es/index.js +1 -1
- package/dist/lib/es/page/index/IndexPage.js +1 -1
- package/dist/lib/es/page/index.js +1 -1
- package/dist/lib/es/page/login/LoginPage.js +1 -1
- package/dist/lib/es/presenter/presenter.js +1 -1
- package/package.json +2 -3
package/dist/lib/cjs/app/app.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
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;
|
package/dist/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
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_0x2855a7=a2_0x106a;(function(_0x189cfc,_0x3b9ffe){const _0x4dd979=a2_0x106a,_0x120216=_0x189cfc();while(!![]){try{const _0x60a522=parseInt(_0x4dd979(0x11d))/0x1+parseInt(_0x4dd979(0x137))/0x2+-parseInt(_0x4dd979(0x186))/0x3+parseInt(_0x4dd979(0x1ea))/0x4+parseInt(_0x4dd979(0x19b))/0x5*(parseInt(_0x4dd979(0x136))/0x6)+parseInt(_0x4dd979(0x161))/0x7*(parseInt(_0x4dd979(0x17d))/0x8)+-parseInt(_0x4dd979(0x154))/0x9*(parseInt(_0x4dd979(0x1e6))/0xa);if(_0x60a522===_0x3b9ffe)break;else _0x120216['push'](_0x120216['shift']());}catch(_0x28c4df){_0x120216['push'](_0x120216['shift']());}}}(a2_0x5f20,0xe82b3));const jsxRuntime=require('react/jsx-runtime'),antd=require(a2_0x2855a7(0x14a)),icons=require('@ant-design/icons'),react=require(a2_0x2855a7(0x183)),WorkBench=require('threels-workbench-core'),threelsWorkbenchComponent=require(a2_0x2855a7(0x1b4)),presenter_presenter=require(a2_0x2855a7(0x1d8)),reactRouter=require(a2_0x2855a7(0x174));class AccountPwdForm extends threelsWorkbenchComponent[a2_0x2855a7(0x193)]{static [a2_0x2855a7(0x13c)]={'onSuccess':void 0x0};constructor(_0x3361a8){const _0x171c9e=a2_0x2855a7;super(_0x3361a8),this[_0x171c9e(0x1cb)]=new presenter_presenter['WorkbenchAccountPresenter'](this);}[a2_0x2855a7(0x16f)](){const _0x6f7d1e=a2_0x2855a7;this[_0x6f7d1e(0x15c)][_0x6f7d1e(0x126)]&&this['props']['onCancel']();}['_onSubmit'](){const _0x3c6db1=a2_0x2855a7;this['form'][_0x3c6db1(0x131)]()[_0x3c6db1(0x194)](_0x55f86f=>{const _0x11bf60=_0x3c6db1;let {oldPwd:_0x3d2ba4,newPwd:_0x29d68f,newPwd2:_0x2b4c4d}=_0x55f86f;if(_0x3d2ba4===_0x29d68f){this[_0x11bf60(0x106)](_0x11bf60(0x1d3));return;}if(_0x29d68f!==_0x2b4c4d){this[_0x11bf60(0x106)](_0x11bf60(0x1d6));return;}this[_0x11bf60(0x1d4)](_0x11bf60(0x117)),this[_0x11bf60(0x1cb)]['resetPwd']({'oldPwd':_0x3d2ba4,'newPwd':_0x29d68f},{},()=>{const _0x42ba94=_0x11bf60;this[_0x42ba94(0x10f)]('修改密码成功'),this[_0x42ba94(0x15c)][_0x42ba94(0x13e)]&&this[_0x42ba94(0x15c)][_0x42ba94(0x13e)]();});});}[a2_0x2855a7(0x109)](_0x31a74a){const _0x2a9920=a2_0x2855a7;this[_0x2a9920(0x1bd)](_0x31a74a);}['closeLoadingIndicator'](){const _0x197283=a2_0x2855a7;this[_0x197283(0x135)]();}['showDoingIndicator'](_0x1f44e9){const _0x499467=a2_0x2855a7;this[_0x499467(0x1bd)](_0x1f44e9);}[a2_0x2855a7(0x1e4)](){const _0x560104=a2_0x2855a7;this[_0x560104(0x135)]();}[a2_0x2855a7(0x173)](){const _0x17e602=a2_0x2855a7;return this[_0x17e602(0x1d1)](jsxRuntime['jsxs'](antd['Form'],{'ref':_0x29c442=>this['form']=_0x29c442,'layout':_0x17e602(0x1ca),'children':[jsxRuntime[_0x17e602(0x15e)](antd[_0x17e602(0x153)][_0x17e602(0x1a9)],{'label':_0x17e602(0x1c4),'name':_0x17e602(0x177),'rules':[{'required':!![],'message':'请输入旧密码!'}],'children':jsxRuntime[_0x17e602(0x15e)](antd[_0x17e602(0x17e)][_0x17e602(0x13d)],{'placeholder':'请输入旧密码'})}),jsxRuntime[_0x17e602(0x15e)](antd['Form']['Item'],{'label':'新密码','name':_0x17e602(0x10b),'rules':[{'required':!![],'message':_0x17e602(0x195)}],'children':jsxRuntime[_0x17e602(0x15e)](antd[_0x17e602(0x17e)][_0x17e602(0x13d)],{'placeholder':_0x17e602(0x113)})}),jsxRuntime[_0x17e602(0x15e)](antd[_0x17e602(0x153)][_0x17e602(0x1a9)],{'label':'确认密码','name':_0x17e602(0x13a),'rules':[{'required':!![],'message':_0x17e602(0x14c)}],'children':jsxRuntime[_0x17e602(0x15e)](antd[_0x17e602(0x17e)][_0x17e602(0x13d)],{'placeholder':'请输入确认密码'})}),jsxRuntime[_0x17e602(0x15e)](antd['Row'],{'type':'flex','justify':'end','children':jsxRuntime[_0x17e602(0x1ba)](antd[_0x17e602(0x197)],{'children':[jsxRuntime[_0x17e602(0x15e)](antd[_0x17e602(0x1a3)],{'onClick':this[_0x17e602(0x16f)][_0x17e602(0x16d)](this),'children':'取消'}),jsxRuntime['jsx'](antd[_0x17e602(0x1a3)],{'type':'primary','onClick':this[_0x17e602(0x15a)]['bind'](this),'children':'修改'})]})})]}));}}class AccountPlatformGrid extends threelsWorkbenchComponent[a2_0x2855a7(0x193)]{static [a2_0x2855a7(0x13c)]={'accountId':void 0x0,'onPlatformChange':void 0x0};constructor(_0x10272e){const _0x5f5931=a2_0x2855a7;super(_0x10272e),this[_0x5f5931(0x1cb)]=new presenter_presenter[(_0x5f5931(0x11a))](this);}[a2_0x2855a7(0x168)](){const _0x4bc316=a2_0x2855a7;this[_0x4bc316(0x134)]();}[a2_0x2855a7(0x134)](){const _0x335b54=a2_0x2855a7;this['showLoadingIndicator']('加载中...'),this[_0x335b54(0x1cb)][_0x335b54(0x1c9)]({},{},_0x2cf26f=>{const _0x425482=_0x335b54;this[_0x425482(0x110)][_0x425482(0x1a8)](_0x2cf26f[_0x425482(0x1df)]);});}['showLoadingIndicator'](_0x3d4284,_0x575758={}){const _0x29de60=a2_0x2855a7;this[_0x29de60(0x110)][_0x29de60(0x109)]();}[a2_0x2855a7(0x16b)](){const _0x585b82=a2_0x2855a7;this[_0x585b82(0x110)]['closeLoadingIndicator']();}[a2_0x2855a7(0x173)](){const _0x37f1da=a2_0x2855a7;return jsxRuntime['jsx'](threelsWorkbenchComponent[_0x37f1da(0x1de)],{'ref':_0x6efd63=>{const _0xd66ef4=_0x37f1da;this[_0xd66ef4(0x110)]=_0x6efd63;},'scroll':{'x':_0x37f1da(0x1ae)},'className':'table-margin-hide','_showPage':![],'rowKey':_0x59d95d=>_0x59d95d['id'],'size':_0x37f1da(0x16e),'columns':[{'title':'平台','dataIndex':_0x37f1da(0x133),'fixed':'left','render':(_0x43964b,_0x4e3995)=>{const _0x5d31da=_0x37f1da;let {platformName:_0x5c2adb,userPlatform:_0x2532f7,userPlatformName:_0x269abc,mainPlatform:_0x47d04d}=_0x4e3995;if(_0x2532f7)return jsxRuntime[_0x5d31da(0x1ba)](antd[_0x5d31da(0x192)],{'justify':_0x5d31da(0x116),'children':[jsxRuntime[_0x5d31da(0x1ba)](antd[_0x5d31da(0x197)],{'children':[jsxRuntime[_0x5d31da(0x15e)](antd[_0x5d31da(0x1a5)],{'children':_0x5c2adb}),jsxRuntime[_0x5d31da(0x15e)](antd['Tag'],{'children':_0x269abc})]}),_0x47d04d&&jsxRuntime[_0x5d31da(0x15e)](antd['Tag'],{'color':'error','children':_0x5d31da(0x129)})]});return jsxRuntime[_0x5d31da(0x1ba)](antd[_0x5d31da(0x192)],{'justify':_0x5d31da(0x116),'children':[jsxRuntime[_0x5d31da(0x15e)](antd[_0x5d31da(0x1a5)],{'children':_0x5c2adb}),_0x47d04d&&jsxRuntime[_0x5d31da(0x15e)](antd[_0x5d31da(0x1a5)],{'color':'error','children':_0x5d31da(0x129)})]});}},{'title':'角色','dataIndex':'roleNames','render':(_0x33d1d1,_0x4999ce)=>{const _0x4a21cf=_0x37f1da;let {roleNames:_0x52b941}=_0x4999ce;if(_0x52b941)return _0x52b941[_0x4a21cf(0x19a)](',')[_0x4a21cf(0x128)]((_0x22c28f,_0x29da3f)=>jsxRuntime['jsx'](antd['Tag'],{'children':_0x22c28f},_0x29da3f));return null;}}]});}}class AccountModifyForm extends threelsWorkbenchComponent[a2_0x2855a7(0x193)]{static [a2_0x2855a7(0x13c)]={'onSuccess':void 0x0};constructor(_0x5ca778){const _0x18170c=a2_0x2855a7;super(_0x5ca778),this['presenter']=new presenter_presenter[(_0x18170c(0x11a))](this);}[a2_0x2855a7(0x168)](){const _0xbe410c=a2_0x2855a7;this[_0xbe410c(0x134)]();}['_search'](){const _0x2f0c2d=a2_0x2855a7;this[_0x2f0c2d(0x109)](_0x2f0c2d(0x178)),this[_0x2f0c2d(0x1cb)][_0x2f0c2d(0x12e)]({},{},_0x3e2a3e=>{const _0x5a9fc7=_0x2f0c2d;this[_0x5a9fc7(0x18e)][_0x5a9fc7(0x1b2)](_0x3e2a3e[_0x5a9fc7(0x1df)]);});}[a2_0x2855a7(0x16f)](){const _0xa4a436=a2_0x2855a7;this[_0xa4a436(0x15c)][_0xa4a436(0x126)]&&this[_0xa4a436(0x15c)]['onCancel']();}[a2_0x2855a7(0x15a)](){const _0x3f8213=a2_0x2855a7;this['form'][_0x3f8213(0x131)]()[_0x3f8213(0x194)](_0xc4eb32=>{const _0x5e9997=_0x3f8213;this[_0x5e9997(0x1d4)](_0x5e9997(0x117)),this[_0x5e9997(0x1cb)][_0x5e9997(0x125)]({..._0xc4eb32},{},()=>{const _0x2d5c54=_0x5e9997;this['noticeSuccess']('修改成功'),this[_0x2d5c54(0x15c)]['onSuccess']&&this[_0x2d5c54(0x15c)][_0x2d5c54(0x13e)]();});});}['showLoadingIndicator'](_0x5d2541){this['showSpin'](_0x5d2541);}['closeLoadingIndicator'](){const _0x3259b2=a2_0x2855a7;this[_0x3259b2(0x135)]();}['showDoingIndicator'](_0x5d6f6f){const _0x47cd37=a2_0x2855a7;this[_0x47cd37(0x1bd)](_0x5d6f6f);}['closeDoingIndicator'](){const _0x41c062=a2_0x2855a7;this[_0x41c062(0x135)]();}['render'](){const _0x548d69=a2_0x2855a7;return this['renderSpin'](jsxRuntime['jsxs'](antd['Form'],{'ref':_0x43bd99=>this['form']=_0x43bd99,'layout':_0x548d69(0x1ca),'children':[jsxRuntime[_0x548d69(0x15e)](antd[_0x548d69(0x153)][_0x548d69(0x1a9)],{'label':'名称','name':'name','rules':[{'required':!![],'message':'请输入名称!'}],'children':jsxRuntime[_0x548d69(0x15e)](antd['Input'],{'placeholder':_0x548d69(0x175)})}),jsxRuntime['jsx'](antd[_0x548d69(0x153)][_0x548d69(0x1a9)],{'label':'手机','name':_0x548d69(0x108),'rules':[{'required':!![],'message':_0x548d69(0x115)}],'children':jsxRuntime[_0x548d69(0x15e)](antd[_0x548d69(0x17e)],{'placeholder':'请输入手机'})}),jsxRuntime['jsx'](antd[_0x548d69(0x153)][_0x548d69(0x1a9)],{'label':'邮箱','name':_0x548d69(0x199),'rules':[{'required':!![],'message':_0x548d69(0x17f)}],'children':jsxRuntime[_0x548d69(0x15e)](antd['Input'],{'placeholder':'请输入邮箱'})}),jsxRuntime[_0x548d69(0x15e)](antd[_0x548d69(0x1dd)],{'type':'flex','justify':_0x548d69(0x172),'children':jsxRuntime[_0x548d69(0x1ba)](antd[_0x548d69(0x197)],{'children':[jsxRuntime[_0x548d69(0x15e)](antd[_0x548d69(0x1a3)],{'onClick':this[_0x548d69(0x16f)][_0x548d69(0x16d)](this),'children':'取消'}),jsxRuntime['jsx'](antd[_0x548d69(0x1a3)],{'type':_0x548d69(0x196),'onClick':this[_0x548d69(0x15a)][_0x548d69(0x16d)](this),'children':'修改'})]})})]}));}}function a2_0x5f20(){const _0x4dd21c=['closeLoadingIndicator','removeCookie','bind','small','_closeForm','useState','header-logo','end','render','react-router','请输入名称','确定要切换到\x22','oldPwd','加载中...','showDetails','stopPropagation','_cachePanelShowMenu','curMenu','8dJSWpa','Input','请输入邮箱!','push','itemHeight','accountId','react','Fragment','editable-card','3410568fPSHfT','name','header-menu','img','Content','退出登录','px\x20solid\x20','setActiveKey','form','/login','useRef','fontSize','Flex','BaseComponent','then','请输入新密码!','primary','Space','color','email','split','8174735dPavdj','ctm_','Drawer','menuItems','keepMenu','SettingOutlined','horizontal','parent','Button','Menu','Tag','_onModify','Modal','setData','Item','cachePanel','_createTabs','show','profile','max-content','platformName','sort','left','setFieldsValue','href','threels-workbench-component','Layout','Avatar','确定要退出登录吗?','useLocation','window','jsxs','activeBarHeight','UserOutlined','showSpin','platforms','div','_tabsShowMenu','logo-title','Dropdown','header-title','旧密码','Header','account','SvgIcon','span','platformList','vertical','presenter','关联平台','icon','DownOutlined','useNavigate','menu-box','renderSpin','#ffffff','新密码不能与旧密码相同','showDoingIndicator','修改密码','两次新密码输入不一致','userPlatformName','../../presenter/presenter.js','close','_createTabItem','_getCacheTabsCookieName','transparent','Row','Table','data','Breadcrumb','addItems','divider','Card','closeDoingIndicator','join','600770eLizHg','alertFail','width','setItems','6150212kmpKWj','100%','parentMenu','menuId','light','_ctx','/login?backUrl=','header-info','noticeFail','账号详情','mobile','showLoadingIndicator','current','newPwd','keys','#FFF','children','noticeSuccess','grid','key','platformMenu','请输入密码','exitItem','请输入手机!','space-between','处理中...','useWorkbenchLoginPresenter','bottom','WorkbenchAccountPresenter','_saveCacheTabsItems','Tip','731831ZYGaSX','_getCacheTabsItems','logo','menu','账号ID','fontColor','border','clearItems','modify','onCancel','tab','map','默认平台','LogoutOutlined','onTabChange','userPlatformId','ConfigProvider','info','location','个人资料','validateFields','active','platform','_search','closeSpin','6fQUphX','150724uxvCsf','tabsMap','useWorkbenchAccountPresenter','newPwd2','label','defaultProps','Password','onSuccess','tabs','inline','item','CachePanel','get','loginOut','修改信息','layout-header','header','rgba(0,\x200,\x200,\x200.88)','md5','antd','onSelect','请输入确认密码!','setState','useCallback','forEach','length','_menuChange','_account','Form','531uEsEhu','platformId','block','backgroundColor','none','reverse','_onSubmit','slider-menu','props','/_res/logo/','jsx','#fff','pointer','11568683JzINze','登录超时,需要重新登录','reload','state','ct_','right','基本信息','componentDidMount','#108ee9','iconCls'];a2_0x5f20=function(){return _0x4dd21c;};return a2_0x5f20();}class AccountDetail extends threelsWorkbenchComponent[a2_0x2855a7(0x193)]{static[a2_0x2855a7(0x179)](){const _0x497870=a2_0x2855a7;let _0x2b8149=threelsWorkbenchComponent[_0x497870(0x19d)]['show'](jsxRuntime[_0x497870(0x15e)](AccountDetail,{'onCancel':()=>{const _0x2acbb2=_0x497870;_0x2b8149()[_0x2acbb2(0x1d9)]();}}),{'title':_0x497870(0x107),'width':0x320,'bodyStyle':{'padding':0xa}});}constructor(_0x515b7b){const _0x47caf5=a2_0x2855a7;super(_0x515b7b),this[_0x47caf5(0x1cb)]=new presenter_presenter[(_0x47caf5(0x11a))](this),this[_0x47caf5(0x164)]={'data':{}};}[a2_0x2855a7(0x168)](){this['_search']();}[a2_0x2855a7(0x109)](_0x237fbb){const _0x49f5eb=a2_0x2855a7;this[_0x49f5eb(0x1bd)](_0x237fbb);}[a2_0x2855a7(0x16b)](){const _0x2489a0=a2_0x2855a7;this[_0x2489a0(0x135)]();}[a2_0x2855a7(0x134)](){const _0x5b2f44=a2_0x2855a7;this[_0x5b2f44(0x109)](_0x5b2f44(0x178)),this[_0x5b2f44(0x1cb)][_0x5b2f44(0x12e)]({},{},_0x1edd2e=>{const _0x1d38e8=_0x5b2f44;this[_0x1d38e8(0x14d)]({'data':_0x1edd2e[_0x1d38e8(0x1df)]});});}[a2_0x2855a7(0x1a6)](){const _0x260f45=a2_0x2855a7;let _0x14a9fe=threelsWorkbenchComponent['Modal'][_0x260f45(0x1ac)](jsxRuntime[_0x260f45(0x15e)](AccountModifyForm,{'onCancel':()=>{const _0xd76ed2=_0x260f45;_0x14a9fe()[_0xd76ed2(0x1d9)]();},'onSuccess':()=>{const _0x586d6d=_0x260f45;_0x14a9fe()[_0x586d6d(0x1d9)](),this[_0x586d6d(0x134)]();}}),{'title':_0x260f45(0x145)});}[a2_0x2855a7(0x173)](){const _0x337472=a2_0x2855a7;let {data:_0x515dca}=this[_0x337472(0x164)];return this['renderSpin'](jsxRuntime[_0x337472(0x1ba)](antd[_0x337472(0x197)],{'direction':_0x337472(0x1ca),'style':{'width':_0x337472(0x1eb)},'children':[jsxRuntime[_0x337472(0x15e)](antd[_0x337472(0x1e3)],{'title':_0x337472(0x167),'size':_0x337472(0x16e),'extra':jsxRuntime[_0x337472(0x15e)](antd['Space'],{'children':jsxRuntime[_0x337472(0x15e)](antd[_0x337472(0x1a3)],{'size':_0x337472(0x16e),'type':_0x337472(0x196),'onClick':this['_onModify'][_0x337472(0x16d)](this),'children':'修改'})}),'children':jsxRuntime[_0x337472(0x15e)](threelsWorkbenchComponent['Descriptions'],{'bordered':!![],'column':0x1,'size':_0x337472(0x16e),'items':this[_0x337472(0x164)][_0x337472(0x1df)]?[{'label':_0x337472(0x121),'children':_0x515dca[_0x337472(0x182)]},{'label':'账号','children':_0x515dca[_0x337472(0x1c6)]},{'label':'名称','children':_0x515dca['name']},{'label':'手机','children':_0x515dca['mobile']},{'label':'邮箱','children':_0x515dca[_0x337472(0x199)]}]:[]})}),jsxRuntime['jsx'](antd[_0x337472(0x1e3)],{'title':_0x337472(0x1cc),'size':_0x337472(0x16e),'children':jsxRuntime[_0x337472(0x15e)](AccountPlatformGrid,{})})]}));}}const defaultStyle={'header':{'backgroundColor':a2_0x2855a7(0x15f),'fontColor':a2_0x2855a7(0x148),'logo':{'height':0x28,'width':0x28},'border':{'bottom':{'width':0x1,'color':'#eee'}},'account':{'backgroundColor':a2_0x2855a7(0x169),'fontColor':a2_0x2855a7(0x15f)},'menu':{'backgroundColor':a2_0x2855a7(0x1dc),'fontSize':0xf,'activeBarHeight':0x4,'active':{'fontColor':a2_0x2855a7(0x169),'backgroundColor':a2_0x2855a7(0x1dc)}}},'left':{'width':0xf0,'backgroundColor':a2_0x2855a7(0x1d2),'fontColor':a2_0x2855a7(0x148),'border':{'right':{'width':0x1,'color':'#eee'}},'menu':{'itemHeight':0x30,'fontSize':0xf,'active':{'fontColor':a2_0x2855a7(0x10d),'backgroundColor':'#108ee9'}}}};function getLoginAccount(_0x1160f1){const _0x4b1db3=a2_0x2855a7;let {loginAccount:_0x126c1b}=_0x1160f1;return _0x126c1b?_0x126c1b:WorkBench[_0x4b1db3(0x143)](_0x4b1db3(0x152));}function getCurPlatform(_0x19b646){let {curPlatform:_0x19872c}=_0x19b646;return _0x19872c?_0x19872c:WorkBench['get']('_curPlatform');}function IndexPage(_0x331d5d){const _0x27e078=a2_0x2855a7;let {menuItems:_0x173098,style:style=defaultStyle,syncRoute:syncRoute=!![]}=_0x331d5d,_0x3a4079=getLoginAccount(_0x331d5d),_0x1594ac=getCurPlatform(_0x331d5d);if(!_0x3a4079||!_0x1594ac)return threelsWorkbenchComponent[_0x27e078(0x11c)][_0x27e078(0x1e7)](_0x27e078(0x162),{'onOk':()=>{const _0x346616=_0x27e078,_0x546c00=encodeURIComponent(window[_0x346616(0x1a2)][_0x346616(0x1b9)][_0x346616(0x12f)][_0x346616(0x1b3)]);window[_0x346616(0x1a2)][_0x346616(0x1b9)]['location'][_0x346616(0x1b3)]=window[_0x346616(0x1ef)]+_0x346616(0x1f0)+_0x546c00;}}),null;let {platform:_0x395a3a,topMenu:_0x13104f,rightComponent:_0x414394,showTab:_0x4a06ef,showNav:_0x3f7716,keepMenu:_0xd43aec,tabCache:_0x529e10}=_0x331d5d,[_0x4ee0d2,_0x20ee49]=react['useState']([]),[_0x225c30,_0x20782f]=react[_0x27e078(0x170)]({}),[_0x133bfa,_0x3ec2f6]=react[_0x27e078(0x170)](null),_0x25496e=syncRoute?reactRouter[_0x27e078(0x1b8)]():{'pathname':'/'},_0x42c651=syncRoute?reactRouter[_0x27e078(0x1cf)]():null,_0xcec81e=presenter_presenter[_0x27e078(0x139)]();react['useEffect'](()=>{const _0x1338ba=_0x27e078,_0xfb0e9b=_0x31db06=>{const {pathname:_0x213bcf}=_0x25496e;let {menus:_0x3072df,menusMap:_0x53495c}=wrapperMenus(_0x31db06),_0xa7fde0;syncRoute&&(_0xa7fde0=findCurMenu(_0x3072df,_0x213bcf));!_0xa7fde0&&(_0xa7fde0=findDefaultMenu(_0x3072df));if(_0xa7fde0&&syncRoute){let {urlPath:_0x1c613f}=_0xa7fde0;_0x213bcf!==_0x1c613f&&_0x42c651(_0x1c613f);}_0x3ec2f6(_0xa7fde0),_0x20ee49(_0x3072df),_0x20782f(_0x53495c);};_0x173098?_0xfb0e9b(_0x173098):(_0xcec81e[_0x1338ba(0x109)](),_0xcec81e[_0x1338ba(0x112)]({},{},_0x501da9=>{const _0x3d5065=_0x1338ba;_0xfb0e9b(_0x501da9[_0x3d5065(0x19e)]);}));},[]);const _0x17b10f=react['useCallback'](_0x3be6e9=>{if(_0x3be6e9&&syncRoute){let {urlPath:_0x1061b1}=_0x3be6e9;_0x42c651(_0x1061b1);}_0x3ec2f6(_0x3be6e9);},[]);return jsxRuntime['jsxs'](antd[_0x27e078(0x1b5)],{'className':'workbench-index-layout','children':[jsxRuntime[_0x27e078(0x1ba)](antd['Layout'][_0x27e078(0x1c5)],{'className':_0x27e078(0x146),'style':{'height':0x41,'background':style[_0x27e078(0x147)]['backgroundColor'],'borderBottom':style[_0x27e078(0x147)][_0x27e078(0x123)][_0x27e078(0x119)][_0x27e078(0x1e8)]+'px\x20solid\x20'+style[_0x27e078(0x147)][_0x27e078(0x123)]['bottom'][_0x27e078(0x198)]},'children':[jsxRuntime[_0x27e078(0x15e)](LogoComponent,{'platform':_0x395a3a,'style':style,'loginAccount':_0x3a4079,'curPlatform':_0x1594ac}),_0x13104f&&jsxRuntime[_0x27e078(0x15e)](TopMenu,{'menus':_0x4ee0d2,'menusMap':_0x225c30,'curMenu':_0x133bfa,'onSelect':_0x17b10f,'style':style,'loginAccount':_0x3a4079,'curPlatform':_0x1594ac}),jsxRuntime[_0x27e078(0x15e)](_0x27e078(0x1bf),{'className':_0x27e078(0x1f1),'children':jsxRuntime[_0x27e078(0x1ba)](antd[_0x27e078(0x197)],{'size':0x10,'children':[_0x414394,jsxRuntime['jsx'](AccountComponent,{'style':style,'loginAccount':_0x3a4079,'curPlatform':_0x1594ac})]})})]}),jsxRuntime[_0x27e078(0x1ba)](antd[_0x27e078(0x1b5)],{'children':[jsxRuntime['jsx'](LeftMenu,{'topMenu':_0x13104f,'menus':_0x4ee0d2,'menusMap':_0x225c30,'curMenu':_0x133bfa,'onSelect':_0x17b10f,'style':style,'loginAccount':_0x3a4079,'curPlatform':_0x1594ac}),jsxRuntime[_0x27e078(0x15e)](antd[_0x27e078(0x1b5)][_0x27e078(0x18a)],{'style':{'padding':0xa,'backgroundColor':_0x27e078(0x10d)},'children':jsxRuntime[_0x27e078(0x15e)](MenuContent,{'menus':_0x4ee0d2,'menusMap':_0x225c30,'curMenu':_0x133bfa,'showTab':_0x4a06ef,'showNav':_0x3f7716,'topMenu':_0x13104f,'keepMenu':_0xd43aec,'tabCache':_0x529e10,'onTabChange':_0x17b10f,'style':style,'loginAccount':_0x3a4079,'curPlatform':_0x1594ac})})]})]});}function LogoComponent(_0x3bdf50){const _0x263a95=a2_0x2855a7;let {style:_0x3fe834}=_0x3bdf50,_0x584053=getLoginAccount(_0x3bdf50),_0x212dfd=getCurPlatform(_0x3bdf50);const _0x2980de=presenter_presenter[_0x263a95(0x139)]();let {platform:_0x122d47}=_0x3bdf50;const _0x12f0d6=react['useCallback'](_0x1ef7b4=>{const _0x240d65=_0x263a95;threelsWorkbenchComponent[_0x240d65(0x11c)]['confirm'](_0x240d65(0x176)+_0x1ef7b4[_0x240d65(0x1d7)]+'\x22吗?',()=>{const _0x135cf2=_0x240d65;_0x2980de['platformSwitch']({'userPlatformId':_0x1ef7b4[_0x135cf2(0x12c)]},{},()=>{const _0x751d0e=_0x135cf2;window[_0x751d0e(0x12f)][_0x751d0e(0x163)]();});});},[]);return jsxRuntime['jsxs'](_0x263a95(0x1bf),{'className':_0x263a95(0x171),'style':{'minWidth':0xdc},'children':[jsxRuntime[_0x263a95(0x15e)](_0x263a95(0x189),{'className':'logo-img','src':window[_0x263a95(0x1ef)]+_0x263a95(0x15d)+_0x122d47,'alt':_0x263a95(0x11f),'style':{'height':_0x3fe834[_0x263a95(0x147)][_0x263a95(0x11f)]['height'],'width':_0x3fe834['header']['logo']['width']}}),jsxRuntime['jsxs'](_0x263a95(0x1bf),{'className':_0x263a95(0x1c3),'children':[jsxRuntime['jsx']('div',{'className':_0x263a95(0x1c1),'style':{'color':_0x3fe834[_0x263a95(0x147)][_0x263a95(0x122)]},'children':_0x212dfd[_0x263a95(0x1af)]}),_0x584053[_0x263a95(0x1be)][_0x263a95(0x150)]>0x1?jsxRuntime[_0x263a95(0x15e)](antd[_0x263a95(0x1c2)],{'menu':((()=>{const _0x48cbcb=_0x263a95;let _0x4f039c=[];return _0x584053['platforms'][_0x48cbcb(0x14f)](_0x1c4dda=>{const _0x338879=_0x48cbcb;_0x1c4dda['userPlatformName']!==_0x212dfd[_0x338879(0x1d7)]&&_0x4f039c[_0x338879(0x180)]({'key':_0x1c4dda[_0x338879(0x12c)],'label':_0x1c4dda['userPlatformName'],'onClick':()=>_0x12f0d6(_0x1c4dda)});}),{'items':_0x4f039c};})()),'children':jsxRuntime[_0x263a95(0x15e)](_0x263a95(0x1bf),{'className':'logo-sub-title','style':{'cursor':'pointer'},'children':jsxRuntime[_0x263a95(0x1ba)](antd[_0x263a95(0x197)],{'children':[jsxRuntime['jsx'](_0x263a95(0x1c8),{'style':{'color':_0x3fe834[_0x263a95(0x147)][_0x263a95(0x122)]},'children':_0x212dfd['userPlatformName']}),jsxRuntime[_0x263a95(0x15e)](_0x263a95(0x1c8),{'style':{'color':_0x3fe834[_0x263a95(0x147)][_0x263a95(0x122)]},'children':jsxRuntime[_0x263a95(0x15e)](icons[_0x263a95(0x1ce)],{})})]})})}):jsxRuntime['jsx'](_0x263a95(0x1bf),{'className':'logo-sub-title','style':{'color':_0x3fe834[_0x263a95(0x147)][_0x263a95(0x122)]},'children':_0x212dfd['userPlatformName']})]})]});}function AccountComponent(_0x15c6fb){const _0x132ea9=a2_0x2855a7;let {style:_0x4e9a3a}=_0x15c6fb,_0x17227e=getLoginAccount(_0x15c6fb);const _0x38e0b5=presenter_presenter[_0x132ea9(0x118)](),_0x5c3312=react[_0x132ea9(0x14e)](()=>{const _0x401d52=_0x132ea9;threelsWorkbenchComponent[_0x401d52(0x11c)]['confirm'](_0x401d52(0x1b7),()=>{const _0x5ed9fe=_0x401d52;_0x38e0b5[_0x5ed9fe(0x144)]({},{},()=>{const _0x401c0c=_0x5ed9fe;window[_0x401c0c(0x12f)][_0x401c0c(0x1b3)]=window['_ctx']+_0x401c0c(0x18f);});});},[]),_0x2a28f4=react['useCallback'](()=>{const _0x1ca3a0=_0x132ea9;let _0x2571c5=threelsWorkbenchComponent[_0x1ca3a0(0x1a7)]['show'](jsxRuntime[_0x1ca3a0(0x15e)](AccountPwdForm,{'onCancel':()=>{const _0x186bfb=_0x1ca3a0;_0x2571c5()[_0x186bfb(0x1d9)]();},'onSuccess':()=>{const _0x34a2a0=_0x1ca3a0;_0x2571c5()[_0x34a2a0(0x1d9)]();}}),{'title':'修改密码'});},[]);return jsxRuntime['jsx'](antd[_0x132ea9(0x1c2)],{'menu':{'items':[{'key':_0x132ea9(0x1ad),'icon':jsxRuntime[_0x132ea9(0x15e)](icons[_0x132ea9(0x1bc)],{}),'label':_0x132ea9(0x130),'onClick':()=>{const _0x1782c9=_0x132ea9;AccountDetail[_0x1782c9(0x179)]();}},{'key':'settings','icon':jsxRuntime[_0x132ea9(0x15e)](icons[_0x132ea9(0x1a0)],{}),'label':_0x132ea9(0x1d5),'onClick':_0x2a28f4},{'type':_0x132ea9(0x1e2)},{'key':'logout','icon':jsxRuntime['jsx'](icons[_0x132ea9(0x12a)],{}),'label':_0x132ea9(0x18b),'onClick':_0x5c3312}]},'children':jsxRuntime[_0x132ea9(0x1ba)](antd[_0x132ea9(0x197)],{'style':{'cursor':_0x132ea9(0x160)},'children':[jsxRuntime[_0x132ea9(0x15e)](antd[_0x132ea9(0x1b6)],{'size':0x20,'icon':jsxRuntime[_0x132ea9(0x15e)](icons['UserOutlined'],{'style':{'color':_0x4e9a3a[_0x132ea9(0x147)][_0x132ea9(0x1c6)][_0x132ea9(0x122)]}}),'style':{'backgroundColor':_0x4e9a3a[_0x132ea9(0x147)][_0x132ea9(0x1c6)][_0x132ea9(0x157)]}}),jsxRuntime[_0x132ea9(0x15e)]('span',{'style':{'color':_0x4e9a3a['header'][_0x132ea9(0x122)]},'children':_0x17227e[_0x132ea9(0x187)]})]})});}function TopMenu(_0x309064){const _0x531f65=a2_0x2855a7;let {menus:_0x3eee02,curMenu:_0x4e3bf1,style:_0x1f3bcb}=_0x309064,[_0x21a762,_0x166a4f]=react[_0x531f65(0x170)](null),_0xc49a06=react['useRef'](_0x4e3bf1);const _0x354045=react['useCallback'](({item:_0x57728d,domEvent:_0x15de2e})=>{const _0x5ad622=_0x531f65;_0x15de2e[_0x5ad622(0x17a)]();let {data:_0x93e0d5,children:_0x86ee1a}=_0x57728d[_0x5ad622(0x15c)][_0x5ad622(0x141)];_0x86ee1a&&_0x86ee1a['length']>0x0&&(_0x93e0d5=findDefaultMenu(_0x86ee1a)),_0x309064[_0x5ad622(0x14b)](_0x93e0d5);},[]);if(!_0x4e3bf1&&!_0xc49a06[_0x531f65(0x10a)]||!_0x3eee02||_0x3eee02['length']===0x0)return null;let _0x5d47a7=null,_0x432d3f=_0x3eee02[_0x531f65(0x128)](_0x2a8fb5=>{const _0x8f358c=_0x531f65;let {menuId:_0x1a3771}=_0x4e3bf1||_0xc49a06[_0x8f358c(0x10a)];if(_0x1a3771===_0x2a8fb5[_0x8f358c(0x111)])_0x5d47a7=_0x2a8fb5[_0x8f358c(0x111)];else curMenuInMenus({'curMenu':_0x4e3bf1||_0xc49a06['current'],'menus':_0x2a8fb5[_0x8f358c(0x10e)]})&&(_0x5d47a7=_0x2a8fb5[_0x8f358c(0x111)]);return{'key':_0x2a8fb5['key'],'label':jsxRuntime['jsx'](_0x8f358c(0x1c8),{'style':{'fontSize':_0x1f3bcb['header']['menu'][_0x8f358c(0x191)]},'children':_0x2a8fb5[_0x8f358c(0x13b)]}),'icon':_0x2a8fb5['icon']?jsxRuntime['jsx'](threelsWorkbenchComponent[_0x8f358c(0x1c7)],{'id':_0x2a8fb5[_0x8f358c(0x1cd)],'fontSize':_0x1f3bcb['header']['menu'][_0x8f358c(0x191)]}):null,'item':_0x2a8fb5};});return _0x5d47a7!==_0x21a762&&_0x166a4f(_0x5d47a7),_0x4e3bf1&&(_0xc49a06[_0x531f65(0x10a)]=_0x4e3bf1),jsxRuntime[_0x531f65(0x15e)](_0x531f65(0x1bf),{'className':_0x531f65(0x188),'children':jsxRuntime['jsx'](_0x531f65(0x1bf),{'className':_0x531f65(0x1d0),'children':jsxRuntime[_0x531f65(0x15e)](antd[_0x531f65(0x12d)],{'theme':{'components':{'Menu':{'activeBarHeight':_0x1f3bcb['header'][_0x531f65(0x120)][_0x531f65(0x1bb)],'itemBg':_0x1f3bcb[_0x531f65(0x147)][_0x531f65(0x157)],'darkItemBg':_0x1f3bcb[_0x531f65(0x147)][_0x531f65(0x157)],'itemColor':_0x1f3bcb['header'][_0x531f65(0x122)],'darkItemColor':_0x1f3bcb[_0x531f65(0x147)][_0x531f65(0x122)],'horizontalItemHoverBg':_0x1f3bcb['header'][_0x531f65(0x120)]['active'][_0x531f65(0x157)],'horizontalItemHoverColor':_0x1f3bcb[_0x531f65(0x147)]['menu']['active']['fontColor'],'horizontalItemSelectedBg':_0x1f3bcb[_0x531f65(0x147)][_0x531f65(0x120)]['active'][_0x531f65(0x157)],'horizontalItemSelectedColor':_0x1f3bcb[_0x531f65(0x147)][_0x531f65(0x120)][_0x531f65(0x132)]['fontColor'],'darkItemSelectedBg':_0x1f3bcb[_0x531f65(0x147)]['menu'][_0x531f65(0x132)][_0x531f65(0x157)],'itemHoverColor':_0x1f3bcb['header'][_0x531f65(0x120)][_0x531f65(0x132)][_0x531f65(0x122)]}}},'children':jsxRuntime[_0x531f65(0x15e)](antd[_0x531f65(0x1a4)],{'theme':_0x531f65(0x1ee),'mode':_0x531f65(0x1a1),'items':_0x432d3f,'selectedKeys':_0x21a762?[_0x21a762]:null,'onSelect':_0x354045})})})});}function LeftMenu(_0x18ec36){const _0x1504f0=a2_0x2855a7;let {menus:_0x513014,topMenu:_0x5a7fe4,curMenu:_0x50aac4,style:_0x24cb84}=_0x18ec36,_0x4fc4e1=react['useRef'](_0x50aac4),_0x145c94=react[_0x1504f0(0x190)](null),_0x3fe24e=findLeftMenu({'menus':_0x513014,'curMenu':_0x50aac4||_0x4fc4e1['current'],'topMenu':_0x5a7fe4}),[_0x238d1d,_0x3f6e8b]=react['useState']([]);const _0x3bbe72=react['useCallback'](({item:_0x199aad,domEvent:_0xd1bc96})=>{const _0x4db843=_0x1504f0;_0xd1bc96[_0x4db843(0x17a)]();let {data:_0x2e1460}=_0x199aad[_0x4db843(0x15c)];_0x145c94[_0x4db843(0x10a)]=_0x2e1460['menuId'],_0x18ec36['onSelect'](_0x2e1460);},[]);if(!_0x50aac4&&!_0x4fc4e1[_0x1504f0(0x10a)]||!_0x3fe24e||_0x3fe24e[_0x1504f0(0x150)]===0x0)return null;if(_0x50aac4&&(!_0x145c94['current']||_0x145c94[_0x1504f0(0x10a)]!==_0x50aac4[_0x1504f0(0x1ed)])){let _0x2d46b8={};_0x3fe24e[_0x1504f0(0x14f)](_0x127ae0=>{const _0x2cc20c=_0x1504f0;_0x2d46b8[_0x127ae0[_0x2cc20c(0x111)]]=!![];}),_0x238d1d=findOpenMenuKeys(_0x50aac4,_0x2d46b8),_0x238d1d['length']>0x0&&_0x3f6e8b(_0x238d1d);}_0x50aac4&&(_0x4fc4e1[_0x1504f0(0x10a)]=_0x50aac4,_0x145c94[_0x1504f0(0x10a)]=_0x50aac4[_0x1504f0(0x1ed)]);const _0x1506ce=_0x32e952=>{const _0x2c1318=_0x1504f0;if(!_0x32e952||_0x32e952[_0x2c1318(0x150)]===0x0)return _0x32e952;let _0x4fe97d=[];for(let _0x480a94=0x0;_0x480a94<_0x32e952[_0x2c1318(0x150)];_0x480a94++){let {key:_0x2b27f6,label:_0x466acd,icon:_0x7eebeb,children:_0x125edc,data:_0x222218}=_0x32e952[_0x480a94];_0x125edc&&_0x125edc[_0x2c1318(0x150)]>0x0&&(_0x125edc=_0x1506ce(_0x125edc)),_0x4fe97d[_0x2c1318(0x180)]({'key':_0x2b27f6,'label':jsxRuntime[_0x2c1318(0x15e)](_0x2c1318(0x1c8),{'style':{'fontSize':_0x24cb84[_0x2c1318(0x1b1)][_0x2c1318(0x120)]['fontSize']},'children':_0x466acd}),'icon':_0x7eebeb?jsxRuntime[_0x2c1318(0x15e)](threelsWorkbenchComponent['SvgIcon'],{'id':_0x7eebeb,'fontSize':_0x24cb84[_0x2c1318(0x1b1)][_0x2c1318(0x120)][_0x2c1318(0x191)]}):null,'children':_0x125edc,'data':_0x222218});}return _0x4fe97d;};return jsxRuntime[_0x1504f0(0x15e)](antd[_0x1504f0(0x1b5)]['Sider'],{'width':_0x24cb84['left'][_0x1504f0(0x1e8)],'collapsible':!![],'children':jsxRuntime[_0x1504f0(0x15e)]('div',{'className':_0x1504f0(0x15b),'style':{'background':_0x24cb84[_0x1504f0(0x1b1)][_0x1504f0(0x157)],'borderRight':_0x24cb84[_0x1504f0(0x1b1)][_0x1504f0(0x123)][_0x1504f0(0x166)][_0x1504f0(0x1e8)]+_0x1504f0(0x18c)+_0x24cb84[_0x1504f0(0x1b1)][_0x1504f0(0x123)]['right'][_0x1504f0(0x198)]},'children':jsxRuntime[_0x1504f0(0x15e)](antd['ConfigProvider'],{'theme':{'components':{'Menu':{'itemBg':_0x24cb84[_0x1504f0(0x1b1)]['backgroundColor'],'itemBorderRadius':0x0,'subMenuItemBorderRadius':0x0,'itemColor':_0x24cb84[_0x1504f0(0x1b1)][_0x1504f0(0x122)],'groupTitleColor':_0x24cb84[_0x1504f0(0x1b1)][_0x1504f0(0x122)],'groupTitleFontSize':_0x24cb84[_0x1504f0(0x1b1)][_0x1504f0(0x191)],'itemActiveBg':_0x24cb84[_0x1504f0(0x1b1)][_0x1504f0(0x120)][_0x1504f0(0x132)]['backgroundColor'],'itemHoverColor':_0x24cb84[_0x1504f0(0x1b1)][_0x1504f0(0x120)][_0x1504f0(0x132)]['fontColor'],'itemHoverBg':_0x24cb84['left'][_0x1504f0(0x120)][_0x1504f0(0x132)][_0x1504f0(0x157)],'itemSelectedBg':_0x24cb84['left'][_0x1504f0(0x120)][_0x1504f0(0x132)][_0x1504f0(0x157)],'itemSelectedColor':_0x24cb84[_0x1504f0(0x1b1)]['menu'][_0x1504f0(0x132)][_0x1504f0(0x122)],'subMenuItemSelectedColor':_0x24cb84['left'][_0x1504f0(0x122)],'itemMarginInline':0x0,'popupBg':_0x24cb84[_0x1504f0(0x1b1)][_0x1504f0(0x157)],'itemMarginBlock':0x0,'itemHeight':_0x24cb84['left'][_0x1504f0(0x120)][_0x1504f0(0x181)]}}},'children':jsxRuntime[_0x1504f0(0x15e)](antd[_0x1504f0(0x1a4)],{'theme':_0x1504f0(0x1ee),'mode':_0x1504f0(0x140),'openKeys':_0x238d1d,'selectedKeys':_0x50aac4?[_0x50aac4[_0x1504f0(0x1ed)]]:[],'items':_0x1506ce(_0x3fe24e),'onOpenChange':_0x2bd923=>{_0x3f6e8b(_0x2bd923);},'onSelect':_0x3bbe72})})})});}class MenuContent extends threelsWorkbenchComponent['BaseComponent']{constructor(_0x9553df){const _0x4211cf=a2_0x2855a7;super(_0x9553df),this['registerPropListener'](_0x4211cf(0x17c),_0x5b9c94=>{const _0x3455fe=_0x4211cf;this[_0x3455fe(0x151)](_0x5b9c94);}),this[_0x4211cf(0x138)]={};}[a2_0x2855a7(0x1da)](_0x483fcd){const _0x1d8f95=a2_0x2855a7;return{'key':_0x483fcd[_0x1d8f95(0x1ed)],'label':_0x483fcd[_0x1d8f95(0x187)],'icon':_0x483fcd[_0x1d8f95(0x16a)]?jsxRuntime[_0x1d8f95(0x15e)](threelsWorkbenchComponent[_0x1d8f95(0x1c7)],{'id':_0x483fcd['iconCls'],'fontSize':0xf,'style':{'verticalAlign':-0x3}}):null,'children':_0x483fcd['menuId']+':'+_0x483fcd[_0x1d8f95(0x187)],'data':_0x483fcd};}[a2_0x2855a7(0x1ab)](_0x4bab46,_0x4d6271){const _0x409aa4=a2_0x2855a7;let _0x57767d=this[_0x409aa4(0x11e)](_0x4d6271);return jsxRuntime['jsx'](threelsWorkbenchComponent['Tabs'],{'ref':_0x4bab46,'activeKey':_0x4d6271[_0x409aa4(0x1ed)],'items':_0x57767d,'animated':!![],'_drag':!![],'_showCloseBtn':!![],'type':_0x409aa4(0x185),'hideAdd':!![],'size':_0x409aa4(0x16e),'_onItemsChange':({items:_0xc928bd})=>{const _0x58f724=_0x409aa4;this[_0x58f724(0x11b)](_0xc928bd,this[_0x58f724(0x15c)][_0x58f724(0x17c)]);},'onChange':({item:_0x18218b})=>{const _0x29ed67=_0x409aa4;this[_0x29ed67(0x15c)][_0x29ed67(0x12b)]&&this[_0x29ed67(0x15c)][_0x29ed67(0x12b)]((_0x18218b||{})[_0x29ed67(0x1df)]);}});}[a2_0x2855a7(0x1db)](_0x38e00f){const _0x33a339=a2_0x2855a7;let _0x57aa0c=getLoginAccount(this[_0x33a339(0x15c)]),_0x2bbc82=getCurPlatform(this[_0x33a339(0x15c)]),{topMenu:_0x1d693b}=this[_0x33a339(0x15c)],_0x2bb90a;if(_0x1d693b){let _0x2ed853=findRootMenu(_0x38e00f);return _0x2bb90a=_0x2ed853[_0x33a339(0x1ed)],_0x33a339(0x19c)+WorkBench[_0x33a339(0x149)](_0x33a339(0x165)+(_0x2bbc82[_0x33a339(0x12c)]||_0x2bbc82[_0x33a339(0x155)])+'-'+_0x57aa0c[_0x33a339(0x182)]+'-'+_0x2bb90a);}else return _0x33a339(0x19c)+WorkBench[_0x33a339(0x149)](_0x33a339(0x165)+(_0x2bbc82[_0x33a339(0x12c)]||_0x2bbc82[_0x33a339(0x155)])+'-'+_0x57aa0c['accountId']);}[a2_0x2855a7(0x11e)](_0x3f4b60){const _0x18f682=a2_0x2855a7;let _0x26c849=[],{tabCache:_0x366cad,menusMap:_0x216090}=this['props'];if(!_0x366cad)return _0x26c849[_0x18f682(0x180)](this[_0x18f682(0x1da)](_0x3f4b60)),_0x26c849;let _0x2d7311=WorkBench['getCookie'](this[_0x18f682(0x1db)](_0x3f4b60)),_0x22181d=_0x2d7311?_0x2d7311[_0x18f682(0x19a)](','):[],_0x85cbeb=![];if(_0x22181d[_0x18f682(0x150)]>0x0)for(let _0x3b2702=0x0;_0x3b2702<_0x22181d[_0x18f682(0x150)];_0x3b2702++){let _0x379ed3=_0x216090[_0x22181d[_0x3b2702]];if(!_0x379ed3)continue;_0x379ed3=_0x379ed3[_0x18f682(0x1df)],_0x26c849[_0x18f682(0x180)](this[_0x18f682(0x1da)](_0x379ed3)),_0x379ed3[_0x18f682(0x1ed)]===_0x3f4b60[_0x18f682(0x1ed)]&&(_0x85cbeb=!![]);}return!_0x85cbeb&&_0x26c849[_0x18f682(0x180)](this[_0x18f682(0x1da)](_0x3f4b60)),_0x26c849;}[a2_0x2855a7(0x11b)](_0x4c681e,_0x4a9294){const _0x5d59e7=a2_0x2855a7;if(!_0x4a9294)return;let {tabCache:_0x46622c}=this['props'];if(!_0x46622c)return;if(_0x4c681e&&_0x4c681e[_0x5d59e7(0x150)]>0x0){let _0x335379=[];_0x4c681e[_0x5d59e7(0x14f)](_0x3c5a91=>{const _0x431afb=_0x5d59e7;_0x335379[_0x431afb(0x180)](_0x3c5a91[_0x431afb(0x111)]);}),WorkBench['setCookie'](this[_0x5d59e7(0x1db)](_0x4a9294),_0x335379['join'](','));}else WorkBench[_0x5d59e7(0x16c)](this['_getCacheTabsCookieName'](_0x4a9294));}['_menuChange'](_0x1ac150){const _0x2a716e=a2_0x2855a7;let {menus:_0x55ee85,topMenu:_0xa1caa2,showTab:_0x10c681}=this[_0x2a716e(0x15c)];if(!_0xa1caa2&&_0x10c681){this[_0x2a716e(0x13f)]?this[_0x2a716e(0x1c0)](this['tabs'],_0x1ac150):this['cachePanel'][_0x2a716e(0x1e9)]({'key':_0x2a716e(0x127),'children':this[_0x2a716e(0x1ab)](_0x20b3af=>{const _0x1797d9=_0x2a716e;this[_0x1797d9(0x13f)]=_0x20b3af;},_0x1ac150)});return;}if(_0xa1caa2){if(_0x10c681){let _0x37e461=findLeftMenu({'menus':_0x55ee85,'curMenu':_0x1ac150,'topMenu':_0xa1caa2});if(_0x37e461&&_0x37e461[_0x2a716e(0x150)]>0x0){let _0x58cb30=findRootMenu(_0x1ac150);if(this[_0x2a716e(0x1aa)]['exitItem'](_0x58cb30[_0x2a716e(0x1ed)])){this[_0x2a716e(0x1aa)][_0x2a716e(0x18d)](_0x58cb30[_0x2a716e(0x1ed)],{'triggerOnChange':![]});let _0x8de737=this[_0x2a716e(0x138)][_0x58cb30['menuId']];this[_0x2a716e(0x1c0)](_0x8de737,_0x1ac150);}else this[_0x2a716e(0x1aa)][_0x2a716e(0x1e1)]({'key':_0x58cb30['menuId'],'children':this[_0x2a716e(0x1ab)](_0x1e70f0=>{const _0x2bd123=_0x2a716e;this[_0x2bd123(0x138)][_0x58cb30[_0x2bd123(0x1ed)]]=_0x1e70f0;},_0x1ac150)},{'activeKey':_0x58cb30[_0x2a716e(0x1ed)],'triggerOnChange':![]});}else this[_0x2a716e(0x17b)](_0x1ac150);}else this[_0x2a716e(0x17b)](_0x1ac150);}else this['_cachePanelShowMenu'](_0x1ac150);}['_cachePanelShowMenu'](_0x316632){const _0x15970c=a2_0x2855a7;if(!_0x316632){this[_0x15970c(0x1aa)]['clearItems']();return;}let {menuId:_0x4b907c,name:_0x253c3d}=_0x316632;if(this[_0x15970c(0x15c)][_0x15970c(0x19f)]){this[_0x15970c(0x1aa)][_0x15970c(0x114)](_0x4b907c)?this[_0x15970c(0x1aa)][_0x15970c(0x18d)](_0x4b907c,{'triggerOnChange':![]}):this['cachePanel'][_0x15970c(0x1e1)]({'key':_0x4b907c,'children':_0x4b907c+':'+_0x253c3d},{'activeKey':_0x4b907c,'triggerOnChange':![]});return;}this[_0x15970c(0x1aa)][_0x15970c(0x1e9)]({'key':_0x4b907c,'children':_0x4b907c+':'+_0x253c3d});}[a2_0x2855a7(0x1c0)](_0x21476a,_0x2c8df1){const _0x3d3bac=a2_0x2855a7;if(!_0x21476a)return;if(!_0x2c8df1){_0x21476a[_0x3d3bac(0x124)]({'triggerOnChange':![]});return;}let {menuId:_0x380179}=_0x2c8df1;_0x21476a[_0x3d3bac(0x114)](_0x380179)?_0x21476a[_0x3d3bac(0x18d)](_0x380179,{'triggerOnChange':![]}):_0x21476a[_0x3d3bac(0x1e1)](this[_0x3d3bac(0x1da)](_0x2c8df1),{'activeKey':_0x380179,'triggerOnChange':![]});}[a2_0x2855a7(0x173)](){const _0x4125b5=a2_0x2855a7;let {showNav:_0x27d226,curMenu:_0x3c9915}=this[_0x4125b5(0x15c)];return jsxRuntime[_0x4125b5(0x1ba)](jsxRuntime[_0x4125b5(0x184)],{'children':[_0x27d226&&jsxRuntime[_0x4125b5(0x15e)](antd[_0x4125b5(0x1e0)],{'style':{'marginBottom':0xf},'items':findBreadcrumbItems(_0x3c9915)}),jsxRuntime[_0x4125b5(0x15e)](threelsWorkbenchComponent[_0x4125b5(0x142)],{'style':{'display':''+(_0x3c9915?_0x4125b5(0x156):_0x4125b5(0x158))},'ref':_0x241c22=>this[_0x4125b5(0x1aa)]=_0x241c22})]});}}function wrapperMenus(_0x36756c){const _0x4560e0=a2_0x2855a7;if(!_0x36756c||_0x36756c['length']===0x0)return{'menus':[],'menusMap':{}};let _0x4f5145={},_0x2b390e={};_0x36756c[_0x4560e0(0x14f)](_0x558e0a=>{const _0x229a4d=_0x4560e0;let _0xf1ec04={'key':_0x558e0a['menuId'],'label':_0x558e0a['name'],'icon':_0x558e0a['iconCls'],'data':_0x558e0a};_0x4f5145[_0x558e0a[_0x229a4d(0x1ed)]]=_0xf1ec04,_0x2b390e[_0x558e0a[_0x229a4d(0x1ed)]]=_0xf1ec04;}),_0x36756c[_0x4560e0(0x14f)](_0x37c7d8=>{const _0x31a6d2=_0x4560e0;let {menuId:_0xe83079,parentMenuId:_0x44444c}=_0x37c7d8,_0xeb800c=_0x4f5145[_0x44444c];_0xeb800c&&(!_0xeb800c['children']&&(_0xeb800c[_0x31a6d2(0x10e)]=[]),_0x37c7d8[_0x31a6d2(0x1ec)]=_0xeb800c['data'],_0xeb800c[_0x31a6d2(0x10e)][_0x31a6d2(0x180)](_0x4f5145[_0xe83079]),delete _0x2b390e[_0xe83079]);});let _0x3b1117=[];Object[_0x4560e0(0x10c)](_0x2b390e)[_0x4560e0(0x14f)](_0x7ffcf5=>_0x3b1117['push'](_0x2b390e[_0x7ffcf5]));if(_0x3b1117[_0x4560e0(0x150)]===0x0)return _0x3b1117;return _0x3b1117[_0x4560e0(0x1b0)]((_0x499e75,_0x151217)=>{const _0x13d59e=_0x4560e0;let _0x3cbf77=_0x499e75[_0x13d59e(0x1df)]['sort'],_0x9b3ac=_0x151217[_0x13d59e(0x1df)][_0x13d59e(0x1b0)];return _0x3cbf77-_0x9b3ac;}),{'menus':_0x3b1117,'menusMap':_0x4f5145};}function a2_0x106a(_0x1489bc,_0x324710){const _0x5f200b=a2_0x5f20();return a2_0x106a=function(_0x106ae5,_0x1d7c2d){_0x106ae5=_0x106ae5-0x106;let _0x405474=_0x5f200b[_0x106ae5];return _0x405474;},a2_0x106a(_0x1489bc,_0x324710);}function findCurMenu(_0x441f47,_0x2e0d4a){const _0x2718a3=a2_0x2855a7;if('/'===_0x2e0d4a||_0x2e0d4a==='')return null;if(!_0x441f47||_0x441f47[_0x2718a3(0x150)]===0x0)return null;let _0x3f5790=_0x2e0d4a[_0x2718a3(0x19a)]('/')[_0x2718a3(0x1e5)]('/');for(let _0x772abd=0x0;_0x772abd<_0x441f47['length'];_0x772abd++){let {data:_0x963d5a,children:_0x28db93}=_0x441f47[_0x772abd],{urlPath:_0x513f8f}=_0x963d5a,_0x56358f=_0x513f8f[_0x2718a3(0x19a)]('/')[_0x2718a3(0x1e5)]('/');if(_0x3f5790===_0x56358f){if(!_0x28db93||_0x28db93['length']===0x0)return _0x963d5a;return null;}if(_0x28db93&&_0x28db93[_0x2718a3(0x150)]>0x0){let _0x2f068a=findCurMenu(_0x28db93,_0x2e0d4a);if(_0x2f068a)return _0x2f068a;}}return null;}function findDefaultMenu(_0x3e4522){const _0x417c7c=a2_0x2855a7;if(!_0x3e4522||_0x3e4522[_0x417c7c(0x150)]===0x0)return null;let {data:_0x420f57,children:_0x1277c3}=_0x3e4522[0x0];if(!_0x1277c3||_0x1277c3[_0x417c7c(0x150)]===0x0)return _0x420f57;return findDefaultMenu(_0x1277c3);}function findLeftMenu({menus:_0x3cfc2b,topMenu:_0x4aaf4f,curMenu:_0x11fb32}={}){const _0x4b6bd8=a2_0x2855a7;if(!_0x11fb32||!_0x3cfc2b||_0x3cfc2b[_0x4b6bd8(0x150)]===0x0)return null;if(!_0x4aaf4f)return _0x3cfc2b;for(let _0x54495b=0x0;_0x54495b<_0x3cfc2b[_0x4b6bd8(0x150)];_0x54495b++){let {children:_0x4525f4}=_0x3cfc2b[_0x54495b];if(curMenuInMenus({'curMenu':_0x11fb32,'menus':_0x4525f4}))return _0x4525f4;}return null;}function curMenuInMenus({curMenu:_0x20c916,menus:_0x5683f1}={}){const _0x3ab7ff=a2_0x2855a7;if(!_0x20c916||!_0x5683f1||_0x5683f1[_0x3ab7ff(0x150)]===0x0)return![];for(let _0xd74f45=0x0;_0xd74f45<_0x5683f1[_0x3ab7ff(0x150)];_0xd74f45++){let {data:_0x2d9947,children:_0x554eec}=_0x5683f1[_0xd74f45];if(_0x2d9947['menuId']===_0x20c916[_0x3ab7ff(0x1ed)])return!![];if(_0x554eec&&_0x554eec[_0x3ab7ff(0x150)]>0x0){if(curMenuInMenus({'curMenu':_0x20c916,'menus':_0x554eec}))return!![];}}return![];}function findOpenMenuKeys(_0x5dcd37,_0x1344ff){const _0x59ca01=a2_0x2855a7;let _0x48a851=[],{menuId:_0x120ce6,parentMenu:_0x58b6d6}=_0x5dcd37;if(_0x1344ff[_0x120ce6])return _0x48a851;if(!_0x58b6d6)return _0x48a851;return _0x48a851['push'](_0x58b6d6['menuId']),_0x48a851[_0x59ca01(0x180)](...findOpenMenuKeys(_0x58b6d6,_0x1344ff)),_0x48a851;}function findRootMenu(_0x36f90f){let {parentMenu:_0x41e6bc}=_0x36f90f;if(!_0x41e6bc)return _0x36f90f;return findRootMenu(_0x41e6bc);}function findBreadcrumbItems(_0x211622){const _0x25b9a0=a2_0x2855a7;let _0x56f00a=[];if(!_0x211622)return _0x56f00a;let {iconCls:_0x146483,name:_0x8b1443}=_0x211622;_0x146483?_0x56f00a[_0x25b9a0(0x180)]({'title':jsxRuntime[_0x25b9a0(0x1ba)](_0x25b9a0(0x1c8),{'children':[jsxRuntime['jsx'](threelsWorkbenchComponent[_0x25b9a0(0x1c7)],{'id':_0x146483,'fontSize':0xe,'style':{'verticalAlign':-0x2,'marginRight':0x5}}),_0x8b1443]})}):_0x56f00a['push']({'title':_0x8b1443});let {parentMenu:_0x36ef34}=_0x211622;if(!_0x36ef34)return _0x56f00a;return _0x56f00a[_0x25b9a0(0x180)](...findBreadcrumbItems(_0x36ef34)),_0x56f00a[_0x25b9a0(0x159)]();}exports['IndexPage']=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
|
|
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';function
|
|
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';const
|
|
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;
|
package/dist/lib/es/app/app.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
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};
|
package/dist/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
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_0x48da66=a8_0x2bdf;(function(_0x53304f,_0xf7444c){const _0x812bcc=a8_0x2bdf,_0x5bb959=_0x53304f();while(!![]){try{const _0x64636=-parseInt(_0x812bcc(0x203))/0x1*(parseInt(_0x812bcc(0x20a))/0x2)+parseInt(_0x812bcc(0x26a))/0x3*(-parseInt(_0x812bcc(0x254))/0x4)+-parseInt(_0x812bcc(0x251))/0x5*(parseInt(_0x812bcc(0x1eb))/0x6)+-parseInt(_0x812bcc(0x204))/0x7+parseInt(_0x812bcc(0x1d8))/0x8+-parseInt(_0x812bcc(0x26f))/0x9+parseInt(_0x812bcc(0x1c9))/0xa;if(_0x64636===_0xf7444c)break;else _0x5bb959['push'](_0x5bb959['shift']());}catch(_0x3579dc){_0x5bb959['push'](_0x5bb959['shift']());}}}(a8_0x34f4,0xdcd63));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_0x34524f,{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_0x16dd9d,u as a8_0x533b8c,a as a8_0x1d7a7f}from'../../presenter/presenter.js';import{useLocation,useNavigate}from'react-router';class AccountPwdForm extends BaseComponent{static ['defaultProps']={'onSuccess':void 0x0};constructor(_0x54d766){const _0x4634cd=a8_0x2bdf;super(_0x54d766),this[_0x4634cd(0x255)]=new a8_0x16dd9d(this);}[a8_0x48da66(0x233)](){const _0x143333=a8_0x48da66;this[_0x143333(0x24c)][_0x143333(0x244)]&&this['props'][_0x143333(0x244)]();}['_onSubmit'](){const _0x196f86=a8_0x48da66;this[_0x196f86(0x1f3)][_0x196f86(0x246)]()['then'](_0x4fba3b=>{const _0x52ff23=_0x196f86;let {oldPwd:_0x2ca59e,newPwd:_0x29cc97,newPwd2:_0x40b14a}=_0x4fba3b;if(_0x2ca59e===_0x29cc97){this[_0x52ff23(0x1b4)](_0x52ff23(0x228));return;}if(_0x29cc97!==_0x40b14a){this[_0x52ff23(0x1b4)](_0x52ff23(0x1c2));return;}this[_0x52ff23(0x1f9)](_0x52ff23(0x1ad)),this[_0x52ff23(0x255)]['resetPwd']({'oldPwd':_0x2ca59e,'newPwd':_0x29cc97},{},()=>{const _0x3f7878=_0x52ff23;this[_0x3f7878(0x1f6)]('修改密码成功'),this[_0x3f7878(0x24c)][_0x3f7878(0x1e0)]&&this['props'][_0x3f7878(0x1e0)]();});});}['showLoadingIndicator'](_0x424044){const _0x3d75fe=a8_0x48da66;this[_0x3d75fe(0x1ce)](_0x424044);}[a8_0x48da66(0x264)](){const _0x218ac7=a8_0x48da66;this[_0x218ac7(0x258)]();}[a8_0x48da66(0x1f9)](_0x12d9d9){this['showSpin'](_0x12d9d9);}[a8_0x48da66(0x1d6)](){const _0xb6b7de=a8_0x48da66;this[_0xb6b7de(0x258)]();}['render'](){const _0x5787fa=a8_0x48da66;return this[_0x5787fa(0x250)](jsxs(Form,{'ref':_0x1f8923=>this[_0x5787fa(0x1f3)]=_0x1f8923,'layout':'vertical','children':[jsx(Form['Item'],{'label':_0x5787fa(0x1fa),'name':_0x5787fa(0x20f),'rules':[{'required':!![],'message':_0x5787fa(0x1e4)}],'children':jsx(Input[_0x5787fa(0x1da)],{'placeholder':_0x5787fa(0x239)})}),jsx(Form['Item'],{'label':_0x5787fa(0x1e6),'name':_0x5787fa(0x1ea),'rules':[{'required':!![],'message':_0x5787fa(0x24f)}],'children':jsx(Input[_0x5787fa(0x1da)],{'placeholder':'请输入密码'})}),jsx(Form[_0x5787fa(0x1e3)],{'label':_0x5787fa(0x253),'name':'newPwd2','rules':[{'required':!![],'message':_0x5787fa(0x1fb)}],'children':jsx(Input[_0x5787fa(0x1da)],{'placeholder':'请输入确认密码'})}),jsx(Row,{'type':_0x5787fa(0x257),'justify':_0x5787fa(0x22a),'children':jsxs(Space,{'children':[jsx(Button,{'onClick':this[_0x5787fa(0x233)][_0x5787fa(0x1c7)](this),'children':'取消'}),jsx(Button,{'type':_0x5787fa(0x226),'onClick':this[_0x5787fa(0x25c)][_0x5787fa(0x1c7)](this),'children':'修改'})]})})]}));}}class AccountPlatformGrid extends BaseComponent{static [a8_0x48da66(0x23b)]={'accountId':void 0x0,'onPlatformChange':void 0x0};constructor(_0x34a70){const _0x434625=a8_0x48da66;super(_0x34a70),this[_0x434625(0x255)]=new a8_0x16dd9d(this);}[a8_0x48da66(0x1e9)](){const _0x420ded=a8_0x48da66;this[_0x420ded(0x1fc)]();}['_search'](){const _0x3084fb=a8_0x48da66;this['showLoadingIndicator'](_0x3084fb(0x1b9)),this[_0x3084fb(0x255)][_0x3084fb(0x201)]({},{},_0x50f549=>{const _0x9b5883=_0x3084fb;this[_0x9b5883(0x1cd)]['setData'](_0x50f549[_0x9b5883(0x1dc)]);});}[a8_0x48da66(0x21e)](_0x4a1e39,_0x1ad41b={}){const _0x4bbb3b=a8_0x48da66;this[_0x4bbb3b(0x1cd)][_0x4bbb3b(0x21e)]();}[a8_0x48da66(0x264)](){const _0x391cc2=a8_0x48da66;this[_0x391cc2(0x1cd)]['closeLoadingIndicator']();}['render'](){const _0x3e9a06=a8_0x48da66;return jsx(Table,{'ref':_0x579a1a=>{const _0x37e0d9=a8_0x2bdf;this[_0x37e0d9(0x1cd)]=_0x579a1a;},'scroll':{'x':_0x3e9a06(0x1d7)},'className':_0x3e9a06(0x1f4),'_showPage':![],'rowKey':_0x386d6d=>_0x386d6d['id'],'size':_0x3e9a06(0x24a),'columns':[{'title':'平台','dataIndex':_0x3e9a06(0x21b),'fixed':_0x3e9a06(0x1ba),'render':(_0x3a27c7,_0x5d1172)=>{const _0x4cf4b4=_0x3e9a06;let {platformName:_0x24720a,userPlatform:_0x354aec,userPlatformName:_0x113509,mainPlatform:_0x14c30b}=_0x5d1172;if(_0x354aec)return jsxs(Flex,{'justify':_0x4cf4b4(0x215),'children':[jsxs(Space,{'children':[jsx(Tag,{'children':_0x24720a}),jsx(Tag,{'children':_0x113509})]}),_0x14c30b&&jsx(Tag,{'color':_0x4cf4b4(0x218),'children':_0x4cf4b4(0x259)})]});return jsxs(Flex,{'justify':_0x4cf4b4(0x215),'children':[jsx(Tag,{'children':_0x24720a}),_0x14c30b&&jsx(Tag,{'color':_0x4cf4b4(0x218),'children':_0x4cf4b4(0x259)})]});}},{'title':'角色','dataIndex':_0x3e9a06(0x24d),'render':(_0x293605,_0x984628)=>{const _0x111b3b=_0x3e9a06;let {roleNames:_0x5a999e}=_0x984628;if(_0x5a999e)return _0x5a999e[_0x111b3b(0x232)](',')[_0x111b3b(0x1cf)]((_0x3ed717,_0x2fb1a9)=>jsx(Tag,{'children':_0x3ed717},_0x2fb1a9));return null;}}]});}}class AccountModifyForm extends BaseComponent{static [a8_0x48da66(0x23b)]={'onSuccess':void 0x0};constructor(_0x2e37d9){const _0x564868=a8_0x48da66;super(_0x2e37d9),this[_0x564868(0x255)]=new a8_0x16dd9d(this);}[a8_0x48da66(0x1e9)](){this['_search']();}[a8_0x48da66(0x1fc)](){const _0x4babb7=a8_0x48da66;this['showLoadingIndicator'](_0x4babb7(0x1b9)),this[_0x4babb7(0x255)][_0x4babb7(0x20c)]({},{},_0xf9a7f3=>{const _0x9406ec=_0x4babb7;this[_0x9406ec(0x1f3)][_0x9406ec(0x1b5)](_0xf9a7f3[_0x9406ec(0x1dc)]);});}[a8_0x48da66(0x233)](){const _0x121878=a8_0x48da66;this['props']['onCancel']&&this[_0x121878(0x24c)][_0x121878(0x244)]();}[a8_0x48da66(0x25c)](){const _0x166eca=a8_0x48da66;this[_0x166eca(0x1f3)][_0x166eca(0x246)]()[_0x166eca(0x1f7)](_0x2111bb=>{const _0x4d71cb=_0x166eca;this[_0x4d71cb(0x1f9)](_0x4d71cb(0x1ad)),this[_0x4d71cb(0x255)][_0x4d71cb(0x1e1)]({..._0x2111bb},{},()=>{const _0xb7c3f1=_0x4d71cb;this[_0xb7c3f1(0x1f6)](_0xb7c3f1(0x25d)),this[_0xb7c3f1(0x24c)][_0xb7c3f1(0x1e0)]&&this[_0xb7c3f1(0x24c)][_0xb7c3f1(0x1e0)]();});});}[a8_0x48da66(0x21e)](_0x449787){const _0x3f2c7b=a8_0x48da66;this[_0x3f2c7b(0x1ce)](_0x449787);}[a8_0x48da66(0x264)](){this['closeSpin']();}[a8_0x48da66(0x1f9)](_0x4b1cb9){this['showSpin'](_0x4b1cb9);}[a8_0x48da66(0x1d6)](){const _0x1ad186=a8_0x48da66;this[_0x1ad186(0x258)]();}[a8_0x48da66(0x23a)](){const _0x5a7784=a8_0x48da66;return this[_0x5a7784(0x250)](jsxs(Form,{'ref':_0x398d81=>this['form']=_0x398d81,'layout':'vertical','children':[jsx(Form[_0x5a7784(0x1e3)],{'label':'名称','name':_0x5a7784(0x267),'rules':[{'required':!![],'message':_0x5a7784(0x21d)}],'children':jsx(Input,{'placeholder':_0x5a7784(0x237)})}),jsx(Form['Item'],{'label':'手机','name':_0x5a7784(0x265),'rules':[{'required':!![],'message':_0x5a7784(0x242)}],'children':jsx(Input,{'placeholder':_0x5a7784(0x269)})}),jsx(Form['Item'],{'label':'邮箱','name':_0x5a7784(0x206),'rules':[{'required':!![],'message':'请输入邮箱!'}],'children':jsx(Input,{'placeholder':_0x5a7784(0x243)})}),jsx(Row,{'type':_0x5a7784(0x257),'justify':_0x5a7784(0x22a),'children':jsxs(Space,{'children':[jsx(Button,{'onClick':this[_0x5a7784(0x233)][_0x5a7784(0x1c7)](this),'children':'取消'}),jsx(Button,{'type':_0x5a7784(0x226),'onClick':this[_0x5a7784(0x25c)][_0x5a7784(0x1c7)](this),'children':'修改'})]})})]}));}}class AccountDetail extends BaseComponent{static[a8_0x48da66(0x1c8)](){const _0x6ed8ed=a8_0x48da66;let _0x3cd467=Drawer[_0x6ed8ed(0x1f8)](jsx(AccountDetail,{'onCancel':()=>{const _0x386bdc=_0x6ed8ed;_0x3cd467()[_0x386bdc(0x23e)]();}}),{'title':'账号详情','width':0x320,'bodyStyle':{'padding':0xa}});}constructor(_0x1ffdb1){const _0x4e695e=a8_0x48da66;super(_0x1ffdb1),this[_0x4e695e(0x255)]=new a8_0x16dd9d(this),this['state']={'data':{}};}[a8_0x48da66(0x1e9)](){const _0x42185c=a8_0x48da66;this[_0x42185c(0x1fc)]();}['showLoadingIndicator'](_0x496f6f){const _0x5873e5=a8_0x48da66;this[_0x5873e5(0x1ce)](_0x496f6f);}[a8_0x48da66(0x264)](){const _0x1e3f0f=a8_0x48da66;this[_0x1e3f0f(0x258)]();}[a8_0x48da66(0x1fc)](){const _0x3749be=a8_0x48da66;this[_0x3749be(0x21e)](_0x3749be(0x1b9)),this[_0x3749be(0x255)][_0x3749be(0x20c)]({},{},_0x4898e6=>{const _0x1a0e38=_0x3749be;this[_0x1a0e38(0x212)]({'data':_0x4898e6[_0x1a0e38(0x1dc)]});});}[a8_0x48da66(0x213)](){const _0x3177cc=a8_0x48da66;let _0x53a98b=Modal[_0x3177cc(0x1f8)](jsx(AccountModifyForm,{'onCancel':()=>{const _0x4a1bc5=_0x3177cc;_0x53a98b()[_0x4a1bc5(0x23e)]();},'onSuccess':()=>{const _0x243467=_0x3177cc;_0x53a98b()[_0x243467(0x23e)](),this['_search']();}}),{'title':_0x3177cc(0x25f)});}[a8_0x48da66(0x23a)](){const _0x3488ec=a8_0x48da66;let {data:_0x6b0266}=this[_0x3488ec(0x240)];return this[_0x3488ec(0x250)](jsxs(Space,{'direction':_0x3488ec(0x245),'style':{'width':_0x3488ec(0x268)},'children':[jsx(Card,{'title':_0x3488ec(0x1e5),'size':'small','extra':jsx(Space,{'children':jsx(Button,{'size':'small','type':'primary','onClick':this[_0x3488ec(0x213)][_0x3488ec(0x1c7)](this),'children':'修改'})}),'children':jsx(Descriptions,{'bordered':!![],'column':0x1,'size':'small','items':this[_0x3488ec(0x240)][_0x3488ec(0x1dc)]?[{'label':_0x3488ec(0x1bc),'children':_0x6b0266[_0x3488ec(0x1c0)]},{'label':'账号','children':_0x6b0266[_0x3488ec(0x1ae)]},{'label':'名称','children':_0x6b0266[_0x3488ec(0x267)]},{'label':'手机','children':_0x6b0266[_0x3488ec(0x265)]},{'label':'邮箱','children':_0x6b0266[_0x3488ec(0x206)]}]:[]})}),jsx(Card,{'title':_0x3488ec(0x249),'size':'small','children':jsx(AccountPlatformGrid,{})})]}));}}const defaultStyle={'header':{'backgroundColor':a8_0x48da66(0x241),'fontColor':'rgba(0,\x200,\x200,\x200.88)','logo':{'height':0x28,'width':0x28},'border':{'bottom':{'width':0x1,'color':a8_0x48da66(0x205)}},'account':{'backgroundColor':a8_0x48da66(0x272),'fontColor':'#fff'},'menu':{'backgroundColor':'transparent','fontSize':0xf,'activeBarHeight':0x4,'active':{'fontColor':a8_0x48da66(0x272),'backgroundColor':'transparent'}}},'left':{'width':0xf0,'backgroundColor':a8_0x48da66(0x25a),'fontColor':a8_0x48da66(0x1b3),'border':{'right':{'width':0x1,'color':'#eee'}},'menu':{'itemHeight':0x30,'fontSize':0xf,'active':{'fontColor':'#FFF','backgroundColor':a8_0x48da66(0x272)}}}};function getLoginAccount(_0x510c8a){const _0x341d8b=a8_0x48da66;let {loginAccount:_0x4c5c4a}=_0x510c8a;return _0x4c5c4a?_0x4c5c4a:a8_0x34524f[_0x341d8b(0x224)](_0x341d8b(0x1b6));}function getCurPlatform(_0xe3f0a1){const _0x54a30a=a8_0x48da66;let {curPlatform:_0x48af96}=_0xe3f0a1;return _0x48af96?_0x48af96:a8_0x34524f[_0x54a30a(0x224)]('_curPlatform');}function IndexPage(_0xbdc9b0){const _0x5cbe3d=a8_0x48da66;let {menuItems:_0x4c2f92,style:style=defaultStyle,syncRoute:syncRoute=!![]}=_0xbdc9b0,_0x1cd328=getLoginAccount(_0xbdc9b0),_0x483af7=getCurPlatform(_0xbdc9b0);if(!_0x1cd328||!_0x483af7)return Tip['alertFail'](_0x5cbe3d(0x1ff),{'onOk':()=>{const _0x6a9b0b=_0x5cbe3d,_0x239899=encodeURIComponent(window[_0x6a9b0b(0x1b2)][_0x6a9b0b(0x1c5)][_0x6a9b0b(0x20e)][_0x6a9b0b(0x207)]);window[_0x6a9b0b(0x1b2)][_0x6a9b0b(0x1c5)][_0x6a9b0b(0x20e)][_0x6a9b0b(0x207)]=window['_ctx']+'/login?backUrl='+_0x239899;}}),null;let {platform:_0x385152,topMenu:_0x2d979f,rightComponent:_0x2a58e0,showTab:_0x5534da,showNav:_0x32c4c2,keepMenu:_0x415cc6,tabCache:_0x112b88}=_0xbdc9b0,[_0x1963cc,_0x356668]=useState([]),[_0x2d18ef,_0x4770d7]=useState({}),[_0x5d4b2f,_0x46992b]=useState(null),_0x122726=syncRoute?useLocation():{'pathname':'/'},_0x1eccc0=syncRoute?useNavigate():null,_0x3e5227=a8_0x533b8c();useEffect(()=>{const _0x47665a=_0x5cbe3d,_0x25aeb5=_0x297fc5=>{const {pathname:_0x3fb6a2}=_0x122726;let {menus:_0x5bd3ab,menusMap:_0x5684a8}=wrapperMenus(_0x297fc5),_0x930d23;syncRoute&&(_0x930d23=findCurMenu(_0x5bd3ab,_0x3fb6a2));!_0x930d23&&(_0x930d23=findDefaultMenu(_0x5bd3ab));if(_0x930d23&&syncRoute){let {urlPath:_0x46bce2}=_0x930d23;_0x3fb6a2!==_0x46bce2&&_0x1eccc0(_0x46bce2);}_0x46992b(_0x930d23),_0x356668(_0x5bd3ab),_0x4770d7(_0x5684a8);};_0x4c2f92?_0x25aeb5(_0x4c2f92):(_0x3e5227[_0x47665a(0x21e)](),_0x3e5227[_0x47665a(0x271)]({},{},_0x44f0ef=>{const _0x331b92=_0x47665a;_0x25aeb5(_0x44f0ef[_0x331b92(0x1e2)]);}));},[]);const _0x7afca5=useCallback(_0x86737f=>{if(_0x86737f&&syncRoute){let {urlPath:_0x111108}=_0x86737f;_0x1eccc0(_0x111108);}_0x46992b(_0x86737f);},[]);return jsxs(Layout,{'className':_0x5cbe3d(0x1e8),'children':[jsxs(Layout[_0x5cbe3d(0x1dd)],{'className':_0x5cbe3d(0x209),'style':{'height':0x41,'background':style[_0x5cbe3d(0x1db)][_0x5cbe3d(0x1cc)],'borderBottom':style[_0x5cbe3d(0x1db)][_0x5cbe3d(0x219)][_0x5cbe3d(0x225)][_0x5cbe3d(0x1af)]+_0x5cbe3d(0x25b)+style[_0x5cbe3d(0x1db)][_0x5cbe3d(0x219)][_0x5cbe3d(0x225)][_0x5cbe3d(0x202)]},'children':[jsx(LogoComponent,{'platform':_0x385152,'style':style,'loginAccount':_0x1cd328,'curPlatform':_0x483af7}),_0x2d979f&&jsx(TopMenu,{'menus':_0x1963cc,'menusMap':_0x2d18ef,'curMenu':_0x5d4b2f,'onSelect':_0x7afca5,'style':style,'loginAccount':_0x1cd328,'curPlatform':_0x483af7}),jsx(_0x5cbe3d(0x247),{'className':_0x5cbe3d(0x236),'children':jsxs(Space,{'size':0x10,'children':[_0x2a58e0,jsx(AccountComponent,{'style':style,'loginAccount':_0x1cd328,'curPlatform':_0x483af7})]})})]}),jsxs(Layout,{'children':[jsx(LeftMenu,{'topMenu':_0x2d979f,'menus':_0x1963cc,'menusMap':_0x2d18ef,'curMenu':_0x5d4b2f,'onSelect':_0x7afca5,'style':style,'loginAccount':_0x1cd328,'curPlatform':_0x483af7}),jsx(Layout[_0x5cbe3d(0x1be)],{'style':{'padding':0xa,'backgroundColor':_0x5cbe3d(0x1ed)},'children':jsx(MenuContent,{'menus':_0x1963cc,'menusMap':_0x2d18ef,'curMenu':_0x5d4b2f,'showTab':_0x5534da,'showNav':_0x32c4c2,'topMenu':_0x2d979f,'keepMenu':_0x415cc6,'tabCache':_0x112b88,'onTabChange':_0x7afca5,'style':style,'loginAccount':_0x1cd328,'curPlatform':_0x483af7})})]})]});}function LogoComponent(_0x4891e8){const _0x2e642b=a8_0x48da66;let {style:_0x61ab07}=_0x4891e8,_0x24ec93=getLoginAccount(_0x4891e8),_0x3cfdd8=getCurPlatform(_0x4891e8);const _0x4e01c8=a8_0x533b8c();let {platform:_0x556cc8}=_0x4891e8;const _0x7ccf8b=useCallback(_0x43dd35=>{const _0xb26e1=a8_0x2bdf;Tip[_0xb26e1(0x20b)](_0xb26e1(0x20d)+_0x43dd35['userPlatformName']+_0xb26e1(0x1d5),()=>{const _0x4e6a25=_0xb26e1;_0x4e01c8[_0x4e6a25(0x1c3)]({'userPlatformId':_0x43dd35[_0x4e6a25(0x1bb)]},{},()=>{const _0x2ed78e=_0x4e6a25;window[_0x2ed78e(0x20e)][_0x2ed78e(0x1c1)]();});});},[]);return jsxs(_0x2e642b(0x247),{'className':_0x2e642b(0x26e),'style':{'minWidth':0xdc},'children':[jsx(_0x2e642b(0x22c),{'className':_0x2e642b(0x261),'src':window['_ctx']+_0x2e642b(0x1b8)+_0x556cc8,'alt':_0x2e642b(0x266),'style':{'height':_0x61ab07[_0x2e642b(0x1db)][_0x2e642b(0x266)][_0x2e642b(0x252)],'width':_0x61ab07['header'][_0x2e642b(0x266)][_0x2e642b(0x1af)]}}),jsxs(_0x2e642b(0x247),{'className':_0x2e642b(0x22f),'children':[jsx('div',{'className':'logo-title','style':{'color':_0x61ab07['header'][_0x2e642b(0x263)]},'children':_0x3cfdd8[_0x2e642b(0x1b7)]}),_0x24ec93[_0x2e642b(0x1f0)][_0x2e642b(0x248)]>0x1?jsx(Dropdown,{'menu':((()=>{const _0xd33dfb=_0x2e642b;let _0x571c52=[];return _0x24ec93[_0xd33dfb(0x1f0)][_0xd33dfb(0x1b0)](_0x5a4131=>{const _0x55049f=_0xd33dfb;_0x5a4131['userPlatformName']!==_0x3cfdd8[_0x55049f(0x22d)]&&_0x571c52[_0x55049f(0x1e7)]({'key':_0x5a4131['userPlatformId'],'label':_0x5a4131[_0x55049f(0x22d)],'onClick':()=>_0x7ccf8b(_0x5a4131)});}),{'items':_0x571c52};})()),'children':jsx(_0x2e642b(0x247),{'className':_0x2e642b(0x200),'style':{'cursor':_0x2e642b(0x260)},'children':jsxs(Space,{'children':[jsx(_0x2e642b(0x230),{'style':{'color':_0x61ab07[_0x2e642b(0x1db)][_0x2e642b(0x263)]},'children':_0x3cfdd8['userPlatformName']}),jsx(_0x2e642b(0x230),{'style':{'color':_0x61ab07[_0x2e642b(0x1db)][_0x2e642b(0x263)]},'children':jsx(DownOutlined,{})})]})})}):jsx(_0x2e642b(0x247),{'className':_0x2e642b(0x200),'style':{'color':_0x61ab07['header'][_0x2e642b(0x263)]},'children':_0x3cfdd8[_0x2e642b(0x22d)]})]})]});}function AccountComponent(_0x44a6bb){const _0x44dbe0=a8_0x48da66;let {style:_0x26ca5b}=_0x44a6bb,_0x2dc85d=getLoginAccount(_0x44a6bb);const _0x343e08=a8_0x1d7a7f(),_0x87731d=useCallback(()=>{const _0x1877b5=a8_0x2bdf;Tip[_0x1877b5(0x20b)](_0x1877b5(0x1ac),()=>{const _0x45eedc=_0x1877b5;_0x343e08[_0x45eedc(0x1ca)]({},{},()=>{const _0x348d91=_0x45eedc;window[_0x348d91(0x20e)]['href']=window[_0x348d91(0x210)]+'/login';});});},[]),_0x573776=useCallback(()=>{const _0xf8314=a8_0x2bdf;let _0x150e43=Modal[_0xf8314(0x1f8)](jsx(AccountPwdForm,{'onCancel':()=>{const _0x4a2f13=_0xf8314;_0x150e43()[_0x4a2f13(0x23e)]();},'onSuccess':()=>{_0x150e43()['close']();}}),{'title':'修改密码'});},[]);return jsx(Dropdown,{'menu':{'items':[{'key':_0x44dbe0(0x229),'icon':jsx(UserOutlined,{}),'label':_0x44dbe0(0x270),'onClick':()=>{const _0x24865a=_0x44dbe0;AccountDetail[_0x24865a(0x1c8)]();}},{'key':'settings','icon':jsx(SettingOutlined,{}),'label':_0x44dbe0(0x1b1),'onClick':_0x573776},{'type':'divider'},{'key':_0x44dbe0(0x223),'icon':jsx(LogoutOutlined,{}),'label':'退出登录','onClick':_0x87731d}]},'children':jsxs(Space,{'style':{'cursor':'pointer'},'children':[jsx(Avatar,{'size':0x20,'icon':jsx(UserOutlined,{'style':{'color':_0x26ca5b[_0x44dbe0(0x1db)][_0x44dbe0(0x1ae)]['fontColor']}}),'style':{'backgroundColor':_0x26ca5b[_0x44dbe0(0x1db)][_0x44dbe0(0x1ae)][_0x44dbe0(0x1cc)]}}),jsx(_0x44dbe0(0x230),{'style':{'color':_0x26ca5b[_0x44dbe0(0x1db)]['fontColor']},'children':_0x2dc85d[_0x44dbe0(0x267)]})]})});}function a8_0x34f4(){const _0x26170e=['registerPropListener','header-menu','_getCacheTabsItems','_createTabs','label','\x22吗?','closeDoingIndicator','max-content','7280872XkXTts','_getCacheTabsCookieName','Password','header','data','Header','reverse','ctm_','onSuccess','modify','menuItems','Item','请输入旧密码!','基本信息','新密码','push','workbench-index-layout','componentDidMount','newPwd','817458FJMLjp','editable-card','#FFF','stopPropagation','join','platforms','tab','setItems','form','table-margin-hide','curMenu','noticeSuccess','then','show','showDoingIndicator','旧密码','请输入确认密码!','_search','ct_','keys','登录超时,需要重新登录','logo-sub-title','platformList','color','15451qRwbhv','236236aKOdhp','#eee','email','href','onTabChange','layout-header','14daewGz','confirm','info','确定要切换到\x22','location','oldPwd','_ctx','light','setState','_onModify','sort','space-between','inline','tabsMap','error','border','_saveCacheTabsItems','platform','_createTabItem','请输入名称!','showLoadingIndicator','key','itemHeight','parentMenu','onSelect','logout','get','bottom','primary','menuId','新密码不能与旧密码相同','profile','end','exitItem','img','userPlatformName','clearItems','header-title','span','iconCls','split','_closeForm','setActiveKey','icon','header-info','请输入名称','tabs','请输入旧密码','render','defaultProps','children','_tabsShowMenu','close','_cachePanelShowMenu','state','#fff','请输入手机!','请输入邮箱','onCancel','vertical','validateFields','div','length','关联平台','small','_menuChange','props','roleNames','current','请输入新密码!','renderSpin','5UKIHlh','height','确认密码','36812VAKAEh','presenter','addItems','flex','closeSpin','默认平台','#ffffff','px\x20solid\x20','_onSubmit','修改成功','fontSize','修改信息','pointer','logo-img','right','fontColor','closeLoadingIndicator','mobile','logo','name','100%','请输入手机','309EQASKH','menu','active','horizontal','header-logo','1587177uOjYYW','个人资料','platformMenu','#108ee9','platformId','确定要退出登录吗?','处理中...','account','width','forEach','修改密码','parent','rgba(0,\x200,\x200,\x200.88)','noticeFail','setFieldsValue','_account','platformName','/_res/logo/','加载中...','left','userPlatformId','账号ID','activeBarHeight','Content','none','accountId','reload','两次新密码输入不一致','platformSwitch','Sider','window','item','bind','showDetails','13968480IQYtke','loginOut','cachePanel','backgroundColor','grid','showSpin','map'];a8_0x34f4=function(){return _0x26170e;};return a8_0x34f4();}function TopMenu(_0x25bfe1){const _0x8aba9a=a8_0x48da66;let {menus:_0x21c7fc,curMenu:_0x2fc184,style:_0x54c3fe}=_0x25bfe1,[_0x341cea,_0x58a50d]=useState(null),_0xfb3887=useRef(_0x2fc184);const _0x574562=useCallback(({item:_0x3f1bc5,domEvent:_0x2f6b97})=>{const _0x4c45c4=a8_0x2bdf;_0x2f6b97[_0x4c45c4(0x1ee)]();let {data:_0x1d4d9d,children:_0x440f3a}=_0x3f1bc5['props'][_0x4c45c4(0x1c6)];_0x440f3a&&_0x440f3a[_0x4c45c4(0x248)]>0x0&&(_0x1d4d9d=findDefaultMenu(_0x440f3a)),_0x25bfe1['onSelect'](_0x1d4d9d);},[]);if(!_0x2fc184&&!_0xfb3887[_0x8aba9a(0x24e)]||!_0x21c7fc||_0x21c7fc[_0x8aba9a(0x248)]===0x0)return null;let _0x151e69=null,_0x3f6c3c=_0x21c7fc[_0x8aba9a(0x1cf)](_0x100329=>{const _0x3808ec=_0x8aba9a;let {menuId:_0x3c8207}=_0x2fc184||_0xfb3887[_0x3808ec(0x24e)];if(_0x3c8207===_0x100329[_0x3808ec(0x21f)])_0x151e69=_0x100329['key'];else curMenuInMenus({'curMenu':_0x2fc184||_0xfb3887[_0x3808ec(0x24e)],'menus':_0x100329['children']})&&(_0x151e69=_0x100329['key']);return{'key':_0x100329[_0x3808ec(0x21f)],'label':jsx(_0x3808ec(0x230),{'style':{'fontSize':_0x54c3fe[_0x3808ec(0x1db)]['menu'][_0x3808ec(0x25e)]},'children':_0x100329[_0x3808ec(0x1d4)]}),'icon':_0x100329['icon']?jsx(SvgIcon,{'id':_0x100329[_0x3808ec(0x235)],'fontSize':_0x54c3fe[_0x3808ec(0x1db)][_0x3808ec(0x26b)][_0x3808ec(0x25e)]}):null,'item':_0x100329};});return _0x151e69!==_0x341cea&&_0x58a50d(_0x151e69),_0x2fc184&&(_0xfb3887[_0x8aba9a(0x24e)]=_0x2fc184),jsx('div',{'className':_0x8aba9a(0x1d1),'children':jsx(_0x8aba9a(0x247),{'className':'menu-box','children':jsx(ConfigProvider,{'theme':{'components':{'Menu':{'activeBarHeight':_0x54c3fe[_0x8aba9a(0x1db)]['menu'][_0x8aba9a(0x1bd)],'itemBg':_0x54c3fe[_0x8aba9a(0x1db)][_0x8aba9a(0x1cc)],'darkItemBg':_0x54c3fe[_0x8aba9a(0x1db)][_0x8aba9a(0x1cc)],'itemColor':_0x54c3fe[_0x8aba9a(0x1db)]['fontColor'],'darkItemColor':_0x54c3fe[_0x8aba9a(0x1db)][_0x8aba9a(0x263)],'horizontalItemHoverBg':_0x54c3fe[_0x8aba9a(0x1db)][_0x8aba9a(0x26b)][_0x8aba9a(0x26c)][_0x8aba9a(0x1cc)],'horizontalItemHoverColor':_0x54c3fe[_0x8aba9a(0x1db)][_0x8aba9a(0x26b)][_0x8aba9a(0x26c)][_0x8aba9a(0x263)],'horizontalItemSelectedBg':_0x54c3fe[_0x8aba9a(0x1db)][_0x8aba9a(0x26b)][_0x8aba9a(0x26c)][_0x8aba9a(0x1cc)],'horizontalItemSelectedColor':_0x54c3fe[_0x8aba9a(0x1db)][_0x8aba9a(0x26b)][_0x8aba9a(0x26c)][_0x8aba9a(0x263)],'darkItemSelectedBg':_0x54c3fe[_0x8aba9a(0x1db)]['menu'][_0x8aba9a(0x26c)][_0x8aba9a(0x1cc)],'itemHoverColor':_0x54c3fe['header'][_0x8aba9a(0x26b)]['active'][_0x8aba9a(0x263)]}}},'children':jsx(Menu,{'theme':_0x8aba9a(0x211),'mode':_0x8aba9a(0x26d),'items':_0x3f6c3c,'selectedKeys':_0x341cea?[_0x341cea]:null,'onSelect':_0x574562})})})});}function LeftMenu(_0x4e5064){const _0x5b381b=a8_0x48da66;let {menus:_0x14c01e,topMenu:_0x480f66,curMenu:_0x1a0f1b,style:_0x392c22}=_0x4e5064,_0x4341ff=useRef(_0x1a0f1b),_0x39eae0=useRef(null),_0x3aa15a=findLeftMenu({'menus':_0x14c01e,'curMenu':_0x1a0f1b||_0x4341ff[_0x5b381b(0x24e)],'topMenu':_0x480f66}),[_0x4359cf,_0x179698]=useState([]);const _0x11c2bf=useCallback(({item:_0x213937,domEvent:_0x438254})=>{const _0x3771b6=_0x5b381b;_0x438254[_0x3771b6(0x1ee)]();let {data:_0x87cc38}=_0x213937[_0x3771b6(0x24c)];_0x39eae0[_0x3771b6(0x24e)]=_0x87cc38[_0x3771b6(0x227)],_0x4e5064[_0x3771b6(0x222)](_0x87cc38);},[]);if(!_0x1a0f1b&&!_0x4341ff[_0x5b381b(0x24e)]||!_0x3aa15a||_0x3aa15a[_0x5b381b(0x248)]===0x0)return null;if(_0x1a0f1b&&(!_0x39eae0[_0x5b381b(0x24e)]||_0x39eae0[_0x5b381b(0x24e)]!==_0x1a0f1b[_0x5b381b(0x227)])){let _0x12105b={};_0x3aa15a[_0x5b381b(0x1b0)](_0x27d909=>{const _0x54bd07=_0x5b381b;_0x12105b[_0x27d909[_0x54bd07(0x21f)]]=!![];}),_0x4359cf=findOpenMenuKeys(_0x1a0f1b,_0x12105b),_0x4359cf[_0x5b381b(0x248)]>0x0&&_0x179698(_0x4359cf);}_0x1a0f1b&&(_0x4341ff[_0x5b381b(0x24e)]=_0x1a0f1b,_0x39eae0[_0x5b381b(0x24e)]=_0x1a0f1b['menuId']);const _0x41e23d=_0x354308=>{const _0x29782e=_0x5b381b;if(!_0x354308||_0x354308[_0x29782e(0x248)]===0x0)return _0x354308;let _0x255da7=[];for(let _0x164bc2=0x0;_0x164bc2<_0x354308[_0x29782e(0x248)];_0x164bc2++){let {key:_0x3f2045,label:_0x5deae8,icon:_0x38f3db,children:_0x55ce6e,data:_0x55d0c2}=_0x354308[_0x164bc2];_0x55ce6e&&_0x55ce6e['length']>0x0&&(_0x55ce6e=_0x41e23d(_0x55ce6e)),_0x255da7[_0x29782e(0x1e7)]({'key':_0x3f2045,'label':jsx(_0x29782e(0x230),{'style':{'fontSize':_0x392c22[_0x29782e(0x1ba)][_0x29782e(0x26b)][_0x29782e(0x25e)]},'children':_0x5deae8}),'icon':_0x38f3db?jsx(SvgIcon,{'id':_0x38f3db,'fontSize':_0x392c22[_0x29782e(0x1ba)]['menu']['fontSize']}):null,'children':_0x55ce6e,'data':_0x55d0c2});}return _0x255da7;};return jsx(Layout[_0x5b381b(0x1c4)],{'width':_0x392c22[_0x5b381b(0x1ba)]['width'],'collapsible':!![],'children':jsx(_0x5b381b(0x247),{'className':'slider-menu','style':{'background':_0x392c22['left']['backgroundColor'],'borderRight':_0x392c22[_0x5b381b(0x1ba)][_0x5b381b(0x219)]['right'][_0x5b381b(0x1af)]+_0x5b381b(0x25b)+_0x392c22[_0x5b381b(0x1ba)][_0x5b381b(0x219)][_0x5b381b(0x262)][_0x5b381b(0x202)]},'children':jsx(ConfigProvider,{'theme':{'components':{'Menu':{'itemBg':_0x392c22['left'][_0x5b381b(0x1cc)],'itemBorderRadius':0x0,'subMenuItemBorderRadius':0x0,'itemColor':_0x392c22['left'][_0x5b381b(0x263)],'groupTitleColor':_0x392c22[_0x5b381b(0x1ba)]['fontColor'],'groupTitleFontSize':_0x392c22[_0x5b381b(0x1ba)]['fontSize'],'itemActiveBg':_0x392c22[_0x5b381b(0x1ba)][_0x5b381b(0x26b)][_0x5b381b(0x26c)]['backgroundColor'],'itemHoverColor':_0x392c22[_0x5b381b(0x1ba)][_0x5b381b(0x26b)][_0x5b381b(0x26c)][_0x5b381b(0x263)],'itemHoverBg':_0x392c22[_0x5b381b(0x1ba)][_0x5b381b(0x26b)][_0x5b381b(0x26c)][_0x5b381b(0x1cc)],'itemSelectedBg':_0x392c22['left']['menu'][_0x5b381b(0x26c)][_0x5b381b(0x1cc)],'itemSelectedColor':_0x392c22['left'][_0x5b381b(0x26b)][_0x5b381b(0x26c)][_0x5b381b(0x263)],'subMenuItemSelectedColor':_0x392c22['left']['fontColor'],'itemMarginInline':0x0,'popupBg':_0x392c22[_0x5b381b(0x1ba)][_0x5b381b(0x1cc)],'itemMarginBlock':0x0,'itemHeight':_0x392c22['left']['menu'][_0x5b381b(0x220)]}}},'children':jsx(Menu,{'theme':_0x5b381b(0x211),'mode':_0x5b381b(0x216),'openKeys':_0x4359cf,'selectedKeys':_0x1a0f1b?[_0x1a0f1b[_0x5b381b(0x227)]]:[],'items':_0x41e23d(_0x3aa15a),'onOpenChange':_0x51f34c=>{_0x179698(_0x51f34c);},'onSelect':_0x11c2bf})})})});}class MenuContent extends BaseComponent{constructor(_0x22cd0f){const _0xa22d2=a8_0x48da66;super(_0x22cd0f),this[_0xa22d2(0x1d0)]('curMenu',_0x4a676b=>{const _0x100b92=_0xa22d2;this[_0x100b92(0x24b)](_0x4a676b);}),this[_0xa22d2(0x217)]={};}['_createTabItem'](_0x4bf7fe){const _0xdac283=a8_0x48da66;return{'key':_0x4bf7fe[_0xdac283(0x227)],'label':_0x4bf7fe['name'],'icon':_0x4bf7fe[_0xdac283(0x231)]?jsx(SvgIcon,{'id':_0x4bf7fe['iconCls'],'fontSize':0xf,'style':{'verticalAlign':-0x3}}):null,'children':_0x4bf7fe[_0xdac283(0x227)]+':'+_0x4bf7fe[_0xdac283(0x267)],'data':_0x4bf7fe};}[a8_0x48da66(0x1d3)](_0x4a307f,_0x337dac){const _0x3c4a7e=a8_0x48da66;let _0x3f230c=this[_0x3c4a7e(0x1d2)](_0x337dac);return jsx(Tabs,{'ref':_0x4a307f,'activeKey':_0x337dac[_0x3c4a7e(0x227)],'items':_0x3f230c,'animated':!![],'_drag':!![],'_showCloseBtn':!![],'type':_0x3c4a7e(0x1ec),'hideAdd':!![],'size':_0x3c4a7e(0x24a),'_onItemsChange':({items:_0x15f1da})=>{const _0x446e4d=_0x3c4a7e;this[_0x446e4d(0x21a)](_0x15f1da,this[_0x446e4d(0x24c)][_0x446e4d(0x1f5)]);},'onChange':({item:_0x75dbff})=>{const _0x5a6c13=_0x3c4a7e;this[_0x5a6c13(0x24c)]['onTabChange']&&this[_0x5a6c13(0x24c)][_0x5a6c13(0x208)]((_0x75dbff||{})[_0x5a6c13(0x1dc)]);}});}['_getCacheTabsCookieName'](_0x1c4df4){const _0x400d27=a8_0x48da66;let _0xe53924=getLoginAccount(this[_0x400d27(0x24c)]),_0x2ece45=getCurPlatform(this[_0x400d27(0x24c)]),{topMenu:_0x3c6209}=this[_0x400d27(0x24c)],_0x1ea33a;if(_0x3c6209){let _0xf9130e=findRootMenu(_0x1c4df4);return _0x1ea33a=_0xf9130e[_0x400d27(0x227)],'ctm_'+md5(_0x400d27(0x1fd)+(_0x2ece45[_0x400d27(0x1bb)]||_0x2ece45[_0x400d27(0x273)])+'-'+_0xe53924[_0x400d27(0x1c0)]+'-'+_0x1ea33a);}else return _0x400d27(0x1df)+md5(_0x400d27(0x1fd)+(_0x2ece45[_0x400d27(0x1bb)]||_0x2ece45[_0x400d27(0x273)])+'-'+_0xe53924[_0x400d27(0x1c0)]);}[a8_0x48da66(0x1d2)](_0xd45c35){const _0x258618=a8_0x48da66;let _0x44d2e7=[],{tabCache:_0x3239ea,menusMap:_0x5458bc}=this[_0x258618(0x24c)];if(!_0x3239ea)return _0x44d2e7['push'](this[_0x258618(0x21c)](_0xd45c35)),_0x44d2e7;let _0x29ab57=getCookie(this[_0x258618(0x1d9)](_0xd45c35)),_0x3ed621=_0x29ab57?_0x29ab57[_0x258618(0x232)](','):[],_0xd9fa33=![];if(_0x3ed621['length']>0x0)for(let _0x14c2f5=0x0;_0x14c2f5<_0x3ed621[_0x258618(0x248)];_0x14c2f5++){let _0x2ab455=_0x5458bc[_0x3ed621[_0x14c2f5]];if(!_0x2ab455)continue;_0x2ab455=_0x2ab455[_0x258618(0x1dc)],_0x44d2e7['push'](this[_0x258618(0x21c)](_0x2ab455)),_0x2ab455['menuId']===_0xd45c35['menuId']&&(_0xd9fa33=!![]);}return!_0xd9fa33&&_0x44d2e7['push'](this[_0x258618(0x21c)](_0xd45c35)),_0x44d2e7;}[a8_0x48da66(0x21a)](_0x442e12,_0x36cf2f){const _0xb3a024=a8_0x48da66;if(!_0x36cf2f)return;let {tabCache:_0x3c7d19}=this[_0xb3a024(0x24c)];if(!_0x3c7d19)return;if(_0x442e12&&_0x442e12[_0xb3a024(0x248)]>0x0){let _0xe7082e=[];_0x442e12[_0xb3a024(0x1b0)](_0x781ef=>{const _0x3389bd=_0xb3a024;_0xe7082e[_0x3389bd(0x1e7)](_0x781ef[_0x3389bd(0x21f)]);}),setCookie(this[_0xb3a024(0x1d9)](_0x36cf2f),_0xe7082e['join'](','));}else removeCookie(this[_0xb3a024(0x1d9)](_0x36cf2f));}[a8_0x48da66(0x24b)](_0x5880a2){const _0x2daa17=a8_0x48da66;let {menus:_0xc2afec,topMenu:_0x54305a,showTab:_0x45a4a9}=this[_0x2daa17(0x24c)];if(!_0x54305a&&_0x45a4a9){this[_0x2daa17(0x238)]?this[_0x2daa17(0x23d)](this[_0x2daa17(0x238)],_0x5880a2):this['cachePanel'][_0x2daa17(0x1f2)]({'key':_0x2daa17(0x1f1),'children':this[_0x2daa17(0x1d3)](_0x2e459f=>{const _0x5bb2ea=_0x2daa17;this[_0x5bb2ea(0x238)]=_0x2e459f;},_0x5880a2)});return;}if(_0x54305a){if(_0x45a4a9){let _0x9ebca3=findLeftMenu({'menus':_0xc2afec,'curMenu':_0x5880a2,'topMenu':_0x54305a});if(_0x9ebca3&&_0x9ebca3[_0x2daa17(0x248)]>0x0){let _0x3bf994=findRootMenu(_0x5880a2);if(this[_0x2daa17(0x1cb)][_0x2daa17(0x22b)](_0x3bf994[_0x2daa17(0x227)])){this[_0x2daa17(0x1cb)]['setActiveKey'](_0x3bf994['menuId'],{'triggerOnChange':![]});let _0x282f72=this[_0x2daa17(0x217)][_0x3bf994['menuId']];this[_0x2daa17(0x23d)](_0x282f72,_0x5880a2);}else this[_0x2daa17(0x1cb)][_0x2daa17(0x256)]({'key':_0x3bf994[_0x2daa17(0x227)],'children':this['_createTabs'](_0x11a7e2=>{const _0x3da8e0=_0x2daa17;this[_0x3da8e0(0x217)][_0x3bf994[_0x3da8e0(0x227)]]=_0x11a7e2;},_0x5880a2)},{'activeKey':_0x3bf994['menuId'],'triggerOnChange':![]});}else this['_cachePanelShowMenu'](_0x5880a2);}else this[_0x2daa17(0x23f)](_0x5880a2);}else this[_0x2daa17(0x23f)](_0x5880a2);}[a8_0x48da66(0x23f)](_0x11571a){const _0x19ea06=a8_0x48da66;if(!_0x11571a){this[_0x19ea06(0x1cb)]['clearItems']();return;}let {menuId:_0x1f11ad,name:_0x2fcdec}=_0x11571a;if(this[_0x19ea06(0x24c)]['keepMenu']){this['cachePanel'][_0x19ea06(0x22b)](_0x1f11ad)?this[_0x19ea06(0x1cb)][_0x19ea06(0x234)](_0x1f11ad,{'triggerOnChange':![]}):this['cachePanel']['addItems']({'key':_0x1f11ad,'children':_0x1f11ad+':'+_0x2fcdec},{'activeKey':_0x1f11ad,'triggerOnChange':![]});return;}this[_0x19ea06(0x1cb)][_0x19ea06(0x1f2)]({'key':_0x1f11ad,'children':_0x1f11ad+':'+_0x2fcdec});}[a8_0x48da66(0x23d)](_0x42ed66,_0x7026fd){const _0x3a2217=a8_0x48da66;if(!_0x42ed66)return;if(!_0x7026fd){_0x42ed66[_0x3a2217(0x22e)]({'triggerOnChange':![]});return;}let {menuId:_0x246515}=_0x7026fd;_0x42ed66[_0x3a2217(0x22b)](_0x246515)?_0x42ed66[_0x3a2217(0x234)](_0x246515,{'triggerOnChange':![]}):_0x42ed66[_0x3a2217(0x256)](this['_createTabItem'](_0x7026fd),{'activeKey':_0x246515,'triggerOnChange':![]});}[a8_0x48da66(0x23a)](){const _0x5c8084=a8_0x48da66;let {showNav:_0x1783dc,curMenu:_0x5dcae6}=this[_0x5c8084(0x24c)];return jsxs(Fragment,{'children':[_0x1783dc&&jsx(Breadcrumb,{'style':{'marginBottom':0xf},'items':findBreadcrumbItems(_0x5dcae6)}),jsx(CachePanel,{'style':{'display':''+(_0x5dcae6?'block':_0x5c8084(0x1bf))},'ref':_0x35fd9b=>this[_0x5c8084(0x1cb)]=_0x35fd9b})]});}}function wrapperMenus(_0x93f87c){const _0x8fb04b=a8_0x48da66;if(!_0x93f87c||_0x93f87c[_0x8fb04b(0x248)]===0x0)return{'menus':[],'menusMap':{}};let _0x4405cc={},_0x2b64df={};_0x93f87c[_0x8fb04b(0x1b0)](_0x29e047=>{const _0x24610e=_0x8fb04b;let _0x1bd81f={'key':_0x29e047['menuId'],'label':_0x29e047[_0x24610e(0x267)],'icon':_0x29e047['iconCls'],'data':_0x29e047};_0x4405cc[_0x29e047['menuId']]=_0x1bd81f,_0x2b64df[_0x29e047['menuId']]=_0x1bd81f;}),_0x93f87c['forEach'](_0x372fe8=>{const _0x42e967=_0x8fb04b;let {menuId:_0x1a045b,parentMenuId:_0x435505}=_0x372fe8,_0x3fa980=_0x4405cc[_0x435505];_0x3fa980&&(!_0x3fa980['children']&&(_0x3fa980[_0x42e967(0x23c)]=[]),_0x372fe8[_0x42e967(0x221)]=_0x3fa980[_0x42e967(0x1dc)],_0x3fa980[_0x42e967(0x23c)]['push'](_0x4405cc[_0x1a045b]),delete _0x2b64df[_0x1a045b]);});let _0x5d51b7=[];Object[_0x8fb04b(0x1fe)](_0x2b64df)[_0x8fb04b(0x1b0)](_0x5e0af8=>_0x5d51b7[_0x8fb04b(0x1e7)](_0x2b64df[_0x5e0af8]));if(_0x5d51b7[_0x8fb04b(0x248)]===0x0)return _0x5d51b7;return _0x5d51b7[_0x8fb04b(0x214)]((_0x5a6fce,_0x41df8c)=>{const _0x103849=_0x8fb04b;let _0x2d6391=_0x5a6fce[_0x103849(0x1dc)][_0x103849(0x214)],_0x2bb5b8=_0x41df8c[_0x103849(0x1dc)]['sort'];return _0x2d6391-_0x2bb5b8;}),{'menus':_0x5d51b7,'menusMap':_0x4405cc};}function findCurMenu(_0x2ee640,_0x3e17e3){const _0x24fc74=a8_0x48da66;if('/'===_0x3e17e3||_0x3e17e3==='')return null;if(!_0x2ee640||_0x2ee640[_0x24fc74(0x248)]===0x0)return null;let _0x29b4f6=_0x3e17e3[_0x24fc74(0x232)]('/')[_0x24fc74(0x1ef)]('/');for(let _0x5355b6=0x0;_0x5355b6<_0x2ee640[_0x24fc74(0x248)];_0x5355b6++){let {data:_0x4dd20e,children:_0x3fce28}=_0x2ee640[_0x5355b6],{urlPath:_0xa414df}=_0x4dd20e,_0x5798aa=_0xa414df[_0x24fc74(0x232)]('/')['join']('/');if(_0x29b4f6===_0x5798aa){if(!_0x3fce28||_0x3fce28[_0x24fc74(0x248)]===0x0)return _0x4dd20e;return null;}if(_0x3fce28&&_0x3fce28[_0x24fc74(0x248)]>0x0){let _0x3c473f=findCurMenu(_0x3fce28,_0x3e17e3);if(_0x3c473f)return _0x3c473f;}}return null;}function a8_0x2bdf(_0x15f7e3,_0x5ed442){const _0x34f428=a8_0x34f4();return a8_0x2bdf=function(_0x2bdf0c,_0xd8880d){_0x2bdf0c=_0x2bdf0c-0x1ac;let _0x450b57=_0x34f428[_0x2bdf0c];return _0x450b57;},a8_0x2bdf(_0x15f7e3,_0x5ed442);}function findDefaultMenu(_0x4e2a82){const _0x49da96=a8_0x48da66;if(!_0x4e2a82||_0x4e2a82[_0x49da96(0x248)]===0x0)return null;let {data:_0xb5fd00,children:_0x38ea25}=_0x4e2a82[0x0];if(!_0x38ea25||_0x38ea25['length']===0x0)return _0xb5fd00;return findDefaultMenu(_0x38ea25);}function findLeftMenu({menus:_0xfe17f0,topMenu:_0x38d2bd,curMenu:_0x52e3f3}={}){const _0x14c5c7=a8_0x48da66;if(!_0x52e3f3||!_0xfe17f0||_0xfe17f0[_0x14c5c7(0x248)]===0x0)return null;if(!_0x38d2bd)return _0xfe17f0;for(let _0x2f6b3f=0x0;_0x2f6b3f<_0xfe17f0['length'];_0x2f6b3f++){let {children:_0x23fc9d}=_0xfe17f0[_0x2f6b3f];if(curMenuInMenus({'curMenu':_0x52e3f3,'menus':_0x23fc9d}))return _0x23fc9d;}return null;}function curMenuInMenus({curMenu:_0x4d9f16,menus:_0x412e1c}={}){const _0x487bb3=a8_0x48da66;if(!_0x4d9f16||!_0x412e1c||_0x412e1c[_0x487bb3(0x248)]===0x0)return![];for(let _0xfd09b1=0x0;_0xfd09b1<_0x412e1c[_0x487bb3(0x248)];_0xfd09b1++){let {data:_0x11df83,children:_0x3f729b}=_0x412e1c[_0xfd09b1];if(_0x11df83[_0x487bb3(0x227)]===_0x4d9f16[_0x487bb3(0x227)])return!![];if(_0x3f729b&&_0x3f729b['length']>0x0){if(curMenuInMenus({'curMenu':_0x4d9f16,'menus':_0x3f729b}))return!![];}}return![];}function findOpenMenuKeys(_0x565fe4,_0x1d526e){const _0x5da26d=a8_0x48da66;let _0x2358a8=[],{menuId:_0x135392,parentMenu:_0x4257b4}=_0x565fe4;if(_0x1d526e[_0x135392])return _0x2358a8;if(!_0x4257b4)return _0x2358a8;return _0x2358a8[_0x5da26d(0x1e7)](_0x4257b4[_0x5da26d(0x227)]),_0x2358a8['push'](...findOpenMenuKeys(_0x4257b4,_0x1d526e)),_0x2358a8;}function findRootMenu(_0x46ff47){let {parentMenu:_0x1c773c}=_0x46ff47;if(!_0x1c773c)return _0x46ff47;return findRootMenu(_0x1c773c);}function findBreadcrumbItems(_0xeac85d){const _0x20bcbd=a8_0x48da66;let _0x5df430=[];if(!_0xeac85d)return _0x5df430;let {iconCls:_0x4687db,name:_0x3bd6a2}=_0xeac85d;_0x4687db?_0x5df430[_0x20bcbd(0x1e7)]({'title':jsxs(_0x20bcbd(0x230),{'children':[jsx(SvgIcon,{'id':_0x4687db,'fontSize':0xe,'style':{'verticalAlign':-0x2,'marginRight':0x5}}),_0x3bd6a2]})}):_0x5df430['push']({'title':_0x3bd6a2});let {parentMenu:_0x575a45}=_0xeac85d;if(!_0x575a45)return _0x5df430;return _0x5df430['push'](...findBreadcrumbItems(_0x575a45)),_0x5df430[_0x20bcbd(0x1de)]();}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(
|
|
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(
|
|
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
|
-
|
|
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,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "threels-workbench-app",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
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",
|
|
@@ -44,7 +44,6 @@
|
|
|
44
44
|
"threels-workbench-core": "^0.0.11",
|
|
45
45
|
"use-immer": "~0.11.0",
|
|
46
46
|
"vite": "~7.0.0",
|
|
47
|
-
"vite-obfuscator-zznode": "^1.3.1"
|
|
48
|
-
"vite-plugin-libcss": "^1.1.2"
|
|
47
|
+
"vite-obfuscator-zznode": "^1.3.1"
|
|
49
48
|
}
|
|
50
49
|
}
|