@profoundlogic/coderflow-server 0.9.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (185) hide show
  1. package/dist/coder-server.js +1 -1
  2. package/dist/config/skill-catalog.json +9 -0
  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/docsify-proxy-helper.js +1 -1
  154. package/dist/web-ui/public/environments.js +1 -1
  155. package/dist/web-ui/public/feedback-widget.js +1 -1
  156. package/dist/web-ui/public/file-selection-tree.js +1 -1
  157. package/dist/web-ui/public/git-history-lazy-utils.js +1 -1
  158. package/dist/web-ui/public/git-history.js +1 -1
  159. package/dist/web-ui/public/git-status.js +1 -1
  160. package/dist/web-ui/public/ibmi-file-filter.js +1 -1
  161. package/dist/web-ui/public/index.js +1 -1
  162. package/dist/web-ui/public/login.js +1 -1
  163. package/dist/web-ui/public/markdown-editor.js +1 -1
  164. package/dist/web-ui/public/markdown-file-editor.js +1 -1
  165. package/dist/web-ui/public/modal-maximize.js +1 -1
  166. package/dist/web-ui/public/notifications.js +1 -1
  167. package/dist/web-ui/public/permissions.js +1 -1
  168. package/dist/web-ui/public/pr-dialog.js +1 -1
  169. package/dist/web-ui/public/roles.js +1 -1
  170. package/dist/web-ui/public/settings.js +1 -1
  171. package/dist/web-ui/public/setup-password.js +1 -1
  172. package/dist/web-ui/public/skills.js +1 -1
  173. package/dist/web-ui/public/sse-client.js +1 -1
  174. package/dist/web-ui/public/sse-client.transport-warning.js +1 -1
  175. package/dist/web-ui/public/sse-shared-worker.js +1 -1
  176. package/dist/web-ui/public/styles.css +111 -0
  177. package/dist/web-ui/public/task-judging-helpers.js +1 -1
  178. package/dist/web-ui/public/task.html +1 -1
  179. package/dist/web-ui/public/task.js +1 -1
  180. package/dist/web-ui/public/teams.js +1 -1
  181. package/dist/web-ui/public/terminal.js +1 -1
  182. package/dist/web-ui/public/theme.js +1 -1
  183. package/dist/web-ui/public/users.js +1 -1
  184. package/dist/web-ui/public/variant-grouping.js +1 -1
  185. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x59fad2,_0x40b7fe){const _0x31e1c9={_0x15d049:0x16e,_0x10d531:0x14b,_0x3f2d17:0x194,_0x42ea37:0x18d,_0x43686c:0x1c3,_0x1a4f89:0x19a,_0x13647d:0x17f,_0x34064e:0x1b3,_0x4057bc:0x1a9,_0x13f367:0x1ad,_0x15189f:0x126,_0x1857cb:0x174,_0x56353e:0x19e,_0x1a26b3:0x176,_0x2742c0:0x18b,_0x20c17a:0x20d,_0xd9c3ae:0x257,_0x3e617a:0x25d,_0x427196:0x275};function _0x35470e(_0x413673,_0x5ed8a9,_0xedeb13,_0x56e6d9){return _0x44a1(_0x413673- -0x2da,_0xedeb13);}const _0x368982=_0x59fad2();function _0x55ae68(_0xee5f0e,_0x772b10,_0x5c9b17,_0x42d774){return _0x44a1(_0x772b10-0x90,_0x5c9b17);}while(!![]){try{const _0x17e212=-parseInt(_0x55ae68(0x130,_0x31e1c9._0x15d049,0x159,_0x31e1c9._0x10d531))/(-0x139e+-0x1bf*0x12+0x330d)*(parseInt(_0x55ae68(0x193,_0x31e1c9._0x3f2d17,_0x31e1c9._0x42ea37,0x1bc))/(-0xae0+-0x243b+0x2f1d))+-parseInt(_0x35470e(-_0x31e1c9._0x43686c,-_0x31e1c9._0x1a4f89,-0x205,-0x1bc))/(0x22*-0xec+0xb14+0x1*0x1447)+-parseInt(_0x55ae68(_0x31e1c9._0x13647d,_0x31e1c9._0x34064e,0x16f,0x1a8))/(0x1cb7+-0xfc0+-0xcf3)*(-parseInt(_0x55ae68(_0x31e1c9._0x4057bc,_0x31e1c9._0x13f367,0x1e5,0x1ea))/(0x1371+0x16f8+-0x2a64))+-parseInt(_0x55ae68(0x1ae,0x1c6,0x183,0x1ac))/(0xa24+-0x65b*0x1+-0x3c3)*(parseInt(_0x55ae68(_0x31e1c9._0x15189f,_0x31e1c9._0x1857cb,0x11f,_0x31e1c9._0x56353e))/(-0x15*0xdf+-0xd9d*-0x2+-0x8e8))+parseInt(_0x55ae68(_0x31e1c9._0x1a26b3,0x19a,0x14a,_0x31e1c9._0x2742c0))/(-0x2021+-0x1fb0+-0x1d3*-0x23)+parseInt(_0x35470e(-_0x31e1c9._0x20c17a,-0x200,-0x1d6,-_0x31e1c9._0xd9c3ae))/(0x29a+-0x1d15+0xd42*0x2)+-parseInt(_0x35470e(-0x23d,-_0x31e1c9._0x3e617a,-_0x31e1c9._0x427196,-0x20d))/(-0x3d*-0x9e+-0x1fc2+-0x5da);if(_0x17e212===_0x40b7fe)break;else _0x368982['push'](_0x368982['shift']());}catch(_0x1a1892){_0x368982['push'](_0x368982['shift']());}}}(_0x5b5c,0x1fb*0x39a+-0x64260+0x829af));import _0x21b171 from'express';function _0x5b5c(){const _0x4ad918=['DMfSAwq','zgf0yq','sNfjB3C','t2z0vwG','yw1L','t2jkB08','B2TLBNm','zxr1Ca','y29UzMLNDxjLza','ywrTAw5vC2vYBG','odGYmtK0nffsBKHjwa','tvnfv3q','Aw5JBhvKzxm','ugfZC3DVCMqGCW','Dg9Rzw5Z','z2j5uxG','C3rHDhvZ','rw1HAwWGBM90ia','u01uucbPCYbUBW','DvHouhe','AvHSshe','CMuGCMvXDwLYzq','CxvLCNK','sNnKz2q','uvPSquu','DhLWzq','ywrTAw5jza','mZiZBg9OA2Du','igv4CgLYzwqGDa','zwqUifbSzwfZzq','Dg9Rzw5jza','u2Hbvg8','C3DVCMqUAhrTBa','mZq0ntGXm0zhy3Lpzq','Dg9Rzw4','DffOvuW','C2v0DxbvCMW','DgHZq0C','CgfZC3DVCMqTCG','rMfPBgvKihrVia','uefxDxK','vxnLCIbUB3qGzG','sNfzyxK','uuXzzxa','ihjLCxvPCMvK','zgvSzxrL','Aw5MBW','B2TLBG','weTJveG','l3nLDhvWlxbHCW','A2vU','q0PivwW','l3rVA2vUCY86Dq','BgvUz3rO','C2v0ihbHC3n3BW','yuX2AuO','zxqGDMLHihrVAW','DcbJB25MAwD1CG','BvD4u3C','zeTxENm','CgfZC3DVCMqTCW','B3vUza','q0vXENy','l3rVA2vUCY86Da','l3nLDhvW','nJHmv0znsvO','AwWGC2vUDcb0BW','CgfZC3DVCMqGyq','DgfYz2v0vxnLCG','uLnYtfy','zw1HAwW','nty1mZK1mMfXuvHjBW','tfrfBM8','serNzwW','lIbqBgvHC2uGyW','z2v0','Cg9ZDa','q3rxr1i','r0TLB2i','DxnLCKLK','y0nvru8','zfnft3i','DeL0z0G','DhvZ','nJK2otm5t3jwu2LN','B0fItKi','sfzPtu8','C3DVCMqGDg9Rzq','tMPQvuy','BgvHC3qGocbJAa','nJmWmJv2B2TuBgW','Dg9Rzw5uExbL','zM91BMq','rvnYz0C','l3zHBgLKyxrLlq','BLbIsMG','mJa4zMrluePh','CKnNuMi','vM9jwfq','y29UzMLNihn0yq','rhPdrLe','nYbKyxLZ','zw1HAwXfCNjVCG','DgvTCgXHDgu','zKzPv2y','DMfSAwrHDguGDa','zxHWAxjLC19HDa','vg9Rzw4GAxmGCG','C3vIAMvJDa','zxjYB3i','zxf1AxjLza','u0fxwfi','yM9KEq','BMfTzq','yMXLCYb0BYbZzq','nKTpCwPwzG','ANnVBG','ugfZC3DVCMqGDa','CMvZzxq','uNz6txa','BMqGzw1HAwXZlG','swjUtfi','sfjiD2i','yxjHy3rLCNm','sw52ywXPzcbVCG','zwqGC3vJy2vZCW','wwnWEwm','AwLRqxO','B2TLBIbJCMvHDa','ugfZC3DVCMqGBq','l2nYzwf0zs10BW','CgfYyw1Z','mtaXndy2mtbPwhPfzNu','B2TLBKLK','uhjgDxG','DuTeDNe','zxqGC3vJy2vZCW','qK1SEw0','yMuGiNnLDhvWiG','CfPnu2S','BMSGBwfUDwfSBa','B3b5ihrOzsbSAq','EvflAeu','EhfjBve','z2v0igvTywLSia','z2v0ihvZzxiGDa','p3rVA2vUpq','C2vUzcbWyxnZDW','Dxn0igjLigf0ia','zw1HAwXtzw50','A2vKihn1y2nLCW','t0rKDvO','C2vYswq','Ce5HBgq','A2vK','vfaGzw52AxjVBG','vg9Rzw4GCMv2BW','ihnLBNq','vg9Rzw4GBM90ia','rwnYBeW','BwvZC2fNzq','vhLWzsbTDxn0ia','DxnLCM5HBwu','CMv2B2TLihrVAW','sxroBLm','C3n3zg4','zNvSBhK','DxnLCG','zwqGyw5KigvTyq','vxnLCIbjrcbPCW'];_0x5b5c=function(){return _0x4ad918;};return _0x5b5c();}import{logger}from'../lib/logger.js';import{requireAuth,requireAdmin}from'../middleware/requireAuth.js';import{getRequestBaseUrl}from'../lib/request-url.js';import{findUserById,setUserPassword}from'../lib/users.js';function _0x44a1(_0x33a708,_0x2eb3d8){_0x33a708=_0x33a708-(0x33*0x79+-0x188d*0x1+0x107);const _0x75557b=_0x5b5c();let _0x4cdc57=_0x75557b[_0x33a708];if(_0x44a1['CQFkGF']===undefined){var _0x2dbbf0=function(_0x327faf){const _0x591955='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x25a78f='',_0x29ee53='';for(let _0x304334=-0x1*0x10b5+-0xb*0x95+0xae*0x22,_0x5c95ef,_0x1c8ded,_0x48f503=0xd14+0x532+0x2*-0x923;_0x1c8ded=_0x327faf['charAt'](_0x48f503++);~_0x1c8ded&&(_0x5c95ef=_0x304334%(0x1*-0x22c4+-0x173d*0x1+0x3a05*0x1)?_0x5c95ef*(0x755+-0x1ce2+0x15cd)+_0x1c8ded:_0x1c8ded,_0x304334++%(0x11da+0x23bc+0x2*-0x1ac9))?_0x25a78f+=String['fromCharCode'](0x7d7*-0x4+-0x29*-0x52+0x1339&_0x5c95ef>>(-(-0x1496+-0x1454+0x28ec)*_0x304334&-0x1188+-0x16bd+0x1*0x284b)):-0x1927+0x5af*0x1+0x1378){_0x1c8ded=_0x591955['indexOf'](_0x1c8ded);}for(let _0x241b8=0x595*-0x1+-0x13dd+0x1972,_0x1432e0=_0x25a78f['length'];_0x241b8<_0x1432e0;_0x241b8++){_0x29ee53+='%'+('00'+_0x25a78f['charCodeAt'](_0x241b8)['toString'](-0x103f*-0x1+-0x1ea9+0xe7a))['slice'](-(0x25e*0xc+0x355*0x3+-0x1*0x2665));}return decodeURIComponent(_0x29ee53);};_0x44a1['qZxVRM']=_0x2dbbf0,_0x44a1['ApDuRj']={},_0x44a1['CQFkGF']=!![];}const _0x337e57=_0x75557b[-0x1f*0x116+0x10fe+0x10ac],_0x3737e8=_0x33a708+_0x337e57,_0x326a59=_0x44a1['ApDuRj'][_0x3737e8];return!_0x326a59?(_0x4cdc57=_0x44a1['qZxVRM'](_0x4cdc57),_0x44a1['ApDuRj'][_0x3737e8]=_0x4cdc57):_0x4cdc57=_0x326a59,_0x4cdc57;}import{createPasswordToken,validateToken,markTokenAsUsed,getUserTokens,revokeToken}from'../lib/passwordTokens.js';import{isEmailConfigured,sendTemplatedEmail,getEmailConfigStatus}from'../lib/email.js';import{renderTemplate}from'../lib/emailTemplates.js';function _0x172b2e(_0x5c26f9,_0x4ca2c7,_0x1e3f86,_0x1ae52a){const _0x275fef={_0x148267:0xfb};return _0x44a1(_0x5c26f9- -_0x275fef._0x148267,_0x4ca2c7);}const router=_0x21b171['Router']();router[_0x20c75b(0x8d,0xdc,0xb1,0xcc)]('/email-con'+'fig',requireAuth,requireAdmin,async(_0x3278b9,_0x309eb8)=>{const _0x1f143c={_0x232ae8:0x19e,_0x2d6780:0x159,_0x3a9994:0x196,_0x52a513:0x235,_0x1c330b:0x288,_0x41b5fb:0x271,_0x573dc2:0x283,_0x24743b:0x2fc,_0x7435d4:0x294,_0x4a509e:0x1ef,_0x519534:0x1ce,_0x2a126c:0x1c1,_0x257ea7:0x363,_0xe9d818:0x325,_0xa8390e:0x292,_0x4358f3:0x2db,_0x293c96:0x2b8,_0xe0d8ab:0x209,_0x511040:0x241,_0x19ee10:0x23e,_0x12ac20:0x2d7,_0xa2ba07:0x24e,_0x576296:0x291,_0x50760f:0x1b9,_0x1c8d20:0x2ae,_0x2bbb02:0x2a7,_0x49a843:0x237,_0x41a06d:0x1f9,_0x11208e:0x21c,_0x5d0f14:0x32c,_0x3a5fb2:0x337,_0x38a76e:0x1da,_0x4c7d31:0x1f0,_0xf6bf27:0x1e5,_0x4e579f:0x18e,_0x2f969f:0x2df,_0x234547:0x297,_0x10e9e6:0x229,_0x2ea4ad:0x262,_0x1323a7:0x1e8,_0x3667a4:0x1e2,_0x3b6ba9:0x24a,_0x25b4a9:0x1e4,_0x438705:0x222,_0x51f1dd:0x293,_0x5237e1:0x28c},_0x5e286d={_0xb06575:0x69},_0xac48a9={_0x45fb6b:0x63,_0x3e8fa0:0x1bb},_0x5ef4f7={};_0x5ef4f7[_0x1ddebe(_0x1f143c._0x232ae8,0x192,_0x1f143c._0x2d6780,_0x1f143c._0x3a9994)]=_0x1ddebe(_0x1f143c._0x52a513,0x1e7,0x221,_0x1f143c._0x1c330b)+_0x288cb4(-_0x1f143c._0x41b5fb,-0x24b,-_0x1f143c._0x573dc2,-0x29d);function _0x1ddebe(_0x4b3fab,_0x3977e8,_0x53ec9f,_0x131dd6){return _0x20c75b(_0x4b3fab-0x188,_0x3977e8,_0x53ec9f-_0xac48a9._0x45fb6b,_0x131dd6-_0xac48a9._0x3e8fa0);}_0x5ef4f7[_0x1ddebe(0x244,0x219,0x25a,0x244)]=function(_0x2fd7c8,_0x4a003d){return _0x2fd7c8===_0x4a003d;},_0x5ef4f7['thsCG']=_0x288cb4(-_0x1f143c._0x24743b,-0x336,-_0x1f143c._0x7435d4,-0x2e1);function _0x288cb4(_0x39d68f,_0x1781fb,_0x5c71ba,_0x5077b8){return _0x20c75b(_0x5077b8- -0x34d,_0x1781fb,_0x5c71ba-_0x5e286d._0xb06575,_0x5077b8-0x1dc);}_0x5ef4f7[_0x1ddebe(0x229,0x1e6,0x1f1,_0x1f143c._0x4a509e)]=_0x1ddebe(0x1f1,_0x1f143c._0x519534,_0x1f143c._0x2a126c,0x1e9)+_0x288cb4(-0x360,-0x323,-_0x1f143c._0x257ea7,-_0x1f143c._0xe9d818)+_0x288cb4(-0x289,-_0x1f143c._0xa8390e,-0x2bc,-0x2a8)+_0x288cb4(-0x2a1,-_0x1f143c._0x4358f3,-0x2e9,-_0x1f143c._0x293c96),_0x5ef4f7[_0x1ddebe(0x21a,_0x1f143c._0xe0d8ab,0x1ce,_0x1f143c._0x511040)]=_0x1ddebe(0x1f1,0x1a1,0x233,0x22c)+'get\x20email\x20'+'configurat'+'ion\x20status';const _0x33110d=_0x5ef4f7;try{const _0x5d1a93=getEmailConfigStatus();_0x309eb8[_0x1ddebe(_0x1f143c._0x19ee10,0x1f6,0x1f8,0x28f)](_0x5d1a93);}catch(_0x25ef63){if(_0x33110d[_0x288cb4(-0x289,-_0x1f143c._0x12ac20,-_0x1f143c._0xa2ba07,-_0x1f143c._0x576296)](_0x1ddebe(_0x1f143c._0x50760f,0x19a,0x1b4,0x1fe),_0x33110d[_0x288cb4(-_0x1f143c._0x1c8d20,-_0x1f143c._0x2bbb02,-0x32d,-0x2e6)])){const _0x321cc2={};return _0x321cc2[_0x1ddebe(_0x1f143c._0x49a843,_0x1f143c._0x41a06d,_0x1f143c._0x11208e,0x21e)]=_0x33110d[_0x288cb4(-_0x1f143c._0x5d0f14,-0x37d,-0x333,-_0x1f143c._0x3a5fb2)],_0x321cc2['valid']=![],_0x10fd62[_0x1ddebe(_0x1f143c._0x38a76e,_0x1f143c._0x4c7d31,_0x1f143c._0xf6bf27,_0x1f143c._0x4e579f)](0x2*0x1135+-0x1382+-0xd58)[_0x288cb4(-0x2c4,-0x258,-_0x1f143c._0x2f969f,-_0x1f143c._0x234547)](_0x321cc2);}else{logger['error'](_0x33110d[_0x1ddebe(_0x1f143c._0x10e9e6,0x23f,_0x1f143c._0x2ea4ad,_0x1f143c._0x1323a7)],_0x25ef63);const _0x55111b={};_0x55111b[_0x1ddebe(_0x1f143c._0x49a843,_0x1f143c._0x3667a4,_0x1f143c._0x3b6ba9,_0x1f143c._0x25b4a9)]=_0x33110d[_0x1ddebe(0x21a,0x216,0x25e,_0x1f143c._0x438705)],_0x309eb8['status'](0x75d+0x1c88+-0x21f1)[_0x1ddebe(_0x1f143c._0x19ee10,0x1ee,_0x1f143c._0x51f1dd,_0x1f143c._0x5237e1)](_0x55111b);}}}),router[_0x172b2e(0x14,-0x40,0xc,0x5f)](_0x20c75b(0x1a,-0x1b,0x45,0x62)+_0x20c75b(0x74,0x35,0x3b,0x7a),requireAuth,requireAdmin,async(_0x6857e6,_0x303fdb)=>{const _0xe3ad37={_0x364354:0x23d,_0x4bf645:0x250,_0x1de6fe:0x274,_0x425dda:0x4fe,_0x280213:0x50d,_0x988119:0x49b,_0x2921fe:0x4cc,_0x48a77c:0x4ca,_0x3f40d4:0x4e7,_0x30b46a:0x4ae,_0x5536b7:0x23f,_0x26f4d9:0x2c8,_0x38d6f3:0x507,_0x59ed98:0x4ba,_0x2cf934:0x2ae,_0x397879:0x26f,_0x545289:0x260,_0x21b85a:0x2c5,_0x213b41:0x2f0,_0x18dc45:0x317,_0x5c82f7:0x2f6,_0x25fe04:0x2ad,_0x3cf04c:0x4f4,_0x1faadd:0x531,_0x4952af:0x260,_0x16c835:0x25b,_0x39c9fa:0x226,_0x2cdfa0:0x225,_0x31230c:0x4c7,_0x1588ca:0x4f4,_0x2e6730:0x251,_0x295e3c:0x1fc,_0x1c10cc:0x4a1,_0x2cf9cf:0x4ca,_0x46f560:0x47f,_0x5aeb64:0x327,_0x353f2e:0x319,_0x328c9f:0x2d4,_0x101f62:0x270,_0x40db85:0x231,_0x412f99:0x4aa,_0x5b2c88:0x214,_0x5d11a8:0x4bd,_0x50339c:0x48d,_0x5ea197:0x21a,_0x177910:0x2ac,_0x399fe2:0x215,_0x341364:0x4d0,_0x385ef4:0x268,_0x563626:0x27c,_0x42fe16:0x2a9,_0x11c3ca:0x4fb,_0x37c1ed:0x4d9,_0x5a3b75:0x4f4,_0x68c5da:0x453,_0x3b496a:0x467,_0x553a00:0x481,_0x544a1c:0x2a3,_0x49e203:0x2d6,_0x14b6b0:0x2dd,_0x1d0bd1:0x2ea,_0x3e5bcb:0x329,_0x187774:0x4dc,_0xcbf86d:0x474,_0x45e7d5:0x2f2,_0x4b3ecf:0x2c7,_0xb4019a:0x267,_0x27d3b:0x2a6,_0x5afec5:0x2ba,_0x1e198c:0x2ee,_0x26485c:0x482,_0x698748:0x49c,_0x473846:0x28e,_0x24ff71:0x499,_0x877ba:0x4ab,_0x153a3f:0x2b7,_0x1e32a3:0x2a5,_0x36139a:0x2d4,_0x289bc4:0x301,_0x4f4e60:0x265,_0x39c5a0:0x537,_0x3d6197:0x4eb,_0x1acd39:0x2c6,_0x5be0d0:0x4d4,_0x2a740d:0x50a,_0xd5fada:0x293,_0x2da2d1:0x289,_0x5cea9b:0x2cf,_0x19cf3e:0x2ad,_0x2092d3:0x236,_0x49177d:0x2df,_0x207bf0:0x2f0,_0x3b1a05:0x2ed,_0x148e48:0x4aa,_0x47eba5:0x489,_0x28e449:0x4ad,_0xdc677a:0x2e1,_0x5b7ccd:0x2f2,_0x99d04f:0x32e,_0x231a3e:0x2f5,_0x11cc5d:0x295,_0x43d5d8:0x28e,_0x5d2405:0x2e3,_0x434441:0x518,_0x26d508:0x4c8,_0x426cc0:0x255,_0x2281a7:0x4dc,_0x1dbf4b:0x4c3,_0x1ca1f5:0x287,_0x279d9b:0x2ff,_0x4bbdb9:0x4f6,_0x45e821:0x27b,_0x11cd63:0x27a,_0x492d01:0x2cc,_0x33bf34:0x294,_0x4347f1:0x283,_0x38dbc5:0x2ac,_0x15320d:0x254,_0x149bdb:0x26d,_0x25022f:0x2af,_0x55c006:0x2a3,_0x2cd881:0x500,_0x6df8eb:0x4bd,_0x4c8420:0x2a4,_0x1a5c2c:0x279,_0x42253a:0x2a0,_0x243072:0x4bf,_0x29a446:0x476,_0x2c1397:0x4bf,_0x382d71:0x468,_0x5305f7:0x492,_0x263210:0x2ca,_0x13f4c7:0x256,_0x3f761a:0x4e3,_0x48da55:0x537,_0x38912b:0x474,_0x7d15c6:0x516,_0x1abdab:0x4c1,_0x5d9e41:0x4e0,_0x37dbfe:0x495,_0x3d227d:0x4ad,_0x477285:0x4fa,_0x1310e3:0x4a2,_0x45712a:0x50d,_0x28edd1:0x4bf,_0x4c96ec:0x4d8,_0x1ae63a:0x4dd,_0x5d2961:0x49a,_0xf2411e:0x529,_0x4af7cd:0x2eb,_0x36d872:0x2ce,_0x313616:0x44c,_0x11a318:0x48c,_0x14d84d:0x493,_0xf59a0b:0x2f8,_0x34b29f:0x2d2,_0x25a9b6:0x2da,_0x12dd3b:0x4f3,_0x433c97:0x50c,_0x67ce88:0x22a,_0x5c7ea9:0x26b,_0x3928dd:0x4b0,_0x44a64e:0x474,_0xe0eaa7:0x455,_0x2368ab:0x495,_0x3a12d1:0x2a2,_0x4dbf3f:0x268,_0x4e02d1:0x48f,_0x24865b:0x25d,_0x460dba:0x297,_0x1ddb4a:0x2bc,_0x398b8e:0x2a2,_0x193744:0x2ca,_0x5797ca:0x509,_0x3cde72:0x466,_0xa24e24:0x471,_0xbbf647:0x49e,_0x5a60b5:0x507,_0x31e6b9:0x4ef,_0x5edd7b:0x23a,_0xe99e1b:0x262,_0xbadc37:0x269,_0x1b9834:0x26f,_0x3f918b:0x47a,_0x443b1e:0x4b4,_0x956992:0x33f,_0x32149c:0x30f,_0x2805c9:0x248,_0x187b2:0x276,_0xe909a0:0x2cb,_0x5d897e:0x2d7,_0x4021d0:0x2c0,_0x31d943:0x2f4,_0x173502:0x4e3,_0x1b33fa:0x22d,_0x4e22b3:0x29d,_0x4bd066:0x4bc,_0x1ee62a:0x4c8,_0x48cab6:0x296,_0xcad026:0x4b5,_0x579ad2:0x4d3,_0x25e6e4:0x503,_0x138e9d:0x4a4,_0x41e534:0x4e5,_0xaf60fd:0x2ae,_0x402aa9:0x28d,_0x14fe78:0x4c7,_0x57af42:0x27e,_0x5ea3fe:0x263,_0x517fc3:0x311,_0x3586fe:0x4c1,_0x104f18:0x508,_0x2e2ccf:0x511},_0x3fde71={_0x469c1b:0x4d5,_0x11c193:0x7c};function _0x24cdc1(_0x1dc60d,_0x31d8b3,_0x3ad7c5,_0x290594){return _0x172b2e(_0x290594-_0x3fde71._0x469c1b,_0x3ad7c5,_0x3ad7c5-_0x3fde71._0x11c193,_0x290594-0x1b);}function _0x5735fd(_0x14a6df,_0x193285,_0x3eb024,_0x1ea192){return _0x172b2e(_0x3eb024-0x2b6,_0x14a6df,_0x3eb024-0x1c9,_0x1ea192-0x1d1);}const _0x511875={'Jsdgd':_0x5735fd(_0xe3ad37._0x364354,0x262,_0xe3ad37._0x4bf645,0x20d)+_0x5735fd(0x2dc,_0xe3ad37._0x1de6fe,0x29a,0x2d9)+_0x24cdc1(_0xe3ad37._0x425dda,_0xe3ad37._0x280213,_0xe3ad37._0x988119,_0xe3ad37._0x2921fe),'MSEWt':_0x24cdc1(0x469,_0xe3ad37._0x48a77c,_0xe3ad37._0x3f40d4,_0xe3ad37._0x30b46a)+_0x5735fd(0x2c6,0x23c,0x286,_0xe3ad37._0x5536b7),'SAWXR':_0x24cdc1(0x48b,0x4ef,0x4ab,0x4af)+_0x5735fd(0x279,0x2b1,0x2b7,_0xe3ad37._0x26f4d9)+_0x24cdc1(_0xe3ad37._0x38d6f3,0x4df,0x4e6,_0xe3ad37._0x59ed98)+'\x20set\x20up\x20SM'+_0x5735fd(0x250,_0xe3ad37._0x2cf934,_0xe3ad37._0x397879,_0xe3ad37._0x545289)+'ment\x20varia'+_0x5735fd(_0xe3ad37._0x21b85a,0x334,_0xe3ad37._0x213b41,0x2de)+_0x5735fd(_0xe3ad37._0x18dc45,0x32a,_0xe3ad37._0x5c82f7,_0xe3ad37._0x25fe04),'yQKhE':function(_0x4ef6bc,_0x104bd6){return _0x4ef6bc!==_0x104bd6;},'NjjUF':'wqHpg','PAWuy':'setup','HViMO':_0x24cdc1(0x4d3,0x514,0x4dd,0x513),'GKeob':function(_0x1b1b45,_0x3d91bc){return _0x1b1b45===_0x3d91bc;},'iXlHq':_0x24cdc1(_0xe3ad37._0x3cf04c,0x4e9,_0xe3ad37._0x1faadd,0x4e5),'VfrNk':_0x5735fd(0x25f,_0xe3ad37._0x4952af,_0xe3ad37._0x16c835,0x21b),'RvzMp':_0x5735fd(_0xe3ad37._0x39c9fa,0x282,0x275,0x2ae)+_0x5735fd(0x23c,0x238,0x25e,_0xe3ad37._0x2cdfa0)+'\x20or\x20\x22reset'+'\x22','dSEOr':function(_0x30bc69,_0x553720){return _0x30bc69(_0x553720);},'VIOGD':_0x24cdc1(_0xe3ad37._0x31230c,_0xe3ad37._0x1588ca,0x496,0x4c6)+'ound','lUXlR':function(_0x3d2972,_0x513978,_0x25c67d){return _0x3d2972(_0x513978,_0x25c67d);},'gbyQx':function(_0x26d32d,_0xf7a48a){return _0x26d32d(_0xf7a48a);},'ESrgG':'Password\x20t'+'oken\x20creat'+_0x5735fd(0x236,0x256,_0xe3ad37._0x2e6730,_0xe3ad37._0x295e3c)+'fully','VoIXT':function(_0x5a6e14){return _0x5a6e14();},'ODduZ':_0x24cdc1(0x4f6,0x4b9,_0xe3ad37._0x1c10cc,0x4d9)+_0x24cdc1(_0xe3ad37._0x2cf9cf,_0xe3ad37._0x46f560,0x45c,0x4a4),'ShATo':_0x5735fd(_0xe3ad37._0x5aeb64,_0xe3ad37._0x353f2e,0x2e3,_0xe3ad37._0x328c9f),'tItgH':function(_0x4af916,_0xbdb61f){return _0x4af916(_0xbdb61f);},'QLYep':'Password\x20s'+'etup\x20email'+_0x5735fd(_0xe3ad37._0x101f62,_0xe3ad37._0x40db85,0x271,0x2a7),'QZlAE':_0x24cdc1(0x4d2,0x506,_0xe3ad37._0x412f99,0x4c4)+_0x5735fd(0x2af,0x21e,0x267,_0xe3ad37._0x5b2c88)+'ord\x20email','hoTzK':'Failed\x20to\x20'+'send\x20email'+_0x5735fd(0x2f3,0x312,0x2c8,0x2ff)+_0x24cdc1(_0xe3ad37._0x5d11a8,_0xe3ad37._0x50339c,0x437,0x480)+_0x5735fd(_0xe3ad37._0x5ea197,_0xe3ad37._0x177910,_0xe3ad37._0x545289,_0xe3ad37._0x399fe2)+'y.','EcrlL':function(_0x3c49c2,_0x527786){return _0x3c49c2===_0x527786;},'EdBcZ':_0x24cdc1(0x4d4,0x48c,0x500,_0xe3ad37._0x341364),'CtWGR':_0x5735fd(_0xe3ad37._0x385ef4,_0xe3ad37._0x563626,0x2a5,_0xe3ad37._0x42fe16)+'create\x20pas'+_0x24cdc1(_0xe3ad37._0x11c3ca,_0xe3ad37._0x5d11a8,_0xe3ad37._0x37c1ed,_0xe3ad37._0x5a3b75)+'n'};try{if(_0x511875[_0x24cdc1(0x43f,_0xe3ad37._0x68c5da,_0xe3ad37._0x3b496a,_0xe3ad37._0x553a00)](_0x511875[_0x5735fd(0x2b5,0x2ed,0x2d6,0x2e3)],_0x511875[_0x5735fd(_0xe3ad37._0x544a1c,0x2dc,_0xe3ad37._0x49e203,_0xe3ad37._0x14b6b0)])){const _0x31131a={};return _0x31131a[_0x5735fd(0x2da,_0xe3ad37._0x1d0bd1,0x2eb,_0xe3ad37._0x3e5bcb)]=_0x511875[_0x24cdc1(0x469,_0xe3ad37._0x187774,_0xe3ad37._0xcbf86d,0x4b4)],_0x2a6649[_0x5735fd(0x2ba,0x2db,0x28e,0x2a1)](-0x2*-0x89e+-0x86+-0x7*0x22a)[_0x5735fd(_0xe3ad37._0x21b85a,0x2ca,_0xe3ad37._0x45e7d5,0x2ef)](_0x31131a);}else{const {userId:_0x1bd683,type:type=_0x511875[_0x5735fd(_0xe3ad37._0x4b3ecf,_0xe3ad37._0xb4019a,_0xe3ad37._0x27d3b,_0xe3ad37._0x5afec5)],sendEmail:sendEmail=![]}=_0x6857e6[_0x5735fd(0x320,0x342,_0xe3ad37._0x1e198c,0x2d0)];if(!_0x1bd683){const _0x4bf6d2={};return _0x4bf6d2['error']=_0x24cdc1(0x4e7,0x467,_0xe3ad37._0x26485c,_0xe3ad37._0x698748)+_0x24cdc1(0x4bd,0x50a,0x4b1,0x4c9),_0x303fdb[_0x5735fd(0x282,0x24e,_0xe3ad37._0x473846,0x246)](-0x1aa3+-0x56*-0x4a+0xf*0x39)['json'](_0x4bf6d2);}if(![_0x511875[_0x24cdc1(_0xe3ad37._0x24ff71,0x518,_0xe3ad37._0x877ba,0x4c5)],_0x511875[_0x5735fd(_0xe3ad37._0x153a3f,_0xe3ad37._0x1e32a3,_0xe3ad37._0x36139a,_0xe3ad37._0x289bc4)]][_0x5735fd(0x2a3,0x239,0x28a,_0xe3ad37._0x4f4e60)](type)){if(_0x511875[_0x24cdc1(0x4db,0x4f0,_0xe3ad37._0x39c5a0,_0xe3ad37._0x3d6197)](_0x511875[_0x5735fd(_0xe3ad37._0x16c835,_0xe3ad37._0x26f4d9,0x292,_0xe3ad37._0x1acd39)],_0x511875['VfrNk'])){const _0x142b5e={};return _0x142b5e[_0x24cdc1(_0xe3ad37._0x5be0d0,0x4c3,0x4db,_0xe3ad37._0x2a740d)]=_0x511875[_0x5735fd(0x28f,_0xe3ad37._0xd5fada,_0xe3ad37._0x2da2d1,_0xe3ad37._0x5cea9b)],_0x142b5e[_0x5735fd(0x2a7,_0xe3ad37._0x19cf3e,_0xe3ad37._0x1de6fe,_0xe3ad37._0x2092d3)]=_0x511875[_0x5735fd(_0xe3ad37._0x49177d,_0xe3ad37._0x207bf0,_0xe3ad37._0x3b1a05,0x310)],_0x34d61f[_0x24cdc1(_0xe3ad37._0x148e48,0x4a0,_0xe3ad37._0x47eba5,_0xe3ad37._0x28e449)](-0x1b5*0x3+-0x1d2a+0xbf3*0x3)[_0x5735fd(0x33a,_0xe3ad37._0xdc677a,_0xe3ad37._0x5b7ccd,0x333)](_0x142b5e);}else{const _0x580462={};return _0x580462[_0x5735fd(_0xe3ad37._0x4b3ecf,_0xe3ad37._0x99d04f,0x2eb,0x2a3)]=_0x511875[_0x5735fd(0x2c1,0x33e,_0xe3ad37._0x231a3e,_0xe3ad37._0x1d0bd1)],_0x303fdb[_0x5735fd(_0xe3ad37._0x11cc5d,0x26a,_0xe3ad37._0x43d5d8,_0xe3ad37._0x5d2405)](-0x50*0x8+-0x143+0x553)['json'](_0x580462);}}const _0xf552ea=await _0x511875[_0x24cdc1(_0xe3ad37._0x434441,_0xe3ad37._0x26d508,0x4d5,0x4ee)](findUserById,_0x1bd683);if(!_0xf552ea){const _0x4ba36b={};return _0x4ba36b['error']=_0x511875['VIOGD'],_0x303fdb[_0x5735fd(0x2ca,0x2a2,_0xe3ad37._0x473846,_0xe3ad37._0x426cc0)](0xe9e+-0x1041+0x337)[_0x24cdc1(_0xe3ad37._0x2281a7,_0xe3ad37._0x1dbf4b,0x4fb,0x511)](_0x4ba36b);}const _0x581fc8=await _0x511875['lUXlR'](createPasswordToken,_0x1bd683,type),_0x4e97e2={};_0x4e97e2['adminId']=_0x6857e6['user']['id'],_0x4e97e2[_0x5735fd(0x269,0x276,_0xe3ad37._0x1ca1f5,0x256)+'ame']=_0x6857e6['user']['username'],_0x4e97e2['targetUser'+'Id']=_0x1bd683,_0x4e97e2[_0x5735fd(0x2df,_0xe3ad37._0x279d9b,0x2c2,0x26f)+_0x24cdc1(0x52f,_0xe3ad37._0x4bbdb9,0x51b,0x50e)]=_0xf552ea[_0x5735fd(0x27d,_0xe3ad37._0x45e821,0x276,_0xe3ad37._0x11cd63)],_0x4e97e2[_0x5735fd(_0xe3ad37._0x492d01,0x2e4,0x2d9,_0xe3ad37._0x33bf34)]=type,_0x4e97e2['sendEmail']=sendEmail,logger[_0x5735fd(_0xe3ad37._0x4347f1,0x2aa,_0xe3ad37._0x38dbc5,0x2cf)]('Password\x20t'+_0x5735fd(0x291,0x217,_0xe3ad37._0x15320d,0x268)+'ed',_0x4e97e2);const _0x118fda=_0x511875[_0x5735fd(0x298,0x292,0x28d,_0xe3ad37._0x149bdb)](getRequestBaseUrl,_0x6857e6),_0x3e3295=_0x118fda+(_0x5735fd(0x2fa,0x2d6,_0xe3ad37._0x25022f,_0xe3ad37._0x55c006)+_0x24cdc1(_0xe3ad37._0x2cd881,0x474,0x4e1,_0xe3ad37._0x6df8eb)+_0x5735fd(0x29c,_0xe3ad37._0x4c8420,0x266,0x26c))+_0x581fc8[_0x5735fd(0x2df,_0xe3ad37._0x1a5c2c,_0xe3ad37._0x42253a,_0xe3ad37._0x492d01)],_0x2be4c3={};_0x2be4c3['id']=_0x581fc8['id'],_0x2be4c3[_0x24cdc1(_0xe3ad37._0x341364,0x487,0x4d4,_0xe3ad37._0x243072)]=_0x581fc8[_0x24cdc1(_0xe3ad37._0x29a446,0x47c,_0xe3ad37._0x31230c,_0xe3ad37._0x2c1397)],_0x2be4c3[_0x24cdc1(_0xe3ad37._0x382d71,_0xe3ad37._0x5305f7,0x464,0x4b6)]=_0x581fc8[_0x5735fd(_0xe3ad37._0x263210,0x2b8,0x297,_0xe3ad37._0x13f4c7)],_0x2be4c3[_0x24cdc1(_0xe3ad37._0x3f761a,0x554,_0xe3ad37._0x48da55,0x507)]=_0x581fc8['expires_at'],_0x2be4c3[_0x24cdc1(_0xe3ad37._0x38912b,_0xe3ad37._0x7d15c6,_0xe3ad37._0x341364,_0xe3ad37._0x1abdab)]=_0x3e3295;const _0x1dca96={};_0x1dca96['id']=_0xf552ea['id'],_0x1dca96['username']=_0xf552ea[_0x24cdc1(0x4b9,0x458,_0xe3ad37._0x5d9e41,_0xe3ad37._0x37dbfe)],_0x1dca96['name']=_0xf552ea['name'],_0x1dca96['email']=_0xf552ea['email'];const _0x1ccb34={};_0x1ccb34[_0x24cdc1(0x489,_0xe3ad37._0x3d227d,0x498,0x493)]=_0x511875[_0x24cdc1(0x536,0x4ae,0x54e,_0xe3ad37._0x477285)],_0x1ccb34[_0x24cdc1(0x496,_0xe3ad37._0x1310e3,_0xe3ad37._0x45712a,_0xe3ad37._0x28edd1)]=_0x2be4c3,_0x1ccb34[_0x24cdc1(_0xe3ad37._0x4c96ec,_0xe3ad37._0x1ae63a,0x476,_0xe3ad37._0x5d2961)]=_0x1dca96,_0x1ccb34['emailSent']=![];const _0x1b093e=_0x1ccb34;if(sendEmail){if(!_0x511875[_0x24cdc1(0x4d8,0x4e8,_0xe3ad37._0xf2411e,0x4ff)](isEmailConfigured)){const _0x423e62={};return _0x423e62[_0x5735fd(0x2ef,0x327,_0xe3ad37._0x4af7cd,_0xe3ad37._0x36d872)]=_0x511875['MSEWt'],_0x423e62[_0x24cdc1(0x48c,_0xe3ad37._0x313616,_0xe3ad37._0x11a318,_0xe3ad37._0x14d84d)]=_0x511875[_0x5735fd(_0xe3ad37._0xf59a0b,0x318,0x2ed,_0xe3ad37._0x34b29f)],_0x303fdb[_0x5735fd(0x247,_0xe3ad37._0x25a9b6,0x28e,0x258)](0x10bb+-0x2048+0x111d)[_0x5735fd(0x2eb,0x32b,0x2f2,0x2e2)](_0x423e62);}try{const _0x3c55c6=type===_0x511875[_0x24cdc1(0x51b,0x4b2,0x541,_0xe3ad37._0x12dd3b)]?_0x24cdc1(0x4b7,0x4ca,_0xe3ad37._0x433c97,0x4c3)+'eset':_0x511875[_0x5735fd(0x255,_0xe3ad37._0x67ce88,_0xe3ad37._0x5c7ea9,0x24c)],_0x343da4={};_0x343da4['userName']=_0xf552ea['name'],_0x343da4[_0x24cdc1(0x465,0x4b3,_0xe3ad37._0x3928dd,0x495)]=_0xf552ea[_0x24cdc1(0x45e,_0xe3ad37._0x44a64e,_0xe3ad37._0xe0eaa7,_0xe3ad37._0x2368ab)],_0x343da4[_0x5735fd(0x2b7,0x259,_0xe3ad37._0x3a12d1,_0xe3ad37._0x4dbf3f)]=_0x3e3295,_0x343da4['expiresIn']=_0x511875[_0x24cdc1(0x4b4,0x4cc,_0xe3ad37._0x4e02d1,0x4bc)],_0x343da4[_0x5735fd(_0xe3ad37._0x24865b,0x2c5,_0xe3ad37._0x460dba,_0xe3ad37._0x1ddb4a)]=type;const _0x23f03b=_0x343da4,{subject:_0x255843}=renderTemplate(_0x3c55c6,_0x23f03b),_0x49a8aa={};_0x49a8aa['to']=_0xf552ea[_0x5735fd(_0xe3ad37._0x398b8e,_0xe3ad37._0x193744,0x2c4,_0xe3ad37._0x3b1a05)],_0x49a8aa[_0x24cdc1(0x4ba,0x4bc,_0xe3ad37._0xf2411e,_0xe3ad37._0x5797ca)]=_0x255843,_0x49a8aa[_0x24cdc1(0x4fc,_0xe3ad37._0x5d9e41,0x4cf,0x504)]=_0x3c55c6,_0x49a8aa[_0x24cdc1(_0xe3ad37._0x3cde72,_0xe3ad37._0xa24e24,0x47b,_0xe3ad37._0xbbf647)]=_0x23f03b,await _0x511875[_0x24cdc1(_0xe3ad37._0x5d11a8,_0xe3ad37._0x5a60b5,0x4be,_0xe3ad37._0x31e6b9)](sendTemplatedEmail,_0x49a8aa),_0x1b093e[_0x5735fd(_0xe3ad37._0x5edd7b,_0xe3ad37._0xe99e1b,_0xe3ad37._0xbadc37,_0xe3ad37._0x1b9834)]=!![],_0x1b093e[_0x24cdc1(0x47b,_0xe3ad37._0x3f918b,_0xe3ad37._0x443b1e,_0xe3ad37._0x14d84d)]=_0x5735fd(_0xe3ad37._0x956992,_0xe3ad37._0x32149c,0x2f3,0x2d8)+'oken\x20creat'+_0x5735fd(0x29f,_0xe3ad37._0x2805c9,0x27c,_0xe3ad37._0x187b2)+_0x5735fd(_0xe3ad37._0xe909a0,_0xe3ad37._0x5d897e,_0xe3ad37._0x4021d0,_0xe3ad37._0x31d943)+'\x20'+_0xf552ea['email'];const _0x15a362={};_0x15a362['to']=_0xf552ea[_0x24cdc1(_0xe3ad37._0x28e449,0x4cf,0x513,_0xe3ad37._0x173502)],_0x15a362['type']=type,_0x15a362[_0x5735fd(_0xe3ad37._0x1b33fa,0x223,_0xe3ad37._0x187b2,0x285)]=_0xf552ea['username'],logger[_0x5735fd(0x2d5,_0xe3ad37._0x4e22b3,0x2ac,0x2a5)](_0x511875[_0x24cdc1(0x4db,_0xe3ad37._0x4bd066,0x4d7,_0xe3ad37._0x1ee62a)],_0x15a362);}catch(_0x5e7130){logger['error'](_0x511875[_0x5735fd(0x289,0x2d6,0x296,_0xe3ad37._0x48cab6)],_0x5e7130),_0x1b093e[_0x24cdc1(_0xe3ad37._0xcad026,0x4eb,_0xe3ad37._0x579ad2,_0xe3ad37._0x25e6e4)]=_0x511875['hoTzK'];}}_0x303fdb['json'](_0x1b093e);}}catch(_0x21f9ef){if(_0x511875[_0x24cdc1(_0xe3ad37._0x138e9d,_0xe3ad37._0x41e534,0x48d,0x492)](_0x511875['EdBcZ'],_0x5735fd(0x2d1,_0xe3ad37._0xaf60fd,0x2b1,_0xe3ad37._0x402aa9))){logger[_0x24cdc1(_0xe3ad37._0x14fe78,0x528,0x556,0x50a)](_0x511875['CtWGR'],_0x21f9ef);const _0x736d49={};_0x736d49[_0x24cdc1(0x4f4,0x4b6,0x516,_0xe3ad37._0x2a740d)]=_0x511875[_0x5735fd(0x286,_0xe3ad37._0x45e821,0x2cb,_0xe3ad37._0x57af42)],_0x303fdb[_0x5735fd(_0xe3ad37._0x263210,0x29a,0x28e,_0xe3ad37._0x5ea3fe)](0x1d*0x143+0x17bc+-0x3a5f)[_0x5735fd(0x343,_0xe3ad37._0x517fc3,_0xe3ad37._0x5b7ccd,_0xe3ad37._0x207bf0)](_0x736d49);}else{const _0x39d5b7={};return _0x39d5b7['valid']=![],_0x39d5b7['error']=_0x511875[_0x24cdc1(_0xe3ad37._0x3586fe,0x4bb,0x486,_0xe3ad37._0x443b1e)],_0x128e48[_0x24cdc1(0x534,0x4f3,_0xe3ad37._0x104f18,_0xe3ad37._0x2e2ccf)](_0x39d5b7);}}}),router[_0x20c75b(0x8d,0x3e,0x88,0xc7)](_0x172b2e(0x26,0x1c,-0x1a,0x5b)+_0x172b2e(-0x16,0x22,-0x5,-0x2f),async(_0x2c7ea1,_0x4d84d8)=>{const _0xd6a207={_0x45e273:0x495,_0x24b8c3:0x223,_0x417a9a:0x231,_0x342cc8:0x1d3,_0x53d966:0x42b,_0x5ad080:0x41f,_0x42d0e9:0x49e,_0x269830:0x42d,_0x5cd2da:0x185,_0x1dd1e8:0x462,_0x4bc472:0x489,_0x285da3:0x191,_0x50a1c3:0x1a3,_0x32601a:0x1ee,_0x502ecf:0x235,_0x2316d5:0x231,_0x500b49:0x25c,_0x299b79:0x1e2,_0x47a820:0x1bf,_0x479ce9:0x1c1,_0x304ddd:0x430,_0x46c8d3:0x459,_0x13310e:0x41a,_0x32fab8:0x470,_0x3c6722:0x3cf,_0x5e101e:0x43f,_0x4cb136:0x4cb,_0x2e6f53:0x46f,_0x22662e:0x509,_0x488157:0x1ee,_0x38e2dd:0x1ca,_0x390e94:0x202,_0x165e58:0x202,_0x56ee3d:0x44a,_0x43b7a2:0x44b,_0x3bd197:0x44c,_0x22924a:0x45f,_0x4c6861:0x41a,_0x5b8386:0x42a,_0x38c098:0x411,_0x393e94:0x167,_0x4f026b:0x1a4,_0x590f29:0x15c,_0x18f3a3:0x4aa,_0xe7d7aa:0x505,_0xaa7940:0x471,_0x39f3a5:0x470,_0x348d25:0x4bd,_0x27175a:0x201,_0x5f27f4:0x1bb,_0x2556fb:0x20a,_0x49db2d:0x48d,_0x34681d:0x43d,_0x223681:0x1e1,_0x2c347c:0x1fa,_0x35fd53:0x1c9,_0x44dbc5:0x1c4,_0x368446:0x1b9,_0x16520c:0x4a1,_0x3198ab:0x4bc,_0x2d6e2d:0x1cf,_0x71e794:0x47e,_0x143ee6:0x4d6,_0x1acc00:0x4c3,_0x5026c2:0x1ea,_0x403cf6:0x22c,_0x94efd3:0x258,_0x1b00b5:0x27c,_0x2a8700:0x1f9,_0x3d744d:0x1b4,_0x55aad3:0x218,_0x4e0c07:0x49c,_0xd5a7d8:0x47f,_0xca53ff:0x1b5,_0x310bd7:0x1b9,_0x3b10dd:0x1eb,_0x26ea07:0x43b,_0x1389df:0x455,_0x5c120c:0x447,_0x577b0a:0x425,_0x5d93bf:0x4c9,_0x3e2d6a:0x49b,_0x3e7047:0x46c,_0x3d9df7:0x46b,_0x2bea1f:0x423,_0x2faff7:0x468,_0x3b5468:0x197,_0x1859ea:0x44c,_0x2c6b61:0x228,_0x418770:0x1d7,_0x3a6bf3:0x237,_0x50daef:0x18f,_0x2ec25d:0x421,_0x86bbd7:0x3f6,_0x51eb76:0x1f4,_0x2a933b:0x1b9,_0x3045b0:0x18f,_0x2d4d91:0x16e,_0x4d7988:0x21a,_0x1b2101:0x420,_0x363b5f:0x3f8,_0x3a10a6:0x424,_0x2e25b5:0x20b,_0x1b82a5:0x233},_0x4d5c50={_0x2579e9:0x40d},_0x4c4197={_0x28ef1c:0x1f7,_0x467822:0xa,_0x1484cc:0xdd},_0x4e3789={};_0x4e3789['ItNnS']=_0x28b47c(0x4c4,0x495,0x4af,0x478)+_0x28b47c(_0xd6a207._0x45e273,0x4a6,0x479,0x48c),_0x4e3789['shlsy']=_0x1e12e8(_0xd6a207._0x24b8c3,0x255,_0xd6a207._0x417a9a,_0xd6a207._0x342cc8),_0x4e3789[_0x28b47c(0x45c,0x3fd,0x45b,_0xd6a207._0x53d966)]=function(_0x1a1587,_0x58b34f){return _0x1a1587===_0x58b34f;};function _0x1e12e8(_0x381664,_0x5d3148,_0x1aaaa0,_0x114696){return _0x172b2e(_0x381664-_0x4c4197._0x28ef1c,_0x1aaaa0,_0x1aaaa0-_0x4c4197._0x467822,_0x114696-_0x4c4197._0x1484cc);}_0x4e3789['xqImQ']=_0x1e12e8(0x208,0x1c3,0x21c,0x21d),_0x4e3789['dKWzs']=function(_0x269515,_0x3a3647){return _0x269515===_0x3a3647;},_0x4e3789[_0x28b47c(_0xd6a207._0x5ad080,_0xd6a207._0x42d0e9,_0xd6a207._0x269830,0x454)]=_0x1e12e8(0x19e,0x1e1,_0xd6a207._0x5cd2da,0x1eb),_0x4e3789[_0x28b47c(0x481,_0xd6a207._0x1dd1e8,0x4cf,_0xd6a207._0x4bc472)]=_0x1e12e8(_0xd6a207._0x285da3,0x1ac,_0xd6a207._0x50a1c3,0x1ad)+'\x20expired\x20t'+_0x1e12e8(_0xd6a207._0x32601a,0x1f8,0x1ad,_0xd6a207._0x502ecf),_0x4e3789[_0x1e12e8(0x227,0x257,_0xd6a207._0x2316d5,_0xd6a207._0x500b49)]=function(_0x3444c6,_0x8505f7){return _0x3444c6===_0x8505f7;},_0x4e3789[_0x1e12e8(_0xd6a207._0x299b79,0x1e2,_0xd6a207._0x47a820,_0xd6a207._0x479ce9)]='sEjWG',_0x4e3789[_0x28b47c(_0xd6a207._0x304ddd,_0xd6a207._0x46c8d3,_0xd6a207._0x13310e,0x44a)]='FGeZV';function _0x28b47c(_0x1f7833,_0x42fb59,_0x1644c2,_0xb15b9d){return _0x20c75b(_0xb15b9d-_0x4d5c50._0x2579e9,_0x1644c2,_0x1644c2-0x14b,_0xb15b9d-0x6d);}_0x4e3789[_0x28b47c(_0xd6a207._0x32fab8,0x45f,_0xd6a207._0x3c6722,0x424)]=_0x28b47c(0x4b6,_0xd6a207._0x5e101e,_0xd6a207._0x4cb136,0x476)+_0x28b47c(_0xd6a207._0x2e6f53,_0xd6a207._0x22662e,0x4ea,0x4b8)+_0x1e12e8(_0xd6a207._0x488157,0x1a2,_0xd6a207._0x38e2dd,0x1ac);const _0x5ef32c=_0x4e3789;try{if(_0x5ef32c['shlsy']!==_0x1e12e8(0x223,0x24a,_0xd6a207._0x390e94,_0xd6a207._0x165e58)){const _0x3ecafb={};return _0x3ecafb['error']=_0x5ef32c['ItNnS'],_0x53448b[_0x28b47c(_0xd6a207._0x56ee3d,_0xd6a207._0x43b7a2,_0xd6a207._0x3bd197,_0xd6a207._0x22924a)](-0x1c*-0x155+-0x2*-0x8b6+-0x4c*0xb3)['json'](_0x3ecafb);}else{const {token:_0x3bf6bd}=_0x2c7ea1[_0x28b47c(_0xd6a207._0x4c6861,_0xd6a207._0x5b8386,_0xd6a207._0x38c098,0x465)];if(!_0x3bf6bd){if(_0x5ef32c[_0x1e12e8(0x19b,0x17c,0x1de,_0xd6a207._0x393e94)](_0x5ef32c['xqImQ'],_0x5ef32c[_0x1e12e8(_0xd6a207._0x4f026b,0x1ea,0x17f,_0xd6a207._0x590f29)])){const _0x156dcb={};return _0x156dcb[_0x28b47c(_0xd6a207._0x18f3a3,_0xd6a207._0xe7d7aa,_0xd6a207._0x2e6f53,0x4bc)]='Token\x20is\x20r'+_0x28b47c(_0xd6a207._0xaa7940,0x4eb,_0xd6a207._0x39f3a5,_0xd6a207._0x348d25),_0x156dcb[_0x1e12e8(0x1bf,0x1f2,0x182,_0xd6a207._0x27175a)]=![],_0x4d84d8[_0x1e12e8(0x1cf,_0xd6a207._0x5f27f4,_0xd6a207._0x2556fb,0x206)](0xef2+0x3c9+-0x112b*0x1)['json'](_0x156dcb);}else{const _0x3dab15={};return _0x3dab15[_0x28b47c(0x41c,_0xd6a207._0x49db2d,_0xd6a207._0x34681d,0x44f)]=![],_0x3dab15[_0x1e12e8(0x22c,0x227,_0xd6a207._0x223681,0x1f5)]=_0x5ef32c['ItNnS'],_0x5edab0[_0x28b47c(0x4a5,0x4f7,0x4f4,0x4c3)](_0x3dab15);}}const _0x7f02e9=await validateToken(_0x3bf6bd);if(!_0x7f02e9){if(_0x5ef32c[_0x1e12e8(_0xd6a207._0x2c347c,_0xd6a207._0x35fd53,0x208,0x1e7)](_0x5ef32c[_0x1e12e8(_0xd6a207._0x44dbc5,_0xd6a207._0x368446,0x1fe,0x18c)],_0x28b47c(_0xd6a207._0x16520c,0x4b7,0x4b7,0x4b0))){const _0x32fe94={};return _0x32fe94[_0x28b47c(0x46b,0x4a3,0x4bb,_0xd6a207._0x3198ab)]='User\x20ID\x20is'+'\x20required',_0x506c2c[_0x1e12e8(_0xd6a207._0x2d6e2d,0x20a,_0xd6a207._0x38e2dd,0x20e)](0x1062+-0x2*0xa8d+0x648)[_0x28b47c(_0xd6a207._0x71e794,_0xd6a207._0x143ee6,0x50a,_0xd6a207._0x1acc00)](_0x32fe94);}else{const _0xd62ff0={};return _0xd62ff0[_0x1e12e8(_0xd6a207._0x47a820,0x1af,0x198,_0xd6a207._0x5026c2)]=![],_0xd62ff0[_0x1e12e8(_0xd6a207._0x403cf6,_0xd6a207._0x94efd3,_0xd6a207._0x1b00b5,0x25c)]=_0x5ef32c[_0x1e12e8(_0xd6a207._0x2a8700,_0xd6a207._0x3d744d,_0xd6a207._0x55aad3,0x247)],_0x4d84d8[_0x1e12e8(0x233,0x1ec,0x1e8,0x243)](_0xd62ff0);}}const _0x561a20=await findUserById(_0x7f02e9[_0x28b47c(_0xd6a207._0x4e0c07,0x47b,_0xd6a207._0xd5a7d8,_0xd6a207._0x42d0e9)]);if(!_0x561a20){const _0x25b353={};return _0x25b353[_0x1e12e8(_0xd6a207._0x47a820,_0xd6a207._0xca53ff,0x1a7,0x177)]=![],_0x25b353[_0x28b47c(0x473,0x4c4,0x506,0x4bc)]=_0x5ef32c[_0x1e12e8(0x1b9,_0xd6a207._0x310bd7,_0xd6a207._0x3b10dd,0x178)],_0x4d84d8['json'](_0x25b353);}const _0x266d8a={};_0x266d8a[_0x28b47c(0x3f9,_0xd6a207._0x26ea07,_0xd6a207._0x1389df,_0xd6a207._0x5c120c)]=_0x561a20[_0x28b47c(_0xd6a207._0x577b0a,0x42e,0x452,0x447)],_0x266d8a[_0x28b47c(_0xd6a207._0x5d93bf,_0xd6a207._0x3e2d6a,0x478,0x4c0)]=_0x561a20[_0x1e12e8(0x230,0x25d,0x21d,0x21e)];const _0x21037d={};_0x21037d[_0x28b47c(_0xd6a207._0x3e7047,0x423,0x489,0x44f)]=!![],_0x21037d[_0x28b47c(_0xd6a207._0x3d9df7,_0xd6a207._0x2bea1f,0x478,_0xd6a207._0x2faff7)]=_0x7f02e9[_0x1e12e8(0x1d8,_0xd6a207._0x3b5468,0x202,0x1b5)],_0x21037d[_0x28b47c(0x453,0x441,0x459,_0xd6a207._0x1859ea)]=_0x266d8a,_0x4d84d8['json'](_0x21037d);}}catch(_0x4b0f41){if(_0x5ef32c[_0x1e12e8(0x227,0x263,_0xd6a207._0x2c6b61,_0xd6a207._0x418770)](_0x5ef32c[_0x1e12e8(0x1e2,0x1cc,_0xd6a207._0x3a6bf3,_0xd6a207._0x50daef)],_0x5ef32c[_0x28b47c(_0xd6a207._0x2ec25d,_0xd6a207._0x86bbd7,0x46e,0x44a)])){const _0x520fdc={};return _0x520fdc[_0x1e12e8(_0xd6a207._0x403cf6,0x221,0x263,_0xd6a207._0x51eb76)]=_0x5ef32c[_0x1e12e8(_0xd6a207._0x2a933b,_0xd6a207._0x27175a,_0xd6a207._0x3045b0,_0xd6a207._0x2d4d91)],_0x525b76[_0x1e12e8(0x1cf,0x20a,0x18a,_0xd6a207._0x4d7988)](-0x1*-0xaf+-0x6f5*0x1+0xa*0xc9)['json'](_0x520fdc);}else{logger['error'](_0x5ef32c['iikAz'],_0x4b0f41);const _0x48c05f={};_0x48c05f['error']=_0x5ef32c[_0x28b47c(0x3e3,_0xd6a207._0x1b2101,_0xd6a207._0x363b5f,_0xd6a207._0x3a10a6)],_0x48c05f[_0x1e12e8(0x1bf,_0xd6a207._0x2e25b5,0x192,0x186)]=![],_0x4d84d8['status'](-0x10c*0x15+0x483+0x136d)[_0x1e12e8(_0xd6a207._0x1b82a5,0x287,0x1e8,0x27c)](_0x48c05f);}}}),router[_0x172b2e(0x14,0x2b,0xa,-0x34)](_0x172b2e(0x8,0xd,0x10,0x1b),async(_0x316dfd,_0xb89cea)=>{const _0x27e0af={_0x1ff692:0x145,_0x575fe6:0x117,_0x583315:0x2a5,_0x3b7ed5:0x26c,_0x1e9369:0x258,_0x3f480d:0x282,_0x4f3a81:0x294,_0x457bd9:0x296,_0x1bda99:0x297,_0x5d7330:0x14d,_0x48fa19:0x2ab,_0x4e793d:0x2b3,_0x585cc1:0x2c5,_0xc048d1:0x17f,_0x4f3e85:0x2c6,_0x3718f5:0x2c7,_0x388b47:0x1b0,_0x12814c:0x198,_0x1c4c29:0x1ad,_0x20242e:0x1a2,_0x3280e1:0x178,_0x2c83b3:0x18e,_0xfba12d:0x1ce,_0x5b85a2:0x2c3,_0x3ac31a:0x2ed,_0x3cde2b:0x2a8,_0x314b3f:0x313,_0x5ba968:0x299,_0x44802a:0x290,_0xb2776d:0x242,_0x20e7df:0x26a,_0x3c20e2:0x315,_0x4c392a:0x2dc,_0x10af18:0x1ad,_0x34edaa:0x112,_0x14f8f2:0x189,_0x1bfe84:0x15c,_0x5e638b:0x194,_0x5a641a:0x128,_0x487fa6:0x16f,_0x12a465:0x1a8,_0x31015e:0x309,_0x2363ad:0x2ff,_0xeb6124:0x28e,_0x4b1860:0x1cb,_0x474e63:0x2df,_0x2b7d83:0x121,_0x47ffde:0x150,_0x202209:0x138,_0x4f8339:0x24a,_0x382c5e:0x289,_0x46bb4a:0x111,_0x4af014:0x15f,_0x21637f:0xfb,_0x13aaaa:0x18f,_0xe59aea:0x18d,_0x4f4a87:0x2b5,_0x2e8ba1:0x2bf,_0x473b71:0x186,_0x4866a9:0x149,_0x172803:0x1c9,_0x5f0350:0x19b,_0x138b9a:0x2a2,_0x31b660:0x31b,_0x18f1ad:0x29a,_0x143b0a:0x27f,_0x220241:0x2cf,_0x3dd487:0x287,_0x4ae018:0x300,_0x3550a3:0x2fa,_0x425703:0x243,_0x314cae:0x2c3,_0x5e3e45:0x28c,_0x17e2fd:0x1c1,_0x73f25f:0x16a,_0x37fa24:0x136,_0x5dd924:0xf2,_0x5df98a:0x146,_0x32d5b1:0x31a,_0x3824aa:0x310,_0x217930:0x1b4,_0x443955:0x1ad,_0x2ab43f:0x2de,_0x587d98:0x177,_0x4f5d01:0x2cc,_0x191bd3:0x2ed,_0x4ecee9:0x1d4},_0x5e554f={_0x7bda1b:0x6b,_0x33ff6a:0x1d8};function _0x406aed(_0x133b29,_0x3390bd,_0x559efb,_0x12bc7a){return _0x172b2e(_0x559efb- -0x2c5,_0x3390bd,_0x559efb-0x102,_0x12bc7a-0xff);}const _0x284e61={'GqkWi':function(_0x2740d1,_0x4927b9){return _0x2740d1||_0x4927b9;},'JqIow':function(_0x111d4c,_0x90f257){return _0x111d4c<_0x90f257;},'IbnLR':_0x2c3d5c(_0x27e0af._0x1ff692,_0x27e0af._0x575fe6,0xf6,0xde)+_0x406aed(-0x32a,-0x2e7,-0x313,-0x2cf)+_0x406aed(-_0x27e0af._0x583315,-0x26a,-0x2a4,-_0x27e0af._0x3b7ed5)+_0x406aed(-_0x27e0af._0x1e9369,-0x236,-_0x27e0af._0x3f480d,-_0x27e0af._0x4f3a81),'KMnlx':function(_0x2981e3,_0x3bf92c){return _0x2981e3(_0x3bf92c);},'Negxy':_0x406aed(-_0x27e0af._0x457bd9,-_0x27e0af._0x1bda99,-0x2d4,-0x2c0)+'ound','pZMSk':function(_0x5f2248,_0x4caff0,_0x18647a){return _0x5f2248(_0x4caff0,_0x18647a);},'CEqzv':function(_0x700a80,_0x146dca){return _0x700a80(_0x146dca);},'OftUh':_0x2c3d5c(0x13d,_0x27e0af._0x5d7330,0x134,0x104)+_0x406aed(-_0x27e0af._0x48fa19,-_0x27e0af._0x4e793d,-_0x27e0af._0x585cc1,-0x27d)+'en','aLviJ':_0x2c3d5c(0x1b3,0x167,0x115,_0x27e0af._0xc048d1)+_0x406aed(-_0x27e0af._0x4f3e85,-0x313,-_0x27e0af._0x3718f5,-0x2e6)+'rd'};function _0x2c3d5c(_0x2f78f2,_0x5386d3,_0x13dc9b,_0x5d7aa0){return _0x20c75b(_0x5386d3-0xfe,_0x2f78f2,_0x13dc9b-_0x5e554f._0x7bda1b,_0x5d7aa0-_0x5e554f._0x33ff6a);}try{const {token:_0x27cd3d,password:_0x4f2f9c}=_0x316dfd[_0x2c3d5c(0x1d8,_0x27e0af._0x388b47,_0x27e0af._0x12814c,0x1ce)];if(_0x284e61['GqkWi'](!_0x27cd3d,!_0x4f2f9c)){const _0x44aee5={};return _0x44aee5[_0x2c3d5c(0x1e7,_0x27e0af._0x1c4c29,0x16c,_0x27e0af._0x20242e)]='Token\x20and\x20'+_0x2c3d5c(_0x27e0af._0x3280e1,0x183,_0x27e0af._0x2c83b3,_0x27e0af._0xfba12d)+_0x406aed(-0x2db,-0x2aa,-0x2e8,-0x2c4)+'d',_0xb89cea[_0x406aed(-_0x27e0af._0x5b85a2,-0x2c1,-_0x27e0af._0x3ac31a,-0x299)](-0x1*-0x1cb2+0x57*-0x2f+0x1*-0xb29)[_0x406aed(-0x25b,-_0x27e0af._0x3cde2b,-0x289,-0x2c2)](_0x44aee5);}if(_0x284e61[_0x406aed(-0x2c7,-_0x27e0af._0x314b3f,-0x2fb,-0x317)](_0x4f2f9c[_0x406aed(-0x29e,-0x2e1,-0x2c8,-0x296)],0x54e+-0x75a+0x214)){const _0x4698e6={};return _0x4698e6[_0x406aed(-_0x27e0af._0x5ba968,-0x25a,-_0x27e0af._0x44802a,-_0x27e0af._0xb2776d)]=_0x284e61[_0x406aed(-_0x27e0af._0x20e7df,-0x298,-0x284,-0x288)],_0xb89cea[_0x406aed(-_0x27e0af._0x3c20e2,-0x30f,-_0x27e0af._0x3ac31a,-0x2d3)](-0x1*-0x120d+-0x97*0xb+-0xa00)[_0x406aed(-0x2be,-0x2a1,-0x289,-_0x27e0af._0x4c392a)](_0x4698e6);}const _0x4b08ab=await _0x284e61['KMnlx'](validateToken,_0x27cd3d);if(!_0x4b08ab){const _0x29d2a1={};return _0x29d2a1[_0x2c3d5c(0x17b,_0x27e0af._0x10af18,_0x27e0af._0xfba12d,0x1ac)]=_0x2c3d5c(0x142,_0x27e0af._0x34edaa,0x129,0x12e)+_0x2c3d5c(_0x27e0af._0x14f8f2,_0x27e0af._0x1bfe84,_0x27e0af._0x5e638b,0x16e)+_0x2c3d5c(_0x27e0af._0x5a641a,_0x27e0af._0x487fa6,0x192,_0x27e0af._0x12a465),_0xb89cea[_0x406aed(-0x2b6,-_0x27e0af._0x31015e,-_0x27e0af._0x3ac31a,-_0x27e0af._0x2363ad)](-0x103a+-0xc29+-0x11*-0x1c3)[_0x406aed(-_0x27e0af._0x4e793d,-_0x27e0af._0xeb6124,-0x289,-0x279)](_0x29d2a1);}const _0x13aad5=await _0x284e61['KMnlx'](findUserById,_0x4b08ab[_0x2c3d5c(_0x27e0af._0x4b1860,0x18f,0x1ac,0x1d1)]);if(!_0x13aad5){const _0x359803={};return _0x359803[_0x406aed(-_0x27e0af._0x474e63,-0x27d,-0x290,-0x2bf)]=_0x284e61['Negxy'],_0xb89cea[_0x2c3d5c(_0x27e0af._0x2b7d83,_0x27e0af._0x47ffde,0x126,_0x27e0af._0x202209)](-0x1901+-0xeaa+0x1*0x293f)[_0x406aed(-_0x27e0af._0x4f8339,-0x2de,-_0x27e0af._0x382c5e,-0x28a)](_0x359803);}await _0x284e61[_0x2c3d5c(_0x27e0af._0x46bb4a,_0x27e0af._0x2b7d83,_0x27e0af._0x4af014,_0x27e0af._0x21637f)](setUserPassword,_0x4b08ab[_0x2c3d5c(0x1b9,_0x27e0af._0x13aaaa,0x1e2,_0x27e0af._0xe59aea)],_0x4f2f9c),await _0x284e61[_0x406aed(-_0x27e0af._0x4f4a87,-0x282,-_0x27e0af._0x2e8ba1,-0x2e0)](markTokenAsUsed,_0x27cd3d);const _0x1c2c05={};_0x1c2c05['userId']=_0x13aad5['id'],_0x1c2c05['username']=_0x13aad5[_0x2c3d5c(_0x27e0af._0x473b71,0x138,_0x27e0af._0x4866a9,_0x27e0af._0x1bfe84)],_0x1c2c05[_0x2c3d5c(_0x27e0af._0x172803,_0x27e0af._0x5f0350,0x156,0x158)]=_0x4b08ab[_0x406aed(-0x31d,-_0x27e0af._0x138b9a,-0x2e4,-_0x27e0af._0x31b660)],logger[_0x406aed(-_0x27e0af._0x18f1ad,-_0x27e0af._0x143b0a,-_0x27e0af._0x220241,-_0x27e0af._0x3dd487)](_0x284e61[_0x406aed(-_0x27e0af._0x4ae018,-0x2ac,-_0x27e0af._0x3550a3,-0x2a7)],_0x1c2c05);const _0x469290={};_0x469290['id']=_0x13aad5['id'],_0x469290['username']=_0x13aad5[_0x2c3d5c(0x132,_0x27e0af._0x202209,0x109,0x178)],_0x469290[_0x406aed(-_0x27e0af._0x425703,-_0x27e0af._0x314cae,-_0x27e0af._0x5e3e45,-0x2c2)]=_0x13aad5[_0x2c3d5c(0x16e,0x1b1,_0x27e0af._0x17e2fd,_0x27e0af._0x73f25f)];const _0x528693={};_0x528693[_0x2c3d5c(0x181,_0x27e0af._0x37fa24,0x179,_0x27e0af._0x5dd924)]=_0x2c3d5c(_0x27e0af._0x5df98a,_0x27e0af._0x5d7330,0xf8,0x132)+_0x406aed(-_0x27e0af._0x3ac31a,-_0x27e0af._0x220241,-0x31f,-0x2e3)+_0x406aed(-0x2b8,-_0x27e0af._0x32d5b1,-0x301,-_0x27e0af._0x3824aa),_0x528693['user']=_0x469290,_0xb89cea['json'](_0x528693);}catch(_0x321d09){logger[_0x2c3d5c(_0x27e0af._0x217930,_0x27e0af._0x443955,0x1e4,0x201)](_0x284e61[_0x406aed(-0x30c,-_0x27e0af._0x583315,-_0x27e0af._0x4f3e85,-_0x27e0af._0x2ab43f)],_0x321d09);const _0x1dff1a={};_0x1dff1a['error']=_0x284e61[_0x2c3d5c(0x152,_0x27e0af._0x587d98,0x1cc,0x147)],_0xb89cea[_0x406aed(-_0x27e0af._0x4f5d01,-0x2ac,-_0x27e0af._0x191bd3,-_0x27e0af._0x3cde2b)](0x858*0x1+-0x1*0x1fde+-0x197a*-0x1)[_0x2c3d5c(0x1c9,0x1b4,0x17a,_0x27e0af._0x4ecee9)](_0x1dff1a);}});function _0x20c75b(_0x151258,_0x291838,_0x19ab67,_0x46f7fe){const _0x48bb38={_0x11dca6:0x81};return _0x44a1(_0x151258- -_0x48bb38._0x11dca6,_0x291838);}router[_0x20c75b(0x8d,0x68,0x9d,0xb8)](_0x172b2e(-0x4,-0x46,-0x3,-0x1b)+_0x172b2e(-0x4a,-0x50,-0x3d,-0x18),requireAuth,requireAdmin,async(_0x7c3087,_0xc8790e)=>{const _0x4b474e={_0x4fa7de:0x1ea,_0x3cd46d:0x1f5,_0x383446:0x215,_0x5cee3b:0x231,_0x10a2d0:0x1c3,_0x2e4951:0x206,_0x43507b:0x1f4,_0x14ff12:0x1d5,_0x1b1070:0x212,_0x343c92:0x1f4,_0x216bf8:0x23a,_0x42f73c:0x80,_0x30b033:0x1ce,_0x375a9e:0x1fe,_0x5341c3:0x77,_0x1375ba:0xd6,_0x124b4a:0xaf,_0x465cc4:0x63,_0x7fc51c:0x45,_0x556279:0x6b,_0x588d4b:0xc,_0x2aa34d:0xbc,_0x48873c:0x90,_0x405c58:0x251,_0x3d3553:0x1d9,_0x1e73ce:0x1d5,_0x8b1d12:0x2b,_0x53df42:0x49},_0x33501a={_0x3a47ea:0x138},_0x3c26c0={_0x525158:0x18f,_0x27ce73:0xf1};function _0x1c162e(_0x1c29a2,_0x223a7e,_0x526ffa,_0x3938e8){return _0x20c75b(_0x3938e8-0x1ac,_0x223a7e,_0x526ffa-_0x3c26c0._0x525158,_0x3938e8-_0x3c26c0._0x27ce73);}function _0x3ddf4d(_0x5a7bd8,_0x1de8ef,_0x459278,_0x2cc95a){return _0x20c75b(_0x459278- -0xff,_0x2cc95a,_0x459278-0x140,_0x2cc95a-_0x33501a._0x3a47ea);}const _0x19290f={'RSrLV':function(_0x38e269,_0x5e0c2d){return _0x38e269(_0x5e0c2d);},'uXNPq':_0x1c162e(0x22c,_0x4b474e._0x4fa7de,_0x4b474e._0x3cd46d,_0x4b474e._0x383446)+'get\x20user\x20t'+_0x1c162e(_0x4b474e._0x5cee3b,_0x4b474e._0x10a2d0,_0x4b474e._0x2e4951,_0x4b474e._0x43507b)};try{const {userId:_0x4dd8df}=_0x7c3087[_0x1c162e(0x1cb,0x214,_0x4b474e._0x14ff12,0x1c7)],_0x5a5564=await _0x19290f[_0x1c162e(0x1ed,_0x4b474e._0x1b1070,_0x4b474e._0x343c92,0x233)](findUserById,_0x4dd8df);if(!_0x5a5564){const _0x5e0d93={};return _0x5e0d93[_0x1c162e(0x24d,_0x4b474e._0x216bf8,0x249,0x25b)]='User\x20not\x20f'+_0x3ddf4d(-0xb7,-0x4d,-_0x4b474e._0x42f73c,-0x7b),_0xc8790e[_0x1c162e(0x1fb,0x208,_0x4b474e._0x30b033,_0x4b474e._0x375a9e)](-0x797*0x1+-0x1aeb*-0x1+-0x8e0*0x2)['json'](_0x5e0d93);}const _0x511a3e=await getUserTokens(_0x4dd8df),_0x301031={};_0x301031[_0x3ddf4d(-_0x4b474e._0x5341c3,-_0x4b474e._0x1375ba,-_0x4b474e._0x124b4a,-_0x4b474e._0x465cc4)]=_0x511a3e,_0xc8790e[_0x3ddf4d(-_0x4b474e._0x7fc51c,-_0x4b474e._0x556279,-0x49,_0x4b474e._0x588d4b)](_0x301031);}catch(_0xd2d8aa){logger['error'](_0x19290f[_0x3ddf4d(-0xf1,-_0x4b474e._0x2aa34d,-0xaa,-_0x4b474e._0x48873c)],_0xd2d8aa);const _0x29b054={};_0x29b054['error']=_0x1c162e(0x217,0x20d,_0x4b474e._0x405c58,0x215)+_0x1c162e(_0x4b474e._0x3d3553,0x19b,0x20a,_0x4b474e._0x1e73ce)+'okens',_0xc8790e['status'](0x90f+0x307*0x6+-0x1945)[_0x3ddf4d(-_0x4b474e._0x8b1d12,-0x61,-_0x4b474e._0x53df42,-0x76)](_0x29b054);}}),router[_0x20c75b(0x6f,0x94,0x2e,0xa6)](_0x20c75b(0x81,0x8e,0x64,0xac)+_0x20c75b(0x1d,-0x2c,0x4f,0x0),requireAuth,requireAdmin,async(_0x44c7cd,_0x4b59fb)=>{const _0x3f68a3={_0x4de4c9:0xe6,_0x2fcdbf:0x13c,_0x4c4a70:0x122,_0x35384a:0x10d,_0x567149:0x11b,_0x57dc63:0xe6,_0x306fa4:0x184,_0x43e2d3:0x114,_0x9258ef:0xf5,_0x354cd9:0x134,_0x3b340d:0xfd,_0x3fbca0:0x1a6,_0x6af3e1:0x152,_0x476c50:0x15f,_0x486c4a:0x1ab,_0x4d15e3:0xee,_0x5026d5:0x124,_0x2a5263:0xcb,_0x123fa9:0x156,_0x361e28:0x153,_0xc00ff8:0x16c,_0x1ef104:0x1bd,_0x3c298b:0x137,_0x1a256f:0xe6,_0x35600c:0x152,_0x55bd85:0x18d,_0x28afd3:0x1a4,_0x3e11ae:0x1e9,_0x3af1fa:0x1ae,_0x4ad655:0x15c,_0x4db888:0x1cf,_0x37e739:0x132,_0xfb1207:0x19b,_0x4b16ba:0x17a,_0x112c6f:0x133,_0x43fa97:0x19f,_0x1759e3:0x172,_0x23cb2e:0x13f,_0x12ae9b:0x1b2,_0x1a1ad3:0x177,_0x162836:0x176,_0x24b3fa:0x116,_0x3b8814:0x15f,_0x458723:0xc7,_0x21e6d9:0xeb,_0x420eec:0x140,_0x4346c1:0xf6,_0x10fe39:0xc2,_0x49ca18:0x132,_0x44fb02:0x128},_0x10fe2b={_0x51ec3d:0x11f,_0x5631b4:0x140},_0x4b088c={};_0x4b088c[_0x15f65b(_0x3f68a3._0x4de4c9,_0x3f68a3._0x2fcdbf,_0x3f68a3._0x4c4a70,_0x3f68a3._0x35384a)]=_0x15f65b(0xfa,_0x3f68a3._0x567149,_0x3f68a3._0x57dc63,0xed)+_0x325c7b(-0x131,-_0x3f68a3._0x306fa4,-_0x3f68a3._0x43e2d3,-0x142);function _0x15f65b(_0x456e6e,_0x223a15,_0xc8d353,_0x515ebb){return _0x172b2e(_0xc8d353-0x12a,_0x223a15,_0xc8d353-_0x10fe2b._0x51ec3d,_0x515ebb-_0x10fe2b._0x5631b4);}_0x4b088c[_0x325c7b(-0x140,-_0x3f68a3._0x9258ef,-_0x3f68a3._0x354cd9,-0x149)]=_0x325c7b(-0x197,-0x1d3,-0x1f8,-0x1ac)+_0x15f65b(_0x3f68a3._0x3b340d,0xb0,0xde,0xfa)+'sfully';function _0x325c7b(_0x2fa77d,_0x91a04b,_0x330c92,_0x437c9a){return _0x20c75b(_0x437c9a- -0x1e0,_0x330c92,_0x330c92-0x160,_0x437c9a-0x7);}const _0x55f86f=_0x4b088c;try{const {tokenId:_0x3f6cb3}=_0x44c7cd['params'],_0x25a537=await revokeToken(_0x3f6cb3);if(!_0x25a537){const _0x57aecc={};return _0x57aecc[_0x15f65b(_0x3f68a3._0x3fbca0,_0x3f68a3._0x6af3e1,_0x3f68a3._0x476c50,_0x3f68a3._0x486c4a)]=_0x55f86f[_0x15f65b(0x14a,0xf4,0x122,0x11a)],_0x4b59fb[_0x15f65b(_0x3f68a3._0x4d15e3,_0x3f68a3._0x5026d5,0x102,_0x3f68a3._0x2a5263)](0x1*0x94f+-0x11a9+0x9ee)[_0x15f65b(0x15c,_0x3f68a3._0x123fa9,0x166,0x13e)](_0x57aecc);}const _0x42be8b={};_0x42be8b[_0x325c7b(-_0x3f68a3._0x361e28,-_0x3f68a3._0xc00ff8,-_0x3f68a3._0x1ef104,-0x184)]=_0x44c7cd['user']['id'],_0x42be8b[_0x15f65b(0x114,0x10e,0xfb,_0x3f68a3._0x3c298b)+_0x15f65b(_0x3f68a3._0x1a256f,0xbc,0xf6,0xc5)]=_0x44c7cd['user']['username'],_0x42be8b[_0x325c7b(-_0x3f68a3._0x35600c,-0x1cf,-_0x3f68a3._0x55bd85,-0x180)]=_0x3f6cb3,logger['info']('Token\x20revo'+_0x325c7b(-_0x3f68a3._0x28afd3,-0x169,-_0x3f68a3._0x3e11ae,-_0x3f68a3._0x3af1fa),_0x42be8b);const _0x230610={};_0x230610[_0x325c7b(-_0x3f68a3._0x4ad655,-0x1a0,-_0x3f68a3._0x4db888,-0x1a8)]=_0x55f86f[_0x15f65b(0xf7,0x17e,0x147,0x107)],_0x4b59fb[_0x15f65b(_0x3f68a3._0x37e739,_0x3f68a3._0xfb1207,0x166,_0x3f68a3._0x4b16ba)](_0x230610);}catch(_0x22a0d2){logger[_0x15f65b(_0x3f68a3._0x112c6f,_0x3f68a3._0x43fa97,0x15f,_0x3f68a3._0x1759e3)](_0x325c7b(-_0x3f68a3._0x23cb2e,-0x150,-_0x3f68a3._0x12ae9b,-_0x3f68a3._0x1a1ad3)+_0x325c7b(-0x1b7,-0x1f4,-0x1c0,-0x1a5)+'en',_0x22a0d2);const _0x35dcd6={};_0x35dcd6[_0x15f65b(_0x3f68a3._0x162836,_0x3f68a3._0x24b3fa,_0x3f68a3._0x3b8814,0x160)]='Failed\x20to\x20'+_0x15f65b(0xc7,_0x3f68a3._0x458723,_0x3f68a3._0x21e6d9,_0x3f68a3._0x420eec)+'en',_0x4b59fb[_0x15f65b(_0x3f68a3._0x4346c1,_0x3f68a3._0x10fe39,0x102,_0x3f68a3._0x49ca18)](-0x6*0x5e8+0xb8b+0xd*0x1fd)[_0x15f65b(0x171,_0x3f68a3._0x44fb02,0x166,_0x3f68a3._0x28afd3)](_0x35dcd6);}});export default router;
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;