@profoundlogic/coderflow-server 0.3.2 → 0.4.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 (152) hide show
  1. package/dist/base-image/agent-wrapper.sh +49 -9
  2. package/dist/base-image/entrypoint.sh +12 -1
  3. package/dist/coder-server.js +1 -1
  4. package/dist/config/cli-models.json +5 -3
  5. package/dist/config.js +1 -1
  6. package/dist/lib/agent-keepalive.js +1 -1
  7. package/dist/lib/agent-models.js +1 -0
  8. package/dist/lib/api-keys.js +1 -1
  9. package/dist/lib/apiKeys.js +1 -1
  10. package/dist/lib/app-server-ports.js +1 -1
  11. package/dist/lib/auto-judge.js +1 -1
  12. package/dist/lib/basic-auth.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/config-command.js +1 -1
  21. package/dist/lib/cli/config.js +1 -1
  22. package/dist/lib/cli/create-user.js +1 -1
  23. package/dist/lib/cli/init.js +1 -1
  24. package/dist/lib/cli/jira.js +1 -1
  25. package/dist/lib/cli/license.js +1 -1
  26. package/dist/lib/cli/server-manager.js +1 -1
  27. package/dist/lib/config-migration.js +1 -0
  28. package/dist/lib/container-credential-sync.js +1 -1
  29. package/dist/lib/container-tokens.js +1 -1
  30. package/dist/lib/data-dir.js +1 -1
  31. package/dist/lib/deployment-history.js +1 -1
  32. package/dist/lib/deployment-service.js +1 -1
  33. package/dist/lib/docker-utils.js +1 -1
  34. package/dist/lib/email.js +1 -1
  35. package/dist/lib/emailTemplates.js +1 -1
  36. package/dist/lib/entitlement.js +1 -1
  37. package/dist/lib/fetch-utils.js +1 -1
  38. package/dist/lib/git-commit-details-route.js +1 -1
  39. package/dist/lib/git-history-diff-guardrails.js +1 -1
  40. package/dist/lib/git-provider-service.js +1 -1
  41. package/dist/lib/git-provider-setup/github-setup-handler.js +1 -1
  42. package/dist/lib/git-provider-setup/index.js +1 -1
  43. package/dist/lib/git-provider-setup/setup-factory.js +1 -1
  44. package/dist/lib/git-provider-setup/setup-interface.js +1 -1
  45. package/dist/lib/git-providers/azure-devops-provider.js +1 -1
  46. package/dist/lib/git-providers/github-app-provider.js +1 -1
  47. package/dist/lib/git-providers/index.js +1 -1
  48. package/dist/lib/git-providers/provider-factory.js +1 -1
  49. package/dist/lib/git-providers/provider-interface.js +1 -1
  50. package/dist/lib/github-urls.js +1 -1
  51. package/dist/lib/group-objective-linking.js +1 -1
  52. package/dist/lib/jira-client.js +1 -1
  53. package/dist/lib/judge-blinding.js +1 -1
  54. package/dist/lib/logger.js +1 -1
  55. package/dist/lib/model-fetcher.js +1 -1
  56. package/dist/lib/notifications.js +1 -1
  57. package/dist/lib/oidc-auth.js +1 -1
  58. package/dist/lib/oidc-device-flow.js +1 -1
  59. package/dist/lib/passwordTokens.js +1 -1
  60. package/dist/lib/pin-cascade.js +1 -1
  61. package/dist/lib/provider-accounts.js +1 -1
  62. package/dist/lib/provider-oauth.js +1 -1
  63. package/dist/lib/provider-profile.js +1 -1
  64. package/dist/lib/provider-token-refresh.js +1 -1
  65. package/dist/lib/request-url.js +1 -1
  66. package/dist/lib/rewind.js +1 -1
  67. package/dist/lib/roles.js +1 -1
  68. package/dist/lib/secrets.js +1 -1
  69. package/dist/lib/setup-repo-git-auth.js +1 -1
  70. package/dist/lib/state-capture.js +1 -1
  71. package/dist/lib/static-files.js +1 -1
  72. package/dist/lib/task-name-format.js +1 -0
  73. package/dist/lib/task-name-generator.js +1 -1
  74. package/dist/lib/user-git-oauth.js +1 -1
  75. package/dist/lib/user-git-tokens.js +1 -1
  76. package/dist/lib/users.js +1 -1
  77. package/dist/middleware/requireAuth.js +1 -1
  78. package/dist/middleware/requireInit.js +1 -1
  79. package/dist/middleware/requirePermission.js +1 -1
  80. package/dist/package.json +1 -1
  81. package/dist/routes/apiKeys.js +1 -1
  82. package/dist/routes/auth-oidc.js +1 -1
  83. package/dist/routes/auth.js +1 -1
  84. package/dist/routes/build.js +1 -1
  85. package/dist/routes/containers.js +1 -1
  86. package/dist/routes/deploy-task.js +1 -1
  87. package/dist/routes/environment-management.js +1 -1
  88. package/dist/routes/environments.js +1 -1
  89. package/dist/routes/external-skills.js +1 -1
  90. package/dist/routes/git-credentials.js +1 -1
  91. package/dist/routes/git-oauth.js +1 -1
  92. package/dist/routes/git-provider-setup.js +1 -1
  93. package/dist/routes/health.js +1 -1
  94. package/dist/routes/jira.js +1 -1
  95. package/dist/routes/objective-management.js +1 -1
  96. package/dist/routes/password.js +1 -1
  97. package/dist/routes/prompt.js +1 -1
  98. package/dist/routes/provider-auth.js +1 -1
  99. package/dist/routes/qa.js +1 -1
  100. package/dist/routes/settings.js +1 -1
  101. package/dist/routes/skill-management.js +1 -1
  102. package/dist/routes/skills.js +1 -1
  103. package/dist/routes/tasks.js +1 -1
  104. package/dist/routes/templates.js +1 -1
  105. package/dist/routes/test-task.js +1 -1
  106. package/dist/routes/test.js +1 -1
  107. package/dist/routes/users.js +1 -1
  108. package/dist/routes/visualizations.js +1 -1
  109. package/dist/scripts/create-user.js +1 -1
  110. package/dist/scripts/migrate-config-to-data-dir.js +2 -0
  111. package/dist/start.js +1 -1
  112. package/dist/web-ui/public/activity-detail-modal.js +1 -1
  113. package/dist/web-ui/public/activity-feed.js +1 -1
  114. package/dist/web-ui/public/activity-formatters.js +1 -1
  115. package/dist/web-ui/public/agent-event-parser.js +1 -1
  116. package/dist/web-ui/public/app.js +1 -1
  117. package/dist/web-ui/public/approve-dialog.js +1 -1
  118. package/dist/web-ui/public/comments-widget.js +1 -1
  119. package/dist/web-ui/public/diff-utils.js +1 -1
  120. package/dist/web-ui/public/docs/README.md +1 -1
  121. package/dist/web-ui/public/docs/admin/environments.md +1 -1
  122. package/dist/web-ui/public/docs/admin/jira.md +78 -16
  123. package/dist/web-ui/public/docs/integrations/ibmi/overview.md +3 -3
  124. package/dist/web-ui/public/docs/integrations/overview.md +1 -1
  125. package/dist/web-ui/public/docs/tasks/approval-and-deployment.md +38 -0
  126. package/dist/web-ui/public/environments.js +1 -1
  127. package/dist/web-ui/public/feedback-widget.js +1 -1
  128. package/dist/web-ui/public/git-history-lazy-utils.js +1 -1
  129. package/dist/web-ui/public/git-history.js +1 -1
  130. package/dist/web-ui/public/git-status.js +1 -1
  131. package/dist/web-ui/public/index.html +1 -0
  132. package/dist/web-ui/public/index.js +1 -1
  133. package/dist/web-ui/public/login.js +1 -1
  134. package/dist/web-ui/public/markdown-editor.js +1 -1
  135. package/dist/web-ui/public/markdown-file-editor.js +1 -1
  136. package/dist/web-ui/public/modal-maximize.js +1 -1
  137. package/dist/web-ui/public/notifications.js +1 -1
  138. package/dist/web-ui/public/pr-dialog.js +1 -1
  139. package/dist/web-ui/public/server-health.js +1 -1
  140. package/dist/web-ui/public/settings.js +1 -1
  141. package/dist/web-ui/public/setup-password.js +1 -1
  142. package/dist/web-ui/public/skills.js +1 -1
  143. package/dist/web-ui/public/sse-client.js +1 -1
  144. package/dist/web-ui/public/sse-shared-worker.js +1 -1
  145. package/dist/web-ui/public/styles.css +50 -0
  146. package/dist/web-ui/public/task.html +10 -3
  147. package/dist/web-ui/public/task.js +1 -1
  148. package/dist/web-ui/public/terminal.js +1 -1
  149. package/dist/web-ui/public/theme.js +1 -1
  150. package/dist/web-ui/public/users.js +1 -1
  151. package/dist/web-ui/public/variant-grouping.js +1 -1
  152. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x554e9d,_0x34e5ad){const _0x347575={_0x370e1d:0x3fa,_0x13c682:0x3ca,_0x4c7adb:0x1a0,_0x148013:0x180,_0x5760e5:0x1b5,_0x1dd7b2:0x1ed,_0x4c523b:0x1d4,_0x218722:0x229,_0x4df888:0x1ef,_0x26c594:0x1a6,_0x23d612:0x42b,_0x2d3d53:0x439,_0x5969e3:0x40b,_0x8a6c90:0x454,_0xbdd803:0x452,_0x42931a:0x3fe,_0x5cef73:0x48f};function _0x3a087a(_0x13e8b5,_0x71908a,_0x477ea2,_0x16dde1){return _0x2ca5(_0x477ea2-0x2f9,_0x13e8b5);}function _0xea7576(_0x172ca0,_0x3c568f,_0x25dd36,_0x178088){return _0x2ca5(_0x25dd36- -0x300,_0x178088);}const _0x3b672f=_0x554e9d();while(!![]){try{const _0x19eaf3=-parseInt(_0x3a087a(_0x347575._0x370e1d,_0x347575._0x13c682,0x3da,0x38c))/(0x2240+-0xb20+-0x7b5*0x3)*(-parseInt(_0xea7576(-0x21a,-0x220,-0x1fc,-_0x347575._0x4c7adb))/(-0x1*-0xe29+0x11*-0x53+-0x8a4))+parseInt(_0xea7576(-0x1d7,-_0x347575._0x148013,-_0x347575._0x5760e5,-_0x347575._0x1dd7b2))/(0x1a0e+-0xd3*0x1a+-0x49d)+parseInt(_0xea7576(-0x218,-_0x347575._0x4c523b,-_0x347575._0x218722,-0x23e))/(-0xca4+-0x3*0xe3+0xf51)+parseInt(_0xea7576(-0x1b6,-0x246,-_0x347575._0x4df888,-_0x347575._0x26c594))/(0x3b1*0xa+0x2156+-0x463b)+parseInt(_0x3a087a(_0x347575._0x23d612,0x464,_0x347575._0x2d3d53,0x412))/(-0x2*0xb92+-0x1*0xf0b+0x2635)+parseInt(_0x3a087a(_0x347575._0x5969e3,_0x347575._0x8a6c90,0x40f,0x3b5))/(0x1e03+-0x11e4*-0x1+0x17f0*-0x2)+-parseInt(_0x3a087a(0x3f7,_0x347575._0xbdd803,_0x347575._0x42931a,0x456))/(-0x15cf+0x2628+-0x1051)*(parseInt(_0x3a087a(0x45e,0x42c,0x455,_0x347575._0x5cef73))/(0x265*-0xd+0x4b5+0x1a75));if(_0x19eaf3===_0x34e5ad)break;else _0x3b672f['push'](_0x3b672f['shift']());}catch(_0x5ce369){_0x3b672f['push'](_0x3b672f['shift']());}}}(_0x5882,-0x40eb9+-0x22d24+-0x4*-0x30333));import _0x100976 from'express';import{logger}from'../lib/logger.js';import{requireAuth,requireAdmin}from'../middleware/requireAuth.js';import{getRequestBaseUrl}from'../lib/request-url.js';function _0x3d10fd(_0x3f54ad,_0x15172b,_0x322f03,_0x22ba66){const _0x41e4c7={_0x13191a:0x337};return _0x2ca5(_0x15172b-_0x41e4c7._0x13191a,_0x322f03);}import{findUserById,setUserPassword}from'../lib/users.js';import{createPasswordToken,validateToken,markTokenAsUsed,getUserTokens,revokeToken}from'../lib/passwordTokens.js';import{isEmailConfigured,sendTemplatedEmail,getEmailConfigStatus}from'../lib/email.js';import{renderTemplate}from'../lib/emailTemplates.js';function _0x3f047c(_0x5c2154,_0x43e3b4,_0x466f2f,_0xd9e85e){return _0x2ca5(_0xd9e85e- -0x128,_0x5c2154);}const router=_0x100976[_0x3f047c(0x1c,0x2,-0x5,-0x26)]();router[_0x3d10fd(0x478,0x47d,0x486,0x48f)](_0x3d10fd(0x46b,0x4ae,0x453,0x49e)+_0x3f047c(0x52,0x87,0x59,0x49),requireAuth,requireAdmin,async(_0x1195d8,_0x328a53)=>{const _0x2d979b={_0xb17f22:0x156,_0x14cfd8:0x16e,_0x4632aa:0x1a2,_0x1921ab:0x146,_0x492560:0x14f,_0x3e482c:0x1d,_0x54ecf0:0x48,_0xe79dc1:0x27,_0x311ea7:0xdf,_0x3d5408:0x9a,_0x4d6d00:0x7c,_0x207be2:0x7a,_0x318913:0x48,_0x23bb1d:0xb5,_0x54e39f:0xd,_0x3ceea4:0x1a1,_0x189aff:0x1ac,_0x5e4082:0x44,_0x2d26e9:0x3e,_0x1d69fd:0x107,_0x556d32:0xde,_0x9e0565:0xa1,_0x5b71a1:0x181},_0x5c7f82={_0x36ae5e:0x1c3,_0x38761d:0x11d},_0x3b2c7d={_0x3a121e:0x26,_0x57c5e4:0x72};function _0x5aa84d(_0x4ad578,_0x58244a,_0x1b2fb6,_0x36411e){return _0x3d10fd(_0x4ad578-_0x3b2c7d._0x3a121e,_0x4ad578- -0x4b9,_0x36411e,_0x36411e-_0x3b2c7d._0x57c5e4);}const _0x3309b2={'ntHFP':function(_0x4ecc55){return _0x4ecc55();},'ysDju':'Failed\x20to\x20'+_0x3796fa(-0x144,-_0x2d979b._0xb17f22,-_0x2d979b._0x14cfd8,-_0x2d979b._0x4632aa)+_0x3796fa(-0xe9,-_0x2d979b._0x1921ab,-_0x2d979b._0x492560,-0x181)+_0x5aa84d(-0x7,-_0x2d979b._0x3e482c,-_0x2d979b._0x54ecf0,-_0x2d979b._0xe79dc1),'Wfbil':_0x5aa84d(-0xb8,-_0x2d979b._0x311ea7,-_0x2d979b._0x3d5408,-0xb7)+_0x5aa84d(-0x93,-0x76,-0xa9,-_0x2d979b._0x4d6d00)+_0x5aa84d(-_0x2d979b._0x207be2,-_0x2d979b._0x318913,-_0x2d979b._0x23bb1d,-0xb4)+_0x5aa84d(-_0x2d979b._0x54e39f,0x45,-0x58,-0x55)};function _0x3796fa(_0xe7bb28,_0x4585d1,_0x53edc0,_0x2ed83a){return _0x3f047c(_0x53edc0,_0x4585d1-0xf5,_0x53edc0-_0x5c7f82._0x36ae5e,_0x4585d1- -_0x5c7f82._0x38761d);}try{const _0x42eb08=_0x3309b2['ntHFP'](getEmailConfigStatus);_0x328a53[_0x3796fa(-0x19e,-0x181,-_0x2d979b._0x3ceea4,-_0x2d979b._0x189aff)](_0x42eb08);}catch(_0x29d58b){logger[_0x5aa84d(-_0x2d979b._0x5e4082,0x5,-0x6b,-_0x2d979b._0x2d26e9)](_0x3309b2[_0x3796fa(-0x13e,-0x12b,-0xf6,-0xd3)],_0x29d58b);const _0x486c06={};_0x486c06[_0x3796fa(-0xc1,-_0x2d979b._0x1d69fd,-0xaf,-_0x2d979b._0x556d32)]=_0x3309b2[_0x5aa84d(-0x22,-0x5d,0x32,-0x6a)],_0x328a53[_0x5aa84d(-0x50,-_0x2d979b._0x9e0565,-0x32,-0xa)](0x9*-0x241+0x1cd6*-0x1+0x5*0xa37)[_0x3796fa(-0x1b4,-_0x2d979b._0x5b71a1,-0x1b0,-0x141)](_0x486c06);}}),router[_0x3f047c(0x3e,-0x22,-0x46,0xd)]('/create-to'+'ken',requireAuth,requireAdmin,async(_0x58e38f,_0x262ee7)=>{const _0x48b737={_0xf35dc:0x144,_0x36cfdb:0x133,_0x3b4f0f:0x2de,_0x5ea173:0x339,_0x44abd8:0x34a,_0x4070e9:0x171,_0x45b3b0:0xe5,_0xb37a31:0xfc,_0x318a09:0x33b,_0x58db03:0x330,_0x262e84:0x308,_0x125741:0x320,_0xeb4225:0x379,_0x6c04cf:0x31f,_0x239376:0x10c,_0x2d9dc8:0x1a3,_0x259f80:0x2f6,_0x2aca6a:0x2bb,_0x1dc5d3:0x2c3,_0x1f019a:0x321,_0x431a89:0x2dc,_0x12f72e:0x17d,_0x24a85d:0x15d,_0x10394d:0x2d2,_0x3f6fd1:0x135,_0x111102:0x397,_0x2a2c77:0x33a,_0x55ef2f:0x184,_0x3d9519:0x193,_0x175f64:0x189,_0x28e161:0x31b,_0x4e1f98:0x32e,_0xae78c9:0x325,_0x179bc6:0x2df,_0x272981:0x28b,_0x24cbd1:0x2a7,_0x4b72aa:0x194,_0x165131:0x32a,_0x2ec955:0x2f9,_0x1415f9:0x2e5,_0x2662a2:0x286,_0x3358ef:0x294,_0x38d592:0x35e,_0x389712:0x392,_0x44a7b8:0x34a,_0xea4d93:0x356,_0x49d434:0x254,_0x487d8e:0x15e,_0x581c39:0x169,_0x2e9b95:0x18b,_0x1a43fd:0x11e,_0x56fc28:0xe4,_0x331c51:0x1b8,_0x21f8cd:0x193,_0x2fc288:0x113,_0x72ca92:0x165,_0xe7e2b6:0x141,_0x55a85d:0x159,_0x3019bf:0x90,_0x520c11:0xdc,_0x18af48:0xd6,_0x5ca719:0xeb,_0xbb5858:0x2fb,_0x46a853:0x2ef,_0x4f8819:0x2b2,_0x1eae7f:0x174,_0x494776:0xc6,_0xed2045:0x11c,_0x39e924:0x175,_0x522c32:0x115,_0x16ed7e:0x11a,_0x27b9f8:0x36e,_0x3b2d45:0x33a,_0x3e6efc:0x336,_0x338b51:0x1b4,_0x5b286a:0x13f,_0x5f1558:0x11b,_0x1b0ed4:0x104,_0x1d6bbc:0x128,_0x273860:0x2b6,_0x56caf4:0x298,_0x471da6:0x2d9,_0x32177b:0x2c1,_0x5751db:0x2f8,_0x195b26:0x2d1,_0x171c2c:0x2e1,_0xabf24:0x2fe,_0x344828:0x1c1,_0x22f26e:0x173,_0x281995:0x98,_0x5179b8:0x110,_0x5406bc:0x159,_0x18a9a5:0x125,_0x1ac6b0:0x154,_0x422245:0x159,_0x3256c1:0x112,_0x3f15a0:0x1bd,_0x85deb1:0x138,_0x40a783:0x139,_0x524af3:0x16d,_0x599e18:0x159,_0x1e4df4:0x145,_0x2151bb:0x155,_0x5cbb11:0x171,_0x136da5:0x2d5,_0x1e0521:0x108,_0x3962ab:0x11d,_0x3abcab:0x157,_0x3e3d52:0x2b9,_0x4b7dbe:0x313,_0xed1a2a:0x2d5,_0x4e339d:0x335,_0xcc2bea:0x309,_0x488d0d:0x34e,_0x15c4ab:0x363,_0x1028b7:0x311,_0x14c4fe:0x151,_0x4ec2c1:0x2ec,_0x511ac0:0x297,_0x296c6b:0x105,_0x2db4d3:0x189,_0x5dc658:0x136,_0x734c00:0x169,_0x4e77b0:0x1ad,_0x2bf292:0x15a,_0x213f0c:0x17b,_0x5eb49b:0x26d,_0x1817ad:0x140,_0x3ca925:0x13b,_0x345c16:0x1be,_0x107d4d:0x195,_0x5be932:0x356,_0x4d0334:0x33c,_0x3d4f82:0x1af,_0x3f745f:0xa8,_0x111a9e:0xf3,_0x6cef1b:0x107,_0x24add3:0x10c,_0x352d08:0xf3,_0x4cc470:0x107,_0x351f01:0x102,_0x7f20cf:0x2db,_0x39ca60:0x30b,_0x23476e:0x2b0,_0x44c3bc:0x136,_0x2b53f1:0x141,_0x1aa60d:0x13c,_0x59e667:0xee,_0x154c35:0x155,_0x41fd86:0xf0,_0x45d5a5:0x2ed,_0x23e3aa:0x117,_0x1e70f8:0x342,_0x548f95:0x305,_0x12e23d:0x341,_0x8f4161:0x300,_0x592a92:0xe3,_0x5aaff2:0x2de,_0x5667a0:0x291,_0x3f4de8:0x2f7,_0x593d62:0x2d8,_0x1fd5b1:0xce,_0x2096d2:0x11d,_0x18323e:0xf0,_0x6442ef:0x2ef,_0x4304fb:0x2ef,_0x368827:0x2f4,_0x48496c:0x29a,_0x52bc67:0x36e,_0x510fed:0x331,_0x31c3c2:0x2f0,_0x446f29:0x189,_0x4e1564:0x137,_0x576729:0x116,_0x270178:0x13c,_0x178fdc:0x2f8,_0x58d57d:0x282,_0x2c2ea8:0x246,_0x4169bf:0x29a,_0x525a15:0x29f,_0x5b0bf0:0x2be,_0xabca3c:0x27c,_0x28e19c:0x2aa,_0x36cd49:0x19c,_0x589a14:0x142,_0x215822:0x2e2,_0x51b955:0x2c5,_0x41556a:0x33c,_0x492ac:0x2ff,_0x2b6aea:0x30b,_0x3f54e4:0x164,_0x440960:0x139,_0x47f33f:0x160,_0xbccee7:0x17a,_0xc30ef9:0x18a,_0x256314:0x16f,_0x1a543d:0x18a,_0x133baa:0xed,_0x3d66c3:0x134,_0x2dff98:0x2a0,_0xbd1cbd:0x2b1,_0x39bb97:0x10d,_0xfe949c:0x2c2,_0x240d00:0x2cd,_0x1ce948:0x102,_0x5acd75:0x14e,_0x435ded:0x2c6,_0x504da8:0x293,_0x31aac4:0x30d,_0x4aaa5b:0x30c,_0x479593:0x349,_0x10cc71:0x2e3,_0x228819:0x2af,_0x4404b5:0x333,_0x4ebd1d:0x147,_0x1cdb36:0x265,_0x11ccbe:0x25f,_0x527caf:0x118,_0x13b6d3:0xef,_0x686a88:0x2a8,_0x5d58af:0x2d8,_0x5441bc:0x2ad,_0x5ca104:0x259,_0x25cdf1:0x12f,_0x240075:0x131,_0x5a86d6:0x114,_0xee4ecd:0x279,_0x2f8474:0x290,_0x403631:0x17c,_0x4e2aa2:0x363,_0x4c3d4f:0x36f,_0x13d3cc:0x32a,_0xd1d376:0x191,_0x4bea17:0x13f,_0x409caa:0x188,_0x55e8d0:0x2cb,_0x509da7:0x2e0,_0x31b877:0xfb,_0x4bef19:0x11d,_0x460287:0xeb,_0x3c6233:0x30c,_0x2f10d3:0x274,_0x37cb0d:0x2b1,_0x528ccc:0x2db,_0x1a719c:0x31c,_0x12cb9a:0x358,_0x3b55db:0x343,_0x2f4de2:0x285},_0x10c505={_0x548b68:0x1f1,_0x355d2b:0x310},_0x34ab0c={_0x5be15e:0xf9};function _0x3263d8(_0x350a7e,_0x2fb7ee,_0x5447db,_0x5c9a46){return _0x3f047c(_0x5c9a46,_0x2fb7ee-0x12,_0x5447db-_0x34ab0c._0x5be15e,_0x5447db-0x2f6);}const _0x669bff={'EfXRS':_0x25167c(_0x48b737._0xf35dc,_0x48b737._0x36cfdb,0xb7,0xf1)+_0x25167c(0x129,0x1b7,0x129,0x17f)+'rd','aKSXz':_0x3263d8(0x303,_0x48b737._0x3b4f0f,_0x48b737._0x5ea173,_0x48b737._0x44abd8)+_0x25167c(0x199,0x18a,_0x48b737._0x4070e9,0x1a4)+_0x25167c(_0x48b737._0x45b3b0,0x108,0xc1,_0x48b737._0xb37a31)+_0x3263d8(_0x48b737._0x318a09,_0x48b737._0x58db03,_0x48b737._0x262e84,0x2c0)+_0x3263d8(_0x48b737._0x125741,_0x48b737._0xeb4225,_0x48b737._0x6c04cf,0x310)+_0x25167c(0x18a,_0x48b737._0x239376,_0x48b737._0x2d9dc8,0x147)+'bles\x20to\x20se'+'nd\x20emails.','jKPsd':_0x3263d8(_0x48b737._0x259f80,0x30c,_0x48b737._0x2aca6a,_0x48b737._0x1dc5d3)+_0x3263d8(0x2e3,0x320,_0x48b737._0x1f019a,_0x48b737._0x431a89)+_0x25167c(0x19b,_0x48b737._0x12f72e,0x13b,_0x48b737._0x24a85d)+'\x22','NaxSl':'User\x20ID\x20is'+_0x3263d8(0x35e,0x302,0x30f,_0x48b737._0x10394d),'uMiZQ':_0x25167c(0x1b1,_0x48b737._0x3f6fd1,0x191,0x15e),'fCTfD':function(_0x163908,_0x41140b){return _0x163908!==_0x41140b;},'JyGti':_0x3263d8(0x393,_0x48b737._0x111102,_0x48b737._0x2a2c77,0x34b),'XStdM':function(_0x4bdea8,_0x14e5f7){return _0x4bdea8(_0x14e5f7);},'NUvCi':_0x25167c(_0x48b737._0x55ef2f,_0x48b737._0x3d9519,0x13c,_0x48b737._0x175f64),'xjmof':_0x3263d8(_0x48b737._0x28e161,_0x48b737._0x4e1f98,_0x48b737._0xae78c9,_0x48b737._0x179bc6)+'ound','cnTMP':function(_0x457518,_0x2be58a,_0x3981cb){return _0x457518(_0x2be58a,_0x3981cb);},'kdJri':_0x3263d8(0x293,0x337,0x2e3,0x2db)+'oken\x20creat'+'ed','RhoRj':function(_0x338b25,_0x523fd3){return _0x338b25(_0x523fd3);},'qvnPb':function(_0x3e11e1){return _0x3e11e1();},'lKjvR':_0x3263d8(0x25d,_0x48b737._0x272981,_0x48b737._0x24cbd1,0x272)+_0x25167c(0x191,_0x48b737._0x4b72aa,0x146,0x16b),'yZLJJ':function(_0x3c31f7,_0x183367){return _0x3c31f7===_0x183367;},'oVsMz':_0x3263d8(0x2e2,_0x48b737._0x165131,_0x48b737._0x2ec955,_0x48b737._0x1415f9),'kNaHs':function(_0x38dca8,_0x521919){return _0x38dca8===_0x521919;},'kMYdQ':_0x3263d8(_0x48b737._0x2662a2,0x2ca,_0x48b737._0x3358ef,0x2ec)+_0x3263d8(_0x48b737._0x38d592,_0x48b737._0x389712,_0x48b737._0x44a7b8,_0x48b737._0xea4d93),'MFQnO':_0x25167c(0xd9,0xfd,0xc8,0x10e),'GiJko':function(_0x29f6d6,_0x52ee5c,_0x345b95){return _0x29f6d6(_0x52ee5c,_0x345b95);},'YVifB':function(_0x5a7135,_0x381020){return _0x5a7135!==_0x381020;},'JIBoE':'TkmpH','RkuwM':'aGzjp','zMFKk':_0x3263d8(0x23d,0x2e3,0x298,_0x48b737._0x49d434)+_0x25167c(0x17b,_0x48b737._0x487d8e,_0x48b737._0x581c39,_0x48b737._0x2e9b95)+_0x25167c(_0x48b737._0x1a43fd,_0x48b737._0x56fc28,0x135,0xf9)+'n'};function _0x25167c(_0x3550e8,_0x2ef8b3,_0xe674a4,_0x506a50){return _0x3d10fd(_0x3550e8-_0x10c505._0x548b68,_0x506a50- -_0x10c505._0x355d2b,_0x2ef8b3,_0x506a50-0x16d);}try{const {userId:_0xb42fcb,type:type='setup',sendEmail:sendEmail=![]}=_0x58e38f['body'];if(!_0xb42fcb){const _0x481707={};return _0x481707[_0x25167c(_0x48b737._0x331c51,_0x48b737._0x21f8cd,_0x48b737._0x2fc288,_0x48b737._0x72ca92)]=_0x669bff['NaxSl'],_0x262ee7[_0x25167c(0x143,_0x48b737._0xe7e2b6,0x120,_0x48b737._0x55a85d)](0xb01+-0x22d9*-0x1+-0x2c4a)[_0x25167c(_0x48b737._0x3019bf,_0x48b737._0x520c11,_0x48b737._0x18af48,_0x48b737._0x5ca719)](_0x481707);}if(!['setup',_0x669bff[_0x3263d8(0x2ec,_0x48b737._0xbb5858,_0x48b737._0x46a853,_0x48b737._0x4f8819)]][_0x25167c(_0x48b737._0x1eae7f,0xc1,_0x48b737._0x494776,_0x48b737._0xed2045)](type)){if(_0x669bff[_0x25167c(0x164,_0x48b737._0x39e924,_0x48b737._0x522c32,_0x48b737._0x16ed7e)](_0x3263d8(0x393,_0x48b737._0x27b9f8,_0x48b737._0x3b2d45,_0x48b737._0x3e6efc),_0x669bff[_0x25167c(0x13d,0x128,0xf8,0x155)])){_0x288e75[_0x25167c(0x190,0x166,_0x48b737._0x338b51,0x165)]('Failed\x20to\x20'+_0x25167c(_0x48b737._0x5b286a,0x1bf,0x1db,0x197)+_0x25167c(0xc4,_0x48b737._0x5f1558,0x122,_0x48b737._0x1b0ed4),_0x3a49f8);const _0x19d28d={};_0x19d28d[_0x25167c(0x1b5,_0x48b737._0x1d6bbc,0x14b,0x165)]=_0x3263d8(0x280,_0x48b737._0x273860,_0x48b737._0x56caf4,0x26c)+'get\x20user\x20t'+_0x3263d8(0x2cc,_0x48b737._0x471da6,0x2ab,_0x48b737._0x32177b),_0x260492['status'](0x517+0x3c6*-0x1+-0xa3*-0x1)[_0x25167c(0x126,0xbc,0xdd,0xeb)](_0x19d28d);}else{const _0x25de27={};return _0x25de27[_0x3263d8(0x34e,0x2e2,0x30c,_0x48b737._0x5751db)]=_0x669bff[_0x3263d8(0x2f8,0x28a,0x2bf,_0x48b737._0x195b26)],_0x262ee7['status'](0x21d5+0x1aeb+-0x3b30)[_0x3263d8(0x23a,0x29f,0x292,_0x48b737._0x171c2c)](_0x25de27);}}const _0x33d9cb=await _0x669bff[_0x3263d8(0x377,_0x48b737._0xabf24,0x342,0x33d)](findUserById,_0xb42fcb);if(!_0x33d9cb){if(_0x669bff['NUvCi']!=='ZTkDB'){_0x1a8540[_0x25167c(_0x48b737._0x344828,0x14c,_0x48b737._0x22f26e,0x165)](_0x25167c(0xbe,_0x48b737._0x281995,_0x48b737._0x5179b8,0xf1)+_0x25167c(_0x48b737._0x5406bc,0x17c,0x163,0x17f)+'rd',_0x3e127e);const _0x472068={};_0x472068['error']=_0x669bff[_0x25167c(0xce,_0x48b737._0x18a9a5,_0x48b737._0x1ac6b0,0x12a)],_0x209290[_0x25167c(0x174,0x164,_0x48b737._0x5406bc,_0x48b737._0x422245)](-0x1*-0x10b9+-0x3*-0xca7+0x1*-0x34ba)[_0x3263d8(0x2ae,0x2ea,0x292,0x264)](_0x472068);}else{const _0x25f735={};return _0x25f735[_0x25167c(_0x48b737._0x3256c1,_0x48b737._0x3f15a0,_0x48b737._0x85deb1,_0x48b737._0x72ca92)]=_0x669bff[_0x25167c(0xe5,0xef,_0x48b737._0x40a783,0x140)],_0x262ee7[_0x25167c(_0x48b737._0x524af3,0x176,0x18f,_0x48b737._0x599e18)](-0xd78+0xa9*-0x26+-0x3a6*-0xb)[_0x25167c(0xff,_0x48b737._0x1e4df4,0x10e,0xeb)](_0x25f735);}}const _0x3184d1=await _0x669bff[_0x3263d8(0x301,0x2a2,0x2fb,0x2bb)](createPasswordToken,_0xb42fcb,type),_0x427330={};_0x427330[_0x25167c(0x129,_0x48b737._0x2151bb,_0x48b737._0x12f72e,_0x48b737._0x5cbb11)]=_0x58e38f[_0x3263d8(0x2d0,0x290,_0x48b737._0x136da5,0x2b2)]['id'],_0x427330['adminUsern'+_0x25167c(0x15c,_0x48b737._0x1e0521,_0x48b737._0x3962ab,_0x48b737._0x3abcab)]=_0x58e38f[_0x3263d8(_0x48b737._0x3e3d52,_0x48b737._0x4b7dbe,_0x48b737._0xed1a2a,0x292)][_0x3263d8(_0x48b737._0x4e339d,0x347,_0x48b737._0x5751db,_0x48b737._0xcc2bea)],_0x427330['targetUser'+'Id']=_0xb42fcb,_0x427330[_0x3263d8(_0x48b737._0x488d0d,_0x48b737._0x15c4ab,_0x48b737._0x4e339d,_0x48b737._0x1028b7)+_0x3263d8(0x2d7,0x2fc,0x2a9,0x25e)]=_0x33d9cb[_0x25167c(0x115,0x11b,0x120,_0x48b737._0x14c4fe)],_0x427330[_0x3263d8(_0x48b737._0x4ec2c1,_0x48b737._0x511ac0,0x2a8,0x2b6)]=type,_0x427330[_0x25167c(_0x48b737._0x296c6b,_0x48b737._0x2db4d3,0x13b,_0x48b737._0x5dc658)]=sendEmail,logger[_0x25167c(_0x48b737._0x734c00,_0x48b737._0x4e77b0,_0x48b737._0x2bf292,0x16e)](_0x669bff[_0x25167c(0x142,0x19b,0x1d0,_0x48b737._0x213f0c)],_0x427330);const _0x1bc3fc=_0x669bff[_0x3263d8(_0x48b737._0x5eb49b,0x2bc,0x2a6,0x2af)](getRequestBaseUrl,_0x58e38f),_0x256957=_0x1bc3fc+('/setup-pas'+_0x25167c(_0x48b737._0x1817ad,0x126,0x16f,_0x48b737._0x3ca925)+'?token=')+_0x3184d1[_0x25167c(_0x48b737._0x345c16,0x1e0,0x181,_0x48b737._0x107d4d)],_0x2bcb53={};_0x2bcb53['id']=_0x3184d1['id'],_0x2bcb53[_0x3263d8(0x364,_0x48b737._0x5be932,_0x48b737._0x4d0334,0x2e9)]=_0x3184d1[_0x25167c(0x161,0x19e,_0x48b737._0x3d4f82,_0x48b737._0x107d4d)],_0x2bcb53['type']=_0x3184d1[_0x25167c(_0x48b737._0x3f745f,0xed,_0x48b737._0x111a9e,0xf8)],_0x2bcb53['expires_at']=_0x3184d1[_0x25167c(0xb5,_0x48b737._0x6cef1b,0xb9,_0x48b737._0x24add3)],_0x2bcb53['setupUrl']=_0x256957;const _0xe0fe1e={};_0xe0fe1e['id']=_0x33d9cb['id'],_0xe0fe1e['username']=_0x33d9cb[_0x3263d8(0x350,0x29b,0x2f8,0x30f)],_0xe0fe1e[_0x25167c(_0x48b737._0x352d08,_0x48b737._0x4cc470,0xc8,_0x48b737._0x351f01)]=_0x33d9cb['name'],_0xe0fe1e[_0x25167c(0x133,0x166,0x17e,0x134)]=_0x33d9cb[_0x3263d8(0x2b2,0x2d7,_0x48b737._0x7f20cf,0x291)];const _0x4ba4ab={};_0x4ba4ab[_0x3263d8(0x2b4,0x2f7,_0x48b737._0x39ca60,_0x48b737._0x23476e)]=_0x25167c(_0x48b737._0x44c3bc,0x185,_0x48b737._0x2b53f1,_0x48b737._0x1aa60d)+_0x25167c(_0x48b737._0x59e667,_0x48b737._0x154c35,_0x48b737._0x41fd86,0x115)+'ed\x20success'+'fully',_0x4ba4ab['token']=_0x2bcb53,_0x4ba4ab['user']=_0xe0fe1e,_0x4ba4ab['emailSent']=![];const _0x1a2b61=_0x4ba4ab;if(sendEmail){if(!_0x669bff[_0x3263d8(0x2bd,0x339,_0x48b737._0x45d5a5,0x2d2)](isEmailConfigured)){const _0x2a8222={};return _0x2a8222[_0x25167c(0x110,0x121,_0x48b737._0x23e3aa,_0x48b737._0x72ca92)]=_0x669bff['lKjvR'],_0x2a8222['message']=_0x669bff[_0x3263d8(_0x48b737._0x1e70f8,_0x48b737._0x548f95,0x306,0x2cd)],_0x262ee7[_0x3263d8(0x2b1,_0x48b737._0x12e23d,_0x48b737._0x8f4161,0x2a8)](0x1147*-0x1+-0x38b*0x1+-0x23d*-0xa)[_0x25167c(0xd2,_0x48b737._0x592a92,0x120,_0x48b737._0x5ca719)](_0x2a8222);}try{if(_0x669bff[_0x3263d8(0x2b3,_0x48b737._0x5aaff2,0x2a4,_0x48b737._0x5667a0)](_0x669bff[_0x3263d8(0x345,_0x48b737._0x3f4de8,_0x48b737._0x4ec2c1,0x325)],_0x669bff[_0x3263d8(_0x48b737._0x3b2d45,0x2fc,0x2ec,_0x48b737._0x593d62)])){const _0x527c38=_0x669bff[_0x25167c(_0x48b737._0x1fd5b1,_0x48b737._0x2096d2,0xe1,_0x48b737._0x18323e)](type,_0x669bff[_0x3263d8(0x2c9,0x2c5,_0x48b737._0x6442ef,_0x48b737._0x4304fb)])?_0x3263d8(0x2e3,0x297,_0x48b737._0x368827,_0x48b737._0x48496c)+_0x3263d8(_0x48b737._0x52bc67,_0x48b737._0xcc2bea,_0x48b737._0x510fed,_0x48b737._0x31c3c2):_0x669bff[_0x25167c(0x18a,_0x48b737._0x446f29,0x10e,_0x48b737._0x4e1564)],_0x1184ef={};_0x1184ef['userName']=_0x33d9cb[_0x25167c(0x14d,_0x48b737._0x576729,_0x48b737._0x270178,_0x48b737._0x351f01)],_0x1184ef['username']=_0x33d9cb[_0x3263d8(0x31b,0x347,_0x48b737._0x178fdc,0x325)],_0x1184ef[_0x3263d8(_0x48b737._0x58d57d,_0x48b737._0x2c2ea8,_0x48b737._0x4169bf,_0x48b737._0x525a15)]=_0x256957,_0x1184ef[_0x3263d8(_0x48b737._0x5b0bf0,0x2f7,_0x48b737._0x3e3d52,_0x48b737._0xabca3c)]=_0x669bff['MFQnO'],_0x1184ef['type']=type;const _0x4038b7=_0x1184ef,{subject:_0x379302}=_0x669bff[_0x3263d8(0x2b7,_0x48b737._0x28e19c,0x2ea,0x314)](renderTemplate,_0x527c38,_0x4038b7),_0x3e3fa4={};_0x3e3fa4['to']=_0x33d9cb[_0x25167c(_0x48b737._0x24a85d,0x116,0x168,0x134)],_0x3e3fa4[_0x25167c(0x143,_0x48b737._0x36cd49,0x197,_0x48b737._0x589a14)]=_0x379302,_0x3e3fa4[_0x3263d8(_0x48b737._0x215822,0x31c,0x2c5,_0x48b737._0x51b955)]=_0x527c38,_0x3e3fa4[_0x25167c(0x137,0x120,0xe0,_0x48b737._0x40a783)]=_0x4038b7,await sendTemplatedEmail(_0x3e3fa4),_0x1a2b61[_0x3263d8(0x347,_0x48b737._0x41556a,0x31d,_0x48b737._0x7f20cf)]=!![],_0x1a2b61[_0x3263d8(0x341,_0x48b737._0x492ac,_0x48b737._0x2b6aea,0x2da)]=_0x25167c(_0x48b737._0x3f54e4,0x165,0x15a,0x13c)+_0x25167c(_0x48b737._0x440960,_0x48b737._0xed2045,_0x48b737._0x47f33f,_0x48b737._0x522c32)+_0x25167c(_0x48b737._0xbccee7,0x1c3,_0x48b737._0xc30ef9,_0x48b737._0x256314)+'il\x20sent\x20to'+'\x20'+_0x33d9cb[_0x25167c(0x178,_0x48b737._0x1a543d,_0x48b737._0x24a85d,0x134)];const _0x49822a={};_0x49822a['to']=_0x33d9cb[_0x25167c(_0x48b737._0x133baa,0x11f,0x168,_0x48b737._0x3d66c3)],_0x49822a[_0x3263d8(0x2e7,_0x48b737._0x2dff98,_0x48b737._0x525a15,_0x48b737._0xbd1cbd)]=type,_0x49822a[_0x25167c(0x138,0x169,_0x48b737._0x39bb97,_0x48b737._0x14c4fe)]=_0x33d9cb[_0x3263d8(_0x48b737._0xfe949c,_0x48b737._0x240d00,0x2f8,0x30c)],logger['info'](_0x25167c(_0x48b737._0x1ce948,_0x48b737._0x21f8cd,0xf6,_0x48b737._0x5acd75)+_0x3263d8(0x2a5,_0x48b737._0x1dc5d3,_0x48b737._0xfe949c,0x30e)+_0x3263d8(0x2a8,_0x48b737._0x435ded,_0x48b737._0x504da8,0x237),_0x49822a);}else{const _0x1da5ab={};return _0x1da5ab[_0x3263d8(_0x48b737._0x2aca6a,_0x48b737._0x31aac4,_0x48b737._0x4aaa5b,_0x48b737._0x479593)]='Email\x20not\x20'+_0x25167c(0x131,0x16b,0x15f,0x16b),_0x1da5ab[_0x3263d8(_0x48b737._0x10cc71,_0x48b737._0x228819,0x30b,_0x48b737._0x4404b5)]=_0x669bff['aKSXz'],_0x3e1c69[_0x25167c(0x14e,0x10a,_0x48b737._0x4ebd1d,_0x48b737._0x55a85d)](-0x15e1+0x2*-0x1357+0x3e1f)[_0x3263d8(_0x48b737._0x1cdb36,_0x48b737._0x11ccbe,0x292,0x2c6)](_0x1da5ab);}}catch(_0x2126fc){if(_0x669bff[_0x25167c(_0x48b737._0x527caf,0x124,0x9b,_0x48b737._0x13b6d3)](_0x669bff[_0x3263d8(_0x48b737._0x686a88,_0x48b737._0x5d58af,_0x48b737._0x5441bc,_0x48b737._0x5ca104)],_0x669bff[_0x25167c(0x132,0x192,_0x48b737._0x25cdf1,0x15a)]))logger[_0x25167c(_0x48b737._0x2d9dc8,_0x48b737._0x240075,_0x48b737._0x5a86d6,0x165)](_0x3263d8(_0x48b737._0xee4ecd,0x253,0x298,_0x48b737._0x2f8474)+'send\x20passw'+_0x25167c(_0x48b737._0x403631,0x192,0x195,0x14b),_0x2126fc),_0x1a2b61[_0x3263d8(_0x48b737._0x4e2aa2,_0x48b737._0x4c3d4f,0x31a,_0x48b737._0x13d3cc)]=_0x25167c(_0x48b737._0x589a14,0x104,0x128,0xf1)+'send\x20email'+'.\x20Please\x20c'+_0x25167c(0x1c9,_0x48b737._0xd1d376,_0x48b737._0x4bea17,_0x48b737._0x409caa)+'nk\x20manuall'+'y.';else{const _0x53e6cc={};return _0x53e6cc['error']=_0x669bff[_0x3263d8(_0x48b737._0x431a89,0x2da,0x2bf,0x262)],_0x30392c[_0x3263d8(_0x48b737._0x55e8d0,_0x48b737._0x509da7,0x300,0x2c9)](-0x1*-0x2455+-0x3*0x1e8+-0x1d0d)[_0x25167c(_0x48b737._0x31b877,_0x48b737._0x4bef19,0x112,_0x48b737._0x460287)](_0x53e6cc);}}}_0x262ee7['json'](_0x1a2b61);}catch(_0x3cb180){logger[_0x3263d8(_0x48b737._0x12e23d,0x2b9,_0x48b737._0x3c6233,_0x48b737._0x31c3c2)](_0x669bff[_0x3263d8(_0x48b737._0x2f10d3,0x293,0x2c6,0x2b3)],_0x3cb180);const _0x46af95={};_0x46af95[_0x3263d8(_0x48b737._0x37cb0d,0x35f,_0x48b737._0x4aaa5b,0x311)]=_0x669bff[_0x3263d8(_0x48b737._0x528ccc,0x28b,0x2c6,0x2c6)],_0x262ee7[_0x3263d8(_0x48b737._0x1a719c,_0x48b737._0x12cb9a,_0x48b737._0x8f4161,_0x48b737._0x3b55db)](-0x1*0x9fe+-0x8cf*0x3+0x265f)[_0x3263d8(0x274,0x290,0x292,_0x48b737._0x2f4de2)](_0x46af95);}}),router[_0x3d10fd(0x440,0x47d,0x4ab,0x42d)]('/validate-'+'token',async(_0x11c6c4,_0x2e1e2b)=>{const _0x109eff={_0x27d89b:0x1a3,_0x10b025:0x1d5,_0xc72511:0xfd,_0x3e0dc7:0x106,_0xbb134:0x133,_0x16b685:0xf7,_0x358b4e:0x47,_0x1f1080:0x1fb,_0x24e571:0x1c8,_0xfe86ca:0x66,_0x3d5658:0x5f,_0x20eb7c:0x96,_0x1d128f:0x19d,_0xe854b9:0x19c,_0x550c47:0x1b6,_0x5f56eb:0xa4,_0x18a17c:0x93,_0x5d09b9:0x126,_0x47bfd8:0x150,_0x75b292:0x17c,_0xabb568:0xd7,_0x9429ed:0xaf,_0x27d6a6:0x5e,_0x4180c4:0x0,_0x37cc08:0x6,_0x3148ad:0x1,_0x5e91c2:0x191,_0x10cb07:0x1f7,_0x5070eb:0x162,_0x3ec369:0x138,_0x38b84f:0xbb,_0x508f4f:0x75,_0xe506b5:0xe0,_0x23fc4f:0x1ef,_0x2be8e0:0x1e6,_0x2f76a1:0x20e,_0x36d926:0x1fe,_0x4a4229:0xa4,_0x251859:0xbb,_0x34a66d:0x82,_0x40be28:0x6d,_0x1d188a:0x1d7,_0x4c102b:0x1e4,_0x3fe292:0x230,_0x277329:0x16f,_0x55174c:0xb7,_0x55b39e:0xd9,_0x4c1b65:0x14d,_0x393493:0x1b4,_0x35973f:0x129,_0x20b0ec:0x4e,_0x3d6dc0:0x8e,_0x18e2ca:0x211,_0xa16cda:0x223,_0x42289e:0xae,_0x5aa20c:0xd8,_0x3db8ba:0x6c,_0xcd5859:0xbf,_0x45f1f8:0x70,_0xd9ad8c:0xbc,_0xf402ef:0x216,_0x19d611:0x221,_0x5b4422:0x230},_0x24cf6b={_0x2a0d8f:0x3ba,_0x58d629:0x109},_0xe1567f={'sduTS':'Token\x20is\x20r'+_0x3a0a53(-_0x109eff._0x27d89b,-_0x109eff._0x10b025,-0x197,-0x1e8),'TOpar':function(_0x16e717,_0x359ca6){return _0x16e717(_0x359ca6);},'QZRcY':_0x32822c(_0x109eff._0xc72511,0xd4,0x111,_0x109eff._0x3e0dc7)+_0x32822c(_0x109eff._0xbb134,_0x109eff._0x16b685,0xcb,0x12e),'FVXRW':_0x32822c(-0x8,_0x109eff._0x358b4e,0xc,-0x4)+'validate\x20t'+_0x3a0a53(-_0x109eff._0x1f1080,-0x1d1,-0x1cc,-_0x109eff._0x24e571)};function _0x32822c(_0x2b60ae,_0x3475ac,_0x2e5c4a,_0x482484){return _0x3d10fd(_0x2b60ae-0x5c,_0x3475ac- -_0x24cf6b._0x2a0d8f,_0x2b60ae,_0x482484-_0x24cf6b._0x58d629);}function _0x3a0a53(_0x41a614,_0xbd9439,_0x1ba6af,_0x5632fe){return _0x3f047c(_0x41a614,_0xbd9439-0x195,_0x1ba6af-0x38,_0x5632fe- -0x1cc);}try{const {token:_0x48f9e1}=_0x11c6c4[_0x32822c(_0x109eff._0xfe86ca,_0x109eff._0x3d5658,0x23,_0x109eff._0x20eb7c)];if(!_0x48f9e1){const _0x18a86c={};return _0x18a86c[_0x3a0a53(-_0x109eff._0x1d128f,-0x1d1,-_0x109eff._0xe854b9,-_0x109eff._0x550c47)]=_0xe1567f[_0x32822c(_0x109eff._0x5f56eb,0x73,_0x109eff._0x18a17c,0xa7)],_0x18a86c[_0x3a0a53(-0x1cc,-_0x109eff._0x5d09b9,-_0x109eff._0x47bfd8,-_0x109eff._0x75b292)]=![],_0x2e1e2b[_0x32822c(_0x109eff._0xabb568,_0x109eff._0x9429ed,_0x109eff._0x27d6a6,0x9c)](-0x1863+0x82f+0x11c4)[_0x32822c(_0x109eff._0x4180c4,0x41,_0x109eff._0x37cc08,-_0x109eff._0x3148ad)](_0x18a86c);}const _0x397bb9=await _0xe1567f[_0x3a0a53(-_0x109eff._0x5e91c2,-_0x109eff._0x10cb07,-0x1ba,-0x1d7)](validateToken,_0x48f9e1);if(!_0x397bb9){const _0x2bd9ee={};return _0x2bd9ee[_0x3a0a53(-_0x109eff._0x5070eb,-_0x109eff._0x3ec369,-0x191,-0x17c)]=![],_0x2bd9ee[_0x32822c(0x71,_0x109eff._0x38b84f,_0x109eff._0x508f4f,_0x109eff._0xe506b5)]=_0x3a0a53(-0x17e,-_0x109eff._0x23fc4f,-0x1ac,-0x196)+_0x3a0a53(-_0x109eff._0x2be8e0,-_0x109eff._0x2f76a1,-_0x109eff._0x36d926,-0x216)+_0x32822c(0xa7,0xa9,0x62,0xf3),_0x2e1e2b['json'](_0x2bd9ee);}const _0xc8eb90=await _0xe1567f[_0x32822c(0xb4,0x9a,0x7a,_0x109eff._0x4a4229)](findUserById,_0x397bb9[_0x32822c(0x59,0x87,0xc3,0x3c)]);if(!_0xc8eb90){const _0x1a3497={};return _0x1a3497[_0x3a0a53(-0x149,-0x1cc,-0x137,-0x17c)]=![],_0x1a3497[_0x32822c(0xee,_0x109eff._0x251859,_0x109eff._0x34a66d,_0x109eff._0x40be28)]=_0xe1567f['QZRcY'],_0x2e1e2b[_0x3a0a53(-_0x109eff._0x1d188a,-0x27f,-_0x109eff._0x4c102b,-_0x109eff._0x3fe292)](_0x1a3497);}const _0x1b4fa2={};_0x1b4fa2[_0x3a0a53(-0x220,-0x17d,-_0x109eff._0x277329,-0x1ca)]=_0xc8eb90[_0x32822c(_0x109eff._0x55174c,0xa7,0xfd,_0x109eff._0x55b39e)],_0x1b4fa2['name']=_0xc8eb90['name'];const _0x4030cb={};_0x4030cb[_0x3a0a53(-_0x109eff._0x4c1b65,-_0x109eff._0x393493,-_0x109eff._0x35973f,-0x17c)]=!![],_0x4030cb[_0x32822c(0x67,_0x109eff._0x20b0ec,_0x109eff._0x3d6dc0,0x5a)]=_0x397bb9[_0x3a0a53(-0x1e9,-_0x109eff._0x18e2ca,-0x227,-_0x109eff._0xa16cda)],_0x4030cb['user']=_0x1b4fa2,_0x2e1e2b['json'](_0x4030cb);}catch(_0xc8f538){logger['error'](_0xe1567f[_0x32822c(0xe4,0xbf,_0x109eff._0x42289e,_0x109eff._0x5aa20c)],_0xc8f538);const _0x13be47={};_0x13be47[_0x32822c(_0x109eff._0x3db8ba,_0x109eff._0x251859,0x116,0x118)]=_0xe1567f[_0x32822c(0x114,_0x109eff._0xcd5859,_0x109eff._0x45f1f8,_0x109eff._0xd9ad8c)],_0x13be47['valid']=![],_0x2e1e2b['status'](-0x1*0x85d+-0x24a2+-0x11*-0x2c3)[_0x3a0a53(-_0x109eff._0xf402ef,-_0x109eff._0x19d611,-0x26d,-_0x109eff._0x5b4422)](_0x13be47);}}),router[_0x3d10fd(0x450,0x46c,0x419,0x42b)](_0x3d10fd(0x3e3,0x431,0x3e0,0x3eb),async(_0x549bd0,_0x59299d)=>{const _0xa6b4c={_0x573688:0xec,_0x483b8f:0x135,_0x4b87a9:0xf2,_0x580886:0x3d3,_0x417680:0x46f,_0x545c69:0x46a,_0x438046:0x41a,_0x4c3e16:0x11b,_0x337a59:0xd1,_0x4fde5e:0x3bc,_0x2a7245:0x414,_0x4925d5:0x433,_0x37d1e0:0x3ff,_0x5a6b8:0x480,_0x201201:0x447,_0x95fb4f:0x408,_0x810f6a:0x3d6,_0x900522:0x402,_0x46399a:0xd2,_0x4c8e70:0x110,_0x3b3cc7:0x107,_0x1d81a3:0x3a9,_0x48f5c8:0x3f7,_0x463870:0x1b2,_0x3cab2c:0x172,_0x1a2032:0x153,_0x9f9ff0:0x190,_0x32eba5:0x158,_0x5bdee4:0x199,_0x2dcd9c:0x476,_0x4f4c7c:0x487,_0x58c983:0x3e9,_0x3ee666:0x423,_0x4638fe:0x43c,_0x2d6813:0x10e,_0x3a5f71:0x417,_0x54f396:0x41e,_0x3eb04e:0x3ef,_0x924169:0x43c,_0x4ae41a:0x3e4,_0x36692c:0x3bf,_0x48e7c8:0xf8,_0x1c01b9:0x126,_0x10a1fe:0xf1,_0x56c6c3:0x3fd,_0x2726a2:0x3ba,_0x1ab246:0x393,_0x23c5d0:0x3c9,_0xccdc96:0x49d,_0x1f3184:0x3fa,_0x558003:0x40e,_0x373a1d:0x15b,_0x27ab24:0xa1,_0x12d234:0xfa,_0x19c874:0x3da,_0x3aedfd:0x3f1,_0x183650:0x160,_0xc53d29:0x166,_0x4c5ebc:0x46e,_0x3c96d4:0x425,_0x2f84ec:0xe8,_0x25404b:0x134,_0x3a58c9:0x1ee,_0x574a4a:0x146,_0x48aef8:0x1e0,_0x50a224:0x480,_0x36b890:0x43b,_0x44221c:0x1ac,_0x275f21:0x1a0,_0x36a454:0x3ef,_0xa25b5b:0xec,_0x267bfc:0x126,_0xacc97b:0x424,_0x30404b:0x3d4,_0x27469f:0x15c,_0x2a6ebf:0x159,_0x56a15a:0x15d,_0x405cc0:0x1a0,_0x52727e:0x3e0,_0x188a51:0x15f,_0x406a8a:0xdb,_0x54cc47:0x3a3,_0x3496eb:0x39c,_0x5e8c93:0x3c4,_0x9314e3:0x11c,_0x265355:0x436,_0x504d25:0x3da,_0x15448a:0x141,_0x2f22a4:0x126,_0x5e693c:0x468,_0x5a1c55:0x428,_0x3f2e2c:0x3c3,_0x1e9879:0x3b9,_0x20934a:0x3ba,_0x542453:0x181,_0x4054ea:0xf4,_0x73fc8c:0x126,_0x438914:0x3a0,_0x53a1f7:0x3f6,_0x221a55:0x3a6,_0x5688b4:0x3ba,_0x2c9c4b:0x424,_0x2c1256:0x401,_0x3e4194:0x391,_0x1105f6:0x3d1,_0xf0fd57:0x426,_0x924abf:0x400,_0x2474ad:0x3ef,_0x2bc018:0x420,_0x31f99f:0x463,_0x22297f:0x3e5,_0x4edaa3:0x385,_0x15c1c2:0x3d0,_0x26d115:0x1ca,_0x11bc45:0x193,_0x1e23bc:0x424,_0x58ea4f:0x427,_0x4973bc:0xe6,_0x59d751:0x127,_0x20fa38:0x118,_0x21ee54:0x16c,_0x35bfdb:0x40e,_0x448755:0x1f4,_0x5195a0:0x3d8,_0x54ae3e:0x3e8,_0x37112c:0x423,_0x45c2db:0x437,_0x4d0e35:0xdf,_0xf3f92c:0x126,_0x5dc363:0xd3,_0x355782:0xff,_0x4c2b42:0x142,_0x1af02d:0x11d,_0x9a0a08:0x1fa,_0xc536ee:0x1a7,_0x446ec2:0x422,_0x37e741:0x401,_0x38e874:0x145,_0x30e749:0x197,_0x50ec35:0x13d,_0x79854:0x47f},_0x10d08d={_0x5c3f98:0x6c,_0x33e1cc:0x41e},_0x41da6c={_0x3a17f5:0x59b},_0x1d52f1={'DPkEB':_0x2b39f4(-0xfe,-0x159,-0xcf,-0x10d)+_0x2b39f4(-_0xa6b4c._0x573688,-_0xa6b4c._0x483b8f,-_0xa6b4c._0x4b87a9,-0xea),'BkGtZ':function(_0x17a96f){return _0x17a96f();},'dCwTu':_0x3cfff7(_0xa6b4c._0x580886,0x393,0x3b7,0x3c0)+'send\x20passw'+_0x3cfff7(_0xa6b4c._0x417680,_0xa6b4c._0x545c69,0x422,_0xa6b4c._0x438046),'YxySa':_0x2b39f4(-0x1d3,-0x1e0,-0x166,-0x19a)+_0x2b39f4(-0xc9,-_0xa6b4c._0x4c3e16,-_0xa6b4c._0x337a59,-0xf2)+'.\x20Please\x20c'+'opy\x20the\x20li'+'nk\x20manuall'+'y.','yDTDL':'Token\x20and\x20'+_0x3cfff7(_0xa6b4c._0x4fde5e,_0xa6b4c._0x2a7245,_0xa6b4c._0x4925d5,_0xa6b4c._0x37d1e0)+_0x3cfff7(_0xa6b4c._0x5a6b8,_0xa6b4c._0x201201,0x473,0x460)+'d','zHXlc':'Token\x20is\x20r'+_0x3cfff7(_0xa6b4c._0x95fb4f,_0xa6b4c._0x810f6a,0x3df,_0xa6b4c._0x900522),'LodEV':function(_0x1a0260,_0x1f8600){return _0x1a0260!==_0x1f8600;},'uGIqC':_0x2b39f4(-_0xa6b4c._0x46399a,-_0xa6b4c._0x4c8e70,-0xcf,-_0xa6b4c._0x3b3cc7),'hZzLT':function(_0x547d1b,_0xa093cb){return _0x547d1b||_0xa093cb;},'GCCXO':function(_0x50e505,_0x1d8076){return _0x50e505!==_0x1d8076;},'DGcAY':_0x3cfff7(0x3f8,0x436,_0xa6b4c._0x1d81a3,_0xa6b4c._0x48f5c8),'QYtRF':'jevSV','dgmDj':_0x2b39f4(-0x12e,-0x112,-_0xa6b4c._0x483b8f,-0xfc)+_0x2b39f4(-_0xa6b4c._0x463870,-_0xa6b4c._0x3cab2c,-_0xa6b4c._0x1a2032,-0x181)+_0x2b39f4(-0x1ac,-0x19f,-0x13d,-0x159)+_0x2b39f4(-_0xa6b4c._0x9f9ff0,-0x1f6,-_0xa6b4c._0x32eba5,-_0xa6b4c._0x5bdee4),'yNxuc':function(_0x95a635,_0x35e0fd){return _0x95a635(_0x35e0fd);},'aKHed':function(_0x343bb6,_0x159b11){return _0x343bb6===_0x159b11;},'cAzhZ':'kMCpm','hwDym':function(_0x1e8e62,_0x23cfb9){return _0x1e8e62(_0x23cfb9);},'wuVKV':function(_0x4bc073,_0x59df56){return _0x4bc073!==_0x59df56;},'JPFQi':_0x3cfff7(_0xa6b4c._0x2dcd9c,0x420,_0xa6b4c._0x4f4c7c,0x43f),'TekGZ':function(_0x5161aa,_0x364c93,_0x472af5){return _0x5161aa(_0x364c93,_0x472af5);},'GTIxu':'Password\x20s'+_0x3cfff7(_0xa6b4c._0x58c983,0x3fb,0x43e,0x435)+'en','kWjWI':'Password\x20s'+_0x3cfff7(_0xa6b4c._0x3ee666,_0xa6b4c._0x4638fe,0x455,0x444)+_0x2b39f4(-0x122,-0xef,-0x16f,-0x130),'TsaiE':function(_0x3bacb8,_0x6aced5){return _0x3bacb8===_0x6aced5;},'RGWWq':_0x3cfff7(0x411,0x367,0x3bb,0x3c0)+_0x2b39f4(-0xb0,-_0xa6b4c._0x2d6813,-0x14f,-0x10c)+'rd'};function _0x2b39f4(_0x174386,_0x55bf9c,_0x2affd6,_0x148f74){return _0x3d10fd(_0x174386-0x1bf,_0x148f74- -_0x41da6c._0x3a17f5,_0x2affd6,_0x148f74-0x190);}function _0x3cfff7(_0x46f881,_0x54d77e,_0x3713ef,_0x4a0c20){return _0x3f047c(_0x54d77e,_0x54d77e-_0x10d08d._0x5c3f98,_0x3713ef-0x1b2,_0x4a0c20-_0x10d08d._0x33e1cc);}try{if(_0x1d52f1[_0x3cfff7(0x3ec,0x41d,_0xa6b4c._0x3a5f71,_0xa6b4c._0x54f396)](_0x1d52f1[_0x3cfff7(0x3af,0x3c7,_0xa6b4c._0x3eb04e,0x3f3)],_0x1d52f1[_0x3cfff7(_0xa6b4c._0x924169,_0xa6b4c._0x4ae41a,_0xa6b4c._0x36692c,0x3f3)])){const _0x5dc0d7={};return _0x5dc0d7[_0x2b39f4(-0x12f,-_0xa6b4c._0x48e7c8,-0x181,-_0xa6b4c._0x1c01b9)]=_0x1d52f1[_0x2b39f4(-_0xa6b4c._0x10a1fe,-0xd1,-0xd5,-0x11f)],_0x4d6a0f[_0x2b39f4(-0x177,-0x102,-0x12f,-0x132)](0x1a7*0x2+-0xed7+-0x3*-0x45f)[_0x3cfff7(_0xa6b4c._0x56c6c3,0x3d8,0x38d,_0xa6b4c._0x2726a2)](_0x5dc0d7);}else{const {token:_0x1946bc,password:_0x49b142}=_0x549bd0[_0x3cfff7(0x3d0,0x3fc,_0xa6b4c._0x1ab246,_0xa6b4c._0x23c5d0)];if(_0x1d52f1[_0x3cfff7(_0xa6b4c._0x545c69,_0xa6b4c._0xccdc96,0x430,0x451)](!_0x1946bc,!_0x49b142)){const _0x4f3532={};return _0x4f3532[_0x3cfff7(_0xa6b4c._0x4925d5,_0xa6b4c._0x1f3184,0x41a,0x434)]=_0x3cfff7(0x4a6,_0xa6b4c._0x558003,0x40a,0x45f)+_0x2b39f4(-0x19a,-0x16b,-_0xa6b4c._0x3b3cc7,-_0xa6b4c._0x373a1d)+_0x2b39f4(-_0xa6b4c._0x27ab24,-0xb7,-0xf4,-_0xa6b4c._0x12d234)+'d',_0x59299d['status'](-0x1fc9+0x77*0x1+0x20e2)[_0x2b39f4(-0x1d5,-0x1f4,-0x14e,-0x1a0)](_0x4f3532);}if(_0x49b142[_0x3cfff7(_0xa6b4c._0x19c874,0x439,0x410,_0xa6b4c._0x3aedfd)]<-0x1681+0x92e+0xd5b){if(_0x1d52f1[_0x2b39f4(-0x198,-0x14c,-_0xa6b4c._0x183650,-_0xa6b4c._0xc53d29)](_0x1d52f1['DGcAY'],_0x1d52f1[_0x3cfff7(0x417,0x473,_0xa6b4c._0x4c5ebc,_0xa6b4c._0x3c96d4)])){const _0x564b2c={};return _0x564b2c[_0x2b39f4(-_0xa6b4c._0x373a1d,-_0xa6b4c._0x2f84ec,-_0xa6b4c._0x25404b,-0x126)]=_0x1d52f1[_0x2b39f4(-_0xa6b4c._0x3a58c9,-_0xa6b4c._0x574a4a,-_0xa6b4c._0x48aef8,-0x195)],_0x59299d[_0x3cfff7(_0xa6b4c._0x50a224,0x445,_0xa6b4c._0x36b890,0x428)](-0x57e*0x5+-0x1*0x9fa+0x2700)[_0x2b39f4(-0x17d,-_0xa6b4c._0x44221c,-0x159,-_0xa6b4c._0x275f21)](_0x564b2c);}else{const _0x1f9af5=_0x1d52f1['BkGtZ'](_0x461b53);_0xb69641['json'](_0x1f9af5);}}const _0x1f7b3d=await _0x1d52f1['yNxuc'](validateToken,_0x1946bc);if(!_0x1f7b3d){if(_0x1d52f1['aKHed'](_0x1d52f1['cAzhZ'],_0x1d52f1[_0x3cfff7(0x461,0x456,_0xa6b4c._0x36a454,0x404)])){const _0x2000a1={};return _0x2000a1[_0x2b39f4(-0x178,-_0xa6b4c._0xa25b5b,-0x119,-_0xa6b4c._0x267bfc)]='Invalid\x20or'+_0x3cfff7(_0xa6b4c._0xacc97b,0x424,_0xa6b4c._0x23c5d0,_0xa6b4c._0x30404b)+'oken',_0x59299d[_0x2b39f4(-_0xa6b4c._0x27469f,-0x137,-_0xa6b4c._0x2a6ebf,-0x132)](-0x3da*0x1+0x71b+-0x1*0x1b1)[_0x2b39f4(-0x147,-_0xa6b4c._0x56a15a,-0x176,-_0xa6b4c._0x405cc0)](_0x2000a1);}else _0xc125cf['error'](_0x1d52f1[_0x3cfff7(0x403,0x3d9,0x403,_0xa6b4c._0x52727e)],_0x50bc9c),_0x15757a[_0x2b39f4(-_0xa6b4c._0x188a51,-0x158,-_0xa6b4c._0x406a8a,-0x118)]=_0x1d52f1[_0x3cfff7(0x40b,_0xa6b4c._0x54cc47,_0xa6b4c._0x3496eb,_0xa6b4c._0x5e8c93)];}const _0x328841=await _0x1d52f1['hwDym'](findUserById,_0x1f7b3d[_0x2b39f4(-0x198,-0x137,-_0xa6b4c._0x9314e3,-0x15a)]);if(!_0x328841){if(_0x1d52f1[_0x3cfff7(_0xa6b4c._0x54f396,0x426,_0xa6b4c._0x265355,0x3f6)](_0x1d52f1['JPFQi'],_0x3cfff7(0x38b,0x3da,0x3f8,_0xa6b4c._0x504d25))){const _0x4495ea={};return _0x4495ea[_0x2b39f4(-0x105,-0x118,-_0xa6b4c._0x15448a,-_0xa6b4c._0x2f22a4)]=_0x1d52f1['DPkEB'],_0x59299d[_0x3cfff7(_0xa6b4c._0x5e693c,0x433,0x452,_0xa6b4c._0x5a1c55)](-0xb*-0x115+0x101*0x13+0x1d66*-0x1)[_0x3cfff7(_0xa6b4c._0x3f2e2c,0x3a5,_0xa6b4c._0x1e9879,_0xa6b4c._0x20934a)](_0x4495ea);}else{const _0x51c8ec={};return _0x51c8ec[_0x2b39f4(-_0xa6b4c._0xc53d29,-_0xa6b4c._0x542453,-_0xa6b4c._0x4054ea,-_0xa6b4c._0x73fc8c)]=_0x1d52f1[_0x3cfff7(_0xa6b4c._0x438914,0x3a2,0x401,0x3c6)],_0x1e7e11[_0x3cfff7(_0xa6b4c._0x53a1f7,0x482,0x446,0x428)](0x71f*-0x3+-0x2193+0x3880)[_0x3cfff7(0x378,0x39d,_0xa6b4c._0x221a55,_0xa6b4c._0x5688b4)](_0x51c8ec);}}await _0x1d52f1['TekGZ'](setUserPassword,_0x1f7b3d[_0x3cfff7(_0xa6b4c._0x2c9c4b,0x407,0x43d,0x400)],_0x49b142),await _0x1d52f1[_0x3cfff7(0x3f8,_0xa6b4c._0x2c1256,_0xa6b4c._0x3e4194,_0xa6b4c._0x810f6a)](markTokenAsUsed,_0x1946bc);const _0x15951c={};_0x15951c[_0x3cfff7(_0xa6b4c._0x1105f6,0x419,_0xa6b4c._0xf0fd57,_0xa6b4c._0x924abf)]=_0x328841['id'],_0x15951c[_0x3cfff7(0x428,0x429,_0xa6b4c._0x2474ad,_0xa6b4c._0x2bc018)]=_0x328841[_0x3cfff7(0x472,0x436,_0xa6b4c._0x31f99f,0x420)],_0x15951c[_0x3cfff7(_0xa6b4c._0x22297f,_0xa6b4c._0x4edaa3,0x42b,_0xa6b4c._0x15c1c2)]=_0x1f7b3d[_0x2b39f4(-_0xa6b4c._0x26d115,-0x1dd,-0x13d,-_0xa6b4c._0x11bc45)],logger['info'](_0x1d52f1['GTIxu'],_0x15951c);const _0x2cee52={};_0x2cee52['id']=_0x328841['id'],_0x2cee52['username']=_0x328841['username'],_0x2cee52['name']=_0x328841[_0x3cfff7(_0xa6b4c._0x1e23bc,0x3ed,_0xa6b4c._0x58ea4f,0x3d1)];const _0x1902dc={};_0x1902dc[_0x2b39f4(-0x114,-_0xa6b4c._0x4973bc,-0x163,-_0xa6b4c._0x59d751)]=_0x1d52f1[_0x2b39f4(-_0xa6b4c._0x20fa38,-0xe5,-_0xa6b4c._0x21ee54,-0x117)],_0x1902dc[_0x3cfff7(0x3db,_0xa6b4c._0x35bfdb,0x3d9,0x3fd)]=_0x2cee52,_0x59299d[_0x2b39f4(-0x19e,-_0xa6b4c._0x448755,-0x1ea,-_0xa6b4c._0x405cc0)](_0x1902dc);}}catch(_0x109622){if(_0x1d52f1[_0x3cfff7(0x441,_0xa6b4c._0x5195a0,0x3a7,_0xa6b4c._0x54ae3e)](_0x3cfff7(_0xa6b4c._0x37112c,_0xa6b4c._0x45c2db,0x39e,0x3e2),'vkGMr')){logger[_0x2b39f4(-_0xa6b4c._0x4d0e35,-0x140,-0x16a,-_0xa6b4c._0xf3f92c)](_0x1d52f1[_0x2b39f4(-0x124,-0xbe,-_0xa6b4c._0x5dc363,-_0xa6b4c._0x355782)],_0x109622);const _0x34fbaa={};_0x34fbaa[_0x2b39f4(-_0xa6b4c._0x5dc363,-0xd4,-0x102,-0x126)]=_0x1d52f1[_0x2b39f4(-_0xa6b4c._0x4c2b42,-_0xa6b4c._0x1af02d,-0xdb,-0xff)],_0x59299d[_0x2b39f4(-0x17a,-0x167,-0x13b,-0x132)](-0x949+-0x2664+0x31a1)[_0x2b39f4(-0x1de,-_0xa6b4c._0x9a0a08,-_0xa6b4c._0xc536ee,-0x1a0)](_0x34fbaa);}else{const _0x54237b={};return _0x54237b[_0x3cfff7(_0xa6b4c._0x446ec2,0x3da,_0xa6b4c._0x37e741,0x434)]=_0x1d52f1[_0x2b39f4(-0x1a6,-_0xa6b4c._0x38e874,-0x15e,-_0xa6b4c._0x30e749)],_0x54237b[_0x2b39f4(-0xdc,-_0xa6b4c._0x50ec35,-_0xa6b4c._0x2d6813,-0xec)]=![],_0x2fa4cb[_0x3cfff7(0x3e9,0x3f2,_0xa6b4c._0x79854,0x428)](-0x1*-0x1d7d+-0x9eb*-0x1+-0x25d8)[_0x3cfff7(0x3d4,0x404,0x3a5,_0xa6b4c._0x2726a2)](_0x54237b);}}}),router[_0x3f047c(-0x22,0x5,0x71,0x1e)](_0x3d10fd(0x4f6,0x4ad,0x504,0x4b8)+_0x3d10fd(0x44b,0x433,0x3e9,0x3ea),requireAuth,requireAdmin,async(_0x8fada0,_0x5d3176)=>{const _0x426087={_0x22d87a:0x10c,_0xf316dc:0xf9,_0x53b2de:0x14a,_0x19c1e3:0x126,_0x3c5c20:0x169,_0x1a5ee8:0x179,_0x12db66:0x1e8,_0x78594f:0x10c,_0xfb9939:0x14f,_0x43ba3e:0x487,_0x24a0fc:0x3bc,_0x2c8c76:0x373,_0x2b62ee:0x1bc,_0x4f5c15:0x1da,_0x31b72a:0x172,_0x4b1008:0x1c0,_0xc45538:0x447,_0x3e29cf:0x3e4,_0x2f092d:0x431,_0x4d3507:0x3aa,_0x42ce05:0x385,_0x38ec06:0x16a,_0x118ff8:0x1db,_0x3a0eef:0x11f,_0x148bff:0x16e,_0x21555c:0x44d,_0x32a1a1:0x415,_0x3d741c:0x194,_0x5360f1:0x178,_0x1eb4e2:0x3c6,_0xe1cdf0:0x3e7,_0x199f9f:0x1bf,_0xca9911:0x44f,_0x10e059:0x3f3,_0x1dba51:0x3d2,_0x14baa6:0x1ba,_0x5d4214:0x106,_0x23ece2:0x10e,_0x2fc7fa:0xc5,_0x5b6f1a:0x41e,_0x3826a6:0x416,_0x52d605:0x3cf,_0x30c929:0x40b,_0x377963:0x3af,_0xdf24d3:0x3df,_0x5c724f:0x38d,_0x3e219a:0x45b,_0x369f8c:0x40f,_0x3f7059:0x15a,_0x2b3738:0x1a4,_0x36e44d:0x124,_0x5290cb:0x412,_0x53cfb8:0x42b,_0x23d359:0x3d7,_0x5c8700:0x3f5,_0x2d9448:0x154,_0x5a28bb:0x3f5,_0x162cbc:0x430,_0x233a64:0x180,_0xc3aa98:0x154,_0x18a631:0x1c5,_0x42495d:0x45c,_0x403883:0x409,_0x335355:0x3a4,_0x54e207:0x396,_0x45d7c9:0x1cb,_0x2ac87e:0x1a6,_0x35935d:0x400,_0x450510:0x3f5,_0x580a2f:0x40d,_0x13c016:0x3f1,_0x30db14:0x437,_0x1332c8:0x426,_0x24ebc2:0x3aa,_0x2416e7:0x3b3,_0x21d59f:0x356,_0x5a89fa:0x180,_0x2b511f:0x43a,_0x231c51:0x3df,_0x3f83f0:0x41e,_0x393a60:0x405,_0x1b09f8:0x128,_0x22b1de:0xe3,_0x105d5b:0x12b,_0x55f442:0x412,_0x1cb301:0x468},_0x997c1d={_0x246099:0xe0},_0x52ad9b={_0x3dff6b:0x16a};function _0x4ad515(_0x3a1a7a,_0xb1cbb,_0x57b512,_0x2c37f0){return _0x3f047c(_0xb1cbb,_0xb1cbb-0x1e2,_0x57b512-0xa,_0x3a1a7a-_0x52ad9b._0x3dff6b);}function _0xf9131e(_0x28ef0a,_0x457e1a,_0x4d047c,_0x4b9d72){return _0x3f047c(_0x4d047c,_0x457e1a-0x4,_0x4d047c-_0x997c1d._0x246099,_0x28ef0a-0x408);}const _0x50533e={'losWa':_0x4ad515(_0x426087._0x22d87a,_0x426087._0xf316dc,0x168,0x15c)+'get\x20email\x20'+_0x4ad515(_0x426087._0x53b2de,_0x426087._0x19c1e3,_0x426087._0x3c5c20,_0x426087._0x1a5ee8)+_0x4ad515(0x1b7,0x199,_0x426087._0x12db66,0x192),'TZPIb':_0x4ad515(_0x426087._0x78594f,0xca,0xc5,_0x426087._0xfb9939)+'revoke\x20tok'+'en','KmGTD':function(_0x5a7665,_0x3e48f4){return _0x5a7665!==_0x3e48f4;},'WdchM':'qLqIx','qTokZ':_0xf9131e(0x430,0x44c,0x3d3,_0x426087._0x43ba3e),'YBoXY':function(_0x38569f,_0x6949e2){return _0x38569f(_0x6949e2);},'prOkX':function(_0x40f151,_0x4cfb83){return _0x40f151!==_0x4cfb83;},'bxCLJ':_0xf9131e(_0x426087._0x24a0fc,0x370,0x3d5,_0x426087._0x2c8c76),'AjdFV':'HCxiT','VeHzO':'User\x20not\x20f'+_0x4ad515(_0x426087._0x2b62ee,_0x426087._0x4f5c15,0x1ee,_0x426087._0x31b72a),'KeSJV':_0x4ad515(0x1a1,0x1e6,0x1cf,_0x426087._0x4b1008),'fCUei':_0xf9131e(0x41b,_0x426087._0xc45538,_0x426087._0x3e29cf,_0x426087._0x2f092d),'mwVsD':_0xf9131e(_0x426087._0x4d3507,_0x426087._0x42ce05,0x3ce,0x3a4)+_0x4ad515(0x1b2,_0x426087._0x38ec06,0x1f1,_0x426087._0x118ff8)+_0x4ad515(_0x426087._0x3a0eef,_0x426087._0x148bff,0x118,0xe2)};try{if(_0x50533e[_0xf9131e(_0x426087._0x21555c,_0x426087._0x32a1a1,0x452,0x41f)](_0x50533e[_0x4ad515(_0x426087._0x3d741c,0x1dd,0x1c7,_0x426087._0x5360f1)],_0x50533e[_0xf9131e(0x41c,_0x426087._0x1eb4e2,_0x426087._0xe1cdf0,0x443)])){const {userId:_0x5a47f1}=_0x8fada0['params'],_0x226ffb=await _0x50533e[_0x4ad515(0x17b,0x1c3,0x142,_0x426087._0x199f9f)](findUserById,_0x5a47f1);if(!_0x226ffb){if(_0x50533e['prOkX'](_0x50533e[_0xf9131e(_0x426087._0xca9911,0x44c,0x3f4,0x413)],_0x50533e[_0xf9131e(_0x426087._0x10e059,_0x426087._0x1dba51,0x423,0x3c8)])){const _0x1ea0da={};return _0x1ea0da['error']=_0x50533e['VeHzO'],_0x5d3176[_0x4ad515(0x174,_0x426087._0x14baa6,0x176,0x1ab)](-0x11cf+-0x1653+0x29b6)[_0x4ad515(_0x426087._0x5d4214,_0x426087._0x23ece2,0xcf,_0x426087._0x2fc7fa)](_0x1ea0da);}else{_0x2742db[_0xf9131e(_0x426087._0x5b6f1a,_0x426087._0x3826a6,0x3cc,0x458)]('Failed\x20to\x20'+_0xf9131e(_0x426087._0x52d605,_0x426087._0x30c929,0x3dc,_0x426087._0x377963)+_0xf9131e(_0x426087._0xdf24d3,_0x426087._0x5c724f,0x3c9,_0x426087._0x32a1a1)+_0xf9131e(_0x426087._0x3e219a,_0x426087._0x369f8c,0x433,0x42b),_0xd04a65);const _0x3326c4={};_0x3326c4['error']=_0x50533e[_0x4ad515(_0x426087._0x3f7059,0x17a,_0x426087._0x2b3738,_0x426087._0x36e44d)],_0x56526d[_0xf9131e(_0x426087._0x5290cb,_0x426087._0x53cfb8,_0x426087._0x23d359,_0x426087._0x5c8700)](0x687+0xe4a+-0x12dd)[_0x4ad515(0x106,0xd1,0xe6,_0x426087._0x2d9448)](_0x3326c4);}}const _0x249dbb=await getUserTokens(_0x5a47f1),_0x4d9c60={};_0x4d9c60[_0xf9131e(0x435,_0x426087._0x5a28bb,_0x426087._0x162cbc,0x3da)]=_0x249dbb,_0x5d3176['json'](_0x4d9c60);}else{const _0x1795f1={};return _0x1795f1[_0x4ad515(_0x426087._0x233a64,0x12d,_0x426087._0xc3aa98,0x1ca)]='User\x20not\x20f'+_0x4ad515(_0x426087._0x2b62ee,_0x426087._0x18a631,0x1dd,0x1de),_0x344ee1[_0xf9131e(0x412,0x42d,_0x426087._0x42495d,_0x426087._0x403883)](0x102b+0xf4b+-0x1de2)[_0xf9131e(_0x426087._0x335355,0x3c5,0x3f4,_0x426087._0x54e207)](_0x1795f1);}}catch(_0x77da3a){if(_0x50533e[_0x4ad515(0x173,_0x426087._0x45d7c9,0x12e,_0x426087._0x2ac87e)]!==_0x50533e[_0xf9131e(0x3c8,_0x426087._0x35935d,0x3b2,_0x426087._0x450510)]){logger[_0xf9131e(_0x426087._0x5b6f1a,_0x426087._0x580a2f,0x41b,0x444)](_0x50533e['mwVsD'],_0x77da3a);const _0x398ec0={};_0x398ec0[_0xf9131e(0x41e,_0x426087._0x13c016,_0x426087._0x30db14,_0x426087._0x1332c8)]=_0xf9131e(_0x426087._0x24ebc2,0x3a3,_0x426087._0x2416e7,_0x426087._0x21d59f)+'get\x20user\x20t'+'okens',_0x5d3176[_0xf9131e(0x412,0x400,0x3e9,_0x426087._0x450510)](0x16a8+0xa0a+-0x1ebe)['json'](_0x398ec0);}else{_0x4c09cb[_0x4ad515(_0x426087._0x5a89fa,0x160,0x1d4,0x195)](_0x50533e[_0xf9131e(_0x426087._0x2b511f,_0x426087._0x231c51,0x3ee,0x3df)],_0x30e3a4);const _0xfb23a2={};_0xfb23a2[_0xf9131e(_0x426087._0x3f83f0,0x3c8,0x440,_0x426087._0x393a60)]='Failed\x20to\x20'+_0x4ad515(_0x426087._0x1b09f8,_0x426087._0x22b1de,_0x426087._0x105d5b,0x148)+'en',_0x59945f[_0xf9131e(_0x426087._0x55f442,_0x426087._0x1cb301,_0x426087._0x403883,0x3fa)](-0x166e+0x3f2*0x1+-0xa38*-0x2)['json'](_0xfb23a2);}}}),router[_0x3d10fd(0x4b3,0x4aa,0x467,0x45f)](_0x3d10fd(0x46b,0x430,0x47e,0x43d)+_0x3d10fd(0x498,0x44e,0x46a,0x430),requireAuth,requireAdmin,async(_0x45dcd4,_0x241c54)=>{const _0x23edc4={_0x3a26c3:0x42c,_0x1aae47:0x4b5,_0x24e54f:0x481,_0x17ac31:0x4c4,_0xf12b36:0x166,_0x3ed714:0x47d,_0xd056f5:0x44e,_0x7a4e9c:0x44b,_0x164610:0x480,_0x1bc8cd:0x41c,_0x8a53e2:0x487,_0xd0afdb:0xd9,_0x52e991:0xc4,_0x3832db:0xf1,_0x50a282:0xd3,_0x31228d:0x3e0,_0x1d31c6:0x3d1,_0x1dd0f6:0xcf,_0x4f6d74:0x445,_0x2cea96:0x422,_0x411bd6:0x423,_0x4865e0:0x137,_0x58f080:0xe3,_0xde55e3:0x147,_0x29de03:0x11b,_0x1f2a4d:0x15c,_0x4880c4:0x3bd,_0x3ca9bc:0x3d7,_0x356efd:0x37e,_0x15f3e3:0x151,_0x2a1257:0x17a,_0x3225e4:0x15a,_0x3d7074:0x3dc,_0x525e42:0x439,_0x1faa57:0x429,_0x2d295e:0xa3,_0x37309a:0xbe,_0x2c2abf:0xcc,_0x3d6084:0x15e,_0x3a165b:0x402,_0x306e81:0x437,_0x5ecf10:0x10e,_0x7139ff:0x10f,_0x1d5ff4:0x120,_0x57abaf:0x132,_0x53a0a4:0x13a,_0x24a1bb:0x493,_0x1df4de:0x41a,_0x27814c:0x45d,_0x1bccf9:0x455,_0x2db0fb:0x446,_0x18e31f:0x129,_0xc91243:0x11c,_0x487752:0x145,_0x2e86a2:0xaf,_0x5777a6:0xf2,_0x3006e4:0xcd,_0x49dc61:0xe1,_0x5b4e2a:0xab,_0x5a5baf:0x44f,_0x9e4f3d:0x414,_0x159b20:0x448,_0x2b5c78:0x468,_0x2c1e89:0x185,_0x370f54:0x180,_0x3c78d1:0x1c9,_0x50b132:0x486,_0x5ab202:0x43e,_0xb691cc:0xa7,_0x201c01:0x19b,_0x4ddcfa:0x49a,_0x383730:0x3f2,_0xdc2a54:0x1b5,_0x4ef880:0x17b,_0x31b882:0x142,_0x51f2ef:0x8f,_0x32a163:0xb9},_0xf5dd9f={_0x1e0452:0x22,_0x5420c8:0x8d},_0x169f2e={'CnbAe':_0x169274(0x473,0x45e,_0x23edc4._0x3a26c3,0x404)+_0x169274(_0x23edc4._0x1aae47,_0x23edc4._0x24e54f,_0x23edc4._0x17ac31,0x4d0),'dTfSC':_0x4205de(0x1ab,0x1bd,_0x23edc4._0xf12b36,0x115)+'\x20expired\x20t'+'oken','MRNHp':function(_0x3a774d,_0x473d58){return _0x3a774d===_0x473d58;},'dIrpI':_0x169274(0x400,0x429,0x3f1,_0x23edc4._0x3ed714),'EkNcQ':function(_0x4fe59a,_0x1aa0a5){return _0x4fe59a(_0x1aa0a5);},'GKNyp':_0x169274(0x41c,0x42a,_0x23edc4._0xd056f5,_0x23edc4._0x7a4e9c)+_0x169274(0x431,_0x23edc4._0x164610,0x451,0x489),'Zdcek':_0x169274(0x3ff,0x42a,_0x23edc4._0x1bc8cd,_0x23edc4._0x8a53e2)+'ked\x20succes'+_0x4205de(_0x23edc4._0xd0afdb,_0x23edc4._0x52e991,_0x23edc4._0x3832db,_0x23edc4._0x50a282),'SvuvV':_0x4205de(0x13a,0x158,0x12d,0xe5),'ICfTs':_0x169274(_0x23edc4._0x31228d,_0x23edc4._0x1d31c6,0x3ca,0x412)+'revoke\x20tok'+'en'};function _0x4205de(_0x552fdf,_0x38a463,_0x25d51d,_0x3b8f83){return _0x3d10fd(_0x552fdf-_0xf5dd9f._0x1e0452,_0x25d51d- -0x32f,_0x3b8f83,_0x3b8f83-_0xf5dd9f._0x5420c8);}function _0x169274(_0x38b42b,_0x89e1f0,_0x800bb8,_0x409766){return _0x3f047c(_0x800bb8,_0x89e1f0-0x93,_0x800bb8-0x183,_0x89e1f0-0x42f);}try{if(_0x169f2e['MRNHp']('nMgma',_0x169f2e[_0x4205de(0xba,0x95,_0x23edc4._0x1dd0f6,0x129)])){const _0x58f5eb={};return _0x58f5eb[_0x169274(0x497,_0x23edc4._0x4f6d74,0x462,_0x23edc4._0x2cea96)]=_0x169f2e[_0x169274(0x426,0x46d,_0x23edc4._0x411bd6,0x44f)],_0x270fc9[_0x4205de(_0x23edc4._0x4865e0,_0x23edc4._0x58f080,0x13a,_0x23edc4._0xde55e3)](-0x137b*0x1+-0x14c*-0x2+0x1277)['json'](_0x58f5eb);}else{const {tokenId:_0x1f6e80}=_0x45dcd4[_0x4205de(_0x23edc4._0x29de03,_0x23edc4._0x1f2a4d,0x14b,0x11a)],_0x209f50=await _0x169f2e[_0x169274(_0x23edc4._0x4880c4,0x3db,_0x23edc4._0x3ca9bc,_0x23edc4._0x356efd)](revokeToken,_0x1f6e80);if(!_0x209f50){const _0x1c8c1b={};return _0x1c8c1b[_0x4205de(_0x23edc4._0x15f3e3,_0x23edc4._0x2a1257,0x146,_0x23edc4._0x3225e4)]=_0x4205de(0x12f,0x149,0x131,0x170)+'found',_0x241c54[_0x169274(_0x23edc4._0x3d7074,_0x23edc4._0x525e42,0x489,_0x23edc4._0x1faa57)](-0x1c13+-0x23e9+0x2*0x20c8)[_0x4205de(_0x23edc4._0x2d295e,_0x23edc4._0x37309a,_0x23edc4._0x2c2abf,0x9a)](_0x1c8c1b);}const _0x5d8f7e={};_0x5d8f7e[_0x4205de(0x161,0x119,0x152,0x187)]=_0x45dcd4[_0x4205de(0xc2,0x128,0x10f,_0x23edc4._0x3d6084)]['id'],_0x5d8f7e['adminUsern'+_0x169274(_0x23edc4._0x3a165b,_0x23edc4._0x306e81,0x41b,0x44a)]=_0x45dcd4[_0x4205de(_0x23edc4._0x5ecf10,0x13b,_0x23edc4._0x7139ff,_0x23edc4._0x1d5ff4)][_0x4205de(0x10e,0x122,_0x23edc4._0x57abaf,_0x23edc4._0x53a0a4)],_0x5d8f7e['tokenId']=_0x1f6e80,logger[_0x169274(_0x23edc4._0x24a1bb,0x44e,_0x23edc4._0x1df4de,0x48c)](_0x169f2e[_0x169274(0x4a7,_0x23edc4._0x27814c,_0x23edc4._0x1bccf9,_0x23edc4._0x2db0fb)],_0x5d8f7e);const _0x2499f3={};_0x2499f3[_0x4205de(_0x23edc4._0x18e31f,_0x23edc4._0xc91243,_0x23edc4._0x487752,_0x23edc4._0x4865e0)]=_0x169f2e[_0x4205de(_0x23edc4._0x2e86a2,0xd2,0xf8,_0x23edc4._0x5777a6)],_0x241c54[_0x4205de(_0x23edc4._0x3006e4,_0x23edc4._0x49dc61,_0x23edc4._0x2c2abf,_0x23edc4._0x5b4e2a)](_0x2499f3);}}catch(_0x1335b9){if(_0x169274(0x42f,0x42c,_0x23edc4._0x5a5baf,0x3df)!==_0x169f2e[_0x169274(_0x23edc4._0x9e4f3d,0x40d,_0x23edc4._0x159b20,_0x23edc4._0x2b5c78)]){const _0x4c310f={};return _0x4c310f[_0x4205de(0x143,_0x23edc4._0x2c1e89,_0x23edc4._0x370f54,_0x23edc4._0x3c78d1)]=![],_0x4c310f[_0x169274(0x3ec,0x445,_0x23edc4._0x50b132,_0x23edc4._0x5ab202)]=_0x169f2e['dTfSC'],_0x1120e1[_0x4205de(_0x23edc4._0x29de03,_0x23edc4._0xb691cc,_0x23edc4._0x2c2abf,0x106)](_0x4c310f);}else{logger['error'](_0x169f2e[_0x4205de(0x161,_0x23edc4._0x201c01,0x161,0x180)],_0x1335b9);const _0x234e18={};_0x234e18[_0x169274(_0x23edc4._0x4ddcfa,_0x23edc4._0x4f6d74,_0x23edc4._0x383730,0x400)]=_0x169f2e[_0x4205de(_0x23edc4._0xdc2a54,_0x23edc4._0x4ef880,0x161,_0x23edc4._0x31b882)],_0x241c54['status'](0x1e61+0x1af0+-0x375d)[_0x4205de(_0x23edc4._0x51f2ef,_0x23edc4._0x32a163,0xcc,0xc1)](_0x234e18);}}});function _0x5882(){const _0x2ee887=['wxH5u2e','zgDTrgO','EurureW','DhLWzq','C3DVCMqGDg9Rzq','yM9KEq','rwToy1e','zwqUifbSzwfZzq','EvPmsKO','mtm1ndyWmeLWzvjWEG','uMHVuMO','rw1HAwWGBM90ia','Dg9Rzw5uExbL','BMfTzq','CMH6qKG','B2TLBNm','igv4CgLYzwqGDa','sKLcB0u','AhDeEw0','muPLvMfbwq','CxvLCNK','Dxn0igjLigf0ia','re10r24','zxHWAxjLC19HDa','CMv2B2TLihrVAW','nYbKyxLZ','zKnvzwK','C2z1BgX5','zen3vhu','zxHWAxjLC0LU','DMThtxi','vhLWzsbTDxn0ia','B2TLBIbJCMvHDa','z2v0igvTywLSia','wMrJzwS','AKTqC2q','vhnHAuu','zKnuzKq','zxr1CcbLBwfPBa','Aw5JBhvKzxm','C2r1vfm','DgvTCgXHDgu','EK1gs2S','l3rVA2vUCY86Da','l3nLDhvW','BgvUz3rO','C2vYswq','DuDjCum','r0ndwe8','y29UzMLNihn0yq','D3vws1y','vwDryvi','uM91DgvY','rwzyuLm','otK5nJuWyxPtCKnM','mtC4mde2ndHPAuDysM0','u3z1DLy','DxnLCG','y29UzMLNDxjHDa','CgfZC3DVCMqGyq','DxnLCKLK','BgvHC3qGocbJAa','zxf1AxjLza','zw1HAwW','y0f6AfO','C2vUzevTywLS','A01zzfe','mZqZmJGWrgfHqKPH','zgf0yq','qwPKrLy','C3DVCMqUAhrTBa','ugfZC3DVCMqGDa','ndu0ndiYnvLdEu5nzq','B2TLBKLK','Bg9Zv2e','EgPTB2y','ExneANu','C3vIAMvJDa','r2LkA28','ve9Wyxi','B1zZtxO','CxzUugi','BwvUDcb2yxjPyq','Du1PwLe','uMLkwLm','vg9Rzw4GCMv2BW','B3jKigvTywLS','BLDIBfC','CgfZC3DVCMqTCG','ugfZC3DVCMqGCW','tg9Krvy','vg9Rzw4GBM90ia','DxnLCM5HBwu','EfjkzNy','B2TLBG','y25utva','sNLhDgK','uvL0uKy','yw1L','s2vtsLy','C3rHDhvZ','uMT1D00','zNvSBhK','Cg9ZDa','ig9YicjYzxnLDa','CMvZzxq','yuTtwhO','wujVwfK','ihnLDcb1Ccbttq','ugzAB1e','CvrVA1O','BwvZC2fNzq','zxjYB3i','zxqGDMLHihrVAW','mZy4mtC2mKrQugzRBG','ihjLCxvPCMvK','rLzyuLC','CgfYyw1Z','y29UzMLNDxjLza','rfbRrui','z2v0','Aw5MBW','zwqGyw5KigvTyq','q0LWwNm','ywrTAw5jza','mtmWotmYmhzivvbHCG','zw1HAwXfCNjVCG','A1DQv0K','zxqGC3vJy2vZCW','zw1HAwXtzw50','qNHRvLm','vfaGzw52AxjVBG','v2rJAe0','yMuGiNnLDhvWiG','A2rkCMK','Dg9Rzw5Z','r0ToExa','vxnLCIbUB3qGzG','C2v0ihbHC3n3BW','sunMvhm','vfPqswi','AfP6tfq','ouLOtNvkwq','ANvyz1m','sw52ywXPzcbVCG','uxDLq3y','v2zIAwW','B3b5ihrOzsbSAq','wLrRrei','zxnLDa','y3jLyxrLihbHCW','uKDxv3e','q25Iqwu','DgfYz2v0vxnLCG','ugfZC3DVCMqGBq','vg9Rzw4Gyw5Kia','CMuGCMvXDwLYzq','u01uucbPCYbUBW','C1HKzvq','s21hveq','Dg9Rzw4','yNHdteO','z2v0ihvZzxiGDa','zMLN','C2vUzcbLBwfPBa','zgvSzxrL','wfn0ze0','Aw9Uihn0yxr1CW','l3rVA2vUCY86Dq','l2vTywLSlwnVBG','DMfSAwq','A2vK','B3vUza','DhvZ','zxr1Ca','DcbJB25MAwD1CG','ANnVBG','ihnLBNq','CgfZC3DVCMqTCW','zeLYCeK','wvzPzKi','A05Hshm','rMfPBgvKihrVia','yxjHy3rLCNm','C2v0DxbvCMW','EKHyBgm'];_0x5882=function(){return _0x2ee887;};return _0x5882();}function _0x2ca5(_0x3caafb,_0x4e6575){_0x3caafb=_0x3caafb-(-0x1*0x242e+-0x1*0x194c+0x3e3e);const _0x3bc3af=_0x5882();let _0x4c09cb=_0x3bc3af[_0x3caafb];if(_0x2ca5['HaKOqu']===undefined){var _0x30e3a4=function(_0x2a41e2){const _0x3f66d1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xf442cc='',_0x54c540='';for(let _0x1717b6=0xbc2+-0x3f4*-0x1+-0x1*0xfb6,_0x4fff4b,_0x221630,_0x59fae2=-0x8f6+-0x1227+0x1b1d;_0x221630=_0x2a41e2['charAt'](_0x59fae2++);~_0x221630&&(_0x4fff4b=_0x1717b6%(-0x1350+-0x1929+0x2c7d)?_0x4fff4b*(0x3*-0xbdb+-0x383*-0x7+-0x59e*-0x2)+_0x221630:_0x221630,_0x1717b6++%(0x1622+0x1c01+-0x7*0x729))?_0xf442cc+=String['fromCharCode'](-0x15*0x178+-0x4*-0x5ce+0x89f*0x1&_0x4fff4b>>(-(-0x308+-0x139*-0x9+-0x7f7)*_0x1717b6&0x42b+0x15fd+0x5*-0x53a)):-0x9+0x47*0x4b+-0x376*0x6){_0x221630=_0x3f66d1['indexOf'](_0x221630);}for(let _0x6dce18=0x169*-0x1a+0x8b0+0x1bfa,_0x802168=_0xf442cc['length'];_0x6dce18<_0x802168;_0x6dce18++){_0x54c540+='%'+('00'+_0xf442cc['charCodeAt'](_0x6dce18)['toString'](-0x22a*0xb+-0x1d77*-0x1+-0x599*0x1))['slice'](-(-0x1*0x18df+-0x1158+0x2a39));}return decodeURIComponent(_0x54c540);};_0x2ca5['NRfweV']=_0x30e3a4,_0x2ca5['AIAhjL']={},_0x2ca5['HaKOqu']=!![];}const _0x59945f=_0x3bc3af[-0x4*0x22e+-0x1*0xd37+-0x463*-0x5],_0x5952c1=_0x3caafb+_0x59945f,_0x483d8d=_0x2ca5['AIAhjL'][_0x5952c1];return!_0x483d8d?(_0x4c09cb=_0x2ca5['NRfweV'](_0x4c09cb),_0x2ca5['AIAhjL'][_0x5952c1]=_0x4c09cb):_0x4c09cb=_0x483d8d,_0x4c09cb;}export default router;
1
+ function _0x45a5(){const _0x2f729a=['vhLWzsbTDxn0ia','u01uucbPCYbUBW','zNvSBhK','B3vUza','nYbKyxLZ','n01SrK5eDG','D01tqxC','z2v0igvTywLSia','l3nLDhvWlxbHCW','ywrTAw5vC2vYBG','BwvZC2fNzq','sw1NzNi','uMPLBfK','B2TLBG','v0XyDNm','B2TLBNm','BMSGBwfUDwfSBa','ANnVBG','nJq2ndGYmgDsrhPnyq','BwvUDcb2yxjPyq','lIbqBgvHC2uGyW','swvstM0','C2vUzevTywLS','C3vIAMvJDa','ihnLDcb1Ccbttq','C2v0Dxa','ntu1C1jMDwjN','uM91DgvY','ywrTAw5jza','EhniDgS','yLLiCLK','qwzwCwq','yMuGiNnLDhvWiG','BfnZue8','C3rHDhvZ','C3DVCMqGDg9Rzq','C0PcDLi','uLjVvxC','Aw9Uihn0yxr1CW','Dg9Rzw4','D2r6wg4','q2zUEMK','C2vYswq','zM91BMq','D1fyEKy','BgvUz3rO','D01vqKe','yM9KEq','wgTszKG','CgfZC3DVCMqGyq','DhfmreS','swPbtxO','DhrtB2m','y29UzMLNDxjLza','mZy3nZCZnvn3t3r5sq','y3jLyxrLihbHCW','uvvPrLG','C2v0DxbvCMW','DKfSs2W','ihjLCxvPCMvK','Aw5MBW','DxnLCM5HBwu','l3rVA2vUCY86Dq','CNzIAK4','sLDeB1C','l2vTywLSlwnVBG','zxnLDa','CMvZzxq','zxHWAxjLC19HDa','zgvSzxrL','ueLHuMK','qujzC1q','z2v0ihvZzxiGDa','CgfYyw1Z','tK1ryLi','EeLAqKW','DxnLCG','q3fRwxG','zwqUifbSzwfZzq','mJi3ndqXmfbtsgLivq','vxnLCIbjrcbPCW','igv4CgLYzwqGDa','vLfzEwu','ugfZC3DVCMqGCW','y29UzMLNDxjHDa','CMLptey','DcbJB25MAwD1CG','vg9Rzw4Gyw5Kia','DgfYz2v0vxnLCG','BMqGzw1HAwXZlG','vg9Rzw4GBM90ia','q092qMm','zxqGC3vJy2vZCW','zwqGyw5KigvTyq','DxnLCK5HBwu','zuX6Aei','vxnLCIbUB3qGzG','DejZBuu','u3zzDhq','Au5dquC','rwXXs0K','ExP6BvC','Cg9ZDa','u21nrxe','y29UzMLNihn0yq','nJy2teD3Avnu','sxDyzNi','Dg9Rzw5uExbL','C2v0ihbHC3n3BW','DhLWzq','l3zHBgLKyxrLlq','vK9MsfG','rMfPBgvKihrVia','zxf1AxjLza','zw1HAwW','ntq0mtzRqur6B08','A2vKihn1y2nLCW','DhvZ','tKXnu1i','mtfdCKLhEMi','Dxf6uMy','vvnYu20','wfzTrwe','vhH0B1i','ig9YicjYzxnLDa','z0jUu00','z2v0','yLLxq3e','BMfTzq','A2vU','C2vUzcbWyxnZDW','CuLguNe','BeXdzLK','vMTyt1q','tLDvyM8','DM5UDfe','CxvLCNK','zw1HAwXtzw50','B3fzq08','Dxn0igjLigf0ia','vwzKzhe','l2nYzwf0zs10BW','p3rVA2vUpq','DgvTCgXHDgu','zxr1CcbLBwfPBa','zxHWAxjLC0LU','zwqGC3vJy2vZCW','qvzOr1a','AMLVB3m','v3H0C2G','CgfZC3DVCMqTCW','CMv2B2TLihrVAW','sxHfEfi','mvnQuLfeDG','rg1Hsg0','vg9Rzw4GCMv2BW','yKLAwKe','C3blDxu','mJG5nKD0q1vzCW','DxnLCKLK','EurbywS','DMfSAwq','B3jKigvTywLS','mtm2otqYmMLQze1bzq','zxjYB3i','ugfZC3DVCMqGDa','zgf0yq','DMfSAwrHDguGDa','CMuGCMvXDwLYzq','yw1L','B2TLBKLK','sw52ywXPzcbVCG','uhf1wuq','CgfZC3DVCMqTCG','AwWGC2vUDcb0BW','B2TLBIbJCMvHDa','Dg9Rzw5Z','AM1uDgS','vfaGzw52AxjVBG','mtmZmZa0mLzVCePqAq','wNrQuhi'];_0x45a5=function(){return _0x2f729a;};return _0x45a5();}(function(_0x4b69ee,_0x2dc0cc){const _0x5ecac5={_0x3f4e4b:0x1be,_0x4f9d04:0x213,_0x345795:0x217,_0x5ec57e:0x1d8,_0x207245:0x211,_0x374b05:0x1b1,_0x20d3be:0x18a,_0x1e4ece:0x192,_0x123c7a:0x183,_0x20ee20:0x17b,_0x4dda18:0x1f1,_0x305c9f:0x1df,_0x1338c7:0x199,_0x439a1a:0x197,_0x3bcbf1:0x1ae,_0x2c9358:0x19f,_0x144298:0x260,_0x2963db:0x205,_0x4cec80:0x1b0,_0x2ade9d:0x1f8,_0x3d27a6:0x1bb,_0x33894b:0x1ed,_0x26b101:0x1b4,_0x1e83e7:0x168},_0x3ea407={_0x5e5aab:0x3d},_0x49d465=_0x4b69ee();function _0x321050(_0x53ecf8,_0x17466e,_0x8b8e96,_0x4be706){return _0x5743(_0x17466e- -0x6e,_0x4be706);}function _0x1491b5(_0x5f769f,_0x3878c4,_0x4fa0f9,_0xeabdb2){return _0x5743(_0x4fa0f9- -_0x3ea407._0x5e5aab,_0x3878c4);}while(!![]){try{const _0x3fc0d6=parseInt(_0x1491b5(0x1f7,0x1eb,_0x5ecac5._0x3f4e4b,0x167))/(-0x166*-0x10+0x23*0x100+-0x395f*0x1)*(parseInt(_0x1491b5(_0x5ecac5._0x4f9d04,_0x5ecac5._0x345795,_0x5ecac5._0x5ec57e,_0x5ecac5._0x207245))/(0x123*-0x4+0x20b9+-0x1c2b))+-parseInt(_0x1491b5(_0x5ecac5._0x374b05,0x219,0x1f4,0x1c0))/(0x2*-0x116f+-0x1fab+0x1*0x428c)*(parseInt(_0x321050(_0x5ecac5._0x20d3be,_0x5ecac5._0x1e4ece,_0x5ecac5._0x123c7a,_0x5ecac5._0x20ee20))/(0x1066+0x6bb*-0x1+-0x9a7))+-parseInt(_0x321050(_0x5ecac5._0x4dda18,_0x5ecac5._0x305c9f,_0x5ecac5._0x1338c7,0x1c7))/(-0x2*0x10c5+0x1*-0xd82+0x2f11*0x1)+-parseInt(_0x321050(0x19a,_0x5ecac5._0x439a1a,0x1da,0x1d7))/(0x1*0x1d9+0x19ab+-0x1b7e)*(parseInt(_0x321050(0x192,_0x5ecac5._0x3bcbf1,0x15d,0x1e9))/(0xc1a+0x15d4+-0x21e7))+parseInt(_0x321050(0x18e,0x167,0x163,_0x5ecac5._0x2c9358))/(-0x167f+0x3cb*-0x2+0x1*0x1e1d)*(parseInt(_0x321050(_0x5ecac5._0x144298,0x212,0x1cb,_0x5ecac5._0x2963db))/(-0x485*0x1+-0x38*-0x48+-0xb32))+-parseInt(_0x321050(_0x5ecac5._0x4cec80,_0x5ecac5._0x2ade9d,0x1e5,_0x5ecac5._0x3d27a6))/(-0x1*0x2289+-0x2*0x10+0x22b3)+parseInt(_0x321050(0x167,0x16b,0x120,0x171))/(-0x17e4+0x44+0x17ab)*(parseInt(_0x321050(_0x5ecac5._0x33894b,0x1bb,_0x5ecac5._0x26b101,_0x5ecac5._0x1e83e7))/(0xf63+0x1d24+-0x3b*0xc1));if(_0x3fc0d6===_0x2dc0cc)break;else _0x49d465['push'](_0x49d465['shift']());}catch(_0x1e0efd){_0x49d465['push'](_0x49d465['shift']());}}}(_0x45a5,-0xb9679+0xa5d85+0x712c3));import _0x43d624 from'express';import{logger}from'../lib/logger.js';import{requireAuth,requireAdmin}from'../middleware/requireAuth.js';import{getRequestBaseUrl}from'../lib/request-url.js';import{findUserById,setUserPassword}from'../lib/users.js';import{createPasswordToken,validateToken,markTokenAsUsed,getUserTokens,revokeToken}from'../lib/passwordTokens.js';function _0x118bba(_0x2f79a2,_0x1142cf,_0x5dec61,_0x43bc7d){return _0x5743(_0x43bc7d-0x2c,_0x2f79a2);}import{isEmailConfigured,sendTemplatedEmail,getEmailConfigStatus}from'../lib/email.js';import{renderTemplate}from'../lib/emailTemplates.js';const router=_0x43d624[_0x118bba(0x247,0x254,0x20c,0x25e)]();router[_0x5962c7(0x583,0x529,0x5c9,0x575)](_0x5962c7(0x5a5,0x5d8,0x5a0,0x5ed)+'fig',requireAuth,requireAdmin,async(_0x43c4f4,_0x1b8d2c)=>{const _0x61a8c6={_0x130e85:0x64d,_0x364347:0x61e,_0x376fbb:0x645,_0xae5f05:0x688,_0x38c369:0x68e,_0x35aa87:0x59d,_0x37d3c0:0x5f7,_0x55cdf4:0x3b3,_0x8a058f:0x5e4,_0x5615b4:0x590,_0x3ddaed:0x631,_0x5e0f06:0x605,_0x478697:0x5ec,_0x4bacef:0x603,_0x326bee:0x62c,_0x150ccc:0x621,_0x30a66c:0x5ce,_0x1940a5:0x2e7,_0x383505:0x5a5,_0x1bba70:0x5a3,_0x4e9f85:0x576,_0x1d6b87:0x380,_0x481a85:0x640,_0x390b38:0x5cc,_0xcd0eda:0x5a9},_0x2f09b2={_0x2f56d5:0x190,_0x53c27c:0x1a3,_0x476d4b:0x28e},_0x417696={_0x1f9225:0x122},_0x468594={'NiyCR':function(_0x32b41d){return _0x32b41d();},'gBnSM':_0x55eecb(_0x61a8c6._0x130e85,_0x61a8c6._0x364347,0x693,0x5fd)+'get\x20email\x20'+_0x55eecb(_0x61a8c6._0x376fbb,_0x61a8c6._0xae5f05,_0x61a8c6._0x38c369,0x612)+_0x55eecb(_0x61a8c6._0x35aa87,0x565,0x5da,_0x61a8c6._0x37d3c0),'bzQVF':_0x1478d2(0x375,0x3c6,_0x61a8c6._0x55cdf4,0x38e)+_0x55eecb(_0x61a8c6._0x8a058f,_0x61a8c6._0x5615b4,0x59b,0x62d)+_0x55eecb(_0x61a8c6._0x3ddaed,_0x61a8c6._0x5e0f06,_0x61a8c6._0x5e0f06,_0x61a8c6._0x478697)+_0x55eecb(_0x61a8c6._0x4bacef,_0x61a8c6._0x326bee,_0x61a8c6._0x150ccc,_0x61a8c6._0x30a66c)};function _0x55eecb(_0x1a61d0,_0x580add,_0x262112,_0x52575e){return _0x5962c7(_0x1a61d0-_0x417696._0x1f9225,_0x262112,_0x262112-0x169,_0x1a61d0-0x31);}function _0x1478d2(_0x18db1b,_0x2b506e,_0x446786,_0x1d2442){return _0x5962c7(_0x18db1b-_0x2f09b2._0x2f56d5,_0x2b506e,_0x446786-_0x2f09b2._0x53c27c,_0x1d2442- -_0x2f09b2._0x476d4b);}try{const _0x45bdf3=_0x468594['NiyCR'](getEmailConfigStatus);_0x1b8d2c[_0x1478d2(_0x61a8c6._0x1940a5,0x385,0x2eb,0x32f)](_0x45bdf3);}catch(_0x54e595){logger['error'](_0x468594[_0x55eecb(_0x61a8c6._0x383505,0x5af,_0x61a8c6._0x1bba70,_0x61a8c6._0x4e9f85)],_0x54e595);const _0x11493d={};_0x11493d['error']=_0x468594['bzQVF'],_0x1b8d2c[_0x1478d2(0x32d,0x341,_0x61a8c6._0x1d6b87,0x340)](0x24a*0x1+0x1*-0x1f6+0x1a0)[_0x55eecb(0x5ee,_0x61a8c6._0x481a85,_0x61a8c6._0x390b38,_0x61a8c6._0xcd0eda)](_0x11493d);}});function _0x5743(_0x2e55ea,_0x36e1ee){_0x2e55ea=_0x2e55ea-(0x9f*0x1+-0x1*-0x1+0x135);const _0x5335dc=_0x45a5();let _0x5477d9=_0x5335dc[_0x2e55ea];if(_0x5743['aSnfMZ']===undefined){var _0x3a108f=function(_0x38c0ee){const _0x1706e8='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x19e0b0='',_0x20074d='';for(let _0xf8e24d=-0x1ba*0x4+-0x2b5*0x2+0xc52,_0x4a8a00,_0x4493e4,_0x3a2447=-0x6df*0x2+-0x894+0x1652;_0x4493e4=_0x38c0ee['charAt'](_0x3a2447++);~_0x4493e4&&(_0x4a8a00=_0xf8e24d%(0x6*-0x9b+0x21f3+0x1e4d*-0x1)?_0x4a8a00*(-0x2697+0x1a3*0x13+0x1*0x7be)+_0x4493e4:_0x4493e4,_0xf8e24d++%(0x240b+-0x1c76*-0x1+0x407d*-0x1))?_0x19e0b0+=String['fromCharCode'](0xe7c+0x2ae*-0x5+0x17*-0x1&_0x4a8a00>>(-(0x253f*-0x1+-0xd59+0x329a)*_0xf8e24d&0x2dd*0x5+0x17*0x117+-0x275c)):-0x148*0x10+-0x17e*0x6+0x1d74){_0x4493e4=_0x1706e8['indexOf'](_0x4493e4);}for(let _0x5782ae=0x533*-0x1+-0xdf9*-0x1+-0x2*0x463,_0x49fc85=_0x19e0b0['length'];_0x5782ae<_0x49fc85;_0x5782ae++){_0x20074d+='%'+('00'+_0x19e0b0['charCodeAt'](_0x5782ae)['toString'](-0x8*-0x323+0x1d*0xda+-0x31ba))['slice'](-(-0x10ba*-0x2+0x2*-0xbd2+-0x9ce));}return decodeURIComponent(_0x20074d);};_0x5743['CeJDjA']=_0x3a108f,_0x5743['HNSOVe']={},_0x5743['aSnfMZ']=!![];}const _0x2c9ec2=_0x5335dc[0x1*0x1018+0x190c+-0x2924*0x1],_0x5ed69c=_0x2e55ea+_0x2c9ec2,_0x1dc818=_0x5743['HNSOVe'][_0x5ed69c];return!_0x1dc818?(_0x5477d9=_0x5743['CeJDjA'](_0x5477d9),_0x5743['HNSOVe'][_0x5ed69c]=_0x5477d9):_0x5477d9=_0x1dc818,_0x5477d9;}function _0x5962c7(_0x8f91ae,_0x3cee67,_0x28eb62,_0x72044b){const _0x40e66f={_0x276bc6:0x395};return _0x5743(_0x72044b-_0x40e66f._0x276bc6,_0x3cee67);}router[_0x118bba(0x28b,0x2cf,0x282,0x2a9)](_0x5962c7(0x58a,0x5be,0x56e,0x584)+_0x5962c7(0x571,0x582,0x54c,0x578),requireAuth,requireAdmin,async(_0x311507,_0x14260a)=>{const _0x5ec2d4={_0x33aa7f:0x4e1,_0x1af3d7:0x4ba,_0x53540b:0x4a7,_0x4a0bb8:0x4c1,_0x44bee4:0xab,_0x440575:0x6d,_0x52bb11:0x4d8,_0x4da1b2:0x4dd,_0x5e245a:0x4b2,_0x5c6c7f:0x489,_0x53005a:0x4d2,_0x1bc7d6:0x481,_0x47ebe0:0x17,_0x313618:0x555,_0x1f46a2:0x4c0,_0x36b2ab:0x81,_0x2b2d18:0x25,_0x507386:0x10,_0x5c27d2:0x44,_0x4421b7:0x500,_0x2de4ae:0x4f6,_0xa88bd2:0x4e6,_0x43a113:0x4e7,_0x49be51:0x498,_0x580f3a:0x452,_0xb7b0ff:0x4a2,_0xb53999:0xb,_0x4e8baf:0x57,_0x39dcc0:0x5,_0x56b214:0x3b,_0xe8b6d1:0x60,_0x29e4f7:0xf,_0x5a9af1:0x458,_0x41adc4:0x462,_0x59e929:0x4ff,_0x4c3e2e:0x484,_0x368d42:0x4b4,_0x27b5dd:0x477,_0x5acfdf:0x4,_0x2b9343:0x3d,_0x36e3f7:0x1f,_0x36640f:0x4c,_0x25e4de:0x88,_0x22f3ab:0x18,_0x567e07:0x493,_0x1e0b79:0x47d,_0x2ec498:0x58,_0x34db95:0x49,_0x22edeb:0x4ed,_0x11f64e:0x505,_0x4b0d6d:0x7b,_0x6181e0:0x28,_0x36b4ef:0x46f,_0x39e1f2:0x47f,_0x34037f:0x4db,_0x3a5b7d:0x86,_0x5e0ee4:0x41,_0x235e72:0x57,_0x4b2d32:0x15,_0x4394ed:0x3d,_0x18a5cd:0xa,_0x1f8922:0xe,_0x2ae092:0x5a,_0x380c11:0x4a6,_0x15e6d6:0x4d5,_0x8c19eb:0x497,_0x284a65:0x3d,_0x1ccd75:0x2f,_0x461d11:0x6e,_0x15dd82:0x1a,_0x352c0e:0x513,_0x44fbd7:0x511,_0x1dc6f7:0x3f,_0x22d3cf:0x4eb,_0x407caa:0x4be,_0x537ae3:0x23,_0x30a6dc:0x480,_0x5749d5:0x4c3,_0x54f98e:0x4fc,_0xf70338:0x4c2,_0x1cd870:0x4cb,_0x4cd47c:0x4ce,_0x41c359:0x450,_0x948b8a:0x497,_0x493f48:0x491,_0x216011:0x46,_0x36a433:0x6a,_0x4192c4:0x33,_0x356c24:0x11,_0x6c9d81:0x4b,_0x228d45:0x515,_0x19aab9:0x492,_0x22ff20:0x520,_0x8c34a5:0x48d,_0x580a84:0x40,_0x4d0479:0x19,_0xefb942:0x15,_0x491147:0x4c6,_0x12e6c8:0x2c,_0xb38070:0x512,_0x1ee474:0x24,_0x15d648:0x59,_0x4b352d:0xa,_0x2528eb:0x4fe,_0x4e7c88:0x4f3,_0x5aceeb:0x78,_0x422d0f:0x3e,_0x25073b:0x4b3,_0x5bbd60:0x50a,_0x24e6b0:0x4bb,_0x2535c0:0x82,_0x1f9635:0x6c,_0x6834b9:0x490,_0x4c7276:0x2a,_0xc043b5:0x51,_0x413b45:0x30,_0x38e843:0x26,_0x550e27:0x4ef,_0x103ea2:0x4b0,_0x158954:0x4f6,_0x2795b1:0x4b9,_0x5c5ab6:0x91,_0x325149:0xe,_0x40fc21:0x4f2,_0x3b0e21:0x20,_0x17d3a4:0x8d,_0x2291a7:0x53b,_0x23ba42:0x52,_0x17f1b2:0x2b,_0x4c6439:0x8,_0x386893:0x4ee,_0x5c2a09:0x79,_0x491f3e:0x4d,_0x1f934b:0x4c7,_0xb5fbf7:0x486,_0x561a1d:0x4da,_0x7bde2c:0x503,_0xa4576b:0x485,_0x2bb432:0x4d6,_0x4a969f:0x532,_0x570f3a:0x4b8,_0xda300f:0x497,_0x2f1689:0x4a1,_0x419f7b:0x62,_0x159b92:0x12,_0x1b180f:0x468,_0x25c03d:0x48e,_0x440b18:0x11,_0x338052:0x2a,_0xfb5502:0x2,_0x49fce3:0x10,_0x2af2b3:0x45,_0x1a52c4:0x2f,_0x2387dc:0x47b,_0x50430f:0x81,_0x5d4e94:0xe,_0x4a0743:0x4ca,_0x1acaea:0x4af,_0x37ee28:0x4d0,_0x142836:0x46d,_0x57b089:0x496,_0x5356f7:0x4c9,_0x4cdbe0:0x4b6,_0x39f069:0x50b,_0x1854a2:0x76,_0x472d83:0x2c,_0x1d60c8:0x7,_0x233397:0x36,_0x46effc:0x4b,_0x4cc948:0x3f,_0x25c3e0:0x507,_0x3c2208:0x24,_0x53abfc:0x89,_0xda2e4e:0x43,_0x7df9cc:0x34,_0x37173d:0x68,_0x44e634:0x4dc,_0x21a7d1:0x31,_0x82e442:0x4c6,_0x1d2c6f:0x4cf,_0x529c0c:0x51,_0x4ce9f6:0x3e,_0x44fe7d:0x4e2,_0x25280f:0x4eb,_0x2baf9f:0x461,_0x3260dc:0x4b1,_0x4f4c3c:0x8c,_0x135f1d:0x7f,_0x342719:0x465,_0x39332d:0x48c,_0x5546b5:0x16,_0x231cf1:0x22,_0x241542:0xf,_0x8abe6d:0x472,_0x35f052:0x496,_0x16a0cf:0x4eb,_0x1a8898:0x4fc,_0x3d62a7:0x537,_0x1e42f6:0x2e,_0x99e879:0x2e,_0x4b379d:0x78,_0x48fe17:0x3e,_0x2aad52:0x1e,_0x5579b5:0x84,_0x52a1d2:0x14,_0x1801ee:0x4bc,_0x3a6633:0x50,_0x57600b:0x92,_0x4516b2:0x3c,_0x4fce7e:0x24,_0x429be7:0x47,_0x16f3d3:0x23,_0x5c00bc:0x1e,_0x4527b5:0x35,_0x399b51:0x3f,_0x213e89:0x28,_0x51853a:0x515,_0x5eeac8:0x522,_0x57106e:0xe,_0x4bc188:0x29,_0x3da301:0x0,_0x5852e4:0x4d4,_0x4a9d7c:0x4ef,_0x19cb5e:0x51b,_0x3bf730:0x48,_0x6e1d25:0x2b,_0x4fe394:0x10,_0x2618fc:0x5f,_0xc3fd53:0x69,_0x152fd9:0x23,_0x45c053:0x4c8,_0x5281cf:0x4a8,_0x4a0912:0x4de},_0x36708b={_0x57a997:0xfa},_0x4001db={_0x450c67:0x12c};function _0x3ede65(_0x29252a,_0x584bea,_0x3ca895,_0x564de3){return _0x118bba(_0x29252a,_0x584bea-0x35,_0x3ca895-_0x4001db._0x450c67,_0x564de3- -0x242);}function _0x290515(_0x316326,_0x3962d8,_0x24b122,_0x4caa26){return _0x5962c7(_0x316326-0x1c,_0x316326,_0x24b122-0x142,_0x24b122- -_0x36708b._0x57a997);}const _0x218f2b={'xsHtk':_0x290515(_0x5ec2d4._0x33aa7f,0x4b2,0x509,_0x5ec2d4._0x1af3d7)+_0x290515(0x4c6,_0x5ec2d4._0x53540b,0x4e3,_0x5ec2d4._0x4a0bb8)+'re\x20require'+'d','fsPgE':_0x3ede65(_0x5ec2d4._0x44bee4,_0x5ec2d4._0x440575,0x60,0x5b)+_0x290515(_0x5ec2d4._0x52bb11,0x4ed,_0x5ec2d4._0x4da1b2,0x523),'NMQbR':_0x290515(0x4e8,0x50c,_0x5ec2d4._0x5e245a,0x4dc)+_0x290515(_0x5ec2d4._0x5c6c7f,0x4e4,_0x5ec2d4._0x53005a,_0x5ec2d4._0x1bc7d6)+_0x3ede65(-0x55,_0x5ec2d4._0x47ebe0,-0x82,-0x38)+'\x22','XVmEa':'Failed\x20to\x20'+'get\x20user\x20t'+'okens','ttSoc':function(_0x4a61dc,_0x541a16){return _0x4a61dc===_0x541a16;},'NWUbo':'cYovF','RjelY':_0x290515(_0x5ec2d4._0x313618,0x4eb,0x502,_0x5ec2d4._0x1f46a2)+'\x20required','jioos':_0x3ede65(_0x5ec2d4._0x36b2ab,_0x5ec2d4._0x2b2d18,-_0x5ec2d4._0x507386,_0x5ec2d4._0x5c27d2),'iNCAG':function(_0x2e23c8,_0x156af0){return _0x2e23c8(_0x156af0);},'Cfnzi':function(_0x5d7133,_0x23b07d){return _0x5d7133!==_0x23b07d;},'vGDTl':_0x290515(0x52f,_0x5ec2d4._0x4421b7,0x507,_0x5ec2d4._0x2de4ae),'RRoUw':_0x290515(_0x5ec2d4._0xa88bd2,0x533,0x521,0x4e3),'wQXzF':'User\x20not\x20f'+_0x290515(_0x5ec2d4._0x43a113,_0x5ec2d4._0x49be51,0x4b5,0x46f),'lLCfY':_0x290515(0x4b1,_0x5ec2d4._0x580f3a,_0x5ec2d4._0xb7b0ff,0x4eb)+_0x3ede65(-_0x5ec2d4._0xb53999,0x27,-_0x5ec2d4._0x4e8baf,-_0x5ec2d4._0x39dcc0)+'ed','PquYD':_0x3ede65(-0x2c,-_0x5ec2d4._0x56b214,-_0x5ec2d4._0xe8b6d1,-_0x5ec2d4._0x29e4f7)+_0x290515(_0x5ec2d4._0x5a9af1,0x47c,0x4ac,0x4c9)+_0x290515(_0x5ec2d4._0x43a113,_0x5ec2d4._0x41adc4,0x48f,0x442)+_0x290515(_0x5ec2d4._0x59e929,_0x5ec2d4._0x4c3e2e,_0x5ec2d4._0x368d42,_0x5ec2d4._0x27b5dd),'sJBvR':function(_0x35907d,_0x4c478b){return _0x35907d===_0x4c478b;},'IjAMz':_0x3ede65(0xb,_0x5ec2d4._0x5acfdf,_0x5ec2d4._0x2b9343,_0x5ec2d4._0x36e3f7),'QUiFX':_0x3ede65(0x3d,-_0x5ec2d4._0x36640f,-0x20,-0x18),'spKuu':function(_0x2269fc){return _0x2269fc();},'DmaHm':function(_0x1f3100,_0x3d70d1){return _0x1f3100===_0x3d70d1;},'wMUBA':'Email\x20not\x20'+_0x3ede65(_0x5ec2d4._0x25e4de,0x10,_0x5ec2d4._0x22f3ab,0x36),'SmMEq':_0x290515(0x4e8,0x46d,_0x5ec2d4._0x567e07,_0x5ec2d4._0x1e0b79)+'etup','LqQTx':_0x3ede65(0xd,_0x5ec2d4._0x2ec498,_0x5ec2d4._0x34db95,0x5),'NLMSR':function(_0x4e991d,_0x3ab1d2,_0x539828){return _0x4e991d(_0x3ab1d2,_0x539828);},'USrSm':_0x290515(0x55c,_0x5ec2d4._0x22edeb,_0x5ec2d4._0x11f64e,0x550)+_0x3ede65(_0x5ec2d4._0xb53999,-_0x5ec2d4._0x4b0d6d,-_0x5ec2d4._0x6181e0,-0x24)+'\x20sent','oqYCO':'Failed\x20to\x20'+_0x290515(_0x5ec2d4._0x36b4ef,0x4a4,_0x5ec2d4._0x39e1f2,0x4a4)+_0x290515(0x46a,_0x5ec2d4._0x34037f,0x49f,_0x5ec2d4._0x53540b),'pDYqT':_0x3ede65(0xbe,0x28,_0x5ec2d4._0x3a5b7d,0x71)+'send\x20email'+_0x3ede65(-_0x5ec2d4._0x5e0ee4,0x34,_0x5ec2d4._0x235e72,_0x5ec2d4._0x4b2d32)+'opy\x20the\x20li'+_0x3ede65(_0x5ec2d4._0x4394ed,0x68,-_0x5ec2d4._0x18a5cd,0x11)+'y.','uqzRf':'tBsmE','ZtjPr':'Failed\x20to\x20'+_0x3ede65(_0x5ec2d4._0x1f8922,_0x5ec2d4._0x2ae092,0x49,0x38)+_0x290515(_0x5ec2d4._0x380c11,0x48b,_0x5ec2d4._0x15e6d6,_0x5ec2d4._0x8c19eb)+'n'};try{if(_0x218f2b['ttSoc'](_0x218f2b[_0x3ede65(-0x76,-0x48,-0x7e,-0x2e)],_0x218f2b[_0x3ede65(-_0x5ec2d4._0x284a65,-0x29,-0x4,-0x2e)])){const {userId:_0x351b6d,type:type=_0x3ede65(_0x5ec2d4._0x1ccd75,-_0x5ec2d4._0x56b214,_0x5ec2d4._0x461d11,_0x5ec2d4._0x15dd82),sendEmail:sendEmail=![]}=_0x311507[_0x290515(_0x5ec2d4._0x352c0e,_0x5ec2d4._0x52bb11,_0x5ec2d4._0x33aa7f,_0x5ec2d4._0x44fbd7)];if(!_0x351b6d){const _0x321086={};return _0x321086[_0x3ede65(0x24,0x46,-_0x5ec2d4._0x1dc6f7,-_0x5ec2d4._0x507386)]=_0x218f2b[_0x290515(_0x5ec2d4._0x22d3cf,0x4db,_0x5ec2d4._0x407caa,0x4ec)],_0x14260a[_0x3ede65(0x6c,0x3c,-0x5,_0x5ec2d4._0x537ae3)](-0x1bb3+0x1446+0x8fd)[_0x290515(_0x5ec2d4._0x30a6dc,0x4d5,_0x5ec2d4._0x5749d5,_0x5ec2d4._0x54f98e)](_0x321086);}if(![_0x290515(_0x5ec2d4._0xf70338,0x476,_0x5ec2d4._0x1cd870,_0x5ec2d4._0x4cd47c),_0x218f2b[_0x290515(_0x5ec2d4._0x41c359,_0x5ec2d4._0x948b8a,_0x5ec2d4._0x493f48,0x458)]]['includes'](type)){const _0x8b78e7={};return _0x8b78e7[_0x3ede65(-0x12,_0x5ec2d4._0x216011,-_0x5ec2d4._0x36a433,-0x10)]=_0x218f2b[_0x3ede65(_0x5ec2d4._0x4192c4,_0x5ec2d4._0x356c24,0x41,_0x5ec2d4._0x6c9d81)],_0x14260a[_0x290515(0x50e,0x4c3,0x4d4,0x4c1)](0x6a1+-0x1*0x114d+0xc3c)[_0x3ede65(0x26,0x3f,0x2c,0x12)](_0x8b78e7);}const _0xe54883=await _0x218f2b[_0x290515(0x53f,0x4f0,_0x5ec2d4._0x228d45,0x531)](findUserById,_0x351b6d);if(!_0xe54883){if(_0x218f2b[_0x290515(0x49f,0x532,_0x5ec2d4._0x34037f,_0x5ec2d4._0x19aab9)](_0x218f2b['vGDTl'],_0x218f2b[_0x290515(0x4cb,0x51d,0x4d7,0x4b7)])){const _0x4d1ecc={};return _0x4d1ecc[_0x290515(0x448,0x4c6,0x4a1,0x4e8)]=_0x218f2b[_0x290515(_0x5ec2d4._0x22ff20,0x4cc,0x4de,_0x5ec2d4._0x8c34a5)],_0x14260a['status'](0x24dd+0x75c+-0x3*0xe37)[_0x3ede65(0x2a,0x59,-0x7,0x12)](_0x4d1ecc);}else{const _0x1dd7f5={};return _0x1dd7f5[_0x3ede65(-_0x5ec2d4._0x580a84,_0x5ec2d4._0x6181e0,-_0x5ec2d4._0x4d0479,-_0x5ec2d4._0x507386)]=_0x218f2b[_0x3ede65(0x47,-_0x5ec2d4._0xefb942,-0x6,0x1e)],_0x4e1c2b[_0x290515(0x51b,0x4b5,0x4d4,_0x5ec2d4._0x491147)](0x1*0x259d+0x1*-0x97+-0x2376)[_0x3ede65(-0x23,-_0x5ec2d4._0x12e6c8,0x5c,0x12)](_0x1dd7f5);}}const _0x3ad4a6=await createPasswordToken(_0x351b6d,type),_0x18141b={};_0x18141b[_0x290515(0x4d1,_0x5ec2d4._0xb38070,_0x5ec2d4._0x4cd47c,0x4b0)]=_0x311507['user']['id'],_0x18141b[_0x3ede65(-0x3b,-_0x5ec2d4._0x1ee474,_0x5ec2d4._0x15d648,_0x5ec2d4._0x4b352d)+'ame']=_0x311507[_0x290515(0x4d3,0x4b8,_0x5ec2d4._0x2528eb,_0x5ec2d4._0x4e7c88)][_0x3ede65(0x57,0x72,_0x5ec2d4._0x5aceeb,_0x5ec2d4._0x422d0f)],_0x18141b[_0x290515(0x50d,_0x5ec2d4._0x25073b,_0x5ec2d4._0x5bbd60,_0x5ec2d4._0x24e6b0)+'Id']=_0x351b6d,_0x18141b['targetUser'+_0x290515(0x4a8,0x485,_0x5ec2d4._0x1e0b79,0x490)]=_0xe54883[_0x3ede65(_0x5ec2d4._0x461d11,0x3e,_0x5ec2d4._0x2535c0,0x3e)],_0x18141b[_0x3ede65(0x43,0x74,0x4e,_0x5ec2d4._0x1f9635)]=type,_0x18141b[_0x290515(0x4c3,0x47d,0x4c8,_0x5ec2d4._0x6834b9)]=sendEmail,logger['info'](_0x218f2b[_0x3ede65(_0x5ec2d4._0x4c7276,-_0x5ec2d4._0xc043b5,0x20,-_0x5ec2d4._0x413b45)],_0x18141b);const _0x214050=_0x218f2b['iNCAG'](getRequestBaseUrl,_0x311507),_0x47596c=_0x214050+(_0x3ede65(0x2,-0x4e,-0x40,0x9)+'sword.html'+_0x3ede65(0x26,0x1f,-0x5b,-_0x5ec2d4._0x38e843))+_0x3ad4a6['token'],_0x528801={};_0x528801['id']=_0x3ad4a6['id'],_0x528801[_0x290515(0x504,_0x5ec2d4._0x550e27,0x4d9,_0x5ec2d4._0x103ea2)]=_0x3ad4a6['token'],_0x528801['type']=_0x3ad4a6['type'],_0x528801['expires_at']=_0x3ad4a6[_0x290515(0x4c5,0x4fb,_0x5ec2d4._0x158954,_0x5ec2d4._0x491147)],_0x528801[_0x290515(_0x5ec2d4._0x2795b1,0x4a7,_0x5ec2d4._0x22d3cf,_0x5ec2d4._0x1f46a2)]=_0x47596c;const _0x13bd62={};_0x13bd62['id']=_0xe54883['id'],_0x13bd62[_0x3ede65(_0x5ec2d4._0x5c5ab6,0xe,_0x5ec2d4._0x325149,0x3e)]=_0xe54883[_0x290515(_0x5ec2d4._0x40fc21,0x4aa,0x4ef,0x4d2)],_0x13bd62[_0x3ede65(-_0x5ec2d4._0x3b0e21,-_0x5ec2d4._0x17d3a4,-0x79,-0x34)]=_0xe54883[_0x290515(0x4d4,0x479,0x47d,0x4af)],_0x13bd62[_0x3ede65(0x1d,0xbd,0x1a,0x73)]=_0xe54883[_0x290515(_0x5ec2d4._0x2291a7,0x544,0x524,0x544)];const _0x3ffdab={};_0x3ffdab['message']=_0x218f2b[_0x3ede65(_0x5ec2d4._0x23ba42,-_0x5ec2d4._0x17f1b2,0x3b,-_0x5ec2d4._0x4c6439)],_0x3ffdab[_0x290515(0x521,_0x5ec2d4._0x386893,0x4d9,0x529)]=_0x528801,_0x3ffdab[_0x3ede65(0x1c,_0x5ec2d4._0x5c2a09,0x31,_0x5ec2d4._0x491f3e)]=_0x13bd62,_0x3ffdab[_0x290515(0x47a,_0x5ec2d4._0x1f934b,_0x5ec2d4._0xb5fbf7,_0x5ec2d4._0x561a1d)]=![];const _0x40f928=_0x3ffdab;if(sendEmail){if(_0x218f2b[_0x290515(_0x5ec2d4._0x7bde2c,_0x5ec2d4._0xa4576b,_0x5ec2d4._0x2bb432,_0x5ec2d4._0x1e0b79)](_0x218f2b[_0x290515(0x49a,0x51a,0x4e5,_0x5ec2d4._0x4a969f)],_0x218f2b[_0x290515(_0x5ec2d4._0x570f3a,0x4d4,0x4ea,0x4f8)])){const _0x25b2f4={};return _0x25b2f4[_0x290515(_0x5ec2d4._0xda300f,_0x5ec2d4._0xb7b0ff,_0x5ec2d4._0x2f1689,0x471)]=_0x218f2b['fsPgE'],_0x3f5421['status'](0x103a+0xa49*-0x1+-0x45d)[_0x3ede65(-0x3e,-0xb,_0x5ec2d4._0x419f7b,_0x5ec2d4._0x159b92)](_0x25b2f4);}else{if(!_0x218f2b[_0x3ede65(-0x56,-0x45,0x4,-0x17)](isEmailConfigured)){if(_0x218f2b[_0x290515(_0x5ec2d4._0x1b180f,0x4dc,_0x5ec2d4._0x8c19eb,_0x5ec2d4._0x25c03d)](_0x3ede65(-0x2a,-_0x5ec2d4._0x440b18,-_0x5ec2d4._0x422d0f,0x7),_0x3ede65(0x26,-_0x5ec2d4._0x338052,0x38,0x7))){const _0x5aedf2={};return _0x5aedf2[_0x3ede65(-0x3c,-_0x5ec2d4._0xfb5502,-0x1b,-_0x5ec2d4._0x49fce3)]=_0x218f2b[_0x3ede65(0x31,_0x5ec2d4._0x17f1b2,_0x5ec2d4._0x2af2b3,_0x5ec2d4._0x1a52c4)],_0x5aedf2[_0x290515(_0x5ec2d4._0x2795b1,0x498,0x4bc,_0x5ec2d4._0x2387dc)]=_0x290515(0x466,_0x5ec2d4._0x5749d5,_0x5ec2d4._0x25073b,0x497)+_0x3ede65(0x6f,0x76,0x8e,_0x5ec2d4._0x4e8baf)+_0x3ede65(_0x5ec2d4._0x50430f,0x3d,_0x5ec2d4._0x5d4e94,0x4f)+_0x290515(0x50f,_0x5ec2d4._0x352c0e,_0x5ec2d4._0x4a0743,0x4a1)+_0x290515(0x4e2,0x502,_0x5ec2d4._0x1acaea,_0x5ec2d4._0x37ee28)+_0x290515(_0x5ec2d4._0x142836,_0x5ec2d4._0x57b089,0x4c5,_0x5ec2d4._0x5356f7)+'bles\x20to\x20se'+_0x290515(0x4ba,_0x5ec2d4._0x4cdbe0,_0x5ec2d4._0x39f069,0x540),_0x14260a[_0x3ede65(0x68,_0x5ec2d4._0x1854a2,_0x5ec2d4._0x472d83,_0x5ec2d4._0x537ae3)](-0x863+-0x2665+0x3058)[_0x290515(0x4a0,0x4c0,0x4c3,0x46e)](_0x5aedf2);}else{const _0x598a2f={};return _0x598a2f[_0x3ede65(_0x5ec2d4._0x1d60c8,-0x17,-_0x5ec2d4._0x233397,-0x10)]=_0x218f2b[_0x3ede65(0x82,0x24,0x23,_0x5ec2d4._0x46effc)],_0x5edf5e[_0x3ede65(_0x5ec2d4._0x4cc948,_0x5ec2d4._0x4b0d6d,-0x5,_0x5ec2d4._0x537ae3)](-0x8*0x164+0xa64+0x24c)['json'](_0x598a2f);}}try{const _0x554aca=type===_0x290515(_0x5ec2d4._0x25c3e0,0x52d,0x4f5,0x529)?_0x3ede65(-0x60,-0x2c,_0x5ec2d4._0x3c2208,-0x7)+_0x3ede65(0x73,0x50,_0x5ec2d4._0x53abfc,_0x5ec2d4._0xda2e4e):_0x218f2b[_0x3ede65(0x56,_0x5ec2d4._0x7df9cc,0x5b,_0x5ec2d4._0x37173d)],_0x405830={};_0x405830[_0x290515(_0x5ec2d4._0x44e634,0x4de,0x510,0x4d3)]=_0xe54883[_0x3ede65(0xe,-_0x5ec2d4._0x21a7d1,-0x7e,-0x34)],_0x405830[_0x290515(0x52d,_0x5ec2d4._0x82e442,0x4ef,_0x5ec2d4._0x1d2c6f)]=_0xe54883[_0x3ede65(_0x5ec2d4._0x529c0c,0x28,-0x19,_0x5ec2d4._0x4ce9f6)],_0x405830[_0x290515(_0x5ec2d4._0x44fe7d,0x4fb,_0x5ec2d4._0x25280f,0x543)]=_0x47596c,_0x405830[_0x290515(_0x5ec2d4._0x2baf9f,_0x5ec2d4._0x3260dc,0x48e,0x4cf)]=_0x218f2b['LqQTx'],_0x405830['type']=type;const _0x572e55=_0x405830,{subject:_0xe9a82f}=_0x218f2b[_0x3ede65(-_0x5ec2d4._0x4f4c3c,-0x46,-_0x5ec2d4._0x135f1d,-0x3e)](renderTemplate,_0x554aca,_0x572e55),_0x28f985={};_0x28f985['to']=_0xe54883['email'],_0x28f985[_0x3ede65(-0x22,_0x5ec2d4._0xc043b5,_0x5ec2d4._0x21a7d1,_0x5ec2d4._0x22f3ab)]=_0xe9a82f,_0x28f985[_0x290515(0x4ce,_0x5ec2d4._0x342719,_0x5ec2d4._0x39332d,0x4c7)]=_0x554aca,_0x28f985[_0x3ede65(0x2b,-0x3d,-0x60,-0xe)]=_0x572e55,await sendTemplatedEmail(_0x28f985),_0x40f928[_0x290515(_0x5ec2d4._0x1af3d7,0x473,_0x5ec2d4._0xb5fbf7,0x49c)]=!![],_0x40f928['message']=_0x3ede65(-0x59,-_0x5ec2d4._0x5546b5,-_0x5ec2d4._0x231cf1,-_0x5ec2d4._0x241542)+_0x3ede65(-0x1a,_0x5ec2d4._0xfb5502,-_0x5ec2d4._0x2b2d18,-_0x5ec2d4._0x39dcc0)+_0x3ede65(0x15,0x13,_0x5ec2d4._0x4b2d32,0x5e)+_0x290515(_0x5ec2d4._0x8abe6d,_0x5ec2d4._0x35f052,0x4ab,0x4d0)+'\x20'+_0xe54883[_0x290515(_0x5ec2d4._0x16a0cf,0x509,0x524,0x520)];const _0x599e1f={};_0x599e1f['to']=_0xe54883[_0x290515(_0x5ec2d4._0x1a8898,_0x5ec2d4._0x3d62a7,0x524,0x515)],_0x599e1f[_0x3ede65(0x92,0xa1,0x33,0x6e)]=type,_0x599e1f[_0x3ede65(_0x5ec2d4._0x1e42f6,_0x5ec2d4._0x99e879,_0x5ec2d4._0x4b379d,_0x5ec2d4._0x48fe17)]=_0xe54883['username'],logger[_0x3ede65(-0x4,_0x5ec2d4._0x491f3e,0x7,0x3d)](_0x218f2b[_0x3ede65(-_0x5ec2d4._0x2aad52,-_0x5ec2d4._0x1854a2,-0x3,-0x3b)],_0x599e1f);}catch(_0x4e6542){logger[_0x3ede65(0x21,-_0x5ec2d4._0x23ba42,0xd,-0x10)](_0x218f2b[_0x3ede65(-_0x5ec2d4._0x5579b5,_0x5ec2d4._0x507386,-_0x5ec2d4._0x52a1d2,-_0x5ec2d4._0x4c7276)],_0x4e6542),_0x40f928['emailError']=_0x218f2b['pDYqT'];}}}_0x14260a['json'](_0x40f928);}else{const _0x488518={};return _0x488518[_0x290515(0x4a0,_0x5ec2d4._0x1801ee,_0x5ec2d4._0x2f1689,0x45a)]=_0x3ede65(_0x5ec2d4._0x3a6633,0x80,0x5f,0x51)+_0x3ede65(0x6f,_0x5ec2d4._0x57600b,_0x5ec2d4._0x419f7b,_0x5ec2d4._0x4516b2),_0xbcce21['status'](0x2643+0x1d*0x119+-0x4488)[_0x3ede65(-_0x5ec2d4._0x4fce7e,_0x5ec2d4._0x429be7,_0x5ec2d4._0x3a6633,_0x5ec2d4._0x159b92)](_0x488518);}}catch(_0x1b8d04){if(_0x218f2b[_0x3ede65(0x3a,_0x5ec2d4._0x16f3d3,-_0x5ec2d4._0x5c00bc,_0x5ec2d4._0x4527b5)](_0x218f2b[_0x3ede65(-0xa,-_0x5ec2d4._0x3c2208,-_0x5ec2d4._0x36e3f7,-0x3c)],_0x3ede65(_0x5ec2d4._0x399b51,0xa,0x48,_0x5ec2d4._0x419f7b))){logger[_0x3ede65(0x36,-_0x5ec2d4._0x213e89,-0x28,-0x10)](_0x290515(_0x5ec2d4._0x51853a,0x56f,_0x5ec2d4._0x5eeac8,0x4cf)+'create\x20pas'+_0x3ede65(-_0x5ec2d4._0xefb942,-0x29,-_0x5ec2d4._0x57106e,0x24)+'n',_0x1b8d04);const _0x203007={};_0x203007['error']=_0x218f2b[_0x3ede65(-0x52,-_0x5ec2d4._0x4bc188,-_0x5ec2d4._0x15dd82,_0x5ec2d4._0x3da301)],_0x14260a[_0x290515(_0x5ec2d4._0x5852e4,0x49e,_0x5ec2d4._0x5852e4,_0x5ec2d4._0x4a9d7c)](0x1d*0x25+-0x23f7+0x21ba)[_0x290515(_0x5ec2d4._0x19cb5e,0x46f,0x4c3,_0x5ec2d4._0xf70338)](_0x203007);}else{_0x372de2[_0x3ede65(-_0x5ec2d4._0x3bf730,-0x2d,-_0x5ec2d4._0x6e1d25,-_0x5ec2d4._0x4fe394)](_0x218f2b['XVmEa'],_0x1e2718);const _0x40a195={};_0x40a195[_0x3ede65(-0xf,-0x6,-0x27,-_0x5ec2d4._0x4fe394)]=_0x218f2b[_0x3ede65(-0x92,-_0x5ec2d4._0x2618fc,-_0x5ec2d4._0x17d3a4,-0x3a)],_0x4354b2[_0x3ede65(_0x5ec2d4._0xc3fd53,_0x5ec2d4._0x4fe394,-0x34,_0x5ec2d4._0x152fd9)](-0x1da7*-0x1+0xdcd*-0x1+-0xde6)[_0x290515(_0x5ec2d4._0x45c053,_0x5ec2d4._0x5281cf,0x4c3,_0x5ec2d4._0x4a0912)](_0x40a195);}}}),router['get'](_0x118bba(0x291,0x279,0x2d6,0x2b1)+_0x118bba(0x219,0x294,0x2b2,0x26a),async(_0x40ddd9,_0x33815b)=>{const _0x144899={_0x374f1b:0x68,_0x276198:0xa3,_0x126016:0x323,_0x101fc6:0x353,_0x130695:0x344,_0x2668e9:0x324,_0x994d1e:0x342,_0xbb23b1:0x35a,_0x5575d3:0x382,_0x29d506:0x3f,_0x960072:0x5,_0x4f0fe8:0x2d,_0x16822e:0x3c,_0xd954b2:0x3e,_0x1e4903:0x6a,_0x5a66e1:0x7b,_0x4139a2:0x393,_0x342438:0x44,_0x196b55:0x3d,_0xfb1ea6:0x35,_0x5bd92d:0x24,_0x15becb:0x2fb,_0x496a37:0xad,_0x41552a:0xc3,_0x6216fd:0x2d5,_0xddcdda:0x31c,_0x534f0a:0x2d4,_0x5128ed:0x35a,_0x336c2f:0x33a,_0x160ec7:0x2f1,_0x29046c:0x367,_0x593602:0x8c,_0x11d0d4:0x386,_0x5f0916:0x344,_0x5855c2:0x19,_0x5ae4e3:0x63,_0x25a823:0x1,_0x481ae0:0x5c,_0x1d6f45:0x2c4,_0x5a418b:0x2e7,_0x34c6dd:0x41,_0x2a6c4b:0x12,_0x2b83a8:0x2,_0x54aba9:0x31b,_0x13f776:0x343,_0x321982:0x2b6,_0x5e5f92:0x2e1,_0x5ef786:0x62,_0x549ac1:0xa,_0x90972d:0xb0,_0x37568f:0x29,_0x309e4c:0x9,_0x1f59b8:0x27,_0x35b2cb:0x4a,_0xfb9243:0x38,_0x4d1f69:0x2c8,_0x4d5f4c:0x2b1,_0x56c89b:0x298,_0x280f88:0x2cf,_0x3b79ff:0x33e,_0x23205f:0x41,_0x32b489:0x337,_0x683dc8:0x2e6,_0x2f8761:0x2ce,_0x9c839c:0x29f,_0x2fbbb4:0x367,_0x4db8a5:0x81,_0x2291e1:0x16,_0x2ebb59:0x5d,_0x3a4d08:0x4d,_0x1003cc:0x347,_0x386eb5:0x33c,_0x3cc5f4:0x6c,_0x48dc69:0x1d,_0x19afb4:0x18,_0x495130:0x2b,_0x28769f:0x19,_0x268629:0x3d,_0x2f6f2f:0x305,_0x14c4e7:0x2b5,_0x15f35b:0x383,_0x5cffef:0x2ec,_0x40adee:0x315,_0x3f4711:0x341,_0x4c6196:0x39,_0x2a04a2:0x64,_0x1a8e3d:0x33a,_0x39bdee:0x355,_0xf72516:0x19,_0xdc7cb2:0x15,_0xadabd9:0xc,_0x3559fc:0x43,_0x137848:0x75,_0x420ac9:0x44,_0x5422c2:0xaf,_0xf17917:0x331,_0x119563:0x74,_0x2eb284:0x6b,_0x3a5e19:0x1a,_0x1313c9:0x33,_0x378eb9:0x1a},_0x5eeb21={_0x1cdc8c:0xc5,_0x183a19:0xb7};function _0x4e967d(_0x3d9efd,_0x3ac9db,_0xd48beb,_0x52bd01){return _0x118bba(_0xd48beb,_0x3ac9db-0x14f,_0xd48beb-0xd2,_0x3ac9db- -0x24b);}const _0x342985={'xIZBL':_0x4e967d(0x3d,_0x144899._0x374f1b,0x9b,_0x144899._0x276198)+_0x4f0112(0x331,_0x144899._0x126016,_0x144899._0x101fc6,_0x144899._0x130695)+'sword\x20toke'+'n','JWDoW':function(_0x30680e,_0xb28c5f){return _0x30680e(_0xb28c5f);},'tqLDK':'ElqKI','IwXfr':_0x4e967d(-0x7,-0x12,-0x4a,-0x2f)+_0x4f0112(0x34b,0x370,0x396,0x353)+_0x4f0112(0x307,_0x144899._0x2668e9,_0x144899._0x994d1e,0x2f3),'lSsPO':_0x4f0112(_0x144899._0xbb23b1,0x321,_0x144899._0x5575d3,0x31b)+_0x4e967d(_0x144899._0x29d506,-_0x144899._0x960072,-_0x144899._0x4f0fe8,0x4),'CqkYx':function(_0x264ece,_0x165e15){return _0x264ece!==_0x165e15;},'yDAak':'mHfwN','eLzhB':_0x4e967d(-_0x144899._0x16822e,-_0x144899._0xd954b2,-_0x144899._0x1e4903,-_0x144899._0x5a66e1),'Imgfr':_0x4f0112(0x36a,_0x144899._0x4139a2,0x34e,0x386)+'validate\x20t'+_0x4e967d(-_0x144899._0x342438,0x5,0x4,_0x144899._0x196b55)};function _0x4f0112(_0x3917b9,_0x59c3ad,_0x21924f,_0x3dbf8b){return _0x118bba(_0x3dbf8b,_0x59c3ad-0xf3,_0x21924f-_0x5eeb21._0x1cdc8c,_0x3917b9-_0x5eeb21._0x183a19);}try{const {token:_0x435cff}=_0x40ddd9[_0x4e967d(0x15,-_0x144899._0xfb1ea6,0x16,_0x144899._0x5bd92d)];if(!_0x435cff){const _0x4b787f={};return _0x4b787f[_0x4f0112(0x2e9,0x31b,0x30b,_0x144899._0x15becb)]='Token\x20is\x20r'+_0x4e967d(0x42,0x69,_0x144899._0x496a37,_0x144899._0x41552a),_0x4b787f[_0x4f0112(0x2e6,_0x144899._0x6216fd,0x2a6,0x2fc)]=![],_0x33815b[_0x4f0112(_0x144899._0xddcdda,0x320,0x366,_0x144899._0x534f0a)](-0xaaa+-0x9dd+0x1617)[_0x4f0112(0x30b,_0x144899._0x5128ed,0x343,_0x144899._0x101fc6)](_0x4b787f);}const _0x5c31fa=await _0x342985[_0x4f0112(_0x144899._0x336c2f,0x2e0,_0x144899._0x160ec7,_0x144899._0x29046c)](validateToken,_0x435cff);if(!_0x5c31fa){if(_0x4e967d(_0x144899._0x593602,0x5c,0x3d,0x49)!==_0x342985[_0x4f0112(0x32c,_0x144899._0x11d0d4,_0x144899._0x5f0916,0x2f7)]){const _0x3c7877={};return _0x3c7877[_0x4e967d(0x3d,-_0x144899._0x5855c2,0x1c,-_0x144899._0x5ae4e3)]=_0x4e967d(-_0x144899._0x25a823,0x58,_0x144899._0x481ae0,0x9a)+_0x4f0112(0x2fd,_0x144899._0x1d6f45,0x31e,_0x144899._0x5a418b),_0x4e5175[_0x4e967d(-_0x144899._0x34c6dd,0x1a,_0x144899._0x2a6c4b,_0x144899._0x2b83a8)](-0xa64+-0x8cb+0x427*0x5)[_0x4f0112(0x30b,0x333,_0x144899._0x54aba9,_0x144899._0x13f776)](_0x3c7877);}else{const _0x5425e6={};return _0x5425e6[_0x4f0112(0x2e6,_0x144899._0x321982,0x2a7,_0x144899._0x5e5f92)]=![],_0x5425e6['error']=_0x342985[_0x4e967d(0xa5,_0x144899._0x5ef786,_0x144899._0x549ac1,_0x144899._0x90972d)],_0x33815b[_0x4e967d(-_0x144899._0x37568f,_0x144899._0x309e4c,_0x144899._0x1f59b8,0x2e)](_0x5425e6);}}const _0x1d0e8b=await _0x342985[_0x4e967d(_0x144899._0x35b2cb,_0x144899._0xfb9243,0x21,-0xa)](findUserById,_0x5c31fa[_0x4f0112(0x2e4,_0x144899._0x4d1f69,_0x144899._0x4d5f4c,_0x144899._0x56c89b)]);if(!_0x1d0e8b){const _0x515588={};return _0x515588[_0x4f0112(0x2e6,_0x144899._0x280f88,_0x144899._0x3b79ff,0x31b)]=![],_0x515588['error']=_0x342985[_0x4e967d(0x2e,0x19,-0x2a,_0x144899._0x23205f)],_0x33815b['json'](_0x515588);}const _0x16f047={};_0x16f047[_0x4f0112(0x337,0x359,0x373,0x304)]=_0x1d0e8b[_0x4f0112(_0x144899._0x32b489,0x30f,0x38d,0x391)],_0x16f047['name']=_0x1d0e8b['name'];const _0x11fdc2={};_0x11fdc2[_0x4f0112(_0x144899._0x683dc8,0x297,_0x144899._0x2f8761,_0x144899._0x9c839c)]=!![],_0x11fdc2[_0x4f0112(_0x144899._0x2fbbb4,0x353,0x36c,0x37e)]=_0x5c31fa[_0x4f0112(0x367,0x33d,0x337,0x344)],_0x11fdc2[_0x4e967d(_0x144899._0x4db8a5,_0x144899._0x342438,0xe,0x15)]=_0x16f047,_0x33815b[_0x4e967d(-_0x144899._0x2291e1,0x9,_0x144899._0x2ebb59,_0x144899._0x3a4d08)](_0x11fdc2);}catch(_0x1c61b5){if(_0x342985[_0x4f0112(_0x144899._0x1003cc,_0x144899._0x386eb5,0x36f,0x35a)](_0x342985[_0x4e967d(-_0x144899._0x3cc5f4,-_0x144899._0x48dc69,-_0x144899._0x19afb4,0x2c)],_0x342985[_0x4f0112(0x359,0x315,0x3b1,0x303)])){logger[_0x4e967d(-_0x144899._0x495130,-_0x144899._0x28769f,0x3c,-_0x144899._0x268629)](_0x342985[_0x4f0112(_0x144899._0x2f6f2f,0x33b,_0x144899._0x14c4e7,0x2ad)],_0x1c61b5);const _0xa32e1f={};_0xa32e1f['error']=_0x4f0112(0x36a,0x371,0x349,_0x144899._0x15f35b)+_0x4f0112(_0x144899._0x5cffef,_0x144899._0xddcdda,_0x144899._0x40adee,_0x144899._0x3f4711)+_0x4e967d(_0x144899._0x4c6196,0x5,0x44,-0x1),_0xa32e1f[_0x4e967d(-_0x144899._0x5855c2,-0x1c,-_0x144899._0x2a04a2,-_0x144899._0xfb9243)]=![],_0x33815b['status'](0x10be+0x201f+-0x2ee9)[_0x4f0112(0x30b,_0x144899._0x1a8e3d,0x2fd,_0x144899._0x39bdee)](_0xa32e1f);}else{_0x412993[_0x4e967d(-0xe,-_0x144899._0xf72516,-0x5e,_0x144899._0xdc7cb2)](_0x342985[_0x4e967d(_0x144899._0xadabd9,_0x144899._0x3559fc,_0x144899._0x137848,0x99)],_0x4e4858);const _0x33304b={};_0x33304b['error']=_0x4e967d(_0x144899._0x420ac9,0x68,_0x144899._0x5422c2,0x40)+_0x4f0112(_0x144899._0xf17917,0x2e1,0x2f7,0x323)+_0x4e967d(0x3f,0x1b,0x63,_0x144899._0x119563)+'n',_0x45ce58[_0x4e967d(_0x144899._0x2eb284,_0x144899._0x3a5e19,_0x144899._0x481ae0,-0x28)](-0x175f+0x1da*-0x2+0x1d07)[_0x4e967d(0x1a,_0x144899._0x309e4c,_0x144899._0x1313c9,_0x144899._0x378eb9)](_0x33304b);}}}),router['post']('/setup',async(_0x2e37ff,_0x3fe701)=>{const _0x55297e={_0x36d4d8:0x353,_0x5f5bae:0x3e5,_0x353a97:0x40b,_0x1b90d9:0x315,_0x5912de:0x2e6,_0xccf006:0x346,_0x4a38bd:0x31c,_0x42f795:0x4f5,_0x167742:0x27d,_0x3b82bd:0x324,_0x3e99ad:0x30c,_0x33c873:0x326,_0x4a1dfe:0x2a4,_0x58dc54:0x49e,_0x1bb3a7:0x2ee,_0x4208c:0x2de,_0x1b2918:0x30e,_0x4676b4:0x33f,_0x121294:0x391,_0x4f139b:0x466,_0x3ef27e:0x312,_0x102d22:0x2cb,_0x1d1776:0x2f6,_0x191c6c:0x432,_0x4e3f2d:0x46d,_0x59e33a:0x4ae,_0x4a7b68:0x46f,_0x494d53:0x45f,_0x39b92e:0x45c,_0x3fd48e:0x49f,_0x4f83d7:0x33d,_0xd4a001:0x310,_0x17844d:0x362,_0x212de5:0x43a,_0x3aa585:0x449,_0x5643bd:0x3fe,_0x49d656:0x421,_0x526eb9:0x3d2,_0x1a120d:0x3f1,_0x4fa968:0x305,_0x2c573a:0x2d7,_0x4739d9:0x32d,_0x270a48:0x2e1,_0x1ba74e:0x2d2,_0x17b625:0x27a,_0x5b89d5:0x32c,_0x18d00a:0x2dd,_0x5075e2:0x313,_0x58cd1b:0x360,_0x557997:0x330,_0x380d82:0x2fe,_0xd5ea92:0x2cf,_0x47ef29:0x45e,_0x23d580:0x2f1,_0x33ab9b:0x33e,_0x1f04fd:0x345,_0x1a2e1d:0x2ef,_0xd46f2d:0x33c,_0x2a87ba:0x435,_0x2637c7:0x43a,_0x1baed0:0x3e7,_0x4a687b:0x281,_0x3c7a47:0x2a9,_0x100bbc:0x347,_0x5d2df9:0x45c,_0x40bd7d:0x425,_0x4ac58c:0x489,_0x2c6369:0x321,_0x4df23b:0x43f,_0x5bec3:0x3f5,_0x5b3009:0x2e5,_0x38c103:0x317,_0x3a8498:0x2c1,_0xdcf7fd:0x2d5,_0xc5a1fd:0x2cd,_0xe26423:0x2be,_0xab7f11:0x335,_0x311027:0x348,_0x11b9d8:0x334,_0x4db068:0x2ba,_0x308803:0x31b,_0x52bd21:0x2e3,_0x3eeb5f:0x2f4,_0x371741:0x2c5,_0x327986:0x2db,_0x3013fa:0x404,_0x5d05aa:0x442,_0x1f291b:0x3fc,_0x156d94:0x308,_0x50bf22:0x365,_0x1b3837:0x327,_0x5f462d:0x34e,_0xccdef1:0x36d,_0x3babe1:0x397,_0x23776c:0x4a0,_0x4b5d56:0x412,_0x311007:0x436,_0x1fed7e:0x49f,_0x300075:0x488,_0x3e2824:0x454,_0xb10fc9:0x2f3,_0x3a5a9b:0x455,_0x5e3c73:0x438,_0x4eee17:0x318,_0x1923b4:0x36a,_0x42423c:0x32d,_0x4b1405:0x483,_0x46d93b:0x472,_0x1efeac:0x48a,_0x495845:0x45a,_0x25bdfb:0x2b4,_0x10f939:0x35b,_0x6f3239:0x2d1,_0x396bc5:0x2a2},_0xc7c7d3={_0x413a8d:0xf0},_0xb347a={_0x324f79:0x1b2,_0x30ae2a:0x2c9},_0x1d7170={'XkRfH':_0x24866c(0x35e,_0x55297e._0x36d4d8,0x38b,0x375)+_0x7732eb(0x435,0x43d,_0x55297e._0x5f5bae,_0x55297e._0x353a97)+_0x24866c(_0x55297e._0x1b90d9,0x2f0,_0x55297e._0x5912de,0x2d6),'TxtoR':'Invalid\x20or'+'\x20expired\x20t'+_0x24866c(0x2b1,0x2f0,_0x55297e._0xccf006,_0x55297e._0x4a38bd),'MzUyE':function(_0x6371b3,_0x2b66d9){return _0x6371b3||_0x2b66d9;},'rvbjN':_0x7732eb(0x4bf,0x4a2,0x45f,_0x55297e._0x42f795)+'password\x20a'+_0x24866c(_0x55297e._0x167742,0x2d6,0x299,_0x55297e._0x3b82bd)+'d','vYXMZ':function(_0x49f46a,_0xf1b39f){return _0x49f46a<_0xf1b39f;},'VmJSe':function(_0x17daab,_0x1b6aca){return _0x17daab===_0x1b6aca;},'Wxtsh':_0x24866c(_0x55297e._0x3e99ad,0x329,0x360,0x2f5),'IxExR':function(_0x4353f8,_0x44a8d4){return _0x4353f8(_0x44a8d4);},'yzzmW':function(_0x12bd72,_0x561c34){return _0x12bd72===_0x561c34;},'AVhGP':function(_0x2c979e,_0x1b991b){return _0x2c979e(_0x1b991b);},'SvYtt':'User\x20not\x20f'+_0x24866c(0x2f8,0x2e6,_0x55297e._0x33c873,_0x55297e._0x4a1dfe),'qIFRq':function(_0x5f2379,_0x301afe,_0x2efceb){return _0x5f2379(_0x301afe,_0x2efceb);},'WLXvs':_0x7732eb(0x4d3,_0x55297e._0x58dc54,0x4ad,0x4b1)+'et\x20via\x20tok'+'en','MiONW':_0x24866c(_0x55297e._0x1bb3a7,0x336,_0x55297e._0x4208c,_0x55297e._0x1b2918)+_0x24866c(0x30c,_0x55297e._0x4676b4,0x386,_0x55297e._0x121294)+'fully','ABYsT':'Failed\x20to\x20'+_0x7732eb(0x4c0,0x4b7,_0x55297e._0x4f139b,0x507)+'rd'};function _0x24866c(_0x1654a8,_0x3aeef7,_0x2f2a09,_0x5ea4aa){return _0x5962c7(_0x1654a8-0x1b5,_0x5ea4aa,_0x2f2a09-_0xb347a._0x324f79,_0x3aeef7- -_0xb347a._0x30ae2a);}function _0x7732eb(_0x26ed4c,_0x2249dc,_0x1bf8a8,_0x2a2b17){return _0x5962c7(_0x26ed4c-0x104,_0x2a2b17,_0x1bf8a8-_0xc7c7d3._0x413a8d,_0x2249dc- -0x161);}try{const {token:_0x5e4775,password:_0x1baf78}=_0x2e37ff[_0x24866c(0x2c9,_0x55297e._0x3ef27e,0x357,0x321)];if(_0x1d7170['MzUyE'](!_0x5e4775,!_0x1baf78)){const _0x4c0569={};return _0x4c0569[_0x24866c(0x296,0x2d2,0x2e1,_0x55297e._0x102d22)]=_0x1d7170[_0x24866c(_0x55297e._0x1d1776,0x322,0x354,0x2fb)],_0x3fe701[_0x7732eb(_0x55297e._0x191c6c,_0x55297e._0x4e3f2d,_0x55297e._0x59e33a,_0x55297e._0x4a7b68)](0x1*-0x19db+0x1*-0x2173+0x3cde)[_0x7732eb(_0x55297e._0x494d53,_0x55297e._0x39b92e,_0x55297e._0x3fd48e,0x468)](_0x4c0569);}if(_0x1d7170['vYXMZ'](_0x1baf78[_0x24866c(_0x55297e._0x4f83d7,_0x55297e._0xd4a001,_0x55297e._0x17844d,0x301)],0x2667+0x22*0x41+-0x2f01)){if(_0x1d7170['VmJSe'](_0x1d7170['Wxtsh'],_0x1d7170[_0x24866c(0x29c,0x2c3,0x288,_0x55297e._0x3ef27e)])){const _0x3f62c5={};return _0x3f62c5[_0x7732eb(0x400,_0x55297e._0x212de5,0x442,_0x55297e._0x3aa585)]='Password\x20m'+_0x7732eb(_0x55297e._0x5643bd,_0x55297e._0x49d656,_0x55297e._0x526eb9,_0x55297e._0x1a120d)+'least\x208\x20ch'+'aracters',_0x3fe701[_0x24866c(_0x55297e._0x3ef27e,_0x55297e._0x4fa968,_0x55297e._0x2c573a,0x302)](0x1e09+-0x1391+-0x8e8)[_0x24866c(_0x55297e._0x4739d9,0x2f4,0x30a,0x2d4)](_0x3f62c5);}else{_0x107608['error'](_0x1d7170[_0x24866c(_0x55297e._0x270a48,0x313,_0x55297e._0x1ba74e,0x341)],_0x137428);const _0xb68985={};_0xb68985[_0x24866c(_0x55297e._0x17b625,0x2d2,_0x55297e._0x5b89d5,_0x55297e._0x18d00a)]=_0x1d7170[_0x24866c(0x33f,_0x55297e._0x5075e2,_0x55297e._0x58cd1b,_0x55297e._0x557997)],_0xb68985[_0x24866c(_0x55297e._0x380d82,_0x55297e._0xd5ea92,0x2ff,_0x55297e._0x33c873)]=![],_0x295776['status'](-0x1*-0xb3+-0x21be+-0x11*-0x20f)['json'](_0xb68985);}}const _0x255093=await _0x1d7170[_0x7732eb(_0x55297e._0x47ef29,0x42e,0x465,0x46e)](validateToken,_0x5e4775);if(!_0x255093){if(_0x1d7170[_0x24866c(0x39e,0x348,0x354,_0x55297e._0x23d580)](_0x24866c(_0x55297e._0x23d580,_0x55297e._0x33ab9b,0x361,0x31c),_0x24866c(_0x55297e._0x1f04fd,0x33e,_0x55297e._0x1a2e1d,_0x55297e._0xd46f2d))){const _0x96e8a5={};return _0x96e8a5[_0x7732eb(_0x55297e._0x2a87ba,_0x55297e._0x2637c7,0x44c,_0x55297e._0x1baed0)]=_0x1d7170[_0x24866c(_0x55297e._0x4a687b,_0x55297e._0x3c7a47,0x24e,0x2a0)],_0x3fe701[_0x24866c(0x30e,0x305,_0x55297e._0x100bbc,0x2f9)](0x986*-0x2+-0x1f73+0x340f*0x1)[_0x7732eb(0x467,_0x55297e._0x5d2df9,_0x55297e._0x40bd7d,_0x55297e._0x4ac58c)](_0x96e8a5);}else{const _0x4ed3d4={};return _0x4ed3d4[_0x24866c(_0x55297e._0x2c6369,0x2cf,0x328,0x326)]=![],_0x4ed3d4[_0x7732eb(_0x55297e._0x4df23b,0x43a,0x42d,_0x55297e._0x5bec3)]=_0x1d7170['TxtoR'],_0x128f63[_0x24866c(0x2af,0x2f4,_0x55297e._0x5b3009,_0x55297e._0x38c103)](_0x4ed3d4);}}const _0x110ebb=await _0x1d7170[_0x24866c(0x2da,_0x55297e._0x3a8498,_0x55297e._0xdcf7fd,0x310)](findUserById,_0x255093[_0x24866c(0x2c0,_0x55297e._0xc5a1fd,0x2b1,_0x55297e._0xe26423)]);if(!_0x110ebb){const _0x20e8de={};return _0x20e8de['error']=_0x1d7170[_0x24866c(_0x55297e._0xab7f11,0x345,_0x55297e._0x311027,_0x55297e._0x11b9d8)],_0x3fe701[_0x24866c(_0x55297e._0x4db068,0x305,_0x55297e._0x308803,0x2e8)](-0x1*0x74c+-0x8ce+0x2*0x8d7)[_0x24866c(_0x55297e._0x52bd21,_0x55297e._0x3eeb5f,0x2d8,_0x55297e._0x371741)](_0x20e8de);}await _0x1d7170[_0x24866c(0x29c,0x2b1,_0x55297e._0x327986,0x2c4)](setUserPassword,_0x255093['userId'],_0x1baf78),await _0x1d7170[_0x7732eb(0x3e7,0x42e,_0x55297e._0x3013fa,_0x55297e._0x5d05aa)](markTokenAsUsed,_0x5e4775);const _0xe61851={};_0xe61851[_0x7732eb(0x421,0x435,_0x55297e._0x1f291b,0x48f)]=_0x110ebb['id'],_0xe61851[_0x24866c(_0x55297e._0x156d94,0x320,0x313,0x30a)]=_0x110ebb[_0x24866c(_0x55297e._0x50bf22,0x320,0x37a,0x2cd)],_0xe61851[_0x24866c(_0x55297e._0x1b3837,_0x55297e._0x5f462d,_0x55297e._0xd4a001,0x30a)]=_0x255093[_0x24866c(_0x55297e._0xccdef1,0x350,0x317,_0x55297e._0x3babe1)],logger[_0x7732eb(0x46f,0x487,0x472,0x4c7)](_0x1d7170[_0x7732eb(_0x55297e._0x23776c,0x459,0x464,_0x55297e._0x4b5d56)],_0xe61851);const _0x3fd5e7={};_0x3fd5e7['id']=_0x110ebb['id'],_0x3fd5e7[_0x7732eb(_0x55297e._0x311007,0x488,_0x55297e._0x4df23b,0x469)]=_0x110ebb[_0x7732eb(_0x55297e._0x1fed7e,_0x55297e._0x300075,0x47e,_0x55297e._0x3e2824)],_0x3fd5e7[_0x24866c(0x2e6,0x2ae,0x2a2,0x2e7)]=_0x110ebb[_0x24866c(0x2b5,0x2ae,_0x55297e._0xb10fc9,0x2b9)];const _0x370139={};_0x370139[_0x7732eb(0x453,_0x55297e._0x3a5a9b,0x40b,_0x55297e._0x5e3c73)]=_0x1d7170['MiONW'],_0x370139[_0x24866c(_0x55297e._0x4eee17,0x32f,_0x55297e._0x1923b4,0x37e)]=_0x3fd5e7,_0x3fe701[_0x24866c(0x323,0x2f4,0x306,_0x55297e._0x42423c)](_0x370139);}catch(_0x3190f7){logger[_0x7732eb(0x483,0x43a,_0x55297e._0x4b1405,0x3f6)](_0x1d7170[_0x7732eb(_0x55297e._0x46d93b,0x492,_0x55297e._0x1efeac,_0x55297e._0x495845)],_0x3190f7);const _0x49891b={};_0x49891b[_0x24866c(0x2e6,_0x55297e._0x1ba74e,_0x55297e._0x25bdfb,0x2c2)]=_0x1d7170[_0x24866c(0x375,0x32a,0x2f6,0x2df)],_0x3fe701[_0x24866c(_0x55297e._0x10f939,_0x55297e._0x4fa968,0x301,_0x55297e._0x6f3239)](-0x1b9d+-0xcb9+-0x1*-0x2a4a)[_0x24866c(0x29d,0x2f4,0x31b,_0x55297e._0x396bc5)](_0x49891b);}}),router['get'](_0x5962c7(0x5f5,0x5ea,0x5b2,0x5ea)+_0x118bba(0x26d,0x219,0x246,0x26d),requireAuth,requireAdmin,async(_0x168857,_0x50a918)=>{const _0x14bea1={_0x3ee2db:0x14,_0x59f662:0x71,_0x5cc168:0x62,_0x44b22b:0x481,_0x4761e1:0x4d6,_0x5bd767:0x492,_0xce30aa:0x30,_0x20d288:0x49,_0x520c0d:0x2a,_0x3762b7:0x46a,_0x4ac332:0x422,_0x47976c:0x4a1,_0x2b89ed:0x3f8,_0x438f9e:0x43f,_0x56427c:0x476,_0x4dcc8c:0x432,_0x511e2d:0x3ef,_0x5cb8a8:0x40e,_0x36de3b:0x41c,_0x58deef:0x45e,_0x3f092b:0x42b,_0x3e4a8b:0x48a,_0x583322:0x3ff,_0x11dc4c:0x410,_0x5656aa:0x469,_0x1822be:0x3c9,_0x2ee8ae:0x1b,_0x20c2a4:0x4bb,_0x27483f:0x47,_0x148a6f:0x5d,_0x4c8415:0x29,_0xc4a729:0x57,_0x32adec:0x2a,_0x1f599f:0x415,_0x384f23:0x77},_0x21b0af={_0x1ae73d:0x27c},_0x5985c6={_0x1763e6:0x140,_0x1dd21e:0x184},_0x200137={};function _0x5853a3(_0x2f6e66,_0x450cdf,_0x4f7fb9,_0x1c44c9){return _0x5962c7(_0x2f6e66-_0x5985c6._0x1763e6,_0x1c44c9,_0x4f7fb9-_0x5985c6._0x1dd21e,_0x2f6e66- -0x18b);}_0x200137[_0x5f0ccf(-_0x14bea1._0x3ee2db,-0x53,-_0x14bea1._0x59f662,-_0x14bea1._0x5cc168)]=_0x5853a3(_0x14bea1._0x44b22b,_0x14bea1._0x4761e1,_0x14bea1._0x5bd767,0x4b6)+'ound';function _0x5f0ccf(_0x28ce8a,_0x22bff3,_0x42d4bd,_0x5cbe1b){return _0x118bba(_0x28ce8a,_0x22bff3-0x65,_0x42d4bd-0x1c4,_0x5cbe1b- -_0x21b0af._0x1ae73d);}_0x200137['VQYye']=_0x5f0ccf(-0x1f,_0x14bea1._0xce30aa,-0x3,0x37)+'get\x20user\x20t'+_0x5f0ccf(-0x5b,-_0x14bea1._0x20d288,-0x70,-_0x14bea1._0x520c0d);const _0x3c8196=_0x200137;try{const {userId:_0x11ed07}=_0x168857[_0x5853a3(_0x14bea1._0x3762b7,_0x14bea1._0x4ac332,_0x14bea1._0x47976c,0x4bb)],_0x14f03e=await findUserById(_0x11ed07);if(!_0x14f03e){const _0x293af0={};return _0x293af0['error']=_0x3c8196[_0x5853a3(_0x14bea1._0x2b89ed,_0x14bea1._0x438f9e,0x41b,0x3c6)],_0x50a918[_0x5853a3(0x443,_0x14bea1._0x56427c,0x415,0x47f)](0xf91*0x2+-0x1a*-0x54+-0x2616)[_0x5853a3(_0x14bea1._0x4dcc8c,0x40a,_0x14bea1._0x511e2d,_0x14bea1._0x5cb8a8)](_0x293af0);}const _0x453a3a=await getUserTokens(_0x11ed07),_0x43cf24={};_0x43cf24[_0x5853a3(_0x14bea1._0x36de3b,_0x14bea1._0x58deef,_0x14bea1._0x3f092b,0x3f3)]=_0x453a3a,_0x50a918[_0x5853a3(0x432,_0x14bea1._0x3e4a8b,_0x14bea1._0x583322,0x48d)](_0x43cf24);}catch(_0x5b54da){logger[_0x5853a3(_0x14bea1._0x11dc4c,_0x14bea1._0x5656aa,0x43f,_0x14bea1._0x1822be)](_0x3c8196[_0x5f0ccf(-0x22,_0x14bea1._0x2ee8ae,0x73,0x19)],_0x5b54da);const _0x36e328={};_0x36e328[_0x5f0ccf(-0x3e,-0x92,-0x97,-0x4a)]=_0x5853a3(0x491,_0x14bea1._0x20c2a4,0x450,0x4d4)+_0x5f0ccf(_0x14bea1._0xce30aa,-_0x14bea1._0x27483f,_0x14bea1._0x148a6f,0xf)+_0x5f0ccf(-_0x14bea1._0x4c8415,-_0x14bea1._0xc4a729,-0x2d,-_0x14bea1._0x32adec),_0x50a918[_0x5853a3(0x443,0x46b,0x441,_0x14bea1._0x1f599f)](-0x23cc+-0x35*-0x88+0x998)[_0x5f0ccf(-0xf,-_0x14bea1._0x384f23,-0x26,-0x28)](_0x36e328);}}),router[_0x118bba(0x25f,0x270,0x2ac,0x288)]('/tokens/:t'+_0x5962c7(0x5dd,0x5bf,0x572,0x5a1),requireAuth,requireAdmin,async(_0x44b417,_0x288b53)=>{const _0x5e0b98={_0x2c70ca:0x178,_0x365a19:0x162,_0xb7d47b:0x163,_0x80b7c1:0x195,_0x5b7d01:0x12f,_0x1adce5:0xc1,_0x39207e:0x13d,_0x2cd861:0x1bd,_0x19f47d:0x1cd,_0x4331d6:0x1c3,_0x4ece86:0x112,_0x305734:0x13f,_0x3e5e9c:0xda,_0xe1df90:0x15a,_0x5c4d71:0x186,_0xb49796:0x1b0,_0x1cf1dd:0x12b,_0x301ff0:0xe4,_0x59d343:0xa4,_0x460f0f:0xf6,_0x5eaae8:0x10e,_0x3fb1bb:0x9d,_0x4d3014:0xf5,_0x5bebef:0xc1,_0x589127:0x7c,_0x3274d4:0xa6,_0xb212fb:0xd9,_0x52de4b:0x1b7,_0x3ff9a3:0x95,_0x8ecac4:0xa5,_0x1cfaca:0x5e,_0x3fbf34:0xef,_0x3affd5:0xa6,_0x4c843a:0x4d,_0x22f092:0x175,_0x2cef51:0x1c6,_0x20fc58:0x12a,_0x3d03ef:0x100,_0x1c2303:0xf3,_0x1ece6e:0x138,_0x409231:0x1b7,_0x163635:0x200,_0x1c5010:0xf1,_0x1c5cd9:0xc0,_0x5da9fc:0xd1},_0x7192bd={_0x597421:0xc5},_0x5086bd={'vnntQ':function(_0x5d2f8a){return _0x5d2f8a();},'vAlKl':_0x31b7e1(-_0x5e0b98._0x2c70ca,-_0x5e0b98._0x365a19,-0x145,-_0x5e0b98._0xb7d47b),'IeRNm':_0x3bda65(-0x73,-0xb6,-0x88,-0xb6)+_0x31b7e1(-_0x5e0b98._0x80b7c1,-0x144,-_0x5e0b98._0x5b7d01,-0x157),'jmTtk':_0x3bda65(-_0x5e0b98._0x1adce5,-0x13d,-0xfc,-_0x5e0b98._0x39207e)+_0x31b7e1(-_0x5e0b98._0x2cd861,-_0x5e0b98._0x19f47d,-0x20f,-_0x5e0b98._0x4331d6)+'sfully','VkXOT':_0x31b7e1(-0x10f,-0x15e,-0x11f,-_0x5e0b98._0x4ece86)+_0x3bda65(-_0x5e0b98._0x305734,-0xd0,-0x100,-_0x5e0b98._0x3e5e9c)+'en'};function _0x3bda65(_0x422af9,_0x167ace,_0x12d26b,_0x4282a4){return _0x118bba(_0x4282a4,_0x167ace-0x150,_0x12d26b-_0x7192bd._0x597421,_0x12d26b- -0x325);}function _0x31b7e1(_0x1e8f95,_0x9db99f,_0x8b2051,_0x2cf0f4){return _0x118bba(_0x9db99f,_0x9db99f-0x93,_0x8b2051-0x17c,_0x2cf0f4- -0x3c5);}try{if(_0x31b7e1(-0x135,-0x153,-0x159,-_0x5e0b98._0xe1df90)===_0x5086bd[_0x31b7e1(-0x123,-_0x5e0b98._0x5c4d71,-0x19e,-0x148)]){const _0x4143ee=_0x5086bd[_0x31b7e1(-0x1e4,-0x156,-0x1bc,-_0x5e0b98._0xb49796)](_0x55a4a2);_0x8e1ba4[_0x3bda65(-_0x5e0b98._0x1cf1dd,-_0x5e0b98._0x301ff0,-0xd1,-_0x5e0b98._0x59d343)](_0x4143ee);}else{const {tokenId:_0x2f8299}=_0x44b417[_0x3bda65(-0x9b,-0x51,-0x99,-0xc2)],_0x28a256=await revokeToken(_0x2f8299);if(!_0x28a256){const _0x25d011={};return _0x25d011['error']=_0x5086bd[_0x3bda65(-0x120,-0x112,-0xcd,-_0x5e0b98._0x460f0f)],_0x288b53[_0x3bda65(-_0x5e0b98._0x5eaae8,-0xba,-0xc0,-0xac)](0x18*0xe4+-0x260c*0x1+0x1240)['json'](_0x25d011);}const _0x2dc2a6={};_0x2dc2a6[_0x3bda65(-_0x5e0b98._0x3fb1bb,-0x78,-0xc6,-_0x5e0b98._0x4d3014)]=_0x44b417[_0x3bda65(-_0x5e0b98._0x5bebef,-_0x5e0b98._0x589127,-0x96,-_0x5e0b98._0x3274d4)]['id'],_0x2dc2a6[_0x3bda65(-0xc6,-0x100,-_0x5e0b98._0xb212fb,-0x10c)+_0x31b7e1(-0x163,-0x1bd,-_0x5e0b98._0x52de4b,-0x18e)]=_0x44b417['user'][_0x3bda65(-_0x5e0b98._0x3ff9a3,-0x5c,-_0x5e0b98._0x8ecac4,-0x71)],_0x2dc2a6['tokenId']=_0x2f8299,logger[_0x3bda65(-_0x5e0b98._0x1cfaca,-_0x5e0b98._0x3fbf34,-_0x5e0b98._0x3affd5,-_0x5e0b98._0x4c843a)](_0x31b7e1(-_0x5e0b98._0x22f092,-0x1ac,-_0x5e0b98._0x2cef51,-0x19c)+'ked',_0x2dc2a6);const _0x1af55d={};_0x1af55d[_0x31b7e1(-_0x5e0b98._0x20fc58,-0x1aa,-0x185,-0x178)]=_0x5086bd[_0x3bda65(-0xc0,-0x9f,-0xe6,-0xe7)],_0x288b53['json'](_0x1af55d);}}catch(_0xe558b5){logger[_0x3bda65(-_0x5e0b98._0x3d03ef,-_0x5e0b98._0x3e5e9c,-_0x5e0b98._0x1c2303,-_0x5e0b98._0x1ece6e)](_0x5086bd[_0x31b7e1(-_0x5e0b98._0x409231,-0x174,-_0x5e0b98._0x163635,-0x1b2)],_0xe558b5);const _0x35ad0a={};_0x35ad0a[_0x31b7e1(-0x16c,-0x171,-0x1b1,-0x193)]='Failed\x20to\x20'+_0x31b7e1(-0x1cd,-0x171,-0x1cf,-0x1a0)+'en',_0x288b53[_0x3bda65(-0xcf,-_0x5e0b98._0x1c5010,-_0x5e0b98._0x1c5cd9,-0x9e)](-0x1fe2+0x772+0x1a64)[_0x3bda65(-0x11c,-0xdb,-_0x5e0b98._0x5da9fc,-0x123)](_0x35ad0a);}});export default router;