@profoundlogic/coderflow-server 0.6.4 → 0.6.5
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/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/cleanup-users.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/grant-admin.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/list-roles.js +1 -1
- package/dist/lib/cli/list-users.js +1 -1
- package/dist/lib/cli/server-manager.js +1 -1
- package/dist/lib/cli/set-password.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 -1
- 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/ibmi-sync.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 -1
- 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/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 +1 -1
- package/dist/playwright.config.js +1 -1
- package/dist/playwright.task-terminal.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/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/environments.js +1 -1
- package/dist/web-ui/public/feedback-widget.js +1 -1
- package/dist/web-ui/public/file-selection-tree.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/ibmi-file-filter.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/permissions.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.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/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 +1 -1
package/dist/lib/teams.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x4d0be8,_0x1c6208){const _0x2c72b5={_0x1fdaf:0x266,_0x16843b:0x39c,_0x261365:0x319,_0x797d76:0x213,_0x1002d4:0x224,_0xa88cf:0x378,_0x500b9d:0x357,_0x5f21f8:0x3a0,_0x216dba:0x32a,_0x32acae:0x311,_0x52948e:0x29c,_0x1adf27:0x277,_0x1ca1d5:0x288,_0x162432:0x2b5,_0x1a35e9:0x263,_0x28be38:0x387,_0x463398:0x3e8},_0x57f5e6={_0x2762c6:0x198};function _0x5eb681(_0x5092e7,_0x1abc57,_0x154ce9,_0x4229ac){return _0x2dcd(_0x5092e7-0x2d6,_0x1abc57);}function _0x18566d(_0x5e42e8,_0x1e0161,_0x335634,_0x38f250){return _0x2dcd(_0x335634-_0x57f5e6._0x2762c6,_0x5e42e8);}const _0x2d6712=_0x4d0be8();while(!![]){try{const _0x4060d5=parseInt(_0x18566d(0x22f,0x21c,0x24e,_0x2c72b5._0x1fdaf))/(0x1d7f+-0x20ee+0x370)*(-parseInt(_0x5eb681(0x360,_0x2c72b5._0x16843b,0x392,_0x2c72b5._0x261365))/(-0x1*-0x167c+0x236d*-0x1+0xcf3))+-parseInt(_0x18566d(_0x2c72b5._0x797d76,0x259,_0x2c72b5._0x1002d4,0x20d))/(-0x2041*-0x1+0x6f3+-0x2731)+parseInt(_0x5eb681(_0x2c72b5._0xa88cf,0x389,0x3a6,0x3a5))/(0x102e+-0x816+-0x2f*0x2c)+parseInt(_0x5eb681(0x36f,_0x2c72b5._0x500b9d,_0x2c72b5._0x5f21f8,_0x2c72b5._0x216dba))/(-0x179d+-0x1a42+0x31e4)+parseInt(_0x5eb681(0x347,0x390,0x308,_0x2c72b5._0x32acae))/(0x12f9+0x527+0xc0d*-0x2)+parseInt(_0x18566d(_0x2c72b5._0x52948e,_0x2c72b5._0x1adf27,_0x2c72b5._0x1ca1d5,_0x2c72b5._0x162432))/(-0x4*-0xd+-0x593*-0x2+-0xdf*0xd)*(-parseInt(_0x18566d(0x252,0x252,0x27c,0x274))/(0x6ff+0x39+-0xb8*0xa))+-parseInt(_0x18566d(0x233,0x28f,0x272,_0x2c72b5._0x1a35e9))/(-0x4d9*-0x7+0xe69+-0x1*0x304f)*(-parseInt(_0x5eb681(0x3c1,0x383,_0x2c72b5._0x28be38,_0x2c72b5._0x463398))/(-0x1e05+0x2*0x80f+0xdf1));if(_0x4060d5===_0x1c6208)break;else _0x2d6712['push'](_0x2d6712['shift']());}catch(_0x486180){_0x2d6712['push'](_0x2d6712['shift']());}}}(_0x4cb1,0x5d71c+0xb3242*-0x1+0x43b8*0x3e));import{promises as _0x555b54}from'fs';import _0x493862 from'path';import{logger}from'./logger.js';import{DATA_DIR}from'./data-dir.js';const TEAMS_FILE=_0x493862[_0x5de922(-0x2f6,-0x2b6,-0x32d,-0x2e9)](DATA_DIR,_0x5de922(-0x2f0,-0x2cb,-0x323,-0x30e));let teamsCache=null;function _0x23fde2(_0x37d1e0,_0x3ac6a2,_0x363f9d,_0x5aec1d){const _0x395ae8={_0x53f66f:0x356};return _0x2dcd(_0x37d1e0-_0x395ae8._0x53f66f,_0x3ac6a2);}let teamsCacheMtime=null;export async function loadTeams(){const _0x218288={_0x57a988:0x173,_0x13ecc7:0x401,_0x44bf75:0x44b,_0x2c3b4f:0x398,_0x225e09:0x3a7,_0xa55f0d:0x37c,_0x13eb39:0x1ad,_0x279bf7:0x3ab,_0x117158:0x3c3,_0x4e3935:0x181,_0x519277:0x1ae,_0x794a0b:0x3bf,_0x288765:0x3cf,_0x54cfcb:0x3d6,_0x58de35:0x14f,_0x37522a:0x16d,_0x11e473:0x3f7,_0x27bc01:0x41b,_0x465c87:0x3f2,_0x51a33e:0x3e1,_0x556fc2:0x3b7,_0x3b6ec2:0x372,_0x499c77:0x3c5,_0x1c9ab0:0x3b7,_0x481964:0x195,_0x4f4612:0x3d9,_0x514240:0x3ce,_0x226b0f:0x398,_0x5ea64c:0x181,_0x9dbc45:0x106,_0x409648:0x403,_0x15c5d1:0x1b6,_0x4f3126:0x1dd,_0x5d317f:0x414,_0x441ba3:0x160,_0x25db41:0x17c,_0x2b77d6:0x140,_0x89102d:0x13a,_0x3d8db4:0xfe,_0x879a25:0x403,_0x33d287:0x404,_0x46cd84:0x3dd,_0x1fbc07:0x3cc,_0x15911c:0x3c5,_0x440a03:0x418,_0x5ed94e:0x425,_0x516771:0x3e3,_0x3ef746:0x3bf,_0x4a377a:0x1b3,_0x52946e:0x1dc,_0xa94735:0x1ef,_0x42134c:0x134,_0x5ef0b0:0x1a3,_0x2d1265:0x3eb,_0x3bf3ed:0x122,_0x1df75c:0x17e,_0x4e4d7d:0x123,_0x19248c:0x14b},_0xbb2bb6={_0x44808b:0x128,_0x56b14b:0x7e,_0x259993:0x6d0},_0x10e485={_0x23325f:0x75,_0x10a95e:0x47c},_0x36b886={'SQnkO':_0x1308e4(0x1f1,0x1ba,0x198,_0x218288._0x57a988),'EMYCA':_0x293b3c(0x426,_0x218288._0x13ecc7,0x418,_0x218288._0x44bf75),'OZEmK':_0x293b3c(0x39c,_0x218288._0x2c3b4f,_0x218288._0x225e09,_0x218288._0xa55f0d)+_0x1308e4(0x11f,0x145,0x154,0x105)+'le','XZvCT':function(_0x46ed1f,_0x5c1bb2){return _0x46ed1f===_0x5c1bb2;},'FLnhI':_0x1308e4(0x177,0x18c,0x172,_0x218288._0x13eb39),'yhWIy':function(_0x4f12e0,_0x242950){return _0x4f12e0===_0x242950;},'Dvrxh':'ENOENT','NeUSK':_0x293b3c(0x3c7,_0x218288._0x279bf7,_0x218288._0x117158,0x3f5),'UyNwL':_0x1308e4(0x183,0x19b,_0x218288._0x4e3935,_0x218288._0x519277)+_0x293b3c(_0x218288._0x794a0b,0x3b9,_0x218288._0x288765,_0x218288._0x54cfcb)+',\x20initiali'+_0x1308e4(_0x218288._0x58de35,0x149,0x100,_0x218288._0x37522a)+_0x293b3c(0x3fe,_0x218288._0x11e473,0x3e5,0x3f9),'KfZfr':function(_0x3c7d5d,_0x40b5b3){return _0x3c7d5d(_0x40b5b3);}};function _0x1308e4(_0x404d40,_0x2a240e,_0x5483b0,_0x12a22a){return _0x5de922(_0x404d40-_0x10e485._0x23325f,_0x5483b0,_0x5483b0-0x197,_0x2a240e-_0x10e485._0x10a95e);}function _0x293b3c(_0x38084c,_0x2f1709,_0x1689e8,_0x2e12cd){return _0x5de922(_0x38084c-_0xbb2bb6._0x44808b,_0x2f1709,_0x1689e8-_0xbb2bb6._0x56b14b,_0x1689e8-_0xbb2bb6._0x259993);}try{const _0x20c1da=await _0x555b54['stat'](TEAMS_FILE),_0x1beda=await _0x555b54[_0x293b3c(0x44e,0x440,0x409,_0x218288._0x27bc01)](TEAMS_FILE,_0x36b886[_0x293b3c(0x3e3,_0x218288._0x465c87,0x413,0x417)]),_0x46f831=JSON[_0x293b3c(_0x218288._0x51a33e,_0x218288._0x556fc2,0x39a,0x36c)](_0x1beda);teamsCache=_0x46f831[_0x293b3c(_0x218288._0x3b6ec2,_0x218288._0x499c77,0x3ba,_0x218288._0x1c9ab0)]||[],teamsCacheMtime=_0x20c1da[_0x1308e4(0x19b,0x196,0x1c9,_0x218288._0x481964)];const _0x15549d={};return _0x15549d[_0x293b3c(_0x218288._0x4f4612,_0x218288._0x514240,_0x218288._0x226b0f,0x3c0)]=teamsCache['length'],logger[_0x1308e4(0x1a7,_0x218288._0x37522a,_0x218288._0x5ea64c,0x130)](_0x36b886[_0x1308e4(0x157,0x147,0x186,_0x218288._0x9dbc45)],_0x15549d),teamsCache;}catch(_0x368401){if(_0x36b886[_0x293b3c(0x3e5,0x3f2,_0x218288._0x409648,0x401)](_0x36b886['FLnhI'],_0x36b886[_0x1308e4(0x1b9,_0x218288._0x15c5d1,_0x218288._0x4f3126,0x1e7)])){if(_0x36b886[_0x293b3c(_0x218288._0x5d317f,0x3ae,0x3ee,0x427)](_0x368401[_0x1308e4(0x19c,_0x218288._0x441ba3,_0x218288._0x25db41,0x176)],_0x36b886['Dvrxh'])){const _0x5b9a8a=_0x36b886[_0x1308e4(_0x218288._0x2b77d6,_0x218288._0x89102d,_0x218288._0x3d8db4,0x179)][_0x293b3c(_0x218288._0x879a25,_0x218288._0x33d287,_0x218288._0x46cd84,_0x218288._0x1fbc07)]('|');let _0x2fa6b7=-0x1*-0xd24+0x1*-0x248b+0x3*0x7cd;while(!![]){switch(_0x5b9a8a[_0x2fa6b7++]){case'0':logger[_0x293b3c(_0x218288._0x15911c,_0x218288._0x440a03,0x401,_0x218288._0x5ed94e)](_0x36b886[_0x293b3c(_0x218288._0x516771,0x3f1,_0x218288._0x3ef746,0x3c9)]);continue;case'1':teamsCacheMtime=null;continue;case'2':return teamsCache;case'3':await _0x36b886[_0x1308e4(0x195,_0x218288._0x4a377a,_0x218288._0x52946e,_0x218288._0xa94735)](saveTeams,teamsCache);continue;case'4':teamsCache=[];continue;}break;}}logger['error']('Failed\x20to\x20'+_0x1308e4(0x16b,_0x218288._0x42134c,0x17c,0x137),_0x368401);throw _0x368401;}else{const _0x51b65d=new _0x80bfc2(_0x1308e4(0x1da,_0x218288._0x5ef0b0,0x168,0x178)+_0x227ded+(_0x293b3c(0x41d,0x3f8,_0x218288._0x2d1265,0x405)+'d'));_0x51b65d[_0x1308e4(_0x218288._0x3bf3ed,0x160,_0x218288._0x1df75c,_0x218288._0x4e4d7d)]=_0x36b886[_0x1308e4(_0x218288._0x19248c,0x176,0x131,0x18b)];throw _0x51b65d;}}}export async function saveTeams(_0x4abe73){const _0x24ff26={_0x54b195:0x3e4,_0x17cf9e:0x445,_0x5092e0:0x40d,_0x5a5c5a:0x40b,_0x205107:0x3e5,_0x273f39:0x423,_0xdcd7eb:0x45e,_0x107e8a:0x417,_0x4fb361:0x3ed,_0x9d45ec:0x42f,_0x4ebf59:0x3fe,_0x1bb15d:0x459,_0x1f9b88:0x3eb,_0x5c92da:0x3a0,_0x5cd125:0x390,_0x3fc2d3:0x39c,_0x1ab5bc:0x3d0,_0x94de10:0x3e0,_0x4c886f:0x3f6,_0xcd77a4:0x3e9,_0x158edd:0x401,_0x14f5dc:0x407,_0x2e3ad0:0x455,_0x359c81:0x469,_0xbe099a:0x425,_0x71be4:0x3e1,_0x36b592:0x383,_0x58e6d0:0x3c6,_0x119de7:0x3c6,_0x3e7c2c:0x3e8,_0x9fc88:0x3c9,_0x563795:0x38b,_0x79fbd8:0x404,_0x5c2606:0x3a5,_0x3585bd:0x3ca,_0x1006ae:0x45c,_0x2df143:0x3ff,_0x363955:0x453,_0x3232bd:0x446,_0x159d23:0x478,_0x4f0b10:0x431,_0x5287a7:0x412,_0x1aa278:0x427,_0xeb3c0e:0x3f2,_0x3012bb:0x3ce,_0xbfee68:0x435,_0x4f1e17:0x3d2,_0x2fdb32:0x3e3,_0x2a37d5:0x3c2,_0x1d23ee:0x3db,_0x3e27a9:0x413,_0xd43934:0x3fd,_0x15e268:0x430,_0x7dc190:0x43a,_0x858b5e:0x3f4,_0x25d592:0x439,_0x1a6446:0x3db,_0x208ee4:0x3f3,_0x2612e0:0x402,_0x1adb05:0x3fc,_0x46c9ec:0x3ad,_0x154a63:0x3cb,_0x51fe35:0x3cf,_0x14b595:0x3a7,_0x3df05a:0x3a9,_0x2e7865:0x390,_0x3c7286:0x444,_0x435b67:0x3fa,_0x3f96be:0x422,_0x3cf41f:0x3ab,_0x2d4268:0x3d3,_0x163b87:0x3b3,_0x2883e6:0x3c3,_0x52ce44:0x418,_0x457964:0x421,_0x58fef5:0x3e6,_0xe88bc4:0x430,_0x3492c2:0x3ea,_0x9ad3e4:0x3a2,_0x258dd3:0x3b8,_0x2a9622:0x3b4,_0x1a037a:0x39f,_0x561ab3:0x465,_0x212596:0x459},_0x42195f={_0x271991:0xb4,_0x49cb05:0x6f1},_0x386173={};function _0x4a3064(_0x3933c4,_0x5d915f,_0x518292,_0x3464fe){return _0x23fde2(_0x3933c4- -0x1f,_0x3464fe,_0x518292-0x81,_0x3464fe-0x10b);}function _0x40e34d(_0xb67af4,_0x1469c8,_0x1a6c28,_0x234213){return _0x5de922(_0xb67af4-_0x42195f._0x271991,_0x1469c8,_0x1a6c28-0x44,_0x234213-_0x42195f._0x49cb05);}_0x386173[_0x40e34d(0x424,_0x24ff26._0x54b195,_0x24ff26._0x17cf9e,_0x24ff26._0x5092e0)]=_0x4a3064(_0x24ff26._0x5a5c5a,_0x24ff26._0x205107,0x44c,_0x24ff26._0x273f39)+'is\x20require'+'d',_0x386173['wxpvT']=_0x40e34d(_0x24ff26._0xdcd7eb,_0x24ff26._0x107e8a,_0x24ff26._0x4fb361,_0x24ff26._0x9d45ec),_0x386173['vLXZN']=function(_0x648018,_0x336906){return _0x648018===_0x336906;},_0x386173[_0x4a3064(0x412,0x3e9,_0x24ff26._0x4ebf59,_0x24ff26._0x1bb15d)]=_0x4a3064(_0x24ff26._0x4ebf59,0x3e4,_0x24ff26._0x1f9b88,0x3f3),_0x386173[_0x4a3064(0x3b7,_0x24ff26._0x5c92da,_0x24ff26._0x5cd125,_0x24ff26._0x3fc2d3)]=_0x40e34d(_0x24ff26._0x1ab5bc,0x3c8,_0x24ff26._0x94de10,0x3f1)+_0x4a3064(0x3ef,0x401,_0x24ff26._0x4c886f,0x3f6),_0x386173[_0x4a3064(_0x24ff26._0xcd77a4,0x3a6,_0x24ff26._0x158edd,_0x24ff26._0x14f5dc)]=_0x40e34d(_0x24ff26._0x2e3ad0,0x3db,_0x24ff26._0x359c81,_0x24ff26._0xbe099a);const _0x1e29ff=_0x386173;try{if(_0x1e29ff[_0x4a3064(0x3fb,0x3e7,0x3dc,0x3c2)](_0x1e29ff[_0x40e34d(_0x24ff26._0x273f39,0x43e,_0x24ff26._0x71be4,0x41e)],_0x40e34d(0x3a3,0x3e8,_0x24ff26._0x36b592,_0x24ff26._0x58e6d0))){if(!_0x136141['name']['trim']()){const _0x3a9fd5=new _0x4a56cd(_0x1e29ff[_0x40e34d(_0x24ff26._0x119de7,0x3e5,_0x24ff26._0x3e7c2c,_0x24ff26._0x5092e0)]);_0x3a9fd5[_0x4a3064(_0x24ff26._0x9fc88,_0x24ff26._0x563795,_0x24ff26._0x79fbd8,0x3b6)]=_0x40e34d(_0x24ff26._0x5c2606,_0x24ff26._0x3585bd,0x420,0x3dd);throw _0x3a9fd5;}if(_0x4ef4a6['some'](_0x348d0b=>_0x348d0b[_0x40e34d(0x469,0x41b,0x468,0x431)]===_0x4e11bf[_0x4a3064(0x425,0x453,0x43b,0x46a)])){const _0x531139=new _0x1a6bef(_0x40e34d(0x3d7,_0x24ff26._0x1006ae,_0x24ff26._0x2df143,0x417)+'\x27'+_0x5e2801[_0x40e34d(_0x24ff26._0x363955,_0x24ff26._0x3232bd,_0x24ff26._0x159d23,_0x24ff26._0x4f0b10)]+(_0x4a3064(0x3f4,_0x24ff26._0x5287a7,_0x24ff26._0x1aa278,0x3e8)+_0x40e34d(0x3d9,0x3f3,0x467,0x423)));_0x531139[_0x4a3064(_0x24ff26._0x9fc88,_0x24ff26._0x4ebf59,0x3e2,_0x24ff26._0xeb3c0e)]=_0x40e34d(_0x24ff26._0x3012bb,0x3a1,0x3a1,0x3a8);throw _0x531139;}}else{const _0x5b0011=_0x493862['dirname'](TEAMS_FILE),_0x3aafe3={};_0x3aafe3[_0x4a3064(0x429,_0x24ff26._0xbfee68,0x418,0x43f)]=!![],await _0x555b54[_0x4a3064(0x413,_0x24ff26._0x4f1e17,_0x24ff26._0xbe099a,_0x24ff26._0x2fdb32)](_0x5b0011,_0x3aafe3);const _0x72204a={};_0x72204a[_0x40e34d(0x400,0x3f2,_0x24ff26._0x2a37d5,_0x24ff26._0x1d23ee)]=_0x4abe73,await _0x555b54['writeFile'](TEAMS_FILE,JSON[_0x40e34d(_0x24ff26._0x3e27a9,_0x24ff26._0x79fbd8,_0x24ff26._0xd43934,_0x24ff26._0x15e268)](_0x72204a,null,0x23a4+-0x1a3c*-0x1+0x1*-0x3dde),_0x40e34d(_0x24ff26._0x1bb15d,_0x24ff26._0x7dc190,_0x24ff26._0x858b5e,_0x24ff26._0x25d592));const _0x1a1a32=await _0x555b54[_0x4a3064(_0x24ff26._0x1a6446,0x3f8,0x392,_0x24ff26._0x208ee4)](TEAMS_FILE);teamsCache=_0x4abe73,teamsCacheMtime=_0x1a1a32[_0x4a3064(0x3ff,_0x24ff26._0x2612e0,_0x24ff26._0x1adb05,0x3c3)];const _0x254805={};_0x254805[_0x4a3064(_0x24ff26._0x46c9ec,_0x24ff26._0x154a63,_0x24ff26._0x51fe35,0x387)]=_0x4abe73[_0x4a3064(_0x24ff26._0x14b595,_0x24ff26._0x3df05a,_0x24ff26._0x3585bd,_0x24ff26._0x2e7865)],logger[_0x40e34d(_0x24ff26._0x3c7286,_0x24ff26._0x435b67,0x43a,_0x24ff26._0x3f96be)](_0x1e29ff[_0x40e34d(_0x24ff26._0x3cf41f,_0x24ff26._0x2d4268,_0x24ff26._0x163b87,_0x24ff26._0x2883e6)],_0x254805);}}catch(_0x37aaad){if(_0x1e29ff['vLXZN'](_0x40e34d(0x448,0x402,0x45a,0x43a),_0x1e29ff['XrZob'])){const _0x12d229=new _0x49229b(_0x40e34d(0x441,0x432,0x427,_0x24ff26._0x52ce44)+_0x203fe9+(_0x40e34d(_0x24ff26._0x457964,_0x24ff26._0x58fef5,_0x24ff26._0xe88bc4,0x40c)+'d'));_0x12d229[_0x40e34d(_0x24ff26._0x3492c2,_0x24ff26._0x163b87,_0x24ff26._0x9ad3e4,0x3d5)]=_0x1e29ff[_0x40e34d(_0x24ff26._0x258dd3,0x42e,0x3c7,0x3fc)];throw _0x12d229;}else{logger[_0x4a3064(_0x24ff26._0x2a9622,0x3f4,0x38f,_0x24ff26._0x1a037a)](_0x40e34d(0x470,_0x24ff26._0x561ab3,_0x24ff26._0x212596,0x438)+'save\x20teams',_0x37aaad);throw _0x37aaad;}}}export async function getTeams(){const _0x2d3f33={_0x175df9:0x168,_0x2cbdb8:0x124,_0x5b5603:0x168,_0x2a0370:0x143,_0x578831:0x11b,_0x53b396:0xf9,_0x5ce306:0x132,_0x1a6e89:0xec,_0x469474:0x114,_0x5d7231:0x137,_0x16aa70:0xd4,_0x3bc95f:0xf2,_0x2acf8d:0x10e,_0x40684a:0x11b,_0x69fb3b:0x118,_0x2eeefa:0x13e,_0x4e837a:0x114,_0x54cbdb:0xf4,_0x22ca47:0xa4,_0x11abde:0xd1,_0x499824:0x150,_0xf9a489:0x185,_0x2d571c:0x107,_0x2fc615:0xdd,_0x3086e3:0x121,_0x5402be:0x187,_0xa78b76:0x11d,_0x38d2f9:0x12f,_0x51b182:0x11d,_0x322864:0x152,_0x1cb267:0x145,_0x4774b6:0x10e,_0x4a6208:0xff,_0x11834e:0x136,_0x547c08:0x13b,_0x11cfbf:0x10b},_0x558d14={_0xace85a:0xe},_0x386524={_0x370bca:0x1e1};function _0x5dfc4f(_0x1c0627,_0x4dc05e,_0x117786,_0x47447a){return _0x5de922(_0x1c0627-0x66,_0x1c0627,_0x117786-0x1c0,_0x47447a-_0x386524._0x370bca);}const _0x34d5c0={'xsPIT':_0x5dfc4f(-_0x2d3f33._0x175df9,-0x151,-_0x2d3f33._0x2cbdb8,-_0x2d3f33._0x5b5603),'YMKCG':_0x5dfc4f(-_0x2d3f33._0x2a0370,-_0x2d3f33._0x578831,-0x106,-_0x2d3f33._0x53b396)+_0x556b91(0xe7,0xd9,0xf1,_0x2d3f33._0x5ce306)+'d','rnJBc':_0x5dfc4f(-_0x2d3f33._0x1a6e89,-0x124,-0x16a,-0x133),'pvKMx':function(_0x51e087,_0x43676a){return _0x51e087===_0x43676a;},'OoEnd':_0x5dfc4f(-_0x2d3f33._0x469474,-0x103,-0x138,-_0x2d3f33._0x5d7231),'FOFqX':_0x5dfc4f(-0x13e,-_0x2d3f33._0x16aa70,-_0x2d3f33._0x3bc95f,-_0x2d3f33._0x2acf8d),'bbpha':function(_0x2e6e67){return _0x2e6e67();},'cxHNz':function(_0x4e0346,_0x473b7c){return _0x4e0346!==_0x473b7c;},'luhVA':function(_0x28d953){return _0x28d953();}};function _0x556b91(_0xb971c4,_0x19ccfa,_0x4bf343,_0x2c54a4){return _0x5de922(_0xb971c4-0x1d0,_0x19ccfa,_0x4bf343-_0x558d14._0xace85a,_0x4bf343-0x436);}try{if(_0x34d5c0['pvKMx'](_0x556b91(0x164,0x160,_0x2d3f33._0x40684a,_0x2d3f33._0x69fb3b),_0x556b91(_0x2d3f33._0x2eeefa,0x11a,0x111,0xe2))){const _0x1d8e9e=new _0x14cde8('Team\x20name\x20'+'\x27'+_0x549e90[_0x5dfc4f(-0x110,-0x11c,-_0x2d3f33._0x4e837a,-0xdf)]+(_0x5dfc4f(-_0x2d3f33._0x54cbdb,-0xca,-0x106,-0x110)+_0x5dfc4f(-_0x2d3f33._0x22ca47,-0xd7,-_0x2d3f33._0x11abde,-0xed)));_0x1d8e9e['code']=_0x34d5c0['xsPIT'];throw _0x1d8e9e;}else{const _0x37f749=await _0x555b54['stat'](TEAMS_FILE);if(!teamsCache||_0x37f749[_0x556b91(0x10d,0x181,_0x2d3f33._0x499824,_0x2d3f33._0xf9a489)]!==teamsCacheMtime){if(_0x34d5c0[_0x5dfc4f(-_0x2d3f33._0x2d571c,-0x12a,-_0x2d3f33._0x2fc615,-_0x2d3f33._0x3086e3)]!==_0x34d5c0[_0x556b91(0x11d,0x16e,0x159,_0x2d3f33._0x5402be)])return await _0x34d5c0[_0x5dfc4f(-_0x2d3f33._0xa78b76,-0x156,-0x161,-_0x2d3f33._0x38d2f9)](loadTeams);else{const _0x54d953=new _0x27c064(_0x34d5c0[_0x5dfc4f(-_0x2d3f33._0x51b182,-0x189,-_0x2d3f33._0x322864,-_0x2d3f33._0x1cb267)]);_0x54d953['code']=_0x34d5c0['rnJBc'];throw _0x54d953;}}}}catch(_0x154346){if(_0x34d5c0[_0x5dfc4f(-_0x2d3f33._0x4774b6,-_0x2d3f33._0x4a6208,-0x133,-0xfa)](_0x154346[_0x5dfc4f(-_0x2d3f33._0x2eeefa,-_0x2d3f33._0x11834e,-0x118,-_0x2d3f33._0x547c08)],_0x5dfc4f(-_0x2d3f33._0x4e837a,-0x161,-_0x2d3f33._0x11cfbf,-0x11d)))throw _0x154346;if(!teamsCache)return await _0x34d5c0['luhVA'](loadTeams);}return teamsCache;}function _0x4cb1(){const _0x485754=['DffnCva','DgvHBxm','mta1ntG1nuPdq0TPAa','vKfmsurbveLptG','DgvHBuLK','wKLPBKe','vxLoD0W','yMjWAge','zgvIDwC','DgvHBxmUANnVBG','nhWXFdb8m3WY','mZGZmJGYmfjOt25qAa','wgnxsfG','C3rHDa','C2f2zsb0zwfTCW','CIbVzIb0AgLZia','Ehfrv1G','u1fUA08','A3rmy0y','ihrOAxmGDgvHBq','vxnLCIaN','t29fBMq','ig5VDcbMB3vUza','u2f2zwqGDgvHBq','qw9Qsg8','ru5pru5u','y0nwEgi','whjAB2i','uKriBMq','zgvSzxrLzejPBG','u2PcENi','mZHiEM1KEMW','Aw5JBhvKzxm','CYb0BYbMAwXL','D3HWDLq','Du9Ozxq','C3bSAxq','C09dvNu','jYbHBhjLywr5ia','AgTAEgO','EvrVvKm','A2z1ruW','C3vIC3rY','yw92yLO','DgvHBsbSAxn0','DKXywK4','AM9PBG','BuPzDui','u3bjy0u','BxrPBwvnCW','jYbUB3qGzM91BG','zgPQq3K','zMLUza','EwHxsxK','vgvHBxmGzMLSzq','wKH4Agi','zePPEei','Aw5KzxHpzG','rK9gCvG','DxbKyxrLzf9HDa','y3HitNO','vgvHBsbUyw1Lia','vgvHBsaN','C3bSAwnL','Dg9tDhjPBMC','whbxq3G','rgvSzxrLzcb0zq','mJyXwMDdEM5T','wwfOsM0','BwTKAxi','AeXTvfy','DgvHBq','Aw5MBW','zxHPC3rZ','wfP2q1q','C0Doshi','ueLeC0C','mtm1mMvbyxDttq','s2zAzNi','q05TBuG','CMvHzezPBgu','rKXUAeK','zgvZy3jPChrPBW','ruHVsLy','ntq2nZbZEvf6Evy','tK9ux0zpvu5e','C3rYAw5NAwz5','BMfTzq','Exr4v2K','mtq3otfzrhDRDxC','ru1zq0e','CMvJDxjZAxzL','jYbPCYbUB3qGyq','qwHNs3y','rMfPBgvKihrVia','DxrMltG','zvHTyMO','uefrvg4','rfvqteLdqvrf','Bg9Hzcb0zwfTCW','ig1LBwjLCIbVzG','zMLUzeLUzgv4','AxmGCMvXDwLYzq','jYbPCYbHBhjLyq','D3PuBvi','tMvvu0S','wurTyxu','zhKGysbTzw1Izq','BM93','BgvUz3rO','nZe1mtG4nK9QrfDSva','zwjiufm','zKrJrKi','BwvTyMvYCW','ALfvyuu','y291BNq','BxmGzNjVBsbMAq','CgfYC2u','t1PfBuS','wwDXqw4','EMvKigvTChr5ia','sKnuAxq','zxjYB3i','BMLPre8','uhHZr00','qvzlBgO','r29pvxq','Cfb1q3e','txrcveK','DgvHBv8','tg9HzgvKihrLyq','vM5uvfK','y3jLyxrLzf9IEq','wu1lq0C','yMHvAvm','mtiYmNHnthroCG','DgvHBu5HBwu','ndi0nZmWmw9zDxDIvq','Dg9ju09tDhjPBG','DhjPBq','vKHwEuO','wuzRqui','wNHVt08','y29Kzq','BMvrthe','tLv0t2u','DwjLrLq','rfvbBu8'];_0x4cb1=function(){return _0x485754;};return _0x4cb1();}export async function getTeamById(_0x48ca16){const _0x50e4bf={_0x1f9509:0x14,_0xa85b29:0x1c,_0x5b3eb5:0x6,_0x213ec9:0xa,_0x514144:0x31},_0x353175={_0x1c98f3:0xc9,_0x802b8:0x471};function _0x56f6c0(_0x282a38,_0x4477e7,_0xb88d7b,_0x2dee2c){return _0x5de922(_0x282a38-_0x353175._0x1c98f3,_0x2dee2c,_0xb88d7b-0xe5,_0x282a38-_0x353175._0x802b8);}function _0x56b5d2(_0x8efc85,_0x51ffe9,_0x230b00,_0x386adf){return _0x23fde2(_0x51ffe9- -0x427,_0x230b00,_0x230b00-0x2a,_0x386adf-0xdd);}const _0x349bae={'ktLcF':function(_0x347173){return _0x347173();}},_0x39d084=await _0x349bae[_0x56b5d2(_0x50e4bf._0x1f9509,-0x28,-0x4b,_0x50e4bf._0xa85b29)](getTeams);return _0x39d084[_0x56b5d2(0x36,-_0x50e4bf._0x5b3eb5,-_0x50e4bf._0x213ec9,-_0x50e4bf._0x514144)](_0x5b18ff=>_0x5b18ff['id']===_0x48ca16)||null;}export async function getTeamsByUserId(_0xdd14b7){const _0x43c06b={_0x24d33e:0x1e2,_0x3c3d0c:0x247,_0x572532:0x22b},_0x5443b3={_0x11b091:0x185,_0x3a7974:0x1f2,_0x20b212:0x5a3},_0x273026={_0x31ce86:0x9d};function _0x259e02(_0xdf1ec0,_0x3f3754,_0x89b8f4,_0x37f7aa){return _0x5de922(_0xdf1ec0-0xd9,_0x3f3754,_0x89b8f4-_0x273026._0x31ce86,_0x37f7aa-0x524);}const _0x1b166f={'SjBzr':function(_0x1a31fb){return _0x1a31fb();}};function _0x18a2d3(_0x2a2c14,_0xf492e9,_0x95e0ee,_0x17c976){return _0x5de922(_0x2a2c14-_0x5443b3._0x11b091,_0x95e0ee,_0x95e0ee-_0x5443b3._0x3a7974,_0x17c976-_0x5443b3._0x20b212);}const _0x51cfff=await _0x1b166f[_0x259e02(_0x43c06b._0x24d33e,_0x43c06b._0x3c3d0c,0x21b,_0x43c06b._0x572532)](getTeams);return _0x51cfff['filter'](_0x150420=>_0x150420[_0x259e02(0x1ad,0x22f,0x22f,0x1ea)][_0x18a2d3(0x2ea,0x2b7,0x274,0x2ac)](_0xdd14b7));}export async function createTeam(_0x58c9a6){const _0x5a3145={_0x5c5a95:0x3f2,_0x20c955:0x3ea,_0x1025ea:0x487,_0x31c98a:0x3ca,_0x3b2d21:0x40a,_0x5f504f:0x84,_0x1f84f6:0x5b,_0x59839a:0x4b,_0xcd4994:0x4a3,_0x33046a:0x467,_0x1541c5:0x6a,_0x4b85ed:0x2c,_0x1c9ad5:0x3f4,_0x541cda:0x3d7,_0x5f0e65:0x7f,_0x6f492f:0x4c,_0x5728cf:0x37,_0x13ad90:0x4a,_0x14e6e0:0x435,_0x325b0d:0x415,_0x50c283:0x3cc,_0x333833:0x40a,_0x42938c:0x42d,_0x438242:0x9e,_0x234a82:0xb8,_0x30fc44:0x42d,_0x20626b:0x3ff,_0x374fc9:0x497,_0x104c2a:0x470,_0x41a10c:0x47,_0x14891d:0x78,_0x128997:0x27,_0x569178:0x463,_0x1e3408:0x43f,_0x446c81:0x3c,_0x141432:0x39,_0xed750d:0x3fc,_0xf14766:0x44b,_0x3e1a75:0x412,_0x439939:0x98,_0x282f27:0x50,_0x1c3f8d:0x40e,_0x473156:0x448,_0x4ef88d:0xca,_0x162ac8:0xcf,_0x35770a:0xb8,_0x232f88:0xc3,_0x96f0e1:0xc9,_0x15d1c7:0x415,_0x50ef61:0x403,_0x4956af:0xe7,_0x8e7884:0xe5,_0xf0dfa5:0xbb,_0x41ba8b:0x41c,_0x1883eb:0x442,_0x2c9e95:0x483,_0x3b930e:0x69,_0x273cd9:0x3e,_0x75e671:0x420,_0x3c6e27:0x459,_0x25dda9:0x433,_0x470e2c:0xa5,_0x1f402c:0x83,_0x6fbd9e:0xc0},_0x37ee9f={_0x2411b6:0x8d,_0x1ee925:0x719},_0x4d8a20={_0x56c5ac:0x480},_0x53a79a={'ebHPS':'NOT_FOUND','dJixB':function(_0x3b065a){return _0x3b065a();},'cCVxb':_0x5559a9(0x3ce,0x3c6,0x3fb,0x3f4),'zSDcB':_0x5559a9(0x3c7,_0x5a3145._0x5c5a95,_0x5a3145._0x20c955,0x3f0),'NUtOe':_0x5559a9(0x3f7,_0x5a3145._0x1025ea,0x43f,0x448)+_0x5559a9(0x3c3,_0x5a3145._0x31c98a,0x3d4,0x410)+'d','BNkqZ':'VALIDATION','PIDsG':'HxIQi','hLmTV':_0x5559a9(0x3be,0x3a8,0x3d0,_0x5a3145._0x3b2d21),'xqQWX':function(_0x34799b,_0x1af388){return _0x34799b(_0x1af388);}},_0x1400ca=await _0x53a79a[_0x506e32(-_0x5a3145._0x5f504f,-_0x5a3145._0x1f84f6,-0x8e,-_0x5a3145._0x59839a)](getTeams);if(!_0x58c9a6[_0x5559a9(0x485,_0x5a3145._0xcd4994,0x459,_0x5a3145._0x33046a)]||!_0x58c9a6[_0x506e32(-_0x5a3145._0x1541c5,-0x3c,-_0x5a3145._0x4b85ed,-0x6d)][_0x5559a9(_0x5a3145._0x1c9ad5,0x3e4,0x3f9,0x3df)]()){if(_0x53a79a[_0x5559a9(0x414,0x451,0x41c,_0x5a3145._0x541cda)]===_0x53a79a['zSDcB']){const _0x532f04=new _0x4b67b4(_0x506e32(-0x41,-_0x5a3145._0x5f0e65,-_0x5a3145._0x6f492f,-0xb3)+_0x3bca73+(_0x506e32(-0x31,-_0x5a3145._0x5728cf,-_0x5a3145._0x13ad90,-0x32)+_0x506e32(-0xa2,-0xc3,-0x7f,-0xe4)+_0x5559a9(_0x5a3145._0x14e6e0,0x454,_0x5a3145._0x325b0d,_0x5a3145._0x50c283)));_0x532f04[_0x5559a9(0x3ea,_0x5a3145._0x333833,0x3fd,_0x5a3145._0x42938c)]=_0x53a79a[_0x506e32(-_0x5a3145._0x438242,-_0x5a3145._0x234a82,-0x7d,-0xf4)];throw _0x532f04;}else{const _0x1fc870=new Error(_0x53a79a[_0x5559a9(_0x5a3145._0x30fc44,0x3bd,_0x5a3145._0x20626b,0x42b)]);_0x1fc870['code']=_0x53a79a['BNkqZ'];throw _0x1fc870;}}if(_0x1400ca['some'](_0x538a4d=>_0x538a4d[_0x5559a9(0x428,0x474,0x459,0x468)]===_0x58c9a6[_0x5559a9(0x447,0x426,0x459,0x4a3)])){if(_0x53a79a[_0x5559a9(0x45b,_0x5a3145._0x374fc9,0x44e,_0x5a3145._0x104c2a)]===_0x53a79a[_0x506e32(-0x73,-_0x5a3145._0x41a10c,-_0x5a3145._0x14891d,-_0x5a3145._0x128997)]){const _0x183747=new Error(_0x5559a9(_0x5a3145._0x569178,0x44a,_0x5a3145._0x1e3408,0x40a)+'\x27'+_0x58c9a6[_0x506e32(-0x6c,-_0x5a3145._0x446c81,-0x27,-_0x5a3145._0x141432)]+(_0x5559a9(_0x5a3145._0xed750d,0x3fc,0x428,_0x5a3145._0xf14766)+_0x5559a9(0x407,0x43e,0x44b,_0x5a3145._0x3e1a75)));_0x183747[_0x506e32(-0xcc,-_0x5a3145._0x439939,-0xc1,-_0x5a3145._0x282f27)]=_0x53a79a[_0x5559a9(_0x5a3145._0x1c3f8d,0x446,_0x5a3145._0x473156,0x40f)];throw _0x183747;}else{const _0x3df68e=new _0x237871('Team\x20\x27'+_0x403843+('\x27\x20not\x20foun'+'d'));_0x3df68e[_0x506e32(-_0x5a3145._0x4ef88d,-_0x5a3145._0x439939,-_0x5a3145._0x162ac8,-0xbb)]=_0x53a79a[_0x506e32(-0xeb,-_0x5a3145._0x35770a,-_0x5a3145._0x232f88,-_0x5a3145._0x96f0e1)];throw _0x3df68e;}}const _0x453bf4=_0x58c9a6['members']||[],_0x942d9d=new Date()[_0x5559a9(0x3de,_0x5a3145._0x15d1c7,0x3f8,_0x5a3145._0x50ef61)+'g'](),_0x3021d8={'id':_0x506e32(-0x9f,-0xa6,-_0x5a3145._0x4956af,-_0x5a3145._0x8e7884)+Date[_0x506e32(-0xd5,-_0x5a3145._0xf0dfa5,-0x95,-0xdd)]()+'_'+Math['random']()[_0x5559a9(_0x5a3145._0x41ba8b,0x427,_0x5a3145._0x1883eb,_0x5a3145._0x2c9e95)](0x1d41*-0x1+-0x140b+-0xc5c*-0x4)[_0x506e32(-0x7f,-_0x5a3145._0x3b930e,-0x1f,-_0x5a3145._0x273cd9)](0xad0+-0x42d*-0x7+-0x2809,0x26f*-0x7+0x22d8+-0x11c6),'name':_0x58c9a6[_0x5559a9(0x444,_0x5a3145._0x75e671,_0x5a3145._0x3c6e27,0x413)],'description':_0x58c9a6['descriptio'+'n']||'','members':_0x453bf4,'created_at':_0x942d9d,'created_by':_0x58c9a6[_0x5559a9(_0x5a3145._0x25dda9,0x401,0x3f2,0x3af)]||null,'updated_at':_0x942d9d};function _0x506e32(_0x3084c0,_0x196446,_0x447956,_0x241ce0){return _0x23fde2(_0x196446- -_0x4d8a20._0x56c5ac,_0x447956,_0x447956-0x5c,_0x241ce0-0x1b6);}_0x1400ca['push'](_0x3021d8);function _0x5559a9(_0x3b4b20,_0x56f546,_0x3a606f,_0x23af4b){return _0x5de922(_0x3b4b20-0x177,_0x56f546,_0x3a606f-_0x37ee9f._0x2411b6,_0x3a606f-_0x37ee9f._0x1ee925);}return await _0x53a79a[_0x506e32(-_0x5a3145._0x470e2c,-_0x5a3145._0x1f402c,-_0x5a3145._0x6fbd9e,-0x6f)](saveTeams,_0x1400ca),_0x3021d8;}function _0x2dcd(_0x12f24a,_0x5ef0b7){_0x12f24a=_0x12f24a-(-0x1*0x50d+-0x74d+0xcbe);const _0x2b3ac9=_0x4cb1();let _0x122d23=_0x2b3ac9[_0x12f24a];if(_0x2dcd['xhCnzf']===undefined){var _0x2e2bcd=function(_0xcdbab2){const _0x50fa9b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1d3b86='',_0x4019ea='';for(let _0x3f78c0=0x469*0x7+-0x11bd*0x1+-0xd22,_0x3742ca,_0x45fcea,_0x22de1b=-0x2581*-0x1+-0x2059+-0x528;_0x45fcea=_0xcdbab2['charAt'](_0x22de1b++);~_0x45fcea&&(_0x3742ca=_0x3f78c0%(0xa2*0xa+0xef*0x13+-0x180d*0x1)?_0x3742ca*(0x2*-0x568+-0x20b4+0x15e2*0x2)+_0x45fcea:_0x45fcea,_0x3f78c0++%(0x1cf*-0x13+-0x1732+0x3993))?_0x1d3b86+=String['fromCharCode'](-0x23fb*0x1+0xf4*-0x25+0x241f*0x2&_0x3742ca>>(-(0xab5+-0x3*0xb53+0x1746)*_0x3f78c0&0x1e42+0x1fb5+-0x3df1)):0xd8b+0xda*-0x5+-0x949){_0x45fcea=_0x50fa9b['indexOf'](_0x45fcea);}for(let _0x31cc39=-0x2c2+-0x2194+0x122b*0x2,_0x52d272=_0x1d3b86['length'];_0x31cc39<_0x52d272;_0x31cc39++){_0x4019ea+='%'+('00'+_0x1d3b86['charCodeAt'](_0x31cc39)['toString'](-0x11*-0x1bd+0xa7a+0xd*-0x313))['slice'](-(0x16b5+0x9ea+0xadf*-0x3));}return decodeURIComponent(_0x4019ea);};_0x2dcd['RgsIrz']=_0x2e2bcd,_0x2dcd['zcWhgJ']={},_0x2dcd['xhCnzf']=!![];}const _0x172816=_0x2b3ac9[0x4a0+0x52*-0x1c+0x458],_0x1ed628=_0x12f24a+_0x172816,_0x334b6c=_0x2dcd['zcWhgJ'][_0x1ed628];return!_0x334b6c?(_0x122d23=_0x2dcd['RgsIrz'](_0x122d23),_0x2dcd['zcWhgJ'][_0x1ed628]=_0x122d23):_0x122d23=_0x334b6c,_0x122d23;}export async function updateTeam(_0x44bf3a,_0x86cbc5){const _0x313ed7={_0x5ec7a4:0x2b8,_0x3a40d5:0x2ab,_0x14baa1:0x243,_0x4e8b00:0x30c,_0xe052be:0x292,_0x3d0e30:0x25e,_0x4d57db:0x1b3,_0xcb058f:0x1ec,_0x5422ec:0x160,_0x57ea8a:0x15c,_0xa80f6c:0x19c,_0x5f49fe:0x252,_0x55fa98:0x218,_0x45727e:0x1fd,_0x403c69:0x246,_0x1f776d:0x209,_0x1c2bf2:0x26b,_0x2828da:0x251,_0x116f1c:0x19b,_0x32ff0d:0x1e6,_0x164c81:0x1e3,_0xb0129d:0x1f6,_0x190ff4:0x1de,_0x44030d:0x1d2,_0x1154aa:0x1b4,_0x1b44d1:0x195,_0x7686f5:0x2f2,_0x48bd5c:0x2b4,_0xe09ca7:0x2d7,_0x390baf:0x2b9,_0x44970a:0x182,_0x1672c8:0x15c,_0x40dc04:0x21a,_0x287b82:0x1cf,_0x3a0623:0x14a,_0x2974e1:0x234,_0x2d3aa0:0x1c5,_0x53768e:0x1ff,_0xe57d18:0x1bb,_0x1099ca:0x1bd,_0xb9c79a:0x203,_0x882f16:0x1e9,_0x39e74e:0x27b,_0x4dbd58:0x2bb,_0x291359:0x1e4,_0x4ef822:0x288,_0x3ed9bf:0x27f,_0x477c4d:0x182,_0x1e7acf:0x187,_0x18d2a3:0x19a,_0x2a82cd:0x190,_0x42defc:0x18b,_0x5c9fd9:0x16e,_0x24e4dd:0x1dc,_0x5abe8f:0x207,_0x4b82db:0x269,_0x4ba4d0:0x1c6,_0x20abe6:0x17d,_0x4d17de:0x210,_0x262a78:0x1de,_0x12fa75:0x19a,_0x1ac904:0x1b0,_0x15f2ff:0x2f0,_0x131c4e:0x187,_0x220a2b:0x14e,_0x1504ba:0x16f,_0x3546bc:0x1cc,_0x433666:0x1fc,_0xd0edfa:0x230,_0x68cf63:0x238,_0x2f23f8:0x214,_0x230573:0x25d,_0x27b345:0x283,_0x4bd57c:0x2fd,_0xa9f7b6:0x2e8,_0x60021c:0x276,_0x3d0759:0x25b,_0x5ae427:0x280},_0x5ca92d={_0x5ee2e0:0x64},_0x4ab74d={_0x29cd94:0xa4};function _0x2dd74a(_0x4cde0c,_0xb01fe9,_0x485808,_0x3035ec){return _0x5de922(_0x4cde0c-0x161,_0xb01fe9,_0x485808-_0x4ab74d._0x29cd94,_0x485808-0x597);}const _0x2eb989={'XcWHX':_0x2dd74a(_0x313ed7._0x5ec7a4,_0x313ed7._0x3a40d5,0x283,_0x313ed7._0x14baa1),'sOCVu':_0x2dd74a(0x2bf,_0x313ed7._0x4e8b00,0x2d5,_0x313ed7._0xe052be),'nJloV':function(_0x2d5648){return _0x2d5648();},'FTeyq':function(_0x1af871,_0x398d9d){return _0x1af871!==_0x398d9d;},'yByQS':function(_0x37d3ad,_0x40ba79){return _0x37d3ad!==_0x40ba79;},'wzTmR':function(_0x5230b2,_0x56b8a3){return _0x5230b2!==_0x56b8a3;},'EHoJV':_0x2dd74a(_0x313ed7._0x3d0e30,0x2aa,0x298,0x251),'niiDO':_0x2422f2(-_0x313ed7._0x4d57db,-0x1ae,-0x1ea,-_0x313ed7._0xcb058f),'YDmau':_0x2422f2(-_0x313ed7._0x5422ec,-_0x313ed7._0x57ea8a,-_0x313ed7._0xa80f6c,-0x156)+_0x2dd74a(0x224,0x236,_0x313ed7._0x5f49fe,0x22d)+'d','GoOUt':_0x2422f2(-0x244,-_0x313ed7._0x55fa98,-_0x313ed7._0x45727e,-0x1e2),'kfuEL':_0x2dd74a(_0x313ed7._0x403c69,0x219,0x24e,0x25e),'tQMqP':function(_0xae67cf,_0x5567c6){return _0xae67cf(_0x5567c6);}},_0x2dedc9=await _0x2eb989['nJloV'](getTeams);function _0x2422f2(_0xde25cb,_0x49175b,_0xda989d,_0x504af4){return _0x5de922(_0xde25cb-_0x5ca92d._0x5ee2e0,_0xde25cb,_0xda989d-0x1aa,_0xda989d-0x13e);}const _0x3d6448=_0x2dedc9[_0x2dd74a(_0x313ed7._0x1f776d,_0x313ed7._0x1c2bf2,_0x313ed7._0x2828da,0x20b)](_0x3a50f3=>_0x3a50f3['id']===_0x44bf3a);if(_0x3d6448===-(0x169b+-0x81d+-0xe7d)){const _0x1031a5=new Error(_0x2422f2(-0x1a2,-0x1b6,-_0x313ed7._0x116f1c,-0x15d)+_0x44bf3a+(_0x2422f2(-0x182,-0x1ee,-0x1a7,-_0x313ed7._0x32ff0d)+'d'));_0x1031a5[_0x2422f2(-_0x313ed7._0x164c81,-_0x313ed7._0xb0129d,-_0x313ed7._0x190ff4,-0x223)]=_0x2eb989[_0x2422f2(-_0x313ed7._0x44030d,-0x1b4,-_0x313ed7._0x1154aa,-_0x313ed7._0x1b44d1)];throw _0x1031a5;}const _0x422c07=_0x2dedc9[_0x3d6448];if(_0x2eb989['FTeyq'](_0x86cbc5[_0x2dd74a(_0x313ed7._0x7686f5,_0x313ed7._0x48bd5c,_0x313ed7._0xe09ca7,_0x313ed7._0x390baf)],undefined)&&_0x2eb989['yByQS'](_0x86cbc5[_0x2422f2(-0x196,-0x1c6,-_0x313ed7._0x44970a,-_0x313ed7._0x1672c8)],_0x422c07['name'])){if(_0x2eb989[_0x2422f2(-0x229,-_0x313ed7._0x40dc04,-0x205,-0x21f)](_0x2eb989[_0x2422f2(-_0x313ed7._0x287b82,-_0x313ed7._0x3a0623,-0x186,-0x1ae)],_0x2eb989[_0x2dd74a(0x282,_0x313ed7._0x2974e1,0x267,0x2ad)])){if(!_0x86cbc5[_0x2422f2(-0x19f,-0x1b5,-0x182,-0x145)][_0x2422f2(-0x1f5,-_0x313ed7._0x2d3aa0,-0x1e2,-_0x313ed7._0x53768e)]()){const _0x36e951=new Error(_0x2eb989[_0x2422f2(-_0x313ed7._0xe57d18,-_0x313ed7._0x1099ca,-_0x313ed7._0xb9c79a,-_0x313ed7._0x882f16)]);_0x36e951[_0x2dd74a(0x2bc,0x2a4,_0x313ed7._0x39e74e,_0x313ed7._0x4dbd58)]='VALIDATION';throw _0x36e951;}if(_0x2dedc9['some'](_0x666e13=>_0x666e13['name']===_0x86cbc5[_0x2422f2(-0x19c,-0x170,-0x182,-0x199)])){if(_0x2422f2(-_0x313ed7._0x291359,-0x1cb,-0x1aa,-0x171)!==_0x2eb989[_0x2dd74a(_0x313ed7._0x4ef822,_0x313ed7._0x3ed9bf,0x26a,0x257)]){const _0x2a36cb=new Error('Team\x20name\x20'+'\x27'+_0x86cbc5[_0x2422f2(-0x149,-0x18c,-_0x313ed7._0x477c4d,-_0x313ed7._0x1e7acf)]+('\x27\x20already\x20'+_0x2422f2(-_0x313ed7._0x18d2a3,-0x17e,-_0x313ed7._0x2a82cd,-_0x313ed7._0x42defc)));_0x2a36cb['code']=_0x2eb989[_0x2422f2(-0x1ab,-_0x313ed7._0x5c9fd9,-0x1b0,-_0x313ed7._0x24e4dd)];throw _0x2a36cb;}else{const _0x32f7f6=new _0x638d65(_0x2422f2(-0x1a3,-0x1a5,-0x19c,-0x186)+_0x2422f2(-0x1cc,-0x220,-_0x313ed7._0x5abe8f,-0x1ce)+'d');_0x32f7f6['code']=_0x2eb989[_0x2dd74a(0x2ab,_0x313ed7._0x4b82db,0x28c,0x274)];throw _0x32f7f6;}}}else{const _0x2deb2b=new _0x4d7e8b(_0x2422f2(-_0x313ed7._0x44970a,-_0x313ed7._0x4ba4d0,-0x19b,-_0x313ed7._0x20abe6)+_0x131c64+('\x27\x20not\x20foun'+'d'));_0x2deb2b[_0x2422f2(-0x1e7,-_0x313ed7._0x4d17de,-_0x313ed7._0x262a78,-0x1f0)]=_0x2eb989[_0x2422f2(-0x1b0,-_0x313ed7._0x12fa75,-_0x313ed7._0x1154aa,-0x1c3)];throw _0x2deb2b;}}if(_0x86cbc5[_0x2422f2(-0x1be,-_0x313ed7._0x1ac904,-0x182,-0x193)]!==undefined)_0x422c07[_0x2dd74a(_0x313ed7._0x15f2ff,0x2ed,_0x313ed7._0xe09ca7,0x297)]=_0x86cbc5['name'];if(_0x86cbc5[_0x2422f2(-0x178,-0x1c0,-_0x313ed7._0x131c4e,-_0x313ed7._0x220a2b)+'n']!==undefined)_0x422c07['descriptio'+'n']=_0x86cbc5[_0x2422f2(-0x1aa,-_0x313ed7._0x1504ba,-_0x313ed7._0x131c4e,-0x181)+'n'];if(_0x86cbc5[_0x2422f2(-_0x313ed7._0x3546bc,-0x1e0,-_0x313ed7._0x433666,-_0x313ed7._0xd0edfa)]!==undefined)_0x422c07[_0x2dd74a(_0x313ed7._0x68cf63,_0x313ed7._0x2f23f8,_0x313ed7._0x230573,0x282)]=_0x86cbc5[_0x2dd74a(_0x313ed7._0x27b345,0x235,_0x313ed7._0x230573,0x24d)];return _0x422c07[_0x2dd74a(_0x313ed7._0x4bd57c,0x2f0,0x2bb,_0x313ed7._0xa9f7b6)]=new Date()[_0x2dd74a(0x2ba,0x23a,_0x313ed7._0x60021c,0x2ae)+'g'](),await _0x2eb989[_0x2dd74a(_0x313ed7._0x5f49fe,_0x313ed7._0x3d0759,_0x313ed7._0x5ae427,0x2ca)](saveTeams,_0x2dedc9),_0x422c07;}export async function deleteTeam(_0x3aeb68,_0xf85659,_0x55aeb5){const _0x5b163c={_0x3b0794:0xc5,_0x521077:0xc9,_0x8499a0:0x150,_0x59b025:0x108,_0x5da026:0xdb,_0x23e7f4:0xfe,_0x78666b:0xb6,_0x563da5:0xf9,_0x53c216:0x88,_0x2a3464:0x2e9,_0x2ac8ca:0x31c,_0x47ea1e:0x2f6,_0x3d120e:0x2e6,_0x24c656:0x309,_0x33379c:0x2d3,_0x41cfcd:0xdf,_0x502f9c:0x2d0,_0x38e4f6:0x349,_0x4b64ef:0x34f,_0x3c619b:0x317,_0x178755:0x2e0,_0x46ef14:0x30f,_0x4d71f5:0x95,_0xb3c219:0xb1,_0x43fec1:0x6b,_0x234e05:0x2a8,_0x18c9e0:0x2e2,_0xe64c7d:0x2b6,_0x3df3e2:0xd0,_0xae8764:0x8d,_0x45ef51:0xb4,_0x1b9d2a:0x3b,_0x64e965:0xc5,_0xb64d43:0x2d6,_0x357b79:0x133,_0x41dca2:0xd3,_0x11109e:0xbb,_0x15ff20:0xeb,_0x5dfbef:0xb2,_0x1a3fd4:0x30b,_0x718781:0x2cc,_0x180ba4:0xda,_0x5b161e:0xf8,_0x25272c:0x2fc,_0x2fa39c:0x317},_0x8c265a={_0x4871ec:0x64},_0x409b40={_0x2d288f:0xe};function _0xf2be7(_0x5cd34f,_0x3f116b,_0x52cd69,_0x49cdde){return _0x23fde2(_0x49cdde- -0x115,_0x3f116b,_0x52cd69-_0x409b40._0x2d288f,_0x49cdde-0x74);}const _0x49c352={'PAQTn':'Failed\x20to\x20'+_0x5b6ddb(_0x5b163c._0x3b0794,0xf3,_0x5b163c._0x521077,0xe0),'ytxWi':function(_0x418f81){return _0x418f81();},'HqYXd':function(_0x1c1ea0,_0x152f54){return _0x1c1ea0===_0x152f54;},'Ywxbj':function(_0x579140,_0x9595ea){return _0x579140(_0x9595ea);},'ZHxhb':function(_0x5f29f1,_0x59d888){return _0x5f29f1!==_0x59d888;},'jQUaE':_0x5b6ddb(0x114,_0x5b163c._0x8499a0,_0x5b163c._0x59b025,_0x5b163c._0x5da026),'RDHnd':_0x5b6ddb(_0x5b163c._0x23e7f4,0x11b,_0x5b163c._0x78666b,0xfb),'CNmmH':function(_0x1de9f9,_0x3ea9bf,_0xce2a4f){return _0x1de9f9(_0x3ea9bf,_0xce2a4f);},'ujdgM':_0x5b6ddb(_0x5b163c._0x563da5,0xfd,0x13c,0x10c)+'am'},_0x490301=await _0x49c352[_0xf2be7(0x2ea,0x343,0x318,0x330)](getTeams),_0x35005e=_0x490301[_0x5b6ddb(_0x5b163c._0x53c216,0x68,0xc3,0x78)](_0x29244c=>_0x29244c['id']===_0x3aeb68);if(_0x49c352['HqYXd'](_0x35005e,-(-0x4*-0x8dd+-0x2432+0xbf))){const _0x4742ed=new Error(_0xf2be7(_0x5b163c._0x2a3464,0x314,0x32f,0x316)+_0x3aeb68+(_0xf2be7(_0x5b163c._0x2ac8ca,0x2ca,0x32d,0x30a)+'d'));_0x4742ed[_0xf2be7(_0x5b163c._0x47ea1e,_0x5b163c._0x3d120e,_0x5b163c._0x24c656,_0x5b163c._0x33379c)]=_0x5b6ddb(0x10c,_0x5b163c._0x41cfcd,0x141,0xcf);throw _0x4742ed;}const _0x255a67=_0x490301[_0x35005e];function _0x5b6ddb(_0x16a99e,_0xdf8235,_0x553c74,_0x1fe3d0){return _0x5de922(_0x16a99e-_0x8c265a._0x4871ec,_0x553c74,_0x553c74-0x3f,_0x16a99e-0x3ce);}_0x490301[_0xf2be7(_0x5b163c._0x502f9c,_0x5b163c._0x38e4f6,_0x5b163c._0x4b64ef,_0x5b163c._0x3c619b)](_0x35005e,0x2*-0xcaa+-0x248c+-0x1ff*-0x1f),await _0x49c352['Ywxbj'](saveTeams,_0x490301);let _0x5df0bc=0x3*0xc34+-0x93b*-0x1+-0x1*0x2dd7;if(_0xf85659){if(_0x49c352[_0xf2be7(_0x5b163c._0x3c619b,_0x5b163c._0x178755,0x30c,_0x5b163c._0x46ef14)](_0x49c352[_0x5b6ddb(_0x5b163c._0x4d71f5,_0x5b163c._0xb3c219,_0x5b163c._0x43fec1,0x58)],_0x49c352[_0xf2be7(0x29c,_0x5b163c._0x234e05,_0x5b163c._0x18c9e0,_0x5b163c._0xe64c7d)])){_0x5d765e[_0x5b6ddb(0x9d,_0x5b163c._0x3df3e2,_0x5b163c._0xae8764,_0x5b163c._0x45ef51)](_0x49c352[_0x5b6ddb(0x84,0x95,_0x5b163c._0x1b9d2a,_0x5b163c._0x64e965)],_0x834f96);throw _0x5af9d5;}else _0x5df0bc+=await _0xf85659(_0x49c352[_0xf2be7(0x33e,_0x5b163c._0xb64d43,0x2ac,0x2f4)],_0x3aeb68);}_0x55aeb5&&(_0x5df0bc+=await _0x49c352[_0x5b6ddb(0x106,0xe9,0x125,_0x5b163c._0x357b79)](_0x55aeb5,_0x49c352[_0x5b6ddb(_0x5b163c._0x41dca2,_0x5b163c._0x3df3e2,0x8b,0xf1)],_0x3aeb68));const _0x3e099e={};_0x3e099e[_0x5b6ddb(_0x5b163c._0x11109e,_0x5b163c._0x15ff20,_0x5b163c._0x5dfbef,0x85)]=_0x3aeb68,_0x3e099e[_0xf2be7(_0x5b163c._0x1a3fd4,0x2bc,0x2be,_0x5b163c._0x718781)]=_0x255a67[_0x5b6ddb(0x10e,_0x5b163c._0x180ba4,_0x5b163c._0x3df3e2,_0x5b163c._0x5b161e)],_0x3e099e['deletedBin'+'dings']=_0x5df0bc,logger[_0xf2be7(0x320,0x325,_0x5b163c._0x25272c,0x320)](_0x49c352['ujdgM'],_0x3e099e);const _0x417ae1={};return _0x417ae1[_0x5b6ddb(0xfe,0xe3,0x132,0x146)]=_0x255a67,_0x417ae1[_0xf2be7(0x2c3,_0x5b163c._0x2fa39c,0x2ab,0x2f5)+'dings']=_0x5df0bc,_0x417ae1;}export async function addMember(_0x5197c3,_0x15b430){const _0x192f95={_0x3f241d:0x14b,_0x2dc94a:0x195,_0x25fcf6:0x18f,_0x504d46:0xb1,_0x1fd16d:0x88,_0x3363b5:0x99,_0x390947:0x19b,_0xba1bbb:0x1a1,_0x184068:0x21,_0x195e25:0x67,_0x3751db:0xac,_0x10c8a3:0x167,_0x296065:0x15f,_0xb0ecd4:0x17b,_0x2ba350:0x1d1,_0x142962:0x222,_0x2f1419:0x224,_0x5d9df9:0x2e,_0x5e0ffb:0x14,_0x2ab352:0x70,_0x14f6ca:0x23,_0x382aa4:0x36,_0x4b6119:0x48,_0x6fd965:0x74,_0x53b97e:0x2,_0x349e7e:0x10,_0x530ad0:0x1b,_0x4a0a3e:0x170,_0x42bfff:0x18f,_0x34cb4d:0x2c,_0x55a935:0x42,_0x4df79c:0xa5,_0x2c9dfd:0x154,_0x576e69:0x198,_0x60331a:0x1ae,_0x181a9c:0x2d,_0x88cd29:0x6,_0x549c37:0x1e,_0x265b88:0xa,_0x5ec500:0x1c,_0x26aafc:0x62,_0x119734:0x54,_0x3c6e47:0x0,_0x42feb6:0x44,_0xe32a75:0x55,_0x9707c9:0x49,_0x4e3be6:0x56},_0x4c9640={_0x41ac3d:0x77},_0x4fe887={_0x4048ae:0x20,_0x4b355f:0x4b4},_0x148d5d={'aovbZ':'DUPLICATE','ZIinA':_0x1560ae(0x164,_0x192f95._0x3f241d,_0x192f95._0x2dc94a,_0x192f95._0x25fcf6),'XpWCx':_0x3c4235(_0x192f95._0x504d46,_0x192f95._0x1fd16d,_0x192f95._0x3363b5,0x78),'nczuw':_0x1560ae(0x191,0x1a7,_0x192f95._0x390947,_0x192f95._0xba1bbb),'uOhet':function(_0xda3a12,_0x229707){return _0xda3a12(_0x229707);}},_0x267427=await getTeams(),_0x1fc769=_0x267427[_0x3c4235(_0x192f95._0x184068,_0x192f95._0x195e25,_0x192f95._0x3751db,_0x192f95._0x1fd16d)](_0x25ffb2=>_0x25ffb2['id']===_0x5197c3);if(!_0x1fc769){if(_0x148d5d[_0x1560ae(0x1a9,_0x192f95._0x10c8a3,0x1a2,0x193)]!==_0x1560ae(_0x192f95._0x296065,_0x192f95._0xb0ecd4,0x195,_0x192f95._0x2ba350)){const _0x243a91=new _0x566b49(_0x1560ae(_0x192f95._0x142962,0x1cb,0x1da,_0x192f95._0x2f1419)+'\x27'+_0x53ae23['name']+('\x27\x20already\x20'+'exists'));_0x243a91[_0x3c4235(0x42,_0x192f95._0x5d9df9,-_0x192f95._0x5e0ffb,_0x192f95._0x2ab352)]=_0x148d5d[_0x3c4235(0x61,0x5e,_0x192f95._0x14f6ca,_0x192f95._0x382aa4)];throw _0x243a91;}else{const _0x29b29c=new Error('Team\x20\x27'+_0x5197c3+('\x27\x20not\x20foun'+'d'));_0x29b29c['code']=_0x148d5d[_0x3c4235(_0x192f95._0x4b6119,_0x192f95._0x6fd965,0xba,0x5a)];throw _0x29b29c;}}if(_0x1fc769[_0x3c4235(-_0x192f95._0x53b97e,_0x192f95._0x349e7e,-0x3a,-_0x192f95._0x530ad0)]['includes'](_0x15b430)){if(_0x148d5d['nczuw']!==_0x148d5d['nczuw']){const _0x497546=new _0x12c153('User\x20\x27'+_0x53401e+(_0x1560ae(0x1a9,0x172,_0x192f95._0x4a0a3e,_0x192f95._0x42bfff)+_0x3c4235(_0x192f95._0x34cb4d,0xa,-0x34,-0x31)+_0x3c4235(0x30,_0x192f95._0x55a935,0xf,0x65)+_0x3c4235(0x83,0x7a,0x88,_0x192f95._0x4df79c)));_0x497546[_0x1560ae(_0x192f95._0x2c9dfd,0x16d,_0x192f95._0x576e69,_0x192f95._0x60331a)]=_0x148d5d[_0x3c4235(0x22,0x5e,0x38,_0x192f95._0x181a9c)];throw _0x497546;}else{const _0x36671e=new Error('User\x20\x27'+_0x15b430+(_0x3c4235(0x11,_0x192f95._0x88cd29,_0x192f95._0x549c37,0x5)+_0x3c4235(-0x1d,_0x192f95._0x265b88,-_0x192f95._0x5ec500,0x54)+_0x3c4235(0x7e,0x42,0x7f,_0x192f95._0x26aafc)+_0x3c4235(0x6f,0x7a,_0x192f95._0x119734,0x62)));_0x36671e['code']=_0x148d5d[_0x3c4235(0x84,0x5e,0x7a,0x42)];throw _0x36671e;}}_0x1fc769[_0x3c4235(_0x192f95._0x3c6e47,0x10,_0x192f95._0x42feb6,_0x192f95._0xe32a75)]['push'](_0x15b430);function _0x1560ae(_0x4959fa,_0x3ce77e,_0x131d8c,_0x38c83e){return _0x5de922(_0x4959fa-_0x4fe887._0x4048ae,_0x4959fa,_0x131d8c-0x9c,_0x131d8c-_0x4fe887._0x4b355f);}_0x1fc769[_0x3c4235(_0x192f95._0x1fd16d,0x6e,0xaf,_0x192f95._0x9707c9)]=new Date()['toISOStrin'+'g']();function _0x3c4235(_0x2dbd40,_0x720c41,_0x514f8d,_0x1782f0){return _0x5de922(_0x2dbd40-_0x4c9640._0x41ac3d,_0x1782f0,_0x514f8d-0xec,_0x720c41-0x34a);}return await _0x148d5d[_0x3c4235(0x9a,0x56,_0x192f95._0x4e3be6,0x82)](saveTeams,_0x267427),_0x1fc769;}export async function removeMember(_0x27c63d,_0x2a23d6){const _0x17a259={_0x23217d:0x244,_0x352586:0x1e7,_0x796075:0x1c7,_0x2cabfb:0x198,_0x9d1321:0x1c4,_0x45d2e7:0x1f3,_0x4f89ec:0x1bd,_0x48ba91:0x177,_0x48b44c:0x1a8,_0x14d5f5:0x179,_0x23f377:0x1e9,_0x3364d4:0x1c2,_0x39dede:0x1ee,_0x2d234c:0x1d2,_0x24d7a8:0x1fb,_0x3babf7:0x210,_0xba8e4f:0x1e5,_0x456077:0x1a6,_0x3125ba:0x18f,_0x34ab99:0x1a5,_0x16ab5f:0x1e8,_0x36150f:0x200,_0x33050e:0x24c,_0x43fe91:0x181,_0x471e18:0x13e,_0x4f262c:0x16f,_0x261c3e:0x146,_0xf58bc9:0x203,_0x517441:0x1e4,_0x224fa5:0x1f5,_0x343a15:0x1c0,_0x58b83a:0x160,_0x1886de:0x196},_0x16b60f={_0x5f2699:0x162,_0x583b2e:0x11c},_0x2e2c67={'YgqAn':function(_0x496fe9){return _0x496fe9();},'JCTit':'NOT_FOUND','pPuCq':function(_0x524528,_0x159c19){return _0x524528===_0x159c19;},'ZxoOO':function(_0x44025a,_0x832cb7){return _0x44025a(_0x832cb7);}},_0x5c728a=await _0x2e2c67[_0x133627(-_0x17a259._0x23217d,-0x23c,-0x1cf,-0x218)](getTeams),_0x418863=_0x5c728a[_0x133627(-0x1a7,-0x1dc,-_0x17a259._0x352586,-_0x17a259._0x796075)](_0x26306e=>_0x26306e['id']===_0x27c63d);if(!_0x418863){const _0x597808=new Error('Team\x20\x27'+_0x27c63d+(_0x4fffe4(_0x17a259._0x2cabfb,0x1eb,_0x17a259._0x9d1321,0x18c)+'d'));_0x597808[_0x133627(-_0x17a259._0x45d2e7,-0x1fd,-_0x17a259._0x4f89ec,-0x200)]=_0x2e2c67[_0x4fffe4(0x188,0x169,_0x17a259._0x48ba91,_0x17a259._0x48b44c)];throw _0x597808;}const _0x366aab=_0x418863['members'][_0x133627(-_0x17a259._0x14d5f5,-0x186,-_0x17a259._0x23f377,-_0x17a259._0x3364d4)](_0x2a23d6);if(_0x2e2c67[_0x133627(-_0x17a259._0x39dede,-_0x17a259._0x2d234c,-_0x17a259._0x24d7a8,-_0x17a259._0x3babf7)](_0x366aab,-(0x5b9+0x2f*-0xb1+0x8ed*0x3))){const _0x4024c8=new Error(_0x4fffe4(0x164,_0x17a259._0xba8e4f,_0x17a259._0x456077,_0x17a259._0x3125ba)+_0x2a23d6+('\x27\x20is\x20not\x20a'+'\x20member\x20of'+_0x133627(-_0x17a259._0x34ab99,-0x208,-0x1e2,-_0x17a259._0x16ab5f)));_0x4024c8[_0x133627(-0x224,-0x1ca,-0x20f,-_0x17a259._0x36150f)]=_0x2e2c67[_0x133627(-0x20b,-0x1e6,-_0x17a259._0x33050e,-0x216)];throw _0x4024c8;}function _0x4fffe4(_0x19447b,_0x54876b,_0x9068a9,_0xc548a1){return _0x5de922(_0x19447b-0x23,_0xc548a1,_0x9068a9-0x125,_0x9068a9-0x4a9);}_0x418863[_0x4fffe4(_0x17a259._0x43fe91,_0x17a259._0x471e18,_0x17a259._0x4f262c,_0x17a259._0x261c3e)][_0x133627(-0x184,-_0x17a259._0xf58bc9,-_0x17a259._0x517441,-0x1bc)](_0x366aab,-0x1385+0x2*0x6d7+0x5d8*0x1);function _0x133627(_0x54cf68,_0x739eaf,_0x46e9f5,_0x5c2297){return _0x5de922(_0x54cf68-0x2a,_0x739eaf,_0x46e9f5-_0x16b60f._0x5f2699,_0x5c2297-_0x16b60f._0x583b2e);}return _0x418863[_0x133627(-_0x17a259._0x224fa5,-0x192,-0x1ad,-_0x17a259._0x343a15)]=new Date()['toISOStrin'+'g'](),await _0x2e2c67[_0x4fffe4(0x19a,_0x17a259._0x58b83a,0x18c,_0x17a259._0x1886de)](saveTeams,_0x5c728a),_0x418863;}function _0x5de922(_0x1a32fa,_0x262f97,_0x4333e2,_0x1fcaf0){return _0x2dcd(_0x1fcaf0- -0x3ae,_0x262f97);}export function _resetCache(){teamsCache=null;}
|
|
1
|
+
(function(_0x49c8ba,_0x2194e7){const _0x1ccceb={_0x5dd465:0x348,_0x3d1ab5:0x386,_0x2e9835:0x8c,_0x215c3c:0xb4,_0x2b9688:0xd2,_0x2b449a:0x33d,_0x1e4003:0x324,_0x3bc763:0x349,_0x4b3a19:0x34e,_0x2faf97:0x3a7,_0x36c0d7:0x363,_0x4d9d3f:0x66,_0x2ebc2d:0xb2,_0x219dae:0x89,_0x33e0b7:0x88,_0x182244:0xdf,_0x7a8b6c:0xc6,_0x4921c8:0xeb},_0x1fee0b={_0x19e7a8:0x166};function _0x309cba(_0x2805fa,_0x3b0127,_0x37b130,_0x56d8c7){return _0xe898(_0x56d8c7-0x17e,_0x37b130);}const _0x1c7322=_0x49c8ba();function _0x2a89a2(_0x1d3775,_0x10d6b9,_0x1b79fa,_0x967f2d){return _0xe898(_0x1b79fa- -_0x1fee0b._0x19e7a8,_0x1d3775);}while(!![]){try{const _0x294bed=-parseInt(_0x309cba(_0x1ccceb._0x5dd465,0x3c2,0x346,_0x1ccceb._0x3d1ab5))/(-0x14f1*0x1+-0x1793+0x2c85)+parseInt(_0x2a89a2(_0x1ccceb._0x2e9835,0xc7,_0x1ccceb._0x215c3c,_0x1ccceb._0x2b9688))/(-0x2475+0x967*-0x1+0x2dde)+parseInt(_0x309cba(0x340,_0x1ccceb._0x2b449a,_0x1ccceb._0x1e4003,_0x1ccceb._0x3bc763))/(-0x1*-0x1723+0x14c0+0x1b*-0x1a0)*(-parseInt(_0x309cba(0x361,0x31d,0x359,0x34b))/(0xddb+0x2*-0xd73+0xd0f))+parseInt(_0x309cba(_0x1ccceb._0x5dd465,0x380,0x30d,_0x1ccceb._0x4b3a19))/(0x15*0x59+-0x2*0x213+-0x191*0x2)+parseInt(_0x309cba(_0x1ccceb._0x2faf97,_0x1ccceb._0x36c0d7,0x3d1,0x392))/(0xfb*0x13+-0x25*0x6b+-0x324)+-parseInt(_0x2a89a2(_0x1ccceb._0x4d9d3f,0xae,0x81,0x61))/(0x2328+-0xefd+0x1424*-0x1)*(-parseInt(_0x2a89a2(_0x1ccceb._0x2ebc2d,_0x1ccceb._0x219dae,0x84,0x90))/(-0x1*0x21f5+-0xc5*0x2f+0x4628))+parseInt(_0x2a89a2(_0x1ccceb._0x33e0b7,_0x1ccceb._0x182244,_0x1ccceb._0x7a8b6c,_0x1ccceb._0x4921c8))/(0x3*0x61a+-0x1ed9*0x1+0xc94);if(_0x294bed===_0x2194e7)break;else _0x1c7322['push'](_0x1c7322['shift']());}catch(_0x9365ad){_0x1c7322['push'](_0x1c7322['shift']());}}}(_0xd314,0x4*-0x2a5c7+0x8*0x1339+0x12140b));function _0xe898(_0x4c38dd,_0x591e0c){_0x4c38dd=_0x4c38dd-(-0x16ec+-0x17bb+0x3*0x1025);const _0x45292d=_0xd314();let _0x2e5c1c=_0x45292d[_0x4c38dd];if(_0xe898['pWBXdl']===undefined){var _0x5d218b=function(_0x461a6c){const _0x2aa3ee='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5a4400='',_0x2d7aea='';for(let _0x272590=-0x53e*0x1+0x87c+-0x33e,_0x38fffd,_0x52db18,_0x4e3281=-0x1*0x14f7+0xa3*-0x37+0x37fc;_0x52db18=_0x461a6c['charAt'](_0x4e3281++);~_0x52db18&&(_0x38fffd=_0x272590%(0x132c+0x11b3+-0x3*0xc49)?_0x38fffd*(0xbfa+-0x175b+0xd*0xe5)+_0x52db18:_0x52db18,_0x272590++%(0xe66+0x9*0x28d+0xb*-0x365))?_0x5a4400+=String['fromCharCode'](-0x3b*0x6a+0x1b81*0x1+-0x214&_0x38fffd>>(-(-0x1826+-0x1c22+0x344a)*_0x272590&0x17a9+0x1a6b*-0x1+0x2c8)):0x223a+-0x160*-0x11+-0x399a){_0x52db18=_0x2aa3ee['indexOf'](_0x52db18);}for(let _0x5f151e=-0x27a*-0xf+-0x777+-0x11*0x1bf,_0x3c7a5d=_0x5a4400['length'];_0x5f151e<_0x3c7a5d;_0x5f151e++){_0x2d7aea+='%'+('00'+_0x5a4400['charCodeAt'](_0x5f151e)['toString'](-0x180*-0x9+0x1fa6+-0x2d16))['slice'](-(-0xb*-0x22f+0x23*0xca+-0x33a1*0x1));}return decodeURIComponent(_0x2d7aea);};_0xe898['KUlzUh']=_0x5d218b,_0xe898['AnYlin']={},_0xe898['pWBXdl']=!![];}const _0x31ab44=_0x45292d[-0xe06+0x104a+-0x244],_0x544937=_0x4c38dd+_0x31ab44,_0xe32202=_0xe898['AnYlin'][_0x544937];return!_0xe32202?(_0x2e5c1c=_0xe898['KUlzUh'](_0x2e5c1c),_0xe898['AnYlin'][_0x544937]=_0x2e5c1c):_0x2e5c1c=_0xe32202,_0x2e5c1c;}import{promises as _0x2cb864}from'fs';import _0x569561 from'path';import{logger}from'./logger.js';function _0x5ab84f(_0x1d6749,_0x263beb,_0x31affa,_0x382c35){return _0xe898(_0x263beb-0x121,_0x31affa);}import{DATA_DIR}from'./data-dir.js';const TEAMS_FILE=_0x569561[_0x5ab84f(0x38f,0x359,0x389,0x33f)](DATA_DIR,_0x5ab84f(0x311,0x314,0x339,0x2f2));let teamsCache=null,teamsCacheMtime=null;export async function loadTeams(){const _0xe11c62={_0x1a0f68:0x13c,_0x572f12:0x16e,_0x4d62bb:0x1be,_0xa68923:0xe7,_0x39629c:0x124,_0x59c93f:0xf1,_0x12e8f6:0x13d,_0x3522a7:0xd6,_0x5576b1:0xef,_0x311dd5:0x12b,_0xe3fab3:0xf0,_0x488915:0x1e6,_0x5855b4:0x1de,_0x4421f8:0x1b0,_0x38606e:0x1dd,_0x1d7732:0x1e9,_0x3a74c9:0x1e7,_0x5275b7:0x1bd,_0x1258e5:0x14a,_0x319853:0x11d,_0x2404ef:0x128,_0x373a02:0x14d,_0x28371c:0x186,_0xa67ffa:0x19a,_0x51d238:0x184,_0x5823b5:0x1c7,_0x2df334:0x212,_0x5233d6:0x13e,_0x2d026e:0x1a1,_0x116297:0x19f,_0x4d9b0c:0x11c,_0x33e278:0x117,_0x256799:0x13b,_0x30d597:0x15b,_0x32b0d1:0x121,_0x1b85c3:0x15f,_0x40dc0f:0x10b,_0x40450f:0x10f,_0x4bad3f:0x175,_0x1dd95c:0x1af,_0x4b1a9d:0x174,_0x34ab7f:0x149,_0x543f75:0x115,_0x17d88a:0x212,_0x17f913:0x1d5,_0xe0d55:0x15d,_0x3be191:0x125,_0x2c0b28:0x103,_0x334b24:0x19b,_0x5b3e4c:0x179,_0x3da984:0x1a2,_0x5c0e33:0x170,_0x1a9ba7:0x141,_0x16e982:0x14f,_0x240cde:0x180,_0x1db354:0x156,_0x432e92:0x19d,_0x54b94a:0x160,_0x256dec:0x148,_0x306bd5:0x151,_0x578b5e:0x1b1,_0x214c41:0x17b,_0x108571:0x1b5,_0x50a444:0x1bc},_0x43365d={_0x245473:0x249,_0x3ffa56:0xea},_0x440cfb={_0x3f5ed2:0x1fb},_0x3f719f={'fgaPA':'DUPLICATE','WBxTq':function(_0x282c50,_0x1f9500){return _0x282c50!==_0x1f9500;},'GhzKG':_0x20f1f6(_0xe11c62._0x1a0f68,0x139,_0xe11c62._0x572f12,0x1ad),'ndZzF':_0x20f1f6(0x1f7,0x1c2,_0xe11c62._0x4d62bb,0x18d),'CtbnP':_0x2ac880(_0xe11c62._0xa68923,_0xe11c62._0x39629c,_0xe11c62._0x59c93f,_0xe11c62._0x12e8f6),'rRzKh':_0x2ac880(_0xe11c62._0x3522a7,_0xe11c62._0x5576b1,_0xe11c62._0x311dd5,_0xe11c62._0xe3fab3)+'ms\x20from\x20fi'+'le','TljzH':'ENOENT','MFMDS':_0x20f1f6(_0xe11c62._0x488915,_0xe11c62._0x5855b4,_0xe11c62._0x4421f8,0x173)+_0x20f1f6(0x1fc,0x1d1,_0xe11c62._0x38606e,_0xe11c62._0x1d7732)+_0x20f1f6(_0xe11c62._0x3a74c9,_0xe11c62._0x5275b7,0x1ad,0x1d6)+'zed\x20empty\x20'+_0x2ac880(_0xe11c62._0x1258e5,_0xe11c62._0x319853,_0xe11c62._0x2404ef,_0xe11c62._0x373a02),'TStVc':function(_0x12285d,_0x479e52){return _0x12285d(_0x479e52);},'nLgPm':'Failed\x20to\x20'+'load\x20teams'};function _0x2ac880(_0x1d4ad9,_0x3b2216,_0x39e38b,_0x2ad492){return _0x5ab84f(_0x1d4ad9-0xee,_0x3b2216- -_0x440cfb._0x3f5ed2,_0x1d4ad9,_0x2ad492-0x120);}function _0x20f1f6(_0x9c59d3,_0xfd9b0b,_0x10986d,_0x4a5682){return _0x1bcbb0(_0x10986d-_0x43365d._0x245473,_0x4a5682,_0x10986d-_0x43365d._0x3ffa56,_0x4a5682-0xc5);}try{if(_0x3f719f[_0x2ac880(0x140,0x16d,0x14a,0x1ab)](_0x3f719f[_0x20f1f6(0x1c1,0x19f,_0xe11c62._0x28371c,_0xe11c62._0xa67ffa)],_0x3f719f[_0x2ac880(0x102,0x102,0xef,0xe3)])){const _0x42c12e=await _0x2cb864[_0x20f1f6(0x199,_0xe11c62._0x51d238,0x1c3,_0xe11c62._0x5823b5)](TEAMS_FILE),_0x3f1eeb=await _0x2cb864[_0x20f1f6(0x1f7,0x1fb,0x1ea,_0xe11c62._0x2df334)](TEAMS_FILE,_0x3f719f[_0x20f1f6(0x1e1,0x1de,0x1bf,0x188)]),_0x1e4460=JSON[_0x2ac880(_0xe11c62._0x5233d6,0x116,0x132,_0xe11c62._0x3522a7)](_0x3f1eeb);teamsCache=_0x1e4460[_0x20f1f6(_0xe11c62._0x2d026e,_0xe11c62._0x116297,0x175,0x14b)]||[],teamsCacheMtime=_0x42c12e[_0x2ac880(0x15b,_0xe11c62._0x4d9b0c,0x144,0xf3)];const _0x2887ff={};return _0x2887ff[_0x2ac880(_0xe11c62._0x33e278,_0xe11c62._0x256799,0x109,0x108)]=teamsCache[_0x2ac880(_0xe11c62._0x30d597,_0xe11c62._0x32b0d1,_0xe11c62._0x1b85c3,_0xe11c62._0x1b85c3)],logger[_0x2ac880(_0xe11c62._0x40dc0f,0x147,0x13c,_0xe11c62._0x40450f)](_0x3f719f[_0x20f1f6(0x1cd,_0xe11c62._0x4bad3f,_0xe11c62._0x1dd95c,_0xe11c62._0x4b1a9d)],_0x2887ff),teamsCache;}else{const _0x3cfd79=new _0x1ee98b(_0x2ac880(0x13c,_0xe11c62._0x34ab7f,0x16f,_0xe11c62._0x543f75)+_0x402aa5+(_0x20f1f6(0x1a8,_0xe11c62._0x17d88a,0x1e5,_0xe11c62._0x17f913)+'dy\x20a\x20membe'+'r\x20of\x20this\x20'+_0x2ac880(_0xe11c62._0xe0d55,_0xe11c62._0x3be191,0x159,_0xe11c62._0x2c0b28)));_0x3cfd79[_0x20f1f6(0x141,_0xe11c62._0x334b24,_0xe11c62._0x5b3e4c,_0xe11c62._0x3da984)]=_0x3f719f[_0x2ac880(_0xe11c62._0x5c0e33,_0xe11c62._0x1a9ba7,0x16c,0x136)];throw _0x3cfd79;}}catch(_0x263b73){if(_0x263b73['code']===_0x3f719f['TljzH'])return teamsCache=[],teamsCacheMtime=null,logger[_0x2ac880(0x171,_0xe11c62._0x16e982,_0xe11c62._0x240cde,_0xe11c62._0x1db354)](_0x3f719f[_0x2ac880(_0xe11c62._0x432e92,_0xe11c62._0x54b94a,0x145,0x153)]),await _0x3f719f[_0x2ac880(_0xe11c62._0x256dec,0x16e,0x1a0,_0xe11c62._0x306bd5)](saveTeams,teamsCache),teamsCache;logger[_0x20f1f6(0x19c,_0xe11c62._0x578b5e,0x174,_0xe11c62._0x12e8f6)](_0x3f719f[_0x20f1f6(_0xe11c62._0x214c41,_0xe11c62._0x108571,0x188,_0xe11c62._0x50a444)],_0x263b73);throw _0x263b73;}}export async function saveTeams(_0x51e5c2){const _0x485f92={_0xde26b9:0x20b,_0x504015:0x1ee,_0x43508e:0x246,_0x3c7357:0x288,_0x458843:0x241,_0x56ebd2:0x1db,_0x259c52:0x1c6,_0x67d88c:0x1c4,_0x268b33:0x230,_0x2e1cd0:0x242,_0x15ed60:0x25b,_0x4f496a:0x24f,_0x387e41:0x280,_0x196372:0x27f,_0x23cada:0x1fd,_0x3ee2ee:0x284,_0x18b632:0x1d0,_0x48aec3:0x207,_0x2af0d5:0x204,_0x40dcee:0x239,_0x40e726:0x26c,_0x21f139:0x276,_0x34ac2e:0x1d6,_0x5e15a7:0x1eb,_0x551a1a:0x210,_0x54d68e:0x278,_0x10a831:0x26d,_0x1e435f:0x1e5,_0xb9da5:0x21e,_0x556964:0x254,_0x17b08f:0x266,_0x112d46:0x26f,_0x28f6cf:0x2a1},_0x375d3d={_0x3ff99f:0x21,_0x4afcd2:0xf9},_0x53b6e4={_0x1ba391:0x2fc},_0x335705={};_0x335705[_0x3d9230(_0x485f92._0xde26b9,_0x485f92._0x504015,0x1ea,0x217)]='utf-8',_0x335705['kxOCc']=_0x2ca286(0x270,_0x485f92._0x43508e,_0x485f92._0x3c7357,0x284)+'s\x20to\x20file',_0x335705[_0x3d9230(0x231,_0x485f92._0x458843,0x20b,_0x485f92._0x56ebd2)]=_0x3d9230(0x18f,0x1e2,_0x485f92._0x259c52,0x1c0)+_0x3d9230(0x1cb,0x1b7,0x1f6,_0x485f92._0x67d88c);function _0x2ca286(_0x2144de,_0x296ba3,_0x530e99,_0x26156d){return _0x1bcbb0(_0x2144de-_0x53b6e4._0x1ba391,_0x296ba3,_0x530e99-0x115,_0x26156d-0xd);}const _0x5a0daf=_0x335705;function _0x3d9230(_0x363a2c,_0x45fade,_0x449041,_0x9bf4da){return _0x1bcbb0(_0x449041-0x298,_0x363a2c,_0x449041-_0x375d3d._0x3ff99f,_0x9bf4da-_0x375d3d._0x4afcd2);}try{const _0x5f37a9=_0x569561[_0x2ca286(_0x485f92._0x268b33,_0x485f92._0x2e1cd0,_0x485f92._0x15ed60,_0x485f92._0x4f496a)](TEAMS_FILE),_0x19a6b0={};_0x19a6b0[_0x2ca286(0x297,_0x485f92._0x387e41,0x2a5,0x291)]=!![],await _0x2cb864[_0x2ca286(0x246,0x261,0x277,_0x485f92._0x196372)](_0x5f37a9,_0x19a6b0);const _0x476f6b={};_0x476f6b[_0x2ca286(0x228,0x1e8,0x244,_0x485f92._0x23cada)]=_0x51e5c2,await _0x2cb864[_0x2ca286(0x26b,0x267,0x275,_0x485f92._0x3ee2ee)](TEAMS_FILE,JSON[_0x3d9230(0x1de,0x20c,_0x485f92._0x18b632,0x1f3)](_0x476f6b,null,0x158a+0x80b*-0x2+-0x2*0x2b9),_0x5a0daf[_0x3d9230(_0x485f92._0x48aec3,_0x485f92._0x18b632,0x1ea,_0x485f92._0x2af0d5)]);const _0x344840=await _0x2cb864[_0x2ca286(0x276,_0x485f92._0x40dcee,_0x485f92._0x40e726,_0x485f92._0x21f139)](TEAMS_FILE);teamsCache=_0x51e5c2,teamsCacheMtime=_0x344840[_0x3d9230(_0x485f92._0x34ac2e,0x1b0,_0x485f92._0x5e15a7,_0x485f92._0x551a1a)];const _0x3bd70f={};_0x3bd70f['count']=_0x51e5c2[_0x2ca286(0x254,0x250,_0x485f92._0x54d68e,_0x485f92._0x10a831)],logger[_0x3d9230(_0x485f92._0x1e435f,0x243,_0x485f92._0xb9da5,_0x485f92._0x556964)](_0x5a0daf[_0x2ca286(0x267,0x234,0x278,_0x485f92._0x17b08f)],_0x3bd70f);}catch(_0x4d299d){logger['error'](_0x5a0daf[_0x2ca286(_0x485f92._0x112d46,0x2a3,_0x485f92._0x28f6cf,0x268)],_0x4d299d);throw _0x4d299d;}}export async function getTeams(){const _0xae011f={_0x27ba08:0x17e,_0x8a7936:0x1ba,_0x24c499:0x185,_0x3423b1:0x170,_0x33576c:0x171,_0x13ee07:0xeb,_0x1a148e:0xfd,_0x584a14:0x12f},_0xe9b792={_0x211f5c:0xaa},_0x443e13={_0x459c44:0xe0,_0x5c3765:0x173};function _0x223bfb(_0x170fa9,_0x3dfe82,_0x516e16,_0x2262a3){return _0x5ab84f(_0x170fa9-_0x443e13._0x459c44,_0x516e16- -0x480,_0x2262a3,_0x2262a3-_0x443e13._0x5c3765);}function _0x573923(_0xeac331,_0x4f646f,_0x4c0b6f,_0x16dc87){return _0x1bcbb0(_0x4c0b6f- -_0xe9b792._0x211f5c,_0xeac331,_0x4c0b6f-0x1a5,_0x16dc87-0x13d);}const _0x59543b={'ORBEV':function(_0x44256c,_0x2f9947){return _0x44256c!==_0x2f9947;},'HPika':function(_0x5b710d){return _0x5b710d();},'Nkrhf':_0x223bfb(-0x169,-0x195,-_0xae011f._0x27ba08,-_0xae011f._0x8a7936)};try{const _0xe529b3=await _0x2cb864['stat'](TEAMS_FILE);if(!teamsCache||_0x59543b['ORBEV'](_0xe529b3[_0x573923(-0x154,-_0xae011f._0x24c499,-0x157,-0x16f)],teamsCacheMtime))return await _0x59543b[_0x223bfb(-_0xae011f._0x3423b1,-0x164,-_0xae011f._0x33576c,-0x140)](loadTeams);}catch(_0x1644f5){if(_0x1644f5['code']!==_0x59543b[_0x223bfb(-_0xae011f._0x13ee07,-_0xae011f._0x1a148e,-0x122,-_0xae011f._0x584a14)])throw _0x1644f5;if(!teamsCache)return await _0x59543b['HPika'](loadTeams);}return teamsCache;}export async function getTeamById(_0x369c99){const _0x1067ca={_0x56720a:0x105,_0x54e2dc:0xe7},_0x437467={_0x261ab9:0x1a0};function _0x206509(_0x47c9bf,_0x477c37,_0x1b1343,_0x44b9b2){return _0x5ab84f(_0x47c9bf-_0x437467._0x261ab9,_0x477c37- -0x274,_0x1b1343,_0x44b9b2-0x15f);}const _0x4f14ec=await getTeams();return _0x4f14ec[_0x206509(_0x1067ca._0x56720a,0xef,_0x1067ca._0x54e2dc,0xc5)](_0x1a74fe=>_0x1a74fe['id']===_0x369c99)||null;}export async function getTeamsByUserId(_0x141689){const _0x358429={_0x2ec35c:0x1a3,_0x462aad:0x392,_0x261a39:0x357,_0x51e124:0x391},_0x130e9e={_0x420c36:0xd2,_0x7579d3:0x4d1},_0x188ceb={'MxKSE':function(_0x45ae35){return _0x45ae35();}};function _0x2735ec(_0x4d4698,_0x199949,_0x1483de,_0x781ffb){return _0x5ab84f(_0x4d4698-0x6f,_0x781ffb-0x3e,_0x1483de,_0x781ffb-0x38);}function _0xeeba56(_0x1e791d,_0xb91507,_0x25459b,_0x248a9c){return _0x5ab84f(_0x1e791d-_0x130e9e._0x420c36,_0x1e791d- -_0x130e9e._0x7579d3,_0x248a9c,_0x248a9c-0x8);}const _0x1e05dd=await _0x188ceb[_0xeeba56(-0x1de,-0x1a3,-0x21e,-_0x358429._0x2ec35c)](getTeams);return _0x1e05dd[_0x2735ec(_0x358429._0x462aad,_0x358429._0x261a39,_0x358429._0x51e124,0x383)](_0x2804c0=>_0x2804c0[_0x2735ec(0x380,0x37e,0x393,0x36b)]['includes'](_0x141689));}function _0xd314(){const _0x906c83=['DxbKyxrLzf9HDa','EKfmBhu','C3bSAwnL','zgLYBMfTzq','vgvHBsbUyw1Lia','AgHZCK4','vgvHBsaN','C3rYAw5NAwz5','BMrAEKy','BMfTzq','zxHPC3rZ','Dg9ju09tDhjPBG','r2H6s0C','ru5pru5u','BKXNug0','zgLUz3m','y3jLyxrLzf9IEq','ChvZAa','Aw5KzxHpzG','mtq3nZD4Ewvzs1K','DgvHBu5HBwu','AxmGCMvXDwLYzq','mte2ohjOEgDkqq','qNfos3G','wKH3uwy','BwTKAxi','sfbPA2e','zgvZy3jPChrPBW','CgfYC2u','D1rJteq','rKDwwgq','DgvHBxmUANnVBG','rvnrq1e','BfbKDu0','BxrPBwvnCW','DgvHBsbSAxn0','DwjrA0C','zMLUzeLUzgv4','yKngrha','BgvUz3rO','CMfUzg9T','Dg9tDhjPBMC','DxrMltG','DgvHBq','rMrlz1m','C2f2zsb0zwfTCW','qvjXuKe','CvfNyNO','vw9Pv2O','jYbHBhjLywr5ia','tK9ux0zpvu5e','lcbPBML0AwfSAq','mta0odqXnKvjt1bUvq','CLj6s2G','vgvHBxmGzMLSzq','z2vAtfu','BwvTyMvYCW','vMXNugW','A3Hpq2m','sKnpy1u','zgvSzxrLzejPBG','DhjPBq','D3jPDgvgAwXL','tLjqu0G','ndKYnZK2og9Jwu1zEG','y291BNq','DhvUBeS','u2f2zwqGDgvHBq','wujJAe0','q3rIBLa','nJeXmti0wM12sK1I','zMDHuee','DgvHBuLK','C3rHDa','AM1QvfG','AxzPDwS','uuf3Ahe','zgvIDwC','jYbPCYbUB3qGyq','vxnLCIaN','zMLSDgvY','DerUBeW','wgvzEuC','zvn3zgC','vKfmsurbveLptG','Aw5MBW','sNrIywe','BM93','ntGWnti3mgLfsNjtzq','BfrKCg4','rg9QsKS','r01pyMi','AuLNs3e','ig1LBwjLCIbVzG','quDJz0e','rwLjC2e','uNjuDg8','DuvxsM8','jYbUB3qGzM91BG','ig5VDcbMB3vUza','AM9PBG','CwvUuMW','tuznrfm','rfvqteLdqvrf','vePqDu8','tMTYAgy','CMvJDxjZAxzL','jYbPCYbHBhjLyq','rgvSzxrLzcb0zq','y0zWqvG','zMLUza','Aw5JBhvKzxm','CMvHzezPBgu','tfPqEKm','vMnPvwC','v0j4vhe','vfn0vMm','z1bxthO','tg9HzgvKihrLyq','rxn4vK4','mtCWntj3vhjmqNu','ihrOAxmGDgvHBq','nduYDKXMtfrZ','zxjYB3i','DgvHBxm','nZaZndi1u1ryBhfs','rMfPBgvKihrVia','txHlu0u','y29Kzq'];_0xd314=function(){return _0x906c83;};return _0xd314();}export async function createTeam(_0x32f756){const _0x1af499={_0x26f9e9:0xc5,_0x79ab8c:0x39,_0x225801:0x21,_0x3dbac4:0x1,_0x32b899:0x5e,_0x2e242f:0xe6,_0x4b1794:0x104,_0x3e9071:0xff,_0x430bf4:0x24,_0x54cff3:0xb,_0x17b965:0x76,_0x3f9aed:0x58,_0x22f648:0x10e,_0x54fa5a:0x126,_0x1c1366:0xa8,_0x2f4c1f:0x7b,_0x47f2f3:0x9d,_0x2e90e3:0xc3,_0x340cec:0xdf,_0x47e710:0x12,_0x1922cb:0x18,_0x601bd1:0x48,_0x1adca2:0x11f,_0x2770a2:0xe7,_0x5ebdae:0x14e,_0x2755c9:0x119,_0xd90749:0x130,_0x33ec1b:0xca,_0xa64073:0xe8,_0x2d42ec:0x10b,_0x1f026c:0x124,_0x45ea8a:0x11b,_0x430af1:0xfe,_0x5f4b5a:0xe5,_0x1508b0:0x131,_0x376b56:0xa2,_0x1df95c:0x91,_0x4d1c83:0x52,_0xa9d04f:0x41,_0x444ade:0x101,_0xf062f0:0x158,_0x336aa5:0xa0,_0x2dd9ab:0x93,_0x11115f:0x71,_0x76064b:0x6a,_0x3d9459:0x47,_0x4446dc:0x69,_0x4c409b:0x86},_0x141b93={_0x79590d:0x153,_0x467395:0x189},_0x405e98={_0x42b3d8:0x175},_0x433b96={'EsxVN':function(_0x5e89ee){return _0x5e89ee();},'ljSYr':function(_0x3568e0,_0x1dd407){return _0x3568e0!==_0x1dd407;},'Jtbaa':_0xe53212(-0x9f,-0xd9,-_0x1af499._0x26f9e9,-0xea),'JCOcU':_0xb5fb35(-_0x1af499._0x79ab8c,-0x13,-_0x1af499._0x225801,_0x1af499._0x3dbac4)},_0xd74df4=await _0x433b96[_0xb5fb35(-0x95,-0x84,-0xa3,-_0x1af499._0x32b899)](getTeams);if(!_0x32f756['name']||!_0x32f756['name'][_0xe53212(-0xaa,-_0x1af499._0x2e242f,-0xcc,-0xc5)]()){if(_0x433b96['ljSYr'](_0xe53212(-_0x1af499._0x4b1794,-_0x1af499._0x3e9071,-0xe6,-0x120),_0x433b96[_0xb5fb35(-0x51,-_0x1af499._0x430bf4,_0x1af499._0x54cff3,-0x44)])){const _0x5c8e65=new Error(_0xb5fb35(-0x41,-_0x1af499._0x17b965,-_0x1af499._0x3f9aed,-0x94)+_0xe53212(-0x113,-_0x1af499._0x22f648,-0x104,-_0x1af499._0x54fa5a)+'d');_0x5c8e65[_0xb5fb35(-_0x1af499._0x1c1366,-_0x1af499._0x2f4c1f,-_0x1af499._0x47f2f3,-0x69)]=_0xe53212(-_0x1af499._0x26f9e9,-0xcf,-_0x1af499._0x2e90e3,-_0x1af499._0x340cec);throw _0x5c8e65;}else{const _0x18521b=new _0x2bc884('Team\x20\x27'+_0x2eafd0+(_0xb5fb35(_0x1af499._0x47e710,-_0x1af499._0x1922cb,-0x2a,-0x21)+'d'));_0x18521b[_0xb5fb35(-0xac,-0x7b,-0x64,-0x95)]=_0xb5fb35(-0x63,-_0x1af499._0x601bd1,-0x5a,-0x5c);throw _0x18521b;}}if(_0xd74df4['some'](_0x16e8b0=>_0x16e8b0[_0xb5fb35(-0x7c,-0x71,-0x8e,-0x3f)]===_0x32f756[_0xb5fb35(-0x89,-0x71,-0x50,-0x38)])){const _0x151821=new Error('Team\x20name\x20'+'\x27'+_0x32f756['name']+(_0xe53212(-_0x1af499._0x1adca2,-0xf2,-0x118,-_0x1af499._0x2770a2)+_0xe53212(-_0x1af499._0x5ebdae,-_0x1af499._0x2755c9,-0x136,-0x104)));_0x151821[_0xe53212(-_0x1af499._0xd90749,-0x124,-0x114,-0x121)]=_0x433b96[_0xe53212(-_0x1af499._0x33ec1b,-_0x1af499._0xa64073,-_0x1af499._0x2d42ec,-0xee)];throw _0x151821;}const _0x53ff9c=_0x32f756[_0xe53212(-_0x1af499._0x1f026c,-0xeb,-_0x1af499._0x45ea8a,-_0x1af499._0x430af1)]||[],_0x346c49=new Date()[_0xe53212(-_0x1af499._0x5f4b5a,-0x118,-_0x1af499._0x1508b0,-0xdc)+'g']();function _0xe53212(_0x17ae89,_0x15b416,_0x9579cb,_0x1ecaea){return _0x5ab84f(_0x17ae89-_0x405e98._0x42b3d8,_0x15b416- -0x418,_0x1ecaea,_0x1ecaea-0x97);}const _0x3a4a76={'id':'team_'+Date[_0xe53212(-0xf0,-0xcc,-_0x1af499._0x376b56,-0xd0)]()+'_'+Math[_0xb5fb35(-_0x1af499._0x1df95c,-_0x1af499._0x4d1c83,-_0x1af499._0xa9d04f,-0x34)]()[_0xe53212(-_0x1af499._0x4b1794,-0xfa,-0x109,-_0x1af499._0x444ade)](0x84b+-0xa64+0x23d*0x1)['substr'](-0x1e1c+0x1*0x2426+-0x304*0x2,0x2*-0x3b3+-0x2*-0x362+-0xab*-0x1),'name':_0x32f756[_0xe53212(-0x124,-0x11a,-_0x1af499._0xf062f0,-0x121)],'description':_0x32f756[_0xb5fb35(-_0x1af499._0x336aa5,-0x5f,-_0x1af499._0x2dd9ab,-_0x1af499._0x11115f)+'n']||'','members':_0x53ff9c,'created_at':_0x346c49,'created_by':_0x32f756[_0xb5fb35(-0x3d,-_0x1af499._0x76064b,-_0x1af499._0x3d9459,-0x49)]||null,'updated_at':_0x346c49};function _0xb5fb35(_0x255f78,_0x118bec,_0x2e0a79,_0x582175){return _0x5ab84f(_0x255f78-_0x141b93._0x79590d,_0x118bec- -0x36f,_0x2e0a79,_0x582175-_0x141b93._0x467395);}return _0xd74df4[_0xb5fb35(-_0x1af499._0x32b899,-_0x1af499._0x4446dc,-0x38,-_0x1af499._0x4c409b)](_0x3a4a76),await saveTeams(_0xd74df4),_0x3a4a76;}export async function updateTeam(_0x4d663a,_0x5c62cb){const _0x4ee5d1={_0x2b670b:0x39e,_0x37c64b:0x3d5,_0x15c5a6:0x3d8,_0x67b9a5:0x17c,_0x4cfeaf:0x17e,_0xc7f226:0x19d,_0x1ae82b:0x38d,_0x1536ba:0x3aa,_0x144266:0x379,_0x47dcc5:0x370,_0x47ffb4:0x347,_0x522867:0x38f,_0x4e8be2:0x381,_0x1b54bd:0x341,_0xad526:0x3af,_0x239845:0x19c,_0xc0ec95:0x18b,_0x3bc623:0x3d3,_0x49070c:0x3f6,_0x8bb688:0x39a,_0x539ee0:0x187,_0x896bc9:0x3a7,_0x53fede:0x36b,_0x2e3a46:0x3da,_0x6ccd9f:0x3a3,_0x44bad1:0x390,_0x527612:0x3b4,_0x29f2c8:0x16e,_0x210771:0x139,_0x182728:0x376,_0x25ba56:0x38b,_0x58b1fa:0x13c,_0x536bf9:0x106,_0x3d9bcc:0x13e,_0x4b0751:0x16f,_0x578883:0x1c0,_0x14ab2b:0x1ad,_0xb2af33:0x143,_0x4f5773:0x124,_0x35d1b1:0x160,_0x5a64e9:0x36d,_0x1e9a1d:0x385,_0x2dc351:0x36e,_0x824de6:0x199,_0x59fa9b:0x18a,_0x555061:0x18d,_0x10ef27:0x191,_0x36a9dd:0x177,_0x168bc5:0x134,_0x4a80db:0x383,_0x588279:0x352,_0x680355:0x397,_0x4d1855:0x344,_0x4f190b:0x375,_0x2a4ab4:0x338,_0x4f38bb:0x37f,_0x1f77fa:0x393,_0x14c9bc:0x3b4,_0x13bacb:0x38c,_0x4b97f6:0x3ab,_0x95d6f5:0x174,_0x401e56:0x154,_0x4278f5:0x165,_0x143c29:0x16c,_0x101ba3:0x39d,_0x3d755e:0x3bc,_0x289863:0x13e,_0x4583fc:0x162,_0x3a76f7:0x143,_0x2075d4:0x1a4,_0x498f6d:0x1ce,_0x483874:0x38a,_0x42f243:0x394,_0x314fb7:0x3be,_0x14aaf7:0x371,_0x27dbcb:0x19d,_0x129996:0x1d2,_0x13fbee:0x3d7,_0x516eea:0x12b,_0x34ff2c:0x172,_0x514830:0x13c,_0x407813:0x3b8,_0x5bab53:0x39b,_0x2f9db8:0x38e,_0x1e2f12:0x1c9,_0x23844b:0x1da,_0x22dc99:0x19a,_0x1b8ffd:0x146,_0x5a91b7:0x13d,_0x126127:0x17d,_0x5c00b3:0x120,_0x2e5bdf:0x183,_0x5f3485:0x1a5,_0x45eae8:0x166,_0x583962:0x3a4,_0x392ed2:0x148},_0x44ed48={_0x3f67fa:0x1cf,_0x5e255b:0x1b8},_0x1dbac1={_0x2ccf83:0x77,_0x26d2b2:0xa0};function _0x1e0d34(_0x71cc9b,_0x4dadd6,_0x3ba5e4,_0x3342dc){return _0x5ab84f(_0x71cc9b-0x49,_0x71cc9b-_0x1dbac1._0x2ccf83,_0x4dadd6,_0x3342dc-_0x1dbac1._0x26d2b2);}const _0x20d718={'DojJK':function(_0x423b43){return _0x423b43();},'UoiWj':function(_0x11b257,_0x1ef680){return _0x11b257===_0x1ef680;},'qenRl':function(_0x1f4312,_0x2048cb){return _0x1f4312!==_0x2048cb;},'GMObb':_0x1e0d34(0x3ca,_0x4ee5d1._0x2b670b,_0x4ee5d1._0x37c64b,_0x4ee5d1._0x15c5a6),'zALlu':'NOT_FOUND','iIgKq':function(_0x282ec1,_0x194b3c){return _0x282ec1!==_0x194b3c;},'BqNKx':function(_0x49cc44,_0x34ebf2){return _0x49cc44!==_0x34ebf2;},'EHOUr':_0x2d224b(_0x4ee5d1._0x67b9a5,0x13f,_0x4ee5d1._0x4cfeaf,_0x4ee5d1._0xc7f226),'geZLU':_0x1e0d34(0x384,_0x4ee5d1._0x1ae82b,_0x4ee5d1._0x1536ba,_0x4ee5d1._0x144266),'FGVXd':_0x1e0d34(_0x4ee5d1._0x47dcc5,0x383,_0x4ee5d1._0x47ffb4,_0x4ee5d1._0x522867)+_0x1e0d34(_0x4ee5d1._0x4e8be2,_0x4ee5d1._0x1b54bd,_0x4ee5d1._0xad526,0x398)+'d','hhsrN':'VALIDATION','ARqRA':_0x2d224b(_0x4ee5d1._0x239845,0x1be,_0x4ee5d1._0xc0ec95,0x1d2),'QAwhq':_0x1e0d34(_0x4ee5d1._0x3bc623,0x409,_0x4ee5d1._0x49070c,0x3a5),'cFpAX':function(_0x27b459,_0x46c13c){return _0x27b459!==_0x46c13c;},'TJPuO':function(_0x41fadf,_0x3d5bea){return _0x41fadf!==_0x3d5bea;},'lBUNw':function(_0x384490,_0x367ffd){return _0x384490(_0x367ffd);}},_0x4511e6=await _0x20d718[_0x1e0d34(0x3c6,_0x4ee5d1._0x8bb688,0x3b8,0x38c)](getTeams),_0x26f94c=_0x4511e6[_0x2d224b(0x162,_0x4ee5d1._0x539ee0,0x17a,0x12c)](_0xc82181=>_0xc82181['id']===_0x4d663a);if(_0x20d718[_0x1e0d34(0x39c,_0x4ee5d1._0x896bc9,_0x4ee5d1._0x53fede,_0x4ee5d1._0x2e3a46)](_0x26f94c,-(0x1*0x21ce+0x52*-0x50+0x17*-0x5b))){if(_0x20d718['qenRl'](_0x20d718[_0x1e0d34(0x3c7,_0x4ee5d1._0x6ccd9f,_0x4ee5d1._0x44bad1,_0x4ee5d1._0x527612)],_0x20d718['GMObb'])){const _0x22ffd7=new _0x12e896('Team\x20name\x20'+'\x27'+_0xc1cf0e[_0x2d224b(0x146,0x13c,0x16f,0x16e)]+(_0x2d224b(_0x4ee5d1._0x29f2c8,0x132,0x19b,_0x4ee5d1._0x210771)+_0x1e0d34(_0x4ee5d1._0x182728,0x353,_0x4ee5d1._0x896bc9,_0x4ee5d1._0x25ba56)));_0x22ffd7[_0x2d224b(_0x4ee5d1._0x58b1fa,0x128,_0x4ee5d1._0x536bf9,_0x4ee5d1._0x3d9bcc)]=_0x2d224b(0x1a4,_0x4ee5d1._0x4b0751,_0x4ee5d1._0x578883,_0x4ee5d1._0x14ab2b);throw _0x22ffd7;}else{const _0x831314=new Error(_0x2d224b(_0x4ee5d1._0xb2af33,_0x4ee5d1._0x4f5773,0x165,_0x4ee5d1._0x35d1b1)+_0x4d663a+('\x27\x20not\x20foun'+'d'));_0x831314['code']=_0x20d718[_0x1e0d34(_0x4ee5d1._0x5a64e9,_0x4ee5d1._0x1e9a1d,_0x4ee5d1._0x2dc351,0x35d)];throw _0x831314;}}function _0x2d224b(_0x4864fc,_0xf4426c,_0x59489e,_0x169b33){return _0x5ab84f(_0x4864fc-_0x44ed48._0x3f67fa,_0x4864fc- -_0x44ed48._0x5e255b,_0x59489e,_0x169b33-0x1e5);}const _0x585e27=_0x4511e6[_0x26f94c];if(_0x20d718[_0x2d224b(_0x4ee5d1._0x824de6,_0x4ee5d1._0x59fa9b,_0x4ee5d1._0x555061,_0x4ee5d1._0x10ef27)](_0x5c62cb[_0x2d224b(0x146,0x12c,_0x4ee5d1._0x36a9dd,_0x4ee5d1._0x168bc5)],undefined)&&_0x20d718[_0x1e0d34(_0x4ee5d1._0x4a80db,0x388,_0x4ee5d1._0x588279,0x3b2)](_0x5c62cb[_0x1e0d34(0x375,_0x4ee5d1._0x680355,0x3a7,_0x4ee5d1._0x4d1855)],_0x585e27[_0x1e0d34(_0x4ee5d1._0x4f190b,0x349,_0x4ee5d1._0x2a4ab4,_0x4ee5d1._0x4f38bb)])){if(!_0x5c62cb[_0x1e0d34(0x375,_0x4ee5d1._0x1f77fa,_0x4ee5d1._0x14c9bc,_0x4ee5d1._0x13bacb)][_0x1e0d34(0x3a9,0x3de,0x3a8,_0x4ee5d1._0x4b97f6)]()){if(_0x20d718['EHOUr']===_0x20d718[_0x2d224b(_0x4ee5d1._0x95d6f5,0x1a9,_0x4ee5d1._0x401e56,0x134)]){const _0x22388f=new _0x377259('Team\x20name\x20'+'\x27'+_0x50f804[_0x2d224b(0x146,_0x4ee5d1._0x4278f5,_0x4ee5d1._0x143c29,_0x4ee5d1._0x3d9bcc)]+(_0x1e0d34(_0x4ee5d1._0x101ba3,_0x4ee5d1._0x3d755e,0x398,0x39c)+_0x2d224b(0x147,0x107,_0x4ee5d1._0x289863,0x120)));_0x22388f[_0x2d224b(0x13c,0x139,_0x4ee5d1._0x4583fc,_0x4ee5d1._0x3a76f7)]=_0x2d224b(_0x4ee5d1._0x2075d4,0x1c3,0x16c,_0x4ee5d1._0x498f6d);throw _0x22388f;}else{const _0x813fac=new Error(_0x20d718[_0x1e0d34(_0x4ee5d1._0x483874,0x39e,_0x4ee5d1._0x42f243,_0x4ee5d1._0x314fb7)]);_0x813fac['code']=_0x20d718[_0x1e0d34(_0x4ee5d1._0x14aaf7,0x34a,_0x4ee5d1._0x8bb688,0x3a2)];throw _0x813fac;}}if(_0x4511e6['some'](_0x3f7a0d=>_0x3f7a0d[_0x1e0d34(0x375,0x34b,0x37b,0x35d)]===_0x5c62cb['name'])){if(_0x2d224b(_0x4ee5d1._0x27dbcb,0x1b2,_0x4ee5d1._0x129996,0x17f)===_0x20d718[_0x1e0d34(_0x4ee5d1._0x8bb688,0x389,_0x4ee5d1._0x13fbee,0x36e)])_0x7ad8d5=null;else{const _0x5aa91b=new Error(_0x2d224b(0x141,0x13b,0x166,0x12d)+'\x27'+_0x5c62cb[_0x2d224b(0x146,_0x4ee5d1._0x516eea,0x17a,0x186)]+(_0x2d224b(_0x4ee5d1._0x29f2c8,_0x4ee5d1._0x34ff2c,0x176,0x1ac)+'exists'));_0x5aa91b[_0x2d224b(_0x4ee5d1._0x514830,0x134,0x176,0x104)]=_0x20d718[_0x1e0d34(_0x4ee5d1._0x407813,_0x4ee5d1._0x5bab53,0x399,_0x4ee5d1._0x2f9db8)];throw _0x5aa91b;}}}if(_0x20d718[_0x2d224b(0x1a2,_0x4ee5d1._0x1e2f12,_0x4ee5d1._0x23844b,_0x4ee5d1._0x22dc99)](_0x5c62cb[_0x2d224b(_0x4ee5d1._0x1b8ffd,0x16a,0x10d,0x165)],undefined))_0x585e27[_0x1e0d34(0x375,0x36f,0x35b,0x38f)]=_0x5c62cb[_0x2d224b(0x146,0x114,_0x4ee5d1._0x5a91b7,_0x4ee5d1._0x126127)];if(_0x20d718[_0x1e0d34(0x3d9,0x3f3,0x3d9,0x3f2)](_0x5c62cb[_0x2d224b(0x158,_0x4ee5d1._0x5c00b3,0x161,0x15c)+'n'],undefined))_0x585e27['descriptio'+'n']=_0x5c62cb[_0x2d224b(0x158,_0x4ee5d1._0x36a9dd,0x17b,_0x4ee5d1._0x2e5bdf)+'n'];if(_0x20d718[_0x2d224b(_0x4ee5d1._0x5f3485,0x1bf,_0x4ee5d1._0x45eae8,0x1e3)](_0x5c62cb['members'],undefined))_0x585e27['members']=_0x5c62cb[_0x1e0d34(_0x4ee5d1._0x583962,0x3d2,0x383,0x391)];return _0x585e27['updated_at']=new Date()[_0x2d224b(_0x4ee5d1._0x392ed2,0x139,0x157,0x183)+'g'](),await _0x20d718['lBUNw'](saveTeams,_0x4511e6),_0x585e27;}export async function deleteTeam(_0x38e910,_0x8553d6,_0x488d03){const _0x430c8d={_0x209239:0x4e,_0x5ea9a3:0x23,_0x42bba5:0xe7,_0xa2c25b:0xef,_0x37a580:0x54,_0x316e63:0x18,_0x469529:0xc1,_0x3e558a:0x99,_0x4523ec:0x92,_0x4e9b07:0x57,_0x5e8d51:0x55,_0x263e4e:0xda,_0x5a715e:0xdf,_0x3a946a:0x4d,_0xa00e5b:0x37,_0x5273cb:0x58,_0x7637a9:0xf9,_0x3d374b:0xc0,_0x3808a5:0x83,_0xdfe4c1:0xb7,_0x121aae:0xa7,_0x1571ca:0xd1,_0x3bb51b:0x53,_0x415d95:0x34,_0x3f7b74:0x86,_0x2cd6f6:0x42,_0x166f33:0x5c,_0x326737:0x62,_0x4a9bd5:0x3d,_0x21be10:0xc7,_0x447f1c:0x8a,_0x228c18:0x5e,_0x488ac0:0x88,_0x1dacb1:0xb2,_0x1b6d52:0x4a,_0x47651e:0x7a,_0x42ad09:0x77,_0x168461:0x7d,_0x57be2d:0x84,_0x542924:0x2e,_0x11ebe7:0x5d,_0x53515c:0x6f},_0x3f05fb={_0x1fc4f9:0x36e,_0x33266e:0x1ea},_0x286dd1={'iviuk':function(_0x545fbe,_0x4c8f5a){return _0x545fbe===_0x4c8f5a;},'LZPzC':'NOT_FOUND','VciUg':function(_0x3e74c7,_0x383bcb){return _0x3e74c7(_0x383bcb);},'lTdpn':function(_0xe27c5d,_0x1bdcea,_0x58fabd){return _0xe27c5d(_0x1bdcea,_0x58fabd);},'bCFDp':_0x22d609(-_0x430c8d._0x209239,-0x63,-_0x430c8d._0x5ea9a3,-0x85),'qQgbz':_0xaef8f9(0xf0,0xba,_0x430c8d._0x42bba5,_0x430c8d._0xa2c25b)+'am'},_0x11a34a=await getTeams(),_0x512ff4=_0x11a34a[_0x22d609(-_0x430c8d._0x37a580,-0x34,-_0x430c8d._0x316e63,-0x7e)](_0x1201c8=>_0x1201c8['id']===_0x38e910);function _0xaef8f9(_0x55ba4d,_0xaac647,_0x558644,_0x3608f4){return _0x1bcbb0(_0xaac647-0x11d,_0x558644,_0x558644-0x154,_0x3608f4-0x4f);}if(_0x286dd1[_0xaef8f9(_0x430c8d._0x469529,_0x430c8d._0x3e558a,0xae,0x78)](_0x512ff4,-(-0x2*0x1273+-0x8b0+0x2d97))){const _0x4f414f=new Error(_0x22d609(-0x73,-_0x430c8d._0x4523ec,-_0x430c8d._0x4e9b07,-_0x430c8d._0x5e8d51)+_0x38e910+(_0xaef8f9(_0x430c8d._0x263e4e,0xb0,_0x430c8d._0x5a715e,0x71)+'d'));_0x4f414f[_0xaef8f9(0x67,_0x430c8d._0x3a946a,_0x430c8d._0xa00e5b,0x4d)]=_0x286dd1[_0x22d609(-0x8,-0x11,-0x46,0x23)];throw _0x4f414f;}const _0x17c0bd=_0x11a34a[_0x512ff4];_0x11a34a[_0xaef8f9(0x78,0x50,_0x430c8d._0x5273cb,0x27)](_0x512ff4,0x1*0x1822+0x1e64+-0x3685),await _0x286dd1[_0xaef8f9(_0x430c8d._0x7637a9,_0x430c8d._0x3d374b,0xa4,_0x430c8d._0x3808a5)](saveTeams,_0x11a34a);let _0x1dff70=-0xbed+-0x10f2+-0x13*-0x185;_0x8553d6&&(_0x1dff70+=await _0x286dd1[_0xaef8f9(_0x430c8d._0xdfe4c1,_0x430c8d._0x121aae,_0x430c8d._0x1571ca,0x7f)](_0x8553d6,_0x286dd1[_0x22d609(-_0x430c8d._0x3bb51b,-_0x430c8d._0x415d95,-_0x430c8d._0x3f7b74,-0x7c)],_0x38e910));_0x488d03&&(_0x1dff70+=await _0x488d03(_0x286dd1[_0x22d609(-0x53,-_0x430c8d._0x2cd6f6,-0x8b,-0x65)],_0x38e910));const _0x203b0c={};_0x203b0c[_0xaef8f9(_0x430c8d._0x166f33,0x96,0x56,0xa9)]=_0x38e910,_0x203b0c[_0xaef8f9(0x28,_0x430c8d._0x326737,0x66,_0x430c8d._0x4a9bd5)]=_0x17c0bd['name'];function _0x22d609(_0x5966b4,_0x1ecad8,_0x426247,_0x4fa2d4){return _0x5ab84f(_0x5966b4-0x196,_0x5966b4- -_0x3f05fb._0x1fc4f9,_0x4fa2d4,_0x4fa2d4-_0x3f05fb._0x33266e);}_0x203b0c[_0xaef8f9(_0x430c8d._0x21be10,_0x430c8d._0x447f1c,_0x430c8d._0x228c18,0x9b)+'dings']=_0x1dff70,logger[_0xaef8f9(_0x430c8d._0x488ac0,0xa3,_0x430c8d._0x1dacb1,0xa6)](_0x286dd1[_0x22d609(-_0x430c8d._0x1b6d52,-0x70,-_0x430c8d._0x47651e,-0xb)],_0x203b0c);const _0x41ba10={};return _0x41ba10[_0xaef8f9(_0x430c8d._0x42ad09,0x79,0x7f,0xa5)]=_0x17c0bd,_0x41ba10[_0xaef8f9(_0x430c8d._0x168461,_0x430c8d._0x447f1c,0xa1,_0x430c8d._0x57be2d)+_0xaef8f9(_0x430c8d._0x542924,_0x430c8d._0x11ebe7,0x49,_0x430c8d._0x53515c)]=_0x1dff70,_0x41ba10;}export async function addMember(_0x1fdce4,_0x32ab5e){const _0x2ef992={_0x4cbccf:0x13a,_0x4c8570:0x142,_0x17f343:0x157,_0x7fd33d:0x131,_0xa54ff1:0x1f,_0x370ea2:0x76,_0x1606a6:0x176,_0x233750:0x1ad,_0x4e14dd:0x16f,_0xc77b13:0x9,_0x4e155c:0xd,_0x2794b5:0x158,_0x4cd93b:0x19b,_0x20c649:0x18b,_0x4130e2:0x12,_0x212eb0:0x173,_0x217e16:0x2d,_0x4d7e0c:0x2e,_0x46b7f8:0x12f,_0xe4382:0xe5,_0x108c49:0x11a,_0x2ef2ea:0x140,_0x3c53e4:0x14e,_0x2dc4c3:0x124,_0x5a22a2:0xeb,_0x140e28:0x147},_0x2beeb8={_0x56677a:0xa6,_0x5bd512:0x1ed,_0x169083:0x19};function _0x1be57c(_0x460e28,_0x481ce6,_0x1e2559,_0x513824){return _0x1bcbb0(_0x1e2559-0x76,_0x513824,_0x1e2559-0x6f,_0x513824-0x12e);}const _0x41412a={'ESQCQ':function(_0x531464){return _0x531464();},'nTVKG':_0x4ce337(_0x2ef992._0x4cbccf,_0x2ef992._0x4c8570,_0x2ef992._0x17f343,_0x2ef992._0x7fd33d),'FdKgS':_0x1be57c(0x2c,_0x2ef992._0xa54ff1,0xe,0x28),'ENUAy':function(_0x5a04e6,_0x29c734){return _0x5a04e6(_0x29c734);}},_0x55e578=await _0x41412a[_0x1be57c(-0x6,-_0x2ef992._0x370ea2,-0x39,-0x61)](getTeams),_0x367823=_0x55e578[_0x4ce337(_0x2ef992._0x1606a6,0x19f,_0x2ef992._0x233750,_0x2ef992._0x4e14dd)](_0x1d3ce2=>_0x1d3ce2['id']===_0x1fdce4);if(!_0x367823){const _0x25c0de=new Error('Team\x20\x27'+_0x1fdce4+(_0x1be57c(0x23,0xd,_0x2ef992._0xc77b13,-_0x2ef992._0x4e155c)+'d'));_0x25c0de['code']=_0x41412a['nTVKG'];throw _0x25c0de;}function _0x4ce337(_0x1bb10f,_0x4c8702,_0x535910,_0x2a3e45){return _0x5ab84f(_0x1bb10f-_0x2beeb8._0x56677a,_0x1bb10f- -_0x2beeb8._0x5bd512,_0x4c8702,_0x2a3e45-_0x2beeb8._0x169083);}if(_0x367823[_0x4ce337(0x140,0x102,_0x2ef992._0x2794b5,0x133)][_0x4ce337(0x177,_0x2ef992._0x4cd93b,0x1ab,_0x2ef992._0x20c649)](_0x32ab5e)){const _0x261e13=new Error(_0x1be57c(0x14,_0x2ef992._0x4130e2,-0xa,-0x3c)+_0x32ab5e+(_0x4ce337(_0x2ef992._0x212eb0,0x1ad,0x132,0x1ab)+'dy\x20a\x20membe'+'r\x20of\x20this\x20'+_0x1be57c(-_0x2ef992._0x217e16,-0x51,-_0x2ef992._0x4d7e0c,-0x43)));_0x261e13[_0x4ce337(0x107,_0x2ef992._0x46b7f8,0x142,_0x2ef992._0xe4382)]=_0x41412a[_0x4ce337(0x134,0x131,0x16c,_0x2ef992._0x108c49)];throw _0x261e13;}return _0x367823[_0x4ce337(_0x2ef992._0x2ef2ea,_0x2ef992._0x3c53e4,0x11e,_0x2ef992._0x2dc4c3)][_0x4ce337(0x119,_0x2ef992._0x5a22a2,0x12a,0xef)](_0x32ab5e),_0x367823[_0x4ce337(0x108,_0x2ef992._0x140e28,0x125,0x11b)]=new Date()['toISOStrin'+'g'](),await _0x41412a['ENUAy'](saveTeams,_0x55e578),_0x367823;}export async function removeMember(_0x5f57de,_0x3b06d0){const _0x5778f0={_0x18f1e7:0x5e7,_0x4bf1d2:0x5f8,_0x292746:0x606,_0x12c7c1:0x610,_0x120372:0x58f,_0x387988:0x5d8,_0x29b2e6:0x5ec,_0x1f357a:0x5c4,_0x45d46a:0x5b5,_0x2afbcb:0x578,_0x3934f9:0x5a5,_0x3ab19b:0x578,_0x2fbf9b:0x5ca,_0xeb71ce:0x5eb,_0x53b5dc:0x5db,_0x5c2461:0x619,_0x597500:0x5f0,_0x57be27:0x53b,_0x380a37:0x5ed,_0x4c3e12:0x5f7,_0x205632:0x5cc,_0x1e5b99:0x5b1,_0x16d233:0x58b,_0x5012d4:0x561,_0x281deb:0x5f3,_0x3e98c4:0x5c3,_0x2e88d0:0x622,_0x190c68:0x5d7,_0x591910:0x5fd,_0x33859a:0x5ea,_0x1a66c3:0x5c7,_0x2cb8e3:0x5d5,_0x50b94b:0x5a5,_0x2c8076:0x5d1,_0x41ef36:0x5b1,_0x3ad880:0x5dd,_0x5abc5e:0x5a1,_0x58a436:0x57b,_0x214548:0x5a0,_0x16de2e:0x579,_0x160c05:0x547,_0x1f44a6:0x576,_0x1a9c6c:0x59a,_0xfdbe6c:0x5b6,_0x346dd9:0x563,_0xac9a61:0x5c2},_0x2502a5={_0x39348f:0x648,_0x45b977:0x1e0,_0x1bae83:0x14e};function _0x817a8a(_0x366a89,_0x174b63,_0x225175,_0x12aebb){return _0x1bcbb0(_0x366a89-_0x2502a5._0x39348f,_0x225175,_0x225175-_0x2502a5._0x45b977,_0x12aebb-_0x2502a5._0x1bae83);}const _0x2a7693={'wTcLD':'NOT_FOUND','tDnlL':function(_0x311c1c){return _0x311c1c();},'xKPmH':_0x4c8abb(_0x5778f0._0x18f1e7,0x5fa,0x5cf,0x601),'VlgPl':_0x4c8abb(_0x5778f0._0x4bf1d2,_0x5778f0._0x292746,0x5fe,_0x5778f0._0x12c7c1),'eSwdg':function(_0x1265aa,_0x1c2836){return _0x1265aa===_0x1c2836;}},_0x39fbe3=await _0x2a7693[_0x817a8a(0x5ca,_0x5778f0._0x120372,0x598,0x5bd)](getTeams),_0x5df1ee=_0x39fbe3[_0x817a8a(0x5e7,0x5ac,_0x5778f0._0x387988,0x5fb)](_0x17a0e4=>_0x17a0e4['id']===_0x5f57de);if(!_0x5df1ee){if(_0x2a7693['xKPmH']!==_0x2a7693[_0x4c8abb(_0x5778f0._0x29b2e6,0x5ac,_0x5778f0._0x1f357a,0x5e8)]){const _0x2a5b8b=new Error(_0x4c8abb(0x596,0x5a8,_0x5778f0._0x18f1e7,_0x5778f0._0x45d46a)+_0x5f57de+(_0x817a8a(0x5db,0x617,0x5e6,0x5db)+'d'));_0x2a5b8b[_0x817a8a(_0x5778f0._0x2afbcb,_0x5778f0._0x3934f9,0x53d,_0x5778f0._0x3ab19b)]=_0x2a7693[_0x4c8abb(_0x5778f0._0x2fbf9b,0x605,_0x5778f0._0xeb71ce,0x5cc)];throw _0x2a5b8b;}else{const _0x14663a=new _0x2036fd('Team\x20\x27'+_0x460d70+(_0x817a8a(_0x5778f0._0x53b5dc,0x5d8,_0x5778f0._0x5c2461,_0x5778f0._0x597500)+'d'));_0x14663a[_0x817a8a(0x578,_0x5778f0._0x57be27,0x563,0x55f)]=_0x2a7693[_0x4c8abb(_0x5778f0._0x380a37,_0x5778f0._0x4c3e12,0x602,_0x5778f0._0x205632)];throw _0x14663a;}}const _0x5708cf=_0x5df1ee[_0x817a8a(_0x5778f0._0x1e5b99,0x592,0x5bd,0x5ce)][_0x817a8a(_0x5778f0._0x16d233,0x566,0x577,_0x5778f0._0x5012d4)](_0x3b06d0);function _0x4c8abb(_0x125770,_0x4130a8,_0x3252d4,_0x1a869f){return _0x5ab84f(_0x125770-0xf0,_0x1a869f-0x2ba,_0x3252d4,_0x1a869f-0xfe);}if(_0x2a7693[_0x817a8a(_0x5778f0._0x205632,_0x5778f0._0x281deb,0x592,0x5d2)](_0x5708cf,-(-0xef*0x18+0x17*0x8f+-0x330*-0x3))){const _0x4c41fe=new Error(_0x817a8a(0x5c8,_0x5778f0._0x3e98c4,0x605,0x5a6)+_0x3b06d0+(_0x4c8abb(0x609,_0x5778f0._0x2e88d0,_0x5778f0._0x190c68,_0x5778f0._0x591910)+_0x4c8abb(0x5f5,_0x5778f0._0x33859a,0x642,0x60c)+_0x4c8abb(_0x5778f0._0x1a66c3,0x5e1,_0x5778f0._0x2cb8e3,0x5a7)));_0x4c41fe['code']=_0x2a7693[_0x4c8abb(_0x5778f0._0x50b94b,0x5d8,_0x5778f0._0x2c8076,0x5cc)];throw _0x4c41fe;}return _0x5df1ee[_0x817a8a(_0x5778f0._0x41ef36,0x5cf,_0x5778f0._0x3ad880,_0x5778f0._0x5abc5e)][_0x817a8a(_0x5778f0._0x58a436,0x53d,0x53e,_0x5778f0._0x214548)](_0x5708cf,0x1d1e+-0xba9+-0x1174),_0x5df1ee[_0x817a8a(_0x5778f0._0x16de2e,_0x5778f0._0x160c05,_0x5778f0._0x1f44a6,_0x5778f0._0x1a9c6c)]=new Date()[_0x817a8a(0x584,_0x5778f0._0xfdbe6c,_0x5778f0._0x346dd9,_0x5778f0._0xac9a61)+'g'](),await saveTeams(_0x39fbe3),_0x5df1ee;}function _0x1bcbb0(_0x416afc,_0x1ea6ec,_0xf61bda,_0x570a75){return _0xe898(_0x416afc- -0x2a3,_0x1ea6ec);}export function _resetCache(){teamsCache=null;}
|