@profoundlogic/coderflow-server 0.7.2 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base-image/entrypoint.sh +7 -0
- package/dist/base-image/standard-instructions/memory-instructions.md +7 -0
- package/dist/coder-server.js +1 -1
- package/dist/config.js +1 -1
- package/dist/lib/agent-keepalive.js +1 -1
- package/dist/lib/agent-models.js +1 -1
- package/dist/lib/api-keys.js +1 -1
- package/dist/lib/apiKeys.js +1 -1
- package/dist/lib/app-server-ports.js +1 -1
- package/dist/lib/auto-judge.js +1 -1
- package/dist/lib/automation-service.js +1 -1
- package/dist/lib/basic-auth.js +1 -1
- package/dist/lib/bindings.js +1 -1
- package/dist/lib/build-history.js +1 -1
- package/dist/lib/build-output-service.js +1 -1
- package/dist/lib/build-scheduler.js +1 -1
- package/dist/lib/build-service.js +1 -1
- package/dist/lib/ca-certificates.js +1 -1
- package/dist/lib/claude-oauth-refresh.js +1 -1
- package/dist/lib/cli/build.js +1 -1
- package/dist/lib/cli/cleanup-users.js +1 -1
- package/dist/lib/cli/config-command.js +1 -1
- package/dist/lib/cli/config.js +1 -1
- package/dist/lib/cli/create-user.js +1 -1
- package/dist/lib/cli/grant-admin.js +1 -1
- package/dist/lib/cli/init.js +1 -1
- package/dist/lib/cli/jira.js +1 -1
- package/dist/lib/cli/license.js +1 -1
- package/dist/lib/cli/list-roles.js +1 -1
- package/dist/lib/cli/list-users.js +1 -1
- package/dist/lib/cli/server-manager.js +1 -1
- package/dist/lib/cli/set-password.js +1 -1
- package/dist/lib/config-migration.js +1 -1
- package/dist/lib/container-credential-sync.js +1 -1
- package/dist/lib/container-tokens.js +1 -1
- package/dist/lib/data-dir.js +1 -1
- package/dist/lib/deployment-history.js +1 -1
- package/dist/lib/deployment-service.js +1 -1
- package/dist/lib/docker-utils.js +1 -1
- package/dist/lib/email.js +1 -1
- package/dist/lib/emailTemplates.js +1 -1
- package/dist/lib/entitlement.js +1 -1
- package/dist/lib/external-connections.js +1 -1
- package/dist/lib/fetch-utils.js +1 -1
- package/dist/lib/git-commit-details-route.js +1 -1
- package/dist/lib/git-history-diff-guardrails.js +1 -1
- package/dist/lib/git-provider-service.js +1 -1
- package/dist/lib/git-provider-setup/github-setup-handler.js +1 -1
- package/dist/lib/git-provider-setup/index.js +1 -1
- package/dist/lib/git-provider-setup/setup-factory.js +1 -1
- package/dist/lib/git-provider-setup/setup-interface.js +1 -1
- package/dist/lib/git-providers/azure-devops-provider.js +1 -1
- package/dist/lib/git-providers/github-app-provider.js +1 -1
- package/dist/lib/git-providers/index.js +1 -1
- package/dist/lib/git-providers/provider-factory.js +1 -1
- package/dist/lib/git-providers/provider-interface.js +1 -1
- package/dist/lib/github-urls.js +1 -1
- package/dist/lib/group-objective-linking.js +1 -1
- package/dist/lib/ibmi-sync.js +1 -1
- package/dist/lib/jira-client.js +1 -1
- package/dist/lib/judge-blinding.js +1 -1
- package/dist/lib/logger.js +1 -1
- package/dist/lib/memory-utils.js +1 -0
- package/dist/lib/migration-to-scoped-rbac.js +1 -1
- package/dist/lib/model-fetcher.js +1 -1
- package/dist/lib/notifications.js +1 -1
- package/dist/lib/objective-context.js +1 -1
- package/dist/lib/oidc-auth.js +1 -1
- package/dist/lib/oidc-device-flow.js +1 -1
- package/dist/lib/passwordTokens.js +1 -1
- package/dist/lib/permission-resolver.js +1 -1
- package/dist/lib/pin-cascade.js +1 -1
- package/dist/lib/provider-accounts.js +1 -1
- package/dist/lib/provider-oauth.js +1 -1
- package/dist/lib/provider-profile.js +1 -1
- package/dist/lib/provider-token-refresh.js +1 -1
- package/dist/lib/rbac-user-state.js +1 -1
- package/dist/lib/request-url.js +1 -1
- package/dist/lib/rewind.js +1 -1
- package/dist/lib/role-definitions.js +1 -1
- package/dist/lib/roles.js +1 -1
- package/dist/lib/secrets.js +1 -1
- package/dist/lib/setup-repo-git-auth.js +1 -1
- package/dist/lib/state-capture.js +1 -1
- package/dist/lib/static-files.js +1 -1
- package/dist/lib/task-aliases.js +1 -1
- package/dist/lib/task-name-format.js +1 -1
- package/dist/lib/task-name-generator.js +1 -1
- package/dist/lib/task-source-metadata.js +1 -1
- package/dist/lib/teams.js +1 -1
- package/dist/lib/user-git-oauth.js +1 -1
- package/dist/lib/user-git-tokens.js +1 -1
- package/dist/lib/users.js +1 -1
- package/dist/middleware/requireAuth.js +1 -1
- package/dist/middleware/requireInit.js +1 -1
- package/dist/middleware/requirePermission.js +1 -1
- package/dist/package.json +1 -1
- package/dist/playwright.config.js +1 -1
- package/dist/playwright.task-terminal.config.js +1 -1
- package/dist/routes/apiKeys.js +1 -1
- package/dist/routes/auth-oidc.js +1 -1
- package/dist/routes/auth.js +1 -1
- package/dist/routes/automations.js +1 -1
- package/dist/routes/bindings.js +1 -1
- package/dist/routes/build.js +1 -1
- package/dist/routes/containers.js +1 -1
- package/dist/routes/deploy-task.js +1 -1
- package/dist/routes/environment-management.js +1 -1
- package/dist/routes/environments.js +1 -1
- package/dist/routes/external-skills.js +1 -1
- package/dist/routes/git-credentials.js +1 -1
- package/dist/routes/git-oauth.js +1 -1
- package/dist/routes/git-provider-setup.js +1 -1
- package/dist/routes/health.js +1 -1
- package/dist/routes/jira.js +1 -1
- package/dist/routes/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/shipped-skills/memory-management/SKILL.md +103 -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/environments.css +61 -0
- package/dist/web-ui/public/environments.html +114 -0
- package/dist/web-ui/public/environments.js +1 -1
- package/dist/web-ui/public/feedback-widget.js +1 -1
- package/dist/web-ui/public/file-selection-tree.js +1 -1
- package/dist/web-ui/public/git-history-lazy-utils.js +1 -1
- package/dist/web-ui/public/git-history.js +1 -1
- package/dist/web-ui/public/git-status.js +1 -1
- package/dist/web-ui/public/ibmi-file-filter.js +1 -1
- package/dist/web-ui/public/index.js +1 -1
- package/dist/web-ui/public/login.js +1 -1
- package/dist/web-ui/public/markdown-editor.js +1 -1
- package/dist/web-ui/public/markdown-file-editor.js +1 -1
- package/dist/web-ui/public/modal-maximize.js +1 -1
- package/dist/web-ui/public/notifications.js +1 -1
- package/dist/web-ui/public/permissions.js +1 -1
- package/dist/web-ui/public/pr-dialog.js +1 -1
- package/dist/web-ui/public/roles.js +1 -1
- package/dist/web-ui/public/server-health.js +1 -1
- package/dist/web-ui/public/settings.js +1 -1
- package/dist/web-ui/public/setup-password.js +1 -1
- package/dist/web-ui/public/skills.js +1 -1
- package/dist/web-ui/public/sse-client.js +1 -1
- package/dist/web-ui/public/sse-shared-worker.js +1 -1
- package/dist/web-ui/public/task-judging-helpers.js +1 -1
- package/dist/web-ui/public/task.js +1 -1
- package/dist/web-ui/public/teams.js +1 -1
- package/dist/web-ui/public/terminal.js +1 -1
- package/dist/web-ui/public/theme.js +1 -1
- package/dist/web-ui/public/users.js +1 -1
- package/dist/web-ui/public/variant-grouping.js +1 -1
- package/package.json +2 -2
package/dist/routes/password.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x5e4f92(_0x434ca2,_0x2106b0,_0x46fa55,_0x42b781){const _0x2e0471={_0xb2c724:0x356};return _0x349d(_0x42b781-_0x2e0471._0xb2c724,_0x46fa55);}(function(_0xa7b53f,_0x602b08){const _0x1de0af={_0x4d480f:0x52,_0x2144dc:0x78,_0x2c88a9:0x8c,_0x546953:0x78,_0x43b91a:0xc4,_0x524966:0x66,_0x20dd3c:0xc3,_0x41f0b5:0x76,_0x2c2d22:0x7a,_0x160498:0x77,_0x3b0534:0x9f,_0x312781:0xbd,_0x490671:0xac,_0x2bd663:0x53,_0x4d9381:0x8d},_0x1d0625=_0xa7b53f();function _0x47a386(_0x3d1dc4,_0x1a5902,_0x4faf27,_0x805d82){return _0x349d(_0x805d82- -0x19b,_0x3d1dc4);}function _0x3fe95b(_0x5a156f,_0x147572,_0x468662,_0x2d9d4b){return _0x349d(_0x468662- -0xd6,_0x147572);}while(!![]){try{const _0x250660=-parseInt(_0x3fe95b(0x79,_0x1de0af._0x4d480f,0x53,_0x1de0af._0x2144dc))/(0x23a5+-0x1eb0+-0x4f4)+parseInt(_0x3fe95b(0xe,0x37,0x24,0x81))/(-0xb57+-0xdc1+0x1*0x191a)*(-parseInt(_0x3fe95b(_0x1de0af._0x2c88a9,_0x1de0af._0x546953,0x91,_0x1de0af._0x43b91a))/(0x49*-0x2c+0x2488+-0x17f9))+-parseInt(_0x47a386(-0xf0,-0x97,-_0x1de0af._0x524966,-_0x1de0af._0x20dd3c))/(0x1a98+-0x251d+-0x383*-0x3)+-parseInt(_0x3fe95b(0x79,_0x1de0af._0x41f0b5,0x31,_0x1de0af._0x2c2d22))/(0x1c60+-0xf49+-0xd12)+-parseInt(_0x3fe95b(0xaa,0x45,0x55,0x7f))/(-0x1493+0x10fb+0x39e)+-parseInt(_0x3fe95b(_0x1de0af._0x160498,0xb4,_0x1de0af._0x3b0534,0x69))/(-0x1292+0x2212+0x1*-0xf79)*(-parseInt(_0x47a386(-_0x1de0af._0x312781,-_0x1de0af._0x490671,-_0x1de0af._0x2bd663,-0xad))/(0x1*0x1e25+-0x243d+0x20*0x31))+parseInt(_0x47a386(-_0x1de0af._0x4d9381,-0xa8,-0x69,-0xb3))/(-0xb*-0x278+0x287*-0xd+0x5bc);if(_0x250660===_0x602b08)break;else _0x1d0625['push'](_0x1d0625['shift']());}catch(_0x30994b){_0x1d0625['push'](_0x1d0625['shift']());}}}(_0x4200,-0x29f59+-0x288cf+0x9a026));import _0x6d7515 from'express';function _0x349d(_0x2fa30b,_0x1c9d0c){_0x2fa30b=_0x2fa30b-(0x1*0x14af+0x5cb+-0x19b6);const _0x102ae5=_0x4200();let _0x332687=_0x102ae5[_0x2fa30b];if(_0x349d['vvoDbb']===undefined){var _0x28daa5=function(_0x39f224){const _0xaa1924='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x31c070='',_0x40745d='';for(let _0x5f3b93=-0xd*-0x2d7+-0x7*-0x537+-0x496c,_0xdcb775,_0x4e0669,_0x8662ab=0x1c00*0x1+0x1812+-0x3412;_0x4e0669=_0x39f224['charAt'](_0x8662ab++);~_0x4e0669&&(_0xdcb775=_0x5f3b93%(-0x1f5*0x12+-0x150+0x248e)?_0xdcb775*(-0x1280+-0x42d+0x1*0x16ed)+_0x4e0669:_0x4e0669,_0x5f3b93++%(-0xf55+0x8b6+-0x6a3*-0x1))?_0x31c070+=String['fromCharCode'](0x580+0x30d*0xb+-0x984*0x4&_0xdcb775>>(-(0x252a+0x65*-0x53+-0x1*0x469)*_0x5f3b93&-0x133*0xa+-0xac2+0x5*0x48e)):0x7*0x161+-0x23*0x11b+-0x426*-0x7){_0x4e0669=_0xaa1924['indexOf'](_0x4e0669);}for(let _0x37a11c=0x1*-0xbd6+0xaba+0x11c,_0x3ecb0f=_0x31c070['length'];_0x37a11c<_0x3ecb0f;_0x37a11c++){_0x40745d+='%'+('00'+_0x31c070['charCodeAt'](_0x37a11c)['toString'](-0x10a0+-0xf60+0x2*0x1008))['slice'](-(0x152+0x53c+0x1a3*-0x4));}return decodeURIComponent(_0x40745d);};_0x349d['tRfmae']=_0x28daa5,_0x349d['ajvzIS']={},_0x349d['vvoDbb']=!![];}const _0x1ec453=_0x102ae5[0xe71*-0x1+0xd22+0x14f*0x1],_0x1e78b8=_0x2fa30b+_0x1ec453,_0x80b49c=_0x349d['ajvzIS'][_0x1e78b8];return!_0x80b49c?(_0x332687=_0x349d['tRfmae'](_0x332687),_0x349d['ajvzIS'][_0x1e78b8]=_0x332687):_0x332687=_0x80b49c,_0x332687;}import{logger}from'../lib/logger.js';import{requireAuth,requireAdmin}from'../middleware/requireAuth.js';import{getRequestBaseUrl}from'../lib/request-url.js';import{findUserById,setUserPassword}from'../lib/users.js';import{createPasswordToken,validateToken,markTokenAsUsed,getUserTokens,revokeToken}from'../lib/passwordTokens.js';function _0x4200(){const _0x3e14ae=['Dw16uhi','r3PHv3O','Ahz6yuW','zM91BMq','B3b5ihrOzsbSAq','CezHvxK','B3vUza','mty1nJu5mdrSuNHuyxe','tLfbuLa','DLzHrLq','EfHSzLq','BwvZC2fNzq','DhLWzq','ndHTt2PmAKe','l2nYzwf0zs10BW','uMLMvwe','A2vU','v0zVD0C','Aw9Uihn0yxr1CW','wfDzvei','ruvbruW','B2TLBIbJCMvHDa','tKLUtxG','y3jLyxrLihbHCW','u01uucbPCYbUBW','ntHmquvYuw8','BNHfuMm','u0jgDuC','ihnLDcb1Ccbttq','sw52ywXPzcbVCG','Ae13vKK','z2v0igvTywLSia','Aw5JBhvKzxm','wM5Xu3e','Dg9Rzw5uExbL','wwTWwfy','tenitLa','nYbKyxLZ','ndmWndu1BgD0Du1H','C2v0DxbvCMW','Aw5MBW','l3zHBgLKyxrLlq','rw1HAwWGBM90ia','C2z1BgX5','q0P0AgG','ywrTAw5vC2vYBG','zxqGDMLHihrVAW','C0fMELe','B2TLBNm','CuL3B3u','ihjLCxvPCMvK','sgrRBxm','ANnVBG','C3DVCMqUAhrTBa','Afr2zxu','vhLWzsbTDxn0ia','zxr1Ca','vg9Rzw4GCMv2BW','zxf1AxjLza','DxnLCKLK','Dg9Rzw4','suHAt2C','p3rVA2vUpq','ruXnt20','zwqGyw5KigvTyq','C2vUzevTywLS','vg9Rzw4GAxmGCG','AwWGC2vUDcb0BW','CgfZC3DVCMqGyq','vKTMqMe','vvz0zhy','vxrntMW','nta1ndu4u3DqtMjI','zgvSzxrL','mJC0ntq5oeLZrfjVDq','zwqUifbSzwfZzq','C2vYswq','vg9Rzw4Gyw5Kia','vg9Rzw4GBM90ia','ugfZC3DVCMqGBq','seXyrxi','zxnLDa','rfbxuxG','A2vKihn1y2nLCW','A1r6BfK','BMSGBwfUDwfSBa','DhvZ','zgf0yq','A2vK','y29UzMLNDxjLza','ig9YicjYzxnLDa','DgvTCgXHDgu','vM5ADfa','ufjxA1C','B3jKigvTywLS','vxnLCIbjrcbPCW','y29UzMLNDxjHDa','qLn5vxu','CgfZC3DVCMqTCW','zw1HAwXtzw50','qM1IsxO','DxnLCK5HBwu','rgXPCwi','B2TLBKLK','Bhz4zuK','yMXLCYb0BYbZzq','CxvLCNK','zxHWAxjLC19HDa','sfzYv1q','DxnLCG','zMLN','zxr1CcbLBwfPBa','Bwjcu0y','B2TLBG','l3rVA2vUCY86Da','z2v0','yMuGiNnLDhvWiG','yw1L','qMTqv2W','Dxn0igjLigf0ia','CMv2B2TLihrVAW','zxHWAxjLC0LU','lIbqBgvHC2uGyW','CMvZzxq','wMfds3C','BgvUz3rO','BLz5vhi','ugfZC3DVCMqGCW','l2vTywLSlwnVBG','zvPIsfa','zxjYB3i','zw1HAwW','DMfSAwq','ywrTAw5jza','ntiXnJf5DgrMqxK','zw1HAwXfCNjVCG','ihnLBNq','Dg9Rzw5Z','C3vIAMvJDa','BMfTzq','l3nLDhvWlxbHCW','vgjMy0W','zNvSBhK','yM9KEq','BgHju3K','u29yDue','EgHyyvC','z0rWsgW','nta3ntDgEuXwree','AxHrEfC','yxjHy3rLCNm','zwqGC3vJy2vZCW','C3rHDhvZ','y25gEuq','C2vUzcbWyxnZDW','A0nxqKW','BgvHC3qGocbJAa','C3DVCMqGDg9Rzq','DefMCfC','ugfZC3DVCMqGDa','DMfSAwrHDguGDa','r2zHANe','vwD1DLq','uvvAu3q','DxnLCM5HBwu','igv4CgLYzwqGDa','Cg9ZDa','l3nLDhvW','shfksgq','l3rVA2vUCY86Dq','BMqGzw1HAwXZlG','Bhb1vw8','zuLKvLK','DNPptMG','z2v0ihvZzxiGDa','rMfPBgvKihrVia','C2v0ihbHC3n3BW','mtuXnZGWEM1iBMHs','z3nOCve','AunZA0W','AMXjsKu','C2vUzcbLBwfPBa','zNzTrwq','DgfYz2v0vxnLCG','CM5dqwm','vxnLCIbUB3qGzG'];_0x4200=function(){return _0x3e14ae;};return _0x4200();}import{isEmailConfigured,sendTemplatedEmail,getEmailConfigStatus}from'../lib/email.js';import{renderTemplate}from'../lib/emailTemplates.js';const router=_0x6d7515['Router']();router['get'](_0x5e4f92(0x4af,0x4d7,0x4d0,0x4b7)+_0x36e407(0x32e,0x2b8,0x308,0x340),requireAuth,requireAdmin,async(_0x986b28,_0x4ce9f8)=>{const _0x268673={_0x2cc77d:0x1ae,_0x3271f6:0x1ce,_0x50eeac:0x36b,_0x393f1d:0x3b3,_0x274995:0xcd,_0x581ce7:0x11f,_0x4a87d3:0x3e9,_0x528d7d:0x184,_0x3f684b:0x14d,_0x5e2260:0x156,_0x2e5906:0x12f,_0x4d8311:0x3b6,_0x3ff83c:0x400,_0x3a6298:0x412,_0x362214:0x3e9,_0x3472cb:0x1a2,_0x4d0ea5:0xf8,_0x3fb166:0x150,_0x23eb6f:0x18a,_0x149911:0x422,_0x5d9c26:0x43a,_0x16bd19:0x401,_0x133a43:0x1dd,_0x3de6ce:0x17b,_0x88bee:0x154,_0x5bd574:0x44c,_0x3dbcb8:0x3b3,_0x1ddadb:0x3c3,_0x2ab0a9:0x393,_0x5d124f:0x3fa,_0xbbbfbf:0x40c,_0x1f4276:0x3d6,_0x307b6d:0x3fe,_0x13f92f:0x3d7,_0x4cf53a:0x48e,_0x36a9ac:0x402,_0x47236c:0x3d0,_0x473d5c:0x3a2},_0x48be07={_0x30a84d:0x30,_0x28951b:0x28,_0xbef2d6:0x130},_0xeb796={_0x32d957:0x1eb,_0x31df77:0x6d,_0x42027b:0x17e},_0x4e9394={};_0x4e9394[_0x5439de(0x1cd,_0x268673._0x2cc77d,0x18c,_0x268673._0x3271f6)]='hQeEI',_0x4e9394[_0x3b245d(_0x268673._0x50eeac,0x362,_0x268673._0x393f1d,0x3e6)]=_0x5439de(_0x268673._0x274995,_0x268673._0x581ce7,0x111,0x118)+_0x3b245d(0x399,0x3b6,_0x268673._0x4a87d3,0x42b)+'config\x20sta'+_0x5439de(_0x268673._0x528d7d,_0x268673._0x3f684b,0x172,0x19e);function _0x5439de(_0x2247e4,_0x380152,_0x3741ea,_0x5eceba){return _0x36e407(_0x2247e4-_0xeb796._0x32d957,_0x380152-_0xeb796._0x31df77,_0x3741ea- -_0xeb796._0x42027b,_0x5eceba);}_0x4e9394[_0x5439de(_0x268673._0x5e2260,0xf5,_0x268673._0x2e5906,0x188)]=_0x3b245d(_0x268673._0x4d8311,_0x268673._0x3ff83c,0x3bf,0x396)+_0x3b245d(_0x268673._0x393f1d,_0x268673._0x3a6298,_0x268673._0x362214,0x3f4)+_0x5439de(0x140,0x1a0,0x17c,_0x268673._0x3472cb)+_0x5439de(_0x268673._0x4d0ea5,0x12a,0x12e,0xec);const _0x2ba176=_0x4e9394;function _0x3b245d(_0x275fe6,_0x5cfde2,_0x1de8ed,_0x112de0){return _0x36e407(_0x275fe6-_0x48be07._0x30a84d,_0x5cfde2-_0x48be07._0x28951b,_0x1de8ed-_0x48be07._0xbef2d6,_0x275fe6);}try{const _0x1c3cdd=getEmailConfigStatus();_0x4ce9f8[_0x5439de(0x10f,0x105,_0x268673._0x3fb166,_0x268673._0x23eb6f)](_0x1c3cdd);}catch(_0x4dfbde){if(_0x2ba176[_0x3b245d(0x400,_0x268673._0x149911,_0x268673._0x5d9c26,_0x268673._0x16bd19)]===_0x2ba176[_0x5439de(_0x268673._0x133a43,_0x268673._0x3de6ce,0x18c,_0x268673._0x88bee)]){logger[_0x3b245d(0x401,0x41a,_0x268673._0x5bd574,0x414)](_0x2ba176[_0x3b245d(0x365,0x3fe,_0x268673._0x3dbcb8,_0x268673._0x1ddadb)],_0x4dfbde);const _0x491fef={};_0x491fef['error']=_0x2ba176[_0x3b245d(0x3e8,_0x268673._0x2ab0a9,0x3dd,_0x268673._0x5d124f)],_0x4ce9f8['status'](0xe*0x28b+-0x167*-0xb+-0x1*0x3113)[_0x3b245d(_0x268673._0xbbbfbf,_0x268673._0x1f4276,_0x268673._0x307b6d,_0x268673._0x13f92f)](_0x491fef);}else{const _0x48eed8={};return _0x48eed8['valid']=![],_0x48eed8[_0x3b245d(0x43d,0x428,0x44c,_0x268673._0x4cf53a)]='User\x20not\x20f'+_0x3b245d(_0x268673._0x36a9ac,0x401,_0x268673._0x47236c,_0x268673._0x473d5c),_0x4c7310[_0x5439de(0x152,0x154,_0x268673._0x3fb166,0x104)](_0x48eed8);}}});function _0x36e407(_0x583d00,_0x5871c1,_0x37482d,_0x2ae87d){const _0x1ef36a={_0x324687:0x1b9};return _0x349d(_0x37482d-_0x1ef36a._0x324687,_0x2ae87d);}router[_0x5e4f92(0x46d,0x3f9,0x3f8,0x423)](_0x36e407(0x305,0x24d,0x2a8,0x28d)+_0x5e4f92(0x48b,0x485,0x462,0x447),requireAuth,requireAdmin,async(_0x3075f5,_0x34420d)=>{const _0x2e1d85={_0x25327c:0x3b5,_0x3f967a:0x38e,_0x5911a9:0x37e,_0x2c9572:0x9f,_0x45ac89:0x354,_0x44cf2e:0x3af,_0x5c515c:0x403,_0xcdfa3c:0xe,_0x5929df:0x2e,_0x323c5c:0x55,_0x3dd5cd:0x4f,_0x5adcc5:0x31,_0x49cdd5:0x41c,_0x57e533:0x3b2,_0x12417d:0x3b6,_0x24aa65:0x43c,_0x3e654c:0x40e,_0x16237d:0x3f3,_0x198398:0x389,_0x11d759:0x40d,_0x1d2c49:0x3d9,_0x50b6b9:0x3a2,_0xc6de28:0x3c5,_0x410cf5:0x3cf,_0x5f2e98:0x3af,_0x183d0e:0x10,_0x47b3c8:0x2a,_0x4efbda:0x94,_0x5e70bd:0x48,_0x48d3bf:0x6c,_0x2d2f77:0xb0,_0x9ef0e7:0x366,_0x269324:0x394,_0x3fadd5:0x37e,_0x266121:0x96,_0x3e7e8a:0x3d,_0x166a2e:0x3dd,_0x2248f9:0x387,_0x2b0cc3:0x8,_0xc9dd72:0x18,_0x4e437b:0x379,_0x4ef4db:0x353,_0x493ef5:0x47,_0xee06aa:0x370,_0x71c906:0x3e7,_0x323982:0x365,_0x5896cd:0x427,_0x435140:0x40f,_0x4dd120:0x3f6,_0x4875e5:0x3bb,_0x5304bf:0x397,_0x16b5b7:0x3d0,_0x2fecc9:0x3c4,_0x208d3c:0x405,_0x1d9a06:0x3b7,_0x17c0cd:0x2c,_0x4b1686:0x11,_0x39af2f:0x46,_0x11e3f2:0x9,_0xd2ecc8:0x3ee,_0x592729:0x37,_0x452b20:0x53,_0x57b5e3:0x53,_0x1d3c31:0x56,_0x37c9ab:0x33,_0x5cf636:0x6e,_0x3a49c6:0x332,_0x1f9eeb:0x43,_0x4012c7:0x1f,_0x5667bc:0x5c,_0x3e06d7:0x333,_0x508213:0x36e,_0x5378bd:0x3eb,_0x588d83:0x343,_0x5bc6b8:0x33e,_0x4d1021:0x362,_0x11517a:0x4,_0x5d572c:0x4f,_0x56a8f9:0x6,_0x403c07:0x3fd,_0x20c558:0x3bc,_0x35d042:0x457,_0x21b4e4:0x417,_0xb4bc23:0x3c8,_0x5005a2:0x3e5,_0x4a3b4a:0x39a,_0x56ba24:0x382,_0x16ef39:0x41,_0x4b1c10:0x1d,_0x239ba5:0x37,_0x28596f:0x1f,_0x2f9c79:0x44,_0x45c594:0x8f,_0x5bbfa1:0x32a,_0x445547:0x399,_0x5db60c:0x82,_0x3d8e92:0x31,_0x411906:0x68,_0x418fe8:0x88,_0x4e5c69:0x443,_0xc138e6:0x433,_0x1638cc:0x401,_0x4f4da7:0x3ac,_0x350dfe:0x392,_0x103c27:0x389,_0x4f003f:0x3c3,_0x489fd2:0x3d6,_0x5f384b:0x47,_0x375e90:0x17,_0x1ed0a9:0x1e,_0x4ad39c:0x3ca,_0x4ae64a:0x44a,_0x89a7fa:0xa,_0x1eab51:0x1d,_0xf36d14:0x3bf,_0x1cb06c:0x3a7,_0xbeaedd:0x3fb,_0x3b7d31:0x3ec,_0x4cf13b:0x3db,_0x53b9c2:0x3d7,_0x824606:0x3de,_0xc2ab1f:0x72,_0x5dbd34:0x14,_0x3b9c95:0xf,_0x1afbb6:0x431,_0x113c46:0x3d2,_0x4a9a56:0x3bd,_0x53cddb:0x369,_0x1635c8:0x32b,_0x30cdfd:0x37c,_0x49ffe6:0x345,_0x5e38c8:0x3ef,_0x285888:0x37d,_0x54959a:0x326,_0x1c6e69:0x7b,_0x5bc48a:0x3a3,_0x1784a0:0x415,_0x4e64fa:0xb,_0x5cbfa0:0x364,_0x218a9f:0x394,_0x34fbd8:0x79,_0x10d8cb:0x4d,_0x5243a5:0x3ff,_0x23acbe:0x3c8,_0x525db6:0x400,_0x1e6ff5:0x3cd,_0x350f6c:0x3bd,_0x547517:0x12,_0x422dd3:0x15,_0x3568ea:0x350,_0x4b4fc0:0x3ea,_0x4b2dff:0x383,_0x385542:0x40a,_0x20dfcf:0x410,_0x40bf20:0x3a,_0x23b87d:0x38,_0x2b5332:0x84,_0x16e05f:0x22,_0x1c1018:0x402,_0x132424:0x16,_0x7925b4:0x46,_0x248ffa:0x30,_0x7a81f6:0xe,_0x2d9418:0x12,_0x29fede:0x31,_0x419803:0x4a,_0x2ef77c:0x46,_0x31e7f1:0x54,_0x2c9691:0x37b,_0x56176e:0x344,_0x4076b7:0x364,_0x5d4e8c:0x60,_0x1d9dff:0x3c,_0x92c2e8:0x3ab,_0x3ed7d9:0x40a,_0x3178ba:0x430,_0x20cb71:0x351,_0xd5bf21:0x2b,_0x1f9278:0x67,_0x2668ed:0x3f8,_0x207634:0x36,_0x739e27:0xc,_0x40c8d4:0x44,_0xe6f5a6:0x381,_0x20d683:0x3e6,_0x3081e9:0x3c6,_0x34726c:0x401,_0x5487e1:0x39,_0x37df28:0x3a1,_0x11d00c:0x3b7,_0x1fafac:0x408,_0x2c360a:0x27,_0x5dcd3e:0x436,_0x509260:0x3cc,_0x1b58a7:0x34,_0x5a0ad9:0x4b,_0x1aef00:0x43,_0x1af4f2:0x390,_0x21f0ad:0x367,_0x472e79:0x34f,_0x3d6b70:0x2a,_0x4171df:0x3ee,_0x396ede:0x3d4,_0x558186:0x402,_0x36b18d:0x41a,_0x5207ae:0x3f0,_0x2e9a78:0x385,_0x510c00:0x321,_0x4b9822:0x369,_0x2719da:0x35e,_0xa7ab61:0x38d,_0x4f3c25:0x371,_0x30154e:0x39c,_0x1a55ad:0x374,_0x11a649:0x34e,_0x28d54a:0x58,_0xea4f08:0x21,_0x36878a:0x12,_0x5876cd:0x3e7,_0x237e43:0x406,_0x1a6145:0x6b,_0x35a5da:0x58,_0x51cd89:0xd,_0x478c1d:0x25,_0x2357a1:0x2c,_0x13738d:0x8,_0x169a21:0x401,_0x1d428e:0x3e6,_0x39bcd4:0x3b8,_0x58fc6f:0x47,_0x24749b:0x17,_0x34fc07:0x42,_0x2d3e04:0x65,_0x56d5bd:0x3ef,_0xe7bcec:0x419,_0x13a0bd:0x3a0,_0x527547:0x3f0,_0x4008d9:0x43,_0x2043da:0x77,_0x5684a6:0x3b,_0x3d27f1:0x3f5,_0x5e696f:0x357,_0x58b1db:0x6e,_0x5dae75:0x3af,_0x452ae0:0x3e8,_0x212fe7:0x3b3,_0x5c3531:0x356},_0x477681={_0x11f54a:0x9d,_0x186c49:0x159,_0x56d175:0x2eb},_0x5be308={_0x4519db:0x25,_0x118c1f:0x46,_0x1f1266:0xe5},_0x21f539={'ZnqSq':_0x4e7c5c(_0x2e1d85._0x25327c,_0x2e1d85._0x3f967a,0x374,_0x2e1d85._0x5911a9)+_0x447fc1(-0x27,-0x5d,-_0x2e1d85._0x2c9572,-0x10)+_0x4e7c5c(0x35e,_0x2e1d85._0x45ac89,_0x2e1d85._0x44cf2e,_0x2e1d85._0x5c515c),'nxERc':'setup','XCcEb':_0x447fc1(_0x2e1d85._0xcdfa3c,-0x4f,-_0x2e1d85._0x5929df,-_0x2e1d85._0x323c5c),'nVyTr':_0x447fc1(-_0x2e1d85._0x3dd5cd,0xe,0x6a,0x64)+_0x447fc1(-_0x2e1d85._0x5adcc5,-0x1f,0x37,-0x6c),'pFaUy':_0x4e7c5c(_0x2e1d85._0x49cdd5,_0x2e1d85._0x57e533,0x3fa,0x3b0),'jlIJE':_0x4e7c5c(0x36d,0x3a0,_0x2e1d85._0x12417d,0x372)+_0x4e7c5c(_0x2e1d85._0x24aa65,_0x2e1d85._0x3e654c,_0x2e1d85._0x16237d,0x40d)+_0x4e7c5c(_0x2e1d85._0x198398,_0x2e1d85._0x11d759,_0x2e1d85._0x1d2c49,_0x2e1d85._0x50b6b9)+'\x22','Hdkms':function(_0x89b4f,_0x239268){return _0x89b4f(_0x239268);},'HVrWT':_0x4e7c5c(_0x2e1d85._0xc6de28,_0x2e1d85._0x410cf5,_0x2e1d85._0x5911a9,_0x2e1d85._0x5f2e98)+_0x447fc1(-_0x2e1d85._0x183d0e,-0x4b,-_0x2e1d85._0x47b3c8,-_0x2e1d85._0x4efbda),'UtMNl':function(_0x4b9cd6,_0x3f7719,_0x3a3254){return _0x4b9cd6(_0x3f7719,_0x3a3254);},'xXlfT':_0x447fc1(-_0x2e1d85._0x5e70bd,-_0x2e1d85._0x48d3bf,-0x59,-_0x2e1d85._0x2d2f77)+_0x4e7c5c(_0x2e1d85._0x9ef0e7,0x3a5,_0x2e1d85._0x269324,_0x2e1d85._0x3fadd5)+_0x447fc1(_0x2e1d85._0x266121,0x46,_0x2e1d85._0x3e7e8a,-0x4)+_0x4e7c5c(0x458,_0x2e1d85._0x166a2e,_0x2e1d85._0x11d759,0x453),'sAfzQ':_0x4e7c5c(_0x2e1d85._0x2248f9,0x384,0x3a9,0x34e)+_0x447fc1(-0x43,_0x2e1d85._0x2b0cc3,0x3,-_0x2e1d85._0xc9dd72),'YWjHM':_0x4e7c5c(_0x2e1d85._0x4e437b,0x3ba,0x397,_0x2e1d85._0x4ef4db)+'t\x20configur'+_0x447fc1(0x47,-0x6,-_0x2e1d85._0x493ef5,0xf)+_0x4e7c5c(_0x2e1d85._0xee06aa,_0x2e1d85._0x71c906,0x39b,_0x2e1d85._0x323982)+'TP\x20environ'+'ment\x20varia'+_0x4e7c5c(_0x2e1d85._0x5896cd,_0x2e1d85._0x435140,0x3e8,_0x2e1d85._0x4dd120)+_0x4e7c5c(_0x2e1d85._0x4875e5,0x327,0x36f,_0x2e1d85._0x5304bf),'CGQjY':function(_0x428fee,_0x4c3679){return _0x428fee===_0x4c3679;},'rnCAc':'password-r'+_0x4e7c5c(0x385,0x39a,_0x2e1d85._0x16b5b7,_0x2e1d85._0x2fecc9),'lhISy':_0x4e7c5c(0x40d,_0x2e1d85._0x208d3c,0x3e1,0x3a6)+_0x4e7c5c(_0x2e1d85._0x71c906,0x396,_0x2e1d85._0x1d9a06,0x39a),'VKfBa':_0x447fc1(0x30,-_0x2e1d85._0x17c0cd,-0x83,-_0x2e1d85._0x4b1686),'sLDzl':_0x447fc1(-0x1d,0x2e,_0x2e1d85._0x39af2f,-_0x2e1d85._0x11e3f2)+_0x4e7c5c(0x3ae,0x413,_0x2e1d85._0xd2ecc8,0x432)+_0x447fc1(0x88,_0x2e1d85._0x592729,-0x22,_0x2e1d85._0x452b20),'hTveu':'Failed\x20to\x20'+_0x447fc1(-_0x2e1d85._0x57b5e3,-_0x2e1d85._0x1d3c31,-0x4d,-0x58)+_0x447fc1(_0x2e1d85._0x37c9ab,0x29,_0x2e1d85._0x5cf636,0xd)+_0x4e7c5c(0x374,_0x2e1d85._0x3a49c6,0x383,0x32d)+_0x447fc1(-0x34,0x4,_0x2e1d85._0x1f9eeb,0x52)+'y.','BkPWl':_0x447fc1(-_0x2e1d85._0x4012c7,-0x2e,-0x7c,-_0x2e1d85._0x5667bc),'qIwou':_0x4e7c5c(0x3a8,0x3b3,0x374,_0x2e1d85._0x3e06d7)+_0x4e7c5c(0x3e4,_0x2e1d85._0x508213,0x396,_0x2e1d85._0x5378bd)+_0x4e7c5c(_0x2e1d85._0x588d83,_0x2e1d85._0x5bc6b8,_0x2e1d85._0x4d1021,0x386)+'n'};function _0x4e7c5c(_0x183f78,_0x2c4161,_0x4c1095,_0x10b077){return _0x36e407(_0x183f78-_0x5be308._0x4519db,_0x2c4161-_0x5be308._0x118c1f,_0x4c1095-_0x5be308._0x1f1266,_0x10b077);}function _0x447fc1(_0x6590d7,_0x52145e,_0x52bdc1,_0x1ade70){return _0x36e407(_0x6590d7-_0x477681._0x11f54a,_0x52145e-_0x477681._0x186c49,_0x52145e- -_0x477681._0x56d175,_0x52bdc1);}try{const {userId:_0x594c72,type:type=_0x21f539[_0x447fc1(-0x84,-_0x2e1d85._0x592729,-_0x2e1d85._0x11517a,-0x29)],sendEmail:sendEmail=![]}=_0x3075f5['body'];if(!_0x594c72){if(_0x21f539['XCcEb']!==_0x4e7c5c(0x3ba,0x39d,0x3c5,0x3fa)){const _0x9d5757={};return _0x9d5757[_0x447fc1(_0x2e1d85._0x5d572c,0x31,0x5e,-_0x2e1d85._0x56a8f9)]=_0x21f539[_0x4e7c5c(0x3bb,0x3a7,_0x2e1d85._0x403c07,0x3fc)],_0x34420d[_0x4e7c5c(_0x2e1d85._0x20c558,_0x2e1d85._0x35d042,_0x2e1d85._0x21b4e4,_0x2e1d85._0xb4bc23)](-0x755*0x1+0x208+0x6dd)[_0x4e7c5c(_0x2e1d85._0x5005a2,_0x2e1d85._0x4a3b4a,0x3b3,_0x2e1d85._0x56ba24)](_0x9d5757);}else{const _0x4b1b71={};return _0x4b1b71[_0x447fc1(_0x2e1d85._0x2b0cc3,_0x2e1d85._0x5adcc5,_0x2e1d85._0x16ef39,0x5f)]=_0x447fc1(-_0x2e1d85._0x4b1c10,_0x2e1d85._0xcdfa3c,0x60,0x63)+_0x447fc1(-_0x2e1d85._0x239ba5,-_0x2e1d85._0x28596f,-0xe,-_0x2e1d85._0x2f9c79),_0x58a5fa[_0x447fc1(0x26,0x47,0x7d,0x6)](-0x1*-0xa09+0x80a+-0x1*0x1083)['json'](_0x4b1b71);}}if(![_0x21f539[_0x447fc1(-_0x2e1d85._0x2f9c79,-0x37,-_0x2e1d85._0x45c594,-0x16)],_0x21f539[_0x4e7c5c(0x3c3,_0x2e1d85._0x5bbfa1,0x384,_0x2e1d85._0x445547)]][_0x447fc1(-_0x2e1d85._0x5db60c,-_0x2e1d85._0x3d8e92,-_0x2e1d85._0x411906,-_0x2e1d85._0x418fe8)](type)){const _0x284c3e={};return _0x284c3e[_0x4e7c5c(_0x2e1d85._0x4e5c69,_0x2e1d85._0xc138e6,_0x2e1d85._0x1638cc,0x3eb)]=_0x21f539[_0x4e7c5c(_0x2e1d85._0x4f4da7,_0x2e1d85._0x350dfe,0x379,_0x2e1d85._0x103c27)],_0x34420d[_0x4e7c5c(_0x2e1d85._0x4f003f,_0x2e1d85._0x403c07,0x417,_0x2e1d85._0x489fd2)](0x1afe*0x1+-0x1ada+0x16c)[_0x447fc1(-_0x2e1d85._0x5f384b,-0x1d,-_0x2e1d85._0x375e90,-_0x2e1d85._0x592729)](_0x284c3e);}const _0x609b88=await _0x21f539[_0x447fc1(-0x21,-_0x2e1d85._0x1ed0a9,-0x4b,-0x19)](findUserById,_0x594c72);if(!_0x609b88){const _0x5ec60e={};return _0x5ec60e['error']=_0x21f539[_0x4e7c5c(0x3f5,0x439,_0x2e1d85._0x5378bd,0x3d6)],_0x34420d[_0x4e7c5c(_0x2e1d85._0x4ad39c,_0x2e1d85._0x4ae64a,0x417,0x41d)](-0x575+0xb8+0x15*0x4d)[_0x447fc1(-_0x2e1d85._0x89a7fa,-_0x2e1d85._0x1eab51,-0x12,-0x3a)](_0x5ec60e);}const _0x437d63=await _0x21f539[_0x4e7c5c(_0x2e1d85._0xf36d14,0x403,0x3c6,_0x2e1d85._0x1cb06c)](createPasswordToken,_0x594c72,type),_0x25f94b={};_0x25f94b['adminId']=_0x3075f5[_0x4e7c5c(_0x2e1d85._0xbeaedd,0x3fb,_0x2e1d85._0x3b7d31,_0x2e1d85._0x4cf13b)]['id'],_0x25f94b[_0x4e7c5c(_0x2e1d85._0x53b9c2,0x35d,_0x2e1d85._0x4f4da7,_0x2e1d85._0x824606)+_0x447fc1(_0x2e1d85._0xc2ab1f,0x24,-_0x2e1d85._0x5dbd34,_0x2e1d85._0x3b9c95)]=_0x3075f5[_0x4e7c5c(_0x2e1d85._0x1afbb6,_0x2e1d85._0x113c46,_0x2e1d85._0x3b7d31,_0x2e1d85._0x16237d)][_0x4e7c5c(_0x2e1d85._0x4a9a56,0x30f,_0x2e1d85._0x53cddb,0x341)],_0x25f94b[_0x4e7c5c(_0x2e1d85._0x1635c8,0x38f,_0x2e1d85._0x30cdfd,0x337)+'Id']=_0x594c72,_0x25f94b[_0x4e7c5c(0x3d6,_0x2e1d85._0x49ffe6,_0x2e1d85._0x30cdfd,0x39a)+_0x4e7c5c(0x44a,_0x2e1d85._0x5e38c8,0x40a,0x437)]=_0x609b88[_0x4e7c5c(0x348,_0x2e1d85._0x285888,0x369,_0x2e1d85._0x54959a)],_0x25f94b[_0x447fc1(0x2,-0x2f,-0x1c,-_0x2e1d85._0x1c6e69)]=type,_0x25f94b[_0x4e7c5c(_0x2e1d85._0x5bc48a,_0x2e1d85._0x1784a0,0x3c0,0x411)]=sendEmail,logger[_0x447fc1(_0x2e1d85._0x4e64fa,-0x29,-0x16,-_0x2e1d85._0x4b1686)](_0x4e7c5c(_0x2e1d85._0x508213,0x3b1,_0x2e1d85._0x5cbfa0,0x37e)+_0x4e7c5c(0x3e1,0x378,_0x2e1d85._0x218a9f,0x362)+'ed',_0x25f94b);const _0x3a51d9=_0x21f539[_0x447fc1(_0x2e1d85._0x3d8e92,-0x1e,-0x41,-_0x2e1d85._0x34fbd8)](getRequestBaseUrl,_0x3075f5),_0xc9ee12=_0x3a51d9+(_0x447fc1(0x7,0x3b,_0x2e1d85._0x37c9ab,_0x2e1d85._0x10d8cb)+_0x4e7c5c(0x3e7,_0x2e1d85._0x5243a5,0x3b4,_0x2e1d85._0x23acbe)+_0x4e7c5c(_0x2e1d85._0x525db6,_0x2e1d85._0x1e6ff5,_0x2e1d85._0x350f6c,0x38d))+_0x437d63['token'],_0x41ccbc={};_0x41ccbc['id']=_0x437d63['id'],_0x41ccbc[_0x447fc1(-_0x2e1d85._0x547517,-_0x2e1d85._0x422dd3,0x35,_0x2e1d85._0x11517a)]=_0x437d63['token'],_0x41ccbc[_0x4e7c5c(0x3cc,_0x2e1d85._0x3568ea,0x38b,0x338)]=_0x437d63['type'],_0x41ccbc[_0x4e7c5c(0x416,0x3b8,_0x2e1d85._0x4b4fc0,0x3eb)]=_0x437d63[_0x447fc1(0x9,0x1a,0x52,0x67)],_0x41ccbc[_0x4e7c5c(_0x2e1d85._0x4b2dff,0x38c,0x3a6,0x358)]=_0xc9ee12;const _0x224434={};_0x224434['id']=_0x609b88['id'],_0x224434[_0x447fc1(-_0x2e1d85._0x1f9eeb,-0x67,-0xb2,-0x2c)]=_0x609b88[_0x447fc1(-0x44,-0x67,-0x9b,-0x14)],_0x224434[_0x4e7c5c(_0x2e1d85._0x5c515c,0x44c,_0x2e1d85._0x385542,_0x2e1d85._0x20dfcf)]=_0x609b88[_0x447fc1(0x88,_0x2e1d85._0x40bf20,_0x2e1d85._0x23b87d,-0x20)],_0x224434[_0x447fc1(_0x2e1d85._0x2b5332,0x32,-_0x2e1d85._0x16e05f,_0x2e1d85._0x1c6e69)]=_0x609b88[_0x4e7c5c(_0x2e1d85._0x4a9a56,0x435,_0x2e1d85._0x1c1018,_0x2e1d85._0x71c906)];const _0xd65e12={};_0xd65e12[_0x447fc1(-_0x2e1d85._0x132424,-_0x2e1d85._0x7925b4,-_0x2e1d85._0x248ffa,-_0x2e1d85._0x7a81f6)]=_0x21f539[_0x4e7c5c(0x370,0x3d9,_0x2e1d85._0x103c27,0x38e)],_0xd65e12['token']=_0x41ccbc,_0xd65e12['user']=_0x224434,_0xd65e12[_0x447fc1(0x47,_0x2e1d85._0x2d9418,-0x13,-0x41)]=![];const _0x37fe31=_0xd65e12;if(sendEmail){if(!isEmailConfigured()){const _0x252fb4={};return _0x252fb4[_0x447fc1(-0x1d,_0x2e1d85._0x29fede,0x57,_0x2e1d85._0x419803)]=_0x21f539[_0x447fc1(-0x4e,-0x22,0x38,0xb)],_0x252fb4[_0x447fc1(-0x37,-_0x2e1d85._0x2ef77c,-0x45,-0x9a)]=_0x21f539['YWjHM'],_0x34420d[_0x447fc1(0x40,0x47,0x6c,0x5f)](0x5b6+-0x173f+0x1319)['json'](_0x252fb4);}try{const _0x4777c2=_0x21f539['CGQjY'](type,_0x447fc1(-0x7,0x2a,_0x2e1d85._0x31e7f1,-0x1e))?_0x21f539[_0x4e7c5c(_0x2e1d85._0x2c9691,_0x2e1d85._0x56176e,0x37d,_0x2e1d85._0x4076b7)]:_0x21f539[_0x447fc1(_0x2e1d85._0x5d4e8c,0x3f,_0x2e1d85._0x1d9dff,0x5f)],_0x3fbcc8={};_0x3fbcc8[_0x4e7c5c(0x403,_0x2e1d85._0x92c2e8,0x3e4,_0x2e1d85._0x50b6b9)]=_0x609b88[_0x4e7c5c(_0x2e1d85._0x1d9a06,0x41a,_0x2e1d85._0x3ed7d9,_0x2e1d85._0x3178ba)],_0x3fbcc8[_0x4e7c5c(0x380,0x3bd,0x369,_0x2e1d85._0x20cb71)]=_0x609b88[_0x447fc1(-_0x2e1d85._0xd5bf21,-_0x2e1d85._0x1f9278,-0x6a,-0xbf)],_0x3fbcc8['setupUrl']=_0xc9ee12,_0x3fbcc8[_0x4e7c5c(0x3e9,_0x2e1d85._0x113c46,_0x2e1d85._0x2668ed,0x43e)]=_0x21f539[_0x447fc1(-_0x2e1d85._0x207634,-_0x2e1d85._0x739e27,-_0x2e1d85._0x40c8d4,_0x2e1d85._0x89a7fa)],_0x3fbcc8[_0x4e7c5c(_0x2e1d85._0xe6f5a6,0x3d2,0x38b,_0x2e1d85._0x56ba24)]=type;const _0x2ba6e9=_0x3fbcc8,{subject:_0xe7a8f}=_0x21f539[_0x4e7c5c(_0x2e1d85._0x20d683,0x405,_0x2e1d85._0x3081e9,0x3a1)](renderTemplate,_0x4777c2,_0x2ba6e9),_0x32ef2e={};_0x32ef2e['to']=_0x609b88[_0x4e7c5c(0x43e,_0x2e1d85._0x34726c,0x402,0x42b)],_0x32ef2e[_0x447fc1(0x1a,_0x2e1d85._0x5487e1,_0x2e1d85._0x57b5e3,-0x5)]=_0xe7a8f,_0x32ef2e[_0x4e7c5c(0x392,0x413,0x3da,_0x2e1d85._0x37df28)]=_0x4777c2,_0x32ef2e[_0x4e7c5c(0x3d0,_0x2e1d85._0x11d00c,0x3d6,_0x2e1d85._0x1fafac)]=_0x2ba6e9,await _0x21f539[_0x447fc1(-0x69,-_0x2e1d85._0x1ed0a9,-0x2b,-_0x2e1d85._0x2c360a)](sendTemplatedEmail,_0x32ef2e),_0x37fe31[_0x4e7c5c(_0x2e1d85._0x5dcd3e,_0x2e1d85._0x509260,0x3e2,0x3a8)]=!![],_0x37fe31[_0x447fc1(-_0x2e1d85._0x1b58a7,-0x46,-_0x2e1d85._0x5a0ad9,-_0x2e1d85._0x1aef00)]='Password\x20t'+_0x4e7c5c(_0x2e1d85._0x1af4f2,_0x2e1d85._0x21f0ad,_0x2e1d85._0x218a9f,_0x2e1d85._0x472e79)+_0x447fc1(-_0x2e1d85._0x3d6b70,-0x11,0x1b,0x22)+_0x447fc1(-_0x2e1d85._0x3e7e8a,-0xe,-_0x2e1d85._0x1d9dff,0x13)+'\x20'+_0x609b88[_0x4e7c5c(_0x2e1d85._0x4171df,_0x2e1d85._0x396ede,_0x2e1d85._0x558186,_0x2e1d85._0x36b18d)];const _0x4ca82d={};_0x4ca82d['to']=_0x609b88[_0x4e7c5c(_0x2e1d85._0x5207ae,0x42f,0x402,_0x2e1d85._0x1784a0)],_0x4ca82d['type']=type,_0x4ca82d[_0x4e7c5c(_0x2e1d85._0x2e9a78,_0x2e1d85._0x510c00,_0x2e1d85._0x4b9822,_0x2e1d85._0x2719da)]=_0x609b88[_0x4e7c5c(0x358,0x358,_0x2e1d85._0x53cddb,_0x2e1d85._0xa7ab61)],logger[_0x4e7c5c(_0x2e1d85._0x4f3c25,0x3ce,0x3a7,0x3a3)](_0x21f539['sLDzl'],_0x4ca82d);}catch(_0x42d6dd){logger[_0x447fc1(0x6,0x31,0x6e,_0x2e1d85._0x2c360a)](_0x4e7c5c(0x31a,_0x2e1d85._0x30154e,_0x2e1d85._0x1a55ad,_0x2e1d85._0x11a649)+_0x447fc1(_0x2e1d85._0x28d54a,0x49,_0x2e1d85._0xea4f08,-_0x2e1d85._0x36878a)+_0x4e7c5c(0x3fd,0x425,0x3dd,0x388),_0x42d6dd),_0x37fe31[_0x4e7c5c(_0x2e1d85._0x5876cd,0x3cf,_0x2e1d85._0x237e43,0x3cf)]=_0x21f539[_0x4e7c5c(0x3e8,0x37f,0x3b5,0x3f9)];}}_0x34420d[_0x447fc1(-0x71,-_0x2e1d85._0x1eab51,-_0x2e1d85._0x1a6145,-_0x2e1d85._0x35a5da)](_0x37fe31);}catch(_0x2982b6){if(_0x21f539[_0x447fc1(-_0x2e1d85._0x51cd89,_0x2e1d85._0x478c1d,0xe,_0x2e1d85._0x2357a1)]===_0x21f539[_0x447fc1(_0x2e1d85._0x13738d,_0x2e1d85._0x478c1d,-_0x2e1d85._0x23b87d,-0x4)]){logger['error'](_0x21f539['qIwou'],_0x2982b6);const _0xbe7f9f={};_0xbe7f9f[_0x4e7c5c(0x41e,0x3c2,_0x2e1d85._0x169a21,_0x2e1d85._0x3e654c)]=_0x21f539[_0x4e7c5c(0x39e,_0x2e1d85._0x1d428e,0x3b0,_0x2e1d85._0x39bcd4)],_0x34420d[_0x447fc1(0x7d,_0x2e1d85._0x58fc6f,_0x2e1d85._0x5d572c,_0x2e1d85._0x24749b)](0xa*-0x384+-0x26*0x101+0x4b42)[_0x447fc1(-_0x2e1d85._0x34fc07,-0x1d,0x1,-_0x2e1d85._0x2d3e04)](_0xbe7f9f);}else{_0x2cd7ed[_0x4e7c5c(_0x2e1d85._0x56d5bd,_0x2e1d85._0xe7bcec,_0x2e1d85._0x169a21,0x436)](_0x21f539[_0x4e7c5c(0x3f8,0x347,_0x2e1d85._0x13a0bd,_0x2e1d85._0x527547)],_0x4bfe09);const _0x31c117={};_0x31c117[_0x447fc1(_0x2e1d85._0x4008d9,0x31,_0x2e1d85._0x2043da,_0x2e1d85._0x5684a6)]=_0x21f539[_0x4e7c5c(_0x2e1d85._0x3d27f1,_0x2e1d85._0x5e696f,0x3a0,0x357)],_0x5404ab[_0x447fc1(_0x2e1d85._0x58b1db,0x47,_0x2e1d85._0x1d9dff,0x9)](-0x1192+-0x204a+0x33d0)[_0x4e7c5c(_0x2e1d85._0x5dae75,_0x2e1d85._0x452ae0,_0x2e1d85._0x212fe7,_0x2e1d85._0x5c3531)](_0x31c117);}}}),router['get'](_0x36e407(0x307,0x295,0x2c3,0x2ff)+_0x5e4f92(0x421,0x41e,0x442,0x473),async(_0x2b92d9,_0x3220c6)=>{const _0x45c496={_0x5dcb96:0x263,_0x19f256:0x218,_0x4eec92:0x233,_0x50a6b4:0x1dc,_0x254923:0x1c1,_0x12b7b5:0x202,_0x5dc793:0x1d3,_0x3798fe:0x1ef,_0x5b4af8:0x239,_0x1c5ec4:0x22a,_0x410b00:0x20a,_0x4a0428:0x221,_0x391951:0x246,_0x91b59e:0x253,_0x597847:0x255,_0x4370a3:0x1e8,_0x1309c1:0x272,_0x2a619a:0x285,_0x3e275a:0x1e6,_0x16ae3a:0x20c,_0x5e5c0d:0x1af,_0x592b4b:0x23b,_0x45f779:0x224,_0xd1b75f:0x222,_0x4d1714:0x191,_0x187f49:0x1c3,_0x1407a0:0x1fc,_0x51bed2:0x1fc,_0x37bc58:0x1d8,_0x16f189:0x216,_0x3dab16:0x259,_0x1c712a:0x1ee,_0x3d0e2b:0x229,_0x55cbbf:0x1fd,_0x1b087d:0x236,_0xdb1897:0x1ab,_0x580f7e:0x204,_0x2d584b:0x26a,_0x59351d:0x251,_0x25f58d:0x29c,_0x4e3055:0x247,_0x5990b7:0x269,_0x44d695:0x1d4,_0x5439df:0x226,_0x56bfd8:0x26b,_0x49ee78:0x21b,_0x24eb61:0x1fb,_0x57dcd2:0x275,_0xc4c51d:0x22e,_0x141a16:0x29d,_0x2e8091:0x180,_0x112e26:0x1da,_0xaa9a2b:0x26d,_0x124079:0x274,_0x56adf5:0x205,_0x3d5a92:0x258,_0x5553cf:0x20f,_0x1513e8:0x273,_0x50e8b5:0x1f2,_0x5c01f5:0x207,_0x21c275:0x17c,_0x19eda5:0x1d6,_0x4c751f:0x1a0,_0x34e02f:0x27e,_0x1647c2:0x27f,_0x22aaab:0x269,_0x9774fa:0x2af,_0x1075f2:0x251,_0x3c6e5f:0x206,_0x130013:0x1c7,_0x335f8d:0x21d,_0x1acd6c:0x23f,_0x4d7f12:0x284,_0x4368a0:0x1ed,_0x365507:0x2a1,_0x24e0ab:0x24e,_0x5b2833:0x297,_0x945c65:0x25e,_0x26fed4:0x21b,_0x2f044e:0x24e,_0x2a0694:0x1eb,_0x11418d:0x1d4,_0x3e0901:0x21f,_0x328f49:0x225,_0x352d3d:0x224,_0x3b23c9:0x214,_0x490c1c:0x20c,_0x45edb8:0x1c4,_0x2cc1a4:0x1e3,_0x516f24:0x209,_0x42e961:0x213,_0x16c1b8:0x1cd,_0x4bce67:0x295,_0x3a062c:0x24c,_0x2a7b63:0x284,_0x381e4c:0x27b,_0x2ecba8:0x22a,_0x18fb50:0x265,_0x55e35f:0x1ce,_0x5bce8d:0x226,_0x3df152:0x231,_0x45adaa:0x20b,_0x545dba:0x18e,_0x3555d1:0x1c7,_0x5231c0:0x1dc,_0x3b567e:0x278,_0x2e0804:0x279,_0x30dcb3:0x21a,_0x38cf55:0x249,_0x441501:0x22c,_0x4f61ee:0x247,_0x1462dd:0x1c0,_0x51055d:0x1a6,_0x404695:0x1cb},_0x1ddc68={_0x574afd:0x1d6},_0x27977e={_0x1f189c:0x2d,_0x399ea6:0x68f},_0x10dc5a={'zKqbF':function(_0x2c5e58){return _0x2c5e58();},'gDpHl':_0x369e1b(-0x294,-_0x45c496._0x5dcb96,-0x216,-0x219)+_0x369e1b(-_0x45c496._0x19f256,-0x239,-_0x45c496._0x4eec92,-0x290)+'config\x20sta'+'tus','SBFuG':_0x23a223(_0x45c496._0x50a6b4,_0x45c496._0x254923,_0x45c496._0x12b7b5,_0x45c496._0x5dc793)+_0x369e1b(-_0x45c496._0x3798fe,-_0x45c496._0x5b4af8,-0x1fa,-_0x45c496._0x1c5ec4)+_0x369e1b(-_0x45c496._0x410b00,-0x1f8,-_0x45c496._0x4a0428,-0x1f4)+_0x369e1b(-0x272,-_0x45c496._0x391951,-_0x45c496._0x91b59e,-_0x45c496._0x597847),'WFowG':_0x23a223(0x1dc,0x1d0,0x189,_0x45c496._0x4370a3)+_0x369e1b(-0x2c4,-_0x45c496._0x1309c1,-0x295,-_0x45c496._0x2a619a)+_0x23a223(0x258,0x23f,0x227,0x230),'ELMOm':_0x23a223(_0x45c496._0x3e275a,0x1b2,0x23c,_0x45c496._0x16ae3a)+_0x23a223(0x1ed,_0x45c496._0x5e5c0d,0x1bf,0x1fd),'LCHNP':_0x369e1b(-0x1eb,-_0x45c496._0x592b4b,-_0x45c496._0x45f779,-_0x45c496._0xd1b75f)+'\x20expired\x20t'+'oken','aRroY':function(_0x33c585,_0x5582de){return _0x33c585===_0x5582de;},'iCskL':_0x369e1b(-_0x45c496._0x4d1714,-_0x45c496._0x187f49,-_0x45c496._0x1407a0,-_0x45c496._0x51bed2),'ZaCKw':_0x369e1b(-_0x45c496._0x37bc58,-_0x45c496._0x16f189,-_0x45c496._0x3dab16,-0x20c)+_0x23a223(0x221,_0x45c496._0x1c712a,0x21f,_0x45c496._0x3d0e2b),'TbfcL':function(_0x42f168,_0x5e8191){return _0x42f168(_0x5e8191);},'rXMln':function(_0x15db68,_0x11bbfc){return _0x15db68===_0x11bbfc;},'tAfpW':_0x23a223(_0x45c496._0x55cbbf,0x220,_0x45c496._0x1b087d,0x259),'DPWQx':function(_0x3d1cb2,_0x2d4c6a){return _0x3d1cb2(_0x2d4c6a);},'ZWEtI':function(_0x29e323,_0x195299){return _0x29e323!==_0x195299;},'OUtRj':_0x369e1b(-_0x45c496._0xdb1897,-0x1c6,-0x215,-_0x45c496._0x5dc793),'hdHIG':_0x369e1b(-0x221,-_0x45c496._0x580f7e,-0x237,-0x1fb)};function _0x369e1b(_0xf0067f,_0xd2e325,_0x5266dd,_0x59cf1e){return _0x5e4f92(_0xf0067f-_0x27977e._0x1f189c,_0xd2e325-0x1c6,_0x5266dd,_0xd2e325- -_0x27977e._0x399ea6);}function _0x23a223(_0x2f56e5,_0x45d956,_0x1e084d,_0x3ac686){return _0x5e4f92(_0x2f56e5-0x16,_0x45d956-_0x1ddc68._0x574afd,_0x45d956,_0x2f56e5- -0x250);}try{if(_0x10dc5a['aRroY'](_0x10dc5a[_0x23a223(0x1e0,0x1b5,0x18a,0x227)],_0x10dc5a[_0x369e1b(-0x24f,-0x25f,-_0x45c496._0x2d584b,-0x256)])){const {token:_0x28f7c}=_0x2b92d9[_0x23a223(_0x45c496._0x59351d,_0x45c496._0x25f58d,0x236,_0x45c496._0x4e3055)];if(!_0x28f7c){const _0x56c1d9={};return _0x56c1d9[_0x23a223(_0x45c496._0x5990b7,0x2b1,0x2a5,0x271)]=_0x10dc5a[_0x369e1b(-_0x45c496._0x44d695,-0x1dc,-_0x45c496._0x5439df,-0x1dc)],_0x56c1d9[_0x23a223(_0x45c496._0x56bfd8,0x2b7,0x26a,0x27c)]=![],_0x3220c6[_0x369e1b(-0x208,-0x1c0,-0x1c5,-_0x45c496._0x49ee78)](0x55*0x58+-0x771+-0x1437*0x1)[_0x369e1b(-0x268,-_0x45c496._0x45f779,-_0x45c496._0x24eb61,-0x277)](_0x56c1d9);}const _0x2d424f=await _0x10dc5a[_0x23a223(0x274,0x2c5,_0x45c496._0x57dcd2,_0x45c496._0xc4c51d)](validateToken,_0x28f7c);if(!_0x2d424f){if(_0x10dc5a['rXMln'](_0x10dc5a[_0x369e1b(-0x2b7,-0x274,-_0x45c496._0x141a16,-0x2b3)],_0x23a223(0x1fd,0x1ce,0x216,0x1c9))){const _0x98cdf2={};return _0x98cdf2[_0x369e1b(-0x195,-_0x45c496._0x44d695,-_0x45c496._0x2e8091,-_0x45c496._0x112e26)]=![],_0x98cdf2[_0x23a223(0x269,0x233,_0x45c496._0xaa9a2b,_0x45c496._0x124079)]=_0x23a223(_0x45c496._0x580f7e,_0x45c496._0x24eb61,_0x45c496._0x56adf5,0x255)+'\x20expired\x20t'+_0x23a223(_0x45c496._0x3d5a92,0x242,0x212,0x285),_0x3220c6[_0x369e1b(-0x1d3,-_0x45c496._0x45f779,-0x23c,-_0x45c496._0x5553cf)](_0x98cdf2);}else try{const _0x3524bb=_0x10dc5a['zKqbF'](_0x2397c0);_0x4b159a[_0x369e1b(-_0x45c496._0x1513e8,-0x224,-0x20a,-_0x45c496._0x5439df)](_0x3524bb);}catch(_0x1695b0){_0xfc0f2b['error'](_0x10dc5a[_0x369e1b(-_0x45c496._0x50e8b5,-0x1c5,-_0x45c496._0x5c01f5,-_0x45c496._0x21c275)],_0x1695b0);const _0x26a8b5={};_0x26a8b5[_0x369e1b(-0x1ba,-_0x45c496._0x19eda5,-0x20d,-_0x45c496._0x4c751f)]=_0x10dc5a[_0x369e1b(-0x1fd,-0x23d,-_0x45c496._0x34e02f,-0x243)],_0x2badc3[_0x23a223(_0x45c496._0x1647c2,_0x45c496._0x22aaab,_0x45c496._0x9774fa,0x23f)](-0x8d8*-0x4+0x2b*0xd3+-0x44dd)['json'](_0x26a8b5);}}const _0x4e9f55=await _0x10dc5a[_0x369e1b(-_0x45c496._0x1075f2,-_0x45c496._0x3c6e5f,-0x22f,-_0x45c496._0x130013)](findUserById,_0x2d424f[_0x369e1b(-0x1cb,-_0x45c496._0x335f8d,-0x244,-_0x45c496._0x1acd6c)]);if(!_0x4e9f55){if(_0x10dc5a['ZWEtI'](_0x10dc5a['OUtRj'],_0x23a223(0x279,0x289,_0x45c496._0x4d7f12,0x283))){_0x213e74[_0x369e1b(-0x21a,-0x1d6,-_0x45c496._0x4368a0,-0x1ab)](_0x10dc5a[_0x369e1b(-0x278,-_0x45c496._0x4e3055,-_0x45c496._0x365507,-_0x45c496._0x24e0ab)],_0x3cc748);const _0x300083={};_0x300083['error']=_0x10dc5a[_0x369e1b(-0x238,-0x247,-0x215,-_0x45c496._0x5b2833)],_0x300083[_0x23a223(0x26b,0x29e,_0x45c496._0x945c65,0x2bd)]=![],_0x3c375b['status'](-0x1c6b+-0x7*0x19b+0x299c)[_0x23a223(_0x45c496._0x26fed4,_0x45c496._0x2f044e,0x236,_0x45c496._0x2a0694)](_0x300083);}else{const _0x134fa9={};return _0x134fa9[_0x369e1b(-0x221,-_0x45c496._0x11418d,-_0x45c496._0x3e0901,-_0x45c496._0x328f49)]=![],_0x134fa9['error']=_0x10dc5a['ELMOm'],_0x3220c6[_0x369e1b(-0x200,-_0x45c496._0x352d3d,-_0x45c496._0x3b23c9,-_0x45c496._0x490c1c)](_0x134fa9);}}const _0x510e7a={};_0x510e7a[_0x23a223(0x1d1,_0x45c496._0x45edb8,_0x45c496._0x2cc1a4,0x1f6)]=_0x4e9f55[_0x23a223(0x1d1,0x1ce,0x1d1,_0x45c496._0x516f24)],_0x510e7a[_0x369e1b(-_0x45c496._0x42e961,-_0x45c496._0x16c1b8,-_0x45c496._0x516f24,-_0x45c496._0x2a0694)]=_0x4e9f55[_0x23a223(0x272,0x220,_0x45c496._0x4bce67,0x22f)];const _0x52344d={};_0x52344d['valid']=!![],_0x52344d[_0x369e1b(-0x235,-_0x45c496._0x3a062c,-0x25e,-_0x45c496._0x2a7b63)]=_0x2d424f[_0x369e1b(-_0x45c496._0x381e4c,-_0x45c496._0x3a062c,-0x28f,-0x231)],_0x52344d[_0x23a223(0x254,_0x45c496._0x335f8d,_0x45c496._0x2ecba8,_0x45c496._0x18fb50)]=_0x510e7a,_0x3220c6[_0x369e1b(-0x25c,-_0x45c496._0x45f779,-0x272,-_0x45c496._0x55e35f)](_0x52344d);}else{const _0x615e0c={};return _0x615e0c['error']=_0x10dc5a[_0x23a223(_0x45c496._0x5bce8d,0x249,0x1cf,_0x45c496._0x3df152)],_0x4383b3[_0x369e1b(-_0x45c496._0x1c712a,-0x1c0,-0x20b,-_0x45c496._0x45adaa)](-0x2*-0x911+-0xfc1+-0xcd)['json'](_0x615e0c);}}catch(_0x1c66d1){if(_0x10dc5a['hdHIG']!==_0x10dc5a['hdHIG']){const _0x7e4912={};return _0x7e4912[_0x369e1b(-_0x45c496._0x545dba,-_0x45c496._0x19eda5,-0x1b6,-_0x45c496._0x3555d1)]=_0x10dc5a[_0x23a223(_0x45c496._0x45adaa,_0x45c496._0x11418d,0x224,_0x45c496._0x5231c0)],_0x241365[_0x23a223(_0x45c496._0x1647c2,_0x45c496._0x3b567e,_0x45c496._0x2e0804,0x28b)](-0x1efa+0x25c1+-0x537)['json'](_0x7e4912);}else{logger[_0x23a223(0x269,_0x45c496._0x30dcb3,0x25e,0x235)](_0x10dc5a[_0x369e1b(-0x25f,-_0x45c496._0x4e3055,-0x1f2,-0x1f8)],_0x1c66d1);const _0x58bb29={};_0x58bb29[_0x23a223(_0x45c496._0x22aaab,_0x45c496._0x38cf55,_0x45c496._0x441501,0x263)]=_0x10dc5a[_0x369e1b(-_0x45c496._0x49ee78,-_0x45c496._0x4f61ee,-0x217,-0x275)],_0x58bb29['valid']=![],_0x3220c6[_0x369e1b(-0x1a2,-_0x45c496._0x1462dd,-0x1cb,-_0x45c496._0x51055d)](0x77*0x3d+-0x1496+-0x5d1)[_0x369e1b(-0x269,-0x224,-0x1e8,-_0x45c496._0x404695)](_0x58bb29);}}}),router[_0x5e4f92(0x438,0x433,0x430,0x423)](_0x36e407(0x2bc,0x249,0x287,0x2c4),async(_0x4e6e21,_0x443be1)=>{const _0x506fc8={_0x1ccd4f:0x271,_0x193caf:0x2a7,_0xf4128b:0x27d,_0x4a2588:0x280,_0x5aead8:0x25b,_0x2918bf:0x159,_0xc96eff:0x175,_0x2d2e96:0x162,_0x3fd4a7:0x328,_0x5a02aa:0x149,_0x1d4616:0x2b6,_0x201805:0x2c7,_0x25fe26:0x198,_0x3599f0:0x2e8,_0x3f45c5:0x2ec,_0x3aa3b8:0x168,_0x41834f:0xf8,_0x570b00:0x122,_0xcf92f7:0xfd,_0x40aaeb:0x2ee,_0x3ade90:0x333,_0x5c5d75:0x379,_0x556306:0x1b8,_0x25f83b:0x1d3,_0x25ab90:0x17b,_0x3b646c:0x190,_0x5a3337:0x1ae,_0x389daa:0x1d1,_0x3b8455:0x363,_0x327c5c:0x2fc,_0x16e028:0x296,_0x597e28:0x2d4,_0x3e7beb:0x23f,_0x47e7c4:0x280,_0x391362:0x103,_0x5bf31b:0x10a,_0x2d24c8:0x2af,_0x457c58:0x31e,_0x1354bf:0x194,_0x8a3664:0x199,_0x47c671:0x1bf,_0x44c5f9:0x251,_0x355101:0x27e,_0x51f16a:0x261,_0x4c4d4f:0x11b,_0x35fe5d:0x129,_0x10364c:0x328,_0x5aa229:0x325,_0x3e8583:0x306,_0x26fa25:0x33f,_0x285876:0x292,_0xcc7808:0x2e2,_0x5b6541:0x280,_0x103bb2:0x299,_0x3e0994:0x232,_0x46645e:0x32a,_0xbf5523:0x2d1,_0x33a6b1:0x16e,_0x2d7349:0x1a7,_0x28048c:0xce,_0x16c18f:0x15c,_0x435941:0x1bb,_0x27c753:0x2a6,_0x365d91:0x2f0,_0x26c8e8:0xfe,_0x4c4fb3:0x101,_0x3b9af3:0xff,_0x4af187:0x2f1,_0x3b412f:0x307,_0x544135:0x2f5,_0x16b4e4:0x2d8,_0x2879b9:0x2e3,_0x102896:0x1ad,_0x55f3a4:0x335,_0x3cb157:0x308,_0x497800:0x369,_0x5694c3:0x2d6,_0x3f4a74:0x31e,_0x57c7e2:0x29e,_0x5c4581:0x2bf,_0x2f1a02:0x286,_0x298811:0x2a9,_0x3a1750:0x279,_0x413a45:0x121,_0x5c5780:0x171,_0x2c9e65:0x1cd,_0x3b0f75:0x32d,_0x33688e:0x379,_0x4adaf9:0x1ba,_0x51c123:0x1a9,_0x1a2c0b:0x1bc,_0x1a7864:0x287,_0x2e7d4b:0x19e,_0x227523:0x1af,_0x315856:0x15e,_0x19624d:0x250,_0x323cc6:0x302,_0x5f12c4:0xdc,_0xf08f5b:0x15c,_0x6b0e5f:0x11a,_0x29b119:0xea,_0x4d67af:0x126,_0x3076a8:0xce,_0x242f46:0x10b,_0x8cb244:0x165,_0xb2a0aa:0x1bf,_0x16c053:0x109,_0x1d5bf3:0x16d,_0x465ab6:0x118,_0x17b9f3:0x102,_0x14d0bd:0x108,_0x59352c:0xee,_0x58e564:0x305,_0x399d07:0x2c1,_0x270734:0x105,_0x16162f:0x2a8,_0x4229b7:0x169,_0x428818:0x117,_0x3cedc5:0x15c,_0x361076:0x2b8,_0x3967d5:0x285,_0xa0a32:0x36b,_0x22a4ab:0x335,_0x3aa032:0x37d,_0xb7570c:0x2f6,_0xc01ee5:0x2d1,_0x361ded:0x31c},_0x2d9f7d={_0x5f1f6c:0x15b,_0x386a14:0x5d0},_0xd37042={'xxkNj':'Failed\x20to\x20'+_0xec3378(_0x506fc8._0x1ccd4f,0x2b4,0x28c,_0x506fc8._0x193caf)+_0xec3378(_0x506fc8._0xf4128b,_0x506fc8._0x4a2588,_0x506fc8._0x5aead8,0x241)+'n','lvxeI':_0x47806a(-_0x506fc8._0x2918bf,-_0x506fc8._0xc96eff,-_0x506fc8._0x2d2e96,-0x1be)+_0xec3378(0x31b,0x311,_0x506fc8._0x3fd4a7,0x357)+_0x47806a(-0x159,-_0x506fc8._0x5a02aa,-0x13f,-0x166)+'\x22','BmbIz':function(_0xdad182,_0x1fc587){return _0xdad182||_0x1fc587;},'smJSv':function(_0x1f8711,_0x2834c0){return _0x1f8711!==_0x2834c0;},'umzPr':_0xec3378(0x29c,0x299,_0x506fc8._0x1d4616,0x25a),'vzONh':'rsmnT','HLXEr':_0xec3378(0x2ac,0x2ea,0x2e5,_0x506fc8._0x201805)+_0x47806a(-_0x506fc8._0x25fe26,-0x187,-0x155,-0x189)+'re\x20require'+'d','eIdVY':function(_0x163f1b,_0x388d3e){return _0x163f1b<_0x388d3e;},'QnbbR':_0xec3378(_0x506fc8._0x3599f0,_0x506fc8._0x3f45c5,0x29b,0x32d)+_0x47806a(-_0x506fc8._0x3aa3b8,-_0x506fc8._0x41834f,-_0x506fc8._0x570b00,-0xe7)+_0x47806a(-0x157,-0x12e,-_0x506fc8._0xcf92f7,-0x14d)+_0xec3378(_0x506fc8._0x40aaeb,_0x506fc8._0x3ade90,0x325,_0x506fc8._0x5c5d75),'vVaFT':function(_0x1d82e5,_0x16a6c2){return _0x1d82e5(_0x16a6c2);},'KDAnj':_0x47806a(-0x194,-_0x506fc8._0x556306,-0x17c,-_0x506fc8._0x25f83b)+_0x47806a(-_0x506fc8._0x25ab90,-_0x506fc8._0x3b646c,-_0x506fc8._0x5a3337,-_0x506fc8._0x389daa)+_0xec3378(_0x506fc8._0x3b8455,0x30e,_0x506fc8._0x327c5c,0x2c7),'NQARP':_0xec3378(_0x506fc8._0x16e028,0x29c,_0x506fc8._0x597e28,0x2a6)+_0xec3378(0x252,0x2a3,0x27f,0x2bd),'SoXuA':function(_0x37bf48,_0x5629a0,_0x365c21){return _0x37bf48(_0x5629a0,_0x365c21);},'EEAEL':function(_0x582da5,_0x13788e){return _0x582da5(_0x13788e);},'eZbHP':'CJthh','UguvT':_0xec3378(_0x506fc8._0x3e7beb,0x292,_0x506fc8._0x47e7c4,0x24d)+_0xec3378(0x271,0x293,0x27b,0x265)+'rd'};function _0x47806a(_0x18abaf,_0x5a462c,_0x234927,_0xb41799){return _0x5e4f92(_0x18abaf-0x106,_0x5a462c-_0x2d9f7d._0x5f1f6c,_0xb41799,_0x234927- -_0x2d9f7d._0x386a14);}function _0xec3378(_0xbac861,_0xf3c3db,_0x21cc73,_0x31c7fb){return _0x36e407(_0xbac861-0x77,_0xf3c3db-0x87,_0xf3c3db-0x3,_0x31c7fb);}try{const {token:_0x151133,password:_0x9c2936}=_0x4e6e21[_0x47806a(-_0x506fc8._0x391362,-0x10a,-_0x506fc8._0x5bf31b,-0x154)];if(_0xd37042[_0xec3378(_0x506fc8._0x2d24c8,0x301,0x358,_0x506fc8._0x457c58)](!_0x151133,!_0x9c2936)){if(_0xd37042['smJSv'](_0xd37042[_0x47806a(-0x172,-_0x506fc8._0x1354bf,-_0x506fc8._0x8a3664,-_0x506fc8._0x47c671)],_0xd37042[_0xec3378(_0x506fc8._0x44c5f9,0x290,_0x506fc8._0x355101,_0x506fc8._0x51f16a)])){const _0x4cc16b={};return _0x4cc16b['error']=_0xd37042[_0x47806a(-0x175,-_0x506fc8._0x3b646c,-_0x506fc8._0x5a02aa,-_0x506fc8._0x4c4d4f)],_0x443be1['status'](0x8*0x79+0x1*-0x54d+0x315)[_0x47806a(-0x1a4,-_0x506fc8._0x35fe5d,-0x165,-0x19a)](_0x4cc16b);}else{_0x1620d8[_0xec3378(_0x506fc8._0x10364c,0x31f,_0x506fc8._0x5aa229,0x34a)](_0xd37042['xxkNj'],_0x1066dc);const _0x50179e={};_0x50179e[_0xec3378(0x35d,0x31f,_0x506fc8._0x3e8583,_0x506fc8._0x26fa25)]=_0xec3378(0x290,_0x506fc8._0x285876,0x235,_0x506fc8._0xcc7808)+'create\x20pas'+_0xec3378(0x269,_0x506fc8._0x5b6541,_0x506fc8._0x103bb2,_0x506fc8._0x3e0994)+'n',_0x545ede['status'](0x1*-0x1b7+0x89c+0x5*-0xfd)[_0xec3378(_0x506fc8._0x46645e,_0x506fc8._0xbf5523,0x28e,0x2e3)](_0x50179e);}}if(_0xd37042[_0x47806a(-_0x506fc8._0x33a6b1,-0x1f6,-_0x506fc8._0x2d7349,-0x1f1)](_0x9c2936[_0xec3378(0x2f0,0x31a,_0x506fc8._0x26fa25,0x327)],0x16d+-0x2*0xffd+0x1e95)){const _0x3355dc={};return _0x3355dc['error']=_0xd37042['QnbbR'],_0x443be1[_0x47806a(-_0x506fc8._0x28048c,-0x11b,-0x101,-0x146)](0x1331+-0x629+-0x16f*0x8)[_0x47806a(-_0x506fc8._0x16c18f,-_0x506fc8._0x435941,-0x165,-0x189)](_0x3355dc);}const _0x547cb4=await _0xd37042[_0xec3378(0x279,_0x506fc8._0x27c753,_0x506fc8._0x365d91,0x289)](validateToken,_0x151133);if(!_0x547cb4){const _0x23bd9d={};return _0x23bd9d['error']=_0xd37042['KDAnj'],_0x443be1[_0x47806a(-_0x506fc8._0x26c8e8,-_0x506fc8._0x570b00,-_0x506fc8._0x4c4fb3,-_0x506fc8._0x3b9af3)](0x13d0+-0x15f2+0x3b2)[_0xec3378(0x30a,_0x506fc8._0xbf5523,_0x506fc8._0x4af187,_0x506fc8._0x3b412f)](_0x23bd9d);}const _0x1a9297=await _0xd37042['vVaFT'](findUserById,_0x547cb4[_0xec3378(_0x506fc8._0x544135,_0x506fc8._0x16b4e4,_0x506fc8._0x2879b9,0x2bf)]);if(!_0x1a9297){const _0x4a1007={};return _0x4a1007[_0xec3378(0x360,0x31f,0x31d,0x2dd)]=_0xd37042[_0x47806a(-_0x506fc8._0x102896,-0x1df,-0x191,-0x18f)],_0x443be1[_0xec3378(0x392,_0x506fc8._0x55f3a4,_0x506fc8._0x3cb157,0x32a)](-0x2239+0x162d*0x1+0xda0)['json'](_0x4a1007);}await _0xd37042[_0xec3378(0x326,0x32e,_0x506fc8._0x497800,0x33b)](setUserPassword,_0x547cb4[_0xec3378(0x299,0x2d8,_0x506fc8._0x5694c3,0x2e6)],_0x9c2936),await _0xd37042[_0x47806a(-0x171,-0x1b6,-0x185,-0x1c8)](markTokenAsUsed,_0x151133);const _0x59c3eb={};_0x59c3eb[_0xec3378(0x285,0x2d8,0x2ce,_0x506fc8._0x3f4a74)]=_0x1a9297['id'],_0x59c3eb['username']=_0x1a9297['username'],_0x59c3eb[_0xec3378(_0x506fc8._0x57c7e2,_0x506fc8._0x5c4581,0x282,0x319)]=_0x547cb4[_0xec3378(_0x506fc8._0x2f1a02,_0x506fc8._0x298811,_0x506fc8._0x3a1750,0x275)],logger[_0x47806a(-_0x506fc8._0x413a45,-0x1a7,-_0x506fc8._0x5c5780,-_0x506fc8._0x2c9e65)](_0xec3378(_0x506fc8._0x3b0f75,0x31c,_0x506fc8._0x33688e,0x2ed)+_0x47806a(-_0x506fc8._0x4adaf9,-_0x506fc8._0x51c123,-0x16b,-_0x506fc8._0x1a2c0b)+'en',_0x59c3eb);const _0x1dd7ae={};_0x1dd7ae['id']=_0x1a9297['id'],_0x1dd7ae[_0xec3378(0x2d7,_0x506fc8._0x1a7864,0x270,0x284)]=_0x1a9297[_0x47806a(-_0x506fc8._0x2e7d4b,-0x1ee,-_0x506fc8._0x227523,-_0x506fc8._0x315856)],_0x1dd7ae[_0xec3378(0x303,0x328,0x376,0x2de)]=_0x1a9297['name'];const _0x154dc1={};_0x154dc1[_0xec3378(_0x506fc8._0x19624d,0x2a8,_0x506fc8._0x323cc6,0x2ab)]=_0x47806a(-_0x506fc8._0x5f12c4,-_0x506fc8._0xf08f5b,-_0x506fc8._0x6b0e5f,-_0x506fc8._0x29b119)+'et\x20success'+_0x47806a(-0xfd,-_0x506fc8._0x4d67af,-0x10b,-_0x506fc8._0x3076a8),_0x154dc1['user']=_0x1dd7ae,_0x443be1[_0x47806a(-0x13d,-_0x506fc8._0x242f46,-_0x506fc8._0x8cb244,-_0x506fc8._0xb2a0aa)](_0x154dc1);}catch(_0x37ff5d){if(_0xd37042['smJSv'](_0xd37042[_0x47806a(-_0x506fc8._0x16c053,-_0x506fc8._0x1d5bf3,-_0x506fc8._0x465ab6,-_0x506fc8._0x8cb244)],_0x47806a(-0x12d,-0x16f,-0x16d,-0x1c7))){const _0x5a79d9={};return _0x5a79d9[_0x47806a(-_0x506fc8._0x17b9f3,-_0x506fc8._0x14d0bd,-0x117,-_0x506fc8._0x59352c)]=_0xd37042[_0xec3378(0x326,_0x506fc8._0x58e564,_0x506fc8._0x399d07,0x362)],_0x389d26[_0x47806a(-_0x506fc8._0x270734,-0x153,-0x101,-0xdd)](0x13a8+0x1*0x1346+-0x255e)[_0xec3378(0x294,_0x506fc8._0xbf5523,0x2a2,_0x506fc8._0x16162f)](_0x5a79d9);}else{logger[_0x47806a(-0x14d,-_0x506fc8._0x4229b7,-_0x506fc8._0x428818,-0x137)](_0xd37042[_0x47806a(-_0x506fc8._0x3cedc5,-0x163,-0x1b1,-0x209)],_0x37ff5d);const _0x185fdf={};_0x185fdf['error']=_0xd37042[_0xec3378(_0x506fc8._0x361076,_0x506fc8._0x3967d5,0x249,0x2d7)],_0x443be1[_0xec3378(_0x506fc8._0xa0a32,_0x506fc8._0x22a4ab,0x345,_0x506fc8._0x3aa032)](-0x1ea5+0x1d20+0x379)[_0xec3378(_0x506fc8._0xb7570c,_0x506fc8._0xc01ee5,_0x506fc8._0x361ded,0x307)](_0x185fdf);}}}),router[_0x36e407(0x2b1,0x360,0x30d,0x30e)](_0x5e4f92(0x439,0x46b,0x462,0x426)+_0x36e407(0x316,0x2ad,0x2e6,0x33b),requireAuth,requireAdmin,async(_0x5c369c,_0x2e77ca)=>{const _0x34f03a={_0x599b16:0x25e,_0x205c68:0x231,_0x560735:0x295,_0x4c3971:0x239,_0x49c470:0x22c,_0x1db15a:0x1f3,_0x45efc5:0x213,_0x402e1e:0x95,_0x218345:0x51,_0x186ada:0x283,_0x3687a0:0x286,_0x78a241:0x2d9,_0x5d33fd:0x24c,_0x30f740:0xb6,_0x5ca62a:0x110,_0x5a4474:0x148,_0x55eaba:0xf8,_0x13dc52:0xde,_0x2c9ecb:0xf9,_0x101052:0x27d,_0x4b4f2e:0x271,_0x22799f:0x214,_0x1f08e4:0x299,_0x3a0a75:0x29d,_0x4f036d:0x252,_0x532309:0x250,_0x1f4e36:0x261,_0x28a234:0x202,_0x135fdb:0x240,_0x1a99ba:0x223,_0x59b8fb:0x293,_0xf76517:0x216,_0x2ab9e2:0x29f,_0x46957e:0xa0,_0x4b488b:0x24,_0x3b076a:0x69,_0x4e6d93:0x93,_0x4ca939:0xb9,_0x7972b8:0x7d,_0x4f4a77:0x303,_0x13b742:0xf0,_0x171df9:0x79,_0x350c0e:0xcc,_0x3f651a:0x27e,_0x3386c9:0x232,_0x30cade:0x297,_0x260e88:0xb0,_0x3ae676:0x1f0,_0xb10dab:0x2c5,_0xc2584:0x2de,_0x46efd3:0x2d7,_0x36d717:0x250,_0x511e2c:0x243,_0x29eb07:0x1ec,_0x436811:0x1ee,_0x2ebf41:0x254,_0x225ac6:0xbd,_0x555dc6:0x302,_0x10a946:0x1ef,_0x1bb402:0x22f,_0x1188af:0x214,_0x4332cb:0x269,_0x1d829e:0xac,_0x24c957:0xa7},_0x258dc8={_0x59ed81:0x1f6},_0x26b944={'oQRuH':_0x451518(0x27a,_0x34f03a._0x599b16,_0x34f03a._0x205c68,_0x34f03a._0x560735)+_0x451518(_0x34f03a._0x4c3971,_0x34f03a._0x49c470,_0x34f03a._0x1db15a,_0x34f03a._0x45efc5)+_0x4cbc9e(-_0x34f03a._0x402e1e,-_0x34f03a._0x218345,-0xc9,-0x7c),'gshqQ':_0x451518(0x2dc,_0x34f03a._0x186ada,0x277,0x22f)+_0x451518(0x23b,0x27b,_0x34f03a._0x3687a0,0x2b2),'VnZtP':function(_0x4e91cb,_0x30a54a){return _0x4e91cb(_0x30a54a);},'UNgVI':_0x451518(_0x34f03a._0x78a241,0x2a2,0x2f0,_0x34f03a._0x5d33fd),'RifUa':_0x4cbc9e(-0xef,-_0x34f03a._0x30f740,-_0x34f03a._0x5ca62a,-0x106),'IHZOg':'btrfK','HqJHd':_0x4cbc9e(-0x11d,-0xc4,-_0x34f03a._0x5a4474,-_0x34f03a._0x55eaba)+_0x4cbc9e(-0xff,-0x155,-_0x34f03a._0x13dc52,-_0x34f03a._0x2c9ecb)+_0x451518(_0x34f03a._0x101052,_0x34f03a._0x4b4f2e,0x2a5,_0x34f03a._0x22799f)};function _0x451518(_0x341942,_0x3f38b8,_0x223c0c,_0x116c1d){return _0x5e4f92(_0x341942-0x0,_0x3f38b8-0x1e6,_0x223c0c,_0x3f38b8- -_0x258dc8._0x59ed81);}function _0x4cbc9e(_0x2a9009,_0x234d08,_0x2626eb,_0x1b0bfb){return _0x36e407(_0x2a9009-0x52,_0x234d08-0x17a,_0x1b0bfb- -0x387,_0x234d08);}try{const {userId:_0x59ceb8}=_0x5c369c['params'],_0x4b0f5d=await _0x26b944[_0x451518(_0x34f03a._0x1f08e4,_0x34f03a._0x3a0a75,_0x34f03a._0x4f036d,0x28c)](findUserById,_0x59ceb8);if(!_0x4b0f5d){if(_0x26b944['UNgVI']!==_0x26b944[_0x451518(0x298,_0x34f03a._0x532309,_0x34f03a._0x1f4e36,0x248)]){const _0x471b7b={};return _0x471b7b['error']=_0x451518(_0x34f03a._0x28a234,_0x34f03a._0x135fdb,_0x34f03a._0x1a99ba,_0x34f03a._0x59b8fb)+_0x451518(0x20b,0x247,_0x34f03a._0xf76517,_0x34f03a._0x2ab9e2),_0x2e77ca['status'](-0xdb0+0x565*0x1+-0x1*-0x9df)[_0x4cbc9e(-0xe9,-0xc6,-_0x34f03a._0x46957e,-0xb9)](_0x471b7b);}else{const _0xf0f017={};return _0xf0f017[_0x4cbc9e(-0x6d,-0x9d,-_0x34f03a._0x4b488b,-_0x34f03a._0x3b076a)]=![],_0xf0f017['error']=_0x26b944['oQRuH'],_0x508ff9[_0x4cbc9e(-0x72,-_0x34f03a._0x4e6d93,-0x80,-_0x34f03a._0x4ca939)](_0xf0f017);}}const _0x3508b=await _0x26b944[_0x4cbc9e(-0xb2,-0xe9,-_0x34f03a._0x7972b8,-0x91)](getUserTokens,_0x59ceb8),_0x39387d={};_0x39387d[_0x451518(0x30f,0x2ca,0x2c3,_0x34f03a._0x4f4a77)]=_0x3508b,_0x2e77ca[_0x4cbc9e(-_0x34f03a._0x13b742,-_0x34f03a._0x171df9,-_0x34f03a._0x350c0e,-0xb9)](_0x39387d);}catch(_0x27ea5a){if(_0x26b944[_0x451518(0x23f,_0x34f03a._0x3f651a,_0x34f03a._0x3386c9,_0x34f03a._0x30cade)]!==_0x26b944[_0x4cbc9e(-0xfa,-0x97,-0xfe,-_0x34f03a._0x260e88)]){const _0x393b82={};return _0x393b82['error']=_0x26b944[_0x451518(0x296,0x239,_0x34f03a._0x3ae676,0x28c)],_0x393b82[_0x451518(_0x34f03a._0x4f4a77,_0x34f03a._0xb10dab,_0x34f03a._0xc2584,_0x34f03a._0x46efd3)]=![],_0x3b7808['status'](0x1af3*-0x1+-0x17f2+0x3475)[_0x451518(_0x34f03a._0x36d717,0x275,0x286,_0x34f03a._0x511e2c)](_0x393b82);}else{logger['error'](_0x451518(0x217,0x236,0x28a,_0x34f03a._0x29eb07)+_0x451518(_0x34f03a._0x436811,0x235,0x222,_0x34f03a._0x2ebf41)+_0x4cbc9e(-0x64,-0xe1,-0x6b,-_0x34f03a._0x225ac6),_0x27ea5a);const _0x151c33={};_0x151c33[_0x451518(0x30f,0x2c3,_0x34f03a._0x555dc6,0x2b3)]=_0x26b944[_0x451518(_0x34f03a._0x10a946,_0x34f03a._0x1bb402,_0x34f03a._0x1188af,_0x34f03a._0x4332cb)],_0x2e77ca[_0x4cbc9e(-_0x34f03a._0x1d829e,-0x49,-0x23,-0x55)](0x4*-0x623+-0x2*-0x354+0x13d8)[_0x4cbc9e(-_0x34f03a._0x24c957,-0x75,-0x65,-0xb9)](_0x151c33);}}}),router[_0x5e4f92(0x4bd,0x4bd,0x447,0x480)](_0x5e4f92(0x490,0x4d7,0x4e5,0x4a9)+_0x36e407(0x2c5,0x2fc,0x301,0x347),requireAuth,requireAdmin,async(_0x31007f,_0x4c391a)=>{const _0x33325a={_0x1027ec:0x17c,_0x1c251b:0x1b7,_0x48d49b:0x13a,_0x361ff2:0x120,_0x3d4fa5:0xbf,_0x43ea41:0x4b,_0x125b69:0x32,_0x4ccca7:0xec,_0x464930:0xee,_0x200eb8:0x2e,_0x25b357:0x4c,_0x1bd1f1:0x18f,_0x4a9014:0x76,_0x369c6d:0x59,_0x2694a4:0x2c,_0x4c1122:0x73,_0x45e3b3:0x156,_0x1bde3a:0x2,_0x259546:0x1e,_0x53b00c:0x119,_0x15541f:0x16,_0x1e277c:0x30,_0x3ec738:0x27,_0x3c6856:0x104,_0x1b7a8d:0xf6,_0x32bb57:0x5f,_0x41df02:0x1a,_0x463eb9:0x2e,_0x12400c:0x3c,_0x281304:0x114,_0x29558a:0x180,_0x51080d:0x1bb,_0x37d230:0x1d7,_0x39ec7a:0x170,_0x3e97d8:0x109,_0x14e1c2:0x9c,_0x268bca:0x2b,_0x4effbd:0x69,_0x46d0c9:0x35,_0x195f83:0x49,_0x1cfc81:0x20,_0x212f27:0x6c,_0x576c62:0x79,_0x3194ef:0xd9,_0x488518:0x13d,_0x5cd916:0xf4,_0x4b3420:0x97,_0x3ae925:0xa5,_0x154ccf:0x12c,_0x4d065f:0x3,_0x30d7ce:0x8e,_0x47856c:0xa,_0x2e372b:0x27,_0x918518:0xb0,_0x3998b8:0xed,_0x167c99:0x19a,_0x2d108d:0x5d,_0x48b91d:0x18,_0x4e4145:0x44,_0x793a50:0xd6,_0xa78970:0x14a,_0x8e90ca:0xef,_0x3f8228:0x76,_0x1b6747:0x7b,_0x3018d6:0x98,_0x4b5972:0xbd,_0x3231f:0xd9,_0xf0ed07:0xb2,_0x558c09:0xee,_0xacd77a:0x13d,_0x2f414c:0x11a,_0x3fa136:0x158,_0x13562f:0x197},_0x525e14={_0x444e4a:0x40b},_0x577e0b={_0x375cdd:0xf5,_0x4602b4:0x45a};function _0x5dc419(_0x25ecb8,_0x28ab80,_0x479e31,_0x1902c4){return _0x5e4f92(_0x25ecb8-0x1c1,_0x28ab80-_0x577e0b._0x375cdd,_0x1902c4,_0x25ecb8- -_0x577e0b._0x4602b4);}const _0x48f7e7={'DkZGN':_0x55d786(-_0x33325a._0x1027ec,-_0x33325a._0x1c251b,-_0x33325a._0x48d49b,-_0x33325a._0x361ff2)+_0x5dc419(0x77,_0x33325a._0x3d4fa5,_0x33325a._0x43ea41,_0x33325a._0x125b69)+_0x55d786(-0x113,-_0x33325a._0x4ccca7,-0x116,-_0x33325a._0x464930),'AfwZX':_0x5dc419(-_0x33325a._0x200eb8,-_0x33325a._0x25b357,-0x3d,0x24)+_0x55d786(-0x176,-0x139,-0x139,-_0x33325a._0x1bd1f1)+_0x5dc419(0x57,_0x33325a._0x4a9014,_0x33325a._0x369c6d,0x71)+_0x5dc419(-0x1f,_0x33325a._0x2694a4,-_0x33325a._0x4c1122,-0x64)+_0x55d786(-0x11c,-0x13c,-_0x33325a._0x45e3b3,-0x133)+'y.','PRWkW':function(_0x2e01a1,_0x2c487d){return _0x2e01a1(_0x2c487d);},'lpuUo':function(_0x13b3ad,_0x1534aa){return _0x13b3ad===_0x1534aa;},'GzaWz':_0x55d786(-0x10b,-0xf5,-_0x33325a._0x3d4fa5,-0xcb),'jbLVD':'ablTq','hMwVI':_0x5dc419(0x16,-_0x33325a._0x1bde3a,0x7,-_0x33325a._0x259546)+_0x55d786(-_0x33325a._0x53b00c,-0xbf,-0x13b,-0xea),'kCWBL':_0x5dc419(_0x33325a._0x15541f,0x71,-_0x33325a._0x1e277c,-_0x33325a._0x3ec738)+_0x55d786(-0x11e,-0xd5,-_0x33325a._0x3c6856,-_0x33325a._0x1b7a8d)+_0x5dc419(0x8,_0x33325a._0x32bb57,-_0x33325a._0x41df02,-0x54),'cnFyD':_0x5dc419(-_0x33325a._0x463eb9,-_0x33325a._0x12400c,-0x31,-0x72)+'revoke\x20tok'+'en'};function _0x55d786(_0x5229ca,_0x4c014f,_0x45969a,_0x4add70){return _0x36e407(_0x5229ca-0x80,_0x4c014f-0x11,_0x5229ca- -_0x525e14._0x444e4a,_0x4c014f);}try{const {tokenId:_0xcd8218}=_0x31007f['params'],_0x4737d3=await _0x48f7e7[_0x55d786(-_0x33325a._0x281304,-0xcc,-0x16f,-0xb9)](revokeToken,_0xcd8218);if(!_0x4737d3){if(_0x48f7e7[_0x55d786(-_0x33325a._0x29558a,-_0x33325a._0x51080d,-0x124,-_0x33325a._0x37d230)](_0x48f7e7[_0x55d786(-_0x33325a._0x39ec7a,-0x193,-0x1b0,-0x152)],_0x48f7e7['jbLVD']))_0x4fe3fc[_0x5dc419(_0x33325a._0x32bb57,0x30,0x8,0x28)](_0x48f7e7['DkZGN'],_0x3eb182),_0x2f10b3['emailError']=_0x48f7e7['AfwZX'];else{const _0x3b72f7={};return _0x3b72f7[_0x55d786(-0xef,-0x14a,-_0x33325a._0x3e97d8,-_0x33325a._0x14e1c2)]=_0x5dc419(_0x33325a._0x268bca,_0x33325a._0x4effbd,_0x33325a._0x46d0c9,_0x33325a._0x195f83)+_0x5dc419(-_0x33325a._0x1cfc81,-_0x33325a._0x212f27,-0x27,-_0x33325a._0x576c62),_0x4c391a[_0x55d786(-_0x33325a._0x3194ef,-0x11f,-0x7f,-0xba)](0x2*0xfb3+-0x215d+-0x38b*-0x1)[_0x55d786(-_0x33325a._0x488518,-0x187,-0x150,-_0x33325a._0x5cd916)](_0x3b72f7);}}const _0x235af5={};_0x235af5[_0x55d786(-_0x33325a._0x4ccca7,-_0x33325a._0x4b3420,-_0x33325a._0x3ae925,-_0x33325a._0x154ccf)]=_0x31007f[_0x5dc419(0x4a,_0x33325a._0x4d065f,_0x33325a._0x30d7ce,0x6b)]['id'],_0x235af5[_0x5dc419(_0x33325a._0x47856c,-0x21,-_0x33325a._0x2e372b,-0x17)+_0x55d786(-0xfc,-_0x33325a._0x918518,-0x149,-_0x33325a._0x3998b8)]=_0x31007f['user'][_0x55d786(-0x187,-0x168,-_0x33325a._0x167c99,-0x195)],_0x235af5['tokenId']=_0xcd8218,logger[_0x5dc419(0x5,_0x33325a._0x369c6d,0x0,_0x33325a._0x2d108d)](_0x48f7e7[_0x5dc419(-0x5,0x4e,0x58,-0x5d)],_0x235af5);const _0x439288={};_0x439288[_0x5dc419(-_0x33325a._0x48b91d,-0x4b,_0x33325a._0x12400c,_0x33325a._0x4e4145)]=_0x48f7e7[_0x55d786(-_0x33325a._0x793a50,-0x87,-0xd2,-0x10d)],_0x4c391a[_0x55d786(-_0x33325a._0x488518,-_0x33325a._0x5cd916,-0xf1,-0x15c)](_0x439288);}catch(_0x1c8454){logger['error'](_0x55d786(-0x17c,-0x163,-0x1b1,-0x1be)+_0x55d786(-0xf9,-_0x33325a._0xa78970,-0x137,-0xb2)+'en',_0x1c8454);const _0x173ed2={};_0x173ed2[_0x55d786(-_0x33325a._0x8e90ca,-0xf7,-0xb3,-0xdc)]=_0x48f7e7[_0x5dc419(_0x33325a._0x3f8228,_0x33325a._0x1b6747,_0x33325a._0x3018d6,_0x33325a._0x4b5972)],_0x4c391a[_0x55d786(-_0x33325a._0x3231f,-_0x33325a._0xf0ed07,-0x88,-_0x33325a._0x558c09)](0x67c+-0x241b+0x1*0x1f93)[_0x55d786(-_0x33325a._0xacd77a,-_0x33325a._0x2f414c,-_0x33325a._0x3fa136,-_0x33325a._0x13562f)](_0x173ed2);}});export default router;
|
|
1
|
+
(function(_0x56783a,_0x5abf01){const _0x39075a={_0x123e8a:0x18d,_0x5503d4:0x14e,_0x52e825:0x348,_0x2f243e:0x3a4,_0x33f933:0x35e,_0x4cd4d5:0x392,_0x5ed9df:0x1ba,_0xd10716:0x1e8,_0x39b23c:0x383,_0x102a56:0x1e3,_0x2d5d91:0x1fc,_0x4a18a7:0x1a5,_0x541f83:0x1c0},_0x177b1c={_0x361d46:0x19a},_0x3e1ece=_0x56783a();function _0x1c9bde(_0x5623ca,_0x1f1d44,_0x4bc0f8,_0xb090dc){return _0x33d5(_0x5623ca- -0x4c,_0x1f1d44);}function _0x1f207f(_0x34a14d,_0x4d9628,_0xe5d522,_0x4ebd7f){return _0x33d5(_0x4ebd7f-_0x177b1c._0x361d46,_0x4d9628);}while(!![]){try{const _0x370877=-parseInt(_0x1c9bde(_0x39075a._0x123e8a,0x187,_0x39075a._0x5503d4,0x1ab))/(0x77*-0x1a+0x1*0x1f27+-0x5*0x3d0)+parseInt(_0x1f207f(_0x39075a._0x52e825,_0x39075a._0x2f243e,0x372,_0x39075a._0x33f933))/(-0xe35+-0x99e+0x17d5)+-parseInt(_0x1f207f(_0x39075a._0x4cd4d5,0x320,0x3ca,0x37e))/(-0x76e+0x143d+-0xccc)+parseInt(_0x1c9bde(0x1e7,0x19d,_0x39075a._0x5ed9df,_0x39075a._0xd10716))/(0x29b*0x1+-0x1d99+0x1b02)+-parseInt(_0x1c9bde(0x1ce,0x220,0x1d5,0x203))/(-0x2313+0x1aef+0x1*0x829)+parseInt(_0x1f207f(_0x39075a._0x39b23c,0x311,0x395,0x34d))/(-0x5*0x40c+-0x45e*0x7+0x1*0x32d4)+-parseInt(_0x1c9bde(0x1f8,0x209,_0x39075a._0x102a56,0x1c6))/(0x16c2+-0x1*0x755+-0xf66*0x1)*(-parseInt(_0x1c9bde(_0x39075a._0x2d5d91,_0x39075a._0x4a18a7,_0x39075a._0x541f83,0x1fa))/(0x8*0x38b+0x22f4+-0x1*0x3f44));if(_0x370877===_0x5abf01)break;else _0x3e1ece['push'](_0x3e1ece['shift']());}catch(_0x5ce46e){_0x3e1ece['push'](_0x3e1ece['shift']());}}}(_0x5f3c,0x5*0x87d+0x1229+0x33778));import _0x16d87a from'express';function _0x5f3c(){const _0x309474=['sw5JEuC','Dxn0igjLigf0ia','rejuBuK','DxnLCM5HBwu','B2TLBIbJCMvHDa','B2TLBNm','yM9KEq','vLfKqKO','z01iqvK','zw1HAwXtzw50','B3vUza','CxvLCNK','z2v0igvTywLSia','B3b5ihrOzsbSAq','qNbNuNO','uhPIwu4','C2v0DxbvCMW','Dg9Rzw5Z','Aw9Uihn0yxr1CW','C3DVCMqUAhrTBa','Bhrxs2y','A1D3Bhu','AwWGC2vUDcb0BW','BgvHC3qGocbJAa','Dg9Rzw5uExbL','vLvAANO','BMqGzw1HAwXZlG','vgLTr3G','DMfSAwrHDguGDa','lIbqBgvHC2uGyW','y29UzMLNDxjHDa','ywrTAw5jza','q3nSDhC','C3vIAMvJDa','ugfZC3DVCMqGCW','AgXREKW','CgfZC3DVCMqGyq','mtu5odK0BfDqvLvy','zM91BMq','q25SAMu','DgfYz2v0vxnLCG','B2TLBG','ihnLDcb1Ccbttq','vfaGzw52AxjVBG','y1Lzsvq','uePizwW','yMXLCYb0BYbZzq','C3DVCMqGDg9Rzq','l3zHBgLKyxrLlq','ihjLCxvPCMvK','zw1HAwXfCNjVCG','C0jssMC','AND5Au0','C2z1BgX5','nZG2oda2zLHqvKv3','A2nluvm','wMTSrwu','B0ndsxy','zxHWAxjLC0LU','CMuGCMvXDwLYzq','vxnLCIbUB3qGzG','y1r0Be8','wNPrzwy','zNvSBhK','zxjYB3i','wMzuveG','y29UzMLNihn0yq','Dg9Rzw4','C2v0Dxa','BgvUz3rO','v0HjB2O','rMfPBgvKihrVia','ugfZC3DVCMqGDa','zxHWAxjLC19HDa','yxHcyKK','mJG0ntqYufvlr0Ho','vg9Rzw4Gyw5Kia','CuPMA2K','zxqGC3vJy2vZCW','vxnLCIbjrcbPCW','sw52ywXPzcbVCG','EMPJwLK','zxnLDa','C2vUzcbLBwfPBa','CLD6rvm','zejcseS','mJaZnJCZAfbJsK5Z','ExPWDu8','l3nLDhvWlxbHCW','tMzvqui','C3rHDhvZ','teTABK8','CMv2B2TLihrVAW','CMvps2K','Cg9ZDa','u2v1qLu','zMLN','zwqGyw5KigvTyq','zxf1AxjLza','Cgr0EvG','BMfTzq','z2v0ihvZzxiGDa','tNDxseK','igv4CgLYzwqGDa','BwvUDcb2yxjPyq','zvDKwMu','vhvjEgi','B3jKigvTywLS','uNzttve','yw1L','zxr1CcbLBwfPBa','C2vUzevTywLS','EgjqzNm','u2XhuNa','A2vK','vwzJr3G','Aw5JBhvKzxm','De1KCw0','zMzwDfG','EK5hCeK','A2vKihn1y2nLCW','zgf0yq','z2v0','BMSGBwfUDwfSBa','l3rVA2vUCY86Da','nYbKyxLZ','t3ffEKy','DxnLCKLK','vg9Rzw4GCMv2BW','zwqUifbSzwfZzq','zwqGC3vJy2vZCW','ug14y2C','C2vUzcbWyxnZDW','zw1HAwW','r0jwu1G','CfbPvNO','yuDmz0W','DhvZ','l3rVA2vUCY86Dq','DhLWzq','mtK4mtqYmgTHCvbbtW','vg9Rzw4GAxmGCG','vLrXy28','DvDLB2y','l2vTywLSlwnVBG','Aw5MBW','l2nYzwf0zs10BW','s0fttwm','u01uucbPCYbUBW','CMvZzxq','B2TLBKLK','C2vYswq','t1zqzNq','BwvZC2fNzq','rw1HAwWGBM90ia','zxr1Ca','yMuGiNnLDhvWiG','vw1AuKS','ihnLBNq','D09Mwwu','vg9Rzw4GBM90ia','C2v0ihbHC3n3BW','ANnVBG','reXLzxG','Dg9Rzw5jza','mZa5ntG4y0j2uLLo','CgfYyw1Z','EKLfywS','y29UzMLNDxjLza','DMfSAwq','zxLOCe8','zxqGDMLHihrVAW','vhLWzsbTDxn0ia','ywrTAw5vC2vYBG','sezJA0e','Dgr6r2q','CgfZC3DVCMqTCG','ww1mv3q','DcbJB25MAwD1CG','uM91DgvY','CvzlzLi','zfflqui','mte0mtbzCefvq1i','EfLnv04','zgvSzxrL','DxnLCG','mJm0ngz2wLrSzW','sLnZtxa'];_0x5f3c=function(){return _0x309474;};return _0x5f3c();}function _0x33d5(_0x44f178,_0x60643b){_0x44f178=_0x44f178-(0x1*-0x105d+-0x8*0x337+0x2bc3);const _0x210bff=_0x5f3c();let _0x1f03e1=_0x210bff[_0x44f178];if(_0x33d5['zUrTAC']===undefined){var _0x4ffa10=function(_0x34eee2){const _0x1dc71f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4acb2d='',_0x3b8b52='';for(let _0x35d889=0x177b+0x7a7+-0xa*0x31d,_0x126b6a,_0x59cc70,_0x28ad59=0x1*0x18cf+-0x4*0x2a2+0x5*-0x2db;_0x59cc70=_0x34eee2['charAt'](_0x28ad59++);~_0x59cc70&&(_0x126b6a=_0x35d889%(-0x300+0x24f4+-0x21f0)?_0x126b6a*(0x2243+0x656*0x6+-0x4807)+_0x59cc70:_0x59cc70,_0x35d889++%(0x2112+0x223c+-0x434a))?_0x4acb2d+=String['fromCharCode'](-0x1007+-0x4dd+0x1af*0xd&_0x126b6a>>(-(-0x1*-0x19ae+0x26f9+0xf7*-0x43)*_0x35d889&0x12b+-0x25ed+0x24c8)):-0x2*-0x883+0x1e7b*-0x1+0xd75){_0x59cc70=_0x1dc71f['indexOf'](_0x59cc70);}for(let _0x15e729=0x1*-0x11bd+0x2*-0x77f+0x93*0x39,_0x24b168=_0x4acb2d['length'];_0x15e729<_0x24b168;_0x15e729++){_0x3b8b52+='%'+('00'+_0x4acb2d['charCodeAt'](_0x15e729)['toString'](0x1a2+-0x240*-0x7+0x2e3*-0x6))['slice'](-(-0xd*0x65+0x1447*0x1+-0xf24));}return decodeURIComponent(_0x3b8b52);};_0x33d5['sSoXWx']=_0x4ffa10,_0x33d5['frVOtm']={},_0x33d5['zUrTAC']=!![];}const _0x30e7c7=_0x210bff[0x1d47+0x1f1e+0x1*-0x3c65],_0x3d494b=_0x44f178+_0x30e7c7,_0x22d629=_0x33d5['frVOtm'][_0x3d494b];return!_0x22d629?(_0x1f03e1=_0x33d5['sSoXWx'](_0x1f03e1),_0x33d5['frVOtm'][_0x3d494b]=_0x1f03e1):_0x1f03e1=_0x22d629,_0x1f03e1;}import{logger}from'../lib/logger.js';import{requireAuth,requireAdmin}from'../middleware/requireAuth.js';import{getRequestBaseUrl}from'../lib/request-url.js';import{findUserById,setUserPassword}from'../lib/users.js';import{createPasswordToken,validateToken,markTokenAsUsed,getUserTokens,revokeToken}from'../lib/passwordTokens.js';import{isEmailConfigured,sendTemplatedEmail,getEmailConfigStatus}from'../lib/email.js';import{renderTemplate}from'../lib/emailTemplates.js';const router=_0x16d87a[_0xd5db6b(-0x70,-0x46,0x4,-0x1a)]();router[_0x381c13(0x295,0x289,0x2b5,0x313)](_0x381c13(0x2da,0x2b0,0x2cb,0x2ab)+_0xd5db6b(-0x68,-0x4d,-0xaa,-0x6d),requireAuth,requireAdmin,async(_0x35835b,_0x4c352d)=>{const _0x73ea29={_0x174734:0x47b,_0x53a50d:0x476,_0xe253:0x524,_0x223067:0x4f2,_0x11ac5e:0x53e,_0x399df7:0x568,_0x4062e6:0x554,_0x138bee:0x577,_0x50cc87:0x4ca,_0xc058dc:0x4dc,_0x2e9624:0x3bc,_0x619dee:0x3c9,_0x2e79f9:0x3fc,_0x103c2b:0x50c,_0x10d990:0x4b0,_0x37bebe:0x552,_0xda662c:0x4c1,_0xbc26e7:0x471,_0x46ab29:0x3f9,_0x3e2afb:0x42c,_0x3ca600:0x41c,_0x31aba2:0x3db,_0x49c5cc:0x3ad,_0x4593b4:0x4fa,_0x52d60d:0x4dd,_0x55bd0f:0x4e6,_0x4957c8:0x3f4,_0x409b8e:0x378,_0x53b9e7:0x525,_0x4e6b8d:0x4da,_0x3ee1a9:0x4a8,_0x28bd79:0x4e9,_0x17f6cd:0x46e,_0x327839:0x4d7,_0x2e1f9f:0x4d7,_0x3ffb80:0x31d,_0x1dbec4:0x380,_0xaba25a:0x371,_0x444500:0x501,_0xffb4e3:0x557,_0x3209a5:0x53f,_0x19c842:0x4f9},_0x577be3={_0x4b3704:0x1c8},_0x34e6e6={_0x32c31b:0x5d,_0x1e9075:0xc0};function _0xc3a092(_0x2a2069,_0x598d37,_0x3fd39d,_0x211748){return _0xd5db6b(_0x2a2069-_0x34e6e6._0x32c31b,_0x2a2069,_0x3fd39d-_0x34e6e6._0x1e9075,_0x3fd39d-0x3fe);}const _0x1bd917={'yzpuO':_0x3380e2(0x4ca,0x46c,_0x73ea29._0x174734,_0x73ea29._0x53a50d)+_0x3380e2(_0x73ea29._0xe253,_0x73ea29._0x223067,_0x73ea29._0x11ac5e,_0x73ea29._0x399df7)+'rd','zNGpI':_0x3380e2(_0x73ea29._0x4062e6,0x56c,_0x73ea29._0x138bee,0x53f),'TuIxb':function(_0x49e605){return _0x49e605();},'YpWbU':_0x3380e2(_0x73ea29._0x50cc87,0x4c1,0x493,_0x73ea29._0xc058dc)+_0xc3a092(_0x73ea29._0x2e9624,_0x73ea29._0x619dee,0x3f9,_0x73ea29._0x2e79f9)+_0xc3a092(0x328,0x33f,0x373,0x31d)+_0x3380e2(_0x73ea29._0x103c2b,_0x73ea29._0x10d990,_0x73ea29._0x37bebe,_0x73ea29._0xda662c),'CRJlw':_0x3380e2(_0x73ea29._0x50cc87,0x4cb,_0x73ea29._0xbc26e7,0x51a)+_0xc3a092(0x3fe,0x443,_0x73ea29._0x46ab29,_0x73ea29._0x3e2afb)+_0x3380e2(0x55d,0x595,0x53d,0x59f)+_0xc3a092(_0x73ea29._0x3ca600,0x3b8,0x3ff,_0x73ea29._0x31aba2)};function _0x3380e2(_0x40ac99,_0x53580b,_0x4ca8fd,_0x4719be){return _0xd5db6b(_0x40ac99-_0x577be3._0x4b3704,_0x4ca8fd,_0x4ca8fd-0x105,_0x40ac99-0x550);}try{if(_0x1bd917[_0xc3a092(0x3d7,0x3a9,0x3a8,_0x73ea29._0x49c5cc)]===_0x1bd917[_0x3380e2(_0x73ea29._0x4593b4,_0x73ea29._0x52d60d,0x4e1,_0x73ea29._0x55bd0f)]){const _0x28c3ff=_0x1bd917[_0xc3a092(_0x73ea29._0x4957c8,0x369,0x39b,_0x73ea29._0x409b8e)](getEmailConfigStatus);_0x4c352d[_0x3380e2(_0x73ea29._0x53b9e7,0x52b,0x4c9,0x546)](_0x28c3ff);}else{_0x1d0f88['error'](_0x1bd917[_0x3380e2(_0x73ea29._0x4e6b8d,0x4ec,0x508,_0x73ea29._0x3ee1a9)],_0x550268);const _0x4d4ffd={};_0x4d4ffd[_0x3380e2(0x4c3,_0x73ea29._0x28bd79,_0x73ea29._0x17f6cd,0x4bb)]=_0x1bd917[_0xc3a092(0x33e,0x345,0x388,0x32e)],_0x5ebd61[_0x3380e2(0x4dd,_0x73ea29._0x327839,0x4ac,0x50f)](0x20cf*-0x1+0x1*-0x23ba+0x467d)[_0x3380e2(0x525,_0x73ea29._0x2e1f9f,0x4dd,0x4f1)](_0x4d4ffd);}}catch(_0x52038b){logger[_0xc3a092(_0x73ea29._0x3ffb80,_0x73ea29._0x1dbec4,0x371,0x3c6)](_0x1bd917['YpWbU'],_0x52038b);const _0x194117={};_0x194117[_0xc3a092(_0x73ea29._0xaba25a,0x33d,0x371,0x387)]=_0x1bd917['CRJlw'],_0x4c352d[_0x3380e2(0x4dd,0x4dc,0x526,_0x73ea29._0x444500)](0x2*-0x577+0x1*-0x139+-0x9d*-0x17)[_0x3380e2(_0x73ea29._0x53b9e7,_0x73ea29._0xffb4e3,_0x73ea29._0x3209a5,_0x73ea29._0x19c842)](_0x194117);}});function _0x381c13(_0x190d94,_0x2f8f46,_0x211450,_0x243ae5){return _0x33d5(_0x211450-0xad,_0x243ae5);}router[_0x381c13(0x269,0x2e5,0x299,0x2ce)](_0xd5db6b(-0xe,-0x12,-0x27,-0x3b)+'ken',requireAuth,requireAdmin,async(_0x16594a,_0x553590)=>{const _0x367ad4={_0x337f7c:0x1cd,_0x5a7008:0x1bf,_0x58d0e0:0x1cb,_0x4c6843:0x47e,_0x427b1e:0x4af,_0x19b4de:0x44d,_0x4e236c:0x3ca,_0x18768f:0x3ba,_0x5e3fa9:0x478,_0x1d962e:0x4d6,_0x4f2366:0x1ad,_0x56d242:0x181,_0x1464bd:0x42a,_0x2c81c1:0x419,_0x373df1:0x3d0,_0x34fc63:0x19c,_0x36f278:0x14c,_0x3b0d59:0x167,_0x476d44:0x11d,_0x5f19ad:0x147,_0x49764f:0x1e0,_0x3b132a:0x18e,_0x4e05da:0x17f,_0xe7800c:0x425,_0x398e1d:0x3f8,_0x40a1e7:0x4a6,_0x1f2361:0x466,_0x23e7c6:0x4e2,_0x49c32a:0x4b8,_0x1b5fe7:0x227,_0x3b2491:0x1a1,_0x1c68ad:0x180,_0x489329:0x154,_0x5d3ab7:0x15b,_0x59a6e9:0x40f,_0x406bee:0x3d9,_0x452652:0x1a3,_0x59e98e:0x20a,_0x2dce35:0x1b1,_0x52dd31:0x4db,_0x28aca0:0x46e,_0x2d2ebb:0x493,_0x2c911a:0x126,_0x27702e:0x49c,_0x45b46c:0x177,_0x84d5ed:0x12b,_0x3b7469:0x21d,_0x28434d:0x1c5,_0x2d68fa:0x210,_0x19b46e:0x4bc,_0x130536:0x457,_0x4c727f:0x41d,_0xca8076:0x4a2,_0x5e335a:0x405,_0x5d08aa:0x445,_0xf5994a:0x3d5,_0x22bb8e:0x3f1,_0x3a2ae8:0x403,_0x84c67:0x446,_0x505250:0x160,_0x4218af:0x11f,_0x116093:0x157,_0x642973:0x107,_0x5cc729:0x491,_0x2a45b4:0x497,_0x176362:0x45b,_0x44f216:0x400,_0x1b162f:0x3e3,_0x4cc79c:0x455,_0x3d82c7:0x3e3,_0x517673:0x1b8,_0x9febcf:0x173,_0x2c9548:0x459,_0x12f1d9:0x425,_0x33f5b3:0x3d7,_0x7b64f2:0x410,_0x5a8c05:0x438,_0x5eeb26:0x44f,_0x26bc9c:0x170,_0x4136fb:0x23a,_0x4ea067:0x400,_0x256409:0x43d,_0x350e1e:0x40d,_0x5a225e:0x416,_0x496d7f:0x485,_0x18a48d:0x47f,_0x146197:0xfe,_0x432ba2:0x145,_0x2a533a:0x197,_0x503b39:0x127,_0x64546a:0x143,_0x5a24a7:0x143,_0x10b2db:0x171,_0x452bb9:0x3b4,_0x8b8d6c:0x3c2,_0x56df40:0x145,_0x183dd5:0x118,_0x274e06:0x17c,_0x23e53d:0x194,_0x1062ec:0x16d,_0x1dabc0:0x106,_0x3d9dd0:0x480,_0x267951:0x422,_0x22fc32:0x3e8,_0x92c4c2:0x168,_0x91c97d:0x18c,_0x2c8cad:0x1cf,_0x54a031:0x1c9,_0x15ecd2:0x1f0,_0x5522bf:0x1c4,_0x341e90:0xf4,_0x5b000d:0x12f,_0x524932:0xf9,_0x303135:0x164,_0x1dd721:0x130,_0x55e31f:0x446,_0x5efb2e:0x417,_0x538e12:0x483,_0x365b18:0x187,_0x2cdfea:0x133,_0x28b1a6:0x1dd,_0x5533fc:0x196,_0x8e001f:0x438,_0x298d8e:0x42c,_0x1d20f4:0x41a,_0x2ec498:0x434,_0x4adc4d:0x152,_0x713796:0x1a7,_0x1e659a:0x3c1,_0x535b79:0x156,_0xe53a29:0x19b,_0x2b07d6:0x15f,_0x3d1762:0x148,_0x26f40c:0x429,_0x81f871:0x45c,_0x35f217:0x451,_0x12fae7:0x414,_0x35e880:0x47b,_0x5d76ce:0x417,_0x25aa0c:0x145,_0x23ccb0:0x13e,_0x512071:0x472,_0x35633d:0x14b,_0x5713eb:0x13a,_0x1f9fb6:0x170,_0x190e1f:0x129,_0x75f5d6:0x108,_0x12d696:0x467,_0x4c367a:0x489,_0x4fa5d6:0x4b9,_0xf9162f:0x4c6,_0x41f1d7:0x4dc,_0x50936d:0x1be,_0x345c8e:0x48b,_0x2349b2:0x45d,_0x35a005:0x216,_0x2048ac:0x1c4,_0x20d24f:0x156,_0x4e03bb:0x12d,_0x6fbaed:0x421,_0xe3063c:0x3e9,_0x459e3c:0x1b7,_0x5b8bf3:0x44d,_0x57b7d5:0x488,_0x484135:0x43c,_0x15742a:0x460,_0x1027f4:0x184,_0x5aef8a:0x1d5,_0x321f0e:0x41f,_0x46178b:0x3e1,_0x4f53a6:0x139,_0xb8a7f3:0x15d,_0xf655d1:0x117,_0x56318a:0x4c0,_0x2fe2d3:0x3ee,_0x239826:0x117,_0x563975:0x11a,_0xbc88a7:0x148,_0x17833d:0x123,_0x15f5ee:0x44d,_0x4074b8:0x46a,_0x4cb2b7:0x1d7,_0x470798:0x17e,_0xf9230d:0x414,_0x4232d8:0x125,_0x466075:0x15d,_0xeb8066:0x185,_0x32f559:0x42e,_0x40cfac:0x1ee,_0x18fe69:0x49d,_0x115eee:0x45c,_0x4ba241:0x448,_0x579ab3:0x176,_0x26f4be:0x1bc,_0x3d5c80:0x159,_0x44d484:0x1b2,_0x3a3aff:0x434,_0x1e52f2:0x464,_0xad7784:0x477,_0x80d76:0x496,_0xf28b15:0x492,_0xa192e2:0x15e,_0x1ef9fa:0x14b,_0x5b6ca1:0x105,_0x3b7365:0x1a2,_0x5afe7d:0x4c2,_0x655492:0x455,_0x551c2c:0x4c4,_0x293f7a:0x4a9,_0x3f9d80:0x149,_0x3e8e83:0x16a,_0x50f372:0x16e,_0x3a38ca:0x19e,_0x3624bc:0x10e,_0x453f57:0x126,_0x324f6e:0x45b,_0x3fdc9a:0x473,_0x5466ac:0x108,_0x577d0c:0x192,_0x4a42c9:0x164,_0x3db3a0:0x3f7,_0x37f6eb:0x3c5,_0x3e68d1:0x3db,_0x48663f:0x435,_0x54afbe:0x404,_0xd551e4:0x46f,_0x4f8605:0x482,_0x11bc78:0x40a,_0x471e58:0x42e,_0x2d3dc8:0x471,_0x3b1003:0x497,_0x5e399a:0x45a,_0x3c6016:0x442,_0x297d7d:0x420,_0x4b67f4:0x49e,_0x546214:0x4e5,_0x301296:0x4aa,_0x3095f2:0x4c8,_0x51368f:0x495,_0x1b94f5:0x158,_0x31c3fa:0x13f,_0x33f125:0x41f,_0x4b304b:0x18a,_0x2534a2:0x131,_0xb88374:0x3fc,_0x18fdd8:0x463,_0xcf073c:0x1a5,_0x597ced:0x19e,_0x11e783:0x1c2,_0x5e27cc:0x486,_0x341530:0x41d,_0x536683:0x4b0,_0x461211:0x494,_0x5f121a:0x463,_0x539b47:0x489,_0x13065a:0x488,_0x2be7f2:0x469,_0x27960d:0x41e,_0x12a82d:0x1ae,_0x473508:0x1d0,_0x54710e:0x43b,_0x3c892f:0x3d2,_0x1dc380:0x137,_0x12880d:0x1e1,_0x7af875:0x145,_0x3d780f:0x163,_0x5b01bf:0x176,_0x514715:0x139,_0x2a220b:0x110,_0x3d005d:0x15d,_0x5c030b:0x40c,_0x18b86b:0x432},_0x18a3de={_0x3e1b02:0xf5,_0x4148f2:0x1d2},_0x563869={_0xd82fb1:0x2b,_0x3b0ca9:0x4ab};function _0x2400d4(_0x3ba7c9,_0x342355,_0x302eee,_0x64903c){return _0xd5db6b(_0x3ba7c9-0xc9,_0x302eee,_0x302eee-_0x563869._0xd82fb1,_0x3ba7c9-_0x563869._0x3b0ca9);}const _0x13e8bf={'WHIoj':_0x2400d4(0x41a,0x45a,0x452,0x416)+_0x3a727f(_0x367ad4._0x337f7c,_0x367ad4._0x5a7008,_0x367ad4._0x58d0e0,0x209),'sBRJg':_0x2400d4(_0x367ad4._0x4c6843,0x491,0x49c,_0x367ad4._0x427b1e)+_0x2400d4(0x404,_0x367ad4._0x19b4de,_0x367ad4._0x4e236c,_0x367ad4._0x18768f),'eWdZe':_0x2400d4(_0x367ad4._0x5e3fa9,_0x367ad4._0x1d962e,0x42c,0x4b7)+_0x3a727f(0x1c4,0x1f7,_0x367ad4._0x4f2366,_0x367ad4._0x56d242),'NfUAB':_0x2400d4(_0x367ad4._0x1464bd,0x3f6,0x45d,0x42f)+'password\x20a'+_0x2400d4(_0x367ad4._0x2c81c1,0x468,0x3ef,_0x367ad4._0x373df1)+'d','ldTvi':_0x3a727f(_0x367ad4._0x34fc63,0x104,_0x367ad4._0x36f278,_0x367ad4._0x3b0d59)+'get\x20email\x20'+_0x3a727f(0x136,_0x367ad4._0x476d44,_0x367ad4._0x5f19ad,0xec)+_0x3a727f(_0x367ad4._0x49764f,0x1a6,_0x367ad4._0x3b132a,_0x367ad4._0x4e05da),'Cnlje':_0x2400d4(_0x367ad4._0xe7800c,_0x367ad4._0x398e1d,0x3cb,0x3d1)+_0x2400d4(_0x367ad4._0x40a1e7,_0x367ad4._0x1f2361,_0x367ad4._0x23e7c6,0x4e7)+_0x2400d4(_0x367ad4._0x49c32a,0x49a,0x4b8,0x50e)+_0x3a727f(0x1a4,_0x367ad4._0x1b5fe7,0x1d3,_0x367ad4._0x3b2491),'jwyiM':function(_0x234531,_0x149b10){return _0x234531===_0x149b10;},'JAoVI':'ZsPtU','reOKi':'setup','VXnKa':_0x2400d4(0x48d,0x44e,0x4b8,_0x367ad4._0x4c6843),'ARbez':_0x3a727f(0x117,_0x367ad4._0x1c68ad,_0x367ad4._0x489329,_0x367ad4._0x5d3ab7)+_0x2400d4(_0x367ad4._0x59a6e9,_0x367ad4._0x406bee,0x3ea,0x3d1),'pdtyX':_0x3a727f(0x178,0x1cd,0x19a,0x146),'tMdqm':'vPxZA','zjcZY':_0x3a727f(_0x367ad4._0x452652,_0x367ad4._0x59e98e,_0x367ad4._0x2dce35,0x200)+'be\x20\x22setup\x22'+'\x20or\x20\x22reset'+'\x22','cmzgh':function(_0x2bccbd,_0x535c45){return _0x2bccbd(_0x535c45);},'cDpYF':function(_0x153979,_0x1d3400){return _0x153979!==_0x1d3400;},'UfcGx':_0x2400d4(0x4a1,_0x367ad4._0x52dd31,_0x367ad4._0x28aca0,_0x367ad4._0x2d2ebb),'rHHgD':function(_0x53b9fa,_0x463db7,_0x222e6f){return _0x53b9fa(_0x463db7,_0x222e6f);},'ltWKf':_0x3a727f(0x154,_0x367ad4._0x2c911a,0x14d,0x103)+_0x2400d4(0x49e,0x4c1,_0x367ad4._0x27702e,0x4c7)+'ed','ZfTTH':function(_0x5d57ad,_0x41c29e){return _0x5d57ad(_0x41c29e);},'SLKaB':_0x3a727f(_0x367ad4._0x45b46c,0x13a,0x14d,_0x367ad4._0x84d5ed)+_0x3a727f(_0x367ad4._0x3b7469,0x18b,_0x367ad4._0x28434d,_0x367ad4._0x2d68fa)+_0x2400d4(0x460,_0x367ad4._0x19b46e,0x49d,_0x367ad4._0x130536)+_0x2400d4(_0x367ad4._0x4c727f,0x445,0x41f,0x3cc),'PzbYN':function(_0x16d918){return _0x16d918();},'cYYIT':_0x3a727f(0x1bf,0x18b,0x199,0x1d3)+_0x2400d4(0x490,0x49a,_0x367ad4._0xca8076,0x47f)+_0x2400d4(0x45f,0x43a,_0x367ad4._0x5e335a,_0x367ad4._0x5d08aa)+_0x2400d4(0x408,_0x367ad4._0xf5994a,_0x367ad4._0x22bb8e,_0x367ad4._0x3a2ae8)+'TP\x20environ'+_0x2400d4(_0x367ad4._0x84c67,0x401,0x45c,0x48a)+'bles\x20to\x20se'+'nd\x20emails.','SeuBU':'QtEoD','ZzQef':_0x3a727f(0x1ce,0x211,0x1b5,_0x367ad4._0x337f7c)+_0x3a727f(_0x367ad4._0x505250,_0x367ad4._0x4218af,_0x367ad4._0x116093,_0x367ad4._0x642973),'KASMc':'password-s'+_0x2400d4(0x479,_0x367ad4._0x5cc729,_0x367ad4._0x2a45b4,0x43b),'RvSMQ':_0x2400d4(_0x367ad4._0x176362,0x40d,_0x367ad4._0x44f216,0x410),'QvhFB':function(_0x58f872,_0x4d0709,_0xdd3546){return _0x58f872(_0x4d0709,_0xdd3546);},'dHGgB':function(_0x3f3e00,_0x253bc9){return _0x3f3e00(_0x253bc9);},'rgTfE':_0x2400d4(0x400,_0x367ad4._0x1b162f,_0x367ad4._0x4cc79c,_0x367ad4._0x3d82c7)+_0x3a727f(0x1d0,_0x367ad4._0x517673,_0x367ad4._0x9febcf,0x195)+_0x2400d4(0x47c,0x465,_0x367ad4._0x2c9548,0x426),'TimGx':_0x2400d4(_0x367ad4._0x12f1d9,0x42b,0x3ee,_0x367ad4._0x33f5b3)+_0x2400d4(0x462,_0x367ad4._0x7b64f2,_0x367ad4._0x5a8c05,_0x367ad4._0x5eeb26)+_0x3a727f(0x15f,0x138,_0x367ad4._0x26bc9c,0x174),'VTqco':_0x2400d4(0x425,0x430,0x409,0x452)+'send\x20email'+_0x3a727f(0x201,_0x367ad4._0x4136fb,0x1de,0x235)+'opy\x20the\x20li'+_0x2400d4(0x459,_0x367ad4._0x4ea067,0x40c,_0x367ad4._0x256409)+'y.','SlGRp':'Failed\x20to\x20'+'create\x20pas'+_0x2400d4(_0x367ad4._0x350e1e,0x3b8,_0x367ad4._0x5a225e,0x3ed)+'n'};function _0x3a727f(_0x505bc9,_0xd1877f,_0x4fcc1c,_0x1f8944){return _0xd5db6b(_0x505bc9-0x6a,_0x1f8944,_0x4fcc1c-_0x18a3de._0x3e1b02,_0x4fcc1c-_0x18a3de._0x4148f2);}try{if(_0x13e8bf[_0x3a727f(0x142,0x148,0x139,0x15e)](_0x13e8bf['JAoVI'],_0x2400d4(_0x367ad4._0x496d7f,_0x367ad4._0x18a48d,0x43e,0x4b3))){const _0x1dfec0={};return _0x1dfec0[_0x3a727f(_0x367ad4._0x146197,0x19c,_0x367ad4._0x432ba2,0xed)]=_0x13e8bf[_0x3a727f(0x13d,_0x367ad4._0x2a533a,0x14b,0x100)],_0x4b041f[_0x3a727f(_0x367ad4._0x3b2491,_0x367ad4._0x503b39,0x15f,_0x367ad4._0x64546a)](0x1*-0x5e7+0x1*-0x1f49+0xcec*0x3)['json'](_0x1dfec0);}else{const {userId:_0x509ff0,type:type=_0x13e8bf[_0x3a727f(_0x367ad4._0x3b2491,0x18e,0x162,_0x367ad4._0x5a24a7)],sendEmail:sendEmail=![]}=_0x16594a[_0x3a727f(_0x367ad4._0x10b2db,0x19a,0x1c7,0x1e9)];if(!_0x509ff0){if(_0x13e8bf[_0x2400d4(0x412,_0x367ad4._0x452bb9,0x458,_0x367ad4._0x8b8d6c)](_0x13e8bf['VXnKa'],_0x13e8bf['VXnKa'])){const _0x1e115f={};return _0x1e115f[_0x3a727f(0x134,0x179,_0x367ad4._0x56df40,_0x367ad4._0x183dd5)]=_0x13e8bf['ARbez'],_0x553590[_0x3a727f(0x12f,0x15a,0x15f,_0x367ad4._0x274e06)](-0x151a*0x1+-0x5*0x287+0x234d)[_0x3a727f(_0x367ad4._0x23e53d,0x1d8,0x1a7,0x173)](_0x1e115f);}else{const _0x5b9b28={};return _0x5b9b28['error']=_0x13e8bf[_0x3a727f(0xee,_0x367ad4._0x1062ec,0x138,0x11e)],_0x210bff[_0x3a727f(_0x367ad4._0x1dabc0,_0x367ad4._0x1062ec,0x15f,0x15c)](-0x1*-0x1e27+0x4f*-0x3e+0x971*-0x1)[_0x2400d4(_0x367ad4._0x3d9dd0,0x46b,0x439,0x45e)](_0x5b9b28);}}if(![_0x2400d4(_0x367ad4._0x267951,_0x367ad4._0x22fc32,0x452,0x416),_0x13e8bf[_0x3a727f(0x195,0x153,_0x367ad4._0x92c4c2,_0x367ad4._0x91c97d)]][_0x3a727f(0x165,_0x367ad4._0x4f2366,0x179,_0x367ad4._0x2c8cad)](type)){if(_0x13e8bf[_0x2400d4(0x453,0x46e,0x487,0x473)]===_0x3a727f(0x224,0x1db,_0x367ad4._0x54a031,_0x367ad4._0x15ecd2)){const _0x2b5f6a={};return _0x2b5f6a['error']=_0x13e8bf['eWdZe'],_0x2b5f6a['message']='SMTP\x20is\x20no'+'t\x20configur'+_0x3a727f(0x156,_0x367ad4._0x5522bf,0x186,0x17a)+_0x3a727f(_0x367ad4._0x642973,_0x367ad4._0x341e90,_0x367ad4._0x5b000d,_0x367ad4._0x524932)+_0x3a727f(_0x367ad4._0x303135,0x142,_0x367ad4._0x1dd721,0x163)+_0x2400d4(_0x367ad4._0x55e31f,_0x367ad4._0x5efb2e,0x469,_0x367ad4._0x538e12)+_0x3a727f(0x13a,_0x367ad4._0x365b18,_0x367ad4._0x2cdfea,0x111)+_0x3a727f(_0x367ad4._0x28b1a6,_0x367ad4._0x5533fc,0x1db,0x21f),_0x5f414f[_0x2400d4(_0x367ad4._0x8e001f,_0x367ad4._0x298d8e,_0x367ad4._0x1d20f4,_0x367ad4._0x2ec498)](0x1cae+-0x1*-0x1a03+-0x3521)[_0x3a727f(0x1a8,_0x367ad4._0x4adc4d,_0x367ad4._0x713796,0x1a0)](_0x2b5f6a);}else{const _0x4e9bfc={};return _0x4e9bfc[_0x2400d4(0x41e,_0x367ad4._0x1e659a,0x468,0x3e2)]=_0x13e8bf[_0x3a727f(0xfc,_0x367ad4._0x23e53d,_0x367ad4._0x535b79,0x1b4)],_0x553590[_0x3a727f(_0x367ad4._0x34fc63,_0x367ad4._0xe53a29,_0x367ad4._0x2b07d6,_0x367ad4._0x3d1762)](0x8bb*0x2+-0x152e+0x548)[_0x2400d4(_0x367ad4._0x3d9dd0,0x44d,_0x367ad4._0x26f40c,_0x367ad4._0x81f871)](_0x4e9bfc);}}const _0x5bb5e2=await _0x13e8bf['cmzgh'](findUserById,_0x509ff0);if(!_0x5bb5e2){if(_0x13e8bf['cDpYF']('jNEjL',_0x13e8bf[_0x2400d4(_0x367ad4._0x35f217,_0x367ad4._0x12fae7,_0x367ad4._0x35e880,_0x367ad4._0x5d76ce)])){const _0x31459f={};return _0x31459f[_0x3a727f(0x19e,_0x367ad4._0x476d44,_0x367ad4._0x25aa0c,_0x367ad4._0x23ccb0)]=_0x13e8bf[_0x2400d4(0x424,0x45e,0x3cb,_0x367ad4._0x512071)],_0x553590[_0x3a727f(_0x367ad4._0x35633d,_0x367ad4._0x5713eb,_0x367ad4._0x2b07d6,_0x367ad4._0x1f9fb6)](-0x7*0x265+-0x5*-0x3df+-0x104)['json'](_0x31459f);}else{const _0x964c51={};return _0x964c51[_0x3a727f(0x186,_0x367ad4._0x190e1f,0x145,_0x367ad4._0x75f5d6)]=_0x13e8bf[_0x2400d4(0x437,_0x367ad4._0x12d696,0x416,_0x367ad4._0x1f2361)],_0x31aebe['status'](-0x22*-0x90+0x1259+-0x1*0x23e9)[_0x2400d4(0x480,0x433,0x49b,_0x367ad4._0x4c367a)](_0x964c51);}}const _0x2fac33=await _0x13e8bf['rHHgD'](createPasswordToken,_0x509ff0,type),_0x194fd9={};_0x194fd9[_0x2400d4(_0x367ad4._0x4fa5d6,_0x367ad4._0xf9162f,_0x367ad4._0x41f1d7,0x4ae)]=_0x16594a[_0x3a727f(_0x367ad4._0x50936d,0x1d0,0x1be,0x1fc)]['id'],_0x194fd9[_0x2400d4(_0x367ad4._0x345c8e,_0x367ad4._0x2349b2,0x44c,0x4cf)+'ame']=_0x16594a['user'][_0x3a727f(_0x367ad4._0x35a005,0x1bf,_0x367ad4._0x2048ac,0x176)],_0x194fd9[_0x3a727f(_0x367ad4._0x20d24f,0xe1,0x12d,_0x367ad4._0x4e03bb)+'Id']=_0x509ff0,_0x194fd9[_0x3a727f(0x164,0x178,0x12d,0x13d)+_0x2400d4(0x442,_0x367ad4._0x6fbaed,_0x367ad4._0xe3063c,0x43b)]=_0x5bb5e2[_0x3a727f(0x1ce,_0x367ad4._0x459e3c,0x1c4,0x209)],_0x194fd9['tokenType']=type,_0x194fd9[_0x2400d4(_0x367ad4._0x5b8bf3,_0x367ad4._0x57b7d5,_0x367ad4._0x484135,_0x367ad4._0x15742a)]=sendEmail,logger['info'](_0x13e8bf[_0x3a727f(_0x367ad4._0x1027f4,0x1d3,_0x367ad4._0x5aef8a,0x1b9)],_0x194fd9);const _0x4ce4b2=_0x13e8bf[_0x2400d4(_0x367ad4._0x321f0e,_0x367ad4._0xe3063c,0x472,_0x367ad4._0x46178b)](getRequestBaseUrl,_0x16594a),_0x24b44b=_0x4ce4b2+(_0x3a727f(_0x367ad4._0x4f53a6,_0x367ad4._0x116093,_0x367ad4._0xb8a7f3,_0x367ad4._0xf655d1)+_0x2400d4(0x4ad,_0x367ad4._0x56318a,0x4a7,0x455)+'?token=')+_0x2fac33[_0x2400d4(0x421,0x3f8,_0x367ad4._0x2fe2d3,0x41f)],_0x3a2681={};_0x3a2681['id']=_0x2fac33['id'],_0x3a2681[_0x3a727f(_0x367ad4._0x239826,_0x367ad4._0x563975,_0x367ad4._0xbc88a7,_0x367ad4._0x17833d)]=_0x2fac33[_0x2400d4(0x421,_0x367ad4._0x15f5ee,0x3c9,_0x367ad4._0x4074b8)],_0x3a2681[_0x3a727f(_0x367ad4._0x4cb2b7,0x139,0x190,_0x367ad4._0x470798)]=_0x2fac33[_0x2400d4(0x469,_0x367ad4._0x2d2ebb,_0x367ad4._0xf9230d,0x4c0)],_0x3a2681[_0x3a727f(_0x367ad4._0x4232d8,_0x367ad4._0x466075,0x14e,_0x367ad4._0xeb8066)]=_0x2fac33[_0x2400d4(0x427,_0x367ad4._0x32f559,0x401,0x471)],_0x3a2681[_0x3a727f(_0x367ad4._0x45b46c,0x17e,0x1d1,_0x367ad4._0x40cfac)]=_0x24b44b;const _0x236563={};_0x236563['id']=_0x5bb5e2['id'],_0x236563[_0x2400d4(_0x367ad4._0x18fe69,_0x367ad4._0x115eee,_0x367ad4._0x4ba241,0x4dc)]=_0x5bb5e2[_0x3a727f(_0x367ad4._0x579ab3,_0x367ad4._0x26f4be,_0x367ad4._0x2048ac,0x17f)],_0x236563[_0x3a727f(_0x367ad4._0x3d5c80,0x192,0x169,_0x367ad4._0x44d484)]=_0x5bb5e2[_0x2400d4(0x442,_0x367ad4._0x3a3aff,_0x367ad4._0x1e52f2,0x473)],_0x236563['email']=_0x5bb5e2['email'];const _0x24b5a6={};_0x24b5a6[_0x2400d4(_0x367ad4._0xad7784,_0x367ad4._0x80d76,0x445,_0x367ad4._0xf28b15)]=_0x13e8bf['SLKaB'],_0x24b5a6[_0x3a727f(_0x367ad4._0xa192e2,_0x367ad4._0x1ef9fa,0x148,_0x367ad4._0x5b6ca1)]=_0x3a2681,_0x24b5a6[_0x3a727f(_0x367ad4._0x3b7365,0x1ed,0x1be,0x1d1)]=_0x236563,_0x24b5a6[_0x2400d4(0x4a3,_0x367ad4._0x5afe7d,_0x367ad4._0x655492,_0x367ad4._0x551c2c)]=![];const _0x63e8d7=_0x24b5a6;if(sendEmail){if(!_0x13e8bf[_0x2400d4(_0x367ad4._0x293f7a,0x4f5,_0x367ad4._0x5eeb26,_0x367ad4._0x1d962e)](isEmailConfigured)){const _0x658da0={};return _0x658da0[_0x3a727f(_0x367ad4._0x3f9d80,0x16c,0x145,0xec)]=_0x13e8bf[_0x3a727f(_0x367ad4._0x3e8e83,0x193,_0x367ad4._0x50f372,0x140)],_0x658da0[_0x3a727f(0x1c1,0x1bf,_0x367ad4._0x3a38ca,0x1b3)]=_0x13e8bf[_0x3a727f(0x174,0x179,0x131,0xdd)],_0x553590[_0x3a727f(0x109,_0x367ad4._0x3624bc,_0x367ad4._0x2b07d6,_0x367ad4._0x453f57)](-0x6ee*0x3+0x1ced+-0x693)[_0x2400d4(_0x367ad4._0x3d9dd0,_0x367ad4._0x324f6e,_0x367ad4._0x3fdc9a,0x42f)](_0x658da0);}try{if(_0x13e8bf[_0x3a727f(0x15f,_0x367ad4._0x579ab3,0x139,_0x367ad4._0x5466ac)](_0x13e8bf[_0x3a727f(_0x367ad4._0x3b2491,_0x367ad4._0x577d0c,_0x367ad4._0x4a42c9,0x131)],'OqiXd')){_0x29e867[_0x2400d4(0x41e,0x3eb,_0x367ad4._0x3db3a0,_0x367ad4._0x37f6eb)](_0x13e8bf['ldTvi'],_0x1711a7);const _0x974478={};_0x974478[_0x3a727f(0x14e,0xe7,_0x367ad4._0x432ba2,0xe9)]=_0x13e8bf[_0x2400d4(0x405,_0x367ad4._0x3e68d1,_0x367ad4._0x48663f,0x3fb)],_0x2607d2[_0x2400d4(0x438,0x433,_0x367ad4._0x54afbe,0x3da)](-0x1797+0x23e+0x174d)[_0x2400d4(0x480,_0x367ad4._0xd551e4,0x48b,_0x367ad4._0x4f8605)](_0x974478);}else{const _0x155e59=type==='reset'?_0x13e8bf[_0x2400d4(0x41c,0x46f,_0x367ad4._0x11bc78,_0x367ad4._0x471e58)]:_0x13e8bf[_0x2400d4(_0x367ad4._0x2d3dc8,_0x367ad4._0x3b1003,0x463,_0x367ad4._0x5e399a)],_0x21d489={};_0x21d489['userName']=_0x5bb5e2[_0x2400d4(_0x367ad4._0x3c6016,_0x367ad4._0x297d7d,0x3e5,0x425)],_0x21d489['username']=_0x5bb5e2[_0x2400d4(0x49d,_0x367ad4._0x4b67f4,0x4d4,_0x367ad4._0x546214)],_0x21d489[_0x2400d4(_0x367ad4._0x301296,_0x367ad4._0x3095f2,0x490,_0x367ad4._0x51368f)]=_0x24b44b,_0x21d489[_0x3a727f(_0x367ad4._0x1b94f5,_0x367ad4._0x190e1f,_0x367ad4._0x31c3fa,0x143)]=_0x13e8bf[_0x2400d4(0x44a,0x48c,0x486,_0x367ad4._0x6fbaed)],_0x21d489[_0x2400d4(0x469,_0x367ad4._0x297d7d,0x456,_0x367ad4._0x33f125)]=type;const _0x4b290e=_0x21d489,{subject:_0x142b8a}=_0x13e8bf['QvhFB'](renderTemplate,_0x155e59,_0x4b290e),_0x5488c8={};_0x5488c8['to']=_0x5bb5e2[_0x3a727f(0x174,0x1ad,_0x367ad4._0x4b304b,0x137)],_0x5488c8[_0x3a727f(0x10f,_0x367ad4._0x1f9fb6,0x126,_0x367ad4._0x2534a2)]=_0x142b8a,_0x5488c8['template']=_0x155e59,_0x5488c8[_0x2400d4(0x457,0x45f,_0x367ad4._0xb88374,0x44e)]=_0x4b290e,await _0x13e8bf['dHGgB'](sendTemplatedEmail,_0x5488c8),_0x63e8d7[_0x2400d4(0x4a3,0x487,_0x367ad4._0x18fdd8,0x477)]=!![],_0x63e8d7[_0x3a727f(_0x367ad4._0xcf073c,_0x367ad4._0x44d484,_0x367ad4._0x597ced,_0x367ad4._0x11e783)]='Password\x20t'+'oken\x20creat'+_0x2400d4(0x43f,_0x367ad4._0x5e27cc,0x3ec,_0x367ad4._0x341530)+_0x2400d4(_0x367ad4._0x536683,0x4df,_0x367ad4._0x461211,0x453)+'\x20'+_0x5bb5e2[_0x2400d4(_0x367ad4._0x5f121a,0x407,_0x367ad4._0x539b47,_0x367ad4._0x13065a)];const _0x41af60={};_0x41af60['to']=_0x5bb5e2[_0x2400d4(0x463,0x476,_0x367ad4._0x80d76,0x48e)],_0x41af60[_0x2400d4(_0x367ad4._0x2be7f2,0x434,_0x367ad4._0x293f7a,_0x367ad4._0x27960d)]=type,_0x41af60['username']=_0x5bb5e2[_0x3a727f(_0x367ad4._0x12a82d,_0x367ad4._0xcf073c,0x1c4,_0x367ad4._0x2a533a)],logger[_0x3a727f(0x1a9,0x1cf,0x196,_0x367ad4._0x473508)](_0x13e8bf['rgTfE'],_0x41af60);}}catch(_0xaf202e){logger[_0x2400d4(_0x367ad4._0x27960d,_0x367ad4._0x54710e,0x449,_0x367ad4._0x3c892f)](_0x13e8bf[_0x2400d4(0x4b5,0x4f7,0x45f,0x47e)],_0xaf202e),_0x63e8d7[_0x3a727f(0xed,0x195,_0x367ad4._0x1dc380,0xe4)]=_0x13e8bf[_0x3a727f(0x174,0x1cb,0x193,_0x367ad4._0x12880d)];}}_0x553590[_0x2400d4(0x480,0x45f,0x4c5,0x429)](_0x63e8d7);}}catch(_0x34d12c){logger[_0x3a727f(_0x367ad4._0x577d0c,0x179,_0x367ad4._0x7af875,_0x367ad4._0x505250)](_0x13e8bf[_0x3a727f(_0x367ad4._0x3d780f,0x151,_0x367ad4._0x5b01bf,_0x367ad4._0x514715)],_0x34d12c);const _0x197e5f={};_0x197e5f[_0x3a727f(_0x367ad4._0x2a220b,_0x367ad4._0x3d005d,0x145,0x10e)]=_0x13e8bf[_0x2400d4(_0x367ad4._0x5eeb26,0x434,_0x367ad4._0x538e12,0x487)],_0x553590[_0x2400d4(0x438,_0x367ad4._0x5c030b,0x494,_0x367ad4._0x18b86b)](0x23fe+0x1003*-0x1+-0x1207*0x1)['json'](_0x197e5f);}}),router[_0x381c13(0x261,0x2ba,0x2b5,0x276)](_0x381c13(0x2c7,0x276,0x26b,0x2b2)+_0x381c13(0x270,0x29a,0x27e,0x265),async(_0x1a67c6,_0x1c7aa7)=>{const _0x31e64e={_0x266a2b:0x177,_0x398bd5:0x1ce,_0x1f3fee:0x20d,_0xf76265:0x211,_0x553f84:0x20c,_0xfc8cca:0x28f,_0x330b52:0x52e,_0x13c42a:0x525,_0x118545:0x51c,_0x54e147:0x1ca,_0x5f00cf:0x1b6,_0x5424fe:0x514,_0x1ea6e1:0x4f6,_0x242f12:0x5bf,_0xace063:0x58b,_0xb4e167:0x220,_0x3e12a5:0x24c,_0x2e70b1:0x229,_0x375043:0x29e,_0x4d7197:0x53e,_0x544eb5:0x555,_0x2ccd1e:0x508,_0x228d0b:0x578,_0x5c97a5:0x511,_0x47242d:0x50d,_0x5813ab:0x1f4,_0x4c1951:0x226,_0x24e48d:0x208,_0x4c6981:0x1de,_0x2c5018:0x1fb,_0x720554:0x1d3,_0xb55200:0x1d7,_0x237738:0x50e,_0x2e7635:0x52a,_0x34e2c1:0x4f3,_0x2cd02b:0x167,_0x5ec9a8:0x53b,_0x3dc90e:0x4d1,_0x16e73c:0x25b,_0x454fe9:0x249,_0xe03679:0x21b,_0x4b16c1:0x295,_0x31d01f:0x4e8,_0x3b6f07:0x533,_0x429ffa:0x1ff,_0x15c92b:0x20a,_0x53130b:0x180,_0x2e09ed:0x202,_0x16980b:0x517,_0x31c1f4:0x523,_0x29a481:0x56c,_0x356b03:0x52d,_0x5af0cf:0x547,_0x2d7dff:0x1dd,_0x1c0d0a:0x5ab,_0x3057f0:0x1b9,_0x3d581e:0x249,_0x3faeb9:0x24d,_0x2052d1:0x1c0,_0x2dbecf:0x1e0,_0x5d2975:0x22c,_0x258a0e:0x217,_0x40151d:0x4fb,_0x222fe9:0x503,_0x431714:0x4f5,_0x44936f:0x4c6,_0xc708da:0x4f0,_0x4a306c:0x27b,_0x3cd699:0x225,_0x5877b6:0x1e6,_0x22c341:0x549,_0x41fdd3:0x244,_0xe94aee:0x2a2,_0x347c9e:0x296,_0x288401:0x4ee,_0x50a59b:0x4c3,_0x2f0e12:0x1bf,_0x5eeb0a:0x589,_0xaa1029:0x565,_0x27bc9a:0x212,_0xa90bcb:0x25d,_0x18d927:0x214,_0x5baf2e:0x57a,_0x47845a:0x5ba,_0x391581:0x1a5,_0x255ae:0x17c,_0x1ffcc9:0x52c,_0x1271b2:0x54b,_0x5415de:0x223,_0xc0b8db:0x242,_0x5c115d:0x28e,_0x5b81d5:0x290,_0x2e9692:0x200,_0x315ab6:0x540,_0x5f4a02:0x1c9,_0x19763f:0x1e7,_0x33864:0x23d,_0x13edcd:0x1c3,_0x3fc9b4:0x5b1,_0x5ee060:0x5be,_0xde6509:0x20e,_0x2779ac:0x1cb,_0xdd48f3:0x1ce,_0x59d78e:0x1c4,_0x149750:0x588,_0x3ee2cf:0x565,_0x3410e9:0x5b6,_0x514f05:0x57c,_0x355156:0x222,_0x5b7e41:0x1d8,_0x1dcbc2:0x4df,_0x378e3b:0x539,_0x3d2c19:0x4e0,_0x481b2f:0x1ca,_0x5132e4:0x187,_0x58cbe3:0x5f1,_0x3dab7d:0x59b,_0x565ca4:0x571,_0x2cc04:0x5ba,_0x363175:0x50a,_0x4ee82f:0x5c8,_0x3b6d10:0x51d,_0x2c730e:0x51c,_0x3df9bf:0x1e9,_0x2ad09d:0x225,_0x193584:0x26a},_0x40c126={_0x1c70e2:0x125},_0x3b2b15={_0x52ba8c:0x3a};function _0xaa2faf(_0x367343,_0x3ff7cd,_0x3c74c9,_0x3bab3d){return _0x381c13(_0x367343-_0x3b2b15._0x52ba8c,_0x3ff7cd-0x19b,_0x3ff7cd- -0xb8,_0x367343);}function _0x1409ee(_0x7bfc51,_0x219533,_0x184873,_0x45f5ff){return _0xd5db6b(_0x7bfc51-_0x40c126._0x1c70e2,_0x7bfc51,_0x184873-0x78,_0x219533-0x590);}const _0x16e1f3={'oWbbP':_0xaa2faf(_0x31e64e._0x266a2b,0x1ca,_0x31e64e._0x398bd5,_0x31e64e._0x1f3fee)+_0xaa2faf(0x1af,0x1e8,_0x31e64e._0xf76265,_0x31e64e._0x553f84)+_0xaa2faf(_0x31e64e._0xfc8cca,0x244,0x295,0x22f),'dBBHK':'Failed\x20to\x20'+'send\x20passw'+_0x1409ee(0x56e,_0x31e64e._0x330b52,_0x31e64e._0x13c42a,_0x31e64e._0x118545),'ffVtX':_0xaa2faf(0x216,_0x31e64e._0x54e147,0x1c5,_0x31e64e._0x5f00cf)+_0x1409ee(0x56a,0x516,_0x31e64e._0x5424fe,_0x31e64e._0x1ea6e1)+_0x1409ee(0x5cc,0x59c,_0x31e64e._0x242f12,_0x31e64e._0xace063)+_0xaa2faf(_0x31e64e._0xb4e167,_0x31e64e._0x3e12a5,_0x31e64e._0x2e70b1,_0x31e64e._0x375043)+_0x1409ee(0x59b,_0x31e64e._0x4d7197,_0x31e64e._0x544eb5,_0x31e64e._0x2ccd1e)+'y.','rWzES':_0x1409ee(_0x31e64e._0x228d0b,0x550,0x58f,_0x31e64e._0x5c97a5)+_0x1409ee(_0x31e64e._0x47242d,_0x31e64e._0x13c42a,0x560,0x578),'uWeof':function(_0x3fdd08,_0x5dbda5){return _0x3fdd08(_0x5dbda5);},'BpgRz':function(_0x50d036,_0x40a99a){return _0x50d036!==_0x40a99a;},'Pczhp':_0xaa2faf(_0x31e64e._0x5813ab,_0x31e64e._0x4c1951,_0x31e64e._0x24e48d,_0x31e64e._0x4c6981),'cTtlO':'HpDPo','PJHel':_0xaa2faf(_0x31e64e._0x2c5018,_0x31e64e._0x720554,_0x31e64e._0xb55200,0x223)+_0x1409ee(_0x31e64e._0x237738,_0x31e64e._0x2e7635,_0x31e64e._0x34e2c1,0x4f3)+_0xaa2faf(0x181,0x1ac,0x1e5,_0x31e64e._0x2cd02b),'aGLgL':_0x1409ee(_0x31e64e._0x5ec9a8,0x4ff,_0x31e64e._0x3dc90e,0x526)+_0xaa2faf(_0x31e64e._0x16e73c,_0x31e64e._0x454fe9,_0x31e64e._0xe03679,_0x31e64e._0x4b16c1),'ASmaH':_0x1409ee(_0x31e64e._0x31d01f,_0x31e64e._0x3b6f07,0x51a,0x506),'bWhnZ':'Failed\x20to\x20'+'validate\x20t'+_0x1409ee(0x50b,0x4ec,0x494,0x507)};try{const {token:_0x520b23}=_0x1a67c6[_0xaa2faf(0x238,0x24a,_0x31e64e._0x429ffa,_0x31e64e._0x15c92b)];if(!_0x520b23){const _0x1ea9e6={};return _0x1ea9e6[_0xaa2faf(_0x31e64e._0x53130b,0x1c3,_0x31e64e._0x2e09ed,0x1d3)]=_0x16e1f3[_0x1409ee(0x4d0,_0x31e64e._0x16980b,0x4ef,0x52c)],_0x1ea9e6[_0x1409ee(_0x31e64e._0x31c1f4,_0x31e64e._0x29a481,_0x31e64e._0x356b03,_0x31e64e._0x5af0cf)]=![],_0x1c7aa7[_0xaa2faf(0x1f4,_0x31e64e._0x2d7dff,0x1a1,0x209)](0x1*0x17e+-0x4*-0x74f+0x2*-0xe95)[_0x1409ee(_0x31e64e._0x1c0d0a,0x565,_0x31e64e._0x356b03,0x5a5)](_0x1ea9e6);}const _0x3759a0=await _0x16e1f3[_0xaa2faf(_0x31e64e._0x3057f0,0x212,0x1f3,0x1c4)](validateToken,_0x520b23);if(!_0x3759a0){if(_0x16e1f3[_0xaa2faf(_0x31e64e._0x3d581e,0x24d,0x23b,_0x31e64e._0x3faeb9)](_0x16e1f3['Pczhp'],_0x16e1f3[_0xaa2faf(0x1fa,_0x31e64e._0x2052d1,_0x31e64e._0x2dbecf,0x1ac)])){const _0x4ac0d9={};return _0x4ac0d9[_0xaa2faf(0x209,_0x31e64e._0x5d2975,0x1e1,_0x31e64e._0x258a0e)]=![],_0x4ac0d9[_0x1409ee(_0x31e64e._0x40151d,_0x31e64e._0x222fe9,0x4d7,_0x31e64e._0x431714)]=_0x16e1f3[_0x1409ee(_0x31e64e._0x44936f,_0x31e64e._0xc708da,0x4d8,0x4b2)],_0x1c7aa7[_0xaa2faf(_0x31e64e._0x4a306c,_0x31e64e._0x3cd699,0x23a,_0x31e64e._0x5877b6)](_0x4ac0d9);}else{_0x321077['error'](_0x1409ee(0x566,0x50a,0x4f1,0x4eb)+_0x1409ee(_0x31e64e._0x22c341,0x528,0x571,0x516)+_0xaa2faf(0x237,_0x31e64e._0x41fdd3,_0x31e64e._0xe94aee,_0x31e64e._0x347c9e),_0x39a9fb);const _0x2dd659={};_0x2dd659[_0x1409ee(0x532,0x503,_0x31e64e._0x288401,_0x31e64e._0x50a59b)]=_0x16e1f3['oWbbP'],_0x44f178[_0xaa2faf(0x1a3,0x1dd,_0x31e64e._0x2f0e12,0x1ab)](0x2*-0x32e+0x3d3*-0x2+-0x2*-0x7fb)[_0x1409ee(_0x31e64e._0x5eeb0a,_0x31e64e._0xaa1029,0x545,0x537)](_0x2dd659);}}const _0x349234=await _0x16e1f3[_0xaa2faf(0x22e,_0x31e64e._0x27bc9a,_0x31e64e._0xa90bcb,_0x31e64e._0x18d927)](findUserById,_0x3759a0[_0x1409ee(0x51b,0x542,0x4eb,_0x31e64e._0x5baf2e)]);if(!_0x349234){const _0x27b3ed={};return _0x27b3ed[_0x1409ee(0x570,_0x31e64e._0x29a481,_0x31e64e._0x5af0cf,_0x31e64e._0x47845a)]=![],_0x27b3ed[_0xaa2faf(_0x31e64e._0x391581,0x1c3,_0x31e64e._0x53130b,_0x31e64e._0x255ae)]=_0x16e1f3[_0x1409ee(_0x31e64e._0x1ffcc9,_0x31e64e._0x1271b2,0x4fa,0x533)],_0x1c7aa7[_0xaa2faf(_0x31e64e._0x5415de,0x225,0x201,0x269)](_0x27b3ed);}const _0x328424={};_0x328424[_0xaa2faf(0x1e7,_0x31e64e._0xc0b8db,_0x31e64e._0x5c115d,0x244)]=_0x349234[_0xaa2faf(_0x31e64e._0x5b81d5,_0x31e64e._0xc0b8db,0x207,_0x31e64e._0x2e9692)],_0x328424[_0x1409ee(0x4f2,0x527,_0x31e64e._0x315ab6,0x527)]=_0x349234[_0xaa2faf(_0x31e64e._0x5f4a02,_0x31e64e._0x19763f,_0x31e64e._0x33864,_0x31e64e._0x13edcd)];const _0x50facd={};_0x50facd[_0x1409ee(_0x31e64e._0x3fc9b4,0x56c,0x510,_0x31e64e._0x5ee060)]=!![],_0x50facd[_0xaa2faf(0x20f,_0x31e64e._0xde6509,_0x31e64e._0x2779ac,0x23e)]=_0x3759a0[_0xaa2faf(0x258,0x20e,_0x31e64e._0xdd48f3,_0x31e64e._0x59d78e)],_0x50facd[_0x1409ee(_0x31e64e._0x149750,0x57c,_0x31e64e._0x47845a,0x5af)]=_0x328424,_0x1c7aa7[_0x1409ee(0x566,_0x31e64e._0x3ee2cf,_0x31e64e._0x3410e9,_0x31e64e._0x514f05)](_0x50facd);}catch(_0x3df4dc){if(_0x16e1f3['ASmaH']==='FJkia')_0x566fe1['error'](_0x16e1f3[_0xaa2faf(_0x31e64e._0x355156,_0x31e64e._0x5b7e41,0x1ed,0x1bf)],_0x4c8b8e),_0x311cb9['emailError']=_0x16e1f3[_0x1409ee(_0x31e64e._0x1dcbc2,_0x31e64e._0x378e3b,0x52b,0x551)];else{logger[_0x1409ee(_0x31e64e._0x3d2c19,0x503,0x548,0x539)](_0x16e1f3['bWhnZ'],_0x3df4dc);const _0x681ca0={};_0x681ca0['error']=_0xaa2faf(0x1a0,_0x31e64e._0x481b2f,0x1ef,_0x31e64e._0x5132e4)+_0x1409ee(_0x31e64e._0x58cbe3,_0x31e64e._0x3dab7d,_0x31e64e._0x565ca4,_0x31e64e._0x2cc04)+_0x1409ee(0x490,0x4ec,_0x31e64e._0x363175,0x525),_0x681ca0[_0x1409ee(0x566,0x56c,0x5c3,_0x31e64e._0x4ee82f)]=![],_0x1c7aa7[_0x1409ee(0x567,_0x31e64e._0x3b6d10,_0x31e64e._0x2c730e,0x560)](0xc*0x76+-0x432*0x6+0x1598)[_0xaa2faf(_0x31e64e._0x3df9bf,_0x31e64e._0x2ad09d,0x246,_0x31e64e._0x193584)](_0x681ca0);}}});function _0xd5db6b(_0x1ee1e7,_0x5a9ac0,_0x479afb,_0x2d44e1){const _0x4e53df={_0x5a3566:0x25b};return _0x33d5(_0x2d44e1- -_0x4e53df._0x5a3566,_0x5a9ac0);}router['post']('/setup',async(_0xb9f183,_0x515374)=>{const _0x515877={_0x407c9e:0x150,_0x3753fd:0x138,_0x2507b9:0x110,_0x1b619f:0xd1,_0x13d652:0x14e,_0x5518b8:0x19a,_0x10e99a:0xcb,_0x567485:0x17f,_0x56e1bd:0x1ef,_0x4bf888:0x1d3,_0x21d817:0x13c,_0x252d51:0x13d,_0x2f6ca7:0x1b0,_0x38821b:0x168,_0x321847:0x1d3,_0x47872b:0x1d8,_0x3805fe:0x1ec,_0x2345e4:0x1dc,_0x14aec3:0x1a7,_0x5e9cb1:0x17f,_0x3f98ba:0x12b,_0x3b4491:0x114,_0x3511fe:0x137,_0x5208cf:0x17d,_0xb28b00:0x157,_0x5678c6:0x177,_0x5c83eb:0x1ba,_0x3cc9d2:0x1a9,_0x1e4322:0x175,_0x4747ac:0x16f,_0x398317:0x189,_0x48730c:0x1ea,_0x2f2521:0x1a3,_0x2889da:0x1f5,_0x5318df:0x16e,_0x31fc93:0x1bd,_0x4201d4:0x1ce,_0x1e2ba1:0x16f,_0x11d0f4:0x170,_0x4d7371:0x1d9,_0x4d274f:0x119,_0x5b866c:0x152,_0x19415a:0x182,_0x2b31c1:0x1a6,_0x5ced50:0x13b,_0x12179b:0x1bc,_0x3d2e0f:0x17f,_0x330d53:0x124,_0x3dac3e:0x195,_0x33e576:0x1ab,_0x22dccd:0x18d,_0x56803d:0x14d,_0xa89bf:0xc9,_0x11fbec:0xda,_0x3f7cca:0x1da,_0x492e68:0x1ed,_0x229497:0x17d,_0x544be1:0x1a5,_0x49a76d:0x139,_0x11da3d:0x18b,_0x324eed:0x18c,_0x5b2d84:0xc6,_0x27e7fa:0xb9,_0x2a599c:0x1ac,_0x302ddb:0x1aa,_0x5aa4e9:0x19e,_0xe14035:0x1d1,_0x4ce036:0x1d6,_0x4d3f13:0x196,_0x43bac4:0x1ff,_0x20b3b0:0xe3,_0x53b07d:0x193,_0xa2f68f:0x170,_0x4d52a2:0x1ed,_0xe62f2f:0x196,_0x212615:0x103,_0x4ae2df:0x145,_0xe09dab:0x121,_0x1396bf:0x17d,_0xcc056:0x1c4,_0x2ed36f:0x12f,_0x3e2843:0x140,_0x4e8f08:0x213,_0xbe9e8e:0x183,_0x463efc:0x175,_0x5d02ac:0x188,_0xb1708b:0xde,_0x4e343e:0x1bc,_0x13bbac:0x212,_0x42a43d:0x1c4,_0x245f0f:0x129,_0x4fa05f:0x128,_0x412c87:0x1a2,_0x5d594b:0x18a,_0x7fafc0:0x176,_0x2b0839:0x11e,_0x144f14:0x128,_0x511052:0x13f,_0x5f4f5e:0x153,_0x2542d3:0x161,_0x2a6b83:0x157,_0x1a7fb6:0xf6,_0x1069ff:0x172,_0x5558f0:0x1a7,_0x5cf61f:0x15f,_0x549888:0x18f,_0x3056c9:0x18b,_0x51abcd:0x194,_0xe3fecc:0x1a1,_0x362f89:0x151,_0x6d951:0x10a,_0x1b19da:0x17c,_0x50eb17:0x142,_0x54a02e:0x103,_0x1b1ff1:0x138,_0x42fadc:0x158,_0x2d351d:0x13b,_0x241435:0x176,_0x5df081:0x1ae,_0x3a66ae:0x18d,_0x2ff70d:0x1b5,_0x58dae3:0x13d,_0x470add:0x1bc,_0x3cecdb:0x174,_0x11066c:0x21a,_0x56e55e:0x107,_0x1af140:0x11b,_0x5a69dd:0x19e,_0x499f6c:0x1ae,_0x4bb62f:0x1e6,_0x1d4e11:0x20a,_0x3fb2b9:0x218,_0x10dab8:0x136,_0xfb93d7:0xcd,_0x404f4a:0x171},_0x967c80={_0x3ff556:0x164};function _0x18ce3a(_0x23760b,_0x36e099,_0x217464,_0xef0b2f){return _0x381c13(_0x23760b-0x51,_0x36e099-0x17f,_0x23760b- -0x437,_0x36e099);}function _0x4d4691(_0x566301,_0x2a667f,_0x637d33,_0x961737){return _0x381c13(_0x566301-_0x967c80._0x3ff556,_0x2a667f-0x97,_0x637d33- -0x167,_0x566301);}const _0x57d79b={'HFckA':_0x4d4691(_0x515877._0x407c9e,_0x515877._0x3753fd,_0x515877._0x2507b9,_0x515877._0x1b619f)+_0x4d4691(0x1ba,_0x515877._0x13d652,_0x515877._0x5518b8,0x166),'ZqPZE':'Failed\x20to\x20'+_0x18ce3a(-0x124,-0xd6,-_0x515877._0x10e99a,-_0x515877._0x567485)+_0x18ce3a(-0x1d3,-_0x515877._0x56e1bd,-0x1d5,-_0x515877._0x4bf888),'dQKAB':function(_0x106e6e,_0x1c4536){return _0x106e6e===_0x1c4536;},'CSxvi':_0x4d4691(_0x515877._0x21d817,_0x515877._0x252d51,0x12f,0x11e),'ZklEe':_0x18ce3a(-_0x515877._0x2f6ca7,-_0x515877._0x38821b,-0x20c,-_0x515877._0x321847)+_0x18ce3a(-_0x515877._0x47872b,-0x1b7,-_0x515877._0x3805fe,-0x1cd)+_0x18ce3a(-0x1c1,-_0x515877._0x2345e4,-0x214,-_0x515877._0x14aec3)+'d','xYMWN':function(_0x584f56,_0x33f512){return _0x584f56<_0x33f512;},'eyhpO':function(_0x214dec,_0x18a94c){return _0x214dec===_0x18a94c;},'hlkzL':_0x18ce3a(-0x164,-_0x515877._0x5e9cb1,-_0x515877._0x3f98ba,-_0x515877._0x2507b9),'HwyoU':_0x18ce3a(-0x15f,-_0x515877._0x3b4491,-0x14f,-0x19e),'GBVSX':'Password\x20m'+_0x4d4691(_0x515877._0x3511fe,_0x515877._0x5208cf,0x191,_0x515877._0xb28b00)+_0x4d4691(_0x515877._0x5678c6,0x19f,0x1a7,_0x515877._0x2f6ca7)+'aracters','XnLuk':function(_0x5bc56c,_0x354d87){return _0x5bc56c===_0x354d87;},'DBTmI':'cABCX','qJfki':function(_0x2ec4de,_0x3a76ac){return _0x2ec4de(_0x3a76ac);},'Pmxcg':'NwWHI','axBbI':function(_0xac2bc5,_0x26ea3a,_0x2ab108){return _0xac2bc5(_0x26ea3a,_0x2ab108);},'Csltw':_0x18ce3a(-0x1b5,-0x193,-0x1f4,-0x1ab)+_0x4d4691(_0x515877._0x5c83eb,_0x515877._0x3cc9d2,_0x515877._0x1e4322,0x1b4)+'rd'};try{if(_0x57d79b[_0x4d4691(0x166,_0x515877._0x4747ac,_0x515877._0x398317,0x1e2)](_0x57d79b['CSxvi'],_0x57d79b['CSxvi'])){const {token:_0x3a778a,password:_0x271d8f}=_0xb9f183[_0x4d4691(_0x515877._0x48730c,_0x515877._0x2f2521,0x196,0x1ab)];if(!_0x3a778a||!_0x271d8f){const _0x49af12={};return _0x49af12['error']=_0x57d79b[_0x18ce3a(-0x1c4,-_0x515877._0x2889da,-0x179,-_0x515877._0x5318df)],_0x515374[_0x18ce3a(-0x1a2,-0x1b6,-_0x515877._0x31fc93,-_0x515877._0x4201d4)](0x1061+-0x100d+0x13c)[_0x4d4691(0x1c9,_0x515877._0x1e2ba1,0x176,_0x515877._0x11d0f4)](_0x49af12);}if(_0x57d79b[_0x4d4691(0x141,0x1c2,0x18b,_0x515877._0x4d7371)](_0x271d8f[_0x4d4691(0x157,0xf5,_0x515877._0x4d274f,_0x515877._0x2507b9)],0x21e7*0x1+0x24*0x64+-0x7*0x6d9)){if(_0x57d79b[_0x18ce3a(-_0x515877._0x5b866c,-_0x515877._0x19415a,-_0x515877._0x2b31c1,-0x11c)](_0x57d79b[_0x4d4691(_0x515877._0x5ced50,0xdb,0xf7,0xd2)],_0x57d79b['HwyoU'])){const _0x58f471={};return _0x58f471[_0x18ce3a(-_0x515877._0x12179b,-_0x515877._0x3d2e0f,-0x216,-0x1b0)]=_0x4d4691(_0x515877._0x330d53,0x168,_0x515877._0x330d53,_0x515877._0x407c9e)+_0x18ce3a(-_0x515877._0x3dac3e,-0x17d,-_0x515877._0x33e576,-_0x515877._0x22dccd)+_0x4d4691(_0x515877._0x56803d,_0x515877._0xa89bf,0xfd,_0x515877._0x11fbec),_0x5c7c17[_0x18ce3a(-0x1a2,-_0x515877._0x3f7cca,-_0x515877._0x492e68,-0x1e3)](-0x240b*-0x1+-0x116*-0x3+0x25bd*-0x1)[_0x4d4691(0x14f,0x135,0x176,_0x515877._0x229497)](_0x58f471);}else{const _0x5ed6d7={};return _0x5ed6d7['error']=_0x57d79b[_0x4d4691(_0x515877._0x544be1,_0x515877._0x49a76d,0x15a,_0x515877._0x252d51)],_0x515374[_0x4d4691(0x11a,0x120,0x12e,_0x515877._0x11da3d)](-0x1e32*0x1+0x1153+0x1*0xe6f)[_0x4d4691(0x1cc,0x187,0x176,0x184)](_0x5ed6d7);}}const _0x91ca70=await validateToken(_0x3a778a);if(!_0x91ca70){if(_0x57d79b['XnLuk'](_0x57d79b[_0x18ce3a(-0x13e,-0x138,-0x187,-_0x515877._0x3d2e0f)],_0x57d79b[_0x18ce3a(-0x13e,-0x18f,-0x104,-_0x515877._0x324eed)])){const _0x4f2569={};return _0x4f2569[_0x4d4691(_0x515877._0x5b2d84,_0x515877._0x27e7fa,_0x515877._0x3b4491,0xfe)]=_0x18ce3a(-_0x515877._0x2a599c,-0x1c4,-_0x515877._0x302ddb,-0x1ba)+_0x18ce3a(-_0x515877._0x3dac3e,-_0x515877._0x5aa4e9,-_0x515877._0xe14035,-0x18a)+_0x18ce3a(-0x1d3,-_0x515877._0x4ce036,-_0x515877._0x4d3f13,-_0x515877._0x43bac4),_0x515374['status'](-0x160c+-0x19a5+-0x1*-0x3141)['json'](_0x4f2569);}else{const _0x54f948={};return _0x54f948[_0x4d4691(_0x515877._0x20b3b0,0x160,0x114,0x169)]=_0x18ce3a(-0x1c0,-0x21d,-_0x515877._0x53b07d,-0x1c9)+_0x4d4691(_0x515877._0xa2f68f,_0x515877._0x4d52a2,_0x515877._0x5518b8,_0x515877._0xe62f2f),_0x50fb3f['status'](-0xcdf+0x112d+0x2ba*-0x1)[_0x18ce3a(-0x15a,-0x141,-_0x515877._0x212615,-0x147)](_0x54f948);}}const _0x1b3fae=await _0x57d79b[_0x4d4691(0x145,_0x515877._0x4ae2df,_0x515877._0xe09dab,0x109)](findUserById,_0x91ca70[_0x18ce3a(-_0x515877._0x1396bf,-_0x515877._0xcc056,-0x169,-0x147)]);if(!_0x1b3fae){if(_0x57d79b[_0x4d4691(0x187,_0x515877._0x2ed36f,0x157,_0x515877._0xa2f68f)]===_0x4d4691(0x171,_0x515877._0x3e2843,0x13a,0x175)){const _0x100502={};return _0x100502[_0x18ce3a(-0x1bc,-0x190,-_0x515877._0x4e8f08,-0x20c)]=_0x57d79b[_0x4d4691(_0x515877._0xbe9e8e,_0x515877._0x463efc,0x182,0x15b)],_0x515374[_0x4d4691(_0x515877._0x5d02ac,_0x515877._0xb1708b,0x12e,0x185)](-0x2*0xb8f+0x4a2+0x2*0xa08)[_0x18ce3a(-0x15a,-0x180,-0x1a8,-0x187)](_0x100502);}else{const _0x3b5389={};return _0x3b5389[_0x18ce3a(-_0x515877._0x4e343e,-_0x515877._0x13bbac,-_0x515877._0x42a43d,-0x189)]=_0x57d79b[_0x4d4691(_0x515877._0x245f0f,_0x515877._0x4fa05f,0x182,0x16e)],_0x536bfa[_0x18ce3a(-_0x515877._0x412c87,-0x15a,-0x1fe,-0x1a7)](-0x14c7*0x1+0xc*0x3b+0x1397)[_0x4d4691(0x129,_0x515877._0x5d594b,_0x515877._0x7fafc0,0x143)](_0x3b5389);}}await _0x57d79b[_0x4d4691(0x16c,0x127,_0x515877._0x2b0839,_0x515877._0x144f14)](setUserPassword,_0x91ca70[_0x4d4691(_0x515877._0x511052,0x193,_0x515877._0x5f4f5e,0x143)],_0x271d8f),await markTokenAsUsed(_0x3a778a);const _0x53631f={};_0x53631f[_0x18ce3a(-0x17d,-0x1be,-_0x515877._0x2542d3,-_0x515877._0x2a6b83)]=_0x1b3fae['id'],_0x53631f[_0x18ce3a(-0x13d,-0x15c,-0x168,-_0x515877._0x1a7fb6)]=_0x1b3fae['username'],_0x53631f[_0x18ce3a(-_0x515877._0x4fa05f,-0xea,-0x167,-_0x515877._0x1069ff)]=_0x91ca70[_0x4d4691(0x195,_0x515877._0x5558f0,_0x515877._0x5cf61f,_0x515877._0x549888)],logger[_0x4d4691(0x116,0x161,0x165,_0x515877._0x3056c9)](_0x18ce3a(-0x1da,-_0x515877._0x51abcd,-_0x515877._0xe3fecc,-_0x515877._0x48730c)+_0x18ce3a(-_0x515877._0x362f89,-_0x515877._0x6d951,-0x199,-0x145)+'en',_0x53631f);const _0x912e09={};_0x912e09['id']=_0x1b3fae['id'],_0x912e09[_0x18ce3a(-_0x515877._0x252d51,-_0x515877._0x1b19da,-_0x515877._0x50eb17,-_0x515877._0x54a02e)]=_0x1b3fae['username'],_0x912e09['name']=_0x1b3fae[_0x4d4691(0x15a,0xe8,_0x515877._0x1b1ff1,_0x515877._0x42fadc)];const _0x1b86a4={};_0x1b86a4[_0x4d4691(_0x515877._0x2d351d,_0x515877._0x241435,0x16d,0x1af)]='Password\x20s'+_0x18ce3a(-_0x515877._0x5df081,-0x1d3,-0x1ae,-0x1f0)+_0x18ce3a(-_0x515877._0x31fc93,-_0x515877._0x3f7cca,-0x1bb,-0x15f),_0x1b86a4[_0x4d4691(0x146,_0x515877._0xb28b00,_0x515877._0x3a66ae,0x1e6)]=_0x912e09,_0x515374[_0x4d4691(_0x515877._0x2ff70d,_0x515877._0x3d2e0f,0x176,_0x515877._0x58dae3)](_0x1b86a4);}else{_0x5d7b38[_0x18ce3a(-_0x515877._0x470add,-_0x515877._0x3cecdb,-_0x515877._0x11066c,-0x198)](_0x57d79b['ZqPZE'],_0x365d62);const _0x43172a={};_0x43172a['error']=_0x4d4691(0x139,_0x515877._0x56e55e,_0x515877._0x1af140,0x176)+_0x4d4691(_0x515877._0x5a69dd,_0x515877._0x499f6c,0x1ac,_0x515877._0x4bb62f)+_0x18ce3a(-0x1d3,-_0x515877._0x1d4e11,-0x193,-_0x515877._0x3fb2b9),_0x43172a[_0x4d4691(0x17e,0x18a,_0x515877._0x5208cf,_0x515877._0x50eb17)]=![],_0x4739ea['status'](-0xd1c+-0x2005+-0x11*-0x2c5)[_0x18ce3a(-0x15a,-_0x515877._0x407c9e,-0x19f,-0x167)](_0x43172a);}}catch(_0x102f62){logger[_0x4d4691(0x126,_0x515877._0x10dab8,_0x515877._0x3b4491,0x152)](_0x57d79b[_0x4d4691(0x13a,0xf4,0xf4,_0x515877._0xfb93d7)],_0x102f62);const _0x46faed={};_0x46faed[_0x18ce3a(-0x1bc,-0x1c5,-_0x515877._0x404f4a,-0x1bb)]=_0x57d79b['Csltw'],_0x515374[_0x4d4691(0x123,0x10a,0x12e,0x157)](0x20f1+-0x2351+0x2*0x22a)['json'](_0x46faed);}}),router[_0x381c13(0x276,0x30c,0x2b5,0x269)](_0xd5db6b(-0x76,-0x9f,-0x85,-0x43)+_0xd5db6b(-0x81,-0x23,0x1a,-0x36),requireAuth,requireAdmin,async(_0x5f2a52,_0x36c043)=>{const _0x9f5e96={_0x4dd7ee:0x375,_0x479df7:0x31e,_0x194c2b:0x34f,_0x43d4a2:0x31a,_0x1bc82f:0x374,_0x3f20aa:0x36b,_0x3423a8:0x33a,_0x15b937:0x26,_0x19687d:0x60,_0x46497a:0xc9,_0x429cf8:0xf3,_0x389488:0x4a,_0x17e5db:0x3d,_0x4e866e:0x92,_0xf7c759:0x28,_0x44f912:0x390,_0x530a14:0x3e4,_0x35df35:0x36f,_0x3eecdb:0x110,_0x5b8bbb:0xb4,_0x2cbcb2:0xe4,_0x40fafe:0x307,_0x453d39:0x306,_0xb70f6:0x313,_0x1926f1:0x2aa,_0x2812eb:0x2e4,_0x349fc4:0x2da,_0x3af80c:0x8c,_0x21f4c6:0x43,_0x3c3e13:0xd,_0x3a5378:0x371,_0x2440b9:0x347,_0x52f613:0x2d0,_0x673333:0x37e,_0x3dcb15:0xa5,_0x5c98d6:0xc1,_0x6df336:0x4f,_0x1dd82d:0x96,_0x4cdf59:0x8a,_0x4aa036:0xbb,_0x41bc2c:0x108,_0x462b6e:0x9a,_0x455510:0x117,_0x44ee81:0x3a3,_0xaa5908:0x3a5,_0x1096f1:0x353,_0x49141c:0xbe,_0x1a8310:0xbd,_0x526586:0x3d,_0x10faf7:0x359,_0x1b5aaf:0x398,_0x36b9aa:0x34d,_0x2d9de2:0x30a,_0x2703e9:0x395,_0x1c9312:0x30f,_0x21aa62:0x354,_0x2c6550:0x338,_0x3a4ad:0x81,_0x26e7fa:0x71,_0xbdb4af:0x2e1,_0x5c845d:0x329,_0xfdbca0:0x33c},_0x96fc8c={_0x103de9:0x157,_0xb84aa5:0x238},_0xae188={_0x234677:0xe9};function _0x3b7501(_0x3590d6,_0x211781,_0x1d4da7,_0x56fe83){return _0x381c13(_0x3590d6-0x190,_0x211781-_0xae188._0x234677,_0x211781-0x94,_0x1d4da7);}function _0x21b193(_0x38a421,_0x11b9aa,_0x62b90d,_0x3f9b22){return _0x381c13(_0x38a421-_0x96fc8c._0x103de9,_0x11b9aa-0x96,_0x62b90d- -_0x96fc8c._0xb84aa5,_0x38a421);}const _0x1e3403={'yqkKD':_0x3b7501(_0x9f5e96._0x4dd7ee,_0x9f5e96._0x479df7,0x2d5,0x319)+_0x3b7501(_0x9f5e96._0x194c2b,0x300,0x34e,_0x9f5e96._0x43d4a2),'JSsMp':'Type\x20must\x20'+_0x3b7501(_0x9f5e96._0x1bc82f,_0x9f5e96._0x3f20aa,0x323,_0x9f5e96._0x3423a8)+'\x20or\x20\x22reset'+'\x22','oCCIv':'VvjTc','pPiVz':function(_0x21f1ab,_0x2a7d72){return _0x21f1ab(_0x2a7d72);},'kcKQS':_0x3b7501(0x330,0x36e,0x319,0x3c5),'qVKfR':_0x21b193(0x90,_0x9f5e96._0x15b937,0x3f,_0x9f5e96._0x19687d)+_0x21b193(0x78,0xeb,_0x9f5e96._0x46497a,_0x9f5e96._0x429cf8),'OqEzF':_0x21b193(0x69,0xa1,_0x9f5e96._0x389488,_0x9f5e96._0x17e5db)+_0x21b193(_0x9f5e96._0x4e866e,_0x9f5e96._0xf7c759,0x68,0x16)+_0x3b7501(0x3d5,_0x9f5e96._0x44f912,_0x9f5e96._0x530a14,_0x9f5e96._0x35df35)};try{if(_0x21b193(0x9c,_0x9f5e96._0x3eecdb,_0x9f5e96._0x5b8bbb,_0x9f5e96._0x2cbcb2)!==_0x1e3403[_0x3b7501(0x34c,0x308,0x2e3,_0x9f5e96._0x40fafe)]){const {userId:_0x4e04f3}=_0x5f2a52['params'],_0x591832=await _0x1e3403['pPiVz'](findUserById,_0x4e04f3);if(!_0x591832){if(_0x1e3403[_0x3b7501(0x338,_0x9f5e96._0x453d39,_0x9f5e96._0xb70f6,0x315)]===_0x1e3403[_0x3b7501(_0x9f5e96._0x1926f1,0x306,_0x9f5e96._0x2812eb,_0x9f5e96._0x349fc4)]){const _0x4aea16={};return _0x4aea16[_0x21b193(_0x9f5e96._0x3af80c,0x2a,_0x9f5e96._0x21f4c6,_0x9f5e96._0x3c3e13)]=_0x1e3403[_0x21b193(0x100,0x71,0xb7,0xa7)],_0x36c043['status'](-0x22*0xcf+0x1*-0x20c3+0xb*0x59f)[_0x3b7501(0x3b9,_0x9f5e96._0x3a5378,0x336,_0x9f5e96._0x2440b9)](_0x4aea16);}else{const _0x473bca={};return _0x473bca['error']=_0x1e3403['yqkKD'],_0x29c0bb[_0x3b7501(_0x9f5e96._0x52f613,0x329,_0x9f5e96._0x673333,0x370)](0xcb9+-0x1fb8+0x148f)[_0x21b193(0x79,0x69,_0x9f5e96._0x3dcb15,_0x9f5e96._0x5c98d6)](_0x473bca);}}const _0x12797e=await _0x1e3403[_0x21b193(_0x9f5e96._0x6df336,_0x9f5e96._0x1dd82d,_0x9f5e96._0x4cdf59,_0x9f5e96._0x4aa036)](getUserTokens,_0x4e04f3),_0x393bc0={};_0x393bc0[_0x21b193(_0x9f5e96._0x41bc2c,_0x9f5e96._0x462b6e,0xd0,_0x9f5e96._0x455510)]=_0x12797e,_0x36c043[_0x3b7501(_0x9f5e96._0x44ee81,0x371,0x342,_0x9f5e96._0xaa5908)](_0x393bc0);}else{const _0x2b64d3={};return _0x2b64d3[_0x3b7501(_0x9f5e96._0x1096f1,0x30f,0x33f,0x321)]=_0x1e3403[_0x21b193(0xac,0x85,_0x9f5e96._0x49141c,_0x9f5e96._0x1a8310)],_0x575eb0[_0x21b193(0x9a,_0x9f5e96._0x526586,0x5d,0x6f)](-0x9b5+-0xc2+-0x1*-0xc07)[_0x3b7501(0x39e,_0x9f5e96._0x3a5378,_0x9f5e96._0x10faf7,0x371)](_0x2b64d3);}}catch(_0x531665){logger['error'](_0x1e3403[_0x3b7501(_0x9f5e96._0x1b5aaf,_0x9f5e96._0x36b9aa,_0x9f5e96._0x2d9de2,_0x9f5e96._0x2703e9)],_0x531665);const _0x54c321={};_0x54c321[_0x3b7501(0x2f0,_0x9f5e96._0x1c9312,_0x9f5e96._0x21aa62,_0x9f5e96._0x2c6550)]=_0x1e3403[_0x21b193(0x79,0x9c,_0x9f5e96._0x3a4ad,_0x9f5e96._0x26e7fa)],_0x36c043[_0x3b7501(_0x9f5e96._0xbdb4af,_0x9f5e96._0x5c845d,_0x9f5e96._0xfdbca0,0x34a)](0x12ef+0x25*0x97+-0x1*0x26ce)['json'](_0x54c321);}}),router[_0x381c13(0x2a1,0x2c5,0x2f3,0x2dc)](_0xd5db6b(-0xac,-0x6a,-0xa3,-0x51)+_0xd5db6b(0x8,0x9,0x13,-0x37),requireAuth,requireAdmin,async(_0x26b326,_0x419012)=>{const _0x45e452={_0x2fda87:0x7,_0x2f3741:0x34,_0x5d2fd6:0x113,_0x44c03a:0x159,_0x2eb90d:0x66,_0x37c47f:0xb5,_0x596841:0xc1,_0x176238:0x175,_0x5df452:0x60,_0x4d3bfe:0xba,_0x47b746:0xa0,_0xc4234b:0xae,_0xf093a0:0x52,_0x2f236a:0x2d,_0x3fc11f:0x130,_0x387ef7:0x128,_0x551802:0x120,_0x14c50c:0xd4,_0x247fb3:0xfa,_0x303cdf:0xfc,_0xf1c47d:0x95,_0x466f22:0x15a,_0x2f69e0:0x6d,_0x274737:0x4c,_0x24f39a:0x1a1,_0xfd2273:0x173,_0x4ffcf2:0x148,_0x5084a6:0xce,_0x18ba12:0x2f,_0x198275:0x73,_0x3d120d:0x111,_0x3ff3ab:0xf6,_0x4f8e94:0xef,_0x388983:0xea,_0x225949:0xe0,_0x13fc38:0x40,_0xed01cc:0x88,_0xbc9e1b:0x8,_0x17bea8:0x33,_0x4d8a8c:0x166,_0x5d048d:0x126,_0x4f1ce4:0x143,_0x429824:0x162,_0x54756c:0x40,_0x2f6d9c:0xf,_0x3e9c65:0x3d,_0x1c5f54:0x13d,_0x2dad89:0x134,_0x46f9be:0x14a,_0x532ab0:0x145,_0x589e4e:0x180,_0xe9ac47:0x151,_0x5ce87d:0x45,_0x215145:0x25,_0x334cd0:0x1e,_0x337022:0x1af,_0x140f98:0x11b,_0x3e1822:0x95,_0x262600:0x7c,_0x30a416:0xc2,_0x1cdf42:0xb8},_0x4af7b={_0x1d9848:0xe8},_0x105f05={_0x6b0c39:0xab,_0x18fea3:0x181};function _0x5b9cd1(_0x5b1a22,_0x1c8132,_0x27251a,_0x359fef){return _0xd5db6b(_0x5b1a22-_0x105f05._0x6b0c39,_0x1c8132,_0x27251a-_0x105f05._0x18fea3,_0x5b1a22-0x8d);}function _0x4354b3(_0x44f4aa,_0x4d0093,_0xac2a9e,_0xf9a2be){return _0xd5db6b(_0x44f4aa-0x1a7,_0xf9a2be,_0xac2a9e-0xf3,_0xac2a9e- -_0x4af7b._0x1d9848);}const _0x559a95={'IncyG':function(_0x115fe1,_0x2aa51b){return _0x115fe1(_0x2aa51b);},'VUZjz':_0x5b9cd1(_0x45e452._0x2fda87,-_0x45e452._0x2f3741,0x2d,0x5e)+_0x4354b3(-0x166,-_0x45e452._0x5d2fd6,-_0x45e452._0x44c03a,-0x127)+'en'};try{const {tokenId:_0x5823d0}=_0x26b326[_0x5b9cd1(_0x45e452._0x2eb90d,0xc3,0x28,_0x45e452._0x37c47f)],_0x30273c=await _0x559a95[_0x5b9cd1(0x7c,0xd2,_0x45e452._0x596841,0x70)](revokeToken,_0x5823d0);if(!_0x30273c){const _0x47d408={};return _0x47d408[_0x4354b3(-0x161,-0x172,-_0x45e452._0x176238,-0x19a)]=_0x5b9cd1(_0x45e452._0x5df452,_0x45e452._0x4d3bfe,_0x45e452._0x47b746,_0x45e452._0xc4234b)+_0x5b9cd1(-0x1a,-_0x45e452._0xf093a0,-0x76,_0x45e452._0x2f236a),_0x419012[_0x4354b3(-_0x45e452._0x3fc11f,-0x1aa,-0x15b,-_0x45e452._0x387ef7)](-0x430+-0x9e*0x1+0x662)[_0x4354b3(-_0x45e452._0x551802,-_0x45e452._0x14c50c,-0x113,-_0x45e452._0x247fb3)](_0x47d408);}const _0x1283f2={};_0x1283f2[_0x4354b3(-_0x45e452._0x303cdf,-_0x45e452._0xf1c47d,-0xda,-0xc4)]=_0x26b326[_0x4354b3(-0x100,-_0x45e452._0x466f22,-0xfc,-0xed)]['id'],_0x1283f2[_0x5b9cd1(_0x45e452._0x2f69e0,0x49,_0x45e452._0x274737,0x9e)+_0x4354b3(-_0x45e452._0x24f39a,-_0x45e452._0xfd2273,-_0x45e452._0x4ffcf2,-0x161)]=_0x26b326[_0x5b9cd1(0x79,_0x45e452._0x5084a6,_0x45e452._0x18ba12,_0x45e452._0x198275)][_0x4354b3(-0xb7,-_0x45e452._0x3d120d,-_0x45e452._0x3ff3ab,-_0x45e452._0x4f8e94)],_0x1283f2[_0x4354b3(-_0x45e452._0x388983,-0x163,-0x111,-_0x45e452._0x225949)]=_0x5823d0,logger['info'](_0x5b9cd1(_0x45e452._0x13fc38,_0x45e452._0xed01cc,_0x45e452._0xbc9e1b,_0x45e452._0x17bea8)+_0x4354b3(-_0x45e452._0x4d8a8c,-_0x45e452._0x5d048d,-_0x45e452._0x4f1ce4,-_0x45e452._0x429824),_0x1283f2);const _0xdc2a69={};_0xdc2a69['message']=_0x5b9cd1(_0x45e452._0x54756c,0x6a,-_0x45e452._0x2f6d9c,_0x45e452._0x3e9c65)+_0x4354b3(-0xe1,-0x140,-_0x45e452._0x1c5f54,-_0x45e452._0x2dad89)+_0x4354b3(-_0x45e452._0x46f9be,-_0x45e452._0x532ab0,-_0x45e452._0x589e4e,-_0x45e452._0xe9ac47),_0x419012[_0x5b9cd1(0x62,_0x45e452._0x5ce87d,_0x45e452._0x215145,_0x45e452._0x334cd0)](_0xdc2a69);}catch(_0x435f93){logger['error'](_0x559a95['VUZjz'],_0x435f93);const _0x23e806={};_0x23e806[_0x4354b3(-0x159,-_0x45e452._0x337022,-0x175,-_0x45e452._0x140f98)]=_0x559a95[_0x5b9cd1(_0x45e452._0x3e1822,_0x45e452._0x262600,_0x45e452._0x30a416,_0x45e452._0x1cdf42)],_0x419012['status'](-0x109d*0x1+0x13f7+-0x166)['json'](_0x23e806);}});export default router;
|