@profoundlogic/coderflow-server 0.9.1 → 0.9.2

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.
Files changed (186) hide show
  1. package/dist/coder-server.js +1 -1
  2. package/dist/config/skill-catalog.json +1 -1
  3. package/dist/config.js +1 -1
  4. package/dist/lib/agent-keepalive.js +1 -1
  5. package/dist/lib/agent-models.js +1 -1
  6. package/dist/lib/api-keys.js +1 -1
  7. package/dist/lib/apiKeys.js +1 -1
  8. package/dist/lib/app-server-ports.js +1 -1
  9. package/dist/lib/auto-judge.js +1 -1
  10. package/dist/lib/automation-service.js +1 -1
  11. package/dist/lib/basic-auth.js +1 -1
  12. package/dist/lib/bindings.js +1 -1
  13. package/dist/lib/build-history.js +1 -1
  14. package/dist/lib/build-output-service.js +1 -1
  15. package/dist/lib/build-scheduler.js +1 -1
  16. package/dist/lib/build-service.js +1 -1
  17. package/dist/lib/ca-certificates.js +1 -1
  18. package/dist/lib/claude-oauth-refresh.js +1 -1
  19. package/dist/lib/cli/build.js +1 -1
  20. package/dist/lib/cli/cleanup-users.js +1 -1
  21. package/dist/lib/cli/config-command.js +1 -1
  22. package/dist/lib/cli/config.js +1 -1
  23. package/dist/lib/cli/create-user.js +1 -1
  24. package/dist/lib/cli/grant-admin.js +1 -1
  25. package/dist/lib/cli/init.js +1 -1
  26. package/dist/lib/cli/jira.js +1 -1
  27. package/dist/lib/cli/license.js +1 -1
  28. package/dist/lib/cli/list-roles.js +1 -1
  29. package/dist/lib/cli/list-users.js +1 -1
  30. package/dist/lib/cli/server-manager.js +1 -1
  31. package/dist/lib/cli/set-password.js +1 -1
  32. package/dist/lib/compression-filter.js +1 -1
  33. package/dist/lib/config-migration.js +1 -1
  34. package/dist/lib/container-credential-sync.js +1 -1
  35. package/dist/lib/container-tokens.js +1 -1
  36. package/dist/lib/data-dir.js +1 -1
  37. package/dist/lib/deployment-history.js +1 -1
  38. package/dist/lib/deployment-service.js +1 -1
  39. package/dist/lib/docker-utils.js +1 -1
  40. package/dist/lib/email.js +1 -1
  41. package/dist/lib/emailTemplates.js +1 -1
  42. package/dist/lib/entitlement.js +1 -1
  43. package/dist/lib/external-connections.js +1 -1
  44. package/dist/lib/fetch-utils.js +1 -1
  45. package/dist/lib/git-commit-details-route.js +1 -1
  46. package/dist/lib/git-history-diff-guardrails.js +1 -1
  47. package/dist/lib/git-provider-service.js +1 -1
  48. package/dist/lib/git-provider-setup/github-setup-handler.js +1 -1
  49. package/dist/lib/git-provider-setup/index.js +1 -1
  50. package/dist/lib/git-provider-setup/setup-factory.js +1 -1
  51. package/dist/lib/git-provider-setup/setup-interface.js +1 -1
  52. package/dist/lib/git-providers/azure-devops-provider.js +1 -1
  53. package/dist/lib/git-providers/github-app-provider.js +1 -1
  54. package/dist/lib/git-providers/index.js +1 -1
  55. package/dist/lib/git-providers/provider-factory.js +1 -1
  56. package/dist/lib/git-providers/provider-interface.js +1 -1
  57. package/dist/lib/github-urls.js +1 -1
  58. package/dist/lib/group-objective-linking.js +1 -1
  59. package/dist/lib/ibmi-sync.js +1 -1
  60. package/dist/lib/jira-client.js +1 -1
  61. package/dist/lib/judge-blinding.js +1 -1
  62. package/dist/lib/logger.js +1 -1
  63. package/dist/lib/memory-utils.js +1 -1
  64. package/dist/lib/migration-to-scoped-rbac.js +1 -1
  65. package/dist/lib/model-fetcher.js +1 -1
  66. package/dist/lib/notifications.js +1 -1
  67. package/dist/lib/objective-context.js +1 -1
  68. package/dist/lib/oidc-auth.js +1 -1
  69. package/dist/lib/oidc-device-flow.js +1 -1
  70. package/dist/lib/passwordTokens.js +1 -1
  71. package/dist/lib/permission-resolver.js +1 -1
  72. package/dist/lib/pin-cascade.js +1 -1
  73. package/dist/lib/provider-accounts.js +1 -1
  74. package/dist/lib/provider-oauth.js +1 -1
  75. package/dist/lib/provider-profile.js +1 -1
  76. package/dist/lib/provider-token-refresh.js +1 -1
  77. package/dist/lib/rbac-user-state.js +1 -1
  78. package/dist/lib/request-url.js +1 -1
  79. package/dist/lib/rewind.js +1 -1
  80. package/dist/lib/role-definitions.js +1 -1
  81. package/dist/lib/roles.js +1 -1
  82. package/dist/lib/secrets.js +1 -1
  83. package/dist/lib/setup-repo-git-auth.js +1 -1
  84. package/dist/lib/slack-service.js +1 -1
  85. package/dist/lib/state-capture.js +1 -1
  86. package/dist/lib/static-files.js +1 -1
  87. package/dist/lib/task-aliases.js +1 -1
  88. package/dist/lib/task-container-init.js +1 -1
  89. package/dist/lib/task-context-usage.js +1 -1
  90. package/dist/lib/task-git-auth-errors.js +1 -1
  91. package/dist/lib/task-name-format.js +1 -1
  92. package/dist/lib/task-name-generator.js +1 -1
  93. package/dist/lib/task-source-metadata.js +1 -1
  94. package/dist/lib/teams.js +1 -1
  95. package/dist/lib/user-git-oauth.js +1 -1
  96. package/dist/lib/user-git-tokens.js +1 -1
  97. package/dist/lib/users.js +1 -1
  98. package/dist/middleware/requireAuth.js +1 -1
  99. package/dist/middleware/requireInit.js +1 -1
  100. package/dist/middleware/requirePermission.js +1 -1
  101. package/dist/package.json +1 -1
  102. package/dist/playwright.config.js +1 -1
  103. package/dist/playwright.task-terminal.config.js +1 -1
  104. package/dist/routes/apiKeys.js +1 -1
  105. package/dist/routes/auth-oidc.js +1 -1
  106. package/dist/routes/auth.js +1 -1
  107. package/dist/routes/automations.js +1 -1
  108. package/dist/routes/bindings.js +1 -1
  109. package/dist/routes/build.js +1 -1
  110. package/dist/routes/containers.js +1 -1
  111. package/dist/routes/deploy-task.js +1 -1
  112. package/dist/routes/environment-management.js +1 -1
  113. package/dist/routes/environments.js +1 -1
  114. package/dist/routes/external-skills.js +1 -1
  115. package/dist/routes/git-credentials.js +1 -1
  116. package/dist/routes/git-oauth.js +1 -1
  117. package/dist/routes/git-provider-setup.js +1 -1
  118. package/dist/routes/health.js +1 -1
  119. package/dist/routes/jira.js +1 -1
  120. package/dist/routes/logs.js +1 -1
  121. package/dist/routes/objective-management.js +1 -1
  122. package/dist/routes/password.js +1 -1
  123. package/dist/routes/prompt.js +1 -1
  124. package/dist/routes/provider-auth.js +1 -1
  125. package/dist/routes/qa.js +1 -1
  126. package/dist/routes/roles.js +1 -1
  127. package/dist/routes/settings.js +1 -1
  128. package/dist/routes/skill-management.js +1 -1
  129. package/dist/routes/skills.js +1 -1
  130. package/dist/routes/slack.js +1 -1
  131. package/dist/routes/stats.js +1 -1
  132. package/dist/routes/tasks.js +1 -1
  133. package/dist/routes/teams.js +1 -1
  134. package/dist/routes/templates.js +1 -1
  135. package/dist/routes/test-task.js +1 -1
  136. package/dist/routes/test.js +1 -1
  137. package/dist/routes/users.js +1 -1
  138. package/dist/routes/visualizations.js +1 -1
  139. package/dist/scripts/create-user.js +1 -1
  140. package/dist/scripts/migrate-config-to-data-dir.js +1 -1
  141. package/dist/start.js +1 -1
  142. package/dist/web-ui/public/activity-detail-modal.js +1 -1
  143. package/dist/web-ui/public/activity-feed.js +1 -1
  144. package/dist/web-ui/public/activity-formatters.js +1 -1
  145. package/dist/web-ui/public/admin.js +1 -1
  146. package/dist/web-ui/public/agent-event-parser.js +1 -1
  147. package/dist/web-ui/public/app.js +1 -1
  148. package/dist/web-ui/public/approve-dialog.js +1 -1
  149. package/dist/web-ui/public/automation-links.js +1 -1
  150. package/dist/web-ui/public/automation-schedule.js +1 -1
  151. package/dist/web-ui/public/comments-widget.js +1 -1
  152. package/dist/web-ui/public/diff-utils.js +1 -1
  153. package/dist/web-ui/public/docs/admin/automations.md +2 -1
  154. package/dist/web-ui/public/docs/docsify-proxy-helper.js +1 -1
  155. package/dist/web-ui/public/environments.css +5 -0
  156. package/dist/web-ui/public/environments.html +4 -3
  157. package/dist/web-ui/public/environments.js +1 -1
  158. package/dist/web-ui/public/feedback-widget.js +1 -1
  159. package/dist/web-ui/public/file-selection-tree.js +1 -1
  160. package/dist/web-ui/public/git-history-lazy-utils.js +1 -1
  161. package/dist/web-ui/public/git-history.js +1 -1
  162. package/dist/web-ui/public/git-status.js +1 -1
  163. package/dist/web-ui/public/ibmi-file-filter.js +1 -1
  164. package/dist/web-ui/public/index.js +1 -1
  165. package/dist/web-ui/public/login.js +1 -1
  166. package/dist/web-ui/public/markdown-editor.js +1 -1
  167. package/dist/web-ui/public/markdown-file-editor.js +1 -1
  168. package/dist/web-ui/public/modal-maximize.js +1 -1
  169. package/dist/web-ui/public/notifications.js +1 -1
  170. package/dist/web-ui/public/permissions.js +1 -1
  171. package/dist/web-ui/public/pr-dialog.js +1 -1
  172. package/dist/web-ui/public/roles.js +1 -1
  173. package/dist/web-ui/public/settings.js +1 -1
  174. package/dist/web-ui/public/setup-password.js +1 -1
  175. package/dist/web-ui/public/skills.js +1 -1
  176. package/dist/web-ui/public/sse-client.js +1 -1
  177. package/dist/web-ui/public/sse-client.transport-warning.js +1 -1
  178. package/dist/web-ui/public/sse-shared-worker.js +1 -1
  179. package/dist/web-ui/public/task-judging-helpers.js +1 -1
  180. package/dist/web-ui/public/task.js +1 -1
  181. package/dist/web-ui/public/teams.js +1 -1
  182. package/dist/web-ui/public/terminal.js +1 -1
  183. package/dist/web-ui/public/theme.js +1 -1
  184. package/dist/web-ui/public/users.js +1 -1
  185. package/dist/web-ui/public/variant-grouping.js +1 -1
  186. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x4b61eb,_0x3fc68){const _0x2a4af0={_0x218097:0x23e,_0x33096f:0x229,_0x2faa95:0x227,_0x138ea2:0x242,_0x2befd0:0x261,_0x5ebafb:0x1e5,_0xcce7f3:0x215,_0x4df051:0x1cb,_0x219685:0x10b,_0x4e374d:0xcf,_0x75b198:0x118,_0x3270da:0xce,_0x4d40d8:0xfd,_0x4fc9ac:0x1dd,_0x4263ae:0x233,_0x17e451:0x1bf,_0x38a244:0x1ec,_0x53f59e:0x21f,_0x476aa8:0x1a6},_0x23547f={_0x2f8d37:0xdb},_0x1d1c21=_0x4b61eb();function _0x3ba38a(_0x438338,_0x3fba21,_0x584032,_0x1d20bf){return _0x1376(_0x584032-_0x23547f._0x2f8d37,_0x3fba21);}function _0x1eb840(_0x34b84b,_0x1976c5,_0x15a4a3,_0x4034ff){return _0x1376(_0x4034ff- -0x3,_0x1976c5);}while(!![]){try{const _0x6ef8c8=parseInt(_0x3ba38a(_0x2a4af0._0x218097,0x24c,0x22b,0x1f8))/(-0x41c*-0x1+-0x5c3+0x1a8)+-parseInt(_0x3ba38a(0x1f9,_0x2a4af0._0x33096f,_0x2a4af0._0x2faa95,_0x2a4af0._0x138ea2))/(-0x2419*-0x1+0x4ee*0x7+-0x1f*0x247)*(parseInt(_0x3ba38a(0x1ea,0x1a8,0x1e2,0x205))/(-0xdf*-0x23+0x1*0x46+-0x1ec0))+parseInt(_0x3ba38a(_0x2a4af0._0x2befd0,0x256,0x225,0x1f7))/(-0x2668+-0x3e3*0xa+-0x2f9*-0x1a)+-parseInt(_0x3ba38a(_0x2a4af0._0x5ebafb,_0x2a4af0._0xcce7f3,_0x2a4af0._0x4df051,0x205))/(-0x22ed+0x11c*-0xd+-0x1*-0x315e)*(-parseInt(_0x1eb840(0xbc,_0x2a4af0._0x219685,_0x2a4af0._0x4e374d,0xfc))/(-0x131f+-0x1921*0x1+0x2c46))+-parseInt(_0x1eb840(0xa8,_0x2a4af0._0x75b198,_0x2a4af0._0x3270da,_0x2a4af0._0x4d40d8))/(-0x51f+-0xe92+0x9dc*0x2)*(-parseInt(_0x3ba38a(_0x2a4af0._0x4fc9ac,_0x2a4af0._0x4263ae,0x1f1,_0x2a4af0._0x17e451))/(-0x1*0x5+0x1*0x1936+-0x1929))+-parseInt(_0x3ba38a(0x1d2,0x22a,0x215,_0x2a4af0._0x38a244))/(-0x99d+-0x1acf+-0x40d*-0x9)+-parseInt(_0x3ba38a(0x1fb,_0x2a4af0._0x53f59e,0x1f9,_0x2a4af0._0x476aa8))/(0x4*-0x937+-0x268c+-0x1d*-0x29a)*(-parseInt(_0x3ba38a(0x23c,0x1e5,0x203,0x22a))/(-0x1*-0x1f45+-0x9*0x83+0x2f*-0x91));if(_0x6ef8c8===_0x3fc68)break;else _0x1d1c21['push'](_0x1d1c21['shift']());}catch(_0x2a5943){_0x1d1c21['push'](_0x1d1c21['shift']());}}}(_0x8616,0x376*0x2cf+0xf9cf7+-0xc66b2));import _0x35fbfb from'express';import{logger}from'../lib/logger.js';function _0x1376(_0x382dff,_0x397947){_0x382dff=_0x382dff-(-0x56+0x1c8c+0x1*-0x1b7f);const _0x43a626=_0x8616();let _0x1fcb1e=_0x43a626[_0x382dff];if(_0x1376['vEKoSM']===undefined){var _0x5e9471=function(_0x2bfbf0){const _0x51ebde='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3ee037='',_0x21e9c4='';for(let _0x1443dc=-0xb7*-0x35+0x509*0x7+-0x4922,_0x5a50bf,_0x45648a,_0x161772=-0x17fd+-0x15e1+0x67*0x72;_0x45648a=_0x2bfbf0['charAt'](_0x161772++);~_0x45648a&&(_0x5a50bf=_0x1443dc%(0x1*-0xaab+-0x1fe6+-0xb*-0x3df)?_0x5a50bf*(-0x29*-0xb+-0x1dfc+0x1c79)+_0x45648a:_0x45648a,_0x1443dc++%(-0x3d*-0x35+-0x14e1*-0x1+0x2*-0x10bf))?_0x3ee037+=String['fromCharCode'](-0x1a14*-0x1+0x70*0x50+0x9*-0x6ad&_0x5a50bf>>(-(-0x1409+-0x1661+0xe24*0x3)*_0x1443dc&0x13d0+-0x1*0x1bdf+0x815)):0x12f4+-0x1d*0x21+-0x5f*0x29){_0x45648a=_0x51ebde['indexOf'](_0x45648a);}for(let _0x21ab7d=-0x16e9+-0xa74+-0xdb*-0x27,_0x2857b6=_0x3ee037['length'];_0x21ab7d<_0x2857b6;_0x21ab7d++){_0x21e9c4+='%'+('00'+_0x3ee037['charCodeAt'](_0x21ab7d)['toString'](0x1*0x7cb+0x2af+0x2b*-0x3e))['slice'](-(-0x1e04+0x1b*-0x15+0x1*0x203d));}return decodeURIComponent(_0x21e9c4);};_0x1376['IiiOXj']=_0x5e9471,_0x1376['uFZzXX']={},_0x1376['vEKoSM']=!![];}const _0x1e54bd=_0x43a626[0x185a+-0x140e+-0x44c],_0x319bf7=_0x382dff+_0x1e54bd,_0x5eea8e=_0x1376['uFZzXX'][_0x319bf7];return!_0x5eea8e?(_0x1fcb1e=_0x1376['IiiOXj'](_0x1fcb1e),_0x1376['uFZzXX'][_0x319bf7]=_0x1fcb1e):_0x1fcb1e=_0x5eea8e,_0x1fcb1e;}function _0x8616(){const _0x46cd14=['Exr6tLO','C2v0DxbvCMW','C2vUzcbWyxnZDW','ANnVBG','BgvUz3rO','t0HIy2S','ndq0mJq3ohPsCfjzCW','CvPwr0i','zw1IDMC','vuPfDfy','BMfTzq','zxr1Ca','z2v0ihvZzxiGDa','zgf0yq','ugfZC3DVCMqGDa','r3nXAhG','zxHWAxjLC0LU','vfj4thi','C2vUzevTywLS','z2v0','Eu5ksfa','mZKXmti1nMLLAgjeAa','B2TLBKLK','vxnLCIbjrcbPCW','l3rVA2vUCY86Da','Dg9Rzw4','ihnLDcb1Ccbttq','y29UzMLNDxjHDa','C3DVCMqGDg9Rzq','mZG1mdy3me1Jr3r4yG','wu5bEuS','zxHWAxjLC19HDa','C2v0Dxa','ig9YicjYzxnLDa','AwWGC2vUDcb0BW','wu5stxa','DentDKy','A2vKihn1y2nLCW','BuDqqM4','mtfMugvjt0O','s2z6vuG','C3vIAMvJDa','r2rWwK8','CgfZC3DVCMqGyq','z0PYweq','B2TLBIbJCMvHDa','rMfPBgvKihrVia','Dxn0igjLigf0ia','wxvHt2G','ugfZC3DVCMqGCW','uLfYr0y','yxjHy3rLCNm','vxnLCIbUB3qGzG','CgfZC3DVCMqTCG','DxnLCK5HBwu','Dg9Rzw5jza','yM9KEq','otuWmZm3ovjyvxLjCq','C2v0ihbHC3n3BW','yMXLCYb0BYbZzq','vunVs1e','sNLNz1u','A2vU','Avbqsvq','AMjRreS','C2vUzcbLBwfPBa','zxjYB3i','ihnLBNq','vhLWzsbTDxn0ia','ihjLCxvPCMvK','r1rOvhO','l2nYzwf0zs10BW','AhzzqNq','nde0ntCXnNvtyLHnuW','DhvZ','mKP6D2rLAG','CgfYyw1Z','zxqGC3vJy2vZCW','wuXAwhe','odiWotu5wvzrD0Pd','BgvHC3qGocbJAa','DhLWzq','Dg9Rzw5uExbL','ANLxs1i','vfDlA0u','z2v0igvTywLSia','C2z1BgX5','BwvZC2fNzq','Aw9Uihn0yxr1CW','AxruAui','yK9KveC','p3rVA2vUpq','ruPPCfK','ywrTAw5jza','uNfRswi','rufTsLO','tu9QsLG','zwqGyw5KigvTyq','l3nLDhvWlxbHCW','C3DVCMqUAhrTBa','vg9Rzw4GAxmGCG','zNvSBhK','l3nLDhvW','zxf1AxjLza','CMvZzxq','ze9jB2m','CgfZC3DVCMqTCW','CMv2B2TLihrVAW','sw52ywXPzcbVCG','v3nmuw8','D3Djsve','DxnLCKLK','zM91BMq','qLrcA08','B3vUza','CxvLCNK','q1D0zu4','wgH2y00','tg1gELa','CMuGCMvXDwLYzq','t3flreC','B2TLBG','zwqGC3vJy2vZCW','zxr1CcbLBwfPBa','DxnLCM5HBwu','C3rHDhvZ','v1Drz0C','uw5jshq','BMqGzw1HAwXZlG','zw1HAwXfCNjVCG','C2vYswq','y3jLyxrLihbHCW','Aw5MBW','B3jKigvTywLS','CNvhzha','zw1HAwW','yMuGiNnLDhvWiG','zxqGDMLHihrVAW','B05rz3a','uM91DgvY','z3r2qwm','wufmsMG','Bxn2rfK','Cg9ZDa','s0nTDei','vfaGzw52AxjVBG','Aw5JBhvKzxm','zw1HAwXtzw50','l2vTywLSlwnVBG','DcbJB25MAwD1CG','vg9Rzw4GCMv2BW','A2TnBhi','nufZB0zuBW','DMfSAwq','yw1L','B2TLBNm','DxnLCG','AvjMzfa','sM9eA0S','y29UzMLNihn0yq','u01uucbPCYbUBW','thH1AfG','rhrus2i','wwj0vgm','vg9Rzw4GBM90ia','Dg9Rzw5Z','A2vK','otG0mtm4wu1eCuHk','mtrvv1Lkyuu'];_0x8616=function(){return _0x46cd14;};return _0x8616();}function _0x52dad0(_0x144b70,_0x3baddd,_0x1a024c,_0x3a79db){const _0x37e216={_0x53df97:0x2b6};return _0x1376(_0x1a024c-_0x37e216._0x53df97,_0x144b70);}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 _0x21a256(_0x20a233,_0x4240ac,_0x4f17cc,_0x35a407){return _0x1376(_0x35a407-0x2e,_0x4240ac);}import{isEmailConfigured,sendTemplatedEmail,getEmailConfigStatus}from'../lib/email.js';import{renderTemplate}from'../lib/emailTemplates.js';const router=_0x35fbfb[_0x21a256(0x129,0x14d,0x124,0x111)]();router[_0x52dad0(0x383,0x3b0,0x3ca,0x3b8)](_0x21a256(0xeb,0xd3,0x131,0x11a)+'fig',requireAuth,requireAdmin,async(_0x579507,_0x1b5fa5)=>{const _0xe66997={_0x1a2a2f:0x3a7,_0x374327:0x3a1,_0x1724c8:0x36e,_0x3f549b:0x2a,_0x24ee4c:0x32,_0x19bf46:0xbf,_0x589aba:0x4b,_0x54fb6d:0x86,_0x527c24:0x2c2,_0x22a4f5:0x2f6,_0x36add7:0x337,_0x32dab4:0x18,_0x5ae05c:0x6e,_0x327f02:0x79,_0x3297a3:0x336,_0x198f06:0x34f,_0x251ae8:0x57,_0xe0a76:0xbd,_0x21f362:0x88,_0x4bca70:0x325,_0xee0413:0x8f,_0x35115f:0x28,_0x1b2fa0:0x89,_0x4163a8:0x35,_0x34e4cc:0x3f},_0x10450d={_0x9d5324:0x16e,_0x17848e:0xf3},_0x15cfef={_0x34ee63:0x42,_0x23147d:0x9e,_0x4f45d4:0x142},_0x54f1aa={};function _0x3928ae(_0x1d4744,_0x3a129b,_0x5e4fec,_0x174f73){return _0x52dad0(_0x3a129b,_0x3a129b-_0x15cfef._0x34ee63,_0x5e4fec- -_0x15cfef._0x23147d,_0x174f73-_0x15cfef._0x4f45d4);}function _0x55b4a2(_0x51b67f,_0x1798db,_0xcda589,_0x3cf658){return _0x21a256(_0x51b67f-0x1d9,_0xcda589,_0xcda589-_0x10450d._0x9d5324,_0x3cf658- -_0x10450d._0x17848e);}_0x54f1aa['PpJaU']='Failed\x20to\x20'+_0x3928ae(_0xe66997._0x1a2a2f,_0xe66997._0x374327,_0xe66997._0x1724c8,0x392)+_0x55b4a2(0x45,0x16,_0xe66997._0x3f549b,_0xe66997._0x24ee4c)+_0x55b4a2(_0xe66997._0x19bf46,_0xe66997._0x589aba,0x94,_0xe66997._0x54fb6d),_0x54f1aa[_0x3928ae(0x2d6,_0xe66997._0x527c24,_0xe66997._0x22a4f5,_0xe66997._0x36add7)]=_0x55b4a2(_0xe66997._0x32dab4,_0xe66997._0x5ae05c,_0xe66997._0x327f02,0x6a)+_0x3928ae(_0xe66997._0x3297a3,_0xe66997._0x198f06,0x36e,_0xe66997._0x198f06)+_0x55b4a2(0x12,0x4c,0x87,_0xe66997._0x251ae8)+_0x55b4a2(_0xe66997._0xe0a76,0x61,_0xe66997._0x21f362,0x94);const _0x3648e3=_0x54f1aa;try{const _0x22d75c=getEmailConfigStatus();_0x1b5fa5[_0x3928ae(_0xe66997._0x4bca70,0x347,0x31c,0x34b)](_0x22d75c);}catch(_0x3a0747){logger[_0x55b4a2(_0xe66997._0xee0413,0x67,0xcb,0x7e)](_0x3648e3['PpJaU'],_0x3a0747);const _0x2b9b7d={};_0x2b9b7d['error']=_0x3648e3['ruGdp'],_0x1b5fa5['status'](0x7*0x20b+0x2426+-0x307f)[_0x55b4a2(_0xe66997._0x35115f,_0xe66997._0x1b2fa0,_0xe66997._0x4163a8,_0xe66997._0x34e4cc)](_0x2b9b7d);}}),router[_0x21a256(0xd9,0x10f,0xc3,0x115)](_0x21a256(0x15e,0x15c,0x13b,0x176)+_0x52dad0(0x3cf,0x3c3,0x3f5,0x3b3),requireAuth,requireAdmin,async(_0x4511bc,_0x4f2daa)=>{const _0x1049f0={_0x5d23d6:0x4b6,_0x5ee52d:0x501,_0x16e1fd:0x4e9,_0x3dbfa7:0x11b,_0x2f390a:0x468,_0x16bf0e:0x477,_0x2dc3d6:0x4b8,_0x196c78:0x4c6,_0x3d18ae:0x4be,_0x5c245c:0x4c4,_0x236791:0x4bb,_0x5343c8:0x139,_0x5d4996:0xf9,_0x115113:0xac,_0x6a02ff:0xf7,_0xfa03fc:0x98,_0x4c8b2c:0x12d,_0x518413:0xd0,_0x516182:0xb5,_0x4edce0:0x103,_0x5f084d:0x12e,_0x167246:0x506,_0x2b69f1:0x4b5,_0x857c16:0x4b9,_0x575fd4:0x4ae,_0x760639:0x453,_0x2ef58a:0x4a1,_0x461e22:0x4e6,_0x20add7:0x47f,_0x8a33f3:0xbc,_0x4fb859:0x99,_0x4976d9:0x9a,_0x2614e4:0x436,_0x197618:0x449,_0x253d28:0x408,_0x2bbab8:0x42f,_0x3979d9:0x498,_0x5066d4:0x4b7,_0x422576:0xed,_0x26cf94:0xd2,_0x34795e:0xb2,_0x88befa:0x45b,_0x1b3603:0x150,_0xb6f25d:0xff,_0x206c91:0x129,_0x54d440:0xda,_0x563c19:0xf8,_0x4e97db:0x78,_0x29214f:0x44b,_0x3ddf9d:0x476,_0x2a5051:0x497,_0xbfede:0x495,_0x4c3fe7:0x463,_0x115a70:0x5c,_0x2d2aa3:0x45c,_0x3564f5:0x48d,_0x2f17e7:0x4b5,_0x150db5:0x4c3,_0x1b1cf9:0x8f,_0x46fffd:0xa0,_0x3ef5ba:0xb1,_0x12a5ea:0x136,_0x101dcd:0xbd,_0x4658c4:0x4b0,_0x394980:0x4a6,_0x13624b:0x489,_0x209e41:0xd7,_0x173918:0xc4,_0x3c67e1:0x15c,_0x342870:0xe6,_0x2f69a4:0x422,_0x504b2c:0x445,_0x56fff6:0xcf,_0xe55462:0x9a,_0x41227f:0x8c,_0x10c06c:0x5c,_0x457cd7:0x9d,_0x231866:0x4d9,_0x4be7e6:0x10b,_0x4c8b48:0xe0,_0x217a79:0xcb,_0x5d52ae:0x42a,_0x2a81a9:0x4e8,_0x7466af:0x4c7,_0x10270a:0x473,_0x123879:0x440,_0x331698:0x416,_0x34061b:0xd4,_0xa75396:0x14d,_0x29284c:0x109,_0x561cfe:0xfa,_0x14c2a6:0x4cc,_0x1dc65c:0x51c,_0x5301fc:0xea,_0x185366:0xeb,_0x1413d8:0x45e,_0x34eea6:0x4d7,_0x30a3ca:0x515,_0x2b5de:0x4ac,_0x5ca086:0x488,_0x30b885:0x46e,_0x5518cb:0x4f5,_0x2d6283:0x4c6,_0x25f5ce:0x472,_0x4f1348:0x90,_0x73c788:0x82,_0x200dde:0xc6,_0x5d1701:0xf2,_0x1a7aa3:0x10b,_0x393a2f:0xdc,_0x3a8de1:0x153,_0x3a058d:0x4e7,_0x36869b:0x526,_0x274a93:0x52a,_0xb40b7a:0x49c,_0x2b1f14:0x48f,_0x218b0b:0x4cc,_0x4fce53:0x47d,_0x420b82:0x494,_0x5d8e9a:0x11d,_0x98ae73:0xd5,_0x26442e:0x10c,_0x390750:0x4dc,_0x29fc46:0x512,_0x4366c4:0xdd,_0x2e84d6:0x465,_0xe81121:0x487,_0x406b57:0x443,_0x4dbe78:0x178,_0x445092:0x125,_0x5df0f1:0x41,_0x37e3bc:0x84,_0xf8c37b:0xab,_0xed5f3a:0xd4,_0xb721bc:0x111,_0x2715cb:0x4a3,_0x30c330:0x517,_0x389e2d:0xe2,_0x539ab5:0x8e,_0x5d3b5f:0x478,_0x3285c5:0x4ce,_0x1fe127:0x48d,_0x3a6f8d:0x134,_0x6901a3:0xf6,_0x5bf1d6:0x13c,_0x3ae384:0xfa,_0x54e209:0xe7,_0x19c386:0xf4,_0x4fe13f:0x44b,_0x16a55e:0x4c0,_0xc649c8:0x4a3,_0x204376:0x4bc,_0x5a3e46:0x4cd,_0x4612ce:0xeb,_0x58b6c1:0x484,_0x484402:0xe1,_0x325080:0xa5,_0x2cf7b2:0xc3,_0x4fc088:0x4d4,_0xe52ffb:0x513,_0x2817f5:0x504,_0x9a00d9:0xfc,_0x4e8a19:0x140,_0xeaabdd:0xc3,_0x1d1dc1:0x150,_0x47d97a:0x10b,_0x32b237:0x479,_0x4a7ebc:0x48d,_0x1834fb:0x9f,_0x104165:0x9f,_0x3a6f5f:0x4d5,_0x1e10e9:0x48f,_0x4e61f2:0x49a,_0x194c2f:0xad,_0x2751cf:0x9d,_0xaad2f5:0x4b4,_0x58bc11:0x502,_0x5ed228:0xc7,_0x1bb476:0xa4,_0x578419:0x88,_0x447976:0x433,_0xcf0116:0x481,_0x2c207b:0x9e,_0x36298c:0x10a,_0x54f231:0x10e,_0x1a63a4:0x8b,_0x15aaf8:0xc8,_0x3a9843:0x431,_0x34b061:0x120,_0x1742a3:0x492,_0x18c2f9:0x11b,_0x43db3a:0xa3,_0x296cc5:0xcb,_0xc7972a:0x508,_0x8717d2:0x4de,_0x5cfaae:0x4d1,_0x43538c:0x46c,_0xcf8a2b:0x45d,_0xf865d3:0x491,_0x2bc993:0x457,_0xa0d2ff:0x462,_0x145f62:0x466,_0x4d1b10:0x478,_0x4e78da:0xaf,_0x3e9748:0x105,_0x1412ae:0xde,_0x53accb:0xc9,_0x314803:0xea,_0x466235:0xcf,_0x161c29:0xaa,_0x43fbff:0xb5,_0x236469:0x448,_0x398643:0x45f,_0x55e687:0x14f,_0x50e1ad:0x492,_0x3e4b96:0x4b3,_0x463f2a:0x4ab,_0x1a5261:0x474,_0x58d577:0xcd,_0x293cdb:0xb0,_0x47a592:0xd1,_0x35408e:0x4da,_0x4ff46f:0x487,_0x412260:0x47d,_0x95d1d2:0x421,_0x213773:0x438,_0x3aef2e:0x46b,_0x4be5cc:0x151,_0x29b546:0x101,_0x246ff9:0x10c,_0x10153e:0x46f,_0x5d7960:0xc0,_0x3d98c4:0xc1,_0x52a10d:0x4b5,_0x264879:0x4a7,_0x3bef0:0x461,_0x36ac42:0x86,_0x11fc2c:0xd5,_0x4768f3:0x80,_0x501a39:0x9e,_0x1b481a:0xa7,_0x931d1b:0x44d,_0x8f8c00:0x482,_0x5e5af7:0x503,_0x14ef63:0x4ed,_0x48ebf1:0xd6,_0xc0356c:0x470,_0x2fdfe4:0x4a6,_0x200b73:0x4d0,_0x39fe1b:0x4a3,_0x4281b9:0x4a9,_0xc510b0:0x502,_0x44be6e:0xe3,_0x2cb9d1:0xaf,_0x5d9626:0x107,_0x140624:0x49f,_0x24cbb9:0x474,_0x3b2ca3:0x44a,_0x4c5273:0xdc},_0x503c74={_0x333198:0xb9},_0x21f6f0={_0x11dd6e:0xb2,_0x2df6b1:0x496,_0x55eca5:0x54},_0x49fdf6={'iRfdP':_0xd67c84(_0x1049f0._0x5d23d6,0x4ce,_0x1049f0._0x5ee52d,_0x1049f0._0x16e1fd)+_0xfb1e77(-0x14a,-_0x1049f0._0x3dbfa7,-0x122,-0x100)+_0xd67c84(_0x1049f0._0x2f390a,0x4ab,0x4f6,_0x1049f0._0x16bf0e)+'\x22','LmFzP':_0xd67c84(0x50b,_0x1049f0._0x2dc3d6,_0x1049f0._0x196c78,_0x1049f0._0x3d18ae)+_0xd67c84(0x47d,_0x1049f0._0x5c245c,_0x1049f0._0x236791,0x4fc)+'rd','mGPBn':'Email\x20not\x20'+'configured','kkMlr':_0xfb1e77(-_0x1049f0._0x5343c8,-_0x1049f0._0x5d4996,-_0x1049f0._0x115113,-0xe8)+_0xfb1e77(-0x139,-_0x1049f0._0x6a02ff,-0xb8,-0xf3)+'ed.\x20Please'+_0xfb1e77(-0xce,-0xb3,-_0x1049f0._0xfa03fc,-0xc5)+_0xfb1e77(-_0x1049f0._0x4c8b2c,-_0x1049f0._0x518413,-_0x1049f0._0x516182,-_0x1049f0._0x6a02ff)+'ment\x20varia'+_0xfb1e77(-0x79,-0xc3,-0xb8,-0xa4)+_0xfb1e77(-_0x1049f0._0x4edce0,-0xf5,-_0x1049f0._0x5f084d,-0x108),'MOjJX':'Token\x20and\x20'+_0xd67c84(_0x1049f0._0x167246,_0x1049f0._0x2b69f1,0x48b,_0x1049f0._0x857c16)+_0xfb1e77(-0x13e,-0x15a,-0x129,-0x111)+'d','embvg':function(_0x592899,_0x5f3003){return _0x592899===_0x5f3003;},'CWteN':_0xd67c84(0x45f,0x46b,0x445,_0x1049f0._0x575fd4),'wwIIQ':_0xd67c84(0x4b0,0x4aa,0x4b6,0x469),'RQrGF':_0xd67c84(_0x1049f0._0x760639,_0x1049f0._0x2ef58a,_0x1049f0._0x461e22,_0x1049f0._0x20add7)+_0xfb1e77(-_0x1049f0._0x8a33f3,-0xee,-_0x1049f0._0x4fb859,-_0x1049f0._0x4976d9),'RqkIb':_0xd67c84(_0x1049f0._0x2614e4,_0x1049f0._0x197618,_0x1049f0._0x253d28,0x444),'WWQgG':function(_0x2d078b,_0x36b77d){return _0x2d078b===_0x36b77d;},'Ghfyg':_0xd67c84(0x456,0x46f,_0x1049f0._0x2bbab8,0x499),'UCoKQ':function(_0x5500d0,_0x368e27){return _0x5500d0(_0x368e27);},'QnIHt':function(_0x82c720,_0x483f1e,_0x279745){return _0x82c720(_0x483f1e,_0x279745);},'hvYBt':_0xd67c84(0x4e6,_0x1049f0._0x3979d9,_0x1049f0._0x760639,0x46b)+_0xd67c84(0x49a,_0x1049f0._0x5066d4,0x4e1,0x47a)+'ed','YUaeK':_0xfb1e77(-0xfc,-0xdf,-0xe4,-0xd1)+_0xfb1e77(-0x105,-_0x1049f0._0x422576,-_0x1049f0._0x26cf94,-_0x1049f0._0x34795e)+_0xd67c84(0x43a,_0x1049f0._0x88befa,0x433,0x43d)+_0xfb1e77(-_0x1049f0._0x1b3603,-0x13b,-_0x1049f0._0x5d4996,-0x123),'iPPIT':function(_0x328afd,_0x49cc37){return _0x328afd!==_0x49cc37;},'JyggU':'YNAyK','qZVGB':function(_0x457f9d){return _0x457f9d();},'jbkDK':_0xfb1e77(-_0x1049f0._0xb6f25d,-_0x1049f0._0x206c91,-0xdf,-_0x1049f0._0x54d440),'WsLQo':_0xfb1e77(-_0x1049f0._0x563c19,-0xd9,-_0x1049f0._0x4e97db,-0xaa)+'eset','yNJHP':_0xd67c84(0x422,_0x1049f0._0x29214f,0x46f,_0x1049f0._0x3ddf9d)+_0xd67c84(_0x1049f0._0x2a5051,_0x1049f0._0xbfede,0x465,_0x1049f0._0x4c3fe7),'GdpZO':'7\x20days','LxuhX':function(_0x32d7b4,_0x204d06,_0x151300){return _0x32d7b4(_0x204d06,_0x151300);},'gJrXD':function(_0x51d264,_0x3761ff){return _0x51d264(_0x3761ff);},'KfzUH':_0xfb1e77(-0xbf,-0xa4,-_0x1049f0._0x115a70,-0xae)+_0xd67c84(0x41f,_0x1049f0._0x2d2aa3,0x41e,0x41c)+_0xd67c84(_0x1049f0._0x3564f5,0x4cd,_0x1049f0._0x2f17e7,_0x1049f0._0x150db5),'gtvAc':_0xfb1e77(-0xa0,-_0x1049f0._0x1b1cf9,-_0x1049f0._0x46fffd,-_0x1049f0._0x3ef5ba)+_0xfb1e77(-_0x1049f0._0x12a5ea,-0x124,-_0x1049f0._0x101dcd,-0x105)+_0xd67c84(_0x1049f0._0x4658c4,_0x1049f0._0x394980,0x452,_0x1049f0._0x13624b)+'n'};function _0xfb1e77(_0x19f4de,_0x4d7ac8,_0x550e02,_0x556368){return _0x52dad0(_0x550e02,_0x4d7ac8-_0x21f6f0._0x11dd6e,_0x556368- -_0x21f6f0._0x2df6b1,_0x556368-_0x21f6f0._0x55eca5);}function _0xd67c84(_0x437f4a,_0x3816d9,_0x2b6ed8,_0x1e50ff){return _0x52dad0(_0x2b6ed8,_0x3816d9-_0x503c74._0x333198,_0x3816d9-0xd3,_0x1e50ff-0x170);}try{if(_0x49fdf6[_0xfb1e77(-0x11f,-0xbf,-0x10f,-_0x1049f0._0x209e41)](_0xfb1e77(-_0x1049f0._0x173918,-0xac,-0x135,-0xfe),_0x49fdf6[_0xfb1e77(-_0x1049f0._0x3c67e1,-0x10d,-_0x1049f0._0x342870,-0x114)])){const {userId:_0x4b9826,type:type=_0x49fdf6[_0xd67c84(_0x1049f0._0x2f69a4,0x44f,_0x1049f0._0x13624b,_0x1049f0._0x504b2c)],sendEmail:sendEmail=![]}=_0x4511bc[_0xfb1e77(-0xd5,-0x83,-_0x1049f0._0x56fff6,-0xa7)];if(!_0x4b9826){const _0x2429e4={};return _0x2429e4[_0xfb1e77(-_0x1049f0._0xe55462,-_0x1049f0._0x41227f,-_0x1049f0._0x10c06c,-_0x1049f0._0x457cd7)]=_0x49fdf6[_0xd67c84(0x4a6,0x4bc,_0x1049f0._0x231866,0x47d)],_0x4f2daa[_0xfb1e77(-0x13c,-0x152,-0x14b,-_0x1049f0._0x4be7e6)](0x4eb+-0x734+0x3d9)[_0xfb1e77(-_0x1049f0._0x4c8b48,-_0x1049f0._0x217a79,-0x127,-0xdc)](_0x2429e4);}if(![_0x49fdf6[_0xd67c84(0x479,0x44f,0x411,_0x1049f0._0x5d52ae)],_0x49fdf6[_0xd67c84(0x538,_0x1049f0._0x2a81a9,0x520,_0x1049f0._0x7466af)]][_0xd67c84(_0x1049f0._0x88befa,_0x1049f0._0x10270a,0x4a0,_0x1049f0._0x123879)](type)){if(_0x49fdf6[_0xd67c84(0x480,0x45f,0x49e,_0x1049f0._0x331698)](_0x49fdf6['Ghfyg'],_0xfb1e77(-_0x1049f0._0x34061b,-_0x1049f0._0xa75396,-_0x1049f0._0x29284c,-_0x1049f0._0x561cfe))){const _0x103bd4={};return _0x103bd4[_0xd67c84(0x4b0,_0x1049f0._0x14c2a6,0x51e,_0x1049f0._0x1dc65c)]=_0x49fdf6[_0xfb1e77(-0xb7,-0xb1,-_0x1049f0._0x5301fc,-_0x1049f0._0x185366)],_0x4f2daa[_0xd67c84(0x418,_0x1049f0._0x1413d8,_0x1049f0._0x3ddf9d,0x42c)](-0xbd4*-0x1+0x5*0x113+0x1*-0xfa3)['json'](_0x103bd4);}else{const _0x5db8c4={};return _0x5db8c4[_0xd67c84(_0x1049f0._0x34eea6,0x4cc,0x51f,_0x1049f0._0x30a3ca)]=_0x49fdf6[_0xd67c84(0x49c,0x47e,_0x1049f0._0x2b5de,0x45d)],_0x4f8450['status'](-0x1a3d*0x1+-0x1*0xf53+-0x730*-0x6)[_0xd67c84(0x4cd,_0x1049f0._0x3564f5,_0x1049f0._0x5ca086,_0x1049f0._0x30b885)](_0x5db8c4);}}const _0xa7038=await _0x49fdf6[_0xd67c84(_0x1049f0._0x5518cb,_0x1049f0._0x2d6283,0x4be,_0x1049f0._0x25f5ce)](findUserById,_0x4b9826);if(!_0xa7038){const _0x53db99={};return _0x53db99[_0xfb1e77(-_0x1049f0._0x4f1348,-_0x1049f0._0x73c788,-0xf1,-_0x1049f0._0x457cd7)]='User\x20not\x20f'+'ound',_0x4f2daa[_0xfb1e77(-0x154,-_0x1049f0._0x200dde,-_0x1049f0._0x5d1701,-_0x1049f0._0x1a7aa3)](-0x1412+0x16f4+-0x1*0x14e)['json'](_0x53db99);}const _0x54c2ce=await _0x49fdf6[_0xfb1e77(-_0x1049f0._0x393a2f,-_0x1049f0._0x3a8de1,-0x153,-_0x1049f0._0x29284c)](createPasswordToken,_0x4b9826,type),_0x18952a={};_0x18952a[_0xd67c84(0x511,_0x1049f0._0x3a058d,_0x1049f0._0x36869b,_0x1049f0._0x274a93)]=_0x4511bc[_0xd67c84(_0x1049f0._0xb40b7a,0x47d,0x452,_0x1049f0._0x2b1f14)]['id'],_0x18952a['adminUsern'+_0xd67c84(_0x1049f0._0x218b0b,0x47b,0x47a,0x4b0)]=_0x4511bc[_0xd67c84(0x4ba,_0x1049f0._0x4fce53,0x49a,_0x1049f0._0x420b82)][_0xfb1e77(-0xfb,-_0x1049f0._0x5d8e9a,-0xfe,-0x10c)],_0x18952a['targetUser'+'Id']=_0x4b9826,_0x18952a['targetUser'+_0xfb1e77(-0xb2,-0xfb,-0xbc,-_0x1049f0._0x98ae73)]=_0xa7038[_0xfb1e77(-0xfb,-0x15a,-0xc5,-_0x1049f0._0x26442e)],_0x18952a[_0xd67c84(0x4a2,_0x1049f0._0x390750,_0x1049f0._0x29fc46,0x515)]=type,_0x18952a[_0xfb1e77(-0xe8,-_0x1049f0._0x4366c4,-0xa4,-0xcd)]=sendEmail,logger[_0xd67c84(0x424,_0x1049f0._0x2e84d6,_0x1049f0._0x2bbab8,0x458)](_0x49fdf6[_0xd67c84(_0x1049f0._0xe81121,0x4d2,0x503,0x4ae)],_0x18952a);const _0x31077=getRequestBaseUrl(_0x4511bc),_0x2b757a=_0x31077+(_0xd67c84(0x412,_0x1049f0._0x406b57,0x46a,0x481)+_0xfb1e77(-0x169,-_0x1049f0._0x4dbe78,-0xf8,-_0x1049f0._0x445092)+_0xfb1e77(-0x74,-_0x1049f0._0x5df0f1,-0x3e,-_0x1049f0._0x37e3bc))+_0x54c2ce[_0xfb1e77(-_0x1049f0._0xf8c37b,-_0x1049f0._0xed5f3a,-_0x1049f0._0xb721bc,-0xc6)],_0x2971e3={};_0x2971e3['id']=_0x54c2ce['id'],_0x2971e3[_0xd67c84(0x4ca,0x4a3,_0x1049f0._0x2b5de,0x4f7)]=_0x54c2ce[_0xd67c84(0x4be,_0x1049f0._0x2715cb,_0x1049f0._0xb40b7a,0x4ce)],_0x2971e3[_0xd67c84(0x515,0x4db,_0x1049f0._0x30c330,0x50f)]=_0x54c2ce[_0xfb1e77(-0xce,-0x98,-_0x1049f0._0x389e2d,-_0x1049f0._0x539ab5)],_0x2971e3['expires_at']=_0x54c2ce[_0xd67c84(_0x1049f0._0x5d3b5f,0x4a9,0x4ee,_0x1049f0._0x3285c5)],_0x2971e3[_0xd67c84(0x455,0x48b,0x4b4,_0x1049f0._0x1fe127)]=_0x2b757a;const _0x11cd3b={};_0x11cd3b['id']=_0xa7038['id'],_0x11cd3b[_0xfb1e77(-_0x1049f0._0x3a6f8d,-0xbf,-_0x1049f0._0x6901a3,-0x10c)]=_0xa7038[_0xfb1e77(-_0x1049f0._0x5bf1d6,-_0x1049f0._0x3ae384,-_0x1049f0._0x54e209,-_0x1049f0._0x26442e)],_0x11cd3b[_0xfb1e77(-_0x1049f0._0x19c386,-0xef,-0xf6,-0xd5)]=_0xa7038[_0xfb1e77(-0xa4,-0xc1,-_0x1049f0._0x457cd7,-_0x1049f0._0x98ae73)],_0x11cd3b[_0xd67c84(0x43d,_0x1049f0._0x2f390a,0x44f,_0x1049f0._0x4fe13f)]=_0xa7038['email'];const _0x2edc7a={};_0x2edc7a['message']=_0x49fdf6['YUaeK'],_0x2edc7a[_0xd67c84(_0x1049f0._0x16a55e,_0x1049f0._0xc649c8,0x49f,0x45b)]=_0x2971e3,_0x2edc7a[_0xd67c84(_0x1049f0._0x204376,0x47d,0x428,_0x1049f0._0x5a3e46)]=_0x11cd3b,_0x2edc7a[_0xfb1e77(-_0x1049f0._0x4612ce,-0x118,-0x11f,-0xf5)]=![];const _0x4283e7=_0x2edc7a;if(sendEmail){if(_0x49fdf6[_0xd67c84(_0x1049f0._0x16a55e,0x4c9,0x4a3,_0x1049f0._0x58b6c1)](_0xfb1e77(-_0x1049f0._0x484402,-_0x1049f0._0x325080,-_0x1049f0._0x2cf7b2,-0xc1),_0x49fdf6[_0xd67c84(0x4c2,_0x1049f0._0x7466af,_0x1049f0._0x4fc088,_0x1049f0._0xe52ffb)])){_0xb0de6b[_0xd67c84(0x4f2,_0x1049f0._0x14c2a6,0x497,_0x1049f0._0x2817f5)](_0x49fdf6['LmFzP'],_0x2cfcc5);const _0x13f9db={};_0x13f9db[_0xfb1e77(-0xf0,-0x8f,-_0x1049f0._0x342870,-0x9d)]=_0x49fdf6[_0xfb1e77(-_0x1049f0._0x9a00d9,-0x147,-_0x1049f0._0x4e8a19,-0x112)],_0x22a483[_0xfb1e77(-_0x1049f0._0xeaabdd,-0x151,-_0x1049f0._0x1d1dc1,-_0x1049f0._0x47d97a)](0x1*0x18ac+-0x7*-0xa6+-0x1b42)[_0xd67c84(_0x1049f0._0x32b237,_0x1049f0._0x4a7ebc,0x4de,0x49e)](_0x13f9db);}else{if(!_0x49fdf6[_0xfb1e77(-_0x1049f0._0x1834fb,-0x89,-0x108,-0xd8)](isEmailConfigured)){if(_0x49fdf6['WWQgG'](_0x49fdf6[_0xfb1e77(-0xc3,-_0x1049f0._0x104165,-_0x1049f0._0x5301fc,-_0x1049f0._0x104165)],_0xd67c84(_0x1049f0._0x3a6f5f,_0x1049f0._0x1e10e9,0x441,_0x1049f0._0x4e61f2))){const _0x438d0c={};return _0x438d0c[_0xfb1e77(-_0x1049f0._0x194c2f,-0xaf,-0xdc,-_0x1049f0._0x2751cf)]=_0x49fdf6[_0xd67c84(_0x1049f0._0xaad2f5,_0x1049f0._0x4658c4,0x4d3,_0x1049f0._0x58bc11)],_0x438d0c[_0xfb1e77(-_0x1049f0._0x5ed228,-0xae,-_0x1049f0._0x1bb476,-_0x1049f0._0x578419)]=_0x49fdf6[_0xd67c84(0x4cb,0x478,_0x1049f0._0x447976,0x4a2)],_0x4f2daa[_0xd67c84(_0x1049f0._0x3ddf9d,0x45e,0x446,_0x1049f0._0xcf0116)](0x262a+-0x21c7+-0x2d3)[_0xfb1e77(-_0x1049f0._0x2c207b,-_0x1049f0._0x36298c,-_0x1049f0._0x54f231,-0xdc)](_0x438d0c);}else{const _0x4393c7={};return _0x4393c7[_0xd67c84(0x4be,_0x1049f0._0x14c2a6,0x4a8,0x4e0)]=_0x49fdf6[_0xfb1e77(-_0x1049f0._0x1a63a4,-_0x1049f0._0x15aaf8,-0xed,-0xb9)],_0x4393c7['message']=_0x49fdf6[_0xd67c84(0x49d,_0x1049f0._0x5d3b5f,0x436,_0x1049f0._0x3a9843)],_0x4e4e87[_0xfb1e77(-0x102,-_0x1049f0._0x34b061,-0xbf,-_0x1049f0._0x1a7aa3)](-0x7*-0x4b1+-0x1*-0x1161+-0x4*0xc2a)['json'](_0x4393c7);}}try{const _0x4cb4b5=_0x49fdf6[_0xd67c84(0x49d,_0x1049f0._0x1742a3,0x497,_0x1049f0._0x3ddf9d)](type,_0x49fdf6['RqkIb'])?_0x49fdf6[_0xfb1e77(-0x116,-_0x1049f0._0x4edce0,-0x163,-_0x1049f0._0x18c2f9)]:_0x49fdf6[_0xfb1e77(-0x109,-_0x1049f0._0x115113,-_0x1049f0._0x43db3a,-_0x1049f0._0x296cc5)],_0x27a20f={};_0x27a20f[_0xd67c84(_0x1049f0._0xc7972a,0x4c0,_0x1049f0._0x8717d2,_0x1049f0._0x5cfaae)]=_0xa7038['name'],_0x27a20f[_0xd67c84(_0x1049f0._0x43538c,_0x1049f0._0xcf8a2b,_0x1049f0._0xf865d3,_0x1049f0._0x2bc993)]=_0xa7038[_0xd67c84(_0x1049f0._0xa0d2ff,0x45d,_0x1049f0._0x145f62,_0x1049f0._0x4d1b10)],_0x27a20f[_0xfb1e77(-_0x1049f0._0x4c8b48,-_0x1049f0._0x4e78da,-_0x1049f0._0x3e9748,-_0x1049f0._0x1412ae)]=_0x2b757a,_0x27a20f[_0xfb1e77(-_0x1049f0._0x53accb,-_0x1049f0._0x314803,-_0x1049f0._0x217a79,-_0x1049f0._0x466235)]=_0x49fdf6[_0xfb1e77(-_0x1049f0._0x161c29,-0x92,-0x91,-_0x1049f0._0x43fbff)],_0x27a20f[_0xfb1e77(-0xb6,-0xbd,-0x4d,-0x8e)]=type;const _0x38a315=_0x27a20f,{subject:_0x1f4a09}=_0x49fdf6[_0xd67c84(0x4b8,0x482,_0x1049f0._0x236469,_0x1049f0._0x398643)](renderTemplate,_0x4cb4b5,_0x38a315),_0x437544={};_0x437544['to']=_0xa7038[_0xfb1e77(-_0x1049f0._0x55e687,-0x134,-0x12b,-0x101)],_0x437544[_0xd67c84(_0x1049f0._0x50e1ad,_0x1049f0._0x3e4b96,_0x1049f0._0x58b6c1,_0x1049f0._0x218b0b)]=_0x1f4a09,_0x437544['template']=_0x4cb4b5,_0x437544[_0xd67c84(0x44f,0x497,_0x1049f0._0x236469,_0x1049f0._0x5ca086)]=_0x38a315,await _0x49fdf6[_0xd67c84(0x4c4,0x4b6,0x49c,_0x1049f0._0x463f2a)](sendTemplatedEmail,_0x437544),_0x4283e7[_0xd67c84(0x47f,_0x1049f0._0x1a5261,0x495,0x438)]=!![],_0x4283e7['message']=_0xfb1e77(-_0x1049f0._0x58d577,-_0x1049f0._0x293cdb,-0xcc,-_0x1049f0._0x47a592)+_0xd67c84(0x4de,0x4b7,_0x1049f0._0x35408e,_0x1049f0._0x4ff46f)+_0xd67c84(_0x1049f0._0x412260,0x442,_0x1049f0._0x95d1d2,_0x1049f0._0x213773)+_0xd67c84(_0x1049f0._0x3aef2e,0x4ac,0x4a6,0x4cc)+'\x20'+_0xa7038[_0xfb1e77(-0x154,-0xce,-_0x1049f0._0x4366c4,-0x101)];const _0x1eb7a5={};_0x1eb7a5['to']=_0xa7038[_0xfb1e77(-_0x1049f0._0x4be5cc,-0x141,-0xfa,-_0x1049f0._0x29b546)],_0x1eb7a5[_0xd67c84(0x4d9,0x4db,_0x1049f0._0x30a3ca,0x52f)]=type,_0x1eb7a5[_0xfb1e77(-0x145,-0x125,-_0x1049f0._0x393a2f,-_0x1049f0._0x246ff9)]=_0xa7038[_0xd67c84(_0x1049f0._0x10153e,_0x1049f0._0xcf8a2b,0x49f,0x42e)],logger[_0xfb1e77(-_0x1049f0._0x5d7960,-0x13b,-_0x1049f0._0x3d98c4,-0x104)](_0x49fdf6[_0xd67c84(_0x1049f0._0x52a10d,0x4b2,_0x1049f0._0x264879,_0x1049f0._0x3bef0)],_0x1eb7a5);}catch(_0x58e327){logger['error'](_0xfb1e77(-0xf4,-_0x1049f0._0x36ac42,-0xa8,-0xb1)+_0xd67c84(_0x1049f0._0x3564f5,0x48c,0x4d7,0x492)+_0xfb1e77(-_0x1049f0._0x11fc2c,-0x149,-0xfe,-0x103),_0x58e327),_0x4283e7[_0xd67c84(0x460,0x462,0x45a,0x47b)]=_0xfb1e77(-_0x1049f0._0x6a02ff,-0x61,-_0x1049f0._0x1412ae,-0xb1)+_0xfb1e77(-0x78,-0x5b,-_0x1049f0._0x4768f3,-_0x1049f0._0x501a39)+'.\x20Please\x20c'+'opy\x20the\x20li'+'nk\x20manuall'+'y.';}}}_0x4f2daa[_0xfb1e77(-_0x1049f0._0x1b1cf9,-_0x1049f0._0x1b481a,-0xbe,-0xdc)](_0x4283e7);}else{const _0x24226a={};return _0x24226a['error']=_0x49fdf6[_0xd67c84(0x427,0x441,_0x1049f0._0x931d1b,0x407)],_0xd7fce2['status'](-0xa62+0x266e*-0x1+0x3260)[_0xd67c84(0x4c7,0x48d,_0x1049f0._0x8f8c00,0x4b2)](_0x24226a);}}catch(_0x61de3d){logger[_0xd67c84(_0x1049f0._0x5e5af7,0x4cc,_0x1049f0._0x14ef63,0x49f)]('Failed\x20to\x20'+_0xfb1e77(-0x104,-0x126,-_0x1049f0._0x48ebf1,-0x105)+_0xd67c84(_0x1049f0._0xc0356c,_0x1049f0._0x2fdfe4,0x4e9,_0x1049f0._0x200b73)+'n',_0x61de3d);const _0x37df4c={};_0x37df4c[_0xd67c84(_0x1049f0._0x39fe1b,_0x1049f0._0x218b0b,_0x1049f0._0x4281b9,_0x1049f0._0xc510b0)]=_0x49fdf6[_0xfb1e77(-_0x1049f0._0x44be6e,-_0x1049f0._0x2cb9d1,-_0x1049f0._0x5d9626,-0xfc)],_0x4f2daa[_0xd67c84(_0x1049f0._0x140624,_0x1049f0._0x1413d8,_0x1049f0._0x24cbb9,_0x1049f0._0x3b2ca3)](0xeb4*0x1+0x132d+-0x1fed)[_0xfb1e77(-0x131,-0x102,-0xc4,-_0x1049f0._0x4c5273)](_0x37df4c);}}),router[_0x52dad0(0x399,0x3a6,0x3ca,0x398)]('/validate-'+_0x52dad0(0x41f,0x380,0x3d0,0x3fc),async(_0x1f5b82,_0x96ca98)=>{const _0x97ed9e={_0x4c9e4b:0x2c1,_0x3fc9d6:0x328,_0x5de867:0x37d,_0x144c5c:0x3ad,_0x2dd7a1:0x38b,_0xdbd9b3:0x3d8,_0x2422cd:0x423,_0x32ed9b:0x3cd,_0x4caa26:0x3d5,_0x4472c8:0x3b8,_0x3eab76:0x41d,_0x49a891:0x356,_0x6c9ec4:0x2fc,_0xfac715:0x30a,_0x283a12:0x3b9,_0x4a40d3:0x431,_0x454621:0x421,_0x3da57f:0x39e,_0xdfd037:0x3df,_0x519f72:0x38d,_0x318514:0x3b3,_0x9356:0x3f2,_0x2d896e:0x327,_0x584999:0x37c,_0x39f2a3:0x431,_0x593f7f:0x3f9,_0x4d46d3:0x3c4,_0x3f942a:0x3f2,_0xd148e4:0x44b,_0x4374db:0x434,_0x1191ae:0x300,_0x31399f:0x379,_0xed46f3:0x32a,_0x4df9cb:0x3bb,_0x2f3aa3:0x37c,_0x2a7a9f:0x3f7,_0xc35d92:0x3a5,_0x1cc89e:0x3fe,_0x227f57:0x3fc,_0x2fe145:0x3f7,_0x257eca:0x404,_0x20f0e7:0x3b0,_0x193784:0x3c2,_0x13c08a:0x337,_0x5d5338:0x2ee,_0x127baf:0x307,_0x579fa7:0x30d,_0x15572e:0x2d6,_0x55ffe4:0x2d5,_0x3f4c71:0x32a,_0x39bef8:0x39c,_0x166a9c:0x3b7,_0x2533e5:0x38b,_0x382212:0x3c8,_0x5b3ae3:0x416,_0x5d99f1:0x383,_0x220275:0x3a9,_0x10cd42:0x427,_0x1675da:0x3e9,_0xad787e:0x46b,_0x1920b2:0x35a,_0x56d467:0x38e,_0x48001a:0x388,_0x2dbee3:0x36e,_0x31b8ca:0x406,_0x2e1e62:0x3c3,_0x29957c:0x380,_0x2d6657:0x3a0,_0x416ea1:0x3f2,_0x270c8f:0x428},_0x2f2391={_0x2ece6b:0x175,_0x292c2b:0x2c0},_0x51ad43={_0x2883ba:0x1cd};function _0x25e4d9(_0x59c538,_0x5d7304,_0x2ee921,_0x5ef72d){return _0x21a256(_0x59c538-_0x51ad43._0x2883ba,_0x5d7304,_0x2ee921-0xe2,_0x5ef72d-0x20b);}function _0x4ed090(_0x2640db,_0x591412,_0x5f46ef,_0x2755f7){return _0x21a256(_0x2640db-_0x2f2391._0x2ece6b,_0x2755f7,_0x5f46ef-0x170,_0x5f46ef-_0x2f2391._0x292c2b);}const _0x92ad5c={'flaKu':_0x25e4d9(0x329,_0x97ed9e._0x4c9e4b,_0x97ed9e._0x3fc9d6,0x2f5)+_0x4ed090(_0x97ed9e._0x5de867,0x3a5,_0x97ed9e._0x144c5c,_0x97ed9e._0x2dd7a1),'EJipY':function(_0x2f8052,_0x2a7eff){return _0x2f8052(_0x2a7eff);},'EAmJZ':_0x4ed090(0x46f,_0x97ed9e._0xdbd9b3,_0x97ed9e._0x2422cd,0x46a)+_0x4ed090(_0x97ed9e._0x32ed9b,_0x97ed9e._0x4caa26,_0x97ed9e._0x4472c8,0x39b),'YLZXq':_0x4ed090(0x3f4,0x466,_0x97ed9e._0x3eab76,0x413)+'validate\x20t'+_0x25e4d9(_0x97ed9e._0x49a891,_0x97ed9e._0x6c9ec4,0x2cd,_0x97ed9e._0xfac715)};try{const {token:_0x31b324}=_0x1f5b82[_0x4ed090(0x3bc,0x3aa,_0x97ed9e._0x283a12,0x3ad)];if(!_0x31b324){const _0x2fb859={};return _0x2fb859[_0x4ed090(0x477,0x44e,_0x97ed9e._0x4a40d3,_0x97ed9e._0x454621)]=_0x92ad5c['flaKu'],_0x2fb859[_0x4ed090(0x3d0,_0x97ed9e._0x3da57f,_0x97ed9e._0xdfd037,_0x97ed9e._0x519f72)]=![],_0x96ca98['status'](0xdd*-0x1f+0x1ab3+-0x68*-0x4)[_0x4ed090(0x3de,_0x97ed9e._0x318514,_0x97ed9e._0x9356,0x3a3)](_0x2fb859);}const _0x211f05=await validateToken(_0x31b324);if(!_0x211f05){const _0x298002={};return _0x298002[_0x25e4d9(0x369,_0x97ed9e._0x2d896e,_0x97ed9e._0x584999,0x32a)]=![],_0x298002[_0x4ed090(0x471,0x440,_0x97ed9e._0x39f2a3,_0x97ed9e._0x593f7f)]='Invalid\x20or'+'\x20expired\x20t'+'oken',_0x96ca98[_0x4ed090(_0x97ed9e._0x4d46d3,0x410,_0x97ed9e._0x3f942a,0x3d1)](_0x298002);}const _0x57e603=await _0x92ad5c[_0x4ed090(0x42e,0x493,_0x97ed9e._0xd148e4,_0x97ed9e._0x4374db)](findUserById,_0x211f05[_0x25e4d9(0x2fe,0x2d4,0x2d6,_0x97ed9e._0x1191ae)]);if(!_0x57e603){const _0x661a73={};return _0x661a73[_0x25e4d9(0x307,_0x97ed9e._0x31399f,0x2eb,_0x97ed9e._0xed46f3)]=![],_0x661a73[_0x25e4d9(_0x97ed9e._0x4df9cb,0x340,0x37f,_0x97ed9e._0x2f3aa3)]=_0x92ad5c[_0x4ed090(0x3ac,_0x97ed9e._0x2a7a9f,_0x97ed9e._0xc35d92,0x38d)],_0x96ca98[_0x4ed090(_0x97ed9e._0x1cc89e,_0x97ed9e._0x227f57,0x3f2,_0x97ed9e._0x2fe145)](_0x661a73);}const _0x18d3e1={};_0x18d3e1[_0x4ed090(_0x97ed9e._0x257eca,_0x97ed9e._0x20f0e7,_0x97ed9e._0x193784,0x3d8)]=_0x57e603[_0x25e4d9(_0x97ed9e._0x13c08a,_0x97ed9e._0x5d5338,_0x97ed9e._0x127baf,_0x97ed9e._0x579fa7)],_0x18d3e1['name']=_0x57e603['name'];const _0x503860={};_0x503860[_0x25e4d9(_0x97ed9e._0x15572e,_0x97ed9e._0x55ffe4,0x36e,_0x97ed9e._0x3f4c71)]=!![],_0x503860[_0x25e4d9(_0x97ed9e._0x39bef8,_0x97ed9e._0x166a9c,0x39e,_0x97ed9e._0x2533e5)]=_0x211f05[_0x25e4d9(_0x97ed9e._0x382212,0x389,0x368,_0x97ed9e._0x2533e5)],_0x503860[_0x4ed090(0x3a8,_0x97ed9e._0x5b3ae3,0x3e2,0x408)]=_0x18d3e1,_0x96ca98['json'](_0x503860);}catch(_0x47c3e3){logger[_0x25e4d9(_0x97ed9e._0x5d99f1,_0x97ed9e._0x220275,_0x97ed9e._0x382212,0x37c)](_0x92ad5c[_0x4ed090(_0x97ed9e._0x10cd42,_0x97ed9e._0x1675da,0x43d,_0x97ed9e._0xad787e)],_0x47c3e3);const _0x224400={};_0x224400['error']=_0x92ad5c[_0x25e4d9(_0x97ed9e._0x1920b2,_0x97ed9e._0x56d467,0x38f,_0x97ed9e._0x48001a)],_0x224400['valid']=![],_0x96ca98[_0x4ed090(_0x97ed9e._0x2dbee3,_0x97ed9e._0x31b8ca,_0x97ed9e._0x2e1e62,_0x97ed9e._0x29957c)](0x1*0x261f+0x5bb+0x1f*-0x15a)[_0x4ed090(0x43c,_0x97ed9e._0x2d6657,_0x97ed9e._0x416ea1,_0x97ed9e._0x270c8f)](_0x224400);}}),router[_0x21a256(0xf2,0xcf,0xeb,0x115)](_0x21a256(0xfb,0xe5,0xc7,0xec),async(_0x3be220,_0x592af8)=>{const _0x366ade={_0xb04565:0x136,_0x41f093:0x130,_0x305954:0x19d,_0x1a6a28:0x15a,_0x1f3660:0x158,_0x50d513:0x1d9,_0x1ad3d5:0x1f5,_0x2e981c:0x18d,_0x13da3e:0x19b,_0x5c1689:0xf7,_0x5c2428:0x1a2,_0x26865d:0x1dd,_0x43a201:0xf4,_0x49d47c:0x141,_0x5e790c:0x18b,_0x4506b6:0x173,_0x5855ff:0x11e,_0x28a06d:0xca,_0x5cb730:0x117,_0x5325ab:0x171,_0x2c75bf:0x16c,_0x2e55c0:0x158,_0x547712:0x1ae,_0x112380:0x105,_0xe5df7e:0xe4,_0xff8281:0x152,_0x3141a4:0x16b,_0x98f62:0x97,_0x5eb311:0xe7,_0x27eea1:0x6c,_0xd148d6:0x7a,_0x448b4e:0xc9,_0x359dc8:0x15c,_0x13e649:0x120,_0x5048fd:0x127,_0x34731c:0xc7,_0x2e9ad2:0xb8,_0x494a5e:0xfd,_0x1f3f31:0xf2,_0x4a43e5:0xd9,_0x914495:0x11b,_0x871dcc:0x145,_0x2da035:0x104,_0x5c26e7:0x197,_0x3e54b4:0x188,_0x2403a6:0x1d1,_0x2d27b4:0x12f,_0x13f137:0x108,_0x22b483:0x124,_0x2c2ed6:0x118,_0x432a9b:0x13f,_0x344f40:0xb9,_0x2c9c18:0xb1,_0x5eaf34:0x9a,_0x42c5d9:0x129,_0x51dda2:0x166,_0x8970f2:0xe9,_0x3b9028:0x150,_0x5856b6:0x18c,_0x30c6c8:0x1b8,_0x591ce1:0x168,_0x66e002:0x1bb,_0x1c6a21:0x1a8,_0x19c139:0xdd,_0xfbd1ad:0x12d,_0x309ee4:0xfb,_0x37d0e5:0x197,_0xfa20ec:0x152,_0xfcaae5:0x127,_0x3b2102:0x173,_0x3fb671:0xf3,_0x3b31e6:0x42,_0x5db84e:0x3b,_0x5b7c4d:0x198,_0x136ccf:0x182,_0x104aff:0x17d,_0x564a3f:0x159,_0x301385:0x12c,_0x56bfaf:0x1a3,_0x1db7b8:0x1ca,_0x14a319:0xcd,_0x142148:0x82,_0x3382b2:0x101,_0x47f8c7:0x114,_0x1c5583:0xca,_0x4d8208:0x13a,_0x2361b3:0xe3,_0xc50020:0xf0,_0x3897a7:0xa3,_0x148360:0x66,_0x3ee133:0xb6,_0x24e168:0xe5,_0x91f402:0x69,_0x3d06a2:0x13e,_0x1b568a:0x13b,_0x481eb7:0x16d,_0xa7270e:0x16a,_0x134299:0x73,_0x8cc703:0xf1,_0x2f3416:0x10f,_0x33c222:0x13d,_0x45157a:0xda,_0x550cff:0xe5,_0x1eb278:0xc8},_0x356bc6={_0x36d927:0x86,_0x8612fb:0x15e},_0x16efc6={_0x1e60dd:0x50};function _0x262f66(_0x4b8c14,_0x58b11d,_0x23e871,_0x4c63ce){return _0x52dad0(_0x23e871,_0x58b11d-_0x16efc6._0x1e60dd,_0x4b8c14- -0x2f4,_0x4c63ce-0x26);}function _0x262ded(_0x5e4faf,_0x55289c,_0xb6137f,_0x259934){return _0x21a256(_0x5e4faf-_0x356bc6._0x36d927,_0xb6137f,_0xb6137f-_0x356bc6._0x8612fb,_0x5e4faf- -0x29a);}const _0x59662e={'YbtTc':function(_0x28ea69,_0x16f2a5){return _0x28ea69||_0x16f2a5;},'ytzNZ':'Token\x20and\x20'+_0x262f66(0xee,_0x366ade._0xb04565,_0x366ade._0x41f093,0xce)+_0x262ded(-_0x366ade._0x305954,-0x15c,-_0x366ade._0x1a6a28,-0x1c8)+'d','Gsqhx':function(_0x4476a0,_0x34da9d){return _0x4476a0<_0x34da9d;},'YNRMp':'ZushR','bslzG':_0x262ded(-0x112,-0xda,-_0x366ade._0x1f3660,-0xf2),'GThTz':function(_0x43797d,_0x1008de){return _0x43797d(_0x1008de);},'TsZwU':_0x262ded(-0x1a8,-_0x366ade._0x50d513,-_0x366ade._0x1ad3d5,-_0x366ade._0x2e981c)+'\x20expired\x20t'+_0x262ded(-_0x366ade._0x13da3e,-0x19e,-0x14e,-0x17b),'YuaOh':_0x262f66(_0x366ade._0x5c1689,0xfc,0x114,0xdb)+_0x262ded(-_0x366ade._0x5c2428,-_0x366ade._0x26865d,-0x1cc,-0x1e9),'aqbcP':_0x262f66(_0x366ade._0x43a201,_0x366ade._0x49d47c,0xbf,0x136)+_0x262ded(-_0x366ade._0x5e790c,-_0x366ade._0x4506b6,-0x1ba,-_0x366ade._0x1f3660)+'en','JoDkK':_0x262ded(-0x13d,-0x117,-_0x366ade._0x5855ff,-0xfe)+_0x262f66(0xfd,_0x366ade._0x28a06d,_0x366ade._0x5cb730,0x140)+'rd'};try{const {token:_0x1691eb,password:_0x3910dc}=_0x3be220['body'];if(_0x59662e[_0x262ded(-_0x366ade._0x5325ab,-_0x366ade._0x2c75bf,-_0x366ade._0x2e55c0,-_0x366ade._0x547712)](!_0x1691eb,!_0x3910dc)){const _0x385f8d={};return _0x385f8d[_0x262f66(_0x366ade._0x112380,_0x366ade._0xe5df7e,0xe2,_0x366ade._0xff8281)]=_0x59662e[_0x262ded(-_0x366ade._0x3141a4,-0x139,-0x14c,-0x13c)],_0x592af8[_0x262f66(_0x366ade._0x98f62,_0x366ade._0x5eb311,_0x366ade._0x27eea1,_0x366ade._0xd148d6)](0x881*0x3+0xaa9+0x8a7*-0x4)[_0x262f66(0xc6,_0x366ade._0x448b4e,0xae,0xff)](_0x385f8d);}if(_0x59662e[_0x262ded(-_0x366ade._0x359dc8,-0x151,-_0x366ade._0x13e649,-_0x366ade._0x5048fd)](_0x3910dc[_0x262f66(_0x366ade._0x34731c,0xd8,_0x366ade._0x2e9ad2,_0x366ade._0x494a5e)],0x3ad*-0xa+-0x4a8+0x2972)){if(_0x59662e[_0x262ded(-0x148,-0x141,-0xf4,-0x109)]!==_0x59662e['bslzG']){const _0x1309cd={};return _0x1309cd['error']='Password\x20m'+_0x262f66(_0x366ade._0x1f3f31,0x12d,_0x366ade._0x4a43e5,0xa4)+_0x262ded(-_0x366ade._0x914495,-0x144,-0x163,-_0x366ade._0x871dcc)+_0x262ded(-0x138,-0x154,-_0x366ade._0x2da035,-0x17a),_0x592af8[_0x262ded(-_0x366ade._0x5c26e7,-_0x366ade._0x3e54b4,-0x177,-_0x366ade._0x2403a6)](-0x1b*-0xd5+-0x1*-0x10e2+0x25c9*-0x1)['json'](_0x1309cd);}else{_0x51385e[_0x262f66(_0x366ade._0x112380,_0x366ade._0x2d27b4,0x12e,0x12d)](_0x262f66(0xf1,0x12d,_0x366ade._0x13f137,_0x366ade._0x22b483)+_0x262f66(_0x366ade._0x2c2ed6,_0x366ade._0x22b483,0xf1,_0x366ade._0x432a9b)+_0x262f66(_0x366ade._0x344f40,_0x366ade._0x2c9c18,_0x366ade._0x2e9ad2,_0x366ade._0x5eaf34)+'tus',_0x17cca9);const _0x3e2fee={};_0x3e2fee[_0x262ded(-_0x366ade._0x42c5d9,-0x13c,-0x150,-0x161)]='Failed\x20to\x20'+_0x262ded(-0x116,-_0x366ade._0x51dda2,-_0x366ade._0x8970f2,-0x163)+_0x262ded(-_0x366ade._0x3b9028,-0xff,-_0x366ade._0x5856b6,-0x106)+_0x262ded(-0x113,-0xbe,-0xd5,-0xf0),_0x3a7030[_0x262ded(-_0x366ade._0x5c26e7,-0x1bd,-_0x366ade._0x30c6c8,-0x16f)](0x8c7*-0x4+-0xb17+-0x1*-0x3027)[_0x262ded(-_0x366ade._0x591ce1,-_0x366ade._0x66e002,-_0x366ade._0x1c6a21,-0x17d)](_0x3e2fee);}}const _0x90f4d7=await _0x59662e[_0x262ded(-0x125,-_0x366ade._0x19c139,-_0x366ade._0xfbd1ad,-0xe4)](validateToken,_0x1691eb);if(!_0x90f4d7){const _0x2ad2d3={};return _0x2ad2d3[_0x262ded(-0x129,-_0x366ade._0x43a201,-0x14d,-_0x366ade._0x309ee4)]=_0x59662e['TsZwU'],_0x592af8[_0x262ded(-_0x366ade._0x37d0e5,-_0x366ade._0xfa20ec,-0x1bc,-0x186)](-0xc3+0x15d7+-0x9c2*0x2)[_0x262ded(-_0x366ade._0x591ce1,-_0x366ade._0x2d27b4,-_0x366ade._0xfcaae5,-_0x366ade._0x3b2102)](_0x2ad2d3);}const _0x5d5897=await findUserById(_0x90f4d7['userId']);if(!_0x5d5897){const _0x23a297={};return _0x23a297[_0x262ded(-_0x366ade._0x42c5d9,-0xe6,-0x148,-0x146)]=_0x59662e[_0x262f66(0xf3,0xd5,_0x366ade._0x3fb671,0xd7)],_0x592af8[_0x262f66(0x97,0xe8,0x43,0x7c)](0x3*0x832+0x1c9+0xb*-0x241)['json'](_0x23a297);}await setUserPassword(_0x90f4d7[_0x262f66(0x89,_0x366ade._0x3b31e6,0xb3,_0x366ade._0x5db84e)],_0x3910dc),await markTokenAsUsed(_0x1691eb);const _0x442a1a={};_0x442a1a['userId']=_0x5d5897['id'],_0x442a1a['username']=_0x5d5897[_0x262ded(-_0x366ade._0x5b7c4d,-_0x366ade._0x136ccf,-_0x366ade._0x104aff,-0x1d7)],_0x442a1a['tokenType']=_0x90f4d7[_0x262f66(0x114,0xf3,_0x366ade._0x564a3f,_0x366ade._0x301385)],logger[_0x262ded(-0x190,-0x167,-_0x366ade._0x56bfaf,-_0x366ade._0x1db7b8)](_0x59662e['aqbcP'],_0x442a1a);const _0xf1879c={};_0xf1879c['id']=_0x5d5897['id'],_0xf1879c['username']=_0x5d5897[_0x262f66(0x96,0x46,0x41,0xa1)],_0xf1879c[_0x262f66(_0x366ade._0x14a319,_0x366ade._0x142148,0x81,0xad)]=_0x5d5897[_0x262f66(_0x366ade._0x14a319,_0x366ade._0x3382b2,0x106,0x86)];const _0x51e992={};_0x51e992[_0x262ded(-_0x366ade._0x47f8c7,-0x111,-0x107,-_0x366ade._0x1c5583)]=_0x262ded(-_0x366ade._0x4d8208,-0xec,-0x176,-_0x366ade._0x1f3660)+_0x262ded(-_0x366ade._0x5855ff,-0x14d,-_0x366ade._0x2361b3,-_0x366ade._0xc50020)+_0x262f66(0x7f,_0x366ade._0x448b4e,_0x366ade._0x3897a7,_0x366ade._0x148360),_0x51e992[_0x262f66(_0x366ade._0x3ee133,_0x366ade._0x24e168,0x6d,_0x366ade._0x91f402)]=_0xf1879c,_0x592af8[_0x262ded(-_0x366ade._0x591ce1,-_0x366ade._0x3d06a2,-_0x366ade._0x1b568a,-_0x366ade._0x359dc8)](_0x51e992);}catch(_0x1d0787){logger[_0x262ded(-0x129,-_0x366ade._0x481eb7,-0x10a,-_0x366ade._0xa7270e)](_0x59662e[_0x262f66(0xb8,_0x366ade._0x134299,0x92,0xf0)],_0x1d0787);const _0x52ce99={};_0x52ce99['error']=_0x262f66(_0x366ade._0x8cc703,_0x366ade._0x2f3416,_0x366ade._0x33c222,0x124)+_0x262f66(0xfd,_0x366ade._0x1f3f31,0xcf,_0x366ade._0x45157a)+'rd',_0x592af8[_0x262f66(_0x366ade._0x98f62,_0x366ade._0x550cff,_0x366ade._0x1eb278,0xe5)](-0x9e7+0xd2a+-0x5*0x43)['json'](_0x52ce99);}}),router[_0x52dad0(0x3e7,0x3a5,0x3ca,0x39d)]('/tokens/:u'+_0x52dad0(0x3cd,0x362,0x390,0x3e1),requireAuth,requireAdmin,async(_0x4465ad,_0x2f7a97)=>{const _0xac9c6a={_0x447362:0x25a,_0xdf2d87:0x248,_0x21a5de:0x1f3,_0x5b3b85:0x1fd,_0x3c16cf:0x200,_0x464dd9:0x254,_0x387452:0x247,_0x285a9f:0x20e,_0x516c3c:0x1c0,_0x2150df:0x1d7,_0x3d7708:0x1ec,_0x41910a:0x27d,_0x578fd4:0x233,_0x411f77:0x256,_0x31528e:0x21e,_0x23894d:0x24a,_0x5652ca:0x267,_0x663e90:0x2b7,_0x366aff:0x265,_0x4b5051:0x23a,_0x39fc85:0x2a4,_0x5b6a3b:0x268,_0xc501a5:0x20f,_0x346314:0x244,_0x384118:0x255,_0x5c28bf:0x253,_0x5d9057:0x24d,_0x1b5d37:0x28d,_0x1495e2:0x22e,_0xa43298:0x26f,_0x30807e:0x242,_0x3d6fb4:0x246,_0x5fb330:0x24e,_0xea7a91:0x266,_0x145e3c:0x282},_0x450688={_0x6cedae:0x608},_0x32d667={_0x29a243:0x9f,_0x259adb:0xd0},_0x577c5c={'jyWKR':function(_0x1a7bb4,_0x459c66){return _0x1a7bb4(_0x459c66);},'ZdyuL':'User\x20not\x20f'+_0x4b31b0(-0x288,-0x2c0,-_0xac9c6a._0x447362,-_0xac9c6a._0xdf2d87),'YALJh':function(_0x14ec80,_0x165194){return _0x14ec80(_0x165194);},'DtTKb':_0x462fef(-_0xac9c6a._0x21a5de,-0x21a,-0x233,-0x26c)+_0x4b31b0(-0x245,-_0xac9c6a._0x5b3b85,-0x1f0,-_0xac9c6a._0x3c16cf)+'okens'};function _0x462fef(_0x1f515f,_0x39250f,_0x2ccdfa,_0x5d4a96){return _0x52dad0(_0x1f515f,_0x39250f-_0x32d667._0x29a243,_0x2ccdfa- -0x618,_0x5d4a96-_0x32d667._0x259adb);}function _0x4b31b0(_0x346165,_0x532b93,_0x5b7846,_0x56a445){return _0x52dad0(_0x532b93,_0x532b93-0x21,_0x346165- -_0x450688._0x6cedae,_0x56a445-0xea);}try{const {userId:_0x210039}=_0x4465ad[_0x4b31b0(-0x205,-0x1d9,-0x1c3,-_0xac9c6a._0x464dd9)],_0x17f2e4=await _0x577c5c[_0x462fef(-0x247,-_0xac9c6a._0x387452,-_0xac9c6a._0x285a9f,-0x1e0)](findUserById,_0x210039);if(!_0x17f2e4){const _0x3c0092={};return _0x3c0092[_0x4b31b0(-0x20f,-_0xac9c6a._0x516c3c,-_0xac9c6a._0x2150df,-_0xac9c6a._0x3d7708)]=_0x577c5c['ZdyuL'],_0x2f7a97[_0x4b31b0(-_0xac9c6a._0x41910a,-0x270,-_0xac9c6a._0x578fd4,-_0xac9c6a._0x411f77)](0x1*0x6b+0x5f3+0x265*-0x2)['json'](_0x3c0092);}const _0x1f4dc5=await _0x577c5c[_0x4b31b0(-0x26d,-_0xac9c6a._0x31528e,-_0xac9c6a._0x23894d,-0x29e)](getUserTokens,_0x210039),_0x204abd={};_0x204abd[_0x462fef(-_0xac9c6a._0x5652ca,-_0xac9c6a._0x663e90,-_0xac9c6a._0x366aff,-_0xac9c6a._0x4b5051)]=_0x1f4dc5,_0x2f7a97['json'](_0x204abd);}catch(_0x1efb44){logger['error'](_0x577c5c[_0x462fef(-_0xac9c6a._0x39fc85,-0x29f,-_0xac9c6a._0x5b6a3b,-0x21d)],_0x1efb44);const _0x526f12={};_0x526f12[_0x4b31b0(-_0xac9c6a._0xc501a5,-_0xac9c6a._0x346314,-_0xac9c6a._0x384118,-_0xac9c6a._0x5c28bf)]='Failed\x20to\x20'+_0x4b31b0(-0x245,-0x1f2,-_0xac9c6a._0x5d9057,-0x256)+_0x462fef(-_0xac9c6a._0x1b5d37,-_0xac9c6a._0x1495e2,-_0xac9c6a._0xa43298,-0x275),_0x2f7a97[_0x4b31b0(-_0xac9c6a._0x41910a,-0x27b,-_0xac9c6a._0x30807e,-_0xac9c6a._0x3d6fb4)](-0x7*0x587+0x388*0x8+0xc65)[_0x4b31b0(-_0xac9c6a._0x5fb330,-_0xac9c6a._0xea7a91,-_0xac9c6a._0x145e3c,-0x268)](_0x526f12);}}),router['delete'](_0x21a256(0x108,0x172,0x15f,0x147)+_0x21a256(0x176,0x127,0xff,0x145),requireAuth,requireAdmin,async(_0x410f50,_0x6f31ad)=>{const _0x562346={_0x300718:0x483,_0x332eff:0x494,_0x59d9d7:0x46b,_0x14ba31:0x178,_0x2428d0:0x159,_0x21b7f5:0x4b4,_0x18104e:0x4be,_0x4e36e0:0x463,_0x1dbed9:0x197,_0x33b2ca:0x1be,_0x427681:0x4ca,_0x2f6441:0x4dc,_0x3d87d8:0x4b6,_0x4c5008:0x10f,_0x29a194:0xe4,_0x4a83f7:0x4e5,_0x4ae134:0x4c0,_0x4b0995:0x170,_0xb0d825:0x16f,_0x93652c:0x10d,_0x20804e:0x160,_0x2ef5b5:0x11e,_0x1833a8:0x13e,_0x14a5ee:0x4d5,_0x138897:0x511,_0x5047f6:0x525,_0xb9e538:0x526,_0x411561:0x18d,_0x9b3124:0x19d,_0x124de1:0x165,_0x30a54e:0x1e7,_0xeb3e7d:0x1ee,_0x438657:0x142,_0x38b444:0x173,_0x2e1993:0x4f9,_0x1fed6b:0x4ba,_0x321960:0x42f,_0x4cfaf9:0x47b,_0x2ad655:0x426,_0x50bea7:0x14e,_0x5704de:0x181,_0x3ab8ea:0x464,_0x5089db:0x456,_0x2f78b3:0x45a,_0x1ae70e:0x4ee,_0x2ca3d3:0x4f1,_0x3fe88f:0x1a7,_0x242d6a:0x1a9,_0x4b26d5:0x1fb,_0x250977:0x1d7,_0x839366:0x512,_0x2192ea:0x547,_0x397714:0x4f4,_0x173228:0x1a8,_0x57c713:0x16e,_0x221cc1:0x1c8,_0x5d93de:0x158,_0x130432:0x198,_0x5643b6:0x549,_0x39cb65:0x4f9,_0x200b04:0x474,_0x3f3429:0x497,_0x2de90e:0x490},_0x2254ff={_0x39b64f:0x98},_0x4b8461={_0x4cb027:0xb3},_0x43b8e8={'dOIoc':_0x427a29(0x479,0x4ce,0x4ae,0x4f3)+'\x20required','tCSvF':function(_0x72f09d,_0x5cdda5){return _0x72f09d(_0x5cdda5);},'bOdTG':function(_0xafe027,_0x3099e2){return _0xafe027!==_0x3099e2;},'KCmtB':_0x427a29(0x49e,_0x562346._0x300718,_0x562346._0x332eff,_0x562346._0x59d9d7),'BTBkO':_0x427a29(0x4da,0x486,0x472,0x4cd),'TWKkE':_0x44b20e(-_0x562346._0x14ba31,-0x197,-_0x562346._0x2428d0,-0x185)+_0x427a29(0x4c2,_0x562346._0x21b7f5,_0x562346._0x18104e,_0x562346._0x4e36e0),'TRxLr':_0x44b20e(-0x15e,-_0x562346._0x1dbed9,-_0x562346._0x33b2ca,-0x197)+_0x427a29(_0x562346._0x427681,_0x562346._0x2f6441,0x4af,_0x562346._0x3d87d8)+_0x44b20e(-_0x562346._0x4c5008,-0x12e,-0x10e,-_0x562346._0x29a194),'UJEtV':_0x427a29(0x500,_0x562346._0x4a83f7,0x4a4,_0x562346._0x4ae134)+_0x44b20e(-0x206,-0x1c2,-_0x562346._0x4b0995,-_0x562346._0xb0d825)+'en'};function _0x44b20e(_0x5a117f,_0x2901f8,_0x4e4c99,_0x117c37){return _0x52dad0(_0x4e4c99,_0x2901f8-_0x4b8461._0x4cb027,_0x2901f8- -0x53b,_0x117c37-0xda);}function _0x427a29(_0x5ca4b0,_0x2f5739,_0x42cba2,_0xee504e){return _0x21a256(_0x5ca4b0-0x56,_0xee504e,_0x42cba2-_0x2254ff._0x39b64f,_0x2f5739-0x388);}try{const {tokenId:_0x390d3c}=_0x410f50[_0x44b20e(-_0x562346._0x93652c,-0x138,-0x107,-0xe6)],_0x3150f4=await _0x43b8e8[_0x44b20e(-0x177,-_0x562346._0x20804e,-_0x562346._0x2ef5b5,-_0x562346._0x1833a8)](revokeToken,_0x390d3c);if(!_0x3150f4){if(_0x43b8e8[_0x427a29(_0x562346._0x14a5ee,_0x562346._0x138897,_0x562346._0x5047f6,_0x562346._0xb9e538)](_0x43b8e8[_0x44b20e(-_0x562346._0x411561,-_0x562346._0x9b3124,-_0x562346._0x124de1,-0x1b9)],_0x43b8e8[_0x44b20e(-_0x562346._0x30a54e,-0x1bc,-0x1b3,-_0x562346._0xeb3e7d)])){const _0x37dbcb={};return _0x37dbcb[_0x44b20e(-0x126,-_0x562346._0x438657,-0x152,-0x131)]=_0x44b20e(-_0x562346._0x38b444,-0x189,-0x1a0,-0x1dc)+_0x427a29(0x437,0x47e,_0x562346._0x427681,0x4b5),_0x6f31ad['status'](0x1*-0xdca+0x4*-0x62f+0x281a)[_0x427a29(_0x562346._0x2e1993,_0x562346._0x1fed6b,0x46a,0x47f)](_0x37dbcb);}else{const _0x2c2f48={};return _0x2c2f48['error']=_0x43b8e8[_0x427a29(_0x562346._0x321960,0x477,_0x562346._0x4cfaf9,_0x562346._0x2ad655)],_0x5dec03['status'](-0x6ee*0x3+0x1*0x243a+-0xde0)[_0x44b20e(-_0x562346._0x50bea7,-_0x562346._0x5704de,-0x137,-0x1d0)](_0x2c2f48);}}const _0x289f7e={};_0x289f7e['adminId']=_0x410f50['user']['id'],_0x289f7e['adminUsern'+_0x427a29(_0x562346._0x3ab8ea,0x4a8,_0x562346._0x5089db,_0x562346._0x2f78b3)]=_0x410f50['user']['username'],_0x289f7e[_0x427a29(0x51d,_0x562346._0x1ae70e,_0x562346._0x2ca3d3,0x4af)]=_0x390d3c,logger[_0x44b20e(-_0x562346._0x3fe88f,-_0x562346._0x242d6a,-_0x562346._0x4b26d5,-_0x562346._0x250977)](_0x43b8e8[_0x427a29(_0x562346._0x839366,0x50b,0x545,_0x562346._0x2192ea)],_0x289f7e);const _0xadf30e={};_0xadf30e[_0x427a29(0x4d7,0x50e,_0x562346._0x397714,0x54b)]=_0x43b8e8[_0x44b20e(-_0x562346._0x173228,-0x173,-_0x562346._0x57c713,-_0x562346._0x221cc1)],_0x6f31ad[_0x44b20e(-0x137,-_0x562346._0x5704de,-_0x562346._0x5d93de,-_0x562346._0x130432)](_0xadf30e);}catch(_0x331edf){logger[_0x427a29(0x4e8,0x4f9,_0x562346._0x5643b6,0x529)](_0x43b8e8[_0x427a29(0x4f6,0x4c0,_0x562346._0x39cb65,_0x562346._0x200b04)],_0x331edf);const _0x1517fc={};_0x1517fc['error']='Failed\x20to\x20'+_0x427a29(_0x562346._0x3f3429,0x479,0x473,_0x562346._0x2de90e)+'en',_0x6f31ad['status'](-0x43*0x16+-0xdca+-0x1*-0x1580)['json'](_0x1517fc);}});export default router;
1
+ (function(_0x2c784d,_0x13b6e4){const _0x5df4a6={_0x1f16b1:0xe1,_0x2f4328:0x6c,_0x1884e2:0xba,_0x537232:0xb2,_0x4846c6:0x66,_0x182d52:0x8,_0x1c9f8f:0xe6,_0x32fe9b:0x9a,_0x18acbf:0x90,_0x1de216:0x57,_0x590d14:0x36,_0x3eaa0e:0x26,_0x35c8cb:0x152,_0x5b1c29:0x117,_0x2ad642:0x137,_0x2cc19c:0x62,_0x2fb596:0x7a,_0x3ae7a4:0x174,_0x370f37:0xf8,_0x368c16:0xce,_0x51f14b:0x11a,_0xd661a:0xf2,_0x1f728e:0x9d,_0x5c3034:0xa4,_0x114ab4:0x9c,_0x25c308:0x83,_0x4052a2:0xc8,_0xbbb37d:0x80,_0x1cea8c:0x7c,_0x3f1260:0xe1,_0x338d25:0xe0,_0x43c31c:0x115},_0x5c5e86={_0x33ec41:0x19a},_0x56f98a={_0x4a07c3:0x236};function _0x46dfb5(_0x55b901,_0x2d26d4,_0x6b8d4d,_0x1dca27){return _0x2fef(_0x55b901- -_0x56f98a._0x4a07c3,_0x2d26d4);}const _0x900d53=_0x2c784d();function _0x2b123a(_0x23e988,_0x2e608a,_0x33a41d,_0x272b0c){return _0x2fef(_0x33a41d- -_0x5c5e86._0x33ec41,_0x2e608a);}while(!![]){try{const _0x56a1d5=parseInt(_0x2b123a(-_0x5df4a6._0x1f16b1,-_0x5df4a6._0x2f4328,-0x90,-0x78))/(0x763+-0x1f68+0x1806)+-parseInt(_0x2b123a(-_0x5df4a6._0x1884e2,-_0x5df4a6._0x537232,-_0x5df4a6._0x4846c6,-_0x5df4a6._0x182d52))/(-0x62*0x42+-0x1f9+0xe1*0x1f)*(parseInt(_0x2b123a(-_0x5df4a6._0x1c9f8f,-0xbb,-_0x5df4a6._0x32fe9b,-_0x5df4a6._0x18acbf))/(-0xede+0x19a9+-0x8*0x159))+-parseInt(_0x2b123a(-0x6d,-_0x5df4a6._0x1de216,-_0x5df4a6._0x590d14,-_0x5df4a6._0x3eaa0e))/(0x158d+0x2*-0x5e9+0x3*-0x33d)*(-parseInt(_0x46dfb5(-_0x5df4a6._0x35c8cb,-0x130,-_0x5df4a6._0x5b1c29,-_0x5df4a6._0x2ad642))/(-0xaa1*-0x3+-0x2*-0x43+-0x2064))+-parseInt(_0x2b123a(-0x44,-_0x5df4a6._0x2cc19c,-0x2b,-0x20))/(-0x110e*-0x1+0xb*0x269+-0x2b8b)*(parseInt(_0x2b123a(-0xb2,-0xda,-_0x5df4a6._0x2fb596,-0x77))/(0x16f7*0x1+-0xe9*-0xb+-0x20f3))+parseInt(_0x46dfb5(-0x119,-0xcd,-_0x5df4a6._0x3ae7a4,-0xf4))/(0x1adb+0x3b*0x59+-0x2f56)*(-parseInt(_0x46dfb5(-_0x5df4a6._0x370f37,-_0x5df4a6._0x368c16,-0x100,-_0x5df4a6._0x51f14b))/(0x245+0x4*-0x8d5+0x2118))+-parseInt(_0x46dfb5(-_0x5df4a6._0xd661a,-0xb6,-_0x5df4a6._0x1f728e,-0xa3))/(-0x1a3*0x9+-0x1c78+0x2b3d*0x1)*(-parseInt(_0x46dfb5(-_0x5df4a6._0x5c3034,-_0x5df4a6._0x114ab4,-_0x5df4a6._0x25c308,-_0x5df4a6._0x4052a2))/(-0x19*-0xe3+-0x1*-0xb9c+-0x21bc))+-parseInt(_0x46dfb5(-0xc4,-_0x5df4a6._0xbbb37d,-0xa4,-_0x5df4a6._0x1cea8c))/(-0x20df*0x1+0x254+-0xbf*-0x29)*(-parseInt(_0x46dfb5(-_0x5df4a6._0x3f1260,-_0x5df4a6._0x338d25,-_0x5df4a6._0x43c31c,-0x91))/(0x1*-0x20ff+0x1d0e+0x3fe));if(_0x56a1d5===_0x13b6e4)break;else _0x900d53['push'](_0x900d53['shift']());}catch(_0x3d15be){_0x900d53['push'](_0x900d53['shift']());}}}(_0x4bc7,0x9ed29+0x32d19+-0x293f*0x2f));function _0x43e498(_0x11e1a4,_0x23ee59,_0x52dfb7,_0x13a555){return _0x2fef(_0x13a555- -0x5d,_0x23ee59);}import _0x1bf4c5 from'express';import{logger}from'../lib/logger.js';function _0x4bc7(){const _0x3c1665=['Dg9Rzw5jza','EePkrhu','twDgDMu','CMv2B2TLihrVAW','AwLfte4','DMTqwxa','teLJuwe','y2z0vMW','rMfPBgvKihrVia','zxr1Ca','ntCWnJC2n0PbANPUta','l3nLDhvW','tNrcEfm','u01uucbPCYbUBW','q2r4Bva','C2vUzcbWyxnZDW','p3rVA2vUpq','wNzsDuq','uM91DgvY','BwvUDcb2yxjPyq','D2HvtgO','tLvXt3q','DxnLCKLK','DMfSAwrHDguGDa','zgDdA00','DK1ktgW','BwvZC2fNzq','D21rrwi','A2vK','l2nYzwf0zs10BW','AhPrywe','BhnAzKq','nuzWrhLSAG','qujJAM0','l2vTywLSlwnVBG','A3DLEuC','tfPxEw0','suHzveC','B3b5ihrOzsbSAq','zM91BMq','vfaGzw52AxjVBG','CgfYyw1Z','u2Xqs2i','CMuGCMvXDwLYzq','v2LLC2q','CgfZC3DVCMqTCW','C2vUzcbLBwfPBa','DxnLCK5HBwu','EMPUwuG','zxqGDMLHihrVAW','C2v0ihbHC3n3BW','zxHWAxjLC19HDa','ywrTAw5jza','ihnLBNq','Aw5MBW','q05WqMC','zhjdwLO','zgvSzxrL','thzyCxC','rw1HAwWGBM90ia','odG1mJDYswPwsgW','Dg9Rzw4','ihnLDcb1Ccbttq','Ahfxze0','rfHPs1y','A2vU','l3nLDhvWlxbHCW','vgXnugi','AwWGC2vUDcb0BW','vg9Rzw4Gyw5Kia','nJqXmJrUAgfqCey','yxLXBvC','zgf0yq','vg9Rzw4GCMv2BW','yvfoBwG','ihjLCxvPCMvK','zwqGC3vJy2vZCW','DhLWzq','BeHTB0y','zxr1CcbLBwfPBa','Dg9Rzw5Z','AuTky1u','rhfmEui','B3vUza','zw1HAwXfCNjVCG','zxPtCxK','yw1L','D1ftru4','DurmCMe','mtCZnti4AgH2sfP5','DgfYz2v0vxnLCG','rgLbAMu','odG2nJq4qurrDvjP','BhvssgW','C3rHDhvZ','lIbqBgvHC2uGyW','C2v0DxbvCMW','tffnweO','zw1HAwW','qLHds1G','y29UzMLNihn0yq','tengwNa','DMfSAwq','t25dAfa','C3vIAMvJDa','y3LzDNy','y3jLyxrLihbHCW','qvnSrKi','uhP4ELi','y29UzMLNDxjLza','B2rHAfK','AuvyAwe','neDjue1Qza','vwDLC3i','qNHmzvO','DxnLCG','y29UzMLNDxjHDa','EezgDKC','z2v0','ugfZC3DVCMqGCW','DKvJu08','vKrowee','mJi1CK9HENfM','BMfTzq','uhnuzee','wuLHrwi','wxH0D3G','wKfnvg0','mtbtq0f5u3e','BMSGBwfUDwfSBa','vhLWzsbTDxn0ia','Aw9xDg0','vg9Rzw4GBM90ia','Aw9Uihn0yxr1CW','BgvUz3rO','tezKz20','vM9UvgK','z2v0ihvZzxiGDa','t0HWBxi','BeP3ueu','A3neu0O','BeDyvMS','C2jnzLq','C2z1BgX5','Cg9ZDa','mZu0ntC1r0zsEgPr','CgfZC3DVCMqTCG','zxHWAxjLC0LU','AvvRC0W','C0DJsKq','zNvSBhK','vxnLCIbjrcbPCW','uhfvCwu','ugPdDKu','l3rVA2vUCY86Dq','Dg9Rzw5uExbL','B2TLBIbJCMvHDa','wLPtEKC','z2v0igvTywLSia','ig9YicjYzxnLDa','mJqYnZm2oeTIBunWrq','igv4CgLYzwqGDa','DxnLCM5HBwu','C3DVCMqGDg9Rzq','uvDbz1i','uvDpDMm','C2v0Dxa','B2TLBG','qNLfCei','DhvZ','se1TwfK','mtjoBMTxufO','B2TLBKLK','CxvLCNK','mtjvs1ztBfi','zwqUifbSzwfZzq','t0DxDNG','zxjYB3i','l3rVA2vUCY86Da','vxnLCIbUB3qGzG','B2TLBNm','zw1HAwXtzw50','zNPOtxC','yM9KEq','wML5sfa','nYbKyxLZ','ugfZC3DVCMqGDa','ANnVBG','Dxn0igjLigf0ia','ywrTAw5vC2vYBG','sw52ywXPzcbVCG','svPyANG','u3D1tM4','z2DpDLi','qxzmvvu','rfn0wvC'];_0x4bc7=function(){return _0x3c1665;};return _0x4bc7();}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=_0x1bf4c5[_0x43e498(0x182,0x194,0x143,0x13d)]();router[_0x4cd458(0x3e3,0x44a,0x438,0x41b)](_0x43e498(0x2b,0x51,0xb8,0x89)+'fig',requireAuth,requireAdmin,async(_0x6c92bd,_0x3e02b3)=>{const _0x2e72ae={_0x1a3107:0x26d,_0x436fac:0x24e,_0x41d55f:0x2ae,_0xdec58e:0x2e6,_0x514b03:0x29b,_0x1b54b2:0x2db,_0x96ad7c:0x289,_0x2330d4:0x224,_0x429b3b:0x272,_0x3da0f1:0x288,_0x4213cf:0x268,_0x29fab6:0x282,_0x1f5b6e:0x24f,_0x436ced:0x293,_0x7c9dbd:0x27c,_0x3c2c92:0x1e2,_0x2b88df:0x1f1,_0x2e2bc5:0x249,_0x515e16:0x270,_0x1f98ae:0x28b,_0x5162cd:0x23c,_0x419eec:0x2d7,_0x10b8b9:0x28a,_0x36817a:0x28f,_0x370c6d:0x2bc,_0x14e0f2:0x27a,_0x2cf641:0x267,_0x47a304:0x28b,_0x12e721:0x256,_0x5c6397:0x280,_0x293659:0x251,_0x2a7a6a:0x2c7,_0x1c3bf5:0x2a1,_0x32c5fb:0x276,_0x2270d3:0x2eb,_0x99fffb:0x23d},_0x4a4da8={_0x31673f:0x1f3},_0x2f2e54={_0x41fa7e:0x21,_0x512cfe:0x4f};function _0x22a154(_0x358610,_0x292bf9,_0x3de8e6,_0x105fa8){return _0x4cd458(_0x358610-_0x2f2e54._0x41fa7e,_0x292bf9-_0x2f2e54._0x512cfe,_0x105fa8- -0x6c1,_0x3de8e6);}const _0x2ca10b={'VonTi':_0x4b49fa(0x283,0x282,_0x2e72ae._0x1a3107,0x23d)+_0x4b49fa(0x230,0x222,_0x2e72ae._0x436fac,0x1e0),'cyYvv':_0x22a154(-_0x2e72ae._0x41d55f,-0x33d,-0x2fa,-_0x2e72ae._0xdec58e),'Ugesr':function(_0x397fd0){return _0x397fd0();},'hwBpD':_0x4b49fa(0x24f,_0x2e72ae._0x514b03,_0x2e72ae._0x1b54b2,0x249)+_0x4b49fa(_0x2e72ae._0x96ad7c,_0x2e72ae._0x1a3107,0x29e,_0x2e72ae._0x2330d4)+_0x4b49fa(_0x2e72ae._0x429b3b,0x243,_0x2e72ae._0x3da0f1,0x25d)+_0x22a154(-_0x2e72ae._0x4213cf,-_0x2e72ae._0x29fab6,-_0x2e72ae._0x1f5b6e,-0x27a)};function _0x4b49fa(_0x5aa2f2,_0xdb1918,_0x22a25c,_0x1d4ab3){return _0x4cd458(_0x5aa2f2-0x1,_0xdb1918-0x77,_0xdb1918- -_0x4a4da8._0x31673f,_0x1d4ab3);}try{if(_0x22a154(-0x26b,-0x270,-0x27e,-_0x2e72ae._0x436ced)!==_0x2ca10b[_0x4b49fa(_0x2e72ae._0x7c9dbd,0x238,_0x2e72ae._0x3c2c92,_0x2e72ae._0x2b88df)]){const _0x1a6ec6=_0x2ca10b[_0x22a154(-_0x2e72ae._0x2e2bc5,-_0x2e72ae._0x515e16,-0x25f,-0x28e)](getEmailConfigStatus);_0x3e02b3[_0x22a154(-0x247,-0x253,-0x25c,-0x244)](_0x1a6ec6);}else{const _0x12200b={};return _0x12200b['valid']=![],_0x12200b[_0x22a154(-0x22b,-0x21b,-0x240,-_0x2e72ae._0x436fac)]=_0x2ca10b[_0x22a154(-_0x2e72ae._0x1f98ae,-_0x2e72ae._0x5162cd,-0x290,-0x277)],_0x230193[_0x4b49fa(_0x2e72ae._0x419eec,_0x2e72ae._0x10b8b9,0x267,0x270)](_0x12200b);}}catch(_0xdd36d9){logger[_0x4b49fa(0x29f,0x280,_0x2e72ae._0x36817a,_0x2e72ae._0x370c6d)]('Failed\x20to\x20'+_0x4b49fa(_0x2e72ae._0x14e0f2,0x26d,0x29f,0x2ba)+_0x22a154(-0x2ab,-_0x2e72ae._0x2cf641,-0x23c,-0x29b)+_0x22a154(-_0x2e72ae._0x47a304,-0x1f8,-0x2a8,-_0x2e72ae._0x12e721),_0xdd36d9);const _0x117560={};_0x117560[_0x4b49fa(0x253,_0x2e72ae._0x5c6397,0x22c,0x232)]=_0x2ca10b['hwBpD'],_0x3e02b3[_0x22a154(-_0x2e72ae._0x293659,-_0x2e72ae._0x2a7a6a,-0x241,-_0x2e72ae._0x1c3bf5)](-0x11af+-0x9*-0xbf+-0x2*-0x676)[_0x4b49fa(_0x2e72ae._0x32c5fb,0x28a,_0x2e72ae._0x2270d3,_0x2e72ae._0x99fffb)](_0x117560);}});function _0x2fef(_0x2475e9,_0x3953a4){_0x2475e9=_0x2475e9-(-0x1226*0x1+-0x1406+-0x8*-0x4e1);const _0x5d9fbd=_0x4bc7();let _0x2d348b=_0x5d9fbd[_0x2475e9];if(_0x2fef['wpIGtB']===undefined){var _0xdaa7ce=function(_0x7f63){const _0x283b44='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x244e38='',_0x31ac0f='';for(let _0x3dd31a=-0x9d8+-0x9a0+0x1378,_0x279cc8,_0x4b6914,_0x2ea2e3=0xc7b+-0x1*-0x1a3e+0x1af*-0x17;_0x4b6914=_0x7f63['charAt'](_0x2ea2e3++);~_0x4b6914&&(_0x279cc8=_0x3dd31a%(-0x1*0x1375+0x2*-0x9cb+0x270f)?_0x279cc8*(0x2ef+-0x2097+0x1de8)+_0x4b6914:_0x4b6914,_0x3dd31a++%(-0x2*-0xe55+-0x1330+-0x976))?_0x244e38+=String['fromCharCode'](0x1787+0x2463+0x3aeb*-0x1&_0x279cc8>>(-(0xc9a+-0x7d1+-0x4c7)*_0x3dd31a&-0x447+0x172e+-0x3*0x64b)):-0x1*0x1bcb+-0x10b0+-0x3b*-0xc1){_0x4b6914=_0x283b44['indexOf'](_0x4b6914);}for(let _0x2bd891=-0x1b*-0x15b+-0xa64+0x1a35*-0x1,_0x2dfe77=_0x244e38['length'];_0x2bd891<_0x2dfe77;_0x2bd891++){_0x31ac0f+='%'+('00'+_0x244e38['charCodeAt'](_0x2bd891)['toString'](0x1f93+0x183*-0x9+-0x17e*0xc))['slice'](-(0x7*0x503+0x1*0x1af5+-0x3e08));}return decodeURIComponent(_0x31ac0f);};_0x2fef['GGhUOu']=_0xdaa7ce,_0x2fef['bMPIWe']={},_0x2fef['wpIGtB']=!![];}const _0x1b2cf9=_0x5d9fbd[-0x21cf+0x75*-0x3c+-0x1469*-0x3],_0x3676e5=_0x2475e9+_0x1b2cf9,_0x4a55ce=_0x2fef['bMPIWe'][_0x3676e5];return!_0x4a55ce?(_0x2d348b=_0x2fef['GGhUOu'](_0x2d348b),_0x2fef['bMPIWe'][_0x3676e5]=_0x2d348b):_0x2d348b=_0x4a55ce,_0x2d348b;}function _0x4cd458(_0xe56732,_0x4f5148,_0x54da79,_0x305da2){const _0x2379df={_0x1ce104:0x2fe};return _0x2fef(_0x54da79-_0x2379df._0x1ce104,_0x305da2);}router[_0x43e498(0x10d,0xd9,0x156,0xf7)](_0x43e498(0x30,0xcc,0x9e,0x84)+_0x4cd458(0x465,0x3d1,0x403,0x465),requireAuth,requireAdmin,async(_0x383a5e,_0x28c5ad)=>{const _0x2f514f={_0x15ebd0:0x4f,_0x3b4ad7:0x4e,_0x340a49:0x92,_0x118a0d:0x47,_0x4c43ac:0x389,_0x4ffd42:0x3e5,_0x39e018:0x3a9,_0x59fe25:0x3f1,_0x55bc06:0x3de,_0x108a5e:0x38f,_0x49a012:0x3ba,_0x5cb381:0x3e2,_0x448d82:0x3be,_0x5ebc89:0x3df,_0x402ca3:0x40,_0x509612:0x21,_0x13a03e:0x18,_0x2bc904:0x434,_0xad5f3f:0x3b0,_0x2dba28:0x381,_0x24d04b:0x32f,_0x5748ec:0x26,_0x104b28:0x1,_0x23bd40:0x35,_0x39e543:0x25,_0x397aa2:0x19,_0x4229c6:0x42,_0x5e25bd:0x17,_0x2eb485:0x39,_0x3c4377:0x37f,_0xa32da8:0x33d,_0x42b455:0x353,_0x549fb9:0x3c,_0x46d8b2:0x3d7,_0x4d5aba:0x387,_0x4c3514:0x3bd,_0x404fff:0x3b5,_0x355e2c:0x90,_0x32c86d:0x4,_0x109b8c:0x5d,_0x2bb4cc:0x6e,_0x483366:0x52,_0x5e2add:0x5f,_0x1d00f1:0x8f,_0x2c0ff0:0x4d,_0x38b753:0xd,_0x3ca064:0x8,_0x2a53bf:0x347,_0xa9fd6c:0x3a1,_0x26b2ee:0x3ad,_0x2e934e:0x351,_0x57c91f:0x377,_0x2e4df7:0x6e,_0x5c5ba6:0x4a,_0x16145b:0x39,_0x3a6753:0xd,_0xeaf898:0x22,_0x5848bb:0x31,_0x848d20:0x2e,_0x3a08e9:0x320,_0x37d678:0x14,_0xb2257b:0x91,_0x800bb1:0x372,_0x2fda09:0x43a,_0x209973:0x84,_0xe79d94:0x23,_0x10d315:0x20,_0x529934:0x374,_0x2ae4ab:0x3eb,_0x4f32b0:0x3c1,_0x2bfa7b:0x378,_0x1a5fff:0x31d,_0x17f974:0x369,_0x4ed9a6:0x362,_0x364832:0x7a,_0x9465b5:0x2c,_0xb9c86:0x374,_0x2ac204:0x33c,_0x3525fe:0x388,_0x41ad06:0x3ca,_0x42a0e2:0x388,_0x31f962:0x3,_0x22b7d2:0x18,_0x29d9a9:0x74,_0x1e88dd:0x7,_0x3a1adf:0xd,_0x505563:0x3e4,_0x26f34f:0x56,_0xd06ee9:0x36,_0x5032ab:0x35e,_0x28ff95:0x2f0,_0x1a35cf:0x2f5,_0x36a7f7:0x39d,_0x54c0da:0x357,_0x23abc3:0x379,_0x4a1ae2:0x30,_0x84a681:0x86,_0x14d5ce:0x3cc,_0x2b03ba:0x316,_0xfe7948:0x329,_0x698663:0xa,_0x3123f7:0x59,_0x5bd744:0x1d,_0x4b41db:0x35c,_0x565085:0x3ed,_0x403f0e:0x3a1,_0x3d9fd8:0x4,_0x156f41:0x21,_0x54a5a3:0x17,_0x11247b:0x43,_0x5c112f:0x7f,_0x327e18:0x67,_0x4ce0ad:0xc,_0x2f3729:0x6,_0x396b1b:0x12,_0x31c231:0x48,_0x264eaa:0x1d,_0x5bf42b:0xa3,_0x7eb57:0x34b,_0x4eaa61:0x336,_0x26df95:0x83,_0x36a7d4:0x364,_0x12a5b4:0x315,_0x1c8992:0x38f,_0x8a69e6:0x366,_0x77e849:0x391,_0x345400:0x1a,_0x5d292f:0x1d,_0x1c8b68:0x73,_0xfb09f2:0x3d,_0x4d387b:0x3e,_0x3e68d2:0x381,_0x4f2828:0x37c,_0x475bc7:0x313,_0x4f1e1c:0x368,_0x31a6cf:0x80,_0x2dda6d:0x46,_0x512e5c:0x70,_0x39a30f:0x92,_0x34a5ce:0x3c9,_0x242873:0x3b7,_0x7e02d5:0x2f2,_0x359ff8:0x320,_0x513aa2:0x338,_0x2b1acb:0x47,_0x42f576:0x16,_0x22f889:0x85,_0x329b67:0x88,_0x1d91a9:0x9d,_0x3ad29b:0x415,_0x40c0b3:0x3f2,_0x39c207:0x336,_0x5d74b7:0xf,_0x15ed76:0x27,_0x5c18a8:0x3b,_0x16dcf4:0x3a7,_0x21f074:0x38a,_0x2b852d:0x36d,_0x2faf54:0x3c8,_0x5e15f4:0x36c,_0x45f349:0x314,_0xd39520:0x333,_0x54f108:0xe,_0xb5ea7f:0x9b,_0x5ed9c4:0x3f,_0x292e3b:0x335,_0x20f686:0x311,_0x183926:0x361,_0x49ad9f:0x3cf,_0x2c5ae2:0xc,_0x1529df:0x13,_0x370a39:0x19,_0x15d671:0x1c,_0x4566fb:0x9,_0x2e5d7d:0x36e,_0x13a4b8:0x38,_0x526477:0x3d,_0x33f3d4:0x419,_0x106f5a:0x3ce,_0x8eb3a:0x30a,_0x1e9e55:0x2b,_0x105cd1:0x2f6,_0x2e8142:0x7,_0x578375:0x32f,_0x116f77:0x368,_0x56d44d:0x38,_0x4635e7:0x32,_0x37389c:0x4f,_0x35f4b9:0x45,_0x518438:0x51,_0x135e1f:0x72,_0x5c4c11:0x3,_0x276bdd:0x3c,_0x50ba3d:0x32a,_0x43a61b:0x10,_0x5a46d9:0x39e,_0x458880:0x31f,_0x1a3908:0x2ee,_0x5ac625:0x2f3,_0x561fd7:0x345,_0x5bc58a:0x37e,_0x16a3ac:0x393,_0x4de11a:0x44,_0x49312a:0x36,_0x164b5b:0x7,_0x3373ca:0x6,_0xf81081:0x39b,_0x569bf8:0x3cb,_0xcbb4bd:0x3a3,_0x1430d6:0x2ca,_0x458ae4:0x31e,_0x11eb93:0x3a0,_0x54518c:0x383,_0x4f1296:0x3dc,_0x1b6de1:0x3ae,_0x50ba13:0x3b8,_0x3de745:0x340,_0xef0b1c:0x53,_0x4bb071:0x70,_0x2cf808:0x7c,_0x187c79:0x3e9,_0x2d5eb2:0x33},_0x435af0={_0xf6b76c:0x1cb,_0x33b9ab:0x1a8},_0x2b30eb={_0x4ce25f:0x102},_0x542646={'hqWdM':_0x5293ae(_0x2f514f._0x15ebd0,0x28,0x47,-0x14)+_0x5293ae(0x58,0x84,_0x2f514f._0x3b4ad7,0x60)+'ord\x20email','odahY':function(_0x5664ed){return _0x5664ed();},'uDLra':_0x5293ae(0x9f,_0x2f514f._0x340a49,_0x2f514f._0x118a0d,0x9d)+_0x5293ae(-0x9e,-0xab,-0x53,-0x96)+'rd','lJwPE':_0x5293ae(0x9e,0x13,_0x2f514f._0x118a0d,0x4a)+_0x13b83c(_0x2f514f._0x4c43ac,0x335,0x3cd,0x370)+_0x13b83c(0x401,_0x2f514f._0x4ffd42,0x35f,_0x2f514f._0x39e018)+'n','MgFve':_0x5293ae(0x38,0x4a,_0x2f514f._0x118a0d,0x43)+_0x13b83c(0x38e,_0x2f514f._0x59fe25,_0x2f514f._0x55bc06,_0x2f514f._0x108a5e)+_0x13b83c(0x3a9,0x404,0x3c6,_0x2f514f._0x49a012),'iEXia':function(_0x3c7f66,_0x5cd7ca){return _0x3c7f66===_0x5cd7ca;},'LIcQa':_0x13b83c(_0x2f514f._0x5cb381,0x406,0x398,_0x2f514f._0x448d82),'LvXqw':_0x13b83c(0x33e,_0x2f514f._0x5ebc89,0x36b,0x384),'iKJcU':_0x5293ae(0x2b,-_0x2f514f._0x402ca3,_0x2f514f._0x509612,-_0x2f514f._0x13a03e),'zeDjG':function(_0x52a4e5,_0x75fda){return _0x52a4e5===_0x75fda;},'ZvRuD':'mMXjF','ByEpB':_0x13b83c(0x3fe,_0x2f514f._0x2bc904,0x40b,0x3d6),'hnEsq':_0x13b83c(_0x2f514f._0xad5f3f,0x3bd,0x3d2,0x39d)+_0x13b83c(0x316,_0x2f514f._0x2dba28,_0x2f514f._0x24d04b,0x351),'xFFvG':'reset','ZZSzG':function(_0xd62d4f,_0x30abbb){return _0xd62d4f(_0x30abbb);},'ioWtm':function(_0x391d80,_0x69e41f,_0x66b748){return _0x391d80(_0x69e41f,_0x66b748);},'iMVxW':_0x5293ae(-_0x2f514f._0x5748ec,-_0x2f514f._0x104b28,_0x2f514f._0x23bd40,_0x2f514f._0x23bd40)+_0x5293ae(-_0x2f514f._0x39e543,0x47,0x17,-_0x2f514f._0x397aa2)+'ed','cftVl':'Password\x20t'+_0x5293ae(-_0x2f514f._0x509612,_0x2f514f._0x4229c6,_0x2f514f._0x5e25bd,0x19)+_0x5293ae(_0x2f514f._0x397aa2,-0x29,-_0x2f514f._0x2eb485,0x1)+_0x13b83c(0x3d2,_0x2f514f._0x3c4377,0x3e3,0x39c),'XNQgR':function(_0x16b6ba){return _0x16b6ba();},'UJZnO':_0x13b83c(0x392,_0x2f514f._0xa32da8,_0x2f514f._0x42b455,0x341)+_0x5293ae(-0x6f,-0xf,-0x18,_0x2f514f._0x549fb9),'VjJjF':_0x13b83c(0x40a,0x3b0,_0x2f514f._0x4c43ac,_0x2f514f._0x46d8b2)+'t\x20configur'+_0x13b83c(0x3e6,_0x2f514f._0x4d5aba,_0x2f514f._0x4c3514,_0x2f514f._0x404fff)+_0x5293ae(-0x1,-_0x2f514f._0x355e2c,-0x47,-0x53)+_0x5293ae(-0x95,-_0x2f514f._0x32c86d,-_0x2f514f._0x109b8c,-0x7d)+_0x5293ae(0x55,_0x2f514f._0x2bb4cc,_0x2f514f._0x483366,_0x2f514f._0x5e2add)+'bles\x20to\x20se'+'nd\x20emails.','xJJDu':function(_0x5c31ca,_0x454446){return _0x5c31ca!==_0x454446;},'rOEIG':_0x5293ae(-_0x2f514f._0x1d00f1,-_0x2f514f._0x1d00f1,-0x45,-_0x2f514f._0x2c0ff0),'AvLUU':_0x5293ae(-0x2c,0x33,_0x2f514f._0x38b753,0x2)+'eset','sbMfT':function(_0x144ee8,_0x3b26e7,_0x3762a5){return _0x144ee8(_0x3b26e7,_0x3762a5);},'SlPKb':function(_0x5695b0,_0x44e3df){return _0x5695b0(_0x44e3df);},'LZWym':function(_0x303f3d,_0x181f47){return _0x303f3d===_0x181f47;},'sGcJD':_0x5293ae(_0x2f514f._0x483366,0x8,-_0x2f514f._0x3ca064,0x23),'lGXVk':'Failed\x20to\x20'+_0x13b83c(0x301,0x34c,0x356,0x334)+_0x13b83c(_0x2f514f._0x2a53bf,_0x2f514f._0xa9fd6c,_0x2f514f._0x26b2ee,0x365)+'opy\x20the\x20li'+_0x13b83c(_0x2f514f._0x2e934e,_0x2f514f._0x57c91f,0x389,0x387)+'y.','ZAMTm':function(_0x1596ff,_0x5ab0b0){return _0x1596ff!==_0x5ab0b0;},'whULj':_0x5293ae(-_0x2f514f._0x2e4df7,-0x97,-0x6d,-0x23)};function _0x13b83c(_0x5d68fa,_0x3f9ef8,_0x44c635,_0x5d782e){return _0x43e498(_0x5d68fa-0x74,_0x3f9ef8,_0x44c635-_0x2b30eb._0x4ce25f,_0x5d782e-0x29f);}function _0x5293ae(_0x29681a,_0x55518,_0xc9071b,_0x5eaff9){return _0x43e498(_0x29681a-_0x435af0._0xf6b76c,_0x55518,_0xc9071b-_0x435af0._0x33b9ab,_0xc9071b- -0xec);}try{if(_0x542646[_0x5293ae(_0x2f514f._0x5c5ba6,-0x13,-0x16,-0x2f)](_0x542646[_0x5293ae(_0x2f514f._0x16145b,-_0x2f514f._0x3a6753,0x45,-0xa)],_0x542646[_0x13b83c(0x308,0x36d,0x32a,0x340)]))_0x2a7747['error'](_0x542646['hqWdM'],_0x4bfb51),_0xc2acd9[_0x5293ae(-0x78,_0x2f514f._0xeaf898,-_0x2f514f._0x5848bb,-_0x2f514f._0x848d20)]='Failed\x20to\x20'+_0x13b83c(0x341,_0x2f514f._0x3a08e9,0x342,0x334)+_0x13b83c(0x3a6,0x31d,0x336,0x365)+_0x5293ae(-0x99,-_0x2f514f._0x37d678,-0x5f,-_0x2f514f._0xb2257b)+'nk\x20manuall'+'y.';else{const {userId:_0x5388a7,type:type=_0x542646['iKJcU'],sendEmail:sendEmail=![]}=_0x383a5e[_0x13b83c(0x3fe,0x382,_0x2f514f._0x800bb1,0x3bd)];if(!_0x5388a7){if(_0x542646['zeDjG'](_0x542646[_0x13b83c(0x424,_0x2f514f._0x2fda09,0x3c7,0x3db)],_0x542646[_0x5293ae(0x58,_0x2f514f._0x209973,_0x2f514f._0xe79d94,_0x2f514f._0x10d315)])){const _0x2e9e6b=_0x542646[_0x13b83c(_0x2f514f._0x108a5e,0x33c,0x336,_0x2f514f._0x529934)](_0x2070bb);_0x11abd7[_0x13b83c(0x41c,_0x2f514f._0x2ae4ab,0x3fd,_0x2f514f._0x4f32b0)](_0x2e9e6b);}else{const _0x129841={};return _0x129841[_0x5293ae(0x21,0x66,0x2c,0x7d)]=_0x542646['hnEsq'],_0x28c5ad[_0x13b83c(0x341,0x380,_0x2f514f._0x2bfa7b,0x364)](0x256*-0x5+0x1*-0x5e6+-0x31*-0x64)['json'](_0x129841);}}if(![_0x542646[_0x5293ae(-0x39,-0x31,-0x34,-0x8d)],_0x542646[_0x13b83c(_0x2f514f._0x1a5fff,_0x2f514f._0x17f974,_0x2f514f._0x4ed9a6,0x37b)]]['includes'](type)){const _0x40a784={};return _0x40a784[_0x5293ae(-0x2,_0x2f514f._0x364832,_0x2f514f._0x9465b5,0x67)]=_0x13b83c(0x3d9,_0x2f514f._0xb9c86,_0x2f514f._0x2ac204,_0x2f514f._0x3525fe)+'be\x20\x22setup\x22'+_0x13b83c(_0x2f514f._0x41ad06,_0x2f514f._0x42a0e2,0x39b,0x3a5)+'\x22',_0x28c5ad['status'](0x1e51+-0x21aa+-0x4e9*-0x1)['json'](_0x40a784);}const _0x8a7bc6=await _0x542646[_0x5293ae(_0x2f514f._0x31f962,-0xc,_0x2f514f._0x22b7d2,0x5b)](findUserById,_0x5388a7);if(!_0x8a7bc6){const _0x422ef8={};return _0x422ef8[_0x5293ae(_0x2f514f._0x29d9a9,_0x2f514f._0x1e88dd,_0x2f514f._0x9465b5,-_0x2f514f._0x3a1adf)]=_0x13b83c(_0x2f514f._0x4ed9a6,0x3c5,_0x2f514f._0x505563,0x3b9)+_0x5293ae(-_0x2f514f._0x38b753,-_0x2f514f._0x26f34f,-0x32,-0x40),_0x28c5ad[_0x13b83c(0x3c3,0x312,0x321,0x364)](0x23f9+0x2*-0xc8b+-0x94f*0x1)[_0x5293ae(0x89,0x2d,_0x2f514f._0xd06ee9,0x69)](_0x422ef8);}const _0x239690=await _0x542646[_0x13b83c(0x39f,_0x2f514f._0x5032ab,0x3e7,0x389)](createPasswordToken,_0x5388a7,type),_0x1de737={};_0x1de737[_0x13b83c(_0x2f514f._0x28ff95,_0x2f514f._0x1a35cf,0x347,0x33a)]=_0x383a5e[_0x13b83c(_0x2f514f._0x36a7f7,_0x2f514f._0x54c0da,0x3ad,_0x2f514f._0x23abc3)]['id'],_0x1de737[_0x5293ae(0x36,0x8d,0x38,0x2c)+_0x5293ae(_0x2f514f._0x4a1ae2,-0x73,-0x2f,-_0x2f514f._0x84a681)]=_0x383a5e['user'][_0x13b83c(0x35b,_0x2f514f._0x14d5ce,0x3d3,0x3a8)],_0x1de737[_0x13b83c(_0x2f514f._0x2b03ba,0x360,_0x2f514f._0xfe7948,0x360)+'Id']=_0x5388a7,_0x1de737[_0x13b83c(0x374,0x39a,0x33e,0x360)+_0x5293ae(0x51,-0x3,-_0x2f514f._0x698663,-_0x2f514f._0x3123f7)]=_0x8a7bc6[_0x5293ae(0x6b,0x4d,_0x2f514f._0x5bd744,0x6f)],_0x1de737[_0x13b83c(_0x2f514f._0x4b41db,_0x2f514f._0x565085,0x3fc,_0x2f514f._0x403f0e)]=type,_0x1de737['sendEmail']=sendEmail,logger['info'](_0x542646['iMVxW'],_0x1de737);const _0x1a37ca=_0x542646[_0x5293ae(-_0x2f514f._0x3d9fd8,-_0x2f514f._0x156f41,0x18,0x21)](getRequestBaseUrl,_0x383a5e),_0x15994b=_0x1a37ca+(_0x5293ae(-_0x2f514f._0x54a5a3,-0x4b,-_0x2f514f._0x11247b,0xc)+'sword.html'+_0x5293ae(_0x2f514f._0x5c112f,_0x2f514f._0x327e18,_0x2f514f._0x15ebd0,_0x2f514f._0x4ce0ad))+_0x239690[_0x5293ae(-_0x2f514f._0x2f3729,-_0x2f514f._0x396b1b,-_0x2f514f._0x31c231,-_0x2f514f._0x264eaa)],_0xf67a68={};_0xf67a68['id']=_0x239690['id'],_0xf67a68['token']=_0x239690[_0x5293ae(-0x23,-_0x2f514f._0x5748ec,-0x48,-_0x2f514f._0x5bf42b)],_0xf67a68[_0x13b83c(_0x2f514f._0x7eb57,_0x2f514f._0x4eaa61,0x3a6,_0x2f514f._0x42b455)]=_0x239690[_0x5293ae(-0x14,-_0x2f514f._0x26df95,-0x38,-0x98)],_0xf67a68['expires_at']=_0x239690[_0x13b83c(0x342,_0x2f514f._0x36a7d4,_0x2f514f._0x12a5b4,0x339)],_0xf67a68[_0x13b83c(0x313,_0x2f514f._0x1c8992,0x317,_0x2f514f._0x8a69e6)]=_0x15994b;const _0x1ef839={};_0x1ef839['id']=_0x8a7bc6['id'],_0x1ef839[_0x13b83c(0x3aa,0x352,_0x2f514f._0x77e849,0x3a8)]=_0x8a7bc6[_0x5293ae(_0x2f514f._0x345400,0x6,_0x2f514f._0x5d292f,_0x2f514f._0x1c8b68)],_0x1ef839[_0x5293ae(-_0x2f514f._0xfb09f2,-_0x2f514f._0x4d387b,-0xa,-0x6a)]=_0x8a7bc6[_0x13b83c(_0x2f514f._0x24d04b,0x34b,_0x2f514f._0x4c43ac,_0x2f514f._0x3e68d2)],_0x1ef839[_0x13b83c(0x33b,_0x2f514f._0x4f2828,_0x2f514f._0x475bc7,0x368)]=_0x8a7bc6[_0x13b83c(0x3c5,0x34d,_0x2f514f._0x4f1e1c,0x368)];const _0x4cf676={};_0x4cf676['message']=_0x542646[_0x5293ae(_0x2f514f._0x31a6cf,0x5f,_0x2f514f._0x2dda6d,0x8c)],_0x4cf676[_0x5293ae(0xc,-_0x2f514f._0x512e5c,-_0x2f514f._0x31c231,-_0x2f514f._0x39a30f)]=_0xf67a68,_0x4cf676[_0x13b83c(0x3da,0x356,0x3c1,0x379)]=_0x1ef839,_0x4cf676['emailSent']=![];const _0x4c8946=_0x4cf676;if(sendEmail){if(!_0x542646['XNQgR'](isEmailConfigured)){const _0x1b4c03={};return _0x1b4c03[_0x13b83c(0x36e,0x409,_0x2f514f._0x34a5ce,_0x2f514f._0x242873)]=_0x542646['UJZnO'],_0x1b4c03[_0x13b83c(0x37f,0x35d,_0x2f514f._0x7e02d5,_0x2f514f._0x359ff8)]=_0x542646['VjJjF'],_0x28c5ad[_0x13b83c(0x395,0x308,_0x2f514f._0x513aa2,0x364)](0x1*0x13b5+-0x574*0x1+0xab*-0x13)[_0x5293ae(_0x2f514f._0x2b1acb,-_0x2f514f._0x42f576,0x36,0x93)](_0x1b4c03);}try{if(_0x542646[_0x5293ae(_0x2f514f._0x22f889,0x1c,_0x2f514f._0x402ca3,_0x2f514f._0x38b753)](_0x5293ae(-_0x2f514f._0x329b67,-_0x2f514f._0x1d91a9,-0x45,0x12),_0x542646['rOEIG'])){_0x32a2d9[_0x5293ae(-0x1c,0x7f,0x2c,0x65)](_0x542646['uDLra'],_0x2ee7e6);const _0x30bc73={};_0x30bc73[_0x13b83c(_0x2f514f._0x3ad29b,_0x2f514f._0x40c0b3,0x36d,_0x2f514f._0x242873)]=_0x542646[_0x13b83c(0x35f,_0x2f514f._0x39c207,0x3b3,0x35e)],_0x66d3a1[_0x5293ae(0x21,-_0x2f514f._0x5d74b7,-_0x2f514f._0x15ed76,_0x2f514f._0x5c18a8)](0x1*-0xd+0x904+-0x167*0x5)['json'](_0x30bc73);}else{const _0x5515ba=type===_0x542646[_0x13b83c(_0x2f514f._0x16dcf4,_0x2f514f._0x21f074,_0x2f514f._0x513aa2,0x37b)]?_0x542646[_0x13b83c(0x3e4,0x3e8,_0x2f514f._0x2b852d,_0x2f514f._0x2faf54)]:_0x13b83c(_0x2f514f._0x5e15f4,0x382,_0x2f514f._0x45f349,_0x2f514f._0xd39520)+_0x5293ae(-_0x2f514f._0x54f108,_0x2f514f._0xb5ea7f,_0x2f514f._0x31c231,_0x2f514f._0x5ed9c4),_0xccbb0d={};_0xccbb0d[_0x13b83c(_0x2f514f._0x1a5fff,_0x2f514f._0x513aa2,_0x2f514f._0x2bfa7b,_0x2f514f._0x292e3b)]=_0x8a7bc6[_0x13b83c(0x347,0x324,0x3d6,0x381)],_0xccbb0d['username']=_0x8a7bc6[_0x5293ae(0x7d,-0x5,_0x2f514f._0x5bd744,0x4c)],_0xccbb0d[_0x13b83c(_0x2f514f._0x20f686,_0x2f514f._0x183926,0x3b5,0x366)]=_0x15994b,_0xccbb0d[_0x13b83c(0x384,_0x2f514f._0x49ad9f,0x3b7,0x399)]=_0x13b83c(0x39c,0x3b1,0x3d1,0x3bf),_0xccbb0d[_0x5293ae(-0x5,_0x2f514f._0x2c5ae2,-0x38,_0x2f514f._0x1529df)]=type;const _0x13ac12=_0xccbb0d,{subject:_0x2d9628}=_0x542646[_0x5293ae(_0x2f514f._0x370a39,-_0x2f514f._0x15d671,_0x2f514f._0x4566fb,-0x1a)](renderTemplate,_0x5515ba,_0x13ac12),_0xabf047={};_0xabf047['to']=_0x8a7bc6['email'],_0xabf047[_0x13b83c(_0x2f514f._0x292e3b,0x3bc,0x3ac,_0x2f514f._0x2e5d7d)]=_0x2d9628,_0xabf047['template']=_0x5515ba,_0xabf047[_0x5293ae(-_0x2f514f._0x13a4b8,-0x97,-_0x2f514f._0x526477,-0x83)]=_0x13ac12,await _0x542646[_0x5293ae(-0x21,0x3,-0x5b,_0x2f514f._0x32c86d)](sendTemplatedEmail,_0xabf047),_0x4c8946[_0x13b83c(0x3e6,_0x2f514f._0x33f3d4,_0x2f514f._0x106f5a,0x3bb)]=!![],_0x4c8946[_0x13b83c(0x33e,_0x2f514f._0x8eb3a,0x37b,0x320)]='Password\x20t'+_0x5293ae(_0x2f514f._0x1e9e55,0x27,0x17,-_0x2f514f._0x39e543)+'ed\x20and\x20ema'+_0x13b83c(0x317,_0x2f514f._0x105cd1,0x2ed,0x34a)+'\x20'+_0x8a7bc6[_0x5293ae(-_0x2f514f._0x2e8142,-0x6a,-_0x2f514f._0xe79d94,-0x6)];const _0x1118cb={};_0x1118cb['to']=_0x8a7bc6[_0x13b83c(0x3c6,_0x2f514f._0x45f349,_0x2f514f._0x578375,_0x2f514f._0x116f77)],_0x1118cb[_0x5293ae(-0x16,-0x61,-_0x2f514f._0x56d44d,-_0x2f514f._0x4635e7)]=type,_0x1118cb['username']=_0x8a7bc6['username'],logger[_0x5293ae(-0x29,-_0x2f514f._0x15d671,-_0x2f514f._0x37389c,-0x1c)]('Password\x20s'+_0x5293ae(-0x2d,-_0x2f514f._0x35f4b9,-_0x2f514f._0xd06ee9,-_0x2f514f._0x518438)+_0x5293ae(-_0x2f514f._0x135e1f,_0x2f514f._0x5c4c11,-0x50,-_0x2f514f._0x276bdd),_0x1118cb);}}catch(_0x39f507){if(_0x542646[_0x13b83c(_0x2f514f._0x21f074,0x379,0x2f3,_0x2f514f._0x50ba3d)]('atoka',_0x542646[_0x5293ae(-0x7,0x68,_0x2f514f._0x43a61b,0x66)])){_0xdc3bfe['error'](_0x542646['lJwPE'],_0x1b528d);const _0x3b6003={};_0x3b6003[_0x5293ae(0x60,-0x30,0x2c,-_0x2f514f._0x9465b5)]=_0x542646['lJwPE'],_0x3d488e[_0x13b83c(0x306,_0x2f514f._0x5a46d9,0x321,0x364)](-0x4*0x143+0xdf+0x1*0x621)['json'](_0x3b6003);}else logger[_0x13b83c(0x3f1,0x3d4,0x357,_0x2f514f._0x242873)](_0x542646[_0x13b83c(_0x2f514f._0x458880,_0x2f514f._0x1a3908,_0x2f514f._0x5ac625,_0x2f514f._0x561fd7)],_0x39f507),_0x4c8946[_0x13b83c(0x392,0x307,_0x2f514f._0x475bc7,0x35a)]=_0x542646[_0x13b83c(0x369,_0x2f514f._0x5bc58a,0x373,_0x2f514f._0x16a3ac)];}}_0x28c5ad[_0x5293ae(_0x2f514f._0x4de11a,0x7a,_0x2f514f._0x49312a,-_0x2f514f._0x164b5b)](_0x4c8946);}}catch(_0x34fbd4){if(_0x542646[_0x5293ae(0x9,0x7,-_0x2f514f._0x3373ca,-0x37)](_0x542646[_0x13b83c(_0x2f514f._0xf81081,_0x2f514f._0x569bf8,_0x2f514f._0xcbb4bd,_0x2f514f._0x55bc06)],_0x13b83c(0x355,_0x2f514f._0x1430d6,0x33f,_0x2f514f._0x458ae4))){_0x34d75a[_0x13b83c(_0x2f514f._0x11eb93,_0x2f514f._0x54518c,_0x2f514f._0x4f1296,_0x2f514f._0x242873)](_0x542646[_0x13b83c(_0x2f514f._0x1b6de1,_0x2f514f._0x50ba13,0x428,0x3cc)],_0x2475e9);const _0x1ade29={};_0x1ade29[_0x13b83c(_0x2f514f._0x403f0e,0x3a2,0x3b8,_0x2f514f._0x242873)]=_0x5293ae(0xa1,0xa4,_0x2f514f._0x118a0d,0x2)+_0x13b83c(0x39f,0x36c,_0x2f514f._0x3de745,0x38f)+'okens',_0x3953a4['status'](-0x26*-0xa7+-0xb41+-0xb95)[_0x5293ae(_0x2f514f._0xef0b1c,_0x2f514f._0x4bb071,0x36,0x33)](_0x1ade29);}else{logger[_0x5293ae(_0x2f514f._0x15ed76,0x37,0x2c,-_0x2f514f._0x4ce0ad)](_0x13b83c(0x3f6,0x3ba,0x40f,0x3d2)+_0x13b83c(0x376,0x3a5,_0x2f514f._0x12a5b4,0x370)+'sword\x20toke'+'n',_0x34fbd4);const _0x4fc63e={};_0x4fc63e[_0x5293ae(_0x2f514f._0x2cf808,0x7b,0x2c,0x3d)]=_0x542646[_0x13b83c(_0x2f514f._0x2e934e,0x3d5,_0x2f514f._0x187c79,0x391)],_0x28c5ad[_0x5293ae(-_0x2f514f._0x2eb485,-0x29,-0x27,0x17)](-0x1*-0x1a38+-0x1342+-0x1*0x502)[_0x5293ae(_0x2f514f._0x2d5eb2,0x6e,_0x2f514f._0x49312a,_0x2f514f._0xfb09f2)](_0x4fc63e);}}}),router[_0x4cd458(0x495,0x3ea,0x438,0x3dc)]('/validate-'+_0x4cd458(0x3c7,0x3c4,0x3ff,0x438),async(_0x23f5ba,_0x486448)=>{const _0x294d54={_0x44800e:0x2c2,_0x429809:0x2db,_0x312b4d:0x21c,_0x455fde:0x22a,_0x232026:0x1f7,_0x4ab048:0x2b0,_0x1326ad:0x339,_0x2327ac:0x4f6,_0x3507f2:0x473,_0x2e565b:0x487,_0x2680df:0x49c,_0x41652:0x2bf,_0x2972f5:0x2af,_0x5d1390:0x2e5,_0x51c122:0x2f6,_0x18808b:0x261,_0x243366:0x299,_0x3e29c1:0x24a,_0x50d061:0x425,_0x8a8987:0x46d,_0x48db75:0x4c3,_0x3b1b96:0x457,_0x356e96:0x477,_0x3d9412:0x435,_0x3a4573:0x2e0,_0x2171fe:0x2d5,_0x3f335b:0x448,_0x17ccaa:0x439,_0x15e37f:0x46d,_0x5dca2e:0x473,_0x50415d:0x49e,_0x2d2b67:0x224,_0x24923c:0x270,_0x172321:0x22e,_0x579199:0x23a,_0x188acc:0x21f,_0x572533:0x4fd,_0x318bec:0x4ac,_0x435c91:0x259,_0x48a66d:0x2ac,_0x340fcc:0x24d,_0x10da86:0x233,_0x4d56a6:0x275,_0x4dddf9:0x42a,_0x45ce99:0x49d,_0x31d8ea:0x466,_0x3ab4fa:0x4b6,_0x201e81:0x4f0,_0x486af7:0x4c0,_0x1e1c9f:0x467,_0x2659c3:0x4b5,_0x3544d9:0x487,_0x3ea5b2:0x4b6,_0x5f0183:0x26c,_0x4877af:0x297,_0x49cf3c:0x4e2,_0xb86fbf:0x26b,_0x2b9b7d:0x294,_0x5c19ea:0x29f,_0x31937d:0x214,_0xa22e5a:0x201,_0x56f0f2:0x23f,_0x2f7140:0x47d,_0xcaac7a:0x4df,_0x2ee00e:0x48b,_0x5f2226:0x3fa,_0xba0d4b:0x44c,_0xab9264:0x283,_0x256fca:0x288,_0x5b8a23:0x23f,_0xcce471:0x249,_0xc89bc2:0x298,_0x4966fe:0x4c1,_0x551240:0x403,_0x35dc0b:0x463,_0x1227b3:0x4fe,_0x2181a3:0x490,_0x4fdd2a:0x4a7,_0xb8912f:0x24c,_0x454d00:0x23c,_0x2a82ae:0x27f,_0x3da6e3:0x410,_0x1ceb77:0x452,_0x5eb811:0x432,_0x17d884:0x452,_0x4ff79a:0x478,_0x2719f0:0x1f0,_0x5f12d2:0x3da,_0x377b9e:0x32d,_0x6293cf:0x331,_0x11408e:0x479,_0x340edd:0x4e8,_0x2b40e1:0x4b6,_0x1019bc:0x1ff,_0x26bdd8:0x24c,_0x171911:0x4a7,_0x28ded8:0x4f0,_0x437d60:0x4d1,_0x275651:0x532,_0x5a0143:0x242,_0x159d1c:0x46b,_0x3c9d95:0x4b2,_0x179cb4:0x491,_0x332d92:0x2d6,_0x4e7b22:0x45a,_0x7cb83c:0x463,_0x54e530:0x522,_0x6fae3d:0x47e},_0x1f1c82={_0x4af968:0x124},_0x34b53e={_0x1f592f:0x54,_0xb52dcb:0x361},_0x5089b9={};_0x5089b9['BXCKX']='Invalid\x20or'+_0x4639c8(0x4df,0x480,0x4bb,0x4a6)+'oken',_0x5089b9[_0x374e82(-0x293,-0x2ab,-_0x294d54._0x44800e,-_0x294d54._0x429809)]=_0x374e82(-_0x294d54._0x312b4d,-_0x294d54._0x455fde,-_0x294d54._0x232026,-0x247)+'ound',_0x5089b9[_0x374e82(-0x2be,-_0x294d54._0x4ab048,-_0x294d54._0x1326ad,-0x2d9)]=_0x4639c8(_0x294d54._0x2327ac,_0x294d54._0x3507f2,_0x294d54._0x2e565b,_0x294d54._0x2680df)+_0x374e82(-_0x294d54._0x41652,-0x29d,-0x283,-_0x294d54._0x2972f5),_0x5089b9[_0x374e82(-_0x294d54._0x5d1390,-_0x294d54._0x51c122,-_0x294d54._0x18808b,-_0x294d54._0x243366)]='Token\x20is\x20r'+'equired',_0x5089b9[_0x374e82(-0x207,-0x267,-0x1ff,-_0x294d54._0x3e29c1)]='UcMki',_0x5089b9[_0x4639c8(0x3d4,0x44b,_0x294d54._0x50d061,0x423)]=function(_0x4e1ada,_0x52b209){return _0x4e1ada!==_0x52b209;};function _0x374e82(_0x14f201,_0x4b641a,_0x24957b,_0x270425){return _0x43e498(_0x14f201-_0x34b53e._0x1f592f,_0x24957b,_0x24957b-0x17c,_0x270425- -_0x34b53e._0xb52dcb);}_0x5089b9[_0x4639c8(_0x294d54._0x8a8987,_0x294d54._0x48db75,_0x294d54._0x3b1b96,_0x294d54._0x356e96)]='tPGPV',_0x5089b9[_0x4639c8(0x45f,0x46a,0x3f7,_0x294d54._0x3d9412)]=function(_0x46849b,_0x57dd06){return _0x46849b===_0x57dd06;},_0x5089b9[_0x374e82(-_0x294d54._0x3a4573,-0x2de,-0x2c2,-_0x294d54._0x2171fe)]=_0x4639c8(_0x294d54._0x3f335b,0x467,_0x294d54._0x17ccaa,0x448);function _0x4639c8(_0x2cb6c6,_0x1665d7,_0x756725,_0x5c7108){return _0x43e498(_0x2cb6c6-0x196,_0x2cb6c6,_0x756725-_0x1f1c82._0x4af968,_0x5c7108-0x39e);}_0x5089b9[_0x4639c8(0x4e9,_0x294d54._0x15e37f,_0x294d54._0x5dca2e,_0x294d54._0x50415d)]=_0x374e82(-_0x294d54._0x2d2b67,-_0x294d54._0x24923c,-0x26e,-_0x294d54._0x172321)+_0x374e82(-_0x294d54._0x579199,-0x1fb,-0x230,-_0x294d54._0x188acc)+_0x4639c8(_0x294d54._0x572533,0x4e2,0x468,_0x294d54._0x318bec);const _0x24abac=_0x5089b9;try{const {token:_0x22e6f3}=_0x23f5ba[_0x374e82(-0x2a2,-_0x294d54._0x435c91,-_0x294d54._0x48a66d,-_0x294d54._0x340fcc)];if(!_0x22e6f3){const _0x5ecbc6={};return _0x5ecbc6[_0x374e82(-_0x294d54._0x10da86,-_0x294d54._0x4d56a6,-0x24a,-0x249)]=_0x24abac[_0x4639c8(_0x294d54._0x4dddf9,_0x294d54._0x45ce99,0x473,_0x294d54._0x31d8ea)],_0x5ecbc6['valid']=![],_0x486448[_0x374e82(-0x2d9,-0x2f6,-0x292,-0x29c)](0x1083+-0xf2f*-0x1+0xe*-0x227)[_0x4639c8(0x4fb,_0x294d54._0x3ab4fa,_0x294d54._0x201e81,_0x294d54._0x486af7)](_0x5ecbc6);}const _0x29dc6b=await validateToken(_0x22e6f3);if(!_0x29dc6b){if(_0x24abac['OGWvx']!==_0x24abac[_0x4639c8(0x472,_0x294d54._0x1e1c9f,0x466,_0x294d54._0x2659c3)]){const _0x1c2b25={};return _0x1c2b25[_0x4639c8(_0x294d54._0x3544d9,0x4d4,0x474,_0x294d54._0x3ea5b2)]=_0x24abac[_0x374e82(-0x2a4,-_0x294d54._0x5f0183,-0x24d,-_0x294d54._0x4877af)],_0x139dc3['status'](-0x1*-0x789+0x4bb*0x7+-0x2716)[_0x4639c8(0x4a3,_0x294d54._0x49cf3c,0x4a9,_0x294d54._0x486af7)](_0x1c2b25);}else{const _0x5aad09={};return _0x5aad09[_0x374e82(-0x278,-_0x294d54._0xb86fbf,-0x29e,-_0x294d54._0x2b9b7d)]=![],_0x5aad09[_0x374e82(-_0x294d54._0x5c19ea,-_0x294d54._0x2b9b7d,-_0x294d54._0x31937d,-0x249)]=_0x24abac['BXCKX'],_0x486448[_0x374e82(-_0x294d54._0xa22e5a,-0x248,-0x244,-_0x294d54._0x56f0f2)](_0x5aad09);}}const _0x51acaa=await findUserById(_0x29dc6b[_0x4639c8(_0x294d54._0x2f7140,0x4a0,0x4e3,_0x294d54._0xcaac7a)]);if(!_0x51acaa){if(_0x24abac[_0x374e82(-0x28b,-0x2de,-0x2ce,-0x2dc)](_0x4639c8(_0x294d54._0x2ee00e,0x458,_0x294d54._0x5f2226,_0x294d54._0xba0d4b),_0x24abac[_0x374e82(-0x2dd,-_0x294d54._0xab9264,-0x246,-_0x294d54._0x256fca)])){const _0x39ac48={};return _0x39ac48['valid']=![],_0x39ac48['error']=_0x24abac['lsZfD'],_0x486448['json'](_0x39ac48);}else{const _0x2e4dfd={};return _0x2e4dfd[_0x374e82(-_0x294d54._0x5b8a23,-0x1ee,-0x27f,-_0x294d54._0xcce471)]=_0x24abac[_0x374e82(-0x33b,-_0x294d54._0xc89bc2,-0x305,-_0x294d54._0x429809)],_0x2d2265[_0x4639c8(_0x294d54._0x4966fe,0x43e,_0x294d54._0x551240,_0x294d54._0x35dc0b)](0x1980+0xd1c*-0x1+-0xad*0x10)['json'](_0x2e4dfd);}}const _0x4686f1={};_0x4686f1[_0x4639c8(0x4b8,_0x294d54._0x1227b3,0x4ae,0x4a7)]=_0x51acaa[_0x4639c8(_0x294d54._0x2181a3,0x506,0x4cb,_0x294d54._0x4fdd2a)],_0x4686f1[_0x374e82(-0x245,-_0x294d54._0xb8912f,-_0x294d54._0x454d00,-_0x294d54._0x2a82ae)]=_0x51acaa['name'];const _0x3e428c={};_0x3e428c['valid']=!![],_0x3e428c[_0x4639c8(_0x294d54._0x3da6e3,0x4a4,0x44e,_0x294d54._0x1ceb77)]=_0x29dc6b[_0x4639c8(_0x294d54._0x5eb811,0x42c,0x3f2,_0x294d54._0x17d884)],_0x3e428c[_0x4639c8(0x474,0x479,0x427,_0x294d54._0x4ff79a)]=_0x4686f1,_0x486448[_0x374e82(-0x27f,-0x21a,-_0x294d54._0x2719f0,-0x23f)](_0x3e428c);}catch(_0x1618d0){if(_0x24abac[_0x4639c8(0x3d9,_0x294d54._0x5f12d2,0x427,_0x294d54._0x3d9412)](_0x24abac[_0x374e82(-0x32a,-_0x294d54._0x377b9e,-_0x294d54._0x6293cf,-0x2d5)],_0x24abac['IHYTG'])){logger[_0x4639c8(_0x294d54._0x11408e,0x4a3,_0x294d54._0x340edd,_0x294d54._0x2b40e1)](_0x24abac[_0x374e82(-_0x294d54._0x1019bc,-0x2a2,-_0x294d54._0x26bdd8,-0x261)],_0x1618d0);const _0x1a38eb={};_0x1a38eb['error']=_0x4639c8(_0x294d54._0x171911,_0x294d54._0x28ded8,0x491,_0x294d54._0x437d60)+_0x4639c8(0x4b4,0x495,_0x294d54._0x275651,0x4e0)+_0x374e82(-_0x294d54._0x5a0143,-0x245,-0x26d,-0x253),_0x1a38eb[_0x4639c8(0x43d,0x43f,0x41a,_0x294d54._0x159d1c)]=![],_0x486448[_0x374e82(-0x2d1,-0x2a5,-0x295,-0x29c)](0x493*0x7+-0x1c75+-0x19c)[_0x374e82(-0x1e8,-0x288,-0x265,-_0x294d54._0x5b8a23)](_0x1a38eb);}else{const _0x1dc4ad={};return _0x1dc4ad[_0x4639c8(_0x294d54._0x3c9d95,0x4f0,_0x294d54._0x179cb4,_0x294d54._0x3ea5b2)]=_0x24abac[_0x374e82(-0x2c7,-_0x294d54._0x332d92,-0x27f,-0x2d9)],_0x5c19ad[_0x4639c8(0x42a,0x429,_0x294d54._0x4e7b22,_0x294d54._0x7cb83c)](-0x40d+-0x19cd+0x2*0xfb5)[_0x4639c8(_0x294d54._0x54e530,0x49e,_0x294d54._0x6fae3d,_0x294d54._0x486af7)](_0x1dc4ad);}}}),router[_0x43e498(0x14b,0xca,0x11d,0xf7)](_0x43e498(0x13b,0x16c,0x16e,0x136),async(_0x24b728,_0x1b437b)=>{const _0x5e41d2={_0x37fa06:0x391,_0x101d44:0x329,_0x3c35df:0x35a,_0x137c31:0x19b,_0x1ebcd6:0x1d2,_0x24eed6:0x336,_0x38ecb0:0x18b,_0x6ec880:0x18a,_0x491faf:0x26b,_0xf7385d:0x1c1,_0x254fca:0x379,_0x202737:0x326,_0xf5c3c4:0x362,_0x2c654f:0x283,_0x38eca4:0x231,_0x5a0fec:0x339,_0xa99832:0x32d,_0x3d04b3:0x342,_0x156183:0x365,_0x35fd67:0x201,_0x3ec4af:0x222,_0x129bec:0x156,_0x777249:0x1b1,_0x5df99b:0x208,_0x51deb8:0x2f1,_0x5277b9:0x237,_0x2f454e:0x20e,_0x3ff48a:0x31d,_0x27bcfb:0x2b3,_0x2fecff:0x29e,_0x405d8f:0x2ec,_0x1017f4:0x210,_0x4fbda5:0x1b1,_0x3c4a7f:0x1dc,_0x514f78:0x235,_0x2c96b1:0x352,_0x1f9594:0x35d,_0x4eaf26:0x2b7,_0x508d49:0x2e0,_0x66556a:0x1d8,_0x48efe9:0x1d7,_0x25f9c8:0x1a1,_0x39b412:0x18f,_0x57c0ad:0x1a7,_0x486b5d:0x333,_0x86eef6:0x2c2,_0x8935dc:0x269,_0x43748e:0x206,_0x24522e:0x1e6,_0x32237a:0x1e3,_0x2ac97a:0x1aa,_0x723b23:0x227,_0x9e7283:0x225,_0x3a035c:0x218,_0x1afdd6:0x234,_0xa19583:0x1ed,_0x40f841:0x253,_0x57b6f7:0x1d4,_0x3497b8:0x204,_0x76a793:0x367,_0xb163a3:0x30d,_0x4fc0a0:0x35d,_0x13ac4f:0x35e,_0x4fd9d8:0x394,_0x2672a1:0x266,_0x21aab1:0x238,_0x3908b3:0x204,_0x5dd373:0x20e,_0x1e4186:0x360,_0x9eb0bd:0x189,_0x5b0d18:0x3a2,_0x115f47:0x39d,_0x65c4ce:0x317,_0x184655:0x353,_0x39aeae:0x19a,_0x29e7ba:0x1b0,_0x432c70:0x347,_0x421415:0x2f4,_0x52a409:0x2f9,_0x3926f6:0x2a3,_0x5105cd:0x34e,_0x3d8ce4:0x387,_0x308835:0x34e,_0x11d9e9:0x390,_0x41fbd6:0x30f,_0x441998:0x35c,_0x39926c:0x37c,_0x4a9d78:0x2cb,_0x59741a:0x32a,_0x385700:0x355,_0x1d0570:0x21f,_0xbe66cc:0x1ef,_0x3ae975:0x1fc,_0x11009f:0x2b9,_0x1acb27:0x321,_0x345a01:0x2fe,_0x327cbf:0x343,_0x140b49:0x1e7,_0x54746e:0x1f0,_0x4729a1:0x27c,_0x34d168:0x33e,_0x5d8285:0x2de,_0x2744f:0x252,_0x52fcb2:0x204,_0x30be81:0x1fe,_0x58b219:0x1b7,_0x17dce6:0x181,_0x5a8153:0x313,_0xbbb7a7:0x364,_0x289840:0x36d,_0x582496:0x192,_0x429e6e:0x1ac,_0x40030c:0x175},_0x5bd331={_0x2cff80:0xa9};function _0x1a7f5(_0x5eaba9,_0x431ad4,_0x4667e6,_0x227b02){return _0x43e498(_0x5eaba9-0xe4,_0x227b02,_0x4667e6-0x1ad,_0x4667e6- -0x2c9);}function _0x5c2917(_0x4238c3,_0x1527e1,_0xb6c19d,_0xc8454d){return _0x43e498(_0x4238c3-0x4e,_0x1527e1,_0xb6c19d-_0x5bd331._0x2cff80,_0xb6c19d-0x245);}const _0x24f9db={'lHmoF':'Password\x20m'+_0x5c2917(0x31e,_0x5e41d2._0x37fa06,0x368,_0x5e41d2._0x101d44)+'least\x208\x20ch'+'aracters','ggOvR':_0x5c2917(0x31e,_0x5e41d2._0x3c35df,0x36a,0x366)+_0x1a7f5(-0x1de,-_0x5e41d2._0x137c31,-0x1c1,-_0x5e41d2._0x1ebcd6)+'oken','kweyG':function(_0x214595,_0x142318){return _0x214595<_0x142318;},'fNUsE':function(_0x4de5be,_0x1a5845){return _0x4de5be(_0x1a5845);},'ASlFB':function(_0x4766f0,_0x45afeb){return _0x4766f0(_0x45afeb);},'DqLyB':function(_0x4110bb,_0x557a2b){return _0x4110bb===_0x557a2b;},'SwuNn':_0x5c2917(0x311,0x37c,_0x5e41d2._0x24eed6,0x320),'aQNmh':_0x1a7f5(-_0x5e41d2._0x38ecb0,-0x19b,-0x1d6,-_0x5e41d2._0x6ec880),'iiELN':'User\x20not\x20f'+_0x1a7f5(-_0x5e41d2._0x491faf,-_0x5e41d2._0xf7385d,-0x20f,-0x248),'NUqOt':function(_0x3d5a05,_0x351215,_0x5cc998){return _0x3d5a05(_0x351215,_0x5cc998);},'wQSEN':_0x5c2917(_0x5e41d2._0x254fca,_0x5e41d2._0x202737,0x323,_0x5e41d2._0xf5c3c4)+_0x1a7f5(-0x241,-_0x5e41d2._0x2c654f,-_0x5e41d2._0x38eca4,-0x222)+'en','vEcSO':'Password\x20s'+'et\x20success'+_0x5c2917(_0x5e41d2._0x5a0fec,_0x5e41d2._0xa99832,_0x5e41d2._0x3d04b3,_0x5e41d2._0x156183),'Wiesd':_0x1a7f5(-0x1f7,-_0x5e41d2._0x35fd67,-0x1fd,-_0x5e41d2._0x3ec4af)};try{const {token:_0x57e316,password:_0x28f475}=_0x24b728['body'];if(!_0x57e316||!_0x28f475){const _0x4374c6={};return _0x4374c6[_0x1a7f5(-_0x5e41d2._0x129bec,-0x190,-_0x5e41d2._0x777249,-_0x5e41d2._0x5df99b)]=_0x5c2917(0x2f4,0x2fb,_0x5e41d2._0x51deb8,0x2fd)+'password\x20a'+_0x1a7f5(-0x266,-0x25a,-_0x5e41d2._0x5277b9,-0x1fd)+'d',_0x1b437b[_0x1a7f5(-_0x5e41d2._0x2f454e,-0x25b,-0x204,-0x238)](0x131c+0x1d9e+-0x2f2a)[_0x5c2917(0x3b3,_0x5e41d2._0x3ff48a,0x367,0x36b)](_0x4374c6);}if(_0x24f9db[_0x5c2917(_0x5e41d2._0x27bcfb,_0x5e41d2._0x2fecff,0x2cf,_0x5e41d2._0x405d8f)](_0x28f475[_0x1a7f5(-_0x5e41d2._0x1017f4,-_0x5e41d2._0x4fbda5,-_0x5e41d2._0x3c4a7f,-_0x5e41d2._0x514f78)],-0x2419*0x1+0x5*-0x26f+0x304c)){const _0x372e28={};return _0x372e28[_0x5c2917(0x349,_0x5e41d2._0x2c96b1,_0x5e41d2._0x1f9594,0x31e)]=_0x24f9db[_0x5c2917(_0x5e41d2._0x4eaf26,0x2f5,0x2fa,_0x5e41d2._0x508d49)],_0x1b437b[_0x1a7f5(-0x22a,-0x229,-0x204,-_0x5e41d2._0x66556a)](0x17*0x177+0x89e*0x1+-0x28bf)[_0x1a7f5(-0x209,-_0x5e41d2._0x48efe9,-0x1a7,-0x16a)](_0x372e28);}const _0x1cdd35=await _0x24f9db['fNUsE'](validateToken,_0x57e316);if(!_0x1cdd35){const _0x3ca9f6={};return _0x3ca9f6[_0x5c2917(0x339,0x3b3,_0x5e41d2._0x1f9594,_0x5e41d2._0x156183)]=_0x24f9db[_0x1a7f5(-0x1cf,-0x154,-_0x5e41d2._0x25f9c8,-0x183)],_0x1b437b['status'](0x2*0x16f+-0x937*-0x2+-0x13bc)[_0x1a7f5(-0x201,-_0x5e41d2._0x39b412,-_0x5e41d2._0x57c0ad,-0x19b)](_0x3ca9f6);}const _0xc4f297=await _0x24f9db[_0x5c2917(_0x5e41d2._0x486b5d,0x32e,0x317,_0x5e41d2._0x86eef6)](findUserById,_0x1cdd35[_0x1a7f5(-0x1e6,-0x1bd,-0x188,-0x1cb)]);if(!_0xc4f297){if(_0x24f9db[_0x1a7f5(-_0x5e41d2._0x8935dc,-_0x5e41d2._0x43748e,-0x210,-0x1e8)](_0x24f9db[_0x1a7f5(-_0x5e41d2._0x24522e,-_0x5e41d2._0x32237a,-0x1a2,-_0x5e41d2._0x2ac97a)],_0x24f9db[_0x1a7f5(-_0x5e41d2._0x723b23,-_0x5e41d2._0x9e7283,-_0x5e41d2._0x3a035c,-_0x5e41d2._0x491faf)])){const _0x5435b5={};return _0x5435b5['error']=_0x24f9db[_0x1a7f5(-_0x5e41d2._0x1afdd6,-_0x5e41d2._0xa19583,-0x214,-_0x5e41d2._0x40f841)],_0x51362e[_0x1a7f5(-_0x5e41d2._0x57b6f7,-0x23d,-_0x5e41d2._0x3497b8,-0x262)](0x1a9a+0xc5*0x29+-0x525*0xb)[_0x5c2917(0x38b,0x32c,_0x5e41d2._0x76a793,0x380)](_0x5435b5);}else{const _0x4527e4={};return _0x4527e4[_0x5c2917(_0x5e41d2._0xb163a3,0x305,_0x5e41d2._0x4fc0a0,0x34e)]=_0x24f9db[_0x5c2917(_0x5e41d2._0x13ac4f,0x3aa,0x374,_0x5e41d2._0x4fd9d8)],_0x1b437b[_0x1a7f5(-_0x5e41d2._0x2672a1,-_0x5e41d2._0x21aab1,-_0x5e41d2._0x3908b3,-_0x5e41d2._0x5dd373)](0x11f2+0x99a*-0x2+0x79*0x6)[_0x5c2917(0x331,0x35c,_0x5e41d2._0x76a793,_0x5e41d2._0x1e4186)](_0x4527e4);}}await _0x24f9db[_0x1a7f5(-0x1b1,-0x1e3,-_0x5e41d2._0x9eb0bd,-0x128)](setUserPassword,_0x1cdd35[_0x5c2917(_0x5e41d2._0x5b0d18,_0x5e41d2._0x115f47,0x386,0x343)],_0x28f475),await _0x24f9db[_0x5c2917(0x341,0x36f,_0x5e41d2._0x65c4ce,_0x5e41d2._0x184655)](markTokenAsUsed,_0x57e316);const _0x321eee={};_0x321eee['userId']=_0xc4f297['id'],_0x321eee[_0x1a7f5(-0x1ca,-_0x5e41d2._0x39aeae,-0x1c0,-_0x5e41d2._0x29e7ba)]=_0xc4f297['username'],_0x321eee[_0x5c2917(0x394,0x380,_0x5e41d2._0x432c70,_0x5e41d2._0x421415)]=_0x1cdd35[_0x5c2917(0x2ab,0x359,_0x5e41d2._0x52a409,0x2f1)],logger['info'](_0x24f9db[_0x5c2917(_0x5e41d2._0x3926f6,0x359,0x303,0x2e2)],_0x321eee);const _0x1e8d11={};_0x1e8d11['id']=_0xc4f297['id'],_0x1e8d11[_0x5c2917(0x3b0,0x2f3,_0x5e41d2._0x5105cd,0x350)]=_0xc4f297[_0x5c2917(0x379,_0x5e41d2._0x3d8ce4,_0x5e41d2._0x308835,_0x5e41d2._0x11d9e9)],_0x1e8d11[_0x5c2917(_0x5e41d2._0x41fbd6,_0x5e41d2._0x441998,0x327,_0x5e41d2._0x39926c)]=_0xc4f297[_0x5c2917(0x2f7,_0x5e41d2._0x4a9d78,0x327,0x2df)];const _0x411774={};_0x411774['message']=_0x24f9db[_0x5c2917(_0x5e41d2._0x59741a,0x2d1,0x324,_0x5e41d2._0x385700)],_0x411774[_0x1a7f5(-0x1f7,-_0x5e41d2._0x1d0570,-_0x5e41d2._0xbe66cc,-_0x5e41d2._0x3ae975)]=_0x1e8d11,_0x1b437b['json'](_0x411774);}catch(_0x5d2069){if(_0x24f9db[_0x5c2917(_0x5e41d2._0x11009f,_0x5e41d2._0x1acb27,0x2fe,_0x5e41d2._0x345a01)](_0x24f9db[_0x1a7f5(-0x25f,-0x1fa,-0x236,-_0x5e41d2._0x35fd67)],_0x24f9db['Wiesd'])){logger[_0x5c2917(_0x5e41d2._0x13ac4f,0x388,0x35d,_0x5e41d2._0x327cbf)]('Failed\x20to\x20'+_0x5c2917(0x326,0x2a4,0x2de,0x2d8)+'rd',_0x5d2069);const _0x53493b={};_0x53493b[_0x1a7f5(-0x211,-_0x5e41d2._0x140b49,-_0x5e41d2._0x4fbda5,-_0x5e41d2._0x54746e)]='Failed\x20to\x20'+_0x5c2917(_0x5e41d2._0x4729a1,_0x5e41d2._0x34d168,_0x5e41d2._0x5d8285,_0x5e41d2._0x4a9d78)+'rd',_0x1b437b[_0x1a7f5(-0x22d,-_0x5e41d2._0x2744f,-_0x5e41d2._0x52fcb2,-0x232)](-0x1ad4+-0x10f7+0x1*0x2dbf)['json'](_0x53493b);}else{const _0x3c58b7={};return _0x3c58b7[_0x1a7f5(-0x259,-_0x5e41d2._0x30be81,-0x1fc,-0x235)]=![],_0x3c58b7[_0x1a7f5(-_0x5e41d2._0x58b219,-_0x5e41d2._0x17dce6,-0x1b1,-0x1af)]=_0x24f9db[_0x5c2917(_0x5e41d2._0x5a8153,_0x5e41d2._0xbbb7a7,_0x5e41d2._0x289840,0x336)],_0x1fc87f[_0x1a7f5(-_0x5e41d2._0x582496,-_0x5e41d2._0x429e6e,-0x1a7,-_0x5e41d2._0x40030c)](_0x3c58b7);}}}),router[_0x43e498(0x117,0xce,0xfe,0xdd)](_0x4cd458(0x495,0x429,0x45c,0x42e)+'serId',requireAuth,requireAdmin,async(_0x5648df,_0x2ead3b)=>{const _0x2fd111={_0x57a809:0x26d,_0x13aec0:0x263,_0x2a72a0:0x239,_0x286609:0x2c2,_0x4f693c:0x1a0,_0x3732ec:0x1db,_0x59dd96:0x1fb,_0x369bdf:0x1f0,_0x3bd5ff:0x21f,_0x3a8d03:0x232,_0x1ad59c:0x2df,_0x3ce2b9:0x28d,_0x248c0f:0x22a,_0x4ec04f:0x20b,_0x542b07:0x270,_0x39880c:0x206,_0x4f39c9:0x224,_0x5b79da:0x2de,_0x35aa74:0x259,_0xba139b:0x294,_0x3286f4:0x27e,_0xbd7ee4:0x27b,_0x5e83e0:0x29b,_0x23f855:0x25b,_0x5573bc:0x20e,_0x5b1c17:0x2a5,_0x3a4990:0x29f,_0x998acc:0x243,_0x44fc71:0x291,_0x3372de:0x25a,_0x3e1376:0x2e7,_0x4e17db:0x20c,_0x1f35bf:0x206,_0x252920:0x27a,_0x7d2fe7:0x219,_0x12d5e8:0x286,_0x384191:0x266,_0x54ef82:0x295,_0x4f61ff:0x219,_0x1d5044:0x233,_0x4229ae:0x25e,_0x47a4b4:0x2a3,_0x42b3e0:0x2c2,_0x46b717:0x24e,_0x299fde:0x267,_0x3fd70c:0x25b,_0x28035d:0x200},_0x4b3eac={_0x21f6fa:0xe2};function _0x17e6b7(_0x15d981,_0xcbba9e,_0x3938d4,_0x585167){return _0x43e498(_0x15d981-0x158,_0xcbba9e,_0x3938d4-0xa4,_0x585167-0x141);}function _0x53ef66(_0x2aa22f,_0x32663e,_0x4cd2e8,_0x465876){return _0x4cd458(_0x2aa22f-0x177,_0x32663e-_0x4b3eac._0x21f6fa,_0x2aa22f- -0x6d8,_0x465876);}const _0x458268={'VDNXA':function(_0x5acad9){return _0x5acad9();},'HMmXY':function(_0x32b794,_0x1785bb){return _0x32b794(_0x1785bb);},'CNpBg':function(_0x13c46b,_0x2c660b){return _0x13c46b!==_0x2c660b;},'fzhMw':_0x53ef66(-0x2b9,-0x2fb,-0x2fa,-_0x2fd111._0x57a809),'gjBNO':_0x53ef66(-_0x2fd111._0x13aec0,-0x20b,-_0x2fd111._0x2a72a0,-_0x2fd111._0x286609)+_0x17e6b7(_0x2fd111._0x4f693c,_0x2fd111._0x3732ec,0x25d,_0x2fd111._0x59dd96),'QWAgR':function(_0x20af07,_0x3bb578){return _0x20af07(_0x3bb578);},'IZXjx':_0x53ef66(-0x24a,-_0x2fd111._0x369bdf,-0x21e,-0x283)+'get\x20user\x20t'+_0x53ef66(-0x262,-0x214,-_0x2fd111._0x3bd5ff,-_0x2fd111._0x3a8d03)};try{const {userId:_0x26145c}=_0x5648df['params'],_0x4c18db=await _0x458268[_0x17e6b7(0x212,0x261,0x21c,0x252)](findUserById,_0x26145c);if(!_0x4c18db){if(_0x458268[_0x53ef66(-_0x2fd111._0x1ad59c,-0x2a8,-0x2d6,-_0x2fd111._0x3ce2b9)](_0x17e6b7(0x265,_0x2fd111._0x248c0f,0x2ab,0x24d),_0x458268[_0x53ef66(-0x260,-0x29f,-_0x2fd111._0x4ec04f,-0x28e)])){const _0x1ef6a8={};return _0x1ef6a8[_0x17e6b7(_0x2fd111._0x542b07,0x2a2,0x239,0x259)]=_0x458268['gjBNO'],_0x2ead3b[_0x17e6b7(0x268,0x1b1,0x1b3,_0x2fd111._0x39880c)](-0x1*-0x2267+0x355+0x90a*-0x4)[_0x17e6b7(_0x2fd111._0x4f39c9,0x202,0x2b4,_0x2fd111._0x13aec0)](_0x1ef6a8);}else try{const _0x52d0f0=_0x458268[_0x53ef66(-0x29d,-0x292,-0x28a,-_0x2fd111._0x5b79da)](_0x4d5f54);_0x17f065[_0x17e6b7(0x23f,0x276,0x2b3,_0x2fd111._0x13aec0)](_0x52d0f0);}catch(_0x368f3d){_0x2ee547[_0x17e6b7(0x1f7,0x2ae,0x2bb,_0x2fd111._0x35aa74)]('Failed\x20to\x20'+_0x53ef66(-0x278,-_0x2fd111._0xba139b,-_0x2fd111._0x3286f4,-_0x2fd111._0xbd7ee4)+_0x53ef66(-0x2b2,-_0x2fd111._0x5e83e0,-_0x2fd111._0x23f855,-0x301)+_0x17e6b7(0x29b,_0x2fd111._0x5e83e0,_0x2fd111._0x5573bc,0x251),_0x368f3d);const _0x18b28d={};_0x18b28d[_0x17e6b7(_0x2fd111._0x5b1c17,0x287,_0x2fd111._0x3a4990,0x259)]='Failed\x20to\x20'+'get\x20email\x20'+_0x53ef66(-0x2a2,-_0x2fd111._0x998acc,-0x2ae,-0x2a5)+_0x53ef66(-_0x2fd111._0x44fc71,-_0x2fd111._0x3372de,-_0x2fd111._0x3e1376,-0x29c),_0x547d60[_0x17e6b7(0x250,0x1fc,_0x2fd111._0x4e17db,_0x2fd111._0x1f35bf)](0x1*0xa0c+0x1859+-0x2071)['json'](_0x18b28d);}}const _0xdf45d5=await _0x458268[_0x53ef66(-0x272,-_0x2fd111._0x252920,-_0x2fd111._0x998acc,-_0x2fd111._0x7d2fe7)](getUserTokens,_0x26145c),_0x332c42={};_0x332c42[_0x53ef66(-0x2c6,-_0x2fd111._0x12d5e8,-_0x2fd111._0x384191,-_0x2fd111._0x54ef82)]=_0xdf45d5,_0x2ead3b[_0x17e6b7(_0x2fd111._0x4f61ff,_0x2fd111._0x1d5044,_0x2fd111._0x4229ae,_0x2fd111._0x13aec0)](_0x332c42);}catch(_0x1b672d){logger['error'](_0x53ef66(-0x24a,-0x298,-0x247,-0x291)+'get\x20user\x20t'+'okens',_0x1b672d);const _0x534091={};_0x534091[_0x17e6b7(_0x2fd111._0xbd7ee4,_0x2fd111._0x47a4b4,0x252,_0x2fd111._0x35aa74)]=_0x458268[_0x17e6b7(_0x2fd111._0x42b3e0,0x284,_0x2fd111._0x46b717,_0x2fd111._0x299fde)],_0x2ead3b[_0x17e6b7(0x261,0x232,0x22c,0x206)](0x37*0x5d+0x1*-0x464+-0xda3)[_0x53ef66(-_0x2fd111._0x3fd70c,-0x21a,-_0x2fd111._0x28035d,-_0x2fd111._0x59dd96)](_0x534091);}}),router[_0x43e498(0xed,0x57,0xa6,0xa0)](_0x43e498(0xb7,0x11c,0xef,0x119)+_0x43e498(0xee,0x12e,0x10b,0x113),requireAuth,requireAdmin,async(_0x3490b7,_0x5b4fd0)=>{const _0x161e49={_0x209e00:0x2a0,_0x1a7fa1:0x2ab,_0x5e2656:0x1ef,_0x12ee64:0x2b7,_0x3088ae:0x1f4,_0x14ec18:0x1ae,_0x4173dc:0x1fb,_0x27cd94:0x1d0,_0x55dbae:0x29b,_0x3ec1be:0x2b4,_0x53fe01:0x21e,_0x59e83a:0x21e,_0x3589e4:0x26e,_0x3ac986:0x26f,_0x12ffec:0x252,_0x3a93a7:0x29d,_0x2a8375:0x281,_0x191465:0x1b2,_0x394bd8:0x1aa,_0x259edf:0x232,_0x5b1eaf:0x224,_0x122af2:0x1df,_0x163cfa:0x207,_0x3b8557:0x274,_0x35a525:0x217,_0x3203d6:0x254,_0x3891cc:0x214,_0x1f9724:0x1e5,_0x1f76f0:0x1e0,_0xa8a352:0x25b,_0x37343a:0x291,_0x544c2b:0x241,_0x37dbbe:0x220,_0xed6cee:0x1c8,_0x2474d0:0x16f,_0x5183eb:0x243,_0x2bec8f:0x233,_0x529b55:0x2d8,_0x3541d8:0x26a,_0x57739a:0x2a3,_0x3c9d89:0x28c,_0x3a29c4:0x246,_0x15747a:0x1ff,_0x40d45:0x249,_0x4b91e0:0x230,_0x31edc6:0x248,_0xc913d4:0x22a,_0x1bef7d:0x21f,_0x5738fe:0x206,_0x928111:0x22e,_0x497964:0x211,_0x3b5dc2:0x209,_0x32af59:0x1eb,_0x37cfc3:0x256,_0xe6fa9:0x1b5,_0x117489:0x230,_0x54268f:0x204,_0x235f79:0x229,_0x84def9:0x25d,_0x59a139:0x2bb,_0x1fda62:0x212,_0x598654:0x1b7,_0xd20bb2:0x216,_0x18734a:0x230,_0x3fe2b0:0x22d,_0x17a86f:0x1aa,_0x4a7881:0x1e7,_0x42dc45:0x1b9,_0x155382:0x2c3,_0x115141:0x262,_0x436496:0x29c,_0x550dd2:0x2c1,_0x167eaa:0x22b,_0x1c9730:0x21a,_0x4fbc96:0x176,_0x472f09:0x1f6,_0x1d8cbb:0x1fb,_0x48583d:0x1df,_0x5c6408:0x1c8,_0x225be5:0x1c5,_0x2de900:0x1d7,_0x1ae4a8:0x21b,_0x46b350:0x219,_0x580fef:0x1c9,_0x39bf81:0x213},_0x56b860={_0x518a61:0x158};function _0x4a63d4(_0x1d70f7,_0x4c40a4,_0x3f4d73,_0x5f56ac){return _0x43e498(_0x1d70f7-0x19d,_0x5f56ac,_0x3f4d73-0x171,_0x1d70f7- -0x2e0);}const _0x22d664={'OnChP':'Failed\x20to\x20'+_0x5c2464(_0x161e49._0x209e00,0x243,_0x161e49._0x1a7fa1,0x289)+_0x5c2464(0x21e,_0x161e49._0x5e2656,0x29d,0x24f)+'tus','LFdgm':_0x5c2464(0x2ca,0x255,0x2bf,_0x161e49._0x12ee64)+'get\x20email\x20'+'configurat'+_0x4a63d4(-_0x161e49._0x3088ae,-0x21b,-0x1c7,-_0x161e49._0x14ec18),'DStYW':_0x4a63d4(-0x1f7,-_0x161e49._0x4173dc,-0x1f2,-0x20c)+'be\x20\x22setup\x22'+'\x20or\x20\x22reset'+'\x22','wmQEb':function(_0x58af08,_0x31306a){return _0x58af08!==_0x31306a;},'sTxOj':_0x4a63d4(-0x1fd,-0x1db,-0x1e1,-_0x161e49._0x27cd94),'ezSqy':_0x5c2464(0x30d,0x301,_0x161e49._0x55dbae,_0x161e49._0x3ec1be),'iUksL':function(_0x4ad7df,_0x2b68f7){return _0x4ad7df(_0x2b68f7);},'CdxmP':function(_0x421ed2,_0x423fb2){return _0x421ed2===_0x423fb2;},'PqUqe':_0x4a63d4(-_0x161e49._0x53fe01,-0x1ee,-_0x161e49._0x59e83a,-0x25d),'drCZZ':'NzTme','Tsuzu':_0x5c2464(_0x161e49._0x3589e4,0x297,0x22b,_0x161e49._0x3ac986)+_0x4a63d4(-_0x161e49._0x12ffec,-_0x161e49._0x3a93a7,-0x272,-_0x161e49._0x2a8375),'epEnt':_0x5c2464(0x2da,0x290,0x295,0x2b7)+_0x4a63d4(-_0x161e49._0x191465,-0x1c2,-_0x161e49._0x394bd8,-0x169)+'en'};function _0x5c2464(_0x7d8244,_0x51fe4c,_0xa4841a,_0x17102f){return _0x43e498(_0x7d8244-_0x56b860._0x518a61,_0xa4841a,_0xa4841a-0x21,_0x17102f-0x184);}try{if(_0x22d664[_0x4a63d4(-0x25e,-_0x161e49._0x259edf,-0x225,-0x22a)](_0x22d664['sTxOj'],_0x22d664[_0x4a63d4(-_0x161e49._0x5b1eaf,-_0x161e49._0x122af2,-_0x161e49._0x163cfa,-_0x161e49._0x3b8557)])){const {tokenId:_0x4d8e9b}=_0x3490b7[_0x5c2464(_0x161e49._0x35a525,_0x161e49._0x3203d6,0x23a,_0x161e49._0x3891cc)],_0x113328=await _0x22d664[_0x4a63d4(-_0x161e49._0x1f9724,-_0x161e49._0x1f76f0,-0x1c5,-0x1a4)](revokeToken,_0x4d8e9b);if(!_0x113328){if(_0x22d664[_0x5c2464(0x270,0x2ca,_0x161e49._0xa8a352,0x2bd)](_0x22d664[_0x5c2464(0x245,_0x161e49._0x37343a,0x293,0x283)],_0x22d664[_0x4a63d4(-_0x161e49._0x544c2b,-_0x161e49._0x37dbbe,-0x25b,-_0x161e49._0x3589e4)])){_0x263e42[_0x4a63d4(-_0x161e49._0xed6cee,-_0x161e49._0x2474d0,-0x219,-0x177)](_0x22d664[_0x4a63d4(-0x212,-_0x161e49._0x5183eb,-_0x161e49._0x2bec8f,-0x213)],_0x1345de);const _0x4ab77b={};_0x4ab77b[_0x5c2464(0x2bc,_0x161e49._0x529b55,_0x161e49._0x3541d8,0x29c)]=_0x22d664[_0x5c2464(0x25c,_0x161e49._0x57739a,_0x161e49._0x3c9d89,0x272)],_0x1292b1[_0x5c2464(_0x161e49._0x3a29c4,_0x161e49._0x15747a,0x254,_0x161e49._0x40d45)](0x1262+-0xfb*0x1+-0xf73)['json'](_0x4ab77b);}else{const _0x4e46b2={};return _0x4e46b2['error']=_0x22d664['Tsuzu'],_0x5b4fd0[_0x5c2464(_0x161e49._0x4b91e0,0x1ef,_0x161e49._0x31edc6,0x249)](-0x2*-0x9ac+0x9*0x2a8+-0xc*0x379)['json'](_0x4e46b2);}}const _0x219004={};_0x219004[_0x5c2464(0x1e3,_0x161e49._0xc913d4,0x1e2,_0x161e49._0x1bef7d)]=_0x3490b7[_0x4a63d4(-_0x161e49._0x5738fe,-_0x161e49._0x928111,-_0x161e49._0x497964,-_0x161e49._0x3b5dc2)]['id'],_0x219004['adminUsern'+'ame']=_0x3490b7[_0x4a63d4(-_0x161e49._0x5738fe,-0x24f,-_0x161e49._0x32af59,-_0x161e49._0x37cfc3)]['username'],_0x219004[_0x4a63d4(-_0x161e49._0xe6fa9,-0x16a,-0x19a,-0x1e3)]=_0x4d8e9b,logger['info'](_0x4a63d4(-_0x161e49._0x117489,-0x26f,-_0x161e49._0x54268f,-_0x161e49._0x235f79)+_0x4a63d4(-_0x161e49._0x84def9,-0x216,-_0x161e49._0x59a139,-_0x161e49._0x1fda62),_0x219004);const _0x2e24ce={};_0x2e24ce[_0x5c2464(_0x161e49._0x598654,0x257,_0x161e49._0xd20bb2,0x205)]=_0x4a63d4(-_0x161e49._0x18734a,-0x271,-_0x161e49._0x3fe2b0,-_0x161e49._0x54268f)+'ked\x20succes'+_0x4a63d4(-0x1ea,-_0x161e49._0x17a86f,-_0x161e49._0x4a7881,-_0x161e49._0x42dc45),_0x5b4fd0['json'](_0x2e24ce);}else{const _0x371fe0={};return _0x371fe0[_0x5c2464(0x2e8,_0x161e49._0x155382,_0x161e49._0x115141,_0x161e49._0x436496)]=_0x22d664[_0x5c2464(0x269,0x2eb,_0x161e49._0x550dd2,0x2ae)],_0x1c1f2c[_0x5c2464(_0x161e49._0x3203d6,_0x161e49._0x167eaa,_0x161e49._0x1c9730,_0x161e49._0x40d45)](-0x2242+-0x2*-0x4f7+-0x679*-0x4)[_0x4a63d4(-0x1be,-0x161,-_0x161e49._0x4fbc96,-_0x161e49._0x472f09)](_0x371fe0);}}catch(_0x4513c2){logger[_0x4a63d4(-0x1c8,-_0x161e49._0x1d8cbb,-0x1a9,-_0x161e49._0x48583d)](_0x22d664['epEnt'],_0x4513c2);const _0x22ac16={};_0x22ac16[_0x4a63d4(-_0x161e49._0x5c6408,-0x1c9,-_0x161e49._0x225be5,-_0x161e49._0x2de900)]=_0x22d664['epEnt'],_0x5b4fd0[_0x4a63d4(-_0x161e49._0x1ae4a8,-_0x161e49._0x46b350,-_0x161e49._0x580fef,-_0x161e49._0x39bf81)](-0x1f7b+-0x106b+0x58a*0x9)['json'](_0x22ac16);}});export default router;