@profoundlogic/coderflow-server 0.5.0 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (185) hide show
  1. package/README.md +15 -163
  2. package/dist/README.md +15 -163
  3. package/dist/base-image/agent-wrapper.sh +1 -1
  4. package/dist/capture-screenshot.mjs +34 -0
  5. package/dist/coder-server.js +1 -1
  6. package/dist/config/cli-models.json +4 -3
  7. package/dist/config.js +1 -1
  8. package/dist/lib/agent-keepalive.js +1 -1
  9. package/dist/lib/agent-models.js +1 -1
  10. package/dist/lib/api-keys.js +1 -1
  11. package/dist/lib/apiKeys.js +1 -1
  12. package/dist/lib/app-server-ports.js +1 -1
  13. package/dist/lib/auto-judge.js +1 -1
  14. package/dist/lib/automation-service.js +1 -1
  15. package/dist/lib/basic-auth.js +1 -1
  16. package/dist/lib/bindings.js +1 -1
  17. package/dist/lib/build-history.js +1 -1
  18. package/dist/lib/build-output-service.js +1 -1
  19. package/dist/lib/build-scheduler.js +1 -1
  20. package/dist/lib/build-service.js +1 -1
  21. package/dist/lib/ca-certificates.js +1 -1
  22. package/dist/lib/claude-oauth-refresh.js +1 -1
  23. package/dist/lib/cli/build.js +1 -1
  24. package/dist/lib/cli/cleanup-users.js +1 -0
  25. package/dist/lib/cli/config-command.js +1 -1
  26. package/dist/lib/cli/config.js +1 -1
  27. package/dist/lib/cli/create-user.js +1 -1
  28. package/dist/lib/cli/grant-admin.js +1 -0
  29. package/dist/lib/cli/init.js +1 -1
  30. package/dist/lib/cli/jira.js +1 -1
  31. package/dist/lib/cli/license.js +1 -1
  32. package/dist/lib/cli/list-roles.js +1 -0
  33. package/dist/lib/cli/list-users.js +1 -0
  34. package/dist/lib/cli/server-manager.js +1 -1
  35. package/dist/lib/cli/set-password.js +1 -0
  36. package/dist/lib/config-migration.js +1 -1
  37. package/dist/lib/container-credential-sync.js +1 -1
  38. package/dist/lib/container-tokens.js +1 -1
  39. package/dist/lib/data-dir.js +1 -1
  40. package/dist/lib/deployment-history.js +1 -1
  41. package/dist/lib/deployment-service.js +1 -1
  42. package/dist/lib/docker-utils.js +1 -1
  43. package/dist/lib/email.js +1 -1
  44. package/dist/lib/emailTemplates.js +1 -1
  45. package/dist/lib/entitlement.js +1 -1
  46. package/dist/lib/external-connections.js +1 -1
  47. package/dist/lib/fetch-utils.js +1 -1
  48. package/dist/lib/git-commit-details-route.js +1 -1
  49. package/dist/lib/git-history-diff-guardrails.js +1 -1
  50. package/dist/lib/git-provider-service.js +1 -1
  51. package/dist/lib/git-provider-setup/github-setup-handler.js +1 -1
  52. package/dist/lib/git-provider-setup/index.js +1 -1
  53. package/dist/lib/git-provider-setup/setup-factory.js +1 -1
  54. package/dist/lib/git-provider-setup/setup-interface.js +1 -1
  55. package/dist/lib/git-providers/azure-devops-provider.js +1 -1
  56. package/dist/lib/git-providers/github-app-provider.js +1 -1
  57. package/dist/lib/git-providers/index.js +1 -1
  58. package/dist/lib/git-providers/provider-factory.js +1 -1
  59. package/dist/lib/git-providers/provider-interface.js +1 -1
  60. package/dist/lib/github-urls.js +1 -1
  61. package/dist/lib/group-objective-linking.js +1 -1
  62. package/dist/lib/ibmi-sync.js +1 -0
  63. package/dist/lib/jira-client.js +1 -1
  64. package/dist/lib/judge-blinding.js +1 -1
  65. package/dist/lib/logger.js +1 -1
  66. package/dist/lib/migration-to-scoped-rbac.js +1 -1
  67. package/dist/lib/model-fetcher.js +1 -1
  68. package/dist/lib/notifications.js +1 -1
  69. package/dist/lib/objective-context.js +1 -1
  70. package/dist/lib/oidc-auth.js +1 -1
  71. package/dist/lib/oidc-device-flow.js +1 -1
  72. package/dist/lib/passwordTokens.js +1 -1
  73. package/dist/lib/permission-resolver.js +1 -1
  74. package/dist/lib/pin-cascade.js +1 -1
  75. package/dist/lib/provider-accounts.js +1 -1
  76. package/dist/lib/provider-oauth.js +1 -1
  77. package/dist/lib/provider-profile.js +1 -1
  78. package/dist/lib/provider-token-refresh.js +1 -1
  79. package/dist/lib/rbac-user-state.js +1 -1
  80. package/dist/lib/request-url.js +1 -1
  81. package/dist/lib/rewind.js +1 -1
  82. package/dist/lib/role-definitions.js +1 -1
  83. package/dist/lib/roles.js +1 -1
  84. package/dist/lib/secrets.js +1 -1
  85. package/dist/lib/setup-repo-git-auth.js +1 -1
  86. package/dist/lib/state-capture.js +1 -1
  87. package/dist/lib/static-files.js +1 -1
  88. package/dist/lib/task-name-format.js +1 -1
  89. package/dist/lib/task-name-generator.js +1 -1
  90. package/dist/lib/task-source-metadata.js +1 -1
  91. package/dist/lib/teams.js +1 -1
  92. package/dist/lib/user-git-oauth.js +1 -1
  93. package/dist/lib/user-git-tokens.js +1 -1
  94. package/dist/lib/users.js +1 -1
  95. package/dist/middleware/requireAuth.js +1 -1
  96. package/dist/middleware/requireInit.js +1 -1
  97. package/dist/middleware/requirePermission.js +1 -1
  98. package/dist/package.json +1 -1
  99. package/dist/playwright.config.js +1 -1
  100. package/dist/routes/apiKeys.js +1 -1
  101. package/dist/routes/auth-oidc.js +1 -1
  102. package/dist/routes/auth.js +1 -1
  103. package/dist/routes/automations.js +1 -1
  104. package/dist/routes/bindings.js +1 -1
  105. package/dist/routes/build.js +1 -1
  106. package/dist/routes/containers.js +1 -1
  107. package/dist/routes/deploy-task.js +1 -1
  108. package/dist/routes/environment-management.js +1 -1
  109. package/dist/routes/environments.js +1 -1
  110. package/dist/routes/external-skills.js +1 -1
  111. package/dist/routes/git-credentials.js +1 -1
  112. package/dist/routes/git-oauth.js +1 -1
  113. package/dist/routes/git-provider-setup.js +1 -1
  114. package/dist/routes/health.js +1 -1
  115. package/dist/routes/jira.js +1 -1
  116. package/dist/routes/objective-management.js +1 -1
  117. package/dist/routes/password.js +1 -1
  118. package/dist/routes/prompt.js +1 -1
  119. package/dist/routes/provider-auth.js +1 -1
  120. package/dist/routes/qa.js +1 -1
  121. package/dist/routes/roles.js +1 -1
  122. package/dist/routes/settings.js +1 -1
  123. package/dist/routes/skill-management.js +1 -1
  124. package/dist/routes/skills.js +1 -1
  125. package/dist/routes/tasks.js +1 -1
  126. package/dist/routes/teams.js +1 -1
  127. package/dist/routes/templates.js +1 -1
  128. package/dist/routes/test-task.js +1 -1
  129. package/dist/routes/test.js +1 -1
  130. package/dist/routes/users.js +1 -1
  131. package/dist/routes/visualizations.js +1 -1
  132. package/dist/scripts/create-user.js +1 -1
  133. package/dist/scripts/migrate-config-to-data-dir.js +1 -1
  134. package/dist/scripts/sync_to_ibmi.sh +204 -0
  135. package/dist/start.js +1 -1
  136. package/dist/web-ui/public/activity-detail-modal.js +1 -1
  137. package/dist/web-ui/public/activity-feed.js +1 -1
  138. package/dist/web-ui/public/activity-formatters.js +1 -1
  139. package/dist/web-ui/public/agent-event-parser.js +1 -1
  140. package/dist/web-ui/public/app.js +1 -1
  141. package/dist/web-ui/public/approve-dialog.js +1 -1
  142. package/dist/web-ui/public/automation-links.js +1 -1
  143. package/dist/web-ui/public/automation-schedule.js +1 -1
  144. package/dist/web-ui/public/comments-widget.js +1 -1
  145. package/dist/web-ui/public/diff-utils.js +1 -1
  146. package/dist/web-ui/public/docs/admin/environments.md +1 -0
  147. package/dist/web-ui/public/docs/tasks/approval-and-deployment.md +36 -0
  148. package/dist/web-ui/public/environments.html +1 -1
  149. package/dist/web-ui/public/environments.js +1 -1
  150. package/dist/web-ui/public/feedback-widget.js +1 -1
  151. package/dist/web-ui/public/git-history-lazy-utils.js +1 -1
  152. package/dist/web-ui/public/git-history.js +1 -1
  153. package/dist/web-ui/public/git-status.js +1 -1
  154. package/dist/web-ui/public/index.html +2 -2
  155. package/dist/web-ui/public/index.js +1 -1
  156. package/dist/web-ui/public/login.js +1 -1
  157. package/dist/web-ui/public/markdown-editor.js +1 -1
  158. package/dist/web-ui/public/markdown-file-editor.js +1 -1
  159. package/dist/web-ui/public/modal-maximize.js +1 -1
  160. package/dist/web-ui/public/notifications.js +1 -1
  161. package/dist/web-ui/public/pr-dialog.js +1 -1
  162. package/dist/web-ui/public/roles.html +3 -2
  163. package/dist/web-ui/public/roles.js +1 -1
  164. package/dist/web-ui/public/server-health.js +1 -1
  165. package/dist/web-ui/public/settings.css +3 -2
  166. package/dist/web-ui/public/settings.html +0 -1
  167. package/dist/web-ui/public/settings.js +1 -1
  168. package/dist/web-ui/public/setup-password.js +1 -1
  169. package/dist/web-ui/public/skills.js +1 -1
  170. package/dist/web-ui/public/sse-client.js +1 -1
  171. package/dist/web-ui/public/sse-shared-worker.js +1 -1
  172. package/dist/web-ui/public/styles.css +39 -12
  173. package/dist/web-ui/public/task.html +56 -1
  174. package/dist/web-ui/public/task.js +1 -1
  175. package/dist/web-ui/public/teams.html +76 -81
  176. package/dist/web-ui/public/teams.js +1 -1
  177. package/dist/web-ui/public/terminal.js +1 -1
  178. package/dist/web-ui/public/theme.js +1 -1
  179. package/dist/web-ui/public/users.html +12 -11
  180. package/dist/web-ui/public/users.js +1 -1
  181. package/dist/web-ui/public/variant-grouping.js +1 -1
  182. package/package.json +1 -1
  183. package/dist/lib/cli/migrate-rbac.js +0 -1
  184. package/dist/lib/scoped-rbac-migration-runner.js +0 -1
  185. package/dist/scripts/migrate-to-scoped-rbac.js +0 -2
@@ -1 +1 @@
1
- (function(_0x2599ed,_0x35f582){const _0x4b04b3={_0x4531fa:0xcb,_0x320089:0x79,_0x22aa60:0x11d,_0x149040:0xc1,_0x3570d5:0xe2,_0x30dfc6:0xd3,_0x37d8ba:0x109,_0x4c86fa:0x15b,_0x876013:0xc4,_0x3dd713:0xf9,_0x100373:0x111,_0x37f3e2:0x13a,_0x446b06:0xc5,_0x1a016f:0x10e,_0x3e0bae:0x12c,_0x1a4379:0x13b,_0x31c45d:0x147,_0x56b558:0xc9,_0x34a5f7:0x162,_0x41ad0d:0xd9,_0x1f88d6:0xc7,_0x55f5a3:0x11a,_0x8ecd8:0x109};function _0x1e634a(_0x85e3e5,_0x3f4de9,_0x33e0e1,_0x1dc4f2){return _0x5546(_0x1dc4f2- -0x42,_0x33e0e1);}const _0x292321=_0x2599ed();function _0x2ca5d0(_0x3e5ce5,_0x28e9da,_0x48ec92,_0x2ffa3b){return _0x5546(_0x3e5ce5- -0x21d,_0x28e9da);}while(!![]){try{const _0x256d77=parseInt(_0x2ca5d0(-_0x4b04b3._0x4531fa,-0x85,-_0x4b04b3._0x320089,-_0x4b04b3._0x22aa60))/(-0x11*-0xe9+0xc7d+0x1a5*-0x11)*(parseInt(_0x1e634a(0xe4,0x125,0xc9,0x128))/(0xe99+-0x24*0x32+-0x183*0x5))+parseInt(_0x2ca5d0(-0xc4,-0xa4,-0x102,-_0x4b04b3._0x149040))/(-0x1473+0x21f1+-0x1ed*0x7)+-parseInt(_0x2ca5d0(-0xd7,-0x9d,-_0x4b04b3._0x3570d5,-_0x4b04b3._0x30dfc6))/(0x1ac1+0xcd*0x11+-0x285a)*(parseInt(_0x2ca5d0(-0x117,-_0x4b04b3._0x37d8ba,-_0x4b04b3._0x4c86fa,-0x115))/(-0x14a*0x3+-0x26cd+-0xaac*-0x4))+parseInt(_0x2ca5d0(-0x11f,-0x14d,-0x116,-_0x4b04b3._0x876013))/(-0x2549+0x1847+0xd08)*(-parseInt(_0x2ca5d0(-0x12a,-_0x4b04b3._0x3dd713,-0xe0,-_0x4b04b3._0x100373))/(-0x2c3+-0x123b+0x1505))+-parseInt(_0x1e634a(_0x4b04b3._0x37f3e2,0x155,_0x4b04b3._0x446b06,_0x4b04b3._0x1a016f))/(-0x1866+-0x107e+0x28ec)*(-parseInt(_0x2ca5d0(-_0x4b04b3._0x3e0bae,-_0x4b04b3._0x1a4379,-0x142,-_0x4b04b3._0x31c45d))/(-0x1683+-0x25ef+0x1429*0x3))+parseInt(_0x1e634a(_0x4b04b3._0x56b558,_0x4b04b3._0x34a5f7,_0x4b04b3._0x41ad0d,0x120))/(-0x1*0x1031+0x2*-0x97c+0x2333)*(parseInt(_0x1e634a(0xf1,0xb6,0xfe,_0x4b04b3._0x1f88d6))/(0x35*-0x8d+0x1218+-0x2*-0x592))+-parseInt(_0x1e634a(0x9a,0x10d,0xe6,0xc2))/(-0x5fe+-0x2*-0x4c6+0x1c1*-0x2)*(parseInt(_0x2ca5d0(-_0x4b04b3._0x55f5a3,-0xde,-0x16f,-_0x4b04b3._0x8ecd8))/(0x1*0x487+0x16*0x35+0x8*-0x121));if(_0x256d77===_0x35f582)break;else _0x292321['push'](_0x292321['shift']());}catch(_0x270141){_0x292321['push'](_0x292321['shift']());}}}(_0x26fd,0x9*0x7e6d+-0x1789d*-0x4+-0x9da*0xa9));import{promises as _0x5048b2}from'fs';function _0x5546(_0xb3b3ed,_0x59b7dc){_0xb3b3ed=_0xb3b3ed-(-0x15cc+0x235*-0x1+0x18e4);const _0x239f6a=_0x26fd();let _0x1b33c3=_0x239f6a[_0xb3b3ed];if(_0x5546['woyFZZ']===undefined){var _0x40d7f0=function(_0x2a7f20){const _0xc0e7aa='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xef2c5a='',_0x1b2e99='';for(let _0x2f7895=-0x2213+0x7e3+-0xd18*-0x2,_0x381230,_0x442179,_0x52dd89=-0x1*-0x1d17+0x33c+-0x2053*0x1;_0x442179=_0x2a7f20['charAt'](_0x52dd89++);~_0x442179&&(_0x381230=_0x2f7895%(-0x13f*-0x13+0xae+-0x1f*0xc9)?_0x381230*(0x1801+-0x2*-0xf7f+-0x36bf*0x1)+_0x442179:_0x442179,_0x2f7895++%(0x1022*-0x2+-0x295*0xd+0x41d9))?_0xef2c5a+=String['fromCharCode'](0x68c*-0x3+-0x2508+0x83d*0x7&_0x381230>>(-(-0x67c+-0x1*-0x2197+-0x1b19*0x1)*_0x2f7895&-0x1a11+0x1988+0x8f)):-0x5b3*-0x4+-0x1*0x1151+0x57b*-0x1){_0x442179=_0xc0e7aa['indexOf'](_0x442179);}for(let _0x2695a7=-0x1127+0x1eb8+-0xd91,_0x5e87d9=_0xef2c5a['length'];_0x2695a7<_0x5e87d9;_0x2695a7++){_0x1b2e99+='%'+('00'+_0xef2c5a['charCodeAt'](_0x2695a7)['toString'](-0xc4a+0xeec+0x2f*-0xe))['slice'](-(0x1e8f*0x1+0xf94+-0x697*0x7));}return decodeURIComponent(_0x1b2e99);};_0x5546['VkVFsl']=_0x40d7f0,_0x5546['yHsdHT']={},_0x5546['woyFZZ']=!![];}const _0x2e2174=_0x239f6a[-0x65*-0x43+-0x402+-0x166d],_0x55487f=_0xb3b3ed+_0x2e2174,_0x58c7ae=_0x5546['yHsdHT'][_0x55487f];return!_0x58c7ae?(_0x1b33c3=_0x5546['VkVFsl'](_0x1b33c3),_0x5546['yHsdHT'][_0x55487f]=_0x1b33c3):_0x1b33c3=_0x58c7ae,_0x1b33c3;}import{existsSync}from'fs';import _0x4af74c from'path';import _0x404d3f from'crypto';import{DATA_DIR}from'./data-dir.js';function _0x184527(_0x2f43df,_0x47afc4,_0x1da1b2,_0x90b58c){const _0x1cd958={_0x4eeeb2:0x108};return _0x5546(_0x47afc4- -_0x1cd958._0x4eeeb2,_0x1da1b2);}import{logger as _0x31e1af}from'./logger.js';const TOKENS_FILE=_0x4c96fc(-0x2,-0x5f,-0xc,0x1e)+_0x184527(0x59,0x8d,0x51,0x77),ENCRYPTION_KEY_FILE='.git-oauth'+'-key';function _0x4c96fc(_0x4bdb25,_0x389a12,_0x118ed4,_0x8e97e0){const _0x360ecb={_0x4cc291:0xfb};return _0x5546(_0x118ed4- -_0x360ecb._0x4cc291,_0x389a12);}const ALGORITHM=_0x184527(0x2a,-0x14,-0x1,0x16)+'m',KEY_LENGTH=-0x2215+0xc*0x248+0xb*0x9f,IV_LENGTH=0xf18+-0x10da+0x1*0x1d2,AUTH_TAG_LENGTH=-0xd*-0xab+-0x1111+-0x2f*-0x2e;let encryptionKeyCache=null;async function getEncryptionKey(_0x7d3966={}){const _0x2c1b9b={_0x342755:0x443,_0x1163fc:0x3bf,_0x38e12f:0x418,_0x26d44f:0x3be,_0x5ebeb1:0x420,_0x570acb:0x3f3,_0x17dd19:0x3e2,_0x54b7ee:0x3bf,_0x3222cf:0x3cf,_0xe85be8:0x431,_0x231797:0x3bc,_0x225963:0x3ea,_0x1e3340:0x3d4,_0x4e12b7:0x37f,_0x1c3e17:0x459,_0x347355:0x409,_0x462cd9:0x418,_0x590885:0x3fc,_0x9ff59:0x3d7,_0x1582bc:0x3f9,_0x231fb2:0x39b,_0x40a32b:0x3e4,_0x3e6b61:0x393,_0x17103e:0x3b7,_0x2906db:0x455,_0x5d0b32:0x389,_0x18b991:0x395,_0x7c67e9:0x39c,_0x4b0fa9:0x350,_0x2f8cbd:0x382,_0x39b4b1:0x3f6,_0x24659d:0x42b,_0x197f79:0x429,_0x4ef238:0x3fd,_0xc730e:0x39f,_0x4c94f5:0x369,_0x977c24:0x3db,_0xddcb9d:0x442,_0x33ab69:0x3e7,_0x3cfb9a:0x3b9,_0x1da74a:0x408,_0xc42f5d:0x384,_0x58075f:0x3bd,_0x24ddaa:0x411,_0xde20ee:0x449,_0x2eb923:0x390,_0x1b79f6:0x3ef,_0x43b549:0x3d6,_0x4fdc90:0x3c4,_0x2394af:0x3dc,_0x178c7c:0x33b,_0x1e3360:0x357,_0x420e07:0x3d9,_0x5eb209:0x398,_0x416f34:0x3ab,_0x377298:0x40f,_0x564989:0x452,_0x3364b1:0x397,_0x5618c0:0x416,_0x3afb5f:0x39a,_0x142486:0x38e,_0x2ca791:0x3b4,_0x5444db:0x3c5,_0x96ec77:0x3f7,_0x227ab8:0x3e0,_0xcbde80:0x425,_0x41684f:0x3fb,_0xf60b9b:0x3cb,_0x21d8fc:0x3ce,_0x24e33a:0x411,_0x77a3b9:0x3c9,_0x44f0c2:0x3b1,_0x3257ba:0x40a,_0x4fe911:0x495,_0xaec695:0x456,_0x3c7f92:0x37b,_0x4bc1e1:0x37a,_0x4c1e24:0x40e,_0x33329d:0x419,_0x376508:0x3f8,_0x33649a:0x41c,_0x253a26:0x405,_0x1f3879:0x362,_0x215b60:0x3cd,_0x24a953:0x408,_0x15f6e0:0x37d,_0xedb46d:0x41f,_0x29847f:0x41f,_0x1de68c:0x48a,_0x2ab3b9:0x45e,_0xbf61bc:0x43d,_0x14f341:0x3d8,_0xbbda14:0x3f2,_0x522773:0x3fc,_0x16ffaf:0x444,_0x44d9e0:0x464,_0x4c226d:0x44e},_0x1b41f2={_0x1952f2:0x43},_0x4ee05f={_0x48930a:0x11,_0x11bb50:0x395},_0x4f28ba={'FIrrN':_0x5be2d3(_0x2c1b9b._0x342755,_0x2c1b9b._0x1163fc,0x3f7,0x3cf)+'en\x20is\x20requ'+'ired','GErIt':function(_0x22b734,_0x3a3203){return _0x22b734(_0x3a3203);},'QHAvT':_0x5be2d3(_0x2c1b9b._0x38e12f,0x3e2,_0x2c1b9b._0x26d44f,0x3e0),'ihpvQ':_0x5be2d3(_0x2c1b9b._0x5ebeb1,_0x2c1b9b._0x570acb,_0x2c1b9b._0x17dd19,_0x2c1b9b._0x54b7ee),'uUZaM':_0xdf122e(0x419,_0x2c1b9b._0x3222cf,0x3b1,0x404)+'\x20OAuth\x20enc'+_0x5be2d3(0x3de,0x37d,0x3b5,0x38b)+_0xdf122e(_0x2c1b9b._0xe85be8,0x424,_0x2c1b9b._0x231797,_0x2c1b9b._0x225963)+_0xdf122e(_0x2c1b9b._0x1e3340,0x32c,0x398,_0x2c1b9b._0x4e12b7)+'y','znSjd':_0x5be2d3(0x3cb,_0x2c1b9b._0x1c3e17,_0x2c1b9b._0x347355,_0x2c1b9b._0x570acb),'odUBg':_0x5be2d3(0x409,_0x2c1b9b._0x462cd9,_0x2c1b9b._0x590885,0x3d2)+_0x5be2d3(0x399,0x3a1,_0x2c1b9b._0x9ff59,_0x2c1b9b._0x1582bc)+_0x5be2d3(_0x2c1b9b._0x231fb2,_0x2c1b9b._0x40a32b,0x3e5,_0x2c1b9b._0x3e6b61)+_0x5be2d3(0x3f8,0x367,_0x2c1b9b._0x17103e,0x35f)+'\x20generatin'+_0x5be2d3(0x439,0x467,_0x2c1b9b._0x2906db,0x469),'zqrmD':'Generating'+_0xdf122e(_0x2c1b9b._0x5d0b32,0x3ba,0x381,_0x2c1b9b._0x18b991)+'Auth\x20encry'+_0xdf122e(0x33e,_0x2c1b9b._0x7c67e9,_0x2c1b9b._0x4b0fa9,_0x2c1b9b._0x2f8cbd),'gdJIo':_0xdf122e(_0x2c1b9b._0x39b4b1,_0x2c1b9b._0x24659d,_0x2c1b9b._0x590885,0x428)+'encryption'+'\x20key\x20saved'+_0xdf122e(0x408,_0x2c1b9b._0x197f79,0x40c,_0x2c1b9b._0x4ef238)+_0xdf122e(0x3ba,_0x2c1b9b._0xc730e,_0x2c1b9b._0x4c94f5,0x371)},_0x2fa860=_0x7d3966['logger']||_0x31e1af,_0x5e4154=_0x7d3966[_0xdf122e(_0x2c1b9b._0x977c24,0x395,_0x2c1b9b._0xddcb9d,_0x2c1b9b._0x33ab69)]||DATA_DIR;if(encryptionKeyCache)return encryptionKeyCache;const _0x6beb6f=_0x4af74c[_0xdf122e(0x34e,0x39c,_0x2c1b9b._0x3cfb9a,0x394)](_0x5e4154,ENCRYPTION_KEY_FILE);function _0xdf122e(_0xdfa545,_0x2e5c15,_0x516c80,_0x226565){return _0x184527(_0xdfa545-_0x4ee05f._0x48930a,_0x226565-_0x4ee05f._0x11bb50,_0x2e5c15,_0x226565-0x1cd);}if(_0x4f28ba['GErIt'](existsSync,_0x6beb6f))try{const _0x2d4069=await _0x5048b2[_0xdf122e(_0x2c1b9b._0x1da74a,0x3fb,_0x2c1b9b._0xc42f5d,_0x2c1b9b._0x58075f)](_0x6beb6f,_0x4f28ba[_0x5be2d3(_0x2c1b9b._0x24ddaa,0x475,_0x2c1b9b._0xde20ee,_0x2c1b9b._0x197f79)]);return encryptionKeyCache=Buffer[_0x5be2d3(_0x2c1b9b._0x2eb923,_0x2c1b9b._0x1b79f6,0x3c1,_0x2c1b9b._0x43b549)](_0x2d4069[_0xdf122e(_0x2c1b9b._0x4fdc90,_0x2c1b9b._0x2394af,0x3fb,0x40b)](),_0x4f28ba[_0xdf122e(_0x2c1b9b._0x178c7c,_0x2c1b9b._0x1e3360,_0x2c1b9b._0x420e07,_0x2c1b9b._0x5eb209)]),_0x2fa860[_0xdf122e(_0x2c1b9b._0x416f34,0x459,0x3b4,0x400)](_0x4f28ba[_0x5be2d3(_0x2c1b9b._0x377298,0x482,0x438,_0x2c1b9b._0x564989)]),encryptionKeyCache;}catch(_0x4dfd0a){if(_0x4f28ba[_0x5be2d3(0x3a4,_0x2c1b9b._0x3364b1,0x3f5,_0x2c1b9b._0x5618c0)]===_0x4f28ba[_0xdf122e(_0x2c1b9b._0x3afb5f,_0x2c1b9b._0x142486,_0x2c1b9b._0x2ca791,0x3c3)]){const _0xa683e7={};_0xa683e7['error']=_0x4dfd0a['message'],_0x2fa860[_0x5be2d3(_0x2c1b9b._0x5444db,_0x2c1b9b._0x96ec77,_0x2c1b9b._0x227ab8,_0x2c1b9b._0x197f79)](_0x4f28ba[_0xdf122e(_0x2c1b9b._0xcbde80,0x458,0x3ea,_0x2c1b9b._0x41684f)],_0xa683e7);}else throw new _0x5339a4(_0x4f28ba[_0x5be2d3(_0x2c1b9b._0xf60b9b,_0x2c1b9b._0x21d8fc,0x3e6,_0x2c1b9b._0x24e33a)]);}_0x2fa860[_0xdf122e(_0x2c1b9b._0x77a3b9,0x37b,0x395,_0x2c1b9b._0x44f0c2)](_0x4f28ba['zqrmD']);function _0x5be2d3(_0x3f89b2,_0x1dee54,_0x17903b,_0x48b6e7){return _0x4c96fc(_0x3f89b2-0x77,_0x48b6e7,_0x17903b-0x3ba,_0x48b6e7-_0x1b41f2._0x1952f2);}const _0x1a09b5=_0x404d3f['randomByte'+'s'](KEY_LENGTH);try{const _0x4b52d6={};_0x4b52d6[_0x5be2d3(0x40c,_0x2c1b9b._0x3257ba,0x441,_0x2c1b9b._0x4fe911)]=!![],await _0x5048b2[_0xdf122e(0x3cb,0x443,0x3c2,0x408)](_0x5e4154,_0x4b52d6);const _0x42937f={};_0x42937f[_0x5be2d3(0x4a5,_0x2c1b9b._0x1582bc,0x448,_0x2c1b9b._0xaec695)]=0x180,await _0x5048b2[_0x5be2d3(_0x2c1b9b._0x3c7f92,_0x2c1b9b._0x4bc1e1,0x3ce,0x37f)](_0x6beb6f,_0x1a09b5[_0x5be2d3(0x382,_0x2c1b9b._0x4c1e24,0x3d4,_0x2c1b9b._0x33329d)](_0x5be2d3(_0x2c1b9b._0x376508,_0x2c1b9b._0x3364b1,0x3e2,0x3a1)),_0x42937f),_0x2fa860['info'](_0x4f28ba[_0x5be2d3(_0x2c1b9b._0x33649a,_0x2c1b9b._0x253a26,0x3d3,_0x2c1b9b._0x39b4b1)]);}catch(_0x342fbe){const _0x5142f4={};_0x5142f4[_0x5be2d3(_0x2c1b9b._0x1f3879,_0x2c1b9b._0x215b60,0x3aa,_0x2c1b9b._0x24a953)]=_0x342fbe['message'],_0x2fa860[_0xdf122e(_0x2c1b9b._0x15f6e0,0x346,0x37e,0x378)](_0x5be2d3(_0x2c1b9b._0xedb46d,_0x2c1b9b._0x29847f,_0x2c1b9b._0x590885,0x3e7)+_0x5be2d3(0x412,_0x2c1b9b._0x1de68c,_0x2c1b9b._0x2ab3b9,_0x2c1b9b._0xbf61bc)+_0x5be2d3(0x3d4,0x401,0x3e5,_0x2c1b9b._0x14f341)+_0xdf122e(0x3ae,0x356,0x332,_0x2c1b9b._0x2f8cbd),_0x5142f4);throw new Error(_0x5be2d3(_0x2c1b9b._0xbbda14,0x449,_0x2c1b9b._0x522773,_0x2c1b9b._0x16ffaf)+_0x5be2d3(_0x2c1b9b._0x44d9e0,0x41a,_0x2c1b9b._0x4c226d,0x44f)+'cryption\x20k'+'ey:\x20'+_0x342fbe['message']);}return encryptionKeyCache=_0x1a09b5,encryptionKeyCache;}export function clearEncryptionKeyCache(){encryptionKeyCache=null;}function encrypt(_0x34ac84,_0x2c57e0){const _0x45dd45={_0x30e365:0x232,_0x4bfbf5:0x24b,_0x3e5404:0x14b,_0xe8d090:0x2a7,_0xcc5899:0x2ac,_0x38f96d:0x2a6,_0x58a69c:0x2b5,_0x4029c0:0x214,_0x123f6f:0x284,_0x530111:0x18f,_0x272578:0x18d,_0x1fa8cb:0x2a9,_0x11ccb5:0x316,_0x213257:0x272,_0x36de69:0x297,_0x50eda1:0x2b6},_0x13dc50={_0xb38103:0x2ec,_0x1e2786:0x1b2},_0x4b246b={_0x6e9248:0x8f,_0x577887:0x1ac,_0x48f9bc:0x133},_0x2ffb79={};function _0x4b69f8(_0x2f333d,_0xec0173,_0x31e42c,_0x1c5976){return _0x4c96fc(_0x2f333d-_0x4b246b._0x6e9248,_0x31e42c,_0x2f333d-_0x4b246b._0x577887,_0x1c5976-_0x4b246b._0x48f9bc);}_0x2ffb79[_0x4b69f8(_0x45dd45._0x30e365,_0x45dd45._0x4bfbf5,0x1e7,0x212)]='utf8',_0x2ffb79['ikrhQ']='hex';const _0x50a2ea=_0x2ffb79;function _0xe67b4c(_0x503bfb,_0x5cfa35,_0x1a646c,_0x8faa33){return _0x4c96fc(_0x503bfb-0xf2,_0x5cfa35,_0x503bfb- -_0x13dc50._0xb38103,_0x8faa33-_0x13dc50._0x1e2786);}const _0x5603a1=_0x404d3f[_0x4b69f8(0x1a1,0x159,0x14d,_0x45dd45._0x3e5404)+'s'](IV_LENGTH),_0x2a3339=_0x404d3f[_0xe67b4c(-0x289,-0x2a0,-_0x45dd45._0xe8d090,-_0x45dd45._0xcc5899)+_0xe67b4c(-_0x45dd45._0x38f96d,-0x2e7,-_0x45dd45._0x58a69c,-0x2a5)](ALGORITHM,_0x2c57e0,_0x5603a1);let _0x3ccbb1=_0x2a3339[_0x4b69f8(0x1de,0x21e,_0x45dd45._0x4029c0,0x1d0)](_0x34ac84,_0x50a2ea[_0xe67b4c(-0x266,-0x293,-_0x45dd45._0x123f6f,-0x209)],_0x50a2ea['ikrhQ']);_0x3ccbb1+=_0x2a3339['final'](_0x50a2ea['ikrhQ']);const _0x72a658=_0x2a3339[_0x4b69f8(0x1e6,_0x45dd45._0x530111,_0x45dd45._0x272578,0x1c2)]();return _0x5603a1['toString'](_0x50a2ea[_0xe67b4c(-0x292,-0x24d,-_0x45dd45._0x1fa8cb,-0x24f)])+':'+_0x72a658[_0xe67b4c(-0x2d2,-_0x45dd45._0x11ccb5,-0x2f7,-0x294)](_0xe67b4c(-0x2c4,-_0x45dd45._0x213257,-_0x45dd45._0x36de69,-_0x45dd45._0x50eda1))+':'+_0x3ccbb1;}function _0x26fd(){const _0x4d74d7=['ruLPze8','CMvMCMvZAf90BW','rLjhu2G','yu5Tt2e','AgvWAKm','zMLUywW','zxjYB3i','y29UBMvJDgvKxW','A2v5CW','z2Dsy0K','DxnLCI1NAxqTDa','CMfUzg9TqNL0zq','ntmXqNnsywPW','ysbKAxjLy3rVCG','oti1nJm4CLvguM1p','ywvZlti1nI1NyW','ChrPB24GA2v5','CNLWDgLVBIbRzq','vM1eBK8','ChrPB24GA2v5la','Bfr5BLu','A2vU','u0vktu4','Ahr2rfy','zLrPELe','mtHlwhPhAM0','DxrMltG','zxHWAxjLC19HDa','CgfYC2u','zNjVBq','mtaXnJK5uLLvAgLR','mty4zLb5CNDo','rxntDLq','mJv2s2fpuxC','AM9PBG','ig5LDYbNAxqGtW','ntmWmZy1BK5LvfjH','BM5oqNq','AwHWDLe','CYb0BYbZDg9Yyq','t0jltvq','ruTquui','D3jPDgvgAwXL','DwLYzwq','DvzNDuq','BwvZC2fNzq','Eerfuue','z2rksw8','Dg9tDhjPBMC','ihvZzxi','vKfjEwu','CMvHzcbNAxqGtW','C2f2zsb1C2vYia','DxrMoa','twrPr3m','Ew5tqNe','ywnJzxnZx3rVAW','AxjLza','C3bSAxq','vwfSwve','D2fYBG','zgvYia','Agv4','Aw5MBW','CMvXDwLYzwq','qxv0AcbLBMnYEq','rKLYCK4','CgHLCML2','zNLlwwe','BhvLigzVCM1HDa','yxP1CMvFDxnLCG','yvrIvwi','DxbKyxrL','EfPpsM4','vfvMwNK','CMvHzezPBgu','AgfZuMvMCMvZAa','sMr0q2W','B3zPzgvY','y3j5ChrLzcb2yq','z2v0qxv0AfrHzW','EM5tAMq','vvP3CeG','qwnJzxnZihrVAW','ugrqAhq','tvDoDhq','yKryuhu','z2L0ihrVA2vUCW','rMfPBgvKihrVia','y2j3Che','ig5HBwuGyxjLia','uhjVDMLKzxiGBG','zxjPDG','B21Nvwm','BMrcuLe','Bvz5u24','zw50CMLLCW','mZyYmZu2r2LMwMrt','y3newKy','Dg9Rzw5Z','yKn1rey','t0zwshG','y0fuuvm','DuruEMu','tM8GzxHPC3rPBG','DxnLCKLK','CIb1C2vYia','ntm2mdHgAujSv0u','qwz2Eue','mMrAr3j1sa','zcbWCM92AwrLCG','z2L0AhvIx3vZzq','AwTYAfe','u2f2zwqGDxnLCG','BMfwuw4','weXUCKO','odaWndK5sxrxruXk','zgf0yurPCG','DKXjsMi','vxnLCIbjrcbPCW','EsbMCM9TigrHDa','y3jLyxrLq2LWAa','Dcb0B2TLBIbMBW','CK5MD0q','CIb1C2vY','ndbewfLJAu4','sw52ywXPzcbLBG','vgHArfC','qujZEu4','s3jQsfe','B2Tns0y','u3rVCMvKigDPDa','DKLZC24','mZu0odm2wg1Kzvvl','vNPqEhu','Au9Mvxu','yw1LigLZihjLCq','B2rvqMC','CL9Pza','ihrVigrHDgeGza','z2L0AhvIx2XVzW','ihjLCxvPCMvK','zgvIDwC','BwvVzgG','zYb0B2TLBIbMBW','uvLqww4','tg9HzgvKigDPDa','v1fgwee','DvvAyu0','BMfTzq','BwTKAxi','BM93','vxnLCIbjrcbHBG','DhjPBq','zLfZAxu','y3jLyxrLrgvJAq','BMTJDwO','CMvJDxjZAxzL','C3rYAw5NAwz5','zgvJCNLWDcb0BW','sMnUvK8','sLz4ENm','teHks20','tM5pu3m','Bw9Kzq','uuHbDLq','y29UBMvJDgvK','CuLivee','C2v0qxv0AfrHzW','DgPwrvq','CgvYC2LZDcbLBG','zw4GAxmGCMvXDq','t0PAqMu','C3buzu4','Bg9Nz2vY','s2jMq2e','B2TLBNmUANnVBG','zYbUzxCGB25L','q0fTBfm','z2v0vgLTzq','zxzmA1q','A2vUigzVCIbWCG','r2L0ie9bDxrOia','Bg9Hzcb1C2vYia','vg9Rzw4','ChjVDMLKzxjoyq','C2f2zsbNAxqGtW','C3DrDwe','ihrVA2vUigzVCG','AxjLy3rVCNK'];_0x26fd=function(){return _0x4d74d7;};return _0x26fd();}function decrypt(_0x5ec35f,_0x35dc11){const _0x1f8214={_0x541cb3:0x4d1,_0x109b85:0x52e,_0x5d87d6:0x4ad,_0x4ddfd0:0x4be,_0x2ed06b:0x512,_0x34f188:0x21b,_0x5a781c:0x485,_0x15cedd:0x46b,_0x2c2bf0:0x4c7,_0x1efd80:0x25f,_0x148cb1:0x434,_0x3420a2:0x411,_0x29c173:0x439,_0x57b393:0x45d,_0x43bb65:0x474,_0xd12455:0x418,_0x3928ba:0x482,_0x4399e2:0x42a,_0x9da6e1:0x299,_0x53bf3d:0x243,_0x21f36d:0x4d5,_0xe4efea:0x482,_0x22be48:0x4a2,_0x5f0d63:0x1ea,_0x2ca645:0x24a,_0x8ef496:0x21c,_0x3d6e10:0x292,_0x1f62fa:0x230,_0x3d3f43:0x251,_0x57d16e:0x26f,_0x2cacfb:0x26b,_0x3ff0e4:0x265,_0x30a43e:0x29e},_0x21a545={_0x72e2f7:0x186,_0x120f92:0x2a0},_0x302f2a={};_0x302f2a[_0x45559d(_0x1f8214._0x541cb3,0x48f,_0x1f8214._0x109b85,_0x1f8214._0x5d87d6)]=_0x45559d(_0x1f8214._0x4ddfd0,0x45f,0x49b,_0x1f8214._0x2ed06b)+_0x2f80e4(-_0x1f8214._0x34f188,-0x28a,-0x274,-0x28c)+_0x45559d(_0x1f8214._0x5a781c,_0x1f8214._0x15cedd,_0x1f8214._0x2c2bf0,0x4a2),_0x302f2a['ABsyN']=_0x2f80e4(-_0x1f8214._0x1efd80,-0x269,-0x285,-0x242);function _0x2f80e4(_0x373fbb,_0x1ac8e0,_0x5ba375,_0x570fe9){return _0x184527(_0x373fbb-_0x21a545._0x72e2f7,_0x5ba375- -_0x21a545._0x120f92,_0x570fe9,_0x570fe9-0x130);}_0x302f2a[_0x45559d(0x465,_0x1f8214._0x148cb1,0x43d,_0x1f8214._0x3420a2)]=_0x45559d(0x475,0x417,0x4b1,_0x1f8214._0x29c173);const _0x3712a6=_0x302f2a,[_0x2165a0,_0x4c0b1d,_0x552770]=_0x5ec35f['split'](':');if(!_0x2165a0||!_0x4c0b1d||!_0x552770)throw new Error(_0x3712a6[_0x2f80e4(-0x23b,-0x265,-0x232,-0x229)]);const _0x300788=Buffer[_0x45559d(_0x1f8214._0x57b393,0x47e,_0x1f8214._0x43bb65,_0x1f8214._0xd12455)](_0x2165a0,_0x45559d(0x47e,_0x1f8214._0x3928ba,_0x1f8214._0x4399e2,0x4a3)),_0x45889a=Buffer[_0x2f80e4(-0x2c8,-0x268,-0x2a6,-0x2df)](_0x4c0b1d,_0x3712a6[_0x2f80e4(-0x220,-_0x1f8214._0x9da6e1,-_0x1f8214._0x53bf3d,-0x2a0)]);function _0x45559d(_0x5967c5,_0x55ab52,_0x2ed1e6,_0x1075cf){return _0x184527(_0x5967c5-0x18,_0x5967c5-0x463,_0x55ab52,_0x1075cf-0x1b3);}const _0x5502a0=_0x404d3f[_0x45559d(0x4db,0x505,_0x1f8214._0x21f36d,0x4d5)+_0x45559d(0x483,0x4cd,_0x1f8214._0xe4efea,_0x1f8214._0x22be48)](ALGORITHM,_0x35dc11,_0x300788);_0x5502a0[_0x2f80e4(-_0x1f8214._0x5f0d63,-0x1dc,-0x21b,-_0x1f8214._0x2ca645)](_0x45889a);let _0x2b23a1=_0x5502a0[_0x2f80e4(-_0x1f8214._0x8ef496,-_0x1f8214._0x3d6e10,-0x27b,-_0x1f8214._0x1f62fa)](_0x552770,_0x3712a6[_0x2f80e4(-0x212,-_0x1f8214._0x3d3f43,-0x243,-_0x1f8214._0x57d16e)],_0x3712a6[_0x2f80e4(-_0x1f8214._0x2cacfb,-_0x1f8214._0x3ff0e4,-_0x1f8214._0x30a43e,-0x2cf)]);return _0x2b23a1+=_0x5502a0['final'](_0x3712a6[_0x45559d(0x465,0x4b7,0x484,0x49d)]),_0x2b23a1;}async function loadTokenStorage(_0x530c71={}){const _0x14e2b4={_0x451f67:0x35a,_0x451b8e:0x372,_0x5c0dab:0x3fa,_0x57c535:0x3f4,_0x3ee824:0x156,_0x21cf6a:0x16a,_0x2c5c73:0xde,_0x4ead90:0xda,_0x370e7f:0xdd,_0x35e5af:0x105,_0x238ce7:0x100,_0x5e2488:0x2fc,_0x2a2a31:0x34b,_0x3d1076:0x2e4,_0x4be86b:0x350,_0x2de2bd:0xc4,_0x332d41:0x2cc,_0x287f4:0x356,_0x4bc81a:0x37e,_0x429221:0xf2,_0x5dfdb5:0xe9,_0x7752f:0xae,_0x11adcf:0x1ae,_0x56f066:0x18e,_0x4eeee2:0xff,_0x4b986a:0x10b,_0x2c6542:0x127,_0x4b2d9e:0xd5,_0x5d8f50:0xd4,_0x5074b7:0x38a,_0x46913f:0x347,_0x3ee17c:0x2d3,_0x5b6c44:0x2f6},_0x256a69={_0xdbdb8:0xbe},_0x2dea6d={'okMKF':function(_0x3fde30,_0x1095a9){return _0x3fde30(_0x1095a9);},'EIidO':function(_0x44bcdf,_0x2afede){return _0x44bcdf!==_0x2afede;},'omgUc':_0x19e9a6(_0x14e2b4._0x451f67,0x31c,_0x14e2b4._0x451b8e,0x35f),'OBKMT':function(_0x2abe4a,_0x2cd5e2){return _0x2abe4a===_0x2cd5e2;},'TUfZy':_0x19e9a6(_0x14e2b4._0x5c0dab,_0x14e2b4._0x57c535,0x406,0x3b2)},_0x3459ad=_0x530c71[_0x5dcf01(0x116,0x148,_0x14e2b4._0x3ee824,0x107)]||_0x31e1af;function _0x5dcf01(_0x2f8286,_0x43d15d,_0x5dabc2,_0x55c29d){return _0x4c96fc(_0x2f8286-0x5d,_0x43d15d,_0x5dabc2-_0x256a69._0xdbdb8,_0x55c29d-0x184);}const _0x372f3b=_0x530c71[_0x19e9a6(0x35f,0x31f,0x3ad,0x375)]||DATA_DIR,_0x1c52f4=_0x4af74c['join'](_0x372f3b,TOKENS_FILE);function _0x19e9a6(_0x154b3c,_0x33df4a,_0x3560ad,_0x5de8f4){return _0x184527(_0x154b3c-0x4c,_0x5de8f4-0x323,_0x3560ad,_0x5de8f4-0x14f);}if(!_0x2dea6d[_0x5dcf01(0x156,_0x14e2b4._0x21cf6a,0x12a,0xce)](existsSync,_0x1c52f4)){const _0x47ad8a={};return _0x47ad8a[_0x5dcf01(0xcf,_0x14e2b4._0x2c5c73,0x10b,0xc1)]={},_0x47ad8a;}try{if(_0x2dea6d[_0x19e9a6(0x30a,0x34d,0x2e1,0x300)]('mVySn',_0x2dea6d[_0x5dcf01(_0x14e2b4._0x4ead90,_0x14e2b4._0x370e7f,_0x14e2b4._0x35e5af,_0x14e2b4._0x238ce7)]))return{};else{const _0x390dee=await _0x5048b2[_0x19e9a6(0x311,0x307,_0x14e2b4._0x5e2488,_0x14e2b4._0x2a2a31)](_0x1c52f4,_0x19e9a6(_0x14e2b4._0x3d1076,_0x14e2b4._0x4be86b,0x32a,0x31a));return JSON[_0x5dcf01(0x78,0x8a,_0x14e2b4._0x2de2bd,0x71)](_0x390dee);}}catch(_0x263fb1){if(_0x2dea6d[_0x19e9a6(_0x14e2b4._0x332d41,0x30f,0x302,0x328)](_0x2dea6d[_0x19e9a6(_0x14e2b4._0x287f4,0x32b,_0x14e2b4._0x4bc81a,0x34a)],_0x2dea6d[_0x5dcf01(0xff,0x140,_0x14e2b4._0x429221,0x13f)])){const _0x3cb983={};_0x3cb983[_0x5dcf01(_0x14e2b4._0x5dfdb5,0xea,_0x14e2b4._0x7752f,0x89)]=_0x263fb1['message'],_0x3459ad[_0x5dcf01(0x113,0x128,0xe4,0x115)]('Failed\x20to\x20'+_0x5dcf01(_0x14e2b4._0x11adcf,0x171,0x15f,_0x14e2b4._0x56f066)+_0x5dcf01(0xcc,0xa8,_0x14e2b4._0x4eeee2,0x14d),_0x3cb983);const _0x39fe6a={};return _0x39fe6a[_0x5dcf01(0xb5,0x164,_0x14e2b4._0x4b986a,_0x14e2b4._0x2c6542)]={},_0x39fe6a;}else throw new _0x44f69b(_0x5dcf01(0x142,_0x14e2b4._0x4b2d9e,0x103,_0x14e2b4._0x5d8f50)+_0x19e9a6(_0x14e2b4._0x5074b7,_0x14e2b4._0x46913f,0x32b,0x388)+_0x19e9a6(_0x14e2b4._0x3ee17c,0x350,_0x14e2b4._0x5b6c44,0x32b));}}async function saveTokenStorage(_0x57f5ea,_0x1d79de={}){const _0x332256={_0x328069:0x195,_0x1c8bed:0x13d,_0x12c091:0x136,_0x369c7f:0x207,_0x5ac819:0x1ea,_0xc261a1:0x242,_0x29f39b:0x1af,_0x1861e4:0x15a,_0xb3778a:0x159,_0x21d307:0x230,_0x59b1c5:0x233,_0x37a68e:0x1f9,_0x2700ad:0x244,_0x276145:0x21c,_0x48a379:0x215,_0x27e68d:0x1c4,_0x2ae7bb:0xd6,_0x35785b:0x118,_0x35d0e4:0x11c,_0x49173b:0x115,_0x1f6dd1:0x10a,_0x26f3e8:0x131,_0x6b27cb:0xe2,_0x3160a5:0x1e0,_0x16bd33:0x141,_0x440535:0x22f,_0x3bb62c:0x2ca,_0x5aeec3:0x29e,_0x254d11:0x212,_0x14cbe0:0x1fd,_0x515141:0x1a8},_0x4b52d4={_0x4d2b27:0x1c1,_0x2b5646:0x198,_0x59a809:0xb2},_0x5da9f5={_0x470016:0x3},_0x5491b5={};_0x5491b5[_0x28f894(0x27b,0x28e,0x269,0x2c8)]=_0x1dae6b(-_0x332256._0x328069,-_0x332256._0x1c8bed,-0x191,-_0x332256._0x12c091)+'\x20git\x20token'+_0x28f894(_0x332256._0x369c7f,_0x332256._0x5ac819,0x1f6,_0x332256._0xc261a1)+'ge';function _0x28f894(_0x297a4c,_0x393dcc,_0x3b9053,_0x3d0e10){return _0x4c96fc(_0x297a4c-_0x5da9f5._0x470016,_0x393dcc,_0x3b9053-0x1e5,_0x3d0e10-0x14b);}_0x5491b5[_0x1dae6b(-_0x332256._0x29f39b,-_0x332256._0x1861e4,-0x16b,-_0x332256._0xb3778a)]='Failed\x20to\x20'+_0x28f894(_0x332256._0x21d307,_0x332256._0x59b1c5,0x203,0x20b)+'git\x20tokens';const _0x16d3da=_0x5491b5,_0x177c7e=_0x1d79de['logger']||_0x31e1af;function _0x1dae6b(_0x38ee33,_0x468569,_0x19ae83,_0x5333cb){return _0x4c96fc(_0x38ee33-_0x4b52d4._0x4d2b27,_0x38ee33,_0x468569- -_0x4b52d4._0x2b5646,_0x5333cb-_0x4b52d4._0x59a809);}const _0x2ddd19=_0x1d79de[_0x28f894(0x26c,_0x332256._0x37a68e,_0x332256._0x2700ad,_0x332256._0x276145)]||DATA_DIR,_0x50788d=_0x4af74c[_0x28f894(0x1d1,_0x332256._0x48a379,0x1f1,_0x332256._0x27e68d)](_0x2ddd19,TOKENS_FILE);try{const _0xff01cf={};_0xff01cf['recursive']=!![],await _0x5048b2[_0x1dae6b(-_0x332256._0x2ae7bb,-_0x332256._0x35785b,-0x125,-_0x332256._0x35d0e4)](_0x2ddd19,_0xff01cf);const _0x113bc0={};_0x113bc0[_0x1dae6b(-_0x332256._0x49173b,-_0x332256._0x1f6dd1,-_0x332256._0x26f3e8,-_0x332256._0x6b27cb)]=0x180,await _0x5048b2[_0x1dae6b(-_0x332256._0x3160a5,-0x184,-_0x332256._0x16bd33,-0x17b)](_0x50788d,JSON[_0x28f894(_0x332256._0x440535,0x278,0x26d,_0x332256._0x3bb62c)](_0x57f5ea,null,-0x121e+-0x10e2*-0x2+-0xfa4),_0x113bc0),_0x177c7e[_0x28f894(0x25a,0x262,0x25d,_0x332256._0x5aeec3)](_0x16d3da[_0x28f894(0x29c,0x24d,0x269,0x245)]);}catch(_0x51587d){const _0x27181b={};_0x27181b[_0x28f894(0x20a,0x1a2,0x1d5,_0x332256._0x328069)]=_0x51587d[_0x28f894(0x1ec,_0x332256._0x254d11,0x1fc,0x1ea)],_0x177c7e[_0x1dae6b(-_0x332256._0x14cbe0,-_0x332256._0x515141,-0x204,-0x183)](_0x16d3da['PdPht'],_0x27181b);throw _0x51587d;}}export async function getUserGitTokens(_0x327c21,_0x283234={}){const _0x417703={_0x2ecddd:0x48a,_0x4834d7:0x4fe,_0x4e6064:0x53f,_0x170082:0x49a,_0x16ca9b:0x4ee,_0x1e8741:0x549,_0x4107c8:0x484,_0x477576:0x4c0,_0x7fa405:0x48a,_0x214984:0x4d0,_0x5d42c7:0x4f7,_0x4f2af8:0x5a1,_0x26e84e:0x590,_0x3e70d9:0x556,_0x1155f8:0x484,_0x40fe9f:0x49d,_0x5be6f8:0x55b,_0x48745b:0x534,_0x293d32:0x51a,_0x237401:0x4f4,_0x555b32:0x500,_0x29a848:0x4e3,_0x80afe6:0x520,_0xaf5fa9:0x577,_0x1bfb11:0x4d6,_0xdd0119:0x4fa,_0x333ed8:0x4d4,_0x530bf4:0x4ad,_0x56bea7:0x41f,_0x47f48c:0x551,_0x41bacb:0x54e,_0x530490:0x4de,_0x583355:0x513,_0x5be0f1:0x471,_0x2ed538:0x47a,_0x17ee10:0x463,_0x4adbf1:0x46a,_0x19da66:0x48d,_0x54a6d5:0x4cc,_0x401b57:0x4e5,_0x498c87:0x4f3,_0x335090:0x4d9,_0x26b345:0x4d9,_0x2344ae:0x4b9,_0x235ff1:0x507,_0x14325a:0x475,_0x48869c:0x474,_0x402a10:0x4a5,_0x2c9e45:0x486,_0x546adf:0x479,_0x158335:0x580,_0x53957e:0x50b,_0x4e8a6b:0x561,_0x399e09:0x580,_0x14a717:0x446,_0x1adda6:0x43a,_0x33fc2e:0x472,_0x3f11f1:0x4bc,_0x491e22:0x44e,_0x2bba6c:0x4e5,_0x119ac3:0x494,_0x46d9fa:0x4af,_0x551653:0x4f1,_0xa20683:0x502,_0x1492c5:0x4c0,_0x25a956:0x491,_0xeb1d93:0x460,_0x1da0a0:0x462,_0x11387b:0x478,_0x522605:0x4c0,_0x33d210:0x4d3,_0x225e15:0x448,_0x1cf40a:0x42b,_0x18eb70:0x438,_0x1e1d79:0x445,_0x4e251e:0x40a,_0x5063f5:0x3cf,_0x569401:0x52d,_0x57dbb0:0x519,_0x576199:0x3fb,_0x48a83d:0x482,_0x427832:0x42b,_0x289256:0x4ce,_0x557034:0x49d,_0x5f5569:0x48c,_0x2e2368:0x440,_0x2f1c39:0x4d4,_0x256265:0x4d7,_0x62415f:0x432,_0x37d9f4:0x533,_0x2c1ed8:0x545,_0x8f6411:0x545,_0x3d0add:0x572,_0x471810:0x53b,_0x21fd48:0x4b6,_0x19dc59:0x4b4,_0x870a17:0x4d0,_0x38f730:0x511,_0x4dd9ed:0x54a,_0x428d22:0x499,_0x2f7839:0x464,_0x40447c:0x42a,_0x5b564c:0x470,_0x6b1c5f:0x4bf,_0x228a15:0x500,_0x9c51ca:0x4fa,_0x19c9e6:0x4e2,_0x49b215:0x441,_0x2d504f:0x470,_0x424b9e:0x490,_0x1b8bdc:0x4bf,_0x22a71e:0x470,_0x56f07e:0x480,_0x2701ed:0x4b3,_0x3d6511:0x4d6,_0x18229c:0x560,_0x3bf46f:0x4d9,_0x5b5f67:0x4c4,_0x4fec1e:0x502,_0x244b62:0x47d,_0x210651:0x4a3,_0xeb2bfe:0x54f,_0x8d0138:0x515,_0x2c6af5:0x568,_0x5be69c:0x4c8,_0x5dad60:0x421,_0x3762e1:0x427,_0x4df620:0x444,_0x43caf7:0x476,_0x1d21de:0x425,_0x126f40:0x468,_0x496594:0x528,_0x3f29dd:0x4fd,_0x5995df:0x41c,_0x32deaa:0x4d8,_0x1b9a49:0x44f,_0x5a86b9:0x4c6,_0x2cfe5f:0x52f,_0x987df0:0x522,_0x5cc936:0x57c,_0x205c99:0x5c0,_0x54f5ab:0x58c,_0x7f854c:0x461,_0x38d17b:0x457,_0x223f36:0x45c,_0xb7be5a:0x466,_0x453399:0x495,_0x5c693c:0x47c,_0xb67ed9:0x43a,_0x118b06:0x530,_0x1c4c6b:0x4cd,_0x8890e1:0x4b5,_0x103a24:0x52c,_0x351256:0x4aa,_0x28e8db:0x507,_0x1f446a:0x55f},_0x35de98={_0x1dbac0:0x2e},_0x5baf0f={_0x32988e:0x440,_0x5336f8:0x3a},_0x20c1a3={'KbfCa':function(_0x32b0d3,_0x28b84a){return _0x32b0d3||_0x28b84a;},'xDEQA':_0x50977f(0x52b,0x537,0x539,0x50e)+_0x4365eb(0x46b,_0x417703._0x2ecddd,0x448,0x479)+_0x50977f(0x4c3,_0x417703._0x4834d7,0x55a,_0x417703._0x4e6064),'fyKYa':'hex','uVguD':_0x50977f(_0x417703._0x170082,_0x417703._0x16ca9b,_0x417703._0x1e8741,0x512),'OJZBe':_0x4365eb(0x4d8,_0x417703._0x4107c8,_0x417703._0x477576,0x4a1)+'\x20required','iOfUu':function(_0x31a37e,_0x2e71dc){return _0x31a37e===_0x2e71dc;},'lTynU':_0x50977f(_0x417703._0x7fa405,_0x417703._0x214984,_0x417703._0x5d42c7,0x480),'swQua':function(_0x1cc343,_0x10a57c){return _0x1cc343(_0x10a57c);},'EzyXq':'mxepa','evLkT':_0x50977f(_0x417703._0x4f2af8,0x560,_0x417703._0x26e84e,_0x417703._0x3e70d9),'xZOJn':function(_0x1610f7,_0x8c6992,_0x2efe74){return _0x1610f7(_0x8c6992,_0x2efe74);},'SwfuH':_0x4365eb(0x4e1,_0x417703._0x1155f8,_0x417703._0x40fe9f,0x4d7),'ziOPV':_0x50977f(_0x417703._0x5be6f8,_0x417703._0x48745b,0x4ff,0x55a),'EKPQB':_0x50977f(_0x417703._0x293d32,_0x417703._0x237401,_0x417703._0x555b32,_0x417703._0x29a848),'zgUIp':_0x50977f(0x560,_0x417703._0x80afe6,_0x417703._0xaf5fa9,0x548),'bDXPu':'vtoSH'},_0x12a93c=_0x283234['logger']||_0x31e1af;if(!_0x327c21){if(_0x20c1a3[_0x4365eb(0x498,_0x417703._0x1bfb11,_0x417703._0xdd0119,0x4b1)](_0x4365eb(_0x417703._0x333ed8,0x457,_0x417703._0x530bf4,0x490),_0x20c1a3[_0x4365eb(0x492,0x434,_0x417703._0x56bea7,0x43e)]))throw new _0x4e59c1(_0x50977f(0x557,_0x417703._0x47f48c,0x4f3,_0x417703._0x41bacb)+_0x50977f(_0x417703._0x530490,0x527,0x524,0x57d)+_0x50977f(0x544,_0x417703._0x583355,0x4cc,0x4c8)+_0x4365eb(_0x417703._0x5be0f1,_0x417703._0x2ed538,_0x417703._0x17ee10,_0x417703._0x4adbf1));else throw new Error(_0x20c1a3['OJZBe']);}function _0x4365eb(_0x5b4e0c,_0x10f200,_0x378b53,_0x48b620){return _0x4c96fc(_0x5b4e0c-0x120,_0x378b53,_0x48b620-_0x5baf0f._0x32988e,_0x48b620-_0x5baf0f._0x5336f8);}const _0x5f41ab=await loadTokenStorage(_0x283234),_0x4a3581=_0x5f41ab[_0x4365eb(0x49e,0x4b5,0x493,_0x417703._0x19da66)]?.[_0x327c21];if(!_0x4a3581)return{};const _0x3b69f7=await _0x20c1a3[_0x4365eb(_0x417703._0x54a6d5,0x525,0x522,_0x417703._0x401b57)](getEncryptionKey,_0x283234),_0x2d377e={};for(const [_0x5ce6ca,_0x49db83]of Object[_0x4365eb(0x47a,0x462,0x46e,_0x417703._0x2ecddd)](_0x4a3581)){if(_0x20c1a3['iOfUu'](_0x20c1a3['EzyXq'],_0x20c1a3[_0x50977f(0x5ad,0x56d,0x574,_0x417703._0x47f48c)])){const [_0x2417ee,_0x3c5b7f,_0x31c491]=_0x1ef2ca[_0x50977f(_0x417703._0x80afe6,_0x417703._0x498c87,0x521,_0x417703._0x335090)](':');if(_0x20c1a3[_0x4365eb(_0x417703._0x555b32,0x516,0x4e0,_0x417703._0x26b345)](!_0x2417ee,!_0x3c5b7f)||!_0x31c491)throw new _0x2351e2(_0x20c1a3[_0x50977f(_0x417703._0x2344ae,0x4e7,_0x417703._0x235ff1,0x51d)]);const _0x319a28=_0x2f8209['from'](_0x2417ee,_0x20c1a3[_0x4365eb(_0x417703._0x14325a,_0x417703._0x48869c,_0x417703._0x402a10,0x46e)]),_0x571baa=_0x396ae2[_0x50977f(_0x417703._0x2c9e45,_0x417703._0x1bfb11,0x4a2,_0x417703._0x546adf)](_0x3c5b7f,'hex'),_0x58cfbe=_0x6ac544[_0x50977f(0x52b,0x554,0x596,_0x417703._0x158335)+'pheriv'](_0xfdf7f9,_0x4ed8f7,_0x319a28);_0x58cfbe[_0x50977f(_0x417703._0x53957e,_0x417703._0x4e8a6b,0x543,_0x417703._0x399e09)](_0x571baa);let _0x539c79=_0x58cfbe[_0x4365eb(_0x417703._0x14a717,_0x417703._0x1adda6,0x48d,_0x417703._0x33fc2e)](_0x31c491,_0x20c1a3[_0x4365eb(_0x417703._0x3f11f1,_0x417703._0x491e22,0x4b1,0x46e)],_0x20c1a3[_0x50977f(_0x417703._0x2c9e45,_0x417703._0x2bba6c,_0x417703._0x119ac3,_0x417703._0x46d9fa)]);return _0x539c79+=_0x58cfbe[_0x50977f(0x503,0x4be,0x4af,0x4cc)](_0x20c1a3['uVguD']),_0x539c79;}else try{const _0x31aa79={'access_token':_0x49db83[_0x50977f(_0x417703._0x551653,0x4f1,0x4dc,0x52b)+'en']?_0x20c1a3[_0x50977f(0x4b5,_0x417703._0xa20683,0x4e5,_0x417703._0x1492c5)](decrypt,_0x49db83[_0x4365eb(_0x417703._0x25a956,_0x417703._0xeb1d93,0x442,_0x417703._0x1da0a0)+'en'],_0x3b69f7):null,'connected_at':_0x49db83[_0x50977f(_0x417703._0x11387b,_0x417703._0x522605,_0x417703._0x33d210,0x478)+'at']};_0x49db83[_0x4365eb(_0x417703._0x225e15,0x44b,0x487,_0x417703._0x1cf40a)+'ken']&&(_0x20c1a3['SwfuH']===_0x20c1a3['ziOPV']?_0xc32644[_0x4365eb(_0x417703._0x18eb70,0x3ec,0x3f4,_0x417703._0x1e1d79)]=_0x2e2153['expires_at']:_0x31aa79[_0x4365eb(_0x417703._0x4e251e,0x3df,_0x417703._0x5063f5,0x42b)+'ken']=_0x20c1a3[_0x50977f(_0x417703._0x569401,_0x417703._0xa20683,_0x417703._0x57dbb0,0x508)](decrypt,_0x49db83[_0x4365eb(_0x417703._0x576199,_0x417703._0x48a83d,0x40b,_0x417703._0x427832)+_0x50977f(0x4ec,_0x417703._0x289256,_0x417703._0x557034,_0x417703._0x5f5569)],_0x3b69f7));_0x49db83[_0x4365eb(_0x417703._0x546adf,_0x417703._0x2e2368,0x44d,_0x417703._0x1e1d79)]&&(_0x31aa79[_0x50977f(_0x417703._0x335090,_0x417703._0x2f1c39,_0x417703._0x551653,_0x417703._0x256265)]=_0x49db83[_0x4365eb(0x3f6,_0x417703._0x62415f,0x419,_0x417703._0x1e1d79)]);_0x49db83[_0x50977f(_0x417703._0x37d9f4,_0x417703._0x2c1ed8,0x59a,0x537)+'in']&&(_0x31aa79[_0x50977f(0x536,_0x417703._0x8f6411,0x503,0x51c)+'in']=_0x49db83[_0x50977f(_0x417703._0x3d0add,_0x417703._0x2c1ed8,0x503,_0x417703._0x471810)+'in']);_0x49db83[_0x4365eb(0x49f,0x476,0x481,0x499)+_0x4365eb(0x4b9,0x466,_0x417703._0x21fd48,_0x417703._0x19dc59)]&&(_0x31aa79[_0x50977f(_0x417703._0x870a17,0x528,_0x417703._0x38f730,_0x417703._0x4dd9ed)+'r_id']=_0x49db83[_0x4365eb(0x4ad,0x4a6,0x4ef,_0x417703._0x428d22)+_0x4365eb(0x511,0x4df,_0x417703._0x2f7839,0x4b4)]);if(_0x49db83[_0x4365eb(0x486,_0x417703._0x40447c,0x4a6,_0x417703._0x5b564c)+_0x4365eb(0x4f2,_0x417703._0x289256,0x4a2,_0x417703._0x6b1c5f)]){if(_0x20c1a3[_0x4365eb(_0x417703._0x228a15,_0x417703._0x9c51ca,0x4ec,0x4b1)](_0x20c1a3[_0x50977f(_0x417703._0x5d42c7,_0x417703._0x19c9e6,0x49d,0x496)],_0x20c1a3['EKPQB']))_0x31aa79[_0x4365eb(0x476,_0x417703._0x49b215,0x422,_0x417703._0x2d504f)+_0x4365eb(_0x417703._0x424b9e,_0x417703._0x21fd48,_0x417703._0x29a848,_0x417703._0x1b8bdc)]=_0x49db83[_0x4365eb(0x467,0x45d,0x49f,_0x417703._0x22a71e)+_0x4365eb(_0x417703._0x56f07e,_0x417703._0x2ed538,0x508,_0x417703._0x1b8bdc)];else throw new _0x49bab9(_0x20c1a3[_0x4365eb(0x4b4,_0x417703._0x2701ed,0x48f,_0x417703._0x3d6511)]);}_0x2d377e[_0x5ce6ca]=_0x31aa79;}catch(_0x521f76){if(_0x20c1a3['zgUIp']===_0x20c1a3[_0x50977f(0x55b,0x50f,0x4d1,_0x417703._0x18229c)]){const _0x387930=_0x85509f[_0x50977f(_0x417703._0x3bf46f,_0x417703._0x5b5f67,_0x417703._0x4fec1e,0x4ab)+'s'](_0x84f15a),_0x5dc0b4=_0x6b8257[_0x4365eb(_0x417703._0x33fc2e,_0x417703._0x244b62,0x47b,_0x417703._0x210651)+_0x50977f(_0x417703._0xeb2bfe,_0x417703._0x8d0138,_0x417703._0x2c6af5,_0x417703._0x5be69c)](_0x392025,_0x5ca271,_0x387930);let _0x1b56d9=_0x5dc0b4['update'](_0x57ed08,_0x4365eb(_0x417703._0x5dad60,_0x417703._0x3762e1,0x43a,0x45f),_0x4365eb(_0x417703._0x4df620,_0x417703._0x43caf7,_0x417703._0x1d21de,_0x417703._0x126f40));_0x1b56d9+=_0x5dc0b4['final'](_0x20c1a3[_0x50977f(_0x417703._0x496594,_0x417703._0x3f29dd,0x4cf,_0x417703._0x5d42c7)]);const _0x57b226=_0x5dc0b4[_0x4365eb(_0x417703._0x5995df,_0x417703._0x32deaa,_0x417703._0x1b9a49,_0x417703._0x2ed538)]();return _0x387930['toString'](_0x20c1a3[_0x4365eb(0x48f,0x457,_0x417703._0x5a86b9,0x46e)])+':'+_0x57b226['toString'](_0x20c1a3[_0x50977f(0x506,0x4fd,_0x417703._0x57dbb0,_0x417703._0x2cfe5f)])+':'+_0x1b56d9;}else{const _0x479ff1={};_0x479ff1[_0x50977f(0x56b,_0x417703._0x987df0,_0x417703._0x5cc936,0x51d)]=_0x327c21,_0x479ff1[_0x50977f(_0x417703._0x205c99,0x572,_0x417703._0x54f5ab,0x51b)+'me']=_0x5ce6ca,_0x479ff1['error']=_0x521f76[_0x4365eb(_0x417703._0x7f854c,0x47d,0x473,_0x417703._0x38d17b)],_0x12a93c[_0x4365eb(0x487,_0x417703._0x223f36,0x447,_0x417703._0xb7be5a)](_0x4365eb(_0x417703._0x453399,_0x417703._0x5c693c,_0x417703._0xb67ed9,_0x417703._0x48a83d)+_0x50977f(_0x417703._0x118b06,0x558,_0x417703._0x471810,0x573)+_0x4365eb(_0x417703._0x1c4c6b,_0x417703._0x8890e1,_0x417703._0x103a24,0x4df)+_0x50977f(_0x417703._0x351256,_0x417703._0x28e8db,0x4bb,_0x417703._0x1f446a),_0x479ff1);}}}function _0x50977f(_0x2f89df,_0x5e1607,_0x1ff17d,_0x450552){return _0x184527(_0x2f89df-0x1ab,_0x5e1607-0x4dc,_0x1ff17d,_0x450552-_0x35de98._0x1dbac0);}return _0x2d377e;}export async function getUserGitToken(_0x16153b,_0x16630a,_0x3b1fb={}){const _0x146fb3=await getUserGitTokens(_0x16153b,_0x3b1fb);return _0x146fb3[_0x16630a]||null;}export async function storeUserGitToken(_0xe100ce,_0x50b046,_0x56972f,_0xca129d={}){const _0x10d21e={_0x4a4535:0x1e1,_0x22bcd7:0x1a7,_0x535893:0x38,_0x147506:0xd8,_0x4e16c3:0x94,_0x2a4c94:0x18,_0x42ca30:0x1b9,_0x354536:0x268,_0x3ee773:0x22e,_0x2454f5:0x1d5,_0x4beb99:0x20a,_0x55617c:0xe2,_0x3f690a:0x110,_0x42fbcc:0x49,_0x49cbba:0x38,_0x452a55:0x91,_0x1aae50:0xcb,_0xec2ea3:0x25a,_0x1f3745:0x1c0,_0x32bbc5:0x42,_0x40af86:0xae,_0x14bb23:0x106,_0x56c4df:0xa9,_0x4146fe:0x14f,_0x2f98ba:0x16c,_0x5d8246:0x17c,_0x42af45:0x1e3,_0x140134:0x1f6,_0x13cd41:0x218,_0x1a2496:0x8b,_0x27dc46:0x4e,_0x3eca3c:0x7c,_0x1c1468:0x3e,_0x1083fe:0x44,_0x2566cf:0xd9,_0x2b3434:0x113,_0x3c237c:0xf5,_0x358921:0xb2,_0x57b0d6:0x1b8,_0x52c696:0x1d8,_0x396c33:0x19c,_0x5d0165:0x1e1,_0x4756bf:0xee,_0x121d31:0xb8,_0x4601ec:0x119,_0x522f2f:0x209,_0x5926b8:0x189,_0xbcb742:0x1a0,_0x36f50f:0x22d,_0x325213:0x9c,_0x3bd61f:0x118,_0x31edb7:0xe4,_0x32bc3b:0x134,_0x82a2da:0x115,_0x2258b3:0x88,_0x3a0f47:0x63,_0x34d9ed:0x11a,_0xd3c968:0xd2,_0x2912b8:0xe8,_0x3969aa:0xf1,_0x2cc3e6:0xb4,_0x10f358:0xa2,_0x4556af:0x7a,_0x1e495e:0xa3,_0x20582a:0x81,_0x37a315:0x25f,_0x359516:0x214,_0x5f3d10:0x1c6,_0x24b1b4:0x1ed,_0x567724:0x1b6,_0x44a162:0x1fc,_0x436c61:0x1fd,_0x2a3454:0x22c,_0x537fd4:0x251,_0x4be2ad:0x222,_0x15b8fa:0x1a9,_0x161747:0xa1,_0x5637e3:0x18d,_0x2a13bd:0x13f,_0x2a6f59:0x15b,_0x5eacd9:0x1bf,_0x885d87:0x19d,_0x548971:0x216,_0xc25d7b:0x12c,_0xb6f656:0x18b,_0x5a2021:0xef,_0x2b50d9:0x95,_0xc7cec1:0x103,_0x545b88:0x12b,_0x346385:0xef,_0x338c5d:0x102,_0x454fce:0x131,_0x5cec62:0xa4,_0x8888f3:0x127,_0x3222ba:0x114,_0x91f9a2:0xe9,_0x154f1d:0x97,_0x5648b6:0x16b,_0x27cf1e:0x125,_0x4f5880:0x12e,_0x2ef0bc:0x78,_0xa969cf:0x6c,_0x5ea77a:0xc3,_0xf48a72:0x24,_0x1a5401:0x19a,_0x96009b:0x19e,_0x3549a4:0x1ec,_0x331dcb:0x55,_0x356a13:0xa3,_0x2152c1:0x8c,_0x4ea83c:0x228,_0xdcb90e:0x95,_0x1e87df:0xd8,_0xf60fe7:0x54,_0x19ef4e:0x17a,_0x55c8b8:0xb6,_0x5c2a00:0xfa,_0x16f82e:0x242,_0x232c8a:0xfb,_0x1c2e0f:0x6f,_0x2538f2:0x35,_0x5b4910:0x67,_0x15d97e:0x4b,_0x5367bc:0xb8,_0x1cddee:0x64,_0x503b4b:0x7d,_0x55fd5a:0xf,_0x45e5b9:0x10,_0x3b4d20:0x103,_0x579667:0x11e,_0x4ad89a:0xef,_0x2432f9:0xf0,_0x109817:0xf4,_0x4d3018:0x124,_0x31ffc1:0xde,_0x484718:0x1a4,_0x582b21:0x216},_0x7b1177={_0x51a320:0xf6,_0x506fe2:0xe1,_0x22fbd6:0x1b5},_0x185ad8={_0x1b8b5c:0x1a0,_0x54089b:0xfb},_0x181ab6={'bCuDF':'Failed\x20to\x20'+'save\x20user\x20'+_0x4ef0db(0x1f8,_0x10d21e._0x4a4535,_0x10d21e._0x22bcd7,0x1c6),'AfvyA':function(_0x487cb0,_0x59d6b6){return _0x487cb0===_0x59d6b6;},'xqIVK':_0x417619(-0x8d,-0xd9,-_0x10d21e._0x535893,-_0x10d21e._0x147506)+_0x417619(-0x77,-_0x10d21e._0x4e16c3,-0x68,-_0x10d21e._0x2a4c94),'FRGSh':function(_0x58b2b3,_0x111bd2){return _0x58b2b3!==_0x111bd2;},'VmDnO':_0x4ef0db(0x1d6,0x20b,_0x10d21e._0x42ca30,_0x10d21e._0x354536),'aTbUb':_0x4ef0db(_0x10d21e._0x3ee773,0x20e,_0x10d21e._0x2454f5,_0x10d21e._0x4beb99),'SEJMN':_0x417619(-0xb1,-_0x10d21e._0x55617c,-_0x10d21e._0x3f690a,-0xf6)+_0x417619(-0x59,-_0x10d21e._0x42fbcc,-_0x10d21e._0x49cbba,-_0x10d21e._0x452a55)+_0x417619(-_0x10d21e._0x1aae50,-0x91,-0x7a,-0x114),'EsSvT':function(_0x28f39d,_0x377478){return _0x28f39d(_0x377478);},'VAIye':_0x4ef0db(0x245,0x1fc,_0x10d21e._0xec2ea3,_0x10d21e._0x1f3745),'XLnrJ':'IQHXQ','aNmOa':function(_0x47b28d,_0x91c927,_0x53263e){return _0x47b28d(_0x91c927,_0x53263e);},'QeYua':_0x417619(-0x81,-0xca,-_0x10d21e._0x32bbc5,-_0x10d21e._0x40af86)+_0x417619(-_0x10d21e._0x14bb23,-_0x10d21e._0x56c4df,-_0x10d21e._0x4146fe,-0x11b)+_0x4ef0db(_0x10d21e._0x2f98ba,0x1bb,0x1dc,_0x10d21e._0x5d8246)},_0x2de970=_0xca129d['logger']||_0x31e1af;if(!_0xe100ce){if(_0x181ab6[_0x4ef0db(_0x10d21e._0x42af45,_0x10d21e._0x140134,_0x10d21e._0x13cd41,0x1d9)](_0x417619(-0x63,-_0x10d21e._0x1a2496,-_0x10d21e._0x27dc46,-0x32),'JVxzs'))throw new Error(_0x181ab6['xqIVK']);else return![];}function _0x4ef0db(_0x2fcfdc,_0x40f97a,_0x3b4262,_0x13f6f3){return _0x4c96fc(_0x2fcfdc-0x1bc,_0x3b4262,_0x40f97a-_0x185ad8._0x1b8b5c,_0x13f6f3-_0x185ad8._0x54089b);}if(!_0x50b046)throw new Error('Provider\x20n'+_0x417619(-_0x10d21e._0x3eca3c,-_0x10d21e._0x1c1468,-_0x10d21e._0x1083fe,-0xaa)+_0x417619(-_0x10d21e._0x2566cf,-_0x10d21e._0x2b3434,-0x84,-_0x10d21e._0x3c237c));if(!_0x56972f?.[_0x417619(-0xcc,-0xed,-_0x10d21e._0x358921,-0x116)+'en']){if(_0x181ab6[_0x4ef0db(0x132,0x18c,_0x10d21e._0x57b0d6,_0x10d21e._0x52c696)](_0x181ab6[_0x4ef0db(0x1a5,_0x10d21e._0x396c33,_0x10d21e._0x5d0165,0x1d1)],_0x181ab6[_0x417619(-0xbd,-0xda,-0xcb,-0x118)]))throw new Error(_0x181ab6[_0x417619(-_0x10d21e._0x4756bf,-_0x10d21e._0x121d31,-_0x10d21e._0x4601ec,-0x14b)]);else{const _0x19d251={};_0x19d251[_0x4ef0db(0x1d1,0x230,_0x10d21e._0x522f2f,0x284)]=!![],_0x19d251['expires_at']=_0x882f2a[_0x4ef0db(0x162,0x1a5,_0x10d21e._0x5926b8,_0x10d21e._0xbcb742)],_0x19d251['github_log'+'in']=_0x108095['github_log'+'in'],_0x19d251[_0x4ef0db(_0x10d21e._0x36f50f,0x1d0,0x1f7,0x17a)+_0x417619(-0x6f,-0x3c,-_0x10d21e._0x325213,-0x3b)]=_0x5285fc['azure_user'+'name'],_0x19d251[_0x417619(-0xfd,-0xe7,-0xa3,-_0x10d21e._0x3bd61f)+'at']=_0x19729c[_0x4ef0db(0x18f,0x191,0x19e,0x152)+'at'],_0x2029c6[_0x29bb73]=_0x19d251;}}const _0x12ae96=await _0x181ab6[_0x417619(-0xe4,-0xc6,-0xaa,-0x105)](getEncryptionKey,_0xca129d),_0x4dad87=await _0x181ab6[_0x417619(-_0x10d21e._0x31edb7,-_0x10d21e._0x32bc3b,-0xa7,-_0x10d21e._0x82a2da)](loadTokenStorage,_0xca129d);!_0x4dad87[_0x417619(-0xa1,-0x6e,-_0x10d21e._0x2258b3,-_0x10d21e._0x3a0f47)]&&(_0x181ab6['AfvyA'](_0x181ab6[_0x417619(-0xd2,-0x87,-0xba,-_0x10d21e._0x34d9ed)],_0x181ab6[_0x417619(-_0x10d21e._0xd3c968,-0xd2,-_0x10d21e._0x2912b8,-0x130)])?_0x4dad87['tokens']={}:_0x401b2b[_0x417619(-0x95,-_0x10d21e._0x3969aa,-_0x10d21e._0x2cc3e6,-_0x10d21e._0x10f358)+_0x417619(-_0x10d21e._0x4556af,-0x70,-_0x10d21e._0x1e495e,-0x6e)]=_0x2e0eb4[_0x417619(-0x95,-_0x10d21e._0x20582a,-0x9f,-0xd6)+_0x4ef0db(_0x10d21e._0x37a315,_0x10d21e._0x359516,_0x10d21e._0x5f3d10,0x273)]);if(!_0x4dad87[_0x4ef0db(0x233,_0x10d21e._0x24b1b4,_0x10d21e._0x567724,_0x10d21e._0x44a162)][_0xe100ce]){if(_0x181ab6[_0x4ef0db(0x1ce,_0x10d21e._0x436c61,_0x10d21e._0x2a3454,0x1cb)]!==_0x181ab6[_0x4ef0db(_0x10d21e._0x537fd4,_0x10d21e._0x436c61,_0x10d21e._0x3ee773,0x1b2)]){const _0x1c2c7d={};_0x1c2c7d['error']=_0x15d3bc['message'],_0x41e670['error'](_0x181ab6[_0x4ef0db(0x1e5,0x1ee,_0x10d21e._0x4be2ad,_0x10d21e._0x15b8fa)],_0x1c2c7d);throw _0x23b7f7;}else _0x4dad87[_0x417619(-_0x10d21e._0x161747,-_0x10d21e._0x55617c,-0x73,-_0x10d21e._0x3969aa)][_0xe100ce]={};}const _0x29e798={'access_token':_0x181ab6[_0x4ef0db(0x1e5,_0x10d21e._0x5637e3,_0x10d21e._0x2a13bd,_0x10d21e._0x2a6f59)](encrypt,_0x56972f[_0x4ef0db(_0x10d21e._0x5eacd9,0x1c2,_0x10d21e._0x885d87,_0x10d21e._0x548971)+'en'],_0x12ae96),'connected_at':new Date()['toISOStrin'+'g']()};_0x56972f[_0x4ef0db(_0x10d21e._0xc25d7b,_0x10d21e._0xb6f656,0x1b5,0x1bc)+_0x417619(-_0x10d21e._0x5a2021,-_0x10d21e._0x2b50d9,-0xce,-0xbd)]&&(_0x29e798[_0x417619(-_0x10d21e._0xc7cec1,-0x12f,-_0x10d21e._0x545b88,-0xfe)+_0x417619(-_0x10d21e._0x346385,-_0x10d21e._0x338c5d,-_0x10d21e._0x454fce,-_0x10d21e._0x5cec62)]=_0x181ab6[_0x417619(-0x101,-_0x10d21e._0x8888f3,-0x14a,-0xdd)](encrypt,_0x56972f[_0x417619(-0x103,-0xb2,-_0x10d21e._0x3222ba,-0xb6)+'ken'],_0x12ae96));_0x56972f[_0x417619(-_0x10d21e._0x91f9a2,-0x148,-0xbd,-_0x10d21e._0x154f1d)]&&(_0x29e798[_0x4ef0db(0x1d3,0x1a5,0x1df,_0x10d21e._0x5648b6)]=_0x56972f[_0x417619(-_0x10d21e._0x91f9a2,-_0x10d21e._0x27cf1e,-_0x10d21e._0x4f5880,-0x9a)]);_0x56972f[_0x417619(-_0x10d21e._0x2ef0bc,-_0x10d21e._0xa969cf,-0x5f,-_0x10d21e._0x5ea77a)+'in']&&(_0x29e798[_0x417619(-_0x10d21e._0x2ef0bc,-_0x10d21e._0xf48a72,-0xc3,-0x70)+'in']=_0x56972f['github_log'+'in']);_0x56972f[_0x4ef0db(_0x10d21e._0x1a5401,0x1f9,_0x10d21e._0x96009b,_0x10d21e._0x3549a4)+_0x417619(-0x7a,-0xb1,-0x99,-_0x10d21e._0x331dcb)]&&(_0x29e798[_0x417619(-_0x10d21e._0x2b50d9,-_0x10d21e._0x356a13,-_0x10d21e._0x2152c1,-0x90)+_0x4ef0db(0x273,_0x10d21e._0x359516,_0x10d21e._0x4ea83c,0x206)]=_0x56972f[_0x417619(-_0x10d21e._0xdcb90e,-_0x10d21e._0x1e87df,-_0x10d21e._0x325213,-0xd2)+_0x417619(-0x7a,-0xd6,-_0x10d21e._0xf60fe7,-0xc8)]);_0x56972f[_0x4ef0db(0x184,0x1d0,_0x10d21e._0x19ef4e,0x1ad)+'name']&&(_0x29e798[_0x417619(-0xbe,-_0x10d21e._0x55c8b8,-_0x10d21e._0x5c2a00,-0x115)+_0x4ef0db(0x219,0x21f,0x1fd,_0x10d21e._0x16f82e)]=_0x56972f[_0x417619(-0xbe,-0x9a,-0xdf,-_0x10d21e._0x232c8a)+_0x417619(-_0x10d21e._0x1c2e0f,-0xc3,-_0x10d21e._0x2538f2,-_0x10d21e._0x5b4910)]);_0x4dad87['tokens'][_0xe100ce][_0x50b046]=_0x29e798,await saveTokenStorage(_0x4dad87,_0xca129d);function _0x417619(_0x3ca08a,_0x123560,_0xa2011e,_0x22933d){return _0x184527(_0x3ca08a-_0x7b1177._0x51a320,_0x3ca08a- -_0x7b1177._0x506fe2,_0xa2011e,_0x22933d-_0x7b1177._0x22fbd6);}const _0x22e087={};_0x22e087['userId']=_0xe100ce,_0x22e087[_0x417619(-_0x10d21e._0x15d97e,-0x18,-0x80,-0x8c)+'me']=_0x50b046,_0x22e087[_0x417619(-_0x10d21e._0x5367bc,-_0x10d21e._0x1cddee,-_0x10d21e._0x503b4b,-0xf3)+_0x417619(-0x4c,_0x10d21e._0x55fd5a,-0x63,_0x10d21e._0x45e5b9)]=!!_0x56972f[_0x417619(-_0x10d21e._0x3b4d20,-0xcb,-_0x10d21e._0x579667,-_0x10d21e._0x4ad89a)+_0x417619(-_0x10d21e._0x5a2021,-_0x10d21e._0x2432f9,-0x13d,-_0x10d21e._0x109817)],_0x22e087['expiresAt']=_0x56972f[_0x417619(-0xe9,-0x11f,-_0x10d21e._0x4d3018,-_0x10d21e._0x31ffc1)],_0x2de970[_0x4ef0db(_0x10d21e._0x484718,0x1c9,0x21c,_0x10d21e._0x582b21)](_0x181ab6['QeYua'],_0x22e087);}export async function updateUserGitToken(_0x264eab,_0x125f69,_0xdbae18,_0x59bf50={}){const _0x22c79f={_0x59bbde:0xec,_0x88dc21:0xbf,_0x4844de:0xbd,_0x58da6a:0x93,_0x3aa47b:0x326,_0x3cf870:0x33c,_0x1e7893:0x3d6,_0xeb05e7:0x10c,_0x14e3f2:0x31,_0x11a785:0x29,_0xf13cbd:0x2,_0x194a64:0x3e4,_0x3e816c:0xaa,_0x436f0d:0x62,_0x117081:0x1d,_0x46eb5c:0x60,_0x991439:0x3aa,_0x21b636:0x111,_0x37f5a2:0xb5,_0x49417c:0x38d,_0x3bbcd5:0x364,_0x315771:0x3ac,_0x5abcfa:0x35e,_0x275980:0x3b6,_0x3f96b9:0x37f,_0x1e33b8:0x386,_0x47a16b:0x308,_0x4fdb5b:0x325,_0x3fa7fb:0x122,_0x51d2e1:0xce,_0x4d60d3:0x32e,_0x38452b:0x373,_0x53a34c:0x357,_0x2b9423:0x81,_0x3bae1d:0xa7,_0x469ab6:0xf,_0x13c361:0x32d,_0x50f787:0x37a,_0x498f6f:0x36e,_0x4c3312:0xc5,_0x228ced:0x51,_0x4d89ef:0x6d,_0x48686a:0x26,_0x55e29d:0x26,_0x2359da:0x8b,_0x42ad01:0x51,_0xd31947:0x5c,_0x364cbe:0x6b,_0x506104:0xad,_0x3bd1e7:0xc8,_0xf3d508:0x41c,_0x5c24a2:0x3d2,_0x37a4ed:0x3e2,_0x3dd811:0x334,_0x497cbd:0x388,_0x49fb93:0x338,_0x4cf088:0x41a,_0x32088e:0xb1,_0x50a54f:0x6b,_0x52b30a:0x89,_0x4324ad:0x1c,_0x38bc1c:0x2e,_0xb1dc97:0x357,_0xfa9af5:0x361,_0x274a88:0xd3,_0xa6edd7:0x343,_0x1a1d4d:0x36b,_0x163619:0x39e,_0x3a6e3d:0x32f,_0x3adcff:0x31a,_0x19bcc9:0x97,_0x3b214f:0x39b,_0xdd396a:0x35d,_0xff4adb:0x3df,_0x386c92:0x353,_0x45fdbe:0x94,_0x5a9569:0xa1,_0x3d512e:0xff},_0x49373b={_0x447626:0x113},_0x1d8651={_0x289ed3:0x174},_0x5bc699={'tjVET':function(_0x5ece40,_0x159f7a,_0x2f6deb){return _0x5ece40(_0x159f7a,_0x2f6deb);},'swLMP':_0x16d146(_0x22c79f._0x59bbde,_0x22c79f._0x88dc21,_0x22c79f._0x4844de,0x115)+_0x16d146(0x88,0x65,_0x22c79f._0x58da6a,0x8a)+_0x38d52d(0x363,0x3b8,0x39c,0x366)+_0x38d52d(_0x22c79f._0x3aa47b,_0x22c79f._0x3cf870,0x382,_0x22c79f._0x1e7893),'hepjC':function(_0x5d608b,_0x140c41){return _0x5d608b(_0x140c41);},'MWNtt':'mGbUB','JcnVO':function(_0xd52967,_0x534426,_0x262377){return _0xd52967(_0x534426,_0x262377);},'ynSBq':function(_0xf79b46,_0x13e060){return _0xf79b46!==_0x13e060;},'ThZDW':_0x38d52d(0x3e4,0x39a,0x3a4,0x3c6)},_0x28102b=_0x59bf50[_0x16d146(0xe0,0xc4,0xd3,_0x22c79f._0xeb05e7)]||_0x31e1af;if(!_0x264eab||!_0x125f69)throw new Error(_0x5bc699['swLMP']);const _0x18279a=await getEncryptionKey(_0x59bf50),_0x3f14f8=await _0x5bc699[_0x16d146(-_0x22c79f._0x14e3f2,0x65,_0x22c79f._0x11a785,_0x22c79f._0xf13cbd)](loadTokenStorage,_0x59bf50),_0x5808f3=_0x3f14f8[_0x38d52d(_0x22c79f._0x194a64,0x371,0x3a5,0x368)]?.[_0x264eab]?.[_0x125f69];function _0x16d146(_0x5600b8,_0x5e0584,_0x24d278,_0x4144c7){return _0x4c96fc(_0x5600b8-_0x1d8651._0x289ed3,_0x4144c7,_0x24d278-0x3b,_0x4144c7-0x6a);}if(!_0x5808f3){if(_0x5bc699[_0x16d146(0xc5,_0x22c79f._0x3e816c,0x7a,0x70)]===_0x5bc699[_0x16d146(_0x22c79f._0x436f0d,_0x22c79f._0x117081,0x7a,_0x22c79f._0x46eb5c)])throw new Error(_0x38d52d(0x3b1,0x3f9,_0x22c79f._0x991439,0x3ea)+_0x16d146(_0x22c79f._0x21b636,0xa1,_0x22c79f._0x37f5a2,0xf4)+_0x38d52d(_0x22c79f._0x49417c,_0x22c79f._0x3bbcd5,_0x22c79f._0x315771,_0x22c79f._0x5abcfa)+_0x264eab+('\x20and\x20provi'+_0x38d52d(_0x22c79f._0x275980,0x327,_0x22c79f._0x3f96b9,_0x22c79f._0x1e33b8))+_0x125f69);else _0x2e4f13['refresh_to'+_0x38d52d(_0x22c79f._0x47a16b,0x3b2,0x357,_0x22c79f._0x4fdb5b)]=_0x5bc699[_0x16d146(0x114,_0x22c79f._0x3fa7fb,_0x22c79f._0x51d2e1,0x73)](_0x450dd1,_0xae38c8[_0x38d52d(0x2ec,_0x22c79f._0x4d60d3,0x343,0x34a)+_0x38d52d(_0x22c79f._0x38452b,0x351,_0x22c79f._0x53a34c,0x324)],_0x4ff2f8);}_0xdbae18[_0x16d146(_0x22c79f._0x2b9423,_0x22c79f._0x3bae1d,0x5d,_0x22c79f._0x469ab6)+'en']&&(_0x5808f3[_0x38d52d(0x354,_0x22c79f._0x13c361,_0x22c79f._0x50f787,_0x22c79f._0x498f6f)+'en']=_0x5bc699[_0x16d146(0xac,0x7c,_0x22c79f._0x4c3312,0xd8)](encrypt,_0xdbae18[_0x16d146(_0x22c79f._0x228ced,0x5,0x5d,_0x22c79f._0x4d89ef)+'en'],_0x18279a));function _0x38d52d(_0x51962e,_0x6f236,_0x3a25b3,_0x26273f){return _0x4c96fc(_0x51962e-0x6,_0x51962e,_0x3a25b3-0x358,_0x26273f-_0x49373b._0x447626);}_0xdbae18[_0x16d146(-0x39,0x73,_0x22c79f._0x48686a,_0x22c79f._0x55e29d)+'ken']&&(_0x5bc699[_0x16d146(_0x22c79f._0x2359da,_0x22c79f._0x42ad01,_0x22c79f._0xd31947,_0x22c79f._0x364cbe)](_0x16d146(0xd1,_0x22c79f._0x506104,0x87,_0x22c79f._0x3bd1e7),_0x5bc699[_0x38d52d(0x40d,_0x22c79f._0xf3d508,0x3c1,_0x22c79f._0x5c24a2)])?_0x4c6023[_0x38d52d(_0x22c79f._0x37a4ed,_0x22c79f._0x3dd811,_0x22c79f._0x497cbd,_0x22c79f._0x49fb93)+_0x38d52d(_0x22c79f._0x4cf088,0x3fa,0x3d7,0x3ec)]=_0xc099dd[_0x16d146(_0x22c79f._0x32088e,0xc6,_0x22c79f._0x50a54f,_0x22c79f._0x52b30a)+'name']:_0x5808f3[_0x16d146(_0x22c79f._0x4324ad,-0x6,0x26,-_0x22c79f._0x38bc1c)+_0x38d52d(0x31e,0x36f,_0x22c79f._0xb1dc97,_0x22c79f._0xfa9af5)]=_0x5bc699[_0x16d146(0xec,0xe7,0xc5,_0x22c79f._0x274a88)](encrypt,_0xdbae18[_0x38d52d(0x337,0x373,_0x22c79f._0xa6edd7,_0x22c79f._0x1a1d4d)+_0x38d52d(_0x22c79f._0x163619,_0x22c79f._0x3a6e3d,0x357,_0x22c79f._0x3adcff)],_0x18279a));_0xdbae18[_0x16d146(_0x22c79f._0x55e29d,0x35,0x40,0x6)]!==undefined&&(_0x5808f3[_0x16d146(0x51,0x6d,0x40,_0x22c79f._0x19bcc9)]=_0xdbae18[_0x38d52d(_0x22c79f._0x3b214f,0x311,_0x22c79f._0xdd396a,0x387)]);await _0x5bc699['JcnVO'](saveTokenStorage,_0x3f14f8,_0x59bf50);const _0x2d0a02={};_0x2d0a02[_0x38d52d(_0x22c79f._0xff4adb,_0x22c79f._0x386c92,0x3ab,0x34f)]=_0x264eab,_0x2d0a02['providerNa'+'me']=_0x125f69,_0x28102b['debug']('Updated\x20gi'+'t\x20token\x20fo'+_0x16d146(_0x22c79f._0x45fdbe,0x96,_0x22c79f._0x5a9569,_0x22c79f._0x3d512e),_0x2d0a02);}export async function deleteUserGitToken(_0x2bad05,_0x35fea6,_0x44a793={}){const _0x3ef98d={_0x22a051:0x3a2,_0x3b0717:0x3cf,_0x19ee54:0x2aa,_0x23b223:0x25b,_0x5756e1:0x258,_0x31c33e:0x229,_0x36d65a:0x337,_0x49f4cd:0x303,_0x2457bc:0x207,_0x38291b:0x260,_0x35c483:0x27f,_0x186ed2:0x278,_0x290375:0x2ab,_0x1eefe2:0x2a6,_0x242cb6:0x3b8,_0x56dd41:0x3c6,_0x426c5b:0x3f0,_0x29ae1a:0x23c,_0x433877:0x274,_0x2dc1e6:0x2bd,_0x1aa559:0x284,_0x12a75f:0x28c,_0x18eabc:0x261,_0x3d8f9c:0x2c0,_0x289fe9:0x3d5,_0x1b2133:0x36a,_0x2751e5:0x340,_0x5d9413:0x331,_0x16ee58:0x363,_0x1e36c8:0x3c3,_0x2fc276:0x228,_0x11163f:0x248,_0x1e698d:0x36d,_0x36bc7f:0x32b,_0x5ab3d:0x32e,_0x40a4e4:0x36d,_0x34291d:0x39f,_0x44e3e1:0x368,_0x3a48e1:0x33d,_0x2f27e1:0x267,_0x5cf786:0x2bc,_0xd90f00:0x2f0,_0x28d7a7:0x2b7,_0x4c8f3f:0x292,_0x22b93c:0x23d},_0x41997f={_0x388626:0x48,_0x1b5cfa:0x214,_0x192c2d:0x66},_0xfe3120={'vLIJb':function(_0x4807d4,_0x36f3f6){return _0x4807d4||_0x36f3f6;},'VzPxu':_0x2069f7(0x3e7,_0x3ef98d._0x22a051,_0x3ef98d._0x3b0717,0x36a)+_0x20cff1(_0x3ef98d._0x19ee54,0x26c,0x29b,0x246)+_0x20cff1(_0x3ef98d._0x23b223,_0x3ef98d._0x5756e1,_0x3ef98d._0x31c33e,0x25b)+_0x2069f7(_0x3ef98d._0x36d65a,0x34a,0x375,_0x3ef98d._0x49f4cd),'LHJKm':function(_0x288472,_0x47636a){return _0x288472!==_0x47636a;},'MdiGs':_0x20cff1(_0x3ef98d._0x2457bc,0x24b,_0x3ef98d._0x38291b,0x205),'UuPDq':function(_0x36bf1b,_0x26287f){return _0x36bf1b===_0x26287f;},'ndBRQ':function(_0x1b75cc,_0x140955,_0x74ed90){return _0x1b75cc(_0x140955,_0x74ed90);},'cbwpq':'Deleted\x20gi'+_0x20cff1(_0x3ef98d._0x35c483,_0x3ef98d._0x186ed2,0x223,_0x3ef98d._0x290375)+_0x20cff1(0x24a,0x27a,_0x3ef98d._0x1eefe2,0x26c)},_0x3b5df6=_0x44a793[_0x2069f7(0x363,_0x3ef98d._0x242cb6,_0x3ef98d._0x56dd41,_0x3ef98d._0x426c5b)]||_0x31e1af;function _0x2069f7(_0x26cb25,_0x3159e2,_0x4faba3,_0x12014f){return _0x184527(_0x26cb25-0x1c5,_0x3159e2-0x32d,_0x12014f,_0x12014f-0x1d8);}if(_0xfe3120[_0x20cff1(_0x3ef98d._0x29ae1a,_0x3ef98d._0x433877,0x2b1,_0x3ef98d._0x2dc1e6)](!_0x2bad05,!_0x35fea6))throw new Error(_0xfe3120[_0x20cff1(0x22b,_0x3ef98d._0x1aa559,0x2c5,_0x3ef98d._0x12a75f)]);const _0x9d0d7f=await loadTokenStorage(_0x44a793);if(!_0x9d0d7f[_0x20cff1(0x202,_0x3ef98d._0x18eabc,0x23d,_0x3ef98d._0x3d8f9c)]?.[_0x2bad05]?.[_0x35fea6]){if(_0xfe3120[_0x2069f7(0x387,0x3ac,_0x3ef98d._0x289fe9,0x362)](_0xfe3120[_0x2069f7(_0x3ef98d._0x1b2133,_0x3ef98d._0x2751e5,0x326,_0x3ef98d._0x5d9413)],_0xfe3120['MdiGs'])){const _0x381e1b={};return _0x381e1b[_0x2069f7(_0x3ef98d._0x16ee58,0x36d,0x3c0,_0x3ef98d._0x1e36c8)]={},_0x381e1b;}else return![];}delete _0x9d0d7f[_0x2069f7(0x3af,0x36d,0x37f,0x336)][_0x2bad05][_0x35fea6];_0xfe3120['UuPDq'](Object[_0x20cff1(0x242,0x206,_0x3ef98d._0x2fc276,_0x3ef98d._0x11163f)](_0x9d0d7f[_0x2069f7(0x364,_0x3ef98d._0x1e698d,_0x3ef98d._0x1b2133,_0x3ef98d._0x36bc7f)][_0x2bad05])['length'],0x1ee3+-0xd*-0x283+-0x1*0x3f8a)&&delete _0x9d0d7f[_0x2069f7(_0x3ef98d._0x5ab3d,_0x3ef98d._0x40a4e4,_0x3ef98d._0x34291d,0x3b3)][_0x2bad05];function _0x20cff1(_0x56bb05,_0x3c949f,_0xd2fdbb,_0x45ee49){return _0x4c96fc(_0x56bb05-_0x41997f._0x388626,_0x56bb05,_0x3c949f-_0x41997f._0x1b5cfa,_0x45ee49-_0x41997f._0x192c2d);}await _0xfe3120[_0x2069f7(0x36c,_0x3ef98d._0x44e3e1,0x324,_0x3ef98d._0x3a48e1)](saveTokenStorage,_0x9d0d7f,_0x44a793);const _0x2bd3a6={};return _0x2bd3a6[_0x20cff1(0x210,_0x3ef98d._0x2f27e1,0x228,_0x3ef98d._0x5cf786)]=_0x2bad05,_0x2bd3a6[_0x20cff1(_0x3ef98d._0xd90f00,_0x3ef98d._0x28d7a7,0x2c4,0x2b6)+'me']=_0x35fea6,_0x3b5df6[_0x20cff1(_0x3ef98d._0x4c8f3f,_0x3ef98d._0x22b93c,0x25c,0x20d)](_0xfe3120[_0x2069f7(0x37d,_0x3ef98d._0x16ee58,0x37d,0x391)],_0x2bd3a6),!![];}export function isTokenExpiringSoon(_0x1c6255,_0x1aa824=0x35a+0x21+0x29*-0x15){const _0x15e04f={_0x1ba5cd:0x6c,_0x2a8b21:0x1e9,_0x2da4dd:0x211,_0x1f5bbe:0xc4,_0x4bc69b:0xcf,_0x135f1b:0xb1,_0x14f074:0xf6,_0x2b09db:0x1d,_0x4e90e8:0x3e,_0x1210fa:0x6c,_0x3f2cc0:0x54,_0x13416d:0xe2},_0x4afcf1={_0x22fb7b:0x1bb},_0x1dec45={_0xb165a4:0xe1},_0x112160={};_0x112160[_0x3358d3(0x69,0x54,_0x15e04f._0x1ba5cd,0x8f)]=function(_0x3f8cb4,_0x42679d){return _0x3f8cb4*_0x42679d;},_0x112160['WQFXA']=function(_0x3ffa7e,_0x1c77ba){return _0x3ffa7e<=_0x1c77ba;};const _0x53f513=_0x112160;if(!_0x1c6255)return![];const _0x1f2180=new Date(_0x1c6255)[_0x3e0fca(-0x24c,-_0x15e04f._0x2a8b21,-0x229,-_0x15e04f._0x2da4dd)]();function _0x3e0fca(_0x5f1066,_0x4dfded,_0xf90002,_0xa379b0){return _0x184527(_0x5f1066-0x39,_0xa379b0- -0x2a1,_0x4dfded,_0xa379b0-_0x1dec45._0xb165a4);}function _0x3358d3(_0x50ad78,_0x2b76ae,_0x3f7f73,_0x9f63a8){return _0x4c96fc(_0x50ad78-_0x4afcf1._0x22fb7b,_0x2b76ae,_0x3f7f73-0x30,_0x9f63a8-0x2f);}const _0x3bdb32=Date[_0x3358d3(_0x15e04f._0x1f5bbe,_0x15e04f._0x4bc69b,_0x15e04f._0x135f1b,_0x15e04f._0x14f074)](),_0x190bcb=_0x53f513[_0x3358d3(_0x15e04f._0x2b09db,_0x15e04f._0x4e90e8,_0x15e04f._0x1210fa,_0x15e04f._0x3f2cc0)](_0x1aa824,-0x14f*-0x19+0x16b7+0xa*-0x585)*(-0x1*0x18e5+-0x2418+-0x1c1*-0x25);return _0x53f513[_0x3358d3(0xd0,0x88,0xad,_0x15e04f._0x13416d)](_0x1f2180-_0x3bdb32,_0x190bcb);}export function isTokenExpired(_0x2b32c5){const _0x1b9620={_0x589fc6:0x45a,_0x520a85:0x41c,_0x6e1a5c:0x494,_0x2c105e:0x464,_0x2d31ad:0x48c,_0x2948ed:0x49d,_0x1eab30:0x426,_0x4012a8:0x484,_0x4ab084:0x431,_0x1f4086:0x272,_0xc7f9ae:0x315,_0x1fac82:0x2d0,_0x22cf4a:0x250,_0x293ae1:0x292,_0x501e0a:0x2a5,_0x2a3b8c:0x2a9,_0x3339e3:0x228,_0x10c099:0x201,_0x13f013:0x29f,_0x5826dd:0x251},_0x34883d={_0x4c8489:0x40b,_0x40fcab:0x17c},_0x32c67e={};_0x32c67e[_0x4fdc5c(0x441,0x40d,_0x1b9620._0x589fc6,_0x1b9620._0x520a85)]=function(_0x5bdea6,_0x1353a1){return _0x5bdea6<_0x1353a1;},_0x32c67e['ggRcI']=function(_0x3c655d,_0xdd288b){return _0x3c655d===_0xdd288b;},_0x32c67e[_0x4fdc5c(_0x1b9620._0x6e1a5c,0x484,0x487,_0x1b9620._0x2c105e)]=_0x4fdc5c(0x473,0x498,_0x1b9620._0x2d31ad,_0x1b9620._0x2948ed);function _0x4fdc5c(_0x1b39d2,_0x588a16,_0x242f92,_0x33caae){return _0x4c96fc(_0x1b39d2-0xd0,_0x33caae,_0x588a16-_0x34883d._0x4c8489,_0x33caae-_0x34883d._0x40fcab);}const _0x375206=_0x32c67e;if(!_0x2b32c5){if(_0x375206[_0x4fdc5c(0x3e5,0x3fe,0x3ec,_0x1b9620._0x1eab30)](_0x375206[_0x4fdc5c(0x464,_0x1b9620._0x4012a8,0x460,_0x1b9620._0x4ab084)],'NnOSs'))return![];else{if(!_0x17a3e2)return![];return _0x375206[_0x504767(-_0x1b9620._0x1f4086,-0x327,-_0x1b9620._0xc7f9ae,-_0x1b9620._0x1fac82)](new _0x3dae7d(_0x23051b)[_0x504767(-_0x1b9620._0x22cf4a,-0x1e1,-_0x1b9620._0x293ae1,-0x235)](),_0x55e6fb[_0x4fdc5c(0x430,0x48c,0x4ad,0x494)]());}}function _0x504767(_0x313c96,_0x1447cb,_0x453b40,_0x4af0ae){return _0x184527(_0x313c96-0x46,_0x4af0ae- -0x2c5,_0x1447cb,_0x4af0ae-0x1de);}return _0x375206[_0x504767(-0x2b9,-_0x1b9620._0x501e0a,-_0x1b9620._0x2a3b8c,-0x2d0)](new Date(_0x2b32c5)[_0x504767(-0x231,-0x22f,-_0x1b9620._0x3339e3,-0x235)](),Date[_0x504767(-0x27a,-_0x1b9620._0x10c099,-_0x1b9620._0x13f013,-_0x1b9620._0x5826dd)]());}export async function getUserConnectionStatus(_0xc93f0e,_0x58e75b={}){const _0x65a610={_0x141339:0x553,_0x25d9ea:0x4ef,_0x33fa50:0x508,_0x1fbdac:0x58e,_0x2b63ff:0x480,_0x27d5ad:0x4f9,_0x40042b:0x47d,_0x2a13c4:0x4c0,_0x26149d:0x1fd,_0x1c76b1:0x1f0,_0x561574:0x1c1,_0xd2b51a:0x1c0,_0x21e9eb:0x24e,_0x46025b:0x208,_0x5bd613:0x1ee,_0x5bd2f1:0x274,_0x199818:0x247},_0x1aa886={_0x31e6ed:0x4,_0x15f40a:0x4c8},_0xbc042c=await loadTokenStorage(_0x58e75b),_0x1920ea=_0xbc042c[_0x2f2611(0x537,_0x65a610._0x141339,_0x65a610._0x25d9ea,_0x65a610._0x33fa50)]?.[_0xc93f0e];function _0x3060fb(_0x17ef1b,_0x3fa74c,_0x1df66e,_0x4c66cc){return _0x4c96fc(_0x17ef1b-0xde,_0x3fa74c,_0x4c66cc- -0x238,_0x4c66cc-0x18d);}function _0x2f2611(_0x5e6d66,_0x46f0d1,_0x46647d,_0x23319c){return _0x184527(_0x5e6d66-_0x1aa886._0x31e6ed,_0x23319c-_0x1aa886._0x15f40a,_0x46647d,_0x23319c-0x10);}if(!_0x1920ea)return{};const _0x1f0a06={};for(const [_0x31047e,_0x422197]of Object['entries'](_0x1920ea)){const _0x56a0fc={};_0x56a0fc[_0x2f2611(0x52a,_0x65a610._0x1fbdac,0x511,0x54b)]=!![],_0x56a0fc[_0x2f2611(_0x65a610._0x2b63ff,_0x65a610._0x27d5ad,_0x65a610._0x40042b,_0x65a610._0x2a13c4)]=_0x422197[_0x3060fb(-_0x65a610._0x26149d,-_0x65a610._0x1c76b1,-0x1e1,-0x233)],_0x56a0fc['github_log'+'in']=_0x422197[_0x3060fb(-_0x65a610._0x561574,-0x195,-_0x65a610._0xd2b51a,-0x1c2)+'in'],_0x56a0fc['azure_user'+'name']=_0x422197[_0x3060fb(-0x1f8,-0x1c1,-_0x65a610._0x21e9eb,-_0x65a610._0x46025b)+_0x2f2611(0x51f,_0x65a610._0x25d9ea,0x4fe,0x53a)],_0x56a0fc[_0x3060fb(-_0x65a610._0x5bd613,-_0x65a610._0x5bd2f1,-0x211,-_0x65a610._0x199818)+'at']=_0x422197[_0x3060fb(-0x27c,-0x268,-0x286,-0x247)+'at'],_0x1f0a06[_0x31047e]=_0x56a0fc;}return _0x1f0a06;}
1
+ (function(_0x1412c0,_0xe1b5bb){const _0xd5d07e={_0x270fe1:0x1c2,_0x482843:0x1c2,_0x15fed6:0x170,_0x169384:0x148,_0x481c2b:0x255,_0x5e23b9:0x1c3,_0x1dea86:0x1aa,_0x5a9a21:0x131,_0x21fd0e:0x1bf,_0x5a580b:0x1de,_0x5bb3a6:0x186},_0xbfa635={_0x55e29f:0x307};function _0x54d6b3(_0x380160,_0x55e958,_0x10f899,_0x1a5ade){return _0x3bb6(_0x55e958- -_0xbfa635._0x55e29f,_0x10f899);}function _0x250fd0(_0x36fff6,_0x4884b0,_0x442a3e,_0x2e1ba5){return _0x3bb6(_0x2e1ba5-0x64,_0x4884b0);}const _0x483a3d=_0x1412c0();while(!![]){try{const _0x3f0b3d=parseInt(_0x54d6b3(-0xf8,-0x150,-0xf3,-0x13e))/(0xe15*-0x1+0x1e1c+-0x803*0x2)+parseInt(_0x250fd0(0x1e0,0x1b9,_0xd5d07e._0x270fe1,_0xd5d07e._0x482843))/(0x2ed+-0x1a3*0xd+-0x64*-0x2f)+-parseInt(_0x54d6b3(-_0xd5d07e._0x15fed6,-0x16f,-0x142,-0x166))/(-0xbe7+0x8bd*-0x1+-0x1*-0x14a7)*(-parseInt(_0x54d6b3(-0x184,-_0xd5d07e._0x169384,-0x160,-0x10f))/(-0x481+-0x13*0x172+-0x1*-0x1ffb))+parseInt(_0x250fd0(0x206,0x1fe,_0xd5d07e._0x481c2b,0x20f))/(0x10cb+0x2*-0x1d9+-0xd14)*(-parseInt(_0x54d6b3(-0x20b,-0x1c3,-_0xd5d07e._0x5e23b9,-0x19a))/(-0x1dda+0x50*0x1+0x1d90))+parseInt(_0x54d6b3(-0x1a0,-0x182,-_0xd5d07e._0x1dea86,-_0xd5d07e._0x5a9a21))/(-0x1c*-0x1+0xe40+0x1*-0xe55)+parseInt(_0x54d6b3(-0x18c,-0x1dc,-_0xd5d07e._0x21fd0e,-_0xd5d07e._0x5a580b))/(0xdc4*-0x2+-0x198b+0x1*0x351b)+-parseInt(_0x250fd0(0x13d,0x1b3,0x1ba,_0xd5d07e._0x5bb3a6))/(0xda4+-0x683+-0x718);if(_0x3f0b3d===_0xe1b5bb)break;else _0x483a3d['push'](_0x483a3d['shift']());}catch(_0x3e4c84){_0x483a3d['push'](_0x483a3d['shift']());}}}(_0x4c88,0xad9*-0xcd+0x2*-0x62f3+0xe7122));function _0x5197df(_0x50a423,_0x6fa7f6,_0x512b95,_0x1e33e2){const _0x293a4f={_0x2ca955:0x343};return _0x3bb6(_0x50a423- -_0x293a4f._0x2ca955,_0x1e33e2);}import{promises as _0x3e4c9e}from'fs';import{existsSync}from'fs';import _0x37c2cf from'path';import _0x455179 from'crypto';import{DATA_DIR}from'./data-dir.js';import{logger as _0x26be52}from'./logger.js';const TOKENS_FILE=_0x1cdb35(0x3f8,0x3ab,0x3ce,0x3c9)+_0x1cdb35(0x37b,0x3a0,0x3ad,0x366),ENCRYPTION_KEY_FILE='.git-oauth'+_0x5197df(-0x215,-0x1ef,-0x1ed,-0x23c),ALGORITHM=_0x5197df(-0x1ad,-0x1d2,-0x198,-0x1fe)+'m',KEY_LENGTH=-0xd*0x1fd+-0x220a+0x1b*0x239,IV_LENGTH=0x1549*-0x1+0x1*0x36d+-0x7c*-0x25,AUTH_TAG_LENGTH=0x21fc*0x1+0x19c7+-0x3bb3;let encryptionKeyCache=null;async function getEncryptionKey(_0x37aa92={}){const _0x2f61c9={_0x59c898:0x70,_0x545e6d:0xa0,_0x4243e0:0x371,_0x482579:0x397,_0x237098:0x6e,_0x4e3fcb:0x65,_0x1c85bc:0xa1,_0x5712de:0xf2,_0x4b2517:0x425,_0x6500e6:0x3d5,_0x3aaa4e:0x40b,_0x1821e2:0x3e4,_0x4328a0:0x3ee,_0x40d092:0x80,_0x27c619:0x98,_0x774d3:0xc6,_0x4fa4c3:0x3f0,_0x407f16:0x442,_0x34ff96:0x3c7,_0x1f5a74:0xc5,_0x302358:0x26,_0x2aa3df:0x6d,_0x59c406:0x89,_0x2ffd1a:0xd2,_0x191ea7:0x106,_0x1cb913:0x79,_0x29e1a2:0x3d2,_0x194382:0x3e8,_0x23b51b:0x449,_0xbce47:0x3c9,_0x380ea2:0x441,_0x1418e1:0x405,_0xa6539d:0x3fe,_0x5c3c62:0x3f5,_0x3446f0:0x81,_0xa0f47a:0x16,_0x35be95:0x1b,_0x7543d5:0x71,_0x3ee011:0x9c,_0x5f8dce:0x3aa,_0xe2a09b:0x93,_0x2185c2:0x3a9,_0x1cdd56:0xce,_0x534862:0xb3,_0x1f5142:0x74,_0x52bfc5:0x456,_0xaca9cd:0x417,_0x5c838e:0x8e,_0x48798b:0xa5,_0x182915:0xd8,_0x5bdf7d:0x42a,_0x2cc7c6:0x420,_0x506388:0x40c,_0x38ca7f:0x3b5,_0xb9e2f1:0xd0,_0x4bdfb6:0xf4,_0x268ddc:0x38e,_0x7cfc2e:0x398,_0x35c83a:0x77,_0x316578:0x3b,_0x1ac1c3:0x83,_0x2e2bc0:0xe2,_0x3375d6:0x3ad,_0x119a3c:0x3e6,_0x3fc00c:0x6a,_0x20d619:0xb8,_0x12c41f:0x364,_0x1649f7:0x3e0,_0x3fe4d1:0x391,_0x5cc813:0x3c5,_0x277f49:0x3a8,_0x549b62:0x2d,_0x449882:0xd3,_0x2f8d20:0x3d3,_0x3df049:0x3d1,_0x315b67:0x3e2,_0xe6e323:0xec,_0x56c8de:0xb7,_0x11a7a3:0x7c,_0x5ec0dd:0xf0,_0x2ba549:0xdb,_0x264965:0xb7,_0x147865:0x37,_0x48dd52:0x3be,_0x3d69fa:0x411,_0x5e2abb:0x44,_0xb33ef0:0x70,_0x320d34:0xaf,_0x2dfc5d:0x51,_0x388623:0x415,_0x10dd75:0x3d7,_0x5ab259:0x3f1,_0x5d8685:0x399,_0x3d80dc:0x394,_0x19a107:0x371,_0x163d43:0x3e4,_0x5effe4:0x3c6,_0x42679f:0x3eb,_0x2fd965:0xc4,_0x146187:0xd8,_0x1fd0ca:0x95,_0x52afd3:0x60},_0x8c702f={_0x27e5ca:0x277,_0x59da72:0x15d},_0x3e32f5={'Vrsef':function(_0x4b9fbf,_0x1e1d92){return _0x4b9fbf(_0x1e1d92);},'kxkrL':_0x349998(0x8d,_0x2f61c9._0x59c898,_0x2f61c9._0x545e6d,0x62),'VksyF':_0x282485(0x38b,0x3a9,_0x2f61c9._0x4243e0,_0x2f61c9._0x482579),'riVjZ':'Loaded\x20git'+'\x20OAuth\x20enc'+_0x349998(_0x2f61c9._0x237098,_0x2f61c9._0x4e3fcb,_0x2f61c9._0x1c85bc,_0x2f61c9._0x5712de)+_0x282485(0x43a,0x471,0x3d4,_0x2f61c9._0x4b2517)+_0x282485(0x3cc,_0x2f61c9._0x6500e6,0x424,_0x2f61c9._0x3aaa4e)+'y','BmIMD':_0x282485(0x383,_0x2f61c9._0x1821e2,_0x2f61c9._0x4328a0,0x3c6)+_0x349998(_0x2f61c9._0x40d092,_0x2f61c9._0x27c619,_0x2f61c9._0x774d3,0xb6)+_0x282485(_0x2f61c9._0x4fa4c3,_0x2f61c9._0x407f16,_0x2f61c9._0x34ff96,0x405)+_0x349998(_0x2f61c9._0x1f5a74,0xd9,0xa8,_0x2f61c9._0x1f5a74)+_0x349998(0x23,_0x2f61c9._0x302358,_0x2f61c9._0x2aa3df,0x8f)+_0x349998(0xe1,_0x2f61c9._0x59c406,_0x2f61c9._0x2ffd1a,_0x2f61c9._0x191ea7),'OaTyG':_0x349998(0x23,0x1d,0x50,_0x2f61c9._0x1cb913)+_0x282485(0x3df,_0x2f61c9._0x29e1a2,0x3f2,_0x2f61c9._0x194382)+_0x282485(_0x2f61c9._0x23b51b,_0x2f61c9._0xbce47,_0x2f61c9._0x380ea2,_0x2f61c9._0x1418e1)+_0x282485(0x3e6,_0x2f61c9._0xa6539d,0x3ae,_0x2f61c9._0x5c3c62),'atIsJ':function(_0x449cc7,_0x5ecddf){return _0x449cc7!==_0x5ecddf;},'GbuZd':_0x349998(_0x2f61c9._0x3446f0,_0x2f61c9._0xa0f47a,0x63,0x93),'GueqP':_0x349998(_0x2f61c9._0x35be95,0x8c,_0x2f61c9._0x7543d5,_0x2f61c9._0x3ee011)+'encryption'+'\x20key\x20saved'+_0x282485(0x3bb,0x366,0x400,_0x2f61c9._0x5f8dce)+_0x349998(0x87,_0x2f61c9._0xe2a09b,0xd4,0xd6),'rnZUM':'Failed\x20to\x20'+_0x282485(0x394,_0x2f61c9._0x4243e0,0x392,0x3b4)+_0x282485(0x3f8,_0x2f61c9._0x2185c2,0x3b5,0x405)+_0x349998(_0x2f61c9._0x1cdd56,_0x2f61c9._0x191ea7,_0x2f61c9._0x534862,0x10f)},_0x30f401=_0x37aa92[_0x349998(0x7f,_0x2f61c9._0x1c85bc,_0x2f61c9._0x1f5142,0x6a)]||_0x26be52,_0x394beb=_0x37aa92[_0x282485(0x465,_0x2f61c9._0x52bfc5,0x432,_0x2f61c9._0xaca9cd)]||DATA_DIR;function _0x282485(_0x225123,_0x23e063,_0x4e916a,_0x5db0fe){return _0x5197df(_0x5db0fe-0x5b9,_0x23e063-0xda,_0x4e916a-0x1ae,_0x4e916a);}if(encryptionKeyCache)return encryptionKeyCache;const _0x28ad2f=_0x37c2cf[_0x349998(0x5b,0x58,_0x2f61c9._0x5c838e,0x89)](_0x394beb,ENCRYPTION_KEY_FILE);if(_0x3e32f5[_0x349998(0x12b,_0x2f61c9._0x48798b,_0x2f61c9._0x182915,0x110)](existsSync,_0x28ad2f))try{const _0x2a6be0=await _0x3e4c9e[_0x282485(_0x2f61c9._0x5bdf7d,_0x2f61c9._0x2cc7c6,0x44c,0x427)](_0x28ad2f,_0x3e32f5[_0x282485(0x3e5,0x3e8,_0x2f61c9._0x506388,_0x2f61c9._0x38ca7f)]);return encryptionKeyCache=Buffer['from'](_0x2a6be0[_0x349998(0xe8,0x10e,_0x2f61c9._0xb9e2f1,_0x2f61c9._0x4bdfb6)](),_0x3e32f5[_0x282485(0x368,0x359,0x36f,_0x2f61c9._0x268ddc)]),_0x30f401[_0x282485(0x392,0x3fd,_0x2f61c9._0x7cfc2e,_0x2f61c9._0x2185c2)](_0x3e32f5[_0x349998(0xc4,0xc5,0x8c,0x93)]),encryptionKeyCache;}catch(_0x1c1cd9){const _0x34b735={};_0x34b735[_0x349998(_0x2f61c9._0x2aa3df,_0x2f61c9._0x35c83a,0x9b,_0x2f61c9._0x40d092)]=_0x1c1cd9[_0x349998(0xc6,_0x2f61c9._0x316578,_0x2f61c9._0x1ac1c3,0x85)],_0x30f401[_0x349998(0xb3,0x114,_0x2f61c9._0x2e2bc0,0x139)](_0x3e32f5[_0x282485(_0x2f61c9._0x3375d6,0x3d6,0x3b5,_0x2f61c9._0x119a3c)],_0x34b735);}function _0x349998(_0x6536d,_0x1d4751,_0x376ed3,_0x2f853b){return _0x5197df(_0x376ed3-_0x8c702f._0x27e5ca,_0x1d4751-0x25,_0x376ed3-_0x8c702f._0x59da72,_0x2f853b);}_0x30f401[_0x349998(_0x2f61c9._0x3fc00c,_0x2f61c9._0x20d619,0x98,0xea)](_0x3e32f5['OaTyG']);const _0x36b226=_0x455179[_0x349998(0xd4,0xa1,0xb4,0xd7)+'s'](KEY_LENGTH);try{if(_0x3e32f5[_0x282485(_0x2f61c9._0x12c41f,_0x2f61c9._0x1649f7,0x376,_0x2f61c9._0x3fe4d1)](_0x3e32f5[_0x282485(0x34d,0x3e3,0x364,0x3a8)],_0x3e32f5[_0x282485(0x3c0,0x3e5,_0x2f61c9._0x5cc813,_0x2f61c9._0x277f49)]))_0xe00408[_0x349998(_0x2f61c9._0xe2a09b,_0x2f61c9._0x549b62,_0x2f61c9._0x1cb913,_0x2f61c9._0x449882)+_0x282485(0x381,0x37b,_0x2f61c9._0x2f8d20,0x3d3)]=_0x27ac54[_0x282485(_0x2f61c9._0x3df049,_0x2f61c9._0x315b67,0x3a5,0x3bb)+_0x349998(_0x2f61c9._0xe6e323,0xd5,0x91,_0x2f61c9._0x56c8de)];else{const _0x55aa43={};_0x55aa43[_0x349998(0x64,0xe6,0x97,_0x2f61c9._0x11a7a3)]=!![],await _0x3e4c9e[_0x349998(0x103,_0x2f61c9._0x5ec0dd,_0x2f61c9._0x2ba549,_0x2f61c9._0x264965)](_0x394beb,_0x55aa43);const _0x4f80cb={};_0x4f80cb[_0x349998(0xa9,0x4e,0x69,_0x2f61c9._0x147865)]=0x180,await _0x3e4c9e[_0x282485(_0x2f61c9._0x48dd52,_0x2f61c9._0xaca9cd,0x3fe,_0x2f61c9._0x3d69fa)](_0x28ad2f,_0x36b226['toString'](_0x3e32f5[_0x349998(_0x2f61c9._0x5e2abb,_0x2f61c9._0x1f5142,0x4c,0x9e)]),_0x4f80cb),_0x30f401[_0x349998(_0x2f61c9._0xb33ef0,0x89,0x98,0x44)](_0x3e32f5['GueqP']);}}catch(_0x1fbb41){const _0x3bab3f={};_0x3bab3f['error']=_0x1fbb41[_0x349998(0x2b,_0x2f61c9._0x320d34,0x83,_0x2f61c9._0x2dfc5d)],_0x30f401[_0x282485(_0x2f61c9._0x388623,0x3e2,_0x2f61c9._0x10dd75,0x3dd)](_0x3e32f5[_0x282485(_0x2f61c9._0x5ab259,0x3da,_0x2f61c9._0x5d8685,_0x2f61c9._0x3d80dc)],_0x3bab3f);throw new Error(_0x282485(_0x2f61c9._0x19a107,_0x2f61c9._0x163d43,0x415,_0x2f61c9._0x5effe4)+_0x282485(0x3c7,_0x2f61c9._0x42679f,0x435,0x3dc)+_0x349998(0x8b,_0x2f61c9._0x2fd965,_0x2f61c9._0x40d092,_0x2f61c9._0x146187)+'ey:\x20'+_0x1fbb41[_0x349998(_0x2f61c9._0x1fd0ca,_0x2f61c9._0x52afd3,0x83,0x43)]);}return encryptionKeyCache=_0x36b226,encryptionKeyCache;}export function clearEncryptionKeyCache(){encryptionKeyCache=null;}function encrypt(_0x5b4e96,_0x423ead){const _0x1b0d24={_0x1d3a88:0x223,_0xbcc9c5:0x200,_0x4c1f30:0x39d,_0x2165b6:0x3a3,_0x44a497:0x3a8,_0x4755e9:0x23a,_0x34ac59:0x24d,_0x1babdc:0x250,_0x1ed652:0x331,_0x44468d:0x2b1,_0x26458d:0x399,_0x2fc72f:0x385,_0x5ea8dd:0x34a,_0x5cf222:0x37a,_0x52c7f0:0x258,_0x489b5:0x2af,_0x262d1f:0x29a,_0x4d10ab:0x255,_0x571254:0x26d,_0x3c668a:0x307,_0x58df3f:0x2a8,_0xc168be:0x370},_0x9dc4f3={_0x4e3703:0x2c},_0x3f3ed8={_0x36a9a8:0x1a4},_0xbe9709={};function _0x486e19(_0x92adc6,_0x402e2f,_0xdfa753,_0x293841){return _0x5197df(_0x402e2f-0x526,_0x402e2f-_0x3f3ed8._0x36a9a8,_0xdfa753-0xbe,_0x92adc6);}_0xbe9709[_0x5ef5f1(_0x1b0d24._0x1d3a88,0x266,_0x1b0d24._0xbcc9c5,0x24c)]=_0x486e19(0x3b5,0x369,_0x1b0d24._0x4c1f30,0x3ae),_0xbe9709[_0x486e19(_0x1b0d24._0x2165b6,0x39d,0x386,_0x1b0d24._0x44a497)]=_0x5ef5f1(0x241,_0x1b0d24._0x4755e9,0x238,_0x1b0d24._0x34ac59);const _0x267d2a=_0xbe9709,_0x294548=_0x455179[_0x5ef5f1(0x270,0x2ba,_0x1b0d24._0x1babdc,0x2ac)+'s'](IV_LENGTH),_0x1c8fad=_0x455179[_0x486e19(0x360,0x36f,0x35f,0x3b8)+'eriv'](ALGORITHM,_0x423ead,_0x294548);let _0xa5d6d2=_0x1c8fad['update'](_0x5b4e96,_0x267d2a[_0x486e19(_0x1b0d24._0x1ed652,0x303,0x2b4,_0x1b0d24._0x44468d)],_0x267d2a[_0x5ef5f1(0x2dd,0x303,0x2b8,0x2e6)]);_0xa5d6d2+=_0x1c8fad[_0x486e19(_0x1b0d24._0x26458d,_0x1b0d24._0x2fc72f,_0x1b0d24._0x5ea8dd,_0x1b0d24._0x5cf222)](_0x267d2a['IgkgI']);function _0x5ef5f1(_0x564183,_0x33b7c8,_0x19736f,_0xfa65dd){return _0x1cdb35(_0x564183-0xc5,_0xfa65dd- -0xda,_0x33b7c8,_0xfa65dd-_0x9dc4f3._0x4e3703);}const _0x571724=_0x1c8fad[_0x5ef5f1(0x2b3,_0x1b0d24._0x52c7f0,_0x1b0d24._0x489b5,_0x1b0d24._0x262d1f)]();return _0x294548[_0x5ef5f1(0x2c7,0x27c,_0x1b0d24._0x4d10ab,_0x1b0d24._0x571254)](_0x267d2a[_0x5ef5f1(_0x1b0d24._0x3c668a,0x2f4,_0x1b0d24._0x58df3f,0x2e6)])+':'+_0x571724[_0x486e19(0x2cd,0x324,_0x1b0d24._0xc168be,0x35a)](_0x5ef5f1(0x1fc,0x272,0x21b,0x24d))+':'+_0xa5d6d2;}function decrypt(_0x31f10d,_0x4b6b6a){const _0x26e1f5={_0xb44218:0x491,_0x34d514:0x4e8,_0x21808d:0x4ba,_0x348411:0x513,_0x34bf37:0x84,_0x3ec1f3:0xd8,_0x21d9bf:0xc6,_0x509c6d:0x4b7,_0x160e66:0xef,_0xb9d80d:0x10f,_0x1a4795:0x420,_0x33743b:0x49a,_0x4234ef:0x476,_0x3e5fd6:0x452,_0x32fb72:0x113,_0x167322:0x159,_0x22e884:0x135,_0x264471:0x11c,_0x5acd59:0xc8,_0xd08931:0xb0,_0x4eef32:0xec,_0x2a94fd:0xc5,_0x87231b:0x477,_0xe879f:0x111,_0x21ed87:0xd0,_0x5d82cd:0xf0,_0x473795:0xb6,_0x1bbcb2:0x4a},_0x3c8b94={_0x44ff31:0xed},_0x31ecff={_0x30d158:0x3a},_0x2ff4ed={};_0x2ff4ed[_0x554a80(0x450,0x49f,_0x26e1f5._0xb44218,_0x26e1f5._0x34d514)]=function(_0x36fdbf,_0x4d1620){return _0x36fdbf||_0x4d1620;},_0x2ff4ed['fGOEG']='hex',_0x2ff4ed[_0x554a80(0x4db,0x50f,_0x26e1f5._0x21808d,_0x26e1f5._0x348411)]=_0x1c2907(-_0x26e1f5._0x34bf37,-_0x26e1f5._0x3ec1f3,-0xd0,-_0x26e1f5._0x21d9bf);const _0x4e5811=_0x2ff4ed,[_0x4a06e7,_0x1473b9,_0x4ef295]=_0x31f10d[_0x1c2907(-0x100,-0x147,-0x10d,-0x13d)](':');if(_0x4e5811[_0x554a80(0x449,_0x26e1f5._0x509c6d,_0x26e1f5._0xb44218,0x45d)](!_0x4a06e7,!_0x1473b9)||!_0x4ef295)throw new Error('Invalid\x20en'+'crypted\x20va'+_0x1c2907(-_0x26e1f5._0x160e66,-_0x26e1f5._0xb9d80d,-0xce,-0xa5));const _0x5b192b=Buffer[_0x554a80(0x46f,0x4cc,0x4b5,0x509)](_0x4a06e7,_0x4e5811[_0x554a80(_0x26e1f5._0x1a4795,_0x26e1f5._0x33743b,_0x26e1f5._0x4234ef,_0x26e1f5._0x3e5fd6)]);function _0x554a80(_0x2326f8,_0x577037,_0x5ae2e8,_0x28d724){return _0x1cdb35(_0x2326f8-_0x31ecff._0x30d158,_0x5ae2e8-0xfb,_0x28d724,_0x28d724-0x18d);}function _0x1c2907(_0x4db864,_0x19f2cb,_0x3bcb62,_0x85197c){return _0x5197df(_0x3bcb62-_0x3c8b94._0x44ff31,_0x19f2cb-0xb9,_0x3bcb62-0x180,_0x85197c);}const _0x2015bf=Buffer['from'](_0x1473b9,_0x1c2907(-_0x26e1f5._0x32fb72,-_0x26e1f5._0x167322,-_0x26e1f5._0x22e884,-0x161)),_0x4b177f=_0x455179[_0x1c2907(-0x11e,-_0x26e1f5._0x264471,-_0x26e1f5._0x5acd59,-_0x26e1f5._0xd08931)+'pheriv'](ALGORITHM,_0x4b6b6a,_0x5b192b);_0x4b177f[_0x1c2907(-0x60,-_0x26e1f5._0x4eef32,-0xa4,-_0x26e1f5._0x2a94fd)](_0x2015bf);let _0x20fdb1=_0x4b177f[_0x554a80(0x422,0x4c8,0x472,0x435)](_0x4ef295,_0x4e5811[_0x554a80(0x4cd,_0x26e1f5._0x87231b,0x476,0x41d)],_0x1c2907(-_0x26e1f5._0xe879f,-0x107,-_0x26e1f5._0x21ed87,-_0x26e1f5._0x5d82cd));return _0x20fdb1+=_0x4b177f[_0x1c2907(-_0x26e1f5._0xd08931,-0x64,-0xb4,-0xdb)](_0x4e5811[_0x1c2907(-_0x26e1f5._0x473795,-_0x26e1f5._0x1bbcb2,-0x9d,-0x7b)]),_0x20fdb1;}async function loadTokenStorage(_0xd1afcc={}){const _0x504d6a={_0x5ce1fa:0x76,_0x34adb5:0x120,_0x4585b1:0x16c,_0x19d753:0x131,_0x54a38f:0x19e,_0x2483e9:0x179,_0x4ff0f3:0x177,_0xa8f033:0x198,_0x31dbb7:0x111,_0x2b6964:0x174,_0x59620b:0xd1,_0x345296:0xd6,_0x5737c7:0x9c,_0x41ee5a:0x87,_0x2942dd:0xe9,_0x222730:0x131,_0x19e1de:0x189,_0x5daca2:0x137,_0x770ee6:0x12b,_0x2b008f:0x130,_0xa010cc:0xa3,_0x1de745:0xed,_0x1e49a2:0x104,_0x2346a1:0x14a,_0x16ad98:0x17e,_0x151262:0xbc,_0x545d10:0x12b,_0x1d9427:0x1a3,_0x523ad0:0x1c2,_0x2a78c6:0x1d3,_0x116539:0x132,_0x3693b9:0x146,_0x221f51:0x16c,_0x4457cd:0x12c,_0x18a857:0x62,_0xf7a767:0x1d7,_0x4829c0:0x1b0,_0x2acd2b:0x212,_0x1880c1:0x17c,_0x1c1eb5:0xc3,_0x259a22:0x72,_0x14d97e:0x83,_0x4d1c42:0x135,_0x3db21f:0x18f,_0x3ca679:0x13b,_0x15299d:0x183,_0x52419a:0x1b9,_0x1dbe4b:0x6a},_0x155936={_0x524e1f:0x3e},_0x2b2ae5={_0x575f80:0x292,_0x29ec3e:0x12},_0x24c8d5={};_0x24c8d5[_0x771e42(0xaf,0xbc,_0x504d6a._0x5ce1fa,0xf9)]=function(_0x1a99cc,_0x2b0ae5){return _0x1a99cc<_0x2b0ae5;};function _0x771e42(_0x1bd007,_0x22aa29,_0x380ea1,_0x592a60){return _0x1cdb35(_0x1bd007-0xf1,_0x22aa29- -_0x2b2ae5._0x575f80,_0x1bd007,_0x592a60-_0x2b2ae5._0x29ec3e);}_0x24c8d5[_0x771e42(0x139,_0x504d6a._0x34adb5,_0x504d6a._0x4585b1,_0x504d6a._0x19d753)]=function(_0x16bf0b,_0x1eaef2){return _0x16bf0b!==_0x1eaef2;},_0x24c8d5['xJplv']=_0x2249f5(-0x16a,-_0x504d6a._0x54a38f,-0x182,-_0x504d6a._0x2483e9),_0x24c8d5['WPmdc']=_0x2249f5(-_0x504d6a._0x4ff0f3,-_0x504d6a._0xa8f033,-0x157,-0x1d3),_0x24c8d5[_0x2249f5(-0x192,-0x1a3,-0x195,-0x181)]='Failed\x20to\x20'+_0x2249f5(-0x140,-_0x504d6a._0x31dbb7,-_0x504d6a._0x2b6964,-0x17c)+_0x771e42(_0x504d6a._0x59620b,_0x504d6a._0x345296,_0x504d6a._0x5737c7,_0x504d6a._0x41ee5a);const _0x27f09f=_0x24c8d5,_0x3d7c6e=_0xd1afcc['logger']||_0x26be52,_0x55e134=_0xd1afcc[_0x2249f5(-0x142,-_0x504d6a._0x2942dd,-_0x504d6a._0x222730,-0xf4)]||DATA_DIR;function _0x2249f5(_0x43b920,_0x49957c,_0x16e348,_0x1a7ead){return _0x5197df(_0x43b920-0x60,_0x49957c-_0x155936._0x524e1f,_0x16e348-0x144,_0x49957c);}const _0x2d89d1=_0x37c2cf[_0x2249f5(-_0x504d6a._0x19e1de,-0x15e,-0x1e5,-0x1bb)](_0x55e134,TOKENS_FILE);if(!existsSync(_0x2d89d1)){if(_0x27f09f[_0x2249f5(-_0x504d6a._0x5daca2,-_0x504d6a._0x770ee6,-0xfd,-_0x504d6a._0x2b008f)](_0x771e42(_0x504d6a._0xa010cc,_0x504d6a._0x1de745,_0x504d6a._0x1e49a2,0x12f),_0x27f09f[_0x2249f5(-0x168,-_0x504d6a._0x2346a1,-_0x504d6a._0x16ad98,-0x14d)])){if(!_0x40fc88)return![];return _0x27f09f[_0x771e42(0xfe,_0x504d6a._0x151262,0x105,0xf1)](new _0x16c441(_0x17f3ce)[_0x2249f5(-0x170,-_0x504d6a._0x545d10,-_0x504d6a._0x1d9427,-_0x504d6a._0x523ad0)](),_0x1924e6[_0x771e42(0xd2,0xe3,0x117,0xf5)]());}else{const _0x5ed62f={};return _0x5ed62f[_0x2249f5(-0x1be,-0x1c7,-0x1b1,-_0x504d6a._0x2a78c6)]={},_0x5ed62f;}}try{const _0x589d1=await _0x3e4c9e[_0x2249f5(-_0x504d6a._0x116539,-_0x504d6a._0x3693b9,-_0x504d6a._0x221f51,-_0x504d6a._0x4457cd)](_0x2d89d1,_0x27f09f[_0x771e42(_0x504d6a._0x18a857,0xba,0xb8,0x10f)]);return JSON[_0x2249f5(-_0x504d6a._0xf7a767,-0x1ca,-_0x504d6a._0x4829c0,-_0x504d6a._0x2acd2b)](_0x589d1);}catch(_0x2bacca){const _0x3c68df={};_0x3c68df[_0x2249f5(-_0x504d6a._0x1880c1,-0x192,-0x1b2,-0x146)]=_0x2bacca[_0x771e42(0xd3,_0x504d6a._0x1c1eb5,_0x504d6a._0x259a22,_0x504d6a._0x14d97e)],_0x3d7c6e[_0x2249f5(-_0x504d6a._0x4d1c42,-_0x504d6a._0x3db21f,-0xe1,-_0x504d6a._0x3ca679)](_0x27f09f[_0x2249f5(-0x192,-0x19a,-_0x504d6a._0x15299d,-_0x504d6a._0x52419a)],_0x3c68df);const _0x47b03d={};return _0x47b03d[_0x771e42(_0x504d6a._0x1dbe4b,0x99,0xcb,0x99)]={},_0x47b03d;}}async function saveTokenStorage(_0x333e85,_0x2ca83e={}){const _0x1604ae={_0x1e5e05:0x3a,_0x51d2f9:0x25,_0x984b5:0xa,_0x702ce2:0x4e,_0x54fc42:0x33,_0xbca196:0x5,_0x463fc7:0x2d,_0x3246ad:0x47,_0x459965:0x4f,_0x43586c:0x27,_0x1ec9bf:0x76,_0x48dc26:0x55,_0x1e9676:0x15,_0x7e6512:0x6e,_0x76faf2:0x43,_0x248d8a:0x44,_0x4af35f:0x0,_0x1cf20b:0x2c,_0x2ca9b0:0x1e,_0x5586f8:0x76,_0x42005b:0x35,_0x11e358:0x23,_0xc51222:0x57,_0x5df099:0x12,_0x182e8b:0x47,_0x1e2c67:0x4b,_0x4a3a70:0x4,_0x4777b6:0x1d,_0x761e25:0x30,_0x5a7310:0x1,_0x59fcf5:0x33,_0x5f7300:0x7c,_0x7b67a:0x58,_0x5a6add:0x8,_0x5a0086:0x21,_0x21c4bc:0x5,_0x5df335:0x5,_0x519c8e:0x53,_0x4f8230:0x13,_0x22fd33:0x5,_0x44d9fa:0x1c,_0x516cb7:0x26},_0x4a894b={_0x29fbd4:0x70},_0x11dc01={_0xb30108:0x372},_0x351124={};_0x351124[_0x2673e3(0x41,0x64,_0x1604ae._0x1e5e05,0x4d)]=_0x2673e3(_0x1604ae._0x51d2f9,-_0x1604ae._0x984b5,0x43,0x81),_0x351124[_0x3972b8(_0x1604ae._0x702ce2,_0x1604ae._0x54fc42,_0x1604ae._0xbca196,_0x1604ae._0x463fc7)]=_0x2673e3(-0x5d,-0xac,-_0x1604ae._0x3246ad,-0xb),_0x351124['axwmo']='Saved\x20user'+_0x3972b8(-0x1,-0x1a,_0x1604ae._0x459965,0x56)+_0x2673e3(_0x1604ae._0x43586c,_0x1604ae._0x1ec9bf,_0x1604ae._0x48dc26,-0x7)+'ge',_0x351124[_0x3972b8(_0x1604ae._0x1e9676,_0x1604ae._0x7e6512,_0x1604ae._0x76faf2,-_0x1604ae._0x248d8a)]='Failed\x20to\x20'+'save\x20user\x20'+_0x3972b8(_0x1604ae._0x4af35f,-0x27,0x17,-0x8);function _0x2673e3(_0x152020,_0x5dce12,_0x1fc727,_0x250c50){return _0x1cdb35(_0x152020-0xba,_0x152020- -_0x11dc01._0xb30108,_0x5dce12,_0x250c50-0x1d4);}function _0x3972b8(_0x210463,_0x5c6d58,_0x40eedf,_0x4c0cdf){return _0x5197df(_0x210463-0x1e1,_0x5c6d58-_0x4a894b._0x29fbd4,_0x40eedf-0x30,_0x40eedf);}const _0xa4a205=_0x351124,_0x209226=_0x2ca83e[_0x2673e3(-_0x1604ae._0x1cf20b,_0x1604ae._0x2ca9b0,-_0x1604ae._0x5586f8,-0x5f)]||_0x26be52,_0xc6c462=_0x2ca83e[_0x2673e3(_0x1604ae._0x42005b,_0x1604ae._0x11e358,_0x1604ae._0xc51222,0x16)]||DATA_DIR,_0x32aa58=_0x37c2cf[_0x2673e3(-_0x1604ae._0x5df099,_0x1604ae._0x182e8b,0x3e,-0x55)](_0xc6c462,TOKENS_FILE);try{if(_0xa4a205[_0x3972b8(_0x1604ae._0x1e2c67,0x4e,0x38,0xb)]===_0xa4a205[_0x2673e3(0x44,0x32,0x22,0x4f)])return _0xdf914e;else{const _0x225b89={};_0x225b89['recursive']=!![],await _0x3e4c9e[_0x2673e3(0x3b,-_0x1604ae._0x4a3a70,-_0x1604ae._0x4777b6,_0x1604ae._0x761e25)](_0xc6c462,_0x225b89);const _0x14a651={};_0x14a651[_0x3972b8(-0x2d,-0x31,-0x2d,0x2b)]=0x180,await _0x3e4c9e[_0x3972b8(0x39,_0x1604ae._0x5a7310,-0x1a,0x79)](_0x32aa58,JSON['stringify'](_0x333e85,null,-0x17b*0x15+-0x9f*0x35+0x4004),_0x14a651),_0x209226[_0x2673e3(-0x39,-_0x1604ae._0x59fcf5,-_0x1604ae._0x5f7300,-_0x1604ae._0x7b67a)](_0xa4a205[_0x3972b8(_0x1604ae._0x5a6add,-0xf,_0x1604ae._0x5a0086,-0x20)]);}}catch(_0x4cbd9d){const _0x32f605={};_0x32f605[_0x3972b8(_0x1604ae._0x21c4bc,0x20,-_0x1604ae._0x5df335,-_0x1604ae._0x519c8e)]=_0x4cbd9d[_0x3972b8(-_0x1604ae._0x4f8230,0x3b,_0x1604ae._0x22fd33,-0x30)],_0x209226['error'](_0xa4a205[_0x3972b8(_0x1604ae._0x1e9676,_0x1604ae._0x44d9fa,_0x1604ae._0x516cb7,0x4d)],_0x32f605);throw _0x4cbd9d;}}function _0x3bb6(_0x49a321,_0x366d9f){_0x49a321=_0x49a321-(0xb*0x207+-0x8c8+-0xc7b);const _0x3b6299=_0x4c88();let _0xc6b2d2=_0x3b6299[_0x49a321];if(_0x3bb6['pcjthb']===undefined){var _0x566725=function(_0x42308d){const _0x157b2a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x43d534='',_0x3e0173='';for(let _0x5dc3d9=-0x2452+0x1457*-0x1+0x38a9,_0x5bb502,_0x1152f5,_0x1ba865=-0xfb0+-0x268d*0x1+0x363d;_0x1152f5=_0x42308d['charAt'](_0x1ba865++);~_0x1152f5&&(_0x5bb502=_0x5dc3d9%(-0x14c6+0x248+0x1282)?_0x5bb502*(0x386+-0x20f5+0x1daf)+_0x1152f5:_0x1152f5,_0x5dc3d9++%(-0x1ab4+-0x16*0x2e+0x1eac))?_0x43d534+=String['fromCharCode'](-0x5ba+0x16*-0xd7+0x1933*0x1&_0x5bb502>>(-(0x1ff7+-0x564+-0x1a91)*_0x5dc3d9&0x1327+0x195d+0x11*-0x29e)):0x2242*-0x1+0x1fa9+0x299){_0x1152f5=_0x157b2a['indexOf'](_0x1152f5);}for(let _0x4df9cb=0x490+-0xe27*0x1+-0x997*-0x1,_0xff9b10=_0x43d534['length'];_0x4df9cb<_0xff9b10;_0x4df9cb++){_0x3e0173+='%'+('00'+_0x43d534['charCodeAt'](_0x4df9cb)['toString'](0x1*0x1165+-0x2269+-0x1114*-0x1))['slice'](-(-0x21ce+0x1e2*0x1+-0x7a*-0x43));}return decodeURIComponent(_0x3e0173);};_0x3bb6['venvCH']=_0x566725,_0x3bb6['TeapAb']={},_0x3bb6['pcjthb']=!![];}const _0x46cde8=_0x3b6299[0x1a59+-0x1*-0x199d+-0x2e3*0x12],_0x21184d=_0x49a321+_0x46cde8,_0xf82197=_0x3bb6['TeapAb'][_0x21184d];return!_0xf82197?(_0xc6b2d2=_0x3bb6['venvCH'](_0xc6b2d2),_0x3bb6['TeapAb'][_0x21184d]=_0xc6b2d2):_0xc6b2d2=_0xf82197,_0xc6b2d2;}export async function getUserGitTokens(_0x11732d,_0x10626f={}){const _0x437335={_0x4df091:0x420,_0x36d1a6:0x1cd,_0x201121:0x1cb,_0x2d08bd:0x496,_0x4fc8c4:0x407,_0x3004f0:0x4a3,_0x1eb684:0x188,_0x3cc5ed:0x208,_0x27cd28:0x1b6,_0x2d9341:0x161,_0x340132:0x3dc,_0x5829dc:0x3df,_0x6b1d91:0x14b,_0x7be58d:0x181,_0xcfe16a:0x1c9,_0x4d98fd:0x1fd,_0x1fdbf0:0x1b7,_0x4f2ae8:0x473,_0x3a8dd0:0x44f,_0x5e64b4:0x3e0,_0x30c71c:0x40e,_0x1cd203:0x401,_0x4d74a8:0x3b6,_0x4a645d:0x3c3,_0x99d584:0x406,_0x32461c:0x111,_0x1cddfa:0x17a,_0xb00b72:0x120,_0x577309:0x186,_0x43f715:0x14f,_0x362988:0x436,_0x5d1c82:0x472,_0x5da613:0x41b,_0x3da70d:0x182,_0x5821d2:0x163,_0x5e97bd:0x148,_0x26ac7b:0x3d6,_0xc00422:0x3b3,_0x2975fd:0x3f7,_0x3c6bb8:0xfe,_0x20fef5:0x10e,_0x28b486:0xcc,_0xe874a8:0x13b,_0x15835f:0x3c2,_0x34a812:0x3e1,_0x1a1821:0x3d0,_0x291268:0x429,_0xc696e0:0x41c,_0x2c2f50:0x113,_0x518dfe:0x105,_0x240326:0x3f5,_0x4dbd12:0x3e3,_0x394b80:0x409,_0x52b5c3:0x469,_0x2f02bc:0x152,_0x1438c3:0x1be,_0x210e8d:0x17e,_0x138e73:0x125,_0x452d4c:0x3bc,_0x3d2b62:0x3e7,_0x2977dd:0x3c6,_0x2c7f85:0x414,_0x4e0f57:0x3ff,_0x5d9d8e:0x3fc,_0x158d6c:0x406,_0x3d3182:0x158,_0x210c13:0x18b,_0x51af01:0x133,_0x69cb00:0x3fd,_0xe67b8c:0x449,_0x562fd2:0x457,_0x1d52d4:0x455,_0x2fcddb:0x418,_0x1e00f7:0x437,_0x1adb3b:0x3f4,_0x221b52:0x12a,_0x562311:0x40d,_0x688818:0x3ef,_0xa547d8:0xe5,_0x1d10e1:0x3dd,_0x230729:0x42b,_0x6484b0:0x117,_0x1d5f79:0x17e,_0x30caaa:0x146,_0x2ea0b9:0x1a2,_0x10e86d:0x192,_0x466eb3:0x47e,_0x220215:0x159,_0xb55a69:0x148,_0x4297b4:0xfa,_0x2dc43a:0x3e8,_0xb4dec2:0x3c2,_0x165c1e:0x41e,_0x1cfce2:0x454,_0x2ff0b4:0x435,_0x51db76:0x177,_0x5c1abb:0x137,_0x40ae17:0x3f8,_0x5e8a49:0x411,_0x55bd27:0x417,_0x56c482:0x122,_0x362211:0x173,_0x4387c4:0x4ac,_0x504541:0x3da,_0x72c047:0x3a2,_0x52cd73:0x3f6,_0x395d78:0x3eb,_0x10402a:0x447,_0x3316f2:0x467,_0x5b1c80:0x480,_0x41d859:0x14e,_0x419074:0x18b,_0xfcf271:0x15f,_0x2259f8:0x125,_0x218229:0x4bf,_0x130985:0x46b,_0x3eb263:0x4b2,_0x2435c1:0x452,_0x46cff8:0x3cd},_0x3d3b71={_0x2ca046:0xad,_0x2cf4b9:0x20b,_0x466f7c:0x197},_0x57cc72={_0x3a63e9:0x7a,_0xc60eaa:0xc8,_0x6e83a4:0x130},_0x299318={'HROmF':'Invalid\x20en'+_0x576346(0x46f,0x43b,0x421,_0x437335._0x4df091)+'lue\x20format','VATXu':'hex','pQFJE':'utf8','EVOZg':_0xaa181d(0x14b,_0x437335._0x36d1a6,_0x437335._0x201121,0x186)+_0x576346(_0x437335._0x2d08bd,_0x437335._0x4fc8c4,_0x437335._0x3004f0,0x462)+_0xaa181d(0x1cf,0x1e2,0x183,_0x437335._0x1eb684)+'required','Chnpn':function(_0x1824c9,_0x5b7d4a){return _0x1824c9(_0x5b7d4a);},'EUuFf':function(_0x4cf085,_0x308c28){return _0x4cf085!==_0x308c28;},'SInaP':'WhIOu','uyFcX':_0xaa181d(0x15c,_0x437335._0x3cc5ed,0x1bf,_0x437335._0x27cd28),'rorgb':function(_0x4bd19f,_0x2f2d3a,_0x16c854){return _0x4bd19f(_0x2f2d3a,_0x16c854);},'vOeRH':_0xaa181d(0x1be,0x133,0x18e,0x17e),'nEcoF':_0xaa181d(0x100,_0x437335._0x2d9341,0x144,0x121),'eKAVn':function(_0x34a7ed,_0x584ecd){return _0x34a7ed===_0x584ecd;},'dxBrH':_0x576346(0x3fe,_0x437335._0x340132,0x41a,_0x437335._0x5829dc),'IwEia':_0xaa181d(0x130,0xf4,0x11e,_0x437335._0x6b1d91)+_0xaa181d(_0x437335._0x7be58d,_0x437335._0xcfe16a,_0x437335._0x4d98fd,_0x437335._0x1fdbf0)+_0x576346(_0x437335._0x4f2ae8,0x456,_0x437335._0x3a8dd0,0x48b)+'ovider'};function _0x576346(_0x1414b4,_0x3041a9,_0x77eabc,_0xe6d675){return _0x1cdb35(_0x1414b4-_0x57cc72._0x3a63e9,_0xe6d675-_0x57cc72._0xc60eaa,_0x1414b4,_0xe6d675-_0x57cc72._0x6e83a4);}const _0x528b86=_0x10626f[_0x576346(0x415,0x410,_0x437335._0x5e64b4,_0x437335._0x30c71c)]||_0x26be52;if(!_0x11732d)throw new Error('User\x20ID\x20is'+'\x20required');const _0x1a1f84=await _0x299318[_0x576346(_0x437335._0x1cd203,_0x437335._0x4d74a8,_0x437335._0x4a645d,_0x437335._0x99d584)](loadTokenStorage,_0x10626f),_0x4193b8=_0x1a1f84[_0xaa181d(_0x437335._0x32461c,_0x437335._0x1cddfa,0x131,_0x437335._0xb00b72)]?.[_0x11732d];if(!_0x4193b8)return{};const _0x1b6a24=await getEncryptionKey(_0x10626f),_0x57daea={};function _0xaa181d(_0x12b0a1,_0xa879b5,_0x15c354,_0x3742c8){return _0x1cdb35(_0x12b0a1-_0x3d3b71._0x2ca046,_0x3742c8- -_0x3d3b71._0x2cf4b9,_0x12b0a1,_0x3742c8-_0x3d3b71._0x466f7c);}for(const [_0x1e2728,_0x529c2f]of Object['entries'](_0x4193b8)){if(_0x299318['EUuFf'](_0x299318['SInaP'],_0x299318[_0xaa181d(_0x437335._0x577309,0x148,_0x437335._0x43f715,0x175)]))try{const _0x28b7bb={'access_token':_0x529c2f[_0x576346(0x3f3,_0x437335._0x362988,_0x437335._0x5d1c82,_0x437335._0x5da613)+'en']?decrypt(_0x529c2f[_0xaa181d(_0x437335._0x3da70d,_0x437335._0x5821d2,0x100,_0x437335._0x5e97bd)+'en'],_0x1b6a24):null,'connected_at':_0x529c2f[_0x576346(_0x437335._0x26ac7b,_0x437335._0xc00422,0x401,_0x437335._0x2975fd)+'at']};_0x529c2f[_0xaa181d(0xe5,_0x437335._0x3c6bb8,0x13f,_0x437335._0x20fef5)+_0xaa181d(_0x437335._0x28b486,_0x437335._0xe874a8,0x14d,0x105)]&&(_0x28b7bb[_0x576346(0x3a4,_0x437335._0x15835f,0x3cf,_0x437335._0x34a812)+'ken']=_0x299318[_0x576346(_0x437335._0x1a1821,0x3de,_0x437335._0x291268,_0x437335._0xc696e0)](decrypt,_0x529c2f['refresh_to'+_0xaa181d(0xd1,_0x437335._0x2c2f50,0x13e,_0x437335._0x518dfe)],_0x1b6a24));if(_0x529c2f[_0x576346(_0x437335._0x240326,0x43f,_0x437335._0x4dbd12,_0x437335._0x394b80)]){if(_0x299318[_0x576346(_0x437335._0x52b5c3,0x47e,0x447,0x44b)]!==_0xaa181d(_0x437335._0x2f02bc,0x154,_0x437335._0x1438c3,_0x437335._0x210e8d))throw new _0x44eadb(_0x299318['HROmF']);else _0x28b7bb[_0xaa181d(0x115,0x130,_0x437335._0x138e73,0x136)]=_0x529c2f[_0x576346(_0x437335._0x452d4c,_0x437335._0x3d2b62,0x41f,0x409)];}_0x529c2f[_0x576346(0x3cf,_0x437335._0x2977dd,_0x437335._0x2c7f85,_0x437335._0x4e0f57)+'in']&&(_0x28b7bb['github_log'+'in']=_0x529c2f[_0x576346(0x3e7,_0x437335._0x5d9d8e,_0x437335._0x158d6c,_0x437335._0x4e0f57)+'in']),_0x529c2f['github_use'+_0xaa181d(_0x437335._0x32461c,0x103,0xfd,_0x437335._0x3d3182)]&&(_0x299318[_0xaa181d(0x1a1,_0x437335._0x210c13,_0x437335._0x51af01,0x163)](_0x299318[_0x576346(_0x437335._0x69cb00,_0x437335._0xe67b8c,_0x437335._0x562fd2,_0x437335._0x1d52d4)],_0x576346(_0x437335._0x2fcddb,_0x437335._0x1e00f7,0x410,_0x437335._0x1adb3b))?_0x2ac120=null:_0x28b7bb[_0xaa181d(0x137,_0x437335._0x221b52,0x113,0x140)+_0x576346(_0x437335._0x562311,0x414,_0x437335._0x688818,0x42b)]=_0x529c2f[_0xaa181d(0x13f,0x15b,_0x437335._0xa547d8,0x140)+_0x576346(0x426,_0x437335._0x1d10e1,0x3e1,_0x437335._0x230729)]),_0x529c2f[_0xaa181d(_0x437335._0x6484b0,_0x437335._0x221b52,_0x437335._0x1d5f79,_0x437335._0x30caaa)+_0xaa181d(_0x437335._0x2ea0b9,_0x437335._0x10e86d,0x14f,_0x437335._0x43f715)]&&(_0x28b7bb[_0x576346(0x3e9,0x404,0x3e0,0x419)+_0x576346(_0x437335._0x466eb3,0x47e,0x3f8,0x422)]=_0x529c2f[_0xaa181d(_0x437335._0x220215,0xfb,_0x437335._0xb55a69,_0x437335._0x30caaa)+_0xaa181d(0x128,0x152,_0x437335._0x4297b4,0x14f)]),_0x57daea[_0x1e2728]=_0x28b7bb;}catch(_0x40c2a5){if(_0x299318['eKAVn'](_0x299318['dxBrH'],_0x299318[_0x576346(0x42a,0x443,0x3d8,_0x437335._0x2dc43a)])){const _0x1dd35f={};_0x1dd35f['userId']=_0x11732d,_0x1dd35f[_0x576346(0x43e,_0x437335._0xb4dec2,0x39c,0x3f5)+'me']=_0x1e2728,_0x1dd35f[_0x576346(_0x437335._0x165c1e,_0x437335._0x1cfce2,0x428,_0x437335._0x2ff0b4)]=_0x40c2a5['message'],_0x528b86['warn'](_0x299318[_0xaa181d(_0x437335._0x51db76,_0x437335._0x518dfe,0xfe,_0x437335._0x5c1abb)],_0x1dd35f);}else{const [_0x3cde85,_0x3fbf2f,_0x16ff9a]=_0x14eb7c[_0x576346(_0x437335._0x40ae17,0x452,_0x437335._0x5e8a49,_0x437335._0x55bd27)](':');if(!_0x3cde85||!_0x3fbf2f||!_0x16ff9a)throw new _0x130b18(_0x299318['HROmF']);const _0x54cef5=_0x3d3151['from'](_0x3cde85,_0x299318[_0xaa181d(_0x437335._0x56c482,_0x437335._0x362211,0x153,_0x437335._0x138e73)]),_0x1627e4=_0x5dfe4a[_0x576346(0x4a7,_0x437335._0x4387c4,0x49a,0x482)](_0x3fbf2f,_0x576346(_0x437335._0x504541,_0x437335._0x72c047,0x3bb,0x3ef)),_0x32c91e=_0x565501['createDeci'+_0x576346(0x3cd,_0x437335._0x52cd73,0x3e6,_0x437335._0x395d78)](_0x4c648e,_0x5e59d2,_0x54cef5);_0x32c91e[_0x576346(_0x437335._0x10402a,0x4a3,_0x437335._0x3316f2,_0x437335._0x5b1c80)](_0x1627e4);let _0x145ff5=_0x32c91e[_0xaa181d(0x198,_0x437335._0x41d859,_0x437335._0x419074,0x16c)](_0x16ff9a,_0x299318[_0xaa181d(_0x437335._0xfcf271,0xd9,0x175,_0x437335._0x2259f8)],_0x299318[_0x576346(_0x437335._0x218229,0x4c8,0x433,_0x437335._0x130985)]);return _0x145ff5+=_0x32c91e['final'](_0x299318[_0x576346(_0x437335._0x3eb263,_0x437335._0x2435c1,0x48b,0x46b)]),_0x145ff5;}}else throw new _0x53702c(_0x299318[_0x576346(_0x437335._0x46cff8,0x41e,0x41a,0x3d9)]);}return _0x57daea;}export async function getUserGitToken(_0x4e6f9f,_0x2e27a9,_0x56d300={}){const _0x4d21cb={_0x525c76:0x2b},_0x3093ba={_0x3be936:0x168,_0x31652c:0x186};function _0x1e4947(_0x35e796,_0x529d6a,_0x21159f,_0x577cae){return _0x5197df(_0x529d6a-0x1d1,_0x529d6a-_0x3093ba._0x3be936,_0x21159f-_0x3093ba._0x31652c,_0x577cae);}const _0x3c988d={'rKgXT':function(_0x394721,_0x59d17d,_0x3d5b1e){return _0x394721(_0x59d17d,_0x3d5b1e);}},_0x481ac5=await _0x3c988d[_0x1e4947(-0x4,-_0x4d21cb._0x525c76,0xa,0x1b)](getUserGitTokens,_0x4e6f9f,_0x56d300);return _0x481ac5[_0x2e27a9]||null;}export async function storeUserGitToken(_0x49cd48,_0x171404,_0x2fc73c,_0x16c603={}){const _0x33e7d6={_0x57da70:0x349,_0x516de5:0x312,_0x18e323:0xee,_0xac7545:0x82,_0x10dd05:0x8d,_0x4d2107:0x91,_0x64b0de:0x75,_0x3d550a:0x92,_0x2cc02e:0x34c,_0x5d12bb:0x36c,_0x22901d:0x2d3,_0x2b6294:0x318,_0x2e5880:0x2eb,_0x8979bf:0x315,_0x5042db:0x2c0,_0x3529f8:0x37a,_0x4f6636:0x325,_0x2a20e3:0x2fa,_0x802a0c:0x300,_0x17f9ba:0x23,_0x3355dd:0x5,_0x34b392:0x54,_0x10a4b2:0x6e,_0x1db82e:0x30b,_0x475768:0x2f6,_0x274906:0x7f,_0x1523a5:0x5,_0x2b5265:0x4d,_0x26fb42:0x6b,_0x525b9a:0xe,_0x205d35:0x74,_0x271627:0x94,_0x3268fa:0x70,_0x1bf8d7:0x76,_0x50cbf7:0x372,_0x648ace:0x2e0,_0x423df4:0x31c,_0x4ad4ba:0x98,_0x1ec5da:0x37a,_0x2ce899:0x32f,_0x1f8bef:0xcf,_0x5a2998:0x31b,_0x355c02:0x36b,_0x5ee114:0xc,_0x1efadc:0x3b,_0x2a0a0a:0x4f,_0x57dd9f:0x72,_0x49de15:0x2b7,_0x425f47:0x2ee,_0x56f921:0x278,_0x3479c1:0x2ce,_0x7d7ff8:0x2c2,_0x2a5189:0x33,_0xf7727:0x18,_0x1721ef:0x287,_0x415054:0x33c,_0x2a9a03:0x2e4,_0x30beaa:0x1d,_0x17efef:0x79,_0x3e0828:0x27b,_0x1db9fb:0x2a6,_0x35a6d4:0x316,_0x464f10:0x2bf,_0x38baa2:0xb,_0x49ee89:0x4,_0x315adb:0x291,_0x33b026:0x26a,_0x54d642:0x2b3,_0xdfb078:0x3e,_0x52036f:0x15,_0x4d7cc3:0x2,_0x5143f7:0x1b,_0xdf4d91:0x76,_0x35476e:0x33,_0x57e85c:0x44,_0xab6a8b:0x28,_0x279230:0x29,_0x17c108:0x8,_0x1c1a87:0x2fd,_0x1cf16c:0x30e,_0x3f5f45:0x338,_0x527709:0x347,_0x3101b1:0x2b2,_0x4dd2d3:0xc,_0x8ed6af:0x3d,_0x348e20:0x2e,_0x4facd8:0x89,_0x196b48:0x2fe,_0x2c7b6d:0x2f4,_0x8806c6:0x334,_0x4d8c99:0x2be,_0x539b5d:0x2a8,_0x52feb0:0x312,_0x5d470f:0x2fd,_0x2f975d:0xcc,_0x5552f7:0x7c,_0x4249ac:0x4e,_0x13c978:0x78,_0x99f923:0x380,_0x3d1db3:0x385,_0x7a07f3:0x1a,_0x17b0ba:0x59,_0x45d696:0x311,_0x40a4bf:0x2c5,_0x18f5c0:0x2b5,_0x30c576:0xa2,_0x271b67:0x53,_0x231cf:0x55,_0x189a68:0x56,_0x5394ff:0x2a,_0xa71f8e:0x303,_0x5d1b55:0x39a,_0x37c71d:0x35c},_0x47bf31={_0x52f1f6:0x143,_0x13cfe3:0x30e,_0x5757da:0x188},_0x17bf46={_0x38e875:0x122,_0x4724d2:0x5d,_0xa6b3ad:0x183};function _0x3af3ba(_0x4d7b7b,_0x5eb39a,_0x1db85c,_0x37b7ea){return _0x1cdb35(_0x4d7b7b-_0x17bf46._0x38e875,_0x37b7ea- -_0x17bf46._0x4724d2,_0x5eb39a,_0x37b7ea-_0x17bf46._0xa6b3ad);}const _0x39c232={'BHTbF':function(_0x5cde13,_0x4ce567){return _0x5cde13*_0x4ce567;},'sszLV':function(_0x56ffce,_0x332509){return _0x56ffce<=_0x332509;},'aqJdE':function(_0x4d6c9d,_0x54129c){return _0x4d6c9d-_0x54129c;},'jggZY':'Provider\x20n'+_0x3af3ba(0x30d,0x301,_0x33e7d6._0x57da70,_0x33e7d6._0x516de5)+_0x27b9ed(_0x33e7d6._0x18e323,0xb8,0x73,_0x33e7d6._0xac7545),'tYeqS':function(_0x2bcf0d,_0x33d2c3){return _0x2bcf0d!==_0x33d2c3;},'wVIFm':_0x27b9ed(_0x33e7d6._0x10dd05,_0x33e7d6._0x4d2107,_0x33e7d6._0x64b0de,_0x33e7d6._0x3d550a),'bzMts':_0x3af3ba(0x375,0x3b1,_0x33e7d6._0x2cc02e,_0x33e7d6._0x5d12bb),'BSahx':'Access\x20tok'+'en\x20is\x20requ'+_0x3af3ba(_0x33e7d6._0x22901d,0x300,_0x33e7d6._0x2b6294,_0x33e7d6._0x2e5880),'AplZi':function(_0x53941e,_0x13e9da){return _0x53941e(_0x13e9da);},'zqqSX':function(_0x441c78,_0x28ea16){return _0x441c78(_0x28ea16);},'wgznI':function(_0x4b10f1,_0x4eba3d){return _0x4b10f1===_0x4eba3d;},'mnRUO':'wnJwb','dPGCL':function(_0x4181b8,_0x5dc7d6,_0x443df0){return _0x4181b8(_0x5dc7d6,_0x443df0);},'oQmCb':function(_0x2cd90c,_0x5f3304,_0x3fb8d1){return _0x2cd90c(_0x5f3304,_0x3fb8d1);},'RAnUS':function(_0xd9eb9f,_0xcf5506,_0x212b5d){return _0xd9eb9f(_0xcf5506,_0x212b5d);},'xXriV':_0x3af3ba(0x278,_0x33e7d6._0x8979bf,_0x33e7d6._0x5042db,0x2b9)+_0x3af3ba(_0x33e7d6._0x3529f8,0x341,0x2f1,_0x33e7d6._0x4f6636)+_0x3af3ba(_0x33e7d6._0x2a20e3,0x34d,0x2f1,_0x33e7d6._0x802a0c)},_0x115c20=_0x16c603['logger']||_0x26be52;if(!_0x49cd48)throw new Error('User\x20ID\x20is'+_0x27b9ed(-_0x33e7d6._0x17f9ba,_0x33e7d6._0x3355dd,-_0x33e7d6._0x34b392,0x29));if(!_0x171404)throw new Error(_0x39c232[_0x27b9ed(_0x33e7d6._0x10a4b2,0x17,0x66,0x36)]);if(!_0x2fc73c?.[_0x3af3ba(0x326,0x328,_0x33e7d6._0x1db82e,_0x33e7d6._0x475768)+'en']){if(_0x39c232[_0x27b9ed(0x51,0x97,0x51,_0x33e7d6._0x274906)](_0x39c232[_0x27b9ed(-_0x33e7d6._0x1523a5,_0x33e7d6._0x2b5265,_0x33e7d6._0x26fb42,_0x33e7d6._0x525b9a)],_0x39c232[_0x27b9ed(_0x33e7d6._0x205d35,0x6e,0xab,_0x33e7d6._0x271627)]))throw new Error(_0x39c232[_0x27b9ed(_0x33e7d6._0x3268fa,_0x33e7d6._0x1bf8d7,0x94,0x52)]);else{if(!_0x1ea2c5)return![];const _0x546f71=new _0x353bb9(_0x2105fb)[_0x3af3ba(_0x33e7d6._0x50cbf7,_0x33e7d6._0x648ace,0x2fc,_0x33e7d6._0x423df4)](),_0xa30473=_0x89570a[_0x27b9ed(0x45,0x67,_0x33e7d6._0x4ad4ba,0x2b)](),_0xb707a3=_0x39c232[_0x3af3ba(_0x33e7d6._0x1ec5da,0x35a,_0x33e7d6._0x2ce899,0x351)](_0x39c232[_0x27b9ed(0xe7,0xa0,0x8c,_0x33e7d6._0x1f8bef)](_0x57c3d8,-0x4*0x93f+-0xf95*-0x1+0xbf*0x1d),0x24ec+0x76*-0x29+-0xe1e);return _0x39c232[_0x3af3ba(0x3aa,0x377,_0x33e7d6._0x5a2998,_0x33e7d6._0x355c02)](_0x39c232['aqJdE'](_0x546f71,_0xa30473),_0xb707a3);}}const _0x35b4ec=await _0x39c232['AplZi'](getEncryptionKey,_0x16c603),_0x2e6383=await _0x39c232[_0x27b9ed(-_0x33e7d6._0x5ee114,_0x33e7d6._0x1efadc,_0x33e7d6._0x2a0a0a,_0x33e7d6._0x57dd9f)](loadTokenStorage,_0x16c603);!_0x2e6383[_0x3af3ba(_0x33e7d6._0x49de15,_0x33e7d6._0x425f47,_0x33e7d6._0x56f921,_0x33e7d6._0x3479c1)]&&(_0x39c232['wgznI']('fXqmk',_0x39c232[_0x3af3ba(0x28c,0x306,0x289,_0x33e7d6._0x7d7ff8)])?_0x4efd26[_0x27b9ed(0x79,_0x33e7d6._0x2a5189,_0x33e7d6._0xf7727,0x12)]=_0x3a7525[_0x3af3ba(_0x33e7d6._0x1721ef,0x2bd,_0x33e7d6._0x415054,_0x33e7d6._0x2a9a03)]:_0x2e6383[_0x27b9ed(0x2e,_0x33e7d6._0x30beaa,-0x27,-_0x33e7d6._0x2a5189)]={});!_0x2e6383[_0x27b9ed(0x60,0x1d,_0x33e7d6._0x17efef,-0x11)][_0x49cd48]&&(_0x2e6383[_0x3af3ba(_0x33e7d6._0x3e0828,0x27e,_0x33e7d6._0x1db9fb,_0x33e7d6._0x3479c1)][_0x49cd48]={});function _0x27b9ed(_0x237480,_0x592a2c,_0x4c0771,_0x140c13){return _0x1cdb35(_0x237480-_0x47bf31._0x52f1f6,_0x592a2c- -_0x47bf31._0x13cfe3,_0x140c13,_0x140c13-_0x47bf31._0x5757da);}const _0x35db4e={'access_token':_0x39c232['dPGCL'](encrypt,_0x2fc73c['access_tok'+'en'],_0x35b4ec),'connected_at':new Date()[_0x3af3ba(0x2a6,_0x33e7d6._0x35a6d4,0x2c9,_0x33e7d6._0x464f10)+'g']()};_0x2fc73c[_0x27b9ed(0x60,_0x33e7d6._0x38baa2,_0x33e7d6._0x49ee89,-0x36)+_0x3af3ba(0x2cb,_0x33e7d6._0x315adb,_0x33e7d6._0x33b026,_0x33e7d6._0x54d642)]&&(_0x35db4e['refresh_to'+'ken']=_0x39c232['oQmCb'](encrypt,_0x2fc73c[_0x27b9ed(-0xf,0xb,-_0x33e7d6._0xdfb078,-0x4e)+_0x27b9ed(_0x33e7d6._0x52036f,_0x33e7d6._0x4d7cc3,0x15,0x5e)],_0x35b4ec));_0x2fc73c[_0x27b9ed(-_0x33e7d6._0x5143f7,0x33,-0xc,_0x33e7d6._0xdf4d91)]&&(_0x35db4e['expires_at']=_0x2fc73c[_0x27b9ed(_0x33e7d6._0x35476e,0x33,0x70,_0x33e7d6._0x57e85c)]);_0x2fc73c['github_log'+'in']&&(_0x35db4e[_0x27b9ed(-_0x33e7d6._0xab6a8b,0x29,-_0x33e7d6._0x279230,-_0x33e7d6._0x17c108)+'in']=_0x2fc73c['github_log'+'in']);_0x2fc73c[_0x3af3ba(_0x33e7d6._0x1c1a87,0x2a2,_0x33e7d6._0x1cf16c,0x2ee)+_0x3af3ba(_0x33e7d6._0x3f5f45,_0x33e7d6._0x527709,_0x33e7d6._0x3101b1,0x306)]&&(_0x35db4e[_0x27b9ed(_0x33e7d6._0x4dd2d3,_0x33e7d6._0x8ed6af,0x1d,0x95)+_0x27b9ed(0xd,0x55,_0x33e7d6._0x348e20,_0x33e7d6._0x4facd8)]=_0x2fc73c['github_use'+_0x27b9ed(0x95,0x55,_0x33e7d6._0x205d35,0x62)]);_0x2fc73c[_0x3af3ba(0x31e,0x2d4,_0x33e7d6._0x196b48,_0x33e7d6._0x2c7b6d)+_0x3af3ba(_0x33e7d6._0x8806c6,0x313,_0x33e7d6._0x4d8c99,0x2fd)]&&(_0x35db4e['azure_user'+_0x3af3ba(0x331,_0x33e7d6._0x539b5d,_0x33e7d6._0x52feb0,_0x33e7d6._0x5d470f)]=_0x2fc73c['azure_user'+'name']);_0x2e6383['tokens'][_0x49cd48][_0x171404]=_0x35db4e,await _0x39c232[_0x27b9ed(_0x33e7d6._0x2f975d,_0x33e7d6._0x5552f7,_0x33e7d6._0x4249ac,_0x33e7d6._0x13c978)](saveTokenStorage,_0x2e6383,_0x16c603);const _0x592515={};_0x592515[_0x3af3ba(_0x33e7d6._0x99f923,0x324,_0x33e7d6._0x3d1db3,0x32b)]=_0x49cd48,_0x592515[_0x27b9ed(-0x1b,0x1f,0x33,-_0x33e7d6._0x8ed6af)+'me']=_0x171404,_0x592515[_0x27b9ed(-_0x33e7d6._0x7a07f3,_0x33e7d6._0x5ee114,0x58,_0x33e7d6._0x17b0ba)+_0x3af3ba(0x286,0x318,0x27b,0x2be)]=!!_0x2fc73c[_0x3af3ba(0x2a0,_0x33e7d6._0x45d696,_0x33e7d6._0x49de15,0x2bc)+_0x3af3ba(_0x33e7d6._0x40a4bf,0x2ea,_0x33e7d6._0x18f5c0,0x2b3)],_0x592515[_0x27b9ed(_0x33e7d6._0x30c576,_0x33e7d6._0x271b67,_0x33e7d6._0x231cf,0x18)]=_0x2fc73c[_0x27b9ed(0x1,0x33,_0x33e7d6._0x189a68,-_0x33e7d6._0x5394ff)],_0x115c20['info'](_0x39c232[_0x3af3ba(_0x33e7d6._0xa71f8e,0x365,_0x33e7d6._0x5d1b55,_0x33e7d6._0x37c71d)],_0x592515);}function _0x4c88(){const _0x20a77b=['ihjLCxvPCMvK','zgvSzxrLzenVDq','sMndDMy','u3rVCMvKigDPDa','uuDcC3a','BcbNAxqGDg9Rzq','CMvMCMvZAf90BW','AgfZuMvMCMvZAa','vg9Rzw4','Dg9ju09tDhjPBG','zYb0B2TLBIbMBW','vMTZEuy','Bw5svu8','zhHcCKG','yxrjC0O','r2vUzxjHDgLUzW','CgHLCML2','CM5Avu0','AMDNwLK','rwrIEhC','Agv4','mtyZmJa3ndrss0DxBLO','wLLqEwm','D0D1A2m','Dg9Rzw5Z','r1rIuxe','ChjVDMLKzxjoyq','CeHtrKO','y29UBMvJDgvKxW','vKfuwhu','nte2ndeYogvwzhvctq','wMj3AMm','CIb1C2vY','lwTLEq','v2PUqNi','rgvSzxrLzcbHBa','z2L0AhvIx2XVzW','r2j1wMq','zgvIDwC','ihrVigrHDgeGza','Bw9Kzq','sfzbtu0','zxK6ia','q2HUCg4','igDLBMvYyxrPBG','v1ztwvi','zxHWAxjLC19HDa','sxDfAwe','r2L0ie9bDxrOia','C2f2zsbNAxqGtW','A3HRCKW','Bg9Nz2vY','Dg9tDhjPBMC','AxjLza','ENfXu1G','nJqWmZyYv0fsBfb6','z2L0AhvIx3vZzq','v1bTzgm','CKTNwfq','EwLSsLe','C3bSAxq','EvPqC1a','yxP1CMvFDxnLCG','y3j5ChrPB24GAW','ywnJzxnZx3rVAW','CM9Yz2i','BwvZC2fNzq','rMfPBgvKihrVia','AxnJrfG','y3j5ChrLzcb2yq','vefkyNa','BMfTzq','D1zjrM0','rgr6rMm','ihvZzxi','CMLwALO','v0PHAg8','AM9PBG','zxHWAxjLC0f0','zw50CMLLCW','CL9Pza','mtaZotC4nfvivwPtEG','BgvUz3rO','CMvXDwLYzwq','igDPDcb0B2TLBG','z2L0ihrVA2vUCW','CMvJDxjZAxzL','Aw5MBW','rgHeBK4','CgvYC2LZDcbLBG','zxjYB3i','rvv1rMy','yw1LigLZihjLCq','yxH3Bw8','tu5QtLe','DxrMltG','CNLWDgLVBIbRzq','z2v0qxv0AfrHzW','BM93','qM1jtuq','DxbKyxrL','ig5LDYbNAxqGtW','z2v0vgLTzq','ChrPB24GA2v5la','zKDpruC','yNPnDhm','y0nhBvy','swrXzNK','DKvPwu8','DxLgy1G','EePWBhy','ihrVA2vUigzVCG','DK9LuKG','qLnHAhG','ChrPB24GA2v5','CMfUzg9TqNL0zq','sw5YzMW','DxnLCKLK','rMPSBfG','uKfUvvm','mZC2mdu5nNrODu9UBW','DxrMoa','BKvJB0y','BhvLigzVCM1HDa','Dcb0B2TLBIbMBW','sgX3CNu','vxnLCIbjrcbHBG','y3jLyxrLq2LWAa','ig5HBwuGyxjLia','y3jLyxrLrgvJAq','qxv0AcbLBMnYEq','tKXdDu0','rxbxy2O','CMvHzcbNAxqGtW','CYb0BYbZDg9Yyq','zcbWCM92AwrLCG','ysbKAxjLy3rVCG','ywvZlti1nI1NyW','A2v5CW','mZy1ngrTv2jUuq','tgPkEui','B2TLBNmUANnVBG','D3jPDgvgAwXL','DhjPBq','CffgsKu','zYbUzxCGB25L','DfLLCvm','AxjLy3rVCNK','zgf0yurPCG','zMLUywW','Bg9Hzcb1C2vYia','vNjZzwy','DxnLCI1NAxqTDa','tM8GzxHPC3rPBG','BwTKAxi','qKHuyKy','EKHfDhG','vxnLCIbjrcbPCW','nvHlBen6DG','y1HluuC','Bu1RAeK','D2fYBG','EsbMCM9TigrHDa','Dw9frvq','CMvHzezPBgu','C2v0qxv0AfrHzW','EfHYAvy','zNjVBq','y29UBMvJDgvK','zgvYia','mZi2mda0vfHptw9y','Aej5zNC','BvvPEeu','swDRz0K','suHXs3a','zgvJCNLWDcb0BW','A2vUigzVCIbWCG','tMPXtfO','nZe2turXAxHK','DwLYzwq','whfYrMq','C3n6tfy','rLjKuw4','A2vU','rvzpwMC','CgfYC2u'];_0x4c88=function(){return _0x20a77b;};return _0x4c88();}function _0x1cdb35(_0x46e3f5,_0x3244f3,_0x222e39,_0x2d7149){return _0x3bb6(_0x3244f3-0x206,_0x222e39);}export async function updateUserGitToken(_0x5e1560,_0x5ec281,_0x3d4f97,_0x16ac68={}){const _0x4cd11e={_0xdee78f:0x0,_0x28364f:0x11b,_0x5de6a0:0xcf,_0x66031c:0xdf,_0x13acaf:0x8e,_0x4facd1:0x7b,_0x418519:0xa9,_0x4f80ef:0x6,_0x540693:0x26,_0x118c03:0x10,_0xad64ce:0x4b,_0x14dceb:0xfa,_0x5de850:0x9e,_0x286df0:0xa2,_0x4d95fa:0xc5,_0x5e580e:0x8a,_0x5e9b40:0xe2,_0x1728e4:0x4c,_0x1a6190:0x33,_0x3644e1:0x30,_0x14c512:0x7a,_0x1c023a:0x6b,_0x5dd21a:0x55,_0x3dfc77:0x80,_0x45e799:0x2c,_0x20ae38:0x8f,_0x502d0b:0x16,_0x16aa5d:0x44,_0x391cf0:0x5e,_0x5222cf:0x23,_0x22ad2b:0x51,_0x5960f4:0x29,_0x11ab9f:0xe1,_0x104bae:0xf4,_0x5f4809:0x52,_0x1ad447:0x47,_0x5aa1b4:0xe8,_0x1d9da8:0x88,_0x1985e1:0x98,_0x2ee1d6:0x93,_0x44e1c8:0x36,_0x43e2af:0x22,_0xa41450:0x2d,_0x256696:0x41,_0x52b495:0xd,_0x517251:0x50,_0x325fb6:0x54,_0x484995:0x16,_0x2051fd:0x4f,_0x4ce122:0x69,_0x4a7091:0x2a,_0x508aa4:0x31,_0x5a9a86:0x4e,_0x54900e:0x44,_0x158268:0x30,_0x8a54d2:0x3e,_0x4503d2:0x25,_0x338b62:0x1f,_0x52e789:0x10,_0x128e33:0x1b,_0x5d6b39:0x76,_0x1c383c:0xa4,_0x5afac4:0x62,_0x3997ec:0x53,_0x20ef2f:0x7,_0x3fecdc:0x83,_0x53a777:0x44,_0x4de76a:0xa},_0x550d17={_0x459d91:0x1d1,_0xd12751:0x186},_0x1b00bc={'DhDnN':function(_0x2be813,_0x684fe0){return _0x2be813===_0x684fe0;},'MNjNQ':'IxsRc','NjqLZ':_0x282f0d(0x3b,0x81,_0x4cd11e._0xdee78f,0x39),'Zbwjc':_0x391324(0xc6,0xbe,0x109,_0x4cd11e._0x28364f)+_0x391324(_0x4cd11e._0x5de6a0,0x82,0xe7,_0x4cd11e._0x66031c)+_0x391324(0xc8,0x104,0x85,_0x4cd11e._0x13acaf)+'required','ZYPyc':function(_0x4e8677,_0x2b8726){return _0x4e8677(_0x2b8726);},'DdzFc':function(_0x344e53,_0x46ccf5,_0x256466){return _0x344e53(_0x46ccf5,_0x256466);},'wGukc':function(_0x41bc46,_0x5b510b,_0x52a5f6){return _0x41bc46(_0x5b510b,_0x52a5f6);},'GGtPQ':function(_0x12b10a,_0x4dfb84,_0xd86776){return _0x12b10a(_0x4dfb84,_0xd86776);}};function _0x282f0d(_0x13040a,_0x3a5ea2,_0xb6c33f,_0x17e699){return _0x5197df(_0x17e699-0x223,_0x3a5ea2-0x14b,_0xb6c33f-0x1ae,_0xb6c33f);}function _0x391324(_0x448cd3,_0x2cedee,_0x4b76d9,_0x5d8134){return _0x5197df(_0x448cd3-0x27e,_0x2cedee-_0x550d17._0x459d91,_0x4b76d9-_0x550d17._0xd12751,_0x2cedee);}const _0x3b0f84=_0x16ac68[_0x391324(_0x4cd11e._0x4facd1,_0x4cd11e._0x418519,0xb9,0x61)]||_0x26be52;if(!_0x5e1560||!_0x5ec281){if(_0x1b00bc[_0x282f0d(0xd,-_0x4cd11e._0x4f80ef,0x2f,0x45)](_0x1b00bc[_0x282f0d(0xa,_0x4cd11e._0x540693,_0x4cd11e._0x118c03,_0x4cd11e._0xad64ce)],_0x1b00bc[_0x282f0d(0xcd,_0x4cd11e._0x14dceb,0xf6,_0x4cd11e._0x5de850)])){const _0xa5ed57={};_0xa5ed57[_0x391324(_0x4cd11e._0x286df0,0x9b,_0x4cd11e._0x4d95fa,0x51)]=_0x2ee224[_0x391324(_0x4cd11e._0x5e580e,0x9e,0x5a,_0x4cd11e._0x5e9b40)],_0x1c0732[_0x282f0d(0x6,_0x4cd11e._0x5de850,_0x4cd11e._0x1728e4,0x47)](_0x282f0d(_0x4cd11e._0x1a6190,0x3f,0x33,_0x4cd11e._0x3644e1)+_0x391324(0x79,0x42,0xd1,_0x4cd11e._0x14c512)+_0x282f0d(0x18,_0x4cd11e._0x1c023a,0x21,0x6f)+'ption\x20key',_0xa5ed57);throw new _0x8587f1('Failed\x20to\x20'+_0x391324(0xa1,_0x4cd11e._0x5dd21a,0xdb,0x83)+_0x282f0d(_0x4cd11e._0x3dfc77,0x2a,-0x20,_0x4cd11e._0x45e799)+_0x391324(0x72,0x4c,0x38,_0x4cd11e._0x20ae38)+_0x33fd5e['message']);}else throw new Error(_0x1b00bc[_0x282f0d(0x14,_0x4cd11e._0x502d0b,_0x4cd11e._0x16aa5d,0xc)]);}const _0x416cc9=await _0x1b00bc[_0x391324(_0x4cd11e._0x391cf0,0x8e,0x6a,_0x4cd11e._0x5222cf)](getEncryptionKey,_0x16ac68),_0x27ff9b=await loadTokenStorage(_0x16ac68),_0x43a92e=_0x27ff9b[_0x282f0d(-_0x4cd11e._0x22ad2b,0x24,-_0x4cd11e._0x5960f4,0x5)]?.[_0x5e1560]?.[_0x5ec281];if(!_0x43a92e)throw new Error(_0x391324(_0x4cd11e._0x11ab9f,0xab,_0x4cd11e._0x104bae,0xa3)+_0x391324(_0x4cd11e._0x5f4809,_0x4cd11e._0x20ae38,_0x4cd11e._0x1ad447,0x94)+'r\x20user\x20'+_0x5e1560+('\x20and\x20provi'+_0x282f0d(0xed,0x84,_0x4cd11e._0x5aa1b4,0x96))+_0x5ec281);_0x3d4f97[_0x391324(0x88,0xc3,0x54,0x6f)+'en']&&(_0x43a92e[_0x391324(_0x4cd11e._0x1d9da8,0x80,0x93,_0x4cd11e._0x1985e1)+'en']=_0x1b00bc[_0x282f0d(_0x4cd11e._0x2ee1d6,0x74,0x85,_0x4cd11e._0x44e1c8)](encrypt,_0x3d4f97[_0x282f0d(-_0x4cd11e._0x43e2af,-0x27,0x38,_0x4cd11e._0xa41450)+'en'],_0x416cc9));_0x3d4f97['refresh_to'+_0x391324(0x45,_0x4cd11e._0x256696,_0x4cd11e._0x52b495,0x6e)]&&(_0x43a92e[_0x282f0d(-_0x4cd11e._0x517251,-0x2f,-_0x4cd11e._0x325fb6,-0xd)+_0x282f0d(_0x4cd11e._0x484995,0x3a,-_0x4cd11e._0x2051fd,-0x16)]=_0x1b00bc[_0x391324(0x5f,_0x4cd11e._0x4ce122,_0x4cd11e._0x4a7091,_0x4cd11e._0x508aa4)](encrypt,_0x3d4f97[_0x391324(_0x4cd11e._0x5a9a86,_0x4cd11e._0x54900e,0x47,0x16)+_0x282f0d(-0x3,_0x4cd11e._0x158268,-0x60,-0x16)],_0x416cc9));_0x3d4f97[_0x282f0d(_0x4cd11e._0x8a54d2,_0x4cd11e._0x4503d2,-_0x4cd11e._0x338b62,0x1b)]!==undefined&&(_0x43a92e[_0x282f0d(0x6f,0x10,-_0x4cd11e._0x52e789,_0x4cd11e._0x128e33)]=_0x3d4f97[_0x391324(_0x4cd11e._0x5d6b39,0x95,_0x4cd11e._0x1c383c,0xc1)]);await _0x1b00bc['GGtPQ'](saveTokenStorage,_0x27ff9b,_0x16ac68);const _0x15726c={};_0x15726c[_0x282f0d(0xb7,0xa5,0x78,_0x4cd11e._0x5afac4)]=_0x5e1560,_0x15726c[_0x282f0d(-0x2b,_0x4cd11e._0x3997ec,0x3f,_0x4cd11e._0x20ef2f)+'me']=_0x5ec281,_0x3b0f84['debug']('Updated\x20gi'+_0x282f0d(0xbf,_0x4cd11e._0x3fecdc,0x13,0x69)+_0x282f0d(_0x4cd11e._0x53a777,_0x4cd11e._0x4de76a,-0x2f,_0x4cd11e._0x52b495),_0x15726c);}export async function deleteUserGitToken(_0xb92029,_0x335e8b,_0x18d082={}){const _0x117dc1={_0x18fdb9:0x46,_0x1c774c:0x86,_0x44fd23:0x3e,_0x1d0f4:0x74,_0xbe127a:0x3d,_0x312597:0x65,_0x186f44:0x67,_0xd64652:0x3c,_0x1ce9de:0x69,_0x39f8bd:0x2c2,_0x4e61cd:0x2c8,_0x4ea27e:0x29e,_0x31e5b2:0x8d,_0x590165:0x6,_0x5b5b3a:0x32,_0x528e10:0xc6,_0x24e967:0xa4,_0x2f059d:0x2e7,_0x2ea8e4:0x2b8,_0x25ed2c:0x278,_0x327188:0x2ad,_0x536eb4:0x85,_0x37f9c3:0x12,_0x2bd951:0x4d,_0x221516:0x47,_0xcd8527:0xe8,_0x49cbca:0xaf,_0x137371:0xcf,_0x4b09a9:0x338,_0x4a098b:0x281,_0x1a3b69:0x2b5},_0x1e4d81={_0x20c001:0x62},_0x249672={'RwUiH':function(_0x1188f4,_0x21d4d0){return _0x1188f4||_0x21d4d0;},'WVSYR':_0x361f53(-0x4c,-_0x117dc1._0x18fdb9,-_0x117dc1._0x1c774c,-_0x117dc1._0x44fd23)+_0x361f53(-0x4a,-_0x117dc1._0x1d0f4,-_0x117dc1._0xbe127a,-0x35)+_0x361f53(-_0x117dc1._0x312597,-_0x117dc1._0x186f44,-0x6e,-_0x117dc1._0xd64652)+_0x361f53(-0x19,-0x3a,-0x3a,-_0x117dc1._0x1ce9de),'EbLbY':function(_0x519825,_0x38df49){return _0x519825===_0x38df49;},'cEQXf':function(_0x410ce0,_0x5bda8c,_0x5c88a9){return _0x410ce0(_0x5bda8c,_0x5c88a9);}},_0x381a4d=_0x18d082[_0x314a91(_0x117dc1._0x39f8bd,0x278,_0x117dc1._0x4e61cd,_0x117dc1._0x4ea27e)]||_0x26be52;function _0x361f53(_0x19e93a,_0x341d10,_0x2f422c,_0x61e635){return _0x5197df(_0x61e635-0x17a,_0x341d10-0x3e,_0x2f422c-0x140,_0x19e93a);}if(_0x249672['RwUiH'](!_0xb92029,!_0x335e8b))throw new Error(_0x249672[_0x361f53(-0x57,-0x69,-_0x117dc1._0x31e5b2,-0x8f)]);const _0x16c031=await loadTokenStorage(_0x18d082);if(!_0x16c031[_0x314a91(0x277,0x28a,0x2ad,0x269)]?.[_0xb92029]?.[_0x335e8b])return![];function _0x314a91(_0x142054,_0x2e5960,_0x4b2af4,_0x4d4b1e){return _0x5197df(_0x4b2af4-0x4cb,_0x2e5960-0x9d,_0x4b2af4-_0x1e4d81._0x20c001,_0x4d4b1e);}delete _0x16c031['tokens'][_0xb92029][_0x335e8b];_0x249672['EbLbY'](Object[_0x361f53(-0x76,-_0x117dc1._0x590165,-0x6a,-_0x117dc1._0x5b5b3a)](_0x16c031[_0x361f53(-0x6c,-_0x117dc1._0x528e10,-0xa4,-_0x117dc1._0x24e967)][_0xb92029])[_0x314a91(0x2d6,0x2bd,_0x117dc1._0x2f059d,_0x117dc1._0x2ea8e4)],0x56*-0x71+-0x4*-0x2bf+-0x47f*-0x6)&&delete _0x16c031[_0x314a91(_0x117dc1._0x25ed2c,0x2ba,_0x117dc1._0x327188,0x274)][_0xb92029];await _0x249672['cEQXf'](saveTokenStorage,_0x16c031,_0x18d082);const _0x4f958c={};return _0x4f958c[_0x361f53(-_0x117dc1._0x536eb4,_0x117dc1._0x37f9c3,-_0x117dc1._0x2bd951,-_0x117dc1._0x221516)]=_0xb92029,_0x4f958c[_0x361f53(-_0x117dc1._0xcd8527,-_0x117dc1._0x49cbca,-_0x117dc1._0x137371,-0xa2)+'me']=_0x335e8b,_0x381a4d['info']('Deleted\x20gi'+_0x314a91(0x2c0,_0x117dc1._0x4b09a9,0x311,0x2d8)+_0x314a91(_0x117dc1._0x4a098b,0x2b2,_0x117dc1._0x1a3b69,0x2a1),_0x4f958c),!![];}export async function deleteAllUserGitTokens(_0x169556,_0x4bce06={}){const _0x1eca35={_0x31f346:0x3bf,_0x4c7c9f:0x343,_0x39a6b3:0xd2,_0x383ec3:0xdd,_0x2d4e38:0x12b,_0x3f3e23:0x12d,_0x3927a1:0x155,_0x41491a:0xb3,_0x183714:0xc5,_0x358c2a:0xc3,_0x31f9a6:0xc2,_0x2bc136:0x361,_0x51e502:0x3b5,_0x5b8a78:0x2ea,_0x4ef8c3:0x301,_0x574996:0x325,_0x276d09:0x369,_0xeffecc:0x33b,_0x26f119:0x371,_0x3adfd7:0x100,_0x596373:0x87,_0x41a3c6:0xd5,_0x3d71f0:0xe4,_0x4dff49:0x8f,_0x76eed5:0xb8,_0x418d60:0x30c,_0x5322d2:0xf5,_0x3ccdd9:0xaf,_0xf6a20:0x97},_0x2ae652={_0x16bd92:0x2e0,_0x36d380:0x192},_0x364cc0={'hByfw':_0x58fc7e(_0x1eca35._0x31f346,0x39e,0x386,_0x1eca35._0x4c7c9f)+'\x20required','pHSFJ':function(_0x38a3db,_0xe83ba1){return _0x38a3db(_0xe83ba1);}};function _0x454717(_0xd3e32d,_0x24335e,_0x601c5e,_0x3b53e7){return _0x5197df(_0x601c5e-_0x2ae652._0x16bd92,_0x24335e-0x1d9,_0x601c5e-_0x2ae652._0x36d380,_0x24335e);}const _0x5a6090=_0x4bce06[_0x454717(_0x1eca35._0x39a6b3,0xac,_0x1eca35._0x383ec3,0xc7)]||_0x26be52;if(!_0x169556)throw new Error(_0x364cc0[_0x454717(_0x1eca35._0x2d4e38,_0x1eca35._0x3f3e23,_0x1eca35._0x3927a1,0x112)]);const _0x389cb3=await _0x364cc0[_0x454717(_0x1eca35._0x41491a,0xf3,_0x1eca35._0x183714,0x70)](loadTokenStorage,_0x4bce06);if(!_0x389cb3[_0x454717(_0x1eca35._0x358c2a,0xb3,_0x1eca35._0x31f9a6,0xc6)]?.[_0x169556])return 0x102d*0x1+-0xec+0x5*-0x30d;const _0x5f2688=Object[_0x58fc7e(_0x1eca35._0x2bc136,_0x1eca35._0x51e502,0x373,_0x1eca35._0x51e502)](_0x389cb3[_0x58fc7e(0x35b,_0x1eca35._0x5b8a78,_0x1eca35._0x4ef8c3,0x2da)][_0x169556])[_0x58fc7e(_0x1eca35._0x574996,_0x1eca35._0x276d09,_0x1eca35._0xeffecc,_0x1eca35._0x26f119)];delete _0x389cb3[_0x454717(0xa9,_0x1eca35._0x3adfd7,_0x1eca35._0x31f9a6,_0x1eca35._0x596373)][_0x169556],await saveTokenStorage(_0x389cb3,_0x4bce06);function _0x58fc7e(_0x461932,_0x5c6aa9,_0x2aec89,_0x4bab2d){return _0x5197df(_0x2aec89-0x51f,_0x5c6aa9-0x45,_0x2aec89-0x140,_0x5c6aa9);}const _0x1b31a7={};return _0x1b31a7[_0x454717(0x10a,_0x1eca35._0x41a3c6,0x11f,0xd6)]=_0x169556,_0x1b31a7[_0x454717(_0x1eca35._0x3d71f0,_0x1eca35._0x4dff49,0xab,_0x1eca35._0x76eed5)+'nt']=_0x5f2688,_0x5a6090['info'](_0x58fc7e(0x2eb,_0x1eca35._0x4ef8c3,_0x1eca35._0x418d60,0x35d)+_0x454717(_0x1eca35._0x5322d2,0xd7,_0x1eca35._0x3ccdd9,_0x1eca35._0xf6a20)+'ns\x20for\x20use'+'r',_0x1b31a7),_0x5f2688;}export function isTokenExpiringSoon(_0x5e0d50,_0x13cdfa=-0x103*0xe+-0x28*-0xe6+-0x18c*0xe){const _0x2e293e={_0x453806:0x2df,_0x377e39:0x2c5,_0x4e1b5e:0x343,_0x10870f:0x2d4,_0x1612a3:0x2f8,_0x10b4af:0x322,_0x357782:0xe1,_0x2bd8f5:0xc9,_0x5ba150:0x350,_0x7b3aea:0x317,_0x482e60:0x305,_0xc565d7:0x340,_0x3fb023:0x2b3},_0x5030fd={_0x1c7105:0x167,_0x584a5d:0x442},_0x458831={};function _0x558e0c(_0x1d19e5,_0x70f63,_0x574adc,_0x16ca23){return _0x1cdb35(_0x1d19e5-_0x5030fd._0x1c7105,_0x16ca23- -_0x5030fd._0x584a5d,_0x70f63,_0x16ca23-0x1eb);}_0x458831[_0x45185c(_0x2e293e._0x453806,0x332,0x317,_0x2e293e._0x377e39)]=function(_0xdee2ea,_0x1e7728){return _0xdee2ea*_0x1e7728;};function _0x45185c(_0x2635cd,_0x30b3cc,_0x2310d3,_0x5d97c3){return _0x5197df(_0x2310d3-0x4b1,_0x30b3cc-0x92,_0x2310d3-0xa1,_0x30b3cc);}_0x458831[_0x45185c(0x273,0x25b,0x2b8,0x26d)]=function(_0x388834,_0x1b8b08){return _0x388834<=_0x1b8b08;},_0x458831[_0x45185c(_0x2e293e._0x4e1b5e,_0x2e293e._0x10870f,_0x2e293e._0x1612a3,_0x2e293e._0x10b4af)]=function(_0xfba7b,_0x3f86f5){return _0xfba7b-_0x3f86f5;};const _0x5263c6=_0x458831;if(!_0x5e0d50)return![];const _0x58102a=new Date(_0x5e0d50)[_0x558e0c(-_0x2e293e._0x357782,-0x7a,-0x9a,-_0x2e293e._0x2bd8f5)](),_0x508808=Date['now'](),_0x1ad774=_0x5263c6[_0x45185c(_0x2e293e._0x5ba150,0x2bc,_0x2e293e._0x7b3aea,0x2ec)](_0x5263c6['zHEtx'](_0x13cdfa,-0x24d6+-0xc8b+0x319d),-0x945+0x2244+-0x1*0x1517);return _0x5263c6[_0x45185c(_0x2e293e._0x482e60,0x2f8,0x2b8,0x2d6)](_0x5263c6[_0x45185c(0x317,_0x2e293e._0xc565d7,0x2f8,_0x2e293e._0x3fb023)](_0x58102a,_0x508808),_0x1ad774);}export function isTokenExpired(_0x191758){const _0x187251={_0x2b3b5c:0x551,_0x3a6c5d:0x54e,_0x1380c8:0x588,_0x2dcb6b:0x5a6,_0x4cfa18:0x21d,_0x4e8a7b:0x1d1,_0x54e755:0x1e7,_0x478d42:0x20f},_0x57127b={_0x12a0d3:0x49,_0x59095a:0xf1,_0x2c1513:0x190},_0x20eaeb={};_0x20eaeb[_0x3969ef(0x4f9,_0x187251._0x2b3b5c,0x576,_0x187251._0x3a6c5d)]=function(_0x44bcf5,_0x5904cf){return _0x44bcf5<_0x5904cf;};function _0x338c88(_0x534401,_0x5b719d,_0x1ad290,_0x1165a4){return _0x5197df(_0x534401- -_0x57127b._0x12a0d3,_0x5b719d-_0x57127b._0x59095a,_0x1ad290-_0x57127b._0x2c1513,_0x1165a4);}const _0x238182=_0x20eaeb;if(!_0x191758)return![];function _0x3969ef(_0x42ce54,_0x54752d,_0x5ba0d7,_0x458585){return _0x5197df(_0x458585-0x719,_0x54752d-0x1c1,_0x5ba0d7-0x153,_0x54752d);}return _0x238182[_0x3969ef(_0x187251._0x1380c8,_0x187251._0x2dcb6b,0x53a,_0x187251._0x3a6c5d)](new Date(_0x191758)['getTime'](),Date[_0x338c88(-_0x187251._0x4cfa18,-_0x187251._0x4e8a7b,-_0x187251._0x54e755,-_0x187251._0x478d42)]());}export async function getUserConnectionStatus(_0x4ade26,_0x511bae={}){const _0x307c97={_0xa7522a:0x1f4,_0x5c08fc:0x1e5,_0x367767:0x23d,_0x1c67dc:0x1e8,_0x1d4874:0x44b,_0x23c1f5:0x454,_0x2d4b2c:0x417,_0x517f7b:0x4af,_0x6deea2:0x2a0,_0x374307:0x261,_0x4a6d7f:0x227,_0x1dc62c:0x21c,_0x1f0013:0x20a,_0x5050c3:0x298,_0x215453:0x263,_0x14436c:0x3fb,_0x2d0a6a:0x417,_0x50fb9b:0x3f9,_0x6a8806:0x41e,_0x5f395b:0x387,_0x3bd557:0x37d,_0x57417c:0x218,_0x1331ea:0x28b,_0x547eb4:0x252,_0x25faa0:0x3d0,_0x2dc217:0x3fe,_0x5e8848:0x3bc,_0x2ac013:0x254,_0x42891e:0x228},_0xc98b1f={_0x5181cb:0x12f,_0x4160dc:0xfe},_0x27c12c={_0x34ef2d:0x5d6,_0x115f03:0x96},_0x2bb4b0={'aIWix':function(_0x2dc0c6,_0x219fc4){return _0x2dc0c6(_0x219fc4);},'XqrFd':function(_0x427ac3,_0x2b5da0){return _0x427ac3===_0x2b5da0;},'Inrfl':_0x179bc1(_0x307c97._0xa7522a,0x243,_0x307c97._0x5c08fc,_0x307c97._0x367767)},_0x3c7f50=await _0x2bb4b0['aIWix'](loadTokenStorage,_0x511bae),_0x4f17f=_0x3c7f50[_0x179bc1(_0x307c97._0x1c67dc,0x20b,0x1e5,0x22c)]?.[_0x4ade26];if(!_0x4f17f){if(_0x2bb4b0[_0x3d814e(_0x307c97._0x1d4874,_0x307c97._0x23c1f5,_0x307c97._0x2d4b2c,_0x307c97._0x517f7b)](_0x2bb4b0[_0x179bc1(0x2ad,0x2c9,0x2d1,0x288)],_0x179bc1(_0x307c97._0x6deea2,0x1ff,_0x307c97._0x374307,0x25a)))_0x4cf0d5[_0x179bc1(0x289,0x243,0x1e5,0x238)+'in']=_0x29eff6[_0x179bc1(_0x307c97._0x4a6d7f,_0x307c97._0x1dc62c,0x1f6,0x238)+'in'];else return{};}const _0x23d3fb={};for(const [_0x251ed1,_0x3a2294]of Object[_0x179bc1(_0x307c97._0x1f0013,0x266,_0x307c97._0x5050c3,_0x307c97._0x215453)](_0x4f17f)){const _0x4e7794={};_0x4e7794[_0x3d814e(0x453,0x448,0x42f,0x3f9)]=!![],_0x4e7794['expires_at']=_0x3a2294[_0x3d814e(_0x307c97._0x14436c,0x3ce,_0x307c97._0x2d0a6a,_0x307c97._0x50fb9b)],_0x4e7794[_0x3d814e(0x3f3,0x3c4,_0x307c97._0x6a8806,0x3c6)+'in']=_0x3a2294[_0x3d814e(_0x307c97._0x5f395b,0x3c4,_0x307c97._0x3bd557,0x37e)+'in'],_0x4e7794[_0x179bc1(_0x307c97._0x57417c,_0x307c97._0x1331ea,0x251,_0x307c97._0x547eb4)+_0x3d814e(0x40b,0x3e7,_0x307c97._0x25faa0,_0x307c97._0x2dc217)]=_0x3a2294['azure_user'+_0x3d814e(0x434,0x3e7,0x401,0x39a)],_0x4e7794[_0x3d814e(0x3d2,_0x307c97._0x5e8848,0x39e,0x3d6)+'at']=_0x3a2294[_0x179bc1(_0x307c97._0x2ac013,0x1ee,_0x307c97._0x42891e,0x230)+'at'],_0x23d3fb[_0x251ed1]=_0x4e7794;}function _0x3d814e(_0x11d24b,_0x2a09e8,_0x2d5fb4,_0x37a716){return _0x5197df(_0x2a09e8-_0x27c12c._0x34ef2d,_0x2a09e8-_0x27c12c._0x115f03,_0x2d5fb4-0xe1,_0x2d5fb4);}function _0x179bc1(_0x3ee22b,_0x3ca315,_0x39874f,_0x4fe808){return _0x5197df(_0x4fe808-0x44a,_0x3ca315-_0xc98b1f._0x5181cb,_0x39874f-_0xc98b1f._0x4160dc,_0x3ca315);}return _0x23d3fb;}
package/dist/lib/users.js CHANGED
@@ -1 +1 @@
1
- (function(_0xc10eff,_0xebbf18){const _0xc5a18e={_0x2d60e2:0x47b,_0x1b6cc6:0x46f,_0x53e4be:0x88,_0x10ec7f:0xc7,_0x106c80:0xb7,_0x589d67:0x4ba,_0x45e77b:0x4a3,_0x366ffe:0x4a5,_0x3a7bd2:0x116,_0x1aa5a6:0x117,_0x22cb45:0x469,_0x1f608c:0x473,_0x4e35d8:0x149,_0x1f1b7d:0x131,_0xfe133d:0x165,_0x1d2a44:0xf1,_0x46ac47:0x181,_0x174892:0x4a3,_0x322a98:0x46a,_0x227bde:0x485,_0x3e94f9:0x46b};function _0x1b97f8(_0x41c91e,_0x10b16f,_0x45e4df,_0x3a7b2d){return _0x3b91(_0x41c91e-0x30f,_0x10b16f);}function _0x54e15d(_0x1de62c,_0x403d33,_0x5172ab,_0x47bf27){return _0x3b91(_0x5172ab- -0x8d,_0x1de62c);}const _0x2134b6=_0xc10eff();while(!![]){try{const _0x18f01f=parseInt(_0x1b97f8(_0xc5a18e._0x2d60e2,0x44a,_0xc5a18e._0x1b6cc6,0x497))/(-0x2bb*0xd+-0x1*0x22a9+-0x4629*-0x1)*(-parseInt(_0x54e15d(0xd3,_0xc5a18e._0x53e4be,_0xc5a18e._0x10ec7f,_0xc5a18e._0x106c80))/(0xdd5+-0xdf2+0x1f))+parseInt(_0x1b97f8(_0xc5a18e._0x589d67,0x486,_0xc5a18e._0x45e77b,_0xc5a18e._0x366ffe))/(0x1*-0x41b+-0x1829+0x1c47)+-parseInt(_0x54e15d(_0xc5a18e._0x3a7bd2,0x15b,_0xc5a18e._0x1aa5a6,0xc5))/(0xdff+0x11fb+-0x1ff6)*(-parseInt(_0x1b97f8(0x48f,_0xc5a18e._0x22cb45,0x4d0,_0xc5a18e._0x1f608c))/(-0x1*-0x140c+-0x1f7f+0xb78))+parseInt(_0x54e15d(_0xc5a18e._0x4e35d8,_0xc5a18e._0x1f1b7d,0x150,_0xc5a18e._0xfe133d))/(0x2f*0x65+0x21e2+-0x3467)+-parseInt(_0x54e15d(0x183,_0xc5a18e._0x1d2a44,0x144,_0xc5a18e._0x46ac47))/(0x26d4+0x1059+-0x3726)*(parseInt(_0x1b97f8(_0xc5a18e._0x174892,0x4bf,0x4e4,_0xc5a18e._0x322a98))/(-0xa4*-0x22+0x1a92+-0x3052))+-parseInt(_0x1b97f8(0x46d,0x452,_0xc5a18e._0x227bde,_0xc5a18e._0x3e94f9))/(0x263e+-0x1f40+-0x6f5)+parseInt(_0x54e15d(0x12d,0xa9,0xfd,0xfa))/(-0x19*0x137+0x2aa+0x1bbf);if(_0x18f01f===_0xebbf18)break;else _0x2134b6['push'](_0x2134b6['shift']());}catch(_0x174032){_0x2134b6['push'](_0x2134b6['shift']());}}}(_0xf43d,0x1*-0x1e0af+-0x1eced*-0x3+0x6701b));import{promises as _0x58c6d8}from'fs';import _0x523a37 from'path';function _0x36bead(_0x19900d,_0x103c87,_0x582ba4,_0xa5b5dc){return _0x3b91(_0x103c87- -0x64,_0x582ba4);}import _0x5e0bb2 from'bcrypt';import{fileURLToPath}from'url';import{logger}from'./logger.js';import{DATA_DIR}from'./data-dir.js';const __filename=fileURLToPath(import.meta.url),__dirname=_0x523a37['dirname'](__filename);function _0x3146b8(_0xbc63a,_0x244889,_0x8dbc34,_0x120ffb){return _0x3b91(_0x244889- -0x263,_0x8dbc34);}const USERS_FILE=_0x523a37[_0x3146b8(-0x134,-0x112,-0x117,-0xe0)](DATA_DIR,_0x36bead(0x191,0x16b,0x152,0x15e)),SALT_ROUNDS=-0x1651+0x1bbd+-0x562;let usersCache=null,usersCacheMtime=null;export async function loadUsers(){const _0x4d910a={_0x219e45:0x3e6,_0x330636:0x3c4,_0x1f5cd9:0x3da,_0x5545d6:0x59e,_0x5002ec:0x513,_0x2f055a:0x552,_0x464107:0x593,_0x460b57:0x405,_0x30377d:0x3d5,_0x16d35a:0x40d,_0x23ad38:0x3ca,_0x320444:0x50b,_0x3c605e:0x545,_0x1dc1ce:0x566,_0x2ac780:0x3f5,_0x22599b:0x420,_0x40de72:0x5de,_0x526189:0x5cb,_0x524aca:0x5a6,_0x416f2f:0x558,_0x599d95:0x5bf,_0x4f01cb:0x5dd,_0x321f4a:0x5c0,_0x5c8b4f:0x521,_0x176685:0x434,_0x8f09c9:0x3ed,_0x37d646:0x3f6,_0x4c2d03:0x3d7,_0x571cf5:0x3f0,_0x480253:0x41f,_0x5f25aa:0x404,_0x1841a3:0x3c4,_0xb103c5:0x38c,_0x5e2d66:0x3bb,_0x2b4e6a:0x3ae,_0x23ca1b:0x4ed,_0x1454bb:0x537,_0x2d3059:0x50a,_0x419063:0x559,_0x26cac4:0x5a1,_0x28efca:0x57a,_0x21ea49:0x58e,_0x4c20d9:0x59e,_0x419c15:0x56f,_0x4208c0:0x51d,_0x2e7312:0x4fb,_0x10ee80:0x528,_0x42ac57:0x500,_0x1a681c:0x3c9,_0x566625:0x411,_0x16c2cc:0x572,_0x363b38:0x5c8,_0x5ad50a:0x57c,_0x7b32da:0x4e2,_0x2e8243:0x554,_0x5efb17:0x41c,_0x22c86b:0x426,_0x528c72:0x3d3,_0x538dad:0x371,_0x10a21c:0x3b6,_0x228fd5:0x583,_0x3a5916:0x5c9,_0x4caf8f:0x58b,_0x514d1d:0x5ec,_0x8c08c0:0x57e,_0x1f078a:0x3f8,_0x4b5d90:0x40a,_0x17ed90:0x5a6,_0x291f1c:0x50a,_0x391880:0x534,_0x27a760:0x523,_0x33cb1b:0x581,_0x11ad96:0x5e4,_0x1949f3:0x5eb,_0x146b47:0x5a7,_0x4d5f73:0x5ef,_0xcf6446:0x432,_0x24b10f:0x3f6,_0x4422b8:0x3c9,_0xd31fdd:0x54c,_0x415e8a:0x596,_0x57828d:0x5a9,_0x41969a:0x602,_0x5bfff2:0x481,_0x4047fc:0x41d,_0x2c4a44:0x444,_0x5c0865:0x433},_0x57f28c={_0x4c37b6:0x1ed,_0x406c:0x63f,_0x53ee92:0x92},_0x3f14c5={_0x526cfc:0x4af},_0x4e41e3={};_0x4e41e3[_0x2359c4(0x402,_0x4d910a._0x219e45,_0x4d910a._0x330636,0x3b1)]=_0x2359c4(0x3e2,0x3be,0x3d8,_0x4d910a._0x1f5cd9)+'save\x20users',_0x4e41e3[_0x3280a2(0x5a5,_0x4d910a._0x5545d6,0x58a,0x5aa)]=function(_0x3b4cad,_0x955f1a){return _0x3b4cad!==_0x955f1a;},_0x4e41e3[_0x3280a2(0x527,_0x4d910a._0x5002ec,_0x4d910a._0x2f055a,_0x4d910a._0x464107)]=_0x2359c4(_0x4d910a._0x460b57,_0x4d910a._0x30377d,_0x4d910a._0x16d35a,_0x4d910a._0x23ad38),_0x4e41e3['pyrzq']=_0x3280a2(_0x4d910a._0x320444,0x52a,_0x4d910a._0x3c605e,_0x4d910a._0x1dc1ce),_0x4e41e3[_0x2359c4(0x44e,0x43f,_0x4d910a._0x2ac780,_0x4d910a._0x22599b)]=_0x3280a2(_0x4d910a._0x40de72,_0x4d910a._0x526189,_0x4d910a._0x524aca,_0x4d910a._0x416f2f)+_0x3280a2(_0x4d910a._0x599d95,_0x4d910a._0x4f01cb,_0x4d910a._0x321f4a,0x58b)+'le',_0x4e41e3['WAXIK']=function(_0x1ac2d7,_0x12da03){return _0x1ac2d7!==_0x12da03;},_0x4e41e3[_0x3280a2(0x581,_0x4d910a._0x5c8b4f,0x536,0x564)]='PkOlR';function _0x2359c4(_0x1e151d,_0x31cfd0,_0x27c063,_0x59ec23){return _0x3146b8(_0x1e151d-0x124,_0x59ec23-_0x3f14c5._0x526cfc,_0x27c063,_0x59ec23-0x116);}_0x4e41e3[_0x2359c4(0x41b,_0x4d910a._0x176685,_0x4d910a._0x8f09c9,_0x4d910a._0x37d646)]=_0x2359c4(_0x4d910a._0x4c2d03,_0x4d910a._0x571cf5,_0x4d910a._0x480253,_0x4d910a._0x5f25aa),_0x4e41e3[_0x2359c4(_0x4d910a._0x1841a3,_0x4d910a._0xb103c5,_0x4d910a._0x5e2d66,0x3ad)]=function(_0x2904c7,_0x156dc1){return _0x2904c7===_0x156dc1;},_0x4e41e3['tiawf']=_0x2359c4(0x361,0x3d1,0x3b5,_0x4d910a._0x2b4e6a);function _0x3280a2(_0x5e040d,_0x2bb3e4,_0x19c628,_0x5d8fc0){return _0x3146b8(_0x5e040d-_0x57f28c._0x4c37b6,_0x19c628-_0x57f28c._0x406c,_0x5d8fc0,_0x5d8fc0-_0x57f28c._0x53ee92);}_0x4e41e3['EEUPQ']='Users\x20file'+_0x3280a2(_0x4d910a._0x23ca1b,0x542,_0x4d910a._0x1454bb,_0x4d910a._0x2d3059)+_0x3280a2(0x5b7,_0x4d910a._0x419063,_0x4d910a._0x26cac4,0x599)+'zed\x20empty\x20'+_0x3280a2(_0x4d910a._0x28efca,_0x4d910a._0x21ea49,0x56d,_0x4d910a._0x4c20d9),_0x4e41e3[_0x3280a2(_0x4d910a._0x419c15,0x4e1,0x52a,_0x4d910a._0x4208c0)]=_0x2359c4(0x3d6,0x3e8,0x3ea,0x3da)+_0x3280a2(_0x4d910a._0x2e7312,0x4dd,_0x4d910a._0x10ee80,_0x4d910a._0x42ac57);const _0x2da4bb=_0x4e41e3;try{if(_0x2da4bb[_0x2359c4(_0x4d910a._0x1a681c,_0x4d910a._0x566625,_0x4d910a._0x23ad38,0x3fa)](_0x2da4bb['zrNEb'],_0x3280a2(0x5d7,_0x4d910a._0x16c2cc,_0x4d910a._0x21ea49,0x59b))){const _0x2f35ab=await _0x58c6d8[_0x3280a2(0x558,_0x4d910a._0x363b38,_0x4d910a._0x5ad50a,0x552)](USERS_FILE,_0x2da4bb[_0x3280a2(_0x4d910a._0x7b32da,0x4e0,0x527,_0x4d910a._0x2e8243)]),_0x55cef2=JSON[_0x2359c4(_0x4d910a._0x5efb17,0x3dd,0x40e,_0x4d910a._0x22c86b)](_0x2f35ab);usersCache=_0x55cef2[_0x2359c4(_0x4d910a._0x528c72,0x392,_0x4d910a._0x538dad,_0x4d910a._0x10a21c)]||[];const _0x5e979b=await _0x58c6d8[_0x3280a2(0x593,0x5a6,0x576,_0x4d910a._0x228fd5)](USERS_FILE);usersCacheMtime=_0x5e979b['mtimeMs'];const _0x45e6ce={};return _0x45e6ce['count']=usersCache[_0x3280a2(_0x4d910a._0x3a5916,_0x4d910a._0x4caf8f,0x5bd,_0x4d910a._0x514d1d)],logger[_0x3280a2(_0x4d910a._0x8c08c0,0x5db,0x591,0x5e1)](_0x2da4bb[_0x2359c4(_0x4d910a._0x1f078a,_0x4d910a._0x4b5d90,0x3f0,0x420)],_0x45e6ce),usersCache;}else throw new _0x4492e4(_0x3280a2(_0x4d910a._0x524aca,_0x4d910a._0x17ed90,0x557,_0x4d910a._0x291f1c)+_0x3fdff0[_0x3280a2(0x539,_0x4d910a._0x391880,_0x4d910a._0x27a760,0x563)]+('\x27\x20already\x20'+_0x3280a2(0x5fd,_0x4d910a._0x33cb1b,0x5bb,_0x4d910a._0x11ad96)));}catch(_0x318e74){if(_0x2da4bb[_0x3280a2(_0x4d910a._0x1949f3,0x575,_0x4d910a._0x146b47,_0x4d910a._0x4d5f73)](_0x2da4bb[_0x3280a2(0x553,0x548,0x536,0x562)],_0x2da4bb[_0x2359c4(0x3ab,0x3e5,_0x4d910a._0xcf6446,_0x4d910a._0x24b10f)])){if(_0x2da4bb['EKepa'](_0x318e74[_0x2359c4(_0x4d910a._0x4422b8,0x438,0x3d2,0x3e5)],_0x2da4bb[_0x3280a2(0x53f,0x520,_0x4d910a._0xd31fdd,0x584)]))return usersCache=[],usersCacheMtime=null,logger[_0x3280a2(0x5ee,_0x4d910a._0x17ed90,0x59f,_0x4d910a._0x415e8a)](_0x2da4bb[_0x2359c4(0x426,_0x4d910a._0x22599b,0x416,0x3dc)]),usersCache;logger[_0x3280a2(_0x4d910a._0x57828d,0x5e7,0x5c3,_0x4d910a._0x41969a)](_0x2da4bb['HBrTN'],_0x318e74);throw _0x318e74;}else{_0x31a285[_0x2359c4(_0x4d910a._0x5bfff2,_0x4d910a._0x4047fc,_0x4d910a._0x2c4a44,_0x4d910a._0x5c0865)](_0x2da4bb['pmCFC'],_0x541ace);throw _0x57ed5d;}}}export async function saveUsers(_0x5b113a){const _0x3f6562={_0x339821:0x2c2,_0x55bd8d:0x2d1,_0x48a5d7:0xc5,_0x968957:0x311,_0x7c9c2b:0x2e6,_0x24aa57:0x17a,_0x392e72:0x13d,_0x142075:0x13b,_0x597ac8:0x16f,_0x3e2adb:0xcf,_0x3340fb:0x29d,_0x55f2af:0x10a,_0x6ba34d:0x2d5,_0x2551eb:0x2cc,_0xde7f4e:0x2b9,_0x3f3525:0xf9,_0x49fbfb:0x135,_0x66fee1:0xa9,_0x1c2eb9:0x131,_0x596031:0x121,_0x56ca0c:0x283,_0xb62246:0x2dc,_0x1c2632:0x33b,_0x385932:0x2bf,_0x167670:0x2eb,_0x23937e:0xef,_0xfce524:0xc4,_0x5a9dcb:0x295,_0x4dfbb4:0x114,_0x315e9d:0x133,_0x1f5ff0:0x304,_0x4a86af:0x2ee,_0x126a14:0x114,_0xed92ad:0x144,_0x546457:0xaa,_0x231b48:0xa5,_0xb7dbfe:0x92,_0x339857:0x8f,_0x461c0d:0x313,_0x18cc56:0x2d5,_0x5e7ff0:0x2bd,_0x9dd2cb:0x2a5},_0x44d3bb={_0x1b8482:0x25},_0x348b06={_0xc8b1b8:0x3be,_0x112a77:0xd2};function _0x5d318e(_0x54a732,_0x556ecd,_0x51c6e0,_0x30af32){return _0x3146b8(_0x54a732-0x18f,_0x556ecd-_0x348b06._0xc8b1b8,_0x54a732,_0x30af32-_0x348b06._0x112a77);}const _0x125336={};function _0xff77c1(_0x1a0972,_0x51cf48,_0x5c11da,_0x46621e){return _0x3146b8(_0x1a0972-_0x44d3bb._0x1b8482,_0x51cf48- -0x29,_0x1a0972,_0x46621e-0x67);}_0x125336[_0x5d318e(0x2f1,_0x3f6562._0x339821,_0x3f6562._0x55bd8d,0x297)]='Invalid\x20pa'+_0xff77c1(-0xaa,-_0x3f6562._0x48a5d7,-0x87,-0x98)+_0x5d318e(0x35a,_0x3f6562._0x968957,0x2da,_0x3f6562._0x7c9c2b),_0x125336[_0xff77c1(-_0x3f6562._0x24aa57,-_0x3f6562._0x392e72,-_0x3f6562._0x142075,-0x161)]=_0xff77c1(-0x14e,-0x123,-_0x3f6562._0x597ac8,-_0x3f6562._0x3e2adb),_0x125336[_0x5d318e(_0x3f6562._0x3340fb,0x2d3,0x2a7,0x2e1)]='Saved\x20user'+_0xff77c1(-0x111,-0x130,-0x117,-_0x3f6562._0x55f2af),_0x125336[_0x5d318e(0x2bb,_0x3f6562._0x6ba34d,_0x3f6562._0x2551eb,0x2cf)]=_0x5d318e(_0x3f6562._0xde7f4e,0x2e9,0x2e8,0x2d1)+_0xff77c1(-0x149,-_0x3f6562._0x3f3525,-_0x3f6562._0x49fbfb,-_0x3f6562._0x66fee1);const _0x1c4ae4=_0x125336;try{if('NRJXU'===_0xff77c1(-_0x3f6562._0x1c2eb9,-_0x3f6562._0x596031,-0x15f,-0xd8)){const _0x1b74b6=_0x523a37[_0x5d318e(_0x3f6562._0x56ca0c,0x2cf,_0x3f6562._0xb62246,0x309)](USERS_FILE),_0x104882={};_0x104882[_0x5d318e(0x26f,0x2bf,0x30e,0x2e3)]=!![],await _0x58c6d8[_0x5d318e(0x361,_0x3f6562._0x1c2632,0x359,0x377)](_0x1b74b6,_0x104882);const _0x829bd4={};_0x829bd4['users']=_0x5b113a,await _0x58c6d8[_0x5d318e(0x305,0x2ed,_0x3f6562._0x385932,_0x3f6562._0x167670)](USERS_FILE,JSON[_0xff77c1(-0xbf,-_0x3f6562._0x23937e,-0x11b,-_0x3f6562._0xfce524)](_0x829bd4,null,-0x591+-0x38*-0x47+-0x9f5),_0x1c4ae4[_0x5d318e(_0x3f6562._0x55bd8d,0x2aa,0x265,_0x3f6562._0x5a9dcb)]);const _0x30238b=await _0x58c6d8[_0xff77c1(-_0x3f6562._0x4dfbb4,-0xf2,-0x10b,-_0x3f6562._0x315e9d)](USERS_FILE);usersCache=_0x5b113a,usersCacheMtime=_0x30238b[_0x5d318e(0x2f6,_0x3f6562._0x1f5ff0,_0x3f6562._0x4a86af,0x322)];const _0x1c55f9={};_0x1c55f9[_0x5d318e(0x2cf,0x2ad,0x2f6,0x2a0)]=_0x5b113a['length'],logger['info'](_0x1c4ae4[_0xff77c1(-0x103,-_0x3f6562._0x126a14,-_0x3f6562._0xed92ad,-0x139)],_0x1c55f9);}else{const _0x4f617e={};return _0x4f617e['username']=_0xc8890d,_0x314e02['debug'](_0x1c4ae4['QxDLx'],_0x4f617e),null;}}catch(_0x3bf7dc){logger[_0xff77c1(-_0x3f6562._0x546457,-_0x3f6562._0x231b48,-_0x3f6562._0xb7dbfe,-_0x3f6562._0x339857)](_0x1c4ae4[_0x5d318e(_0x3f6562._0x461c0d,_0x3f6562._0x18cc56,_0x3f6562._0x5e7ff0,_0x3f6562._0x9dd2cb)],_0x3bf7dc);throw _0x3bf7dc;}}export async function getUsers(){const _0x3e8c25={_0x1bad16:0x3ad,_0x1726db:0x21e,_0x5e0b6b:0x273,_0x8482bf:0x3bc,_0xc68b1a:0x38c,_0x4f3034:0x310,_0x275de0:0x30f,_0xabe70f:0x2fc,_0x3b7f32:0x30a,_0x1fd4c3:0x250,_0x5af6e2:0x261,_0x110db:0x226,_0x56661a:0x32f,_0x2f5f48:0x1eb,_0x577628:0x257,_0x23cc30:0x274,_0x19dc1b:0x2e7,_0x176c90:0x310,_0x14ec38:0x202,_0x5a60ba:0x242},_0x1ee856={_0x550d07:0x378},_0x20b62e={_0x2fe6b4:0x429,_0x155f40:0x137},_0x4c66b1={'BveCC':function(_0xba5fff){return _0xba5fff();},'TcUPW':function(_0x4fd3e3,_0x5060ce){return _0x4fd3e3===_0x5060ce;},'pufwy':'GcodN','pNEYv':_0x3c42b2(0x390,_0x3e8c25._0x1bad16,0x3d8,0x393),'WJUya':function(_0x1e5e12,_0x4eac6c){return _0x1e5e12!==_0x4eac6c;}};function _0x3c42b2(_0x28c191,_0x38ba83,_0x55390e,_0x3cbeaf){return _0x3146b8(_0x28c191-0xdc,_0x3cbeaf-_0x20b62e._0x2fe6b4,_0x55390e,_0x3cbeaf-_0x20b62e._0x155f40);}function _0xd39dc1(_0x362082,_0x3b814d,_0x36f78d,_0x247443){return _0x36bead(_0x362082-0x1e3,_0x3b814d- -_0x1ee856._0x550d07,_0x247443,_0x247443-0xce);}try{const _0x4440f6=await _0x58c6d8[_0xd39dc1(-_0x3e8c25._0x1726db,-0x242,-0x26b,-_0x3e8c25._0x5e0b6b)](USERS_FILE);if(!usersCache||_0x4440f6['mtimeMs']!==usersCacheMtime)return await _0x4c66b1['BveCC'](loadUsers);}catch(_0x15707b){if(_0x4c66b1[_0x3c42b2(0x34f,_0x3e8c25._0x8482bf,0x362,_0x3e8c25._0xc68b1a)](_0x4c66b1[_0x3c42b2(0x38e,0x384,0x376,0x3a8)],_0x4c66b1[_0x3c42b2(_0x3e8c25._0x4f3034,_0x3e8c25._0x275de0,_0x3e8c25._0xabe70f,_0x3e8c25._0x3b7f32)])){const _0x2fb9d3=_0x27afd6[_0xd39dc1(-0x20e,-_0x3e8c25._0x1fd4c3,-0x226,-0x285)](_0x383187=>_0x383187['username']===_0x284855['username']);if(_0x2fb9d3)throw new _0x33f2fb(_0xd39dc1(-0x26a,-_0x3e8c25._0x5af6e2,-0x20f,-_0x3e8c25._0x110db)+_0x3fcb45['username']+(_0x3c42b2(0x33a,0x320,_0x3e8c25._0x56661a,0x351)+_0xd39dc1(-0x1c8,-0x1fd,-0x1fe,-_0x3e8c25._0x2f5f48)));}else{if(_0x4c66b1[_0xd39dc1(-0x216,-0x207,-0x229,-0x1b6)](_0x15707b[_0xd39dc1(-_0x3e8c25._0x577628,-0x243,-_0x3e8c25._0x23cc30,-0x22e)],_0x3c42b2(0x2e5,_0x3e8c25._0x19dc1b,_0x3e8c25._0x176c90,0x328)))throw _0x15707b;if(!usersCache)return await _0x4c66b1[_0xd39dc1(-0x1df,-0x21d,-_0x3e8c25._0x14ec38,-_0x3e8c25._0x5a60ba)](loadUsers);}}return usersCache;}function _0x3b91(_0x38e8a1,_0x4c6ef2){_0x38e8a1=_0x38e8a1-(-0x2298+-0x2*0x385+-0x2*-0x1571);const _0x1dc18e=_0xf43d();let _0x35a26e=_0x1dc18e[_0x38e8a1];if(_0x3b91['eAESkk']===undefined){var _0x32b3ca=function(_0xdca94a){const _0x4adf11='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2cc018='',_0x39faad='';for(let _0x2e51c4=0x197*0x11+0xa*-0x20e+-0x67b,_0x329efc,_0x10f5cc,_0x43444d=0xf92+0x1f5c+-0x2eee;_0x10f5cc=_0xdca94a['charAt'](_0x43444d++);~_0x10f5cc&&(_0x329efc=_0x2e51c4%(0xc12*0x2+0x1*-0x830+-0xff0)?_0x329efc*(0x1*0xda7+-0xaee*-0x1+-0x1855)+_0x10f5cc:_0x10f5cc,_0x2e51c4++%(-0x1*0x1a4b+0x1c5b+-0x1*0x20c))?_0x2cc018+=String['fromCharCode'](0xfb6*0x1+0x198+0x1*-0x104f&_0x329efc>>(-(-0x1*-0x50b+-0x2386+-0x1*-0x1e7d)*_0x2e51c4&0x153+0x1cce*-0x1+0x3*0x92b)):0xd43+-0x1832+0xaef){_0x10f5cc=_0x4adf11['indexOf'](_0x10f5cc);}for(let _0x19cf1a=0x20b6+0x175a+-0x3810,_0x2c9cef=_0x2cc018['length'];_0x19cf1a<_0x2c9cef;_0x19cf1a++){_0x39faad+='%'+('00'+_0x2cc018['charCodeAt'](_0x19cf1a)['toString'](-0x1*-0x713+0x12*-0x189+-0x1*-0x149f))['slice'](-(-0x2101+0x103+0x2000));}return decodeURIComponent(_0x39faad);};_0x3b91['acEgxF']=_0x32b3ca,_0x3b91['JhFyCi']={},_0x3b91['eAESkk']=!![];}const _0x396df3=_0x1dc18e[0x1*-0x1605+-0x197b+0x2f8*0x10],_0x1811f2=_0x38e8a1+_0x396df3,_0x42e15b=_0x3b91['JhFyCi'][_0x1811f2];return!_0x42e15b?(_0x35a26e=_0x3b91['acEgxF'](_0x35a26e),_0x3b91['JhFyCi'][_0x1811f2]=_0x35a26e):_0x35a26e=_0x42e15b,_0x35a26e;}export async function findUserByUsername(_0x270e74){const _0x1c2b56={_0x52175e:0x1f7,_0x4d48fe:0x1a6,_0x349514:0x20d},_0x2d1d6a={_0x54bced:0x18b,_0x37a242:0x5f2,_0x50ca0b:0xfe};function _0x78f379(_0x26e3be,_0x539743,_0xd9ca78,_0x3d485f){return _0x3146b8(_0x26e3be-_0x2d1d6a._0x54bced,_0xd9ca78-_0x2d1d6a._0x37a242,_0x539743,_0x3d485f-_0x2d1d6a._0x50ca0b);}const _0x30731e=await getUsers();function _0x4c7ee5(_0x2e2cef,_0xcd010f,_0x254130,_0x51a88c){return _0x3146b8(_0x2e2cef-0xd9,_0x2e2cef-0x2ce,_0x254130,_0x51a88c-0xd8);}return _0x30731e[_0x4c7ee5(_0x1c2b56._0x52175e,0x1d8,_0x1c2b56._0x4d48fe,_0x1c2b56._0x349514)](_0x3ab7a2=>_0x3ab7a2[_0x4c7ee5(0x1b2,0x161,0x1b2,0x1f8)]===_0x270e74)||null;}export async function findUserById(_0x267576){const _0x3445d8={_0x2d5acd:0x321,_0x4b429a:0x34e,_0x267b9d:0x18b},_0x1a8933={_0x306ade:0x1c7},_0x3abc67={_0x17d477:0x42c},_0x5813cf={'CLpZd':function(_0x512824){return _0x512824();}};function _0x12db8d(_0x4be4f0,_0x268c59,_0x469c52,_0x361812){return _0x3146b8(_0x4be4f0-0x1e1,_0x4be4f0-_0x3abc67._0x17d477,_0x361812,_0x361812-0x1aa);}const _0x3ae242=await _0x5813cf[_0x12db8d(_0x3445d8._0x2d5acd,0x348,0x31b,_0x3445d8._0x4b429a)](getUsers);function _0xbfcad5(_0x8c565a,_0x51a553,_0x2a0498,_0x56a8db){return _0x3146b8(_0x8c565a-_0x1a8933._0x306ade,_0x51a553-0x210,_0x8c565a,_0x56a8db-0x6c);}return _0x3ae242[_0xbfcad5(0x15f,0x139,0xef,_0x3445d8._0x267b9d)](_0x132fc4=>_0x132fc4['id']===_0x267576)||null;}export async function findUserByEmail(_0x4d143b){const _0x3ae169={_0x25293f:0x4,_0xf7993c:0x4c},_0xd9faf6={_0xc18720:0x3f,_0x14372c:0x124},_0x151cce={_0x2e44c1:0xd,_0xaef795:0x1b1},_0x3ca627=await getUsers();function _0x4cf84a(_0x133da4,_0x213874,_0x4969bf,_0xb73e1b){return _0x36bead(_0x133da4-_0x151cce._0x2e44c1,_0xb73e1b-_0x151cce._0xaef795,_0x133da4,_0xb73e1b-0x1e6);}function _0x3c7d53(_0x48aa2c,_0x44b7c7,_0x4695a6,_0x4a90ef){return _0x36bead(_0x48aa2c-_0xd9faf6._0xc18720,_0x48aa2c- -_0xd9faf6._0x14372c,_0x4a90ef,_0x4a90ef-0x9a);}return _0x3ca627[_0x3c7d53(_0x3ae169._0x25293f,-0x23,-_0x3ae169._0xf7993c,-0xb)](_0x132e58=>_0x132e58[_0x4cf84a(0x34b,0x2d7,0x2ee,0x301)]?.['toLowerCas'+'e']()===_0x4d143b?.[_0x4cf84a(0x33d,0x323,0x2c5,0x2f2)+'e']())||null;}export async function hashPassword(_0x57f97d){const _0x593e0f={_0x4f4c5a:0x23f,_0x53fff1:0x229};function _0x504206(_0x4eb5d2,_0x4386f1,_0x497c55,_0x4aca60){return _0x3146b8(_0x4eb5d2-0xa2,_0x4eb5d2-0x2fa,_0x4aca60,_0x4aca60-0x1c8);}return await _0x5e0bb2[_0x504206(_0x593e0f._0x4f4c5a,0x204,0x232,_0x593e0f._0x53fff1)](_0x57f97d,SALT_ROUNDS);}export async function validatePassword(_0x3ae5af,_0x16f225){const _0x3587f9={_0x463f31:0x16d,_0x578c39:0x16c,_0x45db62:0x19b,_0x4d8e68:0x11b,_0x2e7b8d:0x154,_0x1f84b2:0x127,_0x491bed:0x10c,_0x39a5e0:0xf1,_0x537f76:0x11d,_0x108e45:0x11a,_0x5151af:0x103,_0x3fc885:0x176,_0x3f56f4:0x182,_0x49c1b8:0xf3,_0x406715:0x10f,_0x18d611:0x14a,_0x5d8e36:0x18c,_0x420434:0x1c7,_0x5ae26b:0x1e2,_0xf51b00:0x1d0,_0x292b4d:0x14e,_0x47ac73:0x178,_0x23b3c9:0x194,_0x470b21:0x1b7,_0x2965b4:0x13c,_0x529706:0x13b,_0x2e2cdc:0x132,_0x657b85:0x169,_0x5562aa:0x17a,_0x144a01:0x13f,_0x1413c8:0xda,_0x2e2cf4:0xf6,_0x2a1446:0x11e,_0x5ce81c:0x149,_0x4f12fd:0x14d,_0x15fd0b:0x17b,_0x370e69:0x14c,_0x528052:0x1c9,_0x4e224d:0x1c3,_0x30dea9:0x1cb,_0x31ba66:0xee,_0x21c893:0x131,_0x1e6bf1:0x1dc,_0x1dcdd9:0x1d1,_0x47c91c:0x20b,_0x48d622:0xd2,_0x1effc4:0xe5,_0x198635:0x136,_0x2a0798:0x15d,_0x5f45a6:0x112,_0x3b3b6d:0x17d,_0x494fde:0x152,_0x49d435:0x1ea,_0x594ff1:0x1a3,_0x3db5c7:0xce,_0x38a91d:0xe2,_0x57efb8:0x154,_0x472fd4:0x15d,_0x2dad1e:0x186,_0x52ee83:0x1a6,_0x4b8138:0x1d8,_0x9e9c36:0x186,_0x44128e:0x10e,_0x1d3459:0x164,_0x2dbe5e:0x21c,_0x538d6c:0x205,_0x3b8e7b:0x19a,_0x2a797f:0x155,_0x2cf2e8:0x116,_0x479dd9:0x18d,_0x2ca214:0x14f,_0x1abeb3:0x1d6},_0x17bc86={_0x452ddc:0x14e,_0x36cbab:0x1,_0x5e638b:0x33},_0x2a4365={_0x5395da:0xc0,_0x5542ff:0x1eb},_0x142593={'GbRSt':_0x3ee5c6(-0x12d,-0x13f,-_0x3587f9._0x463f31,-_0x3587f9._0x578c39)+_0x3ee5c6(-_0x3587f9._0x45db62,-0x1cc,-0x18d,-0x1a0)+_0x30694a(0x123,0x124,0xe8,_0x3587f9._0x4d8e68)+_0x3ee5c6(-0x139,-_0x3587f9._0x2e7b8d,-_0x3587f9._0x1f84b2,-0x13b),'EISBv':function(_0x416290,_0xef8573){return _0x416290(_0xef8573);},'wjjAf':function(_0x43e8b7,_0x2b1992){return _0x43e8b7===_0x2b1992;},'QxoPF':_0x30694a(0x139,0x148,_0x3587f9._0x491bed,_0x3587f9._0x39a5e0),'jAmqW':_0x30694a(_0x3587f9._0x537f76,_0x3587f9._0x108e45,_0x3587f9._0x5151af,0xf2),'wNTju':_0x3ee5c6(-_0x3587f9._0x3fc885,-_0x3587f9._0x3f56f4,-_0x3587f9._0x49c1b8,-0x13f)+_0x3ee5c6(-0x130,-0x133,-_0x3587f9._0x406715,-_0x3587f9._0x18d611)+_0x3ee5c6(-_0x3587f9._0x3f56f4,-_0x3587f9._0x5d8e36,-_0x3587f9._0x420434,-0x19d),'jFfwW':_0x3ee5c6(-0x21c,-_0x3587f9._0x5ae26b,-0x1ee,-_0x3587f9._0xf51b00),'dvHyh':_0x3ee5c6(-0x18b,-_0x3587f9._0x292b4d,-_0x3587f9._0x47ac73,-0x14e)+'o\x20password'+_0x3ee5c6(-_0x3587f9._0x23b3c9,-0x17f,-_0x3587f9._0x470b21,-0x1a4),'MyZga':_0x30694a(0x116,0x152,_0x3587f9._0x2965b4,0x15f)+_0x30694a(_0x3587f9._0x529706,_0x3587f9._0x2e2cdc,_0x3587f9._0x657b85,_0x3587f9._0x5562aa)+_0x3ee5c6(-_0x3587f9._0x144a01,-_0x3587f9._0x1413c8,-_0x3587f9._0x2e2cf4,-0x12d)+'y'},_0x2480b7=await _0x142593[_0x30694a(_0x3587f9._0x2a1446,0x197,0x157,0x135)](findUserByUsername,_0x3ae5af);if(!_0x2480b7){if(_0x142593[_0x30694a(0xdb,0xec,0xeb,0x124)](_0x142593[_0x3ee5c6(-0x16b,-_0x3587f9._0x5ce81c,-_0x3587f9._0x2e2cdc,-0x154)],_0x142593[_0x3ee5c6(-_0x3587f9._0x4f12fd,-0x13d,-_0x3587f9._0x2965b4,-0x161)]))throw new _0x6869c('Username\x20\x27'+_0x26e385['username']+('\x27\x20already\x20'+_0x30694a(_0x3587f9._0x15fd0b,_0x3587f9._0x370e69,_0x3587f9._0x5562aa,_0x3587f9._0x528052)));else{const _0x48b10a={};return _0x48b10a[_0x3ee5c6(-0x1a3,-_0x3587f9._0x4e224d,-0x1d4,-_0x3587f9._0x30dea9)]=_0x3ae5af,logger['debug'](_0x142593[_0x30694a(0xed,0x137,_0x3587f9._0x31ba66,_0x3587f9._0x21c893)],_0x48b10a),null;}}if(!_0x2480b7['password_h'+_0x3ee5c6(-0x1d7,-0x1e0,-_0x3587f9._0x1e6bf1,-0x18c)]){if(_0x142593[_0x3ee5c6(-0x1d8,-_0x3587f9._0x1dcdd9,-_0x3587f9._0x47c91c,-0x1c2)](_0x142593[_0x30694a(0xb3,_0x3587f9._0x48d622,_0x3587f9._0x1effc4,0xb1)],_0x142593['jFfwW'])){const _0x37300b={};return _0x37300b['username']=_0x3ae5af,logger[_0x3ee5c6(-0x166,-0x118,-_0x3587f9._0x198635,-_0x3587f9._0x2a0798)](_0x142593['dvHyh'],_0x37300b),null;}else throw new _0x329efc(_0x142593[_0x30694a(_0x3587f9._0x529706,0xf8,0x136,_0x3587f9._0x5f45a6)]);}function _0x3ee5c6(_0x221145,_0x4de2c8,_0x1ab1e5,_0x854f1a){return _0x36bead(_0x221145-_0x2a4365._0x5395da,_0x854f1a- -0x2ae,_0x1ab1e5,_0x854f1a-_0x2a4365._0x5542ff);}const _0x5ae3d2=await _0x5e0bb2[_0x3ee5c6(-_0x3587f9._0x3b3b6d,-0x17f,-_0x3587f9._0x494fde,-0x13a)](_0x16f225,_0x2480b7[_0x3ee5c6(-_0x3587f9._0x49d435,-0x161,-0x164,-_0x3587f9._0x594ff1)+_0x3ee5c6(-0x19f,-0x16f,-0x146,-0x18c)]);if(!_0x5ae3d2){const _0x520101={};return _0x520101[_0x30694a(0xf0,_0x3587f9._0x3db5c7,_0x3587f9._0x38a91d,_0x3587f9._0x198635)]=_0x3ae5af,logger[_0x3ee5c6(-0x18a,-0x181,-_0x3587f9._0x57efb8,-_0x3587f9._0x472fd4)](_0x3ee5c6(-_0x3587f9._0x2dad1e,-_0x3587f9._0x52ee83,-_0x3587f9._0x4b8138,-0x191)+_0x3ee5c6(-0x180,-_0x3587f9._0x9e9c36,-0x141,-0x14b)+_0x30694a(0x144,_0x3587f9._0x44128e,0x151,_0x3587f9._0x1d3459),_0x520101),null;}const _0x4a0552={};_0x4a0552[_0x3ee5c6(-_0x3587f9._0x5562aa,-_0x3587f9._0x2dbe5e,-_0x3587f9._0x538d6c,-_0x3587f9._0x30dea9)]=_0x3ae5af;function _0x30694a(_0x2b7aaa,_0x153034,_0x8da40d,_0x2df8ee){return _0x36bead(_0x2b7aaa-_0x17bc86._0x452ddc,_0x8da40d- -_0x17bc86._0x36cbab,_0x153034,_0x2df8ee-_0x17bc86._0x5e638b);}return _0x4a0552[_0x30694a(_0x3587f9._0x1f84b2,0x1b3,0x177,_0x3587f9._0x3b8e7b)]=_0x2480b7['id'],logger[_0x3ee5c6(-_0x3587f9._0x2a797f,-_0x3587f9._0x2cf2e8,-_0x3587f9._0x479dd9,-_0x3587f9._0x2ca214)](_0x142593[_0x3ee5c6(-0x17d,-_0x3587f9._0x1abeb3,-0x1a9,-0x1cf)],_0x4a0552),_0x2480b7;}export async function createUser(_0x17d51d){const _0x2b92b3={_0x40c4fa:0x1e2,_0x166183:0x19f,_0xb4d183:0x1c9,_0x3ffe74:0x3c5,_0x5bc647:0x3df,_0x4231a0:0x435,_0x261e3f:0x467,_0xba622e:0x1c8,_0x6bb2b9:0x197,_0x3e63a2:0x1ce,_0x2573d5:0x44f,_0x44e2e6:0x3d8,_0x3a281c:0x3ff,_0x2d68f7:0x451,_0x305810:0x1a2,_0x4403e4:0x48c,_0x4a14e6:0x482,_0x211655:0x45d,_0x2c642d:0x47e,_0x218e9f:0x42c,_0x4449ab:0x435,_0x51efe1:0x404,_0x5e9602:0x480,_0x5c2815:0x4c2,_0x118039:0x45f,_0x5d0f24:0x23e,_0x302b75:0x22e,_0x14fa63:0x207,_0x45dd5f:0x458,_0x24dea0:0x484,_0x3460b2:0x439,_0x33c0ea:0x460,_0x33dd30:0x1d2,_0x4951fb:0x48f,_0x483ad0:0x495,_0x53839c:0x4ab,_0x190d7b:0x221,_0x291649:0x1fa,_0xf628a0:0x415,_0x517df6:0x3f1,_0x164853:0x444,_0x4ef70c:0x49e,_0x2c0e76:0x46b,_0x36504c:0x22a,_0x44835d:0x203,_0x43fd89:0x1c1,_0x8ac70d:0x1e3,_0x10f00e:0x214,_0x232653:0x444,_0x4790cc:0x450,_0x50b56c:0x4a6,_0x172cfa:0x462,_0x32c4b4:0x43c,_0x13609d:0x1f2,_0x4ed210:0x3d4,_0x4efc42:0x211,_0x5cd040:0x488,_0x34d356:0x4ad,_0x5d30d0:0x4f5,_0x150bb7:0x481,_0x4c54eb:0x1a6,_0x30a39a:0x19d,_0x31fa0e:0x1a0,_0x24d2e8:0x46c,_0x2c2b7f:0x44d,_0x43afc2:0x213,_0x176635:0x1fe,_0xb2421a:0x240,_0x2495f4:0x427,_0xba4325:0x40e,_0x3f27d8:0x3e4,_0x1a8221:0x1cd,_0x3046ff:0x1c0,_0x13b949:0x20b,_0x501c9a:0x447,_0x38c5e4:0x1f9,_0x1a1829:0x1ca,_0xfd212f:0x4ce,_0x523e06:0x1e8,_0x2cb592:0x1c1,_0xba8671:0x1a1,_0x4a753c:0x19e,_0x16a7a2:0x406,_0x3caaad:0x413,_0x2bec42:0x1fa,_0x39a469:0x1a8,_0x5d74c6:0x229,_0x58993e:0x412,_0x4ed52a:0x42a,_0x907622:0x1ff,_0x400de2:0x1d9},_0x19828b={_0x11c297:0x1a6,_0x5ec676:0x1be},_0x21a680={_0x373d5f:0x10d},_0x2879e6={'vDsAH':function(_0x55d9a7,_0xb395b9){return _0x55d9a7===_0xb395b9;},'vLgoU':function(_0x3153f5,_0x379838){return _0x3153f5<=_0x379838;},'vWUSV':'Cannot\x20rem'+_0x5b886e(_0x2b92b3._0x40c4fa,0x1f6,_0x2b92b3._0x166183,_0x2b92b3._0xb4d183)+_0x2f8a01(0x441,0x419,_0x2b92b3._0x3ffe74,_0x2b92b3._0x5bc647)+'Admin','uEGUG':function(_0x2745f7){return _0x2745f7();},'VKXGU':'Missing\x20re'+_0x2f8a01(_0x2b92b3._0x4231a0,0x473,0x4b5,_0x2b92b3._0x261e3f)+_0x5b886e(0x196,_0x2b92b3._0xba622e,_0x2b92b3._0x6bb2b9,_0x2b92b3._0x3e63a2)+_0x2f8a01(0x484,_0x2b92b3._0x2573d5,0x45a,0x406)+',\x20name','NCWha':function(_0x1b9391,_0x2db8f4){return _0x1b9391!==_0x2db8f4;},'cHFuo':_0x2f8a01(0x406,0x422,_0x2b92b3._0x44e2e6,_0x2b92b3._0x3a281c),'qMgyV':_0x2f8a01(0x480,_0x2b92b3._0x2d68f7,0x401,0x49d),'EjdVm':function(_0x3c9ce0,_0x39d7bc){return _0x3c9ce0(_0x39d7bc);},'AVNSR':function(_0x4fba8a,_0x932611){return _0x4fba8a!==_0x932611;},'SEHSz':function(_0x4a8493,_0xbd97ae){return _0x4a8493===_0xbd97ae;},'IXBSn':_0x5b886e(_0x2b92b3._0xba622e,_0x2b92b3._0x305810,0x1b0,0x1e6)+_0x2f8a01(0x440,_0x2b92b3._0x4403e4,_0x2b92b3._0x4a14e6,_0x2b92b3._0x211655)},_0x57e921=await _0x2879e6[_0x2f8a01(_0x2b92b3._0x2c642d,_0x2b92b3._0x218e9f,_0x2b92b3._0x4449ab,_0x2b92b3._0x51efe1)](getUsers);if(!_0x17d51d['username']||!_0x17d51d[_0x2f8a01(0x450,_0x2b92b3._0x5e9602,_0x2b92b3._0x5c2815,_0x2b92b3._0x118039)]||!_0x17d51d['name'])throw new Error(_0x2879e6[_0x5b886e(_0x2b92b3._0x5d0f24,_0x2b92b3._0x302b75,0x22f,_0x2b92b3._0x14fa63)]);const _0x535db0=_0x57e921[_0x5b886e(0x237,0x229,0x203,0x1e3)](_0x1dd3a1=>_0x1dd3a1[_0x2f8a01(0x413,0x413,0x3d9,0x43e)]===_0x17d51d[_0x2f8a01(0x3e3,0x413,0x3c0,0x41b)]);if(_0x535db0){if(_0x2879e6['NCWha'](_0x2879e6[_0x2f8a01(_0x2b92b3._0x45dd5f,0x448,0x47d,_0x2b92b3._0x24dea0)],_0x2879e6[_0x2f8a01(_0x2b92b3._0x3460b2,0x479,_0x2b92b3._0x33c0ea,0x49d)]))throw new Error(_0x5b886e(0x1fb,0x220,0x1a8,_0x2b92b3._0x33dd30)+_0x17d51d['username']+(_0x2f8a01(_0x2b92b3._0x4951fb,0x457,0x481,0x461)+_0x2f8a01(_0x2b92b3._0x483ad0,_0x2b92b3._0x53839c,0x497,0x460)));else{if(_0x2879e6['vDsAH'](_0x302bec[_0x5b886e(_0x2b92b3._0x190d7b,0x1b2,0x1f6,_0x2b92b3._0x291649)+_0x2f8a01(0x437,_0x2b92b3._0xf628a0,_0x2b92b3._0x517df6,0x3cc)],!![])&&_0x21b517[_0x2f8a01(_0x2b92b3._0x164853,0x46f,_0x2b92b3._0x4ef70c,_0x2b92b3._0x2c0e76)+'min']!==!![]){const _0x58b5a4=_0x38e8a1[_0x5b886e(_0x2b92b3._0x36504c,0x1bb,0x209,0x1e0)](_0x2eeefb=>_0x2eeefb[_0x2f8a01(0x4a7,0x46f,0x4bd,0x441)+_0x5b886e(0x151,0x1a9,0x195,0x1a0)]===!![])['length'];if(_0x2879e6[_0x5b886e(0x1dc,0x221,0x1c6,_0x2b92b3._0x44835d)](_0x58b5a4,0x87f+0x25*-0xc9+0x148f))throw new _0x1dc18e(_0x2879e6[_0x5b886e(_0x2b92b3._0x43fd89,_0x2b92b3._0x8ac70d,0x234,_0x2b92b3._0x10f00e)]);}}}const _0xf96218=_0x2f8a01(_0x2b92b3._0x232653,_0x2b92b3._0x4790cc,0x41f,0x476)+Date['now']()+'_'+Math[_0x2f8a01(_0x2b92b3._0x50b56c,_0x2b92b3._0x172cfa,_0x2b92b3._0x50b56c,_0x2b92b3._0x32c4b4)]()['toString'](-0xa*-0x3c9+0x87c+-0x2e32*0x1)[_0x5b886e(0x1a3,0x19c,0x192,0x1bd)](-0xbe1*0x1+0x2*-0x331+0x1245,-0x31+-0x2*-0x335+0x1*-0x630),_0x5b33f5=_0x17d51d['password']?await _0x2879e6[_0x5b886e(_0x2b92b3._0x13609d,0x272,0x1cf,0x223)](hashPassword,_0x17d51d[_0x2f8a01(0x3dc,0x40c,0x3c5,_0x2b92b3._0x4ed210)]):null,_0x278f91=_0x2879e6[_0x5b886e(0x1f9,0x208,0x255,_0x2b92b3._0x4efc42)](_0x57e921[_0x2f8a01(_0x2b92b3._0x5cd040,_0x2b92b3._0x34d356,_0x2b92b3._0x5d30d0,0x49c)],-0xa4e*0x1+0x56*-0x16+0x11b2)&&_0x2879e6[_0x2f8a01(0x40b,0x44b,_0x2b92b3._0x150bb7,0x441)](_0x17d51d[_0x2f8a01(0x4ad,0x46f,0x433,0x44b)+_0x5b886e(_0x2b92b3._0x4c54eb,0x1ed,_0x2b92b3._0x30a39a,_0x2b92b3._0x31fa0e)],!![]),_0x3318b6=_0x2879e6[_0x2f8a01(_0x2b92b3._0x24d2e8,0x487,_0x2b92b3._0x2c2b7f,0x44e)](_0x17d51d[_0x5b886e(_0x2b92b3._0x43afc2,_0x2b92b3._0x176635,_0x2b92b3._0xb2421a,0x1fa)+_0x2f8a01(_0x2b92b3._0x2495f4,0x415,_0x2b92b3._0xba4325,_0x2b92b3._0x3f27d8)],!![])||_0x278f91,_0x631fdd={'id':_0xf96218,'username':_0x17d51d[_0x5b886e(0x1d9,0x1c6,_0x2b92b3._0x8ac70d,0x19e)],'email':_0x17d51d[_0x5b886e(_0x2b92b3._0x1a8221,_0x2b92b3._0x3046ff,0x1e1,_0x2b92b3._0x13b949)],'name':_0x17d51d[_0x2f8a01(0x42e,0x429,_0x2b92b3._0x501c9a,0x451)],'password_hash':_0x5b33f5,'created_at':new Date()['toISOStrin'+'g'](),'isServerAdmin':_0x3318b6?!![]:undefined};_0x57e921[_0x5b886e(_0x2b92b3._0x1a8221,_0x2b92b3._0x38c5e4,0x213,_0x2b92b3._0x1a1829)](_0x631fdd);function _0x2f8a01(_0x51b1d7,_0x515a3e,_0x4182fe,_0x33129f){return _0x3146b8(_0x51b1d7-0x1b9,_0x515a3e-0x52f,_0x33129f,_0x33129f-_0x21a680._0x373d5f);}await _0x2879e6[_0x2f8a01(0x4ad,0x498,_0x2b92b3._0xfd212f,0x4ae)](saveUsers,_0x57e921);const _0x4dcdab={};_0x4dcdab[_0x5b886e(0x256,_0x2b92b3._0x523e06,0x1e8,0x233)]=_0x631fdd['id'],_0x4dcdab[_0x5b886e(_0x2b92b3._0x2cb592,_0x2b92b3._0xba8671,0x1c3,_0x2b92b3._0x4a753c)]=_0x631fdd[_0x2f8a01(0x400,0x413,_0x2b92b3._0x16a7a2,_0x2b92b3._0x3caaad)],_0x4dcdab['hasPasswor'+'d']=!!_0x5b33f5,_0x4dcdab[_0x5b886e(0x1f7,0x1c6,0x1dc,_0x2b92b3._0x2bec42)+'min']=_0x631fdd[_0x5b886e(_0x2b92b3._0x39a469,_0x2b92b3._0x5d74c6,0x1af,0x1fa)+'min']===!![];function _0x5b886e(_0x5d684c,_0x8c33ff,_0x502f77,_0x3e5dc7){return _0x36bead(_0x5d684c-_0x19828b._0x11c297,_0x3e5dc7-0xbb,_0x502f77,_0x3e5dc7-_0x19828b._0x5ec676);}_0x4dcdab['autoPromot'+_0x2f8a01(_0x2b92b3._0x44e2e6,_0x2b92b3._0x58993e,0x435,_0x2b92b3._0x4ed52a)+'r']=_0x278f91,logger['info'](_0x2879e6[_0x5b886e(0x22a,_0x2b92b3._0x907622,0x210,_0x2b92b3._0x400de2)],_0x4dcdab);const {password_hash:_0x17b3b2,..._0x57d65d}=_0x631fdd;return _0x57d65d;}export async function updateUser(_0x13df32,_0x314aa0){const _0x13c2de={_0x1764fb:0x31e,_0xd4f1bf:0x2a1,_0x556542:0x2f3,_0x2d3227:0x20b,_0x3f9301:0x1ca,_0x198a94:0x1f0,_0x4109b1:0x206,_0x2b2804:0x209,_0x530b35:0x2a6,_0x2dddea:0x213,_0x1ffdec:0x27e,_0x5b9a18:0x236,_0x3d6f03:0x3c2,_0x4d5f7b:0x35c,_0x1642f3:0x389,_0x3d7fe1:0x251,_0x3b6e65:0x216,_0x174ee0:0x22a,_0x442d7d:0x33f,_0xd6ba30:0x2cd,_0x50dc95:0x2f2,_0xe7778d:0x296,_0x7bebf5:0x2d4,_0x2c02cd:0x29d,_0x465d46:0x20f,_0x356050:0x1f7,_0x27632b:0x273,_0x10a5b2:0x289,_0x5ac029:0x335,_0x9ba7ea:0x364,_0x44cf21:0x337,_0x25e37d:0x365,_0x36d6f1:0x2dd,_0x331612:0x326,_0x550fde:0x2ab,_0x4eccb1:0x318,_0x18041f:0x37f,_0x35e363:0x336,_0x1741a9:0x33d,_0x175bda:0x23e,_0xbb487a:0x272,_0x49e854:0x237,_0x1ff04c:0x238,_0x5a20fd:0x1fa,_0x470e19:0x1d0,_0x57bbb2:0x208,_0x14f546:0x23a,_0xc25e85:0x26d,_0x1ac566:0x2e9,_0x37296d:0x2e6,_0x30c547:0x2f4,_0x40ca6f:0x22b,_0x52007a:0x233,_0x5c4311:0x208,_0x41ac14:0x294,_0x411126:0x294,_0x5ba1e3:0x284,_0x5c97f5:0x226,_0x2b3fd0:0x220,_0x1bf81c:0x27c,_0x5edb5f:0x256,_0x2b5219:0x367,_0x476226:0x301,_0x2a3962:0x2e1,_0x344940:0x3d3,_0x3c476f:0x38c,_0x22e98a:0x300,_0x7049a6:0x362,_0x362bb9:0x374,_0x38aa79:0x296,_0xef6c48:0x2a2,_0x38beda:0x337,_0x4d54e4:0x35e,_0x3427b2:0x35f,_0x5c54ef:0x392,_0x5c0e08:0x38b,_0x10c8d3:0x243,_0x30bde4:0x2b6,_0x4373da:0x2b1,_0x229292:0x25b,_0x1d9375:0x37b,_0x4caca7:0x3d2,_0xe67c27:0x257,_0x5f5955:0x326,_0x105989:0x2b4,_0x1f79d9:0x37b,_0x4f1001:0x26f,_0xd4e8e2:0x293,_0x5f1f1e:0x327,_0x77f298:0x338,_0x5b5e35:0x303,_0x4058f2:0x20d,_0x12521d:0x1c5,_0x535484:0x39c,_0x41d1ea:0x357,_0x2c57ce:0x376,_0x12b3ab:0x381,_0x22ab0e:0x225,_0x46b830:0x23f,_0x53522a:0x25f,_0xfca25e:0x203,_0x55849e:0x23f,_0x5dbc3f:0x286,_0x2d92d5:0x28f,_0x1564c2:0x2cc,_0x56a4b5:0x234,_0x5f5608:0x204,_0x4d6570:0x33b,_0x24406b:0x33a,_0x424a8e:0x342,_0x1bd513:0x339,_0xc721e5:0x24c,_0x36a9d4:0x1cf,_0x3926ad:0x204,_0x34f54f:0x277},_0x352892={_0x5aef5f:0x1d3,_0x2c77a1:0x20f},_0x4ce8a7={'kfOhB':_0x489556(0x2fa,_0x13c2de._0x1764fb,_0x13c2de._0xd4f1bf,_0x13c2de._0x556542)+_0x2cb778(-0x248,-0x255,-_0x13c2de._0x2d3227,-0x221)+'st\x20Server\x20'+_0x2cb778(-_0x13c2de._0x3f9301,-_0x13c2de._0x198a94,-_0x13c2de._0x4109b1,-_0x13c2de._0x2b2804),'nYJMG':function(_0x5e48f9,_0x560783){return _0x5e48f9===_0x560783;},'eSYgF':function(_0x44846b,_0x9a3e5b){return _0x44846b!==_0x9a3e5b;},'qgDCr':'XPgGJ','rzXKY':function(_0x58150a,_0x58475b){return _0x58150a!==_0x58475b;},'JuMqq':function(_0x34f12f,_0x3a9acb){return _0x34f12f!==_0x3a9acb;},'qaaIN':function(_0x48b5ee,_0xce527e){return _0x48b5ee<=_0xce527e;},'yKMQC':'Cannot\x20rem'+'ove\x20the\x20la'+_0x2cb778(-_0x13c2de._0x530b35,-0x27a,-0x290,-0x2b5)+_0x2cb778(-0x1e3,-0x1b2,-0x206,-_0x13c2de._0x2dddea),'uCrAT':function(_0x3e0d87,_0x486a3d){return _0x3e0d87(_0x486a3d);},'gLxfL':_0x2cb778(-0x25c,-0x240,-_0x13c2de._0x1ffdec,-_0x13c2de._0x5b9a18)+'er'},_0x4178aa=await getUsers(),_0x2a9054=_0x4178aa[_0x489556(_0x13c2de._0x3d6f03,_0x13c2de._0x4d5f7b,0x3bd,_0x13c2de._0x1642f3)](_0x3f0f0d=>_0x3f0f0d['id']===_0x13df32);if(_0x4ce8a7['nYJMG'](_0x2a9054,-(0xabb*0x2+0x13*-0x1ad+0xa62)))throw new Error(_0x2cb778(-_0x13c2de._0x3d7fe1,-0x1ca,-0x20a,-0x1da)+_0x2cb778(-0x260,-_0x13c2de._0x3b6e65,-_0x13c2de._0x174ee0,-0x246)+_0x13df32);const _0x39d02e=_0x4178aa[_0x2a9054];if(_0x314aa0[_0x489556(_0x13c2de._0x442d7d,0x342,0x2e4,0x2f2)]&&_0x4ce8a7[_0x489556(0x2e1,0x357,0x33d,0x328)](_0x314aa0[_0x489556(0x2c3,0x33b,_0x13c2de._0xd6ba30,_0x13c2de._0x50dc95)],_0x39d02e[_0x2cb778(-0x2dd,-0x27a,-_0x13c2de._0xe7778d,-_0x13c2de._0x7bebf5)])){if(_0x4ce8a7[_0x2cb778(-_0x13c2de._0x2c02cd,-0x260,-0x250,-_0x13c2de._0x465d46)](_0x2cb778(-0x1e7,-_0x13c2de._0x356050,-0x22e,-_0x13c2de._0x27632b),_0x4ce8a7[_0x2cb778(-0x28c,-_0x13c2de._0x10a5b2,-0x255,-0x238)])){const _0x25211a=_0x4178aa[_0x489556(0x371,_0x13c2de._0x5ac029,_0x13c2de._0x9ba7ea,_0x13c2de._0x44cf21)](_0x13942e=>_0x13942e[_0x489556(0x2d6,0x2cb,0x30a,0x2f2)]===_0x314aa0[_0x2cb778(-0x2e2,-0x272,-0x296,-0x27d)]);if(_0x25211a)throw new Error(_0x489556(_0x13c2de._0x25e37d,0x33b,_0x13c2de._0x36d6f1,_0x13c2de._0x331612)+_0x314aa0[_0x2cb778(-_0x13c2de._0x550fde,-0x29a,-0x296,-0x2a8)]+(_0x489556(_0x13c2de._0x4eccb1,0x375,_0x13c2de._0x18041f,_0x13c2de._0x35e363)+_0x489556(_0x13c2de._0x1741a9,0x369,0x398,0x38a)));}else throw new _0x2f117d(_0x4ce8a7[_0x2cb778(-0x275,-0x1f3,-_0x13c2de._0x175bda,-_0x13c2de._0xbb487a)]);}if(_0x314aa0['isServerAd'+'min']!==undefined&&_0x4ce8a7[_0x2cb778(-_0x13c2de._0x49e854,-_0x13c2de._0x1ff04c,-_0x13c2de._0x5a20fd,-_0x13c2de._0x470e19)](_0x314aa0[_0x2cb778(-_0x13c2de._0x57bbb2,-_0x13c2de._0x3b6e65,-_0x13c2de._0x14f546,-_0x13c2de._0xc25e85)+_0x489556(_0x13c2de._0x1ac566,_0x13c2de._0x37296d,0x301,_0x13c2de._0x30c547)],_0x39d02e[_0x2cb778(-_0x13c2de._0x40ca6f,-_0x13c2de._0x52007a,-0x23a,-_0x13c2de._0x5c4311)+_0x2cb778(-_0x13c2de._0x41ac14,-0x2ad,-_0x13c2de._0x411126,-_0x13c2de._0x5ba1e3)])){if(_0x4ce8a7[_0x2cb778(-_0x13c2de._0x5c97f5,-_0x13c2de._0x2b3fd0,-0x250,-_0x13c2de._0x1bf81c)](_0x39d02e['isServerAd'+'min'],!![])&&_0x4ce8a7[_0x2cb778(-0x24f,-_0x13c2de._0x49e854,-_0x13c2de._0x5edb5f,-0x28e)](_0x314aa0['isServerAd'+'min'],!![])){const _0x3ddb41=_0x4178aa[_0x489556(_0x13c2de._0x2b5219,_0x13c2de._0x476226,_0x13c2de._0x2a3962,0x334)](_0x49b8fd=>_0x49b8fd[_0x489556(0x392,0x385,0x381,0x34e)+_0x2cb778(-0x2c6,-0x2e2,-0x294,-0x2a6)]===!![])[_0x489556(_0x13c2de._0x344940,0x392,0x367,_0x13c2de._0x3c476f)];if(_0x4ce8a7[_0x489556(0x2fd,0x2e3,_0x13c2de._0x1ac566,_0x13c2de._0x22e98a)](_0x3ddb41,0x1b4*0xd+0x1a87*0x1+-0x1*0x30aa))throw new Error(_0x4ce8a7[_0x489556(_0x13c2de._0x7049a6,0x3ba,0x328,_0x13c2de._0x362bb9)]);}}if(_0x314aa0[_0x2cb778(-0x27d,-0x2d7,-_0x13c2de._0x38aa79,-_0x13c2de._0xef6c48)])_0x39d02e['username']=_0x314aa0['username'];if(_0x314aa0['email'])_0x39d02e[_0x489556(0x365,_0x13c2de._0x38beda,_0x13c2de._0x4d54e4,_0x13c2de._0x3427b2)]=_0x314aa0[_0x489556(_0x13c2de._0x5c54ef,_0x13c2de._0x5c0e08,0x340,_0x13c2de._0x3427b2)];if(_0x314aa0[_0x2cb778(-_0x13c2de._0x10c8d3,-0x255,-0x280,-_0x13c2de._0x30bde4)])_0x39d02e['name']=_0x314aa0[_0x2cb778(-0x2b9,-_0x13c2de._0x4373da,-0x280,-_0x13c2de._0x229292)];function _0x2cb778(_0x2bf2af,_0x41b2c0,_0x2283fb,_0x5702ac){return _0x3146b8(_0x2bf2af-0x18d,_0x2283fb- -0x17a,_0x41b2c0,_0x5702ac-0x141);}if(_0x4ce8a7[_0x489556(_0x13c2de._0x1d9375,0x386,_0x13c2de._0x4caca7,0x38e)](_0x314aa0[_0x2cb778(-_0x13c2de._0xe67c27,-_0x13c2de._0x5a20fd,-_0x13c2de._0x14f546,-0x212)+_0x489556(_0x13c2de._0x5f5955,_0x13c2de._0x105989,0x303,0x2f4)],undefined))_0x39d02e[_0x489556(0x385,0x2ff,_0x13c2de._0x1f79d9,0x34e)+_0x489556(0x336,0x327,0x2dc,_0x13c2de._0x30c547)]=_0x314aa0['isServerAd'+_0x2cb778(-_0x13c2de._0x4f1001,-_0x13c2de._0xd4e8e2,-_0x13c2de._0x41ac14,-0x2a3)];if(_0x4ce8a7[_0x489556(_0x13c2de._0x5f1f1e,_0x13c2de._0x77f298,_0x13c2de._0x5b5e35,0x328)](_0x314aa0[_0x2cb778(-0x1fa,-0x229,-_0x13c2de._0x4058f2,-_0x13c2de._0x12521d)+'me'],undefined))_0x39d02e['ssh_userna'+'me']=_0x314aa0['ssh_userna'+'me'];function _0x489556(_0x5245b5,_0x27fc09,_0x320e50,_0x3a79d9){return _0x36bead(_0x5245b5-_0x352892._0x5aef5f,_0x3a79d9-_0x352892._0x2c77a1,_0x5245b5,_0x3a79d9-0x171);}if(_0x314aa0['avatar']!==undefined)_0x39d02e[_0x489556(0x3bc,_0x13c2de._0x535484,0x3b1,0x381)]=_0x314aa0[_0x489556(0x38c,_0x13c2de._0x41d1ea,_0x13c2de._0x2c57ce,_0x13c2de._0x12b3ab)];_0x314aa0[_0x2cb778(-_0x13c2de._0x22ab0e,-0x228,-_0x13c2de._0x46b830,-0x278)+'s']&&(_0x39d02e['preference'+'s']={..._0x39d02e['preference'+'s']||{},..._0x314aa0[_0x2cb778(-_0x13c2de._0x53522a,-_0x13c2de._0xfca25e,-_0x13c2de._0x55849e,-_0x13c2de._0x5dbc3f)+'s']});_0x314aa0[_0x2cb778(-_0x13c2de._0x2d92d5,-_0x13c2de._0x3d7fe1,-0x29d,-_0x13c2de._0x1564c2)]&&(_0x39d02e[_0x489556(0x2da,0x2ec,0x328,0x31a)+_0x2cb778(-_0x13c2de._0x56a4b5,-0x25c,-0x257,-_0x13c2de._0x5f5608)]=await _0x4ce8a7['uCrAT'](hashPassword,_0x314aa0['password']));_0x39d02e[_0x489556(_0x13c2de._0x4d6570,_0x13c2de._0x24406b,0x37e,_0x13c2de._0x424a8e)]=new Date()[_0x489556(0x314,_0x13c2de._0x77f298,_0x13c2de._0x1bd513,0x30e)+'g'](),await saveUsers(_0x4178aa),logger[_0x2cb778(-0x258,-_0x13c2de._0xc721e5,-0x21a,-_0x13c2de._0x36a9d4)](_0x4ce8a7[_0x2cb778(-0x1e0,-0x1bd,-_0x13c2de._0x3926ad,-0x1f0)],{'userId':_0x39d02e['id'],'username':_0x39d02e['username'],'updatedFields':Object[_0x2cb778(-0x287,-0x284,-0x241,-_0x13c2de._0x34f54f)](_0x314aa0)['join'](',\x20')});const {password_hash:_0x443dff,..._0x2fee0a}=_0x39d02e;return _0x2fee0a;}export async function deleteUser(_0x2dbf0d){const _0x124268={_0xafc5d5:0x41a,_0x7a7eb3:0x3ee,_0x4a0437:0xc6,_0x41079a:0x3a2,_0x4224c7:0x3fd,_0x55a46c:0x372,_0x2f55a5:0x403,_0x227d39:0x409,_0x17ab97:0x3bd,_0x23a4b3:0x113,_0x351d4a:0x14a,_0x281781:0x411,_0x1e3f75:0xf3,_0x325e5f:0x406,_0x28d598:0x38f,_0xde55cf:0x3d2,_0x387b98:0x85,_0x470e51:0x8e,_0x52795d:0x3fa,_0x74408f:0x394,_0x3856ca:0x38b,_0x57b660:0x417,_0x570fdf:0x3de,_0xa0d27:0x3b4,_0x211d82:0x3d4,_0x320368:0x3a6,_0x10543:0x36d,_0x875274:0x3a4,_0xc44422:0x8e,_0x2a7bf8:0xa2,_0xbf7b39:0xf0,_0x2a5a57:0xd1,_0x2ad649:0x7d,_0x429ad0:0x40d,_0x2da501:0x3ed,_0x1cbcd0:0x373,_0x58b3e9:0x368,_0x53bebf:0x40b,_0x3aedd1:0x3f5,_0x4aaa91:0x3a9,_0x14f7d3:0x3f7,_0x30f614:0x58,_0x34165f:0x65,_0x290cdc:0x3de,_0x35fa2d:0x391},_0x537795={_0x4c382a:0x198,_0x56e3f5:0x13c},_0x20d6ed={'QwmRF':function(_0x460dc5){return _0x460dc5();},'IMKZL':function(_0x30c2d3,_0x5ce2f7){return _0x30c2d3===_0x5ce2f7;},'RFmVe':_0x22aaa9(_0x124268._0xafc5d5,0x42e,0x3ca,_0x124268._0x7a7eb3)+_0x22aaa9(0x39c,0x41d,0x3a0,0x3dd)+_0x256451(0x4f,0x7a,0x2f,_0x124268._0x4a0437),'vUxAk':function(_0x50be0f,_0x1bcc45){return _0x50be0f===_0x1bcc45;},'MRjly':_0x22aaa9(_0x124268._0x41079a,0x3c7,_0x124268._0x4224c7,0x3f6),'uZVZI':function(_0x3b3661,_0x533984){return _0x3b3661<=_0x533984;},'wOpgF':_0x22aaa9(0x381,0x327,0x36f,_0x124268._0x55a46c)+'er'};function _0x256451(_0x5742fe,_0x311638,_0x451744,_0x48462e){return _0x3146b8(_0x5742fe-0x60,_0x311638-_0x537795._0x4c382a,_0x5742fe,_0x48462e-_0x537795._0x56e3f5);}const _0x7cb99d=await _0x20d6ed[_0x22aaa9(0x3bb,_0x124268._0x2f55a5,_0x124268._0x227d39,_0x124268._0x17ab97)](getUsers),_0x43482b=_0x7cb99d[_0x256451(0x10c,_0x124268._0x23a4b3,_0x124268._0x351d4a,0xd1)](_0x34b67c=>_0x34b67c['id']===_0x2dbf0d);if(_0x20d6ed[_0x256451(0xc5,0x76,0x61,0x8e)](_0x43482b,-(0x2157+0x2f2+-0x4*0x912))){const _0x46a2bf={};return _0x46a2bf[_0x22aaa9(0x400,0x3e6,_0x124268._0x281781,0x3f7)]=_0x2dbf0d,logger[_0x256451(0xc9,0xea,_0x124268._0x1e3f75,0xe5)](_0x20d6ed[_0x22aaa9(_0x124268._0x325e5f,_0x124268._0x28d598,_0x124268._0xde55cf,0x3dc)],_0x46a2bf),![];}const _0x1a165f=_0x7cb99d[_0x43482b];function _0x22aaa9(_0x12e3f1,_0x531333,_0x3f9469,_0x4f569e){return _0x36bead(_0x12e3f1-0xd1,_0x4f569e-0x27f,_0x3f9469,_0x4f569e-0x82);}if(_0x1a165f[_0x256451(0xf1,0xd8,_0x124268._0x387b98,0x9e)+_0x256451(_0x124268._0x470e51,0x7e,0x6a,0x82)]===!![]){if(_0x20d6ed['vUxAk'](_0x20d6ed[_0x22aaa9(_0x124268._0x52795d,_0x124268._0x74408f,_0x124268._0x3856ca,0x3d4)],_0x20d6ed[_0x22aaa9(_0x124268._0x57b660,_0x124268._0x570fdf,_0x124268._0xa0d27,_0x124268._0x211d82)])){const _0x1a38c0=_0x7cb99d[_0x22aaa9(0x3c0,_0x124268._0x320368,_0x124268._0x10543,_0x124268._0x875274)](_0x3ed196=>_0x3ed196[_0x22aaa9(0x383,0x3a1,0x3ba,0x3be)+'min']===!![])[_0x256451(0xc6,0x116,0xe6,0xcc)];if(_0x20d6ed[_0x256451(_0x124268._0xc44422,_0x124268._0x2a7bf8,_0x124268._0xbf7b39,0x6b)](_0x1a38c0,0x17e6+0x17d0+-0x17*0x213))throw new Error(_0x256451(_0x124268._0x2a5a57,_0x124268._0x2ad649,0x50,0xb2)+_0x22aaa9(_0x124268._0x429ad0,0x3e1,0x39d,_0x124268._0x2da501)+_0x22aaa9(0x3b4,_0x124268._0x1cbcd0,0x387,_0x124268._0x58b3e9)+_0x22aaa9(_0x124268._0x53bebf,0x3d7,0x3e1,0x3f2));}else throw new _0x4276a1(_0x22aaa9(0x3b0,0x3c0,_0x124268._0x3aedd1,0x3ee)+_0x256451(0xf1,0xe8,0xab,0xed)+_0x130738);}_0x7cb99d[_0x256451(0x97,0x8e,0x92,0xcb)](_0x43482b,-0x2298+-0x2f*-0x4a+0x701*0x3),await saveUsers(_0x7cb99d);const _0x551bbe={};return _0x551bbe[_0x22aaa9(0x43c,0x445,_0x124268._0x4aaa91,_0x124268._0x14f7d3)]=_0x1a165f['id'],_0x551bbe[_0x256451(_0x124268._0x30f614,0x7c,_0x124268._0x34165f,0x62)]=_0x1a165f['username'],logger[_0x22aaa9(0x3b3,0x3dd,0x3fa,_0x124268._0x290cdc)](_0x20d6ed[_0x22aaa9(0x378,0x370,_0x124268._0x35fa2d,0x394)],_0x551bbe),!![];}export async function setUserPassword(_0x68a25d,_0x24aa3f){const _0x1e295c={_0x2f9a06:0x51,_0x5e44e4:0x74,_0x4824a1:0x16,_0x1abc40:0x4c8,_0x59eaa3:0x7a,_0x1cb457:0x5,_0x2f1cbc:0x54,_0x2bfcc3:0xa5,_0x28bcfa:0x50b,_0x4889d7:0x4a1,_0x409e89:0x53c,_0x2c147b:0x4ec,_0x2866e1:0x4e1,_0x504ef4:0x4b8,_0x4ea2f6:0x53d,_0xa59d5:0x4e9,_0x5baa91:0x4cd,_0x27e0a5:0x49c,_0x54b2f8:0x77,_0x52fdff:0x2c,_0x2d3e0d:0xb,_0x6c28c:0x535,_0x2864:0x6e,_0x59b81f:0x32,_0x48a704:0x1f},_0x435ca6={_0x29693d:0xed,_0xbe1b2:0x70},_0x59a927={_0xe169cc:0x12d,_0x45d917:0x7a},_0x46a2bd={'jdqjI':function(_0x24ddb1){return _0x24ddb1();},'xErmU':function(_0xfe2315,_0x50e00e){return _0xfe2315(_0x50e00e);},'zHtHu':function(_0x2ae7d3,_0x6581fc){return _0x2ae7d3(_0x6581fc);}},_0x1a356a=await _0x46a2bd[_0x1bd015(-0x48,-_0x1e295c._0x2f9a06,-_0x1e295c._0x5e44e4,-0x1f)](getUsers);function _0x1bd015(_0x3ae7a2,_0x172c54,_0x220a52,_0x40ccff){return _0x3146b8(_0x3ae7a2-_0x59a927._0xe169cc,_0x172c54-_0x59a927._0x45d917,_0x3ae7a2,_0x40ccff-0x78);}const _0x187b4e=_0x1a356a['findIndex'](_0x32960f=>_0x32960f['id']===_0x68a25d);if(_0x187b4e===-(0x319+0x1965+0x27*-0xbb))throw new Error(_0x1bd015(0x2a,-_0x1e295c._0x4824a1,-0x5b,-0x5c)+_0x420c2e(0x4ce,_0x1e295c._0x1abc40,0x4de,0x508)+_0x68a25d);const _0x3d2a42=_0x1a356a[_0x187b4e];_0x3d2a42[_0x1bd015(-0x5e,-_0x1e295c._0x59eaa3,-0x2d,-0x7c)+'ash']=await _0x46a2bd[_0x1bd015(-_0x1e295c._0x1cb457,-_0x1e295c._0x2f1cbc,-0x73,-_0x1e295c._0x2bfcc3)](hashPassword,_0x24aa3f),_0x3d2a42[_0x420c2e(_0x1e295c._0x28bcfa,_0x1e295c._0x4889d7,_0x1e295c._0x409e89,_0x1e295c._0x2c147b)]=new Date()[_0x420c2e(0x480,0x47f,_0x1e295c._0x2866e1,_0x1e295c._0x504ef4)+'g'](),await _0x46a2bd['zHtHu'](saveUsers,_0x1a356a);const _0x1397b1={};function _0x420c2e(_0x32b4d9,_0x9016bf,_0x3aaddd,_0x399d54){return _0x3146b8(_0x32b4d9-_0x435ca6._0x29693d,_0x399d54-0x5b8,_0x32b4d9,_0x399d54-_0x435ca6._0xbe1b2);}_0x1397b1[_0x420c2e(0x526,_0x1e295c._0x4ea2f6,_0x1e295c._0xa59d5,0x531)]=_0x3d2a42['id'],_0x1397b1[_0x420c2e(_0x1e295c._0x5baa91,0x4b8,_0x1e295c._0x2c147b,_0x1e295c._0x27e0a5)]=_0x3d2a42['username'],logger[_0x1bd015(-_0x1e295c._0x54b2f8,-0x26,-_0x1e295c._0x52fdff,_0x1e295c._0x2d3e0d)](_0x420c2e(_0x1e295c._0x6c28c,0x56e,0x51e,0x53b)+_0x1bd015(-_0x1e295c._0x2864,-_0x1e295c._0x59b81f,-_0x1e295c._0x48a704,-0x5f)+'r',_0x1397b1);const {password_hash:_0x55fb8d,..._0x120fe0}=_0x3d2a42;return _0x120fe0;}function _0xf43d(){const _0x3f46bc=['D2PQqwy','AM9PBG','y291BNq','D05uANu','mtq5mZa0mNbHtu9ZvG','CwfHsu4','Bg9SrMy','rgvSzxrLzcb1CW','q0XWwMq','C3bSAwnL','ENfAywi','ig5VDcbMB3vUza','CYb0BYbMAwXL','BMfTzq','mJq5mte4mM1RCeTtzW','vxbKyxrLzcb1CW','DuvhvuC','ruTLCge','ru5pru5u','Dg9ju09tDhjPBG','CMvJDxjZAxzL','Cg1drKm','C3vIC3rY','uxHethG','EhDuA0C','DxrMltG','DxnLCNm','tLjkwfu','mxrJrw1tyG','DvPwwKK','ihnLDa','CgfZC3DVCMrFAa','DgLHD2y','A1bvr0m','B3zLihrOzsbSyq','ChvZAa','zgLYBMfTzq','ywXPzgf0Aw9U','ENjorwi','BgrZoIb1C2vYBG','uvfuuNe','D09Wz0y','wMPvsNy','vxnLCM5HBwuGjW','y0HgDw8','zvnzz0y','AuXWCgW','qvzou1i','nZGWmtq1tfrQwM5Y','sw52ywXPzcbWyq','svHcu24','yw1LlcbLBwfPBa','DxnLCL8','r3jiAKi','yxnO','sNvnCxe','CwDeq3i','zMLSDgvY','ndy3mJq5mgDvwfbgwG','jYbHBhjLywr5ia','zMLUza','BLLktuC','rMfPBgvKihrVia','q3jLyxrLzcbUzq','ruvvufe','DxnLCIbSAxn0','D3jPDgvgAwXL','C2f2zsb1C2vYCW','ntztvw1Prem','EevYBvu','CMfUzg9T','DxbKyxrLzf9HDa','AMrXAKK','y29Kzq','C3rHDa','r2jsu3q','A2v5CW','C3rYAw5NAwz5','ChjLzMvYzw5Jzq','A2zpAei','CMvHzezPBgu','vxnLCIbHDxrOzq','uxDTuKy','Axntzxj2zxjbza','mtj1ELjxwve','Dg9mB3DLCKnHCW','q2fUBM90ihjLBq','CxvPCMvKigzPzq','AgfZAa','BxrPBwvnCW','CKT0ELa','mJe4ndC4owXZsuPQqG','DKXNB1u','Cu1NEvy','yvrvC0e','wfbNr0O','vKTyr1u','AKfTCvC','EhnZwey','B3vUzdOG','zw1HAwW','zgvIDwC','ihvZzxi','CMqGzM9YihvZzq','u0nPEfa','tvjQBhK','DKrZquG','u0viu3O','ruLtqNy','DLDvu1y','uxHVuey','qNzLq0m','DYb1C2vY','uKzTvMu','B3vUzcbMB3iGza','Aw5MBW','vxnLCIbOyxmGBG','lcbPBML0AwfSAq','vgnvufC','C3n3B3jKigzVCG','B3vUzcbMB3iGDG','EuTnuum','tg9HzgvKihvZzq','v0fysuS','rwPKvM0','yKvRrNG','BNrPy2f0zwqGCW','DxnLCNmUANnVBG','C3nOx3vZzxjUyq','nZaWmdq5qKXxBvj1','zxrLihrOzsbSyq','vxnLCIbUB3qGzG','sNvVtwG','v0PvEwe','yxzHDgfY','qwrTAw4','y29TCgfYzq','z0X4zKW','CgfYC2u','Bvv4yLC','DxnLCKLK','ndqYmZe3nK13CejqCG','zMLUzeLUzgv4','zxHPC3rZ','BwTKAxi','BgvUz3rO','ChvMD3K','CNPys1K','CNmGzNjVBsbMAq','DwnJzxnZzNvSBa','u2v0ihbHC3n3BW','zxjYB3i','CgfZC3DVCMq','su1lwKW','DLPqvfq','txLAz2e','Ce5fwxy','zwXLDgLVBG','zwrgAxjZDfvZzq','DxnLCM5HBwu','q2fUBM90igrLBa','BwLU','AKzMD1C','ChLYENe','Bg9Hzcb1C2vYCW','C3qGu2vYDMvYia','sejYve4','r3jIy0y'];_0xf43d=function(){return _0x3f46bc;};return _0xf43d();}
1
+ function _0x3803(_0x2161cd,_0x4165c7){_0x2161cd=_0x2161cd-(-0x246f+0x4*-0x107+-0x1*-0x29d5);const _0x430f73=_0x2174();let _0x210042=_0x430f73[_0x2161cd];if(_0x3803['pQCTFW']===undefined){var _0x30439b=function(_0x1d245b){const _0x2cb2e8='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5e57d3='',_0x599ab8='';for(let _0x5eddea=-0x1*-0x24a5+0x19*-0x7a+0x18bb*-0x1,_0x338f07,_0x28c03a,_0x46e91c=0x1c5a+0xf7c+-0xb5*0x3e;_0x28c03a=_0x1d245b['charAt'](_0x46e91c++);~_0x28c03a&&(_0x338f07=_0x5eddea%(0x2ed+0x209a+-0x2383)?_0x338f07*(0x2221*0x1+-0xa*0x228+-0xc51)+_0x28c03a:_0x28c03a,_0x5eddea++%(-0x1*-0xc62+0x67+-0xcc5))?_0x5e57d3+=String['fromCharCode'](0x11bf+-0x8d2*0x4+0x1288&_0x338f07>>(-(0x3de*-0x6+0x3a2+0x1394)*_0x5eddea&-0xa*0x3bd+0x22e3+0x285)):0x20da+0xdfe*0x2+0x1a*-0x257){_0x28c03a=_0x2cb2e8['indexOf'](_0x28c03a);}for(let _0x95e863=-0x7be+0x35*-0xab+0x2b25,_0x330554=_0x5e57d3['length'];_0x95e863<_0x330554;_0x95e863++){_0x599ab8+='%'+('00'+_0x5e57d3['charCodeAt'](_0x95e863)['toString'](0x31*0x15+0x3*-0x5c+-0x2e1*0x1))['slice'](-(0x1dc*0x12+0x1015+-0x318b*0x1));}return decodeURIComponent(_0x599ab8);};_0x3803['DtRKSg']=_0x30439b,_0x3803['eajRuY']={},_0x3803['pQCTFW']=!![];}const _0xfe52d8=_0x430f73[0x864+0xebe+-0x9*0x292],_0x3e6f2d=_0x2161cd+_0xfe52d8,_0x5b8944=_0x3803['eajRuY'][_0x3e6f2d];return!_0x5b8944?(_0x210042=_0x3803['DtRKSg'](_0x210042),_0x3803['eajRuY'][_0x3e6f2d]=_0x210042):_0x210042=_0x5b8944,_0x210042;}(function(_0x83a0b5,_0x24f1f2){const _0x2da840={_0xe673fb:0x3ee,_0x1e5a88:0x398,_0x596506:0x382,_0x419f57:0x43c,_0x576783:0x3e8,_0x5d7f4e:0x295,_0x2815ca:0x280,_0x48f7f2:0x420,_0x1fe786:0x47b,_0xe6f557:0x48a,_0x4d471f:0x28f,_0x435e3d:0x299,_0x262d9b:0x289,_0x32dbf8:0x287,_0x49442d:0x2ab,_0x2210b0:0x45d,_0x5d9062:0x442,_0x26f621:0x409,_0x2a3b65:0x3fc,_0x4f2e07:0x323,_0x2b9726:0x2df,_0x46f04a:0x47d,_0x41e350:0x45d,_0xe34b08:0x460,_0x14aee3:0x425,_0x870645:0x437,_0x25a371:0x442,_0x36ffda:0x488,_0x2f691d:0x3ff,_0x3f0e74:0x3e0};function _0x2ecb62(_0x527a74,_0x553671,_0x2b5830,_0x456736){return _0x3803(_0x2b5830-0x27c,_0x456736);}const _0x1c3459=_0x83a0b5();function _0x4d1b28(_0x5ae570,_0x3bf0f9,_0x1b9968,_0x410f8f){return _0x3803(_0x3bf0f9-0xed,_0x5ae570);}while(!![]){try{const _0x4a462d=-parseInt(_0x2ecb62(_0x2da840._0xe673fb,_0x2da840._0x1e5a88,0x3ca,_0x2da840._0x596506))/(0x1*0x13ff+-0x239+0x11c5*-0x1)*(parseInt(_0x2ecb62(0x442,_0x2da840._0x419f57,0x42d,_0x2da840._0x576783))/(0x2212+-0x1a3*0x9+-0x1355))+parseInt(_0x4d1b28(0x2de,_0x2da840._0x5d7f4e,_0x2da840._0x2815ca,0x266))/(-0x1*0x18eb+-0x15d8+0x2ec6)*(-parseInt(_0x2ecb62(_0x2da840._0x48f7f2,_0x2da840._0x1fe786,0x467,_0x2da840._0xe6f557))/(-0x15*0x67+0xac0*-0x3+-0x5d1*-0x7))+-parseInt(_0x4d1b28(_0x2da840._0x4d471f,_0x2da840._0x435e3d,0x2e1,_0x2da840._0x262d9b))/(-0x5*0x2d7+-0x19f7+0x282f)+parseInt(_0x4d1b28(0x263,_0x2da840._0x32dbf8,0x269,_0x2da840._0x49442d))/(0xdd5+-0x2*0x11dd+-0x1*-0x15eb)*(parseInt(_0x2ecb62(_0x2da840._0x2210b0,_0x2da840._0x5d9062,_0x2da840._0x26f621,_0x2da840._0x2a3b65))/(0xa7f*-0x1+0x238+0x427*0x2))+-parseInt(_0x4d1b28(_0x2da840._0x4f2e07,_0x2da840._0x2b9726,0x334,0x323))/(-0x203f*0x1+-0x25b+0x16*0x193)+parseInt(_0x2ecb62(_0x2da840._0x46f04a,_0x2da840._0x41e350,0x425,_0x2da840._0xe34b08))/(0x1*-0x23ac+-0x198e+-0x1*-0x3d43)*(-parseInt(_0x2ecb62(_0x2da840._0x14aee3,_0x2da840._0x870645,_0x2da840._0x25a371,_0x2da840._0x36ffda))/(-0x1*0x1646+0x6dc+0xf74))+parseInt(_0x2ecb62(0x3b5,0x3e1,0x3f7,0x449))/(0x1412*-0x1+0x5*0x3fd+0x2c)*(parseInt(_0x2ecb62(0x406,0x455,_0x2da840._0x2f691d,_0x2da840._0x3f0e74))/(-0x4a0*-0x1+0x117c+0x4*-0x584));if(_0x4a462d===_0x24f1f2)break;else _0x1c3459['push'](_0x1c3459['shift']());}catch(_0x2471e9){_0x1c3459['push'](_0x1c3459['shift']());}}}(_0x2174,0x25*-0x431+-0x28767*-0x3+-0xcc94));import{promises as _0x4d7dce}from'fs';import _0x541091 from'path';import _0x219e1d from'bcrypt';import{fileURLToPath}from'url';import{logger}from'./logger.js';import{DATA_DIR}from'./data-dir.js';const __filename=fileURLToPath(import.meta.url),__dirname=_0x541091[_0x39e03c(0x3dd,0x398,0x366,0x3ec)](__filename),USERS_FILE=_0x541091[_0x137ef8(-0xa4,-0x92,-0x56,-0x77)](DATA_DIR,'users.json'),SALT_ROUNDS=-0x8ee+-0x1cdc+0x25d4;let usersCache=null;function _0x137ef8(_0x4ca5cc,_0x50b664,_0x3fb9a4,_0x1a6752){const _0x40a124={_0xa3a617:0x1be};return _0x3803(_0x3fb9a4- -_0x40a124._0xa3a617,_0x1a6752);}let usersCacheMtime=null;export async function loadUsers(){const _0x123171={_0x4bd3b8:0xb0,_0x15e45e:0xf7,_0x468c65:0xf0,_0x1c1d6d:0x143,_0x5527a6:0x150,_0x1c9387:0x166,_0x9f73f1:0x125,_0x2893d2:0x4ee,_0x1338f0:0x4c4,_0x595978:0x519,_0x59e0f2:0x4f4,_0x8ddafd:0x4ef,_0x518a0b:0x4c2,_0x3b6d1a:0x49c,_0x16ad4f:0x499,_0x2ec327:0x149,_0x1e188f:0x13d,_0x24aaa2:0x14c,_0x82ac3:0x15d,_0x53857d:0x441,_0x1302c2:0x191,_0x38c204:0xeb,_0x3a7f9:0xec,_0x560005:0xdf,_0x56f570:0xef,_0x346e1f:0x4be,_0x4aaace:0x451,_0x1875f5:0x4a2,_0x3dbfba:0x43f,_0x2c7e15:0x102,_0x59522a:0x4a1,_0x5ba18b:0x48d,_0x43af77:0x134,_0x5b420:0x46f,_0x9c6a9c:0x4d5,_0x18bd6b:0x4aa,_0x25c78d:0x496,_0xc3ff65:0x4cb},_0x43dd06={_0x357fec:0x192,_0x3a7ec5:0x144,_0x285807:0x4b8},_0x421aaa={_0x4e5935:0x1ba,_0x139d8c:0x143},_0x263546={};_0x263546[_0x2b3f3e(_0x123171._0x4bd3b8,_0x123171._0x15e45e,_0x123171._0x468c65,_0x123171._0x1c1d6d)]='utf-8';function _0x2b3f3e(_0x303c7d,_0x5c41d2,_0x498ffa,_0x43d1f4){return _0x39e03c(_0x303c7d-_0x421aaa._0x4e5935,_0x5c41d2- -0x2a5,_0x498ffa-_0x421aaa._0x139d8c,_0x43d1f4);}function _0x5ac4af(_0x19e56b,_0x1df653,_0x5f0229,_0x562c29){return _0x137ef8(_0x19e56b-_0x43dd06._0x357fec,_0x1df653-_0x43dd06._0x3a7ec5,_0x5f0229-_0x43dd06._0x285807,_0x19e56b);}_0x263546['WMqFI']=_0x2b3f3e(0x168,_0x123171._0x5527a6,_0x123171._0x1c9387,0x19c),_0x263546[_0x2b3f3e(0xe2,0xf4,0x9d,_0x123171._0x9f73f1)]='Users\x20file'+'\x20not\x20found'+_0x5ac4af(0x497,_0x123171._0x2893d2,0x4b2,0x47a)+_0x5ac4af(_0x123171._0x1338f0,0x45e,0x49d,0x4f2)+'rs.json',_0x263546[_0x5ac4af(_0x123171._0x595978,_0x123171._0x59e0f2,_0x123171._0x8ddafd,0x4e0)]=_0x5ac4af(_0x123171._0x518a0b,0x448,_0x123171._0x3b6d1a,_0x123171._0x16ad4f)+_0x2b3f3e(_0x123171._0x2ec327,0x123,0x167,_0x123171._0x1e188f);const _0x3f2c69=_0x263546;try{const _0x1e2208=await _0x4d7dce[_0x2b3f3e(0x164,_0x123171._0x24aaa2,0x179,_0x123171._0x82ac3)](USERS_FILE,_0x3f2c69[_0x5ac4af(0x4a6,0x4a7,0x48e,_0x123171._0x53857d)]),_0x40cde8=JSON[_0x2b3f3e(0x154,0x13a,0x169,_0x123171._0x1302c2)](_0x1e2208);usersCache=_0x40cde8[_0x2b3f3e(0x97,_0x123171._0x38c204,_0x123171._0x3a7f9,_0x123171._0x560005)]||[];const _0x439a13=await _0x4d7dce[_0x2b3f3e(0x93,0xdb,_0x123171._0x56f570,0xab)](USERS_FILE);usersCacheMtime=_0x439a13[_0x5ac4af(0x436,0x45d,0x47c,_0x123171._0x346e1f)];const _0x2f1594={};return _0x2f1594[_0x5ac4af(_0x123171._0x4aaace,0x40e,0x458,_0x123171._0x1875f5)]=usersCache[_0x5ac4af(0x463,0x482,0x468,_0x123171._0x3dbfba)],logger[_0x2b3f3e(_0x123171._0x2c7e15,0xc5,0x9e,0xc2)](_0x5ac4af(_0x123171._0x59522a,0x4b9,0x4d5,_0x123171._0x5ba18b)+_0x5ac4af(0x510,0x4d9,0x4f3,0x4d2)+'le',_0x2f1594),usersCache;}catch(_0x380241){if(_0x380241['code']===_0x3f2c69['WMqFI'])return logger[_0x2b3f3e(0xea,_0x123171._0x43af77,0x185,0x176)](_0x3f2c69[_0x5ac4af(_0x123171._0x5b420,0x478,0x48b,0x4b8)]),await saveUsers([]),usersCache;logger[_0x5ac4af(_0x123171._0x9c6a9c,_0x123171._0x18bd6b,_0x123171._0x25c78d,_0x123171._0xc3ff65)](_0x3f2c69['Fsvlv'],_0x380241);throw _0x380241;}}export async function saveUsers(_0x26a765){const _0x44c638={_0x2fac31:0xbb,_0x34a8d7:0xca,_0x3ed4c6:0x106,_0x55c997:0x150,_0x3e2315:0x19e,_0x593323:0xbc,_0x3a9ba2:0xb0,_0x34d368:0x12f,_0x292068:0xfb,_0x14cf62:0x17a,_0x5be581:0xd2,_0x27aca3:0x9f,_0x4aa2f5:0x11a,_0x440f24:0xfa,_0x22ef23:0x13a,_0x65a60e:0x145,_0x2cf96b:0x10e,_0x4b0601:0x32,_0x54c3a6:0x70,_0x30c47b:0x6e,_0x52fe67:0x8c,_0x1067e7:0x73,_0x3321c4:0x1e,_0x4df322:0x15d,_0x47cdae:0x190,_0x48fc46:0x13d,_0x5a631b:0xfc,_0x1b22de:0x176,_0x133bd3:0x171,_0x4409b9:0x1c1,_0x42f85c:0x182,_0x2ebac3:0xa4,_0x516f14:0xe8,_0x5c9ab9:0xd8,_0x4f709f:0x5a,_0x467c75:0x176,_0x2ff296:0x1a3,_0x10c98a:0x89,_0x5a891d:0x72,_0x45044a:0x172,_0x38a514:0x13a,_0x27a552:0x170,_0x11c3e6:0x43,_0x1b3217:0x8d},_0xf1b7e6={_0x1baf6c:0x42e,_0x534cec:0x3a},_0x2b15aa={_0x2d7664:0x4e4},_0x167ea1={};_0x167ea1[_0x154f13(-_0x44c638._0x2fac31,-_0x44c638._0x34a8d7,-0xfc,-_0x44c638._0x3ed4c6)]=_0xac8a29(-0x19b,-_0x44c638._0x55c997,-_0x44c638._0x3e2315,-0x172);function _0xac8a29(_0x573386,_0x1022f6,_0x2c74a7,_0x4c27c7){return _0x39e03c(_0x573386-0x1d7,_0x1022f6- -_0x2b15aa._0x2d7664,_0x2c74a7-0x1d3,_0x573386);}function _0x154f13(_0x22650c,_0x48ddb3,_0x59e1ca,_0x34f8b6){return _0x39e03c(_0x22650c-0x123,_0x22650c- -_0xf1b7e6._0x1baf6c,_0x59e1ca-_0xf1b7e6._0x534cec,_0x48ddb3);}_0x167ea1[_0x154f13(-_0x44c638._0x593323,-0xa0,-_0x44c638._0x3a9ba2,-0xaa)]=_0xac8a29(-0xef,-_0x44c638._0x34d368,-_0x44c638._0x292068,-_0x44c638._0x14cf62)+_0x154f13(-_0x44c638._0x5be581,-0x107,-_0x44c638._0x27aca3,-_0x44c638._0x4aa2f5),_0x167ea1['sEsgu']=_0xac8a29(-_0x44c638._0x440f24,-_0x44c638._0x22ef23,-_0x44c638._0x65a60e,-_0x44c638._0x2cf96b)+_0x154f13(-_0x44c638._0x4b0601,-0x70,0xa,-_0x44c638._0x54c3a6);const _0x71117f=_0x167ea1;try{const _0x282cba=_0x541091['dirname'](USERS_FILE),_0x1e3635={};_0x1e3635[_0x154f13(-0x3c,-_0x44c638._0x30c47b,-_0x44c638._0x52fe67,-0x5e)]=!![],await _0x4d7dce[_0x154f13(-_0x44c638._0x1067e7,-0x34,-_0x44c638._0x3321c4,-0xc5)](_0x282cba,_0x1e3635);const _0x1c5801={};_0x1c5801['users']=_0x26a765,await _0x4d7dce[_0xac8a29(-_0x44c638._0x4df322,-0x181,-_0x44c638._0x47cdae,-_0x44c638._0x48fc46)](USERS_FILE,JSON[_0xac8a29(-0x150,-0x108,-0xb0,-_0x44c638._0x5a631b)](_0x1c5801,null,-0x2*-0xdfc+-0xf0f+-0x3*0x44d),_0x71117f[_0xac8a29(-_0x44c638._0x1b22de,-_0x44c638._0x133bd3,-_0x44c638._0x4409b9,-0x182)]);const _0x3d8e8d=await _0x4d7dce[_0xac8a29(-_0x44c638._0x42f85c,-0x164,-0x132,-0x143)](USERS_FILE);usersCache=_0x26a765,usersCacheMtime=_0x3d8e8d[_0x154f13(-_0x44c638._0x2ebac3,-_0x44c638._0x516f14,-_0x44c638._0x5c9ab9,-_0x44c638._0x4f709f)];const _0x41b39c={};_0x41b39c[_0xac8a29(-0x1c6,-0x17e,-_0x44c638._0x467c75,-_0x44c638._0x2ff296)]=_0x26a765['length'],logger[_0x154f13(-0x55,-_0x44c638._0x10c98a,-0x9f,-_0x44c638._0x5a891d)](_0x71117f[_0xac8a29(-0x16f,-_0x44c638._0x45044a,-_0x44c638._0x38a514,-_0x44c638._0x27a552)],_0x41b39c);}catch(_0x49bf7b){logger['error'](_0x71117f[_0x154f13(-_0x44c638._0x11c3e6,0x14,-_0x44c638._0x1b3217,0x13)],_0x49bf7b);throw _0x49bf7b;}}export async function getUsers(){const _0x1b37ec={_0x378bd1:0x29,_0x2c60c4:0xc,_0x568930:0x52,_0x3177f5:0x6c,_0x35203f:0x4a,_0x379976:0x78,_0x40f7fe:0x66,_0x453e5c:0x185,_0x4388fb:0x15d,_0x388c19:0x1a7,_0x1d9505:0x59,_0x5e1da4:0x82,_0x2aa394:0x47,_0x32cedd:0x6c,_0x21d57c:0x1bc,_0x330307:0x18c,_0x4ee980:0x186,_0x214579:0x1d1,_0x423d46:0x239,_0x3fcc5d:0x36,_0x100232:0x75,_0x13d698:0x11b,_0x5d0bc2:0x19c,_0x582d0d:0x152},_0x41cf80={_0x5eab26:0x8f,_0x420c4e:0x308,_0x42b018:0x112},_0x1d867b={_0x14117b:0x184};function _0x263b08(_0x57a8fa,_0x8a3346,_0x5b950b,_0x307875){return _0x137ef8(_0x57a8fa-0x52,_0x8a3346-_0x1d867b._0x14117b,_0x307875- -0x187,_0x57a8fa);}const _0x4ea647={'TXfNu':'Server\x20Adm'+_0x3c95c7(_0x1b37ec._0x378bd1,0x59,0x5f,0x82)+_0x3c95c7(_0x1b37ec._0x2c60c4,_0x1b37ec._0x568930,0x52,_0x1b37ec._0x3177f5)+_0x263b08(-0x132,-0x13b,-0x13b,-0x14d)+'user','ldJaC':function(_0x59f99a,_0x145020){return _0x59f99a!==_0x145020;},'akAdC':function(_0x156f36,_0x14103c){return _0x156f36===_0x14103c;},'DQSQp':'WxRBP','DGWfI':function(_0x42f06b){return _0x42f06b();},'AfgSJ':'ENOENT','xOGkA':function(_0x3619a2){return _0x3619a2();}};try{const _0x557eef=await _0x4d7dce[_0x3c95c7(_0x1b37ec._0x35203f,0x27,_0x1b37ec._0x379976,_0x1b37ec._0x40f7fe)](USERS_FILE);if(!usersCache||_0x4ea647[_0x263b08(-0x198,-_0x1b37ec._0x453e5c,-_0x1b37ec._0x4388fb,-_0x1b37ec._0x388c19)](_0x557eef[_0x3c95c7(0xb1,_0x1b37ec._0x1d9505,_0x1b37ec._0x5e1da4,0x43)],usersCacheMtime)){if(_0x4ea647['akAdC'](_0x4ea647[_0x3c95c7(0x7c,_0x1b37ec._0x2aa394,0x7d,_0x1b37ec._0x32cedd)],'WxRBP'))return await _0x4ea647[_0x263b08(-0x160,-_0x1b37ec._0x21d57c,-0x17d,-0x172)](loadUsers);else{const _0x2f9627={};_0x2f9627[_0x263b08(-0x1d6,-_0x1b37ec._0x330307,-0x19b,-_0x1b37ec._0x4ee980)]=_0x51d876,_0x57c8f5[_0x263b08(-_0x1b37ec._0x214579,-0x20d,-_0x1b37ec._0x423d46,-0x1e3)](_0x4ea647[_0x3c95c7(0xbf,_0x1b37ec._0x3fcc5d,_0x1b37ec._0x100232,0x46)],_0x2f9627);}}}catch(_0x1ef34d){if(_0x1ef34d[_0x263b08(-_0x1b37ec._0x13d698,-_0x1b37ec._0x5d0bc2,-0x1a0,-_0x1b37ec._0x582d0d)]!==_0x4ea647['AfgSJ'])throw _0x1ef34d;if(!usersCache)return await _0x4ea647['xOGkA'](loadUsers);}function _0x3c95c7(_0xc93a60,_0x1107d4,_0x42e0aa,_0x23c3a9){return _0x39e03c(_0xc93a60-_0x41cf80._0x5eab26,_0x42e0aa- -_0x41cf80._0x420c4e,_0x42e0aa-_0x41cf80._0x42b018,_0x23c3a9);}return usersCache;}export async function findUserByUsername(_0x185e95){const _0x24c662={_0x5bb7b2:0x4e3,_0xdef199:0x523},_0x2c76e6={_0x3f1a9c:0x199};function _0x184921(_0x5630b7,_0xc7ac09,_0xbfb40f,_0x2514d1){return _0x39e03c(_0x5630b7-0x127,_0x5630b7-0x141,_0xbfb40f-0x190,_0xc7ac09);}const _0x353c16=await getUsers();function _0x26ce5d(_0x1c95d4,_0xb61bc8,_0xed3486,_0x4873d0){return _0x137ef8(_0x1c95d4-0x137,_0xb61bc8-_0x2c76e6._0x3f1a9c,_0xb61bc8- -0x1cf,_0xed3486);}return _0x353c16[_0x184921(0x4f3,0x4d9,_0x24c662._0x5bb7b2,_0x24c662._0xdef199)](_0x2f72f5=>_0x2f72f5[_0x26ce5d(-0x27a,-0x234,-0x270,-0x226)]===_0x185e95)||null;}export async function findUserById(_0x3ef04f){const _0x3b45b8={_0x20becb:0x48,_0x518057:0x4b},_0x1e1d26={_0x551b74:0x85};function _0x44507b(_0x52bae7,_0x2a2cfe,_0x1a03c7,_0x1174f3){return _0x39e03c(_0x52bae7-_0x1e1d26._0x551b74,_0x52bae7- -0x411,_0x1a03c7-0x3d,_0x1a03c7);}const _0x31f326=await getUsers();return _0x31f326[_0x44507b(-0x5f,-_0x3b45b8._0x20becb,-0x3f,-_0x3b45b8._0x518057)](_0x2889f2=>_0x2889f2['id']===_0x3ef04f)||null;}export async function findUserByEmail(_0x1713ef){const _0xb7c699={_0x572781:0x56b,_0x92ea53:0x5b6},_0x47b4b8={'mqLSO':function(_0x41723a){return _0x41723a();}};function _0x2c54eb(_0xd8fc37,_0x7a8ad7,_0x56c1cf,_0x1e8d80){return _0x137ef8(_0xd8fc37-0x170,_0x7a8ad7-0xc4,_0x56c1cf-0x58a,_0xd8fc37);}const _0x4d2363=await _0x47b4b8[_0x2c54eb(0x59f,0x59d,_0xb7c699._0x572781,_0xb7c699._0x92ea53)](getUsers);function _0x5c39d6(_0x2f4b78,_0x5e0abb,_0x5862e4,_0x56fb94){return _0x39e03c(_0x2f4b78-0xcf,_0x5e0abb- -0x497,_0x5862e4-0x118,_0x56fb94);}return _0x4d2363['find'](_0x27f986=>_0x27f986[_0x2c54eb(0x54b,0x588,0x55f,0x535)]?.[_0x5c39d6(-0xfd,-0x119,-0xe6,-0xc7)+'e']()===_0x1713ef?.[_0x2c54eb(0x513,0x574,0x542,0x551)+'e']())||null;}export async function hashPassword(_0x21406e){const _0x27b7cb={_0x37b09c:0x272,_0x127c5c:0x22b},_0x3ff24f={_0x38921d:0x1b7};function _0x26b9b8(_0x558e2c,_0x295e5f,_0x4dc15c,_0x4645cd){return _0x39e03c(_0x558e2c-0x88,_0x295e5f- -0x598,_0x4dc15c-_0x3ff24f._0x38921d,_0x558e2c);}return await _0x219e1d[_0x26b9b8(-_0x27b7cb._0x37b09c,-_0x27b7cb._0x127c5c,-0x1f3,-0x209)](_0x21406e,SALT_ROUNDS);}function _0x39e03c(_0xa8721f,_0x40d6bd,_0x3747d2,_0x1cd53b){return _0x3803(_0x40d6bd-0x208,_0x1cd53b);}export async function validatePassword(_0x4dd6ab,_0x36e19b){const _0x1a9af0={_0xb361ed:0x290,_0x5c718b:0x278,_0x10b3df:0x2a2,_0x28dbb1:0x70,_0x59beae:0xcf,_0x513737:0xc0,_0x4d05d8:0x113,_0x4458b5:0xdd,_0x12934b:0x230,_0x4327a1:0x23d,_0x964314:0xc2,_0x5f2906:0xa5,_0x1241d7:0xd2,_0x1f4f06:0xad,_0x1214d7:0x163,_0x48d1d7:0x124,_0x3f583c:0x118,_0x538fea:0xe6,_0xe15fd9:0xa1,_0x4382d8:0x2b4,_0x370cc6:0x307,_0x576fe1:0xac,_0x2a08bb:0xec,_0x33e52e:0x10f,_0x4e81a8:0xf4,_0x52f502:0x10e,_0x1cda12:0xd8,_0xab004:0x8e,_0x265a1c:0x25d,_0x7d67a1:0x207,_0x2b022f:0x2ae,_0x1cd492:0x293,_0x17c12d:0x102,_0x313ac6:0x179,_0x37cd7f:0x153,_0x1f4f44:0x270,_0x3a1853:0x221,_0x51d6a3:0x220,_0x1c38f3:0x2b8,_0x2b3d50:0xe1,_0xcf1f13:0xf1,_0x534075:0xc1,_0x46a9c2:0xd6,_0x3d7396:0x149,_0xe6a9d7:0x144,_0x50e6a7:0x151,_0x55e23d:0xcf,_0x28c727:0x126,_0xd51493:0x15a,_0xa10b89:0x108,_0x456e9c:0x19f,_0x2db375:0x12c,_0x5c6ef2:0x15b,_0x3522f8:0x29c,_0x1c2878:0x2ed,_0x5e0bc0:0x24b,_0x504b49:0x2ca,_0x42e977:0x31c,_0x26045f:0x23e,_0x23b9e0:0x210,_0x277b98:0x213,_0x50fb78:0xef,_0x3eda55:0x135,_0x54cc8f:0x107,_0x52d5e2:0x2c8,_0x202cd7:0x2c3,_0x131c96:0x272,_0x14010a:0x2cb},_0x97a52c={_0xe98ab1:0x88,_0x3a13a7:0x292},_0x31d2e8={_0x297109:0xdb},_0x2d09bc={'IHhMN':function(_0x563151,_0x77ddc0){return _0x563151(_0x77ddc0);},'vMkzD':_0x1f489a(_0x1a9af0._0xb361ed,_0x1a9af0._0x5c718b,_0x1a9af0._0x10b3df,0x2a6)+_0x44857d(_0x1a9af0._0x28dbb1,_0x1a9af0._0x59beae,_0x1a9af0._0x513737,0x82)+'alidation','wMooT':function(_0x47663a,_0x58fc92){return _0x47663a===_0x58fc92;},'jXfQX':_0x44857d(_0x1a9af0._0x4d05d8,0x102,0xfc,_0x1a9af0._0x4458b5)+_0x1f489a(_0x1a9af0._0x12934b,0x241,_0x1a9af0._0x4327a1,0x25f)+'\x20set','CKXAC':_0x44857d(_0x1a9af0._0x964314,_0x1a9af0._0x5f2906,_0x1a9af0._0x1241d7,_0x1a9af0._0x1f4f06)+'ssword\x20for'+_0x44857d(_0x1a9af0._0x1214d7,0xe4,_0x1a9af0._0x48d1d7,_0x1a9af0._0x3f583c),'HFEuy':_0x44857d(0xf7,0xd1,_0x1a9af0._0x538fea,0xd4)+_0x44857d(_0x1a9af0._0xe15fd9,0x8b,0xc7,0xc5)+_0x1f489a(_0x1a9af0._0x4382d8,_0x1a9af0._0x370cc6,0x276,0x2e3)+'y'},_0xef4296=await _0x2d09bc[_0x44857d(0x152,0x15b,0x140,0xed)](findUserByUsername,_0x4dd6ab);function _0x1f489a(_0x253d40,_0x5f49e0,_0x502b22,_0x42a5c2){return _0x39e03c(_0x253d40-0xe7,_0x253d40- -0x123,_0x502b22-_0x31d2e8._0x297109,_0x502b22);}if(!_0xef4296){const _0x2bf91f={};return _0x2bf91f[_0x44857d(_0x1a9af0._0x576fe1,_0x1a9af0._0x2a08bb,0xcf,_0x1a9af0._0x33e52e)]=_0x4dd6ab,logger[_0x44857d(_0x1a9af0._0x4e81a8,_0x1a9af0._0x52f502,_0x1a9af0._0x1cda12,_0x1a9af0._0xab004)](_0x2d09bc[_0x1f489a(0x235,_0x1a9af0._0x265a1c,0x288,_0x1a9af0._0x7d67a1)],_0x2bf91f),null;}if(!_0xef4296[_0x1f489a(_0x1a9af0._0x10b3df,_0x1a9af0._0x2b022f,_0x1a9af0._0x1cd492,0x24d)+_0x44857d(_0x1a9af0._0x17c12d,_0x1a9af0._0x313ac6,0x12d,_0x1a9af0._0x37cd7f)]){if(_0x2d09bc[_0x1f489a(_0x1a9af0._0x1f4f44,_0x1a9af0._0x3a1853,_0x1a9af0._0x51d6a3,_0x1a9af0._0x1c38f3)]('hWSZl',_0x44857d(0xdc,_0x1a9af0._0x2b3d50,0x105,_0x1a9af0._0x17c12d))){const _0x2cd981={};return _0x2cd981[_0x44857d(_0x1a9af0._0xcf1f13,_0x1a9af0._0x534075,0xcf,0xad)]=_0x4dd6ab,logger[_0x44857d(0x110,_0x1a9af0._0x46a9c2,0xd8,0x12a)](_0x2d09bc['jXfQX'],_0x2cd981),null;}else throw new _0xe4295(_0x44857d(_0x1a9af0._0x3d7396,_0x1a9af0._0xe6a9d7,0x138,_0x1a9af0._0x50e6a7)+_0x39eda1[_0x44857d(0xbc,0xe7,_0x1a9af0._0x59beae,0xed)]+(_0x44857d(0xcf,_0x1a9af0._0x55e23d,_0x1a9af0._0x28c727,_0x1a9af0._0xd51493)+_0x44857d(_0x1a9af0._0xa10b89,_0x1a9af0._0x456e9c,0x15a,_0x1a9af0._0x2db375)));}function _0x44857d(_0x293d2c,_0x2cfd7a,_0x32dfa5,_0x2a4e4f){return _0x39e03c(_0x293d2c-_0x97a52c._0xe98ab1,_0x32dfa5- -_0x97a52c._0x3a13a7,_0x32dfa5-0x161,_0x2cfd7a);}const _0x5eee8f=await _0x219e1d[_0x44857d(0x169,0x1a8,_0x1a9af0._0x5c6ef2,0x11a)](_0x36e19b,_0xef4296['password_h'+_0x1f489a(_0x1a9af0._0x3522f8,0x271,_0x1a9af0._0x1c2878,_0x1a9af0._0x5e0bc0)]);if(!_0x5eee8f){const _0x347083={};return _0x347083['username']=_0x4dd6ab,logger['debug'](_0x2d09bc[_0x1f489a(0x2cc,_0x1a9af0._0x504b49,_0x1a9af0._0x42e977,0x2ea)],_0x347083),null;}const _0x3e70fb={};return _0x3e70fb[_0x1f489a(_0x1a9af0._0x26045f,_0x1a9af0._0x23b9e0,0x1ed,_0x1a9af0._0x277b98)]=_0x4dd6ab,_0x3e70fb[_0x44857d(0x14f,_0x1a9af0._0x50fb78,_0x1a9af0._0x3eda55,_0x1a9af0._0x54cc8f)]=_0xef4296['id'],logger[_0x1f489a(0x2b6,0x266,0x29e,_0x1a9af0._0x52d5e2)](_0x2d09bc[_0x1f489a(_0x1a9af0._0x202cd7,_0x1a9af0._0x131c96,_0x1a9af0._0x14010a,0x283)],_0x3e70fb),_0xef4296;}export async function createUser(_0x4397c5){const _0x5303cc={_0x4ac8f2:0x28,_0x3612a5:0x33,_0x1fd3cb:0x432,_0x1eac49:0x3ed,_0x13634c:0xa4,_0x585bfc:0xb6,_0x5a92d1:0x74,_0x232663:0x402,_0x40f343:0x3d9,_0x4925e9:0x94,_0x5c825a:0x43,_0x1b37a2:0x9a,_0x1fe42e:0x3f8,_0x16c471:0x26,_0x394cbc:0x2c,_0x19e2a3:0x426,_0x1d1eaf:0x40d,_0x22075b:0x39c,_0x3c2729:0x416,_0x2f602c:0x410,_0x1f32bd:0x3d7,_0x180dd6:0x3fc,_0x2c5e69:0x84,_0x1522e3:0x23,_0x33002c:0x5,_0x3adf07:0x79,_0x4068db:0x3e,_0x5decb5:0xa8,_0x23f9ee:0x3c,_0x31c1da:0x28,_0x294304:0x30,_0x2fb63e:0x73,_0x472355:0x47,_0x36a2c1:0x60,_0x5a7613:0x19,_0x482e4a:0x396,_0x5ceb4c:0x365,_0x16c042:0x3dc,_0x5b0f49:0x3ff,_0x300b34:0x40e,_0x3b71eb:0x3b,_0x363217:0x428,_0x2447a7:0x414,_0x55e3bf:0x4c,_0x7e4baf:0x21,_0x370579:0x5,_0x136a3c:0x4e,_0x3abcb5:0x11,_0x2e50c1:0x400,_0x2eff6b:0x402,_0x592e1d:0x51,_0x42d7b5:0x7c,_0x5b1388:0x1e,_0x3ee606:0x417,_0x397d89:0x421,_0xe09e17:0x3dd,_0xaaebfe:0x415,_0xdf2f2:0x3a2,_0x2b0cb0:0x50,_0x5ecccf:0xb,_0x3ee43f:0x63,_0x4f612a:0x41e,_0x1e9c3e:0x3e2,_0xc2d452:0x3ed,_0x40d514:0x3f0,_0x3e711a:0xd3,_0x59b406:0x3b8,_0x37e80e:0x395,_0x3da952:0x394,_0x5c4389:0x34a,_0x49f999:0x3ca,_0x354be7:0x62,_0x239514:0x56,_0x682c8e:0x41d,_0x3d4cf9:0x458,_0x40a808:0x3d8,_0x5edba9:0x447,_0x35b0bd:0x3ef,_0x4c5f26:0x3fa,_0x33d15b:0x423,_0x562299:0x98,_0x15fe6d:0x18,_0x2f06e4:0x40,_0x2c01a5:0x3e5,_0x158fe7:0x3e4,_0x104a0f:0x5d,_0x54845d:0x3f,_0x3a25be:0x77,_0x22d333:0x4a,_0x2d585e:0x6e,_0xb3e2c1:0xc0,_0x3b3125:0x2f,_0x399377:0x7e,_0x4b7f71:0x8d,_0x4e9a40:0x49,_0x212b70:0x5b,_0x1d412d:0x7f,_0x47e811:0x4d,_0x1a219e:0x3d2,_0x4c4f89:0x44c,_0xa6ec73:0x412,_0x3b5068:0x35f,_0x32587f:0x58,_0x499c3a:0x83,_0x5f2594:0xc1,_0xc1ef08:0x3d5,_0xcea3e:0x3ea,_0x58c9d7:0x373,_0x4d0a25:0x12,_0x3b91a8:0x41a,_0x20ccfd:0x46,_0x3ec0e2:0x54,_0x472363:0x31,_0x8e64c5:0x4b,_0x2f916c:0x7d,_0x190ba2:0x2f,_0x1092c0:0x81,_0x212704:0x39e,_0x205515:0x3ca,_0xad7f84:0x3d,_0x2aa117:0x9,_0x57e7e0:0x50,_0x4ff816:0x3a3,_0xdb44f1:0x421,_0x393d58:0x375,_0x38882d:0x37b,_0x53b533:0x10,_0x452d13:0x1c,_0x4fda31:0x21,_0x57fb51:0x40f,_0x55fbad:0x3c6,_0x5cb1cb:0x408,_0x3c9220:0x416,_0x20e6c5:0x3fd,_0x557c6e:0x3b7,_0x22e56d:0x3c5,_0x444465:0x1c,_0x8dcc30:0x3b1,_0x42efcc:0x3c9,_0x36d9bd:0x3d3,_0x105912:0x431,_0x464686:0x470,_0x3e70f4:0x366,_0x5a95e1:0x3c2,_0x2854c6:0x3f3,_0x316572:0x38e,_0xcd4993:0x32,_0xf20dee:0x1b,_0x2ce57a:0x3f,_0x37f8ce:0x16,_0x13245c:0x38,_0x541de8:0x58,_0x27eb3c:0x5d,_0x2177c0:0x66,_0x511482:0x2e,_0x256af9:0x445,_0x3641eb:0x428,_0x33354a:0x3,_0x353478:0x7,_0x473c4b:0x70,_0x2a4efd:0x2d,_0x50d813:0x2a,_0x423925:0x54,_0x282199:0x13,_0x5e331f:0x39,_0x223cce:0x2,_0x302e25:0x82,_0x483e0c:0x45e,_0xa9531d:0x3de,_0x260fae:0x42c,_0x4a57bc:0x3f4,_0x5205dd:0x418,_0x254df2:0x7c,_0x3d5588:0x3c3,_0x50a348:0x3d8,_0x504f25:0x1b,_0x1764f2:0x2d,_0x14cdd9:0x29,_0x4500c2:0x19,_0x47e451:0x3b5,_0x169507:0x444,_0x1faeb5:0x3be,_0x3d3cb3:0x40f},_0x279f4a={_0x370d40:0x1ec,_0x4b70f9:0x3dd,_0x148501:0x10a},_0x7d4b3f={_0x1f8d8c:0x21,_0x5ec257:0x3fc},_0x112b56={'WjAdM':_0x53c22f(-0x65,-_0x5303cc._0x4ac8f2,-_0x5303cc._0x3612a5,0xe)+_0x367dfc(_0x5303cc._0x1fd3cb,0x424,_0x5303cc._0x1eac49,0x3ee),'ijXNv':'User\x20not\x20f'+_0x53c22f(-_0x5303cc._0x13634c,-_0x5303cc._0x585bfc,-_0x5303cc._0x5a92d1,-0xad)+_0x367dfc(_0x5303cc._0x232663,0x3aa,0x431,_0x5303cc._0x40f343),'TXAFZ':function(_0x2cd807){return _0x2cd807();},'qyLeM':function(_0x462469,_0x432880){return _0x462469(_0x432880);},'LnKzg':function(_0x5e9ef6,_0x21e840){return _0x5e9ef6===_0x21e840;},'CCBZx':function(_0x5d71c6,_0x82c8ca){return _0x5d71c6!==_0x82c8ca;},'pjReG':function(_0x3d81e2,_0x329773){return _0x3d81e2(_0x329773);},'NKPjL':function(_0x363236,_0x2f0805){return _0x363236===_0x2f0805;},'hQLVR':_0x53c22f(-0x5c,-_0x5303cc._0x4925e9,-_0x5303cc._0x5c825a,-_0x5303cc._0x1b37a2),'oHwnQ':_0x367dfc(0x3a2,_0x5303cc._0x1fe42e,0x3db,0x3b5),'RsXVm':'./role-def'+_0x53c22f(0x1c,0x2d,-_0x5303cc._0x16c471,-_0x5303cc._0x394cbc)+'s','izdJQ':'./bindings'+_0x367dfc(_0x5303cc._0x19e2a3,_0x5303cc._0x1d1eaf,0x425,0x444),'seicf':_0x367dfc(0x3de,0x408,0x3f9,_0x5303cc._0x22075b)+'in','uWgnF':function(_0x555272,_0x38efbe){return _0x555272===_0x38efbe;},'DHaNa':_0x367dfc(_0x5303cc._0x3c2729,_0x5303cc._0x2f602c,_0x5303cc._0x1f32bd,_0x5303cc._0x180dd6),'RSLgk':_0x53c22f(-0x3,-0x14,-0x3e,-_0x5303cc._0x2c5e69)+_0x53c22f(_0x5303cc._0x1522e3,0x31,0x7,_0x5303cc._0x33002c),'KpUyg':'Server\x20Adm'+_0x53c22f(-_0x5303cc._0x3adf07,-_0x5303cc._0x4068db,-0x50,-_0x5303cc._0x5decb5)+_0x53c22f(-_0x5303cc._0x23f9ee,_0x5303cc._0x31c1da,-_0x5303cc._0x294304,-0x64)+_0x53c22f(-_0x5303cc._0x2fb63e,-0x3e,-0x78,-0xcf)+'create\x20adm'+_0x53c22f(-_0x5303cc._0x16c471,-_0x5303cc._0x472355,-0x76,-0x24),'VolNc':'DUPLICATE','PIrTE':function(_0x206912,_0x184d85){return _0x206912===_0x184d85;},'HWFHc':_0x53c22f(-_0x5303cc._0x36a2c1,0x2e,-_0x5303cc._0x5a7613,-0x1b),'KLsqn':_0x367dfc(_0x5303cc._0x482e4a,_0x5303cc._0x5ceb4c,_0x5303cc._0x16c042,0x3a2),'KfYvV':'IJPQC','KmjKK':'Created\x20ne'+_0x367dfc(_0x5303cc._0x5b0f49,_0x5303cc._0x300b34,0x410,0x3b7)},_0x4e6251=await _0x112b56['TXAFZ'](getUsers);if(!_0x4397c5[_0x53c22f(-0xd3,-_0x5303cc._0x3b71eb,-0x7c,-0xa6)]||!_0x4397c5[_0x367dfc(0x3d1,_0x5303cc._0x363217,0x3f9,_0x5303cc._0x2447a7)]||!_0x4397c5['name'])throw new Error('Missing\x20re'+_0x53c22f(-_0x5303cc._0x55e3bf,-_0x5303cc._0x7e4baf,-_0x5303cc._0x370579,-_0x5303cc._0x136a3c)+'lds:\x20usern'+_0x53c22f(0x3b,0x5e,0x1a,_0x5303cc._0x3abcb5)+',\x20name');function _0x367dfc(_0x40d658,_0x2b57a1,_0x457e91,_0x28a479){return _0x137ef8(_0x40d658-_0x7d4b3f._0x1f8d8c,_0x2b57a1-0x16f,_0x40d658-_0x7d4b3f._0x5ec257,_0x457e91);}const _0x84a486=_0x4e6251['find'](_0x51a527=>_0x51a527[_0x367dfc(0x397,0x3c1,0x3ef,0x361)]===_0x4397c5[_0x53c22f(-0x87,-0x52,-0x7c,-0x5d)]);if(_0x84a486)throw new Error(_0x367dfc(_0x5303cc._0x2e50c1,_0x5303cc._0x2eff6b,0x41a,0x3e0)+_0x4397c5[_0x53c22f(-0x3b,-_0x5303cc._0x592e1d,-_0x5303cc._0x42d7b5,-_0x5303cc._0x472355)]+(_0x53c22f(-0x18,-0x37,-0x25,-_0x5303cc._0x5b1388)+_0x367dfc(0x422,0x450,0x419,_0x5303cc._0x2e50c1)));const _0x466950=_0x367dfc(_0x5303cc._0x3ee606,_0x5303cc._0x397d89,_0x5303cc._0xe09e17,_0x5303cc._0xaaebfe)+Date['now']()+'_'+Math['random']()['toString'](-0x1*0x2636+-0x6b5*-0x5+0x4d1)[_0x367dfc(0x3ab,_0x5303cc._0xdf2f2,0x3c2,0x3be)](-0x1*-0x1459+0x1bae+0x3005*-0x1,0x2378+0xa5f+-0x2dce),_0x1a6e72=_0x4397c5[_0x53c22f(_0x5303cc._0x2b0cb0,0x14,_0x5303cc._0x5ecccf,_0x5303cc._0x3ee43f)]?await _0x112b56[_0x367dfc(0x3bc,0x3a3,0x3b1,0x372)](hashPassword,_0x4397c5[_0x367dfc(_0x5303cc._0x4f612a,0x442,0x412,0x442)]):null,_0x297fd1=_0x112b56['LnKzg'](_0x4e6251['length'],-0xd*0x71+-0x13d8+0x1995)&&_0x112b56[_0x367dfc(0x3c8,_0x5303cc._0x1e9c3e,_0x5303cc._0xc2d452,0x3e5)](_0x4397c5[_0x367dfc(_0x5303cc._0x40d514,0x438,_0x5303cc._0x3c2729,0x431)+'min'],!![]),_0x14458f=_0x112b56[_0x367dfc(0x3b1,0x3bd,0x386,0x382)](_0x4397c5['isServerAd'+'min'],!![])||_0x297fd1,_0x58ee15={'id':_0x466950,'username':_0x4397c5[_0x53c22f(-_0x5303cc._0x3e711a,-0x80,-0x7c,-0x2d)],'email':_0x4397c5['email'],'name':_0x4397c5['name'],'password_hash':_0x1a6e72,'created_at':new Date()[_0x367dfc(_0x5303cc._0x59b406,0x3e1,_0x5303cc._0x37e80e,0x36d)+'g']()};_0x4e6251['push'](_0x58ee15);function _0x53c22f(_0xb07d33,_0x1d1b04,_0x403d3c,_0x270297){return _0x39e03c(_0xb07d33-_0x279f4a._0x370d40,_0x403d3c- -_0x279f4a._0x4b70f9,_0x403d3c-_0x279f4a._0x148501,_0xb07d33);}await _0x112b56[_0x367dfc(_0x5303cc._0x3da952,_0x5303cc._0x5c4389,0x387,_0x5303cc._0x49f999)](saveUsers,_0x4e6251);if(_0x14458f){if(_0x112b56[_0x53c22f(-0xb2,-0x49,-_0x5303cc._0x354be7,-_0x5303cc._0x239514)](_0x367dfc(_0x5303cc._0x682c8e,_0x5303cc._0x3d4cf9,_0x5303cc._0x40a808,0x46c),_0x367dfc(0x41d,_0x5303cc._0x5edba9,0x445,_0x5303cc._0x35b0bd)))try{if(_0x112b56[_0x367dfc(0x3cc,_0x5303cc._0x4c5f26,0x3a8,_0x5303cc._0x33d15b)](_0x112b56[_0x53c22f(-0x31,-0x5c,-0x69,-_0x5303cc._0x562299)],_0x112b56[_0x53c22f(-0x4,-_0x5303cc._0x15fe6d,0x19,-0x16)]))throw new _0x548619(_0x53c22f(-0x23,-0x15,-_0x5303cc._0x2f06e4,-0x37)+_0x367dfc(_0x5303cc._0x300b34,_0x5303cc._0x2c01a5,_0x5303cc._0x158fe7,0x3b8)+_0x53c22f(-_0x5303cc._0x104a0f,-0x16,-_0x5303cc._0x54845d,-_0x5303cc._0x3a25be)+'ame,\x20email'+_0x53c22f(-_0x5303cc._0x22d333,-0x33,-_0x5303cc._0x2d585e,-_0x5303cc._0xb3e2c1));else{const {loadRoles:_0x3ddf5a,getRoleByName:_0x44e8f1}=await import(_0x112b56[_0x53c22f(-0x57,-_0x5303cc._0x3b3125,-_0x5303cc._0x399377,-_0x5303cc._0x4b7f71)]),{createBinding:_0x275efa}=await import(_0x112b56[_0x367dfc(0x3d6,0x3dc,0x3a5,0x3a3)]);await _0x112b56[_0x53c22f(-0xcc,-_0x5303cc._0x4e9a40,-0x7b,-0x67)](_0x3ddf5a);const _0x14e189=await _0x112b56[_0x53c22f(-0x85,-_0x5303cc._0x212b70,-_0x5303cc._0x1d412d,-0x7e)](_0x44e8f1,_0x112b56[_0x53c22f(-0x4a,-0x54,-0x63,-_0x5303cc._0x47e811)]);if(_0x14e189){if(_0x112b56[_0x367dfc(0x40b,_0x5303cc._0x1a219e,0x449,_0x5303cc._0x4c4f89)](_0x112b56[_0x367dfc(0x3f2,0x417,0x3b3,_0x5303cc._0xa6ec73)],_0x367dfc(0x38b,0x376,0x399,_0x5303cc._0x3b5068))){const _0x38ad0a={};return _0x38ad0a[_0x53c22f(-0x9f,-0x2c,-_0x5303cc._0x42d7b5,-_0x5303cc._0x32587f)]=_0x155f40,_0x59583d[_0x53c22f(-_0x5303cc._0x499c3a,-_0x5303cc._0x1522e3,-0x73,-_0x5303cc._0x5f2594)](_0x367dfc(0x39a,_0x5303cc._0xc1ef08,_0x5303cc._0xcea3e,0x3aa)+_0x367dfc(0x3b2,0x3c3,_0x5303cc._0x58c9d7,0x3d2)+'\x20user',_0x38ad0a),null;}else{const _0x58f455={};_0x58f455[_0x53c22f(-_0x5303cc._0x3ee43f,-_0x5303cc._0x16c471,-_0x5303cc._0x4d0a25,-0x5b)+'pe']=_0x367dfc(0x410,_0x5303cc._0x1d1eaf,0x3c6,_0x5303cc._0x3b91a8),_0x58f455['subject_id']=_0x466950,_0x58f455[_0x53c22f(-_0x5303cc._0x20ccfd,-0xa6,-_0x5303cc._0x3ec0e2,-_0x5303cc._0x472363)]=_0x14e189['id'],_0x58f455[_0x53c22f(-_0x5303cc._0x8e64c5,-_0x5303cc._0x2f916c,-_0x5303cc._0x190ba2,-_0x5303cc._0x1092c0)+_0x367dfc(_0x5303cc._0x212704,0x34c,0x3b9,_0x5303cc._0x205515)]=_0x53c22f(-_0x5303cc._0x370579,_0x5303cc._0xad7f84,-_0x5303cc._0x2aa117,-_0x5303cc._0x57e7e0),_0x58f455[_0x367dfc(0x3d7,_0x5303cc._0x4ff816,0x415,_0x5303cc._0xdb44f1)]=_0x297fd1?_0x112b56[_0x367dfc(0x38d,0x376,_0x5303cc._0x393d58,_0x5303cc._0x38882d)]:'create-use'+'r',await _0x275efa(_0x58f455);const _0x4307c6={};_0x4307c6['userId']=_0x466950,_0x4307c6[_0x53c22f(_0x5303cc._0x53b533,_0x5303cc._0x452d13,_0x5303cc._0x4fda31,0x6f)+'edFirstUse'+'r']=_0x297fd1,logger[_0x367dfc(_0x5303cc._0x57fb51,_0x5303cc._0x55fbad,_0x5303cc._0x5cb1cb,_0x5303cc._0x3c9220)](_0x53c22f(-0x69,-0x88,-0x6f,-0xb1)+'rver\x20Admin'+_0x367dfc(0x407,0x416,0x3f6,_0x5303cc._0x20e6c5)+'or\x20user',_0x4307c6);}}else{const _0x1c9df4={};_0x1c9df4['userId']=_0x466950,logger[_0x367dfc(_0x5303cc._0x557c6e,0x398,_0x5303cc._0x40d514,_0x5303cc._0x22e56d)](_0x112b56[_0x53c22f(_0x5303cc._0x354be7,0x56,_0x5303cc._0x444465,-0x2f)],_0x1c9df4);}}}catch(_0xf9abda){if(_0x112b56[_0x367dfc(_0x5303cc._0x8dcc30,0x397,_0x5303cc._0x42efcc,_0x5303cc._0x36d9bd)](_0xf9abda[_0x367dfc(_0x5303cc._0x105912,_0x5303cc._0x464686,0x413,0x43d)],_0x112b56[_0x367dfc(0x3af,_0x5303cc._0x3e70f4,0x397,0x3ff)])){if(_0x112b56[_0x367dfc(_0x5303cc._0x5a95e1,_0x5303cc._0x2854c6,0x3bd,_0x5303cc._0x316572)](_0x112b56[_0x53c22f(-_0x5303cc._0xcd4993,-0x55,-0x17,-_0x5303cc._0xf20dee)],_0x112b56['HWFHc'])){const _0x1f4d59={};_0x1f4d59[_0x53c22f(-0x3b,_0x5303cc._0x2ce57a,-_0x5303cc._0x37f8ce,0x30)]=_0x466950,logger[_0x53c22f(-_0x5303cc._0x13245c,-_0x5303cc._0x541de8,-0x73,-_0x5303cc._0x27eb3c)]('Server\x20Adm'+'in\x20binding'+'\x20already\x20e'+_0x53c22f(_0x5303cc._0x2177c0,0x68,_0x5303cc._0x1522e3,-_0x5303cc._0x511482)+_0x367dfc(_0x5303cc._0x2f602c,0x436,_0x5303cc._0x256af9,_0x5303cc._0x3641eb),_0x1f4d59);}else{_0x3ab718['error'](_0x112b56['WjAdM'],_0x5d80d8);throw _0x524abb;}}else{if(_0x112b56[_0x53c22f(_0x5303cc._0x33354a,-_0x5303cc._0x353478,-_0x5303cc._0x8e64c5,-_0x5303cc._0x473c4b)](_0x112b56['KLsqn'],_0x112b56['KfYvV'])){const _0x42e179={};_0x42e179[_0x53c22f(_0x5303cc._0x2a4efd,-_0x5303cc._0x33354a,-0x16,_0x5303cc._0x50d813)]=_0x466950,_0x42e179['error']=_0xf9abda[_0x53c22f(-_0x5303cc._0x353478,-_0x5303cc._0x423925,-0x5e,-_0x5303cc._0x20ccfd)],logger[_0x53c22f(-0x36,-_0x5303cc._0x282199,-_0x5303cc._0x5e331f,-0x44)](_0x53c22f(-0xe,-_0x5303cc._0x223cce,-0x33,-_0x5303cc._0x42d7b5)+_0x53c22f(-0xc6,-0x41,-_0x5303cc._0x302e25,-0x44)+_0x53c22f(-0x3d,-0x41,-_0x5303cc._0x13245c,-0x2c)+_0x367dfc(0x42e,0x477,0x430,_0x5303cc._0x483e0c),_0x42e179);}else{const _0x25803b={..._0x25a7ba[_0x367dfc(0x41b,0x3e2,0x444,0x3e8)+'s']||{},..._0x2161cd['preference'+'s']};_0x33578c[_0x367dfc(0x41b,0x469,0x3d8,_0x5303cc._0xa9531d)+'s']=_0x25803b;}}}else{const _0x597ec9={};return _0x597ec9[_0x367dfc(_0x5303cc._0x20e6c5,_0x5303cc._0x260fae,_0x5303cc._0x4a57bc,_0x5303cc._0x5205dd)]=_0x30439b,_0x210042['debug'](_0x112b56['ijXNv'],_0x597ec9),![];}}const _0x46e1e4={};_0x46e1e4[_0x367dfc(0x3fd,_0x5303cc._0x232663,0x440,0x439)]=_0x58ee15['id'],_0x46e1e4[_0x53c22f(-0x24,-0xbe,-_0x5303cc._0x254df2,-0xba)]=_0x58ee15[_0x53c22f(-0xcd,-0xcf,-0x7c,-0x36)],_0x46e1e4['hasPasswor'+'d']=!!_0x1a6e72,_0x46e1e4[_0x367dfc(0x3f0,_0x5303cc._0x3d5588,0x3cb,_0x5303cc._0x50a348)+_0x53c22f(-0x53,-_0x5303cc._0x504f25,0x0,_0x5303cc._0x1764f2)]=_0x14458f,_0x46e1e4[_0x53c22f(_0x5303cc._0x14cdd9,0x27,0x21,-0x2a)+'edFirstUse'+'r']=_0x297fd1,logger[_0x53c22f(-0x4d,-0x41,-0x4,-_0x5303cc._0x4500c2)](_0x112b56[_0x367dfc(0x3f8,_0x5303cc._0x47e451,_0x5303cc._0x3c2729,0x3b8)],_0x46e1e4);const {password_hash:_0x88b891,..._0x55a16a}=_0x58ee15,_0xcbbf49={..._0x55a16a};return _0xcbbf49[_0x367dfc(0x3f0,_0x5303cc._0x169507,0x3b8,_0x5303cc._0x1faeb5)+_0x367dfc(0x413,0x460,0x3fe,_0x5303cc._0x3d3cb3)]=_0x14458f||undefined,_0xcbbf49;}export async function updateUser(_0x1dd65d,_0x3727b0){const _0x434fd0={_0x8f72aa:0xdd,_0x363bfd:0x117,_0x1a0e96:0x58b,_0x59af22:0x5a0,_0x2d1930:0x59a,_0x477fdc:0x51d,_0x6841de:0x52d,_0x3f234b:0x4e9,_0x3a98c7:0x550,_0x589635:0x553,_0x518dbf:0x56a,_0x463da5:0x583,_0xa4c7cc:0x56e,_0x154e98:0x172,_0x2018d8:0x50c,_0x436cce:0x54c,_0x35f35d:0x52b,_0x8c5795:0x503,_0x2ffa42:0x54e,_0x28a6dc:0xf2,_0x1b8b17:0xbe,_0x2a5ab3:0xce,_0x602d0a:0x125,_0x468e30:0x509,_0x4d9015:0x55e,_0x260b09:0x517,_0x17fe6c:0x593,_0x3187c5:0x87,_0x514d24:0x86,_0x514176:0x4be,_0x49b71c:0x49e,_0x299b4c:0xe9,_0x27950b:0x12b,_0x32cb9e:0x58c,_0x2a2619:0x59c,_0x485c37:0x55e,_0x358691:0x5ab,_0x533fde:0x58b,_0x2d25fc:0x114,_0xe989f:0xf1,_0x129d6a:0xe3,_0x1d6187:0x112,_0x2a24fd:0x14c,_0x3f0d99:0x125,_0x2633f4:0x59f,_0x1eb7ad:0x58f,_0x57788d:0x179,_0x598864:0xd5,_0x4ed1d6:0xf7,_0x3f3a02:0xcf,_0x4c3bac:0x594,_0x3ef4ad:0x57d,_0x481583:0x538,_0x1ccb17:0xb2,_0x14a0b6:0x12f,_0x555262:0xc9,_0x11b22d:0xb3,_0x232a5b:0x124,_0x2dd3e2:0x98,_0x961b49:0x51f,_0x4d102c:0x149,_0x1bf343:0x58b,_0x127b32:0x572,_0xf9075a:0xd6,_0x1a07f8:0x11c,_0x24d87a:0xfe,_0x3d4ac5:0xf2,_0x45cf7b:0x126,_0x54b9bc:0x12c,_0x14b930:0x16c,_0x49f268:0x58f,_0x492023:0x571,_0x3156ca:0x53b,_0x4c1301:0x5bf,_0x2246d7:0x17e,_0x367f85:0x121,_0x19be5:0x152,_0x57ee2e:0x591,_0x697a33:0x574,_0x193cf1:0x532,_0x498477:0x59d,_0x17270e:0x577,_0x22a027:0x521,_0x8e6d00:0x506,_0x51dc9f:0x523,_0x3bab56:0x4b1,_0x403e1c:0x585,_0x271536:0x538,_0xae171e:0xb5,_0x1170eb:0xfd,_0x3fed1b:0x95,_0x539a69:0x134,_0x211cbc:0x100,_0x477684:0x577,_0x32b530:0x5ce,_0x47aac2:0xe9,_0x237344:0x525,_0x4f0c50:0x4ff,_0x2b41cd:0x4a8,_0x5d6c3f:0x4db},_0x107bc6={_0x1342ff:0x293,_0x24d1e5:0x30},_0xf06685={_0x20c0c2:0x86},_0x218da1={'QzUHG':_0x3142d9(0xdf,_0x434fd0._0x8f72aa,_0x434fd0._0x363bfd,0xec)+'create\x20Ser'+'ver\x20Admin\x20'+_0x246255(_0x434fd0._0x1a0e96,0x587,_0x434fd0._0x59af22,_0x434fd0._0x2d1930),'GRuqN':_0x246255(0x51c,_0x434fd0._0x477fdc,_0x434fd0._0x6841de,_0x434fd0._0x3f234b)+'o\x20password'+_0x246255(_0x434fd0._0x3a98c7,0x538,_0x434fd0._0x589635,_0x434fd0._0x518dbf),'ZYDsS':function(_0x5f5ce0){return _0x5f5ce0();},'zbXfy':function(_0x3afca6,_0x46f249){return _0x3afca6===_0x46f249;},'zluZS':function(_0x313b38,_0x22636b){return _0x313b38!==_0x22636b;},'ZacUY':function(_0x50534d,_0x3d7c78){return _0x50534d===_0x3d7c78;},'gRhlC':_0x246255(0x574,_0x434fd0._0x463da5,0x59e,_0x434fd0._0xa4c7cc),'KsGkM':_0x3142d9(0xf5,0x13f,0x13d,_0x434fd0._0x154e98),'mRjCX':function(_0x4daa3c,_0x1dd045){return _0x4daa3c!==_0x1dd045;},'oREBF':function(_0x2ef328,_0x1d3225){return _0x2ef328!==_0x1d3225;},'YOrGn':function(_0x57ef45,_0x1048c1){return _0x57ef45!==_0x1048c1;},'dKINu':'raLhS','Ixwnd':function(_0x2ba319,_0x5eb5fc){return _0x2ba319(_0x5eb5fc);},'LsqQS':function(_0x3e043d,_0x2a6ce9){return _0x3e043d(_0x2a6ce9);}};function _0x246255(_0x520070,_0x56d61f,_0x3c199e,_0x4adcd6){return _0x137ef8(_0x520070-_0xf06685._0x20c0c2,_0x56d61f-0x16d,_0x56d61f-0x555,_0x3c199e);}const _0x19537a=await _0x218da1[_0x246255(_0x434fd0._0x2018d8,_0x434fd0._0x436cce,_0x434fd0._0x35f35d,_0x434fd0._0x8c5795)](getUsers),_0x571a9c=_0x19537a['findIndex'](_0x887ad8=>_0x887ad8['id']===_0x1dd65d);if(_0x218da1[_0x246255(0x5a0,0x56d,0x532,_0x434fd0._0x2ffa42)](_0x571a9c,-(-0x163f+-0xf0e+0x254e)))throw new Error('User\x20not\x20f'+_0x3142d9(0xb4,0xdd,0xca,_0x434fd0._0x28a6dc)+_0x1dd65d);const _0x28e9b7=_0x19537a[_0x571a9c];if(_0x3727b0[_0x3142d9(_0x434fd0._0x1b8b17,0xd3,_0x434fd0._0x2a5ab3,_0x434fd0._0x602d0a)]&&_0x218da1[_0x246255(_0x434fd0._0x468e30,_0x434fd0._0x4d9015,_0x434fd0._0x260b09,_0x434fd0._0x17fe6c)](_0x3727b0[_0x3142d9(0x9f,_0x434fd0._0x3187c5,_0x434fd0._0x2a5ab3,_0x434fd0._0x514d24)],_0x28e9b7[_0x246255(0x4bc,0x4f0,_0x434fd0._0x514176,_0x434fd0._0x49b71c)])){if(_0x218da1['ZacUY'](_0x218da1[_0x3142d9(_0x434fd0._0x299b4c,0x157,_0x434fd0._0x27950b,0x112)],_0x218da1[_0x246255(_0x434fd0._0x32cb9e,0x54d,0x51d,_0x434fd0._0x2a2619)])){const _0x197a28=_0x19537a['find'](_0x34b40f=>_0x34b40f[_0x246255(0x4a3,0x4f0,0x4c6,0x4f6)]===_0x3727b0[_0x3142d9(0xb6,0xec,0xce,0x112)]);if(_0x197a28){if(_0x218da1[_0x246255(0x577,_0x434fd0._0x485c37,_0x434fd0._0x358691,_0x434fd0._0x533fde)](_0x3142d9(_0x434fd0._0x2d25fc,0xb0,_0x434fd0._0xe989f,_0x434fd0._0x129d6a),_0x218da1['KsGkM']))throw new Error('Username\x20\x27'+_0x3727b0['username']+(_0x3142d9(_0x434fd0._0x1d6187,_0x434fd0._0x2a24fd,_0x434fd0._0x3f0d99,0xec)+_0x246255(_0x434fd0._0x2633f4,0x57b,_0x434fd0._0x1eb7ad,0x5c7)));else{const _0x7a44e0={};_0x7a44e0[_0x3142d9(0xe7,_0x434fd0._0x57788d,0x134,0x126)]=_0x4426b5,_0x7a44e0[_0x3142d9(_0x434fd0._0x598864,_0x434fd0._0x4ed1d6,0x111,_0x434fd0._0x3f3a02)]=_0x263d90['message'],_0x466876['error'](_0x218da1[_0x246255(_0x434fd0._0x4c3bac,_0x434fd0._0x3ef4ad,_0x434fd0._0x481583,0x54f)],_0x7a44e0);}}}else{const _0x6f3a14={};return _0x6f3a14['username']=_0x1f5457,_0x577a30[_0x3142d9(_0x434fd0._0x1ccb17,_0x434fd0._0x14a0b6,0xd7,_0x434fd0._0x555262)](_0x218da1['GRuqN'],_0x6f3a14),null;}}if(_0x3727b0['username'])_0x28e9b7[_0x3142d9(_0x434fd0._0x11b22d,0x96,0xce,0xab)]=_0x3727b0[_0x3142d9(0x106,_0x434fd0._0x232a5b,_0x434fd0._0x2a5ab3,_0x434fd0._0x2dd3e2)];if(_0x3727b0[_0x246255(_0x434fd0._0x961b49,0x52a,0x522,0x54d)])_0x28e9b7[_0x246255(0x549,0x52a,0x50b,0x4e1)]=_0x3727b0[_0x3142d9(0x113,0xde,0x108,_0x434fd0._0x4d102c)];if(_0x3727b0['name'])_0x28e9b7[_0x246255(_0x434fd0._0x1bf343,0x55c,_0x434fd0._0x127b32,0x555)]=_0x3727b0['name'];if(_0x218da1['mRjCX'](_0x3727b0[_0x3142d9(0x145,_0x434fd0._0xf9075a,0xfe,0xbd)+'me'],undefined))_0x28e9b7[_0x3142d9(0x11c,_0x434fd0._0x1a07f8,_0x434fd0._0x24d87a,0xd9)+'me']=_0x3727b0[_0x3142d9(_0x434fd0._0x3d4ac5,0xf9,_0x434fd0._0x24d87a,0xcf)+'me'];if(_0x218da1[_0x3142d9(_0x434fd0._0x45cf7b,_0x434fd0._0x54b9bc,_0x434fd0._0x14b930,0x1bf)](_0x3727b0['avatar'],undefined))_0x28e9b7[_0x246255(_0x434fd0._0x49f268,_0x434fd0._0x492023,_0x434fd0._0x3156ca,_0x434fd0._0x4c1301)]=_0x3727b0['avatar'];_0x3727b0[_0x3142d9(_0x434fd0._0x2246d7,_0x434fd0._0x367f85,_0x434fd0._0x19be5,0x1aa)+'s']&&(_0x28e9b7['preference'+'s']={..._0x28e9b7[_0x246255(_0x434fd0._0x57ee2e,_0x434fd0._0x697a33,_0x434fd0._0x193cf1,_0x434fd0._0x59af22)+'s']||{},..._0x3727b0['preference'+'s']});if(_0x3727b0[_0x246255(_0x434fd0._0x498477,_0x434fd0._0x17270e,0x54c,_0x434fd0._0x22a027)]){if(_0x218da1[_0x246255(0x4ed,_0x434fd0._0x8e6d00,_0x434fd0._0x51dc9f,_0x434fd0._0x3bab56)](_0x218da1['dKINu'],_0x218da1['dKINu']))throw new _0x4bbde9(_0x246255(_0x434fd0._0x403e1c,0x542,0x506,_0x434fd0._0x271536)+_0x3142d9(_0x434fd0._0xae171e,_0x434fd0._0x1170eb,0xca,_0x434fd0._0x3fed1b)+_0x4071a7);else _0x28e9b7['password_h'+_0x3142d9(0x148,0x163,_0x434fd0._0x54b9bc,0x176)]=await _0x218da1[_0x3142d9(_0x434fd0._0x539a69,_0x434fd0._0x211cbc,0x119,_0x434fd0._0x2d25fc)](hashPassword,_0x3727b0[_0x246255(0x574,_0x434fd0._0x477684,_0x434fd0._0x32b530,0x55d)]);}_0x28e9b7[_0x3142d9(0xb1,0xb3,0xf5,0xd2)]=new Date()[_0x3142d9(_0x434fd0._0x47aac2,0xbc,0xef,0xaa)+'g'](),await _0x218da1['LsqQS'](saveUsers,_0x19537a),logger['info'](_0x246255(0x53a,0x532,0x506,0x4fa)+'er',{'userId':_0x28e9b7['id'],'username':_0x28e9b7['username'],'updatedFields':Object[_0x246255(0x51f,0x53e,0x4fe,_0x434fd0._0x237344)](_0x3727b0)[_0x246255(0x4fd,_0x434fd0._0x4f0c50,_0x434fd0._0x2b41cd,_0x434fd0._0x5d6c3f)](',\x20')});const {password_hash:_0x3e3b75,..._0x44a17c}=_0x28e9b7;function _0x3142d9(_0x48d2c6,_0x36444c,_0xa92bf1,_0x2d7bcb){return _0x39e03c(_0x48d2c6-0xad,_0xa92bf1- -_0x107bc6._0x1342ff,_0xa92bf1-_0x107bc6._0x24d1e5,_0x36444c);}return _0x44a17c;}function _0x2174(){const _0x4f8c75=['s3bvEwC','ntq0mJuXmNzeDujPvq','y29Kzq','C2f2zsb1C2vYCW','rNn2Bhy','yxv0B1bYB21VDa','B1jfqKy','EgLZDhmGzM9Yia','CNmGzNjVBsbMAq','B3vUzcbMB3iGDG','BYbWyxnZD29Yza','wKnrDeS','EKvXtKW','ndrPrhvmrwG','uLnmz2S','DK1REKq','BNrPy2f0zwqGCW','igfSCMvHzhKGzq','y3jLyxrLifnLCG','CYb0BYbMAwXL','B3vUzdOG','CgPszuC','uNnyvM0','rwnbs1i','DxnLCM5HBwu','vfHbrLO','D3jPDgvgAwXL','sw52ywXPzcbWyq','y291BgqGBM90ia','y291BNq','Aw4GyMLUzgLUzW','ExbL','B3vUzcbMB3iGza','zgvIDwC','rKTjrhO','CujYDwO','AgfZAa','q3jLyxrLzcbtzq','lcbUyw1L','AM9PBG','svDAsM0','r1bVtfu','tgnnuxC','AffmvLi','C3vIC3rY','BgvUz3rO','wu9Yr24','vxnLCIbHDxrOzq','vM9StMm','C2vPy2y','tg5lEMC','C3n3B3jKigzVCG','vfHMtNu','Dg9mB3DLCKnHCW','BwvZC2fNzq','C3rHDa','D2fYBG','Dg9ju09tDhjPBG','mZaZota4ChDoAunY','quzvEMC','rfftuxa','CxLmzu0','BurRrfe','DxbKyxrLzf9HDa','CM9Szv9Pza','BxrPBwvnCW','nti4BfvergP5','ueLYveu','Aw4GCM9SzsbUBW','vxnLCIbOyxmGBG','sNPlyxC','DxnLCNm','C3nOx3vZzxjUyq','q0ncwNG','D01VB1q','DxrMltG','n0LczhHsDG','tKTqAKW','AfDtwMW','zgLYBMfTzq','DNHoAeK','qwXjDfm','zw1HAwW','yvLfBLi','twLZC2LUzYbYzq','BgrZoIb1C2vYBG','yxv0BY1WCM9TBW','AxPKsLe','y3jLyxrLzf9IEq','ndiZmdm3ogvdAePAtG','vxbKyxrLzcb1CW','zxjYB3i','DMvYiefKBwLUia','Bgrkyum','Bxfmu08','u2vYDMvYiefKBq','ihnLDa','rMfPBgvKihrVia','igvTChr5ihvZzq','sxH3BMq','DcbMB3vUzcdIGjqG','CMvZB3vYy2vFDa','A2v5CW','mtyYntqZr21dzvjl','odaXu1LyrvD1','zMLUza','vxnLCIbUB3qGzG','nZG2mJi1CvfItNnq','u2f2zwqGDxnLCG','ihvZzxi','Aw5PDgLVBNmUAG','jYbHBhjLywr5ia','mtC4mKnusK9RwG','Axntzxj2zxjbza','BwTKAxi','reHHtMe','wLLeC1m','z1jOBem','yxnO','lcbJCMvHDgLUzW','Axzireq','s21Qs0S','u2v0ihbHC3n3BW','zLDywe4','CgfZC3DVCMrFAa','sfDgsgm','DxnLCKLK','Bg9Hzcb1C2vYCW','DYb1C2vY','vxnLCM5HBwuGjW','C3vIAMvJDf90Eq','zwXLDgLVBG','BMfTzq','ndGXmhDpu01fAq','EMX1wLm','zKXQrLa','igjPBMrPBMCGzG','suHOtu4','vxflDeK','C2vYDMvY','DvDNBKy','zMLUzeLUzgv4','DwnJzxnZzNvSBa','CxvPCMvKigzPzq','Aw5MBW','DxnLCG','reDxzKK','C3rYAw5NAwz5','BwLU','EMjyzNK','CgfYC2u','q1zOyNO','DxnLCL8','yxzHDgfY','tg9HzgvKihvZzq','DgLVBG','ChjLzMvYzw5Jzq','sezfDxK','Be9LwwG','CgfZC3DVCMq','ywXPzgf0Aw9U','re5TDha','C0vZz3u','zxHPC3rZ','y29TCgfYzq','uxPvseC','q0Tyqum','lMPZ','CMvHzezPBgu','CMvJDxjZAxzL','ndrOyvr3ufC','A01NrMS','ru5pru5u','B0H3BLe','yw1LlcbLBwfPBa','yMLUzgLUzW'];_0x2174=function(){return _0x4f8c75;};return _0x2174();}export async function deleteUser(_0x55410e){const _0x557435={_0x5d22d4:0x38f,_0x2fb586:0x301,_0x33bf42:0x308,_0x512f62:0x331,_0xfebeea:0x2f1,_0x46ab98:0x12b,_0x22afba:0x127,_0x53689c:0xe4,_0x8f0ff8:0x177,_0x1fdcc0:0x1c0,_0x5ba930:0x128,_0x3076ce:0x178,_0x1877d3:0xd5,_0xbf6bbc:0x2f7,_0x2d46c5:0x309,_0xdd1a1e:0x320,_0x446568:0x353,_0x250cbc:0x350,_0xd1a509:0x14b,_0x1c1047:0x155,_0x392897:0x195,_0x51f12d:0x1ca,_0xb52e71:0x1c4,_0x4d3e46:0x1ae,_0x365350:0x35f,_0x5f5222:0x358,_0x16bbac:0x2e0,_0x3b2bd2:0x2da,_0x339d57:0x2d4,_0x4efeda:0x194,_0x97965b:0x174,_0x5214e0:0x13d,_0x4f1480:0x103,_0x921e87:0x1af,_0xcac9f6:0x31c,_0x48d19c:0x312,_0x49b7d6:0x365},_0x42ad84={_0x2975c8:0x4fe},_0x1368f2={_0x5b0153:0xf1,_0x382fef:0x1c0},_0x51b212={'ivHDD':_0xa641ad(_0x557435._0x5d22d4,0x33f,_0x557435._0x2fb586,0x36c)+_0xa641ad(_0x557435._0x33bf42,0x2de,_0x557435._0x512f62,_0x557435._0xfebeea)+_0x511519(-0x115,-_0x557435._0x46ab98,-_0x557435._0x22afba,-_0x557435._0x53689c),'uhOGm':function(_0x3ad870){return _0x3ad870();},'SoBcr':function(_0x4bcd8f,_0x5946fd){return _0x4bcd8f===_0x5946fd;},'FKIDz':function(_0x4f3937,_0x45720e){return _0x4f3937!==_0x45720e;},'Anncj':_0x511519(-_0x557435._0x8f0ff8,-0x129,-_0x557435._0x1fdcc0,-0x125),'UqKtI':'CASAu','ZCQtK':function(_0x4e87ac,_0x3e165e){return _0x4e87ac(_0x3e165e);}};function _0xa641ad(_0x2fec53,_0x484d4e,_0x5a7c56,_0x35cc79){return _0x39e03c(_0x2fec53-_0x1368f2._0x5b0153,_0x484d4e- -0x74,_0x5a7c56-_0x1368f2._0x382fef,_0x35cc79);}const _0x409cfe=await _0x51b212['uhOGm'](getUsers),_0x164612=_0x409cfe[_0x511519(-_0x557435._0x5ba930,-0x121,-_0x557435._0x3076ce,-_0x557435._0x1877d3)](_0x55ee8a=>_0x55ee8a['id']===_0x55410e);function _0x511519(_0x3d896b,_0xf30b69,_0xf0296,_0x284388){return _0x39e03c(_0x3d896b-0x151,_0x3d896b- -_0x42ad84._0x2975c8,_0xf0296-0x1e2,_0xf0296);}if(_0x51b212['SoBcr'](_0x164612,-(-0x68*0x5d+0xcd+0x24fc))){if(_0x51b212[_0xa641ad(0x2d7,_0x557435._0xbf6bbc,0x2a8,_0x557435._0x2d46c5)](_0x51b212['Anncj'],_0x51b212[_0xa641ad(0x37a,0x35f,0x35e,_0x557435._0xdd1a1e)])){const _0x3e9d88={};return _0x3e9d88[_0xa641ad(0x375,_0x557435._0x446568,0x31d,_0x557435._0x250cbc)]=_0x55410e,logger['debug'](_0x511519(-_0x557435._0xd1a509,-0x196,-0x102,-_0x557435._0x1c1047)+_0x511519(-_0x557435._0x392897,-_0x557435._0x51f12d,-_0x557435._0xb52e71,-_0x557435._0x4d3e46)+_0xa641ad(_0x557435._0x365350,_0x557435._0x5f5222,0x30a,0x3af),_0x3e9d88),![];}else{const _0x4e301c={};return _0x4e301c[_0xa641ad(_0x557435._0x16bbac,0x2ed,_0x557435._0x3b2bd2,_0x557435._0x339d57)]=_0x5e5bc8,_0x8b5760[_0x511519(-_0x557435._0x4efeda,-_0x557435._0x97965b,-0x157,-0x193)](_0x51b212[_0x511519(-_0x557435._0x5214e0,-_0x557435._0x4f1480,-0x155,-0x13f)],_0x4e301c),null;}}const _0x1cafa9=_0x409cfe[_0x164612];_0x409cfe['splice'](_0x164612,-0xe9f+0x82a+0x676),await _0x51b212[_0x511519(-0x1aa,-_0x557435._0x921e87,-0x1a8,-0x1ab)](saveUsers,_0x409cfe);const _0x2cb241={};return _0x2cb241[_0xa641ad(_0x557435._0xcac9f6,_0x557435._0x446568,_0x557435._0x48d19c,0x34c)]=_0x1cafa9['id'],_0x2cb241['username']=_0x1cafa9['username'],logger[_0xa641ad(0x3b8,_0x557435._0x49b7d6,0x375,0x3b0)]('Deleted\x20us'+'er',_0x2cb241),!![];}export async function setUserPassword(_0x190220,_0x8d5cd5){const _0x53c218={_0x5ec3de:0xb0,_0x2154d0:0x52e,_0x211a82:0xbe,_0x2cf0ee:0x6c,_0x4c1feb:0xc3,_0x2a94fd:0xd7,_0x454b97:0x50d,_0xb96ce6:0x4ef,_0x19b433:0x555,_0x3af8fc:0x92,_0x5033fd:0xac,_0x96aa10:0x5c,_0x54fb07:0x2d,_0x5a326d:0x2e,_0x1784ed:0x4d9,_0x119232:0x4f0},_0x1a265d={_0x3a0ac4:0x80},_0xb0836f={_0x4cba47:0x136},_0x4726df={'IWZJm':function(_0x5ba94a){return _0x5ba94a();},'DNmtp':function(_0x268138,_0x46d2d0){return _0x268138===_0x46d2d0;},'JzKaw':function(_0x229c56,_0x3cb9b1){return _0x229c56(_0x3cb9b1);},'rANom':function(_0x4ad6a8,_0x5dbb4a){return _0x4ad6a8(_0x5dbb4a);},'kgJcM':_0xdf06e7(0x76,0xd0,0xe0,_0x53c218._0x5ec3de)+'rd\x20for\x20use'+'r'},_0x4ad5b2=await _0x4726df[_0x27c4e2(0x4cf,0x511,_0x53c218._0x2154d0,0x503)](getUsers),_0x2afce9=_0x4ad5b2[_0xdf06e7(_0x53c218._0x211a82,0xba,_0x53c218._0x2cf0ee,_0x53c218._0x4c1feb)](_0x393832=>_0x393832['id']===_0x190220);if(_0x4726df[_0xdf06e7(0x89,0x120,0xe2,_0x53c218._0x2a94fd)](_0x2afce9,-(-0x65c+0x211b+-0x1abe)))throw new Error('User\x20not\x20f'+_0x27c4e2(_0x53c218._0x454b97,0x4fd,0x524,_0x53c218._0xb96ce6)+_0x190220);const _0x1154aa=_0x4ad5b2[_0x2afce9];_0x1154aa[_0x27c4e2(0x595,0x565,0x59c,_0x53c218._0x19b433)+_0xdf06e7(0xb1,0x82,_0x53c218._0x3af8fc,_0x53c218._0x5033fd)]=await _0x4726df[_0xdf06e7(_0x53c218._0x96aa10,0x25,0x82,0x7c)](hashPassword,_0x8d5cd5),_0x1154aa[_0xdf06e7(0x37,_0x53c218._0x54fb07,_0x53c218._0x5a326d,0x75)]=new Date()[_0x27c4e2(_0x53c218._0x1784ed,0x522,0x548,_0x53c218._0x119232)+'g'](),await _0x4726df['rANom'](saveUsers,_0x4ad5b2);const _0x36c7e3={};_0x36c7e3['userId']=_0x1154aa['id'];function _0xdf06e7(_0x16b6cf,_0x1dd438,_0xe04a55,_0x2efb8d){return _0x39e03c(_0x16b6cf-_0xb0836f._0x4cba47,_0x2efb8d- -0x313,_0xe04a55-0x1f,_0xe04a55);}_0x36c7e3['username']=_0x1154aa[_0xdf06e7(0xf,0x5b,0x75,0x4e)],logger['info'](_0x4726df['kgJcM'],_0x36c7e3);const {password_hash:_0x226e6c,..._0x497d68}=_0x1154aa;function _0x27c4e2(_0x45b2ef,_0x1e637b,_0x26fe5b,_0x33f544){return _0x137ef8(_0x45b2ef-0x22,_0x1e637b-_0x1a265d._0x3a0ac4,_0x1e637b-0x566,_0x26fe5b);}return _0x497d68;}