@profoundlogic/coderflow-server 0.5.4 → 0.5.6
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/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.css +409 -0
- 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.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 +2975 -2022
- package/dist/web-ui/public/task.html +98 -2
- 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
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x2f0613,_0x5e6c19){const _0x5d81b1={_0x3c038e:0x38,_0x5f6bae:0xca,_0x17b1fc:0xcf,_0x25dfda:0xcb,_0x2f9823:0x46,_0x221014:0x2e,_0x3a31ae:0x3a,_0x4f4051:0x30,_0x3a3641:0x48,_0xac9684:0xe1,_0x572fd7:0xdd,_0x18f495:0xdc,_0x411979:0x2d,_0x2c1da6:0x2c,_0x4248b6:0xdf,_0x4e9b68:0xd6,_0x43697e:0xd2,_0x183c4f:0xd8,_0x3bc21d:0xd5,_0x234d0a:0xc7,_0x386236:0x3b,_0x4d431:0x36,_0x3d0fa5:0x39,_0x12343a:0x34,_0x234cf7:0x40},_0x249f1f={_0x20a5a2:0x1b4},_0x417cd6={_0x7fd37c:0xa3},_0x39763b=_0x2f0613();function _0x502f07(_0x202003,_0x22dfbc,_0x4a410b,_0x12ca50){return _0x5908(_0x4a410b- -_0x417cd6._0x7fd37c,_0x202003);}function _0x41f3aa(_0x54c61d,_0x4dece9,_0xdeec5b,_0x3d4809){return _0x5908(_0xdeec5b- -_0x249f1f._0x20a5a2,_0x4dece9);}while(!![]){try{const _0x538be9=parseInt(_0x502f07(0x28,_0x5d81b1._0x3c038e,0x2d,0x2a))/(-0x18b2+0x5*0x366+-0x1*-0x7b5)*(-parseInt(_0x41f3aa(-0xc8,-_0x5d81b1._0x5f6bae,-_0x5d81b1._0x17b1fc,-_0x5d81b1._0x25dfda))/(-0x1c1*0x1+-0x1ed6*0x1+0x5*0x685))+parseInt(_0x502f07(_0x5d81b1._0x2f9823,0x3c,0x3b,_0x5d81b1._0x221014))/(-0x2b0*0x3+-0x1*-0x37+-0x1*-0x7dc)*(-parseInt(_0x502f07(_0x5d81b1._0x3a31ae,_0x5d81b1._0x4f4051,0x3d,_0x5d81b1._0x3a3641))/(-0xf53+-0xbb*0x32+-0xb*-0x4b7))+parseInt(_0x41f3aa(-_0x5d81b1._0xac9684,-0xd2,-_0x5d81b1._0x572fd7,-_0x5d81b1._0x18f495))/(-0x18d8+0x1b3b+-0x25e)*(-parseInt(_0x502f07(_0x5d81b1._0x411979,0x24,_0x5d81b1._0x2c1da6,0x2e))/(0x17a2+0x5*-0x37a+-0x2*0x31d))+parseInt(_0x41f3aa(-0xd7,-_0x5d81b1._0x4248b6,-0xdc,-_0x5d81b1._0x4e9b68))/(-0x15e9+-0xb02+-0x20f2*-0x1)*(-parseInt(_0x41f3aa(-0xcd,-0xcc,-_0x5d81b1._0x43697e,-_0x5d81b1._0x183c4f))/(-0x5*0x206+-0x1*0x2689+0x30af))+-parseInt(_0x41f3aa(-0xe1,-_0x5d81b1._0x183c4f,-_0x5d81b1._0x3bc21d,-_0x5d81b1._0x234d0a))/(-0x15c7+-0x266+0x1836)+-parseInt(_0x502f07(0x30,_0x5d81b1._0x386236,_0x5d81b1._0x4d431,_0x5d81b1._0x3d0fa5))/(-0x1084*0x2+0xa21+0x16f1)+-parseInt(_0x502f07(0x38,_0x5d81b1._0x12343a,0x2f,0x27))/(0x9df+0x1009+-0x19dd)*(-parseInt(_0x502f07(0x4d,0x33,_0x5d81b1._0x234cf7,0x3e))/(-0x781*0x1+0x529*0x7+-0x1c92));if(_0x538be9===_0x5e6c19)break;else _0x39763b['push'](_0x39763b['shift']());}catch(_0x10514c){_0x39763b['push'](_0x39763b['shift']());}}}(_0x3a22,0x35edc+-0xf75cf+0x835*0x26e));function normalizeOptionalString(_0x31f7ce){const _0x6c85ed={_0x41a5da:0xc0,_0x15d29e:0xc1,_0x5178a2:0xce,_0x46981b:0xbc,_0x4a3167:0xb8,_0x36eccc:0x4b,_0x1ff98b:0x48,_0x494377:0x53},_0x50359b={_0x4602ef:0x122},_0x18172e={};function _0x489ec0(_0x5c87bb,_0x426a99,_0x2e356b,_0x39b11b){return _0x5908(_0x2e356b- -0x1a,_0x426a99);}_0x18172e[_0x489ec0(_0x6c85ed._0x41a5da,0xb4,_0x6c85ed._0x15d29e,_0x6c85ed._0x5178a2)]=function(_0x2951da,_0x305d2e){return _0x2951da!==_0x305d2e;};const _0x3262fc=_0x18172e;if(_0x3262fc[_0x489ec0(0xb3,_0x6c85ed._0x46981b,0xc1,_0x6c85ed._0x4a3167)](typeof _0x31f7ce,'string'))return null;function _0x1a400b(_0x45ab69,_0x2de80a,_0x2d192b,_0x2c2d72){return _0x5908(_0x2d192b- -_0x50359b._0x4602ef,_0x2c2d72);}const _0x1229f6=_0x31f7ce[_0x1a400b(-0x4c,-_0x6c85ed._0x36eccc,-_0x6c85ed._0x1ff98b,-_0x6c85ed._0x494377)]();return _0x1229f6?_0x1229f6:null;}function _0x3a22(){const _0x17145a=['B2jQzwn0','m0vbCMDyqW','nZC5mtq1m0TmDKDira','otuYmta0y2DgEKPK','yxv0B21HDgLVBG','mZCYotq0off1q3jAEa','mte2nZi5nJrRzuTqDvm','s0XUC3u','mtzZDMLTANi','C0XotK8','sLn5Bgu','D3DLthq','AxnbCNjHEq','ntC5nZi1nfPSB251Bq','otC0mZvkzhjSBvq','vevArxG','ndrNsgvqCey','C291CMnL','wePTDMe','tMfTzq','A3PNy3O','nwTwt3v0vq','n0XAA1Pvta','nJa4nJaWC2HTANLN','DhjPBq','qw1mvLy','rgPqvw4'];_0x3a22=function(){return _0x17145a;};return _0x3a22();}function _0x5908(_0x4b7a5d,_0x523caa){_0x4b7a5d=_0x4b7a5d-(0x1154*-0x1+0x4*-0x2c6+0x1*0x1d3b);const _0x134ac6=_0x3a22();let _0x110349=_0x134ac6[_0x4b7a5d];if(_0x5908['GPUnVt']===undefined){var _0x4b2ecd=function(_0x36c203){const _0x118d4d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4bd44b='',_0x5535cb='';for(let _0x18ffb5=0x6b*-0x49+0x254a+-0x6c7*0x1,_0x2a8fe5,_0x3eb619,_0x219b34=0x11f5+-0x17b3+0x46*0x15;_0x3eb619=_0x36c203['charAt'](_0x219b34++);~_0x3eb619&&(_0x2a8fe5=_0x18ffb5%(0xb*0x232+-0x24e0+0xcbe)?_0x2a8fe5*(0xb9c+0x638+-0x1194)+_0x3eb619:_0x3eb619,_0x18ffb5++%(0x617+0x1*-0x18e5+0x646*0x3))?_0x4bd44b+=String['fromCharCode'](0xf9*-0x19+0xd68+0x2*0x5f4&_0x2a8fe5>>(-(0x13cb+-0x5be+-0x1*0xe0b)*_0x18ffb5&0x1e1*-0x3+-0x1683+0x1c2c)):0x43*-0x47+0x1*0xfcc+0x2c9){_0x3eb619=_0x118d4d['indexOf'](_0x3eb619);}for(let _0x445920=0x1af*0xa+0x20e7+0x71b*-0x7,_0x48b12c=_0x4bd44b['length'];_0x445920<_0x48b12c;_0x445920++){_0x5535cb+='%'+('00'+_0x4bd44b['charCodeAt'](_0x445920)['toString'](0x1d80+0xf17*-0x2+0xbe))['slice'](-(-0x2*-0x3a6+-0x9bf*-0x1+-0x1*0x1109));}return decodeURIComponent(_0x5535cb);};_0x5908['MTBPCR']=_0x4b2ecd,_0x5908['gVjIOl']={},_0x5908['GPUnVt']=!![];}const _0x13aec1=_0x134ac6[-0x686*0x1+0x109b+-0x59*0x1d],_0x2f8764=_0x4b7a5d+_0x13aec1,_0x57c55e=_0x5908['gVjIOl'][_0x2f8764];return!_0x57c55e?(_0x110349=_0x5908['MTBPCR'](_0x110349),_0x5908['gVjIOl'][_0x2f8764]=_0x110349):_0x110349=_0x57c55e,_0x110349;}export function getUntrustedTaskSourceMetadata(_0x505920=null){const _0x569dd6={_0x3ab645:0xd7,_0x46b594:0x203,_0x3d478a:0x20e,_0x539a74:0x20a,_0x172f70:0xbf,_0x50f8ba:0xd8,_0x55167a:0xd1,_0x344ac2:0xd3},_0x7c3bed={_0x1fc830:0x1a6};function _0x39a317(_0x16b761,_0xf7bf71,_0x315d65,_0x5ea6d1){return _0x5908(_0xf7bf71- -0x2ef,_0x5ea6d1);}function _0x39a1e2(_0x3b552c,_0x12216e,_0x214649,_0x3986c4){return _0x5908(_0x214649- -_0x7c3bed._0x1fc830,_0x3986c4);}const _0x26618e={};return _0x26618e[_0x39a1e2(-_0x569dd6._0x3ab645,-0xd5,-0xd3,-0xcf)]=null,_0x26618e[_0x39a317(-_0x569dd6._0x46b594,-_0x569dd6._0x3d478a,-0x201,-_0x569dd6._0x539a74)+'Id']=null,_0x26618e[_0x39a1e2(-_0x569dd6._0x172f70,-0xcf,-0xc5,-0xcc)+_0x39a1e2(-_0x569dd6._0x50f8ba,-0xdd,-_0x569dd6._0x55167a,-_0x569dd6._0x344ac2)]=null,_0x26618e;}export function getTrustedTaskSourceMetadata(_0x478d23={}){const _0x5d77f2={_0x5e1519:0x1d4,_0x172f6f:0x1cf,_0x354d7c:0x12d,_0x155d62:0x119,_0x2457c1:0x1c6,_0x2c9981:0x1cb,_0x100ee8:0x1d0,_0x4f96cf:0x1ce,_0x5eb6ce:0x1c5,_0x291c72:0x1d4,_0x5d0c17:0x1ba,_0x36d5cd:0x1c5,_0x55b729:0x1cf,_0x21588d:0x1c3,_0x2076e7:0x108,_0x25e163:0x110,_0x3217ff:0x109,_0x47c671:0x1c6,_0x3ed261:0x1c5,_0x41304d:0x1c8,_0x561ff9:0x107,_0x4c74d5:0x113,_0x384b9f:0x119,_0x3c7946:0x11c,_0x3710a7:0x1c5,_0x5a6642:0xfe,_0x55ea41:0x10b,_0x39044f:0x11a,_0x4e2bb0:0x10f,_0x46bb31:0x1da,_0x17c19c:0x1cc,_0x1b33ef:0x114,_0x51b23a:0x119,_0x2aa529:0x115,_0x3fc7c4:0x10d,_0xa262b4:0x10a};function _0x97196e(_0x4b1dfe,_0x44854b,_0x71a308,_0x565b47){return _0x5908(_0x565b47- -0x2ac,_0x71a308);}function _0x4c20ab(_0x1aaeae,_0x53ee97,_0x48bc3a,_0x4ea00e){return _0x5908(_0x48bc3a-0x38,_0x1aaeae);}const _0x2bba53={'DjPUn':function(_0x1b6233,_0x2fc00f){return _0x1b6233!==_0x2fc00f;},'sLNNO':_0x97196e(-0x1da,-_0x5d77f2._0x5e1519,-0x1d7,-_0x5d77f2._0x172f6f),'TEZEx':function(_0x3779bc,_0x48fa1d){return _0x3779bc===_0x48fa1d;},'JSyle':_0x4c20ab(_0x5d77f2._0x354d7c,_0x5d77f2._0x155d62,0x120,0x125),'KLnsu':function(_0x10c657){return _0x10c657();},'kzgcz':function(_0x50a02e,_0x1bc481){return _0x50a02e(_0x1bc481);},'XJmva':function(_0x436d9e,_0x5a0f1d){return _0x436d9e(_0x5a0f1d);}};if(!_0x478d23||_0x2bba53[_0x97196e(-_0x5d77f2._0x2457c1,-0x1d1,-_0x5d77f2._0x2c9981,-_0x5d77f2._0x100ee8)](typeof _0x478d23,_0x2bba53[_0x97196e(-_0x5d77f2._0x4f96cf,-_0x5d77f2._0x5eb6ce,-_0x5d77f2._0x291c72,-0x1c6)])||Array[_0x97196e(-_0x5d77f2._0x5d0c17,-_0x5d77f2._0x36d5cd,-_0x5d77f2._0x55b729,-_0x5d77f2._0x21588d)](_0x478d23)){if(_0x2bba53[_0x4c20ab(_0x5d77f2._0x2076e7,_0x5d77f2._0x25e163,_0x5d77f2._0x3217ff,0x105)](_0x2bba53['JSyle'],_0x2bba53[_0x97196e(-0x1c9,-_0x5d77f2._0x2457c1,-_0x5d77f2._0x47c671,-_0x5d77f2._0x3ed261)]))return _0x2bba53[_0x97196e(-0x1ce,-0x1c0,-0x1cd,-_0x5d77f2._0x41304d)](getUntrustedTaskSourceMetadata);else{const _0x2b05ca={};return _0x2b05ca[_0x4c20ab(_0x5d77f2._0x561ff9,_0x5d77f2._0x2076e7,0x10b,_0x5d77f2._0x4c74d5)]=null,_0x2b05ca[_0x4c20ab(0x116,_0x5d77f2._0x155d62,_0x5d77f2._0x384b9f,_0x5d77f2._0x3c7946)+'Id']=null,_0x2b05ca[_0x97196e(-0x1d5,-0x1cb,-_0x5d77f2._0x3710a7,-0x1cb)+'Name']=null,_0x2b05ca;}}return{'source':normalizeOptionalString(_0x478d23[_0x4c20ab(_0x5d77f2._0x5a6642,0x10d,_0x5d77f2._0x55ea41,0x10d)]),'automationId':_0x2bba53[_0x4c20ab(0x105,0x115,0x10e,_0x5d77f2._0x39044f)](normalizeOptionalString,_0x478d23[_0x4c20ab(_0x5d77f2._0x4e2bb0,0x10e,0x119,0x11a)+'Id']),'automationName':_0x2bba53[_0x97196e(-_0x5d77f2._0x46bb31,-_0x5d77f2._0x17c19c,-0x1da,-0x1d8)](normalizeOptionalString,_0x478d23[_0x4c20ab(_0x5d77f2._0x1b33ef,0x121,_0x5d77f2._0x51b23a,0x10d)+_0x4c20ab(_0x5d77f2._0x2aa529,_0x5d77f2._0x3217ff,_0x5d77f2._0x3fc7c4,_0x5d77f2._0xa262b4)])};}
|
package/dist/lib/teams.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x477dd6,_0x11042b){const _0x50fc21={_0x429978:0x27b,_0x462e57:0x15,_0x1847c7:0x11,_0x1304de:0x34,_0x5f07dc:0x61,_0x3e62d0:0x19,_0xc90b54:0x5f,_0x1ca7f6:0x241,_0x5b73ef:0x252,_0xb487a1:0x270,_0x2142f9:0x41,_0x5073af:0x0,_0x5d2d9d:0x21b,_0x59017c:0x24e,_0x1a05f6:0x246,_0x83d845:0x285,_0x2bb342:0x48,_0x2a4102:0x1a,_0x2f2b5e:0x22,_0x47ac5b:0x206,_0x3d23ba:0x201},_0x4946c4={_0x1b8a6f:0x107},_0x75bb29=_0x477dd6();function _0x5e628c(_0x7f23e4,_0x30fa2b,_0x3eb38c,_0x7cad7c){return _0x539e(_0x3eb38c- -_0x4946c4._0x1b8a6f,_0x7cad7c);}function _0x3f8aea(_0x6b0a2a,_0x3a1b10,_0x5b35d2,_0x7e57a9){return _0x539e(_0x5b35d2- -0x33e,_0x6b0a2a);}while(!![]){try{const _0x5ef6c0=parseInt(_0x3f8aea(-0x29b,-0x275,-0x260,-_0x50fc21._0x429978))/(0x1*0x1957+0x91*0x13+-0x2419)*(-parseInt(_0x5e628c(-0x12,0x1c,-0x2c,-_0x50fc21._0x462e57))/(0x995*0x3+-0x1*-0x56b+-0x2228))+-parseInt(_0x5e628c(-0x35,-_0x50fc21._0x1847c7,-_0x50fc21._0x1304de,-_0x50fc21._0x5f07dc))/(0x14a3+-0x6d2+-0x24d*0x6)+-parseInt(_0x5e628c(-_0x50fc21._0x3e62d0,_0x50fc21._0xc90b54,0x25,0x0))/(0xbbc+0x13c3+-0x1*0x1f7b)+-parseInt(_0x3f8aea(-0x286,-_0x50fc21._0x1ca7f6,-0x284,-_0x50fc21._0x5b73ef))/(0xaf3+0x11b*-0x23+-0x17*-0x135)+-parseInt(_0x3f8aea(-0x29d,-0x280,-_0x50fc21._0xb487a1,-0x22f))/(-0x24eb+0x2619+-0x128)*(-parseInt(_0x5e628c(0x32,-_0x50fc21._0x2142f9,_0x50fc21._0x5073af,-0x7))/(0x1*-0x1c8b+0x8bf+0x13d3))+parseInt(_0x3f8aea(-_0x50fc21._0x5d2d9d,-_0x50fc21._0x59017c,-_0x50fc21._0x1a05f6,-_0x50fc21._0x83d845))/(0x1e53+0x3cf+-0x221a)+parseInt(_0x5e628c(-_0x50fc21._0x2bb342,_0x50fc21._0x2a4102,-0x6,_0x50fc21._0x2f2b5e))/(0xa*-0x2d7+0x11*0x1df+-0x360)*(parseInt(_0x3f8aea(-_0x50fc21._0x47ac5b,-0x1f7,-_0x50fc21._0x3d23ba,-0x1f6))/(-0x1fea+0xa29+0x15cb));if(_0x5ef6c0===_0x11042b)break;else _0x75bb29['push'](_0x75bb29['shift']());}catch(_0xbcd300){_0x75bb29['push'](_0x75bb29['shift']());}}}(_0x4a2a,-0x5f*-0x7e1+0x98bff+-0x2*0x36809));function _0x539e(_0xaeac92,_0x500911){_0xaeac92=_0xaeac92-(0x367*0x2+-0x1*0x87e+0x265);const _0x51c87e=_0x4a2a();let _0x1c32e5=_0x51c87e[_0xaeac92];if(_0x539e['fmMKZb']===undefined){var _0x153391=function(_0x39ed57){const _0x2a756b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x44c0b3='',_0xdf556c='';for(let _0xf080b5=0x1cd0*-0x1+0x2566+-0x896*0x1,_0x33315e,_0x501900,_0x2284d5=0x164+-0x119*-0x10+-0x1*0x12f4;_0x501900=_0x39ed57['charAt'](_0x2284d5++);~_0x501900&&(_0x33315e=_0xf080b5%(-0x1e07*-0x1+-0x7*0xc7+-0x2*0xc49)?_0x33315e*(-0x8bc+-0x68*-0x4f+-0x171c)+_0x501900:_0x501900,_0xf080b5++%(0x1*0x151f+0x175e+-0x2c79))?_0x44c0b3+=String['fromCharCode'](0x19e2+0x2485+-0x3d68&_0x33315e>>(-(0xd45+-0x4a5+-0x1*0x89e)*_0xf080b5&0x190f+0x1e*-0xd0+-0xa9)):-0x1*0x20d2+-0x1f*-0x13a+-0x534){_0x501900=_0x2a756b['indexOf'](_0x501900);}for(let _0x108dab=0x1ee2+0x1*-0xf5+-0x1ded*0x1,_0x9e55d6=_0x44c0b3['length'];_0x108dab<_0x9e55d6;_0x108dab++){_0xdf556c+='%'+('00'+_0x44c0b3['charCodeAt'](_0x108dab)['toString'](0x1563+-0x1553+0x0))['slice'](-(0x1471+-0x117e+-0x2f1));}return decodeURIComponent(_0xdf556c);};_0x539e['eSVgsJ']=_0x153391,_0x539e['gYDUop']={},_0x539e['fmMKZb']=!![];}const _0x33f7d9=_0x51c87e[-0x2fc+0x1*-0x1c0b+0x1f07],_0x449888=_0xaeac92+_0x33f7d9,_0x317f6b=_0x539e['gYDUop'][_0x449888];return!_0x317f6b?(_0x1c32e5=_0x539e['eSVgsJ'](_0x1c32e5),_0x539e['gYDUop'][_0x449888]=_0x1c32e5):_0x1c32e5=_0x317f6b,_0x1c32e5;}function _0x40534d(_0x413acc,_0x531e97,_0x472684,_0x3b5f43){const _0x4f4746={_0x3c9593:0x2db};return _0x539e(_0x531e97-_0x4f4746._0x3c9593,_0x413acc);}import{promises as _0x304f1e}from'fs';import _0x436475 from'path';import{logger}from'./logger.js';import{DATA_DIR}from'./data-dir.js';const TEAMS_FILE=_0x436475['join'](DATA_DIR,_0x40534d(0x380,0x3ac,0x395,0x3b2));let teamsCache=null,teamsCacheMtime=null;export async function loadTeams(){const _0x1acd7f={_0x1d8043:0x2c7,_0x5c2897:0x28c,_0x3dce0f:0x165,_0x3dbcd2:0x1b4,_0x270ea3:0x16e,_0xca7368:0x2b4,_0xe6c534:0x28b,_0x565ce5:0x29a,_0x1b363b:0x25d,_0xdfd105:0x167,_0x3a2cc8:0x187,_0x329e9d:0x1b3,_0xc70719:0x1c2,_0x1c5a5f:0x194,_0x4d0972:0x1a6,_0x5989e4:0x211,_0x393955:0x1a7,_0x4d4e0a:0x1e1,_0x91b9e8:0x1c7,_0x90820b:0x264,_0x20e156:0x14a,_0x1ac2a4:0x199,_0x544d7f:0x170,_0x4e8d0d:0x30d,_0x50f8fc:0x307,_0x12af66:0x30b,_0x138a5c:0x29f,_0x3643a9:0x1ee,_0x32a660:0x1f8,_0x45c6d4:0x1b5,_0x3a2b4e:0x2fa,_0x1b270e:0x2a1,_0xafa0ae:0x18c,_0x2ea994:0x26b,_0x52f37c:0x2a6,_0x483633:0x2c1,_0x5a1fe0:0x1e2,_0x5a53c0:0x2c4,_0x107f9e:0x2c2,_0x41a57a:0x297,_0x56825e:0x1ba,_0x46cce3:0x1f2,_0x4b0b95:0x1cd,_0x3bbd91:0x233,_0x1a5733:0x286,_0x5b6f2a:0x253,_0x283dc6:0x261,_0x1f7aa3:0x2ab,_0x25d023:0x257,_0x28a102:0x25c,_0x553736:0x27a,_0x214741:0x1e6,_0x3ee6de:0x1d0,_0x3bd606:0x185,_0x9c4d6:0x17a,_0x288c7a:0x284,_0x13cab6:0x190,_0x397c76:0x1d7,_0x9f1972:0x19c,_0x3d1c8d:0x1a4,_0x2cbf38:0x291,_0x598d6e:0x271,_0x264c70:0x22f,_0x16585d:0x195,_0x43f9eb:0x1c9,_0x2dc293:0x19b,_0x3e8a02:0x28e,_0x1d2ebe:0x2a0,_0x57f4cd:0x28d,_0x45d25a:0x212,_0x4b21f5:0x2ae,_0x22ed8c:0x289,_0x8cca46:0x26c,_0x1164db:0x247,_0x4fec21:0x18e,_0x5abd76:0x16c,_0x5c5d12:0x230,_0x2ce755:0x256,_0x299794:0x277,_0xabebf4:0x260,_0x561c43:0x226,_0x4a3f84:0x2f9,_0x5d684e:0x2d8,_0xb18298:0x17a,_0x56ce2f:0x197,_0x142499:0x1a4,_0x11670f:0x1d2,_0x2c6b61:0x1dd,_0x4e6b8c:0x1f8},_0x5aeb86={_0x4ea448:0x668},_0x4c3d78={'SFqam':_0x1a39f9(-_0x1acd7f._0x1d8043,-_0x1acd7f._0x5c2897,-0x299,-0x2a5),'zjYDT':_0x1d7085(-_0x1acd7f._0x3dce0f,-_0x1acd7f._0x3dbcd2,-_0x1acd7f._0x270ea3,-0x15a),'XHmqb':_0x1a39f9(-0x25c,-_0x1acd7f._0xca7368,-_0x1acd7f._0xe6c534,-_0x1acd7f._0x565ce5),'bjNNu':_0x1d7085(-0x152,-0x140,-0x179,-0x169),'JlmRz':_0x1a39f9(-0x28c,-_0x1acd7f._0x1b363b,-0x254,-0x28a),'HyScu':'Loaded\x20tea'+_0x1d7085(-0x17c,-_0x1acd7f._0xdfd105,-_0x1acd7f._0x3a2cc8,-0x150)+'le','OtAfc':_0x1d7085(-0x1db,-_0x1acd7f._0x329e9d,-_0x1acd7f._0xc70719,-_0x1acd7f._0x1c5a5f),'YlElX':function(_0x48d579,_0x2f4aed){return _0x48d579===_0x2f4aed;},'BvAHB':_0x1d7085(-0x210,-_0x1acd7f._0x4d0972,-0x1cf,-_0x1acd7f._0x5989e4),'mRJEY':_0x1d7085(-_0x1acd7f._0x393955,-_0x1acd7f._0x4d4e0a,-_0x1acd7f._0x91b9e8,-0x194),'MhdlF':_0x1a39f9(-0x269,-_0x1acd7f._0x90820b,-0x25f,-0x281)+'\x20not\x20found'+_0x1d7085(-_0x1acd7f._0x20e156,-_0x1acd7f._0x1ac2a4,-_0x1acd7f._0x544d7f,-0x151)+_0x1a39f9(-0x2ca,-_0x1acd7f._0x4e8d0d,-0x2ca,-_0x1acd7f._0x50f8fc)+_0x1a39f9(-0x28e,-_0x1acd7f._0x12af66,-0x2c9,-_0x1acd7f._0x138a5c),'ZzqOT':function(_0x33ba0b,_0x199c27){return _0x33ba0b(_0x199c27);},'Tqnsx':_0x1d7085(-0x1e1,-0x1bc,-_0x1acd7f._0x3643a9,-_0x1acd7f._0x32a660)+_0x1d7085(-0x181,-_0x1acd7f._0x45c6d4,-0x1c6,-0x1da)};function _0x1a39f9(_0x1905cf,_0x1afc48,_0x474b25,_0xc96543){return _0x40534d(_0xc96543,_0x474b25- -_0x5aeb86._0x4ea448,_0x474b25-0x19,_0xc96543-0x75);}function _0x1d7085(_0x319a6b,_0x436f35,_0x56186e,_0x368236){return _0x40534d(_0x368236,_0x56186e- -0x58a,_0x56186e-0x1c1,_0x368236-0x15b);}try{if(_0x4c3d78[_0x1a39f9(-0x2cc,-_0x1acd7f._0x3a2b4e,-0x2b3,-0x2c9)]==='jfRcp'){const _0x1b3ec0=await _0x304f1e['stat'](TEAMS_FILE),_0x22f34c=await _0x304f1e[_0x1a39f9(-0x265,-_0x1acd7f._0x1b270e,-0x27f,-0x25f)](TEAMS_FILE,_0x4c3d78['JlmRz']),_0x29d547=JSON[_0x1d7085(-_0x1acd7f._0xafa0ae,-0x167,-0x17a,-0x182)](_0x22f34c);teamsCache=_0x29d547[_0x1a39f9(-0x2c8,-_0x1acd7f._0x2ea994,-_0x1acd7f._0x52f37c,-_0x1acd7f._0x483633)]||[],teamsCacheMtime=_0x1b3ec0[_0x1d7085(-_0x1acd7f._0x91b9e8,-0x22a,-_0x1acd7f._0x5a1fe0,-0x213)];const _0x1ac3a6={};return _0x1ac3a6[_0x1a39f9(-_0x1acd7f._0x5a53c0,-0x2e6,-_0x1acd7f._0x107f9e,-_0x1acd7f._0x41a57a)]=teamsCache[_0x1d7085(-_0x1acd7f._0x56825e,-_0x1acd7f._0x46cce3,-_0x1acd7f._0x4b0b95,-0x188)],logger[_0x1a39f9(-_0x1acd7f._0x3bbd91,-_0x1acd7f._0x1a5733,-_0x1acd7f._0x5b6f2a,-0x28f)](_0x4c3d78['HyScu'],_0x1ac3a6),teamsCache;}else{if(!_0x4977f7[_0x1a39f9(-_0x1acd7f._0x283dc6,-_0x1acd7f._0x1f7aa3,-0x268,-_0x1acd7f._0x25d023)]['trim']()){const _0x1ad615=new _0x4f4777(_0x1a39f9(-0x251,-_0x1acd7f._0x28a102,-_0x1acd7f._0x553736,-0x267)+_0x1d7085(-_0x1acd7f._0x214741,-_0x1acd7f._0x3ee6de,-0x1a2,-0x1a1)+'d');_0x1ad615[_0x1d7085(-0x1a7,-0x1c5,-_0x1acd7f._0x3bd606,-_0x1acd7f._0x9c4d6)]=_0x4c3d78[_0x1a39f9(-0x247,-0x242,-_0x1acd7f._0x288c7a,-0x24d)];throw _0x1ad615;}if(_0x358e53[_0x1d7085(-0x151,-0x153,-_0x1acd7f._0x13cab6,-0x1c7)](_0xc0a0f3=>_0xc0a0f3['name']===_0x5c42f1['name'])){const _0x3f0a0e=new _0x2bb4af(_0x1d7085(-_0x1acd7f._0x397c76,-0x1bd,-_0x1acd7f._0x9f1972,-_0x1acd7f._0x3d1c8d)+'\x27'+_0x1affe1['name']+(_0x1d7085(-0x1db,-0x228,-0x1e3,-0x20c)+_0x1a39f9(-_0x1acd7f._0x2cbf38,-0x233,-_0x1acd7f._0x598d6e,-_0x1acd7f._0x264c70)));_0x3f0a0e['code']=_0x4c3d78[_0x1d7085(-_0x1acd7f._0x16585d,-0x1c1,-0x184,-_0x1acd7f._0x43f9eb)];throw _0x3f0a0e;}}}catch(_0x17c050){if(_0x17c050[_0x1d7085(-0x160,-_0x1acd7f._0x2dc293,-0x185,-0x1a3)]===_0x4c3d78[_0x1a39f9(-0x2bf,-_0x1acd7f._0xca7368,-_0x1acd7f._0x3e8a02,-_0x1acd7f._0x1d2ebe)]){if(_0x4c3d78[_0x1a39f9(-_0x1acd7f._0x1b363b,-_0x1acd7f._0x57f4cd,-0x24b,-_0x1acd7f._0x45d25a)](_0x4c3d78[_0x1a39f9(-_0x1acd7f._0x4b21f5,-_0x1acd7f._0x22ed8c,-_0x1acd7f._0x8cca46,-_0x1acd7f._0x1164db)],_0x4c3d78[_0x1d7085(-0x183,-_0x1acd7f._0x3dce0f,-_0x1acd7f._0x4fec21,-_0x1acd7f._0x5abd76)])){const _0x34608d=_0x4c3d78['mRJEY'][_0x1a39f9(-_0x1acd7f._0x5c5d12,-_0x1acd7f._0x2ce755,-_0x1acd7f._0x299794,-_0x1acd7f._0xabebf4)]('|');let _0x25a736=-0x49e+-0x233+0x6d1;while(!![]){switch(_0x34608d[_0x25a736++]){case'0':logger[_0x1d7085(-0x202,-_0x1acd7f._0x561c43,-0x1f0,-0x1d0)](_0x4c3d78[_0x1a39f9(-_0x1acd7f._0x4a3f84,-0x2e2,-_0x1acd7f._0x5d684e,-0x320)]);continue;case'1':await _0x4c3d78['ZzqOT'](saveTeams,teamsCache);continue;case'2':teamsCache=[];continue;case'3':return teamsCache;case'4':teamsCacheMtime=null;continue;}break;}}else{const _0x379642=new _0x7a1e4b('Team\x20\x27'+_0x5e18ad+('\x27\x20not\x20foun'+'d'));_0x379642[_0x1d7085(-0x179,-0x1a2,-0x185,-_0x1acd7f._0xb18298)]=_0x4c3d78[_0x1d7085(-_0x1acd7f._0x56ce2f,-0x17f,-_0x1acd7f._0x142499,-0x1df)];throw _0x379642;}}logger[_0x1d7085(-0x1cc,-0x1a2,-_0x1acd7f._0x11670f,-0x20a)](_0x4c3d78[_0x1d7085(-_0x1acd7f._0x2c6b61,-0x1f5,-_0x1acd7f._0x4e6b8c,-0x208)],_0x17c050);throw _0x17c050;}}export async function saveTeams(_0x28f86e){const _0x2d8644={_0x3440e5:0x22e,_0x259d26:0x1e8,_0x5da7bc:0x1d5,_0x2e5d7e:0xda,_0x25f7e0:0x86,_0x52d2c2:0xb4,_0x58bb02:0xdc,_0x1ce83e:0xe9,_0x5409e1:0x1e9,_0x52a3f0:0x1cb,_0x32e221:0x223,_0x5b55f9:0x24c,_0x51580b:0x245,_0x2f1751:0xc7,_0x386f72:0xa6,_0x796710:0xb5,_0x5ed639:0x219,_0x47063e:0x24a,_0x14d881:0x272,_0x46d495:0x84,_0x44075d:0x78,_0x462ded:0x9a,_0x51bd48:0x20a,_0x546c33:0x20e,_0x38888a:0x253,_0x1f8476:0xef,_0x162515:0xdf,_0x396299:0xee,_0x434930:0xa9,_0x3af0fe:0xa7,_0x41d0a1:0x30,_0x11b121:0xbb,_0x262580:0x6e,_0x1f0259:0xeb,_0xc46a5b:0x1f8,_0x11d4fe:0x1dd,_0x8e6d1:0x210,_0x2ea379:0x218,_0x1f381e:0x1ec,_0xcdaf80:0xb8,_0x567341:0x7e,_0x1ff577:0xad,_0x4db71d:0x1fd,_0xfcc0af:0x20d,_0x35a21f:0x68,_0x2f0b55:0x49,_0x5b65ff:0xb2,_0x40cb4c:0xa,_0x59b71b:0x7c,_0x408d68:0x1,_0x4bbe35:0x47,_0x1c20da:0x73,_0x309e8e:0x8f,_0x256366:0x4c,_0x337e47:0x23,_0x42e47d:0x44,_0x57b3a2:0x59,_0x3b4d88:0x257,_0x11e2b2:0x20a,_0x592b6e:0x1c5,_0xcf2422:0x21e,_0x3de3ae:0x204,_0x3649b5:0x1bc,_0x58702e:0x1c7,_0x546adc:0x26c,_0x31d941:0x24e,_0x3248b7:0x21d,_0x56bd3f:0x203,_0x39f071:0x1cc,_0x51ae84:0x71,_0xc9c7b2:0x32,_0x48906f:0x84,_0x2bb41c:0x53,_0x1946c3:0x54,_0x319856:0x4b,_0x547056:0x59,_0x522e2e:0x60,_0x309811:0x62,_0x383bc6:0x216,_0xb26335:0x284,_0x55f9bb:0x92},_0x2a2369={_0x10be40:0x1b4,_0x264f33:0xd9},_0x4b7add={_0x47df6f:0xb},_0x3489e3={};_0x3489e3['jNNZo']=_0x45d097(_0x2d8644._0x3440e5,_0x2d8644._0x259d26,0x215,0x213)+_0x45d097(0x209,0x1ef,0x1b7,_0x2d8644._0x5da7bc),_0x3489e3[_0x369065(_0x2d8644._0x2e5d7e,_0x2d8644._0x25f7e0,0x76,_0x2d8644._0x52d2c2)]=_0x369065(_0x2d8644._0x58bb02,0xb7,_0x2d8644._0x1ce83e,0xbd);function _0x369065(_0x10e660,_0x243fe4,_0x58b322,_0x211e86){return _0x40534d(_0x58b322,_0x211e86- -0x35f,_0x58b322-_0x4b7add._0x47df6f,_0x211e86-0x1c2);}_0x3489e3[_0x45d097(0x1d6,_0x2d8644._0x5409e1,0x222,_0x2d8644._0x52a3f0)]=_0x45d097(0x247,_0x2d8644._0x32e221,_0x2d8644._0x5b55f9,_0x2d8644._0x51580b),_0x3489e3[_0x369065(0xb0,0x69,_0x2d8644._0x2f1751,0x81)]=_0x369065(0x93,_0x2d8644._0x386f72,0xf3,_0x2d8644._0x796710);function _0x45d097(_0xbc0290,_0x23faca,_0x4f4564,_0x43f49b){return _0x40534d(_0x43f49b,_0x23faca- -_0x2a2369._0x10be40,_0x4f4564-_0x2a2369._0x264f33,_0x43f49b-0xd2);}_0x3489e3[_0x45d097(_0x2d8644._0x5ed639,_0x2d8644._0x47063e,0x288,_0x2d8644._0x14d881)]='Saved\x20team'+'s\x20to\x20file',_0x3489e3[_0x369065(_0x2d8644._0x46d495,0x88,_0x2d8644._0x44075d,_0x2d8644._0x462ded)]=function(_0x4257a4,_0x26f35f){return _0x4257a4!==_0x26f35f;},_0x3489e3['DFmgM']=_0x45d097(_0x2d8644._0x51bd48,0x227,_0x2d8644._0x546c33,_0x2d8644._0x38888a),_0x3489e3[_0x369065(_0x2d8644._0x1f8476,_0x2d8644._0x162515,_0x2d8644._0x396299,_0x2d8644._0x434930)]=_0x369065(_0x2d8644._0x3af0fe,_0x2d8644._0x41d0a1,0x80,0x6d);const _0x15d149=_0x3489e3;try{if(_0x15d149['icTah']!==_0x369065(_0x2d8644._0x11b121,_0x2d8644._0x262580,_0x2d8644._0x1f0259,0xae)){const _0x306d1e=_0x436475[_0x45d097(_0x2d8644._0xc46a5b,_0x2d8644._0x11d4fe,0x1e7,_0x2d8644._0x8e6d1)](TEAMS_FILE),_0x5b68ec={};_0x5b68ec[_0x369065(0x6e,0x51,0x59,0x72)]=!![],await _0x304f1e['mkdir'](_0x306d1e,_0x5b68ec);const _0x556ca3={};_0x556ca3[_0x45d097(0x1f8,0x20e,_0x2d8644._0x2ea379,_0x2d8644._0x1f381e)]=_0x28f86e,await _0x304f1e['writeFile'](TEAMS_FILE,JSON[_0x369065(0xec,_0x2d8644._0xcdaf80,_0x2d8644._0x567341,_0x2d8644._0x1ff577)](_0x556ca3,null,-0x120a+-0x7b7+0x19c3),_0x15d149[_0x45d097(_0x2d8644._0x4db71d,0x22c,_0x2d8644._0xfcc0af,0x24b)]);const _0x15130c=await _0x304f1e[_0x369065(_0x2d8644._0x35a21f,_0x2d8644._0x2f0b55,_0x2d8644._0x5b65ff,0x8e)](TEAMS_FILE);teamsCache=_0x28f86e,teamsCacheMtime=_0x15130c[_0x369065(_0x2d8644._0x40cb4c,_0x2d8644._0x59b71b,0x7c,0x49)];const _0x26d794={};_0x26d794[_0x369065(0x8c,_0x2d8644._0x408d68,0x2e,_0x2d8644._0x4bbe35)]=_0x28f86e[_0x369065(0x1f,_0x2d8644._0x1c20da,_0x2d8644._0x309e8e,0x5e)],logger[_0x369065(_0x2d8644._0x1c20da,0x6a,_0x2d8644._0x256366,0x3b)](_0x15d149['DlbOt'],_0x26d794);}else{_0x14a18[_0x369065(0x21,_0x2d8644._0x337e47,_0x2d8644._0x42e47d,_0x2d8644._0x57b3a2)](_0x15d149[_0x45d097(0x212,0x24e,0x24a,_0x2d8644._0x3b4d88)],_0x3162e2);throw _0x452008;}}catch(_0x55b251){if(_0x15d149['Tfbwo'](_0x15d149[_0x45d097(0x1dd,_0x2d8644._0x11e2b2,_0x2d8644._0x592b6e,0x24c)],_0x15d149[_0x45d097(0x20f,0x254,_0x2d8644._0xcf2422,0x230)])){logger[_0x45d097(0x23c,_0x2d8644._0x3de3ae,_0x2d8644._0x3649b5,_0x2d8644._0x58702e)](_0x15d149[_0x45d097(_0x2d8644._0x546adc,_0x2d8644._0x31d941,0x283,_0x2d8644._0x3248b7)],_0x55b251);throw _0x55b251;}else{const _0x28ad43=new _0x471601(_0x45d097(0x23d,_0x2d8644._0x56bd3f,0x21f,_0x2d8644._0x39f071)+_0x301c5d+(_0x369065(0x4e,0x60,0xa4,_0x2d8644._0x51ae84)+_0x369065(0x7d,_0x2d8644._0xc9c7b2,_0x2d8644._0x48906f,_0x2d8644._0x2bb41c)+_0x369065(0x31,_0x2d8644._0x1946c3,_0x2d8644._0x319856,_0x2d8644._0x319856)+_0x369065(_0x2d8644._0x547056,_0x2d8644._0x522e2e,0x8d,_0x2d8644._0x309811)));_0x28ad43[_0x45d097(0x211,0x251,_0x2d8644._0x383bc6,_0x2d8644._0xb26335)]=_0x15d149[_0x369065(_0x2d8644._0x55f9bb,0x8c,0x89,0xb4)];throw _0x28ad43;}}}export async function getTeams(){const _0x2e74d2={_0x20f13b:0x2e,_0x32656f:0x1,_0x5352c8:0x47,_0x1f3422:0x5,_0x13d657:0x422,_0x18fc2e:0x48a,_0x481c64:0x49d,_0x435a93:0x496,_0x2f82c8:0x414,_0x37d78e:0x437,_0x1d0543:0x48d,_0x41ed22:0x46c,_0x2ff258:0x5b,_0x2a6586:0x28,_0x463116:0x2,_0x41a573:0x25,_0x2b68dd:0x40f,_0x36b7e7:0x429,_0x1d1dcc:0x437,_0x27ea7d:0x27,_0x82b78d:0x52,_0xd0dc2c:0x19,_0x45b9cd:0x4,_0x12bea5:0x1b,_0x15ae34:0x1f,_0x11eb1a:0x3a,_0xba22e4:0xd,_0x1667d7:0x4a8,_0x288e0b:0x4a7,_0x22c93a:0x46d,_0x5f178e:0x467,_0x579efc:0x31,_0x5b05d4:0x15,_0x45c19d:0x4b1,_0x3ae2df:0x45c,_0xcc19b1:0x409,_0x282bba:0x432,_0x21c3d3:0x48f},_0x295e66={_0x124257:0xb4};function _0x4fff06(_0x34e3ad,_0x4635ad,_0x3a3580,_0x2fe4a4){return _0x40534d(_0x2fe4a4,_0x3a3580-0x78,_0x3a3580-_0x295e66._0x124257,_0x2fe4a4-0x64);}const _0x576f15={'PidYF':_0x3c09a9(-0x2f,-_0x2e74d2._0x20f13b,-0xe,_0x2e74d2._0x32656f),'RjXJR':_0x3c09a9(_0x2e74d2._0x5352c8,_0x2e74d2._0x1f3422,0x3,0x6)+_0x4fff06(_0x2e74d2._0x13d657,_0x2e74d2._0x18fc2e,0x460,_0x2e74d2._0x481c64)+'d','NObQf':'VALIDATION','ONqXo':function(_0x15a1a4,_0x39ddf7){return _0x15a1a4!==_0x39ddf7;},'hCtLn':function(_0x356483,_0x1b618e){return _0x356483===_0x1b618e;},'VBFjd':_0x4fff06(_0x2e74d2._0x435a93,0x480,0x451,_0x2e74d2._0x2f82c8),'dDVTv':function(_0xd3d065){return _0xd3d065();},'ItXlC':_0x4fff06(_0x2e74d2._0x37d78e,_0x2e74d2._0x1d0543,_0x2e74d2._0x41ed22,0x459),'Uwqvj':_0x3c09a9(0x15,-_0x2e74d2._0x2ff258,-0x23,-0x34)};try{const _0x43e841=await _0x304f1e[_0x3c09a9(_0x2e74d2._0x2a6586,-0x1d,_0x2e74d2._0x463116,-_0x2e74d2._0x41a573)](TEAMS_FILE);if(!teamsCache||_0x576f15[_0x4fff06(0x469,_0x2e74d2._0x2b68dd,_0x2e74d2._0x36b7e7,_0x2e74d2._0x1d1dcc)](_0x43e841[_0x3c09a9(-0x2b,-_0x2e74d2._0x27ea7d,-0x43,-_0x2e74d2._0x82b78d)],teamsCacheMtime)){if(_0x576f15[_0x3c09a9(0x6,-_0x2e74d2._0xd0dc2c,_0x2e74d2._0x45b9cd,0x42)](_0x576f15[_0x3c09a9(0x23,0x9,-0xd,-_0x2e74d2._0x12bea5)],_0x576f15[_0x3c09a9(_0x2e74d2._0x15ae34,_0x2e74d2._0x11eb1a,-_0x2e74d2._0xba22e4,-0x14)]))return await _0x576f15[_0x4fff06(_0x2e74d2._0x1667d7,_0x2e74d2._0x13d657,0x463,_0x2e74d2._0x288e0b)](loadTeams);else{const _0x33a16f=new _0x1fcd86('Team\x20\x27'+_0x25ddf2+('\x27\x20not\x20foun'+'d'));_0x33a16f[_0x4fff06(0x4c3,_0x2e74d2._0x22c93a,0x47d,0x435)]=_0x576f15['PidYF'];throw _0x33a16f;}}}catch(_0x4d887c){if(_0x576f15[_0x4fff06(0x47a,0x48f,_0x2e74d2._0x5f178e,0x448)](_0x576f15[_0x3c09a9(-0xc,0x11,_0x2e74d2._0x32656f,_0x2e74d2._0x579efc)],_0x576f15[_0x3c09a9(_0x2e74d2._0x5b05d4,-0x30,_0x2e74d2._0x32656f,-0x3d)])){if(_0x4d887c[_0x4fff06(0x452,0x489,0x47d,_0x2e74d2._0x45c19d)]!==_0x576f15['Uwqvj'])throw _0x4d887c;if(!teamsCache)return await loadTeams();}else{const _0x149391=new _0x120691(_0x576f15[_0x4fff06(_0x2e74d2._0x3ae2df,_0x2e74d2._0xcc19b1,_0x2e74d2._0x282bba,_0x2e74d2._0x41ed22)]);_0x149391['code']=_0x576f15[_0x4fff06(0x470,_0x2e74d2._0x5f178e,_0x2e74d2._0x21c3d3,0x4d0)];throw _0x149391;}}function _0x3c09a9(_0x595fe0,_0x501dc1,_0x2492fa,_0x453f60){return _0x40534d(_0x501dc1,_0x2492fa- -0x3eb,_0x2492fa-0x1a0,_0x453f60-0x168);}return teamsCache;}export async function getTeamById(_0xcab6e4){const _0x4af7aa={_0x782a:0x2ac,_0x15ad1d:0x2b3,_0x374694:0x366},_0x1fe4e7={_0x565670:0x166},_0x4a62ad={_0x1412d1:0x37};function _0x4dc946(_0x5b408e,_0x99473f,_0x254df8,_0x141f49){return _0x40534d(_0x254df8,_0x5b408e- -_0x4a62ad._0x1412d1,_0x254df8-0x105,_0x141f49-0xab);}const _0x14f420={'XZkXj':function(_0x98cdc0){return _0x98cdc0();}};function _0x331ad1(_0xe59e0,_0x13a9d6,_0x52524b,_0x4e03f8){return _0x40534d(_0x52524b,_0xe59e0- -0x65c,_0x52524b-_0x1fe4e7._0x565670,_0x4e03f8-0xf1);}const _0xede257=await _0x14f420[_0x331ad1(-_0x4af7aa._0x782a,-0x284,-_0x4af7aa._0x15ad1d,-0x2cd)](getTeams);return _0xede257[_0x4dc946(0x392,0x371,0x35b,_0x4af7aa._0x374694)](_0x643aa9=>_0x643aa9['id']===_0xcab6e4)||null;}export async function getTeamsByUserId(_0x4c5d5e){const _0x4a23c1={_0x586aff:0x265,_0x29feaa:0x280,_0x3cc5f1:0x283,_0x4fcef9:0x2a4,_0x5cc0a6:0x2c0},_0x585eae={_0x20f331:0x664,_0x54a9d8:0x161},_0x2367c5={_0x5c3805:0x202},_0x429b77={'cZHOY':function(_0x11c4bb){return _0x11c4bb();}};function _0x4d8300(_0x22d70e,_0x10ad99,_0x7ce90,_0x3e2638){return _0x40534d(_0x7ce90,_0x22d70e- -_0x2367c5._0x5c3805,_0x7ce90-0x1c4,_0x3e2638-0x121);}function _0x17fc8d(_0x50d38,_0x9642b0,_0x3e80e7,_0x50742e){return _0x40534d(_0x50d38,_0x9642b0- -_0x585eae._0x20f331,_0x3e80e7-_0x585eae._0x54a9d8,_0x50742e-0xe6);}const _0x3772bb=await _0x429b77[_0x17fc8d(-0x28d,-_0x4a23c1._0x586aff,-_0x4a23c1._0x29feaa,-0x224)](getTeams);return _0x3772bb[_0x17fc8d(-0x2b9,-_0x4a23c1._0x3cc5f1,-_0x4a23c1._0x4fcef9,-_0x4a23c1._0x5cc0a6)](_0x437659=>_0x437659['members']['includes'](_0x4c5d5e));}export async function createTeam(_0x498556){const _0x2e2c79={_0x50cbcd:0x1fa,_0x1d5947:0x24e,_0x2112fc:0x1d4,_0x2ade66:0x229,_0x510b0b:0x245,_0x3cfc9f:0x20e,_0x4966a4:0x1af,_0x419ea6:0x1f0,_0x3bb7da:0x1f1,_0x552781:0x1ab,_0x1a6ba8:0x1c9,_0x2b09aa:0x1fc,_0x11968e:0x1ed,_0x6c2ccf:0x223,_0x1308e7:0x229,_0x4279b7:0x25e,_0x3f3d38:0x225,_0x5d7b20:0x1f5,_0x5c4677:0x269,_0x3a91bd:0x24b,_0x4b137c:0x1ec,_0x4eaa80:0x1dc,_0x447b67:0x23c,_0x331d3b:0x242,_0x1a1cf6:0x24f,_0xca455a:0x20f,_0x38c78b:0x1d3,_0x1a3c7b:0x1ea,_0xb58e3b:0x1bb,_0x13ac4b:0x219,_0x49c7c0:0x1de,_0x448eff:0x1ab,_0x5dc238:0x219,_0x30dad9:0x1f2,_0x5b6d08:0x1ef,_0x2052cd:0x1a8,_0x50787e:0x258,_0x42a511:0x25c,_0x310bfa:0x288,_0x47c83c:0x206,_0x5708f6:0x239,_0x23c8fc:0x228,_0x596be6:0x1be,_0x38a464:0x1e2,_0x2ab689:0x1f0,_0x378801:0x1ba,_0x45eaeb:0x1e1,_0x142953:0x25b,_0x244de5:0x202},_0x56e148={_0x190890:0x83},_0x4787e6={_0x4089c2:0x14b},_0x5e7fba={'uEmJS':_0x4eae94(-0x213,-_0x2e2c79._0x50cbcd,-0x20d,-_0x2e2c79._0x1d5947),'NCieH':function(_0x585366){return _0x585366();},'IKCvu':function(_0x496486,_0x40ec88){return _0x496486!==_0x40ec88;},'SihYo':'JPQDq','wRxQK':'LLWCU','GLmIs':'VALIDATION','LJNlJ':_0x52a7c4(-0x1a3,-_0x2e2c79._0x2112fc,-0x1d4,-0x1ce),'iktsW':function(_0x559c9c,_0x3cdd7b){return _0x559c9c(_0x3cdd7b);}},_0x1a0943=await _0x5e7fba[_0x4eae94(-_0x2e2c79._0x2ade66,-_0x2e2c79._0x510b0b,-_0x2e2c79._0x3cfc9f,-0x1ec)](getTeams);if(!_0x498556[_0x52a7c4(-_0x2e2c79._0x4966a4,-0x1ed,-_0x2e2c79._0x419ea6,-_0x2e2c79._0x3bb7da)]||!_0x498556[_0x52a7c4(-_0x2e2c79._0x552781,-_0x2e2c79._0x1a6ba8,-0x1f0,-_0x2e2c79._0x2b09aa)][_0x4eae94(-0x21b,-0x24d,-0x25c,-_0x2e2c79._0x11968e)]()){if(_0x5e7fba[_0x4eae94(-0x23d,-0x254,-_0x2e2c79._0x6c2ccf,-_0x2e2c79._0x1308e7)](_0x5e7fba['SihYo'],_0x5e7fba[_0x4eae94(-0x245,-0x22a,-_0x2e2c79._0x4279b7,-0x255)])){const _0x4d2bea=new Error('Team\x20name\x20'+_0x4eae94(-0x208,-_0x2e2c79._0x3f3d38,-0x21e,-_0x2e2c79._0x5d7b20)+'d');_0x4d2bea['code']=_0x5e7fba[_0x52a7c4(-0x276,-_0x2e2c79._0x5c4677,-_0x2e2c79._0x3a91bd,-0x247)];throw _0x4d2bea;}else{const _0x566120=new _0x1d8b1e(_0x52a7c4(-0x21c,-_0x2e2c79._0x4b137c,-0x1da,-_0x2e2c79._0x4eaa80)+_0x43443d+(_0x4eae94(-_0x2e2c79._0x447b67,-0x277,-_0x2e2c79._0x331d3b,-_0x2e2c79._0x1a1cf6)+'d'));_0x566120[_0x4eae94(-0x1eb,-0x1de,-_0x2e2c79._0xca455a,-_0x2e2c79._0x38c78b)]=_0x5e7fba[_0x52a7c4(-0x21b,-_0x2e2c79._0x1a3c7b,-0x226,-0x209)];throw _0x566120;}}function _0x4eae94(_0x1c3f65,_0x13c199,_0x170198,_0x22f044){return _0x40534d(_0x22f044,_0x1c3f65- -0x5f0,_0x170198-_0x4787e6._0x4089c2,_0x22f044-0x14a);}if(_0x1a0943['some'](_0x51d1da=>_0x51d1da[_0x4eae94(-0x1f0,-0x226,-0x1ee,-0x1c5)]===_0x498556[_0x52a7c4(-0x1cc,-0x226,-0x1f0,-0x1c2)])){const _0x557471=new Error(_0x4eae94(-0x202,-0x1c5,-_0x2e2c79._0xb58e3b,-_0x2e2c79._0x13ac4b)+'\x27'+_0x498556[_0x4eae94(-_0x2e2c79._0x419ea6,-_0x2e2c79._0x49c7c0,-0x1de,-_0x2e2c79._0x4eaa80)]+('\x27\x20already\x20'+'exists'));_0x557471[_0x4eae94(-0x1eb,-_0x2e2c79._0x38c78b,-0x1dc,-_0x2e2c79._0x448eff)]=_0x5e7fba['LJNlJ'];throw _0x557471;}const _0x17f6b1=_0x498556[_0x4eae94(-0x22b,-0x25a,-_0x2e2c79._0x5dc238,-_0x2e2c79._0x30dad9)]||[],_0x1c8539=new Date()[_0x4eae94(-_0x2e2c79._0x5b6d08,-0x1da,-_0x2e2c79._0x2052cd,-0x1df)+'g']();function _0x52a7c4(_0x47ee8a,_0x5455cd,_0x2a87c6,_0x1f3ee6){return _0x40534d(_0x1f3ee6,_0x2a87c6- -0x5f0,_0x2a87c6-0x26,_0x1f3ee6-_0x56e148._0x190890);}const _0xdbbcdf={'id':_0x4eae94(-_0x2e2c79._0x50787e,-_0x2e2c79._0x42a511,-0x241,-_0x2e2c79._0x310bfa)+Date[_0x4eae94(-0x21c,-0x1fb,-0x1e1,-0x232)]()+'_'+Math['random']()[_0x4eae94(-_0x2e2c79._0x47c83c,-0x1e5,-_0x2e2c79._0x5708f6,-0x1cd)](-0x55*-0x7+-0x29*-0x52+-0x1*0xf51)[_0x52a7c4(-_0x2e2c79._0x23c8fc,-_0x2e2c79._0x596be6,-_0x2e2c79._0x38a464,-0x1a0)](0x25fb+-0x16c0+-0xf39,0x3*-0x981+0x2111*-0x1+-0x3d9d*-0x1),'name':_0x498556[_0x4eae94(-_0x2e2c79._0x2ab689,-_0x2e2c79._0x378801,-0x1dc,-0x1ef)],'description':_0x498556[_0x52a7c4(-0x217,-0x1cc,-0x1d2,-_0x2e2c79._0x45eaeb)+'n']||'','members':_0x17f6b1,'created_at':_0x1c8539,'created_by':_0x498556[_0x4eae94(-0x22a,-_0x2e2c79._0x142953,-0x215,-_0x2e2c79._0x47c83c)]||null,'updated_at':_0x1c8539};return _0x1a0943[_0x4eae94(-0x243,-_0x2e2c79._0x2ade66,-0x230,-_0x2e2c79._0x1a1cf6)](_0xdbbcdf),await _0x5e7fba[_0x4eae94(-0x218,-_0x2e2c79._0x244de5,-0x234,-0x234)](saveTeams,_0x1a0943),_0xdbbcdf;}function _0x4a2a(){const _0x7d4fcc=['s3fmrfa','wfPRwgO','t05Xwg8','zhKGysbTzw1Izq','suTdDNu','jYbUB3qGzM91BG','yMPotNu','mtKZnerns3joEa','vxnLCIaN','zxjYB3i','ndyZBfnQwhLM','uMPysLi','rNHmAgK','rgXTrNG','BgvUz3rO','rezTz00','jYbPCYbUB3qGyq','z1buz20','DgvHBq','DgvHBxm','mNW0Fdb8mxWZ','Bg9Hzcb0zwfTCW','BwvTyMvYCW','y3jLyxrLzf9IEq','tKnPzuG','ru5pru5u','zMLUza','DuvTsLm','rwLsAfK','q0Hzu3m','DxbKyxrLzf9HDa','zgLUz3m','vKfmsurbveLptG','jYbPCYbHBhjLyq','CMvJDxjZAxzL','C3bSAwnL','ndu0mte2og1NBLH5ta','BM93','DhjPBq','DgvHBu5HBwu','Bej0seq','AwT0C1C','quzHuxe','t3rbzMm','DhDxre8','oujABLvOuq','tK9ux0zpvu5e','vKjgAMq','AhrjsM4','r1L5ww0','zMLSDgvY','mtqXnfn1D095sG','y1rPs0K','u0zXyw0','r2HpBg4','weHTCwi','AwXmu1a','AxmGCMvXDwLYzq','CMvHzezPBgu','Dg9tDhjPBMC','zerwvhy','sxryBem','C3rHDa','vgvHBsbUyw1Lia','Aen0tg4','D1f4sei','C3bSAxq','ig1LBwjLCIbVzG','Aw5KzxHpzG','z3niEuq','AuHbs3a','EhvLwLy','zxHPC3rZ','EuzLueS','vgzID28','C29Tzq','AK9zAuO','qNzbsei','yKzgy1i','rgXIt3q','y1Pit1K','BMfTzq','Dg9ju09tDhjPBG','AK5owM8','BxmGzNjVBsbMAq','zgvSzxrLzejPBG','y29Kzq','EMPzrfq','mJG0mtG4ogXHrejguW','tgfvDLq','vgvHBxmGzMLSzq','DgvHBuLK','z0f5Eue','C3rYAw5NAwz5','uMTeu2C','C3vIC3rY','zwDMuu8','CgfYC2u','AMzsy3a','A3vUCgW','D25oDei','DxrMltG','zgvIDwC','vgvHBsaN','tK9Iuwy','mtq4nZyWnJbpDMfQwKy','yvDfu3m','lcbPBML0AwfSAq','A3fVwNG','rfvqteLdqvrf','wwXfBfG','zgvZy3jPChrPBW','twHKBey','zgLYBMfTzq','vhfUC3G','Aw5JBhvKzxm','yxPbELe','mZi5otKWyuHXs0zJ','s1nZBNy','zMLUzeLUzgv4','DgvHBv8','D2TNAvq','Aw5MBW','B2zUs3C','rMfPBgvKihrVia','AwnuywG','EMvKigvTChr5ia','DgvHBsbSAxn0','Ewzqq3C','ihrOAxmGDgvHBq','vxjNs0S','C2f2zsb0zwfTCW','rgvSzxrLzcb0zq','r0XTsxm','y291BNq','jYbHBhjLywr5ia','BxrPBwvnCW','mtaYC2HAuMzx','CIbVzIb0AgLZia','D1j4uuS','DgvHBxmUANnVBG','ChvZAa','mtm5mta5n0Hkru5UDW'];_0x4a2a=function(){return _0x7d4fcc;};return _0x4a2a();}export async function updateTeam(_0x273bda,_0x740a8f){const _0x3d07ba={_0x56e849:0x16f,_0x3f7e85:0x169,_0x1f3188:0x1a8,_0x4b376e:0x192,_0x4d4bfb:0x18e,_0x51b99b:0x1b6,_0x45d4ce:0x171,_0x37b2e8:0x14f,_0x2a5c8b:0x1ae,_0x129b25:0x1b7,_0x1016a9:0x1b3,_0x24e28:0x1d3,_0x547017:0x1f0,_0xe7ea4a:0x1c1,_0x313fdc:0x146,_0x3dccb5:0x185,_0x353213:0x22f,_0x47b162:0x1b0,_0x2a09d6:0x1d8,_0xcb9029:0x1cd,_0xae37c0:0x137,_0x3db2ff:0x170,_0x2dc865:0x11d,_0x3caeb2:0x163,_0x7d1591:0x1c3,_0x234a7b:0x1ee,_0x43e414:0x1d6,_0x46e70b:0x200,_0x257b75:0x1ef,_0x4cfcc2:0x154,_0xb8ebd6:0x18d,_0x6607e8:0x1d8,_0x4bbff2:0x1ce,_0x17e092:0x1db,_0x59d18e:0x1f2,_0xf150ef:0x1c7,_0x47910e:0x19a,_0x574f13:0x1b7,_0x466fed:0x1c1,_0x1de1ac:0x1e9,_0x92a97a:0x216,_0xef4ffc:0x1de,_0x3c8baf:0x12a,_0x5bc23e:0x189,_0x370ddf:0x1da,_0xa5541:0x186,_0x1f8f1a:0x1e2,_0x152c6d:0x177,_0x4d1ac7:0x1b8,_0x52e058:0x1a7,_0x125a56:0x1c9,_0x52bba3:0x1bf,_0x5b62fd:0x191,_0x40eeac:0x1a4,_0x369c0e:0x150,_0x3f8b83:0x174,_0xbed377:0x1be,_0x4aa75b:0x1a3,_0x1bbd33:0x199,_0x13570d:0x1f7,_0x48fb29:0x1a9,_0x4c45bf:0x1b6,_0x206f3b:0x12b,_0x1773b0:0x20b,_0x703c61:0x1f1,_0x28468c:0x1b2,_0x31dcd4:0x18a,_0x57c533:0x1ac,_0x1b53bb:0x17e,_0x5eec70:0x1b8,_0x13879a:0x1c3,_0x483329:0x17d,_0x390fa4:0x20f,_0x23ff8d:0x222,_0x3c6e5d:0x15f,_0xd9aad0:0x16d,_0x222437:0x1d3,_0x44feb1:0x17e,_0x17de18:0x140,_0x44e047:0x193,_0x370fc3:0x135,_0x57b601:0x17b,_0x4fb7dc:0x1fb,_0x1fdda6:0x1b9,_0x510c19:0x208,_0x10dbcb:0x1e7,_0x46a4b8:0x1b7,_0x1b0411:0x1a2,_0x308712:0x218,_0x3ec721:0x1d9,_0x4c2ed0:0x1bb,_0x739225:0x1ea,_0x3cdaf8:0x1d6,_0x462ad3:0x1d0,_0x74c45f:0x1de,_0x4c7b03:0x204,_0x3215b3:0x20e,_0x3a45f7:0x19b,_0xbda434:0x1ac,_0x2f2977:0x19d,_0x222956:0x180,_0x34c4cd:0x1dc,_0x5d6535:0x1b9,_0x47ee3a:0x226,_0x4ae7fd:0x20d,_0x18e392:0x1f5,_0x5a65e9:0x1b5,_0x5e0146:0x1ef,_0xef5fe7:0x1c9,_0x222164:0x1e2,_0x1da617:0x206,_0x17f9fb:0x1f1,_0x2a31ac:0x18a,_0x13c02b:0x194,_0x47ef17:0x1f9,_0x4b8520:0x1b8,_0x346d55:0x1d6,_0x208841:0x1ff,_0x102d9a:0x234,_0x51148b:0x22a,_0x19cdc6:0x1aa,_0x39d2cf:0x1d6,_0x5f44ef:0x1bd,_0x5b60f7:0x1ec,_0x53af78:0x1bb},_0x1bd043={_0x410f4f:0x17b},_0x2dab4e={_0x5907ee:0x227,_0x109eca:0x19b,_0x36d84b:0x13b},_0x4783a5={'KSsnv':_0x25ec20(_0x3d07ba._0x56e849,_0x3d07ba._0x3f7e85,0x1d4,_0x3d07ba._0x1f3188),'egfQO':function(_0x3addbd){return _0x3addbd();},'htIJn':function(_0x274043,_0x1983ed){return _0x274043!==_0x1983ed;},'azAzQ':'QXzxo','bFFcR':_0x25ec20(_0x3d07ba._0x4b376e,_0x3d07ba._0x4d4bfb,_0x3d07ba._0x51b99b,0x1c9),'xueZV':'NOT_FOUND','ofnKw':_0x2d1523(_0x3d07ba._0x56e849,0x1c5,0x1ae,0x1c7),'DiItQ':function(_0x1a54e5,_0x34bbc1){return _0x1a54e5===_0x34bbc1;},'cTiKI':_0x2d1523(0x138,_0x3d07ba._0x45d4ce,0x178,_0x3d07ba._0x37b2e8),'DlmFx':_0x2d1523(_0x3d07ba._0x2a5c8b,0x1fa,_0x3d07ba._0x129b25,_0x3d07ba._0x1016a9)+_0x25ec20(0x197,_0x3d07ba._0x24e28,_0x3d07ba._0x547017,_0x3d07ba._0xe7ea4a)+'d','UrgKK':_0x25ec20(_0x3d07ba._0x313fdc,_0x3d07ba._0x3dccb5,0x19a,0x172),'kqoZx':'WXnZY','kunpl':_0x25ec20(_0x3d07ba._0x353213,_0x3d07ba._0x47b162,0x1d8,0x1f5),'aWESs':function(_0x3a1e44,_0x4d7d12){return _0x3a1e44!==_0x4d7d12;},'dVBQy':function(_0x20364b,_0x4e4395){return _0x20364b(_0x4e4395);}},_0x313e7d=await _0x4783a5[_0x2d1523(0x1fb,0x21f,_0x3d07ba._0x2a09d6,_0x3d07ba._0xcb9029)](getTeams),_0x58e713=_0x313e7d[_0x25ec20(_0x3d07ba._0xae37c0,0x17d,0x1a4,_0x3d07ba._0x3db2ff)](_0x42c91a=>_0x42c91a['id']===_0x273bda);if(_0x58e713===-(-0x1*-0x1d29+0x245c+0x20c2*-0x2)){if(_0x4783a5['htIJn'](_0x4783a5[_0x2d1523(0x18d,_0x3d07ba._0x2dc865,0x15d,_0x3d07ba._0x3caeb2)],_0x4783a5[_0x25ec20(0x1b9,_0x3d07ba._0x7d1591,_0x3d07ba._0x234a7b,_0x3d07ba._0x43e414)])){const _0x21d839=new Error(_0x25ec20(_0x3d07ba._0x547017,0x1fc,_0x3d07ba._0x46e70b,_0x3d07ba._0x257b75)+_0x273bda+(_0x25ec20(_0x3d07ba._0x4cfcc2,_0x3d07ba._0x129b25,0x198,_0x3d07ba._0xb8ebd6)+'d'));_0x21d839[_0x25ec20(0x19b,0x1dc,0x1a0,0x1de)]=_0x4783a5[_0x25ec20(0x19c,_0x3d07ba._0x6607e8,_0x3d07ba._0x4bbff2,0x1cf)];throw _0x21d839;}else{const _0x9f5862=new _0x4000b2(_0x25ec20(_0x3d07ba._0x17e092,_0x3d07ba._0x59d18e,0x1d6,_0x3d07ba._0xf150ef)+_0x25ec20(0x1e4,_0x3d07ba._0x47910e,_0x3d07ba._0x574f13,_0x3d07ba._0x466fed)+'d');_0x9f5862[_0x25ec20(0x1ed,_0x3d07ba._0x1de1ac,_0x3d07ba._0x92a97a,_0x3d07ba._0xef4ffc)]=_0x4783a5[_0x25ec20(_0x3d07ba._0x3c8baf,0x176,_0x3d07ba._0x5bc23e,0x16f)];throw _0x9f5862;}}function _0x25ec20(_0x143ceb,_0x1e6fb1,_0x37780a,_0x337208){return _0x40534d(_0x143ceb,_0x337208- -_0x2dab4e._0x5907ee,_0x37780a-_0x2dab4e._0x109eca,_0x337208-_0x2dab4e._0x36d84b);}const _0x5adf7b=_0x313e7d[_0x58e713];function _0x2d1523(_0x2a3623,_0x1ce1f3,_0x6ec3e1,_0x591e2b){return _0x40534d(_0x2a3623,_0x6ec3e1- -0x237,_0x6ec3e1-0x57,_0x591e2b-_0x1bd043._0x410f4f);}if(_0x4783a5[_0x2d1523(_0x3d07ba._0x370ddf,_0x3d07ba._0xa5541,0x1a8,0x1df)](_0x740a8f[_0x25ec20(0x19b,_0x3d07ba._0x1f8f1a,0x1d4,0x1d9)],undefined)&&_0x4783a5[_0x25ec20(_0x3d07ba._0x152c6d,0x198,0x1e2,_0x3d07ba._0x4d1ac7)](_0x740a8f[_0x2d1523(_0x3d07ba._0x52e058,0x1bc,_0x3d07ba._0x125a56,0x1e4)],_0x5adf7b[_0x2d1523(_0x3d07ba._0x52bba3,_0x3d07ba._0x5b62fd,_0x3d07ba._0x125a56,_0x3d07ba._0x40eeac)])){if(_0x4783a5[_0x25ec20(_0x3d07ba._0xae37c0,_0x3d07ba._0x369c0e,0x18b,_0x3d07ba._0x3f8b83)]!==_0x25ec20(0x1ce,0x1ee,0x1ab,_0x3d07ba._0xbed377)){const _0x1e919b=new _0x1a575a('User\x20\x27'+_0x2ec08d+(_0x2d1523(_0x3d07ba._0x4aa75b,_0x3d07ba._0x1bbd33,0x188,0x1a9)+_0x25ec20(_0x3d07ba._0x13570d,_0x3d07ba._0x48fb29,_0x3d07ba._0x4c45bf,0x1cb)+_0x2d1523(_0x3d07ba._0x206f3b,0x14a,0x16a,0x14d)));_0x1e919b[_0x25ec20(_0x3d07ba._0x1773b0,0x1ef,0x204,_0x3d07ba._0xef4ffc)]=_0x25ec20(_0x3d07ba._0x703c61,0x1f7,0x1ce,_0x3d07ba._0x4c45bf);throw _0x1e919b;}else{if(!_0x740a8f['name'][_0x25ec20(_0x3d07ba._0xa5541,0x168,_0x3d07ba._0x28468c,_0x3d07ba._0x2a5c8b)]()){if(_0x4783a5['DiItQ'](_0x4783a5[_0x2d1523(0x1a6,_0x3d07ba._0x31dcd4,_0x3d07ba._0x57c533,_0x3d07ba._0x1b53bb)],_0x4783a5[_0x2d1523(_0x3d07ba._0x5eec70,_0x3d07ba._0x13879a,0x1ac,_0x3d07ba._0x483329)])){const _0x4a06ee=new Error(_0x4783a5[_0x2d1523(0x146,0x15e,0x185,0x167)]);_0x4a06ee[_0x25ec20(_0x3d07ba._0x390fa4,0x21e,_0x3d07ba._0x23ff8d,0x1de)]=_0x4783a5[_0x2d1523(0x193,0x165,_0x3d07ba._0x3c6e5d,_0x3d07ba._0xd9aad0)];throw _0x4a06ee;}else _0x2c0ba5=null;}if(_0x313e7d[_0x25ec20(0x216,_0x3d07ba._0x59d18e,0x1d9,_0x3d07ba._0x222437)](_0xf541f6=>_0xf541f6[_0x2d1523(0x18b,0x19b,0x1c9,0x202)]===_0x740a8f['name'])){if(_0x4783a5[_0x25ec20(0x1ab,0x192,_0x3d07ba._0x44feb1,0x1b8)](_0x4783a5[_0x25ec20(_0x3d07ba._0x17de18,_0x3d07ba._0x44e047,_0x3d07ba._0x370fc3,_0x3d07ba._0x57b601)],_0x4783a5[_0x25ec20(_0x3d07ba._0x4fb7dc,_0x3d07ba._0x1fdda6,_0x3d07ba._0x510c19,0x1f4)])){const _0x4d3c1e=new Error(_0x2d1523(_0x3d07ba._0x3db2ff,_0x3d07ba._0x10dbcb,_0x3d07ba._0x46a4b8,0x1a0)+'\x27'+_0x740a8f[_0x25ec20(0x1af,_0x3d07ba._0x1b0411,_0x3d07ba._0x308712,_0x3d07ba._0x3ec721)]+(_0x25ec20(0x13c,_0x3d07ba._0x4c2ed0,0x181,0x180)+_0x25ec20(_0x3d07ba._0x739225,_0x3d07ba._0x3cdaf8,0x194,_0x3d07ba._0x462ad3)));_0x4d3c1e[_0x25ec20(0x1d8,_0x3d07ba._0x10dbcb,0x1ef,_0x3d07ba._0x74c45f)]=_0x4783a5[_0x2d1523(_0x3d07ba._0x4c7b03,_0x3d07ba._0x23ff8d,_0x3d07ba._0x17e092,0x1ec)];throw _0x4d3c1e;}else{const _0x1a60ac=new _0x11efb0('Team\x20name\x20'+'\x27'+_0x1a5848[_0x25ec20(_0x3d07ba._0x3215b3,0x1b1,0x21d,0x1d9)]+(_0x25ec20(_0x3d07ba._0x3a45f7,_0x3d07ba._0xbda434,_0x3d07ba._0x2f2977,_0x3d07ba._0x222956)+'exists'));_0x1a60ac[_0x25ec20(_0x3d07ba._0x34c4cd,_0x3d07ba._0x5d6535,_0x3d07ba._0x47910e,_0x3d07ba._0xef4ffc)]=_0x25ec20(_0x3d07ba._0x47ee3a,_0x3d07ba._0x4ae7fd,0x219,_0x3d07ba._0x18e392);throw _0x1a60ac;}}}}if(_0x4783a5[_0x2d1523(_0x3d07ba._0x5a65e9,0x1c0,0x1a8,_0x3d07ba._0x5e0146)](_0x740a8f[_0x2d1523(0x18d,_0x3d07ba._0xbed377,_0x3d07ba._0xef5fe7,_0x3d07ba._0x222164)],undefined))_0x5adf7b[_0x2d1523(0x18a,0x210,0x1c9,0x18c)]=_0x740a8f[_0x2d1523(_0x3d07ba._0x1da617,0x198,0x1c9,_0x3d07ba._0x17f9fb)];if(_0x4783a5[_0x25ec20(_0x3d07ba._0x2a31ac,_0x3d07ba._0x13c02b,_0x3d07ba._0x47ef17,_0x3d07ba._0x4b8520)](_0x740a8f[_0x2d1523(0x1cd,_0x3d07ba._0x346d55,0x1e7,_0x3d07ba._0x208841)+'n'],undefined))_0x5adf7b[_0x25ec20(0x215,0x1fc,_0x3d07ba._0x102d9a,0x1f7)+'n']=_0x740a8f[_0x2d1523(_0x3d07ba._0x51148b,0x215,0x1e7,_0x3d07ba._0x19cdc6)+'n'];if(_0x4783a5[_0x2d1523(0x1ca,_0x3d07ba._0x39d2cf,0x1e2,_0x3d07ba._0x5f44ef)](_0x740a8f['members'],undefined))_0x5adf7b['members']=_0x740a8f[_0x2d1523(0x1ab,0x1d5,0x18e,_0x3d07ba._0x4d4bfb)];return _0x5adf7b['updated_at']=new Date()[_0x25ec20(0x1a7,_0x3d07ba._0x5b60f7,_0x3d07ba._0x53af78,0x1da)+'g'](),await _0x4783a5['dVBQy'](saveTeams,_0x313e7d),_0x5adf7b;}export async function deleteTeam(_0x384236,_0x12202b,_0x1992d3){const _0x50a58e={_0x5719e6:0x124,_0x44bf22:0xf0,_0x1a70f9:0x17f,_0x291d3e:0x136,_0x2b5170:0x171,_0x2d68d0:0xeb,_0x3f9dab:0x227,_0x420a33:0x221,_0x516cf0:0x1e0,_0x329d70:0xfb,_0x2055f7:0xe2,_0x8945ee:0x1d6,_0x6168d6:0x1af,_0x28e09d:0x144,_0x56977a:0x169,_0x1d1827:0x158,_0x211b4e:0x113,_0x224457:0xfb,_0x3350bc:0xcb,_0x54f95e:0x18b,_0x1922b6:0x1b3,_0xd56ca2:0x1ad,_0x255d35:0xa3,_0x3f0865:0xc9,_0x45c5ba:0x10f,_0x4ff9b3:0x1a9,_0x4a1692:0x17b,_0x4531fb:0x1df,_0x118e22:0x17b,_0x1c618b:0xd1,_0x58e27a:0xd5,_0x462436:0x1df,_0x5addc4:0x1b1,_0x49f1d8:0x205,_0x497bc9:0x16d,_0x530976:0x190},_0x4840f4={_0x171b71:0x4cd,_0x46ce6b:0x1a7,_0x480abf:0xa5},_0x5456d2={_0x2e758b:0x10b},_0x2eadec={'EBvyy':function(_0x11e0b8){return _0x11e0b8();},'ilLSP':function(_0x1199fd,_0x48d511){return _0x1199fd===_0x48d511;},'jOYiJ':function(_0x44ae32,_0xc332cc,_0x7b7e5b){return _0x44ae32(_0xc332cc,_0x7b7e5b);},'yfPCw':_0x51cf8e(-0x114,-0x10c,-_0x50a58e._0x5719e6,-_0x50a58e._0x44bf22),'yFePK':_0x5f06fe(_0x50a58e._0x1a70f9,0x1c2,0x163,0x171)+'am'};function _0x5f06fe(_0x50fd51,_0x5b84f3,_0x3f1d95,_0x2e10d9){return _0x40534d(_0x5b84f3,_0x50fd51- -0x225,_0x3f1d95-0x1e9,_0x2e10d9-_0x5456d2._0x2e758b);}const _0x587100=await _0x2eadec['EBvyy'](getTeams),_0x452c30=_0x587100[_0x51cf8e(-0x168,-_0x50a58e._0x291d3e,-_0x50a58e._0x2b5170,-0x11f)](_0x2f7637=>_0x2f7637['id']===_0x384236);if(_0x2eadec[_0x51cf8e(-_0x50a58e._0x2d68d0,-0xe6,-_0x50a58e._0x44bf22,-0x11f)](_0x452c30,-(0x4*-0x56+0x13c9*0x1+0x3b0*-0x5))){const _0x140875=new Error(_0x5f06fe(0x1f1,_0x50a58e._0x3f9dab,0x1c4,_0x50a58e._0x420a33)+_0x384236+('\x27\x20not\x20foun'+'d'));_0x140875[_0x5f06fe(_0x50a58e._0x516cf0,0x21c,0x225,0x1a5)]='NOT_FOUND';throw _0x140875;}const _0x582379=_0x587100[_0x452c30];function _0x51cf8e(_0x2b1556,_0x9670b,_0x21239e,_0x1540e0){return _0x40534d(_0x2b1556,_0x9670b- -_0x4840f4._0x171b71,_0x21239e-_0x4840f4._0x46ce6b,_0x1540e0-_0x4840f4._0x480abf);}_0x587100[_0x51cf8e(-0xb9,-_0x50a58e._0x329d70,-0x111,-_0x50a58e._0x2055f7)](_0x452c30,-0x171*0x17+0xf65+0x11c3),await saveTeams(_0x587100);let _0x48700c=-0x1ec1+-0x69a*0x1+0x83*0x49;_0x12202b&&(_0x48700c+=await _0x2eadec[_0x5f06fe(_0x50a58e._0x8945ee,0x1da,0x1db,_0x50a58e._0x6168d6)](_0x12202b,_0x2eadec[_0x5f06fe(0x17b,0x170,_0x50a58e._0x28e09d,_0x50a58e._0x56977a)],_0x384236));_0x1992d3&&(_0x48700c+=await _0x1992d3(_0x2eadec[_0x51cf8e(-_0x50a58e._0x1d1827,-0x12d,-_0x50a58e._0x211b4e,-_0x50a58e._0x224457)],_0x384236));const _0x577e74={};_0x577e74[_0x51cf8e(-0xaa,-0xc3,-_0x50a58e._0x3350bc,-0x8f)]=_0x384236,_0x577e74[_0x5f06fe(0x1b1,_0x50a58e._0x54f95e,_0x50a58e._0x1922b6,_0x50a58e._0xd56ca2)]=_0x582379['name'],_0x577e74[_0x51cf8e(-_0x50a58e._0x255d35,-_0x50a58e._0x3f0865,-0xe7,-_0x50a58e._0x45c5ba)+_0x5f06fe(_0x50a58e._0x4ff9b3,_0x50a58e._0x4a1692,_0x50a58e._0x4531fb,_0x50a58e._0x118e22)]=_0x48700c,logger['info'](_0x2eadec[_0x51cf8e(-_0x50a58e._0x1c618b,-_0x50a58e._0x58e27a,-0x103,-0xb2)],_0x577e74);const _0x1061ca={};return _0x1061ca['team']=_0x582379,_0x1061ca[_0x5f06fe(_0x50a58e._0x462436,0x1f5,_0x50a58e._0x5addc4,_0x50a58e._0x49f1d8)+_0x5f06fe(0x1a9,_0x50a58e._0x497bc9,_0x50a58e._0x530976,0x1e1)]=_0x48700c,_0x1061ca;}export async function addMember(_0x4ee197,_0x5665b8){const _0x4259c8={_0x319233:0x429,_0x43a9e9:0x420,_0x5a09ef:0x3e2,_0x31b5ca:0x426,_0x47a0d1:0x3fa,_0x4d1952:0x3ca,_0x51a6bb:0x390,_0xbc3d58:0x3ac,_0x14967b:0x42f,_0x175edc:0x314,_0x29a4f2:0x2c3,_0x3f8a5d:0x3c1,_0x147d46:0x3cc,_0x22690a:0x3e3,_0x373458:0x422,_0x43eacb:0x3df,_0x24fd94:0x408,_0xd166d7:0x40a,_0x14dd46:0x418,_0x550615:0x2d6,_0x45bfbf:0x30b,_0x4f677b:0x29c,_0xb5af6d:0x2cc,_0x2b88ef:0x281,_0xaf3ca0:0x2ea,_0x376012:0x2a3,_0x99cd62:0x30b,_0x45c9e4:0x2f8,_0x5adccd:0x354},_0x29dd42={_0x31c2f7:0x83},_0x5c9e32={_0xaa3d8a:0x13,_0x58b5e1:0x144},_0x2d9cc2={'iHAKp':'DUPLICATE','gAyyA':function(_0x3a409e,_0x32c9ad){return _0x3a409e(_0x32c9ad);}},_0x458bcd=await getTeams(),_0x1179b3=_0x458bcd['find'](_0x535d3d=>_0x535d3d['id']===_0x4ee197);function _0x34ac9a(_0x48f73a,_0x599c9d,_0x168842,_0x310548){return _0x40534d(_0x599c9d,_0x48f73a-_0x5c9e32._0xaa3d8a,_0x168842-_0x5c9e32._0x58b5e1,_0x310548-0x120);}if(!_0x1179b3){const _0x25bfd3=new Error(_0x34ac9a(_0x4259c8._0x319233,_0x4259c8._0x43a9e9,_0x4259c8._0x5a09ef,_0x4259c8._0x31b5ca)+_0x4ee197+(_0x34ac9a(0x3c7,_0x4259c8._0x47a0d1,_0x4259c8._0x4d1952,_0x4259c8._0x51a6bb)+'d'));_0x25bfd3['code']=_0x34ac9a(0x3f0,_0x4259c8._0xbc3d58,_0x4259c8._0x14967b,0x432);throw _0x25bfd3;}if(_0x1179b3[_0x8978f1(0x2f1,_0x4259c8._0x175edc,0x2db,_0x4259c8._0x29a4f2)][_0x34ac9a(0x3a6,0x3c9,_0x4259c8._0x3f8a5d,0x3e3)](_0x5665b8)){const _0x4a459f=new Error(_0x34ac9a(0x3ca,_0x4259c8._0x147d46,0x406,0x3d8)+_0x5665b8+(_0x34ac9a(_0x4259c8._0x22690a,_0x4259c8._0x373458,_0x4259c8._0x43eacb,_0x4259c8._0x24fd94)+_0x34ac9a(0x3c5,_0x4259c8._0xd166d7,0x3eb,0x3e8)+'r\x20of\x20this\x20'+'team'));_0x4a459f[_0x34ac9a(_0x4259c8._0x14dd46,0x410,0x457,0x41c)]=_0x2d9cc2[_0x8978f1(_0x4259c8._0x550615,0x33d,_0x4259c8._0x45bfbf,0x30a)];throw _0x4a459f;}function _0x8978f1(_0x1ac0b6,_0x560bab,_0x6c818a,_0x55a4e4){return _0x40534d(_0x560bab,_0x6c818a- -0xea,_0x6c818a-_0x29dd42._0x31c2f7,_0x55a4e4-0x16);}return _0x1179b3[_0x8978f1(_0x4259c8._0x4f677b,_0x4259c8._0xb5af6d,0x2db,0x2c0)][_0x8978f1(_0x4259c8._0x2b88ef,_0x4259c8._0xaf3ca0,0x2c3,_0x4259c8._0x376012)](_0x5665b8),_0x1179b3[_0x8978f1(_0x4259c8._0x99cd62,_0x4259c8._0x45c9e4,0x2e3,0x2d3)]=new Date()[_0x8978f1(_0x4259c8._0x5adccd,0x33b,0x317,0x2fe)+'g'](),await _0x2d9cc2[_0x34ac9a(0x41e,0x42a,0x413,0x423)](saveTeams,_0x458bcd),_0x1179b3;}export async function removeMember(_0x2d3bf8,_0xdee929){const _0x547005={_0x236e22:0x27c,_0x3f6090:0x291,_0x14fe09:0x254,_0x1f3a0d:0x284,_0x3da525:0x285,_0x1afc11:0x2f9,_0x49f793:0x2ca,_0x373c15:0x28c,_0x4dd917:0x2b3,_0x1dc7d7:0x2c6,_0x145148:0x2c0,_0xb36a7c:0x25f,_0x2035ca:0x249,_0xfa6157:0x4ed,_0x4ffb64:0x27a,_0xf489e8:0x284,_0x10cda2:0x2b8,_0x26fa24:0x4e9,_0x35399a:0x4ce,_0x64a177:0x2a9,_0x3b4682:0x28a,_0x5c7eab:0x45f,_0x6cb272:0x4a4,_0x4afb68:0x297,_0x4db156:0x2ac,_0x33be2f:0x2a7,_0x21b3e7:0x28e,_0x9c448e:0x292,_0xe58e66:0x26e,_0x138318:0x2c7,_0x343fc1:0x2c6,_0x1c497c:0x2ff,_0x55225f:0x24d},_0x3d6adf={_0x86d84d:0x13b,_0x22d864:0x134},_0x250b6d={'SdPYD':function(_0xfbc9f3){return _0xfbc9f3();},'EiRhY':_0x167e0d(0x2a2,_0x547005._0x236e22,_0x547005._0x3f6090,0x285),'jAbiJ':function(_0x4d4874,_0x1a7402){return _0x4d4874===_0x1a7402;},'gPTgm':function(_0x41fbb3,_0x1de31f){return _0x41fbb3(_0x1de31f);}};function _0x2d3833(_0x837593,_0x20dbb4,_0x5388ab,_0x741ec6){return _0x40534d(_0x741ec6,_0x5388ab-0xdf,_0x5388ab-0x137,_0x741ec6-0x1be);}const _0xc97943=await _0x250b6d['SdPYD'](getTeams),_0x7efe9f=_0xc97943[_0x167e0d(0x28e,_0x547005._0x14fe09,_0x547005._0x1f3a0d,_0x547005._0x3da525)](_0x51d220=>_0x51d220['id']===_0x2d3bf8);if(!_0x7efe9f){const _0x350a72=new Error(_0x167e0d(0x2db,0x2bc,0x2ed,_0x547005._0x1afc11)+_0x2d3bf8+('\x27\x20not\x20foun'+'d'));_0x350a72[_0x167e0d(_0x547005._0x49f793,0x2a6,_0x547005._0x373c15,_0x547005._0x4dd917)]=_0x250b6d[_0x167e0d(0x290,0x267,_0x547005._0x1dc7d7,_0x547005._0x145148)];throw _0x350a72;}const _0x24f5fe=_0x7efe9f[_0x167e0d(0x28a,0x27f,_0x547005._0xb36a7c,_0x547005._0x2035ca)][_0x2d3833(0x4f2,_0x547005._0xfa6157,0x4d2,0x4b7)](_0xdee929);if(_0x250b6d['jAbiJ'](_0x24f5fe,-(0x2*-0xfc4+-0x2468+0x43f1))){const _0x168507=new Error(_0x167e0d(0x27c,_0x547005._0x4ffb64,0x2af,0x279)+_0xdee929+(_0x167e0d(_0x547005._0xf489e8,0x2ae,0x297,_0x547005._0x10cda2)+_0x2d3833(_0x547005._0x26fa24,_0x547005._0x35399a,0x4d1,0x4ee)+'\x20this\x20team'));_0x168507[_0x167e0d(0x2ca,0x2fb,_0x547005._0x64a177,_0x547005._0x3b4682)]=_0x250b6d['EiRhY'];throw _0x168507;}_0x7efe9f[_0x2d3833(_0x547005._0x5c7eab,_0x547005._0x6cb272,_0x547005._0x6cb272,0x498)][_0x167e0d(_0x547005._0x4afb68,_0x547005._0x4db156,_0x547005._0x33be2f,_0x547005._0x21b3e7)](_0x24f5fe,-0x1eb0+0x1933+0x57e),_0x7efe9f[_0x167e0d(_0x547005._0x9c448e,0x27b,_0x547005._0xe58e66,_0x547005._0x138318)]=new Date()[_0x167e0d(_0x547005._0x343fc1,0x2da,_0x547005._0x49f793,_0x547005._0x1c497c)+'g'](),await _0x250b6d[_0x167e0d(_0x547005._0x3da525,_0x547005._0x55225f,0x242,0x283)](saveTeams,_0xc97943);function _0x167e0d(_0x459f26,_0xf96e11,_0x8a852f,_0x2d6727){return _0x40534d(_0x2d6727,_0x459f26- -_0x3d6adf._0x86d84d,_0x8a852f-_0x3d6adf._0x22d864,_0x2d6727-0x151);}return _0x7efe9f;}export function _resetCache(){teamsCache=null;}
|
|
1
|
+
(function(_0x1537a9,_0x7d7f87){const _0x3fe0d5={_0x4e9582:0x296,_0x19aed6:0x289,_0x5357d7:0x283,_0x4feedc:0x29f,_0x3bfdec:0x2bb,_0x10ea88:0x1bc,_0x5a845a:0x1d0,_0x3ba6ab:0x1ce,_0x43e7ec:0x1e1,_0x14cbc3:0x212,_0x54fc51:0x1f5,_0x1f56db:0x215,_0x70b63f:0x208,_0x3d41a8:0x21d,_0x350a7e:0x1a2,_0x815b73:0x1a5,_0x3b7dc0:0x1c5,_0x403f37:0x24f,_0xd29b6a:0x25b,_0xe561f0:0x23b},_0x24894a={_0x827f19:0xe3};function _0x4e9955(_0x395c53,_0x4cb83d,_0x157ed0,_0x366840){return _0x148f(_0x4cb83d- -0x383,_0x157ed0);}const _0x4383c1=_0x1537a9();function _0x37dd79(_0x560b2d,_0x397cb8,_0x5ec07a,_0x3c9e4b){return _0x148f(_0x5ec07a-_0x24894a._0x827f19,_0x3c9e4b);}while(!![]){try{const _0x4177f5=parseInt(_0x37dd79(_0x3fe0d5._0x4e9582,0x24d,0x272,0x240))/(-0xac7+-0xdb1*0x1+0x4e5*0x5)*(parseInt(_0x37dd79(_0x3fe0d5._0x19aed6,_0x3fe0d5._0x5357d7,_0x3fe0d5._0x4feedc,_0x3fe0d5._0x3bfdec))/(0x201+-0x3f5*-0x3+-0x19*0x8e))+-parseInt(_0x4e9955(-0x1c3,-_0x3fe0d5._0x10ea88,-0x1e6,-0x191))/(0x38e+0x1ec6+0x2251*-0x1)+-parseInt(_0x4e9955(-_0x3fe0d5._0x5a845a,-_0x3fe0d5._0x3ba6ab,-0x1ef,-_0x3fe0d5._0x43e7ec))/(-0xd83+0x76d*-0x1+-0x1*-0x14f4)+-parseInt(_0x4e9955(-_0x3fe0d5._0x14cbc3,-0x1ea,-_0x3fe0d5._0x54fc51,-0x203))/(-0x32*-0x62+0x2b*0x7a+0x279d*-0x1)+-parseInt(_0x4e9955(-_0x3fe0d5._0x1f56db,-_0x3fe0d5._0x70b63f,-_0x3fe0d5._0x3d41a8,-0x1fd))/(0xfc*0x1a+-0x2ba*-0x1+-0x713*0x4)*(-parseInt(_0x4e9955(-0x1d3,-0x1ca,-_0x3fe0d5._0x350a7e,-0x1ab))/(-0x794+-0x25*0x4b+0x1272))+-parseInt(_0x4e9955(-_0x3fe0d5._0x815b73,-0x1c8,-0x1f8,-_0x3fe0d5._0x3b7dc0))/(-0xd*0x20+0x29d*-0x6+0x1156)+parseInt(_0x37dd79(_0x3fe0d5._0x403f37,0x234,_0x3fe0d5._0xd29b6a,_0x3fe0d5._0xe561f0))/(-0x3*0x490+0xb*-0x2a5+0x28*0x112);if(_0x4177f5===_0x7d7f87)break;else _0x4383c1['push'](_0x4383c1['shift']());}catch(_0x24ed0d){_0x4383c1['push'](_0x4383c1['shift']());}}}(_0xdd27,-0xc031*-0xd+0x2*-0x798a2+-0x74728*-0x2));function _0x43ec91(_0x5fd910,_0x491e10,_0x5602c7,_0x3647ef){return _0x148f(_0x5602c7- -0x317,_0x3647ef);}import{promises as _0xd7c91}from'fs';function _0x1f36db(_0xd8c452,_0x1ebdad,_0x3fc371,_0x49f196){return _0x148f(_0x1ebdad- -0x117,_0x49f196);}import _0x551c36 from'path';import{logger}from'./logger.js';import{DATA_DIR}from'./data-dir.js';function _0x148f(_0x18e60d,_0x3fdb96){_0x18e60d=_0x18e60d-(0xad7+-0xf41+0x5c6);const _0x2cdf30=_0xdd27();let _0x48e926=_0x2cdf30[_0x18e60d];if(_0x148f['IKoxjT']===undefined){var _0x54ba0f=function(_0x5a0d57){const _0x39fa3c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x54efd0='',_0x5c2907='';for(let _0x26cb6a=-0x22ec+0x2019+0x2d3,_0x31417f,_0x257a24,_0x3d26ee=0x6fd+0x1024+-0x1721*0x1;_0x257a24=_0x5a0d57['charAt'](_0x3d26ee++);~_0x257a24&&(_0x31417f=_0x26cb6a%(0x14*0xd8+0x1327*-0x1+0x24b)?_0x31417f*(0x6c2+0x1*-0xec5+0x843)+_0x257a24:_0x257a24,_0x26cb6a++%(0x20b0+-0x4a3+0x1*-0x1c09))?_0x54efd0+=String['fromCharCode'](0x113d+0x1680+-0x26be&_0x31417f>>(-(0x1775+-0x1b7a+-0x1*-0x407)*_0x26cb6a&-0x1496+-0x861+0x1cfd)):-0x255+0x329+-0xd4){_0x257a24=_0x39fa3c['indexOf'](_0x257a24);}for(let _0x9a02f2=0x1247*-0x1+0x1c95*0x1+-0xa4e,_0x4660db=_0x54efd0['length'];_0x9a02f2<_0x4660db;_0x9a02f2++){_0x5c2907+='%'+('00'+_0x54efd0['charCodeAt'](_0x9a02f2)['toString'](0x84+0x1a28+0x1a*-0x106))['slice'](-(-0x97*0xe+0xed7+-0x693));}return decodeURIComponent(_0x5c2907);};_0x148f['DFJnfY']=_0x54ba0f,_0x148f['eAFcQQ']={},_0x148f['IKoxjT']=!![];}const _0x3d45c7=_0x2cdf30[-0x7b+0x26e*0x1+-0x1f3],_0x553b5b=_0x18e60d+_0x3d45c7,_0x332056=_0x148f['eAFcQQ'][_0x553b5b];return!_0x332056?(_0x48e926=_0x148f['DFJnfY'](_0x48e926),_0x148f['eAFcQQ'][_0x553b5b]=_0x48e926):_0x48e926=_0x332056,_0x48e926;}const TEAMS_FILE=_0x551c36[_0x1f36db(0x50,0x4f,0x47,0x7c)](DATA_DIR,_0x1f36db(0x63,0x8a,0x71,0x88));let teamsCache=null,teamsCacheMtime=null;export async function loadTeams(){const _0x4204a7={_0x219aac:0x2e0,_0x4d9d59:0x2b3,_0x856f13:0x335,_0x5ae807:0x340,_0x1f8ac5:0x327,_0x20774d:0x384,_0x624d05:0x357,_0x15257f:0x358,_0x3d9785:0x347,_0x1964b0:0x356,_0x31473e:0x2dc,_0x4badd5:0x2bd,_0x26add0:0x30f,_0x2db437:0x36d,_0x5e1fa8:0x33e,_0x19111e:0x364,_0x22e535:0x39a,_0x14c82b:0x372,_0x3968b5:0x39f,_0x121588:0x2c4,_0x159623:0x2a5,_0x5b9f14:0x28a,_0x303411:0x28e,_0x234470:0x37d,_0xa3fda6:0x368,_0x1a3a8f:0x34e,_0x55059a:0x340,_0x4083ac:0x38a,_0x556193:0x3a0,_0x202fe0:0x2a9,_0x28a21c:0x296,_0x5ee2be:0x28f,_0x18179e:0x2b0,_0x224aa4:0x33b,_0x30c877:0x350,_0x4e2ec7:0x33c,_0x32bf20:0x30a,_0x289a70:0x2ae,_0x5f1b8b:0x2d0,_0x4fa25c:0x275,_0x187d96:0x28a,_0xe0fa82:0x366,_0x2a73b2:0x376,_0x418dfd:0x3a3,_0x41b108:0x2a0,_0x549ac7:0x28d},_0x62be71={_0x2d7c2d:0x130},_0x1d9a01={_0xaa19b7:0x1eb},_0x5ea44b={'VWQmz':_0x4f11a9(0x30e,_0x4204a7._0x219aac,_0x4204a7._0x4d9d59,0x2ea),'jSdJs':function(_0x56fd58,_0x2f2741){return _0x56fd58===_0x2f2741;},'bpfSg':'ENOENT','xEfJm':_0x2d3570(_0x4204a7._0x856f13,_0x4204a7._0x5ae807,_0x4204a7._0x1f8ac5,0x342),'QEjWQ':'Teams\x20file'+'\x20not\x20found'+',\x20initiali'+_0x2d3570(0x38c,_0x4204a7._0x20774d,_0x4204a7._0x624d05,_0x4204a7._0x15257f)+_0x2d3570(0x31f,_0x4204a7._0x3d9785,0x337,_0x4204a7._0x1964b0),'MjuYB':function(_0x185ccb,_0xd9aac4){return _0x185ccb(_0xd9aac4);},'yJKol':_0x4f11a9(0x2da,_0x4204a7._0x31473e,_0x4204a7._0x4badd5,_0x4204a7._0x26add0)+_0x2d3570(0x33e,_0x4204a7._0x2db437,_0x4204a7._0x5e1fa8,_0x4204a7._0x19111e)};function _0x2d3570(_0x1c2d39,_0x73ba72,_0xab47af,_0x3e362c){return _0x43ec91(_0x1c2d39-_0x1d9a01._0xaa19b7,_0x73ba72-0x1aa,_0x73ba72-0x4e1,_0xab47af);}function _0x4f11a9(_0x25b709,_0x4f6beb,_0x57648d,_0x38e1de){return _0x43ec91(_0x25b709-_0x62be71._0x2d7c2d,_0x4f6beb-0x160,_0x4f6beb-0x431,_0x38e1de);}try{const _0x55586d=await _0xd7c91['stat'](TEAMS_FILE),_0x4a6e88=await _0xd7c91[_0x2d3570(_0x4204a7._0x22e535,_0x4204a7._0x14c82b,_0x4204a7._0x3968b5,_0x4204a7._0x22e535)](TEAMS_FILE,_0x5ea44b[_0x4f11a9(_0x4204a7._0x121588,0x2c0,0x2eb,0x2b3)]),_0x9c4a88=JSON['parse'](_0x4a6e88);teamsCache=_0x9c4a88[_0x4f11a9(_0x4204a7._0x159623,_0x4204a7._0x5b9f14,0x259,_0x4204a7._0x303411)]||[],teamsCacheMtime=_0x55586d['mtimeMs'];const _0x4b68f8={};return _0x4b68f8[_0x2d3570(0x382,0x379,0x3a8,_0x4204a7._0x234470)]=teamsCache[_0x2d3570(_0x4204a7._0xa3fda6,_0x4204a7._0x1a3a8f,_0x4204a7._0x55059a,0x329)],logger[_0x2d3570(_0x4204a7._0x4083ac,0x38d,0x3c1,_0x4204a7._0x556193)](_0x4f11a9(_0x4204a7._0x202fe0,_0x4204a7._0x28a21c,_0x4204a7._0x5ee2be,_0x4204a7._0x18179e)+'ms\x20from\x20fi'+'le',_0x4b68f8),teamsCache;}catch(_0x3eb10e){if(_0x5ea44b['jSdJs'](_0x3eb10e[_0x2d3570(_0x4204a7._0x224aa4,_0x4204a7._0x30c877,0x34e,0x32b)],_0x5ea44b[_0x2d3570(0x2f6,0x32a,_0x4204a7._0x4e2ec7,_0x4204a7._0x32bf20)])){const _0x432e03=_0x5ea44b[_0x4f11a9(_0x4204a7._0x289a70,_0x4204a7._0x5f1b8b,0x2c9,0x2ed)][_0x4f11a9(_0x4204a7._0x4fa25c,0x291,_0x4204a7._0x187d96,0x299)]('|');let _0x598ffc=0x26ab+-0xa29+-0xe41*0x2;while(!![]){switch(_0x432e03[_0x598ffc++]){case'0':teamsCache=[];continue;case'1':logger[_0x2d3570(_0x4204a7._0xe0fa82,0x360,0x33f,0x343)](_0x5ea44b['QEjWQ']);continue;case'2':teamsCacheMtime=null;continue;case'3':await _0x5ea44b[_0x2d3570(0x378,_0x4204a7._0x2a73b2,_0x4204a7._0x418dfd,0x395)](saveTeams,teamsCache);continue;case'4':return teamsCache;}break;}}logger[_0x4f11a9(_0x4204a7._0x41b108,0x2a1,_0x4204a7._0x121588,_0x4204a7._0x549ac7)](_0x5ea44b['yJKol'],_0x3eb10e);throw _0x3eb10e;}}export async function saveTeams(_0x310738){const _0x43e050={_0x4a55cb:0x11a,_0x39b9b8:0xf5,_0x592a87:0x145,_0xd5a4cf:0x261,_0x51e9dc:0x22c,_0xd79794:0x206,_0x103263:0x16f,_0x2c1b5c:0x1e2,_0x3bf486:0x21f,_0x248da6:0x1f6,_0x7f5b1a:0x117,_0x384731:0x1d7,_0xb76ba:0x10f,_0x3c144f:0xfb,_0x5ece59:0x1f5,_0x4e3611:0x144,_0x2ee00b:0x11a,_0x38ee45:0xf0,_0x2e2b9:0xe8,_0x121d6c:0xf7,_0x3d7635:0x112},_0x55dd3c={_0xe73eeb:0x14f,_0x54f8b8:0x6d},_0x3bc249={_0x304442:0x1c8};function _0x228c26(_0x276985,_0x434a55,_0x17998c,_0x5bed7e){return _0x1f36db(_0x276985-_0x3bc249._0x304442,_0x5bed7e- -0x286,_0x17998c-0xfb,_0x17998c);}function _0x9b0d9f(_0x290c86,_0x42ec68,_0x5e8d77,_0x17e45e){return _0x43ec91(_0x290c86-0x162,_0x42ec68-_0x55dd3c._0xe73eeb,_0x42ec68-_0x55dd3c._0x54f8b8,_0x290c86);}const _0x2888c2={};_0x2888c2[_0x9b0d9f(-0xf6,-_0x43e050._0x4a55cb,-_0x43e050._0x39b9b8,-_0x43e050._0x592a87)]=_0x228c26(-0x234,-0x242,-_0x43e050._0xd5a4cf,-_0x43e050._0x51e9dc)+'s\x20to\x20file';const _0x5e58e9=_0x2888c2;try{const _0x5ba4d9=_0x551c36['dirname'](TEAMS_FILE),_0x284b3e={};_0x284b3e[_0x228c26(-0x1f2,-0x229,-0x231,-_0x43e050._0xd79794)]=!![],await _0xd7c91['mkdir'](_0x5ba4d9,_0x284b3e);const _0x2856d1={};_0x2856d1[_0x9b0d9f(-0x144,-0x13a,-0x11c,-_0x43e050._0x103263)]=_0x310738,await _0xd7c91[_0x228c26(-_0x43e050._0x2c1b5c,-_0x43e050._0x3bf486,-0x1e3,-_0x43e050._0x248da6)](TEAMS_FILE,JSON[_0x9b0d9f(-0x132,-0x101,-_0x43e050._0x7f5b1a,-0xd0)](_0x2856d1,null,-0x20c6+0x1d33+0x395),_0x228c26(-0x1d5,-0x1de,-0x1c6,-_0x43e050._0x384731));const _0x5d3504=await _0xd7c91[_0x9b0d9f(-0x131,-0x13d,-0x141,-0x147)](TEAMS_FILE);teamsCache=_0x310738,teamsCacheMtime=_0x5d3504[_0x9b0d9f(-0xe1,-0xf3,-_0x43e050._0xb76ba,-_0x43e050._0x3c144f)];const _0x5265ce={};_0x5265ce['count']=_0x310738[_0x228c26(-0x1f5,-0x1f4,-_0x43e050._0x5ece59,-0x219)],logger[_0x9b0d9f(-_0x43e050._0x4e3611,-0x114,-0xe4,-0x145)](_0x5e58e9[_0x9b0d9f(-0xfa,-_0x43e050._0x2ee00b,-0x12d,-0x112)],_0x5265ce);}catch(_0x1977d0){logger['error'](_0x9b0d9f(-_0x43e050._0x38ee45,-_0x43e050._0x2e2b9,-_0x43e050._0x121d6c,-_0x43e050._0x3d7635)+'save\x20teams',_0x1977d0);throw _0x1977d0;}}export async function getTeams(){const _0x840f9c={_0xeef2e5:0x21e,_0x135f7d:0x1ea,_0x589095:0x23f,_0x342b53:0x241,_0xa304fe:0x213,_0x87c539:0x32b,_0x20eaca:0x371,_0x2277f0:0x359,_0x238289:0x345,_0x260fbf:0x368,_0x4edf1c:0x354},_0x328af2={_0x7db110:0xe6,_0x51828f:0x2ec,_0x397c77:0xf7},_0x5c0543={_0x167a47:0x98,_0x4bd32a:0xcd,_0x135c97:0x3c8};function _0x1c9fad(_0x3c1897,_0x31809b,_0x60763,_0x2aaa72){return _0x43ec91(_0x3c1897-_0x5c0543._0x167a47,_0x31809b-_0x5c0543._0x4bd32a,_0x3c1897-_0x5c0543._0x135c97,_0x31809b);}const _0x1ade00={'auyEx':function(_0x16f343){return _0x16f343();},'qMbMN':'ENOENT'};function _0x1255cb(_0xc3ed3c,_0x1525ef,_0x14ced7,_0x476938){return _0x1f36db(_0xc3ed3c-_0x328af2._0x7db110,_0x14ced7-_0x328af2._0x51828f,_0x14ced7-_0x328af2._0x397c77,_0x1525ef);}try{const _0x5c9046=await _0xd7c91[_0x1c9fad(_0x840f9c._0xeef2e5,0x1f9,_0x840f9c._0x135f7d,0x23e)](TEAMS_FILE);if(!teamsCache||_0x5c9046['mtimeMs']!==teamsCacheMtime)return await _0x1ade00[_0x1c9fad(_0x840f9c._0x589095,_0x840f9c._0x342b53,0x234,_0x840f9c._0xa304fe)](loadTeams);}catch(_0x55ed09){if(_0x55ed09[_0x1255cb(0x363,_0x840f9c._0x87c539,0x35b,_0x840f9c._0x20eaca)]!==_0x1ade00[_0x1255cb(_0x840f9c._0x2277f0,_0x840f9c._0x238289,0x33a,0x31f)])throw _0x55ed09;if(!teamsCache)return await _0x1ade00[_0x1255cb(_0x840f9c._0x260fbf,_0x840f9c._0x4edf1c,0x363,0x373)](loadTeams);}return teamsCache;}export async function getTeamById(_0x1cfd43){const _0x3aaed1=await getTeams();return _0x3aaed1['find'](_0x156a98=>_0x156a98['id']===_0x1cfd43)||null;}function _0xdd27(){const _0x3581ef=['zMLUzeLUzgv4','BgvUz3rO','ywTuBwK','y29Kzq','zxjYB3i','zMLUza','C29Tzq','vgvHBsaN','vxnLCIaN','AxmGCMvXDwLYzq','uxjbywi','yxv5rxG','ody1nZfqzePLrhi','ueHstxu','uwrjA1m','jYbUB3qGzM91BG','DufQquK','zMT6B0K','zhKGysbTzw1Izq','Aw5MBW','CMvJDxjZAxzL','tw1oqwW','nta0mJq3mfbjyLHQBa','rgvSzxrLzcb0zq','wwHyB04','CfbQtwK','s1jIwxe','CvP3Cxq','EMrktLi','DhjPBq','DgvHBxmUANnVBG','qxnhDxe','Bg9Hzcb0zwfTCW','CeH5DwG','jYbPCYbHBhjLyq','vLDrBxO','D3jPDgvgAwXL','CMvHzezPBgu','C3rYAw5NAwz5','AuTpu1u','ExPsB08','twP1wui','q0DYrNq','CIbVzIb0AgLZia','y291BNq','C3zYDLq','jYbPCYbUB3qGyq','swHluMi','zxHPC3rZ','Dg9ju09tDhjPBG','mta1odKWmgzMCgfiEG','EevMsM0','BxrPBwvnCW','DgvHBq','n0ztD2fctG','EMvKigvTChr5ia','odCYmZmWngzXywT6rq','nffZDwvwra','vKfmsurbveLptG','C3bSAwnL','vgvHBsbUyw1Lia','tK9ux0zpvu5e','C3vIC3rY','rMfPBgvKihrVia','zgvIDwC','ihrOAxmGDgvHBq','rxvjBM4','DxrMltG','mJe3ntm5owf0rwP5uG','rfvqteLdqvrf','Aw5JBhvKzxm','zgr4C3e','DgvHBuLK','zgvZy3jPChrPBW','yNbMu2C','zgLUz3m','uKzPrg4','DxbKyxrLzf9HDa','tePLs1u','Cu1Itu4','AM9PBG','A09mvKq','wvDlzwm','ChvZAa','y1bIBhK','BM93','BMfTzq','C3rHDa','qvbcu1G','y2HmtKO','DgvHBxm','u2f2zwqGDgvHBq','zgfLquu','ig1LBwjLCIbVzG','y3jLyxrLzf9IEq','rNfPyu0','mhWYFdf8m3W0','C3bSAxq','mJy1oti2mdziyNPiue4','ANnZv3u','jYbHBhjLywr5ia','mZm1mJCXnNLeEKHQEa','tg9HzgvKihrLyq','DgvHBsbSAxn0','u2TiwKm','vxjiAvm','BwvTyMvYCW','DgvHBv8','zMLSDgvY'];_0xdd27=function(){return _0x3581ef;};return _0xdd27();}export async function getTeamsByUserId(_0x51784b){const _0x28b5af={_0x46b0f4:0xe6,_0x351511:0xa5,_0x2357af:0xe9},_0x2c89b1={_0x12947f:0x1c7,_0xd035d4:0xd6};function _0x284b41(_0x56cee1,_0x8ef4c0,_0x34c9ea,_0x2d7fa1){return _0x43ec91(_0x56cee1-0x1c2,_0x8ef4c0-_0x2c89b1._0x12947f,_0x2d7fa1-_0x2c89b1._0xd035d4,_0x56cee1);}const _0x5a8472=await getTeams();return _0x5a8472[_0x284b41(-_0x28b5af._0x46b0f4,-_0x28b5af._0x351511,-_0x28b5af._0x2357af,-0xbf)](_0x1c922c=>_0x1c922c['members']['includes'](_0x51784b));}export async function createTeam(_0x381897){const _0x4012e2={_0x7de2cf:0x42d,_0x6de932:0x425,_0x3943fc:0x3e3,_0x1e67c7:0x3c8,_0x17edeb:0x41d,_0x38ed2f:0x3c8,_0x428259:0x3e8,_0x2cc97b:0x35f,_0xf39ba:0x377,_0x6aa1cf:0x3ec,_0x11afb3:0x3c1,_0x39022e:0x366,_0x9edefb:0x365,_0x4e4ee6:0x3a0,_0x888dd2:0x3f5,_0x1621d1:0x3eb,_0x418599:0x3af,_0x4cb7ef:0x3a4,_0x4fd8be:0x385,_0x58a0ba:0x3f3,_0x4d2de0:0x415,_0x1c7dca:0x3e2,_0x51d291:0x3c4,_0x3da7e6:0x3a9,_0x30a36c:0x3fd,_0x4a2e09:0x381,_0x2b2c3b:0x424,_0xb2d10:0x422,_0x1e54aa:0x3fa,_0x45b321:0x436,_0x2894a7:0x43c,_0x14a913:0x3be,_0x141760:0x3a3,_0x2fbae1:0x3d7,_0x5c358b:0x3c5,_0x260256:0x412,_0x63cd65:0x3b9,_0x40bc54:0x3c3,_0x1a2d3a:0x384,_0x389837:0x38e,_0x22607b:0x3dd,_0x5cba34:0x406,_0x50c8a4:0x3e4,_0x38d55b:0x3da,_0x14ff4a:0x3d8,_0x1a8db1:0x3e7,_0x1b7000:0x3b4,_0x2490a3:0x368,_0x30f3e0:0x371,_0x463cdd:0x397,_0x12565a:0x39d},_0x4ca83c={_0x1032a9:0x1ee},_0x5c8f72={_0x32efe7:0x40},_0xd1de6e={'RFiDn':_0x2d763e(_0x4012e2._0x7de2cf,_0x4012e2._0x6de932,0x45e,0x45f)+'is\x20require'+'d','akTmi':_0xd6f942(_0x4012e2._0x3943fc,0x3df,0x3e0,_0x4012e2._0x1e67c7),'EuInn':function(_0x459ac9){return _0x459ac9();},'YBUwh':'LJeKU'},_0x12c8c6=await _0xd1de6e[_0xd6f942(_0x4012e2._0x17edeb,_0x4012e2._0x38ed2f,_0x4012e2._0x428259,0x3e1)](getTeams);function _0xd6f942(_0x200c86,_0x610801,_0x22d1c7,_0x170fbf){return _0x1f36db(_0x200c86-_0x5c8f72._0x32efe7,_0x22d1c7-0x33a,_0x22d1c7-0xf2,_0x170fbf);}function _0x2d763e(_0x1035f8,_0x46c45f,_0x5ccde1,_0x59302d){return _0x43ec91(_0x1035f8-0x1ea,_0x46c45f-_0x4ca83c._0x1032a9,_0x1035f8-0x585,_0x5ccde1);}if(!_0x381897[_0xd6f942(0x36b,_0x4012e2._0x2cc97b,0x38f,_0x4012e2._0xf39ba)]||!_0x381897['name'][_0xd6f942(_0x4012e2._0x6aa1cf,0x3ce,0x3c3,_0x4012e2._0x11afb3)]()){if(_0xd1de6e['YBUwh']===_0xd6f942(0x36f,0x36e,0x387,_0x4012e2._0x39022e)){const _0x1b0c37=new Error(_0xd1de6e[_0xd6f942(_0x4012e2._0x9edefb,0x37f,0x385,_0x4012e2._0x4e4ee6)]);_0x1b0c37[_0x2d763e(0x3f4,_0x4012e2._0x888dd2,0x427,_0x4012e2._0x1621d1)]=_0xd1de6e['akTmi'];throw _0x1b0c37;}else{const _0x37a19e=new _0x18500c(_0xd1de6e[_0xd6f942(_0x4012e2._0x418599,_0x4012e2._0x4cb7ef,_0x4012e2._0x4fd8be,0x3a4)]);_0x37a19e['code']=_0xd1de6e[_0x2d763e(_0x4012e2._0x58a0ba,0x3d7,0x3ef,_0x4012e2._0x4d2de0)];throw _0x37a19e;}}if(_0x12c8c6['some'](_0x4b5b74=>_0x4b5b74[_0xd6f942(0x3ac,0x388,0x38f,0x393)]===_0x381897[_0x2d763e(0x3da,0x3f2,0x402,0x410)])){const _0x3c5963=new Error(_0xd6f942(_0x4012e2._0x6aa1cf,0x3c1,_0x4012e2._0x1c7dca,_0x4012e2._0x51d291)+'\x27'+_0x381897[_0x2d763e(0x3da,_0x4012e2._0x3da7e6,_0x4012e2._0x30a36c,0x3e4)]+(_0xd6f942(0x3bb,_0x4012e2._0x4a2e09,0x39d,0x394)+_0x2d763e(0x421,_0x4012e2._0x2b2c3b,0x3fd,_0x4012e2._0xb2d10)));_0x3c5963[_0x2d763e(0x3f4,0x41d,_0x4012e2._0x1e54aa,0x3cf)]=_0x2d763e(_0x4012e2._0x45b321,0x41e,0x438,_0x4012e2._0x2894a7);throw _0x3c5963;}const _0x3ed593=_0x381897[_0xd6f942(_0x4012e2._0x14a913,0x3a3,_0x4012e2._0x141760,0x393)]||[],_0x5a01ee=new Date()[_0xd6f942(0x405,0x3c0,_0x4012e2._0x2fbae1,_0x4012e2._0x5c358b)+'g'](),_0x569c61={'id':_0x2d763e(0x3ef,_0x4012e2._0x260256,_0x4012e2._0x63cd65,0x40a)+Date[_0xd6f942(_0x4012e2._0x40bc54,_0x4012e2._0x1a2d3a,_0x4012e2._0x389837,0x3a7)]()+'_'+Math['random']()['toString'](-0x153*-0xd+0x1*0x25db+-0x4f*0xb2)[_0xd6f942(_0x4012e2._0x22607b,_0x4012e2._0x5cba34,_0x4012e2._0x50c8a4,0x3d1)](-0x1f*-0x1f+-0x3d*0xb+-0x120,0x2e*0xbf+0x6f0+-0x2939),'name':_0x381897[_0x2d763e(_0x4012e2._0x38d55b,_0x4012e2._0x14ff4a,0x3be,_0x4012e2._0x1a8db1)],'description':_0x381897[_0x2d763e(0x3cd,0x400,0x3fa,_0x4012e2._0x1b7000)+'n']||'','members':_0x3ed593,'created_at':_0x5a01ee,'created_by':_0x381897[_0xd6f942(_0x4012e2._0x2490a3,_0x4012e2._0x30f3e0,_0x4012e2._0x463cdd,_0x4012e2._0x4cb7ef)]||null,'updated_at':_0x5a01ee};return _0x12c8c6[_0xd6f942(_0x4012e2._0x12565a,_0x4012e2._0x3da7e6,0x38c,0x370)](_0x569c61),await saveTeams(_0x12c8c6),_0x569c61;}export async function updateTeam(_0x417466,_0x41e48e){const _0x757928={_0x35e7c7:0xa6,_0x172a13:0x7a,_0x53fc23:0x31c,_0x3e4b75:0x30a,_0x80d27c:0x31b,_0x145ab7:0x34f,_0xef776a:0x319,_0x574078:0xa8,_0x3c0009:0x8d,_0x31b935:0x92,_0x4b20a3:0xad,_0x36d4d9:0x2f7,_0x519e7a:0x2c6,_0x71c0f2:0x2ad,_0x23e3ca:0x306,_0x429346:0x2dc,_0x106933:0x2fc,_0x34d826:0x2cb,_0x373326:0x2d9,_0xd0a72d:0x78,_0x50dc89:0x58,_0x43f8d6:0x2c8,_0x23d5b8:0x76,_0x2ca929:0x47,_0x1be9a2:0x29b,_0x5063cc:0x2fa,_0x4107a4:0xaa,_0x52bd4a:0x6d,_0x525950:0x72,_0x49ddb9:0x54,_0x4419aa:0xc5,_0x368e4d:0x9a,_0x4dcf89:0xbc,_0x4cc7d0:0xa7,_0x1f73c1:0x303,_0x178fcf:0x2ff,_0x349d76:0x2d6,_0x20d42b:0x2c3,_0x3dc93c:0x2db,_0x12426e:0x30f,_0x101371:0x2f4,_0x587cb7:0x33f,_0x2af0ed:0xd5,_0x267df0:0xd2,_0x42322f:0x76,_0x181f6b:0x87,_0x96cee1:0x8f,_0x47c2d6:0x2a5,_0x8d2172:0x76,_0x3abaf4:0x59,_0x547e17:0x82,_0x3cef4d:0x69,_0x57de74:0x2bb,_0x109e4a:0x2bd,_0x59875f:0x2ec,_0x4cd98a:0x2bb,_0x377e4a:0x2d1,_0x3a8af3:0x63,_0x68463c:0x2e3,_0x1b6f67:0x2dc,_0x3f8a76:0x2d3,_0x1b570f:0x30d,_0x216023:0xc0,_0x170567:0x92,_0x4ba6cf:0x86},_0xcc91f8={_0x185ef3:0x45,_0x374f5f:0xe6,_0x39881a:0x473},_0x21179d={'pHyuh':function(_0x452c5b){return _0x452c5b();},'cPbly':_0x96fd77(0x89,_0x757928._0x35e7c7,_0x757928._0x172a13,0xc0),'chLNJ':_0x40d860(0x2f7,_0x757928._0x53fc23,0x342,_0x757928._0x3e4b75),'LAHIq':function(_0xc7d203,_0x1a9966){return _0xc7d203!==_0x1a9966;},'APBSX':function(_0x5666f2,_0x460d87){return _0x5666f2!==_0x460d87;},'YWKec':_0x40d860(0x31e,_0x757928._0x80d27c,0x31b,0x30a)+'is\x20require'+'d','IhKRb':_0x40d860(_0x757928._0x145ab7,_0x757928._0xef776a,0x2ec,0x301),'hHPng':function(_0x54fe59,_0x29751e){return _0x54fe59!==_0x29751e;},'fkzoI':function(_0xbfba24,_0x34a7b6){return _0xbfba24(_0x34a7b6);}},_0x1d3137=await _0x21179d[_0x96fd77(0xe1,0xae,0xac,0xa0)](getTeams),_0x3adba8=_0x1d3137[_0x96fd77(_0x757928._0x574078,_0x757928._0x3c0009,_0x757928._0x31b935,_0x757928._0x4b20a3)](_0x4ff810=>_0x4ff810['id']===_0x417466);function _0x40d860(_0x3c2e2c,_0x3f3245,_0x56c3c8,_0xac5cdb){return _0x43ec91(_0x3c2e2c-_0xcc91f8._0x185ef3,_0x3f3245-_0xcc91f8._0x374f5f,_0x3f3245-_0xcc91f8._0x39881a,_0xac5cdb);}if(_0x3adba8===-(0x2*0x91e+0x1338+-0x2573)){if(_0x40d860(0x2c1,_0x757928._0x36d4d9,0x2e3,0x2d1)!==_0x21179d[_0x40d860(0x2b4,_0x757928._0x519e7a,0x2ca,_0x757928._0x71c0f2)]){const _0x46cc64=new Error(_0x40d860(_0x757928._0x23e3ca,0x2e6,_0x757928._0x429346,0x2b9)+_0x417466+('\x27\x20not\x20foun'+'d'));_0x46cc64['code']=_0x21179d[_0x40d860(_0x757928._0x106933,_0x757928._0x34d826,_0x757928._0x373326,_0x757928._0x34d826)];throw _0x46cc64;}else _0x3fdb96=null;}const _0x296e39=_0x1d3137[_0x3adba8];if(_0x21179d['LAHIq'](_0x41e48e['name'],undefined)&&_0x21179d[_0x96fd77(0x72,_0x757928._0xd0a72d,_0x757928._0x50dc89,0x4d)](_0x41e48e[_0x40d860(0x2aa,_0x757928._0x43f8d6,0x295,0x2d7)],_0x296e39[_0x96fd77(0xab,_0x757928._0x23d5b8,0x42,_0x757928._0x2ca929)])){if(!_0x41e48e[_0x40d860(0x2ac,_0x757928._0x43f8d6,_0x757928._0x1be9a2,_0x757928._0x5063cc)][_0x96fd77(0x96,_0x757928._0x4107a4,0x7e,0x9f)]()){const _0x10a80c=new Error(_0x21179d[_0x96fd77(_0x757928._0x52bd4a,_0x757928._0x525950,_0x757928._0x49ddb9,0x7d)]);_0x10a80c[_0x96fd77(0x7c,0x90,_0x757928._0x4419aa,_0x757928._0x368e4d)]=_0x21179d[_0x96fd77(0xa3,_0x757928._0x4dcf89,_0x757928._0x4cc7d0,_0x757928._0x4dcf89)];throw _0x10a80c;}if(_0x1d3137['some'](_0x594c4f=>_0x594c4f[_0x40d860(0x2c4,0x2c8,0x29f,0x29f)]===_0x41e48e[_0x96fd77(0x92,0x76,0x63,0x65)])){const _0x5cb0c3=new Error(_0x40d860(0x31d,0x31b,_0x757928._0x1f73c1,_0x757928._0x178fcf)+'\x27'+_0x41e48e['name']+(_0x40d860(0x2e5,_0x757928._0x349d76,_0x757928._0x20d42b,0x2c9)+_0x40d860(_0x757928._0x3dc93c,_0x757928._0x12426e,_0x757928._0x101371,_0x757928._0x587cb7)));_0x5cb0c3['code']=_0x96fd77(_0x757928._0x2af0ed,_0x757928._0x267df0,0xb1,0xcc);throw _0x5cb0c3;}}if(_0x21179d['APBSX'](_0x41e48e[_0x96fd77(0x91,_0x757928._0x42322f,_0x757928._0x181f6b,_0x757928._0x96cee1)],undefined))_0x296e39[_0x40d860(_0x757928._0x47c2d6,_0x757928._0x43f8d6,0x2e6,_0x757928._0x36d4d9)]=_0x41e48e[_0x96fd77(0x67,_0x757928._0x8d2172,_0x757928._0x3abaf4,0xa2)];function _0x96fd77(_0x31962e,_0x215f86,_0x5580f3,_0x319341){return _0x43ec91(_0x31962e-0x81,_0x215f86-0x54,_0x215f86-0x221,_0x319341);}if(_0x41e48e[_0x96fd77(_0x757928._0x547e17,_0x757928._0x3cef4d,0x65,0x66)+'n']!==undefined)_0x296e39[_0x40d860(0x2b3,_0x757928._0x57de74,_0x757928._0x109e4a,_0x757928._0x59875f)+'n']=_0x41e48e[_0x40d860(0x2c0,_0x757928._0x4cd98a,_0x757928._0x377e4a,0x29f)+'n'];if(_0x21179d['hHPng'](_0x41e48e[_0x96fd77(0x86,0x8a,0xac,_0x757928._0x3a8af3)],undefined))_0x296e39[_0x40d860(_0x757928._0x68463c,_0x757928._0x1b6f67,_0x757928._0x1f73c1,_0x757928._0x3f8a76)]=_0x41e48e[_0x40d860(0x2bd,0x2dc,_0x757928._0x1b570f,0x2ab)];return _0x296e39[_0x96fd77(0x8b,0x6d,0x8b,0x85)]=new Date()[_0x96fd77(0x97,0xbe,_0x757928._0x216023,0xed)+'g'](),await _0x21179d[_0x96fd77(_0x757928._0x170567,0x9e,_0x757928._0x4ba6cf,0x71)](saveTeams,_0x1d3137),_0x296e39;}export async function deleteTeam(_0x438c7e,_0x29275d,_0x4e670d){const _0x1a79dc={_0x3410b1:0xda,_0x6ee34e:0xd9,_0x32df42:0xc3,_0xc9cd5b:0xa8,_0x1c97b2:0xd8,_0x1fd7e0:0xa5,_0x18f127:0x73,_0x5b3b24:0xe2,_0x135160:0xfb,_0x581124:0xf3,_0x407a00:0xb8,_0x1401bd:0xc6,_0x1e290a:0xd3,_0x468bc3:0xde,_0x2d67f5:0xd0,_0x488094:0xdf,_0x182b41:0xc2,_0x5be2b6:0xe9,_0x3d65bc:0xb2,_0x255d47:0xa7,_0x29a473:0xef,_0x31ab1f:0x110,_0x346d3f:0xdc,_0x52cee7:0xe3,_0x22a6db:0xe7,_0x217261:0xc9,_0x2c9e4a:0x131,_0x2666be:0xca,_0x1ad23d:0xfe,_0x13ce56:0xbf,_0x298c84:0xf6,_0x1daf1c:0xd4,_0x1dff0f:0x101,_0x2e5c84:0xa3,_0x5231a0:0xc5,_0x1bc762:0xd1,_0x83cce1:0xa2,_0x7d9421:0x8c,_0x59f41e:0x123,_0x51c11c:0xbd,_0x3bc973:0xe5,_0x51beb8:0x8a,_0x12f437:0xf9,_0x24a5f2:0x99,_0x1a5530:0xaa,_0x578365:0xa6,_0x18af4e:0xcd,_0x51b7db:0xdf,_0x2ebf81:0xd8,_0xa5dfd1:0xac,_0xbc2029:0x8d,_0x397a43:0xb5},_0x22546e={_0x1a0857:0x60},_0x3e9e28={_0x368549:0x14e,_0x18c1ce:0x19f},_0x3ea47d={'uAjAI':_0x421038(0x11a,0x108,0xdc,_0x1a79dc._0x3410b1)+'is\x20require'+'d','kOLVD':_0x42eb7c(-_0x1a79dc._0x6ee34e,-_0x1a79dc._0x32df42,-_0x1a79dc._0xc9cd5b,-0xac),'kcoPl':_0x42eb7c(-0xa5,-_0x1a79dc._0x1c97b2,-_0x1a79dc._0x1fd7e0,-_0x1a79dc._0x18f127),'daeAE':function(_0x4141ee){return _0x4141ee();},'QrAab':function(_0x2d661b,_0x22d2d4){return _0x2d661b===_0x22d2d4;},'kLhqV':function(_0x25734c,_0x1fae57){return _0x25734c(_0x1fae57);},'rGCFt':_0x421038(0xd9,0xeb,0xc8,0x106),'PIKwF':function(_0x15d510,_0x51b68b,_0x2d06ff){return _0x15d510(_0x51b68b,_0x2d06ff);},'CGrFt':_0x42eb7c(-0xa6,-0xb5,-0xad,-0x7b),'QdIkS':function(_0x252f46,_0x492a12){return _0x252f46!==_0x492a12;},'UrHiS':_0x42eb7c(-_0x1a79dc._0x5b3b24,-_0x1a79dc._0x135160,-0xcd,-0xdf)},_0x168437=await _0x3ea47d[_0x42eb7c(-0xf5,-0xdd,-_0x1a79dc._0x581124,-0xbe)](getTeams),_0x86553b=_0x168437['findIndex'](_0x39a079=>_0x39a079['id']===_0x438c7e);if(_0x3ea47d[_0x42eb7c(-_0x1a79dc._0x407a00,-_0x1a79dc._0x1fd7e0,-0xd8,-_0x1a79dc._0x1401bd)](_0x86553b,-(0x2*0x79d+0x4*-0x995+-0x1c7*-0xd))){const _0x189a8e=new Error(_0x421038(0xf0,_0x1a79dc._0x1e290a,_0x1a79dc._0x468bc3,_0x1a79dc._0x2d67f5)+_0x438c7e+(_0x42eb7c(-_0x1a79dc._0x488094,-_0x1a79dc._0x182b41,-_0x1a79dc._0x1e290a,-_0x1a79dc._0x5be2b6)+'d'));_0x189a8e[_0x42eb7c(-0xad,-0x110,-0xdf,-0xff)]=_0x3ea47d['kcoPl'];throw _0x189a8e;}const _0x4bdad3=_0x168437[_0x86553b];_0x168437[_0x42eb7c(-0xa1,-_0x1a79dc._0x3d65bc,-_0x1a79dc._0x255d47,-0xa9)](_0x86553b,0x1493+-0xcf0+0x7a2*-0x1),await _0x3ea47d['kLhqV'](saveTeams,_0x168437);let _0x3d51c3=0x7*-0x60+-0x493*-0x1+-0x1f3*0x1;function _0x42eb7c(_0x2ca062,_0x3cd826,_0x39d815,_0x55750a){return _0x1f36db(_0x2ca062-0xd4,_0x39d815- -_0x3e9e28._0x368549,_0x39d815-_0x3e9e28._0x18c1ce,_0x55750a);}if(_0x29275d){if(_0x3ea47d[_0x42eb7c(-_0x1a79dc._0x29a473,-0xb6,-0xd8,-0xb7)](_0x3ea47d['rGCFt'],_0x3ea47d['rGCFt']))_0x3d51c3+=await _0x3ea47d['PIKwF'](_0x29275d,_0x3ea47d['CGrFt'],_0x438c7e);else{const _0x4c2bf3=new _0x394c13(_0x3ea47d[_0x421038(_0x1a79dc._0x31ab1f,_0x1a79dc._0x346d3f,_0x1a79dc._0x52cee7,0xe7)]);_0x4c2bf3[_0x42eb7c(-_0x1a79dc._0x22a6db,-_0x1a79dc._0x217261,-0xdf,-0xf1)]=_0x3ea47d[_0x42eb7c(-_0x1a79dc._0x2c9e4a,-_0x1a79dc._0x2666be,-_0x1a79dc._0x1ad23d,-0xcd)];throw _0x4c2bf3;}}if(_0x4e670d){if(_0x3ea47d[_0x42eb7c(-_0x1a79dc._0x13ce56,-_0x1a79dc._0x298c84,-_0x1a79dc._0x1daf1c,-_0x1a79dc._0x1dff0f)](_0x3ea47d[_0x421038(0xa1,0xc8,_0x1a79dc._0x2e5c84,_0x1a79dc._0x5231a0)],_0x3ea47d['UrHiS'])){const _0x1537a7=new _0x5a7420(_0x421038(_0x1a79dc._0x1bc762,_0x1a79dc._0x1daf1c,0xee,_0x1a79dc._0x83cce1)+_0x55b625+(_0x421038(0x108,0xfa,0xcf,0xfe)+_0x421038(0xa4,0xbc,_0x1a79dc._0x7d9421,0xdd)+_0x421038(_0x1a79dc._0x59f41e,0x10d,0xdd,0x111)));_0x1537a7[_0x42eb7c(-_0x1a79dc._0x407a00,-_0x1a79dc._0x51c11c,-_0x1a79dc._0x488094,-0xef)]=_0x3ea47d['kcoPl'];throw _0x1537a7;}else _0x3d51c3+=await _0x4e670d(_0x3ea47d[_0x421038(_0x1a79dc._0x1daf1c,0xf6,_0x1a79dc._0x3bc973,0x106)],_0x438c7e);}function _0x421038(_0x5e739e,_0x1c1897,_0xcd708b,_0x3e98cb){return _0x1f36db(_0x5e739e-0x4b,_0x1c1897-_0x22546e._0x1a0857,_0xcd708b-0x196,_0x5e739e);}const _0x5ee6bf={};_0x5ee6bf[_0x421038(_0x1a79dc._0x51beb8,_0x1a79dc._0x255d47,0xd9,0x87)]=_0x438c7e,_0x5ee6bf['teamName']=_0x4bdad3[_0x42eb7c(-0xce,-0x12a,-_0x1a79dc._0x12f437,-0x10c)],_0x5ee6bf['deletedBin'+_0x421038(_0x1a79dc._0x24a5f2,_0x1a79dc._0x1a5530,_0x1a79dc._0x578365,_0x1a79dc._0x18af4e)]=_0x3d51c3,logger[_0x421038(0xac,_0x1a79dc._0x51b7db,0xb3,_0x1a79dc._0x2ebf81)](_0x42eb7c(-_0x1a79dc._0xa5dfd1,-_0x1a79dc._0x52cee7,-0xcb,-0xb5)+'am',_0x5ee6bf);const _0x24b7e2={};return _0x24b7e2[_0x42eb7c(-0xd0,-_0x1a79dc._0xbc2029,-0xad,-_0x1a79dc._0x397a43)]=_0x4bdad3,_0x24b7e2['deletedBin'+_0x421038(0xc1,0xaa,0x89,0xa1)]=_0x3d51c3,_0x24b7e2;}export async function addMember(_0x5a047e,_0x4f1d39){const _0x359179={_0x16b3ec:0x319,_0x25eb10:0x344,_0x597811:0x2ed,_0x2b96b5:0x307,_0x212c3f:0x321,_0x37c8e8:0x2f3,_0x3085f6:0x2f7,_0x2ec3fb:0x346,_0x902e54:0x2e1,_0x361763:0x311,_0x3b6d9e:0x2b3,_0x1a986e:0x2ce,_0x426192:0x2ff,_0x3585c2:0x2a6,_0x3204df:0x309,_0x13b8a8:0x2b6,_0x113b14:0x28d,_0x58c25d:0x29c,_0x3f86c0:0x2dd,_0x89e028:0x507,_0xadaf78:0x4fb,_0x55ebe7:0x2df,_0x3b377a:0x2d2,_0x6e6347:0x543,_0x4a205c:0x56e,_0x2696b9:0x2ae,_0x9f4d04:0x2b5,_0x5e57b3:0x2fb,_0x3d7482:0x500,_0x3ec784:0x4f0,_0x218045:0x2d9,_0xde83de:0x2a8,_0x5ba5a0:0x2e6,_0x2c142a:0x2bd,_0x446cd9:0x2d8,_0x4fbe0e:0x54e,_0x5765dc:0x50f,_0x270c49:0x50a,_0xd7488e:0x4dd,_0x280927:0x4e5,_0x1eed2c:0x528,_0x26462b:0x537,_0x3b4abb:0x532,_0x1ba294:0x507,_0x49a555:0x341,_0x56b1c8:0x525,_0x414d19:0x4ff,_0x57dd95:0x54c,_0x354402:0x4f0,_0x460996:0x2d9,_0x67a6b3:0x307,_0x49d26d:0x2df,_0xaaff77:0x33d,_0x138c24:0x4f3,_0x7c03da:0x4be,_0x52b4fd:0x512},_0x31eb5a={_0x19159d:0x175},_0x3d362d={_0x507955:0xc9},_0x5e43ac={'seyqc':_0x2a209d(_0x359179._0x16b3ec,_0x359179._0x25eb10,_0x359179._0x597811,_0x359179._0x2b96b5),'FqiaM':function(_0x16da64,_0x5b15d4){return _0x16da64!==_0x5b15d4;},'svrvT':_0x2a209d(0x2f6,_0x359179._0x212c3f,0x2f9,_0x359179._0x37c8e8),'ddxsq':'pLgPm','yzRoO':_0x2a209d(0x321,_0x359179._0x3085f6,0x318,_0x359179._0x2ec3fb),'jssWu':function(_0x30c594,_0x50e00f){return _0x30c594(_0x50e00f);}},_0x32946c=await getTeams();function _0x2a209d(_0x1324e9,_0x42423a,_0x568e44,_0x5c7264){return _0x1f36db(_0x1324e9-0x1ca,_0x1324e9-0x270,_0x568e44-_0x3d362d._0x507955,_0x5c7264);}const _0x58e414=_0x32946c[_0x2a209d(_0x359179._0x902e54,0x2de,_0x359179._0x361763,_0x359179._0x3b6d9e)](_0x45fe45=>_0x45fe45['id']===_0x5a047e);if(!_0x58e414){if(_0x5e43ac[_0x2a209d(_0x359179._0x1a986e,_0x359179._0x426192,_0x359179._0x3585c2,0x301)](_0x5e43ac[_0x2a209d(_0x359179._0x3204df,0x300,0x307,_0x359179._0x3085f6)],_0x5e43ac[_0x2a209d(_0x359179._0x13b8a8,_0x359179._0x113b14,_0x359179._0x58c25d,_0x359179._0x3f86c0)])){const _0x561799=new Error(_0x13d4d6(0x504,0x4fa,_0x359179._0x89e028,_0x359179._0xadaf78)+_0x5a047e+('\x27\x20not\x20foun'+'d'));_0x561799[_0x2a209d(_0x359179._0x55ebe7,0x2c1,0x2fe,_0x359179._0x3b377a)]=_0x13d4d6(0x53a,_0x359179._0x6e6347,0x549,_0x359179._0x4a205c);throw _0x561799;}else{const _0x2ad77b=new _0x374ec0(_0x2a209d(0x2e3,0x2c7,_0x359179._0x2696b9,_0x359179._0x9f4d04)+_0x4d4be0+(_0x2a209d(0x2eb,0x316,0x314,_0x359179._0x5e57b3)+'d'));_0x2ad77b[_0x13d4d6(_0x359179._0x3d7482,0x503,_0x359179._0x3ec784,0x521)]=_0x5e43ac['seyqc'];throw _0x2ad77b;}}if(_0x58e414[_0x2a209d(_0x359179._0x218045,_0x359179._0x597811,0x2f6,_0x359179._0xde83de)][_0x2a209d(_0x359179._0x9f4d04,0x292,_0x359179._0x5ba5a0,0x2e4)](_0x4f1d39)){const _0x333918=new Error(_0x2a209d(0x2e4,_0x359179._0x2c142a,0x2ef,_0x359179._0x446cd9)+_0x4f1d39+(_0x13d4d6(0x51f,_0x359179._0x4fbe0e,0x4ef,0x544)+_0x13d4d6(_0x359179._0x5765dc,_0x359179._0x270c49,_0x359179._0xd7488e,_0x359179._0x280927)+_0x13d4d6(_0x359179._0x1eed2c,_0x359179._0x26462b,_0x359179._0x3b4abb,_0x359179._0x1ba294)+_0x2a209d(0x311,_0x359179._0x49a555,0x33a,_0x359179._0x3085f6)));_0x333918['code']=_0x5e43ac[_0x13d4d6(_0x359179._0x56b1c8,_0x359179._0x414d19,_0x359179._0x57dd95,_0x359179._0x354402)];throw _0x333918;}_0x58e414[_0x2a209d(_0x359179._0x460996,_0x359179._0x67a6b3,_0x359179._0x49d26d,0x2d7)][_0x13d4d6(0x4e3,0x4f1,0x4ee,0x4cd)](_0x4f1d39),_0x58e414['updated_at']=new Date()[_0x2a209d(0x30d,0x313,_0x359179._0xaaff77,_0x359179._0x218045)+'g']();function _0x13d4d6(_0x1c9068,_0x5db2cb,_0x4c9a9f,_0x47f573){return _0x1f36db(_0x1c9068-_0x31eb5a._0x19159d,_0x1c9068-0x491,_0x4c9a9f-0xdb,_0x5db2cb);}return await _0x5e43ac[_0x13d4d6(_0x359179._0x138c24,_0x359179._0x7c03da,0x4c9,_0x359179._0x52b4fd)](saveTeams,_0x32946c),_0x58e414;}export async function removeMember(_0x2bfb5f,_0x1e1258){const _0x2d7324={_0x442f0c:0x43b,_0x52d550:0x473,_0x4128ea:0x421,_0x573c2b:0x405,_0x2fa8a2:0x47c,_0x32b28e:0x452,_0x4b4d75:0x455,_0x4f988e:0x595,_0x2e7b37:0x545,_0x18a2a5:0x56f,_0x2900ea:0x549,_0x2ebc02:0x58c,_0x13c553:0x3ec,_0x49c09f:0x3f0,_0x333bc7:0x41f,_0x47fee0:0x427,_0x2893c6:0x56d,_0x3f1863:0x565,_0x215d43:0x548,_0x4eeb4e:0x57e,_0x2e35ca:0x582,_0x7cfc33:0x585,_0x251fa0:0x5a2,_0x27d23a:0x3f1,_0x1d421d:0x409,_0x31402a:0x401,_0x5d7add:0x40a,_0x530dd9:0x429,_0x260e35:0x41b,_0x30d757:0x597,_0x39de4f:0x586,_0x5c9f52:0x5a0,_0x251cdb:0x54b,_0x49cbaa:0x566,_0x532515:0x418,_0x3cbdcb:0x54f,_0x4eb53c:0x562,_0x378e39:0x460,_0x138050:0x48b,_0x4baf5b:0x459,_0x43354a:0x59f,_0x33728e:0x3f5,_0xe59dae:0x414,_0x38fa4c:0x413,_0x1872f4:0x443,_0x32c136:0x453,_0x26e80c:0x3d4,_0x825f9:0x3f7,_0x56fbc3:0x410,_0x1c33ca:0x43f},_0x5122fa={_0x474dc9:0x189,_0x52110a:0x5ac},_0x22873b={_0x352b8b:0xa6},_0x59a71d={'UdHJg':_0x23e567(_0x2d7324._0x442f0c,_0x2d7324._0x52d550,0x475,0x454)+_0x23e567(_0x2d7324._0x4128ea,0x3ee,_0x2d7324._0x573c2b,0x421)+'d','zdJNR':_0x23e567(_0x2d7324._0x2fa8a2,0x41e,0x43d,_0x2d7324._0x32b28e),'SkHZC':_0x23e567(0x46b,0x47f,0x44e,_0x2d7324._0x4b4d75),'RjCBT':function(_0x31f1c6,_0x2599c0){return _0x31f1c6===_0x2599c0;},'tPcVm':_0x774084(0x565,0x585,0x553,_0x2d7324._0x4f988e),'iKOSU':function(_0xeb3bac,_0x5c8d97){return _0xeb3bac(_0x5c8d97);}},_0x386eb9=await getTeams();function _0x774084(_0x48379d,_0x176923,_0x464993,_0x5e2132){return _0x43ec91(_0x48379d-0x11a,_0x176923-_0x22873b._0x352b8b,_0x176923-0x6fe,_0x48379d);}const _0x2ec489=_0x386eb9[_0x774084(_0x2d7324._0x2e7b37,_0x2d7324._0x18a2a5,_0x2d7324._0x2900ea,_0x2d7324._0x2ebc02)](_0x40ccc4=>_0x40ccc4['id']===_0x2bfb5f);if(!_0x2ec489){const _0x15cdc8=new Error(_0x23e567(_0x2d7324._0x13c553,0x418,_0x2d7324._0x49c09f,_0x2d7324._0x333bc7)+_0x2bfb5f+(_0x23e567(0x40f,0x44b,0x440,_0x2d7324._0x47fee0)+'d'));_0x15cdc8[_0x774084(0x58b,_0x2d7324._0x2893c6,0x53a,0x53f)]=_0x59a71d[_0x774084(0x52e,_0x2d7324._0x3f1863,_0x2d7324._0x215d43,_0x2d7324._0x4eeb4e)];throw _0x15cdc8;}const _0x1ac408=_0x2ec489[_0x774084(_0x2d7324._0x2e35ca,0x567,_0x2d7324._0x2900ea,0x570)]['indexOf'](_0x1e1258);function _0x23e567(_0x45baa7,_0x17625b,_0xdba5c5,_0x244ed2){return _0x43ec91(_0x45baa7-0x81,_0x17625b-_0x5122fa._0x474dc9,_0x244ed2-_0x5122fa._0x52110a,_0x17625b);}if(_0x59a71d['RjCBT'](_0x1ac408,-(-0x4*0x66b+-0x1247+0x1*0x2bf4))){if(_0x59a71d['tPcVm']!==_0x774084(0x571,_0x2d7324._0x7cfc33,_0x2d7324._0x251fa0,0x572)){if(!_0x44bad5[_0x23e567(_0x2d7324._0x27d23a,0x3dd,_0x2d7324._0x1d421d,_0x2d7324._0x31402a)]['trim']()){const _0x4cc209=new _0xe27486(_0x59a71d['UdHJg']);_0x4cc209[_0x23e567(_0x2d7324._0x5d7add,_0x2d7324._0x530dd9,0x438,_0x2d7324._0x260e35)]=_0x59a71d[_0x774084(_0x2d7324._0x30d757,_0x2d7324._0x39de4f,_0x2d7324._0x5c9f52,0x577)];throw _0x4cc209;}if(_0x13e33e[_0x774084(_0x2d7324._0x251cdb,0x570,0x540,0x57b)](_0xae47f6=>_0xae47f6[_0x774084(0x576,0x553,0x578,0x547)]===_0x14824b[_0x774084(0x55e,0x553,0x56b,0x524)])){const _0x297a31=new _0x12a382('Team\x20name\x20'+'\x27'+_0x47c43e[_0x774084(0x52e,0x553,0x543,_0x2d7324._0x49cbaa)]+(_0x23e567(_0x2d7324._0x532515,0x428,0x411,0x40f)+_0x23e567(0x418,0x448,0x461,0x448)));_0x297a31['code']=_0x774084(0x5da,0x5af,0x5d5,0x5c8);throw _0x297a31;}}else{const _0x2935ad=new Error(_0x23e567(0x42f,0x434,0x3f7,0x420)+_0x1e1258+('\x27\x20is\x20not\x20a'+_0x774084(0x581,0x55a,_0x2d7324._0x3cbdcb,_0x2d7324._0x4eb53c)+_0x23e567(_0x2d7324._0x378e39,0x433,_0x2d7324._0x138050,_0x2d7324._0x4baf5b)));_0x2935ad[_0x774084(_0x2d7324._0x43354a,0x56d,0x53c,0x556)]=_0x59a71d[_0x23e567(_0x2d7324._0x33728e,_0x2d7324._0xe59dae,0x400,_0x2d7324._0x38fa4c)];throw _0x2935ad;}}return _0x2ec489[_0x23e567(_0x2d7324._0x1872f4,0x43f,0x41f,0x415)][_0x23e567(0x43b,0x473,0x424,_0x2d7324._0x32c136)](_0x1ac408,0x65b+-0x5ff+-0x5b*0x1),_0x2ec489[_0x23e567(_0x2d7324._0x26e80c,_0x2d7324._0x825f9,_0x2d7324._0x56fbc3,0x3f8)]=new Date()['toISOStrin'+'g'](),await _0x59a71d[_0x23e567(0x419,0x43a,0x472,_0x2d7324._0x1c33ca)](saveTeams,_0x386eb9),_0x2ec489;}export function _resetCache(){teamsCache=null;}
|