@profoundlogic/coderflow-server 0.8.3 → 0.8.5
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/coder-server.js +1 -1
- package/dist/config.js +1 -1
- package/dist/lib/agent-keepalive.js +1 -1
- package/dist/lib/agent-models.js +1 -1
- package/dist/lib/api-keys.js +1 -1
- package/dist/lib/apiKeys.js +1 -1
- package/dist/lib/app-server-ports.js +1 -1
- package/dist/lib/auto-judge.js +1 -1
- package/dist/lib/automation-service.js +1 -1
- package/dist/lib/basic-auth.js +1 -1
- package/dist/lib/bindings.js +1 -1
- package/dist/lib/build-history.js +1 -1
- package/dist/lib/build-output-service.js +1 -1
- package/dist/lib/build-scheduler.js +1 -1
- package/dist/lib/build-service.js +1 -1
- package/dist/lib/ca-certificates.js +1 -1
- package/dist/lib/claude-oauth-refresh.js +1 -1
- package/dist/lib/cli/build.js +1 -1
- package/dist/lib/cli/cleanup-users.js +1 -1
- package/dist/lib/cli/config-command.js +1 -1
- package/dist/lib/cli/config.js +1 -1
- package/dist/lib/cli/create-user.js +1 -1
- package/dist/lib/cli/grant-admin.js +1 -1
- package/dist/lib/cli/init.js +1 -1
- package/dist/lib/cli/jira.js +1 -1
- package/dist/lib/cli/license.js +1 -1
- package/dist/lib/cli/list-roles.js +1 -1
- package/dist/lib/cli/list-users.js +1 -1
- package/dist/lib/cli/server-manager.js +1 -1
- package/dist/lib/cli/set-password.js +1 -1
- package/dist/lib/compression-filter.js +1 -1
- package/dist/lib/config-migration.js +1 -1
- package/dist/lib/container-credential-sync.js +1 -1
- package/dist/lib/container-tokens.js +1 -1
- package/dist/lib/data-dir.js +1 -1
- package/dist/lib/deployment-history.js +1 -1
- package/dist/lib/deployment-service.js +1 -1
- package/dist/lib/docker-utils.js +1 -1
- package/dist/lib/email.js +1 -1
- package/dist/lib/emailTemplates.js +1 -1
- package/dist/lib/entitlement.js +1 -1
- package/dist/lib/external-connections.js +1 -1
- package/dist/lib/fetch-utils.js +1 -1
- package/dist/lib/git-commit-details-route.js +1 -1
- package/dist/lib/git-history-diff-guardrails.js +1 -1
- package/dist/lib/git-provider-service.js +1 -1
- package/dist/lib/git-provider-setup/github-setup-handler.js +1 -1
- package/dist/lib/git-provider-setup/index.js +1 -1
- package/dist/lib/git-provider-setup/setup-factory.js +1 -1
- package/dist/lib/git-provider-setup/setup-interface.js +1 -1
- package/dist/lib/git-providers/azure-devops-provider.js +1 -1
- package/dist/lib/git-providers/github-app-provider.js +1 -1
- package/dist/lib/git-providers/index.js +1 -1
- package/dist/lib/git-providers/provider-factory.js +1 -1
- package/dist/lib/git-providers/provider-interface.js +1 -1
- package/dist/lib/github-urls.js +1 -1
- package/dist/lib/group-objective-linking.js +1 -1
- package/dist/lib/ibmi-sync.js +1 -1
- package/dist/lib/jira-client.js +1 -1
- package/dist/lib/judge-blinding.js +1 -1
- package/dist/lib/logger.js +1 -1
- package/dist/lib/memory-utils.js +1 -1
- package/dist/lib/migration-to-scoped-rbac.js +1 -1
- package/dist/lib/model-fetcher.js +1 -1
- package/dist/lib/notifications.js +1 -1
- package/dist/lib/objective-context.js +1 -1
- package/dist/lib/oidc-auth.js +1 -1
- package/dist/lib/oidc-device-flow.js +1 -1
- package/dist/lib/passwordTokens.js +1 -1
- package/dist/lib/permission-resolver.js +1 -1
- package/dist/lib/pin-cascade.js +1 -1
- package/dist/lib/provider-accounts.js +1 -1
- package/dist/lib/provider-oauth.js +1 -1
- package/dist/lib/provider-profile.js +1 -1
- package/dist/lib/provider-token-refresh.js +1 -1
- package/dist/lib/rbac-user-state.js +1 -1
- package/dist/lib/request-url.js +1 -1
- package/dist/lib/rewind.js +1 -1
- package/dist/lib/role-definitions.js +1 -1
- package/dist/lib/roles.js +1 -1
- package/dist/lib/secrets.js +1 -1
- package/dist/lib/setup-repo-git-auth.js +1 -1
- package/dist/lib/state-capture.js +1 -1
- package/dist/lib/static-files.js +1 -1
- package/dist/lib/task-aliases.js +1 -1
- package/dist/lib/task-container-init.js +1 -1
- package/dist/lib/task-context-usage.js +1 -1
- package/dist/lib/task-name-format.js +1 -1
- package/dist/lib/task-name-generator.js +1 -1
- package/dist/lib/task-source-metadata.js +1 -1
- package/dist/lib/teams.js +1 -1
- package/dist/lib/user-git-oauth.js +1 -1
- package/dist/lib/user-git-tokens.js +1 -1
- package/dist/lib/users.js +1 -1
- package/dist/middleware/requireAuth.js +1 -1
- package/dist/middleware/requireInit.js +1 -1
- package/dist/middleware/requirePermission.js +1 -1
- package/dist/package.json +1 -1
- package/dist/playwright.config.js +1 -1
- package/dist/playwright.task-terminal.config.js +1 -1
- package/dist/routes/apiKeys.js +1 -1
- package/dist/routes/auth-oidc.js +1 -1
- package/dist/routes/auth.js +1 -1
- package/dist/routes/automations.js +1 -1
- package/dist/routes/bindings.js +1 -1
- package/dist/routes/build.js +1 -1
- package/dist/routes/containers.js +1 -1
- package/dist/routes/deploy-task.js +1 -1
- package/dist/routes/environment-management.js +1 -1
- package/dist/routes/environments.js +1 -1
- package/dist/routes/external-skills.js +1 -1
- package/dist/routes/git-credentials.js +1 -1
- package/dist/routes/git-oauth.js +1 -1
- package/dist/routes/git-provider-setup.js +1 -1
- package/dist/routes/health.js +1 -1
- package/dist/routes/jira.js +1 -1
- package/dist/routes/logs.js +1 -1
- package/dist/routes/objective-management.js +1 -1
- package/dist/routes/password.js +1 -1
- package/dist/routes/prompt.js +1 -1
- package/dist/routes/provider-auth.js +1 -1
- package/dist/routes/qa.js +1 -1
- package/dist/routes/roles.js +1 -1
- package/dist/routes/settings.js +1 -1
- package/dist/routes/skill-management.js +1 -1
- package/dist/routes/skills.js +1 -1
- package/dist/routes/stats.js +1 -1
- package/dist/routes/tasks.js +1 -1
- package/dist/routes/teams.js +1 -1
- package/dist/routes/templates.js +1 -1
- package/dist/routes/test-task.js +1 -1
- package/dist/routes/test.js +1 -1
- package/dist/routes/users.js +1 -1
- package/dist/routes/visualizations.js +1 -1
- package/dist/scripts/create-user.js +1 -1
- package/dist/scripts/migrate-config-to-data-dir.js +1 -1
- package/dist/start.js +1 -1
- package/dist/web-ui/public/activity-detail-modal.js +1 -1
- package/dist/web-ui/public/activity-feed.js +1 -1
- package/dist/web-ui/public/activity-formatters.js +1 -1
- package/dist/web-ui/public/admin.js +1 -1
- package/dist/web-ui/public/agent-event-parser.js +1 -1
- package/dist/web-ui/public/app.js +1 -1
- package/dist/web-ui/public/approve-dialog.js +1 -1
- package/dist/web-ui/public/automation-links.js +1 -1
- package/dist/web-ui/public/automation-schedule.js +1 -1
- package/dist/web-ui/public/comments-widget.js +1 -1
- package/dist/web-ui/public/diff-utils.js +1 -1
- package/dist/web-ui/public/environments.js +1 -1
- package/dist/web-ui/public/feedback-widget.js +1 -1
- package/dist/web-ui/public/file-selection-tree.js +1 -1
- package/dist/web-ui/public/git-history-lazy-utils.js +1 -1
- package/dist/web-ui/public/git-history.js +1 -1
- package/dist/web-ui/public/git-status.js +1 -1
- package/dist/web-ui/public/ibmi-file-filter.js +1 -1
- package/dist/web-ui/public/index.js +1 -1
- package/dist/web-ui/public/login.js +1 -1
- package/dist/web-ui/public/markdown-editor.js +1 -1
- package/dist/web-ui/public/markdown-file-editor.js +1 -1
- package/dist/web-ui/public/modal-maximize.js +1 -1
- package/dist/web-ui/public/notifications.js +1 -1
- package/dist/web-ui/public/permissions.js +1 -1
- package/dist/web-ui/public/pr-dialog.js +1 -1
- package/dist/web-ui/public/roles.js +1 -1
- package/dist/web-ui/public/settings.js +1 -1
- package/dist/web-ui/public/setup-password.js +1 -1
- package/dist/web-ui/public/skills.js +1 -1
- package/dist/web-ui/public/sse-client.js +1 -1
- package/dist/web-ui/public/sse-shared-worker.js +1 -1
- package/dist/web-ui/public/task-judging-helpers.js +1 -1
- package/dist/web-ui/public/task.js +1 -1
- package/dist/web-ui/public/teams.js +1 -1
- package/dist/web-ui/public/terminal.js +1 -1
- package/dist/web-ui/public/theme.js +1 -1
- package/dist/web-ui/public/users.js +1 -1
- package/dist/web-ui/public/variant-grouping.js +1 -1
- package/package.json +1 -1
package/dist/routes/auth.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x12b0a2,_0xd2f008){const _0x2ad5c8={_0x1848ef:0x3a3,_0x5e6e9c:0x356,_0x38bcdf:0x26a,_0x5cbe7a:0x227,_0x3d46e0:0x289,_0x543efe:0x345,_0x63d9e4:0x2f0,_0x49b4a9:0x368,_0x49fcb2:0x373,_0x276754:0x40d,_0x5edd40:0x41b,_0x52d59f:0x428,_0x4aea05:0x40c,_0x2da504:0x34d,_0x20e5dc:0x348,_0x242a73:0x336,_0x3844e9:0x324},_0x2663e6={_0x5b0aea:0x19f},_0x24d651={_0x1fc2d3:0x28b};function _0x305c93(_0xeefdd2,_0x36f562,_0x3f35c1,_0x4c71a2){return _0x1c21(_0x4c71a2-_0x24d651._0x1fc2d3,_0x3f35c1);}function _0x1c9bf3(_0x10306e,_0x2e907c,_0x54b153,_0x20dcfe){return _0x1c21(_0x20dcfe-_0x2663e6._0x5b0aea,_0x54b153);}const _0x5ee1f6=_0x12b0a2();while(!![]){try{const _0x49cc2d=parseInt(_0x305c93(_0x2ad5c8._0x1848ef,0x349,_0x2ad5c8._0x5e6e9c,0x3ba))/(0x3*0xc5b+-0x943*-0x3+-0x40d9*0x1)*(parseInt(_0x1c9bf3(_0x2ad5c8._0x38bcdf,_0x2ad5c8._0x5cbe7a,0x231,0x29a))/(-0x78e+0x53a+-0x12b*-0x2))+parseInt(_0x305c93(0x361,0x355,0x3a9,0x3bf))/(-0x24cd*0x1+0x10*-0x1cf+-0x41c*-0x10)*(parseInt(_0x1c9bf3(_0x2ad5c8._0x3d46e0,_0x2ad5c8._0x543efe,0x29d,_0x2ad5c8._0x63d9e4))/(-0x1*0x2491+-0x2*0x216+0x28c1))+-parseInt(_0x305c93(0x396,0x3ab,_0x2ad5c8._0x49b4a9,_0x2ad5c8._0x49fcb2))/(0xb5*-0xf+-0x1*-0x2039+-0x123*0x13)*(-parseInt(_0x305c93(0x463,_0x2ad5c8._0x276754,0x3b7,_0x2ad5c8._0x5edd40))/(-0x1c2+0x4*0x24e+-0x1dc*0x4))+-parseInt(_0x305c93(0x3c9,0x3f9,0x3d8,_0x2ad5c8._0x52d59f))/(-0x16ba*-0x1+-0x1ddf+-0xc*-0x99)+-parseInt(_0x1c9bf3(0x3f6,_0x2ad5c8._0x4aea05,0x31e,0x37e))/(0x26*0xaf+0x1ad*-0x3+-0x14eb)+parseInt(_0x1c9bf3(_0x2ad5c8._0x2da504,0x317,_0x2ad5c8._0x20e5dc,_0x2ad5c8._0x242a73))/(-0xc4f+0x577+0x6e1)+parseInt(_0x1c9bf3(0x383,_0x2ad5c8._0x3844e9,0x287,0x30d))/(-0x66e*-0x5+-0x1*-0xd2d+0x1*-0x2d49);if(_0x49cc2d===_0xd2f008)break;else _0x5ee1f6['push'](_0x5ee1f6['shift']());}catch(_0x430ee7){_0x5ee1f6['push'](_0x5ee1f6['shift']());}}}(_0x342b,0xd09*-0x17f+-0xd220b+0x2e3573));import _0x334d06 from'express';import _0x359de8 from'multer';import _0x52c9e6 from'sharp';import _0x2516d5 from'path';import{promises as _0x1a9df3}from'fs';import{validatePassword,updateUser,findUserById}from'../lib/users.js';import{createApiKey}from'../lib/apiKeys.js';import{logger}from'../lib/logger.js';import{requireAuth}from'../middleware/requireAuth.js';import{DATA_DIR}from'../lib/data-dir.js';import{hasPermission,resolveUserRoleNames,resolveAllUserPermissions}from'../lib/permission-resolver.js';function _0x342b(){const _0x620d11=['B3zLza','BhPytKu','B3iGl21L','zgvSzxrL','s1v4sNi','rMfPBgvKienmsq','zwzvC2y','Awzcyue','DgvHBq','vxnLCIbUB3qGzG','zMLSzq','z2vFBwvTyMvYCW','vxnLCM5HBwuGyq','sKHethu','uuHNsw8','tg9NAw4GzxjYBW','nJqXnZCYmgzAEeLjAW','DxnLCKLK','DMLH','zw52AxjVBM1LBG','yxHYANy','y2nLC3m','AxjLza','weHmBe4','C2v0','zw1Nvge','BvDsEuq','Aw5MBW','C3rHDhvZ','z2v0','Dw50','BNrPy2f0Aw9U','tg9NAw4GC3vJyW','uMXRqwu','qxv0AgvUDgLJyq','yxzHDgfYvxjS','DgvHBtOG','zcbHCMuGCMvXDq','v2PlAum','Bg9HzgvK','shv5D0u','zw1WDa','sNHxBeS','rMXLBKK','ruvysvnu','qxzHDgfYihvWBa','y2n1CNjLzcbKDq','CxvHBgL0Eq','r3b3CeW','uMzJt0e','mZbKBhrJy08','C3nPB24','DMfSDwvZ','EhbYugS','l2f2yxrHCNmV','AxfwzNO','zNPyv04','mtuZote2nJvzuKvSt0K','EfLpD1C','Aw1Hz2uVz2LM','sw52ywXPzcbMAq','thLoCfG','C2f2zsbZzxnZAq','nde4nJe1ngrJz2DLCG','ANnVBG','CKLyueq','tg9Nz2vKig91Da','l3bYB2zPBguVyq','C3nOx3vZzxjUyq','A21UwhC','B3vUza','qw4GzxjYB3iGBW','CuztAg0','CMvJDxjZAxzL','zNn0r3m','z2v0ihbYB2zPBa','vxnLCIbSB2DNzq','BM93','Dg9YEq','C0XlyKG','zxnZzNvS','zMLSzw5HBwu','zxjUyw1Lig9Yia','Ae1juw0','CMLUzYbHDxrOzq','DgvHBxm6BwfUyq','ALPtt04','rMfPBgvKihrVia','sw52ywXPzcb1CW','ywzdqNu','C2vZC2LVBG','vLvwBfq','C3vJy2vZC2z1Ba','CM9Szxm','tM8GzMLSzsb1Ca','Aw9UCW','y2fUtwfUywDLtq','sKLmv1G','rfHKr2W','zeTlzMq','BIbMywLSzwqGzG','DgvHBxm','C0PqAK0','yLLTzgy','DgfYCYbKAxjLyW','ugvYBwLZC2LVBG','zw1HAwW','A2v5','EML6CxK','Cgv1wui','DxDvBfq','B1niyuS','l2nSAs1SB2DPBG','D3DrqKu','zMLSzvnPEMu','sM1IuuK','t2HeBhC','D1bpEeC','BunNr0C','ihjLC29SDxrPBW','AwfxsMm','CgfZC3DVCMq','Bu5hwu4','tMHiBNK','BgvUz3rO','ugDfsw0','uhjVzMLSzsb1Ca','Cwz0qxG','yxzHDgfY','otaZnte3nKDHzLbhAG','tg9NB3v0igzHAq','Aw1Hz2uVD2vICa','yw5KifDLyLaGyq','zxjYB3i','q0XjigXVz2LUia','Aw5JBhvKzxm','DvrAEeG','DMLKzwq','txzMzfi','CMvZB3vYy2vFAq','EKXRB20','y3jLyxrLigf2yq','C2LVBG','yM9KEq','B2fKzwq','ywTREg8','A0nYt2K','qxzHDgfYihjLBq','y3jLyxrLihnLCW','uvfZrfO','v0THBwO','y2XLyxjdB29RAq','zw1HAwXFBwvUDa','DuTUrMy','y29Kzq','ugr3Cxy','BwvZC2fNzq','thjywLK','CgnYA3O','z0rUELa','lNbUzW','BgvK','BwLTzxr5Cgu','ue5hlcbhsuySia','t2XVr2i','sLrSz1e','BgvZigzVCIbdta','zcbPBG','s1HLD3a','DgfY','Burvu1a','BKDzvey','r0DJrMe','rw5Krg0','mti2nJC1rvjhu1Hm','zgvZDhjVEsbZzq','BMPTvNe','DgLVBIbMywLSzq','DunJB3K','yLr0vKC','B0HIufO','CgvYBwLZC2LVBG','CM9Szu5HBwu','uw5YqMC','zgvZDhjVEq','ExDTwue','BMfTzq','q0XjiefJy2vZCW','quD1rwS','u1j4r00','Dw5SAw5R','BMX5iePqruCSia','BwTKAxi','mZq2t3bRsfn4','CMuGywXSB3DLza','thzkuK4','Cwf4vuK','DxbSB2fKigf2yq','zwzXAeq','y1Pbrve','AgX6zvK','wwjJBuq','CMvZB3vYy2vFDa','Aw4Gyxr0zw1WDa','l3bYB2zPBgu','DMjuqwG','s0XKDwm','DcbIzsbLBxb0Eq','D2fYBG','C0XSvNu','wLH6Cum','qNzmDwu','igLUzM8','C0rlsNq','uKDfzM8','wxneu3a','tg9NAw4GzMfPBa','rvvrwhm','seHjvKe','DhjPBq','u2TcB0W','zwrLBNrPywXZ','C2vYDMvY','Dg9gAwXL','q2PyzNy','zurkuvO','qw5Jv3e','tMfTzsbJyw5UBW','AM9PBG','BejIug8','CM9Szv9Pza','DgrkBgm','CgrHDgvZihbYBW','Bw1lzxC','DxbKyxrLihbYBW','s0zJq0q','CM9SzvbLCM1dBW','suXSqK0','zgLYzwn0','A2v5swq','BwvTB3j5u3rVCG','ywXS','tevtuNe','tgPrCfK','EurMweu','nZuXvxPVu3PJ','ChjLzMvYzw5Jzq','wwPrrMG','zw1IzxjZ','ssbSB2DPBG','mJuZndDpEhvUDLy','svbTELa','rMfPBgvKigXVzW','rhbcrKy','BLftwfi','Cg9ZDa','CMvTB3zLigf2yq','DxnLCG','Ag5yqLq','EgXtv3a','zw1HAwXFy29TBq','tLDMyvu','ihn1y2nLC3nMDq','BMzV','BMqGCgfZC3DVCG','vvHPrgy','DxnLCM5HBwu','zfD5AfK','A2v5CW','zcbVDxq','yxzHDgfYCW','D2z1yui','v25yshm','Exjysxa','DMf0yxi','Chv0','EefdCuW','ze10B1q','l21L','nfvoDg1lBG','tgHdDhi','BxD4txO','ruHwsgi','t21yswi','twLZC2LUzYbJCG','C3rHy2S','uM91DgvY','CMvZB2X2zsbYBW','rMPPq3e','BguGDhLWzs4GtW','BLzguu0','BwfW'];_0x342b=function(){return _0x620d11;};return _0x342b();}import{getTeamsByUserId}from'../lib/teams.js';import{getBindingsBySubject}from'../lib/bindings.js';import{getRoleById}from'../lib/role-definitions.js';const AVATARS_DIR=_0x2516d5[_0x46b2e4(0x157,0xd9,0x1a4,0xc7)](DATA_DIR,_0x31480b(0x293,0x2d2,0x2d0,0x321)),AVATAR_SIZE=-0x1c94+0xc*0x25+0x4a4*0x6,_0x3594e8={};_0x3594e8[_0x31480b(0x31b,0x29e,0x38b,0x29c)]=(-0x3d8+-0x387+-0x1*-0x769)*(-0x173e+0x2219+-0x2d*0x27)*(-0xf5*-0x7+-0xe56*-0x2+-0x1f5f);const avatarUpload=_0x359de8({'storage':_0x359de8[_0x46b2e4(0x163,0x141,0x1ec,0x1e8)+'age'](),'limits':_0x3594e8,'fileFilter':(_0x518e99,_0x48d893,_0x29fee8)=>{const _0x447f03={_0x4a792a:0x167,_0x4adff6:0x123,_0x4fe252:0x195,_0x3926c8:0x2d6,_0x1f9067:0x3ae,_0x3feb7b:0x35f,_0x3bb18d:0x3c1,_0x10b778:0x3ad,_0x3447f6:0x327,_0x5636ac:0x2f5,_0x1c38a3:0x377,_0x2412be:0x16b,_0x1d33a1:0x156,_0x28f320:0x150,_0x2d240f:0x196,_0x12bc65:0x204,_0x28815b:0x290,_0x55ed68:0x10f,_0x45b87d:0x119,_0xfcc196:0x167,_0xd928e4:0x1e4,_0x3288ba:0x2ec,_0xd45e7b:0x321,_0xefddaf:0x2ce,_0x4247c1:0x359,_0x36e1bc:0x2c9,_0x29f87b:0x3b0,_0x3efb6a:0x3e6,_0x52de0a:0x404,_0x9a3f5b:0x16f,_0x506df0:0xd4,_0x30b281:0x26a,_0x2fe5ec:0x259,_0x49f658:0x275,_0x4bd1a3:0x2ca,_0x2c2c21:0x204,_0x3a9a57:0x22a,_0x5eea68:0x217,_0x550470:0x36c,_0x3c721c:0x356,_0x4cb141:0x318,_0x4a1164:0x2d3,_0x212a52:0x236,_0xc5bdea:0x26c,_0x59a9c4:0x34a,_0x348d71:0x387},_0x348705={_0x46a91f:0x43c,_0x3d3a04:0x40},_0xf4c616={_0x374dcb:0xd5};function _0x52f990(_0x28e680,_0x304e32,_0x52ff81,_0x5832db){return _0x46b2e4(_0x28e680-0x13b,_0x304e32-_0xf4c616._0x374dcb,_0x52ff81-0x173,_0x52ff81);}const _0x1df1de={'bTtVG':function(_0x1cf26d,_0x3d7498){return _0x1cf26d!==_0x3d7498;},'InVjj':_0x4f45ce(-_0x447f03._0x4a792a,-_0x447f03._0x4adff6,-0x162,-_0x447f03._0x4fe252),'RfcOA':_0x52f990(0x329,0x2bb,_0x447f03._0x3926c8,_0x447f03._0x1f9067)+_0x52f990(_0x447f03._0x3feb7b,_0x447f03._0x3bb18d,_0x447f03._0x10b778,0x3b1)+'tars\x20direc'+'tory','VeeiJ':'image/jpeg','OCciG':'image/png','iqVfz':_0x52f990(0x30d,_0x447f03._0x3447f6,0x322,0x2b3),'mWRyD':_0x52f990(0x355,_0x447f03._0x5636ac,_0x447f03._0x1c38a3,0x36b),'dKKfd':function(_0x2dd8e0,_0x4487d4){return _0x2dd8e0===_0x4487d4;},'cASwT':_0x4f45ce(-_0x447f03._0x2412be,-_0x447f03._0x1d33a1,-_0x447f03._0x28f320,-0x1b2),'AGuEk':function(_0x5e09b0,_0x11719d,_0x4aba16){return _0x5e09b0(_0x11719d,_0x4aba16);},'mwxMz':function(_0x15d16c,_0x5bf772){return _0x15d16c(_0x5bf772);},'iaWJc':'Invalid\x20fi'+_0x4f45ce(-_0x447f03._0x2d240f,-0x12a,-0x195,-0x1e6)+_0x52f990(0x26d,_0x447f03._0x12bc65,_0x447f03._0x28815b,0x2e8)+'PNG,\x20GIF,\x20'+_0x4f45ce(-_0x447f03._0x55ed68,-_0x447f03._0x45b87d,-_0x447f03._0xfcc196,-0x12a)+'re\x20allowed'+'.'},_0x344de1=[_0x1df1de['VeeiJ'],_0x1df1de['OCciG'],_0x1df1de[_0x4f45ce(-0x15c,-0xfb,-_0x447f03._0xd928e4,-0x14f)],_0x1df1de[_0x52f990(_0x447f03._0x3288ba,_0x447f03._0xd45e7b,_0x447f03._0xefddaf,0x2ac)]];function _0x4f45ce(_0x4b7371,_0x425853,_0x3ce5a9,_0x623660){return _0x31480b(_0x4b7371- -_0x348705._0x46a91f,_0x3ce5a9,_0x3ce5a9-0xff,_0x623660-_0x348705._0x3d3a04);}_0x344de1[_0x52f990(_0x447f03._0x4247c1,_0x447f03._0x36e1bc,_0x447f03._0x29f87b,_0x447f03._0x3efb6a)](_0x48d893[_0x52f990(0x374,_0x447f03._0x52de0a,0x3aa,0x33d)])?_0x1df1de[_0x4f45ce(-0x130,-_0x447f03._0x9a3f5b,-0x16e,-_0x447f03._0x506df0)]('HuywE',_0x1df1de['cASwT'])?_0x1df1de[_0x52f990(_0x447f03._0x30b281,_0x447f03._0x2fe5ec,_0x447f03._0x49f658,_0x447f03._0x4bd1a3)](_0x29fee8,null,!![]):_0x1df1de[_0x4f45ce(-_0x447f03._0x2c2c21,-0x1e0,-_0x447f03._0x3a9a57,-_0x447f03._0x5eea68)](_0x47d3fc[_0x52f990(_0x447f03._0x550470,0x3b9,0x3e6,0x380)],_0x1df1de['InVjj'])&&_0xcd0a46['error'](_0x1df1de[_0x52f990(0x303,0x319,_0x447f03._0x3c721c,_0x447f03._0x4cb141)],_0x8cdb8a):_0x1df1de[_0x52f990(0x2c7,_0x447f03._0x4a1164,_0x447f03._0x212a52,_0x447f03._0xc5bdea)](_0x29fee8,new Error(_0x1df1de[_0x52f990(_0x447f03._0x59a9c4,0x3c4,0x380,_0x447f03._0x348d71)]));}});async function ensureAvatarsDir(){const _0x2f3318={_0x131e8a:0x62,_0x25356a:0x48,_0x11a8fe:0xe,_0x501af2:0x57,_0x3917ab:0x22,_0x3e9e65:0xc,_0xe6f790:0x4d0,_0x87b856:0x4ab,_0x635566:0x110,_0x5056e0:0xc9,_0x37a4ed:0xcd,_0x811549:0x86,_0x46b744:0xc2,_0x5e3a8d:0x8c,_0x3a2dc1:0xca,_0x2e952a:0x36,_0x3774ae:0x4eb,_0x29c125:0x4fe,_0xb31dc9:0x4a1,_0x2c2e82:0x4aa,_0x292727:0x59c,_0x558c4a:0x5a1,_0x3c8c50:0x146,_0x131a8d:0xc0,_0x1898e2:0xda,_0x4e2911:0x10c,_0x133bb8:0x31,_0x176150:0x81,_0x37b51f:0xad,_0x35b9ee:0x40,_0x52357b:0x77,_0x2ba965:0x45e,_0x52b5e3:0x4d2,_0x2b1a51:0xac,_0x2624b1:0xc9,_0x26680f:0x5e,_0x3b3618:0x8d,_0x2f237e:0x7c,_0x112482:0xff,_0x4582b3:0x4a9,_0x73871f:0x474,_0x4cf7a9:0x4c1,_0x568cd0:0x37,_0x3c442e:0x8c,_0x4aaac3:0x45b,_0x1f1591:0x46e,_0x403d3b:0xcd,_0x1e25e3:0xae,_0x572b75:0xea,_0x3084b6:0x56d,_0x7d93d5:0x504,_0x3c482f:0x6,_0x209642:0xd,_0x4b1dfa:0x4bc,_0x2118c:0x49f,_0x39ce6f:0x13e,_0x51f76b:0x4f6,_0x24e00e:0x4b9,_0x56dea4:0x4f9,_0x4328bf:0x2b,_0x5e5198:0x4f},_0xe3e197={_0xd4c71f:0x164,_0x3198d1:0xa6};function _0x54f1ce(_0x516611,_0x1bbe45,_0x143dea,_0x4aa1db){return _0x46b2e4(_0x4aa1db-0x341,_0x1bbe45-0x117,_0x143dea-0xce,_0x143dea);}const _0x53f022={};_0x53f022[_0x477967(-0xc,-0xc,-_0x2f3318._0x131e8a,0x39)]=_0x477967(-_0x2f3318._0x25356a,-_0x2f3318._0x11a8fe,-_0x2f3318._0x501af2,-0x68)+_0x477967(-0x3d,-_0x2f3318._0x3917ab,0x2a,_0x2f3318._0x3e9e65),_0x53f022['JHDLu']=function(_0x37a829,_0x2d2e41){return _0x37a829!==_0x2d2e41;},_0x53f022['ZXzqC']=_0x54f1ce(_0x2f3318._0xe6f790,0x421,0x53d,_0x2f3318._0x87b856),_0x53f022[_0x477967(_0x2f3318._0x635566,_0x2f3318._0x5056e0,_0x2f3318._0x37a4ed,_0x2f3318._0x811549)]=_0x477967(_0x2f3318._0x46b744,_0x2f3318._0x5e3a8d,_0x2f3318._0x3a2dc1,_0x2f3318._0x2e952a),_0x53f022[_0x54f1ce(_0x2f3318._0x3774ae,_0x2f3318._0x29c125,0x4e3,_0x2f3318._0xb31dc9)]=function(_0x1e5c34,_0x504001){return _0x1e5c34===_0x504001;},_0x53f022[_0x54f1ce(0x4eb,_0x2f3318._0x2c2e82,0x49e,0x4bf)]=_0x54f1ce(_0x2f3318._0x292727,0x50a,_0x2f3318._0x558c4a,0x52f)+_0x477967(_0x2f3318._0x3c8c50,_0x2f3318._0x131a8d,0x80,_0x2f3318._0x1898e2)+_0x477967(0x50,0x9b,0x10,_0x2f3318._0x4e2911)+_0x477967(_0x2f3318._0x133bb8,_0x2f3318._0x176150,0xc3,0x63);function _0x477967(_0x3c7274,_0x27b01c,_0x3ea0fc,_0x230345){return _0x46b2e4(_0x27b01c- -_0xe3e197._0xd4c71f,_0x27b01c-0xbc,_0x3ea0fc-_0xe3e197._0x3198d1,_0x3c7274);}const _0x305a0a=_0x53f022;try{if(_0x305a0a[_0x477967(_0x2f3318._0x37b51f,_0x2f3318._0x35b9ee,0xa9,_0x2f3318._0x52357b)](_0x305a0a[_0x54f1ce(_0x2f3318._0x2ba965,_0x2f3318._0x52b5e3,0x4dd,0x486)],_0x305a0a[_0x477967(_0x2f3318._0x2b1a51,_0x2f3318._0x2624b1,0x8e,_0x2f3318._0x26680f)])){const _0x200be4={};_0x200be4[_0x477967(_0x2f3318._0x3b3618,_0x2f3318._0x2f237e,0xad,_0x2f3318._0x112482)]=!![],await _0x1a9df3[_0x54f1ce(_0x2f3318._0x4582b3,0x4ce,0x49f,_0x2f3318._0x73871f)](AVATARS_DIR,_0x200be4);}else _0x2f33a0[_0x54f1ce(_0x2f3318._0x4cf7a9,0x5b1,0x5b7,0x532)][_0x477967(-0x4,-_0x2f3318._0x568cd0,-_0x2f3318._0x811549,-_0x2f3318._0x3c442e)]=_0x3a10ac[_0x54f1ce(0x428,_0x2f3318._0x4aaac3,0x427,_0x2f3318._0x1f1591)];}catch(_0x4da3c8){if(_0x305a0a['JHDLu'](_0x4da3c8[_0x477967(0x94,_0x2f3318._0x403d3b,_0x2f3318._0x1e25e3,_0x2f3318._0x572b75)],_0x54f1ce(_0x2f3318._0x3084b6,_0x2f3318._0x7d93d5,0x4cf,_0x2f3318._0x7d93d5))){if(_0x305a0a['ILlBM'](_0x477967(-0x64,-_0x2f3318._0x3c482f,-0x9,-_0x2f3318._0x209642),_0x54f1ce(_0x2f3318._0x4b1dfa,0x49e,0x469,_0x2f3318._0x2118c)))logger[_0x477967(_0x2f3318._0x39ce6f,0xb8,0xb3,0x9e)](_0x305a0a[_0x54f1ce(_0x2f3318._0x51f76b,_0x2f3318._0x4aaac3,0x54d,0x4bf)],_0x4da3c8);else{const _0x41c908={};return _0x41c908['error']=_0x305a0a[_0x54f1ce(0x417,_0x2f3318._0x24e00e,_0x2f3318._0x56dea4,0x499)],_0x30721b[_0x477967(_0x2f3318._0x4328bf,_0x2f3318._0x5e5198,0x35,-0x2c)](-0x2*0x55c+0x1*0x2107+-0x14bf)['json'](_0x41c908);}}}}const router=_0x334d06[_0x31480b(0x2a3,0x2c0,0x272,0x30b)]();function _0x46b2e4(_0x2a28e9,_0x526e86,_0x49e889,_0x23bdd3){const _0x48bff8={_0x1c65a8:0x39};return _0x1c21(_0x2a28e9-_0x48bff8._0x1c65a8,_0x23bdd3);}router[_0x31480b(0x284,0x2ed,0x279,0x23c)]('/login',async(_0x20510f,_0x124413)=>{const _0xc511b6={_0x4501e4:0x508,_0x2d4d86:0x2f8,_0x39d176:0x3c7,_0x4b026a:0x356,_0x1ba4cc:0x3a7,_0x5307ce:0x342,_0x50af97:0x473,_0xd6f19:0x3ee,_0xa4d851:0x499,_0x58c061:0x4bd,_0x5a8e51:0x4c6,_0x5449bd:0x33d,_0x58c936:0x47a,_0x2ea311:0x4b7,_0x9b309e:0x4c7,_0x37be2d:0x4d2,_0x4757a:0x516,_0x139de9:0x4bb,_0x57c9eb:0x489,_0x111766:0x458,_0x43619b:0x46c,_0x516099:0x31b,_0x1d0553:0x256,_0x15361b:0x48c,_0x798a:0x43f,_0x1d5781:0x4c4,_0x53b492:0x35b,_0x3afc1b:0x3a2,_0x5048d9:0x39d,_0x5dc00b:0x447,_0x469409:0x46e,_0x189770:0x54d,_0x2a9668:0x3a0,_0x3e48c3:0x353,_0x47405d:0x393,_0x1f590e:0x4a2,_0x2f9cbe:0x4cd,_0xaf6b98:0x35f,_0xa34981:0x3e4,_0x5d0545:0x496,_0x120df1:0x497,_0x4303fa:0x481,_0x12008a:0x403,_0x565720:0x387,_0x52502e:0x35c,_0x2a4de1:0x3b4,_0x308dbc:0x52d,_0x6a6151:0x4a6,_0x157918:0x54d,_0x1ff41a:0x52a,_0x457c3d:0x536,_0x9bf40e:0x31e,_0x1f93cc:0x2e4,_0x5af8d9:0x334,_0x3b559a:0x54f,_0x1bfbec:0x293,_0x1439cd:0x28a,_0x326bd2:0x506,_0x422de2:0x531,_0x9d40ab:0x500,_0x544e58:0x333,_0xe986a7:0x3f6,_0x4f1518:0x3fa,_0xde1674:0x382,_0x533aa5:0x372,_0x382c9c:0x2e0,_0x14d4b3:0x250,_0x2816a2:0x573,_0x53e4de:0x4f5,_0x4716d5:0x5bc,_0x1a4efd:0x5a4,_0x5d02cf:0x349,_0x573be9:0x55c,_0x3a298e:0x58f,_0x3346a7:0x575,_0xfcc4dc:0x4a8,_0x57e84f:0x39f,_0x91179e:0x337,_0x4338c0:0x441},_0x22418a={_0x4a8b57:0x84,_0x2ed249:0x100,_0x2e00a2:0x1d7,_0x8c720:0x1a7,_0x512ce5:0x17b,_0x3a7a47:0x24c,_0x133be8:0x456,_0x1ecfa2:0x43b,_0x5078bc:0x320,_0x19a0ea:0x384,_0x379836:0x3a2,_0xcb895e:0x364,_0x3932b2:0x488,_0x4f4612:0x43b,_0x383fde:0x421,_0x4494f5:0xef,_0x2bb70d:0x209,_0x5cbb2a:0x1a3,_0x4d9093:0xbb,_0x4ba99f:0xc0,_0x4fe834:0x113,_0xfb1cc0:0xc3,_0x313dd5:0x416,_0x189136:0x39d,_0x33b3e4:0x42e,_0x48edf6:0x3d7,_0x30de41:0x171,_0x5e2a00:0x407,_0x23efd5:0x169,_0x1c2ebc:0x171,_0x378a63:0x40d,_0x194bae:0x125,_0x31d5b2:0xed,_0x350bb8:0x35c,_0x567f00:0x1c1,_0x2ff126:0x454,_0x5d0ede:0x3c2,_0x42160d:0x3a3,_0x32de6d:0x44e,_0x4d62e1:0x42b,_0x1d2476:0x406,_0x46059e:0x422,_0x522825:0x4b2,_0x183b40:0x43d,_0x3df9e9:0x401,_0x4dbff6:0x3b4},_0x3beabb={_0xb85a86:0x129,_0x5c3eef:0xd4},_0x2f2e95={_0x232ef0:0x78,_0x1b9a9a:0x49,_0x347aac:0xeb},_0x43e259={_0x2d2c18:0x14c},_0x3d38b6={_0x3add51:0xa2};function _0x8f3019(_0xccf177,_0x3a39da,_0x12d51d,_0x35b64b){return _0x46b2e4(_0x12d51d-0x31a,_0x3a39da-_0x3d38b6._0x3add51,_0x12d51d-0x14c,_0x35b64b);}const _0x377af9={'wPOxG':function(_0x14ea57,_0x57b0e5){return _0x14ea57===_0x57b0e5;},'AncWq':'PCoZW','FlenI':_0x8f3019(0x58b,0x569,_0xc511b6._0x4501e4,0x4e5)+_0x5eb35c(_0xc511b6._0x2d4d86,0x3c8,_0xc511b6._0x39d176,_0xc511b6._0x4b026a)+'on','rIXPD':_0x5eb35c(_0xc511b6._0x1ba4cc,0x34a,_0xc511b6._0x5307ce,0x364)+_0x8f3019(0x446,0x3fd,0x434,0x47a),'uCcoy':function(_0x4d4c83,_0x517240){return _0x4d4c83||_0x517240;},'eDJQZ':_0x8f3019(0x426,_0xc511b6._0x50af97,0x4a9,0x528)+_0x8f3019(_0xc511b6._0xd6f19,0x4b2,0x46a,0x4e5),'NhHny':_0x8f3019(0x4b5,_0xc511b6._0xa4d851,_0xc511b6._0x58c061,0x530)+_0x8f3019(0x40f,0x518,0x495,_0xc511b6._0x5a8e51)+_0x5eb35c(0x39c,0x360,0x38e,_0xc511b6._0x5449bd)+_0x8f3019(_0xc511b6._0x58c936,_0xc511b6._0x2ea311,_0xc511b6._0x9b309e,_0xc511b6._0x37be2d),'JILWX':function(_0x4c28c0,_0x391e64,_0x1c69ad){return _0x4c28c0(_0x391e64,_0x1c69ad);},'yDfXE':_0x8f3019(_0xc511b6._0x4757a,_0xc511b6._0x139de9,_0xc511b6._0x57c9eb,0x45e)+_0x8f3019(0x477,0x448,_0xc511b6._0x111766,_0xc511b6._0x43619b),'hilSR':'Authentica'+_0x5eb35c(_0xc511b6._0x516099,_0xc511b6._0x1d0553,0x2cc,0x2a5)+'d','xlSWp':_0x8f3019(0x3ef,_0xc511b6._0x15361b,0x465,0x3e0)+'ed'},{username:_0x3a04e5,password:_0x4f5de3}=_0x20510f['body'];function _0x5eb35c(_0x36be49,_0x1b8b15,_0x92e945,_0x5caf22){return _0x31480b(_0x5caf22-0x6f,_0x1b8b15,_0x92e945-0xdc,_0x5caf22-_0x43e259._0x2d2c18);}if(_0x377af9[_0x8f3019(0x41b,0x488,_0xc511b6._0x798a,_0xc511b6._0x1d5781)](!_0x3a04e5,!_0x4f5de3)){const _0x782de5={};return _0x782de5[_0x5eb35c(_0xc511b6._0x53b492,_0xc511b6._0x3afc1b,0x3a1,_0xc511b6._0x5048d9)]=_0x377af9[_0x8f3019(0x4ad,_0xc511b6._0x5dc00b,_0xc511b6._0x469409,0x4d6)],_0x782de5[_0x8f3019(0x4c0,0x4bc,_0xc511b6._0x189770,0x530)]=_0x377af9[_0x5eb35c(_0xc511b6._0x2a9668,_0xc511b6._0x3e48c3,0x34d,_0xc511b6._0x47405d)],_0x124413[_0x8f3019(0x4ec,_0xc511b6._0x1f590e,_0xc511b6._0x2f9cbe,0x4e8)](0x1dd0+0x1*-0x1dda+-0x52*-0x5)['json'](_0x782de5);}try{const _0x4bc9c3=await _0x377af9[_0x5eb35c(_0xc511b6._0xaf6b98,_0xc511b6._0xa34981,0x377,0x379)](validatePassword,_0x3a04e5,_0x4f5de3);if(!_0x4bc9c3){const _0x72ea66={};_0x72ea66[_0x8f3019(0x50a,_0xc511b6._0x5d0545,_0xc511b6._0x120df1,_0xc511b6._0x111766)]=_0x3a04e5,logger['warn'](_0x377af9[_0x8f3019(0x50b,0x4ea,_0xc511b6._0x4303fa,0x449)],_0x72ea66);const _0x228ac2={};return _0x228ac2['error']=_0x377af9['hilSR'],_0x228ac2[_0x5eb35c(_0xc511b6._0x12008a,_0xc511b6._0x565720,_0xc511b6._0x52502e,_0xc511b6._0x2a4de1)]='Invalid\x20us'+_0x8f3019(_0xc511b6._0x308dbc,_0xc511b6._0x6a6151,0x503,_0xc511b6._0x157918)+_0x8f3019(0x593,0x54e,_0xc511b6._0x1ff41a,_0xc511b6._0x457c3d),_0x124413[_0x5eb35c(0x2d6,_0xc511b6._0x9bf40e,_0xc511b6._0x1f93cc,_0xc511b6._0x5af8d9)](0x421+-0x7*0x55d+0xc7*0x2d)[_0x8f3019(_0xc511b6._0x3b559a,0x555,0x4f1,0x4a3)](_0x228ac2);}_0x20510f[_0x8f3019(0x588,0x4f7,0x50b,0x52b)]['userId']=_0x4bc9c3['id'],_0x20510f['session'][_0x5eb35c(0x360,0x37b,_0xc511b6._0x1bfbec,0x2fe)]=_0x4bc9c3[_0x5eb35c(0x271,0x37e,_0xc511b6._0x1439cd,0x2fe)],_0x20510f[_0x8f3019(_0xc511b6._0x326bd2,0x595,0x50b,0x55d)][_0x8f3019(_0xc511b6._0x422de2,_0xc511b6._0x4501e4,0x51b,_0xc511b6._0x9d40ab)]=_0x4bc9c3[_0x5eb35c(_0xc511b6._0x544e58,_0xc511b6._0xe986a7,_0xc511b6._0x4f1518,_0xc511b6._0xde1674)],_0x20510f[_0x5eb35c(0x3a3,0x3c9,0x397,_0xc511b6._0x533aa5)][_0x8f3019(0x479,0x3fd,_0xc511b6._0x5dc00b,0x3f8)]=_0x4bc9c3[_0x5eb35c(0x2c5,_0xc511b6._0x382c9c,_0xc511b6._0x14d4b3,0x2ae)],_0x20510f['session'][_0x8f3019(_0xc511b6._0x2816a2,0x4d1,_0xc511b6._0x53e4de,_0xc511b6._0x1ff41a)+'me']=_0x4bc9c3['ssh_userna'+'me'],_0x20510f['session']['save'](_0x28d080=>{function _0x19055c(_0x2a7760,_0xbe1c92,_0x1cdb1f,_0x83e721){return _0x8f3019(_0x2a7760-_0x2f2e95._0x232ef0,_0xbe1c92-_0x2f2e95._0x1b9a9a,_0x83e721- -_0x2f2e95._0x347aac,_0x1cdb1f);}const _0x5d13f4={};function _0x5960f8(_0x338200,_0x14e136,_0x526d50,_0x3054bc){return _0x8f3019(_0x338200-_0x3beabb._0xb85a86,_0x14e136-_0x3beabb._0x5c3eef,_0x3054bc- -0x608,_0x14e136);}_0x5d13f4['xZSua']=_0x5960f8(-0x80,-0x159,-_0x22418a._0x4a8b57,-_0x22418a._0x2ed249)+_0x5960f8(-_0x22418a._0x2e00a2,-0x1ed,-_0x22418a._0x8c720,-_0x22418a._0x512ce5)+_0x5960f8(-0x23f,-_0x22418a._0x3a7a47,-0x1d6,-0x1d2);const _0x50e7e2=_0x5d13f4;if(_0x377af9[_0x19055c(0x477,0x45c,_0x22418a._0x133be8,_0x22418a._0x1ecfa2)](_0x377af9[_0x19055c(0x358,0x406,_0x22418a._0x5078bc,_0x22418a._0x19a0ea)],_0x377af9[_0x19055c(_0x22418a._0x379836,_0x22418a._0xcb895e,0x3e8,0x384)])){if(_0x28d080){logger[_0x19055c(_0x22418a._0x3932b2,_0x22418a._0x4f4612,_0x22418a._0x383fde,0x44b)](_0x377af9[_0x5960f8(-_0x22418a._0x4494f5,-0x12f,-0x134,-0x12c)],_0x28d080);const _0x5199d5={};return _0x5199d5['error']=_0x5960f8(-_0x22418a._0x2bb70d,-0x15c,-0x1d2,-_0x22418a._0x5cbb2a)+'ed',_0x5199d5[_0x5960f8(-0x120,-0x3f,-0x87,-_0x22418a._0x4d9093)]='Failed\x20to\x20'+_0x5960f8(-_0x22418a._0x4ba99f,-_0x22418a._0x4fe834,-0xe2,-_0x22418a._0xfb1cc0)+'sion',_0x124413[_0x19055c(0x45b,_0x22418a._0x313dd5,0x35d,0x3e2)](-0x1*-0x19fb+0x165*0x6+0x1*-0x2065)[_0x19055c(_0x22418a._0x189136,0x3a0,0x486,0x406)](_0x5199d5);}const _0x3e5edf={};_0x3e5edf[_0x19055c(0x3c9,0x34b,_0x22418a._0x33b3e4,_0x22418a._0x48edf6)]=_0x4bc9c3['id'],_0x3e5edf['username']=_0x4bc9c3[_0x5960f8(-0x18d,-0x1db,-0xfc,-_0x22418a._0x30de41)],logger['info'](_0x377af9[_0x19055c(0x486,0x3a3,0x38c,_0x22418a._0x5e2a00)],_0x3e5edf);const _0x1c253f={};_0x1c253f['id']=_0x4bc9c3['id'],_0x1c253f[_0x5960f8(-0x10b,-0x202,-_0x22418a._0x23efd5,-_0x22418a._0x1c2ebc)]=_0x4bc9c3[_0x19055c(0x427,0x412,_0x22418a._0x378a63,0x3ac)],_0x1c253f['email']=_0x4bc9c3[_0x5960f8(-_0x22418a._0x194bae,-0xfd,-0x14b,-_0x22418a._0x31d5b2)],_0x1c253f[_0x19055c(0x31f,0x355,0x318,_0x22418a._0x350bb8)]=_0x4bc9c3[_0x5960f8(-0x19f,-0x15e,-0x191,-_0x22418a._0x567f00)],_0x1c253f[_0x19055c(0x398,_0x22418a._0x2ff126,0x48c,0x40a)+'me']=_0x4bc9c3['ssh_userna'+'me'];const _0x524a53={};_0x524a53[_0x19055c(_0x22418a._0x5d0ede,0x3b5,0x418,_0x22418a._0x42160d)]=_0x1c253f,_0x124413[_0x19055c(_0x22418a._0x32de6d,_0x22418a._0x4d62e1,0x381,_0x22418a._0x1d2476)](_0x524a53);}else{_0x211a00[_0x19055c(_0x22418a._0x46059e,0x435,0x470,0x44b)](_0x50e7e2['xZSua'],_0x36a270);const _0x1d851b={};_0x1d851b[_0x19055c(_0x22418a._0x522825,_0x22418a._0x183b40,_0x22418a._0x3df9e9,0x44b)]=_0x50e7e2['xZSua'],_0x380fd8['status'](-0x1*-0xb3e+0x145*-0x1+-0x805)[_0x19055c(0x45d,_0x22418a._0x4dbff6,0x393,_0x22418a._0x1d2476)](_0x1d851b);}});}catch(_0x5853ed){logger[_0x8f3019(_0xc511b6._0x4716d5,_0xc511b6._0x1a4efd,0x536,0x4e2)](_0x5eb35c(0x316,0x2ca,_0xc511b6._0x5d02cf,0x327)+'r',_0x5853ed);const _0x181640={};_0x181640[_0x8f3019(0x560,_0xc511b6._0x573be9,0x536,_0xc511b6._0x3a298e)]=_0x377af9[_0x5eb35c(0x2af,0x2fe,0x28e,0x2f7)],_0x181640[_0x8f3019(_0xc511b6._0x3346a7,0x560,0x54d,0x579)]='An\x20error\x20o'+'ccurred\x20du'+_0x8f3019(0x53e,_0xc511b6._0xfcc4dc,0x505,0x4ca)+_0x5eb35c(0x3a1,0x2ef,_0xc511b6._0x57e84f,_0xc511b6._0x91179e),_0x124413[_0x8f3019(_0xc511b6._0x4338c0,_0xc511b6._0x422de2,_0xc511b6._0x2f9cbe,0x4ef)](0x85*0x33+-0x25e7*0x1+0x3*0x474)['json'](_0x181640);}}),router[_0x31480b(0x284,0x21c,0x231,0x311)]('/logout',(_0x12fef7,_0x4493a6)=>{const _0x50259d={_0x2253c7:0x29,_0x3d6676:0xd3,_0x2c38f7:0x101,_0x252fc2:0xf0,_0x516178:0x82,_0x24486a:0x29a,_0x427bbe:0x211,_0x3f7697:0x2f,_0xed6e86:0x24b,_0xd71c65:0x254,_0x52990a:0x27a,_0x50b0c3:0x6f,_0xb27cae:0x63,_0x298ed8:0x2,_0x29851c:0x33,_0x43a81e:0xa8,_0x403e80:0x1ba,_0x59e195:0x6d,_0xd5648:0xb6},_0x5051d3={_0x1687e9:0x22d,_0xd04257:0x2a5,_0x2bb4e0:0x27c,_0x114adb:0xfd,_0x1c9c8b:0x33b,_0x5821c6:0xbe,_0xda45f6:0x4a,_0x114979:0x112,_0xc296fb:0x8d,_0x2d7afe:0x91,_0x570bf1:0xe4,_0x33e26f:0x350,_0x21e66c:0x2e7,_0x1cd885:0x37d,_0x618c0b:0x34b,_0x44ea57:0x345,_0x2a2591:0x2c8,_0x5bee54:0x2f5,_0xc10148:0x340,_0x1139c6:0x2b2,_0x15da4e:0x13d,_0xd15390:0xaf,_0x57318b:0x2dc,_0x4959f4:0x29d,_0x12e64f:0x2cc,_0x1bc06c:0xd2,_0x121bf5:0x16d,_0x578040:0x128,_0x3a37fc:0x98,_0x51d756:0x54,_0x20765a:0x124,_0x1bbc59:0xb7,_0xc296f:0xef,_0x461ea7:0x89,_0x245ce:0x94,_0x53493e:0x36c,_0x442b17:0x3a8,_0x51268e:0x72,_0x51fc35:0x297,_0x170c09:0x29a,_0x3aed52:0xc1,_0x3d7755:0x32a,_0x1872db:0x30b,_0x5bb8d1:0x31a,_0x58db9b:0x290,_0x31278f:0x2dc,_0xe1b535:0x277,_0x3a0fb2:0x2b1,_0x5d99b9:0x306,_0x29ec92:0x26b,_0x340b43:0x291,_0x1d76a6:0x2a2,_0x54141f:0x218,_0x1e26d5:0x11,_0x3262d8:0x77,_0x19caf2:0x1f,_0x1c6542:0x9f,_0x55bdc2:0x72,_0x463a0c:0x2ef,_0xe7a143:0x388,_0x51de19:0x2ad,_0x470262:0x2c4,_0x50856d:0x362,_0x7679e8:0x37b},_0x2725b3={_0x9c60a0:0x1ce},_0x476576={_0x149574:0x36,_0x8987be:0x7c},_0x31be74={_0x562621:0x51},_0x2f100f={};_0x2f100f[_0x40c51d(_0x50259d._0x2253c7,_0x50259d._0x3d6676,0x113,0x86)]=_0x40c51d(0x35,_0x50259d._0x2c38f7,_0x50259d._0x252fc2,0xb3)+_0x40c51d(0x12,0x74,-_0x50259d._0x516178,-0x19)+_0x2ddb6e(-0x23e,-0x255,-_0x50259d._0x24486a,-_0x50259d._0x427bbe),_0x2f100f[_0x40c51d(0x2c,-0xf,_0x50259d._0x3f7697,0x36)]=function(_0x517f8a,_0x49a7b9){return _0x517f8a===_0x49a7b9;};function _0x2ddb6e(_0x5f4536,_0x39d661,_0x4611e9,_0x554e1a){return _0x46b2e4(_0x5f4536- -0x408,_0x39d661-0x16f,_0x4611e9-_0x31be74._0x562621,_0x39d661);}function _0x40c51d(_0x118d90,_0x33d1fe,_0x3422a7,_0x3451b0){return _0x31480b(_0x3451b0- -0x24d,_0x3422a7,_0x3422a7-_0x476576._0x149574,_0x3451b0-_0x476576._0x8987be);}_0x2f100f[_0x2ddb6e(-_0x50259d._0xed6e86,-_0x50259d._0xd71c65,-_0x50259d._0x52990a,-0x1da)]=_0x40c51d(_0x50259d._0x50b0c3,_0x50259d._0xb27cae,-0xf,-_0x50259d._0x298ed8),_0x2f100f[_0x40c51d(-0xb,-0x40,0x9f,_0x50259d._0x29851c)]=_0x40c51d(0x9c,0x2a,0xc0,_0x50259d._0x43a81e)+_0x40c51d(0x16,0x10,0x1d,0x45);const _0x51cead=_0x2f100f,_0x5118d0=_0x12fef7[_0x2ddb6e(-0x217,-0x28a,-0x252,-_0x50259d._0x403e80)]?.[_0x40c51d(0x6e,0xba,0x28,_0x50259d._0x59e195)],_0x35a36b=_0x12fef7[_0x40c51d(0xbc,0x6f,0x61,_0x50259d._0xd5648)]?.[_0x2ddb6e(-0x28b,-0x311,-0x20e,-0x296)];_0x12fef7['session'][_0x40c51d(0x80,-0x2c,-0x4d,-0x10)](_0x47d7ba=>{const _0x3d2b35={_0x23891d:0x163,_0x550242:0x5f,_0x5da653:0x1d2};function _0x13dc23(_0x407a75,_0x32deff,_0x104bb0,_0x2a774d){return _0x2ddb6e(_0x2a774d-_0x3d2b35._0x23891d,_0x104bb0,_0x104bb0-_0x3d2b35._0x550242,_0x2a774d-_0x3d2b35._0x5da653);}function _0x43b60a(_0x4f53c1,_0x3f5fb4,_0x31d853,_0x5b9618){return _0x40c51d(_0x4f53c1-0xa9,_0x3f5fb4-_0x2725b3._0x9c60a0,_0x5b9618,_0x3f5fb4-0x26f);}if(_0x51cead[_0x43b60a(_0x5051d3._0x1687e9,_0x5051d3._0xd04257,0x273,0x331)](_0x43b60a(0x2ca,0x270,0x2d3,_0x5051d3._0x2bb4e0),_0x51cead['WjKiC'])){const _0x2907ce={};_0x2907ce[_0x13dc23(-0x75,-0x184,-0xcb,-_0x5051d3._0x114adb)]=_0x458ce3,_0x2907ce[_0x43b60a(0x278,0x2b1,0x332,_0x5051d3._0x1c9c8b)]=_0x1f3e10,_0x1efbfc[_0x13dc23(-_0x5051d3._0x5821c6,-_0x5051d3._0xda45f6,-0x6c,-0x89)](_0x51cead[_0x13dc23(-_0x5051d3._0x114979,-_0x5051d3._0xc296fb,-_0x5051d3._0x2d7afe,-_0x5051d3._0x570bf1)],_0x3c05d5,_0x2907ce);const _0x510bf8={};return _0x510bf8[_0x43b60a(0x38c,_0x5051d3._0x33e26f,0x3c4,0x385)]=_0x13dc23(-0x8e,-0xfe,-0xd7,-0x8c)+_0x43b60a(0x381,0x36c,_0x5051d3._0x21e66c,0x3b2),_0x510bf8[_0x43b60a(_0x5051d3._0x1cd885,0x367,_0x5051d3._0x618c0b,_0x5051d3._0x44ea57)]=_0x51cead[_0x43b60a(_0x5051d3._0x2a2591,_0x5051d3._0x5bee54,0x36b,_0x5051d3._0xc10148)],_0x38f645[_0x43b60a(0x277,0x2e7,0x280,_0x5051d3._0x1139c6)](-0x47f+0x5*-0x1f+0x70e)[_0x13dc23(-_0x5051d3._0x15da4e,-0x76,-_0x5051d3._0xd15390,-0xce)](_0x510bf8);}else{if(_0x47d7ba){const _0x1b5724={};_0x1b5724[_0x43b60a(0x29f,_0x5051d3._0x57318b,_0x5051d3._0x4959f4,_0x5051d3._0x12e64f)]=_0x5118d0,_0x1b5724[_0x13dc23(-0xb5,-_0x5051d3._0x1bc06c,-_0x5051d3._0x121bf5,-_0x5051d3._0x578040)]=_0x35a36b,logger['error'](_0x51cead[_0x13dc23(-_0x5051d3._0x3a37fc,-_0x5051d3._0x51d756,-_0x5051d3._0x20765a,-_0x5051d3._0x570bf1)],_0x47d7ba,_0x1b5724);const _0x23b15d={};return _0x23b15d[_0x13dc23(-0xeb,-_0x5051d3._0x1bbc59,-_0x5051d3._0xc296f,-_0x5051d3._0x461ea7)]=_0x13dc23(-_0x5051d3._0x245ce,-0xb9,-0x10a,-0x8c)+_0x43b60a(0x32a,_0x5051d3._0x53493e,_0x5051d3._0x442b17,0x312),_0x23b15d[_0x13dc23(-0x5d,-0x48,-0x19,-_0x5051d3._0x51268e)]=_0x51cead[_0x43b60a(0x2c2,_0x5051d3._0x5bee54,_0x5051d3._0x51fc35,_0x5051d3._0x170c09)],_0x4493a6[_0x13dc23(-0x8c,-0x164,-_0x5051d3._0x3aed52,-0xf2)](-0x2189+0x12e*-0xf+0x352f)[_0x43b60a(_0x5051d3._0x3d7755,_0x5051d3._0x1872db,0x2a7,_0x5051d3._0x5bb8d1)](_0x23b15d);}const _0x2aaf9c={};_0x2aaf9c[_0x43b60a(_0x5051d3._0x58db9b,_0x5051d3._0x31278f,0x349,0x36d)]=_0x5118d0,_0x2aaf9c[_0x43b60a(_0x5051d3._0xe1b535,_0x5051d3._0x3a0fb2,_0x5051d3._0x5d99b9,_0x5051d3._0x29ec92)]=_0x35a36b,logger['info'](_0x51cead[_0x43b60a(_0x5051d3._0x340b43,_0x5051d3._0x1d76a6,0x24a,_0x5051d3._0x54141f)],_0x2aaf9c),_0x4493a6[_0x13dc23(-_0x5051d3._0x1e26d5,0x1,-0xc1,-_0x5051d3._0x3262d8)+'e']('coder.sid');const _0x1b77ef={};_0x1b77ef[_0x13dc23(-_0x5051d3._0x19caf2,-_0x5051d3._0x1c6542,-0xf9,-_0x5051d3._0x55bdc2)]=_0x43b60a(_0x5051d3._0x463a0c,0x30d,_0x5051d3._0xe7a143,0x35d)+_0x43b60a(0x22e,_0x5051d3._0x51de19,_0x5051d3._0x470262,0x245)+'lly',_0x4493a6[_0x43b60a(0x29c,_0x5051d3._0x1872db,_0x5051d3._0x50856d,_0x5051d3._0x7679e8)](_0x1b77ef);}});}),router[_0x31480b(0x2c6,0x2ce,0x358,0x30e)](_0x46b2e4(0x189,0x146,0x1f9,0x16b),requireAuth,async(_0x5d0ffe,_0x5d66a9)=>{const _0x502683={_0x3431f8:0x336,_0x22ed05:0x37b,_0x4bbfc2:0x3bf,_0x386267:0x44e,_0x2b8a9c:0x313,_0x4a8c78:0x2a9,_0x32d2d1:0x251,_0x3ee383:0x360,_0x6f8458:0x3ef,_0x4f0df7:0x394,_0x5a8d5a:0x492,_0x394481:0x3b7,_0x50d0da:0x427,_0xc279f1:0x3ec,_0x55fce7:0x362,_0x618abf:0x3af,_0x2e5f4c:0x3c7,_0x20cfd8:0x3ea,_0x3d1417:0x3a8,_0x5f5533:0x2c2,_0x398d14:0x2de,_0x1ecd01:0x3dd,_0x541e6d:0x42e,_0x21ed15:0x38b,_0x343bb0:0x38a,_0x8805f3:0x352,_0x231d56:0x4e4,_0x56445e:0x40a,_0x4991a7:0x473,_0x24dadb:0x4a8,_0x2ee428:0x3e9,_0x33a106:0x422,_0x16d5be:0x3fb,_0x5eaa9c:0x491,_0x34c1f5:0x43f,_0x4e84f6:0x39c,_0x354f82:0x386,_0x5b9303:0x3d0,_0x21ff95:0x3f9,_0x30b57a:0x481,_0x1b110d:0x4e6,_0x29a4dc:0x50d,_0x1211d5:0x35e,_0x180295:0x438,_0x54b555:0x48f,_0x2d0c1a:0x476,_0x454c74:0x4fa,_0x1ef340:0x4a4,_0x49b85e:0x48f,_0x6090a9:0x4b4,_0x47476c:0x472,_0x1c6197:0x423,_0x501284:0x308,_0x58f3fa:0x301,_0x1b6e70:0x415,_0x2d72ef:0x338,_0x15e8f8:0x486,_0x3f894d:0x46d,_0x4a132a:0x4a1,_0xa930fc:0x426,_0x537f47:0x4af,_0x701499:0x43c,_0x4a4f2f:0x383,_0x718909:0x430,_0x49d1d4:0x438,_0x36f4db:0x450,_0x30c277:0x3d7,_0x336852:0x4be,_0x4fc238:0x45b,_0x2fa2d7:0x323,_0x57e099:0x332,_0x464d4b:0x3b3,_0x147fd0:0x365,_0x1396b3:0x353,_0x168a4c:0x476,_0x3ec534:0x48b,_0x86f347:0x4b3,_0x18f333:0x453,_0x5858d3:0x4b8,_0x2f2c67:0x2c8,_0x81febc:0x2db,_0x1bbf89:0x32e,_0x37a7c9:0x49f,_0x52bab6:0x50b,_0x909dbb:0x4e1,_0x556cdd:0x48d,_0x2514c6:0x414,_0x7d6971:0x39b,_0x32eafc:0x3ed,_0x3c5a0c:0x369,_0x42406d:0x376,_0x33cb12:0x31d,_0x5bab21:0x296,_0x55b0e9:0x39d,_0x17b693:0x35d,_0x2486bb:0x306,_0x274594:0x319,_0x1ee236:0x417,_0x5ae86c:0x38d,_0x70b19:0x40b,_0x6c65fc:0x391,_0x3ef4d8:0x402,_0x45aafa:0x3b5,_0x2ce0b4:0x38e,_0x4a8be7:0x31f,_0x3d05d7:0x3e5,_0x1fcf73:0x420,_0x99a74e:0x38f,_0x205820:0x31e,_0x17e74a:0x368,_0x41236e:0x476,_0x2215bc:0x301,_0x5aa55f:0x33a,_0x5d0dbc:0x368,_0x2e218f:0x393,_0x6e6a05:0x3a4,_0x4dd7a7:0x32b,_0x5c452d:0x3a4,_0x156014:0x332,_0x1bf927:0x470,_0x123895:0x3ee,_0x1f010b:0x412,_0x47ec52:0x46a,_0x123a59:0x45c,_0x592eca:0x3e1,_0x4c0090:0x499,_0x22019a:0x3aa,_0x1b2b2a:0x329,_0x9b6d03:0x3a9,_0x546342:0x361,_0x380a96:0x33e,_0xe934e6:0x3b9,_0x1c7907:0x3a3,_0x50e9d4:0x4cf,_0x348707:0x4ba,_0x41e41b:0x4bd,_0x18daad:0x4c2,_0x3a6707:0x398,_0x303c78:0x363,_0x30c38b:0x340,_0x17f3ea:0x305,_0x5cf41d:0x364,_0x24e0be:0x31f,_0x66910:0x4c8,_0x57296d:0x41d,_0x172fb3:0x44e,_0x21bb46:0x3e5,_0x7e0a7a:0x3d6,_0x674fdf:0x436,_0xdd8c6:0x337,_0x40bfa8:0x4c7,_0x2415b5:0x458,_0x22dadf:0x465,_0x10d0c6:0x3a0,_0x38d90e:0x389,_0x5f2946:0x464,_0x13fb97:0x41c,_0x56ce11:0x3f9,_0xf4efac:0x438,_0x3a3594:0x426,_0x37b79c:0x416,_0x4ba63f:0x28b,_0xef733d:0x27b,_0x425583:0x2fe,_0x57248d:0x2ba,_0xfd5bd7:0x33b,_0x42b1f5:0x325,_0x33bd65:0x36f,_0x3a3313:0x404,_0x5b2bd4:0x298,_0x509e0b:0x2eb,_0x6c3187:0x2f0,_0x470af9:0x3d3,_0x128cb6:0x3d2,_0x22a86c:0x3a9,_0x1cc438:0x421,_0x3cf85f:0x262,_0x540c81:0x2c4,_0xc5a21d:0x2f1,_0x3c52f3:0x2af,_0x4d068f:0x3e4},_0x24b42c={_0x29fab:0x1a9,_0x5cd902:0x2c},_0x4b09e8={_0x414ce0:0x285,_0x303ae3:0xeb},_0x3ebbc7={'UXiDf':_0x52702c(_0x502683._0x3431f8,0x3ad,_0x502683._0x22ed05,_0x502683._0x4bbfc2)+_0xe8eb3c(0x35b,0x3bd,0x3aa,_0x502683._0x386267)+_0x52702c(0x327,_0x502683._0x2b8a9c,_0x502683._0x4a8c78,_0x502683._0x32d2d1),'ABNpf':_0x52702c(0x3e3,0x324,_0x502683._0x3ee383,_0x502683._0x6f8458)+_0xe8eb3c(_0x502683._0x4f0df7,0x419,0x415,_0x502683._0x5a8d5a)+_0xe8eb3c(0x396,_0x502683._0x394481,_0x502683._0x50d0da,_0x502683._0xc279f1)+_0x52702c(_0x502683._0x55fce7,_0x502683._0x618abf,0x3c7,_0x502683._0x2e5f4c)+_0x52702c(_0x502683._0x20cfd8,0x335,_0x502683._0x3d1417,0x431)+_0x52702c(0x26e,0x2ad,_0x502683._0x5f5533,_0x502683._0x398d14)+'.','pcrkz':_0xe8eb3c(0x365,0x3d0,_0x502683._0x1ecd01,_0x502683._0x541e6d)+'ed','OhDlw':_0x52702c(_0x502683._0x3d1417,0x329,0x36b,0x3df)+_0x52702c(_0x502683._0x21ed15,_0x502683._0x343bb0,_0x502683._0x8805f3,0x2de)+_0xe8eb3c(_0x502683._0x231d56,0x470,0x4d1,0x4f2)+_0xe8eb3c(0x40e,0x43b,0x449,_0x502683._0x56445e),'qaxUI':_0xe8eb3c(0x4ec,_0x502683._0x4991a7,0x484,_0x502683._0x24dadb)+'get\x20profil'+'e','yrXIp':function(_0x454bc8,_0x50c369){return _0x454bc8===_0x50c369;},'DXdGl':_0xe8eb3c(_0x502683._0x2ee428,_0x502683._0x33a106,_0x502683._0x16d5be,_0x502683._0x5eaa9c),'IwuKx':function(_0x23a594,_0x103587){return _0x23a594(_0x103587);},'HHIVA':function(_0x12b24b,_0x4646b8){return _0x12b24b===_0x4646b8;},'JmbQI':_0xe8eb3c(0x4d9,0x4a4,0x4fa,0x46b),'mCgGG':function(_0x109254,_0x3f601a){return _0x109254(_0x3f601a);},'QHgIo':function(_0x5a54e6,_0xd9165a){return _0x5a54e6!==_0xd9165a;},'hMIQm':'naBDi','wfuaB':_0xe8eb3c(0x468,0x477,0x494,0x4be),'mNGYN':function(_0x420481,_0x379d09){return _0x420481!==_0x379d09;},'eieas':_0xe8eb3c(0x48a,0x413,0x39e,_0x502683._0x34c1f5),'kmnXw':'qyNlZ'};function _0xe8eb3c(_0x550c91,_0x13993d,_0x2abe6c,_0x42ffb9){return _0x46b2e4(_0x13993d-_0x4b09e8._0x414ce0,_0x13993d-0x41,_0x2abe6c-_0x4b09e8._0x303ae3,_0x2abe6c);}function _0x52702c(_0x2124f8,_0x1e232a,_0x44253f,_0x205b45){return _0x31480b(_0x44253f-0x7b,_0x2124f8,_0x44253f-_0x24b42c._0x29fab,_0x205b45-_0x24b42c._0x5cd902);}try{if(_0x3ebbc7[_0xe8eb3c(_0x502683._0x4e84f6,0x409,0x43f,0x3ff)](_0x3ebbc7['DXdGl'],_0x3ebbc7[_0x52702c(0x3a5,0x363,_0x502683._0x354f82,_0x502683._0x5b9303)])){const _0x1e0d4d=await _0x3ebbc7['IwuKx'](findUserById,_0x5d0ffe[_0xe8eb3c(0x3f2,_0x502683._0x21ff95,0x43d,0x39b)]['id']),_0xb34485={};_0xb34485['server']=[],_0xb34485['environmen'+'ts']={},_0xb34485[_0xe8eb3c(0x4a3,_0x502683._0x30b57a,_0x502683._0x1b110d,_0x502683._0x29a4dc)]={};let _0x5f3bbb=_0xb34485;try{if(_0x3ebbc7[_0xe8eb3c(_0x502683._0x1211d5,0x3d2,_0x502683._0x3d1417,_0x502683._0x180295)](_0x3ebbc7[_0xe8eb3c(0x400,_0x502683._0x54b555,_0x502683._0x2d0c1a,0x4a1)],_0xe8eb3c(_0x502683._0x454c74,_0x502683._0x1ef340,_0x502683._0x49b85e,_0x502683._0x6090a9)))_0x5f3bbb=await _0x3ebbc7[_0xe8eb3c(_0x502683._0x47476c,0x492,_0x502683._0x1c6197,0x4cc)](resolveAllUserPermissions,_0x5d0ffe[_0x52702c(0x2ea,_0x502683._0x501284,_0x502683._0x58f3fa,_0x502683._0x354f82)]['id']);else{_0x4cec61[_0x52702c(_0x502683._0x1b6e70,_0x502683._0x2d72ef,0x3a9,0x3ed)](_0x3ebbc7[_0xe8eb3c(0x45c,0x401,_0x502683._0x15e8f8,_0x502683._0x3f894d)],_0x5c3a49);const _0xdb0a8d={};_0xdb0a8d[_0xe8eb3c(0x4ea,_0x502683._0x4a132a,_0x502683._0xa930fc,_0x502683._0x537f47)]=_0x3ebbc7[_0xe8eb3c(0x463,0x401,_0x502683._0x701499,_0x502683._0x4a4f2f)],_0xb6d13e[_0xe8eb3c(_0x502683._0x718909,_0x502683._0x49d1d4,_0x502683._0x36f4db,0x445)](-0x1f6f+-0x1a12+0x3b75)[_0xe8eb3c(_0x502683._0x30c277,0x45c,_0x502683._0x336852,_0x502683._0x4fc238)](_0xdb0a8d);}}catch(_0x4fb132){if(_0x3ebbc7[_0x52702c(_0x502683._0x2fa2d7,0x321,_0x502683._0x57e099,_0x502683._0x464d4b)](_0x3ebbc7[_0x52702c(0x351,_0x502683._0x147fd0,0x377,_0x502683._0x1396b3)],_0x3ebbc7[_0xe8eb3c(0x3cb,0x407,_0x502683._0x168a4c,0x3bf)])){const _0xb5fbd7={};_0xb5fbd7[_0xe8eb3c(_0x502683._0x3ec534,0x4a1,_0x502683._0x86f347,_0x502683._0x18f333)]=_0x4fb132[_0xe8eb3c(0x4f4,_0x502683._0x5858d3,_0x502683._0x454c74,0x448)],_0xb5fbd7[_0x52702c(_0x502683._0x2f2c67,_0x502683._0x81febc,0x31d,_0x502683._0x1bbf89)]=_0x4fb132[_0xe8eb3c(0x410,0x415,_0x502683._0x37a7c9,0x3fa)],logger[_0xe8eb3c(_0x502683._0x52bab6,0x4a1,_0x502683._0x909dbb,0x4f8)](_0xe8eb3c(0x455,0x485,0x489,_0x502683._0x556cdd)+_0x52702c(_0x502683._0x2514c6,0x314,_0x502683._0x7d6971,_0x502683._0x32eafc)+_0x52702c(0x398,_0x502683._0x3c5a0c,0x388,_0x502683._0x42406d)+_0x52702c(_0x502683._0x33cb12,_0x502683._0x5bab21,0x326,_0x502683._0x55b0e9),_0xb5fbd7);}else _0x56ad8e(new _0x3ba957(_0x3ebbc7['ABNpf']));}const _0x56c0d2={};_0x56c0d2['id']=_0x5d0ffe[_0x52702c(0x2ef,0x2fe,0x301,0x366)]['id'],_0x56c0d2[_0x52702c(_0x502683._0x17b693,_0x502683._0x2486bb,0x30a,_0x502683._0x274594)]=_0x5d0ffe[_0xe8eb3c(_0x502683._0x1ee236,_0x502683._0x21ff95,_0x502683._0x5ae86c,_0x502683._0x70b19)][_0xe8eb3c(_0x502683._0x6c65fc,_0x502683._0x3ef4d8,0x3c1,0x45a)],_0x56c0d2[_0x52702c(_0x502683._0xc279f1,_0x502683._0x45aafa,_0x502683._0x2ce0b4,_0x502683._0x4a8be7)]=_0x5d0ffe['user'][_0x52702c(_0x502683._0x3d05d7,_0x502683._0x1fcf73,0x38e,_0x502683._0x99a74e)],_0x56c0d2['name']=_0x5d0ffe['user']['name'],_0x56c0d2['permission'+'s']=_0x5f3bbb,_0x56c0d2[_0x52702c(0x396,_0x502683._0x205820,_0x502683._0x17e74a,0x3be)+'me']=_0x5d0ffe[_0xe8eb3c(_0x502683._0x41236e,_0x502683._0x21ff95,0x371,0x39d)][_0x52702c(_0x502683._0x2215bc,_0x502683._0x5aa55f,_0x502683._0x5d0dbc,_0x502683._0x2e218f)+'me'],_0x56c0d2[_0x52702c(0x354,0x348,_0x502683._0x6e6a05,0x37d)]=_0x1e0d4d?.[_0x52702c(_0x502683._0x4dd7a7,0x3cc,_0x502683._0x5c452d,_0x502683._0x156014)]||null,_0x56c0d2[_0xe8eb3c(_0x502683._0x1bf927,_0x502683._0x123895,_0x502683._0x1f010b,_0x502683._0x47ec52)+'s']=_0x1e0d4d?.['preference'+'s']||{};const _0x24c605={};_0x24c605['user']=_0x56c0d2,_0x5d66a9[_0xe8eb3c(0x422,_0x502683._0x123a59,_0x502683._0x592eca,0x425)](_0x24c605);}else{_0x1dd4a6[_0xe8eb3c(0x528,_0x502683._0x4a132a,0x415,_0x502683._0x4c0090)](_0x52702c(0x373,0x3b0,_0x502683._0x22019a,_0x502683._0x1b2b2a)+_0x52702c(0x387,0x414,_0x502683._0x9b6d03,_0x502683._0x546342),_0x3db5db);const _0x594378={};_0x594378[_0x52702c(_0x502683._0x380a96,_0x502683._0xe934e6,0x3a9,_0x502683._0x1c7907)]=_0x3ebbc7[_0xe8eb3c(_0x502683._0x50e9d4,_0x502683._0x348707,_0x502683._0x41e41b,_0x502683._0x18daad)],_0x594378['message']=_0x3ebbc7[_0x52702c(0x31f,0x3f8,_0x502683._0x3a6707,_0x502683._0x303c78)],_0x240694[_0x52702c(0x3b4,0x3b7,_0x502683._0x30c38b,0x361)](0x33*-0x57+0x33b+0x807*0x2)[_0x52702c(_0x502683._0x17f3ea,0x335,_0x502683._0x5cf41d,_0x502683._0x24e0be)](_0x594378);}}catch(_0x559889){if(_0x3ebbc7[_0xe8eb3c(_0x502683._0x66910,0x496,_0x502683._0x57296d,0x405)](_0x3ebbc7['eieas'],_0x3ebbc7[_0xe8eb3c(0x437,0x461,_0x502683._0x172fb3,_0x502683._0x21bb46)])){const _0x26f181={};_0x26f181[_0xe8eb3c(_0x502683._0x123a59,_0x502683._0x7e0a7a,0x409,_0x502683._0x674fdf)]=[],_0x26f181[_0x52702c(0x330,0x2f4,_0x502683._0xdd8c6,0x2ea)+'ts']={},_0x26f181[_0xe8eb3c(_0x502683._0x40bfa8,_0x502683._0x30b57a,_0x502683._0x2415b5,_0x502683._0x22dadf)]={};const _0x60ecf9={};_0x60ecf9['id']=_0x5d0ffe[_0xe8eb3c(_0x502683._0x10d0c6,_0x502683._0x21ff95,_0x502683._0x38d90e,0x393)]['id'],_0x60ecf9[_0xe8eb3c(_0x502683._0x5f2946,_0x502683._0x3ef4d8,0x464,0x3d3)]=_0x5d0ffe[_0xe8eb3c(_0x502683._0x13fb97,_0x502683._0x56ce11,_0x502683._0xf4efac,_0x502683._0x3a3594)][_0xe8eb3c(0x3c0,0x402,0x3ba,0x420)],_0x60ecf9[_0xe8eb3c(0x426,0x486,0x4a8,_0x502683._0x37b79c)]=_0x5d0ffe['user'][_0xe8eb3c(0x4c8,0x486,0x42f,0x4d9)],_0x60ecf9[_0x52702c(_0x502683._0x4ba63f,_0x502683._0xef733d,0x2ba,0x282)]=_0x5d0ffe['user'][_0x52702c(_0x502683._0x425583,0x2f9,_0x502683._0x57248d,0x2e0)],_0x60ecf9[_0x52702c(_0x502683._0xfd5bd7,0x2fe,0x2b5,0x224)+'s']=_0x26f181,_0x60ecf9[_0x52702c(0x32d,_0x502683._0x42b1f5,_0x502683._0x17e74a,_0x502683._0x33bd65)+'me']=_0x5d0ffe[_0xe8eb3c(0x42e,0x3f9,0x457,_0x502683._0x3a3313)]['ssh_userna'+'me'],_0x60ecf9['avatar']=null,_0x60ecf9[_0x52702c(0x2a2,_0x502683._0x5b2bd4,0x2f6,0x26a)+'s']={};const _0x283622={};_0x283622['user']=_0x60ecf9,_0x5d66a9[_0x52702c(_0x502683._0x509e0b,0x3a5,_0x502683._0x5cf41d,_0x502683._0x6c3187)](_0x283622);}else{_0x5ee7d1[_0x52702c(_0x502683._0x470af9,_0x502683._0x128cb6,_0x502683._0x22a86c,0x3ef)](_0x3ebbc7[_0xe8eb3c(_0x502683._0x541e6d,0x3bc,0x3ec,_0x502683._0x1cc438)],_0x20da11);const _0x3b2fbd={};_0x3b2fbd['error']=_0x3ebbc7[_0x52702c(_0x502683._0x3cf85f,0x31c,_0x502683._0x540c81,0x2ee)],_0x2d8fb6[_0x52702c(0x334,_0x502683._0xc5a21d,_0x502683._0x30c38b,_0x502683._0x3c52f3)](0xd9*0x11+0x1*-0x22f+-0x523*0x2)[_0x52702c(_0x502683._0x4d068f,0x349,0x364,0x3a6)](_0x3b2fbd);}}});function _0x1c21(_0x338535,_0x50e0e2){_0x338535=_0x338535-(-0xe*0x21a+-0x100e+0x2e5b);const _0x40a85f=_0x342b();let _0x385746=_0x40a85f[_0x338535];if(_0x1c21['McWHYg']===undefined){var _0x2b17a3=function(_0x59990b){const _0x1b2de2='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5008df='',_0x435f03='';for(let _0xf25b59=-0x17e6+-0x1*-0x2327+-0xb41,_0x34d5d3,_0xba34f4,_0x425819=-0x161*-0xa+-0x5fa+-0x7d0;_0xba34f4=_0x59990b['charAt'](_0x425819++);~_0xba34f4&&(_0x34d5d3=_0xf25b59%(-0x3c7*0x5+-0x23ce+-0x5*-0xaf1)?_0x34d5d3*(0x1*-0x15d7+0x1ff2+-0x9db)+_0xba34f4:_0xba34f4,_0xf25b59++%(0x13c7+0x84b+-0x1c0e))?_0x5008df+=String['fromCharCode'](-0x6db+0x1*0x25d3+0x1*-0x1df9&_0x34d5d3>>(-(-0x2001+-0x1*-0x1ab1+0xe3*0x6)*_0xf25b59&-0x411*0x2+0x2*-0xda3+0x716*0x5)):-0x641+0xf9d+0x2*-0x4ae){_0xba34f4=_0x1b2de2['indexOf'](_0xba34f4);}for(let _0x16730b=0x1*-0x15e8+-0x1*-0x1735+-0x14d,_0x4401f5=_0x5008df['length'];_0x16730b<_0x4401f5;_0x16730b++){_0x435f03+='%'+('00'+_0x5008df['charCodeAt'](_0x16730b)['toString'](-0x459+0x1d74+-0x190b))['slice'](-(0x1dce+0x23ea*-0x1+0x61e));}return decodeURIComponent(_0x435f03);};_0x1c21['axNsnD']=_0x2b17a3,_0x1c21['kcoYQS']={},_0x1c21['McWHYg']=!![];}const _0x2729a2=_0x40a85f[-0x14f1+0x1*0x7d1+-0x20*-0x69],_0x5874f8=_0x338535+_0x2729a2,_0x35376d=_0x1c21['kcoYQS'][_0x5874f8];return!_0x35376d?(_0x385746=_0x1c21['axNsnD'](_0x385746),_0x1c21['kcoYQS'][_0x5874f8]=_0x385746):_0x385746=_0x35376d,_0x385746;}function _0x31480b(_0x108515,_0x38e0eb,_0x4edd82,_0x1f4a50){return _0x1c21(_0x108515-0x14b,_0x38e0eb);}router[_0x46b2e4(0x172,0x1f4,0x18d,0x1fe)](_0x46b2e4(0x207,0x1df,0x1b0,0x1c9),async(_0x38ac53,_0x16f18d)=>{const _0x348cab={_0x424cd4:0x28c,_0x3317c0:0x1b7,_0x192336:0x1dd,_0x474337:0x242,_0x1a84ae:0x244,_0x14a0c6:0x2b1,_0x4d0256:0x2be,_0x374640:0x2e5,_0x171b6c:0x2b4,_0x1775b0:0x4b1,_0x5f378c:0x50e,_0x4a7e7c:0x4db,_0x30e0b2:0x2eb,_0x48070b:0x2e9,_0x5dc672:0x31c,_0x1fc964:0x349,_0x55d058:0x4c1,_0x455bad:0x497,_0x196b00:0x445,_0x4dbccc:0x2ea,_0xaea70d:0x2bc,_0xa8625a:0x2c6,_0x434b82:0x481,_0xe54a9b:0x46b,_0x331d06:0x4e0,_0xf307c8:0x49a,_0x4aaff1:0x41a,_0xe9ef18:0x472,_0x22db41:0x500,_0x109861:0x484,_0x45151c:0x433,_0x498431:0x45e,_0x56a683:0x43f,_0x4a6db1:0x238,_0x4d3772:0x32d,_0x531c7c:0x255,_0x108d22:0x2d3,_0x2cde06:0x2ee,_0x44416f:0x27e,_0x189313:0x2ee,_0x1321b4:0x527,_0x562f14:0x2ab,_0x3c9974:0x2e6,_0x33ce95:0x366,_0x26eb30:0x54a,_0x4ed3f7:0x2a1,_0x353377:0x29e,_0x495c07:0x4f9,_0x2a5eb5:0x258,_0x25c80b:0x289,_0x39f1f7:0x213,_0x9cff77:0x2f3,_0x5242a8:0x334,_0x141ec5:0x2d9,_0x5c1ceb:0x396,_0x3ad598:0x314,_0x3632e3:0x294,_0x3c6f82:0x492,_0x2280b8:0x4d6,_0x30f22a:0x48a,_0x4bb6bc:0x49c,_0x724711:0x2ae,_0x260b6e:0x288,_0x36e2b5:0x2de,_0x50a14a:0x36a,_0x59a2c9:0x2e3,_0x5bc50e:0x313,_0x175c82:0x547,_0xe093fe:0x4b6,_0x6347f9:0x42f,_0x209a69:0x426,_0x3b059a:0x4b7,_0x287999:0x51a,_0x28526e:0x553,_0x36b31f:0x4c7,_0x1ec4a9:0x3a1,_0x2561e2:0x313,_0x46e056:0x5a4,_0x55df57:0x239,_0x35fe69:0x54a,_0x3abe60:0x59d,_0x3a1a90:0x24f,_0x2dfd80:0x237,_0x5b0698:0x23d,_0x5a89fa:0x24a,_0x3ea392:0x22d,_0x5489fa:0x24c,_0x3f9444:0x2d7,_0x13a543:0x2a0,_0x14e439:0x2dc,_0x223c05:0x313,_0x1a2f57:0x4e1,_0x42423a:0x458,_0x2fbf83:0x23d,_0x274592:0x2f5,_0x29b97a:0x2ce,_0x23c8f6:0x2c1,_0x42ca4c:0x4b2,_0x227058:0x4e3,_0x4b3f48:0x280,_0x27f29d:0x282,_0x522e90:0x299,_0x5224ec:0x460,_0x40bce0:0x499,_0x42de9f:0x22c,_0x1bb7a2:0x1ab,_0x4bcc18:0x2a5,_0xfd8746:0x4c4,_0x4f6352:0x4d5,_0x37ac32:0x2b9,_0x3ddcf4:0x330,_0x5f5421:0x2b0,_0x507ba7:0x320,_0x2054cb:0x32a,_0x269faa:0x388,_0x196c7e:0x427,_0x5e62a5:0x47e,_0x4f574b:0x31e,_0x552de0:0x2aa,_0x3469e8:0x481,_0x4e159f:0x51f,_0x51976e:0x274,_0x36791d:0x2cb,_0xea8b6a:0x2c5,_0x2dfdb5:0x392,_0x54fc8b:0x293,_0x53c3c7:0x357,_0x2ae39a:0x287,_0x21fdc0:0x25d,_0x1333dc:0x4ff,_0x516bf2:0x509,_0x4732f7:0x39c,_0x38b3f4:0x3bd,_0x146dd2:0x3dd,_0x45ae35:0x4d7,_0x5e69c8:0x43c,_0x510159:0x212,_0x2f6ded:0x1fb,_0x28a206:0x4bc,_0x38d0f4:0x40c,_0x48c990:0x41f,_0x256fb0:0x1e9,_0x1d3401:0x274,_0x2132ed:0x293,_0x20f18f:0x274,_0x407de4:0x1ec,_0x2f83b6:0x2b8,_0x1d40f7:0x1d4,_0x5814ee:0x348,_0x351fc2:0x26b,_0x4b33ff:0x267,_0x5ddbbc:0x2a4,_0x2f53df:0x215,_0x5843fa:0x327,_0x1108fa:0x295,_0x550a28:0x30e,_0x300b93:0x537,_0x38ca91:0x554,_0x1d8026:0x4fa,_0x569470:0x503,_0x14c422:0x2ca,_0x495760:0x29d,_0x469c89:0x4ff,_0xfc81ff:0x57c,_0x95b7a3:0x26a,_0x2db928:0x1c7,_0x20db10:0x32f,_0x3860e6:0x32a,_0x346c6a:0x2cd,_0x526e44:0x225,_0x1f9cd9:0x246,_0xe7dea6:0x496,_0x4eaf10:0x4b0,_0x59759f:0x375,_0x1707ba:0x319,_0x256f85:0x476,_0x127b00:0x40a,_0x2e2bd6:0x478,_0x3aea86:0x2e2,_0x3ef7b7:0x33b,_0x3f3919:0x3cb,_0x1328e2:0x546,_0x5126e2:0x525,_0x20710e:0x594,_0x49249d:0x284,_0x1fb287:0x2aa,_0x29eee4:0x23e},_0x459507={_0x766d12:0x48,_0xba8d0c:0x176},_0x50daf8={_0x115c0c:0x2c},_0x2f4b10={'gDnzP':_0x527610(_0x348cab._0x424cd4,0x2e8,0x2e5,0x330)+'save\x20sessi'+'on','vbTAh':_0x527610(_0x348cab._0x3317c0,_0x348cab._0x192336,_0x348cab._0x474337,_0x348cab._0x1a84ae)+'ed','BvLue':_0x527610(_0x348cab._0x14a0c6,_0x348cab._0x4d0256,_0x348cab._0x374640,_0x348cab._0x171b6c)+_0x37df54(_0x348cab._0x1775b0,_0x348cab._0x5f378c,_0x348cab._0x4a7e7c,0x54e)+_0x527610(_0x348cab._0x30e0b2,_0x348cab._0x48070b,_0x348cab._0x5dc672,_0x348cab._0x1fc964),'SkBoL':_0x37df54(0x4e4,_0x348cab._0x55d058,_0x348cab._0x455bad,_0x348cab._0x196b00)+_0x527610(_0x348cab._0x1a84ae,_0x348cab._0x4dbccc,_0x348cab._0xaea70d,0x26f)+'ring\x20authe'+_0x527610(_0x348cab._0xa8625a,0x299,0x2ad,0x30e),'EUQXs':function(_0x50db32,_0x203bed){return _0x50db32!==_0x203bed;},'LrXZY':_0x37df54(_0x348cab._0x434b82,_0x348cab._0xe54a9b,_0x348cab._0x331d06,_0x348cab._0xf307c8),'AcyPM':_0x37df54(_0x348cab._0x4aaff1,_0x348cab._0xe9ef18,_0x348cab._0x22db41,0x4af)+_0x37df54(_0x348cab._0x109861,_0x348cab._0x45151c,0x48b,0x3b9),'sLlVu':'Username\x20a'+_0x37df54(0x4d0,_0x348cab._0x498431,0x47d,_0x348cab._0x56a683)+'d\x20are\x20requ'+_0x527610(0x2b4,0x23b,0x2a4,_0x348cab._0x4a6db1),'LhCtr':_0x527610(_0x348cab._0x4d3772,_0x348cab._0x531c7c,_0x348cab._0xa8625a,_0x348cab._0x108d22),'LyNpX':function(_0x4c6c3f,_0x1292b9,_0x453189){return _0x4c6c3f(_0x1292b9,_0x453189);},'GpwpL':_0x527610(_0x348cab._0x2cde06,_0x348cab._0x44416f,0x293,_0x348cab._0x189313)+'\x20login\x20att'+_0x37df54(0x437,0x4a3,_0x348cab._0x1321b4,0x4eb),'KUxJr':_0x527610(_0x348cab._0x562f14,0x2d3,_0x348cab._0x3c9974,_0x348cab._0x33ce95)+_0x37df54(_0x348cab._0x26eb30,0x4cc,0x493,0x4c0)+_0x527610(_0x348cab._0x4ed3f7,0x329,0x307,_0x348cab._0x353377),'qftAx':_0x527610(0x250,0x2a6,0x225,0x278),'KXewp':function(_0x55e1db,_0x10e890){return _0x55e1db(_0x10e890);},'tdJlc':_0x37df54(_0x348cab._0x495c07,0x4d1,0x52a,0x525)+_0x527610(_0x348cab._0x2a5eb5,0x2f7,_0x348cab._0x25c80b,_0x348cab._0x39f1f7)+_0x527610(0x348,_0x348cab._0x9cff77,_0x348cab._0x5242a8,0x38f)+_0x527610(0x2bc,0x2b4,0x263,0x279),'wQwZi':_0x527610(_0x348cab._0x141ec5,_0x348cab._0x5c1ceb,_0x348cab._0x3ad598,_0x348cab._0x3632e3)+_0x37df54(_0x348cab._0x3c6f82,_0x348cab._0x2280b8,_0x348cab._0x30f22a,_0x348cab._0x4bb6bc),'ifBaA':_0x527610(0x2b3,0x31b,_0x348cab._0x724711,_0x348cab._0x260b6e)+_0x527610(0x2cd,0x2ef,_0x348cab._0x36e2b5,_0x348cab._0x50a14a),'oHbPZ':'CLI\x20login\x20'+_0x527610(_0x348cab._0x59a2c9,0x2af,_0x348cab._0x5bc50e,0x393)},{username:_0x108376,password:_0x153ce0}=_0x38ac53[_0x37df54(_0x348cab._0x175c82,0x509,0x48e,0x494)];function _0x527610(_0x17198a,_0x28c439,_0x2fa8bf,_0x24a75b){return _0x46b2e4(_0x2fa8bf-0xf7,_0x28c439-_0x50daf8._0x115c0c,_0x2fa8bf-0x157,_0x24a75b);}if(!_0x108376||!_0x153ce0){if(_0x2f4b10[_0x37df54(_0x348cab._0xe093fe,_0x348cab._0x6347f9,_0x348cab._0x209a69,0x46b)](_0x2f4b10[_0x37df54(_0x348cab._0x3b059a,0x517,_0x348cab._0x287999,_0x348cab._0x28526e)],_0x37df54(_0x348cab._0x36b31f,0x46b,0x466,_0x348cab._0x4a7e7c))){_0x5850c0[_0x527610(0x2b3,_0x348cab._0x1ec4a9,_0x348cab._0x2561e2,0x391)](_0x2f4b10[_0x37df54(0x4f8,0x519,_0x348cab._0x46e056,0x55c)],_0x1e14fc);const _0x5377b4={};return _0x5377b4[_0x527610(0x291,0x2bf,_0x348cab._0x5bc50e,0x398)]=_0x2f4b10[_0x527610(_0x348cab._0x55df57,0x1b7,0x237,0x2c8)],_0x5377b4[_0x37df54(_0x348cab._0x35fe69,0x516,_0x348cab._0x3abe60,0x570)]=_0x2f4b10[_0x527610(_0x348cab._0x3a1a90,_0x348cab._0x2dfd80,_0x348cab._0x5b0698,0x1cb)],_0x162132[_0x527610(_0x348cab._0x5a89fa,_0x348cab._0x3ea392,0x2aa,_0x348cab._0x5489fa)](-0x1*-0xfc9+0xcd5+-0x1aaa)[_0x527610(_0x348cab._0x3f9444,_0x348cab._0x13a543,0x2ce,0x332)](_0x5377b4);}else{const _0x1fb527={};return _0x1fb527[_0x527610(_0x348cab._0x14e439,0x2e0,_0x348cab._0x223c05,0x2e9)]=_0x2f4b10['AcyPM'],_0x1fb527['message']=_0x2f4b10[_0x37df54(0x3f4,0x427,0x482,0x3dd)],_0x16f18d[_0x37df54(0x4b3,0x496,_0x348cab._0x1a2f57,_0x348cab._0x42423a)](0x7a*-0x10+-0x1*0x455+0xd85)[_0x527610(_0x348cab._0x2fbf83,_0x348cab._0x274592,_0x348cab._0x29b97a,_0x348cab._0x23c8f6)](_0x1fb527);}}function _0x37df54(_0x861c93,_0x1354ba,_0x2fd497,_0x2e577a){return _0x46b2e4(_0x1354ba-0x2e3,_0x1354ba-_0x459507._0x766d12,_0x2fd497-_0x459507._0xba8d0c,_0x2e577a);}try{if(_0x37df54(0x543,_0x348cab._0x42ca4c,0x4f0,_0x348cab._0x227058)===_0x2f4b10[_0x527610(_0x348cab._0x4b3f48,0x266,_0x348cab._0x27f29d,0x2af)]){const _0x32b045=await _0x2f4b10[_0x527610(0x323,0x279,0x2cb,_0x348cab._0x522e90)](validatePassword,_0x108376,_0x153ce0);if(!_0x32b045){const _0xbf29ce={};_0xbf29ce[_0x37df54(0x4e7,_0x348cab._0x5224ec,0x4a5,_0x348cab._0x40bce0)]=_0x108376,logger[_0x527610(_0x348cab._0x42de9f,_0x348cab._0x1bb7a2,0x23a,_0x348cab._0x4bcc18)](_0x2f4b10[_0x37df54(0x51e,0x4aa,0x4fa,_0x348cab._0xfd8746)],_0xbf29ce);const _0x145f41={};return _0x145f41[_0x37df54(0x4c3,0x4ff,_0x348cab._0x495c07,_0x348cab._0x4f6352)]=_0x527610(_0x348cab._0x37ac32,_0x348cab._0x3ddcf4,_0x348cab._0x5f5421,0x29d)+'tion\x20faile'+'d',_0x145f41[_0x527610(0x378,_0x348cab._0x507ba7,_0x348cab._0x2054cb,_0x348cab._0x269faa)]=_0x2f4b10[_0x37df54(_0x348cab._0x196c7e,_0x348cab._0x5e62a5,0x4fc,0x4e0)],_0x16f18d[_0x527610(_0x348cab._0x4f574b,0x222,_0x348cab._0x552de0,0x33c)](-0xb3e+0x3c7+0x908)[_0x37df54(0x481,0x4ba,_0x348cab._0x3469e8,_0x348cab._0x4e159f)](_0x145f41);}const _0x25f298=await _0x2f4b10[_0x527610(_0x348cab._0x51976e,0x24a,_0x348cab._0x36791d,_0x348cab._0xea8b6a)](createApiKey,_0x32b045['id'],_0x2f4b10[_0x527610(_0x348cab._0x2dfdb5,_0x348cab._0x54fc8b,0x30d,_0x348cab._0x53c3c7)]);let _0x369b63=[];try{_0x369b63=await _0x2f4b10[_0x527610(_0x348cab._0x2ae39a,0x26c,0x212,_0x348cab._0x21fdc0)](resolveUserRoleNames,_0x32b045['id']);}catch(_0x172f1c){const _0x435402={};_0x435402['userId']=_0x32b045['id'],_0x435402[_0x37df54(0x495,_0x348cab._0x1333dc,_0x348cab._0x516bf2,0x56c)]=_0x172f1c['message'],logger[_0x37df54(0x394,_0x348cab._0x209a69,_0x348cab._0x4732f7,_0x348cab._0x38b3f4)](_0x2f4b10[_0x37df54(_0x348cab._0x146dd2,0x43d,0x44f,0x449)],_0x435402);}const _0x580b72={};_0x580b72[_0x37df54(_0x348cab._0x45ae35,0x48b,_0x348cab._0x5e69c8,0x4ae)]=_0x32b045['id'],_0x580b72['username']=_0x32b045[_0x527610(_0x348cab._0x510159,0x220,0x274,_0x348cab._0x2f6ded)],_0x580b72[_0x37df54(_0x348cab._0x28a206,0x445,_0x348cab._0x38d0f4,0x406)]=_0x25f298['id'],logger[_0x37df54(0x4ac,0x495,0x46b,_0x348cab._0x48c990)](_0x2f4b10['wQwZi'],_0x580b72);const _0x180a08={};_0x180a08['id']=_0x32b045['id'],_0x180a08[_0x527610(_0x348cab._0x256fb0,0x2e5,_0x348cab._0x1d3401,0x203)]=_0x32b045[_0x527610(0x2fd,_0x348cab._0x2132ed,_0x348cab._0x20f18f,_0x348cab._0x407de4)],_0x180a08[_0x527610(0x355,_0x348cab._0x2f83b6,0x2f8,0x2ce)]=_0x32b045['email'],_0x180a08[_0x527610(_0x348cab._0x1d40f7,0x24d,0x224,0x19e)]=_0x32b045['name'],_0x180a08[_0x527610(_0x348cab._0x5814ee,_0x348cab._0x351fc2,0x2eb,_0x348cab._0x4b33ff)]=_0x369b63;const _0x4b487b={};_0x4b487b[_0x527610(0x3a8,_0x348cab._0x353377,_0x348cab._0x2054cb,_0x348cab._0x5ddbbc)]=_0x2f4b10[_0x527610(_0x348cab._0x2f53df,_0x348cab._0x5843fa,_0x348cab._0x1108fa,_0x348cab._0x550a28)],_0x4b487b['user']=_0x180a08,_0x4b487b['apiKey']=_0x25f298[_0x37df54(_0x348cab._0x300b93,0x4e5,_0x348cab._0x38ca91,0x510)],_0x16f18d[_0x37df54(_0x348cab._0x1d8026,0x4ba,0x492,_0x348cab._0x569470)](_0x4b487b);}else{_0x34d9cd['error'](_0x527610(0x2c4,_0x348cab._0x14c422,_0x348cab._0x495760,0x2de)+'r',_0x35f847);const _0x5d76a0={};_0x5d76a0[_0x37df54(0x555,_0x348cab._0x469c89,0x503,_0x348cab._0xfc81ff)]=_0x2f4b10[_0x527610(0x2c7,_0x348cab._0x95b7a3,0x237,_0x348cab._0x2db928)],_0x5d76a0[_0x527610(0x2a3,_0x348cab._0x20db10,_0x348cab._0x3860e6,0x31a)]=_0x2f4b10[_0x527610(_0x348cab._0x346c6a,_0x348cab._0x526e44,_0x348cab._0x1f9cd9,0x225)],_0x1d025c[_0x37df54(0x4d5,_0x348cab._0xe7dea6,0x48d,_0x348cab._0x4eaf10)](-0xaf8+0xcd1*-0x1+0x257*0xb)['json'](_0x5d76a0);}}catch(_0x2bdf1b){logger[_0x527610(_0x348cab._0x59759f,_0x348cab._0x1707ba,_0x348cab._0x223c05,_0x348cab._0x260b6e)](_0x2f4b10[_0x37df54(_0x348cab._0x256f85,_0x348cab._0x127b00,_0x348cab._0x2e2bd6,0x3c4)],_0x2bdf1b);const _0x4ecf9a={};_0x4ecf9a[_0x527610(0x290,_0x348cab._0x3aea86,0x313,_0x348cab._0x3ef7b7)]=_0x2f4b10[_0x37df54(0x3ac,0x423,0x3b8,_0x348cab._0x3f3919)],_0x4ecf9a[_0x37df54(_0x348cab._0x1328e2,0x516,_0x348cab._0x5126e2,_0x348cab._0x20710e)]=_0x2f4b10['SkBoL'],_0x16f18d[_0x527610(_0x348cab._0x49249d,_0x348cab._0x4bcc18,_0x348cab._0x1fb287,_0x348cab._0x29eee4)](-0x2a*-0x8c+0x2501+-0x1*0x3a05)['json'](_0x4ecf9a);}}),router[_0x31480b(0x2c6,0x27e,0x269,0x31b)](_0x31480b(0x251,0x299,0x1d4,0x20f),requireAuth,async(_0x5c4743,_0x5d03fa)=>{const _0x435c78={_0x5a839c:0x233,_0x5ae7d7:0x36e,_0xec5b1:0x41a,_0xa7e04e:0x39c,_0x59d56d:0x32c,_0x11c4b2:0x44f,_0xb749ef:0x3c6,_0x3403ef:0x1b9,_0x5115e6:0x18d,_0x42b297:0x11a,_0x297565:0x37b,_0x3add94:0x1bf,_0x4d972d:0x163,_0x2e3565:0x21e,_0x2fb058:0x3bd,_0x37fe6b:0x301,_0x419754:0x305,_0x423c95:0x1ff,_0x415390:0x1d2,_0x3f9e0a:0x3ce,_0xc3b62a:0x3bd,_0x4f5b8e:0x3c2,_0x356119:0x331,_0x1c2c47:0x292,_0x373491:0x31b,_0x3c0a49:0x361,_0x200cb0:0x3c1,_0x356862:0x3bc,_0x985fd:0x3b4,_0x5c5852:0x1f3,_0x5e7357:0x196,_0x90b5d5:0x34f,_0x24fd55:0x3dd,_0x411101:0x418,_0xdc0ad2:0x3d6,_0x15d4ef:0x196,_0xdbc709:0x12a,_0x46ea58:0x126,_0xd0402b:0x13b,_0x46ef19:0x133,_0x4b1544:0x304,_0x4b4f8c:0x33e,_0x36dcee:0x2de,_0x1d58ac:0x14c,_0x54ae13:0x1aa,_0x3ba216:0x39e,_0x505612:0x304,_0x552fd0:0x3ad,_0x214102:0x391,_0x414c40:0x1f6,_0x579ebf:0x251,_0xb49ffd:0x184,_0x4829b6:0x31d,_0x318c9e:0x31f,_0x12244c:0x303,_0x2668d2:0x36b,_0x50190d:0x350,_0x291e37:0x3fc,_0x4cdead:0x3d2,_0xa1a8ba:0x3f4,_0x5b0c25:0x43a,_0x22c966:0x413,_0x1a2e94:0x21c,_0x5d2ef9:0x220,_0x29d016:0x393,_0x1ba577:0x219,_0x4910b3:0x17b,_0x7a9cf6:0x3fc,_0x3f1ea2:0x20d,_0x1578dc:0x231,_0x353035:0x1ec,_0x3f308e:0x1b7,_0x2f9bf1:0x3a2,_0x42d487:0x392,_0x5c3d3c:0x445,_0x1cc45c:0x199},_0x4eaa91={};_0x4eaa91[_0x2cdbf0(_0x435c78._0x5a839c,0x265,0x262,0x1d8)]='Missing\x20cr'+_0xaf856e(_0x435c78._0x5ae7d7,0x2c1,0x36e,0x330),_0x4eaa91['sJPjM']=_0xaf856e(0x318,0x32f,0x410,0x383)+'nd\x20passwor'+_0xaf856e(0x314,_0x435c78._0xec5b1,0x347,_0x435c78._0xa7e04e)+_0xaf856e(_0x435c78._0x59d56d,0x318,0x3e1,0x38d),_0x4eaa91['hlzeY']=function(_0x1a0fed,_0x261961){return _0x1a0fed===_0x261961;},_0x4eaa91[_0xaf856e(0x411,0x36c,_0x435c78._0x11c4b2,_0x435c78._0xb749ef)]=_0x2cdbf0(0x13f,_0x435c78._0x3403ef,_0x435c78._0x5115e6,_0x435c78._0x42b297);function _0x2cdbf0(_0xf7c2f3,_0x246320,_0x4685e1,_0x531d20){return _0x46b2e4(_0xf7c2f3-0x1f,_0x246320-0x10,_0x4685e1-0x27,_0x531d20);}function _0xaf856e(_0xfd65f,_0x4ea11d,_0x3047c7,_0x2d456d){return _0x31480b(_0x2d456d-0xce,_0x4ea11d,_0x3047c7-0x161,_0x2d456d-0x49);}_0x4eaa91[_0xaf856e(_0x435c78._0x297565,0x351,0x384,0x345)]=_0x2cdbf0(_0x435c78._0x3add94,0x24c,_0x435c78._0x4d972d,_0x435c78._0x2e3565)+_0xaf856e(0x435,0x373,0x403,_0x435c78._0x2fb058),_0x4eaa91[_0xaf856e(0x30b,_0x435c78._0x37fe6b,_0x435c78._0x419754,0x350)]=_0x2cdbf0(0x17b,0x19b,0x1b8,0x13b),_0x4eaa91[_0x2cdbf0(0x247,_0x435c78._0x423c95,_0x435c78._0x415390,0x1b8)]=_0xaf856e(0x390,0x45b,0x3df,_0x435c78._0x3f9e0a)+_0xaf856e(0x42a,_0x435c78._0xc3b62a,0x3c2,_0x435c78._0x4f5b8e)+'e';const _0x476943=_0x4eaa91;try{if(_0x476943[_0xaf856e(0x29d,_0x435c78._0x356119,_0x435c78._0x1c2c47,_0x435c78._0x373491)](_0xaf856e(0x38d,0x38b,_0x435c78._0x3c0a49,_0x435c78._0x200cb0),_0x476943['sLKbH']))_0x848339[_0x2cdbf0(0x188,_0x435c78._0x3add94,0x154,0x10d)+'s']=_0x5e4681;else{const _0x55cf43=await findUserById(_0x5c4743[_0xaf856e(_0x435c78._0x419754,_0x435c78._0x356862,_0x435c78._0x985fd,0x354)]['id']);if(!_0x55cf43){const _0x41e081={};return _0x41e081['error']=_0x476943['LESRq'],_0x5d03fa[_0x2cdbf0(_0x435c78._0x415390,0x1e3,_0x435c78._0x5c5852,_0x435c78._0x5e7357)](0x3*0x59e+-0x1c4a+0xd04)[_0xaf856e(0x432,0x399,_0x435c78._0x90b5d5,0x3b7)](_0x41e081);}const _0x307365={};_0x307365[_0xaf856e(_0x435c78._0x24fd55,0x3d7,_0x435c78._0x411101,0x40f)+_0xaf856e(0x35f,0x36b,0x36e,_0x435c78._0xdc0ad2)]=!![],_0x307365[_0x2cdbf0(_0x435c78._0x15d4ef,_0x435c78._0xdbc709,_0x435c78._0x46ea58,_0x435c78._0xd0402b)+'ents_on_my'+'_tasks']=!![];const _0x304212={};_0x304212['id']=_0x55cf43['id'],_0x304212[_0x2cdbf0(0x19c,0x163,0x220,_0x435c78._0x46ef19)]=_0x55cf43[_0xaf856e(_0x435c78._0x4b1544,_0x435c78._0x4b4f8c,_0x435c78._0x36dcee,0x35d)],_0x304212['email']=_0x55cf43['email'],_0x304212[_0x2cdbf0(_0x435c78._0x1d58ac,_0x435c78._0x54ae13,0xbc,0x14f)]=_0x55cf43[_0xaf856e(0x33a,_0x435c78._0x3ba216,_0x435c78._0x505612,0x30d)],_0x304212['avatar']=_0x55cf43[_0xaf856e(_0x435c78._0x552fd0,0x390,0x3ef,0x3f7)]||null,_0x304212[_0xaf856e(0x3c4,0x351,_0x435c78._0x214102,0x349)+'s']=_0x55cf43['preference'+'s']||_0x307365;const _0x5a1b2f={};_0x5a1b2f['profile']=_0x304212,_0x5d03fa[_0x2cdbf0(_0x435c78._0x414c40,_0x435c78._0x579ebf,0x1d5,_0x435c78._0xb49ffd)](_0x5a1b2f);}}catch(_0x54a40c){if(_0x476943[_0xaf856e(0x313,_0x435c78._0x4829b6,0x347,0x350)]!==_0x476943[_0xaf856e(_0x435c78._0x318c9e,_0x435c78._0x12244c,_0x435c78._0x2668d2,_0x435c78._0x50190d)]){const _0x48df51={};return _0x48df51[_0xaf856e(0x436,0x3d2,0x3f5,_0x435c78._0x291e37)]=_0x476943[_0xaf856e(0x468,0x3c1,_0x435c78._0x4cdead,_0x435c78._0xa1a8ba)],_0x48df51[_0xaf856e(_0x435c78._0x5b0c25,0x400,0x384,_0x435c78._0x22c966)]=_0x476943[_0x2cdbf0(_0x435c78._0x1a2e94,_0x435c78._0x5d2ef9,0x29f,0x1d3)],_0x3fcc7d[_0xaf856e(0x3ba,0x343,0x3dc,_0x435c78._0x29d016)](-0x422+-0x13*0x86+0x16*0xb6)[_0x2cdbf0(0x1f6,0x22b,_0x435c78._0x1ba577,_0x435c78._0x4910b3)](_0x48df51);}else{logger[_0xaf856e(0x438,0x47e,0x400,_0x435c78._0x7a9cf6)](_0x2cdbf0(_0x435c78._0x3f1ea2,_0x435c78._0x1578dc,_0x435c78._0x353035,_0x435c78._0x3f308e)+_0xaf856e(0x3b0,_0x435c78._0x2f9bf1,_0x435c78._0x42d487,_0x435c78._0x4f5b8e)+'e',_0x54a40c);const _0x5d55ab={};_0x5d55ab[_0xaf856e(0x389,0x3ed,0x473,0x3fc)]=_0x476943[_0xaf856e(0x46d,0x486,_0x435c78._0x5c3d3c,0x408)],_0x5d03fa['status'](0x81c*-0x1+0x2378+-0x1968)[_0x2cdbf0(_0x435c78._0x414c40,0x1d4,0x1b3,_0x435c78._0x1cc45c)](_0x5d55ab);}}}),router[_0x46b2e4(0x186,0x162,0x1d7,0x1ed)](_0x31480b(0x251,0x2ba,0x1e8,0x21d),requireAuth,async(_0x395306,_0x44e461)=>{const _0x5dad94={_0x296306:0x1c3,_0x39574d:0x13c,_0x288f8d:0x2b2,_0x179edc:0x231,_0x304356:0x21e,_0x22796a:0x216,_0x9b9fcc:0x213,_0x2f02f6:0x253,_0x2137bf:0x230,_0x433ebb:0x160,_0x330e3b:0x1cd,_0x141022:0x1db,_0x1a08d3:0x4bf,_0x228ea7:0x19f,_0x15a1f2:0x185,_0x4cb098:0x19d,_0x4bb879:0x14c,_0x3a9e18:0x42c,_0x458679:0x11e,_0x500ff6:0x387,_0x28c1df:0x3b5,_0x326310:0x3a8,_0x231612:0x1ce,_0x20d64f:0x1a2,_0x43f149:0x1bf,_0x23b52f:0x18d,_0x4f319d:0x16e,_0x189a98:0x434,_0x265ef2:0x49b,_0x82c0c9:0x417,_0x1b21a1:0x1f1,_0x362f03:0x19c,_0x4f15a9:0x415,_0x3bfbaf:0xc6,_0x2b16d5:0x330,_0x547afd:0x3aa,_0x124456:0x31a,_0x4510a1:0x455,_0x4cc592:0x47f,_0x235418:0x3c5,_0x305937:0x132,_0x30c874:0x186,_0x19446a:0x210,_0x3fffbc:0x199,_0x4e6c44:0x1de,_0x35ef65:0x343,_0x2511e1:0x1d6,_0x56f528:0x1fe,_0x385f7c:0x229,_0x379db2:0x1f6,_0x2e4160:0x242,_0x328928:0x2a6,_0x10bf26:0x246,_0x1e402d:0x22d,_0x60295a:0x27c,_0x1c7329:0x1c1,_0x310683:0x373,_0x3ed3e8:0x3c1,_0xcb7ef6:0x1a7,_0x21a308:0x1d1,_0xad4a88:0x1b6,_0x3026f2:0x17f,_0x5e7ee7:0x2b9,_0x53596b:0x345,_0x5b3035:0x383,_0xd07727:0x2f3,_0x574642:0x262,_0x5c0463:0x269,_0x43e6b0:0x15c,_0x433d4b:0x226,_0x329508:0x295,_0x112fda:0x20a,_0x1fa36a:0x3ef,_0x44ea01:0x3d9,_0x5dd113:0x47b,_0x407040:0x496,_0x154608:0x434,_0x4a49fd:0x427,_0x13c21b:0x185,_0x3c34a1:0x122,_0x571da4:0x3e4,_0x146907:0x1d2,_0x189d72:0x20d,_0x1b9fa7:0x3cb,_0x133f49:0x43c,_0x1fb0da:0x481},_0x50fe84={_0x33c4f0:0x218,_0x5aed35:0x93},_0x177a6f={_0xe74ba0:0x1af};function _0x2fd78f(_0x5ab7c5,_0x39c2c5,_0x498172,_0x39ee9b){return _0x31480b(_0x39c2c5- -0x485,_0x39ee9b,_0x498172-0x126,_0x39ee9b-_0x177a6f._0xe74ba0);}const _0x4c58da={'KLduc':function(_0xafd005,_0x1271c4){return _0xafd005!==_0x1271c4;},'xYOwW':function(_0x424851,_0x2c7ac9){return _0x424851!==_0x2c7ac9;},'wwQBE':'IvuYE','reYTw':_0x2fd78f(-0x222,-_0x5dad94._0x296306,-0x1db,-_0x5dad94._0x39574d),'KzpfX':'Name\x20canno'+_0x2fd78f(-_0x5dad94._0x288f8d,-_0x5dad94._0x179edc,-_0x5dad94._0x304356,-_0x5dad94._0x22796a),'jZSON':function(_0x371d46,_0x48fd7c){return _0x371d46!==_0x48fd7c;},'hnXBT':'No\x20valid\x20u'+_0x2fd78f(-_0x5dad94._0x9b9fcc,-0x218,-_0x5dad94._0x2f02f6,-_0x5dad94._0x2137bf)+_0x2fd78f(-_0x5dad94._0x433ebb,-0x153,-_0x5dad94._0x330e3b,-_0x5dad94._0x141022),'FXhUz':function(_0x18175b,_0xc53bd2,_0x53d295){return _0x18175b(_0xc53bd2,_0x53d295);},'ZZKQz':_0x1ff36c(_0x5dad94._0x1a08d3,0x42d,0x49a,0x474)+'dated','QcidS':_0x2fd78f(-_0x5dad94._0x228ea7,-_0x5dad94._0x15a1f2,-_0x5dad94._0x4cb098,-_0x5dad94._0x4bb879)+'update\x20pro'+_0x1ff36c(0x35d,0x3b9,0x3eb,_0x5dad94._0x3a9e18)};function _0x1ff36c(_0x3371e3,_0x44200e,_0x5ce02e,_0x2bcde1){return _0x46b2e4(_0x44200e-_0x50fe84._0x33c4f0,_0x44200e-_0x50fe84._0x5aed35,_0x5ce02e-0x1e,_0x5ce02e);}const {name:_0x327a58,preferences:_0x47da0f}=_0x395306[_0x2fd78f(-0x1bb,-0x14d,-_0x5dad94._0x458679,-0x175)];try{const _0x526472={};if(_0x4c58da[_0x1ff36c(0x327,0x359,_0x5dad94._0x500ff6,_0x5dad94._0x28c1df)](_0x327a58,undefined)){if(!_0x327a58||_0x327a58['trim']()[_0x1ff36c(0x495,0x42b,0x4bb,_0x5dad94._0x326310)]===-0xb60+-0x5db*0x2+0x1716){if(_0x4c58da[_0x2fd78f(-_0x5dad94._0x231612,-_0x5dad94._0x20d64f,-_0x5dad94._0x43f149,-0x157)](_0x4c58da[_0x2fd78f(-_0x5dad94._0x23b52f,-0x16b,-_0x5dad94._0x4f319d,-0x1f4)],_0x4c58da['reYTw'])){const _0x5a98c8={};return _0x5a98c8[_0x1ff36c(0x3ea,_0x5dad94._0x189a98,_0x5dad94._0x265ef2,0x45b)]=_0x4c58da['KzpfX'],_0x44e461[_0x1ff36c(0x359,0x3cb,_0x5dad94._0x82c0c9,0x426)](0x1*-0x556+-0x103d+-0x1723*-0x1)[_0x2fd78f(-_0x5dad94._0x1b21a1,-_0x5dad94._0x362f03,-0x189,-0x15f)](_0x5a98c8);}else{const _0x112709={};_0x112709[_0x2fd78f(-0x146,-0x1cb,-0x13b,-0x242)]=_0x15bc34['id'],_0x112709[_0x1ff36c(0x41a,0x434,_0x5dad94._0x4f15a9,0x40f)]=_0x2b7801[_0x2fd78f(-0x123,-0x140,-0x16b,-_0x5dad94._0x3bfbaf)],_0x34f9b8['warn']('Failed\x20to\x20'+_0x1ff36c(_0x5dad94._0x2b16d5,_0x5dad94._0x547afd,_0x5dad94._0x124456,0x3a6)+_0x1ff36c(0x3df,_0x5dad94._0x4510a1,_0x5dad94._0x4cc592,0x4db)+'I\x20login',_0x112709);}}_0x526472[_0x1ff36c(0x3af,0x345,_0x5dad94._0x235418,0x32b)]=_0x327a58[_0x2fd78f(-0x278,-0x225,-0x2b7,-0x25d)]();}_0x4c58da[_0x2fd78f(-_0x5dad94._0x305937,-_0x5dad94._0x30c874,-0x18b,-_0x5dad94._0x19446a)](_0x47da0f,undefined)&&(_0x526472[_0x2fd78f(-_0x5dad94._0x3fffbc,-0x20a,-0x20e,-_0x5dad94._0x4e6c44)+'s']=_0x47da0f);if(Object[_0x1ff36c(0x3d8,0x397,_0x5dad94._0x35ef65,0x422)](_0x526472)[_0x2fd78f(-0x12c,-_0x5dad94._0x433ebb,-_0x5dad94._0x2511e1,-0x17d)]===-0x9f*0x24+0x1*0x18e5+-0x289){const _0x4eeb89={};return _0x4eeb89['error']=_0x4c58da[_0x2fd78f(-0x202,-_0x5dad94._0x56f528,-0x228,-_0x5dad94._0x385f7c)],_0x44e461['status'](0x61*0xa+-0x36*-0x71+-0x18*0x116)['json'](_0x4eeb89);}const _0x45be09=await _0x4c58da['FXhUz'](updateUser,_0x395306[_0x2fd78f(-0x1ae,-0x1ff,-_0x5dad94._0x379db2,-_0x5dad94._0x2e4160)]['id'],_0x526472);_0x526472[_0x2fd78f(-_0x5dad94._0x328928,-_0x5dad94._0x10bf26,-_0x5dad94._0x1e402d,-0x23d)]&&(_0x395306['session']['name']=_0x526472[_0x2fd78f(-_0x5dad94._0x60295a,-0x246,-0x27e,-0x1dc)]);logger[_0x2fd78f(-0x181,-_0x5dad94._0x1c7329,-0x24f,-0x207)](_0x4c58da['ZZKQz'],{'userId':_0x395306['user']['id'],'updates':Object[_0x1ff36c(0x39c,0x397,_0x5dad94._0x310683,_0x5dad94._0x3ed3e8)](_0x526472)});const _0x695e3b={};_0x695e3b['id']=_0x45be09['id'],_0x695e3b[_0x2fd78f(-0x1e4,-0x1f6,-0x235,-0x26a)]=_0x45be09[_0x2fd78f(-_0x5dad94._0x30c874,-_0x5dad94._0x379db2,-_0x5dad94._0xcb7ef6,-_0x5dad94._0x21a308)],_0x695e3b[_0x2fd78f(-_0x5dad94._0xad4a88,-0x172,-0x1cf,-_0x5dad94._0x3026f2)]=_0x45be09['email'],_0x695e3b[_0x1ff36c(_0x5dad94._0x5e7ee7,_0x5dad94._0x53596b,_0x5dad94._0x5b3035,_0x5dad94._0xd07727)]=_0x45be09[_0x2fd78f(-_0x5dad94._0x574642,-0x246,-0x237,-_0x5dad94._0x5c0463)],_0x695e3b['avatar']=_0x45be09[_0x2fd78f(-0x1c1,-_0x5dad94._0x43e6b0,-_0x5dad94._0x4bb879,-0x169)]||null,_0x695e3b[_0x2fd78f(-_0x5dad94._0x433d4b,-0x20a,-_0x5dad94._0x329508,-0x1b9)+'s']=_0x45be09[_0x2fd78f(-0x17a,-_0x5dad94._0x112fda,-0x19c,-0x1e7)+'s']||{};const _0x432867={};_0x432867['profile']=_0x695e3b,_0x44e461[_0x1ff36c(0x43f,_0x5dad94._0x1fa36a,_0x5dad94._0x44ea01,_0x5dad94._0x5dd113)](_0x432867);}catch(_0x130be2){logger[_0x1ff36c(_0x5dad94._0x407040,_0x5dad94._0x154608,0x3e4,_0x5dad94._0x4a49fd)](_0x2fd78f(-0x122,-_0x5dad94._0x13c21b,-0x205,-_0x5dad94._0x3c34a1)+_0x1ff36c(0x3eb,0x375,_0x5dad94._0x571da4,0x346)+_0x2fd78f(-0x242,-_0x5dad94._0x146907,-_0x5dad94._0x189d72,-0x20d),_0x130be2);const _0x59ee65={};_0x59ee65['error']=_0x4c58da['QcidS'],_0x44e461[_0x1ff36c(0x3c6,_0x5dad94._0x1b9fa7,0x3b5,_0x5dad94._0x133f49)](-0x1870+-0xa04*0x3+-0xe*-0x408)[_0x1ff36c(_0x5dad94._0x326310,0x3ef,0x44f,_0x5dad94._0x1fb0da)](_0x59ee65);}}),router['post'](_0x46b2e4(0x1da,0x1aa,0x1fd,0x20a)+_0x31480b(0x297,0x239,0x2ff,0x245),requireAuth,avatarUpload['single']('avatar'),async(_0x4de8d4,_0x1e9af8)=>{const _0xd35783={_0x45b72b:0x4ec,_0x211a31:0x4e1,_0x415728:0x442,_0x3e6b40:0x430,_0x5bd1b0:0x4b5,_0x44fda8:0x472,_0x4dce96:0x21f,_0x45da42:0x13c,_0x288b2b:0x4b0,_0x2678b8:0x19a,_0x4d4be4:0x1b2,_0x1b2320:0x17f,_0x408a64:0x274,_0x3e5101:0x4df,_0x547775:0x49a,_0x5ae3cf:0x52c,_0x220809:0x1f6,_0x383a0f:0x206,_0x2c9aea:0x1d8,_0x3dfb16:0x1b8,_0x3b2d5e:0x144,_0x5b091e:0x177,_0x5f1318:0x1c0,_0x93eae7:0x2c3,_0x5e0d91:0x277,_0x3e32cc:0x227,_0x1f7343:0x1f0,_0x12662b:0x477,_0x1a1038:0x4aa,_0x24579c:0x478,_0x42db99:0x24b,_0x554009:0x2dd,_0x3cf5d9:0x4f0,_0x141fa3:0x4ab,_0x2e5e3c:0x4b2,_0x4604ca:0x50d,_0x5b9034:0x26d,_0x33683a:0x292,_0x303c64:0x1b2,_0xc83dd9:0x158,_0x150911:0x1cd,_0x10083f:0x209,_0x2bfa7d:0x217,_0x21abbe:0x493,_0x5f35a2:0x4fb,_0x10bbc1:0x498,_0x5974b6:0x457,_0x3300f2:0x119,_0x356e88:0x188,_0x468b4d:0x483,_0x4dd831:0x194,_0x535ce8:0x22a,_0x1672a7:0x177,_0x37d477:0x134,_0x4a75de:0x272,_0x2fe7c3:0x2de,_0x57bd3c:0x51a,_0x46048d:0x428,_0x176447:0x4d2,_0x46ec60:0x526,_0x410343:0x1b4,_0x3e8c9f:0x232,_0x5245f1:0x27d,_0x39ea8d:0x4ad,_0x5070f7:0x2ee,_0x2b593c:0x238,_0x29d804:0x260,_0x3fcfff:0x49f,_0x1ed94a:0x4c7,_0x5a1e1b:0x4a7,_0x2dcc8c:0x4cf,_0x60fed4:0x18d,_0xdccef2:0x154,_0x1fe31b:0x1cf,_0x427fb6:0x238,_0x4514d4:0x249,_0x43e7b1:0x1d9,_0x55ec1b:0x261,_0x29167c:0x191,_0x1d0abd:0x1eb,_0x4951b8:0x1ae,_0x2e5317:0x19b,_0x898c5:0x25b,_0x23c6b4:0x228,_0x39b750:0x1bc,_0x3f3ec2:0x52b,_0x18a9b5:0x1b6,_0x17f7a2:0x1a5,_0x4bee7c:0x4f6,_0x464975:0x47a,_0x500ef5:0x579,_0x353bf7:0x5b7,_0x5d99d3:0x277,_0x59d796:0x4ba,_0x253dbc:0x443,_0x63fcc5:0x253,_0x267f95:0x24e,_0x936bd9:0x277,_0x4f0ad0:0x11c,_0x37a59c:0x476,_0x547070:0x4ce,_0x3a1de7:0x4c2,_0x1a75dd:0x4b4,_0x4c2982:0x146,_0x47f25b:0x20b,_0x8b671a:0x4e6,_0x13bf4c:0x4d6,_0x2eba48:0x4d7,_0x1535e3:0x513,_0x2bb1c7:0x566,_0x3c1086:0x2e4,_0x5b200c:0x2e5,_0x2daa4a:0x28e,_0x63f67b:0x567,_0x57f0d4:0x55a,_0xf1a6cd:0x4e6,_0x2c92a8:0x216,_0x35aa73:0x257,_0x437b9e:0x26b,_0x27a598:0x1eb,_0x15500b:0x291,_0xf31600:0x4c5,_0x887d2f:0x4ac},_0x3ba961={_0x45e2b4:0x2f7},_0x50720e={_0x12a01b:0x1f0};function _0x4e6ce9(_0x13031d,_0x447898,_0x2f3827,_0x1184b5){return _0x31480b(_0x2f3827- -0xb7,_0x13031d,_0x2f3827-_0x50720e._0x12a01b,_0x1184b5-0x117);}function _0x532a34(_0x1819e3,_0xc8b4be,_0x7f137d,_0x4f9150){return _0x46b2e4(_0x7f137d-_0x3ba961._0x45e2b4,_0xc8b4be-0x77,_0x7f137d-0x184,_0xc8b4be);}const _0x7de277={'nVFQM':_0x532a34(0x460,0x578,_0xd35783._0x45b72b,_0xd35783._0x211a31)+_0x532a34(_0xd35783._0x415728,_0xd35783._0x3e6b40,_0xd35783._0x5bd1b0,_0xd35783._0x44fda8),'qFShm':'Failed\x20log'+_0x4e6ce9(_0xd35783._0x4dce96,0x1f5,0x199,_0xd35783._0x45da42),'GxpDI':_0x532a34(0x507,_0xd35783._0x3e6b40,_0xd35783._0x288b2b,0x52e)+_0x4e6ce9(_0xd35783._0x2678b8,_0xd35783._0x4d4be4,_0xd35783._0x1b2320,0x14a)+'d','zizqy':function(_0x59a7f5){return _0x59a7f5();},'XHLlN':function(_0x2e2aef,_0x44bfdd){return _0x2e2aef(_0x44bfdd);},'QnrBg':'center','eRzkz':'zLkom','uwUlT':function(_0x2895c8,_0x5d0b9d,_0x2068af){return _0x2895c8(_0x5d0b9d,_0x2068af);},'CjXfv':_0x4e6ce9(0x26c,_0xd35783._0x408a64,0x21f,0x237)+_0x532a34(_0xd35783._0x3e5101,0x56f,0x51e,_0xd35783._0x547775),'YsDSp':function(_0x1c520c,_0x12189d){return _0x1c520c!==_0x12189d;},'WnXHs':_0x532a34(0x53b,0x4d8,0x533,_0xd35783._0x5ae3cf),'OloGb':_0x4e6ce9(_0xd35783._0x220809,0x1bb,_0xd35783._0x383a0f,0x226),'LvJRN':'Failed\x20to\x20'+_0x4e6ce9(0x213,_0xd35783._0x2c9aea,0x193,_0xd35783._0x3dfb16)+_0x4e6ce9(0x17c,_0xd35783._0x3b2d5e,_0xd35783._0x5b091e,_0xd35783._0x5f1318)};if(!_0x4de8d4['file']){const _0x493cd1={};return _0x493cd1[_0x4e6ce9(0x2bc,_0xd35783._0x93eae7,_0xd35783._0x5e0d91,_0xd35783._0x3e32cc)]=_0x7de277[_0x4e6ce9(0x167,0x185,_0xd35783._0x1f7343,0x165)],_0x1e9af8[_0x532a34(_0xd35783._0x12662b,0x445,_0xd35783._0x1a1038,0x468)](-0x22fe+-0x1182+-0x5*-0xad0)[_0x532a34(0x4ce,0x504,0x4ce,_0xd35783._0x24579c)](_0x493cd1);}try{await _0x7de277[_0x4e6ce9(_0xd35783._0x42db99,_0xd35783._0x554009,0x25e,0x201)](ensureAvatarsDir);const _0x2deaf4='avatar-'+_0x4de8d4[_0x532a34(_0xd35783._0x211a31,_0xd35783._0x3cf5d9,0x46b,_0xd35783._0x141fa3)]['id']+'-'+Date[_0x532a34(_0xd35783._0x2e5e3c,_0xd35783._0x4604ca,0x4db,0x498)]()+_0x4e6ce9(_0xd35783._0x5b9034,0x2e1,_0xd35783._0x33683a,0x22e),_0x324575=_0x2516d5[_0x4e6ce9(0x1dd,0x22c,_0xd35783._0x303c64,_0xd35783._0xc83dd9)](AVATARS_DIR,_0x2deaf4),_0x195c59={};_0x195c59[_0x4e6ce9(0x1a1,0x26b,0x221,0x242)]=0x5a,await _0x7de277[_0x4e6ce9(_0xd35783._0x150911,0x1a3,_0xd35783._0x10083f,_0xd35783._0x2bfa7d)](_0x52c9e6,_0x4de8d4[_0x532a34(_0xd35783._0x21abbe,_0xd35783._0x5f35a2,_0xd35783._0x10bbc1,_0xd35783._0x5974b6)]['buffer'])['resize'](AVATAR_SIZE,AVATAR_SIZE,{'fit':'cover','position':_0x7de277[_0x4e6ce9(0x1c2,_0xd35783._0x3300f2,0x185,_0xd35783._0x356e88)]})['png'](_0x195c59)[_0x532a34(0x4a3,_0xd35783._0x468b4d,0x449,0x47b)](_0x324575);const _0x13f67a=await _0x7de277[_0x4e6ce9(_0xd35783._0x4dd831,_0xd35783._0x535ce8,0x209,_0xd35783._0x1672a7)](findUserById,_0x4de8d4['user']['id']);if(_0x13f67a['avatar']){const _0xba124a=_0x2516d5[_0x4e6ce9(_0xd35783._0x37d477,0x204,_0xd35783._0x303c64,0x141)](AVATARS_DIR,_0x13f67a[_0x4e6ce9(0x256,0x20f,_0xd35783._0x4a75de,_0xd35783._0x2fe7c3)]);try{if(_0x7de277['eRzkz']!==_0x532a34(0x4e9,0x595,_0xd35783._0x57bd3c,0x560)){const _0x58e8d8={};return _0x58e8d8[_0x4e6ce9(0x234,0x21e,0x277,0x2c8)]=_0x7de277[_0x532a34(_0xd35783._0x46048d,0x41f,0x48c,_0xd35783._0x176447)],_0x39f392[_0x532a34(0x41a,_0xd35783._0x46ec60,0x4aa,0x493)](0x2515+-0x5*0x7b+-0x211e)[_0x4e6ce9(_0xd35783._0x410343,0x1b7,_0xd35783._0x3e8c9f,_0xd35783._0x5245f1)](_0x58e8d8);}else await _0x1a9df3[_0x532a34(0x39d,_0xd35783._0x39ea8d,0x428,0x43c)](_0xba124a);}catch(_0x5e9128){}}const _0x4bbe32={};_0x4bbe32[_0x4e6ce9(_0xd35783._0x5070f7,0x2ce,0x272,0x2f2)]=_0x2deaf4,await _0x7de277[_0x4e6ce9(0x2ed,_0xd35783._0x2b593c,_0xd35783._0x29d804,0x1df)](updateUser,_0x4de8d4[_0x532a34(0x4b0,_0xd35783._0x3fcfff,0x46b,_0xd35783._0x1ed94a)]['id'],_0x4bbe32);const _0x15807d={};_0x15807d[_0x532a34(_0xd35783._0x5a1e1b,_0xd35783._0x2dcc8c,0x49f,0x424)]=_0x4de8d4[_0x4e6ce9(_0xd35783._0x60fed4,_0xd35783._0xdccef2,_0xd35783._0x1fe31b,_0xd35783._0x427fb6)]['id'],_0x15807d[_0x532a34(0x56b,0x54f,0x4df,0x56b)]=_0x2deaf4,logger[_0x4e6ce9(_0xd35783._0x4514d4,_0xd35783._0x43e7b1,0x20d,_0xd35783._0x55ec1b)](_0x7de277[_0x4e6ce9(_0xd35783._0x29167c,_0xd35783._0x1d0abd,_0xd35783._0x4951b8,0x212)],_0x15807d);const _0x553c77={};_0x553c77[_0x4e6ce9(0x200,0x2f5,0x272,0x2fb)]=_0x2deaf4,_0x553c77[_0x4e6ce9(0x262,0x1b3,0x215,_0xd35783._0x2e5317)]=_0x4e6ce9(_0xd35783._0x898c5,0x1ef,_0xd35783._0x23c6b4,_0xd35783._0x39b750)+_0x2deaf4,_0x1e9af8[_0x532a34(_0xd35783._0x3f3ec2,0x54c,0x4ce,0x51b)](_0x553c77);}catch(_0x1f4623){if(_0x7de277[_0x4e6ce9(_0xd35783._0x18a9b5,_0xd35783._0x1b2320,_0xd35783._0x17f7a2,0x18c)](_0x7de277[_0x532a34(0x45e,_0xd35783._0x4bee7c,_0xd35783._0x464975,0x4a5)],_0x7de277[_0x532a34(_0xd35783._0x500ef5,0x4ca,0x532,_0xd35783._0x353bf7)])){logger[_0x4e6ce9(0x2a0,0x2b7,_0xd35783._0x5d99d3,0x1f7)](_0x7de277[_0x532a34(_0xd35783._0x59d796,0x45e,0x42d,_0xd35783._0x253dbc)],_0x1f4623);const _0x7d18e={};_0x7d18e[_0x4e6ce9(_0xd35783._0x63fcc5,_0xd35783._0x267f95,_0xd35783._0x936bd9,0x2c6)]=_0x7de277[_0x4e6ce9(0x145,0x1e5,0x191,_0xd35783._0x4f0ad0)],_0x1e9af8['status'](0x699+0xf84+0xd*-0x18d)[_0x532a34(_0xd35783._0x3cf5d9,_0xd35783._0x37a59c,_0xd35783._0x547070,0x43d)](_0x7d18e);}else{const _0x45b045={};_0x45b045[_0x532a34(_0xd35783._0x3a1de7,0x4cc,0x474,_0xd35783._0x1a75dd)]=_0x571f42,_0x23640f[_0x4e6ce9(_0xd35783._0x4c2982,_0xd35783._0x47f25b,0x19e,0x120)](_0x7de277[_0x532a34(_0xd35783._0x8b671a,0x455,_0xd35783._0x13bf4c,_0xd35783._0x2eba48)],_0x45b045);const _0x237aee={};return _0x237aee[_0x532a34(0x49e,0x51e,_0xd35783._0x1535e3,_0xd35783._0x2bb1c7)]=_0x7de277['GxpDI'],_0x237aee[_0x4e6ce9(_0xd35783._0x3c1086,_0xd35783._0x5b200c,_0xd35783._0x2daa4a,0x2c1)]=_0x532a34(_0xd35783._0x63f67b,_0xd35783._0x57f0d4,_0xd35783._0xf1a6cd,0x481)+'ername\x20or\x20'+_0x4e6ce9(_0xd35783._0x2c92a8,_0xd35783._0x35aa73,_0xd35783._0x437b9e,0x2f2),_0x1b983f[_0x4e6ce9(_0xd35783._0x27a598,_0xd35783._0x15500b,0x20e,0x17f)](0x1*0x15da+0x80*0x4e+-0x3b49)[_0x532a34(_0xd35783._0xf31600,0x4b6,0x4ce,_0xd35783._0x887d2f)](_0x237aee);}}}),router[_0x46b2e4(0x19a,0x1d7,0x1e4,0x20b)](_0x46b2e4(0x1da,0x1a6,0x217,0x20e)+_0x46b2e4(0x185,0x201,0x13b,0x1d5),requireAuth,async(_0x1ddc6a,_0x37ae41)=>{const _0x5d9cab={_0x3cbcaf:0x3dc,_0x126608:0x3cc,_0x3b4469:0x70,_0xe6621:0x23b,_0x3a0c4e:0x13d,_0x3474ba:0x10d,_0x3dca0c:0x15e,_0x27f81e:0x18f,_0x2ec0eb:0x155,_0x40a9bc:0x13a,_0x323639:0x187,_0x270362:0xa6,_0x5d89aa:0xe3,_0x1174b8:0x1f7,_0x4ffd6d:0x1d1,_0x2da7eb:0x23c,_0x4d67a7:0x21a,_0x6d71d3:0x1b2,_0x42b066:0x430,_0x5d2638:0x41f,_0x3a71f3:0x42a,_0x5e76da:0x445,_0x4643f9:0x3c3,_0x8523f2:0x36d,_0x2236f8:0x519,_0x2897a3:0x492,_0x3a1203:0x3bf,_0x8173c1:0x399,_0x15903c:0x423,_0x2a1e6a:0x42a,_0x65f2ee:0x427,_0xa8e9b3:0x3ef,_0x4af88f:0x39e,_0x151f2c:0x3b0,_0x38a3b6:0x3a7,_0x260fdd:0x428,_0x40aabb:0x47e,_0x355fb6:0x4ae,_0x3577aa:0x144,_0x5e0595:0x1c5,_0x143cbe:0x1bd,_0x1e7942:0x17a,_0x54d69c:0x1a3,_0x481ab3:0x25f,_0x37a0f5:0x145,_0x33ddec:0x14e,_0xd95f58:0x102,_0x5b7901:0x1e3,_0x2840e7:0x426,_0x311b7f:0x402,_0x3c7326:0x44a,_0x4ed5bd:0x434,_0x3ba437:0x42e,_0x436631:0x4b3,_0x1096a3:0x1f5,_0x5be384:0x20f},_0xa97481={_0x391faa:0x39},_0x1b72fa={_0x260c05:0x169};function _0x3349a7(_0x3171b1,_0x33dc6b,_0x25ca8c,_0x57d535){return _0x31480b(_0x33dc6b-_0x1b72fa._0x260c05,_0x25ca8c,_0x25ca8c-0xda,_0x57d535-0x128);}function _0x800ffd(_0x670adb,_0x30f28c,_0x218d9c,_0x1ad129){return _0x46b2e4(_0x218d9c- -_0xa97481._0x391faa,_0x30f28c-0x173,_0x218d9c-0x103,_0x1ad129);}const _0x558168={'LDcUq':_0x3349a7(0x45b,_0x5d9cab._0x3cbcaf,0x418,_0x5d9cab._0x126608),'uKnFf':'UwNtO','vdTOe':_0x800ffd(_0x5d9cab._0x3b4469,0x90,0xea,0xa4),'sDKJt':function(_0x4b80c9,_0x4355c2){return _0x4b80c9(_0x4355c2);},'bYmdf':_0x800ffd(0x1f1,0x1c7,0x1f1,_0x5d9cab._0xe6621)+_0x800ffd(_0x5d9cab._0x3a0c4e,_0x5d9cab._0x3474ba,_0x5d9cab._0x3dca0c,0x1e3),'xACqL':_0x800ffd(0x181,0x126,0x1b5,0x1c4)+_0x800ffd(_0x5d9cab._0x27f81e,_0x5d9cab._0x2ec0eb,_0x5d9cab._0x40a9bc,_0x5d9cab._0x323639)+_0x800ffd(_0x5d9cab._0x270362,0x7b,_0x5d9cab._0x5d89aa,0x72)};try{if(_0x558168[_0x800ffd(0x194,0x1c3,_0x5d9cab._0x1174b8,0x244)]===_0x558168['vdTOe']){const _0x135a85={};_0x135a85['name']=_0x343a90[_0x800ffd(_0x5d9cab._0x4ffd6d,_0x5d9cab._0x2da7eb,0x1e9,_0x5d9cab._0x4d67a7)+'d'],_0x135a85[_0x3349a7(0x334,0x3a4,0x3c4,0x3f2)]=_0x501b6e,_0x135a85[_0x800ffd(_0x5d9cab._0x6d71d3,0x14b,0x126,0xbb)+_0x3349a7(0x48f,_0x5d9cab._0x42b066,0x416,0x480)]=_0x446408,_0x135a85['via']=_0x558168['LDcUq'],_0x1d7cfc[_0x3349a7(_0x5d9cab._0x5d2638,_0x5d9cab._0x3a71f3,0x3ef,0x3f3)](_0x280265[_0x3349a7(_0x5d9cab._0x5e76da,0x49d,0x4a4,0x442)+'d'],_0x135a85);}else{const _0x2cabbc=await _0x558168[_0x3349a7(0x3bb,_0x5d9cab._0x4643f9,_0x5d9cab._0x8523f2,0x366)](findUserById,_0x1ddc6a['user']['id']);if(_0x2cabbc[_0x3349a7(_0x5d9cab._0x2236f8,_0x5d9cab._0x2897a3,0x46c,0x4fc)]){const _0x48b6d7=_0x2516d5['join'](AVATARS_DIR,_0x2cabbc['avatar']);try{await _0x1a9df3['unlink'](_0x48b6d7);}catch(_0x490bfc){}const _0x4401c0={};_0x4401c0[_0x3349a7(0x425,_0x5d9cab._0x2897a3,0x404,0x506)]=null,await updateUser(_0x1ddc6a[_0x3349a7(0x398,0x3ef,_0x5d9cab._0x3a1203,_0x5d9cab._0x8173c1)]['id'],_0x4401c0);const _0x5a29e5={};_0x5a29e5[_0x3349a7(0x404,_0x5d9cab._0x15903c,_0x5d9cab._0x2a1e6a,_0x5d9cab._0x65f2ee)]=_0x1ddc6a[_0x3349a7(0x3ef,_0x5d9cab._0xa8e9b3,_0x5d9cab._0x4af88f,_0x5d9cab._0x151f2c)]['id'],logger[_0x3349a7(0x48f,0x42d,0x490,_0x5d9cab._0x38a3b6)](_0x558168[_0x3349a7(0x3f1,0x479,_0x5d9cab._0x260fdd,0x3f5)],_0x5a29e5);}const _0x39e82a={};_0x39e82a[_0x3349a7(_0x5d9cab._0x40aabb,_0x5d9cab._0x355fb6,0x4e6,0x499)]=_0x558168[_0x800ffd(0x210,_0x5d9cab._0x3577aa,_0x5d9cab._0x5e0595,0x1ef)],_0x37ae41[_0x800ffd(_0x5d9cab._0x143cbe,_0x5d9cab._0x1e7942,0x19e,_0x5d9cab._0x54d69c)](_0x39e82a);}}catch(_0x1ee2cb){logger[_0x800ffd(0x23c,_0x5d9cab._0x481ab3,0x1e3,0x1f2)](_0x558168[_0x800ffd(_0x5d9cab._0x37a0f5,0x1af,_0x5d9cab._0x33ddec,_0x5d9cab._0xd95f58)],_0x1ee2cb);const _0x4ae539={};_0x4ae539[_0x800ffd(0x17e,0x23e,_0x5d9cab._0x5b7901,0x250)]=_0x558168[_0x3349a7(_0x5d9cab._0x2840e7,_0x5d9cab._0x311b7f,0x40d,_0x5d9cab._0x3c7326)],_0x37ae41[_0x3349a7(_0x5d9cab._0x4ed5bd,_0x5d9cab._0x3ba437,_0x5d9cab._0x436631,0x49b)](-0xf*-0x135+0x14bf+-0x24e6)[_0x800ffd(0x1d4,_0x5d9cab._0x1096a3,0x19e,_0x5d9cab._0x5be384)](_0x4ae539);}}),router[_0x46b2e4(0x1b4,0x17e,0x232,0x188)](_0x31480b(0x2ec,0x332,0x36f,0x344)+_0x46b2e4(0x1ac,0x1ad,0x23c,0x168),requireAuth,async(_0x25aaca,_0x520041)=>{const _0x117031={_0x29956a:0x92,_0x5c1e24:0x102,_0x16beb1:0x165,_0x12a14e:0xc1,_0xd04972:0xfb,_0x40ac64:0x80,_0x454554:0x6e,_0x3b8877:0x10d,_0x3901a4:0x8,_0x22da39:0xed,_0x580a89:0x5e,_0x3db28b:0x46,_0x29443c:0x5d,_0x45678d:0x144,_0xaabb54:0xfb,_0x2ea39c:0xb5,_0x386edd:0x18e,_0x1fc6b2:0x182,_0x460e06:0xe8,_0x1ac79a:0x127,_0x1ae942:0xfe,_0x40d6d1:0x73,_0x33f7a1:0x14f,_0x5535e8:0x11a,_0x5ee8d5:0x113,_0x56bd29:0xc1,_0x3a3728:0x111,_0x265493:0xc9,_0x5db06e:0xf2,_0x28f07a:0x58,_0x24bcbc:0x21,_0x4ece46:0x9a,_0x489800:0x150,_0x4222bb:0xd8,_0xc84468:0x138,_0x31e0f2:0xbb,_0x2d167f:0xb2,_0x1367b5:0x61,_0x184d24:0xce,_0x1ef146:0xb9,_0x240948:0x6a,_0x32e1ff:0x50,_0x4b6e73:0x5b,_0x39c685:0x3f,_0x82b08b:0x9,_0x139fe5:0x41,_0x5e66cb:0x2f,_0x229da4:0xa2,_0x4216ba:0x117,_0x13dd0d:0x16c,_0x198714:0x96,_0x294e82:0x3a,_0x42d057:0x1c5,_0x45b804:0xe4,_0x5837fb:0xfc,_0x2f88df:0x7f,_0x25dc81:0xc,_0x2da4de:0x1bc,_0x5ad8a1:0x17c,_0x2fc51d:0x182,_0x252b2f:0x5,_0x33ba6d:0x65,_0x453c52:0x99,_0x39c1cb:0x124,_0x15f732:0x11f,_0x391b64:0x10f,_0x20236b:0x84,_0x28b19a:0xf3,_0x42d78b:0xd0,_0x103038:0x0,_0x4ece53:0x6c,_0x16c787:0x1d,_0x551425:0x116,_0x308807:0x8d,_0x33f3fb:0xf,_0x553df4:0xfd,_0x5e36e3:0x154,_0x49df9d:0xbf,_0x4215cf:0x11,_0x3c49ca:0x114,_0x1eb629:0x182,_0x5ed9d4:0x1f4,_0x5efb25:0x1b0,_0x31779a:0x192,_0x50b01:0xef,_0x4d4eb1:0xb2,_0x5bd324:0x79,_0x1e8fe0:0x16a,_0x4cd455:0x182,_0x3d8c49:0x1ec,_0x54e18b:0xa4,_0x4bfd01:0x159,_0x465f67:0x185,_0x43de92:0x166,_0x582694:0x10c,_0x37b05a:0x103,_0x5c0fba:0xf0,_0x10bb72:0x18c,_0x1426e5:0x181,_0x1f47fb:0x17b,_0x36856e:0x105,_0x481459:0xc8,_0x11dace:0x12b,_0x3d7f75:0x118,_0x1dc7c6:0xc9,_0x4a2336:0x6c,_0x518a19:0xf6,_0x4f0e09:0x6e,_0x43c6ba:0x1d,_0x3ac308:0xfb,_0x3093ad:0xb7,_0x7c58aa:0xf4,_0x4ccf61:0x35,_0x30ea8b:0x41,_0x77fe75:0xca,_0x91cdd8:0x154,_0x1f83b2:0xcb,_0x11a9c5:0x15b,_0x130ac2:0x1f6,_0x3718a2:0x17c,_0x3fde1d:0x18f,_0x5f2704:0x0,_0x9edf3c:0x2e,_0x4442f8:0xd1,_0x150ffb:0x90,_0x269ae3:0x101,_0x1ffe9c:0x7e,_0x122a40:0x69,_0x118e3c:0x2d,_0x253f0a:0x99},_0x387582={_0x267f65:0x42e,_0x324253:0x404,_0x405471:0x3a8,_0x157ef1:0x401,_0x422e38:0x206,_0x5315f8:0x4f9,_0x458b30:0x4cb,_0x26d683:0x238,_0x189150:0x244},_0x41e955={_0x40d64d:0x373,_0x8ee352:0x1a9},_0x430217={_0x5172e9:0x1b2,_0x33e4cf:0xd9,_0x492a61:0x19a},_0x4c15c3={'mDUSP':function(_0x54b193,_0x2a28fa,_0x215e86){return _0x54b193(_0x2a28fa,_0x215e86);},'SRxGM':function(_0x585637,_0x5ecef2,_0x34dc3e,_0xfdfcea){return _0x585637(_0x5ecef2,_0x34dc3e,_0xfdfcea);},'Vucfn':_0x11e90a(0x130,0x183,0x14c,0x1d3)+_0x11e90a(0x83,_0x117031._0x29956a,_0x117031._0x5c1e24,_0x117031._0x16beb1)+'hip','ywmYA':_0x55cebc(-0xf3,-_0x117031._0x12a14e,-_0x117031._0xd04972,-0x9d)+_0x11e90a(0x14f,0x180,0x13d,0xaf),'nGYTF':'Permission'+'\x20resolutio'+'n\x20failed\x20f'+_0x11e90a(_0x117031._0x40ac64,_0x117031._0x454554,0xf9,_0x117031._0x3b8877),'lzXNE':_0x55cebc(_0x117031._0x3901a4,-0x38,0x18,0x57),'cZAEQ':function(_0x130c48,_0x415fcc){return _0x130c48(_0x415fcc);},'NWfaU':function(_0x10fde3,_0x1dcb51,_0x1c88ad){return _0x10fde3(_0x1dcb51,_0x1c88ad);},'crITu':_0x55cebc(-0x117,-_0x117031._0x22da39,-0x14c,-0x11a),'xprPk':function(_0x314d0a,_0xdd7871){return _0x314d0a!==_0xdd7871;},'FjiCq':_0x55cebc(-0x7c,-0xb7,-_0x117031._0x580a89,-0xf5)+'t','Pdwqv':function(_0x1a94e9,_0x4248c){return _0x1a94e9>_0x4248c;},'peuYB':function(_0x41d8be,_0x4f2f7c){return _0x41d8be!==_0x4f2f7c;},'pHhGd':'GGcFa','RlkAe':function(_0x4cdf77,_0x37515f,_0x32138d){return _0x4cdf77(_0x37515f,_0x32138d);},'PKMFS':_0x55cebc(-_0x117031._0x3db28b,-0xc2,-0x70,-_0x117031._0x29443c),'oSHaK':function(_0xf39b97,_0x12aea4){return _0xf39b97===_0x12aea4;},'MvfdR':'direct','QQsDZ':function(_0x38052a,_0x11982a){return _0x38052a!==_0x11982a;},'RGEfo':_0x55cebc(-_0x117031._0x45678d,-_0x117031._0xaabb54,-0xee,-_0x117031._0x2ea39c),'EHVHb':_0x11e90a(0x11e,_0x117031._0x386edd,0x14e,0xe7)+_0x11e90a(_0x117031._0x1fc6b2,0xc8,0x142,_0x117031._0x460e06)+'e\x20access\x20i'+_0x55cebc(-0x120,-0xe7,-_0x117031._0x1ac79a,-0x122),'OSoVL':_0x55cebc(-_0x117031._0x1ae942,-_0x117031._0x40d6d1,-0x5d,0x1)+'get\x20access'+_0x55cebc(-_0x117031._0x33f7a1,-_0x117031._0x5535e8,-0x8a,-_0x117031._0x5ee8d5)};function _0x11e90a(_0x4b2fbd,_0x3caafe,_0x26a701,_0x1b2a32){return _0x31480b(_0x26a701- -_0x430217._0x5172e9,_0x3caafe,_0x26a701-_0x430217._0x33e4cf,_0x1b2a32-_0x430217._0x492a61);}function _0x55cebc(_0x3ce26c,_0x4a6ee5,_0x1ecd80,_0x3eedc8){return _0x31480b(_0x4a6ee5- -_0x41e955._0x40d64d,_0x3ce26c,_0x1ecd80-_0x41e955._0x8ee352,_0x3eedc8-0x58);}try{if(_0x4c15c3[_0x11e90a(_0x117031._0x16beb1,_0x117031._0x56bd29,0xf8,_0x117031._0x3a3728)]!==_0x4c15c3[_0x55cebc(-0x78,-_0x117031._0x265493,-0x94,-0x127)])_0x4c15c3[_0x11e90a(_0x117031._0x5db06e,_0x117031._0x28f07a,0x7d,_0x117031._0x24bcbc)](_0x507e1e,null,!![]);else{const _0x56003a=_0x25aaca['user']['id'],_0x14c00b=await _0x4c15c3[_0x11e90a(0xca,0xa2,_0x117031._0x4ece46,0x77)](getTeamsByUserId,_0x56003a),_0x48bf44=await Promise[_0x55cebc(-0x133,-0xfd,-0x17e,-0x178)](_0x14c00b['map'](async _0x4312fe=>{const _0x29355f={_0x1f8373:0x7e,_0x33457c:0x374},_0x58f056={_0x175452:0x179},_0x1e78e2=await _0x4c15c3[_0xcdfa85(_0x387582._0x267f65,0x3b3,0x3bf,_0x387582._0x324253)](hasPermission,_0x56003a,_0x4c15c3['Vucfn'],_0x4312fe['id']);function _0x46345c(_0x1bae67,_0x290021,_0x1172a9,_0x178a2d){return _0x11e90a(_0x1bae67-0x58,_0x178a2d,_0x1172a9-_0x58f056._0x175452,_0x178a2d-0x70);}const _0x42a134={};_0x42a134['id']=_0x4312fe['id'],_0x42a134[_0xcdfa85(0x391,_0x387582._0x405471,0x46c,_0x387582._0x157ef1)]=_0x4312fe[_0x46345c(0x238,0x1dc,_0x387582._0x422e38,0x238)],_0x42a134[_0xcdfa85(0x4c8,_0x387582._0x5315f8,0x524,_0x387582._0x458b30)+_0x46345c(_0x387582._0x26d683,0x21c,_0x387582._0x189150,0x22a)]=_0x1e78e2;function _0xcdfa85(_0x24b7ee,_0x561478,_0x2b8c9f,_0x4f45cc){return _0x11e90a(_0x24b7ee-_0x29355f._0x1f8373,_0x2b8c9f,_0x4f45cc-_0x29355f._0x33457c,_0x4f45cc-0x1a7);}return _0x42a134;})),_0xd21b47=new Map(),_0x56919c=await _0x4c15c3[_0x11e90a(_0x117031._0x489800,0x54,_0x117031._0x4222bb,_0x117031._0xc84468)](getBindingsBySubject,_0x4c15c3['crITu'],_0x56003a);for(const _0x5272a0 of _0x56919c){if(_0x4c15c3[_0x55cebc(-_0x117031._0x31e0f2,-0x95,-0x113,-_0x117031._0x2d167f)](_0x5272a0['resource_t'+'ype'],_0x4c15c3[_0x55cebc(-_0x117031._0x1367b5,-_0x117031._0x184d24,-0x103,-0x67)])||!_0x5272a0['resource_i'+'d'])continue;const _0x8167ad=await _0x4c15c3['cZAEQ'](getRoleById,_0x5272a0[_0x55cebc(-0x103,-0x108,-_0x117031._0x1ae942,-0xd8)]),_0x3f7b78=_0x8167ad?_0x8167ad['name']:_0x5272a0[_0x11e90a(0xe1,0x6d,_0x117031._0x1ef146,0x3b)],_0x346a75=_0x8167ad?_0x8167ad[_0x11e90a(_0x117031._0x240948,0x91,0x88,0xe1)+'s'][_0x55cebc(-0x63,-0x4e,-_0x117031._0x32e1ff,-0x1a)]:0x1*-0x187a+-0x14*0x175+-0x359e*-0x1,_0x293765=_0xd21b47[_0x11e90a(0xcb,0x116,0x114,0x14c)](_0x5272a0[_0x55cebc(-_0x117031._0x4b6e73,-_0x117031._0x39c685,_0x117031._0x82b08b,-_0x117031._0x139fe5)+'d']);(!_0x293765||_0x4c15c3[_0x55cebc(-0x3,-_0x117031._0x5e66cb,-0x67,-_0x117031._0x229da4)](_0x346a75,_0x293765[_0x11e90a(0x93,0xcb,0xbf,0x47)+_0x11e90a(_0x117031._0x4216ba,_0x117031._0x13dd0d,0x115,_0x117031._0x198714)]))&&_0xd21b47['set'](_0x5272a0['resource_i'+'d'],{'name':_0x5272a0[_0x55cebc(-0x9b,-_0x117031._0x39c685,-0xa5,_0x117031._0x294e82)+'d'],'roleName':_0x3f7b78,'rolePermCount':_0x346a75,'via':_0x11e90a(0x119,0x96,0xc1,0x10c)});}for(const _0x1a6b01 of _0x14c00b){if(_0x4c15c3[_0x11e90a(0x14a,0x10f,0x164,_0x117031._0x42d057)](_0x11e90a(_0x117031._0x45b804,_0x117031._0x5837fb,_0x117031._0x2f88df,_0x117031._0x25dc81),_0x4c15c3['pHhGd'])){const _0x231948={};return _0x231948[_0x11e90a(_0x117031._0x2da4de,0x158,_0x117031._0x5ad8a1,_0x117031._0x2fc51d)]=_0x4c15c3[_0x11e90a(_0x117031._0x252b2f,0xb,0x8c,0x8d)],_0x16aa1c['status'](-0x2499+0x6ad+-0x150*-0x18)['json'](_0x231948);}else{const _0x14f069=await _0x4c15c3[_0x55cebc(-0xc1,-0xa9,-_0x117031._0x33ba6d,-0x2b)](getBindingsBySubject,_0x4c15c3['PKMFS'],_0x1a6b01['id']);for(const _0x37e74b of _0x14f069){if(_0x4c15c3['peuYB'](_0x37e74b[_0x55cebc(-_0x117031._0x453c52,-_0x117031._0x39c1cb,-0x18d,-_0x117031._0x15f732)+'ype'],_0x4c15c3[_0x11e90a(_0x117031._0x391b64,_0x117031._0x20236b,_0x117031._0x28b19a,_0x117031._0x42d78b)])||!_0x37e74b[_0x55cebc(_0x117031._0x103038,-_0x117031._0x39c685,-_0x117031._0x4ece53,_0x117031._0x16c787)+'d'])continue;const _0x56180d=await getRoleById(_0x37e74b['role_id']),_0x304597=_0x56180d?_0x56180d[_0x11e90a(0xd0,_0x117031._0x551425,_0x117031._0x308807,_0x117031._0x33f3fb)]:_0x37e74b[_0x11e90a(0xa0,0x7b,_0x117031._0x1ef146,_0x117031._0x553df4)],_0x437ad8=_0x56180d?_0x56180d[_0x55cebc(-0xb5,-0x139,-_0x117031._0x5e36e3,-0x142)+'s'][_0x55cebc(-0xd2,-0x4e,-_0x117031._0x49df9d,_0x117031._0x4215cf)]:0x2665+0xe17*0x1+0xd1f*-0x4,_0x41b6bd=_0x55cebc(-0x116,-0xa6,-0xd3,-0xac)+_0x1a6b01[_0x11e90a(0xfe,0xfd,0x8d,0xf4)],_0x57ca65=_0xd21b47[_0x11e90a(0x189,_0x117031._0x1ac79a,_0x117031._0x3c49ca,0x123)](_0x37e74b[_0x11e90a(0x17f,0x1ed,_0x117031._0x1eb629,_0x117031._0x5ed9d4)+'d']);(!_0x57ca65||_0x4c15c3[_0x11e90a(_0x117031._0x5efb25,0x10a,_0x117031._0x31779a,0x132)](_0x437ad8,_0x57ca65[_0x55cebc(-0xa3,-0x102,-_0x117031._0x5e36e3,-_0x117031._0x50b01)+_0x55cebc(-0x52,-0xac,-_0x117031._0x240948,-0x102)]))&&_0xd21b47[_0x55cebc(-0x41,-_0x117031._0x4d4eb1,-0x5d,-_0x117031._0x5bd324)](_0x37e74b[_0x11e90a(_0x117031._0x1e8fe0,0x168,_0x117031._0x4cd455,_0x117031._0x3d8c49)+'d'],{'name':_0x37e74b[_0x55cebc(-0x63,-0x3f,-_0x117031._0x54e18b,0x4b)+'d'],'roleName':_0x304597,'rolePermCount':_0x437ad8,'via':_0x4c15c3[_0x11e90a(_0x117031._0x4bfd01,_0x117031._0x465f67,_0x117031._0x43de92,_0x117031._0x582694)](_0x57ca65?.[_0x55cebc(-_0x117031._0x37b05a,-0xb8,-_0x117031._0x5c0fba,-0x134)],_0x4c15c3[_0x11e90a(0x1c6,_0x117031._0x10bb72,_0x117031._0x1426e5,0x16f)])?_0x4c15c3[_0x11e90a(0x194,_0x117031._0x1f47fb,0x181,0x13d)]:_0x41b6bd});}}}const _0x1850bf=[..._0xd21b47[_0x11e90a(_0x117031._0x36856e,_0x117031._0x481459,_0x117031._0x11dace,_0x117031._0x3d7f75)]()][_0x11e90a(_0x117031._0x1dc7c6,_0x117031._0x4a2336,_0x117031._0x518a19,_0x117031._0x4f0e09)](({rolePermCount:_0x568779,..._0x2e20db})=>_0x2e20db),_0x38674a={};_0x38674a[_0x55cebc(-0x2,-_0x117031._0x33ba6d,-0x48,-_0x117031._0x43c6ba)]=_0x48bf44,_0x38674a[_0x55cebc(-_0x117031._0x3ac308,-_0x117031._0x3093ad,-0xf9,-_0x117031._0x7c58aa)+'ts']=_0x1850bf,_0x520041['json'](_0x38674a);}}catch(_0x419c42){if(_0x4c15c3[_0x55cebc(0x22,-_0x117031._0x4ccf61,-0x40,_0x117031._0x30ea8b)](_0x4c15c3[_0x55cebc(-0x10e,-0x118,-_0x117031._0x77fe75,-_0x117031._0x91cdd8)],_0x4c15c3[_0x55cebc(-_0x117031._0x1f83b2,-0x118,-_0x117031._0x11a9c5,-0x188)])){const _0x1d7fb1={};_0x1d7fb1[_0x11e90a(_0x117031._0x130ac2,0x1d4,_0x117031._0x3718a2,_0x117031._0x3fde1d)]=_0x54d822[_0x55cebc(_0x117031._0x5f2704,-_0x117031._0x9edf3c,-0x9a,0x64)],_0x1d7fb1[_0x55cebc(-0xd4,-_0x117031._0x4442f8,-_0x117031._0x150ffb,-0xd7)]=_0x112afa[_0x11e90a(_0x117031._0x269ae3,_0x117031._0x50b01,0xf0,0x168)],_0x51718d[_0x11e90a(0x13d,0x155,0x17c,0x1de)](_0x4c15c3[_0x11e90a(0x72,0xd4,_0x117031._0x1ffe9c,_0x117031._0x122a40)],_0x1d7fb1);}else{logger[_0x55cebc(-0x87,-0x45,-_0x117031._0x118e3c,-0xc5)](_0x4c15c3[_0x11e90a(0xd3,0xd3,_0x117031._0x22da39,_0x117031._0x253f0a)],_0x419c42);const _0x234da2={};_0x234da2[_0x11e90a(0x115,0x106,0x17c,0x1cf)]=_0x4c15c3['OSoVL'],_0x520041[_0x55cebc(-0x65,-0xae,-0xff,-0x87)](-0x2528+0x3*0x143+-0x1*-0x2353)[_0x11e90a(0x195,0x187,0x137,0xc9)](_0x234da2);}}});export default router;
|
|
1
|
+
function _0x30d047(_0x3e4fed,_0x40dd47,_0x173195,_0x3a6130){return _0x5862(_0x173195- -0x29d,_0x3e4fed);}function _0x4b16(){const _0x163cb4=['yw5KifDLyLaGyq','s2LuBgi','DNzUCxG','DxnLCM5HBwu','yM9KEq','ELLSz1q','Aw1Hz2uVCg5N','zw1HAwXFBwvUDa','ChjLzMvYzw5Jzq','EKr1B2O','uMDet1a','zfP1Dhe','y2Lntg4','CM9Szv9Pza','DLLXBw8','Dg9gAwXL','Aw5JBhvKzxm','vNbKuLu','C3rHy2S','DgvHBxm6BwfUyq','l2XVz2LU','CMvZB3vYy2vFAq','BgrrBMe','CM9SzvbLCM1dBW','C3rHDhvZ','ruvysvnu','qKnru3q','zw1WDa','uNzkshi','te5dq20','wg16uNq','u1bVt1i','s0jfvum','DMLKzwq','wxz6A3u','mZq2nZqWs2rkAvPz','ENjqrMC','y2vUDgvY','DxbSB2fKigf2yq','rMfPBgvKihrVia','rg5JBvO','y3Ljr2i','sxvRv0q','AM9PBG','zM1kDLa','tg9Nz2vKig91Da','tg9NAw4GzMfPBa','C3nPB24','DxnLCKLK','Dw50','DxnLCG','yxbPs2v5','vNrZuKu','l21L','D2fYBG','tg9NAw4GC3vJyW','DgLVBIbMywLSzq','CgvYBwLZC2LVBG','Eg9Jtxa','BM93','zMrAAeK','zgf0zwq','t0X1Eu8','BuDZBKO','tvDfwLK','C2v0','EuvRA2m','z3L5BLq','BwfW','Be5KrNm','t1DSquG','DcbIzsbLBxb0Eq','ywDL','rvrtEhi','zxjIs0q','qMv3Cee','qwfMuhC','CxvHBgL0Eq','BMfTzq','y292zxi','qw4GzxjYB3iGBW','sw52ywXPzcb1CW','CMvJDxjZAxzL','A2v5swq','CxLtyxq','Awjez3C','thbsALy','BM5RB0O','lNbUzW','BguGDhLWzs4GtW','CMvZB3vYy2vFDa','uenkCgq','DhjPBq','BNrov3q','AgLW','vxnLCM5HBwuGyq','yxzHDgfY','q0XjigXVz2LUia','Cg5Orw0','mte4mdy1nZHtBNHuyNK','Aw5MBW','Aw1Hz2uVz2LM','zgLYzwn0','Bg9HzgvK','Aw4Gyxr0zw1WDa','y3jLyxrLihnLCW','tMfTzsbJyw5UBW','DMfSDwvZ','C3nhzNu','sLjZu00','vxnLCIbSB2DNzq','DuPisMW','BgX5','l2f2yxrHCNmV','zMLSzw5HBwu','CM9Szu5HBwu','BMX5iePqruCSia','tM8GzMLSzsb1Ca','AxjLza','zML0','z3brzem','C2vZC2LVBG','yvj1s00','zw52AxjVBM1LBG','zsbHy2nLC3mGAq','ugvYBwLZC2LVBG','n0vXq0rxtG','zgvZDhjVEq','zgvZDhjVEsbZzq','x3rHC2TZ','B2H2yvy','B2fKzwq','vvjsC1i','yNvMzMvY','Dg9YEq','A2v5CW','re90vMO','Cg9ZAxrPB24','zxnZzNvS','EvbSt3u','rMfPBgvKigXVzW','DgfYCYbKAxjLyW','BNrPy2f0Aw9U','Cg9ZDa','B3zLza','AMP3uNe','vxnLCIbUB3qGzG','De96z28','wezwv3y','txrqB2i','C2LVBG','zenhz1i','rhviExq','q1LHu2q','y2jlEMK','igLUzM8','mJGXnZeWzNrgvgPu','wwfeDwe','sffwvMe','uxbuA0u','uhDkq00','A1zkzu0','qM13yxO','t1HQsLq','s1jcA3K','qxzHDgfYihjLBq','C1jlD0S','z2v0ihbYB2zPBa','ANnVBG','A1fywM4','Aw1Hz2uVANbLzW','CMuGywXSB3DLza','BMzV','yxzHDgfYlq','tg9NAw4GzxjYBW','BgvK','og5TrvPRqW','C2LUz2XL','rKPyvva','ENfktMS','igXVz2LUigf0Da','sgfSAui','Dg5uvgG','zxjYB3i','CMvTB3zLigf2yq','EfrcB3i','l3bYB2zPBgu','tg9NB3v0igzHAq','r1DjEui','BIbMywLSzwqGzG','u3LKuMi','rLjXDLa','ssbSB2DPBG','uNDjq0O','zwLfswO','zcbVDxq','mZiYnJiYnhbMChHqtW','rvrOAey','rMfPBgvKienmsq','Cxrlv0W','zcbHCMuGCMvXDq','DxbKyxrLihbYBW','t1fZENK','tM8GDMfSAwqGDq','AMD6C0K','DfPUEvK','yxzHDgfYCW','otjtt21jsNm','DMLH','y2XLyxjdB29RAq','DfvjAgu','wKz3r2i','DhLtEMO','EgLuzeO','u3vHuvi','l3bYB2zPBguVyq','rurOzuu','y29Kzq','B3iGl21L','wuDQBLq','DgvHBxm','tM5Kyu8','EMvSy0y','sw52ywXPzcbMAq','qxv0AgvUDgLJyq','qLjxDNK','zxjUyw1Lig9Yia','y2n1CNjLzcbKDq','CMvZAxPL','twLZC2LUzYbJCG','BMnVrKC','Dw5SAw5R','DuXjCLO','BwLTzxr5Cgu','ALzwze0','BMqGCgfZC3DVCG','mtq2mdi4nKL2DvLpAa','l2XVz291Da','B3vUza','DMf0yxi','z2v0','zMLSzq','uM91DgvY','zw1IzxjZ','CgrHDgvZihbYBW','wLvID0u','y1vguM4','CMLUzYbHDxrOzq','y2nLC3m','s0PQC2W','mJe1mZG4nwr6t0zTzq','CgfZC3DVCMq','AwfUvLO','mtiWmtq3zNnpDwvj','BgvZigzVCIbdta','y29KzxiUC2LK','BwvZC2fNzq','DKnmB2q','zw50C19VBL9TEq','zwrLBNrPywXZ','zw1HAwW','BLLhvem','zw1HAwXFy29TBq','DgfY','ve5iC1i','z2v0igfJy2vZCW','D0nyDfa','CMvZB2X2zsbYBW','vgLqzNO','C3nOx3vZzxjUyq','C2f2zq','t1L1qLm','BgvUz3rO','ihn1y2nLC3nMDq','Aw1Hz2uVD2vICa','s2Lxq3G','ExbL','l2nSAs1SB2DPBG','ue5hlcbhsuySia','yxzxAeC','DgPqu28','AMrzAvi','ChjVzMLSzq','DLvPr1e','zuL3BLy','ywXS'];_0x4b16=function(){return _0x163cb4;};return _0x4b16();}(function(_0x5ee079,_0x16efe0){const _0x5bf4a6={_0x377eea:0x2d5,_0x23f637:0x2c4,_0x53382a:0x303,_0x257139:0x399,_0x46e363:0x355,_0x1ecbd2:0x13f,_0x57130c:0x1a6,_0x4ed93f:0x100,_0x5c3efc:0x33a,_0x1f460a:0x336,_0x23f9df:0x13c,_0x32fd1e:0x150,_0x50c009:0x1a4,_0x55a6fa:0x21d,_0x2ea802:0x30f,_0x2882f0:0x343,_0x4cc363:0x2b8,_0x4539ee:0x34d,_0x5aba18:0x2ca,_0x2f2ca2:0x279},_0x440309={_0x4bd358:0xba},_0x4d145d=_0x5ee079();function _0x251e23(_0x5eb538,_0xf1e428,_0x2ba4ef,_0x2b8460){return _0x5862(_0x2b8460-0x1c1,_0xf1e428);}function _0x3fddc0(_0x23a59c,_0x5737e1,_0x277d20,_0x396181){return _0x5862(_0x23a59c-_0x440309._0x4bd358,_0x277d20);}while(!![]){try{const _0x393d25=-parseInt(_0x251e23(0x350,_0x5bf4a6._0x377eea,_0x5bf4a6._0x23f637,_0x5bf4a6._0x53382a))/(-0x1*0x22a1+0x238e+-0xec)*(parseInt(_0x251e23(_0x5bf4a6._0x257139,_0x5bf4a6._0x46e363,0x36d,0x317))/(0x2e4+0x6fb+-0x65*0x19))+parseInt(_0x3fddc0(_0x5bf4a6._0x1ecbd2,_0x5bf4a6._0x57130c,_0x5bf4a6._0x4ed93f,0x153))/(-0x897+0x1a5*-0x11+-0x539*-0x7)*(parseInt(_0x251e23(_0x5bf4a6._0x5c3efc,0x35b,0x302,_0x5bf4a6._0x1f460a))/(-0x3*0xcc5+-0x57*-0x6d+0x148*0x1))+parseInt(_0x3fddc0(_0x5bf4a6._0x23f9df,_0x5bf4a6._0x32fd1e,0x136,_0x5bf4a6._0x50c009))/(0x6*-0xcc+-0x10c5+0x1592)+-parseInt(_0x251e23(0x246,0x29e,_0x5bf4a6._0x55a6fa,0x235))/(-0x22e3+-0x1a4a+0x3d33)*(parseInt(_0x251e23(0x287,_0x5bf4a6._0x2ea802,_0x5bf4a6._0x2882f0,0x2e5))/(0x831+-0x1b2f+0x21d*0x9))+-parseInt(_0x3fddc0(0x224,0x225,0x26b,0x248))/(-0x738*0x2+0x397+0xae1)+parseInt(_0x251e23(_0x5bf4a6._0x4cc363,0x253,_0x5bf4a6._0x4539ee,_0x5bf4a6._0x5aba18))/(0x11b1+0x1869+-0x2a11)+-parseInt(_0x251e23(0x279,0x2f8,_0x5bf4a6._0x2f2ca2,0x28a))/(0x2*0x110b+0x1186+-0x3392);if(_0x393d25===_0x16efe0)break;else _0x4d145d['push'](_0x4d145d['shift']());}catch(_0xc36f14){_0x4d145d['push'](_0x4d145d['shift']());}}}(_0x4b16,0xdfefa+0x776*0x223+-0x18d*0xae3));import _0x19e5fc from'express';import _0x233413 from'multer';import _0x20d04e from'sharp';import _0x8e1c16 from'path';import{promises as _0x27d388}from'fs';import{validatePassword,updateUser,findUserById}from'../lib/users.js';import{createApiKey}from'../lib/apiKeys.js';import{logger}from'../lib/logger.js';import{requireAuth}from'../middleware/requireAuth.js';import{DATA_DIR}from'../lib/data-dir.js';import{hasPermission,resolveUserRoleNames,resolveAllUserPermissions}from'../lib/permission-resolver.js';import{getTeamsByUserId}from'../lib/teams.js';import{getBindingsBySubject}from'../lib/bindings.js';import{getRoleById}from'../lib/role-definitions.js';const AVATARS_DIR=_0x8e1c16[_0x30d047(-0x1e6,-0x1d8,-0x1cc,-0x210)](DATA_DIR,_0x30d047(-0x150,-0x104,-0x129,-0x194)),AVATAR_SIZE=0x3*-0x9e4+0x20c8+-0x21c,_0x5562fa={};function _0x5862(_0x271d60,_0x38c143){_0x271d60=_0x271d60-(0x2e6*0x5+0xa*0xd3+-0x164a);const _0x333c35=_0x4b16();let _0x152736=_0x333c35[_0x271d60];if(_0x5862['trHJEb']===undefined){var _0x5058e6=function(_0x24f3c5){const _0xe74b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x56cb65='',_0x51efd2='';for(let _0x2989e4=-0x3*-0x92+0x723+0x8d9*-0x1,_0x4093ea,_0x35f446,_0x3aadbc=-0x1417+-0x22*-0x107+-0x1*0xed7;_0x35f446=_0x24f3c5['charAt'](_0x3aadbc++);~_0x35f446&&(_0x4093ea=_0x2989e4%(-0x2007+0xa*0x320+0xcb)?_0x4093ea*(-0x1cdf+0x1*-0x2581+0x42a0)+_0x35f446:_0x35f446,_0x2989e4++%(0x21e9+0x6a5+-0x1445*0x2))?_0x56cb65+=String['fromCharCode'](0x262b*0x1+0x13a9*-0x1+0x1183*-0x1&_0x4093ea>>(-(0x1969*0x1+-0x906+-0x1061)*_0x2989e4&-0x248f+0xb67+0x16*0x125)):0x469+0x2*-0x1385+-0x24f*-0xf){_0x35f446=_0xe74b['indexOf'](_0x35f446);}for(let _0x4efbc1=0x6*-0x34c+-0x1b5a+-0x2*-0x1791,_0x582364=_0x56cb65['length'];_0x4efbc1<_0x582364;_0x4efbc1++){_0x51efd2+='%'+('00'+_0x56cb65['charCodeAt'](_0x4efbc1)['toString'](0x4*-0x28c+0x2462+-0x1a22))['slice'](-(0x18*-0x74+-0x1e3f+-0x2921*-0x1));}return decodeURIComponent(_0x51efd2);};_0x5862['GGshJC']=_0x5058e6,_0x5862['QfbTLw']={},_0x5862['trHJEb']=!![];}const _0x4187af=_0x333c35[-0x1f0a*-0x1+-0x1*-0x11a1+-0x30ab],_0x229ceb=_0x271d60+_0x4187af,_0x21e285=_0x5862['QfbTLw'][_0x229ceb];return!_0x21e285?(_0x152736=_0x5862['GGshJC'](_0x152736),_0x5862['QfbTLw'][_0x229ceb]=_0x152736):_0x152736=_0x21e285,_0x152736;}_0x5562fa['fileSize']=(0x2*0x1210+0x2238+-0x464e)*(0x132b+-0x963*-0x1+-0x1c1*0xe)*(-0x5*0xbd+-0xa*0x1c9+-0x1*-0x198b);const avatarUpload=_0x233413({'storage':_0x233413['memoryStor'+_0x41cd7e(0x354,0x452,0x3e1,0x3d4)](),'limits':_0x5562fa,'fileFilter':(_0x5f72d9,_0x266810,_0x4d8986)=>{const _0x3691a4={_0x5b8f43:0x9d,_0x3f6ad2:0xb1,_0x268a89:0x2a,_0xb2f255:0xf1,_0x2f9d15:0x10e,_0x47e7d6:0xee,_0x2e61d8:0x140,_0x1c7651:0x142,_0x5dbdad:0x61,_0x117357:0x1e,_0xaa6546:0xc5,_0x10f25e:0x147,_0x1c8839:0x1d2,_0x29b65c:0x13a,_0x8cb818:0xb7,_0x42e05f:0x5b,_0x149f61:0x7b,_0x2a870c:0x137,_0xab942f:0xb5,_0x4d9a0e:0x1c1,_0x1aa38b:0x9b},_0x434636={_0x2abcd3:0x2c,_0x399c04:0x4e0},_0x24b867={_0x22bc3c:0x3f2};function _0x4dd3ff(_0xf39f3f,_0x52dad2,_0x35478d,_0x46f8e4){return _0x41cd7e(_0xf39f3f-0x149,_0x52dad2,_0xf39f3f- -_0x24b867._0x22bc3c,_0x46f8e4-0x101);}const _0x3654a4={'mupkz':_0xe207de(-_0x3691a4._0x5b8f43,-_0x3691a4._0x3f6ad2,-_0x3691a4._0x268a89,-0xce),'vBfPR':_0xe207de(-0x141,-_0x3691a4._0xb2f255,-_0x3691a4._0x2f9d15,-0x166),'BKXuX':'image/webp','WThLA':function(_0x562ecc,_0x1e04c0,_0x1fd831){return _0x562ecc(_0x1e04c0,_0x1fd831);},'tZnyY':_0xe207de(-0x68,-0xb5,-0xa0,-0x77)+_0xe207de(-_0x3691a4._0x47e7d6,-0x17b,-_0x3691a4._0x2e61d8,-0x11d)+_0xe207de(-0xd3,-0xce,-0x125,-_0x3691a4._0x1c7651)+_0x4dd3ff(-_0x3691a4._0x5dbdad,_0x3691a4._0x117357,-_0x3691a4._0xaa6546,-0xef)+_0xe207de(-_0x3691a4._0x10f25e,-0x12b,-_0x3691a4._0x1c8839,-_0x3691a4._0x29b65c)+_0x4dd3ff(0x52,0x55,0xdb,0x6f)+'.'};function _0xe207de(_0x1ebbf6,_0xb756b3,_0x5c2906,_0x2a309d){return _0x41cd7e(_0x1ebbf6-_0x434636._0x2abcd3,_0x2a309d,_0x1ebbf6- -_0x434636._0x399c04,_0x2a309d-0x1f1);}const _0x34a718=[_0x3654a4['mupkz'],_0x3654a4['vBfPR'],_0xe207de(-0xe2,-_0x3691a4._0x8cb818,-_0x3691a4._0x42e05f,-_0x3691a4._0x149f61),_0x3654a4['BKXuX']];_0x34a718[_0xe207de(-_0x3691a4._0x2a870c,-0x11d,-_0x3691a4._0xab942f,-_0x3691a4._0x4d9a0e)](_0x266810['mimetype'])?_0x3654a4['WThLA'](_0x4d8986,null,!![]):_0x4d8986(new Error(_0x3654a4[_0xe207de(-0x7a,-0x34,-0x37,-_0x3691a4._0x1aa38b)]));}});async function ensureAvatarsDir(){const _0x2bf88a={_0x36f87b:0x1ab,_0x5361f5:0x16e,_0x172940:0x223,_0x34fe03:0x196,_0x4004aa:0x1fe,_0x5edb3f:0x1e7,_0x5633ea:0x16d,_0x5c2551:0x1cc,_0x4db771:0x138,_0x5a7323:0x259,_0x4a2809:0x289,_0xee8479:0x28a,_0x365487:0xad,_0x33ef41:0xc1,_0x48adb1:0x3e,_0x37fa4c:0x1f1,_0x2c0914:0x288,_0x50444:0x1c9,_0x48d9b0:0x24b,_0x24ed06:0x14d,_0x49a116:0xab,_0x358e97:0x260,_0x4a4252:0x25f,_0xce7e92:0x21f,_0x104076:0x11e,_0x4101b6:0x1a2,_0x3d552a:0x137,_0x2afbc2:0x154,_0x920a1d:0x18b,_0x13066a:0x1aa,_0x4c7e97:0x198,_0x19aa0e:0x1f3,_0xa4be8b:0x10f,_0x50fda4:0xb6,_0x280541:0xd7,_0x528267:0x1e5,_0x69067c:0x8e,_0x412f04:0x1f,_0x456dd0:0x7d,_0x49a800:0xf7,_0xa5e275:0x24d,_0x2bedd6:0x2d8,_0x533689:0x1cd,_0x2bfcd0:0x19c,_0x17c15c:0x11b,_0x3f6a5e:0xc4},_0x4770c2={_0x2d6bb9:0x5c,_0x272ad5:0xb0},_0x4e23c1={_0x5d717b:0xf1},_0x3e77ef={};_0x3e77ef[_0x3f3363(-_0x2bf88a._0x36f87b,-0x1a0,-_0x2bf88a._0x5361f5,-_0x2bf88a._0x172940)]='Failed\x20log'+_0x3f3363(-0x1e7,-0x25d,-0x182,-0x1d0),_0x3e77ef[_0x3f3363(-_0x2bf88a._0x34fe03,-0x1d1,-0x196,-0x16e)]=_0x3f3363(-_0x2bf88a._0x4004aa,-0x245,-_0x2bf88a._0x5edb3f,-0x1ed)+_0x3f3363(-_0x2bf88a._0x5633ea,-_0x2bf88a._0x5c2551,-_0x2bf88a._0x4db771,-0x18e)+'password',_0x3e77ef[_0x3f3363(-0x24d,-0x210,-0x1f0,-_0x2bf88a._0x5a7323)]=function(_0x484dfb,_0x3841c9){return _0x484dfb!==_0x3841c9;};function _0x3f3363(_0x3cff2c,_0x54d5b7,_0x200fdf,_0x3d2fef){return _0x30d047(_0x3d2fef,_0x54d5b7-_0x4e23c1._0x5d717b,_0x3cff2c- -0x58,_0x3d2fef-0x143);}function _0x5c3fb4(_0x2ad1f6,_0x17e6b4,_0x2288b8,_0x276c2d){return _0x30d047(_0x276c2d,_0x17e6b4-_0x4770c2._0x2d6bb9,_0x17e6b4-_0x4770c2._0x272ad5,_0x276c2d-0x1ce);}_0x3e77ef[_0x3f3363(-0x211,-0x23e,-_0x2bf88a._0x4a2809,-_0x2bf88a._0xee8479)]=_0x5c3fb4(-_0x2bf88a._0x365487,-0x11e,-0xd2,-0x17d),_0x3e77ef[_0x5c3fb4(-_0x2bf88a._0x33ef41,-0x92,-_0x2bf88a._0x48adb1,-0x116)]=_0x3f3363(-0x236,-0x21c,-_0x2bf88a._0x37fa4c,-_0x2bf88a._0x2c0914),_0x3e77ef[_0x5c3fb4(-0x106,-0x11b,-0xde,-0x160)]='Failed\x20to\x20'+'create\x20ava'+'tars\x20direc'+_0x3f3363(-_0x2bf88a._0x50444,-0x1de,-0x174,-_0x2bf88a._0x48d9b0);const _0x121b2f=_0x3e77ef;try{const _0x1e7318={};_0x1e7318[_0x5c3fb4(-_0x2bf88a._0x24ed06,-0xf5,-_0x2bf88a._0x49a116,-0x85)]=!![],await _0x27d388['mkdir'](AVATARS_DIR,_0x1e7318);}catch(_0x2e6919){if(_0x121b2f[_0x3f3363(-0x24d,-_0x2bf88a._0x358e97,-_0x2bf88a._0x4a4252,-_0x2bf88a._0xce7e92)](_0x5c3fb4(-0x188,-_0x2bf88a._0x104076,-0x14a,-_0x2bf88a._0x4101b6),_0x121b2f['OLuyO'])){const _0x4c96bf={};_0x4c96bf[_0x5c3fb4(-_0x2bf88a._0x3d552a,-0x144,-0xde,-_0x2bf88a._0x2afbc2)]=_0x48c087,_0x33fdf4['warn'](_0x121b2f[_0x3f3363(-0x1ab,-_0x2bf88a._0x920a1d,-_0x2bf88a._0x13066a,-0x182)],_0x4c96bf);const _0x5a9b72={};return _0x5a9b72[_0x3f3363(-_0x2bf88a._0x4c7e97,-0x1ba,-0x167,-0x19d)]=_0x3f3363(-0x16f,-_0x2bf88a._0x19aa0e,-0x1e3,-0x116)+_0x5c3fb4(-0x14f,-_0x2bf88a._0xa4be8b,-0x135,-_0x2bf88a._0x50fda4)+'d',_0x5a9b72[_0x5c3fb4(-_0x2bf88a._0x280541,-0x165,-_0x2bf88a._0x528267,-0x1c4)]=_0x121b2f[_0x5c3fb4(-0x116,-_0x2bf88a._0x69067c,-_0x2bf88a._0x412f04,-0xbb)],_0x4eb41e['status'](-0x128b+-0x2d7*-0x2+0x2*0x737)[_0x5c3fb4(-_0x2bf88a._0x456dd0,-0x9f,-0x106,-_0x2bf88a._0x49a800)](_0x5a9b72);}else _0x121b2f[_0x3f3363(-_0x2bf88a._0xa5e275,-_0x2bf88a._0x2bedd6,-0x2a9,-0x1f2)](_0x2e6919[_0x3f3363(-0x176,-_0x2bf88a._0x533689,-0x202,-_0x2bf88a._0x2bfcd0)],_0x121b2f['HaliB'])&&logger['error'](_0x121b2f[_0x5c3fb4(-0x112,-_0x2bf88a._0x17c15c,-0xe9,-_0x2bf88a._0x3f6a5e)],_0x2e6919);}}const router=_0x19e5fc[_0x30d047(-0x27d,-0x284,-0x223,-0x260)]();router['post'](_0x30d047(-0x1f8,-0x23e,-0x1e3,-0x177),async(_0x40049c,_0x2772f7)=>{const _0x2ed2ed={_0x54cee9:0xcb,_0x3707af:0x128,_0x2720fd:0x158,_0x2089cd:0x108,_0x3dc505:0x1ec,_0x32b036:0x22c,_0x11693d:0x103,_0x22c90d:0x15a,_0x1d2d72:0xaa,_0x5d8c3e:0xd3,_0x53ed4b:0x11b,_0xf557b9:0x181,_0x16e64f:0x138,_0x313779:0x183,_0x44fed1:0x129,_0x12b182:0x238,_0xcb51db:0xba,_0x3a59c7:0x110,_0x5d2615:0xc1,_0x5baa8a:0x1dd,_0x261017:0x23a,_0xb6632:0x153,_0xcf2b43:0x18e,_0x341121:0x24c,_0x27eb90:0x1ad,_0x5d1c80:0x1b4,_0x596ad8:0x27c,_0x55ac8f:0x26a,_0x10c1e0:0x2db,_0x4f0b40:0x296,_0x4494af:0x267,_0x3fe48b:0x2a3,_0x129357:0x1e7,_0x5dce2f:0x207,_0x2d0830:0x1b1,_0xf46981:0x20e,_0x55baaf:0x29c,_0x33989a:0x2be,_0x2aad27:0x131,_0x3b326b:0x15d,_0x2caa2a:0x1ec,_0x284535:0x162,_0x5f28c8:0x248,_0x39277b:0x264,_0x502d76:0x222,_0x5a6a84:0x1a6,_0x3d1bd2:0x1e4,_0x582daf:0x175,_0x5005e0:0x7f,_0x541e1d:0x17,_0x1f0526:0x9c,_0x31f10b:0x42,_0x402f39:0x126,_0xff75a0:0x190,_0x258478:0xdd,_0x4c52b5:0x167,_0x39a438:0xf1,_0xefee73:0x1ba,_0x555b68:0x229,_0x5ad828:0x1f5,_0x287506:0x283,_0xcd602b:0xa0,_0x403d8e:0xb1,_0x48df14:0x29b,_0x506107:0x19b,_0x2fd78c:0x1f8,_0x80d061:0x152,_0x59e033:0x1bc,_0x999f86:0x215,_0x19e30c:0x1b5,_0x3b86f7:0x1ff,_0x3654a9:0x15f,_0x346018:0x11b,_0x27fddb:0xc6,_0x3c9027:0xd7,_0xf6522f:0x137,_0x1bea70:0xec,_0x19204c:0x202,_0x53f25d:0x1f2,_0x4a096:0x1a8,_0x506954:0x111,_0x33b63b:0x108,_0x351910:0xf3,_0x3e740b:0xfe,_0x5e513c:0x137,_0x3949e0:0x117,_0x4f2062:0x184,_0x193e32:0x93,_0x1776aa:0xc8,_0x70c95c:0x17e,_0x1f6dbf:0x17f,_0x462fa3:0x198,_0x50047f:0x298,_0x39ff85:0x2aa,_0x5076dd:0x18b,_0x547133:0xc0,_0x4cf514:0xd7,_0x378b11:0x13a,_0x34bf1e:0x2de,_0x2f614b:0x2a6,_0x5c5088:0x129,_0x1d362b:0x1af,_0x144b38:0x1c7,_0x2dcdac:0x1a9,_0x5b9e45:0x218,_0x583687:0x205,_0x1c8517:0x9b,_0x8888e6:0x99,_0x51847f:0xe4,_0x5944cc:0x159,_0x1d9f3c:0x160,_0x1ed38b:0x2d0,_0x4b535e:0x25e,_0x3feafb:0x2d2,_0x2ca995:0x171,_0x5cb723:0x106,_0x3afd19:0x106,_0x5000ec:0x1d1,_0x345b01:0x12d,_0x547716:0x118,_0x83931d:0x199,_0x473422:0x224,_0x153090:0x285,_0x2cdfc8:0x1a2,_0x5c8491:0xd9,_0x311be5:0x182,_0x3be481:0x1ef,_0x44dc9e:0x1a5,_0x5c92f7:0x22e,_0x3a0dac:0x118,_0x1ff962:0x1e1,_0x21b174:0x169,_0x2a62b8:0xf0,_0x5135ef:0x1d5,_0x2cdad8:0x1a3,_0xe93f1b:0x196,_0x276404:0x1f0,_0x4f2060:0x18f,_0x5bb990:0x2f,_0x22f1b0:0x1ce,_0xd5bc0a:0xaf,_0x8c0233:0x1b5,_0x39dc0c:0x293,_0x151e1e:0x26d,_0x65bf89:0x2c1,_0x2d8ce7:0x16b,_0x3cf1bf:0x8c,_0x559e47:0x113,_0x1aa823:0x12a},_0x542268={_0x31c341:0x1f1,_0x43b46c:0x265,_0x10f159:0x186,_0x5bfafe:0x19b,_0x369972:0x161,_0x215eff:0xea,_0x54dc79:0x10b,_0x53eab9:0x11f,_0x14cbdc:0x120,_0x57dd83:0x16d,_0x266822:0x199,_0x2f18b1:0x1c0,_0x2c3aeb:0x22a,_0x1067e0:0x12a,_0x225895:0x61,_0x257f00:0x75,_0x2dc1bc:0x153,_0x15c801:0x20d,_0x44bb05:0x193,_0x50a39b:0x158,_0x1a474d:0x13d,_0x2ead28:0xf4,_0x4cc2b8:0xc3,_0x91541a:0xc4,_0xe5e7b5:0xbf,_0x598ab8:0x127,_0x4ad0e7:0x141,_0x27c091:0x1a4,_0x581e82:0x192,_0x357b0d:0x1c3,_0x2955d6:0x114,_0x544076:0x102,_0x2ea8a7:0x103,_0x566e9e:0x13b,_0x31587e:0x17b,_0x16fd09:0x1a8,_0x519241:0x126,_0x1014e8:0x122,_0x39aee8:0x10d,_0x392858:0x183,_0x3df7fe:0x120,_0x3a9f6a:0x135,_0x1dc85e:0x145,_0x5cf0d3:0x148,_0x438ff0:0x22f,_0x21347d:0x13e,_0x15d965:0x1c5,_0x5349bb:0x153,_0x342711:0xe7,_0x6c9b1e:0x15d,_0xee5c58:0x21c,_0x494ff4:0x1bc,_0x1ca5f8:0x16c,_0x4466ef:0x1ba,_0x3b94c2:0xed,_0x4d2392:0x177,_0x48ec4d:0x258,_0x4bd482:0x1b9,_0x39da11:0x1ed,_0x11a4af:0xf4,_0xca0a1d:0x183,_0x161436:0xcd,_0x2d9be9:0x10f,_0x17dad9:0x105,_0x44a7fb:0x15d,_0x4c0ec5:0x212,_0x48efb0:0x267},_0x3fdc19={_0x595559:0x1b9,_0x3fdc4a:0x107},_0x1cb4a6={_0x527dc3:0x150,_0x4ce52b:0x3ad},_0x60668b={_0x4c1503:0x29,_0x518b39:0x78,_0x5608b6:0xe1},_0x4cc0f6={'avWhG':_0x1103bc(-_0x2ed2ed._0x54cee9,-_0x2ed2ed._0x3707af,-_0x2ed2ed._0x2720fd,-_0x2ed2ed._0x2089cd)+_0x176407(0x203,0x25d,_0x2ed2ed._0x3dc505,_0x2ed2ed._0x32b036)+_0x1103bc(-0x113,-0x150,-_0x2ed2ed._0x11693d,-_0x2ed2ed._0x22c90d)+_0x1103bc(-_0x2ed2ed._0x1d2d72,-0x151,-_0x2ed2ed._0x5d8c3e,-0x7f),'zelcF':'Name\x20canno'+_0x1103bc(-_0x2ed2ed._0x53ed4b,-_0x2ed2ed._0xf557b9,-_0x2ed2ed._0x16e64f,-_0x2ed2ed._0x22c90d),'QpTkE':'Username\x20a'+_0x176407(0x195,_0x2ed2ed._0x313779,0x1ec,0x11b)+_0x1103bc(-0x7e,-0x49,-0xb7,-_0x2ed2ed._0x44fed1)+_0x176407(0x269,_0x2ed2ed._0x32b036,0x259,_0x2ed2ed._0x12b182),'HAitJ':function(_0x1029ef,_0x19e431){return _0x1029ef!==_0x19e431;},'XmzRt':'eusPN','PwJCM':function(_0x2f0cf,_0x513126){return _0x2f0cf!==_0x513126;},'yPlOu':_0x1103bc(-0x141,-_0x2ed2ed._0xcb51db,-_0x2ed2ed._0x3a59c7,-_0x2ed2ed._0x5d2615),'fSlKH':_0x176407(0x25a,_0x2ed2ed._0x5baa8a,0x201,_0x2ed2ed._0x261017)+'save\x20sessi'+'on','URRsR':'Failed\x20to\x20'+_0x1103bc(-0xc7,-_0x2ed2ed._0xb6632,-0x116,-_0x2ed2ed._0xcf2b43)+_0x176407(0x220,_0x2ed2ed._0x341121,0x2cc,0x1c0),'KJjsl':_0x176407(_0x2ed2ed._0x27eb90,0x224,0x27a,_0x2ed2ed._0x5d1c80)+'d\x20in','FjLFx':_0x176407(0x273,_0x2ed2ed._0x596ad8,0x220,0x23e)+_0x176407(0x2a3,_0x2ed2ed._0x55ac8f,0x1e6,0x2ba)+_0x1103bc(-0x1b0,-_0x2ed2ed._0x53ed4b,-0x164,-0x156),'KiTlb':_0x176407(_0x2ed2ed._0x10c1e0,_0x2ed2ed._0x4f0b40,_0x2ed2ed._0x4494af,_0x2ed2ed._0x3fe48b)+_0x176407(_0x2ed2ed._0x129357,0x1ee,0x17e,0x25a)+'d','BRWvy':_0x176407(0x250,_0x2ed2ed._0x5dce2f,0x24e,_0x2ed2ed._0x2d0830)+_0x176407(_0x2ed2ed._0xf46981,0x298,_0x2ed2ed._0x55baaf,_0x2ed2ed._0x33989a)+_0x1103bc(-_0x2ed2ed._0x2aad27,-0x1c8,-0x1a2,-_0x2ed2ed._0x3b326b),'mGsnJ':function(_0x71e4aa,_0x55d127){return _0x71e4aa||_0x55d127;},'ieiNd':function(_0x37f143,_0x54123d,_0x2c3d4c){return _0x37f143(_0x54123d,_0x2c3d4c);},'tOzgo':function(_0x11b36a,_0x32d574){return _0x11b36a!==_0x32d574;},'OIXbY':_0x1103bc(-_0x2ed2ed._0x2caa2a,-0x106,-0x176,-0x12e),'ldQna':_0x176407(_0x2ed2ed._0x284535,0x1c2,_0x2ed2ed._0x5dce2f,_0x2ed2ed._0x5f28c8),'aRuKM':_0x176407(0x2b4,_0x2ed2ed._0x39277b,0x222,_0x2ed2ed._0x502d76)+'r','VhTmn':_0x176407(_0x2ed2ed._0x5a6a84,_0x2ed2ed._0x3d1bd2,0x175,_0x2ed2ed._0x582daf)+'ed','ssGfu':'An\x20error\x20o'+_0x1103bc(-_0x2ed2ed._0x5005e0,-_0x2ed2ed._0x541e1d,-_0x2ed2ed._0x1f0526,-_0x2ed2ed._0x31f10b)+_0x1103bc(-_0x2ed2ed._0x402f39,-0x182,-0x1a6,-_0x2ed2ed._0xff75a0)+_0x1103bc(-_0x2ed2ed._0x258478,-_0x2ed2ed._0x4c52b5,-_0x2ed2ed._0x39a438,-0xb1)};function _0x1103bc(_0x493ec3,_0x48ded9,_0x43ddfc,_0x29d571){return _0x30d047(_0x493ec3,_0x48ded9-_0x60668b._0x4c1503,_0x43ddfc-_0x60668b._0x518b39,_0x29d571-_0x60668b._0x5608b6);}const {username:_0x1c35d8,password:_0x20f013}=_0x40049c[_0x176407(0x1ba,_0x2ed2ed._0xefee73,0x132,_0x2ed2ed._0x555b68)];if(_0x4cc0f6[_0x176407(0x264,_0x2ed2ed._0x5ad828,_0x2ed2ed._0x287506,0x238)](!_0x1c35d8,!_0x20f013)){const _0x4348eb={};return _0x4348eb[_0x1103bc(-_0x2ed2ed._0xcd602b,-_0x2ed2ed._0x403d8e,-0xc8,-0x97)]=_0x176407(_0x2ed2ed._0x341121,_0x2ed2ed._0x48df14,0x28c,0x238)+_0x176407(0x169,_0x2ed2ed._0x506107,_0x2ed2ed._0x2fd78c,_0x2ed2ed._0x80d061),_0x4348eb[_0x176407(0x180,0x198,_0x2ed2ed._0x59e033,0x205)]=_0x176407(_0x2ed2ed._0x5ad828,_0x2ed2ed._0x999f86,0x279,0x211)+_0x1103bc(-0x1ce,-0x1cb,-0x1b2,-_0x2ed2ed._0x19e30c)+'d\x20are\x20requ'+_0x176407(_0x2ed2ed._0x3b86f7,0x22c,0x282,0x1d1),_0x2772f7[_0x1103bc(-_0x2ed2ed._0x3654a9,-0x1b8,-0x167,-_0x2ed2ed._0x346018)](0x5f*-0x49+-0x47*0x5d+0x3672)[_0x1103bc(-_0x2ed2ed._0x27fddb,-0x15a,-_0x2ed2ed._0x3c9027,-0x49)](_0x4348eb);}function _0x176407(_0x117451,_0x134644,_0x5a84cb,_0x41afbe){return _0x30d047(_0x41afbe,_0x134644-_0x1cb4a6._0x527dc3,_0x134644-_0x1cb4a6._0x4ce52b,_0x41afbe-0x17c);}try{const _0x401bf6=await _0x4cc0f6['ieiNd'](validatePassword,_0x1c35d8,_0x20f013);if(!_0x401bf6){if(_0x4cc0f6[_0x1103bc(-0x62,-_0x2ed2ed._0xf6522f,-_0x2ed2ed._0x1bea70,-0xb1)](_0x4cc0f6['OIXbY'],_0x176407(_0x2ed2ed._0x19204c,0x280,0x1f7,0x2d2))){const _0x1a3fa0={};_0x1a3fa0[_0x1103bc(-_0x2ed2ed._0x53f25d,-0x1ce,-0x17c,-0x168)]=_0x1c35d8,logger[_0x1103bc(-_0x2ed2ed._0x4a096,-0x142,-0x149,-_0x2ed2ed._0x506954)](_0x1103bc(-0x118,-_0x2ed2ed._0x33b63b,-_0x2ed2ed._0x351910,-_0x2ed2ed._0x3e740b)+_0x1103bc(-0x178,-_0x2ed2ed._0x5e513c,-_0x2ed2ed._0x3949e0,-_0x2ed2ed._0x4f2062),_0x1a3fa0);const _0x56523d={};return _0x56523d[_0x1103bc(-0xf7,-_0x2ed2ed._0x193e32,-_0x2ed2ed._0x1776aa,-0x143)]=_0x4cc0f6[_0x1103bc(-0x18d,-0x1e6,-_0x2ed2ed._0x70c95c,-_0x2ed2ed._0x1f6dbf)],_0x56523d[_0x176407(0x202,_0x2ed2ed._0x462fa3,0x164,0x1e3)]='Invalid\x20us'+_0x176407(0x26f,_0x2ed2ed._0x50047f,_0x2ed2ed._0x39ff85,0x305)+'password',_0x2772f7[_0x1103bc(-0x134,-_0x2ed2ed._0x3a59c7,-_0x2ed2ed._0x4c52b5,-_0x2ed2ed._0x5076dd)](0x743+-0x2239+-0x1c87*-0x1)[_0x1103bc(-0xdb,-_0x2ed2ed._0x547133,-_0x2ed2ed._0x4cf514,-_0x2ed2ed._0x378b11)](_0x56523d);}else{_0x2edb80[_0x176407(_0x2ed2ed._0x34bf1e,0x26d,_0x2ed2ed._0x2f614b,0x1ea)](_0x4cc0f6[_0x176407(_0x2ed2ed._0x5c5088,_0x2ed2ed._0x1d362b,_0x2ed2ed._0x144b38,_0x2ed2ed._0x378b11)],_0x53fb39);const _0x4f0107={};_0x4f0107[_0x176407(0x2fc,0x26d,0x1ee,0x226)]=_0x176407(_0x2ed2ed._0x2dcdac,0x1dd,_0x2ed2ed._0x5b9e45,0x1be)+_0x1103bc(-_0x2ed2ed._0x583687,-_0x2ed2ed._0x1d362b,-0x194,-_0x2ed2ed._0x80d061)+_0x1103bc(-_0x2ed2ed._0x1c8517,-_0x2ed2ed._0x8888e6,-_0x2ed2ed._0x51847f,-0xe3),_0x2fd474[_0x176407(_0x2ed2ed._0x5944cc,0x1ce,_0x2ed2ed._0x1d9f3c,0x1bf)](0x21b3+-0xba2+-0x141d)[_0x176407(_0x2ed2ed._0x1ed38b,_0x2ed2ed._0x4b535e,0x2ca,_0x2ed2ed._0x3feafb)](_0x4f0107);}}_0x40049c[_0x1103bc(-0x18a,-_0x2ed2ed._0x2ca995,-_0x2ed2ed._0x5cb723,-0x18d)][_0x176407(0x1d9,0x1e6,0x197,0x175)]=_0x401bf6['id'],_0x40049c[_0x1103bc(-0xb2,-0x17c,-_0x2ed2ed._0x3afd19,-0x178)][_0x1103bc(-_0x2ed2ed._0x5000ec,-0x164,-0x17c,-_0x2ed2ed._0x345b01)]=_0x401bf6['username'],_0x40049c['session'][_0x1103bc(-_0x2ed2ed._0x547716,-0x122,-_0x2ed2ed._0x83931d,-_0x2ed2ed._0x473422)]=_0x401bf6['email'],_0x40049c[_0x176407(_0x2ed2ed._0x153090,0x22f,0x26e,_0x2ed2ed._0x39ff85)][_0x1103bc(-0xba,-0xca,-0x131,-0x178)]=_0x401bf6[_0x1103bc(-0x1aa,-0x191,-0x131,-_0x2ed2ed._0x2cdfc8)],_0x40049c[_0x1103bc(-_0x2ed2ed._0x5c8491,-0xc5,-0x106,-_0x2ed2ed._0x311be5)][_0x176407(_0x2ed2ed._0x3be481,_0x2ed2ed._0x44dc9e,_0x2ed2ed._0x5c92f7,_0x2ed2ed._0x3a0dac)+'me']=_0x401bf6['ssh_userna'+'me'],_0x40049c[_0x1103bc(-0x136,-0x10f,-0x106,-0x136)][_0x176407(_0x2ed2ed._0x1ff962,_0x2ed2ed._0x5a6a84,_0x2ed2ed._0x1d362b,0x12c)](_0x5bad92=>{const _0x5a6547={_0x515146:0xe3,_0x3f93a3:0x1b0},_0x583364={};_0x583364['eiEIj']=_0x4cc0f6[_0x4fdfb3(_0x542268._0x31c341,0x235,_0x542268._0x43b46c,0x1e4)];function _0x4fdfb3(_0xeda464,_0x33b966,_0x45bc80,_0xb59a8a){return _0x176407(_0xeda464-_0x3fdc19._0x595559,_0xb59a8a- -0x71,_0x45bc80-_0x3fdc19._0x3fdc4a,_0x33b966);}const _0x4f9b44=_0x583364;function _0x117dc7(_0x3bb64a,_0x3816f8,_0x34ffb9,_0x6c8928){return _0x1103bc(_0x3816f8,_0x3816f8-_0x5a6547._0x515146,_0x34ffb9- -0x2c,_0x6c8928-_0x5a6547._0x3f93a3);}if(_0x4cc0f6['HAitJ'](_0x4fdfb3(0x1ed,_0x542268._0x10f159,_0x542268._0x5bfafe,0x1de),_0x4cc0f6[_0x4fdfb3(0x151,0x1d7,_0x542268._0x369972,0x163)])){if(_0x5bad92){if(_0x4cc0f6[_0x117dc7(-_0x542268._0x215eff,-0xbd,-_0x542268._0x54dc79,-_0x542268._0x53eab9)](_0x4cc0f6[_0x117dc7(-0x129,-0x10a,-_0x542268._0x14cbdc,-_0x542268._0x57dd83)],_0x4cc0f6[_0x117dc7(-_0x542268._0x266822,-0x14c,-0x120,-0x10f)])){const _0x3ae4c2={};return _0x3ae4c2[_0x4fdfb3(0x274,0x262,0x229,0x1fc)]=_0x4fdfb3(0x20c,_0x542268._0x2f18b1,0x258,_0x542268._0x2c3aeb)+_0x4fdfb3(0x15e,0x10f,0x19f,_0x542268._0x1067e0),_0x3ae4c2[_0x4fdfb3(0xd3,0xda,0xef,0x127)]=_0x4f9b44[_0x117dc7(-_0x542268._0x225895,-_0x542268._0x257f00,-0xe9,-_0x542268._0x2dc1bc)],_0x287e60[_0x117dc7(-_0x542268._0x15c801,-0x1f8,-_0x542268._0x44bb05,-_0x542268._0x50a39b)](0xb4+-0x21f0+0x22*0x106)['json'](_0x3ae4c2);}else{logger['error'](_0x4cc0f6['fSlKH'],_0x5bad92);const _0xf14ae3={};return _0xf14ae3[_0x117dc7(-0x153,-_0x542268._0x1a474d,-_0x542268._0x2ead28,-0x155)]=_0x117dc7(-0x18e,-0x1a1,-0x17d,-0xf4)+'ed',_0xf14ae3[_0x4fdfb3(_0x542268._0x4cc2b8,_0x542268._0x91541a,_0x542268._0xe5e7b5,_0x542268._0x598ab8)]=_0x4cc0f6[_0x117dc7(-_0x542268._0x4ad0e7,-_0x542268._0x27c091,-0x127,-_0x542268._0x581e82)],_0x2772f7[_0x4fdfb3(0xd3,_0x542268._0x357b0d,0xf6,0x15d)](0x1*0xfb7+0x1e9b+0x765*-0x6)[_0x117dc7(-_0x542268._0x2955d6,-_0x542268._0x544076,-_0x542268._0x2ea8a7,-_0x542268._0x566e9e)](_0xf14ae3);}}const _0x5cb186={};_0x5cb186[_0x117dc7(-0x199,-0x19f,-_0x542268._0x31587e,-0x199)]=_0x401bf6['id'],_0x5cb186[_0x117dc7(-0x1b3,-0x201,-_0x542268._0x16fd09,-0x1cb)]=_0x401bf6[_0x4fdfb3(0x17c,0x15c,0x13c,0x148)],logger[_0x117dc7(-0x141,-_0x542268._0x519241,-0x147,-_0x542268._0x1014e8)](_0x4cc0f6[_0x4fdfb3(_0x542268._0x39aee8,_0x542268._0x392858,_0x542268._0x31587e,_0x542268._0x3df7fe)],_0x5cb186);const _0x40405a={};_0x40405a['id']=_0x401bf6['id'],_0x40405a[_0x4fdfb3(_0x542268._0x3a9f6a,0x138,_0x542268._0x1dc85e,_0x542268._0x5cf0d3)]=_0x401bf6['username'],_0x40405a['email']=_0x401bf6[_0x117dc7(-_0x542268._0x438ff0,-_0x542268._0x21347d,-_0x542268._0x15d965,-_0x542268._0x5349bb)],_0x40405a['name']=_0x401bf6[_0x117dc7(-_0x542268._0x342711,-0x162,-_0x542268._0x6c9b1e,-_0x542268._0x2ea8a7)],_0x40405a[_0x117dc7(-0x1d2,-_0x542268._0xee5c58,-_0x542268._0x494ff4,-_0x542268._0x1ca5f8)+'me']=_0x401bf6['ssh_userna'+'me'];const _0x5ba567={};_0x5ba567[_0x4fdfb3(_0x542268._0x4466ef,_0x542268._0x3b94c2,0x17e,_0x542268._0x4d2392)]=_0x40405a,_0x2772f7[_0x4fdfb3(0x270,_0x542268._0x48ec4d,_0x542268._0x4bd482,_0x542268._0x39da11)](_0x5ba567);}else{const _0x1ea97c={};return _0x1ea97c[_0x117dc7(-0xf1,-0xf1,-_0x542268._0x11a4af,-_0x542268._0xca0a1d)]=_0x4cc0f6[_0x117dc7(-0x53,-0x3e,-_0x542268._0x161436,-_0x542268._0x2d9be9)],_0x432392[_0x4fdfb3(0x118,0x123,_0x542268._0x17dad9,_0x542268._0x44a7fb)](0x1b9f+0x102b*-0x1+0x2*-0x4f2)[_0x4fdfb3(_0x542268._0x4c0ec5,_0x542268._0x48efb0,0x260,_0x542268._0x39da11)](_0x1ea97c);}});}catch(_0x3e03bf){if(_0x4cc0f6['ldQna']!==_0x4cc0f6[_0x1103bc(-0x111,-0x13b,-_0x2ed2ed._0x21b174,-_0x2ed2ed._0x2a62b8)]){const _0x509f46={};_0x509f46['username']=_0x559b2d,_0x2b2059[_0x176407(0x22b,0x1ec,0x268,_0x2ed2ed._0x5135ef)](_0x4cc0f6['FjLFx'],_0x509f46);const _0x336897={};return _0x336897['error']=_0x4cc0f6[_0x1103bc(-_0x2ed2ed._0x582daf,-_0x2ed2ed._0x2cdad8,-0x17e,-_0x2ed2ed._0xe93f1b)],_0x336897[_0x176407(_0x2ed2ed._0x276404,_0x2ed2ed._0x462fa3,0x13f,_0x2ed2ed._0x4f2060)]=_0x4cc0f6[_0x1103bc(-_0x2ed2ed._0x5bb990,-0x4f,-0x9e,-0x51)],_0x289417[_0x176407(0x199,_0x2ed2ed._0x22f1b0,0x19e,0x1a1)](-0x23e8+-0x2125+0x469e)[_0x1103bc(-0x14a,-0x97,-_0x2ed2ed._0x3c9027,-_0x2ed2ed._0xd5bc0a)](_0x336897);}else{logger['error'](_0x4cc0f6[_0x176407(_0x2ed2ed._0x8c0233,0x230,_0x2ed2ed._0x39dc0c,0x1c4)],_0x3e03bf);const _0x44ebc3={};_0x44ebc3[_0x176407(0x2a2,_0x2ed2ed._0x151e1e,_0x2ed2ed._0x65bf89,0x27a)]=_0x4cc0f6['VhTmn'],_0x44ebc3[_0x176407(_0x2ed2ed._0x2d8ce7,0x198,_0x2ed2ed._0x506107,0x217)]=_0x4cc0f6[_0x1103bc(-_0x2ed2ed._0x3cf1bf,-0x103,-_0x2ed2ed._0x559e47,-0x18a)],_0x2772f7[_0x1103bc(-_0x2ed2ed._0x1aa823,-0x1f1,-0x167,-0x1f0)](0xef3+-0x1982*0x1+0x1*0xc83)[_0x1103bc(-0xf5,-0x14e,-0xd7,-0x14d)](_0x44ebc3);}}}),router[_0x41cd7e(0x3b8,0x3a3,0x428,0x45d)](_0x30d047(-0x2b3,-0x21b,-0x228,-0x1f8),(_0x6a4b92,_0x58fc53)=>{const _0x56297e={_0x137b12:0x12f,_0x45b572:0x1a3,_0x341887:0x4c4,_0x82e7cc:0x424,_0x216145:0x4a7,_0x1ff0ca:0x4e7,_0x547740:0x4ad,_0x336a19:0x4ce,_0x67fcfe:0x1ca,_0x46c4e3:0x2a6,_0x20ea4b:0x1d1,_0x2c5719:0x57e,_0x18afd3:0x57c,_0x59a79b:0x53b,_0x529650:0x512,_0x281e6d:0x4a1,_0x5c0232:0x52f,_0x2106ce:0x4ff,_0x36c43d:0x509,_0x116b56:0x5d0,_0x36fd9d:0x558,_0x121f90:0x1ed,_0x103ef1:0x17d,_0x52628b:0x153,_0x1a5dd4:0x471,_0x5c7c05:0x3ec,_0xa0628b:0x473,_0x56d479:0x53b,_0x5544e3:0x1a7,_0x159710:0x15c,_0xda744e:0xcd,_0x2a4211:0x171,_0x304fb0:0x184},_0x17f573={_0x2411a8:0xd,_0x4fc8a2:0x93,_0x578aa4:0x52,_0x4ea3f0:0xf,_0x2524ee:0x19,_0x58e944:0x39,_0x54dc5a:0xac,_0x472f2e:0x9e,_0x529697:0x32,_0x5423bd:0x4f,_0x26ef9d:0x6f,_0x39538b:0x9e,_0x12e9ce:0x39,_0x31c7dc:0x7f,_0x5254d2:0x84,_0x5a8561:0xc4,_0x2fad3a:0x7,_0x149631:0xd5,_0x519b1b:0x2,_0x574ee7:0x7d,_0x3142ec:0x36,_0x2415e2:0x17,_0x2c06b7:0x75,_0x539854:0x1b,_0x3baff2:0x5c,_0x425d93:0x25},_0x5e0f62={_0x22c596:0x5b},_0x2b6736={_0x5e7a81:0x350,_0x5eb997:0xce},_0x48ad3e={_0x1f0bf7:0x41,_0x5b3d3a:0xe7,_0x347399:0x16f};function _0x5a45b6(_0x5bea3b,_0x517fc3,_0x3b1dd2,_0x15d491){return _0x41cd7e(_0x5bea3b-_0x48ad3e._0x1f0bf7,_0x517fc3,_0x15d491-_0x48ad3e._0x5b3d3a,_0x15d491-_0x48ad3e._0x347399);}const _0x1f1a0c={};_0x1f1a0c[_0x64e65f(_0x56297e._0x137b12,_0x56297e._0x45b572,0x198,0x1c3)]=_0x5a45b6(0x463,_0x56297e._0x341887,_0x56297e._0x82e7cc,_0x56297e._0x216145)+_0x5a45b6(0x56b,_0x56297e._0x1ff0ca,_0x56297e._0x547740,0x500)+_0x5a45b6(_0x56297e._0x336a19,0x523,0x45e,0x4af),_0x1f1a0c[_0x64e65f(_0x56297e._0x67fcfe,0x22b,_0x56297e._0x46c4e3,_0x56297e._0x20ea4b)]=_0x5a45b6(_0x56297e._0x2c5719,_0x56297e._0x18afd3,0x572,_0x56297e._0x59a79b)+_0x5a45b6(0x4c8,_0x56297e._0x529650,_0x56297e._0x281e6d,_0x56297e._0x5c0232),_0x1f1a0c[_0x5a45b6(_0x56297e._0x2106ce,_0x56297e._0x36c43d,_0x56297e._0x116b56,_0x56297e._0x36fd9d)]='User\x20logge'+'d\x20out',_0x1f1a0c[_0x64e65f(0x244,_0x56297e._0x121f90,_0x56297e._0x103ef1,0x168)]='coder.sid',_0x1f1a0c[_0x64e65f(0xdb,0x167,0x14c,_0x56297e._0x52628b)]='Logged\x20out'+_0x5a45b6(0x487,_0x56297e._0x1a5dd4,_0x56297e._0x5c7c05,_0x56297e._0xa0628b)+'lly';const _0x207018=_0x1f1a0c;function _0x64e65f(_0x299a8a,_0x1c0695,_0x36f27d,_0x338fb6){return _0x30d047(_0x338fb6,_0x1c0695-0x78,_0x1c0695-_0x2b6736._0x5e7a81,_0x338fb6-_0x2b6736._0x5eb997);}const _0x3bc5ea=_0x6a4b92[_0x5a45b6(0x510,0x490,_0x56297e._0x56d479,0x4f9)]?.['userId'],_0x3e9067=_0x6a4b92['session']?.[_0x64e65f(_0x56297e._0x5544e3,_0x56297e._0x159710,0x1b5,_0x56297e._0xda744e)];_0x6a4b92[_0x64e65f(0x202,0x1d2,_0x56297e._0x2a4211,0x1cc)][_0x64e65f(0x176,0x1d8,_0x56297e._0x304fb0,0x23f)](_0x37a476=>{const _0x28b8e4={_0x24d47b:0x160,_0x4ea108:0x48b};function _0x3d1848(_0x1710d1,_0xe405d0,_0x278323,_0x5ed646){return _0x64e65f(_0x1710d1-0x85,_0x5ed646- -0x1dc,_0x278323-_0x5e0f62._0x22c596,_0x278323);}function _0x3a0233(_0x4e508b,_0x30fb65,_0x264186,_0x3f9ee0){return _0x5a45b6(_0x4e508b-0x1dd,_0x264186,_0x264186-_0x28b8e4._0x24d47b,_0x3f9ee0- -_0x28b8e4._0x4ea108);}if(_0x37a476){const _0x1b156b={};_0x1b156b[_0x3a0233(_0x17f573._0x2411a8,_0x17f573._0x4fc8a2,-_0x17f573._0x578aa4,0x25)]=_0x3bc5ea,_0x1b156b['username']=_0x3e9067,logger[_0x3d1848(-_0x17f573._0x4ea3f0,-_0x17f573._0x2524ee,_0x17f573._0x58e944,0x34)](_0x207018['erbKD'],_0x37a476,_0x1b156b);const _0x49af9c={};return _0x49af9c[_0x3a0233(0x7f,0x7e,0x4d,_0x17f573._0x54dc5a)]=_0x207018[_0x3d1848(_0x17f573._0x472f2e,0x42,-_0x17f573._0x529697,_0x17f573._0x5423bd)],_0x49af9c[_0x3d1848(-_0x17f573._0x26ef9d,-0x54,-0x10b,-0xa1)]=_0x207018[_0x3d1848(-_0x17f573._0x39538b,-0x5b,-0xbc,-0x39)],_0x58fc53[_0x3d1848(-0x91,-0xab,-_0x17f573._0x2524ee,-0x6b)](-0xd0*0x2f+-0x2364+0x1*0x4b88)['json'](_0x49af9c);}const _0x5f3abc={};_0x5f3abc['userId']=_0x3bc5ea,_0x5f3abc[_0x3a0233(_0x17f573._0x12e9ce,0x17,_0x17f573._0x31c7dc,-0x8)]=_0x3e9067,logger[_0x3a0233(-0x1c,0x3e,_0x17f573._0x5254d2,0x59)](_0x207018[_0x3d1848(_0x17f573._0x5a8561,0xe3,-_0x17f573._0x2fad3a,0x55)],_0x5f3abc),_0x58fc53[_0x3a0233(_0x17f573._0x149631,0x7c,0x148,0xc6)+'e'](_0x207018[_0x3d1848(_0x17f573._0x519b1b,-_0x17f573._0x574ee7,0x2f,0x11)]);const _0x26a3da={};_0x26a3da[_0x3a0233(_0x17f573._0x3142ec,0x5e,-0x6c,-0x29)]=_0x207018[_0x3d1848(_0x17f573._0x2415e2,-0x4c,-0xf3,-_0x17f573._0x2c06b7)],_0x58fc53[_0x3d1848(0x83,_0x17f573._0x539854,-_0x17f573._0x3baff2,_0x17f573._0x425d93)](_0x26a3da);});}),router[_0x30d047(-0x1ce,-0x215,-0x225,-0x269)](_0x41cd7e(0x3ec,0x3dc,0x3ce,0x414),requireAuth,async(_0x414c88,_0x4d9968)=>{const _0x2f84b9={_0x121529:0x175,_0x48f8a9:0x2b0,_0x5c1b89:0x253,_0x4425b5:0x295,_0x4c81c3:0x29d,_0x18849c:0x24e,_0x3e1c85:0x2b8,_0x151357:0x346,_0xdacfab:0x286,_0x142c33:0x372,_0x1e8a34:0x300,_0x1616aa:0x20f,_0x4deb7c:0x316,_0x36457c:0x2d4,_0x5795ed:0x326,_0x5f504b:0x22b,_0x1e3cb2:0x2af,_0x5436a4:0x190,_0x10a886:0x1b7,_0x3a22d9:0x1a9,_0x301af9:0x1c8,_0x17a314:0x2c0,_0x864652:0x252,_0x258c16:0x31f,_0x5e7edb:0x2bc,_0x56062d:0x301,_0x1d1603:0x296,_0x1dc4c6:0x30d,_0x1de80e:0x15f,_0x3b3017:0x1be,_0x1d1085:0x342,_0x5bfb7b:0x391,_0x248dad:0x2ac,_0x7a9cb1:0x348,_0x1f4b61:0x224,_0x26f50f:0x2d2,_0x2b178a:0x26b,_0x92fd2f:0x345,_0x42517b:0x34b,_0x5e84c8:0x201,_0x263152:0x180,_0xcfbd4c:0x193,_0x487a4b:0x1a8,_0x2e31e6:0x327,_0x61f1f0:0x1d1,_0x21bbea:0x16c,_0x336c18:0x30f,_0x15b9a5:0x2d4,_0x22165e:0x1a1,_0x518fa3:0x1d1,_0x306f12:0x23f,_0x41b0c2:0x1f3,_0xbbf6e6:0x176,_0x377c79:0x19d,_0x2e7444:0x20c,_0x5ed55a:0x1b6,_0x1cf4e2:0x17a,_0x2f0d2c:0x156,_0xf3a277:0x1c2,_0x4ee826:0x1ea,_0x5f03fa:0x205,_0x3f60a6:0x1d2,_0x50e611:0x1cb,_0x1ed036:0x287,_0x37e556:0x347,_0x2f6759:0x2f6,_0x3627bd:0x205,_0x2ce7e9:0x237,_0x382544:0x27a,_0x154cc3:0x2d7,_0x1bad39:0x291,_0x5d6d34:0x2a7,_0x516bfa:0x12a,_0x3e9f98:0x11d,_0xa2ae6d:0x37c,_0x5e5545:0x2bb,_0x168feb:0x2b7,_0x18731b:0x2f0,_0x37a2ff:0x354,_0x321fa6:0x2f0,_0x5cb7ec:0x36f,_0x377302:0x2d8,_0x347082:0x32e,_0x5787a0:0x29b,_0x50b4f3:0x369,_0x5aac36:0x2b1,_0x119a84:0x358,_0x383892:0x1ef,_0x52d2af:0x211,_0x38597e:0x1fa,_0xe67e15:0x319,_0x1ab5b2:0x33b,_0xbd6f45:0x2f4,_0x5aac21:0x2ee,_0x45afaa:0xf6,_0x49b720:0x132},_0x1c14b3={_0x30e338:0x1d};function _0x4737d4(_0x36952b,_0x5cc608,_0x203890,_0x3119f9){return _0x41cd7e(_0x36952b-0x1cb,_0x5cc608,_0x3119f9- -0x6bb,_0x3119f9-0xf7);}const _0x168341={'zBWKu':function(_0x511378,_0x97f543){return _0x511378!==_0x97f543;},'Yvzku':_0x421aa6(-0x101,-0x1bf,-0x13d,-_0x2f84b9._0x121529),'RKdXg':function(_0x5283ae,_0x285658){return _0x5283ae(_0x285658);},'ZUbwE':_0x4737d4(-0x254,-_0x2f84b9._0x48f8a9,-_0x2f84b9._0x5c1b89,-0x2a5)+'\x20resolutio'+_0x4737d4(-_0x2f84b9._0x4425b5,-_0x2f84b9._0x4c81c3,-0x254,-0x265)+_0x4737d4(-_0x2f84b9._0x18849c,-_0x2f84b9._0x3e1c85,-0x2c8,-0x248)};function _0x421aa6(_0xf241cd,_0x3cdc79,_0x2c6f08,_0xd409bf){return _0x30d047(_0xd409bf,_0x3cdc79-0x36,_0x2c6f08-_0x1c14b3._0x30e338,_0xd409bf-0x188);}try{if(_0x168341['zBWKu'](_0x168341[_0x4737d4(-_0x2f84b9._0x151357,-_0x2f84b9._0xdacfab,-_0x2f84b9._0x142c33,-_0x2f84b9._0x1e8a34)],_0x4737d4(-0x26e,-0x29f,-_0x2f84b9._0x1616aa,-0x285))){const _0x45d970={};_0x45d970[_0x4737d4(-0x2cb,-_0x2f84b9._0x4deb7c,-_0x2f84b9._0x4425b5,-_0x2f84b9._0x36457c)]=_0x428f72[_0x4737d4(-0x393,-0x2d2,-_0x2f84b9._0x5795ed,-0x30d)+'d'],_0x45d970[_0x4737d4(-0x2a4,-0x254,-_0x2f84b9._0x5f504b,-_0x2f84b9._0x1e3cb2)]=_0x22143b,_0x45d970[_0x421aa6(-_0x2f84b9._0x5436a4,-0x138,-0x1c3,-_0x2f84b9._0x10a886)+_0x421aa6(-0x1e3,-0x22e,-_0x2f84b9._0x3a22d9,-_0x2f84b9._0x301af9)]=_0x443034,_0x45d970[_0x4737d4(-_0x2f84b9._0x17a314,-0x27e,-0x1fb,-_0x2f84b9._0x864652)]=_0x4737d4(-0x286,-0x25f,-_0x2f84b9._0x258c16,-_0x2f84b9._0x5e7edb),_0x5b9fd8[_0x4737d4(-0x2c4,-0x2ae,-0x340,-0x2e1)](_0x413f1d[_0x4737d4(-_0x2f84b9._0x56062d,-_0x2f84b9._0x1d1603,-_0x2f84b9._0x5795ed,-_0x2f84b9._0x1dc4c6)+'d'],_0x45d970);}else{const _0x44253b=await _0x168341['RKdXg'](findUserById,_0x414c88['user']['id']),_0x487adf={};_0x487adf['server']=[],_0x487adf[_0x421aa6(-0xfa,-0x135,-_0x2f84b9._0x1de80e,-_0x2f84b9._0x3b3017)+'ts']={},_0x487adf['teams']={};let _0x4bda19=_0x487adf;try{_0x4bda19=await _0x168341['RKdXg'](resolveAllUserPermissions,_0x414c88[_0x4737d4(-0x285,-0x32b,-_0x2f84b9._0x1d1085,-0x2f0)]['id']);}catch(_0xbb2890){const _0x174ad5={};_0x174ad5['error']=_0xbb2890['message'],_0x174ad5[_0x4737d4(-_0x2f84b9._0x5bfb7b,-_0x2f84b9._0x248dad,-0x2bb,-0x310)]=_0xbb2890[_0x4737d4(-0x36d,-_0x2f84b9._0x7a9cb1,-0x2d3,-0x310)],logger[_0x4737d4(-_0x2f84b9._0x1f4b61,-_0x2f84b9._0x26f50f,-_0x2f84b9._0x5f504b,-_0x2f84b9._0x2b178a)](_0x168341[_0x4737d4(-0x2e5,-0x370,-_0x2f84b9._0x92fd2f,-_0x2f84b9._0x42517b)],_0x174ad5);}const _0x41ab96={};_0x41ab96['id']=_0x414c88['user']['id'],_0x41ab96[_0x421aa6(-0x1ab,-0x222,-0x1d7,-_0x2f84b9._0x5e84c8)]=_0x414c88[_0x421aa6(-_0x2f84b9._0x263152,-_0x2f84b9._0xcfbd4c,-_0x2f84b9._0x487a4b,-0x1e4)][_0x4737d4(-_0x2f84b9._0x2e31e6,-0x31a,-0x34a,-0x31f)],_0x41ab96[_0x421aa6(-_0x2f84b9._0x61f1f0,-0x1f3,-0x1f4,-_0x2f84b9._0x21bbea)]=_0x414c88[_0x4737d4(-0x329,-0x2f1,-0x2bc,-0x2f0)]['email'],_0x41ab96[_0x4737d4(-_0x2f84b9._0x336c18,-0x284,-0x27a,-_0x2f84b9._0x15b9a5)]=_0x414c88[_0x421aa6(-_0x2f84b9._0x22165e,-0x1c2,-0x1a8,-_0x2f84b9._0x518fa3)]['name'],_0x41ab96['permission'+'s']=_0x4bda19,_0x41ab96[_0x421aa6(-0x1a1,-_0x2f84b9._0x306f12,-0x1eb,-_0x2f84b9._0x41b0c2)+'me']=_0x414c88['user'][_0x421aa6(-_0x2f84b9._0xbbf6e6,-_0x2f84b9._0x377c79,-0x1eb,-_0x2f84b9._0x2e7444)+'me'],_0x41ab96[_0x421aa6(-_0x2f84b9._0x5ed55a,-0x1eb,-_0x2f84b9._0x1cf4e2,-_0x2f84b9._0x2f0d2c)]=_0x44253b?.[_0x421aa6(-0x1de,-_0x2f84b9._0xf3a277,-_0x2f84b9._0x1cf4e2,-_0x2f84b9._0x4ee826)]||null,_0x41ab96[_0x421aa6(-_0x2f84b9._0x5f03fa,-0x20f,-_0x2f84b9._0x3f60a6,-0x1f2)+'s']=_0x44253b?.[_0x421aa6(-0x1f7,-_0x2f84b9._0x50e611,-0x1d2,-0x1e6)+'s']||{};const _0xf80247={};_0xf80247[_0x4737d4(-_0x2f84b9._0x1ed036,-_0x2f84b9._0x37e556,-_0x2f84b9._0x2f6759,-0x2f0)]=_0x41ab96,_0x4d9968[_0x4737d4(-_0x2f84b9._0x3627bd,-0x27c,-_0x2f84b9._0x2ce7e9,-_0x2f84b9._0x382544)](_0xf80247);}}catch(_0x24df82){const _0xa4a643={};_0xa4a643['server']=[],_0xa4a643[_0x4737d4(-_0x2f84b9._0x2f6759,-_0x2f84b9._0x154cc3,-_0x2f84b9._0x1bad39,-_0x2f84b9._0x5d6d34)+'ts']={},_0xa4a643[_0x421aa6(-_0x2f84b9._0x516bfa,-_0x2f84b9._0x3e9f98,-0xfe,-0xa8)]={};const _0x40c0cf={};_0x40c0cf['id']=_0x414c88[_0x4737d4(-_0x2f84b9._0xa2ae6d,-_0x2f84b9._0x5e5545,-_0x2f84b9._0x168feb,-_0x2f84b9._0x18731b)]['id'],_0x40c0cf['username']=_0x414c88[_0x4737d4(-0x334,-_0x2f84b9._0x37a2ff,-0x2e4,-_0x2f84b9._0x321fa6)][_0x421aa6(-0x217,-0x165,-0x1d7,-0x1f5)],_0x40c0cf['email']=_0x414c88[_0x4737d4(-0x339,-_0x2f84b9._0x5cb7ec,-_0x2f84b9._0x377302,-0x2f0)]['email'],_0x40c0cf[_0x4737d4(-_0x2f84b9._0x347082,-_0x2f84b9._0x5787a0,-0x25c,-0x2d4)]=_0x414c88[_0x4737d4(-_0x2f84b9._0x50b4f3,-0x306,-_0x2f84b9._0x5aac36,-_0x2f84b9._0x18731b)][_0x4737d4(-_0x2f84b9._0x119a84,-0x338,-0x296,-_0x2f84b9._0x15b9a5)],_0x40c0cf[_0x421aa6(-_0x2f84b9._0x383892,-0x18a,-_0x2f84b9._0x22165e,-0x203)+'s']=_0xa4a643,_0x40c0cf[_0x421aa6(-_0x2f84b9._0x52d2af,-_0x2f84b9._0x38597e,-0x1eb,-_0x2f84b9._0x1616aa)+'me']=_0x414c88[_0x4737d4(-0x353,-0x301,-0x2f9,-0x2f0)][_0x4737d4(-_0x2f84b9._0xe67e15,-0x313,-_0x2f84b9._0x1ab5b2,-0x333)+'me'],_0x40c0cf['avatar']=null,_0x40c0cf[_0x4737d4(-_0x2f84b9._0xbd6f45,-_0x2f84b9._0x5aac21,-0x33c,-0x31a)+'s']={};const _0x205474={};_0x205474['user']=_0x40c0cf,_0x4d9968[_0x421aa6(-0x144,-_0x2f84b9._0x45afaa,-_0x2f84b9._0x49b720,-0x16d)](_0x205474);}});function _0x41cd7e(_0x3fabf0,_0x2e33f6,_0x288f12,_0x103451){const _0x26232e={_0x1841aa:0x2f3};return _0x5862(_0x288f12-_0x26232e._0x1841aa,_0x2e33f6);}router[_0x30d047(-0x19f,-0xf5,-0x168,-0x1b9)](_0x41cd7e(0x362,0x41e,0x390,0x401),async(_0x512649,_0x894f00)=>{const _0x5115e4={_0x42cc5c:0x46,_0x4071bc:0x474,_0x511188:0x102,_0xb8b29c:0x161,_0x2eca2d:0x46b,_0x101563:0x4b6,_0xa56019:0x48d,_0x4fa6f1:0x488,_0x3dd148:0x44,_0x230c94:0x65,_0x53a84f:0xe8,_0x4d0326:0xd2,_0x4ed1ef:0x9f,_0x40227f:0x12d,_0x5aef7d:0x8a,_0x32f659:0x5c,_0x19e138:0x30,_0x5e956a:0x4f,_0xdff67:0x155,_0x33eb9b:0x1ad,_0x38a684:0x14a,_0x5c38e1:0x438,_0x5802ae:0x432,_0xaeccd6:0x4e0,_0x587691:0xee,_0x1fffd0:0x63,_0x37c592:0xba,_0x3c553a:0x4b,_0x1a8850:0x159,_0x4b4694:0xd3,_0x2417e2:0x531,_0x333704:0x511,_0x216b19:0x9d,_0x5e47d1:0x73,_0x69eb6:0x5f,_0x4ca489:0x7e,_0x20c019:0xec,_0x24d4be:0x15f,_0x5e02d7:0xe3,_0x59c107:0x183,_0x5607e1:0x139,_0x36a903:0x403,_0x1f4349:0x49d,_0x295fdc:0x43b,_0xe250c4:0x45d,_0x5f1c52:0x1db,_0x29ffa6:0x173,_0x2c101a:0x165,_0x2a6c7a:0x51,_0x1474dc:0x3b,_0x36e861:0x152,_0x6ba90d:0x15e,_0x317092:0xe5,_0xd65611:0x7c,_0x63a6b3:0x72,_0x47a4dc:0x86,_0xdd6188:0x52d,_0x3e9263:0x4d8,_0x1990a7:0x10a,_0x30d17c:0x7d,_0x4ad26e:0x4fa,_0x5d4537:0xe0,_0x343da3:0xa7,_0x1a82bb:0x9a,_0xf781ad:0x470,_0x4f286d:0x4d7,_0x2b6ed6:0x48f,_0x3c4e5a:0x564,_0xb0c71f:0x4f9,_0x55fc87:0x4d9,_0x302a9d:0x519,_0xf35569:0x48b,_0x3b6d26:0x426,_0x412bd4:0x463,_0x38aedf:0x484,_0x15e1a7:0xe2,_0x27a4d2:0x4c,_0x4398b8:0x76,_0x3ff77c:0x472,_0x27a55a:0x43f,_0xce8ce2:0x52f,_0x1af5db:0x4e5,_0x447d1e:0x44c,_0x3a08db:0x4cd,_0x150749:0x189,_0x3d5cec:0x143,_0x4403fb:0x120,_0x9c50cf:0x4a0,_0x206822:0x445,_0x573cfb:0x3de,_0x1a4750:0x446,_0x941975:0x434,_0x217b06:0x3ec,_0x221c4d:0xad,_0x28bd80:0xcd,_0xbb748b:0x51,_0x4b1fc2:0x64,_0x571ff0:0x19,_0x398543:0x199,_0x18a32a:0x49f,_0xf5be44:0x4fb,_0x3f0270:0x7f,_0x3e23ec:0x43,_0x4bf4fe:0xb2,_0x3af4bd:0xf0,_0x15e044:0x1b,_0x52412a:0x6f,_0x1af0f0:0x431,_0x273b17:0x3a5,_0x13e037:0x551,_0x35a149:0x10a,_0xdcb28f:0xc6,_0x125ec0:0x52,_0x464f01:0x12,_0x3b71db:0x3c5,_0x452b61:0x475,_0x7ca028:0x13e,_0x412ac3:0x47f,_0x232060:0x493,_0x36428d:0x490,_0x7a388:0x8d,_0x4ad000:0x4d,_0xbdd72f:0x68,_0x4fa631:0x33,_0x51c279:0x101,_0x3a13a3:0x3c1,_0x4fa596:0x3c2,_0xf0199c:0xe4,_0x2ab036:0xf6,_0x321f0e:0xb9,_0x5a8d84:0xfc,_0x3c52b5:0x10c,_0x1a8b06:0x420,_0x429189:0x449,_0x3265b3:0x462,_0x3c2d72:0xd2,_0x4dbf0c:0x1b0,_0x32ad26:0x44d,_0x2db1d5:0x49c,_0x58c939:0x378,_0x246ddf:0x3f1,_0x14257f:0x4c,_0x7b7537:0x9b,_0x477f55:0x115,_0x4b61e1:0x42,_0x5826d8:0x10f},_0xdd881d={_0x4ea8be:0x1b5},_0x1a9eb0={_0x42fc90:0x626},_0xd88671={'kVJeM':_0x5cf2bb(_0x5115e4._0x42cc5c,0xa5,0x1d,0x88),'ibDgw':_0x37f062(0x51d,_0x5115e4._0x4071bc,0x4b9,0x494),'HQVVa':function(_0x1e0c41,_0x1241fc,_0x3ab053){return _0x1e0c41(_0x1241fc,_0x3ab053);},'yEkkc':_0x5cf2bb(0x17a,0x1cb,_0x5115e4._0x511188,_0x5115e4._0xb8b29c)+_0x37f062(_0x5115e4._0x2eca2d,_0x5115e4._0x101563,_0x5115e4._0xa56019,_0x5115e4._0x4fa6f1)+'nly\x20JPEG,\x20'+_0x5cf2bb(0xa0,_0x5115e4._0x3dd148,_0x5115e4._0x230c94,0x7a)+_0x5cf2bb(_0x5115e4._0x53a84f,0xaa,0x7a,0x82)+_0x5cf2bb(0x115,_0x5115e4._0x4d0326,_0x5115e4._0x4ed1ef,_0x5115e4._0x40227f)+'.','kQXZn':'EnxWw','jdYiR':'qBxKn','NndaO':'Username\x20a'+_0x5cf2bb(_0x5115e4._0x5aef7d,_0x5115e4._0x32f659,-_0x5115e4._0x19e138,_0x5115e4._0x5e956a)+_0x5cf2bb(_0x5115e4._0xdff67,0x159,_0x5115e4._0x33eb9b,_0x5115e4._0x38a684)+_0x37f062(_0x5115e4._0x5c38e1,_0x5115e4._0x5802ae,_0x5115e4._0xaeccd6,0x4a5),'LNCCm':'Authentica'+_0x5cf2bb(0x32,_0x5115e4._0x587691,_0x5115e4._0x1fffd0,_0x5115e4._0x37c592)+'d','Lzjaq':_0x5cf2bb(_0x5115e4._0x3c553a,_0x5115e4._0x1a8850,0x10f,_0x5115e4._0x4b4694)+_0x37f062(_0x5115e4._0x2417e2,0x591,0x531,_0x5115e4._0x333704)+_0x5cf2bb(0xbe,_0x5115e4._0x216b19,_0x5115e4._0x5e47d1,_0x5115e4._0x69eb6),'jgzsI':'CLI\x20Access','vUiGQ':function(_0x5a631b,_0x4addb1){return _0x5a631b(_0x4addb1);},'dZutq':'CLI\x20login\x20'+'successful','JRsSM':_0x5cf2bb(_0x5115e4._0x4ca489,_0x5115e4._0x20c019,_0x5115e4._0x24d4be,_0x5115e4._0x5e02d7)+_0x5cf2bb(_0x5115e4._0x59c107,0x19c,0xf7,_0x5115e4._0x5607e1),'jVVdM':_0x37f062(_0x5115e4._0x36a903,_0x5115e4._0x1f4349,_0x5115e4._0x295fdc,_0x5115e4._0xe250c4)+'ed','jjwRq':'An\x20error\x20o'+_0x5cf2bb(_0x5115e4._0x5f1c52,0xfe,_0x5115e4._0x29ffa6,_0x5115e4._0x2c101a)+_0x5cf2bb(0x29,_0x5115e4._0x2a6c7a,_0x5115e4._0x1474dc,0x5b)+_0x5cf2bb(_0x5115e4._0x36e861,_0x5115e4._0x6ba90d,_0x5115e4._0x317092,0x110)},{username:_0x5d1a7f,password:_0x230534}=_0x512649[_0x5cf2bb(_0x5115e4._0xd65611,0x58,_0x5115e4._0x63a6b3,_0x5115e4._0x47a4dc)];if(!_0x5d1a7f||!_0x230534){if(_0xd88671[_0x37f062(_0x5115e4._0xdd6188,0x48a,0x52c,_0x5115e4._0x3e9263)]!==_0xd88671[_0x5cf2bb(0xd6,_0x5115e4._0x1990a7,0x8,_0x5115e4._0x30d17c)]){const _0x5cd17d={};return _0x5cd17d[_0x37f062(0x55d,0x46a,0x515,0x4e6)]=_0x37f062(0x4ad,0x536,0x4ad,0x514)+_0x5cf2bb(-0x14,0xbe,_0x5115e4._0x30d17c,0x67),_0x5cd17d['message']=_0xd88671[_0x37f062(0x528,_0x5115e4._0x4ad26e,0x51e,0x50c)],_0x894f00[_0x5cf2bb(_0x5115e4._0x5d4537,0x8e,_0x5115e4._0x343da3,_0x5115e4._0x1a82bb)](0x2*0xda6+0x21f*0x10+-0x3bac)[_0x37f062(_0x5115e4._0x333704,_0x5115e4._0xf781ad,0x552,_0x5115e4._0x4f286d)](_0x5cd17d);}else{const _0x591d61=[_0x37f062(_0x5115e4._0x2b6ed6,_0x5115e4._0x3c4e5a,_0x5115e4._0xb0c71f,_0x5115e4._0x55fc87),_0xd88671[_0x37f062(0x4de,_0x5115e4._0x302a9d,_0x5115e4._0xf35569,0x4d0)],_0xd88671[_0x37f062(_0x5115e4._0x3b6d26,0x4db,_0x5115e4._0x412bd4,_0x5115e4._0x38aedf)],_0x5cf2bb(_0x5115e4._0x15e1a7,_0x5115e4._0x27a4d2,0x7a,_0x5115e4._0x4398b8)];_0x591d61[_0x37f062(_0x5115e4._0x3ff77c,0x450,0x411,_0x5115e4._0x27a55a)](_0x172aaf[_0x37f062(_0x5115e4._0xce8ce2,0x591,_0x5115e4._0x1af5db,0x518)])?_0xd88671[_0x37f062(_0x5115e4._0x447d1e,0x4aa,0x464,_0x5115e4._0x3a08db)](_0x1999b1,null,!![]):_0x4988fa(new _0x24a484(_0xd88671[_0x37f062(0x482,0x416,0x487,0x471)]));}}function _0x37f062(_0x1674e1,_0x262052,_0x4405dc,_0x265142){return _0x30d047(_0x262052,_0x262052-0x6c,_0x265142-_0x1a9eb0._0x42fc90,_0x265142-0x124);}function _0x5cf2bb(_0x14f1e5,_0x5789a2,_0x52560a,_0x187c5b){return _0x41cd7e(_0x14f1e5-_0xdd881d._0x4ea8be,_0x52560a,_0x187c5b- -0x317,_0x187c5b-0x1ae);}try{const _0x34dfd9=await _0xd88671[_0x5cf2bb(_0x5115e4._0x150749,0x92,_0x5115e4._0x3d5cec,_0x5115e4._0x4403fb)](validatePassword,_0x5d1a7f,_0x230534);if(!_0x34dfd9){const _0x53a83f={};_0x53a83f[_0x5cf2bb(0xc2,0x27,0xc7,0x85)]=_0x5d1a7f,logger['warn']('Failed\x20CLI'+'\x20login\x20att'+_0x37f062(_0x5115e4._0x9c50cf,_0x5115e4._0x206822,_0x5115e4._0x573cfb,0x44a),_0x53a83f);const _0x402cdc={};return _0x402cdc['error']=_0xd88671[_0x37f062(_0x5115e4._0x1a4750,_0x5115e4._0x941975,_0x5115e4._0x217b06,0x44c)],_0x402cdc[_0x5cf2bb(_0x5115e4._0x221c4d,_0x5115e4._0x28bd80,_0x5115e4._0xbb748b,_0x5115e4._0x4b1fc2)]=_0xd88671['Lzjaq'],_0x894f00[_0x5cf2bb(0x122,0x23,_0x5115e4._0x571ff0,0x9a)](-0x1e4*0x9+-0x1*-0x2513+-0x1*0x127e)[_0x5cf2bb(_0x5115e4._0x398543,0x129,0xb3,0x12a)](_0x402cdc);}const _0x1a8116=await createApiKey(_0x34dfd9['id'],_0xd88671[_0x37f062(0x530,0x50a,_0x5115e4._0x18a32a,_0x5115e4._0xf5be44)]);let _0x25f2db=[];try{_0x25f2db=await _0xd88671[_0x5cf2bb(0xed,0x22,0x7c,_0x5115e4._0x3f0270)](resolveUserRoleNames,_0x34dfd9['id']);}catch(_0x5b4498){const _0x2f7a6a={};_0x2f7a6a[_0x5cf2bb(_0x5115e4._0x3e23ec,0xd4,0x5c,_0x5115e4._0x4bf4fe)]=_0x34dfd9['id'],_0x2f7a6a['error']=_0x5b4498[_0x5cf2bb(0xad,_0x5115e4._0xd65611,_0x5115e4._0x3af4bd,0x64)],logger['warn']('Failed\x20to\x20'+_0x5cf2bb(0x44,-_0x5115e4._0x15e044,0xdf,_0x5115e4._0x52412a)+_0x37f062(_0x5115e4._0x1af0f0,0x44e,_0x5115e4._0x273b17,0x40f)+_0x37f062(0x53e,0x4f3,_0x5115e4._0x13e037,0x4ef),_0x2f7a6a);}const _0x1384bf={};_0x1384bf[_0x5cf2bb(_0x5115e4._0x35a149,_0x5115e4._0xdcb28f,_0x5115e4._0x125ec0,_0x5115e4._0x4bf4fe)]=_0x34dfd9['id'],_0x1384bf[_0x5cf2bb(_0x5115e4._0x464f01,0x10,0x9,0x85)]=_0x34dfd9[_0x37f062(0x430,_0x5115e4._0x3b71db,_0x5115e4._0x452b61,_0x5115e4._0x5802ae)],_0x1384bf[_0x5cf2bb(_0x5115e4._0x7ca028,0x94,0xce,0xd5)]=_0x1a8116['id'],logger[_0x37f062(0x50f,0x484,_0x5115e4._0x412ac3,_0x5115e4._0x232060)](_0xd88671[_0x37f062(0x489,_0x5115e4._0x36428d,0x456,0x43a)],_0x1384bf);const _0x78eed2={};_0x78eed2['id']=_0x34dfd9['id'],_0x78eed2[_0x5cf2bb(_0x5115e4._0x53a84f,0x11,_0x5115e4._0x27a4d2,0x85)]=_0x34dfd9[_0x5cf2bb(0xf1,_0x5115e4._0x7a388,0x16,0x85)],_0x78eed2[_0x5cf2bb(0x5d,_0x5115e4._0x4ad000,0x26,_0x5115e4._0xbdd72f)]=_0x34dfd9[_0x5cf2bb(0x56,0x4d,_0x5115e4._0x4fa631,_0x5115e4._0xbdd72f)],_0x78eed2['name']=_0x34dfd9[_0x5cf2bb(_0x5115e4._0xbdd72f,_0x5115e4._0x51c279,0x158,0xd0)],_0x78eed2['roles']=_0x25f2db;const _0x1958b2={};_0x1958b2[_0x37f062(_0x5115e4._0x3a13a3,0x41c,_0x5115e4._0x4fa596,0x411)]=_0x5cf2bb(_0x5115e4._0xf0199c,0xa6,_0x5115e4._0x2ab036,_0x5115e4._0x321f0e)+_0x5cf2bb(_0x5115e4._0x5a8d84,0x11d,0x155,_0x5115e4._0x3c52b5),_0x1958b2[_0x37f062(0x44f,0x406,_0x5115e4._0x1a8b06,0x461)]=_0x78eed2,_0x1958b2[_0x37f062(0x4d6,_0x5115e4._0x429189,0x43e,_0x5115e4._0x3265b3)]=_0x1a8116['key'],_0x894f00['json'](_0x1958b2);}catch(_0x29b19b){logger[_0x5cf2bb(0xfd,_0x5115e4._0x3c2d72,_0x5115e4._0x4dbf0c,_0x5115e4._0x5607e1)](_0xd88671[_0x37f062(0x448,0x4ef,_0x5115e4._0x32ad26,_0x5115e4._0x2db1d5)],_0x29b19b);const _0x45000b={};_0x45000b['error']=_0xd88671[_0x37f062(_0x5115e4._0x58c939,0x418,_0x5115e4._0x246ddf,0x3fb)],_0x45000b[_0x5cf2bb(_0x5115e4._0x14257f,0x5d,0x6b,_0x5115e4._0x4b1fc2)]=_0xd88671[_0x5cf2bb(_0x5115e4._0x7b7537,_0x5115e4._0x477f55,0x154,0x113)],_0x894f00[_0x5cf2bb(0x11c,_0x5115e4._0x4b61e1,_0x5115e4._0x5826d8,_0x5115e4._0x1a82bb)](0x126*0x1c+0x360*-0x4+0x1*-0x10b4)['json'](_0x45000b);}}),router['get']('/profile',requireAuth,async(_0x193a47,_0x46a974)=>{const _0x246c38={_0xd8672e:0x2b7,_0x4f3781:0x2da,_0x5b5b39:0x1de,_0x480e76:0x1d5,_0x3cf3eb:0x2ac,_0x4af94e:0x209,_0x34148f:0x256,_0x26d0c1:0x238,_0x411c76:0x29b,_0x154c79:0x22f,_0x3b2769:0x1e2,_0x3e58e9:0x280,_0x518815:0x1c3,_0x2eb3b2:0x21d,_0x576833:0x290,_0xc1be9c:0x29d,_0x42c1b8:0x248,_0x322f0e:0x381,_0x42410f:0x2f2,_0x38bafe:0x308,_0x21a29b:0x24e,_0x5e1c1f:0x2af,_0x548208:0x25c,_0x2128fb:0x1a3,_0x1d74bb:0x222,_0x4d3e49:0x289,_0x5c6a80:0x1bd,_0x46dac2:0x287,_0x4d7f7d:0x29f,_0x3e31e9:0x2be,_0x2614f5:0x28e,_0x458ed1:0x304,_0x7e8241:0x393,_0x1cf3aa:0x2eb,_0x28fb65:0x1c3,_0x3fb79f:0x252,_0x5dda2c:0x242,_0x25d534:0x201,_0xad8641:0x2e2,_0x16ee37:0x1d4,_0x449f07:0x27b,_0x377b26:0x209,_0x5e7141:0x20a,_0x67708d:0x24d,_0xb497cb:0x1df,_0x2d9185:0x1c0,_0x22137f:0x210,_0x153c58:0x1c2,_0x4ac787:0x27e,_0x2242aa:0x2d6,_0x328189:0x30c,_0x1c99aa:0x28c,_0x1d0e91:0x2c5,_0x51a5fb:0x1ba,_0x19f3d6:0x2c4,_0x434b07:0x32b,_0x2b8025:0x2d4,_0xeed82b:0x343,_0xa4da9b:0x282,_0x19a8db:0x2d7,_0x59c447:0x33b,_0x4d15f0:0x27b,_0x339887:0x302,_0x5beac2:0x353,_0x17b405:0x1d2,_0x31899b:0x24b,_0x10c474:0x24f,_0x39a4b3:0x2b8,_0x16305b:0x208,_0x10353d:0x222,_0x4bb2fe:0x236,_0x4e41c5:0x20a,_0x28ea87:0x18b,_0x51fc9c:0x27c,_0x76f6f8:0x295,_0x2b5d52:0x22a,_0xa2735f:0x232,_0x1ac8ad:0x27f,_0x44220a:0x2bc,_0x973332:0x2e5,_0xdaac85:0x287,_0x58e076:0x1dc,_0x194823:0x1f8,_0x264c26:0x227,_0x1e656e:0x26c,_0x593224:0x1b9,_0x2b5f8e:0x201,_0x2226ff:0x223,_0x2197bb:0x1eb,_0x3a0d0a:0x26d,_0x5b017b:0x1a3,_0x217248:0x2ea,_0x3aeffb:0x372,_0x22a9ea:0x2de,_0x27d9c8:0x2f8,_0x24b52d:0x190,_0x38c900:0x1c1,_0x4a8975:0x1d2,_0xa1da7b:0x301,_0x5419ec:0x25d,_0x47fe7b:0x19c,_0xf4f40e:0x241,_0x279a8c:0x2a8,_0x1812a2:0x25f,_0x559d88:0x1f3,_0x4e747a:0x254,_0x3b2927:0x170,_0x569982:0x254,_0x3c6b09:0x163,_0x889994:0x1ed,_0x251702:0x31f,_0x5f337f:0x2ee,_0x43a41a:0x301,_0x1e2da4:0x285,_0x1376c1:0x2d6,_0x4eca37:0x25e,_0x5ea5f9:0x2a5,_0x334ecd:0x25a,_0x51e93d:0x259,_0x28136f:0x28a,_0x36405d:0x2a0},_0x584cf1={_0x3d5d0b:0x19f,_0x8f2618:0x1a9},_0x3cdcbb={_0x583aef:0x16a,_0x53b82d:0x62},_0x132352={};function _0x491e3a(_0x523c8f,_0x98f70,_0x5c271b,_0x3a6271){return _0x41cd7e(_0x523c8f-0x82,_0x3a6271,_0x98f70- -_0x3cdcbb._0x583aef,_0x3a6271-_0x3cdcbb._0x53b82d);}_0x132352[_0x483080(0x32a,0x29b,_0x246c38._0xd8672e,0x2c3)]=_0x483080(0x2b1,_0x246c38._0x4f3781,0x305,0x2d5)+_0x483080(0x232,0x22d,_0x246c38._0x5b5b39,_0x246c38._0x480e76),_0x132352[_0x483080(0x1f3,_0x246c38._0x3cf3eb,0x207,0x239)]=_0x491e3a(_0x246c38._0x4af94e,_0x246c38._0x34148f,_0x246c38._0x26d0c1,_0x246c38._0x411c76)+_0x491e3a(0x2f2,0x2af,0x328,_0x246c38._0x154c79)+_0x483080(0x203,_0x246c38._0x3b2769,_0x246c38._0x3e58e9,0x21f),_0x132352[_0x491e3a(_0x246c38._0x518815,_0x246c38._0x2eb3b2,_0x246c38._0x576833,0x219)]=_0x491e3a(0x24f,_0x246c38._0xc1be9c,0x25d,_0x246c38._0x42c1b8)+_0x491e3a(_0x246c38._0x322f0e,_0x246c38._0x42410f,_0x246c38._0x38bafe,0x37a),_0x132352[_0x483080(0x230,_0x246c38._0x21a29b,0x2c0,_0x246c38._0x5e1c1f)]=_0x491e3a(0x226,_0x246c38._0x548208,0x251,0x2b4)+_0x491e3a(_0x246c38._0x2128fb,_0x246c38._0x1d74bb,_0x246c38._0x4d3e49,_0x246c38._0x5c6a80)+_0x491e3a(_0x246c38._0x46dac2,_0x246c38._0x4d7f7d,_0x246c38._0x3e31e9,0x317),_0x132352[_0x491e3a(_0x246c38._0x2614f5,_0x246c38._0x458ed1,_0x246c38._0x7e8241,_0x246c38._0x1cf3aa)]=_0x483080(0x213,0x24e,_0x246c38._0x28fb65,_0x246c38._0x3fb79f),_0x132352[_0x483080(0x24f,_0x246c38._0x5dda2c,0x178,_0x246c38._0x25d534)]=_0x483080(_0x246c38._0xad8641,0x286,0x27c,0x2a3);function _0x483080(_0x13f68a,_0x4d2886,_0x51be55,_0x3642a2){return _0x41cd7e(_0x13f68a-_0x584cf1._0x3d5d0b,_0x13f68a,_0x3642a2- -_0x584cf1._0x8f2618,_0x3642a2-0x134);}_0x132352['MtPob']=_0x483080(_0x246c38._0x16ee37,_0x246c38._0x449f07,_0x246c38._0x377b26,_0x246c38._0x5e7141),_0x132352[_0x491e3a(0x227,0x24e,0x2a1,_0x246c38._0x67708d)]='User\x20not\x20f'+_0x483080(_0x246c38._0xb497cb,0x221,0x201,_0x246c38._0x2d9185),_0x132352['PCJpd']=_0x483080(_0x246c38._0x22137f,0x18b,_0x246c38._0x153c58,0x217)+_0x491e3a(_0x246c38._0x4ac787,_0x246c38._0x2242aa,0x348,_0x246c38._0x328189)+'e';const _0x317cd5=_0x132352;try{if(_0x317cd5[_0x483080(0x2aa,_0x246c38._0x1c99aa,0x2ce,_0x246c38._0x1d0e91)]!==_0x317cd5['VpdRU']){const _0x271306=await findUserById(_0x193a47[_0x483080(0x294,0x28c,_0x246c38._0x51a5fb,_0x246c38._0x1d74bb)]['id']);if(!_0x271306){if(_0x317cd5[_0x491e3a(0x2b8,_0x246c38._0x19f3d6,_0x246c38._0x434b07,_0x246c38._0x2b8025)]===_0x317cd5[_0x491e3a(_0x246c38._0xeed82b,0x2c4,_0x246c38._0x3e58e9,_0x246c38._0xa4da9b)]){const _0x44f0be={};return _0x44f0be[_0x491e3a(0x373,0x2e6,0x345,0x2da)]=_0x317cd5['SPoOR'],_0x46a974['status'](-0x1d2b*0x1+-0x20b4+0x3f73)[_0x491e3a(0x24b,_0x246c38._0x19a8db,0x363,_0x246c38._0x59c447)](_0x44f0be);}else{const _0x355e42={};return _0x355e42[_0x491e3a(0x302,0x2e6,0x2ab,_0x246c38._0x38bafe)]=_0x317cd5[_0x491e3a(_0x246c38._0x4d15f0,_0x246c38._0x339887,0x321,_0x246c38._0x5beac2)],_0x355e42[_0x483080(0x25a,0x162,0x1a2,_0x246c38._0x17b405)]='Username\x20a'+'nd\x20passwor'+_0x483080(0x25a,_0x246c38._0x31899b,_0x246c38._0x10c474,_0x246c38._0x39a4b3)+'ired',_0x4fc57c[_0x483080(0x1a8,0x24c,_0x246c38._0x548208,_0x246c38._0x16305b)](-0x1579+-0xba6+0x1*0x22af)[_0x483080(0x228,0x261,0x316,0x298)](_0x355e42);}}const _0x3ba478={};_0x3ba478[_0x483080(0x1db,0x1be,_0x246c38._0x10353d,0x1f7)+'ions']=!![],_0x3ba478[_0x491e3a(_0x246c38._0x4bb2fe,0x217,0x212,0x1ff)+_0x491e3a(_0x246c38._0x4e41c5,0x213,_0x246c38._0x28ea87,0x274)+_0x491e3a(_0x246c38._0x51fc9c,0x2b0,0x25d,_0x246c38._0x76f6f8)]=!![];const _0x17dcdd={};_0x17dcdd['id']=_0x271306['id'],_0x17dcdd[_0x491e3a(0x1da,0x232,0x1e6,_0x246c38._0x2b5d52)]=_0x271306[_0x491e3a(0x2b7,_0x246c38._0xa2735f,_0x246c38._0x1ac8ad,_0x246c38._0x44220a)],_0x17dcdd[_0x491e3a(0x187,0x215,0x203,0x1ae)]=_0x271306[_0x491e3a(0x1ab,0x215,0x1b7,0x1bb)],_0x17dcdd['name']=_0x271306['name'],_0x17dcdd[_0x491e3a(_0x246c38._0x973332,0x28f,0x2c8,0x281)]=_0x271306['avatar']||null,_0x17dcdd[_0x483080(_0x246c38._0xdaac85,0x1ca,_0x246c38._0x58e076,_0x246c38._0x194823)+'s']=_0x271306[_0x483080(0x173,0x255,0x1b7,0x1f8)+'s']||_0x3ba478;const _0x15071c={};_0x15071c[_0x491e3a(_0x246c38._0x264c26,0x22b,_0x246c38._0x1e656e,_0x246c38._0x593224)]=_0x17dcdd,_0x46a974['json'](_0x15071c);}else{if(_0x301c9e){const _0x5a309c={};_0x5a309c['userId']=_0x340a25,_0x5a309c['username']=_0x543341,_0x5d485b[_0x491e3a(0x342,0x2e6,0x325,0x2bb)](_0x491e3a(_0x246c38._0x2b5f8e,_0x246c38._0x34148f,0x20a,_0x246c38._0x2226ff)+_0x483080(_0x246c38._0x2197bb,_0x246c38._0x3a0d0a,0x2c1,0x270)+_0x483080(_0x246c38._0x5b017b,0x285,0x200,0x21f),_0x15b877,_0x5a309c);const _0x2e2f99={};return _0x2e2f99['error']=_0x491e3a(0x30b,_0x246c38._0x217248,_0x246c38._0x3aeffb,0x319)+_0x491e3a(_0x246c38._0x2614f5,_0x246c38._0x22a9ea,0x286,_0x246c38._0x27d9c8),_0x2e2f99[_0x483080(0x19b,_0x246c38._0x24b52d,_0x246c38._0x38c900,_0x246c38._0x4a8975)]=_0x317cd5[_0x491e3a(_0x246c38._0xa1da7b,0x278,_0x246c38._0x5419ec,0x26c)],_0xceb69d[_0x483080(0x199,_0x246c38._0x47fe7b,_0x246c38._0xf4f40e,0x208)](0x1*-0x1f0a+0x2172+-0x1*0x74)[_0x491e3a(0x286,_0x246c38._0x19a8db,0x27c,_0x246c38._0x279a8c)](_0x2e2f99);}const _0x51bdd6={};_0x51bdd6[_0x491e3a(0x1d6,_0x246c38._0x1812a2,0x2b6,_0x246c38._0x559d88)]=_0x10992d,_0x51bdd6['username']=_0x35fd13,_0x267eff[_0x483080(0x214,0x216,0x279,_0x246c38._0x4e747a)](_0x317cd5[_0x483080(_0x246c38._0x3b2927,_0x246c38._0x569982,0x267,0x1de)],_0x51bdd6),_0x59afed['clearCooki'+'e'](_0x483080(_0x246c38._0x3c6b09,0x19d,0x1ac,0x1d1));const _0x460957={};_0x460957[_0x491e3a(_0x246c38._0x889994,0x211,0x185,0x279)]=_0x317cd5[_0x491e3a(_0x246c38._0x251702,_0x246c38._0x5f337f,0x335,0x377)],_0x260af8[_0x483080(_0x246c38._0x43a41a,0x2e7,_0x246c38._0x1e2da4,0x298)](_0x460957);}}catch(_0x599d38){logger[_0x483080(_0x246c38._0x1376c1,_0x246c38._0x4eca37,0x2fc,0x2a7)](_0x317cd5[_0x483080(0x278,_0x246c38._0x5ea5f9,0x243,0x24b)],_0x599d38);const _0x17b042={};_0x17b042[_0x483080(0x310,_0x246c38._0x334ecd,_0x246c38._0x51e93d,0x2a7)]=_0x317cd5[_0x491e3a(0x2b7,_0x246c38._0x28136f,0x2a6,0x29b)],_0x46a974['status'](-0xd7e+0x2502+-0x1590)[_0x483080(0x23b,_0x246c38._0x36405d,0x28a,0x298)](_0x17b042);}}),router['put'](_0x30d047(-0x16b,-0x18f,-0x13d,-0x153),requireAuth,async(_0x3e6965,_0x212b32)=>{const _0x541c19={_0x102157:0x13a,_0x5a7bd4:0xc4,_0xbb3085:0xb0,_0x336af1:0xd4,_0x1b42fa:0x18b,_0x30abe7:0x13f,_0x521ab4:0x5a,_0x3db394:0x15,_0x5d1704:0xaf,_0x5ed830:0xda,_0x9fdad6:0xf1,_0x4d714e:0x75,_0x391534:0xcd,_0x325d3f:0x1b,_0x5602ad:0x2c,_0x5a30d4:0x1f,_0x3174b7:0x7e,_0x293d43:0x30,_0x1b07f2:0x8e,_0x463d25:0x15a,_0x30a132:0xcd,_0x507dd0:0x12c,_0x2e7c3e:0x52,_0x4aa949:0x4,_0x262267:0x6c,_0x51c44d:0xc3,_0x7378ca:0x36,_0x3dfd66:0x45,_0x307944:0x135,_0x10a43a:0x78,_0x5cafa4:0x101,_0x56cffe:0xfa,_0x4a154a:0x17,_0x499518:0xee,_0x126003:0x1b8,_0x5420a2:0x77,_0x5b2937:0x63,_0x1b280a:0x29,_0x568dd9:0x12e,_0x4492de:0x16a,_0x504061:0xd0,_0x2a4b3a:0xdb,_0x3dcfc3:0x33,_0x48a501:0x18,_0x5b4a47:0x28,_0x5fbcc3:0x80,_0x2e8eb9:0x11a,_0x30a3ff:0x11f,_0x4ba68d:0x1a,_0x5b5d2b:0x8d,_0x5e0b77:0x9e,_0x32152c:0x84,_0x4098e5:0x77,_0x2a8df2:0xc7,_0x57fc0a:0xb0,_0x131493:0xf8,_0x21c204:0xd1,_0x380fc9:0xc6,_0x29fc7c:0x43,_0x214296:0x39,_0x4cdff5:0x12b,_0xa0dd30:0x48,_0x47e0bb:0x38,_0x51b786:0x5,_0x553103:0x10a,_0x4e9679:0x8d,_0x51d2a6:0x1,_0x4d0edb:0x7,_0x30d824:0xad,_0x126366:0x2c,_0x272960:0xb5,_0x464fa0:0x198,_0x45efcb:0xec,_0x3428c5:0x10d,_0x4b2846:0x5e,_0x5be7d8:0x9a,_0x599c3a:0xbe,_0x49bdf8:0x49,_0x3c652b:0x25,_0x5b4313:0x189,_0x1ed8c0:0x176,_0x413203:0x146,_0x86f4df:0x6e,_0x515058:0x17,_0x344558:0x20,_0x3d3ee4:0x1ae,_0x405222:0x1b5,_0x45e5eb:0x153,_0x508f5c:0x142,_0x375805:0x35,_0x2c723d:0x49,_0x54d96e:0x85,_0x34079d:0x5d,_0x583cfd:0x104,_0x36d40a:0xd7,_0x457da3:0xc5,_0x46f4bc:0x10d,_0x2d490b:0x12f,_0x2c51e7:0x19,_0x24a56d:0x65,_0x405fa2:0xaa,_0x578245:0x64,_0x36ea75:0x16b,_0x15cff4:0xeb,_0x3d248a:0x112,_0x3670fd:0x110,_0x359526:0xca,_0x2ea4b5:0x6b,_0x991b61:0x11c,_0x53c14d:0xde,_0x6029ca:0x3,_0x24cd8a:0x78,_0x921758:0x3,_0x710451:0x6c,_0x4e2ee1:0x8f},_0x4da4f1={_0x417c17:0x1d4},_0x5e62f8={'DuHyt':function(_0x3eadb0,_0x1d1962){return _0x3eadb0(_0x1d1962);},'MpISR':_0x2654e8(0xa0,_0x541c19._0x102157,_0x541c19._0x5a7bd4,0xe5)+_0x102907(-0x59,-_0x541c19._0xbb3085,-_0x541c19._0x336af1,-0xde)+_0x102907(-0x99,-0xa9,-0xc0,-0xc3)+_0x102907(-0x192,-_0x541c19._0x1b42fa,-0x1a0,-_0x541c19._0x30abe7)+'and\x20WebP\x20a'+'re\x20allowed'+'.','vCLod':_0x2654e8(-0x1e,0x58,_0x541c19._0x521ab4,-_0x541c19._0x3db394)+_0x2654e8(_0x541c19._0x5d1704,0x36,0x4c,-0x2e),'ianVZ':function(_0x3de8e8,_0x2079cd){return _0x3de8e8!==_0x2079cd;},'MWEZY':_0x102907(-_0x541c19._0x5ed830,-0x130,-0x143,-_0x541c19._0x9fdad6),'OXjJT':'DlJIU','XvCYQ':function(_0x1e6f42,_0x2448de){return _0x1e6f42===_0x2448de;},'ntNWt':_0x102907(-0x82,-0x4a,-_0x541c19._0x4d714e,-_0x541c19._0x391534)+_0x2654e8(-0x44,-_0x541c19._0x325d3f,_0x541c19._0x5602ad,-0x58),'cUFRn':_0x2654e8(-_0x541c19._0x5a30d4,_0x541c19._0x3174b7,_0x541c19._0x293d43,_0x541c19._0x1b07f2),'qySat':_0x2654e8(0xba,_0x541c19._0x463d25,_0x541c19._0x30a132,_0x541c19._0x507dd0),'sRKwK':_0x102907(-_0x541c19._0x2e7c3e,-0xeb,_0x541c19._0x4aa949,-_0x541c19._0x262267)+_0x2654e8(-_0x541c19._0x51c44d,_0x541c19._0x7378ca,-_0x541c19._0x3dfd66,-0x2e)+_0x102907(-_0x541c19._0x307944,-0x9e,-0x147,-0x116),'IukWD':function(_0x50d3fa,_0x1f46a7,_0x107a40){return _0x50d3fa(_0x1f46a7,_0x107a40);},'OYuBS':'Profile\x20up'+_0x102907(-_0x541c19._0x10a43a,-0x9e,-_0x541c19._0x5cafa4,-_0x541c19._0x56cffe)};function _0x2654e8(_0x426112,_0x3f86c2,_0x1eb69d,_0x5bb135){return _0x41cd7e(_0x426112-0x119,_0x3f86c2,_0x1eb69d- -0x3b4,_0x5bb135-0x1b3);}const {name:_0x4a72a9,preferences:_0x487204}=_0x3e6965[_0x2654e8(-0xa3,-0x7a,-_0x541c19._0x4a154a,-0x77)];function _0x102907(_0x22fb49,_0x2f0a13,_0x47def5,_0x43d2bb){return _0x30d047(_0x47def5,_0x2f0a13-_0x4da4f1._0x417c17,_0x43d2bb-0xc0,_0x43d2bb-0x1cb);}try{const _0x34a823={};if(_0x5e62f8[_0x102907(-_0x541c19._0x499518,-_0x541c19._0x126003,-0x1d3,-0x159)](_0x4a72a9,undefined)){if(_0x5e62f8[_0x2654e8(-0x1c,_0x541c19._0x5420a2,0x25,_0x541c19._0x5b2937)]!==_0x5e62f8[_0x2654e8(0x109,_0x541c19._0x1b280a,0x88,0x115)]){if(!_0x4a72a9||_0x5e62f8['XvCYQ'](_0x4a72a9[_0x102907(-_0x541c19._0x568dd9,-_0x541c19._0x4492de,-_0x541c19._0x504061,-_0x541c19._0x2a4b3a)]()[_0x2654e8(-0x11,-0x34,-_0x541c19._0x1b280a,0x55)],0x8*-0x21d+-0xd82+-0xe5*-0x22)){const _0x2647bb={};return _0x2647bb[_0x102907(-_0x541c19._0x3dcfc3,-_0x541c19._0x48a501,-_0x541c19._0x5b4a47,-_0x541c19._0x5fbcc3)]=_0x5e62f8[_0x102907(-0x153,-0x158,-0x160,-_0x541c19._0x5ed830)],_0x212b32[_0x102907(-_0x541c19._0x2e8eb9,-0x154,-0xd4,-_0x541c19._0x30a3ff)](0xf14+-0x1*0x18a2+-0x58f*-0x2)[_0x2654e8(0x24,_0x541c19._0x4ba68d,_0x541c19._0x5b5d2b,_0x541c19._0x5e0b77)](_0x2647bb);}_0x34a823['name']=_0x4a72a9['trim']();}else _0x5e62f8[_0x2654e8(_0x541c19._0x32152c,0x7d,0x7d,0xbc)](_0x6e1c3f,new _0xc73f00(_0x5e62f8['MpISR']));}_0x487204!==undefined&&(_0x34a823[_0x2654e8(-_0x541c19._0x4098e5,0x34,-0x13,-0x80)+'s']=_0x487204);if(_0x5e62f8['XvCYQ'](Object[_0x102907(-0x128,-0xad,-_0x541c19._0x2a8df2,-_0x541c19._0x57fc0a)](_0x34a823)[_0x102907(-0x106,-_0x541c19._0x131493,-_0x541c19._0x21c204,-0x145)],0x1165+-0x403+-0xd62)){if(_0x5e62f8[_0x2654e8(0x1f,-_0x541c19._0x380fc9,-_0x541c19._0x29fc7c,-0x71)]===_0x5e62f8[_0x2654e8(-0xc,0x65,_0x541c19._0x214296,-0x5)]){const _0x4ee365={};return _0x4ee365[_0x2654e8(_0x541c19._0x4cdff5,0x54,0x9c,0x66)]=_0x5e62f8[_0x2654e8(-_0x541c19._0xa0dd30,-0x66,-_0x541c19._0x47e0bb,-0x80)],_0x157b99['status'](0x904*-0x4+-0x14f3*0x1+-0x5*-0xbb7)[_0x2654e8(_0x541c19._0x51b786,_0x541c19._0x553103,_0x541c19._0x4e9679,0xd6)](_0x4ee365);}else{const _0x156b7c={};return _0x156b7c[_0x102907(-_0x541c19._0x51d2a6,-_0x541c19._0x4d0edb,-_0x541c19._0x30d824,-0x80)]=_0x5e62f8[_0x2654e8(_0x541c19._0x126366,_0x541c19._0x272960,0x8b,0x10)],_0x212b32[_0x102907(-0xeb,-0x17d,-0x1ae,-0x11f)](-0x11a8+-0x1d4f+0x3087*0x1)['json'](_0x156b7c);}}const _0x967c55=await _0x5e62f8[_0x102907(-_0x541c19._0x464fa0,-_0x541c19._0x45efcb,-0xa6,-_0x541c19._0x3428c5)](updateUser,_0x3e6965['user']['id'],_0x34a823);_0x34a823['name']&&(_0x3e6965[_0x2654e8(0xa7,0xc5,_0x541c19._0x4b2846,-0x10)][_0x2654e8(0x8c,0xbb,0x33,-0x36)]=_0x34a823[_0x2654e8(_0x541c19._0x5be7d8,_0x541c19._0x599c3a,0x33,0x4e)]);logger[_0x2654e8(0x8a,-0x21,_0x541c19._0x49bdf8,_0x541c19._0x3c652b)](_0x5e62f8[_0x102907(-_0x541c19._0x5b4313,-_0x541c19._0x1ed8c0,-0xed,-_0x541c19._0x413203)],{'userId':_0x3e6965[_0x2654e8(-0x69,-_0x541c19._0x86f4df,_0x541c19._0x515058,_0x541c19._0x344558)]['id'],'updates':Object['keys'](_0x34a823)});const _0xd46757={};_0xd46757['id']=_0x967c55['id'],_0xd46757[_0x102907(-_0x541c19._0x3d3ee4,-_0x541c19._0x405222,-0x198,-0x134)]=_0x967c55['username'],_0xd46757['email']=_0x967c55[_0x102907(-_0x541c19._0x45e5eb,-_0x541c19._0x508f5c,-0xc3,-0x151)],_0xd46757['name']=_0x967c55['name'],_0xd46757[_0x2654e8(-0x9,_0x541c19._0x375805,_0x541c19._0x3dfd66,-_0x541c19._0x2c723d)]=_0x967c55[_0x102907(-_0x541c19._0x54d96e,-_0x541c19._0x34079d,-_0x541c19._0x583cfd,-_0x541c19._0x36d40a)]||null,_0xd46757[_0x102907(-0x179,-_0x541c19._0x457da3,-_0x541c19._0x46f4bc,-_0x541c19._0x2d490b)+'s']=_0x967c55['preference'+'s']||{};const _0x50e7f6={};_0x50e7f6[_0x2654e8(-_0x541c19._0x2c51e7,_0x541c19._0x24a56d,-0x1f,-0x65)]=_0xd46757,_0x212b32[_0x2654e8(_0x541c19._0x405fa2,_0x541c19._0x578245,0x8d,_0x541c19._0x3428c5)](_0x50e7f6);}catch(_0x458c07){logger[_0x102907(-0x67,-0x7b,0xd,-_0x541c19._0x5fbcc3)](_0x102907(-_0x541c19._0x36ea75,-_0x541c19._0x15cff4,-_0x541c19._0x3d248a,-_0x541c19._0x3670fd)+_0x2654e8(0x42,_0x541c19._0x359526,0xae,_0x541c19._0x2ea4b5)+'file',_0x458c07);const _0x2b05f3={};_0x2b05f3['error']=_0x102907(-_0x541c19._0x991b61,-_0x541c19._0x53c14d,-0x192,-_0x541c19._0x3670fd)+'update\x20pro'+'file',_0x212b32[_0x2654e8(-0x3f,-0x78,-_0x541c19._0x6029ca,_0x541c19._0x24cd8a)](-0x2b*-0x70+0x19f*-0x17+0x1*0x146d)[_0x102907(-_0x541c19._0x921758,-0xba,-_0x541c19._0x710451,-_0x541c19._0x4e2ee1)](_0x2b05f3);}}),router[_0x30d047(-0x1e9,-0xfe,-0x168,-0x1af)](_0x30d047(-0x181,-0x9e,-0x120,-0x125)+'vatar',requireAuth,avatarUpload[_0x41cd7e(0x3f9,0x3e6,0x44a,0x3ce)](_0x30d047(-0x172,-0x1c7,-0x197,-0x1aa)),async(_0x5a9b79,_0xbef366)=>{const _0x3d6a2e={_0x24de11:0x22a,_0x4126fe:0x17f,_0x517d75:0x1cc,_0x4c89bc:0x165,_0x3aeb63:0x34d,_0x30b5e8:0x358,_0x104bd8:0x2bd,_0x5966be:0x282,_0xe2c6fd:0x169,_0x5be15d:0x187,_0x324ab6:0x323,_0x111da4:0x268,_0x1d3f96:0x218,_0x230867:0x3ce,_0x36ad9e:0x3e1,_0x4085c5:0x394,_0x9d7484:0x23a,_0x2ee60c:0x201,_0x5ed24c:0x1bd,_0x29019a:0x1f3,_0x2de943:0x3dd,_0x3754f4:0x386,_0x363e1a:0x3e7,_0x2083e4:0x3f3,_0xecff49:0x153,_0x1d03ad:0x1e4,_0x397aa6:0x1d6,_0xa2ca36:0x15f,_0x4e4bef:0x1e8,_0x16e3d8:0x3ce,_0x4939bf:0x3cb,_0x46c591:0x3d3,_0x2b2ffd:0x393,_0x53ab2d:0x38b,_0x3da717:0x26d,_0x486c6f:0x214,_0x35e2b8:0x21e,_0x49a3bb:0x21a,_0x578cd1:0x269,_0x55e424:0x224,_0x431c26:0x254,_0x4a729c:0x1f9,_0x57566f:0x225,_0x53518e:0x3af,_0x216c58:0x33f,_0x5fcecb:0x43c,_0x1bc127:0x346,_0x58ee7e:0x394,_0x3b88bf:0x217,_0x3a47b3:0x27c,_0x3625a9:0x197,_0x1780c0:0x215,_0x1d18e6:0x37c,_0x16d174:0x34a,_0x306d20:0x2f4,_0x5e865c:0x207,_0x38be39:0x25d,_0x5959d8:0x1ef,_0x405ae2:0x164,_0x363d46:0x351,_0x5358b3:0x3b3,_0x1e15dc:0x36a,_0x5f59b0:0x386,_0x53a2f0:0x3f1,_0x38d70f:0x3dd,_0x1796eb:0x37e,_0x2fb019:0x40d,_0x2b6fb0:0x48c,_0x44c330:0x1ac,_0x41545f:0x1c3,_0x41b683:0x1dd,_0x27477b:0x273,_0xd6ec39:0x1f1,_0x3e5e3f:0x1b9,_0x1bc5cb:0x15d,_0x3bf91a:0x168,_0x5b98c7:0x1a7,_0x30b095:0x375,_0x227846:0x38a,_0x4380d9:0x1af,_0x5a137a:0x228,_0x115c16:0x2b3,_0x508eee:0x229,_0x4aff01:0x252,_0x1dbe34:0x266,_0x32c142:0x1a1,_0x37ea0c:0x178,_0x3135f3:0x364,_0x393462:0x237},_0x5b9cb4={_0x21b7d3:0xb9},_0x2b57b8={_0x593616:0x96};function _0x46951e(_0xe23e3d,_0x2d9b48,_0xad24b6,_0x3b0b31){return _0x41cd7e(_0xe23e3d-0x75,_0x3b0b31,_0xe23e3d- -0x73,_0x3b0b31-_0x2b57b8._0x593616);}function _0xb3a8c2(_0x5c9b62,_0x4bfe68,_0x34b17f,_0x1979a5){return _0x30d047(_0x5c9b62,_0x4bfe68-_0x5b9cb4._0x21b7d3,_0x34b17f- -0x58,_0x1979a5-0x24);}const _0x48814c={'tySzj':function(_0x5798d4,_0x1c6179){return _0x5798d4===_0x1c6179;},'ncoFG':'Mvzwt','VtsRE':function(_0x40e53e){return _0x40e53e();},'KBEUC':_0xb3a8c2(-0x217,-0x21a,-_0x3d6a2e._0x24de11,-0x245),'zrPFg':function(_0x54668c,_0xd6f056){return _0x54668c(_0xd6f056);},'EGWPB':function(_0x5d72e0,_0x474e3e,_0x3fdd5c){return _0x5d72e0(_0x474e3e,_0x3fdd5c);},'SODgb':'Avatar\x20upl'+_0xb3a8c2(-_0x3d6a2e._0x4126fe,-0x16d,-_0x3d6a2e._0x517d75,-_0x3d6a2e._0x4c89bc),'lNdFs':_0x46951e(_0x3d6a2e._0x3aeb63,0x398,0x2c8,_0x3d6a2e._0x30b5e8)+'upload\x20ava'+'tar'};if(!_0x5a9b79[_0xb3a8c2(-_0x3d6a2e._0x104bd8,-_0x3d6a2e._0x5966be,-0x27c,-0x245)]){if(_0x48814c['ncoFG']!==_0x48814c[_0xb3a8c2(-0x14e,-0x10c,-_0x3d6a2e._0xe2c6fd,-0x150)]){if(!_0x3462f1||_0x48814c[_0xb3a8c2(-_0x3d6a2e._0x5be15d,-0x1ea,-0x17b,-0x1de)](_0x317263['trim']()[_0xb3a8c2(-0x2ae,-0x292,-0x25d,-0x243)],-0x1*0x26ba+0x66d*0x3+-0xd*-0x17f)){const _0x5a19c4={};return _0x5a19c4['error']='Name\x20canno'+_0x46951e(0x36d,0x3ba,0x37a,_0x3d6a2e._0x324ab6),_0x2d6140[_0xb3a8c2(-_0x3d6a2e._0x111da4,-0x1f4,-0x237,-_0x3d6a2e._0x1d3f96)](0xbc1+0x15aa+0x5*-0x65f)[_0x46951e(_0x3d6a2e._0x230867,0x3dd,_0x3d6a2e._0x36ad9e,_0x3d6a2e._0x4085c5)](_0x5a19c4);}_0x28dd85[_0xb3a8c2(-_0x3d6a2e._0x9d7484,-0x194,-_0x3d6a2e._0x2ee60c,-0x179)]=_0x206a8e[_0xb3a8c2(-0x21b,-_0x3d6a2e._0x5ed24c,-_0x3d6a2e._0x29019a,-0x1cd)]();}else{const _0xbb809={};return _0xbb809[_0x46951e(_0x3d6a2e._0x2de943,_0x3d6a2e._0x3754f4,_0x3d6a2e._0x363e1a,_0x3d6a2e._0x2083e4)]=_0xb3a8c2(-_0x3d6a2e._0xecff49,-0x20f,-0x1da,-_0x3d6a2e._0x1d03ad)+_0xb3a8c2(-_0x3d6a2e._0x397aa6,-_0x3d6a2e._0xa2ca36,-_0x3d6a2e._0x4e4bef,-0x15f),_0xbef366['status'](-0x53*0x3d+0x1aa9+-0x552)[_0x46951e(_0x3d6a2e._0x16e3d8,0x389,0x376,0x3e6)](_0xbb809);}}try{await _0x48814c[_0x46951e(0x35a,0x379,_0x3d6a2e._0x4939bf,0x3b0)](ensureAvatarsDir);const _0x10729b=_0x46951e(_0x3d6a2e._0x46c591,_0x3d6a2e._0x2b2ffd,_0x3d6a2e._0x53ab2d,0x3e2)+_0x5a9b79[_0xb3a8c2(-0x1ac,-0x2ab,-0x21d,-0x2a4)]['id']+'-'+Date[_0xb3a8c2(-0x256,-_0x3d6a2e._0x3da717,-_0x3d6a2e._0x486c6f,-_0x3d6a2e._0x35e2b8)]()+_0xb3a8c2(-0x211,-0x269,-0x1f7,-_0x3d6a2e._0x49a3bb),_0x3298d5=_0x8e1c16[_0xb3a8c2(-_0x3d6a2e._0x578cd1,-0x1f7,-_0x3d6a2e._0x55e424,-_0x3d6a2e._0x431c26)](AVATARS_DIR,_0x10729b),_0x2a339a={};_0x2a339a[_0xb3a8c2(-_0x3d6a2e._0x4a729c,-0x1b4,-0x1d8,-_0x3d6a2e._0x57566f)]=_0x46951e(0x375,0x35a,0x323,0x3fa),_0x2a339a[_0x46951e(_0x3d6a2e._0x53518e,0x422,_0x3d6a2e._0x216c58,_0x3d6a2e._0x5fcecb)]=_0x48814c[_0x46951e(_0x3d6a2e._0x1bc127,0x357,0x2e3,0x303)];const _0x32a2f3={};_0x32a2f3[_0x46951e(0x373,0x37b,_0x3d6a2e._0x58ee7e,0x366)]=0x5a,await _0x20d04e(_0x5a9b79[_0xb3a8c2(-_0x3d6a2e._0x3b88bf,-0x26b,-_0x3d6a2e._0x3a47b3,-0x2cc)][_0xb3a8c2(-0x14b,-_0x3d6a2e._0x3625a9,-0x1ca,-_0x3d6a2e._0x1780c0)])[_0x46951e(0x40a,0x3cd,0x409,0x420)](AVATAR_SIZE,AVATAR_SIZE,_0x2a339a)['png'](_0x32a2f3)[_0x46951e(0x335,0x2d9,0x38d,_0x3d6a2e._0x1d18e6)](_0x3298d5);const _0x40a561=await _0x48814c[_0x46951e(_0x3d6a2e._0x16d174,_0x3d6a2e._0x306d20,0x303,0x33b)](findUserById,_0x5a9b79[_0xb3a8c2(-_0x3d6a2e._0x5e865c,-0x22f,-0x21d,-0x1eb)]['id']);if(_0x40a561[_0xb3a8c2(-_0x3d6a2e._0x38be39,-0x1bd,-_0x3d6a2e._0x5959d8,-_0x3d6a2e._0x405ae2)]){const _0x2da288=_0x8e1c16[_0x46951e(_0x3d6a2e._0x363d46,_0x3d6a2e._0x5358b3,0x3c3,_0x3d6a2e._0x1e15dc)](AVATARS_DIR,_0x40a561[_0x46951e(_0x3d6a2e._0x5f59b0,_0x3d6a2e._0x53a2f0,_0x3d6a2e._0x38d70f,_0x3d6a2e._0x1796eb)]);try{await _0x27d388[_0x46951e(_0x3d6a2e._0x2fb019,_0x3d6a2e._0x2b6fb0,0x3c5,0x3bf)](_0x2da288);}catch(_0xecfb94){}}const _0x260d7c={};_0x260d7c[_0xb3a8c2(-0x17c,-0x18e,-_0x3d6a2e._0x5959d8,-_0x3d6a2e._0x44c330)]=_0x10729b,await _0x48814c['EGWPB'](updateUser,_0x5a9b79['user']['id'],_0x260d7c);const _0x209a7a={};_0x209a7a['userId']=_0x5a9b79['user']['id'],_0x209a7a[_0xb3a8c2(-_0x3d6a2e._0x41545f,-0x231,-_0x3d6a2e._0x41b683,-0x151)]=_0x10729b,logger['info'](_0x48814c['SODgb'],_0x209a7a);const _0x59d592={};_0x59d592[_0xb3a8c2(-0x270,-_0x3d6a2e._0x27477b,-_0x3d6a2e._0x5959d8,-_0x3d6a2e._0xd6ec39)]=_0x10729b,_0x59d592['avatarUrl']=_0xb3a8c2(-_0x3d6a2e._0x3e5e3f,-_0x3d6a2e._0x1bc5cb,-0x1de,-_0x3d6a2e._0x3bf91a)+_0x10729b,_0xbef366[_0xb3a8c2(-0x126,-0x204,-_0x3d6a2e._0x5b98c7,-_0x3d6a2e._0x4126fe)](_0x59d592);}catch(_0x4417fd){logger[_0x46951e(0x3dd,_0x3d6a2e._0x30b095,_0x3d6a2e._0x227846,0x3ee)](_0xb3a8c2(-_0x3d6a2e._0x4380d9,-0x1c6,-_0x3d6a2e._0x5a137a,-_0x3d6a2e._0x115c16)+_0xb3a8c2(-_0x3d6a2e._0x3b88bf,-0x1be,-_0x3d6a2e._0x508eee,-0x1af)+_0xb3a8c2(-_0x3d6a2e._0x4aff01,-0x2e1,-_0x3d6a2e._0x1dbe34,-0x2d9),_0x4417fd);const _0x2f808a={};_0x2f808a[_0xb3a8c2(-0x170,-_0x3d6a2e._0x32c142,-0x198,-_0x3d6a2e._0x37ea0c)]=_0x48814c[_0x46951e(0x36b,0x3d0,0x388,_0x3d6a2e._0x3135f3)],_0xbef366[_0xb3a8c2(-0x258,-0x246,-_0x3d6a2e._0x393462,-0x282)](-0x1*0x23d4+0x11e9+-0x13df*-0x1)['json'](_0x2f808a);}}),router['delete'](_0x30d047(-0x11e,-0x11d,-0x120,-0xa5)+_0x41cd7e(0x2f3,0x3c0,0x36a,0x352),requireAuth,async(_0x33078c,_0x56b19a)=>{const _0x4422ff={_0x1a7745:0x8e,_0x5a9c36:0x4c,_0x5f43e1:0x65,_0x312333:0x164,_0x3f2d04:0x184,_0x25fb08:0x6,_0xa5a02a:0x59,_0x59a16e:0x18b,_0x1c1dec:0xb,_0x1ecf66:0x139,_0x5e0687:0x18a,_0x5345ff:0x149,_0x5953df:0x187,_0x2c50e5:0x82,_0x220c22:0x26,_0x4ca94b:0x39,_0x2c11dc:0x7c,_0x5886d9:0xa3,_0x730d9a:0xc7,_0x1cb49b:0xd7,_0xb6472e:0x30,_0x3fa8df:0x35,_0x2bd5ad:0x180,_0x1e545f:0x157,_0x137ad9:0xfb,_0x167923:0x122,_0x481bd2:0x2c,_0x39919d:0x22,_0x2ecfda:0x1af,_0x51c824:0x17f,_0x13711c:0x148,_0x151360:0x107,_0x51d318:0x18e,_0x1ace3f:0x70,_0x4218ae:0x7e,_0x135513:0x2b,_0x3eac3a:0x46,_0x4ea03a:0x83,_0x49b91b:0xb5,_0x2fd185:0x5c,_0x7c98f1:0x33,_0x1ebaf7:0x19,_0x43f7e9:0x47,_0x3e8ab1:0x35,_0x5858f5:0x1b,_0xdb6c6f:0x47,_0x27beca:0x20c,_0x9d65ee:0x11d,_0x1d889a:0x63,_0x5da9ff:0x50,_0x1da1b5:0x50,_0x3a42d9:0xa,_0x398895:0x185,_0x590249:0x16,_0x1ce961:0x19,_0x4eb56d:0x74,_0x490e9e:0x86,_0x4e0262:0x1c,_0x4a1f62:0x80},_0x5172c3={_0x81fe9b:0x2ee},_0x46aa3e={_0x11dee3:0x15c},_0x1702a6={};_0x1702a6[_0x1662e5(-_0x4422ff._0x1a7745,-0x6b,-_0x4422ff._0x5a9c36,-0x1d)]=_0x1662e5(-_0x4422ff._0x5f43e1,-0x5a,-0xf0,-0xe5)+'create\x20ava'+_0x3edd65(0x180,0x15d,_0x4422ff._0x312333,_0x4422ff._0x3f2d04)+_0x1662e5(-_0x4422ff._0x25fb08,-0x6e,_0x4422ff._0xa5a02a,-0x32);function _0x1662e5(_0x33ed4f,_0x4cb9f3,_0x3005d2,_0x384758){return _0x30d047(_0x3005d2,_0x4cb9f3-_0x46aa3e._0x11dee3,_0x33ed4f-0x16b,_0x384758-0x15e);}_0x1702a6[_0x3edd65(0x1b6,0x183,_0x4422ff._0x59a16e,0x17f)]=function(_0x5cb0c2,_0x5edf54){return _0x5cb0c2!==_0x5edf54;},_0x1702a6[_0x1662e5(_0x4422ff._0x1c1dec,-0x65,-0xa,0x53)]='ipRfv';function _0x3edd65(_0x2f6bf4,_0x448b87,_0x39bb29,_0x1e144e){return _0x30d047(_0x2f6bf4,_0x448b87-0x1b8,_0x1e144e-_0x5172c3._0x81fe9b,_0x1e144e-0x11c);}_0x1702a6[_0x3edd65(0x238,_0x4422ff._0x1ecf66,0x1e4,0x1b8)]='Avatar\x20rem'+_0x3edd65(_0x4422ff._0x5e0687,_0x4422ff._0x5345ff,0x150,_0x4422ff._0x5953df),_0x1702a6[_0x1662e5(-0x50,-_0x4422ff._0x2c50e5,-_0x4422ff._0x220c22,-_0x4422ff._0x4ca94b)]=_0x1662e5(-0x65,-0xab,-0x40,-_0x4422ff._0x2c11dc)+_0x3edd65(0x12e,0x151,0x128,0x1af)+_0x1662e5(-_0x4422ff._0x5886d9,-0x8b,-_0x4422ff._0x730d9a,-_0x4422ff._0x1cb49b);const _0x55cab4=_0x1702a6;try{const _0x520b35=await findUserById(_0x33078c[_0x1662e5(-0x5a,-_0x4422ff._0xb6472e,-0xdb,-_0x4422ff._0x3fa8df)]['id']);if(_0x520b35[_0x3edd65(0x118,_0x4422ff._0x2bd5ad,0x14a,_0x4422ff._0x1e545f)]){const _0x1f44ae=_0x8e1c16[_0x3edd65(0x1a1,0x14c,_0x4422ff._0x137ad9,_0x4422ff._0x167923)](AVATARS_DIR,_0x520b35[_0x1662e5(-_0x4422ff._0x481bd2,-0x6e,_0x4422ff._0x39919d,-_0x4422ff._0xb6472e)]);try{_0x55cab4[_0x3edd65(0x1a1,_0x4422ff._0x2ecfda,0x1cc,_0x4422ff._0x51c824)](_0x55cab4[_0x3edd65(0x21d,_0x4422ff._0x13711c,_0x4422ff._0x151360,_0x4422ff._0x51d318)],_0x55cab4[_0x1662e5(0xb,-0x14,-_0x4422ff._0x1ace3f,_0x4422ff._0x4218ae)])?_0x16de8f[_0x1662e5(_0x4422ff._0x135513,-0x3f,-_0x4422ff._0x3eac3a,0x9d)](_0x55cab4[_0x3edd65(0x11a,_0x4422ff._0x4ea03a,0x6c,0xf5)],_0x5e4620):await _0x27d388['unlink'](_0x1f44ae);}catch(_0x2227cf){}const _0x5149c0={};_0x5149c0[_0x1662e5(-_0x4422ff._0x481bd2,-0xae,-_0x4422ff._0x5886d9,-_0x4422ff._0x1ace3f)]=null,await updateUser(_0x33078c[_0x3edd65(_0x4422ff._0x49b91b,0x181,0x185,0x129)]['id'],_0x5149c0);const _0x3e7a1e={};_0x3e7a1e[_0x1662e5(-_0x4422ff._0x2fd185,-0x7d,-0xa4,_0x4422ff._0x7c98f1)]=_0x33078c['user']['id'],logger['info'](_0x1662e5(_0x4422ff._0x1ebaf7,-0x65,-_0x4422ff._0x43f7e9,0xa2)+'oved',_0x3e7a1e);}const _0x413406={};_0x413406[_0x3edd65(0x9d,0xe2,0xd1,0xd9)]=_0x55cab4[_0x1662e5(_0x4422ff._0x3e8ab1,_0x4422ff._0x5858f5,-0xf,-_0x4422ff._0xdb6c6f)],_0x56b19a[_0x3edd65(_0x4422ff._0x27beca,0x22c,_0x4422ff._0x9d65ee,0x19f)](_0x413406);}catch(_0x1d0180){logger[_0x1662e5(0x2b,-0x5,_0x4422ff._0x1d889a,_0x4422ff._0x5da9ff)](_0x55cab4[_0x1662e5(-_0x4422ff._0x1da1b5,_0x4422ff._0x3a42d9,-0x82,-0x2d)],_0x1d0180);const _0x28096b={};_0x28096b[_0x3edd65(0x1a9,_0x4422ff._0x398895,0x13f,0x1ae)]=_0x55cab4[_0x1662e5(-_0x4422ff._0x1da1b5,-0x8,_0x4422ff._0x590249,_0x4422ff._0x1ce961)],_0x56b19a[_0x1662e5(-_0x4422ff._0x4eb56d,-_0x4422ff._0x490e9e,-0x103,-0x8b)](0x3*0xaf3+0xcba+-0x2b9f)[_0x1662e5(_0x4422ff._0x4e0262,-0x69,_0x4422ff._0x4a1f62,-0x4b)](_0x28096b);}}),router['get']('/profile/a'+_0x41cd7e(0x370,0x3ee,0x373,0x3f9),requireAuth,async(_0x3ed339,_0x283d65)=>{const _0x4685e0={_0x5d1234:0x3f0,_0x3b17ef:0x433,_0xe95dca:0x43f,_0xb33c70:0x36d,_0x5ce79a:0x381,_0x4a9adc:0x2e4,_0xe443a6:0x3e1,_0x5c1d29:0x425,_0x1f77d1:0x38b,_0x34bfe7:0x3ac,_0x70d9af:0x31c,_0x47d883:0x394,_0x2874a7:0x408,_0x8d1087:0x39c,_0x1d2c83:0x371,_0x5283b3:0x305,_0x52db29:0x31f,_0x13d56d:0x382,_0x1b311e:0x2b6,_0x319e97:0x421,_0x32ba09:0x400,_0x10e512:0x486,_0x11ad22:0x3f7,_0x5536b0:0x42a,_0x4903d8:0x395,_0x4170a4:0x313,_0x3da1d7:0x35f,_0x5cd844:0x367,_0x194d9a:0x3d4,_0x5548e:0x3a9,_0x1a7217:0x3a5,_0x320c53:0x3c3,_0x1efc0a:0x3ea,_0x45b23b:0x41f,_0x590edd:0x442,_0x4654f0:0x385,_0xa439cc:0x36a,_0x3044f3:0x336,_0x36687f:0x35b,_0x40f0ea:0x42b,_0x3f5ef1:0x38a,_0x59b4b5:0x3fa,_0x2a71e7:0x439,_0x5c279b:0x3b2,_0x4f6009:0x3f2,_0x4c5a0e:0x46f,_0x3febc9:0x46c,_0x22786d:0x3cf,_0x2fb136:0x372,_0x41c398:0x3ce,_0x18e3d5:0x2e4,_0x16f853:0x3eb,_0x51cb4a:0x37e,_0x1ecd00:0x30e,_0x3a4991:0x303,_0x42bde8:0x359,_0x3babcf:0x354,_0x399d71:0x3b3,_0xf19d7d:0x36e,_0x28a3a4:0x3e9,_0x401fca:0x375,_0xe4444a:0x34e,_0x2b032e:0x36d,_0x4d1f05:0x339,_0x4ea33f:0x392,_0x13f009:0x352,_0x3fe0f5:0x3be,_0x3a025a:0x342,_0xd9c250:0x3ed,_0x1e2386:0x3ef,_0xd7cbf4:0x358,_0xdfa91e:0x388,_0x4119d2:0x32d,_0x566e02:0x2fa,_0x41e382:0x2fd,_0x3f1ef4:0x340,_0x4b2960:0x331,_0x23f809:0x383,_0x1125ba:0x393,_0x516c62:0x378,_0x1e2fc7:0x3c1,_0x28fb3d:0x36f,_0x378a51:0x2ea,_0x3e2856:0x2a6,_0x5449eb:0x371,_0x1a0ed3:0x3c2,_0x5d6a29:0x3c0,_0xac9bfa:0x40a,_0x5ac723:0x3cd,_0x128e6a:0x3dd,_0x3ec641:0x36c,_0x13aa9f:0x34d,_0x4129ce:0x352,_0x4d6df1:0x411,_0x1045f0:0x43a,_0x516780:0x3c6,_0x5875cd:0x3fa,_0x158f14:0x429,_0x2ffefe:0x471,_0x34b9a5:0x2b7,_0x4ed5d6:0x397,_0x11e311:0x382,_0xc6f79a:0x330,_0x28200c:0x37b,_0x2a1e4c:0x3f6,_0x548591:0x315,_0x2cf097:0x358,_0x4c8f19:0x347,_0x303855:0x39b,_0x263f77:0x3a6,_0x5be01d:0x389,_0x1ad0a8:0x444,_0x4e03ba:0x445,_0x405377:0x418,_0x88967a:0x3fe,_0x2bd642:0x488,_0x760edf:0x497,_0x150f00:0x3a2,_0x1e3153:0x413,_0x33fc11:0x3b4,_0x5e9f29:0x3fc,_0x170414:0x41e,_0x49d948:0x3ca,_0x27e758:0x3ee,_0xbaf12f:0x384,_0x2e6bce:0x37c,_0x227627:0x374,_0x3e24ac:0x3b3,_0x29cc83:0x2e7,_0x50e045:0x2e4,_0x2dfa56:0x2e0,_0x544139:0x357,_0x5b24c4:0x3a8,_0x403aec:0x36d,_0x2a2a4d:0x29e,_0x29e60a:0x345,_0x142e5c:0x376,_0x1ff60a:0x3b0,_0x25db19:0x41c,_0x102f5a:0x346,_0x5caa46:0x2ef,_0x1ec420:0x3cf,_0xeece13:0x3b4,_0x30b1d1:0x434,_0x38de3c:0x3c5,_0x573eb9:0x3b2,_0x218c5c:0x409,_0x1ab315:0x3c5,_0x427cc8:0x406,_0x240041:0x42e,_0x5b6466:0x413,_0x1c83d1:0x3bc,_0x53e92a:0x3dc,_0x40d955:0x3be,_0x53e22c:0x33b,_0x424c74:0x3d0,_0x3d1974:0x3eb,_0x5435ef:0x3d0,_0xa4e960:0x46e,_0x13da70:0x41d,_0x1267ba:0x411,_0x4da143:0x3d2,_0x245c28:0x3da,_0x2adad9:0x3b8,_0x57f3d7:0x3cc,_0x2eda8c:0x2ae,_0x3f05e5:0x38d,_0x24c559:0x3c2,_0x1982d2:0x343,_0x51d0ef:0x384,_0x3ec9d6:0x3f1,_0x2ae207:0x3ee,_0x32fceb:0x372},_0x5c9aa9={_0x406737:0x1c5,_0x470db6:0x28d,_0x3ea247:0x1c0,_0x63591a:0x1d0,_0x221944:0x24d},_0x3ef7dd={_0x742b81:0xb9,_0x1b88f1:0x5f5,_0x17e4f1:0x14},_0x147366={_0xbee532:0x1cb},_0x147f86={_0x3b89d2:0x56,_0x20ff05:0x97},_0x1b3ff3={_0xd4de02:0x3f,_0x583962:0x147},_0x5cb582={'GWIyB':'Failed\x20to\x20'+_0x181b4a(0x3c3,_0x4685e0._0x5d1234,_0x4685e0._0x3b17ef,_0x4685e0._0xe95dca)+'ssion','AafPw':_0x5c1d00(0x326,_0x4685e0._0xb33c70,_0x4685e0._0x5ce79a,_0x4685e0._0x4a9adc)+'ge_members'+_0x181b4a(0x3a1,0x360,_0x4685e0._0xe443a6,_0x4685e0._0x5c1d29),'zbbGm':'Login\x20erro'+'r','KiWCx':_0x5c1d00(0x3f3,0x3aa,_0x4685e0._0x1f77d1,_0x4685e0._0x34bfe7)+'ccurred\x20du'+_0x181b4a(_0x4685e0._0x70d9af,_0x4685e0._0x47d883,0x304,0x355)+_0x5c1d00(0x43c,0x3e8,_0x4685e0._0x2874a7,_0x4685e0._0x8d1087),'LpRjV':function(_0x47d391,_0x37a3f7,_0x193066){return _0x47d391(_0x37a3f7,_0x193066);},'gpQdC':'Failed\x20to\x20'+'save\x20sessi'+'on','tjPSo':_0x181b4a(_0x4685e0._0x1d2c83,_0x4685e0._0x5283b3,0x352,_0x4685e0._0x52db29)+'ed','EThhF':function(_0xd6a0cc,_0x31245d){return _0xd6a0cc===_0x31245d;},'nbxyR':_0x5c1d00(0x365,_0x4685e0._0x13d56d,0x380,0x34d),'QUHgE':_0x181b4a(0x32f,_0x4685e0._0x1b311e,0x2e3,0x371),'FJXUP':function(_0x10943c,_0x2a11b1){return _0x10943c!==_0x2a11b1;},'TNHsR':function(_0x10aa9c,_0x2e9468){return _0x10aa9c(_0x2e9468);},'nYGTC':function(_0x11f3cd,_0x1b28ef){return _0x11f3cd>_0x1b28ef;},'cbKzi':_0x5c1d00(0x48f,_0x4685e0._0x319e97,_0x4685e0._0x32ba09,_0x4685e0._0x10e512),'ZrJLO':_0x5c1d00(_0x4685e0._0x11ad22,0x410,_0x4685e0._0x5536b0,_0x4685e0._0x4903d8),'SydRb':function(_0x4e65de,_0x20d928,_0x5b07a6){return _0x4e65de(_0x20d928,_0x5b07a6);},'SuaQR':'team','Bmwaz':_0x181b4a(0x3be,0x3a6,0x3c0,0x3b5)+'t','ypqfq':function(_0x1c2ce1,_0x3c71f9){return _0x1c2ce1(_0x3c71f9);},'RvJHr':function(_0x46cbe9,_0x533cda){return _0x46cbe9!==_0x533cda;},'gyynT':_0x5c1d00(_0x4685e0._0x4170a4,_0x4685e0._0x3da1d7,_0x4685e0._0x5cd844,_0x4685e0._0x194d9a),'ohvaV':_0x181b4a(_0x4685e0._0x5548e,_0x4685e0._0x1a7217,0x430,0x379),'YGjnT':_0x181b4a(0x39a,0x360,_0x4685e0._0x320c53,0x3a8),'yrykO':'Failed\x20to\x20'+_0x181b4a(_0x4685e0._0x1efc0a,_0x4685e0._0x45b23b,_0x4685e0._0x590edd,_0x4685e0._0x4654f0)+'e\x20access\x20i'+'nfo','xocMp':_0x181b4a(_0x4685e0._0xa439cc,0x35e,_0x4685e0._0x3044f3,_0x4685e0._0x36687f)+'get\x20access'+_0x5c1d00(_0x4685e0._0x40f0ea,0x3f5,0x456,0x408)};function _0x5c1d00(_0x32c130,_0x37d4c4,_0x47d023,_0x1c315a){return _0x41cd7e(_0x32c130-0x14a,_0x47d023,_0x37d4c4- -_0x1b3ff3._0xd4de02,_0x1c315a-_0x1b3ff3._0x583962);}function _0x181b4a(_0x4c9b3e,_0x4ab966,_0x222c62,_0x53f211){return _0x41cd7e(_0x4c9b3e-0xbe,_0x53f211,_0x4c9b3e- -_0x147f86._0x3b89d2,_0x53f211-_0x147f86._0x20ff05);}try{if(_0x5cb582[_0x5c1d00(0x3c6,_0x4685e0._0x45b23b,0x470,0x3be)](_0x5cb582['nbxyR'],_0x5cb582['QUHgE'])){const _0x180c73={};_0x180c73[_0x5c1d00(0x3d8,_0x4685e0._0x3f5ef1,0x39d,0x365)]=_0x480bc7,_0x180c73['username']=_0x5d81e6,_0x2a03b8[_0x181b4a(_0x4685e0._0x59b4b5,0x414,_0x4685e0._0x2a71e7,_0x4685e0._0x5c279b)](_0x5cb582[_0x5c1d00(0x438,0x416,_0x4685e0._0x45b23b,0x3da)],_0x170fea,_0x180c73);const _0x527010={};return _0x527010['error']='Logout\x20fai'+_0x181b4a(_0x4685e0._0x4f6009,0x46f,_0x4685e0._0x4c5a0e,_0x4685e0._0x3febc9),_0x527010['message']=_0x5cb582[_0x5c1d00(0x38a,0x416,0x446,0x428)],_0x4c50b1[_0x5c1d00(_0x4685e0._0x22786d,_0x4685e0._0x2fb136,_0x4685e0._0x41c398,_0x4685e0._0x18e3d5)](-0x3cd+-0x232a+0x82f*0x5)[_0x181b4a(_0x4685e0._0x16f853,_0x4685e0._0x59b4b5,_0x4685e0._0x51cb4a,0x387)](_0x527010);}else{const _0x5b4cc4=_0x3ed339[_0x5c1d00(0x401,0x38c,_0x4685e0._0x1ecd00,_0x4685e0._0x3a4991)]['id'],_0x1bc141=await getTeamsByUserId(_0x5b4cc4),_0x4fd241=await Promise[_0x5c1d00(0x31f,_0x4685e0._0x42bde8,0x374,_0x4685e0._0x3babcf)](_0x1bc141['map'](async _0x58b600=>{const _0x5e5038=await hasPermission(_0x5b4cc4,_0x5cb582[_0x59d3a1(-_0x5c9aa9._0x406737,-_0x5c9aa9._0x470db6,-0x24f,-_0x5c9aa9._0x3ea247)],_0x58b600['id']);function _0x233a15(_0x995925,_0x2f611a,_0x16fad3,_0x28bc96){return _0x5c1d00(_0x995925-_0x147366._0xbee532,_0x2f611a- -0x6e,_0x16fad3,_0x28bc96-0x28);}function _0x59d3a1(_0xfa474a,_0x29b862,_0xfb51ab,_0x3c9c2e){return _0x5c1d00(_0xfa474a-_0x3ef7dd._0x742b81,_0xfb51ab- -_0x3ef7dd._0x1b88f1,_0x29b862,_0x3c9c2e-_0x3ef7dd._0x17e4f1);}const _0x21ef80={};return _0x21ef80['id']=_0x58b600['id'],_0x21ef80[_0x59d3a1(-_0x5c9aa9._0x63591a,-0x2b0,-_0x5c9aa9._0x221944,-0x27f)]=_0x58b600['name'],_0x21ef80['canManageM'+_0x59d3a1(-0x27e,-0x242,-0x2c6,-0x285)]=_0x5e5038,_0x21ef80;})),_0x4de52d=new Map(),_0x3bb4af=await _0x5cb582[_0x5c1d00(_0x4685e0._0x399d71,0x3b0,_0x4685e0._0xf19d7d,_0x4685e0._0x28a3a4)](getBindingsBySubject,_0x181b4a(_0x4685e0._0x401fca,_0x4685e0._0xe4444a,0x3e9,_0x4685e0._0x2b032e),_0x5b4cc4);for(const _0x599199 of _0x3bb4af){if(_0x5cb582['FJXUP'](_0x599199['resource_t'+_0x181b4a(_0x4685e0._0x4d1f05,_0x4685e0._0x4ea33f,0x2af,_0x4685e0._0x13f009)],_0x181b4a(_0x4685e0._0x3fe0f5,_0x4685e0._0x3a025a,_0x4685e0._0xd9c250,_0x4685e0._0x1e2386)+'t')||!_0x599199[_0x181b4a(_0x4685e0._0xd7cbf4,0x3a8,_0x4685e0._0xdfa91e,0x31a)+'d'])continue;const _0x409bd7=await _0x5cb582[_0x181b4a(_0x4685e0._0x4119d2,_0x4685e0._0x566e02,0x29f,0x379)](getRoleById,_0x599199[_0x5c1d00(0x3c0,_0x4685e0._0x5cd844,_0x4685e0._0x41e382,0x3c2)]),_0x57b2d5=_0x409bd7?_0x409bd7[_0x5c1d00(0x434,0x3a8,_0x4685e0._0x3f1ef4,0x432)]:_0x599199[_0x5c1d00(0x329,0x367,_0x4685e0._0x4b2960,0x3df)],_0x5434f8=_0x409bd7?_0x409bd7[_0x5c1d00(_0x4685e0._0x23f809,_0x4685e0._0x1125ba,_0x4685e0._0x516c62,0x396)+'s'][_0x181b4a(0x335,0x31b,0x2db,_0x4685e0._0x1e2fc7)]:-0x1*0x1f67+0x1*0x1a1a+0x54d,_0x1dc75a=_0x4de52d['get'](_0x599199[_0x5c1d00(0x364,_0x4685e0._0x28fb3d,_0x4685e0._0x378a51,0x2f8)+'d']);if(!_0x1dc75a||_0x5cb582[_0x181b4a(0x32a,0x2cc,_0x4685e0._0x3e2856,0x29f)](_0x5434f8,_0x1dc75a[_0x5c1d00(0x30d,_0x4685e0._0x5449eb,_0x4685e0._0x1a0ed3,0x33d)+_0x5c1d00(0x3a1,0x38b,0x371,_0x4685e0._0x5d6a29)])){if(_0x5cb582[_0x181b4a(_0x4685e0._0x2874a7,_0x4685e0._0xac9bfa,_0x4685e0._0x590edd,_0x4685e0._0x5ac723)](_0x5cb582[_0x181b4a(_0x4685e0._0x128e6a,0x386,_0x4685e0._0x3ec641,0x38e)],_0x181b4a(_0x4685e0._0x13aa9f,0x3c8,0x357,_0x4685e0._0x4129ce))){_0x5592eb[_0x5c1d00(0x48b,_0x4685e0._0x4d6df1,_0x4685e0._0x1045f0,_0x4685e0._0x516780)](_0x5cb582['zbbGm'],_0x45341b);const _0x5c5ea2={};_0x5c5ea2[_0x181b4a(_0x4685e0._0x5875cd,_0x4685e0._0x158f14,0x3d8,_0x4685e0._0x2ffefe)]=_0x5c1d00(0x337,0x388,0x2ff,0x3d5)+'ed',_0x5c5ea2['message']=_0x5cb582[_0x181b4a(0x338,0x2fc,_0x4685e0._0x34b9a5,_0x4685e0._0x4ed5d6)],_0x579920[_0x181b4a(_0x4685e0._0x36687f,_0x4685e0._0x11e311,_0x4685e0._0xc6f79a,0x2fd)](-0x5ae+0x2e*0x4+-0x24e*-0x3)[_0x181b4a(0x3eb,_0x4685e0._0x28200c,0x3d5,0x447)](_0x5c5ea2);}else _0x4de52d[_0x181b4a(0x384,0x3e7,0x3f1,_0x4685e0._0x2a1e4c)](_0x599199[_0x181b4a(0x358,0x3d5,0x3dd,_0x4685e0._0x548591)+'d'],{'name':_0x599199[_0x181b4a(_0x4685e0._0x2cf097,_0x4685e0._0x4c8f19,0x30f,0x2f5)+'d'],'roleName':_0x57b2d5,'rolePermCount':_0x5434f8,'via':_0x181b4a(0x3a9,_0x4685e0._0x303855,0x357,0x3fb)});}}for(const _0x31dcb3 of _0x1bc141){if(_0x5cb582[_0x5c1d00(0x3b5,0x40c,0x393,0x461)](_0x181b4a(0x3f9,_0x4685e0._0x263f77,0x39c,0x396),_0x5cb582['ZrJLO'])){const _0x3c6893={};return _0x3c6893['error']=_0x181b4a(0x3d5,_0x4685e0._0x590edd,0x42c,0x450)+'ound',_0x167e46['status'](-0x1fc7*0x1+-0x14cf+0x3*0x120e)[_0x181b4a(_0x4685e0._0x16f853,0x37f,_0x4685e0._0x5be01d,_0x4685e0._0x1ad0a8)](_0x3c6893);}else{const _0x28dde3=await _0x5cb582[_0x5c1d00(_0x4685e0._0x4e03ba,_0x4685e0._0x405377,_0x4685e0._0x88967a,_0x4685e0._0x2bd642)](getBindingsBySubject,_0x5cb582[_0x5c1d00(_0x4685e0._0x760edf,0x430,_0x4685e0._0x150f00,_0x4685e0._0x1e2fc7)],_0x31dcb3['id']);for(const _0xae3b6a of _0x28dde3){if(_0x5cb582['FJXUP'](_0xae3b6a[_0x5c1d00(_0x4685e0._0x1e3153,_0x4685e0._0x33fc11,_0x4685e0._0x3a025a,0x379)+'ype'],_0x5cb582[_0x5c1d00(0x3b3,_0x4685e0._0x5e9f29,_0x4685e0._0x5d1234,_0x4685e0._0x170414)])||!_0xae3b6a[_0x5c1d00(0x2ff,0x36f,_0x4685e0._0x378a51,_0x4685e0._0xd9c250)+'d'])continue;const _0x595268=await _0x5cb582['ypqfq'](getRoleById,_0xae3b6a[_0x181b4a(0x350,_0x4685e0._0xe4444a,_0x4685e0._0x49d948,0x30f)]),_0x55d7ab=_0x595268?_0x595268[_0x5c1d00(0x377,0x3a8,_0x4685e0._0x27e758,0x3e5)]:_0xae3b6a[_0x181b4a(0x350,_0x4685e0._0xbaf12f,0x2ca,0x333)],_0x23211a=_0x595268?_0x595268[_0x181b4a(_0x4685e0._0x2e6bce,_0x4685e0._0x227627,_0x4685e0._0x3e24ac,0x303)+'s'][_0x5c1d00(_0x4685e0._0x29cc83,0x34c,_0x4685e0._0x50e045,_0x4685e0._0x2dfa56)]:0x1ef+0xf70+-0x115f,_0x285a98='team:\x20'+_0x31dcb3[_0x5c1d00(_0x4685e0._0x544139,_0x4685e0._0x5b24c4,0x3e6,0x338)],_0x3bf88b=_0x4de52d[_0x181b4a(0x315,_0x4685e0._0x5449eb,_0x4685e0._0x403aec,_0x4685e0._0x2a2a4d)](_0xae3b6a[_0x181b4a(0x358,0x3cf,0x3c2,0x3b2)+'d']);(!_0x3bf88b||_0x5cb582['nYGTC'](_0x23211a,_0x3bf88b['rolePermCo'+_0x5c1d00(_0x4685e0._0x1d2c83,0x38b,_0x4685e0._0x29e60a,0x36f)]))&&(_0x5cb582[_0x5c1d00(0x2ed,_0x4685e0._0x142e5c,_0x4685e0._0x516c62,0x33d)](_0x5cb582[_0x181b4a(0x386,0x35f,0x414,0x314)],_0x5cb582['gyynT'])?_0x5cb582[_0x5c1d00(0x3ea,_0x4685e0._0x1ff60a,_0x4685e0._0x25db19,0x369)](_0xc2f56e,null,!![]):_0x4de52d['set'](_0xae3b6a[_0x5c1d00(0x309,_0x4685e0._0x28fb3d,_0x4685e0._0x5c279b,_0x4685e0._0x102f5a)+'d'],{'name':_0xae3b6a[_0x181b4a(_0x4685e0._0x2cf097,0x362,0x2fe,_0x4685e0._0x5caa46)+'d'],'roleName':_0x55d7ab,'rolePermCount':_0x23211a,'via':_0x3bf88b?.[_0x181b4a(0x413,_0x4685e0._0x1ec420,_0x4685e0._0xeece13,_0x4685e0._0x30b1d1)]===_0x5cb582[_0x181b4a(_0x4685e0._0x38de3c,0x337,_0x4685e0._0x573eb9,_0x4685e0._0x218c5c)]?_0x5cb582[_0x181b4a(_0x4685e0._0x1ab315,0x44a,_0x4685e0._0x427cc8,0x359)]:_0x285a98}));}}}const _0x57b945=[..._0x4de52d[_0x181b4a(0x3ae,_0x4685e0._0x240041,0x39d,_0x4685e0._0x5b6466)]()][_0x181b4a(0x387,_0x4685e0._0x1c83d1,_0x4685e0._0x53e92a,0x39a)](({rolePermCount:_0x212318,..._0x358113})=>_0x358113),_0x358698={};_0x358698['teams']=_0x4fd241,_0x358698[_0x181b4a(_0x4685e0._0x40d955,0x3f9,_0x4685e0._0x53e22c,_0x4685e0._0x424c74)+'ts']=_0x57b945,_0x283d65[_0x181b4a(_0x4685e0._0x3d1974,0x373,_0x4685e0._0x1ff60a,_0x4685e0._0x5435ef)](_0x358698);}}catch(_0x35889b){if(_0x5cb582['YGjnT']===_0x5cb582[_0x181b4a(_0x4685e0._0x170414,0x448,0x39d,_0x4685e0._0x38de3c)]){logger[_0x5c1d00(0x384,0x411,_0x4685e0._0xa4e960,_0x4685e0._0x13da70)](_0x5cb582['yrykO'],_0x35889b);const _0x460b88={};_0x460b88[_0x5c1d00(0x38b,_0x4685e0._0x1267ba,0x437,0x460)]=_0x5cb582[_0x5c1d00(_0x4685e0._0x34bfe7,_0x4685e0._0x47d883,0x38d,_0x4685e0._0x4da143)],_0x283d65['status'](-0x1*0x2405+-0xe3*-0x29+0x19e)['json'](_0x460b88);}else{_0xac527d[_0x181b4a(_0x4685e0._0x5875cd,0x39d,0x402,0x37b)](_0x5cb582[_0x5c1d00(_0x4685e0._0x245c28,0x3d2,0x426,_0x4685e0._0x2adad9)],_0x513d5b);const _0x2a84ca={};return _0x2a84ca[_0x181b4a(0x3fa,0x453,_0x4685e0._0x57f3d7,_0x4685e0._0x49d948)]=_0x5cb582[_0x181b4a(0x33d,_0x4685e0._0x2eda8c,_0x4685e0._0x3f05e5,0x37b)],_0x2a84ca['message']=_0x181b4a(0x36a,_0x4685e0._0x24c559,_0x4685e0._0x1982d2,0x3ce)+_0x5c1d00(_0x4685e0._0x51d0ef,0x3c3,_0x4685e0._0xd7cbf4,_0x4685e0._0x3ec9d6)+'sion',_0x40358d[_0x5c1d00(_0x4685e0._0x2ae207,_0x4685e0._0x32fceb,0x34c,0x39d)](-0x1e29+0x4*-0x57b+0x57*0x9f)['json'](_0x2a84ca);}}});export default router;
|