@profoundlogic/coderflow-server 0.4.7 → 0.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/README.md +3 -1
- package/dist/base-image/Dockerfile +5 -3
- package/dist/base-image/entrypoint.sh +76 -2
- package/dist/coder-server.js +1 -1
- package/dist/config.js +1 -1
- package/dist/lib/agent-keepalive.js +1 -1
- package/dist/lib/agent-models.js +1 -1
- package/dist/lib/api-keys.js +1 -1
- package/dist/lib/apiKeys.js +1 -1
- package/dist/lib/app-server-ports.js +1 -1
- package/dist/lib/auto-judge.js +1 -1
- package/dist/lib/automation-service.js +1 -1
- package/dist/lib/basic-auth.js +1 -1
- package/dist/lib/bindings.js +1 -1
- package/dist/lib/build-history.js +1 -1
- package/dist/lib/build-output-service.js +1 -1
- package/dist/lib/build-scheduler.js +1 -1
- package/dist/lib/build-service.js +1 -1
- package/dist/lib/ca-certificates.js +1 -1
- package/dist/lib/claude-oauth-refresh.js +1 -1
- package/dist/lib/cli/build.js +1 -1
- package/dist/lib/cli/config-command.js +1 -1
- package/dist/lib/cli/config.js +1 -1
- package/dist/lib/cli/create-user.js +1 -1
- package/dist/lib/cli/init.js +1 -1
- package/dist/lib/cli/jira.js +1 -1
- package/dist/lib/cli/license.js +1 -1
- package/dist/lib/cli/migrate-rbac.js +1 -0
- package/dist/lib/cli/server-manager.js +1 -1
- package/dist/lib/config-migration.js +1 -1
- package/dist/lib/container-credential-sync.js +1 -1
- package/dist/lib/container-tokens.js +1 -1
- package/dist/lib/data-dir.js +1 -1
- package/dist/lib/deployment-history.js +1 -1
- package/dist/lib/deployment-service.js +1 -1
- package/dist/lib/docker-utils.js +1 -1
- package/dist/lib/email.js +1 -1
- package/dist/lib/emailTemplates.js +1 -1
- package/dist/lib/entitlement.js +1 -1
- package/dist/lib/external-connections.js +1 -0
- package/dist/lib/fetch-utils.js +1 -1
- package/dist/lib/git-commit-details-route.js +1 -1
- package/dist/lib/git-history-diff-guardrails.js +1 -1
- package/dist/lib/git-provider-service.js +1 -1
- package/dist/lib/git-provider-setup/github-setup-handler.js +1 -1
- package/dist/lib/git-provider-setup/index.js +1 -1
- package/dist/lib/git-provider-setup/setup-factory.js +1 -1
- package/dist/lib/git-provider-setup/setup-interface.js +1 -1
- package/dist/lib/git-providers/azure-devops-provider.js +1 -1
- package/dist/lib/git-providers/github-app-provider.js +1 -1
- package/dist/lib/git-providers/index.js +1 -1
- package/dist/lib/git-providers/provider-factory.js +1 -1
- package/dist/lib/git-providers/provider-interface.js +1 -1
- package/dist/lib/github-urls.js +1 -1
- package/dist/lib/group-objective-linking.js +1 -1
- package/dist/lib/jira-client.js +1 -1
- package/dist/lib/judge-blinding.js +1 -1
- package/dist/lib/logger.js +1 -1
- package/dist/lib/migration-to-scoped-rbac.js +1 -1
- package/dist/lib/model-fetcher.js +1 -1
- package/dist/lib/notifications.js +1 -1
- package/dist/lib/objective-context.js +1 -1
- package/dist/lib/oidc-auth.js +1 -1
- package/dist/lib/oidc-device-flow.js +1 -1
- package/dist/lib/passwordTokens.js +1 -1
- package/dist/lib/permission-resolver.js +1 -1
- package/dist/lib/pin-cascade.js +1 -1
- package/dist/lib/provider-accounts.js +1 -1
- package/dist/lib/provider-oauth.js +1 -1
- package/dist/lib/provider-profile.js +1 -1
- package/dist/lib/provider-token-refresh.js +1 -1
- package/dist/lib/rbac-user-state.js +1 -0
- package/dist/lib/request-url.js +1 -1
- package/dist/lib/rewind.js +1 -1
- package/dist/lib/role-definitions.js +1 -1
- package/dist/lib/roles.js +1 -1
- package/dist/lib/scoped-rbac-migration-runner.js +1 -0
- package/dist/lib/secrets.js +1 -1
- package/dist/lib/setup-repo-git-auth.js +1 -1
- package/dist/lib/state-capture.js +1 -1
- package/dist/lib/static-files.js +1 -1
- package/dist/lib/task-name-format.js +1 -1
- package/dist/lib/task-name-generator.js +1 -1
- package/dist/lib/task-source-metadata.js +1 -1
- package/dist/lib/teams.js +1 -1
- package/dist/lib/user-git-oauth.js +1 -1
- package/dist/lib/user-git-tokens.js +1 -1
- package/dist/lib/users.js +1 -1
- package/dist/middleware/requireAuth.js +1 -1
- package/dist/middleware/requireInit.js +1 -1
- package/dist/middleware/requirePermission.js +1 -1
- package/dist/package.json +2 -1
- package/dist/playwright.config.js +1 -1
- package/dist/routes/apiKeys.js +1 -1
- package/dist/routes/auth-oidc.js +1 -1
- package/dist/routes/auth.js +1 -1
- package/dist/routes/automations.js +1 -1
- package/dist/routes/bindings.js +1 -1
- package/dist/routes/build.js +1 -1
- package/dist/routes/containers.js +1 -1
- package/dist/routes/deploy-task.js +1 -1
- package/dist/routes/environment-management.js +1 -1
- package/dist/routes/environments.js +1 -1
- package/dist/routes/external-skills.js +1 -1
- package/dist/routes/git-credentials.js +1 -1
- package/dist/routes/git-oauth.js +1 -1
- package/dist/routes/git-provider-setup.js +1 -1
- package/dist/routes/health.js +1 -1
- package/dist/routes/jira.js +1 -1
- package/dist/routes/objective-management.js +1 -1
- package/dist/routes/password.js +1 -1
- package/dist/routes/prompt.js +1 -1
- package/dist/routes/provider-auth.js +1 -1
- package/dist/routes/qa.js +1 -1
- package/dist/routes/roles.js +1 -1
- package/dist/routes/settings.js +1 -1
- package/dist/routes/skill-management.js +1 -1
- package/dist/routes/skills.js +1 -1
- package/dist/routes/tasks.js +1 -1
- package/dist/routes/teams.js +1 -1
- package/dist/routes/templates.js +1 -1
- package/dist/routes/test-task.js +1 -1
- package/dist/routes/test.js +1 -1
- package/dist/routes/users.js +1 -1
- package/dist/routes/visualizations.js +1 -1
- package/dist/scripts/create-user.js +1 -1
- package/dist/scripts/migrate-config-to-data-dir.js +1 -1
- package/dist/scripts/migrate-to-scoped-rbac.js +1 -1
- package/dist/start.js +1 -1
- package/dist/web-ui/public/activity-detail-modal.js +1 -1
- package/dist/web-ui/public/activity-feed.js +1 -1
- package/dist/web-ui/public/activity-formatters.js +1 -1
- package/dist/web-ui/public/agent-event-parser.js +1 -1
- package/dist/web-ui/public/app.js +1 -1
- package/dist/web-ui/public/approve-dialog.js +1 -1
- package/dist/web-ui/public/automation-links.js +1 -1
- package/dist/web-ui/public/automation-schedule.js +1 -1
- package/dist/web-ui/public/comments-widget.js +1 -1
- package/dist/web-ui/public/diff-utils.js +1 -1
- package/dist/web-ui/public/docs/admin/environments.md +75 -0
- package/dist/web-ui/public/docs/admin/installation.md +9 -1
- package/dist/web-ui/public/environments.css +356 -0
- package/dist/web-ui/public/environments.html +316 -0
- package/dist/web-ui/public/environments.js +1 -1
- package/dist/web-ui/public/feedback-widget.js +1 -1
- package/dist/web-ui/public/git-history-lazy-utils.js +1 -1
- package/dist/web-ui/public/git-history.js +1 -1
- package/dist/web-ui/public/git-status.js +1 -1
- package/dist/web-ui/public/index.js +1 -1
- package/dist/web-ui/public/login.js +1 -1
- package/dist/web-ui/public/markdown-editor.js +1 -1
- package/dist/web-ui/public/markdown-file-editor.js +1 -1
- package/dist/web-ui/public/modal-maximize.js +1 -1
- package/dist/web-ui/public/notifications.js +1 -1
- package/dist/web-ui/public/pr-dialog.js +1 -1
- package/dist/web-ui/public/roles.js +1 -1
- package/dist/web-ui/public/server-health.js +1 -1
- package/dist/web-ui/public/settings.html +1 -2
- package/dist/web-ui/public/settings.js +1 -1
- package/dist/web-ui/public/setup-password.js +1 -1
- package/dist/web-ui/public/skills.js +1 -1
- package/dist/web-ui/public/sse-client.js +1 -1
- package/dist/web-ui/public/sse-shared-worker.js +1 -1
- package/dist/web-ui/public/styles.css +7 -7
- package/dist/web-ui/public/task.js +1 -1
- package/dist/web-ui/public/teams.js +1 -1
- package/dist/web-ui/public/terminal.js +1 -1
- package/dist/web-ui/public/theme.js +1 -1
- package/dist/web-ui/public/users.js +1 -1
- package/dist/web-ui/public/variant-grouping.js +1 -1
- package/package.json +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x4fec86,_0xe128a5){const _0x37ff04={_0x399055:0x55f,_0x8bc45b:0x521,_0x5a0aa0:0x4f4,_0xf9c78:0x427,_0x209471:0x26c,_0x708db2:0x286,_0x5ae98c:0x2a3,_0x12a45d:0x2b2,_0x17cc9d:0x2ad,_0x2973eb:0x4e9,_0x5e5bb6:0x44e,_0x5c91d0:0x436,_0x323b98:0x48c,_0x13e881:0x474,_0x349128:0x4e1,_0x434ed9:0x4e0,_0x3950b7:0x52c,_0x22234b:0x49b,_0xbb03d9:0x3e4},_0x4f0ada={_0x359614:0x273};function _0x40e759(_0x2a0ad6,_0x211860,_0x33055f,_0xfef755){return _0x1b9c(_0xfef755-_0x4f0ada._0x359614,_0x2a0ad6);}const _0x562a5d=_0x4fec86();function _0x2a6b11(_0x8b3555,_0x552aee,_0x51c332,_0x1d71a2){return _0x1b9c(_0x51c332-0x24,_0x1d71a2);}while(!![]){try{const _0x3b2d0e=parseInt(_0x40e759(0x494,_0x37ff04._0x399055,_0x37ff04._0x8bc45b,_0x37ff04._0x5a0aa0))/(0xabd+-0x2619+-0x1*-0x1b5d)+parseInt(_0x40e759(0x474,0x3e2,_0x37ff04._0xf9c78,0x43e))/(-0x2f*0xc1+0xc3b*-0x3+0x4822)+-parseInt(_0x2a6b11(_0x37ff04._0x209471,0x26b,_0x37ff04._0x708db2,_0x37ff04._0x5ae98c))/(-0x649*0x1+-0x4f8+-0x1c*-0x67)*(parseInt(_0x2a6b11(_0x37ff04._0x12a45d,0x26e,_0x37ff04._0x17cc9d,0x27c))/(-0xd79*0x1+0x1073*0x2+-0x1369))+-parseInt(_0x40e759(0x439,_0x37ff04._0x2973eb,_0x37ff04._0x5e5bb6,0x481))/(-0x607*-0x5+0x1f*-0x7+-0x1*0x1d45)+-parseInt(_0x40e759(_0x37ff04._0x5c91d0,0x42a,0x4a2,_0x37ff04._0x323b98))/(0x13*-0x1bd+0x1842+0x1*0x8cb)*(-parseInt(_0x40e759(0x4dd,_0x37ff04._0x13e881,_0x37ff04._0x349128,_0x37ff04._0x434ed9))/(0xd6f+-0x14*-0x191+0x2cbc*-0x1))+parseInt(_0x40e759(_0x37ff04._0x3950b7,0x497,_0x37ff04._0x22234b,0x4f6))/(-0x1b32+-0x1*0xe96+-0xc*-0x37c)*(-parseInt(_0x40e759(0x4aa,0x4f4,0x455,0x4a1))/(0x2707+-0x17ea+-0x304*0x5))+parseInt(_0x40e759(_0x37ff04._0xbb03d9,0x41a,0x3fb,0x446))/(0x1*0xd1f+0x1bd3+-0x28e8);if(_0x3b2d0e===_0xe128a5)break;else _0x562a5d['push'](_0x562a5d['shift']());}catch(_0x50b8b9){_0x562a5d['push'](_0x562a5d['shift']());}}}(_0x1068,0x76dc5+-0x68b3e+0x4cac4));import{promises as _0x36d0ef}from'fs';import{existsSync}from'fs';import _0x3b8c93 from'path';import _0x41d5b4 from'crypto';import{DATA_DIR}from'./data-dir.js';import{logger as _0x44bbb3}from'./logger.js';function _0x54bc06(_0x55cff8,_0x4ef3e4,_0x9b50ac,_0x18772f){const _0x106fcf={_0x47fe01:0x14b};return _0x1b9c(_0x4ef3e4-_0x106fcf._0x47fe01,_0x18772f);}const TOKENS_FILE='user-git-t'+_0x435907(-0x6d,-0x8,-0x66,-0x3e),ENCRYPTION_KEY_FILE='.git-oauth'+'-key',ALGORITHM=_0x435907(0x7,0x38,-0x27,-0x35)+'m',KEY_LENGTH=0xace+-0xdc0+0x83*0x6,IV_LENGTH=0x2c8+-0x1*-0x1ffb+-0x22b3,AUTH_TAG_LENGTH=-0xba+-0x14c9+0x1593;let encryptionKeyCache=null;async function getEncryptionKey(_0x1f1967={}){const _0x556d03={_0x165375:0x27e,_0x25e9ae:0xa4,_0x4f9654:0xa5,_0x504f1f:0x5d,_0x443fbc:0x71,_0x192bd6:0xab,_0x22e351:0x51,_0x3fe829:0x12,_0xcfbe6e:0x21,_0x58ec25:0x35,_0x1df5c8:0x32,_0x4f7f68:0x2b,_0x257baa:0x11,_0x1f02a5:0x95,_0x5750dd:0x337,_0x57ccb6:0x2ea,_0xffb8fe:0x277,_0x3df5f1:0x26d,_0x5af357:0x208,_0x504860:0x38,_0x3ab253:0x47,_0x47eb24:0xc,_0x176abf:0x32c,_0xc672a8:0x2b6,_0x5cf573:0x2aa,_0x55786f:0x2fc,_0x1750a6:0x56,_0x35444a:0x7d,_0x4f498f:0x2fb,_0x151dce:0x33a,_0x39dc4c:0x2d9,_0x518e22:0x2,_0x144b35:0x313,_0x324dd8:0x31a,_0x222130:0x2b4,_0x4cb28a:0x2c1,_0x412c97:0x83,_0x3bb434:0xdc,_0x6ca36e:0xac,_0x1b65b8:0x274,_0x72451d:0x2e0,_0x230e36:0x28d,_0x32dcba:0x31e,_0x51cef0:0x2a7,_0x13e739:0x310,_0x2042d3:0x30,_0x2de89e:0x30,_0x392a46:0x2c8,_0x22dcf7:0x2ab,_0x5311f9:0x2e5,_0x4700b8:0x11,_0x431d46:0x6,_0x5a96cf:0x251,_0xc4e46e:0x26a,_0x73a19b:0x4d,_0x2305c3:0xa9,_0x226c7e:0x5b,_0x1c475a:0xb,_0x34d05d:0x52,_0x3c805e:0xae,_0x353cb8:0x30e,_0x291278:0x2db,_0x3fdc64:0x25f,_0x3bfefb:0x28b,_0xd02b4f:0x244,_0x5b6c29:0x6a,_0x290859:0x25c,_0x230973:0x2b,_0x554dab:0x8f,_0x3e94e6:0x3c,_0x2950ee:0x250,_0x1cb34b:0x24a,_0x4ffef0:0x24c,_0x2d31da:0x15,_0x2656fd:0x46,_0x1954d0:0x2,_0x1bf878:0x6f,_0x34bce6:0x5d,_0x1ae8bb:0xc2,_0x17715d:0x80,_0x301eea:0x80,_0xa84072:0xb4,_0x26ca0b:0x2b5,_0x2c68d8:0x26f,_0x4091f9:0x2dd,_0x1cce71:0x2cd,_0x396822:0x29,_0xeb678a:0x218,_0xa7b0f8:0x22f,_0x99c16b:0x271,_0x1d0059:0x26f,_0x2cbfac:0x2ed,_0x4be229:0x2b7,_0x534137:0x2b5,_0x1121dd:0x2f7,_0x45b0a:0x294,_0x11079b:0x2b2,_0xb31c61:0x42,_0x309139:0x57,_0x38e172:0x276,_0x313739:0x2c4,_0x44e4f5:0x290,_0x3abb9a:0x292,_0x3a102c:0x68,_0x242d66:0x7a,_0x57cd12:0x2f2,_0x407b32:0x2a3,_0x8dfe34:0x28c,_0x4de6a1:0x71,_0x1195ae:0x11,_0x89b66c:0x24,_0x7be6c:0x64,_0x9a93b3:0x18,_0x42eb7c:0x62,_0x54ed18:0x2c3,_0x2a4d3a:0x25f,_0x1a3284:0x2b0,_0x53ee15:0x2ed,_0xe524f6:0x29e,_0x5d7c6c:0x288,_0x55c1ca:0x242,_0x3289b0:0x2e7,_0x4d9b1a:0x314,_0x2299ab:0x2e4,_0x125a87:0x252,_0x43b119:0x28d,_0x5376db:0x95,_0x2d932f:0x22,_0x5f208f:0x289,_0xb3d8ca:0x20d,_0x3ef6bb:0x221,_0x297d34:0x277,_0x3af1cf:0x2d9,_0x3cfdc5:0x1a,_0x59c9f5:0x7f,_0x3968db:0x79,_0x592db2:0x4,_0x259257:0x332,_0x24b63d:0x28f,_0x2b34c8:0x2f8},_0x3d0d57={_0x44fb41:0x129},_0x19caa4={_0x27535d:0xb7},_0x2ed6a6={};_0x2ed6a6[_0x4afbd7(0x261,0x2d8,0x2c4,_0x556d03._0x165375)]=_0x505871(-0x78,-0xb4,-_0x556d03._0x25e9ae,-_0x556d03._0x4f9654),_0x2ed6a6[_0x505871(-_0x556d03._0x504f1f,-_0x556d03._0x443fbc,-_0x556d03._0x192bd6,-0x2)]=_0x505871(-_0x556d03._0x22e351,_0x556d03._0x3fe829,-0x87,-_0x556d03._0xcfbe6e),_0x2ed6a6['XVGGG']=function(_0x498e9a,_0x2d323b){return _0x498e9a*_0x2d323b;},_0x2ed6a6[_0x505871(-0x1,-0x5a,_0x556d03._0x58ec25,-0x1d)]=function(_0x135c4b,_0x43c91f){return _0x135c4b<=_0x43c91f;},_0x2ed6a6[_0x505871(0xb,_0x556d03._0x1df5c8,-_0x556d03._0x4f7f68,_0x556d03._0x257baa)]=_0x505871(-0x69,-0x94,-0x83,-_0x556d03._0x1f02a5),_0x2ed6a6[_0x505871(-0x41,-0x78,_0x556d03._0x3fe829,-0x8c)]=_0x4afbd7(0x2c2,_0x556d03._0x5750dd,_0x556d03._0x57ccb6,0x27f),_0x2ed6a6['AnPMk']=_0x4afbd7(_0x556d03._0xffb8fe,0x2b4,_0x556d03._0x3df5f1,_0x556d03._0x5af357)+_0x505871(-_0x556d03._0x504860,0xc,-_0x556d03._0x3ab253,_0x556d03._0x47eb24)+_0x4afbd7(0x323,_0x556d03._0x176abf,0x2c6,_0x556d03._0xc672a8)+'y\x20from\x20dat'+_0x4afbd7(0x2fa,_0x556d03._0x5cf573,0x2d8,_0x556d03._0x55786f)+'y',_0x2ed6a6[_0x505871(-_0x556d03._0x1750a6,-0x4,-0x6,-_0x556d03._0x35444a)]='Failed\x20to\x20'+'read\x20git\x20O'+_0x4afbd7(_0x556d03._0x4f498f,_0x556d03._0x151dce,_0x556d03._0x39dc4c,0x2a4)+_0x505871(-_0x556d03._0x518e22,-0x5b,0x32,-0x64)+'\x20generatin'+_0x4afbd7(_0x556d03._0x144b35,0x2b3,_0x556d03._0x324dd8,_0x556d03._0x222130);function _0x4afbd7(_0x2da302,_0xc92b7d,_0x28c454,_0x463319){return _0x54bc06(_0x2da302-0xe2,_0x28c454- -_0x19caa4._0x27535d,_0x28c454-0x1ec,_0xc92b7d);}_0x2ed6a6['GvdKL']=function(_0x20079a,_0x2b89f7){return _0x20079a!==_0x2b89f7;},_0x2ed6a6[_0x4afbd7(0x2be,0x260,0x29f,_0x556d03._0x4cb28a)]=_0x505871(-_0x556d03._0x412c97,-_0x556d03._0x3bb434,-_0x556d03._0x6ca36e,-0x44),_0x2ed6a6[_0x4afbd7(_0x556d03._0x1b65b8,_0x556d03._0x72451d,_0x556d03._0x230e36,0x2d8)]=_0x4afbd7(_0x556d03._0x32dcba,_0x556d03._0x51cef0,_0x556d03._0x13e739,0x312),_0x2ed6a6[_0x505871(_0x556d03._0x2042d3,0x71,0x77,-0x1a)]=_0x505871(-0x22,_0x556d03._0x2de89e,-0x81,-0xd)+_0x4afbd7(0x2ee,_0x556d03._0x392a46,_0x556d03._0x22dcf7,_0x556d03._0x5311f9)+'Auth\x20encry'+_0x505871(_0x556d03._0x4700b8,-_0x556d03._0x431d46,-_0x556d03._0x47eb24,0x53);const _0x37a415=_0x2ed6a6,_0x215f66=_0x1f1967[_0x4afbd7(_0x556d03._0x5a96cf,0x2aa,0x2b6,_0x556d03._0xc4e46e)]||_0x44bbb3,_0x23a1e2=_0x1f1967['dataDir']||DATA_DIR;if(encryptionKeyCache)return encryptionKeyCache;const _0x12792e=_0x3b8c93[_0x505871(-_0x556d03._0x73a19b,-_0x556d03._0x2305c3,-0x40,-_0x556d03._0x226c7e)](_0x23a1e2,ENCRYPTION_KEY_FILE);if(existsSync(_0x12792e))try{if(_0x37a415[_0x505871(_0x556d03._0x1c475a,_0x556d03._0x34d05d,-0x3,-0x55)]===_0x505871(-0x69,-0x55,-0xcc,-_0x556d03._0x3c805e)){const _0x22c728=await _0x36d0ef[_0x4afbd7(0x34c,0x2f6,_0x556d03._0x353cb8,_0x556d03._0x291278)](_0x12792e,_0x37a415[_0x4afbd7(0x245,_0x556d03._0x3fdc64,_0x556d03._0x3bfefb,_0x556d03._0xd02b4f)]);return encryptionKeyCache=Buffer[_0x505871(0x2c,0x3f,_0x556d03._0x431d46,_0x556d03._0x5b6c29)](_0x22c728['trim'](),_0x37a415[_0x4afbd7(0x266,_0x556d03._0x290859,0x26f,0x241)]),_0x215f66[_0x505871(-_0x556d03._0x230973,-_0x556d03._0x554dab,-0xe,_0x556d03._0x3e94e6)](_0x37a415[_0x4afbd7(_0x556d03._0x2950ee,0x1e9,_0x556d03._0x1cb34b,_0x556d03._0x4ffef0)]),encryptionKeyCache;}else{const _0xdab8ec=_0x11978d[_0x505871(0x33,0x70,-0x26,0x7b)+'s'](_0x5355ce),_0x5315a5=_0x27646e[_0x505871(-_0x556d03._0x2d31da,0x4c,-_0x556d03._0x2656fd,-_0x556d03._0x1954d0)+'eriv'](_0x304dec,_0x4a0704,_0xdab8ec);let _0x9d92ff=_0x5315a5[_0x505871(0x50,_0x556d03._0x1bf878,0x2b,_0x556d03._0x35444a)](_0x40535d,_0x37a415['kwIYW'],_0x37a415[_0x505871(-_0x556d03._0x34bce6,-0x15,-_0x556d03._0x1ae8bb,-_0x556d03._0x17715d)]);_0x9d92ff+=_0x5315a5[_0x505871(-0x6b,-_0x556d03._0x301eea,-_0x556d03._0xa84072,-0xa5)](_0x37a415[_0x4afbd7(_0x556d03._0x26ca0b,0x222,_0x556d03._0x2c68d8,0x224)]);const _0x482b4f=_0x5315a5[_0x4afbd7(_0x556d03._0x4091f9,_0x556d03._0x1cce71,0x2df,0x2a1)]();return _0xdab8ec[_0x505871(-0x26,-0x34,-_0x556d03._0x396822,0x31)](_0x37a415[_0x4afbd7(_0x556d03._0xeb678a,_0x556d03._0xa7b0f8,0x26f,0x28e)])+':'+_0x482b4f['toString'](_0x37a415[_0x4afbd7(0x2d8,_0x556d03._0x99c16b,_0x556d03._0x1d0059,0x242)])+':'+_0x9d92ff;}}catch(_0x70caae){const _0xceea04={};_0xceea04[_0x4afbd7(_0x556d03._0x2cbfac,_0x556d03._0x4be229,0x300,_0x556d03._0x534137)]=_0x70caae[_0x4afbd7(_0x556d03._0x1121dd,_0x556d03._0x45b0a,_0x556d03._0x11079b,0x2f4)],_0x215f66[_0x505871(-_0x556d03._0xb31c61,-0x6e,-_0x556d03._0x309139,-0x70)](_0x37a415[_0x4afbd7(0x236,0x297,_0x556d03._0x38e172,_0x556d03._0x313739)],_0xceea04);}function _0x505871(_0x2ba04d,_0x3e5d54,_0x56eff6,_0x413474){return _0x54bc06(_0x2ba04d-_0x3d0d57._0x44fb41,_0x2ba04d- -0x383,_0x56eff6-0x188,_0x3e5d54);}_0x215f66[_0x4afbd7(_0x556d03._0x44e4f5,0x2ae,_0x556d03._0x3abb9a,0x2ae)]('Generating'+_0x505871(-_0x556d03._0x3a102c,-0x4d,-_0x556d03._0x242d66,-0x93)+_0x4afbd7(0x2b5,_0x556d03._0xffb8fe,0x2d9,_0x556d03._0x57cd12)+_0x4afbd7(0x2f2,_0x556d03._0x407b32,0x2dd,_0x556d03._0x4be229));const _0x15ae7e=_0x41d5b4[_0x4afbd7(0x339,0x29b,0x2ff,0x2eb)+'s'](KEY_LENGTH);try{const _0x9e5213={};_0x9e5213[_0x4afbd7(_0x556d03._0x291278,_0x556d03._0xa7b0f8,_0x556d03._0x8dfe34,_0x556d03._0x44e4f5)]=!![],await _0x36d0ef[_0x505871(-0x62,-_0x556d03._0x4de6a1,-_0x556d03._0x1195ae,-0x8f)](_0x23a1e2,_0x9e5213);const _0x588e43={};_0x588e43[_0x505871(_0x556d03._0x89b66c,_0x556d03._0x7be6c,0x56,0x45)]=0x180,await _0x36d0ef[_0x505871(-_0x556d03._0x9a93b3,-0x6c,0x3b,-_0x556d03._0x42eb7c)](_0x12792e,_0x15ae7e['toString'](_0x37a415['vdxFQ']),_0x588e43),_0x215f66[_0x4afbd7(_0x556d03._0x54ed18,_0x556d03._0x2a4d3a,_0x556d03._0x3abb9a,0x2cb)]('Git\x20OAuth\x20'+_0x4afbd7(0x2f1,_0x556d03._0x1a3284,0x2f1,_0x556d03._0x53ee15)+_0x4afbd7(0x24c,_0x556d03._0xe524f6,0x291,0x296)+_0x4afbd7(_0x556d03._0x5d7c6c,_0x556d03._0x55c1ca,0x280,0x2c9)+'irectory');}catch(_0x1d470f){if(_0x37a415[_0x4afbd7(_0x556d03._0x3289b0,_0x556d03._0x4d9b1a,0x2c9,_0x556d03._0x2299ab)](_0x37a415['OeEqD'],_0x37a415[_0x4afbd7(_0x556d03._0x125a87,0x23b,_0x556d03._0x43b119,0x27e)])){const _0x560ad1={};_0x560ad1[_0x505871(0x34,_0x556d03._0x5376db,_0x556d03._0x2d932f,-0x36)]=_0x1d470f[_0x4afbd7(_0x556d03._0x3abb9a,_0x556d03._0x5f208f,_0x556d03._0x11079b,_0x556d03._0x125a87)],_0x215f66['error'](_0x37a415[_0x4afbd7(0x33b,0x2c9,0x2fc,0x292)],_0x560ad1);throw new Error('Failed\x20to\x20'+_0x4afbd7(_0x556d03._0xb3d8ca,_0x556d03._0x3ef6bb,0x252,0x260)+_0x4afbd7(0x2ff,_0x556d03._0x297d34,0x297,_0x556d03._0x3af1cf)+'ey:\x20'+_0x1d470f[_0x505871(-_0x556d03._0x3cfdc5,-_0x556d03._0x59c9f5,-_0x556d03._0x3968db,-_0x556d03._0x592db2)]);}else{if(!_0xf38c09)return![];const _0x1e7720=new _0x156221(_0x3df9d2)[_0x4afbd7(0x2e8,0x2b7,0x30d,0x337)](),_0x1626d2=_0x3a6039[_0x505871(_0x556d03._0x3e94e6,0x24,0x18,-0x2e)](),_0x1dd253=_0x37a415[_0x4afbd7(0x2b5,_0x556d03._0x259257,0x2cf,0x33b)](_0x1e4ad4*(0x469+0x1f37*-0x1+-0x1b0a*-0x1),0x1*-0x60f+0x16b6+-0xcbf*0x1);return _0x37a415[_0x4afbd7(_0x556d03._0x24b63d,_0x556d03._0x2c68d8,0x2cb,_0x556d03._0x2b34c8)](_0x1e7720-_0x1626d2,_0x1dd253);}}return encryptionKeyCache=_0x15ae7e,encryptionKeyCache;}export function clearEncryptionKeyCache(){encryptionKeyCache=null;}function encrypt(_0x29e7ed,_0x7ac90e){const _0xc9d3a1={_0x6d4562:0x4f9,_0x3a2952:0x495,_0x2b9655:0x468,_0x5f457c:0x450,_0x3eb1d9:0x4a4,_0x111837:0x48f,_0x42fb8b:0x465,_0x576c39:0x43b,_0x4ce22d:0x44f,_0x35bca7:0x4df,_0x16919e:0x4f9,_0x63ade6:0x526,_0x28288e:0x510,_0x4d1856:0x4d0,_0x2e0c09:0x4a9,_0x24c7b2:0x469,_0x58e1de:0x418,_0x16e931:0x442,_0x23129d:0x41b,_0x39ea5f:0x430,_0x1d5f36:0x4d2,_0x3b4d32:0x4c2,_0x5f39e3:0x3fa,_0x4fca53:0x3f1,_0x269114:0x3c9,_0x146504:0x3a5},_0x46d9b={_0x232454:0x13d,_0x335735:0x51c},_0x34558a={_0x3e968e:0xcb,_0x80b79a:0x62,_0x59a8e4:0x4b1},_0x1a6fa6={};_0x1a6fa6[_0x2939c6(_0xc9d3a1._0x6d4562,0x4b7,0x520,_0xc9d3a1._0x3a2952)]='utf8',_0x1a6fa6[_0x2939c6(_0xc9d3a1._0x2b9655,0x444,_0xc9d3a1._0x5f457c,_0xc9d3a1._0x3eb1d9)]=_0x56d2cd(0x386,0x3f1,0x412,0x40d);const _0x18efb0=_0x1a6fa6,_0x349331=_0x41d5b4['randomByte'+'s'](IV_LENGTH),_0x2b9fad=_0x41d5b4[_0x2939c6(0x498,_0xc9d3a1._0x111837,0x45e,0x44b)+_0x2939c6(_0xc9d3a1._0x42fb8b,_0xc9d3a1._0x576c39,_0xc9d3a1._0x4ce22d,0x47d)](ALGORITHM,_0x7ac90e,_0x349331);let _0x244fb4=_0x2b9fad[_0x56d2cd(0x4fa,0x492,0x4d3,_0xc9d3a1._0x35bca7)](_0x29e7ed,_0x18efb0[_0x2939c6(_0xc9d3a1._0x16919e,_0xc9d3a1._0x63ade6,_0xc9d3a1._0x28288e,_0xc9d3a1._0x4d1856)],_0x18efb0[_0x2939c6(0x468,_0xc9d3a1._0x2e0c09,_0xc9d3a1._0x24c7b2,_0xc9d3a1._0x58e1de)]);function _0x56d2cd(_0x3f9877,_0x4f13dd,_0x4c8d2e,_0x9061a0){return _0x435907(_0x3f9877-_0x34558a._0x3e968e,_0x4f13dd-_0x34558a._0x80b79a,_0x4f13dd-_0x34558a._0x59a8e4,_0x3f9877);}function _0x2939c6(_0x5f5536,_0x170716,_0x3de5af,_0x558587){return _0x435907(_0x5f5536-_0x46d9b._0x232454,_0x170716-0x54,_0x5f5536-_0x46d9b._0x335735,_0x170716);}_0x244fb4+=_0x2b9fad[_0x2939c6(_0xc9d3a1._0x16e931,0x451,0x48d,_0xc9d3a1._0x23129d)](_0x18efb0[_0x2939c6(0x468,_0xc9d3a1._0x39ea5f,0x42b,_0xc9d3a1._0x1d5f36)]);const _0x56baad=_0x2b9fad[_0x2939c6(0x4c0,_0xc9d3a1._0x3b4d32,0x457,0x4ae)]();return _0x349331['toString'](_0x56d2cd(_0xc9d3a1._0x5f39e3,_0xc9d3a1._0x4fca53,0x3cc,0x448))+':'+_0x56baad['toString'](_0x18efb0[_0x56d2cd(0x429,0x3fd,_0xc9d3a1._0x269114,_0xc9d3a1._0x146504)])+':'+_0x244fb4;}function decrypt(_0x353ab4,_0x5a1ba6){const _0x49a271={_0xc633b0:0x16d,_0x4fb94f:0xca,_0x57b293:0x130,_0x57e183:0x1e2,_0x2ed5df:0x194,_0x1d64a6:0x332,_0x22955e:0x2e2,_0x5c660f:0x2d1,_0x27d6d0:0x24c,_0x354e47:0x213,_0x514b0a:0x277,_0x5160ae:0x1a3,_0x466bf2:0x2e3,_0x2e91ae:0x30b,_0x4c74c1:0x1bb,_0x37e754:0x1ad,_0x1bfc55:0x109,_0x465a2f:0x15f,_0x154d75:0x12d,_0x2a2aa1:0x291,_0x3ff699:0x2bc,_0x36e735:0x2a2,_0x4c025a:0x2ec,_0x33c5e5:0x32b,_0x2cbbd0:0x2ec,_0x5d262c:0x2c9,_0x2f8147:0x29b,_0x1ed358:0x225,_0x536644:0x2c6,_0xbd7c59:0x243,_0x4d6fc0:0x326,_0x45deda:0x2d8,_0x5f2917:0x272,_0x1501ad:0x2c4,_0x1d884a:0x178,_0x1c00b3:0x177,_0x434044:0x25b,_0x38aa19:0x235,_0x3de0c0:0x27b,_0x33294c:0x263,_0x37f702:0x26e},_0x186ede={_0x399131:0x1db,_0x3bbb95:0x31b},_0x2f3ee6={_0x23c1b7:0x44},_0x19df34={};_0x19df34['nEbIv']='User\x20ID\x20is'+_0xebefc2(_0x49a271._0xc633b0,_0x49a271._0x4fb94f,0x15a,_0x49a271._0x57b293),_0x19df34[_0xebefc2(_0x49a271._0x57e183,_0x49a271._0x2ed5df,0x146,0x18a)]=function(_0xfe362e,_0x5a9cf7){return _0xfe362e||_0x5a9cf7;},_0x19df34[_0x15d394(_0x49a271._0x1d64a6,_0x49a271._0x22955e,_0x49a271._0x5c660f,0x29d)]=function(_0x56819c,_0x3a10bb){return _0x56819c!==_0x3a10bb;},_0x19df34[_0xebefc2(0x213,_0x49a271._0x27d6d0,0x1e0,0x1e5)]='DRjbG',_0x19df34[_0x15d394(0x2ba,0x278,_0x49a271._0x354e47,_0x49a271._0x514b0a)]=_0xebefc2(0x123,_0x49a271._0x5160ae,0x191,0x177)+_0x15d394(_0x49a271._0x466bf2,0x2a8,0x311,_0x49a271._0x2e91ae)+_0xebefc2(0x20b,0x225,0x1ad,0x1c2);function _0xebefc2(_0x1c8fe8,_0x4e05ff,_0xb6808f,_0x1e23c9){return _0x435907(_0x1c8fe8-0x13e,_0x4e05ff-_0x2f3ee6._0x23c1b7,_0x1e23c9-0x214,_0xb6808f);}_0x19df34[_0xebefc2(_0x49a271._0x4c74c1,_0x49a271._0x37e754,0x1f4,0x1cb)]='hex',_0x19df34['zVWeG']=_0xebefc2(0x159,_0x49a271._0x1bfc55,_0x49a271._0x465a2f,_0x49a271._0x154d75);function _0x15d394(_0x5c3216,_0x162452,_0x3b57a4,_0x4125f1){return _0x435907(_0x5c3216-0x6c,_0x162452-_0x186ede._0x399131,_0x162452-_0x186ede._0x3bbb95,_0x5c3216);}const _0x3c8982=_0x19df34,[_0x782143,_0x9eb86b,_0x4ed521]=_0x353ab4['split'](':');if(_0x3c8982[_0x15d394(0x2e2,_0x49a271._0x2a2aa1,_0x49a271._0x3ff699,_0x49a271._0x36e735)](!_0x782143,!_0x9eb86b)||!_0x4ed521){if(_0x3c8982['mknDY'](_0x3c8982[_0x15d394(0x30c,_0x49a271._0x4c025a,0x32a,_0x49a271._0x33c5e5)],_0x3c8982[_0x15d394(0x2c0,_0x49a271._0x2cbbd0,_0x49a271._0x5d262c,_0x49a271._0x2f8147)]))throw new _0x3f9234(_0x3c8982[_0x15d394(_0x49a271._0x1ed358,0x268,_0x49a271._0x536644,_0x49a271._0xbd7c59)]);else throw new Error(_0x3c8982['waOJh']);}const _0x4780ba=Buffer[_0x15d394(_0x49a271._0x4d6fc0,_0x49a271._0x45deda,_0x49a271._0x5f2917,_0x49a271._0x1501ad)](_0x782143,_0x15d394(0x259,0x25b,0x25f,0x24e)),_0x47b292=Buffer[_0xebefc2(_0x49a271._0x1d884a,0x16a,_0x49a271._0x1c00b3,0x1d1)](_0x9eb86b,_0x15d394(0x247,_0x49a271._0x434044,0x1fb,0x2bf)),_0x25f1f6=_0x41d5b4[_0x15d394(0x21b,_0x49a271._0x38aa19,_0x49a271._0x3de0c0,_0x49a271._0x33294c)+_0x15d394(0x264,0x23e,0x24a,0x261)](ALGORITHM,_0x5a1ba6,_0x4780ba);_0x25f1f6[_0x15d394(0x2a6,0x28e,_0x49a271._0x37f702,_0x49a271._0x4c025a)](_0x47b292);let _0x57cb73=_0x25f1f6['update'](_0x4ed521,_0x3c8982['XGudi'],_0x3c8982['zVWeG']);return _0x57cb73+=_0x25f1f6['final'](_0x3c8982['zVWeG']),_0x57cb73;}async function loadTokenStorage(_0x2dc344={}){const _0x5c627d={_0x56a93a:0x119,_0x2a9362:0xdc,_0x235a69:0x121,_0x525ea0:0xa3,_0x4e55f:0x100,_0x35e5a:0x9b,_0x371d2:0xcf,_0x53b6bf:0x141,_0x3f0ac8:0x16c,_0x288152:0xcb,_0x5c54bb:0xd7,_0x33c000:0xcb,_0x51a34c:0x14c,_0x515389:0x11f,_0x6a437c:0x10f,_0x28d196:0x1cb,_0x370d59:0x16c,_0x5960b5:0x148,_0x5e265e:0x1bd,_0x43aa16:0x177,_0x5c98b1:0x135,_0x11556e:0x1e0,_0xe335e7:0x156,_0xb193e5:0x18e,_0x282ebb:0xc7,_0x1a21cc:0x12c,_0x31c26a:0x151,_0x1e6272:0x15c,_0x295a45:0x128,_0xdec215:0xfc,_0x5529a9:0x68,_0x581396:0x96,_0x2a0d6e:0xd5,_0x2b6222:0x129},_0x369395={_0x338d91:0xcb,_0x1a9d68:0x74},_0xd66c6d={_0x49e440:0x19b,_0x3bd91d:0x87,_0x142dc5:0x199},_0xafca3a={'bMpsp':function(_0x274be2,_0x1fef3c){return _0x274be2(_0x1fef3c);},'BRQOJ':_0x445e89(0x132,0x148,0x191,_0x5c627d._0x56a93a),'KGtPm':_0x2b63fe(-0x11d,-0xd3,-0x90,-_0x5c627d._0x2a9362)+_0x445e89(_0x5c627d._0x235a69,0xf4,0x9d,_0x5c627d._0x525ea0)+_0x2b63fe(-_0x5c627d._0x4e55f,-0x51,-0x66,-_0x5c627d._0x35e5a)},_0x29d1aa=_0x2dc344['logger']||_0x44bbb3,_0x3fb2db=_0x2dc344[_0x445e89(0x8f,0xc4,_0x5c627d._0x371d2,0x117)]||DATA_DIR;function _0x445e89(_0x2aaaf9,_0x313a21,_0x58b3cd,_0x305568){return _0x435907(_0x2aaaf9-_0xd66c6d._0x49e440,_0x313a21-_0xd66c6d._0x3bd91d,_0x313a21-_0xd66c6d._0x142dc5,_0x305568);}const _0x37ee99=_0x3b8c93[_0x2b63fe(-0xce,-_0x5c627d._0x53b6bf,-_0x5c627d._0x3f0ac8,-0x107)](_0x3fb2db,TOKENS_FILE);function _0x2b63fe(_0x1d91ce,_0x1423f3,_0x9eab8,_0x38b736){return _0x54bc06(_0x1d91ce-_0x369395._0x338d91,_0x38b736- -0x43d,_0x9eab8-_0x369395._0x1a9d68,_0x1d91ce);}if(!_0xafca3a[_0x445e89(_0x5c627d._0x288152,0xa6,_0x5c627d._0x5c54bb,_0x5c627d._0x33c000)](existsSync,_0x37ee99)){const _0x4e9385={};return _0x4e9385[_0x2b63fe(-_0x5c627d._0x51a34c,-0xc9,-_0x5c627d._0x515389,-_0x5c627d._0x6a437c)]={},_0x4e9385;}try{const _0x3afb35=await _0x36d0ef[_0x445e89(_0x5c627d._0x28d196,_0x5c627d._0x370d59,_0x5c627d._0x5960b5,_0x5c627d._0x5e265e)](_0x37ee99,_0xafca3a[_0x445e89(0xcb,0x119,0x123,0x141)]);return JSON[_0x445e89(0x18d,_0x5c627d._0x43aa16,_0x5c627d._0x5c98b1,_0x5c627d._0x11556e)](_0x3afb35);}catch(_0x404d8b){const _0x157601={};_0x157601[_0x445e89(_0x5c627d._0xe335e7,0x15e,0x130,_0x5c627d._0xb193e5)]=_0x404d8b[_0x445e89(_0x5c627d._0x282ebb,0x110,0xaa,_0x5c627d._0x1a21cc)],_0x29d1aa[_0x2b63fe(-_0x5c627d._0x31c26a,-_0x5c627d._0x1e6272,-_0x5c627d._0x295a45,-_0x5c627d._0xdec215)](_0xafca3a[_0x2b63fe(-_0x5c627d._0x5529a9,-0xdb,-0x97,-0xa8)],_0x157601);const _0x174adb={};return _0x174adb[_0x445e89(_0x5c627d._0x581396,_0x5c627d._0x2a0d6e,_0x5c627d._0x2b6222,_0x5c627d._0x2a0d6e)]={},_0x174adb;}}async function saveTokenStorage(_0x43a004,_0x2d1985={}){const _0x575b86={_0x59d543:0x19f,_0xe4ddf7:0x1fc,_0x46fe3c:0x56f,_0x102b91:0x4fd,_0x53cb93:0x572,_0x2f7bf7:0x582,_0x52c258:0x59a,_0x3e5249:0x478,_0x57a8c4:0x527,_0x141277:0x14d,_0x3a07d7:0x165,_0x5b6f58:0x164,_0x232852:0x195,_0x356446:0x1b6,_0x15f7df:0x18f,_0x94b784:0x14c,_0x26c461:0x5b3,_0x3aa6f8:0x55d,_0x53b7c6:0x566,_0x418d6e:0x1dc,_0x1ef91d:0x1fa,_0x1af80e:0x143,_0x5e84be:0x564,_0x530161:0x1b1,_0xa857fe:0x10c,_0x17dc03:0x4b1,_0x4b26c8:0x52b,_0xfda9ec:0x4e1,_0x4962b2:0x1f8,_0x1d9410:0x1db,_0x3f5b04:0x13f,_0x27606f:0x12d,_0x205018:0x167,_0x16c7fa:0x18c,_0x465cf7:0x178,_0x211a31:0x150,_0x4613ae:0x452,_0x2adf1f:0x48f,_0x43755f:0x4b7,_0x164e17:0x17b,_0xee1295:0x1f2,_0x1ce273:0x1eb,_0x2df86d:0x205,_0x4ae466:0x5ac,_0x67ecde:0x555,_0xec031c:0x23c,_0x596a99:0x1ef,_0x10b9e9:0x174,_0x26f9d1:0x15d},_0x480ffd={_0x345962:0x590},_0x1b3482={_0x2e7711:0x1d6,_0x1044c2:0x1cc,_0x1456b3:0xbc},_0x2dbd15={};_0x2dbd15[_0x51361f(0x1a1,0x1ff,_0x575b86._0x59d543,_0x575b86._0xe4ddf7)]=function(_0x3dbe8f,_0x5481a1){return _0x3dbe8f!==_0x5481a1;},_0x2dbd15[_0x4381a1(_0x575b86._0x46fe3c,_0x575b86._0x102b91,_0x575b86._0x53cb93,0x560)]=_0x4381a1(0x545,_0x575b86._0x2f7bf7,_0x575b86._0x52c258,0x541);function _0x51361f(_0x1bac48,_0x566f66,_0x32ddc9,_0x19806e){return _0x54bc06(_0x1bac48-_0x1b3482._0x2e7711,_0x19806e- -_0x1b3482._0x1044c2,_0x32ddc9-_0x1b3482._0x1456b3,_0x566f66);}_0x2dbd15['vYWJZ']='Saved\x20user'+_0x4381a1(0x4e6,_0x575b86._0x3e5249,0x4ba,0x4b2)+_0x4381a1(0x4a6,_0x575b86._0x57a8c4,0x476,0x4ca)+'ge',_0x2dbd15[_0x51361f(0x198,0x1ab,0x16e,0x1aa)]=function(_0x38426b,_0x4f9a28){return _0x38426b===_0x4f9a28;},_0x2dbd15[_0x51361f(0x13d,0xe2,0x15d,_0x575b86._0x141277)]=_0x51361f(0x1f1,_0x575b86._0x3a07d7,0x20f,0x1cb),_0x2dbd15['qDtJF']=_0x51361f(0x1db,0x182,_0x575b86._0x5b6f58,_0x575b86._0x232852)+_0x51361f(_0x575b86._0x356446,_0x575b86._0x15f7df,0x187,0x15e)+_0x51361f(0x182,0x1de,0x1d5,0x1d6);const _0x53153a=_0x2dbd15;function _0x4381a1(_0x2dcda2,_0x3fe24d,_0x107d3b,_0x110721){return _0x435907(_0x2dcda2-0x187,_0x3fe24d-0x9,_0x110721-_0x480ffd._0x345962,_0x3fe24d);}const _0x22beab=_0x2d1985['logger']||_0x44bbb3,_0x9eed3e=_0x2d1985[_0x51361f(_0x575b86._0x94b784,0x106,0x101,0x151)]||DATA_DIR,_0x2ea086=_0x3b8c93['join'](_0x9eed3e,TOKENS_FILE);try{if(_0x53153a[_0x4381a1(_0x575b86._0x26c461,0x538,_0x575b86._0x3aa6f8,_0x575b86._0x53b7c6)](_0x53153a['oaLcF'],'XBngZ'))_0x44108c[_0x51361f(_0x575b86._0x418d6e,0x21f,0x249,_0x575b86._0x1ef91d)+_0x51361f(0x111,_0x575b86._0x1af80e,0x116,0x145)]=_0x2f06f2[_0x4381a1(0x565,0x5c7,0x555,_0x575b86._0x5e84be)+_0x51361f(_0x575b86._0x530161,_0x575b86._0xa857fe,0x18e,0x145)];else{const _0x11f368={};_0x11f368[_0x4381a1(_0x575b86._0x17dc03,0x4d9,_0x575b86._0x4b26c8,_0x575b86._0xfda9ec)]=!![],await _0x36d0ef['mkdir'](_0x9eed3e,_0x11f368);const _0x18d951={};_0x18d951[_0x51361f(0x236,_0x575b86._0x4962b2,0x23f,_0x575b86._0x1d9410)]=0x180,await _0x36d0ef['writeFile'](_0x2ea086,JSON['stringify'](_0x43a004,null,0x1443+-0x8fd+-0xb44*0x1),_0x18d951),_0x22beab[_0x51361f(_0x575b86._0x3f5b04,_0x575b86._0x27606f,_0x575b86._0x205018,_0x575b86._0x16c7fa)](_0x53153a[_0x51361f(0x123,_0x575b86._0x465cf7,0x194,_0x575b86._0x211a31)]);}}catch(_0x102882){if(_0x53153a['RhkJl'](_0x53153a[_0x4381a1(0x4d0,_0x575b86._0x4613ae,_0x575b86._0x2adf1f,_0x575b86._0x43755f)],_0x53153a[_0x51361f(_0x575b86._0x164e17,0x104,0x10e,_0x575b86._0x141277)])){const _0x377592={};_0x377592[_0x51361f(0x1c3,_0x575b86._0xee1295,0x22c,_0x575b86._0x1ce273)]=_0x102882[_0x51361f(0x1d1,_0x575b86._0x2df86d,0x1b4,0x19d)],_0x22beab[_0x4381a1(0x54f,_0x575b86._0x4ae466,0x57f,_0x575b86._0x67ecde)](_0x53153a[_0x51361f(0x1df,_0x575b86._0xec031c,_0x575b86._0x596a99,0x1fd)],_0x377592);throw _0x102882;}else _0x48269d[_0x51361f(_0x575b86._0x10b9e9,_0x575b86._0x26f9d1,0x1a1,0x162)][_0x368721]={};}}function _0x1068(){const _0x2faf8e=['ndC5nte3B0P2AK1h','vfv0C1G','zNjVBq','uvLJrLK','tNDjEMi','y29UBMvJDgvKxW','rgD3ywG','vxbKyxrLzcbNAq','Dcb0B2TLBIbMBW','CMfUzg9TqNL0zq','zxjYB3i','ndi2mJm0owTuwePbyq','BwTUrfK','CLvNzem','vM5Au1e','rgvSzxrLzcbNAq','sxnuz2m','whDzsxO','BM93','AKXis0G','vvPYs2W','B2fmy0y','EezWt2W','z2v0vgLTzq','CMvHzezPBgu','z2L0AhvIx3vZzq','vvnxA1C','wNHmy0u','Cur0sKy','tNjpBgi','ywvZlti1nI1NyW','ntCYnZaXuLLrCu9A','zxHWAxjLC19HDa','mZi5mZzIzwnkC04','AhrLAui','CgfYC2u','zYbUzxCGB25L','teTNyuG','DxbKyxrL','mtzyEeX1yLa','CLbbqLy','yK1WC3a','AMXkvuq','qw5qtwS','B3zPzgvY','DxnLCKLK','u1jSsfG','z3rxvNi','tNnWwfq','ig5HBwuGyxjLia','zfD1y1m','CgvYC2LZDcbLBG','Ehvht3a','DxrMoa','y3jLyxrLrgvJAq','s0XAD3K','ihjLCxvPCMvK','se5PCg4','v2PZANu','CL9Pza','EuXwq0K','qLz6yw0','igDPDcb0B2TLBG','CgHLCML2','otC1ntK0AKLswMvO','weXRre8','zMLUywW','t3LTvxa','shzWAxq','ig5LDYbNAxqGtW','DLLxsLO','zgf0yurPCG','mtaWmJyYmfj1EwXeDW','Dg9ju09tDhjPBG','rLPjuNC','BwTKAxi','s0ffAgq','igfUzcbWCM92Aq','tg9HzgvKigDPDa','ALvdD3O','DMr4rLe','tM8GzxHPC3rPBG','vxnLCIbjrcbPCW','sKvRwvK','C2f2zsb1C2vYia','zxHWAxjLC0f0','CYb0BYbZDg9Yyq','r1DiC0W','Dg9Rzw5Z','qNLqswS','A2DeC3y','B3vkwg8','Agv4','A3jZrKG','CMvXDwLYzwq','tgDTtfy','AM9PBG','ihrVigrHDgeGza','CMvMCMvZAf90BW','CIb1C2vY','rgzWthO','zxjPDG','wxzKvvq','zYb0B2TLBIbMBW','yMLWB2y','BKvIsxy','whjUv0C','D2fYBG','uLvctgm','CMvJDxjZAxzL','D3Lvz1K','Efj4vuW','A2TyuhK','qxjcweu','igTLEsbZyxzLza','Aw5MBW','yxP1CMvFDxnLCG','ie9bDxrOigvUyW','AfnorNi','Bg9Hzcb1C2vYia','y3j5ChrPB24GAW','D2fpsMG','DwLYzwq','y1nUC1u','u3rVCMvKigDPDa','CLHRB2e','ww5mAwu','sw52ywXPzcbLBG','t2vfCuq','BMfTzq','zgvIDwC','mte1nJq2meX5tgTtuq','CIb1C2vYia','whbHuwW','zw4GAxmGCMvXDq','Dg9tDhjPBMC','rhzkBNa','De9JCg8','CxP3quq','rMfPBgvKihrVia','C2f2zsbNAxqGtW','wfnHvNu','nNneyKjOqq','C2v0qxv0AfrHzW','vxnLCIbjrcbHBG','BLD5ExK','CvvRzMW','BwvZC2fNzq','sfD3r1i','D3jPDgvgAwXL','v0LZquS','Bg9Nz2vY','y3jLyxrLq2LWAa','qvH4ueC','A2vUigzVCIbWCG','ELfZvfe','qLjrt0O','wgfRCM0','CK9AD2G','wwDtCKO','uMHRsMW','CKjfz1u','CKHyCeW','mte1mMDIEuH6Dq','rfzcBKC','A3DjwvC','y29UBMvJDgvK','CNLWDgLVBIbRzq','z2L0AhvIx2XVzW','y3j5ChrLzcb2yq','r3zKs0W','ChrPB24GA2v5la','ru1VB1i','qwnJzxnZihrVAW','uKT1wMS','igDLBMvYyxrPBG','wfzhr0C','EMzUD3C','uuXuyvy','zgvJCNLWDcb0BW','DgHmBLe','BgvUz3rO','B2TLBNmUANnVBG','yvPcwha','vwXHqNq','ysbKAxjLy3rVCG','qxv0AcbLBMnYEq','ChjVDMLKzxjoyq','A2vU','D3LIywq','ChrPB24GA2v5','s0D0ug0','z2v0qxv0AfrHzW','t3vmwvu','Bw5HCKy','yu95uvi','C2f4CxO','zcbWCM92AwrLCG','ugDvBKG','uhjVDMLKzxiGBG','ywnJzxnZx3rVAW','Dw50CfO','BhvLigzVCM1HDa','DxrMltG','z2L0ihrVA2vUCW','wejUz1O','thjmsLm','ihvZzxi','tM92yKi','Bw9Kzq','zw5JCNLWDgLVBG','weD1zgK','C3bSAxq','wxjIDMO','BNrNAe0'];_0x1068=function(){return _0x2faf8e;};return _0x1068();}export async function getUserGitTokens(_0x5938e5,_0x1e1996={}){const _0x5760aa={_0x568a9a:0x225,_0x3deed8:0x1d2,_0x122604:0x238,_0xfa436c:0x5d4,_0xa1ad51:0x56b,_0x1df608:0x595,_0x415d60:0x52f,_0x22002d:0x25a,_0x25d655:0x1f5,_0x2d17df:0x197,_0x1a522a:0x4f7,_0x58e778:0x589,_0xf1ca3c:0x1cb,_0xb9b522:0x227,_0x14f1d4:0x1a3,_0x489dac:0x185,_0xcc45e5:0x156,_0x242f9c:0x1be,_0x3bd78d:0x1c6,_0x2d83c3:0x557,_0x2d17ce:0x5a4,_0x42ea68:0x224,_0x501f87:0x52d,_0x2e2291:0x57b,_0x402cb7:0x537,_0x91a0f9:0x491,_0x5bd855:0x4fc,_0x4bdbf1:0x53e,_0x2ea8b9:0x53d,_0x5bb707:0x598,_0x240e5d:0x54b,_0xcf133c:0x179,_0x35f64e:0x168,_0x22cc86:0x12e,_0x437f8d:0x510,_0x586415:0x4d5,_0x56fe4b:0x4ea,_0xdc2547:0x541,_0x42cca7:0x4fc,_0x3ae3df:0x518,_0xe533eb:0x1ce,_0x54a209:0x49e,_0x39a6b9:0x4f0,_0x4368e4:0x1a4,_0x435c7e:0x54a,_0x3e3e37:0x58d,_0x48ea59:0x152,_0x32ac2f:0x115,_0x338516:0x5ae,_0x95ce5a:0x1ea,_0x1cb867:0x215,_0x3662de:0x1d5,_0x1aec95:0x1da,_0x5d6b19:0x18b,_0x1efc89:0x1c8,_0x3c69f9:0x21f,_0x4469ab:0x21a,_0x281af6:0x223,_0x2b3fa5:0x544,_0x5220ec:0x506,_0x4d5673:0x4df,_0x32343b:0x569,_0x128328:0x520,_0x4a963e:0x560,_0x1d38cb:0x548,_0x2989a4:0x1e7,_0x4eeeba:0x216,_0x30e80b:0x1ca,_0x39f51f:0x18d,_0x11f6f6:0x1af,_0x3b26f7:0x117,_0x1f3e52:0x11f,_0x3dac57:0x589,_0x25b930:0x580,_0x2540f7:0x58a,_0x24f7fa:0x4a2,_0x3eabeb:0x4c0,_0x2df9b2:0x18d,_0x584d60:0x556,_0x167a37:0x508,_0x271220:0x1d6,_0xfe402:0x15a,_0x128726:0x1a7,_0x1b39d8:0x567,_0x5b5d3a:0x5a5,_0x2d1123:0x178,_0x423b35:0x4f2,_0x184adc:0x4d5,_0x275e74:0x4fc,_0x4656ba:0x502,_0x18bfdb:0x4fc,_0x113d26:0x118,_0x190ed2:0x11f,_0x5092ff:0x149,_0x4460a9:0x14a,_0xc39a18:0xee,_0x4002d3:0x235,_0x502a16:0x525,_0x1c21bf:0x59b,_0x4a52bf:0x584,_0x67847e:0x59b,_0x5f2288:0x1a1,_0x276234:0x514,_0x2a5715:0x54c,_0x3052d3:0x579,_0x10d342:0x534,_0x271837:0x5a0,_0x46bde0:0x5c8,_0x2f28c5:0x47e,_0x1793fb:0x535,_0x165d16:0x163,_0x56a942:0x51c,_0x3e749a:0x585,_0x493478:0x151,_0x2b76fd:0x159,_0x56b160:0x157,_0x3c857c:0x4dc,_0x4abcd8:0x4df,_0x3453c7:0x530,_0x487c9e:0x219,_0x1badd1:0x1ba,_0x51c767:0x20e,_0x5ed4c6:0x585,_0x41799e:0x545,_0x2c79ed:0x133,_0x499552:0x1e5,_0x10daaf:0x18c,_0xa7e410:0x183,_0x1cbcfe:0x535,_0x573900:0x18e,_0x1b57f8:0x575,_0x120252:0x52c,_0x1135e6:0x512,_0x2ca372:0x47b,_0x5406b1:0x4d1,_0x2551c0:0x4ad,_0x985ed3:0x1ec,_0x5eec72:0x12f,_0x5aa009:0x19f,_0x158dd5:0x17e,_0x3b5c9d:0x581,_0x498859:0x553},_0x21d848={_0xa42888:0x17e,_0x335005:0x59},_0x59fe29={_0x47cba9:0x124,_0x5e0589:0x1e1},_0x1a03d7={'croyt':'Failed\x20to\x20'+_0x2bfc0b(-_0x5760aa._0x568a9a,-0x191,-_0x5760aa._0x3deed8,-_0x5760aa._0x122604)+_0x52e49d(0x5da,0x5ca,0x570,_0x5760aa._0xfa436c),'wybad':_0x52e49d(_0x5760aa._0xa1ad51,_0x5760aa._0x1df608,_0x5760aa._0x415d60,0x50f)+_0x2bfc0b(-0x190,-_0x5760aa._0x22002d,-_0x5760aa._0x25d655,-_0x5760aa._0x2d17df)+'git\x20tokens','tOcpo':function(_0xc5d661,_0x1e7a9d){return _0xc5d661(_0x1e7a9d);},'cBgsB':function(_0x30f8aa,_0x5dee9c){return _0x30f8aa===_0x5dee9c;},'AEMTQ':'NrOlb','cSnsU':function(_0x3207c9,_0x59b30e){return _0x3207c9!==_0x59b30e;},'nWyyy':_0x52e49d(0x4a8,0x4f9,0x4f0,_0x5760aa._0x1a522a),'gtWVr':_0x52e49d(0x55b,0x56c,_0x5760aa._0x58e778,0x567),'DfpLz':function(_0x9d3832,_0x402cc9){return _0x9d3832===_0x402cc9;},'rHXpL':_0x2bfc0b(-0x1f7,-0x1fe,-_0x5760aa._0xf1ca3c,-_0x5760aa._0xb9b522),'Yrbvj':_0x2bfc0b(-0x1bd,-_0x5760aa._0x14f1d4,-_0x5760aa._0x489dac,-0x192),'RvTGa':function(_0x39686b,_0x8930b2){return _0x39686b!==_0x8930b2;},'rPABV':'Pxtdj','DvJnp':function(_0x3a5b3b,_0x20dfa5){return _0x3a5b3b===_0x20dfa5;},'wNAdP':'aZBXp','uCYJD':_0x2bfc0b(-_0x5760aa._0xcc45e5,-0x1db,-_0x5760aa._0x242f9c,-_0x5760aa._0x3bd78d)+_0x52e49d(0x503,0x54e,_0x5760aa._0x2d83c3,0x4ee)+_0x52e49d(_0x5760aa._0x2d17ce,0x53b,0x53e,0x50f)+_0x2bfc0b(-0x219,-_0x5760aa._0x42ea68,-0x21d,-0x250)};function _0x2bfc0b(_0x346c65,_0x24c40e,_0x554223,_0x3f37ad){return _0x435907(_0x346c65-_0x59fe29._0x47cba9,_0x24c40e-_0x59fe29._0x5e0589,_0x554223- -0x12d,_0x3f37ad);}const _0x575c67=_0x1e1996[_0x52e49d(_0x5760aa._0x501f87,0x558,0x53b,0x4f8)]||_0x44bbb3;if(!_0x5938e5)throw new Error('User\x20ID\x20is'+'\x20required');const _0x4eb432=await _0x1a03d7[_0x52e49d(0x54f,0x55d,0x52d,_0x5760aa._0x2e2291)](loadTokenStorage,_0x1e1996),_0x3e42b1=_0x4eb432[_0x52e49d(_0x5760aa._0x402cb7,_0x5760aa._0x91a0f9,_0x5760aa._0x5bd855,_0x5760aa._0x4bdbf1)]?.[_0x5938e5];if(!_0x3e42b1){if(_0x1a03d7['cBgsB'](_0x1a03d7['AEMTQ'],_0x52e49d(0x5f2,_0x5760aa._0x2ea8b9,_0x5760aa._0x5bb707,_0x5760aa._0x240e5d)))return{};else{const _0x4d0011={};_0x4d0011[_0x2bfc0b(-_0x5760aa._0xcf133c,-0x119,-_0x5760aa._0x35f64e,-_0x5760aa._0x22cc86)]=_0xc930a6[_0x2bfc0b(-0x175,-0x1b6,-0x1b6,-0x214)],_0x4fe511[_0x52e49d(_0x5760aa._0x437f8d,_0x5760aa._0x586415,0x50f,_0x5760aa._0x56fe4b)](_0x1a03d7['croyt'],_0x4d0011);const _0xeef94e={};return _0xeef94e[_0x52e49d(0x4f6,_0x5760aa._0xdc2547,_0x5760aa._0x42cca7,0x513)]={},_0xeef94e;}}function _0x52e49d(_0x31fc93,_0x4e90de,_0x130fe1,_0x98f03){return _0x54bc06(_0x31fc93-_0x21d848._0xa42888,_0x130fe1-0x1ce,_0x130fe1-_0x21d848._0x335005,_0x98f03);}const _0x7ad758=await _0x1a03d7[_0x52e49d(0x58f,0x57b,0x52d,_0x5760aa._0x3ae3df)](getEncryptionKey,_0x1e1996),_0xa2d62f={};for(const [_0x4dde83,_0xc28022]of Object['entries'](_0x3e42b1)){if(_0x1a03d7[_0x2bfc0b(-0x1bc,-0x18e,-_0x5760aa._0xe533eb,-0x1f2)](_0x52e49d(_0x5760aa._0x54a209,0x4ba,_0x5760aa._0x39a6b9,0x53f),_0x1a03d7[_0x2bfc0b(-0x1ec,-0x19f,-0x1b8,-_0x5760aa._0x4368e4)])){const _0x3ea77a={};_0x3ea77a[_0x52e49d(0x500,0x4e5,_0x5760aa._0x435c7e,_0x5760aa._0x3e3e37)]=!![],_0x3ea77a['expires_at']=_0x330775[_0x2bfc0b(-0x176,-0x101,-_0x5760aa._0x48ea59,-_0x5760aa._0x32ac2f)],_0x3ea77a['github_log'+'in']=_0x41ab2c[_0x52e49d(0x513,0x568,0x54c,_0x5760aa._0x338516)+'in'],_0x3ea77a['azure_user'+_0x2bfc0b(-0x182,-0x1ac,-0x1c8,-_0x5760aa._0x95ce5a)]=_0x22062b[_0x2bfc0b(-0x17d,-_0x5760aa._0x1cb867,-_0x5760aa._0x3662de,-0x179)+_0x2bfc0b(-_0x5760aa._0x1aec95,-_0x5760aa._0x5d6b19,-_0x5760aa._0x1efc89,-0x187)],_0x3ea77a['connected_'+'at']=_0x7abebc['connected_'+'at'],_0x59a7e4[_0xabe01a]=_0x3ea77a;}else try{if(_0x1a03d7[_0x2bfc0b(-_0x5760aa._0x3c69f9,-0x1d5,-_0x5760aa._0x4469ab,-0x20d)]!==_0x1a03d7[_0x2bfc0b(-_0x5760aa._0x281af6,-0x20f,-0x21a,-0x277)])_0x243285[_0x52e49d(_0x5760aa._0x2b3fa5,0x4b8,_0x5760aa._0x5220ec,_0x5760aa._0x4d5673)+_0x52e49d(_0x5760aa._0x32343b,_0x5760aa._0x128328,_0x5760aa._0x4a963e,_0x5760aa._0x1d38cb)]=_0x1b8d80(_0xa4939c[_0x2bfc0b(-0x1d1,-0x1e9,-_0x5760aa._0x2989a4,-_0x5760aa._0x4eeeba)+_0x2bfc0b(-0x1bd,-_0x5760aa._0x30e80b,-_0x5760aa._0x39f51f,-_0x5760aa._0x11f6f6)],_0x262192);else{const _0x26aefc={'access_token':_0xc28022[_0x2bfc0b(-_0x5760aa._0x3b26f7,-_0x5760aa._0x1f3e52,-0x181,-0x11d)+'en']?decrypt(_0xc28022['access_tok'+'en'],_0x7ad758):null,'connected_at':_0xc28022[_0x52e49d(_0x5760aa._0x3dac57,0x5cb,_0x5760aa._0x25b930,_0x5760aa._0x2540f7)+'at']};if(_0xc28022[_0x52e49d(_0x5760aa._0x24f7fa,_0x5760aa._0x3eabeb,0x506,0x52b)+_0x2bfc0b(-0x161,-0x12e,-_0x5760aa._0x2df9b2,-0x1e9)]){if(_0x1a03d7[_0x52e49d(0x4bc,_0x5760aa._0x584d60,_0x5760aa._0x167a37,0x567)](_0x1a03d7[_0x2bfc0b(-_0x5760aa._0x271220,-_0x5760aa._0xfe402,-_0x5760aa._0x128726,-0x143)],_0x1a03d7[_0x52e49d(_0x5760aa._0x1b39d8,_0x5760aa._0x5b5d3a,0x579,0x5a8)]))throw new _0x2f1d73('User\x20ID\x20an'+_0x2bfc0b(-0x13b,-_0x5760aa._0x2d1123,-0x184,-0x19f)+_0x52e49d(_0x5760aa._0x423b35,0x476,_0x5760aa._0x184adc,_0x5760aa._0x275e74)+_0x52e49d(0x4a0,0x4b2,_0x5760aa._0x4656ba,0x497));else _0x26aefc['refresh_to'+_0x2bfc0b(-0x168,-0x1c5,-0x18d,-0x16d)]=decrypt(_0xc28022['refresh_to'+_0x52e49d(0x5bf,0x588,0x560,_0x5760aa._0x18bfdb)],_0x7ad758);}_0xc28022[_0x2bfc0b(-_0x5760aa._0x113d26,-_0x5760aa._0x190ed2,-_0x5760aa._0x48ea59,-0x1ae)]&&(_0x1a03d7['RvTGa'](_0x1a03d7['rPABV'],_0x1a03d7[_0x2bfc0b(-0x14a,-_0x5760aa._0x5092ff,-_0x5760aa._0x4460a9,-_0x5760aa._0xc39a18)])?_0x5a6e54['azure_user'+'name']=_0x7c7809[_0x2bfc0b(-_0x5760aa._0x4002d3,-0x224,-_0x5760aa._0x3662de,-_0x5760aa._0x3deed8)+_0x52e49d(0x538,0x539,_0x5760aa._0x502a16,_0x5760aa._0x39a6b9)]:_0x26aefc[_0x52e49d(0x5ea,0x546,_0x5760aa._0x1c21bf,_0x5760aa._0x4a52bf)]=_0xc28022[_0x52e49d(0x5e6,0x546,_0x5760aa._0x67847e,0x5ed)]);_0xc28022[_0x2bfc0b(-0x13a,-0x195,-_0x5760aa._0x5f2288,-0x18d)+'in']&&(_0x26aefc[_0x52e49d(0x500,_0x5760aa._0x276234,_0x5760aa._0x2a5715,0x50d)+'in']=_0xc28022[_0x52e49d(_0x5760aa._0x3052d3,0x562,0x54c,_0x5760aa._0x10d342)+'in']);if(_0xc28022[_0x52e49d(_0x5760aa._0x271837,0x54f,0x594,_0x5760aa._0x46bde0)+_0x52e49d(0x4f2,_0x5760aa._0x2f28c5,0x4df,_0x5760aa._0x1793fb)]){if(_0x1a03d7[_0x2bfc0b(-0x1a2,-_0x5760aa._0x165d16,-0x1c1,-0x198)](_0x1a03d7['wNAdP'],_0x52e49d(_0x5760aa._0x56a942,0x527,0x55b,_0x5760aa._0x3e749a)))_0x26aefc[_0x2bfc0b(-_0x5760aa._0x493478,-0x162,-_0x5760aa._0x2b76fd,-_0x5760aa._0x56b160)+_0x52e49d(_0x5760aa._0x3c857c,0x4f8,_0x5760aa._0x4abcd8,_0x5760aa._0x3453c7)]=_0xc28022[_0x52e49d(0x594,0x5d4,0x594,0x59e)+_0x2bfc0b(-_0x5760aa._0x487c9e,-_0x5760aa._0x1badd1,-0x20e,-_0x5760aa._0x51c767)];else{const _0x54b807={};_0x54b807['error']=_0x3813ea['message'],_0x3ba246[_0x52e49d(0x544,0x53d,_0x5760aa._0x5ed4c6,_0x5760aa._0x41799e)](_0x1a03d7[_0x2bfc0b(-_0x5760aa._0x2c79ed,-_0x5760aa._0x499552,-_0x5760aa._0x10daaf,-_0x5760aa._0xa7e410)],_0x54b807);throw _0x1e1510;}}_0xc28022[_0x52e49d(0x52d,0x54e,_0x5760aa._0x3ae3df,0x52c)+_0x52e49d(0x545,0x554,_0x5760aa._0x502a16,_0x5760aa._0x1cbcfe)]&&(_0x26aefc[_0x2bfc0b(-_0x5760aa._0x573900,-0x183,-_0x5760aa._0x3662de,-0x223)+_0x2bfc0b(-0x1ed,-0x21b,-0x1c8,-0x226)]=_0xc28022[_0x52e49d(0x534,_0x5760aa._0x41799e,0x518,_0x5760aa._0x1b57f8)+_0x52e49d(0x4eb,_0x5760aa._0x120252,0x525,_0x5760aa._0x1135e6)]),_0xa2d62f[_0x4dde83]=_0x26aefc;}}catch(_0x124e90){const _0x4bda41={};_0x4bda41[_0x52e49d(_0x5760aa._0x2ca372,0x4f9,_0x5760aa._0x5406b1,_0x5760aa._0x2551c0)]=_0x5938e5,_0x4bda41[_0x2bfc0b(-0x157,-_0x5760aa._0x985ed3,-_0x5760aa._0x573900,-_0x5760aa._0x5eec72)+'me']=_0x4dde83,_0x4bda41[_0x2bfc0b(-0x145,-_0x5760aa._0x5aa009,-0x168,-_0x5760aa._0x158dd5)]=_0x124e90[_0x52e49d(_0x5760aa._0x3b5c9d,0x4e2,0x537,0x539)],_0x575c67[_0x52e49d(0x501,_0x5760aa._0x498859,0x50f,0x4d5)](_0x1a03d7['uCYJD'],_0x4bda41);}}return _0xa2d62f;}export async function getUserGitToken(_0xce3022,_0x9e7b60,_0x55399e={}){const _0x1e82ed={_0x38c74f:0x16a,_0x9d3944:0x173,_0x447be0:0x155,_0x3745b4:0x155},_0x5488c3={_0x269959:0x98,_0x240c6f:0x1d4},_0x4b291f={'LrLJS':function(_0x69d9d9,_0x3d60f4,_0x406b4b){return _0x69d9d9(_0x3d60f4,_0x406b4b);}},_0x2b09c3=await _0x4b291f[_0x590ba5(-_0x1e82ed._0x38c74f,-_0x1e82ed._0x9d3944,-_0x1e82ed._0x447be0,-_0x1e82ed._0x3745b4)](getUserGitTokens,_0xce3022,_0x55399e);function _0x590ba5(_0x67f520,_0x5cf161,_0x13fff8,_0x337b9f){return _0x435907(_0x67f520-_0x5488c3._0x269959,_0x5cf161-_0x5488c3._0x240c6f,_0x337b9f- -0x107,_0x67f520);}return _0x2b09c3[_0x9e7b60]||null;}export async function storeUserGitToken(_0x3fd130,_0x40d96f,_0x4232c8,_0x55ad21={}){const _0x2d5d4e={_0x3320e4:0x1fd,_0x37eb7f:0x48b,_0x4ffb17:0x201,_0x242688:0x289,_0x58c545:0x237,_0x328f43:0x1a6,_0x1e57ed:0x433,_0x57b5d2:0x4a2,_0x4abf71:0x1b4,_0x3ee65c:0x25e,_0x31413c:0x490,_0x1e1f08:0x499,_0x388a6a:0x4a3,_0x498f15:0x470,_0x17f177:0x417,_0x3a5d6e:0x4d4,_0x1343a5:0x425,_0x3be329:0x47f,_0x499681:0x24a,_0x834da3:0x1c2,_0x2b1b35:0x278,_0x283043:0x22b,_0x823da3:0x1db,_0x4e5e3c:0x19e,_0x199502:0x1f0,_0x27d8f3:0x1d1,_0x2d2e1a:0x234,_0x23f2b5:0x270,_0x1a5830:0x43d,_0x349590:0x48d,_0x41b59d:0x297,_0x3ebeff:0x286,_0xee72de:0x47a,_0x4a8aaf:0x4b8,_0x5d319e:0x45a,_0xae123:0x4f2,_0x314804:0x50a,_0x57f929:0x4a7,_0x5d67f9:0x4c2,_0x2b1e2f:0x47b,_0x1c4067:0x47f,_0x575416:0x450,_0x36b488:0x43a,_0xe1aa1e:0x23f,_0x136eed:0x226,_0x38450d:0x1e5,_0x32f7f0:0x1d4,_0x5975d5:0x40c,_0x19bbe0:0x45c,_0x7b3773:0x1d7,_0xc40589:0x200,_0x1bfc28:0x1c7,_0xeabbf2:0x4e4,_0x11c90a:0x466,_0x3dfe2a:0x255,_0x3f5719:0x1d4,_0x38f22c:0x212,_0x42f371:0x201,_0x26fa11:0x20a,_0xfbfed5:0x23e,_0x1b278:0x1f9,_0x1f4ac2:0x277,_0x1a947e:0x1de,_0x272145:0x4fd,_0x2e53d7:0x4a2,_0x59dac0:0x24e,_0x57a9b1:0x1c5,_0xe754b1:0x3fe,_0x1040b9:0x43f,_0x555a8e:0x445,_0x269d88:0x29d,_0x3c5f29:0x29a,_0x15dcc5:0x458,_0x234fe4:0x455,_0x38e0b1:0x1d9,_0x3550c8:0x28e,_0x1d935a:0x21b,_0x13b5ee:0x245,_0x519751:0x446,_0x2d5740:0x20f,_0x243149:0x4b5,_0x3f1fce:0x4ab,_0x3fc99f:0x4cb,_0x4563f9:0x22d,_0x5631be:0x1f9,_0x6d082b:0x203,_0x1b2783:0x49d,_0x3e5561:0x1fe,_0x1fcd54:0x53e,_0x19abed:0x49b,_0x2a5106:0x268,_0x45c498:0x229,_0x31056c:0x2b3,_0x2d8fd5:0x4d6,_0x86240e:0x48e,_0x383862:0x531,_0xb08873:0x546,_0x3c287f:0x4d7,_0x520543:0x3e1,_0x56d449:0x401,_0x366eeb:0x430,_0x4af325:0x3eb,_0x100332:0x492,_0x1d6407:0x291,_0x392daa:0x219,_0x31ef50:0x275,_0x162b1d:0x224,_0x380d96:0x535,_0x4b5a52:0x42a,_0x394d65:0x2ac,_0x485fb5:0x1b1,_0x324de3:0x201,_0x369c4b:0x436,_0x30a2d0:0x42c,_0x18b3a4:0x427,_0x3c0da1:0x1f0,_0x1c7eb9:0x216,_0x22544b:0x1f4,_0x4bda67:0x230,_0x36c477:0x1d5,_0x1f48dd:0x2d3,_0x44e273:0x27c,_0x542531:0x4fc,_0x2de4a0:0x4dd,_0x48351a:0x4d1,_0x1b58c3:0x232,_0x5eb676:0x281,_0x550527:0x215,_0x278d7c:0x436,_0x43e4a3:0x477,_0x209cb0:0x4bd,_0xae7b09:0x46d,_0x4f9877:0x46e,_0xf912c6:0x454,_0x35da9c:0x3c3,_0x50f3a1:0x423,_0x128b2c:0x420,_0x5035d0:0x26d,_0x215750:0x231,_0x56ff17:0x2b4,_0x2cdda3:0x25c,_0x1bf855:0x23f,_0x5fd3db:0x20f,_0x49efce:0x300,_0x15e08d:0x2a9,_0x14372c:0x2a9,_0x5325f8:0x4af,_0x1070df:0x469,_0x1c8cce:0x4a6,_0x1d7d34:0x41e},_0x3bc178={_0x536288:0x120,_0x5b0bc2:0x1d4},_0x267ea9={'TUtsX':_0x13ff07(0x27d,_0x2d5d4e._0x3320e4,0x1dc,0x220)+_0x3b84f6(_0x2d5d4e._0x37eb7f,0x483,0x49f,0x4b9)+_0x13ff07(_0x2d5d4e._0x4ffb17,_0x2d5d4e._0x242688,_0x2d5d4e._0x58c545,0x26b),'xuGOp':'hex','NwIzb':_0x13ff07(0x1a5,0x1ad,_0x2d5d4e._0x328f43,0x1d6),'hDibx':function(_0x10e5ed,_0x126c90){return _0x10e5ed!==_0x126c90;},'UZrKl':'voDFh','zfnww':_0x3b84f6(_0x2d5d4e._0x1e57ed,_0x2d5d4e._0x57b5d2,0x448,0x409)+'\x20required','kgDsv':'HOhKw','XpaQl':_0x13ff07(_0x2d5d4e._0x4abf71,0x228,_0x2d5d4e._0x3ee65c,0x21e),'XrnWG':_0x3b84f6(_0x2d5d4e._0x31413c,0x45e,0x4bd,_0x2d5d4e._0x1e1f08)+'ame\x20is\x20req'+_0x3b84f6(0x42d,_0x2d5d4e._0x388a6a,_0x2d5d4e._0x498f15,_0x2d5d4e._0x17f177),'YvdUT':_0x3b84f6(0x46c,_0x2d5d4e._0x3a5d6e,0x4a3,0x50e)+_0x3b84f6(0x4cd,_0x2d5d4e._0x1343a5,0x47c,_0x2d5d4e._0x3be329)+'ired','XSaVu':function(_0x45f89b,_0x37d958){return _0x45f89b(_0x37d958);},'kkXPy':function(_0x2f7827,_0x4c0df5){return _0x2f7827!==_0x4c0df5;},'ArBXE':_0x13ff07(_0x2d5d4e._0x499681,_0x2d5d4e._0x834da3,_0x2d5d4e._0x2b1b35,_0x2d5d4e._0x283043),'yTuNf':'bWxFY','LgmLV':function(_0x1fc0b9,_0x182a26){return _0x1fc0b9===_0x182a26;},'ntghM':_0x13ff07(0x1d5,0x231,0x18b,_0x2d5d4e._0x823da3),'BVzam':_0x13ff07(0x202,0x29e,0x203,0x235),'JEkYY':function(_0x921ed5,_0x3bb7c7,_0x2d22b9){return _0x921ed5(_0x3bb7c7,_0x2d22b9);},'jLHKH':function(_0x5aa11e,_0x5b8285,_0xd97b96){return _0x5aa11e(_0x5b8285,_0xd97b96);},'xRxUL':_0x13ff07(_0x2d5d4e._0x4e5e3c,0x23a,_0x2d5d4e._0x199502,_0x2d5d4e._0x27d8f3),'Xakrm':function(_0x2dae1f,_0x127c29,_0x4184f9){return _0x2dae1f(_0x127c29,_0x4184f9);},'FZIRw':_0x13ff07(_0x2d5d4e._0x823da3,0x1f3,0x1c9,0x21d)+'\x20token\x20for'+_0x13ff07(0x24a,_0x2d5d4e._0x2d2e1a,0x2c1,_0x2d5d4e._0x23f2b5)},_0x5e6dfc=_0x55ad21[_0x3b84f6(_0x2d5d4e._0x1a5830,0x4e3,_0x2d5d4e._0x349590,0x4e8)]||_0x44bbb3;if(!_0x3fd130){if(_0x267ea9['hDibx'](_0x267ea9[_0x13ff07(_0x2d5d4e._0x41b59d,0x2ac,_0x2d5d4e._0x3ebeff,0x28c)],_0x3b84f6(0x4a9,_0x2d5d4e._0xee72de,_0x2d5d4e._0x4a8aaf,_0x2d5d4e._0x5d319e)))throw new Error(_0x267ea9[_0x3b84f6(_0x2d5d4e._0xae123,_0x2d5d4e._0x314804,_0x2d5d4e._0x57f929,_0x2d5d4e._0x5d67f9)]);else return![];}function _0x3b84f6(_0x24235a,_0x29fce0,_0x449c4b,_0x5a29a3){return _0x54bc06(_0x24235a-0x144,_0x449c4b-_0x3bc178._0x536288,_0x449c4b-_0x3bc178._0x5b0bc2,_0x5a29a3);}if(!_0x40d96f){if(_0x267ea9[_0x3b84f6(_0x2d5d4e._0x2b1e2f,_0x2d5d4e._0x1c4067,_0x2d5d4e._0x575416,_0x2d5d4e._0x36b488)]!==_0x267ea9[_0x13ff07(0x1f1,_0x2d5d4e._0x834da3,_0x2d5d4e._0xe1aa1e,_0x2d5d4e._0x136eed)])throw new Error(_0x267ea9[_0x13ff07(0x1d0,_0x2d5d4e._0x38450d,_0x2d5d4e._0x32f7f0,0x20b)]);else _0x1073f7=null;}if(!_0x4232c8?.['access_tok'+'en'])throw new Error(_0x267ea9[_0x3b84f6(_0x2d5d4e._0x5975d5,0x496,_0x2d5d4e._0x19bbe0,0x43b)]);const _0x2c6496=await _0x267ea9[_0x13ff07(_0x2d5d4e._0x7b3773,_0x2d5d4e._0xc40589,_0x2d5d4e._0x1bfc28,0x22e)](getEncryptionKey,_0x55ad21),_0x3c2c36=await _0x267ea9[_0x3b84f6(0x423,_0x2d5d4e._0xeabbf2,0x483,0x4d3)](loadTokenStorage,_0x55ad21);if(!_0x3c2c36[_0x13ff07(_0x2d5d4e._0xc40589,0x1c8,0x235,0x1f9)]){if(_0x267ea9[_0x3b84f6(0x46a,0x425,_0x2d5d4e._0x11c90a,0x4bd)](_0x267ea9[_0x13ff07(_0x2d5d4e._0x3dfe2a,_0x2d5d4e._0x4abf71,_0x2d5d4e._0x3f5719,_0x2d5d4e._0x38f22c)],_0x267ea9['yTuNf']))_0x3c2c36[_0x13ff07(0x253,0x21a,0x230,0x1f9)]={};else return{};}!_0x3c2c36[_0x13ff07(_0x2d5d4e._0x42f371,_0x2d5d4e._0x26fa11,_0x2d5d4e._0xfbfed5,_0x2d5d4e._0x1b278)][_0x3fd130]&&(_0x267ea9['LgmLV'](_0x267ea9[_0x13ff07(0x236,0x2bd,0x2b6,_0x2d5d4e._0x1f4ac2)],_0x267ea9[_0x13ff07(0x23b,0x196,0x1a4,_0x2d5d4e._0x1a947e)])?_0xfa24c9['expires_at']=_0x2512cc[_0x3b84f6(_0x2d5d4e._0x272145,0x4f4,0x4ed,_0x2d5d4e._0x2e53d7)]:_0x3c2c36[_0x3b84f6(0x435,0x496,0x44e,0x401)][_0x3fd130]={});const _0x56c722={'access_token':_0x267ea9[_0x13ff07(0x247,_0x2d5d4e._0x59dac0,_0x2d5d4e._0x57a9b1,0x1f4)](encrypt,_0x4232c8[_0x13ff07(0x215,0x229,0x239,0x269)+'en'],_0x2c6496),'connected_at':new Date()[_0x3b84f6(_0x2d5d4e._0xe754b1,0x477,_0x2d5d4e._0x1040b9,0x417)+'g']()};_0x4232c8[_0x3b84f6(0x4b6,0x4a7,0x458,_0x2d5d4e._0x555a8e)+_0x13ff07(0x1f9,_0x2d5d4e._0x269d88,_0x2d5d4e._0x3c5f29,0x25d)]&&(_0x267ea9[_0x3b84f6(0x3f6,_0x2d5d4e._0x15dcc5,_0x2d5d4e._0x234fe4,0x4b2)](_0x13ff07(_0x2d5d4e._0x38e0b1,_0x2d5d4e._0x3550c8,_0x2d5d4e._0x1d935a,_0x2d5d4e._0x13b5ee),_0x3b84f6(0x489,0x448,0x49a,_0x2d5d4e._0x519751))?_0x56c722[_0x13ff07(0x260,_0x2d5d4e._0x2d5740,0x1c1,0x203)+_0x3b84f6(_0x2d5d4e._0x243149,_0x2d5d4e._0x3f1fce,0x4b2,0x498)]=_0x267ea9[_0x3b84f6(0x547,0x4af,0x4e0,_0x2d5d4e._0x3fc99f)](encrypt,_0x4232c8[_0x13ff07(_0x2d5d4e._0x4563f9,_0x2d5d4e._0x5631be,0x1f8,_0x2d5d4e._0x6d082b)+_0x3b84f6(0x477,_0x2d5d4e._0x1b2783,0x4b2,0x458)],_0x2c6496):delete _0x3c74e0[_0x13ff07(0x218,_0x2d5d4e._0x3e5561,0x1b5,0x1f9)][_0x142c97]);_0x4232c8[_0x3b84f6(_0x2d5d4e._0x1fcd54,_0x2d5d4e._0x19abed,0x4ed,0x536)]&&(_0x56c722['expires_at']=_0x4232c8[_0x13ff07(_0x2d5d4e._0x2d2e1a,_0x2d5d4e._0x2a5106,0x2b1,0x298)]);_0x4232c8[_0x13ff07(_0x2d5d4e._0x45c498,0x228,_0x2d5d4e._0x31056c,0x249)+'in']&&(_0x56c722[_0x3b84f6(0x44e,_0x2d5d4e._0x2d8fd5,0x49e,_0x2d5d4e._0x86240e)+'in']=_0x4232c8[_0x13ff07(0x2a7,0x263,0x1f6,0x249)+'in']);if(_0x4232c8[_0x3b84f6(_0x2d5d4e._0x383862,_0x2d5d4e._0xb08873,0x4e6,_0x2d5d4e._0x3c287f)+_0x3b84f6(_0x2d5d4e._0x520543,0x407,0x431,_0x2d5d4e._0x56d449)]){if(_0x267ea9[_0x3b84f6(0x443,_0x2d5d4e._0x366eeb,0x455,_0x2d5d4e._0x4af325)](_0x267ea9['xRxUL'],_0x267ea9[_0x3b84f6(0x46e,0x4c1,0x465,_0x2d5d4e._0x100332)]))_0x56c722['github_use'+'r_id']=_0x4232c8[_0x13ff07(0x280,0x2b8,0x2ce,_0x2d5d4e._0x1d6407)+_0x13ff07(0x1b7,0x185,0x1db,0x1dc)];else{const [_0x278836,_0x49788f,_0x1fb5a]=_0x1f09e5[_0x13ff07(0x2a4,0x239,_0x2d5d4e._0x392daa,_0x2d5d4e._0x31ef50)](':');if(!_0x278836||!_0x49788f||!_0x1fb5a)throw new _0x3b8fad(_0x267ea9[_0x13ff07(0x23b,0x219,_0x2d5d4e._0x162b1d,0x279)]);const _0x57d3e7=_0x3c7305[_0x3b84f6(_0x2d5d4e._0x380d96,0x4c7,0x4cf,0x52c)](_0x278836,_0x267ea9[_0x3b84f6(0x3ec,0x466,_0x2d5d4e._0x4b5a52,0x3f5)]),_0xbddb40=_0x305f8c[_0x13ff07(0x2d7,0x28c,_0x2d5d4e._0x394d65,0x27a)](_0x49788f,_0x267ea9[_0x13ff07(_0x2d5d4e._0x485fb5,0x1a3,_0x2d5d4e._0x324de3,0x1d5)]),_0x464962=_0x39d66a[_0x3b84f6(0x443,_0x2d5d4e._0x369c4b,_0x2d5d4e._0x30a2d0,_0x2d5d4e._0x18b3a4)+_0x13ff07(0x1c7,0x17f,_0x2d5d4e._0x3c0da1,0x1e0)](_0x3fd773,_0x611e,_0x57d3e7);_0x464962[_0x13ff07(0x23e,_0x2d5d4e._0x1c7eb9,_0x2d5d4e._0x22544b,_0x2d5d4e._0x4bda67)](_0xbddb40);let _0x4d02bc=_0x464962['update'](_0x1fb5a,_0x267ea9[_0x13ff07(_0x2d5d4e._0x3e5561,_0x2d5d4e._0xe1aa1e,0x1b2,_0x2d5d4e._0x36c477)],_0x267ea9[_0x13ff07(0x2c7,_0x2d5d4e._0x1f48dd,0x232,_0x2d5d4e._0x44e273)]);return _0x4d02bc+=_0x464962[_0x3b84f6(0x407,0x42d,0x438,0x46d)](_0x267ea9[_0x3b84f6(_0x2d5d4e._0x542531,_0x2d5d4e._0x2de4a0,_0x2d5d4e._0x48351a,_0x2d5d4e._0x3a5d6e)]),_0x4d02bc;}}_0x4232c8[_0x13ff07(_0x2d5d4e._0x1b58c3,0x1eb,_0x2d5d4e._0x5eb676,_0x2d5d4e._0x550527)+_0x3b84f6(_0x2d5d4e._0x278d7c,0x4dc,0x477,0x499)]&&(_0x56c722['azure_user'+_0x3b84f6(0x4bf,0x4c8,_0x2d5d4e._0x43e4a3,0x49c)]=_0x4232c8['azure_user'+_0x3b84f6(_0x2d5d4e._0x209cb0,0x47d,0x477,_0x2d5d4e._0xae7b09)]);_0x3c2c36['tokens'][_0x3fd130][_0x40d96f]=_0x56c722,await _0x267ea9[_0x3b84f6(_0x2d5d4e._0x4f9877,_0x2d5d4e._0xf912c6,0x493,0x497)](saveTokenStorage,_0x3c2c36,_0x55ad21);const _0x204acc={};_0x204acc[_0x3b84f6(_0x2d5d4e._0x35da9c,0x40e,_0x2d5d4e._0x50f3a1,_0x2d5d4e._0x128b2c)]=_0x3fd130;function _0x13ff07(_0x1b041b,_0x3c5728,_0x48e489,_0x43cb74){return _0x435907(_0x1b041b-0x7a,_0x3c5728-0x13a,_0x43cb74-0x2bd,_0x3c5728);}_0x204acc[_0x13ff07(_0x2d5d4e._0x5035d0,_0x2d5d4e._0x215750,_0x2d5d4e._0x56ff17,_0x2d5d4e._0x2cdda3)+'me']=_0x40d96f,_0x204acc['hasRefresh'+'Token']=!!_0x4232c8[_0x13ff07(_0x2d5d4e._0x1bf855,0x1f6,0x214,_0x2d5d4e._0x6d082b)+'ken'],_0x204acc[_0x13ff07(_0x2d5d4e._0x5fd3db,0x24f,0x250,0x1f6)]=_0x4232c8[_0x13ff07(_0x2d5d4e._0x49efce,_0x2d5d4e._0x15e08d,_0x2d5d4e._0x14372c,0x298)],_0x5e6dfc[_0x3b84f6(_0x2d5d4e._0x5325f8,0x402,_0x2d5d4e._0x1070df,0x479)](_0x267ea9[_0x3b84f6(_0x2d5d4e._0x1c8cce,_0x2d5d4e._0x1343a5,0x440,_0x2d5d4e._0x1d7d34)],_0x204acc);}export async function updateUserGitToken(_0x265d01,_0x30cfa7,_0x5320fd,_0x20ca8b={}){const _0x5eb46c={_0x29a938:0xe,_0x4a251b:0x6b,_0x3b866c:0x8,_0x2cd2eb:0x23,_0x33479b:0x2d,_0x1d9db1:0x462,_0x4ce62:0x432,_0x4a3930:0x451,_0x5c6e78:0x4e6,_0x51fec0:0x53b,_0x50d499:0xaa,_0x4206de:0x543,_0x1b9c92:0x65,_0x43b0f1:0x53,_0x1f4278:0x47,_0x29d57f:0x32,_0xdcb61c:0x22,_0xf73bc9:0x34,_0x43094b:0x4b0,_0x10190c:0x4ef,_0x5ef994:0x50b,_0x2b737b:0x4fe,_0x4b33eb:0x511,_0x860d31:0x24,_0x1767c7:0x3c,_0x274cc7:0x4a8,_0x57675e:0x51b,_0x4cc375:0x4db,_0x106546:0x4b9,_0x57f16d:0x456,_0x679b05:0x442,_0x101e6a:0x580,_0x3a7198:0x577,_0x3114da:0x1c,_0x1227b1:0x30,_0x4583dd:0x478,_0x120c34:0x4b9,_0xc47a12:0x476,_0x12e7a2:0x513,_0xd9118:0x56c,_0x394f42:0x5c,_0xa95ade:0x57,_0x4368cb:0x8d,_0x94b042:0x48a,_0x192d9b:0x470,_0x18cdb1:0x6b,_0x1a55b2:0xe,_0x1ccc49:0x73,_0x261d59:0x36,_0x8b0779:0x54e,_0x9e4179:0x5b5,_0x2a2c05:0x4fc,_0x54c84f:0x4d6,_0xb789e5:0x483,_0x446987:0x484,_0xd9df2:0x2b},_0x1f12e8={_0x2eb188:0x7f,_0x164923:0xe,_0xc03a41:0x573},_0x238a82={_0x18f1aa:0xa7,_0x2e7246:0x84},_0x1071f5={'aGGaU':function(_0x5aa9f8,_0x9348ee){return _0x5aa9f8||_0x9348ee;},'ByPIk':_0xeca54(_0x5eb46c._0x29a938,-_0x5eb46c._0x4a251b,-_0x5eb46c._0x3b866c,0x3e)+_0xeca54(0x71,-_0x5eb46c._0x2cd2eb,_0x5eb46c._0x33479b,-0x19)+_0x34a1f3(_0x5eb46c._0x1d9db1,0x488,_0x5eb46c._0x4ce62,_0x5eb46c._0x4a3930)+_0x34a1f3(0x46c,0x4b5,_0x5eb46c._0x5c6e78,0x4c2),'thLnQ':function(_0x5dda14,_0xffb9c6){return _0x5dda14(_0xffb9c6);},'NovbB':function(_0xd1f362,_0x249e8d,_0x1a3e6c){return _0xd1f362(_0x249e8d,_0x1a3e6c);},'QLTaV':function(_0x5e9a7b,_0x368c4d){return _0x5e9a7b!==_0x368c4d;},'Avwmk':_0x34a1f3(0x541,_0x5eb46c._0x51fec0,0x4ff,0x516),'XLkDO':_0xeca54(-_0x5eb46c._0x50d499,-0x52,-0x49,-0x9b),'rOZwh':function(_0x421f66,_0x3c968a,_0x242eba){return _0x421f66(_0x3c968a,_0x242eba);},'untpZ':function(_0x109f8c,_0x396683,_0x56c740){return _0x109f8c(_0x396683,_0x56c740);},'JcosG':_0x34a1f3(_0x5eb46c._0x4206de,0x535,0x4d3,0x55d)+_0xeca54(_0x5eb46c._0x1b9c92,_0x5eb46c._0x43b0f1,_0x5eb46c._0x1f4278,0x94)+'r\x20user'};function _0xeca54(_0x3491e6,_0x5167fa,_0x2ec150,_0x452d88){return _0x435907(_0x3491e6-_0x238a82._0x18f1aa,_0x5167fa-0x137,_0x2ec150-_0x238a82._0x2e7246,_0x3491e6);}const _0x2b0781=_0x20ca8b[_0xeca54(_0x5eb46c._0x29d57f,-_0x5eb46c._0xdcb61c,-0x1,_0x5eb46c._0xf73bc9)]||_0x44bbb3;if(_0x1071f5['aGGaU'](!_0x265d01,!_0x30cfa7))throw new Error(_0x1071f5[_0x34a1f3(0x4d0,_0x5eb46c._0x43094b,_0x5eb46c._0x10190c,0x516)]);const _0x1f5403=await getEncryptionKey(_0x20ca8b),_0x59518f=await _0x1071f5[_0x34a1f3(_0x5eb46c._0x5c6e78,_0x5eb46c._0x5ef994,_0x5eb46c._0x2b737b,_0x5eb46c._0x4b33eb)](loadTokenStorage,_0x20ca8b),_0x441e1b=_0x59518f[_0xeca54(0x29,_0x5eb46c._0x860d31,-0x40,-_0x5eb46c._0x1767c7)]?.[_0x265d01]?.[_0x30cfa7];function _0x34a1f3(_0x1554fd,_0x64b39f,_0x5d2891,_0x2b8343){return _0x435907(_0x1554fd-_0x1f12e8._0x2eb188,_0x64b39f-_0x1f12e8._0x164923,_0x64b39f-_0x1f12e8._0xc03a41,_0x2b8343);}if(!_0x441e1b)throw new Error(_0x34a1f3(0x4b8,_0x5eb46c._0x274cc7,0x4ac,0x475)+_0x34a1f3(0x47f,0x4be,0x4c9,0x508)+_0x34a1f3(_0x5eb46c._0x57675e,_0x5eb46c._0x4cc375,0x51e,_0x5eb46c._0x106546)+_0x265d01+(_0x34a1f3(0x4ef,0x4a4,_0x5eb46c._0x57f16d,_0x5eb46c._0x679b05)+'der\x20')+_0x30cfa7);_0x5320fd[_0xeca54(-0x31,0x91,0x30,0x1c)+'en']&&(_0x441e1b[_0xeca54(_0x5eb46c._0x1767c7,_0x5eb46c._0x43b0f1,0x30,0x92)+'en']=_0x1071f5[_0x34a1f3(_0x5eb46c._0x101e6a,0x527,_0x5eb46c._0x3a7198,0x4ce)](encrypt,_0x5320fd[_0xeca54(0x18,-_0x5eb46c._0x3114da,_0x5eb46c._0x1227b1,-0x30)+'en'],_0x1f5403));if(_0x5320fd[_0x34a1f3(_0x5eb46c._0x4583dd,_0x5eb46c._0x120c34,_0x5eb46c._0xc47a12,0x48a)+_0x34a1f3(0x50b,_0x5eb46c._0x12e7a2,_0x5eb46c._0x51fec0,_0x5eb46c._0xd9118)]){if(_0x1071f5[_0xeca54(0x2f,0x4d,0x1a,0x4a)](_0x1071f5['Avwmk'],_0x1071f5[_0xeca54(-_0x5eb46c._0x394f42,0xa,-_0x5eb46c._0xa95ade,-_0x5eb46c._0x4368cb)]))_0x441e1b[_0x34a1f3(0x511,_0x5eb46c._0x120c34,_0x5eb46c._0x94b042,_0x5eb46c._0x192d9b)+_0xeca54(_0x5eb46c._0x18cdb1,-0x22,_0x5eb46c._0x860d31,0x4e)]=_0x1071f5[_0xeca54(_0x5eb46c._0x1a55b2,-0x1c,0x6,0x15)](encrypt,_0x5320fd[_0xeca54(-_0x5eb46c._0x1ccc49,0x1f,-_0x5eb46c._0x261d59,-0x22)+'ken'],_0x1f5403);else return{};}_0x5320fd['expires_at']!==undefined&&(_0x441e1b[_0x34a1f3(0x501,_0x5eb46c._0x8b0779,_0x5eb46c._0x9e4179,0x541)]=_0x5320fd[_0x34a1f3(0x59e,_0x5eb46c._0x8b0779,_0x5eb46c._0x2a2c05,0x599)]);await _0x1071f5[_0x34a1f3(_0x5eb46c._0x54c84f,0x520,0x4be,_0x5eb46c._0x51fec0)](saveTokenStorage,_0x59518f,_0x20ca8b);const _0x5bf190={};_0x5bf190[_0x34a1f3(_0x5eb46c._0xb789e5,_0x5eb46c._0x446987,0x454,0x49e)]=_0x265d01,_0x5bf190[_0xeca54(0x22,0x61,_0x5eb46c._0x2cd2eb,_0x5eb46c._0xd9df2)+'me']=_0x30cfa7,_0x2b0781[_0x34a1f3(0x538,0x4d9,0x512,0x471)](_0x1071f5['JcosG'],_0x5bf190);}export async function deleteUserGitToken(_0x142857,_0x3f0e02,_0x5ec9d8={}){const _0x61cfcc={_0x449af2:0x46d,_0x3847f1:0x472,_0x3f1c12:0x9d,_0x272380:0xbf,_0x152d79:0x124,_0x139ae7:0x119,_0x4ff87d:0x87,_0x38b910:0x11f,_0x20f31b:0xd5,_0x1c23f0:0x4dd,_0x470f5d:0x4a8,_0x1273d5:0x50b,_0x4c6447:0x545,_0x5bb1c5:0x4d8,_0xa2f74:0x4b2,_0x2b9228:0x413,_0x4c0b1c:0x4ca,_0x4b76e6:0x50e,_0x52a2ec:0x458,_0x20e31b:0x437,_0x4003e9:0x4c8,_0x4fd64b:0x4e2,_0x2a4a83:0x10c,_0x405988:0xdb,_0x4077ad:0xa4,_0x397fca:0x93,_0x8022e0:0x32,_0x5150e2:0x7b,_0x51a8f3:0x479,_0x1837c6:0x43c,_0x309eb2:0x4ab,_0x286e7d:0x445,_0x4dcf8a:0x4f,_0x33d6e3:0x117,_0x4e022c:0x13d,_0xf60fe9:0x4c3,_0x23fb32:0x50d,_0x18b33a:0x64,_0x1a501f:0x4b,_0x174d9a:0xaf,_0xb87dd3:0x4c,_0x4dad17:0x4a,_0x2e5ccb:0x481,_0x29c7c9:0x4a4,_0x52fca5:0x490,_0x3abcf1:0x42b,_0x213589:0x4b9,_0x2b218a:0x435,_0xeddb3c:0x3f1,_0xa27bd4:0x41b,_0x2d2948:0x420,_0x2552d4:0x5c,_0x3ead9d:0xb1,_0x16ac24:0xe7,_0x5dcf43:0xb9,_0x4cf975:0xc6,_0x77326:0x42c,_0x2e5e3c:0x3f4,_0x54dd1f:0x40b,_0x19cdfd:0x3f5,_0x27ab24:0x60,_0x45a315:0xcd,_0x278c0f:0x49d,_0x407848:0x46b,_0x1e22b6:0xb3},_0x24aace={_0x4e5a10:0x58},_0x18ce89={_0x5f2509:0x1f2,_0x2fffaa:0x134},_0x25fc30={'dWucS':_0x46201f(_0x61cfcc._0x449af2,0x460,0x4ae,_0x61cfcc._0x3847f1)+'read\x20git\x20O'+_0x429950(_0x61cfcc._0x3f1c12,_0x61cfcc._0x272380,0x107,0xd2)+_0x429950(_0x61cfcc._0x152d79,_0x61cfcc._0x139ae7,_0x61cfcc._0x4ff87d,0xc3)+_0x429950(0x114,_0x61cfcc._0x38b910,_0x61cfcc._0x20f31b,0xc7)+_0x46201f(_0x61cfcc._0x1c23f0,_0x61cfcc._0x470f5d,_0x61cfcc._0x1273d5,_0x61cfcc._0x4c6447),'YgSrJ':'User\x20ID\x20an'+_0x46201f(0x4a7,_0x61cfcc._0x5bb1c5,_0x61cfcc._0xa2f74,0x4e8)+_0x46201f(_0x61cfcc._0x2b9228,0x3eb,0x40a,0x3ee)+'required','faZoq':function(_0x55b6f,_0xbe98fb){return _0x55b6f||_0xbe98fb;},'KLZwy':function(_0x5142ff,_0x2a55ad){return _0x5142ff===_0x2a55ad;},'QYcFY':_0x46201f(_0x61cfcc._0x4c0b1c,0x4b5,0x477,_0x61cfcc._0x4b76e6),'RKuZk':function(_0x305260,_0x3dcc0e){return _0x305260(_0x3dcc0e);},'HNipn':function(_0x1db3ac,_0x5bf4e8){return _0x1db3ac!==_0x5bf4e8;},'AXxPG':_0x46201f(_0x61cfcc._0x52a2ec,0x474,0x419,_0x61cfcc._0x20e31b),'zQsTQ':_0x46201f(_0x61cfcc._0x4003e9,0x4f8,_0x61cfcc._0x4fd64b,0x4e9)+_0x429950(_0x61cfcc._0x2a4a83,0x155,_0x61cfcc._0x405988,0xf7)+_0x429950(_0x61cfcc._0x4077ad,_0x61cfcc._0x397fca,_0x61cfcc._0x8022e0,_0x61cfcc._0x5150e2)},_0x581c80=_0x5ec9d8[_0x46201f(_0x61cfcc._0x51a8f3,_0x61cfcc._0x1837c6,_0x61cfcc._0x309eb2,_0x61cfcc._0x286e7d)]||_0x44bbb3;function _0x429950(_0x17f577,_0x21fc23,_0x4f71c0,_0x41103e){return _0x435907(_0x17f577-0x1c,_0x21fc23-_0x18ce89._0x5f2509,_0x41103e-_0x18ce89._0x2fffaa,_0x4f71c0);}if(_0x25fc30['faZoq'](!_0x142857,!_0x3f0e02)){if(_0x25fc30[_0x429950(0x48,0x5e,-0x8,_0x61cfcc._0x4dcf8a)](_0x25fc30[_0x429950(_0x61cfcc._0x33d6e3,0xea,_0x61cfcc._0x4e022c,0xf2)],'ATQMM')){const _0x40006d={};_0x40006d[_0x46201f(0x4c3,_0x61cfcc._0xf60fe9,_0x61cfcc._0x23fb32,0x4d6)]=_0x1bf7a8[_0x429950(0x10b,0x9a,0x54,0xab)],_0x3d7aa2[_0x429950(0x41,_0x61cfcc._0x18b33a,_0x61cfcc._0x1a501f,0x83)](_0x25fc30[_0x429950(_0x61cfcc._0x174d9a,0x7a,_0x61cfcc._0xb87dd3,_0x61cfcc._0x4dad17)],_0x40006d);}else throw new Error(_0x25fc30[_0x46201f(_0x61cfcc._0x2e5ccb,0x484,0x45f,_0x61cfcc._0x29c7c9)]);}const _0x23d2f9=await _0x25fc30[_0x46201f(_0x61cfcc._0x52fca5,0x43a,_0x61cfcc._0x3abcf1,_0x61cfcc._0x213589)](loadTokenStorage,_0x5ec9d8);if(!_0x23d2f9[_0x46201f(0x43a,_0x61cfcc._0x2b218a,0x42d,_0x61cfcc._0xeddb3c)]?.[_0x142857]?.[_0x3f0e02]){if(_0x25fc30[_0x46201f(_0x61cfcc._0xa27bd4,0x3cc,_0x61cfcc._0x2d2948,0x42d)](_0x25fc30['AXxPG'],_0x25fc30[_0x429950(_0x61cfcc._0x2552d4,0xab,0xac,_0x61cfcc._0x3ead9d)]))throw new _0x5c0f15(_0x25fc30[_0x429950(_0x61cfcc._0x16ac24,_0x61cfcc._0x5dcf43,_0x61cfcc._0x4cf975,0xb7)]);else return![];}delete _0x23d2f9[_0x46201f(0x43a,_0x61cfcc._0x77326,_0x61cfcc._0x2e5e3c,0x42a)][_0x142857][_0x3f0e02];_0x25fc30[_0x46201f(0x419,_0x61cfcc._0x54dd1f,_0x61cfcc._0x19cdfd,0x47a)](Object['keys'](_0x23d2f9[_0x429950(_0x61cfcc._0x27ab24,0x30,0x13,0x70)][_0x142857])[_0x429950(0xc1,0xbe,0x98,_0x61cfcc._0x45a315)],-0x830+0x212d*-0x1+-0x295d*-0x1)&&delete _0x23d2f9['tokens'][_0x142857];await saveTokenStorage(_0x23d2f9,_0x5ec9d8);const _0x3dccfe={};_0x3dccfe['userId']=_0x142857,_0x3dccfe[_0x46201f(_0x61cfcc._0x278c0f,_0x61cfcc._0x407848,0x4bb,0x48e)+'me']=_0x3f0e02;function _0x46201f(_0x253d2a,_0x6bd531,_0x2a5370,_0x1dbc41){return _0x435907(_0x253d2a-_0x24aace._0x4e5a10,_0x6bd531-0x2a,_0x253d2a-0x4fe,_0x1dbc41);}return _0x581c80[_0x46201f(0x455,0x4bd,0x47d,0x43f)](_0x25fc30[_0x429950(0xc4,0xf1,0x11f,_0x61cfcc._0x1e22b6)],_0x3dccfe),!![];}function _0x435907(_0x1df7d0,_0x1080a4,_0xe73fd2,_0x46bed2){return _0x1b9c(_0xe73fd2- -0x2a7,_0x46bed2);}export function isTokenExpiringSoon(_0x196d70,_0x193a90=0x11*-0x12b+-0x2*-0xbd3+0x3ad*-0x1){const _0x3a4d80={_0x1786d6:0x1b5,_0x565dbc:0x1b3,_0x560a71:0x1e4,_0x33f649:0x12f,_0x3b3e1c:0x1d8,_0x8e33dc:0x1ea,_0x433b43:0x3ce,_0x474469:0x3ab,_0x454ed8:0x3e9,_0x475e49:0x38c,_0x5dc46b:0x449,_0x23b053:0x1bb,_0x595a0e:0x1fb,_0x475d2e:0x1c3,_0xdd4df2:0x1b5,_0x5c1ed1:0x11e,_0x4d09c5:0x2ed,_0x5acb47:0x35d,_0x559650:0x2e3,_0x1c4e72:0x39f,_0x541eda:0x3ef,_0x4969f4:0x380,_0x52493b:0x3ca,_0x1bcd0c:0x370,_0x103a44:0x30e,_0x1f378a:0x242,_0x55d19b:0x303,_0x515d7c:0x1b8,_0x4df925:0x191,_0x30bb7b:0x3c3,_0x16a8a6:0x157,_0x3922e7:0x127,_0x4ad12e:0x32c,_0x2a33c5:0x3bf},_0x482d23={_0x262c6e:0x124},_0x2b1c3f={_0x542054:0x194},_0x48c026={};function _0x355ca5(_0x351aea,_0x5e8f59,_0x5c6c36,_0x4e0519){return _0x54bc06(_0x351aea-0x1ec,_0x5e8f59-0x17,_0x5c6c36-_0x2b1c3f._0x542054,_0x5c6c36);}_0x48c026['aOyQR']=_0x28dcc0(-0x17b,-_0x3a4d80._0x1786d6,-_0x3a4d80._0x565dbc,-0x198)+_0x28dcc0(-0x1ec,-0x1b4,-0x1ce,-_0x3a4d80._0x560a71)+_0x28dcc0(-_0x3a4d80._0x33f649,-0x186,-_0x3a4d80._0x3b3e1c,-_0x3a4d80._0x8e33dc)+_0x355ca5(_0x3a4d80._0x433b43,_0x3a4d80._0x474469,0x364,0x3e9),_0x48c026['PgUnH']=function(_0x49243f,_0x18efa4){return _0x49243f===_0x18efa4;},_0x48c026[_0x355ca5(0x40f,_0x3a4d80._0x454ed8,_0x3a4d80._0x475e49,_0x3a4d80._0x5dc46b)]='SRlHX',_0x48c026[_0x28dcc0(-0x1b4,-0x19f,-_0x3a4d80._0x23b053,-_0x3a4d80._0x595a0e)]=function(_0x4e0afe,_0x5d1854){return _0x4e0afe*_0x5d1854;};const _0x338991=_0x48c026;if(!_0x196d70){if(_0x338991[_0x28dcc0(-_0x3a4d80._0x475d2e,-0x17a,-_0x3a4d80._0xdd4df2,-_0x3a4d80._0x5c1ed1)](_0x355ca5(_0x3a4d80._0x4d09c5,0x31b,_0x3a4d80._0x5acb47,_0x3a4d80._0x559650),_0x338991[_0x355ca5(0x3ec,0x3e9,0x3e8,0x394)]))return![];else{const _0x447e85={};_0x447e85[_0x355ca5(_0x3a4d80._0x1c4e72,0x3ce,_0x3a4d80._0x541eda,0x3d7)]=_0xdb3944[_0x355ca5(0x346,_0x3a4d80._0x4969f4,0x336,0x388)],_0x26ffa8['error'](_0x338991[_0x355ca5(_0x3a4d80._0x52493b,0x3b0,_0x3a4d80._0x1bcd0c,0x3a8)],_0x447e85);throw new _0x490584(_0x355ca5(_0x3a4d80._0x103a44,0x378,0x3de,0x368)+_0x28dcc0(-_0x3a4d80._0x1f378a,-0x20d,-0x239,-0x1fd)+_0x355ca5(0x32a,0x365,_0x3a4d80._0x55d19b,0x3cf)+'ey:\x20'+_0x47cfc9[_0x28dcc0(-_0x3a4d80._0x515d7c,-0x1ad,-0x1da,-_0x3a4d80._0x4df925)]);}}const _0x56ffa2=new Date(_0x196d70)[_0x355ca5(_0x3a4d80._0x30bb7b,0x3db,0x3f3,0x3ea)](),_0x3aa6c1=Date[_0x28dcc0(-0x16f,-_0x3a4d80._0x16a8a6,-0xec,-_0x3a4d80._0x3922e7)]();function _0x28dcc0(_0xaffb12,_0x302802,_0x18fa00,_0x2b4b55){return _0x435907(_0xaffb12-0x15d,_0x302802-0x22,_0x302802- -_0x482d23._0x262c6e,_0x18fa00);}const _0x328e03=_0x338991[_0x355ca5(_0x3a4d80._0x4ad12e,0x38e,0x33c,_0x3a4d80._0x2a33c5)](_0x193a90,0x563+-0x20e3+0xdde*0x2)*(-0x2*-0xe3b+0x69d+-0x1f2b);return _0x56ffa2-_0x3aa6c1<=_0x328e03;}export function isTokenExpired(_0xe4a1b8){const _0x3e37a3={_0x9a647f:0xf7,_0x41202f:0x2e,_0x3076d5:0x9c,_0x369f79:0x39,_0x101d62:0xaa,_0x51b34c:0xaf,_0x71ea5d:0x121,_0x38d6ed:0x1b,_0x12d087:0x6,_0x465576:0x4f,_0x4c9453:0x4a,_0x3605aa:0xa0,_0x3f4b08:0xbb,_0x4ca6c7:0xed,_0xaf46cc:0x5b9,_0xf27ec0:0x5a6,_0x3b5983:0x5fc,_0x2be77e:0x13,_0x20c3cd:0xb3,_0x5eb93e:0xf9},_0x4e2d38={_0x419a13:0x30b},_0x1ecdfa={_0x4c203f:0x169},_0x1a7e32={};_0x1a7e32['WIsAK']=_0x16f526(0x55,0xb2,0xed,_0x3e37a3._0x9a647f);function _0x5e24ea(_0x2571d9,_0x528816,_0x139538,_0x4ec29d){return _0x54bc06(_0x2571d9-_0x1ecdfa._0x4c203f,_0x4ec29d-0x283,_0x139538-0x1b6,_0x139538);}_0x1a7e32['kQFnx']=_0x16f526(-0x1c,0x7,0x42,-_0x3e37a3._0x41202f),_0x1a7e32['ouJXo']=function(_0x46e0cb,_0x3f503f){return _0x46e0cb<_0x3f503f;};const _0x10edf3=_0x1a7e32;if(!_0xe4a1b8){if(_0x10edf3[_0x16f526(_0x3e37a3._0x3076d5,0x61,0x8,_0x3e37a3._0x369f79)]===_0x10edf3['kQFnx'])_0x1cdf04[_0x16f526(_0x3e37a3._0x101d62,0xbb,_0x3e37a3._0x51b34c,_0x3e37a3._0x71ea5d)+_0x16f526(-_0x3e37a3._0x38d6ed,_0x3e37a3._0x12d087,_0x3e37a3._0x465576,_0x3e37a3._0x4c9453)]=_0x6c34d0[_0x16f526(_0x3e37a3._0x3605aa,_0x3e37a3._0x3f4b08,_0x3e37a3._0x4ca6c7,0xcc)+_0x5e24ea(_0x3e37a3._0xaf46cc,_0x3e37a3._0xf27ec0,_0x3e37a3._0x3b5983,0x594)];else return![];}function _0x16f526(_0x364d00,_0x3f2eaa,_0x3de5b6,_0x46bbab){return _0x54bc06(_0x364d00-0x144,_0x3f2eaa- -_0x4e2d38._0x419a13,_0x3de5b6-0x16c,_0x46bbab);}return _0x10edf3[_0x16f526(-0x39,0x26,-0x21,-_0x3e37a3._0x2be77e)](new Date(_0xe4a1b8)[_0x16f526(_0x3e37a3._0x20c3cd,0xb9,_0x3e37a3._0x5eb93e,0x11a)](),Date['now']());}function _0x1b9c(_0x5a09d3,_0x26e764){_0x5a09d3=_0x5a09d3-(0x108+-0x1361+0x1d*0xb1);const _0x436a37=_0x1068();let _0x334cd8=_0x436a37[_0x5a09d3];if(_0x1b9c['QaDMzL']===undefined){var _0x1cdf04=function(_0x11f9f){const _0x3f0caf='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x17d181='',_0x1ab2a0='';for(let _0x4dc5b5=-0x100+0x2f*-0x11+0x41f,_0x38a11f,_0xea215d,_0x52e924=-0x3*0xdf+0x11ed+-0xf50;_0xea215d=_0x11f9f['charAt'](_0x52e924++);~_0xea215d&&(_0x38a11f=_0x4dc5b5%(0x25f5+0x18e9+0x649*-0xa)?_0x38a11f*(-0x12ad+-0x1998+-0x1d*-0x189)+_0xea215d:_0xea215d,_0x4dc5b5++%(0x1d7a+-0x1*0x2072+0xbf*0x4))?_0x17d181+=String['fromCharCode'](-0x1*-0xda2+-0x1767+0x2*0x562&_0x38a11f>>(-(0x8a0+-0x17a6+-0x1a*-0x94)*_0x4dc5b5&0x4*0xcb+-0xa75*-0x1+0x9*-0x183)):0xc*0x7a+0x30*0x7d+-0x1d28){_0xea215d=_0x3f0caf['indexOf'](_0xea215d);}for(let _0x544bec=0x182*0x3+-0x628+0x1a2,_0x24c46f=_0x17d181['length'];_0x544bec<_0x24c46f;_0x544bec++){_0x1ab2a0+='%'+('00'+_0x17d181['charCodeAt'](_0x544bec)['toString'](0xd*-0x1db+-0xd99+0x1f*0x138))['slice'](-(-0x621*0x1+0x14f6+-0xed3));}return decodeURIComponent(_0x1ab2a0);};_0x1b9c['PPrNxJ']=_0x1cdf04,_0x1b9c['UqgLNc']={},_0x1b9c['QaDMzL']=!![];}const _0x6c34d0=_0x436a37[-0x5b*-0x67+0x1*-0x1c36+-0x2cd*0x3],_0x1b37b2=_0x5a09d3+_0x6c34d0,_0xba75c1=_0x1b9c['UqgLNc'][_0x1b37b2];return!_0xba75c1?(_0x334cd8=_0x1b9c['PPrNxJ'](_0x334cd8),_0x1b9c['UqgLNc'][_0x1b37b2]=_0x334cd8):_0x334cd8=_0xba75c1,_0x334cd8;}export async function getUserConnectionStatus(_0x21b0ac,_0x1eae01={}){const _0x3e6bcf={_0x5a306e:0x3b0,_0x2eb0c3:0x350,_0x5961d7:0x39a,_0x29cac4:0x3c9,_0x477b66:0x435,_0x28c4b6:0x3e5,_0x4f12b2:0x45a,_0xefec40:0x44a,_0x365dd3:0x465,_0x5c4fd4:0x3f5,_0x51dd7c:0x3d9,_0x7952a1:0x3cd,_0x254e55:0x3d4,_0x412ad4:0x403,_0x8d92f0:0x3b6,_0x431009:0x36f},_0x41b3ce={_0xf86e43:0x1b2},_0x582e53={_0x2ddae3:0x10e,_0x339f78:0xb4},_0x4cb71e={'krsFH':function(_0x1dd157,_0x352abf){return _0x1dd157(_0x352abf);}},_0x145e79=await _0x4cb71e[_0x3aed7a(_0x3e6bcf._0x5a306e,0x404,_0x3e6bcf._0x2eb0c3,_0x3e6bcf._0x5961d7)](loadTokenStorage,_0x1eae01),_0x28ce4e=_0x145e79[_0x3aed7a(0x3ab,0x3af,_0x3e6bcf._0x29cac4,0x3ff)]?.[_0x21b0ac];if(!_0x28ce4e)return{};const _0x117811={};function _0x3aed7a(_0x2e562e,_0x471905,_0x288f36,_0x5e2859){return _0x54bc06(_0x2e562e-_0x582e53._0x2ddae3,_0x2e562e-0x7d,_0x288f36-_0x582e53._0x339f78,_0x288f36);}function _0x47dba6(_0x5d1248,_0x471b4a,_0x71cca4,_0x5512a3){return _0x54bc06(_0x5d1248-0x44,_0x471b4a- -0x2f9,_0x71cca4-_0x41b3ce._0xf86e43,_0x5512a3);}for(const [_0x100da0,_0x3ffa15]of Object['entries'](_0x28ce4e)){const _0x3012a0={};_0x3012a0['connected']=!![],_0x3012a0[_0x3aed7a(0x44a,_0x3e6bcf._0x477b66,_0x3e6bcf._0x28c4b6,_0x3e6bcf._0x4f12b2)]=_0x3ffa15[_0x3aed7a(_0x3e6bcf._0xefec40,_0x3e6bcf._0x365dd3,0x42c,_0x3e6bcf._0x5c4fd4)],_0x3012a0[_0x3aed7a(0x3fb,0x3db,_0x3e6bcf._0x51dd7c,_0x3e6bcf._0x7952a1)+'in']=_0x3ffa15['github_log'+'in'],_0x3012a0[_0x47dba6(0xac,0x51,0x28,0x9b)+_0x3aed7a(_0x3e6bcf._0x254e55,0x3f8,_0x3e6bcf._0x412ad4,_0x3e6bcf._0x8d92f0)]=_0x3ffa15['azure_user'+_0x3aed7a(_0x3e6bcf._0x254e55,0x37d,0x39d,_0x3e6bcf._0x431009)],_0x3012a0['connected_'+'at']=_0x3ffa15['connected_'+'at'],_0x117811[_0x100da0]=_0x3012a0;}return _0x117811;}
|
|
1
|
+
(function(_0xb8ba20,_0x75a067){const _0x2822c1={_0x2594d7:0x16b,_0x51aeb8:0x405,_0x1697cc:0x3c6,_0x53a697:0x447,_0x152a00:0x431,_0x245750:0x3e3,_0x474d32:0x39d,_0x3c7057:0x3d4,_0x5bf272:0x1ad,_0x2fd6f1:0x411,_0x5c5612:0x448,_0x2bd28c:0x469,_0x5bada9:0x1cf,_0x177957:0x20b,_0xbe4c:0x443,_0x5033de:0x4d7,_0x43edb7:0x3fd},_0xbbc8a8={_0x2783e8:0x2a4},_0xa96adc={_0x1f601f:0x30b},_0x33612b=_0xb8ba20();function _0x3d3afc(_0x461284,_0x44ec20,_0x3b8c6c,_0x1766ed){return _0x1c68(_0x461284- -_0xa96adc._0x1f601f,_0x3b8c6c);}function _0x3cd224(_0x362781,_0x52c12e,_0x49e0cd,_0x5e3a59){return _0x1c68(_0x362781-_0xbbc8a8._0x2783e8,_0x5e3a59);}while(!![]){try{const _0x3b8244=parseInt(_0x3d3afc(-_0x2822c1._0x2594d7,-0x1ac,-0x17c,-0x153))/(0x1*0xe5+-0x7*-0x2ed+0x155f*-0x1)+-parseInt(_0x3cd224(_0x2822c1._0x51aeb8,_0x2822c1._0x1697cc,_0x2822c1._0x53a697,_0x2822c1._0x152a00))/(0x11*0x1ca+-0x26a+-0x1bfe)+-parseInt(_0x3cd224(_0x2822c1._0x245750,0x3b5,_0x2822c1._0x474d32,_0x2822c1._0x3c7057))/(0x59*-0x42+-0x1ba9+0x329e)*(parseInt(_0x3d3afc(-0x14a,-0x175,-_0x2822c1._0x5bf272,-0x120))/(-0x4d*-0x79+-0x2404+-0x5d))+parseInt(_0x3cd224(_0x2822c1._0x2fd6f1,_0x2822c1._0x5c5612,_0x2822c1._0x53a697,_0x2822c1._0x2bd28c))/(0x1538+0x3c1+0x2*-0xc7a)*(parseInt(_0x3cd224(0x46a,0x46d,0x4ad,0x489))/(0x217*0x7+-0x977+0x1*-0x524))+-parseInt(_0x3d3afc(-_0x2822c1._0x5bada9,-0x1d1,-_0x2822c1._0x177957,-0x1f7))/(-0x1670+0xb50+0xb27)+-parseInt(_0x3cd224(0x3fc,_0x2822c1._0xbe4c,0x458,0x420))/(0x1586*0x1+0x696+-0x1c14)+parseInt(_0x3cd224(0x48f,0x4c1,_0x2822c1._0x5033de,0x4b5))/(-0xfdf+-0x169b+0x1*0x2683)*(parseInt(_0x3cd224(_0x2822c1._0x43edb7,0x462,0x3f7,0x437))/(0x22a1+0x18e*-0x15+-0x7*0x47));if(_0x3b8244===_0x75a067)break;else _0x33612b['push'](_0x33612b['shift']());}catch(_0x1c54e5){_0x33612b['push'](_0x33612b['shift']());}}}(_0x422b,0x4c0d6+0xabc76+-0xa1a*0x9b));import{promises as _0x3f8d12}from'fs';import{existsSync}from'fs';import _0x5eccc5 from'path';function _0x422b(){const _0x4950cd=['CMvHzcbNAxqGtW','CIb1C2vY','CNLWDgLVBIbRzq','DeHdwve','zxHWAxjLC19HDa','zw4GAxmGCMvXDq','CgfYC2u','C0jwzNm','Bg9Nz2vY','ie9bDxrOigvUyW','AM9PBG','z2L0AhvIx3vZzq','zvHqsvG','BgXKD1a','C2f2zsb1C2vYia','mZaZntKWn3LQELnnzW','AxjLza','vMLdCKm','sKnhrxe','D2fYBG','z2v0qxv0AfrHzW','C3bSAxq','zgvYia','tM8GzxHPC3rPBG','BfzOtNK','Dxn6tva','Cu1xrfq','Dg9Rzw5Z','uerhrvm','zxjYB3i','uvjREvm','ihrVigrHDgeGza','EsbMCM9TigrHDa','ww1cweG','y29UBMvJDgvK','Dg9ju09tDhjPBG','zgvJCNLWDcb0BW','uNjYyLy','t0T3t2m','zxHirMS','vgzXvxi','z2L0AhvIx2XVzW','nZKXnZi4zfzKuMr0','B3zPzgvY','zgf0yurPCG','mJe2m2LzDfHwAa','r3LQv0m','C2v0qxv0AfrHzW','zYb0B2TLBIbMBW','yxP1CMvFDxnLCG','BLHxvLC','AvDJCg0','DLDuDha','DxrMoa','uhDjALi','CMvXDwLYzwq','zxHWAxjLC0f0','sfv6BMy','DhjPBq','qwnJzxnZihrVAW','Aw5MBW','B2TLBNmUANnVBG','r2vUzxjHDgLUzW','zNjVBq','BMfTzq','qxvouNe','ufnwC0C','BwjqANa','uhPoAw8','DxnLCI1NAxqTDa','ndqXmdmZnMzZu2vKwG','nJbYufD3Bhu','zKHzvvK','r0HUBvC','BhvLigzVCM1HDa','ChrPB24GA2v5','wMnLC0m','tNriu3O','uxbmzuK','mJm4mti1nhnSEuDHsa','CgHLCML2','A1D6Ee8','C2f2zsbNAxqGtW','wNLwDKq','Eg9mEK4','CMvHzezPBgu','vxbKyxrLzcbNAq','vg5nvfy','z2v0vgLTzq','zLzWuMi','DwLYzwq','mJu1mZK1AxHPDhr1','CMvJDxjZAxzL','q1L0DfC','BKvKs28','sxLZyNC','zxK6ia','C1DJsgG','q0TRrLa','igDPDcb0B2TLBG','zevZugi','zcbWCM92AwrLCG','Eejuuwy','Bw9Kzq','r1nRzxi','rMfPBgvKihrVia','ywnJzxnZx3rVAW','BwvZC2fNzq','Bg9Hzcb1C2vYia','ig5HBwuGyxjLia','r2L0ie9bDxrOia','CgvYC2LZDcbLBG','u2rfDhC','q2HLBLq','rvvVr1a','ww5owe0','zMLUywW','Agv4','igfUzcbWCM92Aq','vxnLCIbjrcbPCW','CMfUzg9TqNL0zq','sw52ywXPzcbLBG','y3jLyxrLrgvJAq','y3jLyxrLq2LWAa','CMvMCMvZAf90BW','BM93','BgPVvM8','wLfkEva','twHcAhe','ihjLCxvPCMvK','AwvXyMW','DxbKyxrL','Dg9tDhjPBMC','zxLirvq','Bg5pCKi','t294s2i','AhPlyMm','C3rYAw5NAwz5','ysbKAxjLy3rVCG','qwjAt3O','zgvIDwC','ig5LDYbNAxqGtW','mZi1mZaWq1L4ufr3','zw5JCNLWDgLVBG','AfPxCwG','vxnLCIbjrcbHBG','t2PhAfy','vfjbsNu','z2L0ihrVA2vUCW','q0zcEKK','vhHTDvC','CYb0BYbZDg9Yyq','wxzluuy','zLrJzLK','y3j5ChrLzcb2yq','CL9Pza','igDLBMvYyxrPBG','qwjUBMy','zfrIAuG','z3vyvfu','vfjkzwm','DxnLCKLK','y2Xmvvm','BwTKAxi','uNL1Cee','D3jPDgvgAwXL','z0XtEhG','ihrVA2vUigzVCG','BMjuzgC','rgvSzxrLzcbNAq','zw50CMLLCW','AM1kuve','ChrPB24GA2v5la','ufrqwKm','y29UBMvJDgvKxW','mtG0wwnXB0Dn','tuvnuLK','y3j5ChrPB24GAW','Dxj5EgK','Aen6wgW','mtH5te1OufC','ChjVDMLKzxjoyq','A2vU','uhjVDMLKzxiGBG','De1mDM8','zxjPDG','qxv0AcbLBMnYEq','suTwq28','vvb2vKC','C1DlAeK','wLDuzeW','q2Lls2K','ywvZlti1nI1NyW','u3rVCMvKigDPDa','A2v5CW','DxrMltG','De52zwe','u2f2zwqGDxnLCG','vevoDhu','yw1LigLZihjLCq','A2vUigzVCIbWCG','DeTcCMi'];_0x422b=function(){return _0x4950cd;};return _0x422b();}import _0x9c365b from'crypto';function _0x1c68(_0x5468bb,_0x542deb){_0x5468bb=_0x5468bb-(-0x38*-0x82+-0xd68+0xde5*-0x1);const _0x442283=_0x422b();let _0x18798f=_0x442283[_0x5468bb];if(_0x1c68['ukXcZc']===undefined){var _0x7b5089=function(_0x541503){const _0x7c06f3='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5ba7c7='',_0x3c8f52='';for(let _0x47d13e=0x2063+0x1*0x1a9f+-0x1d81*0x2,_0x103f6d,_0x348f70,_0x1fb7c2=0x3cb+-0x1056+0x1*0xc8b;_0x348f70=_0x541503['charAt'](_0x1fb7c2++);~_0x348f70&&(_0x103f6d=_0x47d13e%(-0x2567+-0x116a+0x36d5)?_0x103f6d*(0xe1f+-0x237f+0x15a0)+_0x348f70:_0x348f70,_0x47d13e++%(-0x1957+0x1*-0x897+0x21f2))?_0x5ba7c7+=String['fromCharCode'](0x5*0x383+-0x3ad*-0x3+0x7*-0x3f1&_0x103f6d>>(-(0x25c8+0x237*0x7+-0x3547*0x1)*_0x47d13e&0x3d*-0x5c+0xe54*-0x1+0x2446)):0x199*-0x11+-0x1c21+-0x151*-0x2a){_0x348f70=_0x7c06f3['indexOf'](_0x348f70);}for(let _0x1127e6=-0x8*-0x270+0x4*-0x6e0+0x800*0x1,_0x5a6a6e=_0x5ba7c7['length'];_0x1127e6<_0x5a6a6e;_0x1127e6++){_0x3c8f52+='%'+('00'+_0x5ba7c7['charCodeAt'](_0x1127e6)['toString'](-0x22cd+0x2cb+0x1*0x2012))['slice'](-(-0x74b+0x3d0+0x37d*0x1));}return decodeURIComponent(_0x3c8f52);};_0x1c68['MSvYeh']=_0x7b5089,_0x1c68['bJJJOh']={},_0x1c68['ukXcZc']=!![];}const _0x32ad83=_0x442283[-0x2235+0x26e6+0x4b1*-0x1],_0x178dc8=_0x5468bb+_0x32ad83,_0x4bb60d=_0x1c68['bJJJOh'][_0x178dc8];return!_0x4bb60d?(_0x18798f=_0x1c68['MSvYeh'](_0x18798f),_0x1c68['bJJJOh'][_0x178dc8]=_0x18798f):_0x18798f=_0x4bb60d,_0x18798f;}import{DATA_DIR}from'./data-dir.js';import{logger as _0x470352}from'./logger.js';const TOKENS_FILE=_0x2a8e9b(-0x70,-0x58,-0xb1,-0xb3)+_0x2a8e9b(-0x78,-0xba,-0x7d,-0x47),ENCRYPTION_KEY_FILE='.git-oauth'+'-key',ALGORITHM=_0x2a8e9b(0xb,0x42,0x29,-0x3c)+'m';function _0x1ca951(_0x5ca2d1,_0x42a926,_0x1caf5e,_0x1c6112){return _0x1c68(_0x5ca2d1- -0x17b,_0x1caf5e);}const KEY_LENGTH=-0x1*-0x1c67+0x4*0x32b+-0x28f3,IV_LENGTH=-0x1*-0xad4+0x630+-0x10f4,AUTH_TAG_LENGTH=-0x35b*0x1+0x1e75+-0x1b0a;let encryptionKeyCache=null;async function getEncryptionKey(_0x546bbc={}){const _0x131fd8={_0x4b106c:0x6f,_0x13495f:0x52,_0x1dd6b4:0x3e,_0x517f20:0xaa,_0x450806:0x43,_0x15ed19:0x7b,_0x7f5cd5:0x8f,_0x773815:0x58,_0x35f3f9:0x36,_0x939a1c:0x1f,_0x3c9087:0xc,_0x3d6820:0x22,_0x45775a:0x25,_0x2ee29c:0x44,_0x590009:0x8f,_0x58182c:0x40,_0x5262ff:0x5f,_0x33950b:0x6d,_0x1a17d5:0x12,_0x488d63:0x4f,_0x3dd89c:0x53,_0x5c27b6:0xd5,_0xb19236:0x1b,_0x29f8f0:0x11,_0x77e695:0x46,_0x4e3a27:0x5c,_0x58b137:0xa1,_0x413510:0x38,_0x15a2ba:0xe5,_0x2e75a0:0xbd,_0x2364ea:0x5b,_0x5ad0d3:0xee,_0x37d8fc:0x2c,_0x573597:0x86,_0x2476c5:0x72,_0x473644:0x5b,_0x265404:0x44,_0x2dde6b:0x45,_0x4f7389:0x2f,_0x3135fc:0xeb,_0x307a92:0xf6,_0x48847e:0x5d,_0x2bef45:0x8,_0x5e3870:0x23,_0x18d560:0xf,_0x3dfcb3:0x67,_0x155699:0x1f,_0x5a28b4:0x2f,_0x20cd0e:0x9d,_0x227e6a:0x121,_0x49cc8b:0xd7,_0x2101fc:0xc7,_0x3bdca4:0xb0,_0x4ca78f:0xa8,_0x22017d:0xad,_0x403327:0x29,_0x2e56b7:0x6d,_0x4da51f:0x7c,_0x19192b:0x7d,_0x585890:0xbc,_0x4462d2:0xb2,_0x539bad:0xc4,_0x32b394:0x77,_0x56752e:0x8f,_0x3586a6:0xbf,_0xada8fd:0xbe,_0x423e90:0x93,_0x1058cf:0xec,_0x7ec2a:0x9c,_0x321040:0x116,_0x2be417:0xff,_0x3d0a5f:0xd9,_0x4be6d4:0xb2,_0x80880e:0xa3,_0x1e9130:0x7c,_0x26527f:0x9,_0x1e30e3:0xf,_0x5413a8:0x71,_0x246f30:0x33,_0x3395f5:0xd,_0x5236b2:0x64,_0x26953c:0xa5,_0xfc5f9d:0x37,_0x158f01:0x1f,_0x176327:0x10,_0xbf04e5:0x88,_0x45a53f:0x8d,_0x22309c:0xd7,_0x428698:0x65,_0x4bc625:0xc5,_0x21a1fa:0xd,_0x58f506:0x83,_0x17ced9:0x4a,_0x414387:0xaa,_0x17ebcc:0x85,_0x17011d:0x34,_0x2d0c73:0x34,_0x5afed3:0x35,_0xcc12bd:0xa0,_0x2aa73f:0xe4,_0x5b186b:0x96,_0x10b2ea:0x124,_0x1a8c90:0xe7,_0x56789a:0x0,_0x10ea25:0x11,_0x1c1e94:0x73,_0x62563:0x33,_0x58ef58:0xf0,_0x21e738:0x49,_0x354771:0x88,_0x2cad7a:0x2e,_0x4bf4c:0xb9,_0x52e811:0xcc,_0x29ef15:0xa1},_0x4c7dd1={_0x3ece8f:0x10b,_0xf18049:0x129};function _0x340c2c(_0x3c5f56,_0x4cf916,_0x4e63f5,_0x59b9e2){return _0x1ca951(_0x59b9e2- -0x98,_0x4cf916-0xee,_0x4cf916,_0x59b9e2-0x1b0);}const _0x2cf916={'NeAyb':function(_0x1d4fbc,_0x4e8747,_0x4b544f){return _0x1d4fbc(_0x4e8747,_0x4b544f);},'sWKhI':_0x340c2c(-_0x131fd8._0x4b106c,-_0x131fd8._0x13495f,-0x9e,-_0x131fd8._0x1dd6b4),'xoLzN':_0x340c2c(-_0x131fd8._0x517f20,-_0x131fd8._0x450806,-_0x131fd8._0x15ed19,-0x8c),'TfqUr':_0x340c2c(-_0x131fd8._0x7f5cd5,-_0x131fd8._0x773815,-_0x131fd8._0x35f3f9,-0x98)+_0x147eee(_0x131fd8._0x939a1c,-0x12,-0x4d,0x4a)+_0x147eee(_0x131fd8._0x3c9087,-_0x131fd8._0x3d6820,-_0x131fd8._0x45775a,-0x53)+_0x147eee(-_0x131fd8._0x2ee29c,-0x30,-_0x131fd8._0x590009,-0x34)+_0x147eee(-0x54,-_0x131fd8._0x58182c,-_0x131fd8._0x2ee29c,-_0x131fd8._0x5262ff)+'g\x20new\x20one','bxsZY':_0x147eee(-0x9f,-0x9e,-0x4a,-_0x131fd8._0x33950b)+_0x147eee(-_0x131fd8._0x1a17d5,-_0x131fd8._0x488d63,-0x3f,0x13)+_0x340c2c(0x1e,-0x31,-0x78,-0x47)+_0x147eee(-0xb2,-0x91,-_0x131fd8._0x3dd89c,-_0x131fd8._0x5c27b6),'eyHET':function(_0x3c4b14,_0x5c8dc3){return _0x3c4b14===_0x5c8dc3;},'StAjQ':_0x340c2c(-_0x131fd8._0xb19236,-0x74,-_0x131fd8._0x29f8f0,-_0x131fd8._0x77e695),'EjDGz':_0x147eee(-_0x131fd8._0x4e3a27,-0x6e,-_0x131fd8._0x58b137,-0x89)+_0x147eee(0x13,-0x4d,-0x2f,-_0x131fd8._0x413510)+'\x20key\x20saved'+_0x147eee(-_0x131fd8._0x15a2ba,-_0x131fd8._0x2e75a0,-_0x131fd8._0x2364ea,-_0x131fd8._0x5ad0d3)+'irectory','ljoVo':function(_0x212cdd,_0xd9f06d){return _0x212cdd!==_0xd9f06d;},'VDLCT':_0x147eee(-_0x131fd8._0x37d8fc,-0x4a,-0x4f,-0x9d),'OoxKb':_0x147eee(-0x20,-0x73,-0x2d,-0x1a)+'save\x20git\x20O'+_0x147eee(-_0x131fd8._0x573597,-_0x131fd8._0x3d6820,-0x4a,-_0x131fd8._0x2476c5)+'ption\x20key'},_0x19e735=_0x546bbc[_0x340c2c(-_0x131fd8._0x473644,-_0x131fd8._0x265404,-_0x131fd8._0x2dde6b,-_0x131fd8._0x4f7389)]||_0x470352,_0x41f73a=_0x546bbc[_0x340c2c(-_0x131fd8._0x3135fc,-0xb4,-_0x131fd8._0x307a92,-_0x131fd8._0x5c27b6)]||DATA_DIR;if(encryptionKeyCache)return encryptionKeyCache;const _0x28d7a7=_0x5eccc5[_0x147eee(_0x131fd8._0x48847e,-_0x131fd8._0x2bef45,-_0x131fd8._0x5e3870,_0x131fd8._0x18d560)](_0x41f73a,ENCRYPTION_KEY_FILE);if(existsSync(_0x28d7a7))try{const _0x4fdd44=await _0x3f8d12[_0x340c2c(-_0x131fd8._0x3dfcb3,-_0x131fd8._0x2476c5,-0xc0,-0xac)](_0x28d7a7,_0x2cf916[_0x147eee(0x24,-_0x131fd8._0x155699,-_0x131fd8._0x5a28b4,-0x4a)]);return encryptionKeyCache=Buffer[_0x147eee(-0x8f,-_0x131fd8._0x20cd0e,-0xfa,-0x8d)](_0x4fdd44[_0x340c2c(-0xf0,-_0x131fd8._0x227e6a,-_0x131fd8._0x49cc8b,-_0x131fd8._0x2101fc)](),_0x2cf916[_0x340c2c(-0xc2,-_0x131fd8._0x3bdca4,-_0x131fd8._0x4ca78f,-_0x131fd8._0x22017d)]),_0x19e735[_0x340c2c(-0x7a,-_0x131fd8._0x403327,-0x87,-0x75)]('Loaded\x20git'+_0x340c2c(-_0x131fd8._0x2e56b7,-_0x131fd8._0x4da51f,-_0x131fd8._0x19192b,-0x2e)+_0x147eee(-0x58,-0x10,0x3f,-0x3c)+_0x147eee(-0x10a,-_0x131fd8._0x585890,-0xa0,-_0x131fd8._0x4462d2)+_0x340c2c(-0x43,-0x6b,-_0x131fd8._0x539bad,-_0x131fd8._0x32b394)+'y'),encryptionKeyCache;}catch(_0x291a44){const _0x1a7030={};_0x1a7030[_0x147eee(-_0x131fd8._0x56752e,-_0x131fd8._0x3586a6,-0x10f,-_0x131fd8._0xada8fd)]=_0x291a44['message'],_0x19e735[_0x340c2c(-_0x131fd8._0x423e90,-_0x131fd8._0x1058cf,-_0x131fd8._0x7ec2a,-_0x131fd8._0x5ad0d3)](_0x2cf916[_0x340c2c(-_0x131fd8._0x321040,-0xc7,-_0x131fd8._0x2be417,-_0x131fd8._0x3d0a5f)],_0x1a7030);}_0x19e735['info'](_0x2cf916['bxsZY']);const _0x52d87c=_0x9c365b[_0x147eee(-_0x131fd8._0x4be6d4,-0x64,-0x66,-0x8a)+'s'](KEY_LENGTH);try{if(_0x2cf916[_0x340c2c(-0x53,-0xd4,-_0x131fd8._0x80880e,-_0x131fd8._0x1e9130)](_0x147eee(-0x99,-0x69,-0x30,-_0x131fd8._0x26527f),_0x2cf916['StAjQ']))_0x3c6183[_0x340c2c(-0x88,_0x131fd8._0x1e30e3,-_0x131fd8._0x5413a8,-_0x131fd8._0x246f30)]=_0xd07e7f[_0x147eee(_0x131fd8._0x3395f5,-0xe,0x17,-0x4)];else{const _0x3c0049={};_0x3c0049[_0x340c2c(-_0x131fd8._0x5236b2,-0x104,-0xea,-_0x131fd8._0x26953c)]=!![],await _0x3f8d12['mkdir'](_0x41f73a,_0x3c0049);const _0x116161={};_0x116161['mode']=0x180,await _0x3f8d12[_0x147eee(0x2e,-_0x131fd8._0xfc5f9d,_0x131fd8._0x158f01,-0x8c)](_0x28d7a7,_0x52d87c[_0x147eee(-0x5b,-0x58,-_0x131fd8._0x176327,-0x10)](_0x2cf916[_0x147eee(-0xbd,-_0x131fd8._0xbf04e5,-_0x131fd8._0x4462d2,-0xb1)]),_0x116161),_0x19e735[_0x340c2c(-_0x131fd8._0x45a53f,-_0x131fd8._0x22309c,-_0x131fd8._0x428698,-_0x131fd8._0x4bc625)](_0x2cf916['EjDGz']);}}catch(_0x12a404){if(_0x2cf916[_0x147eee(-0xc3,-0x5e,-_0x131fd8._0x21a1fa,-0x90)](_0x2cf916['VDLCT'],_0x147eee(-_0x131fd8._0x58f506,-_0x131fd8._0x17ced9,-0x61,-0x5f)))_0x5eda3c[_0x147eee(-0xb5,-0x60,-0xad,-_0x131fd8._0x773815)+'ken']=_0x2cf916['NeAyb'](_0x4cacf4,_0x10cda2[_0x340c2c(-0x59,-_0x131fd8._0x414387,-0x79,-_0x131fd8._0x17ebcc)+_0x147eee(-_0x131fd8._0x17011d,-0x26,-_0x131fd8._0x2d0c73,_0x131fd8._0x5afed3)],_0x2b656e);else{const _0x110d37={};_0x110d37[_0x340c2c(-_0x131fd8._0xcc12bd,-0xf6,-0x126,-_0x131fd8._0x2aa73f)]=_0x12a404[_0x340c2c(-0x4a,-0x55,-0x9d,-_0x131fd8._0x5b186b)],_0x19e735[_0x340c2c(-_0x131fd8._0x10b2ea,-_0x131fd8._0x1a8c90,-0xc2,-_0x131fd8._0x2aa73f)](_0x2cf916[_0x147eee(-0x44,-0x55,_0x131fd8._0x56789a,-_0x131fd8._0x10ea25)],_0x110d37);throw new Error(_0x147eee(-0x74,-_0x131fd8._0x1c1e94,-_0x131fd8._0x5413a8,-_0x131fd8._0x62563)+_0x340c2c(-_0x131fd8._0x58ef58,-_0x131fd8._0x21e738,-_0x131fd8._0x354771,-0x92)+_0x147eee(-0x28,-0x2b,-0x18,-_0x131fd8._0x2cad7a)+_0x340c2c(-0xfe,-_0x131fd8._0x4bf4c,-_0x131fd8._0x52e811,-_0x131fd8._0x29ef15)+_0x12a404[_0x340c2c(-0x9b,-0x60,-0x75,-0x96)]);}}encryptionKeyCache=_0x52d87c;function _0x147eee(_0x39d792,_0x4b1a3c,_0x7416e,_0x5691a0){return _0x2a8e9b(_0x4b1a3c- -0x27,_0x7416e,_0x7416e-_0x4c7dd1._0x3ece8f,_0x5691a0-_0x4c7dd1._0xf18049);}return encryptionKeyCache;}export function clearEncryptionKeyCache(){encryptionKeyCache=null;}function encrypt(_0x540844,_0x168b8d){const _0xfa6948={_0x2a99c4:0x160,_0x12e096:0x170,_0x3fc48e:0x141,_0x4c504c:0x11f,_0x1ae8cc:0x137,_0x462d81:0x1fc,_0x169b59:0x20a,_0x44e229:0xb4,_0x30b66f:0xd1,_0x49b47a:0x1b8,_0x2f82a9:0x1b0,_0x3c458c:0x147,_0x4f5b9a:0x141,_0x5d36d5:0x123,_0x772c95:0xaa,_0x4b4961:0x156,_0x56fa80:0x106,_0x24008c:0x14d,_0x518b07:0x1f8,_0x4821ce:0x1aa,_0xd90e65:0x141,_0x1e2a3c:0x112,_0x25468f:0x106,_0x5b6274:0x1b6,_0x3f0760:0x18a,_0x61dff2:0x1a6},_0x3c5c22={};_0x3c5c22[_0x2ba480(-_0xfa6948._0x2a99c4,-0x189,-_0xfa6948._0x12e096,-_0xfa6948._0x3fc48e)]=_0x1d9a7b(_0xfa6948._0x4c504c,0x1b4,0x16a,0x118);function _0x2ba480(_0x3b638e,_0x1f5bd6,_0x4970b7,_0x19e675){return _0x1ca951(_0x19e675- -0x121,_0x1f5bd6-0x88,_0x4970b7,_0x19e675-0x13a);}function _0x1d9a7b(_0x3b7fe7,_0x5eb8ba,_0x43f3a1,_0x1fadcd){return _0x2a8e9b(_0x43f3a1-0x1ea,_0x1fadcd,_0x43f3a1-0x11e,_0x1fadcd-0x14d);}_0x3c5c22[_0x2ba480(-0x17d,-0x17e,-_0xfa6948._0x1ae8cc,-0x133)]='hex';const _0x448267=_0x3c5c22,_0x172358=_0x9c365b[_0x1d9a7b(0x1f6,_0xfa6948._0x462d81,0x1ad,_0xfa6948._0x169b59)+'s'](IV_LENGTH),_0x2a764e=_0x9c365b['createCiph'+_0x2ba480(-_0xfa6948._0x44e229,-0x95,-0x124,-_0xfa6948._0x30b66f)](ALGORITHM,_0x168b8d,_0x172358);let _0x5a846c=_0x2a764e[_0x1d9a7b(0x15a,0x1f2,_0xfa6948._0x49b47a,_0xfa6948._0x2f82a9)](_0x540844,_0x448267['GHnmW'],_0x448267['TnMTV']);_0x5a846c+=_0x2a764e[_0x2ba480(-_0xfa6948._0x3c458c,-0x10d,-_0xfa6948._0x4f5b9a,-0x116)](_0x448267[_0x1d9a7b(0x12d,0x164,0x18c,0x187)]);const _0x5f2d3d=_0x2a764e[_0x1d9a7b(0x1ab,_0xfa6948._0x5d36d5,0x149,0x180)]();return _0x172358[_0x2ba480(-0xa3,-_0xfa6948._0x772c95,-_0xfa6948._0x4b4961,-_0xfa6948._0x56fa80)](_0x1d9a7b(_0xfa6948._0x24008c,_0xfa6948._0x518b07,_0xfa6948._0x4821ce,0x1e0))+':'+_0x5f2d3d[_0x2ba480(-_0xfa6948._0xd90e65,-_0xfa6948._0x1e2a3c,-0x118,-_0xfa6948._0x25468f)](_0x448267[_0x1d9a7b(_0xfa6948._0x5b6274,_0xfa6948._0x3f0760,0x18c,_0xfa6948._0x61dff2)])+':'+_0x5a846c;}function decrypt(_0x122af9,_0x2366d7){const _0xda91b5={_0x32feeb:0x3c3,_0x5b1913:0x41f,_0x2e1323:0x3c6,_0x3d4b8f:0x3ed,_0x12042d:0x479,_0x3b4f4d:0x3d6,_0x8026c1:0x3e6,_0x4dfe24:0x3de,_0x324d0c:0x112,_0x39111f:0xb6,_0x43178e:0x456,_0x27514a:0x44d,_0x20e8b8:0x34d,_0xfc617d:0x37b,_0x56e7bf:0x40b,_0x215ac4:0x3bc,_0x42c561:0x3c6,_0x637801:0x434,_0x971a81:0x3d3,_0xc3478f:0x412,_0x4b28e0:0x3a6,_0x18bed0:0x409,_0x490484:0x371,_0x156818:0x430,_0x40a4ec:0x400,_0x3a1796:0x467,_0x27905d:0x40e,_0x48e684:0x3ea,_0x29f4f9:0x387,_0x4e1ae1:0x3e4,_0x45251d:0x3e2,_0x4e1655:0x420,_0x47d87e:0xce,_0x571380:0x15e,_0x44358e:0x155,_0xd36580:0x144,_0xd334a5:0xf5,_0x36c345:0x428,_0x1f1a63:0x3c7,_0x1f93da:0x408,_0x2704c7:0x59,_0x4a628c:0xb8},_0x20547a={_0x2b012e:0x449,_0x2fb5ef:0x58,_0x4e31b9:0x75},_0x337f34={};_0x337f34[_0x42c531(_0xda91b5._0x32feeb,0x3a8,_0xda91b5._0x5b1913,_0xda91b5._0x2e1323)]=function(_0x16e51a,_0x1f0c85){return _0x16e51a||_0x1f0c85;},_0x337f34['laFuN']='Invalid\x20en'+_0x42c531(_0xda91b5._0x3d4b8f,0x493,_0xda91b5._0x12042d,0x42e)+_0x42c531(_0xda91b5._0x3b4f4d,0x3b3,_0xda91b5._0x8026c1,_0xda91b5._0x4dfe24);function _0x5723d1(_0x54637f,_0x3c5433,_0x11932b,_0x58ffb9){return _0x1ca951(_0x58ffb9-0xe9,_0x3c5433-0x89,_0x54637f,_0x58ffb9-0xce);}_0x337f34[_0x5723d1(_0xda91b5._0x324d0c,0xdf,_0xda91b5._0x39111f,0x118)]=_0x42c531(_0xda91b5._0x43178e,_0xda91b5._0x27514a,0x448,0x409);const _0x148335=_0x337f34,[_0x29da39,_0x4e8782,_0x32d663]=_0x122af9[_0x42c531(_0xda91b5._0x20e8b8,0x3af,_0xda91b5._0xfc617d,0x3a9)](':');function _0x42c531(_0x28cd21,_0xf6c2bd,_0x32522b,_0x359eec){return _0x2a8e9b(_0x359eec-_0x20547a._0x2b012e,_0x28cd21,_0x32522b-_0x20547a._0x2fb5ef,_0x359eec-_0x20547a._0x4e31b9);}if(_0x148335[_0x42c531(_0xda91b5._0x56e7bf,0x37a,_0xda91b5._0x215ac4,_0xda91b5._0x42c561)](!_0x29da39,!_0x4e8782)||!_0x32d663)throw new Error(_0x148335['laFuN']);const _0x4af35d=Buffer[_0x42c531(_0xda91b5._0x637801,0x3e1,0x3b6,_0xda91b5._0x971a81)](_0x29da39,_0x42c531(_0xda91b5._0xc3478f,0x3bb,_0xda91b5._0x4b28e0,_0xda91b5._0x18bed0)),_0x6f8476=Buffer[_0x42c531(_0xda91b5._0x490484,0x429,_0xda91b5._0x156818,_0xda91b5._0x971a81)](_0x4e8782,_0x148335[_0x42c531(0x3cc,0x43b,_0xda91b5._0x40a4ec,0x42c)]),_0x2fbb1b=_0x9c365b[_0x42c531(_0xda91b5._0x3a1796,0x3dd,0x3e8,_0xda91b5._0x27905d)+_0x42c531(_0xda91b5._0x48e684,_0xda91b5._0x29f4f9,0x419,_0xda91b5._0x4e1ae1)](ALGORITHM,_0x2366d7,_0x4af35d);_0x2fbb1b[_0x42c531(0x380,_0xda91b5._0x45251d,_0xda91b5._0x4e1655,0x3c3)](_0x6f8476);let _0x5485f2=_0x2fbb1b[_0x5723d1(_0xda91b5._0x47d87e,0xc6,_0xda91b5._0x571380,0x103)](_0x32d663,_0x5723d1(0xff,_0xda91b5._0x44358e,_0xda91b5._0xd36580,_0xda91b5._0xd334a5),'utf8');return _0x5485f2+=_0x2fbb1b[_0x42c531(_0xda91b5._0x36c345,0x444,_0xda91b5._0x1f1a63,_0xda91b5._0x1f93da)](_0x5723d1(_0xda91b5._0x2704c7,0x103,_0xda91b5._0x4a628c,0xb5)),_0x5485f2;}async function loadTokenStorage(_0x50d1b7={}){const _0x161958={_0x39d6d4:0x63,_0x38d5c2:0x86,_0x15cb3d:0x18,_0x5007ca:0x279,_0x3368f5:0x233,_0x28e9fb:0x1f5,_0xf69479:0x14f,_0x4f4321:0x14f,_0x416b0c:0x138,_0xc73ca:0x95,_0x11d9bf:0x87,_0x5e9561:0xe,_0x5e5a56:0x65,_0x3946d6:0x198,_0x15a922:0x19a,_0x15467d:0x1b7,_0xe83c0f:0x1ad,_0x4e4024:0x15,_0x4fc464:0x92,_0x41a961:0x67,_0x3845e3:0x98,_0x4e59e8:0x1ce,_0x5082a4:0x1f9,_0x92d8a3:0x217,_0xe5b0ce:0x219,_0x172a68:0x23d,_0x3b6c22:0x216,_0x7d0ba9:0x99,_0x10d05d:0xdd,_0x4df836:0x1ee,_0x244008:0x2b5,_0xfc1be3:0x251,_0x16e9ef:0x2a6,_0xc9e526:0x247,_0x5f9e5e:0x203,_0x352de3:0x211,_0x1df25d:0x40,_0x3a6edc:0x63,_0x3038e5:0xb0,_0x3dd681:0x42,_0x2a993e:0x4e,_0x1ba2ce:0x69,_0x2debd9:0x1f,_0x503b84:0x1da,_0x234558:0x55,_0x47075b:0x96},_0x57221b={_0x2bc8ec:0x4b},_0x1d4bdb={_0x13153f:0x205,_0x5b0d1a:0xca,_0x39b000:0x56},_0x3e1d62={'TRJec':_0x3793bd(0x5b,_0x161958._0x39d6d4,0x1,_0x161958._0x38d5c2)+_0x3793bd(0x7c,0x54,0x99,_0x161958._0x15cb3d)+'lue\x20format','CiKKi':_0x28b3f5(-_0x161958._0x5007ca,-_0x161958._0x3368f5,-0x22b,-_0x161958._0x28e9fb)+_0x28b3f5(-_0x161958._0xf69479,-0x19f,-_0x161958._0x4f4321,-0x1cc)+_0x28b3f5(-0x17c,-0x194,-0x1c2,-_0x161958._0x416b0c),'nEdKo':function(_0x319a8c,_0x1f8c19){return _0x319a8c(_0x1f8c19);},'WEUSt':function(_0x3b0491,_0x493a5a){return _0x3b0491===_0x493a5a;},'iWcpm':'EPhjh','hzKbc':'utf-8','MhBhq':function(_0x18d516,_0x4f5159){return _0x18d516===_0x4f5159;},'tMLvo':_0x3793bd(_0x161958._0xc73ca,_0x161958._0x11d9bf,0x85,0x99)},_0x3ec37e=_0x50d1b7['logger']||_0x470352;function _0x28b3f5(_0xea86e1,_0x9b6f37,_0xf71742,_0x35faf7){return _0x1ca951(_0x9b6f37- -_0x1d4bdb._0x13153f,_0x9b6f37-_0x1d4bdb._0x5b0d1a,_0xf71742,_0x35faf7-_0x1d4bdb._0x39b000);}const _0x17cab5=_0x50d1b7[_0x3793bd(_0x161958._0x5e9561,0x3b,0x5e,_0x161958._0x5e5a56)]||DATA_DIR,_0x5ba064=_0x5eccc5[_0x28b3f5(-_0x161958._0x3946d6,-_0x161958._0x15a922,-_0x161958._0x15467d,-_0x161958._0xe83c0f)](_0x17cab5,TOKENS_FILE);function _0x3793bd(_0x4cbb4e,_0x23b6a5,_0x2260a8,_0xb96ba2){return _0x1ca951(_0x4cbb4e-_0x57221b._0x2bc8ec,_0x23b6a5-0xa4,_0x23b6a5,_0xb96ba2-0xe8);}if(!_0x3e1d62[_0x28b3f5(-0x1df,-0x210,-0x231,-0x24f)](existsSync,_0x5ba064)){const _0x3bddf5={};return _0x3bddf5['tokens']={},_0x3bddf5;}try{if(_0x3e1d62['WEUSt'](_0x3e1d62[_0x3793bd(_0x161958._0x4e4024,0x2b,0x28,-0x45)],_0x3793bd(_0x161958._0x4fc464,_0x161958._0x41a961,0x59,_0x161958._0x3845e3)))throw new _0x477cbd(_0x3e1d62[_0x28b3f5(-0x1a7,-_0x161958._0x4e59e8,-_0x161958._0x5082a4,-0x208)]);else{const _0x3ac1eb=await _0x3f8d12[_0x28b3f5(-_0x161958._0x92d8a3,-_0x161958._0xe5b0ce,-_0x161958._0x172a68,-_0x161958._0x3b6c22)](_0x5ba064,_0x3e1d62[_0x3793bd(0x6a,0xb7,0x22,_0x161958._0x7d0ba9)]);return JSON[_0x3793bd(0xb2,_0x161958._0x10d05d,0xf1,0xb0)](_0x3ac1eb);}}catch(_0xa8a62e){if(_0x3e1d62[_0x28b3f5(-0x1cc,-_0x161958._0x4df836,-0x192,-0x241)](_0x3e1d62['tMLvo'],_0x3e1d62[_0x3793bd(0x9a,0xdc,0x49,0xec)])){const _0x2d83c8={};_0x2d83c8[_0x28b3f5(-_0x161958._0x244008,-_0x161958._0xfc1be3,-0x28b,-_0x161958._0x16e9ef)]=_0xa8a62e[_0x28b3f5(-_0x161958._0xc9e526,-_0x161958._0x5f9e5e,-0x21d,-_0x161958._0x352de3)],_0x3ec37e[_0x3793bd(-0xb,-0x5f,_0x161958._0x1df25d,-_0x161958._0x3a6edc)](_0x3793bd(0x4b,_0x161958._0x3038e5,_0x161958._0x3dd681,0x5f)+_0x3793bd(_0x161958._0x2a993e,0x80,_0x161958._0x1ba2ce,_0x161958._0x2debd9)+_0x28b3f5(-0x1b6,-_0x161958._0x503b84,-0x1be,-0x187),_0x2d83c8);const _0x572afb={};return _0x572afb['tokens']={},_0x572afb;}else throw new _0x302102(_0x3e1d62[_0x3793bd(0xa1,0xd8,_0x161958._0x234558,_0x161958._0x47075b)]);}}async function saveTokenStorage(_0x9d0b0f,_0x3ab05c={}){const _0x52787={_0x51745a:0x217,_0x50db9b:0x28d,_0x15ec76:0x25a,_0x18c045:0x27a,_0x567c90:0x217,_0x1b6ed3:0x208,_0x17f759:0x288,_0x21db62:0x2ad,_0x15fb12:0x16f,_0x5f41b9:0x137,_0x2d5728:0x14b,_0x3357c9:0x237,_0x4442e7:0x132,_0x3a03dc:0x13a,_0x4671dd:0x13e,_0x2f7815:0x160,_0x3afa16:0x1ea,_0x5e319d:0x1b4,_0x401955:0x2a6,_0x23b8f3:0x1d8,_0x11ca4e:0x211,_0x35e463:0x24c,_0xee68c7:0x1b1,_0x19b01b:0x259,_0x2012b9:0x241,_0x59638e:0x260,_0x5bafe5:0x108,_0x46120a:0x1ae,_0x435106:0x2ab,_0x4d3163:0x17c,_0x5a51fe:0x12a,_0x23b3de:0x16b,_0x47e138:0x126,_0x199ffa:0x271,_0x3b469c:0x2a3,_0x4daf72:0x126,_0x76a950:0xff,_0x480f59:0x17e,_0x3f828a:0x14d,_0x5cd3f9:0x191,_0x2e577c:0x1de},_0x1aa159={_0x4f90ae:0x6},_0x264a67={_0x5f5582:0x1d0,_0x49ba45:0x45},_0x52ed4d={};_0x52ed4d[_0x4d7fc0(_0x52787._0x51745a,0x271,_0x52787._0x50db9b,_0x52787._0x15ec76)]=_0x4d7fc0(0x2b0,_0x52787._0x18c045,_0x52787._0x567c90,0x243)+_0x4d7fc0(_0x52787._0x1b6ed3,0x218,0x278,0x1d4)+_0x4d7fc0(0x27f,0x24c,0x1fb,0x219)+'ge',_0x52ed4d[_0x4d7fc0(_0x52787._0x17f759,0x257,_0x52787._0x21db62,0x28a)]=_0x37ed86(_0x52787._0x15fb12,_0x52787._0x5f41b9,0x111,_0x52787._0x2d5728)+_0x4d7fc0(0x2bb,_0x52787._0x50db9b,_0x52787._0x3357c9,0x295)+_0x37ed86(_0x52787._0x4442e7,_0x52787._0x3a03dc,_0x52787._0x4671dd,0x176);const _0x3b5008=_0x52ed4d;function _0x4d7fc0(_0x1d4c61,_0x4c3864,_0x366a05,_0x44a61d){return _0x1ca951(_0x4c3864-0x21e,_0x4c3864-_0x264a67._0x5f5582,_0x366a05,_0x44a61d-_0x264a67._0x49ba45);}const _0x1a15ce=_0x3ab05c[_0x37ed86(0x1ed,_0x52787._0x2f7815,_0x52787._0x3afa16,_0x52787._0x5e319d)]||_0x470352,_0x2b5af4=_0x3ab05c[_0x37ed86(0x10b,0xc9,0x115,0x10e)]||DATA_DIR;function _0x37ed86(_0x30396c,_0x5e8168,_0x2f29e0,_0x33e408){return _0x1ca951(_0x33e408-0x14b,_0x5e8168-0x110,_0x30396c,_0x33e408-_0x1aa159._0x4f90ae);}const _0x3d385c=_0x5eccc5[_0x4d7fc0(0x2ea,0x289,_0x52787._0x401955,0x24d)](_0x2b5af4,TOKENS_FILE);try{const _0x1b20a1={};_0x1b20a1[_0x4d7fc0(_0x52787._0x23b8f3,_0x52787._0x11ca4e,_0x52787._0x35e463,_0x52787._0xee68c7)]=!![],await _0x3f8d12[_0x4d7fc0(_0x52787._0x19b01b,0x258,_0x52787._0x2012b9,_0x52787._0x59638e)](_0x2b5af4,_0x1b20a1);const _0x3f051d={};_0x3f051d[_0x37ed86(_0x52787._0x5bafe5,_0x52787._0x46120a,0x18c,0x149)]=0x180,await _0x3f8d12[_0x4d7fc0(0x2bd,0x25a,_0x52787._0x435106,0x23c)](_0x3d385c,JSON[_0x37ed86(_0x52787._0x4d3163,_0x52787._0x5a51fe,0x19a,_0x52787._0x23b3de)](_0x9d0b0f,null,-0x1104+0x149f+-0x399*0x1),_0x3f051d),_0x1a15ce[_0x37ed86(_0x52787._0x47e138,0x1c3,0x1ca,0x16e)](_0x3b5008[_0x4d7fc0(0x2c4,_0x52787._0x199ffa,0x28a,_0x52787._0x3b469c)]);}catch(_0x4ef552){const _0x471558={};_0x471558[_0x37ed86(_0x52787._0x4daf72,0x14b,0xeb,_0x52787._0x76a950)]=_0x4ef552[_0x37ed86(0x133,_0x52787._0x480f59,0x169,_0x52787._0x3f828a)],_0x1a15ce[_0x4d7fc0(_0x52787._0x5cd3f9,0x1d2,0x225,0x1ec)](_0x3b5008[_0x37ed86(_0x52787._0x2e577c,0x1c4,0x1a0,0x184)],_0x471558);throw _0x4ef552;}}export async function getUserGitTokens(_0x558469,_0x226240={}){const _0x5deef4={_0x4ab5cc:0x357,_0x5019fa:0x34c,_0x298d63:0x360,_0x26bff8:0x3f,_0x1972e7:0x2fa,_0x42f093:0x31c,_0x527dc8:0x373,_0x41ea2f:0x297,_0x344ea4:0x2dd,_0x52d4a8:0x282,_0x393bb1:0x38,_0xcd434c:0x6e,_0x587aae:0x337,_0x47c0d6:0x374,_0x1eb330:0x386,_0x223ef7:0x336,_0x240a24:0x62,_0x3195d3:0x8e,_0x37b4ea:0x9d,_0x3b3ad5:0xbc,_0x484e52:0xdf,_0x2bdb39:0x67,_0x2b7b00:0x4a,_0x2d2b6a:0x2fd,_0x43f8a7:0x2cc,_0xf183c4:0x2f6,_0x220b53:0x337,_0x56e812:0x43,_0x3a2bd1:0xb5,_0x863fe:0x3e,_0x1d422f:0x89,_0x288fcd:0xb0,_0x15cb45:0xed,_0x224191:0x372,_0x4d1a24:0x36e,_0x579b48:0x2c7,_0xe7a4c2:0x2d3,_0x47c676:0x329,_0x1b7276:0x49,_0x4dabb2:0x5d,_0x1acb30:0x29d,_0x4ad8ab:0x30a,_0x41ba13:0x2c9,_0x447821:0x39c,_0xfba2d8:0xf5,_0x53482b:0x17,_0x2a7587:0x6a,_0x4810a2:0x60,_0x572f1b:0x49,_0xaae8d3:0xa0,_0x499766:0x342,_0xc4ba97:0x45,_0x15ef50:0xa1,_0x5d6f88:0xe8,_0x1a9748:0x72,_0x1a240e:0x34e,_0xc7272c:0x3ad,_0x5b4ef7:0x40,_0x37eb89:0x30d,_0x5e403b:0x2fe,_0x2e7e52:0x54,_0xcaa16e:0x97,_0xdeb2f9:0xe1,_0x3115e7:0x98,_0x198474:0xf8,_0x236160:0x4,_0x2a14df:0x44,_0x59371f:0x356,_0x1b99f5:0x351,_0x451cd4:0x1f,_0x27f901:0x5b,_0x13ed19:0x3,_0x58ad2f:0x310,_0x502e7d:0x2f5,_0x38415d:0x1e,_0x52c24b:0xe,_0x2a958d:0x3,_0x2f75a1:0x34,_0x59a28c:0x2bb,_0x2bb5e8:0x312,_0x19faa8:0x86,_0x236433:0x5e,_0x3c59e2:0x33b,_0x7aadd3:0x344,_0x2fa855:0x375,_0x1d6cb7:0x34f,_0x4029a1:0x3c0,_0x29fda4:0x32f,_0x21d95c:0x2f,_0x1a4ccd:0x2e2,_0x2d8931:0x301,_0x475d29:0x346,_0x35d96a:0x2e5,_0x3d5442:0x270,_0x575633:0x85,_0x1cdd8c:0x2d,_0x49e5e8:0x38,_0x5c284e:0x2df,_0x96dd18:0x336,_0x295c86:0x2e6,_0x394874:0x2ae,_0x52cda1:0x6d,_0x3b658b:0x12,_0x21277f:0x80,_0x58c81c:0xa3,_0x16f8c6:0x40,_0x236de4:0x3a9,_0x12c790:0x377,_0xd52c4e:0x349,_0x48d9bb:0x3b,_0x3ead04:0x9,_0x42b69b:0x88,_0x399a63:0x2e0,_0x49b63a:0x2fc,_0x2b4af7:0x338,_0x267f9e:0x7e,_0x1fba7f:0x65,_0x40b2b7:0xa2,_0x18a035:0x47,_0x4dc418:0xc,_0xad92e8:0x84,_0x1732f1:0x16,_0x37832c:0x1b,_0x1ebb20:0x26,_0x1b6217:0xa,_0x49670d:0x2c,_0x2b5ad8:0x75,_0x4bfc35:0x337,_0x4a4790:0x37b,_0x2b1c61:0x36c,_0x3ea65d:0xb,_0x40a12e:0x50,_0x31e7a9:0x6a,_0x4098fe:0x2b4,_0x286ead:0x2ce,_0x199d0a:0x277,_0x1899c6:0x1a,_0x31770e:0x51,_0x2c03ea:0x2e2,_0x1360be:0x2ad,_0x2dd431:0x355,_0x45f4cc:0x369,_0x1e8138:0x2f8,_0x4ab7af:0x9c,_0x1c0da9:0x4e,_0x1ffa45:0x8b,_0x4d5319:0xdf,_0x28432f:0x38,_0x57fd73:0x32,_0xc0e924:0x8f},_0x24d2ad={_0xb01009:0x6,_0x813ed4:0x86},_0x16e3b2={_0xd76995:0x5e};function _0x4032ae(_0x1ec8e2,_0x5dc7cc,_0x25ecc3,_0x1efb4f){return _0x1ca951(_0x1ec8e2-0x309,_0x5dc7cc-0x11b,_0x5dc7cc,_0x1efb4f-_0x16e3b2._0xd76995);}const _0x4b032d={'dEsPb':_0x4032ae(_0x5deef4._0x4ab5cc,0x34f,_0x5deef4._0x5019fa,_0x5deef4._0x298d63)+_0x3791e5(0x18,0x31,_0x5deef4._0x26bff8,-0x14)+_0x4032ae(_0x5deef4._0x1972e7,0x2fd,_0x5deef4._0x42f093,0x2ce),'qMWDT':function(_0x5cd8da,_0x1576e7){return _0x5cd8da||_0x1576e7;},'PSVsG':_0x4032ae(0x315,0x36e,0x2cb,_0x5deef4._0x527dc8),'ZWTdL':_0x4032ae(0x2d5,_0x5deef4._0x41ea2f,_0x5deef4._0x344ea4,0x293),'qFtdA':_0x4032ae(0x2e4,0x303,_0x5deef4._0x52d4a8,0x280),'wtziN':_0x3791e5(-0x5c,-0xe,-0x8e,-0x72),'exHFk':_0x3791e5(-_0x5deef4._0x393bb1,-0x1e,-_0x5deef4._0xcd434c,-0x88)+_0x4032ae(0x321,_0x5deef4._0x587aae,_0x5deef4._0x47c0d6,_0x5deef4._0x1eb330),'xBTQf':function(_0x6db5de,_0x1d610d){return _0x6db5de(_0x1d610d);},'sBVfs':_0x4032ae(0x311,_0x5deef4._0x223ef7,0x356,0x2fd),'QRkyS':_0x3791e5(-_0x5deef4._0x240a24,-_0x5deef4._0x3195d3,-0x9f,-0x2a),'JxwxG':_0x3791e5(-_0x5deef4._0x37b4ea,-_0x5deef4._0x3b3ad5,-_0x5deef4._0x484e52,-0xcf),'ELgBm':_0x3791e5(-_0x5deef4._0x2bdb39,-0x8f,-0xb,-0x36),'lVhNy':function(_0x1cb94e,_0x57618d,_0x32a781){return _0x1cb94e(_0x57618d,_0x32a781);},'SdEtw':function(_0x306d45,_0x3f458e){return _0x306d45!==_0x3f458e;},'tHCYQ':_0x3791e5(-0xb,_0x5deef4._0x2b7b00,-0x6e,0x1f),'uryxi':_0x4032ae(_0x5deef4._0x2d2b6a,_0x5deef4._0x43f8a7,_0x5deef4._0xf183c4,_0x5deef4._0x220b53),'AbZOz':'TQtwo','kWzxO':function(_0x4a0995,_0x5a71bc){return _0x4a0995===_0x5a71bc;},'GSker':_0x3791e5(-0x93,-_0x5deef4._0x56e812,-_0x5deef4._0x3a2bd1,-_0x5deef4._0x863fe),'uszMP':_0x3791e5(-_0x5deef4._0x1d422f,-0xb1,-_0x5deef4._0x288fcd,-_0x5deef4._0x15cb45)},_0x3e3f04=_0x226240[_0x4032ae(_0x5deef4._0x224191,_0x5deef4._0x4d1a24,0x3bf,0x385)]||_0x470352;if(!_0x558469){if(_0x4b032d['qFtdA']===_0x4b032d['wtziN'])_0x154111[_0x4032ae(0x36e,0x3c1,0x35f,0x378)]=_0x4e9227['expires_at'];else throw new Error(_0x4b032d[_0x4032ae(_0x5deef4._0x579b48,0x2ea,_0x5deef4._0xe7a4c2,_0x5deef4._0x47c676)]);}const _0x490003=await _0x4b032d[_0x3791e5(-_0x5deef4._0x1b7276,-0x97,-_0x5deef4._0x4dabb2,-0x78)](loadTokenStorage,_0x226240),_0x11ad61=_0x490003[_0x4032ae(0x2bb,_0x5deef4._0x1acb30,_0x5deef4._0x4ad8ab,_0x5deef4._0x41ba13)]?.[_0x558469];if(!_0x11ad61){if(_0x4b032d[_0x4032ae(0x371,0x32d,_0x5deef4._0x447821,0x38f)]!==_0x4b032d[_0x3791e5(-0x91,-0xaa,-0xe5,-_0x5deef4._0xfba2d8)])return{};else throw new _0x5d572f(_0x4b032d[_0x3791e5(-0x4b,_0x5deef4._0x53482b,-_0x5deef4._0x2a7587,-_0x5deef4._0x4810a2)]);}const _0x593240=await _0x4b032d[_0x3791e5(-_0x5deef4._0x572f1b,-0x8e,-_0x5deef4._0xaae8d3,-0x8)](getEncryptionKey,_0x226240),_0x481d35={};function _0x3791e5(_0x2a9b55,_0x21203c,_0xb87a42,_0x10a4da){return _0x2a8e9b(_0x2a9b55-_0x24d2ad._0xb01009,_0xb87a42,_0xb87a42-_0x24d2ad._0x813ed4,_0x10a4da-0x18b);}for(const [_0x4f7681,_0x28d7ee]of Object[_0x4032ae(0x34a,0x38d,_0x5deef4._0x499766,0x374)](_0x11ad61)){if(_0x4b032d['JxwxG']!==_0x4b032d['ELgBm'])try{const _0x43e205={'access_token':_0x28d7ee[_0x3791e5(-_0x5deef4._0xc4ba97,-0xb,-_0x5deef4._0x15ef50,-0x8b)+'en']?_0x4b032d[_0x3791e5(-0x97,-0x75,-_0x5deef4._0x5d6f88,-_0x5deef4._0x1a9748)](decrypt,_0x28d7ee['access_tok'+'en'],_0x593240):null,'connected_at':_0x28d7ee[_0x4032ae(_0x5deef4._0x1a240e,0x2fa,0x317,_0x5deef4._0xc7272c)+'at']};_0x28d7ee[_0x3791e5(-0x33,-0x1e,-0x76,-_0x5deef4._0x5b4ef7)+'ken']&&(_0x43e205[_0x4032ae(_0x5deef4._0x42f093,_0x5deef4._0x37eb89,0x2e9,_0x5deef4._0x5e403b)+_0x3791e5(0x7,0x42,_0x5deef4._0x2e7e52,0x36)]=_0x4b032d[_0x3791e5(-_0x5deef4._0xcaa16e,-_0x5deef4._0xdeb2f9,-_0x5deef4._0x3115e7,-_0x5deef4._0x198474)](decrypt,_0x28d7ee[_0x3791e5(-0x33,_0x5deef4._0x236160,-0x41,-_0x5deef4._0x2a14df)+_0x4032ae(_0x5deef4._0x59371f,0x3ba,_0x5deef4._0x1b99f5,0x330)],_0x593240));if(_0x28d7ee[_0x3791e5(_0x5deef4._0x451cd4,0x4,_0x5deef4._0x27f901,_0x5deef4._0x13ed19)]){if(_0x4b032d[_0x4032ae(_0x5deef4._0x58ad2f,_0x5deef4._0xe7a4c2,_0x5deef4._0x502e7d,0x32f)](_0x4b032d[_0x3791e5(_0x5deef4._0x38415d,_0x5deef4._0x52c24b,_0x5deef4._0x2a958d,0x59)],_0x4b032d[_0x3791e5(0x3,0x42,-0x4f,_0x5deef4._0x2f75a1)]))_0x43e205['expires_at']=_0x28d7ee['expires_at'];else{const _0x3cb596={};return _0x3cb596[_0x4032ae(_0x5deef4._0x59a28c,0x2d2,_0x5deef4._0x2bb5e8,0x29e)]={},_0x3cb596;}}_0x28d7ee['github_log'+'in']&&(_0x43e205['github_log'+'in']=_0x28d7ee[_0x3791e5(-_0x5deef4._0x19faa8,-_0x5deef4._0x236433,-0x24,-0x2a)+'in']);_0x28d7ee['github_use'+'r_id']&&(_0x43e205['github_use'+_0x4032ae(_0x5deef4._0x3c59e2,0x34d,0x394,_0x5deef4._0x7aadd3)]=_0x28d7ee[_0x4032ae(_0x5deef4._0x2fa855,_0x5deef4._0x1d6cb7,_0x5deef4._0x4029a1,_0x5deef4._0x29fda4)+_0x3791e5(-0x14,0x39,-_0x5deef4._0x21d95c,0x1c)]);if(_0x28d7ee[_0x4032ae(0x2d1,_0x5deef4._0x1a4ccd,0x281,_0x5deef4._0x2d8931)+'name']){if(_0x4b032d[_0x4032ae(0x32b,_0x5deef4._0x475d29,0x36f,_0x5deef4._0x35d96a)]!==_0x4b032d['AbZOz']){const [_0x4c1f8b,_0x3adaee,_0x1d79a0]=_0x4ca6e9['split'](':');if(_0x4b032d[_0x4032ae(0x2ba,0x2a6,_0x5deef4._0x3d5442,0x31a)](!_0x4c1f8b,!_0x3adaee)||!_0x1d79a0)throw new _0x5bf7d3(_0x3791e5(-0x36,-0x51,-_0x5deef4._0x575633,_0x5deef4._0x1cdd8c)+_0x3791e5(-0x15,-0x2f,_0x5deef4._0x49e5e8,0x1)+'lue\x20format');const _0x51064c=_0x14ee83[_0x4032ae(_0x5deef4._0x5c284e,0x2b1,_0x5deef4._0x96dd18,_0x5deef4._0x295c86)](_0x4c1f8b,_0x4b032d[_0x4032ae(0x2e2,_0x5deef4._0x394874,_0x5deef4._0x59a28c,0x300)]),_0x4dc123=_0x1e32fa[_0x3791e5(-0x70,-0xc0,-_0x5deef4._0x3195d3,-0x84)](_0x3adaee,_0x4b032d[_0x3791e5(-_0x5deef4._0x52cda1,-0x45,-_0x5deef4._0x3b658b,-0x3c)]),_0x47609c=_0x5104d0['createDeci'+'pheriv'](_0x4597ec,_0x422576,_0x51064c);_0x47609c[_0x3791e5(-_0x5deef4._0x21277f,-0x66,-0x68,-_0x5deef4._0x58c81c)](_0x4dc123);let _0x53e2ed=_0x47609c[_0x3791e5(-0x2c,-0x2f,-0x51,-_0x5deef4._0x16f8c6)](_0x1d79a0,'hex',_0x4b032d[_0x4032ae(0x35e,_0x5deef4._0x236de4,_0x5deef4._0x12c790,_0x5deef4._0xd52c4e)]);return _0x53e2ed+=_0x47609c[_0x3791e5(-_0x5deef4._0x48d9bb,_0x5deef4._0x3ead04,-0x9e,-_0x5deef4._0x42b69b)](_0x4b032d['ZWTdL']),_0x53e2ed;}else _0x43e205['azure_user'+_0x4032ae(_0x5deef4._0x399a63,_0x5deef4._0x49b63a,0x30c,_0x5deef4._0x2b4af7)]=_0x28d7ee[_0x3791e5(-_0x5deef4._0x267f9e,-0x6e,-0x8b,-0xb1)+'name'];}_0x481d35[_0x4f7681]=_0x43e205;}catch(_0x5c76ac){if(_0x4b032d[_0x3791e5(-0x5e,-_0x5deef4._0x1fba7f,-_0x5deef4._0x40b2b7,-0x5a)](_0x4b032d[_0x3791e5(-_0x5deef4._0x18a035,-0x71,_0x5deef4._0x4dc418,-_0x5deef4._0x21d95c)],_0x4b032d[_0x3791e5(-0x96,-_0x5deef4._0x572f1b,-0x67,-0xbf)])){const _0x29db1f=_0x58f4d9[_0x3791e5(-0x37,-0x5a,-_0x5deef4._0xad92e8,-_0x5deef4._0x1732f1)+'s'](_0x371459),_0x1a90d9=_0x3a4af9[_0x3791e5(-0x34,-_0x5deef4._0x2f75a1,-_0x5deef4._0x37832c,_0x5deef4._0x1ebb20)+_0x3791e5(_0x5deef4._0x1b6217,0x1,0x35,-0x50)](_0x26da41,_0x451e7e,_0x29db1f);let _0x14b06a=_0x1a90d9[_0x3791e5(-_0x5deef4._0x49670d,-_0x5deef4._0x2b5ad8,-0x69,0x13)](_0x3d25f5,_0x4b032d[_0x4032ae(0x35e,_0x5deef4._0x4bfc35,_0x5deef4._0x4a4790,_0x5deef4._0x2b1c61)],_0x4b032d[_0x3791e5(-0x6d,-_0x5deef4._0x3ea65d,-_0x5deef4._0x40a12e,-0x25)]);_0x14b06a+=_0x1a90d9['final'](_0x4b032d[_0x3791e5(-0x6d,-0x4d,-_0x5deef4._0x37832c,-_0x5deef4._0x31e7a9)]);const _0x76bd12=_0x1a90d9[_0x4032ae(_0x5deef4._0x4098fe,0x2f2,_0x5deef4._0x286ead,_0x5deef4._0x199d0a)]();return _0x29db1f['toString'](_0x4b032d[_0x3791e5(-0x6d,-0x86,-0x76,-0xd1)])+':'+_0x76bd12[_0x3791e5(-0x2b,-_0x5deef4._0x1899c6,-_0x5deef4._0x31770e,0x14)](_0x4b032d[_0x4032ae(_0x5deef4._0x2c03ea,_0x5deef4._0x1360be,0x2c0,0x2a8)])+':'+_0x14b06a;}else{const _0x383135={};_0x383135['userId']=_0x558469,_0x383135[_0x4032ae(_0x5deef4._0x2dd431,0x39c,0x372,_0x5deef4._0x45f4cc)+'me']=_0x4f7681,_0x383135[_0x4032ae(0x2bd,0x289,0x313,_0x5deef4._0x1e8138)]=_0x5c76ac['message'],_0x3e3f04[_0x3791e5(-_0x5deef4._0x4ab7af,-0x8a,-0xc6,-_0x5deef4._0x1c0da9)](_0x3791e5(-0x46,-0x6b,0x12,-0x5)+_0x3791e5(-_0x5deef4._0x1ffa45,-0x56,-0x6a,-_0x5deef4._0x4d5319)+_0x3791e5(0x19,_0x5deef4._0x28432f,_0x5deef4._0x1c0da9,-_0x5deef4._0x57fd73)+_0x3791e5(-0x84,-0x30,-_0x5deef4._0xc0e924,-0x5a),_0x383135);}}else return![];}return _0x481d35;}export async function getUserGitToken(_0x27ebd3,_0x11cb54,_0x571f6c={}){const _0x5487c3={'ObArb':function(_0x16b255,_0x55cf6f,_0x1ecd64){return _0x16b255(_0x55cf6f,_0x1ecd64);}},_0xcff458=await _0x5487c3['ObArb'](getUserGitTokens,_0x27ebd3,_0x571f6c);return _0xcff458[_0x11cb54]||null;}export async function storeUserGitToken(_0x39f849,_0x9ad7f0,_0x467454,_0x338832={}){const _0x495843={_0x22a9eb:0x2,_0x4af0b2:0x11,_0xbd4b16:0x11,_0x4777de:0x94,_0x2e9698:0x2f,_0x12b23c:0x485,_0x4ea09a:0x4d8,_0x34347e:0x61,_0x41bc28:0x9a,_0xcac504:0x40d,_0x8ce74a:0x469,_0x44aeea:0x47,_0x9e59d6:0x5,_0x278710:0x444,_0x42c5bc:0x66,_0x14cbd4:0x44f,_0x331bdd:0x3f,_0x899ac5:0x29,_0x22647f:0x17,_0x42220d:0xc,_0x2dc25f:0x4ac,_0x5d2824:0x431,_0x591640:0x483,_0x2d20db:0x53,_0x181a4c:0x2f,_0x3f66a9:0x3e6,_0x5711c4:0x4a7,_0x162d2a:0x4ca,_0x116baf:0x3eb,_0x2fd1c7:0x3c1,_0x6476f4:0x46,_0x33fb95:0x5c,_0x96ad92:0x42b,_0x23e9af:0x46c,_0x53ff5c:0x4a1,_0x3b73ce:0xaf,_0x2264a1:0x19,_0x2d5a96:0x5f,_0x3f43b2:0x3e8,_0x5cf0a4:0x434,_0x500f7b:0xb2,_0x768c31:0xb2,_0x23a895:0x65,_0x2b1cd4:0x12,_0x40deac:0x2e,_0x220c76:0x1b,_0x40de75:0x453,_0x4b2a30:0xf,_0x4f97ed:0x55,_0xc8577e:0x52,_0x274c89:0x42,_0x4bd5ae:0x16,_0x48c86b:0x46b,_0x238e1f:0x41d,_0x1ec3c4:0x3a0,_0x3c8bcf:0x3ef,_0x2dd5dc:0x3f6,_0x26f583:0x3a1,_0x1920cb:0x3f6,_0x4481d5:0x3fe,_0x29d2ce:0x3fa,_0x52d849:0x3b2,_0x246dc3:0x45a,_0x116cac:0x3da,_0x2b261b:0x13,_0x3e6883:0x48,_0x2a187f:0x49a,_0x1eae9b:0x47b,_0x5f0cf3:0x4cf,_0x5e0c6f:0x99,_0x53638c:0x5a,_0x4d9ae4:0x3af,_0xf08521:0x40b,_0x34f86d:0x3f7,_0x4aa680:0x3b4,_0x16f77a:0x3b4,_0x25994a:0x81,_0x51e98c:0x25,_0xd14e41:0x67,_0x67c0a0:0x6b,_0xc223d7:0x9f,_0x67557e:0x3e8,_0x4ec9e6:0x73,_0x164353:0x51,_0x5d9740:0x4e7,_0x401141:0x448,_0x47c46a:0x4a4,_0x4b651f:0x4f6,_0x2e22d2:0x31,_0xd59707:0xa7,_0x34dfff:0x48,_0x4d42fd:0xa8,_0x34e60d:0x57,_0x243a7f:0x53,_0x241dce:0x48,_0x163f5d:0x44,_0x258a92:0x86,_0x61f6c3:0x4d6,_0x2b694d:0x15,_0x29c35f:0x19,_0x152f0f:0x3ce,_0x406a1c:0x462,_0x5074f3:0x405,_0x45a244:0x44f,_0xc020b1:0x5d,_0xfc2425:0x4,_0x26dd70:0x4c,_0x30d657:0x456,_0x1b3fcb:0x45f,_0x190826:0x474,_0x21398c:0x44c},_0x331e48={_0x5d8406:0x134},_0x5f1095={_0xcd130:0x482,_0x249645:0x146},_0x2a15b8={'ieqbl':function(_0x56b1cd,_0x58e372,_0x4d89cd){return _0x56b1cd(_0x58e372,_0x4d89cd);},'PcLzL':function(_0xe8ac27,_0x1f0af7){return _0xe8ac27!==_0x1f0af7;},'Aoddx':_0x21969b(0x18,0x3,-0x1c,-0x27),'ZQJyP':_0x21969b(_0x495843._0x22a9eb,0x17,-0x18,_0x495843._0x4af0b2),'fVpRb':_0x21969b(-0x1b,-_0x495843._0xbd4b16,_0x495843._0x4777de,_0x495843._0x2e9698)+_0x161799(_0x495843._0x12b23c,_0x495843._0x4ea09a,0x494,0x4d8)+'uired','dCBJT':function(_0x5d5c4b,_0x7c6623){return _0x5d5c4b(_0x7c6623);},'PwIjR':function(_0x2d8df1,_0x3289f5){return _0x2d8df1!==_0x3289f5;},'dTbiH':_0x21969b(_0x495843._0x34347e,_0x495843._0x41bc28,0x96,0x3c),'RrrbV':function(_0x85f84a,_0x2e4075){return _0x85f84a===_0x2e4075;},'YmBXH':'XijBN','vWTtp':_0x161799(_0x495843._0xcac504,_0x495843._0x8ce74a,0x43f,0x436),'gLSxx':function(_0x90e71b,_0x304719,_0x8b0cee){return _0x90e71b(_0x304719,_0x8b0cee);}},_0x27aaad=_0x338832[_0x21969b(_0x495843._0x44aeea,0x5f,-_0x495843._0x9e59d6,0x4a)]||_0x470352;if(!_0x39f849){if(_0x2a15b8['PcLzL'](_0x2a15b8['Aoddx'],_0x2a15b8[_0x161799(0x440,0x466,0x44c,0x3eb)]))throw new Error(_0x161799(0x3f5,0x434,_0x495843._0x278710,0x45d)+'\x20required');else _0x27d164[_0x21969b(0x3e,-0x12,0x1f,-0xc)+_0x21969b(0x8b,0x27,_0x495843._0x42c5bc,0x2e)]=_0x2a15b8[_0x161799(0x48c,0x466,_0x495843._0x14cbd4,0x47b)](_0x2bfe21,_0x5e66e8[_0x21969b(-_0x495843._0x331bdd,-_0x495843._0x899ac5,_0x495843._0x22647f,-_0x495843._0x42220d)+_0x161799(_0x495843._0x2dc25f,_0x495843._0x5d2824,_0x495843._0x591640,0x49f)],_0x563336);}if(!_0x9ad7f0)throw new Error(_0x2a15b8[_0x21969b(-_0x495843._0x2d20db,0x1f,-0x4,-_0x495843._0x181a4c)]);if(!_0x467454?.['access_tok'+'en'])throw new Error(_0x161799(0x3e4,0x423,0x408,_0x495843._0x3f66a9)+'en\x20is\x20requ'+_0x161799(0x507,0x4f0,_0x495843._0x5711c4,_0x495843._0x162d2a));const _0x62212f=await getEncryptionKey(_0x338832),_0x18aa2a=await _0x2a15b8['dCBJT'](loadTokenStorage,_0x338832);!_0x18aa2a[_0x21969b(-0x8a,-0x7d,-0x39,-0x6d)]&&(_0x18aa2a['tokens']={});!_0x18aa2a[_0x161799(_0x495843._0x116baf,_0x495843._0x2fd1c7,0x3e8,0x3fc)][_0x39f849]&&(_0x21969b(0x31,-_0x495843._0x6476f4,_0x495843._0x33fb95,0x17)!==_0x161799(_0x495843._0x96ad92,0x412,_0x495843._0x23e9af,_0x495843._0x53ff5c)?_0x22bcb7['github_log'+'in']=_0x52b702[_0x21969b(-0x2a,-_0x495843._0x3b73ce,-_0x495843._0x2264a1,-_0x495843._0x2d5a96)+'in']:_0x18aa2a[_0x161799(0x3cd,0x3da,_0x495843._0x3f43b2,0x410)][_0x39f849]={});const _0x102b42={'access_token':_0x2a15b8[_0x161799(0x406,_0x495843._0x5cf0a4,0x44f,0x424)](encrypt,_0x467454['access_tok'+'en'],_0x62212f),'connected_at':new Date()[_0x21969b(-_0x495843._0x500f7b,-_0x495843._0x768c31,-0xba,-_0x495843._0x23a895)+'g']()};_0x467454[_0x21969b(_0x495843._0x2b1cd4,-0x33,_0x495843._0x40deac,-0xc)+_0x21969b(0x26,0xb,_0x495843._0x220c76,0x2e)]&&(_0x102b42['refresh_to'+_0x161799(0x4bb,_0x495843._0x40de75,_0x495843._0x591640,0x426)]=encrypt(_0x467454['refresh_to'+'ken'],_0x62212f));function _0x161799(_0x429878,_0x3cc08e,_0x240cc9,_0x43ecbc){return _0x2a8e9b(_0x240cc9-_0x5f1095._0xcd130,_0x429878,_0x240cc9-0x1f3,_0x43ecbc-_0x5f1095._0x249645);}if(_0x467454['expires_at']){if(_0x2a15b8[_0x21969b(-0x73,_0x495843._0x4b2a30,-_0x495843._0x4f97ed,-_0x495843._0xc8577e)](_0x2a15b8[_0x21969b(-0x22,0x3d,-_0x495843._0x274c89,_0x495843._0x4bd5ae)],_0x2a15b8[_0x161799(0x4c2,0x48d,_0x495843._0x48c86b,0x47b)])){const _0x1ee861={};_0x1ee861[_0x161799(_0x495843._0x238e1f,_0x495843._0x1ec3c4,_0x495843._0x3c8bcf,0x398)]=!![],_0x1ee861['expires_at']=_0x24773e['expires_at'],_0x1ee861['github_log'+'in']=_0x3bfe13[_0x161799(_0x495843._0x2dd5dc,_0x495843._0x26f583,_0x495843._0x1920cb,0x3fe)+'in'],_0x1ee861[_0x161799(0x3dc,0x3c9,_0x495843._0x4481d5,_0x495843._0x29d2ce)+_0x161799(_0x495843._0x52d849,_0x495843._0x246dc3,0x40d,_0x495843._0x116cac)]=_0x4f6ce3['azure_user'+_0x21969b(_0x495843._0x2b261b,-0x4,-0x3a,-_0x495843._0x3e6883)],_0x1ee861[_0x161799(_0x495843._0x2a187f,0x462,_0x495843._0x1eae9b,_0x495843._0x5f0cf3)+'at']=_0xb4b705['connected_'+'at'],_0x59cf12[_0x45c894]=_0x1ee861;}else _0x102b42['expires_at']=_0x467454[_0x21969b(_0x495843._0x5e0c6f,_0x495843._0x53638c,0x82,_0x495843._0x6476f4)];}_0x467454[_0x161799(_0x495843._0x4d9ae4,_0x495843._0xf08521,0x3f6,_0x495843._0x34f86d)+'in']&&(_0x2a15b8[_0x161799(_0x495843._0x4aa680,_0x495843._0x16f77a,0x3f2,_0x495843._0x29d2ce)](_0x2a15b8[_0x21969b(-0x96,-_0x495843._0x25994a,-_0x495843._0x51e98c,-_0x495843._0xd14e41)],_0x2a15b8[_0x21969b(0x6,-_0x495843._0x67c0a0,-_0x495843._0xc223d7,-0x54)])?_0x511b25[_0x161799(0x444,0x447,_0x495843._0x67557e,0x3db)][_0x5a0e04]={}:_0x102b42[_0x21969b(-0x48,-_0x495843._0x4ec9e6,-_0x495843._0x164353,-0x5f)+'in']=_0x467454['github_log'+'in']);_0x467454[_0x161799(0x48a,0x48e,0x4a2,_0x495843._0x5d9740)+'r_id']&&(_0x102b42[_0x161799(_0x495843._0x401141,0x4c3,0x4a2,0x454)+'r_id']=_0x467454[_0x161799(_0x495843._0x47c46a,_0x495843._0x4b651f,0x4a2,0x46e)+_0x21969b(-0x14,-0x13,_0x495843._0x2e22d2,0x13)]);_0x467454['azure_user'+_0x21969b(-_0x495843._0xd59707,-0x86,-0x84,-_0x495843._0x34dfff)]&&(_0x102b42[_0x21969b(-_0x495843._0x4d42fd,-0x66,-_0x495843._0x9e59d6,-_0x495843._0x34e60d)+_0x21969b(-0x35,-0x45,-_0x495843._0x243a7f,-_0x495843._0x241dce)]=_0x467454[_0x21969b(0xd,-_0x495843._0x163f5d,-_0x495843._0x258a92,-0x57)+'name']);_0x18aa2a['tokens'][_0x39f849][_0x9ad7f0]=_0x102b42;function _0x21969b(_0x7edf37,_0x422b6b,_0x5507ec,_0x5f0d30){return _0x2a8e9b(_0x5f0d30-0x2d,_0x422b6b,_0x5507ec-0x46,_0x5f0d30-_0x331e48._0x5d8406);}await _0x2a15b8[_0x161799(0x43e,_0x495843._0x61f6c3,0x473,0x43b)](saveTokenStorage,_0x18aa2a,_0x338832);const _0x190524={};_0x190524[_0x21969b(-0x15,_0x495843._0x34e60d,_0x495843._0x2b694d,_0x495843._0x29c35f)]=_0x39f849,_0x190524['providerNa'+'me']=_0x9ad7f0,_0x190524['hasRefresh'+'Token']=!!_0x467454['refresh_to'+_0x21969b(0x62,-0x8,0x92,0x2e)],_0x190524[_0x161799(_0x495843._0x152f0f,_0x495843._0x406a1c,_0x495843._0x5074f3,_0x495843._0x45a244)]=_0x467454[_0x161799(0x4e9,0x4eb,0x49b,_0x495843._0x246dc3)],_0x27aaad[_0x21969b(-0xa2,-_0x495843._0xc020b1,_0x495843._0xfc2425,-_0x495843._0x26dd70)](_0x21969b(-0x1a,0x86,0x80,0x39)+_0x161799(_0x495843._0x30d657,_0x495843._0x1b3fcb,_0x495843._0x190826,_0x495843._0x21398c)+'\x20user',_0x190524);}export async function updateUserGitToken(_0x495395,_0x530d94,_0x16b5a5,_0x264db8={}){const _0x19a11e={_0x24833e:0x4f,_0x595be1:0xf,_0x921337:0x2e,_0x1836cf:0x5d,_0x909265:0x88,_0x16a65d:0x4b0,_0x3d044f:0x486,_0x4d52e7:0x33,_0x508dcd:0x43,_0x12fe77:0x487,_0x374d92:0x51,_0x1b434f:0x16,_0x57ed9d:0x87,_0x3ccd4a:0x7f,_0x2dc756:0xbb,_0x2a036d:0x85,_0x10dbb5:0x78,_0x3cbcc4:0x71,_0x2505bb:0xfe,_0xff33ef:0xc1,_0x5459c5:0xe1,_0x355775:0x64,_0x57b750:0xdc,_0x55fb05:0x76,_0x45a942:0x24,_0x1ae87d:0xa,_0x1f4ac6:0x430,_0x7ad1fd:0x476,_0x2f9328:0x3f3,_0x328b16:0x35,_0x510a10:0x6f,_0x510b91:0xa7,_0x47539a:0x496,_0x46b293:0x450,_0x37cdd2:0x45c,_0x492696:0x41d,_0x109849:0x423,_0xeba0c4:0x47b,_0x853866:0x45f,_0x23520e:0x123,_0x209900:0xac,_0x549af6:0x43c,_0x2fac74:0xa5,_0x5c2efe:0xe3,_0x1ab6c7:0xf3,_0x5f0018:0xa5,_0x328bd6:0xf6,_0x5954e8:0x3bd,_0x337c88:0x415,_0x39ad3b:0xae,_0x577a18:0xbc,_0x2b5d52:0x72,_0xab740f:0x3fb,_0x848ce:0x3ac,_0x13f1fd:0x40b,_0x981623:0xad,_0x149888:0x75,_0x176d18:0xeb,_0x2ecb18:0x9e,_0x3a526e:0xc0,_0x579081:0x74,_0x12f70b:0x75,_0x189c8c:0xab,_0x197e63:0x3f3,_0x476ab6:0x42b,_0x5122b9:0x62,_0x1aa328:0x41,_0x79a24b:0xb6,_0x39d36a:0x49b,_0x5853fa:0x44f,_0x296fe4:0x44c,_0x2e76d4:0x7c,_0x2b836e:0x6,_0x729eb6:0x4a7,_0x4bbd89:0x47d,_0x3c8b65:0x46e,_0x47c648:0x1a,_0x87f24f:0x9,_0x55af37:0x35,_0x458568:0x4b3,_0x529073:0x50b,_0xbe9d7:0x512,_0x5beb23:0x1d,_0x287a50:0x10,_0x48ac24:0x66,_0x50c26b:0x4ca,_0x2eb10a:0x469,_0x430fcd:0x4eb,_0x253999:0x10e,_0x57261f:0xcd,_0x21f7bd:0xb7,_0x998673:0xc4},_0x4cea92={_0x5e8087:0x83},_0x1d426c={'jmJQQ':function(_0x3faec3,_0x219dc0){return _0x3faec3||_0x219dc0;},'TENtu':function(_0x31dbcb,_0x1241b5){return _0x31dbcb!==_0x1241b5;},'eXPIX':function(_0x86c109,_0x15c8cf){return _0x86c109(_0x15c8cf);},'AuNRq':function(_0x440d21,_0x49f63e){return _0x440d21===_0x49f63e;},'HUznf':_0xfc1ec6(-_0x19a11e._0x24833e,-0x7,-_0x19a11e._0x595be1,-_0x19a11e._0x921337),'CKkFP':function(_0x11657f,_0x333254,_0xb9b343){return _0x11657f(_0x333254,_0xb9b343);},'tKBrb':function(_0x1ebb0f,_0x20a4cd){return _0x1ebb0f!==_0x20a4cd;},'gLWFd':'QpLeI','ViCrC':_0xfc1ec6(-_0x19a11e._0x1836cf,-_0x19a11e._0x909265,-0x75,-0x39)+'t\x20token\x20fo'+_0x14b36c(_0x19a11e._0x16a65d,0x4e1,0x4d8,0x4b8)},_0x5f16c0=_0x264db8[_0x14b36c(0x4b7,0x4e7,0x492,_0x19a11e._0x3d044f)]||_0x470352;if(_0x1d426c[_0xfc1ec6(-0x7e,-_0x19a11e._0x4d52e7,0x11,-_0x19a11e._0x508dcd)](!_0x495395,!_0x530d94)){if(_0x1d426c[_0x14b36c(0x4ab,_0x19a11e._0x12fe77,0x490,0x477)](_0xfc1ec6(-_0x19a11e._0x374d92,-0x49,-_0x19a11e._0x1b434f,-_0x19a11e._0x57ed9d),_0xfc1ec6(-0x41,-_0x19a11e._0x3ccd4a,-0x9f,-_0x19a11e._0x2dc756)))throw new Error(_0xfc1ec6(-_0x19a11e._0x2a036d,-0x4d,-_0x19a11e._0x10dbb5,-0x97)+_0xfc1ec6(-0x23,-0x79,-0x53,-0xd6)+_0xfc1ec6(-0x34,-_0x19a11e._0x3cbcc4,-0x34,-0x35)+'required');else{const _0x3c6169={};_0x3c6169[_0xfc1ec6(-_0x19a11e._0x2505bb,-_0x19a11e._0xff33ef,-_0x19a11e._0x5459c5,-_0x19a11e._0x355775)]=_0x1a6e9a['message'],_0x20a5c3['error']('Failed\x20to\x20'+_0xfc1ec6(-_0x19a11e._0x57b750,-0x8c,-0xde,-_0x19a11e._0x55fb05)+_0xfc1ec6(-0x72,-_0x19a11e._0x45a942,_0x19a11e._0x1ae87d,-0x2e)+_0x14b36c(_0x19a11e._0x1f4ac6,0x447,_0x19a11e._0x7ad1fd,_0x19a11e._0x2f9328),_0x3c6169);throw new _0x159488('Failed\x20to\x20'+_0xfc1ec6(-_0x19a11e._0x328b16,-_0x19a11e._0x510a10,-_0x19a11e._0x510b91,-0x8a)+_0x14b36c(_0x19a11e._0x47539a,_0x19a11e._0x46b293,0x43b,_0x19a11e._0x37cdd2)+_0x14b36c(0x445,_0x19a11e._0x492696,0x492,_0x19a11e._0x109849)+_0x1a89f8['message']);}}const _0x48e911=await getEncryptionKey(_0x264db8);function _0x14b36c(_0x3bafa5,_0xffc127,_0x16519f,_0x14ef52){return _0x2a8e9b(_0x3bafa5-0x49a,_0xffc127,_0x16519f-_0x4cea92._0x5e8087,_0x14ef52-0x42);}const _0x58a432=await _0x1d426c[_0x14b36c(0x4bb,0x4ff,_0x19a11e._0xeba0c4,_0x19a11e._0x853866)](loadTokenStorage,_0x264db8),_0x1f3075=_0x58a432[_0xfc1ec6(-_0x19a11e._0x23520e,-0xc3,-0x6a,-_0x19a11e._0x209900)]?.[_0x495395]?.[_0x530d94];if(!_0x1f3075){if(_0x1d426c[_0x14b36c(0x426,0x3de,_0x19a11e._0x549af6,0x417)](_0x1d426c[_0xfc1ec6(-0x71,-_0x19a11e._0x2fac74,-_0x19a11e._0x5c2efe,-_0x19a11e._0x1ab6c7)],_0x1d426c[_0xfc1ec6(-0xd3,-_0x19a11e._0x5f0018,-0x57,-_0x19a11e._0x328bd6)]))throw new Error(_0x14b36c(0x3fc,_0x19a11e._0x5954e8,_0x19a11e._0x337c88,0x40a)+_0xfc1ec6(-0xba,-_0x19a11e._0x39ad3b,-0x110,-0x7e)+'r\x20user\x20'+_0x495395+(_0xfc1ec6(-0x41,-0x68,-_0x19a11e._0x577a18,-_0x19a11e._0x2b5d52)+_0x14b36c(_0x19a11e._0xab740f,_0x19a11e._0x848ce,0x408,0x3c3))+_0x530d94);else _0x369a97[_0x14b36c(0x416,0x3c7,_0x19a11e._0x13f1fd,0x409)+'name']=_0xd450f[_0xfc1ec6(-0xdc,-_0x19a11e._0x981623,-_0x19a11e._0x149888,-0xa2)+_0xfc1ec6(-_0x19a11e._0x176d18,-_0x19a11e._0x2ecb18,-0x88,-_0x19a11e._0x3a526e)];}_0x16b5a5[_0xfc1ec6(-0xd9,-_0x19a11e._0x579081,-0x81,-_0x19a11e._0x12f70b)+'en']&&(_0x1f3075[_0xfc1ec6(-_0x19a11e._0x189c8c,-0x74,-0xb7,-0xbc)+'en']=encrypt(_0x16b5a5[_0x14b36c(0x44f,_0x19a11e._0x197e63,_0x19a11e._0x476ab6,0x48e)+'en'],_0x48e911));_0x16b5a5[_0xfc1ec6(-0x3f,-_0x19a11e._0x5122b9,-_0x19a11e._0x1aa328,-_0x19a11e._0x79a24b)+_0x14b36c(_0x19a11e._0x39d36a,_0x19a11e._0x5853fa,0x4b4,0x4ac)]&&(_0x1f3075['refresh_to'+_0x14b36c(_0x19a11e._0x39d36a,0x465,0x4e2,_0x19a11e._0x296fe4)]=_0x1d426c[_0xfc1ec6(-0xa7,-_0x19a11e._0x2e76d4,-0xd7,-0x54)](encrypt,_0x16b5a5['refresh_to'+_0xfc1ec6(-0x3f,-0x28,-_0x19a11e._0x2b836e,0x1f)],_0x48e911));_0x1d426c[_0x14b36c(0x4ae,_0x19a11e._0x729eb6,_0x19a11e._0x4bbd89,_0x19a11e._0x3c8b65)](_0x16b5a5[_0xfc1ec6(_0x19a11e._0x47c648,-0x10,-_0x19a11e._0x87f24f,-0x18)],undefined)&&(_0x1d426c[_0xfc1ec6(0x2a,-0x15,0x3f,-_0x19a11e._0x55af37)](_0x14b36c(0x433,0x404,0x497,0x3d3),_0x1d426c['gLWFd'])?_0x5bc984['expires_at']=_0x225d2a[_0x14b36c(_0x19a11e._0x458568,0x462,0x47f,_0x19a11e._0x529073)]:_0x1f3075[_0x14b36c(0x4b3,_0x19a11e._0xbe9d7,0x47a,0x503)]=_0x16b5a5[_0xfc1ec6(-_0x19a11e._0x5beb23,-_0x19a11e._0x287a50,-0x63,-_0x19a11e._0x48ac24)]);function _0xfc1ec6(_0x1f46b5,_0x14bc29,_0x2b3f1c,_0x72972a){return _0x1ca951(_0x14bc29- -0x75,_0x14bc29-0x171,_0x72972a,_0x72972a-0x4f);}await saveTokenStorage(_0x58a432,_0x264db8);const _0x4ad4de={};_0x4ad4de[_0x14b36c(_0x19a11e._0x3d044f,0x435,_0x19a11e._0x50c26b,_0x19a11e._0x2eb10a)]=_0x495395,_0x4ad4de[_0x14b36c(0x49a,_0x19a11e._0x430fcd,0x47f,0x448)+'me']=_0x530d94,_0x5f16c0['debug'](_0x1d426c[_0xfc1ec6(-_0x19a11e._0x253999,-_0x19a11e._0x57261f,-_0x19a11e._0x21f7bd,-_0x19a11e._0x998673)],_0x4ad4de);}export async function deleteUserGitToken(_0x587f30,_0x319845,_0x44ba74={}){const _0x9ba705={_0x314ee4:0x527,_0x176e35:0x529,_0x7ae157:0x4cc,_0x28ec4a:0x3e7,_0x75ed23:0x3ee,_0x32fa5b:0x43e,_0x1258aa:0x404,_0x29fa56:0x43b,_0xf21b4a:0x433,_0x1a15b5:0x4e0,_0x4c5c90:0x48d,_0xd7be4f:0x43c,_0x1af63d:0x49b,_0x743ced:0x45f,_0x533d5f:0x448,_0x33c108:0x422,_0x1dfb5c:0x440,_0x56d6ba:0x439,_0x5006f1:0x431,_0x1e71ab:0x3ae,_0x5330dc:0x39b,_0x171f59:0x39f,_0x1a6ce9:0x3e9,_0xbbdcb6:0x445,_0x46d19a:0x4ba,_0xab4e99:0x4f6,_0x5bd0a7:0x4bc,_0x29edb1:0x40a,_0x393334:0x448,_0x2e6c1f:0x48e,_0x8b80f8:0x4a7,_0x1cefb2:0x446,_0x11074c:0x46f,_0x4ccf68:0x3dd,_0x20c9c3:0x4eb,_0x323dcc:0x48c,_0x1e1912:0x41a,_0x1ab600:0x3d8,_0x2a0d18:0x454,_0x2e0847:0x3e2,_0x3b1863:0x4ca,_0x28a203:0x4a3,_0x14a1e7:0x432},_0x4df5d7={_0x5bfcf2:0x152,_0x456357:0xec},_0x403b34={_0x5a1474:0x15d};function _0x210dd6(_0x49f2bd,_0x4e0119,_0x41e43b,_0x2e0c7a){return _0x2a8e9b(_0x4e0119-0x433,_0x49f2bd,_0x41e43b-_0x403b34._0x5a1474,_0x2e0c7a-0xd);}const _0x448f96={'mbPjp':function(_0x42cf48,_0x41592e){return _0x42cf48!==_0x41592e;},'lnOrB':_0x210dd6(0x38a,0x3ca,0x416,0x3c5),'PTPZC':function(_0x3f6b17,_0x45dd76){return _0x3f6b17(_0x45dd76);},'SqRBO':function(_0x6cd54d,_0x3d1a76,_0x458cba){return _0x6cd54d(_0x3d1a76,_0x458cba);}},_0x6a0208=_0x44ba74[_0x973511(_0x9ba705._0x314ee4,_0x9ba705._0x176e35,0x48b,_0x9ba705._0x7ae157)]||_0x470352;if(!_0x587f30||!_0x319845){if(_0x448f96[_0x973511(_0x9ba705._0x28ec4a,_0x9ba705._0x75ed23,0x430,0x43d)](_0x448f96[_0x210dd6(_0x9ba705._0x32fa5b,_0x9ba705._0x1258aa,_0x9ba705._0x29fa56,_0x9ba705._0xf21b4a)],_0x973511(0x45f,_0x9ba705._0x1a15b5,0x4cc,_0x9ba705._0x4c5c90)))throw new Error(_0x210dd6(0x46c,0x40f,0x3d9,0x46e)+_0x973511(_0x9ba705._0xd7be4f,0x4ba,_0x9ba705._0x1af63d,_0x9ba705._0x743ced)+_0x973511(_0x9ba705._0x533d5f,_0x9ba705._0x33c108,0x41a,0x467)+_0x973511(_0x9ba705._0x1dfb5c,0x403,_0x9ba705._0x56d6ba,_0x9ba705._0x5006f1));else{const _0x6a1577={};_0x6a1577[_0x210dd6(_0x9ba705._0x1e71ab,_0x9ba705._0x5330dc,0x39b,0x381)]=_0x3318ee[_0x210dd6(_0x9ba705._0x171f59,_0x9ba705._0x1a6ce9,0x388,_0x9ba705._0x32fa5b)],_0x536895['error'](_0x973511(0x488,_0x9ba705._0xbbdcb6,0x4a8,0x463)+_0x973511(_0x9ba705._0x46d19a,_0x9ba705._0xab4e99,_0x9ba705._0x5bd0a7,0x4d2)+_0x210dd6(_0x9ba705._0x29edb1,0x412,0x42e,_0x9ba705._0x393334),_0x6a1577);throw _0x138cbc;}}const _0x3182e9=await _0x448f96[_0x973511(0x45b,_0x9ba705._0x2e6c1f,0x4dd,_0x9ba705._0x8b80f8)](loadTokenStorage,_0x44ba74);if(!_0x3182e9[_0x973511(0x427,_0x9ba705._0x1cefb2,0x44f,0x415)]?.[_0x587f30]?.[_0x319845])return![];function _0x973511(_0x26ffdc,_0xb04b,_0xc0a17,_0x278f59){return _0x1ca951(_0x278f59-0x463,_0xb04b-_0x4df5d7._0x5bfcf2,_0xc0a17,_0x278f59-_0x4df5d7._0x456357);}delete _0x3182e9[_0x210dd6(0x3d8,0x399,0x3c8,0x349)][_0x587f30][_0x319845];Object[_0x973511(_0x9ba705._0x11074c,0x457,0x4d4,0x4bc)](_0x3182e9['tokens'][_0x587f30])['length']===-0x2*0xf19+0x931*-0x3+-0x283*-0x17&&delete _0x3182e9[_0x973511(0x43d,_0x9ba705._0x4ccf68,0x430,0x415)][_0x587f30];await _0x448f96['SqRBO'](saveTokenStorage,_0x3182e9,_0x44ba74);const _0x3492b2={};return _0x3492b2[_0x973511(_0x9ba705._0x20c9c3,_0x9ba705._0x323dcc,0x49b,_0x9ba705._0x1af63d)]=_0x587f30,_0x3492b2[_0x210dd6(0x44c,_0x9ba705._0xf21b4a,_0x9ba705._0x1e1912,_0x9ba705._0x1ab600)+'me']=_0x319845,_0x6a0208[_0x973511(_0x9ba705._0x2a0d18,0x42e,_0x9ba705._0x2e0847,0x436)](_0x973511(0x4b7,0x46e,_0x9ba705._0x3b1863,_0x9ba705._0x28a203)+'t\x20token\x20fo'+_0x210dd6(_0x9ba705._0x14a1e7,0x449,0x44e,0x430),_0x3492b2),!![];}function _0x2a8e9b(_0x3879f8,_0x5d7b86,_0x404c4b,_0x89f735){return _0x1c68(_0x3879f8- -0x1c7,_0x5d7b86);}export function isTokenExpiringSoon(_0x222a01,_0x8d5d7e=0x72e+0xcec+0x9fe*-0x2){const _0xa241c5={_0x581dd1:0x82,_0x3b3eca:0x94,_0x9a13ac:0xa0,_0x2420c9:0x51,_0x1bc69e:0x88,_0x4fb5a9:0x49,_0x14ba80:0x46,_0xdff302:0x4ea,_0x4999fa:0x4ac,_0x1ca65c:0x559,_0xbc3b34:0x503,_0x23763f:0x7f,_0x836e32:0x6e,_0x2523d2:0xb7,_0x45f8a6:0x57e,_0x5c2f0d:0x56d,_0x4432c8:0x579,_0x46a103:0x514,_0x48a934:0x539,_0x25d083:0x593},_0x79d0d8={_0x269374:0x79},_0x3c35bd={_0x4c1f06:0x91,_0xad9cc4:0xd},_0x4f8b84={};_0x4f8b84[_0x218e16(-_0xa241c5._0x581dd1,-_0xa241c5._0x3b3eca,-_0xa241c5._0x9a13ac,-_0xa241c5._0x2420c9)]=function(_0x27562f,_0x1cb5c4){return _0x27562f!==_0x1cb5c4;},_0x4f8b84[_0x218e16(-_0xa241c5._0x1bc69e,-_0xa241c5._0x4fb5a9,-0xe9,-_0xa241c5._0x14ba80)]='nbTdg';function _0x218e16(_0x54428b,_0x3480a3,_0x3f2586,_0x51775b){return _0x1ca951(_0x54428b- -0xaf,_0x3480a3-_0x3c35bd._0x4c1f06,_0x3480a3,_0x51775b-_0x3c35bd._0xad9cc4);}_0x4f8b84[_0x5074d6(_0xa241c5._0xdff302,0x4e7,0x4ef,_0xa241c5._0x4999fa)]=function(_0x33e1ca,_0x1f9694){return _0x33e1ca*_0x1f9694;},_0x4f8b84[_0x5074d6(_0xa241c5._0x1ca65c,_0xa241c5._0xbc3b34,0x584,0x543)]=function(_0x4d30e5,_0x1c0d12){return _0x4d30e5<=_0x1c0d12;};const _0x1d6d53=_0x4f8b84;function _0x5074d6(_0x266900,_0x14a086,_0x31c19d,_0x2b51ba){return _0x2a8e9b(_0x266900-0x571,_0x14a086,_0x31c19d-0x48,_0x2b51ba-_0x79d0d8._0x269374);}if(!_0x222a01)return _0x1d6d53['TxmuW'](_0x1d6d53[_0x218e16(-0x88,-_0xa241c5._0x23763f,-_0xa241c5._0x836e32,-_0xa241c5._0x2523d2)],_0x5074d6(0x564,_0xa241c5._0x45f8a6,0x5ba,0x50b))?{}:![];const _0x127f44=new Date(_0x222a01)[_0x5074d6(0x514,_0xa241c5._0x5c2f0d,_0xa241c5._0x4432c8,_0xa241c5._0x46a103)](),_0x40a7d8=Date[_0x5074d6(_0xa241c5._0x48a934,0x51d,0x52c,_0xa241c5._0x25d083)](),_0x4f423e=_0x1d6d53['GyjWC'](_0x8d5d7e*(-0xe66+0xa90+0x209*0x2),-0x1fd0+0x1dfa+0x5be);return _0x1d6d53[_0x218e16(-0x7b,-0xad,-0x5c,-0xe0)](_0x127f44-_0x40a7d8,_0x4f423e);}export function isTokenExpired(_0x4d6af1){const _0x378991={_0x107e1f:0x452},_0x5806bf={_0xcea590:0x425};if(!_0x4d6af1)return![];function _0x33829f(_0x51ff9d,_0x3afae7,_0x212876,_0x273583){return _0x2a8e9b(_0x212876-_0x5806bf._0xcea590,_0x51ff9d,_0x212876-0x16c,_0x273583-0x2a);}return new Date(_0x4d6af1)['getTime']()<Date[_0x33829f(_0x378991._0x107e1f,0x426,0x3ed,0x3b4)]();}export async function getUserConnectionStatus(_0x591913,_0x1dc47f={}){const _0x148c7d={_0x4466b8:0x94,_0xfafc5a:0x71,_0x4fbf8a:0x6e,_0x5b685f:0xf8,_0x35f90d:0xcd,_0x39f5dc:0xe8,_0x422a30:0x38,_0x1e2266:0x76,_0x11cd18:0x3c,_0x3106c9:0x148,_0x45de00:0x14c,_0xabfb48:0x116,_0x22eb24:0xc7,_0x16440e:0x122,_0x56b4a5:0xb4,_0x5e28c3:0xf3},_0x1df300={_0x150487:0xd1,_0x147968:0x89,_0xd0512c:0x16c},_0x57f528={_0x32279c:0xae,_0x5684e7:0x130},_0x3da3b2=await loadTokenStorage(_0x1dc47f),_0xf33d14=_0x3da3b2['tokens']?.[_0x591913];if(!_0xf33d14)return{};function _0x40eadb(_0x23a66c,_0x38ce2b,_0x12049d,_0x32503e){return _0x1ca951(_0x12049d-_0x57f528._0x32279c,_0x38ce2b-_0x57f528._0x5684e7,_0x23a66c,_0x32503e-0x77);}const _0x511ccf={};for(const [_0x57a174,_0x36832a]of Object['entries'](_0xf33d14)){const _0x163dfb={};_0x163dfb['connected']=!![],_0x163dfb['expires_at']=_0x36832a[_0x40eadb(0x16d,0xc3,0x113,0xde)],_0x163dfb[_0x40eadb(_0x148c7d._0x4466b8,_0x148c7d._0xfafc5a,_0x148c7d._0x4fbf8a,0xa)+'in']=_0x36832a[_0x4407a4(-0x111,-_0x148c7d._0x5b685f,-_0x148c7d._0x35f90d,-_0x148c7d._0x39f5dc)+'in'],_0x163dfb[_0x40eadb(_0x148c7d._0x422a30,0x91,_0x148c7d._0x1e2266,_0x148c7d._0x11cd18)+_0x4407a4(-0xfa,-0x15a,-0xae,-0xf2)]=_0x36832a['azure_user'+_0x4407a4(-0xfa,-_0x148c7d._0x3106c9,-0x15b,-_0x148c7d._0x45de00)],_0x163dfb[_0x40eadb(_0x148c7d._0xabfb48,_0x148c7d._0x22eb24,0xf3,_0x148c7d._0x16440e)+'at']=_0x36832a[_0x40eadb(_0x148c7d._0x56b4a5,0x111,_0x148c7d._0x5e28c3,0x12c)+'at'],_0x511ccf[_0x57a174]=_0x163dfb;}function _0x4407a4(_0x4c833c,_0x4f6059,_0x4b0ca2,_0x3956b3){return _0x1ca951(_0x4c833c- -_0x1df300._0x150487,_0x4f6059-_0x1df300._0x147968,_0x3956b3,_0x3956b3-_0x1df300._0xd0512c);}return _0x511ccf;}
|
package/dist/lib/users.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x26c7fb,_0x23493d){const _0x1190f4={_0x4810c0:0x1ab,_0x304afb:0x157,_0x7d2724:0x1d3,_0x4505d4:0x182,_0xb54f77:0x2dc,_0x39a8b0:0x294,_0x10add8:0x281,_0x2d120c:0x19c,_0x3e11bc:0x184,_0x20ba36:0x2b2,_0x380c5d:0x284,_0x1eac55:0x2da,_0x379e91:0x254,_0x4b14ec:0x291,_0x488d04:0x288,_0x3c488c:0x2e6,_0x3509a8:0x2bb,_0x23d9f1:0x183,_0x2a007a:0x17f,_0x3e84e3:0x2e0,_0x21a920:0x2db},_0x54ddc1={_0x15c76b:0x8b};function _0x5b49f3(_0x352aee,_0x27fa3d,_0x4684c7,_0x238b84){return _0x30b2(_0x352aee-_0x54ddc1._0x15c76b,_0x238b84);}function _0x13dfa8(_0x19cd9b,_0x52aee1,_0x2397b2,_0xeffc67){return _0x30b2(_0x19cd9b- -0x37,_0x52aee1);}const _0x139c06=_0x26c7fb();while(!![]){try{const _0xd171d6=parseInt(_0x13dfa8(_0x1190f4._0x4810c0,_0x1190f4._0x304afb,_0x1190f4._0x7d2724,_0x1190f4._0x4505d4))/(0x163e+-0x2*-0x382+-0x1d41)*(parseInt(_0x5b49f3(_0x1190f4._0xb54f77,_0x1190f4._0x39a8b0,_0x1190f4._0x10add8,0x322))/(0x1d10+0x2124+0x1f19*-0x2))+parseInt(_0x13dfa8(_0x1190f4._0x2d120c,_0x1190f4._0x3e11bc,0x1ae,0x1c8))/(0x2353*0x1+0x24d8+0x120a*-0x4)+-parseInt(_0x5b49f3(0x2c8,0x30a,_0x1190f4._0x20ba36,0x2e8))/(-0x18c1*-0x1+-0x282+-0x163b)*(parseInt(_0x5b49f3(0x2c6,_0x1190f4._0x380c5d,0x312,_0x1190f4._0x1eac55))/(0x21b5+0x2*0x987+-0x34be))+-parseInt(_0x5b49f3(_0x1190f4._0x379e91,_0x1190f4._0x4b14ec,0x208,0x272))/(0x2021+-0x106c+-0xfaf)*(parseInt(_0x5b49f3(0x2b5,_0x1190f4._0x488d04,_0x1190f4._0x3c488c,_0x1190f4._0x3509a8))/(-0x2a*-0x8e+-0x51*0x35+-0x680))+-parseInt(_0x13dfa8(0x1e5,0x1e0,0x1de,0x21d))/(-0x242d+-0x1031+0x3466)*(parseInt(_0x13dfa8(0x1b6,0x1d8,_0x1190f4._0x23d9f1,_0x1190f4._0x2a007a))/(0x6e0+-0x3*0x692+-0x293*-0x5))+parseInt(_0x5b49f3(_0x1190f4._0x3e84e3,0x31a,0x2b8,0x2f2))/(-0x10c8+-0x1096+0x1*0x2168)+parseInt(_0x5b49f3(0x2cc,0x2a2,0x2e7,_0x1190f4._0x21a920))/(0x3b*0x5+-0x35*0xa9+0x21e1);if(_0xd171d6===_0x23493d)break;else _0x139c06['push'](_0x139c06['shift']());}catch(_0xbebf76){_0x139c06['push'](_0x139c06['shift']());}}}(_0x4a98,0xfa8c3+0x95511+-0xb345b));import{promises as _0x3ed517}from'fs';import _0x217691 from'path';import _0x19b61e from'bcrypt';import{fileURLToPath}from'url';import{logger}from'./logger.js';import{DATA_DIR}from'./data-dir.js';function _0x46b53c(_0x773dff,_0x490ba7,_0xace9b1,_0x1d6295){return _0x30b2(_0xace9b1- -0xd3,_0x1d6295);}function _0x9aa7a(_0x249934,_0x54c0de,_0x1981e4,_0x2cb283){const _0x51595d={_0x59c535:0x9e};return _0x30b2(_0x249934-_0x51595d._0x59c535,_0x2cb283);}const __filename=fileURLToPath(import.meta.url),__dirname=_0x217691[_0x9aa7a(0x2e1,0x2b7,0x28c,0x287)](__filename),USERS_FILE=_0x217691[_0x46b53c(0xca,0x101,0x104,0xc3)](DATA_DIR,'users.json'),SALT_ROUNDS=0x18c+0x193*0x17+-0x25b7;let usersCache=null,usersCacheMtime=null;export async function loadUsers(){const _0x1aa3ef={_0x48240f:0x5f9,_0x39725e:0x60e,_0x3e8a4f:0x5e6,_0x25b449:0x603,_0x306901:0x382,_0x4bbde0:0x33e,_0x550816:0x395,_0x32fedb:0x5a2,_0x49f785:0x30f,_0x52d5dc:0x2bf,_0x2f57eb:0x57d,_0xdc4291:0x3a8,_0x420843:0x5f4,_0x24a09c:0x5db,_0x37eded:0x339,_0x50acd6:0x38a,_0x348ead:0x36b,_0x11f15f:0x35c,_0x1f7c0f:0x2d8,_0x52fab1:0x36c,_0x502c0b:0x31e,_0x592f50:0x30e,_0xed2364:0x5c9,_0xf7dce8:0x581,_0xcbb521:0x5ba,_0x1d2640:0x5f0,_0x5e9520:0x33d,_0x134267:0x2ec,_0x1a1edc:0x3a6,_0x26623e:0x2cd,_0x13ccfa:0x30d,_0x31fcb9:0x312,_0x1a4d37:0x31d,_0x80f550:0x3a8,_0x514f2f:0x3b2,_0x4d1745:0x5ef,_0x1040ac:0x5cd,_0x381fa3:0x31a,_0x44a3ac:0x346,_0x3b7272:0x2f4,_0x1ade24:0x5e4,_0x2d6ca2:0x652,_0x2219eb:0x571,_0x4e831d:0x62a,_0x36f47f:0x616,_0x5112ce:0x5b7,_0x169f71:0x5c4,_0x77c479:0x62b,_0x556ab9:0x5c3,_0x54d5cf:0x5e2,_0x5c021d:0x5ac,_0x43b0da:0x5c7,_0x1b1e8b:0x56a,_0x1acf77:0x3a2,_0x5ab935:0x37b,_0x5b0e47:0x602,_0x5b2c31:0x622,_0x48ddc6:0x658,_0x2535be:0x5ca,_0x25aa12:0x610},_0x50ba15={_0x418d8e:0x2f},_0x4f66a1={_0x4037d2:0x325,_0x32fdc2:0x155,_0x17b8a5:0x1d1};function _0x103dd9(_0x42f632,_0x10f1c5,_0x4f2f15,_0x2482a3){return _0x9aa7a(_0x42f632-_0x4f66a1._0x4037d2,_0x10f1c5-_0x4f66a1._0x32fdc2,_0x4f2f15-_0x4f66a1._0x17b8a5,_0x2482a3);}const _0x260b44={};function _0x41cca2(_0x1605d2,_0x4ad5a4,_0x48f7fa,_0x136bde){return _0x46b53c(_0x1605d2-0x19a,_0x4ad5a4-_0x50ba15._0x418d8e,_0x1605d2-0x232,_0x136bde);}_0x260b44[_0x103dd9(_0x1aa3ef._0x48240f,0x5ea,_0x1aa3ef._0x39725e,_0x1aa3ef._0x3e8a4f)]='User\x20not\x20f'+_0x103dd9(0x5d2,_0x1aa3ef._0x25b449,0x61d,0x578)+_0x41cca2(_0x1aa3ef._0x306901,0x381,_0x1aa3ef._0x4bbde0,_0x1aa3ef._0x550816),_0x260b44[_0x103dd9(0x5ec,_0x1aa3ef._0x32fedb,0x604,0x61d)]=_0x41cca2(_0x1aa3ef._0x49f785,0x34a,0x304,_0x1aa3ef._0x52d5dc)+_0x103dd9(_0x1aa3ef._0x2f57eb,0x5a0,0x582,0x5a3),_0x260b44[_0x41cca2(_0x1aa3ef._0xdc4291,0x374,0x3d5,0x3fe)]=function(_0x474180,_0x3b69f6){return _0x474180===_0x3b69f6;},_0x260b44[_0x103dd9(0x5db,0x60d,_0x1aa3ef._0x420843,_0x1aa3ef._0x24a09c)]=_0x41cca2(0x34d,0x33c,0x35f,0x300),_0x260b44['oRVAD']=_0x41cca2(0x355,0x35f,_0x1aa3ef._0x37eded,0x302),_0x260b44['idSNL']=_0x41cca2(_0x1aa3ef._0x50acd6,0x3aa,0x35c,_0x1aa3ef._0x348ead),_0x260b44['nJJbF']=_0x41cca2(0x32f,0x359,0x301,0x305)+'rs\x20from\x20fi'+'le',_0x260b44['edmIG']=_0x41cca2(0x317,_0x1aa3ef._0x11f15f,_0x1aa3ef._0x1f7c0f,0x2d0)+_0x41cca2(0x322,_0x1aa3ef._0x52fab1,_0x1aa3ef._0x502c0b,_0x1aa3ef._0x592f50)+_0x103dd9(_0x1aa3ef._0xed2364,_0x1aa3ef._0xf7dce8,_0x1aa3ef._0xcbb521,_0x1aa3ef._0x1d2640)+'zed\x20empty\x20'+_0x41cca2(0x33b,0x370,_0x1aa3ef._0x5e9520,_0x1aa3ef._0x134267),_0x260b44[_0x41cca2(0x358,0x30a,_0x1aa3ef._0x1a1edc,0x34e)]=_0x41cca2(0x30f,0x2cf,_0x1aa3ef._0x26623e,_0x1aa3ef._0x13ccfa)+_0x41cca2(_0x1aa3ef._0x31fcb9,0x32d,_0x1aa3ef._0x1a4d37,0x35b);const _0x2f3170=_0x260b44;try{if(_0x2f3170[_0x41cca2(_0x1aa3ef._0x80f550,0x382,_0x1aa3ef._0x52fab1,_0x1aa3ef._0x514f2f)](_0x2f3170[_0x103dd9(_0x1aa3ef._0x24a09c,0x62e,_0x1aa3ef._0x4d1745,_0x1aa3ef._0x1040ac)],_0x2f3170[_0x41cca2(_0x1aa3ef._0x381fa3,_0x1aa3ef._0x44a3ac,0x327,_0x1aa3ef._0x3b7272)])){const _0x4be016={};return _0x4be016[_0x103dd9(0x621,0x623,_0x1aa3ef._0x1ade24,_0x1aa3ef._0x2d6ca2)]=_0x146ccc,_0x519824[_0x103dd9(0x58f,_0x1aa3ef._0x2219eb,0x5ac,0x5c7)](_0x2f3170[_0x103dd9(0x5f9,_0x1aa3ef._0x4e831d,_0x1aa3ef._0x36f47f,_0x1aa3ef._0x5112ce)],_0x4be016),![];}else{const _0x15dee0=await _0x3ed517['readFile'](USERS_FILE,_0x2f3170[_0x103dd9(_0x1aa3ef._0x169f71,0x5eb,0x61a,0x59c)]),_0x598d15=JSON[_0x103dd9(0x615,0x62c,_0x1aa3ef._0x77c479,0x5dc)](_0x15dee0);usersCache=_0x598d15['users']||[];const _0x37fcda=await _0x3ed517[_0x103dd9(_0x1aa3ef._0x556ab9,0x5a0,_0x1aa3ef._0x54d5cf,_0x1aa3ef._0x5c021d)](USERS_FILE);usersCacheMtime=_0x37fcda['mtimeMs'];const _0x3497de={};return _0x3497de[_0x103dd9(0x572,_0x1aa3ef._0x43b0da,_0x1aa3ef._0x1b1e8b,0x5bc)]=usersCache[_0x41cca2(0x369,0x330,_0x1aa3ef._0x1acf77,_0x1aa3ef._0x5ab935)],logger['debug'](_0x2f3170['nJJbF'],_0x3497de),usersCache;}}catch(_0x21c9fb){if(_0x21c9fb[_0x103dd9(0x5fa,0x619,_0x1aa3ef._0x5b0e47,0x60c)]===_0x103dd9(0x5b3,0x5ab,0x5f1,0x589)){if('EeZBd'!==_0x103dd9(_0x1aa3ef._0x5b2c31,_0x1aa3ef._0x48ddc6,_0x1aa3ef._0x2535be,_0x1aa3ef._0x25aa12))return usersCache=[],usersCacheMtime=null,logger['info'](_0x2f3170['edmIG']),usersCache;else{_0x50628f['error'](_0x2f3170['WSglw'],_0x19e3d9);throw _0x48b17d;}}logger['error'](_0x2f3170['DsQxd'],_0x21c9fb);throw _0x21c9fb;}}export async function saveUsers(_0x5ce3f3){const _0x5f29a2={_0x52c95f:0x5b0,_0x174c29:0x5bc,_0x5c216e:0x593,_0x217307:0x586,_0x11535d:0x53f,_0x5dc6b9:0x50b,_0x52c457:0x554,_0x2789bd:0x51f,_0x1cd7ad:0x121,_0x56d63e:0xfe,_0x5edda8:0x13b,_0x13f145:0xf7,_0x3de28b:0x5d3,_0xa3718:0x602,_0x195620:0x5ad,_0x42dee3:0x5a9,_0x11ae3d:0x553,_0x5d2ae0:0x59b,_0x3bfb1d:0x5e9,_0x4e75fc:0x5ac,_0x430e98:0xc4,_0x41e8e9:0xbc,_0x420bcc:0xe6,_0x167224:0xad,_0x3e8caa:0x75,_0x1b83ff:0x11c,_0x1d6b55:0xc7,_0x3a0652:0xf9,_0x28ca20:0x13c,_0x81c65a:0x540,_0x5d2530:0x530,_0x4f3790:0x519,_0x359ccd:0x5df,_0x1f6099:0x5eb,_0x110b54:0x59b,_0x199e87:0xdc,_0x552d11:0x39,_0x47c10f:0x84,_0x39e2d2:0xb6,_0x2b953e:0x104,_0x5ccf15:0x576,_0x38fab7:0x549,_0x84967f:0x7c,_0x36328d:0x68,_0xe27956:0x7e,_0x5aed1b:0xd2,_0x2e090e:0x5e5,_0x4c42f4:0x5b0,_0xa04289:0x55c,_0x3d04c3:0x571,_0x35db5d:0x551,_0x3fa771:0x86,_0x5bfd86:0xd6,_0x54f50c:0x58a,_0x52afcb:0x542,_0x316d84:0x9b,_0x1d2a61:0x7f,_0x1e742e:0x581,_0x547468:0x13f,_0x2c9e73:0xbd,_0x3fa25f:0xfb,_0x6f31:0xff,_0x32c5b0:0x578,_0x15c06c:0x52f,_0x42e7dc:0xa8,_0x486acc:0x124,_0x5baebf:0x50e,_0x29fa35:0x547,_0xff31ba:0x567,_0x6e7dbd:0x560,_0x145a60:0x4e6,_0x2f4892:0x566,_0x575298:0x11f},_0x4d7265={_0x167ac1:0x435},_0x16f40a={};_0x16f40a[_0x3626f(_0x5f29a2._0x52c95f,0x570,_0x5f29a2._0x174c29,_0x5f29a2._0x5c216e)]=function(_0x1cd808,_0x3817ef){return _0x1cd808===_0x3817ef;},_0x16f40a[_0x3626f(0x529,0x543,_0x5f29a2._0x217307,_0x5f29a2._0x11535d)]=function(_0x347738,_0x1b3d24){return _0x347738!==_0x1b3d24;};function _0x4fa124(_0x4765a2,_0x1c56bc,_0x589ae9,_0x3318d6){return _0x9aa7a(_0x3318d6- -0x351,_0x1c56bc-0x75,_0x589ae9-0x158,_0x1c56bc);}_0x16f40a['Fspsa']=function(_0x3b95ca,_0x983cd1){return _0x3b95ca<=_0x983cd1;},_0x16f40a[_0x3626f(0x522,_0x5f29a2._0x5dc6b9,_0x5f29a2._0x52c457,0x516)]='Cannot\x20rem'+'ove\x20the\x20la'+_0x3626f(0x568,_0x5f29a2._0x2789bd,0x5c3,0x56f)+_0x4fa124(-_0x5f29a2._0x1cd7ad,-_0x5f29a2._0x56d63e,-_0x5f29a2._0x5edda8,-_0x5f29a2._0x13f145),_0x16f40a[_0x3626f(_0x5f29a2._0x3de28b,0x5e8,_0x5f29a2._0xa3718,_0x5f29a2._0x195620)]=function(_0x124038,_0x41dac9){return _0x124038!==_0x41dac9;},_0x16f40a[_0x4fa124(-0xc4,-0x4b,-0x63,-0x7e)]=_0x3626f(0x515,0x515,_0x5f29a2._0x42dee3,_0x5f29a2._0x11ae3d)+_0x3626f(_0x5f29a2._0x5d2ae0,0x5f0,_0x5f29a2._0x3bfb1d,_0x5f29a2._0x4e75fc),_0x16f40a[_0x4fa124(-_0x5f29a2._0x430e98,-_0x5f29a2._0x41e8e9,-0x103,-_0x5f29a2._0x420bcc)]='bbbPx',_0x16f40a[_0x4fa124(-0x5e,-_0x5f29a2._0x167224,-0xa4,-0x77)]=_0x4fa124(-0x23,-0x45,-0x60,-_0x5f29a2._0x3e8caa);function _0x3626f(_0x5a58c4,_0x15a128,_0x320b50,_0x5b6333){return _0x46b53c(_0x5a58c4-0x193,_0x15a128-0x129,_0x5b6333-_0x4d7265._0x167ac1,_0x15a128);}_0x16f40a[_0x4fa124(-0xde,-0x9f,-_0x5f29a2._0x1b83ff,-_0x5f29a2._0x1d6b55)]='Failed\x20to\x20'+_0x4fa124(-0xf5,-0x114,-0xde,-_0x5f29a2._0x3a0652);const _0x300182=_0x16f40a;try{if(_0x300182[_0x3626f(0x553,0x5c2,_0x5f29a2._0x3de28b,_0x5f29a2._0x195620)](_0x4fa124(-0x60,-0x66,-0xc8,-0xab),_0x4fa124(-_0x5f29a2._0x28ca20,-0xa4,-0xc6,-0xf3))){const _0x3e3375=_0x217691['dirname'](USERS_FILE),_0x253ee4={};_0x253ee4['recursive']=!![],await _0x3ed517[_0x3626f(0x517,_0x5f29a2._0x81c65a,_0x5f29a2._0x5d2530,_0x5f29a2._0x4f3790)](_0x3e3375,_0x253ee4);const _0x4b10d8={};_0x4b10d8['users']=_0x5ce3f3,await _0x3ed517['writeFile'](USERS_FILE,JSON[_0x3626f(_0x5f29a2._0x359ccd,_0x5f29a2._0x1f6099,_0x5f29a2._0x110b54,0x59b)](_0x4b10d8,null,0xe7f+-0xe*0x296+0x15b7),_0x4fa124(-0xbf,-0x5d,-0x7f,-0x88));const _0xa7a92e=await _0x3ed517['stat'](USERS_FILE);usersCache=_0x5ce3f3,usersCacheMtime=_0xa7a92e[_0x4fa124(-_0x5f29a2._0x199e87,-_0x5f29a2._0x552d11,-0xad,-_0x5f29a2._0x47c10f)];const _0x513b6d={};_0x513b6d[_0x4fa124(-_0x5f29a2._0x39e2d2,-0xad,-0x110,-_0x5f29a2._0x2b953e)]=_0x5ce3f3[_0x3626f(0x525,_0x5f29a2._0x5ccf15,_0x5f29a2._0x38fab7,0x56c)],logger['info'](_0x300182[_0x4fa124(-_0x5f29a2._0x84967f,-0x83,-_0x5f29a2._0x36328d,-_0x5f29a2._0xe27956)],_0x513b6d);}else{if(_0x300182[_0x4fa124(-0x50,-_0x5f29a2._0x5aed1b,-0x9a,-0x82)](_0x117c1b[_0x3626f(0x592,_0x5f29a2._0x2e090e,0x55e,_0x5f29a2._0x4c42f4)+_0x3626f(0x544,_0x5f29a2._0xa04289,_0x5f29a2._0x3d04c3,_0x5f29a2._0x35db5d)],!![])&&_0x300182[_0x4fa124(-0xdb,-0x110,-_0x5f29a2._0x3fa771,-_0x5f29a2._0x5bfd86)](_0x4ca4b9['isServerAd'+_0x3626f(0x57b,_0x5f29a2._0x54f50c,_0x5f29a2._0x52afcb,_0x5f29a2._0x35db5d)],!![])){const _0x3afc84=_0x58be99[_0x4fa124(-_0x5f29a2._0x316d84,-0x90,-_0x5f29a2._0x1d2a61,-0xbb)](_0x212085=>_0x212085[_0x3626f(0x566,0x5b7,0x5ff,0x5b0)+_0x3626f(0x505,0x534,0x561,0x551)]===!![])[_0x3626f(0x51c,_0x5f29a2._0x3d04c3,_0x5f29a2._0x1e742e,0x56c)];if(_0x300182['Fspsa'](_0x3afc84,0x35*0x95+-0x4b9+-0x8b5*0x3))throw new _0x7bba92(_0x300182[_0x4fa124(-_0x5f29a2._0x547468,-_0x5f29a2._0x2c9e73,-_0x5f29a2._0x3fa25f,-_0x5f29a2._0x6f31)]);}}}catch(_0x25e768){if(_0x300182[_0x3626f(_0x5f29a2._0x11535d,0x53c,_0x5f29a2._0x32c5b0,_0x5f29a2._0x15c06c)]===_0x300182[_0x4fa124(-0x6e,-_0x5f29a2._0x42e7dc,-0x3c,-0x77)])throw new _0x14eaf8(_0x4fa124(-_0x5f29a2._0x486acc,-0x13d,-0x141,-0x105)+_0x3626f(_0x5f29a2._0x5baebf,_0x5f29a2._0x29fa35,_0x5f29a2._0xff31ba,_0x5f29a2._0x6e7dbd)+'st\x20Server\x20'+_0x3626f(_0x5f29a2._0x145a60,_0x5f29a2._0x2f4892,0x51d,0x51e));else{logger[_0x3626f(0x552,0x59d,0x570,0x565)](_0x300182[_0x4fa124(-_0x5f29a2._0x575298,-0xef,-0x8f,-0xc7)],_0x25e768);throw _0x25e768;}}}export async function getUsers(){const _0x51ed1a={_0x3973fe:0x115,_0x38f1da:0x2bc,_0x5782b3:0x2ca,_0x340a12:0x30a,_0x4c77b7:0xc3,_0x6e0c1b:0xb6,_0x339aa2:0x302,_0x19867a:0x359,_0x553fe8:0x37f,_0x1363d7:0x360,_0x33e89a:0xc5,_0x3437c6:0xd9,_0x29ce07:0x1a8,_0x4fa657:0x1d3,_0x44747c:0x163,_0x24b62b:0x2c7,_0x3e0750:0x2da,_0x2d49f3:0x332,_0x33cfe2:0x184,_0x31d990:0x142,_0x492da2:0x15f,_0x29b534:0x18d,_0x48b65e:0x15a,_0x3ce237:0xe6,_0x341a63:0x360,_0x17c799:0x33e,_0xee57d8:0x2eb,_0x352c2a:0x1e4,_0x10d371:0x1d7,_0x449038:0x28c,_0x152986:0x26b,_0x56b63b:0x2e4,_0x31c722:0x294,_0x2aaa7c:0x315,_0x115581:0x33a,_0x552467:0x35e,_0x1d419a:0x138,_0x1b5e20:0x137},_0x5bdf06={_0x2df5f3:0x105},_0x2c9243={'zHGlz':function(_0xc4fdda,_0x3b0b8d){return _0xc4fdda!==_0x3b0b8d;},'nyuBx':_0x2ecd90(-0x103,-0x126,-_0x51ed1a._0x3973fe,-0xc1),'aSzMD':_0x379434(0x303,0x2af,_0x51ed1a._0x38f1da,0x266),'YUwva':_0x379434(_0x51ed1a._0x5782b3,0x2d2,_0x51ed1a._0x340a12,0x2b6),'qXVqC':function(_0x4b486e){return _0x4b486e();},'nYlEa':function(_0x4d5d86,_0x576fff){return _0x4d5d86!==_0x576fff;},'sCEhB':'ENOENT'};try{if(_0x2c9243['zHGlz'](_0x2c9243[_0x2ecd90(-0xf9,-_0x51ed1a._0x4c77b7,-_0x51ed1a._0x6e0c1b,-0x137)],_0x379434(_0x51ed1a._0x339aa2,_0x51ed1a._0x19867a,_0x51ed1a._0x553fe8,_0x51ed1a._0x1363d7)))throw new _0x1eaf12('Username\x20\x27'+_0x32b6e2['username']+(_0x2ecd90(-0xfd,-_0x51ed1a._0x33e89a,-_0x51ed1a._0x3437c6,-0xd8)+_0x2ecd90(-_0x51ed1a._0x29ce07,-_0x51ed1a._0x4fa657,-0x1a7,-0x194)));else{const _0xffea68=await _0x3ed517[_0x2ecd90(-0x159,-0x137,-0x144,-_0x51ed1a._0x44747c)](USERS_FILE);if(!usersCache||_0x2c9243[_0x379434(_0x51ed1a._0x24b62b,0x2bc,0x2fe,_0x51ed1a._0x3e0750)](_0xffea68[_0x379434(0x30b,_0x51ed1a._0x2d49f3,0x35c,0x328)],usersCacheMtime)){if(_0x2c9243['zHGlz'](_0x2c9243[_0x2ecd90(-_0x51ed1a._0x33cfe2,-_0x51ed1a._0x31d990,-0x1d0,-_0x51ed1a._0x29ce07)],_0x2c9243[_0x2ecd90(-_0x51ed1a._0x492da2,-_0x51ed1a._0x29b534,-_0x51ed1a._0x48b65e,-0x169)]))return await _0x2c9243[_0x2ecd90(-_0x51ed1a._0x3973fe,-0xd2,-_0x51ed1a._0x3ce237,-0xec)](loadUsers);else{const _0x657c71={};return _0x657c71[_0x379434(_0x51ed1a._0x341a63,0x317,_0x51ed1a._0x17c799,_0x51ed1a._0xee57d8)]=_0x12d634,_0x5b61c4[_0x2ecd90(-0x18d,-_0x51ed1a._0x352c2a,-0x1d4,-_0x51ed1a._0x10d371)](_0x379434(_0x51ed1a._0x449038,0x2b9,_0x51ed1a._0x152986,0x275)+_0x379434(0x2f2,_0x51ed1a._0x56b63b,_0x51ed1a._0x31c722,0x28b)+_0x379434(0x33b,_0x51ed1a._0x2aaa7c,0x33d,0x34a),_0x657c71),null;}}}}catch(_0x3ce2a2){if(_0x2c9243['nYlEa'](_0x3ce2a2[_0x379434(0x317,_0x51ed1a._0x115581,0x36d,_0x51ed1a._0x552467)],_0x2c9243[_0x2ecd90(-_0x51ed1a._0x1d419a,-0x167,-0x185,-_0x51ed1a._0x1b5e20)]))throw _0x3ce2a2;if(!usersCache)return await _0x2c9243['qXVqC'](loadUsers);}function _0x2ecd90(_0x27e4ba,_0xd1f3d1,_0x2ae414,_0x31cbc2){return _0x46b53c(_0x27e4ba-0x43,_0xd1f3d1-0x79,_0x27e4ba- -0x286,_0x2ae414);}function _0x379434(_0x4f29d3,_0x3caaff,_0x3e832f,_0x2cad7a){return _0x46b53c(_0x4f29d3-0x182,_0x3caaff-_0x5bdf06._0x2df5f3,_0x3caaff-0x1d6,_0x4f29d3);}return usersCache;}export async function findUserByUsername(_0x55c8ab){const _0x1449fb={_0x5d9760:0x513,_0x1dbeb1:0x4d0},_0x2b5216=await getUsers();function _0x3d7668(_0xb364ed,_0x53f75b,_0x111573,_0x929f66){return _0x46b53c(_0xb364ed-0x6e,_0x53f75b-0x121,_0x111573-0x418,_0xb364ed);}return _0x2b5216[_0x3d7668(_0x1449fb._0x5d9760,0x4e9,0x509,_0x1449fb._0x1dbeb1)](_0x2f1077=>_0x2f1077['username']===_0x55c8ab)||null;}function _0x4a98(){const _0x72a247=['Dg9ju09tDhjPBG','yMz3y0m','u2v0ihbHC3n3BW','A2v5CW','EKDHDM4','nZGZs2DnwhvX','BgX6B1G','BwLU','ru5pru5u','u2f2zwqGDxnLCG','q2fUBM90ihjLBq','BgrZoIb1C2vYBG','AffAqvG','zMLUzeLUzgv4','refoz3m','DxbKyxrLzf9HDa','zMLSDgvY','rhnrEgq','wvv3DMe','zM1yv2O','CxvPCMvKigzPzq','vfjUq2K','zxrLihrOzsbSyq','seTZA1e','C3rHDa','AwrttKW','CMfUzg9T','zxjYB3i','Afnvq3u','lcbUyw1L','lcbPBML0AwfSAq','shDJvM4','vuzAte8','q2jMBuK','BgvUz3rO','C3n3B3jKigzVCG','DLLetui','C3qGu2vYDMvYia','BYbWyxnZD29Yza','B3vUzcbMB3iGza','C3nOx3vZzxjUyq','s1Lqwwm','ywXPzgf0Aw9U','C2fTyve','DxnLCM5HBwu','C1jwDgW','t2L5AK0','yxnO','r1bttMm','u0DHwfG','Efj6sva','DMjJvLO','mtm2odbXu1jHwNi','s1DnrLC','Aw5MBW','DxblB0i','y29TCgfYzq','C0nfAei','AhzZyKm','zwXLDgLVBG','DMriAKy','AgnzB2S','CgfZC3DVCMq','B3zLihrOzsbSyq','CgfZC3DVCMrFAa','v1nNBhC','mJHJsfPvALe','DxrMltG','tM5zCKW','BNrPy2f0zwqGCW','t3v2qxe','BxrPBwvnCW','BwLgEvG','rfjgs1i','twLZC2LUzYbYzq','teLIvui','ihvZzxi','sNP0ze0','sKTAC1y','y29Kzq','EeXICMq','C3rYAw5NAwz5','twL4qvi','nZG0mZu5nuv0qwvtCW','wevnqMS','nejizuDqBq','C1b1tKi','zLfuA20','yw1lA28','otq1mtCZownLy3vbAW','AunjA1i','zgLYBMfTzq','CvHwCum','uvPwyLK','qu1Lsw0','Dg9mB3DLCKnHCW','DwLHtg8','vMvXEKe','CYb0BYbMAwXL','yNbTsLC','Dg9tDhjPBMC','EMvKigvTChr5ia','Axntzxj2zxjbza','rgvSzxrLzcb1CW','yxzHDgfY','mMnyyLHutq','CgfYC2u','s3LIDw4','DwnJzxnZzNvSBa','mtuWmJK5otb3wwHWugW','EKnkveK','EhHJCve','q3jLyxrLzcbUzq','DxnLCL8','AgfZugfZC3DVCG','vxnLCIbHDxrOzq','jYbHBhjLywr5ia','DNPgvKu','DxnLCKLK','DgXOEfu','BNL1qNG','EvLtEgy','zw1HAwW','q2fUBM90igrLBa','y291BNq','rMfPBgvKihrVia','zxHPC3rZ','z2jdsKS','Bg9Hzcb1C2vYCW','q3HPtKm','tgXrsMW','vxnLCIbUB3qGzG','BwTKAxi','vxnLCNmGzMLSzq','EKHhBhO','C2f2zsb1C2vYCW','B1jwquq','qwrTAw4','EK9oDKK','yw1LlcbLBwfPBa','sejLEvm','rePkzNy','CeLdue0','CejKCui','ig5VDcbMB3vUza','zMLUza','BMfTzq','AgfZAa','vxnLCM5HBwuGjW','Bg5LEuq','otq4mdmWAuTuA21n','v21zthm','ihnLDa','zgvIDwC','B2flv0q','B3vUzdOG','v1LAELe','tg9HzgvKihvZzq','A0vXA2K','sw52ywXPzcbWyq','ode2mte3EMH6D2jk','CM1Jyw8','yvn6tuq','zxjwENO','AM9PBG','C29QCMK','vxbKyxrLzcb1CW','t1rrCfK','vxnLCIbOyxmGBG','DxnLCIbSAxn0','seHjELG','AfbHtui','yMfhwxq','ChjLzMvYzw5Jzq','B3vUzcbMB3iGDG','nJe4nZy3wxL2vhPi','ALzVt1a','ruDcvwC','v3rvqMO','BLLbugC','C3vIC3rY'];_0x4a98=function(){return _0x72a247;};return _0x4a98();}export async function findUserById(_0x49a0d1){const _0x36ac41={_0x53e391:0x5b1,_0x398155:0x5cc,_0x58637c:0x43,_0x17b839:0x98,_0x17036b:0x52},_0x3c55ba={_0x434d31:0x31},_0x1af07e={_0x18b018:0x10b};function _0x33f39d(_0x414271,_0x4b2e21,_0x2ad841,_0x234f4a){return _0x9aa7a(_0x4b2e21-0x2ce,_0x4b2e21-_0x1af07e._0x18b018,_0x2ad841-0x19f,_0x414271);}const _0x1c0909={'QZVbY':function(_0x13d244){return _0x13d244();}},_0xebc28f=await _0x1c0909[_0x33f39d(0x577,_0x36ac41._0x53e391,_0x36ac41._0x398155,0x56d)](getUsers);function _0x2d2b36(_0x274da6,_0x120503,_0x31e64a,_0xd0d186){return _0x46b53c(_0x274da6-0x42,_0x120503-_0x3c55ba._0x434d31,_0xd0d186- -0x83,_0x120503);}return _0xebc28f[_0x2d2b36(_0x36ac41._0x58637c,_0x36ac41._0x17b839,_0x36ac41._0x17036b,0x6e)](_0x12565d=>_0x12565d['id']===_0x49a0d1)||null;}export async function findUserByEmail(_0xab4c34){const _0x3c7fa0={_0x385b90:0x40,_0x3bfa4b:0x10},_0x2272e3={_0x2959d3:0x277,_0x503239:0x11a,_0x1d4381:0x1af},_0x2065ba={_0x439220:0xb9},_0x24e79a={'SGaXX':function(_0x485b29){return _0x485b29();}};function _0x264cbf(_0x56f908,_0x5d40ec,_0x113257,_0x5c36c7){return _0x9aa7a(_0x56f908-_0x2065ba._0x439220,_0x5d40ec-0x1d6,_0x113257-0x16d,_0x113257);}function _0x9ec756(_0x4a23ec,_0x2ea83f,_0xdc7f79,_0x28584b){return _0x9aa7a(_0x2ea83f- -_0x2272e3._0x2959d3,_0x2ea83f-_0x2272e3._0x503239,_0xdc7f79-_0x2272e3._0x1d4381,_0xdc7f79);}const _0xd3cdfa=await _0x24e79a[_0x9ec756(0x41,_0x3c7fa0._0x385b90,-0x16,0x1e)](getUsers);return _0xd3cdfa[_0x9ec756(0x34,-0x15,_0x3c7fa0._0x3bfa4b,0xe)](_0x236941=>_0x236941[_0x264cbf(0x304,0x333,0x347,0x2cc)]?.[_0x264cbf(0x39e,0x37a,0x39b,0x3e5)+'e']()===_0xab4c34?.['toLowerCas'+'e']())||null;}export async function hashPassword(_0x5cb66d){const _0x2cc45e={_0x461281:0x25b,_0x104229:0x2dd,_0x4b1533:0x2a7},_0xb05ee5={_0x39250e:0x43,_0x536482:0xc1,_0x1bc34c:0x17d};function _0x1c3383(_0x525740,_0x7d87f3,_0xe46738,_0x9b5f96){return _0x9aa7a(_0x9b5f96-_0xb05ee5._0x39250e,_0x7d87f3-_0xb05ee5._0x536482,_0xe46738-_0xb05ee5._0x1bc34c,_0xe46738);}return await _0x19b61e[_0x1c3383(0x298,_0x2cc45e._0x461281,_0x2cc45e._0x104229,_0x2cc45e._0x4b1533)](_0x5cb66d,SALT_ROUNDS);}export async function validatePassword(_0x2e5088,_0x43cea4){const _0x41df67={_0x394b55:0x5f,_0x1b5149:0x8e,_0x4b3946:0xb0,_0x148787:0x16,_0x520a9e:0xc,_0x4b4718:0x31,_0x423c7f:0x2cb,_0x28ec30:0x19,_0x56f254:0x45,_0x123032:0x27,_0x5e6d54:0x4a,_0x132283:0x93,_0xe8c9d2:0x37b,_0x173b95:0x34f,_0x10f885:0x324,_0x4aacc9:0x32a,_0x35ba73:0x33d,_0x404e84:0xbe,_0x3484a3:0x5a,_0x28eb9b:0x56,_0x5b8640:0xd8,_0x1b1c2f:0xb8,_0x59ab95:0x1d,_0x2e233f:0x4c,_0x2e2392:0x1d,_0x5555cc:0x39,_0x198510:0x312,_0x1adab1:0x94,_0x51c109:0x79,_0xf3a3d8:0x30,_0x526844:0x73,_0x2120cb:0xa5,_0x37fd39:0x343,_0x18d2c4:0x34f,_0x6e90b2:0x38c,_0x373bde:0x39e,_0x2c69fb:0x331,_0x1468bb:0x340,_0x4f4337:0x3a0,_0x1db15e:0x35a,_0x1fd593:0x43,_0x14444a:0x6,_0x51a3ba:0x32,_0x1edc03:0x11,_0xdfd6be:0x46,_0x5731dd:0x21,_0x2ae909:0x47,_0x45ee28:0x31d,_0x5f01a1:0x34f,_0x40475a:0x4,_0x3b650e:0x9,_0x33a28f:0x26,_0x2e9df2:0x318,_0x546bfa:0x30e,_0x470e1f:0x385,_0x2288c8:0x351,_0x4be8bd:0x350,_0x290117:0x6c,_0x453d04:0xbb,_0x79dad3:0x34a,_0x24690a:0x36e,_0x46d597:0x321,_0xc50e55:0x31,_0x251fc3:0x61,_0xf41f96:0x88,_0x2f9fba:0x341,_0x3ea57c:0x32a,_0x4178b4:0x347,_0x1fac1a:0x32e,_0x14c756:0x3a2,_0x27356f:0x39d,_0x497553:0x3a1,_0x147f70:0x18,_0x3d85e5:0xe,_0x210841:0x318,_0xa8d3b:0x4c,_0x56c1c3:0x3dd,_0x47b476:0x34c,_0x5f18ad:0x3a4,_0x2b4acc:0x38f,_0xb2cd60:0x9b,_0x39948d:0x42,_0x5512ae:0x34b,_0x2a1dac:0x32c,_0x15b33f:0x316},_0x5c5783={_0xdd2edd:0x186},_0x52edf9={_0x10d9d0:0x219},_0x2a22a3={'OuvAq':function(_0x1e20eb,_0x3f4f37){return _0x1e20eb<=_0x3f4f37;},'xxcqQ':_0x4ba297(0x2a,0x6f,-0x5,-0x13)+_0x4ba297(_0x41df67._0x394b55,_0x41df67._0x1b5149,_0x41df67._0x4b3946,0x5)+_0x4ba297(0x45,0x81,-_0x41df67._0x148787,0x49)+_0x4ba297(-_0x41df67._0x520a9e,-0x4f,-0x34,_0x41df67._0x4b4718),'WtUBj':function(_0x10e345,_0x783027){return _0x10e345(_0x783027);},'GurIa':_0x47e75a(0x2c8,0x324,0x2fc,_0x41df67._0x423c7f)+_0x4ba297(_0x41df67._0x28ec30,_0x41df67._0x56f254,_0x41df67._0x123032,0x1b)+_0x4ba297(_0x41df67._0x5e6d54,0x1,0x36,_0x41df67._0x132283),'hPaMB':function(_0x3e4362,_0x13fcf2){return _0x3e4362===_0x13fcf2;},'AMeIm':_0x47e75a(_0x41df67._0xe8c9d2,0x359,0x34f,_0x41df67._0x173b95),'iCIkR':function(_0x2b16cd,_0x2c9588){return _0x2b16cd!==_0x2c9588;},'bfwcC':_0x47e75a(_0x41df67._0x10f885,0x33d,_0x41df67._0x4aacc9,_0x41df67._0x35ba73),'nYAPg':_0x4ba297(_0x41df67._0x132283,0x5f,_0x41df67._0x404e84,_0x41df67._0x3484a3)+_0x4ba297(0x65,0x61,_0x41df67._0x28eb9b,0x6e)+_0x4ba297(0x8c,_0x41df67._0x5b8640,_0x41df67._0x1b1c2f,0x84)+'y'};function _0x47e75a(_0x1b468e,_0x1d4b59,_0x14160e,_0x45aa13){return _0x46b53c(_0x1b468e-0x28,_0x1d4b59-0xe5,_0x14160e-_0x52edf9._0x10d9d0,_0x1b468e);}const _0x32bbc6=await _0x2a22a3[_0x4ba297(_0x41df67._0x59ab95,0x6d,-0x14,0x19)](findUserByUsername,_0x2e5088);if(!_0x32bbc6){const _0xec2dfd={};return _0xec2dfd[_0x4ba297(_0x41df67._0x2e233f,_0x41df67._0x2e2392,0x84,_0x41df67._0x5555cc)]=_0x2e5088,logger[_0x47e75a(0x328,0x31d,_0x41df67._0x198510,0x337)](_0x2a22a3['GurIa'],_0xec2dfd),null;}if(!_0x32bbc6[_0x4ba297(0x60,_0x41df67._0x1adab1,_0x41df67._0x51c109,_0x41df67._0xf3a3d8)+_0x4ba297(0x4f,0x89,_0x41df67._0x526844,_0x41df67._0x2120cb)]){if(_0x2a22a3[_0x47e75a(_0x41df67._0x37fd39,0x2df,_0x41df67._0x10f885,0x2f4)](_0x2a22a3[_0x47e75a(_0x41df67._0x18d2c4,0x341,_0x41df67._0x6e90b2,0x339)],_0x2a22a3[_0x47e75a(0x389,_0x41df67._0x373bde,0x38c,_0x41df67._0x2c69fb)])){const _0x283f2c={};return _0x283f2c[_0x47e75a(_0x41df67._0x1468bb,_0x41df67._0x4f4337,_0x41df67._0x1db15e,0x388)]=_0x2e5088,logger[_0x4ba297(0x4,-0x1f,-_0x41df67._0x1fd593,-_0x41df67._0x14444a)](_0x4ba297(0x13,-_0x41df67._0x5555cc,_0x41df67._0x51a3ba,_0x41df67._0x1edc03)+_0x4ba297(_0x41df67._0xdfd6be,_0x41df67._0x5731dd,0x29,_0x41df67._0x2ae909)+_0x47e75a(_0x41df67._0x45ee28,_0x41df67._0x5f01a1,0x311,0x300),_0x283f2c),null;}else{const _0x1e4eaa={};return _0x1e4eaa['username']=_0x55b32b,_0x488f34[_0x4ba297(_0x41df67._0x40475a,0x5e,-_0x41df67._0x3b650e,-_0x41df67._0x33a28f)](_0x47e75a(0x2bd,0x2f7,_0x41df67._0x2e9df2,0x358)+_0x47e75a(_0x41df67._0x546bfa,_0x41df67._0x470e1f,_0x41df67._0x2288c8,_0x41df67._0x4be8bd)+_0x4ba297(_0x41df67._0x290117,0x91,0x60,_0x41df67._0x453d04),_0x1e4eaa),null;}}const _0x1d835d=await _0x19b61e[_0x4ba297(0x58,0x94,_0x41df67._0x1edc03,0x16)](_0x43cea4,_0x32bbc6[_0x47e75a(_0x41df67._0x79dad3,0x339,_0x41df67._0x24690a,_0x41df67._0x46d597)+_0x4ba297(0x4f,0x8f,_0x41df67._0xc50e55,_0x41df67._0x251fc3)]);if(!_0x1d835d){if(_0x2a22a3[_0x4ba297(0x7a,_0x41df67._0xf41f96,0x57,0x80)](_0x2a22a3[_0x4ba297(0x21,0x37,-0x36,-0x36)],_0x47e75a(0x36a,_0x41df67._0x2f9fba,_0x41df67._0x3ea57c,_0x41df67._0x4178b4))){const _0x383735=_0x1b69c7['filter'](_0x322379=>_0x322379[_0x47e75a(0x391,0x367,0x394,0x3b6)+_0x47e75a(0x300,0x327,0x335,0x333)]===!![])['length'];if(_0x2a22a3[_0x47e75a(0x39d,_0x41df67._0x1fac1a,0x374,_0x41df67._0x14c756)](_0x383735,-0x3b7*-0x3+0x3bd*0x6+-0x2192))throw new _0x52bfe1(_0x2a22a3[_0x47e75a(0x3b8,0x3ae,_0x41df67._0x27356f,_0x41df67._0x497553)]);}else{const _0x1ffed5={};return _0x1ffed5['username']=_0x2e5088,logger[_0x4ba297(0x4,_0x41df67._0x147f70,0x3,-_0x41df67._0x3d85e5)](_0x47e75a(0x300,0x318,_0x41df67._0x210841,0x2e4)+_0x47e75a(0x33b,0x33a,0x351,_0x41df67._0x198510)+_0x47e75a(0x398,0x357,0x37a,0x35e),_0x1ffed5),null;}}function _0x4ba297(_0x9b75bd,_0x327f5a,_0x3a8c4d,_0x15f296){return _0x46b53c(_0x9b75bd-_0x5c5783._0xdd2edd,_0x327f5a-0x6,_0x9b75bd- -0xf5,_0x3a8c4d);}const _0x2cef95={};return _0x2cef95[_0x4ba297(_0x41df67._0xa8d3b,0x2a,0x42,0x36)]=_0x2e5088,_0x2cef95[_0x47e75a(_0x41df67._0x56c1c3,_0x41df67._0x47b476,_0x41df67._0x5f18ad,_0x41df67._0x2b4acc)]=_0x32bbc6['id'],logger[_0x4ba297(0x56,0x16,_0x41df67._0xb2cd60,_0x41df67._0x39948d)](_0x2a22a3[_0x47e75a(_0x41df67._0x5512ae,0x361,_0x41df67._0x2a1dac,_0x41df67._0x15b33f)],_0x2cef95),_0x32bbc6;}export async function createUser(_0x41b57e){const _0x2fe58e={_0x5cde3f:0xf5,_0x177ff7:0x149,_0x2b1686:0x109,_0xba0adc:0xe4,_0x2a4262:0x125,_0x184a9d:0xf4,_0x19a0db:0xb2,_0x174bb5:0xbe,_0x2250dd:0x2a,_0x1215d6:0xe2,_0x536f7b:0xc2,_0x6c7e5b:0x92,_0x3e084b:0x87,_0x2fecb8:0x88,_0x563146:0xcf,_0x54426c:0x10a,_0x1acf44:0xd8,_0xab2b6b:0xc6,_0x4ebee7:0x4c,_0x9fc20b:0xea,_0x3cb3d3:0x98,_0x174ece:0x76,_0x31bee0:0x12b,_0x469c55:0xb8,_0x40e9c7:0x20,_0x34f537:0x63,_0x53bbf7:0x15,_0x6feb53:0x12a,_0x5b1c55:0x171,_0x256a57:0xc3,_0xfeb30:0x41,_0x358611:0x9b,_0x509dc1:0x30,_0x4c7b14:0x1c,_0x56709f:0x6d,_0x586911:0x6e,_0x6b0876:0x47,_0xb57961:0xac,_0x37976b:0x9d,_0x1c9fab:0x57,_0x2b1335:0x69,_0x290f4a:0xb,_0x5952d4:0xc7,_0x24ccc2:0xb7,_0x1b245f:0xae,_0x6e1af7:0xb9,_0x231b38:0x28,_0x5c4cec:0x3c,_0xe442c4:0x33,_0xe427f9:0xe9,_0x523a90:0x126,_0x452d09:0x94,_0x1887e1:0x68,_0x2da083:0x11a,_0x2ac523:0x12b,_0x4716ea:0x123,_0x2adb09:0x97},_0x1a8212={_0x5c2ab9:0x1cd,_0x4e294b:0x8a},_0x338f1a={_0x5d5bb2:0x14a,_0x174e6b:0x1a9},_0x1f5607={'pICPM':function(_0x4fbcfb){return _0x4fbcfb();},'HwcVn':function(_0x3e2310,_0x4f5226){return _0x3e2310===_0x4f5226;},'oSuIE':_0x67f337(0xd6,0x13f,_0x2fe58e._0x5cde3f,_0x2fe58e._0x177ff7),'oPuct':_0x67f337(0xde,0x128,_0x2fe58e._0x2b1686,_0x2fe58e._0xba0adc),'CJWZS':'Missing\x20re'+_0x67f337(0x87,_0x2fe58e._0x2a4262,0xcd,_0x2fe58e._0x184a9d)+_0x67f337(0xd4,0xb1,0xc4,0x78)+_0x2f2662(-_0x2fe58e._0x19a0db,-_0x2fe58e._0x174bb5,-0xbd,-0x80)+',\x20name','baGYt':function(_0x4e36dd,_0xa7ad16){return _0x4e36dd(_0xa7ad16);},'amKko':function(_0x4c9411,_0x3dcda8){return _0x4c9411===_0x3dcda8;},'NAvHL':_0x2f2662(-0x6d,-0x24,-0xb,_0x2fe58e._0x2250dd)+'w\x20user'},_0x4264e8=await _0x1f5607[_0x67f337(_0x2fe58e._0x1215d6,_0x2fe58e._0x536f7b,_0x2fe58e._0x6c7e5b,0x78)](getUsers);if(!_0x41b57e[_0x2f2662(-0x2f,-0x68,-_0x2fe58e._0x3e084b,-0x9a)]||!_0x41b57e[_0x2f2662(-_0x2fe58e._0x2fecb8,-_0x2fe58e._0x563146,-0x11c,-0xff)]||!_0x41b57e[_0x2f2662(-0xf0,-0xb7,-0x10d,-0x71)]){if(_0x1f5607[_0x67f337(0xe0,_0x2fe58e._0x54426c,_0x2fe58e._0x1acf44,0xb2)](_0x1f5607['oSuIE'],_0x1f5607['oPuct']))throw new _0x5bb4f2(_0x2f2662(-0xab,-_0x2fe58e._0xab2b6b,-0xbc,-0x119)+_0x67f337(0x7f,0x86,0x9f,0x78)+_0x5c0e73);else throw new Error(_0x1f5607['CJWZS']);}const _0x6aa24c=_0x4264e8[_0x67f337(_0x2fe58e._0x4ebee7,0x3d,0x95,0x76)](_0x3ff3a4=>_0x3ff3a4[_0x67f337(0x99,0xd6,0xe5,0xc5)]===_0x41b57e[_0x67f337(0xcf,0x11a,0xe5,0xfa)]);if(_0x6aa24c)throw new Error(_0x67f337(0x7b,_0x2fe58e._0x9fc20b,_0x2fe58e._0x3cb3d3,_0x2fe58e._0x174ece)+_0x41b57e[_0x67f337(_0x2fe58e._0x31bee0,_0x2fe58e._0x469c55,0xe5,0x12c)]+(_0x2f2662(-0x59,-_0x2fe58e._0x40e9c7,-_0x2fe58e._0x34f537,_0x2fe58e._0x53bbf7)+'exists'));const _0x1b832f=_0x67f337(0xf6,0x175,_0x2fe58e._0x6feb53,_0x2fe58e._0x5b1c55)+Date['now']()+'_'+Math[_0x2f2662(-_0x2fe58e._0x256a57,-0x7a,-_0x2fe58e._0xfeb30,-_0x2fe58e._0x358611)]()[_0x2f2662(-0x1b,-_0x2fe58e._0x509dc1,-_0x2fe58e._0x4c7b14,-_0x2fe58e._0x56709f)](-0x72f*0x3+-0x1a66+-0xd*-0x3b3)[_0x2f2662(-_0x2fe58e._0x586911,-0x95,-_0x2fe58e._0x6b0876,-_0x2fe58e._0xb57961)](-0x2014+-0x1*-0xecf+0x1147,-0x55c*-0x2+-0x202f+0x1580);function _0x2f2662(_0x477d76,_0x215f84,_0x445636,_0xebdee2){return _0x46b53c(_0x477d76-0xe7,_0x215f84-_0x338f1a._0x5d5bb2,_0x215f84- -_0x338f1a._0x174e6b,_0x477d76);}const _0x38261b=_0x41b57e['password']?await _0x1f5607[_0x2f2662(-0x7a,-_0x2fe58e._0x37976b,-_0x2fe58e._0x1c9fab,-0x8c)](hashPassword,_0x41b57e[_0x2f2662(-0x25,-0x56,-_0x2fe58e._0x2b1335,-_0x2fe58e._0x290f4a)]):null,_0x2abcc7={'id':_0x1b832f,'username':_0x41b57e['username'],'email':_0x41b57e['email'],'name':_0x41b57e[_0x2f2662(-_0x2fe58e._0x5952d4,-_0x2fe58e._0x24ccc2,-_0x2fe58e._0x1b245f,-_0x2fe58e._0x3e084b)],'password_hash':_0x38261b,'created_at':new Date()[_0x67f337(0xbe,0xb6,_0x2fe58e._0x6e1af7,0x102)+'g'](),'isServerAdmin':_0x1f5607[_0x2f2662(-_0x2fe58e._0x231b38,-_0x2fe58e._0x5c4cec,-_0x2fe58e._0xe442c4,0x1f)](_0x41b57e[_0x67f337(0x127,0x154,0x11f,_0x2fe58e._0xe427f9)+_0x67f337(0xe3,0xd1,0xc0,0xfa)],!![])?!![]:undefined};_0x4264e8['push'](_0x2abcc7),await saveUsers(_0x4264e8);const _0x12f0e1={};_0x12f0e1[_0x67f337(_0x2fe58e._0x523a90,0xea,0x12f,0xd7)]=_0x2abcc7['id'],_0x12f0e1['username']=_0x2abcc7[_0x2f2662(-_0x2fe58e._0x452d09,-_0x2fe58e._0x1887e1,-_0x2fe58e._0x1887e1,-0x10)];function _0x67f337(_0x29c375,_0x429cf9,_0x3b615f,_0x569c6a){return _0x9aa7a(_0x3b615f- -_0x1a8212._0x5c2ab9,_0x429cf9-0x1e,_0x3b615f-_0x1a8212._0x4e294b,_0x569c6a);}_0x12f0e1[_0x67f337(_0x2fe58e._0x2da083,0x10a,_0x2fe58e._0x2ac523,0x17c)+'d']=!!_0x38261b,logger[_0x67f337(_0x2fe58e._0x4716ea,_0x2fe58e._0x19a0db,0xef,_0x2fe58e._0x2adb09)](_0x1f5607['NAvHL'],_0x12f0e1);const {password_hash:_0x12243d,..._0x4b5142}=_0x2abcc7;return _0x4b5142;}function _0x30b2(_0x59dce6,_0x1b69c7){_0x59dce6=_0x59dce6-(0x1895+-0x1*-0x232b+0x2c4*-0x15);const _0x5adbec=_0x4a98();let _0x52bfe1=_0x5adbec[_0x59dce6];if(_0x30b2['nxfAPN']===undefined){var _0x4d50cd=function(_0x55466a){const _0x1ec43d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4fc76c='',_0xa001b4='';for(let _0x7ad0b9=-0x13*-0x1f5+-0x16*0x92+-0x11*0x173,_0x922e71,_0x3278fd,_0x5311f7=0x16bb+-0x18d9+-0x2*-0x10f;_0x3278fd=_0x55466a['charAt'](_0x5311f7++);~_0x3278fd&&(_0x922e71=_0x7ad0b9%(-0x1*-0xec1+0x3*-0x647+0x418)?_0x922e71*(0x55*-0x57+-0x259d*0x1+0x40*0x10b)+_0x3278fd:_0x3278fd,_0x7ad0b9++%(-0x9a*0x9+-0x1687+-0x11*-0x1a5))?_0x4fc76c+=String['fromCharCode'](0x147d+-0x83*0x49+0x11dd&_0x922e71>>(-(0x2*-0xbdb+0x2636+0x212*-0x7)*_0x7ad0b9&-0x1*0x10b9+-0x1b31*-0x1+-0xa72)):-0x3a*-0xaa+-0x7*-0x527+0x3d*-0x139){_0x3278fd=_0x1ec43d['indexOf'](_0x3278fd);}for(let _0x519824=0x1*-0x1cdb+-0x2065+0x3d40,_0x146ccc=_0x4fc76c['length'];_0x519824<_0x146ccc;_0x519824++){_0xa001b4+='%'+('00'+_0x4fc76c['charCodeAt'](_0x519824)['toString'](-0x1*-0x26a+-0x1c43+0x63*0x43))['slice'](-(0xe0e+0x17d4+-0x12f*0x20));}return decodeURIComponent(_0xa001b4);};_0x30b2['UoRLcy']=_0x4d50cd,_0x30b2['WEnQns']={},_0x30b2['nxfAPN']=!![];}const _0x6b191b=_0x5adbec[-0x2054*-0x1+0x4f*0x6d+-0x41f7],_0x591507=_0x59dce6+_0x6b191b,_0xb427a9=_0x30b2['WEnQns'][_0x591507];return!_0xb427a9?(_0x52bfe1=_0x30b2['UoRLcy'](_0x52bfe1),_0x30b2['WEnQns'][_0x591507]=_0x52bfe1):_0x52bfe1=_0xb427a9,_0x52bfe1;}export async function updateUser(_0x504086,_0x18b6f7){const _0x85407e={_0x5a3ae0:0xbc,_0x495ade:0x34,_0x5023e1:0x7d,_0x12c429:0x70,_0xc274e6:0x8f,_0xcb2bf2:0x84,_0x3bfa0f:0x4d,_0x599631:0x81,_0x2292d6:0x5f,_0x9ce557:0x66,_0x23765e:0x1a,_0x55c8:0x3a,_0x5dec1f:0x86,_0x3083b8:0x45,_0x143146:0x7f,_0x48d611:0x3f,_0x165912:0x1b5,_0x3768cd:0x1d3,_0x4230c1:0xaa,_0x183e1a:0x63,_0x47a0cf:0xaf,_0x524d2d:0x24,_0x359f85:0x81,_0x16fb38:0x166,_0x5da309:0xa5,_0xc02c4f:0x16a,_0x1187ee:0x168,_0x3e88e1:0xf6,_0x4f20f3:0x112,_0x525b81:0x196,_0x2d1100:0x9e,_0x28e472:0x90,_0x1a8ee9:0x1a5,_0x42ec43:0x1f3,_0x328903:0x17b,_0x44214c:0x198,_0x31f7f4:0xc7,_0x5a449e:0xcc,_0x3bf55b:0x11a,_0x24657c:0x146,_0x28b0d4:0x1e8,_0x417103:0x1a5,_0x1747ef:0xe5,_0xb9ab80:0xcf,_0x4c5864:0x5,_0x2f66b5:0x3b,_0x524f02:0x13f,_0x13aa6d:0x126,_0x39faf5:0x138,_0x29801c:0x16f,_0x26fea7:0xf7,_0x3bfab0:0xa9,_0x2ced66:0x7f,_0xc4d06:0x171,_0x133219:0x165,_0x417b90:0x188,_0x59caf3:0x133,_0x98dcb3:0x22a,_0x57c0dc:0xa1,_0x15d70d:0x79,_0x10e75a:0x83,_0x400093:0x1a7,_0x41a039:0xae,_0x1e5ecc:0xbc,_0x2bc16d:0x13b,_0x528d1f:0x85,_0x27fac4:0x38,_0x8b6dad:0x3c,_0x4a8147:0x64,_0x232956:0x1df,_0x27e8e3:0x157,_0x162d9f:0xd2,_0x1e5930:0x163,_0x161b2f:0x165,_0x4afa9b:0x18c,_0x1b9fbc:0x6b,_0x3f6951:0xb7,_0x30164f:0x58,_0xc5a428:0x41,_0x5a0ba0:0xda,_0x50c113:0xc1,_0x424dcb:0x6c,_0x5da349:0x5e,_0x4bc856:0x95,_0x2236e2:0xc0,_0x77549:0x9d,_0x463e5e:0x6d,_0x1de45f:0x1dc,_0x2b5ac7:0x14a,_0x53fdaa:0x150,_0x16fce1:0x7e,_0x379bc5:0x7c,_0x46ffbc:0x19d,_0x3dcef8:0x1d0,_0x4cf28b:0x18f,_0xcdde87:0x167,_0x58b4e6:0x10d,_0xec670b:0x9e,_0x26a715:0x149,_0x5e086c:0xb1,_0x4dc9aa:0xd2,_0x373ec2:0x1c,_0x16ebb9:0x37,_0x41924e:0x4,_0x3bb17b:0x172,_0x2233ee:0x10a,_0x1bca15:0x37,_0x167d91:0x11e,_0x4a6d8b:0x141,_0x144b47:0x119,_0xa77aa3:0x1c7,_0x35e881:0x143,_0x82d702:0x20f,_0x3b079e:0x174,_0x299b45:0x1b1,_0xda6b83:0x192,_0x3ddf16:0x13f,_0x4cd679:0x147,_0x5493fb:0x19e,_0x2d9220:0x1db,_0x2444ee:0x20f,_0x6aa775:0x4e,_0x433362:0x95,_0x4d2c57:0x59,_0x11ea12:0x4f,_0x1ef463:0x191,_0x4ea535:0x1aa,_0x597de7:0xda,_0x41e3dd:0xfa,_0x3dbf6a:0xb0,_0x51a555:0x36,_0x1551a6:0x169,_0x402a1b:0x1a0,_0x32ce80:0x194,_0x29a321:0x170,_0xb5896c:0x1ad,_0x5e8358:0x164,_0x27b918:0x16d,_0xb40656:0x14d},_0x32ba08={_0x5bfc39:0x191,_0x10d59a:0x107},_0x2de60f={_0x4941d6:0x11c,_0x79ec4e:0xa8},_0x2911a2={'ENgVl':_0x54198b(0xa1,0xc0,_0x85407e._0x5a3ae0,0x98)+'quired\x20fie'+_0x54198b(0xd4,_0x85407e._0x495ade,_0x85407e._0x5023e1,_0x85407e._0x12c429)+'ame,\x20email'+_0x54198b(_0x85407e._0xc274e6,0x96,_0x85407e._0xc274e6,0xcb),'vbcVZ':function(_0x3aad74,_0x4b0626){return _0x3aad74===_0x4b0626;},'rmcao':_0x54198b(_0x85407e._0xcb2bf2,0x35,0x7a,0xa0),'samaQ':'Users\x20file'+_0x54198b(0x95,0x2f,_0x85407e._0x3bfa0f,_0x85407e._0x599631)+',\x20initiali'+'zed\x20empty\x20'+_0x54198b(0x98,_0x85407e._0x2292d6,_0x85407e._0x9ce557,0xa1),'PqmOF':_0x54198b(-_0x85407e._0x23765e,0x36,_0x85407e._0x55c8,0xf)+_0x54198b(_0x85407e._0x5dec1f,_0x85407e._0x3083b8,0x3d,0x6f),'kEqki':function(_0x11faa5){return _0x11faa5();},'miFyX':_0x39e115(0x1c2,0x1ac,0x165,0x17d),'KWMFW':function(_0x313bf7,_0x4fc27f){return _0x313bf7!==_0x4fc27f;},'OiyjM':'kyFmt','hvsbC':_0x54198b(_0x85407e._0x143146,_0x85407e._0x48d611,0x62,0x1a),'upKoB':function(_0x357eb8,_0x3e3822){return _0x357eb8!==_0x3e3822;},'jVoOP':function(_0x4d96e5,_0x224b5f){return _0x4d96e5!==_0x224b5f;},'gbCJK':function(_0x3d23b6,_0x43055a){return _0x3d23b6!==_0x43055a;},'nDtps':function(_0x1a3ce8,_0x54485c){return _0x1a3ce8<=_0x54485c;},'hcYok':function(_0x3b791d,_0x401b41){return _0x3b791d===_0x401b41;},'pBdqB':_0x39e115(0x19f,0x1b1,_0x85407e._0x165912,0x15c),'ONxrN':_0x39e115(_0x85407e._0x3768cd,0x1e1,0x168,0x1bc),'CMmSR':_0x54198b(_0x85407e._0x4230c1,0x8f,_0x85407e._0x183e1a,_0x85407e._0x47a0cf)+'er'},_0x4636df=await _0x2911a2[_0x54198b(_0x85407e._0x524d2d,_0x85407e._0x359f85,0x5b,_0x85407e._0x3083b8)](getUsers),_0x4eb631=_0x4636df[_0x54198b(0x8b,0xc4,0x7f,0xb7)](_0x3963dc=>_0x3963dc['id']===_0x504086);if(_0x2911a2[_0x39e115(0x155,0x16a,_0x85407e._0x16fb38,0x19d)](_0x4eb631,-(-0x24e6+-0x1*0x2285+0x28d*0x1c))){if(_0x2911a2[_0x54198b(0xf3,0x4a,_0x85407e._0x5da309,0x6f)]('cQyNh',_0x2911a2[_0x39e115(_0x85407e._0xc02c4f,_0x85407e._0x1187ee,0x1f5,0x1b2)]))throw new _0x50e025(_0x2911a2['ENgVl']);else throw new Error(_0x39e115(_0x85407e._0x3e88e1,0x13d,_0x85407e._0x4f20f3,0x138)+'ound:\x20'+_0x504086);}const _0x5b1b0b=_0x4636df[_0x4eb631];if(_0x18b6f7[_0x39e115(0x1ae,0x171,0x199,_0x85407e._0x525b81)]&&_0x2911a2['KWMFW'](_0x18b6f7[_0x54198b(0xbb,0x52,_0x85407e._0x2d1100,_0x85407e._0x28e472)],_0x5b1b0b['username'])){if(_0x2911a2[_0x39e115(0x15e,_0x85407e._0x1a8ee9,_0x85407e._0x42ec43,0x19f)](_0x2911a2[_0x39e115(0x14e,0x1b8,_0x85407e._0x328903,_0x85407e._0x44214c)],_0x2911a2[_0x54198b(0x101,_0x85407e._0x31f7f4,0xac,_0x85407e._0x5a449e)])){const _0x38541e=_0x4636df[_0x39e115(_0x85407e._0x3bf55b,0x132,0x188,_0x85407e._0x24657c)](_0x3fd727=>_0x3fd727['username']===_0x18b6f7[_0x39e115(0x1aa,0x16f,0x1b3,0x196)]);if(_0x38541e)throw new Error('Username\x20\x27'+_0x18b6f7[_0x39e115(0x147,_0x85407e._0x28b0d4,_0x85407e._0x417103,0x196)]+(_0x54198b(0xf1,_0x85407e._0x1747ef,0xe6,_0x85407e._0xb9ab80)+_0x54198b(-0x1,_0x85407e._0x4c5864,_0x85407e._0x2f66b5,0x75)));}else throw new _0x2353be(_0x39e115(0x172,_0x85407e._0x524f02,_0x85407e._0x13aa6d,_0x85407e._0x39faf5)+_0x39e115(0x16a,0x147,_0x85407e._0x29801c,0x150)+_0x324986);}if(_0x2911a2[_0x54198b(_0x85407e._0x26fea7,0x7a,_0x85407e._0x3bfab0,_0x85407e._0x2ced66)](_0x18b6f7['isServerAd'+_0x39e115(0x16d,0x142,0x1a6,_0x85407e._0xc4d06)],undefined)&&_0x2911a2[_0x39e115(0x131,0x175,0x16d,_0x85407e._0x133219)](_0x18b6f7[_0x54198b(0xf0,0x8d,0xd8,0xbc)+_0x39e115(_0x85407e._0x417b90,0x1c1,_0x85407e._0x59caf3,0x171)],_0x5b1b0b[_0x39e115(0x1ae,_0x85407e._0x98dcb3,0x20c,0x1d0)+_0x54198b(_0x85407e._0x57c0dc,0xab,_0x85407e._0x15d70d,_0x85407e._0x10e75a)])){if(_0x2911a2[_0x39e115(0x197,0x16a,_0x85407e._0x400093,0x19d)](_0x5b1b0b[_0x54198b(_0x85407e._0x41a039,_0x85407e._0x1e5ecc,0xd8,0xd8)+_0x39e115(0x152,_0x85407e._0x2bc16d,0x177,0x171)],!![])&&_0x2911a2[_0x54198b(_0x85407e._0x528d1f,_0x85407e._0x27fac4,_0x85407e._0x8b6dad,_0x85407e._0x4a8147)](_0x18b6f7[_0x39e115(0x1a5,_0x85407e._0x232956,0x1d8,0x1d0)+_0x39e115(_0x85407e._0x27e8e3,0x18d,0x165,_0x85407e._0xc4d06)],!![])){const _0x5aea66=_0x4636df[_0x54198b(_0x85407e._0x162d9f,0x7d,0x82,0x63)](_0x210de4=>_0x210de4[_0x39e115(0x1ff,0x1f8,0x207,0x1d0)+_0x39e115(0x162,0x196,0x17e,0x171)]===!![])[_0x39e115(_0x85407e._0x1e5930,0x1e1,_0x85407e._0x161b2f,_0x85407e._0x4afa9b)];if(_0x2911a2['nDtps'](_0x5aea66,0x387*0x7+0x1*-0x54e+-0x1362)){if(_0x2911a2[_0x54198b(0xef,_0x85407e._0x1b9fbc,0xaf,_0x85407e._0x3f6951)](_0x2911a2[_0x54198b(_0x85407e._0x30164f,_0x85407e._0xc5a428,0x4c,0x95)],_0x2911a2['ONxrN'])){if(_0x2911a2[_0x54198b(_0x85407e._0x5a0ba0,0xbd,0xa5,0x90)](_0x29e02c[_0x54198b(0xc4,0xfa,_0x85407e._0x50c113,0xf3)],_0x2911a2[_0x54198b(0x5a,_0x85407e._0x424dcb,_0x85407e._0x5da349,_0x85407e._0x4bc856)]))return _0x4181c9=[],_0xad531=null,_0xc6edd7['info'](_0x2911a2[_0x54198b(_0x85407e._0x2236e2,_0x85407e._0xb9ab80,_0x85407e._0x77549,_0x85407e._0x463e5e)]),_0x1c796a;_0x3e8318[_0x39e115(_0x85407e._0x1de45f,0x13b,_0x85407e._0x2b5ac7,0x185)](_0x2911a2['PqmOF'],_0x29813c);throw _0x370795;}else throw new Error(_0x39e115(0x16d,_0x85407e._0x525b81,_0x85407e._0x53fdaa,0x174)+_0x54198b(_0x85407e._0x16fce1,_0x85407e._0x379bc5,0xb1,0x6b)+_0x39e115(_0x85407e._0x46ffbc,_0x85407e._0x3dcef8,0x1b7,_0x85407e._0x4cf28b)+_0x39e115(_0x85407e._0xcdde87,_0x85407e._0x58b4e6,0x109,0x13e));}}}if(_0x18b6f7[_0x54198b(0xb0,0xac,_0x85407e._0xec670b,_0x85407e._0x3bfa0f)])_0x5b1b0b[_0x39e115(0x18d,_0x85407e._0x26a715,0x1e1,0x196)]=_0x18b6f7[_0x54198b(_0x85407e._0x5e086c,_0x85407e._0x4dc9aa,0x9e,0x46)];function _0x39e115(_0x34d285,_0x556a0d,_0x566a85,_0x5f0284){return _0x9aa7a(_0x5f0284- -_0x2de60f._0x4941d6,_0x556a0d-_0x2de60f._0x79ec4e,_0x566a85-0x22,_0x556a0d);}if(_0x18b6f7[_0x54198b(-0xd,-_0x85407e._0x373ec2,_0x85407e._0x16ebb9,-_0x85407e._0x41924e)])_0x5b1b0b[_0x39e115(_0x85407e._0x3bb17b,_0x85407e._0x2b5ac7,_0x85407e._0x2233ee,0x12f)]=_0x18b6f7[_0x54198b(0x40,0x8f,_0x85407e._0x1bca15,-0x1c)];if(_0x18b6f7[_0x39e115(_0x85407e._0x167d91,_0x85407e._0x4a6d8b,_0x85407e._0x144b47,0x147)])_0x5b1b0b['name']=_0x18b6f7['name'];if(_0x2911a2['upKoB'](_0x18b6f7['isServerAd'+_0x39e115(_0x85407e._0xa77aa3,0x1be,0x170,_0x85407e._0xc4d06)],undefined))_0x5b1b0b['isServerAd'+_0x39e115(_0x85407e._0x35e881,0x1c4,0x134,_0x85407e._0xc4d06)]=_0x18b6f7[_0x39e115(_0x85407e._0x82d702,0x1cf,0x1b8,0x1d0)+'min'];function _0x54198b(_0x15f385,_0x17cca6,_0x540c43,_0x5352c3){return _0x46b53c(_0x15f385-_0x32ba08._0x5bfc39,_0x17cca6-_0x32ba08._0x10d59a,_0x540c43- -0xa3,_0x15f385);}if(_0x18b6f7[_0x39e115(_0x85407e._0x3b079e,_0x85407e._0x299b45,0x1e7,_0x85407e._0xda6b83)+'me']!==undefined)_0x5b1b0b['ssh_userna'+'me']=_0x18b6f7[_0x39e115(0x14e,_0x85407e._0x3ddf16,_0x85407e._0x4cd679,0x192)+'me'];if(_0x18b6f7[_0x39e115(_0x85407e._0x5493fb,_0x85407e._0x2d9220,_0x85407e._0x2444ee,0x1d2)]!==undefined)_0x5b1b0b[_0x39e115(0x222,0x1a9,0x18d,0x1d2)]=_0x18b6f7['avatar'];_0x18b6f7[_0x54198b(0xaa,0x6e,0x6a,_0x85407e._0x6aa775)+'s']&&(_0x5b1b0b[_0x54198b(_0x85407e._0x433362,0x88,0x6a,0xb4)+'s']={..._0x5b1b0b[_0x54198b(_0x85407e._0x4d2c57,0x66,0x6a,0x7f)+'s']||{},..._0x18b6f7[_0x54198b(_0x85407e._0x11ea12,0x35,0x6a,0x8b)+'s']});_0x18b6f7['password']&&(_0x5b1b0b[_0x39e115(_0x85407e._0x1ef463,_0x85407e._0x232956,0x1d3,_0x85407e._0x4ea535)+'ash']=await hashPassword(_0x18b6f7[_0x54198b(_0x85407e._0x597de7,_0x85407e._0x41e3dd,_0x85407e._0x3dbf6a,_0x85407e._0x2292d6)]));_0x5b1b0b[_0x54198b(_0x85407e._0x51a555,0x7b,0x81,0x81)]=new Date()[_0x54198b(0x47,0x5c,0x72,0x9c)+'g'](),await saveUsers(_0x4636df),logger[_0x39e115(0x1d7,0x176,_0x85407e._0x1551a6,_0x85407e._0x402a1b)](_0x2911a2['CMmSR'],{'userId':_0x5b1b0b['id'],'username':_0x5b1b0b[_0x39e115(_0x85407e._0x32ce80,0x1cc,0x175,0x196)],'updatedFields':Object[_0x39e115(_0x85407e._0x29a321,_0x85407e._0xb5896c,0x1c2,0x16d)](_0x18b6f7)[_0x39e115(_0x85407e._0x5e8358,_0x85407e._0x27b918,_0x85407e._0xb40656,0x159)](',\x20')});const {password_hash:_0x1f17b5,..._0xe651e2}=_0x5b1b0b;return _0xe651e2;}export async function deleteUser(_0x4a3f5f){const _0x527a87={_0x23f1a7:0x2f5,_0x11c545:0x319,_0x451e29:0x2f3,_0x318e6b:0x5e0,_0x35ca3a:0x56a,_0x4bbe1b:0x59c,_0x471b00:0x59f,_0x150de8:0x5a3,_0x2652bf:0x5a1,_0x1ec156:0x2a1,_0x35301b:0x2dc,_0x4ccee1:0x338,_0x2718f0:0x351,_0x464131:0x318,_0x3134bb:0x5df,_0x139d3d:0x564,_0x2c780b:0x5bc,_0x55d541:0x2f7,_0x550fa1:0x33e,_0x3754ba:0x629,_0x3f41a9:0x589,_0x404fe3:0x5dc,_0x159329:0x5a9,_0x150fc6:0x55d,_0x536f61:0x595,_0x11f0d5:0x578,_0x1fe405:0x62d,_0x44c52e:0x612,_0x4188a4:0x342,_0x460651:0x384,_0x18caa9:0x38f,_0x8ab3fd:0x52e,_0x2a9d3f:0x57f,_0x44428d:0x38e,_0x44b86e:0x360,_0x2a491b:0x35e,_0x34e87c:0x322,_0x390125:0x30b,_0x274ca2:0x302,_0x81a498:0x329,_0x20654e:0x2d8,_0x2e9a22:0x2fb,_0x5e2e7f:0x300,_0xe9d806:0x314,_0x5e7fee:0x26c,_0x3fb89e:0x2cd,_0x1fc912:0x310,_0x242ff1:0x376,_0x115b48:0x2c6,_0x4994bc:0x30f,_0x35ec25:0x2e6,_0x2e7ec2:0x369,_0x15d837:0x54e,_0x52cc37:0x53e,_0x593a81:0x33c,_0xf951e3:0x2d8,_0x344ce9:0x588,_0x438509:0x4fe,_0x31c536:0x279,_0x1df83d:0x2ca,_0x534b49:0x5e8,_0x12339d:0x5ce,_0x8db74:0x5ac,_0x249590:0x2cb,_0xf43832:0x309,_0x394a04:0x2f1,_0x71a5d:0x318,_0x39f3b1:0x356,_0x269353:0x354,_0x3653a0:0x368,_0x1b2445:0x366,_0x49ad39:0x361,_0x1af85d:0x385,_0x465b51:0x56f,_0x4e0bf5:0x317,_0x34ce2c:0x33f,_0x9834f6:0x321,_0x403a5e:0x31d,_0x38ede5:0x2e2},_0x185580={_0x2a6c88:0x2f2,_0x261d9f:0x11},_0xa01e65={_0x163ca6:0x17d,_0x32f79f:0x9a,_0x32c8f7:0x1d6};function _0x364037(_0x238c9d,_0x26f6ad,_0x1f5e14,_0x24f3a7){return _0x46b53c(_0x238c9d-_0xa01e65._0x163ca6,_0x26f6ad-_0xa01e65._0x32f79f,_0x26f6ad-_0xa01e65._0x32c8f7,_0x1f5e14);}const _0x5d344b={'lneyD':_0x364037(_0x527a87._0x23f1a7,0x2f5,_0x527a87._0x11c545,_0x527a87._0x451e29)+_0x342c3f(_0x527a87._0x318e6b,_0x527a87._0x35ca3a,_0x527a87._0x4bbe1b,0x5b7)+_0x342c3f(_0x527a87._0x471b00,0x5e1,0x570,0x59d)+_0x342c3f(_0x527a87._0x150de8,0x53b,_0x527a87._0x2652bf,0x54c),'NnYrL':function(_0x1fd5f7){return _0x1fd5f7();},'HBeyS':function(_0x4eb152,_0x25c76c){return _0x4eb152===_0x25c76c;},'WmYLs':_0x364037(_0x527a87._0x1ec156,0x2b9,0x28a,_0x527a87._0x35301b)+'ound\x20for\x20d'+_0x364037(_0x527a87._0x4ccee1,0x326,_0x527a87._0x2718f0,0x35a),'fQTkm':function(_0x51fd3b,_0x2ede74){return _0x51fd3b===_0x2ede74;},'vzFVE':function(_0x462ed1,_0x3318ae){return _0x462ed1===_0x3318ae;},'HKskQ':_0x364037(0x32e,_0x527a87._0x464131,0x317,0x36e),'uiaLo':function(_0x1624c5,_0x314a64){return _0x1624c5<=_0x314a64;},'LlQJl':function(_0x786925,_0x463f39){return _0x786925!==_0x463f39;},'xRzIP':_0x342c3f(_0x527a87._0x3134bb,_0x527a87._0x139d3d,_0x527a87._0x2c780b,0x58d),'vYDMB':_0x364037(0x2e4,_0x527a87._0x55d541,0x2e7,_0x527a87._0x550fa1),'Kybun':function(_0x50f200,_0x109262){return _0x50f200(_0x109262);},'dFowV':_0x342c3f(_0x527a87._0x3754ba,_0x527a87._0x3f41a9,_0x527a87._0x404fe3,0x5df)+'er'},_0x1b82a9=await _0x5d344b[_0x364037(0x375,0x32f,0x2fe,0x354)](getUsers),_0x5ab47a=_0x1b82a9[_0x342c3f(0x54c,_0x527a87._0x159329,0x5df,0x585)](_0x35f171=>_0x35f171['id']===_0x4a3f5f);if(_0x5d344b[_0x342c3f(_0x527a87._0x150fc6,_0x527a87._0x536f61,_0x527a87._0x11f0d5,0x54f)](_0x5ab47a,-(0x18e9+0x1*-0x265+-0x33*0x71))){const _0x1017c4={};return _0x1017c4[_0x342c3f(_0x527a87._0x1fe405,_0x527a87._0x44c52e,0x59c,0x5ee)]=_0x4a3f5f,logger[_0x342c3f(0x50f,0x523,0x56a,0x55c)](_0x5d344b[_0x342c3f(0x594,0x58f,0x57b,0x55a)],_0x1017c4),![];}const _0x159c2e=_0x1b82a9[_0x5ab47a];if(_0x5d344b[_0x364037(0x344,_0x527a87._0x4188a4,_0x527a87._0x460651,0x389)](_0x159c2e[_0x364037(_0x527a87._0x18caa9,0x351,0x309,0x38a)+_0x342c3f(_0x527a87._0x8ab3fd,0x549,0x557,_0x527a87._0x2a9d3f)],!![])){if(_0x5d344b[_0x364037(_0x527a87._0x44428d,_0x527a87._0x44b86e,_0x527a87._0x2a491b,_0x527a87._0x34e87c)](_0x5d344b[_0x364037(_0x527a87._0x390125,_0x527a87._0x274ca2,0x319,_0x527a87._0x81a498)],_0x5d344b[_0x364037(_0x527a87._0x20654e,0x302,0x2d9,0x2df)])){const _0x1cdbd6=_0x1b82a9[_0x364037(0x2a1,_0x527a87._0x2e9a22,_0x527a87._0x5e2e7f,0x2c7)](_0x245c99=>_0x245c99['isServerAd'+'min']===!![])['length'];if(_0x5d344b[_0x364037(0x338,0x34b,0x2fe,_0x527a87._0xe9d806)](_0x1cdbd6,0x94b+0x255+-0xb9f)){if(_0x5d344b[_0x364037(_0x527a87._0x5e7fee,0x2b8,_0x527a87._0x3fb89e,_0x527a87._0x1fc912)](_0x5d344b[_0x364037(_0x527a87._0x242ff1,0x31d,_0x527a87._0x115b48,0x2cc)],_0x5d344b[_0x364037(_0x527a87._0x44b86e,_0x527a87._0x4994bc,_0x527a87._0x35ec25,_0x527a87._0x2e7ec2)]))throw new Error(_0x342c3f(_0x527a87._0x15d837,0x527,0x542,_0x527a87._0x52cc37)+_0x364037(_0x527a87._0x593a81,0x301,0x320,0x31e)+'st\x20Server\x20'+_0x364037(0x31a,0x2bf,0x2e4,_0x527a87._0xf951e3));else{const _0x923f51=_0x46a440[_0x342c3f(0x4fe,_0x527a87._0x344ce9,_0x527a87._0x438509,0x554)](_0x5629e8=>_0x5629e8[_0x364037(0x366,0x317,0x2e6,0x313)]===_0x3523de[_0x342c3f(0x583,0x591,0x5e4,0x5a4)]);if(_0x923f51)throw new _0x1e742d(_0x364037(_0x527a87._0x31c536,_0x527a87._0x1df83d,0x2ae,0x2a6)+_0xd2fd3d[_0x364037(0x322,0x317,_0x527a87._0x2e9a22,0x365)]+(_0x342c3f(_0x527a87._0x534b49,_0x527a87._0x12339d,_0x527a87._0x8db74,0x5ec)+'exists'));}}}else throw new _0xb427a9(_0x5d344b[_0x364037(0x322,_0x527a87._0x249590,_0x527a87._0xf43832,_0x527a87._0x394a04)]);}_0x1b82a9['splice'](_0x5ab47a,0xae5+0xb2d+0x3*-0x75b);function _0x342c3f(_0x23b116,_0x57098e,_0x5aeb31,_0x355920){return _0x9aa7a(_0x355920-_0x185580._0x2a6c88,_0x57098e-_0x185580._0x261d9f,_0x5aeb31-0x4e,_0x57098e);}await _0x5d344b[_0x364037(_0x527a87._0x71a5d,_0x527a87._0x39f3b1,_0x527a87._0x269353,_0x527a87._0x3653a0)](saveUsers,_0x1b82a9);const _0x4af54b={};return _0x4af54b[_0x364037(_0x527a87._0x1b2445,_0x527a87._0x49ad39,0x347,_0x527a87._0x1af85d)]=_0x159c2e['id'],_0x4af54b[_0x342c3f(0x576,0x59e,_0x527a87._0x465b51,0x5a4)]=_0x159c2e[_0x364037(0x2c2,_0x527a87._0x4e0bf5,_0x527a87._0x3653a0,_0x527a87._0x34ce2c)],logger[_0x364037(0x360,_0x527a87._0x9834f6,_0x527a87._0x403a5e,_0x527a87._0x38ede5)](_0x5d344b['dFowV'],_0x4af54b),!![];}export async function setUserPassword(_0x3d19db,_0x4b9b25){const _0x165ff4={_0x1fe848:0x41c,_0x53f387:0x483,_0x2d82dd:0x412,_0x4c8df3:0x4a9,_0x583e3e:0x47c,_0x3464fc:0x44f,_0x553a59:0x469,_0x212555:0x445,_0x10353c:0x4a1,_0x26ab07:0x4cd,_0x595d0e:0x4d8,_0x5a3e8a:0x440,_0x220f4f:0x430,_0x25d1e1:0x47a,_0x1d23b3:0x42b,_0x55f7dc:0x4b5,_0x27ec2b:0x507,_0x42f680:0x4e1,_0xf38487:0x496,_0x40c839:0x4b7,_0x3fc075:0x4cc,_0x24091e:0x44c,_0x2357f8:0x458,_0x2dddb5:0x478,_0x4aec1d:0x441,_0x4991ce:0x44d,_0x3d7f8a:0x46b,_0x2a5f11:0x53b,_0x30777e:0x541,_0x527670:0x4bb,_0xe14bc8:0x44c,_0x459372:0x4d7,_0x3037f6:0x422,_0x1452a5:0x471,_0x55f345:0x3eb},_0x577469={_0x337380:0x1c2},_0x441f2d={'erVzz':function(_0x18fe87,_0xe841f7){return _0x18fe87===_0xe841f7;},'hSUCu':'UTPsQ','LIbUB':function(_0x565fb2,_0x551791){return _0x565fb2(_0x551791);},'zONvI':_0x29309c(_0x165ff4._0x1fe848,0x44f,_0x165ff4._0x53f387,0x48e)+'rd\x20for\x20use'+'r'},_0x2f10f7=await getUsers(),_0x4bfe06=_0x2f10f7[_0x29309c(_0x165ff4._0x2d82dd,0x45a,0x40e,_0x165ff4._0x4c8df3)](_0x5c3c9b=>_0x5c3c9b['id']===_0x3d19db);function _0x29309c(_0x198478,_0x2a8b6d,_0x2b441e,_0x4d129d){return _0x46b53c(_0x198478-0x1e3,_0x2a8b6d-_0x577469._0x337380,_0x2a8b6d-0x338,_0x198478);}if(_0x441f2d[_0x29309c(_0x165ff4._0x583e3e,0x43b,0x487,0x42b)](_0x4bfe06,-(0x128c+-0xac1+0x2*-0x3e5))){if(_0x441f2d[_0xeaae51(0x4d6,0x490,0x491,_0x165ff4._0x3464fc)](_0x441f2d[_0x29309c(0x4b4,_0x165ff4._0x553a59,0x468,_0x165ff4._0x212555)],_0x29309c(_0x165ff4._0x10353c,0x476,0x4c0,0x461)))return _0x37b2d9=[],_0x427ab2=null,_0x2914a2[_0xeaae51(_0x165ff4._0x26ab07,_0x165ff4._0x595d0e,0x4ef,0x49e)](_0x29309c(_0x165ff4._0x5a3e8a,0x41d,0x45c,_0x165ff4._0x220f4f)+'\x20not\x20found'+_0x29309c(_0x165ff4._0x25d1e1,0x46b,_0x165ff4._0x1d23b3,_0x165ff4._0x55f7dc)+_0xeaae51(0x4d3,_0x165ff4._0x27ec2b,_0x165ff4._0x42f680,0x52e)+_0xeaae51(0x4d4,_0x165ff4._0xf38487,_0x165ff4._0x40c839,0x4e4)),_0x1431f1;else throw new Error(_0xeaae51(0x47a,0x470,0x481,0x48a)+'ound:\x20'+_0x3d19db);}const _0x51be9e=_0x2f10f7[_0x4bfe06];_0x51be9e[_0x29309c(_0x165ff4._0x3fc075,0x48d,_0x165ff4._0x24091e,0x476)+_0x29309c(0x43e,_0x165ff4._0x583e3e,_0x165ff4._0x2357f8,0x4d5)]=await _0x441f2d['LIbUB'](hashPassword,_0x4b9b25),_0x51be9e[_0x29309c(_0x165ff4._0x2dddb5,0x45c,0x470,_0x165ff4._0x4aec1d)]=new Date()[_0x29309c(0x49a,_0x165ff4._0x4991ce,0x49f,_0x165ff4._0x3d7f8a)+'g'](),await _0x441f2d[_0xeaae51(_0x165ff4._0x2a5f11,0x4ed,0x4c5,_0x165ff4._0x30777e)](saveUsers,_0x2f10f7);const _0x41e7f1={};function _0xeaae51(_0x3887cc,_0x17db4b,_0x616a0f,_0x2b9f3a){return _0x9aa7a(_0x17db4b-0x21c,_0x17db4b-0x157,_0x616a0f-0xdf,_0x616a0f);}_0x41e7f1['userId']=_0x51be9e['id'],_0x41e7f1['username']=_0x51be9e[_0x29309c(0x4b1,0x479,_0x165ff4._0x527670,_0x165ff4._0xe14bc8)],logger[_0xeaae51(_0x165ff4._0x459372,0x4d8,0x4dc,0x4f4)](_0x441f2d[_0x29309c(0x3f4,_0x165ff4._0x3037f6,_0x165ff4._0x1452a5,_0x165ff4._0x55f345)],_0x41e7f1);const {password_hash:_0x5c9011,..._0xf2339a}=_0x51be9e;return _0xf2339a;}
|
|
1
|
+
(function(_0xdcc44b,_0xaad1ad){const _0x1fad80={_0x341304:0xf5,_0x4fc042:0x13a,_0x4e0888:0x4c5,_0x1b0bd7:0x50b,_0x6d3170:0x135,_0x1ce699:0x465,_0x5383a7:0x46b,_0x5ebc08:0x44c,_0x9edeae:0x126,_0x46532e:0x470,_0x149cfb:0x178,_0x2b691f:0x44a,_0x212085:0x163,_0x336ef3:0x151,_0x206210:0x4c0,_0x25f247:0x47f,_0x26c682:0x489},_0x43678e={_0x4949ab:0x25b},_0x3f30c1={_0x347f9d:0x36d},_0x5a5b06=_0xdcc44b();function _0x5d73b2(_0x1626a8,_0x559b7d,_0x382d1f,_0x1bb293){return _0x1e26(_0x559b7d- -_0x3f30c1._0x347f9d,_0x1bb293);}function _0x578ef9(_0x155280,_0x29e02f,_0x26a63d,_0x1b78ad){return _0x1e26(_0x29e02f-_0x43678e._0x4949ab,_0x26a63d);}while(!![]){try{const _0x31e4ab=-parseInt(_0x5d73b2(-0xeb,-_0x1fad80._0x341304,-_0x1fad80._0x4fc042,-0xc4))/(0x430*-0x1+0x1*0x19ee+-0x15bd)*(parseInt(_0x578ef9(0x4f8,_0x1fad80._0x4e0888,0x492,_0x1fad80._0x1b0bd7))/(-0x2573*-0x1+-0x25*0x1f+-0x20f6))+parseInt(_0x5d73b2(-_0x1fad80._0x6d3170,-_0x1fad80._0x6d3170,-0x131,-0x117))/(-0x4d1*0x6+0x5c*0x59+0x313*-0x1)+parseInt(_0x578ef9(_0x1fad80._0x1ce699,_0x1fad80._0x5383a7,_0x1fad80._0x5ebc08,0x48e))/(-0x2376+-0x1553+0x38cd)*(-parseInt(_0x5d73b2(-0x117,-0x131,-0xf3,-_0x1fad80._0x9edeae))/(0x21a8+0x7f*0x3b+-0x6*0xa7c))+-parseInt(_0x578ef9(0x49a,0x49b,0x46c,_0x1fad80._0x46532e))/(-0x1*-0xde7+-0x1*0x28c+-0xb55)*(-parseInt(_0x578ef9(0x494,0x4da,0x4b7,0x491))/(-0x4e*0x52+0xb87*0x3+-0x992))+-parseInt(_0x5d73b2(-_0x1fad80._0x149cfb,-0x174,-0x1c1,-0x133))/(0x1be0+0x6f3*-0x5+-0x1*-0x6e7)+parseInt(_0x578ef9(_0x1fad80._0x2b691f,0x475,0x447,0x47b))/(-0x1695+0x881*0x2+0x59c)*(-parseInt(_0x5d73b2(-0x183,-_0x1fad80._0x212085,-_0x1fad80._0x336ef3,-0x13a))/(-0x2437+0xecc*0x1+-0x1*-0x1575))+parseInt(_0x578ef9(_0x1fad80._0x206210,_0x1fad80._0x25f247,0x46a,_0x1fad80._0x26c682))/(-0x127c+-0x1343+0x25ca*0x1);if(_0x31e4ab===_0xaad1ad)break;else _0x5a5b06['push'](_0x5a5b06['shift']());}catch(_0x449d9c){_0x5a5b06['push'](_0x5a5b06['shift']());}}}(_0x2f18,0x8a873+-0x4cd63+0x1c7bd));import{promises as _0x5ef0da}from'fs';import _0x48e5fa from'path';import _0x32e721 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=_0x48e5fa['dirname'](__filename),USERS_FILE=_0x48e5fa[_0x2667f3(0x4ad,0x4a5,0x47c,0x4b6)](DATA_DIR,_0x2667f3(0x409,0x435,0x3f2,0x408)),SALT_ROUNDS=0x809+-0x22bb+-0xd5e*-0x2;function _0x2f18(){const _0xc2702a=['Aw5MBW','tg9HzgvKihvZzq','sw52ywXPzcbWyq','uuTAAvO','swrdywO','ChjLzMvYzw5Jzq','vfPiu20','CMfUzg9T','BenKrfC','u3LxEeC','vxnLCNmGzMLSzq','t1zTrMi','C3rYAw5NAwz5','v0f4Auu','qKXtzg0','seTiCwm','tKngAwi','ruDfvNC','mtu3oti0og1Ps2L0sa','BYbWyxnZD29Yza','vvLZBxG','DMXnwuC','mZy1nZeWD2PothLl','zxrLihrOzsbSyq','C3n3B3jKigzVCG','vxnLCM5HBwuGjW','nZq1oda2rgvHDNDS','BNrPy2f0zwqGCW','zgLYBMfTzq','DxnLCL8','vxbKyxrLzcb1CW','EMfjreG','A0DMsfC','BgvUz3rO','BhLvs1K','u2v0ihbHC3n3BW','uMrYuhC','BwTKAxi','vxnLCIbOyxmGBG','vxnLCIbHDxrOzq','twLZC2LUzYbYzq','zxHPC3rZ','C3qGu2vYDMvYia','Eg9Lrhy','zw1HAwW','y29Kzq','qNzxDNC','Ag1Wyxu','AwXyEKK','A1blyMG','q0fOChi','B3zLihrOzsbSyq','DxnLCNm','ig5VDcbMB3vUza','z2DwuM0','shvxvxu','vgDnqxO','rMfPBgvKihrVia','BMfTzq','CxvPCMvKigzPzq','B3vUzdOG','ihvZzxi','zMLUzeLUzgv4','CMqGzM9YihvZzq','DxrMltG','vgvwrwS','uLL1vNu','tgPyENK','mJm0ndzHrvPmzKu','vxnLCIbUB3qGzG','B3vUzcbMB3iGza','C3nOx3vZzxjUyq','DxnLCKLK','Dg9ju09tDhjPBG','Dg9mB3DLCKnHCW','yxnO','EunnEgO','D3nSAKO','C3bSAwnL','zenfANG','z0vywfm','BvnMuwK','ndDxs3j1s1K','zxjYB3i','C3vIC3rY','Duf2CKW','BwLU','rNnxr1m','DxbnENK','mZvLC051t0i','DwLMtvi','lcbUyw1L','ywHOq2m','ru5pru5u','AM9PBG','jYbHBhjLywr5ia','DxnLCIbSAxn0','zergEKS','BvPjzLi','zMLwwM4','vKDlyMq','CMvJDxjZAxzL','ChvZAa','rgvSzxrLzcb1CW','q2fUBM90igrLBa','y3DMrKS','EeLvy3e','y291BNq','C2f2zsb1C2vYCW','rMrTwwK','y29TCgfYzq','DYb1C2vY','EMvKigvTChr5ia','DxnLCM5HBwu','mJyYndq4oe9mzxDtrq','DxnLCNmUANnVBG','wM1rEfC','CgfZC3DVCMrFAa','BgrZoIb1C2vYBG','C3rHDa','EgXpyMm','ywXPzgf0Aw9U','yxzHDgfY','Axntzxj2zxjbza','z2zJvKO','AgfZAa','zgvIDwC','thHQA3m','BxLuyve','zMLUza','u2f2zwqGDxnLCG','mteWzursAKLI','txLstuC','yvDsDNm','Be1UEwy','qwrTAw4','BxrPBwvnCW','mJrptejdDeS','q2fUBM90ihjLBq','sLDbsKO','zMLSDgvY','Bg9Hzcb1C2vYCW','Dg9tDhjPBMC','B1HNDLO','A2v5CW','CgTbDKy','A3rUvKO','ndmXmZqZCKXbwK1V','D3jPDgvgAwXL','wNbkEhK','CgfYC2u','CgfZC3DVCMq','wNDQyNq','zwXLDgLVBG','Bwjlzwu','AxzyyuW','uu9dtvu','mte3mZe3otDxyvPovuy','BM93'];_0x2f18=function(){return _0xc2702a;};return _0x2f18();}let usersCache=null;function _0x121f55(_0x3e3700,_0x204167,_0xb96d79,_0x45f72a){return _0x1e26(_0xb96d79- -0x24a,_0x3e3700);}let usersCacheMtime=null;export async function loadUsers(){const _0x2f5744={_0x16417e:0x51c,_0x4edc0c:0x540,_0x4e5bbe:0x4d1,_0xb6888b:0x7d,_0x1c9714:0x30,_0x2c150e:0x5f,_0x5b73d1:0x524,_0x240d60:0x557,_0x156bb0:0x56b,_0x30e903:0x33,_0x12d6b5:0x1,_0x598732:0x81,_0x3103b2:0x8f,_0x5a23e8:0x532,_0x13c3f5:0x51a,_0x12b16b:0x4b,_0x3a49d5:0x3b,_0x1ff979:0x4d7,_0x391585:0x52d,_0x308e73:0x502,_0x1853f4:0x40,_0x5bd14f:0xd,_0x49f644:0x31,_0x5e770e:0x508,_0x2e494e:0x4fd,_0x1f6154:0x540,_0x331224:0x52,_0x57b354:0x7a,_0x5469a9:0xac,_0x2ecb52:0xaa,_0x3279a5:0x27,_0x2cf3fe:0x4,_0x3b098b:0x23,_0x2e0b09:0x44,_0x1a29d4:0x7a,_0xee342f:0xb,_0x25ab07:0x7e,_0x221273:0x544,_0x205a39:0x4ff,_0x3d511b:0x550,_0x1ba718:0x1b,_0x253240:0x8,_0x2f7420:0x83,_0x444c68:0x582,_0x4c5e32:0x53f,_0x691537:0x562,_0x5a64bd:0x83,_0x222a84:0x5e,_0x48fbf8:0x3d,_0x385b91:0x4cb,_0x1a6f25:0x4e0,_0x560e2d:0x505,_0x58ea81:0x520,_0x38acc9:0x529,_0x57db96:0x565,_0xc7f99e:0x500,_0x24e7b2:0x4e9,_0x4a9795:0x4fe,_0xf95694:0x526,_0x2a0cab:0x53b,_0x475e59:0x22,_0x3cd883:0x1d,_0x410d44:0x1c,_0x1a52e2:0x4f9,_0xb8b675:0x513,_0x47fe6d:0x4bf,_0x5a8597:0x52a,_0x1a90bc:0x518,_0x683cfc:0x4dd,_0x2cf93e:0x513,_0x9707ed:0x4da,_0x3b8c0d:0x4bd,_0x3d2a02:0x569,_0x50a15f:0x4f2,_0x3953f8:0xe2,_0x2050ce:0x6f,_0x2bf799:0x97,_0x525b6d:0xd9},_0x1e2eef={_0x3251f5:0x1e7,_0x4a9625:0x64},_0x433ffb={_0x2257d9:0xca,_0x4c335c:0xe3},_0x515f83={};_0x515f83[_0x3471b0(0x15,-0xe,0x4a,0x13)]=function(_0x5d6a9c,_0x50231a){return _0x5d6a9c<=_0x50231a;};function _0x3471b0(_0x475ddc,_0x17841d,_0x4fe3ce,_0x109641){return _0x121f55(_0x109641,_0x17841d-_0x433ffb._0x2257d9,_0x475ddc-0x6e,_0x109641-_0x433ffb._0x4c335c);}_0x515f83[_0x598c79(_0x2f5744._0x16417e,_0x2f5744._0x4edc0c,0x516,_0x2f5744._0x4e5bbe)]='Cannot\x20rem'+_0x3471b0(_0x2f5744._0xb6888b,_0x2f5744._0x1c9714,0x43,_0x2f5744._0x2c150e)+_0x598c79(_0x2f5744._0x5b73d1,_0x2f5744._0x240d60,0x51c,_0x2f5744._0x156bb0)+_0x3471b0(0x32,_0x2f5744._0x30e903,-0xa,-_0x2f5744._0x12d6b5),_0x515f83[_0x3471b0(_0x2f5744._0x598732,_0x2f5744._0x3103b2,0x8e,0xbe)]=_0x598c79(0x533,0x4ee,_0x2f5744._0x5a23e8,0x558),_0x515f83[_0x598c79(_0x2f5744._0x13c3f5,0x4d2,0x506,0x51e)]=_0x3471b0(_0x2f5744._0x12b16b,0x2a,0xe,_0x2f5744._0x3a49d5)+'rs\x20from\x20fi'+'le',_0x515f83[_0x598c79(_0x2f5744._0x1ff979,_0x2f5744._0x391585,_0x2f5744._0x308e73,0x52b)]=_0x3471b0(_0x2f5744._0x1853f4,-_0x2f5744._0x5bd14f,_0x2f5744._0x49f644,0x18),_0x515f83[_0x598c79(_0x2f5744._0x5e770e,0x4dc,_0x2f5744._0x2e494e,_0x2f5744._0x1f6154)]='WZfGm',_0x515f83[_0x3471b0(_0x2f5744._0x331224,_0x2f5744._0x57b354,0x1c,0x52)]=function(_0x3b91da,_0x94d767){return _0x3b91da===_0x94d767;},_0x515f83[_0x3471b0(0x7a,_0x2f5744._0x5469a9,0x3c,_0x2f5744._0x2ecb52)]='ENOENT',_0x515f83[_0x3471b0(_0x2f5744._0x3279a5,_0x2f5744._0x2cf3fe,-_0x2f5744._0x3b098b,_0x2f5744._0x2e0b09)]=_0x3471b0(0x54,_0x2f5744._0x1a29d4,_0x2f5744._0xee342f,_0x2f5744._0x25ab07)+_0x598c79(_0x2f5744._0x221273,_0x2f5744._0x205a39,0x527,_0x2f5744._0x3d511b)+',\x20initiali'+_0x3471b0(_0x2f5744._0x1ba718,-_0x2f5744._0x253240,-0x2,0x1b)+_0x3471b0(0xaa,0xce,_0x2f5744._0x2f7420,0x92);function _0x598c79(_0x14f73d,_0x4b84a5,_0x2694e5,_0x445f55){return _0x121f55(_0x14f73d,_0x4b84a5-_0x1e2eef._0x3251f5,_0x2694e5-0x516,_0x445f55-_0x1e2eef._0x4a9625);}_0x515f83[_0x598c79(0x559,_0x2f5744._0x444c68,_0x2f5744._0x4c5e32,_0x2f5744._0x691537)]=_0x3471b0(_0x2f5744._0x5a64bd,_0x2f5744._0x222a84,0x39,_0x2f5744._0x48fbf8)+_0x598c79(0x51f,_0x2f5744._0x385b91,_0x2f5744._0x1a6f25,_0x2f5744._0x560e2d);const _0x1e58ca=_0x515f83;try{const _0x40f82e=await _0x5ef0da['readFile'](USERS_FILE,_0x1e58ca[_0x598c79(0x501,_0x2f5744._0x58ea81,_0x2f5744._0x38acc9,_0x2f5744._0x57db96)]),_0x59b1f8=JSON[_0x598c79(_0x2f5744._0xc7f99e,0x4c3,_0x2f5744._0x24e7b2,0x4fe)](_0x40f82e);usersCache=_0x59b1f8[_0x598c79(_0x2f5744._0x4a9795,0x4e8,_0x2f5744._0xf95694,_0x2f5744._0x2a0cab)]||[];const _0x16dc0a=await _0x5ef0da[_0x3471b0(_0x2f5744._0x475e59,0x44,0x7,_0x2f5744._0x3cd883)](USERS_FILE);usersCacheMtime=_0x16dc0a[_0x3471b0(0x33,0x64,0x67,-_0x2f5744._0x410d44)];const _0xc36f5b={};return _0xc36f5b['count']=usersCache[_0x598c79(0x55b,_0x2f5744._0x1a52e2,_0x2f5744._0xb8b675,0x54c)],logger[_0x598c79(0x4b2,_0x2f5744._0x47fe6d,_0x2f5744._0x4e5bbe,0x4b3)](_0x1e58ca[_0x3471b0(0x5e,0x5c,0x58,0x95)],_0xc36f5b),usersCache;}catch(_0x1cca35){if(_0x1e58ca[_0x598c79(0x511,0x4cd,0x502,0x52e)]===_0x1e58ca['OVmFb']){const _0x4dbfeb=_0x37c9a3[_0x598c79(_0x2f5744._0x5a8597,0x510,0x4df,0x4f3)](_0x329211=>_0x329211[_0x598c79(0x4c0,0x4d5,0x4ce,0x49a)+_0x3471b0(0xa0,0xbd,0x6c,0x98)]===!![])[_0x598c79(_0x2f5744._0x1a90bc,_0x2f5744._0x683cfc,_0x2f5744._0x2cf93e,_0x2f5744._0x9707ed)];if(_0x1e58ca[_0x598c79(_0x2f5744._0x308e73,0x4eb,_0x2f5744._0x3b8c0d,0x494)](_0x4dbfeb,0xc35*0x2+0x35*0x1c+-0x1e35))throw new _0x3fa439(_0x1e58ca['RdrPw']);}else{if(_0x1e58ca[_0x598c79(0x4f0,0x4b5,0x4fa,_0x2f5744._0xc7f99e)](_0x1cca35['code'],_0x1e58ca[_0x598c79(_0x2f5744._0x3d2a02,0x532,0x522,0x533)]))return usersCache=[],usersCacheMtime=null,logger[_0x598c79(0x500,0x4b6,_0x2f5744._0x50a15f,_0x2f5744._0x58ea81)](_0x1e58ca['gfcVJ']),usersCache;logger[_0x3471b0(0x9d,_0x2f5744._0x3953f8,_0x2f5744._0x2050ce,0xdc)](_0x1e58ca[_0x3471b0(_0x2f5744._0x2bf799,0xbc,_0x2f5744._0x525b6d,0x6a)],_0x1cca35);throw _0x1cca35;}}}export async function saveUsers(_0x52956e){const _0x5b44f1={_0x2a48e3:0x169,_0xa044ca:0xf8,_0x4e9630:0x108,_0x58a2d1:0x13f,_0x1be6d1:0x103,_0x37d457:0xd4,_0x4ebb79:0x17e,_0x28d9ba:0xfa,_0x654583:0x130,_0x3a7f77:0x140,_0x5a4ac7:0x138,_0x5b511e:0xfc,_0x5af519:0x149,_0x566470:0x18f,_0x4d957c:0x1d6,_0x2e8edb:0xc9,_0x8b88ef:0x167,_0x3c80d5:0xd0,_0x415648:0xe5,_0x572259:0xd9,_0x45ad8c:0x141,_0x7692ba:0x15e,_0x356d86:0x17d,_0x4c5fdc:0x1cf,_0x2081e1:0x14e,_0x229af2:0x1b0,_0x3cbcb5:0x1b2,_0x20e37c:0x112,_0x4f8cc6:0x1cc,_0x293fd9:0x1df,_0x58597a:0x10b,_0x57e790:0x131,_0x10bc08:0x1c5,_0xc16e03:0x1b0,_0x1374e4:0x154,_0x23b47b:0x15e,_0x4c4203:0x198,_0x282a80:0x122,_0x3b17ac:0x149,_0xdb421e:0x11c,_0x3318ad:0x18f,_0x499b7c:0x184,_0x26d7e3:0x16c,_0x68b14:0x120,_0x41e64d:0x105,_0x8394ba:0x104,_0xd70034:0x163,_0x55abba:0x170},_0x204572={_0x543844:0x27d},_0x305eef={_0x288a28:0x144,_0x5d493c:0x119};function _0x98335f(_0x107a38,_0x52eb3b,_0x5a03a5,_0x1511d2){return _0x121f55(_0x1511d2,_0x52eb3b-_0x305eef._0x288a28,_0x52eb3b- -_0x305eef._0x5d493c,_0x1511d2-0x1ec);}function _0x56da45(_0x1f7c87,_0x518229,_0x5119fe,_0x23f633){return _0x2667f3(_0x1f7c87-0xea,_0x518229-0x3c,_0x518229- -_0x204572._0x543844,_0x23f633);}const _0x5c8e4e={};_0x5c8e4e[_0x56da45(0x1a0,0x181,0x1c4,_0x5b44f1._0x2a48e3)]=_0x98335f(-0x123,-_0x5b44f1._0xa044ca,-_0x5b44f1._0x4e9630,-_0x5b44f1._0x58a2d1)+_0x98335f(-_0x5b44f1._0x1be6d1,-0xf7,-0xb7,-_0x5b44f1._0x37d457)+_0x98335f(-_0x5b44f1._0x4ebb79,-0x143,-0x18a,-0x14e),_0x5c8e4e[_0x98335f(-0xaa,-_0x5b44f1._0x28d9ba,-_0x5b44f1._0x654583,-0xb7)]=function(_0x5bbaa6,_0xba652e){return _0x5bbaa6===_0xba652e;},_0x5c8e4e[_0x98335f(-0x123,-0x140,-_0x5b44f1._0x3a7f77,-_0x5b44f1._0x5a4ac7)]=_0x98335f(-0xf2,-_0x5b44f1._0x5b511e,-_0x5b44f1._0x5af519,-0xfd),_0x5c8e4e[_0x56da45(0x1fb,0x1cc,_0x5b44f1._0x566470,_0x5b44f1._0x4d957c)]='utf-8';const _0x2d34ca=_0x5c8e4e;try{if(_0x2d34ca[_0x98335f(-_0x5b44f1._0x2e8edb,-_0x5b44f1._0x28d9ba,-0x129,-0xd0)](_0x2d34ca[_0x56da45(0x1bf,0x19e,_0x5b44f1._0x8b88ef,0x16c)],_0x98335f(-_0x5b44f1._0x3c80d5,-_0x5b44f1._0x415648,-0x120,-0x112))){const _0x48629b={};return _0x48629b[_0x98335f(-0x12d,-0xf5,-_0x5b44f1._0x572259,-0x116)]=_0x4bd34b,_0x40fc85[_0x98335f(-_0x5b44f1._0x45ad8c,-_0x5b44f1._0x7692ba,-0x138,-_0x5b44f1._0x356d86)](_0x2d34ca[_0x56da45(_0x5b44f1._0x4c5fdc,0x181,_0x5b44f1._0x2081e1,_0x5b44f1._0x229af2)],_0x48629b),![];}else{const _0xdbcb57=_0x48e5fa[_0x56da45(0x1dc,0x1bd,_0x5b44f1._0x3cbcb5,0x18e)](USERS_FILE),_0x35ff8d={};_0x35ff8d[_0x56da45(0x19f,_0x5b44f1._0x8b88ef,0x159,0x14c)]=!![],await _0x5ef0da[_0x98335f(-0xd6,-0x118,-_0x5b44f1._0x20e37c,-0x144)](_0xdbcb57,_0x35ff8d);const _0x11db7f={};_0x11db7f[_0x56da45(0x1c5,0x1d5,_0x5b44f1._0x4f8cc6,0x1b5)]=_0x52956e,await _0x5ef0da[_0x56da45(0x14d,0x196,_0x5b44f1._0x293fd9,0x1b9)](USERS_FILE,JSON[_0x98335f(-_0x5b44f1._0x58597a,-_0x5b44f1._0x57e790,-0x141,-0x127)](_0x11db7f,null,-0xf*-0x21e+-0x9*0x91+0x1aa7*-0x1),_0x2d34ca[_0x56da45(_0x5b44f1._0x10bc08,0x1cc,_0x5b44f1._0xc16e03,0x1c4)]);const _0x53d9b4=await _0x5ef0da[_0x98335f(-0x139,-0x165,-0x142,-0x185)](USERS_FILE);usersCache=_0x52956e,usersCacheMtime=_0x53d9b4[_0x98335f(-0x10e,-_0x5b44f1._0x1374e4,-_0x5b44f1._0x23b47b,-_0x5b44f1._0x4c4203)];const _0x525815={};_0x525815[_0x98335f(-_0x5b44f1._0x282a80,-0x171,-0x131,-_0x5b44f1._0x5a4ac7)]=_0x52956e[_0x98335f(-_0x5b44f1._0x3b17ac,-_0x5b44f1._0xdb421e,-0xfd,-0x117)],logger['info'](_0x56da45(_0x5b44f1._0x3318ad,_0x5b44f1._0x499b7c,0x1ba,_0x5b44f1._0x26d7e3)+'s\x20to\x20file',_0x525815);}}catch(_0x27dde9){logger[_0x98335f(-_0x5b44f1._0x68b14,-0xea,-_0x5b44f1._0x41e64d,-0x135)](_0x98335f(-0xee,-_0x5b44f1._0x8394ba,-_0x5b44f1._0x4e9630,-0x135)+_0x98335f(-_0x5b44f1._0xd70034,-_0x5b44f1._0x55abba,-0x16b,-0x12d),_0x27dde9);throw _0x27dde9;}}export async function getUsers(){const _0x39cc94={_0x5b4532:0x2e5,_0x487649:0x323,_0x23a8c3:0x32f,_0x4fa204:0x1bb,_0x583115:0x1c6,_0x2613a8:0x27a,_0x259370:0x2a3,_0x1618e6:0x1d5,_0x5a562c:0x25d,_0x16c786:0x26d,_0x5357b0:0x21a,_0x14ed3d:0x260,_0xc79137:0x206,_0x20c5b3:0x20b,_0xc5a637:0x359,_0x399016:0x312,_0x33774c:0x2ba,_0x30f2be:0x2a8,_0x11926c:0x2b0,_0x34b625:0x293,_0x346d93:0x334,_0x2eb685:0x347,_0x55b989:0x2cb,_0x18f8d5:0x306,_0x28ee5e:0x2ff,_0x3d3ab6:0x32f,_0x57c687:0x270,_0x3c7b94:0x2a1,_0x592f49:0x316,_0x17c171:0x32c,_0x11ff6e:0x25b,_0x5b6fad:0x295,_0x1712fd:0x241,_0xca4626:0x2ad,_0x422a35:0x234,_0x2dad20:0x251},_0xae7b={_0x2833f0:0xe9},_0xa05efe={_0x323e61:0x302};function _0x4b9d35(_0x326eac,_0x1cf687,_0x2e6972,_0x59ad89){return _0x121f55(_0x59ad89,_0x1cf687-0x64,_0x326eac-_0xa05efe._0x323e61,_0x59ad89-0x26);}const _0x2002cd={'uAvrL':function(_0x2d70db,_0x45a8d1){return _0x2d70db===_0x45a8d1;},'RYuVu':function(_0x1974ed,_0x3cf0a0){return _0x1974ed<=_0x3cf0a0;},'TgMAz':'Cannot\x20rem'+'ove\x20the\x20la'+_0x4b9d35(0x308,_0x39cc94._0x5b4532,0x2c6,_0x39cc94._0x487649)+'Admin','yCMxj':function(_0x28e010,_0x3dba1f){return _0x28e010!==_0x3dba1f;},'FsWGS':function(_0x13bf65,_0x35da1c){return _0x13bf65!==_0x35da1c;},'HzfLJ':function(_0x11a9aa,_0x583ff0){return _0x11a9aa!==_0x583ff0;},'QKZiZ':_0x4b9d35(0x33b,_0x39cc94._0x23a8c3,0x304,0x38a),'TZHSm':function(_0x224a44){return _0x224a44();}};function _0x53e683(_0x2b0f2a,_0x3f173e,_0x289a43,_0x453f02){return _0x2667f3(_0x2b0f2a-_0xae7b._0x2833f0,_0x3f173e-0x3c,_0x2b0f2a- -0x1f0,_0x289a43);}try{const _0x3621df=await _0x5ef0da[_0x53e683(0x206,_0x39cc94._0x4fa204,_0x39cc94._0x583115,0x208)](USERS_FILE);if(!usersCache||_0x2002cd[_0x53e683(_0x39cc94._0x2613a8,_0x39cc94._0x259370,0x25d,0x269)](_0x3621df[_0x53e683(0x217,_0x39cc94._0x1618e6,0x24f,_0x39cc94._0x5a562c)],usersCacheMtime)){if(_0x2002cd[_0x53e683(0x285,0x26f,_0x39cc94._0x16c786,0x2bd)](_0x53e683(_0x39cc94._0x5357b0,_0x39cc94._0x14ed3d,_0x39cc94._0xc79137,_0x39cc94._0x20c5b3),'nfKpc'))return await loadUsers();else{if(_0x2002cd[_0x4b9d35(0x333,_0x39cc94._0xc5a637,0x2f7,_0x39cc94._0x399016)](_0x440c6b[_0x4b9d35(_0x39cc94._0x33774c,0x28e,_0x39cc94._0x30f2be,_0x39cc94._0x11926c)+_0x53e683(0x284,0x285,0x282,_0x39cc94._0x34b625)],!![])&&_0x31e685[_0x4b9d35(0x2ba,0x298,_0x39cc94._0x11926c,0x2ed)+_0x4b9d35(_0x39cc94._0x346d93,0x30b,_0x39cc94._0x2eb685,0x335)]!==!![]){const _0x46811a=_0x2dffc5[_0x4b9d35(0x2cb,_0x39cc94._0x55b989,_0x39cc94._0x33774c,_0x39cc94._0x18f8d5)](_0x352f08=>_0x352f08[_0x4b9d35(0x2ba,0x2f6,0x2f8,0x2f7)+_0x53e683(0x284,0x291,0x2b8,0x23e)]===!![])[_0x4b9d35(_0x39cc94._0x28ee5e,0x31e,_0x39cc94._0x3d3ab6,0x2cd)];if(_0x2002cd[_0x53e683(_0x39cc94._0x57c687,0x29c,_0x39cc94._0x3c7b94,0x26f)](_0x46811a,-0x1*0xdf4+0x3*-0x2bf+0x1*0x1632))throw new _0x4e93dc(_0x2002cd[_0x4b9d35(_0x39cc94._0x592f49,0x32e,0x2e1,_0x39cc94._0x17c171)]);}}}}catch(_0x39624a){if(_0x2002cd['HzfLJ'](_0x39624a[_0x53e683(_0x39cc94._0x11ff6e,0x268,_0x39cc94._0x5b6fad,_0x39cc94._0x1712fd)],_0x2002cd[_0x4b9d35(0x2e1,_0x39cc94._0xca4626,0x322,0x2ab)]))throw _0x39624a;if(!usersCache)return await _0x2002cd[_0x53e683(_0x39cc94._0x422a35,0x26d,_0x39cc94._0x2dad20,0x1fb)](loadUsers);}return usersCache;}function _0x1e26(_0x2dffc5,_0xc8b2a2){_0x2dffc5=_0x2dffc5-(0x1af0+0x83+-0x1988);const _0x4e93dc=_0x2f18();let _0x3aad92=_0x4e93dc[_0x2dffc5];if(_0x1e26['mjlvBU']===undefined){var _0x545ca7=function(_0x35acdd){const _0x3fa439='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5d50a9='',_0x401b1c='';for(let _0x42584d=0xd53+-0xe50+-0x17*-0xb,_0x3f7ea8,_0xc43f58,_0x3300ac=-0x203c+-0xd*0x1cf+0x37bf;_0xc43f58=_0x35acdd['charAt'](_0x3300ac++);~_0xc43f58&&(_0x3f7ea8=_0x42584d%(-0x977*0x3+0x115*-0x10+0x2db9)?_0x3f7ea8*(0x1417+0x1072+-0x2449)+_0xc43f58:_0xc43f58,_0x42584d++%(-0x4*-0x95+-0x1049*-0x1+-0x1*0x1299))?_0x5d50a9+=String['fromCharCode'](0x5*0x773+-0x15d3+0x1*-0xe6d&_0x3f7ea8>>(-(0xa53+-0x13bd*0x1+0x96c)*_0x42584d&0x4*-0x892+-0x115+0x2363*0x1)):0x119b*-0x2+0x1*0x105c+0x12da){_0xc43f58=_0x3fa439['indexOf'](_0xc43f58);}for(let _0x2b2700=-0x17a8*-0x1+-0x2701+0xf59,_0x3fd948=_0x5d50a9['length'];_0x2b2700<_0x3fd948;_0x2b2700++){_0x401b1c+='%'+('00'+_0x5d50a9['charCodeAt'](_0x2b2700)['toString'](-0x5a9+0x62b*0x3+-0x2*0x664))['slice'](-(0x5*0x2dc+0xfa6+-0x1df0));}return decodeURIComponent(_0x401b1c);};_0x1e26['jhUmgl']=_0x545ca7,_0x1e26['VzzMjk']={},_0x1e26['mjlvBU']=!![];}const _0x410385=_0x4e93dc[-0x2*0x661+0x2*0xd3c+-0x492*0x3],_0x28da2f=_0x2dffc5+_0x410385,_0x37c9a3=_0x1e26['VzzMjk'][_0x28da2f];return!_0x37c9a3?(_0x3aad92=_0x1e26['jhUmgl'](_0x3aad92),_0x1e26['VzzMjk'][_0x28da2f]=_0x3aad92):_0x3aad92=_0x37c9a3,_0x3aad92;}export async function findUserByUsername(_0x44cb37){const _0x2c6e43={_0x6e1c22:0x4bf,_0x19c057:0x467,_0x4be670:0x481,_0x48c328:0x452,_0x12d68e:0x3e7},_0xebb2a1={_0x48062e:0x14b,_0x2f89eb:0xbb},_0x51663a={_0x56f121:0x1cc},_0x39e216={'BvWvw':function(_0x2eb093){return _0x2eb093();}};function _0x53bd93(_0x279ece,_0x43c123,_0xdf9c36,_0x4fe10d){return _0x121f55(_0x4fe10d,_0x43c123-_0x51663a._0x56f121,_0x43c123-0x469,_0x4fe10d-0x166);}function _0x57186e(_0x5b2e72,_0x132c13,_0x323289,_0x2b3d1e){return _0x2667f3(_0x5b2e72-0x10b,_0x132c13-_0xebb2a1._0x48062e,_0x2b3d1e- -_0xebb2a1._0x2f89eb,_0x323289);}const _0x1f0839=await _0x39e216[_0x53bd93(_0x2c6e43._0x6e1c22,0x473,_0x2c6e43._0x19c057,_0x2c6e43._0x4be670)](getUsers);return _0x1f0839[_0x53bd93(_0x2c6e43._0x48c328,0x427,0x41e,_0x2c6e43._0x12d68e)](_0x28ecb8=>_0x28ecb8[_0x57186e(0x321,0x34b,0x2f7,0x335)]===_0x44cb37)||null;}export async function findUserById(_0x48e3c1){const _0x3ceb43=await getUsers();return _0x3ceb43['find'](_0x5ef7c0=>_0x5ef7c0['id']===_0x48e3c1)||null;}export async function findUserByEmail(_0x1853d2){const _0x5aa024={_0x240c59:0x400},_0x4f4764={_0x2580aa:0x1ea},_0x5e71ff=await getUsers();function _0x187a13(_0x5bc474,_0x1883a6,_0x5245af,_0x47f415){return _0x2667f3(_0x5bc474-0x1d5,_0x1883a6-0x1c0,_0x1883a6- -0xfc,_0x5bc474);}function _0x4406ed(_0x4b333e,_0x14a290,_0xc085,_0x1e4200){return _0x121f55(_0xc085,_0x14a290-_0x4f4764._0x2580aa,_0x14a290-0x3fe,_0x1e4200-0x14);}return _0x5e71ff[_0x4406ed(0x3b5,0x3bc,0x3f5,_0x5aa024._0x240c59)](_0xf3be53=>_0xf3be53[_0x187a13(0x36c,0x34e,0x394,0x30a)]?.[_0x4406ed(0x461,0x424,0x441,0x460)+'e']()===_0x1853d2?.[_0x4406ed(0x414,0x424,0x42e,0x447)+'e']())||null;}export async function hashPassword(_0x2d106c){const _0x43967f={_0x2e93ed:0x1e7,_0x2f1803:0x22c},_0x54fab8={_0x4343a3:0x9b,_0x1c4d9d:0x17};function _0x4b0ec6(_0x31152f,_0x380154,_0x445b8,_0x3f8f02){return _0x2667f3(_0x31152f-_0x54fab8._0x4343a3,_0x380154-_0x54fab8._0x1c4d9d,_0x3f8f02- -0x1ea,_0x380154);}return await _0x32e721[_0x4b0ec6(_0x43967f._0x2e93ed,_0x43967f._0x2f1803,0x21d,0x212)](_0x2d106c,SALT_ROUNDS);}export async function validatePassword(_0x5b748,_0xc8e0ae){const _0x365373={_0x457aab:0x84,_0x19d852:0xe5,_0x307d42:0xcc,_0x8926a8:0x11a,_0x2252ba:0x104,_0x177231:0xf8,_0x47381d:0x90,_0x148e53:0x6d,_0x18a7c3:0x16c,_0x2b38df:0x123,_0x1a55ac:0xef,_0x2cefa9:0x13d,_0x516b8b:0xc0,_0x2ab925:0xe6,_0x16cfb9:0x14a,_0x1bcf02:0x15,_0x55a1f2:0xab,_0x5e6842:0x74,_0x2bddbb:0x14f,_0x22bc93:0x154,_0x2649c3:0x126,_0xd29bae:0x109,_0x5b9d48:0x60,_0x57ee45:0x85,_0x2ff5d9:0xc9,_0x4f9972:0x20,_0xff3da7:0x81,_0x127fb2:0x44,_0x4707d9:0x13,_0x3d3e44:0x51,_0x409359:0x53,_0x2d40c6:0xcc,_0x1602c8:0x11c,_0x304ec7:0x12b,_0x2046f9:0xaa,_0x235a1d:0x118,_0x490802:0xf5,_0x46e7a0:0xd2,_0x22fa3c:0xb2},_0x1273a4={_0x1280d9:0x23,_0xeedbbd:0x187};function _0x3b6236(_0x2c56a3,_0x3959b7,_0x127166,_0x3cb662){return _0x2667f3(_0x2c56a3-0x19a,_0x3959b7-0x77,_0x3cb662- -0x53a,_0x127166);}const _0x4fbd33={'Zwjbt':function(_0x2146c4,_0x4ce4ed){return _0x2146c4(_0x4ce4ed);},'ggVRm':_0x1ec835(_0x365373._0x457aab,_0x365373._0x19d852,0x73,0xb7)+'ound\x20for\x20v'+_0x1ec835(0x46,0x21,0x6f,0x4c),'myTaQ':_0x3b6236(-0xfa,-0x158,-_0x365373._0x307d42,-_0x365373._0x8926a8)+_0x3b6236(-0x10a,-0x10c,-0x131,-_0x365373._0x2252ba)+_0x1ec835(_0x365373._0x177231,_0x365373._0x47381d,_0x365373._0x148e53,0xaf)},_0x59305b=await _0x4fbd33[_0x3b6236(-0x14e,-_0x365373._0x18a7c3,-0x15b,-_0x365373._0x2b38df)](findUserByUsername,_0x5b748);if(!_0x59305b){const _0xe90f5b={};return _0xe90f5b[_0x3b6236(-0x10f,-0x161,-0x158,-0x14a)]=_0x5b748,logger[_0x3b6236(-_0x365373._0x1a55ac,-0x105,-0x108,-_0x365373._0x2cefa9)](_0x4fbd33[_0x3b6236(-0x12f,-_0x365373._0x516b8b,-0xb9,-_0x365373._0x2ab925)],_0xe90f5b),null;}if(!_0x59305b['password_h'+'ash']){const _0x490228={};return _0x490228[_0x3b6236(-0x153,-0x17f,-0x107,-_0x365373._0x16cfb9)]=_0x5b748,logger[_0x1ec835(_0x365373._0x1bcf02,0x48,0x26,0x51)](_0x1ec835(0x5e,_0x365373._0x55a1f2,_0x365373._0x5e6842,0x98)+_0x3b6236(-_0x365373._0x2bddbb,-0x135,-_0x365373._0x22bc93,-0x109)+'\x20set',_0x490228),null;}const _0x242df7=await _0x32e721[_0x3b6236(-0x18a,-_0x365373._0x2649c3,-_0x365373._0xd29bae,-0x14d)](_0xc8e0ae,_0x59305b[_0x1ec835(0x54,_0x365373._0x5b9d48,_0x365373._0x57ee45,0x48)+_0x3b6236(-_0x365373._0x2ff5d9,-0x98,-_0x365373._0x177231,-0xd1)]);if(!_0x242df7){const _0x3121e6={};return _0x3121e6[_0x1ec835(_0x365373._0x4f9972,_0x365373._0xff3da7,-0x9,_0x365373._0x127fb2)]=_0x5b748,logger[_0x1ec835(0x3b,_0x365373._0x4707d9,0x60,_0x365373._0x3d3e44)](_0x4fbd33[_0x1ec835(0x99,0x2c,0x9e,_0x365373._0x409359)],_0x3121e6),null;}const _0xa1ae0={};_0xa1ae0['username']=_0x5b748,_0xa1ae0['userId']=_0x59305b['id'],logger[_0x3b6236(-0xe9,-0xe1,-_0x365373._0x2d40c6,-_0x365373._0x1602c8)](_0x3b6236(-_0x365373._0x304ec7,-_0x365373._0x2046f9,-_0x365373._0x235a1d,-_0x365373._0x490802)+_0x1ec835(_0x365373._0x46e7a0,_0x365373._0x22fa3c,0x54,0x8d)+'uccessfull'+'y',_0xa1ae0);function _0x1ec835(_0x4bae23,_0x5470dc,_0x5064de,_0x4270a6){return _0x2667f3(_0x4bae23-_0x1273a4._0x1280d9,_0x5470dc-_0x1273a4._0xeedbbd,_0x4270a6- -0x3ac,_0x5470dc);}return _0x59305b;}export async function createUser(_0x505114){const _0x884873={_0x3b963c:0x93,_0x52d391:0x47,_0x1bb1db:0x43,_0x3e423d:0xb6,_0x2d796b:0x92,_0x7e6582:0x85,_0x2c18de:0x49,_0x2d036b:0x8a,_0x5e2803:0xc0,_0x485e09:0x1e4,_0x2ea5e7:0x169,_0x1eee8f:0x182,_0x1aed07:0x152,_0x2650d4:0x167,_0x4c736c:0x88,_0xfb00a9:0x12,_0x2a2999:0x130,_0x2354cb:0x194,_0x3d8cf1:0xe6,_0x3e68cc:0xb3,_0x14c5a1:0xd1,_0x3a5120:0x77,_0x159ea9:0x59,_0x33d343:0x26,_0x4e2142:0xb4,_0x375301:0x90,_0x1a78b4:0x1cf,_0x455803:0x1ad,_0x25ff06:0x164,_0x1adb79:0x7e,_0x42cfec:0x94,_0x6bc44f:0x1c3,_0x6bc5b3:0x163,_0x8fbbb6:0x17e,_0x21d230:0x66,_0x126a8d:0x56,_0x3175b7:0x132,_0x59ca6a:0x31,_0x1c9947:0x6f,_0x45f575:0x91,_0x59b63f:0xd8,_0x56e8c1:0x8a,_0x2e0cad:0xec,_0x3e6b74:0xa3,_0xa920b0:0x4f,_0x2153ce:0x181,_0x2cbd32:0x162,_0x56941d:0x1c1,_0x4bc995:0x19,_0x39f4cc:0x14b,_0x2ca1c8:0x104,_0x4b7047:0x84,_0x46e8c6:0xf3,_0xd3397d:0x21,_0x199ca7:0x167,_0x1fb1f6:0x1da,_0x5d4943:0x5d,_0x1494da:0x1c5,_0x5221a1:0x1e8},_0x3def8b={_0x48fe49:0x95},_0x3fc6eb={_0xf59fb:0x184},_0x289fe2={'SyWxG':function(_0x430d40){return _0x430d40();},'WAxiE':function(_0x215eee,_0x186b32){return _0x215eee===_0x186b32;},'ivXaL':_0x386a32(0x46,0x19,0x5e,0xa3),'dDFzK':function(_0x95c9b1,_0x4629ee){return _0x95c9b1(_0x4629ee);},'kPKbh':function(_0x49a365,_0x36c9c8){return _0x49a365===_0x36c9c8;},'kGfHW':function(_0x5750b5,_0x29275a){return _0x5750b5!==_0x29275a;},'aWRvs':'Created\x20ne'+_0x386a32(_0x884873._0x3b963c,-0x9,_0x884873._0x52d391,0x82)},_0x31d67c=await _0x289fe2[_0x386a32(_0x884873._0x1bb1db,0x46,0x80,_0x884873._0x3e423d)](getUsers);if(!_0x505114[_0x386a32(_0x884873._0x2d796b,_0x884873._0x7e6582,_0x884873._0x2c18de,0x63)]||!_0x505114[_0x7555e2(-0x175,-0x18c,-0x1a5,-0x166)]||!_0x505114['name']){if(_0x289fe2['WAxiE'](_0x289fe2[_0x386a32(_0x884873._0x2d036b,0xc3,0x73,_0x884873._0x5e2803)],_0x289fe2[_0x7555e2(-0x1a5,-_0x884873._0x485e09,-_0x884873._0x2ea5e7,-_0x884873._0x1eee8f)]))throw new Error(_0x7555e2(-0x179,-0x139,-0x1ae,-0x173)+_0x7555e2(-0x166,-_0x884873._0x1aed07,-0x19b,-_0x884873._0x2650d4)+_0x386a32(_0x884873._0x4c736c,0x89,0x4e,_0x884873._0xfb00a9)+'ame,\x20email'+_0x7555e2(-0x146,-0x18c,-_0x884873._0x2a2999,-_0x884873._0x2354cb));else throw new _0xa6582a(_0x386a32(_0x884873._0x3d8cf1,0xfc,0xbc,0x93)+_0x386a32(0x6b,0x98,_0x884873._0x3e68cc,_0x884873._0x14c5a1)+_0x255f2b);}const _0x151d9b=_0x31d67c[_0x386a32(0x9d,_0x884873._0x3a5120,_0x884873._0x159ea9,_0x884873._0x33d343)](_0x132180=>_0x132180[_0x7555e2(-0x1cf,-0x182,-0x1c2,-0x1e6)]===_0x505114[_0x7555e2(-0x1cf,-0x209,-0x18e,-0x1d3)]);if(_0x151d9b)throw new Error(_0x386a32(_0x884873._0x4e2142,0x68,_0x884873._0x375301,0x9c)+_0x505114[_0x7555e2(-_0x884873._0x1a78b4,-_0x884873._0x455803,-0x202,-0x1ef)]+('\x27\x20already\x20'+_0x7555e2(-0x178,-0x13e,-_0x884873._0x25ff06,-0x150)));const _0xd813d4=_0x386a32(_0x884873._0x1adb79,0x6b,_0x884873._0x42cfec,0xe2)+Date[_0x7555e2(-0x1a2,-_0x884873._0x6bc44f,-_0x884873._0x6bc5b3,-_0x884873._0x8fbbb6)]()+'_'+Math[_0x7555e2(-0x19a,-0x1a4,-0x1a2,-0x1b4)]()[_0x386a32(0x3d,0x3e,_0x884873._0x21d230,_0x884873._0x126a8d)](0x2476+-0xfd*-0xb+0xfbb*-0x3)[_0x7555e2(-0x14d,-_0x884873._0x3175b7,-0x107,-0x178)](0x5*-0x80+0x25a9*0x1+-0x2327,-0x1*-0x13cc+-0x12f9+0xca*-0x1);function _0x386a32(_0x2b37bc,_0x485e7c,_0x55d2c9,_0x476bc4){return _0x2667f3(_0x2b37bc-0x18d,_0x485e7c-_0x3fc6eb._0xf59fb,_0x55d2c9- -0x3a7,_0x2b37bc);}const _0x44d150=_0x505114[_0x386a32(0x31,_0x884873._0x59ca6a,_0x884873._0x1c9947,0x52)]?await _0x289fe2[_0x386a32(_0x884873._0x45f575,_0x884873._0x14c5a1,_0x884873._0x59b63f,_0x884873._0x56e8c1)](hashPassword,_0x505114[_0x7555e2(-0x1a9,-0x168,-0x185,-0x1d7)]):null,_0xe91f35=_0x289fe2[_0x386a32(_0x884873._0x2e0cad,0xe2,0xa8,0xcb)](_0x31d67c[_0x386a32(_0x884873._0x3e6b74,0x56,0x98,_0x884873._0xa920b0)],-0x80*0x3a+-0x881*0x3+-0x5*-0xae7)&&_0x289fe2[_0x7555e2(-_0x884873._0x2153ce,-_0x884873._0x2cbd32,-0x1ae,-_0x884873._0x56941d)](_0x505114[_0x386a32(0x64,0x31,0x53,_0x884873._0x4bc995)+_0x7555e2(-_0x884873._0x39f4cc,-0x11b,-0x11b,-_0x884873._0x2ca1c8)],!![]),_0x191371=_0x289fe2[_0x386a32(0x87,0xb0,_0x884873._0x4b7047,_0x884873._0x4b7047)](_0x505114['isServerAd'+_0x386a32(0xd2,_0x884873._0x46e8c6,0xcd,0xd4)],!![])||_0xe91f35;function _0x7555e2(_0x17b42d,_0x16345d,_0x5e729e,_0x538081){return _0x2667f3(_0x17b42d-_0x3def8b._0x48fe49,_0x16345d-0xbc,_0x17b42d- -0x5bf,_0x538081);}const _0x34d757={'id':_0xd813d4,'username':_0x505114[_0x386a32(0x13,0x6c,0x49,_0x884873._0xd3397d)],'email':_0x505114['email'],'name':_0x505114[_0x7555e2(-_0x884873._0x199ca7,-0x151,-0x161,-0x136)],'password_hash':_0x44d150,'created_at':new Date()[_0x386a32(0xa2,0x9a,_0x884873._0x5e2803,0xda)+'g'](),'isServerAdmin':_0x191371?!![]:undefined};_0x31d67c[_0x7555e2(-_0x884873._0x1fb1f6,-0x18b,-0x1d3,-0x1b3)](_0x34d757),await _0x289fe2['dDFzK'](saveUsers,_0x31d67c),logger['info'](_0x289fe2[_0x386a32(0x33,0x2f,_0x884873._0x5d4943,0x7a)],{'userId':_0x34d757['id'],'username':_0x34d757['username'],'hasPassword':!!_0x44d150,'isServerAdmin':_0x289fe2[_0x386a32(0xa3,0xb9,0xa8,0xae)](_0x34d757[_0x7555e2(-_0x884873._0x1494da,-0x1e1,-_0x884873._0x5221a1,-0x176)+'min'],!![]),'autoPromotedFirstUser':_0xe91f35});const {password_hash:_0x3149b9,..._0x535958}=_0x34d757;return _0x535958;}export async function updateUser(_0x1fff71,_0x1b1fe2){const _0x2fe3f9={_0x2f10ba:0x1ad,_0x3c2a43:0x152,_0xb71f80:0x408,_0x33d44d:0x3f5,_0x50a33b:0x41b,_0x21a8d0:0x43c,_0x4b1a55:0x409,_0x4fcb8b:0x411,_0x1abf6b:0x185,_0xf7a1b4:0x183,_0x1bf4cb:0x1c8,_0x66e44b:0x159,_0x4da02b:0x3a7,_0x157193:0x3a9,_0x5e3e73:0x1c7,_0x4c6c1c:0x16b,_0x3628e8:0x196,_0x476e8c:0x150,_0x200ee1:0x133,_0x417f86:0x175,_0x3cc5f7:0x182,_0x2df989:0x1db,_0x4b8e65:0x21f,_0x1a7902:0x210,_0x2e4bad:0x42d,_0xf486be:0x43c,_0x24a7c5:0x3e1,_0x45ecf7:0x3ea,_0x35a3bc:0x406,_0x50f74e:0x16f,_0x50986b:0x171,_0x82b740:0x164,_0x1a31c2:0x40a,_0x5928d1:0x416,_0x343380:0x1af,_0x1fc6e5:0x189,_0x245c76:0x452,_0x29aeef:0x1c6,_0x281138:0x1b3,_0x49f7c6:0x186,_0x3bbecc:0x3b2,_0x2e1dcc:0x3cd,_0x13c446:0x3bd,_0x3be61c:0x1f3,_0x5e7c42:0x3e1,_0xb421d8:0x179,_0x3ca0e7:0x18c,_0x113f85:0x140,_0x5930c6:0x453,_0x140cd5:0x40d,_0x55e11a:0x126,_0x2d550d:0x19a,_0x129ea5:0x136,_0x9a315d:0x1bf,_0x52c7c7:0x179,_0x3b410e:0x3cf,_0x5b8ad1:0x3e0,_0x33f74b:0x3e2,_0x1cc9a8:0x179,_0x2dc687:0x1c9,_0x23931b:0x196,_0x214ad3:0x1b2,_0x44a975:0x18a,_0x3e22eb:0x193,_0x30df87:0x1a3,_0x272023:0x157,_0x970090:0x1b9,_0x62974d:0x1d1,_0x59324c:0x3ed,_0x4d2356:0x406,_0x5dda1b:0x47a,_0x1dd92b:0x485,_0x3b7c79:0x188,_0x890862:0x1d0,_0x15be83:0x1d9,_0x5cc5a0:0x3f8,_0xe9a119:0x3d9,_0x4b3d3a:0x3fc,_0x105d97:0x1d7,_0x13feaa:0x3d8,_0x55de8a:0x439,_0x23590f:0x436,_0x4ef1f9:0x1ae,_0x537b58:0x178,_0x34eaaf:0x226,_0x1a8b77:0x222,_0x39aa23:0x13e,_0x3b5c42:0x14c,_0x2d36b5:0x3c3,_0x20d22d:0x383,_0x5e8a76:0x3f1,_0x1ae031:0x3c3,_0x2e0c0e:0x38f,_0x5b804e:0x3a4,_0x112ccc:0x1f0,_0x5915b0:0x1b0,_0x4c0559:0x1ff,_0x259158:0x1af,_0x15f569:0x17f,_0x525529:0x21e,_0x10ffc0:0x201,_0x54b6b1:0x192,_0x3484b5:0x1de,_0x404c1c:0x1ef,_0x5cc8bc:0x179,_0x53269f:0x1b7,_0x2b3e62:0x139,_0x274944:0x3cd,_0x5e14e7:0x40f,_0x4d205e:0x435,_0x358db7:0x132,_0x1fd221:0x163,_0x536bd8:0x3e9,_0x3e29f7:0x3f5,_0x5cc8a1:0x3cd,_0x24d261:0x438,_0x2722d1:0x446,_0xb6a802:0x3e7,_0x4b63cf:0x1a2,_0x10246f:0x19c,_0x252d2b:0x17d,_0x4f521a:0x44b,_0x1a4d1c:0x418,_0x231524:0x43f,_0xf93f98:0x48f,_0x229dcc:0x3fb,_0x29b55f:0x432,_0x3821dc:0x3c6,_0x78cf0:0x3c7,_0x3ceaae:0x3ac,_0x13dd84:0x3a4,_0x3d17a5:0x3db,_0xc00a10:0x40c,_0x35538c:0x1ed,_0x54f0a2:0x1a9,_0x3b6b4d:0x14a,_0x4711d7:0x3e2,_0x242083:0x430,_0x1c81b4:0x3d2,_0x1a32e8:0x44f},_0x2387ce={_0x465509:0x187,_0x563f41:0xb2},_0x2711b6={_0x55392a:0xc7,_0x1ba054:0x415,_0x218b3c:0x1d5},_0x9018cc={'dCEjx':_0x3958de(0x166,_0x2fe3f9._0x2f10ba,0x153,_0x2fe3f9._0x3c2a43)+_0x560104(_0x2fe3f9._0xb71f80,_0x2fe3f9._0x33d44d,0x3e4,0x3bb)+_0x560104(_0x2fe3f9._0x50a33b,_0x2fe3f9._0x21a8d0,_0x2fe3f9._0x4b1a55,_0x2fe3f9._0x4fcb8b)+_0x3958de(_0x2fe3f9._0x1abf6b,_0x2fe3f9._0xf7a1b4,_0x2fe3f9._0x1bf4cb,_0x2fe3f9._0x66e44b),'EGEVw':function(_0x47d4db,_0x20eeb1){return _0x47d4db<=_0x20eeb1;},'ZmQxW':_0x560104(0x3dc,0x3e9,_0x2fe3f9._0x4da02b,_0x2fe3f9._0x157193)+'ove\x20the\x20la'+_0x3958de(_0x2fe3f9._0x5e3e73,0x1ff,0x180,0x18a)+'Admin','lyUKY':function(_0x510ab7,_0x4f5be1){return _0x510ab7===_0x4f5be1;},'oXgvZ':function(_0x1901a9,_0x2f234f){return _0x1901a9!==_0x2f234f;},'xlObc':function(_0x24c8cb,_0x343ba1){return _0x24c8cb!==_0x343ba1;},'cwfFK':_0x3958de(0x200,0x1ff,0x1df,0x20f),'gssPS':function(_0x2675fa,_0x5b2c16){return _0x2675fa<=_0x5b2c16;},'vlMYG':_0x3958de(_0x2fe3f9._0x4c6c1c,0x12e,_0x2fe3f9._0x3628e8,_0x2fe3f9._0x476e8c),'mSfQi':'NOPyb','wMRwW':function(_0x24a4b1,_0x14bc3d){return _0x24a4b1!==_0x14bc3d;},'uifMR':_0x3958de(0x182,0x17e,_0x2fe3f9._0x200ee1,_0x2fe3f9._0x417f86),'mbKee':function(_0x394351,_0x226981){return _0x394351(_0x226981);},'gEXXS':function(_0x9f9bc3,_0x28ad27){return _0x9f9bc3(_0x28ad27);},'pkAvF':_0x3958de(0x1bb,0x1e0,_0x2fe3f9._0x3cc5f7,0x193)+'er'},_0x4980c4=await getUsers(),_0x4a18dc=_0x4980c4[_0x3958de(_0x2fe3f9._0x2df989,_0x2fe3f9._0x4b8e65,0x1e5,_0x2fe3f9._0x1a7902)](_0x543628=>_0x543628['id']===_0x1fff71);if(_0x9018cc[_0x560104(0x413,_0x2fe3f9._0x2e4bad,0x446,0x3f9)](_0x4a18dc,-(0x1f*0x121+-0x36a*-0x3+-0x169e*0x2)))throw new Error('User\x20not\x20f'+_0x560104(0x42d,0x41c,0x460,_0x2fe3f9._0xf486be)+_0x1fff71);const _0x4ebfc4=_0x4980c4[_0x4a18dc];if(_0x1b1fe2['username']&&_0x9018cc[_0x560104(_0x2fe3f9._0x24a7c5,0x3f3,_0x2fe3f9._0x45ecf7,_0x2fe3f9._0x35a3bc)](_0x1b1fe2[_0x3958de(0x16f,0x1b0,0x15d,0x1a7)],_0x4ebfc4[_0x3958de(_0x2fe3f9._0x50f74e,0x190,0x162,_0x2fe3f9._0x50986b)])){const _0x4fc862=_0x4980c4[_0x3958de(0x17f,_0x2fe3f9._0x82b740,0x13f,0x1a6)](_0x3410e0=>_0x3410e0[_0x560104(0x3c3,0x40a,0x398,0x3f5)]===_0x1b1fe2['username']);if(_0x4fc862)throw new Error(_0x560104(_0x2fe3f9._0x1a31c2,0x442,0x43b,_0x2fe3f9._0x5928d1)+_0x1b1fe2[_0x3958de(0x16f,_0x2fe3f9._0x343380,0x19b,_0x2fe3f9._0x1fc6e5)]+(_0x560104(0x450,_0x2fe3f9._0x245c76,0x401,0x44d)+_0x3958de(_0x2fe3f9._0x29aeef,0x181,_0x2fe3f9._0x281138,_0x2fe3f9._0x49f7c6)));}if(_0x9018cc[_0x560104(_0x2fe3f9._0x24a7c5,0x401,_0x2fe3f9._0x3bbecc,0x42f)](_0x1b1fe2[_0x560104(_0x2fe3f9._0x2e1dcc,_0x2fe3f9._0x13c446,0x392,0x418)+_0x3958de(_0x2fe3f9._0x3be61c,0x1dc,0x1cd,0x230)],undefined)&&_0x9018cc[_0x560104(_0x2fe3f9._0x5e7c42,0x3f8,0x41b,0x3e6)](_0x1b1fe2[_0x3958de(_0x2fe3f9._0xb421d8,_0x2fe3f9._0x3ca0e7,0x161,_0x2fe3f9._0x113f85)+'min'],_0x4ebfc4['isServerAd'+'min'])){if(_0x9018cc[_0x560104(0x3ca,0x37e,0x3f7,0x398)](_0x560104(0x454,0x483,_0x2fe3f9._0x5930c6,_0x2fe3f9._0x140cd5),_0x9018cc[_0x3958de(0x167,_0x2fe3f9._0x55e11a,_0x2fe3f9._0x2d550d,_0x2fe3f9._0x129ea5)]))throw new _0x508df7(_0x9018cc['dCEjx']);else{if(_0x9018cc[_0x3958de(_0x2fe3f9._0x9a315d,0x1e2,0x18d,0x1e5)](_0x4ebfc4[_0x3958de(_0x2fe3f9._0x52c7c7,0x1b0,0x19f,0x1b8)+_0x3958de(_0x2fe3f9._0x3be61c,0x214,_0x2fe3f9._0x281138,0x202)],!![])&&_0x9018cc[_0x560104(0x3e1,_0x2fe3f9._0x3b410e,_0x2fe3f9._0x5b8ad1,_0x2fe3f9._0x33f74b)](_0x1b1fe2[_0x3958de(_0x2fe3f9._0x1cc9a8,_0x2fe3f9._0x2dc687,_0x2fe3f9._0x23931b,_0x2fe3f9._0x50986b)+_0x3958de(0x1f3,_0x2fe3f9._0x214ad3,0x1c2,0x1d6)],!![])){const _0x3445b2=_0x4980c4[_0x3958de(_0x2fe3f9._0x44a975,_0x2fe3f9._0x3e22eb,_0x2fe3f9._0x30df87,_0x2fe3f9._0x272023)](_0x42f53d=>_0x42f53d['isServerAd'+_0x3958de(0x1f3,0x1f9,0x213,0x1a9)]===!![])[_0x3958de(0x1be,0x171,_0x2fe3f9._0x970090,_0x2fe3f9._0x62974d)];if(_0x9018cc['gssPS'](_0x3445b2,0x1e1d+-0x2210+-0x16*-0x2e)){if(_0x9018cc[_0x560104(0x3e1,0x3ae,_0x2fe3f9._0x59324c,0x397)](_0x9018cc[_0x560104(_0x2fe3f9._0x4d2356,0x415,0x417,0x432)],_0x9018cc[_0x560104(0x442,_0x2fe3f9._0x5dda1b,_0x2fe3f9._0x1dd92b,0x470)]))throw new Error(_0x3958de(_0x2fe3f9._0x3b7c79,0x164,_0x2fe3f9._0x50f74e,0x1a3)+_0x3958de(_0x2fe3f9._0x890862,0x1b8,0x215,_0x2fe3f9._0x15be83)+_0x560104(_0x2fe3f9._0x50a33b,_0x2fe3f9._0x5cc5a0,0x40b,0x45b)+_0x560104(_0x2fe3f9._0xe9a119,0x3f9,0x38b,_0x2fe3f9._0x4b3d3a));else{const _0xfab7e4=_0x4ecc0b[_0x3958de(0x18a,_0x2fe3f9._0x105d97,0x13d,0x167)](_0x204cf6=>_0x204cf6[_0x3958de(0x179,0x1aa,0x19b,0x175)+'min']===!![])[_0x560104(0x412,_0x2fe3f9._0x13feaa,_0x2fe3f9._0x55de8a,_0x2fe3f9._0x23590f)];if(_0x9018cc[_0x3958de(_0x2fe3f9._0x4ef1f9,_0x2fe3f9._0x537b58,0x1bc,0x178)](_0xfab7e4,-0xc2*-0x1c+0x244b*0x1+-0x3982))throw new _0x7fb481(_0x9018cc[_0x3958de(0x1ec,_0x2fe3f9._0x34eaaf,_0x2fe3f9._0x1a8b77,0x21e)]);}}}}}if(_0x1b1fe2[_0x3958de(0x16f,_0x2fe3f9._0x39aa23,_0x2fe3f9._0x3b5c42,0x160)])_0x4ebfc4[_0x560104(_0x2fe3f9._0x2d36b5,_0x2fe3f9._0x20d22d,0x3d7,_0x2fe3f9._0x5e8a76)]=_0x1b1fe2[_0x560104(_0x2fe3f9._0x1ae031,_0x2fe3f9._0x2e0c0e,0x3ed,_0x2fe3f9._0x5b804e)];if(_0x1b1fe2[_0x3958de(_0x2fe3f9._0x2dc687,_0x2fe3f9._0x112ccc,_0x2fe3f9._0x5915b0,0x1e6)])_0x4ebfc4[_0x3958de(_0x2fe3f9._0x2dc687,_0x2fe3f9._0x4c0559,_0x2fe3f9._0x259158,0x1a7)]=_0x1b1fe2[_0x3958de(0x1c9,_0x2fe3f9._0x15f569,0x1ce,0x1d8)];if(_0x1b1fe2[_0x3958de(0x1d7,0x1b9,_0x2fe3f9._0x525529,0x198)])_0x4ebfc4[_0x3958de(_0x2fe3f9._0x105d97,_0x2fe3f9._0x10ffc0,_0x2fe3f9._0x54b6b1,_0x2fe3f9._0x3484b5)]=_0x1b1fe2[_0x3958de(0x1d7,0x209,_0x2fe3f9._0x404c1c,0x1c5)];if(_0x9018cc['wMRwW'](_0x1b1fe2[_0x3958de(_0x2fe3f9._0x5cc8bc,_0x2fe3f9._0x53269f,0x176,_0x2fe3f9._0x2b3e62)+_0x560104(0x447,0x452,0x454,0x490)],undefined))_0x4ebfc4[_0x560104(_0x2fe3f9._0x274944,0x383,0x3db,_0x2fe3f9._0x5e14e7)+_0x560104(0x447,0x447,_0x2fe3f9._0x4d205e,0x449)]=_0x1b1fe2[_0x3958de(0x179,_0x2fe3f9._0x358db7,0x1be,_0x2fe3f9._0x1fd221)+'min'];if(_0x9018cc[_0x560104(0x3e1,_0x2fe3f9._0x536bd8,_0x2fe3f9._0x3e29f7,_0x2fe3f9._0x5cc8a1)](_0x1b1fe2['ssh_userna'+'me'],undefined))_0x4ebfc4['ssh_userna'+'me']=_0x1b1fe2[_0x560104(_0x2fe3f9._0x24d261,0x445,_0x2fe3f9._0x2722d1,0x408)+'me'];if(_0x1b1fe2[_0x560104(0x3cc,0x413,_0x2fe3f9._0xb6a802,0x38a)]!==undefined)_0x4ebfc4['avatar']=_0x1b1fe2['avatar'];if(_0x1b1fe2[_0x3958de(_0x2fe3f9._0x4b63cf,0x1ec,_0x2fe3f9._0x10246f,_0x2fe3f9._0x252d2b)+'s']){if(_0x9018cc['lyUKY'](_0x9018cc[_0x560104(_0x2fe3f9._0x4f521a,_0x2fe3f9._0x1a4d1c,_0x2fe3f9._0x231524,_0x2fe3f9._0xf93f98)],'MyRMG'))_0x4ebfc4[_0x560104(0x3f6,0x435,_0x2fe3f9._0x33f74b,0x42f)+'s']={..._0x4ebfc4['preference'+'s']||{},..._0x1b1fe2[_0x560104(0x3f6,_0x2fe3f9._0x229dcc,_0x2fe3f9._0x29b55f,0x409)+'s']};else throw new _0x3f7ea8(_0x9018cc[_0x560104(_0x2fe3f9._0x3821dc,0x3c6,0x3d5,0x38c)]);}function _0x560104(_0xd6bac1,_0x29d51f,_0x2b24f4,_0x21c213){return _0x121f55(_0x2b24f4,_0x29d51f-_0x2711b6._0x55392a,_0xd6bac1-_0x2711b6._0x1ba054,_0x21c213-_0x2711b6._0x218b3c);}_0x1b1fe2[_0x3958de(0x195,0x198,0x178,0x19f)]&&(_0x4ebfc4[_0x560104(_0x2fe3f9._0x78cf0,_0x2fe3f9._0x3ceaae,0x3e0,0x3eb)+_0x560104(_0x2fe3f9._0xf486be,0x483,0x468,0x41d)]=await _0x9018cc[_0x560104(0x3ec,_0x2fe3f9._0x5cc5a0,0x418,0x40f)](hashPassword,_0x1b1fe2[_0x560104(0x3e9,0x3c2,_0x2fe3f9._0x13dd84,_0x2fe3f9._0x3d17a5)]));_0x4ebfc4['updated_at']=new Date()[_0x560104(0x43a,0x476,0x45f,_0x2fe3f9._0xc00a10)+'g']();function _0x3958de(_0x2a0a6b,_0x230ad8,_0x271776,_0x12ffc0){return _0x2667f3(_0x2a0a6b-_0x2387ce._0x465509,_0x230ad8-_0x2387ce._0x563f41,_0x2a0a6b- -0x281,_0x12ffc0);}await _0x9018cc[_0x3958de(_0x2fe3f9._0x35538c,_0x2fe3f9._0x54f0a2,0x1fb,0x226)](saveUsers,_0x4980c4),logger['info'](_0x9018cc[_0x3958de(0x18f,0x1a3,0x177,_0x2fe3f9._0x3b6b4d)],{'userId':_0x4ebfc4['id'],'username':_0x4ebfc4[_0x3958de(_0x2fe3f9._0x50f74e,0x17c,0x181,0x12e)],'updatedFields':Object[_0x560104(_0x2fe3f9._0x4711d7,0x3a7,_0x2fe3f9._0x242083,_0x2fe3f9._0x1c81b4)](_0x1b1fe2)[_0x560104(_0x2fe3f9._0x1a32e8,_0x2fe3f9._0x2e4bad,0x40b,0x48e)](',\x20')});const {password_hash:_0x19bdbe,..._0x408d5b}=_0x4ebfc4;return _0x408d5b;}function _0x2667f3(_0x1e0d81,_0x3bf8a3,_0xaf383e,_0x5ae3c3){const _0x4911cb={_0x5523b1:0x1f8};return _0x1e26(_0xaf383e-_0x4911cb._0x5523b1,_0x5ae3c3);}export async function deleteUser(_0x3c70f0){const _0x5c5818={_0x5e8ab3:0x520,_0x125ecb:0x54d,_0x500a1a:0x4ee,_0x5b78ef:0x18f,_0xc3c81e:0x1c7,_0x282326:0x521,_0x33674a:0x156,_0x59a743:0x14a,_0x47b452:0x530,_0x513839:0x4db,_0xccd1e2:0x146,_0x3bfc6e:0x169,_0x2832f9:0x111,_0x1b5236:0x17a,_0xc0fef6:0x1e8,_0x29366c:0x1d6,_0x340108:0x1c9,_0x354177:0x160,_0xeade97:0x531,_0x428493:0x4e9,_0x260771:0x47f,_0x6cdbc0:0x4f6,_0x468bb0:0x504,_0x47765a:0x4f5,_0x452813:0x515,_0x4087a7:0x50d,_0x230d26:0x533,_0x3a00a3:0x529,_0xe8625d:0x567,_0x2bc4c3:0x520,_0x364727:0x55f,_0x2c576c:0x19e,_0x3c700e:0x1b3,_0x1cbb3:0x523,_0x59bf9d:0x4ad,_0x2ed68e:0x4e7,_0x202ce7:0x1ad,_0x794a2b:0x181,_0x55b385:0x140,_0x599cb2:0x11b,_0x10eef4:0x18d,_0x57e71f:0x149},_0x1cd338={_0x6c86d6:0x92},_0x489c2a={_0x5cbcfc:0x5b},_0xe9f777={'VGKbd':function(_0x591357){return _0x591357();},'DiWyl':function(_0x598dde,_0x3c12a1){return _0x598dde===_0x3c12a1;},'xjXDz':_0x1eca50(_0x5c5818._0x5e8ab3,0x536,_0x5c5818._0x125ecb,_0x5c5818._0x500a1a)+_0x4a8fe0(0x1c6,_0x5c5818._0x5b78ef,0x1a6,_0x5c5818._0xc3c81e)+_0x1eca50(0x4d5,0x504,_0x5c5818._0x282326,0x51a),'ktnVJ':function(_0x12afd6,_0x34d788){return _0x12afd6<=_0x34d788;},'hmpau':_0x4a8fe0(_0x5c5818._0x33674a,0x12f,0x13d,_0x5c5818._0x59a743)+_0x1eca50(0x4f2,0x4b1,_0x5c5818._0x47b452,_0x5c5818._0x513839)+'st\x20Server\x20'+_0x4a8fe0(0x1a9,_0x5c5818._0xccd1e2,0x196,_0x5c5818._0x3bfc6e),'CAhpr':function(_0x5b0395,_0x1c8eaf){return _0x5b0395(_0x1c8eaf);}},_0x3a3e31=await _0xe9f777[_0x4a8fe0(_0x5c5818._0x2832f9,0xfe,_0x5c5818._0x1b5236,_0x5c5818._0xccd1e2)](getUsers),_0x45f1c6=_0x3a3e31['findIndex'](_0x1ffd09=>_0x1ffd09['id']===_0x3c70f0);if(_0xe9f777['DiWyl'](_0x45f1c6,-(-0x22fc+-0x1524+0x3821*0x1))){const _0x5b5eab={};return _0x5b5eab[_0x4a8fe0(_0x5c5818._0xc0fef6,0x1dd,_0x5c5818._0x29366c,_0x5c5818._0x340108)]=_0x3c70f0,logger[_0x4a8fe0(0x16c,0x174,0x136,_0x5c5818._0x354177)](_0xe9f777['xjXDz'],_0x5b5eab),![];}const _0x3c3694=_0x3a3e31[_0x45f1c6];if(_0x3c3694['isServerAd'+_0x1eca50(_0x5c5818._0xeade97,_0x5c5818._0x428493,0x579,0x52e)]===!![]){const _0x21ebbb=_0x3a3e31[_0x1eca50(0x4c8,_0x5c5818._0x260771,_0x5c5818._0x6cdbc0,_0x5c5818._0x468bb0)](_0x310a84=>_0x310a84['isServerAd'+_0x1eca50(0x531,0x56c,0x52d,0x526)]===!![])['length'];if(_0xe9f777[_0x1eca50(0x4ce,_0x5c5818._0x47765a,_0x5c5818._0x452813,_0x5c5818._0x4087a7)](_0x21ebbb,-0x91*-0x2f+-0x2154+0x6b6*0x1))throw new Error(_0xe9f777[_0x1eca50(0x50a,0x4da,0x520,_0x5c5818._0x230d26)]);}_0x3a3e31[_0x1eca50(_0x5c5818._0x3a00a3,_0x5c5818._0xe8625d,_0x5c5818._0x2bc4c3,_0x5c5818._0x364727)](_0x45f1c6,0x1*0x2209+0x96a+-0x15b9*0x2);function _0x1eca50(_0x52aa78,_0x4f5fff,_0x280de2,_0x19f842){return _0x2667f3(_0x52aa78-_0x489c2a._0x5cbcfc,_0x4f5fff-0x1a2,_0x52aa78-0xbd,_0x280de2);}await _0xe9f777[_0x4a8fe0(_0x5c5818._0x2c576c,0x1f2,0x166,_0x5c5818._0x3c700e)](saveUsers,_0x3a3e31);const _0x5e8157={};function _0x4a8fe0(_0x2bdccd,_0x216674,_0x51675f,_0x5ef4d9){return _0x121f55(_0x2bdccd,_0x216674-_0x1cd338._0x6c86d6,_0x5ef4d9-0x1a5,_0x5ef4d9-0x1da);}return _0x5e8157[_0x1eca50(_0x5c5818._0x1cbb3,0x4d6,0x567,0x55d)]=_0x3c3694['id'],_0x5e8157[_0x1eca50(_0x5c5818._0x59bf9d,0x4ed,0x4eb,0x4f8)]=_0x3c3694[_0x1eca50(_0x5c5818._0x59bf9d,_0x5c5818._0x2ed68e,0x4fc,0x4b7)],logger[_0x4a8fe0(0x140,0x18d,_0x5c5818._0x202ce7,_0x5c5818._0x794a2b)](_0x4a8fe0(_0x5c5818._0x55b385,_0x5c5818._0x599cb2,_0x5c5818._0x10eef4,_0x5c5818._0x57e71f)+'er',_0x5e8157),!![];}export async function setUserPassword(_0x9553d4,_0x590ea1){const _0x1cb520={_0x32a961:0x519,_0x271cf4:0x4be,_0x126464:0x4a7,_0x2ab06f:0x531,_0xe9026b:0x4ee,_0x6273cf:0x4cc,_0x22fdf7:0x1ab,_0x388717:0x19f,_0x5d74c4:0x4fb,_0x2e333e:0x4ed,_0x8dea9f:0x4e1,_0x386af4:0x158,_0x1d0ecb:0x18d,_0x40a654:0x133,_0xb41f7b:0x1a5,_0xe735c8:0x4f4,_0x267408:0x502,_0x33550f:0x52a,_0x389dcc:0x453,_0x1c9246:0x4fb,_0xa57733:0x4c8,_0x1a9c1f:0x4b1,_0x50187d:0x194,_0x5887ba:0x172,_0x56115c:0x51f,_0x4d147a:0x53a,_0x1fe684:0x516,_0x30ece9:0x148,_0x32360e:0x192,_0x58ce4d:0x1b4,_0x192a4c:0x4f7,_0x4cec7a:0x481,_0x9e4b3a:0x4b7,_0x2d2203:0x466,_0x638952:0x14d,_0x167252:0x110},_0x281268={_0x5093d8:0x11d},_0x24b149={'mZIfR':function(_0x3b26c0){return _0x3b26c0();},'HKHqc':function(_0x4bd43c,_0x5e90e8){return _0x4bd43c===_0x5e90e8;},'xqccV':function(_0x4c8de7,_0x2ff2c8){return _0x4c8de7===_0x2ff2c8;},'BLSdm':'ahhCc','zaIDH':function(_0x458466,_0x2ebea5){return _0x458466(_0x2ebea5);},'IdCaj':_0x28a00b(_0x1cb520._0x32a961,_0x1cb520._0x271cf4,0x4d2,_0x1cb520._0x126464)+_0x28a00b(0x4bb,_0x1cb520._0x2ab06f,_0x1cb520._0xe9026b,_0x1cb520._0x6273cf)+'r'},_0x1e9249=await _0x24b149[_0x1ed207(0x178,0x1ae,_0x1cb520._0x22fdf7,_0x1cb520._0x388717)](getUsers),_0x32a01c=_0x1e9249[_0x28a00b(0x4d4,_0x1cb520._0x5d74c4,_0x1cb520._0x2e333e,_0x1cb520._0x8dea9f)](_0x3ab40d=>_0x3ab40d['id']===_0x9553d4);if(_0x24b149[_0x1ed207(0x181,0x123,_0x1cb520._0x386af4,_0x1cb520._0x1d0ecb)](_0x32a01c,-(0x4d4+0x4*-0x366+-0x1*-0x8c5))){if(_0x24b149['xqccV'](_0x24b149[_0x1ed207(0x16e,_0x1cb520._0x40a654,0x157,0x129)],_0x1ed207(0x187,0x16f,_0x1cb520._0xb41f7b,0x18e)))throw new Error(_0x28a00b(0x4a6,0x4ac,_0x1cb520._0xe735c8,_0x1cb520._0x267408)+_0x28a00b(0x52d,_0x1cb520._0x33550f,0x4eb,0x50e)+_0x9553d4);else{const _0x341271=_0x28c809[_0x28a00b(_0x1cb520._0x389dcc,0x48e,0x491,0x453)](_0x1e3f5f=>_0x1e3f5f[_0x1ed207(0xd8,0x106,0x11b,0x15e)]===_0x4a5ff1[_0x28a00b(0x4c3,0x48e,0x481,0x4ca)]);if(_0x341271)throw new _0x570d82(_0x28a00b(0x4fb,_0x1cb520._0x1c9246,_0x1cb520._0xa57733,0x507)+_0x255737[_0x28a00b(0x4af,0x476,0x481,_0x1cb520._0x1a9c1f)]+('\x27\x20already\x20'+_0x1ed207(0x199,_0x1cb520._0x50187d,_0x1cb520._0x5887ba,0x152)));}}const _0xfecdcf=_0x1e9249[_0x32a01c];function _0x28a00b(_0x1284ab,_0x27a75b,_0x341dff,_0xdb9b81){return _0x121f55(_0x1284ab,_0x27a75b-_0x281268._0x5093d8,_0x341dff-0x4d3,_0xdb9b81-0x148);}_0xfecdcf[_0x28a00b(0x4ad,0x437,0x485,0x4a5)+_0x28a00b(_0x1cb520._0x56115c,_0x1cb520._0x4d147a,0x4fa,_0x1cb520._0x1fe684)]=await _0x24b149[_0x1ed207(0x134,0x16f,0x168,0x1a1)](hashPassword,_0x590ea1),_0xfecdcf['updated_at']=new Date()[_0x1ed207(0x170,_0x1cb520._0x30ece9,_0x1cb520._0x32360e,_0x1cb520._0x58ce4d)+'g'](),await saveUsers(_0x1e9249);function _0x1ed207(_0x278dc2,_0x339874,_0x561714,_0x7230bb){return _0x121f55(_0x7230bb,_0x339874-0x6f,_0x561714-0x16d,_0x7230bb-0x30);}const _0x542b70={};_0x542b70[_0x28a00b(0x4ac,0x4f8,_0x1cb520._0x192a4c,0x517)]=_0xfecdcf['id'],_0x542b70['username']=_0xfecdcf[_0x28a00b(0x47b,0x489,_0x1cb520._0x4cec7a,0x492)],logger[_0x28a00b(_0x1cb520._0x9e4b3a,0x4ba,0x4af,_0x1cb520._0x2d2203)](_0x24b149[_0x1ed207(0x114,0x14e,_0x1cb520._0x638952,_0x1cb520._0x167252)],_0x542b70);const {password_hash:_0x45f080,..._0x5dce7c}=_0xfecdcf;return _0x5dce7c;}
|