@profoundlogic/coderflow-server 0.4.9 → 0.5.1
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/README.md +16 -158
- package/dist/README.md +16 -158
- package/dist/base-image/agent-wrapper.sh +1 -1
- package/dist/capture-screenshot.mjs +34 -0
- package/dist/coder-server.js +1 -1
- package/dist/config/cli-models.json +4 -3
- 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 -0
- 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 -0
- 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 -0
- package/dist/lib/cli/list-users.js +1 -0
- package/dist/lib/cli/server-manager.js +1 -1
- package/dist/lib/cli/set-password.js +1 -0
- 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 -0
- 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/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-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/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/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/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/scripts/sync_to_ibmi.sh +204 -0
- 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/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/docs/admin/environments.md +1 -0
- package/dist/web-ui/public/docs/tasks/approval-and-deployment.md +36 -0
- package/dist/web-ui/public/environments.html +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/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/index.html +2 -2
- 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/pr-dialog.js +1 -1
- package/dist/web-ui/public/roles.html +3 -2
- package/dist/web-ui/public/roles.js +1 -1
- package/dist/web-ui/public/server-health.js +1 -1
- package/dist/web-ui/public/settings.css +3 -2
- package/dist/web-ui/public/settings.html +0 -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/styles.css +110 -12
- package/dist/web-ui/public/task.html +80 -1
- package/dist/web-ui/public/task.js +1 -1
- package/dist/web-ui/public/teams.html +76 -81
- 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.html +12 -11
- 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/lib/cli/migrate-rbac.js +0 -1
- package/dist/lib/scoped-rbac-migration-runner.js +0 -1
- package/dist/scripts/migrate-to-scoped-rbac.js +0 -2
package/dist/routes/auth.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x58c133,_0x394edf){const _0x49f06f={_0x582e65:0x17d,_0x532794:0x1a4,_0x44863b:0x11d,_0x5eb4a6:0x247,_0x5e4d1b:0x23a,_0x454136:0x7,_0x1ea450:0x22,_0x2a876f:0x54,_0x3bd452:0x34,_0xd8ba41:0x106,_0x4015a2:0x80,_0x36bbaf:0x1c2,_0x449a12:0x1fb,_0x563895:0x237,_0x370c54:0x6b,_0x2f208e:0x63,_0x19d615:0x6d,_0x3bbec3:0x24a,_0x33e029:0x2ce,_0x3e2672:0x2a5,_0x1d1f23:0x255,_0x35d0ae:0x51,_0x48f345:0xa8},_0x444d3f={_0x49710e:0xf},_0x5e7753={_0x1e0ebb:0x1a3};function _0x511196(_0x3cd62a,_0x1fd059,_0x240bf0,_0x334e2d){return _0x1bc5(_0x334e2d- -_0x5e7753._0x1e0ebb,_0x240bf0);}const _0xb85356=_0x58c133();function _0x3e1d63(_0x309dca,_0x1025bb,_0x2e90ce,_0x39777f){return _0x1bc5(_0x39777f- -_0x444d3f._0x49710e,_0x309dca);}while(!![]){try{const _0x4a5ae2=parseInt(_0x3e1d63(0x1b1,_0x49f06f._0x582e65,0x128,_0x49f06f._0x532794))/(-0x1c82+-0x1*0xbcf+0x2852)+-parseInt(_0x3e1d63(_0x49f06f._0x44863b,0x134,0x17b,0x15b))/(-0x945+0x18ae+-0xf67*0x1)*(parseInt(_0x3e1d63(0x262,_0x49f06f._0x5eb4a6,0x289,_0x49f06f._0x5e4d1b))/(-0x167*-0x15+-0xd39+0x251*-0x7))+-parseInt(_0x511196(-_0x49f06f._0x454136,_0x49f06f._0x1ea450,_0x49f06f._0x2a876f,_0x49f06f._0x3bd452))/(0x2*0x9aa+0x2*-0x4d1+0x19d*-0x6)+-parseInt(_0x511196(_0x49f06f._0xd8ba41,0x35,0x65,_0x49f06f._0x4015a2))/(-0x65e+0x1*-0xb93+0x11f6)*(-parseInt(_0x3e1d63(_0x49f06f._0x36bbaf,0x14d,_0x49f06f._0x449a12,0x1cd))/(0x201c+-0x61+-0x1*0x1fb5))+parseInt(_0x3e1d63(_0x49f06f._0x563895,0x14b,0x204,0x1bf))/(0x27*0x46+0x1f62+0x15b*-0x1f)*(parseInt(_0x511196(_0x49f06f._0x370c54,0x87,0x68,_0x49f06f._0x2f208e))/(-0x235f+0x8f3+0x1a74))+-parseInt(_0x511196(-_0x49f06f._0x19d615,-0xc,-0x32,-0x3))/(-0x1*0x2281+0x1fe8*0x1+0x2a2)*(parseInt(_0x3e1d63(_0x49f06f._0x3bbec3,_0x49f06f._0x33e029,_0x49f06f._0x3e2672,_0x49f06f._0x1d1f23))/(-0x1*-0x6d9+0x3dc*-0x5+0xc7d))+-parseInt(_0x511196(0xfe,_0x49f06f._0x35d0ae,_0x49f06f._0x48f345,0x72))/(-0x1ccf+-0x1a54+-0x3f1*-0xe);if(_0x4a5ae2===_0x394edf)break;else _0xb85356['push'](_0xb85356['shift']());}catch(_0x573dfd){_0xb85356['push'](_0xb85356['shift']());}}}(_0x5e48,-0x81c42+0x3d036+0x9925d));import _0x1cb378 from'express';import _0x5daf0e from'multer';import _0x1f6ebf from'sharp';import _0x4d815a from'path';import{promises as _0x1bedbd}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{hasPermissionOnAnyEnvironment,getVisibleEnvironments,resolveUserPermissions}from'../lib/permission-resolver.js';function _0x1bc5(_0xf17b80,_0xd26262){_0xf17b80=_0xf17b80-(-0x5*-0x755+-0x1db*0x3+-0x1db5);const _0x8d998a=_0x5e48();let _0x262e99=_0x8d998a[_0xf17b80];if(_0x1bc5['zNfwtU']===undefined){var _0x33df37=function(_0x29fcf2){const _0x15f8a8='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x51f703='',_0x3e4e82='';for(let _0x233088=0xb2*0x25+0xd9e+-0x13ac*0x2,_0x2da579,_0x234bc1,_0x4a37b5=-0x8*0x188+0x1374+-0x734;_0x234bc1=_0x29fcf2['charAt'](_0x4a37b5++);~_0x234bc1&&(_0x2da579=_0x233088%(0x24cc+0x551*0x7+-0x13*0x3e5)?_0x2da579*(0x183d+-0x14cb+-0x332)+_0x234bc1:_0x234bc1,_0x233088++%(0x2266+-0x3*-0x36f+-0x2caf))?_0x51f703+=String['fromCharCode'](-0x209*0x4+0x1cd*0xe+-0x1013&_0x2da579>>(-(-0x2595*0x1+-0x1d69+0x4300)*_0x233088&0xcf9+0x875+0x14*-0x112)):-0xb1a*0x1+0x3c4*0x6+-0xb7e){_0x234bc1=_0x15f8a8['indexOf'](_0x234bc1);}for(let _0x3b3693=-0x1*0x1cf9+-0x5ef*0x4+0x34b5,_0x224e3a=_0x51f703['length'];_0x3b3693<_0x224e3a;_0x3b3693++){_0x3e4e82+='%'+('00'+_0x51f703['charCodeAt'](_0x3b3693)['toString'](-0x1b44+0x1d46+-0x3*0xa6))['slice'](-(0xe15+-0x1ccf+0xebc));}return decodeURIComponent(_0x3e4e82);};_0x1bc5['IpAdDF']=_0x33df37,_0x1bc5['yIFwVJ']={},_0x1bc5['zNfwtU']=!![];}const _0x4853ba=_0x8d998a[-0x6a*0xe+-0xb*0xe8+0xfc4],_0x1c2df5=_0xf17b80+_0x4853ba,_0x3ba9b1=_0x1bc5['yIFwVJ'][_0x1c2df5];return!_0x3ba9b1?(_0x262e99=_0x1bc5['IpAdDF'](_0x262e99),_0x1bc5['yIFwVJ'][_0x1c2df5]=_0x262e99):_0x262e99=_0x3ba9b1,_0x262e99;}import{getTeamsManagedBy,getTeamsByUserId}from'../lib/teams.js';import{getBindingsBySubject}from'../lib/bindings.js';import{getRoleById}from'../lib/role-definitions.js';const AVATARS_DIR=_0x4d815a['join'](DATA_DIR,_0x4652bc(-0x127,-0x1cd,-0xed,-0x14e)),AVATAR_SIZE=0x1e5a+0x1c04+0x419*-0xe,_0x119c73={};_0x119c73['fileSize']=(0xd47+-0x2665+0x14*0x142)*(-0x97b+0x7*-0x32b+0x23a8)*(0x26f8+0x26a5*0x1+-0x499d);const avatarUpload=_0x5daf0e({'storage':_0x5daf0e[_0x4652bc(-0xcf,-0x153,-0x16b,-0x13e)+_0x4652bc(-0x97,-0x9e,-0x57,-0x67)](),'limits':_0x119c73,'fileFilter':(_0x2319f5,_0x318835,_0x5142eb)=>{const _0x9d65f9={_0x2965f7:0x1ee,_0x272c89:0x17a,_0x498678:0xa5,_0x8130d9:0xdf,_0x5f2d9f:0x1c1,_0x87afb9:0x213,_0x5627e7:0x222,_0x175bb3:0x1c9,_0x46c304:0x5f,_0x2177c3:0x57,_0x329f4e:0x205,_0x105871:0x1b3,_0x15aa99:0x22,_0x433dc3:0x1f7,_0x554fd9:0x20f,_0x580b94:0x94,_0x3d1d59:0x194,_0x267294:0x16a,_0x290e83:0xb2,_0x368df1:0x109,_0x531e3b:0x137,_0x411cbf:0x14e,_0x5a5625:0x237,_0x590eac:0x1db,_0x3fcccf:0x189,_0x4e04c8:0x254,_0x2ea06f:0x25a,_0x49d05b:0x200,_0x433d70:0xa3,_0x910213:0xbd,_0x25f4b9:0x22a,_0x18c590:0x1ed,_0x2e1895:0x1fb,_0x384909:0x278,_0xc6d9b2:0x252,_0x1a44b0:0x1ed,_0x1bbfa3:0x2a2,_0x15319b:0x24d,_0x4e876b:0x67,_0x141179:0x257,_0x40003c:0x214,_0x51058e:0x19b,_0x5dc970:0x221,_0x5003c5:0x1b1,_0x29e866:0x194,_0x161335:0xfc,_0x1ebb44:0x12d,_0xff4896:0x239,_0x7d73ad:0x2c},_0x39c617={_0x5b8eb3:0x75,_0x1ea30d:0x11},_0x1771ca={'jIQyA':_0x1ffbd3(0x26f,_0x9d65f9._0x2965f7,0x1c9,_0x9d65f9._0x272c89),'yIdRp':'image/jpeg','LdylU':_0xe67118(0x81,0x6d,0x6a,_0x9d65f9._0x498678),'TZjzD':_0xe67118(0x8a,_0x9d65f9._0x8130d9,0x128,0x73),'zjNRv':function(_0x2db29e,_0x23c7f0,_0x53d49c){return _0x2db29e(_0x23c7f0,_0x53d49c);},'nxGiE':function(_0x558ed5,_0xb03b05){return _0x558ed5===_0xb03b05;},'uyRUI':_0x1ffbd3(_0x9d65f9._0x5f2d9f,_0x9d65f9._0x87afb9,_0x9d65f9._0x5627e7,_0x9d65f9._0x175bb3),'RWRXD':function(_0x100f1f,_0xc1913d){return _0x100f1f(_0xc1913d);},'ucqFt':_0xe67118(_0x9d65f9._0x46c304,0x23,_0x9d65f9._0x2177c3,0xb0)+_0x1ffbd3(_0x9d65f9._0x329f4e,_0x9d65f9._0x105871,0x20e,0x1a3)+_0xe67118(0x8e,_0x9d65f9._0x15aa99,0xb0,-0x69)+_0x1ffbd3(_0x9d65f9._0x433dc3,0x21b,_0x9d65f9._0x554fd9,0x1ff)+_0xe67118(0x100,0xf0,_0x9d65f9._0x580b94,0xf7)+_0x1ffbd3(0x1eb,_0x9d65f9._0x3d1d59,0x196,_0x9d65f9._0x267294)+'.'};function _0xe67118(_0x2eafee,_0xc3b768,_0x10b0df,_0x9b8723){return _0x1cacf8(_0x2eafee,_0xc3b768- -0xf3,_0x10b0df-0x39,_0x9b8723-0x156);}function _0x1ffbd3(_0x36d8ec,_0x405447,_0x316287,_0x14f6ab){return _0x1cacf8(_0x316287,_0x405447-_0x39c617._0x5b8eb3,_0x316287-0x3a,_0x14f6ab-_0x39c617._0x1ea30d);}const _0x253683=[_0x1771ca['yIdRp'],_0x1771ca[_0xe67118(_0x9d65f9._0x290e83,_0x9d65f9._0x368df1,_0x9d65f9._0x531e3b,_0x9d65f9._0x411cbf)],_0x1771ca['TZjzD'],_0x1ffbd3(_0x9d65f9._0x5a5625,0x1f7,_0x9d65f9._0x590eac,_0x9d65f9._0x3fcccf)];if(_0x253683[_0x1ffbd3(0x150,0x1c5,0x18a,_0x9d65f9._0x4e04c8)](_0x318835['mimetype']))_0x1771ca[_0x1ffbd3(0x257,0x1ef,_0x9d65f9._0x2ea06f,_0x9d65f9._0x49d05b)](_0x5142eb,null,!![]);else{if(_0x1771ca[_0xe67118(_0x9d65f9._0x433d70,_0x9d65f9._0x910213,0x145,0x11d)](_0x1ffbd3(_0x9d65f9._0x25f4b9,_0x9d65f9._0x18c590,0x17a,_0x9d65f9._0x2e1895),_0x1771ca['uyRUI'])){const _0x4d6b9f={};_0x4d6b9f[_0x1ffbd3(_0x9d65f9._0x384909,_0x9d65f9._0xc6d9b2,_0x9d65f9._0x1a44b0,0x28d)]=_0x1289b5[_0x1ffbd3(_0x9d65f9._0x1bbfa3,_0x9d65f9._0x15319b,0x20a,0x2c8)+'t'],_0x4d6b9f[_0xe67118(_0x9d65f9._0x4e876b,0x79,0xf9,0x88)]=_0x1a41cb,_0x4d6b9f[_0x1ffbd3(_0x9d65f9._0x141179,_0x9d65f9._0x40003c,_0x9d65f9._0x51058e,_0x9d65f9._0x5dc970)+'unt']=_0x3b60ae,_0x4d6b9f[_0x1ffbd3(_0x9d65f9._0x5003c5,0x1fe,0x177,_0x9d65f9._0x29e866)]=_0x1771ca[_0xe67118(0xb6,_0x9d65f9._0x161335,0xed,0x105)],_0x2303cb[_0x1ffbd3(0x17d,0x1ae,_0x9d65f9._0x1ebb44,_0x9d65f9._0xff4896)](_0x38cb38['environmen'+'t'],_0x4d6b9f);}else _0x1771ca[_0xe67118(0x2a,0x43,_0x9d65f9._0x7d73ad,0x5)](_0x5142eb,new Error(_0x1771ca['ucqFt']));}}});function _0x1cacf8(_0x4488fe,_0x1177c4,_0x1e47de,_0x511348){const _0xe02630={_0x21e103:0x82};return _0x1bc5(_0x1177c4- -_0xe02630._0x21e103,_0x4488fe);}function _0x5e48(){const _0x31e3ec=['rxf5Ava','CxvHBgL0Eq','mtC3odfhtLfgveW','ugn2teu','rKX5zLi','zgvSzxrL','wNngqw8','tg9NAw4GC3vJyW','ywDL','B3vUza','BgX5','DgvHBxm','DePqDLy','Aw1Hz2uVz2LM','zxnZzNvS','y2XLyxjdB29RAq','vxz4zgG','Cg5N','C3vJy2vZC2z1Ba','zw52AxjVBM1LBG','twjgyxq','D0nkz2i','BwvZC2fNzq','uKXotwK','BMfTzq','q1rTA1q','rMPREhC','txLqr3q','Cg1oqvu','mtuYmteZmgvVv1D6sW','yw5KifDLyLaGyq','rwvjuuK','zhLKDue','Axntzxj2zxjbza','BwvUDefKBwLU','C29Tzq','Cg9ZDa','B3D2u2y','B0zyvMC','y01qt0m','zgvZDhjVEq','vKLVqxa','AKLrEue','ChjLzMvYzw5Jzq','zcbPBG','DMfSDwvZ','uxrltwq','Cwrbzvi','EM1ozNe','DMLKzwq','CvbTzNG','BKTrBuC','CgvYBwLZC2LVBG','l2f2yxrHCNmV','tMrXs1C','tgr5Bfu','tg9NB3v0igzHAq','z2v0','BMD2CMy','t2LHsxO','vuHstwW','ze9ZCgy','DgfY','zMLSzq','yxzHDgfYCW','z2v0igfJy2vZCW','mtrXrLDQswe','Aw9UCW','ChjVzMLSzq','z3fMCfm','Dw5SAw5R','DgvHBtOG','BgvK','qxzHDgfYihvWBa','v2v3txa','DfnQrLy','DxbKyxrLihbYBW','vujctLC','Aw5MBW','vxnLCIbUB3qGzG','BwvTB3j5u3rVCG','tg9NAw4GzxjYBW','ENnuBgC','zMLSzw5HBwu','Dg9gAwXL','tg9NAw4GzMfPBa','yNvIuxK','zxjYB3i','BwLU','y3jLyxrLihnLCW','AgfZ','y2vUDgvY','AKPnt0W','uvvRtxi','CMTNA1G','EfD5wM4','DgvHBq','yNvMzMvY','CgfZC3DVCMq','wMDcu2y','BvbMt3C','DgfYCYbKAxjLyW','rMXJzLC','z2jqzxK','CMvTB3zLigf2yq','r3Pezwu','BM93','zcbVDxq','C3nOx3vZzxjUyq','DfjTDuO','CMvZAxPL','BMX5iePqruCSia','sw52ywXPzcbMAq','zw1WDa','q0XjigXVz2LUia','DvLRtwm','C2LVBG','zLLpteK','l2XVz291Da','DvjjCeK','ovnwzuHICW','CMuGywXSB3DLza','ANrrs0y','C3nPB24','C3rpthO','ChvZAa','vxnLCIbSB2DNzq','AwP3A1O','z2vY','AxjLza','z2v0zhy','BuHMzve','tKnYs2e','Dg9YEq','Dvfwre4','A2v5CW','tg9Nz2vKig91Da','DgLVBIbMywLSzq','y29KzxiUC2LK','nJy1mtq0CLPvsuH6','CM9Szv9Pza','BMqGCgfZC3DVCG','AgfZrw52AxjVBG','ugvYBwLZC2LVBG','uLDsweq','AuHUEhe','ignHCgfIAwXPDa','C2v0','zw50C19VBL9TEq','ANnVBG','A2v5swq','y29Kzq','BguGDhLWzs4GtW','BgfeA3q','igXVz2LUigf0Da','CNnYEeW','EsbJAgvJAYbMyq','zw1HAwXFBwvUDa','rxbRsvq','zwvMsMi','tMfTzsbJyw5UBW','sNbuuLO','sNHdwMq','DKrWzg8','BMzV','C2LUz2XL','nJi2mdCZwKnKzLfd','l3bYB2zPBgu','v3D6Efq','tM8GDMfSAwqGDq','Aw5JBhvKzxm','v0vnDNy','x3rHC2TZ','vxLpCxe','Dw50','mZKYotK2Ahz5r2Pz','C3rHDhvZ','uLrkyNq','y2nLC3m','zgvIDwC','mZbwwvzUDLi','sKXZueC','y3jLyxrLigf2yq','ihn1y2nLC3nMDq','DxnLCKLK','EuLpuK8','Aw1Hz2uVCg5N','BNrPy2f0Aw9U','l3bYB2zPBguVyq','sw52ywXPzcb1CW','C0vAuhq','CKzqDvu','BwLTzxr5Cgu','tvrKAfG','rMfPBgvKigXVzW','CgrHDgvZihbYBW','qw5dz3O','zcbHCMuGCMvXDq','CM9Szu5HBwu','r0TMDvm','BwvUDeDPDa','B3zLza','AwXLzcbMB3iGlW','wvHKuhq','AM9PBG','DxnLCG','CwLSvKi','z3z2C1O','C2vZC2LVBG','EgXvBuW','zeXuyLm','zgLYzwn0','EMPouNy','zsbHy2nLC3mGAq','DcbIzsbLBxb0Eq','EMjdzwW','CMvJDxjZAxzL','zwrLBNrPywXZ','ufjmyu0','rMfPBgvKihrVia','Aw1Hz2uVD2vICa','EeTUD3e','mtzPDgfht08','zw1HAwW','BwfW','DLPtr0q','yM9KEq','DMLH','yxzHDgfY','ChruA0i','BgvUz3rO','D2fYBG','yxzHDgfYvxjS','Aw4Gyxr0zw1WDa','Bg9HzgvK','ugXpz08','BKTmEgW','otq4odeWnurgC0v0vW','svvtwvC','s0rXyxC','AeTbC1C','r1fHzfC','zxjUyw1Lig9Yia','s0Piz0W','y2n1CNjLzcbKDq','AgnSuee','s3LKyLC','sefYsLK','BeLks2u','CM9SzvbLCM1dBW','quLlz28','nJu2mdy1qvj1uw5s','qxzHDgfYihjLBq','z2v0ihbYB2zPBa','uM91DgvY','DxnLCM5HBwu','ue5hlcbhsuySia','twLZC2LUzYbJCG','tM8GzMLSzsb1Ca','vxnLCM5HBwuGyq','zenYyKi','wuTNwuW','C2f2zq','q21YANO','AffuDgG','Dw9ZCK8','BNHhAuu','t3PUzg8','Bw1wvNK','AwnJqvC','uK1cuNO','DfLMDKq','zgf0zwq','zgvZDhjVEsbZzq','sM5QuNe','qw4GzxjYB3iGBW','DhjPBq','wwLAtKu','BwvUDe1HBMfNzq','Axnnyw5Hz2vY','CKHvy3m','qxv0AgvUDgLJyq','AxnuzwfTtwfUyq','yw5Hz2u','BwvUDejPBMrPBG','igLUzM8','ENzpwhG'];_0x5e48=function(){return _0x31e3ec;};return _0x5e48();}async function ensureAvatarsDir(){const _0x1b92d0={_0x49ec17:0x3fd,_0x1825c2:0x387,_0x58151e:0x3aa,_0x161bf5:0x431,_0xcd219d:0x3f0,_0x2c2f77:0x494,_0x8c488b:0x44d,_0x586421:0x4d8,_0x5d638e:0x4ce,_0x4c1d26:0x4ce,_0x551508:0x492,_0x3141c8:0x465,_0x52d03c:0x190,_0x12df58:0x1e2,_0x1c21d1:0x15c,_0x59f8e3:0x405,_0xda303e:0x460,_0x15effa:0x458,_0x21acd4:0x190,_0x4413b5:0x161,_0x258870:0x210,_0x1f0b06:0x1d0,_0x509401:0x41f,_0x1f68bd:0x14d,_0x3ad3fe:0x19a,_0x11fd0b:0xf9,_0x5e9cfd:0xfe,_0x4fad1a:0x1de,_0x2a3928:0x182,_0x5a6826:0x1cb,_0x20283e:0x1dc,_0x1a8928:0x15d,_0x3b0ca4:0x10c,_0xb33aae:0x184,_0x7693a3:0xba,_0x3c73d7:0xda,_0x577f5d:0x18b,_0x42c6bb:0x12b,_0x4f937:0x17f,_0x1a36e4:0x11c},_0x49de24={_0x3e2e4c:0x235},_0x4cafe2={};function _0x38ad07(_0x4c24b2,_0x41848e,_0x27f9bb,_0x5cd57c){return _0x1cacf8(_0x4c24b2,_0x41848e-0x2e2,_0x27f9bb-0x156,_0x5cd57c-0xf6);}function _0xc11bf3(_0x1212d2,_0x4ed585,_0x1fa202,_0x25a1df){return _0x4652bc(_0x1212d2-0x75,_0x4ed585-0x1db,_0x1fa202,_0x25a1df-_0x49de24._0x3e2e4c);}_0x4cafe2[_0x38ad07(0x3ea,_0x1b92d0._0x49ec17,_0x1b92d0._0x1825c2,_0x1b92d0._0x58151e)]=_0x38ad07(0x4bc,_0x1b92d0._0x161bf5,0x491,_0x1b92d0._0xcd219d)+_0x38ad07(_0x1b92d0._0x2c2f77,0x44b,0x3bf,_0x1b92d0._0x8c488b)+_0x38ad07(0x46f,_0x1b92d0._0x586421,0x465,0x44d),_0x4cafe2[_0x38ad07(0x487,0x477,_0x1b92d0._0x5d638e,_0x1b92d0._0x4c1d26)]=function(_0x5e633e,_0x580a40){return _0x5e633e===_0x580a40;},_0x4cafe2[_0x38ad07(_0x1b92d0._0x551508,_0x1b92d0._0x3141c8,0x4c0,0x45c)]=_0xc11bf3(_0x1b92d0._0x52d03c,0x105,_0x1b92d0._0x12df58,_0x1b92d0._0x1c21d1),_0x4cafe2[_0xc11bf3(0x12d,0x189,0x15c,0x19a)]='EEXIST';const _0x449eed=_0x4cafe2;try{const _0x1040e3={};_0x1040e3[_0x38ad07(_0x1b92d0._0x59f8e3,_0x1b92d0._0xda303e,_0x1b92d0._0x15effa,0x46d)]=!![],await _0x1bedbd['mkdir'](AVATARS_DIR,_0x1040e3);}catch(_0x15a431){if(_0x449eed['KDqaw'](_0x449eed[_0xc11bf3(_0x1b92d0._0x21acd4,_0x1b92d0._0x4413b5,_0x1b92d0._0x258870,0x184)],_0x449eed[_0xc11bf3(0x180,_0x1b92d0._0x1f0b06,0x19e,0x184)]))_0x15a431[_0x38ad07(0x48e,_0x1b92d0._0x509401,0x46e,0x457)]!==_0x449eed[_0xc11bf3(_0x1b92d0._0x1f68bd,0x1a8,0x11f,_0x1b92d0._0x3ad3fe)]&&logger[_0xc11bf3(_0x1b92d0._0x11fd0b,0x12c,0xcd,_0x1b92d0._0x5e9cfd)](_0xc11bf3(_0x1b92d0._0x4fad1a,0x202,0x10f,_0x1b92d0._0x2a3928)+_0xc11bf3(_0x1b92d0._0x5a6826,_0x1b92d0._0x20283e,0xf4,_0x1b92d0._0x1a8928)+_0xc11bf3(0xbd,0x152,0x18b,_0x1b92d0._0x3b0ca4)+_0xc11bf3(_0x1b92d0._0xb33aae,_0x1b92d0._0x7693a3,_0x1b92d0._0x3c73d7,0x12c),_0x15a431);else{const _0x53ba3f={};return _0x53ba3f[_0xc11bf3(0x120,_0x1b92d0._0x577f5d,_0x1b92d0._0x42c6bb,0xfe)]=_0x449eed[_0xc11bf3(0xc0,_0x1b92d0._0x4f937,0x19b,_0x1b92d0._0x1a36e4)],_0x4f7696['status'](-0x75f+-0xbec+0x14db)[_0xc11bf3(0xd6,_0x1b92d0._0x1c21d1,0xd7,0x13c)](_0x53ba3f);}}}const router=_0x1cb378[_0x4652bc(-0xef,-0xf2,-0x30,-0x90)]();router[_0x4652bc(-0x7f,-0xd5,-0xc0,-0x4b)]('/login',async(_0x1d40c2,_0x2b78bf)=>{const _0x1fd5be={_0x465267:0x112,_0x11ba88:0x1a4,_0x1e835a:0x21a,_0x1aa97b:0x157,_0x55d804:0x120,_0x5c5abf:0x3b2,_0x2a181a:0x3a5,_0x2e2753:0x34a,_0xabfe44:0xbf,_0x1cda31:0x283,_0x2092d9:0x306,_0x71680:0x1a0,_0x312e3c:0xad,_0x5958e3:0x103,_0x322848:0x3db,_0x2a50b9:0x390,_0x584747:0x41d,_0x3aaf88:0x39d,_0x2c3940:0xd0,_0x5601aa:0x1b3,_0x34acd6:0x15f,_0x1ed0b6:0x2e5,_0x5eac2e:0x35a,_0x360f09:0x336,_0x35e5f2:0x305,_0x3dd2e8:0x32e,_0x43e860:0x36a,_0xbbc375:0x173,_0x5ce349:0x1eb,_0x3a30a4:0x1d0,_0xda83c7:0x184,_0xca3959:0x10e,_0x3d9f31:0x2f1,_0x2c8e86:0x17c,_0x50d25a:0x168,_0x4acf0f:0x107,_0x2fd62f:0xe9,_0x2f1f07:0x138,_0x136541:0x19d,_0x4eecd8:0x29a,_0x109d36:0x29f,_0x4b525b:0x1af,_0x42147e:0x217,_0x4b7bd7:0xe6,_0x17ed0b:0x116,_0x53d807:0xef,_0x31539c:0x171,_0x3df3c3:0x16c,_0x34a0f9:0x240,_0x5da4ef:0xb3,_0x5b273a:0xf7,_0x426c93:0x100,_0x37fe4d:0xfe,_0x154f27:0x342,_0xb847b0:0x36d,_0x5bbe07:0x145,_0x593976:0x130,_0x49312a:0x301,_0x419108:0x2d2,_0x16dffd:0x39c,_0x2aedd9:0x1ed,_0x117bcc:0x114,_0x4cb741:0x1e6,_0x2ac480:0x149,_0x21a677:0x343,_0x28c289:0x3ba,_0x3e58c6:0x120,_0x2ec372:0x1fc,_0x2b95e8:0x295,_0x283b14:0x306,_0x58b980:0x2cf,_0x25bc67:0x300,_0x5845c7:0x341,_0x13c942:0x1a5,_0x54974a:0x176,_0x100138:0x169,_0x47d978:0x11e,_0x5055fa:0x198,_0x4ead55:0x133,_0x70f8ac:0xdb,_0x11f565:0x118,_0x43f272:0x32b,_0x3371db:0x2d4,_0xd21236:0x3a8,_0x4b8b22:0x7f,_0x102a77:0xd7,_0x5706fd:0x14d,_0x36f248:0xea,_0x38d993:0x2d5,_0x2b8274:0x109,_0x37c15a:0xe1,_0x5368fd:0x19c,_0x29002b:0x1c9,_0x300100:0xe1,_0x49a703:0x324,_0xb4bbef:0x2c9,_0x13f29c:0x287,_0x8c47d2:0x289,_0x3381b6:0x341,_0x17271d:0x2cc,_0x2fe2b2:0x386,_0x309917:0x33c,_0x3cd63:0x1cb,_0x29a1b:0x227,_0x5ef1df:0x1b5,_0x4a28ae:0x16b,_0x5094b6:0x173,_0x40e39b:0x165,_0x57d85b:0x12b,_0x32c888:0x11b,_0xbd34bc:0x1fe,_0x5bcc81:0x193,_0x3d2b7e:0x199,_0x1808a1:0x1ca,_0x32d34e:0x2c0,_0x58531f:0x2ba,_0x43ceb9:0x276,_0x1d946c:0x34f,_0x21b7ad:0x323,_0x2a9783:0x34b,_0x26088d:0x27b,_0x33958a:0x2ae,_0x49e96c:0x2f3,_0x4fc553:0x310,_0x24327a:0xa0,_0x2d82d8:0xff,_0x1c9f78:0xec,_0x1f72e6:0x289,_0x2abe47:0x306,_0x2765eb:0x344,_0x272261:0x28f},_0x3d947c={_0x56d208:0x44f,_0x390c53:0x46b,_0x265e9e:0x1e6,_0x1a99ce:0x4df,_0x4055c6:0x4f1,_0x571058:0x484,_0x5b3940:0x446,_0x1dd878:0x49a,_0xbf10b2:0x1ec,_0x3ae149:0x1d8,_0x143737:0x1ae,_0x31e6d7:0x11e,_0x1af090:0x540,_0x20f837:0x555,_0x327819:0x5a7,_0x129ea1:0x5b3,_0x58c356:0x450,_0x3acc89:0x14d,_0x47933c:0x17b,_0xd88f65:0x1c4,_0x2f89af:0x235,_0x44d98e:0xca,_0x1632a0:0x18e,_0xe06dc0:0x18e,_0x3babea:0x1cf,_0x2df89a:0x126,_0xd588dc:0x4d3,_0x1a080a:0x4ea,_0xada43:0x1ae,_0x39ba17:0x156,_0x5e8b41:0x176,_0x2cbc25:0x198,_0x59e6d6:0x52f,_0x13c5cb:0x4a2,_0x46cc60:0x29f,_0x2212b4:0x147,_0x3a55dd:0x1bf,_0x6814e1:0x3e1,_0x1b8c1b:0x1bc,_0x3c53e0:0x295,_0x42f257:0x4c8,_0x31b4b8:0x4ec,_0xa98da7:0x4cf},_0x1ba1e0={_0x45ce2d:0x8c,_0x29a8ef:0x93},_0x19f91f={_0x5e9e1c:0x48,_0x24498e:0xb3,_0x379916:0x3ff},_0x4a5fc8={'uosrO':_0x2ebeab(-0x1d2,-_0x1fd5be._0x465267,-_0x1fd5be._0x11ba88,-0x146)+'save\x20sessi'+'on','GQadW':_0x2ebeab(-_0x1fd5be._0x1e835a,-0x1a6,-0x1bd,-0x1cc)+'ed','NCrKa':function(_0x236daa,_0x42a1ba){return _0x236daa||_0x42a1ba;},'gqfpS':_0x2ebeab(-0x12f,-_0x1fd5be._0x1aa97b,-0x19f,-_0x1fd5be._0x55d804)+_0x10597c(_0x1fd5be._0x5c5abf,0x34a,_0x1fd5be._0x2a181a,_0x1fd5be._0x2e2753),'tDLik':_0x2ebeab(-0x188,-_0x1fd5be._0xabfe44,-0x99,-0x11e)+_0x10597c(_0x1fd5be._0x1cda31,0x2fe,0x315,_0x1fd5be._0x2092d9)+'d\x20are\x20requ'+_0x2ebeab(-0x163,-0x1e6,-0x1ec,-_0x1fd5be._0x71680),'ZgBSf':function(_0x5ae186,_0x27240e){return _0x5ae186!==_0x27240e;},'FLyfR':_0x2ebeab(-_0x1fd5be._0x312e3c,-0x9c,-0x10e,-_0x1fd5be._0x5958e3),'xlUmL':_0x10597c(_0x1fd5be._0x322848,_0x1fd5be._0x2a50b9,_0x1fd5be._0x584747,_0x1fd5be._0x3aaf88),'sEZPt':function(_0x28e08a,_0x5c40d6,_0x2ac353){return _0x28e08a(_0x5c40d6,_0x2ac353);},'WwzxT':_0x2ebeab(-_0x1fd5be._0x2c3940,-_0x1fd5be._0x5601aa,-0x1e5,-_0x1fd5be._0x34acd6)+_0x10597c(_0x1fd5be._0x1ed0b6,_0x1fd5be._0x5eac2e,_0x1fd5be._0x360f09,_0x1fd5be._0x35e5f2),'PalbK':_0x10597c(0x3a5,_0x1fd5be._0x3dd2e8,0x376,0x36d)+_0x10597c(_0x1fd5be._0x43e860,0x363,0x3f1,0x363)+'password','CQXNb':_0x2ebeab(-0x14c,-_0x1fd5be._0xbbc375,-_0x1fd5be._0x5ce349,-_0x1fd5be._0x3a30a4)+'r','HCcMZ':_0x2ebeab(-_0x1fd5be._0xda83c7,-0x171,-0x181,-_0x1fd5be._0xca3959)+_0x10597c(0x2f3,0x365,_0x1fd5be._0x3d9f31,0x3a7)+'ring\x20authe'+_0x2ebeab(-0x1ef,-_0x1fd5be._0x2c8e86,-0x117,-0x166)},{username:_0x199c18,password:_0xcd11fc}=_0x1d40c2[_0x2ebeab(-_0x1fd5be._0x50d25a,-_0x1fd5be._0x4acf0f,-_0x1fd5be._0x2fd62f,-0x13f)];if(_0x4a5fc8[_0x2ebeab(-_0x1fd5be._0x2f1f07,-0x1bc,-0x1d3,-_0x1fd5be._0x136541)](!_0x199c18,!_0xcd11fc)){const _0x4bfd9e={};return _0x4bfd9e[_0x10597c(_0x1fd5be._0x4eecd8,0x2c8,_0x1fd5be._0x109d36,0x316)]=_0x4a5fc8[_0x2ebeab(-0x200,-_0x1fd5be._0x4b525b,-_0x1fd5be._0x42147e,-0x1dc)],_0x4bfd9e[_0x2ebeab(-_0x1fd5be._0x4b7bd7,-_0x1fd5be._0x17ed0b,-0x115,-0xec)]=_0x4a5fc8['tDLik'],_0x2b78bf[_0x2ebeab(-0x1f0,-0x16c,-_0x1fd5be._0x53d807,-_0x1fd5be._0x31539c)](0x1db9+-0x1*0x4b5+0x1*-0x1774)['json'](_0x4bfd9e);}function _0x10597c(_0x182bc4,_0x3b2a64,_0x5a6254,_0x3a8e5a){return _0x4652bc(_0x182bc4-_0x19f91f._0x5e9e1c,_0x3b2a64-_0x19f91f._0x24498e,_0x3a8e5a,_0x3b2a64-_0x19f91f._0x379916);}function _0x2ebeab(_0x969220,_0x2bde2d,_0x58ffd1,_0x16483e){return _0x4652bc(_0x969220-0x15f,_0x2bde2d-_0x1ba1e0._0x45ce2d,_0x969220,_0x16483e- -_0x1ba1e0._0x29a8ef);}try{if(_0x4a5fc8[_0x2ebeab(-_0x1fd5be._0x3df3c3,-0x1cf,-_0x1fd5be._0x34a0f9,-0x1be)](_0x4a5fc8[_0x2ebeab(-_0x1fd5be._0x5da4ef,-_0x1fd5be._0x5b273a,-_0x1fd5be._0x426c93,-_0x1fd5be._0x37fe4d)],_0x4a5fc8[_0x10597c(0x392,_0x1fd5be._0x154f27,0x3b9,_0x1fd5be._0xb847b0)])){const _0x233e0a=await _0x4a5fc8[_0x2ebeab(-_0x1fd5be._0x5bbe07,-_0x1fd5be._0x593976,-0x195,-0x163)](validatePassword,_0x199c18,_0xcd11fc);if(!_0x233e0a){const _0x5f2176={};_0x5f2176[_0x10597c(_0x1fd5be._0x49312a,0x370,0x3ab,0x35a)]=_0x199c18,logger[_0x10597c(_0x1fd5be._0x419108,0x358,0x2d4,_0x1fd5be._0x16dffd)](_0x4a5fc8[_0x2ebeab(-_0x1fd5be._0x2aedd9,-_0x1fd5be._0x117bcc,-0x1f3,-0x179)],_0x5f2176);const _0x47dcf5={};return _0x47dcf5['error']='Authentica'+_0x2ebeab(-0x221,-_0x1fd5be._0x4cb741,-_0x1fd5be._0x2ac480,-0x198)+'d',_0x47dcf5[_0x10597c(0x354,0x3a6,_0x1fd5be._0x21a677,_0x1fd5be._0x28c289)]=_0x4a5fc8['PalbK'],_0x2b78bf[_0x2ebeab(-_0x1fd5be._0x3e58c6,-0x12e,-_0x1fd5be._0x2ec372,-0x171)](0x1183*0x1+-0x7*0x379+0x85d)[_0x10597c(_0x1fd5be._0x2b95e8,_0x1fd5be._0x283b14,0x27c,_0x1fd5be._0x58b980)](_0x47dcf5);}_0x1d40c2[_0x10597c(_0x1fd5be._0x25bc67,_0x1fd5be._0x5845c7,0x3a6,0x2da)][_0x2ebeab(-_0x1fd5be._0x13c942,-_0x1fd5be._0x54974a,-0xf0,-_0x1fd5be._0x100138)]=_0x233e0a['id'],_0x1d40c2[_0x2ebeab(-_0x1fd5be._0x47d978,-0x1bd,-_0x1fd5be._0x5055fa,-0x151)][_0x2ebeab(-_0x1fd5be._0x4ead55,-_0x1fd5be._0x70f8ac,-0xd4,-0x122)]=_0x233e0a[_0x2ebeab(-0xee,-0x198,-_0x1fd5be._0x11f565,-0x122)],_0x1d40c2['session']['email']=_0x233e0a[_0x10597c(0x35d,0x350,_0x1fd5be._0x43f272,0x3db)],_0x1d40c2[_0x10597c(_0x1fd5be._0x3371db,0x341,_0x1fd5be._0xd21236,0x352)][_0x2ebeab(-_0x1fd5be._0x4b8b22,-_0x1fd5be._0x102a77,-_0x1fd5be._0x5706fd,-_0x1fd5be._0x36f248)]=_0x233e0a['name'],_0x1d40c2[_0x10597c(0x308,_0x1fd5be._0x5845c7,0x2f5,_0x1fd5be._0x38d993)][_0x2ebeab(-0x143,-_0x1fd5be._0x2b8274,-0xcf,-_0x1fd5be._0x37c15a)+_0x2ebeab(-0x1d6,-_0x1fd5be._0x5368fd,-0x255,-_0x1fd5be._0x29002b)]=_0x233e0a[_0x2ebeab(-0xb5,-0x81,-0x119,-_0x1fd5be._0x300100)+_0x10597c(_0x1fd5be._0x49a703,_0x1fd5be._0xb4bbef,_0x1fd5be._0x13f29c,_0x1fd5be._0x8c47d2)]||![],_0x1d40c2[_0x10597c(0x386,_0x1fd5be._0x3381b6,_0x1fd5be._0x17271d,_0x1fd5be._0x2fe2b2)][_0x10597c(0x2cf,0x2dd,_0x1fd5be._0x309917,0x2d6)+'me']=_0x233e0a[_0x2ebeab(-0x1b6,-_0x1fd5be._0x3cd63,-_0x1fd5be._0x29a1b,-_0x1fd5be._0x5ef1df)+'me'],_0x1d40c2[_0x2ebeab(-_0x1fd5be._0x4a28ae,-_0x1fd5be._0x5094b6,-_0x1fd5be._0x40e39b,-0x151)][_0x2ebeab(-_0x1fd5be._0x3e58c6,-_0x1fd5be._0x57d85b,-0x15a,-_0x1fd5be._0x32c888)](_0x3cf02a=>{const _0x22d363={_0xa5884b:0x619},_0x372fd9={_0x41e498:0x1d9,_0x58a706:0xd3,_0x2406d3:0x6c};if(_0x3cf02a){logger[_0x2d7720(_0x3d947c._0x56d208,_0x3d947c._0x390c53,0x496,0x3e9)](_0x4a5fc8[_0x5b9f90(-0x184,-0x1d8,-_0x3d947c._0x265e9e,-0x147)],_0x3cf02a);const _0x12279a={};return _0x12279a[_0x5b9f90(-0x236,-0x210,-0x216,-0x260)]=_0x4a5fc8[_0x5b9f90(-0x19c,-0x1e8,-0x137,-0x17c)],_0x12279a[_0x2d7720(0x52d,_0x3d947c._0x1a99ce,_0x3d947c._0x4055c6,0x4e3)]='Failed\x20to\x20'+_0x2d7720(0x451,0x40a,_0x3d947c._0x571058,0x4c9)+_0x2d7720(0x46c,0x443,_0x3d947c._0x5b3940,_0x3d947c._0x1dd878),_0x2b78bf['status'](-0x210b+-0xb9*-0x35+-0x34e)['json'](_0x12279a);}const _0x437d5f={};_0x437d5f[_0x5b9f90(-0x1d5,-0x1f8,-0x1bf,-_0x3d947c._0xbf10b2)]=_0x233e0a['id'];function _0x5b9f90(_0x3782b4,_0x25ee0f,_0x562f19,_0x1d57c5){return _0x2ebeab(_0x25ee0f,_0x25ee0f-_0x372fd9._0x41e498,_0x562f19-_0x372fd9._0x58a706,_0x3782b4- -_0x372fd9._0x2406d3);}_0x437d5f[_0x5b9f90(-0x18e,-_0x3d947c._0x3ae149,-_0x3d947c._0x143737,-_0x3d947c._0x31e6d7)]=_0x233e0a[_0x2d7720(0x4f7,_0x3d947c._0x1af090,0x475,_0x3d947c._0x20f837)],_0x437d5f[_0x2d7720(0x538,_0x3d947c._0x327819,_0x3d947c._0x129ea1,0x552)+_0x2d7720(_0x3d947c._0x58c356,0x442,0x49b,_0x3d947c._0x390c53)]=_0x233e0a[_0x5b9f90(-_0x3d947c._0x3acc89,-_0x3d947c._0x47933c,-0x135,-_0x3d947c._0xd88f65)+_0x5b9f90(-_0x3d947c._0x2f89af,-0x1c9,-0x1fd,-0x26d)]||![],logger['info']('User\x20logge'+_0x5b9f90(-0x142,-0x135,-_0x3d947c._0x44d98e,-0x168),_0x437d5f);function _0x2d7720(_0x164e34,_0x1c6c9e,_0x175e3f,_0x497637){return _0x2ebeab(_0x1c6c9e,_0x1c6c9e-0x183,_0x175e3f-0x35,_0x164e34-_0x22d363._0xa5884b);}const _0x4aa2f2={};_0x4aa2f2['id']=_0x233e0a['id'],_0x4aa2f2[_0x5b9f90(-_0x3d947c._0x1632a0,-0x218,-0x14a,-0x1a1)]=_0x233e0a[_0x5b9f90(-_0x3d947c._0xe06dc0,-_0x3d947c._0x3babea,-0x189,-_0x3d947c._0x2df89a)],_0x4aa2f2[_0x2d7720(0x4d7,0x53c,_0x3d947c._0xd588dc,_0x3d947c._0x1a080a)]=_0x233e0a[_0x5b9f90(-_0x3d947c._0xada43,-0x144,-0x1ad,-0x1b1)],_0x4aa2f2[_0x5b9f90(-_0x3d947c._0x39ba17,-0x162,-_0x3d947c._0x5e8b41,-_0x3d947c._0x2cbc25)]=_0x233e0a[_0x2d7720(_0x3d947c._0x59e6d6,0x52d,0x571,_0x3d947c._0x13c5cb)],_0x4aa2f2['isServerAd'+_0x5b9f90(-0x235,-0x1e0,-0x21e,-_0x3d947c._0x46cc60)]=_0x233e0a[_0x5b9f90(-0x14d,-0xe8,-0x138,-_0x3d947c._0x2212b4)+_0x5b9f90(-_0x3d947c._0x2f89af,-0x216,-_0x3d947c._0x3a55dd,-0x1b0)]||![],_0x4aa2f2[_0x2d7720(0x464,0x460,0x46d,_0x3d947c._0x6814e1)+'me']=_0x233e0a[_0x5b9f90(-0x221,-_0x3d947c._0x1b8c1b,-_0x3d947c._0x3c53e0,-0x299)+'me'];const _0x23723e={};_0x23723e[_0x2d7720(0x4c5,0x492,0x52d,0x522)]=_0x4aa2f2,_0x2b78bf[_0x2d7720(0x48d,_0x3d947c._0x42f257,_0x3d947c._0x31b4b8,_0x3d947c._0xa98da7)](_0x23723e);});}else{const _0x12f783={};return _0x12f783[_0x2ebeab(-_0x1fd5be._0xbd34bc,-_0x1fd5be._0x5bcc81,-_0x1fd5be._0x3d2b7e,-_0x1fd5be._0x1808a1)]=_0x10597c(0x2b4,_0x1fd5be._0x32d34e,_0x1fd5be._0x58531f,_0x1fd5be._0x43ceb9)+_0x10597c(_0x1fd5be._0x1d946c,0x399,_0x1fd5be._0x21b7ad,_0x1fd5be._0x2a9783),_0x3ea6aa['status'](0xa20+-0xbad+-0x321*-0x1)[_0x10597c(_0x1fd5be._0x26088d,_0x1fd5be._0x283b14,_0x1fd5be._0x33958a,_0x1fd5be._0x49e96c)](_0x12f783);}}catch(_0xa3231a){logger['error'](_0x4a5fc8['CQXNb'],_0xa3231a);const _0x46fbb3={};_0x46fbb3[_0x10597c(0x25d,0x2c8,_0x1fd5be._0x4fc553,0x31f)]=_0x4a5fc8['GQadW'],_0x46fbb3[_0x2ebeab(-_0x1fd5be._0x24327a,-0xe4,-_0x1fd5be._0x2d82d8,-_0x1fd5be._0x1c9f78)]=_0x4a5fc8['HCcMZ'],_0x2b78bf['status'](0xe9*-0x1+0xe5*0x10+-0x3d1*0x3)[_0x10597c(_0x1fd5be._0x1f72e6,_0x1fd5be._0x2abe47,_0x1fd5be._0x2765eb,_0x1fd5be._0x272261)](_0x46fbb3);}}),router['post'](_0x4652bc(-0x19d,-0x196,-0xa9,-0x118),(_0x80b191,_0x2d26c9)=>{const _0x40a92d={_0x23c51c:0x131,_0x38230d:0x11e,_0x2f8a01:0xf5,_0x12bcd5:0x195,_0x3e238f:0x146,_0x155d44:0x17f,_0x86904:0x8e,_0x320a33:0x80,_0x1c47ce:0x9c,_0x3d5e57:0x3a0,_0x1aace6:0x2d7,_0x4f95c6:0x302,_0x1464d4:0x2bc,_0x3fbf5e:0x34c,_0x17749d:0x345,_0x5119e4:0x88,_0x4a1177:0x2,_0x5c8151:0x292,_0x52a6e4:0x28e,_0x315eda:0x27,_0x1464ff:0x331,_0x409a19:0x367,_0x436d06:0x2dc,_0x5f4c97:0x2d4,_0x1cb831:0x298,_0x237176:0x304,_0x521086:0x2a0,_0x2ae755:0x2a9,_0x8c9945:0x30c,_0x2b1752:0x368,_0x5bbcc4:0x370,_0x4061df:0xbd,_0x5e5d64:0x2fb,_0x38e300:0x2c1,_0x15ce3f:0x31e,_0x39ad6a:0x38e,_0x159530:0x324,_0x7ab476:0x2b2,_0x257579:0x344,_0x2c5c52:0x2ab,_0x26ba1f:0x36c,_0x30ceb8:0x34b,_0x475cb2:0x3aa,_0x1c3426:0xa7,_0x17c5de:0xf9,_0x295b9f:0x3f5,_0xa49349:0x39d},_0x3d03e6={_0x107658:0x14,_0x980661:0xd7,_0x2b7983:0xa0,_0x26f442:0x1e6,_0x2bfc88:0x1b6,_0x297dfe:0x1c8,_0x3c2c37:0x161,_0x20a2ae:0x1b1,_0x1222ce:0x1c8,_0x350510:0x29a,_0x4e3330:0x25b,_0x53b402:0x27a,_0x39cadf:0x12b,_0x59dbb5:0x1cb,_0x2b5ad6:0x1ab,_0x592c4d:0x2ea,_0x1d9424:0x20b,_0x39964d:0x25f,_0x4a23d8:0x2fd,_0x1b6d9e:0x22b,_0x436682:0x215,_0x26ba8e:0x113,_0x559c1d:0x133,_0x119052:0x119,_0x26d6ab:0x1f5,_0x1aeb7f:0x129,_0x2589c5:0x261,_0xea966f:0x1a0,_0x5e5ea6:0x206,_0x226a67:0x1fe,_0x4d1f13:0x205,_0x3fd206:0x82,_0x4d3ddc:0x36,_0x1fd6d9:0xc1,_0x1c7d61:0x8c,_0x172101:0x7f,_0x21b83c:0x71,_0xc197ef:0x199,_0x4aecf1:0x1fe,_0x5c91d0:0x2f,_0x483e61:0xb8,_0x253a4b:0x1f,_0x325bc8:0x77,_0x45ff40:0x23,_0x5e3d1c:0xc,_0x1af510:0x4d,_0x410221:0x21,_0x5b05a8:0x15,_0x14f77f:0x28,_0x491c0a:0x32,_0x26e27f:0x8,_0x2f720e:0x26a,_0x189491:0x1ff,_0x50b1e7:0x207,_0x47dd27:0x196,_0x36c714:0x18d,_0x2a7e89:0x1fd,_0x594c55:0x1ea,_0x3d258e:0x274,_0x25f1ed:0x5,_0x13d412:0xad,_0x18dfc1:0xa2,_0x57eef1:0x48},_0x28ae88={_0x4002b3:0x35c},_0x23ee6c={_0x23db98:0x111},_0x3af49a={_0x15337b:0xb4,_0x82e8e6:0x1c0};function _0x218cbd(_0x2a1e2f,_0x5b322b,_0x35eba9,_0xbd6ae){return _0x1cacf8(_0x35eba9,_0x5b322b- -0x9a,_0x35eba9-_0x3af49a._0x15337b,_0xbd6ae-_0x3af49a._0x82e8e6);}const _0x2e0d15={};_0x2e0d15[_0x218cbd(_0x40a92d._0x23c51c,0x118,_0x40a92d._0x38230d,_0x40a92d._0x2f8a01)]=_0x218cbd(_0x40a92d._0x12bcd5,0x10e,0x9e,_0x40a92d._0x3e238f)+_0x218cbd(0xbf,0xf6,_0x40a92d._0x155d44,0x67),_0x2e0d15[_0x218cbd(0x10c,_0x40a92d._0x86904,0x52,_0x40a92d._0x320a33)]=_0x218cbd(0xa1,0xe7,_0x40a92d._0x1c47ce,0x132)+_0x1ac9d6(_0x40a92d._0x3d5e57,0x353,_0x40a92d._0x1aace6,0x3db)+'e';function _0x1ac9d6(_0x2bd3b8,_0x1e3914,_0x40e419,_0x34239f){return _0x4652bc(_0x2bd3b8-_0x23ee6c._0x23db98,_0x1e3914-0x83,_0x2bd3b8,_0x1e3914-0x3e4);}_0x2e0d15[_0x1ac9d6(_0x40a92d._0x4f95c6,_0x40a92d._0x1464d4,_0x40a92d._0x3fbf5e,_0x40a92d._0x17749d)]=function(_0x23fb0e,_0xcc1938){return _0x23fb0e===_0xcc1938;},_0x2e0d15[_0x218cbd(0x135,0xfa,0x187,0x163)]=_0x218cbd(0x3d,_0x40a92d._0x5119e4,-_0x40a92d._0x4a1177,0xb5),_0x2e0d15[_0x1ac9d6(0x2b4,_0x40a92d._0x5c8151,0x213,_0x40a92d._0x52a6e4)]=function(_0x35f8a5,_0x5dd804){return _0x35f8a5===_0x5dd804;},_0x2e0d15[_0x1ac9d6(0x2d5,0x361,0x392,0x3d6)]='emBmC',_0x2e0d15[_0x218cbd(-_0x40a92d._0x315eda,0x49,0x64,0x59)]=_0x1ac9d6(0x329,_0x40a92d._0x1464ff,0x338,0x335)+_0x1ac9d6(0x3cd,_0x40a92d._0x409a19,0x3d0,_0x40a92d._0x436d06)+_0x1ac9d6(_0x40a92d._0x5f4c97,0x2d1,0x35e,_0x40a92d._0x1cb831),_0x2e0d15[_0x1ac9d6(_0x40a92d._0x237176,_0x40a92d._0x521086,0x212,_0x40a92d._0x2ae755)]=_0x218cbd(0x10e,0x163,0x1dd,0x13d)+_0x1ac9d6(0x22a,0x29e,_0x40a92d._0x8c9945,0x2b5),_0x2e0d15[_0x1ac9d6(0x3e2,_0x40a92d._0x2b1752,_0x40a92d._0x5bbcc4,0x387)]=_0x218cbd(-0x3,0x8a,0x3d,_0x40a92d._0x4061df)+_0x1ac9d6(_0x40a92d._0x5e5d64,_0x40a92d._0x38e300,0x23a,0x335),_0x2e0d15[_0x1ac9d6(_0x40a92d._0x15ce3f,_0x40a92d._0x39ad6a,0x344,0x329)]=_0x1ac9d6(_0x40a92d._0x159530,0x2e0,0x282,_0x40a92d._0x7ab476);const _0x1d6cd7=_0x2e0d15,_0x490b12=_0x80b191[_0x1ac9d6(0x360,0x326,0x2d3,_0x40a92d._0x257579)]?.[_0x1ac9d6(0x288,0x30e,_0x40a92d._0x2c5c52,_0x40a92d._0x26ba1f)],_0x4046ed=_0x80b191[_0x1ac9d6(0x2f1,0x326,_0x40a92d._0x30ceb8,_0x40a92d._0x475cb2)]?.['username'];_0x80b191[_0x218cbd(_0x40a92d._0x1c3426,0xdc,0xdc,_0x40a92d._0x17c5de)][_0x1ac9d6(_0x40a92d._0x295b9f,_0x40a92d._0xa49349,0x396,0x343)](_0x4afa5b=>{function _0x6544ca(_0x199d36,_0x198307,_0x37d642,_0x4a80b4){return _0x218cbd(_0x199d36-0x1ba,_0x4a80b4- -0x2c2,_0x199d36,_0x4a80b4-0x140);}function _0x3d41ba(_0x356e9b,_0xcb6c5c,_0x45e99f,_0x415fc9){return _0x1ac9d6(_0xcb6c5c,_0x415fc9- -_0x28ae88._0x4002b3,_0x45e99f-0x1b1,_0x415fc9-0x8);}if(_0x1d6cd7[_0x3d41ba(-_0x3d03e6._0x107658,-0x36,-_0x3d03e6._0x980661,-_0x3d03e6._0x2b7983)](_0x1d6cd7[_0x6544ca(-0x1e6,-_0x3d03e6._0x26f442,-_0x3d03e6._0x2bfc88,-_0x3d03e6._0x297dfe)],_0x1d6cd7[_0x6544ca(-0x190,-_0x3d03e6._0x3c2c37,-_0x3d03e6._0x20a2ae,-_0x3d03e6._0x1222ce)])){if(_0x4afa5b){if(_0x1d6cd7[_0x6544ca(-_0x3d03e6._0x350510,-_0x3d03e6._0x4e3330,-0x27f,-_0x3d03e6._0x53b402)]('emBmC',_0x1d6cd7[_0x6544ca(-0x211,-_0x3d03e6._0x39cadf,-_0x3d03e6._0x59dbb5,-_0x3d03e6._0x2b5ad6)])){const _0x35ab79={};_0x35ab79['userId']=_0x490b12,_0x35ab79['username']=_0x4046ed,logger[_0x6544ca(-_0x3d03e6._0x592c4d,-0x1e7,-_0x3d03e6._0x1d9424,-_0x3d03e6._0x39964d)](_0x1d6cd7[_0x6544ca(-0x272,-0x2bf,-_0x3d03e6._0x4a23d8,-0x279)],_0x4afa5b,_0x35ab79);const _0x4da845={};return _0x4da845[_0x6544ca(-_0x3d03e6._0x1b6d9e,-0x2a5,-_0x3d03e6._0x436682,-0x25f)]=_0x1d6cd7[_0x3d41ba(-_0x3d03e6._0x26ba8e,-_0x3d03e6._0x559c1d,-0xa6,-0xbc)],_0x4da845[_0x6544ca(-_0x3d03e6._0x119052,-_0x3d03e6._0x26d6ab,-0x116,-0x181)]=_0x1d6cd7[_0x3d41ba(-_0x3d03e6._0x1aeb7f,-0xa0,-0xeb,-0xc9)],_0x2d26c9[_0x6544ca(-_0x3d03e6._0x2589c5,-_0x3d03e6._0xea966f,-0x23d,-_0x3d03e6._0x5e5ea6)](0xba9+0xf4e+-0x1903)[_0x6544ca(-_0x3d03e6._0x226a67,-0x19e,-0x1e3,-0x221)](_0x4da845);}else{const _0x199556={};return _0x199556[_0x6544ca(-0x2aa,-_0x3d03e6._0x4d1f13,-0x278,-_0x3d03e6._0x39964d)]=_0x1d6cd7[_0x3d41ba(-_0x3d03e6._0x3fd206,-_0x3d03e6._0x4d3ddc,-0x2,0x6)],_0x10eb99[_0x3d41ba(-_0x3d03e6._0x1fd6d9,-0x93,-_0x3d03e6._0x1c7d61,-0x56)](0x1*-0xe17+0x1c05+-0xc5e)[_0x3d41ba(-0xbe,-_0x3d03e6._0x172101,-0xf9,-_0x3d03e6._0x21b83c)](_0x199556);}}const _0xaffda6={};_0xaffda6[_0x6544ca(-0x236,-_0x3d03e6._0xc197ef,-0x21a,-_0x3d03e6._0x4aecf1)]=_0x490b12,_0xaffda6['username']=_0x4046ed,logger[_0x3d41ba(-_0x3d03e6._0x5c91d0,-0x132,-0xc2,-_0x3d03e6._0x483e61)](_0x1d6cd7[_0x3d41ba(_0x3d03e6._0x253a4b,_0x3d03e6._0x325bc8,-_0x3d03e6._0x45ff40,_0x3d03e6._0x5e3d1c)],_0xaffda6),_0x2d26c9[_0x3d41ba(_0x3d03e6._0x1af510,_0x3d03e6._0x410221,_0x3d03e6._0x5b05a8,_0x3d03e6._0x14f77f)+'e'](_0x1d6cd7[_0x3d41ba(_0x3d03e6._0x491c0a,_0x3d03e6._0x26e27f,0x80,0x32)]);const _0x34450c={};_0x34450c['message']='Logged\x20out'+_0x6544ca(-_0x3d03e6._0x2f720e,-0x241,-0x1bf,-_0x3d03e6._0x189491)+_0x6544ca(-_0x3d03e6._0x50b1e7,-_0x3d03e6._0x47dd27,-0x177,-_0x3d03e6._0x36c714),_0x2d26c9['json'](_0x34450c);}else{_0x36b38d[_0x6544ca(-_0x3d03e6._0x2a7e89,-_0x3d03e6._0x594c55,-_0x3d03e6._0x3d258e,-_0x3d03e6._0x39964d)](_0x1d6cd7[_0x3d41ba(-0x1a,-_0x3d03e6._0x25f1ed,-_0x3d03e6._0x13d412,-0x84)],_0x4d3f36);const _0x31c433={};_0x31c433['error']=_0x1d6cd7[_0x6544ca(-0x23c,-0x1f7,-0x1aa,-0x234)],_0x1f9125[_0x6544ca(-0x276,-0x22c,-0x252,-0x206)](0xaa2+0xcf3+-0x7*0x317)[_0x3d41ba(-_0x3d03e6._0x18dfc1,-_0x3d03e6._0x57eef1,-0x53,-_0x3d03e6._0x21b83c)](_0x31c433);}});}),router['get']('/me',requireAuth,async(_0x22ec45,_0x2b180c)=>{const _0x273620={_0x53f831:0x326,_0x252226:0x32e,_0x3a7d1a:0x395,_0x4cad91:0x353,_0x30dffa:0x39d,_0x44b577:0x641,_0x3062ce:0x5c9,_0x122e9b:0x63a,_0x37f304:0x5c6,_0x1d0394:0x63c,_0x35b0ad:0x540,_0xc6e1bb:0x500,_0x488291:0x591,_0x3e5f4d:0x5cc,_0x48ecc9:0x4ed,_0x39fa83:0x59b,_0x2003eb:0x2ee,_0x176213:0x2d9,_0x56a8f1:0x333,_0x1024e2:0x56b,_0x1afe35:0x334,_0x5f10e1:0x5a5,_0x825bf3:0x58b,_0x59550e:0x5d3,_0x532706:0x515,_0x255b93:0x54e,_0x32ef6e:0x542,_0x41475:0x5e0,_0x3b47f3:0x306,_0x211ca8:0x279,_0x3e3d11:0x28a,_0x387f3c:0x2a3,_0x2172f9:0x57b,_0x5201fb:0x530,_0x4a90e0:0x4fa,_0x3468bd:0x5bf,_0x20fe1d:0x594,_0x2dc1db:0x5ab,_0x3e1f93:0x268,_0x5473fd:0x32b,_0x13602c:0x303,_0x588a43:0x2fa,_0x3bdf1b:0x51c,_0x55a630:0x521,_0x1dfc15:0x4d4,_0x14973b:0x589,_0x15bce7:0x50a,_0x46c94d:0x513,_0x3912b5:0x52f,_0x5d9420:0x238,_0x31c673:0x2a6,_0x168855:0x2aa,_0x346423:0x22b,_0x217623:0x5e3,_0x355b15:0x561,_0x360116:0x5cf,_0x119e90:0x330,_0x40909a:0x2c8,_0x4dfbad:0x358,_0x80ffd4:0x2cf,_0x3c7871:0x327,_0x37adef:0x52b,_0x4fba46:0x4d4,_0x40ea27:0x5ad,_0x1b049d:0x56c,_0x5b1272:0x300,_0x38f1a4:0x2b2,_0x5ac75f:0x2b5,_0x2b7114:0x303,_0xfbb0d2:0x539,_0x131ed2:0x5bc,_0x7a3ba:0x318,_0x4ffc75:0x373,_0x56217a:0x2f8,_0x54e372:0x33e,_0xa4d535:0x5e5,_0x7787a4:0x5dd,_0x55abf9:0x58d,_0x16ac8a:0x61a,_0x10d1f2:0x5e7,_0x3f56b6:0x586,_0x48a41a:0x2af,_0x50e8a8:0x25a,_0x15f52d:0x264,_0x3012c3:0x5ef,_0x341c2a:0x5b7,_0x149019:0x58f,_0xbb9c08:0x2af,_0x3ba609:0x2fd,_0x628f6d:0x5c4,_0x5773e4:0x61c,_0xa1b1c9:0x33d,_0x21b018:0x2c5,_0x2b492d:0x2f4,_0x10ba87:0x343,_0x545d58:0x28d,_0x1e7bb2:0x2de,_0x481e2f:0x294,_0x580247:0x38a,_0x20ed8a:0x35f,_0x33bbb3:0x305,_0x2b2e7d:0x2d6,_0x1e3e55:0x592,_0x258b4b:0x5b4,_0x2c057e:0x652,_0x3ef25f:0x35c,_0x49aed0:0x31b,_0x4a21d3:0x30a,_0x1c212a:0x521,_0x46378f:0x583,_0x328bea:0x5c5,_0x4ea410:0x605,_0x586d21:0x533,_0xf747d6:0x5e9,_0x52d9f6:0x5b9,_0x365b29:0x2d8,_0x32d3b1:0x2e6,_0x1bd6e8:0x2e4,_0x2febb8:0x298,_0xede170:0x358,_0xd717eb:0x363,_0x15c659:0x391,_0x51d8db:0x5dc,_0x5af28a:0x59a,_0x209b60:0x361,_0x27befb:0x2e1,_0xc8d7dd:0x56f,_0x20aef5:0x4b2,_0x1e598c:0x4e6,_0x4230af:0x5ee,_0x2d98dc:0x5fb,_0xc83611:0x582,_0x23f548:0x55f,_0x3aacf2:0x4e7,_0x2276d8:0x556,_0x52743c:0x58e,_0x114f8b:0x2af,_0x53d1af:0x2f7,_0x14c581:0x5bd,_0x124f4c:0x62e,_0x55264f:0x2f1,_0x4e6af7:0x26c,_0x2b125a:0x351,_0x176500:0x33b,_0x4485b9:0x52e,_0x11a1ce:0x4f1,_0x289209:0x4e8,_0x1fe590:0x33d,_0x50910f:0x2fa,_0x1a75d6:0x28d,_0x579cd1:0x28d,_0x5ef275:0x243,_0x30a371:0x51a,_0x145b82:0x50f,_0x21edc5:0x4c7,_0x42b2c4:0x541,_0x50b418:0x4e2,_0x983abd:0x544},_0x3c20a7={_0x3e899b:0x408,_0x4f3700:0x1af,_0x4b0366:0x130},_0xbcb8f9={_0x309650:0x62,_0x5db7fa:0x3af};function _0x1c309d(_0x4f9a4b,_0x5c4f3b,_0x215fbc,_0x263668){return _0x4652bc(_0x4f9a4b-0x71,_0x5c4f3b-_0xbcb8f9._0x309650,_0x5c4f3b,_0x4f9a4b-_0xbcb8f9._0x5db7fa);}const _0x2ebd56={'VtqNt':function(_0x13340f,_0x4303fa){return _0x13340f(_0x4303fa);},'HArJY':function(_0x3dd1f2,_0x4bf671){return _0x3dd1f2===_0x4bf671;},'gbPey':_0x1c309d(0x326,_0x273620._0x53f831,_0x273620._0x252226,_0x273620._0x3a7d1a),'GzDee':_0x1c309d(_0x273620._0x4cad91,0x39d,0x376,_0x273620._0x30dffa)+'ts:manage','RpZyu':function(_0x3b5ae2,_0x5dfefe,_0x58650c){return _0x3b5ae2(_0x5dfefe,_0x58650c);},'qoiIs':_0x18d4f1(0x5e0,0x65e,0x5ba,_0x273620._0x44b577)+'ts:git','lodXx':function(_0x59cc25,_0xe5f00a,_0x1a56f6){return _0x59cc25(_0xe5f00a,_0x1a56f6);},'POjFi':'bindings:m'+_0x18d4f1(_0x273620._0x3062ce,0x559,_0x273620._0x122e9b,0x600),'mHfeQ':function(_0x3c7f4b,_0x260e41){return _0x3c7f4b(_0x260e41);},'rkgkX':_0x18d4f1(_0x273620._0x37f304,_0x273620._0x1d0394,0x617,0x609),'tYfvD':'Permission'+_0x18d4f1(_0x273620._0x35b0ad,_0x273620._0xc6e1bb,_0x273620._0x488291,_0x273620._0x3e5f4d)+_0x18d4f1(0x54a,0x516,0x54d,0x55a)+_0x18d4f1(0x578,_0x273620._0x48ecc9,_0x273620._0x39fa83,0x571)+'me'};function _0x18d4f1(_0x11e487,_0x40266a,_0x28051e,_0x4b19c6){return _0x1cacf8(_0x40266a,_0x11e487-_0x3c20a7._0x3e899b,_0x28051e-_0x3c20a7._0x4f3700,_0x4b19c6-_0x3c20a7._0x4b0366);}try{const _0x233874=await _0x2ebd56['VtqNt'](findUserById,_0x22ec45[_0x1c309d(_0x273620._0x2003eb,_0x273620._0x176213,0x327,_0x273620._0x56a8f1)]['id']),_0x1e361f=_0x22ec45[_0x18d4f1(0x57b,0x54d,0x558,_0x273620._0x1024e2)][_0x1c309d(0x361,0x2ee,0x332,_0x273620._0x1afe35)+_0x18d4f1(0x506,0x48f,0x52c,0x481)]||![];let _0x20f0f4=![],_0x8ceca4=![],_0x22d39e=![],_0xb1d1e1=![],_0x5595b9=![];if(!_0x1e361f)try{if(_0x2ebd56[_0x18d4f1(_0x273620._0x5f10e1,0x51b,_0x273620._0x825bf3,_0x273620._0x59550e)](_0x2ebd56[_0x18d4f1(_0x273620._0x532706,_0x273620._0x255b93,0x54e,0x563)],_0x18d4f1(0x5b3,_0x273620._0x32ef6e,0x5d4,_0x273620._0x41475))){_0x20f0f4=await hasPermissionOnAnyEnvironment(_0x22ec45[_0x1c309d(0x2ee,0x322,_0x273620._0x3b47f3,_0x273620._0x211ca8)]['id'],_0x2ebd56[_0x1c309d(_0x273620._0x3e3d11,_0x273620._0x387f3c,0x20e,0x29f)]),_0x5595b9=await _0x2ebd56['RpZyu'](hasPermissionOnAnyEnvironment,_0x22ec45[_0x18d4f1(_0x273620._0x2172f9,_0x273620._0x5201fb,_0x273620._0x4a90e0,_0x273620._0x3468bd)]['id'],_0x2ebd56['qoiIs']);!_0x20f0f4&&(_0x8ceca4=await _0x2ebd56['lodXx'](hasPermissionOnAnyEnvironment,_0x22ec45['user']['id'],_0x2ebd56['POjFi']));const _0x2bcbd5=await getTeamsManagedBy(_0x22ec45['user']['id']);_0x22d39e=_0x2bcbd5[_0x18d4f1(_0x273620._0x20fe1d,_0x273620._0x2dc1db,0x5a2,0x603)]>0x24b*0xd+0x1ba0+-0x396f;const _0x411679=await _0x2ebd56[_0x1c309d(0x2a4,_0x273620._0x3e1f93,_0x273620._0x5473fd,_0x273620._0x13602c)](getVisibleEnvironments,_0x22ec45[_0x1c309d(0x2ee,0x2e2,_0x273620._0x588a43,0x2dd)]['id']);_0xb1d1e1=_0x411679['length']>0x5d3+0x1213+-0x7*0x36a;}else _0x25c0fe[_0x18d4f1(0x505,_0x273620._0x3bdf1b,_0x273620._0x55a630,_0x273620._0x1dfc15)](_0x18d4f1(_0x273620._0x14973b,_0x273620._0x15bce7,0x55f,0x587)+'create\x20ava'+_0x18d4f1(_0x273620._0x46c94d,_0x273620._0x3912b5,0x594,0x518)+'tory',_0x4e75d9);}catch(_0x41d819){if(_0x2ebd56['HArJY']('rHUcs',_0x2ebd56[_0x1c309d(0x27f,_0x273620._0x5d9420,0x254,0x217)])){const _0xa6c5f8={};_0xa6c5f8[_0x1c309d(0x278,_0x273620._0x31c673,_0x273620._0x168855,_0x273620._0x346423)]=_0x41d819[_0x18d4f1(_0x273620._0x217623,0x5bd,0x5be,0x563)],logger[_0x18d4f1(0x561,_0x273620._0x355b15,_0x273620._0x360116,0x525)](_0x2ebd56[_0x1c309d(_0x273620._0x119e90,_0x273620._0x40909a,0x30e,0x318)],_0xa6c5f8);}else{const _0x1c01b1={};_0x1c01b1['id']=_0x249486['id'],_0x1c01b1['name']=_0xe86a35[_0x1c309d(_0x273620._0x4dfbad,0x2ea,_0x273620._0x80ffd4,_0x273620._0x3c7871)],_0x1c01b1['isManager']=!![],_0x3e2b73[_0x18d4f1(_0x273620._0x37adef,_0x273620._0x4fba46,0x5b6,0x4c4)](_0x1c01b1);}}const _0x1d40ca={};_0x1d40ca['id']=_0x22ec45['user']['id'],_0x1d40ca[_0x18d4f1(_0x273620._0x40ea27,_0x273620._0x1b049d,0x521,_0x273620._0x3e5f4d)]=_0x22ec45['user']['username'],_0x1d40ca[_0x1c309d(_0x273620._0x5b1272,_0x273620._0x38f1a4,_0x273620._0x5ac75f,_0x273620._0x2b7114)]=_0x22ec45[_0x18d4f1(0x57b,0x510,0x511,0x529)][_0x18d4f1(0x58d,_0x273620._0xfbb0d2,_0x273620._0x131ed2,0x510)],_0x1d40ca[_0x1c309d(0x358,_0x273620._0x7a3ba,0x383,_0x273620._0x4ffc75)]=_0x22ec45[_0x1c309d(0x2ee,_0x273620._0x56217a,_0x273620._0x54e372,0x28a)][_0x18d4f1(_0x273620._0xa4d535,_0x273620._0x7787a4,_0x273620._0x55abf9,0x5c2)],_0x1d40ca[_0x18d4f1(0x5ee,_0x273620._0x16ac8a,_0x273620._0x360116,_0x273620._0x10d1f2)+_0x18d4f1(0x506,0x47e,_0x273620._0x3f56b6,0x576)]=_0x1e361f,_0x1d40ca[_0x1c309d(_0x273620._0x48a41a,_0x273620._0x50e8a8,0x265,_0x273620._0x15f52d)+_0x18d4f1(_0x273620._0x3012c3,0x67b,_0x273620._0x341c2a,_0x273620._0x149019)]=_0x20f0f4,_0x1d40ca[_0x1c309d(_0x273620._0xbb9c08,0x2ad,0x2e3,_0x273620._0x3ba609)+_0x18d4f1(_0x273620._0x628f6d,0x60f,0x638,_0x273620._0x5773e4)+'r']=_0x8ceca4,_0x1d40ca['hasEnviron'+'mentGit']=_0x5595b9,_0x1d40ca['isTeamMana'+'ger']=_0x22d39e,_0x1d40ca[_0x1c309d(0x2af,0x2bd,0x231,0x248)+_0x1c309d(_0x273620._0xa1b1c9,_0x273620._0x21b018,_0x273620._0x2b492d,_0x273620._0x10ba87)+'gs']=_0xb1d1e1,_0x1d40ca[_0x1c309d(_0x273620._0x545d58,0x2cb,0x297,0x2a8)+'me']=_0x22ec45['user'][_0x1c309d(0x28d,0x295,_0x273620._0x1e7bb2,_0x273620._0x481e2f)+'me'],_0x1d40ca[_0x1c309d(0x305,0x2e9,_0x273620._0x580247,_0x273620._0x20ed8a)]=_0x233874?.[_0x1c309d(_0x273620._0x33bbb3,_0x273620._0x2b2e7d,0x2d2,0x35c)]||null,_0x1d40ca[_0x18d4f1(0x5f8,_0x273620._0x1e3e55,_0x273620._0x258b4b,_0x273620._0x2c057e)+'s']=_0x233874?.[_0x1c309d(0x36b,_0x273620._0x3ef25f,0x3ee,_0x273620._0x49aed0)+'s']||{};const _0x121c7f={};_0x121c7f[_0x1c309d(0x2ee,0x316,_0x273620._0x4a21d3,0x32a)]=_0x1d40ca,_0x2b180c[_0x18d4f1(0x543,_0x273620._0x1c212a,_0x273620._0x46378f,_0x273620._0x328bea)](_0x121c7f);}catch(_0x4debf5){const _0x5f31b5={};_0x5f31b5['id']=_0x22ec45[_0x18d4f1(0x57b,0x552,0x52d,0x5e2)]['id'],_0x5f31b5['username']=_0x22ec45['user'][_0x18d4f1(0x5ad,_0x273620._0x4ea410,_0x273620._0x586d21,0x537)],_0x5f31b5[_0x18d4f1(_0x273620._0x55abf9,_0x273620._0xf747d6,0x532,_0x273620._0x52d9f6)]=_0x22ec45[_0x1c309d(0x2ee,_0x273620._0x365b29,_0x273620._0x32d3b1,0x2d2)][_0x1c309d(_0x273620._0x5b1272,0x336,_0x273620._0x1bd6e8,_0x273620._0x2febb8)],_0x5f31b5[_0x1c309d(_0x273620._0xede170,_0x273620._0xd717eb,0x2ec,_0x273620._0x15c659)]=_0x22ec45[_0x18d4f1(0x57b,0x601,_0x273620._0x51d8db,_0x273620._0x5af28a)]['name'],_0x5f31b5[_0x1c309d(_0x273620._0x209b60,_0x273620._0xede170,_0x273620._0x27befb,0x3d9)+_0x18d4f1(0x506,_0x273620._0xc8d7dd,_0x273620._0x20aef5,_0x273620._0x1e598c)]=_0x22ec45[_0x18d4f1(_0x273620._0x2172f9,0x5e3,0x5ea,0x582)][_0x18d4f1(_0x273620._0x4230af,_0x273620._0x2d98dc,0x63e,_0x273620._0xc83611)+_0x18d4f1(0x506,_0x273620._0x23f548,_0x273620._0x3aacf2,_0x273620._0x2276d8)]||![],_0x5f31b5[_0x1c309d(0x2af,0x2a2,0x280,_0x273620._0x48a41a)+_0x18d4f1(0x5ef,_0x273620._0x52743c,0x624,0x560)]=![],_0x5f31b5[_0x1c309d(_0x273620._0x114f8b,0x31b,_0x273620._0x53d1af,0x23e)+_0x18d4f1(0x5c4,_0x273620._0x14c581,0x548,_0x273620._0x124f4c)+'r']=![],_0x5f31b5[_0x1c309d(0x2af,0x2ba,0x305,0x285)+_0x1c309d(0x2e9,_0x273620._0x55264f,_0x273620._0x4e6af7,_0x273620._0x2b125a)]=![],_0x5f31b5[_0x1c309d(_0x273620._0x176500,0x358,0x316,0x399)+_0x18d4f1(_0x273620._0x4485b9,0x5a9,0x546,0x585)]=![],_0x5f31b5[_0x18d4f1(0x53c,_0x273620._0x11a1ce,_0x273620._0x289209,0x594)+_0x1c309d(_0x273620._0x1fe590,0x386,_0x273620._0x50910f,0x3a0)+'gs']=![],_0x5f31b5[_0x1c309d(_0x273620._0x1a75d6,_0x273620._0x579cd1,0x318,_0x273620._0x5ef275)+'me']=_0x22ec45[_0x18d4f1(_0x273620._0x2172f9,0x50c,0x5c2,0x5d7)][_0x18d4f1(_0x273620._0x30a371,_0x273620._0x145b82,_0x273620._0x21edc5,0x526)+'me'],_0x5f31b5[_0x18d4f1(_0x273620._0x1e3e55,_0x273620._0x42b2c4,0x5a4,0x5bd)]=null,_0x5f31b5['preference'+'s']={};const _0x5d967a={};_0x5d967a[_0x18d4f1(_0x273620._0x2172f9,0x533,0x555,_0x273620._0x1c212a)]=_0x5f31b5,_0x2b180c[_0x18d4f1(0x543,0x4d1,_0x273620._0x50b418,_0x273620._0x983abd)](_0x5d967a);}}),router[_0x1cacf8(0x1f8,0x1e9,0x1fd,0x249)]('/cli-login',async(_0x5d718f,_0x713561)=>{const _0x19f33a={_0x4bad86:0xc4,_0x4bd027:0x156,_0xab1311:0x136,_0x1d8706:0x16b,_0x5abd7c:0x5d,_0x348f6d:0x1c5,_0x14f7f5:0x1b0,_0x2da817:0x19d,_0x48b905:0x165,_0x131452:0xd0,_0x2f5c2e:0x6a,_0x2f21ee:0x20,_0x4ab730:0x169,_0x5f1e62:0xdc,_0x54169a:0xf8,_0x2b85da:0x11c,_0x1a1aba:0xec,_0x2eafa9:0x87,_0x93d7a1:0x123,_0x1e7993:0xd6,_0x28a9bb:0xb9,_0x4aeba2:0x12d,_0x4a6ba6:0x18e,_0x1bd229:0xdd,_0x205c69:0x10c,_0x4d4c6c:0x142,_0x46d4c8:0x1c4,_0x292eb2:0xc3,_0x34c5f6:0x9e,_0x47f93c:0x108,_0x128e44:0x13a,_0x1b66bd:0x13b,_0xc3b3b6:0x1d0,_0x31437f:0x23,_0x54e018:0x32,_0x556354:0xe9,_0x7643f2:0x7c,_0x56986d:0x106,_0x68af77:0x1e,_0x3083c1:0x5c,_0xf9e086:0x60,_0x2bcdc2:0x175,_0xc925ee:0x1f9,_0x482f63:0xa0,_0x2ef397:0x39,_0x9e4647:0xc8,_0x357983:0x9a,_0x1c98f6:0x162,_0x5e20ad:0x171,_0x4a15f6:0x1e2,_0x1d4c77:0xa3,_0x80debd:0x1f,_0x51ffd8:0x27,_0x44d1a5:0x1e0,_0x4eb21a:0x10b,_0x3de946:0x268,_0x5f0f11:0x8f,_0x51dd8f:0x106,_0x559988:0xed,_0x87ea86:0xd8,_0x5cd647:0x68,_0x34af24:0xe1,_0x59c22b:0xda,_0x16a43a:0x17,_0x295c42:0xb8,_0x4ef7c4:0x5e,_0x3ee459:0xc7,_0x59fb22:0x122,_0x42c697:0x82,_0x21f250:0xe8,_0x4fcfcf:0x18b,_0x490610:0x22b,_0x36ed5a:0x196,_0x5e4e60:0x17f,_0x96f1c7:0x178,_0x3962f9:0x185,_0x45480c:0x1dc,_0x5b805e:0x179,_0x2f41c3:0x50,_0x304991:0x1d1,_0x74b905:0x206,_0x5633f5:0x258,_0xcac62b:0x1da,_0x28db4c:0x18a,_0x3da7d2:0x105,_0xbf4e4d:0x159,_0x1f1fb8:0x143,_0x12d6f0:0x172,_0x4c0efa:0x76,_0x41d94a:0x1e,_0x7fb766:0x1c6,_0x4043d7:0x15b,_0x3805df:0x167,_0x1de81c:0xde,_0x2c17c6:0x5b,_0x30fa20:0xb6,_0x1c398b:0xeb,_0x1fe3f5:0x15f,_0x342421:0x9b,_0x5ca441:0xe2,_0x105dd9:0xc9,_0x24e1ba:0x140,_0x5eac73:0x1cf,_0x465ae5:0x1ce,_0x50d857:0x22e,_0x5a18c6:0x1cd,_0x466fc8:0x14a,_0x53f592:0xea,_0x566e71:0xcd,_0xa0aaca:0xc8,_0x3e3faf:0x13c,_0xb240d7:0x97,_0x24017f:0x7f,_0x429587:0x60,_0x4042a6:0x5a,_0x5f09f7:0x26,_0x5d2f46:0xa1,_0x2422f2:0x11c,_0x199278:0xe0,_0x59b26a:0xc6},_0x3cfca4={_0xc04002:0x98,_0x917036:0x4f},_0x49cad3={_0x48cc26:0x203,_0x4ff31b:0x109,_0x29c5b3:0x178},_0x140d7e={'zbCel':_0x1b42d6(0x167,0x170,0x129,_0x19f33a._0x4bad86)+'\x20capabilit'+_0x1b42d6(0x197,_0x19f33a._0x4bd027,_0x19f33a._0xab1311,_0x19f33a._0x1d8706)+_0x324873(-_0x19f33a._0x5abd7c,-0xce,-0x93,-0x7d)+'me','ijwkZ':function(_0x129350,_0x35681e){return _0x129350!==_0x35681e;},'tJPvV':_0x1b42d6(0x23c,0x174,0x1d9,_0x19f33a._0x348f6d),'Cmrjz':_0x1b42d6(0x155,_0x19f33a._0x14f7f5,_0x19f33a._0x2da817,_0x19f33a._0x48b905)+_0x324873(-0x14e,-0x106,-_0x19f33a._0x131452,-_0x19f33a._0x2f5c2e)+_0x324873(-0x85,-_0x19f33a._0x2f21ee,-0x98,-0x16)+_0x324873(-0x8a,-_0x19f33a._0x4ab730,-_0x19f33a._0x5f1e62,-0x9d),'EeIQI':function(_0x4821f5,_0x1e90b5,_0x542d63){return _0x4821f5(_0x1e90b5,_0x542d63);},'zmNfq':'Failed\x20CLI'+_0x1b42d6(_0x19f33a._0x54169a,0x110,0x134,0x110)+_0x324873(-_0x19f33a._0x2b85da,-0xe8,-_0x19f33a._0x1a1aba,-_0x19f33a._0x2eafa9),'hclPA':'Authentica'+_0x1b42d6(0xef,0x1ad,_0x19f33a._0x93d7a1,0xa1)+'d','UyOqq':_0x324873(-_0x19f33a._0x1e7993,-_0x19f33a._0x28a9bb,-0xa0,-_0x19f33a._0x4aeba2)+'ername\x20or\x20'+_0x1b42d6(0xf8,0x73,0xfc,0x17e),'PlOgO':'CLI\x20Access','MyPGt':_0x1b42d6(_0x19f33a._0x4a6ba6,_0x19f33a._0x1bd229,_0x19f33a._0x205c69,0x129)+_0x1b42d6(_0x19f33a._0x4d4c6c,0x147,0x1cb,_0x19f33a._0x46d4c8),'DOTle':'kbzHj','VcOAF':_0x324873(-0x17,-0x106,-0x99,-_0x19f33a._0x292eb2),'XzSIb':_0x324873(-_0x19f33a._0x34c5f6,-0x185,-_0x19f33a._0x47f93c,-_0x19f33a._0x128e44)+'ed'};function _0x324873(_0x47bf70,_0x5d989e,_0x24fdb9,_0xde7e8b){return _0x1cacf8(_0xde7e8b,_0x24fdb9- -_0x49cad3._0x48cc26,_0x24fdb9-_0x49cad3._0x4ff31b,_0xde7e8b-_0x49cad3._0x29c5b3);}function _0x1b42d6(_0x112d51,_0x3f81ad,_0x170dac,_0x54f499){return _0x4652bc(_0x112d51-_0x3cfca4._0xc04002,_0x3f81ad-_0x3cfca4._0x917036,_0x54f499,_0x170dac-0x228);}const {username:_0x315769,password:_0x3eeff8}=_0x5d718f[_0x1b42d6(0x15c,_0x19f33a._0x1b66bd,0x17c,_0x19f33a._0xc3b3b6)];if(!_0x315769||!_0x3eeff8){if(_0x140d7e[_0x324873(-0x14a,-0x9e,-0xde,-0x128)]('xWcRv',_0x140d7e[_0x324873(-_0x19f33a._0x31437f,-0x8c,-_0x19f33a._0x54e018,-0x37)])){const _0x5eedac={};return _0x5eedac[_0x324873(-_0x19f33a._0x556354,-_0x19f33a._0x7643f2,-_0x19f33a._0x56986d,-0x129)]=_0x324873(0x29,-_0x19f33a._0x68af77,-_0x19f33a._0x3083c1,-_0x19f33a._0xf9e086)+_0x1b42d6(0xf4,0xf2,0x173,_0x19f33a._0x2bcdc2),_0x5eedac[_0x1b42d6(0x1df,_0x19f33a._0xc925ee,0x1cf,0x209)]=_0x140d7e[_0x324873(-0x8,-0x4,-0x56,0x1e)],_0x713561['status'](0x1*-0x9ef+0x1d3*-0x10+0x28af)[_0x324873(-_0x19f33a._0x482f63,-_0x19f33a._0x2ef397,-_0x19f33a._0x9e4647,-0xcb)](_0x5eedac);}else{const _0x2b0e4a={};_0x2b0e4a[_0x324873(-_0x19f33a._0x357983,-0xa3,-0x106,-0x7f)]=_0xb0f957['message'],_0x34ad15[_0x1b42d6(0x141,0x155,0x14d,0xf6)](_0x140d7e[_0x1b42d6(_0x19f33a._0x1c98f6,0x18c,_0x19f33a._0x5e20ad,_0x19f33a._0x4a15f6)],_0x2b0e4a);}}try{const _0x3d5c6e=await _0x140d7e[_0x324873(-_0x19f33a._0x1d4c77,0x5b,-_0x19f33a._0x80debd,_0x19f33a._0x51ffd8)](validatePassword,_0x315769,_0x3eeff8);if(!_0x3d5c6e){const _0x522b46={};_0x522b46[_0x1b42d6(0x1a7,0x1cf,0x199,_0x19f33a._0x44d1a5)]=_0x315769,logger[_0x1b42d6(0x10c,_0x19f33a._0x4eb21a,0x181,0x18a)](_0x140d7e[_0x1b42d6(0x19c,0x1ac,0x1e9,_0x19f33a._0x3de946)],_0x522b46);const _0x2fb040={};return _0x2fb040[_0x324873(-_0x19f33a._0x5f0f11,-0xb8,-_0x19f33a._0x51dd8f,-_0x19f33a._0x559988)]=_0x140d7e[_0x324873(-0x54,-_0x19f33a._0x87ea86,-_0x19f33a._0x5cd647,-_0x19f33a._0x34af24)],_0x2fb040['message']=_0x140d7e[_0x324873(-0x51,-0x4d,-0xb0,-_0x19f33a._0x59c22b)],_0x713561['status'](0x1da1+-0x1*0x15df+-0x631*0x1)['json'](_0x2fb040);}const _0x20b21d=await createApiKey(_0x3d5c6e['id'],_0x140d7e[_0x324873(-_0x19f33a._0x16a43a,-0x54,-0x72,-0x7e)]),_0x3cb21a={};_0x3cb21a['userId']=_0x3d5c6e['id'],_0x3cb21a[_0x324873(-_0x19f33a._0x295c42,-0xe1,-_0x19f33a._0x4ef7c4,-0xb5)]=_0x3d5c6e['username'],_0x3cb21a[_0x324873(-0x82,-0x12b,-_0x19f33a._0x3ee459,-0x118)]=_0x20b21d['id'],logger[_0x1b42d6(_0x19f33a._0x59fb22,_0x19f33a._0x42c697,_0x19f33a._0x21f250,0x15a)](_0x140d7e[_0x1b42d6(_0x19f33a._0x4fcfcf,_0x19f33a._0x490610,0x1d4,_0x19f33a._0x36ed5a)],_0x3cb21a);const _0x2a56ce={};_0x2a56ce['id']=_0x3d5c6e['id'],_0x2a56ce[_0x1b42d6(0x1d2,_0x19f33a._0x5e4e60,0x199,_0x19f33a._0x96f1c7)]=_0x3d5c6e[_0x1b42d6(_0x19f33a._0x3962f9,_0x19f33a._0x45480c,0x199,0x172)],_0x2a56ce[_0x1b42d6(0x15a,0x158,_0x19f33a._0x5b805e,0x1ca)]=_0x3d5c6e[_0x324873(-_0x19f33a._0x2f41c3,-_0x19f33a._0x1e7993,-0x7e,-0xc9)],_0x2a56ce[_0x1b42d6(0x21a,0x177,_0x19f33a._0x304991,_0x19f33a._0x74b905)]=_0x3d5c6e[_0x1b42d6(0x255,0x198,0x1d1,0x17f)],_0x2a56ce[_0x1b42d6(_0x19f33a._0x5633f5,0x1e4,_0x19f33a._0xcac62b,0x178)+_0x324873(-_0x19f33a._0x4bad86,-_0x19f33a._0x28db4c,-_0x19f33a._0x3da7d2,-_0x19f33a._0xbf4e4d)]=_0x3d5c6e[_0x1b42d6(0x1fb,0x1cd,0x1da,0x1ef)+'min']||![];const _0xb091a0={};_0xb091a0[_0x1b42d6(_0x19f33a._0x1f1fb8,0x1cc,0x1cf,_0x19f33a._0x12d6f0)]=_0x324873(-_0x19f33a._0x4c0efa,0x16,-0x37,-_0x19f33a._0x41d94a)+_0x1b42d6(_0x19f33a._0x7fb766,0x17b,0x1c7,0x20a),_0xb091a0[_0x1b42d6(_0x19f33a._0x4043d7,_0x19f33a._0x21f250,_0x19f33a._0x3805df,0xee)]=_0x2a56ce,_0xb091a0['apiKey']=_0x20b21d['key'],_0x713561['json'](_0xb091a0);}catch(_0x53702c){if(_0x140d7e[_0x324873(-0x67,-0x7a,-_0x19f33a._0x1de81c,-_0x19f33a._0x2c17c6)](_0x140d7e['DOTle'],_0x140d7e['VcOAF'])){logger[_0x1b42d6(0x82,0x15a,0xf1,0x69)](_0x324873(-_0x19f33a._0x30fa20,-0x115,-_0x19f33a._0x1c398b,-_0x19f33a._0x1fe3f5)+_0x324873(-_0x19f33a._0x342421,-0x17c,-_0x19f33a._0x51dd8f,-0x9f),_0x53702c);const _0x5ad0f7={};_0x5ad0f7[_0x324873(-_0x19f33a._0x4aeba2,-_0x19f33a._0x5ca441,-0x106,-_0x19f33a._0x105dd9)]=_0x140d7e['XzSIb'],_0x5ad0f7[_0x1b42d6(_0x19f33a._0x24e1ba,0x211,_0x19f33a._0x5eac73,_0x19f33a._0x465ae5)]=_0x1b42d6(0x12c,_0x19f33a._0x50d857,0x1ad,_0x19f33a._0x5a18c6)+'ccurred\x20du'+'ring\x20authe'+'ntication',_0x713561[_0x1b42d6(0xfb,0x1c9,_0x19f33a._0x466fc8,0x133)](0x1078+0x191f+-0x27a3)[_0x324873(-_0x19f33a._0x53f592,-_0x19f33a._0x566e71,-_0x19f33a._0xa0aaca,-_0x19f33a._0x3e3faf)](_0x5ad0f7);}else{if(!_0x49cb51[_0x324873(0x2a,-0x60,-0x1b,0x2e)](_0xa893fc=>_0xa893fc['id']===_0x570288['id'])){const _0x424332={};_0x424332['id']=_0x4350af['id'],_0x424332[_0x324873(-_0x19f33a._0xb240d7,-_0x19f33a._0x24017f,-0x26,_0x19f33a._0x429587)]=_0x41deb6[_0x324873(-_0x19f33a._0x4042a6,0x2,-_0x19f33a._0x5f09f7,-_0x19f33a._0x5f0f11)],_0x424332['isManager']=!![],_0xa0d91a[_0x324873(-_0x19f33a._0x5d2f46,-_0x19f33a._0x2422f2,-_0x19f33a._0x199278,-_0x19f33a._0x59b26a)](_0x424332);}}}}),router[_0x4652bc(-0x7,-0x81,0x1b,-0x36)](_0x4652bc(-0x6b,-0x153,-0x152,-0xe7),requireAuth,async(_0x227476,_0x54b3bc)=>{const _0x5ebc87={_0xadb23:0x5d,_0x28a192:0x44,_0x4b448f:0x37,_0x10d798:0x31,_0x4aa254:0xc,_0x2046f6:0x368,_0x27bc20:0x305,_0x28881f:0x2f4,_0x4121d3:0x341,_0x184220:0x382,_0x18eb0b:0x2ac,_0x12742a:0x2af,_0x26da57:0x27a,_0xa23c0:0x2f3,_0x484165:0x5b,_0x108066:0x2e2,_0x1a333d:0x2a9,_0x21b8c2:0x31b,_0x3f467c:0x36f,_0x1ed823:0x316,_0x5b91ea:0x2b3,_0x3c6446:0xd6,_0x473c2d:0x9,_0x5d7111:0x2ce,_0x5daef5:0x309,_0x4177e6:0x289,_0x172efe:0x37a,_0x1f8d23:0x2f4,_0x5867e1:0x39b,_0x591307:0x337,_0x2b1a6f:0xe,_0x3f7ae7:0x30f,_0x1c3d66:0x333,_0x2d83e5:0x32a,_0x16b3ec:0x1f,_0x10488a:0x372,_0x508241:0x3bf,_0x8eabc5:0x395,_0x458e25:0x2b8,_0x535c61:0x27,_0x856679:0x12,_0x3e981c:0x9c,_0x7ef2cd:0x382,_0x1a7af1:0x35c,_0x59003c:0x2ea,_0x360860:0x2bc,_0x5beaff:0x2cf,_0x163ea3:0x3c8,_0x37fd58:0x2fa,_0x170535:0x33b,_0x594e9e:0xbe,_0x4f14e2:0x329,_0x181b35:0x36e,_0xfd9f6a:0x21,_0x318046:0x41,_0x4cbbfe:0xb7,_0x513051:0x75,_0x45c9b5:0x253,_0x1db660:0x27d,_0x20f8c4:0x299,_0xf48a9e:0x348,_0x11ba39:0x2e6,_0x5c57ed:0x353,_0x9b8f33:0x339,_0x382df6:0x2e,_0x51778d:0xf,_0xa07974:0x332,_0x31ac93:0x323,_0x24abc2:0x319,_0x398a6c:0x37b,_0x279376:0x369,_0x3bcecc:0x319,_0x9e5f31:0x3e9,_0x4f500a:0x371,_0x4363e4:0x65,_0x58ecf1:0x359,_0x5a3931:0x332,_0x1d464b:0x3e3,_0x437ee9:0x31a,_0x7c2a9b:0x3c8,_0x5cc0e4:0x379,_0x267cbd:0x384,_0x2a7a95:0x8d,_0x51bc71:0x118,_0x1c1789:0x291,_0x19552f:0x16,_0x3d4076:0xe8,_0x4259e4:0x34,_0x53aa55:0x7a,_0x4f7b3c:0x19,_0x303f0e:0xea,_0x491be5:0x354,_0x54850a:0x2f1,_0x9e19fc:0x345,_0x11c784:0x2d5,_0x5689a8:0x295,_0x4b3158:0x340,_0xad0e10:0x308,_0x195047:0x38c,_0x17941a:0x334,_0x40a4dc:0x35,_0x35c1fd:0x8,_0x3a01d3:0x2cd,_0x5937e0:0x335,_0x2d47b3:0x2fa,_0x2ea0ab:0x325,_0x48f328:0x369,_0x2c6d3a:0x399,_0x46b66a:0x270,_0x253885:0xa,_0x771e64:0x68,_0x430f70:0x25,_0x42bc2e:0x1,_0x3fa0af:0x2c,_0x2f32c6:0xa2,_0x25fc56:0x6f,_0x33b1d0:0x4a,_0x200a11:0x97,_0x4201ca:0x54},_0x5dbefd={_0x18b4b6:0x177,_0xf9ce7d:0x1a7},_0x4482af={_0x1b4945:0xe8,_0x3b5283:0x17a,_0xb3d2f7:0x3c8};function _0x1287d0(_0x2b1eb0,_0x5cce4c,_0x3fc85c,_0x3e297b){return _0x4652bc(_0x2b1eb0-_0x4482af._0x1b4945,_0x5cce4c-_0x4482af._0x3b5283,_0x3fc85c,_0x3e297b-_0x4482af._0xb3d2f7);}function _0x1270e7(_0x167305,_0x4aa72d,_0x53ccfc,_0x55c85d){return _0x1cacf8(_0x4aa72d,_0x167305- -_0x5dbefd._0x18b4b6,_0x53ccfc-_0x5dbefd._0xf9ce7d,_0x55c85d-0x17c);}const _0x3bc793={'wCJgb':_0x1270e7(0x32,-0x5c,-_0x5ebc87._0xadb23,0xaf)+_0x1270e7(-_0x5ebc87._0x28a192,-_0x5ebc87._0x4b448f,0x1a,_0x5ebc87._0x10d798)+_0x1270e7(-_0x5ebc87._0x4aa254,-0x13,-0x52,-0x20)+'ired','xWyZn':'Failed\x20to\x20'+'remove\x20ava'+'tar','qilVB':_0x1287d0(0x2a7,_0x5ebc87._0x2046f6,_0x5ebc87._0x27bc20,_0x5ebc87._0x28881f),'qWLyJ':_0x1287d0(_0x5ebc87._0x4121d3,_0x5ebc87._0x184220,0x3e4,0x366),'AIKgo':_0x1287d0(_0x5ebc87._0x18eb0b,_0x5ebc87._0x12742a,0x2e5,0x316),'Uvxdh':function(_0x1e5aa5,_0x5cf8e2){return _0x1e5aa5(_0x5cf8e2);},'gvvsZ':_0x1287d0(_0x5ebc87._0x26da57,_0x5ebc87._0xa23c0,0x26a,0x2aa)+_0x1270e7(-0x39,-0xa0,0x1f,-_0x5ebc87._0x484165)+_0x1287d0(0x2c7,_0x5ebc87._0x108066,0x28a,_0x5ebc87._0x1a333d)+_0x1287d0(_0x5ebc87._0x21b8c2,0x348,_0x5ebc87._0x3f467c,0x33a)+'and\x20WebP\x20a'+_0x1287d0(0x301,0x275,_0x5ebc87._0x1ed823,_0x5ebc87._0x5b91ea)+'.','iccAW':function(_0x51444d,_0x468bc3){return _0x51444d===_0x468bc3;},'hKAsW':_0x1270e7(-0x6d,-_0x5ebc87._0x3c6446,_0x5ebc87._0x473c2d,-0xbc),'PcvLE':_0x1287d0(0x2da,_0x5ebc87._0x5d7111,_0x5ebc87._0x5daef5,_0x5ebc87._0x4177e6)+_0x1270e7(0x57,0x44,0xd8,0x2c),'yIORO':function(_0x21b63b,_0xc620b6){return _0x21b63b!==_0xc620b6;},'iHnxq':'qNplp','ZsFAo':'Failed\x20to\x20'+_0x1287d0(_0x5ebc87._0x172efe,_0x5ebc87._0x1f8d23,_0x5ebc87._0x5867e1,_0x5ebc87._0x591307)+'e'};try{if(_0x3bc793[_0x1270e7(0x3c,-_0x5ebc87._0x2b1a6f,0x17,-0x45)](_0x3bc793[_0x1287d0(_0x5ebc87._0x3f7ae7,_0x5ebc87._0x1c3d66,0x35c,_0x5ebc87._0x2d83e5)],_0x3bc793[_0x1270e7(_0x5ebc87._0x16b3ec,0x29,-0x6e,-0x67)])){const _0x399bc4=await _0x3bc793[_0x1287d0(0x3d3,_0x5ebc87._0x10488a,_0x5ebc87._0x508241,0x369)](findUserById,_0x227476[_0x1287d0(_0x5ebc87._0x8eabc5,_0x5ebc87._0x458e25,0x32d,0x307)]['id']);if(!_0x399bc4){if(_0x1270e7(-0x26,_0x5ebc87._0x535c61,-0x5b,_0x5ebc87._0x856679)!=='ISidn'){const _0x238079={};return _0x238079[_0x1270e7(-0x7a,-0x3,-_0x5ebc87._0x3e981c,-0x65)]=_0x3bc793[_0x1287d0(_0x5ebc87._0x7ef2cd,0x301,0x344,_0x5ebc87._0x1a7af1)],_0x54b3bc[_0x1287d0(0x370,0x2f2,0x2c0,_0x5ebc87._0x59003c)](0xcec+-0x1438*-0x1+0x2*-0xfc8)[_0x1287d0(_0x5ebc87._0x360860,0x2cb,0x276,_0x5ebc87._0x5beaff)](_0x238079);}else{const _0x469c53={};return _0x469c53['error']=_0x1287d0(_0x5ebc87._0x163ea3,0x2ea,_0x5ebc87._0x37fd58,_0x5ebc87._0x170535)+'edentials',_0x469c53[_0x1270e7(0x64,0x94,0x1c,_0x5ebc87._0x594e9e)]=_0x3bc793[_0x1287d0(0x36d,0x2e9,_0x5ebc87._0x4f14e2,_0x5ebc87._0x181b35)],_0x4d25a5[_0x1270e7(-_0x5ebc87._0xfd9f6a,-0x6f,0x35,_0x5ebc87._0x318046)](0xdd1+0x2*0xa27+-0x208f)['json'](_0x469c53);}}const _0x27b953={};_0x27b953[_0x1270e7(-0x34,-0x6e,-_0x5ebc87._0x4cbbfe,-_0x5ebc87._0x513051)+_0x1287d0(0x2d4,0x2ce,_0x5ebc87._0x45c9b5,_0x5ebc87._0x1db660)]=!![],_0x27b953['email_comm'+_0x1287d0(0x316,_0x5ebc87._0x20f8c4,_0x5ebc87._0xf48a9e,0x2ce)+_0x1287d0(0x343,0x35e,0x2ee,_0x5ebc87._0x11ba39)]=!![];const _0x4d61cf={};_0x4d61cf['id']=_0x399bc4['id'],_0x4d61cf[_0x1287d0(_0x5ebc87._0x5c57ed,0x374,0x38b,_0x5ebc87._0x9b8f33)]=_0x399bc4[_0x1270e7(_0x5ebc87._0x382df6,-_0x5ebc87._0x51778d,0x27,0xb6)],_0x4d61cf[_0x1287d0(_0x5ebc87._0xa07974,0x398,_0x5ebc87._0x31ac93,_0x5ebc87._0x24abc2)]=_0x399bc4[_0x1287d0(0x2c8,_0x5ebc87._0x398a6c,_0x5ebc87._0x279376,_0x5ebc87._0x3bcecc)],_0x4d61cf[_0x1287d0(_0x5ebc87._0x9e5f31,0x3c7,0x316,_0x5ebc87._0x4f500a)]=_0x399bc4[_0x1270e7(0x66,0x74,0xa1,_0x5ebc87._0x4363e4)],_0x4d61cf[_0x1287d0(0x2e5,_0x5ebc87._0x58ecf1,_0x5ebc87._0x5a3931,0x31e)]=_0x399bc4[_0x1270e7(0x13,0xa0,0x3,-0xa)]||null,_0x4d61cf[_0x1287d0(_0x5ebc87._0x1d464b,_0x5ebc87._0x437ee9,0x34b,0x384)+'s']=_0x399bc4[_0x1287d0(_0x5ebc87._0x7c2a9b,_0x5ebc87._0x5cc0e4,_0x5ebc87._0x279376,_0x5ebc87._0x267cbd)+'s']||_0x27b953;const _0x4d8b8a={};_0x4d8b8a[_0x1270e7(-_0x5ebc87._0x2a7a95,-0x111,-0x53,-_0x5ebc87._0x51bc71)]=_0x4d61cf,_0x54b3bc['json'](_0x4d8b8a);}else{_0x55f264[_0x1287d0(0x299,0x2bc,0x2ca,_0x5ebc87._0x1c1789)](_0x3bc793[_0x1270e7(-0x72,-_0x5ebc87._0x19552f,-_0x5ebc87._0x3d4076,-_0x5ebc87._0x4259e4)],_0x359a30);const _0x3a6611={};_0x3a6611[_0x1270e7(-_0x5ebc87._0x53aa55,-_0x5ebc87._0x4f7b3c,-0x23,-_0x5ebc87._0x303f0e)]=_0x3bc793[_0x1287d0(0x224,0x299,0x274,0x299)],_0x138ace['status'](-0x2519+-0x13*-0x15c+0xd39)[_0x1287d0(0x310,_0x5ebc87._0x491be5,_0x5ebc87._0x54850a,0x2cf)](_0x3a6611);}}catch(_0x4d5eed){if(_0x3bc793[_0x1270e7(-0x18,-0x23,-0x1b,-0x8e)](_0x3bc793[_0x1287d0(_0x5ebc87._0x9e19fc,_0x5ebc87._0x11c784,0x349,0x2cb)],'qNplp')){const _0x35c0cb=['image/jpeg',_0x3bc793[_0x1287d0(_0x5ebc87._0x5689a8,_0x5ebc87._0x4b3158,0x37c,_0x5ebc87._0xad0e10)],_0x3bc793['qWLyJ'],_0x3bc793[_0x1287d0(_0x5ebc87._0x195047,0x3b8,0x356,_0x5ebc87._0x17941a)]];_0x35c0cb[_0x1270e7(-0x27,-0x1d,_0x5ebc87._0x40a4dc,_0x5ebc87._0x35c1fd)](_0x20bc3f[_0x1287d0(_0x5ebc87._0x3a01d3,_0x5ebc87._0x5937e0,0x369,_0x5ebc87._0x2d47b3)])?_0x23ebf3(null,!![]):_0x3bc793[_0x1287d0(_0x5ebc87._0x2ea0ab,0x3da,0x30c,_0x5ebc87._0x48f328)](_0x135aba,new _0x5c9931(_0x3bc793[_0x1287d0(0x38c,0x2e9,_0x5ebc87._0x2c6d3a,0x309)]));}else{logger[_0x1287d0(_0x5ebc87._0x458e25,0x228,_0x5ebc87._0x46b66a,_0x5ebc87._0x1c1789)](_0x1270e7(_0x5ebc87._0x253885,-_0x5ebc87._0x771e64,-_0x5ebc87._0x430f70,_0x5ebc87._0x42bc2e)+_0x1270e7(_0x5ebc87._0x3fa0af,0x6c,_0x5ebc87._0x2f32c6,-0x3b)+'e',_0x4d5eed);const _0x3c6e52={};_0x3c6e52['error']=_0x3bc793[_0x1270e7(0x54,0x9a,_0x5ebc87._0x25fc56,-0x26)],_0x54b3bc[_0x1270e7(-_0x5ebc87._0xfd9f6a,_0x5ebc87._0x33b1d0,-_0x5ebc87._0x200a11,-0x7e)](0x5be+0x674+-0x51f*0x2)[_0x1270e7(-0x3c,_0x5ebc87._0x535c61,-0x59,-_0x5ebc87._0x4201ca)](_0x3c6e52);}}}),router['put']('/profile',requireAuth,async(_0x2c7f07,_0x3a4b5a)=>{const _0x396f0b={_0x1f6bbf:0x392,_0x1e5888:0x2d9,_0x226f22:0x1d7,_0x3d10da:0x210,_0x4a8c6a:0x147,_0x3e3fcf:0x17f,_0x3ec615:0x3d5,_0x11442d:0x31f,_0x2e6344:0x363,_0x2b87a3:0xb9,_0x4cea74:0x120,_0x24a370:0x33d,_0x37fe16:0xe1,_0x5df989:0x162,_0x363035:0x15e,_0x4a985e:0x16d,_0x2e57ed:0x446,_0x501113:0x472,_0x236a15:0x3ea,_0x14ca58:0x1f2,_0x387484:0x167,_0x19dd11:0x35c,_0x3a639b:0x2e7,_0x2fb561:0x369,_0x312d5f:0x3e6,_0x50f1ba:0x3f6,_0x1cbb56:0x328,_0x4ac1ee:0x2f3,_0x4c4396:0x17e,_0x5bc772:0x15c,_0x142eb6:0x2fd,_0x955027:0x39e,_0x4439d3:0x381,_0xa49eec:0x178,_0x5add08:0x1fb,_0x5413ff:0x1c8,_0x135e37:0x144,_0x3d8e6f:0x1b4,_0x3f5fd9:0x192,_0x1a2585:0x1a0,_0x34dd8f:0x1f9,_0x4ac4ca:0x200,_0x163671:0x39b,_0x499479:0x278,_0x1abdc4:0xfe,_0x4353a5:0x153,_0x2b9880:0x270,_0x56d829:0x1f5,_0x495985:0x245,_0x348f43:0x1d2,_0xaad238:0x3e4,_0xd6c1bb:0x309,_0xd482b7:0x38d,_0x1066dc:0x2a1,_0x11edf0:0x313,_0x388bef:0x2be,_0x304590:0x1df,_0x6fc771:0x1d6,_0x17de33:0x26f,_0x1f1406:0x1f1,_0x4a8712:0x321,_0x2100c6:0x2e0,_0x11423a:0x356,_0x238404:0x423,_0x1a4cc9:0x183,_0x326c6b:0x1a8,_0x572f6a:0x15f,_0x322eca:0x177,_0x4e3e17:0x1a4,_0x2fa8d5:0x1a4,_0x3d1e31:0x3ae,_0x54d740:0x3f2,_0x17b31f:0x3b4,_0x2bd5c6:0x17c,_0x2eabdc:0x1d7,_0x443ad8:0x2e3,_0x549de2:0x2d4,_0x4d2cc6:0x289,_0x747271:0x2f8,_0x5d28de:0x37d,_0x32cd16:0x356,_0x11743a:0x358,_0x28fe79:0x33b,_0xbae9d:0x2e5,_0x12c01d:0x2ee,_0x59051e:0x357,_0x50e3d4:0x1df,_0x1e882f:0x1e9,_0x2f6d21:0x1a3,_0x2ae308:0x1ba,_0x2ce0aa:0x199,_0x1b9a3b:0x223,_0x20eef1:0x32c,_0x165089:0x2a6,_0x55624f:0x2e7,_0x4f6747:0x191,_0x2c3155:0x34f,_0x307970:0x41b,_0x5d6312:0x3ca,_0x26bb18:0x36c,_0x332f9c:0x18b,_0x3b32de:0x2a7,_0x5c6b99:0x3f8,_0x20f678:0x332,_0x3687dc:0x19d,_0x4ee012:0x12b,_0x7e0e19:0x1bc,_0x432c96:0x230,_0x13d704:0x20e,_0x3c1506:0x20f,_0x39572d:0x1c0,_0x128fad:0x1a2,_0x55bd93:0x3a0,_0x4a6434:0x3f0,_0x55c473:0x470,_0x139b7a:0x266,_0xf46fca:0x2c2,_0x2efdba:0x2ea,_0x507d38:0x115,_0x53adb7:0xf9,_0x3c2872:0x1d8,_0x26b454:0x1bd,_0x3ee43a:0x17d,_0xa76621:0x10a,_0x159344:0x86,_0x55e4f2:0x115,_0x5a4ec0:0x158,_0x463632:0x374,_0x36850e:0x329,_0x41913a:0x365,_0x2742e5:0x16e},_0x271b50={_0x29d614:0xb4,_0x1b837e:0x24c};function _0x2bd17a(_0x58f233,_0x256e43,_0x15f4a4,_0x372ca4){return _0x1cacf8(_0x256e43,_0x372ca4-0x200,_0x15f4a4-0x1ba,_0x372ca4-0x58);}const _0x5d7ca2={'tRmuJ':_0x2bd17a(_0x396f0b._0x1f6bbf,_0x396f0b._0x1e5888,0x35b,0x368)+'in\x20attempt','DUGrf':_0x288a6b(0x151,0x1d0,_0x396f0b._0x226f22,_0x396f0b._0x3d10da)+_0x288a6b(0x174,0x122,_0x396f0b._0x4a8c6a,_0x396f0b._0x3e3fcf)+'d','MbFat':_0x2bd17a(_0x396f0b._0x3ec615,0x375,_0x396f0b._0x11442d,_0x396f0b._0x2e6344)+'ername\x20or\x20'+_0x288a6b(_0x396f0b._0x2b87a3,0x1a0,_0x396f0b._0x4cea74,0x185),'vDpdo':'Failed\x20to\x20'+'get\x20profil'+_0x2bd17a(_0x396f0b._0x24a370,0x3fb,0x30f,0x37b)+_0x288a6b(_0x396f0b._0x37fe16,0x1da,_0x396f0b._0x5df989,0x1dc),'ZMFtv':function(_0x4a1941,_0x88c20e){return _0x4a1941!==_0x88c20e;},'YiZNE':function(_0x1f2727,_0x3feb25){return _0x1f2727!==_0x3feb25;},'uQVDN':'GZJMC','JpTRZ':function(_0xf2c099,_0x1dbbd3){return _0xf2c099===_0x1dbbd3;},'ngvrf':_0x288a6b(0x1cb,0x143,_0x396f0b._0x363035,_0x396f0b._0x4a985e)+_0x288a6b(0x1c4,0x1bc,0x194,0x192),'RMBRz':_0x2bd17a(_0x396f0b._0x2e57ed,_0x396f0b._0x501113,0x386,_0x396f0b._0x236a15),'zsTlg':_0x288a6b(0x105,_0x396f0b._0x14ca58,_0x396f0b._0x387484,0x1aa)+_0x2bd17a(_0x396f0b._0x19dd11,_0x396f0b._0x3a639b,0x389,_0x396f0b._0x2fb561)+_0x2bd17a(0x442,_0x396f0b._0x312d5f,0x372,_0x396f0b._0x50f1ba),'RTJbt':function(_0x7e7c76,_0x1c634f,_0x573540){return _0x7e7c76(_0x1c634f,_0x573540);},'NVRXs':_0x2bd17a(_0x396f0b._0x1cbb56,0x26e,0x34b,_0x396f0b._0x4ac1ee),'GKfuS':_0x288a6b(0x138,_0x396f0b._0x4c4396,_0x396f0b._0x5bc772,0x114),'rFPuU':_0x2bd17a(_0x396f0b._0x142eb6,0x35c,_0x396f0b._0x955027,_0x396f0b._0x4439d3)+'update\x20pro'+'file'};function _0x288a6b(_0x4e6bbc,_0x3cf15d,_0x173c59,_0x48beaf){return _0x4652bc(_0x4e6bbc-0x54,_0x3cf15d-_0x271b50._0x29d614,_0x4e6bbc,_0x173c59-_0x271b50._0x1b837e);}const {name:_0x5cb229,preferences:_0x979f6c}=_0x2c7f07['body'];try{const _0x39b3f3={};if(_0x5d7ca2['ZMFtv'](_0x5cb229,undefined)){if(_0x5d7ca2[_0x288a6b(_0x396f0b._0xa49eec,0x17c,0x1d3,_0x396f0b._0x5add08)](_0x5d7ca2[_0x288a6b(_0x396f0b._0x5413ff,0x140,_0x396f0b._0x135e37,_0x396f0b._0x3d8e6f)],_0x288a6b(_0x396f0b._0x3f5fd9,_0x396f0b._0x1a2585,_0x396f0b._0x34dd8f,_0x396f0b._0x4ac4ca))){if(!_0x5cb229||_0x5d7ca2[_0x2bd17a(0x30a,_0x396f0b._0x163671,0x3a0,0x347)](_0x5cb229['trim']()['length'],0x5*0x65e+0xc74+-0x2*0x1625)){const _0x5c1eb1={};return _0x5c1eb1['error']=_0x5d7ca2[_0x288a6b(0x265,_0x396f0b._0x499479,0x217,0x271)],_0x3a4b5a['status'](-0x47+0x1*0xf0b+-0xd*0x104)[_0x288a6b(0x1c0,_0x396f0b._0x1abdc4,_0x396f0b._0x4353a5,0x1a0)](_0x5c1eb1);}_0x39b3f3[_0x288a6b(0x212,_0x396f0b._0x2b9880,_0x396f0b._0x56d829,_0x396f0b._0x495985)]=_0x5cb229[_0x288a6b(0x199,0x15a,_0x396f0b._0x348f43,0x1ef)]();}else{const _0x3d85ab={};_0x3d85ab['username']=_0xbcb111,_0x1d1488[_0x2bd17a(0x36e,_0x396f0b._0xaad238,_0x396f0b._0xd6c1bb,_0x396f0b._0xd482b7)](_0x5d7ca2[_0x2bd17a(0x293,_0x396f0b._0x1066dc,0x39d,_0x396f0b._0x11edf0)],_0x3d85ab);const _0x16eb25={};return _0x16eb25[_0x2bd17a(0x2f9,0x352,_0x396f0b._0x388bef,_0x396f0b._0x142eb6)]=_0x5d7ca2['DUGrf'],_0x16eb25[_0x288a6b(_0x396f0b._0x304590,_0x396f0b._0x6fc771,0x1f3,_0x396f0b._0x17de33)]=_0x5d7ca2[_0x288a6b(0x1f2,0x1c2,_0x396f0b._0x1f1406,0x179)],_0x436c89[_0x2bd17a(_0x396f0b._0x4a8712,_0x396f0b._0x2100c6,0x2cd,_0x396f0b._0x11423a)](0x1d26+0x3b*-0x99+0x1*0x7ae)['json'](_0x16eb25);}}_0x979f6c!==undefined&&(_0x39b3f3[_0x2bd17a(0x3d9,_0x396f0b._0x238404,0x45a,0x3f0)+'s']=_0x979f6c);if(_0x5d7ca2[_0x288a6b(_0x396f0b._0x1a4cc9,_0x396f0b._0x326c6b,_0x396f0b._0x572f6a,0x101)](Object['keys'](_0x39b3f3)[_0x288a6b(_0x396f0b._0x322eca,0x177,_0x396f0b._0x4e3e17,_0x396f0b._0x2fa8d5)],-0x7e*-0x2+0x1cf*0xd+0x187f*-0x1)){if(_0x5d7ca2[_0x2bd17a(_0x396f0b._0x3d1e31,_0x396f0b._0x54d740,0x3e9,_0x396f0b._0x17b31f)]===_0x288a6b(_0x396f0b._0x2bd5c6,0x22c,0x202,_0x396f0b._0x2eabdc)){const _0x4d0b29={};return _0x4d0b29[_0x2bd17a(0x2e5,_0x396f0b._0x443ad8,_0x396f0b._0x549de2,_0x396f0b._0x142eb6)]=_0x5d7ca2[_0x2bd17a(_0x396f0b._0x4d2cc6,0x344,0x302,_0x396f0b._0x747271)],_0x3a4b5a[_0x2bd17a(_0x396f0b._0x5d28de,0x37d,0x35e,_0x396f0b._0x32cd16)](0x1*0x1b83+-0x13*-0x45+-0x1f12)[_0x2bd17a(0x380,_0x396f0b._0x11743a,0x30a,_0x396f0b._0x28fe79)](_0x4d0b29);}else _0x45da7b[_0x288a6b(0x215,0x266,0x208,0x1b3)+'s']=_0x45b436;}const _0x4a6d38=await _0x5d7ca2[_0x2bd17a(_0x396f0b._0xbae9d,0x34d,_0x396f0b._0x12c01d,_0x396f0b._0x59051e)](updateUser,_0x2c7f07['user']['id'],_0x39b3f3);if(_0x39b3f3[_0x288a6b(0x262,_0x396f0b._0x50e3d4,0x1f5,0x21a)]){if(_0x5d7ca2['YiZNE'](_0x5d7ca2['NVRXs'],_0x5d7ca2[_0x2bd17a(0x3c9,0x32c,0x392,0x36d)]))_0x2c7f07[_0x2bd17a(0x366,0x349,0x3c9,0x376)][_0x288a6b(0x269,_0x396f0b._0x1e882f,_0x396f0b._0x56d829,0x249)]=_0x39b3f3[_0x288a6b(0x20c,0x20b,0x1f5,0x1e5)];else{_0x2a7dfa['error'](_0x5d7ca2[_0x2bd17a(0x39a,0x3b7,0x2c0,0x349)],_0x1378d7);const _0x17b7ed={};_0x17b7ed[_0x288a6b(_0x396f0b._0x2f6d21,0x169,0x115,0x11f)]=_0x288a6b(_0x396f0b._0x2ae308,0x221,_0x396f0b._0x2ce0aa,_0x396f0b._0x1b9a3b)+_0x2bd17a(_0x396f0b._0x20eef1,_0x396f0b._0x165089,0x2a7,_0x396f0b._0x55624f)+_0x288a6b(_0x396f0b._0x5add08,0x184,0x1db,_0x396f0b._0x4f6747),_0x4606b9['status'](-0x1e96+0x1b1f*-0x1+0x3ba9)[_0x2bd17a(_0x396f0b._0x2c3155,0x328,0x39f,0x33b)](_0x17b7ed);}}logger['info']('Profile\x20up'+_0x2bd17a(_0x396f0b._0x307970,_0x396f0b._0x5d6312,_0x396f0b._0x26bb18,0x3b6),{'userId':_0x2c7f07[_0x288a6b(0x1a1,0x190,_0x396f0b._0x332f9c,0x1d4)]['id'],'updates':Object[_0x2bd17a(0x2fe,_0x396f0b._0x3b32de,0x2e6,0x32d)](_0x39b3f3)});const _0x144f38={};_0x144f38['id']=_0x4a6d38['id'],_0x144f38[_0x2bd17a(_0x396f0b._0x5c6b99,_0x396f0b._0x20f678,0x403,0x3a5)]=_0x4a6d38['username'],_0x144f38[_0x288a6b(0x19b,0x11d,_0x396f0b._0x3687dc,0x22b)]=_0x4a6d38[_0x288a6b(_0x396f0b._0x4ee012,0x213,_0x396f0b._0x3687dc,_0x396f0b._0x7e0e19)],_0x144f38[_0x288a6b(0x27b,_0x396f0b._0x432c96,0x1f5,_0x396f0b._0x13d704)]=_0x4a6d38['name'],_0x144f38['avatar']=_0x4a6d38[_0x288a6b(_0x396f0b._0x3c1506,_0x396f0b._0x39572d,_0x396f0b._0x128fad,0x213)]||null,_0x144f38[_0x2bd17a(_0x396f0b._0x55bd93,0x366,_0x396f0b._0x2fb561,_0x396f0b._0x4a6434)+'s']=_0x4a6d38[_0x2bd17a(0x383,_0x396f0b._0x55c473,0x3ed,_0x396f0b._0x4a6434)+'s']||{};const _0x4c5204={};_0x4c5204[_0x2bd17a(_0x396f0b._0x139b7a,_0x396f0b._0xf46fca,0x2ac,_0x396f0b._0x2efdba)]=_0x144f38,_0x3a4b5a[_0x2bd17a(0x2b9,0x2dd,0x326,0x33b)](_0x4c5204);}catch(_0x4812eb){logger[_0x288a6b(0x173,0x12b,_0x396f0b._0x507d38,_0x396f0b._0x53adb7)](_0x5d7ca2[_0x288a6b(_0x396f0b._0x3c2872,_0x396f0b._0x26b454,_0x396f0b._0x3ee43a,0x172)],_0x4812eb);const _0x352fd2={};_0x352fd2[_0x288a6b(_0x396f0b._0xa76621,_0x396f0b._0x159344,_0x396f0b._0x55e4f2,_0x396f0b._0x5a4ec0)]=_0x5d7ca2[_0x2bd17a(_0x396f0b._0x463632,_0x396f0b._0x36850e,0x2e1,_0x396f0b._0x41913a)],_0x3a4b5a[_0x288a6b(0xf9,0x1c9,_0x396f0b._0x2742e5,0xe0)](-0x243d+-0x2158+-0x1*-0x4789)['json'](_0x352fd2);}}),router[_0x1cacf8(0x1aa,0x1e9,0x17a,0x18e)](_0x4652bc(-0xa5,-0xac,-0x9e,-0xd2)+'vatar',requireAuth,avatarUpload[_0x4652bc(-0xab,-0x10d,-0xdf,-0xe9)](_0x4652bc(-0x70,-0xed,-0xbf,-0xaa)),async(_0x58c969,_0x9e7ab2)=>{const _0x2ba270={_0x21a1f0:0x599,_0x12acc9:0x58d,_0x4033a3:0x4af,_0x276445:0x4e5,_0x1627ba:0x3ff,_0xc8fc2:0x3ef,_0x1ccc47:0x416,_0x42f02f:0x41b,_0x343bd1:0x46b,_0x34c183:0x4c8,_0x2e190f:0x4f6,_0x592df1:0x4c9,_0x287d8e:0x4a0,_0x522a15:0x486,_0x1adf99:0x4be,_0xb17dc8:0x4c5,_0x677b0d:0x433,_0x41dc11:0x4ce,_0x13e62b:0x466,_0x347245:0x470,_0x32b7b0:0x489,_0x1746e1:0x469,_0x451833:0x3e9,_0xe19bf3:0x3ff,_0x332c7:0x56d,_0x4dd7f5:0x4d6,_0x3a21fa:0x541,_0x1ed579:0x4de,_0x1beec6:0x4e0,_0x178ad9:0x4b4,_0x3623d6:0x39d,_0x252a31:0x471,_0x501b78:0x494,_0x4ad28f:0x47b,_0x42175f:0x3a2,_0xf9bdf9:0x46e,_0x567939:0x482,_0x36c2c3:0x56c,_0x1cbd80:0x523,_0x18bd7b:0x4fe,_0x24a30f:0x4e6,_0x1648a7:0x544,_0x38d899:0x4de,_0x575b6f:0x51c,_0x5a0709:0x4de,_0x2690ab:0x466,_0x4d6fa3:0x4da,_0x54dab2:0x557,_0x13ae5a:0x49a,_0x27b441:0x427,_0x232793:0x556,_0x47c072:0x575,_0x7f7ba3:0x548,_0x39baec:0x56e,_0x10e72f:0x4f8,_0x1c3f52:0x5b4,_0x20f746:0x573,_0xe09ec8:0x496,_0x566c89:0x473,_0x32db5c:0x4b3,_0x5531bf:0x407,_0x3a7202:0x483,_0x40b219:0x396,_0x443ff1:0x3c0,_0x1dc35e:0x395,_0x4d9f79:0x5d0,_0x45220a:0x5fd,_0x130f6c:0x44f,_0x17a090:0x40d,_0xcbd21e:0x414,_0x408f4:0x453,_0x2713be:0x50a,_0x2383df:0x488,_0x146ae3:0x44b,_0x2a6588:0x4b7,_0x2fbebd:0x40d,_0x51093f:0x42e,_0x26721d:0x43e,_0x1a3f35:0x491,_0x9a9706:0x461},_0x2bb1f2={_0x100ad8:0x68},_0x298b73={_0xddc123:0x1b3,_0x5397f2:0x1f1};function _0x2a7469(_0xef6e85,_0x588f78,_0x44d834,_0x4406ea){return _0x4652bc(_0xef6e85-_0x298b73._0xddc123,_0x588f78-_0x298b73._0x5397f2,_0x588f78,_0xef6e85-0x544);}const _0x258aae={'vZSGD':_0x22984f(0x503,0x58c,_0x2ba270._0x21a1f0,0x59f)+_0x22984f(0x5f7,0x574,0x549,_0x2ba270._0x12acc9),'QUkMr':function(_0x44042b){return _0x44042b();},'OIqIY':function(_0x313edf,_0x10d22b){return _0x313edf(_0x10d22b);},'bubQy':'cover','jtQKF':_0x22984f(_0x2ba270._0x4033a3,_0x2ba270._0x276445,0x4a2,0x571),'hQTth':function(_0x5a7698,_0x11428b,_0x494623){return _0x5a7698(_0x11428b,_0x494623);},'cMPOC':_0x2a7469(_0x2ba270._0x1627ba,_0x2ba270._0xc8fc2,_0x2ba270._0x1ccc47,_0x2ba270._0x42f02f)+'oaded','tquZv':_0x2a7469(0x491,0x516,0x470,0x510)+'upload\x20ava'+_0x22984f(_0x2ba270._0x343bd1,_0x2ba270._0x34c183,_0x2ba270._0x2e190f,0x4f9)};if(!_0x58c969[_0x22984f(0x477,_0x2ba270._0x592df1,_0x2ba270._0x287d8e,_0x2ba270._0x522a15)]){const _0x71f1b8={};return _0x71f1b8[_0x22984f(0x4df,0x4e1,_0x2ba270._0x1adf99,_0x2ba270._0xb17dc8)]=_0x258aae[_0x2a7469(0x497,_0x2ba270._0x677b0d,_0x2ba270._0x41dc11,0x506)],_0x9e7ab2[_0x2a7469(_0x2ba270._0x13e62b,_0x2ba270._0x347245,0x441,_0x2ba270._0x32b7b0)](0x232b+0x23d*-0x6+0x142d*-0x1)[_0x2a7469(0x44b,_0x2ba270._0x1746e1,0x3c8,0x4db)](_0x71f1b8);}function _0x22984f(_0x327c35,_0x4fe37c,_0x554547,_0xc200c8){return _0x1cacf8(_0xc200c8,_0x4fe37c-0x3e4,_0x554547-_0x2bb1f2._0x100ad8,_0xc200c8-0x14d);}try{await _0x258aae[_0x22984f(0x4cb,0x4e7,0x562,0x4af)](ensureAvatarsDir);const _0x143bc8='avatar-'+_0x58c969[_0x22984f(0x58a,0x557,0x5ac,0x5ba)]['id']+'-'+Date[_0x2a7469(0x420,0x406,_0x2ba270._0x451833,_0x2ba270._0xe19bf3)]()+'.png',_0x58843c=_0x4d815a[_0x22984f(_0x2ba270._0x332c7,0x556,0x549,0x59d)](AVATARS_DIR,_0x143bc8),_0x4bfb2a={};_0x4bfb2a[_0x2a7469(_0x2ba270._0x4dd7f5,0x45a,_0x2ba270._0x3a21fa,0x4da)]=0x5a,await _0x258aae['OIqIY'](_0x1f6ebf,_0x58c969[_0x22984f(_0x2ba270._0x1ed579,_0x2ba270._0x592df1,_0x2ba270._0x1beec6,_0x2ba270._0x178ad9)][_0x2a7469(0x417,_0x2ba270._0x3623d6,_0x2ba270._0x252a31,_0x2ba270._0x501b78)])[_0x2a7469(0x424,_0x2ba270._0x4ad28f,_0x2ba270._0x42175f,0x419)](AVATAR_SIZE,AVATAR_SIZE,{'fit':_0x258aae[_0x22984f(_0x2ba270._0x4033a3,0x4e0,_0x2ba270._0xf9bdf9,_0x2ba270._0x567939)],'position':_0x258aae[_0x22984f(_0x2ba270._0x36c2c3,0x504,_0x2ba270._0x1cbd80,_0x2ba270._0x18bd7b)]})[_0x2a7469(_0x2ba270._0x24a30f,_0x2ba270._0x1648a7,0x4a1,_0x2ba270._0x38d899)](_0x4bfb2a)[_0x22984f(_0x2ba270._0x575b6f,_0x2ba270._0x5a0709,0x476,_0x2ba270._0x2690ab)](_0x58843c);const _0x2b3238=await findUserById(_0x58c969[_0x22984f(_0x2ba270._0x4d6fa3,_0x2ba270._0x54dab2,0x5bf,0x5e1)]['id']);if(_0x2b3238[_0x2a7469(_0x2ba270._0x13ae5a,0x4f2,_0x2ba270._0x27b441,0x41c)]){const _0x1c1881=_0x4d815a[_0x22984f(0x4e1,_0x2ba270._0x232793,0x555,_0x2ba270._0x47c072)](AVATARS_DIR,_0x2b3238[_0x22984f(_0x2ba270._0x7f7ba3,_0x2ba270._0x39baec,0x5e5,0x514)]);try{await _0x1bedbd[_0x2a7469(0x3fc,0x3f3,0x3d3,0x41e)](_0x1c1881);}catch(_0xa8d195){}}const _0x144b59={};_0x144b59[_0x22984f(_0x2ba270._0x10e72f,0x56e,_0x2ba270._0x1c3f52,0x4f3)]=_0x143bc8,await _0x258aae[_0x22984f(0x614,0x592,0x5e5,_0x2ba270._0x20f746)](updateUser,_0x58c969[_0x2a7469(0x483,_0x2ba270._0xe09ec8,_0x2ba270._0x566c89,_0x2ba270._0x32db5c)]['id'],_0x144b59);const _0xe2381b={};_0xe2381b[_0x2a7469(0x46e,0x3fe,0x45a,0x478)]=_0x58c969[_0x2a7469(0x483,0x4a7,_0x2ba270._0x5531bf,0x4c2)]['id'],_0xe2381b[_0x22984f(0x553,0x4dd,0x4a9,_0x2ba270._0x3a7202)]=_0x143bc8,logger[_0x2a7469(0x404,_0x2ba270._0x40b219,_0x2ba270._0x443ff1,_0x2ba270._0x1dc35e)](_0x258aae[_0x22984f(0x5a5,_0x2ba270._0x4d9f79,0x5ea,_0x2ba270._0x45220a)],_0xe2381b);const _0x38f497={};_0x38f497[_0x2a7469(_0x2ba270._0x13ae5a,0x47b,_0x2ba270._0x130f6c,_0x2ba270._0x17a090)]=_0x143bc8,_0x38f497[_0x2a7469(0x49e,_0x2ba270._0xcbd21e,_0x2ba270._0x408f4,0x52b)]=_0x2a7469(_0x2ba270._0x2713be,0x590,_0x2ba270._0x2383df,0x556)+_0x143bc8,_0x9e7ab2[_0x2a7469(_0x2ba270._0x146ae3,_0x2ba270._0x2a6588,0x432,0x43e)](_0x38f497);}catch(_0x4dd432){logger[_0x2a7469(0x40d,0x44d,0x409,0x381)](_0x258aae['tquZv'],_0x4dd432);const _0x293115={};_0x293115[_0x2a7469(_0x2ba270._0x2fbebd,0x37f,0x48e,_0x2ba270._0x51093f)]='Failed\x20to\x20'+'upload\x20ava'+'tar',_0x9e7ab2[_0x2a7469(0x466,0x4bb,0x45b,_0x2ba270._0x26721d)](0x1a73+0x1d17+-0x3596)[_0x2a7469(0x44b,_0x2ba270._0x1a3f35,_0x2ba270._0x9a9706,0x444)](_0x293115);}});function _0x4652bc(_0x3005ab,_0x4c67b9,_0x31a6dc,_0x394f9c){return _0x1bc5(_0x394f9c- -0x2b6,_0x31a6dc);}router[_0x1cacf8(0x244,0x1ca,0x23c,0x164)](_0x1cacf8(0x136,0x162,0x1a5,0x1a6)+'vatar',requireAuth,async(_0x5ac652,_0x3c32e3)=>{const _0x2e2dc8={_0x41a518:0x3b4,_0x256a35:0x158,_0x204f4c:0x3ff,_0x413540:0x436,_0x3974f5:0x1f9,_0x2f9c66:0x2ac,_0x57e1cf:0x26e,_0x2cc99:0x360,_0x331939:0x2e9,_0x4c0a2d:0x200,_0x146465:0x2f3,_0xe02687:0x37d,_0x5297a5:0x322,_0x3bf346:0x39c,_0x331dfc:0x331,_0x39867a:0xb1,_0x4f76c2:0x119,_0x182213:0x95,_0x35afbe:0x367,_0xb8c70a:0x17b,_0xbe58a4:0x330,_0x2f13c5:0x3ec,_0x407ec2:0x3b9,_0xfe6dea:0x3b9,_0x5b9ce7:0x1a0,_0x2bd4e2:0x187,_0x40361b:0x102,_0x45b8b3:0x16d,_0x343725:0x34f,_0x510682:0x106,_0x468ca8:0x135,_0x410802:0xf3,_0x22731e:0x156,_0x513c6e:0x1f7,_0xb1875c:0x1b3,_0x4230f1:0x1f4,_0x31a432:0x19e,_0x10caf3:0x155,_0x467fa2:0x2d9,_0x554ae4:0x2c5,_0x40c608:0x255,_0x3a8edb:0x161,_0x5b788a:0x3bf,_0x5317fa:0x3dc,_0x1ee0bb:0x36a,_0x15c936:0x2de,_0x371c82:0x3a4,_0xbb024a:0x31c,_0x7e6914:0x36d,_0x65fb73:0x3eb,_0x1fa7de:0x39e,_0x1a4c29:0x34a,_0x557d71:0x114,_0x413ba3:0x148,_0x15cf9a:0x111,_0x4cb55c:0xa3,_0x18db7c:0xe3,_0x139b2d:0x2c8,_0x58c339:0x158,_0x8de0df:0x12b,_0x2deeed:0xe3,_0x3b0b43:0x2aa,_0x1d7db2:0x32a,_0xd56752:0x420,_0x122df2:0x3d1,_0x37c1ef:0x3ac,_0x1d2d8b:0x17d,_0x2c52a2:0x155,_0x57e211:0x107,_0x2b2846:0x250,_0x3e79c4:0x1dd,_0x2f30b0:0x343,_0x493cb1:0x385,_0x4ff689:0x1eb,_0x53e743:0x281,_0x597445:0x356,_0x415222:0x275,_0x2f1a06:0x324,_0x49fa49:0x2d7,_0xbe1830:0x31e,_0x1b9c5f:0x1e9,_0x36c20b:0x19c,_0x4c77a2:0x1c0,_0x11cb77:0x252,_0x29ce83:0x209,_0x309a40:0x38a,_0x183ffa:0x363,_0x26ba7a:0x34b,_0x5850aa:0x373,_0x3a7a1c:0x300,_0x42284f:0x136,_0x35ab2c:0x1b6,_0x457eca:0x1a2,_0x194a8d:0x21a,_0x44c0cd:0x2a6,_0x3a29b6:0x323,_0x17193e:0x37b,_0x3e9540:0x33b,_0x30b178:0x2fe,_0xa9cf2:0x2fc,_0xd635e0:0x346,_0x594723:0x2c2,_0x177fe5:0x149,_0x32319f:0x1c1,_0x56fa18:0x1d2,_0x417adc:0x240,_0x16c114:0x1de,_0x5298ea:0x1b5,_0x371c6e:0x2f2,_0x4fcd2d:0x2a9,_0x399108:0x314,_0x305e86:0x36b,_0x3a5fbb:0x31b,_0x185f98:0x34d},_0x1134e0={_0x1b2e34:0x1c7,_0x477dc6:0x96},_0x131ef0={_0x5c8da6:0x173};function _0x48d1a5(_0x2958c6,_0x23e312,_0x2a47ee,_0x76bea4){return _0x1cacf8(_0x76bea4,_0x2a47ee-0x1c5,_0x2a47ee-0x11f,_0x76bea4-_0x131ef0._0x5c8da6);}function _0x2ebc61(_0x3e795d,_0x3d222a,_0x566c4a,_0x22b349){return _0x4652bc(_0x3e795d-_0x1134e0._0x1b2e34,_0x3d222a-_0x1134e0._0x477dc6,_0x3e795d,_0x3d222a- -0xdd);}const _0x3fdb20={'jJMOL':_0x48d1a5(0x306,_0x2e2dc8._0x41a518,0x346,0x30c)+_0x2ebc61(-0xe0,-0x15a,-_0x2e2dc8._0x256a35,-0x105)+'ssion','eefJb':_0x48d1a5(_0x2e2dc8._0x204f4c,0x36c,0x3c2,_0x2e2dc8._0x413540)+_0x2ebc61(-_0x2e2dc8._0x3974f5,-0x223,-_0x2e2dc8._0x2f9c66,-_0x2e2dc8._0x57e1cf),'uYkMc':_0x48d1a5(0x2a4,_0x2e2dc8._0x2cc99,_0x2e2dc8._0x331939,0x261)+_0x2ebc61(-0x1fe,-_0x2e2dc8._0x4c0a2d,-0x1f7,-0x177),'GEFmD':'coder.sid','MTdhX':_0x48d1a5(0x2d3,0x2f5,_0x2e2dc8._0x146465,0x381)+_0x48d1a5(_0x2e2dc8._0xe02687,0x2a6,_0x2e2dc8._0x5297a5,0x311)+_0x48d1a5(0x410,_0x2e2dc8._0x3bf346,0x394,_0x2e2dc8._0x331dfc),'qdAeR':_0x2ebc61(-_0x2e2dc8._0x39867a,-_0x2e2dc8._0x4f76c2,-_0x2e2dc8._0x182213,-0x183),'RLNMi':function(_0x239e40,_0x20db38,_0x484c16){return _0x239e40(_0x20db38,_0x484c16);},'wLEKS':_0x48d1a5(0x3eb,0x3e3,_0x2e2dc8._0x35afbe,0x363)+'oved','OiaIz':'EpESm','uRIpI':'HxnAP'};try{const _0x2b2a43=await findUserById(_0x5ac652[_0x2ebc61(-0x21f,-0x19e,-0x214,-_0x2e2dc8._0xb8c70a)]['id']);if(_0x2b2a43['avatar']){if(_0x3fdb20[_0x48d1a5(_0x2e2dc8._0xbe58a4,_0x2e2dc8._0x2f13c5,_0x2e2dc8._0x407ec2,0x3b9)]===_0x3fdb20[_0x48d1a5(0x3a6,0x36b,_0x2e2dc8._0xfe6dea,0x42b)]){const _0x4383e=_0x4d815a['join'](AVATARS_DIR,_0x2b2a43[_0x2ebc61(-_0x2e2dc8._0x5b9ce7,-_0x2e2dc8._0x2bd4e2,-_0x2e2dc8._0x40361b,-_0x2e2dc8._0x45b8b3)]);try{await _0x1bedbd['unlink'](_0x4383e);}catch(_0x4bee4e){}const _0x1f90f2={};_0x1f90f2[_0x48d1a5(0x322,0x31a,_0x2e2dc8._0x343725,0x38c)]=null,await _0x3fdb20[_0x2ebc61(-_0x2e2dc8._0x510682,-_0x2e2dc8._0x468ca8,-_0x2e2dc8._0x410802,-_0x2e2dc8._0x22731e)](updateUser,_0x5ac652['user']['id'],_0x1f90f2);const _0x1725b3={};_0x1725b3[_0x2ebc61(-_0x2e2dc8._0x513c6e,-_0x2e2dc8._0xb1875c,-0x142,-0x176)]=_0x5ac652[_0x2ebc61(-_0x2e2dc8._0x4230f1,-_0x2e2dc8._0x31a432,-_0x2e2dc8._0x10caf3,-0x150)]['id'],logger[_0x48d1a5(_0x2e2dc8._0x467fa2,_0x2e2dc8._0x554ae4,0x2b9,_0x2e2dc8._0x40c608)](_0x3fdb20['wLEKS'],_0x1725b3);}else{const _0x13f9c7={};_0x13f9c7['id']=_0x306ae0[_0x2ebc61(-_0x2e2dc8._0x3a8edb,-_0x2e2dc8._0x31a432,-0x1d8,-0x1bc)]['id'],_0x13f9c7[_0x48d1a5(_0x2e2dc8._0x5b788a,_0x2e2dc8._0x5317fa,_0x2e2dc8._0x1ee0bb,0x388)]=_0x485cf6[_0x48d1a5(_0x2e2dc8._0x15c936,_0x2e2dc8._0x371c82,0x338,0x331)][_0x48d1a5(_0x2e2dc8._0xbb024a,_0x2e2dc8._0x7e6914,0x36a,_0x2e2dc8._0x65fb73)],_0x13f9c7[_0x48d1a5(0x35a,_0x2e2dc8._0x1fa7de,_0x2e2dc8._0x1a4c29,0x325)]=_0x90ba52['user']['email'],_0x13f9c7[_0x48d1a5(0x3fc,0x40c,0x3a2,0x40a)]=_0x300660[_0x2ebc61(-0x212,-0x19e,-0x209,-0x16a)][_0x2ebc61(-_0x2e2dc8._0x557d71,-0x134,-_0x2e2dc8._0x413ba3,-_0x2e2dc8._0x15cf9a)],_0x13f9c7[_0x2ebc61(-_0x2e2dc8._0x4cb55c,-0x12b,-_0x2e2dc8._0x18db7c,-0x116)+_0x48d1a5(0x2f9,_0x2e2dc8._0x139b2d,0x2c3,0x261)]=_0x55b633['user'][_0x2ebc61(-_0x2e2dc8._0x58c339,-_0x2e2dc8._0x8de0df,-_0x2e2dc8._0x2deeed,-0xce)+_0x48d1a5(_0x2e2dc8._0x3b0b43,_0x2e2dc8._0x1d7db2,0x2c3,0x2ec)]||![],_0x13f9c7['hasEnviron'+_0x48d1a5(_0x2e2dc8._0xd56752,_0x2e2dc8._0x122df2,_0x2e2dc8._0x37c1ef,0x339)]=![],_0x13f9c7[_0x2ebc61(-0x1db,-0x1dd,-_0x2e2dc8._0x1d2d8b,-0x18e)+_0x2ebc61(-0x148,-_0x2e2dc8._0x2c52a2,-_0x2e2dc8._0x57e211,-0x1cb)+'r']=![],_0x13f9c7[_0x2ebc61(-_0x2e2dc8._0x2b2846,-_0x2e2dc8._0x3e79c4,-0x258,-0x1a7)+_0x2ebc61(-_0x2e2dc8._0x557d71,-0x1a3,-0x1b4,-0x118)]=![],_0x13f9c7[_0x48d1a5(0x3cc,_0x2e2dc8._0x2f30b0,_0x2e2dc8._0x493cb1,0x329)+_0x2ebc61(-0x16b,-_0x2e2dc8._0x4ff689,-0x1d0,-0x1d2)]=![],_0x13f9c7[_0x48d1a5(_0x2e2dc8._0x53e743,_0x2e2dc8._0x597445,0x2f9,_0x2e2dc8._0x2cc99)+'mentBindin'+'gs']=![],_0x13f9c7[_0x48d1a5(_0x2e2dc8._0x415222,_0x2e2dc8._0x2f1a06,_0x2e2dc8._0x49fa49,_0x2e2dc8._0xbe1830)+'me']=_0x2623f5[_0x2ebc61(-_0x2e2dc8._0x1b9c5f,-_0x2e2dc8._0x31a432,-0x1c6,-_0x2e2dc8._0x36c20b)][_0x2ebc61(-_0x2e2dc8._0x4c77a2,-0x1ff,-_0x2e2dc8._0x11cb77,-_0x2e2dc8._0x29ce83)+'me'],_0x13f9c7['avatar']=null,_0x13f9c7[_0x48d1a5(0x3b6,0x443,0x3b5,_0x2e2dc8._0x309a40)+'s']={};const _0xa88042={};_0xa88042[_0x48d1a5(0x3b0,_0x2e2dc8._0x183ffa,0x338,0x30b)]=_0x13f9c7,_0x4ff4eb[_0x48d1a5(_0x2e2dc8._0x26ba7a,_0x2e2dc8._0x5850aa,_0x2e2dc8._0x3a7a1c,0x36d)](_0xa88042);}}const _0x550746={};_0x550746[_0x2ebc61(-0xae,-_0x2e2dc8._0x42284f,-_0x2e2dc8._0x35ab2c,-0x19e)]=_0x48d1a5(0x3ae,0x30f,_0x2e2dc8._0x35afbe,_0x2e2dc8._0x2f13c5)+_0x2ebc61(-0x1f8,-_0x2e2dc8._0x457eca,-0x139,-0x1a7),_0x3c32e3[_0x2ebc61(-_0x2e2dc8._0x194a8d,-0x1d6,-0x1d0,-0x24c)](_0x550746);}catch(_0x1c4cbd){if(_0x3fdb20[_0x48d1a5(0x2f9,0x2c0,_0x2e2dc8._0x44c0cd,0x280)]===_0x3fdb20[_0x2ebc61(-0x22c,-0x1f4,-0x188,-0x1a6)]){const _0x2deb08={_0x19a9a3:0x410,_0x101d65:0x422,_0x463f20:0x338,_0x4adb22:0x358,_0x3f62a1:0x30c,_0xc8ae7e:0x2f9,_0x8afaf3:0x4cf,_0x27baf1:0x43f,_0x4b7c34:0x3ac,_0x25b415:0x35c,_0x4ebcd0:0x3ea,_0x1e69a9:0x33e,_0x2952e2:0x2f8,_0x26c2ba:0x37d,_0x2c7947:0x4d9,_0x33678e:0x4a6,_0x38249b:0x3b4,_0x38f0fb:0x3a6,_0x3d5ea6:0x387,_0x28fbde:0x303,_0x27ae83:0x2bd,_0x335c13:0x306,_0x46d56c:0x38a,_0x18526c:0x328,_0x266619:0x5c3,_0x508f8d:0x4e9,_0x1cd426:0x51b,_0x3707dd:0x58a,_0x470efe:0x55e,_0x56cc1a:0x4b4,_0x1ec1de:0x4be},_0x3cf6a3={_0x153b0b:0x520,_0x2bd01e:0x147},_0x456837=_0x233088['session']?.[_0x48d1a5(0x2f6,0x37c,_0x2e2dc8._0x3a29b6,0x33d)],_0x41fc3c=_0x2da579[_0x48d1a5(0x2cc,_0x2e2dc8._0x17193e,_0x2e2dc8._0x3e9540,_0x2e2dc8._0x30b178)]?.[_0x2ebc61(-0x1bb,-0x16c,-0x1e2,-0xdf)];_0x234bc1['session']['destroy'](_0x26263e=>{const _0x3f5ea5={_0x47091d:0x119,_0x2b3b39:0x91};if(_0x26263e){const _0x4fdfcf={};_0x4fdfcf['userId']=_0x456837,_0x4fdfcf[_0x2f8314(_0x2deb08._0x19a9a3,_0x2deb08._0x101d65,0x3b4,_0x2deb08._0x463f20)]=_0x41fc3c,_0x4e54fc[_0x2f8314(_0x2deb08._0x4adb22,0x333,_0x2deb08._0x3f62a1,0x27d)](_0x3fdb20[_0x2f8314(_0x2deb08._0xc8ae7e,0x32a,0x311,0x339)],_0x26263e,_0x4fdfcf);const _0x2b7872={};return _0x2b7872[_0x1cd31e(_0x2deb08._0x8afaf3,0x43e,_0x2deb08._0x27baf1,0x480)]=_0x3fdb20[_0x2f8314(0x395,0x3aa,0x354,_0x2deb08._0x4b7c34)],_0x2b7872[_0x2f8314(_0x2deb08._0x25b415,0x367,_0x2deb08._0x4ebcd0,0x3e4)]=_0x3fdb20[_0x2f8314(_0x2deb08._0x1e69a9,_0x2deb08._0x2952e2,0x311,_0x2deb08._0x26c2ba)],_0x2cd8c1[_0x1cd31e(0x535,0x511,0x4ef,_0x2deb08._0x2c7947)](0xb3f*-0x1+-0x1701+0x1c*0x14b)['json'](_0x2b7872);}const _0x1bc3d1={};_0x1bc3d1[_0x1cd31e(0x53e,_0x2deb08._0x33678e,0x47e,0x4e1)]=_0x456837,_0x1bc3d1[_0x2f8314(0x3ca,0x384,_0x2deb08._0x38249b,_0x2deb08._0x38f0fb)]=_0x41fc3c;function _0x2f8314(_0x51b4ee,_0x2b68a6,_0x10ae89,_0x1bc0f0){return _0x2ebc61(_0x2b68a6,_0x10ae89-_0x3cf6a3._0x153b0b,_0x10ae89-_0x3cf6a3._0x2bd01e,_0x1bc0f0-0x13f);}_0x4869a9[_0x2f8314(_0x2deb08._0x3d5ea6,0x2fe,_0x2deb08._0x28fbde,_0x2deb08._0x27ae83)](_0x3fdb20[_0x2f8314(_0x2deb08._0x335c13,_0x2deb08._0x46d56c,_0x2deb08._0x18526c,0x399)],_0x1bc3d1),_0x1fa6a5[_0x1cd31e(_0x2deb08._0x266619,_0x2deb08._0x508f8d,0x5d7,0x557)+'e'](_0x3fdb20['GEFmD']);const _0x46266d={};function _0x1cd31e(_0x37ee2e,_0x2b3166,_0xa844eb,_0x821708){return _0x2ebc61(_0xa844eb,_0x821708-0x694,_0xa844eb-_0x3f5ea5._0x47091d,_0x821708-_0x3f5ea5._0x2b3b39);}_0x46266d[_0x1cd31e(0x5a2,_0x2deb08._0x1cd426,_0x2deb08._0x3707dd,_0x2deb08._0x470efe)]=_0x3fdb20[_0x2f8314(0x368,0x352,0x376,0x33e)],_0x2035f4[_0x1cd31e(_0x2deb08._0x56cc1a,0x4cd,0x455,_0x2deb08._0x1ec1de)](_0x46266d);});}else{logger[_0x48d1a5(_0x2e2dc8._0xa9cf2,_0x2e2dc8._0xd635e0,_0x2e2dc8._0x594723,0x296)](_0x2ebc61(-_0x2e2dc8._0x177fe5,-0x190,-_0x2e2dc8._0x32319f,-0x133)+_0x2ebc61(-0x19e,-0x203,-_0x2e2dc8._0x56fa18,-_0x2e2dc8._0x417adc)+'tar',_0x1c4cbd);const _0x4ae320={};_0x4ae320['error']=_0x2ebc61(-_0x2e2dc8._0x16c114,-0x190,-0x1c2,-_0x2e2dc8._0x5298ea)+'remove\x20ava'+_0x48d1a5(0x31e,_0x2e2dc8._0x371c6e,_0x2e2dc8._0x4fcd2d,_0x2e2dc8._0x399108),_0x3c32e3[_0x48d1a5(_0x2e2dc8._0x305e86,0x34d,_0x2e2dc8._0x3a5fbb,_0x2e2dc8._0x185f98)](0x1*0x859+-0x14f7*0x1+0xe92)['json'](_0x4ae320);}}}),router[_0x4652bc(-0x33,-0x82,-0x93,-0x36)](_0x4652bc(-0x147,-0xea,-0x11b,-0xd2)+_0x4652bc(-0x104,-0xb3,-0x15d,-0xdc),requireAuth,async(_0x4105ac,_0x42d62c)=>{const _0x40f87f={_0x464276:0x96,_0x338cfb:0xa4,_0xeec3cc:0xd3,_0x289698:0x152,_0x48170f:0xc6,_0x4999c9:0x42,_0x2204db:0x14,_0x9329aa:0x19,_0x181719:0x62,_0xcf73c0:0x57,_0x47ab0d:0x8,_0x48ca05:0x8a,_0x5b4794:0x64,_0x3c286a:0x16,_0x4f4013:0x127,_0x579a64:0x11f,_0x2334f6:0x28,_0x2fef45:0xc,_0x3ec7c6:0x13a,_0xc5d22:0xba,_0x18928c:0xbf,_0x325b8a:0x3e,_0x46deb7:0x2a,_0x809cc2:0x7a,_0x3ddd16:0x17f,_0x25e37f:0x108,_0x391348:0x15c,_0x3ba156:0x2b,_0x1e7b95:0x58,_0x3c8aeb:0x6,_0xb156cd:0x42,_0x3bdba7:0x21a,_0x40cd32:0x1da,_0x12e478:0x1a4,_0x325f10:0x4a,_0x155f1d:0xe7,_0x31fb06:0x130,_0x4c684b:0x168,_0x2727f8:0x245,_0x88c812:0x160,_0x540922:0x1a5,_0x39f540:0x1d8,_0x49bb6c:0x220,_0x33403d:0x238,_0x303a3f:0x1d8,_0x2e93f9:0xb8,_0x2fd2de:0x95,_0x3eb4bd:0xf7,_0x30334f:0xc6,_0x4731d8:0x182,_0x5e2873:0xb0,_0x301b58:0x12b,_0x31284c:0x1e6,_0x4a0732:0x208,_0xc1082d:0xb4,_0x15aa7f:0x1fe,_0x567a6c:0x17b,_0x407574:0x19e,_0x268e69:0x21,_0x281414:0x13e,_0x3bcac2:0xe2,_0xc8ac2f:0x129,_0x57ce5:0xc1,_0x5ddce3:0x84,_0x3ae300:0xc5,_0x634d5a:0x229,_0x165042:0x1cc,_0x4d8dd9:0x16e,_0x3e629e:0xc6,_0x415903:0xa8,_0x3bcf2a:0x144,_0x17b977:0x25,_0x99920c:0x6c,_0x33b535:0x2f,_0x541f72:0x9,_0x2b7811:0x263,_0x3e2471:0xe6,_0x227b27:0x124,_0x5d9ebd:0x128,_0x159e9e:0xb1,_0x3da38f:0xaf,_0x3d2677:0x151,_0x239c30:0x1ca,_0x5ad2f6:0x1d4,_0x3ede2b:0x103,_0x1ea8e0:0xe3,_0x181552:0x135,_0x455ea1:0x1b5,_0x19f638:0x129,_0x18b519:0x18,_0xa3aaa4:0x1a9,_0x4cc3dc:0xea,_0xe4beac:0x1c1,_0x4786ba:0x1b9,_0x3698ee:0x1cf,_0x14c411:0xee,_0x3e2f04:0xde,_0x4ff8e4:0x2c,_0x32f1a7:0x57,_0x3889ba:0xad,_0x533890:0x161,_0x46bc31:0x5b,_0x156635:0x2d,_0x47f5fc:0x154,_0x462087:0x240,_0x1e22ad:0xad,_0x19a7a1:0x70,_0x139065:0x49,_0x179841:0x83,_0x265e29:0x19,_0x49fe69:0x32,_0x315b49:0x3c,_0x134452:0xee,_0x457b4a:0x9a,_0x2f6a67:0xd5,_0x52ce64:0x94,_0x23b2f8:0x4b,_0x26ca32:0x13d,_0x93783:0x1de,_0x17b101:0x17a,_0x536165:0x58,_0xf29c17:0x27,_0xadadce:0x8e,_0x2e6440:0x95,_0x116b6c:0xcb,_0x542323:0x8b,_0x4d4bb8:0x13f,_0x4fdb9b:0x116,_0x5afbfe:0xf1,_0x1d7c57:0x15a,_0x5e3f0f:0x1bb,_0x4cae8e:0xfd,_0x436b71:0x15a,_0x26a08a:0x1fb,_0x3f0628:0xb2,_0x5015f3:0x24,_0x2860ca:0x23d,_0x396b60:0x2a,_0x54a8f2:0x15b,_0x5806fc:0xa9,_0x3ffd1d:0x30,_0x48888a:0x48,_0x1242fa:0x93,_0x513809:0x8f,_0x2f2162:0x111,_0x489ef0:0x1f8,_0x549f55:0x186,_0x5d74a3:0x5a,_0x508920:0x170,_0x3c8579:0x1e8,_0x1813b7:0x86,_0x66a33c:0xf,_0x45d7a6:0x2c,_0x468b17:0x126,_0x273364:0xd4,_0x43e276:0x131,_0x5f104e:0x6,_0x311a75:0xf3,_0x5c578c:0x15c,_0x31f3f1:0x179,_0xe11a6f:0x1f2,_0x248e3e:0xef,_0x5ea838:0x1b0,_0x48e129:0x24b,_0x2629b1:0x1c0,_0x33344b:0x5e},_0x1f20b2={_0x2ca467:0x1d7,_0x281c49:0x1c2,_0x51ea69:0x10b},_0x2f19b4={_0x4c37b8:0x6b,_0x38983c:0x215};function _0x42c288(_0x1835ba,_0x2b7e49,_0x3ed352,_0x1dab2b){return _0x4652bc(_0x1835ba-_0x2f19b4._0x4c37b8,_0x2b7e49-0x41,_0x1835ba,_0x1dab2b-_0x2f19b4._0x38983c);}const _0x4d5cb0={'PRLaM':'Failed\x20to\x20'+_0x42c288(0x11d,_0x40f87f._0x464276,_0x40f87f._0x338cfb,_0x40f87f._0xeec3cc)+_0x42c288(_0x40f87f._0x289698,_0x40f87f._0x289698,0x73,_0x40f87f._0x48170f),'dCrbB':_0x42c288(0x185,0x14c,0x14d,0x162)+_0xe75185(_0x40f87f._0x4999c9,_0x40f87f._0x2204db,0x3a,0x8e)+_0xe75185(_0x40f87f._0x9329aa,_0x40f87f._0x181719,_0x40f87f._0xcf73c0,-_0x40f87f._0x47ab0d),'PmrMU':function(_0x3c33fa,_0x3cde04){return _0x3c33fa(_0x3cde04);},'qPmfx':_0xe75185(-0x71,_0x40f87f._0x48ca05,-_0x40f87f._0x5b4794,_0x40f87f._0x3c286a),'JxCZd':function(_0x15564e,_0x2d5cc7,_0xb70f7){return _0x15564e(_0x2d5cc7,_0xb70f7);},'VIoAp':'user','oFXVg':function(_0x19d36f,_0xf636e){return _0x19d36f(_0xf636e);},'QtKMd':function(_0x17e15a,_0x562c83){return _0x17e15a>_0x562c83;},'YXdPt':function(_0x487684,_0x26e927){return _0x487684!==_0x26e927;},'rsrxL':_0x42c288(_0x40f87f._0x4f4013,_0x40f87f._0x579a64,0x1d0,0x16c),'vyZus':_0xe75185(_0x40f87f._0x2334f6,0xa4,_0x40f87f._0x2fef45,0x50),'NdqKW':function(_0x32ff5e,_0x25c203,_0x48bd73){return _0x32ff5e(_0x25c203,_0x48bd73);},'tSjFV':_0x42c288(_0x40f87f._0x3ec7c6,0x12b,0xf7,0xe7),'gNeWy':function(_0x23e770,_0xecd2ea){return _0x23e770>_0xecd2ea;},'UlHas':function(_0x1040c8,_0xe0de47){return _0x1040c8===_0xe0de47;},'nKLxl':_0xe75185(0x34,_0x40f87f._0xc5d22,_0x40f87f._0x18928c,0x58)+_0xe75185(0xef,_0x40f87f._0x325b8a,_0x40f87f._0x46deb7,_0x40f87f._0x809cc2)+_0x42c288(_0x40f87f._0x3ddd16,_0x40f87f._0x4f4013,_0x40f87f._0x25e37f,_0x40f87f._0x391348)+_0x42c288(0x104,0x1a7,0x14e,0x12b),'Fjkxw':_0xe75185(0x3c,0xdb,-_0x40f87f._0x3ba156,_0x40f87f._0x1e7b95)+_0xe75185(-0x40,-0x11,_0x40f87f._0x3c8aeb,-_0x40f87f._0xb156cd)+_0x42c288(0x18d,_0x40f87f._0x3bdba7,_0x40f87f._0x40cd32,_0x40f87f._0x12e478)};function _0xe75185(_0x5be1f1,_0x110cc4,_0x4283f1,_0x2c2dd5){return _0x4652bc(_0x5be1f1-_0x1f20b2._0x2ca467,_0x110cc4-_0x1f20b2._0x281c49,_0x5be1f1,_0x2c2dd5-_0x1f20b2._0x51ea69);}try{const _0x31a567=_0x4105ac[_0xe75185(0x58,-0xf,0x48,_0x40f87f._0x325f10)]['id'],_0x2c3bbc=await _0x4d5cb0['PmrMU'](getTeamsByUserId,_0x31a567),_0x1f39ba=await _0x4d5cb0['PmrMU'](getTeamsManagedBy,_0x31a567),_0x28251a=new Set(_0x1f39ba[_0x42c288(0x149,_0x40f87f._0x155f1d,_0x40f87f._0x31fb06,0x167)](_0x2579e1=>_0x2579e1['id'])),_0x56587f=_0x2c3bbc[_0x42c288(0x1a5,_0x40f87f._0x4c684b,0x19f,0x167)](_0x128737=>({'id':_0x128737['id'],'name':_0x128737[_0xe75185(0x25,0xa3,0xc3,0xb4)],'isManager':_0x28251a[_0x42c288(0xd4,0xc4,0x13a,0xe1)](_0x128737['id'])}));for(const _0x1044f1 of _0x1f39ba){if(_0x4d5cb0[_0x42c288(_0x40f87f._0x2727f8,_0x40f87f._0x88c812,_0x40f87f._0x540922,_0x40f87f._0x39f540)]!==_0x4d5cb0[_0x42c288(_0x40f87f._0x49bb6c,_0x40f87f._0x33403d,0x214,_0x40f87f._0x303a3f)])_0x1bc639(new _0x4d45f7(_0x42c288(_0x40f87f._0x2e93f9,0x92,_0x40f87f._0x2fd2de,_0x40f87f._0x3eb4bd)+_0x42c288(0x11a,_0x40f87f._0x30334f,_0x40f87f._0x4731d8,0x11f)+'nly\x20JPEG,\x20'+'PNG,\x20GIF,\x20'+_0xe75185(_0x40f87f._0x5e2873,_0x40f87f._0x301b58,0xa8,0xba)+'re\x20allowed'+'.'));else{if(!_0x2c3bbc[_0x42c288(_0x40f87f._0x31284c,_0x40f87f._0x4a0732,0x14c,0x1c9)](_0x84d126=>_0x84d126['id']===_0x1044f1['id'])){const _0x4d0b64={};_0x4d0b64['id']=_0x1044f1['id'],_0x4d0b64['name']=_0x1044f1[_0xe75185(0x63,_0x40f87f._0x5b4794,0xea,_0x40f87f._0xc1082d)],_0x4d0b64[_0x42c288(_0x40f87f._0x15aa7f,_0x40f87f._0x567a6c,0x1d9,_0x40f87f._0x407574)]=!![],_0x56587f[_0xe75185(_0x40f87f._0x268e69,0x21,0x46,-0x6)](_0x4d0b64);}}}const _0x34c28d=new Map(),_0x2a6564=await _0x4d5cb0[_0x42c288(0x140,_0x40f87f._0x281414,_0x40f87f._0x3bcac2,_0x40f87f._0xc8ac2f)](getBindingsBySubject,_0x4d5cb0[_0xe75185(_0x40f87f._0x57ce5,_0x40f87f._0x5ddce3,0xb2,_0x40f87f._0x3ae300)],_0x31a567);for(const _0x250ce9 of _0x2a6564){const _0x379aad=await _0x4d5cb0[_0x42c288(0x230,_0x40f87f._0x634d5a,0x20e,_0x40f87f._0x165042)](getRoleById,_0x250ce9[_0x42c288(_0x40f87f._0x4d8dd9,_0x40f87f._0x3e629e,_0x40f87f._0x415903,0x113)]),_0x336e27=_0x379aad?_0x379aad[_0xe75185(0xde,_0x40f87f._0x3bcf2a,0x6a,0xb4)]:_0x250ce9[_0xe75185(_0x40f87f._0x17b977,_0x40f87f._0x99920c,-_0x40f87f._0x33b535,_0x40f87f._0x541f72)],_0x81d259=_0x379aad?_0x379aad[_0x42c288(0x258,_0x40f87f._0x2b7811,0x241,0x1da)+'s'][_0x42c288(0xf9,_0x40f87f._0x3e2471,_0x40f87f._0x227b27,0x16d)]:0x32d+0x24b3+-0x27e0,_0x151485=_0x34c28d[_0xe75185(_0x40f87f._0x5d9ebd,_0x40f87f._0x159e9e,0x5e,0xd5)](_0x250ce9[_0xe75185(0xe2,0x2c,0x3c,_0x40f87f._0x3da38f)+'t']);if(!_0x151485||_0x4d5cb0[_0x42c288(_0x40f87f._0x3d2677,0x183,_0x40f87f._0x239c30,_0x40f87f._0x5ad2f6)](_0x81d259,_0x151485['rolePermCo'+_0x42c288(_0x40f87f._0x3ede2b,0x12a,_0x40f87f._0x1ea8e0,_0x40f87f._0x181552)])){if(_0x4d5cb0[_0x42c288(0x15c,_0x40f87f._0x455ea1,_0x40f87f._0x19f638,0x152)](_0x4d5cb0[_0xe75185(0x2d,-0x4f,-0x23,_0x40f87f._0x18b519)],'lpkPF'))_0x34c28d[_0x42c288(_0x40f87f._0xa3aaa4,0xee,_0x40f87f._0x4cc3dc,0x11a)](_0x250ce9[_0x42c288(_0x40f87f._0xe4beac,0x163,0x1bd,_0x40f87f._0x4786ba)+'t'],{'name':_0x250ce9[_0x42c288(0x192,_0x40f87f._0x3698ee,0x15e,_0x40f87f._0x4786ba)+'t'],'roleName':_0x336e27,'rolePermCount':_0x81d259,'via':_0x4d5cb0['vyZus']});else{_0x2e484c[_0x42c288(0xfc,_0x40f87f._0x14c411,0x8a,_0x40f87f._0x3e2f04)](_0x4d5cb0[_0xe75185(-_0x40f87f._0x4ff8e4,-0x34,0x76,_0x40f87f._0x32f1a7)],_0x193bd1);const _0x58465d={};_0x58465d[_0x42c288(_0x40f87f._0x25e37f,_0x40f87f._0x3889ba,_0x40f87f._0x533890,0xde)]=_0x4d5cb0['PRLaM'],_0x145207[_0xe75185(_0x40f87f._0x46bc31,-0x3c,-_0x40f87f._0x3ba156,_0x40f87f._0x156635)](-0x61*-0xa+-0x14c8+0x12f2)['json'](_0x58465d);}}}for(const _0x7159c6 of _0x2c3bbc){const _0x257d01=await _0x4d5cb0[_0x42c288(_0x40f87f._0x47f5fc,_0x40f87f._0x462087,0x26a,0x1dc)](getBindingsBySubject,_0x4d5cb0[_0xe75185(-0x4d,-0xac,-_0x40f87f._0x1e22ad,-0x38)],_0x7159c6['id']);for(const _0x58bb77 of _0x257d01){const _0x3b2916=await getRoleById(_0x58bb77[_0xe75185(_0x40f87f._0x19a7a1,0x43,0xc,_0x40f87f._0x541f72)]),_0x2ba79d=_0x3b2916?_0x3b2916[_0xe75185(0x91,0x10b,_0x40f87f._0x139065,0xb4)]:_0x58bb77[_0xe75185(_0x40f87f._0x179841,-0xd,0x6,_0x40f87f._0x541f72)],_0x5ed6b6=_0x3b2916?_0x3b2916['permission'+'s']['length']:-0x2f1+-0x2228+0x1*0x2519,_0x5a0a5b=_0xe75185(-_0x40f87f._0x265e29,0x38,_0x40f87f._0x49fe69,-_0x40f87f._0x315b49)+_0x7159c6['name'],_0x2e18da=_0x34c28d[_0xe75185(_0x40f87f._0x134452,_0x40f87f._0x457b4a,0x13f,_0x40f87f._0x2f6a67)](_0x58bb77[_0xe75185(_0x40f87f._0x52ce64,_0x40f87f._0x23b2f8,0x9a,0xaf)+'t']);(!_0x2e18da||_0x4d5cb0['gNeWy'](_0x5ed6b6,_0x2e18da[_0x42c288(0x122,_0x40f87f._0x26ca32,_0x40f87f._0x93783,0x180)+_0x42c288(_0x40f87f._0x17b101,0x19b,0x186,_0x40f87f._0x181552)]))&&_0x34c28d[_0xe75185(-_0x40f87f._0x536165,-_0x40f87f._0xf29c17,_0x40f87f._0xadadce,0x10)](_0x58bb77[_0xe75185(_0x40f87f._0x2e6440,_0x40f87f._0x116b6c,_0x40f87f._0x542323,_0x40f87f._0x3da38f)+'t'],{'name':_0x58bb77[_0x42c288(_0x40f87f._0x4c684b,0x220,0x222,0x1b9)+'t'],'roleName':_0x2ba79d,'rolePermCount':_0x5ed6b6,'via':_0x4d5cb0['UlHas'](_0x2e18da?.[_0x42c288(_0x40f87f._0x4d4bb8,_0x40f87f._0x31284c,0x184,0x16a)],_0x42c288(_0x40f87f._0x4fdb9b,_0x40f87f._0x5afbfe,0x1dc,_0x40f87f._0x1d7c57))?_0x42c288(0xe0,_0x40f87f._0x5e3f0f,_0x40f87f._0x4cae8e,_0x40f87f._0x436b71):_0x5a0a5b});}}const _0x4059f7=[..._0x34c28d[_0x42c288(0x248,0x1df,_0x40f87f._0x26a08a,0x1d3)]()][_0xe75185(_0x40f87f._0x3f0628,0x84,-_0x40f87f._0x5015f3,0x5d)](({rolePermCount:_0x2038fd,..._0x4b4bb5})=>_0x4b4bb5),_0x24e40b={};_0x24e40b[_0x42c288(_0x40f87f._0x2860ca,0x1d0,0x16e,0x1b1)]=_0x56587f,_0x24e40b[_0xe75185(_0x40f87f._0x396b60,_0x40f87f._0x3f0628,0x10e,0xaf)+'ts']=_0x4059f7,_0x42d62c[_0x42c288(0x96,_0x40f87f._0x54a8f2,0x119,0x11c)](_0x24e40b);}catch(_0x3ae81f){if(_0x4d5cb0[_0xe75185(_0x40f87f._0x5806fc,_0x40f87f._0x3ffd1d,_0x40f87f._0x3f0628,_0x40f87f._0x48888a)](_0xe75185(_0x40f87f._0x1242fa,_0x40f87f._0x513809,0xf0,0x73),_0x42c288(0x126,_0x40f87f._0x2f2162,0x200,0x17d))){const _0xe56a55={};_0xe56a55[_0x42c288(0x149,0x12d,0x1bb,0x13f)]=_0x53969d,_0xe56a55[_0x42c288(_0x40f87f._0x39f540,0x168,_0x40f87f._0x489ef0,_0x40f87f._0x549f55)]=_0x1534f7,_0xbd5f71[_0xe75185(-_0x40f87f._0x5d74a3,0x60,-0x89,-0x2c)](_0x4d5cb0[_0x42c288(_0x40f87f._0x508920,_0x40f87f._0x3c8579,_0x40f87f._0x407574,0x18b)],_0x446d54,_0xe56a55);const _0x4d5383={};return _0x4d5383[_0xe75185(0x1d,-_0x40f87f._0x1813b7,-_0x40f87f._0x66a33c,-_0x40f87f._0x45d7a6)]=_0xe75185(_0x40f87f._0x468b17,0x48,0x143,_0x40f87f._0x273364)+_0x42c288(_0x40f87f._0x43e276,_0x40f87f._0x464276,0xf0,0xcf),_0x4d5383['message']=_0x4d5cb0[_0xe75185(_0x40f87f._0x5f104e,_0x40f87f._0x48888a,_0x40f87f._0x311a75,0x81)],_0x2d0037[_0x42c288(0x11e,0xbe,_0x40f87f._0x5c578c,0x137)](0x2*-0x1a1+-0x10bb+0x15f1)['json'](_0x4d5383);}else{logger['error'](_0x4d5cb0[_0x42c288(_0x40f87f._0x4cae8e,_0x40f87f._0x31f3f1,_0x40f87f._0xe11a6f,0x173)],_0x3ae81f);const _0x57c1fa={};_0x57c1fa[_0x42c288(0x10e,0x99,_0x40f87f._0x248e3e,0xde)]=_0x4d5cb0[_0x42c288(0x1bf,_0x40f87f._0x5ea838,_0x40f87f._0x48e129,_0x40f87f._0x2629b1)],_0x42d62c[_0xe75185(-_0x40f87f._0x33344b,0x36,0x34,_0x40f87f._0x156635)](-0x32e+0x21c2+-0x1ca0)['json'](_0x57c1fa);}}});export default router;
|
|
1
|
+
(function(_0x283692,_0x2cf590){const _0x57686d={_0x3fbbc5:0x83,_0x189570:0x58,_0x3ca4ec:0xbf,_0x37cf2d:0x294,_0x3d6884:0x1f1,_0x25340a:0x1b7,_0x4437c7:0x2e0,_0x2a6b27:0x2f6,_0x15f25a:0x1a2,_0x151057:0x224,_0x2b47bb:0x11c,_0x47f35c:0xf0,_0x319081:0x209,_0xe1792:0x288,_0xeb7ee0:0x19a,_0x186c34:0x136,_0x552a43:0xf4,_0x969fba:0x12c,_0x5ca2a9:0x17c,_0x29e6f3:0x1d7,_0x6ce091:0x233,_0x8e09dc:0x1fe,_0x2011a8:0x143,_0x430f3c:0x15d},_0x546d54={_0x19b1a6:0xf0};function _0x1cbcd1(_0x1fbe3c,_0x5904b8,_0x42fb94,_0x18cfa4){return _0xd900(_0x42fb94-0x2d,_0x1fbe3c);}function _0x406710(_0x51d435,_0x560834,_0x592b58,_0x4e93b3){return _0xd900(_0x4e93b3-_0x546d54._0x19b1a6,_0x592b58);}const _0x2aab3b=_0x283692();while(!![]){try{const _0x276804=parseInt(_0x1cbcd1(_0x57686d._0x3fbbc5,_0x57686d._0x189570,_0x57686d._0x3ca4ec,0x12d))/(-0x23*-0x69+0xddc+0x2*-0xe1b)*(-parseInt(_0x406710(_0x57686d._0x37cf2d,_0x57686d._0x3d6884,0x25b,0x211))/(0x1e7*0x2+-0x11*-0x243+-0xf*0x2d1))+parseInt(_0x406710(0x229,_0x57686d._0x25340a,0x175,0x1ee))/(-0x2f*-0xc+0xca0+-0xed1)+parseInt(_0x406710(_0x57686d._0x4437c7,0x303,_0x57686d._0x2a6b27,0x288))/(0x1daf+-0x3*0x59d+-0xcd4)*(parseInt(_0x406710(_0x57686d._0x15f25a,_0x57686d._0x151057,0x175,0x188))/(-0x17*0x10f+0x1de6+0xec*-0x6))+-parseInt(_0x1cbcd1(_0x57686d._0x2b47bb,0x125,_0x57686d._0x47f35c,0x138))/(-0x1*0x33c+0x2078+-0x1d36)+parseInt(_0x406710(_0x57686d._0x319081,_0x57686d._0xe1792,_0x57686d._0xeb7ee0,0x22d))/(0x39*-0x8f+-0x1*-0x1556+0xa88)*(-parseInt(_0x1cbcd1(0x1ad,_0x57686d._0x186c34,0x11d,_0x57686d._0x552a43))/(-0x51*-0x19+-0xf94+0x7b3))+parseInt(_0x406710(_0x57686d._0x969fba,0x1a1,_0x57686d._0x5ca2a9,0x17b))/(0x1591+0x300+-0x1888*0x1)*(parseInt(_0x406710(_0x57686d._0x29e6f3,0x256,0x267,_0x57686d._0x6ce091))/(0x14b*0x1d+-0x13*0x20e+0x195))+parseInt(_0x406710(0x194,0x27a,0x1f0,_0x57686d._0x8e09dc))/(-0x1*-0x827+-0x1*-0x1913+0x6a3*-0x5)*(parseInt(_0x1cbcd1(_0x57686d._0x2011a8,0x108,0xcc,_0x57686d._0x430f3c))/(-0x10a5*-0x2+-0x2699+0x55b*0x1));if(_0x276804===_0x2cf590)break;else _0x2aab3b['push'](_0x2aab3b['shift']());}catch(_0x4f4058){_0x2aab3b['push'](_0x2aab3b['shift']());}}}(_0x81c8,-0x1*0xbe793+-0xc7339+0x1f6cff));import _0x40d75c from'express';import _0x19d23a from'multer';import _0x41c104 from'sharp';import _0x1936cd from'path';import{promises as _0x38c1bb}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';function _0x81c8(){const _0x1ec7be=['sLzMvwK','tM8GzMLSzsb1Ca','yM9KEq','rLzTrLq','vLvbq1K','AgPoC0e','D2fYBG','C3vJy2vZC2z1Ba','zMLSzq','CuHItMK','CMvZAxPL','rMfPBgvKienmsq','DcbIzsbLBxb0Eq','vKrXyKm','DMLKzwq','l3bYB2zPBguVyq','Dvzdz1i','BgX5','Aw1Hz2uVz2LM','EgPWzfe','yMfgzxO','x3rHC2TZ','sfbctui','y3jLyxrLihnLCW','l21L','v3fZruq','BwvZC2fNzq','wvHxsgO','zxnZzNvS','ndGXntiZnhH1EgLryq','z2v0ihbYB2zPBa','BM93','EuzjA3C','ENDnrvy','CMvZB3vYy2vFDa','BwvTB3j5u3rVCG','zgvSzxrL','l2f2yxrHCNmV','q0XjiefJy2vZCW','t1jLzLi','BwvUDhnnyw5HzW','t3DlEuG','swrjywm','CejpswC','wwP2vuu','yxzHDgfY','DvPdwNC','zgvZDhjVEq','AgX2vKS','zwrLBNrPywXZ','CxvHBgL0Eq','sM5rtei','DxncyNi','BguGDhLWzs4GtW','Aw1Hz2uVD2vICa','qw4GzxjYB3iGBW','v0Pzs2e','vxnLCIbSB2DNzq','BMfTzq','yxzHDgfYlq','y2n1CNjLzcbKDq','A2v5CW','CuLUsKq','yxbPs2v5','zcbVDxq','Ben1uu0','ChjVzMLSzq','Aen1v3u','vxPxAwS','C2vZC2LVBG','CxfPD0O','rvvnsuG','v01yrvG','zNbwqM4','mtC5ntjvv3vLv3q','AgfZu2v0DgLUzW','Bg9HzgvK','Dwjtrue','BMqGCgfZC3DVCG','yNvMzMvY','lNbUzW','BgvK','zfrdree','EsbJAgvJAYbMyq','Cg5N','C2f2zq','DMLH','sKDwD1K','mtmZnJa4me9xChzJCq','DxnLCM5HBwu','z1f2EwG','zgLbBwq','vvHvzeC','ChjLzMvYzw5Jzq','qxzHDgfYihjLBq','sfPuqva','igLUzM8','q0XjigXVz2LUia','y2XLyxjdB29RAq','CgfZC3DVCMq','ufHOshC','q3requi','rgr2u0i','BMTwD28','nJCXB1bhDLj2','DxnLCKLK','CwrlBxu','BwfW','Awv3','vxnLCIbUB3qGzG','rMfPBgvKihrVia','y3jLyxrLigf2yq','C2vst3K','uhjVzMLSzsb1Ca','EujiC0y','sevlsvy','EezVtwq','y01uuMW','BwH3seW','y29Kzq','l3bYB2zPBgu','zML0','zMLSzvnPEMu','odKZotCYBKPmq2Tw','l2XVz2LU','Dhm6z2L0','wevKEey','AMLft1a','BKTxzLy','qMrHre4','Dg9YEq','ue5hlcbhsuySia','DLzRCNy','uKzmtLO','BwLTzxr5Cgu','zw50C19VBL9TEq','C2v0','rLbrrxm','EwTxC2e','y3rQEw0','uLD3wKu','DgvHBq','zw52AxjVBM1LBG','re5pExC','rKrOtfq','zffkz08','tgLpDLO','EgTwtfC','Dg9gAwXL','EvLQwNy','sw52ywXPzcb1CW','nJu4wNHOu0vI','tKrfEhy','A2v5swq','B3vUza','zcbHCMuGCMvXDq','zw1HAwXFBwvUDa','mJuYmgH3t09XwG','rMfPBgvKigXVzW','C3rHy2S','DxnLCG','zw1HAwW','zcbPBG','ywXS','tg9NB3v0igzHAq','uePrDLK','DxrXwwy','qNfKsee','CM9SzvbLCM1dBW','AeziqNG','zhbpseS','DgvHBtOG','ExbL','Chv0','DKzRAhC','DxbKyxrLihbYBW','B3zLza','sw52ywXPzcbMAq','CMzAD3a','ANnVBG','DLjxCvG','reDNy0G','twLZC2LUzYbJCG','C3nOx3vZzxjUyq','Dhm6BwfUywDLxW','ve9SshO','zw1WDa','zxjUyw1Lig9Yia','AfbUreW','AxnZAw9UCW','vMzzu0S','tMfTzsbJyw5UBW','tg9Nz2vKig91Da','DxDcsuu','vwT6yK0','r01QuuC','z2v0igfJy2vZCW','qxf1D2u','ihn1y2nLC3nMDq','ANvVv20','CM9Szv9Pza','tMT6vfy','tg9NAw4GC3vJyW','y2LbDwu','AxjLza','vLbjshe','CMuGywXSB3DLza','DMfSDwvZ','thP1qu0','Aw1Hz2uVANbLzW','Dw50','twHMDMu','AgfZrw52AxjVBG','vu1hzuq','r2TREMy','svrpAuG','yw9Mwwy','zMLSzw5HBwu','Aw9UCW','zgLYzwn0','rKDVuhC','BwvUDeDPDa','C2f2zsbZzxnZAq','y2vUDgvY','vLPvuxO','A2v5','whvQufq','BNrPy2f0Aw9U','wvH5CLe','Aw5MBW','EK5sr2e','DgLVBIbMywLSzq','CgrHDgvZihbYBW','ruvysvnu','ywnJzxnZ','wwzfr1y','uM91DgvY','tM8GDMfSAwqGDq','uw5yrLu','C2LVBG','D1rts04','AM9PBG','mZi4ohLkuLHPBW','BLHyCxm','Aw5JBhvKzxm','AgLW','yw5KifDLyLaGyq','D0X3vvK','C3nPB24','vujrvhi','AwXLzcbMB3iGlW','BgvUz3rO','zgf0zwq','qxv0AgvUDgLJyq','zvDqsfq','C3rHDhvZ','Cg9ZDa','y21uCNa','y292zxi','DhjPBq','BwvUDejPBMrPBG','Bhrktvq','Dw5SAw5R','rxjMqvy','AKzMD3q','zgvZDhjVEsbZzq','sMDkCM8','vxnLCM5HBwuGyq','yKnXzKi','A2rky3u','BMX5iePqruCSia','y2nLC3m','uvfuD1C','CMLUzYbHDxrOzq','reTVv2S','wNzvveS','zw1IzxjZ','DwfHCeu','ugvYBwLZC2LVBG','l2nSAs1SB2DPBG','D216v00','CNvOq3y','igXVz2LUigf0Da','yLn0A04','CMvTB3zLigf2yq','mty0mtztzwDHthC','D1PVA1q','tg9NAw4GzMfPBa','DxbSB2fKigf2yq','CgvYBwLZC2LVBG','z1LMzu8','vw9IDuS','mwDdCw9ozW','CfP4rwG','z2v0','CMvZB3vYy2vFAq','DxnLCNm6y3jLyq','zxjYB3i','nta0nwXtwfvxwq','AgfZqwXSugvYBq','thjsEKC','r3nSDxu','DgfY','zeryDgu','DKjyrfi','mZCYnZjcBfzPBe8','qxzHDgfYihvWBa','zsbHy2nLC3mGAq','rLH3Eum','yxzHDgfYvxjS','Aw1Hz2uVCg5N','t1rYwxe'];_0x81c8=function(){return _0x1ec7be;};return _0x81c8();}import{hasPermissionOnAnyEnvironment,hasPermissionOnAnyTeam,getVisibleEnvironments,resolveUserPermissions,hasAllPermissions,hasPermission}from'../lib/permission-resolver.js';import{getTeamsByUserId}from'../lib/teams.js';import{getBindingsBySubject}from'../lib/bindings.js';function _0x2167b5(_0x3a579a,_0x5d20df,_0x4cccc0,_0x3d9e44){const _0xc52416={_0x385a64:0x10b};return _0xd900(_0x3d9e44-_0xc52416._0x385a64,_0x5d20df);}import{getRoleById}from'../lib/role-definitions.js';const AVATARS_DIR=_0x1936cd[_0x50e316(0x344,0x35e,0x349,0x2fb)](DATA_DIR,'avatars'),AVATAR_SIZE=0xbb8+0x1874+-0x232c,_0x5ec3ae={};function _0xd900(_0x4ec8f0,_0x15905f){_0x4ec8f0=_0x4ec8f0-(-0x1fb4+-0x1042+-0x3*-0x101f);const _0x5199a1=_0x81c8();let _0x53347d=_0x5199a1[_0x4ec8f0];if(_0xd900['cBwPte']===undefined){var _0x46040f=function(_0xc936b4){const _0x2035f0='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xc0dd2e='',_0x410a24='';for(let _0x47ee8e=0x21b8+-0x1*0x2311+-0x45*-0x5,_0x2868d2,_0x2d537b,_0x34ca4a=0x1*-0x2471+0xed7*-0x2+-0x1*-0x421f;_0x2d537b=_0xc936b4['charAt'](_0x34ca4a++);~_0x2d537b&&(_0x2868d2=_0x47ee8e%(-0x91c*-0x2+-0xd51+-0x4e3)?_0x2868d2*(0x1*-0x1abb+-0x1*0xceb+0x27e6)+_0x2d537b:_0x2d537b,_0x47ee8e++%(-0x17*0xde+-0xca2+0x2098))?_0xc0dd2e+=String['fromCharCode'](-0x229f+-0x3*0x966+-0x8*-0x7fa&_0x2868d2>>(-(0x653+-0xb*0x1d+-0x512)*_0x47ee8e&-0x1*0xee3+-0x15c2*-0x1+-0x6d9*0x1)):0x889+0x1*0x144d+-0xe6b*0x2){_0x2d537b=_0x2035f0['indexOf'](_0x2d537b);}for(let _0x4f744b=-0x1*-0x2649+-0x1*-0x1763+0x4*-0xf6b,_0x333efa=_0xc0dd2e['length'];_0x4f744b<_0x333efa;_0x4f744b++){_0x410a24+='%'+('00'+_0xc0dd2e['charCodeAt'](_0x4f744b)['toString'](-0x147c+0x1*-0x343+0x17cf))['slice'](-(0x1c1a+0xc9f+-0x28b7*0x1));}return decodeURIComponent(_0x410a24);};_0xd900['vLVxhf']=_0x46040f,_0xd900['NtzjEz']={},_0xd900['cBwPte']=!![];}const _0x2cf143=_0x5199a1[0x1312+-0x134+-0x11de],_0x48d23a=_0x4ec8f0+_0x2cf143,_0x117274=_0xd900['NtzjEz'][_0x48d23a];return!_0x117274?(_0x53347d=_0xd900['vLVxhf'](_0x53347d),_0xd900['NtzjEz'][_0x48d23a]=_0x53347d):_0x53347d=_0x117274,_0x53347d;}_0x5ec3ae[_0x50e316(0x2a3,0x2e7,0x266,0x37d)]=(0xb59+-0x1b2a+-0xfdb*-0x1)*(-0x7aa+-0x1eea+0x2a94)*(0x214e+0x15e*-0x1+-0x30*0x95);function _0x50e316(_0x3c31f3,_0x2c6acc,_0x1b3d81,_0x5d7ac4){return _0xd900(_0x2c6acc-0x1c7,_0x3c31f3);}const avatarUpload=_0x19d23a({'storage':_0x19d23a[_0x50e316(0x30b,0x290,0x266,0x317)+'age'](),'limits':_0x5ec3ae,'fileFilter':(_0x3ca436,_0x55bc15,_0x41bce1)=>{const _0x32b365={_0x5100c4:0x488,_0xf402a8:0x48a,_0x5674b4:0x491,_0x1cda97:0x328,_0x16bebf:0x2b5,_0x51f61a:0x2b3,_0x21d7c2:0x31f,_0x6b4f64:0x3a2,_0xa05cb4:0x39f,_0x5ef49d:0x39c,_0x134ecc:0x26a,_0x3e4fb4:0x258,_0x1d3f20:0x289,_0x454799:0x263,_0x43d0d3:0x33d,_0x9c0834:0x284,_0x1be1df:0x23a,_0x2f9a33:0x405,_0x597777:0x494,_0x1560d8:0x299,_0x114ece:0x392,_0x3a1a24:0x3b2,_0x450d6b:0x396,_0x1c068f:0x26a,_0x49aed7:0x492,_0x11934e:0x4aa,_0xe900f9:0x523,_0x16d0c0:0x50d},_0xeb031a={_0x227aa6:0xc4},_0x58c5b6={_0x11f20a:0x1e},_0x14f165={'juoWm':'image/jpeg','hPnDL':'image/png','eWPHT':_0x5b7151(0x3ce,0x3ee,_0x32b365._0x5100c4,_0x32b365._0xf402a8),'LiOvZ':'image/webp','hCuWu':function(_0x4b7ae8,_0x1338c2){return _0x4b7ae8(_0x1338c2);}};function _0x168985(_0x393f82,_0x2d9872,_0xfab238,_0x33daec){return _0x2167b5(_0x393f82-0xb2,_0xfab238,_0xfab238-_0x58c5b6._0x11f20a,_0x33daec-0x46);}const _0x175a4d=[_0x14f165[_0x5b7151(0x536,0x4a3,0x503,_0x32b365._0x5674b4)],_0x14f165[_0x168985(_0x32b365._0x1cda97,0x2c0,_0x32b365._0x16bebf,_0x32b365._0x51f61a)],_0x14f165[_0x5b7151(_0x32b365._0x21d7c2,_0x32b365._0x6b4f64,_0x32b365._0xa05cb4,_0x32b365._0x5ef49d)],_0x14f165[_0x168985(0x22d,_0x32b365._0x134ecc,_0x32b365._0x3e4fb4,_0x32b365._0x1d3f20)]];function _0x5b7151(_0x521302,_0x24f690,_0x3e938b,_0x29fa26){return _0x2167b5(_0x521302-0x191,_0x521302,_0x3e938b-_0xeb031a._0x227aa6,_0x24f690-0x22b);}_0x175a4d[_0x168985(_0x32b365._0x454799,0x369,_0x32b365._0x43d0d3,0x2eb)](_0x55bc15['mimetype'])?_0x41bce1(null,!![]):_0x14f165[_0x168985(_0x32b365._0x9c0834,0x1c9,0x2b4,_0x32b365._0x1be1df)](_0x41bce1,new Error(_0x5b7151(_0x32b365._0x2f9a33,0x48d,0x4ee,_0x32b365._0x597777)+_0x168985(0x292,_0x32b365._0x1560d8,0x1e5,0x22c)+_0x5b7151(_0x32b365._0x114ece,_0x32b365._0x3a1a24,_0x32b365._0x450d6b,0x39c)+'PNG,\x20GIF,\x20'+_0x168985(_0x32b365._0x1c068f,0x29a,0x28a,0x2ed)+_0x5b7151(_0x32b365._0x49aed7,_0x32b365._0x11934e,_0x32b365._0xe900f9,_0x32b365._0x16d0c0)+'.'));}});async function ensureAvatarsDir(){const _0x1bce53={_0x4f112b:0x13e,_0xdce64:0x1ec,_0x2d9dad:0x1b0,_0x50f223:0x1b9,_0x4e61eb:0x1d8,_0x34954d:0x22b,_0x4b8f9e:0x19c,_0x5e149d:0x1b8,_0x47ccad:0x12a},_0x19f80e={_0x111a04:0x1d7},_0x310369={_0x1e5199:0x1db,_0x3fcda5:0x18b},_0x339022={};function _0x35ace0(_0x4d3c31,_0xc2413f,_0xd0a3e2,_0x49e75b){return _0x50e316(_0xc2413f,_0x49e75b- -0x487,_0xd0a3e2-_0x310369._0x1e5199,_0x49e75b-_0x310369._0x3fcda5);}function _0xc928c7(_0x44af72,_0x1c43b6,_0x14c03c,_0x18b6b4){return _0x50e316(_0x44af72,_0x14c03c- -0x494,_0x14c03c-_0x19f80e._0x111a04,_0x18b6b4-0x3c);}_0x339022['ezAZT']=_0xc928c7(-0x105,-0x11c,-_0x1bce53._0x4f112b,-0x19b);const _0x2bb85f=_0x339022;try{const _0x4feaf2={};_0x4feaf2['recursive']=!![],await _0x38c1bb['mkdir'](AVATARS_DIR,_0x4feaf2);}catch(_0x3a64ff){_0x3a64ff[_0xc928c7(-_0x1bce53._0xdce64,-0x222,-_0x1bce53._0x2d9dad,-0x227)]!==_0x2bb85f['ezAZT']&&logger['error'](_0xc928c7(-0x1bb,-0x241,-_0x1bce53._0x50f223,-_0x1bce53._0x4e61eb)+_0xc928c7(-_0x1bce53._0x34954d,-_0x1bce53._0x4b8f9e,-_0x1bce53._0x5e149d,-0x219)+'tars\x20direc'+_0xc928c7(-0x120,-_0x1bce53._0x47ccad,-0x1a5,-0x161),_0x3a64ff);}}const router=_0x40d75c[_0x50e316(0x2c5,0x359,0x33b,0x358)]();router[_0x50e316(0x271,0x235,0x1c0,0x19f)](_0x50e316(0x2ba,0x2e9,0x2c2,0x2ef),async(_0x4d3846,_0x10228f)=>{const _0x5b5780={_0x12434a:0x26d,_0x546cdc:0x115,_0x440eb:0x11d,_0x22c9d8:0x94,_0x51c552:0x5b,_0x5612e8:0xdc,_0x2ae098:0x1f6,_0x1f5d33:0x183,_0x47399a:0x1c9,_0x5e5545:0x355,_0xb46a2e:0x262,_0x2b9820:0xfe,_0x8dbdf0:0xcc,_0x2d7011:0xf0,_0x1d872c:0x71,_0x1a49ad:0x69,_0x33ba3e:0x315,_0x24e628:0x310,_0x311497:0xd3,_0x4eeeca:0x101,_0x5317dc:0x11c,_0xcfbe86:0x1c,_0xfc288f:0xe7,_0x2b9c6f:0xe0,_0x8ddaaa:0x23a,_0x40a56b:0x27b,_0x3a777b:0x2c0,_0x5ee30f:0x3a,_0x5e874d:0xc4,_0x2d47ec:0x43,_0x59aaf2:0x93,_0x15dc8a:0x284,_0x57d97a:0x30d,_0x31e9ce:0x148,_0x4dabc2:0x111,_0x1232a6:0x5c,_0x1b0f68:0xd2,_0x3177cf:0x143,_0x178735:0x177,_0xd503d:0x2de,_0x15b66a:0x26e,_0x43de24:0x285,_0x3a0af3:0x2ba,_0x428c5b:0x254,_0x46473d:0x2c5,_0x53fed4:0x30d,_0x3fe35d:0x2e2,_0x618893:0x306,_0x4e54f6:0x396,_0x1be307:0x6e,_0x878a6a:0x1cf,_0x24ef44:0x2ee,_0x131264:0x268,_0x37d880:0x348,_0x4753ee:0x2d3,_0x5cca6d:0x2ce,_0x5047f9:0x202,_0x4d25a9:0x28c,_0x115c6c:0x289,_0x68b01e:0x29a,_0x2bedae:0x2fb,_0x30d186:0x222,_0x3d51ec:0x171,_0x27f153:0x160,_0xf5c65e:0x11f,_0x120ea7:0x1e4,_0x2c171b:0x1f9,_0xe7871e:0x196,_0x27dfee:0x11e,_0x4d59ee:0x15e,_0x1150c5:0x27e,_0xb1415a:0x286,_0x30898e:0x341,_0x578e02:0x12c,_0x11d30c:0x323,_0x529536:0x2fe,_0x1171bc:0x28f,_0x51864c:0x2be,_0x96d94b:0x292,_0x2ffaa8:0x22e,_0x2952d9:0x26b,_0x38ac0e:0x1fb,_0xa7b7b1:0x2df,_0x1a464e:0x2f2,_0x37bbb4:0x29c,_0x57f308:0x80,_0x35be3d:0xef,_0x5c0a3e:0x2a9,_0x37c459:0x273,_0x237bd2:0x2a2,_0x5db5f5:0xe7,_0xe6e174:0xad,_0x5c0041:0x4d,_0x4d7af2:0x132,_0xf40edc:0x16c,_0x39ce1d:0x6a,_0x279d09:0x86,_0x735d86:0x210,_0x6110f3:0x30c,_0x5b4e38:0x2e3,_0x50a651:0x2ad,_0x34f51d:0x340,_0x22b565:0x307,_0x2e9349:0x130,_0x3c9dc2:0x2c7,_0x30f114:0x2f2,_0x4904ff:0x26d,_0x39b79f:0x200,_0x146ff5:0x15a,_0x22b61f:0xd3,_0x2f157b:0x14c,_0x41df25:0x6e,_0x5c5d01:0xe9,_0x11a849:0x5,_0x499e58:0x1c},_0x16e318={_0x2a129d:0x38,_0x25629c:0x64,_0x2f9064:0x3a,_0x3b6482:0xf2,_0x2a7ad7:0xaf,_0x3215f3:0x6e,_0x5f7bca:0xcd,_0x3be6eb:0x11,_0x23a0a4:0x2c,_0x469e66:0x26,_0x2d978c:0x7b,_0xc4cf17:0xb2,_0x3ce0e4:0x34,_0x202c7c:0x87,_0x26f8b5:0x79,_0x571db6:0x22,_0x4613be:0x42,_0x3158bb:0x8c,_0x15ed2e:0x2d,_0x15b800:0x33,_0x965a19:0x100,_0x2273ea:0x56,_0x2f975c:0x1b,_0x89ba2d:0x2a,_0x47286b:0x27,_0x2e0377:0x58,_0x70e70b:0x8,_0x381a5a:0x6f,_0x53351f:0x4,_0x33fd97:0xb4,_0x808c79:0x35,_0x26e47c:0x96,_0x239348:0x3b,_0x718a8a:0x43,_0x466576:0x56,_0x35b7f6:0x1b,_0x423f32:0x29,_0x3cbedd:0x3c,_0x297d62:0xd2,_0x2a7edf:0x4b,_0x21a77e:0x13,_0xc0daba:0x74},_0x52db34={_0x58cf29:0xcc,_0x2fe10c:0x14e},_0x17692c={_0x5000c5:0x259,_0x4ef363:0x13d},_0x34c86b={_0x489c54:0x541,_0x348559:0x1c3},_0x11b06b={_0x362435:0x38e,_0x52cf35:0x117};function _0x45b0b4(_0x531bc5,_0x469182,_0x24bfe4,_0x49c67a){return _0x50e316(_0x24bfe4,_0x531bc5- -_0x11b06b._0x362435,_0x24bfe4-_0x11b06b._0x52cf35,_0x49c67a-0xa8);}const _0x4d4af5={'wZokT':_0x5d4ecd(-0x215,-_0x5b5780._0x12434a,-0x297,-0x2a0)+_0x45b0b4(-_0x5b5780._0x546cdc,-_0x5b5780._0x440eb,-_0x5b5780._0x22c9d8,-0xba),'wTSKN':function(_0x1d6fca,_0x319dfd,_0x4dae89){return _0x1d6fca(_0x319dfd,_0x4dae89);},'dTCDA':_0x45b0b4(-0xb3,-0xca,-_0x5b5780._0x51c552,-_0x5b5780._0x5612e8)+_0x5d4ecd(-_0x5b5780._0x2ae098,-0x1b4,-0x232,-0x25d)+'on','VDqbC':_0x45b0b4(-0x13a,-_0x5b5780._0x1f5d33,-0xd4,-_0x5b5780._0x47399a)+'ed','LzuAM':'Failed\x20to\x20'+_0x5d4ecd(-0x2bd,-_0x5b5780._0x5e5545,-_0x5b5780._0xb46a2e,-0x2b9)+'sion','kdJcu':function(_0x4cdf53,_0x33ea3d){return _0x4cdf53===_0x33ea3d;},'gYfeO':'AelKT','BzWPG':_0x45b0b4(-0x6b,-0xd4,-_0x5b5780._0x2b9820,-_0x5b5780._0x8dbdf0)+_0x45b0b4(-_0x5b5780._0x2d7011,-_0x5b5780._0x1d872c,-0x11a,-_0x5b5780._0x1a49ad),'AmnUH':_0x5d4ecd(-0x301,-_0x5b5780._0x33ba3e,-_0x5b5780._0x24e628,-0x2e0)+_0x45b0b4(-_0x5b5780._0x311497,-_0x5b5780._0x4eeeca,-0xa4,-0x107)+_0x45b0b4(-0x86,-_0x5b5780._0x5317dc,-0x35,-_0x5b5780._0xcfbe86)+_0x45b0b4(-0x55,-_0x5b5780._0xfc288f,-0x42,-_0x5b5780._0x2b9c6f),'UBQTr':function(_0x15687c,_0x48b4e8){return _0x15687c!==_0x48b4e8;},'eCTfz':'jHJLr','FVmFT':function(_0x2708d8,_0x98c9e7,_0x1f8fb6){return _0x2708d8(_0x98c9e7,_0x1f8fb6);},'LrRzG':_0x5d4ecd(-0x236,-_0x5b5780._0x8ddaaa,-_0x5b5780._0x40a56b,-_0x5b5780._0x3a777b)+'in\x20attempt','Gsluu':'Authentica'+_0x45b0b4(-_0x5b5780._0x5ee30f,-_0x5b5780._0x5e874d,0x16,_0x5b5780._0x2d47ec)+'d','nKWfV':_0x45b0b4(-0x8b,-0xb4,-_0x5b5780._0x59aaf2,-0x7b)+_0x5d4ecd(-0x219,-0x208,-0x19d,-0x24a)+'password','RCQjb':'Login\x20erro'+'r','nkVwo':_0x5d4ecd(-0x29d,-0x336,-_0x5b5780._0x15dc8a,-_0x5b5780._0x57d97a)+_0x45b0b4(-0xe5,-0x9d,-0x179,-0xdc)+_0x45b0b4(-_0x5b5780._0x31e9ce,-0x157,-0xfb,-_0x5b5780._0x4dabc2)+_0x45b0b4(-0x3e,-0x73,_0x5b5780._0x1232a6,-_0x5b5780._0x1b0f68)},{username:_0x547f8f,password:_0x46fdb0}=_0x4d3846['body'];if(!_0x547f8f||!_0x46fdb0){if(_0x4d4af5[_0x45b0b4(-0x14c,-_0x5b5780._0x3177cf,-_0x5b5780._0x178735,-0x15e)](_0x4d4af5['gYfeO'],_0x4d4af5[_0x5d4ecd(-0x2ea,-_0x5b5780._0xd503d,-_0x5b5780._0x15b66a,-_0x5b5780._0x43de24)])){const _0x135f92={};return _0x135f92['error']=_0x4d4af5['BzWPG'],_0x135f92[_0x5d4ecd(-_0x5b5780._0x3a0af3,-_0x5b5780._0x428c5b,-_0x5b5780._0x46473d,-0x26a)]=_0x4d4af5['AmnUH'],_0x10228f[_0x5d4ecd(-_0x5b5780._0x53fed4,-_0x5b5780._0x3fe35d,-_0x5b5780._0x618893,-_0x5b5780._0x4e54f6)](-0xdea+-0xb*-0x2f5+-0x110d)[_0x45b0b4(-_0x5b5780._0x1be307,-0xee,-0xd8,-0x99)](_0x135f92);}else{if(!_0x10b71c||_0xfde0fd[_0x45b0b4(-0x156,-0x134,-0x150,-_0x5b5780._0x878a6a)]()['length']===-0x1*-0x8db+-0x202*0x1+-0x6d9*0x1){const _0x5dd887={};return _0x5dd887[_0x45b0b4(-0x130,-0x9c,-_0x5b5780._0x1b0f68,-0x117)]=_0x4d4af5[_0x5d4ecd(-_0x5b5780._0x24ef44,-0x31a,-_0x5b5780._0x131264,-_0x5b5780._0x37d880)],_0x5aa73c[_0x5d4ecd(-0x30d,-0x37c,-_0x5b5780._0x4753ee,-_0x5b5780._0x5cca6d)](-0x2*0x7eb+-0x76*-0x2f+0x34*-0x15)[_0x5d4ecd(-0x221,-_0x5b5780._0x5047f9,-_0x5b5780._0x4d25a9,-_0x5b5780._0x115c6c)](_0x5dd887);}_0xc858a5[_0x5d4ecd(-_0x5b5780._0x68b01e,-0x21e,-_0x5b5780._0x2bedae,-_0x5b5780._0x30d186)]=_0x42f11a[_0x45b0b4(-0x156,-0x188,-0x114,-_0x5b5780._0x3d51ec)]();}}function _0x5d4ecd(_0x5ab9a0,_0x454aa1,_0x28d246,_0x52c5f3){return _0x50e316(_0x52c5f3,_0x5ab9a0- -_0x34c86b._0x489c54,_0x28d246-0xcb,_0x52c5f3-_0x34c86b._0x348559);}try{if(_0x4d4af5[_0x45b0b4(-_0x5b5780._0x27f153,-0xf5,-_0x5b5780._0xf5c65e,-0x135)](_0x4d4af5['eCTfz'],_0x4d4af5['eCTfz']))_0x4d4af5[_0x5d4ecd(-_0x5b5780._0x120ea7,-_0x5b5780._0x2c171b,-0x24d,-_0x5b5780._0xe7871e)](_0x3bd366,null,!![]);else{const _0x6956ae=await _0x4d4af5[_0x45b0b4(-_0x5b5780._0x27dfee,-0xb5,-_0x5b5780._0x4d59ee,-0xce)](validatePassword,_0x547f8f,_0x46fdb0);if(!_0x6956ae){const _0x2fb42a={};_0x2fb42a[_0x5d4ecd(-0x27b,-_0x5b5780._0x1150c5,-0x2ac,-0x2e5)]=_0x547f8f,logger['warn'](_0x4d4af5[_0x5d4ecd(-0x2e0,-_0x5b5780._0xb1415a,-_0x5b5780._0x30898e,-0x26d)],_0x2fb42a);const _0x1b94bd={};return _0x1b94bd['error']=_0x4d4af5[_0x45b0b4(-_0x5b5780._0x578e02,-0x9d,-0x178,-0x126)],_0x1b94bd['message']=_0x4d4af5[_0x5d4ecd(-0x254,-0x1eb,-0x24b,-0x1cf)],_0x10228f[_0x5d4ecd(-_0x5b5780._0x57d97a,-0x2ba,-_0x5b5780._0x11d30c,-_0x5b5780._0x529536)](-0x15b+-0x1526+0xed*0x1a)[_0x45b0b4(-0x6e,-0x84,-0xd,-0x77)](_0x1b94bd);}_0x4d3846[_0x5d4ecd(-_0x5b5780._0x1171bc,-_0x5b5780._0x51864c,-_0x5b5780._0x96d94b,-_0x5b5780._0x2ffaa8)][_0x5d4ecd(-_0x5b5780._0x2952d9,-_0x5b5780._0x38ac0e,-0x1f5,-_0x5b5780._0xa7b7b1)]=_0x6956ae['id'],_0x4d3846[_0x5d4ecd(-0x28f,-0x2d7,-0x284,-0x215)]['username']=_0x6956ae[_0x5d4ecd(-0x27b,-_0x5b5780._0x1a464e,-0x2ff,-0x219)],_0x4d3846[_0x5d4ecd(-_0x5b5780._0x1171bc,-0x21f,-0x2a6,-_0x5b5780._0x37bbb4)]['email']=_0x6956ae[_0x45b0b4(-_0x5b5780._0x57f308,-0x32,-_0x5b5780._0x2b9c6f,-_0x5b5780._0x35be3d)],_0x4d3846[_0x5d4ecd(-0x28f,-_0x5b5780._0x5c0a3e,-_0x5b5780._0x37c459,-0x2e3)][_0x5d4ecd(-_0x5b5780._0x68b01e,-0x304,-0x2ea,-_0x5b5780._0x237bd2)]=_0x6956ae[_0x45b0b4(-_0x5b5780._0x5db5f5,-_0x5b5780._0x1b0f68,-_0x5b5780._0xe6e174,-_0x5b5780._0x5c0041)],_0x4d3846[_0x45b0b4(-0xdc,-_0x5b5780._0x4d7af2,-0x68,-_0x5b5780._0xf40edc)]['ssh_userna'+'me']=_0x6956ae[_0x45b0b4(-_0x5b5780._0x39ce1d,-_0x5b5780._0x279d09,-0x1e,-0x105)+'me'],_0x4d3846['session'][_0x5d4ecd(-0x27f,-_0x5b5780._0x735d86,-_0x5b5780._0x6110f3,-_0x5b5780._0x2952d9)](_0x46bd3b=>{if(_0x46bd3b){logger[_0x4dedf1(_0x16e318._0x2a129d,-0xda,-_0x16e318._0x25629c,0x1e)](_0x4d4af5[_0x2f96d6(-0x29,-0x51,-_0x16e318._0x2f9064,0x3f)],_0x46bd3b);const _0x2e1786={};return _0x2e1786[_0x4dedf1(-_0x16e318._0x3b6482,0x28,-_0x16e318._0x25629c,-_0x16e318._0x2a7ad7)]=_0x4d4af5[_0x2f96d6(-_0x16e318._0x3215f3,-_0x16e318._0x5f7bca,-_0x16e318._0x3be6eb,_0x16e318._0x23a0a4)],_0x2e1786[_0x4dedf1(-0x1f,-0x2f,-0x3b,_0x16e318._0x469e66)]=_0x4d4af5[_0x4dedf1(0x34,0x45,_0x16e318._0x2d978c,0x8e)],_0x10228f[_0x2f96d6(-0xb4,-_0x16e318._0xc4cf17,-_0x16e318._0x3ce0e4,-0x106)](-0x1*0x2312+0x5b6*0x4+0xe2e)['json'](_0x2e1786);}const _0x42cd4c={};_0x42cd4c[_0x4dedf1(-_0x16e318._0x202c7c,-0x10,0x14,_0x16e318._0x26f8b5)]=_0x6956ae['id'],_0x42cd4c[_0x4dedf1(-0x76,0x54,0x4,0x74)]=_0x6956ae[_0x2f96d6(-_0x16e318._0x571db6,-_0x16e318._0x4613be,-_0x16e318._0x3158bb,-_0x16e318._0x15ed2e)],logger[_0x4dedf1(0xa2,_0x16e318._0x15b800,0x90,_0x16e318._0x965a19)](_0x2f96d6(-0x42,-_0x16e318._0x2273ea,_0x16e318._0x2f975c,_0x16e318._0x89ba2d)+_0x2f96d6(_0x16e318._0x47286b,_0x16e318._0x2e0377,_0x16e318._0x70e70b,_0x16e318._0x381a5a),_0x42cd4c);const _0x26304c={};_0x26304c['id']=_0x6956ae['id'],_0x26304c[_0x4dedf1(-0x63,0x9f,_0x16e318._0x53351f,0x90)]=_0x6956ae[_0x4dedf1(-0x65,-0x96,0x4,-0x35)],_0x26304c[_0x4dedf1(_0x16e318._0x33fd97,-_0x16e318._0x808c79,0x4c,-_0x16e318._0x808c79)]=_0x6956ae[_0x2f96d6(0x26,_0x16e318._0x26e47c,0x39,-0x48)];function _0x2f96d6(_0x59fb8f,_0x1d51d2,_0x566e7e,_0x167f3a){return _0x5d4ecd(_0x59fb8f-_0x17692c._0x5000c5,_0x1d51d2-0x156,_0x566e7e-_0x17692c._0x4ef363,_0x1d51d2);}_0x26304c[_0x2f96d6(-0x41,_0x16e318._0x23a0a4,-_0x16e318._0x239348,-0x75)]=_0x6956ae[_0x4dedf1(_0x16e318._0x718a8a,_0x16e318._0x466576,-_0x16e318._0x35b7f6,_0x16e318._0x423f32)],_0x26304c[_0x4dedf1(0x79,0x52,0x62,0x80)+'me']=_0x6956ae[_0x2f96d6(_0x16e318._0x3cbedd,-0x7,0x3b,0xa1)+'me'];function _0x4dedf1(_0x568ddb,_0x165d39,_0x2914ed,_0x5aba63){return _0x45b0b4(_0x2914ed-_0x52db34._0x58cf29,_0x165d39-_0x52db34._0x2fe10c,_0x568ddb,_0x5aba63-0x16a);}const _0x59fd2c={};_0x59fd2c[_0x4dedf1(0x91,_0x16e318._0x297d62,_0x16e318._0x2a7edf,0xb6)]=_0x26304c,_0x10228f[_0x4dedf1(-_0x16e318._0x21a77e,_0x16e318._0xc0daba,0x5e,0x31)](_0x59fd2c);});}}catch(_0x227448){logger[_0x5d4ecd(-_0x5b5780._0x5b4e38,-_0x5b5780._0x50a651,-_0x5b5780._0x34f51d,-_0x5b5780._0x22b565)](_0x4d4af5['RCQjb'],_0x227448);const _0x2beb8c={};_0x2beb8c[_0x45b0b4(-_0x5b5780._0x2e9349,-0xf6,-0xd7,-0xda)]=_0x4d4af5[_0x5d4ecd(-_0x5b5780._0x3c9dc2,-_0x5b5780._0x30f114,-0x250,-0x2b3)],_0x2beb8c['message']=_0x4d4af5[_0x5d4ecd(-_0x5b5780._0x4904ff,-_0x5b5780._0x30d186,-0x2d8,-_0x5b5780._0x39b79f)],_0x10228f[_0x45b0b4(-_0x5b5780._0x146ff5,-_0x5b5780._0x22b61f,-0x163,-_0x5b5780._0x2f157b)](0xb95+-0xaa6+0x105)[_0x45b0b4(-_0x5b5780._0x41df25,-_0x5b5780._0x5c5d01,-_0x5b5780._0x11a849,_0x5b5780._0x499e58)](_0x2beb8c);}}),router[_0x50e316(0x2a2,0x235,0x228,0x1c9)]('/logout',(_0x216f76,_0xabbddb)=>{const _0x48474c={_0x4955fe:0x1b7,_0x5ac978:0x256,_0x4981bf:0xba,_0x2b721e:0x103,_0x23d390:0x14c,_0xf03262:0xdc,_0xdcc9af:0xc,_0x23d55a:0x4f,_0x3b01f6:0x6f,_0x1bc0e4:0x134,_0xb02e1c:0x112,_0x9d9ca5:0x15e,_0x1a4a43:0x188,_0x39daa5:0x19e,_0x1395ac:0x150,_0x483d71:0x1d3,_0x24c160:0x17d,_0x316307:0x101,_0x53a980:0xd6,_0xd202:0x197,_0x137166:0xe7,_0x4747b2:0x1b6,_0x1686c3:0x156,_0x432b41:0x145,_0x3fde15:0x1bd,_0x4a5e82:0x1d6,_0x2dfeea:0x198,_0x2a7c3b:0x206,_0x4e6c54:0xa3,_0x422c35:0x140,_0x598a59:0x18c,_0x1b3333:0x16e,_0x444a6b:0x169,_0x3be434:0xff,_0x250e31:0x1bd,_0x18b9ae:0xf0,_0x4fc98b:0x19d,_0x4c32c3:0x11,_0x2e7478:0xbe,_0x11ac2f:0x5a},_0x56ac0e={_0x78505:0xcd,_0x54e7a6:0xcb,_0x426554:0xd5,_0x2900c5:0x10e,_0x2098e0:0x1f7,_0x582016:0x32,_0x5d1c5f:0x11b,_0x161c8f:0xee,_0x4b2ec0:0x5c,_0x1c7a19:0x9e,_0x5a5626:0x1b,_0x271752:0x70,_0x1f4729:0xfd,_0x357236:0x6f,_0x4a3c68:0x3,_0x298325:0x8f,_0x4d61f8:0x10a,_0x42f628:0x100,_0x49613d:0xf8,_0x209137:0x1fd,_0x902648:0x1e8,_0x4c3225:0x1e7,_0x1549d:0x1c8,_0x82ecec:0x153,_0x486357:0x212,_0x26a931:0x1d8,_0xb776d5:0x1a8,_0x19b021:0x16f,_0x414e2e:0x1a3,_0x38cb0b:0x19f,_0x2fd050:0x11a,_0x35d4fc:0x100,_0x1bda8f:0x150,_0x6f15cb:0x104,_0x2b8660:0x1cf,_0xdfc6d4:0x1d6,_0x2ab524:0x132,_0x237d14:0xcf,_0x34327b:0x1db,_0x5e69e6:0xc8,_0x5cf52c:0x65,_0x2dbe14:0xea,_0x55a729:0xfe,_0x604b9e:0x106,_0x3379eb:0x6c},_0x55ce0d={_0x51910d:0xe,_0x3e63d1:0x1e9,_0x5e52df:0x22},_0x2303ab={_0x122396:0x1cd},_0x1a86ea={_0x90cfd0:0xe1,_0x3243be:0x196},_0xc37b39={_0x277a4b:0x1e6};function _0x53cd30(_0x3dbd5b,_0x516651,_0x2e4a28,_0x30742e){return _0x2167b5(_0x3dbd5b-_0xc37b39._0x277a4b,_0x516651,_0x2e4a28-0xa9,_0x2e4a28- -0xac);}const _0x534578={'QnXFU':_0x53cd30(_0x48474c._0x4955fe,_0x48474c._0x5ac978,0x1d6,0x16c),'YXyrQ':_0x53cd30(0xb9,_0x48474c._0x4981bf,_0x48474c._0x2b721e,0xcc),'Iziau':'image/gif','zwMEV':function(_0x2159b7,_0x25f32e,_0x2a3365){return _0x2159b7(_0x25f32e,_0x2a3365);},'CcNbg':function(_0x2821a9,_0x2df315){return _0x2821a9(_0x2df315);},'PJQvY':_0x4165e4(0xae,0x138,_0x48474c._0x23d390,_0x48474c._0xf03262)+_0x4165e4(-_0x48474c._0xdcc9af,_0x48474c._0x23d55a,_0x48474c._0x3b01f6,0x60)+_0x53cd30(_0x48474c._0x1bc0e4,_0x48474c._0xb02e1c,0xdb,0x13c)+_0x53cd30(_0x48474c._0x9d9ca5,0x104,_0x48474c._0x1a4a43,0x16d)+_0x4165e4(0x1ae,_0x48474c._0x39daa5,_0x48474c._0x1395ac,0x121)+_0x53cd30(0x1b9,0x1c2,_0x48474c._0x483d71,_0x48474c._0x24c160)+'.','ciAue':'yiDAv','ruhCv':'Failed\x20to\x20'+_0x53cd30(0x61,_0x48474c._0x316307,_0x48474c._0x53a980,0x130)+_0x4165e4(0x1b9,0x150,0xe6,0x123),'UWFSX':_0x53cd30(_0x48474c._0x4955fe,0x13a,0x1a9,_0x48474c._0xd202)+_0x53cd30(_0x48474c._0x137166,_0x48474c._0x4747b2,_0x48474c._0x1686c3,0x1d3),'diAmd':'User\x20logge'+_0x53cd30(0x1c2,_0x48474c._0x4747b2,_0x48474c._0x432b41,_0x48474c._0x3fde15),'UXUdG':'Logged\x20out'+_0x53cd30(_0x48474c._0x4a5e82,_0x48474c._0x2dfeea,0x1cb,_0x48474c._0x2a7c3b)+_0x53cd30(0x196,0xe6,0x116,_0x48474c._0x4e6c54)},_0x47e2fa=_0x216f76[_0x53cd30(_0x48474c._0x422c35,0x11e,0x14a,_0x48474c._0x598a59)]?.[_0x53cd30(0x130,0x1fb,_0x48474c._0x1b3333,_0x48474c._0x444a6b)],_0x51f279=_0x216f76[_0x53cd30(_0x48474c._0x3be434,_0x48474c._0x4981bf,0x14a,0x16a)]?.[_0x53cd30(0xdf,_0x48474c._0x250e31,_0x48474c._0x9d9ca5,_0x48474c._0x18b9ae)];function _0x4165e4(_0x1c831b,_0x588294,_0x4ff288,_0x467f62){return _0x2167b5(_0x1c831b-_0x1a86ea._0x90cfd0,_0x588294,_0x4ff288-_0x1a86ea._0x3243be,_0x467f62- -0x186);}_0x216f76[_0x53cd30(_0x48474c._0x4fc98b,0x10e,0x14a,0x15b)][_0x4165e4(0xce,-_0x48474c._0x4c32c3,_0x48474c._0x2e7478,_0x48474c._0x11ac2f)](_0x2260aa=>{const _0x34983a={_0x50e274:0x2be,_0x295fbb:0x3e},_0x16ba0c={_0x2b7fbf:0x1ab,_0x26e3bd:0x65},_0x419e29={'sivuT':_0x534578[_0x17d32d(-_0x56ac0e._0x78505,-0x57,-_0x56ac0e._0x54e7a6,-0x45)],'SjCVW':_0x534578[_0x17d32d(-0x65,-0xfb,-_0x56ac0e._0x426554,-_0x56ac0e._0x2900c5)],'PSJUG':_0x534578['Iziau'],'yYjZv':_0x17d32d(-_0x56ac0e._0x2098e0,-0xf5,-0x183,-0x160),'uwBIE':function(_0x152cf1,_0x25da34,_0x2fee80){function _0x4fd879(_0x439b29,_0x19ac2a,_0x5909f7,_0x173bba){return _0x17d32d(_0x439b29,_0x19ac2a-_0x16ba0c._0x2b7fbf,_0x5909f7-_0x16ba0c._0x26e3bd,_0x173bba-0x3e);}return _0x534578[_0x4fd879(-_0x2303ab._0x122396,-0xac,-0x133,-0x163)](_0x152cf1,_0x25da34,_0x2fee80);},'xjpdQ':function(_0x5a3023,_0x171072){return _0x534578['CcNbg'](_0x5a3023,_0x171072);},'IdIac':_0x534578[_0x164710(_0x56ac0e._0x582016,0x136,0x30,0xae)]};if(_0x2260aa){if(_0x534578[_0x17d32d(-0x14b,-_0x56ac0e._0x5d1c5f,-_0x56ac0e._0x161c8f,-_0x56ac0e._0x4b2ec0)]!==_0x534578[_0x17d32d(-0x63,-_0x56ac0e._0x1c7a19,-0xee,-0x182)]){const _0x552199=[_0x419e29['sivuT'],_0x419e29['SjCVW'],_0x419e29['PSJUG'],_0x419e29[_0x164710(0x9,_0x56ac0e._0x5a5626,0x1b,0x9e)]];_0x552199[_0x164710(_0x56ac0e._0x271752,0x18f,0x164,_0x56ac0e._0x1f4729)](_0xb76344[_0x164710(0x90,_0x56ac0e._0x357236,-_0x56ac0e._0x4a3c68,_0x56ac0e._0x298325)])?_0x419e29[_0x17d32d(-_0x56ac0e._0x4d61f8,-_0x56ac0e._0x42f628,-_0x56ac0e._0x49613d,-0x6b)](_0x584b9d,null,!![]):_0x419e29[_0x17d32d(-0x217,-_0x56ac0e._0x209137,-0x1a6,-0x1ce)](_0x48e871,new _0x2bcfae(_0x419e29[_0x17d32d(-0x158,-0x1eb,-0x18f,-_0x56ac0e._0x902648)]));}else{const _0x43c88d={};_0x43c88d['userId']=_0x47e2fa,_0x43c88d['username']=_0x51f279,logger[_0x17d32d(-0x146,-_0x56ac0e._0x4c3225,-_0x56ac0e._0x1549d,-_0x56ac0e._0x82ecec)](_0x534578[_0x17d32d(-0x272,-_0x56ac0e._0x486357,-_0x56ac0e._0x26a931,-_0x56ac0e._0xb776d5)],_0x2260aa,_0x43c88d);const _0x2c71f7={};return _0x2c71f7[_0x164710(0x6d,0x94,0xf,-0x6)]=_0x534578['UWFSX'],_0x2c71f7[_0x17d32d(-_0x56ac0e._0x19b021,-_0x56ac0e._0x414e2e,-_0x56ac0e._0x38cb0b,-0x157)]=_0x534578['ruhCv'],_0xabbddb['status'](0x1a8f*-0x1+0xfcb*-0x2+-0x11*-0x389)[_0x17d32d(-0xf4,-_0x56ac0e._0x2fd050,-0x106,-_0x56ac0e._0x35d4fc)](_0x2c71f7);}}function _0x164710(_0x50418e,_0x298935,_0x5e89e0,_0x5d5bd4){return _0x4165e4(_0x50418e-_0x55ce0d._0x51910d,_0x50418e,_0x5e89e0-_0x55ce0d._0x3e63d1,_0x5d5bd4- -_0x55ce0d._0x5e52df);}const _0xf64634={};_0xf64634[_0x17d32d(-0x1aa,-0x1c7,-_0x56ac0e._0x1bda8f,-0x185)]=_0x47e2fa;function _0x17d32d(_0x5c7ba8,_0x45a1ac,_0xa3a55d,_0x2ca732){return _0x53cd30(_0x5c7ba8-0x119,_0x5c7ba8,_0xa3a55d- -_0x34983a._0x50e274,_0x2ca732-_0x34983a._0x295fbb);}_0xf64634['username']=_0x51f279,logger[_0x164710(0x9e,0x87,_0x56ac0e._0x6f15cb,0xee)](_0x534578[_0x17d32d(-0x199,-_0x56ac0e._0x2b8660,-0x15e,-_0x56ac0e._0xdfc6d4)],_0xf64634),_0xabbddb[_0x17d32d(-0x144,-_0x56ac0e._0x2ab524,-0x157,-_0x56ac0e._0x237d14)+'e']('coder.sid');const _0x42d48d={};_0x42d48d[_0x17d32d(-_0x56ac0e._0x34327b,-0x189,-_0x56ac0e._0x38cb0b,-0x122)]=_0x534578[_0x164710(0x67,0xc6,_0x56ac0e._0x5e69e6,_0x56ac0e._0x5cf52c)],_0xabbddb[_0x17d32d(-_0x56ac0e._0x2dbe14,-_0x56ac0e._0x55a729,-_0x56ac0e._0x604b9e,-_0x56ac0e._0x3379eb)](_0x42d48d);});}),router['get'](_0x50e316(0x308,0x285,0x2a4,0x316),requireAuth,async(_0xfbb69b,_0x5145a2)=>{const _0x323526={_0x737525:0x12f,_0xb1436c:0x1ca,_0x1e1b02:0x1d2,_0x4658da:0xee,_0x489bea:0xab,_0x4d7a90:0x12a,_0x9b33f1:0x123,_0x4afea:0x1ce,_0x2211cd:0x1a5,_0x42cf55:0x1eb,_0x5be363:0x1ac,_0x5b8ae3:0x287,_0x362db3:0x27d,_0x4cd43b:0x1e7,_0x2913b9:0x29e,_0x4c6f87:0x96,_0x5c632a:0xcd,_0x2eefd1:0xdd,_0x414134:0x1ae,_0x4605d3:0x1d9,_0x1509e4:0x226,_0xa0be74:0x26d,_0x271723:0x144,_0x47f885:0x104,_0x10ad31:0x127,_0x20ad34:0x215,_0x3e2065:0x1fc,_0x2191db:0x143,_0x451f86:0x1b3,_0x45d5a7:0x1d9,_0x1c562f:0x1e4,_0x109e72:0x2d6,_0x5c7ce0:0x29f,_0x1029a6:0x290,_0x5b704e:0x27e,_0x3bddad:0x27b,_0x530009:0x2a2,_0x219e74:0x2ba,_0x59f6b3:0x2e2,_0x2a520d:0x347,_0x243136:0xbd,_0x62b46:0xd6,_0x4833f5:0x108,_0xd40d2f:0x262,_0x581080:0x2dc,_0x5d7ad9:0x2b6,_0x2fffdd:0x1f9,_0x3087c1:0x1a5,_0x395a83:0x300,_0xee3be7:0x230,_0x1ce7b5:0x1c2,_0x149309:0x157,_0x2443d7:0x177,_0x3c3c90:0x15a,_0x37e965:0x19c,_0x412b5d:0x13e,_0x29defd:0xf2,_0x555085:0x1b4,_0x20acce:0x139,_0x2bd4a8:0x13b,_0x374bf9:0x1dd,_0x37a306:0x1f5,_0x55f1a5:0x1f1,_0x373815:0x1c6,_0x401072:0x16e,_0x5889e5:0x18a,_0x52048a:0x119,_0x21be34:0x243,_0x23cd0a:0x21b,_0x222ac5:0x31a,_0xd50f05:0x1a7,_0x47131f:0x143,_0x209199:0x146,_0x33e027:0x11f,_0x528375:0x1b6,_0x4dcd4b:0x15c,_0x5aabc3:0x2cd,_0x32ed7d:0x284,_0x538ecc:0x1d0,_0x3378e8:0x201,_0x2dd570:0x1d6,_0x3c7b47:0x29a,_0x312f44:0x1e1,_0x4e1998:0x1fa,_0x220299:0x269,_0xbd8f69:0x1e0,_0x32050e:0x156,_0x2aa3b6:0x191,_0x14b4a5:0x10f,_0x41f6c1:0x101,_0x325bdf:0xd9,_0x513f2d:0x24b,_0x44bcda:0x22f,_0xd5a42c:0x1c9,_0x902f0f:0x230,_0x2cdb44:0x1ce,_0x117199:0x29d,_0x19ac82:0x131,_0x4b1034:0x110,_0x4b183d:0x11c,_0x250faa:0x160,_0x288181:0x18d,_0x461003:0x21a,_0x4e9335:0x2cd,_0x40d1f5:0x109,_0x3113d1:0x262,_0x7b62b0:0x2eb,_0x559673:0x1f4,_0x14582f:0x262,_0x381bcd:0x2fc,_0x24f6ce:0x2e9,_0x39a0b1:0x1f8,_0x5a9b5f:0x17b,_0x19bebc:0x17c,_0x37b674:0xf6,_0x58c661:0x160,_0x36861f:0x16b,_0x322256:0x1b1,_0x30e37a:0x1c8,_0x128d9d:0x1cb,_0x582039:0x188,_0xc56803:0x16e,_0x501267:0x1b8,_0x33dc24:0x26d,_0x10e9c4:0x263,_0x3c15b4:0x241,_0x4773a3:0x1b3,_0x563061:0x171,_0x2f14e0:0x23a,_0x2a8025:0x1ff,_0x4204c4:0x2be,_0x2cc610:0x1fd,_0x38447e:0x17e,_0x5eed9f:0x99,_0x6eff4e:0xe7,_0x46cb84:0x13c,_0x3a07b3:0x1c1,_0x4fec24:0x17b,_0x451b1f:0xba,_0xa83a95:0x1b8,_0x3b28c5:0x250,_0x4c342c:0x1e5,_0x367341:0x237,_0x2357c7:0x23c,_0x4d4c57:0x1bf,_0x172ab5:0x145,_0x64871b:0x169,_0x2e2546:0x175,_0x41edf6:0x288,_0x7aaf09:0x21c,_0x38d166:0x257,_0x396443:0x149,_0x3d677e:0x131,_0x462e8c:0x1cd,_0xb99181:0x1d3,_0x31dfcb:0x1b8,_0x1db4e5:0x1dc,_0x5958d1:0x202,_0x7f96d1:0x21e,_0x32e871:0x2ac,_0x2462ec:0x28f,_0x2a9356:0x1db,_0x1258ca:0x1ff,_0x14de70:0x261,_0x2a461c:0xe4,_0x48e685:0x152,_0x599e62:0x103,_0x1857fd:0xb2,_0x4d7960:0x1a0,_0x27bde9:0x295,_0x32cfce:0x280,_0xa122ef:0x2f5,_0x1689e3:0x208,_0x458e01:0x20c,_0x507b67:0x297,_0x28202a:0x222,_0x1bb222:0x297,_0x19e939:0x258,_0x249c0e:0x2a0,_0x537d38:0xbb,_0x2baacd:0x198,_0x4aa009:0x1d3,_0x4c8681:0x1ff,_0x3a8fca:0x219,_0x3e5067:0x18e,_0x393bbd:0x1fe,_0x532a12:0x1b8,_0x14405d:0x244,_0x13f779:0x10a,_0x32cfcd:0x141,_0xf4d94c:0x172,_0x539577:0x160,_0x12c155:0x1b8,_0x49968d:0x20a,_0x3446d2:0x220,_0x335377:0x23f,_0x14e458:0x1dd,_0x318d3c:0x182,_0x3fc217:0x277,_0x319f94:0x1ad,_0x5669a2:0x18a,_0x37d2d3:0x204,_0x11d258:0x218,_0x51f489:0x24d},_0x3b1e08={_0x27220a:0x1f1},_0x3b5f90={_0x4a0572:0xaa,_0x191237:0x123},_0x36b99d={'JGVwY':'Failed\x20to\x20'+'save\x20sessi'+'on','uZCZw':'Failed\x20to\x20'+_0x68ced9(0xe2,0x1b8,0x13e,_0x323526._0x737525)+_0x68ced9(0x287,_0x323526._0xb1436c,_0x323526._0x1e1b02,0x207),'UMGeD':_0x68ced9(_0x323526._0x4658da,_0x323526._0x489bea,_0x323526._0x4d7a90,_0x323526._0x9b33f1)+_0x4fa7e4(_0x323526._0x4afea,_0x323526._0x2211cd,_0x323526._0x42cf55,_0x323526._0x5be363)+_0x4fa7e4(_0x323526._0x5b8ae3,_0x323526._0x362db3,_0x323526._0x4cd43b,_0x323526._0x2913b9),'JgJro':_0x68ced9(_0x323526._0x4c6f87,0xe7,_0x323526._0x5c632a,_0x323526._0x2eefd1)+_0x4fa7e4(0x213,0x2aa,0x2f5,0x31a)+'d','pZxEh':_0x68ced9(0x1f2,0x235,0x238,_0x323526._0x414134)+_0x68ced9(0x156,0x162,_0x323526._0x4605d3,0x1d3)+_0x4fa7e4(0x18a,_0x323526._0x1509e4,0x24d,_0x323526._0xa0be74),'pBOIg':_0x68ced9(0x160,0x52,_0x323526._0x271723,0xeb)+_0x68ced9(_0x323526._0x47f885,0x13c,_0x323526._0x10ad31,0x166)+_0x68ced9(_0x323526._0x20ad34,_0x323526._0x3e2065,_0x323526._0x2191db,_0x323526._0x451f86)+_0x68ced9(0x1eb,_0x323526._0x45d5a7,0x20c,_0x323526._0x1c562f),'XujPT':function(_0x16ac3e,_0x44715b){return _0x16ac3e(_0x44715b);},'EUMIH':function(_0x586fdc,_0x239ba9){return _0x586fdc!==_0x239ba9;},'nXXqs':'cGnRp','dpOHK':function(_0x5bb90b,_0x18484b){return _0x5bb90b===_0x18484b;},'HZTAP':_0x4fa7e4(_0x323526._0x109e72,_0x323526._0x5c7ce0,_0x323526._0x1029a6,0x330),'vVkrv':'xsyai','YXWHj':function(_0x1a84a6,_0xfeee28,_0x4d9a63){return _0x1a84a6(_0xfeee28,_0x4d9a63);},'NPsDt':'environmen'+'ts:manage','Gkkzf':function(_0x3b5f2c,_0x3b21c7,_0x4f1930){return _0x3b5f2c(_0x3b21c7,_0x4f1930);},'vNIVD':'environmen'+_0x4fa7e4(_0x323526._0x5b704e,_0x323526._0x3bddad,_0x323526._0x530009,_0x323526._0x219e74)+_0x4fa7e4(0x291,0x2ad,_0x323526._0x59f6b3,_0x323526._0x2a520d),'qHbNi':function(_0x1b7a89,_0x34b6d5,_0x54f903,_0x5c188c){return _0x1b7a89(_0x34b6d5,_0x54f903,_0x5c188c);},'UzWik':_0x68ced9(_0x323526._0x243136,_0x323526._0x62b46,0xf9,_0x323526._0x4833f5)+'te','utqYf':function(_0x26b5b3,_0x1d38b0){return _0x26b5b3>_0x1d38b0;},'bStkN':function(_0x1954ca,_0x371651,_0x26da16,_0x4ce81c){return _0x1954ca(_0x371651,_0x26da16,_0x4ce81c);},'ErfAV':function(_0x48ac14,_0x4a7b2d){return _0x48ac14||_0x4a7b2d;},'VPIHq':function(_0x3f0ab5,_0x1d3cdc){return _0x3f0ab5||_0x1d3cdc;},'fmqNc':function(_0x3a945e,_0x4374f0){return _0x3a945e||_0x4374f0;}};function _0x4fa7e4(_0x33124d,_0x2f32a5,_0x4183ed,_0x5ee11d){return _0x50e316(_0x4183ed,_0x2f32a5- -_0x3b5f90._0x4a0572,_0x4183ed-_0x3b5f90._0x191237,_0x5ee11d-0x1ac);}function _0x68ced9(_0x5cf00e,_0x492775,_0x55fb58,_0x24c3a7){return _0x50e316(_0x5cf00e,_0x24c3a7- -0x155,_0x55fb58-_0x3b1e08._0x27220a,_0x24c3a7-0xe8);}try{const _0x5b4922=await _0x36b99d[_0x4fa7e4(0x31c,0x2a5,0x2c8,_0x323526._0xd40d2f)](findUserById,_0xfbb69b['user']['id']);let _0x2b573f=![],_0x8978aa=![],_0x1c8341=![],_0x49a1c7=![],_0x1ade63=![],_0x518249=![],_0x5d20e4=![],_0x1b0898=![];try{if(_0x36b99d['EUMIH'](_0x36b99d[_0x4fa7e4(_0x323526._0x581080,_0x323526._0x5d7ad9,0x296,0x325)],_0x68ced9(0x25f,_0x323526._0x2fffdd,_0x323526._0x3087c1,0x1db))){_0x2b573f=await _0x36b99d[_0x4fa7e4(0x223,0x2a5,_0x323526._0x395a83,0x2c1)](hasAllPermissions,_0xfbb69b['user']['id']);if(!_0x2b573f){if(_0x36b99d[_0x68ced9(0x155,_0x323526._0xee3be7,0x209,_0x323526._0x1ce7b5)](_0x36b99d[_0x68ced9(_0x323526._0x149309,0x11a,0x154,_0x323526._0x2443d7)],_0x36b99d[_0x68ced9(_0x323526._0x3c3c90,0x1ec,0x12d,_0x323526._0x37e965)])){_0x39bedd[_0x68ced9(0x141,0x8f,0x16f,0x109)](_0x36b99d[_0x68ced9(_0x323526._0x412b5d,0x1fe,_0x323526._0x29defd,0x16f)],_0x12ab22);const _0x2b3650={};return _0x2b3650[_0x4fa7e4(0x128,_0x323526._0x555085,_0x323526._0x20acce,_0x323526._0x2bd4a8)]='Login\x20fail'+'ed',_0x2b3650[_0x4fa7e4(0x162,_0x323526._0x374bf9,0x16d,_0x323526._0x37a306)]=_0x36b99d[_0x4fa7e4(0x25f,_0x323526._0x55f1a5,0x279,_0x323526._0x373815)],_0x51fc25[_0x4fa7e4(_0x323526._0x401072,_0x323526._0x5889e5,_0x323526._0x52048a,0x121)](0x3e1*0x1+-0x20d8+0x1eeb)[_0x4fa7e4(0x2bc,0x276,0x218,0x2cf)](_0x2b3650);}else{_0x8978aa=await _0x36b99d[_0x4fa7e4(0x1df,0x1de,_0x323526._0x21be34,_0x323526._0x23cd0a)](hasPermissionOnAnyEnvironment,_0xfbb69b['user']['id'],_0x36b99d['NPsDt']),_0x1c8341=await _0x36b99d[_0x4fa7e4(0x22b,0x299,0x2c8,_0x323526._0x222ac5)](hasPermissionOnAnyEnvironment,_0xfbb69b['user']['id'],_0x36b99d['vNIVD']),_0x49a1c7=await _0x36b99d[_0x4fa7e4(0x166,0x1cc,0x218,_0x323526._0xd50f05)](hasPermission,_0xfbb69b[_0x68ced9(0x18b,_0x323526._0x47131f,_0x323526._0x209199,0x1b8)]['id'],_0x36b99d[_0x68ced9(_0x323526._0x33e027,_0x323526._0x528375,_0x323526._0x62b46,_0x323526._0x4dcd4b)],null),_0x1ade63=await _0x36b99d['Gkkzf'](hasPermissionOnAnyTeam,_0xfbb69b[_0x4fa7e4(_0x323526._0x5aabc3,0x263,0x266,_0x323526._0x32ed7d)]['id'],'teams:mana'+'ge'),_0x5d20e4=await hasPermissionOnAnyEnvironment(_0xfbb69b[_0x68ced9(0x1c6,_0x323526._0x538ecc,0x158,0x1b8)]['id'],_0x4fa7e4(_0x323526._0x3378e8,0x251,_0x323526._0x2dd570,_0x323526._0x3c7b47)+_0x4fa7e4(_0x323526._0x312f44,0x240,0x1f2,0x1c3));const _0x1d092a=await _0x36b99d[_0x68ced9(0x1e4,0x20e,0x28f,_0x323526._0x4e1998)](getVisibleEnvironments,_0xfbb69b['user']['id']);_0x518249=_0x36b99d[_0x4fa7e4(_0x323526._0x219e74,_0x323526._0x220299,_0x323526._0xbd8f69,0x241)](_0x1d092a[_0x4fa7e4(_0x323526._0x32050e,0x186,_0x323526._0x2aa3b6,_0x323526._0x14b4a5)],-0x6fb*-0x1+0xaaa+-0x1*0x11a5),_0x1b0898=await _0x36b99d[_0x68ced9(_0x323526._0x41f6c1,0x126,_0x323526._0x325bdf,0xfb)](hasPermission,_0xfbb69b['user']['id'],'settings:v'+_0x4fa7e4(_0x323526._0x513f2d,_0x323526._0x44bcda,0x22c,0x26e),null);}}}else{const _0x229809={};_0x229809[_0x4fa7e4(_0x323526._0x23cd0a,0x21c,0x182,0x257)]=_0x44f6f3,_0x2d1502[_0x4fa7e4(0x164,_0x323526._0xd5a42c,_0x323526._0x902f0f,_0x323526._0x2cdb44)](_0x36b99d[_0x4fa7e4(_0x323526._0x117199,0x298,0x317,0x205)],_0x229809);const _0x316a7a={};return _0x316a7a['error']=_0x36b99d[_0x68ced9(_0x323526._0x19ac82,_0x323526._0x412b5d,0xcd,0xea)],_0x316a7a[_0x68ced9(0xed,0xf9,_0x323526._0x4b1034,0x132)]=_0x36b99d[_0x4fa7e4(0x242,0x1b0,_0x323526._0x4b183d,_0x323526._0x555085)],_0x2a0e50[_0x4fa7e4(_0x323526._0x250faa,0x18a,0x1a7,_0x323526._0x288181)](0x67b+-0x1a98+0x15ae)[_0x4fa7e4(0x2ca,0x276,_0x323526._0x461003,_0x323526._0x4e9335)](_0x316a7a);}}catch(_0x2a1fb4){const _0x3ec913={};_0x3ec913[_0x68ced9(0x85,0x119,0x103,_0x323526._0x40d1f5)]=_0x2a1fb4[_0x68ced9(0xd3,0x148,0xad,0x132)],_0x3ec913[_0x4fa7e4(0x298,_0x323526._0x3113d1,0x2c6,_0x323526._0x7b62b0)]=_0x2a1fb4[_0x4fa7e4(_0x323526._0x559673,_0x323526._0x14582f,_0x323526._0x381bcd,_0x323526._0x24f6ce)],logger[_0x4fa7e4(_0x323526._0x39a0b1,0x1b4,0x21f,0x1e0)](_0x68ced9(_0x323526._0x4b183d,_0x323526._0x5a9b5f,_0x323526._0x19bebc,_0x323526._0x37b674)+'\x20capabilit'+_0x68ced9(_0x323526._0x58c661,0x160,0x1be,_0x323526._0x36861f)+_0x4fa7e4(0x1a4,0x185,_0x323526._0x322256,0x1d7)+'me',_0x3ec913);}_0x5145a2[_0x68ced9(_0x323526._0x30e37a,0x1c5,0x14d,_0x323526._0x128d9d)]({'user':{'id':_0xfbb69b[_0x68ced9(_0x323526._0x582039,0x12d,_0x323526._0xc56803,_0x323526._0x501267)]['id'],'username':_0xfbb69b[_0x4fa7e4(_0x323526._0x33dc24,_0x323526._0x10e9c4,0x24c,_0x323526._0x3c15b4)][_0x68ced9(0x104,0x15f,_0x323526._0x4773a3,_0x323526._0x563061)],'email':_0xfbb69b[_0x4fa7e4(_0x323526._0x2f14e0,_0x323526._0x10e9c4,0x2cb,_0x323526._0x2a8025)]['email'],'name':_0xfbb69b[_0x4fa7e4(0x1e5,_0x323526._0x10e9c4,0x239,_0x323526._0x4204c4)][_0x4fa7e4(_0x323526._0xee3be7,_0x323526._0x2cc610,_0x323526._0x38447e,0x1d3)],'hasAllPermissions':_0x2b573f,'hasEnvironmentsManage':_0x36b99d[_0x68ced9(_0x323526._0x5eed9f,0x78,0xa2,_0x323526._0x6eff4e)](_0x2b573f,_0x8978aa),'hasEnvironmentsManageAccess':_0x36b99d[_0x4fa7e4(_0x323526._0x46cb84,0x192,0x1b0,0x17b)](_0x2b573f,_0x1c8341),'canCreateUsers':_0x2b573f||_0x49a1c7,'canManageTeams':_0x36b99d[_0x68ced9(0x261,_0x323526._0x3a07b3,_0x323526._0x4fec24,0x1e5)](_0x2b573f,_0x1ade63),'hasEnvironmentGit':_0x36b99d[_0x68ced9(0xdb,0x98,_0x323526._0x451b1f,0xe7)](_0x2b573f,_0x5d20e4),'hasEnvironmentBindings':_0x36b99d[_0x68ced9(_0x323526._0xa83a95,_0x323526._0x3b28c5,0x1f6,_0x323526._0x4c342c)](_0x2b573f,_0x518249),'hasSettingsView':_0x36b99d['fmqNc'](_0x2b573f,_0x1b0898),'ssh_username':_0xfbb69b[_0x68ced9(0x15e,_0x323526._0x367341,0x185,_0x323526._0xa83a95)][_0x68ced9(0x1da,_0x323526._0x2357c7,_0x323526._0x4afea,0x1cf)+'me'],'avatar':_0x5b4922?.[_0x68ced9(_0x323526._0x4d4c57,0xfe,0xb3,_0x323526._0x172ab5)]||null,'preferences':_0x5b4922?.[_0x68ced9(_0x323526._0x737525,0x178,_0x323526._0x64871b,_0x323526._0x2e2546)+'s']||{}}});}catch(_0x4db20b){if(_0x36b99d[_0x4fa7e4(_0x323526._0x41edf6,0x20a,0x278,_0x323526._0x7aaf09)](_0x68ced9(_0x323526._0x38d166,_0x323526._0x396443,_0x323526._0x3d677e,_0x323526._0x462e8c),_0x4fa7e4(0x26d,0x204,0x235,0x23c))){const _0x4284cb={};_0x4284cb['id']=_0xfbb69b[_0x68ced9(0x1bf,_0x323526._0xb99181,0x17e,_0x323526._0x31dfcb)]['id'],_0x4284cb[_0x4fa7e4(_0x323526._0x1db4e5,_0x323526._0x7aaf09,0x1f9,0x1dd)]=_0xfbb69b[_0x68ced9(0x17c,0x15c,_0x323526._0x5958d1,0x1b8)][_0x4fa7e4(0x297,0x21c,_0x323526._0x7f96d1,_0x323526._0x32e871)],_0x4284cb['email']=_0xfbb69b[_0x4fa7e4(_0x323526._0x2462ec,0x263,_0x323526._0x2a9356,0x280)][_0x68ced9(0x1ff,_0x323526._0x1258ca,0x127,0x1b9)],_0x4284cb['name']=_0xfbb69b[_0x4fa7e4(0x2b3,0x263,_0x323526._0x14de70,0x21c)][_0x68ced9(_0x323526._0x1ce7b5,0x113,_0x323526._0x2a461c,_0x323526._0x48e685)],_0x4284cb[_0x68ced9(_0x323526._0x599e62,_0x323526._0x1857fd,_0x323526._0x4d7960,0x10b)+_0x4fa7e4(_0x323526._0x27bde9,_0x323526._0x32cfce,0x2fb,0x217)]=![],_0x4284cb[_0x4fa7e4(0x21e,0x297,0x30f,_0x323526._0xa122ef)+_0x4fa7e4(_0x323526._0x1689e3,0x1eb,0x1a4,_0x323526._0x458e01)+'e']=![],_0x4284cb[_0x4fa7e4(0x320,_0x323526._0x507b67,0x2ae,_0x323526._0x28202a)+'mentsManag'+'eAccess']=![],_0x4284cb['canCreateU'+'sers']=![],_0x4284cb['canManageT'+'eams']=![],_0x4284cb[_0x4fa7e4(0x225,_0x323526._0x1bb222,0x211,0x22a)+_0x4fa7e4(_0x323526._0x19e939,_0x323526._0x249c0e,_0x323526._0x2913b9,0x2f6)]=![],_0x4284cb['hasEnviron'+_0x68ced9(0x159,0x150,_0x323526._0x537d38,0xe4)+'gs']=![],_0x4284cb[_0x68ced9(_0x323526._0x555085,_0x323526._0x2baacd,_0x323526._0x4aa009,0x163)+'sView']=![],_0x4284cb[_0x68ced9(_0x323526._0x4c8681,_0x323526._0x3a8fca,_0x323526._0x3e5067,0x1cf)+'me']=_0xfbb69b[_0x68ced9(0x1e8,_0x323526._0x393bbd,0x174,_0x323526._0x532a12)][_0x68ced9(0x231,0x1dd,_0x323526._0x14405d,0x1cf)+'me'],_0x4284cb[_0x68ced9(_0x323526._0x13f779,_0x323526._0x32cfcd,_0x323526._0xf4d94c,0x145)]=null,_0x4284cb['preference'+'s']={};const _0x176160={};_0x176160[_0x68ced9(_0x323526._0x3e2065,_0x323526._0x539577,_0x323526._0x559673,_0x323526._0x12c155)]=_0x4284cb,_0x5145a2['json'](_0x176160);}else{const _0xbc28d5={};return _0xbc28d5['error']=_0x68ced9(0x18b,0x1b2,_0x323526._0x49968d,_0x323526._0x2cdb44)+_0x4fa7e4(0x28b,0x1f4,_0x323526._0x3446d2,0x23a),_0xbc28d5[_0x4fa7e4(_0x323526._0x335377,_0x323526._0x14e458,0x144,0x17f)]=_0x36b99d[_0x4fa7e4(_0x323526._0x318d3c,0x1ee,_0x323526._0x3fc217,0x1a0)],_0xd46d8f[_0x4fa7e4(_0x323526._0x319f94,_0x323526._0x5669a2,_0x323526._0x37d2d3,_0x323526._0x11d258)](0xe49+0x1ff1*-0x1+0x1338)[_0x4fa7e4(_0x323526._0x51f489,0x276,0x24f,0x2c3)](_0xbc28d5);}}}),router[_0x50e316(0x22e,0x235,0x224,0x22a)](_0x50e316(0x23a,0x24c,0x2e8,0x28b),async(_0x59f773,_0x19e45f)=>{const _0x48d9b2={_0x108174:0x297,_0x3780d9:0x26e,_0x2e1e88:0x24b,_0x1842e4:0x2ae,_0xd91ac:0x308,_0x2360c6:0x2cb,_0xb65387:0x5c,_0x3342e8:0x8c,_0x26f3d0:0x75,_0x8f74d9:0x1c,_0x4453ae:0x349,_0x1db14e:0x35,_0x4bbf85:0x229,_0x34db1f:0x2b7,_0x531471:0x212,_0x1419d6:0xbc,_0x5c55c6:0xd8,_0x5666cb:0xf9,_0x7e1c47:0x17,_0x3bb666:0x35,_0x1647cf:0x348,_0x595131:0x36a,_0x358696:0x2de,_0xacdb2f:0x2ed,_0x3af1d9:0x250,_0x17af4b:0x236,_0x5cb0f6:0x299,_0x32538c:0x32c,_0x543af6:0x259,_0x341359:0x283,_0x33bce9:0x2c3,_0x411473:0x2b9,_0x1b0e17:0x288,_0x70c768:0x256,_0x1334ce:0x347,_0x51809f:0x47,_0x5c1770:0x84,_0x379f1f:0xa2,_0x2053f6:0x28c,_0x2f317f:0x53,_0x20d4e0:0x2d,_0x4507df:0x46,_0x274f2a:0x2e,_0x80581d:0x74,_0x1367fb:0xab,_0x144984:0x2d6,_0x424696:0x4,_0x5a5a91:0x5d,_0x465fe6:0x7a,_0x381e5b:0x5c,_0x3fcb14:0x98,_0x5060aa:0x2bc,_0x15d198:0x32a,_0x39b8e2:0xac,_0x54594e:0x11a,_0x4380eb:0x54,_0xf01e3:0xb,_0x52f403:0xa4,_0x5b6c95:0x13a,_0x287629:0x3e,_0x25b060:0x14,_0x50d83e:0x10,_0x160f65:0x39b,_0x1778e8:0x35d,_0x534eb8:0x274,_0x1e8c8c:0x2b8,_0x2b8f3f:0x39f,_0x247b09:0x28f,_0x53728b:0x28a,_0x50c223:0xd6,_0x29f3c7:0x15f,_0x526850:0x92,_0x19b113:0x2a9,_0x2e53c1:0x31e,_0x1e21a7:0x5,_0x179326:0x2b,_0x28914d:0x39,_0x27dad8:0x36,_0x2506b8:0xa5,_0x53da66:0x2b3,_0x5992e0:0x2bb,_0x38c3fa:0x2c9,_0x2de8c9:0x91,_0x2bdcd7:0x6c,_0xe999c0:0x30,_0x3dfddc:0x24,_0x5757a6:0x2db,_0x3d37f0:0x36e,_0x3356a2:0x17,_0x484d77:0x1e,_0x4a50af:0x6,_0x43c243:0xba,_0x4c2455:0x12a,_0x20d8cf:0x210,_0x4ec99f:0x3,_0x4a259b:0x61,_0x4d0f0c:0x322,_0x25675d:0x2cf,_0x49ffc5:0x237,_0x183015:0x394,_0x5f365e:0x360,_0x276e7e:0x26d,_0x18069e:0x2be,_0x26f58e:0x138,_0x7b51b0:0x120,_0x144cee:0x25,_0xeea3f0:0x2cc,_0x7da477:0x21d,_0x1f3114:0x297,_0x358c94:0x68,_0x5e8b3c:0xdb,_0x3d85fc:0x96,_0x1708a2:0x48,_0x3d375e:0xcb},_0x23a268={_0x438f59:0x1e0,_0x15a73a:0xcc},_0x183892={'NkzTV':'CLI\x20login\x20'+_0x6812a3(_0x48d9b2._0x108174,0x29e,0x2f5,_0x48d9b2._0x3780d9),'PXhHw':function(_0x35b372,_0x30a8f0){return _0x35b372||_0x30a8f0;},'sVbdF':'Missing\x20cr'+_0x6812a3(_0x48d9b2._0x2e1e88,_0x48d9b2._0x2e1e88,0x2bd,_0x48d9b2._0x1842e4),'xkVLW':'Username\x20a'+_0x6812a3(0x2eb,0x27d,_0x48d9b2._0xd91ac,_0x48d9b2._0x2360c6)+_0x444c67(_0x48d9b2._0xb65387,_0x48d9b2._0x3342e8,_0x48d9b2._0x26f3d0,_0x48d9b2._0x8f74d9)+_0x6812a3(0x374,0x3cd,0x369,_0x48d9b2._0x4453ae),'cmTrp':_0x444c67(0x2,-_0x48d9b2._0x1db14e,0x5d,0x37),'FXwyC':'fQhoD','dDXte':function(_0x26c03e,_0x459828,_0x52e5fa){return _0x26c03e(_0x459828,_0x52e5fa);},'TMKrT':_0x6812a3(_0x48d9b2._0x4bbf85,_0x48d9b2._0x34db1f,_0x48d9b2._0x531471,0x242)+_0x444c67(_0x48d9b2._0x1419d6,_0x48d9b2._0x5c55c6,0x10b,_0x48d9b2._0x5666cb)+'d','ubSEA':function(_0x184379,_0x461d72,_0x1d9260){return _0x184379(_0x461d72,_0x1d9260);},'VZUQz':_0x444c67(-0x5e,_0x48d9b2._0x7e1c47,0x4d,_0x48d9b2._0x3bb666),'pnlVE':_0x6812a3(0x2df,_0x48d9b2._0x1647cf,_0x48d9b2._0x595131,_0x48d9b2._0x358696)+_0x6812a3(0x21c,0x2cf,_0x48d9b2._0xacdb2f,0x284),'HPBMB':_0x6812a3(0x38b,0x2d4,0x2ab,0x347)+_0x6812a3(_0x48d9b2._0x3af1d9,_0x48d9b2._0x17af4b,0x306,_0x48d9b2._0x5cb0f6),'BqdHA':_0x6812a3(0x302,_0x48d9b2._0x32538c,_0x48d9b2._0x543af6,0x2b4)+_0x6812a3(_0x48d9b2._0x341359,_0x48d9b2._0x33bce9,0x27c,_0x48d9b2._0x411473)+_0x6812a3(_0x48d9b2._0x1b0e17,0x2bc,0x2af,_0x48d9b2._0x70c768)+_0x6812a3(0x2f2,0x330,_0x48d9b2._0x1334ce,0x360)},{username:_0x203773,password:_0x272e05}=_0x59f773['body'];function _0x444c67(_0x4dc046,_0x2ef7dd,_0x52e2a3,_0x51da31){return _0x50e316(_0x4dc046,_0x2ef7dd- -0x27c,_0x52e2a3-0x15c,_0x51da31-0x119);}function _0x6812a3(_0x1a5985,_0x15660e,_0x154579,_0x2b54c2){return _0x2167b5(_0x1a5985-_0x23a268._0x438f59,_0x1a5985,_0x154579-0x1d3,_0x2b54c2-_0x23a268._0x15a73a);}if(_0x183892[_0x444c67(0xd8,0x55,0x30,0x1c)](!_0x203773,!_0x272e05)){const _0x357eb4={};return _0x357eb4[_0x444c67(-_0x48d9b2._0x51809f,-0x1e,-0x81,-0x6d)]=_0x183892['sVbdF'],_0x357eb4['message']=_0x183892[_0x444c67(0x107,_0x48d9b2._0x5c1770,_0x48d9b2._0x379f1f,0x4e)],_0x19e45f[_0x6812a3(0x245,_0x48d9b2._0x2053f6,0x22c,0x244)](0x1*0x563+0x8*0x313+-0x1c6b)[_0x444c67(0x1f,0xa4,0x32,_0x48d9b2._0x2f317f)](_0x357eb4);}try{if(_0x183892[_0x444c67(_0x48d9b2._0x20d4e0,-_0x48d9b2._0x4507df,_0x48d9b2._0x274f2a,-_0x48d9b2._0x80581d)]!==_0x183892[_0x444c67(-0x2,-0x13,0x3e,-0x99)]){const _0x3359c9=await _0x183892[_0x444c67(0x4d,-0x18,0x37,-_0x48d9b2._0x1367fb)](validatePassword,_0x203773,_0x272e05);if(!_0x3359c9){const _0x23fd46={};_0x23fd46[_0x6812a3(0x353,0x342,0x250,_0x48d9b2._0x144984)]=_0x203773,logger[_0x6812a3(0x2a0,0x25c,0x2ba,0x283)](_0x444c67(-0x67,-_0x48d9b2._0x424696,_0x48d9b2._0x5a5a91,-_0x48d9b2._0x465fe6)+_0x444c67(_0x48d9b2._0x381e5b,-0x2d,0x36,-_0x48d9b2._0x3fcb14)+_0x444c67(0x48,0xab,0x1b,0x3c),_0x23fd46);const _0x4a6812={};return _0x4a6812[_0x6812a3(_0x48d9b2._0x5060aa,0x29d,0x308,_0x48d9b2._0x3780d9)]=_0x183892['TMKrT'],_0x4a6812[_0x6812a3(0x2ac,_0x48d9b2._0x15d198,0x2b4,0x297)]='Invalid\x20us'+_0x444c67(0x10d,0xac,_0x48d9b2._0x39b8e2,_0x48d9b2._0x54594e)+_0x444c67(0x30,_0x48d9b2._0x4380eb,-_0x48d9b2._0xf01e3,0x51),_0x19e45f['status'](-0xe5*-0xe+0x1a6b*0x1+-0x1a0*0x17)[_0x444c67(0x107,_0x48d9b2._0x52f403,0xec,_0x48d9b2._0x5b6c95)](_0x4a6812);}const _0x3b8424=await _0x183892[_0x444c67(0xa8,_0x48d9b2._0x287629,-_0x48d9b2._0x25b060,_0x48d9b2._0x50d83e)](createApiKey,_0x3359c9['id'],_0x183892[_0x6812a3(_0x48d9b2._0x160f65,0x344,0x37f,_0x48d9b2._0x1778e8)]),_0x11bf14={};_0x11bf14['userId']=_0x3359c9['id'],_0x11bf14[_0x6812a3(_0x48d9b2._0x534eb8,_0x48d9b2._0x1e8c8c,0x246,_0x48d9b2._0x144984)]=_0x3359c9['username'],_0x11bf14[_0x6812a3(_0x48d9b2._0x2b8f3f,_0x48d9b2._0x247b09,_0x48d9b2._0x53728b,0x316)]=_0x3b8424['id'],logger[_0x444c67(0xff,_0x48d9b2._0x50c223,_0x48d9b2._0x29f3c7,0x70)](_0x183892['pnlVE'],_0x11bf14);const _0x55f17d={};_0x55f17d['id']=_0x3359c9['id'],_0x55f17d['username']=_0x3359c9['username'],_0x55f17d[_0x444c67(0x44,_0x48d9b2._0x526850,0x27,0x3f)]=_0x3359c9[_0x6812a3(_0x48d9b2._0x19b113,0x33d,0x2cb,_0x48d9b2._0x2e53c1)],_0x55f17d[_0x444c67(-_0x48d9b2._0x1e21a7,_0x48d9b2._0x179326,-_0x48d9b2._0x28914d,_0x48d9b2._0x27dad8)]=_0x3359c9[_0x444c67(0x45,_0x48d9b2._0x179326,-0x18,-0x1f)];const _0x22c52e={};_0x22c52e[_0x444c67(_0x48d9b2._0x2506b8,_0x48d9b2._0xf01e3,_0x48d9b2._0x381e5b,-0x66)]=_0x183892[_0x6812a3(_0x48d9b2._0x53da66,_0x48d9b2._0x5992e0,_0x48d9b2._0x38c3fa,0x293)],_0x22c52e[_0x444c67(0xf8,_0x48d9b2._0x2de8c9,_0x48d9b2._0x2bdcd7,0x75)]=_0x55f17d,_0x22c52e[_0x444c67(0x7b,_0x48d9b2._0xe999c0,_0x48d9b2._0x3dfddc,0xae)]=_0x3b8424[_0x6812a3(_0x48d9b2._0x5757a6,_0x48d9b2._0x3d37f0,0x2f9,0x35e)],_0x19e45f['json'](_0x22c52e);}else{_0x5afa36[_0x444c67(_0x48d9b2._0x3356a2,-_0x48d9b2._0x484d77,_0x48d9b2._0x4a50af,0x43)](_0x183892[_0x444c67(0xed,_0x48d9b2._0x43c243,_0x48d9b2._0x5c1770,_0x48d9b2._0x4c2455)],_0x20423b);const _0x2016f9={};_0x2016f9[_0x6812a3(0x29d,0x2d3,_0x48d9b2._0x20d8cf,0x26e)]=_0x444c67(-_0x48d9b2._0x4ec99f,-0x28,_0x48d9b2._0x4a259b,-0x10)+'ed',_0x2016f9[_0x6812a3(0x32f,_0x48d9b2._0x4d0f0c,0x230,_0x48d9b2._0x108174)]=_0x6812a3(_0x48d9b2._0x25675d,0x2b6,_0x48d9b2._0x49ffc5,0x2b4)+'ccurred\x20du'+_0x6812a3(0x2e2,0x204,0x260,0x256)+_0x6812a3(0x2eb,0x3de,_0x48d9b2._0x183015,_0x48d9b2._0x5f365e),_0x12a4ab[_0x6812a3(_0x48d9b2._0x4bbf85,_0x48d9b2._0x276e7e,_0x48d9b2._0x18069e,0x244)](0x9*-0x277+0x2*0xbfb+0x2d*0x1)[_0x444c67(0xe6,0xa4,0x3c,_0x48d9b2._0x26f58e)](_0x2016f9);}}catch(_0x5bf005){logger['error'](_0x183892[_0x444c67(0x2d,0xba,0x3d,_0x48d9b2._0x7b51b0)],_0x5bf005);const _0x495f61={};_0x495f61[_0x444c67(-0x2a,-_0x48d9b2._0x484d77,-0xb1,0x55)]=_0x444c67(0x16,-0x28,-0x6d,_0x48d9b2._0x144cee)+'ed',_0x495f61[_0x6812a3(0x2f1,_0x48d9b2._0xeea3f0,_0x48d9b2._0x7da477,_0x48d9b2._0x1f3114)]=_0x183892[_0x444c67(_0x48d9b2._0x358c94,0x98,0x46,_0x48d9b2._0x5e8b3c)],_0x19e45f[_0x444c67(-_0x48d9b2._0x3d85fc,-_0x48d9b2._0x1708a2,-_0x48d9b2._0x3d375e,-0xa7)](-0x29*0x1a+0x1b9+0x465)[_0x444c67(_0x48d9b2._0x1db14e,0xa4,0xe1,_0x48d9b2._0x5c55c6)](_0x495f61);}}),router[_0x50e316(0x2df,0x25b,0x232,0x1cf)](_0x2167b5(0x1bd,0x2a0,0x270,0x229),requireAuth,async(_0x3db5dd,_0x1941fc)=>{const _0x539305={_0x9d5c13:0x2e9,_0x33c884:0x323,_0x1b6c77:0x166,_0x1609d2:0xd9,_0x5c8ff0:0x2c7,_0x51a642:0x2fc,_0x3c21dd:0x1a2,_0x2dc48e:0x139,_0x5163f0:0x26e,_0x56637e:0x2a7,_0x57b3fa:0x38a,_0x16490f:0x388,_0x2aba9e:0x37a,_0x3ea626:0x34f,_0x2e24f9:0x390,_0x3b8c02:0x3fe,_0x24ed38:0x37c,_0x4c35d7:0x36f,_0x28ec5c:0x149,_0x27a4e8:0xbf,_0x52b042:0x1be,_0x44c9e2:0x283,_0x1a5fac:0x308,_0x429f3a:0x14f,_0x631522:0x20b,_0x1da1f9:0x198,_0x5938ef:0x30b,_0x3de97a:0x2e9,_0x35156b:0x33f,_0x444585:0x15f,_0x4ab2e2:0x240,_0x4d8ea7:0x1d9,_0x43ccdd:0x1d0,_0x58b5ae:0x3cc,_0x44e1d8:0x412,_0x471bc9:0x36d,_0x54f930:0x2ab,_0x49977d:0x24b,_0x4de37c:0x2d3,_0x5b1f9d:0x427,_0x5a29bd:0x42e,_0x1e31cf:0xe1,_0x7af1b5:0x118,_0x3e1c89:0x300,_0x2e6ed8:0x382,_0x4d0b57:0x245,_0x3a1e61:0x2fe,_0x5c90dc:0x119,_0x3fffd9:0x19e,_0x442acf:0x2ff,_0x57399f:0x36d,_0x5dc118:0x383,_0x4071ae:0x2ec,_0x1e48d2:0x2f9,_0x4171ff:0x2cc,_0x2da67b:0x31c,_0x1b4bee:0x225,_0x47db73:0x195,_0x4f8abd:0x3c1,_0x56c10a:0x344,_0xde0343:0x33f,_0x154ace:0x324,_0x110e00:0x395,_0x51ce7:0x219,_0x3b1afe:0x21a,_0xbfa91d:0x195,_0x37a25c:0x2e5,_0x3c568b:0x322,_0x588b49:0x27d,_0x15f729:0x2c9,_0xb55724:0x286,_0x303aee:0x33c,_0x237eb6:0x2c3},_0x557cec={_0x1c15b4:0x45f,_0xd703f7:0x20},_0x6ad20b={_0x1f50b9:0xad,_0x45a444:0x123};function _0x22d858(_0x49d0d2,_0x267bcb,_0xaf2f93,_0x380d37){return _0x50e316(_0x49d0d2,_0x380d37-0x75,_0xaf2f93-_0x6ad20b._0x1f50b9,_0x380d37-_0x6ad20b._0x45a444);}const _0x269d12={'vFkhw':'Failed\x20to\x20'+_0x22d858(_0x539305._0x9d5c13,_0x539305._0x33c884,0x3a5,0x351)+'tars\x20direc'+_0x34a021(-0x17a,-_0x539305._0x1b6c77,-_0x539305._0x1609d2,-0x170),'vRWqX':function(_0x21471a,_0x5983b7){return _0x21471a===_0x5983b7;},'OTrYq':_0x22d858(0x30d,_0x539305._0x5c8ff0,_0x539305._0x51a642,0x363),'gQvyh':function(_0x4d44c0,_0x50bb05){return _0x4d44c0(_0x50bb05);},'YfEGV':_0x34a021(-_0x539305._0x3c21dd,-_0x539305._0x2dc48e,-0x149,-0x180),'WqsED':_0x22d858(_0x539305._0x5163f0,0x290,_0x539305._0x56637e,0x2f2),'cbrKf':_0x22d858(_0x539305._0x57b3fa,_0x539305._0x16490f,_0x539305._0x2aba9e,_0x539305._0x3ea626)+_0x22d858(_0x539305._0x2e24f9,0x3ff,_0x539305._0x3b8c02,_0x539305._0x24ed38),'aWZnf':_0x22d858(0x340,_0x539305._0x4c35d7,0x3a3,0x350)+'get\x20profil'+'e'};function _0x34a021(_0x74791c,_0x88ca41,_0x5c7348,_0x1c65ae){return _0x50e316(_0x74791c,_0x1c65ae- -_0x557cec._0x1c15b4,_0x5c7348-0xc8,_0x1c65ae-_0x557cec._0xd703f7);}try{if(_0x269d12[_0x34a021(-_0x539305._0x28ec5c,-_0x539305._0x27a4e8,-0x12e,-0x13e)](_0x269d12[_0x34a021(-0x23d,-_0x539305._0x52b042,-_0x539305._0x44c9e2,-0x1f3)],_0x269d12[_0x22d858(0x286,0x2ab,_0x539305._0x1a5fac,0x2e1)])){const _0x4db47f=await _0x269d12[_0x34a021(-_0x539305._0x429f3a,-0x144,-_0x539305._0x631522,-_0x539305._0x1da1f9)](findUserById,_0x3db5dd[_0x22d858(0x2fb,_0x539305._0x5938ef,_0x539305._0x3de97a,0x382)]['id']);if(!_0x4db47f){if(_0x269d12['vRWqX'](_0x269d12[_0x22d858(0x438,0x34e,_0x539305._0x35156b,0x3cd)],_0x269d12[_0x34a021(-_0x539305._0x444585,-_0x539305._0x4ab2e2,-0x1b1,-_0x539305._0x4d8ea7)]))_0x83faae[_0x34a021(-_0x539305._0x4ab2e2,-0x286,-_0x539305._0x43ccdd,-0x201)](_0x269d12[_0x22d858(_0x539305._0x58b5ae,_0x539305._0x44e1d8,_0x539305._0x471bc9,_0x539305._0x2e24f9)],_0x1cc32b);else{const _0x1419a9={};return _0x1419a9[_0x22d858(0x2e2,_0x539305._0x54f930,_0x539305._0x49977d,_0x539305._0x4de37c)]=_0x269d12['cbrKf'],_0x1941fc['status'](0x125a+0x334+-0x2*0x9fd)[_0x22d858(_0x539305._0x5b1f9d,_0x539305._0x5a29bd,0x2fd,0x395)](_0x1419a9);}}const _0x3bda3e={};_0x3bda3e[_0x34a021(-0xca,-0x15c,-_0x539305._0x1e31cf,-0x156)+_0x34a021(-0x165,-0x176,-_0x539305._0x429f3a,-_0x539305._0x7af1b5)]=!![],_0x3bda3e['email_comm'+_0x22d858(_0x539305._0x3e1c89,0x388,_0x539305._0x2e6ed8,0x369)+_0x34a021(-0x171,-_0x539305._0x4d0b57,-0x192,-0x1dd)]=!![];const _0x50fa1a={};_0x50fa1a['id']=_0x4db47f['id'],_0x50fa1a[_0x22d858(_0x539305._0x3a1e61,0x2ad,0x31b,0x33b)]=_0x4db47f['username'],_0x50fa1a[_0x34a021(-_0x539305._0x5c90dc,-0x10c,-_0x539305._0x3fffd9,-0x151)]=_0x4db47f[_0x22d858(0x411,_0x539305._0x442acf,_0x539305._0x57399f,_0x539305._0x5dc118)],_0x50fa1a[_0x22d858(_0x539305._0x4071ae,0x2f0,_0x539305._0x1e48d2,0x31c)]=_0x4db47f[_0x22d858(0x2b0,0x2a9,_0x539305._0x4171ff,_0x539305._0x2da67b)],_0x50fa1a['avatar']=_0x4db47f['avatar']||null,_0x50fa1a[_0x34a021(-0x1da,-_0x539305._0x1b4bee,-0x100,-_0x539305._0x47db73)+'s']=_0x4db47f[_0x22d858(_0x539305._0x4f8abd,_0x539305._0x56c10a,0x2c8,_0x539305._0xde0343)+'s']||_0x3bda3e;const _0xb9faa={};_0xb9faa[_0x22d858(0x2ad,0x3a3,0x377,_0x539305._0x154ace)]=_0x50fa1a,_0x1941fc[_0x22d858(0x3cc,0x337,0x37a,_0x539305._0x110e00)](_0xb9faa);}else _0x5e58e7[_0x34a021(-_0x539305._0x51ce7,-0x208,-_0x539305._0x3b1afe,-_0x539305._0xbfa91d)+'s']=_0x2208d4;}catch(_0x34c1b8){logger[_0x22d858(_0x539305._0x37a25c,_0x539305._0x3c568b,_0x539305._0x588b49,_0x539305._0x4de37c)](_0x269d12['aWZnf'],_0x34c1b8);const _0x221fdf={};_0x221fdf[_0x22d858(0x360,0x338,_0x539305._0x15f729,0x2d3)]=_0x269d12['aWZnf'],_0x1941fc[_0x22d858(_0x539305._0xb55724,_0x539305._0x303aee,_0x539305._0x237eb6,0x2a9)](0x1760+0x1b92+-0x187f*0x2)['json'](_0x221fdf);}}),router[_0x2167b5(0x234,0x20e,0x2ba,0x25e)](_0x50e316(0x367,0x2e5,0x34c,0x2b5),requireAuth,async(_0x3bfc2e,_0x38d27e)=>{const _0x41e925={_0x3e44f0:0x501,_0x36b7a9:0x5ab,_0x45e1c6:0x525,_0x372dd2:0x1b6,_0x371585:0x154,_0x18c1d5:0x438,_0x5229c4:0x529,_0x45e845:0x440,_0x243b56:0x3c4,_0x18880f:0x21e,_0xf12c01:0x1e6,_0x3c6ed9:0x1f6,_0x333b7f:0x13c,_0x4fa51e:0x1ac,_0x413b1b:0x1cf,_0x26c8c8:0x196,_0x1301e3:0x1d5,_0x423a91:0x120,_0x1a3513:0x170,_0x25a605:0xf6,_0x2bd39c:0xc1,_0x19dc8e:0x56e,_0x2f93c5:0x5bc,_0x522993:0x544,_0x43668e:0x137,_0x7e74ff:0x199,_0x1ee3fe:0x11e,_0x432a0f:0x42e,_0x4441c6:0x171,_0x1a0ed7:0x132,_0x1aeeeb:0x1c1,_0x2ca91a:0x1b5,_0x4bace9:0xdd,_0x121b17:0x172,_0x1fb006:0x176,_0x558b81:0x149,_0x398a5e:0x16f,_0x296b88:0x4c9,_0x32c212:0x4cd,_0x52d8af:0x589,_0x3aec7b:0x23c,_0x554411:0x188,_0x2207c6:0x1e8,_0x16f35c:0xd5,_0x4ca02d:0x7d,_0x4213c5:0xb4,_0x5f57d2:0x5bd,_0x11cbbb:0x5b5,_0x3a3e3c:0xc3,_0x1214f8:0xe8,_0x88fc15:0xbe,_0x328403:0x13b,_0x5935cf:0x161,_0x596f8f:0xd7,_0x37e1aa:0x499,_0x5a109f:0x4a2,_0x453083:0x4c6,_0x5810ff:0x4cc,_0x13bd80:0xac,_0x56e34b:0x58,_0x293db0:0x4c,_0x5eee22:0x36,_0x5241ea:0xc5,_0x4555c2:0xb2,_0x1dde51:0xb7,_0x3d8982:0xde,_0x5f3e7b:0x113,_0x1287a9:0x2b,_0x1f74e2:0x3ff,_0x4bc217:0x46f,_0x348658:0x4a8,_0x335766:0x422,_0xcc10a3:0xdc,_0x65c51a:0x495,_0x472db4:0x413,_0x2be95d:0x199,_0xe51eab:0x4c9,_0x2203bc:0x579,_0x3632ff:0x484,_0x43d750:0x431,_0x56fd30:0xa0,_0x5d95df:0xe4,_0x5da721:0xf8,_0x18350f:0x137,_0x3b2c67:0x10d,_0x2d66f5:0x427,_0x2470e0:0x4c4,_0x50983e:0xf5,_0x3e6beb:0x131,_0x2540fe:0xad,_0x373ba4:0xac,_0x4f0b63:0xed,_0x4e94e6:0x520,_0x2656da:0x552,_0x5119de:0x4e8,_0x416fb6:0x4f6,_0xadb914:0x45f,_0x10c568:0x481,_0x3dc467:0x558,_0x2b98c8:0x4d2,_0xa44abd:0x58c,_0x3517ef:0x520,_0x23de5b:0x4f5,_0x46ef25:0x4fc,_0x100660:0x11c,_0x256743:0xf5,_0x4140a7:0x61,_0x5032eb:0x92,_0x1878dd:0x16e,_0x1f1c0e:0x4cb,_0x29d303:0x53d,_0x5e1727:0x15b,_0x1f43cc:0x4cf,_0x2fe832:0x4fb,_0x32fd53:0x4b9,_0x40c67e:0x545,_0x4fe44f:0x4b4,_0x581354:0x1dd,_0x51de69:0x151,_0x41bd69:0x468,_0x4ab637:0x495,_0x57d7a9:0x451,_0x21d8ae:0x8e,_0x26c3fb:0xfa,_0x12c78c:0x144,_0x120e30:0xcc,_0x1a134c:0xf2,_0x47a34a:0x114,_0x2fb178:0x3cd,_0x37f4b7:0x4e4,_0x26de42:0x486,_0x5f36c0:0x4fc,_0x2b931d:0x4e6,_0xeed753:0x434,_0x2fffb3:0x10f,_0x47e1e7:0x14d,_0x4b4604:0x13b,_0x2c905e:0x1bf,_0x372c5e:0x1d4},_0x3dd203={_0x437982:0x4b6,_0x16e54a:0x4d1,_0x355f46:0x4cd,_0x44f3c8:0x4c1,_0xcf1af5:0x48c,_0x4163ea:0x4b0,_0x23c9f0:0x2fd,_0x5f1f8e:0x1f2,_0xe7e36a:0x246,_0x1bac14:0x216,_0xdf8794:0x25e,_0x29ee49:0x491,_0x5d194e:0x439,_0x1e2ec3:0x3cf,_0x47b1aa:0x479,_0xda2b5a:0x16c,_0x46e2bd:0x17f,_0x41a86a:0x244,_0x649958:0x286,_0xb4f7b9:0x296,_0x439c1b:0x21e,_0x3d1efc:0x53b,_0x46222f:0x53d,_0x35e2fb:0x593,_0x5c61d0:0x402,_0x2136f2:0x482,_0x48030c:0x43f,_0x3615ca:0x29a,_0x59a0a9:0x26b,_0x2ad973:0x2dc,_0x8a0650:0x2b0,_0x1f87b1:0x58a,_0x25cfa2:0x275,_0x4d4509:0x25b,_0x6dde05:0x21b,_0x4260f9:0x1d5,_0x21e11c:0x43b,_0x19eff0:0x54b,_0x1246f1:0x45d,_0x15e7d2:0x482,_0x43344d:0x4b5,_0x133369:0x22c,_0x51cb84:0x191,_0x4a235c:0x1e1,_0x1bf632:0x1c1},_0x15f3f0={_0x14fb67:0x164,_0x378bc5:0x59},_0x4776b4={_0x78a231:0x1ee,_0x3f8f07:0x9c};function _0x548953(_0x307c44,_0x59a184,_0x5791b3,_0xcedb6){return _0x50e316(_0x59a184,_0xcedb6-_0x4776b4._0x78a231,_0x5791b3-0x137,_0xcedb6-_0x4776b4._0x3f8f07);}const _0x119763={};_0x119763[_0x548953(_0x41e925._0x3e44f0,_0x41e925._0x36b7a9,_0x41e925._0x45e1c6,0x52e)]=_0x372330(0x136,0x152,_0x41e925._0x372dd2,_0x41e925._0x371585)+'led',_0x119763[_0x548953(0x438,0x4a6,0x44d,_0x41e925._0x18c1d5)]=_0x548953(0x4da,_0x41e925._0x5229c4,0x490,0x4c9)+_0x548953(_0x41e925._0x45e845,_0x41e925._0x243b56,0x47f,0x42c)+_0x372330(_0x41e925._0x18880f,_0x41e925._0xf12c01,_0x41e925._0x3c6ed9,0x1a8),_0x119763[_0x372330(_0x41e925._0x333b7f,0x15f,_0x41e925._0x4fa51e,0x126)]='coder.sid',_0x119763[_0x372330(0x1e7,0x1cc,_0x41e925._0x413b1b,_0x41e925._0x26c8c8)]=_0x372330(0x1cd,_0x41e925._0x1301e3,_0x41e925._0x423a91,_0x41e925._0x1a3513)+'\x20successfu'+_0x372330(0xa2,0xd7,_0x41e925._0x25a605,_0x41e925._0x2bd39c),_0x119763['Aquwe']=_0x548953(_0x41e925._0x19dc8e,0x523,_0x41e925._0x2f93c5,_0x41e925._0x522993),_0x119763['cMTRl']=_0x372330(0x1ac,_0x41e925._0x43668e,_0x41e925._0x7e74ff,_0x41e925._0x1ee3fe)+_0x548953(0x4e2,0x529,_0x41e925._0x432a0f,0x4ca)+'tars\x20direc'+_0x372330(0x1c4,_0x41e925._0x4441c6,0x11a,_0x41e925._0x1a0ed7);function _0x372330(_0x145dda,_0x427063,_0x45c391,_0x128b65){return _0x2167b5(_0x145dda-_0x15f3f0._0x14fb67,_0x427063,_0x45c391-_0x15f3f0._0x378bc5,_0x128b65- -0x101);}_0x119763[_0x372330(_0x41e925._0x1aeeeb,_0x41e925._0x2ca91a,_0x41e925._0x4bace9,_0x41e925._0x121b17)]=function(_0x5c69e0,_0x3b05a7){return _0x5c69e0!==_0x3b05a7;},_0x119763['vBXDR']=_0x372330(_0x41e925._0x1fb006,0x103,_0x41e925._0x558b81,_0x41e925._0x398a5e)+'t\x20be\x20empty',_0x119763[_0x548953(_0x41e925._0x296b88,_0x41e925._0x32c212,_0x41e925._0x52d8af,0x533)]=function(_0x1ebfe8,_0x4c5889){return _0x1ebfe8===_0x4c5889;},_0x119763[_0x372330(_0x41e925._0x3aec7b,_0x41e925._0x554411,_0x41e925._0x2207c6,0x1a7)]=_0x372330(-0x1a,_0x41e925._0x16f35c,0x3,_0x41e925._0x4ca02d),_0x119763[_0x372330(0xb2,0x145,0x5e,_0x41e925._0x4213c5)]=_0x548953(0x4fa,_0x41e925._0x5f57d2,0x592,0x548)+_0x548953(0x59a,0x4ea,_0x41e925._0x11cbbb,0x543)+_0x372330(_0x41e925._0x3a3e3c,_0x41e925._0x1214f8,0x151,_0x41e925._0x88fc15),_0x119763[_0x372330(0xe5,_0x41e925._0x328403,_0x41e925._0x5935cf,_0x41e925._0x596f8f)]=_0x548953(_0x41e925._0x37e1aa,_0x41e925._0x5a109f,_0x41e925._0x453083,_0x41e925._0x5810ff)+_0x372330(0xda,_0x41e925._0x13bd80,_0x41e925._0x56e34b,0x74),_0x119763['ctjym']='Failed\x20to\x20'+'update\x20pro'+_0x372330(_0x41e925._0x293db0,0x104,_0x41e925._0x5eee22,0xb8);const _0xc34cfa=_0x119763,{name:_0x163854,preferences:_0xf6fd77}=_0x3bfc2e[_0x372330(0xeb,0x30,_0x41e925._0x5241ea,_0x41e925._0x4555c2)];try{const _0x3b6f3b={};if(_0xc34cfa['UkzbM'](_0x163854,undefined)){if(!_0x163854||_0x163854[_0x372330(_0x41e925._0x1dde51,0x9a,0x7a,0x7b)]()[_0x372330(0x1e,0x5e,_0x41e925._0x3d8982,0x73)]===-0x29f+0x10c3*0x1+-0xb5*0x14){const _0x345ebb={};return _0x345ebb[_0x372330(0xde,_0x41e925._0x5f3e7b,_0x41e925._0x1287a9,0xa1)]=_0xc34cfa[_0x548953(_0x41e925._0x1f74e2,0x45e,0x400,0x453)],_0x38d27e[_0x548953(_0x41e925._0x4bc217,_0x41e925._0x348658,_0x41e925._0x45e845,_0x41e925._0x335766)](0x3*-0x33d+-0x2*0x5a3+0x1*0x168d)[_0x372330(_0x41e925._0xcc10a3,0xc8,0xe0,0x163)](_0x345ebb);}_0x3b6f3b[_0x548953(0x50e,0x447,0x502,_0x41e925._0x65c51a)]=_0x163854[_0x548953(_0x41e925._0x472db4,0x3ac,0x3ce,0x426)]();}if(_0xc34cfa[_0x372330(0x16c,0x172,_0x41e925._0x2be95d,_0x41e925._0x121b17)](_0xf6fd77,undefined)){if(_0xc34cfa[_0x548953(_0x41e925._0xe51eab,0x4f2,_0x41e925._0x2203bc,0x533)](_0x548953(_0x41e925._0x3632ff,0x52f,_0x41e925._0x43d750,0x4a3),_0x372330(_0x41e925._0x56fd30,_0x41e925._0x5d95df,0xa7,_0x41e925._0x5da721)))_0x3b6f3b[_0x372330(0x171,0x182,_0x41e925._0x18350f,_0x41e925._0x3b2c67)+'s']=_0xf6fd77;else{const _0x22fe9f=_0x46040f[_0x548953(0x4d2,_0x41e925._0x2d66f5,0x52b,0x4a0)]?.[_0x548953(0x4be,0x4b0,0x4c4,_0x41e925._0x2470e0)],_0x5e7452=_0x2cf143[_0x372330(0xff,_0x41e925._0x121b17,0x17b,_0x41e925._0x50983e)]?.['username'];_0x48d23a['session']['destroy'](_0x158ba9=>{const _0x5079aa={_0x327825:0xaf,_0x2bb9f7:0x3b8};if(_0x158ba9){const _0x5dfcca={};_0x5dfcca[_0x6a0265(_0x3dd203._0x437982,_0x3dd203._0x16e54a,_0x3dd203._0x355f46,0x51f)]=_0x22fe9f,_0x5dfcca[_0x6a0265(0x4e1,_0x3dd203._0x44f3c8,_0x3dd203._0xcf1af5,_0x3dd203._0x4163ea)]=_0x5e7452,_0x333efa[_0x4b5c86(-_0x3dd203._0x23c9f0,-0x286,-0x28e,-_0x3dd203._0x5f1f8e)](_0x4b5c86(-_0x3dd203._0xe7e36a,-0x209,-_0x3dd203._0x1bac14,-_0x3dd203._0xdf8794)+_0x6a0265(_0x3dd203._0x29ee49,_0x3dd203._0x5d194e,_0x3dd203._0x1e2ec3,_0x3dd203._0x47b1aa)+_0x4b5c86(-_0x3dd203._0xda2b5a,-_0x3dd203._0x46e2bd,-0x1ac,-0x10c),_0x158ba9,_0x5dfcca);const _0x429909={};return _0x429909[_0x4b5c86(-_0x3dd203._0x41a86a,-_0x3dd203._0x649958,-_0x3dd203._0xb4f7b9,-_0x3dd203._0x439c1b)]=_0xc34cfa[_0x6a0265(0x52b,_0x3dd203._0x3d1efc,_0x3dd203._0x46222f,_0x3dd203._0x35e2fb)],_0x429909[_0x6a0265(_0x3dd203._0x5c61d0,_0x3dd203._0x2136f2,_0x3dd203._0x48030c,0x4e0)]=_0xc34cfa[_0x4b5c86(-0x253,-_0x3dd203._0x3615ca,-0x29c,-_0x3dd203._0x59a0a9)],_0x36024e[_0x4b5c86(-_0x3dd203._0x2ad973,-_0x3dd203._0x8a0650,-0x335,-0x2bd)](0x2408+0x28*-0x33+0x1a1c*-0x1)[_0x6a0265(_0x3dd203._0x1f87b1,0x51b,0x488,0x5a0)](_0x429909);}const _0x46248d={};_0x46248d[_0x4b5c86(-0x176,-0x20e,-_0x3dd203._0x25cfa2,-0x1d6)]=_0x22fe9f,_0x46248d[_0x4b5c86(-0x219,-0x21e,-_0x3dd203._0x4d4509,-0x294)]=_0x5e7452,_0x2d537b[_0x4b5c86(-0x1ce,-0x192,-_0x3dd203._0x6dde05,-0x21b)](_0x6a0265(0x454,0x4a1,0x49b,0x50f)+_0x4b5c86(-0x1a5,-0x237,-_0x3dd203._0x4260f9,-0x2c9),_0x46248d);function _0x6a0265(_0x21ee40,_0x508df7,_0xf4666e,_0x327b77){return _0x372330(_0x21ee40-0x1d8,_0xf4666e,_0xf4666e-_0x5079aa._0x327825,_0x508df7-_0x5079aa._0x2bb9f7);}_0x34ca4a[_0x6a0265(0x530,0x4ca,_0x3dd203._0x21e11c,_0x3dd203._0x19eff0)+'e'](_0xc34cfa['mhwHL']);function _0x4b5c86(_0x52fcf4,_0x4714b0,_0x361268,_0xc73be9){return _0x548953(_0x52fcf4-0xa3,_0x361268,_0x361268-0x30,_0x4714b0- -0x6d2);}const _0x2aff05={};_0x2aff05[_0x6a0265(_0x3dd203._0x1246f1,_0x3dd203._0x15e7d2,0x45f,_0x3dd203._0x43344d)]=_0xc34cfa[_0x4b5c86(-_0x3dd203._0x133369,-_0x3dd203._0x51cb84,-0x117,-0x1f0)],_0x4f744b[_0x4b5c86(-_0x3dd203._0x4a235c,-0x1c4,-_0x3dd203._0x1bf632,-0x1d7)](_0x2aff05);});}}if(_0xc34cfa['aofYf'](Object[_0x372330(_0x41e925._0x3e6beb,_0x41e925._0x2540fe,_0x41e925._0x373ba4,_0x41e925._0x4f0b63)](_0x3b6f3b)[_0x372330(0x6c,0x58,0x9,0x73)],0x1e7e+-0xdf8+0x11a*-0xf)){if(_0xc34cfa[_0x548953(0x5c0,0x5ac,_0x41e925._0x4e94e6,_0x41e925._0x2656da)]===_0xc34cfa[_0x548953(0x4e6,0x4e2,0x565,0x552)]){const _0x50fcf2={};return _0x50fcf2['error']=_0xc34cfa[_0x548953(_0x41e925._0x5119de,0x41d,_0x41e925._0x416fb6,_0x41e925._0xadb914)],_0x38d27e['status'](-0x1d26+0x2427+-0x571)['json'](_0x50fcf2);}else _0x44dca8[_0x548953(0x4f4,_0x41e925._0x10c568,_0x41e925._0x3dc467,_0x41e925._0x2b98c8)]!==_0xc34cfa[_0x548953(0x536,_0x41e925._0xa44abd,0x4c5,_0x41e925._0x3517ef)]&&_0x175821['error'](_0xc34cfa[_0x372330(0x18b,_0x41e925._0xcc10a3,0xbe,0x125)],_0x2044a6);}const _0x1b12d3=await updateUser(_0x3bfc2e[_0x548953(_0x41e925._0x23de5b,_0x41e925._0x46ef25,0x581,0x4fb)]['id'],_0x3b6f3b);_0x3b6f3b['name']&&(_0x3bfc2e[_0x372330(0xd5,_0x41e925._0x100660,0x15f,_0x41e925._0x256743)]['name']=_0x3b6f3b[_0x372330(_0x41e925._0x4140a7,_0x41e925._0x5032eb,_0x41e925._0x1878dd,0xea)]);logger[_0x548953(_0x41e925._0x1f1c0e,0x56a,_0x41e925._0x29d303,0x540)](_0xc34cfa[_0x372330(_0x41e925._0x5e1727,0x126,0xd8,0xd7)],{'userId':_0x3bfc2e[_0x548953(0x4fa,0x480,_0x41e925._0x1f43cc,_0x41e925._0x2fe832)]['id'],'updates':Object[_0x548953(0x493,_0x41e925._0x32fd53,0x4ef,0x498)](_0x3b6f3b)});const _0x4c756a={};_0x4c756a['id']=_0x1b12d3['id'],_0x4c756a[_0x548953(_0x41e925._0x40c67e,0x4dd,0x4bc,_0x41e925._0x4fe44f)]=_0x1b12d3['username'],_0x4c756a[_0x372330(0x1cc,_0x41e925._0x581354,_0x41e925._0x51de69,_0x41e925._0x51de69)]=_0x1b12d3['email'],_0x4c756a[_0x548953(0x3fb,0x449,_0x41e925._0x41bd69,0x495)]=_0x1b12d3[_0x548953(0x41f,_0x41e925._0x2470e0,0x486,_0x41e925._0x4ab637)],_0x4c756a['avatar']=_0x1b12d3[_0x548953(0x469,_0x41e925._0x57d7a9,0x431,0x488)]||null,_0x4c756a[_0x372330(0x11d,_0x41e925._0x21d8ae,0xaf,0x10d)+'s']=_0x1b12d3[_0x372330(_0x41e925._0x26c3fb,0xf8,0x104,0x10d)+'s']||{};const _0x37387d={};_0x37387d[_0x372330(0x150,_0x41e925._0x12c78c,_0x41e925._0x120e30,_0x41e925._0x1a134c)]=_0x4c756a,_0x38d27e[_0x372330(0x115,_0x41e925._0x47a34a,0x112,0x163)](_0x37387d);}catch(_0x3cb518){logger[_0x548953(_0x41e925._0x2fb178,_0x41e925._0x37f4b7,0x3cc,0x44c)](_0xc34cfa[_0x548953(_0x41e925._0x26de42,_0x41e925._0x5f36c0,0x48b,_0x41e925._0x2b931d)],_0x3cb518);const _0x122328={};_0x122328[_0x548953(0x4dc,_0x41e925._0xeed753,0x49a,0x44c)]=_0xc34cfa[_0x372330(_0x41e925._0x2fffb3,0x151,_0x41e925._0x47e1e7,_0x41e925._0x4b4604)],_0x38d27e['status'](0x9b8+0x1*0x1042+-0x1806)[_0x372330(_0x41e925._0x2c905e,_0x41e925._0x25a605,_0x41e925._0x372c5e,0x163)](_0x122328);}}),router[_0x50e316(0x297,0x235,0x249,0x24b)]('/profile/a'+'vatar',requireAuth,avatarUpload['single']('avatar'),async(_0x2d22ca,_0x2206a5)=>{const _0x59b6a2={_0x224a29:0x120,_0x48c8d0:0x94,_0x4d37a2:0x119,_0xa973be:0x131,_0x3d74c7:0x288,_0x4a4629:0x295,_0x37d2c9:0x24c,_0x547ab:0x24a,_0x131de5:0x253,_0x1e5255:0x252,_0x1a03ca:0x2cc,_0x3aea06:0x9e,_0x1484d2:0x58,_0x3315d7:0xdb,_0x70a5ef:0x29a,_0x1f4811:0x223,_0x1a93cd:0x18e,_0x2b0709:0x1e7,_0x3d50c6:0x337,_0x2c10fe:0x2b6,_0x223eb0:0x344,_0x21ef95:0x224,_0x383085:0x29c,_0x3b5858:0x28b,_0x5365b3:0x89,_0x121ade:0x11a,_0x3460e6:0x151,_0x28f3c8:0x26c,_0x157598:0x2a0,_0x2eeece:0x208,_0x363913:0x285,_0x1be5bc:0x257,_0x1327af:0x1b,_0x4fae45:0x2b0,_0x328bff:0x84,_0x187765:0x6c,_0x582cd9:0x1e4,_0x4d6521:0x1a9,_0x5e5cdf:0xfc,_0x42dec2:0x10a,_0x22b535:0x148,_0x449e8b:0xf0,_0x4466ea:0x97,_0x4a9e87:0xe6,_0x82545c:0x2f7,_0x9e82df:0x23e,_0x5cceb6:0x109,_0x3b68e8:0x214,_0x22376b:0x1c5,_0x47ca84:0x259,_0x16cdb0:0x206,_0x53d0d5:0x287,_0x29a29a:0x28e,_0x3b3d85:0xbd,_0xdde99a:0xa0,_0x5b5e40:0x178,_0x359a09:0xe3,_0x39b242:0xb6,_0x51b4db:0x11d,_0x442ac7:0x233,_0x56ad8b:0x285,_0x434eca:0x113,_0x316f34:0xa4,_0x417da2:0x166,_0x2fe763:0x13b,_0x5d1f9a:0x1d1,_0x17bf23:0x1b2,_0x82da89:0x244,_0x38c312:0x1a5,_0x1cd182:0x1c1,_0x40e695:0x1c2,_0x3444c6:0x2bc,_0x5bf205:0x338,_0x5e7bea:0x251,_0x58382e:0x18f,_0x32345d:0xb6,_0x5938cb:0x269,_0x451e6a:0x16e,_0x5cb77f:0xac,_0xd959a3:0xed,_0x128d7b:0xdb,_0x4837cb:0x120,_0x85c4a1:0x60,_0x1f2281:0x52,_0x51c84d:0xe,_0xac5f5b:0xf1,_0x208734:0x8a,_0x1e453f:0x11f,_0x2cdd4f:0xdc,_0x10efc2:0x13a,_0x3129f6:0x17a,_0x50ab99:0x29b,_0x296bd8:0x271,_0x34f39f:0x2f6,_0xe03a30:0x2e1,_0x8b81e5:0x12,_0x2a768a:0x290,_0x4e4933:0x291,_0x355d92:0x9f,_0x3d4bb6:0x10a,_0x6ce36f:0xdf,_0x1bb38d:0x10f,_0x5e1640:0x146,_0x541d90:0x167,_0x3974ac:0x3f,_0x9bb5c9:0xb2,_0x5e7113:0x2a0,_0x8fa876:0x2ae,_0xe0086c:0x245,_0x43a6a3:0x2ef,_0x124c8f:0x2cf,_0x49cd04:0x332,_0x54af39:0x2b,_0x20bf4d:0x1},_0x270d4a={_0x47604d:0x1af,_0x21eb4a:0x41,_0x32c6f4:0x2e8};function _0x3833b8(_0x23a8c3,_0x572b67,_0x14709f,_0x650e3b){return _0x2167b5(_0x23a8c3-0x176,_0x14709f,_0x14709f-0x154,_0x572b67- -0x447);}const _0x116214={'HJwuj':_0x355935(-0xb6,-0xc9,-_0x59b6a2._0x224a29,-_0x59b6a2._0x48c8d0)+_0x355935(-0x160,-_0x59b6a2._0x4d37a2,-_0x59b6a2._0xa973be,-0x147)+'e','VfYSK':_0x3833b8(-_0x59b6a2._0x3d74c7,-_0x59b6a2._0x4a4629,-0x2b1,-0x274)+_0x3833b8(-_0x59b6a2._0x37d2c9,-_0x59b6a2._0x547ab,-_0x59b6a2._0x131de5,-_0x59b6a2._0x1e5255),'rfZwp':function(_0x4e96e2){return _0x4e96e2();},'ROntQ':_0x3833b8(-0x28e,-_0x59b6a2._0x1a03ca,-0x259,-0x290),'FDhLT':_0x355935(-_0x59b6a2._0x3aea06,-_0x59b6a2._0x1484d2,-0x43,-_0x59b6a2._0x3315d7),'bCqfB':_0x3833b8(-_0x59b6a2._0x70a5ef,-_0x59b6a2._0x1f4811,-_0x59b6a2._0x1a93cd,-_0x59b6a2._0x2b0709),'YjvUE':_0x3833b8(-_0x59b6a2._0x3d50c6,-_0x59b6a2._0x2c10fe,-_0x59b6a2._0x223eb0,-0x2cd),'JnQLB':function(_0x415641,_0x4f4c2f,_0x303c57){return _0x415641(_0x4f4c2f,_0x303c57);},'qqiwJ':_0x3833b8(-_0x59b6a2._0x21ef95,-_0x59b6a2._0x383085,-_0x59b6a2._0x3b5858,-0x2a5)+'oaded','NDExv':_0x355935(-0x6f,-0xc9,-_0x59b6a2._0x5365b3,-0x2e)+_0x355935(-_0x59b6a2._0x121ade,-0x14f,-0xba,-_0x59b6a2._0x3460e6)+_0x3833b8(-_0x59b6a2._0x28f3c8,-_0x59b6a2._0x157598,-0x221,-_0x59b6a2._0x2eeece)};if(!_0x2d22ca['file']){const _0x5337f9={};return _0x5337f9[_0x3833b8(-_0x59b6a2._0x363913,-0x2a5,-_0x59b6a2._0x1be5bc,-0x260)]=_0x116214[_0x355935(-0x20,-0x79,_0x59b6a2._0x1327af,-0xa5)],_0x2206a5[_0x3833b8(-0x2b1,-0x2cf,-0x358,-_0x59b6a2._0x4fae45)](-0x20d9+0x4*-0x3ab+-0x167*-0x23)[_0x355935(-0x6e,-_0x59b6a2._0x328bff,-0x5f,-_0x59b6a2._0x187765)](_0x5337f9);}function _0x355935(_0x585d1d,_0x36bd75,_0x224abf,_0x196487){return _0x2167b5(_0x585d1d-_0x270d4a._0x47604d,_0x224abf,_0x224abf-_0x270d4a._0x21eb4a,_0x36bd75- -_0x270d4a._0x32c6f4);}try{await _0x116214[_0x3833b8(-0x164,-_0x59b6a2._0x582cd9,-0x211,-_0x59b6a2._0x4d6521)](ensureAvatarsDir);const _0x44571e=_0x355935(-0xdc,-_0x59b6a2._0x5e5cdf,-_0x59b6a2._0x42dec2,-_0x59b6a2._0x22b535)+_0x2d22ca[_0x355935(-_0x59b6a2._0x449e8b,-_0x59b6a2._0x4466ea,0x2,-_0x59b6a2._0x4a9e87)]['id']+'-'+Date[_0x3833b8(-_0x59b6a2._0x82545c,-0x277,-_0x59b6a2._0x9e82df,-0x238)]()+_0x355935(-0x130,-0xe7,-0x17d,-_0x59b6a2._0x5cceb6),_0x20ffd7=_0x1936cd['join'](AVATARS_DIR,_0x44571e),_0x31dc30={};_0x31dc30[_0x3833b8(-_0x59b6a2._0x3b68e8,-0x21d,-0x240,-_0x59b6a2._0x22376b)]=_0x116214['ROntQ'],_0x31dc30['position']=_0x116214[_0x3833b8(-_0x59b6a2._0x47ca84,-_0x59b6a2._0x16cdb0,-0x173,-0x20a)];const _0x57d4fe={};_0x57d4fe[_0x3833b8(-_0x59b6a2._0x53d0d5,-0x264,-0x2c3,-0x203)]=0x5a,await _0x41c104(_0x2d22ca[_0x3833b8(-0x232,-_0x59b6a2._0x29a29a,-0x205,-0x2d0)][_0x355935(-0x94,-0xe8,-_0x59b6a2._0x3b3d85,-_0x59b6a2._0xdde99a)])[_0x3833b8(-0x2b8,-0x28c,-0x1fe,-0x328)](AVATAR_SIZE,AVATAR_SIZE,_0x31dc30)[_0x355935(-_0x59b6a2._0x5b5e40,-_0x59b6a2._0x359a09,-0x95,-0x108)](_0x57d4fe)[_0x355935(-_0x59b6a2._0x39b242,-0xa3,-_0x59b6a2._0x51b4db,-0xf6)](_0x20ffd7);const _0x2360ed=await findUserById(_0x2d22ca[_0x3833b8(-_0x59b6a2._0x442ac7,-0x1f6,-0x1c8,-_0x59b6a2._0x56ad8b)]['id']);if(_0x2360ed[_0x355935(-_0x59b6a2._0x434eca,-0x10a,-_0x59b6a2._0x316f34,-_0x59b6a2._0x417da2)]){if(_0x116214[_0x355935(-_0x59b6a2._0x2fe763,-0x163,-_0x59b6a2._0x5d1f9a,-_0x59b6a2._0x17bf23)]!==_0x116214[_0x3833b8(-0x20b,-0x26a,-0x23e,-_0x59b6a2._0x82da89)]){const _0x5d35ce=_0x1936cd[_0x3833b8(-0x1cf,-_0x59b6a2._0x38c312,-_0x59b6a2._0x1cd182,-0x1d7)](AVATARS_DIR,_0x2360ed['avatar']);try{await _0x38c1bb[_0x355935(-0x14e,-0x169,-0x19b,-_0x59b6a2._0x40e695)](_0x5d35ce);}catch(_0x3b23ed){}}else{_0x13c433[_0x3833b8(-_0x59b6a2._0x3444c6,-0x2a5,-_0x59b6a2._0x5bf205,-0x221)](_0x3833b8(-0x296,-0x228,-_0x59b6a2._0x5e7bea,-0x21c)+'get\x20profil'+'e',_0x327293);const _0x298bbc={};_0x298bbc[_0x355935(-_0x59b6a2._0x58382e,-0x146,-0xbc,-_0x59b6a2._0x32345d)]=_0x116214['HJwuj'],_0x3ea942['status'](0x1609*0x1+0xc5e+-0x2073)[_0x355935(-0xb3,-0x84,-0x51,-0x113)](_0x298bbc);}}const _0x3acdfd={};_0x3acdfd[_0x3833b8(-0x1cf,-_0x59b6a2._0x5938cb,-0x2df,-0x2f8)]=_0x44571e,await _0x116214[_0x355935(-_0x59b6a2._0x451e6a,-0x104,-0xa9,-0xf2)](updateUser,_0x2d22ca[_0x355935(-_0x59b6a2._0x5cb77f,-_0x59b6a2._0x4466ea,-0x8e,-_0x59b6a2._0xd959a3)]['id'],_0x3acdfd);const _0x3878f1={};_0x3878f1[_0x355935(-0xac,-0xce,-_0x59b6a2._0x128d7b,-0xa4)]=_0x2d22ca[_0x355935(-0xe2,-0x97,-_0x59b6a2._0x4837cb,-0xc0)]['id'],_0x3878f1[_0x355935(-0x49,-0x5e,-0x20,-0x7)]=_0x44571e,logger[_0x355935(-_0x59b6a2._0x85c4a1,-_0x59b6a2._0x1f2281,-_0x59b6a2._0x51c84d,0x37)](_0x116214[_0x355935(-_0x59b6a2._0xdde99a,-_0x59b6a2._0xac5f5b,-_0x59b6a2._0x1484d2,-0x7f)],_0x3878f1);const _0x2a3767={};_0x2a3767[_0x355935(-_0x59b6a2._0x208734,-0x10a,-0x99,-_0x59b6a2._0x1e453f)]=_0x44571e,_0x2a3767[_0x355935(-_0x59b6a2._0x2cdd4f,-_0x59b6a2._0x10efc2,-_0x59b6a2._0x3129f6,-0x188)]=_0x3833b8(-_0x59b6a2._0x50ab99,-_0x59b6a2._0x296bd8,-_0x59b6a2._0x34f39f,-_0x59b6a2._0xe03a30)+_0x44571e,_0x2206a5[_0x355935(-_0x59b6a2._0xd959a3,-_0x59b6a2._0x328bff,-_0x59b6a2._0x8b81e5,-0xb3)](_0x2a3767);}catch(_0x3c0b67){logger[_0x3833b8(-_0x59b6a2._0x2a768a,-0x2a5,-_0x59b6a2._0x4e4933,-0x278)](_0x116214[_0x355935(-0x1f,-_0x59b6a2._0x355d92,-_0x59b6a2._0x3d4bb6,-_0x59b6a2._0x6ce36f)],_0x3c0b67);const _0x11fefd={};_0x11fefd[_0x355935(-_0x59b6a2._0x1bb38d,-_0x59b6a2._0x5e1640,-0xee,-_0x59b6a2._0x541d90)]=_0x355935(-_0x59b6a2._0x3974ac,-0xc9,-_0x59b6a2._0x9bb5c9,-0xab)+_0x3833b8(-_0x59b6a2._0x5e7113,-_0x59b6a2._0x8fa876,-0x23e,-_0x59b6a2._0xe0086c)+'tar',_0x2206a5[_0x3833b8(-_0x59b6a2._0x43a6a3,-_0x59b6a2._0x124c8f,-_0x59b6a2._0x34f39f,-_0x59b6a2._0x49cd04)](-0x621+-0x407*0x7+0x2446)[_0x355935(-_0x59b6a2._0x54af39,-_0x59b6a2._0x328bff,-_0x59b6a2._0x20bf4d,-0x38)](_0x11fefd);}}),router[_0x2167b5(0x1d1,0x202,0x22b,0x1d5)](_0x2167b5(0x230,0x1e0,0x25a,0x1c0)+'vatar',requireAuth,async(_0x16f512,_0x4495af)=>{const _0x136994={_0x116570:0x348,_0x571379:0x340,_0x56e92b:0x272,_0x35299c:0x2e7,_0x33bef1:0x2e4,_0x5a8828:0x288,_0x34947a:0xb4,_0x452c6a:0xc4,_0x567a29:0x341,_0x4ea1f1:0x386,_0x2ff6d7:0x1de,_0xf0a5cd:0x1dd,_0x3bd6ca:0x211,_0xbd2de:0x26a,_0x13c195:0x2c3,_0x55f191:0x135,_0x151f03:0x242,_0x1a6509:0x1a6,_0x51fc62:0x244,_0x139ca3:0x13b,_0x5117fe:0x11a,_0xdb8a50:0xf7,_0x4e95a0:0x115,_0x388201:0x277,_0x104695:0x2b8,_0x27ade3:0x305,_0x3894c7:0x303,_0x1a48f6:0x118,_0x3a3985:0x195,_0x47caf9:0x165,_0x218fe8:0x24e,_0x4961ea:0x2f4,_0x2a88e7:0x2e6,_0x51ddb3:0x2f2,_0x187eeb:0x31c,_0x5e3fae:0x3a3,_0x4890f4:0x2c6,_0x29fc05:0x18a,_0x31e8d1:0x200,_0x139bb0:0x173,_0x26c615:0x196,_0x30bef5:0x12c,_0x4740f6:0x17d,_0x2c3c16:0x1bb,_0x4cca93:0x1cd,_0x32f427:0x32a,_0xe54eba:0x34c,_0x558dea:0x39d,_0x1bc26e:0x337,_0x597e30:0x1dc,_0x55e1a1:0x1e6,_0x429bc4:0x199,_0x34dfc5:0x216,_0x3ef6f2:0x310,_0x25dde9:0x2f0,_0x555a69:0x30c,_0x21d42a:0x2df,_0x37a471:0x34a,_0x2dce5f:0x2d2,_0x590094:0x328,_0x50642e:0x2ea,_0x17f4e6:0x248,_0x1ed5bd:0x2a4,_0x5ebeec:0x31f,_0x3d188b:0x239,_0x168deb:0x2a8,_0x451f72:0x246,_0x1111f2:0x1b0,_0x4634d8:0x229,_0x502f17:0x30d,_0xa1ff65:0x329,_0x362f94:0x120,_0x46eaf1:0x100,_0x9f4dbf:0xde,_0x366d74:0x174,_0x1d3544:0x1a7,_0x2a93aa:0x12f,_0x2355b4:0x371,_0xf00096:0x2e3,_0x1acf2f:0x22c,_0x5e18d2:0x267,_0x390987:0x1f4,_0x4b9bc2:0x251,_0x5fdb6d:0x23f,_0xcb815c:0x215,_0x5e46fe:0x163,_0x2d6654:0x1a0,_0x231338:0x3b1,_0x5dfe7c:0x355,_0x495db7:0x318,_0x5acf2b:0x3c3,_0x34a983:0x1c1,_0x1f2a6b:0x31a,_0x372f4e:0x26a,_0x23fa9a:0x214,_0x58752d:0x22c,_0x3966b1:0x25e,_0x45d87d:0x263,_0x33458:0x33d,_0x447760:0x2cc,_0x5b5c54:0x214,_0x491a57:0x2ab,_0x1f67c3:0x215,_0x834d87:0x262,_0x39b9d4:0x279,_0x194a25:0x3f3,_0x3994b8:0x33b,_0x1068c5:0x2c8,_0x5bb8f1:0x317,_0x44cb49:0x22a,_0x5081c5:0x1eb,_0x164800:0x1e6,_0x213958:0x1c5,_0x19032e:0x223,_0x208e5c:0x1b9,_0x557855:0x3b8,_0x246b16:0x361,_0x5d85d8:0x1cd,_0x571d5e:0x20c,_0x2bcd2b:0x215,_0x308677:0x294,_0x426571:0x24c,_0x322805:0x11d,_0xe6f2f6:0x1a4,_0x294dba:0x13f,_0x469ec4:0x2a3,_0x53e35a:0x24d,_0x5c2ac5:0x1b5,_0x44381f:0x333,_0x284f74:0x2ca,_0x353c06:0x320,_0x40caf9:0x212,_0x1df994:0x2b2,_0x4e55fb:0x230,_0x16f6a0:0x2de,_0xbe1ce9:0x300,_0x2a75cd:0x302,_0x316590:0x28c,_0x5cec41:0x223,_0xa0f4d:0x2a7,_0x30f977:0x1c4,_0x1f389a:0x2eb,_0x2452ca:0x2c5,_0x347552:0x279,_0x4c8a2d:0xe1,_0x287cf5:0x17b,_0x2c0501:0x19e},_0x2f874b={_0xe9266:0x101},_0x3c318c={_0x2fe5e5:0x481};function _0x168db6(_0xd301a0,_0x3d08c4,_0x1a19e0,_0x41f97c){return _0x50e316(_0x3d08c4,_0x1a19e0- -_0x3c318c._0x2fe5e5,_0x1a19e0-0x1dd,_0x41f97c-0x102);}const _0x1c251f={'qInJD':function(_0x1ebe92,_0x8a4ec8){return _0x1ebe92(_0x8a4ec8);},'UobuK':'Invalid\x20fi'+_0x521d3c(_0x136994._0x116570,_0x136994._0x571379,_0x136994._0x56e92b,_0x136994._0x35299c)+_0x521d3c(0x30f,0x293,_0x136994._0x33bef1,_0x136994._0x5a8828)+'PNG,\x20GIF,\x20'+_0x168db6(-_0x136994._0x34947a,-_0x136994._0x452c6a,-0x11e,-0xb4)+_0x521d3c(0x2f2,_0x136994._0x567a29,_0x136994._0x4ea1f1,0x380)+'.','yhiTG':'Login\x20erro'+'r','DdvSB':_0x168db6(-_0x136994._0x2ff6d7,-0x181,-_0x136994._0xf0a5cd,-_0x136994._0x3bd6ca)+'ccurred\x20du'+_0x521d3c(0x214,_0x136994._0xbd2de,_0x136994._0x13c195,0x28b)+_0x168db6(-0x162,-_0x136994._0x55f191,-0x131,-0xae),'JVfUi':_0x168db6(-0x22f,-_0x136994._0x151f03,-_0x136994._0x1a6509,-0x1d7)+_0x168db6(-0x246,-_0x136994._0x51fc62,-0x243,-0x1ab)+_0x168db6(-_0x136994._0x139ca3,-0xc6,-0x11c,-_0x136994._0x5117fe),'FeeZH':_0x168db6(-0x1bf,-_0x136994._0xdb8a50,-0x170,-_0x136994._0x4e95a0)+_0x521d3c(_0x136994._0x388201,_0x136994._0x104695,_0x136994._0x27ade3,_0x136994._0x3894c7),'seROy':'Failed\x20to\x20'+_0x168db6(-_0x136994._0x1a48f6,-_0x136994._0x3a3985,-_0x136994._0x47caf9,-0x161)+'file','RFLNZ':function(_0x3c96d9,_0x5b5cc9){return _0x3c96d9!==_0x5b5cc9;},'WJYKa':_0x521d3c(_0x136994._0x218fe8,0x253,_0x136994._0x4961ea,_0x136994._0x2a88e7),'hjNsA':_0x521d3c(_0x136994._0x51ddb3,0x2ed,0x391,_0x136994._0x187eeb),'yFIkw':_0x521d3c(0x2c5,_0x136994._0x5e3fae,_0x136994._0x4890f4,0x33e),'hlvVK':function(_0x5ce053,_0x3d2c39){return _0x5ce053===_0x3d2c39;},'ZvUTK':_0x168db6(-0x1ae,-0x10b,-_0x136994._0x29fc05,-0x169),'CtDAB':function(_0x276448,_0x38766f){return _0x276448!==_0x38766f;},'OwKyH':_0x168db6(-_0x136994._0x31e8d1,-_0x136994._0x139bb0,-_0x136994._0x26c615,-_0x136994._0x30bef5),'FPQEs':_0x168db6(-0x1e5,-_0x136994._0x4740f6,-0x1a6,-0x1ee)+_0x168db6(-0x1a2,-_0x136994._0x2c3c16,-0x230,-0x1ae)+_0x168db6(-0x1fe,-_0x136994._0x4cca93,-0x21e,-0x198)};function _0x521d3c(_0x102976,_0x2983ad,_0x2a2138,_0x4097f4){return _0x2167b5(_0x102976-0x126,_0x2a2138,_0x2a2138-0x1bb,_0x4097f4-_0x2f874b._0xe9266);}try{if(_0x1c251f[_0x521d3c(_0x136994._0x32f427,_0x136994._0xe54eba,_0x136994._0x558dea,_0x136994._0x1bc26e)](_0x1c251f[_0x168db6(-0x269,-0x144,-_0x136994._0x597e30,-_0x136994._0x55e1a1)],_0x1c251f[_0x168db6(-_0x136994._0x429bc4,-_0x136994._0x34dfc5,-0x20f,-0x213)])){const _0x2a713a=await _0x1c251f[_0x521d3c(0x266,_0x136994._0x3ef6f2,_0x136994._0x56e92b,_0x136994._0x25dde9)](findUserById,_0x16f512['user']['id']);if(_0x2a713a[_0x521d3c(0x2e4,_0x136994._0x555a69,0x25e,_0x136994._0x21d42a)]){if(_0x1c251f[_0x521d3c(_0x136994._0x37a471,0x2f4,0x303,_0x136994._0x2dce5f)]===_0x1c251f['yFIkw']){const _0x52962a=_0x1936cd[_0x521d3c(0x37a,0x32a,0x41d,_0x136994._0x5e3fae)](AVATARS_DIR,_0x2a713a[_0x521d3c(0x370,_0x136994._0x590094,0x2da,0x2df)]);try{_0x1c251f[_0x521d3c(_0x136994._0x50642e,0x326,_0x136994._0x17f4e6,0x2e2)](_0x1c251f[_0x521d3c(0x273,_0x136994._0x1ed5bd,_0x136994._0x5ebeec,0x28d)],_0x1c251f[_0x168db6(-0x1ca,-0x23f,-_0x136994._0x3d188b,-0x295)])?await _0x38c1bb[_0x168db6(-0x2a1,-_0x136994._0x168deb,-_0x136994._0x451f72,-0x207)](_0x52962a):_0x1c251f[_0x168db6(-0x198,-0x173,-0x1d6,-0x1bc)](_0x12a577,new _0xf10477(_0x1c251f[_0x168db6(-_0x136994._0x1111f2,-0x277,-_0x136994._0x4634d8,-0x230)]));}catch(_0x328c5c){}const _0x14adbc={};_0x14adbc[_0x521d3c(0x271,_0x136994._0x502f17,_0x136994._0xa1ff65,0x2df)]=null,await updateUser(_0x16f512[_0x168db6(-0xdd,-0x1f1,-0x174,-_0x136994._0x362f94)]['id'],_0x14adbc);const _0x28827e={};_0x28827e['userId']=_0x16f512[_0x168db6(-_0x136994._0x46eaf1,-_0x136994._0x9f4dbf,-_0x136994._0x366d74,-0x160)]['id'],logger[_0x168db6(-_0x136994._0x1d3544,-0x18f,-_0x136994._0x2a93aa,-0xb0)](_0x521d3c(0x2c2,_0x136994._0x2355b4,_0x136994._0xf00096,0x310)+_0x521d3c(0x3aa,0x3e9,0x2d8,0x362),_0x28827e);}else{_0x33cf2b[_0x168db6(-0x29c,-_0x136994._0x1acf2f,-0x223,-0x2aa)](_0x1c251f['yhiTG'],_0x5ba9c0);const _0x4f6ac3={};_0x4f6ac3[_0x168db6(-_0x136994._0x5e18d2,-_0x136994._0x390987,-0x223,-0x293)]=_0x521d3c(_0x136994._0x4b9bc2,_0x136994._0x5fdb6d,_0x136994._0xcb815c,0x299)+'ed',_0x4f6ac3[_0x168db6(-0x1cd,-_0x136994._0x5e46fe,-0x1fa,-_0x136994._0x2d6654)]=_0x1c251f[_0x521d3c(_0x136994._0x231338,_0x136994._0x2355b4,_0x136994._0x5dfe7c,_0x136994._0x495db7)],_0x46f647['status'](0x21c8*0x1+0x1659+0xc9*-0x45)['json'](_0x4f6ac3);}}const _0x2ddff4={};_0x2ddff4['message']='Avatar\x20rem'+_0x521d3c(_0x136994._0x5acf2b,0x344,0x34b,0x362),_0x4495af[_0x168db6(-0x161,-0xe1,-0x161,-0x1bb)](_0x2ddff4);}else{const _0xffe1d5={};_0xffe1d5[_0x168db6(-0x1c7,-0x23b,-0x1ab,-0x137)]=_0x486dc9,_0xffe1d5[_0x168db6(-_0x136994._0x34a983,-0x174,-0x1bb,-0x151)]=_0x4c3804,_0x158389[_0x521d3c(0x225,_0x136994._0x1f2a6b,_0x136994._0x372f4e,0x2a3)](_0x1c251f[_0x168db6(-0x270,-0x1f3,-_0x136994._0x23fa9a,-_0x136994._0x58752d)],_0x5e7f66,_0xffe1d5);const _0x500193={};return _0x500193[_0x521d3c(_0x136994._0x3966b1,_0x136994._0x45d87d,0x2ce,0x2a3)]=_0x1c251f['FeeZH'],_0x500193[_0x521d3c(0x26f,_0x136994._0x33458,0x354,_0x136994._0x447760)]=_0x1c251f[_0x168db6(-0x286,-0x233,-_0x136994._0x5b5c54,-_0x136994._0x491a57)],_0x34201f[_0x521d3c(_0x136994._0x1f67c3,_0x136994._0x834d87,0x204,_0x136994._0x39b9d4)](-0x49*0x25+-0x7ec*0x3+0x2445)[_0x521d3c(0x2f0,_0x136994._0x194a25,_0x136994._0x3994b8,0x365)](_0x500193);}}catch(_0x809d11){if(_0x1c251f[_0x521d3c(0x313,_0x136994._0xe54eba,_0x136994._0x1068c5,_0x136994._0x5bb8f1)](_0x1c251f[_0x168db6(-_0x136994._0x44cb49,-0x17c,-_0x136994._0x5081c5,-_0x136994._0x164800)],_0x1c251f['OwKyH'])){_0x408c9c[_0x168db6(-0x1c3,-_0x136994._0x213958,-_0x136994._0x19032e,-_0x136994._0x208e5c)](_0x168db6(-0x150,-0x1fd,-0x1a6,-_0x136994._0x31e8d1)+_0x521d3c(0x3d7,_0x136994._0x557855,0x3fc,_0x136994._0x246b16)+_0x168db6(-0x28e,-_0x136994._0x5d85d8,-_0x136994._0x571d5e,-_0x136994._0x2bcd2b),_0x1bb456);const _0x3800d2={};_0x3800d2[_0x521d3c(0x23e,_0x136994._0x308677,_0x136994._0x426571,0x2a3)]=_0x1c251f[_0x168db6(-_0x136994._0x322805,-0x1d1,-_0x136994._0xe6f2f6,-_0x136994._0x294dba)],_0x22d23e[_0x168db6(-0x23f,-_0x136994._0x469ec4,-_0x136994._0x53e35a,-_0x136994._0x5c2ac5)](0x69*-0x31+-0xa04*-0x1+-0x1*-0xc09)['json'](_0x3800d2);}else{logger['error'](_0x521d3c(0x38c,_0x136994._0x44381f,_0x136994._0x284f74,_0x136994._0x353c06)+_0x168db6(-_0x136994._0x40caf9,-_0x136994._0x1df994,-_0x136994._0x4e55fb,-0x1ad)+_0x521d3c(_0x136994._0x16f6a0,_0x136994._0xbe1ce9,_0x136994._0x2a75cd,0x2a8),_0x809d11);const _0x22b451={};_0x22b451[_0x168db6(-0x224,-_0x136994._0x316590,-_0x136994._0x5cec41,-_0x136994._0xa0f4d)]=_0x1c251f[_0x168db6(-_0x136994._0x30f977,-_0x136994._0x3bd6ca,-0x18b,-_0x136994._0x597e30)],_0x4495af[_0x521d3c(_0x136994._0x1f389a,0x238,_0x136994._0x2452ca,_0x136994._0x347552)](0x153e+0x6*-0x5a1+-0xe7c*-0x1)[_0x168db6(-_0x136994._0x4c8a2d,-_0x136994._0x287cf5,-0x161,-_0x136994._0x2c0501)](_0x22b451);}}}),router[_0x50e316(0x27c,0x25b,0x23b,0x2ce)]('/profile/a'+_0x50e316(0x2bb,0x244,0x20b,0x2a4),requireAuth,async(_0x232661,_0x3dc0fc)=>{const _0x4074d9={_0x151473:0x484,_0x5be8b0:0x468,_0x21c082:0x44f,_0x1828c7:0x4a8,_0x13e875:0x4c7,_0x132ce0:0x156,_0x37fbbe:0x13d,_0x499975:0x17b,_0x2eae74:0x108,_0x281efa:0x14b,_0x504554:0x3fb,_0x44a973:0x4aa,_0xdf52e0:0x428,_0x5bf0ca:0x451,_0x1f1169:0x3fd,_0xe106ef:0x49f,_0x38f2f0:0x46b,_0x5c0f7c:0x1e0,_0x3894f3:0x265,_0x3fa25e:0x190,_0x43b2e9:0x474,_0x552653:0x467,_0x31414a:0x402,_0x15fd6f:0x39d,_0x523240:0x490,_0x3cd1a3:0x4a5,_0x334110:0x4c4,_0x33b700:0x41e,_0x50b3de:0x47a,_0x5d4cc6:0x20e,_0x2cfcd8:0x1f1,_0x314f3f:0xaa,_0x29cf76:0xec,_0x3f7d49:0xfc,_0x187f9c:0xef,_0x36dfcf:0x118,_0x435f84:0x190,_0x3d6f3c:0x3f3,_0xb18bd:0x15a,_0x285d3c:0x1d1,_0x4a04f3:0x49a,_0x2b85c0:0x116,_0x21178a:0x419,_0x1e144a:0x3a6,_0x3f6fc8:0x9a,_0x4dd0d6:0xc9,_0x495dd8:0x10d,_0x2c2ba0:0x47d,_0xfd1092:0x1d5,_0x29e36a:0x1cc,_0x4ccb72:0x1c1,_0x183bfe:0x1eb,_0x2677aa:0x1fa,_0xc410e7:0x471,_0x386ac1:0x4f8,_0x4cc02c:0x439,_0x264c25:0x4ab,_0x53e260:0x163,_0x1178d5:0x3da,_0x5d40e9:0x41a,_0x4b2270:0x38b,_0x1fe5ec:0x34c,_0xda980d:0x169,_0x27460d:0x379,_0x3db3c6:0x344,_0x264646:0x118,_0x2fbc15:0x97,_0x2bed7f:0x4c6,_0x5d8638:0x447,_0x4c7db5:0x495,_0xc17a92:0x3e1,_0x19903f:0x4f9,_0x3787e8:0x1fb,_0xa6c228:0x1ee,_0x4f9664:0x16c,_0x343d52:0x46b,_0xa6fb32:0x466,_0x4e60de:0x451,_0x39681f:0x3b7,_0x4a0a29:0x3b7,_0x42ea66:0x438,_0x41f841:0x101,_0x4742db:0x164,_0x2a5d43:0x204,_0x41fc72:0x1ec,_0x217df8:0x476,_0x403f19:0x463,_0x512f12:0x47b,_0x2c8f1b:0x176,_0x343f58:0x1e2,_0x8e768c:0x3e2,_0x40e97d:0x3e5,_0x4eca66:0x1e8,_0x233fdb:0x228,_0x21c754:0x165,_0x33531a:0x135,_0x298b9f:0x179,_0x54435e:0x45d,_0xe3d064:0x3a2,_0x4f0e6b:0xe3,_0x5ac3f8:0x172,_0x324158:0x1c4,_0x837687:0x428},_0x3561f0={_0x225013:0x261,_0x2b8543:0x499,_0x1fae61:0x3a0},_0x1ae48b={_0x1ccb81:0x58,_0x4c8154:0x84},_0x3d1848={_0x561c6f:0x94},_0x48ac5a={_0x585406:0x182,_0x4dc24d:0x217},_0x156640={'DNOyw':function(_0x295ada,_0x8834f7,_0x1f0229,_0x1170b1){return _0x295ada(_0x8834f7,_0x1f0229,_0x1170b1);},'QTOvS':'teams:mana'+'ge_members'+_0x703d79(0x454,0x4bd,0x448,_0x4074d9._0x151473),'ITOiH':function(_0x63c259,_0x333097){return _0x63c259(_0x333097);},'TOlHz':function(_0x5488e3,_0x52043e,_0x55957f){return _0x5488e3(_0x52043e,_0x55957f);},'HvxGV':_0x703d79(0x48e,_0x4074d9._0x5be8b0,_0x4074d9._0x21c082,_0x4074d9._0x1828c7),'jiEOP':function(_0x4844b4,_0x4a030a){return _0x4844b4>_0x4a030a;},'xFoMd':'direct','jFfwt':_0x703d79(0x457,0x455,0x4e0,_0x4074d9._0x13e875),'tDpfG':function(_0x298fe6,_0x28df97){return _0x298fe6!==_0x28df97;},'hFHBx':function(_0x493e5f,_0x508018){return _0x493e5f(_0x508018);},'QQTwW':function(_0x4d3626,_0x17bfb7){return _0x4d3626===_0x17bfb7;},'dQJgO':_0x30eb48(_0x4074d9._0x132ce0,_0x4074d9._0x37fbbe,_0x4074d9._0x499975,0x141),'fpVBn':_0x30eb48(_0x4074d9._0x2eae74,0x197,_0x4074d9._0x281efa,_0x4074d9._0x499975)+_0x703d79(_0x4074d9._0x504554,0x48c,_0x4074d9._0x44a973,0x42c)+_0x703d79(0x3f3,_0x4074d9._0xdf52e0,_0x4074d9._0x5bf0ca,0x49a)};function _0x703d79(_0x4b666b,_0x23809a,_0x23c517,_0x567b34){return _0x2167b5(_0x4b666b-_0x48ac5a._0x585406,_0x23c517,_0x23c517-0x8,_0x23809a-_0x48ac5a._0x4dc24d);}function _0x30eb48(_0x3ae4e5,_0xe6cb34,_0x362ba8,_0x3652b3){return _0x2167b5(_0x3ae4e5-_0x3d1848._0x561c6f,_0x362ba8,_0x362ba8-0x15c,_0xe6cb34- -0x88);}try{const _0x5c5bd4=_0x232661[_0x703d79(_0x4074d9._0x1f1169,0x468,0x3d1,0x3ce)]['id'],_0x24570c=await _0x156640[_0x703d79(0x407,_0x4074d9._0xe106ef,0x527,0x52b)](getTeamsByUserId,_0x5c5bd4),_0x1e7529=await Promise[_0x703d79(0x3e2,_0x4074d9._0x38f2f0,0x446,0x504)](_0x24570c[_0x30eb48(0x21e,0x194,0x13d,0x138)](async _0x296cad=>{const _0xfb6b5a={_0x44258e:0xb3};function _0x569098(_0x5f24b3,_0x2c849a,_0x511190,_0x3880b0){return _0x703d79(_0x5f24b3-0x19e,_0x511190-0x97,_0x5f24b3,_0x3880b0-_0xfb6b5a._0x44258e);}const _0xde7209=await _0x156640[_0x56869e(_0x3561f0._0x225013,0x179,0x1a2,0x210)](hasPermission,_0x5c5bd4,_0x156640['QTOvS'],_0x296cad['id']),_0xc0d3c9={};_0xc0d3c9['id']=_0x296cad['id'],_0xc0d3c9[_0x569098(0x51c,0x451,0x499,0x41e)]=_0x296cad[_0x569098(0x4ef,0x49b,_0x3561f0._0x2b8543,0x40a)],_0xc0d3c9['canManageM'+_0x569098(_0x3561f0._0x1fae61,0x3b6,0x43b,0x496)]=_0xde7209;function _0x56869e(_0x2558f0,_0x3ca28b,_0x1944e5,_0x1390bf){return _0x30eb48(_0x2558f0-0x165,_0x1390bf-_0x1ae48b._0x1ccb81,_0x2558f0,_0x1390bf-_0x1ae48b._0x4c8154);}return _0xc0d3c9;})),_0x3cbe9f=new Map(),_0xc7bf2=await _0x156640[_0x30eb48(_0x4074d9._0x5c0f7c,0x1e2,0x1f1,_0x4074d9._0x3894f3)](getBindingsBySubject,_0x156640['HvxGV'],_0x5c5bd4);for(const _0x4003e7 of _0xc7bf2){if(_0x4003e7[_0x30eb48(_0x4074d9._0x3fa25e,_0x4074d9._0x281efa,0xf1,0xb7)+_0x703d79(0x451,_0x4074d9._0x43b2e9,_0x4074d9._0x552653,_0x4074d9._0x31414a)]!=='environmen'+'t'||!_0x4003e7[_0x703d79(0x3eb,0x3b7,_0x4074d9._0x15fd6f,0x31d)+'d'])continue;const _0x2156c7=await _0x156640['ITOiH'](getRoleById,_0x4003e7[_0x703d79(0x427,_0x4074d9._0x523240,_0x4074d9._0x3cd1a3,_0x4074d9._0x334110)]),_0x3192be=_0x2156c7?_0x2156c7[_0x703d79(_0x4074d9._0x33b700,_0x4074d9._0x31414a,0x434,_0x4074d9._0x50b3de)]:_0x4003e7[_0x30eb48(_0x4074d9._0x5d4cc6,_0x4074d9._0x2cfcd8,0x209,0x1c3)],_0x4a2244=_0x2156c7?_0x2156c7['permission'+'s'][_0x30eb48(_0x4074d9._0x314f3f,_0x4074d9._0x29cf76,_0x4074d9._0x3f7d49,0x7d)]:0x1bc3+0x2241+-0x3e04,_0x457736=_0x3cbe9f['get'](_0x4003e7[_0x30eb48(_0x4074d9._0x187f9c,_0x4074d9._0x36dfcf,0x18c,_0x4074d9._0x435f84)+'d']);(!_0x457736||_0x156640[_0x703d79(_0x4074d9._0xe106ef,0x447,0x4e1,_0x4074d9._0x3d6f3c)](_0x4a2244,_0x457736[_0x30eb48(_0x4074d9._0xb18bd,_0x4074d9._0x285d3c,0x17b,0x138)+_0x703d79(_0x4074d9._0xdf52e0,_0x4074d9._0x4a04f3,0x475,0x41b)]))&&_0x3cbe9f[_0x30eb48(_0x4074d9._0x2b85c0,0x1b1,0x21f,0x163)](_0x4003e7[_0x703d79(_0x4074d9._0x21178a,0x3b7,_0x4074d9._0x1e144a,0x32d)+'d'],{'name':_0x4003e7[_0x30eb48(_0x4074d9._0x3f6fc8,0x118,_0x4074d9._0x4dd0d6,_0x4074d9._0x495dd8)+'d'],'roleName':_0x3192be,'rolePermCount':_0x4a2244,'via':_0x156640[_0x703d79(0x467,0x43c,_0x4074d9._0x2c2ba0,0x3b7)]});}for(const _0x32c2ea of _0x24570c){const _0x1b2e7a=await _0x156640[_0x30eb48(0x16d,0x1e2,0x166,0x210)](getBindingsBySubject,_0x156640[_0x703d79(0x39d,0x398,0x37c,0x385)],_0x32c2ea['id']);for(const _0x3a018b of _0x1b2e7a){if(_0x156640['tDpfG'](_0x3a018b[_0x30eb48(0x197,_0x4074d9._0x281efa,0x1a2,0x179)+_0x30eb48(0x1e8,_0x4074d9._0xfd1092,_0x4074d9._0x29e36a,_0x4074d9._0x4ccb72)],_0x30eb48(_0x4074d9._0x183bfe,0x1b7,0x22f,_0x4074d9._0x2677aa)+'t')||!_0x3a018b['resource_i'+'d'])continue;const _0x9aacbd=await _0x156640[_0x703d79(0x4ac,_0x4074d9._0xc410e7,0x422,_0x4074d9._0x386ac1)](getRoleById,_0x3a018b[_0x703d79(_0x4074d9._0x4cc02c,_0x4074d9._0x523240,0x44e,_0x4074d9._0x264c25)]),_0x5095d6=_0x9aacbd?_0x9aacbd[_0x30eb48(_0x4074d9._0x4ccb72,_0x4074d9._0x53e260,_0x4074d9._0xb18bd,0xce)]:_0x3a018b['role_id'],_0x10dc26=_0x9aacbd?_0x9aacbd[_0x703d79(0x40a,0x3b1,_0x4074d9._0x1178d5,0x429)+'s'][_0x703d79(_0x4074d9._0x5d40e9,_0x4074d9._0x4b2270,_0x4074d9._0x1fe5ec,0x3de)]:0x5ba+0xfa3+0x155d*-0x1,_0x206729=_0x703d79(0x46d,0x473,0x3ef,0x49c)+_0x32c2ea[_0x30eb48(_0x4074d9._0xda980d,0x163,_0x4074d9._0x2b85c0,0xe3)],_0x585f5c=_0x3cbe9f[_0x703d79(_0x4074d9._0x27460d,0x3b6,_0x4074d9._0x3db3c6,0x369)](_0x3a018b[_0x30eb48(0x13e,_0x4074d9._0x264646,_0x4074d9._0x2fbc15,0x17b)+'d']);(!_0x585f5c||_0x156640[_0x703d79(_0x4074d9._0x2bed7f,_0x4074d9._0x5d8638,_0x4074d9._0x4c7db5,0x47a)](_0x10dc26,_0x585f5c[_0x703d79(_0x4074d9._0xc17a92,0x470,_0x4074d9._0x19903f,0x3da)+_0x30eb48(0x24a,_0x4074d9._0x3787e8,_0x4074d9._0xa6c228,_0x4074d9._0x4f9664)]))&&_0x3cbe9f[_0x703d79(0x46c,0x450,_0x4074d9._0x343d52,_0x4074d9._0xa6fb32)](_0x3a018b[_0x703d79(_0x4074d9._0x4e60de,_0x4074d9._0x39681f,_0x4074d9._0x4a0a29,_0x4074d9._0x42ea66)+'d'],{'name':_0x3a018b['resource_i'+'d'],'roleName':_0x5095d6,'rolePermCount':_0x10dc26,'via':_0x156640[_0x30eb48(0x10c,_0x4074d9._0x41f841,0x186,0xcb)](_0x585f5c?.[_0x30eb48(_0x4074d9._0x4742db,0x17f,0xea,0x10b)],_0x30eb48(0x181,_0x4074d9._0x2a5d43,0x291,_0x4074d9._0x41fc72))?_0x156640[_0x703d79(0x4ac,0x43c,0x40e,0x469)]:_0x206729});}}const _0x533d75=[..._0x3cbe9f[_0x703d79(_0x4074d9._0x217df8,0x497,_0x4074d9._0x403f19,_0x4074d9._0x512f12)]()]['map'](({rolePermCount:_0x4a24f7,..._0x858a91})=>_0x858a91),_0x5a18dc={};_0x5a18dc['teams']=_0x1e7529,_0x5a18dc['environmen'+'ts']=_0x533d75,_0x3dc0fc['json'](_0x5a18dc);}catch(_0x1bbd8d){if(_0x156640[_0x30eb48(0x19a,0x1ba,_0x4074d9._0x2c8f1b,_0x4074d9._0x343f58)]!=='baFez'){const _0x179ed9={};return _0x179ed9[_0x703d79(_0x4074d9._0x8e768c,0x3b9,_0x4074d9._0x40e97d,0x3b4)]=_0x30eb48(0x22f,_0x4074d9._0x4eca66,0x274,_0x4074d9._0x233fdb)+_0x30eb48(_0x4074d9._0x21c754,_0x4074d9._0x33531a,0x138,_0x4074d9._0x298b9f),_0x2acb4f[_0x703d79(0x3c0,0x38f,0x372,_0x4074d9._0x3db3c6)](0x9e4+0x1715+-0x1f69)['json'](_0x179ed9);}else{logger['error'](_0x703d79(_0x4074d9._0x54435e,0x436,0x452,0x49d)+'get\x20profil'+_0x703d79(0x436,0x3c3,0x33d,_0x4074d9._0xe3d064)+'nfo',_0x1bbd8d);const _0xbe062a={};_0xbe062a[_0x30eb48(0x16b,0x11a,_0x4074d9._0x4f0e6b,0x183)]=_0x156640[_0x30eb48(0xec,_0x4074d9._0x5ac3f8,_0x4074d9._0x499975,_0x4074d9._0x324158)],_0x3dc0fc[_0x703d79(0x3f7,0x38f,_0x4074d9._0x837687,0x333)](0x1*0xec5+0xeb8+0x85*-0x35)[_0x703d79(0x4b2,_0x4074d9._0x512f12,0x408,0x45a)](_0xbe062a);}}});export default router;
|