@profoundlogic/coderflow-server 0.5.4 → 0.5.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. package/dist/coder-server.js +1 -1
  2. package/dist/config.js +1 -1
  3. package/dist/lib/agent-keepalive.js +1 -1
  4. package/dist/lib/agent-models.js +1 -1
  5. package/dist/lib/api-keys.js +1 -1
  6. package/dist/lib/apiKeys.js +1 -1
  7. package/dist/lib/app-server-ports.js +1 -1
  8. package/dist/lib/auto-judge.js +1 -1
  9. package/dist/lib/automation-service.js +1 -1
  10. package/dist/lib/basic-auth.js +1 -1
  11. package/dist/lib/bindings.js +1 -1
  12. package/dist/lib/build-history.js +1 -1
  13. package/dist/lib/build-output-service.js +1 -1
  14. package/dist/lib/build-scheduler.js +1 -1
  15. package/dist/lib/build-service.js +1 -1
  16. package/dist/lib/ca-certificates.js +1 -1
  17. package/dist/lib/claude-oauth-refresh.js +1 -1
  18. package/dist/lib/cli/build.js +1 -1
  19. package/dist/lib/cli/cleanup-users.js +1 -1
  20. package/dist/lib/cli/config-command.js +1 -1
  21. package/dist/lib/cli/config.js +1 -1
  22. package/dist/lib/cli/create-user.js +1 -1
  23. package/dist/lib/cli/grant-admin.js +1 -1
  24. package/dist/lib/cli/init.js +1 -1
  25. package/dist/lib/cli/jira.js +1 -1
  26. package/dist/lib/cli/license.js +1 -1
  27. package/dist/lib/cli/list-roles.js +1 -1
  28. package/dist/lib/cli/list-users.js +1 -1
  29. package/dist/lib/cli/server-manager.js +1 -1
  30. package/dist/lib/cli/set-password.js +1 -1
  31. package/dist/lib/config-migration.js +1 -1
  32. package/dist/lib/container-credential-sync.js +1 -1
  33. package/dist/lib/container-tokens.js +1 -1
  34. package/dist/lib/data-dir.js +1 -1
  35. package/dist/lib/deployment-history.js +1 -1
  36. package/dist/lib/deployment-service.js +1 -1
  37. package/dist/lib/docker-utils.js +1 -1
  38. package/dist/lib/email.js +1 -1
  39. package/dist/lib/emailTemplates.js +1 -1
  40. package/dist/lib/entitlement.js +1 -1
  41. package/dist/lib/external-connections.js +1 -1
  42. package/dist/lib/fetch-utils.js +1 -1
  43. package/dist/lib/git-commit-details-route.js +1 -1
  44. package/dist/lib/git-history-diff-guardrails.js +1 -1
  45. package/dist/lib/git-provider-service.js +1 -1
  46. package/dist/lib/git-provider-setup/github-setup-handler.js +1 -1
  47. package/dist/lib/git-provider-setup/index.js +1 -1
  48. package/dist/lib/git-provider-setup/setup-factory.js +1 -1
  49. package/dist/lib/git-provider-setup/setup-interface.js +1 -1
  50. package/dist/lib/git-providers/azure-devops-provider.js +1 -1
  51. package/dist/lib/git-providers/github-app-provider.js +1 -1
  52. package/dist/lib/git-providers/index.js +1 -1
  53. package/dist/lib/git-providers/provider-factory.js +1 -1
  54. package/dist/lib/git-providers/provider-interface.js +1 -1
  55. package/dist/lib/github-urls.js +1 -1
  56. package/dist/lib/group-objective-linking.js +1 -1
  57. package/dist/lib/ibmi-sync.js +1 -1
  58. package/dist/lib/jira-client.js +1 -1
  59. package/dist/lib/judge-blinding.js +1 -1
  60. package/dist/lib/logger.js +1 -1
  61. package/dist/lib/migration-to-scoped-rbac.js +1 -1
  62. package/dist/lib/model-fetcher.js +1 -1
  63. package/dist/lib/notifications.js +1 -1
  64. package/dist/lib/objective-context.js +1 -1
  65. package/dist/lib/oidc-auth.js +1 -1
  66. package/dist/lib/oidc-device-flow.js +1 -1
  67. package/dist/lib/passwordTokens.js +1 -1
  68. package/dist/lib/permission-resolver.js +1 -1
  69. package/dist/lib/pin-cascade.js +1 -1
  70. package/dist/lib/provider-accounts.js +1 -1
  71. package/dist/lib/provider-oauth.js +1 -1
  72. package/dist/lib/provider-profile.js +1 -1
  73. package/dist/lib/provider-token-refresh.js +1 -1
  74. package/dist/lib/rbac-user-state.js +1 -1
  75. package/dist/lib/request-url.js +1 -1
  76. package/dist/lib/rewind.js +1 -1
  77. package/dist/lib/role-definitions.js +1 -1
  78. package/dist/lib/roles.js +1 -1
  79. package/dist/lib/secrets.js +1 -1
  80. package/dist/lib/setup-repo-git-auth.js +1 -1
  81. package/dist/lib/state-capture.js +1 -1
  82. package/dist/lib/static-files.js +1 -1
  83. package/dist/lib/task-name-format.js +1 -1
  84. package/dist/lib/task-name-generator.js +1 -1
  85. package/dist/lib/task-source-metadata.js +1 -1
  86. package/dist/lib/teams.js +1 -1
  87. package/dist/lib/user-git-oauth.js +1 -1
  88. package/dist/lib/user-git-tokens.js +1 -1
  89. package/dist/lib/users.js +1 -1
  90. package/dist/middleware/requireAuth.js +1 -1
  91. package/dist/middleware/requireInit.js +1 -1
  92. package/dist/middleware/requirePermission.js +1 -1
  93. package/dist/package.json +1 -1
  94. package/dist/playwright.config.js +1 -1
  95. package/dist/routes/apiKeys.js +1 -1
  96. package/dist/routes/auth-oidc.js +1 -1
  97. package/dist/routes/auth.js +1 -1
  98. package/dist/routes/automations.js +1 -1
  99. package/dist/routes/bindings.js +1 -1
  100. package/dist/routes/build.js +1 -1
  101. package/dist/routes/containers.js +1 -1
  102. package/dist/routes/deploy-task.js +1 -1
  103. package/dist/routes/environment-management.js +1 -1
  104. package/dist/routes/environments.js +1 -1
  105. package/dist/routes/external-skills.js +1 -1
  106. package/dist/routes/git-credentials.js +1 -1
  107. package/dist/routes/git-oauth.js +1 -1
  108. package/dist/routes/git-provider-setup.js +1 -1
  109. package/dist/routes/health.js +1 -1
  110. package/dist/routes/jira.js +1 -1
  111. package/dist/routes/objective-management.js +1 -1
  112. package/dist/routes/password.js +1 -1
  113. package/dist/routes/prompt.js +1 -1
  114. package/dist/routes/provider-auth.js +1 -1
  115. package/dist/routes/qa.js +1 -1
  116. package/dist/routes/roles.js +1 -1
  117. package/dist/routes/settings.js +1 -1
  118. package/dist/routes/skill-management.js +1 -1
  119. package/dist/routes/skills.js +1 -1
  120. package/dist/routes/tasks.js +1 -1
  121. package/dist/routes/teams.js +1 -1
  122. package/dist/routes/templates.js +1 -1
  123. package/dist/routes/test-task.js +1 -1
  124. package/dist/routes/test.js +1 -1
  125. package/dist/routes/users.js +1 -1
  126. package/dist/routes/visualizations.js +1 -1
  127. package/dist/scripts/create-user.js +1 -1
  128. package/dist/scripts/migrate-config-to-data-dir.js +1 -1
  129. package/dist/start.js +1 -1
  130. package/dist/web-ui/public/activity-detail-modal.js +1 -1
  131. package/dist/web-ui/public/activity-feed.js +1 -1
  132. package/dist/web-ui/public/activity-formatters.js +1 -1
  133. package/dist/web-ui/public/agent-event-parser.js +1 -1
  134. package/dist/web-ui/public/app.js +1 -1
  135. package/dist/web-ui/public/approve-dialog.js +1 -1
  136. package/dist/web-ui/public/automation-links.js +1 -1
  137. package/dist/web-ui/public/automation-schedule.js +1 -1
  138. package/dist/web-ui/public/comments-widget.js +1 -1
  139. package/dist/web-ui/public/diff-utils.js +1 -1
  140. package/dist/web-ui/public/environments.js +1 -1
  141. package/dist/web-ui/public/feedback-widget.css +409 -0
  142. package/dist/web-ui/public/feedback-widget.js +1 -1
  143. package/dist/web-ui/public/git-history-lazy-utils.js +1 -1
  144. package/dist/web-ui/public/git-history.js +1 -1
  145. package/dist/web-ui/public/git-status.js +1 -1
  146. package/dist/web-ui/public/index.js +1 -1
  147. package/dist/web-ui/public/login.js +1 -1
  148. package/dist/web-ui/public/markdown-editor.js +1 -1
  149. package/dist/web-ui/public/markdown-file-editor.js +1 -1
  150. package/dist/web-ui/public/modal-maximize.js +1 -1
  151. package/dist/web-ui/public/notifications.js +1 -1
  152. package/dist/web-ui/public/pr-dialog.js +1 -1
  153. package/dist/web-ui/public/roles.js +1 -1
  154. package/dist/web-ui/public/server-health.js +1 -1
  155. package/dist/web-ui/public/settings.js +1 -1
  156. package/dist/web-ui/public/setup-password.js +1 -1
  157. package/dist/web-ui/public/skills.js +1 -1
  158. package/dist/web-ui/public/sse-client.js +1 -1
  159. package/dist/web-ui/public/sse-shared-worker.js +1 -1
  160. package/dist/web-ui/public/styles.css +2975 -2022
  161. package/dist/web-ui/public/task.html +98 -2
  162. package/dist/web-ui/public/task.js +1 -1
  163. package/dist/web-ui/public/teams.js +1 -1
  164. package/dist/web-ui/public/terminal.js +1 -1
  165. package/dist/web-ui/public/theme.js +1 -1
  166. package/dist/web-ui/public/users.js +1 -1
  167. package/dist/web-ui/public/variant-grouping.js +1 -1
  168. package/package.json +1 -1
@@ -1 +1 @@
1
- function _0x1ba36f(_0x209650,_0x450de6,_0x77d913,_0x59af9b){return _0x5254(_0x77d913- -0x331,_0x59af9b);}(function(_0x4a1220,_0x5dc138){const _0x56f9fa={_0x26f1a7:0xf6,_0x385121:0x108,_0x272dbc:0x21d,_0x4d2b87:0x247,_0x2a45b6:0x1f9,_0x3a869a:0x21d,_0x4e6d37:0xfe,_0x1fe76f:0xf7,_0x4e1788:0xf8,_0x527fa8:0x103,_0x1ce57f:0x11d,_0x2bf395:0x11e,_0x4a8e3f:0xeb,_0xaf6aa4:0xf2,_0x1c7acc:0x131,_0x21607b:0x21b,_0x3b98cc:0x229,_0x26d83d:0x107,_0x50959a:0xe7},_0xc32cf7={_0xb04279:0xef};function _0x183698(_0x3d12d1,_0x42ba6d,_0x27ca4e,_0x10f0b5){return _0x5254(_0x10f0b5- -0x36,_0x3d12d1);}const _0x15e46b=_0x4a1220();function _0x1aca21(_0xb71510,_0x262564,_0x5adcd6,_0x435ee4){return _0x5254(_0x435ee4-_0xc32cf7._0xb04279,_0xb71510);}while(!![]){try{const _0x20b18e=parseInt(_0x183698(_0x56f9fa._0x26f1a7,0xdb,_0x56f9fa._0x385121,0x102))/(0x2388+0x1*0x2068+-0x5d*0xbb)*(parseInt(_0x1aca21(_0x56f9fa._0x272dbc,_0x56f9fa._0x4d2b87,_0x56f9fa._0x2a45b6,_0x56f9fa._0x3a869a))/(0x1155+0xc4c+-0x1d9f*0x1))+parseInt(_0x183698(0x103,_0x56f9fa._0x4e6d37,0x10a,_0x56f9fa._0x1fe76f))/(-0xde6*-0x2+0x1195*-0x1+-0xa34)+-parseInt(_0x183698(0xe7,_0x56f9fa._0x4e1788,_0x56f9fa._0x527fa8,0x103))/(0x2015+-0x156a*0x1+0x12f*-0x9)+parseInt(_0x183698(0x11f,_0x56f9fa._0x1ce57f,0xfe,_0x56f9fa._0x2bf395))/(-0x1d*-0x10c+0x313+0xd*-0x292)+-parseInt(_0x183698(0xc6,_0x56f9fa._0x4a8e3f,0xd7,0xf1))/(-0x11b*0x7+-0x19c5+0x2188)+parseInt(_0x183698(0xe9,_0x56f9fa._0xaf6aa4,_0x56f9fa._0x1c7acc,_0x56f9fa._0x385121))/(-0xc53+-0xfa9+0x1*0x1c03)*(-parseInt(_0x1aca21(_0x56f9fa._0x21607b,0x22b,0x247,_0x56f9fa._0x3b98cc))/(-0x6*0x18e+0x2*-0x106f+0x2a3a))+parseInt(_0x183698(0xfb,_0x56f9fa._0x26d83d,_0x56f9fa._0x50959a,0x107))/(0x18b9*-0x1+-0x204f+0x3911)*(-parseInt(_0x1aca21(0x1f1,0x1f8,0x1d5,0x1fd))/(-0x6*0x58f+0x181d+0x947));if(_0x20b18e===_0x5dc138)break;else _0x15e46b['push'](_0x15e46b['shift']());}catch(_0x5bf8d9){_0x15e46b['push'](_0x15e46b['shift']());}}}(_0x59d0,-0xa89b3+0x2*0x79b72+0x53a*0xcf));import{promises as _0x509e52}from'fs';import _0x28f6e1 from'path';import _0xc470e5 from'crypto';import{fileURLToPath}from'url';import{DATA_DIR}from'./data-dir.js';const __filename=fileURLToPath(import.meta.url),__dirname=_0x28f6e1[_0x519ca5(-0x23,0x1c,-0xf,-0xb)](__filename),TOKENS_FILE=_0x28f6e1['join'](DATA_DIR,'password-t'+_0x1ba36f(-0x232,-0x243,-0x21c,-0x224)),TOKEN_EXPIRY_MS=(-0x1*0x1e7b+0x9b*-0x1+0x1f1d*0x1)*(-0xf9*-0xf+-0x3cd+-0x25*0x4a)*(0x1fc5+-0x1c1f+-0x2*0x1b5)*(0x178e+-0x1128+-0x62a)*(0x61+0x4f*-0x3b+0x1ac*0xd);let tokensCache=null,lastLoadTime=-0x1a10+-0x737*-0x1+-0xc1*-0x19;const CACHE_TTL=-0x1ac1+0x35*-0x2c+-0x1*-0x27c5;async function loadTokens(){const _0x33b5f0={_0x1386e5:0x17f,_0x3edffc:0x172,_0x586740:0x429,_0x2bb87c:0x460,_0x3226c0:0x168,_0xba920:0x192,_0x391ca0:0x1a9,_0x18e205:0x176,_0x2b5e28:0x199,_0x331f7e:0x1c6,_0xa378f0:0x1c2,_0x273b2c:0x1ce,_0x530651:0x471,_0x3e50ca:0x456,_0x4af000:0x41c,_0x1dc55f:0x434,_0x50ebfb:0x43f,_0x20d05d:0x44b,_0x224061:0x42e},_0x5dde93={_0x48e6dd:0x41a},_0x4218d3={_0x2f602a:0x39d},_0x247c4a={};_0x247c4a[_0x1b9c82(_0x33b5f0._0x1386e5,0x197,0x1bd,_0x33b5f0._0x3edffc)]=function(_0x140257,_0x14350a){return _0x140257<_0x14350a;};function _0x1b9c82(_0x1ccb52,_0x2cb9b9,_0x319e59,_0xe42cdc){return _0x1ba36f(_0x1ccb52-0xff,_0x2cb9b9-0x1e0,_0x2cb9b9-_0x4218d3._0x2f602a,_0xe42cdc);}_0x247c4a[_0x413044(0x458,_0x33b5f0._0x586740,_0x33b5f0._0x2bb87c,0x451)]=_0x1b9c82(0x1c8,0x1c5,0x1d1,0x1de),_0x247c4a['GfIhg']=_0x1b9c82(_0x33b5f0._0x3226c0,_0x33b5f0._0xba920,_0x33b5f0._0x391ca0,0x187),_0x247c4a[_0x1b9c82(_0x33b5f0._0x18e205,0x17f,0x185,_0x33b5f0._0x2b5e28)]=_0x1b9c82(0x1a3,_0x33b5f0._0x331f7e,_0x33b5f0._0xa378f0,_0x33b5f0._0x273b2c),_0x247c4a[_0x413044(0x432,_0x33b5f0._0x530651,0x470,_0x33b5f0._0x3e50ca)]=function(_0x42e292,_0x21ddc2){return _0x42e292===_0x21ddc2;};const _0x28daee=_0x247c4a;function _0x413044(_0x1f17d2,_0x39d1f3,_0x448e95,_0x142a58){return _0x519ca5(_0x1f17d2-0x1ec,_0x39d1f3-0x193,_0x1f17d2,_0x142a58-_0x5dde93._0x48e6dd);}const _0x4289f1=Date[_0x413044(0x40d,0x400,0x411,_0x33b5f0._0x4af000)]();if(tokensCache&&_0x28daee['oQuMq'](_0x4289f1-lastLoadTime,CACHE_TTL))return _0x28daee['zlZBp']!==_0x28daee[_0x413044(0x453,0x45b,0x432,0x44f)]?tokensCache:_0x312e32;try{const _0x298931=await _0x509e52[_0x413044(0x456,_0x33b5f0._0x1dc55f,0x469,0x43e)](TOKENS_FILE,_0x28daee['gUbcG']);return tokensCache=JSON[_0x413044(0x423,_0x33b5f0._0x50ebfb,_0x33b5f0._0x20d05d,_0x33b5f0._0x224061)](_0x298931),lastLoadTime=_0x4289f1,tokensCache;}catch(_0x50c964){if(_0x28daee['mrlhl'](_0x50c964['code'],'ENOENT')){const _0x285336={};_0x285336['tokens']=[];const _0x13ea0c=_0x285336;return await saveTokens(_0x13ea0c),tokensCache=_0x13ea0c,lastLoadTime=_0x4289f1,_0x13ea0c;}throw _0x50c964;}}function _0x5254(_0x195f9d,_0x287703){_0x195f9d=_0x195f9d-(0x47*-0x7+-0x269+0x561);const _0x90b84f=_0x59d0();let _0x2a3cf0=_0x90b84f[_0x195f9d];if(_0x5254['eqBEtq']===undefined){var _0x10131f=function(_0x3a00c7){const _0x1f555c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xf556d5='',_0xed34ca='';for(let _0x55c62a=-0x2d*-0x5d+0x227b+0x196a*-0x2,_0x472ead,_0x9969e8,_0x89999e=-0x11e5+0x1c3+0x3b*0x46;_0x9969e8=_0x3a00c7['charAt'](_0x89999e++);~_0x9969e8&&(_0x472ead=_0x55c62a%(-0xee5+0x2*-0xce2+0x28ad)?_0x472ead*(-0x15a1+0x97+0x1*0x154a)+_0x9969e8:_0x9969e8,_0x55c62a++%(-0x1f69+-0x73f+-0x5*-0x7bc))?_0xf556d5+=String['fromCharCode'](-0x1c62+-0x22b8+-0x3d*-0x10d&_0x472ead>>(-(-0xb46*0x3+0x1e35*0x1+0x39f)*_0x55c62a&-0x1d37+0x8a7*0x2+0xbef)):-0x25*-0x39+0xabf+-0x12fc){_0x9969e8=_0x1f555c['indexOf'](_0x9969e8);}for(let _0xf25d4c=0x1f9+-0x93a+0x741,_0x2414bb=_0xf556d5['length'];_0xf25d4c<_0x2414bb;_0xf25d4c++){_0xed34ca+='%'+('00'+_0xf556d5['charCodeAt'](_0xf25d4c)['toString'](0xd7f+0x546+-0x12b5))['slice'](-(-0x53*0xb+-0xb5d+-0x8*-0x1de));}return decodeURIComponent(_0xed34ca);};_0x5254['KtTJbO']=_0x10131f,_0x5254['LQlzTg']={},_0x5254['eqBEtq']=!![];}const _0x52c193=_0x90b84f[0x6*0x7f+0x1515+-0x180f],_0x50b723=_0x195f9d+_0x52c193,_0x3d12bc=_0x5254['LQlzTg'][_0x50b723];return!_0x3d12bc?(_0x2a3cf0=_0x5254['KtTJbO'](_0x2a3cf0),_0x5254['LQlzTg'][_0x50b723]=_0x2a3cf0):_0x2a3cf0=_0x3d12bc,_0x2a3cf0;}async function saveTokens(_0x495029){const _0x42a00b={_0x4c948e:0x25a,_0xfe212a:0x261,_0x4b2e77:0x284,_0x5e5921:0x244},_0x4ac5e2={_0x39e1d8:0x1e6},_0x3af565={_0x516ebc:0x19f};function _0x2b2331(_0x3cd8d4,_0x2577ed,_0x3186c0,_0xd8869c){return _0x1ba36f(_0x3cd8d4-_0x3af565._0x516ebc,_0x2577ed-0x11c,_0x2577ed-0x401,_0x3cd8d4);}const _0x1573fc={};_0x1573fc['recursive']=!![],await _0x509e52['mkdir'](DATA_DIR,_0x1573fc),await _0x509e52['writeFile'](TOKENS_FILE,JSON[_0x1a2b69(0x257,0x26e,0x27e,_0x42a00b._0x4c948e)](_0x495029,null,-0x12c0+-0x6*-0x1a6+0x8de)),tokensCache=_0x495029;function _0x1a2b69(_0x9a2e86,_0x24fbd2,_0x36b255,_0x294c67){return _0x519ca5(_0x9a2e86-_0x4ac5e2._0x39e1d8,_0x24fbd2-0x125,_0x294c67,_0x24fbd2-0x25f);}lastLoadTime=Date[_0x1a2b69(0x265,_0x42a00b._0xfe212a,_0x42a00b._0x4b2e77,_0x42a00b._0x5e5921)]();}function generateToken(){const _0x30aaa7={_0x2e35e7:0x81,_0x4ce335:0x78,_0x300ceb:0x84,_0x5eefa1:0x20a,_0xd8d189:0x1e5,_0x27f9de:0x1ea,_0x378f6c:0x229,_0x387a42:0x76,_0x4436d5:0x59,_0x48e31e:0x1ff,_0x55ee8e:0x1f8,_0x3c0145:0x232,_0x47c510:0x21a,_0x19108d:0x21e,_0x5825ec:0x243,_0x125a0e:0x204,_0x54699e:0x1eb,_0x51bd50:0xa6},_0x789be9={_0x3919bf:0x197},_0x561a18={_0x29606f:0x156,_0x213b3b:0x212},_0x358506={};_0x358506[_0x3b231b(-_0x30aaa7._0x2e35e7,-0x72,-_0x30aaa7._0x4ce335,-_0x30aaa7._0x300ceb)]=function(_0x490ac7,_0x7748f1){return _0x490ac7+_0x7748f1;},_0x358506[_0x2e64ac(-_0x30aaa7._0x5eefa1,-_0x30aaa7._0xd8d189,-_0x30aaa7._0x27f9de,-_0x30aaa7._0x378f6c)]=_0x3b231b(-_0x30aaa7._0x387a42,-0x4e,-0x64,-_0x30aaa7._0x4436d5);function _0x2e64ac(_0x502f38,_0x300bb0,_0x19fedf,_0x360582){return _0x519ca5(_0x502f38-_0x561a18._0x29606f,_0x300bb0-0x104,_0x300bb0,_0x502f38- -_0x561a18._0x213b3b);}function _0x3b231b(_0x54109a,_0x146b8c,_0x4cd1c1,_0x4f389a){return _0x1ba36f(_0x54109a-0xd,_0x146b8c-0x177,_0x54109a-_0x789be9._0x3919bf,_0x4cd1c1);}_0x358506['UZVPD']=_0x2e64ac(-_0x30aaa7._0x48e31e,-0x1f3,-0x21c,-0x1d3);const _0x10528b=_0x358506,_0x4dd5c0=_0xc470e5[_0x2e64ac(-0x222,-0x221,-_0x30aaa7._0x55ee8e,-_0x30aaa7._0x3c0145)+'s'](-0x19*0x59+-0x206f+0x2940);return _0x10528b[_0x2e64ac(-_0x30aaa7._0x47c510,-0x22c,-_0x30aaa7._0x19108d,-_0x30aaa7._0x5825ec)](_0x10528b[_0x2e64ac(-0x20a,-_0x30aaa7._0x125a0e,-_0x30aaa7._0x54699e,-0x203)],_0x4dd5c0[_0x3b231b(-0x7e,-0x6d,-0x9c,-_0x30aaa7._0x51bd50)](_0x10528b['UZVPD']));}function generateTokenId(){const _0x59e399={_0x2a3857:0x475,_0x17859d:0x422,_0x5c62cb:0x26e,_0x8cbf26:0x26f,_0x18200a:0x2ba,_0x4ecf60:0x2b3,_0x52046f:0x478,_0x2c8281:0x467,_0x48eda5:0x49f},_0x2aa66a={_0x1b5985:0x5b},_0x4eb4f7={_0x1930f0:0x1bd,_0x59b8a2:0xfd,_0x3e0b61:0x298};function _0x5a6da5(_0x2e147f,_0x3c9b01,_0xa26f7a,_0x5a6dbc){return _0x519ca5(_0x2e147f-_0x4eb4f7._0x1930f0,_0x3c9b01-_0x4eb4f7._0x59b8a2,_0xa26f7a,_0x5a6dbc-_0x4eb4f7._0x3e0b61);}const _0x414a52=Date[_0x465814(0x44d,0x431,_0x59e399._0x2a3857,_0x59e399._0x17859d)]();function _0x465814(_0x42e119,_0x32fae2,_0xfc1386,_0x12911a){return _0x1ba36f(_0x42e119-0x15c,_0x32fae2-_0x2aa66a._0x1b5985,_0x42e119-0x65b,_0x12911a);}const _0x122b5b=Math['random']()[_0x5a6da5(_0x59e399._0x5c62cb,_0x59e399._0x8cbf26,0x2aa,0x293)](0x11d1+0x14e2+-0x268f)[_0x5a6da5(_0x59e399._0x18200a,_0x59e399._0x4ecf60,0x2e8,0x2c2)](-0xf*0x41+0x1dd0+-0x79*0x37,0x1*-0x109d+-0xc04+0x1cb0);return _0x465814(_0x59e399._0x52046f,0x48e,_0x59e399._0x2c8281,_0x59e399._0x48eda5)+_0x414a52+'_'+_0x122b5b;}async function createPasswordToken(_0x425a27,_0x1fda0f=_0x1ba36f(-0x211,-0x1f6,-0x21a,-0x21b)){const _0x251963={_0x43e934:0x15d,_0x232d2f:0x154,_0x52df5d:0xf3,_0x430e96:0x125,_0x21f939:0x134,_0x2b508c:0x116,_0x58672b:0x105,_0x46c589:0x10d,_0x30a8eb:0xe4,_0xc6ecd9:0xea,_0x5c9f37:0xc3,_0x26b2d7:0xcc,_0x1e2015:0x11c,_0x520f1b:0x101},_0x49096d={_0x3e3e6d:0x139,_0x4e03a6:0xeb,_0x13dde2:0x110},_0x3da4ac={_0x1a1395:0xda,_0x2801a6:0x175,_0xaa6819:0x33f},_0x2b34ec={'SaiFL':function(_0x1979e3){return _0x1979e3();},'OVvkm':function(_0x4f4719,_0x3771a4){return _0x4f4719+_0x3771a4;},'vjZXZ':function(_0x8665e7){return _0x8665e7();},'TwVqd':function(_0x4f9045,_0xeffc94){return _0x4f9045(_0xeffc94);}},_0x54f114=await _0x2b34ec['SaiFL'](loadTokens);function _0x37132e(_0x284620,_0x3cf4b9,_0x4954f1,_0x4a080b){return _0x1ba36f(_0x284620-_0x3da4ac._0x1a1395,_0x3cf4b9-_0x3da4ac._0x2801a6,_0x4a080b-_0x3da4ac._0xaa6819,_0x284620);}const _0x1b80f3=new Date(),_0x5f1820=new Date(_0x2b34ec['OVvkm'](_0x1b80f3[_0x37132e(0x132,_0x251963._0x43e934,0x13a,_0x251963._0x232d2f)](),TOKEN_EXPIRY_MS)),_0x2f30e1={'id':_0x2b34ec['vjZXZ'](generateTokenId),'token':_0x2b34ec[_0x37132e(_0x251963._0x52df5d,_0x251963._0x430e96,_0x251963._0x21f939,0x11b)](generateToken),'userId':_0x425a27,'type':_0x1fda0f,'created_at':_0x1b80f3[_0x37132e(0xfd,_0x251963._0x2b508c,_0x251963._0x58672b,0x120)+'g'](),'expires_at':_0x5f1820[_0x4e9698(-0x129,-_0x251963._0x46c589,-_0x251963._0x30a8eb,-0x10f)+'g'](),'used':![],'used_at':null};function _0x4e9698(_0x4d7d31,_0x4d3cd1,_0x32cf56,_0x1fabc0){return _0x1ba36f(_0x4d7d31-_0x49096d._0x3e3e6d,_0x4d3cd1-_0x49096d._0x4e03a6,_0x1fabc0-_0x49096d._0x13dde2,_0x4d7d31);}return _0x54f114[_0x37132e(0x15e,0x16a,0x124,0x140)][_0x4e9698(-0xf2,-_0x251963._0xc6ecd9,-_0x251963._0x5c9f37,-_0x251963._0x26b2d7)](_0x2f30e1),await _0x2b34ec[_0x4e9698(-_0x251963._0x1e2015,-0x102,-_0x251963._0x520f1b,-0x118)](saveTokens,_0x54f114),_0x2f30e1;}async function validateToken(_0x443cf0){const _0x3f17d9={_0x46dc5a:0x205,_0x5ab4a9:0x1fd,_0xc794f0:0x1fd,_0x53b0f8:0x3cd,_0x80cffe:0x3d6,_0x1f934f:0x3c6,_0x515ef9:0x1f8,_0x4c54ea:0x212,_0x307ef5:0x1cc,_0x510e06:0x3a7,_0x7f956d:0x3d4,_0x2de69f:0x3ba,_0x488c77:0x1dd,_0x2d51b4:0x1f2,_0x227c15:0x205,_0x16889f:0x39c,_0x4eac6c:0x3b3,_0x2964b8:0x3c4,_0x46f073:0x3a7,_0x493d87:0x1dc,_0x375a50:0x209,_0x4ee315:0x210,_0x5f619:0x1ed,_0x3eb4ac:0x20e,_0x48a878:0x224,_0x2fc4b8:0x1f7,_0x440160:0x20c,_0x599978:0x3d7,_0x759b5a:0x3ea,_0x44616b:0x407,_0x3f7077:0x3e4,_0x5df72b:0x200,_0xe8a14:0x1fc,_0x1cbd1c:0x21a},_0x5c7e5a={_0x72e767:0xad,_0x5c4b19:0x1f9},_0x507134={_0x58e898:0x62,_0x12a97b:0x14b,_0x3eb189:0x5c4},_0x5367cf={};_0x5367cf[_0x4c2dae(-0x206,-_0x3f17d9._0x46dc5a,-_0x3f17d9._0x5ab4a9,-0x217)]=function(_0x54e9f6,_0x4bc1e6){return _0x54e9f6!==_0x4bc1e6;},_0x5367cf[_0x4c2dae(-_0x3f17d9._0xc794f0,-0x222,-0x1d7,-0x1e8)]=_0xc1b7ba(_0x3f17d9._0x53b0f8,_0x3f17d9._0x80cffe,0x3be,_0x3f17d9._0x1f934f);function _0xc1b7ba(_0x8a2bed,_0x579cb3,_0x20d43e,_0x2a5e2e){return _0x1ba36f(_0x8a2bed-_0x507134._0x58e898,_0x579cb3-_0x507134._0x12a97b,_0x2a5e2e-_0x507134._0x3eb189,_0x579cb3);}_0x5367cf[_0x4c2dae(-_0x3f17d9._0x515ef9,-0x1e3,-_0x3f17d9._0x4c54ea,-_0x3f17d9._0x307ef5)]=function(_0x16ad85,_0x4f5c1f){return _0x16ad85>_0x4f5c1f;},_0x5367cf[_0xc1b7ba(_0x3f17d9._0x510e06,0x3d4,0x3cd,0x3ae)]=function(_0x49e644,_0x19a71e){return _0x49e644!==_0x19a71e;},_0x5367cf['TmGMj']=_0xc1b7ba(0x3fc,_0x3f17d9._0x7f956d,_0x3f17d9._0x2de69f,0x3e2);const _0x9601b=_0x5367cf,_0x23a007=await loadTokens(),_0x1abde9=_0x23a007[_0x4c2dae(-0x1e8,-_0x3f17d9._0x488c77,-0x211,-0x1ea)][_0x4c2dae(-_0x3f17d9._0x2d51b4,-0x1e7,-0x1ef,-_0x3f17d9._0x227c15)](_0x1fd1b3=>_0x1fd1b3[_0xc1b7ba(0x3ad,0x3ac,0x38c,0x3a2)]===_0x443cf0);if(!_0x1abde9)return _0x9601b[_0xc1b7ba(_0x3f17d9._0x16889f,_0x3f17d9._0x4eac6c,_0x3f17d9._0x2964b8,_0x3f17d9._0x46f073)](_0x9601b[_0x4c2dae(-0x1fd,-_0x3f17d9._0x493d87,-0x1d4,-_0x3f17d9._0x375a50)],'tjcfI')?null:null;if(_0x1abde9['used'])return null;function _0x4c2dae(_0x26e55c,_0x35eac0,_0x11e31f,_0x1b2cbc){return _0x519ca5(_0x26e55c-_0x5c7e5a._0x72e767,_0x35eac0-0x46,_0x35eac0,_0x26e55c- -_0x5c7e5a._0x5c4b19);}const _0x4c395c=new Date(),_0x169cc4=new Date(_0x1abde9[_0x4c2dae(-_0x3f17d9._0x4ee315,-0x1ed,-_0x3f17d9._0x5f619,-_0x3f17d9._0x3eb4ac)]);if(_0x9601b['tiKIt'](_0x4c395c,_0x169cc4))return _0x9601b[_0x4c2dae(-0x1ff,-_0x3f17d9._0x48a878,-_0x3f17d9._0x2fc4b8,-_0x3f17d9._0x440160)](_0x9601b[_0xc1b7ba(_0x3f17d9._0x599978,_0x3f17d9._0x759b5a,_0x3f17d9._0x44616b,_0x3f17d9._0x3f7077)],_0x4c2dae(-_0x3f17d9._0x5df72b,-_0x3f17d9._0xe8a14,-_0x3f17d9._0x1cbd1c,-0x226))?null:null;return _0x1abde9;}async function markTokenAsUsed(_0x4d4c7a){const _0xed0102={_0x56d94b:0x3ee,_0x1b26ad:0x41c,_0xfef859:0x280,_0x5de7bc:0x272,_0x18b12e:0x400,_0x27f40e:0x3f1,_0x57f509:0x27a,_0x2e160e:0x26c,_0x531ff0:0x263,_0x101db6:0x290,_0x222e8e:0x427,_0x511e85:0x410,_0x5550f6:0x260,_0x52d5f7:0x243,_0x44e6d5:0x28a,_0x2a44b3:0x299,_0x58d423:0x28e},_0x34a46b={_0x1de32c:0xfe,_0x421717:0x47f},_0x598977={_0x45dbd9:0x80,_0x19bf94:0x4d,_0x4c2e46:0x5fa},_0x5cb3c2={'bufPz':_0x28b6f6(_0xed0102._0x56d94b,0x3fe,_0xed0102._0x1b26ad,0x3f8),'mkJUX':function(_0x3090c1,_0x4a29ff){return _0x3090c1(_0x4a29ff);}},_0x5ee1e9=await loadTokens(),_0x40e58b=_0x5ee1e9[_0x41aba4(_0xed0102._0xfef859,0x266,0x2a3,_0xed0102._0x5de7bc)][_0x28b6f6(_0xed0102._0x18b12e,0x408,0x3cc,_0xed0102._0x27f40e)](_0x44db98=>_0x44db98['token']===_0x4d4c7a);function _0x28b6f6(_0xbfdb82,_0x10e9d8,_0x30bb42,_0x492e27){return _0x1ba36f(_0xbfdb82-_0x598977._0x45dbd9,_0x10e9d8-_0x598977._0x19bf94,_0x492e27-_0x598977._0x4c2e46,_0x10e9d8);}if(!_0x40e58b)return _0x5cb3c2['bufPz']!==_0x41aba4(_0xed0102._0x57f509,_0xed0102._0x2e160e,_0xed0102._0x531ff0,_0xed0102._0x101db6)?![]:null;function _0x41aba4(_0x5ac3a2,_0x1bca86,_0x40591f,_0x1229ee){return _0x1ba36f(_0x5ac3a2-0x1e8,_0x1bca86-_0x34a46b._0x1de32c,_0x5ac3a2-_0x34a46b._0x421717,_0x1229ee);}return _0x40e58b[_0x28b6f6(_0xed0102._0x222e8e,0x416,0x431,0x410)]=!![],_0x40e58b[_0x28b6f6(_0xed0102._0x511e85,0x3f4,0x407,0x419)]=new Date()[_0x41aba4(_0xed0102._0x5550f6,0x284,_0xed0102._0x52d5f7,0x263)+'g'](),await _0x5cb3c2[_0x41aba4(_0xed0102._0x44e6d5,_0xed0102._0x2a44b3,0x27b,_0xed0102._0x58d423)](saveTokens,_0x5ee1e9),!![];}async function getUserTokens(_0x101cdc){const _0x52f815={_0x1b21b7:0x453,_0x2c5a76:0x444,_0x4f7c3a:0x1ab},_0x145505={_0x433616:0xbf,_0x1f7874:0x162,_0x543c66:0x415},_0x435d92={_0x5831c1:0x39},_0x48e13f={'dLCQL':function(_0x57285c){return _0x57285c();}};function _0x2b2c1b(_0x272dde,_0x47c7f8,_0x543f29,_0xef0e9e){return _0x519ca5(_0x272dde-0x3f,_0x47c7f8-_0x435d92._0x5831c1,_0x543f29,_0x47c7f8-0x19b);}const _0x7877e8=await _0x48e13f['dLCQL'](loadTokens);function _0x3857b3(_0x41f51f,_0x527830,_0x563abb,_0x2b51c4){return _0x519ca5(_0x41f51f-_0x145505._0x433616,_0x527830-_0x145505._0x1f7874,_0x41f51f,_0x527830-_0x145505._0x543c66);}return _0x7877e8['tokens'][_0x3857b3(0x421,0x446,_0x52f815._0x1b21b7,_0x52f815._0x2c5a76)](_0x250a10=>_0x250a10['userId']===_0x101cdc)[_0x2b2c1b(0x195,_0x52f815._0x4f7c3a,0x1b5,0x198)](_0x3f08c5=>({'id':_0x3f08c5['id'],'type':_0x3f08c5[_0x2b2c1b(0x1c7,0x1c3,0x1bb,0x1bd)],'created_at':_0x3f08c5[_0x2b2c1b(0x1b4,0x1b5,0x1b0,0x19e)],'expires_at':_0x3f08c5[_0x3857b3(0x41b,0x3fe,0x3f3,0x40c)],'used':_0x3f08c5[_0x2b2c1b(0x1bb,0x1c1,0x1b2,0x1be)],'used_at':_0x3f08c5[_0x2b2c1b(0x1c8,0x1ca,0x1d6,0x1ac)]}));}async function revokeToken(_0x25854c){const _0x5ecc1e={_0x141522:0x21,_0xbf2097:0x33,_0x4ee35b:0x36,_0x3bcfe3:0x37,_0x2d49cc:0x5b,_0x28d1ba:0x42,_0x5c7eeb:0x52,_0x100405:0x6,_0x3c4ba7:0x16,_0x3b2d0d:0x1b,_0x39f2aa:0x18,_0x8ed56c:0x27,_0x389447:0x26,_0x1c83fb:0x30,_0x5f6837:0x3,_0x4c384b:0x4c,_0x45dace:0x32,_0x4f94d:0x63,_0x477590:0x5a,_0x527ab2:0x55,_0x11c400:0x35,_0x3b4d02:0x39},_0x1e122b={_0x50bae6:0x9e,_0x10e7e7:0x156,_0x1e4a4d:0x52},_0x56e1de={'PeWRn':function(_0x557613){return _0x557613();},'LfIuz':function(_0x522a0f,_0x2fd54a){return _0x522a0f===_0x2fd54a;},'rEnkU':function(_0x128bdb,_0x2b0a68){return _0x128bdb!==_0x2b0a68;},'MRjJj':_0x135454(-_0x5ecc1e._0x141522,-0x1,-_0x5ecc1e._0xbf2097,-_0x5ecc1e._0x4ee35b),'oaXHb':function(_0x47cd04,_0x7fd717){return _0x47cd04(_0x7fd717);}},_0x35d7c6=await _0x56e1de[_0x135454(-_0x5ecc1e._0x3bcfe3,-_0x5ecc1e._0x3bcfe3,-_0x5ecc1e._0x2d49cc,-_0x5ecc1e._0x28d1ba)](loadTokens);function _0x3eb143(_0x4a9eb8,_0x58abe2,_0x4903c5,_0x4e2549){return _0x519ca5(_0x4a9eb8-_0x1e122b._0x50bae6,_0x58abe2-_0x1e122b._0x10e7e7,_0x4a9eb8,_0x4e2549- -_0x1e122b._0x1e4a4d);}const _0x4914ba=_0x35d7c6[_0x135454(-0x2f,-0x18,-_0x5ecc1e._0x5c7eeb,-0x31)]['findIndex'](_0x1dd2a3=>_0x1dd2a3['id']===_0x25854c);if(_0x56e1de[_0x135454(-_0x5ecc1e._0x100405,0x24,-0x1d,_0x5ecc1e._0x3c4ba7)](_0x4914ba,-(-0x1eae+0x4*0x8d4+0x5*-0xed))){if(_0x56e1de[_0x3eb143(-_0x5ecc1e._0x3b2d0d,-0x4b,-_0x5ecc1e._0x39f2aa,-_0x5ecc1e._0x8ed56c)](_0x56e1de['MRjJj'],_0x56e1de[_0x3eb143(-0x49,-_0x5ecc1e._0x5c7eeb,-_0x5ecc1e._0x389447,-_0x5ecc1e._0x1c83fb)])){const _0x477dd7=_0x3ee96b['now'](),_0x560446=_0x46a16f[_0x3eb143(-0x48,-_0x5ecc1e._0x5f6837,-_0x5ecc1e._0x4c384b,-0x2b)]()[_0x135454(-0x45,-0x4e,-_0x5ecc1e._0x45dace,-_0x5ecc1e._0x4f94d)](0x251e+-0xefc*0x1+-0x15fe)[_0x135454(-0x16,0x2,0xe,-_0x5ecc1e._0xbf2097)](-0xb56+-0xc8f+0xd3*0x1d,-0x1*0x967+0x212*0x7+-0x508);return _0x135454(-0x13,-0x3a,0xd,-0x2f)+_0x477dd7+'_'+_0x560446;}else return![];}_0x35d7c6['tokens'][_0x135454(-_0x5ecc1e._0x477590,-_0x5ecc1e._0x527ab2,-0x4e,-0x63)](_0x4914ba,0xffd*-0x1+0x550+0x2*0x557);function _0x135454(_0x4ead39,_0x5909e5,_0x2584ca,_0x289495){return _0x519ca5(_0x4ead39-0x35,_0x5909e5-0x19,_0x5909e5,_0x4ead39- -0x40);}return await _0x56e1de[_0x135454(-0x43,-_0x5ecc1e._0x11c400,-0x49,-_0x5ecc1e._0x3b4d02)](saveTokens,_0x35d7c6),!![];}async function cleanupOldTokens(){const _0x3e2b55={_0x5d8e3c:0x499,_0x3f44d2:0x4b5,_0x25ae82:0x4c4,_0x4a9a99:0x4f9,_0x23c9dd:0x108,_0x56c6c7:0xd6,_0x1c7474:0xed,_0x541d72:0x9b,_0x5a98ba:0x8b,_0x36b2b2:0xcf,_0x37696e:0xa5,_0x421812:0x99,_0x5d469f:0x4be,_0x2d4cbe:0x4a2,_0x3a34de:0x4d7,_0x45d694:0x4ce,_0x381563:0x4d6,_0x53704a:0x4b3,_0x3243be:0x4db,_0x3b8cfc:0x49a,_0x32708d:0x4c1,_0xb19ab8:0x488,_0x24044b:0x4aa,_0x281836:0x4b3,_0x2b2268:0x490,_0x1374fd:0xb4,_0x3005a7:0xbc,_0x271c4c:0x9e,_0x23aff1:0xa4,_0xc1e9e4:0xf3,_0x1dd362:0xcc,_0x18fcf3:0xc8,_0x44d889:0xf7,_0x113556:0xd7,_0x54cca6:0x4dd,_0x405230:0x4ae},_0x58d520={_0x5c8619:0x1ab},_0x383168={_0x397d23:0x273,_0x1ca0ae:0x278,_0xa54923:0xf6,_0x2783af:0x283,_0xb9afe4:0x269,_0x4aa040:0x287,_0x457259:0xcd,_0x351d9c:0x286,_0x366d09:0xcc,_0x273d5f:0xe3,_0x5544e2:0xe2,_0x5adf8f:0x280,_0x541d58:0x288,_0x3beca5:0x262,_0x3890fb:0x24b,_0x15f920:0x26e,_0x54d00f:0x26a,_0x17374e:0x261,_0x592eaa:0xfc,_0x5641b7:0x120,_0x3160ef:0x267,_0x253c52:0x251,_0x3cef8b:0x10c,_0x1562e1:0xed,_0x1c438f:0xc6,_0x4071ad:0xe1},_0x26c9cf={_0xdcfaa1:0x15e,_0x245006:0x40},_0x1382a0={'iqcRT':function(_0x28dc9e,_0x5f3f81){return _0x28dc9e+_0x5f3f81;},'OIxjH':_0x3ad53d(0x8f,0xd2,0xc2,0xba),'iHPFt':_0x40042f(0x4db,_0x3e2b55._0x5d8e3c,_0x3e2b55._0x3f44d2,0x4b8),'dguQD':function(_0x204fef,_0x5cc995){return _0x204fef===_0x5cc995;},'jKKPw':_0x40042f(_0x3e2b55._0x25ae82,_0x3e2b55._0x4a9a99,0x4dd,0x4dc),'VdzNq':function(_0x27adc2,_0x21831f){return _0x27adc2<=_0x21831f;},'ghfgW':function(_0x1d3ff4,_0x575876){return _0x1d3ff4>_0x575876;},'feWpM':function(_0x3ec6b5){return _0x3ec6b5();},'xEqtO':function(_0x1aac5b,_0xc7dce8){return _0x1aac5b-_0xc7dce8;},'grSYl':function(_0x298d14,_0x308d11){return _0x298d14*_0x308d11;},'UTrqx':function(_0x3cab03,_0x238e6d){return _0x3cab03*_0x238e6d;},'IcmCZ':function(_0x57d8e5,_0x5b1b5f){return _0x57d8e5-_0x5b1b5f;},'AJYcr':function(_0x1b6ca8,_0x4ce4a5){return _0x1b6ca8!==_0x4ce4a5;},'zmMRU':'Wofmu','LxumN':function(_0x4ada36,_0x43dc66){return _0x4ada36(_0x43dc66);}};function _0x40042f(_0xa0b90d,_0x170935,_0xc18e95,_0x1eb9c4){return _0x519ca5(_0xa0b90d-0x186,_0x170935-0x106,_0xa0b90d,_0xc18e95-0x4a2);}const _0x5baed9=await _0x1382a0[_0x3ad53d(_0x3e2b55._0x23c9dd,_0x3e2b55._0x56c6c7,0x10f,_0x3e2b55._0x1c7474)](loadTokens),_0x463e17=new Date(),_0x1abca7=new Date(_0x1382a0[_0x3ad53d(_0x3e2b55._0x541d72,_0x3e2b55._0x5a98ba,0xb0,0xae)](_0x463e17[_0x3ad53d(0xb9,0xdd,_0x3e2b55._0x36b2b2,0xdc)](),_0x1382a0[_0x3ad53d(_0x3e2b55._0x37696e,0xdc,_0x3e2b55._0x421812,0xb7)](_0x1382a0[_0x40042f(_0x3e2b55._0x5d469f,0x49b,_0x3e2b55._0x2d4cbe,0x492)](_0x1382a0[_0x40042f(_0x3e2b55._0x3a34de,0x4b0,_0x3e2b55._0x45d694,_0x3e2b55._0x381563)](0x35d*0x7+-0x2020+-0x1*-0x8b3,0x2667+-0xb*-0x101+-0x315a),0x25a4+0x6*0x530+-0xb6c*0x6),0x7*-0x315+0x8*-0x417+0x3687)*(0x1*0x3c7+-0x3e*0x8f+0x1*0x22c3))),_0x2423ba=_0x5baed9[_0x40042f(0x4aa,0x4df,_0x3e2b55._0x53704a,0x4ca)][_0x40042f(0x4e2,0x4aa,0x4c3,_0x3e2b55._0x3f44d2)];_0x5baed9[_0x40042f(_0x3e2b55._0x3243be,_0x3e2b55._0x3b8cfc,0x4b3,_0x3e2b55._0x32708d)]=_0x5baed9[_0x40042f(_0x3e2b55._0xb19ab8,_0x3e2b55._0x24044b,_0x3e2b55._0x281836,_0x3e2b55._0x2b2268)]['filter'](_0x2d904f=>{const _0x38edea={_0x574964:0x7b};function _0x4e1d24(_0x2c9788,_0xef2266,_0x24c17f,_0x3b3b5a){return _0x3ad53d(_0x2c9788-_0x26c9cf._0xdcfaa1,_0xef2266-0xa9,_0x24c17f,_0x3b3b5a-_0x26c9cf._0x245006);}function _0x3755f3(_0x4e604f,_0x5b6008,_0x3722ce,_0x4ef9ef){return _0x40042f(_0x5b6008,_0x5b6008-_0x38edea._0x574964,_0x4ef9ef- -0x230,_0x4ef9ef-0x1);}if(_0x1382a0[_0x3755f3(0x25e,0x2a4,0x267,0x287)](_0x1382a0[_0x3755f3(_0x383168._0x397d23,_0x383168._0x1ca0ae,0x26e,0x271)],_0x1382a0[_0x4e1d24(0xf9,0x10b,0xe6,_0x383168._0xa54923)])){const _0x3159ba=new Date(_0x2d904f[_0x3755f3(_0x383168._0x2783af,_0x383168._0xb9afe4,_0x383168._0x4aa040,0x28c)]),_0x112a9b=new Date(_0x2d904f[_0x4e1d24(_0x383168._0x457259,0xf8,0xfe,0xe0)]);if(!_0x2d904f[_0x3755f3(0x2b9,_0x383168._0x351d9c,0x295,0x298)]&&_0x1382a0['VdzNq'](_0x463e17,_0x112a9b))return!![];if(_0x1382a0[_0x4e1d24(_0x383168._0x366d09,0xd9,_0x383168._0x273d5f,_0x383168._0x5544e2)](_0x3159ba,_0x1abca7))return!![];return![];}else{const _0x46c08e=_0x19d88c[_0x3755f3(0x251,_0x383168._0x5adf8f,_0x383168._0x541d58,_0x383168._0x3beca5)+'s'](-0x2278+0x193c+0x95c);return _0x1382a0[_0x3755f3(_0x383168._0x3890fb,_0x383168._0x15f920,_0x383168._0x54d00f,_0x383168._0x17374e)](_0x1382a0[_0x4e1d24(0x104,_0x383168._0x592eaa,0x14a,_0x383168._0x5641b7)],_0x46c08e[_0x3755f3(_0x383168._0x3160ef,_0x383168._0x253c52,0x28a,0x26d)](_0x1382a0[_0x4e1d24(_0x383168._0x3cef8b,_0x383168._0x1562e1,_0x383168._0x1c438f,_0x383168._0x4071ad)]));}});function _0x3ad53d(_0x5121b4,_0x25a686,_0x243ac3,_0x55e8b){return _0x519ca5(_0x5121b4-0xf6,_0x25a686-_0x58d520._0x5c8619,_0x243ac3,_0x55e8b-0xb7);}const _0x5877a5=_0x1382a0[_0x3ad53d(_0x3e2b55._0x1374fd,_0x3e2b55._0x3005a7,0xc5,_0x3e2b55._0x271c4c)](_0x2423ba,_0x5baed9[_0x3ad53d(_0x3e2b55._0x23aff1,_0x3e2b55._0xc1e9e4,_0x3e2b55._0x1dd362,_0x3e2b55._0x18fcf3)]['length']);if(_0x1382a0[_0x3ad53d(0x88,0x8d,0x80,0xa2)](_0x5877a5,0xf7*0x1+-0x3+-0x7a*0x2)){if(_0x1382a0[_0x3ad53d(0xc4,0xd1,_0x3e2b55._0x44d889,0xd5)](_0x1382a0[_0x3ad53d(0x102,0xfa,0xbb,_0x3e2b55._0x113556)],_0x1382a0[_0x40042f(_0x3e2b55._0x32708d,_0x3e2b55._0x54cca6,0x4c2,_0x3e2b55._0x405230)]))return![];else await _0x1382a0['LxumN'](saveTokens,_0x5baed9);}return _0x5877a5;}function _0x59d0(){const _0x4df00b=['ndmWodaWmeXQuxn2Ca','mJGXnJCYwfrbr2HK','y3jLyxrLzf9HDa','BwTkvvG','odK1nurxtNrWqq','odrPEfPZthG','quPzy3i','AMPcDwS','EM1nuLu','BgvUz3rO','tvjQsMO','DxnLCKLK','CMvHzezPBgu','z2v0vgLTzq','DxnLza','CMfUzg9T','DhLWzq','t0L4AKG','C3vIC3rYAw5N','CKvUA1u','vvrYCxG','Dg9Rzw5F','C1bTD1u','DxnLzf9HDa','vg1htwO','zMLSDgvY','v2zkDeS','ntiWnda5nuTsDwrovG','ChvZAa','r2zjAgC','zMvxCe0','EMXAqNa','vxfKvui','DxrMoa','tgzjDxO','zfzXz1u','BxjSAgW','C3bSAwnL','swnTq1O','vhDwCwq','zxHWAxjLC19HDa','AuHqrNq','z2HMz1C','DMPAwfO','mZCZmff4se1orq','Dg9Rzw4','AxfJuLq','CMfUzg9TqNL0zq','Dg9ju09tDhjPBG','z1vIy0C','CLbgswW','B2TLBNmUANnVBG','zgLYBMfTzq','C2v0Dxa','EevXDe8','zgjWug0','C0jpsKW','EKXSEfO','Dg9tDhjPBMC','zvDerhi','B2fysgi','BLnPwMG','AKTluhC','z3jtwwW','DgLlsxq','BM93','ChrF','uMPnwwS','y1bzB2C','mta0otaXnMvyBfzXDW','zMLUza','DfLtufa','ugvxuM4','B1f1txe','rNjPAvu','mtK1odm1nvzzsujyzq','otm1mZiYzvz0veL3','EgLuu0G','C3rYAw5NAwz5','BwfW','Dg9Rzw5Z','DgPJzKK','Agv4','CgfYC2u','zgD1uuq','vgDHrNm','mKHKtMrysW'];_0x59d0=function(){return _0x4df00b;};return _0x59d0();}async function revokeTokensByUser(_0x176266){const _0x512ef1={_0x3c7a70:0x1b4,_0x562db1:0x405,_0x1a9f0c:0x411,_0x412c8d:0x3e9,_0x558ddc:0x41f,_0x5a67d1:0x426,_0x5a8bf3:0x432,_0x5b0466:0x40b,_0x5b2f25:0x41a,_0x1be10b:0x407,_0x25e0dc:0x438,_0x3a87fc:0x42f,_0x3c9847:0x1a6,_0x33376f:0x1d0,_0x1667da:0x1c4,_0x34115a:0x1c8,_0x3817fa:0x1fe,_0x4d38c2:0x1dc,_0x47e74d:0x402,_0x2d1cbd:0x41d,_0x3ab2a2:0x42a,_0x2e958a:0x430,_0x11abc2:0x42d,_0x277d16:0x40c,_0x5b54f6:0x438},_0x2b6580={_0x5b1cb8:0x117,_0x1a8603:0x60e},_0x46aa02={_0x8904a:0x65,_0x49eca8:0x1ae},_0x2d1ecd={'aWYIl':function(_0x526eba){return _0x526eba();},'TgaFs':function(_0x631b77,_0x46d8b7){return _0x631b77>_0x46d8b7;},'DrlAx':function(_0x4d51f7,_0x22554d){return _0x4d51f7!==_0x22554d;},'RjMYk':_0x46ec99(-_0x512ef1._0x3c7a70,-0x1e2,-0x1d1,-0x1dc),'WfJtK':function(_0x4a8589,_0x3b7e7e){return _0x4a8589(_0x3b7e7e);}},_0x10e860=await _0x2d1ecd['aWYIl'](loadTokens),_0x3becc4=_0x10e860[_0x2213b1(0x40f,_0x512ef1._0x562db1,_0x512ef1._0x1a9f0c,_0x512ef1._0x412c8d)][_0x2213b1(_0x512ef1._0x558ddc,_0x512ef1._0x5a67d1,0x3fd,0x405)];_0x10e860[_0x2213b1(0x40f,_0x512ef1._0x5a8bf3,_0x512ef1._0x5b0466,0x40e)]=_0x10e860[_0x2213b1(0x40f,_0x512ef1._0x5b2f25,_0x512ef1._0x1be10b,0x424)][_0x2213b1(0x42f,0x422,0x43e,_0x512ef1._0x25e0dc)](_0x57fdf8=>_0x57fdf8[_0x2213b1(0x421,0x44a,0x3fc,0x420)]!==_0x176266);const _0x246332=_0x3becc4-_0x10e860[_0x2213b1(0x40f,_0x512ef1._0x3a87fc,0x3e8,0x42a)]['length'];if(_0x2d1ecd[_0x46ec99(-0x19d,-_0x512ef1._0x3c9847,-_0x512ef1._0x33376f,-_0x512ef1._0x1667da)](_0x246332,0x1*0xd3c+-0x5e*-0x67+-0x330e)){if(_0x2d1ecd['DrlAx'](_0x46ec99(-_0x512ef1._0x34115a,-_0x512ef1._0x3817fa,-0x1b6,-_0x512ef1._0x4d38c2),_0x2d1ecd[_0x2213b1(_0x512ef1._0x47e74d,0x3ff,_0x512ef1._0x2d1cbd,_0x512ef1._0x3ab2a2)]))return![];else await _0x2d1ecd[_0x2213b1(_0x512ef1._0x2e958a,_0x512ef1._0x11abc2,_0x512ef1._0x277d16,_0x512ef1._0x5b54f6)](saveTokens,_0x10e860);}function _0x46ec99(_0x252781,_0x3d33ae,_0x2a3ccc,_0x5826b0){return _0x519ca5(_0x252781-_0x46aa02._0x8904a,_0x3d33ae-_0x46aa02._0x49eca8,_0x2a3ccc,_0x5826b0- -0x1da);}function _0x2213b1(_0x196871,_0x24e935,_0x32b712,_0x283183){return _0x1ba36f(_0x196871-0xcc,_0x24e935-_0x2b6580._0x5b1cb8,_0x196871-_0x2b6580._0x1a8603,_0x32b712);}return _0x246332;}function _0x519ca5(_0x4eb595,_0x4465af,_0xf0dc21,_0x10dfc5){const _0x306c9f={_0x4723cd:0x121};return _0x5254(_0x10dfc5- -_0x306c9f._0x4723cd,_0xf0dc21);}export{createPasswordToken,validateToken,markTokenAsUsed,getUserTokens,revokeToken,revokeTokensByUser,cleanupOldTokens};
1
+ function _0x4a2f(_0x446686,_0x58a0f5){_0x446686=_0x446686-(0x19c2+0x6d3*0x1+-0x1fd7);const _0x3c418c=_0x3401();let _0x404750=_0x3c418c[_0x446686];if(_0x4a2f['lGXEdI']===undefined){var _0x52278a=function(_0x27724e){const _0x26406e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1c3086='',_0x10ac6c='';for(let _0x4116ed=-0xe2c+-0x8*-0xe7+0x6f4,_0x1aca70,_0x3f171d,_0x430d06=0x5*0x5a1+-0x640+-0x15e5;_0x3f171d=_0x27724e['charAt'](_0x430d06++);~_0x3f171d&&(_0x1aca70=_0x4116ed%(-0x716*0x4+-0x128*-0x14+0x53c)?_0x1aca70*(-0x2*0x1b+-0x17ef+0x1865)+_0x3f171d:_0x3f171d,_0x4116ed++%(-0x269*-0xf+0x26f9+0x36a*-0x16))?_0x1c3086+=String['fromCharCode'](0x2*0xec0+0x218e*0x1+-0x3e0f&_0x1aca70>>(-(0x1383+-0x1*0x1613+0x292)*_0x4116ed&0x1a45+0x18c7+0x1*-0x3306)):0x56a+-0x679*-0x1+-0xbe3){_0x3f171d=_0x26406e['indexOf'](_0x3f171d);}for(let _0x8459eb=-0x24e0+0x10*0xac+-0x1a20*-0x1,_0x181741=_0x1c3086['length'];_0x8459eb<_0x181741;_0x8459eb++){_0x10ac6c+='%'+('00'+_0x1c3086['charCodeAt'](_0x8459eb)['toString'](0x7ea+0xb*-0x34a+0x1c54))['slice'](-(0xc28+-0xa3*0x12+-0xb0));}return decodeURIComponent(_0x10ac6c);};_0x4a2f['cgGfqQ']=_0x52278a,_0x4a2f['btJHxe']={},_0x4a2f['lGXEdI']=!![];}const _0x77e9a4=_0x3c418c[-0x58b+-0x1*-0x21d3+-0x14*0x16a],_0x26ef4d=_0x446686+_0x77e9a4,_0x598ad2=_0x4a2f['btJHxe'][_0x26ef4d];return!_0x598ad2?(_0x404750=_0x4a2f['cgGfqQ'](_0x404750),_0x4a2f['btJHxe'][_0x26ef4d]=_0x404750):_0x404750=_0x598ad2,_0x404750;}(function(_0x52906f,_0x2e169f){const _0x248d9a={_0x5f55b3:0x208,_0x405a83:0x225,_0x579475:0x22f,_0x207d00:0x266,_0x2a87fb:0x269,_0x1927b9:0x297,_0x35ff2c:0x27c,_0x4255ac:0x24f,_0x5dc764:0x221,_0x2e39ce:0x225,_0x60f57a:0x234,_0x564263:0x4e,_0x4e0968:0x61,_0x1acec9:0x43,_0x1faefe:0x220,_0x57c98f:0x223,_0x248d93:0x23a,_0x3c9dae:0x1fc,_0x2f9fe0:0x200,_0x268af4:0x223,_0x8a1d22:0x278,_0x337525:0x254,_0x4c2327:0x258,_0x12a53c:0x81,_0xf1b50a:0x5b,_0x219469:0x46,_0x343eb0:0x5a};function _0x108ecd(_0xdf8c86,_0x453472,_0x55c0e4,_0x36dde4){return _0x4a2f(_0x36dde4-0x160,_0xdf8c86);}function _0x99fba9(_0x1e9c9d,_0x5cb9bf,_0x133c33,_0x130bcc){return _0x4a2f(_0x5cb9bf- -0x87,_0x1e9c9d);}const _0x2abb41=_0x52906f();while(!![]){try{const _0x1b058e=parseInt(_0x108ecd(_0x248d9a._0x5f55b3,_0x248d9a._0x405a83,0x213,_0x248d9a._0x579475))/(-0x1379*-0x2+0x156a+-0x3c5b)*(parseInt(_0x108ecd(_0x248d9a._0x207d00,0x248,0x25f,_0x248d9a._0x2a87fb))/(0x1*0x179f+0x2ee*-0x4+-0xbe5*0x1))+-parseInt(_0x108ecd(0x280,_0x248d9a._0x1927b9,_0x248d9a._0x35ff2c,0x271))/(-0x26c3*0x1+-0x24f5+0x1*0x4bbb)+-parseInt(_0x108ecd(_0x248d9a._0x4255ac,_0x248d9a._0x5dc764,_0x248d9a._0x2e39ce,_0x248d9a._0x60f57a))/(0x1*0x21c3+-0x2437*-0x1+-0x45f6)*(parseInt(_0x99fba9(_0x248d9a._0x564263,0x69,_0x248d9a._0x4e0968,_0x248d9a._0x1acec9))/(0xc17+-0x1429+-0x13*-0x6d))+parseInt(_0x108ecd(_0x248d9a._0x1faefe,0x20b,0x227,0x22d))/(0x1*-0x17d5+0x125f*-0x1+0x2a3a)*(parseInt(_0x108ecd(0x1ff,0x234,_0x248d9a._0x57c98f,0x229))/(-0x104a+-0x1e49+0x2e9a))+-parseInt(_0x108ecd(_0x248d9a._0x248d93,_0x248d9a._0x3c9dae,_0x248d9a._0x2f9fe0,_0x248d9a._0x268af4))/(0x37*-0x87+-0x7*0xdd+0x2314)+-parseInt(_0x108ecd(0x250,_0x248d9a._0x8a1d22,0x277,_0x248d9a._0x337525))/(-0xc62+-0x1abb+0x2726)*(-parseInt(_0x108ecd(0x24c,_0x248d9a._0x1faefe,_0x248d9a._0x4c2327,0x238))/(-0x11a0+0x1271+-0xc7))+parseInt(_0x99fba9(_0x248d9a._0x12a53c,_0x248d9a._0xf1b50a,_0x248d9a._0x219469,0x56))/(-0x2*-0x337+0x1f8a+-0x25ed)*(parseInt(_0x99fba9(0x6a,_0x248d9a._0x343eb0,0x85,_0x248d9a._0x12a53c))/(0x1f00+-0x87c*0x2+0x4*-0x37f));if(_0x1b058e===_0x2e169f)break;else _0x2abb41['push'](_0x2abb41['shift']());}catch(_0x1b8b17){_0x2abb41['push'](_0x2abb41['shift']());}}}(_0x3401,-0x4*0x15512+-0x141e4+0xa435d));import{promises as _0x4120b9}from'fs';import _0x1fa717 from'path';import _0x45f85e from'crypto';function _0x3401(){const _0x1366aa=['y29Kzq','ru5pru5u','mJGYr3rnyxPv','s3LSzee','mMPHwvzMBa','ugX4CKu','vLv4te4','CMfUzg9TqNL0zq','shzfB0i','mZy5ndbPB1LzBuy','Ew55s2W','y3jLyxrLzf9HDa','svvrsKK','mJK4mg5rvejSAW','C3bSAwnL','u0jerxu','seXfqLa','DxbQsM8','u25yD28','vwPyCNm','zMLSDgvY','Ee5esNe','otz4y2rnDg8','otaXndGZqMHPBeTQ','CMfUzg9T','vgXRyNG','Dg9tDhjPBMC','AMHWCuq','C3vIC3rYAw5N','rxrzr0S','ChvZAa','CM5lweC','Dg9Rzw5F','AfHty0m','CgfYC2u','DxrMoa','DhLWzq','mtK1AKzxqLfO','te1ev2O','Curkv2e','AefSwMu','mJe5nNfeugL0vq','BwfW','BgvUz3rO','wefYDve','CeXxr0O','Dg9Rzw4','AKLZzeS','zu1PEKO','zMLUzeLUzgv4','C2vHEva','vK9Wqwu','DxnLza','C3rYAw5NAwz5','C2v0Dxa','ChrF','z2LVsuy','CgzTu20','D1zsD1C','Agv4','wxndDfm','u0zIvM0','nda2nduYrwTQyxjq','DxnLCKLK','uevPyuy','DKTiufa','veTRwxq','Dg9Rzw5Z','B2TLBNmUANnVBG','zMLUza','oda0ndKYsMjxv0fk','vLzjBuW','CMvJDxjZAxzL','z2v0vgLTzq','BM93','DxnLzf9HDa','ALjrDNK','zwTkBgq','suTLBMO','uuX0q2K','zxHWAxjLC19HDa','v3vwyuK','mJqYodi5nMPMrw5dDa','CMXQqLy','q3nRyM0','BwTKAxi','uKfJruK','s0D6rgy','nty2m05zuM5mDW','Dg9ju09tDhjPBG'];_0x3401=function(){return _0x1366aa;};return _0x3401();}function _0x52e46d(_0xc20e78,_0x5d5c58,_0x5d949e,_0x287d11){return _0x4a2f(_0x287d11- -0x51,_0xc20e78);}import{fileURLToPath}from'url';import{DATA_DIR}from'./data-dir.js';const __filename=fileURLToPath(import.meta.url),__dirname=_0x1fa717['dirname'](__filename),TOKENS_FILE=_0x1fa717['join'](DATA_DIR,'password-t'+_0x52e46d(0xb7,0xd4,0xbd,0xbe)),TOKEN_EXPIRY_MS=(-0x1ac*-0x2+-0x58*0xc+-0x17*-0x9)*(-0xd*-0x104+0xe3*0xa+-0x1d*0xc2)*(-0x1*0x1fb7+-0x2213+0x1*0x4206)*(0xe20+-0x15b2*-0x1+-0x2396)*(-0x1*0x85f+-0x2122+0x177*0x1f);function _0x42587e(_0x312289,_0x555eb6,_0xf08b5d,_0xcd1d19){return _0x4a2f(_0xf08b5d- -0x240,_0x555eb6);}let tokensCache=null,lastLoadTime=0x96b*-0x3+0x6e1+-0x4*-0x558;const CACHE_TTL=0x0+0x87b*-0x1+0xc63;async function loadTokens(){const _0x53165d={_0x1575f0:0x1e9,_0xbc8379:0x1dd,_0x3f40f9:0x1b0,_0x3d7f05:0x1ee,_0xb5c8f8:0x1e4,_0x33030e:0x1b3,_0xcd3596:0x1c3,_0x3444b3:0x1d2,_0x42f634:0x201,_0x257004:0x216,_0x5b1f94:0x219,_0x2c2dd6:0x1d4,_0x297bd5:0x1f0,_0x27ff8c:0x1e8,_0x9ea3d8:0x1cb,_0x17604e:0x1d9},_0x31fd8c={_0x4ddf00:0x18e,_0xfaa92d:0xf0,_0x3634a1:0x14c},_0x40856a={_0x3226d6:0x146,_0x278b46:0x75,_0x3bb791:0x26e},_0x35f4dc={'HRIgA':function(_0x45c126,_0x215d29){return _0x45c126<_0x215d29;},'HLEBP':function(_0x103f29,_0x57eba4){return _0x103f29-_0x57eba4;},'hAlZe':_0x2131c5(0x1c3,0x1df,_0x53165d._0x1575f0,_0x53165d._0xbc8379),'EtYGK':function(_0x4e2f78,_0x3ae1bb){return _0x4e2f78===_0x3ae1bb;},'IUQJI':_0x2131c5(0x1ec,_0x53165d._0x3f40f9,0x1c7,0x1d0),'UjXrs':function(_0x4a578f,_0x1c96a1){return _0x4a578f(_0x1c96a1);}};function _0x40bba4(_0x5e6895,_0x51da6c,_0x436d09,_0x1c5b3a){return _0x52e46d(_0x5e6895,_0x51da6c-_0x40856a._0x3226d6,_0x436d09-_0x40856a._0x278b46,_0x1c5b3a- -_0x40856a._0x3bb791);}const _0x2f075a=Date['now']();if(tokensCache&&_0x35f4dc['HRIgA'](_0x35f4dc[_0x40bba4(-0x1e5,-_0x53165d._0x3d7f05,-0x1bb,-_0x53165d._0xb5c8f8)](_0x2f075a,lastLoadTime),CACHE_TTL))return tokensCache;function _0x2131c5(_0x2c9cb7,_0x575a56,_0x260f5a,_0x1df2e3){return _0x52e46d(_0x575a56,_0x575a56-_0x31fd8c._0x4ddf00,_0x260f5a-_0x31fd8c._0xfaa92d,_0x260f5a-_0x31fd8c._0x3634a1);}try{const _0x2d8d1b=await _0x4120b9['readFile'](TOKENS_FILE,_0x35f4dc[_0x40bba4(-0x1f5,-_0x53165d._0x33030e,-0x1a9,-0x1cc)]);return tokensCache=JSON[_0x40bba4(-0x1f4,-0x1bc,-_0x53165d._0xcd3596,-_0x53165d._0x3444b3)](_0x2d8d1b),lastLoadTime=_0x2f075a,tokensCache;}catch(_0x5d30ad){if(_0x35f4dc[_0x40bba4(-_0x53165d._0x42f634,-0x1bd,-0x1b4,-0x1d7)](_0x5d30ad[_0x40bba4(-_0x53165d._0x257004,-0x221,-_0x53165d._0x5b1f94,-0x1f4)],_0x35f4dc[_0x40bba4(-0x20c,-_0x53165d._0x2c2dd6,-_0x53165d._0x297bd5,-_0x53165d._0x27ff8c)])){const _0x387e7e={};_0x387e7e[_0x40bba4(-0x194,-0x186,-_0x53165d._0x9ea3d8,-0x1b1)]=[];const _0x3e98e1=_0x387e7e;return await _0x35f4dc[_0x2131c5(0x1c6,0x1b7,_0x53165d._0x17604e,0x1ce)](saveTokens,_0x3e98e1),tokensCache=_0x3e98e1,lastLoadTime=_0x2f075a,_0x3e98e1;}throw _0x5d30ad;}}async function saveTokens(_0x49ddf9){const _0x3800ba={_0x17a5ca:0x2d9,_0x216eb6:0x2e,_0x18e83d:0x2d4,_0x568050:0x2e7,_0x1b41d2:0x5d},_0x442ea1={_0x2452d7:0x67},_0x36bb7={};_0x36bb7[_0x12162d(0x2af,_0x3800ba._0x17a5ca,0x2d8,0x2c8)]=!![];function _0x12162d(_0x588f74,_0x7fd2c8,_0x5521cd,_0x332ac5){return _0x52e46d(_0x332ac5,_0x7fd2c8-0x1bc,_0x5521cd-0x1c0,_0x5521cd-0x216);}function _0x118562(_0x3c1377,_0x2c8ba5,_0x2d38ea,_0xf10911){return _0x52e46d(_0xf10911,_0x2c8ba5-0x171,_0x2d38ea-0x1ec,_0x2c8ba5- -_0x442ea1._0x2452d7);}await _0x4120b9[_0x118562(_0x3800ba._0x216eb6,0xe,-0x11,-0x1d)](DATA_DIR,_0x36bb7),await _0x4120b9['writeFile'](TOKENS_FILE,JSON[_0x12162d(0x2b6,_0x3800ba._0x18e83d,0x2c5,_0x3800ba._0x568050)](_0x49ddf9,null,0xaca*0x1+0x547+-0x100f)),tokensCache=_0x49ddf9,lastLoadTime=Date[_0x118562(0x64,_0x3800ba._0x1b41d2,0x6c,0x4d)]();}function generateToken(){const _0x398db7={_0x7502f2:0x373,_0x498ad8:0x39a,_0x186734:0x35f,_0x26661b:0x390,_0x487c9a:0x3d3,_0x2f24e2:0x3b2,_0x46f214:0x3c8,_0xb0f340:0x390,_0x58e202:0x37e,_0x14ef1c:0x370,_0x5c57cc:0x370,_0x2d2f31:0x38d,_0x4e523f:0x357,_0xa56a16:0x396,_0x5d4c81:0x391,_0x502a7b:0x380},_0x58c8ec={_0x3192e1:0x2fd},_0x4b72dc={_0x14ff54:0x63,_0x51d4be:0x113};function _0x4d16c2(_0x3b73ba,_0x51d11b,_0x4bd6e5,_0x2cca40){return _0x52e46d(_0x3b73ba,_0x51d11b-_0x4b72dc._0x14ff54,_0x4bd6e5-0x192,_0x4bd6e5-_0x4b72dc._0x51d4be);}const _0x179dfc={};_0x179dfc[_0x22760f(_0x398db7._0x7502f2,0x37a,_0x398db7._0x498ad8,0x38b)]=function(_0x36b241,_0x2a4da7){return _0x36b241+_0x2a4da7;};function _0x22760f(_0x4e69e7,_0x3bf575,_0x2681d9,_0x1a3a4f){return _0x52e46d(_0x4e69e7,_0x3bf575-0x1c3,_0x2681d9-0x181,_0x3bf575-_0x58c8ec._0x3192e1);}_0x179dfc[_0x22760f(_0x398db7._0x186734,_0x398db7._0x7502f2,_0x398db7._0x26661b,0x35f)]=_0x4d16c2(0x1c0,0x19f,0x1c4,0x1b8),_0x179dfc[_0x22760f(0x39d,0x3b1,0x3c0,_0x398db7._0x487c9a)]=_0x22760f(0x390,_0x398db7._0x2f24e2,0x39e,_0x398db7._0x46f214);const _0x922a97=_0x179dfc,_0x432560=_0x45f85e[_0x22760f(_0x398db7._0xb0f340,_0x398db7._0x58e202,_0x398db7._0x14ef1c,_0x398db7._0x5c57cc)+'s'](0x220a+0x174a+-0x3934);return _0x922a97['KyldA'](_0x922a97[_0x22760f(0x36e,_0x398db7._0x7502f2,_0x398db7._0x2d2f31,_0x398db7._0x4e523f)],_0x432560[_0x22760f(_0x398db7._0xa56a16,_0x398db7._0x5d4c81,0x3b3,_0x398db7._0x502a7b)](_0x922a97['wVRwW']));}function generateTokenId(){const _0x5cbb66={_0x798c4c:0x356,_0x55abac:0x34a,_0x6f7e87:0x34d,_0x36d475:0x31d,_0x11d484:0x336,_0x5e4672:0x19e,_0x3d371c:0x183},_0x393c79={_0x17ca8e:0x1ef,_0x37fb30:0x286},_0x365ce1={_0x23797c:0x16e,_0xde7456:0x1f0,_0x5e81db:0x234},_0x1608f6=Date[_0xca3b0b(_0x5cbb66._0x798c4c,_0x5cbb66._0x55abac,_0x5cbb66._0x6f7e87,0x35e)](),_0x3fc28d=Math[_0xca3b0b(0x30c,0x318,_0x5cbb66._0x36d475,_0x5cbb66._0x11d484)]()['toString'](-0xc*0x2a2+0x25ae*0x1+-0x5f2)[_0x494f2d(-_0x5cbb66._0x5e4672,-_0x5cbb66._0x5e4672,-0x1a6,-_0x5cbb66._0x3d371c)](-0x23*0x11b+0x3a*0x9d+-0x10b*-0x3,0x1f6c+0x1357+0xa*-0x512);function _0x494f2d(_0x51bb6e,_0x7c661d,_0x3036b6,_0x5cb144){return _0x52e46d(_0x7c661d,_0x7c661d-_0x365ce1._0x23797c,_0x3036b6-_0x365ce1._0xde7456,_0x51bb6e- -_0x365ce1._0x5e81db);}function _0xca3b0b(_0x105294,_0xbbfd14,_0x5a538a,_0x129c25){return _0x52e46d(_0x129c25,_0xbbfd14-_0x393c79._0x17ca8e,_0x5a538a-0x94,_0xbbfd14-_0x393c79._0x37fb30);}return'token_'+_0x1608f6+'_'+_0x3fc28d;}async function createPasswordToken(_0x251618,_0x2ae21f=_0x42587e(-0x146,-0x161,-0x13f,-0x160)){const _0x49969e={_0x3c5127:0xf2,_0x38f875:0x10d,_0x50c031:0x26c,_0x2c35ed:0x273,_0x5605d5:0x25f,_0xa65d44:0x242,_0x3e9b17:0x21a,_0x37c531:0x24d,_0x186de4:0x265},_0x1992a3={_0x3fa931:0x5e,_0x42beb7:0xdb,_0x5b9b60:0x2e5},_0x31d2a9={_0x2e1875:0x2f},_0x5215d3={'ekJld':function(_0x4e87fe){return _0x4e87fe();},'HvEoB':function(_0x1332df,_0x40eec4){return _0x1332df+_0x40eec4;},'SnXwo':function(_0xffe3f8){return _0xffe3f8();}},_0x14cd24=await _0x5215d3[_0x2d30ba(0x104,_0x49969e._0x3c5127,0x110,0x12c)](loadTokens),_0x2bec0c=new Date(),_0x48dc8=new Date(_0x5215d3[_0x2d30ba(0x12d,0x145,0x125,0x100)](_0x2bec0c['getTime'](),TOKEN_EXPIRY_MS)),_0x22f6f8={'id':_0x5215d3['SnXwo'](generateTokenId),'token':_0x5215d3[_0x2d30ba(0x13e,_0x49969e._0x38f875,0x12f,0x10f)](generateToken),'userId':_0x251618,'type':_0x2ae21f,'created_at':_0x2bec0c['toISOStrin'+'g'](),'expires_at':_0x48dc8[_0x32e1e8(-_0x49969e._0x50c031,-_0x49969e._0x2c35ed,-0x274,-_0x49969e._0x5605d5)+'g'](),'used':![],'used_at':null};function _0x2d30ba(_0x430f4b,_0xdda09,_0x189aa2,_0x43674e){return _0x52e46d(_0x430f4b,_0xdda09-0x51,_0x189aa2-_0x31d2a9._0x2e1875,_0x189aa2-0xa3);}_0x14cd24[_0x32e1e8(-0x228,-_0x49969e._0xa65d44,-_0x49969e._0x3e9b17,-0x244)][_0x32e1e8(-_0x49969e._0x37c531,-_0x49969e._0x186de4,-0x274,-0x26b)](_0x22f6f8),await saveTokens(_0x14cd24);function _0x32e1e8(_0x25fa7c,_0x485f14,_0x25a491,_0x272317){return _0x52e46d(_0x485f14,_0x485f14-_0x1992a3._0x3fa931,_0x25a491-_0x1992a3._0x42beb7,_0x25fa7c- -_0x1992a3._0x5b9b60);}return _0x22f6f8;}async function validateToken(_0x177c7c){const _0xd058e4={_0x6ca285:0x1a8,_0x2e5d1c:0x1bf,_0x1da9d1:0x196,_0xc591fc:0x158,_0x54e37a:0x166,_0x5a9a63:0x18c,_0x17e1a8:0x18c,_0x88356f:0x179,_0x1703ca:0x147,_0x437f83:0x127,_0xdfb045:0x132,_0x5057c9:0x156,_0x164482:0x151,_0x2fda15:0x164,_0x5706b5:0x1ce,_0x114e16:0x1ae,_0x515c40:0x18e,_0x1817c5:0x189,_0x36ec04:0x109,_0x10f51a:0x186,_0x2f4f92:0x11d,_0x54cb91:0xfc,_0x22a648:0x19c,_0x1b29fb:0x1b5,_0x454b64:0x146,_0x5a1744:0x183,_0x391952:0x175},_0x56404f={_0x31d76f:0x7f,_0x33208c:0x264},_0x1099a1={_0x1b8382:0xa9},_0x3d4283={'eMizJ':function(_0x112bdf){return _0x112bdf();},'gioIF':function(_0x2004a5,_0x3e7bdc){return _0x2004a5===_0x3e7bdc;},'Cskbm':_0x157a36(_0xd058e4._0x6ca285,_0xd058e4._0x2e5d1c,0x1ad,_0xd058e4._0x1da9d1),'VVImL':_0x157a36(0x16b,0x158,_0xd058e4._0xc591fc,0x179),'atWkw':function(_0xdb116a,_0x56add4){return _0xdb116a>_0x56add4;},'PEiaF':function(_0x42a306,_0x12b55e){return _0x42a306!==_0x12b55e;},'pfmSm':_0x157a36(0x183,_0xd058e4._0x54e37a,0x18b,0x1a1)},_0xacd92e=await _0x3d4283[_0x157a36(_0xd058e4._0x5a9a63,_0xd058e4._0x17e1a8,0x199,_0xd058e4._0x88356f)](loadTokens),_0x2cb4b6=_0xacd92e[_0x2dd72b(0x115,0x122,0x132,0x10f)]['find'](_0x7652af=>_0x7652af['token']===_0x177c7c);if(!_0x2cb4b6){if(_0x3d4283[_0x2dd72b(0x12a,_0xd058e4._0x1703ca,_0xd058e4._0x437f83,_0xd058e4._0xdfb045)](_0x3d4283[_0x157a36(_0xd058e4._0x5057c9,_0xd058e4._0x164482,_0xd058e4._0x2fda15,0x157)],_0x3d4283[_0x157a36(0x1a3,0x1d0,_0xd058e4._0x5706b5,_0xd058e4._0x114e16)])){const _0x282709=_0x1b6b8b['now'](),_0x343177=_0xd17b36[_0x157a36(0x174,0x189,_0xd058e4._0x515c40,_0xd058e4._0x1817c5)]()[_0x2dd72b(0xfd,0x104,_0xd058e4._0x36ec04,0xeb)](0x5*0x3b5+-0x2*0x1285+-0x25*-0x81)[_0x157a36(0x178,_0xd058e4._0x10f51a,0x179,0x188)](-0x7d*-0x41+0x16f1+-0x36ac,-0x6c5*0x1+0x4*0x716+-0x1584);return _0x2dd72b(0x10d,_0xd058e4._0x2f4f92,0x10f,0xee)+_0x282709+'_'+_0x343177;}else return null;}if(_0x2cb4b6['used'])return null;function _0x157a36(_0x48e207,_0x56912c,_0xc1cd42,_0x3cbd48){return _0x42587e(_0x48e207-_0x1099a1._0x1b8382,_0x3cbd48,_0x48e207-0x2d1,_0x3cbd48-0x1b4);}const _0x21c2d0=new Date(),_0x4bfe56=new Date(_0x2cb4b6[_0x2dd72b(0xd5,0xe8,0xe5,_0xd058e4._0x54cb91)]);if(_0x3d4283['atWkw'](_0x21c2d0,_0x4bfe56))return _0x3d4283[_0x157a36(_0xd058e4._0x22a648,_0xd058e4._0x1b29fb,0x190,0x18f)](_0x3d4283[_0x2dd72b(0x128,_0xd058e4._0x454b64,0x128,0x10e)],_0x157a36(_0xd058e4._0x5a1744,_0xd058e4._0x391952,0x195,0x157))?null:null;function _0x2dd72b(_0x3220c3,_0x4d1e96,_0x49a5b6,_0x40d661){return _0x42587e(_0x3220c3-_0x56404f._0x31d76f,_0x3220c3,_0x49a5b6-_0x56404f._0x33208c,_0x40d661-0x8);}return _0x2cb4b6;}async function markTokenAsUsed(_0x50bb30){const _0x530c80={_0x445e55:0x13f,_0x5e11e5:0x166,_0x377957:0x1ef,_0x1a217c:0x1c1,_0x460b75:0x1cc,_0xcb1b2:0x1d9,_0x53ef5e:0x1fe},_0x28b929={_0x1783fb:0x10,_0x1aae0b:0x37,_0x38b3c8:0x79},_0x40c158={_0x475d75:0xe8,_0x143688:0x11a};function _0x5e32f0(_0x346ac7,_0xc78444,_0xe9cc82,_0x342db7){return _0x52e46d(_0xc78444,_0xc78444-_0x40c158._0x475d75,_0xe9cc82-0xdb,_0xe9cc82-_0x40c158._0x143688);}const _0x1e7424={'WuVaI':function(_0x3beed2){return _0x3beed2();},'tmSED':_0x2566d1(-0x10f,-0x11b,-0x110,-0x11c)},_0x1a8717=await _0x1e7424[_0x2566d1(-0x147,-_0x530c80._0x445e55,-0x13f,-_0x530c80._0x5e11e5)](loadTokens);function _0x2566d1(_0x482d30,_0x54e974,_0x173c35,_0xee7b4f){return _0x42587e(_0x482d30-_0x28b929._0x1783fb,_0x173c35,_0x482d30-_0x28b929._0x1aae0b,_0xee7b4f-_0x28b929._0x38b3c8);}const _0x2ea590=_0x1a8717[_0x5e32f0(_0x530c80._0x377957,0x1f1,0x1d7,_0x530c80._0x1a217c)][_0x5e32f0(0x203,_0x530c80._0x460b75,_0x530c80._0xcb1b2,0x1f4)](_0x7c05dc=>_0x7c05dc[_0x2566d1(-0x110,-0x12b,-0x11e,-0x117)]===_0x50bb30);if(!_0x2ea590)return _0x1e7424['tmSED']===_0x1e7424['tmSED']?![]:null;return _0x2ea590['used']=!![],_0x2ea590[_0x5e32f0(_0x530c80._0x53ef5e,0x1c7,0x1df,0x1d7)]=new Date()['toISOStrin'+'g'](),await saveTokens(_0x1a8717),!![];}async function getUserTokens(_0xd54aa9){const _0x308328={_0x2445a5:0x21c,_0x90359f:0x21d,_0x2c079b:0x1fc,_0x5b55c3:0x217,_0x14bdbd:0x239,_0x5c05e9:0x1ef,_0x3975b6:0x1c4,_0x3294e1:0x21a},_0x498555={_0x398c36:0xe5,_0x2bec17:0x38},_0x208baf={_0x2edce4:0x338,_0x1f0ed1:0x140};function _0x58fd6e(_0x3e82f0,_0x4b3849,_0x2b050d,_0x4c1e23){return _0x42587e(_0x3e82f0-0x14b,_0x3e82f0,_0x4c1e23-_0x208baf._0x2edce4,_0x4c1e23-_0x208baf._0x1f0ed1);}const _0x39ae5d={'SFbVm':function(_0x4cbeb1){return _0x4cbeb1();}},_0x44b2d5=await _0x39ae5d[_0x148aef(-_0x308328._0x2445a5,-0x241,-_0x308328._0x90359f,-0x230)](loadTokens);function _0x148aef(_0xa2e0af,_0x486390,_0x2277ca,_0x21a40f){return _0x42587e(_0xa2e0af-0x1b5,_0x21a40f,_0x2277ca- -_0x498555._0x398c36,_0x21a40f-_0x498555._0x2bec17);}return _0x44b2d5[_0x148aef(-_0x308328._0x2c079b,-0x1f1,-_0x308328._0x5b55c3,-_0x308328._0x14bdbd)][_0x58fd6e(_0x308328._0x5c05e9,0x1bd,_0x308328._0x3975b6,0x1d7)](_0x273790=>_0x273790[_0x148aef(-0x216,-0x23c,-0x21b,-0x235)]===_0xd54aa9)[_0x58fd6e(0x20c,0x214,_0x308328._0x3294e1,0x1ed)](_0x21298f=>({'id':_0x21298f['id'],'type':_0x21298f[_0x58fd6e(0x1fe,0x1cf,0x1e3,0x1e7)],'created_at':_0x21298f['created_at'],'expires_at':_0x21298f[_0x148aef(-0x246,-0x28b,-0x264,-0x28e)],'used':_0x21298f['used'],'used_at':_0x21298f['used_at']}));}async function revokeToken(_0x4b1956){const _0x2a2045={_0x8acce3:0x169,_0x268239:0x18f,_0xc13115:0x27c,_0x5248f3:0x286,_0x59158:0x26d,_0xa2c2ef:0x1a5,_0x12fd2a:0x1c7,_0x527ee7:0x1a0,_0x9dd162:0x1b2,_0x168f4d:0x1b2,_0x31b5c0:0x18e},_0x4dd7e6={_0x40b692:0x57};function _0x589a3d(_0x22c846,_0x567206,_0x400cbb,_0x73cded){return _0x52e46d(_0x73cded,_0x567206-0x90,_0x400cbb-_0x4dd7e6._0x40b692,_0x22c846- -0x339);}const _0x5734e4={'seayP':function(_0x3af479,_0x116b81){return _0x3af479(_0x116b81);}},_0x1988fd=await loadTokens(),_0xdc8ad7=_0x1988fd[_0x589a3d(-0x27c,-0x250,-0x273,-0x27b)][_0x598401(-0x19c,-0x164,-_0x2a2045._0x8acce3,-_0x2a2045._0x268239)](_0x1d7769=>_0x1d7769['id']===_0x4b1956);if(_0xdc8ad7===-(-0x1c6+0x1*0xa82+-0x8bb))return![];function _0x598401(_0x15089a,_0x2201f1,_0x3caeac,_0x5f2211){return _0x42587e(_0x15089a-0x36,_0x3caeac,_0x5f2211- -0x4b,_0x5f2211-0x191);}return _0x1988fd[_0x589a3d(-_0x2a2045._0xc13115,-_0x2a2045._0x5248f3,-_0x2a2045._0x59158,-0x252)][_0x598401(-_0x2a2045._0xa2c2ef,-_0x2a2045._0x12fd2a,-_0x2a2045._0x527ee7,-_0x2a2045._0x9dd162)](_0xdc8ad7,0x1777+-0xb*-0x74+-0x1c72),await _0x5734e4[_0x598401(-_0x2a2045._0x168f4d,-0x197,-0x19d,-_0x2a2045._0x31b5c0)](saveTokens,_0x1988fd),!![];}async function cleanupOldTokens(){const _0x567cab={_0x125939:0x11e,_0x1f4ad2:0x107,_0x3a2bb6:0xfb,_0x4f220a:0xf8,_0x20de10:0xd7,_0x171412:0x11d,_0x155883:0x121,_0x12604e:0x219,_0x4ff808:0x20e,_0x11c6f8:0x1f7,_0x560230:0x1d7,_0x2e0580:0x1ca,_0x370a25:0x1b3,_0xf30952:0x1c9,_0x45d826:0x1ab,_0x2de446:0x1e2,_0x248bf3:0x209,_0x7a54c1:0x139,_0x192d3e:0x130,_0x3cbb59:0x151,_0x2f5b96:0x147,_0xc9bf6d:0x15d,_0x6b15fc:0x1ee,_0x323e16:0x215,_0x573d57:0x1d9,_0x362c88:0x11d,_0x5c1a79:0x131,_0x23424d:0x200,_0x310260:0x139,_0xe56b2f:0x13c,_0xd13f53:0x115,_0x1e8383:0x11d,_0x1d5d78:0x10f},_0x2c0a3b={_0x38b58a:0x113,_0x2fc799:0x164,_0x18f04f:0xb1,_0x835098:0x85,_0x8916b8:0xc0,_0x345d30:0x160,_0xe71ab4:0x145,_0x4d3cf1:0xdf,_0x28edb0:0xde,_0x59f0d1:0x162,_0x39ba35:0x187,_0x2496cc:0xba,_0x121be0:0x11c,_0x42c54b:0x140,_0x27284d:0x165,_0x3809c3:0x159,_0x5701c2:0x145,_0x1af438:0x12d,_0x4c72ab:0x116,_0x50853e:0x114,_0x31aff3:0x139,_0x3ca3c4:0x173,_0x1b49a1:0x181},_0x4e2896={_0x309d5a:0x136,_0x5cd0ec:0x11e},_0x519f5f={_0x113c3e:0xb3},_0x5e2cef={_0x10da6f:0x55,_0x146d36:0x283,_0xff8be1:0x6a},_0x49cd7d={'rnKXG':function(_0x426f28,_0x7b7318){return _0x426f28===_0x7b7318;},'rljBV':_0x121dfc(0x11f,_0x567cab._0x125939,_0x567cab._0x1f4ad2,_0x567cab._0x3a2bb6),'xNDJq':_0x121dfc(0x102,_0x567cab._0x4f220a,0x12b,_0x567cab._0x20de10),'Tlkbx':function(_0xe27fc3,_0x1e2d07){return _0xe27fc3<=_0x1e2d07;},'QLtCi':function(_0x107fb9,_0x4125f4){return _0x107fb9!==_0x4125f4;},'VOpAe':_0x121dfc(0x13b,0x130,_0x567cab._0x171412,_0x567cab._0x155883),'VUxLN':function(_0x23c1fc,_0xff20bf){return _0x23c1fc>_0xff20bf;},'PlxrE':function(_0x254655,_0x295e97){return _0x254655*_0x295e97;},'KGzDf':function(_0x51ed09,_0x44f82d){return _0x51ed09-_0x44f82d;},'jDksZ':function(_0x3cae33,_0x27d446){return _0x3cae33(_0x27d446);}},_0x51bb76=await loadTokens(),_0x32541a=new Date();function _0x121dfc(_0x362bd8,_0x4d595c,_0x528469,_0x54ddaf){return _0x42587e(_0x362bd8-_0x5e2cef._0x10da6f,_0x54ddaf,_0x362bd8-_0x5e2cef._0x146d36,_0x54ddaf-_0x5e2cef._0xff8be1);}const _0x83eb8f=new Date(_0x32541a[_0x13f541(0x1e9,_0x567cab._0x12604e,_0x567cab._0x4ff808,0x1e4)]()-_0x49cd7d[_0x13f541(_0x567cab._0x11c6f8,_0x567cab._0x560230,_0x567cab._0x2e0580,_0x567cab._0x370a25)](_0x49cd7d['PlxrE'](_0x49cd7d[_0x13f541(0x1e6,_0x567cab._0xf30952,0x1ca,_0x567cab._0x45d826)](_0x49cd7d['PlxrE'](-0x53f+0x1b91+0x1c*-0xcb,-0x1ea7+0x1c13*-0x1+0x3ad2),0x877+0x1*0x23f1+-0x2c2c),-0x2088+0x211*-0x11+0x1*0x43e5),0x21d9+-0x114a*0x2+-0x1*-0x4a3)),_0x35e740=_0x51bb76[_0x13f541(_0x567cab._0x2de446,_0x567cab._0x248bf3,0x208,0x201)][_0x121dfc(_0x567cab._0x7a54c1,0x13d,_0x567cab._0x192d3e,0x139)];function _0x13f541(_0x147af4,_0x36984f,_0x569534,_0x2952d9){return _0x42587e(_0x147af4-_0x519f5f._0x113c3e,_0x2952d9,_0x569534-0x33a,_0x2952d9-0x133);}_0x51bb76[_0x121dfc(_0x567cab._0x3cbb59,_0x567cab._0x2f5b96,_0x567cab._0xc9bf6d,0x17c)]=_0x51bb76[_0x13f541(_0x567cab._0x6b15fc,_0x567cab._0x323e16,0x208,0x1e6)][_0x13f541(0x206,0x1f0,_0x567cab._0x573d57,0x1d5)](_0x9dc6ca=>{const _0x15540f={_0x35eba6:0x268};function _0x275981(_0x3c1ba,_0x483377,_0x28b39d,_0x2f25e4){return _0x121dfc(_0x28b39d- -_0x15540f._0x35eba6,_0x483377-0xe9,_0x28b39d-0x11f,_0x3c1ba);}function _0x341300(_0x3a0cbf,_0x543a8c,_0x442e86,_0x8c1621){return _0x13f541(_0x3a0cbf-0x87,_0x543a8c-_0x4e2896._0x309d5a,_0x3a0cbf- -_0x4e2896._0x5cd0ec,_0x8c1621);}if(_0x49cd7d[_0x275981(-_0x2c0a3b._0x38b58a,-_0x2c0a3b._0x2fc799,-0x13b,-0x162)](_0x49cd7d[_0x341300(0xa0,_0x2c0a3b._0x18f04f,_0x2c0a3b._0x835098,_0x2c0a3b._0x8916b8)],_0x49cd7d[_0x275981(-_0x2c0a3b._0x345d30,-0x14b,-_0x2c0a3b._0xe71ab4,-0x128)]))return null;else{const _0x31cb4d=new Date(_0x9dc6ca[_0x341300(0xb2,_0x2c0a3b._0x4d3cf1,_0x2c0a3b._0x28edb0,0xae)]),_0x4b5511=new Date(_0x9dc6ca[_0x275981(-_0x2c0a3b._0x59f0d1,-0x153,-_0x2c0a3b._0x2fc799,-_0x2c0a3b._0x39ba35)]);if(!_0x9dc6ca[_0x341300(0xdb,_0x2c0a3b._0x2496cc,0xbf,0xcf)]&&_0x49cd7d[_0x275981(-0x131,-_0x2c0a3b._0x59f0d1,-0x141,-_0x2c0a3b._0x121be0)](_0x32541a,_0x4b5511))return _0x49cd7d[_0x275981(-0x150,-_0x2c0a3b._0x42c54b,-_0x2c0a3b._0x27284d,-_0x2c0a3b._0x3809c3)](_0x275981(-0x112,-_0x2c0a3b._0x5701c2,-_0x2c0a3b._0x1af438,-_0x2c0a3b._0x4c72ab),_0x49cd7d[_0x275981(-_0x2c0a3b._0x50853e,-0x143,-0x127,-_0x2c0a3b._0x31aff3)])?!![]:!![];if(_0x49cd7d[_0x275981(-_0x2c0a3b._0x3ca3c4,-0x17d,-0x154,-_0x2c0a3b._0x1b49a1)](_0x31cb4d,_0x83eb8f))return!![];return![];}});const _0x199511=_0x49cd7d[_0x121dfc(0x10b,_0x567cab._0x362c88,_0x567cab._0x5c1a79,0x104)](_0x35e740,_0x51bb76[_0x13f541(0x226,_0x567cab._0x23424d,0x208,0x200)][_0x121dfc(_0x567cab._0x310260,0x14e,_0x567cab._0xe56b2f,_0x567cab._0xd13f53)]);return _0x49cd7d[_0x121dfc(0x114,_0x567cab._0x1e8383,_0x567cab._0x1d5d78,0x105)](_0x199511,-0x79b*0x3+-0x25*-0xa0+0x4f*-0x1)&&await _0x49cd7d['jDksZ'](saveTokens,_0x51bb76),_0x199511;}async function revokeTokensByUser(_0x28ac16){const _0x579178={_0xcdaada:0x3f3,_0x3a0341:0x3e0,_0x1aec2d:0xdc,_0x57e9c0:0x440,_0x47ac1d:0x404,_0x1ba7fb:0x401,_0x5e696e:0xce,_0x202540:0xbd,_0x34de2b:0xb6,_0x2d042d:0xa7,_0x3f8cb6:0xca,_0x1e01b1:0xc3,_0x2e2573:0x448,_0x4946f3:0xb7,_0x3a0a46:0xba,_0x5cf372:0xf3,_0x5cb37d:0xde,_0x62365b:0xd7,_0x5b0100:0x415,_0x56eef8:0x429},_0x8a2c98={_0x2ed78e:0x55e},_0x10f063={_0x2c882e:0x16e},_0x432483={'YsCtS':function(_0x1f62a9){return _0x1f62a9();},'LMDWj':function(_0x3c1550,_0x3a034a){return _0x3c1550-_0x3a034a;},'fCpoK':function(_0x4ce1c5,_0xd72f96){return _0x4ce1c5>_0xd72f96;},'vKHPP':function(_0x99f767,_0x6672cf){return _0x99f767===_0x6672cf;},'TKkYt':_0x4e357c(0x3f9,0x413,_0x579178._0xcdaada,_0x579178._0x3a0341),'jhpqD':_0x1fbdaf(-0x105,-0xd8,-_0x579178._0x1aec2d,-0xb1),'XAruQ':function(_0x225f64,_0x2644cf){return _0x225f64(_0x2644cf);}};function _0x1fbdaf(_0x63fdb3,_0x2c7edc,_0x419e5d,_0x2b7f31){return _0x42587e(_0x63fdb3-0x117,_0x419e5d,_0x2c7edc-0x7c,_0x2b7f31-_0x10f063._0x2c882e);}const _0xaaca30=await _0x432483[_0x4e357c(0x41c,_0x579178._0x57e9c0,0x425,0x3fc)](loadTokens),_0x2a2850=_0xaaca30[_0x4e357c(_0x579178._0x47ac1d,0x447,0x42c,_0x579178._0x1ba7fb)][_0x1fbdaf(-0xb5,-_0x579178._0x5e696e,-0xfb,-0xca)];_0xaaca30[_0x1fbdaf(-_0x579178._0x202540,-_0x579178._0x34de2b,-_0x579178._0x2d042d,-0xba)]=_0xaaca30['tokens']['filter'](_0x2cc56e=>_0x2cc56e[_0x1fbdaf(-0xcb,-0xba,-0x9a,-0xc1)]!==_0x28ac16);function _0x4e357c(_0x3a3267,_0x41baec,_0x3e8990,_0x1c0b4){return _0x42587e(_0x3a3267-0x1d1,_0x1c0b4,_0x3e8990-_0x8a2c98._0x2ed78e,_0x1c0b4-0xab);}const _0x4b9c93=_0x432483[_0x1fbdaf(-_0x579178._0x3f8cb6,-0xd3,-0xd9,-0xcd)](_0x2a2850,_0xaaca30['tokens'][_0x1fbdaf(-_0x579178._0x1e01b1,-0xce,-0xbf,-0xef)]);if(_0x432483['fCpoK'](_0x4b9c93,0x1e27+-0x1*-0x26c7+0x33*-0x15a)){if(_0x432483[_0x4e357c(_0x579178._0x2e2573,0x423,0x42a,0x43e)](_0x432483[_0x1fbdaf(-0xb9,-_0x579178._0x4946f3,-0xa8,-_0x579178._0x3a0a46)],_0x432483[_0x1fbdaf(-_0x579178._0x5cf372,-_0x579178._0x5cb37d,-_0x579178._0x34de2b,-_0x579178._0x62365b)]))return _0x3c7b63;else await _0x432483[_0x4e357c(0x42c,0x43c,_0x579178._0x5b0100,_0x579178._0x56eef8)](saveTokens,_0xaaca30);}return _0x4b9c93;}export{createPasswordToken,validateToken,markTokenAsUsed,getUserTokens,revokeToken,revokeTokensByUser,cleanupOldTokens};
@@ -1 +1 @@
1
- (function(_0x1558db,_0x49ad77){const _0x1f6d93={_0x514ec2:0x571,_0x35cff9:0x547,_0x203889:0x575,_0x27ac47:0x3cf,_0x81a88c:0x421,_0x31889f:0x398,_0x6f6c15:0x528,_0x19e9d9:0x54a,_0x2e7d5d:0x3cb,_0x32ccbf:0x3d6,_0x5d0033:0x3c5,_0x30c8e7:0x3a9,_0x36aab1:0x4f0,_0x1b77a6:0x4d6,_0x49c231:0x4bc,_0xea601f:0x3b5,_0x24366f:0x393,_0x5bcccc:0x3f8,_0x352faf:0x3eb,_0x2ab04f:0x42a,_0xb84d66:0x4ec},_0x2606b0=_0x1558db();function _0x20a2fd(_0x1411bb,_0x49ed51,_0x479d15,_0x342f2c){return _0x39fa(_0x1411bb-0x243,_0x342f2c);}function _0x18698a(_0x388bc3,_0x1de905,_0x2e5aad,_0x5280f6){return _0x39fa(_0x388bc3-0x37d,_0x1de905);}while(!![]){try{const _0x375337=-parseInt(_0x18698a(0x534,_0x1f6d93._0x514ec2,_0x1f6d93._0x35cff9,_0x1f6d93._0x203889))/(0x1*-0x229+0x26b7+0x3*-0xc2f)*(-parseInt(_0x20a2fd(0x3fe,_0x1f6d93._0x27ac47,0x3bd,_0x1f6d93._0x81a88c))/(0x268c*0x1+-0x11*-0x3f+-0x1*0x2ab9))+parseInt(_0x20a2fd(0x3c6,0x3a3,_0x1f6d93._0x31889f,0x3d8))/(-0x6d*0x28+-0x13d2+0x24dd)+-parseInt(_0x18698a(_0x1f6d93._0x6f6c15,0x524,_0x1f6d93._0x19e9d9,0x51c))/(-0x1e2b+0x2ca+0x1b65)*(parseInt(_0x20a2fd(_0x1f6d93._0x2e7d5d,_0x1f6d93._0x32ccbf,_0x1f6d93._0x5d0033,_0x1f6d93._0x30c8e7))/(-0x1*0x5e9+-0x984+0xf72))+-parseInt(_0x18698a(_0x1f6d93._0x36aab1,0x4f4,_0x1f6d93._0x1b77a6,_0x1f6d93._0x49c231))/(0x3fa+-0x1*-0xe0f+-0x1203)*(parseInt(_0x20a2fd(0x3a1,_0x1f6d93._0xea601f,_0x1f6d93._0x24366f,0x39c))/(-0x80f+0x1*0x1e27+-0x1611*0x1))+-parseInt(_0x20a2fd(0x3c1,0x3a5,_0x1f6d93._0x5bcccc,_0x1f6d93._0x352faf))/(0x1c0*0x4+-0xa39+0x341)+-parseInt(_0x20a2fd(0x3a4,0x3cd,0x3c8,0x3bb))/(0x1c1e+-0x54+-0x1bc1)*(-parseInt(_0x20a2fd(0x403,0x3fd,0x429,_0x1f6d93._0x2ab04f))/(0x91c+-0x69b+-0x277))+parseInt(_0x18698a(0x510,_0x1f6d93._0xb84d66,0x4d2,0x512))/(-0x5*0x2b3+-0x423*0x3+0x19f3);if(_0x375337===_0x49ad77)break;else _0x2606b0['push'](_0x2606b0['shift']());}catch(_0xd1afd){_0x2606b0['push'](_0x2606b0['shift']());}}}(_0x14ae,-0x3ab69+0x89b10+0x236f7));import{hasPermissionInSet,getPermissionScope}from'./roles.js';let deps=null;export function _setDeps(_0x20a0df){deps=_0x20a0df;}export function _getDeps(){return deps;}async function loadProductionDeps(){const _0x49d497={_0x26ddd0:0x1e9,_0x54961b:0x189,_0xbb3b67:0x1ef,_0x429c4c:0x1fa,_0x2a0fd0:0x206,_0xd8a01f:0x1b8,_0x3215d0:0x166,_0x18981c:0x1f3,_0x55264e:0x20e,_0x41a2a6:0x214,_0x1d6f7b:0x155,_0x7ec663:0x186,_0x116eff:0x1af,_0xd1e366:0x1f5,_0x35c275:0x196,_0x521438:0x28c,_0x3de94e:0x28f,_0x5838d4:0x13b,_0x180dd5:0x166,_0x341f86:0x268,_0x45eb28:0x223},_0x15d360={_0x40eae4:0x147,_0x1ee378:0x190,_0x1c3fe1:0x157,_0x52daa5:0x2c9,_0x1627ee:0x19f,_0x7c8cce:0x169,_0x582b32:0x2af,_0x2610c8:0x2d4,_0x4903f2:0xfd,_0x5e771d:0x13e,_0x911b91:0x2d6,_0x4e95a9:0x301},_0x3ca40c={_0x414492:0x15f,_0x239377:0x4fa},_0x113460={_0x1d2349:0x3b3},_0xe2505a={_0x454fdb:0x315},_0x519c9b={};_0x519c9b[_0x5cba82(-0x23b,-0x25a,-0x249,-0x288)]='PgvIn';function _0x4525c7(_0x1d6da4,_0x49f412,_0x44f87b,_0x402010){return _0x39fa(_0x402010- -_0xe2505a._0x454fdb,_0x1d6da4);}_0x519c9b[_0x4525c7(-_0x49d497._0x26ddd0,-_0x49d497._0x54961b,-_0x49d497._0xbb3b67,-0x1b2)]=_0x5cba82(-_0x49d497._0x429c4c,-0x22a,-0x1fa,-_0x49d497._0x2a0fd0)+'s',_0x519c9b['EfUsG']='./teams.js',_0x519c9b[_0x4525c7(-0x195,-0x1a9,-0x1a1,-0x186)]='./bindings'+_0x4525c7(-0x1a2,-_0x49d497._0xd8a01f,-_0x49d497._0x3215d0,-0x19d),_0x519c9b['IeAXe']=_0x5cba82(-0x249,-_0x49d497._0x18981c,-_0x49d497._0x55264e,-0x1f0)+_0x5cba82(-_0x49d497._0x41a2a6,-0x1f2,-0x1f7,-0x1e8)+'s';const _0x102b02=_0x519c9b;if(deps)return deps;const _0x33547f=await import(_0x102b02['EfUsG']),_0x305ca2=await import(_0x102b02[_0x4525c7(-_0x49d497._0x1d6f7b,-0x19b,-0x149,-_0x49d497._0x7ec663)]);function _0x5cba82(_0x1815d0,_0x451169,_0x5d1d66,_0x3575dd){return _0x39fa(_0x5d1d66- -_0x113460._0x1d2349,_0x3575dd);}const _0x2872f0=await import(_0x102b02[_0x4525c7(-0x178,-0x1cd,-0x19a,-_0x49d497._0x116eff)]);return deps={'getTeamsByUserId':_0x33547f[_0x5cba82(-0x1c2,-0x1f6,-_0x49d497._0xd1e366,-0x1b6)+_0x4525c7(-0x17d,-_0x49d497._0x35c275,-0x140,-0x16c)],'getBindingsByResource':_0x305ca2['getBinding'+_0x5cba82(-0x271,-_0x49d497._0x521438,-0x267,-0x272)+'e'],'getBindingsBySubject':_0x305ca2[_0x5cba82(-0x287,-_0x49d497._0x3de94e,-0x25b,-0x25e)+'sBySubject'],'getRoleById':_0x2872f0[_0x4525c7(-_0x49d497._0x5838d4,-0x169,-0x191,-_0x49d497._0x180dd5)+'d'],'getBindings':_0x305ca2[_0x5cba82(-_0x49d497._0x341f86,-_0x49d497._0x45eb28,-0x25b,-0x29d)+'s'],'getAllEnvironments':async()=>{function _0x1822e1(_0x273f9b,_0x1fad81,_0x4d4d04,_0x2e9e54){return _0x5cba82(_0x273f9b-0xce,_0x1fad81-0xc5,_0x2e9e54-0xe7,_0x273f9b);}function _0x590254(_0x289b5f,_0x4f37d1,_0x36fbeb,_0x494cf6){return _0x5cba82(_0x289b5f-0x1b2,_0x4f37d1-_0x3ca40c._0x414492,_0x4f37d1-_0x3ca40c._0x239377,_0x36fbeb);}if(_0x102b02[_0x1822e1(-_0x15d360._0x40eae4,-_0x15d360._0x1ee378,-_0x15d360._0x1c3fe1,-0x162)]===_0x590254(0x295,0x298,_0x15d360._0x52daa5,0x27e)){const {coderConfig:_0x1684ed}=await import(_0x102b02[_0x1822e1(-0x140,-_0x15d360._0x1627ee,-0x15c,-_0x15d360._0x7c8cce)]);if(_0x1684ed&&_0x1684ed[_0x590254(0x282,_0x15d360._0x582b32,0x2ee,0x2c0)+'ts'])return Object['keys'](_0x1684ed['environmen'+'ts']);const _0x2fbe78=await _0x305ca2[_0x590254(_0x15d360._0x2610c8,0x29f,0x2df,0x2bd)+'s']();return[...new Set(_0x2fbe78[_0x1822e1(-_0x15d360._0x4903f2,-_0x15d360._0x5e771d,-0x13d,-0x13e)](_0x38017a=>_0x38017a[_0x590254(0x2dc,0x314,0x2d6,0x320)+_0x590254(0x2da,0x2a7,0x269,0x2a4)]==='environmen'+'t'&&_0x38017a[_0x590254(0x25f,0x299,0x2bd,0x2ba)+'d']&&_0x38017a[_0x590254(0x27c,0x299,0x259,0x294)+'d']!=='*')[_0x590254(_0x15d360._0x911b91,0x2d0,0x2af,_0x15d360._0x4e95a9)](_0x338fb2=>_0x338fb2[_0x1822e1(-0x1b0,-0x183,-0x167,-0x17a)+'d']))];}else return!![];}},deps;}async function d(){const _0x51c799={_0x18ad21:0x145,_0x59bb8c:0x16d,_0x5a6c7f:0x177},_0x4159d9={'aoecY':function(_0x34aa4f){return _0x34aa4f();}};function _0x4e8fcf(_0x3eb78d,_0x5d3517,_0x2e3cc3,_0x55181b){return _0x39fa(_0x5d3517- -0x67,_0x3eb78d);}return deps||await _0x4159d9[_0x4e8fcf(0x167,_0x51c799._0x18ad21,_0x51c799._0x59bb8c,_0x51c799._0x5a6c7f)](loadProductionDeps);}async function collectBindingsForUser(_0x206d82,_0x1b2526,_0x1482d1){const _0xd85d91={_0x921422:0x3f8,_0x408ea8:0xb3,_0x3bd6b9:0x1a,_0x5e525f:0x6,_0x5e6d62:0x18,_0x166e5b:0x7d,_0x105cfd:0x4f,_0x3f917e:0x22,_0x6e2be0:0x3ec,_0xd7e437:0x3f7,_0x3820b0:0x8c,_0x3aab27:0x8b,_0x3141a3:0x57,_0x579386:0x3a,_0x1e75e1:0x3b7,_0x2a9e30:0x3c6,_0x58beb9:0x3d8},_0x43a207={_0x6a5482:0x258},_0x3863c0={_0x41007a:0x159},_0x353ad2={'ENSwo':function(_0x59ee2b){return _0x59ee2b();},'lQtaa':function(_0xd5e573,_0x105333){return _0xd5e573(_0x105333);},'vPqtT':function(_0x1bf502,_0x1bcd3f){return _0x1bf502===_0x1bcd3f;},'cgFVr':_0xd9ec26(0x410,_0xd85d91._0x921422,0x3c9,0x42e),'grvPt':function(_0x46e0b2,_0x901f32,_0x133154){return _0x46e0b2(_0x901f32,_0x133154);}},{getTeamsByUserId:_0xfa74df,getBindingsByResource:_0x3ebd4e}=await _0x353ad2[_0x26357e(0x53,_0xd85d91._0x408ea8,0x75,0x94)](d),_0x1df788=await _0x353ad2[_0x26357e(-0x15,-_0xd85d91._0x3bd6b9,_0xd85d91._0x5e525f,-_0xd85d91._0x5e6d62)](_0xfa74df,_0x206d82),_0x92ad2b=new Set(_0x1df788['map'](_0x2c0682=>_0x2c0682['id']));function _0x26357e(_0x39738a,_0x44b1c7,_0x497222,_0x537895){return _0x39fa(_0x497222- -_0x3863c0._0x41007a,_0x537895);}function _0xd9ec26(_0x1049d0,_0xbee91e,_0x256f8d,_0x284939){return _0x39fa(_0xbee91e-_0x43a207._0x6a5482,_0x256f8d);}let _0x56e27c=[];if(_0x353ad2[_0x26357e(_0xd85d91._0x166e5b,0x6a,_0xd85d91._0x105cfd,_0xd85d91._0x3f917e)](_0x1b2526,_0x353ad2[_0xd9ec26(0x3be,_0xd85d91._0x6e2be0,0x3c1,_0xd85d91._0xd7e437)]))_0x56e27c=await _0x3ebd4e(_0x353ad2['cgFVr']);else{_0x56e27c=await _0x353ad2[_0x26357e(_0xd85d91._0x3820b0,_0xd85d91._0x3aab27,_0xd85d91._0x3141a3,_0xd85d91._0x579386)](_0x3ebd4e,_0x1b2526,_0x1482d1);const _0x4ece39=await _0x353ad2[_0xd9ec26(0x3ac,_0xd85d91._0x1e75e1,_0xd85d91._0x2a9e30,0x3f6)](_0x3ebd4e,_0x353ad2[_0xd9ec26(0x404,0x3ec,0x3c6,_0xd85d91._0x58beb9)]);_0x56e27c=[..._0x56e27c,..._0x4ece39];}return _0x56e27c['filter'](_0x3c7e4c=>_0x3c7e4c['subject_ty'+'pe']===_0xd9ec26(0x3a4,0x3de,0x408,0x3e2)&&_0x3c7e4c[_0x26357e(0x2a,0x50,0x14,-0x14)]===_0x206d82||_0x3c7e4c[_0x26357e(0x81,0xa9,0x6d,0x8d)+'pe']===_0xd9ec26(0x43c,0x40a,0x3ce,0x42e)&&_0x92ad2b[_0x26357e(0x17,0x14,0x22,0x1f)](_0x3c7e4c[_0x26357e(0x17,0x3a,0x14,0x5)]));}export async function resolveUserPermissions(_0x505e68,_0x53471f){const _0x3c9128={_0x2910c6:0x123,_0x1b99ea:0xe9,_0x8697b9:0xcf,_0xa89169:0xfc,_0x135c5f:0x494,_0x7ebc37:0x463,_0x202ec9:0x48e,_0x2d14cc:0x43c,_0x3b8d88:0xbc,_0x3a927c:0x86,_0x3873ef:0xef,_0x26af0b:0xae,_0x1773ff:0xda,_0x19759f:0x44a,_0x2fd381:0xee,_0x24f222:0xd1,_0x7fe03:0xc5,_0x352c5f:0xb8,_0x569dc9:0x8e,_0x53355b:0x490,_0x4edf3a:0x493,_0x5e7009:0x490,_0x4a0a28:0x4aa,_0x22db85:0x483,_0x543349:0xef},_0x411977={'nvtzm':function(_0xf3c23b,_0x52b9e3,_0x53c5b2,_0x397681){return _0xf3c23b(_0x52b9e3,_0x53c5b2,_0x397681);},'VrxWa':function(_0x2a6de4,_0x31872b){return _0x2a6de4===_0x31872b;},'GZHsQ':'fdoNz','kYlec':_0x579322(-_0x3c9128._0x2910c6,-0xfa,-_0x3c9128._0x1b99ea,-0x152),'RNMZv':function(_0x202cf6,_0x46a4cb){return _0x202cf6(_0x46a4cb);},'BNDqo':_0x579322(-_0x3c9128._0x8697b9,-_0x3c9128._0xa89169,-0x109,-0xa3)},{getRoleById:_0x4627d7}=await d();function _0x579322(_0x401879,_0x2472cb,_0x2994db,_0x5e181e){return _0x39fa(_0x401879- -0x276,_0x5e181e);}const _0x4f54c9=await _0x411977[_0x467929(0x479,0x4c0,0x4cc,_0x3c9128._0x135c5f)](collectBindingsForUser,_0x505e68,_0x467929(0x47f,_0x3c9128._0x7ebc37,0x44a,0x45d)+'t',_0x53471f),_0x513206=new Set();function _0x467929(_0x5ae7f4,_0x53d783,_0x59d961,_0x1cf593){return _0x39fa(_0x1cf593-0x2f5,_0x59d961);}for(const _0x15ca65 of _0x4f54c9){if(_0x411977[_0x467929(_0x3c9128._0x202ec9,0x48a,_0x3c9128._0x2d14cc,0x45a)](_0x411977[_0x579322(-_0x3c9128._0x3b8d88,-0xe8,-_0x3c9128._0x3a927c,-_0x3c9128._0x3873ef)],_0x411977[_0x579322(-_0x3c9128._0x26af0b,-_0x3c9128._0x1773ff,-0xe1,-0x90)]))_0x434848=_0x2f8adf;else{const _0x41ebe5=await _0x411977[_0x467929(0x485,0x46e,0x47e,_0x3c9128._0x19759f)](_0x4627d7,_0x15ca65[_0x579322(-0x101,-0xda,-0x126,-0xe5)]);if(_0x41ebe5){if(_0x411977[_0x579322(-0x111,-_0x3c9128._0x2fd381,-_0x3c9128._0x24f222,-0x113)](_0x411977['BNDqo'],'DVeDH'))for(const _0x8d7c3e of _0x41ebe5[_0x579322(-_0x3c9128._0x7fe03,-0xcc,-_0x3c9128._0x352c5f,-_0x3c9128._0x569dc9)+'s']){_0x513206[_0x467929(0x46f,_0x3c9128._0x53355b,0x463,_0x3c9128._0x4edf3a)](_0x8d7c3e);}else _0x18bc3d=_0x4dc206[_0x467929(_0x3c9128._0x5e7009,0x471,_0x3c9128._0x4a0a28,_0x3c9128._0x22db85)](_0x403300=>_0x403300!==_0x45894f[_0x467929(0x489,0x467,0x482,0x45c)]);}}}if(_0x513206[_0x579322(-0xfb,-_0x3c9128._0x543349,-0xd7,-0xdc)]('*'))return['*'];return[..._0x513206];}export async function hasPermission(_0x46ed9d,_0x1ff021,_0x502baf){const _0x391f55={_0x427c51:0x27a,_0x423d89:0x2bf,_0x2ff012:0x26d,_0x843747:0x284,_0x4098bb:0x7c,_0x27fac5:0xc1,_0x40a621:0x95,_0x30e80a:0xff,_0x57fbee:0x55,_0x1f244a:0xbf,_0x44c3aa:0x73,_0x3c4152:0x278,_0x294c38:0x2a5,_0x4988c7:0xbb,_0x9c795d:0x303,_0xc8496e:0x2d4,_0x4bbd57:0x288,_0x20d393:0x98,_0x5b32b3:0x6f,_0x5db719:0xc7,_0x35ac58:0xda,_0x2e3f54:0x117,_0x5ddaad:0xd7,_0x4cd31e:0x2cd,_0x4b4386:0xcb,_0x5160e6:0x2ad,_0x42bc38:0x2b9,_0x3a3de8:0x2cf,_0x457127:0x29d,_0x4ac2bb:0x274,_0x444a2d:0x29f,_0x41b7d1:0x26f,_0x565e10:0x261,_0x213624:0xab,_0x44dddf:0xb2,_0x43bf91:0x2c1,_0x2c3901:0x2c0,_0x11f502:0xd8,_0x4b2d44:0x9a,_0x1b78db:0xd4,_0x1e3487:0x29a,_0x45a4e4:0x28e,_0x997b64:0x8a,_0x4d7e00:0xb2,_0x43eb30:0xa5,_0x4a6350:0x25c,_0x15df5a:0x29c,_0x13e88b:0x299,_0x354f54:0x71,_0x3fdd28:0xa5,_0x5cc372:0x8b,_0x4a0228:0x26a,_0x519143:0x290,_0x46d560:0x285,_0x4a3380:0x25e,_0x25b645:0x2b8,_0x1141da:0x104,_0x5b4dca:0xb7,_0x56ea81:0xcc,_0x4850fb:0x88},_0x4659a9={_0x370481:0xe5};function _0x43493f(_0xff5ab3,_0x2b7444,_0x30abce,_0x4dc4e6){return _0x39fa(_0x2b7444- -_0x4659a9._0x370481,_0xff5ab3);}function _0x30d9a6(_0x3f4992,_0x32c256,_0x3937f9,_0x3ae866){return _0x39fa(_0x32c256-0x11c,_0x3ae866);}const _0x14ba73={'fYOHM':function(_0xac2db3){return _0xac2db3();},'WYXVR':function(_0x5ef0a9,_0x421436){return _0x5ef0a9===_0x421436;},'VNVvt':_0x30d9a6(_0x391f55._0x427c51,0x2bc,0x27b,_0x391f55._0x423d89),'OsBIb':function(_0x22200b,_0x391bc8,_0x3bc2d9){return _0x22200b(_0x391bc8,_0x3bc2d9);},'QKCNl':function(_0x17b95e,_0xc6dddb){return _0x17b95e(_0xc6dddb);},'sgUhm':function(_0x517af5,_0x1d7bc0,_0x401eb1){return _0x517af5(_0x1d7bc0,_0x401eb1);},'AbuEu':_0x30d9a6(_0x391f55._0x2ff012,_0x391f55._0x843747,_0x391f55._0x843747,0x29f)+'t','RQszd':function(_0xcf49c4,_0x402645,_0x50228f,_0x347665){return _0xcf49c4(_0x402645,_0x50228f,_0x347665);},'XAVnO':function(_0x467caa,_0xbd2322){return _0x467caa(_0xbd2322);},'BEIGw':function(_0x6361d1,_0x392f20,_0x3d4207){return _0x6361d1(_0x392f20,_0x3d4207);},'HnAuW':function(_0x39447e,_0x54a7b0){return _0x39447e!==_0x54a7b0;},'vypJJ':_0x43493f(_0x391f55._0x4098bb,0x9a,0x8d,_0x391f55._0x27fac5),'ZOBzx':_0x43493f(0x105,0xcd,_0x391f55._0x40a621,_0x391f55._0x30e80a),'mjGUA':_0x43493f(_0x391f55._0x57fbee,0x8c,_0x391f55._0x1f244a,_0x391f55._0x44c3aa),'BHoKO':_0x30d9a6(0x2db,0x2a7,0x2b5,_0x391f55._0x3c4152),'qXuMV':function(_0x27d814,_0x30b101){return _0x27d814(_0x30b101);},'gECEn':function(_0x525390,_0x31a5e4,_0x296677){return _0x525390(_0x31a5e4,_0x296677);}},{getRoleById:_0x28154e}=await _0x14ba73['fYOHM'](d),_0x3b97ff=getPermissionScope(_0x1ff021);if(_0x14ba73[_0x30d9a6(0x2a0,0x28b,_0x391f55._0x294c38,0x293)](_0x3b97ff,_0x14ba73[_0x43493f(_0x391f55._0x4988c7,0xb7,0xbf,_0x391f55._0x1f244a)])){const _0x557b6b=await _0x14ba73[_0x30d9a6(0x29c,0x2d0,0x2ab,_0x391f55._0x9c795d)](collectBindingsForUser,_0x46ed9d,_0x14ba73[_0x30d9a6(0x27b,0x2b8,_0x391f55._0xc8496e,_0x391f55._0x4bbd57)]);for(const _0x8d1323 of _0x557b6b){const _0x29fb27=await _0x14ba73['QKCNl'](_0x28154e,_0x8d1323[_0x43493f(_0x391f55._0x20d393,0x90,_0x391f55._0x5b32b3,0xa9)]);if(_0x29fb27&&_0x14ba73[_0x43493f(_0x391f55._0x5db719,_0x391f55._0x35ac58,_0x391f55._0x2e3f54,_0x391f55._0x5ddaad)](hasPermissionInSet,_0x29fb27[_0x30d9a6(0x2e5,_0x391f55._0x4cd31e,0x2dc,0x2d0)+'s'],_0x1ff021))return!![];}return![];}if(_0x14ba73[_0x43493f(0x64,0x8a,0x97,_0x391f55._0x4b4386)](_0x3b97ff,_0x14ba73[_0x30d9a6(_0x391f55._0x5160e6,0x2b4,0x2a5,_0x391f55._0x42bc38)])){if(!_0x502baf)return![];const _0x162e97=await _0x14ba73[_0x30d9a6(0x2af,0x2e8,0x30c,_0x391f55._0x3a3de8)](collectBindingsForUser,_0x46ed9d,_0x14ba73['AbuEu'],_0x502baf);for(const _0x450544 of _0x162e97){const _0xe0a302=await _0x14ba73[_0x30d9a6(_0x391f55._0x457127,0x2b1,_0x391f55._0x4ac2bb,_0x391f55._0x444a2d)](_0x28154e,_0x450544[_0x30d9a6(_0x391f55._0x41b7d1,0x291,0x2a7,_0x391f55._0x565e10)]);if(_0xe0a302&&_0x14ba73[_0x43493f(_0x391f55._0x213624,0xd0,0xa3,_0x391f55._0x44dddf)](hasPermissionInSet,_0xe0a302[_0x30d9a6(0x304,0x2cd,_0x391f55._0x43bf91,_0x391f55._0x2c3901)+'s'],_0x1ff021)){if(_0x14ba73[_0x43493f(0xc8,0x87,0x4b,0x54)](_0x43493f(_0x391f55._0x11f502,_0x391f55._0x4b2d44,_0x391f55._0x1b78db,0xcd),_0x14ba73['vypJJ']))_0x339ca2[_0x30d9a6(0x295,0x2ba,_0x391f55._0x1e3487,_0x391f55._0x45a4e4)](_0x198c8e);else return!![];}}return![];}if(_0x14ba73[_0x43493f(0x9d,_0x391f55._0x997b64,0x4a,_0x391f55._0x4d7e00)](_0x3b97ff,_0x14ba73[_0x43493f(0x8d,_0x391f55._0x43eb30,0x75,0xb8)])){if(_0x14ba73[_0x30d9a6(_0x391f55._0x4a6350,_0x391f55._0x15df5a,_0x391f55._0x13e88b,0x2ba)]===_0x14ba73['BHoKO'])return _0x2baa8b;else{if(!_0x502baf)return![];const _0x2d356e=await collectBindingsForUser(_0x46ed9d,_0x14ba73[_0x43493f(_0x391f55._0x354f54,_0x391f55._0x3fdd28,_0x391f55._0x5cc372,0x76)],_0x502baf);for(const _0x197a60 of _0x2d356e){const _0x49c524=await _0x14ba73[_0x30d9a6(_0x391f55._0x4a0228,_0x391f55._0x519143,0x2a8,_0x391f55._0x46d560)](_0x28154e,_0x197a60['role_id']);if(_0x49c524&&_0x14ba73[_0x30d9a6(_0x391f55._0x4a3380,0x299,0x2d7,_0x391f55._0x25b645)](hasPermissionInSet,_0x49c524[_0x43493f(_0x391f55._0x1141da,0xcc,_0x391f55._0x5b4dca,_0x391f55._0x56ea81)+'s'],_0x1ff021))return!![];}return![];}}return await _0x14ba73[_0x43493f(0xd4,0xb0,_0x391f55._0x4850fb,0xa1)](hasAllPermissions,_0x46ed9d);}export async function hasAllPermissions(_0x2b1c19){const _0x507404={_0x5acf0f:0x20,_0x507e15:0x5b,_0x394faa:0x3,_0x7b717f:0x51,_0x37bcae:0x15,_0x409de4:0x59,_0x844166:0x4c8,_0x561680:0x4c1,_0x492d91:0x5d,_0x2c88b2:0x5c,_0x1328c7:0x4a7,_0x548e20:0x496,_0x3158dd:0x521,_0x31b4ab:0x4de,_0x224bfb:0x4fe,_0x489035:0x14,_0x471a31:0x4f,_0x15c67c:0x45,_0x35c88c:0x47e,_0x573046:0x47b,_0x54a97c:0x4a3,_0x54fecc:0xa,_0x2a00db:0x48,_0x1e1427:0xd,_0x366fd6:0x4a,_0x2ac692:0x9,_0x516e5:0xb,_0x544621:0x25,_0x412509:0x36,_0x5806a7:0x8,_0x27ac5a:0x4d,_0x54859e:0x90,_0x6bc910:0x31,_0x3639cf:0xb,_0x27669f:0x57},_0x226127={_0x16716d:0x1a6},_0x29c271={'RDunb':function(_0xd06c3c){return _0xd06c3c();},'liCZH':function(_0x1dadfa,_0x31a709,_0x581dd4){return _0x1dadfa(_0x31a709,_0x581dd4);},'VIHvY':_0xfb8588(-_0x507404._0x5acf0f,-_0x507404._0x507e15,_0x507404._0x394faa,-_0x507404._0x7b717f),'CzjRl':function(_0x53f4ca,_0x12b6de){return _0x53f4ca(_0x12b6de);},'oyWwg':function(_0x3d68af,_0x491dca){return _0x3d68af(_0x491dca);},'AaAcj':function(_0x453557,_0x590ec0){return _0x453557!==_0x590ec0;},'wVFxp':_0xfb8588(0xd,_0x507404._0x37bcae,0x7,-0x2a),'XvwVQ':_0xfb8588(-0x58,-_0x507404._0x409de4,-0x78,-0x92),'ZrUbH':function(_0x2af639,_0x3b1d7d,_0x2f3763){return _0x2af639(_0x3b1d7d,_0x2f3763);},'YJAtD':'team','xVLVG':function(_0x1dcf5f,_0x1a076a){return _0x1dcf5f(_0x1a076a);}},{getBindingsBySubject:_0x3cc219,getTeamsByUserId:_0x48f85e,getRoleById:_0x4abe22}=await _0x29c271['RDunb'](d);function _0xfb8588(_0x419ca3,_0x17419b,_0x22ace5,_0x1fdad2){return _0x39fa(_0x419ca3- -_0x226127._0x16716d,_0x17419b);}function _0xbc9176(_0x5c5aec,_0xc3398f,_0x4329b8,_0x29e3ab){return _0x39fa(_0xc3398f-0x332,_0x29e3ab);}const _0x1aaa19=await _0x29c271[_0xbc9176(0x4e1,_0x507404._0x844166,_0x507404._0x561680,0x4b1)](_0x3cc219,_0x29c271[_0xfb8588(-0x42,-_0x507404._0x492d91,-0x85,-_0x507404._0x2c88b2)],_0x2b1c19);for(const _0x43c78c of _0x1aaa19){const _0x1bc8c0=await _0x29c271['CzjRl'](_0x4abe22,_0x43c78c[_0xbc9176(0x49e,_0x507404._0x1328c7,0x475,_0x507404._0x548e20)]);if(_0x1bc8c0&&_0x1bc8c0[_0xbc9176(_0x507404._0x3158dd,0x4e3,_0x507404._0x31b4ab,_0x507404._0x224bfb)+'s'][_0xfb8588(0x4,-_0x507404._0x489035,-0x36,0x5)]('*'))return!![];}const _0x4eb7c3=await _0x29c271[_0xfb8588(-0xf,-0x2b,-_0x507404._0x471a31,-_0x507404._0x15c67c)](_0x48f85e,_0x2b1c19);for(const _0xa96e37 of _0x4eb7c3){if(_0x29c271[_0xbc9176(_0x507404._0x35c88c,_0x507404._0x573046,_0x507404._0x54a97c,0x4ab)](_0x29c271[_0xfb8588(-0xc,_0x507404._0x54fecc,-_0x507404._0x2a00db,-_0x507404._0x1e1427)],_0x29c271[_0xfb8588(-_0x507404._0x366fd6,-0x54,-0xf,-0x70)])){const _0x586b21=await _0x29c271[_0xfb8588(-_0x507404._0x2ac692,0x18,_0x507404._0x516e5,-0x6)](_0x3cc219,_0x29c271[_0xfb8588(_0x507404._0x544621,0x2a,_0x507404._0x412509,_0x507404._0x5806a7)],_0xa96e37['id']);for(const _0xa852c2 of _0x586b21){const _0xb2f251=await _0x29c271[_0xfb8588(-_0x507404._0x27ac5a,-0x11,-_0x507404._0x54859e,-0x62)](_0x4abe22,_0xa852c2[_0xfb8588(-_0x507404._0x6bc910,_0x507404._0x3639cf,-0x6f,-0x1f)]);if(_0xb2f251&&_0xb2f251['permission'+'s']['includes']('*'))return!![];}}else return _0x4a0657[_0xfb8588(-_0x507404._0x27669f,-0x1f,-0x8f,-0x15)](_0x545580[_0xfb8588(-0x3e,-0x1e,-0x1c,-0x6a)+'ts']);}return![];}export async function getVisibleEnvironments(_0x5ce74b){const _0x4cfdb7={_0xbd60d:0xeb,_0x558366:0xd4,_0x1f227c:0x104,_0xdd3b2:0x11a,_0x29d7a7:0xf0,_0x516f45:0x6d,_0x4c21be:0xab,_0x5d49e8:0x6c,_0x5c578d:0x9d,_0x3fcda6:0x121,_0x397af1:0x12a,_0xf99512:0xc2,_0x531bdc:0xe1,_0x1bdbb8:0xd3,_0x479390:0x154,_0x3f78a5:0x115,_0x479f5e:0x145,_0x5c24a1:0x155,_0x3a64e7:0x128,_0x29f37a:0x10b,_0x48291f:0x123,_0x4d8a23:0x15e,_0x98d06d:0x16e,_0xab0fb6:0x77,_0x4e9f64:0x6e,_0x535ab0:0x70,_0x5efdea:0x97,_0x1775a3:0xf9,_0x4fa347:0xca,_0x355697:0x3f,_0x196675:0x4a,_0x548013:0x6b,_0x9391bf:0xad,_0x1af8f5:0xd2,_0x33b85a:0x137,_0x56ca1d:0x163,_0x389acb:0x116,_0x5838a7:0x111,_0x2ec144:0x117,_0x228a90:0x11e,_0x31125b:0x140,_0x3439e8:0x7b,_0x265d50:0x39,_0x1e7741:0x47,_0x14d03f:0x183,_0xf858fb:0x16f,_0x4a2d8b:0xe7,_0x120bf0:0x7d,_0x2a4cbe:0x15f,_0x25ba5e:0x163,_0x2d3890:0x138},_0x2b0882={_0x5ab160:0x2b5},_0x299a99={'iIqQY':function(_0x37d892){return _0x37d892();},'BpUAw':function(_0x5bb545,_0x5efad5){return _0x5bb545(_0x5efad5);},'nlMaC':function(_0x2d3818){return _0x2d3818();},'YeveL':function(_0x2101e7,_0x3271fe,_0x181b26){return _0x2101e7(_0x3271fe,_0x181b26);},'UJyll':'user','TBMcy':function(_0x549abd,_0x2be5ed){return _0x549abd===_0x2be5ed;},'FaAxh':'environmen'+'t','ASulE':function(_0x4744c4,_0x539d0b){return _0x4744c4!==_0x539d0b;},'uUQFa':_0x397ae4(-0xb2,-_0x4cfdb7._0xbd60d,-_0x4cfdb7._0x558366,-_0x4cfdb7._0x1f227c),'IyMYe':_0x397ae4(-0x11d,-0x103,-0xc8,-0x117),'Hpbnr':'HNumT','eEpOS':_0x397ae4(-0x138,-_0x4cfdb7._0xdd3b2,-0x127,-_0x4cfdb7._0x29d7a7)},{getTeamsByUserId:_0x11cda9,getBindingsBySubject:_0x5e9aa5,getAllEnvironments:_0xe6fe5a}=await _0x299a99[_0x2614cf(_0x4cfdb7._0x516f45,_0x4cfdb7._0x4c21be,0x7b,0x76)](d),_0xbb0fd4=await _0x299a99[_0x2614cf(_0x4cfdb7._0x5d49e8,0x7b,0xbb,_0x4cfdb7._0x5c578d)](hasAllPermissions,_0x5ce74b);if(_0xbb0fd4)return await _0x299a99[_0x397ae4(-_0x4cfdb7._0x3fcda6,-0x153,-0x171,-_0x4cfdb7._0x397af1)](_0xe6fe5a);const _0x320325=new Set(),_0x4c4999=await _0x299a99[_0x2614cf(_0x4cfdb7._0xf99512,0xbb,0x90,0x92)](_0x5e9aa5,_0x299a99[_0x2614cf(_0x4cfdb7._0x531bdc,_0x4cfdb7._0x1bdbb8,0xad,0xe0)],_0x5ce74b);for(const _0x4e7cc3 of _0x4c4999){if(_0x299a99[_0x397ae4(-0xfd,-0x113,-_0x4cfdb7._0x479390,-0xe8)](_0x4e7cc3[_0x397ae4(-_0x4cfdb7._0x3f78a5,-0xe8,-0xd8,-0xda)+_0x397ae4(-_0x4cfdb7._0x479f5e,-_0x4cfdb7._0x5c24a1,-0x118,-0x196)],_0x299a99['FaAxh'])){if(_0x299a99[_0x397ae4(-0xd9,-0x108,-_0x4cfdb7._0x3a64e7,-_0x4cfdb7._0x29f37a)](_0x299a99[_0x397ae4(-_0x4cfdb7._0x48291f,-_0x4cfdb7._0x4d8a23,-0x14e,-_0x4cfdb7._0x98d06d)],_0x299a99[_0x2614cf(_0x4cfdb7._0xab0fb6,_0x4cfdb7._0x4e9f64,0xac,_0x4cfdb7._0x535ab0)]))for(const _0x3b11 of _0x2acd9f[_0x2614cf(_0x4cfdb7._0x5efdea,0xe9,_0x4cfdb7._0x1775a3,_0x4cfdb7._0x4fa347)+'s']){_0x37e96c['add'](_0x3b11);}else{if(_0x4e7cc3[_0x2614cf(_0x4cfdb7._0x355697,_0x4cfdb7._0x196675,0x3c,_0x4cfdb7._0x548013)+'d']==='*')return await _0x299a99['nlMaC'](_0xe6fe5a);_0x320325[_0x2614cf(0xc1,_0x4cfdb7._0x9391bf,_0x4cfdb7._0x1af8f5,0xb7)](_0x4e7cc3[_0x397ae4(-_0x4cfdb7._0x33b85a,-_0x4cfdb7._0x56ca1d,-0x179,-0x137)+'d']);}}}const _0x500054=await _0x11cda9(_0x5ce74b);function _0x397ae4(_0x58bfdc,_0x373f98,_0x4d743d,_0x36f553){return _0x39fa(_0x373f98- -_0x2b0882._0x5ab160,_0x58bfdc);}function _0x2614cf(_0x554317,_0x174317,_0x1d22bb,_0x16a7ef){return _0x39fa(_0x16a7ef- -0xe7,_0x1d22bb);}for(const _0x4c2687 of _0x500054){const _0x5f2e7a=await _0x5e9aa5(_0x299a99['IyMYe'],_0x4c2687['id']);for(const _0x4ceeca of _0x5f2e7a){if(_0x4ceeca[_0x2614cf(_0x4cfdb7._0x389acb,0xbc,_0x4cfdb7._0x5838a7,0xe6)+_0x397ae4(-_0x4cfdb7._0x2ec144,-_0x4cfdb7._0x5c24a1,-0x171,-_0x4cfdb7._0x228a90)]===_0x299a99[_0x397ae4(-0x132,-0x111,-0xdc,-0x10f)]){if(_0x299a99[_0x397ae4(-_0x4cfdb7._0x31125b,-0x113,-0x140,-0xf2)](_0x4ceeca[_0x2614cf(_0x4cfdb7._0x3439e8,_0x4cfdb7._0x265d50,_0x4cfdb7._0x1e7741,0x6b)+'d'],'*'))return _0x299a99['ASulE'](_0x299a99[_0x397ae4(-_0x4cfdb7._0x48291f,-0x14c,-_0x4cfdb7._0x14d03f,-_0x4cfdb7._0x5838a7)],_0x299a99[_0x397ae4(-_0x4cfdb7._0x14d03f,-0x15f,-0x141,-_0x4cfdb7._0xf858fb)])?await _0xe6fe5a():!![];_0x320325[_0x2614cf(_0x4cfdb7._0x4a2d8b,0x97,_0x4cfdb7._0x120bf0,0xb7)](_0x4ceeca[_0x397ae4(-_0x4cfdb7._0x2a4cbe,-_0x4cfdb7._0x25ba5e,-_0x4cfdb7._0x2d3890,-0x17e)+'d']);}}}return[..._0x320325];}export async function resolveUserPermissionsAllEnvironments(_0x11bb0c){const _0x3b6830={_0x36c7ef:0x41,_0x1f7638:0x68,_0x4f27a6:0x58,_0x28ee6c:0x91,_0x25b3b9:0x53,_0x379c00:0x69,_0x3e1205:0x52,_0x13588a:0x2d,_0x2ddb1f:0x1f,_0x186535:0x98,_0x10bee5:0x4c,_0x5b05eb:0x58},_0x2645ab={'QgWAk':function(_0x5ca59f,_0x77b76f){return _0x5ca59f(_0x77b76f);},'xjOHm':function(_0x41cbf0,_0x5371c7){return _0x41cbf0!==_0x5371c7;},'gtpTR':_0x13418b(_0x3b6830._0x36c7ef,0x49,_0x3b6830._0x1f7638,_0x3b6830._0x4f27a6),'cqZyg':function(_0x1ef496,_0x2b80ba,_0x596a33){return _0x1ef496(_0x2b80ba,_0x596a33);}},_0x3dd8ea=await _0x2645ab['QgWAk'](getVisibleEnvironments,_0x11bb0c),_0x3b7659={};for(const _0xdf5e9a of _0x3dd8ea){if(_0x2645ab[_0x13418b(0x5c,_0x3b6830._0x28ee6c,0x2e,0x5d)](_0x2645ab[_0x13418b(_0x3b6830._0x25b3b9,_0x3b6830._0x379c00,_0x3b6830._0x3e1205,_0x3b6830._0x13588a)],_0x13418b(_0x3b6830._0x2ddb1f,_0x3b6830._0x186535,_0x3b6830._0x10bee5,_0x3b6830._0x5b05eb))){if(_0x5531c6['some'](_0xf24936=>_0xf24936['id']===_0xdd516e[_0x13418b(-0x38,-0x22,-0x25,0x1)]))return!![];}else _0x3b7659[_0xdf5e9a]=await _0x2645ab['cqZyg'](resolveUserPermissions,_0x11bb0c,_0xdf5e9a);}function _0x27803a(_0x1932da,_0x4b361a,_0xb4fc3b,_0x52eb3b){return _0x39fa(_0x4b361a- -0xb,_0x52eb3b);}function _0x13418b(_0x225d04,_0x555ec4,_0x24b575,_0x2a5e01){return _0x39fa(_0x2a5e01- -0x16c,_0x225d04);}return _0x3b7659;}export async function hasPermissionOnAnyTeam(_0x20a467,_0x35445e){const _0x3612ef={_0x5eedd6:0x500,_0x34f6fa:0x502,_0x38150d:0x52d,_0x8b5a30:0x523,_0x1aaeea:0x511,_0x14eed7:0x53f,_0x463415:0x1d8,_0x2b77ab:0x1ec,_0x4d2d25:0x1b8,_0x328865:0x4b3,_0x400562:0x4db,_0x10775b:0x4df,_0x4d8b24:0x1a5,_0x14a077:0x1af,_0x5cd060:0x196,_0x3af5db:0x524,_0x17382a:0x4f6,_0x2a8a8f:0x507,_0x181a3e:0x51c,_0x33add8:0x543,_0x52ea7b:0x50d,_0x47c9f6:0x4fc,_0x5d5ff7:0x51d,_0x1fda8c:0x50c,_0x314bc8:0x204,_0x1aad5b:0x243,_0xf836ab:0x215,_0x293dba:0x544,_0x3a2e8b:0x580,_0x5deb84:0x54e,_0x5e2b38:0x503,_0xcf8310:0x4ff,_0x3123d4:0x54e,_0x301208:0x585,_0x270f7a:0x4e1,_0x5e5dc3:0x522,_0x39cec7:0x4a6,_0x3cb29e:0x1ad,_0x52dd32:0x1a3,_0x1c825e:0x4f6,_0x2ec3e1:0x528,_0x3632b4:0x1b5,_0x21defe:0x188},_0x2bcb1e={_0x474b5f:0x372},_0x310d32={'zqjUB':function(_0x4d9ab2,_0x1d4534){return _0x4d9ab2(_0x1d4534);},'WxYuI':function(_0x3402c0,_0x2a26e8,_0xfd940a){return _0x3402c0(_0x2a26e8,_0xfd940a);},'nJzSJ':function(_0x237ae8,_0x2278c5){return _0x237ae8===_0x2278c5;},'ydeIJ':_0x159dc0(0x533,_0x3612ef._0x5eedd6,0x55a,0x556),'ryVVP':_0x159dc0(_0x3612ef._0x34f6fa,0x51d,_0x3612ef._0x38150d,_0x3612ef._0x8b5a30),'QLihP':'dUleh','TqhIY':function(_0x18ea9f,_0x354589,_0x40f0c5){return _0x18ea9f(_0x354589,_0x40f0c5);},'yivOP':function(_0x4b1755,_0x517403){return _0x4b1755(_0x517403);},'HLFmG':_0x159dc0(0x4ce,0x4d6,0x4e4,0x499),'bDLEO':'bswnO','ycUYi':function(_0x40bcd8,_0xaa2ddd,_0x11bd95){return _0x40bcd8(_0xaa2ddd,_0x11bd95);},'bRUFq':function(_0x56ea36,_0x454d61){return _0x56ea36===_0x454d61;}},_0x72a0d6=await _0x310d32[_0x159dc0(0x527,0x548,0x501,0x52f)](hasAllPermissions,_0x20a467);if(_0x72a0d6)return!![];const {getTeamsByUserId:_0x35b823,getBindingsBySubject:_0x581aeb,getRoleById:_0x51032b,getBindings:_0x58d283}=await d();function _0x159dc0(_0x500475,_0xe0963,_0x857251,_0x35664b){return _0x39fa(_0x500475-0x381,_0xe0963);}const _0x10b9d7=await _0x310d32[_0x159dc0(_0x3612ef._0x1aaeea,0x544,0x529,_0x3612ef._0x14eed7)](_0x581aeb,_0x2b0f23(-_0x3612ef._0x463415,-_0x3612ef._0x2b77ab,-0x217,-_0x3612ef._0x4d2d25),_0x20a467);for(const _0xa574e4 of _0x10b9d7){if(_0x310d32['nJzSJ'](_0xa574e4['resource_t'+_0x159dc0(0x4e1,_0x3612ef._0x328865,_0x3612ef._0x400562,_0x3612ef._0x10775b)],_0x310d32['ydeIJ'])){if(_0x310d32[_0x2b0f23(-_0x3612ef._0x4d8b24,-0x1c4,-_0x3612ef._0x14a077,-_0x3612ef._0x5cd060)]===_0x310d32['QLihP'])_0x9d209e=_0x4f2445[_0x159dc0(0x542,_0x3612ef._0x3af5db,0x514,0x563)]||[];else{const _0x171a77=await _0x51032b(_0xa574e4[_0x159dc0(_0x3612ef._0x17382a,_0x3612ef._0x2a8a8f,0x4f3,_0x3612ef._0x181a3e)]);if(_0x171a77&&_0x310d32['TqhIY'](hasPermissionInSet,_0x171a77['permission'+'s'],_0x35445e))return!![];}}}const _0x402178=await _0x310d32[_0x159dc0(_0x3612ef._0x33add8,0x57d,0x554,0x50f)](_0x35b823,_0x20a467);function _0x2b0f23(_0x11bea2,_0x5192b8,_0x27c011,_0x55ebb7){return _0x39fa(_0x5192b8- -_0x2bcb1e._0x474b5f,_0x55ebb7);}for(const _0x255a0e of _0x402178){if(_0x310d32[_0x159dc0(_0x3612ef._0x52ea7b,_0x3612ef._0x47c9f6,_0x3612ef._0x5d5ff7,_0x3612ef._0x1fda8c)]!==_0x310d32[_0x2b0f23(-0x1c8,-_0x3612ef._0x314bc8,-_0x3612ef._0x1aad5b,-_0x3612ef._0xf836ab)]){const _0x3905a8=await _0x310d32[_0x159dc0(_0x3612ef._0x293dba,_0x3612ef._0x3a2e8b,0x53d,_0x3612ef._0x5deb84)](_0x581aeb,_0x310d32['ydeIJ'],_0x255a0e['id']);for(const _0x29e05a of _0x3905a8){if(_0x310d32[_0x159dc0(_0x3612ef._0x5e2b38,0x53d,_0x3612ef._0xcf8310,0x51c)](_0x29e05a[_0x159dc0(_0x3612ef._0x3123d4,0x51b,0x543,_0x3612ef._0x301208)+_0x159dc0(_0x3612ef._0x270f7a,_0x3612ef._0x5e5dc3,0x4b3,_0x3612ef._0x39cec7)],_0x310d32[_0x2b0f23(-0x1d9,-_0x3612ef._0x3cb29e,-_0x3612ef._0x52dd32,-0x1b5)])){const _0x1977db=await _0x51032b(_0x29e05a[_0x159dc0(_0x3612ef._0x1c825e,_0x3612ef._0x2ec3e1,0x4de,0x50c)]);if(_0x1977db&&_0x310d32[_0x2b0f23(-0x1a3,-_0x3612ef._0x3632b4,-_0x3612ef._0x21defe,-0x19c)](hasPermissionInSet,_0x1977db['permission'+'s'],_0x35445e))return!![];}}}else return['*'];}return![];}export async function hasPermissionOnAnyEnvironment(_0x172321,_0x5679c5){const _0x1bd843={_0x151aa5:0x239,_0x510f2f:0x229,_0x5449b2:0x256,_0x4b4ec3:0x264,_0xcc1af8:0x245,_0x23fae0:0x275},_0x982644={_0x5a47d8:0xdf};function _0x14d551(_0xd12f83,_0x5c1aba,_0x29b0a8,_0x1d0d62){return _0x39fa(_0x5c1aba-_0x982644._0x5a47d8,_0xd12f83);}const _0x51096f={'dTemL':function(_0x5f370d,_0x27420e){return _0x5f370d(_0x27420e);},'Pmsdl':function(_0x6e0af0,_0x1171cb,_0x1da95a){return _0x6e0af0(_0x1171cb,_0x1da95a);},'knOiJ':function(_0x5dc96e,_0x1b57b6,_0x56461d){return _0x5dc96e(_0x1b57b6,_0x56461d);}};function _0x33d2db(_0x5ab4f6,_0x3ca710,_0xed381f,_0x136969){return _0x39fa(_0x3ca710-0x317,_0x136969);}const _0x517c3e=await _0x51096f[_0x14d551(0x23d,_0x1bd843._0x151aa5,0x273,0x239)](hasAllPermissions,_0x172321);if(_0x517c3e)return!![];const _0x304281=await getVisibleEnvironments(_0x172321);for(const _0x2f26c6 of _0x304281){const _0x5e21ee=await _0x51096f[_0x14d551(_0x1bd843._0x510f2f,_0x1bd843._0x5449b2,0x26a,0x225)](resolveUserPermissions,_0x172321,_0x2f26c6);if(_0x51096f[_0x14d551(0x25a,_0x1bd843._0x4b4ec3,_0x1bd843._0xcc1af8,_0x1bd843._0x23fae0)](hasPermissionInSet,_0x5e21ee,_0x5679c5))return!![];}return![];}function _0x39fa(_0x41d33d,_0x152e34){_0x41d33d=_0x41d33d-(-0x24e6+0x1497*0x1+0x1198);const _0x5d7b3e=_0x14ae();let _0x32c355=_0x5d7b3e[_0x41d33d];if(_0x39fa['mDqFOt']===undefined){var _0x2eb09d=function(_0x4ba84f){const _0x4f8b1c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5c79d3='',_0x4d2ac7='';for(let _0x550f93=-0x1a0*0x2+0x6*0x2ad+-0x1*0xcce,_0x5d532a,_0x5cea59,_0x58fb9f=0x1daa+-0x34c+-0x1a5e;_0x5cea59=_0x4ba84f['charAt'](_0x58fb9f++);~_0x5cea59&&(_0x5d532a=_0x550f93%(0x2*0xf03+-0x1*-0x434+0x2*-0x111b)?_0x5d532a*(0x1*0x1414+-0x1896+0x2*0x261)+_0x5cea59:_0x5cea59,_0x550f93++%(0x1ebb+-0x1fea+0x133))?_0x5c79d3+=String['fromCharCode'](-0x1bb6+0x4b*-0x82+0x42cb*0x1&_0x5d532a>>(-(-0x215c+0x21b8*-0x1+0x4316)*_0x550f93&0x126e*0x1+0xb6*-0x25+0x7e6)):-0x75a+0x54*0x28+0x5c6*-0x1){_0x5cea59=_0x4f8b1c['indexOf'](_0x5cea59);}for(let _0x350e78=-0xa14+0x407*0x9+0x7*-0x3bd,_0x5779b9=_0x5c79d3['length'];_0x350e78<_0x5779b9;_0x350e78++){_0x4d2ac7+='%'+('00'+_0x5c79d3['charCodeAt'](_0x350e78)['toString'](0x1*0x20e7+-0x1fa5+-0x132))['slice'](-(0x221f+-0x51a+-0x1d03));}return decodeURIComponent(_0x4d2ac7);};_0x39fa['PtCKYJ']=_0x2eb09d,_0x39fa['UiANrM']={},_0x39fa['mDqFOt']=!![];}const _0x15fbcd=_0x5d7b3e[-0x9eb*-0x2+-0x4+0x76*-0x2b],_0x2546c3=_0x41d33d+_0x15fbcd,_0x2e8dc2=_0x39fa['UiANrM'][_0x2546c3];return!_0x2e8dc2?(_0x32c355=_0x39fa['PtCKYJ'](_0x32c355),_0x39fa['UiANrM'][_0x2546c3]=_0x32c355):_0x32c355=_0x2e8dc2,_0x32c355;}function _0x14ae(){const _0x492269=['uLLrvvK','BwPhvue','qNLrrha','yLjvrNe','oti1odi3CgjQEw9d','qNbvqxC','A25pAuO','DxnLCG','ChvZAa','mJv0AwTlAhe','BwfW','wK9cENG','BxfKvNq','seXgBuC','B1n3DeS','zMLSDgvY','uKPXrNK','v3HzDuK','AMvTuhO','DgvHBuLK','odm3mZuZreTlEfvb','y2DgvNi','wefwBK8','BgLdwKG','B3LxD2C','qwj1rxu','z3rWvfi','D1zgEha','q2TtqvO','vK5wDNq','wNjvyKG','ywrK','BNz0EM0','C2vYDMvY','lI90zwfTCY5QCW','vejny3K','vvz3y00','rMfbEgG','lI9YB2XLlwrLzG','ENfQvui','rfzLreG','DLbXDfq','vxnLCKLK','Aw5JBhvKzxm','nty2ndKYCuXuwhzh','yw9Ly1K','qvn1Beu','CNLwvLa','z2v0uM9Szuj5sq','z3j2uhq','CgvYBwLZC2LVBG','DgvHBq','tfLSD3u','t3ncswi','qKvjr3C','EKvdC1e','mKv4yKjMzq','A21squi','lI4VC3rHCNqUAG','r1PiC1e','nZG5mZe2ExnPs2TS','Aw5PDgLVBNmUAG','vhfOsvK','z2v0vgvHBxncEq','C2DvAg0','nZq1nZbMyKLJs1y','BwvTyMvYCW','EwL2t1a','EwnvwwK','C0PNEfO','EwrLsuO','C3vIAMvJDf90Eq','vuP5BgW','A1LSzwm','EgPpsg0','C2vhzxC','wuPbDeq','uLfZEMq','CMvZB3vYy2vFDa','ru5tD28','qwfby2O','EwPmugO','vuPTzhi','C0j5uMvZB3vYyW','thvPzha','uMfAq0q','A2v5CW','rMnjvM0','ugD2sw4','CMvZB3vYy2vFAq','rwHWrvi','lI9IAw5KAw5NCW','uK5nwNy','zuvWt1m','DvvrrMe','z2v0qMLUzgLUzW','EfzmvKC','zfrLBuW','rKDgtfO','whz3vLe','AuLXuvK','oty2AhjuANLf','Bff0ywe','ExbL','odCZyvz5Cfr4','BMXnyum','ANPrDMm','vKLiDLK','vNj4v2e','swvbwgu','DxnLCKLK','zw52AxjVBM1LBG','shbIBNi','vvD3ANC','BgvUz3rO','sg5bDvC','C3vIAMvJDf9Pza','yKrmru8','v1LyvLi','EuvusNm','vvnPCMy','u1HNu1y','mJK1ndryEhfcD0G','CvH1tvy','CM9Szv9Pza','AMjzz2q','ug1ZzgW','lMPZ','wwv2zuW','lI91C2vYCY5QCW','AgfZ','txjvt3u','z0vdrw4','mZi4odK2vezIt2Hd'];_0x14ae=function(){return _0x492269;};return _0x14ae();}export async function wouldRetainServerAdmin({excludeBindingId:_0xddab04,excludeTeamMember:_0x546e8a,excludeTeamId:_0x3c9e59,replaceTeamMembers:_0x597abc}={}){const _0x3f61b3={_0x3eac6e:0x151,_0x11de2d:0x153,_0x5b0596:0x147,_0x48750f:0x492,_0x1b3095:0x46e,_0x17d38c:0xfb,_0x18b756:0x497,_0x19d591:0x460,_0x104b16:0x44d,_0x4d7f60:0x464,_0x4a7af4:0x123,_0x3add68:0x128,_0x54c982:0x10d,_0x349e45:0x486,_0x109d42:0x46c,_0x583943:0x477,_0x21f15d:0x467,_0x2db8a3:0x457,_0x34c831:0x468,_0x1a1048:0x431,_0x16d586:0x44f,_0x2b2b31:0x16d,_0x2bc587:0x16b,_0x3f4e52:0x169,_0x2ee190:0x1b1,_0x363c78:0xe4,_0x487feb:0x126,_0x4f49c4:0x14c,_0x2d4aee:0x14d,_0x1958fb:0x125,_0x504e60:0x163,_0x460b48:0x493,_0x2b426e:0x4b2,_0x2236e8:0x13d,_0x2ec562:0x13f,_0x2f231a:0xfa,_0x4715d3:0xc6,_0x1cf1e0:0x4a1,_0x3ec751:0x4bb,_0x25c407:0x475,_0x1166a7:0x4eb,_0x464f26:0x4d2,_0x4eb390:0x505,_0x1f6427:0x4bb,_0x18e6dc:0x47e,_0x465e99:0x4a5,_0x449604:0x47c,_0x534b73:0x4c2,_0x4c7cfe:0x189,_0x31f77a:0x4cf,_0xcacba1:0x467,_0x263566:0x49e,_0x1395ae:0x11d,_0x50a9d8:0x151,_0x4804ab:0x121,_0x1d6806:0x100,_0xabdd78:0xd5,_0x9963b8:0x11b,_0x42c333:0x107,_0x236421:0x14b},_0x3d58a9={_0x159053:0x50},_0x26877d={'UVwcM':_0x208aa3(0x131,_0x3f61b3._0x3eac6e,_0x3f61b3._0x11de2d,_0x3f61b3._0x5b0596),'FGFLZ':function(_0x59f619){return _0x59f619();},'MrUOu':function(_0x2d7d7e,_0x191843){return _0x2d7d7e===_0x191843;},'oHYuN':function(_0x1758ce,_0x3d6714){return _0x1758ce!==_0x3d6714;},'jbYgd':function(_0x5bca8e,_0x51d4fa){return _0x5bca8e(_0x51d4fa);},'oSwtK':_0x5a3037(0x455,0x492,_0x3f61b3._0x48750f,_0x3f61b3._0x1b3095),'yjLPj':_0x208aa3(0xf1,_0x3f61b3._0x17d38c,0x138,0x10e),'jemPz':_0x5a3037(_0x3f61b3._0x18b756,0x4c4,0x49b,0x4b4),'SXgSV':'team','yETJs':function(_0xeb4ad3,_0x1825ef){return _0xeb4ad3===_0x1825ef;},'zECsQ':function(_0x260a88,_0x4ca772){return _0x260a88(_0x4ca772);},'FcIVm':function(_0x204155,_0x5e03f1){return _0x204155>_0x5e03f1;}},{getRoleById:_0x58b899}=await d(),{getBindings:_0x5e883f}=await import(_0x5a3037(0x471,_0x3f61b3._0x19d591,_0x3f61b3._0x104b16,_0x3f61b3._0x4d7f60)+_0x208aa3(_0x3f61b3._0x4a7af4,_0x3f61b3._0x3add68,_0x3f61b3._0x54c982,0xfb)),{getUsers:_0x393fce}=await import(_0x5a3037(0x4c1,_0x3f61b3._0x349e45,_0x3f61b3._0x109d42,0x489)),{getTeamById:_0x5c2d78}=await import(_0x26877d[_0x208aa3(0x176,0x153,0x128,0x130)]);function _0x5a3037(_0x48d76e,_0x557337,_0x7bf5b8,_0x5b2acb){return _0x39fa(_0x557337-0x30c,_0x5b2acb);}const _0x32360a=await _0x26877d[_0x5a3037(_0x3f61b3._0x583943,_0x3f61b3._0x21f15d,_0x3f61b3._0x2db8a3,_0x3f61b3._0x34c831)](_0x5e883f),_0x3ffa34=await _0x26877d[_0x5a3037(0x455,0x467,_0x3f61b3._0x1a1048,_0x3f61b3._0x16d586)](_0x393fce),_0x55711e=[];function _0x208aa3(_0x3a080f,_0x5de826,_0x442167,_0x19392b){return _0x39fa(_0x5de826- -_0x3d58a9._0x159053,_0x442167);}for(const _0x16ebae of _0x32360a){if(_0xddab04&&_0x26877d[_0x208aa3(0x111,0x12c,_0x3f61b3._0x2b2b31,_0x3f61b3._0x2bc587)](_0x16ebae['id'],_0xddab04))continue;if(_0x26877d['oHYuN'](_0x16ebae[_0x208aa3(_0x3f61b3._0x3f4e52,0x17d,0x190,_0x3f61b3._0x2ee190)+'ype'],'server'))continue;const _0x28c3af=await _0x26877d[_0x208aa3(_0x3f61b3._0x363c78,_0x3f61b3._0x487feb,_0x3f61b3._0x4f49c4,_0x3f61b3._0x2d4aee)](_0x58b899,_0x16ebae[_0x208aa3(0x128,_0x3f61b3._0x1958fb,_0x3f61b3._0x3eac6e,_0x3f61b3._0x504e60)]);if(!_0x28c3af||!_0x28c3af['permission'+'s']['includes']('*'))continue;_0x55711e[_0x5a3037(0x451,_0x3f61b3._0x460b48,0x4b0,_0x3f61b3._0x2b426e)](_0x16ebae);}for(const _0x29a3b6 of _0x55711e){if(_0x26877d['MrUOu'](_0x29a3b6['subject_ty'+'pe'],_0x26877d[_0x208aa3(0x160,_0x3f61b3._0x2236e8,_0x3f61b3._0x2ec562,0x12b)])){if(_0x26877d[_0x208aa3(0xe2,_0x3f61b3._0x2f231a,_0x3f61b3._0x4715d3,0xf9)]===_0x26877d[_0x5a3037(_0x3f61b3._0x1cf1e0,0x49d,_0x3f61b3._0x3ec751,_0x3f61b3._0x25c407)])return!![];else{if(_0x3ffa34['some'](_0x41a40b=>_0x41a40b['id']===_0x29a3b6['subject_id']))return!![];}}if(_0x26877d['MrUOu'](_0x29a3b6[_0x5a3037(_0x3f61b3._0x1166a7,_0x3f61b3._0x464f26,_0x3f61b3._0x4eb390,0x4ba)+'pe'],_0x26877d[_0x5a3037(_0x3f61b3._0x1f6427,_0x3f61b3._0x18e6dc,0x44f,0x491)])){if(_0x3c9e59&&_0x26877d[_0x5a3037(_0x3f61b3._0x465e99,_0x3f61b3._0x449604,0x45f,0x467)](_0x29a3b6['subject_id'],_0x3c9e59))continue;const _0x5c9b67=await _0x26877d[_0x5a3037(0x497,_0x3f61b3._0x534b73,0x4ce,0x4c0)](_0x5c2d78,_0x29a3b6['subject_id']);if(!_0x5c9b67)continue;let _0x23dbac=_0x5c9b67[_0x208aa3(0x13f,0x171,0x17a,_0x3f61b3._0x4c7cfe)]||[];_0x546e8a&&_0x26877d[_0x5a3037(0x4bd,_0x3f61b3._0x449604,_0x3f61b3._0x2b426e,0x48e)](_0x546e8a['teamId'],_0x29a3b6['subject_id'])&&(_0x23dbac=_0x23dbac[_0x5a3037(0x4b0,0x49a,0x486,_0x3f61b3._0x31f77a)](_0x4408ad=>_0x4408ad!==_0x546e8a[_0x208aa3(0x138,0x117,0x14e,0x147)]));_0x597abc&&_0x26877d[_0x208aa3(0x10b,0x120,0x156,0x136)](_0x597abc[_0x5a3037(_0x3f61b3._0xcacba1,_0x3f61b3._0x263566,0x47b,0x4a7)],_0x29a3b6[_0x208aa3(0xe4,_0x3f61b3._0x1395ae,0xe0,_0x3f61b3._0x50a9d8)])&&(_0x23dbac=_0x597abc[_0x208aa3(0x19a,0x171,0x16b,0x13a)]||[]);if(_0x26877d[_0x208aa3(_0x3f61b3._0x4804ab,_0x3f61b3._0x1d6806,0xe7,_0x3f61b3._0xabdd78)](_0x23dbac[_0x208aa3(0x120,_0x3f61b3._0x9963b8,_0x3f61b3._0x42c333,_0x3f61b3._0x236421)],0x2*0x61f+0x1cb3+-0x28f1*0x1))return!![];}}return![];}
1
+ (function(_0x5dd5bf,_0x5f1daf){const _0xe80ade={_0x329790:0xbd,_0x1e1cee:0x518,_0x3e2f75:0x54e,_0x16db91:0x51c,_0x2b8fa7:0x4d7,_0x51d060:0x118,_0x47badd:0xee,_0x35c639:0x10d,_0x365b54:0x135,_0x4ec679:0xbe,_0x54e0f9:0x102,_0x466692:0xf4,_0x167073:0xf5,_0x3d919e:0x146,_0x126091:0x148,_0x44b2ed:0x121},_0x30cfd7={_0x20f958:0x387};function _0x2adea1(_0x2046bb,_0x178e1a,_0x42c2db,_0x3447b8){return _0x54f7(_0x3447b8- -0x2a6,_0x178e1a);}const _0x2bcfd4=_0x5dd5bf();function _0x139d8f(_0x1188ae,_0x4f4c6a,_0x55340f,_0x341c63){return _0x54f7(_0x341c63-_0x30cfd7._0x20f958,_0x1188ae);}while(!![]){try{const _0x3063fe=parseInt(_0x2adea1(-0xe5,-0x8c,-0x91,-_0xe80ade._0x329790))/(0x11f+0x1e21+-0x1f3f)*(-parseInt(_0x139d8f(_0xe80ade._0x1e1cee,0x55f,_0xe80ade._0x3e2f75,0x552))/(-0x184b+-0x4*-0x6ea+-0x35b))+parseInt(_0x139d8f(0x544,_0xe80ade._0x1e1cee,_0xe80ade._0x16db91,0x546))/(-0x26d*0x10+0xf79*0x1+0x175a)*(-parseInt(_0x139d8f(_0xe80ade._0x2b8fa7,0x4eb,0x4ed,0x501))/(0x1*-0x1c81+0x1*0x541+0x1744))+-parseInt(_0x2adea1(-0xca,-_0xe80ade._0x51d060,-_0xe80ade._0x47badd,-0xfd))/(0x1f*-0x37+0xa1f*-0x2+0x1aec)+-parseInt(_0x2adea1(-0xba,-0x102,-0xb0,-0xd2))/(-0xbf1+0xe*0xfd+-0x1df*0x1)*(parseInt(_0x2adea1(-0xdb,-_0xe80ade._0x35c639,-_0xe80ade._0x365b54,-0x110))/(-0x1e9*-0x5+0x2710+-0x12*0x2b3))+parseInt(_0x2adea1(-_0xe80ade._0x4ec679,-_0xe80ade._0x54e0f9,-0xbf,-_0xe80ade._0x466692))/(-0x4f*0x4c+-0x3*-0x57a+0x15*0x56)+parseInt(_0x2adea1(-_0xe80ade._0x167073,-0x102,-0xd3,-0xf1))/(0x2056+-0x1*0xe29+-0x1224)+-parseInt(_0x2adea1(-0x133,-_0xe80ade._0x3d919e,-_0xe80ade._0x126091,-_0xe80ade._0x44b2ed))/(-0x12d7+-0xbd6+0x1eb7)*(-parseInt(_0x2adea1(-0xea,-0xc6,-0xe5,-0xd8))/(-0x1aca+0x67*-0x3a+0x322b));if(_0x3063fe===_0x5f1daf)break;else _0x2bcfd4['push'](_0x2bcfd4['shift']());}catch(_0x14f18f){_0x2bcfd4['push'](_0x2bcfd4['shift']());}}}(_0x229e,-0xb*0x19c5+-0xd186*-0x4+-0x3edb*-0x4));import{hasPermissionInSet,getPermissionScope}from'./roles.js';let deps=null;export function _setDeps(_0x577f7d){deps=_0x577f7d;}export function _getDeps(){return deps;}async function loadProductionDeps(){const _0x28ab8d={_0x21a700:0x246,_0x198e15:0x235,_0x3c19f2:0x26b,_0x5173b1:0x1f0,_0x243cef:0x1ea,_0x40f1ee:0x1c1,_0x1c2a58:0x225,_0xbebdb3:0x1a9,_0xe3b5e2:0x402,_0x2a12ae:0x413,_0xdbbb57:0x3f7,_0x2297ff:0x22e,_0x41c71b:0x1db,_0x24d4b4:0x45f,_0x3e289b:0x456,_0x2e9de9:0x434,_0x5833b9:0x417,_0x5734a7:0x249},_0x2e6d29={_0x4b2699:0x2,_0x5e01fc:0x59,_0x21464f:0x1f0,_0x375426:0x1ff,_0x2a8f20:0x1cc,_0x15733d:0x1d0,_0x48e1c0:0x205,_0x156f34:0x1a5,_0x59884d:0x202,_0x13b0d7:0x183,_0x2ee8d5:0x1ab,_0x400826:0x5,_0x4f4faf:0x2,_0xb183cd:0x1a2},_0x3d4c26={_0x460d9a:0x3ca,_0x53f5d0:0x1a4,_0x12d590:0x127},_0x12102b={};_0x12102b[_0x26d590(-_0x28ab8d._0x21a700,-0x21d,-_0x28ab8d._0x198e15,-_0x28ab8d._0x3c19f2)]=_0x26d590(-_0x28ab8d._0x5173b1,-_0x28ab8d._0x243cef,-_0x28ab8d._0x40f1ee,-_0x28ab8d._0x1c2a58)+'s',_0x12102b[_0x26d590(-0x1df,-0x1ed,-_0x28ab8d._0xbebdb3,-0x200)]=_0xd0ccdd(0x403,0x3de,_0x28ab8d._0xe3b5e2,0x43a)+_0xd0ccdd(_0x28ab8d._0x2a12ae,0x402,0x432,_0x28ab8d._0xdbbb57)+'s';function _0xd0ccdd(_0x2f2959,_0x2c5786,_0x23cbec,_0x32428b){return _0x54f7(_0x2f2959-0x27c,_0x32428b);}const _0x2e79cf=_0x12102b;if(deps)return deps;const _0x23ba80=await import(_0x26d590(-_0x28ab8d._0x1c2a58,-0x247,-0x206,-_0x28ab8d._0x2297ff)),_0x1a881b=await import(_0x26d590(-_0x28ab8d._0x41c71b,-0x20e,-0x1f7,-0x1ed)+'.js'),_0x32caea=await import(_0x2e79cf[_0xd0ccdd(_0x28ab8d._0x24d4b4,0x476,0x42e,_0x28ab8d._0x3e289b)]);deps={'getTeamsByUserId':_0x23ba80['getTeamsBy'+_0xd0ccdd(0x409,_0x28ab8d._0x2e9de9,0x3fc,0x43b)],'getBindingsByResource':_0x1a881b['getBinding'+_0xd0ccdd(_0x28ab8d._0x5833b9,0x41e,0x40c,0x426)+'e'],'getBindingsBySubject':_0x1a881b['getBinding'+_0x26d590(-0x213,-_0x28ab8d._0x5734a7,-0x20e,-0x22c)],'getRoleById':_0x32caea[_0xd0ccdd(0x404,0x41b,0x430,0x3ea)+'d'],'getBindings':_0x1a881b['getBinding'+'s'],'getAllEnvironments':async()=>{const _0x399828={_0x16f1b9:0x431,_0x58d1d2:0x2e,_0x4e0b8c:0x16},{coderConfig:_0x1d3513}=await import(_0x2e79cf[_0x304309(-_0x2e6d29._0x4b2699,-_0x2e6d29._0x5e01fc,-0x35,-0x39)]);function _0x5ef659(_0x2d04fa,_0x4d9743,_0x26d5fb,_0x1340fc){return _0x26d590(_0x2d04fa-_0x3d4c26._0x460d9a,_0x4d9743-_0x3d4c26._0x53f5d0,_0x26d5fb-_0x3d4c26._0x12d590,_0x26d5fb);}if(_0x1d3513&&_0x1d3513[_0x5ef659(0x1dd,_0x2e6d29._0x21464f,_0x2e6d29._0x375426,_0x2e6d29._0x2a8f20)+'ts'])return Object[_0x5ef659(_0x2e6d29._0x15733d,0x1fd,_0x2e6d29._0x48e1c0,_0x2e6d29._0x156f34)](_0x1d3513[_0x5ef659(0x1dd,0x1d4,_0x2e6d29._0x59884d,0x1b4)+'ts']);function _0x304309(_0x1b4842,_0x4a1289,_0x24a064,_0x29cd8c){return _0xd0ccdd(_0x29cd8c- -_0x399828._0x16f1b9,_0x4a1289-_0x399828._0x58d1d2,_0x24a064-_0x399828._0x4e0b8c,_0x24a064);}const _0x187a14=await _0x1a881b[_0x5ef659(_0x2e6d29._0x13b0d7,_0x2e6d29._0x2ee8d5,0x1b2,0x16a)+'s']();return[...new Set(_0x187a14[_0x304309(-_0x2e6d29._0x400826,0x0,0x3d,_0x2e6d29._0x4f4faf)](_0x5e454c=>_0x5e454c[_0x304309(-0x45,-0x47,-0x47,-0x35)+_0x5ef659(0x1e0,0x1cb,0x1d6,0x1dd)]===_0x5ef659(0x1dd,0x20f,0x1c9,0x1d8)+'t'&&_0x5e454c[_0x5ef659(0x1e6,0x1dc,0x1af,0x1eb)+'d']&&_0x5e454c[_0x5ef659(0x1e6,0x1ea,0x21d,0x217)+'d']!=='*')[_0x5ef659(_0x2e6d29._0xb183cd,0x17a,0x1c4,0x1b6)](_0x360701=>_0x360701[_0x304309(0x5e,0x24,0x32,0x29)+'d']))];}};function _0x26d590(_0x12fa87,_0x35b671,_0x1445d2,_0x2b300d){return _0x54f7(_0x12fa87- -0x3c2,_0x2b300d);}return deps;}async function d(){const _0x35da6e={'FSjIJ':function(_0x26ba19){return _0x26ba19();}};return deps||await _0x35da6e['FSjIJ'](loadProductionDeps);}async function collectBindingsForUser(_0x32ec46,_0x12338e,_0x48a8d9){const _0x59c023={_0x1109f5:0x4a8,_0x35b71a:0x578,_0x307796:0x591,_0x26243f:0x5a1,_0x4173c7:0x495,_0x485951:0x4ac,_0x20b887:0x46b,_0x256e45:0x4c2,_0x3ee879:0x4bb,_0x572ed1:0x490,_0x44f6bd:0x4e3,_0x4e75dd:0x4a7,_0x21df5e:0x4a0,_0x4bf059:0x4c9,_0x35d566:0x54b,_0x389bf9:0x521},_0x20217e={'OEIaS':function(_0x252f2a,_0x223a49){return _0x252f2a===_0x223a49;},'qUDxv':function(_0x253795,_0x28851c){return _0x253795(_0x28851c);},'wkYMz':_0x3e927f(0x495,0x4cf,_0x59c023._0x1109f5,0x4be),'Vramt':function(_0x4724e2,_0x5b1591,_0x5baa1d){return _0x4724e2(_0x5b1591,_0x5baa1d);}};function _0x3e927f(_0x502cf2,_0x18c919,_0x59073c,_0x497db4){return _0x54f7(_0x502cf2-0x31d,_0x59073c);}function _0x3afc73(_0x34e318,_0x3a656e,_0x3fc2a8,_0x83b588){return _0x54f7(_0x3fc2a8-0x3b2,_0x3a656e);}const {getTeamsByUserId:_0x57f15d,getBindingsByResource:_0x15e4d5}=await d(),_0x8c42ae=await _0x57f15d(_0x32ec46),_0x3f2822=new Set(_0x8c42ae[_0x3afc73(0x535,0x552,0x54c,0x560)](_0x39f1d9=>_0x39f1d9['id']));let _0x3db4c0=[];if(_0x20217e[_0x3afc73(_0x59c023._0x35b71a,0x5b5,_0x59c023._0x307796,_0x59c023._0x26243f)](_0x12338e,_0x3e927f(_0x59c023._0x4173c7,0x49a,_0x59c023._0x485951,_0x59c023._0x20b887)))_0x3db4c0=await _0x20217e['qUDxv'](_0x15e4d5,_0x20217e[_0x3e927f(_0x59c023._0x256e45,_0x59c023._0x3ee879,_0x59c023._0x572ed1,_0x59c023._0x44f6bd)]);else{_0x3db4c0=await _0x20217e[_0x3e927f(_0x59c023._0x4e75dd,_0x59c023._0x21df5e,_0x59c023._0x4bf059,0x4d0)](_0x15e4d5,_0x12338e,_0x48a8d9);const _0x1369ee=await _0x20217e['qUDxv'](_0x15e4d5,_0x20217e[_0x3afc73(0x559,_0x59c023._0x35d566,0x557,_0x59c023._0x389bf9)]);_0x3db4c0=[..._0x3db4c0,..._0x1369ee];}return _0x3db4c0['filter'](_0x4cf4fd=>_0x4cf4fd['subject_ty'+'pe']===_0x3e927f(0x4f9,0x4d0,0x4f5,0x507)&&_0x4cf4fd[_0x3afc73(0x5a0,0x54b,0x57f,0x5b9)]===_0x32ec46||_0x4cf4fd['subject_ty'+'pe']===_0x3afc73(0x553,0x54f,0x53b,0x550)&&_0x3f2822['has'](_0x4cf4fd[_0x3e927f(0x4ea,0x4c4,0x4ea,0x4e5)]));}export async function resolveUserPermissions(_0x3ab523,_0x130652){const _0x4dbe7b={_0x2dc606:0x19f,_0x28039e:0x185,_0x5013ea:0x19e,_0x4165a4:0x14f,_0x3a9ac4:0x177,_0x1ade90:0xc6,_0x11cbba:0x9f,_0x37bfbd:0x12f,_0x119ede:0x16c,_0x991f5f:0x163,_0x190e3b:0x19e,_0x16a9b2:0x17b,_0xddfc12:0x1b9,_0x1ffd6b:0x199,_0x220fc7:0xd0,_0x52f6cf:0xb7,_0x3fa6e4:0x15a,_0x1a74e3:0x84,_0x103039:0x92,_0x18fd9d:0x13f,_0x55a461:0x15b,_0x5dad79:0x189,_0x2a2b1f:0x1a9,_0x3901bf:0x1d4},_0x1ae13d={'sxzBj':function(_0xd6cd72){return _0xd6cd72();},'pAKQh':function(_0x466555,_0x27b650,_0x28530e,_0x52910e){return _0x466555(_0x27b650,_0x28530e,_0x52910e);},'vWTSw':_0x5f2f67(_0x4dbe7b._0x2dc606,0x161,_0x4dbe7b._0x28039e,0x198)+'t','LTgmJ':function(_0x2b2876,_0x454230){return _0x2b2876!==_0x454230;},'XaFDE':_0x5f2f67(0x194,0x16b,0x172,_0x4dbe7b._0x5013ea)};function _0x5f2f67(_0x1bad10,_0x5bdc2f,_0x1db44e,_0x4ad128){return _0x54f7(_0x4ad128- -0x3d,_0x1bad10);}function _0x39c843(_0x2254ee,_0x5066e9,_0x49a9c4,_0x2aaf6f){return _0x54f7(_0x5066e9- -0x255,_0x2aaf6f);}const {getRoleById:_0x1214b4}=await _0x1ae13d[_0x5f2f67(0x172,0x13e,_0x4dbe7b._0x4165a4,_0x4dbe7b._0x3a9ac4)](d),_0x2ff4ba=await _0x1ae13d['pAKQh'](collectBindingsForUser,_0x3ab523,_0x1ae13d[_0x39c843(-0x9e,-0xb1,-_0x4dbe7b._0x1ade90,-_0x4dbe7b._0x11cbba)],_0x130652),_0x390f26=new Set();for(const _0x5b8740 of _0x2ff4ba){const _0x244e29=await _0x1214b4(_0x5b8740[_0x5f2f67(_0x4dbe7b._0x37bfbd,_0x4dbe7b._0x119ede,0x179,_0x4dbe7b._0x991f5f)]);if(_0x244e29)for(const _0x5e970a of _0x244e29[_0x5f2f67(0x19d,_0x4dbe7b._0x190e3b,0x188,_0x4dbe7b._0x16a9b2)+'s']){_0x1ae13d[_0x5f2f67(_0x4dbe7b._0x5013ea,0x1b0,_0x4dbe7b._0xddfc12,_0x4dbe7b._0x1ffd6b)](_0x1ae13d[_0x39c843(-_0x4dbe7b._0x220fc7,-_0x4dbe7b._0x52f6cf,-0xd8,-0xf2)],_0x1ae13d[_0x5f2f67(_0x4dbe7b._0x3fa6e4,0x169,_0x4dbe7b._0x4165a4,0x161)])?_0x2111b6[_0x39c843(-_0x4dbe7b._0x1a74e3,-0xbd,-0xe0,-_0x4dbe7b._0x103039)](_0x1f8524):_0x390f26[_0x5f2f67(0x17f,_0x4dbe7b._0x18fd9d,0x17d,_0x4dbe7b._0x55a461)](_0x5e970a);}}if(_0x390f26[_0x5f2f67(_0x4dbe7b._0x5dad79,_0x4dbe7b._0x2a2b1f,_0x4dbe7b._0x3901bf,0x1ad)]('*'))return['*'];return[..._0x390f26];}export async function hasPermission(_0x42aaec,_0x2774ad,_0x527458){const _0x404c0f={_0x39b257:0x9e,_0x598d99:0xa2,_0x1a8d6b:0xeb,_0x7add1e:0xfb,_0x643af9:0x9b,_0x5b64a0:0xcb,_0x40478f:0x64,_0x42f5bd:0x80,_0x18b6bb:0x4a,_0x4d2a0c:0x74,_0x713853:0x17,_0x25750c:0x4a,_0x59b544:0x98,_0x4485b2:0x65,_0x31ceba:0xb4,_0x1cff00:0x6b,_0x1b462b:0xa5,_0x6ee327:0x78,_0x57748f:0x76,_0x230cb8:0xb0,_0xe04de8:0xcf,_0x488c61:0x84,_0x416ab6:0x86,_0x2857fa:0x7d,_0xa488c:0xd4,_0x38b482:0xc4,_0x1700f6:0x5d,_0x50b327:0xb7,_0x52504f:0x8a,_0x90ba54:0x83,_0x40952d:0xbd,_0x310f8d:0xc3,_0x2eb737:0xf6,_0x145589:0xd9,_0x2ed95c:0xb0,_0x424388:0xec,_0x181f56:0xf3,_0x5e57d1:0x7b,_0x16b2c6:0x59,_0x42e1d6:0x9d,_0x4e9260:0x62,_0x582afc:0x6c,_0x625c7c:0x72,_0x5cf096:0x51,_0x27b898:0xdf,_0x1efe36:0xb6,_0x11d979:0x27,_0x27af40:0x4d,_0x2fa162:0x62},_0x3ff39e={_0x5b5b88:0x10e},_0x2d4e48={'pclgV':function(_0xbbddf1){return _0xbbddf1();},'TPVNY':function(_0x21bc44,_0xa7ead8){return _0x21bc44(_0xa7ead8);},'GxCYB':function(_0x15b35d,_0x3b2c47){return _0x15b35d===_0x3b2c47;},'njyMN':_0x293538(0x6a,0x9f,_0x404c0f._0x39b257,0x59),'nqqYK':_0x3f7a5c(-0xb0,-0xaf,-_0x404c0f._0x598d99,-0x94),'OYdUN':'DtUTh','JFxEx':function(_0x4b4850,_0x34896f,_0x2136ce){return _0x4b4850(_0x34896f,_0x2136ce);},'JPLna':_0x293538(0xc7,0xe3,_0x404c0f._0x1a8d6b,_0x404c0f._0x7add1e)+'t','AKAWW':function(_0x11964e,_0x23cce8,_0x215236,_0x13a550){return _0x11964e(_0x23cce8,_0x215236,_0x13a550);},'RGWPo':function(_0x4362ed,_0x4d148b){return _0x4362ed(_0x4d148b);},'ZMiSR':function(_0x3b2ccd,_0x1989ad){return _0x3b2ccd===_0x1989ad;},'PJohw':_0x3f7a5c(-0xaf,-0x71,-_0x404c0f._0x643af9,-_0x404c0f._0x5b64a0),'WJEGv':function(_0x36e8a0,_0x335287,_0x1c4733,_0xb60d2a){return _0x36e8a0(_0x335287,_0x1c4733,_0xb60d2a);},'adrrA':function(_0x1a2973,_0x665a45){return _0x1a2973(_0x665a45);},'tzCYQ':function(_0x1acb9f,_0x40c7b1,_0x40d9bf){return _0x1acb9f(_0x40c7b1,_0x40d9bf);},'SYdcl':function(_0x25f7aa,_0x1dcfb3){return _0x25f7aa!==_0x1dcfb3;},'wQBCL':_0x3f7a5c(-_0x404c0f._0x40478f,-_0x404c0f._0x42f5bd,-_0x404c0f._0x18b6bb,-_0x404c0f._0x4d2a0c)};function _0x3f7a5c(_0x8e5fef,_0x21bfda,_0x22af5d,_0x36a644){return _0x54f7(_0x22af5d- -0x224,_0x36a644);}const {getRoleById:_0x5f1678}=await _0x2d4e48['pclgV'](d),_0x11be4f=_0x2d4e48[_0x3f7a5c(-_0x404c0f._0x713853,-0x22,-0x38,-_0x404c0f._0x25750c)](getPermissionScope,_0x2774ad);if(_0x2d4e48[_0x293538(_0x404c0f._0x59b544,_0x404c0f._0x4485b2,_0x404c0f._0x31ceba,0xa4)](_0x11be4f,_0x2d4e48[_0x3f7a5c(-0x68,-0x12,-0x4d,-0x30)])){if(_0x2d4e48[_0x293538(0x98,_0x404c0f._0x1cff00,0xa6,_0x404c0f._0x1b462b)](_0x2d4e48[_0x293538(_0x404c0f._0x6ee327,_0x404c0f._0x57748f,_0x404c0f._0x230cb8,0x52)],_0x2d4e48[_0x293538(0x99,_0x404c0f._0xe04de8,0xbe,0x9a)]))_0x51e4e8=_0x35b038['filter'](_0x131ef3=>_0x131ef3!==_0x2661c5['userId']);else{const _0x4cae8a=await _0x2d4e48[_0x293538(0xc3,0x9f,0xb3,0xef)](collectBindingsForUser,_0x42aaec,_0x2d4e48[_0x293538(0xc9,0xf9,0xa7,0xaa)]);for(const _0x48ce8e of _0x4cae8a){const _0x3ebc37=await _0x5f1678(_0x48ce8e[_0x3f7a5c(-0xb0,-0x9a,-_0x404c0f._0x488c61,-_0x404c0f._0x416ab6)]);if(_0x3ebc37&&hasPermissionInSet(_0x3ebc37[_0x293538(0xaa,_0x404c0f._0x2857fa,0xa2,0x9d)+'s'],_0x2774ad))return!![];}return![];}}if(_0x2d4e48['GxCYB'](_0x11be4f,_0x2d4e48[_0x293538(0xb7,_0x404c0f._0xa488c,0xc6,0xc4)])){if(!_0x527458)return![];const _0x500f31=await _0x2d4e48[_0x3f7a5c(-_0x404c0f._0x38b482,-0x6f,-0x8b,-_0x404c0f._0x1700f6)](collectBindingsForUser,_0x42aaec,_0x2d4e48[_0x293538(_0x404c0f._0x50b327,0x98,_0x404c0f._0x52504f,_0x404c0f._0x643af9)],_0x527458);for(const _0x2d26c8 of _0x500f31){const _0xb9f2a0=await _0x2d4e48['RGWPo'](_0x5f1678,_0x2d26c8[_0x293538(0x92,_0x404c0f._0x90ba54,_0x404c0f._0x40952d,0x7c)]);if(_0xb9f2a0&&_0x2d4e48[_0x293538(_0x404c0f._0x310f8d,0x9d,_0x404c0f._0x2eb737,_0x404c0f._0x145589)](hasPermissionInSet,_0xb9f2a0['permission'+'s'],_0x2774ad))return!![];}return![];}if(_0x2d4e48[_0x293538(0xb8,_0x404c0f._0x2ed95c,_0x404c0f._0x424388,_0x404c0f._0x181f56)](_0x11be4f,_0x2d4e48[_0x293538(0xb3,_0x404c0f._0x5e57d1,0xc9,0x89)])){if(!_0x527458)return![];const _0x4f891b=await _0x2d4e48[_0x3f7a5c(-0x84,-_0x404c0f._0x16b2c6,-_0x404c0f._0x57748f,-0xad)](collectBindingsForUser,_0x42aaec,_0x2d4e48[_0x293538(0xb3,0xd9,_0x404c0f._0x42e1d6,0xe8)],_0x527458);for(const _0x157d6e of _0x4f891b){const _0x2d93b6=await _0x2d4e48['adrrA'](_0x5f1678,_0x157d6e['role_id']);if(_0x2d93b6&&_0x2d4e48['tzCYQ'](hasPermissionInSet,_0x2d93b6[_0x3f7a5c(-_0x404c0f._0x4e9260,-0x78,-_0x404c0f._0x582afc,-0x91)+'s'],_0x2774ad))return _0x2d4e48[_0x3f7a5c(-0x67,-_0x404c0f._0x625c7c,-_0x404c0f._0x5cf096,-0x3d)](_0x2d4e48[_0x293538(0xb6,_0x404c0f._0x27b898,0xc1,_0x404c0f._0xe04de8)],_0x2d4e48[_0x293538(_0x404c0f._0x1efe36,_0x404c0f._0xe04de8,0xba,0xbf)])?_0x49d99e:!![];}return![];}function _0x293538(_0x9197c1,_0x306ca2,_0x4f0791,_0x2a659d){return _0x54f7(_0x9197c1- -_0x3ff39e._0x5b5b88,_0x4f0791);}return await _0x2d4e48[_0x3f7a5c(-_0x404c0f._0x11d979,-_0x404c0f._0x27af40,-_0x404c0f._0x2fa162,-0x84)](hasAllPermissions,_0x42aaec);}export async function hasAllPermissions(_0x138085){const _0x35bfca={_0xe7d028:0xd6,_0x2ff267:0xad,_0x3ec74d:0x56,_0x163727:0x8b,_0x23703e:0xb9,_0x1691fe:0x2e5,_0x193282:0x301,_0x52c2eb:0x61,_0x50dc63:0x68,_0x2c1e5b:0x2f,_0x259255:0x9a,_0x537fee:0xa3,_0x2a92a1:0x62,_0x44661f:0x79,_0x450442:0x5e,_0x2ff2fe:0x7e,_0x28f73e:0x85,_0x55f42a:0x3f,_0x182c2e:0x60,_0x571702:0x4b,_0x1ecfa6:0x2d7,_0x5b7cbb:0x2fe,_0x18fcbd:0x32e,_0x24e734:0xd7,_0x485375:0x47,_0x17243b:0x68,_0x3253b7:0x2da,_0x3625f6:0x2a3,_0xfc9b30:0x2b1,_0x1e681a:0x313,_0x10e6b5:0x357,_0x28cd97:0x308,_0x1716ba:0x87,_0x106aba:0xc8,_0x1d2f34:0x9d},_0x504fc8={'gLOkY':function(_0x59072c){return _0x59072c();},'mBxKE':function(_0x1f0e7b,_0x1ecc76,_0xb8ebf2){return _0x1f0e7b(_0x1ecc76,_0xb8ebf2);},'wkWOi':_0x1e4cbf(0xd7,_0x35bfca._0xe7d028,0xa4,_0x35bfca._0x2ff267),'NYXwj':function(_0x1d011b,_0x526bdc){return _0x1d011b(_0x526bdc);},'ciwsj':_0x1e4cbf(_0x35bfca._0x3ec74d,0x91,_0x35bfca._0x163727,_0x35bfca._0x23703e),'biDyY':function(_0x291730,_0x2e4de9,_0x2312b0){return _0x291730(_0x2e4de9,_0x2312b0);},'LDMQj':_0x411c14(0x31c,_0x35bfca._0x1691fe,0x2f2,0x2c6),'XLjKP':_0x411c14(0x2d1,0x2ee,_0x35bfca._0x193282,0x2ba)},{getBindingsBySubject:_0x4883ac,getTeamsByUserId:_0x754cac,getRoleById:_0x3b63ac}=await _0x504fc8['gLOkY'](d),_0x3d34ac=await _0x504fc8['mBxKE'](_0x4883ac,_0x504fc8['wkWOi'],_0x138085);function _0x411c14(_0x2a0c72,_0x870b0d,_0x4ff25e,_0x2d767c){return _0x54f7(_0x870b0d-0x15c,_0x2a0c72);}for(const _0x1e8480 of _0x3d34ac){const _0xe72919=await _0x3b63ac(_0x1e8480[_0x1e4cbf(_0x35bfca._0x52c2eb,0x39,_0x35bfca._0x50dc63,_0x35bfca._0x2c1e5b)]);if(_0xe72919&&_0xe72919[_0x1e4cbf(_0x35bfca._0x259255,_0x35bfca._0x537fee,0x80,_0x35bfca._0x2a92a1)+'s'][_0x1e4cbf(_0x35bfca._0x44661f,_0x35bfca._0x450442,0x46,0x49)]('*'))return!![];}const _0xd70f6d=await _0x504fc8[_0x1e4cbf(0xc0,0xa2,0xa1,_0x35bfca._0x2ff2fe)](_0x754cac,_0x138085);function _0x1e4cbf(_0x8615e1,_0x3995df,_0x17658e,_0x11522b){return _0x54f7(_0x17658e- -0x138,_0x11522b);}for(const _0x3933f2 of _0xd70f6d){if(_0x504fc8['ciwsj']!==_0x504fc8[_0x411c14(0x335,0x30d,0x2f3,0x346)])for(const _0x190fa6 of _0x998d['permission'+'s']){_0x22e94b[_0x1e4cbf(_0x35bfca._0x28f73e,_0x35bfca._0x55f42a,_0x35bfca._0x182c2e,0x94)](_0x190fa6);}else{const _0x280d62=await _0x504fc8[_0x1e4cbf(_0x35bfca._0x571702,0x6f,0x83,0x6e)](_0x4883ac,_0x504fc8['LDMQj'],_0x3933f2['id']);for(const _0x128f9f of _0x280d62){if(_0x504fc8['XLjKP']===_0x504fc8[_0x411c14(_0x35bfca._0x1ecfa6,_0x35bfca._0x5b7cbb,_0x35bfca._0x18fcbd,0x2ea)]){const _0x44b4f6=await _0x504fc8[_0x1e4cbf(_0x35bfca._0x24e734,0x89,0xa1,0x80)](_0x3b63ac,_0x128f9f[_0x1e4cbf(_0x35bfca._0x485375,0x4d,_0x35bfca._0x17243b,0x97)]);if(_0x44b4f6&&_0x44b4f6[_0x1e4cbf(0x4e,0x97,0x80,0x97)+'s'][_0x411c14(0x2c6,_0x35bfca._0x3253b7,_0x35bfca._0x3625f6,_0x35bfca._0xfc9b30)]('*'))return!![];}else return _0x364e65[_0x411c14(_0x35bfca._0x1e681a,0x324,_0x35bfca._0x10e6b5,_0x35bfca._0x28cd97)](_0x3e124e[_0x1e4cbf(_0x35bfca._0x1716ba,_0x35bfca._0x106aba,_0x35bfca._0x1d2f34,_0x35bfca._0x2a92a1)+'ts']);}}}return![];}function _0x54f7(_0x4a148a,_0x2e8fd3){_0x4a148a=_0x4a148a-(0x2141+0x1*-0xa2b+-0x159e);const _0x4def09=_0x229e();let _0x390e5c=_0x4def09[_0x4a148a];if(_0x54f7['NJCtAk']===undefined){var _0xad55d3=function(_0x5a9afe){const _0x4f0ed6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xa0de5d='',_0xa0a4b7='';for(let _0x381532=0x10ed+-0x11c9+0xdc,_0x4a052d,_0x17be06,_0x5dc5c2=-0x7aa*-0x3+-0x2*-0x5ea+-0x22d2;_0x17be06=_0x5a9afe['charAt'](_0x5dc5c2++);~_0x17be06&&(_0x4a052d=_0x381532%(0x4*0x15b+-0x1*-0xbc9+-0x1131)?_0x4a052d*(-0x3*-0x139+-0xa78+0x70d)+_0x17be06:_0x17be06,_0x381532++%(-0xd3f+-0x1fc*0x13+0x32f7))?_0xa0de5d+=String['fromCharCode'](0xd*-0x6e+0x2*0x1126+-0x1bb7&_0x4a052d>>(-(-0x3d0*0x2+0x721+0x81)*_0x381532&0xe5*-0x29+0x12b+0x2388)):0x239b+0xbff+-0x2f9a){_0x17be06=_0x4f0ed6['indexOf'](_0x17be06);}for(let _0x2370d1=-0x2226+-0x2f7*-0xb+-0x189*-0x1,_0x12ad81=_0xa0de5d['length'];_0x2370d1<_0x12ad81;_0x2370d1++){_0xa0a4b7+='%'+('00'+_0xa0de5d['charCodeAt'](_0x2370d1)['toString'](0x4*0x8ec+-0x2*-0x69a+-0x30d4))['slice'](-(0x1b40+0x501+-0xd*0x27b));}return decodeURIComponent(_0xa0a4b7);};_0x54f7['PhQxzG']=_0xad55d3,_0x54f7['NArXhg']={},_0x54f7['NJCtAk']=!![];}const _0x122b3d=_0x4def09[-0xa*0xfd+0x1db*0x11+-0x15a9],_0x59188d=_0x4a148a+_0x122b3d,_0x52c70e=_0x54f7['NArXhg'][_0x59188d];return!_0x52c70e?(_0x390e5c=_0x54f7['PhQxzG'](_0x390e5c),_0x54f7['NArXhg'][_0x59188d]=_0x390e5c):_0x390e5c=_0x52c70e,_0x390e5c;}export async function getVisibleEnvironments(_0x360539){const _0x38ca64={_0x3c4ec4:0x319,_0x4d53e7:0x323,_0x3b735e:0x3,_0x58027c:0x0,_0x183b08:0xd,_0x50531d:0x30,_0x24bdc2:0x25,_0x3465b4:0x16,_0x1a4b68:0x29,_0x37ba81:0x6c,_0x19a0c8:0x364,_0xdb76ce:0x348,_0x576cf4:0x2d,_0x14db54:0x2e7,_0x4f8e2f:0x32e,_0x5ffb94:0x5,_0x299a94:0x14,_0x5140af:0xf,_0x42db18:0x6d,_0x2d4540:0x60,_0x5d6883:0x21,_0x5ca806:0x3e,_0x49aa0c:0x67,_0x5409a0:0x4f,_0x13f51e:0x57,_0x37f43b:0x301,_0x293e8c:0x329,_0x309ce8:0x35,_0x44c8ed:0x302,_0x44f618:0x2fa,_0x40a63b:0x32e,_0x1dccab:0x23,_0x22c9e7:0x17,_0x3c1d7e:0x4b,_0x1c9e4c:0x4a,_0xcda2cf:0x58,_0x4d8511:0x6a,_0x2ba48f:0x3f,_0x5682c3:0x28,_0x337a0b:0x2c,_0xc2fc2f:0x27,_0x237a55:0x2b,_0x1ac3d5:0x2fe,_0x2468e1:0x32d,_0x99b954:0x300,_0x4dfa3e:0x30b,_0x542073:0x33b,_0x1c9886:0x35e,_0x3755bf:0x6,_0x59be60:0x369,_0x388e81:0x2c,_0xf2d7bc:0x359,_0xb6d9b3:0x363,_0x50764c:0x330,_0x19a57f:0x98,_0x53994c:0x5,_0xb268ee:0x28},_0x4db22d={_0x5e632d:0x181},_0x3b76e0={_0x306380:0x1e3},_0x4bc1ad={'KJPvu':function(_0x5c27c1){return _0x5c27c1();},'uvRkG':function(_0x226a79,_0x4c1f91){return _0x226a79(_0x4c1f91);},'mwREF':function(_0x414f64,_0x525c4b,_0x3e3844){return _0x414f64(_0x525c4b,_0x3e3844);},'kCFgI':'user','omBde':function(_0x382bc4,_0xb2872b){return _0x382bc4===_0xb2872b;},'zXoFC':_0x3df467(0x348,0x371,_0x38ca64._0x3c4ec4,_0x38ca64._0x4d53e7),'Fholt':_0x5e06e7(0x8,0x10,0x24,-_0x38ca64._0x3b735e),'SVlke':_0x5e06e7(-0xe,_0x38ca64._0x58027c,_0x38ca64._0x183b08,-_0x38ca64._0x50531d)+'t','oJtAF':function(_0x135656,_0x1f37fb){return _0x135656!==_0x1f37fb;},'jUqnL':'JzUll','RZDgn':function(_0x5e9c09,_0x57689c){return _0x5e9c09===_0x57689c;},'aWJMh':_0x5e06e7(0x1,-_0x38ca64._0x24bdc2,_0x38ca64._0x3465b4,-0x2e),'diwnM':function(_0x361116){return _0x361116();},'iOcTY':function(_0x3caaa6,_0x1acac7){return _0x3caaa6(_0x1acac7);},'Esqxk':_0x5e06e7(-0x5a,-_0x38ca64._0x1a4b68,-0x7f,-_0x38ca64._0x37ba81),'pKGag':function(_0x3b62d1,_0x308c1b){return _0x3b62d1!==_0x308c1b;}};function _0x5e06e7(_0x55387f,_0x5bee95,_0x5c2dd4,_0xbbab48){return _0x54f7(_0x55387f- -_0x3b76e0._0x306380,_0x5c2dd4);}const {getTeamsByUserId:_0x4472a0,getBindingsBySubject:_0x535851,getAllEnvironments:_0x5099d0}=await _0x4bc1ad[_0x3df467(0x32d,_0x38ca64._0x19a0c8,_0x38ca64._0x4d53e7,_0x38ca64._0xdb76ce)](d),_0x2ac37d=await _0x4bc1ad['uvRkG'](hasAllPermissions,_0x360539);if(_0x2ac37d)return await _0x4bc1ad[_0x5e06e7(-0x37,-_0x38ca64._0x576cf4,-0x52,-0x65)](_0x5099d0);const _0x24f113=new Set();function _0x3df467(_0x19df9c,_0xc41223,_0x23bf45,_0x27e68c){return _0x54f7(_0x19df9c-_0x4db22d._0x5e632d,_0x27e68c);}const _0x371646=await _0x4bc1ad['mwREF'](_0x535851,_0x4bc1ad['kCFgI'],_0x360539);for(const _0x2145a4 of _0x371646){if(_0x4bc1ad[_0x3df467(0x369,0x34a,0x375,0x33c)](_0x4bc1ad[_0x3df467(0x314,_0x38ca64._0x14db54,0x317,_0x38ca64._0x4f8e2f)],_0x4bc1ad['Fholt']))_0x3e1f89=_0x5a67ce;else{if(_0x4bc1ad[_0x5e06e7(_0x38ca64._0x5ffb94,_0x38ca64._0x299a94,-0x1f,_0x38ca64._0x5140af)](_0x2145a4[_0x5e06e7(-0x63,-0x50,-_0x38ca64._0x42db18,-_0x38ca64._0x2d4540)+_0x5e06e7(-0xb,-0x35,-_0x38ca64._0x5d6883,0x14)],_0x4bc1ad[_0x5e06e7(-0x53,-_0x38ca64._0x5ca806,-_0x38ca64._0x49aa0c,-0x7f)])){if(_0x4bc1ad[_0x5e06e7(-_0x38ca64._0x5409a0,-0x4d,-_0x38ca64._0x13f51e,-0x7d)]('JzUll',_0x4bc1ad[_0x3df467(0x33b,_0x38ca64._0x37f43b,_0x38ca64._0x293e8c,0x349)]))return!![];else{if(_0x4bc1ad[_0x5e06e7(0x5,-0x26,0x16,-_0x38ca64._0x309ce8)](_0x2145a4['resource_i'+'d'],'*')){if(_0x4bc1ad[_0x3df467(_0x38ca64._0x44c8ed,0x2eb,_0x38ca64._0x44f618,_0x38ca64._0x40a63b)](_0x5e06e7(0x1,_0x38ca64._0x1dccab,_0x38ca64._0x576cf4,-_0x38ca64._0x22c9e7),_0x4bc1ad[_0x5e06e7(-0x23,-0x53,-_0x38ca64._0x3c1d7e,-_0x38ca64._0x1c9e4c)]))return await _0x4bc1ad[_0x5e06e7(-_0x38ca64._0xcda2cf,-0x75,-_0x38ca64._0x4d8511,-_0x38ca64._0x2ba48f)](_0x5099d0);else{if(_0x400136[_0x5e06e7(-0x2a,-_0x38ca64._0x5682c3,-0x46,-_0x38ca64._0x337a0b)](_0x35c2e9=>_0x35c2e9['id']===_0x1da4e0[_0x5e06e7(-0x16,0x6,0x16,-0x2c)]))return!![];}}_0x24f113[_0x5e06e7(-0x4b,-0x74,-0x1c,-0x2f)](_0x2145a4[_0x5e06e7(-0x5,-0x2,_0x38ca64._0xc2fc2f,_0x38ca64._0x237a55)+'d']);}}}}const _0x2b50fe=await _0x4bc1ad[_0x3df467(_0x38ca64._0x1ac3d5,_0x38ca64._0x2468e1,_0x38ca64._0x4f8e2f,_0x38ca64._0x99b954)](_0x4472a0,_0x360539);for(const _0xb44aab of _0x2b50fe){const _0x22b17f=await _0x4bc1ad[_0x3df467(0x305,_0x38ca64._0x4dfa3e,_0x38ca64._0x542073,0x334)](_0x535851,_0x4bc1ad['Esqxk'],_0xb44aab['id']);for(const _0x3eb743 of _0x22b17f){if(_0x4bc1ad['pKGag'](_0x3df467(_0x38ca64._0x1c9886,0x376,0x33d,0x386),_0x5e06e7(-_0x38ca64._0x3755bf,0x22,-_0x38ca64._0x5ffb94,0x11)))return['*'];else{if(_0x4bc1ad[_0x3df467(_0x38ca64._0x59be60,0x350,0x399,0x367)](_0x3eb743[_0x5e06e7(-0x63,-0x49,-_0x38ca64._0x388e81,-0x72)+_0x3df467(_0x38ca64._0xf2d7bc,_0x38ca64._0xb6d9b3,_0x38ca64._0x50764c,0x353)],_0x4bc1ad['SVlke'])){if(_0x4bc1ad[_0x5e06e7(-0x62,-0x85,-_0x38ca64._0x19a57f,-_0x38ca64._0xcda2cf)](_0x3eb743['resource_i'+'d'],'*'))return await _0x5099d0();_0x24f113['add'](_0x3eb743[_0x5e06e7(-_0x38ca64._0x53994c,_0x38ca64._0x5682c3,-0x12,_0x38ca64._0xb268ee)+'d']);}}}}return[..._0x24f113];}export async function resolveUserPermissionsAllEnvironments(_0x44ac8c){const _0x45e530={_0x75f86a:0x34,_0x2a7c9d:0x44,_0x28b4fa:0x3f},_0x12d077={'FErdV':function(_0x904f8e,_0x4cc459){return _0x904f8e(_0x4cc459);}};function _0x448a97(_0xbb3417,_0x33f431,_0x3c969a,_0x45c4b3){return _0x54f7(_0x33f431- -0x21a,_0xbb3417);}const _0x5a13ea=await _0x12d077[_0x448a97(-0xd,-_0x45e530._0x75f86a,-_0x45e530._0x2a7c9d,-_0x45e530._0x28b4fa)](getVisibleEnvironments,_0x44ac8c),_0x2bbc45={};for(const _0x179d72 of _0x5a13ea){_0x2bbc45[_0x179d72]=await resolveUserPermissions(_0x44ac8c,_0x179d72);}return _0x2bbc45;}function _0x229e(){const _0x1881f1=['DgvHBuLK','y2L3C2O','mte0nZC0ne5nDxvcza','q21lEvO','C3H6qMO','mZy4ndyWowH3yLDICW','B2vjBKS','zMLSDgvY','CgvYBwLZC2LVBG','C29Tzq','ALvXBKW','yMLeEvK','z25lqvi','vKrorwO','ChvZAa','ndvsBhnZDLq','yvDktwG','uePVAhC','ywrYCKe','CuvUwgi','D1fcq0W','sLbmBMe','wK1Pu1i','rKLeDKe','A2v5CW','BwvTyMvYCW','yuL1z2G','nduYnMjZsLHgvG','qKLfzwS','C3vIAMvJDf9Pza','mJi3ntLJtMj4AMK','qK1vvNi','BgvUz3rO','sKz4rxG','lI4VC3rHCNqUAG','u1LKy2W','mJCXodboqML1wM0','zw52AxjVBM1LBG','tfrNBuO','BMP5tu4','ExbL','tLLyD2O','vfHszMy','EuHMrwe','DxnLCG','EvzjELe','CMvZB3vYy2vFAq','t0vjyvm','uvfvDwW','Au5kDvG','rwLYywC','rfDPvKG','zNnQuKS','C3vIAMvJDf90Eq','rKvYzfy','lI9IAw5KAw5NCW','B21czgu','otnbuxjpugm','AgfZ','yvjxqNu','vfbwtLK','C2vYDMvY','lI91C2vYCY5QCW','mty5ntz1vNbnrLe','z2v0qMLUzgLUzW','DNL0s28','Au9JvfK','Aw5JBhvKzxm','yKvSuw0','CMvZB3vYy2vFDa','uLPez24','zLrXDfu','rNrUAvK','BxDsruy','mty3mg9MuLfKyq','BNfXwuS','lI9YB2XLlwrLzG','z2v0uM9Szuj5sq','DgvHBq','vNjHBxq','zgL3BK0','vwzwC0O','vxnLCKLK','zeLxzhK','A0DutNG','u1zSA2u','u3z2q0K','tfP0A0e','ELHVrKm','B0P0quy','reTIC0S','ndi3BfvotLDm','Aw5PDgLVBNmUAG','ywrK','quTbv1C','BwfW','C0j5uMvZB3vYyW','r3DMufu','lI90zwfTCY5QCW','wgfgreu','uKvMAge','CM9Szv9Pza','yMr6t1m','weXQs1a','wLPNDxe','DLDuu3C','D2TztxO','r3Hdwui','t1LKvu4','z21Rug0','nZa4mZq1EgDwBMfz','ChHOqK0','sMLiEhe','s0PqDNu','uwX4ExO','v0Pfr3y','C0j5u3vIAMvJDa'];_0x229e=function(){return _0x1881f1;};return _0x229e();}export async function hasPermissionOnAnyTeam(_0x43a345,_0x58a702){const _0x5d1f96={_0x42c0b2:0x9c,_0x487aa2:0xe9,_0xa20915:0xc0,_0x16d359:0xd6,_0x5da6ae:0x144,_0x364ac0:0x10b,_0x1fcfdc:0xcc,_0x17cd4c:0xca,_0x123a0f:0xe0,_0x32886d:0xdd,_0x2e75c4:0x73,_0x2fce04:0x80,_0x44a2d0:0x12b,_0x2ed93c:0x11a,_0x18cede:0x6c,_0x22ed33:0xa8,_0x2f9a45:0xb7,_0x1600ec:0xdf,_0xcd4ba:0x9b,_0x2d4d6b:0x90,_0x57f816:0xb5,_0x421c18:0xa4,_0x3684bf:0x94,_0x1472f9:0x9f,_0x287240:0xe1,_0x526aeb:0x9a,_0x57c872:0xf4,_0x53b845:0xf1,_0x5afe98:0x125,_0x35666b:0x102,_0x4d9ba2:0xe0,_0x5b0b5f:0xb9,_0x29a4b3:0xf4,_0x58ff78:0x6d,_0x1ac928:0x7b,_0x4caacc:0xa7,_0x13746f:0x70,_0x281ddc:0x7b,_0x18f6ad:0x77,_0x12e8e1:0x54,_0xbb0403:0x8d,_0x207739:0x4c,_0x2e65fc:0x79,_0x468e1a:0x97,_0x4e227f:0xca},_0x173967={_0x49d00a:0x24f},_0x5535d5={_0x50bc02:0x2ac};function _0x3931cd(_0xb04725,_0x4cc6ad,_0x4a2383,_0x1c3abc){return _0x54f7(_0x4cc6ad- -_0x5535d5._0x50bc02,_0x4a2383);}const _0x1b8145={'bdzOS':function(_0x50770f,_0x253978){return _0x50770f(_0x253978);},'DKbsK':function(_0x24de0d){return _0x24de0d();},'Eirag':function(_0x559caa,_0x453ce2,_0x1496a6){return _0x559caa(_0x453ce2,_0x1496a6);},'gnKAR':'HEyUv','VDNEj':function(_0x109722,_0x41deff){return _0x109722===_0x41deff;},'SvvCI':function(_0x32dcc1,_0x3cebef){return _0x32dcc1!==_0x3cebef;},'JiHxq':_0x1d169c(-0x6f,-_0x5d1f96._0x42c0b2,-0x84,-0x42),'Qlxyz':function(_0x1f824d,_0x23730a,_0x36f9f0){return _0x1f824d(_0x23730a,_0x36f9f0);},'ZZguq':function(_0x296e9e,_0x2c71f0){return _0x296e9e(_0x2c71f0);},'pxhBM':function(_0x227771,_0x469c4d){return _0x227771!==_0x469c4d;},'jcegf':_0x3931cd(-_0x5d1f96._0x487aa2,-0xe0,-0xf6,-0xbd),'gmkPm':_0x1d169c(-0xc6,-_0x5d1f96._0xa20915,-0xfc,-_0x5d1f96._0x16d359)},_0x15f52a=await _0x1b8145[_0x3931cd(-_0x5d1f96._0x5da6ae,-_0x5d1f96._0x364ac0,-0xe0,-0xf3)](hasAllPermissions,_0x43a345);if(_0x15f52a)return!![];const {getTeamsByUserId:_0x1fc6db,getBindingsBySubject:_0x4e02b2,getRoleById:_0xdeff6b,getBindings:_0x10abf5}=await _0x1b8145[_0x1d169c(-0xba,-0xe6,-_0x5d1f96._0x1fcfdc,-0x8a)](d),_0x73121=await _0x1b8145[_0x3931cd(-0xb5,-_0x5d1f96._0x17cd4c,-_0x5d1f96._0x123a0f,-_0x5d1f96._0x32886d)](_0x4e02b2,_0x1d169c(-_0x5d1f96._0x2e75c4,-0x90,-0x5c,-_0x5d1f96._0x2fce04),_0x43a345);for(const _0xcb120a of _0x73121){if(_0x1b8145[_0x3931cd(-_0x5d1f96._0x44a2d0,-0xf0,-0xf1,-_0x5d1f96._0x2ed93c)]!==_0x1b8145[_0x1d169c(-0x93,-_0x5d1f96._0x18cede,-_0x5d1f96._0x22ed33,-_0x5d1f96._0x2f9a45)])_0x277448=_0xad5f59['members']||[];else{if(_0x1b8145[_0x3931cd(-_0x5d1f96._0x32886d,-0xef,-_0x5d1f96._0x1600ec,-0xc9)](_0xcb120a['resource_t'+_0x1d169c(-0x77,-_0x5d1f96._0xcd4ba,-_0x5d1f96._0x2d4d6b,-0x51)],'team')){if(_0x1b8145[_0x1d169c(-0xbe,-0xf7,-0x8b,-_0x5d1f96._0x57f816)]('QQUul',_0x1b8145[_0x1d169c(-_0x5d1f96._0x421c18,-0xda,-_0x5d1f96._0x3684bf,-_0x5d1f96._0x1472f9)]))return!![];else{const _0x1434af=await _0x1b8145[_0x3931cd(-0x10b,-0x10b,-0xe0,-0xf8)](_0xdeff6b,_0xcb120a[_0x3931cd(-0xda,-0x10c,-0x133,-_0x5d1f96._0x287240)]);if(_0x1434af&&_0x1b8145[_0x1d169c(-0xa2,-0xc4,-_0x5d1f96._0x526aeb,-0x97)](hasPermissionInSet,_0x1434af[_0x3931cd(-0xf1,-_0x5d1f96._0x57c872,-_0x5d1f96._0x53b845,-_0x5d1f96._0x57c872)+'s'],_0x58a702))return!![];}}}}function _0x1d169c(_0x519382,_0x206ceb,_0x2e5a9a,_0x8ca208){return _0x54f7(_0x519382- -_0x173967._0x49d00a,_0x8ca208);}const _0xb55513=await _0x1b8145[_0x3931cd(-0xe2,-0x109,-0xf5,-_0x5d1f96._0x5afe98)](_0x1fc6db,_0x43a345);for(const _0x2343c4 of _0xb55513){if(_0x1b8145[_0x3931cd(-0xff,-_0x5d1f96._0x35666b,-0x133,-0x128)](_0x1b8145['jcegf'],_0x3931cd(-0xc2,-_0x5d1f96._0x4d9ba2,-_0x5d1f96._0x5b0b5f,-_0x5d1f96._0x29a4b3)))return!![];else{const _0x5e854f=await _0x1b8145[_0x1d169c(-_0x5d1f96._0x58ff78,-0xa6,-_0x5d1f96._0x1ac928,-0x6c)](_0x4e02b2,_0x1b8145[_0x1d169c(-_0x5d1f96._0x4caacc,-_0x5d1f96._0x13746f,-0xdf,-_0x5d1f96._0x281ddc)],_0x2343c4['id']);for(const _0x7b2601 of _0x5e854f){if(_0x1b8145['VDNEj'](_0x7b2601['resource_t'+_0x1d169c(-_0x5d1f96._0x18f6ad,-0xab,-_0x5d1f96._0x4caacc,-_0x5d1f96._0x12e8e1)],_0x1d169c(-0xc6,-_0x5d1f96._0xbb0403,-0xba,-0xa9))){const _0x4dccc2=await _0xdeff6b(_0x7b2601['role_id']);if(_0x4dccc2&&_0x1b8145[_0x1d169c(-0x6d,-_0x5d1f96._0x207739,-0x72,-_0x5d1f96._0x2e65fc)](hasPermissionInSet,_0x4dccc2[_0x1d169c(-_0x5d1f96._0x468e1a,-_0x5d1f96._0x4e227f,-0x6d,-0xa8)+'s'],_0x58a702))return!![];}}}}return![];}export async function hasPermissionOnAnyEnvironment(_0xfd7404,_0x38e09b){const _0x3fbc36={_0x37d536:0x1ba,_0x2610df:0x1a8,_0x1642bf:0x1a9,_0x3c95af:0x15d,_0xc7a9b0:0x26d,_0x34785e:0x242,_0x14591c:0x263},_0x3a2d03={'oeInK':function(_0x4c1e9f,_0x193511){return _0x4c1e9f(_0x193511);},'FtniY':function(_0x5c845a,_0x473508,_0x5e238f){return _0x5c845a(_0x473508,_0x5e238f);}};function _0x464cca(_0xa7c48,_0x2409ce,_0xe92156,_0x2701a0){return _0x54f7(_0x2701a0-0xe0,_0xa7c48);}const _0x2c7bd6=await _0x3a2d03[_0x28eab5(0x1ca,_0x3fbc36._0x37d536,0x17c,_0x3fbc36._0x2610df)](hasAllPermissions,_0xfd7404);if(_0x2c7bd6)return!![];const _0x51fdbc=await getVisibleEnvironments(_0xfd7404);for(const _0x2f2819 of _0x51fdbc){const _0xdfab73=await _0x3a2d03[_0x28eab5(_0x3fbc36._0x1642bf,_0x3fbc36._0x3c95af,0x172,0x175)](resolveUserPermissions,_0xfd7404,_0x2f2819);if(_0x3a2d03[_0x464cca(_0x3fbc36._0xc7a9b0,0x24b,_0x3fbc36._0x34785e,_0x3fbc36._0x14591c)](hasPermissionInSet,_0xdfab73,_0x38e09b))return!![];}function _0x28eab5(_0x21d1fd,_0x49314c,_0x17a6a6,_0x1208c9){return _0x54f7(_0x1208c9- -0xe,_0x17a6a6);}return![];}export async function wouldRetainServerAdmin({excludeBindingId:_0x2e6bfc,excludeTeamMember:_0xb002d9,excludeTeamId:_0x2971aa,replaceTeamMembers:_0xbe4353}={}){const _0x30c201={_0x21c0df:0x34f,_0x3ca969:0x397,_0x2a5dab:0x37e,_0x471893:0x36d,_0x43b335:0x332,_0x2ff9e4:0x36a,_0x4692f5:0x336,_0xf0360:0x388,_0x3af75c:0x369,_0x343ea9:0x32b,_0x5a401b:0x388,_0x29a130:0x37a,_0x48d015:0x2ef,_0xb78e4b:0x32e,_0x383ae3:0x317,_0x1c91c8:0x380,_0x12a2f9:0x362,_0x363a65:0x36c,_0x91cfb7:0x3a6,_0x527922:0x379,_0x105417:0x360,_0x314b28:0x3a8,_0xa9754d:0x3e3,_0x16d316:0x3ac,_0xe78ba0:0x35a,_0x5719a9:0x34b,_0x747daf:0x303,_0x482aed:0x30e,_0x1d6a14:0x37c,_0x26c2d0:0x3af,_0x307f72:0x363,_0x33f1b7:0x3b9,_0x127ef9:0x3ca,_0x52d89f:0x3bc,_0x56c37f:0x3d6,_0x45a867:0x374,_0x1f9ce6:0x393,_0xd91c9c:0x3a5,_0x564eca:0x3aa,_0x4a0a85:0x381,_0x578bb8:0x3ca,_0x984369:0x38c,_0x59f77e:0x390,_0x474682:0x3d2,_0x40b9bb:0x3b2,_0x26ac6a:0x3ba,_0x4e0de8:0x3ce,_0x5900f8:0x3ef,_0xe4c51c:0x39e,_0x1bc949:0x3d1,_0x2ad97f:0x3be,_0x124e72:0x33c,_0x12a3b1:0x321,_0x44b3ec:0x32a,_0xf6556d:0x384,_0x138fa2:0x3c6,_0x197511:0x3e6,_0x18a751:0x3b2,_0x1ae711:0x3c1},_0x519c84={'dIWdy':function(_0x534cf5){return _0x534cf5();},'BMUVr':_0x56ff3e(0x36c,0x338,_0x30c201._0x21c0df,_0x30c201._0x3ca969)+'.js','tRErD':_0x2b1ec7(_0x30c201._0x2a5dab,_0x30c201._0x471893,_0x30c201._0x43b335,_0x30c201._0x2ff9e4),'kGTNx':'./teams.js','GwfPU':function(_0x49e892){return _0x49e892();},'ywOXd':function(_0x25bce7,_0x135180){return _0x25bce7!==_0x135180;},'aIugh':_0x2b1ec7(_0x30c201._0x4692f5,_0x30c201._0xf0360,0x351,_0x30c201._0x3af75c),'UfVsJ':function(_0x3a6b95,_0x1ebddf){return _0x3a6b95===_0x1ebddf;},'bElQm':_0x56ff3e(0x361,0x331,_0x30c201._0x343ea9,_0x30c201._0x5a401b),'CmKyZ':_0x2b1ec7(0x34c,0x373,0x367,_0x30c201._0x29a130),'REfha':function(_0x158946,_0x553737){return _0x158946===_0x553737;},'iNJuX':function(_0x1fe24d,_0x747abc){return _0x1fe24d(_0x747abc);},'HrZKO':function(_0x3f6ebe,_0x22af2a){return _0x3f6ebe>_0x22af2a;}},{getRoleById:_0x47da3e}=await _0x519c84[_0x56ff3e(0x313,_0x30c201._0x48d015,_0x30c201._0xb78e4b,_0x30c201._0x383ae3)](d),{getBindings:_0x17f374}=await import(_0x519c84[_0x56ff3e(0x354,_0x30c201._0x1c91c8,_0x30c201._0x12a2f9,_0x30c201._0x363a65)]),{getUsers:_0x1953a9}=await import(_0x519c84['tRErD']),{getTeamById:_0x3c852b}=await import(_0x519c84[_0x2b1ec7(0x38b,_0x30c201._0x91cfb7,_0x30c201._0x527922,0x380)]);function _0x2b1ec7(_0x18f45b,_0x490a92,_0x3b786d,_0x7a3751){return _0x54f7(_0x7a3751-0x1f1,_0x18f45b);}const _0x44c890=await _0x17f374(),_0x15a424=await _0x519c84[_0x56ff3e(0x321,0x2e6,0x307,0x2fb)](_0x1953a9),_0x4ac167=[];for(const _0x474e0e of _0x44c890){if(_0x2e6bfc&&_0x474e0e['id']===_0x2e6bfc)continue;if(_0x519c84['ywOXd'](_0x474e0e[_0x2b1ec7(0x367,_0x30c201._0x105417,_0x30c201._0x314b28,0x371)+_0x2b1ec7(_0x30c201._0xa9754d,_0x30c201._0x16d316,0x3aa,0x3c9)],_0x519c84[_0x2b1ec7(0x392,0x3ba,0x3ce,0x3bb)]))continue;const _0x103b4b=await _0x47da3e(_0x474e0e[_0x56ff3e(0x325,0x306,0x2f0,_0x30c201._0xe78ba0)]);if(!_0x103b4b||!_0x103b4b[_0x56ff3e(0x33d,0x362,0x311,_0x30c201._0x5719a9)+'s'][_0x56ff3e(_0x30c201._0x747daf,_0x30c201._0x482aed,0x32a,_0x30c201._0x4692f5)]('*'))continue;_0x4ac167[_0x2b1ec7(_0x30c201._0x1d6a14,0x3a5,0x39f,_0x30c201._0x26c2d0)](_0x474e0e);}for(const _0x1d25c8 of _0x4ac167){if(_0x519c84[_0x2b1ec7(0x3b4,0x367,_0x30c201._0x307f72,0x37d)](_0x1d25c8[_0x2b1ec7(_0x30c201._0x33f1b7,_0x30c201._0x127ef9,_0x30c201._0x52d89f,_0x30c201._0x56c37f)+'pe'],_0x519c84[_0x2b1ec7(0x35f,_0x30c201._0x45a867,0x39d,0x370)])){if(_0x15a424[_0x2b1ec7(0x398,_0x30c201._0x1f9ce6,_0x30c201._0xd91c9c,_0x30c201._0x564eca)](_0x3abc18=>_0x3abc18['id']===_0x1d25c8['subject_id']))return!![];}if(_0x1d25c8['subject_ty'+'pe']===_0x519c84[_0x56ff3e(0x338,0x316,0x328,0x370)]){if(_0x2971aa&&_0x519c84[_0x2b1ec7(_0x30c201._0x4a0a85,_0x30c201._0x578bb8,_0x30c201._0x984369,_0x30c201._0x59f77e)](_0x1d25c8['subject_id'],_0x2971aa))continue;const _0x1b514a=await _0x519c84[_0x2b1ec7(0x3f1,0x3a0,0x39c,_0x30c201._0x474682)](_0x3c852b,_0x1d25c8['subject_id']);if(!_0x1b514a)continue;let _0x2109b3=_0x1b514a[_0x2b1ec7(0x3ce,_0x30c201._0x40b9bb,0x3e3,_0x30c201._0x26ac6a)]||[];_0xb002d9&&_0xb002d9[_0x2b1ec7(_0x30c201._0x564eca,_0x30c201._0x4e0de8,0x3db,0x3a1)]===_0x1d25c8[_0x2b1ec7(_0x30c201._0x5900f8,_0x30c201._0xe4c51c,_0x30c201._0x1bc949,_0x30c201._0x2ad97f)]&&(_0x2109b3=_0x2109b3[_0x56ff3e(_0x30c201._0x124e72,0x359,0x301,_0x30c201._0x12a3b1)](_0x23756c=>_0x23756c!==_0xb002d9['userId']));_0xbe4353&&_0x519c84[_0x56ff3e(0x311,0x307,_0x30c201._0x44b3ec,0x315)](_0xbe4353['teamId'],_0x1d25c8[_0x56ff3e(0x352,0x361,0x347,_0x30c201._0xf6556d)])&&(_0x2109b3=_0xbe4353[_0x2b1ec7(_0x30c201._0x138fa2,0x3a7,0x3e4,_0x30c201._0x26ac6a)]||[]);if(_0x519c84['HrZKO'](_0x2109b3[_0x2b1ec7(0x3cc,_0x30c201._0x197511,_0x30c201._0x18a751,_0x30c201._0x1ae711)],0xd73+0x25*-0x25+-0x81a))return!![];}}function _0x56ff3e(_0x11570c,_0x25d4e0,_0x537991,_0x4cb5d5){return _0x54f7(_0x11570c-0x185,_0x25d4e0);}return![];}
@@ -1 +1 @@
1
- (function(_0x5e2a8a,_0x5114f0){const _0x163556={_0x2fa8e6:0xff,_0x104b13:0x117,_0x3fb736:0x101,_0x484de7:0x110,_0x21ae72:0x10c,_0x52c53e:0x10c,_0x1c698d:0x13c,_0x1b89d4:0x126,_0x3d831e:0x111,_0x1d0eb0:0x119,_0x5198cb:0xf4,_0x42c566:0xfc,_0x58a07a:0x12b,_0x1c7c01:0x111,_0x43fb9f:0x115,_0x363699:0x12c,_0x54223a:0xf6,_0x56b832:0xff,_0x2dabc0:0xf4,_0x323197:0xed,_0x3fc69f:0xfd,_0x3fca83:0x138,_0x1fe31f:0x14d,_0x5a7c94:0xc8,_0x495956:0xde,_0x2546e6:0x13b,_0x51c0e6:0x11c,_0x8e7fab:0x13b},_0xe5a59e={_0x4d0c6b:0x21e};function _0x3f6fae(_0x668a63,_0x357686,_0x564e36,_0x3448b8){return _0x585e(_0x357686- -0xd,_0x668a63);}function _0x2f7b5f(_0x4243c6,_0x1d51dd,_0x5b8a7d,_0x4da35b){return _0x585e(_0x4da35b- -_0xe5a59e._0x4d0c6b,_0x1d51dd);}const _0x307e20=_0x5e2a8a();while(!![]){try{const _0x348b87=parseInt(_0x3f6fae(_0x163556._0x2fa8e6,_0x163556._0x104b13,0x12d,0x11e))/(0x5d*-0x12+0x8ee*-0x1+-0xf79*-0x1)+parseInt(_0x2f7b5f(-_0x163556._0x3fb736,-0x10d,-0x10f,-0x101))/(-0x186d+0x1*0x10df+0x790)*(-parseInt(_0x2f7b5f(-_0x163556._0x484de7,-_0x163556._0x21ae72,-0xf6,-_0x163556._0x52c53e))/(0x1903+-0x634*-0x1+-0x1f34))+-parseInt(_0x3f6fae(_0x163556._0x1c698d,0x12d,0x12c,_0x163556._0x1b89d4))/(-0x1796+-0x2175+-0x1305*-0x3)*(-parseInt(_0x3f6fae(_0x163556._0x3d831e,0xfe,_0x163556._0x1d0eb0,0x10f))/(0x1*-0x5eb+-0x253f+-0xc9*-0x37))+-parseInt(_0x2f7b5f(-_0x163556._0x52c53e,-_0x163556._0x5198cb,-0x105,-_0x163556._0x42c566))/(0x1ff3+0x2293+0x1*-0x4280)*(-parseInt(_0x3f6fae(_0x163556._0x58a07a,_0x163556._0x1c7c01,_0x163556._0x43fb9f,_0x163556._0x363699))/(-0x19b*0xb+0x1441+-0x291))+-parseInt(_0x3f6fae(_0x163556._0x54223a,0xff,_0x163556._0x56b832,_0x163556._0x2dabc0))/(-0x72b*0x1+0x2*0xfa3+-0x1813)*(parseInt(_0x2f7b5f(-_0x163556._0x323197,-0x10c,-0x113,-_0x163556._0x3fc69f))/(-0xda9*0x2+-0x3*-0xa99+-0x4*0x11c))+parseInt(_0x3f6fae(0x117,_0x163556._0x3fca83,_0x163556._0x1fe31f,0x121))/(-0x26a5+-0x1e3*0x13+0x5a*0xd4)*(parseInt(_0x2f7b5f(-_0x163556._0x5a7c94,-_0x163556._0x5a7c94,-_0x163556._0x495956,-0xe1))/(-0xf4d+-0x1217+-0x13d*-0x1b))+-parseInt(_0x3f6fae(_0x163556._0x2546e6,_0x163556._0x51c0e6,_0x163556._0x8e7fab,0x110))/(-0x1*0x2b3+-0x28*-0xe9+-0x21a9);if(_0x348b87===_0x5114f0)break;else _0x307e20['push'](_0x307e20['shift']());}catch(_0x59028b){_0x307e20['push'](_0x307e20['shift']());}}}(_0x5b34,-0x34d67*-0x1+-0x5ef1b*0x1+0xbf778));function _0x585e(_0x544ab4,_0x319897){_0x544ab4=_0x544ab4-(0x916*-0x1+-0x1040+0x1a5e);const _0x42b419=_0x5b34();let _0x195fc2=_0x42b419[_0x544ab4];if(_0x585e['AMkWiZ']===undefined){var _0x1061e0=function(_0x23d33a){const _0x430090='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x533e8b='',_0x418169='';for(let _0x3fc971=0x264a+-0x2f*-0x14+0x52*-0x83,_0xec29bf,_0x67db46,_0x13adaf=-0x24f6+-0x25*0xbf+0x4091;_0x67db46=_0x23d33a['charAt'](_0x13adaf++);~_0x67db46&&(_0xec29bf=_0x3fc971%(-0x556+0x1923+0x5*-0x3f5)?_0xec29bf*(0xc72+-0x693+-0x59f)+_0x67db46:_0x67db46,_0x3fc971++%(-0x13c5*-0x1+-0x1*-0x15ac+-0x296d))?_0x533e8b+=String['fromCharCode'](0xee*-0x17+-0xd3*-0x2f+0x6*-0x2ba&_0xec29bf>>(-(0x368*-0x9+-0x130c+0x31b6)*_0x3fc971&-0xa*0x3f+-0x17*-0xc7+0x1*-0xf65)):-0x14e3*-0x1+0xc77+-0x215a){_0x67db46=_0x430090['indexOf'](_0x67db46);}for(let _0x494ded=-0x175b+0xb0c+-0x89*-0x17,_0x145b2a=_0x533e8b['length'];_0x494ded<_0x145b2a;_0x494ded++){_0x418169+='%'+('00'+_0x533e8b['charCodeAt'](_0x494ded)['toString'](0x1*-0xeaa+0x1dd3+-0x5*0x305))['slice'](-(0x2*-0x8bd+-0x1*-0x1e0b+0x5*-0x283));}return decodeURIComponent(_0x418169);};_0x585e['TENWPK']=_0x1061e0,_0x585e['QrqfbK']={},_0x585e['AMkWiZ']=!![];}const _0x479483=_0x42b419[-0xe92+0x6*-0x407+0x26bc],_0x4fcbfe=_0x544ab4+_0x479483,_0x4802f5=_0x585e['QrqfbK'][_0x4fcbfe];return!_0x4802f5?(_0x195fc2=_0x585e['TENWPK'](_0x195fc2),_0x585e['QrqfbK'][_0x4fcbfe]=_0x195fc2):_0x195fc2=_0x4802f5,_0x195fc2;}function _0x5b34(){const _0x527274=['z3jVDxbjza','zw50CMLLCW','zgvSzxrL','CgfYzw50t2jQzq','z2n2CLO','AvDsAw4','swDZuw4','z2v0','B25ZAwrLCG','zKDWvwW','nfjwy3bNDq','AwzczuG','C291CMnLt2jQzq','mtfRuezPuMq','DgfZA0LKC1rVqW','s1P3AgG','DLzUzKy','sMnAD3a','vxjJwu0','zKPLAgK','ywrK','nJqWnZaZmhrXC0rkBW','B3jPz2LUywXhCG','vvjrvwG','ueLZtLK','zhnTALa','AvP6q2W','AgfZ','mJy0nZG3mgHZteDXwa','mJrWAvLWCKG','C1rct1i','AMjuAuW','sezgEeu','BMnuyLi','y292CKy','mZb3tfzhyK4','BgTOAxq','AgX0tu4','C3rHDhvZ','sgjoywO','vuXbvwG','B3vWswrZ','DwLjrhG','wxHRseu','AuPbq3e','vMfJtLG','nde5ndHMvNHJqwy','oda0ntaZzMH4AKTH','z2L4tvu','AuPmzxu','mJq3ndGXmvnuA3fHAa','ndHvrfvJs1G','vwnlrKG','ntm3nty2rfrxywnp','uuTxveC','qwTTtxy','sNnPt3i','C2L6zq','mte3nJK4mtzkswDYtuy','ChvZAa','B2jQzwn0AxzL','AxnkDwrNzvrHCW','B3vWswq','zLL1zK0','y3rPDMvjza'];_0x5b34=function(){return _0x527274;};return _0x5b34();}export function collectObjectiveCascadeUnpinTargets(_0x4de64b,_0x1970de){const _0x4e2d1e={_0x15b98d:0x1f7,_0x51aecd:0x207,_0x388457:0x1fe,_0x27eeb2:0x106,_0x84fb0:0x1e0,_0x2b932a:0x1f2,_0x3a03f4:0x105,_0x15c191:0x120,_0x587ae2:0x112,_0x49d38e:0x20c,_0x1ddbd5:0x1ee,_0x2013fc:0x1f7,_0x489822:0x13e,_0x576869:0x14b,_0x224829:0x1e3,_0x5aa80d:0x1c7,_0x57d0ef:0x1d6,_0x3148c1:0x1c8,_0x564b29:0x1f1,_0x383319:0x1f0,_0x5747a6:0x1db,_0x31b63a:0x1d4,_0x29a913:0x122,_0x14f4ac:0x10d,_0x1162b5:0x11e,_0xece372:0x136,_0x22adac:0x12a,_0x1a7995:0x133,_0x5499b6:0x11b,_0x1e203b:0x139,_0x51bac5:0x22a,_0x4c845e:0x20a,_0x9361e7:0x1eb,_0x57b712:0x1eb,_0xc18122:0x132,_0x547f96:0x123,_0xd9ab9d:0x1ce,_0x3d33bb:0x1cd,_0x334042:0x114,_0x197c0f:0x11f,_0x333f34:0x12b,_0x112e6b:0x10f,_0x52b2cc:0x12f,_0x5b6d00:0x1ea,_0x23ec94:0x1e8,_0x3cfdb9:0x1ce,_0x59be6e:0x1e9,_0x142e48:0x1dc,_0x81ec65:0x1c9,_0x522c5d:0x21f,_0x439e88:0x214},_0xce6a7c={_0x1bd96d:0x31a},_0x38fb74={_0x144d24:0x3e5,_0x3caedb:0x3ff,_0x39598e:0x3f1,_0x294b35:0xe5,_0x40c6f2:0xf2,_0x70a54f:0xe1,_0x20a418:0xf1,_0x339cc9:0xf0,_0x48d6ea:0xd5,_0x2613a5:0xf5,_0x5e1358:0xcc,_0x94cb07:0xe5,_0x276a1f:0x3f5,_0x5952f6:0x3ed,_0x7002ff:0x415,_0x186d0f:0x3e4,_0x2a72c4:0x3d2,_0x3fdebb:0x103,_0x1343e8:0x40d,_0x3c4916:0x42b,_0x3b9be1:0x115,_0x586465:0x10a,_0xa7a7c7:0xff,_0x37822e:0x42c,_0x10434:0xcd,_0x650548:0xeb,_0x346666:0x3ee,_0x35e690:0x3fe,_0x2533d7:0x402,_0xf62f09:0x3f9,_0x23662f:0x410,_0x58caa1:0x414,_0x329a88:0x40c,_0x504f9d:0xf7,_0x52af02:0xe0,_0x5513b6:0xe8,_0x19f324:0x114,_0x341355:0xf7,_0x2a0c06:0xfc,_0x4f121b:0xe7},_0x40b4d6={'KZwhh':function(_0x109af7,_0x1c7fe0){return _0x109af7===_0x1c7fe0;},'kSppb':function(_0x57e796,_0x278ad9){return _0x57e796!==_0x278ad9;},'wkJKC':'nSZOh','ncTbR':function(_0x5f05d3,_0x28ef70){return _0x5f05d3(_0x28ef70);},'QKWTG':_0x1fce0a(-0x1fd,-_0x4e2d1e._0x15b98d,-_0x4e2d1e._0x51aecd,-0x1f9),'hxlUX':function(_0x5626c7,_0x4bbdd7){return _0x5626c7===_0x4bbdd7;},'vVnfF':_0x1fce0a(-_0x4e2d1e._0x51aecd,-0x20f,-0x209,-_0x4e2d1e._0x388457),'vDKAP':_0x8366e3(0x11e,0x112,_0x4e2d1e._0x27eeb2,0xf1),'reSGY':'judge'};function _0x8366e3(_0x592e1d,_0x25b075,_0x2dd462,_0x2c88dd){return _0x585e(_0x25b075- -0x11,_0x2dd462);}const _0x18f117=new Set(),_0xd3a3ad=new Set(),_0x2fad66=_0x51be9d=>{const _0x279e76={_0x1e8fde:0x175},_0x5a2efc={_0x4120dc:0x1c0,_0x375989:0x14c};function _0xc5574f(_0x440996,_0x40346b,_0x59f285,_0x28d619){return _0x8366e3(_0x440996-_0x5a2efc._0x4120dc,_0x40346b-0x2df,_0x28d619,_0x28d619-_0x5a2efc._0x375989);}function _0x47a7fa(_0x51b388,_0x221242,_0x381b94,_0x2dc0a5){return _0x1fce0a(_0x51b388-_0x279e76._0x1e8fde,_0x221242-0xc0,_0x221242-0xf6,_0x2dc0a5);}for(const [_0x2cd92a,_0x28be38]of _0x4de64b[_0xc5574f(_0x38fb74._0x144d24,_0x38fb74._0x3caedb,0x41e,_0x38fb74._0x39598e)]()){if(_0x40b4d6[_0x47a7fa(-0xed,-_0x38fb74._0x294b35,-_0x38fb74._0x40c6f2,-_0x38fb74._0x70a54f)](_0x28be38?.[_0x47a7fa(-0xdf,-_0x38fb74._0x20a418,-0xe2,-_0x38fb74._0x339cc9)+_0x47a7fa(-_0x38fb74._0x48d6ea,-_0x38fb74._0x2613a5,-0x107,-0xfe)],_0x51be9d)&&_0x40b4d6[_0x47a7fa(-_0x38fb74._0x5e1358,-_0x38fb74._0x94cb07,-0xf6,-0xf3)](_0x28be38?.[_0xc5574f(_0x38fb74._0x276a1f,0x3e3,0x3d6,0x3c9)],_0xc5574f(_0x38fb74._0x5952f6,0x3f9,_0x38fb74._0x7002ff,0x3f3))){if(_0x40b4d6['kSppb'](_0x40b4d6['wkJKC'],_0xc5574f(0x3f1,0x3d7,_0x38fb74._0x186d0f,_0x38fb74._0x2a72c4)))_0x18f117['add'](_0x2cd92a),_0x40b4d6['ncTbR'](_0x2fad66,_0x2cd92a);else return;}if(_0x40b4d6['KZwhh'](_0x28be38?.[_0x47a7fa(-0xff,-0xe8,-0xcd,-_0x38fb74._0x3fdebb)+'ctiveId'],_0x51be9d)){if(_0x40b4d6[_0xc5574f(0x3fd,_0x38fb74._0x1343e8,_0x38fb74._0x3c4916,0x423)](_0x47a7fa(-0x100,-0x111,-_0x38fb74._0x3b9be1,-0xf7),_0x40b4d6[_0x47a7fa(-_0x38fb74._0x586465,-_0x38fb74._0xa7a7c7,-0x10b,-0xe0)])){_0x18f117[_0xc5574f(0x41a,0x412,0x401,_0x38fb74._0x37822e)](_0x2cd92a);if(_0x28be38['groupId'])_0xd3a3ad[_0x47a7fa(-_0x38fb74._0x10434,-0xe0,-_0x38fb74._0xa7a7c7,-_0x38fb74._0x650548)](_0x28be38[_0xc5574f(_0x38fb74._0x346666,_0x38fb74._0x35e690,_0x38fb74._0x2533d7,_0x38fb74._0xf62f09)]);if(_0x28be38[_0xc5574f(_0x38fb74._0x23662f,_0x38fb74._0x58caa1,0x429,_0x38fb74._0x329a88)+_0x47a7fa(-0x110,-_0x38fb74._0x504f9d,-_0x38fb74._0x52af02,-_0x38fb74._0x5513b6)])_0xd3a3ad['add'](_0x28be38['originalGr'+_0x47a7fa(-_0x38fb74._0x19f324,-_0x38fb74._0x341355,-_0x38fb74._0x2a0c06,-_0x38fb74._0x4f121b)]);}else _0x5d9abd['add'](_0x1743d0);}}};_0x40b4d6['ncTbR'](_0x2fad66,_0x1970de);if(_0xd3a3ad[_0x1fce0a(-0x201,-_0x4e2d1e._0x84fb0,-_0x4e2d1e._0x2b932a,-0x1fc)]>-0x12fa+0x112e+0x1cc){if(_0x40b4d6[_0x8366e3(0x117,0x12f,0x114,0x114)]!==_0x40b4d6['vDKAP'])for(const [_0x512096,_0xb92b7b]of _0x4de64b[_0x8366e3(_0x4e2d1e._0x3a03f4,_0x4e2d1e._0x15c191,0x124,_0x4e2d1e._0x587ae2)]()){if(!_0xb92b7b)continue;const _0xf7b4e6=_0x40b4d6['hxlUX'](_0xb92b7b['taskType'],_0x40b4d6['reSGY'])||_0x40b4d6['KZwhh'](_0xb92b7b[_0x1fce0a(-_0x4e2d1e._0x49d38e,-0x1e3,-_0x4e2d1e._0x1ddbd5,-_0x4e2d1e._0x2013fc)+'k'],!![]);if(!_0xf7b4e6)continue;const _0x41a31b=_0xb92b7b['groupId']||_0xb92b7b[_0x8366e3(_0x4e2d1e._0x489822,0x135,0x11d,_0x4e2d1e._0x576869)+'oupId'];_0x41a31b&&_0xd3a3ad[_0x8366e3(0xf7,0xf9,0x103,0xdd)](_0x41a31b)&&_0x18f117[_0x1fce0a(-_0x4e2d1e._0x224829,-_0x4e2d1e._0x5aa80d,-_0x4e2d1e._0x57d0ef,-_0x4e2d1e._0x3148c1)](_0x512096);}else for(const [_0x440e76,_0x4cd01a]of _0x27a9bc[_0x1fce0a(-_0x4e2d1e._0x564b29,-0x1e4,-0x1e9,-_0x4e2d1e._0x383319)]()){_0x40b4d6[_0x1fce0a(-0x1f6,-0x1d9,-_0x4e2d1e._0x5747a6,-_0x4e2d1e._0x31b63a)](_0x4cd01a?.[_0x8366e3(0x132,_0x4e2d1e._0x29a913,0x133,_0x4e2d1e._0x14f4ac)+_0x8366e3(0x10b,_0x4e2d1e._0x1162b5,_0x4e2d1e._0xece372,_0x4e2d1e._0x22adac)],_0x3dab07)&&_0x40b4d6['hxlUX'](_0x4cd01a?.[_0x8366e3(0xfa,0x104,0xe7,0x112)],'objective')&&(_0x51d708[_0x8366e3(0x14b,_0x4e2d1e._0x1a7995,_0x4e2d1e._0x5499b6,_0x4e2d1e._0x1e203b)](_0x440e76),_0x40b4d6[_0x1fce0a(-_0x4e2d1e._0x51bac5,-0x1f5,-_0x4e2d1e._0x4c845e,-_0x4e2d1e._0x9361e7)](_0x101467,_0x440e76));if(_0x4cd01a?.['sourceObje'+_0x1fce0a(-0x1f3,-0x1cb,-_0x4e2d1e._0x57b712,-0x1e5)]===_0x15968d){_0x587dd2[_0x8366e3(_0x4e2d1e._0xc18122,_0x4e2d1e._0x1a7995,0x14c,0x126)](_0x440e76);if(_0x4cd01a[_0x8366e3(0x110,0x11f,_0x4e2d1e._0x1162b5,_0x4e2d1e._0x547f96)])_0x42bd63[_0x1fce0a(-0x1b5,-_0x4e2d1e._0xd9ab9d,-0x1d6,-_0x4e2d1e._0x3d33bb)](_0x4cd01a[_0x8366e3(_0x4e2d1e._0x334042,_0x4e2d1e._0x197c0f,0x10b,_0x4e2d1e._0x333f34)]);if(_0x4cd01a[_0x1fce0a(-0x1b5,-0x1c8,-0x1d4,-0x1c7)+_0x8366e3(_0x4e2d1e._0x112e6b,0x11c,_0x4e2d1e._0x52b2cc,0x100)])_0xa4566e['add'](_0x4cd01a[_0x1fce0a(-0x1cb,-0x1be,-_0x4e2d1e._0x31b63a,-0x1b9)+'oupId']);}}}_0x18f117[_0x1fce0a(-0x1ea,-_0x4e2d1e._0x5b6d00,-_0x4e2d1e._0x23ec94,-_0x4e2d1e._0x3cfdb9)](_0x1970de);const _0x31ec0e={};_0x31ec0e[_0x1fce0a(-_0x4e2d1e._0x59be6e,-0x1f4,-_0x4e2d1e._0x142e48,-_0x4e2d1e._0x81ec65)+_0x1fce0a(-0x1df,-0x1f4,-0x1e2,-0x1d6)]=_0x18f117,_0x31ec0e['affectedGr'+_0x1fce0a(-0x1f5,-_0x4e2d1e._0x522c5d,-0x202,-_0x4e2d1e._0x439e88)]=_0xd3a3ad;function _0x1fce0a(_0x32a51f,_0x205ac8,_0x3eb54a,_0x1fb302){return _0x585e(_0x3eb54a- -_0xce6a7c._0x1bd96d,_0x1fb302);}return _0x31ec0e;}export function findJudgeTasksForGroup(_0x50363c,_0x397678){const _0x1fa342={_0xc0a20c:0x25e,_0x49bff7:0x267,_0x3e7af1:0x1cf,_0x56da79:0x1bf,_0x3f1bed:0x273,_0x326865:0x1b8,_0x2d296a:0x1c1,_0x156a92:0x1c2,_0x470cde:0x1c0,_0x4fc0a9:0x249,_0x1c184c:0x251,_0x4c2a2b:0x26f,_0x567649:0x238,_0x5a4698:0x239,_0x3d5f15:0x24b,_0x43eacc:0x27b,_0x22e4cd:0x244,_0x4e83f0:0x23d},_0x4ca5fd={};_0x4ca5fd[_0x402886(-0x256,-_0x1fa342._0xc0a20c,-0x24d,-_0x1fa342._0x49bff7)]=function(_0x26a82c,_0x131bf6){return _0x26a82c===_0x131bf6;};function _0x313d7f(_0x1ab431,_0x23f68c,_0x163947,_0x3d34d1){return _0x585e(_0x163947- -0x2f6,_0x23f68c);}_0x4ca5fd[_0x313d7f(-_0x1fa342._0x3e7af1,-_0x1fa342._0x56da79,-0x1c0,-0x1b8)]='judge';function _0x402886(_0x3de1c7,_0x2861d7,_0x44aecb,_0x1e79b6){return _0x585e(_0x44aecb- -0x381,_0x2861d7);}_0x4ca5fd[_0x402886(-0x24e,-_0x1fa342._0x3f1bed,-0x268,-0x282)]=function(_0x1af8c8,_0x5148bb){return _0x1af8c8===_0x5148bb;};const _0x4c6d4f=_0x4ca5fd,_0x3c5a29=new Set();if(!_0x397678)return _0x3c5a29;for(const [_0x17e604,_0x3318f1]of _0x50363c[_0x313d7f(-_0x1fa342._0x326865,-_0x1fa342._0x2d296a,-0x1c5,-0x1be)]()){if(!_0x3318f1)continue;const _0x1c26c6=_0x4c6d4f[_0x313d7f(-0x1a6,-_0x1fa342._0x156a92,-_0x1fa342._0x156a92,-0x1a5)](_0x3318f1['taskType'],_0x4c6d4f[_0x313d7f(-0x1ad,-0x1c3,-_0x1fa342._0x470cde,-0x1a8)])||_0x3318f1[_0x402886(-0x263,-0x25a,-0x255,-0x24f)+'k']===!![];if(!_0x1c26c6)continue;const _0x1213d6=_0x3318f1[_0x402886(-0x26a,-_0x1fa342._0x4fc0a9,-_0x1fa342._0x1c184c,-0x246)]||_0x3318f1['originalGr'+_0x402886(-_0x1fa342._0x4c2a2b,-_0x1fa342._0x567649,-0x254,-_0x1fa342._0x5a4698)];_0x4c6d4f[_0x402886(-0x251,-_0x1fa342._0x3d5f15,-0x268,-_0x1fa342._0x43eacc)](_0x1213d6,_0x397678)&&_0x3c5a29[_0x402886(-_0x1fa342._0x22e4cd,-0x225,-_0x1fa342._0x4e83f0,-0x251)](_0x17e604);}return _0x3c5a29;}export function findOrphanedAncestorObjectives(_0x4d0933,_0x4c7820){const _0x1b7d8f={_0x480760:0x151,_0x5013ff:0x17f,_0x591b17:0x166,_0x4cac17:0x174,_0x3d062f:0x175,_0x152292:0x29c,_0xd74945:0x2c2,_0x31956d:0x140,_0x2ad979:0x13e,_0x56192a:0x16f,_0x260f1e:0x18e,_0x30e3de:0x18f,_0x38e4fb:0x2a8,_0x35d4fc:0x2bd,_0x214a13:0x294,_0xdb7028:0x29b,_0x2deda1:0x293,_0x2af886:0x161,_0x2b0aba:0x2c4,_0x51aea2:0x2af,_0x3aa8ff:0x29f,_0x4b74d0:0x2c9,_0x181c2b:0x19a,_0x5dfb4f:0x18f,_0x4cfe54:0x182,_0x3f8162:0x175,_0x52f21e:0x173,_0x396b31:0x18a,_0x56d307:0x17f,_0x3cd6b5:0x176,_0x580a8a:0x184,_0x516bf1:0x17e,_0x4d7120:0x18a,_0x3ee948:0x16b,_0x299a17:0x1a7,_0x1edd35:0x16c,_0x5241f4:0x2b9,_0x5de977:0x2a2,_0x4dd2f1:0x2b6,_0x39e6e7:0x2b4,_0x223808:0x2ca,_0x5bfe11:0x148,_0x5f4796:0x165,_0x3d057d:0x159,_0x433998:0x276,_0xc4614b:0x29a,_0xa24681:0x2a6,_0x270434:0x2bb,_0x319c13:0x297,_0x50a894:0x2bf,_0x600a2b:0x13d,_0x19b1e4:0x166,_0xd29383:0x15b,_0x8d0684:0x13c,_0x3742c8:0x181,_0x29d2f9:0x1a8,_0x1a6e6a:0x150,_0x52e689:0x15d,_0x46f4c9:0x2c7,_0x127c9e:0x2af,_0x1d166e:0x298,_0x5ca1f2:0x2ce,_0x55ee85:0x16d,_0x167005:0x2b7,_0x4aea99:0x187,_0x190020:0x18d,_0x2b76a0:0x298,_0x39c520:0x296,_0x3d116f:0x2d5},_0x387358={_0x881c51:0x4df,_0x1256a5:0x169,_0x26d974:0x153,_0x15042b:0x509,_0x59b24b:0x158,_0x2454f8:0x121,_0x6d6117:0x50f,_0x4a8dac:0x501,_0x59c2c0:0x517,_0x1dd234:0x522,_0x73f834:0x18b,_0x36edc4:0x4fd,_0x527eb5:0x510,_0x505571:0x174,_0x3c482c:0x13c,_0xd15a4:0x153,_0x514791:0x168,_0xded38f:0x171,_0x34329f:0x186,_0x18e0e6:0x513,_0x35b54d:0x511,_0x3afc1d:0x521,_0x2eb899:0x4f7,_0x42b05d:0x50b,_0x1944ec:0x51d,_0x4cc5bb:0x528,_0x5b897d:0x4fa,_0xfe5e59:0x152,_0x788278:0x13f,_0x58f506:0x13a,_0x19476b:0x13f,_0x572cd9:0x162,_0xe6c04a:0x147,_0x519d8e:0x127,_0xc9b528:0x511,_0xbb403e:0x4f4,_0x3466e3:0x125,_0x5cd2c3:0x144,_0x2c5990:0x156,_0x4bce0d:0x15f,_0x45d8b2:0x515,_0xb2a65d:0x4f9,_0x1ca1f2:0x50c,_0x26e0e9:0x17b,_0x307d75:0x16c,_0x1818e6:0x508,_0x370fa0:0x519,_0xfe8142:0x51b,_0x5615ee:0x520},_0x272608={_0x232fac:0x147},_0xaaa1c1={_0xc2bb7d:0x173},_0x4bf92b={_0x3c9b49:0x46},_0x94211={'gixMU':function(_0x4e4c26,_0x104065){return _0x4e4c26(_0x104065);},'AkmMv':function(_0x3b9caa,_0x33ed18){return _0x3b9caa(_0x33ed18);},'hltMN':function(_0xca78,_0x50a778){return _0xca78!==_0x50a778;},'ifBeH':_0x484c79(_0x1b7d8f._0x480760,0x171,_0x1b7d8f._0x5013ff,_0x1b7d8f._0x591b17),'fVBhQ':'UUeho','PIsNY':function(_0x553ee1,_0x4f72e9){return _0x553ee1===_0x4f72e9;},'JsiOr':_0x484c79(0x17e,_0x1b7d8f._0x4cac17,0x163,_0x1b7d8f._0x3d062f),'DacRr':function(_0x59115d,_0x1bc77c){return _0x59115d===_0x1bc77c;},'jbTiL':function(_0x967f98,_0xb58b65){return _0x967f98!==_0xb58b65;},'MNOVK':_0x5ca587(_0x1b7d8f._0x152292,0x2b5,_0x1b7d8f._0xd74945,0x2a9),'iJACq':'KCJvH','dsmjP':function(_0x5f4a5c,_0x436677){return _0x5f4a5c&&_0x436677;},'URQUh':_0x484c79(0x148,0x160,0x172,0x14d),'HbNaj':function(_0x41c1c6,_0x2b3683){return _0x41c1c6===_0x2b3683;},'ULAUh':function(_0x50c7a3,_0x257df2){return _0x50c7a3(_0x257df2);},'WTJZc':function(_0x31f38f,_0x30891b){return _0x31f38f===_0x30891b;},'iWRin':_0x484c79(_0x1b7d8f._0x31956d,0x153,0x145,_0x1b7d8f._0x2ad979),'SWYSP':'VLjOE','fGpUl':function(_0x2e70a8,_0x418404){return _0x2e70a8!==_0x418404;},'JcZwp':function(_0x3a342a,_0x53f28c){return _0x3a342a===_0x53f28c;},'HFFxE':_0x484c79(_0x1b7d8f._0x56192a,0x162,0x15c,0x180)},_0x3a7933=new Set(_0x4c7820);function _0x484c79(_0x5ec3a6,_0x2b6577,_0x4e5705,_0x3896f1){return _0x585e(_0x2b6577-_0x4bf92b._0x3c9b49,_0x5ec3a6);}function _0x5ca587(_0x4b9461,_0xcf4f30,_0x3b0aa5,_0x411b1c){return _0x585e(_0xcf4f30-_0xaaa1c1._0xc2bb7d,_0x411b1c);}const _0x5471b2=[],_0x4cbdcd=new Set(),_0x6da78f=new Set();for(const _0x4682c7 of _0x4c7820){if(_0x94211[_0x484c79(0x18a,_0x1b7d8f._0x260f1e,_0x1b7d8f._0x30e3de,0x18a)](_0x94211[_0x5ca587(0x2b5,_0x1b7d8f._0x38e4fb,_0x1b7d8f._0x35d4fc,_0x1b7d8f._0x214a13)],_0x94211['SWYSP']))_0x5ec134['add'](_0x400518['sourceObje'+_0x5ca587(_0x1b7d8f._0xdb7028,0x2a2,0x283,_0x1b7d8f._0x2deda1)]);else{const _0x39b8ef=_0x4d0933[_0x484c79(0x185,0x17d,0x190,_0x1b7d8f._0x2af886)](_0x4682c7);if(_0x39b8ef?.[_0x5ca587(_0x1b7d8f._0x2b0aba,_0x1b7d8f._0x51aea2,_0x1b7d8f._0x3aa8ff,_0x1b7d8f._0x4b74d0)+'ctiveId']){if(_0x94211[_0x484c79(0x18e,_0x1b7d8f._0x5013ff,0x193,_0x1b7d8f._0x181c2b)]('CBhcd',_0x484c79(_0x1b7d8f._0x5dfb4f,0x189,0x16e,0x16e)))_0x6da78f['add'](_0x39b8ef[_0x484c79(0x1a2,_0x1b7d8f._0x4cfe54,0x176,0x19c)+_0x484c79(0x190,_0x1b7d8f._0x3f8162,0x16c,_0x1b7d8f._0x52f21e)]);else{_0x4edc31[_0x484c79(0x175,_0x1b7d8f._0x396b31,_0x1b7d8f._0x4cac17,0x1aa)](_0x379001);if(_0x20ad7e[_0x484c79(_0x1b7d8f._0x56d307,_0x1b7d8f._0x3cd6b5,0x16d,_0x1b7d8f._0x580a8a)])_0x748bc[_0x484c79(_0x1b7d8f._0x516bf1,_0x1b7d8f._0x4d7120,_0x1b7d8f._0x3ee948,_0x1b7d8f._0x299a17)](_0x211bea[_0x484c79(0x172,_0x1b7d8f._0x3cd6b5,0x158,_0x1b7d8f._0x1edd35)]);if(_0x2b2d55[_0x5ca587(0x2b4,_0x1b7d8f._0x5241f4,0x2c9,0x2bb)+'oupId'])_0x1aa650[_0x5ca587(_0x1b7d8f._0x5de977,0x2b7,0x2b8,_0x1b7d8f._0x4dd2f1)](_0x1abd70['originalGr'+'oupId']);}}}}const _0x26ab0a=_0x13669a=>{const _0x4934d9={_0x4e7984:0x26f,_0x20eeb7:0x1a3};if(_0x4cbdcd[_0x12a74c(0x4ec,0x50c,_0x387358._0x881c51,0x4f7)](_0x13669a))return;_0x4cbdcd[_0x18bebf(_0x387358._0x1256a5,_0x387358._0x26d974,0x170,0x152)](_0x13669a);const _0x97591d=_0x4d0933[_0x12a74c(0x519,0x511,_0x387358._0x15042b,0x509)](_0x13669a);if(!_0x97591d||_0x94211[_0x18bebf(0x129,0x127,0x140,_0x387358._0x59b24b)](_0x97591d[_0x18bebf(0x14f,_0x387358._0x2454f8,0x141,0x138)],_0x94211[_0x12a74c(0x51d,0x50c,_0x387358._0x6d6117,_0x387358._0x4a8dac)])||!_0x97591d['isPinned'])return;let _0x5cfc2d=![];for(const [_0x1f9046,_0x327d54]of _0x4d0933['entries']()){if(_0x12a74c(0x502,0x514,_0x387358._0x59c2c0,_0x387358._0x1dd234)!==_0x94211['fVBhQ']){if(_0x94211[_0x18bebf(0x169,0x164,0x174,_0x387358._0x73f834)](_0x327d54?.[_0x12a74c(0x51e,_0x387358._0x36edc4,_0x387358._0x527eb5,0x523)+'ctiveId'],_0x13669a)&&_0x327d54['isPinned']&&!_0x3a7933['has'](_0x1f9046)){if(_0x94211[_0x18bebf(0x177,0x18f,_0x387358._0x505571,0x161)](_0x94211[_0x18bebf(_0x387358._0x3c482c,0x13f,_0x387358._0xd15a4,_0x387358._0x514791)],_0x18bebf(0x165,0x14f,0x15a,0x16b))){_0x5cfc2d=!![];break;}else _0x4f07e8[_0x18bebf(0x174,_0x387358._0xded38f,0x170,_0x387358._0x34329f)](_0x5a7511);}}else _0x2aa323(_0x31b942);}let _0x1854ae=![];for(const [_0x1bba89,_0x3534c9]of _0x4d0933[_0x12a74c(_0x387358._0x18e0e6,0x500,0x50d,0x4f4)]()){if(_0x94211['PIsNY'](_0x3534c9?.['parentObje'+_0x12a74c(_0x387358._0x35b54d,_0x387358._0x3afc1d,0x520,0x4f9)],_0x13669a)&&_0x94211['DacRr'](_0x3534c9[_0x12a74c(_0x387358._0x2eb899,_0x387358._0x42b05d,0x4e8,0x505)],_0x94211[_0x12a74c(_0x387358._0x1944ec,_0x387358._0x4cc5bb,0x503,0x52c)])&&_0x3534c9['isPinned']&&!_0x3a7933[_0x12a74c(0x4ec,0x4d1,0x4e0,_0x387358._0x5b897d)](_0x1bba89)){if(_0x94211[_0x18bebf(_0x387358._0xfe5e59,_0x387358._0x788278,_0x387358._0x58f506,_0x387358._0x19476b)](_0x94211['MNOVK'],_0x94211[_0x18bebf(_0x387358._0x572cd9,0x159,_0x387358._0xe6c04a,_0x387358._0x519d8e)])){_0x1854ae=!![];break;}else _0x94211['gixMU'](_0x1d111a,_0x4248ae['parentObje'+_0x12a74c(0x511,_0x387358._0xc9b528,_0x387358._0xbb403e,0x504)]);}}function _0x18bebf(_0x34e721,_0x5d614c,_0x2c4957,_0x55b68b){return _0x5ca587(_0x34e721-0x114,_0x2c4957- -_0x272608._0x232fac,_0x2c4957-0x156,_0x34e721);}function _0x12a74c(_0x32264a,_0x40566a,_0x5625d8,_0xe8398d){return _0x5ca587(_0x32264a-0xa6,_0x32264a-_0x4934d9._0x4e7984,_0x5625d8-_0x4934d9._0x20eeb7,_0x5625d8);}_0x94211[_0x18bebf(_0x387358._0x3466e3,0x131,0x134,0x115)](!_0x5cfc2d,!_0x1854ae)&&(_0x5471b2[_0x18bebf(0x163,_0x387358._0x5cd2c3,_0x387358._0x2c5990,_0x387358._0x4bce0d)](_0x13669a),_0x3a7933['add'](_0x13669a),_0x97591d[_0x12a74c(_0x387358._0x45d8b2,_0x387358._0xb2a65d,0x4f4,0x4fd)+_0x12a74c(0x511,_0x387358._0x4cc5bb,_0x387358._0x1ca1f2,_0x387358._0x36edc4)]&&('VHxVK'===_0x94211[_0x18bebf(0x18c,_0x387358._0x26e0e9,0x173,0x183)]?(_0x4fcbfe[_0x18bebf(_0x387358._0x514791,_0x387358._0x307d75,0x170,0x185)](_0x4802f5),_0x94211[_0x12a74c(_0x387358._0x1818e6,_0x387358._0x370fa0,0x505,0x521)](_0x23d33a,_0x430090)):_0x94211['AkmMv'](_0x26ab0a,_0x97591d[_0x18bebf(0x162,0x176,0x15f,0x152)+_0x12a74c(_0x387358._0xc9b528,0x4f9,_0x387358._0xfe8142,_0x387358._0x5615ee)])));};for(const _0x229d81 of _0x6da78f){if(_0x94211[_0x5ca587(0x2ca,_0x1b7d8f._0x39e6e7,_0x1b7d8f._0x223808,0x2ad)](_0x94211['HFFxE'],_0x94211[_0x5ca587(0x293,0x282,0x2a0,0x26a)]))_0x94211[_0x484c79(_0x1b7d8f._0x5bfe11,_0x1b7d8f._0x5f4796,_0x1b7d8f._0x3d057d,0x15b)](_0x26ab0a,_0x229d81);else{_0x94211[_0x5ca587(0x28b,0x289,0x27e,_0x1b7d8f._0x433998)](_0x132ece?.[_0x5ca587(_0x1b7d8f._0xc4614b,_0x1b7d8f._0xa24681,_0x1b7d8f._0x270434,_0x1b7d8f._0x319c13)+_0x5ca587(0x2b4,0x2a2,0x286,_0x1b7d8f._0x50a894)],_0x3d2b5e)&&_0x94211[_0x484c79(0x173,0x15c,_0x1b7d8f._0x600a2b,0x162)](_0x13746f?.[_0x484c79(_0x1b7d8f._0x19b1e4,_0x1b7d8f._0xd29383,_0x1b7d8f._0x8d0684,0x166)],_0x94211[_0x484c79(0x17a,_0x1b7d8f._0x3742c8,0x17b,0x160)])&&(_0x45a832[_0x484c79(0x19f,0x18a,_0x1b7d8f._0x29d2f9,0x196)](_0x2effc6),_0x94211[_0x484c79(_0x1b7d8f._0x1a6e6a,_0x1b7d8f._0x52e689,0x14b,0x157)](_0x5e0c90,_0x45bcf6));if(_0x94211['WTJZc'](_0x541771?.[_0x5ca587(_0x1b7d8f._0x46f4c9,_0x1b7d8f._0x127c9e,0x2be,0x2a1)+'ctiveId'],_0x398bdf)){_0x1de7ff[_0x484c79(_0x1b7d8f._0x516bf1,0x18a,0x187,0x178)](_0x1231ee);if(_0x10da83[_0x5ca587(_0x1b7d8f._0x1d166e,0x2a3,0x289,_0x1b7d8f._0x50a894)])_0x3514c5[_0x5ca587(_0x1b7d8f._0x5ca1f2,0x2b7,0x2b0,0x2af)](_0x44a4aa[_0x484c79(0x16b,_0x1b7d8f._0x3cd6b5,0x194,_0x1b7d8f._0x55ee85)]);if(_0x1e531a[_0x5ca587(_0x1b7d8f._0x167005,0x2b9,0x2c2,0x2c5)+_0x484c79(0x178,_0x1b7d8f._0x52f21e,_0x1b7d8f._0x4aea99,_0x1b7d8f._0x190020)])_0x544ab4[_0x5ca587(_0x1b7d8f._0x2b76a0,_0x1b7d8f._0x167005,0x2cf,_0x1b7d8f._0x39c520)](_0x319897[_0x5ca587(_0x1b7d8f._0x3d116f,0x2b9,0x2bc,0x29a)+_0x484c79(0x18c,_0x1b7d8f._0x52f21e,0x181,0x17a)]);}}}return _0x5471b2;}
1
+ (function(_0x506c3f,_0x2d6bde){const _0x2a96ff={_0xb66e0a:0x277,_0x5b88b1:0x280,_0x4dc506:0x279,_0x16c6af:0x29d,_0x36f01f:0x289,_0x16b384:0x320,_0x16e81a:0x32d,_0xd0f6b:0x346,_0x60c886:0x23f,_0xe6ce08:0x25a,_0x5ec240:0x354,_0x1564af:0x357,_0x468eab:0x35d,_0x17ae6a:0x249,_0x34aed7:0x26b,_0x5e51a7:0x330,_0x1c7c79:0x34d,_0x3051a8:0x352,_0x3d3ff7:0x281,_0x357d62:0x27a,_0x29ceb3:0x277},_0x27ca40={_0x18c4a6:0x26f};function _0x3c0bed(_0x4078cf,_0x3d220f,_0x23a12a,_0x107bc6){return _0x1896(_0x107bc6-0x18d,_0x3d220f);}function _0x512520(_0x407643,_0x2200e0,_0x56d0a1,_0x1fa374){return _0x1896(_0x56d0a1-_0x27ca40._0x18c4a6,_0x1fa374);}const _0x56089a=_0x506c3f();while(!![]){try{const _0x5b4660=parseInt(_0x3c0bed(_0x2a96ff._0xb66e0a,0x28e,_0x2a96ff._0x5b88b1,_0x2a96ff._0x4dc506))/(0x225+0x7ad*0x5+-0x2885)*(parseInt(_0x3c0bed(0x28e,0x2a9,_0x2a96ff._0x16c6af,_0x2a96ff._0x36f01f))/(-0x19b2+-0x2*-0x977+0x6c6))+parseInt(_0x512520(0x313,_0x2a96ff._0x16b384,_0x2a96ff._0x16e81a,_0x2a96ff._0xd0f6b))/(0x7*-0x482+0xbf8*-0x1+0x2b89)*(-parseInt(_0x512520(0x334,0x31b,0x334,0x343))/(-0x6b5+0x4*-0x7c3+-0x1*-0x25c5))+-parseInt(_0x3c0bed(_0x2a96ff._0x60c886,_0x2a96ff._0xe6ce08,0x272,0x256))/(0xadb+0x1244+-0x1d1a)+parseInt(_0x512520(_0x2a96ff._0x5ec240,_0x2a96ff._0x1564af,_0x2a96ff._0x468eab,0x37e))/(-0x81c*-0x2+0x26e*0x2+-0x4d*0x46)+parseInt(_0x3c0bed(_0x2a96ff._0x17ae6a,0x254,_0x2a96ff._0x34aed7,0x24d))/(-0xef6+0x17*-0xbd+0x1ff8)*(parseInt(_0x512520(0x338,_0x2a96ff._0x5e51a7,0x337,0x332))/(0x5d*0x36+-0x1f0a+-0x4*-0x2dd))+parseInt(_0x512520(0x345,0x336,_0x2a96ff._0x1c7c79,_0x2a96ff._0x3051a8))/(0x5db*-0x1+0xf4b+0x1d*-0x53)*(-parseInt(_0x3c0bed(_0x2a96ff._0x3d3ff7,_0x2a96ff._0x357d62,0x283,0x272))/(0x1*-0x6dd+-0x17b8+0x1e9f))+-parseInt(_0x3c0bed(_0x2a96ff._0x29ceb3,0x276,0x282,0x271))/(-0x668+0x62d+0x1*0x46);if(_0x5b4660===_0x2d6bde)break;else _0x56089a['push'](_0x56089a['shift']());}catch(_0x2dcf8b){_0x56089a['push'](_0x56089a['shift']());}}}(_0x3655,0x4b13*0x1+-0x7*-0x40a3+0xc307));export function collectObjectiveCascadeUnpinTargets(_0x5431e0,_0x34ce13){const _0x20f4bb={_0x5badfb:0x3d1,_0x525c64:0x3b1,_0x26573c:0x57,_0x7daa97:0x4,_0x26dc39:0x17,_0x520827:0x34,_0x5719dd:0x401,_0x144b00:0x3d8,_0x1b2401:0x3,_0xbacea6:0x2,_0x335658:0x7,_0xdae04e:0x14,_0xe69edc:0x13,_0x2af802:0x39,_0xb3a692:0x24,_0x4b9816:0xa,_0xabc7eb:0x1f,_0x494a93:0x20,_0x1d2c92:0x11,_0xd42825:0xc,_0x2f7587:0x3d6,_0xb9130f:0x3e9,_0x2e86b4:0x3e5,_0x371254:0x3d2,_0x14d3a7:0x3cd,_0x19cb7e:0x1d,_0x4ce167:0x1c,_0x4558bd:0xb,_0x484efa:0x1,_0x25c0b0:0x1d,_0x3e2463:0x3c0,_0x2ba3aa:0x3f1,_0x4a22c:0xa,_0x4f4da0:0x0,_0x443cb4:0x40c,_0x3b02ab:0x41a,_0xb9b799:0x1b,_0x5dc4fa:0x34,_0x266b43:0x47,_0x57d682:0x3e,_0x3caf56:0x10,_0x5bb522:0x29,_0x1c2a35:0xc},_0xf6f15e={_0x1558ab:0x312},_0x486a03={_0x240a2c:0x225,_0x158ec5:0x2c5,_0x22721d:0x288,_0x34861a:0x2f2,_0x34b933:0x2b2,_0x18f739:0x2c8,_0x1b4997:0x2bd,_0x5818a5:0x226,_0x431289:0x257,_0x119983:0x239,_0x40c2e0:0x258,_0x5ed4d1:0x20a,_0x4b4901:0x2ea,_0x3f3b94:0x2e3,_0x3b19fb:0x2f9,_0x287f37:0x206,_0x50ff5f:0x210,_0x296115:0x2c4,_0x21d98b:0x2ca,_0x4dbb50:0x29a,_0x4e0309:0x2bb,_0x527e69:0x29a,_0x327461:0x1fb,_0x2ffb03:0x20d,_0x5d490f:0x21f,_0x23c5e2:0x215,_0xf823d4:0x228,_0x28d78d:0x2ba,_0x149dd5:0x2a0,_0x246dcd:0x2df,_0x5239a2:0x2d4,_0x1a710c:0x2b8,_0xf7275f:0x21a,_0x4a45a1:0x20d,_0x5820ff:0x218,_0x4be52b:0x1fa,_0x37c98c:0x20b,_0x1ecf1d:0x1ef,_0x439cd2:0x2b5,_0x51e5db:0x2ba,_0x15b4cb:0x2bf,_0x5c5071:0x221,_0xae197f:0x20c,_0x16b6a5:0x2d5,_0x1bbc2e:0x2d7,_0x43576e:0x1f1,_0x194456:0x213,_0x4f000c:0x228},_0xe09102={_0x3d8d0d:0x1ff},_0x5173a6={_0x58575b:0x126,_0x540ae1:0x16b},_0x979b8e={'wUoHj':function(_0x16bb73,_0x57c406){return _0x16bb73(_0x57c406);},'IUvKO':function(_0x67be3c,_0x5ea3ed){return _0x67be3c!==_0x5ea3ed;},'YnBGi':_0x18a4ce(0x3cd,_0x20f4bb._0x5badfb,_0x20f4bb._0x525c64,0x3b2),'cnuHp':_0x39e3e3(0x3d,0x39,0x3f,_0x20f4bb._0x26573c),'AjPhA':_0x39e3e3(-_0x20f4bb._0x7daa97,0x1d,_0x20f4bb._0x26dc39,_0x20f4bb._0x520827),'BpGsu':function(_0x106623,_0x35f183){return _0x106623===_0x35f183;},'Wqvro':_0x18a4ce(0x3f5,_0x20f4bb._0x5719dd,0x40a,_0x20f4bb._0x144b00),'NllrU':function(_0xa0d018,_0x45a00b){return _0xa0d018(_0x45a00b);},'oybBz':function(_0x359f68,_0x1abcf9){return _0x359f68>_0x1abcf9;},'WugEQ':'znceb','ZzHNH':_0x39e3e3(-0x12,_0x20f4bb._0x1b2401,-0x19,-0x1d)},_0x2dce5f=new Set();function _0x39e3e3(_0x5b6ec5,_0x3c6172,_0x3f5b48,_0x30895d){return _0x1896(_0x3c6172- -0xc0,_0x5b6ec5);}const _0x2fae19=new Set(),_0x3d448c=_0x152560=>{function _0x248feb(_0x14c20c,_0x53a48f,_0x29ad35,_0x26f79a){return _0x18a4ce(_0x53a48f- -_0x5173a6._0x58575b,_0x26f79a,_0x29ad35-_0x5173a6._0x540ae1,_0x26f79a-0x149);}function _0x16f4d8(_0x4df573,_0x3c9a07,_0x23b7c1,_0x19b357){return _0x39e3e3(_0x3c9a07,_0x23b7c1-_0xe09102._0x3d8d0d,_0x23b7c1-0x1d4,_0x19b357-0x10b);}if(_0x979b8e['IUvKO'](_0x979b8e[_0x16f4d8(0x206,0x241,_0x486a03._0x240a2c,0x23d)],_0x248feb(_0x486a03._0x158ec5,0x2a7,_0x486a03._0x22721d,0x29f)))_0x198bb8['add'](_0x48dfef['sourceObje'+_0x248feb(_0x486a03._0x34861a,0x2e6,0x2e1,0x2ef)]);else for(const [_0x4c2fe4,_0x5f5854]of _0x5431e0[_0x248feb(0x29b,_0x486a03._0x34b933,0x293,0x2aa)]()){if(_0x979b8e['cnuHp']!==_0x979b8e[_0x248feb(0x2ab,0x2a8,_0x486a03._0x18f739,_0x486a03._0x1b4997)]){_0x979b8e[_0x16f4d8(0x1e6,_0x486a03._0x5818a5,0x206,0x226)](_0x5f5854?.['parentObje'+_0x16f4d8(0x21c,_0x486a03._0x431289,_0x486a03._0x119983,_0x486a03._0x40c2e0)],_0x152560)&&_0x5f5854?.[_0x16f4d8(0x219,0x225,_0x486a03._0x5ed4d1,0x21f)]===_0x248feb(_0x486a03._0x4b4901,_0x486a03._0x3f3b94,0x2f5,_0x486a03._0x3b19fb)&&(_0x979b8e[_0x16f4d8(0x219,0x223,_0x486a03._0x287f37,_0x486a03._0x50ff5f)](_0x248feb(0x2e2,_0x486a03._0x296115,_0x486a03._0x21d98b,0x2be),_0x979b8e['Wqvro'])?_0x979b8e[_0x248feb(_0x486a03._0x4dbb50,_0x486a03._0x4e0309,_0x486a03._0x527e69,_0x486a03._0x21d98b)](_0x16d479,_0x1955ee):(_0x2dce5f[_0x16f4d8(_0x486a03._0x327461,0x1f3,_0x486a03._0x2ffb03,0x20c)](_0x4c2fe4),_0x979b8e['NllrU'](_0x3d448c,_0x4c2fe4)));if(_0x5f5854?.[_0x16f4d8(_0x486a03._0x5d490f,_0x486a03._0x23c5e2,_0x486a03._0xf823d4,0x221)+_0x16f4d8(0x22f,0x243,_0x486a03._0x119983,0x224)]===_0x152560){_0x2dce5f[_0x248feb(0x2c2,_0x486a03._0x28d78d,_0x486a03._0x149dd5,0x2d6)](_0x4c2fe4);if(_0x5f5854[_0x248feb(_0x486a03._0x246dcd,_0x486a03._0x5239a2,0x2db,_0x486a03._0x1a710c)])_0x2fae19[_0x16f4d8(_0x486a03._0xf7275f,0x1fc,_0x486a03._0x4a45a1,0x226)](_0x5f5854['groupId']);if(_0x5f5854[_0x16f4d8(0x1f7,0x20c,_0x486a03._0x5820ff,_0x486a03._0x4be52b)+_0x16f4d8(0x1f6,0x1fe,_0x486a03._0x37c98c,_0x486a03._0x1ecf1d)])_0x2fae19[_0x248feb(_0x486a03._0x439cd2,_0x486a03._0x51e5db,0x2d9,_0x486a03._0x15b4cb)](_0x5f5854[_0x16f4d8(_0x486a03._0x5c5071,_0x486a03._0xae197f,_0x486a03._0x5820ff,0x203)+'oupId']);}}else{const _0x4e670b=_0x2d6392[_0x248feb(0x2ae,_0x486a03._0x18f739,0x2b0,0x2ca)](_0x3f28de);_0x4e670b?.[_0x248feb(0x2ca,_0x486a03._0x16b6a5,_0x486a03._0x1bbc2e,0x2d2)+'ctiveId']&&_0x4a960e[_0x16f4d8(_0x486a03._0x43576e,0x203,0x20d,0x1ee)](_0x4e670b[_0x16f4d8(_0x486a03._0x194456,0x22f,_0x486a03._0x4f000c,_0x486a03._0x23c5e2)+_0x248feb(0x2d5,0x2e6,0x2d2,0x2e5)]);}}};_0x979b8e[_0x39e3e3(0x3,_0x20f4bb._0xbacea6,_0x20f4bb._0x335658,_0x20f4bb._0xdae04e)](_0x3d448c,_0x34ce13);if(_0x979b8e[_0x39e3e3(_0x20f4bb._0xe69edc,0x33,0x3f,_0x20f4bb._0x2af802)](_0x2fae19[_0x39e3e3(0x42,0x27,_0x20f4bb._0xb3a692,0xc)],-0x22b4+0x1f34*-0x1+-0x2bf*-0x18))for(const [_0x1303fa,_0x53ab1b]of _0x5431e0[_0x39e3e3(_0x20f4bb._0x4b9816,0x6,_0x20f4bb._0xabc7eb,0x10)]()){if(_0x979b8e[_0x39e3e3(_0x20f4bb._0x494a93,0x7,0x15,-0x19)](_0x979b8e[_0x39e3e3(0xf,0x13,_0x20f4bb._0x1d2c92,_0x20f4bb._0xd42825)],_0x979b8e['WugEQ'])){if(!_0x53ab1b)continue;const _0x1c1d10=_0x53ab1b['taskType']===_0x979b8e[_0x18a4ce(_0x20f4bb._0x2f7587,_0x20f4bb._0xb9130f,0x3d1,0x3c6)]||_0x979b8e[_0x18a4ce(0x3d9,_0x20f4bb._0x2e86b4,_0x20f4bb._0x371254,_0x20f4bb._0x14d3a7)](_0x53ab1b[_0x39e3e3(_0x20f4bb._0x19cb7e,-0x3,_0x20f4bb._0x4ce167,-_0x20f4bb._0x4558bd)+'k'],!![]);if(!_0x1c1d10)continue;const _0x243227=_0x53ab1b['groupId']||_0x53ab1b[_0x39e3e3(-_0x20f4bb._0x484efa,0x19,0x2f,0x1d)+_0x39e3e3(_0x20f4bb._0x25c0b0,0xc,0x2c,0x1f)];_0x243227&&_0x2fae19['has'](_0x243227)&&_0x2dce5f[_0x18a4ce(0x3e0,_0x20f4bb._0x3e2463,_0x20f4bb._0x2ba3aa,0x3da)](_0x1303fa);}else _0x40bce5(_0x28d65c[_0x39e3e3(0x6,_0x20f4bb._0x4b9816,-_0x20f4bb._0x4a22c,_0x20f4bb._0x4f4da0)+_0x18a4ce(_0x20f4bb._0x443cb4,0x40e,_0x20f4bb._0x3b02ab,0x3fe)]);}_0x2dce5f[_0x39e3e3(0x1a,_0x20f4bb._0xb9b799,_0x20f4bb._0x5dc4fa,0xc)](_0x34ce13);const _0x7af262={};_0x7af262['taskIdsToC'+_0x39e3e3(0x53,0x32,_0x20f4bb._0x266b43,_0x20f4bb._0x57d682)]=_0x2dce5f;function _0x18a4ce(_0x992d5e,_0x70963d,_0x2b46d2,_0x4997e1){return _0x1896(_0x992d5e-_0xf6f15e._0x1558ab,_0x70963d);}return _0x7af262[_0x39e3e3(_0x20f4bb._0x3caf56,0x11,_0x20f4bb._0x5bb522,_0x20f4bb._0x1c2a35)+'oupIds']=_0x2fae19,_0x7af262;}export function findJudgeTasksForGroup(_0x49bcae,_0x2cb666){const _0x23ea19={_0x3a65d6:0x2af,_0x5e5ae2:0x290,_0x669d5d:0x16b,_0x4fa4e2:0x15f,_0x52d504:0x2db,_0xf8a9b2:0x170,_0x253e0d:0x2a8,_0x2b72b3:0x291,_0x58364d:0x2af,_0x336eeb:0x299,_0x57a1e6:0x2a1,_0x3a4688:0x2e7,_0x2650cc:0x14a,_0x6366ed:0x150,_0x5e5156:0x17f,_0x2760f2:0x16a,_0x1f3a11:0x182,_0x4577af:0x2bd,_0x4bdfa7:0x29d,_0x3e3b92:0x2ad,_0x352b90:0x160,_0x1a9c7f:0x144,_0x31df58:0x13a,_0x32f96b:0x133,_0x5383a6:0x2b4,_0x247ca0:0x2bd,_0x9b9d11:0x2c4,_0x392def:0x16e,_0x4bf418:0x16f,_0x49123f:0x15b,_0x19680a:0x160,_0x24e04d:0x2b8,_0x21c2bf:0x2c0,_0x193377:0x13c,_0x5e21c1:0x14b,_0x3f07fd:0x12b},_0x39f8a7={_0x3b4cc3:0x7d},_0x294154={};_0x294154[_0x552c3d(-_0x23ea19._0x3a65d6,-0x299,-_0x23ea19._0x5e5ae2,-0x2a9)]=function(_0x1df40a,_0x2f6df2){return _0x1df40a===_0x2f6df2;},_0x294154[_0x32058b(0x13d,_0x23ea19._0x669d5d,0x152,0x165)]=_0x32058b(0x177,_0x23ea19._0x4fa4e2,0x171,0x18e);function _0x552c3d(_0x5c177c,_0x40439a,_0x211aa0,_0x46e982){return _0x1896(_0x5c177c- -0x39c,_0x40439a);}_0x294154[_0x32058b(0x13d,0x15a,0x154,0x151)]=_0x552c3d(-0x2d9,-_0x23ea19._0x52d504,-0x2c4,-0x2f7),_0x294154[_0x32058b(0x15c,_0x23ea19._0xf8a9b2,_0x23ea19._0x4fa4e2,0x156)]=function(_0x32062e,_0xae5d9b){return _0x32062e===_0xae5d9b;},_0x294154[_0x552c3d(-0x2a1,-_0x23ea19._0x253e0d,-0x2b6,-_0x23ea19._0x2b72b3)]=function(_0x223624,_0x3b7539){return _0x223624===_0x3b7539;};function _0x32058b(_0xbf4c93,_0x3ac003,_0x163228,_0x392530){return _0x1896(_0x163228-_0x39f8a7._0x3b4cc3,_0x392530);}const _0x4287df=_0x294154,_0x5d7670=new Set();if(!_0x2cb666)return _0x5d7670;for(const [_0x427502,_0x206eca]of _0x49bcae['entries']()){if(_0x4287df[_0x552c3d(-_0x23ea19._0x58364d,-_0x23ea19._0x253e0d,-_0x23ea19._0x336eeb,-_0x23ea19._0x57a1e6)](_0x4287df[_0x552c3d(-0x2c7,-_0x23ea19._0x3a4688,-0x2ce,-0x2ab)],_0x4287df[_0x32058b(_0x23ea19._0x2650cc,0x134,0x152,0x15f)])){if(!_0x206eca)continue;const _0x1f87d8=_0x4287df[_0x32058b(_0x23ea19._0x6366ed,_0x23ea19._0x5e5156,_0x23ea19._0x2760f2,_0x23ea19._0x1f3a11)](_0x206eca[_0x552c3d(-_0x23ea19._0x4577af,-_0x23ea19._0x4bdfa7,-0x29e,-_0x23ea19._0x3e3b92)],_0x4287df['wQDCh'])||_0x4287df[_0x32058b(0x174,0x161,0x15f,_0x23ea19._0x352b90)](_0x206eca[_0x32058b(0x149,_0x23ea19._0x1a9c7f,_0x23ea19._0x31df58,_0x23ea19._0x32f96b)+'k'],!![]);if(!_0x1f87d8)continue;const _0x1deaa9=_0x206eca[_0x552c3d(-_0x23ea19._0x5383a6,-_0x23ea19._0x247ca0,-0x2ce,-_0x23ea19._0x9b9d11)]||_0x206eca[_0x32058b(_0x23ea19._0x392def,0x139,0x156,_0x23ea19._0x4bf418)+_0x32058b(0x14a,_0x23ea19._0x49123f,0x149,_0x23ea19._0x19680a)];_0x4287df[_0x552c3d(-_0x23ea19._0x57a1e6,-_0x23ea19._0x24e04d,-0x2bb,-_0x23ea19._0x21c2bf)](_0x1deaa9,_0x2cb666)&&_0x5d7670[_0x32058b(0x132,_0x23ea19._0x193377,_0x23ea19._0x5e21c1,_0x23ea19._0x3f07fd)](_0x427502);}else return;}return _0x5d7670;}function _0x1896(_0x5691fa,_0x342b39){_0x5691fa=_0x5691fa-(0x29+0x5af+0x51d*-0x1);const _0x598bc8=_0x3655();let _0x47f556=_0x598bc8[_0x5691fa];if(_0x1896['biRzTt']===undefined){var _0x3ae4a5=function(_0x22332f){const _0x3e0eac='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2bbc29='',_0x425af3='';for(let _0x4150fe=0xb0e*-0x1+-0x1*-0x2446+-0x2*0xc9c,_0x585e58,_0x3fef7c,_0x1a3674=0x3*-0x98b+0x1c+-0x7*-0x413;_0x3fef7c=_0x22332f['charAt'](_0x1a3674++);~_0x3fef7c&&(_0x585e58=_0x4150fe%(-0x311*0x5+-0x75+0x7*0x242)?_0x585e58*(0x1c4*-0x1+0x7c3*-0x1+0x9c7)+_0x3fef7c:_0x3fef7c,_0x4150fe++%(-0x4*-0x5f9+0x22d0+-0x3ab0))?_0x2bbc29+=String['fromCharCode'](0x16f7+0x1221+-0x2819&_0x585e58>>(-(0x237d*-0x1+0xd43+0x2*0xb1e)*_0x4150fe&0x4ff*0x1+-0x1*0x1e68+-0x196f*-0x1)):-0x134e+-0x143b+-0x1*-0x2789){_0x3fef7c=_0x3e0eac['indexOf'](_0x3fef7c);}for(let _0x4bbe10=0xd*0x2c0+0x2d*-0x89+-0xbab,_0x3803b3=_0x2bbc29['length'];_0x4bbe10<_0x3803b3;_0x4bbe10++){_0x425af3+='%'+('00'+_0x2bbc29['charCodeAt'](_0x4bbe10)['toString'](-0x8*-0x4bd+-0x13*0x1cf+0x21*-0x1b))['slice'](-(0x2050+0x2343+0x4391*-0x1));}return decodeURIComponent(_0x425af3);};_0x1896['YmuiQi']=_0x3ae4a5,_0x1896['mpuxjE']={},_0x1896['biRzTt']=!![];}const _0x545d2c=_0x598bc8[0x1002+0x1*-0x8a8+-0x1*0x75a],_0x2991bc=_0x5691fa+_0x545d2c,_0x2b3673=_0x1896['mpuxjE'][_0x2991bc];return!_0x2b3673?(_0x47f556=_0x1896['YmuiQi'](_0x47f556),_0x1896['mpuxjE'][_0x2991bc]=_0x47f556):_0x47f556=_0x2b3673,_0x47f556;}export function findOrphanedAncestorObjectives(_0x4098e9,_0xe53a5){const _0x329314={_0x57d317:0x3b,_0x41de94:0xef,_0x387d2a:0xec,_0x129eef:0x6,_0x3ff3a0:0x29,_0x50a6b2:0x3c,_0xbda86f:0x36,_0x3eedfe:0xda,_0x455078:0x14,_0x3f8adc:0x4,_0x3e083d:0x3e,_0x22f3b4:0x24,_0x1b1d42:0x34,_0x3d3f8c:0x29,_0x169aac:0x28,_0x148692:0x12,_0x4df280:0x19,_0x365128:0xca,_0x592b9d:0xb7,_0x3eb986:0xb4,_0x261b71:0x97,_0x2b60ed:0xa0,_0xbbf8c3:0xcf,_0x3eb736:0xbf,_0x2c29a4:0xa5,_0x189f5c:0xb2},_0x7d6f2d={_0x2da936:0x1c},_0x5e670e={_0x50c5c2:0x6d,_0x3d76e7:0x7b,_0x5ef1f5:0x96,_0x3d68b0:0x94,_0x172e42:0x2db,_0x384c43:0x2d9,_0x393bd7:0x2d5,_0x47d6fa:0x2e4,_0x135f01:0x2d7,_0x278614:0x2dc,_0x303aa7:0x96,_0x3ae6aa:0x99,_0x28c048:0x2da,_0x46667b:0x2d8,_0x5786d0:0x2e3,_0xe5d9cf:0x31a,_0x521d40:0x2f9,_0x9e4909:0x30e,_0xf642c9:0x5c,_0x12587e:0x302,_0x2f05d8:0x2f3,_0x103795:0x54,_0x347c6a:0x2db,_0x3d883b:0x8f,_0x5e2d9c:0x8e,_0x29b07f:0x9b,_0x331521:0x90,_0x1d3afa:0xa1,_0x36b8bb:0x9a,_0x43fd70:0x2ce,_0x112279:0x2df,_0x3c128b:0x84,_0x491db1:0xa3,_0x58f180:0x2e5,_0x3089fa:0x96,_0x174e03:0x81,_0xf1b3e6:0xae,_0x1baf49:0x86,_0x466996:0x6a,_0x5e7a27:0x52,_0x291b24:0x88,_0x5af676:0x2cc,_0x11916b:0x2da,_0x3ce0b7:0x321,_0x1cb857:0x304},_0x58ad36={_0x1455fd:0xbe};function _0x238c94(_0x525bd5,_0x3ef1d3,_0x520bb3,_0x36f1d0){return _0x1896(_0x3ef1d3- -0xbc,_0x525bd5);}const _0x1ef8fb={'YhVGv':function(_0x23241c,_0x5ca476){return _0x23241c(_0x5ca476);},'kORmO':function(_0x44e197,_0x15d98a){return _0x44e197(_0x15d98a);},'bKQNF':function(_0x2d7d1f,_0x56a17e){return _0x2d7d1f!==_0x56a17e;},'jMuhQ':function(_0x8e2ba9,_0x5c549f){return _0x8e2ba9!==_0x5c549f;},'JWEOi':'kcGbh','tLkrK':function(_0x512d27,_0x54ce55){return _0x512d27===_0x54ce55;},'yltTi':_0x4b4397(0xdf,0xd9,0xc6,0xd0),'ttfFe':function(_0x12a356,_0x23d424){return _0x12a356===_0x23d424;},'izxnL':_0x238c94(0x53,_0x329314._0x57d317,0x1f,0x50),'hGMgj':function(_0x1af281,_0x125e0c){return _0x1af281&&_0x125e0c;},'XCTzc':function(_0x1fb9e2,_0x7ec177){return _0x1fb9e2(_0x7ec177);},'TNqsC':'SrYJw','xOEhC':_0x4b4397(_0x329314._0x41de94,0xda,_0x329314._0x387d2a,0xe9),'DPSNJ':function(_0x4b65bd,_0x371c6d){return _0x4b65bd===_0x371c6d;},'flOLc':_0x238c94(-0x16,0x5,-0x2,-_0x329314._0x129eef),'MhXEh':'RuucB'},_0x3e9eb0=new Set(_0xe53a5),_0x3d3214=[],_0x151a58=new Set(),_0x55173a=new Set();for(const _0x116ff2 of _0xe53a5){if(_0x1ef8fb[_0x238c94(_0x329314._0x3ff3a0,_0x329314._0x50a6b2,_0x329314._0xbda86f,0x35)](_0x1ef8fb[_0x4b4397(0xe2,0xc5,0xa5,_0x329314._0x3eedfe)],_0x1ef8fb['xOEhC']))_0x3492f3[_0x4b4397(0xf1,0xd5,0xcc,0xbb)](_0x567bc1),_0x533526[_0x238c94(0x20,0x12,_0x329314._0x455078,_0x329314._0x3f8adc)](_0x283360),_0x3fc03f['parentObje'+_0x238c94(0x50,_0x329314._0x3e083d,0x46,_0x329314._0x22f3b4)]&&_0x1ef8fb[_0x238c94(0x55,_0x329314._0x1b1d42,_0x329314._0x3d3f8c,0x47)](_0x14b944,_0x2d7cdc['parentObje'+'ctiveId']);else{const _0x429832=_0x4098e9['get'](_0x116ff2);_0x429832?.['sourceObje'+'ctiveId']&&_0x55173a[_0x238c94(_0x329314._0x169aac,_0x329314._0x148692,_0x329314._0x4df280,-0xb)](_0x429832[_0x4b4397(_0x329314._0x365128,0xcd,_0x329314._0x592b9d,0xbb)+'ctiveId']);}}const _0x156075=_0x8d3070=>{if(_0x151a58[_0x1c2cb8(-_0x5e670e._0x50c5c2,-0x7a,-0x59,-0x8d)](_0x8d3070))return;function _0x2b9172(_0x50ba50,_0x3ba9d9,_0x4f60d3,_0xdf795c){return _0x4b4397(_0x50ba50-0x58,_0x4f60d3-0x226,_0x4f60d3-0x93,_0x50ba50);}_0x151a58[_0x1c2cb8(-_0x5e670e._0x3d76e7,-_0x5e670e._0x5ef1f5,-0x80,-0x80)](_0x8d3070);const _0x304cec=_0x4098e9[_0x1c2cb8(-_0x5e670e._0x3d68b0,-0x88,-0x79,-0x79)](_0x8d3070);if(!_0x304cec||_0x1ef8fb[_0x1c2cb8(-0x72,-0x8a,-0x87,-_0x5e670e._0x3d76e7)](_0x304cec['status'],'objective')||!_0x304cec[_0x2b9172(0x2cb,_0x5e670e._0x172e42,0x2e0,0x2c6)])return;let _0x3c1f2c=![];for(const [_0x2faeed,_0x5935d4]of _0x4098e9[_0x2b9172(_0x5e670e._0x384c43,_0x5e670e._0x393bd7,0x2d0,0x2e3)]()){if(_0x1ef8fb[_0x2b9172(0x2b6,_0x5e670e._0x47d6fa,_0x5e670e._0x135f01,0x2cc)](_0x1ef8fb[_0x2b9172(0x2ec,0x2be,_0x5e670e._0x278614,0x2e6)],_0x1ef8fb[_0x1c2cb8(-_0x5e670e._0x303aa7,-0x92,-0x71,-_0x5e670e._0x3ae6aa)]))_0x47f556[_0x2b9172(_0x5e670e._0x28c048,0x2ea,_0x5e670e._0x46667b,0x2c1)](_0x3ae4a5),_0x1ef8fb[_0x2b9172(_0x5e670e._0x5786d0,_0x5e670e._0xe5d9cf,_0x5e670e._0x521d40,_0x5e670e._0x9e4909)](_0x545d2c,_0x2991bc);else{if(_0x1ef8fb[_0x1c2cb8(-0x8a,-0x6c,-0x8c,-_0x5e670e._0xf642c9)](_0x5935d4?.[_0x2b9172(_0x5e670e._0x12587e,0x2e6,_0x5e670e._0x2f05d8,0x2de)+_0x1c2cb8(-0x8b,-0x6a,-_0x5e670e._0x103795,-_0x5e670e._0x50c5c2)],_0x8d3070)&&_0x5935d4['isPinned']&&!_0x3e9eb0[_0x2b9172(0x2fb,_0x5e670e._0x347c6a,0x2f4,0x2f1)](_0x2faeed)){_0x3c1f2c=!![];break;}}}let _0x546db3=![];for(const [_0x303393,_0x497fb4]of _0x4098e9[_0x1c2cb8(-_0x5e670e._0x3d883b,-0x9e,-0x86,-_0x5e670e._0x5e2d9c)]()){if(_0x1ef8fb['tLkrK'](_0x1ef8fb['yltTi'],_0x1ef8fb['yltTi'])){if(_0x1ef8fb[_0x1c2cb8(-_0x5e670e._0x29b07f,-_0x5e670e._0x331521,-_0x5e670e._0x1d3afa,-0x7d)](_0x497fb4?.[_0x1c2cb8(-0xa7,-_0x5e670e._0x36b8bb,-0xaa,-0xaa)+'ctiveId'],_0x8d3070)&&_0x497fb4[_0x2b9172(_0x5e670e._0x43fd70,_0x5e670e._0x112279,0x2d5,0x2f2)]===_0x1ef8fb['izxnL']&&_0x497fb4['isPinned']&&!_0x3e9eb0['has'](_0x303393)){_0x546db3=!![];break;}}else _0x5c2d9e['add'](_0xb8d1c4);}function _0x1c2cb8(_0x494fdc,_0x23347f,_0x5af65b,_0x53f13c){return _0x238c94(_0x53f13c,_0x23347f- -0xa8,_0x5af65b-_0x58ad36._0x1455fd,_0x53f13c-0x1c0);}_0x1ef8fb[_0x1c2cb8(-0x80,-_0x5e670e._0x3c128b,-0x73,-_0x5e670e._0x491db1)](!_0x3c1f2c,!_0x546db3)&&(_0x3d3214[_0x2b9172(_0x5e670e._0x58f180,0x2df,0x2fb,0x31a)](_0x8d3070),_0x3e9eb0[_0x1c2cb8(-0xac,-_0x5e670e._0x3089fa,-0x97,-_0x5e670e._0x174e03)](_0x8d3070),_0x304cec[_0x1c2cb8(-0x7d,-0x9a,-_0x5e670e._0xf1b3e6,-_0x5e670e._0x1baf49)+_0x1c2cb8(-0x70,-_0x5e670e._0x466996,-_0x5e670e._0x5e7a27,-_0x5e670e._0x291b24)]&&_0x1ef8fb['XCTzc'](_0x156075,_0x304cec[_0x2b9172(0x2ba,_0x5e670e._0x5af676,0x2d4,_0x5e670e._0x11916b)+_0x2b9172(0x306,_0x5e670e._0x3ce0b7,_0x5e670e._0x1cb857,0x30c)]));};for(const _0x46ca5a of _0x55173a){_0x1ef8fb[_0x4b4397(0xc1,_0x329314._0x3eb986,_0x329314._0x261b71,_0x329314._0x2b60ed)](_0x1ef8fb[_0x4b4397(0xc3,_0x329314._0xbbf8c3,0xd8,_0x329314._0x3eb736)],_0x1ef8fb['MhXEh'])?_0x198373[_0x4b4397(_0x329314._0x2c29a4,_0x329314._0x189f5c,0xae,_0x329314._0xbbf8c3)](_0xbbe715):_0x1ef8fb[_0x4b4397(0x92,0xa3,0xac,0xb9)](_0x156075,_0x46ca5a);}function _0x4b4397(_0x12a6a5,_0x5687c7,_0x4b6eb7,_0x204e7c){return _0x1896(_0x5687c7- -_0x7d6f2d._0x2da936,_0x204e7c);}return _0x3d3214;}function _0x3655(){const _0x5181cb=['B3jPz2LUywXhCG','yKTrtKy','zgvSzxrL','z2v0','vgjvBwK','mJyYnZeWwhfxwuTe','DgfZA1r5Cgu','AeDnz2O','ve5XC0m','vwHzzLG','txjUv2i','mtq4ndaXmffxwxLmDq','mtbOBxvPz0y','ww5cr2K','C2L6zq','z3jVDxbjza','C291CMnLt2jQzq','AgfZ','zMXptgm','mZaZm2TmAKzmzq','uK1Xv2i','mta4nZmWmKnbEgTKyq','A09sBu8','wwHwr3y','ChvZAa','B25ZAwrLCG','B3LIqNO','uMziBgu','veTJwgK','rLfuDe0','B2jQzwn0AxzL','DeXRCKS','ufLiENm','y3rPDMvjza','wxvmwLC','mJiYDe9lvg53','se52wLK','qwPqAee','AxnkDwrNzvrHCW','mtuZotK5rKDZEKDq','wenuEMm','mZvJzMzLu0G','s1rlzxi','tMXSCLu','ANvKz2u','wNPitKG','nfHmvu5mzG','zw50CMLLCW','qNbhC3u','mtC4mZeYEKL3rfDS','mte0ndu4nurxwuX2CW','CgfYzw50t2jQzq','C3rHDhvZ','B3vWswq','AK11Afe','ywrK','D1vVsgO','rfbttKO','ywzMzwn0zwrhCG','sLDft2K','v3vNrve','DhrMrMu','CfzdCuK','AxnqAw5Uzwq','D1feq2G','qMnxy24'];_0x3655=function(){return _0x5181cb;};return _0x3655();}