@profoundlogic/coderflow-server 0.6.3 → 0.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/coder-server.js +1 -1
- package/dist/config.js +1 -1
- package/dist/lib/agent-keepalive.js +1 -1
- package/dist/lib/agent-models.js +1 -1
- package/dist/lib/api-keys.js +1 -1
- package/dist/lib/apiKeys.js +1 -1
- package/dist/lib/app-server-ports.js +1 -1
- package/dist/lib/auto-judge.js +1 -1
- package/dist/lib/automation-service.js +1 -1
- package/dist/lib/basic-auth.js +1 -1
- package/dist/lib/bindings.js +1 -1
- package/dist/lib/build-history.js +1 -1
- package/dist/lib/build-output-service.js +1 -1
- package/dist/lib/build-scheduler.js +1 -1
- package/dist/lib/build-service.js +1 -1
- package/dist/lib/ca-certificates.js +1 -1
- package/dist/lib/claude-oauth-refresh.js +1 -1
- package/dist/lib/cli/build.js +1 -1
- package/dist/lib/cli/cleanup-users.js +1 -1
- package/dist/lib/cli/config-command.js +1 -1
- package/dist/lib/cli/config.js +1 -1
- package/dist/lib/cli/create-user.js +1 -1
- package/dist/lib/cli/grant-admin.js +1 -1
- package/dist/lib/cli/init.js +1 -1
- package/dist/lib/cli/jira.js +1 -1
- package/dist/lib/cli/license.js +1 -1
- package/dist/lib/cli/list-roles.js +1 -1
- package/dist/lib/cli/list-users.js +1 -1
- package/dist/lib/cli/server-manager.js +1 -1
- package/dist/lib/cli/set-password.js +1 -1
- package/dist/lib/config-migration.js +1 -1
- package/dist/lib/container-credential-sync.js +1 -1
- package/dist/lib/container-tokens.js +1 -1
- package/dist/lib/data-dir.js +1 -1
- package/dist/lib/deployment-history.js +1 -1
- package/dist/lib/deployment-service.js +1 -1
- package/dist/lib/docker-utils.js +1 -1
- package/dist/lib/email.js +1 -1
- package/dist/lib/emailTemplates.js +1 -1
- package/dist/lib/entitlement.js +1 -1
- package/dist/lib/external-connections.js +1 -1
- package/dist/lib/fetch-utils.js +1 -1
- package/dist/lib/git-commit-details-route.js +1 -1
- package/dist/lib/git-history-diff-guardrails.js +1 -1
- package/dist/lib/git-provider-service.js +1 -1
- package/dist/lib/git-provider-setup/github-setup-handler.js +1 -1
- package/dist/lib/git-provider-setup/index.js +1 -1
- package/dist/lib/git-provider-setup/setup-factory.js +1 -1
- package/dist/lib/git-provider-setup/setup-interface.js +1 -1
- package/dist/lib/git-providers/azure-devops-provider.js +1 -1
- package/dist/lib/git-providers/github-app-provider.js +1 -1
- package/dist/lib/git-providers/index.js +1 -1
- package/dist/lib/git-providers/provider-factory.js +1 -1
- package/dist/lib/git-providers/provider-interface.js +1 -1
- package/dist/lib/github-urls.js +1 -1
- package/dist/lib/group-objective-linking.js +1 -1
- package/dist/lib/ibmi-sync.js +1 -1
- package/dist/lib/jira-client.js +1 -1
- package/dist/lib/judge-blinding.js +1 -1
- package/dist/lib/logger.js +1 -1
- package/dist/lib/migration-to-scoped-rbac.js +1 -1
- package/dist/lib/model-fetcher.js +1 -1
- package/dist/lib/notifications.js +1 -1
- package/dist/lib/objective-context.js +1 -1
- package/dist/lib/oidc-auth.js +1 -1
- package/dist/lib/oidc-device-flow.js +1 -1
- package/dist/lib/passwordTokens.js +1 -1
- package/dist/lib/permission-resolver.js +1 -1
- package/dist/lib/pin-cascade.js +1 -1
- package/dist/lib/provider-accounts.js +1 -1
- package/dist/lib/provider-oauth.js +1 -1
- package/dist/lib/provider-profile.js +1 -1
- package/dist/lib/provider-token-refresh.js +1 -1
- package/dist/lib/rbac-user-state.js +1 -1
- package/dist/lib/request-url.js +1 -1
- package/dist/lib/rewind.js +1 -1
- package/dist/lib/role-definitions.js +1 -1
- package/dist/lib/roles.js +1 -1
- package/dist/lib/secrets.js +1 -1
- package/dist/lib/setup-repo-git-auth.js +1 -1
- package/dist/lib/state-capture.js +1 -1
- package/dist/lib/static-files.js +1 -1
- package/dist/lib/task-name-format.js +1 -1
- package/dist/lib/task-name-generator.js +1 -1
- package/dist/lib/task-source-metadata.js +1 -1
- package/dist/lib/teams.js +1 -1
- package/dist/lib/user-git-oauth.js +1 -1
- package/dist/lib/user-git-tokens.js +1 -1
- package/dist/lib/users.js +1 -1
- package/dist/middleware/requireAuth.js +1 -1
- package/dist/middleware/requireInit.js +1 -1
- package/dist/middleware/requirePermission.js +1 -1
- package/dist/package.json +1 -1
- package/dist/playwright.config.js +1 -1
- package/dist/playwright.task-terminal.config.js +1 -1
- package/dist/routes/apiKeys.js +1 -1
- package/dist/routes/auth-oidc.js +1 -1
- package/dist/routes/auth.js +1 -1
- package/dist/routes/automations.js +1 -1
- package/dist/routes/bindings.js +1 -1
- package/dist/routes/build.js +1 -1
- package/dist/routes/containers.js +1 -1
- package/dist/routes/deploy-task.js +1 -1
- package/dist/routes/environment-management.js +1 -1
- package/dist/routes/environments.js +1 -1
- package/dist/routes/external-skills.js +1 -1
- package/dist/routes/git-credentials.js +1 -1
- package/dist/routes/git-oauth.js +1 -1
- package/dist/routes/git-provider-setup.js +1 -1
- package/dist/routes/health.js +1 -1
- package/dist/routes/jira.js +1 -1
- package/dist/routes/objective-management.js +1 -1
- package/dist/routes/password.js +1 -1
- package/dist/routes/prompt.js +1 -1
- package/dist/routes/provider-auth.js +1 -1
- package/dist/routes/qa.js +1 -1
- package/dist/routes/roles.js +1 -1
- package/dist/routes/settings.js +1 -1
- package/dist/routes/skill-management.js +1 -1
- package/dist/routes/skills.js +1 -1
- package/dist/routes/tasks.js +1 -1
- package/dist/routes/teams.js +1 -1
- package/dist/routes/templates.js +1 -1
- package/dist/routes/test-task.js +1 -1
- package/dist/routes/test.js +1 -1
- package/dist/routes/users.js +1 -1
- package/dist/routes/visualizations.js +1 -1
- package/dist/scripts/create-user.js +1 -1
- package/dist/scripts/migrate-config-to-data-dir.js +1 -1
- package/dist/start.js +1 -1
- package/dist/web-ui/public/activity-detail-modal.js +1 -1
- package/dist/web-ui/public/activity-feed.js +1 -1
- package/dist/web-ui/public/activity-formatters.js +1 -1
- package/dist/web-ui/public/agent-event-parser.js +1 -1
- package/dist/web-ui/public/app.js +1 -1
- package/dist/web-ui/public/approve-dialog.js +1 -1
- package/dist/web-ui/public/automation-links.js +1 -1
- package/dist/web-ui/public/automation-schedule.js +1 -1
- package/dist/web-ui/public/comments-widget.js +1 -1
- package/dist/web-ui/public/diff-utils.js +1 -1
- package/dist/web-ui/public/environments.js +1 -1
- package/dist/web-ui/public/feedback-widget.js +1 -1
- package/dist/web-ui/public/file-selection-tree.js +1 -1
- package/dist/web-ui/public/git-history-lazy-utils.js +1 -1
- package/dist/web-ui/public/git-history.js +1 -1
- package/dist/web-ui/public/git-status.js +1 -1
- package/dist/web-ui/public/ibmi-file-filter.js +1 -1
- package/dist/web-ui/public/index.js +1 -1
- package/dist/web-ui/public/login.js +1 -1
- package/dist/web-ui/public/markdown-editor.js +1 -1
- package/dist/web-ui/public/markdown-file-editor.js +1 -1
- package/dist/web-ui/public/modal-maximize.js +1 -1
- package/dist/web-ui/public/notifications.js +1 -1
- package/dist/web-ui/public/permissions.js +1 -1
- package/dist/web-ui/public/pr-dialog.js +1 -1
- package/dist/web-ui/public/roles.js +1 -1
- package/dist/web-ui/public/server-health.js +1 -1
- package/dist/web-ui/public/settings.js +1 -1
- package/dist/web-ui/public/setup-password.js +1 -1
- package/dist/web-ui/public/skills.js +1 -1
- package/dist/web-ui/public/sse-client.js +1 -1
- package/dist/web-ui/public/sse-shared-worker.js +1 -1
- package/dist/web-ui/public/task.js +1 -1
- package/dist/web-ui/public/teams.js +1 -1
- package/dist/web-ui/public/terminal.js +1 -1
- package/dist/web-ui/public/theme.js +1 -1
- package/dist/web-ui/public/users.js +1 -1
- package/dist/web-ui/public/variant-grouping.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x580440,_0x58fda8){const _0x3ee917={_0x2026b3:0x347,_0x463cfe:0x340,_0x38edd6:0x386,_0x5b6b93:0x37b,_0x17bb19:0x368,_0x180f7e:0x342,_0x468179:0x380,_0x47184b:0x34b,_0x4642e1:0x36d,_0x9a01ee:0x356,_0x27e601:0x295,_0x19efd9:0x29e,_0x6e3ed3:0x26a,_0x204c80:0x34c,_0xc9e02c:0x375,_0x1d1660:0x36e,_0x4b8db7:0x371,_0x738289:0x32b,_0x6bf659:0x28d,_0x21ee73:0x25d,_0x5a731d:0x27b},_0x592525={_0x13fc9d:0xa0},_0x469ca4=_0x580440();function _0x26621b(_0x4120c3,_0x2094be,_0x58e5da,_0x29c99a){return _0x1fae(_0x2094be-0x18e,_0x29c99a);}function _0x31608d(_0x89b7dc,_0x35308a,_0x2ffa77,_0x478924){return _0x1fae(_0x2ffa77-_0x592525._0x13fc9d,_0x89b7dc);}while(!![]){try{const _0x4253a4=-parseInt(_0x26621b(0x31c,_0x3ee917._0x2026b3,_0x3ee917._0x463cfe,0x34c))/(0x1838+0x1*-0x1fcf+0x798)*(-parseInt(_0x26621b(0x3a0,0x37e,_0x3ee917._0x38edd6,0x392))/(-0xf75*-0x1+0x107*-0x1c+0xd51))+parseInt(_0x26621b(_0x3ee917._0x5b6b93,_0x3ee917._0x17bb19,_0x3ee917._0x180f7e,_0x3ee917._0x468179))/(0x6*0x48b+0x208f+-0x3bce)+parseInt(_0x31608d(0x28b,0x277,0x282,0x2a8))/(0x1*0x1046+-0x2*0x1f+-0x1004)+parseInt(_0x26621b(_0x3ee917._0x47184b,0x363,0x358,0x35d))/(0xd48+0x19*0x8b+-0x1ad6)+-parseInt(_0x26621b(_0x3ee917._0x4642e1,0x34a,_0x3ee917._0x9a01ee,0x336))/(-0xc10*-0x1+-0x20fc*-0x1+-0x2d06)*(-parseInt(_0x31608d(_0x3ee917._0x27e601,_0x3ee917._0x19efd9,0x294,_0x3ee917._0x6e3ed3))/(-0x1cd1+-0x10*-0xd1+0xfc8))+-parseInt(_0x26621b(_0x3ee917._0x204c80,_0x3ee917._0xc9e02c,0x39a,0x34a))/(-0x2f1*-0xd+-0x61*0x1+0x10d*-0x24)*(parseInt(_0x26621b(0x376,0x350,_0x3ee917._0x1d1660,_0x3ee917._0x4b8db7))/(-0x8d2*-0x4+-0x24ff+-0x10*-0x1c))+-parseInt(_0x26621b(0x334,0x351,0x36a,_0x3ee917._0x738289))/(0x827*0x2+0x1930+-0x2974)*(parseInt(_0x31608d(_0x3ee917._0x6bf659,_0x3ee917._0x21ee73,_0x3ee917._0x5a731d,0x25a))/(0x256d+-0xed2+-0x1690));if(_0x4253a4===_0x58fda8)break;else _0x469ca4['push'](_0x469ca4['shift']());}catch(_0x218d2a){_0x469ca4['push'](_0x469ca4['shift']());}}}(_0x2847,-0xe6f71+-0x1a8af5+0x36a71c));import{promises as _0x345ecc}from'fs';import _0x9cd8e2 from'path';import _0x2ffbe1 from'crypto';function _0x17b0bc(_0x5c0f31,_0x3f134c,_0x530a4e,_0x581e58){const _0x2c8f5e={_0x4dd29d:0x226};return _0x1fae(_0x530a4e-_0x2c8f5e._0x4dd29d,_0x581e58);}function _0x2847(){const _0x1dafbc=['wuvMq0i','ndq1nZq1n2ntBK1xAG','ndmWzKvoExrZ','ChvZAa','C09uBhO','BgvUz3rO','DxnLCKLK','rNzYywu','CgL4AM0','uuTiv3q','CMfUzg9T','BxPjEM0','z3fQvgK','Dg9ju09tDhjPBG','C3fdyKC','Aez4zKK','vMzMvNa','BhrjsKi','ChrF','CMvJDxjZAxzL','odyZndCWnw5xsujVAG','y3jLyxrLzf9HDa','ue9SB1O','B2TLBNmUANnVBG','D3jPDgvgAwXL','oti4nty5q2r1zhjd','mta2mJu0nu5syvrmDW','CgjtCKq','wLHItuG','r1rRwwq','tMndtvG','C3rYAw5NAwz5','CgfZC3DVCMqTDa','mJGZota1nNjuv1fSsa','AfzfB28','zMLUza','CMfUzg9TqNL0zq','uvvMBhK','oeHmBu5vwq','rfDzr0q','EM50qwq','tKjZD1e','zMLUzeLUzgv4','CgfYC2u','wNHcrwG','C3vIC3rYAw5N','uvzhy2y','mJK3mZa2ogTbDeftzq','EfnOwvK','DxnLza','D1jVvLq','ndu0m1jRz0LtsW','DMDIC1e','u0XJzxm','u2HoEvO','r0rNq2O','Dg9Rzw5Z','Dg9Rzw5F','wvrOrxa','y2jZEgu','zu9Otgi','C0T1EgW','C2v0Dxa','q2TtwKW','Dg9tDhjPBMC','u0PRqKK','BM93','vgzWAgu','zMLSDgvY','DhLWzq','AKHLy3m','D0TQq0e','rvzbEvC','tgXuz24','Agv4','z2v0vgLTzq','zxHWAxjLC19HDa','BwTKAxi','mvjVtKXAyq','q29pANC','CMvHzezPBgu','mtiXmZjsB2LTuhq','D1HHBxa','BwfW','uLrxt3y','ru56C1O'];_0x2847=function(){return _0x1dafbc;};return _0x2847();}import{fileURLToPath}from'url';import{DATA_DIR}from'./data-dir.js';const __filename=fileURLToPath(import.meta.url),__dirname=_0x9cd8e2['dirname'](__filename),TOKENS_FILE=_0x9cd8e2['join'](DATA_DIR,_0x17b0bc(0x405,0x42f,0x407,0x3e0)+_0x17b0bc(0x3e8,0x3dc,0x3fe,0x3e7)),TOKEN_EXPIRY_MS=(-0x1e6b+-0xc2f*-0x1+0x1243)*(-0x10a2+0x177f+0x6c5*-0x1)*(-0x2590+-0x114e+0x371a*0x1)*(0x1*0x1903+0x6e9*0x1+-0x1fb0)*(0x169e+0xf70+-0x2226);let tokensCache=null,lastLoadTime=-0xc83+-0x1de5*0x1+0x2a68;const CACHE_TTL=0x16e8+-0x4*0x211+-0xabc;function _0x1fae(_0x338c62,_0x133102){_0x338c62=_0x338c62-(0x168e+0xefe+-0x23e0);const _0x51d57b=_0x2847();let _0x5db1cf=_0x51d57b[_0x338c62];if(_0x1fae['vZgGEC']===undefined){var _0x45078c=function(_0x1e7fba){const _0x38a25c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x11cdc5='',_0x3a1a19='';for(let _0x26d0ee=0x1820+0x7b*0x4b+-0x3c29*0x1,_0x1f815e,_0x17c684,_0x77c49a=-0x89*-0x29+-0x1*0x10d6+0x51b*-0x1;_0x17c684=_0x1e7fba['charAt'](_0x77c49a++);~_0x17c684&&(_0x1f815e=_0x26d0ee%(0x5*-0x4f3+-0x3a5*-0x2+0x1179)?_0x1f815e*(0xb82+-0x1446+-0x241*-0x4)+_0x17c684:_0x17c684,_0x26d0ee++%(-0xd*0x167+-0x11*0x25+-0x32*-0x6a))?_0x11cdc5+=String['fromCharCode'](-0x10bb*0x1+-0x1fc0*0x1+0x107e*0x3&_0x1f815e>>(-(-0x1783+0x22*0x115+0x1*-0xd45)*_0x26d0ee&-0x6e6*0x2+-0x1f15+-0xd1*-0x37)):-0x2*-0x871+0x1f6*0x13+0x4ec*-0xb){_0x17c684=_0x38a25c['indexOf'](_0x17c684);}for(let _0x37fa31=0xac*0x20+-0x6b3+-0xecd,_0x564946=_0x11cdc5['length'];_0x37fa31<_0x564946;_0x37fa31++){_0x3a1a19+='%'+('00'+_0x11cdc5['charCodeAt'](_0x37fa31)['toString'](-0xda3*-0x2+-0x1*0xfb1+-0xb85))['slice'](-(-0xfe*-0xd+0x1ad2+-0x27b6));}return decodeURIComponent(_0x3a1a19);};_0x1fae['CqnDQx']=_0x45078c,_0x1fae['oEampT']={},_0x1fae['vZgGEC']=!![];}const _0x1986a8=_0x51d57b[-0x400+-0x1*0x14ad+0x18ad],_0x43144c=_0x338c62+_0x1986a8,_0x541ac7=_0x1fae['oEampT'][_0x43144c];return!_0x541ac7?(_0x5db1cf=_0x1fae['CqnDQx'](_0x5db1cf),_0x1fae['oEampT'][_0x43144c]=_0x5db1cf):_0x5db1cf=_0x541ac7,_0x5db1cf;}async function loadTokens(){const _0x212a43={_0x23b65e:0x15a,_0x166649:0x17a,_0x2cb098:0x132,_0x54acb3:0x163,_0x37ed76:0x143,_0x25f7f2:0x160,_0x595e46:0x13d,_0x90b56f:0x179,_0x31f2ff:0x15d,_0x2d5a4f:0x1a8,_0x4d6bbb:0x1a7,_0x3eeb3a:0x193,_0x425378:0x172,_0x3d6a7c:0x1b1,_0x953bb9:0x17c,_0x231401:0x151,_0x412553:0x14e,_0x104cc3:0x194,_0xa511ee:0x16c,_0x5dfa80:0x144,_0x27d130:0x16e,_0x26a8a2:0x160},_0x19a3e0={_0x42c985:0xe7,_0x33d4c8:0x290},_0x52ad0c={_0x5ee64c:0x178};function _0x3a81f1(_0x35474b,_0x4c1d23,_0xecbd52,_0x724561){return _0x4dc3c3(_0x724561,_0xecbd52- -0x26,_0xecbd52-0x1e1,_0x724561-_0x52ad0c._0x5ee64c);}function _0x3ebf1c(_0x579558,_0x15779d,_0x48b5b3,_0x444331){return _0x17b0bc(_0x579558-_0x19a3e0._0x42c985,_0x15779d-0x11c,_0x15779d- -_0x19a3e0._0x33d4c8,_0x48b5b3);}const _0x3eae93={'wRoVT':function(_0x6e37c9,_0x3351f4){return _0x6e37c9<_0x3351f4;},'hVEoo':function(_0x33495a,_0x17d28e){return _0x33495a-_0x17d28e;},'pixjm':function(_0x21d4eb,_0x54c19e){return _0x21d4eb!==_0x54c19e;},'sKuxl':_0x3a81f1(-0x165,-_0x212a43._0x23b65e,-_0x212a43._0x166649,-0x159),'sOTlz':'utf8','Tfphe':function(_0x23bd84,_0x34f386){return _0x23bd84===_0x34f386;},'ZxBEh':'ENOENT','zntAd':function(_0x5bd808,_0x45512f){return _0x5bd808(_0x45512f);}},_0x20f3d6=Date[_0x3ebf1c(_0x212a43._0x2cb098,0x143,0x142,_0x212a43._0x54acb3)]();if(tokensCache&&_0x3eae93[_0x3a81f1(-_0x212a43._0x37ed76,-_0x212a43._0x25f7f2,-0x165,-_0x212a43._0x595e46)](_0x3eae93[_0x3ebf1c(0x19a,_0x212a43._0x90b56f,0x18d,_0x212a43._0x31f2ff)](_0x20f3d6,lastLoadTime),CACHE_TTL))return tokensCache;try{if(_0x3eae93[_0x3a81f1(-_0x212a43._0x2d5a4f,-_0x212a43._0x4d6bbb,-0x18f,-0x1ae)](_0x3ebf1c(0x185,_0x212a43._0x3eeb3a,0x1b5,_0x212a43._0x425378),_0x3eae93[_0x3ebf1c(_0x212a43._0x3d6a7c,0x194,0x1b4,0x1a5)])){const _0x4a64d7=await _0x345ecc[_0x3ebf1c(_0x212a43._0x953bb9,_0x212a43._0x231401,_0x212a43._0x412553,0x132)](TOKENS_FILE,_0x3eae93[_0x3a81f1(-0x17f,-0x1a3,-_0x212a43._0x3eeb3a,-_0x212a43._0x104cc3)]);return tokensCache=JSON[_0x3a81f1(-0x188,-0x15f,-_0x212a43._0xa511ee,-0x15e)](_0x4a64d7),lastLoadTime=_0x20f3d6,tokensCache;}else return!![];}catch(_0x181d95){if(_0x3eae93[_0x3ebf1c(0x151,_0x212a43._0x5dfa80,0x120,0x12d)](_0x181d95['code'],_0x3eae93[_0x3a81f1(-0x14d,-_0x212a43._0x27d130,-0x16b,-0x142)])){const _0x1d6769={};_0x1d6769['tokens']=[];const _0x1ef34b=_0x1d6769;return await _0x3eae93[_0x3a81f1(-_0x212a43._0x26a8a2,-0x151,-0x16f,-0x185)](saveTokens,_0x1ef34b),tokensCache=_0x1ef34b,lastLoadTime=_0x20f3d6,_0x1ef34b;}throw _0x181d95;}}async function saveTokens(_0x3a71f7){const _0x429625={_0x5a22a7:0xdb,_0x50ca5a:0xbd,_0x56d739:0xd5,_0x473fda:0xf7,_0x1026a8:0xd0,_0xbcf7f9:0x146,_0x853e3d:0x17b,_0x1686b5:0x118,_0x477c77:0x102,_0x532b40:0x12a,_0x177172:0x105},_0x2f3d91={_0x51c789:0x177,_0x98199b:0x5};function _0x150511(_0x5d12e8,_0x5f30bf,_0x444441,_0x4a54ae){return _0x4dc3c3(_0x444441,_0x5f30bf-0x83,_0x444441-0x183,_0x4a54ae-0x146);}function _0xe277f3(_0x1f5c5a,_0x3e2cb8,_0x2afd2a,_0x2c6c31){return _0x4dc3c3(_0x2afd2a,_0x2c6c31- -0xe,_0x2afd2a-_0x2f3d91._0x51c789,_0x2c6c31-_0x2f3d91._0x98199b);}const _0x35ef66={};_0x35ef66[_0x150511(-0xc8,-_0x429625._0x5a22a7,-_0x429625._0x50ca5a,-_0x429625._0x56d739)]=!![],await _0x345ecc[_0x150511(-0xf0,-_0x429625._0x473fda,-_0x429625._0x1026a8,-0x10c)](DATA_DIR,_0x35ef66),await _0x345ecc[_0xe277f3(-0x183,-_0x429625._0xbcf7f9,-0x165,-0x167)](TOKENS_FILE,JSON[_0xe277f3(-_0x429625._0x853e3d,-0x177,-0x156,-0x160)](_0x3a71f7,null,0xc6b+0x1*-0xfd+-0xb6c)),tokensCache=_0x3a71f7,lastLoadTime=Date[_0x150511(-_0x429625._0x1686b5,-_0x429625._0x477c77,-_0x429625._0x532b40,-_0x429625._0x177172)]();}function generateToken(){const _0x2534b2={_0x11b119:0x27b,_0x5e9ea6:0x283,_0xb8d164:0x364,_0x3db311:0x378,_0x55f4da:0x399,_0x5b1a80:0x29f,_0x147574:0x2bb,_0xad1a1d:0x2c6,_0x34e1cd:0x3b8,_0x7d648d:0x397,_0x2a93ac:0x3e4,_0x42e482:0x3e6,_0x31da5c:0x384,_0x2c2e4b:0x35b},_0x4aa202={_0x14e077:0x1dd},_0x5cda64={_0x363956:0xbd};function _0x3b03c7(_0x7871d9,_0x1f57ba,_0x3bf89b,_0xb92e70){return _0x17b0bc(_0x7871d9-0x32,_0x1f57ba-_0x5cda64._0x363956,_0x1f57ba- -0x63,_0x3bf89b);}const _0x302c19={};_0x302c19[_0x2ce1d6(0x27b,_0x2534b2._0x11b119,0x25f,_0x2534b2._0x5e9ea6)]=_0x3b03c7(_0x2534b2._0xb8d164,_0x2534b2._0x3db311,0x359,_0x2534b2._0x55f4da);const _0x39444=_0x302c19;function _0x2ce1d6(_0x4d1999,_0x58b1be,_0x4aec95,_0x53f1ab){return _0x17b0bc(_0x4d1999-0xc4,_0x58b1be-_0x4aa202._0x14e077,_0x4d1999- -0x16c,_0x4aec95);}const _0x4994cd=_0x2ffbe1[_0x2ce1d6(_0x2534b2._0x5b1a80,_0x2534b2._0x147574,_0x2534b2._0xad1a1d,0x29b)+'s'](0x14b*-0x19+-0xd*-0x196+0xbd5);return _0x3b03c7(_0x2534b2._0x34e1cd,0x396,_0x2534b2._0x7d648d,0x372)+_0x4994cd[_0x3b03c7(_0x2534b2._0x2a93ac,0x3c4,0x3a8,_0x2534b2._0x42e482)](_0x39444[_0x3b03c7(0x367,_0x2534b2._0x31da5c,_0x2534b2._0x2c2e4b,0x374)]);}function generateTokenId(){const _0xcde322={_0x9320de:0x68,_0x54713c:0xb2,_0x9dd0c2:0x89,_0xe9f0db:0x76,_0x53de72:0x48,_0x2c7e9e:0x3ef,_0x1b885a:0x403,_0x3e7378:0x5b,_0x42ec85:0x5c,_0x110335:0x3f,_0x3e2410:0x3c},_0x175a91={_0x6d909c:0xfc,_0x1574f1:0x1b7},_0x461968={_0x487604:0x19b};function _0x44eb95(_0x44bebf,_0xbb0c1a,_0x587f22,_0x1b7276){return _0x17b0bc(_0x44bebf-_0x461968._0x487604,_0xbb0c1a-0x155,_0x1b7276- -0x24,_0x44bebf);}function _0x3c6c65(_0x308e0d,_0x13034c,_0x84778b,_0x3cd79c){return _0x4dc3c3(_0x308e0d,_0x3cd79c-_0x175a91._0x6d909c,_0x84778b-_0x175a91._0x1574f1,_0x3cd79c-0x61);}const _0x1aeaf4=Date[_0x3c6c65(-_0xcde322._0x9320de,-_0xcde322._0x54713c,-0xac,-_0xcde322._0x9dd0c2)](),_0x4b492e=Math[_0x3c6c65(-_0xcde322._0xe9f0db,-_0xcde322._0x53de72,-0x80,-0x6b)]()[_0x44eb95(0x40c,0x3e7,_0xcde322._0x2c7e9e,_0xcde322._0x1b885a)](0xf9*-0x5+0x1*-0x7ef+0xcf0)[_0x3c6c65(-0x20,-_0xcde322._0x3e7378,-_0xcde322._0x42ec85,-0x48)](-0xf0d+0x643*0x2+0x289,0xe50+0x15e1+-0x2422);return _0x3c6c65(-0x33,-0x66,-_0xcde322._0x110335,-_0xcde322._0x3e2410)+_0x1aeaf4+'_'+_0x4b492e;}async function createPasswordToken(_0x5002ff,_0x5b983b=_0x17b0bc(0x435,0x40a,0x425,0x43c)){const _0x4a0cb5={_0x5787b3:0x93,_0x6e4d9b:0x6b,_0x779ac2:0x4a,_0x584078:0x67,_0x126f68:0x32,_0x3f3938:0x3e,_0x2d7e76:0x43,_0x517ab9:0x48,_0x2cd880:0x6d,_0x1128ac:0x60,_0x18749a:0x77,_0x5a1d41:0x28,_0x4dca20:0x31,_0x29aee5:0x5c,_0x3db143:0x45},_0x2e703c={_0x39a14d:0xb,_0x4b4abe:0x1d1,_0x31dbba:0x11},_0x3d02e5={_0x58f935:0x72};function _0x1dc938(_0x17a6d2,_0x2aaec7,_0x5c0ab0,_0x3fc655){return _0x4dc3c3(_0x17a6d2,_0x3fc655-0xf7,_0x5c0ab0-_0x3d02e5._0x58f935,_0x3fc655-0x8e);}function _0x5748ce(_0x18eaf0,_0xaf17d3,_0x20e691,_0x2269a6){return _0x4dc3c3(_0xaf17d3,_0x18eaf0- -_0x2e703c._0x39a14d,_0x20e691-_0x2e703c._0x4b4abe,_0x2269a6-_0x2e703c._0x31dbba);}const _0x3eaee9={'xShYY':function(_0x44c25e){return _0x44c25e();},'ZhBwL':function(_0x49975b,_0x9f6c51){return _0x49975b+_0x9f6c51;},'GDgCj':function(_0x46b52d){return _0x46b52d();},'SLces':function(_0x3f65d8,_0x51f4fc){return _0x3f65d8(_0x51f4fc);}},_0x162cd3=await _0x3eaee9['xShYY'](loadTokens),_0x71e3cc=new Date(),_0x272567=new Date(_0x3eaee9['ZhBwL'](_0x71e3cc[_0x1dc938(-_0x4a0cb5._0x5787b3,-0x97,-0x75,-0x85)](),TOKEN_EXPIRY_MS)),_0x4ede18={'id':_0x3eaee9[_0x1dc938(-_0x4a0cb5._0x6e4d9b,-0x59,-0x56,-_0x4a0cb5._0x779ac2)](generateTokenId),'token':_0x3eaee9[_0x1dc938(-_0x4a0cb5._0x584078,-_0x4a0cb5._0x126f68,-_0x4a0cb5._0x3f3938,-_0x4a0cb5._0x2d7e76)](generateToken),'userId':_0x5002ff,'type':_0x5b983b,'created_at':_0x71e3cc[_0x1dc938(-0x5a,-0x60,-_0x4a0cb5._0x517ab9,-_0x4a0cb5._0x2cd880)+'g'](),'expires_at':_0x272567['toISOStrin'+'g'](),'used':![],'used_at':null};return _0x162cd3['tokens'][_0x1dc938(-0x7c,-0x9d,-_0x4a0cb5._0x1128ac,-_0x4a0cb5._0x18749a)](_0x4ede18),await _0x3eaee9[_0x1dc938(-_0x4a0cb5._0x5a1d41,-_0x4a0cb5._0x4dca20,-_0x4a0cb5._0x29aee5,-_0x4a0cb5._0x3db143)](saveTokens,_0x162cd3),_0x4ede18;}async function validateToken(_0x130288){const _0x3ffc52={_0x5c3f19:0x1f0,_0x2552cb:0x1f5,_0x104f8b:0x20b,_0x3b09f8:0x6c,_0x366b9d:0x94,_0x4e9dff:0x261,_0x16530f:0x204,_0x41a7f9:0x238,_0x45e0b8:0xa1,_0x3d966d:0xb7,_0x476f7d:0xd3,_0x50951d:0x1fd,_0x18bf8d:0x220,_0x537451:0xb6,_0x3da304:0xc5,_0x38d40a:0xca,_0x508dc9:0xe9,_0xe0c95b:0x21a,_0x2443bb:0x24d,_0x2256eb:0x25c,_0x4f1474:0xee,_0x34cb90:0x1ec,_0x4dae9d:0x221,_0x380877:0x237,_0x2500e7:0x259},_0x5b0c9d={_0x10302e:0xd4},_0x1145c9={_0x575c26:0x21a,_0x436ce5:0xb2},_0x46feff={'SJkBI':function(_0x209e9d){return _0x209e9d();},'gqjTi':function(_0x24c436,_0x37d15f){return _0x24c436===_0x37d15f;},'sqCbG':'LYXsS','wXamp':_0x6a58ca(_0x3ffc52._0x5c3f19,0x1ff,_0x3ffc52._0x2552cb,_0x3ffc52._0x104f8b),'ShNyZ':function(_0x232b68,_0x410880){return _0x232b68>_0x410880;}},_0xcca520=await _0x46feff[_0x208601(0x6d,_0x3ffc52._0x3b09f8,_0x3ffc52._0x366b9d,0xbb)](loadTokens),_0x22747b=_0xcca520[_0x6a58ca(_0x3ffc52._0x4e9dff,0x239,0x22e,0x23d)]['find'](_0x13450f=>_0x13450f['token']===_0x130288);if(!_0x22747b){if(_0x46feff[_0x6a58ca(0x1f4,0x20d,_0x3ffc52._0x16530f,_0x3ffc52._0x41a7f9)](_0x46feff[_0x208601(0xa0,_0x3ffc52._0x45e0b8,_0x3ffc52._0x3d966d,_0x3ffc52._0x476f7d)],_0x46feff[_0x6a58ca(0x1fe,_0x3ffc52._0x50951d,_0x3ffc52._0x18bf8d,0x20c)])){const _0x3997bc=_0x2da0c1[_0x208601(0x7b,_0x3ffc52._0x537451,0x95,0x80)](),_0x137568=_0x396612[_0x208601(0xa0,_0x3ffc52._0x3da304,0xb3,0xae)]()[_0x208601(_0x3ffc52._0x38d40a,0x109,_0x3ffc52._0x508dc9,0xc0)](-0x5f7*-0x1+0x7*-0x353+0x1172)['substring'](0x2*0x2b9+-0x1*-0x934+-0x4*0x3a9,-0x1237*-0x1+0x1d33+-0x1c1*0x1b);return _0x6a58ca(_0x3ffc52._0xe0c95b,0x23a,_0x3ffc52._0x2443bb,_0x3ffc52._0x2256eb)+_0x3997bc+'_'+_0x137568;}else return null;}function _0x208601(_0x3d2d99,_0x1e36ca,_0x2bf75d,_0x56d31d){return _0x4dc3c3(_0x56d31d,_0x2bf75d-_0x1145c9._0x575c26,_0x2bf75d-_0x1145c9._0x436ce5,_0x56d31d-0x1ac);}if(_0x22747b[_0x208601(_0x3ffc52._0x4f1474,0xe1,0xda,0xcb)])return null;const _0x118ef4=new Date(),_0x2fbe06=new Date(_0x22747b[_0x6a58ca(0x1f0,0x1f7,0x1e9,_0x3ffc52._0x34cb90)]);function _0x6a58ca(_0x3bbb04,_0x4868ae,_0x51436d,_0x2b45c0){return _0x4dc3c3(_0x2b45c0,_0x4868ae-0x372,_0x51436d-_0x5b0c9d._0x10302e,_0x2b45c0-0xaf);}if(_0x46feff[_0x6a58ca(_0x3ffc52._0x4dae9d,_0x3ffc52._0x380877,0x238,_0x3ffc52._0x2500e7)](_0x118ef4,_0x2fbe06))return null;return _0x22747b;}function _0x4dc3c3(_0x3b1fbb,_0x5db111,_0x3d7e49,_0x5c585a){const _0x2e2ac3={_0x15b893:0x332};return _0x1fae(_0x5db111- -_0x2e2ac3._0x15b893,_0x3b1fbb);}async function markTokenAsUsed(_0x13ef48){const _0x5ecf15={_0x9ddbbf:0x290,_0x54c6ce:0x26e,_0x4cc964:0x266,_0x1ec920:0x2b1,_0x1083f0:0x252,_0x1c0572:0x248,_0x2da1ee:0x27c,_0x3fdce0:0x2b9,_0x294799:0x2bc,_0x594043:0x298,_0x28866e:0x27d,_0x22039d:0x287,_0x56d4c0:0x279,_0x24154a:0x2a8,_0x3885bc:0x2bb,_0x10005d:0x2b2,_0x5b14c8:0x292,_0x36b4f5:0x29f,_0x3dd3bd:0x28f,_0x2ee7f3:0x284,_0x4b7ab5:0x23d,_0x5e75f3:0x261,_0x5aabe2:0x252,_0x32d38b:0x260,_0x42e343:0x236},_0x3c8711={_0x49e586:0xe8},_0x52e7cb={_0x4022db:0x102,_0x365567:0x1a2},_0x2f7bcd={'NcCMX':function(_0x3fa398,_0xb9c263){return _0x3fa398<=_0xb9c263;},'ZXbMH':function(_0x57b36e,_0x297128){return _0x57b36e>_0x297128;},'POloZ':function(_0x119656){return _0x119656();},'QVGcf':function(_0x56cfc3,_0x25c3a8){return _0x56cfc3!==_0x25c3a8;},'vgbsQ':_0x3e09f8(_0x5ecf15._0x9ddbbf,_0x5ecf15._0x54c6ce,_0x5ecf15._0x4cc964,_0x5ecf15._0x1ec920),'wKjCA':function(_0x285d8a,_0xb3d0d5){return _0x285d8a(_0xb3d0d5);}};function _0x2e2ab2(_0x13fa40,_0x41d250,_0x1786fa,_0x2f29e1){return _0x17b0bc(_0x13fa40-_0x52e7cb._0x4022db,_0x41d250-0x195,_0x2f29e1- -_0x52e7cb._0x365567,_0x41d250);}const _0x35f0f9=await _0x2f7bcd[_0x2e2ab2(_0x5ecf15._0x1083f0,_0x5ecf15._0x1c0572,_0x5ecf15._0x2da1ee,0x25b)](loadTokens);function _0x3e09f8(_0x522798,_0x3d5262,_0x204aae,_0x2c7677){return _0x4dc3c3(_0x2c7677,_0x522798-0x3f2,_0x204aae-0x194,_0x2c7677-_0x3c8711._0x49e586);}const _0x424f18=_0x35f0f9[_0x3e09f8(_0x5ecf15._0x3fdce0,_0x5ecf15._0x294799,0x2bb,_0x5ecf15._0x594043)][_0x2e2ab2(_0x5ecf15._0x28866e,0x284,0x266,0x268)](_0x5d8942=>_0x5d8942['token']===_0x13ef48);if(!_0x424f18){if(_0x2f7bcd[_0x3e09f8(0x2af,_0x5ecf15._0x22039d,0x2d4,0x2d1)](_0x2f7bcd[_0x2e2ab2(0x293,0x27e,0x259,_0x5ecf15._0x56d4c0)],_0x2f7bcd[_0x3e09f8(0x2b5,_0x5ecf15._0x24154a,0x2ae,_0x5ecf15._0x3885bc)])){const _0x3dc3a1=new _0x16f130(_0x2ce203['created_at']),_0x10870b=new _0x285e8c(_0x5b7770['expires_at']);if(!_0x158204[_0x3e09f8(_0x5ecf15._0x10005d,_0x5ecf15._0x5b14c8,0x2c1,0x2c3)]&&_0x2f7bcd[_0x3e09f8(_0x5ecf15._0x36b4f5,_0x5ecf15._0x3dd3bd,_0x5ecf15._0x2ee7f3,0x28b)](_0x196fd8,_0x10870b))return!![];if(_0x2f7bcd[_0x2e2ab2(0x249,0x24f,_0x5ecf15._0x4b7ab5,_0x5ecf15._0x5e75f3)](_0x3dc3a1,_0x2cb109))return!![];return![];}else return![];}return _0x424f18['used']=!![],_0x424f18['used_at']=new Date()[_0x2e2ab2(0x227,0x22c,0x23d,_0x5ecf15._0x5aabe2)+'g'](),await _0x2f7bcd[_0x2e2ab2(_0x5ecf15._0x32d38b,0x21d,0x225,_0x5ecf15._0x42e343)](saveTokens,_0x35f0f9),!![];}async function getUserTokens(_0xa70cfa){const _0x37de85={_0x5c618f:0x574,_0x56191c:0x5a4,_0x722f76:0x5c3,_0x493e5c:0x59a,_0x3f5118:0x57a},_0xf0b52f={_0x41ecef:0x186},_0x7920c3={_0x129551:0x70e,_0x387338:0x163,_0x476b64:0xeb},_0x2828d6=await loadTokens();function _0x552ae2(_0x3c686b,_0x127996,_0x19a5f4,_0x106d2c){return _0x4dc3c3(_0x3c686b,_0x19a5f4-_0x7920c3._0x129551,_0x19a5f4-_0x7920c3._0x387338,_0x106d2c-_0x7920c3._0x476b64);}function _0x128dbd(_0x457481,_0x25d282,_0x3a35a1,_0xd1b621){return _0x17b0bc(_0x457481-0x5e,_0x25d282-0x119,_0xd1b621-_0xf0b52f._0x41ecef,_0x3a35a1);}return _0x2828d6['tokens'][_0x128dbd(_0x37de85._0x5c618f,0x560,0x537,0x55b)](_0x55e9f6=>_0x55e9f6[_0x552ae2(0x5a6,0x5c0,0x5a3,0x5c7)]===_0xa70cfa)[_0x552ae2(_0x37de85._0x56191c,_0x37de85._0x722f76,_0x37de85._0x493e5c,_0x37de85._0x3f5118)](_0x5ec18b=>({'id':_0x5ec18b['id'],'type':_0x5ec18b[_0x128dbd(0x53f,0x583,0x581,0x55c)],'created_at':_0x5ec18b[_0x552ae2(0x5d3,0x59f,0x5b2,0x5c8)],'expires_at':_0x5ec18b[_0x552ae2(0x57d,0x57e,0x593,0x5a7)],'used':_0x5ec18b[_0x552ae2(0x5dd,0x5ba,0x5ce,0x5e1)],'used_at':_0x5ec18b['used_at']}));}async function revokeToken(_0x5801cf){const _0x34dd49={_0x431661:0x30f,_0x4c44a6:0x317,_0x21915c:0x328,_0x4fbc69:0x42e,_0x35e8c6:0x414,_0x53f71e:0x422,_0x309913:0x40d,_0x488e3e:0x443,_0x3f9ccc:0x348,_0x141cee:0x355,_0x37c818:0x353,_0x39f177:0x34e,_0x2b453f:0x464,_0x33483e:0x448,_0x5c5804:0x48c,_0x3a9836:0x46d,_0x487298:0x42f,_0x35eae0:0x42a,_0x2283f7:0x423,_0x3a93d4:0x42d,_0x3c137a:0x423,_0x1e13f7:0x33f},_0x5c20d7={_0x131237:0x487,_0x4546f9:0x1d8},_0x31121a={_0x10c1c1:0x1ae},_0x45d9ec={'LlTgn':_0xba8824(_0x34dd49._0x431661,0x335,_0x34dd49._0x4c44a6,_0x34dd49._0x21915c),'XryMK':_0x2b6b21(_0x34dd49._0x4fbc69,_0x34dd49._0x35e8c6,_0x34dd49._0x53f71e,_0x34dd49._0x309913),'UBIWF':function(_0x4d44a7){return _0x4d44a7();},'VffVp':function(_0x221002,_0xced8af){return _0x221002===_0xced8af;},'IyNgl':function(_0x22fc44,_0x2822cc){return _0x22fc44!==_0x2822cc;},'jHecs':_0x2b6b21(0x445,0x436,0x444,_0x34dd49._0x488e3e),'NBswQ':_0xba8824(0x374,_0x34dd49._0x3f9ccc,0x368,_0x34dd49._0x141cee),'IGorK':function(_0x58b175,_0x234542){return _0x58b175(_0x234542);}},_0x30ce54=await _0x45d9ec['UBIWF'](loadTokens);function _0x2b6b21(_0x3f7527,_0x1efbfe,_0x2181e0,_0x1f09cb){return _0x4dc3c3(_0x2181e0,_0x3f7527-0x5ab,_0x2181e0-0xe3,_0x1f09cb-_0x31121a._0x10c1c1);}const _0xdaa35a=_0x30ce54[_0xba8824(0x35a,0x342,_0x34dd49._0x37c818,_0x34dd49._0x39f177)][_0x2b6b21(_0x34dd49._0x2b453f,_0x34dd49._0x33483e,0x46d,_0x34dd49._0x5c5804)](_0x168cf6=>_0x168cf6['id']===_0x5801cf);if(_0x45d9ec[_0x2b6b21(0x44a,0x420,_0x34dd49._0x3a9836,_0x34dd49._0x487298)](_0xdaa35a,-(-0x1ce9+0xd2e+0x3ef*0x4))){if(_0x45d9ec['IyNgl'](_0x45d9ec[_0x2b6b21(_0x34dd49._0x35eae0,_0x34dd49._0x2283f7,0x44a,0x41d)],_0x45d9ec[_0xba8824(0x33e,0x322,0x336,0x33f)]))return![];else{const _0x324c18=_0x1b23c8['randomByte'+'s'](0x2*0xe13+-0x17d4+-0x432);return _0x45d9ec[_0x2b6b21(_0x34dd49._0x3a93d4,_0x34dd49._0x3c137a,0x442,0x438)]+_0x324c18[_0xba8824(_0x34dd49._0x1e13f7,0x345,0x34f,0x356)](_0x45d9ec['XryMK']);}}_0x30ce54['tokens']['splice'](_0xdaa35a,-0x14cb+-0x900+-0x4*-0x773);function _0xba8824(_0x1af6d9,_0x14c442,_0xf69963,_0x4fad20){return _0x4dc3c3(_0xf69963,_0x4fad20-_0x5c20d7._0x131237,_0xf69963-_0x5c20d7._0x4546f9,_0x4fad20-0x1e8);}return await _0x45d9ec['IGorK'](saveTokens,_0x30ce54),!![];}async function cleanupOldTokens(){const _0x1775e6={_0x41571c:0x4ed,_0x299d15:0x4df,_0x479557:0x4d0,_0x55652c:0x282,_0x162640:0x276,_0x125033:0x4d7,_0x3c755c:0x271,_0x1f39c0:0x286,_0xd0eb73:0x2a9,_0x3f9cfb:0x280,_0x3f3f9b:0x2ad,_0x52e447:0x533,_0x4b6de0:0x52f,_0x384933:0x27a,_0xef55e:0x27c,_0x161b5c:0x545,_0x18851d:0x529,_0x45e04d:0x53d,_0x520989:0x526,_0x59f8e8:0x24c},_0x123d8a={_0x3794f3:0x79,_0x241fd8:0x65,_0x1eab98:0x298,_0x3d62a9:0x291,_0x481750:0x87,_0x5a8b5b:0x70,_0x108941:0x32},_0x9d504={_0x4a7e86:0x3e2},_0x474d52={_0x4f3537:0x66c,_0x2daf80:0x166};function _0x3219cb(_0x59f878,_0x25e60b,_0x2eb6ad,_0x25b1b3){return _0x4dc3c3(_0x25b1b3,_0x59f878-_0x474d52._0x4f3537,_0x2eb6ad-0x1b7,_0x25b1b3-_0x474d52._0x2daf80);}const _0x4607d0={'BVmuW':function(_0x438326,_0x3b9d34){return _0x438326<=_0x3b9d34;},'YThEp':function(_0x561c3e,_0x1a98f0){return _0x561c3e>_0x1a98f0;},'XKuAJ':function(_0x4ac86a,_0x191b4e){return _0x4ac86a===_0x191b4e;},'cbsxe':_0x3219cb(_0x1775e6._0x41571c,0x4f3,_0x1775e6._0x299d15,_0x1775e6._0x479557),'ltIJB':function(_0x3299bb){return _0x3299bb();},'DWYGD':function(_0x2510c6,_0x8327ea){return _0x2510c6*_0x8327ea;},'GBDBx':function(_0xed9bdf,_0x1d5776){return _0xed9bdf*_0x1d5776;},'pbSrD':function(_0x40916a,_0x1906df){return _0x40916a-_0x1906df;},'WmbOt':function(_0x4c5bbc,_0x109076){return _0x4c5bbc>_0x109076;},'ENzsZ':function(_0x5255e1,_0x6ff85b){return _0x5255e1(_0x6ff85b);}},_0x460a2c=await _0x4607d0[_0x5ee790(0x262,_0x1775e6._0x55652c,_0x1775e6._0x162640,0x25d)](loadTokens),_0x34ac95=new Date(),_0x342187=new Date(_0x34ac95[_0x3219cb(0x4f0,0x4ee,0x4c5,_0x1775e6._0x125033)]()-_0x4607d0[_0x5ee790(0x2bd,0x298,_0x1775e6._0x3c755c,_0x1775e6._0x1f39c0)](_0x4607d0[_0x5ee790(_0x1775e6._0xd0eb73,0x298,_0x1775e6._0x3f9cfb,_0x1775e6._0x3f3f9b)](_0x4607d0['GBDBx'](-0x1ccf*-0x1+-0x1497+0x40d*-0x2,-0x1*-0x8f8+-0xe04+0x524),-0xb59*-0x3+-0x222+-0xa8f*0x3)*(-0x202*-0x2+-0x337+0x91*-0x1),-0x1*0x1aff+-0x2125+-0x400c*-0x1));function _0x5ee790(_0x3309ca,_0x5e4829,_0x3e651d,_0x28b9b4){return _0x4dc3c3(_0x3e651d,_0x5e4829-_0x9d504._0x4a7e86,_0x3e651d-0x195,_0x28b9b4-0x1c1);}const _0x2d4a78=_0x460a2c[_0x3219cb(_0x1775e6._0x52e447,0x539,0x546,_0x1775e6._0x4b6de0)][_0x5ee790(_0x1775e6._0x384933,_0x1775e6._0x162640,0x25e,_0x1775e6._0xef55e)];_0x460a2c[_0x3219cb(0x533,0x50e,_0x1775e6._0x161b5c,_0x1775e6._0x18851d)]=_0x460a2c[_0x5ee790(0x28b,0x2a9,0x291,0x2a4)][_0x5ee790(0x243,0x25f,0x249,0x262)](_0x43bb3c=>{const _0x2a7d72={_0x20dbe8:0x589,_0x5c8990:0x0},_0x225c69={_0x5b76a3:0x2d};function _0x236dbb(_0x4f00b4,_0x42be57,_0x399d6b,_0x3b3093){return _0x3219cb(_0x4f00b4- -0x29d,_0x42be57-0x49,_0x399d6b-_0x225c69._0x5b76a3,_0x3b3093);}const _0x5ce18b=new Date(_0x43bb3c[_0x3ffa59(-_0x123d8a._0x3794f3,-0x75,-_0x123d8a._0x241fd8,-0x51)]);function _0x3ffa59(_0x34f583,_0x2d1b9d,_0x3fa538,_0x229ffd){return _0x3219cb(_0x34f583- -_0x2a7d72._0x20dbe8,_0x2d1b9d-_0x2a7d72._0x5c8990,_0x3fa538-0x1e7,_0x3fa538);}const _0x40c053=new Date(_0x43bb3c['expires_at']);if(!_0x43bb3c['used']&&_0x4607d0['BVmuW'](_0x34ac95,_0x40c053))return!![];if(_0x4607d0[_0x236dbb(_0x123d8a._0x1eab98,_0x123d8a._0x3d62a9,0x2a2,0x27c)](_0x5ce18b,_0x342187))return _0x4607d0['XKuAJ'](_0x3ffa59(-_0x123d8a._0x481750,-_0x123d8a._0x5a8b5b,-0x95,-0xaf),_0x4607d0[_0x3ffa59(-0x53,-0x6f,-0x79,-_0x123d8a._0x108941)])?null:!![];return![];});const _0x324ccc=_0x4607d0[_0x3219cb(0x516,_0x1775e6._0x45e04d,0x513,_0x1775e6._0x520989)](_0x2d4a78,_0x460a2c['tokens']['length']);return _0x4607d0['WmbOt'](_0x324ccc,0x131+0x986+-0xab7)&&await _0x4607d0[_0x5ee790(0x27b,0x270,_0x1775e6._0x59f8e8,0x28a)](saveTokens,_0x460a2c),_0x324ccc;}async function revokeTokensByUser(_0x5e5d1c){const _0x4350c9={_0x38ecc8:0x12b,_0x4f0f13:0x11a,_0x4d4bb5:0x15b,_0x59315a:0x153,_0x440280:0x118,_0x4315bd:0x155,_0x1697cf:0x171,_0x2ca8a0:0x193,_0x362fd3:0x186,_0x1e1219:0x271,_0x26d57b:0x288,_0x14d4ce:0x267,_0x56bdcc:0x14a},_0x490843={_0x16cc75:0x65},_0x32a72a={_0x3a87b1:0x89,_0x5723a5:0x1ed},_0xaf01c3={'eHsJf':function(_0x3042a2){return _0x3042a2();},'CoOjw':function(_0x3b7554,_0x469e50){return _0x3b7554-_0x469e50;},'QUfly':function(_0x2c27f9,_0x289e92){return _0x2c27f9>_0x289e92;},'QKHWt':function(_0x5262fc,_0x2acd66){return _0x5262fc(_0x2acd66);}};function _0x1be6d9(_0x3a7ace,_0xbde648,_0x1e7ff1,_0x1fc3c5){return _0x17b0bc(_0x3a7ace-_0x32a72a._0x3a87b1,_0xbde648-_0x32a72a._0x5723a5,_0x1e7ff1- -0x557,_0x3a7ace);}function _0x30fe10(_0x48ddbd,_0x323317,_0x1c0626,_0x7b8aa0){return _0x4dc3c3(_0x7b8aa0,_0x323317-0x3bd,_0x1c0626-0x16b,_0x7b8aa0-_0x490843._0x16cc75);}const _0x2e982d=await _0xaf01c3['eHsJf'](loadTokens),_0x12e5f4=_0x2e982d[_0x1be6d9(-_0x4350c9._0x38ecc8,-_0x4350c9._0x4f0f13,-0x138,-_0x4350c9._0x4d4bb5)]['length'];_0x2e982d[_0x1be6d9(-_0x4350c9._0x59315a,-0x136,-0x138,-0x122)]=_0x2e982d[_0x1be6d9(-_0x4350c9._0x440280,-_0x4350c9._0x4315bd,-0x138,-0x11e)]['filter'](_0xccbaee=>_0xccbaee['userId']!==_0x5e5d1c);const _0x7d44c8=_0xaf01c3[_0x1be6d9(-_0x4350c9._0x1697cf,-0x16f,-0x177,-_0x4350c9._0x2ca8a0)](_0x12e5f4,_0x2e982d['tokens'][_0x1be6d9(-_0x4350c9._0x362fd3,-0x176,-0x16b,-0x181)]);return _0xaf01c3[_0x30fe10(0x248,_0x4350c9._0x1e1219,_0x4350c9._0x26d57b,_0x4350c9._0x14d4ce)](_0x7d44c8,0x27*0xce+-0x3*-0x651+0xf*-0x35b)&&await _0xaf01c3[_0x1be6d9(-0x14d,-0x15c,-0x167,-_0x4350c9._0x56bdcc)](saveTokens,_0x2e982d),_0x7d44c8;}export{createPasswordToken,validateToken,markTokenAsUsed,getUserTokens,revokeToken,revokeTokensByUser,cleanupOldTokens};
|
|
1
|
+
function _0x9b9c(_0x1641b0,_0x1649de){_0x1641b0=_0x1641b0-(-0x2122+0x2062+0x4*0xad);const _0x55a507=_0x262c();let _0x47c07c=_0x55a507[_0x1641b0];if(_0x9b9c['BeOUif']===undefined){var _0x3fa970=function(_0x375ae8){const _0xc1c346='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x45d48e='',_0xd6f769='';for(let _0x42fc3a=-0x8*0x13d+-0x324*0xb+0x2c74,_0x557a6f,_0xfee273,_0x54b989=-0x8fd+0x1a07*-0x1+-0x2eb*-0xc;_0xfee273=_0x375ae8['charAt'](_0x54b989++);~_0xfee273&&(_0x557a6f=_0x42fc3a%(-0x9*-0x425+-0xa52+-0xd*0x213)?_0x557a6f*(-0x131c+0xcae+-0x357*-0x2)+_0xfee273:_0xfee273,_0x42fc3a++%(-0x246*-0xa+-0x3fd*0x9+0x1*0xd2d))?_0x45d48e+=String['fromCharCode'](0x19bd+0x1e33+-0x36f1&_0x557a6f>>(-(0x7b5*-0x1+0x1231+-0xa7a)*_0x42fc3a&-0x1bb7+-0x1*-0xd91+0x4*0x38b)):-0x595+-0x647+0xb*0x114){_0xfee273=_0xc1c346['indexOf'](_0xfee273);}for(let _0x316ea3=-0x1a02*0x1+-0x11c*0x1d+0x3a2e,_0x3ce395=_0x45d48e['length'];_0x316ea3<_0x3ce395;_0x316ea3++){_0xd6f769+='%'+('00'+_0x45d48e['charCodeAt'](_0x316ea3)['toString'](-0x1*-0xf29+-0xd*-0x4f+-0x98e*0x2))['slice'](-(-0x17de+0x18a3+-0x41*0x3));}return decodeURIComponent(_0xd6f769);};_0x9b9c['poIkVW']=_0x3fa970,_0x9b9c['sMangU']={},_0x9b9c['BeOUif']=!![];}const _0x42648f=_0x55a507[-0x2*-0x9fd+-0xe35*-0x2+-0x3064],_0x49a3b9=_0x1641b0+_0x42648f,_0x36e1f7=_0x9b9c['sMangU'][_0x49a3b9];return!_0x36e1f7?(_0x47c07c=_0x9b9c['poIkVW'](_0x47c07c),_0x9b9c['sMangU'][_0x49a3b9]=_0x47c07c):_0x47c07c=_0x36e1f7,_0x47c07c;}(function(_0x1111a1,_0x3e11fe){const _0x5cedc3={_0x5e10d2:0x404,_0x8cf008:0x415,_0x4eecb3:0x3ee,_0x5e4ec0:0x44,_0x5e9b4b:0x31,_0x11522c:0x418,_0x2bc328:0x428,_0x1d10b1:0x416,_0x3bcd06:0x43e,_0x22412f:0x3f2,_0x3df7b1:0x434,_0x302399:0x437,_0x2e9be1:0x3e5,_0x31ee2e:0x413,_0x5007b9:0x2c,_0x10d21b:0x27,_0x31ff59:0x10,_0x1e6e7d:0x2c,_0x5569e1:0x42f,_0x2264b9:0x42b,_0x449c82:0x4a,_0x551e89:0x50,_0x416677:0x3fb,_0x34a943:0x406},_0x1c1e49={_0x1d162b:0x200},_0x22722a={_0x25951e:0x255};function _0x7caa0f(_0x3079d2,_0x11d1a6,_0x52ef4a,_0x1988ba){return _0x9b9c(_0x1988ba- -_0x22722a._0x25951e,_0x52ef4a);}const _0xeaaa9b=_0x1111a1();function _0x2fc92c(_0x46f86e,_0x51734d,_0x250d4f,_0x40be70){return _0x9b9c(_0x40be70-_0x1c1e49._0x1d162b,_0x250d4f);}while(!![]){try{const _0x1ce9db=-parseInt(_0x2fc92c(_0x5cedc3._0x5e10d2,_0x5cedc3._0x8cf008,_0x5cedc3._0x4eecb3,0x3fb))/(-0x1333*-0x2+-0x1*0x86e+-0x1df7)*(parseInt(_0x7caa0f(-0x4b,-_0x5cedc3._0x5e4ec0,-_0x5cedc3._0x5e9b4b,-0x4b))/(0x169a+0xa3*-0x25+0x1*0xf7))+parseInt(_0x2fc92c(0x450,0x438,_0x5cedc3._0x11522c,_0x5cedc3._0x2bc328))/(-0x17*-0x67+0x121+-0xa5f)*(-parseInt(_0x2fc92c(_0x5cedc3._0x1d10b1,_0x5cedc3._0x3bcd06,0x43d,0x43c))/(0x1*0x257d+-0xd01+-0x1878))+parseInt(_0x2fc92c(_0x5cedc3._0x22412f,0x425,_0x5cedc3._0x3df7b1,0x411))/(0x1*0xc1a+0x12*0x115+0xa85*-0x3)*(-parseInt(_0x2fc92c(_0x5cedc3._0x302399,0x401,_0x5cedc3._0x3df7b1,0x421))/(0x14ed+0x21c6+-0x36ad))+-parseInt(_0x2fc92c(0x418,_0x5cedc3._0x2e9be1,0x403,0x3f7))/(0x163c*0x1+0x1894+0xcb*-0x3b)*(parseInt(_0x2fc92c(0x42b,0x3fb,0x3f4,_0x5cedc3._0x31ee2e))/(-0x1*0x94e+-0x4c0*-0x5+0x9*-0x19a))+parseInt(_0x7caa0f(-_0x5cedc3._0x5007b9,-0x17,-0x2f,-_0x5cedc3._0x10d21b))/(-0xe07*0x1+-0x24f2*-0x1+-0xb71*0x2)+parseInt(_0x7caa0f(-0x2a,-0x1f,-_0x5cedc3._0x31ff59,-_0x5cedc3._0x1e6e7d))/(0x1d14+0x1cf7+-0x3a01)*(parseInt(_0x2fc92c(0x437,_0x5cedc3._0x5569e1,_0x5cedc3._0x2264b9,0x436))/(0x9cd+0x7d6+0x1198*-0x1))+-parseInt(_0x7caa0f(-_0x5cedc3._0x449c82,-_0x5cedc3._0x551e89,-0x3b,-0x3a))/(0x112b+-0x2224*0x1+0x1105)*(-parseInt(_0x2fc92c(_0x5cedc3._0x416677,0x3f4,0x425,_0x5cedc3._0x34a943))/(-0x2*0x902+-0x10f*-0x17+-0x648));if(_0x1ce9db===_0x3e11fe)break;else _0xeaaa9b['push'](_0xeaaa9b['shift']());}catch(_0x1264b1){_0xeaaa9b['push'](_0xeaaa9b['shift']());}}}(_0x262c,-0x7efaf+-0x278b3+-0xcb*-0x1a69));import{promises as _0xced0d3}from'fs';import _0x443437 from'path';function _0x6319a3(_0x47bf1a,_0x8b087f,_0x43864e,_0x160637){return _0x9b9c(_0x43864e-0x110,_0x47bf1a);}import _0x3dec34 from'crypto';import{fileURLToPath}from'url';import{DATA_DIR}from'./data-dir.js';const __filename=fileURLToPath(import.meta.url),__dirname=_0x443437['dirname'](__filename),TOKENS_FILE=_0x443437['join'](DATA_DIR,_0x6319a3(0x2f0,0x30a,0x30c,0x31e)+_0x6319a3(0x34c,0x314,0x330,0x316)),TOKEN_EXPIRY_MS=(-0xea6+-0x5fb*0x2+0x1aa3)*(0x1bc*-0xf+0xaf6+-0x115*-0xe)*(-0x1bc6+-0x5b1+0x21b3*0x1)*(0xa49+0xcc2*-0x1+0x2b5)*(0x2*-0xc8c+0x1f8a+-0x28a);let tokensCache=null,lastLoadTime=0x139d*0x1+0xd3b+-0x20d8;const CACHE_TTL=0x83b*0x3+0x1583+-0x1526*0x2;async function loadTokens(){const _0x1db157={_0x16c5b8:0x3b5,_0x5e7d02:0x37c,_0x5ba899:0x363,_0x1805b4:0x1cb,_0x2725a6:0x1f2,_0x356fd1:0x1b9,_0x45b9ce:0x1cd,_0xb3890d:0x1b6,_0x383f5d:0x1d7,_0xd77342:0x3ac,_0x4423e0:0x1ac,_0x45c147:0x3b6,_0xc31dbe:0x37c,_0x228a73:0x1c3,_0x41aa29:0x1ca,_0x55cb55:0x1e5,_0x467705:0x1b4,_0x2df8ab:0x1c8,_0x5a5dbe:0x395,_0x17beb3:0x38e},_0x2688f1={_0x37194b:0x92,_0x8eab56:0x127},_0x1990e8={_0x3949a3:0x25,_0x3078d0:0x5d},_0x54274e={};function _0x2d90ec(_0x1d9878,_0x4db550,_0x5c2a9f,_0x1a5ce5){return _0x6319a3(_0x1d9878,_0x4db550-_0x1990e8._0x3949a3,_0x5c2a9f-_0x1990e8._0x3078d0,_0x1a5ce5-0x13c);}function _0x98b648(_0x560ce9,_0x4ccad1,_0x361aef,_0x1e0dbf){return _0x6319a3(_0x1e0dbf,_0x4ccad1-_0x2688f1._0x37194b,_0x560ce9- -0x154,_0x1e0dbf-_0x2688f1._0x8eab56);}_0x54274e[_0x2d90ec(_0x1db157._0x16c5b8,0x39b,0x3a2,_0x1db157._0x5e7d02)]=function(_0x24d7f6,_0x40a521){return _0x24d7f6-_0x40a521;},_0x54274e[_0x2d90ec(0x36f,0x36d,0x383,_0x1db157._0x5ba899)]=function(_0x3487e5,_0x41c192){return _0x3487e5===_0x41c192;},_0x54274e['BIuRL']=_0x98b648(_0x1db157._0x1805b4,0x1d6,_0x1db157._0x2725a6,0x1c4),_0x54274e[_0x2d90ec(0x3b7,0x392,0x3ae,0x3b9)]='utf8';const _0x21f22c=_0x54274e,_0x26614b=Date[_0x98b648(_0x1db157._0x356fd1,_0x1db157._0x45b9ce,_0x1db157._0xb3890d,_0x1db157._0x383f5d)]();if(tokensCache&&_0x21f22c[_0x2d90ec(0x381,_0x1db157._0xd77342,0x3a2,0x3a5)](_0x26614b,lastLoadTime)<CACHE_TTL)return tokensCache;try{if(_0x21f22c[_0x98b648(0x1d2,0x1eb,_0x1db157._0x4423e0,0x1ea)](_0x21f22c[_0x2d90ec(0x3b6,0x3c9,0x3ad,_0x1db157._0x45c147)],_0x2d90ec(0x357,0x37a,_0x1db157._0xc31dbe,0x368))){const _0x8a3690=await _0xced0d3[_0x98b648(_0x1db157._0x228a73,_0x1db157._0x41aa29,0x1dd,_0x1db157._0x55cb55)](TOKENS_FILE,_0x21f22c['ycexJ']);return tokensCache=JSON[_0x98b648(_0x1db157._0x467705,0x190,0x1d3,0x1ac)](_0x8a3690),lastLoadTime=_0x26614b,tokensCache;}else return![];}catch(_0x41a41f){if(_0x21f22c[_0x98b648(0x1d2,0x1f0,0x1d9,_0x1db157._0x2df8ab)](_0x41a41f['code'],_0x2d90ec(_0x1db157._0x5a5dbe,0x383,0x370,0x37e))){const _0xeba81={};_0xeba81[_0x2d90ec(_0x1db157._0x17beb3,0x381,0x366,0x35a)]=[];const _0x197a7c=_0xeba81;return await saveTokens(_0x197a7c),tokensCache=_0x197a7c,lastLoadTime=_0x26614b,_0x197a7c;}throw _0x41a41f;}}async function saveTokens(_0x38ecd0){const _0x21ffa={_0x446809:0x3e8,_0xe94e57:0x3f4,_0x4069d0:0x3b0,_0x2c6a7c:0x3b9},_0x1ba05c={_0x67266b:0xe4},_0x1a3a57={_0x3d661e:0x1ec,_0x5c22ea:0x2c7,_0x30d2ed:0x48},_0x41dc33={};_0x41dc33['recursive']=!![];function _0x5d7bf8(_0x355b48,_0x6420cb,_0x157673,_0x187d04){return _0x6319a3(_0x157673,_0x6420cb-_0x1a3a57._0x3d661e,_0x187d04-_0x1a3a57._0x5c22ea,_0x187d04-_0x1a3a57._0x30d2ed);}await _0xced0d3[_0x383eff(0x3ee,_0x21ffa._0x446809,0x400,_0x21ffa._0xe94e57)](DATA_DIR,_0x41dc33),await _0xced0d3[_0x383eff(0x3f8,0x3f5,0x3e5,0x408)](TOKENS_FILE,JSON['stringify'](_0x38ecd0,null,0x1b5+-0x1*-0x1623+-0x1b*0xe2));function _0x383eff(_0x2819ae,_0x116c14,_0x1c45c4,_0x206cb6){return _0x6319a3(_0x2819ae,_0x116c14-0xa8,_0x116c14-0xac,_0x206cb6-_0x1ba05c._0x67266b);}tokensCache=_0x38ecd0,lastLoadTime=Date[_0x383eff(_0x21ffa._0x4069d0,_0x21ffa._0x2c6a7c,0x3c0,0x3a5)]();}function generateToken(){const _0xa5ced5={_0x343c6c:0xfe,_0x3f51fc:0x119,_0x451e21:0x115,_0x5225b4:0x136,_0x473473:0x137,_0x256cea:0x142,_0x6143:0x134,_0x5f2b80:0xf3,_0x329af5:0x116,_0xa70eea:0x10d,_0x50101d:0x10b,_0x510a7c:0x146,_0x3def49:0x110,_0x5a2d4b:0x141,_0x3cbffc:0x120,_0x471cc0:0xda,_0x48489b:0xe3},_0x18d0cb={_0x577612:0x1eb,_0x1b39b8:0x11c},_0x25a119={_0x5e74bc:0x1b6,_0x17d7f2:0x10a},_0x542bce={};_0x542bce[_0x590f26(-_0xa5ced5._0x343c6c,-0x123,-0x13a,-0x116)]=function(_0x49ccb8,_0x20e493){return _0x49ccb8+_0x20e493;},_0x542bce['fzmZr']=_0x590f26(-0x115,-_0xa5ced5._0x3f51fc,-_0xa5ced5._0x451e21,-_0xa5ced5._0x5225b4),_0x542bce['oFKbL']='hex';const _0x180019=_0x542bce;function _0x590f26(_0x4bd2c6,_0x246507,_0x4df333,_0x3bcb05){return _0x6319a3(_0x4df333,_0x246507-_0x25a119._0x5e74bc,_0x3bcb05- -0x448,_0x3bcb05-_0x25a119._0x17d7f2);}const _0x52a99b=_0x3dec34[_0x590f26(-_0xa5ced5._0x473473,-0x11d,-_0xa5ced5._0x256cea,-_0xa5ced5._0x6143)+'s'](-0x1031+0x1*-0x1feb+0x303c);function _0xedd815(_0x989439,_0x5e71d0,_0x403cd2,_0x1b496e){return _0x6319a3(_0x989439,_0x5e71d0-_0x18d0cb._0x577612,_0x403cd2-_0x18d0cb._0x1b39b8,_0x1b496e-0xdd);}return _0x180019[_0x590f26(-0x132,-_0xa5ced5._0x3f51fc,-_0xa5ced5._0x5f2b80,-_0xa5ced5._0x329af5)](_0x180019[_0x590f26(-0x128,-0x10b,-_0xa5ced5._0xa70eea,-_0xa5ced5._0x50101d)],_0x52a99b[_0x590f26(-_0xa5ced5._0x510a7c,-_0xa5ced5._0x3def49,-_0xa5ced5._0x5a2d4b,-_0xa5ced5._0x3cbffc)](_0x180019[_0x590f26(-_0xa5ced5._0x471cc0,-_0xa5ced5._0xa70eea,-_0xa5ced5._0x48489b,-0x101)]));}function _0x541baf(_0x269b86,_0x4e936c,_0x35bfc7,_0x47b87b){return _0x9b9c(_0x35bfc7- -0x2ce,_0x269b86);}function generateTokenId(){const _0xc0141={_0x128e1b:0x585,_0x45435f:0x5a0,_0x5f071d:0x178,_0x1b46f1:0x15b,_0x204009:0x571,_0x226d4b:0x5ab,_0x2cd988:0x58d},_0x24f946={_0x4b81b8:0x279,_0x35c965:0x70},_0x4a124f={_0x3c23bc:0xbf};function _0x296214(_0x224745,_0x1df4f5,_0x5f120f,_0x1a7c71){return _0x541baf(_0x1a7c71,_0x1df4f5-0x187,_0x224745- -_0x4a124f._0x3c23bc,_0x1a7c71-0x24);}const _0x4967fe=Date[_0x4603c0(0x56a,_0xc0141._0x128e1b,0x586,_0xc0141._0x45435f)](),_0x1cb493=Math[_0x296214(-_0xc0141._0x5f071d,-0x153,-0x162,-0x16c)]()[_0x296214(-0x175,-0x167,-_0xc0141._0x1b46f1,-0x162)](-0x1*-0x79+-0x218d*0x1+0x427*0x8)[_0x296214(-0x15c,-0x137,-0x14a,-0x137)](0x86*-0xd+0x4cd+0x203,0x1*0x1d7d+0x26*-0xae+-0x39a);function _0x4603c0(_0x45a337,_0x368f77,_0x49beee,_0x5181f4){return _0x6319a3(_0x5181f4,_0x368f77-0xe8,_0x49beee-_0x24f946._0x4b81b8,_0x5181f4-_0x24f946._0x35c965);}return _0x4603c0(_0xc0141._0x204009,_0xc0141._0x226d4b,0x591,_0xc0141._0x2cd988)+_0x4967fe+'_'+_0x1cb493;}async function createPasswordToken(_0x2b4d95,_0x45caec=_0x541baf(-0xc9,-0xcf,-0xd8,-0xcb)){const _0x2eb3f6={_0x348867:0xba,_0x549ecc:0x9d,_0x584a97:0x8d,_0x39f8c3:0xa6,_0x47343d:0xce,_0x117a44:0x8c,_0x47df48:0xa1,_0x367416:0x331,_0x2648a1:0x317,_0x21dc79:0x30a,_0x51b388:0xaf},_0x51bccb={_0x1ce2fa:0xc4,_0x4905b5:0xa},_0x6da1bb={_0x11d080:0x1b9},_0x675c8f={'yNWoN':function(_0x4e62ee){return _0x4e62ee();},'hKMlB':function(_0x2ee031,_0x52088c){return _0x2ee031(_0x52088c);}};function _0x5c0e0a(_0x4a6e52,_0x595568,_0x2d204d,_0x45848d){return _0x6319a3(_0x2d204d,_0x595568-_0x6da1bb._0x11d080,_0x595568- -0x3c8,_0x45848d-0x180);}const _0x1a891f=await loadTokens(),_0x38af94=new Date(),_0x377249=new Date(_0x38af94[_0x5c0e0a(-0xbb,-_0x2eb3f6._0x348867,-0xa9,-_0x2eb3f6._0x549ecc)]()+TOKEN_EXPIRY_MS),_0x45ffc4={'id':generateTokenId(),'token':_0x675c8f[_0x5c0e0a(-_0x2eb3f6._0x584a97,-_0x2eb3f6._0x39f8c3,-_0x2eb3f6._0x47343d,-0xb1)](generateToken),'userId':_0x2b4d95,'type':_0x45caec,'created_at':_0x38af94[_0x5c0e0a(-_0x2eb3f6._0x117a44,-_0x2eb3f6._0x47df48,-_0x2eb3f6._0x584a97,-0x81)+'g'](),'expires_at':_0x377249[_0x4ad47b(0x344,_0x2eb3f6._0x367416,_0x2eb3f6._0x2648a1,0x349)+'g'](),'used':![],'used_at':null};_0x1a891f['tokens'][_0x4ad47b(0x32e,0x319,_0x2eb3f6._0x21dc79,0x32e)](_0x45ffc4);function _0x4ad47b(_0x1b457e,_0x2ccbca,_0x1f64a7,_0x4c507e){return _0x6319a3(_0x4c507e,_0x2ccbca-_0x51bccb._0x1ce2fa,_0x2ccbca-_0x51bccb._0x4905b5,_0x4c507e-0x11c);}return await _0x675c8f[_0x5c0e0a(-0xb7,-_0x2eb3f6._0x51b388,-0xbc,-0xb0)](saveTokens,_0x1a891f),_0x45ffc4;}function _0x262c(){const _0x3a125d=['z2v0vgLTzq','ChvZAa','A2vnEKS','sen1B0q','ChrF','ru5pru5u','CMfUzg9TqNL0zq','uMTTEwS','mtC3mdq3sM5kzhP4','CMvHzezPBgu','Dg9Rzw5F','AeTnBei','mtm3nfrkyxz2yG','sLzmBwi','A1n6sNC','u0zSuNq','DxnLCKLK','vw5IEhu','DhLWzq','mZK3nZG2nxfruNn6Dq','Eu5xB04','mte2mtiWExb4qNPY','yurnEMu','CMfUzg9T','rNnfuhm','Dg9ju09tDhjPBG','Dg9tDhjPBMC','BgvUz3rO','r0LhBMe','mJGYmhDnEvffrq','zMLUzeLUzgv4','v2zQDMe','t2vMDKG','BwfW','B2TLBNmUANnVBG','nMfMCLfUta','yxzRDNe','vwLvquG','uxDTr2q','zxHWAxjLC19HDa','Dg9Rzw4','zMDXDuC','m2Dru1P2tW','ndb2uLHgv2S','uhbfu28','rw1StvG','BwTKAxi','zNPTwNi','nda3mJCZnfzQsMLUsa','sez3u3G','Agv4','C3vIC3rYAw5N','uhn4A2u','re9rr04','y3jLyxrLzf9HDa','AfDHCuC','ntKWmJq5q3vtrfPi','B0zlyKW','tLnjCK8','D3jPDgvgAwXL','DxnLzf9HDa','Ae1wENy','ndq5mJiWohnSAhHoEq','yKXpAhu','AhDlq0G','zMLSDgvY','qKL1uKW','EwnLEeO','DxnLza','sxLKzuG','DMPgzxK','C2v0Dxa','ntzZA3ztr3K','CgfYC2u','Dg9Rzw5Z','zwrYANG','mty2m3bPzxDUzW','CgfZC3DVCMqTDa','BM93'];_0x262c=function(){return _0x3a125d;};return _0x262c();}async function validateToken(_0x102d3c){const _0x34af40={_0x87679d:0x325,_0x55d497:0x324,_0x183ef8:0xd7,_0x4532a2:0x88,_0x15682d:0x8c,_0x49c26d:0x7b,_0x25f11a:0x356,_0x302726:0x350,_0x2ea283:0xa7,_0x501eb5:0x81,_0x5bf2b6:0x9b,_0x1daa9f:0x304,_0x698414:0x32c,_0x33fd02:0x340},_0x2ed2c0={_0x240e70:0x1bc,_0x2965f0:0x3d0,_0x364c25:0xe4},_0x269ed7={_0xfbc11c:0x1e8},_0x28d445={'vjFey':function(_0x3e53dc,_0x50aadd){return _0x3e53dc<=_0x50aadd;},'HCuoD':function(_0x50fb9c,_0x1d52fe){return _0x50fb9c>_0x1d52fe;},'Qizsh':function(_0x168e91){return _0x168e91();},'kSzJw':'Lwvsx'};function _0x2abb27(_0x2c2c38,_0x3926fc,_0x3dcfd6,_0x2259e6){return _0x541baf(_0x2259e6,_0x3926fc-_0x269ed7._0xfbc11c,_0x3dcfd6-0x3f9,_0x2259e6-0x1c8);}const _0x100cc3=await _0x28d445['Qizsh'](loadTokens),_0x400f2d=_0x100cc3[_0x2abb27(0x304,_0x34af40._0x87679d,_0x34af40._0x55d497,0x318)]['find'](_0x23e27b=>_0x23e27b[_0x2abb27(0x340,0x341,0x351,0x32f)]===_0x102d3c);if(!_0x400f2d){if(_0x28d445[_0x1010d4(-_0x34af40._0x183ef8,-0xce,-0xb4,-0xd5)]!==_0x28d445['kSzJw']){const _0x5ad847=new _0x3f29d9(_0x1c959d[_0x1010d4(-0xb3,-_0x34af40._0x4532a2,-_0x34af40._0x15682d,-_0x34af40._0x49c26d)]),_0x55b631=new _0x9fd327(_0x4a46b3[_0x2abb27(0x377,_0x34af40._0x25f11a,_0x34af40._0x302726,0x374)]);if(!_0x2dc51b['used']&&_0x28d445[_0x2abb27(0x305,0x32e,0x320,0x345)](_0x4b6f36,_0x55b631))return!![];if(_0x28d445['HCuoD'](_0x5ad847,_0x3e1357))return!![];return![];}else return null;}if(_0x400f2d['used'])return null;const _0x72eef5=new Date(),_0x1a91be=new Date(_0x400f2d[_0x1010d4(-_0x34af40._0x2ea283,-_0x34af40._0x501eb5,-_0x34af40._0x5bf2b6,-0x83)]);function _0x1010d4(_0x365a1e,_0x1c7244,_0x325a1,_0x33443d){return _0x6319a3(_0x365a1e,_0x1c7244-_0x2ed2c0._0x240e70,_0x325a1- -_0x2ed2c0._0x2965f0,_0x33443d-_0x2ed2c0._0x364c25);}if(_0x28d445[_0x2abb27(_0x34af40._0x1daa9f,0x321,_0x34af40._0x698414,_0x34af40._0x33fd02)](_0x72eef5,_0x1a91be))return null;return _0x400f2d;}async function markTokenAsUsed(_0x196190){const _0x4d4f65={_0x3f324f:0x265,_0x5512be:0x26a,_0x26c40c:0x288,_0x2815ef:0x3f7,_0x172efe:0x3fb,_0x528aee:0x3ef,_0x51dd48:0x411,_0x3482b3:0x40d,_0x338994:0x271,_0x4e8935:0x27e,_0x4f64d2:0x449,_0x1181f3:0x3f2},_0xcece73={_0x2e5415:0xff,_0x27d095:0x3},_0x369e9d={_0x206e6e:0x16e};function _0x59c51e(_0xeb152f,_0x2bd479,_0x1ee6d7,_0x372089){return _0x6319a3(_0xeb152f,_0x2bd479-_0x369e9d._0x206e6e,_0x1ee6d7- -0xd4,_0x372089-0xf0);}const _0x21b8b7={'txOMl':function(_0x569def){return _0x569def();},'OefvH':_0x59c51e(_0x4d4f65._0x3f324f,_0x4d4f65._0x5512be,0x27a,_0x4d4f65._0x26c40c),'JVLmb':function(_0x3072a4,_0x1cc3e8){return _0x3072a4(_0x1cc3e8);}};function _0x2547d8(_0x4788de,_0x52e2c4,_0x37e569,_0x3f8e2f){return _0x6319a3(_0x52e2c4,_0x52e2c4-0x19c,_0x4788de-_0xcece73._0x2e5415,_0x3f8e2f-_0xcece73._0x27d095);}const _0xd07db7=await _0x21b8b7['txOMl'](loadTokens),_0x2fea48=_0xd07db7[_0x2547d8(0x408,_0x4d4f65._0x2815ef,_0x4d4f65._0x172efe,_0x4d4f65._0x528aee)]['find'](_0x23234f=>_0x23234f[_0x2547d8(0x435,0x41e,0x43b,0x42f)]===_0x196190);if(!_0x2fea48)return _0x59c51e(0x29c,0x291,0x27a,0x279)!==_0x21b8b7[_0x2547d8(0x42d,_0x4d4f65._0x51dd48,0x42b,_0x4d4f65._0x3482b3)]?!![]:![];return _0x2fea48[_0x59c51e(0x2a3,_0x4d4f65._0x338994,_0x4d4f65._0x4e8935,0x26b)]=!![],_0x2fea48[_0x2547d8(_0x4d4f65._0x4f64d2,0x437,0x465,0x42b)]=new Date()[_0x59c51e(0x277,0x230,0x253,0x26e)+'g'](),await _0x21b8b7[_0x2547d8(0x41a,0x43b,0x41b,_0x4d4f65._0x1181f3)](saveTokens,_0xd07db7),!![];}async function getUserTokens(_0x981ec6){const _0x4d49a7={_0x502c14:0xa3,_0x40f84d:0x87,_0x5385b1:0x83,_0x12271a:0xc1,_0x5e24a9:0x83},_0x4a0576={_0x1fdd8c:0x13d},_0x577529={_0x2baddb:0x12d};function _0x327480(_0x41236e,_0x140cdf,_0x15cb3e,_0x163c94){return _0x6319a3(_0x140cdf,_0x140cdf-0x191,_0x41236e- -0x2ac,_0x163c94-_0x577529._0x2baddb);}function _0x24cb33(_0x2e0e4b,_0x10a564,_0x128d36,_0x52e514){return _0x541baf(_0x10a564,_0x10a564-0x183,_0x52e514-0x355,_0x52e514-_0x4a0576._0x1fdd8c);}const _0x1d7a63=await loadTokens();return _0x1d7a63['tokens'][_0x327480(_0x4d49a7._0x502c14,_0x4d49a7._0x40f84d,_0x4d49a7._0x5385b1,_0x4d49a7._0x12271a)](_0x25f4e0=>_0x25f4e0[_0x24cb33(0x29c,0x27d,0x274,0x295)]===_0x981ec6)[_0x327480(_0x4d49a7._0x5e24a9,0x67,0x72,0xaa)](_0x132f54=>({'id':_0x132f54['id'],'type':_0x132f54[_0x24cb33(0x28b,0x2bc,0x2a4,0x297)],'created_at':_0x132f54[_0x24cb33(0x2c2,0x2c3,0x2cd,0x2bb)],'expires_at':_0x132f54[_0x327480(0x89,0x79,0x7b,0xa8)],'used':_0x132f54[_0x327480(0xa6,0x7f,0x98,0x8f)],'used_at':_0x132f54[_0x24cb33(0x2e5,0x29b,0x2c9,0x2c1)]}));}async function revokeToken(_0x4191bd){const _0x448ef5={_0x58d8af:0x1a1,_0x341651:0x1aa,_0x1d1514:0x18e,_0x4213cb:0x1a4,_0x26dbdd:0x1a9,_0x526a70:0x16a,_0x37aabb:0x16e,_0x46dc40:0x1fc,_0x27fce1:0x214,_0x1054be:0x20b,_0x203243:0x214,_0x809305:0x18f,_0x4ecc71:0x183},_0x2ddbf4={'keMzK':function(_0x653548,_0x5d549f){return _0x653548!==_0x5d549f;},'aDMze':_0x1ddb49(0x1b3,_0x448ef5._0x58d8af,0x17b,0x195),'DOQGN':_0x1ddb49(_0x448ef5._0x341651,_0x448ef5._0x1d1514,_0x448ef5._0x4213cb,_0x448ef5._0x26dbdd),'SFlRt':function(_0x4c02df,_0x2d0330){return _0x4c02df(_0x2d0330);}},_0x37e8cc=await loadTokens(),_0x3d205f=_0x37e8cc[_0x1ddb49(0x170,0x160,0x191,_0x448ef5._0x526a70)][_0x1ddb49(0x187,_0x448ef5._0x37aabb,0x171,0x18d)](_0x558e40=>_0x558e40['id']===_0x4191bd);if(_0x3d205f===-(0xf36*-0x1+-0x61d+0x1554))return _0x2ddbf4[_0x4f4a77(0x200,_0x448ef5._0x46dc40,0x1fe,0x1fd)](_0x2ddbf4[_0x4f4a77(_0x448ef5._0x27fce1,0x1fc,_0x448ef5._0x1054be,_0x448ef5._0x203243)],_0x2ddbf4[_0x4f4a77(0x233,0x22b,0x220,0x211)])?![]:!![];function _0x4f4a77(_0x3a42a0,_0x788029,_0x46e69f,_0x59df77){return _0x541baf(_0x788029,_0x788029-0x19b,_0x3a42a0-0x2ce,_0x59df77-0x8b);}function _0x1ddb49(_0x1e5695,_0x115a01,_0x2656df,_0x531f08){return _0x541baf(_0x1e5695,_0x115a01-0x1e,_0x531f08-0x23f,_0x531f08-0x3f);}return _0x37e8cc['tokens']['splice'](_0x3d205f,0xddb+0x23cf+0x31a9*-0x1),await _0x2ddbf4[_0x1ddb49(_0x448ef5._0x809305,0x191,_0x448ef5._0x4ecc71,0x17e)](saveTokens,_0x37e8cc),!![];}async function cleanupOldTokens(){const _0x57fecd={_0x2da589:0x448,_0x21a500:0x451,_0x4d4c33:0x42e,_0x3f1bab:0x15f,_0x70d587:0x174,_0x331aab:0x16c,_0x49cd41:0x1b5,_0x1451b5:0x160,_0x49fd6c:0x14a,_0x53ae9f:0x14b,_0xcede19:0x18b,_0x1c6687:0x192,_0x542fcc:0x42b,_0x4bbe52:0x448,_0x62a31f:0x46e,_0x43a8dd:0x178,_0x323890:0x150,_0x218a0f:0x15b,_0xb6426d:0x482,_0xde0f62:0x49d,_0x5316a6:0x487,_0x6a150a:0x46c,_0x5d0844:0x448,_0x3583c3:0x457,_0x1df8a6:0x468,_0x30a84b:0x19b,_0x23e158:0x1b1,_0x488e16:0x18d,_0x385c27:0x165,_0x5a4958:0x49f,_0x292e11:0x481},_0x5709ee={_0x5d1279:0x51d},_0x19c13f={_0x1fecb3:0x591,_0xf33233:0x5a5,_0x295f72:0x5b8,_0xe3c216:0x1ab,_0x28a8f7:0x57c,_0x499284:0x577,_0xf89f31:0x576,_0x2ee2d7:0x585,_0xb74361:0x566,_0x4c5f39:0x561,_0x334599:0x586,_0x2224b7:0x580,_0x44b3a0:0x5bc,_0x559554:0x5a9,_0x58af82:0x5b0,_0x4ca52f:0x1be,_0x590e0a:0x1ae,_0x40797a:0x1a8,_0x3777c7:0x18c},_0x4e3ded={_0x14f5f3:0xc4,_0x34321b:0x110},_0x440ba2={'TiPAa':function(_0x467e73,_0xc9167d){return _0x467e73+_0xc9167d;},'fgquG':_0xe9e81e(0x478,_0x57fecd._0x2da589,_0x57fecd._0x21a500,_0x57fecd._0x4d4c33),'hMVzv':_0x22df44(-0x15d,-_0x57fecd._0x3f1bab,-0x149,-_0x57fecd._0x70d587),'EmlMX':function(_0x4b7ceb,_0x23ea19){return _0x4b7ceb<=_0x23ea19;},'Bytxi':function(_0x3d8bc0,_0x2954e5){return _0x3d8bc0===_0x2954e5;},'edrjx':'IKODE','MQaXx':function(_0x1635c8){return _0x1635c8();},'HFwSx':function(_0x319575,_0x480d21){return _0x319575*_0x480d21;},'bLOhu':function(_0x1bf933,_0x12bbd6){return _0x1bf933-_0x12bbd6;},'AcCbR':function(_0x2eebdb,_0x336e45){return _0x2eebdb>_0x336e45;},'IydeH':function(_0x595485,_0xc5edaa){return _0x595485!==_0xc5edaa;},'Psxke':function(_0x3c3962,_0x1fab80){return _0x3c3962(_0x1fab80);}},_0x4a4844=await _0x440ba2['MQaXx'](loadTokens),_0x3e7338=new Date();function _0x22df44(_0x39bb24,_0xc0043e,_0x1d01d1,_0xea2db7){return _0x541baf(_0x1d01d1,_0xc0043e-_0x4e3ded._0x14f5f3,_0xc0043e- -0xc1,_0xea2db7-_0x4e3ded._0x34321b);}const _0x26dc46=new Date(_0x3e7338[_0x22df44(-_0x57fecd._0x331aab,-0x191,-0x1a4,-_0x57fecd._0x49cd41)]()-_0x440ba2[_0x22df44(-0x183,-_0x57fecd._0x1451b5,-_0x57fecd._0x49fd6c,-0x145)](_0x440ba2[_0x22df44(-_0x57fecd._0x53ae9f,-0x160,-0x17d,-0x154)](_0x440ba2['HFwSx'](_0x440ba2['HFwSx'](0x1539+-0x1f7c+0xa61,0x2*0x11ad+-0x1*0x1ff7+-0x3*0x119),0x16a5+0x2643+-0x4*0xf2b),0x6b2+-0xf1f+0x8a9),-0x106b+0xad2+0x981)),_0x3716d1=_0x4a4844[_0xe9e81e(0x425,0x445,0x448,0x440)][_0x22df44(-_0x57fecd._0xcede19,-0x176,-0x15e,-_0x57fecd._0x1c6687)];_0x4a4844[_0xe9e81e(0x433,_0x57fecd._0x542fcc,_0x57fecd._0x4bbe52,_0x57fecd._0x62a31f)]=_0x4a4844['tokens'][_0x22df44(-_0x57fecd._0x43a8dd,-_0x57fecd._0x323890,-_0x57fecd._0x218a0f,-0x16c)](_0x147d95=>{const _0x53ec94={_0x950b33:0x1ec,_0x516394:0x711,_0x18708c:0x7};function _0x56a4f1(_0x3111ca,_0x335d2c,_0x4b2971,_0x5d202f){return _0x22df44(_0x3111ca-0x138,_0x5d202f- -0x38,_0x4b2971,_0x5d202f-0x7c);}function _0x5790bb(_0x1cf58a,_0x3f970b,_0x436309,_0x1b82da){return _0x22df44(_0x1cf58a-_0x53ec94._0x950b33,_0x436309-_0x53ec94._0x516394,_0x1b82da,_0x1b82da-_0x53ec94._0x18708c);}if('UiUAH'!==_0x5790bb(_0x19c13f._0x1fecb3,0x5c8,_0x19c13f._0xf33233,0x57f))return null;else{const _0x40ff2a=new Date(_0x147d95['created_at']),_0xfcb79d=new Date(_0x147d95['expires_at']);if(!_0x147d95[_0x5790bb(0x5d9,_0x19c13f._0x295f72,0x5c4,0x5c5)]&&_0x440ba2[_0x56a4f1(-0x175,-0x18c,-_0x19c13f._0xe3c216,-0x19c)](_0x3e7338,_0xfcb79d))return!![];if(_0x40ff2a>_0x26dc46){if(_0x440ba2['Bytxi'](_0x440ba2[_0x5790bb(0x578,0x5a3,_0x19c13f._0x28a8f7,0x568)],_0x440ba2[_0x5790bb(_0x19c13f._0x499284,_0x19c13f._0xf89f31,0x57c,_0x19c13f._0x2ee2d7)]))return!![];else{const _0x29bbab=_0x24b7a0[_0x5790bb(_0x19c13f._0xb74361,_0x19c13f._0x4c5f39,_0x19c13f._0x334599,_0x19c13f._0x2224b7)+'s'](-0xd79*0x2+-0x20d1+0x3be3);return _0x440ba2['TiPAa'](_0x440ba2[_0x5790bb(_0x19c13f._0x44b3a0,0x58b,_0x19c13f._0x559554,_0x19c13f._0x58af82)],_0x29bbab[_0x56a4f1(-0x1a4,-_0x19c13f._0x4ca52f,-0x1af,-0x1af)](_0x440ba2[_0x56a4f1(-_0x19c13f._0x590e0a,-_0x19c13f._0x40797a,-0x194,-_0x19c13f._0x3777c7)]));}}return![];}});const _0x5a1656=_0x440ba2[_0xe9e81e(_0x57fecd._0xb6426d,_0x57fecd._0xde0f62,0x48c,_0x57fecd._0x5316a6)](_0x3716d1,_0x4a4844[_0xe9e81e(0x46e,_0x57fecd._0x6a150a,_0x57fecd._0x5d0844,_0x57fecd._0x3583c3)][_0xe9e81e(0x48a,0x441,_0x57fecd._0x1df8a6,0x440)]);if(_0x440ba2['AcCbR'](_0x5a1656,-0x18*0x4+-0x1*0xb1b+0x1*0xb7b)){if(_0x440ba2[_0x22df44(-0x186,-_0x57fecd._0x30a84b,-_0x57fecd._0x23e158,-_0x57fecd._0x488e16)](_0x22df44(-0x179,-_0x57fecd._0x385c27,-0x18d,-0x145),'PpESo'))return null;else await _0x440ba2[_0xe9e81e(0x495,_0x57fecd._0x5a4958,_0x57fecd._0x292e11,0x491)](saveTokens,_0x4a4844);}function _0xe9e81e(_0x1f6325,_0xad3369,_0x37d8a0,_0x51ed71){return _0x541baf(_0xad3369,_0xad3369-0x118,_0x37d8a0-_0x5709ee._0x5d1279,_0x51ed71-0x85);}return _0x5a1656;}async function revokeTokensByUser(_0x396a02){const _0x19dc4c={_0x5b14b8:0xb5,_0x3a3929:0xae,_0x17194a:0x9e,_0x54d1bb:0xe2,_0x18ef61:0xda,_0x428f49:0xe5,_0x3a64b9:0xf6,_0xb1066f:0xdc,_0x4bcb79:0xc6,_0xc46bd7:0xde,_0x3d2bd5:0xb2,_0x33260a:0x9d,_0x450e33:0x77,_0x278ba5:0x108,_0x3a48a0:0xfe,_0x59a094:0x105,_0x17bd80:0xff,_0x49b639:0xd3,_0x1babcb:0xe6,_0x17e532:0xbf},_0xdd7e45={_0x4e7ce6:0x35,_0x467464:0x181},_0x47608b={_0x147c65:0x171},_0x443edd={'GIGna':function(_0x50fb18){return _0x50fb18();},'Rkmyk':function(_0x1b06c3,_0x3b375f){return _0x1b06c3-_0x3b375f;},'Wfjva':function(_0x51c83b,_0x1604e8){return _0x51c83b>_0x1604e8;},'ekgSC':function(_0x324e8a,_0xb49286){return _0x324e8a(_0xb49286);}};function _0x10e7e9(_0x4d8586,_0x30dcde,_0x25b381,_0x1f70cc){return _0x541baf(_0x1f70cc,_0x30dcde-_0x47608b._0x147c65,_0x25b381- -0xe,_0x1f70cc-0x18d);}const _0x259fb3=await _0x443edd[_0x10e7e9(-_0x19dc4c._0x5b14b8,-_0x19dc4c._0x3a3929,-0xc2,-_0x19dc4c._0x17194a)](loadTokens),_0x5ad38c=_0x259fb3[_0x10e7e9(-0xfe,-0xcb,-0xe3,-_0x19dc4c._0x54d1bb)][_0x25ee56(-0xee,-_0x19dc4c._0x18ef61,-0xea,-0xd0)];_0x259fb3[_0x10e7e9(-_0x19dc4c._0x428f49,-_0x19dc4c._0x3a64b9,-0xe3,-_0x19dc4c._0xb1066f)]=_0x259fb3[_0x10e7e9(-_0x19dc4c._0x4bcb79,-0xf0,-0xe3,-_0x19dc4c._0xc46bd7)][_0x10e7e9(-_0x19dc4c._0x3d2bd5,-0x7f,-_0x19dc4c._0x33260a,-_0x19dc4c._0x450e33)](_0x370fe5=>_0x370fe5[_0x10e7e9(-0xe4,-0xe2,-0xce,-0xf4)]!==_0x396a02);function _0x25ee56(_0x2ab8e2,_0x5714f6,_0xb15664,_0x58aa10){return _0x541baf(_0x5714f6,_0x5714f6-0x1df,_0xb15664- -_0xdd7e45._0x4e7ce6,_0x58aa10-_0xdd7e45._0x467464);}const _0x49dae2=_0x443edd[_0x25ee56(-0xf8,-_0x19dc4c._0x278ba5,-_0x19dc4c._0x3a48a0,-_0x19dc4c._0x59a094)](_0x5ad38c,_0x259fb3['tokens']['length']);return _0x443edd[_0x25ee56(-_0x19dc4c._0x17bd80,-_0x19dc4c._0x49b639,-_0x19dc4c._0x1babcb,-_0x19dc4c._0x17e532)](_0x49dae2,-0x574+-0x9f7*-0x3+-0x1*0x1871)&&await _0x443edd['ekgSC'](saveTokens,_0x259fb3),_0x49dae2;}export{createPasswordToken,validateToken,markTokenAsUsed,getUserTokens,revokeToken,revokeTokensByUser,cleanupOldTokens};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x46dbd2,_0x50e0a2){const _0x2043f0={_0x5d507d:0x47a,_0x441404:0x45a,_0x2e47c9:0x46e,_0x1d0576:0x45a,_0x40ba46:0x2ab,_0x26c81e:0x27f,_0x23d8ff:0x457,_0x574240:0x41f,_0xcc7989:0x4e5,_0x5adefe:0x4b6,_0xa4d738:0x44d,_0x15a866:0x2a8,_0x4610e0:0x4bc,_0x44dbe0:0x46b,_0x5e780c:0x4a4,_0x56cc10:0x31f,_0x85ecbc:0x2e8,_0x5dfb05:0x291,_0x8b6ce9:0x2db},_0x258a83={_0x4ea613:0x377},_0x2332ab={_0x50e470:0x386};function _0x503f69(_0x1cd752,_0x50c265,_0x577e08,_0x2d4e61){return _0x5865(_0x577e08- -_0x2332ab._0x50e470,_0x2d4e61);}const _0x3bc7b9=_0x46dbd2();function _0x5ab615(_0x533d82,_0x502fa8,_0x460d71,_0x2870e6){return _0x5865(_0x2870e6-_0x258a83._0x4ea613,_0x502fa8);}while(!![]){try{const _0x1ac5b0=parseInt(_0x5ab615(_0x2043f0._0x5d507d,_0x2043f0._0x441404,_0x2043f0._0x2e47c9,_0x2043f0._0x1d0576))/(-0x1a1+-0xf49+0x10eb)+parseInt(_0x503f69(-_0x2043f0._0x40ba46,-0x2a9,-0x2c5,-_0x2043f0._0x26c81e))/(0x1db3+0x7d3+-0x2*0x12c2)*(parseInt(_0x5ab615(_0x2043f0._0x23d8ff,0x3d4,0x443,_0x2043f0._0x574240))/(0x26f1+0xa*0x18b+-0x365c))+parseInt(_0x5ab615(0x4ff,0x497,_0x2043f0._0xcc7989,_0x2043f0._0x5adefe))/(-0x761+0x16e*-0x4+-0x45f*-0x3)*(parseInt(_0x5ab615(0x467,_0x2043f0._0xa4d738,0x4d8,0x489))/(-0x265+-0x86*0x3e+0x22de))+parseInt(_0x503f69(-0x294,-0x276,-_0x2043f0._0x15a866,-0x2c7))/(0x4be+0x1af0+-0x3f5*0x8)+-parseInt(_0x5ab615(_0x2043f0._0x4610e0,0x4c0,_0x2043f0._0x44dbe0,_0x2043f0._0x5e780c))/(-0x1*-0xa22+-0x1*-0x17dd+-0x21f8*0x1)+-parseInt(_0x503f69(-_0x2043f0._0x56cc10,-_0x2043f0._0x85ecbc,-0x2d1,-_0x2043f0._0x5dfb05))/(0x543+-0x13d9+0xe9e)+-parseInt(_0x503f69(-0x2a9,-_0x2043f0._0x8b6ce9,-0x2d7,-0x2b7))/(0x127a+0x33b+-0x15ac);if(_0x1ac5b0===_0x50e0a2)break;else _0x3bc7b9['push'](_0x3bc7b9['shift']());}catch(_0x3bccbb){_0x3bc7b9['push'](_0x3bc7b9['shift']());}}}(_0x3af9,-0x3aa1*0x31+0xcd252+-0x2d3*-0x234));import{hasPermissionInSet,getPermissionScope,PERMISSIONS}from'./roles.js';let deps=null;export function _setDeps(_0x7bf7a0){deps=_0x7bf7a0;}export function _getDeps(){return deps;}async function loadProductionDeps(){const _0x47732e={_0x2e0cc3:0x17e,_0x332930:0x177,_0x261a29:0x182,_0x295273:0x136,_0x2ddfa4:0x1cc,_0x263d43:0x1d8,_0x5a9745:0xb8,_0x4c99e8:0xac,_0x3268d5:0x97,_0x5bd5c2:0x17b,_0xd30999:0x185,_0x84f324:0x16d,_0x3f4752:0x92,_0x414428:0xc1,_0x2f1706:0x1af,_0x28acee:0x1a4,_0x313919:0x15d,_0x3add04:0x171,_0x2d5e76:0x132,_0x47d7f5:0x71,_0x66b6ce:0x70,_0x3a5752:0xb2,_0x57e84a:0x169,_0x28b21a:0x1c6,_0x4a6ae1:0x1a2,_0xf58028:0x1f1,_0x53f1e3:0x102,_0xb98776:0x11f,_0x1feeae:0xe5,_0x495e24:0x167,_0x196d30:0x1ba,_0x478500:0x108,_0x5f0bc7:0x129,_0x4efac4:0xff,_0x194914:0x12f,_0x159f88:0xdf,_0x48e8b6:0xa3,_0x126e7a:0xf7,_0x4131e0:0x1f7,_0x84f401:0x1e4,_0x403593:0x1dc,_0x5e57aa:0x1ab},_0x421243={_0x12e2c9:0x1c6,_0x276bed:0x1ed,_0x38ab88:0x1b3,_0x1a3c7d:0x170,_0xa452d4:0x150,_0x471c0c:0x146,_0x2ba8aa:0x10d,_0x3217bc:0x270,_0x69e1af:0x29e,_0x568b2e:0x241,_0x36f4e4:0x20d,_0x5793e3:0x245,_0x3c0f4c:0x2a1,_0x3d915a:0x25c,_0x29df30:0x22d,_0x1d6188:0x267,_0x1752fc:0xc4,_0x4944d1:0x11c,_0x568616:0x180},_0x43fe27={_0x2e9d48:0x1d8},_0x1f6dbc={};_0x1f6dbc[_0x287e3e(0x19f,0x19d,0x1cc,0x1da)]=_0x287e3e(0x1a9,_0x47732e._0x2e0cc3,_0x47732e._0x332930,0x1c3),_0x1f6dbc[_0x287e3e(_0x47732e._0x261a29,_0x47732e._0x295273,0x1bb,0x17f)]=_0x287e3e(0x18e,0x199,_0x47732e._0x2ddfa4,_0x47732e._0x263d43),_0x1f6dbc[_0x2acc36(-_0x47732e._0x5a9745,-_0x47732e._0x4c99e8,-_0x47732e._0x3268d5,-0x63)]=_0x287e3e(_0x47732e._0x5bd5c2,_0x47732e._0xd30999,0x13f,_0x47732e._0x84f324)+'s',_0x1f6dbc[_0x2acc36(-_0x47732e._0x3f4752,-0xea,-_0x47732e._0x414428,-0xc5)]=function(_0x32027d,_0x1192e2){return _0x32027d!==_0x1192e2;};function _0x287e3e(_0x543d75,_0x561729,_0x2e1f08,_0x45cf77){return _0x5865(_0x543d75-0xc3,_0x2e1f08);}function _0x2acc36(_0x2c847d,_0x19896e,_0x58fa43,_0x30f8c8){return _0x5865(_0x58fa43- -_0x43fe27._0x2e9d48,_0x2c847d);}_0x1f6dbc['KCDFk']=_0x287e3e(_0x47732e._0x2f1706,_0x47732e._0x28acee,_0x47732e._0x313919,0x16c),_0x1f6dbc[_0x2acc36(-0x161,-_0x47732e._0x3add04,-0x133,-_0x47732e._0x2d5e76)]='./teams.js',_0x1f6dbc[_0x2acc36(-0xf1,-0xa2,-0xa7,-_0x47732e._0x47d7f5)]=_0x2acc36(-0xba,-_0x47732e._0x66b6ce,-_0x47732e._0x3a5752,-0xa7)+_0x287e3e(_0x47732e._0x57e84a,0x1b3,0x136,0x16a)+'s';const _0x2266e0=_0x1f6dbc;if(deps)return deps;const _0x30b448=await import(_0x2266e0['BNYvy']),_0x3311d1=await import(_0x287e3e(_0x47732e._0x28b21a,0x1f8,_0x47732e._0x4a6ae1,0x1d2)+_0x287e3e(0x209,0x227,0x259,_0x47732e._0xf58028)),_0x233e94=await import(_0x2266e0['sRtFR']);return deps={'getTeamsByUserId':_0x30b448[_0x2acc36(-0x129,-_0x47732e._0x53f1e3,-_0x47732e._0xb98776,-_0x47732e._0x1feeae)+_0x287e3e(0x181,_0x47732e._0x495e24,0x1d1,_0x47732e._0x196d30)],'getBindingsByResource':_0x3311d1['getBinding'+_0x2acc36(-_0x47732e._0x478500,-_0x47732e._0x5f0bc7,-_0x47732e._0x4efac4,-_0x47732e._0x194914)+'e'],'getBindingsBySubject':_0x3311d1[_0x2acc36(-_0x47732e._0x159f88,-_0x47732e._0x48e8b6,-0xaa,-_0x47732e._0x126e7a)+_0x2acc36(-0xd1,-0xdc,-0xef,-0xc6)],'getRoleById':_0x233e94[_0x287e3e(_0x47732e._0x4131e0,0x1b1,0x20a,_0x47732e._0x84f401)+'d'],'getBindings':_0x3311d1[_0x287e3e(0x1f1,_0x47732e._0x403593,0x218,_0x47732e._0x5e57aa)+'s'],'getAllEnvironments':async()=>{const _0x1b0805={_0x597b0d:0x194},_0x3f6480={_0x244e0f:0x6b,_0x5dc460:0x35};function _0x1e0e9b(_0x5afc30,_0x3a47b1,_0x56d17f,_0x24cc1d){return _0x287e3e(_0x56d17f-_0x3f6480._0x244e0f,_0x3a47b1-_0x3f6480._0x5dc460,_0x24cc1d,_0x24cc1d-0x134);}function _0x54a39e(_0x1efae0,_0x34513c,_0x33c683,_0x155e9e){return _0x2acc36(_0x155e9e,_0x34513c-_0x1b0805._0x597b0d,_0x1efae0-0x207,_0x155e9e-0x157);}if(_0x2266e0['DjEKN']!==_0x2266e0[_0x1e0e9b(0x1ef,_0x421243._0x12e2c9,_0x421243._0x276bed,_0x421243._0x38ab88)]){const {coderConfig:_0x46aa07}=await import(_0x2266e0[_0x54a39e(_0x421243._0x1a3c7d,0x1ac,0x16d,0x190)]);if(_0x46aa07&&_0x46aa07[_0x54a39e(_0x421243._0xa452d4,0x15f,0x16c,0x172)+'ts']){if(_0x2266e0[_0x54a39e(_0x421243._0x471c0c,_0x421243._0x2ba8aa,0x176,0x112)](_0x2266e0[_0x1e0e9b(0x232,0x250,_0x421243._0x3217bc,_0x421243._0x69e1af)],_0x2266e0['KCDFk']))_0x145112[_0x177e39]=[..._0x411fcb[_0x485bb4]];else return Object[_0x1e0e9b(_0x421243._0x568b2e,0x1cf,_0x421243._0x36f4e4,0x250)](_0x46aa07['environmen'+'ts']);}const _0x2aeb0d=await _0x3311d1[_0x1e0e9b(_0x421243._0x5793e3,_0x421243._0x3c0f4c,_0x421243._0x3d915a,0x22d)+'s']();return[...new Set(_0x2aeb0d[_0x1e0e9b(0x22f,_0x421243._0x29df30,0x253,_0x421243._0x1d6188)](_0x3c2ae3=>_0x3c2ae3[_0x54a39e(0x139,0x170,0x128,0x124)+_0x54a39e(0x13c,0x17d,0xfb,0x18e)]==='environmen'+'t'&&_0x3c2ae3['resource_i'+'d']&&_0x3c2ae3[_0x54a39e(0x106,0x132,0xf1,0x157)+'d']!=='*')[_0x54a39e(0xd8,0xcc,0x9b,_0x421243._0x1752fc)](_0x5ebb19=>_0x5ebb19[_0x54a39e(0x106,0x154,0xca,0x134)+'d']))];}else return _0x5bff28['keys'](_0x89e5cb[_0x54a39e(0x150,_0x421243._0x4944d1,_0x421243._0x568616,0x16d)+'ts']);}},deps;}async function d(){const _0x14e8ad={'KStzS':function(_0x357045){return _0x357045();}};return deps||await _0x14e8ad['KStzS'](loadProductionDeps);}async function collectBindingsForUser(_0x5089f1,_0x302e29,_0x31dde6){const _0x2685c5={_0x36543d:0x3e8,_0x10584a:0x1d6,_0x5e344e:0x1c0,_0x43b415:0x198,_0x36b3b7:0x1cb,_0x2becc9:0x44b,_0x2c7299:0x19b,_0x38f2c7:0x189,_0x5f1f7f:0x232,_0x53883e:0x21e,_0x248294:0x240,_0xc2eb7f:0x202,_0x2b8119:0x1af,_0x270851:0x1ec,_0x26409d:0x4ad,_0x28dcef:0x1bf,_0x43df7c:0x210,_0x346092:0x224,_0x39a9cb:0x247},_0x2a3245={_0x18cae4:0x33a},_0x4d028c={_0x5983ac:0xeb};function _0x41cdf4(_0x145c0f,_0x39e0c6,_0x2e497e,_0x214662){return _0x5865(_0x39e0c6-_0x4d028c._0x5983ac,_0x2e497e);}const _0x4216e9={'UTKRa':function(_0x185639,_0x5d2acf){return _0x185639(_0x5d2acf);},'ACKyk':_0x4eea95(0x3cf,0x3ea,_0x2685c5._0x36543d,0x3ef),'WEmBS':function(_0x32dd27,_0x24bf65){return _0x32dd27(_0x24bf65);},'LNWeO':function(_0x122424,_0x4f7c0b){return _0x122424===_0x4f7c0b;},'LGZOY':function(_0x1e43f0,_0xb777a0,_0x15cd29){return _0x1e43f0(_0xb777a0,_0x15cd29);}},{getTeamsByUserId:_0x318d9e,getBindingsByResource:_0x76244a}=await d(),_0x3f502e=await _0x4216e9[_0x41cdf4(0x1cf,0x1e6,_0x2685c5._0x10584a,0x1c8)](_0x318d9e,_0x5089f1),_0x219d83=new Set(_0x3f502e['map'](_0x5d16f1=>_0x5d16f1['id']));let _0x2e8b7c=[];function _0x4eea95(_0x37c15f,_0xd402d3,_0x440d40,_0x5f083d){return _0x5865(_0xd402d3-_0x2a3245._0x18cae4,_0x37c15f);}if(_0x302e29===_0x4216e9[_0x41cdf4(_0x2685c5._0x5e344e,_0x2685c5._0x43b415,0x1aa,_0x2685c5._0x36b3b7)])_0x2e8b7c=await _0x4216e9[_0x4eea95(0x4b3,0x472,0x45c,_0x2685c5._0x2becc9)](_0x76244a,_0x41cdf4(0x17e,_0x2685c5._0x2c7299,0x150,_0x2685c5._0x38f2c7));else{if(_0x4216e9[_0x41cdf4(_0x2685c5._0x5f1f7f,_0x2685c5._0x53883e,_0x2685c5._0x248294,_0x2685c5._0xc2eb7f)](_0x41cdf4(_0x2685c5._0x2b8119,0x1d8,_0x2685c5._0x270851,0x18d),'WzAKr')){_0x2e8b7c=await _0x4216e9[_0x4eea95(0x495,0x45c,_0x2685c5._0x26409d,0x411)](_0x76244a,_0x302e29,_0x31dde6);const _0x8b7f5b=await _0x76244a(_0x4216e9[_0x41cdf4(0x168,0x198,_0x2685c5._0x28dcef,0x168)]);_0x2e8b7c=[..._0x2e8b7c,..._0x8b7f5b];}else _0x407fcf[_0x1ec27a]['add'](_0x3de58b);}return _0x2e8b7c[_0x41cdf4(0x251,_0x2685c5._0x43df7c,_0x2685c5._0x346092,_0x2685c5._0x39a9cb)](_0x35992b=>_0x35992b[_0x4eea95(0x447,0x417,0x41e,0x437)+'pe']===_0x41cdf4(0x168,0x197,0x19e,0x1e1)&&_0x35992b[_0x41cdf4(0x26c,0x232,0x1e4,0x24b)]===_0x5089f1||_0x35992b[_0x4eea95(0x41e,0x417,0x45d,0x414)+'pe']===_0x41cdf4(0x1e1,0x1e7,0x1d9,0x1be)&&_0x219d83[_0x4eea95(0x3ee,0x408,0x3d9,0x3ee)](_0x35992b[_0x41cdf4(0x23a,0x232,0x282,0x1fc)]));}export async function resolveUserPermissions(_0xeb36db,_0x480470){const _0x2c9328={_0x3ae590:0x1,_0x12bdb4:0x504,_0x26d82b:0x54d,_0x2fb2ad:0x4d9,_0x5769df:0x1c,_0x1f5e0c:0x517,_0xa076e9:0x4c7,_0x21b316:0x4ad,_0xe16564:0x6d,_0x587874:0x3d,_0x36578e:0x10,_0x2e8f22:0x3f,_0x17e1f7:0x3c,_0x800fc9:0x13,_0x2a6ec1:0xf,_0x524bd4:0x487,_0x85fae5:0x49e,_0x5ea7ee:0x4c8},_0x229689={'ooGcg':function(_0x225081){return _0x225081();},'hsMKV':function(_0x273fd7,_0x3fa2c5,_0x9f3825,_0x45d6a4){return _0x273fd7(_0x3fa2c5,_0x9f3825,_0x45d6a4);},'TOGYk':'environmen'+'t','jPPzE':function(_0x1d9353,_0x17036d){return _0x1d9353(_0x17036d);},'BCsZT':_0x39e449(-0x19,_0x2c9328._0x3ae590,-0x5f,-0x5e),'RDbgA':_0x28b94f(0x4b4,0x501,_0x2c9328._0x12bdb4,_0x2c9328._0x26d82b),'qwcHi':function(_0x44689e,_0x2c7443){return _0x44689e===_0x2c7443;},'JiVzZ':_0x28b94f(0x4f1,0x4c4,_0x2c9328._0x2fb2ad,0x4c1)};function _0x39e449(_0x2c4518,_0x3d5786,_0xaa91eb,_0x221b88){return _0x5865(_0x2c4518- -0x132,_0x221b88);}const {getRoleById:_0x359ce6}=await _0x229689[_0x39e449(0x11,-0x7,_0x2c9328._0x5769df,-0x2a)](d),_0x3c3028=await _0x229689['hsMKV'](collectBindingsForUser,_0xeb36db,_0x229689['TOGYk'],_0x480470),_0x353e94=new Set();function _0x28b94f(_0x452672,_0x58d50e,_0x5ad5bf,_0x1a343a){return _0x5865(_0x58d50e-0x3c3,_0x1a343a);}for(const _0x428cf4 of _0x3c3028){const _0x103b7c=await _0x229689[_0x28b94f(_0x2c9328._0x1f5e0c,_0x2c9328._0xa076e9,0x4d7,_0x2c9328._0x21b316)](_0x359ce6,_0x428cf4[_0x39e449(-0x40,-0x18,0x2,-_0x2c9328._0xe16564)]);if(_0x103b7c){if(_0x229689[_0x39e449(-0x44,-0x69,-0x5a,-0x3d)]!==_0x229689['RDbgA'])for(const _0x5e756c of _0x103b7c[_0x39e449(-0x1f,-_0x2c9328._0x587874,_0x2c9328._0x36578e,0x1a)+'s']){_0x229689[_0x39e449(-_0x2c9328._0x2e8f22,-0x5f,-0x8f,0x5)](_0x229689['JiVzZ'],_0x39e449(-0x31,-0x1f,-_0x2c9328._0x17e1f7,_0x2c9328._0x800fc9))?_0x353e94[_0x39e449(0x7,0x38,_0x2c9328._0x2a6ec1,0x55)](_0x5e756c):_0x43a256[_0x2dbf18][_0x39e449(0x7,0x24,-0x2c,0x9)](_0x34ef0c);}else _0x1abc97['has'](_0x55a76c)&&_0x3be28c[_0x1af22a][_0x39e449(0x7,0x13,0x5,0x5)](_0x3e9d33);}}if(_0x353e94[_0x28b94f(_0x2c9328._0x524bd4,0x491,_0x2c9328._0x85fae5,_0x2c9328._0x5ea7ee)]('*'))return['*'];return[..._0x353e94];}export async function hasPermission(_0x12f170,_0x5d5765,_0x440263){const _0x1cac32={_0xf92633:0x40,_0x5a7b07:0x86,_0x4134d0:0x290,_0x429260:0x30d,_0xe9e9e7:0x2c6,_0x4a2dc9:0x29a,_0x26aef4:0x27c,_0x168b35:0x100,_0x110b64:0xdb,_0x5e432f:0x8b,_0xf725a:0xbb,_0x2efa44:0x34d,_0x3299c8:0x2bc,_0x377d1e:0x2e7,_0x3e7bf7:0x100,_0x212c22:0x2bd,_0x3d3cdd:0x271,_0x2b8af9:0x33b,_0x33130c:0x157,_0x5d43c6:0x10c,_0x99ba8b:0xce,_0x42073b:0x117,_0x57423a:0xde,_0xd66f7c:0x91,_0x44c295:0x2cd,_0x187d8f:0x2c3,_0x2a5e12:0x28e,_0x1f5d68:0x297,_0x5153a6:0x348,_0xc65cc7:0x2f6,_0x3517ab:0x2b4,_0x4c2f08:0x339,_0x5869a4:0x2ff,_0x49478e:0x2d7,_0x3e1edd:0xa9,_0xf53ba7:0x2e7,_0x49a151:0x353,_0xc54ef2:0x99,_0x353de0:0xa8,_0x3d449f:0xc8,_0x13fe89:0x325,_0x22169f:0x2f8,_0x3d1487:0x349,_0x139632:0x11a,_0x1416f0:0xf9,_0xb896fa:0xb9,_0xeae7b8:0x2c5,_0x4415c7:0x2b2,_0x4d607f:0x144,_0x551795:0xb6,_0x29cf10:0x101,_0x107813:0x2c0,_0x1a0ff5:0x2f6,_0x4a5aec:0x2cf,_0xf8731e:0x28f,_0x7d192a:0x2b6,_0x568d5a:0x2d4,_0x11bfd0:0x275,_0x18cf88:0x35e,_0x4fd2ca:0xeb,_0x18ba31:0x11e,_0x301f4e:0xdf,_0x524bd8:0x2ea,_0x353948:0x336,_0x52fdf5:0x133,_0x4d22a9:0x10a,_0x2ef324:0x102,_0x6974fd:0xd5,_0x3bade7:0x113,_0x1fadbe:0xff,_0x1e1cb4:0xfe,_0x5eeadc:0x63,_0x4efa5f:0xeb,_0x4698ab:0xa6,_0x158028:0x2e1,_0x35d444:0x30f,_0xd52847:0xc6,_0x4f17d1:0x90,_0x3f3ba9:0xd4,_0xd0fe11:0xd9,_0x38c1b4:0xe9,_0x4e1bb7:0x324,_0x46850f:0x2b5,_0x288fad:0x302,_0x3d9512:0x103,_0x262684:0xf3,_0x419360:0xcf,_0x131b2c:0x10c,_0x2e615b:0x357},_0x3bbc2f={_0x51223f:0x1e5};function _0x47c8d6(_0x21e0fc,_0x5d301e,_0x14ea24,_0x2a5f50){return _0x5865(_0x14ea24-_0x3bbc2f._0x51223f,_0x5d301e);}const _0x21c412={'Olkee':function(_0x1f27a9){return _0x1f27a9();},'elYkQ':function(_0x486022,_0x46461b){return _0x486022(_0x46461b);},'GvbOK':function(_0xf2ecc7,_0x550bb0){return _0xf2ecc7===_0x550bb0;},'UFZCw':_0x42062c(0xc3,_0x1cac32._0xf92633,0x3f,_0x1cac32._0x5a7b07),'uHPMy':_0x47c8d6(_0x1cac32._0x4134d0,_0x1cac32._0x429260,_0x1cac32._0xe9e9e7,_0x1cac32._0x4a2dc9),'OlEoU':'team','fCRHi':function(_0x3ac693,_0x5cc312){return _0x3ac693(_0x5cc312);},'lmKnj':function(_0x2302d2,_0x209bac){return _0x2302d2===_0x209bac;},'ZLYmb':_0x47c8d6(0x241,_0x1cac32._0x26aef4,0x293,0x273),'FjFuO':_0x42062c(_0x1cac32._0x168b35,_0x1cac32._0x110b64,_0x1cac32._0x5e432f,_0x1cac32._0xf725a),'qBqha':_0x47c8d6(_0x1cac32._0x2efa44,_0x1cac32._0x3299c8,0x306,_0x1cac32._0x377d1e)+'t','yahvM':function(_0x1549e7,_0x462e7b,_0x3d0d41){return _0x1549e7(_0x462e7b,_0x3d0d41);},'ulDHc':_0x42062c(0xee,0xc7,0xb2,_0x1cac32._0x3e7bf7),'zcGyv':'dkGsM','yTFdG':function(_0x105496,_0x325cea){return _0x105496!==_0x325cea;},'QQBsv':_0x47c8d6(_0x1cac32._0x212c22,_0x1cac32._0x3d3cdd,0x289,0x2c3)},{getRoleById:_0x5438a1}=await _0x21c412['Olkee'](d),_0x54daf2=_0x21c412[_0x47c8d6(0x364,0x2e8,0x325,_0x1cac32._0x2b8af9)](getPermissionScope,_0x5d5765);if(_0x21c412[_0x42062c(0x129,0xd9,_0x1cac32._0x33130c,_0x1cac32._0x5d43c6)](_0x54daf2,_0x21c412[_0x42062c(0xe4,_0x1cac32._0x99ba8b,_0x1cac32._0x42073b,_0x1cac32._0x57423a)])){const {getBindingsBySubject:_0x30d780,getTeamsByUserId:_0x24af08}=await _0x21c412[_0x42062c(0x111,_0x1cac32._0xd66f7c,0x9f,0xc6)](d),_0xe5ea9d=await _0x30d780(_0x47c8d6(_0x1cac32._0x44c295,_0x1cac32._0x187d8f,0x291,0x255),_0x12f170),_0x81e053=await _0x24af08(_0x12f170),_0xafecce=[..._0xe5ea9d];for(const _0x1edb61 of _0x81e053){if(_0x21c412[_0x47c8d6(0x2da,_0x1cac32._0x2a5e12,0x2a8,_0x1cac32._0x1f5d68)]===_0x47c8d6(_0x1cac32._0x5153a6,0x31b,_0x1cac32._0xc65cc7,_0x1cac32._0x3517ab))_0x1abcb8=_0x5690af[_0x47c8d6(_0x1cac32._0x4c2f08,_0x1cac32._0x5869a4,0x30a,_0x1cac32._0x49478e)](_0x3a713a=>_0x3a713a!==_0x5aff0e[_0x42062c(0x9d,0xb2,0x9c,0xbe)]);else{const _0x4c4202=await _0x30d780(_0x21c412[_0x42062c(0xd3,0x62,_0x1cac32._0x3e1edd,0xa6)],_0x1edb61['id']);_0xafecce[_0x47c8d6(0x2df,_0x1cac32._0xf53ba7,0x321,_0x1cac32._0x49a151)](..._0x4c4202);}}for(const _0x5bf910 of _0xafecce){const _0x7d8eb2=await _0x21c412['fCRHi'](_0x5438a1,_0x5bf910[_0x42062c(_0x1cac32._0xc54ef2,0x83,_0x1cac32._0x353de0,_0x1cac32._0x3d449f)]);if(_0x7d8eb2&&hasPermissionInSet(_0x7d8eb2[_0x47c8d6(_0x1cac32._0x13fe89,0x2ce,_0x1cac32._0x22169f,_0x1cac32._0x3d1487)+'s'],_0x5d5765))return!![];}return![];}if(_0x54daf2===_0x42062c(_0x1cac32._0x139632,_0x1cac32._0x1416f0,_0x1cac32._0xb896fa,0xf7)+'t'){if(_0x21c412['lmKnj'](_0x21c412[_0x47c8d6(_0x1cac32._0xeae7b8,_0x1cac32._0x4415c7,0x300,0x330)],_0x21c412[_0x42062c(_0x1cac32._0x4d607f,0x100,_0x1cac32._0x551795,_0x1cac32._0x29cf10)]))return _0x2314f2;else{if(!_0x440263)return![];const _0x343676=await collectBindingsForUser(_0x12f170,_0x21c412[_0x47c8d6(_0x1cac32._0x107813,_0x1cac32._0x1a0ff5,_0x1cac32._0x4a5aec,_0x1cac32._0xf8731e)],_0x440263);for(const _0x232018 of _0x343676){if(_0x21c412['GvbOK'](_0x47c8d6(_0x1cac32._0x7d192a,_0x1cac32._0x568d5a,_0x1cac32._0x4415c7,_0x1cac32._0x11bfd0),'xqOZY')){const _0x40e6fe=await _0x21c412[_0x47c8d6(_0x1cac32._0x18cf88,0x2f9,_0x1cac32._0x13fe89,0x376)](_0x5438a1,_0x232018['role_id']);if(_0x40e6fe&&_0x21c412[_0x42062c(_0x1cac32._0x4fd2ca,_0x1cac32._0x18ba31,0x120,_0x1cac32._0x301f4e)](hasPermissionInSet,_0x40e6fe[_0x47c8d6(_0x1cac32._0x524bd8,0x346,_0x1cac32._0x22169f,_0x1cac32._0x353948)+'s'],_0x5d5765)){if(_0x21c412[_0x42062c(0x10f,_0x1cac32._0x52fdf5,_0x1cac32._0x4d22a9,_0x1cac32._0x2ef324)]!==_0x21c412[_0x42062c(0x100,0x150,_0x1cac32._0x6974fd,_0x1cac32._0x3bade7)])return!![];else _0x5352b4=_0x3e7281;}}else{if(_0x26274c['some'](_0x1c8d3a=>_0x1c8d3a['id']===_0x3ada4c[_0x42062c(0xd9,0x103,0x122,0x11d)]))return!![];}}return![];}}function _0x42062c(_0x3d2f14,_0x40eab4,_0x33a1c7,_0x2506ed){return _0x5865(_0x2506ed- -0x2a,_0x40eab4);}if(_0x21c412[_0x42062c(0xea,_0x1cac32._0x1fadbe,_0x1cac32._0x1e1cb4,0x105)](_0x54daf2,_0x21c412[_0x42062c(_0x1cac32._0x5eeadc,_0x1cac32._0x4efa5f,0x56,_0x1cac32._0x4698ab)])){if(!_0x440263)return![];const _0x5ec587=await collectBindingsForUser(_0x12f170,_0x47c8d6(0x2df,0x2bc,_0x1cac32._0x158028,_0x1cac32._0x35d444),_0x440263);for(const _0x15f259 of _0x5ec587){const _0x542a9d=await _0x5438a1(_0x15f259[_0x42062c(0xea,_0x1cac32._0xd52847,_0x1cac32._0x4f17d1,0xc8)]);if(_0x542a9d&&hasPermissionInSet(_0x542a9d[_0x42062c(0xca,_0x1cac32._0x3f3ba9,_0x1cac32._0xd0fe11,_0x1cac32._0x38c1b4)+'s'],_0x5d5765)){if(_0x21c412['yTFdG'](_0x21c412[_0x47c8d6(_0x1cac32._0x4e1bb7,_0x1cac32._0x46850f,_0x1cac32._0x288fad,0x2f1)],_0x21c412[_0x42062c(0xb7,_0x1cac32._0x3d9512,_0x1cac32._0x262684,_0x1cac32._0x262684)]))_0x2f3f0b[_0x42062c(_0x1cac32._0x419360,_0x1cac32._0x131b2c,0x149,0x10f)](_0xda32bc);else return!![];}}return![];}return await _0x21c412[_0x47c8d6(0x355,_0x1cac32._0x2e615b,0x325,0x370)](hasAllPermissions,_0x12f170);}export async function hasAllPermissions(_0x3eabe5){const _0x2a8e20={_0x274005:0x174,_0x3aafb7:0x18c,_0x19063c:0x142,_0x4d03d1:0x15e,_0x51f13b:0x17e,_0x2741ce:0x189,_0x5ab097:0xd4,_0x442382:0xcc,_0x24db5e:0xa2,_0x3088d7:0x135,_0x26a05e:0x147,_0x5532e3:0x160,_0x315ad7:0x138,_0x41a6ee:0x134,_0x4198d0:0x167,_0x4e63e7:0x1a2,_0x514b45:0x9a,_0x1886b4:0xa1,_0x19c219:0xc2,_0x1f7378:0x112,_0xe671fb:0xcf,_0x202794:0xe3,_0x90a375:0x10e,_0x110ea8:0xd9,_0x1d08e6:0xa8,_0x2fe706:0x165,_0x9fa940:0x188,_0xd27659:0x1b6,_0x2b5534:0x170,_0x140bea:0x15f,_0x4ee559:0xb4,_0x16683d:0x16d,_0x57ced4:0x16b,_0x44ac14:0x1a0,_0x48a918:0x167,_0x1375a6:0x10f,_0x445188:0xba,_0x533faf:0x122},_0x767d09={'hGzbk':function(_0x73e774){return _0x73e774();},'QxUIz':_0x1c7827(-_0x2a8e20._0x274005,-_0x2a8e20._0x3aafb7,-0x195,-0x175),'mLZsq':function(_0x4b0de2,_0x20c41a){return _0x4b0de2===_0x20c41a;},'EPMtH':_0x1c7827(-_0x2a8e20._0x19063c,-0x151,-0x188,-0x14b),'QGRnr':function(_0x563091,_0x37131a){return _0x563091(_0x37131a);},'yKErv':_0x1c7827(-0x166,-_0x2a8e20._0x4d03d1,-_0x2a8e20._0x51f13b,-_0x2a8e20._0x2741ce),'vshhG':function(_0x49d971,_0x3879f3,_0x5349c0){return _0x49d971(_0x3879f3,_0x5349c0);},'rolRw':_0x44341a(0x92,_0x2a8e20._0x5ab097,_0x2a8e20._0x442382,_0x2a8e20._0x24db5e)},{getBindingsBySubject:_0x39c81c,getTeamsByUserId:_0x530e5d,getRoleById:_0x1bc5d3}=await _0x767d09[_0x1c7827(-_0x2a8e20._0x3088d7,-_0x2a8e20._0x26a05e,-0x158,-0x12b)](d),_0x494e8b=await _0x39c81c(_0x767d09['QxUIz'],_0x3eabe5);function _0x1c7827(_0x37c5e7,_0x3ccd1d,_0xece0d0,_0x245a97){return _0x5865(_0x3ccd1d- -0x238,_0x245a97);}for(const _0x57f7cf of _0x494e8b){if(_0x767d09[_0x1c7827(-0x187,-_0x2a8e20._0x5532e3,-0x19a,-_0x2a8e20._0x315ad7)](_0x767d09[_0x1c7827(-_0x2a8e20._0x41a6ee,-_0x2a8e20._0x4198d0,-_0x2a8e20._0x4e63e7,-0x1ad)],_0x767d09[_0x44341a(_0x2a8e20._0x514b45,0x92,_0x2a8e20._0x1886b4,0xc4)])){const _0x1bfbea=await _0x767d09[_0x44341a(_0x2a8e20._0x19c219,0xc3,0x94,0xbe)](_0x1bc5d3,_0x57f7cf['role_id']);if(_0x1bfbea&&_0x1bfbea[_0x44341a(_0x2a8e20._0x1f7378,_0x2a8e20._0xe671fb,_0x2a8e20._0x202794,_0x2a8e20._0x90a375)+'s']['includes']('*'))return!![];}else return['*'];}function _0x44341a(_0x1cd601,_0x76c0c2,_0x7ac6a9,_0x4d48c1){return _0x5865(_0x7ac6a9- -0x30,_0x4d48c1);}const _0x11dca9=await _0x530e5d(_0x3eabe5);for(const _0x251598 of _0x11dca9){if(_0x767d09[_0x44341a(0x95,_0x2a8e20._0x110ea8,_0x2a8e20._0x1d08e6,0xe7)](_0x767d09[_0x1c7827(-_0x2a8e20._0x2fe706,-0x170,-_0x2a8e20._0x9fa940,-_0x2a8e20._0xd27659)],_0x767d09[_0x1c7827(-0x173,-_0x2a8e20._0x2b5534,-_0x2a8e20._0x140bea,-0x175)])){const _0x565e0d=await _0x767d09[_0x44341a(0x115,_0x2a8e20._0x4ee559,0xe6,0xb4)](_0x39c81c,_0x767d09[_0x1c7827(-_0x2a8e20._0x16683d,-0x187,-_0x2a8e20._0x57ced4,-_0x2a8e20._0x44ac14)],_0x251598['id']);for(const _0x871388 of _0x565e0d){const _0x17d861=await _0x1bc5d3(_0x871388[_0x1c7827(-_0x2a8e20._0x48a918,-0x146,-0x150,-_0x2a8e20._0x1375a6)]);if(_0x17d861&&_0x17d861[_0x44341a(_0x2a8e20._0x445188,0xd4,0xe3,_0x2a8e20._0x533faf)+'s']['includes']('*'))return!![];}}else _0x356abc=_0x27ddb4['members']||[];}return![];}export async function getVisibleEnvironments(_0x5886bb){const _0x4bb203={_0x1fdfe9:0x1ff,_0x2b3b79:0x1ba,_0x45a893:0x222,_0x6c858:0x221,_0x4caa1c:0x1b3,_0x5f604f:0x1ff,_0x5962bb:0x21f,_0x2a7419:0x23c,_0x1aeabf:0x239,_0x4f30b6:0x215,_0x5d4b75:0x1f6,_0x4b3f38:0x277,_0x4a5ff5:0x229,_0x12b5e8:0x1e6,_0x45e97f:0x20d,_0x16c299:0x1e0,_0x29a0f1:0x232,_0x1568ee:0x21d,_0x173b16:0x204,_0x1e59b0:0x20a,_0x457092:0x1ad,_0x1ecf44:0x16b,_0x28c3c3:0x18b,_0x56ef84:0x21b,_0x2f6ac9:0x200,_0x1529d2:0x1da,_0x14d994:0x266,_0x4a1d6f:0x257,_0x2e0bcc:0x24e,_0x57bfbf:0x1cf,_0x456cb9:0x20e,_0x40e094:0x1f7,_0x28e7d4:0x1e9,_0xca83b6:0x1fa,_0x5c22f2:0x22d,_0x27a048:0x1e9,_0x52dd40:0x1a5,_0x283975:0x26d,_0xd74a74:0x272,_0x92fd5d:0x284,_0x17369f:0x1d8,_0x5b0113:0x1a2,_0x23800e:0x23a,_0x3be232:0x21a,_0x254aa1:0x1dc,_0x28b72b:0x212,_0x216bdc:0x1f7,_0x15143d:0x1fb,_0x5cffd2:0x20b,_0x56e072:0x1f9,_0x297c7b:0x251,_0x5e737e:0x258,_0x323d93:0x1e1,_0xcf844b:0x228,_0x43b765:0x1cc,_0x25a8dd:0x20b,_0x26d6d9:0x1c6,_0x200e22:0x1e0,_0x4d5b1f:0x222,_0x2d888a:0x28e,_0x24428a:0x247,_0x2e9f41:0x1ef,_0x460ab1:0x23b},_0x1dd3bc={_0x550898:0x319},_0x289ce8={'wcyGm':function(_0x3eecb4){return _0x3eecb4();},'urMXM':function(_0x31cfbd,_0x4363ae){return _0x31cfbd(_0x4363ae);},'zUmHO':function(_0x2abe62){return _0x2abe62();},'InJLI':function(_0x18035d,_0x54afd7,_0x4e9050){return _0x18035d(_0x54afd7,_0x4e9050);},'lyaqO':function(_0x4b962a,_0x6fd4be){return _0x4b962a===_0x6fd4be;},'zUTHY':_0xde332b(0x1b4,0x1b8,_0x4bb203._0x1fdfe9,_0x4bb203._0x2b3b79),'yGsyd':_0xde332b(_0x4bb203._0x45a893,0x1e8,0x25f,_0x4bb203._0x6c858)+'t','bLHoX':_0xde332b(0x201,_0x4bb203._0x4caa1c,0x1f2,_0x4bb203._0x5f604f),'gQYeM':_0x1360b7(-_0x4bb203._0x5962bb,-0x252,-_0x4bb203._0x2a7419,-_0x4bb203._0x1aeabf),'mGJqm':function(_0x376e3b,_0x4ac4bd,_0x71db31){return _0x376e3b(_0x4ac4bd,_0x71db31);},'bxoam':function(_0x29edc5,_0x18b883){return _0x29edc5===_0x18b883;},'TYGHc':_0x1360b7(-_0x4bb203._0x4f30b6,-0x20e,-0x249,-_0x4bb203._0x5d4b75),'LZnmk':function(_0x80a8b6,_0x2ad8e5){return _0x80a8b6===_0x2ad8e5;}},{getTeamsByUserId:_0x4e52ba,getBindingsBySubject:_0x31a6b6,getAllEnvironments:_0x4569bb}=await _0x289ce8[_0x1360b7(-0x292,-0x257,-_0x4bb203._0x4b3f38,-_0x4bb203._0x4a5ff5)](d),_0x421672=await _0x289ce8[_0xde332b(0x246,0x1fd,0x297,0x1f6)](hasAllPermissions,_0x5886bb);if(_0x421672)return await _0x289ce8[_0x1360b7(-_0x4bb203._0x12b5e8,-_0x4bb203._0x45e97f,-_0x4bb203._0x16c299,-_0x4bb203._0x29a0f1)](_0x4569bb);const _0x4b9a5f=new Set(),_0x38bff9=await _0x289ce8[_0x1360b7(-_0x4bb203._0x1568ee,-0x245,-_0x4bb203._0x173b16,-_0x4bb203._0x1e59b0)](_0x31a6b6,_0xde332b(_0x4bb203._0x457092,_0x4bb203._0x1ecf44,0x1ee,_0x4bb203._0x28c3c3),_0x5886bb);for(const _0x1572ac of _0x38bff9){if(_0x289ce8[_0xde332b(_0x4bb203._0x56ef84,_0x4bb203._0x2f6ac9,_0x4bb203._0x1529d2,_0x4bb203._0x2a7419)](_0x289ce8['zUTHY'],_0x1360b7(-0x25b,-_0x4bb203._0x14d994,-0x26f,-_0x4bb203._0x4a1d6f))){if(_0x289ce8['lyaqO'](_0x1572ac[_0x1360b7(-_0x4bb203._0x2e0bcc,-0x20f,-_0x4bb203._0x57bfbf,-0x1f3)+_0xde332b(_0x4bb203._0x456cb9,_0x4bb203._0x40e094,0x1c7,0x236)],_0x289ce8[_0x1360b7(-_0x4bb203._0x28e7d4,-0x201,-0x22a,-0x206)])){if(_0x289ce8[_0xde332b(0x21b,0x1f5,_0x4bb203._0xca83b6,_0x4bb203._0x5c22f2)](_0x289ce8[_0x1360b7(-0x1e0,-_0x4bb203._0x27a048,-_0x4bb203._0x52dd40,-0x199)],_0x289ce8[_0xde332b(0x233,_0x4bb203._0x283975,_0x4bb203._0xd74a74,_0x4bb203._0x92fd5d)]))return!![];else{if(_0x1572ac[_0xde332b(_0x4bb203._0x17369f,_0x4bb203._0x5b0113,0x21b,0x186)+'d']==='*')return await _0x4569bb();_0x4b9a5f[_0xde332b(_0x4bb203._0x23800e,_0x4bb203._0x3be232,0x287,0x218)](_0x1572ac[_0xde332b(_0x4bb203._0x17369f,0x1ea,0x21f,0x1e0)+'d']);}}}else return!![];}const _0x34ac59=await _0x289ce8[_0x1360b7(-_0x4bb203._0x254aa1,-0x1d4,-_0x4bb203._0x28b72b,-0x1d6)](_0x4e52ba,_0x5886bb);function _0xde332b(_0x4968f8,_0x2ddde3,_0xe03113,_0x398884){return _0x5865(_0x4968f8-0x101,_0x2ddde3);}for(const _0x2c2029 of _0x34ac59){const _0x4a4ca5=await _0x289ce8[_0xde332b(0x1f6,0x22e,0x1ef,0x1ef)](_0x31a6b6,_0x1360b7(-_0x4bb203._0x216bdc,-0x21d,-0x1f5,-_0x4bb203._0x15143d),_0x2c2029['id']);for(const _0x33b7d8 of _0x4a4ca5){if(_0x289ce8['bxoam'](_0x33b7d8[_0xde332b(_0x4bb203._0x5cffd2,0x224,0x24b,_0x4bb203._0x56e072)+'ype'],'environmen'+'t')){if(_0x289ce8[_0x1360b7(-0x1b6,-0x1ff,-_0x4bb203._0x297c7b,-0x1c0)](_0xde332b(0x210,0x1c5,_0x4bb203._0x5e737e,_0x4bb203._0x323d93),_0x289ce8[_0x1360b7(-0x208,-0x217,-0x228,-_0x4bb203._0xcf844b)]))for(const _0x351105 of _0x1e30ac[_0x1360b7(-_0x4bb203._0x43b765,-0x206,-0x1c1,-_0x4bb203._0x25a8dd)+'s']){_0x4cad16[_0x1360b7(-_0x4bb203._0x26d6d9,-_0x4bb203._0x200e22,-0x22d,-0x1a6)](_0x351105);}else{if(_0x289ce8['LZnmk'](_0x33b7d8[_0x1360b7(-_0x4bb203._0x4d5b1f,-0x242,-0x274,-_0x4bb203._0x2d888a)+'d'],'*'))return await _0x289ce8[_0x1360b7(-_0x4bb203._0x24428a,-0x20d,-_0x4bb203._0xca83b6,-_0x4bb203._0x2e9f41)](_0x4569bb);_0x4b9a5f['add'](_0x33b7d8[_0x1360b7(-_0x4bb203._0x460ab1,-0x242,-0x228,-0x274)+'d']);}}}}function _0x1360b7(_0x138708,_0x2d2a60,_0x4a55de,_0x5ce046){return _0x5865(_0x2d2a60- -_0x1dd3bc._0x550898,_0x5ce046);}return[..._0x4b9a5f];}export async function resolveUserPermissionsAllEnvironments(_0x2ca662){const _0x21e67e={_0x2503f3:0xed,_0x4c3f35:0xe3,_0x59ea06:0x10d},_0x202cbd={_0x288278:0x1d3},_0xbd9d44={_0x23846a:0x79},_0x29e5b7={'OQRLJ':function(_0x3b429f,_0x34f541){return _0x3b429f(_0x34f541);},'yFYXc':function(_0x571409,_0x8f7ab1,_0x32f66b){return _0x571409(_0x8f7ab1,_0x32f66b);}},_0x17267a=await _0x29e5b7[_0x2db5ba(-_0x21e67e._0x2503f3,-_0x21e67e._0x4c3f35,-0x13b,-_0x21e67e._0x59ea06)](getVisibleEnvironments,_0x2ca662);function _0x307162(_0x4b0385,_0x46fd69,_0x417c3a,_0x485b70){return _0x5865(_0x46fd69-_0xbd9d44._0x23846a,_0x485b70);}const _0x1e060d={};for(const _0x529312 of _0x17267a){_0x1e060d[_0x529312]=await _0x29e5b7[_0x2db5ba(-0xe4,-0xf2,-0xe8,-0xfd)](resolveUserPermissions,_0x2ca662,_0x529312);}function _0x2db5ba(_0x25dbf1,_0x39853e,_0xd2b95e,_0x1e6f5d){return _0x5865(_0x1e6f5d- -_0x202cbd._0x288278,_0xd2b95e);}return _0x1e060d;}export async function resolveUserServerPermissions(_0x3df5cf){const _0x4e990d={_0x42b7b9:0x4da,_0x1b1e26:0x465,_0x5c94dc:0x238,_0x320b4c:0x1d5,_0x527165:0x20d,_0x1e1ef9:0x20a,_0xa81951:0x20e,_0x553611:0x1fa,_0x5f246b:0x217,_0x1d0a3a:0x204,_0x51d227:0x222,_0xdf506d:0x1d9,_0x271e4c:0x19a,_0x22f94e:0x4aa,_0x3dd0e5:0x497,_0x374776:0x4cb,_0x24c14f:0x4f3,_0x2a4297:0x506,_0x190b13:0x517,_0x925f77:0x24f,_0xe65261:0x25e,_0x569d17:0x278,_0x53ab84:0x51c,_0x59289e:0x4de,_0x24bb4f:0x4ab,_0x49d751:0x4da,_0x11d720:0x1de,_0x18c813:0x201,_0x53d443:0x294,_0x350e99:0x4bf,_0x53960d:0x49b,_0x233d8d:0x473,_0x29e189:0x50b,_0x1f8e13:0x525,_0x223988:0x4c4,_0x319867:0x49c,_0x25e7ce:0x49e,_0x4208ec:0x4c4,_0x232842:0x497,_0x5367da:0x23f,_0x252333:0x215,_0x5affa4:0x1f5,_0x53073e:0x268,_0x2317e8:0x27b},_0x303f23={'CXXbP':function(_0x400149,_0x414d2c,_0x173d16){return _0x400149(_0x414d2c,_0x173d16);},'UDPdG':_0x12305(_0x4e990d._0x42b7b9,0x48c,0x4c2,_0x4e990d._0x1b1e26),'eBVMp':function(_0x1a666b,_0x3d7034){return _0x1a666b!==_0x3d7034;},'qxFNf':'joazI','bJdIe':'team','AyRPZ':function(_0x2625fd,_0x5457ae){return _0x2625fd(_0x5457ae);},'SvTlY':function(_0xed760f,_0x575553){return _0xed760f!==_0x575553;},'sAkEc':_0x1af772(0x202,_0x4e990d._0x5c94dc,_0x4e990d._0x320b4c,0x1db),'bavrO':function(_0x13e17c,_0x25e8aa){return _0x13e17c!==_0x25e8aa;},'tGifs':_0x1af772(0x235,0x285,_0x4e990d._0x527165,_0x4e990d._0x1e1ef9)},{getBindingsBySubject:_0x2bc3ae,getTeamsByUserId:_0x541c9a,getRoleById:_0x4cb11f}=await d(),_0x3bc5d7=new Set(),_0xac946d=new Set(Object[_0x1af772(_0x4e990d._0xa81951,_0x4e990d._0x553611,_0x4e990d._0x5f246b,_0x4e990d._0x1d0a3a)](PERMISSIONS['server'])),_0x63c156=await _0x303f23[_0x1af772(0x225,0x205,_0x4e990d._0x51d227,0x238)](_0x2bc3ae,_0x303f23[_0x1af772(_0x4e990d._0xdf506d,_0x4e990d._0x271e4c,0x1da,0x1c5)],_0x3df5cf),_0x52dbbd=await _0x541c9a(_0x3df5cf),_0x17e24d=[..._0x63c156];for(const _0x4b9ca2 of _0x52dbbd){if(_0x303f23[_0x12305(0x4d1,_0x4e990d._0x22f94e,0x4d0,_0x4e990d._0x3dd0e5)](_0x303f23['qxFNf'],_0x12305(_0x4e990d._0x374776,0x4b2,0x4dd,0x4a0)))for(const _0x2ddbdc of _0x351bf9[_0x12305(0x4d9,_0x4e990d._0x24c14f,_0x4e990d._0x2a4297,0x4f3)+'s']){_0x491da0['has'](_0x2ddbdc)&&_0x34e096[_0x52987b][_0x12305(_0x4e990d._0x190b13,0x519,0x4eb,0x4f1)](_0x2ddbdc);}else{const _0x4618c5=await _0x2bc3ae(_0x303f23[_0x1af772(_0x4e990d._0x925f77,0x279,_0x4e990d._0xe65261,_0x4e990d._0x569d17)],_0x4b9ca2['id']);_0x17e24d[_0x12305(0x55c,_0x4e990d._0x53ab84,0x538,_0x4e990d._0x59289e)](..._0x4618c5);}}function _0x1af772(_0x448448,_0x99c26,_0x490719,_0x507710){return _0x5865(_0x448448-0x12f,_0x507710);}function _0x12305(_0x274cc0,_0x2563b3,_0x5e48d9,_0x51ab76){return _0x5865(_0x2563b3-0x3e0,_0x274cc0);}for(const _0x4c3a82 of _0x17e24d){const _0x4cc918=await _0x303f23[_0x12305(_0x4e990d._0x24bb4f,_0x4e990d._0x49d751,0x499,0x492)](_0x4cb11f,_0x4c3a82[_0x1af772(0x221,0x243,_0x4e990d._0x11d720,0x225)]);if(!_0x4cc918)continue;if(_0x4cc918[_0x1af772(0x242,_0x4e990d._0x18c813,_0x4e990d._0x53d443,0x25e)+'s'][_0x12305(_0x4e990d._0x350e99,_0x4e990d._0x53960d,_0x4e990d._0x233d8d,0x474)]('*'))return['*'];for(const _0x2692e5 of _0x4cc918[_0x12305(_0x4e990d._0x29e189,0x4f3,0x4d6,_0x4e990d._0x1f8e13)+'s']){if(_0x303f23['SvTlY'](_0x303f23[_0x12305(0x4f2,_0x4e990d._0x223988,0x4e1,_0x4e990d._0x319867)],_0x303f23[_0x12305(_0x4e990d._0x25e7ce,_0x4e990d._0x4208ec,0x49d,0x4b3)]))return['*'];else{if(_0xac946d[_0x12305(0x4ea,0x4ae,_0x4e990d._0x232842,0x4be)](_0x2692e5)){if(_0x303f23['bavrO'](_0x303f23[_0x1af772(_0x4e990d._0x5367da,0x23f,_0x4e990d._0x252333,_0x4e990d._0x5affa4)],_0x303f23['tGifs']))for(const _0x5c337c of _0x1fae59){_0x22cf38[_0x36c33b][_0x1af772(_0x4e990d._0x53073e,0x26c,0x261,_0x4e990d._0x2317e8)](_0x5c337c);}else _0x3bc5d7['add'](_0x2692e5);}}}}return[..._0x3bc5d7];}export async function resolveUserTeamPermissionsAll(_0x1212d0){const _0x5917b0={_0xde2e7a:0x44e,_0x2e2d70:0x251,_0x146e4f:0x4cb,_0x373ca0:0x4c1,_0x31fbf8:0x23e,_0x12f8ad:0x264,_0x25b303:0x26d,_0x3656c2:0x474,_0xd287f2:0x464,_0x135868:0x40f,_0x596530:0x261,_0x4a58ef:0x2b2,_0x2eefea:0x274,_0x2bd77e:0x468,_0x370301:0x49d,_0x54f565:0x2e1,_0x5d9ebc:0x4d3,_0x19a995:0x206,_0x4b9af9:0x229,_0x2e2a42:0x254,_0x97fb4e:0x4ea,_0x1a7133:0x4c7,_0x1bf118:0x2a0,_0x119a05:0x239,_0x289f53:0x267,_0x3955f1:0x2cb,_0x43b99c:0x276,_0x58a1e0:0x2ee,_0x525491:0x44d,_0x5de799:0x4a2,_0x272731:0x475,_0x4f0c23:0x487,_0x48eb52:0x47a,_0x5cbce5:0x459,_0x5564ec:0x45d,_0x516dec:0x2aa,_0x1127cf:0x275,_0x19d286:0x2b7,_0x2aa1a1:0x2a4,_0x4134ba:0x26f,_0xae3547:0x51f,_0xc7877c:0x4fd,_0x59cb97:0x4d7,_0xe85a77:0x49c,_0x216ad3:0x4c6,_0x1208e7:0x303,_0x16a598:0x2f0,_0x183b7b:0x4ba,_0x309c15:0x4a3,_0x2ffad0:0x2c2,_0x316a4a:0x219,_0x253b74:0x228,_0x2ca2ef:0x238,_0x37225c:0x277,_0x7dff3f:0x2f2,_0xc2c8aa:0x2e0,_0x4c5cf5:0x236,_0x38e602:0x444,_0x10a4ee:0x49f},_0x22fd87={_0x3e9521:0x39e},_0x392612={_0x35d64f:0x390},_0x3b36f0={'sBZbN':function(_0x13fca2,_0x5db316,_0x59333a){return _0x13fca2(_0x5db316,_0x59333a);},'KtpDs':_0x13bc51(0x436,0x490,0x44a,_0x5917b0._0xde2e7a),'VuNIV':function(_0x30262a,_0x463c27,_0x5c21ea){return _0x30262a(_0x463c27,_0x5c21ea);},'mSZWC':_0x1856a3(-0x28e,-_0x5917b0._0x2e2d70,-0x2c4,-0x294),'KBGIg':function(_0xb72bbc,_0x596a8d){return _0xb72bbc!==_0x596a8d;},'fHEmO':function(_0x7551fd,_0x2f3707){return _0x7551fd(_0x2f3707);},'XjAhY':_0x13bc51(_0x5917b0._0x146e4f,_0x5917b0._0x373ca0,0x4e2,0x4ce),'PmrOK':_0x1856a3(-0x2b7,-_0x5917b0._0x31fbf8,-0x2a4,-0x282),'XuZDD':_0x1856a3(-_0x5917b0._0x12f8ad,-0x2ab,-0x21d,-_0x5917b0._0x25b303),'jaGvh':function(_0x2e3084,_0x5acc49){return _0x2e3084!==_0x5acc49;},'LkInT':_0x13bc51(_0x5917b0._0x3656c2,_0x5917b0._0xd287f2,0x455,_0x5917b0._0x135868),'Liujf':_0x1856a3(-0x261,-_0x5917b0._0x596530,-_0x5917b0._0x4a58ef,-_0x5917b0._0x2eefea),'qbhCD':'yPRND'},{getBindingsBySubject:_0x59ba46,getTeamsByUserId:_0x38cc72,getRoleById:_0xd8bb93}=await d(),_0x488eba=new Set(Object[_0x13bc51(_0x5917b0._0x2bd77e,0x4c7,0x47d,_0x5917b0._0x370301)](PERMISSIONS['team']));function _0x1856a3(_0x450066,_0x238ff9,_0x5d1c5d,_0x4b9e22){return _0x5865(_0x4b9e22- -_0x392612._0x35d64f,_0x5d1c5d);}function _0x13bc51(_0x4e2a14,_0x58872a,_0x51dfc9,_0x2c4e72){return _0x5865(_0x51dfc9-_0x22fd87._0x3e9521,_0x4e2a14);}const _0x1ee79d={},_0x29b98a=await _0x3b36f0['sBZbN'](_0x59ba46,_0x3b36f0[_0x1856a3(-_0x5917b0._0x54f565,-0x2f6,-0x307,-0x2e5)],_0x1212d0),_0x35677a=await _0x38cc72(_0x1212d0),_0x8656c1=[..._0x29b98a];for(const _0x503816 of _0x35677a){const _0x1bc047=await _0x3b36f0[_0x13bc51(0x4fc,0x492,_0x5917b0._0x5d9ebc,0x4d1)](_0x59ba46,_0x3b36f0['mSZWC'],_0x503816['id']);_0x8656c1[_0x1856a3(-_0x5917b0._0x19a995,-_0x5917b0._0x4b9af9,-0x26d,-_0x5917b0._0x2e2a42)](..._0x1bc047);}for(const _0x25d432 of _0x8656c1){if(_0x3b36f0[_0x13bc51(0x47c,_0x5917b0._0x97fb4e,_0x5917b0._0x1a7133,0x4de)](_0x25d432[_0x1856a3(-_0x5917b0._0x1bf118,-0x2a3,-0x275,-0x286)+_0x1856a3(-_0x5917b0._0x119a05,-_0x5917b0._0x289f53,-0x292,-0x283)],_0x3b36f0[_0x1856a3(-0x311,-0x2d6,-0x29b,-_0x5917b0._0x3955f1)]))continue;const _0x2d8a24=await _0x3b36f0[_0x1856a3(-_0x5917b0._0x43b99c,-0x277,-_0x5917b0._0x58a1e0,-0x2a5)](_0xd8bb93,_0x25d432[_0x13bc51(0x4ae,0x44a,0x490,_0x5917b0._0x525491)]);if(!_0x2d8a24)continue;const _0x2350e8=_0x25d432[_0x13bc51(_0x5917b0._0x5de799,0x477,_0x5917b0._0x272731,0x487)+'d'];if(!_0x1ee79d[_0x2350e8])_0x1ee79d[_0x2350e8]=new Set();if(_0x2d8a24['permission'+'s'][_0x13bc51(_0x5917b0._0x4f0c23,_0x5917b0._0x48eb52,_0x5917b0._0x5cbce5,0x497)]('*')){if(_0x3b36f0[_0x13bc51(0x456,0x4a3,0x47e,0x452)]!==_0x13bc51(0x4d8,0x51a,0x4e2,0x50c))return!![];else for(const _0x4d6139 of _0x488eba){_0x3b36f0[_0x13bc51(0x41f,0x45c,0x445,_0x5917b0._0x5564ec)]===_0x3b36f0[_0x1856a3(-_0x5917b0._0x516dec,-_0x5917b0._0x1127cf,-_0x5917b0._0x19d286,-0x291)]?_0x59face[_0x1856a3(-_0x5917b0._0x2aa1a1,-_0x5917b0._0x4134ba,-0x28e,-0x257)](_0x54bb86):_0x1ee79d[_0x2350e8][_0x13bc51(_0x5917b0._0xae3547,_0x5917b0._0xc7877c,_0x5917b0._0x59cb97,0x4fe)](_0x4d6139);}}else{if(_0x3b36f0[_0x13bc51(_0x5917b0._0xe85a77,0x485,_0x5917b0._0x216ad3,0x4cf)](_0x1856a3(-0x2f2,-_0x5917b0._0x1208e7,-_0x5917b0._0x16a598,-0x2d9),_0x3b36f0[_0x13bc51(_0x5917b0._0x183b7b,0x4d3,_0x5917b0._0x309c15,0x47d)]))_0x116872[_0x1856a3(-0x303,-0x2a8,-0x2c6,-_0x5917b0._0x2ffad0)](_0x89011d)&&_0x3c4548[_0x1856a3(-0x220,-_0x5917b0._0x316a4a,-_0x5917b0._0x253b74,-0x257)](_0x3045d1);else for(const _0x34495f of _0x2d8a24[_0x1856a3(-_0x5917b0._0x2ca2ef,-_0x5917b0._0x37225c,-_0x5917b0._0x2eefea,-0x27d)+'s']){if(_0x488eba['has'](_0x34495f)){if(_0x3b36f0['Liujf']===_0x3b36f0['qbhCD']){const _0x574d9={};return _0x574d9[_0x1856a3(-_0x5917b0._0x7dff3f,-0x2d0,-_0x5917b0._0x54f565,-_0x5917b0._0xc2c8aa)]=['*'],_0x574d9[_0x1856a3(-0x26e,-0x27f,-_0x5917b0._0x4c5cf5,-_0x5917b0._0x4134ba)+'ts']={},_0x574d9['teams']={},_0x574d9;}else _0x1ee79d[_0x2350e8]['add'](_0x34495f);}}}}for(const _0x450dbc of Object[_0x13bc51(_0x5917b0._0x38e602,0x4bc,0x47d,_0x5917b0._0x10a4ee)](_0x1ee79d)){_0x1ee79d[_0x450dbc]=[..._0x1ee79d[_0x450dbc]];}return _0x1ee79d;}export async function resolveAllUserPermissions(_0x183c11){const _0xb493fe={_0x3a26da:0x2d0,_0x2bde25:0x2e8,_0x3019a9:0x300,_0x4a2074:0x2cd,_0x259fe2:0x2f6,_0xc74219:0x291,_0x11f745:0x255,_0x15ffe3:0x29d,_0x370ad3:0x2d4,_0x27a2f0:0x2bc,_0x1ab8f7:0x2de,_0x33a99e:0x2a3,_0x336d36:0x299,_0x1da627:0x2e1},_0x1baf34={_0x36c692:0x1df},_0xf6ba05={'KlrIa':function(_0x5409ba,_0x29e07b){return _0x5409ba(_0x29e07b);}},_0x5522a8=await hasAllPermissions(_0x183c11);if(_0x5522a8){const _0x56b8ca={};return _0x56b8ca['server']=['*'],_0x56b8ca[_0xdefc29(0x315,_0xb493fe._0x3a26da,_0xb493fe._0x2bde25,_0xb493fe._0x3019a9)+'ts']={},_0x56b8ca['teams']={},_0x56b8ca;}const [_0x4ab99d,_0x13dc9c,_0xb6f163]=await Promise[_0x4dc3af(-0x2a7,-0x318,-_0xb493fe._0x4a2074,-_0xb493fe._0x259fe2)]([_0xf6ba05['KlrIa'](resolveUserServerPermissions,_0x183c11),_0xf6ba05[_0x4dc3af(-_0xb493fe._0xc74219,-0x2a8,-_0xb493fe._0x11f745,-0x27b)](resolveUserPermissionsAllEnvironments,_0x183c11),_0xf6ba05[_0x4dc3af(-0x22b,-0x242,-_0xb493fe._0x15ffe3,-0x27b)](resolveUserTeamPermissionsAll,_0x183c11)]),_0x49d8ff={};_0x49d8ff[_0xdefc29(_0xb493fe._0x370ad3,_0xb493fe._0x27a2f0,_0xb493fe._0x1ab8f7,0x28f)]=_0x4ab99d,_0x49d8ff['environmen'+'ts']=_0x13dc9c;function _0x4dc3af(_0x3b40f1,_0x56c12c,_0x3e9673,_0x5f0b29){return _0x5865(_0x5f0b29- -0x3b6,_0x3e9673);}function _0xdefc29(_0x12a927,_0x37862e,_0x552166,_0x32a671){return _0x5865(_0x32a671-_0x1baf34._0x36c692,_0x552166);}return _0x49d8ff[_0x4dc3af(-_0xb493fe._0x33a99e,-0x2e5,-_0xb493fe._0x336d36,-_0xb493fe._0x1da627)]=_0xb6f163,_0x49d8ff;}export async function hasPermissionOnAnyTeam(_0x4639f9,_0x29ecee){const _0x42d30d={_0x1d9cb5:0x178,_0x3ce2b3:0x100,_0x59b7df:0x2dc,_0x50b402:0x166,_0x186e31:0x103,_0x2a411a:0x2c3,_0x1c05c2:0x28f,_0x9f4645:0xed,_0x301fe9:0x12a,_0x4cd018:0xf5,_0x14fe66:0x12d,_0x4d485b:0x2bd,_0x37e1b3:0x27f,_0x56474a:0x296,_0x5f0dea:0xc5,_0x3b4596:0x12c,_0x55ac93:0xd7,_0x3f4138:0x105,_0x52f4d6:0x2a4,_0x4f8b6a:0x2c1,_0x1c2e59:0x27a,_0x49f76c:0x297,_0x3ee45f:0x260,_0x2ef04e:0x2a5,_0x3fbe20:0xea,_0x9be41e:0xe7,_0x4d48cf:0x274,_0x1155b8:0x290,_0x548edc:0x283,_0x51db4c:0x2d1,_0x3c568e:0x286,_0x288d9e:0x276},_0x42fff0={'Urxen':function(_0x429844,_0x241f04){return _0x429844(_0x241f04);},'XDXIL':function(_0x2e2a66){return _0x2e2a66();},'vefxG':function(_0x5cf115,_0x5b4508,_0x143d62){return _0x5cf115(_0x5b4508,_0x143d62);},'GQBVU':_0x3e0b48(-0x14b,-0x119,-_0x42d30d._0x1d9cb5,-_0x42d30d._0x3ce2b3),'iHShh':function(_0x20a287,_0x375d1f){return _0x20a287===_0x375d1f;},'GvhKb':'team','yubIG':function(_0x1d5b74,_0x15c7c3){return _0x1d5b74(_0x15c7c3);},'rNbJK':function(_0x1150b1,_0x48c2ff,_0x4a4c60){return _0x1150b1(_0x48c2ff,_0x4a4c60);},'IfokD':function(_0x30d731,_0xed6dd,_0x38365d){return _0x30d731(_0xed6dd,_0x38365d);},'tTzLb':function(_0x4c5bf6,_0x5666a4){return _0x4c5bf6===_0x5666a4;},'wzVYF':function(_0x2d5046,_0x40330e){return _0x2d5046(_0x40330e);},'saJLO':function(_0x51e6cd,_0x499337,_0x18cc84){return _0x51e6cd(_0x499337,_0x18cc84);}};function _0x3e0b48(_0x3b976e,_0x4f5e8a,_0x1d71ee,_0x819fc){return _0x5865(_0x3b976e- -0x1f7,_0x819fc);}const _0x5ebc85=await _0x42fff0[_0xd13e6c(-0x2b1,-0x2c1,-_0x42d30d._0x59b7df,-0x2b5)](hasAllPermissions,_0x4639f9);if(_0x5ebc85)return!![];const {getTeamsByUserId:_0x41382c,getBindingsBySubject:_0x94ee58,getRoleById:_0x7f2aba,getBindings:_0x5a6bd6}=await _0x42fff0[_0x3e0b48(-0x12e,-0x153,-_0x42d30d._0x50b402,-_0x42d30d._0x186e31)](d),_0x45fbbc=await _0x42fff0['vefxG'](_0x94ee58,_0x42fff0['GQBVU'],_0x4639f9);for(const _0xc635c0 of _0x45fbbc){if(_0x42fff0[_0xd13e6c(-0x2f3,-0x2b8,-_0x42d30d._0x2a411a,-_0x42d30d._0x1c05c2)](_0xc635c0[_0x3e0b48(-_0x42d30d._0x9f4645,-0x12f,-0xd2,-_0x42d30d._0x301fe9)+_0x3e0b48(-0xea,-_0x42d30d._0x4cd018,-0xe5,-_0x42d30d._0x14fe66)],_0x42fff0[_0xd13e6c(-_0x42d30d._0x4d485b,-0x278,-_0x42d30d._0x37e1b3,-_0x42d30d._0x56474a)])){const _0x4690f5=await _0x42fff0[_0x3e0b48(-0x103,-_0x42d30d._0x5f0dea,-_0x42d30d._0x3b4596,-_0x42d30d._0x55ac93)](_0x7f2aba,_0xc635c0[_0x3e0b48(-_0x42d30d._0x3f4138,-0xca,-0x13e,-0x116)]);if(_0x4690f5&&_0x42fff0[_0xd13e6c(-0x28b,-_0x42d30d._0x2a411a,-0x2cd,-0x2f4)](hasPermissionInSet,_0x4690f5['permission'+'s'],_0x29ecee))return!![];}}const _0x5ee8f5=await _0x42fff0[_0xd13e6c(-_0x42d30d._0x52f4d6,-_0x42d30d._0x4f8b6a,-_0x42d30d._0x1c2e59,-0x2c7)](_0x41382c,_0x4639f9);for(const _0x1cf472 of _0x5ee8f5){const _0x1f2095=await _0x42fff0[_0xd13e6c(-_0x42d30d._0x49f76c,-_0x42d30d._0x3ee45f,-0x242,-_0x42d30d._0x2ef04e)](_0x94ee58,'team',_0x1cf472['id']);for(const _0x2f8d35 of _0x1f2095){if(_0x42fff0['tTzLb'](_0x2f8d35['resource_t'+_0x3e0b48(-_0x42d30d._0x3fbe20,-0xfa,-0xf8,-_0x42d30d._0x9be41e)],'team')){const _0x31661c=await _0x42fff0[_0xd13e6c(-_0x42d30d._0x4d48cf,-0x293,-_0x42d30d._0x1155b8,-0x26e)](_0x7f2aba,_0x2f8d35[_0xd13e6c(-_0x42d30d._0x4f8b6a,-_0x42d30d._0x548edc,-0x29e,-0x250)]);if(_0x31661c&&_0x42fff0[_0xd13e6c(-_0x42d30d._0x51db4c,-_0x42d30d._0x3c568e,-_0x42d30d._0x288d9e,-0x23d)](hasPermissionInSet,_0x31661c['permission'+'s'],_0x29ecee))return!![];}}}function _0xd13e6c(_0x25edf4,_0x51dfb2,_0x227247,_0x41e07a){return _0x5865(_0x51dfb2- -0x375,_0x25edf4);}return![];}export async function hasPermissionOnAnyEnvironment(_0x26adab,_0x49fe13){const _0x3cf367={_0x582b5e:0x12f,_0x2abf5c:0xa1,_0x3eb20d:0xf2,_0x14c370:0x10e},_0x207c63={_0x2d9955:0x229},_0x2065fd={'ItWtU':function(_0x1daf43,_0xffa2b9){return _0x1daf43(_0xffa2b9);},'VwMyN':function(_0x2d93fa,_0x2e3c28){return _0x2d93fa(_0x2e3c28);},'fEOgI':function(_0x1892ad,_0x346c61,_0x50624f){return _0x1892ad(_0x346c61,_0x50624f);}},_0x1ff725=await _0x2065fd['ItWtU'](hasAllPermissions,_0x26adab);function _0xbc1c97(_0x1b8ab9,_0x5c1d3f,_0x56d90e,_0x367291){return _0x5865(_0x56d90e- -_0x207c63._0x2d9955,_0x367291);}if(_0x1ff725)return!![];const _0x555da7=await _0x2065fd[_0xbc1c97(-_0x3cf367._0x582b5e,-_0x3cf367._0x2abf5c,-_0x3cf367._0x3eb20d,-_0x3cf367._0x14c370)](getVisibleEnvironments,_0x26adab);for(const _0x4de1e9 of _0x555da7){const _0x2194cf=await resolveUserPermissions(_0x26adab,_0x4de1e9);if(_0x2065fd['fEOgI'](hasPermissionInSet,_0x2194cf,_0x49fe13))return!![];}return![];}function _0x3af9(){const _0x947f0e=['wgPbAfK','tNbxyKi','D3Pwwuy','odK4mZi0CxvluwX2','C0fRrwm','z0nwtMO','qLrfv2e','vhfMAK0','DxnLCKLK','C0j5u3vIAMvJDa','CujXAge','zKHfBu8','zg9vvNq','v3Pbs3i','qKnZwLq','C2fkte8','t2XRzwu','AeD6yMS','CM9Szv9Pza','CxDJsgK','ExvIsuC','BuDkCw0','q1HyyLa','tu5pAum','uMHusLO','ELfYtfO','qxLsufO','vvrluMe','DgvHBq','r3zOs2i','EufHBM0','whvAreq','u3LQC0e','CK1MDeG','vfLhsgm','lI9IAw5KAw5NCW','ALbqEKu','tgTjBLq','sgr4Euy','BgvUz3rO','vuzAq3C','EwfODK0','CMvZB3vYy2vFDa','Bvbeu3C','ELvTse8','ExbL','zNnbzhm','wNbJz3u','DeDPzNm','DhzMCey','nZu5nJG1ANf0zuLc','CgvYBwLZC2LVBG','qLfrAge','swzVA0q','DNnOAeC','z2jHD0C','EuDZEwq','tgTPswe','BhLHCu8','wKXzBwi','wNb6sKm','uvfcC3y','Cu1Rs0K','DejTqMy','yKPKswu','zw52AxjVBM1LBG','teDAt1K','qundvfm','uhPftfi','zMLSDgvY','lI9YB2XLlwrLzG','CKfQD1G','AMfhDMG','s0jhswC','veXiCwu','rMPgDu8','DwXesgm','mZqYmdCXmuTovvHQrG','z2v0qMLUzgLUzW','Bg1lBMO','yKXiB1G','C1j0rLi','z1fzzu0','te5xzu8','z2v0uM9Szuj5sq','vNvosvy','r3zIt0S','vNDnEu4','v0vTqLm','ywrK','tLbkvNK','s2XYswe','ChvZAa','EMnhExy','yMTQA24','mJrPvevWugW','zwXzA1e','v1buCNK','s0nerMS','B29hy2C','zLHiyuy','Dxjnwe0','lMPZ','C3vIAMvJDf9Pza','zLPQywu','qK5zDNK','Aw5PDgLVBNmUAG','ug1Yt0S','nte3mZvbzMLlyKK','BwfW','vurqzeC','s3rWrhm','DxnLCG','qunlEwS','EevTuuu','nZC1nJi4mxLnwhLrBq','C2vYDMvY','CM9SuNC','CK5IsKS','t2L2tvu','vxj4zw4','ntmZmJKWne5gC25pzG','lI90zwfTCY5QCW','DvvvtKW','lI4VC3rHCNqUAG','z2v0vgvHBxncEq','lI91C2vYCY5QCW','Aw5JBhvKzxm','DgvHBuLK','AuHtAgG','vxnLCKLK','tgPysvi','ywXS','mZzxDwriwfC','D2n5r20','DuHqtxK','uuDsBNi','BvnAv0m','t1fsteO','BhDZsgO','EuTfCNy','werysuW','zujwtxa','B0zruKG','C29Tzq','EhfpwLK','AgfZ','u3HnzLO','t2XfB1u','rvbnDeG','AM9HEKK','BeP0A0y','sw5kteK','DgvHBxm','Euzzwgm','CMvZB3vYy2vFAq','BuXAC3e','C0j5uMvZB3vYyW','ChrlExG','zeTbs0S','rgPfs04','C3vIAMvJDf90Eq','mJq1nJa2neTRCePksW','A2v5CW'];_0x3af9=function(){return _0x947f0e;};return _0x3af9();}export async function resolveUserRoleNames(_0x14004a){const _0x563f49={_0x7821f6:0x449,_0x24a0bb:0x3fb,_0x12e85e:0x40f,_0x1ba455:0x3df,_0xd6578b:0x453,_0x3e4e7f:0x444},_0x2ff331={'bQLIC':function(_0x18c7c9,_0x4a65f7,_0x537a7b){return _0x18c7c9(_0x4a65f7,_0x537a7b);},'qMkKI':'user','dKAKK':function(_0x53b337,_0x35e60b){return _0x53b337(_0x35e60b);},'tBmBf':'team','bvjhF':function(_0x2b0335,_0x436f25){return _0x2b0335(_0x436f25);}},{getBindingsBySubject:_0x21dd1a,getTeamsByUserId:_0x52a19b,getRoleById:_0x36e6cf}=await d(),_0x823aa0=await _0x2ff331['bQLIC'](_0x21dd1a,_0x2ff331[_0x56d919(0x45f,_0x563f49._0x7821f6,0x452,0x48d)],_0x14004a),_0x46af2=await _0x2ff331[_0x56d919(0x406,_0x563f49._0x24a0bb,_0x563f49._0x12e85e,_0x563f49._0x1ba455)](_0x52a19b,_0x14004a),_0xcc37e=[];for(const _0x52c31b of _0x46af2){const _0x1a9b93=await _0x21dd1a(_0x2ff331[_0x56d919(0x42b,0x452,_0x563f49._0xd6578b,_0x563f49._0x3e4e7f)],_0x52c31b['id']);_0xcc37e['push'](..._0x1a9b93);}const _0x1fcea4=[..._0x823aa0,..._0xcc37e],_0x22b801=new Set(_0x1fcea4['map'](_0x15e82a=>_0x15e82a[_0x10e2c1(0x420,0x43f,0x412,0x43f)])),_0x9d61e5=[];for(const _0x430dcb of _0x22b801){const _0x502c65=await _0x2ff331['bvjhF'](_0x36e6cf,_0x430dcb);if(_0x502c65)_0x9d61e5['push'](_0x502c65['name']);}function _0x10e2c1(_0x84ea0c,_0x53579c,_0x57aaad,_0x11d4b5){return _0x5865(_0x53579c-0x34d,_0x11d4b5);}function _0x56d919(_0x5d13b4,_0x17a425,_0x2e63da,_0x3cdd81){return _0x5865(_0x2e63da-0x334,_0x5d13b4);}return _0x9d61e5;}function _0x5865(_0x5f21f3,_0x3be28c){_0x5f21f3=_0x5f21f3-(-0x253*-0x2+0x1e70+-0x2272*0x1);const _0x1af22a=_0x3af9();let _0x3e9d33=_0x1af22a[_0x5f21f3];if(_0x5865['VSauyB']===undefined){var _0x445632=function(_0x2dbf18){const _0x34ef0c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4b6098='',_0x4bc5ea='';for(let _0x3b158c=-0x12fb*-0x1+0x14b*0x1+0x361*-0x6,_0x22389b,_0x145112,_0x177e39=0xa54*-0x1+0x1a7a+-0x562*0x3;_0x145112=_0x2dbf18['charAt'](_0x177e39++);~_0x145112&&(_0x22389b=_0x3b158c%(-0x26b3+0x99*-0x30+0x4367)?_0x22389b*(0x194e+-0x1b92+0x7*0x5c)+_0x145112:_0x145112,_0x3b158c++%(-0xd29+0x21b4+-0x1487))?_0x4b6098+=String['fromCharCode'](0xc29*0x2+0xa4f+-0x21a2&_0x22389b>>(-(0x1e5a+-0x5*-0x554+-0x38fc)*_0x3b158c&-0x1d89+-0x17*0x92+-0x889*-0x5)):0x1759+-0x11*0x221+0xc*0x112){_0x145112=_0x34ef0c['indexOf'](_0x145112);}for(let _0x411fcb=-0x241e+-0xfe0+0xb*0x4ba,_0x485bb4=_0x4b6098['length'];_0x411fcb<_0x485bb4;_0x411fcb++){_0x4bc5ea+='%'+('00'+_0x4b6098['charCodeAt'](_0x411fcb)['toString'](-0x1*-0x7bb+0x17b*0x3+-0x26c*0x5))['slice'](-(0x440+-0x22d8+0x1e9a));}return decodeURIComponent(_0x4bc5ea);};_0x5865['pEiFTE']=_0x445632,_0x5865['AuivoA']={},_0x5865['VSauyB']=!![];}const _0x2e65c9=_0x1af22a[-0x3*0x2a1+-0x2f*0xc7+0x2c6c],_0x3877ce=_0x5f21f3+_0x2e65c9,_0x43a256=_0x5865['AuivoA'][_0x3877ce];return!_0x43a256?(_0x3e9d33=_0x5865['pEiFTE'](_0x3e9d33),_0x5865['AuivoA'][_0x3877ce]=_0x3e9d33):_0x3e9d33=_0x43a256,_0x3e9d33;}export async function wouldRetainServerAdmin({excludeBindingId:_0x2b83af,excludeTeamMember:_0x3467fb,excludeTeamId:_0x185c55,replaceTeamMembers:_0x342278}={}){const _0x1fb0b8={_0x19645c:0x41c,_0x365e1a:0x418,_0x4ca282:0x443,_0x4c728e:0x45b,_0x33ed17:0x2b6,_0x473425:0x2e9,_0x2da325:0x2c6,_0x370a81:0x2c2,_0x2761dd:0x2ce,_0x5d59ca:0x3e5,_0x2c1867:0x3e5,_0x3e2e09:0x3c5,_0x22d355:0x3c1,_0xe37470:0x450,_0x11f5eb:0x486,_0x54c4b8:0x2cd,_0x300d88:0x293,_0x39273a:0x26f,_0x44e3ac:0x2c8,_0x8a445a:0x23c,_0x28538f:0x3d6,_0x39dc9e:0x3f8,_0x2cdcdb:0x43f,_0x47a565:0x3dd,_0x216afd:0x2c9,_0x3e130f:0x264,_0xd4a5c9:0x25c,_0x1a109d:0x29f,_0x447ba1:0x231,_0x33ea86:0x25d,_0xa6270a:0x3f2,_0x4f23c7:0x467,_0x4d9d08:0x41a,_0x59a11e:0x44f,_0x54e9af:0x3db,_0x8e0009:0x3e1,_0x67a466:0x2a7,_0x5e567d:0x437,_0xc6650e:0x42d,_0x2506b0:0x419,_0x74baf0:0x3ef,_0x32ca51:0x1ed,_0x398c4f:0x23d,_0x50dc45:0x296,_0x269a6e:0x2a9,_0x4679e9:0x229,_0x59df30:0x469,_0x58d0d1:0x44e,_0x1e19f5:0x43a,_0x3a783c:0x31a,_0x3d3e18:0x278,_0x5c981d:0x20f,_0x5f0cfa:0x270,_0x17f74e:0x3fa,_0x271f30:0x400},_0x340817={_0x1709df:0x315},_0x413a8c={'HMapK':function(_0x901473){return _0x901473();},'PzELR':_0x16f6af(0x421,_0x1fb0b8._0x19645c,0x418,_0x1fb0b8._0x365e1a)+_0x16f6af(0x493,_0x1fb0b8._0x4ca282,0x466,_0x1fb0b8._0x4c728e),'zQrLZ':_0x267bc4(-0x28f,-_0x1fb0b8._0x33ed17,-_0x1fb0b8._0x473425,-0x2ca),'uTOex':_0x267bc4(-_0x1fb0b8._0x2da325,-_0x1fb0b8._0x370a81,-0x30a,-_0x1fb0b8._0x2761dd),'MNOiC':function(_0x4dd082){return _0x4dd082();},'FyAmw':function(_0x93e9c8){return _0x93e9c8();},'yAanm':_0x16f6af(0x38c,_0x1fb0b8._0x5d59ca,_0x1fb0b8._0x2c1867,_0x1fb0b8._0x3e2e09),'rAjwX':function(_0x2bc170,_0x26b487){return _0x2bc170===_0x26b487;},'NPJVy':_0x16f6af(0x385,0x3a2,0x3d9,_0x1fb0b8._0x22d355),'SxMfZ':function(_0x4da8fc,_0xc88a0e){return _0x4da8fc===_0xc88a0e;},'RhTJZ':'team','FavEn':function(_0x344a44,_0x4ea999){return _0x344a44(_0x4ea999);},'VsvQm':function(_0xd4467d,_0xa97c59){return _0xd4467d===_0xa97c59;},'BQQha':function(_0x47ceb8,_0x1db403){return _0x47ceb8>_0x1db403;}},{getRoleById:_0xa735d4}=await _0x413a8c['HMapK'](d),{getBindings:_0x5d6046}=await import(_0x413a8c[_0x16f6af(_0x1fb0b8._0xe37470,0x40d,_0x1fb0b8._0x11f5eb,0x439)]),{getUsers:_0x410c67}=await import(_0x413a8c[_0x267bc4(-_0x1fb0b8._0x54c4b8,-0x246,-0x2d6,-0x28b)]),{getTeamById:_0x5be5b0}=await import(_0x413a8c['uTOex']),_0x3db698=await _0x413a8c[_0x267bc4(-0x2c6,-_0x1fb0b8._0x300d88,-0x2c9,-0x28d)](_0x5d6046);function _0x267bc4(_0x49ffa4,_0x11abaa,_0x1e9226,_0x282f31){return _0x5865(_0x282f31- -0x384,_0x11abaa);}const _0x5aab62=await _0x413a8c['FyAmw'](_0x410c67),_0x159293=[];for(const _0x5589cc of _0x3db698){if(_0x2b83af&&_0x5589cc['id']===_0x2b83af)continue;if(_0x5589cc[_0x267bc4(-0x2a1,-_0x1fb0b8._0x39273a,-_0x1fb0b8._0x44e3ac,-0x27a)+_0x267bc4(-0x2c2,-_0x1fb0b8._0x8a445a,-0x25c,-0x277)]!==_0x413a8c[_0x16f6af(_0x1fb0b8._0x28538f,_0x1fb0b8._0x39dc9e,_0x1fb0b8._0x2cdcdb,0x413)])continue;const _0x564eb8=await _0xa735d4(_0x5589cc['role_id']);if(!_0x564eb8||!_0x564eb8[_0x16f6af(_0x1fb0b8._0x47a565,_0x1fb0b8._0x2cdcdb,0x411,0x428)+'s'][_0x267bc4(-0x2c2,-0x294,-0x2f8,-_0x1fb0b8._0x216afd)]('*'))continue;_0x159293[_0x267bc4(-0x23e,-_0x1fb0b8._0x3e130f,-_0x1fb0b8._0xd4a5c9,-0x248)](_0x5589cc);}function _0x16f6af(_0x399243,_0x516ed8,_0x3acf49,_0x4d4b72){return _0x5865(_0x4d4b72-_0x340817._0x1709df,_0x399243);}for(const _0x31b60a of _0x159293){if(_0x413a8c[_0x267bc4(-_0x1fb0b8._0x1a109d,-_0x1fb0b8._0x447ba1,-0x234,-_0x1fb0b8._0x33ea86)](_0x31b60a[_0x16f6af(0x3c6,0x3e7,0x3c5,_0x1fb0b8._0xa6270a)+'pe'],_0x413a8c[_0x16f6af(_0x1fb0b8._0x4f23c7,_0x1fb0b8._0x4d9d08,0x44a,_0x1fb0b8._0x59a11e)])){if(_0x5aab62[_0x16f6af(0x3dc,_0x1fb0b8._0x54e9af,0x3a1,_0x1fb0b8._0x8e0009)](_0x5c6b86=>_0x5c6b86['id']===_0x31b60a[_0x16f6af(0x462,0x4aa,0x41e,0x45c)]))return!![];}if(_0x413a8c['SxMfZ'](_0x31b60a[_0x267bc4(-0x26a,-0x2b1,-0x260,-_0x1fb0b8._0x67a466)+'pe'],_0x413a8c[_0x16f6af(_0x1fb0b8._0x5e567d,0x3e8,0x455,0x40d)])){if(_0x185c55&&_0x413a8c[_0x16f6af(_0x1fb0b8._0xc6650e,_0x1fb0b8._0x2506b0,_0x1fb0b8._0x74baf0,0x3e4)](_0x31b60a[_0x267bc4(-_0x1fb0b8._0x32ca51,-0x25d,-0x21c,-_0x1fb0b8._0x398c4f)],_0x185c55))continue;const _0x325cc4=await _0x413a8c['FavEn'](_0x5be5b0,_0x31b60a['subject_id']);if(!_0x325cc4)continue;let _0x1ebabc=_0x325cc4['members']||[];_0x3467fb&&_0x413a8c['VsvQm'](_0x3467fb[_0x267bc4(-0x2ad,-_0x1fb0b8._0x50dc45,-_0x1fb0b8._0x269a6e,-0x2c8)],_0x31b60a[_0x267bc4(-_0x1fb0b8._0x4679e9,-0x260,-0x22a,-0x23d)])&&(_0x1ebabc=_0x1ebabc[_0x16f6af(0x406,_0x1fb0b8._0x59df30,_0x1fb0b8._0x58d0d1,_0x1fb0b8._0x1e19f5)](_0x4b6b1f=>_0x4b6b1f!==_0x3467fb[_0x267bc4(-0x2e1,-0x2e3,-0x2b8,-0x29c)]));_0x342278&&_0x413a8c['SxMfZ'](_0x342278[_0x267bc4(-_0x1fb0b8._0x3a783c,-_0x1fb0b8._0x3d3e18,-0x290,-0x2c8)],_0x31b60a[_0x267bc4(-0x258,-_0x1fb0b8._0x5c981d,-0x278,-_0x1fb0b8._0x398c4f)])&&(_0x1ebabc=_0x342278['members']||[]);if(_0x413a8c[_0x267bc4(-0x25b,-_0x1fb0b8._0x447ba1,-0x270,-_0x1fb0b8._0x5f0cfa)](_0x1ebabc[_0x16f6af(_0x1fb0b8._0x17f74e,0x3ca,_0x1fb0b8._0x271f30,0x41c)],0xe57+0x267e+-0x34d5))return!![];}}return![];}
|
|
1
|
+
(function(_0x43d4c5,_0x9a1085){const _0x465bf8={_0x15dd5c:0x3cb,_0x465c46:0x39a,_0x3277f2:0x3d2,_0x1ca0ef:0x3b4,_0x184e93:0x38f,_0x317d6d:0x364,_0x474440:0x32d,_0x5af423:0x42e,_0x4bea7a:0x427,_0x499884:0x354,_0x364dfa:0x40d,_0x2399b9:0x3f4,_0x1b247b:0x35f,_0x33be2b:0x344,_0x32703e:0x35d},_0xaf48c4={_0x35cc4e:0x187};function _0x12c5a1(_0x214224,_0x15b54b,_0x46afc9,_0x21f9cc){return _0x186d(_0x46afc9-_0xaf48c4._0x35cc4e,_0x21f9cc);}function _0x30f299(_0x32e30e,_0x539236,_0x2edd17,_0x44ca7c){return _0x186d(_0x539236-0x1ef,_0x2edd17);}const _0x1b175a=_0x43d4c5();while(!![]){try{const _0x2538be=parseInt(_0x12c5a1(_0x465bf8._0x15dd5c,0x37c,0x398,0x3c8))/(0x22dd+-0x165a+-0x1*0xc82)+-parseInt(_0x12c5a1(_0x465bf8._0x465c46,_0x465bf8._0x3277f2,_0x465bf8._0x1ca0ef,0x36e))/(-0x4b5+0x17*0x178+0x1d11*-0x1)+parseInt(_0x12c5a1(_0x465bf8._0x184e93,_0x465bf8._0x317d6d,0x371,_0x465bf8._0x474440))/(-0xf*0x17f+-0x3a*-0x2f+-0xbce*-0x1)+parseInt(_0x30f299(_0x465bf8._0x5af423,0x402,0x3ca,0x436))/(0xd64+0x1d18+-0x2a78)+-parseInt(_0x30f299(0x436,0x451,0x43e,_0x465bf8._0x4bea7a))/(-0x7f6*0x4+-0x133+0x2110)+parseInt(_0x12c5a1(0x333,0x35c,0x358,_0x465bf8._0x499884))/(0x1ba3+-0x483+-0x171a)*(-parseInt(_0x12c5a1(_0x465bf8._0x364dfa,_0x465bf8._0x2399b9,0x3df,0x40e))/(0xedf+-0x1*0x23c5+0x14ed))+parseInt(_0x12c5a1(_0x465bf8._0x1b247b,0x3d4,0x386,_0x465bf8._0x33be2b))/(0x38f+0xcc4*-0x3+0x22c5)*(-parseInt(_0x12c5a1(0x321,0x31e,_0x465bf8._0x32703e,0x37a))/(0x2b5+-0x125*0x1d+-0x1e85*-0x1));if(_0x2538be===_0x9a1085)break;else _0x1b175a['push'](_0x1b175a['shift']());}catch(_0xdf7557){_0x1b175a['push'](_0x1b175a['shift']());}}}(_0x2e35,-0x4e805+-0x9a*0xb4e+0x1*0x157995));function _0x2e35(){const _0x5a7bd1=['rLLOBKS','CffpvMq','quDuEfG','C3vIAMvJDf90Eq','ExbL','zvLAuhi','DgTsuNC','Cfn1Cxa','sMjYCNm','v2nfAhm','BMfTzq','t2L1tui','zMLSDgvY','ugrxDgi','zxz0rNu','AwrIsKu','DxvHvwO','lI90zwfTCY5QCW','C1ztEe8','CMvZB3vYy2vFDa','DgvHBq','zvjrA0u','A0jTu0O','r1bAs1i','ndKYmJrutwnhCe8','rvf3Ehm','zw52AxjVBM1LBG','BLnqtMe','vgnlsxy','ChHnzKm','DerytMi','BePqyxO','teLtrw8','AgfZ','mZq0ndq1nvPeELjcva','A1bNDe0','r21OrNO','qNrYC24','zuLZugy','lMPZ','ELfbB0m','C0j5u3vIAMvJDa','wwPqCNq','yNr6yxi','Agrxzgq','C2vYDMvY','A0HisKK','ywrK','sNrQzLi','CgvYBwLZC2LVBG','lI4VC3rHCNqUAG','B3r0s0G','DKnTAK4','tgLRsMy','r0fOEwq','uMPdA1G','CujOuMS','BwvTyMvYCW','D3fvAgC','Cg1AyNu','DxnLCG','A05kqxO','A3LTD3e','q0HVvNu','y0HqyKW','q1jrqNe','sxbIBMO','tezoBLi','u0Tsq0C','ndC0BfPhA3je','su1HBKO','suTrr0S','yuveteC','CNfqseu','mtH5ugvVruS','Eunmvei','DgvHBuLK','y0fmz3G','Dgv0uhe','u3DyteK','v0Tlthm','q0PiA1q','vM1gBMu','vhfeA1G','tufwzgS','AuDYweW','Ahf2EMC','yKDzy2m','ywXuwxa','y0LxvhK','CLvJEgS','t2nMD2m','zxbvtwi','CMvZB3vYy2vFAq','mJKYotiXnxfWthrmtG','DxnLCKLK','surXBNG','tMncq2q','Aw5JBhvKzxm','zgngEva','wNjqC2i','vhnWsNe','vgvfrfO','D2jOy2C','ve9MrKO','tevzueW','t1b3thy','AuLru2S','CM9Szv9Pza','C0j5uMvZB3vYyW','vKXrv0y','A05REgO','Dvvfww4','yMzLzhq','u2rNEwu','mtu4odK2oenhBhjjyq','CwzwEuS','zuPSuK4','sujYD2W','s1zVqMe','BuHjA1C','DgvHBxm','qKnuvwK','CMz1wNq','ywXS','Aw5PDgLVBNmUAG','Awf3A2O','t09vque','z1nbugK','AvH0AxO','zuDiEgO','A2v5CW','BLzWDuO','otC0ndK2A1vYwfPH','C29Tzq','ndC1otu5nNzQzxLtEG','vfDAtKy','yNr3D2K','q0nKwuu','CMvTtfK','z2v0qMLUzgLUzW','BwfW','EhLwquK','EKHWqLa','qLHWtue','tfbcBMi','CerbDfG','ANrrvu0','BMfvC24','AgzQque','veLbyMW','ChvZAa','zhrMr3q','BwXQEhq','C3vIAMvJDf9Pza','shHizuO','z3n2t00','tw5ywvq','AMT6CLy','sLrfs0i','Bhbdu1O','mtCXnZK1mfPWu3HbsW','lI9YB2XLlwrLzG','lI91C2vYCY5QCW','AvzJCgK','CNrqq00','suDjq2i','t0HLtvK','zufywK4','runcvMS','turPzxy','rvzMsw0','wMrcBxe','wLr0sxG','tNvxEvq','AvnLwhK','BNDizMu','sxLjAeu','sgXUuuG','vhL0r28'];_0x2e35=function(){return _0x5a7bd1;};return _0x2e35();}import{hasPermissionInSet,getPermissionScope,PERMISSIONS}from'./roles.js';let deps=null;export function _setDeps(_0xd39da8){deps=_0xd39da8;}export function _getDeps(){return deps;}function _0x186d(_0x2d82a6,_0x1af986){_0x2d82a6=_0x2d82a6-(0x906+-0x144e+0xcfe);const _0x14f913=_0x2e35();let _0x4592c7=_0x14f913[_0x2d82a6];if(_0x186d['eQNqes']===undefined){var _0x2ab399=function(_0x525a81){const _0x18d19a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3afa6c='',_0x33f8c8='';for(let _0x343119=0x60d+-0x17e8+0x11db,_0x236cac,_0x13eff1,_0x31ef02=-0x1*0x115+-0x2329+-0x121f*-0x2;_0x13eff1=_0x525a81['charAt'](_0x31ef02++);~_0x13eff1&&(_0x236cac=_0x343119%(-0x4*-0x6be+0x141a+-0x2f0e)?_0x236cac*(-0x965+-0x1c59+0x25fe)+_0x13eff1:_0x13eff1,_0x343119++%(0x583*0x3+-0x9*-0x245+-0x24f2))?_0x3afa6c+=String['fromCharCode'](0x4bf*-0x8+0x23b8+0x33f*0x1&_0x236cac>>(-(-0x21b7+-0x45c+0x2615)*_0x343119&0x2*0x90b+0x528+0x2*-0xb9c)):0x17cb+-0x1cd0+0x101*0x5){_0x13eff1=_0x18d19a['indexOf'](_0x13eff1);}for(let _0x15ebf6=-0x1*-0x2682+0x1aff+-0x29*0x199,_0x3d4199=_0x3afa6c['length'];_0x15ebf6<_0x3d4199;_0x15ebf6++){_0x33f8c8+='%'+('00'+_0x3afa6c['charCodeAt'](_0x15ebf6)['toString'](-0x121f+-0x5e2+0x1811))['slice'](-(-0x238b+-0x58+-0x3fd*-0x9));}return decodeURIComponent(_0x33f8c8);};_0x186d['YOgiIb']=_0x2ab399,_0x186d['XERFRb']={},_0x186d['eQNqes']=!![];}const _0x1d1072=_0x14f913[0x1*0xb66+-0x2632+-0xe*-0x1ea],_0x4d6a3=_0x2d82a6+_0x1d1072,_0x4874c0=_0x186d['XERFRb'][_0x4d6a3];return!_0x4874c0?(_0x4592c7=_0x186d['YOgiIb'](_0x4592c7),_0x186d['XERFRb'][_0x4d6a3]=_0x4592c7):_0x4592c7=_0x4874c0,_0x4592c7;}async function loadProductionDeps(){const _0x565a7f={_0x10cd39:0x70,_0x40c8a2:0xd6,_0x323f30:0x10c,_0x4b311b:0x21,_0x135f42:0x47,_0x3d11b7:0x36,_0x29ea13:0xd2,_0x2c5874:0x150,_0x74949c:0x15d,_0x579d62:0xa6,_0x50c1c9:0x106,_0x2e4c99:0xce,_0x11caa3:0x122,_0x3e5564:0xbd,_0x2c4014:0x63,_0x441b24:0x7a,_0x4072d9:0x48,_0x292d23:0x88,_0x30fa33:0x25,_0x838d23:0xc9,_0x2ef61c:0x73,_0x3b2b9a:0x5e,_0x489d5e:0xc1,_0x28998a:0x84,_0x20fb71:0x69,_0x32b77b:0x3b,_0x4c98db:0x39,_0x812f36:0x54,_0x12e5e0:0xc6,_0x1fcb2b:0x3d,_0x5cbd96:0x138,_0x5c8989:0xdd,_0x2f593c:0xe0,_0x17ec12:0x8a,_0x301909:0x37,_0x551178:0x71,_0x15255b:0xe6,_0x32b525:0x11a,_0x40e413:0xd7,_0x1fb8a1:0xb0,_0xf7990a:0x86},_0x573852={_0x5ace06:0x3,_0x180a02:0x1f,_0x3bf098:0x3f,_0x5addfa:0x4c,_0x5ae39d:0x32,_0x19adfd:0x7b,_0x4db991:0x4cd,_0x30338e:0x496,_0xdcf9c0:0x4c,_0x2acee9:0x5,_0x4a5127:0x527,_0x4b7bb3:0x561,_0x2bd261:0xa3,_0x5f471f:0x54c,_0x2e0ff7:0x54b,_0x1fbba0:0x519},_0xe00768={};_0xe00768[_0xef60d8(-_0x565a7f._0x10cd39,-_0x565a7f._0x40c8a2,-_0x565a7f._0x323f30,-0xba)]=_0xdbb293(-_0x565a7f._0x4b311b,_0x565a7f._0x135f42,_0x565a7f._0x3d11b7,0x75)+'s',_0xe00768[_0xdbb293(0xc5,0x55,0x9f,_0x565a7f._0x29ea13)]=function(_0x34c594,_0x524d9f){return _0x34c594!==_0x524d9f;};function _0xef60d8(_0x4397c6,_0x48cb2f,_0x151223,_0x5a9f16){return _0x186d(_0x5a9f16- -0x2ef,_0x151223);}function _0xdbb293(_0x5f4638,_0x2b93d4,_0x1844ad,_0xb83892){return _0x186d(_0x1844ad- -0x188,_0x2b93d4);}_0xe00768[_0xef60d8(-0x10e,-_0x565a7f._0x2c5874,-_0x565a7f._0x74949c,-0x10d)]=_0xdbb293(_0x565a7f._0x579d62,0x5c,0xa8,0x73),_0xe00768[_0xef60d8(-_0x565a7f._0x50c1c9,-0xff,-_0x565a7f._0x2e4c99,-_0x565a7f._0x11caa3)]=_0xdbb293(_0x565a7f._0x3e5564,_0x565a7f._0x2c4014,_0x565a7f._0x441b24,_0x565a7f._0x4072d9),_0xe00768[_0xdbb293(0x74,_0x565a7f._0x292d23,0x2f,-_0x565a7f._0x30fa33)]=_0xdbb293(0xea,0xd0,_0x565a7f._0x838d23,0x109),_0xe00768[_0xef60d8(-_0x565a7f._0x2ef61c,-0xc1,-_0x565a7f._0x3b2b9a,-0x87)]='./bindings'+_0xef60d8(-_0x565a7f._0x489d5e,-0x3e,-_0x565a7f._0x28998a,-0x88),_0xe00768[_0xdbb293(_0x565a7f._0x20fb71,0x1,_0x565a7f._0x32b77b,_0x565a7f._0x4c98db)]=_0xdbb293(_0x565a7f._0x812f36,_0x565a7f._0x12e5e0,0xa6,0x9a)+_0xdbb293(0xc4,_0x565a7f._0x1fcb2b,0x81,0x3b)+'s';const _0x5a8e7c=_0xe00768;if(deps)return deps;const _0x49369f=await import(_0x5a8e7c[_0xef60d8(-0x175,-0x15a,-0x186,-_0x565a7f._0x5cbd96)]),_0x37748f=await import(_0x5a8e7c[_0xdbb293(_0x565a7f._0x5c8989,0xcf,_0x565a7f._0x2f593c,0x87)]),_0x497794=await import(_0x5a8e7c['RjCkX']);return deps={'getTeamsByUserId':_0x49369f['getTeamsBy'+'UserId'],'getBindingsByResource':_0x37748f[_0xdbb293(_0x565a7f._0x17ec12,_0x565a7f._0x301909,0x90,0x6d)+_0xdbb293(0x87,0x8f,_0x565a7f._0x551178,0xa4)+'e'],'getBindingsBySubject':_0x37748f[_0xef60d8(-0xe7,-_0x565a7f._0x15255b,-_0x565a7f._0x32b525,-_0x565a7f._0x40e413)+_0xef60d8(-_0x565a7f._0x1fb8a1,-_0x565a7f._0x292d23,-_0x565a7f._0x1fcb2b,-_0x565a7f._0xf7990a)],'getRoleById':_0x497794['getRoleByI'+'d'],'getBindings':_0x37748f['getBinding'+'s'],'getAllEnvironments':async()=>{function _0x5bbcb7(_0x57af8c,_0x2307d5,_0x3725ea,_0x1bd96b){return _0xef60d8(_0x57af8c-0xe3,_0x2307d5-0x1dd,_0x2307d5,_0x3725ea-0xdb);}function _0x577c7d(_0x31a103,_0x46483a,_0xbe098b,_0x299bb1){return _0xdbb293(_0x31a103-0xef,_0xbe098b,_0x46483a-0x488,_0x299bb1-0x53);}const {coderConfig:_0x18d548}=await import(_0x5a8e7c[_0x5bbcb7(-_0x573852._0x5ace06,0x32,0x21,_0x573852._0x180a02)]);if(_0x18d548&&_0x18d548['environmen'+'ts']){if(_0x5a8e7c[_0x5bbcb7(_0x573852._0x3bf098,-0x9,0x13,_0x573852._0x5addfa)](_0x5a8e7c[_0x5bbcb7(-0x7b,-0x1d,-_0x573852._0x5ae39d,-_0x573852._0x19adfd)],_0x5a8e7c[_0x577c7d(0x513,_0x573852._0x4db991,_0x573852._0x30338e,0x482)]))return Object[_0x5bbcb7(-0x27,_0x573852._0xdcf9c0,-_0x573852._0x2acee9,-0x44)](_0x18d548['environmen'+'ts']);else _0x5b482c[_0x577c7d(_0x573852._0x4a5127,_0x573852._0x4b7bb3,0x530,0x5a6)](_0x583b1e)&&_0x32160c[_0x5bbcb7(-0x3a,-_0x573852._0x2bd261,-0x59,-0x85)](_0x5e526a);}const _0x467ba9=await _0x37748f['getBinding'+'s']();return[...new Set(_0x467ba9[_0x577c7d(0x510,_0x573852._0x5f471f,_0x573852._0x2e0ff7,0x503)](_0x11b5cc=>_0x11b5cc[_0x5bbcb7(0x87,0x4f,0x3f,0x17)+_0x5bbcb7(-0x18,0x7c,0x30,0x1)]===_0x577c7d(0x58a,0x55a,0x52d,0x5b2)+'t'&&_0x11b5cc[_0x577c7d(0x4bb,0x4e9,0x4fd,0x4ae)+'d']&&_0x11b5cc[_0x577c7d(0x48f,0x4e9,0x4c0,0x499)+'d']!=='*')[_0x577c7d(0x548,_0x573852._0x1fbba0,0x501,0x566)](_0x542e4c=>_0x542e4c[_0x577c7d(0x4a5,0x4e9,0x53c,0x4a1)+'d']))];}},deps;}async function d(){const _0x35e306={_0x34bbe6:0x3ac,_0x58b3f8:0x3fb},_0x50ac9c={_0x4d79aa:0x21f};function _0x510224(_0x549ee2,_0x46b931,_0x4383c4,_0x1519f7){return _0x186d(_0x46b931-_0x50ac9c._0x4d79aa,_0x4383c4);}const _0x14d6f3={'WKKLs':function(_0x43b8a8){return _0x43b8a8();}};return deps||await _0x14d6f3[_0x510224(_0x35e306._0x34bbe6,_0x35e306._0x58b3f8,0x3b5,0x416)](loadProductionDeps);}async function collectBindingsForUser(_0x4673bf,_0x1d0623,_0x266f93){const _0x46a9ec={_0x327329:0x516,_0x26d228:0x52e,_0x196abb:0x4f3,_0x4e8b6b:0xdb,_0x3ce89b:0x55,_0x4cd3e8:0xa5,_0x53250e:0x59,_0x3863d2:0x26,_0x2fb1bf:0x24,_0x501ce1:0x74,_0x20cab9:0xaf,_0x434124:0x40,_0x104e1a:0x8f,_0x8d660d:0xae,_0x165601:0xce,_0x24dae2:0x56c,_0x3efe8c:0x51d,_0x451bca:0x4fc,_0x550121:0x549,_0x917178:0x509,_0x5ac191:0x4fe,_0x3da001:0x531,_0x55d714:0x51a,_0xe0321c:0x6c,_0x261372:0xdb,_0x38d01b:0x5d5,_0xe1fb06:0x59a,_0x52eac9:0x573,_0x3ae8bd:0xe,_0x1de433:0x7d,_0x13438e:0x35,_0xc8ffd:0x51,_0x43d337:0x581,_0x31f2a4:0x5a6,_0x5db61f:0x39,_0x49a952:0x19},_0xbccf6f={_0x504242:0x35d},_0xd168c7={'LFNnR':function(_0x1da8bd){return _0x1da8bd();},'qfVyK':function(_0x40fd1c,_0x2636de){return _0x40fd1c(_0x2636de);},'wqUhg':function(_0x332e70,_0x807f25){return _0x332e70===_0x807f25;},'IyIhE':_0x3c08e7(0x4f2,_0x46a9ec._0x327329,_0x46a9ec._0x26d228,_0x46a9ec._0x196abb),'vCmjN':function(_0x3df77a,_0x1b7e4a){return _0x3df77a===_0x1b7e4a;},'TytGo':function(_0x49110c,_0x34c2a8){return _0x49110c===_0x34c2a8;},'hfjAA':_0x3c08e7(0x5ee,0x5a3,0x56f,0x5b9)};function _0x3c08e7(_0x38dac3,_0x1e70d7,_0x433ff2,_0x44b841){return _0x186d(_0x1e70d7-_0xbccf6f._0x504242,_0x433ff2);}const {getTeamsByUserId:_0xfc7074,getBindingsByResource:_0x187773}=await _0xd168c7[_0x376fbf(-_0x46a9ec._0x4e8b6b,-_0x46a9ec._0x3ce89b,-_0x46a9ec._0x4cd3e8,-_0x46a9ec._0x53250e)](d),_0x48c3e5=await _0xd168c7[_0x376fbf(-_0x46a9ec._0x3863d2,-_0x46a9ec._0x2fb1bf,-_0x46a9ec._0x501ce1,-0x63)](_0xfc7074,_0x4673bf),_0x345da6=new Set(_0x48c3e5[_0x376fbf(-_0x46a9ec._0x20cab9,-_0x46a9ec._0x434124,-0x5b,-0x57)](_0x1550f1=>_0x1550f1['id']));let _0x4dc090=[];if(_0xd168c7[_0x376fbf(-0x65,-_0x46a9ec._0x104e1a,-_0x46a9ec._0x8d660d,-_0x46a9ec._0x165601)](_0x1d0623,_0xd168c7['IyIhE'])){if(_0xd168c7[_0x3c08e7(_0x46a9ec._0x24dae2,_0x46a9ec._0x3efe8c,_0x46a9ec._0x451bca,0x575)]('gZKYu',_0x3c08e7(0x539,_0x46a9ec._0x550121,_0x46a9ec._0x917178,_0x46a9ec._0x5ac191)))for(const _0x49984f of _0xd16713[_0x3c08e7(_0x46a9ec._0x3da001,_0x46a9ec._0x55d714,0x518,0x547)+'s']){_0xab5ba7[_0x376fbf(-_0x46a9ec._0xe0321c,-0x80,-0xb9,-_0x46a9ec._0x261372)](_0x49984f);}else _0x4dc090=await _0x187773(_0xd168c7[_0x3c08e7(_0x46a9ec._0x38d01b,_0x46a9ec._0xe1fb06,_0x46a9ec._0x550121,_0x46a9ec._0x52eac9)]);}else{if(_0xd168c7[_0x376fbf(-_0x46a9ec._0x3ae8bd,-_0x46a9ec._0x1de433,-_0x46a9ec._0x13438e,-_0x46a9ec._0xc8ffd)](_0xd168c7[_0x3c08e7(0x565,0x57e,0x576,0x580)],_0xd168c7['hfjAA'])){_0x4dc090=await _0x187773(_0x1d0623,_0x266f93);const _0x33226f=await _0x187773(_0xd168c7[_0x3c08e7(_0x46a9ec._0x43d337,0x59a,0x56e,_0x46a9ec._0x31f2a4)]);_0x4dc090=[..._0x4dc090,..._0x33226f];}else return['*'];}function _0x376fbf(_0x3d285d,_0x524fab,_0x5d19d2,_0x2a4da6){return _0x186d(_0x5d19d2- -0x274,_0x3d285d);}return _0x4dc090[_0x376fbf(-_0x46a9ec._0x5db61f,_0x46a9ec._0x49a952,-0x28,-0x2e)](_0x409c3f=>_0x409c3f[_0x3c08e7(0x561,0x5a0,0x57d,0x5ca)+'pe']===_0x376fbf(-0xbf,-0x84,-0xac,-0xff)&&_0x409c3f['subject_id']===_0x4673bf||_0x409c3f['subject_ty'+'pe']===_0x3c08e7(0x589,0x5b1,0x56a,0x609)&&_0x345da6['has'](_0x409c3f['subject_id']));}export async function resolveUserPermissions(_0x186748,_0x38776e){const _0x6bda1f={_0x383890:0x4ef,_0x105f9c:0x4c9,_0x45dae3:0x4a4,_0x1873b8:0x525,_0x56941d:0x4a2,_0x396eae:0x452,_0x26577f:0x4cc,_0x22d65b:0x4b5,_0x64dc15:0x4dd,_0x23a62e:0x489,_0x184194:0x4a5,_0x2ee431:0x4df,_0x3bbd6d:0x4bd,_0x3e04ff:0x55f,_0x56aeaf:0x516,_0x54025c:0x54c,_0x541d14:0x4e8,_0xed4ac2:0x4bc,_0x575fa2:0x4b1,_0x425884:0x479,_0x67cbbc:0x53c},_0x3c8d07={_0xb38e9a:0x2d4},_0x4c270d={_0x580c25:0x2db},_0x31f293={'gsvOM':function(_0x5a038e){return _0x5a038e();},'Ipbnj':_0x3be386(0x576,0x557,0x535,_0x6bda1f._0x383890)+'t','SgmpJ':function(_0x1935e3,_0x2619dd){return _0x1935e3(_0x2619dd);},'Ocfwc':'VZHGv','iSeXy':_0x3a01ca(_0x6bda1f._0x105f9c,_0x6bda1f._0x45dae3,0x46a,0x499)},{getRoleById:_0x50d74d}=await _0x31f293[_0x3be386(0x4b3,0x542,0x503,_0x6bda1f._0x1873b8)](d),_0x18d62d=await collectBindingsForUser(_0x186748,_0x31f293[_0x3a01ca(0x4ad,_0x6bda1f._0x56941d,0x450,_0x6bda1f._0x396eae)],_0x38776e),_0x159214=new Set();function _0x3be386(_0x4ec712,_0x42ebef,_0x1d008b,_0x3c0373){return _0x186d(_0x1d008b-_0x4c270d._0x580c25,_0x42ebef);}for(const _0x29acd8 of _0x18d62d){const _0x512740=await _0x31f293['SgmpJ'](_0x50d74d,_0x29acd8[_0x3a01ca(0x513,_0x6bda1f._0x26577f,_0x6bda1f._0x22d65b,_0x6bda1f._0x64dc15)]);if(_0x512740)for(const _0x327b7d of _0x512740[_0x3be386(0x496,_0x6bda1f._0x23a62e,0x498,0x4f1)+'s']){if(_0x31f293[_0x3a01ca(_0x6bda1f._0x184194,0x4bb,_0x6bda1f._0x2ee431,_0x6bda1f._0x3bbd6d)]===_0x31f293[_0x3be386(_0x6bda1f._0x3e04ff,0x53c,_0x6bda1f._0x56aeaf,_0x6bda1f._0x54025c)]){if(_0x37f5c5[_0x3be386(_0x6bda1f._0x541d14,_0x6bda1f._0xed4ac2,0x4ed,_0x6bda1f._0x575fa2)](_0x165478=>_0x165478['id']===_0x2a93a5[_0x3a01ca(0x4e7,0x4fa,0x505,0x541)]))return!![];}else _0x159214[_0x3be386(0x47a,0x4d4,0x496,_0x6bda1f._0x425884)](_0x327b7d);}}function _0x3a01ca(_0x471a7b,_0x207680,_0x124ebe,_0x20dc35){return _0x186d(_0x207680-_0x3c8d07._0xb38e9a,_0x471a7b);}if(_0x159214[_0x3be386(0x568,0x52a,_0x6bda1f._0x67cbbc,0x581)]('*'))return['*'];return[..._0x159214];}export async function hasPermission(_0x444686,_0x1f7c72,_0x598482){const _0x288cc4={_0x5dde2d:0x17d,_0x580ff7:0x3b2,_0x4b1102:0x1b7,_0xbe047b:0x191,_0x15623f:0x1c9,_0x3a8a53:0x320,_0x59434d:0x336,_0x737aa4:0x336,_0x21ee01:0x14b,_0x758ee5:0x17b,_0x2e8bd5:0x17d,_0x295793:0x318,_0x83ca18:0x340,_0x4ef68f:0x38c,_0x3dccd1:0x13b,_0x150935:0x116,_0x3f8ed4:0x181,_0x5cfdc0:0x2e5,_0x57199a:0x231,_0x24564d:0x1e0,_0xb40280:0x1ed,_0x27cdb8:0x1ca,_0x8e074a:0x3ae,_0x42c516:0x34a,_0x387bed:0x321,_0x4ad9e9:0x16d,_0x330ac5:0x172,_0x95f857:0x138,_0x12d9d4:0x137,_0x552fc2:0x16c,_0x30fce4:0x176,_0x3cd0b2:0x13f,_0x4a543b:0x1ae,_0x4add9c:0x345,_0x299916:0x12a,_0x9aa149:0x173,_0x554b11:0x126,_0x156c64:0x18a,_0x13d988:0x18b,_0x10584b:0x20b,_0x81f98b:0x2cc,_0x3a7276:0x2f1,_0x37b377:0x30d,_0x246fd3:0x348,_0x5d4a9c:0x371,_0x4e7f7b:0x3b2,_0x2cea5d:0x378,_0x339d9d:0x107,_0x4ec5f9:0x13c,_0x5636d4:0x137,_0x56f82e:0x199,_0x4fffa9:0x183,_0x41c774:0x16a,_0x3e2cb9:0x188,_0x1afc12:0x33b,_0x42b854:0x174,_0x2ef51c:0x16d,_0x2d42e2:0x336,_0x5d3411:0x30f,_0x42364c:0x2b2,_0x55cab8:0x31b,_0x52a3e1:0x3de,_0x4d0f3d:0x389,_0x209c46:0x3bc,_0x2b4439:0x1e2,_0x2c8d45:0x1d0,_0x48819b:0x34c,_0xa9bf89:0x323,_0x4d0d82:0x3d0,_0x186411:0x3cd,_0x251bd5:0x32f,_0x352232:0x1be,_0x1b36e5:0x19e,_0x22d24d:0x158,_0x59456f:0x1e6,_0x33ee55:0x103,_0x385001:0x120,_0x5a0b5f:0x128,_0x1bd4b7:0x182,_0x3f0481:0x305,_0x351eee:0x2bd,_0x32bb97:0x392,_0x3adee5:0x377,_0x48f198:0x39f},_0x2bca5a={_0x569954:0x396},_0x2db104={'lJPaz':function(_0x4bff4f){return _0x4bff4f();},'rtPCM':function(_0x1429c7,_0x107405){return _0x1429c7(_0x107405);},'TWZNF':function(_0x3be4dc,_0x515127){return _0x3be4dc===_0x515127;},'epUMb':'server','YjPrt':function(_0xe880f4,_0x307e93){return _0xe880f4===_0x307e93;},'ZTtIx':'rATmn','kHHJI':function(_0x543bcd,_0x19c650,_0xdd7600){return _0x543bcd(_0x19c650,_0xdd7600);},'naUsn':_0x2cbd97(-_0x288cc4._0x5dde2d,-0x1ce,-0x1fa,-0x207),'JTEKB':'team','kNJAz':function(_0x2c7bb1,_0x3487e2){return _0x2c7bb1===_0x3487e2;},'NcBCd':_0x253d01(0x39f,0x382,_0x288cc4._0x580ff7,0x36b)+'t','WcEhs':function(_0x2a383f,_0x5aea55,_0x449737,_0xefa96b){return _0x2a383f(_0x5aea55,_0x449737,_0xefa96b);},'NFfOu':function(_0x5f0f12,_0x9830ce){return _0x5f0f12!==_0x9830ce;},'bfedt':_0x2cbd97(-_0x288cc4._0x4b1102,-0x1c1,-_0x288cc4._0xbe047b,-_0x288cc4._0x15623f),'UlcdF':function(_0x446672,_0x1977bd){return _0x446672(_0x1977bd);},'TIAbl':function(_0xeab1a,_0x329f38,_0x91f7f8){return _0xeab1a(_0x329f38,_0x91f7f8);},'LikJf':_0x253d01(_0x288cc4._0x3a8a53,0x34d,_0x288cc4._0x59434d,_0x288cc4._0x737aa4),'sVSxO':_0x2cbd97(-_0x288cc4._0x21ee01,-_0x288cc4._0x758ee5,-_0x288cc4._0x2e8bd5,-0x125),'idbJE':function(_0xa22027,_0xaa1c79){return _0xa22027(_0xaa1c79);},'pxMfC':function(_0x315d39,_0x42603a,_0x1caea4){return _0x315d39(_0x42603a,_0x1caea4);},'eAXZN':_0x253d01(_0x288cc4._0x295793,0x2e7,0x2c4,0x2f2),'rPKmL':_0x2cbd97(-0x133,-0x156,-0x142,-0x14b)};function _0x253d01(_0x83a43f,_0x353dde,_0x2af617,_0x1d3831){return _0x186d(_0x353dde-0x128,_0x2af617);}const {getRoleById:_0x4253b5}=await _0x2db104[_0x253d01(_0x288cc4._0x83ca18,0x387,_0x288cc4._0x4ef68f,0x3d3)](d),_0x5753e2=_0x2db104[_0x2cbd97(-_0x288cc4._0x3dccd1,-0x165,-0x10c,-_0x288cc4._0x150935)](getPermissionScope,_0x1f7c72);if(_0x2db104[_0x2cbd97(-0x145,-0x182,-0x170,-_0x288cc4._0x3f8ed4)](_0x5753e2,_0x2db104[_0x253d01(_0x288cc4._0x5cfdc0,0x310,0x363,0x2d5)])){if(_0x2db104[_0x2cbd97(-_0x288cc4._0x57199a,-_0x288cc4._0x24564d,-_0x288cc4._0xb40280,-_0x288cc4._0x27cdb8)](_0x2db104[_0x253d01(_0x288cc4._0x8e074a,0x361,_0x288cc4._0x42c516,_0x288cc4._0x387bed)],_0x2db104[_0x2cbd97(-0x18a,-0x15d,-_0x288cc4._0x4ad9e9,-_0x288cc4._0x330ac5)])){const {getBindingsBySubject:_0x3d4a03,getTeamsByUserId:_0x487d80}=await _0x2db104[_0x2cbd97(-_0x288cc4._0x95f857,-_0x288cc4._0x12d9d4,-0x151,-_0x288cc4._0x552fc2)](d),_0x332bd6=await _0x2db104['kHHJI'](_0x3d4a03,_0x2db104[_0x2cbd97(-0x15b,-_0x288cc4._0x30fce4,-_0x288cc4._0x3cd0b2,-_0x288cc4._0x4a543b)],_0x444686),_0x24bcf2=await _0x487d80(_0x444686),_0x4b45c3=[..._0x332bd6];for(const _0x13d5c of _0x24bcf2){const _0x332db0=await _0x3d4a03(_0x2db104[_0x253d01(0x36a,0x353,_0x288cc4._0x4add9c,0x332)],_0x13d5c['id']);_0x4b45c3[_0x2cbd97(-_0x288cc4._0x299916,-_0x288cc4._0x9aa149,-0x11d,-_0x288cc4._0x554b11)](..._0x332db0);}for(const _0x947f80 of _0x4b45c3){const _0x525079=await _0x4253b5(_0x947f80[_0x2cbd97(-_0x288cc4._0x156c64,-0x19e,-0x171,-0x1d9)]);if(_0x525079&&_0x2db104[_0x2cbd97(-0x1f1,-0x1dc,-_0x288cc4._0x13d988,-0x185)](hasPermissionInSet,_0x525079[_0x2cbd97(-0x19a,-0x1d9,-_0x288cc4._0x10584b,-0x181)+'s'],_0x1f7c72))return!![];}return![];}else return!![];}if(_0x2db104[_0x253d01(_0x288cc4._0x81f98b,_0x288cc4._0x3a7276,_0x288cc4._0x37b377,_0x288cc4._0x246fd3)](_0x5753e2,_0x2db104[_0x2cbd97(-0x1d3,-0x1a9,-0x16b,-0x175)])){if(!_0x598482)return![];const _0x43a9d1=await _0x2db104[_0x253d01(0x395,_0x288cc4._0x5d4a9c,_0x288cc4._0x4e7f7b,_0x288cc4._0x2cea5d)](collectBindingsForUser,_0x444686,_0x2cbd97(-_0x288cc4._0x339d9d,-_0x288cc4._0x4ec5f9,-_0x288cc4._0x5636d4,-0x144)+'t',_0x598482);for(const _0x5d2783 of _0x43a9d1){if(_0x2db104['NFfOu'](_0x2db104[_0x2cbd97(-0x16f,-_0x288cc4._0x56f82e,-_0x288cc4._0x4fffa9,-0x194)],_0x2cbd97(-_0x288cc4._0x9aa149,-_0x288cc4._0x41c774,-_0x288cc4._0x3e2cb9,-_0x288cc4._0x4ad9e9))){const _0x2f8060=await _0x2db104['UlcdF'](_0x4253b5,_0x5d2783[_0x253d01(_0x288cc4._0x1afc12,_0x288cc4._0x3a8a53,0x2fe,0x360)]);if(_0x2f8060&&_0x2db104[_0x2cbd97(-0x135,-_0x288cc4._0x42b854,-_0x288cc4._0x3dccd1,-_0x288cc4._0x2ef51c)](hasPermissionInSet,_0x2f8060[_0x253d01(_0x288cc4._0x2d42e2,0x2e5,_0x288cc4._0x5d3411,0x327)+'s'],_0x1f7c72))return!![];}else for(const _0x43c634 of _0x44e218[_0x253d01(_0x288cc4._0x42364c,0x2e5,0x2ab,_0x288cc4._0x55cab8)+'s']){_0x4b0bd0[_0x253d01(_0x288cc4._0x52a3e1,_0x288cc4._0x4d0f3d,0x344,_0x288cc4._0x209c46)](_0x43c634)&&_0x1123ef[_0x3caee0]['add'](_0x43c634);}}return![];}function _0x2cbd97(_0x3c79c7,_0x216b3e,_0x54fb0e,_0x146e66){return _0x186d(_0x216b3e- -_0x2bca5a._0x569954,_0x54fb0e);}if(_0x5753e2===_0x2db104['JTEKB']){if(_0x2db104['NFfOu'](_0x2db104[_0x2cbd97(-_0x288cc4._0x2b4439,-0x1d5,-_0x288cc4._0x2c8d45,-0x1f9)],_0x2db104[_0x253d01(_0x288cc4._0x48819b,0x37a,0x3b0,_0x288cc4._0xa9bf89)])){if(!_0x598482)return![];const _0x44956a=await collectBindingsForUser(_0x444686,_0x253d01(0x35c,0x37c,_0x288cc4._0x4d0d82,0x366),_0x598482);for(const _0x22f415 of _0x44956a){const _0x4a06be=await _0x2db104[_0x253d01(_0x288cc4._0x186411,0x377,_0x288cc4._0x251bd5,0x3b2)](_0x4253b5,_0x22f415[_0x2cbd97(-_0x288cc4._0x352232,-_0x288cc4._0x1b36e5,-_0x288cc4._0x22d24d,-_0x288cc4._0x59456f)]);if(_0x4a06be&&_0x2db104[_0x2cbd97(-_0x288cc4._0x33ee55,-0x139,-0x167,-_0x288cc4._0x385001)](hasPermissionInSet,_0x4a06be[_0x2cbd97(-0x192,-0x1d9,-0x1a6,-0x205)+'s'],_0x1f7c72)){if(_0x2db104[_0x2cbd97(-_0x288cc4._0x5a0b5f,-_0x288cc4._0x1bd4b7,-_0x288cc4._0x2c8d45,-0x1b3)](_0x2db104[_0x253d01(0x365,0x35c,0x318,_0x288cc4._0x3f0481)],_0x2db104['rPKmL']))_0x50a3dc[_0x5521bf][_0x253d01(0x29d,0x2e3,0x2b1,_0x288cc4._0x351eee)](_0x2da41a);else return!![];}}return![];}else return!![];}return await _0x2db104[_0x253d01(_0x288cc4._0x32bb97,_0x288cc4._0x3adee5,0x354,_0x288cc4._0x48f198)](hasAllPermissions,_0x444686);}export async function hasAllPermissions(_0x119075){const _0xc6527b={_0x2231a1:0xea,_0x258cea:0x1cf,_0x4cefce:0x205,_0x5b8431:0xc4,_0x596855:0xcf,_0x12697f:0x123,_0x5c17b5:0x150,_0x383d6a:0x127,_0x2bbae1:0x15c,_0xd5e48a:0x177,_0x57cd8f:0x142,_0x1308ed:0xe4,_0x35af05:0x12f,_0xb77146:0x20f,_0xacb6f4:0x11f,_0x3ced87:0x161,_0x4e5e4d:0x145,_0x355b2d:0x109,_0xaa3c7f:0x131,_0x274578:0x111,_0x23033c:0x159},_0x24f3a8={'IManJ':function(_0x4ec09f){return _0x4ec09f();},'nSPNa':'user','eGHxj':function(_0x11c063,_0x5c223c){return _0x11c063(_0x5c223c);},'pDAtX':function(_0x58d080,_0x22ab38){return _0x58d080(_0x22ab38);},'nRDvd':function(_0x89db32,_0x51b930,_0x8c3b2e){return _0x89db32(_0x51b930,_0x8c3b2e);}};function _0x90d9b2(_0x3f6add,_0x569042,_0x203886,_0x303fdd){return _0x186d(_0x3f6add- -0x8c,_0x569042);}function _0x71621d(_0x511e32,_0x5b1ee6,_0x3a7a64,_0x5d70e3){return _0x186d(_0x3a7a64- -0xef,_0x511e32);}const {getBindingsBySubject:_0x253b0c,getTeamsByUserId:_0xc7c4d7,getRoleById:_0x24a0da}=await _0x24f3a8[_0x71621d(0x12e,0x8f,0xe3,_0xc6527b._0x2231a1)](d),_0x1a3ccb=await _0x253b0c(_0x24f3a8[_0x90d9b2(_0xc6527b._0x258cea,0x1ce,_0xc6527b._0x4cefce,0x17b)],_0x119075);for(const _0x575df9 of _0x1a3ccb){const _0x23c649=await _0x24f3a8['eGHxj'](_0x24a0da,_0x575df9[_0x71621d(_0xc6527b._0x5b8431,_0xc6527b._0x596855,0x109,_0xc6527b._0x12697f)]);if(_0x23c649&&_0x23c649[_0x90d9b2(0x131,_0xc6527b._0x5c17b5,_0xc6527b._0x383d6a,_0xc6527b._0x2bbae1)+'s'][_0x90d9b2(0x162,0x128,_0xc6527b._0xd5e48a,_0xc6527b._0x57cd8f)]('*'))return!![];}const _0x18fad5=await _0x24f3a8[_0x71621d(_0xc6527b._0x1308ed,0x131,_0xc6527b._0x35af05,0xf6)](_0xc7c4d7,_0x119075);for(const _0xd7fb2b of _0x18fad5){const _0xf56f7e=await _0x24f3a8['nRDvd'](_0x253b0c,_0x90d9b2(0x1c8,_0xc6527b._0xb77146,0x208,0x18c),_0xd7fb2b['id']);for(const _0x1d5d9d of _0xf56f7e){const _0x54bc17=await _0x24f3a8[_0x71621d(0x121,0x163,_0xc6527b._0xacb6f4,_0xc6527b._0x3ced87)](_0x24a0da,_0x1d5d9d[_0x71621d(0x126,_0xc6527b._0x4e5e4d,_0xc6527b._0x355b2d,0x12d)]);if(_0x54bc17&&_0x54bc17[_0x90d9b2(_0xc6527b._0xaa3c7f,0x132,_0xc6527b._0x274578,0x145)+'s'][_0x71621d(_0xc6527b._0x23033c,0xcb,0xff,0xbe)]('*'))return!![];}}return![];}export async function getVisibleEnvironments(_0x30d6fa){const _0x313a73={_0x2f866d:0x422,_0x58d778:0x416,_0x172400:0x44a,_0x102ff8:0x40d,_0x3a157a:0x424,_0x1e1a67:0x3ca,_0x475433:0xce,_0x2e85ee:0xaa,_0x11c7fd:0xfb,_0xe8e0b3:0x122,_0x3936ea:0xb4,_0x5de63c:0x4bb,_0x5f403e:0x449,_0x57233f:0x46f,_0x506754:0x49e,_0x486c3a:0xdd,_0x4a53b8:0xa9,_0x141f3a:0x8f,_0x5e8db6:0xcd,_0x15740d:0xb9,_0x1724a9:0x56,_0x23df44:0x36,_0x387992:0x8d,_0x1c10fd:0x104,_0x17f05f:0xd8,_0x12ad33:0xac,_0x35678f:0x438,_0x1af4cf:0x418,_0x482442:0x462,_0x2d394f:0x46d,_0x579bba:0x77,_0x231d9d:0x151,_0x3f8085:0x12c,_0x27726f:0xc5,_0x33b154:0xb6,_0x4623b9:0x453,_0x4edc8b:0x14b,_0x5b445b:0x110,_0x11cfd9:0xed,_0x39f0e2:0x1e,_0x2294d7:0x1f,_0x288ffe:0x4ab,_0x498fd7:0x476,_0x1aec37:0x14c,_0x22cee5:0xf3,_0x5e8eae:0xbc,_0x11b59c:0x408,_0x584482:0x41b,_0x4aab58:0x400,_0x40f6ea:0x3bd,_0x132c72:0x4cf,_0x2b7658:0x3bd,_0x5c8c29:0x10e,_0x426ef2:0x4ab,_0x244050:0x4b5,_0x19fb84:0x486,_0x603eff:0x456,_0x5597c4:0x10b,_0x55fe2c:0xfc,_0x165773:0x424,_0x55e3f7:0x41f,_0x1d9127:0x430,_0x27df90:0x49a,_0x5d5915:0x466,_0x9abea5:0x4ee,_0x2ee689:0x47d,_0x57bdf9:0x45b,_0x4b8187:0x407,_0x220a6b:0x4c2,_0x4b06d2:0x400,_0x212b7e:0x3f7,_0x3f57b7:0x46b,_0x5d013a:0x400,_0x2a419f:0x3fc},_0x450458={_0x23aae2:0x151},_0x4ac192={_0xf17aa5:0x245};function _0x27e254(_0x3a224c,_0xe8bfd0,_0x30989d,_0x33e6de){return _0x186d(_0x3a224c-_0x4ac192._0xf17aa5,_0x30989d);}const _0x1b1c4e={'GAhyd':function(_0x6407f3){return _0x6407f3();},'MnXYT':function(_0x212697,_0x47165f){return _0x212697(_0x47165f);},'wbhcg':function(_0x5e6095,_0x574439){return _0x5e6095!==_0x574439;},'LPBnb':_0x27e254(_0x313a73._0x2f866d,_0x313a73._0x58d778,0x3ee,_0x313a73._0x172400),'OiuMB':function(_0x3fd6d3){return _0x3fd6d3();},'rfuZt':function(_0x517413,_0x89ba98,_0xefc087){return _0x517413(_0x89ba98,_0xefc087);},'mHIkW':_0x27e254(_0x313a73._0x102ff8,_0x313a73._0x3a157a,0x3f3,_0x313a73._0x1e1a67),'cIWTy':function(_0xc2a36c,_0x27669a){return _0xc2a36c!==_0x27669a;},'TEbzU':_0x5ede8e(0xc9,_0x313a73._0x475433,_0x313a73._0x2e85ee,0x6b),'eIsPf':function(_0x3d859a,_0x1b5a70){return _0x3d859a===_0x1b5a70;},'PdWtb':_0x5ede8e(_0x313a73._0x11c7fd,_0x313a73._0xe8e0b3,0x109,0xe0)+'t','LPzsI':function(_0x4c3547,_0x4d9215){return _0x4c3547(_0x4d9215);},'Stvad':function(_0x47a4c4,_0x294cf4,_0x4a6160){return _0x47a4c4(_0x294cf4,_0x4a6160);},'pQOVd':_0x5ede8e(_0x313a73._0x3936ea,0xfa,0x103,0x124),'kymwq':_0x27e254(0x47b,_0x313a73._0x5de63c,_0x313a73._0x5f403e,_0x313a73._0x57233f),'ZdBmq':_0x27e254(0x4a3,0x4fb,0x4b0,_0x313a73._0x506754),'TqDkX':function(_0xd1b42a,_0x576e5a){return _0xd1b42a===_0x576e5a;},'eRQkE':function(_0x358ef4,_0x199078){return _0x358ef4===_0x199078;},'CCdYE':_0x5ede8e(_0x313a73._0x486c3a,_0x313a73._0x4a53b8,_0x313a73._0x141f3a,_0x313a73._0x5e8db6),'OHeMY':_0x5ede8e(0x9a,0x60,_0x313a73._0x15740d,0x9f),'OWZGZ':function(_0x391b5d){return _0x391b5d();}},{getTeamsByUserId:_0x1e5a43,getBindingsBySubject:_0x164dc7,getAllEnvironments:_0x3dde30}=await _0x1b1c4e[_0x5ede8e(_0x313a73._0x1724a9,0x4a,0x71,_0x313a73._0x23df44)](d),_0x33fea1=await _0x1b1c4e[_0x5ede8e(_0x313a73._0x387992,_0x313a73._0x1c10fd,_0x313a73._0x17f05f,_0x313a73._0x12ad33)](hasAllPermissions,_0x30d6fa);function _0x5ede8e(_0x3bd1d7,_0x175e36,_0x24cd9b,_0x1b081f){return _0x186d(_0x24cd9b- -_0x450458._0x23aae2,_0x3bd1d7);}if(_0x33fea1){if(_0x1b1c4e[_0x27e254(_0x313a73._0x35678f,0x3e1,_0x313a73._0x1af4cf,0x47d)](_0x1b1c4e[_0x27e254(_0x313a73._0x482442,0x4a5,0x48e,_0x313a73._0x2d394f)],_0x1b1c4e[_0x5ede8e(0x97,0x82,0xcc,_0x313a73._0x579bba)]))_0x236cac[_0x13eff1]['add'](_0x31ef02);else return await _0x1b1c4e[_0x5ede8e(_0x313a73._0x231d9d,_0x313a73._0x3f8085,0xfa,0x14a)](_0x3dde30);}const _0x4bc5c4=new Set(),_0x4e4bcc=await _0x1b1c4e[_0x5ede8e(_0x313a73._0x27726f,0xee,_0x313a73._0x33b154,_0x313a73._0x2e85ee)](_0x164dc7,_0x1b1c4e[_0x27e254(0x449,_0x313a73._0x4623b9,0x3ef,0x45a)],_0x30d6fa);for(const _0x5c13d3 of _0x4e4bcc){if(_0x1b1c4e[_0x27e254(0x42a,0x3e5,0x41c,0x3e5)](_0x5ede8e(0xb9,0x70,_0x313a73._0x2e85ee,0x89),_0x1b1c4e['TEbzU']))_0x14f913[_0x5ede8e(0x160,_0x313a73._0x4edc8b,_0x313a73._0x5b445b,_0x313a73._0x11cfd9)](_0x4592c7)&&_0x4874c0[_0x525a81][_0x5ede8e(0xb9,_0x313a73._0x39f0e2,0x6a,_0x313a73._0x2294d7)](_0x18d19a);else{if(_0x1b1c4e[_0x27e254(_0x313a73._0x288ffe,0x4b0,0x505,_0x313a73._0x498fd7)](_0x5c13d3['resource_t'+_0x5ede8e(_0x313a73._0x1aec37,0x10c,_0x313a73._0x22cee5,_0x313a73._0x5e8eae)],_0x1b1c4e['PdWtb'])){if(_0x1b1c4e['eIsPf'](_0x5c13d3[_0x27e254(0x42e,0x402,0x439,0x47a)+'d'],'*'))return await _0x1b1c4e[_0x27e254(0x407,_0x313a73._0x11b59c,_0x313a73._0x584482,0x410)](_0x3dde30);_0x4bc5c4[_0x27e254(_0x313a73._0x4aab58,0x434,_0x313a73._0x40f6ea,0x3fc)](_0x5c13d3['resource_i'+'d']);}}}const _0x45c4f5=await _0x1b1c4e['LPzsI'](_0x1e5a43,_0x30d6fa);for(const _0xc53872 of _0x45c4f5){const _0x5eac30=await _0x1b1c4e['Stvad'](_0x164dc7,_0x1b1c4e[_0x27e254(0x486,0x4d6,0x448,_0x313a73._0x132c72)],_0xc53872['id']);for(const _0x4a3f7a of _0x5eac30){if(_0x1b1c4e[_0x27e254(0x40f,0x3d1,_0x313a73._0x2b7658,0x460)]!==_0x1b1c4e[_0x5ede8e(0xd3,0xb0,0xe7,_0x313a73._0x5c8c29)]){if(_0x1b1c4e[_0x27e254(_0x313a73._0x426ef2,_0x313a73._0x244050,_0x313a73._0x19fb84,0x46b)](_0x4a3f7a['resource_t'+_0x27e254(0x489,0x450,_0x313a73._0x603eff,0x46f)],_0x1b1c4e[_0x5ede8e(_0x313a73._0x5597c4,0xf6,_0x313a73._0x55fe2c,0x128)])){if(_0x1b1c4e[_0x27e254(_0x313a73._0x165773,_0x313a73._0x55e3f7,_0x313a73._0x1d9127,0x424)](_0x4a3f7a['resource_i'+'d'],'*'))return _0x1b1c4e[_0x27e254(_0x313a73._0x27df90,_0x313a73._0x5d5915,_0x313a73._0x9abea5,_0x313a73._0x2ee689)](_0x1b1c4e[_0x27e254(_0x313a73._0x57bdf9,0x483,0x47e,_0x313a73._0x4b8187)],_0x1b1c4e[_0x27e254(0x478,0x496,0x4a7,_0x313a73._0x220a6b)])?_0x569595:await _0x1b1c4e['OWZGZ'](_0x3dde30);_0x4bc5c4[_0x27e254(_0x313a73._0x4b06d2,0x40c,_0x313a73._0x212b7e,0x3c4)](_0x4a3f7a[_0x27e254(0x42e,_0x313a73._0x3f57b7,0x3d7,0x471)+'d']);}}else _0x36d8f4[_0x27e254(_0x313a73._0x5d013a,0x3c4,0x422,_0x313a73._0x2a419f)](_0x5453b6);}}return[..._0x4bc5c4];}export async function resolveUserPermissionsAllEnvironments(_0x938011){const _0x4eadd2={_0x4252af:0xb,_0x43d6a1:0x61,_0xd324ac:0x565,_0x15756a:0x97,_0x54bed7:0x27,_0xcf58c9:0x6f,_0x392ba3:0xb0,_0x544bc1:0x518,_0xfba85e:0x523},_0x41e5c7={_0x150bac:0x253},_0x1ae1c8={'uUEYn':function(_0x327e50,_0x36caf5){return _0x327e50===_0x36caf5;},'xFShy':_0x5ed140(-0x5c,_0x4eadd2._0x4252af,-0x34,-_0x4eadd2._0x43d6a1),'alTYp':'qancc','VLQWF':function(_0xa7b168,_0xee887,_0x533032){return _0xa7b168(_0xee887,_0x533032);}},_0x474ed8=await getVisibleEnvironments(_0x938011);function _0x5ed140(_0x14d8ee,_0x5c4fd0,_0x809512,_0x28999a){return _0x186d(_0x809512- -_0x41e5c7._0x150bac,_0x14d8ee);}const _0x5dde31={};for(const _0x4eb6cd of _0x474ed8){_0x1ae1c8[_0x421867(_0x4eadd2._0xd324ac,0x562,0x5b6,0x5b2)](_0x1ae1c8['xFShy'],_0x1ae1c8[_0x5ed140(-_0x4eadd2._0x15756a,-_0x4eadd2._0x54bed7,-_0x4eadd2._0xcf58c9,-_0x4eadd2._0x392ba3)])?_0x55af92[_0x2ceded]=[..._0x23fe6d[_0x498d82]]:_0x5dde31[_0x4eb6cd]=await _0x1ae1c8[_0x421867(0x563,_0x4eadd2._0x544bc1,0x58d,_0x4eadd2._0xfba85e)](resolveUserPermissions,_0x938011,_0x4eb6cd);}function _0x421867(_0x4b2d80,_0x301058,_0xfe7248,_0x3dcf37){return _0x186d(_0x4b2d80-0x369,_0x301058);}return _0x5dde31;}export async function resolveUserServerPermissions(_0x1aa4da){const _0x44a91f={_0x85e4ff:0x468,_0x5255f0:0x483,_0x22d32b:0x611,_0x380c13:0x5d9,_0xdadfbd:0x61a,_0x5f1d62:0x3ca,_0x3450ae:0x5ac,_0x2a2d85:0x5f0,_0x2c7640:0x5d1,_0x564b47:0x5ff,_0x1cd3a9:0x5a8,_0x160e50:0x5aa,_0xff583e:0x5f0,_0x15220e:0x472,_0x49fe5d:0x499,_0x225dde:0x48e,_0x1afad6:0x5a6,_0x5708d4:0x5ca,_0x178583:0x5b5,_0x18170d:0x570,_0x36ec7f:0x562,_0x3473a8:0x5c1,_0x2aec88:0x419,_0x32a88a:0x45c,_0x26b534:0x550,_0x2f55ce:0x4b7,_0x3f6740:0x4b0},_0x5f5533={_0xe0f5:0x264},_0x4b1606={'nVpuJ':function(_0x33bb77,_0x5dcbad,_0x2da96b){return _0x33bb77(_0x5dcbad,_0x2da96b);},'NuWyT':_0x168ec9(_0x44a91f._0x85e4ff,_0x44a91f._0x5255f0,0x3e4,0x42c),'jkzrV':_0x158aa7(_0x44a91f._0x22d32b,0x667,_0x44a91f._0x380c13,_0x44a91f._0xdadfbd),'dcFyP':function(_0x317acf,_0x375f1b){return _0x317acf===_0x375f1b;},'UbaaJ':'wWNeU','qBhRk':function(_0x867c37,_0x43b448){return _0x867c37(_0x43b448);}},{getBindingsBySubject:_0x524a43,getTeamsByUserId:_0x1491a4,getRoleById:_0x2aa1d7}=await d(),_0x45d425=new Set(),_0x396fba=new Set(Object[_0x158aa7(0x598,0x5bb,0x624,0x5d5)](PERMISSIONS[_0x168ec9(0x434,_0x44a91f._0x5f1d62,0x3e5,0x41d)]));function _0x158aa7(_0x4b97a5,_0x20fac4,_0xa15c32,_0x203cd9){return _0x186d(_0x203cd9-0x3c6,_0xa15c32);}function _0x168ec9(_0x39af93,_0x2e465a,_0x42f034,_0x289819){return _0x186d(_0x289819-_0x5f5533._0xe0f5,_0x42f034);}const _0x1e31d5=await _0x4b1606[_0x158aa7(0x62a,_0x44a91f._0x3450ae,0x61d,0x5d6)](_0x524a43,_0x4b1606[_0x158aa7(_0x44a91f._0x2a2d85,_0x44a91f._0x2c7640,_0x44a91f._0x564b47,0x600)],_0x1aa4da),_0x309641=await _0x1491a4(_0x1aa4da),_0x4117e7=[..._0x1e31d5];for(const _0x3187f2 of _0x309641){const _0x4a4d1d=await _0x524a43(_0x4b1606[_0x158aa7(_0x44a91f._0x1cd3a9,_0x44a91f._0x160e50,0x60f,_0x44a91f._0xff583e)],_0x3187f2['id']);_0x4117e7[_0x168ec9(_0x44a91f._0x15220e,_0x44a91f._0x49fe5d,_0x44a91f._0x225dde,0x487)](..._0x4a4d1d);}for(const _0x818e2 of _0x4117e7){if(_0x4b1606[_0x158aa7(_0x44a91f._0x1afad6,_0x44a91f._0x5708d4,0x5c4,_0x44a91f._0x178583)](_0x4b1606['UbaaJ'],'wWNeU')){const _0x16687c=await _0x4b1606[_0x158aa7(_0x44a91f._0x18170d,_0x44a91f._0x36ec7f,_0x44a91f._0x3473a8,0x58a)](_0x2aa1d7,_0x818e2[_0x168ec9(0x494,0x498,_0x44a91f._0x2aec88,_0x44a91f._0x32a88a)]);if(!_0x16687c)continue;if(_0x16687c['permission'+'s']['includes']('*'))return['*'];for(const _0x2cd5ab of _0x16687c[_0x158aa7(0x5bf,0x552,_0x44a91f._0x26b534,0x583)+'s']){_0x396fba[_0x168ec9(0x4af,_0x44a91f._0x2f55ce,0x4f9,0x4c5)](_0x2cd5ab)&&_0x45d425['add'](_0x2cd5ab);}}else _0x19499f=_0x7d56e4[_0x168ec9(0x4b5,0x48e,0x4d4,_0x44a91f._0x3f6740)](_0x5672fc=>_0x5672fc!==_0x19a3ff[_0x168ec9(0x49e,0x45c,0x480,0x44f)]);}return[..._0x45d425];}export async function resolveUserTeamPermissionsAll(_0xe7e856){const _0x32c05c={_0x2a66ec:0x292,_0xb2dab:0x249,_0x267fa8:0x25b,_0x26f7f5:0x29a,_0x476d60:0x255,_0x4ccc8f:0x44,_0x55642c:0x96,_0x25a4bf:0x2a6,_0x238fda:0x23b,_0x59e15b:0x25b,_0x3c0574:0x136,_0x2c6bca:0x13d,_0xd19df8:0xe7,_0x4e1b93:0x2e4,_0x383ecd:0x2ab,_0x2ef41b:0xe9,_0x286148:0x132,_0x29ef07:0xc7,_0x1f0138:0xe8,_0x326f43:0x104,_0x567790:0x2be,_0x17b9c6:0x296,_0x5a04fd:0x2a9,_0xbb0a2f:0x265,_0x2ebe0e:0x257,_0x5dfe41:0x273,_0x535054:0x2e3,_0x5af9c8:0x205,_0x29e940:0x1e1,_0x14b1cf:0x25c,_0x14eb15:0x221,_0x3a4fc0:0x27c,_0x26c012:0x243,_0x56d284:0x23e,_0x589848:0xf6,_0x6ecf30:0xc3,_0x9cf2a8:0x14f,_0x3d9a6d:0x138,_0x30b517:0xf0,_0xe868ec:0x229,_0x5763bf:0x170,_0x503058:0x131,_0x1404f5:0x21b,_0x4edcfc:0x1cc,_0x288874:0x2c3},_0x291b64={_0x317a6e:0x46},_0x439ac2={'ilAaG':function(_0x112f43){return _0x112f43();},'hdWdd':function(_0x541655,_0x4252d0,_0x50edb3){return _0x541655(_0x4252d0,_0x50edb3);},'btwwi':'user','KVoBa':function(_0xe113ad,_0x5a8346){return _0xe113ad(_0x5a8346);},'ODoER':function(_0x1ea14b,_0x593a33){return _0x1ea14b!==_0x593a33;},'eYZPr':_0x229a36(_0x32c05c._0x2a66ec,_0x32c05c._0xb2dab,0x255,0x25d),'rUcxk':_0x229a36(0x273,_0x32c05c._0x267fa8,0x2c8,_0x32c05c._0x26f7f5),'kPgtM':'oVktj','rrdgM':function(_0x5021e8,_0x5391ad){return _0x5021e8!==_0x5391ad;},'SwXLI':function(_0xa5c542,_0x5cedfb){return _0xa5c542(_0x5cedfb);},'TOfFJ':function(_0x4da81b,_0x333a4b){return _0x4da81b!==_0x333a4b;}},{getBindingsBySubject:_0xe8414,getTeamsByUserId:_0x6aa19e,getRoleById:_0x15bf0d}=await _0x439ac2['ilAaG'](d),_0x58514b=new Set(Object[_0x229a36(0x1fb,0x2a4,0x242,_0x32c05c._0x476d60)](PERMISSIONS[_0x4efc12(-_0x32c05c._0x4ccc8f,-0xe0,-0x7a,-_0x32c05c._0x55642c)])),_0x5b9788={},_0x510146=await _0x439ac2[_0x4efc12(-0x11a,-0x147,-0x16e,-0x132)](_0xe8414,_0x439ac2[_0x229a36(0x21b,_0x32c05c._0x25a4bf,_0x32c05c._0x238fda,_0x32c05c._0x59e15b)],_0xe7e856),_0x37e233=await _0x439ac2[_0x4efc12(-_0x32c05c._0x3c0574,-0xf8,-_0x32c05c._0x2c6bca,-_0x32c05c._0xd19df8)](_0x6aa19e,_0xe7e856),_0x328d58=[..._0x510146];function _0x229a36(_0x1b45cc,_0x12dc92,_0x335aa9,_0xe6717a){return _0x186d(_0xe6717a-_0x291b64._0x317a6e,_0x1b45cc);}for(const _0x3b1a97 of _0x37e233){if(_0x439ac2['ODoER'](_0x439ac2[_0x229a36(_0x32c05c._0x4e1b93,0x272,0x2ba,0x28b)],_0x439ac2[_0x229a36(0x234,_0x32c05c._0x383ecd,0x256,0x28b)]))_0x44ba91=_0x1d28a6;else{const _0x496a7e=await _0x439ac2[_0x4efc12(-0x101,-_0x32c05c._0x2ef41b,-0xf5,-_0x32c05c._0x286148)](_0xe8414,_0x439ac2[_0x4efc12(-_0x32c05c._0x29ef07,-_0x32c05c._0x1f0138,-0x131,-_0x32c05c._0x326f43)],_0x3b1a97['id']);_0x328d58['push'](..._0x496a7e);}}for(const _0xeec190 of _0x328d58){if(_0x439ac2[_0x229a36(_0x32c05c._0x567790,0x2fe,_0x32c05c._0x17b9c6,_0x32c05c._0x5a04fd)]!==_0x439ac2[_0x229a36(0x288,_0x32c05c._0xbb0a2f,0x2d0,0x2a9)])return['*'];else{if(_0x439ac2['rrdgM'](_0xeec190['resource_t'+_0x229a36(_0x32c05c._0x2ebe0e,_0x32c05c._0x5dfe41,_0x32c05c._0x535054,0x28a)],_0x439ac2['rUcxk']))continue;const _0x1efc05=await _0x439ac2[_0x229a36(_0x32c05c._0x5af9c8,_0x32c05c._0x29e940,_0x32c05c._0x14b1cf,_0x32c05c._0x14eb15)](_0x15bf0d,_0xeec190[_0x229a36(_0x32c05c._0x3a4fc0,0x26a,_0x32c05c._0x26c012,_0x32c05c._0x56d284)]);if(!_0x1efc05)continue;const _0x5193ab=_0xeec190[_0x4efc12(-0x12e,-_0x32c05c._0x589848,-_0x32c05c._0x6ecf30,-0x101)+'d'];if(!_0x5b9788[_0x5193ab])_0x5b9788[_0x5193ab]=new Set();if(_0x1efc05[_0x4efc12(-_0x32c05c._0x9cf2a8,-_0x32c05c._0x3d9a6d,-_0x32c05c._0x30b517,-0x12d)+'s'][_0x4efc12(-0x13c,-0x12f,-0xc3,-0xfc)]('*'))for(const _0x175000 of _0x58514b){if(_0x439ac2[_0x229a36(_0x32c05c._0xe868ec,0x23a,_0x32c05c._0x14b1cf,0x23a)](_0x229a36(0x278,0x265,0x2c8,0x2a2),'TcKIv')){const _0x3cd43b={};return _0x3cd43b[_0x4efc12(-_0x32c05c._0x5763bf,-0xe4,-0x188,-_0x32c05c._0x503058)]=['*'],_0x3cd43b[_0x4efc12(-0x97,-0x97,-0x36,-0x90)+'ts']={},_0x3cd43b[_0x229a36(_0x32c05c._0x17b9c6,_0x32c05c._0x1404f5,0x1f4,0x24b)]={},_0x3cd43b;}else _0x5b9788[_0x5193ab]['add'](_0x175000);}else for(const _0x1317f9 of _0x1efc05[_0x229a36(0x1cb,_0x32c05c._0x4edcfc,0x24b,0x203)+'s']){_0x58514b[_0x229a36(0x2e8,0x29c,_0x32c05c._0x288874,0x2a7)](_0x1317f9)&&_0x5b9788[_0x5193ab]['add'](_0x1317f9);}}}function _0x4efc12(_0x251caa,_0x550612,_0x7b6f52,_0x8b2cdd){return _0x186d(_0x8b2cdd- -0x2ea,_0x7b6f52);}for(const _0x2d85f2 of Object['keys'](_0x5b9788)){_0x5b9788[_0x2d85f2]=[..._0x5b9788[_0x2d85f2]];}return _0x5b9788;}export async function resolveAllUserPermissions(_0x385bb5){const _0x10d909={_0x17a200:0x1e9,_0x569c93:0x185,_0x5c955f:0x366,_0x52d652:0x30c,_0x58c135:0x3b2,_0x3e5b88:0x3b5,_0xf48f71:0x3bc,_0x23fa0e:0x1ae,_0x1273b2:0x1a8,_0x52a305:0x3bf,_0x2d3ef8:0x3ab,_0x5e693b:0x39a,_0x56f772:0x36e,_0x31ab56:0x129,_0x5c2197:0x181,_0x48207:0x3ba,_0x48979c:0x175,_0x666c60:0x13d,_0x2fab9b:0x1b9},_0x58c8ae={_0x21803e:0x90},_0x1ba74b={_0x31e266:0x1ad};function _0x1c597a(_0x41c452,_0x1b0c0d,_0x5e3895,_0x4dd148){return _0x186d(_0x41c452-_0x1ba74b._0x31e266,_0x4dd148);}const _0x2ca1d1={'dtfGt':function(_0x257c19,_0x579316){return _0x257c19(_0x579316);},'HlnQH':function(_0x94d6e6,_0x4ddd96){return _0x94d6e6(_0x4ddd96);},'pSuqp':function(_0x279b4a,_0x28595c){return _0x279b4a(_0x28595c);},'Sdgye':function(_0x29efd0,_0x147b8b){return _0x29efd0(_0x147b8b);}},_0x18a2a9=await _0x2ca1d1[_0x25a2b1(0x194,_0x10d909._0x17a200,0x18a,_0x10d909._0x569c93)](hasAllPermissions,_0x385bb5);if(_0x18a2a9){const _0x24f754={};return _0x24f754[_0x1c597a(_0x10d909._0x5c955f,0x31b,_0x10d909._0x52d652,0x370)]=['*'],_0x24f754['environmen'+'ts']={},_0x24f754[_0x1c597a(_0x10d909._0x58c135,0x39c,0x389,0x3ed)]={},_0x24f754;}const [_0x31b658,_0x11d0f8,_0x3e1ce0]=await Promise[_0x1c597a(_0x10d909._0x3e5b88,_0x10d909._0xf48f71,0x3e8,0x38f)]([_0x2ca1d1[_0x25a2b1(_0x10d909._0x23fa0e,_0x10d909._0x1273b2,0x1e4,0x1e6)](resolveUserServerPermissions,_0x385bb5),_0x2ca1d1[_0x1c597a(0x3f4,0x420,0x446,_0x10d909._0x52a305)](resolveUserPermissionsAllEnvironments,_0x385bb5),_0x2ca1d1[_0x1c597a(_0x10d909._0x2d3ef8,_0x10d909._0x5e693b,0x3bc,_0x10d909._0x56f772)](resolveUserTeamPermissionsAll,_0x385bb5)]),_0x5eeb4d={};_0x5eeb4d[_0x25a2b1(_0x10d909._0x31ab56,0xf6,0x13a,_0x10d909._0x5c2197)]=_0x31b658,_0x5eeb4d[_0x1c597a(0x407,0x44d,0x3cb,_0x10d909._0x48207)+'ts']=_0x11d0f8;function _0x25a2b1(_0x22ad89,_0x2e1d27,_0x5bdb19,_0x575b12){return _0x186d(_0x22ad89- -_0x58c8ae._0x21803e,_0x2e1d27);}return _0x5eeb4d[_0x25a2b1(_0x10d909._0x48979c,_0x10d909._0x666c60,_0x10d909._0x2fab9b,0x178)]=_0x3e1ce0,_0x5eeb4d;}export async function hasPermissionOnAnyTeam(_0x99ec2f,_0x9c1f0b){const _0x52c39a={_0x1da99b:0x48,_0xf11b75:0x498,_0x25d953:0x599,_0x90fa21:0x540,_0x1c163d:0x544,_0x1b0d7a:0x53a,_0x49ac47:0x518,_0x5d690b:0x59b,_0x26a75f:0x13,_0x41c7c5:0x15,_0x258180:0x4b2,_0x494e48:0x4f3,_0xd05376:0x54c,_0xd8f866:0x5b0,_0x2cdfc8:0x558,_0x3c7b3a:0x538,_0x4d910d:0x54c,_0x279d79:0x7f,_0x942e03:0xc1,_0x2df313:0x45,_0xd3c1cd:0x513,_0x17ca8c:0x45,_0x3308b0:0x75,_0x35cba0:0x7f,_0x4e0e6c:0x46,_0x1e36f1:0x1,_0x6bf91a:0x2d,_0x2e2223:0x40,_0x3e352d:0x1,_0x407579:0x50c,_0x3fe011:0x4f6,_0x8ee8a4:0x63,_0x313967:0x3d,_0x22d0da:0x78,_0x1fa4f8:0x512,_0x29e746:0x80,_0x25482a:0x6,_0x2b39d9:0x28,_0x2a2c21:0x59,_0x21e950:0x52,_0x239eac:0x4e9,_0x3516c9:0x4f5,_0x19ff1a:0x4eb,_0x10499f:0x50c,_0x35d300:0x529,_0x5131cd:0x490,_0x55d1ad:0x529,_0x445f35:0x94,_0x1ee470:0xee,_0x2be672:0xb4,_0x3ab757:0x6d,_0x36fa34:0x4db},_0x116089={_0x49484a:0x31c},_0x1f46ae={'tetPq':function(_0x74994c,_0xd62045){return _0x74994c(_0xd62045);},'bRwoP':function(_0x41b9bd){return _0x41b9bd();},'uuaUj':function(_0x30c70b,_0x57e629,_0x3abbd9){return _0x30c70b(_0x57e629,_0x3abbd9);},'clNUG':'user','yCLTB':'team','nwHfe':function(_0x19a2e8,_0x5d12a8){return _0x19a2e8!==_0x5d12a8;},'aqGle':'XKEPh','BXpMA':_0x3282a6(-0xb,-_0x52c39a._0x1da99b,0x28,0x6),'JtjfR':function(_0x4543e7,_0x3e4224,_0x1a55bb){return _0x4543e7(_0x3e4224,_0x1a55bb);},'OPwLv':_0x1e0d00(0x4c1,0x4ec,_0x52c39a._0xf11b75,0x4e3),'IKQGK':_0x1e0d00(0x552,_0x52c39a._0x25d953,_0x52c39a._0x90fa21,0x575),'cALgx':function(_0x1ec14f,_0x85fc94){return _0x1ec14f===_0x85fc94;},'iXtiz':_0x1e0d00(_0x52c39a._0x1c163d,0x51f,_0x52c39a._0x1b0d7a,0x573),'CHoVu':_0x1e0d00(_0x52c39a._0x49ac47,0x4e9,0x4ff,0x528)},_0x30fceb=await _0x1f46ae['tetPq'](hasAllPermissions,_0x99ec2f);function _0x3282a6(_0x46e068,_0x421d4b,_0x3ce2e8,_0x26658c){return _0x186d(_0x46e068- -0x259,_0x3ce2e8);}if(_0x30fceb)return!![];const {getTeamsByUserId:_0x176ea4,getBindingsBySubject:_0x5a72e8,getRoleById:_0x3700d6,getBindings:_0x492528}=await _0x1f46ae['bRwoP'](d),_0x1f66fb=await _0x1f46ae[_0x1e0d00(0x573,_0x52c39a._0x5d690b,0x58c,0x56c)](_0x5a72e8,_0x1f46ae['clNUG'],_0x99ec2f);for(const _0x3a1d3a of _0x1f66fb){if(_0x3a1d3a['resource_t'+_0x3282a6(-0x15,-_0x52c39a._0x26a75f,-0x3b,_0x52c39a._0x41c7c5)]===_0x1f46ae[_0x1e0d00(_0x52c39a._0x258180,0x525,0x4d9,_0x52c39a._0x494e48)]){if(_0x1f46ae[_0x1e0d00(0x541,_0x52c39a._0xd05376,_0x52c39a._0xd8f866,_0x52c39a._0x2cdfc8)](_0x1f46ae['aqGle'],_0x1f46ae[_0x1e0d00(0x55e,_0x52c39a._0x3c7b3a,_0x52c39a._0x4d910d,_0x52c39a._0x3c7b3a)])){const _0x1238c5=await _0x1f46ae[_0x3282a6(-_0x52c39a._0x279d79,-_0x52c39a._0x942e03,-_0x52c39a._0x2df313,-0x96)](_0x3700d6,_0x3a1d3a[_0x1e0d00(_0x52c39a._0xd3c1cd,0x527,0x4c0,0x514)]);if(_0x1238c5&&_0x1f46ae[_0x3282a6(-0x9d,-_0x52c39a._0x17ca8c,-_0x52c39a._0x3308b0,-_0x52c39a._0x35cba0)](hasPermissionInSet,_0x1238c5[_0x1e0d00(0x504,0x50a,0x4da,0x4d9)+'s'],_0x9c1f0b))return!![];}else return _0x4838f2[_0x3282a6(-0x4a,-0x84,-0x86,-_0x52c39a._0x4e0e6c)](_0x5e7f77[_0x3282a6(_0x52c39a._0x1e36f1,_0x52c39a._0x6bf91a,_0x52c39a._0x2e2223,_0x52c39a._0x3e352d)+'ts']);}}const _0xed75a7=await _0x1f46ae[_0x1e0d00(0x4de,0x540,_0x52c39a._0x407579,_0x52c39a._0x3fe011)](_0x176ea4,_0x99ec2f);for(const _0x4d076b of _0xed75a7){if(_0x1f46ae[_0x3282a6(-_0x52c39a._0x8ee8a4,-0x88,-_0x52c39a._0x313967,-0xb9)]!==_0x1f46ae[_0x3282a6(-0x86,-_0x52c39a._0x22d0da,-0xdd,-0x73)]){const _0x516b7c=await _0x5a72e8(_0x1f46ae[_0x1e0d00(_0x52c39a._0x1fa4f8,0x514,_0x52c39a._0x3fe011,0x4f3)],_0x4d076b['id']);for(const _0x578107 of _0x516b7c){if(_0x1f46ae[_0x3282a6(-_0x52c39a._0x29e746,-0x61,-0x82,-0x50)](_0x578107[_0x3282a6(-_0x52c39a._0x25482a,-_0x52c39a._0x2b39d9,-_0x52c39a._0x2a2c21,_0x52c39a._0x21e950)+'ype'],_0x1f46ae[_0x1e0d00(0x4fa,_0x52c39a._0x239eac,_0x52c39a._0x3c7b3a,0x4f3)])){if(_0x1f46ae[_0x1e0d00(0x4b9,0x548,0x52d,_0x52c39a._0x3516c9)](_0x1f46ae[_0x1e0d00(0x500,_0x52c39a._0x19ff1a,_0x52c39a._0x10499f,_0x52c39a._0x35d300)],_0x1f46ae[_0x1e0d00(0x495,_0x52c39a._0x5131cd,_0x52c39a._0x55d1ad,0x4e7)]))_0xd45298=_0x4c49fd[_0x3282a6(-_0x52c39a._0x445f35,-_0x52c39a._0x1ee470,-_0x52c39a._0x2be672,-_0x52c39a._0x3ab757)]||[];else{const _0x5c1d96=await _0x3700d6(_0x578107[_0x1e0d00(_0x52c39a._0x1b0d7a,_0x52c39a._0x36fa34,0x4d2,0x514)]);if(_0x5c1d96&&hasPermissionInSet(_0x5c1d96['permission'+'s'],_0x9c1f0b))return!![];}}}}else return!![];}function _0x1e0d00(_0x100b12,_0x191037,_0x19cba2,_0x27ab22){return _0x186d(_0x27ab22-_0x116089._0x49484a,_0x100b12);}return![];}export async function hasPermissionOnAnyEnvironment(_0x18ff33,_0xba2cf7){const _0x28e55f={_0x41a8e2:0x292,_0x1c7e5b:0x2ac,_0x4613c6:0x27b,_0x23e713:0x223,_0x6b1bc3:0x21d,_0x873f6e:0x27e},_0x5173db={'kBmSJ':function(_0x235bce,_0x5c41b9){return _0x235bce(_0x5c41b9);},'iGrXL':function(_0x1576e2,_0x1fb3b5){return _0x1576e2(_0x1fb3b5);},'TspJq':function(_0x2f3ae9,_0x21a098,_0x342b90){return _0x2f3ae9(_0x21a098,_0x342b90);}};function _0x93e19c(_0x5ba11e,_0x5b2209,_0x556613,_0x461fb0){return _0x186d(_0x556613- -0x10b,_0x5b2209);}function _0x4bd0cb(_0x322f7f,_0xb18676,_0x2718e8,_0x29720d){return _0x186d(_0xb18676-0x3c,_0x2718e8);}const _0x396e2c=await _0x5173db[_0x4bd0cb(0x2d1,_0x28e55f._0x41a8e2,_0x28e55f._0x1c7e5b,_0x28e55f._0x4613c6)](hasAllPermissions,_0x18ff33);if(_0x396e2c)return!![];const _0x118538=await _0x5173db[_0x4bd0cb(_0x28e55f._0x23e713,_0x28e55f._0x6b1bc3,0x256,0x243)](getVisibleEnvironments,_0x18ff33);for(const _0x1a04bf of _0x118538){const _0x541c66=await resolveUserPermissions(_0x18ff33,_0x1a04bf);if(_0x5173db[_0x4bd0cb(_0x28e55f._0x873f6e,0x22d,0x257,0x25f)](hasPermissionInSet,_0x541c66,_0xba2cf7))return!![];}return![];}export async function resolveUserRoleNames(_0x4d8eab){const _0x395323={_0x4dc153:0x2be,_0x51feac:0x2d2,_0x20330e:0x2f8,_0x3650c4:0x96,_0x29f82f:0x1d,_0x13628a:0x35f,_0x2ef077:0x2c4,_0x409eeb:0x34e,_0x5bd860:0x50,_0x1b6b35:0x43,_0xcbc2e6:0x45,_0x5323c8:0x7,_0x2378c7:0xc,_0x5c65e7:0x16,_0xb2bc76:0x14,_0x3fd776:0x2f4,_0x38e32b:0x2e9,_0x4095db:0x377,_0x33de97:0x3a8,_0x419c39:0x373,_0x423e01:0x46,_0x495837:0x3c,_0xf54763:0x4,_0x7ffae6:0x19,_0x3dd7d2:0x27,_0x49f864:0x7,_0x412b67:0x25,_0x4c85ab:0x323,_0x2b2792:0x350},_0x54c5d0={'EVfIm':function(_0x38cea8){return _0x38cea8();},'BCTUi':function(_0xf66dd3,_0x3f8238,_0x114c7a){return _0xf66dd3(_0x3f8238,_0x114c7a);},'ZrPsb':function(_0xaea9c6,_0x3b06c5){return _0xaea9c6(_0x3b06c5);},'OOUAA':function(_0x3b2dd2,_0x21e467){return _0x3b2dd2!==_0x21e467;},'Btrsn':_0x1277fb(_0x395323._0x4dc153,_0x395323._0x51feac,_0x395323._0x20330e,0x2ac),'glsNI':function(_0x1f4235,_0x5eaa4b,_0x56f69c){return _0x1f4235(_0x5eaa4b,_0x56f69c);}};function _0x49acef(_0x183ce7,_0x458a78,_0x5b9d39,_0x26b42d){return _0x186d(_0x26b42d- -0x1f7,_0x183ce7);}const {getBindingsBySubject:_0x1d294f,getTeamsByUserId:_0x1fbf18,getRoleById:_0xbe160d}=await _0x54c5d0[_0x49acef(_0x395323._0x3650c4,0x20,_0x395323._0x29f82f,0x40)](d),_0x50a79f=await _0x54c5d0[_0x1277fb(_0x395323._0x13628a,_0x395323._0x2ef077,0x30c,_0x395323._0x409eeb)](_0x1d294f,'user',_0x4d8eab);function _0x1277fb(_0xa977,_0x16a0df,_0x950f8e,_0x2e9574){return _0x186d(_0x950f8e-0x106,_0x2e9574);}const _0x4e0469=await _0x54c5d0[_0x49acef(_0x395323._0x5bd860,_0x395323._0x1b6b35,_0x395323._0xcbc2e6,-_0x395323._0x5323c8)](_0x1fbf18,_0x4d8eab),_0x2f2565=[];for(const _0x28fb27 of _0x4e0469){if(_0x54c5d0[_0x49acef(-0x1e,-_0x395323._0x2378c7,_0x395323._0x5c65e7,_0x395323._0xb2bc76)](_0x1277fb(0x2a3,_0x395323._0x3fd776,_0x395323._0x38e32b,0x300),_0x54c5d0[_0x1277fb(0x355,0x351,0x36b,0x397)])){const _0x1f0ba3=await _0x54c5d0['glsNI'](_0x1d294f,_0x1277fb(_0x395323._0x4095db,0x39e,0x35a,_0x395323._0x33de97),_0x28fb27['id']);_0x2f2565[_0x1277fb(0x35a,_0x395323._0x419c39,0x329,0x2f4)](..._0x1f0ba3);}else for(const _0x2a6de7 of _0x4b1728){_0xc860e3[_0x47f95][_0x49acef(-_0x395323._0x423e01,0xb,0x5,-_0x395323._0x495837)](_0x2a6de7);}}const _0x3176c2=[..._0x50a79f,..._0x2f2565],_0x3db902=new Set(_0x3176c2[_0x49acef(-_0x395323._0x2378c7,0x18,-_0x395323._0xf54763,0x22)](_0x1a9381=>_0x1a9381[_0x49acef(-0x3e,-0x7,0x46,0x1)])),_0x4b45f9=[];for(const _0x486833 of _0x3db902){const _0x20f4d6=await _0x54c5d0[_0x49acef(-0x4e,_0x395323._0x7ffae6,_0x395323._0x3dd7d2,-_0x395323._0x49f864)](_0xbe160d,_0x486833);if(_0x20f4d6)_0x4b45f9[_0x49acef(_0x395323._0x29f82f,0x75,-_0x395323._0x412b67,0x2c)](_0x20f4d6[_0x1277fb(0x345,_0x395323._0x4c85ab,_0x395323._0x2b2792,0x394)]);}return _0x4b45f9;}export async function wouldRetainServerAdmin({excludeBindingId:_0x145c12,excludeTeamMember:_0x1b702d,excludeTeamId:_0x207e05,replaceTeamMembers:_0x300295}={}){const _0x49eba1={_0x4a6d86:0xd,_0x19eaa2:0x18,_0xcb3ae:0x42,_0x4a5aca:0x10,_0x224db8:0x15b,_0x4257f1:0x15f,_0x348a20:0x126,_0x4c590e:0xe6,_0x70afe1:0xe6,_0x1aaa62:0x143,_0x249418:0x140,_0xbd167f:0x2,_0x363e3b:0x5,_0x42ad33:0x38,_0x3b6975:0x76,_0x19ffb5:0x8a,_0x4d511b:0x16,_0x4f5c4a:0x33,_0x46199a:0x15c,_0x27368e:0x133,_0x12baec:0xc3,_0x3d7473:0x44,_0x1069bd:0x77,_0x1c724f:0x75,_0x3e2738:0x4e,_0x1c546e:0x87,_0x1a4659:0x1,_0x55ce03:0x2b,_0xf4e411:0x0,_0x4ad1fa:0x9,_0x3ef307:0x2a,_0x40b832:0x55,_0x23bed9:0x7,_0x357a34:0x30,_0x422028:0xc,_0x5a9e13:0x3e,_0x5952b5:0x4c,_0x4eda4d:0x9a,_0x3c4c90:0x81,_0x6c273:0x6c,_0x6ea463:0x14e,_0x169bdf:0x95,_0x56ea7a:0xe6,_0x481924:0x16,_0x75bc80:0x6c,_0xdc7148:0x27,_0x315826:0x45,_0xde03b8:0x40,_0x594fe0:0x63,_0x1d0692:0x114,_0xd71290:0x132,_0x5583a4:0x56,_0x43dd89:0x33,_0xd1b400:0x25,_0x39f74e:0x115,_0x4588e9:0xf6,_0x10c327:0x43,_0x4e7d59:0xa,_0x4e8a26:0x59},_0x453628={'iIQSk':'./bindings'+'.js','eJlRN':_0x22a0f3(0x1b,-_0x49eba1._0x4a6d86,0x21,-0x1c),'AGTxX':function(_0x13bd56){return _0x13bd56();},'VmFne':function(_0x274779){return _0x274779();},'LEYPL':function(_0x493baa,_0x224960){return _0x493baa===_0x224960;},'XlwQF':'server','aEDLG':function(_0x29ef87,_0x175cb3){return _0x29ef87(_0x175cb3);},'Jbrrs':_0x22a0f3(0x17,_0x49eba1._0x19eaa2,-_0x49eba1._0xcb3ae,_0x49eba1._0x4a5aca),'LOwAn':_0x18579f(_0x49eba1._0x224db8,_0x49eba1._0x4257f1,0x109,0xe9),'LISEo':function(_0xd4b754,_0x1133fc){return _0xd4b754===_0x1133fc;},'cHPbL':function(_0x3c1fea,_0x5d0a5e){return _0x3c1fea(_0x5d0a5e);},'GmhFz':function(_0x501f1c,_0x594a59){return _0x501f1c===_0x594a59;},'IGICb':function(_0x501fa8,_0x310aea){return _0x501fa8>_0x310aea;}};function _0x22a0f3(_0x332d0c,_0x4a8683,_0x573a92,_0xe07eb6){return _0x186d(_0x4a8683- -0x23c,_0x332d0c);}const {getRoleById:_0x487ba9}=await d(),{getBindings:_0x15249c}=await import(_0x453628[_0x18579f(_0x49eba1._0x348a20,_0x49eba1._0x4c590e,_0x49eba1._0x70afe1,0x140)]);function _0x18579f(_0x24bfc0,_0x1d60f1,_0x13215d,_0x4cdb2d){return _0x186d(_0x13215d- -0x111,_0x1d60f1);}const {getUsers:_0x395fac}=await import(_0x453628[_0x18579f(0x148,_0x49eba1._0x1aaa62,0xf0,0xb6)]),{getTeamById:_0x526f95}=await import(_0x18579f(0x18c,0x122,_0x49eba1._0x249418,0x18d)),_0x5e11f4=await _0x453628[_0x22a0f3(-_0x49eba1._0xbd167f,0x6,-0x2,-_0x49eba1._0x363e3b)](_0x15249c),_0x21e7f4=await _0x453628[_0x22a0f3(-_0x49eba1._0x42ad33,-0x5e,-0x2d,-0x4e)](_0x395fac),_0x1393d0=[];for(const _0x272684 of _0x5e11f4){if(_0x145c12&&_0x453628[_0x22a0f3(-_0x49eba1._0x3b6975,-0x47,-_0x49eba1._0x19ffb5,-0x30)](_0x272684['id'],_0x145c12))continue;if(_0x272684[_0x22a0f3(_0x49eba1._0x4d511b,0x17,-_0x49eba1._0x4f5c4a,-_0x49eba1._0x42ad33)+_0x18579f(0x114,_0x49eba1._0x46199a,_0x49eba1._0x27368e,0x108)]!==_0x453628['XlwQF'])continue;const _0x3310aa=await _0x453628[_0x18579f(0x106,0x96,_0x49eba1._0x12baec,0xa9)](_0x487ba9,_0x272684[_0x22a0f3(-0x8,-_0x49eba1._0x3d7473,-0x22,-0x82)]);if(!_0x3310aa||!_0x3310aa[_0x22a0f3(-0x32,-0x7f,-_0x49eba1._0x1069bd,-_0x49eba1._0x1c724f)+'s'][_0x22a0f3(-0x8a,-_0x49eba1._0x3e2738,-0x57,-_0x49eba1._0x1c546e)]('*'))continue;_0x1393d0['push'](_0x272684);}for(const _0x14cab8 of _0x1393d0){if(_0x14cab8[_0x22a0f3(-_0x49eba1._0x1a4659,0x7,-_0x49eba1._0x55ce03,_0x49eba1._0xf4e411)+'pe']===_0x22a0f3(-0x81,-0x74,-0x32,-0x99)){if(_0x21e7f4[_0x22a0f3(-_0x49eba1._0x4ad1fa,-_0x49eba1._0x3ef307,-0x1a,0xc)](_0x31aa08=>_0x31aa08['id']===_0x14cab8[_0x22a0f3(0x2d,-0x16,-0x4d,-0x8)]))return!![];}if(_0x14cab8[_0x22a0f3(_0x49eba1._0x40b832,_0x49eba1._0x23bed9,-0x2,_0x49eba1._0x357a34)+'pe']===_0x453628[_0x22a0f3(-0x47,_0x49eba1._0x422028,-_0x49eba1._0x5a9e13,_0x49eba1._0x5952b5)]){if(_0x453628['LOwAn']==='rjIzZ')_0xabe343[_0x22a0f3(-_0x49eba1._0x4eda4d,-_0x49eba1._0x3c4c90,-_0x49eba1._0x6c273,-0x51)](_0x2c4748);else{if(_0x207e05&&_0x453628[_0x18579f(0x11b,_0x49eba1._0x6ea463,0x14f,0x1a8)](_0x14cab8[_0x18579f(0xcc,0x124,0x115,0x162)],_0x207e05))continue;const _0x5267be=await _0x453628[_0x18579f(_0x49eba1._0x169bdf,_0x49eba1._0x56ea7a,0xbb,0xbf)](_0x526f95,_0x14cab8[_0x22a0f3(-0x2a,-_0x49eba1._0x481924,-0x4d,-0x8)]);if(!_0x5267be)continue;let _0x142c9f=_0x5267be[_0x22a0f3(-_0x49eba1._0x75bc80,-0x77,-_0x49eba1._0xdc7148,-0xa8)]||[];_0x1b702d&&_0x453628[_0x22a0f3(_0x49eba1._0x315826,0x28,0x5b,_0x49eba1._0xde03b8)](_0x1b702d[_0x22a0f3(-0x9d,-0x64,-0x3f,-_0x49eba1._0x594fe0)],_0x14cab8[_0x18579f(_0x49eba1._0x1d0692,_0x49eba1._0xd71290,0x115,0xbd)])&&(_0x142c9f=_0x142c9f[_0x22a0f3(-0x40,0x10,-0x29,_0x49eba1._0x5583a4)](_0x5e7cae=>_0x5e7cae!==_0x1b702d['userId']));_0x300295&&_0x300295[_0x22a0f3(-0x9e,-0x64,-_0x49eba1._0x43dd89,-_0x49eba1._0xd1b400)]===_0x14cab8[_0x18579f(0xe6,0x169,_0x49eba1._0x39f74e,_0x49eba1._0x4588e9)]&&(_0x142c9f=_0x300295[_0x18579f(0x90,0x60,0xb4,0xdf)]||[]);if(_0x453628[_0x22a0f3(_0x49eba1._0x10c327,-_0x49eba1._0x4e7d59,0x2a,-_0x49eba1._0x4e8a26)](_0x142c9f['length'],-0x9*0x14b+0xfe*-0x20+0x2b63))return!![];}}}return![];}
|
package/dist/lib/pin-cascade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x3d59(){const _0x1bb355=['zwDSsu4','B25ZAwrLCG','ywrK','CxjoCfG','zgvSzxrL','DMHuz2y','y3rPDMvjza','C291CMnLt2jQzq','ELHNCNi','AKvPtw0','tevPChi','AxnkDwrNzvrHCW','ndm3mdrOt3HxuLC','y1n6vM4','wMfJtwy','DgfZA1r5Cgu','AxnqAw5Uzwq','mZKWnty0og11zvnyAG','AgXQu2G','yMzQu24','B3rMu2O','ANvKz2u','ndu5mJmWvePxs2fw','mZa0nZq4Dw1MuuTu','mJm4nZmZnxHcsKHQBG','tgPLBvy','ywDXtve','B3jPz2LUywXhCG','tenNExa','refKAxy','z3jVDxbjza','uLzIBgC','B3vWswq','C3rHDhvZ','ovfICxrrAG','AgfZ','uvPZr0O','zw50CMLLCW','ChvZAa','EgD0zhq','CePiB24','wNn3y0K','Afr6Awy','DgfZA0LKC1rVqW','tNnNr3i','CeXuzu0','otuWmdK5t2fjAwnc','C1zYzuq','oxb3Curera','mJfMyKLAA1u','uMLYC3q','z2v0','mZq4mdeYofPeCKDusW','AwDAtuu','CgfYzw50t2jQzq','B3vWswrZ','B2T1yLG','rvrcDfq','twPNtKG','B2jQzwn0AxzL'];_0x3d59=function(){return _0x1bb355;};return _0x3d59();}function _0x5a6b(_0x26d7e4,_0x4bd6c2){_0x26d7e4=_0x26d7e4-(0xca0*-0x2+-0x1*0x7fa+0x22b6);const _0x57fd31=_0x3d59();let _0x18d07f=_0x57fd31[_0x26d7e4];if(_0x5a6b['jfQDBa']===undefined){var _0x549109=function(_0x3ef403){const _0x4f1f5a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x49ffbb='',_0x71a1e7='';for(let _0x1b0bf1=-0x1bc*-0x16+0x9e2+-0x300a,_0x477b0b,_0x254239,_0x584275=-0x77e+-0x423+0xba1;_0x254239=_0x3ef403['charAt'](_0x584275++);~_0x254239&&(_0x477b0b=_0x1b0bf1%(-0x194c+-0x171c+0x1024*0x3)?_0x477b0b*(0x1ef1*-0x1+-0x15*-0x1d+-0x2*-0xe68)+_0x254239:_0x254239,_0x1b0bf1++%(-0x17fa+0x1*-0x889+0x2087))?_0x49ffbb+=String['fromCharCode'](-0x184+-0x1868+0x1aeb*0x1&_0x477b0b>>(-(0x6*-0x89+0xb7a+-0x842)*_0x1b0bf1&-0x112+0x83+0x95)):-0x53*-0x1a+-0x4d3+-0x39b){_0x254239=_0x4f1f5a['indexOf'](_0x254239);}for(let _0x10b4a1=0x12f3+-0x8ee+-0xa05*0x1,_0x4c7ccf=_0x49ffbb['length'];_0x10b4a1<_0x4c7ccf;_0x10b4a1++){_0x71a1e7+='%'+('00'+_0x49ffbb['charCodeAt'](_0x10b4a1)['toString'](-0x4ba+-0x3b*0x53+0x17eb*0x1))['slice'](-(-0x2*0x16+-0xbc5+-0x85*-0x17));}return decodeURIComponent(_0x71a1e7);};_0x5a6b['vDLyvI']=_0x549109,_0x5a6b['ZPWyEs']={},_0x5a6b['jfQDBa']=!![];}const _0x211e42=_0x57fd31[0x49c*-0x3+0x78d*0x1+0x647*0x1],_0x2cb824=_0x26d7e4+_0x211e42,_0x1254a6=_0x5a6b['ZPWyEs'][_0x2cb824];return!_0x1254a6?(_0x18d07f=_0x5a6b['vDLyvI'](_0x18d07f),_0x5a6b['ZPWyEs'][_0x2cb824]=_0x18d07f):_0x18d07f=_0x1254a6,_0x18d07f;}(function(_0xec9e82,_0x3201e1){const _0x24c05e={_0x453a9d:0x1c0,_0x527d9b:0x1d5,_0x255499:0x1e5,_0x39296c:0x1b9,_0xde7fe4:0x1fa,_0x38ef3c:0x1b7,_0x21d392:0x1c9,_0x188c6b:0x247,_0x1b753e:0x255,_0x17265b:0x241,_0x2a6ca1:0x1d8,_0x3a49fa:0x1e7,_0x4d1700:0x1c3,_0x570873:0x1d7,_0x244d65:0x1bb,_0x2307b7:0x20e,_0x3dcbed:0x1e7};function _0x108577(_0x4a5fab,_0x2c75d8,_0x3cb05f,_0x4b9418){return _0x5a6b(_0x3cb05f-0x99,_0x4b9418);}const _0x2da976=_0xec9e82();function _0x2bff18(_0xd8bf8f,_0x56283e,_0x2df811,_0x388c2d){return _0x5a6b(_0x56283e-0x47,_0xd8bf8f);}while(!![]){try{const _0x4f46ab=parseInt(_0x2bff18(_0x24c05e._0x453a9d,_0x24c05e._0x527d9b,_0x24c05e._0x255499,_0x24c05e._0x39296c))/(0x18f*-0x13+0xba8+-0x1a2*-0xb)+-parseInt(_0x2bff18(0x1ea,_0x24c05e._0xde7fe4,0x1e7,0x1e7))/(-0x499+0x17e7*-0x1+0x1*0x1c82)*(-parseInt(_0x2bff18(_0x24c05e._0x38ef3c,_0x24c05e._0x21d392,0x1c3,0x1b0))/(0xf92+0x2*-0x8dd+0x22b))+-parseInt(_0x108577(0x21d,0x235,0x22d,0x22b))/(0x37*-0x11+0x2*0xc4b+-0x14eb)+-parseInt(_0x108577(_0x24c05e._0x188c6b,_0x24c05e._0x1b753e,0x24d,0x25f))/(-0x9ef+0x25f3+-0x1bff*0x1)+parseInt(_0x108577(0x239,0x255,_0x24c05e._0x17265b,0x25a))/(-0xc67+0xc3b+-0x5*-0xa)*(-parseInt(_0x2bff18(0x1de,_0x24c05e._0x2a6ca1,_0x24c05e._0x3a49fa,0x1d7))/(0x18f5*0x1+-0x12*0x13+0xa*-0x25c))+parseInt(_0x2bff18(0x1e2,0x1f4,0x1e4,0x1f5))/(-0x2*0x10b2+-0xa89+0x2bf5)*(parseInt(_0x2bff18(_0x24c05e._0x4d1700,_0x24c05e._0x570873,0x1f4,_0x24c05e._0x244d65))/(0x194e+0x2e*-0x54+0x1*-0xa2d))+-parseInt(_0x2bff18(0x213,0x1f9,_0x24c05e._0x2307b7,_0x24c05e._0x3dcbed))/(0x22d6+-0xb6*-0x2a+-0x40a8);if(_0x4f46ab===_0x3201e1)break;else _0x2da976['push'](_0x2da976['shift']());}catch(_0x8547af){_0x2da976['push'](_0x2da976['shift']());}}}(_0x3d59,-0x3*0xbab5+-0x11*0x6e3d+0x10d5c5));export function collectObjectiveCascadeUnpinTargets(_0x19b5c5,_0x50f5cf){const _0x292b78={_0x4e4a71:0x4a6,_0x282043:0x4be,_0x29c26f:0x4b7,_0x3013d4:0x4c5,_0x276a8a:0x4ae,_0x3bd3c7:0x58f,_0x25447d:0x598,_0x5b87ae:0x580,_0x490aff:0x57f,_0x4bc3ec:0x59e,_0x2869d8:0x597,_0x6acb3f:0x576,_0xba4852:0x5a3,_0x345e61:0x585,_0x2e016d:0x593,_0x7719a4:0x4a0,_0x460311:0x5bc,_0x4d6f18:0x563,_0x317671:0x572,_0x4bb187:0x592,_0x2adcac:0x5b9,_0x2f7bd1:0x560,_0x16b754:0x571,_0x7bbc3f:0x566,_0x30cec3:0x4d7,_0xf923f1:0x4cf,_0x2a86ac:0x57d,_0x401540:0x577,_0x324e5c:0x595,_0x410e02:0x4b1,_0x135c9f:0x57b,_0x33c36b:0x578,_0xcbce4d:0x56f,_0x268651:0x55f,_0x1b0f23:0x54d,_0x23f5d9:0x4d8,_0x5228b9:0x4d3,_0x4fe8b8:0x5b3,_0x58568b:0x5b6,_0x412d28:0x587,_0x1ae084:0x57e,_0x238a16:0x572,_0x342fde:0x589,_0x7ce4aa:0x584,_0x2982ed:0x5a0,_0x488e36:0x4c9},_0x45e686={_0x5ab181:0x3a,_0x4dad72:0x520,_0x35d0b1:0x4fb,_0x29bb23:0x4eb,_0x224b50:0x500,_0x14cc43:0x4fe,_0x104704:0x4d3,_0x569410:0x44,_0x3c65af:0x4dc,_0x3a9911:0x501,_0x12c076:0x510,_0x21e37a:0x4f8,_0x338d68:0x5f,_0xaea8c5:0x67,_0x4ff5fa:0x5c,_0x4feb2c:0x4d9,_0x2fa508:0x4e1,_0x3247ad:0x50,_0x1e476f:0x36,_0x4cb3d0:0x38,_0x230828:0x57,_0x4f62fd:0x75,_0x5de84c:0x4fc,_0x3d6aec:0x4ea,_0x540b13:0x4e6,_0x491437:0x4ff,_0x45534d:0x4fd,_0x232bd6:0x3c,_0xc3fcd:0x4e5,_0x49151b:0x46,_0x55a115:0x43,_0x3af05e:0x45,_0x57646a:0x24,_0xd9f849:0x54,_0x471f14:0x2c,_0x2d5063:0x4f6,_0x1c43a2:0x4cc,_0x424b12:0x57,_0x4a9214:0x55,_0x4f43f4:0x5a,_0x2d5efe:0x66,_0x380acd:0x4b,_0x335e2e:0x3b,_0x47d2e6:0xf,_0x1289bc:0xb,_0x5881f2:0x21,_0x1107ef:0x30,_0x21d126:0x4d,_0x538924:0x46},_0xea48b2={_0x3a9123:0x1ee},_0x1477f3={_0x52ca70:0x7e},_0x2aa710={'QZsGJ':function(_0x510e53,_0x2310bf){return _0x510e53(_0x2310bf);},'otfSj':function(_0x4f2d46,_0x398798){return _0x4f2d46===_0x398798;},'xgtdt':_0x174096(_0x292b78._0x4e4a71,_0x292b78._0x282043,_0x292b78._0x29c26f,_0x292b78._0x3013d4),'LCgyp':function(_0x5a5ca4,_0x4aaf89){return _0x5a5ca4===_0x4aaf89;},'hljSh':function(_0x3feff7,_0x14ba2f){return _0x3feff7(_0x14ba2f);},'sVreD':function(_0x59158e,_0x56b82f){return _0x59158e!==_0x56b82f;},'ZacMf':_0x174096(0x4ba,_0x292b78._0x276a8a,0x4be,0x4a0),'pLTeM':function(_0x17c9f5,_0x6eafd5){return _0x17c9f5===_0x6eafd5;},'okubX':_0x1c95fd(0x5aa,_0x292b78._0x3bd3c7,_0x292b78._0x25447d,_0x292b78._0x5b87ae)},_0x6bc3c5=new Set(),_0x4933fe=new Set(),_0x2f41cd=_0x11a83b=>{const _0x2c07e2={_0x571fdf:0x192,_0x4071e1:0x10b},_0x28beaa={'LdwfF':function(_0x115638,_0x1f6885){function _0x26a18e(_0x5e2389,_0x3752f9,_0x2d2244,_0x18fdc8){return _0x5a6b(_0x3752f9- -0x114,_0x5e2389);}return _0x2aa710[_0x26a18e(_0x1477f3._0x52ca70,0x70,0x62,0x79)](_0x115638,_0x1f6885);}};function _0x549283(_0x2e5045,_0x385f2d,_0x4dc127,_0xd8afe5){return _0x174096(_0x4dc127,_0x385f2d-0xf4,_0x2e5045-0x3f,_0xd8afe5-_0xea48b2._0x3a9123);}function _0x4ac978(_0x1b9cf3,_0x22cfdc,_0x211fba,_0x448e2c){return _0x1c95fd(_0x1b9cf3-_0x2c07e2._0x571fdf,_0x22cfdc-_0x2c07e2._0x4071e1,_0x211fba- -0x5bf,_0x22cfdc);}for(const [_0xb72cef,_0x188174]of _0x19b5c5[_0x4ac978(-0x6e,-0x6a,-0x53,-_0x45e686._0x5ab181)]()){if(_0x2aa710[_0x549283(0x511,_0x45e686._0x4dad72,_0x45e686._0x35d0b1,0x50c)](_0x549283(_0x45e686._0x29bb23,_0x45e686._0x224b50,_0x45e686._0x14cc43,_0x45e686._0x104704),_0x2aa710[_0x4ac978(-0x37,-0x37,-0x51,-_0x45e686._0x569410)]))_0x28beaa['LdwfF'](_0x4ddf92,_0x2bd810[_0x549283(0x4f7,_0x45e686._0x3c65af,0x512,_0x45e686._0x3a9911)+_0x549283(0x503,_0x45e686._0x12c076,0x512,_0x45e686._0x21e37a)]);else{_0x2aa710[_0x4ac978(-_0x45e686._0x338d68,-_0x45e686._0xaea8c5,-_0x45e686._0x4ff5fa,-0x6c)](_0x188174?.[_0x549283(0x4f7,_0x45e686._0x4feb2c,_0x45e686._0x2fa508,0x4e8)+_0x4ac978(-_0x45e686._0x3247ad,-0x41,-_0x45e686._0x1e476f,-_0x45e686._0x4cb3d0)],_0x11a83b)&&_0x2aa710['otfSj'](_0x188174?.[_0x4ac978(-0x69,-0x3b,-_0x45e686._0x230828,-_0x45e686._0x4f62fd)],_0x549283(_0x45e686._0x5de84c,0x4e4,_0x45e686._0x3d6aec,_0x45e686._0x540b13))&&(_0x6bc3c5[_0x549283(_0x45e686._0x491437,0x518,0x50d,_0x45e686._0x45534d)](_0xb72cef),_0x2aa710[_0x4ac978(-0x3b,-_0x45e686._0x232bd6,-0x54,-0x66)](_0x2f41cd,_0xb72cef));if(_0x2aa710[_0x549283(0x4dd,0x4e2,_0x45e686._0xc3fcd,0x4d8)](_0x188174?.[_0x4ac978(-_0x45e686._0x49151b,-_0x45e686._0x55a115,-0x35,-_0x45e686._0x3af05e)+'ctiveId'],_0x11a83b)){_0x6bc3c5[_0x4ac978(-_0x45e686._0x57646a,-_0x45e686._0xd9f849,-0x3a,-_0x45e686._0x471f14)](_0xb72cef);if(_0x188174[_0x549283(0x4df,0x4db,_0x45e686._0x2d5063,_0x45e686._0x1c43a2)])_0x4933fe[_0x4ac978(-0x53,-0x3c,-_0x45e686._0x5ab181,-_0x45e686._0x424b12)](_0x188174[_0x4ac978(-_0x45e686._0x4a9214,-0x5b,-_0x45e686._0x4f43f4,-_0x45e686._0x2d5efe)]);if(_0x188174['originalGr'+_0x4ac978(-0x44,-_0x45e686._0x380acd,-0x58,-_0x45e686._0x335e2e)])_0x4933fe['add'](_0x188174[_0x4ac978(-_0x45e686._0x47d2e6,-_0x45e686._0x1289bc,-_0x45e686._0x5881f2,-_0x45e686._0x1107ef)+_0x4ac978(-_0x45e686._0x21d126,-0x69,-0x58,-_0x45e686._0x538924)]);}}}};_0x2f41cd(_0x50f5cf);if(_0x4933fe['size']>-0x31+0x1d1b+-0x1cea*0x1){if(_0x2aa710[_0x1c95fd(_0x292b78._0x490aff,0x591,0x576,0x55e)](_0x2aa710['ZacMf'],_0x2aa710[_0x1c95fd(_0x292b78._0x4bc3ec,_0x292b78._0x2869d8,0x591,_0x292b78._0x6acb3f)])){_0x221e3e[_0x1c95fd(0x599,_0x292b78._0xba4852,_0x292b78._0x345e61,_0x292b78._0x2e016d)](_0x26c304);if(_0x1f63e6[_0x174096(0x49b,0x4bd,_0x292b78._0x7719a4,0x49d)])_0x12c798[_0x174096(0x4bf,0x4c6,0x4c0,0x4d6)](_0x365492['groupId']);if(_0xcb27fc[_0x1c95fd(0x586,_0x292b78._0xba4852,_0x292b78._0x4bc3ec,_0x292b78._0x460311)+_0x1c95fd(0x579,0x55c,0x567,_0x292b78._0x4d6f18)])_0x87aa68[_0x1c95fd(_0x292b78._0x317671,0x574,_0x292b78._0x345e61,0x56d)](_0x443d29[_0x1c95fd(_0x292b78._0x4bb187,0x5b4,0x59e,_0x292b78._0x2adcac)+'oupId']);}else for(const [_0x28fa2b,_0x49041d]of _0x19b5c5[_0x1c95fd(0x584,0x55a,0x56c,0x553)]()){if(_0x1c95fd(_0x292b78._0x2f7bd1,_0x292b78._0x16b754,_0x292b78._0x7bbc3f,0x56e)===_0x174096(0x4c2,_0x292b78._0x30cec3,0x4d1,_0x292b78._0xf923f1))_0x4f1f5a[_0x1c95fd(0x59f,_0x292b78._0x2a86ac,0x585,_0x292b78._0x401540)](_0x49ffbb),_0x2aa710[_0x1c95fd(0x57d,_0x292b78._0x25447d,_0x292b78._0x324e5c,0x59b)](_0x71a1e7,_0x1b0bf1);else{if(!_0x49041d)continue;const _0x2c3c5c=_0x2aa710[_0x174096(0x4a3,_0x292b78._0x410e02,0x4af,0x4c5)](_0x49041d[_0x1c95fd(0x590,0x5a6,_0x292b78._0x4bb187,_0x292b78._0x135c9f)],_0x2aa710[_0x1c95fd(0x587,_0x292b78._0x33c36b,0x57f,_0x292b78._0xcbce4d)])||_0x2aa710[_0x1c95fd(0x564,_0x292b78._0x268651,_0x292b78._0x4d6f18,_0x292b78._0x1b0f23)](_0x49041d[_0x174096(_0x292b78._0x23f5d9,_0x292b78._0x5228b9,0x4c9,0x4e4)+'k'],!![]);if(!_0x2c3c5c)continue;const _0x3a148c=_0x49041d['groupId']||_0x49041d[_0x1c95fd(0x58f,_0x292b78._0x4fe8b8,_0x292b78._0x4bc3ec,_0x292b78._0x58568b)+'oupId'];_0x3a148c&&_0x4933fe[_0x174096(_0x292b78._0x282043,0x49c,0x4a5,0x49d)](_0x3a148c)&&_0x6bc3c5['add'](_0x28fa2b);}}}_0x6bc3c5[_0x1c95fd(0x571,_0x292b78._0x412d28,_0x292b78._0x412d28,0x56b)](_0x50f5cf);const _0x3d8f95={};function _0x174096(_0x54c9ad,_0x502cdf,_0x5ded5c,_0x2602eb){return _0x5a6b(_0x5ded5c-0x322,_0x54c9ad);}_0x3d8f95[_0x1c95fd(0x55f,_0x292b78._0x1ae084,_0x292b78._0x238a16,0x556)+_0x1c95fd(_0x292b78._0x342fde,0x597,_0x292b78._0x7ce4aa,_0x292b78._0x2982ed)]=_0x6bc3c5,_0x3d8f95['affectedGr'+_0x174096(_0x292b78._0x488e36,0x4d1,0x4b9,0x4a1)]=_0x4933fe;function _0x1c95fd(_0x2dd5d9,_0x2a2994,_0x6258fb,_0x56c00c){return _0x5a6b(_0x6258fb-0x3e7,_0x56c00c);}return _0x3d8f95;}export function findJudgeTasksForGroup(_0x59d41d,_0x4ef86e){const _0x4ad80e={_0x3366f4:0x118,_0x2047eb:0x122,_0x49a528:0xfe,_0x6c67bf:0x3a9,_0x4962be:0x3ca,_0x276548:0x108,_0x11165c:0x121,_0x2452ba:0x3e5,_0x8c2fcc:0x3df,_0xb821e1:0x3cb,_0x51121d:0x3e2,_0x7a3827:0xe6,_0x19b3d4:0x3c9,_0x5225de:0x3c1,_0x4ad0f4:0x3e7,_0x49c3cf:0x3d3,_0x42d5ba:0xe1,_0x25116d:0xdd,_0x362d89:0xf2,_0x2b15d7:0xcf,_0x1febee:0xfe,_0x4ada21:0xda,_0x36d65b:0xec},_0x37c170={};_0x37c170[_0x520166(0x101,_0x4ad80e._0x3366f4,0x113,0x131)]=_0x520166(_0x4ad80e._0x2047eb,0x129,0x10e,_0x4ad80e._0x49a528);function _0x53b351(_0x1753ab,_0x1f7646,_0x5c0b6c,_0x226357){return _0x5a6b(_0x226357-0x22c,_0x1f7646);}_0x37c170[_0x53b351(0x3bc,_0x4ad80e._0x6c67bf,_0x4ad80e._0x4962be,0x3b5)]=function(_0x268704,_0x20ce80){return _0x268704===_0x20ce80;};const _0x12607f=_0x37c170,_0x54d071=new Set();if(!_0x4ef86e)return _0x54d071;function _0x520166(_0x4fbb03,_0x30655c,_0x24b01a,_0x2b8623){return _0x5a6b(_0x24b01a- -0xa3,_0x2b8623);}for(const [_0x5961cf,_0x209c4f]of _0x59d41d['entries']()){if(!_0x209c4f)continue;const _0x17645e=_0x209c4f[_0x520166(0x11a,_0x4ad80e._0x276548,_0x4ad80e._0x276548,_0x4ad80e._0x11165c)]===_0x12607f[_0x53b351(_0x4ad80e._0x2452ba,_0x4ad80e._0x8c2fcc,_0x4ad80e._0xb821e1,_0x4ad80e._0x51121d)]||_0x12607f[_0x520166(0xf8,0xe0,_0x4ad80e._0x7a3827,0xf5)](_0x209c4f[_0x53b351(_0x4ad80e._0x19b3d4,_0x4ad80e._0x5225de,_0x4ad80e._0x4ad0f4,_0x4ad80e._0x49c3cf)+'k'],!![]);if(!_0x17645e)continue;const _0x50ae87=_0x209c4f['groupId']||_0x209c4f['originalGr'+_0x520166(0xf3,_0x4ad80e._0x42d5ba,_0x4ad80e._0x25116d,_0x4ad80e._0x362d89)];if(_0x12607f[_0x520166(0x102,_0x4ad80e._0x2b15d7,0xe6,_0x4ad80e._0x1febee)](_0x50ae87,_0x4ef86e)){if(_0x520166(0xd8,0xe2,_0x4ad80e._0x4ada21,_0x4ad80e._0x36d65b)==='PQMVp')return;else _0x54d071['add'](_0x5961cf);}}return _0x54d071;}export function findOrphanedAncestorObjectives(_0x16d041,_0x581c9e){const _0x4e5091={_0x5d7d93:0x5d,_0x288a36:0x40,_0x170f06:0x52,_0x41f404:0x3bf,_0x4a19b:0x387,_0x3500a8:0x3bf,_0x16d22f:0x3bc,_0x4c5c3e:0x3c7,_0x3e3be3:0x3bb,_0x38974a:0x3ce,_0x6009b6:0x3b4,_0x530b:0x6b,_0x29640a:0x59,_0x4a8d20:0x4e,_0x11aee7:0x39c,_0x5eca03:0x4c,_0x4b14fb:0x4a,_0x3ccba0:0x3b0,_0x3defba:0x3be,_0x5e7829:0x3af,_0x70e025:0x3a4,_0x239d0a:0x3bc,_0x2c39dc:0x3a2,_0x10fa46:0x3ac,_0x1d808d:0x4e,_0x2eefa5:0x5f,_0x3189f5:0x55,_0x157833:0x46,_0xa1d8d7:0x3ac,_0x2ef143:0x39f,_0x565b00:0x3d8,_0x7f6a01:0x3c3,_0x2ae789:0x3c0,_0x115ed5:0x3af,_0x141de0:0x39e,_0x47bdf1:0x58,_0x5154a9:0x54,_0xb20eba:0x4a,_0x26f624:0x51,_0x424a97:0x4d,_0x253626:0x2a,_0x26f3b5:0x39b,_0x5efb93:0x3ca,_0x283025:0x3b5,_0x15bd23:0x3bc,_0x438b9a:0x3a5,_0x421257:0x3b5,_0x3ad84c:0x398,_0x45db59:0x3c3,_0xfc8877:0x3d1,_0x193f4d:0x3ef,_0x5b1d61:0x3d2,_0x33c0cd:0x3ba,_0x4dae41:0x3eb,_0x280b82:0x3b8,_0x26df41:0x3b5},_0x3e68ec={_0x9fa48e:0x1d2,_0x3e267c:0x1c5,_0x1cfee2:0x1e7,_0x1fa6d7:0x1e2,_0x5657f0:0x1c7,_0x398fb0:0x156,_0x5a9b82:0x173,_0x5bebf2:0x185,_0x46da12:0x191,_0x467a18:0x19f,_0xff750f:0x1fb,_0xb17131:0x20f,_0x3ecc56:0x1fd,_0x34f865:0x1f8,_0x483fb6:0x1eb,_0x8059e8:0x1ef,_0x48ae8f:0x1d4,_0x2785db:0x196,_0x37c5d2:0x1fb,_0x864236:0x212,_0x31372b:0x20f,_0x930dce:0x1c2,_0x502cfe:0x1f3,_0x218cc9:0x1a8,_0x3232cd:0x190,_0x5a9f32:0x179,_0x32d795:0x189,_0x329846:0x177,_0xca89fa:0x1d8,_0x2ab42c:0x1f1,_0x2a178e:0x17d,_0x5257cd:0x19b,_0x288781:0x1e5,_0x43d0fe:0x1a7,_0xcf2ccd:0x1af,_0x5eb63c:0x1a7,_0x4c93b4:0x1ee,_0xdf85f4:0x1d0,_0x14c2b0:0x1fd,_0x45da55:0x18a,_0x40cc36:0x17c,_0x5e4ca6:0x1f3,_0x475865:0x1ce,_0x124067:0x1db,_0x343211:0x1fb,_0x5399e6:0x1a3,_0x57879d:0x194,_0x2fae59:0x190,_0x316d3c:0x19f},_0x4bd1a5={_0x3b2caf:0x1de,_0x57951f:0x1e3},_0xa2beba={_0x4c8046:0x21a},_0x504a13={'LEipr':function(_0x4584b5,_0x49b64c){return _0x4584b5!==_0x49b64c;},'qrNpX':'objective','cSzVn':function(_0x4c927a,_0x2e7708){return _0x4c927a===_0x2e7708;},'oBVhO':'sbwOb','NsgGr':_0xe49d73(-_0x4e5091._0x5d7d93,-_0x4e5091._0x288a36,-_0x4e5091._0x170f06,-0x40),'ETBtT':_0x573504(_0x4e5091._0x41f404,0x3a2,_0x4e5091._0x4a19b,0x3bf),'LjemV':function(_0x388234,_0x4a2cc1){return _0x388234===_0x4a2cc1;},'aOUcQ':'SbBcN','zpqEx':function(_0x30ebe0,_0xa03ad7){return _0x30ebe0(_0xa03ad7);},'jEiMm':function(_0xd6c6b0,_0x4428c5){return _0xd6c6b0===_0x4428c5;},'hiyGW':'EzDPS'},_0x161da8=new Set(_0x581c9e);function _0x573504(_0x573aa0,_0x1fa465,_0x504ba7,_0x2f0b41){return _0x5a6b(_0x1fa465-_0xa2beba._0x4c8046,_0x504ba7);}const _0x4cf210=[],_0x24018e=new Set();function _0xe49d73(_0x5ba909,_0x4c7b82,_0x49fb97,_0xa4fa69){return _0x5a6b(_0x49fb97- -0x1ec,_0x5ba909);}const _0x31e9ec=new Set();for(const _0x2fc0f5 of _0x581c9e){if(_0x504a13[_0x573504(0x3d2,_0x4e5091._0x3500a8,0x3b9,_0x4e5091._0x16d22f)]('InQiE',_0x573504(_0x4e5091._0x4c5c3e,_0x4e5091._0x3e3be3,_0x4e5091._0x38974a,_0x4e5091._0x6009b6)))_0x217778['push'](_0x5f46fd),_0x398b90[_0xe49d73(-_0x4e5091._0x530b,-_0x4e5091._0x29640a,-_0x4e5091._0x4a8d20,-0x37)](_0x1ed2fb),_0x1e1d18[_0x573504(0x3c3,0x3b0,_0x4e5091._0x11aee7,0x3b5)+_0xe49d73(-_0x4e5091._0x29640a,-_0x4e5091._0x5eca03,-_0x4e5091._0x4b14fb,-0x2f)]&&_0x4477a6(_0x53dd69[_0x573504(0x3c7,_0x4e5091._0x3ccba0,0x3b1,0x393)+_0xe49d73(-0x50,-0x33,-_0x4e5091._0x4b14fb,-0x39)]);else{const _0x522c62=_0x16d041[_0x573504(0x3a0,0x3ad,_0x4e5091._0x3defba,_0x4e5091._0x5e7829)](_0x2fc0f5);_0x522c62?.[_0x573504(_0x4e5091._0x70e025,0x3bd,0x3a1,0x3b8)+_0x573504(0x3b6,_0x4e5091._0x239d0a,_0x4e5091._0x2c39dc,_0x4e5091._0x10fa46)]&&_0x31e9ec[_0xe49d73(-_0x4e5091._0x288a36,-0x4c,-_0x4e5091._0x1d808d,-_0x4e5091._0x2eefa5)](_0x522c62['sourceObje'+'ctiveId']);}}const _0x120517=_0xe39d0=>{const _0x358938={_0x1c61b3:0x23b};if(_0x24018e[_0x19f6b6(_0x3e68ec._0x9fa48e,_0x3e68ec._0x3e267c,_0x3e68ec._0x1cfee2,0x1ed)](_0xe39d0))return;_0x24018e['add'](_0xe39d0);const _0x2e9430=_0x16d041[_0x19f6b6(_0x3e68ec._0x1fa6d7,0x1dc,_0x3e68ec._0x5657f0,0x1f0)](_0xe39d0);function _0x19f6b6(_0x1914c8,_0x235ec4,_0x54d39e,_0x665b1){return _0xe49d73(_0x235ec4,_0x235ec4-0x16f,_0x1914c8-_0x358938._0x1c61b3,_0x665b1-0x55);}if(!_0x2e9430||_0x504a13['LEipr'](_0x2e9430[_0x350e70(_0x3e68ec._0x398fb0,_0x3e68ec._0x5a9b82,0x16f,0x17d)],_0x504a13[_0x350e70(_0x3e68ec._0x5bebf2,_0x3e68ec._0x46da12,_0x3e68ec._0x467a18,0x173)])||!_0x2e9430[_0x19f6b6(_0x3e68ec._0xff750f,0x1f9,_0x3e68ec._0xb17131,_0x3e68ec._0x3ecc56)])return;function _0x350e70(_0xd4007b,_0x142370,_0x3a55cd,_0x14f2e9){return _0xe49d73(_0x3a55cd,_0x142370-0x6d,_0x142370-_0x4bd1a5._0x3b2caf,_0x14f2e9-_0x4bd1a5._0x57951f);}let _0x119297=![];for(const [_0x496585,_0x739074]of _0x16d041[_0x19f6b6(0x1d4,0x1b7,0x1d6,0x1de)]()){if(_0x504a13[_0x19f6b6(_0x3e68ec._0x34f865,0x1e3,_0x3e68ec._0xb17131,_0x3e68ec._0x483fb6)](_0x739074?.[_0x19f6b6(0x1f2,_0x3e68ec._0x8059e8,0x1fd,_0x3e68ec._0x48ae8f)+_0x350e70(0x17d,0x194,_0x3e68ec._0x2785db,0x191)],_0xe39d0)&&_0x739074[_0x19f6b6(_0x3e68ec._0x37c5d2,0x1f7,0x1e3,_0x3e68ec._0x864236)]&&!_0x161da8['has'](_0x496585)){if(_0x504a13[_0x19f6b6(0x1f8,0x1f9,0x1e2,_0x3e68ec._0x31372b)](_0x504a13['oBVhO'],_0x504a13[_0x19f6b6(0x1db,_0x3e68ec._0x930dce,0x1f4,_0x3e68ec._0x502cfe)]))_0x3fb08e[_0x350e70(_0x3e68ec._0x218cc9,_0x3e68ec._0x3232cd,_0x3e68ec._0x5a9f32,_0x3e68ec._0x32d795)](_0x456b22[_0x19f6b6(0x1f2,0x1d5,0x1ec,0x1d6)+'ctiveId']);else{_0x119297=!![];break;}}}let _0x537af6=![];for(const [_0x134b3d,_0x3c75d6]of _0x16d041[_0x350e70(0x184,_0x3e68ec._0x329846,0x17c,0x167)]()){if(_0x19f6b6(0x1d7,_0x3e68ec._0xca89fa,0x1f4,_0x3e68ec._0x2ab42c)===_0x504a13[_0x350e70(0x18f,0x18b,_0x3e68ec._0x2a178e,_0x3e68ec._0x5257cd)]){if(_0x3c75d6?.[_0x19f6b6(_0x3e68ec._0x288781,0x1da,0x1f6,0x1d6)+'ctiveId']===_0xe39d0&&_0x504a13[_0x350e70(0x1a9,_0x3e68ec._0x43d0fe,_0x3e68ec._0xcf2ccd,_0x3e68ec._0x5eb63c)](_0x3c75d6['status'],_0x504a13[_0x19f6b6(_0x3e68ec._0x4c93b4,0x1e0,_0x3e68ec._0xdf85f4,0x1ec)])&&_0x3c75d6[_0x19f6b6(0x1fb,_0x3e68ec._0x14c2b0,_0x3e68ec._0x31372b,0x1f6)]&&!_0x161da8[_0x350e70(_0x3e68ec._0x45da55,0x175,0x192,_0x3e68ec._0x40cc36)](_0x134b3d)){_0x537af6=!![];break;}}else _0x3ce2e5[_0x19f6b6(0x1ed,0x204,0x1f4,_0x3e68ec._0x5e4ca6)](_0x7210a1);}!_0x119297&&!_0x537af6&&(_0x4cf210[_0x19f6b6(0x1d5,0x1e0,_0x3e68ec._0x475865,0x1d5)](_0xe39d0),_0x161da8['add'](_0xe39d0),_0x2e9430[_0x19f6b6(0x1e5,_0x3e68ec._0x124067,_0x3e68ec._0x343211,0x1d1)+'ctiveId']&&(_0x504a13['aOUcQ']!==_0x350e70(0x1b2,0x196,0x18f,_0x3e68ec._0x5399e6)?_0x504a13['zpqEx'](_0x120517,_0x2e9430[_0x19f6b6(_0x3e68ec._0x288781,_0x3e68ec._0x1cfee2,0x1d9,0x1e9)+_0x350e70(0x1b1,_0x3e68ec._0x57879d,0x191,0x190)]):_0x20aca7[_0x350e70(0x1a1,_0x3e68ec._0x2fae59,0x18f,_0x3e68ec._0x316d3c)](_0x43473c)));};for(const _0x47e638 of _0x31e9ec){if(_0x504a13[_0xe49d73(-_0x4e5091._0x5d7d93,-_0x4e5091._0x3189f5,-_0x4e5091._0x157833,-0x42)](_0x573504(_0x4e5091._0xa1d8d7,_0x4e5091._0x10fa46,0x3ca,0x395),_0x504a13['hiyGW']))_0x120517(_0x47e638);else for(const [_0x2de9a7,_0x543128]of _0x51c3ce[_0x573504(_0x4e5091._0x2ef143,_0x4e5091._0x2ef143,_0x4e5091._0x2ef143,0x391)]()){_0x504a13[_0x573504(_0x4e5091._0x565b00,_0x4e5091._0x7f6a01,0x3a9,0x3be)](_0x543128?.[_0x573504(_0x4e5091._0x2ae789,_0x4e5091._0x3ccba0,_0x4e5091._0x115ed5,_0x4e5091._0x141de0)+_0xe49d73(-_0x4e5091._0x47bdf1,-_0x4e5091._0x5154a9,-_0x4e5091._0xb20eba,-_0x4e5091._0x26f624)],_0x1fa396)&&_0x504a13[_0xe49d73(-0x46,-_0x4e5091._0x424a97,-0x37,-_0x4e5091._0x253626)](_0x543128?.[_0x573504(0x385,_0x4e5091._0x26f3b5,0x3b9,0x381)],_0x573504(_0x4e5091._0x5efb93,_0x4e5091._0x283025,_0x4e5091._0x15bd23,0x3cd))&&(_0xcac905['add'](_0x2de9a7),_0x504a13['zpqEx'](_0x5eefae,_0x2de9a7));if(_0x543128?.['sourceObje'+'ctiveId']===_0x26d71b){_0x554fc2[_0x573504(_0x4e5091._0x438b9a,0x3b8,_0x4e5091._0x26f3b5,_0x4e5091._0x421257)](_0x2de9a7);if(_0x543128[_0x573504(0x3ab,_0x4e5091._0x3ad84c,0x3b0,0x38a)])_0x2bc488['add'](_0x543128['groupId']);if(_0x543128[_0x573504(_0x4e5091._0x45db59,_0x4e5091._0xfc8877,_0x4e5091._0x193f4d,_0x4e5091._0x5b1d61)+_0xe49d73(-_0x4e5091._0x5d7d93,-0x89,-0x6c,-0x77)])_0x3db201[_0x573504(_0x4e5091._0x33c0cd,0x3b8,0x3a6,0x3ab)](_0x543128[_0x573504(0x3c9,_0x4e5091._0xfc8877,_0x4e5091._0x4dae41,0x3e1)+_0x573504(_0x4e5091._0x280b82,0x39a,_0x4e5091._0x26df41,0x380)]);}}}return _0x4cf210;}
|
|
1
|
+
function _0x3a68(_0x3ffa44,_0x17e79a){_0x3ffa44=_0x3ffa44-(0x1*0x71+0xcfd*-0x3+0x53*0x7a);const _0x2db817=_0x3f6e();let _0x29aa62=_0x2db817[_0x3ffa44];if(_0x3a68['DlOnqH']===undefined){var _0x403b69=function(_0x35d585){const _0x2edb77='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x31258a='',_0x13987b='';for(let _0x1327c4=-0x1e0*-0x12+-0x862+-0x195e,_0x217e47,_0x47ce06,_0x199bb3=-0x8dd*0x1+0x6d8+-0x205*-0x1;_0x47ce06=_0x35d585['charAt'](_0x199bb3++);~_0x47ce06&&(_0x217e47=_0x1327c4%(-0x52*-0x9+-0x1*-0x1c55+-0x7*0x475)?_0x217e47*(-0x7ec+-0x1aef+-0xd1*-0x2b)+_0x47ce06:_0x47ce06,_0x1327c4++%(-0x6ad*-0x1+0x6d1+-0xd7a))?_0x31258a+=String['fromCharCode'](0x1fff+0x883+-0x121*0x23&_0x217e47>>(-(-0x5bc+-0x2591+0x2b4f)*_0x1327c4&-0x13cd+-0x180a+0x2bdd)):0x16bb+0x2383+0xd5*-0x46){_0x47ce06=_0x2edb77['indexOf'](_0x47ce06);}for(let _0x1d72ee=0x1e*-0x42+-0x246b+0x7f*0x59,_0x2ca8a1=_0x31258a['length'];_0x1d72ee<_0x2ca8a1;_0x1d72ee++){_0x13987b+='%'+('00'+_0x31258a['charCodeAt'](_0x1d72ee)['toString'](-0x2588+-0xb26*-0x1+0x1a72))['slice'](-(0x2671+-0x2e3+-0x16c*0x19));}return decodeURIComponent(_0x13987b);};_0x3a68['PIUMYo']=_0x403b69,_0x3a68['EoPjnc']={},_0x3a68['DlOnqH']=!![];}const _0xc33f6e=_0x2db817[-0x3*-0xc73+0x55d*-0x1+-0x1ffc*0x1],_0x49a08c=_0x3ffa44+_0xc33f6e,_0x2ff538=_0x3a68['EoPjnc'][_0x49a08c];return!_0x2ff538?(_0x29aa62=_0x3a68['PIUMYo'](_0x29aa62),_0x3a68['EoPjnc'][_0x49a08c]=_0x29aa62):_0x29aa62=_0x2ff538,_0x29aa62;}(function(_0x26f52e,_0x57c602){const _0x205098={_0x40a8bc:0xa3,_0x3e38ab:0x32d,_0x244707:0x323,_0x510618:0xa7,_0x561c54:0xa3,_0x120433:0x32c,_0x20f928:0x324,_0x3c04ea:0x33e,_0x158644:0x9c,_0x166d36:0x89,_0xfb0996:0x9d,_0x454a82:0x329,_0xfb4d6b:0x90,_0x37b817:0x84,_0x2a65b0:0x8c,_0x32567d:0x6d,_0x5a1f78:0x32b,_0xe24c0f:0x305,_0x597d48:0x317,_0x56466a:0x325,_0x386a7c:0x33a,_0x14b2a0:0x2ff},_0x1df1eb=_0x26f52e();function _0x5b9dec(_0x444dfb,_0x5ca6e9,_0x112555,_0x3b1268){return _0x3a68(_0x3b1268-0x20b,_0x112555);}function _0x2231df(_0x54f7ef,_0x827b5,_0x165374,_0x1d7243){return _0x3a68(_0x827b5- -0x1b0,_0x165374);}while(!![]){try{const _0x24adeb=parseInt(_0x2231df(-0x92,-0x85,-0x6c,-0x97))/(0x1d55*-0x1+0x2*-0x9e6+0x3122)*(parseInt(_0x2231df(-0xa4,-0x92,-0x7e,-_0x205098._0x40a8bc))/(-0x49d*-0x4+-0x4*0x935+-0xd*-0x16a))+parseInt(_0x5b9dec(_0x205098._0x3e38ab,_0x205098._0x244707,0x319,0x32d))/(0xa3*0x29+-0x3c7*0x2+-0x128a*0x1)*(parseInt(_0x2231df(-0xc1,-_0x205098._0x510618,-_0x205098._0x561c54,-0x8e))/(-0x7e8*0x1+0x82f+-0x43))+-parseInt(_0x5b9dec(_0x205098._0x120433,_0x205098._0x20f928,_0x205098._0x3c04ea,0x338))/(-0x1376+-0x161c+0x2997)*(-parseInt(_0x2231df(-0x9a,-_0x205098._0x158644,-_0x205098._0x166d36,-_0x205098._0xfb0996))/(-0x10a3+0x4ff+-0xbaa*-0x1))+-parseInt(_0x5b9dec(0x30b,0x324,_0x205098._0x454a82,0x327))/(0x1a7b+0x20af+-0x3b23*0x1)+parseInt(_0x2231df(-_0x205098._0xfb4d6b,-_0x205098._0x37b817,-0x81,-_0x205098._0x2a65b0))/(0x789+0x1d89+-0x250a*0x1)+-parseInt(_0x2231df(-0x76,-0x82,-0x91,-_0x205098._0x32567d))/(-0xb*0x4f+-0x7*0x284+-0xa85*-0x2)*(-parseInt(_0x5b9dec(_0x205098._0x5a1f78,_0x205098._0xe24c0f,_0x205098._0x597d48,_0x205098._0x56466a))/(-0xf8d*0x1+-0x2347*-0x1+-0x13b0))+-parseInt(_0x5b9dec(_0x205098._0x386a7c,0x311,_0x205098._0x386a7c,0x32b))/(0x107a+0x1*0x3db+-0x144a)*(parseInt(_0x5b9dec(_0x205098._0x14b2a0,0x326,0x33e,0x31e))/(-0x1f*-0xc5+0x991*-0x1+-0xe3e));if(_0x24adeb===_0x57c602)break;else _0x1df1eb['push'](_0x1df1eb['shift']());}catch(_0x57250b){_0x1df1eb['push'](_0x1df1eb['shift']());}}}(_0x3f6e,0x6619c+-0x1*0xd9507+0xfbead));export function collectObjectiveCascadeUnpinTargets(_0x34c5d0,_0xe71bf){const _0x4a5210={_0x22a6cc:0x25c,_0x5e673b:0x284,_0x9a803c:0x2a7,_0x2c58bc:0x290,_0x3ae089:0x2c6,_0x24ca29:0x2ba,_0x438dc6:0x2a4,_0x53610c:0x2a2,_0x3b2893:0x285,_0x8e8bcd:0x282,_0x5de695:0x29d,_0x54c701:0x28e,_0x35304b:0x283,_0x3456b1:0x26b,_0x2ea4aa:0x274,_0x188a84:0x2cd,_0x145100:0x2ca,_0x31833a:0x259,_0x4847af:0x260,_0x2ded98:0x276,_0x9482c0:0x278,_0x5ef10f:0x280,_0x368420:0x2b9,_0x5e0283:0x28a,_0x41c6e4:0x263,_0x5a7bca:0x291,_0x297124:0x2a9,_0x31a3f6:0x2ab,_0x6d1dd2:0x2ad,_0x283220:0x2c4,_0x4f6e3e:0x26d,_0x39690e:0x251,_0xe401c7:0x272,_0x3adb58:0x25d,_0x12caa9:0x284,_0x25f294:0x251,_0x34e2aa:0x244,_0x447e6e:0x255,_0x2592fd:0x28d,_0x4a3a3f:0x2a9,_0x387305:0x27b,_0x1f0e91:0x265,_0x5ac483:0x26e,_0x121c8d:0x270,_0x177fce:0x280,_0x26e7b1:0x25c,_0x1a9cd7:0x2ae,_0x4984d0:0x2b3},_0x24fa04={_0x32b5ec:0x399},_0xdccb1d={_0x2e0ae2:0x259,_0x2525d5:0x25e,_0x3bcb6a:0x175,_0x130bae:0x15f,_0x2f8fa5:0x172,_0x10f806:0x296,_0x5c9c2d:0x28a,_0x52c02b:0x281,_0x27bf9f:0x19b,_0x2a0ae3:0x194,_0x47ace6:0x268,_0x20d34e:0x279,_0x3eabe4:0x2ad,_0x44ab06:0x2ae,_0x566f29:0x183,_0x6766f2:0x198,_0xc9645a:0x17b,_0x1140a4:0x26e,_0x2fdffb:0x27a,_0x230d57:0x286,_0x1418c2:0x286,_0x5e2593:0x2a8,_0x3139b6:0x281,_0x277784:0x297,_0x308a27:0x290,_0x625f89:0x275,_0x1680f1:0x279,_0x4f1559:0x2c1,_0x276be4:0x294,_0x2331cd:0x278,_0x467f71:0x284,_0x13ec8e:0x288,_0x311f9f:0x14a,_0x5eca83:0x2a2,_0x259251:0x134,_0xc04dd2:0x136},_0x1ce38a={'sopBJ':function(_0x3579b3,_0x203eb7){return _0x3579b3===_0x203eb7;},'YigcC':_0x428986(-0x257,-_0x4a5210._0x22a6cc,-0x273,-0x254),'PGzCW':_0x1619ea(_0x4a5210._0x5e673b,0x2b0,_0x4a5210._0x9a803c,_0x4a5210._0x2c58bc),'EhEwD':function(_0x4996a2,_0x157d16){return _0x4996a2===_0x157d16;},'EnyjM':_0x1619ea(_0x4a5210._0x3ae089,_0x4a5210._0x3ae089,0x29e,_0x4a5210._0x9a803c),'rHJVg':function(_0x5cb846,_0x2c6c5e){return _0x5cb846(_0x2c6c5e);},'uVtcE':function(_0x3807ee,_0x9cdb86){return _0x3807ee!==_0x9cdb86;},'kCIcr':_0x1619ea(0x2a2,0x2a1,_0x4a5210._0x24ca29,_0x4a5210._0x438dc6),'llXLP':function(_0x31677b,_0x575a71){return _0x31677b===_0x575a71;},'EnBVZ':_0x1619ea(_0x4a5210._0x53610c,_0x4a5210._0x3b2893,0x27d,_0x4a5210._0x8e8bcd)},_0x259477=new Set(),_0x32d446=new Set(),_0x236d00=_0x18c4d0=>{const _0x47876e={_0x31449c:0xfc,_0xc9d313:0x1c9},_0x1dabb4={_0x36dfb0:0x146};function _0x2b9e4a(_0xec2173,_0x1ac2dc,_0x3d1a01,_0x11e781){return _0x1619ea(_0xec2173-_0x1dabb4._0x36dfb0,_0x1ac2dc,_0x3d1a01-0x89,_0xec2173- -0x136);}function _0x51acf7(_0x3688ae,_0x213489,_0x25106d,_0x16fa04){return _0x428986(_0x3688ae-_0x47876e._0x31449c,_0x16fa04- -0x23,_0x25106d-_0x47876e._0xc9d313,_0x213489);}for(const [_0x49cd05,_0x56ab4c]of _0x34c5d0[_0x51acf7(-_0xdccb1d._0x2e0ae2,-_0xdccb1d._0x2525d5,-0x28d,-0x276)]()){_0x1ce38a[_0x2b9e4a(_0xdccb1d._0x3bcb6a,_0xdccb1d._0x130bae,0x169,_0xdccb1d._0x2f8fa5)](_0x56ab4c?.[_0x51acf7(-0x279,-_0xdccb1d._0x10f806,-_0xdccb1d._0x5c9c2d,-_0xdccb1d._0x52c02b)+_0x2b9e4a(0x183,0x198,_0xdccb1d._0x27bf9f,_0xdccb1d._0x2a0ae3)],_0x18c4d0)&&_0x56ab4c?.['status']==='objective'&&(_0x259477[_0x51acf7(-0x26b,-_0xdccb1d._0x47ace6,-0x28c,-_0xdccb1d._0x20d34e)](_0x49cd05),_0x236d00(_0x49cd05));if(_0x1ce38a['sopBJ'](_0x56ab4c?.[_0x51acf7(-_0xdccb1d._0x3eabe4,-_0xdccb1d._0x44ab06,-0x2a3,-0x29f)+_0x2b9e4a(_0xdccb1d._0x566f29,_0xdccb1d._0x6766f2,_0xdccb1d._0x2a0ae3,_0xdccb1d._0xc9645a)],_0x18c4d0)){if(_0x1ce38a[_0x51acf7(-_0xdccb1d._0x1140a4,-0x299,-_0xdccb1d._0x2fdffb,-_0xdccb1d._0x230d57)](_0x1ce38a[_0x51acf7(-_0xdccb1d._0x1418c2,-_0xdccb1d._0x5e2593,-_0xdccb1d._0x3139b6,-_0xdccb1d._0x277784)],_0x1ce38a['PGzCW']))_0x35d585[_0x51acf7(-0x25d,-_0xdccb1d._0x308a27,-_0xdccb1d._0x625f89,-_0xdccb1d._0x1680f1)](_0x2edb77),_0x31258a(_0x13987b);else{_0x259477['add'](_0x49cd05);if(_0x56ab4c[_0x51acf7(-0x29d,-_0xdccb1d._0x4f1559,-0x2a7,-0x2b0)])_0x32d446[_0x51acf7(-0x281,-_0xdccb1d._0x276be4,-0x25e,-_0xdccb1d._0x1680f1)](_0x56ab4c['groupId']);if(_0x56ab4c[_0x51acf7(-_0xdccb1d._0x2331cd,-_0xdccb1d._0x467f71,-0x291,-_0xdccb1d._0x13ec8e)+_0x2b9e4a(_0xdccb1d._0x311f9f,0x143,0x12d,0x169)])_0x32d446['add'](_0x56ab4c[_0x51acf7(-0x27d,-0x274,-_0xdccb1d._0x5eca83,-_0xdccb1d._0x13ec8e)+_0x2b9e4a(0x14a,_0xdccb1d._0x259251,_0xdccb1d._0xc04dd2,0x13b)]);}}}};_0x1ce38a[_0x1619ea(0x29a,0x2aa,_0x4a5210._0x5de695,_0x4a5210._0x54c701)](_0x236d00,_0xe71bf);function _0x1619ea(_0x4883f4,_0x3a71aa,_0x1882c1,_0x43e2cf){return _0x3a68(_0x43e2cf-0x175,_0x3a71aa);}function _0x428986(_0x9bf337,_0x30887c,_0x4296f6,_0x1259e4){return _0x3a68(_0x30887c- -_0x24fa04._0x32b5ec,_0x1259e4);}if(_0x32d446['size']>0x1600*0x1+-0x35b+-0x12a5)for(const [_0x539559,_0x1a763b]of _0x34c5d0['entries']()){if(_0x1ce38a['uVtcE'](_0x1ce38a[_0x428986(-0x29f,-_0x4a5210._0x35304b,-_0x4a5210._0x3456b1,-0x26a)],'eMBcp')){if(!_0x1a763b)continue;const _0x298e25=_0x1ce38a['llXLP'](_0x1a763b['taskType'],_0x428986(-_0x4a5210._0x2ea4aa,-0x259,-0x273,-0x26d))||_0x1ce38a[_0x1619ea(_0x4a5210._0x188a84,0x2cc,_0x4a5210._0x145100,0x2b4)](_0x1a763b[_0x428986(-_0x4a5210._0x31833a,-_0x4a5210._0x4847af,-0x25a,-0x272)+'k'],!![]);if(!_0x298e25)continue;const _0x4ded00=_0x1a763b['groupId']||_0x1a763b['originalGr'+_0x1619ea(_0x4a5210._0x2ded98,0x28b,_0x4a5210._0x9482c0,_0x4a5210._0x5ef10f)];if(_0x4ded00&&_0x32d446[_0x1619ea(0x2b0,_0x4a5210._0x368420,_0x4a5210._0x5e0283,0x29d)](_0x4ded00)){if(_0x1ce38a[_0x428986(-0x260,-_0x4a5210._0x41c6e4,-0x255,-0x250)](_0x1ce38a[_0x428986(-0x298,-_0x4a5210._0x5a7bca,-_0x4a5210._0x297124,-_0x4a5210._0x31a3f6)],_0x1ce38a['EnBVZ']))_0x259477['add'](_0x539559);else{_0x1ce38a[_0x1619ea(0x29b,0x2b1,0x2a0,_0x4a5210._0x31a3f6)](_0x42d4ae?.[_0x1619ea(_0x4a5210._0x6d1dd2,_0x4a5210._0x283220,0x2ab,0x2b0)+'ctiveId'],_0x42b050)&&_0x1ce38a[_0x428986(-_0x4a5210._0x4f6e3e,-0x25a,-_0x4a5210._0x39690e,-_0x4a5210._0x4f6e3e)](_0x2e61e1?.[_0x428986(-_0x4a5210._0x2ea4aa,-_0x4a5210._0xe401c7,-_0x4a5210._0x3adb58,-0x26b)],_0x1ce38a[_0x428986(-_0x4a5210._0x54c701,-_0x4a5210._0x12caa9,-_0x4a5210._0x9482c0,-0x266)])&&(_0x5d461d[_0x428986(-0x259,-0x256,-_0x4a5210._0x25f294,-0x249)](_0x292425),_0x569473(_0x201c7a));if(_0x4aca2c?.['sourceObje'+_0x428986(-_0x4a5210._0x34e2aa,-_0x4a5210._0x447e6e,-0x26d,-0x26b)]===_0x31ac27){_0x34cf7a[_0x1619ea(0x2c8,0x2c7,0x29f,0x2b8)](_0x574516);if(_0x41457c[_0x428986(-0x287,-0x28d,-0x291,-0x27e)])_0x3beeaa['add'](_0x3ffa44[_0x428986(-0x296,-_0x4a5210._0x2592fd,-_0x4a5210._0x4a3a3f,-_0x4a5210._0x387305)]);if(_0x17e79a[_0x428986(-0x250,-_0x4a5210._0x1f0e91,-0x267,-0x273)+_0x1619ea(_0x4a5210._0x5ac483,0x290,_0x4a5210._0x121c8d,_0x4a5210._0x177fce)])_0x2db817['add'](_0x29aa62['originalGr'+_0x428986(-_0x4a5210._0x5e0283,-0x28e,-0x290,-0x295)]);}}}}else _0x5a45b8['add'](_0x112725);}_0x259477['delete'](_0xe71bf);const _0x128d4b={};return _0x128d4b[_0x428986(-0x259,-0x254,-_0x4a5210._0x26e7b1,-_0x4a5210._0x2ea4aa)+_0x1619ea(_0x4a5210._0x1a9cd7,0x29e,_0x4a5210._0x4984d0,0x2a8)]=_0x259477,_0x128d4b['affectedGr'+_0x1619ea(0x2b4,0x27c,_0x4a5210._0x8e8bcd,0x29b)]=_0x32d446,_0x128d4b;}export function findJudgeTasksForGroup(_0x1ec141,_0x728126){const _0x14a179={_0x4acfb9:0x35f,_0x4770b7:0x359,_0x59ef95:0x36e,_0x2ebdc2:0x393,_0x37f2d3:0x362,_0x1372a1:0x36a,_0x500d82:0x1e3,_0x511467:0x1e8,_0x2dd124:0x387,_0x18e187:0x38e,_0x368144:0x363,_0x3b62a1:0x383,_0x2362d7:0x1df,_0x3b32d6:0x1ed,_0x5c600e:0x1f4,_0x53a2c6:0x1e2,_0x47406f:0x1e4,_0x55e917:0x1e2,_0x3492a1:0x21e,_0x588d17:0x211,_0x4368f8:0x37b,_0x5074d0:0x36f,_0x2a1ff2:0x339,_0x447497:0x35a,_0x52d2f3:0x1da,_0x7ff13a:0x1eb,_0x48a30d:0x39e,_0x42768f:0x37c,_0x888bd1:0x37e,_0x35c248:0x1ef,_0x3170fa:0x1e1,_0xc8f823:0x35b,_0x57e3e5:0x374,_0x2ae2b9:0x1d5,_0x4aaac8:0x1d9,_0x5f03a0:0x1dd},_0x4b41be={_0x12c1d2:0x31d},_0xe6e2f={_0x2d9d9a:0x244},_0xc1d222={'PcAvq':function(_0x199bfa,_0x506335){return _0x199bfa(_0x506335);},'NTGxC':_0x584594(_0x14a179._0x4acfb9,_0x14a179._0x4770b7,0x36b,_0x14a179._0x59ef95),'fHMFe':_0x584594(_0x14a179._0x2ebdc2,0x38a,_0x14a179._0x37f2d3,0x37c),'pHwuF':function(_0x39d5d6,_0x25a987){return _0x39d5d6===_0x25a987;},'EEiFx':'judge','DySEd':function(_0x1ef2b4,_0x3fdb5f){return _0x1ef2b4===_0x3fdb5f;},'KjPdG':function(_0x228409,_0x239ccd){return _0x228409===_0x239ccd;}},_0x38d6c2=new Set();if(!_0x728126)return _0x38d6c2;for(const [_0x46bb2b,_0x2f7f1c]of _0x1ec141[_0x584594(_0x14a179._0x1372a1,0x380,0x36a,0x38a)]()){if(_0xc1d222[_0x42646e(-0x1f5,-_0x14a179._0x500d82,-0x1d5,-_0x14a179._0x511467)]!==_0xc1d222[_0x584594(0x36b,0x369,_0x14a179._0x2dd124,0x379)]){if(!_0x2f7f1c)continue;const _0x71baff=_0xc1d222[_0x584594(_0x14a179._0x18e187,_0x14a179._0x368144,0x375,0x380)](_0x2f7f1c[_0x584594(0x37c,0x359,_0x14a179._0x3b62a1,0x375)],_0xc1d222[_0x42646e(-0x1f3,-_0x14a179._0x2362d7,-_0x14a179._0x3b32d6,-_0x14a179._0x5c600e)])||_0xc1d222[_0x42646e(-0x1e2,-0x1fa,-0x1e9,-_0x14a179._0x53a2c6)](_0x2f7f1c[_0x42646e(-0x1eb,-_0x14a179._0x47406f,-_0x14a179._0x55e917,-0x1df)+'k'],!![]);if(!_0x71baff)continue;const _0x531f9a=_0x2f7f1c[_0x42646e(-_0x14a179._0x3492a1,-_0x14a179._0x588d17,-0x21d,-0x1f5)]||_0x2f7f1c[_0x584594(0x390,_0x14a179._0x4368f8,0x390,0x378)+_0x584594(_0x14a179._0x5074d0,_0x14a179._0x2a1ff2,_0x14a179._0x447497,0x34f)];_0xc1d222['KjPdG'](_0x531f9a,_0x728126)&&_0x38d6c2[_0x42646e(-0x1bb,-_0x14a179._0x52d2f3,-_0x14a179._0x7ff13a,-0x1ba)](_0x46bb2b);}else _0x1ff7ac['push'](_0x49bf53),_0x435744[_0x584594(_0x14a179._0x48a30d,_0x14a179._0x42768f,_0x14a179._0x888bd1,0x387)](_0x5399a3),_0x2f4fbc[_0x584594(0x381,0x364,0x381,0x37f)+_0x42646e(-_0x14a179._0x35c248,-0x1d9,-0x1bf,-_0x14a179._0x3170fa)]&&_0xc1d222[_0x584594(0x383,0x38a,_0x14a179._0xc8f823,_0x14a179._0x57e3e5)](_0x5c94c7,_0x2de52a['parentObje'+_0x42646e(-_0x14a179._0x2ae2b9,-_0x14a179._0x4aaac8,-0x1da,-_0x14a179._0x5f03a0)]);}function _0x584594(_0x5169e9,_0x1f1c49,_0x5ad33c,_0x27d7d1){return _0x3a68(_0x27d7d1-_0xe6e2f._0x2d9d9a,_0x5ad33c);}function _0x42646e(_0x379ff5,_0x383cb0,_0x39763e,_0x1af51c){return _0x3a68(_0x383cb0- -_0x4b41be._0x12c1d2,_0x39763e);}return _0x38d6c2;}function _0x3f6e(){const _0x58fa60=['A0njy3i','reDhu3a','z2PQwgO','CKHkvMC','mtGZmeLXEvjnuG','zwzeExq','ndy1mte3mvvOv1Hsta','C291CMnLt2jQzq','mLPMCuLOtG','wxzbsgi','nJq5D0LerujI','CenoAwC','mJaXz2D2DeX0','rhLtrwq','u1jfD0i','wwLNy0m','B3vWswrZ','C3rHDhvZ','AgfZ','AxnqAw5Uzwq','vNrIB1a','nda1nta5uKfpq2n3','ntC0mdKXmMLiBeD5ra','mJa5oti3mgDruK9ZCa','mJK1otjdqKPlsfi','Bxfkr0q','ugnbDNe','DgfZA1r5Cgu','B2jQzwn0AxzL','B25ZAwrLCG','B3jPz2LUywXhCG','zKHnrMu','C29WqKO','Egn0zKC','reTNsK0','AxnkDwrNzvrHCW','tLrhEem','CgfYzw50t2jQzq','CeH3Duy','r29LDxi','ruvPrNG','rwHfD0q','ANvKz2u','v1n0u3O','DhH6ANy','ywrK','y3rPDMvjza','DgfZA0LKC1rVqW','zw50CMLLCW','zNHxtgW','rw5cvLO','ndm4mJHxrhDJzw0','AezNt2m','B3vWswq','z3jVDxbjza','yuDPzfe','z2v0','C2Dir0e','ChvZAa','rgzVtLK','sMLZzKC','ndiXodG0CwPptNr3','mtjMwxfTyu4','rw55AK0'];_0x3f6e=function(){return _0x58fa60;};return _0x3f6e();}export function findOrphanedAncestorObjectives(_0x31718c,_0x2244fb){const _0x5808ff={_0x1773a2:0x2a0,_0x14589a:0x2bc,_0x3c9c62:0x375,_0xfa4542:0x372,_0x4061f8:0x382,_0x482190:0x38c,_0xf7f993:0x3aa,_0x4617eb:0x266,_0x5d4279:0x27d,_0x32d97f:0x388,_0x28eb28:0x3a0,_0x23657c:0x38e,_0x4be6d8:0x3af,_0x1182ec:0x3bd,_0x5bd67c:0x2b2,_0x118a6b:0x299,_0x4bce51:0x3a2,_0x379490:0x3be},_0x4c21c8={_0x16c310:0x6f,_0x552d39:0x54,_0x2d5158:0x342,_0x5aa9ff:0x94,_0x488e68:0x70,_0x1b0cd4:0x6a,_0x23557e:0x70,_0x2f1424:0x89,_0x5a1c42:0x44,_0x3c6eff:0x50,_0x3f8c31:0x51,_0x2d505d:0x64,_0x3335f0:0x63,_0x2d91d7:0x75,_0xd280a1:0x395,_0x4fa854:0x374,_0x293568:0x38f,_0x1c6123:0x6a,_0x2b872a:0x76,_0x487ede:0xa6,_0x3c0131:0x8d,_0x20142c:0x60,_0x43708d:0x61,_0x202bdd:0x56,_0x58d2ce:0x5c,_0x91264:0x67,_0x306e5d:0xa5,_0x386472:0x5f,_0x27e8f0:0x3a3,_0x1ef7f5:0x7b,_0x55901b:0x4e,_0x58e7b2:0x6e,_0x48eaf8:0x367,_0x7378df:0x33d,_0xb1cf97:0x35b,_0x5ca905:0x359,_0x57b0c2:0x36a,_0x378583:0x379,_0x1ae7b6:0x61,_0x9da7da:0x85,_0x673a9a:0x72,_0x5c103f:0x78,_0x386cda:0x8b,_0x2365f3:0x90,_0x290658:0x39f,_0x1ae26e:0x38e,_0x104e2d:0x35d,_0x45972d:0x36d,_0x25147c:0x390,_0x184cf0:0x53,_0x4baeff:0x36a,_0x551e08:0x380,_0x297ba9:0x398},_0x1bde6e={_0x339b9c:0x1e,_0x2ea70e:0x178},_0x5eaa1a={_0x47a691:0x26b},_0x3d9fcd={'DGGSp':function(_0x2cb078,_0x534c5c){return _0x2cb078!==_0x534c5c;},'fxWLl':_0x2eeb39(0x285,_0x5808ff._0x1773a2,0x290,_0x5808ff._0x14589a),'SREwB':function(_0x38ec8d,_0x10c98f){return _0x38ec8d===_0x10c98f;},'djuEa':_0x2eeb39(0x28a,0x280,0x26c,0x291),'txzjv':_0x1d95be(_0x5808ff._0x3c9c62,_0x5808ff._0xfa4542,_0x5808ff._0x4061f8,0x383),'DfoNY':function(_0x48082d,_0x5ab23a){return _0x48082d===_0x5ab23a;},'gjjXj':_0x1d95be(_0x5808ff._0x482190,_0x5808ff._0xf7f993,0x37a,0x397),'YvAHb':function(_0x326efa,_0x1b0041){return _0x326efa&&_0x1b0041;},'WStSz':_0x2eeb39(_0x5808ff._0x4617eb,_0x5808ff._0x5d4279,0x293,0x28e),'xctfG':function(_0x25587e,_0x122a90){return _0x25587e(_0x122a90);}},_0x113d4c=new Set(_0x2244fb);function _0x1d95be(_0x43094a,_0x49ba22,_0x999d24,_0x39110f){return _0x3a68(_0x43094a-_0x5eaa1a._0x47a691,_0x49ba22);}const _0x21a23f=[],_0x37bb37=new Set();function _0x2eeb39(_0x147546,_0x494b4c,_0x319c5b,_0xe88ed4){return _0x3a68(_0x494b4c-0x16e,_0x319c5b);}const _0x2513b0=new Set();for(const _0x360afd of _0x2244fb){const _0x1ee07a=_0x31718c['get'](_0x360afd);_0x1ee07a?.[_0x1d95be(_0x5808ff._0x32d97f,_0x5808ff._0x28eb28,0x36b,_0x5808ff._0x23657c)+_0x1d95be(_0x5808ff._0x4be6d8,_0x5808ff._0x1182ec,0x3ae,_0x5808ff._0x28eb28)]&&_0x2513b0['add'](_0x1ee07a[_0x1d95be(0x388,0x379,0x396,0x388)+_0x2eeb39(0x294,_0x5808ff._0x5bd67c,0x29e,_0x5808ff._0x118a6b)]);}const _0x13ab44=_0x1b6d6a=>{if(_0x37bb37[_0xcc17b4(-0x5e,-0x5a,-0x56,-_0x4c21c8._0x16c310)](_0x1b6d6a))return;_0x37bb37[_0xcc17b4(-0x67,-0x56,-0x49,-_0x4c21c8._0x552d39)](_0x1b6d6a);const _0x296c57=_0x31718c[_0x1b5bd4(0x343,_0x4c21c8._0x2d5158,0x35b,0x369)](_0x1b6d6a);if(!_0x296c57||_0x3d9fcd[_0xcc17b4(-_0x4c21c8._0x5aa9ff,-0x61,-0x83,-0x80)](_0x296c57[_0xcc17b4(-_0x4c21c8._0x488e68,-_0x4c21c8._0x1b0cd4,-0x79,-_0x4c21c8._0x23557e)],_0x3d9fcd['fxWLl'])||!_0x296c57[_0xcc17b4(-0x65,-0x7c,-_0x4c21c8._0x2f1424,-0x6e)]){if(_0x3d9fcd['SREwB'](_0x3d9fcd['djuEa'],_0x3d9fcd['djuEa']))return;else _0x479eef[_0xcc17b4(-0x58,-0x5e,-_0x4c21c8._0x5a1c42,-_0x4c21c8._0x552d39)](_0x4fdf0a['sourceObje'+'ctiveId']);}function _0x1b5bd4(_0x1606f9,_0x12ac46,_0xe09916,_0x354c3c){return _0x1d95be(_0xe09916- -_0x1bde6e._0x339b9c,_0x354c3c,_0xe09916-0x7,_0x354c3c-_0x1bde6e._0x2ea70e);}function _0xcc17b4(_0x5d365c,_0x1152f8,_0x32cfab,_0x323c8f){return _0x1d95be(_0x323c8f- -0x402,_0x32cfab,_0x32cfab-0x1de,_0x323c8f-0x3b);}let _0x319f0b=![];for(const [_0x12482a,_0x2b71ee]of _0x31718c['entries']()){if(_0x3d9fcd['SREwB'](_0x2b71ee?.['sourceObje'+_0xcc17b4(-0x5f,-_0x4c21c8._0x3c6eff,-_0x4c21c8._0x3f8c31,-0x53)],_0x1b6d6a)&&_0x2b71ee[_0xcc17b4(-_0x4c21c8._0x2d505d,-0x87,-_0x4c21c8._0x3335f0,-0x6e)]&&!_0x113d4c[_0xcc17b4(-0x80,-0x8f,-_0x4c21c8._0x2d91d7,-0x6f)](_0x12482a)){_0x319f0b=!![];break;}}let _0x724b27=![];for(const [_0x557acb,_0x1b756f]of _0x31718c[_0x1b5bd4(_0x4c21c8._0xd280a1,_0x4c21c8._0x4fa854,0x393,_0x4c21c8._0x293568)]()){if(_0x3d9fcd[_0xcc17b4(-0x6c,-0x56,-_0x4c21c8._0x1c6123,-0x73)](_0xcc17b4(-_0x4c21c8._0x2b872a,-0x91,-_0x4c21c8._0x487ede,-_0x4c21c8._0x3c0131),_0x3d9fcd[_0xcc17b4(-0x60,-_0x4c21c8._0x20142c,-0x59,-0x55)])){if(_0x3d9fcd['SREwB'](_0x1b756f?.[_0xcc17b4(-_0x4c21c8._0x43708d,-_0x4c21c8._0x202bdd,-0x54,-_0x4c21c8._0x58d2ce)+'ctiveId'],_0x1b6d6a)&&_0x3d9fcd[_0xcc17b4(-_0x4c21c8._0x91264,-_0x4c21c8._0x306e5d,-0x87,-0x86)](_0x1b756f[_0xcc17b4(-0x53,-_0x4c21c8._0x386472,-0x8e,-_0x4c21c8._0x23557e)],_0x3d9fcd[_0x1b5bd4(0x391,0x3af,0x394,_0x4c21c8._0x27e8f0)])&&_0x1b756f[_0xcc17b4(-0x74,-_0x4c21c8._0x1ef7f5,-_0x4c21c8._0x55901b,-_0x4c21c8._0x58e7b2)]&&!_0x113d4c['has'](_0x557acb)){if(_0x3d9fcd['DGGSp']('KrRUb',_0x3d9fcd[_0x1b5bd4(0x350,_0x4c21c8._0x48eaf8,0x365,0x35b)])){_0x724b27=!![];break;}else{const _0x714c2b=_0x5ecded[_0x1b5bd4(0x35b,_0x4c21c8._0x7378df,_0x4c21c8._0xb1cf97,0x369)](_0x2deb13);_0x714c2b?.[_0x1b5bd4(_0x4c21c8._0x5ca905,0x371,_0x4c21c8._0x57b0c2,0x351)+_0x1b5bd4(0x39d,0x37e,0x391,_0x4c21c8._0x378583)]&&_0x10d384['add'](_0x714c2b[_0xcc17b4(-0x75,-_0x4c21c8._0x1ae7b6,-0x64,-0x7a)+'ctiveId']);}}}else return;}_0x3d9fcd[_0xcc17b4(-0x5f,-_0x4c21c8._0x9da7da,-_0x4c21c8._0x673a9a,-_0x4c21c8._0x5c103f)](!_0x319f0b,!_0x724b27)&&(_0x3d9fcd[_0xcc17b4(-_0x4c21c8._0x386cda,-0x78,-_0x4c21c8._0x2365f3,-0x73)](_0x3d9fcd['WStSz'],_0x3d9fcd[_0x1b5bd4(0x379,_0x4c21c8._0x290658,_0x4c21c8._0x1ae26e,0x3ab)])?(_0x21a23f[_0x1b5bd4(_0x4c21c8._0x104e2d,_0x4c21c8._0x45972d,_0x4c21c8._0x104e2d,0x35a)](_0x1b6d6a),_0x113d4c[_0x1b5bd4(0x3a5,0x394,_0x4c21c8._0x25147c,0x37d)](_0x1b6d6a),_0x296c57['parentObje'+_0xcc17b4(-0x53,-0x71,-_0x4c21c8._0x184cf0,-0x53)]&&_0x3d9fcd[_0x1b5bd4(_0x4c21c8._0x4baeff,0x36c,0x384,0x37a)](_0x13ab44,_0x296c57['parentObje'+_0x1b5bd4(0x37e,_0x4c21c8._0x551e08,0x391,_0x4c21c8._0x297ba9)])):_0xf2a5ea['add'](_0x53e721));};for(const _0x15b560 of _0x2513b0){_0x3d9fcd[_0x1d95be(_0x5808ff._0x4bce51,_0x5808ff._0x379490,0x399,0x3b7)](_0x13ab44,_0x15b560);}return _0x21a23f;}
|