@profoundlogic/coderflow-server 0.6.6 → 0.6.7

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 (178) hide show
  1. package/dist/base-image/agent-wrapper.sh +1 -1
  2. package/dist/base-image/sync-repos.sh +7 -1
  3. package/dist/coder-server.js +1 -1
  4. package/dist/config/cli-models.json +0 -12
  5. package/dist/config.js +1 -1
  6. package/dist/lib/agent-keepalive.js +1 -1
  7. package/dist/lib/agent-models.js +1 -1
  8. package/dist/lib/api-keys.js +1 -1
  9. package/dist/lib/apiKeys.js +1 -1
  10. package/dist/lib/app-server-ports.js +1 -1
  11. package/dist/lib/auto-judge.js +1 -1
  12. package/dist/lib/automation-service.js +1 -1
  13. package/dist/lib/basic-auth.js +1 -1
  14. package/dist/lib/bindings.js +1 -1
  15. package/dist/lib/build-history.js +1 -1
  16. package/dist/lib/build-output-service.js +1 -1
  17. package/dist/lib/build-scheduler.js +1 -1
  18. package/dist/lib/build-service.js +1 -1
  19. package/dist/lib/ca-certificates.js +1 -1
  20. package/dist/lib/claude-oauth-refresh.js +1 -1
  21. package/dist/lib/cli/build.js +1 -1
  22. package/dist/lib/cli/cleanup-users.js +1 -1
  23. package/dist/lib/cli/config-command.js +1 -1
  24. package/dist/lib/cli/config.js +1 -1
  25. package/dist/lib/cli/create-user.js +1 -1
  26. package/dist/lib/cli/grant-admin.js +1 -1
  27. package/dist/lib/cli/init.js +1 -1
  28. package/dist/lib/cli/jira.js +1 -1
  29. package/dist/lib/cli/license.js +1 -1
  30. package/dist/lib/cli/list-roles.js +1 -1
  31. package/dist/lib/cli/list-users.js +1 -1
  32. package/dist/lib/cli/server-manager.js +1 -1
  33. package/dist/lib/cli/set-password.js +1 -1
  34. package/dist/lib/config-migration.js +1 -1
  35. package/dist/lib/container-credential-sync.js +1 -1
  36. package/dist/lib/container-tokens.js +1 -1
  37. package/dist/lib/data-dir.js +1 -1
  38. package/dist/lib/deployment-history.js +1 -1
  39. package/dist/lib/deployment-service.js +1 -1
  40. package/dist/lib/docker-utils.js +1 -1
  41. package/dist/lib/email.js +1 -1
  42. package/dist/lib/emailTemplates.js +1 -1
  43. package/dist/lib/entitlement.js +1 -1
  44. package/dist/lib/external-connections.js +1 -1
  45. package/dist/lib/fetch-utils.js +1 -1
  46. package/dist/lib/git-commit-details-route.js +1 -1
  47. package/dist/lib/git-history-diff-guardrails.js +1 -1
  48. package/dist/lib/git-provider-service.js +1 -1
  49. package/dist/lib/git-provider-setup/github-setup-handler.js +1 -1
  50. package/dist/lib/git-provider-setup/index.js +1 -1
  51. package/dist/lib/git-provider-setup/setup-factory.js +1 -1
  52. package/dist/lib/git-provider-setup/setup-interface.js +1 -1
  53. package/dist/lib/git-providers/azure-devops-provider.js +1 -1
  54. package/dist/lib/git-providers/github-app-provider.js +1 -1
  55. package/dist/lib/git-providers/index.js +1 -1
  56. package/dist/lib/git-providers/provider-factory.js +1 -1
  57. package/dist/lib/git-providers/provider-interface.js +1 -1
  58. package/dist/lib/github-urls.js +1 -1
  59. package/dist/lib/group-objective-linking.js +1 -1
  60. package/dist/lib/ibmi-sync.js +1 -1
  61. package/dist/lib/jira-client.js +1 -1
  62. package/dist/lib/judge-blinding.js +1 -1
  63. package/dist/lib/logger.js +1 -1
  64. package/dist/lib/migration-to-scoped-rbac.js +1 -1
  65. package/dist/lib/model-fetcher.js +1 -1
  66. package/dist/lib/notifications.js +1 -1
  67. package/dist/lib/objective-context.js +1 -1
  68. package/dist/lib/oidc-auth.js +1 -1
  69. package/dist/lib/oidc-device-flow.js +1 -1
  70. package/dist/lib/passwordTokens.js +1 -1
  71. package/dist/lib/permission-resolver.js +1 -1
  72. package/dist/lib/pin-cascade.js +1 -1
  73. package/dist/lib/provider-accounts.js +1 -1
  74. package/dist/lib/provider-oauth.js +1 -1
  75. package/dist/lib/provider-profile.js +1 -1
  76. package/dist/lib/provider-token-refresh.js +1 -1
  77. package/dist/lib/rbac-user-state.js +1 -1
  78. package/dist/lib/request-url.js +1 -1
  79. package/dist/lib/rewind.js +1 -1
  80. package/dist/lib/role-definitions.js +1 -1
  81. package/dist/lib/roles.js +1 -1
  82. package/dist/lib/secrets.js +1 -1
  83. package/dist/lib/setup-repo-git-auth.js +1 -1
  84. package/dist/lib/state-capture.js +1 -1
  85. package/dist/lib/static-files.js +1 -1
  86. package/dist/lib/task-aliases.js +1 -0
  87. package/dist/lib/task-name-format.js +1 -1
  88. package/dist/lib/task-name-generator.js +1 -1
  89. package/dist/lib/task-source-metadata.js +1 -1
  90. package/dist/lib/teams.js +1 -1
  91. package/dist/lib/user-git-oauth.js +1 -1
  92. package/dist/lib/user-git-tokens.js +1 -1
  93. package/dist/lib/users.js +1 -1
  94. package/dist/middleware/requireAuth.js +1 -1
  95. package/dist/middleware/requireInit.js +1 -1
  96. package/dist/middleware/requirePermission.js +1 -1
  97. package/dist/package.json +1 -1
  98. package/dist/playwright.config.js +1 -1
  99. package/dist/playwright.task-terminal.config.js +1 -1
  100. package/dist/routes/apiKeys.js +1 -1
  101. package/dist/routes/auth-oidc.js +1 -1
  102. package/dist/routes/auth.js +1 -1
  103. package/dist/routes/automations.js +1 -1
  104. package/dist/routes/bindings.js +1 -1
  105. package/dist/routes/build.js +1 -1
  106. package/dist/routes/containers.js +1 -1
  107. package/dist/routes/deploy-task.js +1 -1
  108. package/dist/routes/environment-management.js +1 -1
  109. package/dist/routes/environments.js +1 -1
  110. package/dist/routes/external-skills.js +1 -1
  111. package/dist/routes/git-credentials.js +1 -1
  112. package/dist/routes/git-oauth.js +1 -1
  113. package/dist/routes/git-provider-setup.js +1 -1
  114. package/dist/routes/health.js +1 -1
  115. package/dist/routes/jira.js +1 -1
  116. package/dist/routes/objective-management.js +1 -1
  117. package/dist/routes/password.js +1 -1
  118. package/dist/routes/prompt.js +1 -1
  119. package/dist/routes/provider-auth.js +1 -1
  120. package/dist/routes/qa.js +1 -1
  121. package/dist/routes/roles.js +1 -1
  122. package/dist/routes/settings.js +1 -1
  123. package/dist/routes/skill-management.js +1 -1
  124. package/dist/routes/skills.js +1 -1
  125. package/dist/routes/tasks.js +1 -1
  126. package/dist/routes/teams.js +1 -1
  127. package/dist/routes/templates.js +1 -1
  128. package/dist/routes/test-task.js +1 -1
  129. package/dist/routes/test.js +1 -1
  130. package/dist/routes/users.js +1 -1
  131. package/dist/routes/visualizations.js +1 -1
  132. package/dist/scripts/create-user.js +1 -1
  133. package/dist/scripts/migrate-config-to-data-dir.js +1 -1
  134. package/dist/start.js +1 -1
  135. package/dist/web-ui/public/activity-detail-modal.js +1 -1
  136. package/dist/web-ui/public/activity-feed.js +1 -1
  137. package/dist/web-ui/public/activity-formatters.js +1 -1
  138. package/dist/web-ui/public/agent-event-parser.js +1 -1
  139. package/dist/web-ui/public/app.js +1 -1
  140. package/dist/web-ui/public/approve-dialog.js +1 -1
  141. package/dist/web-ui/public/automation-links.js +1 -1
  142. package/dist/web-ui/public/automation-schedule.js +1 -1
  143. package/dist/web-ui/public/comments-widget.js +1 -1
  144. package/dist/web-ui/public/diff-utils.js +1 -1
  145. package/dist/web-ui/public/environments.js +1 -1
  146. package/dist/web-ui/public/feedback-widget.css +39 -0
  147. package/dist/web-ui/public/feedback-widget.js +1 -1
  148. package/dist/web-ui/public/file-selection-tree.js +1 -1
  149. package/dist/web-ui/public/git-history-lazy-utils.js +1 -1
  150. package/dist/web-ui/public/git-history.js +1 -1
  151. package/dist/web-ui/public/git-status.js +1 -1
  152. package/dist/web-ui/public/ibmi-file-filter.js +1 -1
  153. package/dist/web-ui/public/index.js +1 -1
  154. package/dist/web-ui/public/login.js +1 -1
  155. package/dist/web-ui/public/markdown-editor.js +1 -1
  156. package/dist/web-ui/public/markdown-file-editor.js +1 -1
  157. package/dist/web-ui/public/modal-maximize.js +1 -1
  158. package/dist/web-ui/public/notifications.js +1 -1
  159. package/dist/web-ui/public/permissions.js +1 -1
  160. package/dist/web-ui/public/pr-dialog.js +1 -1
  161. package/dist/web-ui/public/roles.js +1 -1
  162. package/dist/web-ui/public/server-health.js +1 -1
  163. package/dist/web-ui/public/settings.html +0 -4
  164. package/dist/web-ui/public/settings.js +1 -1
  165. package/dist/web-ui/public/setup-password.js +1 -1
  166. package/dist/web-ui/public/skills.js +1 -1
  167. package/dist/web-ui/public/sse-client.js +1 -1
  168. package/dist/web-ui/public/sse-shared-worker.js +1 -1
  169. package/dist/web-ui/public/styles.css +34 -0
  170. package/dist/web-ui/public/task-judging-helpers.js +1 -0
  171. package/dist/web-ui/public/task.html +1 -0
  172. package/dist/web-ui/public/task.js +1 -1
  173. package/dist/web-ui/public/teams.js +1 -1
  174. package/dist/web-ui/public/terminal.js +1 -1
  175. package/dist/web-ui/public/theme.js +1 -1
  176. package/dist/web-ui/public/users.js +1 -1
  177. package/dist/web-ui/public/variant-grouping.js +1 -1
  178. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0xe071f2,_0x403a50){const _0x514b97={_0x13e139:0x9c,_0x4acfcf:0x150,_0x3ce445:0x131,_0x52d602:0x121,_0x54d36f:0x109,_0x8b807:0x10f,_0x2b1f59:0x159,_0x42b63f:0x74,_0x445689:0x69,_0x2aa18a:0x88,_0x146762:0x87,_0x3e8969:0x70,_0x5843d4:0x57,_0x12ff82:0xe6,_0x476a46:0x110,_0x3ff7dc:0xf3,_0x549079:0xed},_0x4f1211={_0x5cee81:0x28};function _0x3daedc(_0x59bfb5,_0x5130cd,_0x3ca763,_0x5d5e42){return _0x251b(_0x5130cd- -_0x4f1211._0x5cee81,_0x5d5e42);}function _0x19941e(_0x1231fc,_0x5019f5,_0x2e4a1f,_0x18b075){return _0x251b(_0x18b075- -0x1be,_0x5019f5);}const _0x4265e7=_0xe071f2();while(!![]){try{const _0x1f6e51=parseInt(_0x19941e(-0x9e,-0x8d,-0xaa,-_0x514b97._0x13e139))/(0x2564+-0x1a9+-0x11*0x21a)*(parseInt(_0x3daedc(_0x514b97._0x4acfcf,0x125,0x119,_0x514b97._0x3ce445))/(-0xb*0xac+-0x6*-0x2f5+-0x14b*0x8))+-parseInt(_0x3daedc(_0x514b97._0x52d602,0x106,0x11c,_0x514b97._0x54d36f))/(-0x556+0x5*0x5fb+-0x188e)*(parseInt(_0x3daedc(_0x514b97._0x8b807,_0x514b97._0x3ce445,0x13d,_0x514b97._0x2b1f59))/(-0x5*-0x59c+0x1be*-0x8+-0xe18))+parseInt(_0x19941e(-0x54,-0x48,-_0x514b97._0x42b63f,-_0x514b97._0x445689))/(-0xcc8+0x209*0x9+-0x584)+parseInt(_0x19941e(-_0x514b97._0x2aa18a,-_0x514b97._0x146762,-_0x514b97._0x3e8969,-0x9b))/(0x347*0x1+-0x3d1*0x5+-0x1*-0xfd4)+-parseInt(_0x19941e(-_0x514b97._0x5843d4,-0x8d,-0x6c,-0x64))/(-0xede*-0x1+0xd7+0x29d*-0x6)+parseInt(_0x3daedc(_0x514b97._0x12ff82,_0x514b97._0x476a46,_0x514b97._0x3ff7dc,0xfb))/(0x59+0x102+-0x153)+-parseInt(_0x3daedc(0xf4,_0x514b97._0x549079,0xd4,0xdd))/(-0x2*0x1300+0x7c*0x4b+0x1b5)*(parseInt(_0x3daedc(0xf3,0x119,0x142,0x114))/(0x2*0x12a3+0xd4*-0x10+-0x17fc));if(_0x1f6e51===_0x403a50)break;else _0x4265e7['push'](_0x4265e7['shift']());}catch(_0x5bb037){_0x4265e7['push'](_0x4265e7['shift']());}}}(_0x4731,-0xaae1f*0x1+-0x26d55*0x5+-0x1c*-0x14eb9));function _0x4d14b3(_0xe82c78,_0x2769e1,_0x257535,_0x11d366){return _0x251b(_0xe82c78-0x18b,_0x2769e1);}import{promises as _0x4eeefb}from'fs';function _0x251b(_0x53bb94,_0x214af3){_0x53bb94=_0x53bb94-(-0xa*0xd0+0xf95*0x1+-0x660);const _0x1b2436=_0x4731();let _0x3e085b=_0x1b2436[_0x53bb94];if(_0x251b['pMdzKU']===undefined){var _0x20e51d=function(_0x346ca9){const _0x380e36='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x324d74='',_0x10fe77='';for(let _0x1d5b41=0x423+-0x2318+-0x1*-0x1ef5,_0x78963e,_0xcdbbdc,_0xbd31ff=0x154+0x9ec+-0x240*0x5;_0xcdbbdc=_0x346ca9['charAt'](_0xbd31ff++);~_0xcdbbdc&&(_0x78963e=_0x1d5b41%(0xd4d+-0x457+-0x8f2)?_0x78963e*(0x2074+0x14ed+-0x3521)+_0xcdbbdc:_0xcdbbdc,_0x1d5b41++%(-0x16ae+0x2*0x12df+-0x504*0x3))?_0x324d74+=String['fromCharCode'](-0x22c9+-0x1*-0x15c5+-0x1*-0xe03&_0x78963e>>(-(-0x10ea+-0x7*0x531+-0x2d*-0x12f)*_0x1d5b41&0x59*0x7+0x14e1+-0x174a)):-0x1*0x140d+0x12f+0x12de){_0xcdbbdc=_0x380e36['indexOf'](_0xcdbbdc);}for(let _0x5a2a98=0xa*-0x47+0x955+-0x68f,_0x3d0c39=_0x324d74['length'];_0x5a2a98<_0x3d0c39;_0x5a2a98++){_0x10fe77+='%'+('00'+_0x324d74['charCodeAt'](_0x5a2a98)['toString'](0x21be+-0x4e7+-0x1cc7))['slice'](-(-0xf12+-0xb0b+0x1a1f));}return decodeURIComponent(_0x10fe77);};_0x251b['qZHemm']=_0x20e51d,_0x251b['XraOOA']={},_0x251b['pMdzKU']=!![];}const _0x39840d=_0x1b2436[-0x1977+0x1fc5+0x6*-0x10d],_0x3d797=_0x53bb94+_0x39840d,_0x2d1010=_0x251b['XraOOA'][_0x3d797];return!_0x2d1010?(_0x3e085b=_0x251b['qZHemm'](_0x3e085b),_0x251b['XraOOA'][_0x3d797]=_0x3e085b):_0x3e085b=_0x2d1010,_0x3e085b;}import _0x5d7196 from'path';function _0x531480(_0x5a4fb5,_0x41e25b,_0x3cfd67,_0x44755a){const _0x1c64de={_0x583371:0x209};return _0x251b(_0x41e25b- -_0x1c64de._0x583371,_0x5a4fb5);}import _0x3281dd from'crypto';import{fileURLToPath}from'url';import{DATA_DIR}from'./data-dir.js';const __filename=fileURLToPath(import.meta.url),__dirname=_0x5d7196['dirname'](__filename),TOKENS_FILE=_0x5d7196[_0x531480(-0x9c,-0xbd,-0xc2,-0xe8)](DATA_DIR,_0x531480(-0xf6,-0xcc,-0xd6,-0xe4)+_0x4d14b3(0x2df,0x2b8,0x2d8,0x2ec)),TOKEN_EXPIRY_MS=(0xc*0xc4+0x3f8+-0xd21)*(0x1140+0x2b2+-0x13da)*(-0x1*-0x1186+-0x2186+-0x81e*-0x2)*(0x226f+0x1f42+-0x4175)*(0x1*0x207a+0x21db+-0x3e6d);let tokensCache=null,lastLoadTime=0xe2a+0x1098+-0x1*0x1ec2;const CACHE_TTL=-0x332+0x1*-0x277+0x991;async function loadTokens(){const _0x2bb0e8={_0x126d41:0xf8,_0x479012:0x102,_0x3e786f:0x107,_0x551d17:0x101,_0x15e19e:0x109,_0x465a9f:0x4dc,_0x181f88:0x504,_0x4cc05f:0x4f0,_0x33ef72:0x480,_0x199c27:0x49d,_0x9c78e:0x4a5,_0x5ef0c6:0xe8,_0x4149ba:0x4d1,_0x454519:0x4f6,_0x4ea583:0x143,_0x2cbd64:0x11e,_0x1f16a0:0x110,_0x12a50d:0x131,_0x25e9b8:0x4e6,_0x108502:0x4c3,_0x42b8d9:0x4ef,_0x2928be:0x129,_0x4aafd0:0x11e,_0x5f2c7d:0x14d,_0x394c8b:0x4ad,_0x1744c7:0x107,_0x363b80:0x128,_0x2c269e:0xed,_0x514708:0x4d4,_0x590ea3:0x4b0,_0x1cf331:0x491,_0x51de8e:0x4b1,_0xfb0b50:0x4c1,_0x1a5aa6:0x4be,_0x2927b1:0x4ba,_0x441671:0x4e0},_0x51c29a={_0x532478:0x1eb,_0x17bb0e:0xcc},_0x53da32={_0x15780f:0x17a},_0x496ae6={'lVJrF':function(_0x44d2bc,_0x59d2ae){return _0x44d2bc<_0x59d2ae;},'RWXqO':function(_0x52f6e6,_0x183ab9){return _0x52f6e6-_0x183ab9;},'WeFmD':function(_0x59a40f,_0x462057){return _0x59a40f!==_0x462057;},'YgIcX':_0x3d6cc4(0xb6,0xe1,_0x2bb0e8._0x126d41,_0x2bb0e8._0x479012),'MeWZN':_0x3d6cc4(_0x2bb0e8._0x3e786f,_0x2bb0e8._0x551d17,0xe4,_0x2bb0e8._0x15e19e),'GylHQ':_0xa62d84(0x4b3,_0x2bb0e8._0x465a9f,_0x2bb0e8._0x181f88,_0x2bb0e8._0x4cc05f),'NpSFP':_0xa62d84(_0x2bb0e8._0x33ef72,0x4a6,_0x2bb0e8._0x199c27,_0x2bb0e8._0x9c78e),'OANDQ':function(_0x4f3284,_0x3d6093){return _0x4f3284===_0x3d6093;},'SfPfr':function(_0x2d8027,_0x40540d){return _0x2d8027!==_0x40540d;},'xwHpV':_0x3d6cc4(_0x2bb0e8._0x5ef0c6,0xfb,0x124,0xf4),'HBAVj':function(_0x468097,_0x2f67f2){return _0x468097(_0x2f67f2);}},_0x552b87=Date['now']();function _0x3d6cc4(_0x119061,_0x2a4924,_0x3eb38c,_0x4a96ac){return _0x4d14b3(_0x2a4924- -0x1ca,_0x4a96ac,_0x3eb38c-0x1ab,_0x4a96ac-_0x53da32._0x15780f);}function _0xa62d84(_0x5ef233,_0x430c5a,_0x154690,_0x6bf6ff){return _0x4d14b3(_0x430c5a-_0x51c29a._0x532478,_0x6bf6ff,_0x154690-0x129,_0x6bf6ff-_0x51c29a._0x17bb0e);}if(tokensCache&&_0x496ae6[_0xa62d84(_0x2bb0e8._0x4149ba,0x4d8,0x4de,0x4f4)](_0x496ae6[_0xa62d84(0x4f0,0x4ce,_0x2bb0e8._0x454519,0x4dd)](_0x552b87,lastLoadTime),CACHE_TTL))return tokensCache;try{if(_0x496ae6[_0x3d6cc4(_0x2bb0e8._0x4ea583,0x125,0x10f,0x13e)](_0x496ae6['YgIcX'],_0x496ae6['YgIcX']))return null;else{const _0x64bf89=await _0x4eeefb['readFile'](TOKENS_FILE,_0x496ae6['MeWZN']);return tokensCache=JSON['parse'](_0x64bf89),lastLoadTime=_0x552b87,tokensCache;}}catch(_0x270f45){if(_0x496ae6[_0x3d6cc4(0x115,_0x2bb0e8._0x2cbd64,0x143,0x135)]===_0x496ae6[_0x3d6cc4(0x11b,_0x2bb0e8._0x1f16a0,_0x2bb0e8._0x12a50d,0xea)])return null;else{if(_0x496ae6['OANDQ'](_0x270f45[_0xa62d84(_0x2bb0e8._0x25e9b8,0x4d9,_0x2bb0e8._0x108502,_0x2bb0e8._0x42b8d9)],_0x3d6cc4(0x12d,_0x2bb0e8._0x2928be,_0x2bb0e8._0x4aafd0,_0x2bb0e8._0x5f2c7d))){if(_0x496ae6[_0xa62d84(0x4b9,_0x2bb0e8._0x394c8b,0x4aa,0x4d7)](_0x496ae6[_0x3d6cc4(0x129,_0x2bb0e8._0x1744c7,_0x2bb0e8._0x363b80,_0x2bb0e8._0x2c269e)],_0xa62d84(_0x2bb0e8._0x514708,_0x2bb0e8._0x590ea3,_0x2bb0e8._0x1cf331,_0x2bb0e8._0x51de8e)))return!![];else{const _0x416158={};_0x416158[_0xa62d84(0x4ad,_0x2bb0e8._0xfb0b50,0x4c0,0x4a4)]=[];const _0x7b5cb1=_0x416158;return await _0x496ae6[_0xa62d84(_0x2bb0e8._0x1a5aa6,_0x2bb0e8._0x2927b1,_0x2bb0e8._0x441671,0x4ad)](saveTokens,_0x7b5cb1),tokensCache=_0x7b5cb1,lastLoadTime=_0x552b87,_0x7b5cb1;}}throw _0x270f45;}}}async function saveTokens(_0x4c1a1d){const _0xb665f3={_0x2b8225:0x128,_0x1e8bb3:0x120,_0x1b195b:0x132,_0x41f694:0xd9,_0x5cc658:0xc9},_0x5c0fd9={_0x1909f2:0x3ab,_0x23aaa5:0x1de},_0x2f79ea={_0x1ceff8:0x7b},_0x427182={};_0x427182['recursive']=!![],await _0x4eeefb[_0x32c9ae(_0xb665f3._0x2b8225,0xfd,0x10a,0x113)](DATA_DIR,_0x427182);function _0x32c9ae(_0x9287bf,_0x502956,_0x1057c4,_0x3f29f8){return _0x531480(_0x502956,_0x9287bf-0x212,_0x1057c4-0x193,_0x3f29f8-_0x2f79ea._0x1ceff8);}await _0x4eeefb[_0x15b6d9(-0xf0,-_0xb665f3._0x1e8bb3,-_0xb665f3._0x1b195b,-0x108)](TOKENS_FILE,JSON[_0x15b6d9(-0xb3,-0xdf,-0xbf,-0xd6)](_0x4c1a1d,null,0x15de+-0x21f*0x11+-0xe33*-0x1)),tokensCache=_0x4c1a1d;function _0x15b6d9(_0x4224a4,_0x2bd272,_0x4f1138,_0x1c687a){return _0x4d14b3(_0x1c687a- -_0x5c0fd9._0x1909f2,_0x2bd272,_0x4f1138-_0x5c0fd9._0x23aaa5,_0x1c687a-0x86);}lastLoadTime=Date[_0x15b6d9(-_0xb665f3._0x41f694,-0xb9,-0xd6,-_0xb665f3._0x5cc658)]();}function generateToken(){const _0x447eb4={_0x24e43b:0xc8,_0x40cb02:0xd9,_0xdbc2b0:0x127,_0x277c97:0x11f,_0x6fc852:0x18f,_0x14630e:0x1ab,_0x294c58:0xd1,_0x4dd1ab:0x14b,_0x2f5be8:0x157,_0x4fd162:0x13e,_0x577a3a:0x9b,_0x44222c:0x105,_0x4c1e95:0xc7,_0x56885b:0x15f,_0x1580f6:0x13b,_0x5e587d:0x177,_0xda5a4f:0x16f},_0x1379fb={_0x3addc5:0x15b},_0x572c18={};_0x572c18[_0xdcc2ef(-0xe6,-0xd6,-_0x447eb4._0x24e43b,-_0x447eb4._0x40cb02)]=function(_0x5b280d,_0x24c1e4){return _0x5b280d+_0x24c1e4;},_0x572c18[_0x26b3bb(0x13b,_0x447eb4._0xdbc2b0,0x12e,_0x447eb4._0x277c97)]=_0x26b3bb(_0x447eb4._0x6fc852,0x199,0x193,_0x447eb4._0x14630e),_0x572c18[_0xdcc2ef(-0xa5,-0xdc,-0xc5,-_0x447eb4._0x294c58)]=_0x26b3bb(_0x447eb4._0x4dd1ab,_0x447eb4._0x2f5be8,0x162,_0x447eb4._0x4fd162);const _0x134330=_0x572c18;function _0x26b3bb(_0x1f0a49,_0x92b8bf,_0x94e00a,_0x3cfd02){return _0x531480(_0x92b8bf,_0x1f0a49-0x22d,_0x94e00a-_0x1379fb._0x3addc5,_0x3cfd02-0xd7);}function _0xdcc2ef(_0x9579f1,_0xab39a5,_0x30d932,_0x11cf4f){return _0x4d14b3(_0x30d932- -0x386,_0x11cf4f,_0x30d932-0x4b,_0x11cf4f-0x1ca);}const _0x5f141a=_0x3281dd[_0xdcc2ef(-0x8b,-_0x447eb4._0x577a3a,-0xa9,-0x9d)+'s'](-0x1567+-0x1*0x1666+0x1*0x2bed);return _0x134330[_0x26b3bb(_0x447eb4._0x2f5be8,_0x447eb4._0x4fd162,0x164,0x16d)](_0x134330[_0xdcc2ef(-_0x447eb4._0x44222c,-_0x447eb4._0x4c1e95,-0xe4,-0xc1)],_0x5f141a[_0x26b3bb(_0x447eb4._0x56885b,_0x447eb4._0x1580f6,_0x447eb4._0x5e587d,_0x447eb4._0xda5a4f)](_0x134330['ZJsRN']));}function generateTokenId(){const _0x473367={_0x5c85b2:0x1db,_0x2126b3:0x1ee,_0x312b5a:0x1b2,_0x52da3b:0x1eb,_0x5503a3:0x1d5,_0x54879c:0x3d9,_0x3982f4:0x3c2,_0x166397:0x210},_0x22c4c7={_0x522004:0x11f,_0x176dfc:0x88},_0x2ad485={_0x34fc40:0x2a3,_0x193985:0x1b6};function _0x1d8957(_0x5f1f0e,_0x24885c,_0x15944c,_0x407756){return _0x531480(_0x24885c,_0x15944c-_0x2ad485._0x34fc40,_0x15944c-_0x2ad485._0x193985,_0x407756-0xa7);}const _0x118a0d=Date['now']();function _0x443402(_0x2c0ba4,_0x1f0fff,_0x4eded2,_0x58cd81){return _0x4d14b3(_0x2c0ba4-_0x22c4c7._0x522004,_0x1f0fff,_0x4eded2-0xd2,_0x58cd81-_0x22c4c7._0x176dfc);}const _0x658717=Math[_0x1d8957(_0x473367._0x5c85b2,_0x473367._0x2126b3,0x1d8,0x1f5)]()[_0x1d8957(_0x473367._0x312b5a,_0x473367._0x52da3b,_0x473367._0x5503a3,0x1c4)](-0xb*0x69+-0xb59+0x1000)[_0x443402(0x3ed,0x3d6,_0x473367._0x54879c,_0x473367._0x3982f4)](0x2*0xdd+-0x163b+0x1483,0x4f7*-0x4+-0x2215+0x3600);return _0x1d8957(_0x473367._0x166397,0x20e,0x204,0x22f)+_0x118a0d+'_'+_0x658717;}async function createPasswordToken(_0x1e6e54,_0x5b7394='setup'){const _0x8dbed5={_0x14bd53:0x147,_0x1c9224:0x145,_0x17a2ca:0x11f,_0x34be78:0xf9,_0x21ca7c:0x100,_0x5e8550:0xe7,_0x1ed156:0x157,_0x2796b5:0x132,_0x21aad7:0x130,_0x50662e:0x143,_0xdf7b30:0x24d,_0x39d3d0:0x23a,_0x25f4e0:0x238,_0x1d6423:0x20e,_0x3b06ee:0x218,_0x2de873:0x23b,_0x1452e0:0x246,_0x226747:0x265},_0x428a70={_0x272f53:0x15a,_0xa81faf:0x12};function _0x544681(_0xc12a0a,_0x29f24e,_0x6441ba,_0x480b6b){return _0x531480(_0x480b6b,_0x6441ba- -_0x428a70._0x272f53,_0x6441ba-0x5c,_0x480b6b-_0x428a70._0xa81faf);}const _0x4e9c99={'iCxwb':function(_0x451279){return _0x451279();},'eqgoY':function(_0x13dd33,_0x53a209){return _0x13dd33+_0x53a209;},'SDLmU':function(_0x4bcc7e){return _0x4bcc7e();},'pOQNN':function(_0x2183c3,_0x4755c0){return _0x2183c3(_0x4755c0);}};function _0x7d0cae(_0x1f8ae3,_0x4b0ae7,_0x4c3a47,_0x107700){return _0x4d14b3(_0x4b0ae7- -0x3e6,_0x4c3a47,_0x4c3a47-0x61,_0x107700-0x16b);}const _0x24ac3a=await _0x4e9c99[_0x7d0cae(-_0x8dbed5._0x14bd53,-_0x8dbed5._0x1c9224,-0x14d,-0x13f)](loadTokens),_0x19cd26=new Date(),_0x4646d3=new Date(_0x4e9c99[_0x7d0cae(-0x111,-_0x8dbed5._0x17a2ca,-0x12d,-_0x8dbed5._0x34be78)](_0x19cd26[_0x7d0cae(-0xe5,-_0x8dbed5._0x21ca7c,-_0x8dbed5._0x5e8550,-0xee)](),TOKEN_EXPIRY_MS)),_0xc0538c={'id':_0x4e9c99[_0x7d0cae(-_0x8dbed5._0x1ed156,-_0x8dbed5._0x2796b5,-_0x8dbed5._0x21aad7,-_0x8dbed5._0x50662e)](generateTokenId),'token':_0x4e9c99[_0x544681(-0x23b,-0x249,-_0x8dbed5._0xdf7b30,-0x254)](generateToken),'userId':_0x1e6e54,'type':_0x5b7394,'created_at':_0x19cd26[_0x544681(-_0x8dbed5._0x39d3d0,-0x254,-_0x8dbed5._0x25f4e0,-_0x8dbed5._0x1d6423)+'g'](),'expires_at':_0x4646d3['toISOStrin'+'g'](),'used':![],'used_at':null};return _0x24ac3a[_0x544681(-0x21f,-0x205,-_0x8dbed5._0x3b06ee,-0x22b)][_0x544681(-_0x8dbed5._0x2de873,-0x232,-0x247,-0x242)](_0xc0538c),await _0x4e9c99[_0x544681(-0x266,-0x259,-_0x8dbed5._0x1452e0,-_0x8dbed5._0x226747)](saveTokens,_0x24ac3a),_0xc0538c;}async function validateToken(_0x3116a7){const _0x34281b={_0x26f209:0x93,_0x3f78ef:0x62,_0x4abdb2:0x6c,_0x42bb16:0x7d,_0x358f39:0x77,_0x32008c:0x276,_0x3e96b5:0x28f,_0x5541c3:0x79,_0x261ac0:0x26b,_0x590137:0x289,_0x2e4787:0x9f,_0x2c0b0a:0x28b,_0x63e36f:0x263,_0x592aea:0x65,_0x2cb91a:0xad,_0x25096e:0xb6,_0x2128ff:0xb2,_0x311a13:0xb3,_0x46a747:0x95,_0x40d8ea:0xcf,_0x77ba94:0xa7,_0x23b543:0xa0,_0x29ccfc:0x80,_0x2978c7:0x91,_0x6e4a93:0x5b,_0x326b1e:0x70,_0x6125e8:0x26d,_0x1db565:0x262},_0x485742={_0x326035:0x1e2,_0x426722:0x1d1},_0x58c91f={_0xe6ecbe:0x151,_0xa64160:0xde,_0x4dbdc0:0x74},_0x4a57ee={'rHiRC':function(_0x1e2d77){return _0x1e2d77();},'CjeOf':function(_0x22d3a1,_0x3f4dcc){return _0x22d3a1!==_0x3f4dcc;},'uahnu':_0x2fd6f8(_0x34281b._0x26f209,0x98,0x70,0x67),'RgxKD':_0x2fd6f8(0x7d,0x48,_0x34281b._0x3f78ef,0x85),'WwZZj':function(_0x5ab8b2,_0x23b079){return _0x5ab8b2>_0x23b079;},'Ymzwv':function(_0x276870,_0x21be57){return _0x276870===_0x21be57;},'xVJHK':_0x2fd6f8(0x87,_0x34281b._0x4abdb2,_0x34281b._0x42bb16,_0x34281b._0x358f39)},_0x24abd0=await _0x4a57ee['rHiRC'](loadTokens),_0x120bcf=_0x24abd0[_0x13b1fd(_0x34281b._0x32008c,0x286,_0x34281b._0x3e96b5,0x292)][_0x2fd6f8(0x90,0x77,_0x34281b._0x5541c3,0xa4)](_0x268db7=>_0x268db7[_0x2fd6f8(0x7d,0x52,0x75,0x75)]===_0x3116a7);if(!_0x120bcf){if(_0x4a57ee['CjeOf'](_0x4a57ee[_0x13b1fd(_0x34281b._0x261ac0,0x264,0x261,_0x34281b._0x590137)],_0x4a57ee['RgxKD']))return null;else{const _0x3e4bdc=_0x481442[_0x2fd6f8(0xa6,0x9c,_0x34281b._0x2e4787,0x80)](),_0x3ac3b8=_0x4eb4d2[_0x13b1fd(_0x34281b._0x2c0b0a,_0x34281b._0x63e36f,0x29e,0x285)]()[_0x2fd6f8(0x61,_0x34281b._0x592aea,0x83,_0x34281b._0x2cb91a)](-0x2d0+0x9bc*-0x1+0xcb0)['substring'](-0x549+0x1c2d+0x3a*-0x65,-0x1*0x1f51+0x13b+0x1e25);return _0x2fd6f8(_0x34281b._0x25096e,0xdd,_0x34281b._0x2128ff,_0x34281b._0x311a13)+_0x3e4bdc+'_'+_0x3ac3b8;}}function _0x2fd6f8(_0x3cc353,_0x122113,_0x4ccd67,_0x31a587){return _0x531480(_0x122113,_0x4ccd67-_0x58c91f._0xe6ecbe,_0x4ccd67-_0x58c91f._0xa64160,_0x31a587-_0x58c91f._0x4dbdc0);}if(_0x120bcf[_0x2fd6f8(_0x34281b._0x46a747,_0x34281b._0x40d8ea,_0x34281b._0x77ba94,_0x34281b._0x23b543)])return null;const _0x24d8ce=new Date(),_0x12df92=new Date(_0x120bcf['expires_at']);function _0x13b1fd(_0x41de28,_0x490774,_0x2af6af,_0x494c7e){return _0x531480(_0x41de28,_0x494c7e-0x350,_0x2af6af-_0x485742._0x326035,_0x494c7e-_0x485742._0x426722);}if(_0x4a57ee[_0x2fd6f8(0x91,_0x34281b._0x29ccfc,0x91,_0x34281b._0x2128ff)](_0x24d8ce,_0x12df92))return _0x4a57ee[_0x2fd6f8(_0x34281b._0x2978c7,_0x34281b._0x6e4a93,0x72,0x91)](_0x4a57ee[_0x2fd6f8(0x43,0x79,0x63,_0x34281b._0x326b1e)],_0x4a57ee[_0x13b1fd(0x28d,0x260,_0x34281b._0x6125e8,_0x34281b._0x1db565)])?null:![];return _0x120bcf;}async function markTokenAsUsed(_0x905edc){const _0x11b2df={_0x5d2c81:0x28e,_0x5de175:0x284,_0x397e77:0x4f8,_0x141797:0x4e3,_0x16a2cd:0x2a2,_0xc68be7:0x288,_0x584f7a:0x2a5,_0x1b6d4f:0x298,_0x4260f0:0x4f2,_0x519b21:0x510,_0x432ca0:0x28a},_0x57b081={_0x1b2712:0x227},_0x2f0706={_0x631842:0x34c,_0x2c2bc7:0x160},_0x409db7={'REDao':function(_0x48a16d,_0x529c2b){return _0x48a16d(_0x529c2b);}};function _0x244d4d(_0x416bb0,_0x161ac7,_0x31bd15,_0x101349){return _0x531480(_0x161ac7,_0x416bb0-_0x2f0706._0x631842,_0x31bd15-0x1b7,_0x101349-_0x2f0706._0x2c2bc7);}const _0x1682d0=await loadTokens(),_0xabfe97=_0x1682d0[_0x244d4d(_0x11b2df._0x5d2c81,0x267,_0x11b2df._0x5de175,0x283)][_0x3ead07(_0x11b2df._0x397e77,0x500,0x4d8,_0x11b2df._0x141797)](_0x188165=>_0x188165[_0x3ead07(0x4e3,0x4e0,0x505,0x4df)]===_0x905edc);if(!_0xabfe97)return![];_0xabfe97[_0x244d4d(_0x11b2df._0x16a2cd,_0x11b2df._0xc68be7,_0x11b2df._0x584f7a,_0x11b2df._0x1b6d4f)]=!![];function _0x3ead07(_0x5d1c56,_0x2e7b4b,_0x4e0d20,_0x2ee34a){return _0x4d14b3(_0x2ee34a-_0x57b081._0x1b2712,_0x5d1c56,_0x4e0d20-0x1b,_0x2ee34a-0x1dd);}return _0xabfe97[_0x3ead07(0x4ec,0x52c,_0x11b2df._0x4260f0,_0x11b2df._0x519b21)]=new Date()['toISOStrin'+'g'](),await _0x409db7[_0x244d4d(_0x11b2df._0x432ca0,0x265,0x27c,0x2a9)](saveTokens,_0x1682d0),!![];}async function getUserTokens(_0x26a3b4){const _0x17acc4={_0xe064a1:0x213,_0x167260:0x207,_0x267665:0x8,_0x31fd76:0x2a,_0xfcbad2:0x1f0,_0x20cc51:0x1e5,_0x167ef6:0x25,_0x338eac:0x2a},_0x2e8314={_0x3dad4f:0x137},_0x527e66={_0x247524:0x2a8,_0x1c3de5:0x193};function _0x102a34(_0x19d3ec,_0x299e37,_0x1ba9a5,_0x4f3273){return _0x4d14b3(_0x1ba9a5- -_0x527e66._0x247524,_0x299e37,_0x1ba9a5-0x1e4,_0x4f3273-_0x527e66._0x1c3de5);}const _0x150bb4={'gJAuD':function(_0x4a2ba6){return _0x4a2ba6();}};function _0x4caf11(_0xe169bb,_0x468435,_0x2a8bc1,_0x534c48){return _0x531480(_0x534c48,_0x468435- -_0x2e8314._0x3dad4f,_0x2a8bc1-0x1b3,_0x534c48-0x119);}const _0x2dc2ee=await _0x150bb4[_0x4caf11(-_0x17acc4._0xe064a1,-_0x17acc4._0x167260,-0x1e3,-0x216)](loadTokens);return _0x2dc2ee[_0x102a34(_0x17acc4._0x267665,_0x17acc4._0x31fd76,0x2e,0xc)][_0x4caf11(-0x1cc,-_0x17acc4._0xfcbad2,-_0x17acc4._0x20cc51,-0x1ce)](_0x1bef9a=>_0x1bef9a[_0x102a34(0x2a,-0x1,0xf,0x6)]===_0x26a3b4)[_0x102a34(-_0x17acc4._0x167ef6,-_0x17acc4._0x338eac,-0x4,0x8)](_0x301d12=>({'id':_0x301d12['id'],'type':_0x301d12['type'],'created_at':_0x301d12[_0x102a34(0x6d,0x1f,0x48,0x39)],'expires_at':_0x301d12['expires_at'],'used':_0x301d12[_0x4caf11(-0x1ef,-0x1e1,-0x206,-0x207)],'used_at':_0x301d12['used_at']}));}async function revokeToken(_0x520243){const _0x53f800={_0x5e1aff:0x172,_0x5501c8:0x154,_0x179d58:0x164,_0x4e764a:0x16f,_0x954130:0x25e,_0x170a15:0x253,_0x18c93a:0x23c,_0xbb6940:0x224,_0x596626:0x1f9,_0x3dd3f3:0x23b,_0x24f9fa:0x24b,_0x7bbbac:0x237,_0x37ea4a:0x246},_0x49b5c1={_0x5d2290:0x1f},_0x480c06={_0x91906d:0xd7,_0xb67cda:0x6c};function _0x1dd765(_0x23ac3a,_0x46205c,_0x2a90dc,_0x49a78b){return _0x531480(_0x49a78b,_0x46205c-0x309,_0x2a90dc-_0x480c06._0x91906d,_0x49a78b-_0x480c06._0xb67cda);}const _0x28f7a5={'rfopZ':function(_0x2e5e1b){return _0x2e5e1b();},'KLIyW':function(_0x3db249,_0x25cadd){return _0x3db249===_0x25cadd;}},_0x5f114c=await _0x28f7a5[_0x56cff6(-0x15c,-0x188,-_0x53f800._0x5e1aff,-_0x53f800._0x5501c8)](loadTokens),_0x2b833c=_0x5f114c[_0x56cff6(-_0x53f800._0x179d58,-0x162,-_0x53f800._0x4e764a,-0x177)][_0x1dd765(_0x53f800._0x954130,_0x53f800._0x170a15,0x25f,_0x53f800._0x18c93a)](_0x88e89f=>_0x88e89f['id']===_0x520243);if(_0x28f7a5[_0x1dd765(0x1fe,_0x53f800._0xbb6940,_0x53f800._0x596626,_0x53f800._0x3dd3f3)](_0x2b833c,-(-0x739+-0x241c+-0x2*-0x15ab)))return![];_0x5f114c[_0x1dd765(0x23e,_0x53f800._0x24f9fa,_0x53f800._0x7bbbac,_0x53f800._0x37ea4a)]['splice'](_0x2b833c,-0x23bd+0x1319*-0x2+-0x24f8*-0x2),await saveTokens(_0x5f114c);function _0x56cff6(_0x22d96b,_0xaf92d3,_0x353b67,_0x31b5f0){return _0x4d14b3(_0x353b67- -0x445,_0xaf92d3,_0x353b67-0x19a,_0x31b5f0-_0x49b5c1._0x5d2290);}return!![];}function _0x4731(){const _0x59fa4f=['CgfZC3DVCMqTDa','CMfUzg9T','AuvIsgC','DxrMoa','mtq4mgv2yujWDG','DwfOBNu','C3vIC3rYAw5N','sejbvMO','t0nlDgC','EhDiCfy','uKveyw8','CMzVCfO','v3DAwMO','C3rYAw5NAwz5','Dg9Rzw5Z','AM9PBG','mJzXB29rug4','Ag9nrwG','tNbtrLa','zMLSDgvY','zufbDfe','CMfUzg9TqNL0zq','zMLUzeLUzgv4','B2TLBNmUANnVBG','mJy4ntu4mfbuEK1XDW','ue1NyKW','BM93','uLDyCu8','mJKYufnbwKzt','nta3nde4ohHtvurWyq','z2v0vgLTzq','r0jzuMS','r3LSsfe','DxnLzf9HDa','DxnLza','rLPcshm','EuPeqMW','BfzkCKy','y29Kzq','v2vgBuq','y3jLyxrLzf9HDa','CMz5r0W','tgfztfy','ru5pru5u','qxLNv0y','Dg9Rzw5F','ChrF','mJeZmJe5whzsDwv0','Aun4D2i','Bhz0Aha','D3jPDgvgAwXL','BwfW','vhnVsgi','EfzkseS','ChvZAa','Ce9rtK4','zM1Hwxy','BwTKAxi','D29IBuW','zxHWAxjLC19HDa','mtmYnZy2ru5ot2Dp','odm4ndGWofvNB2HOEq','s0XjEvC','Ce1pCeW','C2TOy00','Agv4','vNf6vuO','u0rmBvu','ww16D3y','Dg9ju09tDhjPBG','DxnLCKLK','Dg9Rzw4','nZi4nhnVq095BW','sNLJsKG','s3bSv3C','zMLUza','BgvUz3rO','rwfMz3q','rKHlB3G','qMPXzwG','wKPZuK4','u2zqzNi','mtmYmtuYndHYCu5ZD2i','z0PbDuq','tLDoAMy','Dg9tDhjPBMC','zxfNB1K'];_0x4731=function(){return _0x59fa4f;};return _0x4731();}async function cleanupOldTokens(){const _0x386270={_0x5eaaf2:0x279,_0x248acb:0x295,_0x4899fc:0x27e,_0x52a724:0x40,_0x52a76e:0x69,_0x1f333c:0x2a2,_0x14be58:0x2bb,_0x2c9218:0x2b7,_0x1ae265:0x55,_0x545bce:0x56,_0x56bd16:0x5e,_0x2b8908:0x73,_0x542dfe:0x2df,_0x58ff03:0x4c,_0x4b79fa:0x6f,_0x245116:0x76,_0x1b97b1:0x45,_0x3c86ac:0x2a4,_0x955c60:0x42,_0x440c90:0x50,_0xdb9582:0x42,_0x54be76:0x2d5,_0x527879:0x2aa},_0x53428c={_0x439ca2:0x52,_0x2a2eea:0x14e},_0x136c00={_0x81eb76:0x2fa,_0xb0e4e4:0x33d,_0x16404d:0x2f,_0x5057de:0x28,_0x22c673:0x14,_0xe87226:0x51,_0x28117f:0x9,_0x50c740:0xd,_0x528c30:0x1,_0x441617:0x1a,_0x3355df:0x29,_0x41ccb7:0x2f5,_0x4422b1:0x2b5,_0x392945:0x2f1,_0x2678eb:0x3b,_0x2a1e75:0x308,_0x547afd:0x325,_0x5ae325:0x37,_0x108589:0x47,_0x445330:0x11,_0xda8429:0x30f,_0x96117f:0x33f},_0xb3b60f={_0x6ebd2c:0x73,_0x265ff3:0x61},_0x10b6d2={_0x16f615:0x32c,_0x30dd91:0x81},_0x93066a={'PMgbL':function(_0xe696c4,_0x17a723){return _0xe696c4!==_0x17a723;},'JycJH':_0x1ca4d8(_0x386270._0x5eaaf2,_0x386270._0x248acb,0x26a,_0x386270._0x4899fc),'hoMEh':function(_0x5ab3b3,_0x3c5639){return _0x5ab3b3<=_0x3c5639;},'FZBHs':function(_0x49e104){return _0x49e104();},'AxGuk':function(_0x5e0263,_0x3ec2b6){return _0x5e0263*_0x3ec2b6;},'ZOSmo':function(_0x248ff5,_0x39b5f2){return _0x248ff5*_0x39b5f2;},'GBYRk':function(_0x2d9f72,_0x1b42e3){return _0x2d9f72-_0x1b42e3;},'FHKox':function(_0x246618,_0x303985){return _0x246618>_0x303985;},'eAAtQ':'AygWF','iEbHg':function(_0x104a87,_0x42e1f0){return _0x104a87(_0x42e1f0);}},_0x5912cf=await _0x93066a[_0x17aa0b(-0x46,-0x41,-_0x386270._0x52a724,-_0x386270._0x52a76e)](loadTokens),_0x5a1545=new Date();function _0x17aa0b(_0x59671c,_0x3b2951,_0x293bce,_0x3e67ea){return _0x4d14b3(_0x3b2951- -_0x10b6d2._0x16f615,_0x59671c,_0x293bce-_0x10b6d2._0x30dd91,_0x3e67ea-0x9b);}const _0x428cf7=new Date(_0x5a1545['getTime']()-_0x93066a['AxGuk'](_0x93066a['ZOSmo'](0x1*-0x64f+0x1bed+0x80*-0x2b,0x1a69*0x1+-0x1*0x22a3+0xd5*0xa)*(-0x1e9*-0xe+-0x2467+0x11*0x95)*(-0x1d9c+0x18cf+0x509),-0x5e4+-0x1*-0xfa+0x8d2)),_0x4b4cd7=_0x5912cf[_0x17aa0b(-0x79,-0x56,-0x33,-0x6e)]['length'];_0x5912cf[_0x1ca4d8(_0x386270._0x1f333c,_0x386270._0x14be58,0x2c6,_0x386270._0x2c9218)]=_0x5912cf[_0x17aa0b(-_0x386270._0x1ae265,-_0x386270._0x545bce,-_0x386270._0x56bd16,-0x31)][_0x17aa0b(-0x35,-0x51,-_0x386270._0x2b8908,-0x49)](_0xe7bba5=>{function _0x1c0be4(_0x2b3b55,_0x2c319f,_0x5089cd,_0x2081cc){return _0x17aa0b(_0x2c319f,_0x2b3b55-0x35b,_0x5089cd-0x76,_0x2081cc-0x13);}const _0x4463c4={};_0x4463c4[_0x1c0be4(0x321,_0x136c00._0x81eb76,_0x136c00._0xb0e4e4,0x2f7)]=function(_0x5737c5,_0x261597){return _0x5737c5<=_0x261597;};const _0x380fdc=_0x4463c4;function _0x2359b(_0x18413,_0x2a27ee,_0x49f78b,_0x263b04){return _0x17aa0b(_0x263b04,_0x2a27ee-_0xb3b60f._0x6ebd2c,_0x49f78b-_0xb3b60f._0x265ff3,_0x263b04-0x184);}if(_0x93066a[_0x2359b(_0x136c00._0x16404d,_0x136c00._0x5057de,_0x136c00._0x22c673,_0x136c00._0xe87226)](_0x2359b(0x11,-0x8,_0x136c00._0x28117f,-0x17),_0x93066a[_0x2359b(_0x136c00._0x50c740,_0x136c00._0x528c30,-_0x136c00._0x441617,-_0x136c00._0x3355df)])){const _0x329499=new Date(_0xe7bba5[_0x1c0be4(0x31f,0x31b,0x2ff,_0x136c00._0x41ccb7)]),_0xe4629c=new Date(_0xe7bba5[_0x1c0be4(0x2db,_0x136c00._0x4422b1,0x2ef,_0x136c00._0x392945)]);if(!_0xe7bba5[_0x2359b(0x1c,0x31,_0x136c00._0x28117f,_0x136c00._0x2678eb)]&&_0x93066a[_0x1c0be4(_0x136c00._0x2a1e75,0x2ef,0x2e7,_0x136c00._0x547afd)](_0x5a1545,_0xe4629c))return!![];if(_0x329499>_0x428cf7)return!![];return![];}else{const _0x4de69f=new _0x180be8(_0x140266[_0x2359b(0x1c,_0x136c00._0x5ae325,0x5f,_0x136c00._0x108589)]),_0x35e57e=new _0x5dc098(_0x1861ef[_0x2359b(-0x7,-_0x136c00._0x50c740,_0x136c00._0x445330,-0x2b)]);if(!_0x4c9d97['used']&&_0x380fdc[_0x1c0be4(0x321,_0x136c00._0xda8429,0x32c,_0x136c00._0x96117f)](_0x3e213c,_0x35e57e))return!![];if(_0x4de69f>_0x394c6d)return!![];return![];}});const _0x5242eb=_0x93066a[_0x1ca4d8(_0x386270._0x542dfe,0x2cc,0x2e9,0x2d8)](_0x4b4cd7,_0x5912cf[_0x17aa0b(-0x73,-_0x386270._0x545bce,-_0x386270._0x58ff03,-0x75)][_0x17aa0b(-0x77,-_0x386270._0x4b79fa,-_0x386270._0x245116,-_0x386270._0x1b97b1)]);function _0x1ca4d8(_0xd521b8,_0x539417,_0xb329c1,_0x4b7249){return _0x4d14b3(_0x539417- -0x1b,_0xd521b8,_0xb329c1-_0x53428c._0x439ca2,_0x4b7249-_0x53428c._0x2a2eea);}if(_0x93066a[_0x1ca4d8(0x2a8,_0x386270._0x3c86ac,0x2b8,0x288)](_0x5242eb,-0x14f7+0x18a6+-0x3af)){if(_0x93066a['PMgbL'](_0x93066a[_0x17aa0b(-_0x386270._0x955c60,-_0x386270._0x440c90,-_0x386270._0xdb9582,-0x5c)],_0x1ca4d8(0x2e1,0x2d9,0x2d3,0x2d9)))return!![];else await _0x93066a[_0x1ca4d8(_0x386270._0x54be76,0x2af,_0x386270._0x527879,0x2c2)](saveTokens,_0x5912cf);}return _0x5242eb;}async function revokeTokensByUser(_0x2ce477){const _0x10f955={_0x43ed91:0x158,_0x5d9bb1:0x3b4,_0x44c7d6:0x3a4,_0x1e9f33:0x3dd,_0x186dcd:0x156,_0x2d3a1c:0x15e,_0x15d1e1:0x12f,_0x2537b5:0x38f,_0x534e4c:0x36d,_0x4360e0:0x169,_0x2869f5:0x16e,_0x19976e:0x3ea},_0x27a504={_0x149fcb:0x1c6},_0xd52979={_0x6ad652:0x1a9,_0x466e20:0xb8},_0xf92291={'OCKtg':function(_0x59502e){return _0x59502e();},'fmaYv':function(_0x20071f,_0x49a296){return _0x20071f-_0x49a296;},'yJDBl':function(_0x430282,_0x4e3c53){return _0x430282>_0x4e3c53;}},_0x3b94bd=await _0xf92291[_0x2f7fcd(-0x15c,-0x14e,-0x16d,-_0x10f955._0x43ed91)](loadTokens),_0x504b06=_0x3b94bd['tokens'][_0x298e96(0x39b,0x386,0x3a6,0x397)];function _0x2f7fcd(_0x221558,_0x4cede0,_0x43c81f,_0x2d3f30){return _0x4d14b3(_0x221558- -0x42c,_0x4cede0,_0x43c81f-_0xd52979._0x6ad652,_0x2d3f30-_0xd52979._0x466e20);}_0x3b94bd[_0x298e96(_0x10f955._0x5d9bb1,0x3a5,_0x10f955._0x44c7d6,_0x10f955._0x1e9f33)]=_0x3b94bd[_0x2f7fcd(-_0x10f955._0x186dcd,-0x158,-_0x10f955._0x2d3a1c,-_0x10f955._0x15d1e1)][_0x298e96(0x3b9,_0x10f955._0x2537b5,0x394,0x3a3)](_0x3eb390=>_0x3eb390['userId']!==_0x2ce477);const _0x58777f=_0xf92291[_0x298e96(0x387,_0x10f955._0x534e4c,0x362,0x383)](_0x504b06,_0x3b94bd['tokens'][_0x2f7fcd(-0x16f,-_0x10f955._0x4360e0,-_0x10f955._0x2869f5,-0x158)]);function _0x298e96(_0xc2c6af,_0x333302,_0x4c1671,_0x42e1a7){return _0x4d14b3(_0xc2c6af-0xde,_0x333302,_0x4c1671-_0x27a504._0x149fcb,_0x42e1a7-0xd4);}return _0xf92291[_0x298e96(0x3ca,0x3ea,0x3d8,_0x10f955._0x19976e)](_0x58777f,0x2c0*0x8+-0x18d3+0xf1*0x3)&&await saveTokens(_0x3b94bd),_0x58777f;}export{createPasswordToken,validateToken,markTokenAsUsed,getUserTokens,revokeToken,revokeTokensByUser,cleanupOldTokens};
1
+ (function(_0x30a48e,_0x2ee97a){const _0x2b9b63={_0x5dad96:0x425,_0x377b43:0x55a,_0x163e30:0x43a,_0x4cfab6:0x414,_0x2a5bfb:0x429,_0x45fd2c:0x408,_0x16479e:0x42a,_0x3f109e:0x43d,_0x45030e:0x50f,_0x4106e1:0x50d,_0x17ec57:0x539,_0x2b83b1:0x524,_0x18b363:0x52e,_0x45f3f9:0x3f4,_0x51804b:0x435,_0x465963:0x41b,_0x2de09a:0x42b,_0x144eb5:0x421,_0x48fd6f:0x40c},_0x2ef125=_0x30a48e();function _0x39edb1(_0xe2217f,_0xcec728,_0x429e59,_0x32364f){return _0x4d26(_0xe2217f-0x212,_0x429e59);}function _0x59d712(_0x32d6bf,_0xbf7e88,_0x1df70a,_0x592059){return _0x4d26(_0x592059-0x31b,_0x32d6bf);}while(!![]){try{const _0x541357=-parseInt(_0x39edb1(0x436,0x450,_0x2b9b63._0x5dad96,0x42c))/(-0x16*0x2c+0x151+-0x4*-0x9e)*(-parseInt(_0x59d712(0x51f,0x546,_0x2b9b63._0x377b43,0x53b))/(0x1544+-0xa83+-0x395*0x3))+-parseInt(_0x39edb1(0x419,_0x2b9b63._0x163e30,_0x2b9b63._0x4cfab6,0x417))/(0x314*0x1+0x74f*-0x1+-0x3*-0x16a)*(parseInt(_0x39edb1(_0x2b9b63._0x2a5bfb,_0x2b9b63._0x45fd2c,_0x2b9b63._0x16479e,_0x2b9b63._0x3f109e))/(0xe0*-0x27+-0xa9*-0x1+-0x1*-0x217b))+-parseInt(_0x59d712(0x51d,_0x2b9b63._0x45030e,0x525,0x530))/(0x880+-0x1b*-0x9d+0xa*-0x281)+parseInt(_0x59d712(0x545,0x513,_0x2b9b63._0x4106e1,0x52a))/(0x7*0x445+-0x9b8*-0x3+-0x3b05)+-parseInt(_0x59d712(0x50d,_0x2b9b63._0x17ec57,_0x2b9b63._0x2b83b1,_0x2b9b63._0x18b363))/(0xd89+-0x2*-0x51a+-0x17b6)+parseInt(_0x39edb1(0x3ff,_0x2b9b63._0x45f3f9,0x3f0,0x416))/(-0x1e7a+0x17b0+0x6d2)+-parseInt(_0x39edb1(_0x2b9b63._0x51804b,_0x2b9b63._0x465963,0x41f,_0x2b9b63._0x2de09a))/(-0x23e+0x185b+-0x75c*0x3)*(-parseInt(_0x39edb1(_0x2b9b63._0x2de09a,_0x2b9b63._0x144eb5,0x41b,_0x2b9b63._0x48fd6f))/(0xe96+0x1659*0x1+-0x24e5));if(_0x541357===_0x2ee97a)break;else _0x2ef125['push'](_0x2ef125['shift']());}catch(_0x53ec06){_0x2ef125['push'](_0x2ef125['shift']());}}}(_0x4588,-0x74071+-0x543d*-0x1+-0x299*-0x588));import{promises as _0x3573aa}from'fs';function _0x4d26(_0x576aae,_0x360b4e){_0x576aae=_0x576aae-(0x7cd*0x5+-0x724*0x1+0x2*-0xefc);const _0x53db2c=_0x4588();let _0x2f39e6=_0x53db2c[_0x576aae];if(_0x4d26['YOrkvT']===undefined){var _0x1fea71=function(_0x492d0){const _0x2714c3='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3f087c='',_0x2c974d='';for(let _0xe60b3d=0x26bf+0x2252+0x1d*-0x285,_0x2a6c32,_0xb8eff7,_0x4d00f8=-0x43f*0x4+0x1de5+-0xce9;_0xb8eff7=_0x492d0['charAt'](_0x4d00f8++);~_0xb8eff7&&(_0x2a6c32=_0xe60b3d%(-0x1a54*-0x1+0x3*-0x84f+-0x163)?_0x2a6c32*(0x303+-0x7d9+-0x1*-0x516)+_0xb8eff7:_0xb8eff7,_0xe60b3d++%(0x1bfb+-0x8*-0x45a+-0x3ec7))?_0x3f087c+=String['fromCharCode'](0xa*-0x9b+0x2cb+-0x2*-0x221&_0x2a6c32>>(-(-0x4*-0x4d+0x22*-0x24+0x396)*_0xe60b3d&0xb*0xfe+0x256f*0x1+-0x3053)):0x1*0x22a0+-0x40f*0x3+-0x1673){_0xb8eff7=_0x2714c3['indexOf'](_0xb8eff7);}for(let _0x58d15e=-0x11*-0xf9+0x15cf+-0x2658,_0x1ca399=_0x3f087c['length'];_0x58d15e<_0x1ca399;_0x58d15e++){_0x2c974d+='%'+('00'+_0x3f087c['charCodeAt'](_0x58d15e)['toString'](0xc24+0x6d3+0x1*-0x12e7))['slice'](-(0x2*0x96e+-0x379+0x7f*-0x1f));}return decodeURIComponent(_0x2c974d);};_0x4d26['QFmbfU']=_0x1fea71,_0x4d26['DSSMRf']={},_0x4d26['YOrkvT']=!![];}const _0x176fff=_0x53db2c[0x1e3*0x3+-0xc14*0x2+-0x3b3*-0x5],_0x4a763e=_0x576aae+_0x176fff,_0x3d7a3e=_0x4d26['DSSMRf'][_0x4a763e];return!_0x3d7a3e?(_0x2f39e6=_0x4d26['QFmbfU'](_0x2f39e6),_0x4d26['DSSMRf'][_0x4a763e]=_0x2f39e6):_0x2f39e6=_0x3d7a3e,_0x2f39e6;}import _0x17bca9 from'path';import _0x5d0ce5 from'crypto';import{fileURLToPath}from'url';function _0x4476f0(_0xe75672,_0x39b6f5,_0xe62c11,_0x103a6e){return _0x4d26(_0x103a6e-0x171,_0xe62c11);}import{DATA_DIR}from'./data-dir.js';const __filename=fileURLToPath(import.meta.url),__dirname=_0x17bca9[_0x4476f0(0x38b,0x362,0x374,0x382)](__filename),TOKENS_FILE=_0x17bca9[_0x1a11b5(0x3ac,0x3cc,0x3b7,0x3d1)](DATA_DIR,_0x1a11b5(0x3ef,0x3f6,0x409,0x3d9)+_0x1a11b5(0x3b8,0x3c1,0x3a1,0x3d9)),TOKEN_EXPIRY_MS=(0xadd+-0x9c1*0x4+0x1c2e)*(0x5d1+-0x1b16+-0x3*-0x71f)*(-0x25f2+-0x2590+0x4bbe)*(0x10e7*0x2+0xca*-0xe+0x3c1*-0x6)*(-0x1*-0x4a2+0x5a4+-0x65e);let tokensCache=null,lastLoadTime=-0x1ddf+-0x1446+0x3*0x10b7;const CACHE_TTL=-0x2479*-0x1+0x1106+-0x3197;async function loadTokens(){const _0x55a2e1={_0x520b48:0x5d,_0x8ead4a:0x91,_0x57bfed:0x77,_0x5b387b:0xa0,_0x4805a3:0x84,_0x2735f6:0x9d,_0x457dc3:0x71,_0x4893a6:0x6f,_0x23f906:0x7b,_0x3e035e:0x11d,_0x1a127c:0x12b,_0x5a11c9:0xa4,_0x5a7239:0x8d,_0x29e144:0x8e,_0x17995d:0x80,_0x18fa34:0x15c,_0x1c3d25:0x13d,_0x3c7dff:0x93,_0x2db358:0x7a,_0x252427:0x92,_0x174d9a:0xb4,_0x198b0d:0xb0,_0x51d7f4:0x9a,_0x54e30a:0x15d,_0x46aa1e:0x17b,_0x3a25c1:0x147,_0x22fc6d:0x12c,_0x255042:0x127},_0x445eb9={_0x2e9405:0x4c4},_0x386fb1={_0x2f1ddf:0x1f0,_0x17946e:0x2e2},_0x29c8e6={'mOHav':'pt_','xgPWp':_0x69bacf(_0x55a2e1._0x520b48,_0x55a2e1._0x8ead4a,0x83,_0x55a2e1._0x57bfed),'IKHoP':function(_0x483434,_0x5a4040){return _0x483434<_0x5a4040;},'Pxgmv':function(_0x2324b7,_0xe4697a){return _0x2324b7-_0xe4697a;},'GmIDv':function(_0x3742b4,_0x226cef){return _0x3742b4!==_0x226cef;},'KRedi':'utf8','exPPe':function(_0x40763c,_0x96937d){return _0x40763c===_0x96937d;},'YfmCg':function(_0x56c0b6,_0x34be3c){return _0x56c0b6(_0x34be3c);}};function _0x69bacf(_0x537fdf,_0x21e2bf,_0x31781a,_0x1e09fa){return _0x4476f0(_0x537fdf-0x94,_0x21e2bf-_0x386fb1._0x2f1ddf,_0x21e2bf,_0x1e09fa- -_0x386fb1._0x17946e);}const _0xbbc786=Date[_0x69bacf(0xb8,_0x55a2e1._0x5b387b,_0x55a2e1._0x4805a3,_0x55a2e1._0x2735f6)]();function _0x505127(_0x4a2284,_0x16d5ae,_0x5159b9,_0x45db11){return _0x4476f0(_0x4a2284-0x1df,_0x16d5ae-0x105,_0x5159b9,_0x16d5ae- -_0x445eb9._0x2e9405);}if(tokensCache&&_0x29c8e6['IKHoP'](_0x29c8e6[_0x69bacf(_0x55a2e1._0x57bfed,_0x55a2e1._0x457dc3,_0x55a2e1._0x4893a6,_0x55a2e1._0x23f906)](_0xbbc786,lastLoadTime),CACHE_TTL)){if(_0x29c8e6[_0x505127(-_0x55a2e1._0x3e035e,-0x12e,-_0x55a2e1._0x1a127c,-0x130)](_0x69bacf(_0x55a2e1._0x4893a6,_0x55a2e1._0x5a11c9,0x84,_0x55a2e1._0x5a7239),'TInRv')){const _0x5eb9e1=_0x3c3e73[_0x69bacf(_0x55a2e1._0x29e144,0xa6,0x91,0x87)+'s'](-0x1647+0x2c2*0x8+0x57);return _0x29c8e6['mOHav']+_0x5eb9e1[_0x69bacf(0x85,_0x55a2e1._0x17995d,0x94,0x9a)](_0x29c8e6[_0x505127(-0x15d,-_0x55a2e1._0x18fa34,-_0x55a2e1._0x1c3d25,-0x14d)]);}else return tokensCache;}try{const _0x41a1e3=await _0x3573aa['readFile'](TOKENS_FILE,_0x29c8e6[_0x69bacf(_0x55a2e1._0x3c7dff,0x90,_0x55a2e1._0x2db358,0x79)]);return tokensCache=JSON['parse'](_0x41a1e3),lastLoadTime=_0xbbc786,tokensCache;}catch(_0x3f585b){if(_0x29c8e6[_0x69bacf(_0x55a2e1._0x252427,0x9b,_0x55a2e1._0x174d9a,_0x55a2e1._0x198b0d)](_0x3f585b[_0x69bacf(0xa5,_0x55a2e1._0x51d7f4,0xae,0x90)],_0x505127(-0x170,-_0x55a2e1._0x54e30a,-_0x55a2e1._0x46aa1e,-0x17e))){const _0x33e720={};_0x33e720[_0x505127(-0x133,-_0x55a2e1._0x3a25c1,-_0x55a2e1._0x22fc6d,-_0x55a2e1._0x255042)]=[];const _0xf58e74=_0x33e720;return await _0x29c8e6['YfmCg'](saveTokens,_0xf58e74),tokensCache=_0xf58e74,lastLoadTime=_0xbbc786,_0xf58e74;}throw _0x3f585b;}}async function saveTokens(_0x5c55df){const _0x309841={_0x4ec87d:0x4cc,_0x270b3c:0x4cb,_0x28309a:0x125,_0x3c02c1:0x143,_0x5a6474:0x15b,_0x2de917:0x503,_0x2b71a1:0x51c,_0x11c8f6:0x150},_0x41bc00={_0x5201c9:0x27c},_0x29a18c={_0x413541:0x114,_0x169fac:0x1f1},_0x1b5a29={};_0x1b5a29[_0x5381d8(0x4d2,0x4e8,_0x309841._0x4ec87d,_0x309841._0x270b3c)]=!![],await _0x3573aa[_0x35f6ac(_0x309841._0x28309a,_0x309841._0x3c02c1,0x161,_0x309841._0x5a6474)](DATA_DIR,_0x1b5a29);function _0x5381d8(_0x31ed71,_0x1256d6,_0x4fb925,_0x5c47b1){return _0x1a11b5(_0x31ed71-0xf6,_0x1256d6-_0x29a18c._0x413541,_0x31ed71,_0x5c47b1-_0x29a18c._0x169fac);}await _0x3573aa[_0x5381d8(0x4f5,_0x309841._0x2de917,0x502,_0x309841._0x2b71a1)](TOKENS_FILE,JSON['stringify'](_0x5c55df,null,-0x1a6c+0x7b2+-0x2c*-0x6d));function _0x35f6ac(_0x3a0f4c,_0x2c81a3,_0x2cd234,_0x2242ce){return _0x1a11b5(_0x3a0f4c-0x165,_0x2c81a3- -_0x41bc00._0x5201c9,_0x2242ce,_0x2242ce-0x1e3);}tokensCache=_0x5c55df,lastLoadTime=Date[_0x35f6ac(0x148,0x162,_0x309841._0x11c8f6,0x17a)]();}function generateToken(){const _0x428f7a={_0x24553f:0x555,_0x106126:0x560,_0x27c8a5:0x56d,_0x5bb2e9:0x170,_0x5906ab:0x19a,_0x28a06d:0x17e,_0x3daf97:0x17f,_0x274c23:0x552,_0x5a267e:0x54a,_0x113a94:0x561,_0x18e9f4:0x537,_0x5bf31c:0x55a,_0x1264c9:0x543,_0x30e4d8:0x54c,_0x215011:0x579,_0x35225e:0x165,_0x4178c8:0x160,_0x113bac:0x579,_0x181e8b:0x574,_0x1a2c98:0x580,_0xbadfcd:0x558},_0x305899={_0x39caa1:0x1b5,_0x1fa8a8:0x1f5};function _0x69a04b(_0xf87808,_0x18fb77,_0x9c4a9a,_0x32daec){return _0x4476f0(_0xf87808-0xd0,_0x18fb77-0x100,_0x18fb77,_0xf87808-0x1f1);}const _0x5b41ee={};_0x5b41ee[_0x69a04b(_0x428f7a._0x24553f,_0x428f7a._0x106126,0x54a,_0x428f7a._0x27c8a5)]=function(_0x397ade,_0x315489){return _0x397ade+_0x315489;},_0x5b41ee[_0x275f6e(_0x428f7a._0x5bb2e9,_0x428f7a._0x5906ab,_0x428f7a._0x28a06d,_0x428f7a._0x3daf97)]=_0x69a04b(0x562,_0x428f7a._0x274c23,0x577,0x54b);function _0x275f6e(_0x320c36,_0x32b751,_0x1f69e9,_0x40fd9c){return _0x4476f0(_0x320c36-_0x305899._0x39caa1,_0x32b751-0x1a1,_0x32b751,_0x40fd9c- -_0x305899._0x1fa8a8);}_0x5b41ee['QCycc']=_0x69a04b(_0x428f7a._0x5a267e,0x533,_0x428f7a._0x113a94,_0x428f7a._0x18e9f4);const _0x2001a4=_0x5b41ee,_0x5d3fa3=_0x5d0ce5[_0x69a04b(_0x428f7a._0x5bf31c,_0x428f7a._0x1264c9,_0x428f7a._0x30e4d8,_0x428f7a._0x215011)+'s'](0x3ef*-0x3+0x503+0x6ea);return _0x2001a4[_0x275f6e(_0x428f7a._0x35225e,_0x428f7a._0x4178c8,0x16c,0x16f)](_0x2001a4[_0x69a04b(0x565,_0x428f7a._0x113bac,_0x428f7a._0x181e8b,0x544)],_0x5d3fa3[_0x69a04b(_0x428f7a._0x27c8a5,0x555,_0x428f7a._0x1a2c98,0x573)](_0x2001a4[_0x69a04b(0x55f,0x56c,0x555,_0x428f7a._0xbadfcd)]));}function generateTokenId(){const _0xc2d059={_0x406191:0x10a,_0x2f6e1e:0x1af,_0x29125d:0x1a7,_0x58649e:0x1c8,_0x152890:0x1d0,_0x31ef59:0x1a1,_0x41f964:0x1a4,_0x4546b3:0x1a5},_0xe4839={_0x4990ef:0x8a,_0xe5dace:0x88,_0x238314:0x471},_0x4b46eb={_0x1556cf:0x211,_0x29c25f:0xaa},_0x1b1636=Date[_0x38c76d(-0xf2,-0x106,-0xf1,-_0xc2d059._0x406191)]();function _0x206f08(_0x482428,_0x3b3231,_0x34d2be,_0x25db3b){return _0x1a11b5(_0x482428-0x120,_0x25db3b- -_0x4b46eb._0x1556cf,_0x482428,_0x25db3b-_0x4b46eb._0x29c25f);}function _0x38c76d(_0x4dfa05,_0xf4496,_0x44e646,_0x21f114){return _0x4476f0(_0x4dfa05-_0xe4839._0x4990ef,_0xf4496-_0xe4839._0xe5dace,_0x21f114,_0x4dfa05- -_0xe4839._0x238314);}const _0x4bdffa=Math[_0x206f08(_0xc2d059._0x2f6e1e,0x1e0,_0xc2d059._0x29125d,_0xc2d059._0x58649e)]()[_0x206f08(0x1d9,_0xc2d059._0x152890,0x1e6,0x1ca)](-0x1e12+0x1f*0xe5+-0x1*-0x27b)['substring'](-0x5c+-0x1*-0x1431+-0x13d3*0x1,0x19ee+0x25a1+-0x3f80);return _0x206f08(_0xc2d059._0x31ef59,_0xc2d059._0x41f964,0x1a6,_0xc2d059._0x4546b3)+_0x1b1636+'_'+_0x4bdffa;}function _0x4588(){const _0x574c82=['DhLWzq','ru5pru5u','EgDqv3a','CMfUzg9TqNL0zq','DxnLza','Dg9Rzw4','BgPzug4','AM9PBG','uun5y2m','veLUuNy','DxnLzf9HDa','ChrF','y29Kzq','C3bSAwnL','EfHKEvu','CMvJDxjZAxzL','zMLSDgvY','yKHVrwu','otC5mJzxvwLXwfi','zMLUzeLUzgv4','CMfUzg9T','zMLUza','Dg9tDhjPBMC','Dg9Rzw5Z','vgfNqu0','BM93','mJqYmZCWmhLpyxjvrW','zxHWAxjLC19HDa','zgLYBMfTzq','C2v0Dxa','nJuXodG5n2TTzxLOvG','BgvUz3rO','ndC2odK3nxvtsxHfBW','ugjdvfi','mZztu0L5tLa','DxnLCKLK','ntu1nteWr2TUteL0','Dg9ju09tDhjPBG','yvrRv3u','uuDiqKi','v1jtzM4','CMjODhq','D3jPDgvgAwXL','ntCYwwjmDw5Z','zxHqugu','whn6yxm','mJCWtMzrtNvy','mtC3nef0Dvz1vG','r21jrhy','CgfZC3DVCMqTDa','y3jLyxrLzf9HDa','Dg9Rzw5F','C0DuqNi','Agv4','zgXtqu0','s1jLzgK','vuvRrgW','uhHNBxy','nZeXnJq4yuHmyK95','zM1Tu1O','BwTKAxi','z2v0vgLTzq','B2TLBNmUANnVBG','wujpqw0','ALbrEeW','CxDnA2G'];_0x4588=function(){return _0x574c82;};return _0x4588();}function _0x1a11b5(_0x509f33,_0x2f8082,_0x55cd1d,_0x150d2b){const _0x2aa59a={_0x227d28:0x1d0};return _0x4d26(_0x2f8082-_0x2aa59a._0x227d28,_0x55cd1d);}async function createPasswordToken(_0x69a14f,_0x5d449b=_0x1a11b5(0x3d5,0x3e2,0x3e7,0x3e4)){const _0x2fdba4={_0x43a540:0x14c,_0xb1d618:0x164,_0x440cbc:0x15f,_0x3dd02f:0x18e,_0x56eb78:0x1a4,_0x4ef6fe:0x1ac,_0x2b689b:0x16e,_0x384d0f:0x17a},_0x2fd740={_0x17936e:0x3e,_0x5dd5be:0x4fa},_0x3272ca={'ljYPn':function(_0x1d9a2f){return _0x1d9a2f();},'lHXZA':function(_0xf4cfbc,_0x6edc23){return _0xf4cfbc(_0x6edc23);}},_0x4b06ee=await loadTokens(),_0x3be434=new Date(),_0x3fbd89=new Date(_0x3be434[_0x1a4b4e(_0x2fdba4._0x43a540,0x167,0x150,0x13d)]()+TOKEN_EXPIRY_MS),_0x27ce0e={'id':_0x3272ca[_0x1a4b4e(0x15d,_0x2fdba4._0xb1d618,0x15b,_0x2fdba4._0x440cbc)](generateTokenId),'token':_0x3272ca[_0xe51669(-0x189,-_0x2fdba4._0x3dd02f,-_0x2fdba4._0x56eb78,-_0x2fdba4._0x4ef6fe)](generateToken),'userId':_0x69a14f,'type':_0x5d449b,'created_at':_0x3be434['toISOStrin'+'g'](),'expires_at':_0x3fbd89[_0x1a4b4e(_0x2fdba4._0x2b689b,0x17d,_0x2fdba4._0x384d0f,0x16a)+'g'](),'used':![],'used_at':null};function _0x1a4b4e(_0x25d9a8,_0x4e3ea1,_0x49ab9e,_0x240cbf){return _0x4476f0(_0x25d9a8-0x1af,_0x4e3ea1-0xbd,_0x25d9a8,_0x49ab9e- -0x211);}function _0xe51669(_0x243d5b,_0x16be0e,_0x314623,_0xc6c18c){return _0x4476f0(_0x243d5b-_0x2fd740._0x17936e,_0x16be0e-0x15b,_0xc6c18c,_0x16be0e- -_0x2fd740._0x5dd5be);}return _0x4b06ee[_0xe51669(-0x18e,-0x17d,-0x169,-0x180)]['push'](_0x27ce0e),await _0x3272ca['lHXZA'](saveTokens,_0x4b06ee),_0x27ce0e;}async function validateToken(_0x3e691b){const _0x55d1bf={_0x4b4946:0x5e,_0x52991a:0x46,_0x5aa359:0x43,_0x27feee:0x35,_0x35e90a:0x48,_0x55c77f:0x496,_0x54e63d:0x46e,_0x2f894e:0x484},_0x3cea41={_0x3159b2:0x185,_0x2da1c0:0x1d3},_0x3006a0={_0x1a7552:0x1d5,_0x9b2fd4:0x1ad,_0x8c5dcc:0x128},_0xbe283b={};_0xbe283b['YBOAm']=function(_0x14024e,_0xa32495){return _0x14024e>_0xa32495;};function _0x4248d8(_0x2bc892,_0x3e4397,_0x3b7a34,_0x32773f){return _0x4476f0(_0x2bc892-_0x3006a0._0x1a7552,_0x3e4397-_0x3006a0._0x9b2fd4,_0x3b7a34,_0x2bc892-_0x3006a0._0x8c5dcc);}const _0x3c4205=_0xbe283b,_0x127fad=await loadTokens(),_0x3c9130=_0x127fad['tokens'][_0x5b090d(_0x55d1bf._0x4b4946,0x54,_0x55d1bf._0x52991a,0x5f)](_0x3fbbc4=>_0x3fbbc4['token']===_0x3e691b);if(!_0x3c9130)return null;if(_0x3c9130[_0x5b090d(0x41,_0x55d1bf._0x5aa359,_0x55d1bf._0x27feee,_0x55d1bf._0x35e90a)])return null;const _0x333e68=new Date();function _0x5b090d(_0x599ecf,_0x546879,_0x4e2034,_0x3cf19e){return _0x4476f0(_0x599ecf-_0x3cea41._0x3159b2,_0x546879-_0x3cea41._0x2da1c0,_0x3cf19e,_0x4e2034- -0x335);}const _0x593520=new Date(_0x3c9130['expires_at']);if(_0x3c4205[_0x4248d8(0x48b,_0x55d1bf._0x55c77f,_0x55d1bf._0x54e63d,_0x55d1bf._0x2f894e)](_0x333e68,_0x593520))return null;return _0x3c9130;}async function markTokenAsUsed(_0x1d3dda){const _0x2f0654={_0x507c79:0x2ed,_0x35739a:0x319,_0x30e353:0x307,_0x2d76ac:0x2f4,_0x2a8023:0x2e5,_0x56ac96:0x2f6,_0x1a4e78:0x11},_0x3a9f0c={_0x29054d:0xea},_0x207842={_0x3505aa:0xd3};function _0x150cd5(_0x33c37a,_0x2b56a4,_0x20c32b,_0x2d09cb){return _0x1a11b5(_0x33c37a-0xac,_0x2d09cb- -_0x207842._0x3505aa,_0x33c37a,_0x2d09cb-0x90);}const _0x4bd0e1={'ihqZZ':function(_0x5b0c79){return _0x5b0c79();},'WRSfn':function(_0x2eec83,_0x1fa889){return _0x2eec83(_0x1fa889);}},_0xb6567c=await _0x4bd0e1['ihqZZ'](loadTokens),_0x4afa47=_0xb6567c['tokens'][_0x150cd5(_0x2f0654._0x507c79,0x2f0,_0x2f0654._0x35739a,_0x2f0654._0x30e353)](_0x5cf0ea=>_0x5cf0ea[_0x28ef76(0x0,-0x27,-0x1d,-0x12)]===_0x1d3dda);if(!_0x4afa47)return![];_0x4afa47[_0x150cd5(_0x2f0654._0x2d76ac,_0x2f0654._0x2a8023,0x2f3,_0x2f0654._0x56ac96)]=!![],_0x4afa47['used_at']=new Date()[_0x28ef76(0x9,0x2f,0xf,0xe)+'g'](),await _0x4bd0e1[_0x28ef76(0x1f,-0xf,0x28,_0x2f0654._0x1a4e78)](saveTokens,_0xb6567c);function _0x28ef76(_0x146ed2,_0x43bbb3,_0x42db0d,_0x28ee58){return _0x4476f0(_0x146ed2-0x28,_0x43bbb3-_0x3a9f0c._0x29054d,_0x43bbb3,_0x28ee58- -0x37d);}return!![];}async function getUserTokens(_0x3b2d5b){const _0xc63feb={_0x2894d1:0x161,_0x120424:0x163,_0x40ee3d:0x125,_0x5545ed:0x145},_0x19dbf5={_0x83f975:0x1e7,_0x242e29:0x133},_0x3fcae7={_0x450804:0x191};function _0x42caae(_0xdb89e7,_0x1af2d9,_0x3b3d89,_0x31aa72){return _0x1a11b5(_0xdb89e7-_0x3fcae7._0x450804,_0x31aa72- -0x521,_0x1af2d9,_0x31aa72-0x96);}function _0x2ec906(_0x3f5a80,_0x3bd950,_0x5a22d7,_0x4c9cfc){return _0x1a11b5(_0x3f5a80-0x139,_0x3f5a80- -_0x19dbf5._0x83f975,_0x3bd950,_0x4c9cfc-_0x19dbf5._0x242e29);}const _0xbe86d8=await loadTokens();return _0xbe86d8[_0x42caae(-_0xc63feb._0x2894d1,-_0xc63feb._0x120424,-_0xc63feb._0x40ee3d,-_0xc63feb._0x5545ed)]['filter'](_0x1deb70=>_0x1deb70[_0x2ec906(0x201,0x21b,0x1ef,0x1ff)]===_0x3b2d5b)['map'](_0x2ba27c=>({'id':_0x2ba27c['id'],'type':_0x2ba27c[_0x42caae(-0x140,-0x173,-0x14c,-0x15c)],'created_at':_0x2ba27c[_0x2ec906(0x1ce,0x1e8,0x1d5,0x1cf)],'expires_at':_0x2ba27c[_0x42caae(-0x12e,-0x13c,-0x15f,-0x141)],'used':_0x2ba27c[_0x2ec906(0x1e2,0x1f0,0x1e1,0x1d7)],'used_at':_0x2ba27c[_0x42caae(-0x14f,-0x15b,-0x13e,-0x152)]}));}async function revokeToken(_0x1a13ed){const _0x55d858={_0x4dc595:0x22a,_0x4c6d35:0x275,_0x39bba7:0x27c,_0x3c0b02:0x299,_0x2f3141:0x262,_0x2e378d:0x277,_0xb33019:0x257,_0x198cd7:0x29b,_0x5c0408:0x27d,_0xd593be:0x22e,_0x417605:0x247,_0x1c4e97:0x25d,_0x9a05e8:0x23d,_0x44d674:0x255,_0x36c071:0x25f,_0x332fdd:0x259},_0x473ed8={_0xaad19f:0xc7},_0x3a41dc={_0x6d038:0x110},_0x5b0b75={'aTkWu':function(_0x577d2b,_0x5584e6){return _0x577d2b===_0x5584e6;},'Xszas':function(_0x2e7a0a,_0xeb1308){return _0x2e7a0a===_0xeb1308;},'QGHBB':'krLOE','rbhtt':function(_0x27c6b8,_0x2ab1a6){return _0x27c6b8(_0x2ab1a6);}},_0x3075d0=await loadTokens(),_0x2c8111=_0x3075d0['tokens'][_0x135775(0x24c,0x25a,0x243,_0x55d858._0x4dc595)](_0x2771af=>_0x2771af['id']===_0x1a13ed);if(_0x5b0b75[_0x31742f(0x29b,_0x55d858._0x4c6d35,_0x55d858._0x39bba7,_0x55d858._0x3c0b02)](_0x2c8111,-(-0x810+-0x15b2*0x1+0x1*0x1dc3)))return _0x5b0b75[_0x135775(0x279,_0x55d858._0x2f3141,0x25d,_0x55d858._0x2e378d)](_0x5b0b75[_0x135775(0x259,0x269,_0x55d858._0xb33019,0x23b)],_0x5b0b75[_0x31742f(0x268,_0x55d858._0x198cd7,_0x55d858._0x5c0408,0x298)])?![]:![];function _0x31742f(_0xd9a41a,_0xd6008d,_0x3a26e7,_0xed931a){return _0x4476f0(_0xd9a41a-0x1b0,_0xd6008d-0x1bc,_0xd9a41a,_0x3a26e7- -_0x3a41dc._0x6d038);}_0x3075d0[_0x135775(0x236,_0x55d858._0xd593be,_0x55d858._0x417605,0x25c)][_0x135775(0x226,_0x55d858._0x1c4e97,_0x55d858._0x9a05e8,_0x55d858._0x44d674)](_0x2c8111,-0x2412+-0x1*0x51c+0x292f);function _0x135775(_0x42764f,_0x5931e4,_0x1549b9,_0x22dd3a){return _0x1a11b5(_0x42764f-0x71,_0x1549b9- -0x195,_0x42764f,_0x22dd3a-_0x473ed8._0xaad19f);}return await _0x5b0b75[_0x135775(_0x55d858._0x2e378d,_0x55d858._0x36c071,_0x55d858._0x332fdd,0x265)](saveTokens,_0x3075d0),!![];}async function cleanupOldTokens(){const _0x8fc0f4={_0x42c9ba:0x279,_0x54fabd:0x27a,_0xa755c5:0x275,_0x2cc2a0:0x113,_0x235fed:0x13a,_0x3c68c9:0x122,_0x2b2ea1:0x117,_0x1d591d:0x105,_0x1c4fa7:0xfd,_0x576217:0xe6,_0x49c46f:0xfe,_0x273943:0x100,_0x285558:0x10f,_0x320f6d:0xde,_0x4455ca:0xf3,_0xc333ca:0xdd,_0x308530:0xfd,_0x204467:0xe2,_0x5a5e05:0xe9,_0xbcfab6:0x2a3},_0x12bb5a={_0x398298:0x102},_0x620743={_0x4b7520:0x34,_0x28d304:0x2a,_0x198da3:0xa,_0x546b38:0x55,_0x471d65:0x63,_0x1202ca:0x3e,_0x26847f:0x58,_0x466be0:0x71,_0x11b642:0x7b,_0xe43f6d:0x76,_0x484652:0x3a,_0x2edcd0:0x33,_0x35b2b6:0x4e,_0x3fe4c5:0x64,_0x2750eb:0x40},_0x29dcb2={_0x507519:0x16c},_0x331fd={_0x5a7838:0xf0,_0x11b591:0x149},_0x39b220={'GPuQI':function(_0x463fe7,_0x536002){return _0x463fe7<=_0x536002;},'qwMkh':function(_0x378f79,_0x1d9c5f){return _0x378f79===_0x1d9c5f;},'fmmSZ':_0x49f976(_0x8fc0f4._0x42c9ba,_0x8fc0f4._0x54fabd,0x274,_0x8fc0f4._0xa755c5),'TagAM':function(_0x2ee5a5,_0x32a882){return _0x2ee5a5>_0x32a882;},'sGTBr':function(_0x128146,_0x3bdcdf){return _0x128146*_0x3bdcdf;},'bHoEe':function(_0x6f46a9,_0x18a557){return _0x6f46a9*_0x18a557;},'PbCTR':function(_0x2017b0,_0x25350c){return _0x2017b0-_0x25350c;},'IFbju':function(_0x26b614,_0x4f329f){return _0x26b614(_0x4f329f);}};function _0x49f976(_0x201a63,_0xb31135,_0x4255ba,_0x246b30){return _0x1a11b5(_0x201a63-_0x331fd._0x5a7838,_0x4255ba- -0x145,_0x246b30,_0x246b30-_0x331fd._0x11b591);}const _0x4f2411=await loadTokens(),_0x369010=new Date(),_0x4146fd=new Date(_0x369010[_0x7addb2(-0x119,-0x107,-_0x8fc0f4._0x2cc2a0,-_0x8fc0f4._0x235fed)]()-_0x39b220[_0x7addb2(-_0x8fc0f4._0x3c68c9,-_0x8fc0f4._0x2b2ea1,-0x10d,-_0x8fc0f4._0x1d591d)](_0x39b220[_0x7addb2(-0x103,-0x110,-0x124,-0x115)](0xd3c+-0x1*-0x15fb+0x3*-0xbb3,-0x1*0x1f91+0x1f*0x12e+-0x4e9)*(-0x22ab+-0x1531+-0x4*-0xe06)*(-0x11*-0x13f+0xb3*0x33+-0x389c),-0x1b1b+-0xfb*-0x2+0x1d0d)),_0x2ea111=_0x4f2411[_0x7addb2(-_0x8fc0f4._0x1c4fa7,-_0x8fc0f4._0x576217,-_0x8fc0f4._0x49c46f,-0xfd)]['length'];_0x4f2411[_0x7addb2(-_0x8fc0f4._0x1c4fa7,-0xfb,-0x113,-_0x8fc0f4._0x273943)]=_0x4f2411[_0x7addb2(-0xfd,-_0x8fc0f4._0x285558,-0x110,-_0x8fc0f4._0x320f6d)][_0x49f976(0x28c,0x2a3,0x290,0x29b)](_0x55b906=>{const _0x321101=new Date(_0x55b906[_0x34d7fc(_0x620743._0x4b7520,0x16,_0x620743._0x28d304,_0x620743._0x198da3)]),_0x1822a1=new Date(_0x55b906[_0x34d7fc(0x42,0x41,_0x620743._0x546b38,_0x620743._0x471d65)]);if(!_0x55b906[_0x34d7fc(0x26,0x2e,_0x620743._0x1202ca,_0x620743._0x26847f)]&&_0x39b220['GPuQI'](_0x369010,_0x1822a1))return _0x39b220[_0x4034ea(-0x90,-_0x620743._0x466be0,-_0x620743._0x11b642,-_0x620743._0xe43f6d)](_0x39b220['fmmSZ'],_0x39b220[_0x34d7fc(_0x620743._0x484652,0x2a,_0x620743._0x2edcd0,0x33)])?!![]:null;function _0x4034ea(_0x401a9b,_0x38dbe5,_0x2be41d,_0x8cf8bc){return _0x49f976(_0x401a9b-_0x29dcb2._0x507519,_0x38dbe5-0xd4,_0x38dbe5- -0x2f0,_0x2be41d);}if(_0x39b220[_0x34d7fc(_0x620743._0x35b2b6,_0x620743._0x3fe4c5,0x52,_0x620743._0x2750eb)](_0x321101,_0x4146fd))return!![];function _0x34d7fc(_0xd2e5f0,_0x206db2,_0x27983a,_0x1b5da9){return _0x49f976(_0xd2e5f0-0x22,_0x206db2-0x116,_0x27983a- -0x246,_0x1b5da9);}return![];});const _0x966865=_0x39b220[_0x7addb2(-_0x8fc0f4._0x4455ca,-0xf6,-_0x8fc0f4._0x2cc2a0,-_0x8fc0f4._0xc333ca)](_0x2ea111,_0x4f2411[_0x7addb2(-_0x8fc0f4._0x308530,-_0x8fc0f4._0x204467,-_0x8fc0f4._0x5a5e05,-0x114)][_0x49f976(0x288,_0x8fc0f4._0xbcfab6,0x29f,0x288)]);function _0x7addb2(_0x425206,_0x11bff7,_0x366bda,_0x3b05c2){return _0x4476f0(_0x425206-0x4d,_0x11bff7-_0x12bb5a._0x398298,_0x11bff7,_0x425206- -0x47a);}return _0x39b220['TagAM'](_0x966865,0x3*0xc2a+-0x25c5+-0x3*-0x6d)&&await _0x39b220['IFbju'](saveTokens,_0x4f2411),_0x966865;}async function revokeTokensByUser(_0x179795){const _0x375fc9={_0x239718:0x263,_0x153230:0x257,_0x4267ec:0x243,_0x3ffa23:0x521,_0xa6fc84:0x510,_0xdee1a8:0x25c,_0x9225ba:0x254,_0x3f57d:0x248,_0x9f3b96:0x518,_0x721c99:0x526},_0x155dd3={_0x4f3bd6:0x1db,_0x135171:0x134},_0x2917ad={_0x47afcd:0x147,_0xe63c1a:0x179,_0x35ac04:0x1eb},_0x4f3784={'uOcTH':function(_0x47f1b4){return _0x47f1b4();},'UEkDl':function(_0x4a52c9,_0x473ea4){return _0x4a52c9-_0x473ea4;}};function _0x1c9bfc(_0xf7b50,_0x3a2b32,_0xf84d73,_0x219cf0){return _0x1a11b5(_0xf7b50-_0x2917ad._0x47afcd,_0xf7b50- -_0x2917ad._0xe63c1a,_0x219cf0,_0x219cf0-_0x2917ad._0x35ac04);}const _0x14288b=await _0x4f3784['uOcTH'](loadTokens),_0x2b8873=_0x14288b['tokens']['length'];function _0xc930c6(_0x23366d,_0x312141,_0x566949,_0x557d64){return _0x1a11b5(_0x23366d-_0x155dd3._0x4f3bd6,_0x566949-_0x155dd3._0x135171,_0x557d64,_0x557d64-0x11);}_0x14288b[_0x1c9bfc(_0x375fc9._0x239718,_0x375fc9._0x153230,0x250,_0x375fc9._0x4267ec)]=_0x14288b[_0xc930c6(_0x375fc9._0x3ffa23,0x50a,_0x375fc9._0xa6fc84,0x527)][_0x1c9bfc(_0x375fc9._0xdee1a8,0x259,0x266,0x272)](_0x275865=>_0x275865[_0x1c9bfc(0x26f,0x27f,0x273,0x265)]!==_0x179795);const _0x1c04af=_0x4f3784[_0x1c9bfc(0x242,0x25a,_0x375fc9._0x9225ba,0x243)](_0x2b8873,_0x14288b[_0x1c9bfc(0x263,0x276,0x27b,_0x375fc9._0x3f57d)][_0xc930c6(0x51d,0x521,_0x375fc9._0x9f3b96,_0x375fc9._0x721c99)]);return _0x1c04af>0x17dd*-0x1+-0x24d+0x1a2a&&await saveTokens(_0x14288b),_0x1c04af;}export{createPasswordToken,validateToken,markTokenAsUsed,getUserTokens,revokeToken,revokeTokensByUser,cleanupOldTokens};
@@ -1 +1 @@
1
- (function(_0x5bb941,_0x224717){const _0x1a2833={_0x342bbc:0x13b,_0x40970b:0x123,_0x5d53df:0x111,_0x149269:0xf0,_0x569c5d:0x142,_0x5f355:0x45a,_0x2daacd:0x44a,_0x9fd426:0x420,_0x427795:0x43f,_0x1766ce:0x443,_0xf37e88:0x447,_0x31b958:0x425,_0x520a42:0x4a0,_0x1cdbbc:0x4ad,_0x5bbd1a:0x14e,_0x3b49be:0x11f,_0x431b67:0x113,_0x3e6066:0x13f,_0x1d15a0:0x15a},_0x3548b5=_0x5bb941();function _0x356ac7(_0x3ff61d,_0x5d7345,_0x58b33d,_0x4fa5fa){return _0x429b(_0x3ff61d-0x2fe,_0x4fa5fa);}function _0x474a1a(_0x204e42,_0x7ede5c,_0x5eec86,_0x23e182){return _0x429b(_0x7ede5c- -0x51,_0x23e182);}while(!![]){try{const _0x2fbe98=-parseInt(_0x474a1a(0x110,0x10c,0xca,_0x1a2833._0x342bbc))/(-0x1257+-0x5*-0x731+-0x119d)+-parseInt(_0x474a1a(_0x1a2833._0x40970b,_0x1a2833._0x5d53df,_0x1a2833._0x149269,_0x1a2833._0x569c5d))/(0x4b*-0x11+0x2*-0x10d+0x717)+parseInt(_0x356ac7(_0x1a2833._0x5f355,0x456,_0x1a2833._0x2daacd,_0x1a2833._0x9fd426))/(0xaf7+-0x3e0*0x1+-0x714)+parseInt(_0x356ac7(0x479,0x4aa,0x44c,_0x1a2833._0x427795))/(0x22a+0x76*-0x4b+0x206c)+parseInt(_0x356ac7(0x455,0x49b,0x45f,_0x1a2833._0x1766ce))/(-0x1*-0x1c91+0x2*0x49+-0x1d1e)*(parseInt(_0x356ac7(0x44e,0x489,_0x1a2833._0xf37e88,_0x1a2833._0x31b958))/(-0x29*0xe2+0x9bf*0x4+0x2*-0x162))+-parseInt(_0x356ac7(0x431,0x450,0x3f3,0x478))/(0x892+0x3c0+0xc4b*-0x1)*(-parseInt(_0x356ac7(0x4bc,0x494,_0x1a2833._0x520a42,_0x1a2833._0x1cdbbc))/(-0x6b*-0x43+-0x245d*-0x1+-0x4056))+-parseInt(_0x474a1a(_0x1a2833._0x5bbd1a,_0x1a2833._0x3b49be,0x110,_0x1a2833._0x431b67))/(-0x1792+0x1895*-0x1+0x3030)*(-parseInt(_0x474a1a(_0x1a2833._0x3e6066,0x127,_0x1a2833._0x1d15a0,0x108))/(0x1*0x26bf+-0x23aa+0x29*-0x13));if(_0x2fbe98===_0x224717)break;else _0x3548b5['push'](_0x3548b5['shift']());}catch(_0x52b516){_0x3548b5['push'](_0x3548b5['shift']());}}}(_0x5ca2,0x181df*0x5+-0x171b2a+0x7f9*0x38e));import{hasPermissionInSet,getPermissionScope,PERMISSIONS}from'./roles.js';let deps=null;export function _setDeps(_0x1ae596){deps=_0x1ae596;}export function _getDeps(){return deps;}async function loadProductionDeps(){const _0x1ed9c0={_0x3de529:0x53c,_0x11b7c0:0x4d0,_0x2caec0:0x4ca,_0x5c5eb4:0x486,_0x40cd2c:0x493,_0x451dd1:0x4ed,_0x2684ea:0x21b,_0x17a5b1:0x216,_0x5d1a2d:0x46e,_0x1f26f3:0x4a7,_0x3fc0b0:0x471,_0x41e963:0x24d,_0x2c5710:0x1e7,_0x43086b:0x1e4,_0x51201c:0x222,_0x2428ba:0x508,_0x20b06c:0x51b,_0x3282a4:0x4b8,_0x149caf:0x222,_0xe65652:0x275,_0x479abf:0x243,_0x5c2453:0x4ef,_0x2846c3:0x47f,_0x41dd04:0x494,_0x2480ab:0x1c0,_0x26b104:0x227,_0x53d510:0x20a},_0x47fa57={_0x2b1545:0x230,_0x4dba31:0x203,_0x490a48:0x234,_0x30f1ee:0x272,_0x4e9c4f:0x287,_0x32612d:0x22f,_0x549a13:0x21d,_0x1f0c9c:0x23b,_0xe08083:0x213,_0x21150d:0x24e},_0x1fe79a={_0xfd5f1e:0x5a},_0x294014={_0x3501f1:0x35a},_0x4878ea={};function _0x89b25a(_0x3f2864,_0x1d19d3,_0x1e639b,_0x22ce65){return _0x429b(_0x22ce65- -0x3a1,_0x1d19d3);}_0x4878ea['wwbUL']=_0xe986e5(0x503,_0x1ed9c0._0x3de529,_0x1ed9c0._0x11b7c0,0x4e1)+'s',_0x4878ea['kXfqi']=_0xe986e5(0x4be,0x4c5,0x4ba,_0x1ed9c0._0x2caec0),_0x4878ea[_0xe986e5(0x4b9,_0x1ed9c0._0x5c5eb4,_0x1ed9c0._0x40cd2c,_0x1ed9c0._0x451dd1)]='./bindings'+_0x89b25a(-_0x1ed9c0._0x2684ea,-_0x1ed9c0._0x17a5b1,-0x216,-0x203),_0x4878ea['gCcWQ']=_0x89b25a(-0x1d8,-0x1c8,-0x23b,-0x213)+_0xe986e5(0x496,_0x1ed9c0._0x5d1a2d,_0x1ed9c0._0x1f26f3,_0x1ed9c0._0x3fc0b0)+'s';const _0x1dcf8b=_0x4878ea;if(deps)return deps;const _0x3842a4=await import(_0x1dcf8b[_0x89b25a(-_0x1ed9c0._0x41e963,-_0x1ed9c0._0x2c5710,-_0x1ed9c0._0x43086b,-_0x1ed9c0._0x51201c)]);function _0xe986e5(_0x3b3696,_0x5c88ca,_0x50afe0,_0xce0c18){return _0x429b(_0x3b3696-_0x294014._0x3501f1,_0x50afe0);}const _0x283a67=await import(_0x1dcf8b['gGuJF']),_0x137c2d=await import(_0x1dcf8b[_0xe986e5(0x480,0x468,0x4ac,0x4cd)]);return deps={'getTeamsByUserId':_0x3842a4[_0xe986e5(0x4f7,0x4aa,0x4c9,_0x1ed9c0._0x2428ba)+'UserId'],'getBindingsByResource':_0x283a67[_0xe986e5(0x4f1,_0x1ed9c0._0x20b06c,_0x1ed9c0._0x3282a4,0x4e4)+_0x89b25a(-_0x1ed9c0._0x149caf,-_0x1ed9c0._0xe65652,-_0x1ed9c0._0x479abf,-0x25d)+'e'],'getBindingsBySubject':_0x283a67['getBinding'+'sBySubject'],'getRoleById':_0x137c2d[_0xe986e5(0x4a4,_0x1ed9c0._0x5c2453,_0x1ed9c0._0x2846c3,_0x1ed9c0._0x41dd04)+'d'],'getBindings':_0x283a67[_0x89b25a(-0x1eb,-_0x1ed9c0._0x2480ab,-_0x1ed9c0._0x26b104,-_0x1ed9c0._0x53d510)+'s'],'getAllEnvironments':async()=>{const _0x285bd7={_0x38114d:0x1e6};function _0x15ba8a(_0x5f1cb4,_0xa16c9e,_0x1b3a41,_0x57df31){return _0x89b25a(_0x5f1cb4-0x18d,_0x5f1cb4,_0x1b3a41-_0x1fe79a._0xfd5f1e,_0xa16c9e-0x372);}const {coderConfig:_0x9007d2}=await import(_0x1dcf8b['wwbUL']);if(_0x9007d2&&_0x9007d2[_0x5623a5(_0x47fa57._0x2b1545,0x24f,0x239,0x266)+'ts'])return Object[_0x5623a5(_0x47fa57._0x4dba31,0x24a,0x20a,0x212)](_0x9007d2[_0x5623a5(_0x47fa57._0x490a48,0x24f,_0x47fa57._0x30f1ee,0x254)+'ts']);function _0x5623a5(_0x1f16dc,_0x3a54b2,_0xb517c6,_0x47ed89){return _0xe986e5(_0x3a54b2- -0x28d,_0x3a54b2-_0x285bd7._0x38114d,_0x47ed89,_0x47ed89-0x1d7);}const _0x3e58f9=await _0x283a67[_0x5623a5(_0x47fa57._0x4e9c4f,0x264,_0x47fa57._0x32612d,0x228)+'s']();return[...new Set(_0x3e58f9[_0x5623a5(_0x47fa57._0x549a13,0x212,0x1d6,_0x47fa57._0x1f0c9c)](_0x34daa3=>_0x34daa3['resource_t'+_0x5623a5(0x23c,0x275,0x294,0x299)]===_0x15ba8a(0x158,0x153,0x162,0x149)+'t'&&_0x34daa3[_0x5623a5(0x251,0x254,0x225,0x27b)+'d']&&_0x34daa3[_0x5623a5(0x280,0x254,0x27e,0x26e)+'d']!=='*')[_0x5623a5(_0x47fa57._0xe08083,0x218,_0x47fa57._0x21150d,0x1e4)](_0x5cc53e=>_0x5cc53e[_0x5623a5(0x268,0x254,0x294,0x222)+'d']))];}},deps;}async function d(){const _0xc2399f={_0x1f7b67:0x24e},_0x21e1af={'rWPEm':function(_0x54a3bc){return _0x54a3bc();}};function _0x29cf6a(_0x20690a,_0x18fe7c,_0x1e9288,_0x222a24){return _0x429b(_0x222a24-0xfa,_0x18fe7c);}return deps||await _0x21e1af[_0x29cf6a(0x277,_0xc2399f._0x1f7b67,0x2ae,0x28e)](loadProductionDeps);}async function collectBindingsForUser(_0x2c63bf,_0x53866a,_0x3687e1){const _0xd002ca={_0x306925:0x2b9,_0x33cdb4:0x312,_0x3eae7a:0x329,_0x1b464e:0x2d2,_0x1b30ba:0x29c,_0x5cff1c:0x244,_0x360f8c:0x276,_0x2ad48a:0x275,_0x5296a0:0x234,_0x931b5:0x2a5,_0x539421:0x2c3,_0x35e973:0x251,_0x334836:0x215,_0x2add74:0x247,_0x538b7d:0x237,_0x5b566e:0x216,_0x1e6563:0x211,_0x3752bb:0x23b,_0x25126d:0x21b,_0x9d7631:0x265,_0x169824:0x25f},_0x1d41c8={_0x383e9d:0xfe},_0x401204={_0x5115ae:0x120};function _0x302ea5(_0xa19a51,_0x4dd762,_0x411501,_0x183b50){return _0x429b(_0x4dd762-_0x401204._0x5115ae,_0x183b50);}const _0x5811d1={'clGfK':function(_0x502a7f){return _0x502a7f();},'CqJXG':function(_0x497158,_0x474800){return _0x497158(_0x474800);},'mkATH':function(_0x5795db,_0x3b5d7a){return _0x5795db===_0x3b5d7a;},'gILKp':'server','OVbhz':function(_0x4cd429,_0x3c05cf){return _0x4cd429(_0x3c05cf);},'AGKyO':_0x302ea5(_0xd002ca._0x306925,0x2dd,_0xd002ca._0x33cdb4,_0xd002ca._0x3eae7a),'NxsKZ':function(_0x483273,_0x4793f7,_0x5f3b24){return _0x483273(_0x4793f7,_0x5f3b24);},'ZVpcS':function(_0xf84dc3,_0x2d8a0e){return _0xf84dc3(_0x2d8a0e);}},{getTeamsByUserId:_0x3cbcb3,getBindingsByResource:_0x1994aa}=await _0x5811d1['clGfK'](d),_0x39c9eb=await _0x5811d1[_0x302ea5(_0xd002ca._0x1b464e,_0xd002ca._0x1b30ba,0x2b2,0x277)](_0x3cbcb3,_0x2c63bf),_0x507e29=new Set(_0x39c9eb[_0x2e1b9d(0x252,0x249,0x21a,_0xd002ca._0x5cff1c)](_0x16fa9a=>_0x16fa9a['id']));let _0x624c5f=[];if(_0x5811d1[_0x302ea5(0x27f,0x244,0x28f,_0xd002ca._0x360f8c)](_0x53866a,_0x5811d1['gILKp']))_0x624c5f=await _0x5811d1[_0x2e1b9d(0x248,0x257,_0xd002ca._0x2ad48a,0x267)](_0x1994aa,_0x2e1b9d(_0xd002ca._0x5296a0,0x25e,0x22c,0x25f));else{if(_0x5811d1[_0x302ea5(_0xd002ca._0x931b5,0x2b5,0x286,0x290)]===_0x5811d1[_0x302ea5(0x2cf,0x2b5,0x2fe,_0xd002ca._0x539421)]){_0x624c5f=await _0x5811d1[_0x2e1b9d(0x221,_0xd002ca._0x35e973,_0xd002ca._0x334836,0x29b)](_0x1994aa,_0x53866a,_0x3687e1);const _0x3391a8=await _0x5811d1[_0x302ea5(0x227,_0xd002ca._0x2add74,_0xd002ca._0x538b7d,_0xd002ca._0x5b566e)](_0x1994aa,_0x5811d1[_0x2e1b9d(_0xd002ca._0x1e6563,0x244,0x24e,0x24d)]);_0x624c5f=[..._0x624c5f,..._0x3391a8];}else return _0x4eda83['keys'](_0x20b339[_0x2e1b9d(0x2c7,0x280,_0xd002ca._0x3752bb,0x25f)+'ts']);}function _0x2e1b9d(_0xee27e4,_0x20b520,_0x139e24,_0x124184){return _0x429b(_0x20b520-_0x1d41c8._0x383e9d,_0x124184);}return _0x624c5f[_0x302ea5(_0xd002ca._0x25126d,_0xd002ca._0x9d7631,0x251,_0xd002ca._0x169824)](_0x4d8bef=>_0x4d8bef[_0x302ea5(0x286,0x25e,0x25b,0x2aa)+'pe']===_0x302ea5(0x26c,0x260,0x267,0x2a9)&&_0x4d8bef[_0x302ea5(0x2f5,0x2b6,0x284,0x2ad)]===_0x2c63bf||_0x4d8bef[_0x2e1b9d(0x240,0x23c,0x1fc,0x243)+'pe']===_0x2e1b9d(0x214,0x246,0x25c,0x260)&&_0x507e29[_0x2e1b9d(0x239,0x230,0x1f6,0x245)](_0x4d8bef[_0x302ea5(0x2bf,0x2b6,0x302,0x2c5)]));}export async function resolveUserPermissions(_0x32cb83,_0xc0ed04){const _0x301b1e={_0x4f81ef:0xa3,_0x571dfb:0xb9,_0x2d0177:0xd0,_0xd0db2f:0xc2,_0x6676c8:0x403,_0x1d8867:0xd5,_0x3b07b3:0xc9,_0x4ea05c:0xa1,_0x11165b:0x89,_0x2e6de0:0xbd,_0xbb675a:0xff,_0x60aeee:0x8e,_0x4d24da:0xc3,_0x5660bd:0xac,_0xdd80ba:0x3f3,_0x16c57f:0x3d0,_0x319fa1:0xab,_0x443fc3:0x82,_0x4e3c86:0x341,_0x5266f2:0x40d,_0x6f0cd5:0x3cd,_0x2b9540:0x40a,_0x7d22e2:0x428,_0x5153ce:0xbf,_0x318f61:0x3b2};function _0x38efe6(_0x21ce05,_0x49d951,_0x3c5aac,_0xba3933){return _0x429b(_0x49d951- -0x23a,_0xba3933);}const _0xc5b9ab={'hPqcC':function(_0x4ef474){return _0x4ef474();},'OSfeK':function(_0xe55c77,_0xbf6fb8,_0x487d1e,_0x201e6a){return _0xe55c77(_0xbf6fb8,_0x487d1e,_0x201e6a);},'ihiwd':_0x38efe6(-0x9f,-0xb8,-0xd4,-0x82)+'t','QskXw':function(_0x5abab3,_0x3ca370){return _0x5abab3(_0x3ca370);},'MfijU':function(_0x110b30,_0x1bf064){return _0x110b30!==_0x1bf064;},'ivKjK':_0x38efe6(-_0x301b1e._0x4f81ef,-_0x301b1e._0x571dfb,-_0x301b1e._0x2d0177,-_0x301b1e._0xd0db2f),'qiyzD':function(_0x1f36ab,_0x169584){return _0x1f36ab===_0x169584;},'XlbtC':_0x4f1f7a(_0x301b1e._0x6676c8,0x3e2,0x401,0x3e2),'EUmRE':_0x38efe6(-0xef,-0x101,-_0x301b1e._0x1d8867,-_0x301b1e._0x3b07b3)},{getRoleById:_0x409301}=await _0xc5b9ab['hPqcC'](d),_0x314972=await _0xc5b9ab[_0x38efe6(-0xaf,-_0x301b1e._0x4ea05c,-_0x301b1e._0x11165b,-_0x301b1e._0x2e6de0)](collectBindingsForUser,_0x32cb83,_0xc5b9ab[_0x38efe6(-0x106,-_0x301b1e._0x1d8867,-_0x301b1e._0xbb675a,-0xee)],_0xc0ed04),_0x20c376=new Set();for(const _0x5d1884 of _0x314972){const _0x55d112=await _0xc5b9ab['QskXw'](_0x409301,_0x5d1884[_0x38efe6(-0xb8,-_0x301b1e._0x60aeee,-0x52,-0xc6)]);if(_0x55d112){if(_0xc5b9ab[_0x38efe6(-0xc5,-0xc5,-_0x301b1e._0x4d24da,-_0x301b1e._0x5660bd)](_0x4f1f7a(0x3fd,_0x301b1e._0xdd80ba,_0x301b1e._0x16c57f,0x423),_0xc5b9ab['ivKjK']))for(const _0x48ec49 of _0x55d112[_0x38efe6(-0x83,-_0x301b1e._0x319fa1,-0xcc,-_0x301b1e._0x443fc3)+'s']){if(_0xc5b9ab[_0x4f1f7a(0x38c,0x39f,0x3bd,_0x301b1e._0x4e3c86)](_0xc5b9ab['XlbtC'],_0xc5b9ab[_0x4f1f7a(0x40b,_0x301b1e._0x5266f2,0x3d8,_0x301b1e._0x6f0cd5)]))for(const _0x272f44 of _0xb31774){_0x47b8d4[_0x3f96da][_0x4f1f7a(_0x301b1e._0x2b9540,0x3d3,_0x301b1e._0x7d22e2,0x3f6)](_0x272f44);}else _0x20c376[_0x38efe6(-0x45,-0x86,-0x6c,-_0x301b1e._0x5153ce)](_0x48ec49);}else return!![];}}if(_0x20c376[_0x4f1f7a(0x388,_0x301b1e._0x318f61,0x3d0,0x360)]('*'))return['*'];function _0x4f1f7a(_0x57b57d,_0x279a82,_0x441f29,_0x551bdc){return _0x429b(_0x57b57d-0x256,_0x441f29);}return[..._0x20c376];}export async function hasPermission(_0x4073f1,_0x44e450,_0x13111e){const _0x3d9a49={_0x2bb385:0xf6,_0x4f3e13:0x140,_0x3bdf85:0x101,_0x354e0a:0xfc,_0x1e6942:0x105,_0xaffdc:0x14c,_0x5aa876:0x178,_0x523dcd:0x157,_0x4780ef:0x13c,_0x2b107f:0xd4,_0x5c580c:0xcb,_0x362c2f:0x125,_0x1953f5:0xd0,_0x5a16c9:0x134,_0x4674ce:0x16f,_0x259fb9:0x195,_0x207a5a:0x10e,_0x44daca:0x11b,_0x3ef137:0x11f,_0x5aef78:0x111,_0x3dd484:0x13c,_0x4d2722:0xaa,_0x1fb1cf:0x7b,_0x109fe1:0x65,_0x18404b:0x10f,_0x484717:0x1af,_0x40768c:0x183,_0x4a3f36:0xdf,_0x42ecdb:0xec,_0x57626e:0x9e,_0xc98875:0x109,_0x2daa45:0x15a,_0x3ee055:0x166,_0x14b8a6:0x192,_0x408547:0x11d,_0x17a003:0xc7,_0x3c89fe:0xdd,_0x3d9b13:0x101,_0x4acba8:0xdf,_0x3c6509:0xe7,_0x1852ae:0xed,_0x4f0fca:0x115,_0x8c124a:0x143,_0x8f6e69:0x15f,_0x451865:0x16c,_0x264343:0x14d,_0x1ae13f:0xc2,_0x209576:0x7a,_0xc51355:0x158,_0x393d2e:0x13e},_0x5e3914={_0x540c37:0x40},_0x4f71c7={'cvXWM':function(_0x28d474,_0x33d6fb){return _0x28d474(_0x33d6fb);},'WeFYt':function(_0x138f24,_0x21c9bf){return _0x138f24===_0x21c9bf;},'GJeFG':_0x4d7afb(-_0x3d9a49._0x2bb385,-_0x3d9a49._0x4f3e13,-_0x3d9a49._0x3bdf85,-_0x3d9a49._0x354e0a),'XixtB':_0x459470(0x100,0x121,_0x3d9a49._0x1e6942,_0x3d9a49._0xaffdc),'BrfQe':function(_0x174994,_0x250186,_0x1d052d){return _0x174994(_0x250186,_0x1d052d);},'fSmrb':function(_0x7642e5,_0x83ef25){return _0x7642e5!==_0x83ef25;},'ipaCQ':_0x459470(0x15b,_0x3d9a49._0x5aa876,_0x3d9a49._0x523dcd,_0x3d9a49._0x4780ef),'RrLce':function(_0x1d5e08,_0x40a35c){return _0x1d5e08===_0x40a35c;},'YXNvW':function(_0x13be2f,_0x5e62de,_0x57ed63,_0x2a23c4){return _0x13be2f(_0x5e62de,_0x57ed63,_0x2a23c4);},'FgnPr':_0x4d7afb(-_0x3d9a49._0x2b107f,-0xa8,-0xd8,-0x115)+'t','SzBjK':function(_0x5641c3,_0x5cf167){return _0x5641c3===_0x5cf167;},'BvYHs':_0x4d7afb(-0x10e,-0xc4,-_0x3d9a49._0x5c580c,-0x12e)};function _0x4d7afb(_0x4105c9,_0x589467,_0xf4557c,_0x4049a4){return _0x429b(_0x4105c9- -0x256,_0xf4557c);}function _0x459470(_0x52d6fc,_0x109c6f,_0x213d90,_0x161d25){return _0x429b(_0x52d6fc- -_0x5e3914._0x540c37,_0x213d90);}const {getRoleById:_0x569b27}=await d(),_0x54c050=_0x4f71c7[_0x459470(0x158,0x130,_0x3d9a49._0x362c2f,0x179)](getPermissionScope,_0x44e450);if(_0x4f71c7[_0x4d7afb(-0xb1,-_0x3d9a49._0x1953f5,-0xd5,-0xe7)](_0x54c050,_0x4f71c7[_0x459470(0xfb,_0x3d9a49._0x5a16c9,0x105,0x146)])){const {getBindingsBySubject:_0x3b23ec,getTeamsByUserId:_0x2bfef5}=await d(),_0x27cad3=await _0x3b23ec(_0x4f71c7[_0x459470(_0x3d9a49._0x4674ce,0x186,_0x3d9a49._0x259fb9,0x16f)],_0x4073f1),_0x3bcbd7=await _0x2bfef5(_0x4073f1),_0x34454a=[..._0x27cad3];for(const _0xb4980e of _0x3bcbd7){const _0x5ed501=await _0x4f71c7['BrfQe'](_0x3b23ec,_0x4d7afb(-_0x3d9a49._0x207a5a,-_0x3d9a49._0x44daca,-0x137,-0xf8),_0xb4980e['id']);_0x34454a[_0x4d7afb(-_0x3d9a49._0x3ef137,-_0x3d9a49._0x5aef78,-_0x3d9a49._0x3dd484,-0x121)](..._0x5ed501);}for(const _0x474a1b of _0x34454a){const _0xd8038e=await _0x4f71c7['cvXWM'](_0x569b27,_0x474a1b[_0x4d7afb(-_0x3d9a49._0x4d2722,-_0x3d9a49._0x1fb1cf,-0x7e,-_0x3d9a49._0x109fe1)]);if(_0xd8038e&&hasPermissionInSet(_0xd8038e[_0x4d7afb(-0xc7,-0x7d,-_0x3d9a49._0x18404b,-_0x3d9a49._0x2b107f)+'s'],_0x44e450)){if(_0x4f71c7[_0x459470(0x171,0x1aa,_0x3d9a49._0x484717,_0x3d9a49._0x40768c)](_0x4f71c7[_0x4d7afb(-_0x3d9a49._0x4a3f36,-0x102,-0x10b,-_0x3d9a49._0x42ecdb)],_0x4f71c7[_0x4d7afb(-_0x3d9a49._0x4a3f36,-_0x3d9a49._0x57626e,-0xb0,-_0x3d9a49._0xc98875)]))_0x3290a4[_0x5b399a]=[..._0x264334[_0x49c094]];else return!![];}}return![];}if(_0x4f71c7['RrLce'](_0x54c050,'environmen'+'t')){if(!_0x13111e)return![];const _0x5f06f5=await _0x4f71c7[_0x459470(_0x3d9a49._0x2daa45,0x15c,0x173,0x10e)](collectBindingsForUser,_0x4073f1,_0x4f71c7[_0x459470(0x14c,_0x3d9a49._0x3ee055,0x168,0x136)],_0x13111e);for(const _0x906512 of _0x5f06f5){const _0x5bfae9=await _0x4f71c7[_0x459470(0x158,_0x3d9a49._0x14b8a6,0x129,_0x3d9a49._0x408547)](_0x569b27,_0x906512['role_id']);if(_0x5bfae9&&hasPermissionInSet(_0x5bfae9[_0x4d7afb(-_0x3d9a49._0x17a003,-_0x3d9a49._0x3c89fe,-0x7a,-0x89)+'s'],_0x44e450))return!![];}return![];}if(_0x4f71c7['SzBjK'](_0x54c050,_0x4f71c7[_0x4d7afb(-_0x3d9a49._0x3d9b13,-_0x3d9a49._0x4acba8,-0xd5,-_0x3d9a49._0x3c6509)])){if(!_0x13111e)return![];const _0x5b783d=await collectBindingsForUser(_0x4073f1,_0x4f71c7[_0x459470(0x115,_0x3d9a49._0x1852ae,_0x3d9a49._0x4f0fca,0x132)],_0x13111e);for(const _0x8f9bec of _0x5b783d){const _0x295ca4=await _0x4f71c7[_0x459470(0x158,_0x3d9a49._0x8c124a,_0x3d9a49._0x4674ce,_0x3d9a49._0x8f6e69)](_0x569b27,_0x8f9bec[_0x459470(_0x3d9a49._0x451865,0x131,_0x3d9a49._0x264343,0x1a0)]);if(_0x295ca4&&hasPermissionInSet(_0x295ca4[_0x4d7afb(-0xc7,-0x7b,-_0x3d9a49._0x1ae13f,-_0x3d9a49._0x209576)+'s'],_0x44e450))return!![];}return![];}return await _0x4f71c7[_0x459470(_0x3d9a49._0xc51355,_0x3d9a49._0x393d2e,0x14f,0x13b)](hasAllPermissions,_0x4073f1);}export async function hasAllPermissions(_0x1b704f){const _0xb3647b={_0x3e9929:0x24,_0x1b4844:0x16,_0x16f72a:0x6e,_0x358f47:0x4f,_0x35b8c8:0x3b,_0x5e01bc:0x23,_0x27c4c1:0x36,_0x4a40d7:0x3f,_0x536d00:0x1a,_0x24d04f:0x41,_0x1e31b2:0x180,_0x4ab4c2:0x153,_0xeb4e73:0x1a0,_0x59b209:0x27,_0x4f8bb2:0x1c,_0xa08339:0x10,_0x44d521:0x15,_0x16b246:0x12a,_0x1fd668:0x133,_0x5b0963:0x10f,_0x3c6d31:0x40,_0x15e02a:0x31,_0x59a7c2:0x128,_0x417b6f:0x127,_0x11256b:0xff,_0x54fa0c:0x162},_0x23a87d={'OfeRD':function(_0xf57141){return _0xf57141();},'FnBDI':function(_0x20417d,_0x3e193a,_0x5cc214){return _0x20417d(_0x3e193a,_0x5cc214);},'oXzAW':function(_0x5474c7,_0x28d183){return _0x5474c7(_0x28d183);},'MWAwn':_0x165751(-_0xb3647b._0x3e9929,0x2,_0xb3647b._0x1b4844,-_0xb3647b._0x16f72a),'wKDoa':function(_0x53edf0,_0x307483){return _0x53edf0(_0x307483);}},{getBindingsBySubject:_0x282097,getTeamsByUserId:_0x5e7717,getRoleById:_0x192c8e}=await _0x23a87d['OfeRD'](d),_0xdea5a7=await _0x23a87d[_0x3486f7(0x16f,0x143,0x154,0x174)](_0x282097,_0x165751(-0x2c,-0x1a,-0x72,-0x9),_0x1b704f);for(const _0x260d19 of _0xdea5a7){const _0x10093a=await _0x23a87d[_0x165751(_0xb3647b._0x358f47,_0xb3647b._0x35b8c8,0x38,0x5)](_0x192c8e,_0x260d19['role_id']);if(_0x10093a&&_0x10093a[_0x165751(_0xb3647b._0x5e01bc,0x68,_0xb3647b._0x27c4c1,_0xb3647b._0x4a40d7)+'s'][_0x165751(_0xb3647b._0x536d00,_0xb3647b._0x24d04f,0x51,0x1b)]('*'))return!![];}function _0x165751(_0x48e1c1,_0x1b5371,_0x16bbff,_0x26619e){return _0x429b(_0x48e1c1- -0x16c,_0x26619e);}const _0x5f291f=await _0x23a87d[_0x3486f7(_0xb3647b._0x1e31b2,_0xb3647b._0x4ab4c2,0x111,_0xb3647b._0xeb4e73)](_0x5e7717,_0x1b704f);for(const _0x5f317c of _0x5f291f){const _0x55479b=await _0x23a87d[_0x165751(0x3f,_0xb3647b._0x59b209,-0x1,0x45)](_0x282097,_0x23a87d[_0x165751(_0xb3647b._0x4f8bb2,-_0xb3647b._0xa08339,-_0xb3647b._0x44d521,-_0xb3647b._0xa08339)],_0x5f317c['id']);for(const _0x4ab44c of _0x55479b){const _0x126636=await _0x23a87d[_0x3486f7(0x11c,_0xb3647b._0x16b246,_0xb3647b._0x1fd668,_0xb3647b._0x5b0963)](_0x192c8e,_0x4ab44c[_0x165751(_0xb3647b._0x3c6d31,_0xb3647b._0x15e02a,_0xb3647b._0x24d04f,0x7a)]);if(_0x126636&&_0x126636[_0x3486f7(_0xb3647b._0x59a7c2,_0xb3647b._0x417b6f,_0xb3647b._0x11256b,_0xb3647b._0x54fa0c)+'s']['includes']('*'))return!![];}}function _0x3486f7(_0x56b943,_0x469386,_0x2aea00,_0x4b9bc4){return _0x429b(_0x469386- -0x68,_0x4b9bc4);}return![];}function _0x5ca2(){const _0x448766=['z0D1sKy','C2vYDMvY','C3nptue','mteWmJGWnKjuvevota','vMzABgi','lI90zwfTCY5QCW','AwHPD2q','zMXzy3K','ugPcuLu','vwTIwxa','CMrhBxy','ALPisgG','vgn4zei','Cw5gtvy','q3j0sxe','Ce5XDeC','uwHoqMW','ntqWntK0ourUBgXhAW','EvbUAgO','rvnQu0q','DgvHBxm','swjQtMi','twzPALu','rvzKq08','AxbHq1e','mtbwDM51reO','yMrqy0G','AvbKruu','mJq2nJeZmNrbBLn6va','q3fkweC','A2v5CW','r2zKqNG','A1HMCwK','DerzrKi','Chjmy20','zw52AxjVBM1LBG','ENLoqKm','ALjqugq','wwfUCvK','Aw5JBhvKzxm','CMvZB3vYy2vFAq','tvDbD24','C3Hkyva','q0zHEK8','AKDbzvu','rMDUuhi','CvvVr1m','lI9YB2XLlwrLzG','CgvYBwLZC2LVBG','vgPzu0u','Cunbwu4','D0TeB2e','svzZANy','CLDqrw0','quDlEu8','C3vIAMvJDf9Pza','z2v0qMLUzgLUzW','y3zyv00','t1nMzuS','wvHoDLC','u3vSvMS','uezOA0O','z2v0vgvHBxncEq','lMPZ','De1SsgK','sujgy0C','AMjusfa','vvbsDKO','wfnnEhG','yxrovLy','v2vgwxq','yNvmr04','qLn2vvi','ExbL','lI4VC3rHCNqUAG','EKLwwvK','rM5creK','CM9Szv9Pza','ywjwt0O','wfnICvK','wgL4Dei','C29Tzq','zLnTCMi','yNb4Bfy','ELfis0e','ywrK','rvvTuKu','C2LdwhO','vgDLswy','yvnWDuG','DgvHBuLK','y0Xfv0e','B1H6qvC','vNDJs2K','BuHrAwC','ogDXtu1Rva','BwTbveG','AuPSDfG','z0nJv1e','wLzWy1m','lI9IAw5KAw5NCW','AhzhExO','EwT3rhm','BwvTyMvYCW','BMfTzq','EhfgCLO','ywXS','rhLtCuC','tKjWD1C','sLH1EeK','AgfZ','mZKXota5n2TnuhvUAG','rwvNq24','BuzIzKe','CwL5EKq','ChvZAa','r3LwAwK','vLHqswu','u0PNBha','r0PLrKC','Aw5PDgLVBNmUAG','qLLWqM0','C3vIAMvJDf90Eq','yKf2B0G','DxnLCG','sxzjshq','r0jQq0O','A05tuhi','C0j5uMvZB3vYyW','zMLSDgvY','z0Lms3a','wNjiBMe','DgvHBq','D3LpCNm','z2v0uM9Szuj5sq','BwfW','rg1oCNC','tMjzDw8','vLzcrNi','CMvZB3vYy2vFDa','mZznDevtB24','DxnLCKLK','BxDXDui','tNHZs1O','wLPut0G','qNzzshm','B0fZC0i','mZy2ote1vNfYAwHp','AfrrrMm','t1zIAhO','r3DVuxC','r0v6vuq','nJaXnZeZvKHRs0D2','mtaYotu4oezUAhHMCW','EgXXs0C'];_0x5ca2=function(){return _0x448766;};return _0x5ca2();}export async function getVisibleEnvironments(_0x4fae25){const _0x4ea199={_0x1e00c3:0x8d,_0x32b4df:0xb8,_0x127f5c:0x87,_0x5450c4:0xb4,_0xff3351:0x82,_0x56c066:0x66,_0x1e3a6c:0x9d,_0x469d97:0x15,_0x595a76:0xd4,_0x483209:0x7e,_0x259754:0x20,_0x43ae09:0x2a,_0x37be90:0x31,_0x52c3a1:0x1c,_0x4f6d1a:0x24,_0x469c4c:0x70,_0x59fd76:0xba,_0x3d460d:0x8c,_0x319a27:0x72,_0x2cc7a6:0x54,_0x16632b:0x98,_0x3c9116:0x85,_0x4b96cf:0x3f,_0x151112:0x63,_0x3ff7f9:0xcc,_0xff8063:0xe0,_0x17c42f:0xb0,_0x1d61e0:0xa8,_0x1d276a:0x5e,_0x38ef16:0x93,_0x20be10:0x9a,_0x3cba54:0x38,_0x1bdf16:0x6b,_0x4653b1:0xa2,_0x20373b:0x19,_0x173eb5:0x36,_0x406fa3:0x59,_0x17bea7:0xc9,_0x4be773:0xc7,_0x2c8064:0x60,_0x4c60b9:0xac,_0x92b4a0:0x3d,_0x5d50eb:0x16,_0xeb3a42:0x36,_0x5735a4:0x64,_0x2443d3:0x17,_0x364def:0x63,_0x1030df:0x29,_0x20b072:0x1,_0x160e90:0xd3,_0x55766f:0xeb,_0x5e3194:0x8e,_0xc8425f:0x2d,_0x10620f:0xb,_0x37da80:0x9,_0x29f266:0xa,_0x33de91:0x6,_0x6c7c76:0xf7,_0x1807f7:0xdf,_0x2efff9:0x7,_0x218b35:0x76,_0x34e70e:0x25,_0x32f201:0x2b,_0x1f04e4:0x35,_0x297c04:0x6},_0x445158={_0x523c90:0x218},_0x316266={_0x1b831b:0x148};function _0x4b7047(_0x2e0b5a,_0x1ad0d4,_0x2c5749,_0x5a5235){return _0x429b(_0x2e0b5a- -_0x316266._0x1b831b,_0x2c5749);}const _0x469323={'TgeIf':function(_0x3731b5,_0xa010cb){return _0x3731b5(_0xa010cb);},'CFazO':function(_0x57511f,_0xb9528a,_0x42d0fb){return _0x57511f(_0xb9528a,_0x42d0fb);},'UkbYp':'user','PFhkJ':function(_0x2478b5,_0x5caea9){return _0x2478b5===_0x5caea9;},'xlqKG':'environmen'+'t','DmNrw':function(_0x3d0834,_0x186d7f){return _0x3d0834===_0x186d7f;},'buLGN':_0x849da3(-0x93,-_0x4ea199._0x1e00c3,-_0x4ea199._0x32b4df,-0x85),'XSbqY':function(_0x3aea43,_0xa70606,_0x2284b2){return _0x3aea43(_0xa70606,_0x2284b2);},'ssOMA':'team','fHvHE':'jlqZU','JXuxI':_0x849da3(-0x78,-_0x4ea199._0x127f5c,-_0x4ea199._0x5450c4,-_0x4ea199._0xff3351),'NbYuo':function(_0x4d13ad,_0x3b1953){return _0x4d13ad!==_0x3b1953;},'zyNBC':_0x849da3(-_0x4ea199._0x56c066,-0x71,-0x85,-_0x4ea199._0x1e3a6c),'XEwzG':function(_0x19b3aa){return _0x19b3aa();}},{getTeamsByUserId:_0x5af2f7,getBindingsBySubject:_0x10197e,getAllEnvironments:_0x10944c}=await d(),_0x23479c=await _0x469323[_0x849da3(-0x61,-0x95,-0x2f,-_0x4ea199._0x469d97)](hasAllPermissions,_0x4fae25);if(_0x23479c)return await _0x10944c();const _0x128b5a=new Set(),_0xe25fc5=await _0x469323[_0x849da3(-0x8e,-0x4b,-_0x4ea199._0x595a76,-_0x4ea199._0x483209)](_0x10197e,_0x469323[_0x4b7047(_0x4ea199._0x259754,-_0x4ea199._0x43ae09,0x33,_0x4ea199._0x37be90)],_0x4fae25);for(const _0x21d1e7 of _0xe25fc5){if(_0x469323[_0x4b7047(0x54,_0x4ea199._0x52c3a1,_0x4ea199._0x4f6d1a,0x98)](_0x21d1e7['resource_t'+_0x849da3(-_0x4ea199._0x469c4c,-0x95,-0x3c,-0x7f)],_0x469323[_0x849da3(-_0x4ea199._0x59fd76,-_0x4ea199._0x3d460d,-0xa5,-_0x4ea199._0x319a27)])){if(_0x469323[_0x4b7047(_0x4ea199._0x2cc7a6,_0x4ea199._0x16632b,_0x4ea199._0x3c9116,0x33)](_0x21d1e7[_0x4b7047(_0x4ea199._0x4b96cf,0x78,_0x4ea199._0x151112,0x2f)+'d'],'*'))return _0x469323[_0x849da3(-_0x4ea199._0x3ff7f9,-0xfd,-0x8c,-_0x4ea199._0xff8063)](_0x469323[_0x849da3(-0x72,-_0x4ea199._0x17c42f,-_0x4ea199._0x1d61e0,-0x3e)],_0x469323[_0x4b7047(_0x4ea199._0x1d276a,0x94,_0x4ea199._0x38ef16,_0x4ea199._0x20be10)])?await _0x10944c():['*'];_0x128b5a[_0x4b7047(0x6c,_0x4ea199._0x3cba54,_0x4ea199._0x1bdf16,_0x4ea199._0x4653b1)](_0x21d1e7['resource_i'+'d']);}}const _0x20a8e2=await _0x469323['TgeIf'](_0x5af2f7,_0x4fae25);function _0x849da3(_0x3597ef,_0x4f8094,_0x855bd9,_0x406f8b){return _0x429b(_0x3597ef- -_0x445158._0x523c90,_0x855bd9);}for(const _0x21ac74 of _0x20a8e2){const _0x4a87f3=await _0x469323[_0x849da3(-0x6a,-0x30,-_0x4ea199._0x16632b,-0xa4)](_0x10197e,_0x469323[_0x4b7047(_0x4ea199._0x20373b,0x67,_0x4ea199._0x173eb5,_0x4ea199._0x406fa3)],_0x21ac74['id']);for(const _0x152929 of _0x4a87f3){if(_0x152929[_0x849da3(-_0x4ea199._0x17bea7,-0xe5,-0xef,-_0x4ea199._0x4be773)+_0x4b7047(_0x4ea199._0x2c8064,_0x4ea199._0x4c60b9,0xad,_0x4ea199._0x92b4a0)]===_0x469323[_0x4b7047(_0x4ea199._0x5d50eb,_0x4ea199._0xeb3a42,0x5,_0x4ea199._0x5735a4)]){if(_0x469323['fHvHE']===_0x469323[_0x4b7047(-_0x4ea199._0x2443d3,-_0x4ea199._0x364def,_0x4ea199._0x1030df,_0x4ea199._0x20b072)])_0x43173e=_0x452139[_0x849da3(-_0x4ea199._0x160e90,-_0x4ea199._0x55766f,-_0x4ea199._0x5e3194,-_0x4ea199._0x1e3a6c)](_0xc9931a=>_0xc9931a!==_0x22ab9f[_0x4b7047(0x9,-0x35,-0x13,-0xd)]);else{if(_0x469323[_0x4b7047(0x4,-_0x4ea199._0xc8425f,_0x4ea199._0x10620f,-_0x4ea199._0x37da80)](_0x152929[_0x4b7047(0x3f,-_0x4ea199._0x29f266,0x43,-_0x4ea199._0x33de91)+'d'],'*'))return _0x469323[_0x849da3(-0xcb,-_0x4ea199._0x6c7c76,-_0x4ea199._0x1807f7,-0xf9)](_0x4b7047(-_0x4ea199._0x2efff9,0x7,-0x1f,-_0x4ea199._0x469d97),_0x469323[_0x4b7047(0x3b,_0x4ea199._0x218b35,_0x4ea199._0x34e70e,0x7a)])?await _0x469323['XEwzG'](_0x10944c):_0x53bcac;_0x128b5a[_0x4b7047(0x6c,_0x4ea199._0x32f201,0x42,_0x4ea199._0x1f04e4)](_0x152929[_0x4b7047(0x3f,0x70,-_0x4ea199._0x297c04,0x81)+'d']);}}}}return[..._0x128b5a];}function _0x429b(_0xcdcebf,_0x3b1fd2){_0xcdcebf=_0xcdcebf-(0x3*0xf1+0xe64+-0x5*0x337);const _0xdc7655=_0x5ca2();let _0x1d0b90=_0xdc7655[_0xcdcebf];if(_0x429b['ZFMfZI']===undefined){var _0x161fdd=function(_0x1e0939){const _0xb2b800='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x485c39='',_0x589508='';for(let _0x3290a4=-0x955+-0x22*0x102+-0x1*-0x2b99,_0x5b399a,_0x264334,_0x49c094=-0x550+0x1d89*0x1+-0x1839;_0x264334=_0x1e0939['charAt'](_0x49c094++);~_0x264334&&(_0x5b399a=_0x3290a4%(-0x676*0x5+0x1f5b+-0x1*-0xf7)?_0x5b399a*(-0x23*0x91+0x1*-0x80+0x1493)+_0x264334:_0x264334,_0x3290a4++%(0x5ea*-0x4+0x1*0x1f3a+-0x78e))?_0x485c39+=String['fromCharCode'](0x906+0x1c34+-0x243b&_0x5b399a>>(-(0x14e6+0x1e7a+0xa*-0x523)*_0x3290a4&0x5fb*-0x5+-0x4f*-0x2e+0xfbb)):0x181e+-0x25f7+-0xdd9*-0x1){_0x264334=_0xb2b800['indexOf'](_0x264334);}for(let _0x33a0a2=0x1acc+0x1*0x1e5+0x1*-0x1cb1,_0x36ffc8=_0x485c39['length'];_0x33a0a2<_0x36ffc8;_0x33a0a2++){_0x589508+='%'+('00'+_0x485c39['charCodeAt'](_0x33a0a2)['toString'](0x368+-0x445*-0x9+0x1*-0x29c5))['slice'](-(0x1*0x1cf3+0xfe3+-0x2cd4));}return decodeURIComponent(_0x589508);};_0x429b['cZeAbE']=_0x161fdd,_0x429b['eswmLM']={},_0x429b['ZFMfZI']=!![];}const _0x4640df=_0xdc7655[-0x5*-0x10f+-0x3*-0x439+-0x26*0x79],_0x25b9a9=_0xcdcebf+_0x4640df,_0xe4341d=_0x429b['eswmLM'][_0x25b9a9];return!_0xe4341d?(_0x1d0b90=_0x429b['cZeAbE'](_0x1d0b90),_0x429b['eswmLM'][_0x25b9a9]=_0x1d0b90):_0x1d0b90=_0xe4341d,_0x1d0b90;}export async function resolveUserPermissionsAllEnvironments(_0x260952){const _0x3ffac4={_0x2e8c47:0x85,_0x1605b5:0xdf,_0x274e35:0x10b},_0x52fbb8={_0x4b1cc5:0x263},_0x1d6145={'bAvoH':function(_0x53c595,_0x2f9979){return _0x53c595(_0x2f9979);},'hTQFc':function(_0x5ce1e6,_0x5314d8,_0x8059d0){return _0x5ce1e6(_0x5314d8,_0x8059d0);}};function _0x23720a(_0x2b7c1f,_0x3ba117,_0x1645a2,_0x5341df){return _0x429b(_0x5341df- -0x1c4,_0x3ba117);}function _0x146d10(_0x1c231c,_0x48b2b0,_0x483605,_0x114d4f){return _0x429b(_0x114d4f- -_0x52fbb8._0x4b1cc5,_0x48b2b0);}const _0x58b157=await _0x1d6145[_0x23720a(-0x4d,-0x90,-0x4f,-_0x3ffac4._0x2e8c47)](getVisibleEnvironments,_0x260952),_0x58cffd={};for(const _0x24b18f of _0x58b157){_0x58cffd[_0x24b18f]=await _0x1d6145[_0x146d10(-0xd2,-_0x3ffac4._0x1605b5,-0x140,-_0x3ffac4._0x274e35)](resolveUserPermissions,_0x260952,_0x24b18f);}return _0x58cffd;}export async function resolveUserServerPermissions(_0x687567){const _0x36cd08={_0x3dd8d4:0x261,_0x442218:0x29b,_0x310dbb:0x298,_0x425ec5:0x2ad,_0x1acf9e:0x290,_0x37610e:0x2cf,_0x1b7fc4:0x3a4,_0x3cfbc2:0x27b,_0x1fc77b:0x280,_0x20c2b9:0x386,_0xc92ce1:0x35a,_0x5bb076:0x3dc,_0x3e7ef8:0x3df,_0x4aa0f5:0x409,_0x30fe35:0x23d,_0x16c9f6:0x24b,_0x1909a2:0x3c8,_0x23c264:0x36c,_0x148145:0x382,_0x53f36c:0x3d1,_0x78c46f:0x3b8,_0x5de3d4:0x3d7,_0x241a52:0x340,_0x37c846:0x373},_0x4e4736={'mFbfA':function(_0x3b88aa){return _0x3b88aa();},'VfZlb':function(_0x211162,_0x280d38,_0x3e19b9){return _0x211162(_0x280d38,_0x3e19b9);},'pkqnt':'user','yMlho':_0x38a4f9(-_0x36cd08._0x3dd8d4,-_0x36cd08._0x442218,-0x25b,-_0x36cd08._0x310dbb),'cLEWA':function(_0xed9e07,_0xc1e0dd){return _0xed9e07(_0xc1e0dd);},'xqFrZ':function(_0x516ac7,_0xede63f){return _0x516ac7===_0xede63f;},'qUoGS':_0x38a4f9(-_0x36cd08._0x425ec5,-_0x36cd08._0x1acf9e,-_0x36cd08._0x37610e,-0x297)},{getBindingsBySubject:_0x496ab,getTeamsByUserId:_0x2d476f,getRoleById:_0x18a5ac}=await _0x4e4736[_0x38a4f9(-0x2c4,-0x2da,-0x2d3,-0x2ab)](d),_0x53a366=new Set();function _0x8dd025(_0x524f09,_0x2ab5b8,_0x46f62d,_0x486229){return _0x429b(_0x524f09-0x223,_0x46f62d);}const _0x3b5064=new Set(Object[_0x8dd025(0x3a0,_0x36cd08._0x1b7fc4,0x372,0x3b0)](PERMISSIONS[_0x38a4f9(-0x25c,-0x29c,-_0x36cd08._0x3cfbc2,-_0x36cd08._0x1fc77b)])),_0x57a937=await _0x4e4736[_0x8dd025(_0x36cd08._0x20c2b9,0x354,0x37a,0x357)](_0x496ab,_0x4e4736['pkqnt'],_0x687567),_0x29b103=await _0x2d476f(_0x687567),_0x2cf976=[..._0x57a937];for(const _0x54e050 of _0x29b103){const _0x127e6c=await _0x4e4736[_0x38a4f9(-0x254,-0x240,-0x29e,-0x27d)](_0x496ab,_0x4e4736['yMlho'],_0x54e050['id']);_0x2cf976[_0x8dd025(_0x36cd08._0xc92ce1,0x36e,0x319,0x393)](..._0x127e6c);}function _0x38a4f9(_0x103b3c,_0x43a5ac,_0x562648,_0x44eeac){return _0x429b(_0x44eeac- -0x3e0,_0x43a5ac);}for(const _0x5a7186 of _0x2cf976){const _0x26830c=await _0x4e4736[_0x8dd025(0x3dd,0x425,0x40d,_0x36cd08._0x5bb076)](_0x18a5ac,_0x5a7186[_0x8dd025(0x3cf,0x3a8,_0x36cd08._0x3e7ef8,_0x36cd08._0x4aa0f5)]);if(!_0x26830c)continue;if(_0x26830c[_0x38a4f9(-_0x36cd08._0x30fe35,-_0x36cd08._0x16c9f6,-0x20d,-0x251)+'s']['includes']('*'))return['*'];for(const _0x1f17fb of _0x26830c[_0x8dd025(0x3b2,0x3ef,0x3cd,_0x36cd08._0x1909a2)+'s']){if(_0x3b5064['has'](_0x1f17fb)){if(_0x4e4736[_0x8dd025(0x350,0x30b,0x33f,0x332)](_0x8dd025(_0x36cd08._0x23c264,0x324,_0x36cd08._0x148145,0x3ae),_0x4e4736[_0x8dd025(0x3b0,0x379,_0x36cd08._0x53f36c,0x3b9)]))_0x53a366['add'](_0x1f17fb);else for(const _0x33b433 of _0x33d8a5[_0x8dd025(0x3b2,_0x36cd08._0x78c46f,_0x36cd08._0x5de3d4,0x3c5)+'s']){_0x153976[_0x8dd025(0x355,_0x36cd08._0x241a52,_0x36cd08._0x37c846,0x372)](_0x33b433)&&_0x5305a3[_0x4313b9]['add'](_0x33b433);}}}}return[..._0x53a366];}export async function resolveUserTeamPermissionsAll(_0x5c9b8c){const _0x1c1c5d={_0x399ee0:0x3f5,_0x4a2abc:0x417,_0x2c7b6d:0x436,_0x31cdd1:0x40f,_0x37c0be:0x48e,_0x2d17cd:0x486,_0x7c3a0d:0x3ff,_0x1bad80:0x438,_0x556142:0x3fe,_0x5f26d8:0x40b,_0x5458b6:0x440,_0x21e407:0x443,_0x51f24b:0x1dc,_0x134fa8:0x1a5,_0x4c3d4e:0x1d3,_0x50c63a:0x177,_0x3d9010:0x193,_0x3a3062:0x1be,_0x15d5e1:0x1b9,_0x5cc833:0x1e4,_0x5d0461:0x184,_0x35b99a:0x3ec,_0x49af26:0x1d0,_0x2c5b78:0x20e,_0x2389d3:0x458,_0x4fa5b3:0x44a,_0x17384f:0x437,_0x543953:0x40a,_0x86e7c0:0x478,_0x528d3c:0x44f,_0xbd77b7:0x404,_0x3a7fc4:0x446,_0x4f96bb:0x43b,_0x24e8df:0x45d,_0x2499f7:0x47d,_0x88b1d8:0x18a,_0x1a51b6:0x1af,_0x2b2617:0x1ba,_0x435399:0x1c7,_0x20732d:0x461,_0x599dc9:0x419,_0x2001e2:0x445,_0x276e75:0x18a,_0x371468:0x444,_0x4229e9:0x41e,_0x1e9563:0x414,_0x3bd39e:0x407,_0xa161e1:0x44d,_0x200bf3:0x3fd,_0x18b76c:0x18a,_0x5c52af:0x1a8,_0xf3d68e:0x47b,_0x5476cb:0x483,_0x53571e:0x1b1,_0x245b88:0x1a1,_0x1bb7ea:0x1c1,_0x3fe409:0x1d3,_0x27794d:0x170,_0x124a6a:0x1bb,_0x380aa2:0x17c,_0x5c4018:0x466,_0x583a04:0x3f3,_0xc9c4ee:0x436,_0x300124:0x144,_0x4946b6:0x172,_0x382174:0x1a4,_0x5d3310:0x1bb,_0x1a9a73:0x19d,_0x35721b:0x14c,_0xa38fb7:0x1cd,_0x39619a:0x1ca,_0x110fe0:0x1b1,_0x18ef3b:0x215,_0x46cee4:0x215,_0x15a1cb:0x1aa,_0x10c478:0x469,_0x2b329f:0x431,_0x47a82b:0x489,_0x2f61df:0x438},_0xaa1f6b={_0x2b1462:0x2b5},_0x585420={'wecIt':function(_0x376902){return _0x376902();},'EVdCO':_0xe90d6f(_0x1c1c5d._0x399ee0,_0x1c1c5d._0x4a2abc,0x400,0x3ec),'flYcy':_0xe90d6f(0x3fd,_0x1c1c5d._0x2c7b6d,0x439,_0x1c1c5d._0x31cdd1),'ZZTOH':function(_0x4e2fce,_0x3755b4){return _0x4e2fce===_0x3755b4;},'XSMxx':_0xe90d6f(0x46b,_0x1c1c5d._0x37c0be,0x43c,0x45b),'VVBFr':function(_0x597e66,_0x5782b3){return _0x597e66!==_0x5782b3;},'jZHHh':function(_0x89c29e,_0x1dd4b9){return _0x89c29e(_0x1dd4b9);},'GyVii':_0xe90d6f(0x446,0x424,_0x1c1c5d._0x2d17cd,_0x1c1c5d._0x7c3a0d),'qnFMV':function(_0x7fcb9f,_0x39d32e){return _0x7fcb9f!==_0x39d32e;},'DySqG':_0xe90d6f(0x445,_0x1c1c5d._0x1bad80,_0x1c1c5d._0x556142,_0x1c1c5d._0x5f26d8),'jRPPd':function(_0x208e62,_0x306efa){return _0x208e62!==_0x306efa;}},{getBindingsBySubject:_0x3abaaa,getTeamsByUserId:_0x3551d0,getRoleById:_0x5d7c83}=await _0x585420['wecIt'](d),_0x57fb36=new Set(Object[_0xe90d6f(0x432,0x463,_0x1c1c5d._0x5458b6,_0x1c1c5d._0x21e407)](PERMISSIONS[_0x1df51c(-_0x1c1c5d._0x51f24b,-_0x1c1c5d._0x134fa8,-0x204,-0x20f)])),_0x18c501={},_0x1cc9c7=await _0x3abaaa(_0x585420[_0x1df51c(-0x1ae,-_0x1c1c5d._0x4c3d4e,-_0x1c1c5d._0x50c63a,-_0x1c1c5d._0x3d9010)],_0x5c9b8c),_0x40eace=await _0x3551d0(_0x5c9b8c);function _0xe90d6f(_0x545630,_0x28c9cb,_0x45b0cc,_0x1d66df){return _0x429b(_0x545630-_0xaa1f6b._0x2b1462,_0x1d66df);}const _0x286e2a=[..._0x1cc9c7];for(const _0x182b67 of _0x40eace){const _0x3a5af7=await _0x3abaaa(_0x585420[_0x1df51c(-_0x1c1c5d._0x3a3062,-_0x1c1c5d._0x15d5e1,-_0x1c1c5d._0x5cc833,-_0x1c1c5d._0x5d0461)],_0x182b67['id']);_0x286e2a[_0xe90d6f(_0x1c1c5d._0x35b99a,0x422,0x3f1,0x42b)](..._0x3a5af7);}for(const _0x382b60 of _0x286e2a){if(_0x585420[_0x1df51c(-_0x1c1c5d._0x49af26,-_0x1c1c5d._0x2c5b78,-0x194,-0x202)]('IPqXx',_0x585420[_0xe90d6f(_0x1c1c5d._0x2389d3,0x439,_0x1c1c5d._0x4fa5b3,_0x1c1c5d._0x17384f)]))for(const _0x2be2a5 of _0x208b60[_0xe90d6f(0x444,_0x1c1c5d._0x543953,0x421,0x48c)+'s']){_0x2dad0e[_0xe90d6f(0x469,0x42b,_0x1c1c5d._0x86e7c0,0x469)](_0x2be2a5);}else{if(_0x585420[_0xe90d6f(0x403,_0x1c1c5d._0x31cdd1,0x40e,_0x1c1c5d._0x528d3c)](_0x382b60[_0xe90d6f(_0x1c1c5d._0xbd77b7,0x3c8,_0x1c1c5d._0x3a7fc4,_0x1c1c5d._0x4f96bb)+_0xe90d6f(_0x1c1c5d._0x24e8df,0x46f,0x437,_0x1c1c5d._0x2499f7)],_0x585420[_0x1df51c(-0x1be,-0x1ef,-_0x1c1c5d._0x88b1d8,-_0x1c1c5d._0x1a51b6)]))continue;const _0x4073ca=await _0x585420[_0x1df51c(-_0x1c1c5d._0x2b2617,-_0x1c1c5d._0x4c3d4e,-_0x1c1c5d._0x435399,-0x190)](_0x5d7c83,_0x382b60[_0xe90d6f(_0x1c1c5d._0x20732d,0x47f,_0x1c1c5d._0x599dc9,_0x1c1c5d._0x2001e2)]);if(!_0x4073ca)continue;const _0x320801=_0x382b60[_0x1df51c(-0x19d,-0x14f,-0x193,-_0x1c1c5d._0x276e75)+'d'];if(!_0x18c501[_0x320801])_0x18c501[_0x320801]=new Set();if(_0x4073ca[_0xe90d6f(_0x1c1c5d._0x371468,_0x1c1c5d._0x4229e9,_0x1c1c5d._0x1e9563,_0x1c1c5d._0x3bd39e)+'s'][_0xe90d6f(_0x1c1c5d._0x4f96bb,0x477,_0x1c1c5d._0xa161e1,_0x1c1c5d._0x200bf3)]('*')){if(_0x585420[_0x1df51c(-0x1d6,-_0x1c1c5d._0x18b76c,-0x1cc,-0x1b5)](_0xe90d6f(0x446,0x447,0x468,0x40a),_0x585420[_0x1df51c(-0x1ec,-0x200,-_0x1c1c5d._0x5c52af,-0x20b)])){const _0x22d016={};return _0x22d016['server']=['*'],_0x22d016[_0xe90d6f(_0x1c1c5d._0x17384f,0x471,_0x1c1c5d._0xf3d68e,_0x1c1c5d._0x5476cb)+'ts']={},_0x22d016[_0x1df51c(-_0x1c1c5d._0x53571e,-0x1dc,-_0x1c1c5d._0x245b88,-_0x1c1c5d._0x1bb7ea)]={},_0x22d016;}else for(const _0xc6520c of _0x57fb36){_0x585420['qnFMV'](_0x585420[_0x1df51c(-0x1f5,-_0x1c1c5d._0x3fe409,-0x1f4,-0x1b6)],_0x585420['DySqG'])?_0x1abb55[_0x1df51c(-_0x1c1c5d._0x27794d,-_0x1c1c5d._0x124a6a,-0x16c,-0x150)](_0x298ea1):_0x18c501[_0x320801][_0x1df51c(-0x170,-_0x1c1c5d._0x380aa2,-0x199,-_0x1c1c5d._0x134fa8)](_0xc6520c);}}else{if(_0x585420[_0xe90d6f(0x421,_0x1c1c5d._0x5c4018,_0x1c1c5d._0x583a04,_0x1c1c5d._0xc9c4ee)]('tMlHi',_0x1df51c(-0x185,-_0x1c1c5d._0x300124,-_0x1c1c5d._0x4946b6,-0x1c2)))_0x4640df[_0x25b9a9][_0x1df51c(-_0x1c1c5d._0x27794d,-_0x1c1c5d._0x382174,-_0x1c1c5d._0x276e75,-_0x1c1c5d._0x5d3310)](_0xe4341d);else for(const _0x479e08 of _0x4073ca[_0x1df51c(-0x195,-_0x1c1c5d._0x1a9a73,-_0x1c1c5d._0x35721b,-_0x1c1c5d._0xa38fb7)+'s']){_0x57fb36['has'](_0x479e08)&&(_0x585420[_0xe90d6f(0x439,0x481,0x430,0x424)]('GwoQw',_0x1df51c(-_0x1c1c5d._0x39619a,-_0x1c1c5d._0x110fe0,-_0x1c1c5d._0x18ef3b,-_0x1c1c5d._0x46cee4))?_0x5a7d48[_0x1df51c(-0x1f2,-0x239,-_0x1c1c5d._0x15a1cb,-0x1d9)](_0x4e9c79)&&_0x1e0a25[_0xe90d6f(_0x1c1c5d._0x10c478,0x47b,0x439,_0x1c1c5d._0x2b329f)](_0x3ab40c):_0x18c501[_0x320801][_0xe90d6f(0x469,_0x1c1c5d._0x47a82b,_0x1c1c5d._0x2f61df,0x461)](_0x479e08));}}}}function _0x1df51c(_0x1e919a,_0x3f2bd0,_0x307f43,_0x4cfeed){return _0x429b(_0x1e919a- -0x324,_0x3f2bd0);}for(const _0x12672a of Object['keys'](_0x18c501)){_0x18c501[_0x12672a]=[..._0x18c501[_0x12672a]];}return _0x18c501;}export async function resolveAllUserPermissions(_0x1ea9d6){const _0x3db9c9={_0x334df8:0xc6,_0x4130e2:0x361,_0x2c4ebb:0x35c,_0x496c50:0x8b,_0x344d3e:0xc1,_0x58b06d:0xbd,_0x7c7d81:0xff,_0x12b334:0x156,_0x227785:0x37a,_0x28105e:0x3c0,_0x59d421:0x34a,_0x48eea5:0xa2,_0x3dae70:0x33e,_0x1497a3:0x352,_0x264a8f:0xe2,_0x6ec7e5:0xcc},_0x44eb83={_0x586ea0:0x23f},_0x28c626={'bdPcH':function(_0xf4d4ce,_0x10aacf){return _0xf4d4ce(_0x10aacf);},'BYpBm':function(_0xcb864a,_0x3a9aab){return _0xcb864a(_0x3a9aab);}},_0x211d78=await _0x28c626[_0x29ddde(-0xf2,-0x9d,-_0x3db9c9._0x334df8,-0xa9)](hasAllPermissions,_0x1ea9d6);if(_0x211d78){const _0x2097c9={};return _0x2097c9[_0x78cf37(_0x3db9c9._0x4130e2,0x3a5,_0x3db9c9._0x2c4ebb,0x31f)]=['*'],_0x2097c9[_0x29ddde(-_0x3db9c9._0x496c50,-_0x3db9c9._0x344d3e,-_0x3db9c9._0x58b06d,-_0x3db9c9._0x7c7d81)+'ts']={},_0x2097c9['teams']={},_0x2097c9;}const [_0x2243f8,_0x377f81,_0x3348d2]=await Promise[_0x29ddde(-_0x3db9c9._0x12b334,-0x14c,-0x111,-0x102)]([_0x28c626[_0x78cf37(_0x3db9c9._0x227785,0x391,_0x3db9c9._0x28105e,_0x3db9c9._0x59d421)](resolveUserServerPermissions,_0x1ea9d6),_0x28c626[_0x29ddde(-_0x3db9c9._0x48eea5,-0x9d,-_0x3db9c9._0x334df8,-0xea)](resolveUserPermissionsAllEnvironments,_0x1ea9d6),_0x28c626[_0x78cf37(_0x3db9c9._0x3dae70,0x354,0x33f,0x361)](resolveUserTeamPermissionsAll,_0x1ea9d6)]),_0x11191f={};function _0x78cf37(_0x48619c,_0x86512,_0x30a9e6,_0x5d2fa5){return _0x429b(_0x48619c-0x201,_0x86512);}function _0x29ddde(_0x4080cb,_0x148691,_0x213ae1,_0x2d5fbb){return _0x429b(_0x213ae1- -_0x44eb83._0x586ea0,_0x2d5fbb);}return _0x11191f[_0x78cf37(_0x3db9c9._0x4130e2,0x365,0x3a5,_0x3db9c9._0x1497a3)]=_0x2243f8,_0x11191f['environmen'+'ts']=_0x377f81,_0x11191f[_0x29ddde(-_0x3db9c9._0x264a8f,-0x10e,-_0x3db9c9._0x6ec7e5,-0x93)]=_0x3348d2,_0x11191f;}export async function hasPermissionOnAnyTeam(_0x1b054e,_0x3b65e7){const _0x138edd={_0x35fd66:0x246,_0x34540e:0x26e,_0x1e7190:0x22c,_0x230e42:0x122,_0x1ce799:0x2b1,_0x2a2a3c:0x285,_0x390001:0x257,_0x3f6013:0x149,_0x1312ad:0x145,_0x321045:0x21f,_0x1aeaea:0x12f,_0x3c2980:0x267,_0x58dc39:0x1bd,_0x2e79f8:0x189,_0x43d82f:0x1c9,_0x22e3ec:0x248,_0x46c3d4:0x271,_0x2ade44:0x23a,_0x216294:0x191,_0x97ce2a:0x180,_0x539e6f:0x25c,_0x3c1830:0x275,_0x31bc43:0x153,_0x22f4e9:0x120,_0x4a7481:0x135,_0x148e22:0x1a1},_0x159d85={_0xae657d:0xc9};function _0x2c4821(_0x2d4c40,_0x31183b,_0x930e1c,_0x51f3e5){return _0x429b(_0x51f3e5- -0x12,_0x2d4c40);}const _0x41d93a={'VwcKi':function(_0x287d2e,_0x1cde8d){return _0x287d2e(_0x1cde8d);},'IVsjv':function(_0x5d2767){return _0x5d2767();},'BYYRp':function(_0x411558,_0x286058,_0x6d53a4){return _0x411558(_0x286058,_0x6d53a4);},'IbjNb':'user','oAssB':_0x2ad550(_0x138edd._0x35fd66,_0x138edd._0x34540e,0x247,_0x138edd._0x1e7190),'aSpuH':function(_0xa8d6,_0x516b19){return _0xa8d6===_0x516b19;},'zIVYY':_0x2c4821(0xed,_0x138edd._0x230e42,0x17d,0x136),'iJltX':'uIjtl','jbTHP':function(_0x220302,_0x561f8b,_0x116c9b){return _0x220302(_0x561f8b,_0x116c9b);},'hGhxf':function(_0x4d18a4,_0x5a5ce0){return _0x4d18a4(_0x5a5ce0);},'ZrHna':function(_0x20b8e4,_0x4fd136,_0x2d0db7){return _0x20b8e4(_0x4fd136,_0x2d0db7);}},_0x563cd5=await _0x41d93a[_0x2ad550(0x269,_0x138edd._0x1ce799,_0x138edd._0x2a2a3c,0x26a)](hasAllPermissions,_0x1b054e);if(_0x563cd5)return!![];const {getTeamsByUserId:_0x1d94cb,getBindingsBySubject:_0x5dd04c,getRoleById:_0xdd4740,getBindings:_0x59725f}=await _0x41d93a[_0x2ad550(_0x138edd._0x390001,0x26a,0x25c,0x270)](d),_0x169179=await _0x41d93a['BYYRp'](_0x5dd04c,_0x41d93a[_0x2c4821(_0x138edd._0x3f6013,_0x138edd._0x1312ad,0x15f,0x162)],_0x1b054e);for(const _0x52ae99 of _0x169179){if(_0x41d93a[_0x2ad550(0x248,0x241,_0x138edd._0x321045,0x268)]===_0x41d93a[_0x2ad550(0x1f6,0x1f7,_0x138edd._0x321045,0x1e0)]){if(_0x41d93a[_0x2ad550(0x285,0x26b,0x281,0x27c)](_0x52ae99[_0x2c4821(0x134,_0x138edd._0x1aeaea,0x169,0x13d)+_0x2ad550(0x293,_0x138edd._0x3c2980,0x271,0x281)],_0x41d93a[_0x2c4821(0x1d0,_0x138edd._0x58dc39,_0x138edd._0x2e79f8,0x198)])){if(_0x41d93a['iJltX']!==_0x41d93a[_0x2ad550(0x1ac,0x1fc,0x1ee,_0x138edd._0x43d82f)])return['*'];else{const _0x26c484=await _0xdd4740(_0x52ae99['role_id']);if(_0x26c484&&hasPermissionInSet(_0x26c484[_0x2ad550(0x244,0x21f,0x258,_0x138edd._0x22e3ec)+'s'],_0x3b65e7))return!![];}}}else _0x7af260=_0x42dfb0['members']||[];}const _0x401e91=await _0x1d94cb(_0x1b054e);function _0x2ad550(_0x2d415c,_0x2de0b5,_0x474758,_0x5ade74){return _0x429b(_0x474758-_0x159d85._0xae657d,_0x2de0b5);}for(const _0x27aa32 of _0x401e91){const _0x588cb5=await _0x41d93a[_0x2c4821(0x1ac,0x1c7,0x190,0x18f)](_0x5dd04c,_0x41d93a['zIVYY'],_0x27aa32['id']);for(const _0xe523e0 of _0x588cb5){if(_0x41d93a[_0x2c4821(0x164,0x1d1,0x162,0x1a6)](_0xe523e0[_0x2ad550(0x1f4,0x215,0x218,0x1ea)+_0x2ad550(0x248,0x2b0,_0x138edd._0x46c3d4,_0x138edd._0x2ade44)],_0x41d93a[_0x2c4821(_0x138edd._0x216294,_0x138edd._0x97ce2a,0x18a,0x198)])){const _0x23c74f=await _0x41d93a['hGhxf'](_0xdd4740,_0xe523e0[_0x2ad550(0x234,_0x138edd._0x539e6f,_0x138edd._0x3c1830,0x294)]);if(_0x23c74f&&_0x41d93a[_0x2c4821(_0x138edd._0x31bc43,0xf0,_0x138edd._0x22f4e9,_0x138edd._0x4a7481)](hasPermissionInSet,_0x23c74f[_0x2c4821(0x1af,0x132,_0x138edd._0x148e22,0x17d)+'s'],_0x3b65e7))return!![];}}}return![];}export async function hasPermissionOnAnyEnvironment(_0x229b47,_0x3b0e66){const _0x10dcd3={_0x5d881b:0x230,_0x86bc2a:0x1f3,_0x20b522:0x1e4,_0x2c71df:0x212,_0x3b0a46:0x1c0,_0x198544:0x18a,_0x5ea143:0x1ef,_0x203fc4:0x21f,_0x42f8df:0x228,_0x1994bf:0x3ba,_0x17365a:0x38d,_0x58f110:0x227};function _0x5df7b1(_0x50da9a,_0x4f777b,_0x3618f0,_0x2001bf){return _0x429b(_0x2001bf-0x204,_0x50da9a);}const _0x3d984c={'kNSPr':function(_0x47f9e2,_0x3b3fdd){return _0x47f9e2(_0x3b3fdd);},'CrtIq':function(_0x1cceee,_0x2754b6){return _0x1cceee(_0x2754b6);},'UPRvJ':function(_0x22d586,_0x2d1030){return _0x22d586!==_0x2d1030;},'sxJaP':_0x103739(0x222,_0x10dcd3._0x5d881b,0x266,0x245),'QhNBl':_0x103739(_0x10dcd3._0x86bc2a,_0x10dcd3._0x20b522,0x20d,_0x10dcd3._0x2c71df),'HIcic':function(_0x5677dd,_0x236f3a,_0x300143){return _0x5677dd(_0x236f3a,_0x300143);}};function _0x103739(_0x5a2669,_0x29bba5,_0x5cec6e,_0x33b8e3){return _0x429b(_0x29bba5-0x7d,_0x5cec6e);}const _0x4f1590=await _0x3d984c[_0x103739(0x1b3,_0x10dcd3._0x3b0a46,0x1a6,_0x10dcd3._0x198544)](hasAllPermissions,_0x229b47);if(_0x4f1590)return!![];const _0x32ece=await _0x3d984c[_0x103739(0x1fd,0x1ea,0x228,0x1e7)](getVisibleEnvironments,_0x229b47);for(const _0x8157be of _0x32ece){if(_0x3d984c[_0x103739(_0x10dcd3._0x5ea143,_0x10dcd3._0x203fc4,_0x10dcd3._0x42f8df,0x229)](_0x3d984c[_0x5df7b1(_0x10dcd3._0x1994bf,0x39a,0x34c,_0x10dcd3._0x17365a)],_0x3d984c[_0x103739(0x1e9,0x1ec,_0x10dcd3._0x58f110,0x1cf)])){const _0x5960d9=await resolveUserPermissions(_0x229b47,_0x8157be);if(_0x3d984c['HIcic'](hasPermissionInSet,_0x5960d9,_0x3b0e66))return!![];}else return!![];}return![];}export async function resolveUserRoleNames(_0x8b8f81){const _0x4e46f1={_0xd2b079:0x2a7,_0xc6712e:0x24f,_0x2eb749:0x274,_0x1067f5:0x268,_0x4715e3:0x4a7,_0x2ac79c:0x4cd,_0x40c23d:0x48b,_0x524de2:0x41e,_0x2acd07:0x47b,_0x254a17:0x4bb,_0x5f02f7:0x49e,_0x248b81:0x421,_0x587972:0x44e,_0x12790b:0x285,_0x57f2c0:0x25e,_0x15d2a6:0x25c,_0x3d3cb4:0x290},_0x75734f={'ZLsSX':function(_0x491979){return _0x491979();},'GBjCJ':function(_0x36e577,_0x1c5999,_0x369151){return _0x36e577(_0x1c5999,_0x369151);},'atNVV':_0x4b828c(_0x4e46f1._0xd2b079,0x272,0x269,_0x4e46f1._0xc6712e),'vNNrg':function(_0x30f4dc,_0x5b5667){return _0x30f4dc(_0x5b5667);},'OMyDU':function(_0x2236f3,_0x355e1b,_0x1bc2d1){return _0x2236f3(_0x355e1b,_0x1bc2d1);},'jGAeU':function(_0x4c4f18,_0x1ee407){return _0x4c4f18(_0x1ee407);}},{getBindingsBySubject:_0x432047,getTeamsByUserId:_0x451a5a,getRoleById:_0x10e646}=await _0x75734f['ZLsSX'](d),_0x1feaab=await _0x75734f[_0x4b828c(0x2b9,_0x4e46f1._0x2eb749,_0x4e46f1._0x1067f5,0x22e)](_0x432047,_0x75734f[_0xb17de8(_0x4e46f1._0x4715e3,_0x4e46f1._0x2ac79c,0x4d0,_0x4e46f1._0x40c23d)],_0x8b8f81),_0x287fa5=await _0x75734f['vNNrg'](_0x451a5a,_0x8b8f81);function _0x4b828c(_0x30b353,_0x427496,_0xef4c2d,_0x268b80){return _0x429b(_0x427496-0x132,_0x268b80);}function _0xb17de8(_0x3fd0e2,_0x402fbe,_0x2b366f,_0x3484da){return _0x429b(_0x3484da-0x2e7,_0x2b366f);}const _0xe7dac6=[];for(const _0x19cabb of _0x287fa5){const _0x11362e=await _0x75734f['OMyDU'](_0x432047,_0xb17de8(_0x4e46f1._0x524de2,0x404,_0x4e46f1._0x2acd07,0x42f),_0x19cabb['id']);_0xe7dac6['push'](..._0x11362e);}const _0x29e796=[..._0x1feaab,..._0xe7dac6],_0x3598f0=new Set(_0x29e796['map'](_0x56bc26=>_0x56bc26[_0xb17de8(0x481,0x4b8,0x4e0,0x493)])),_0x4a2f72=[];for(const _0x33c245 of _0x3598f0){const _0x2a88a0=await _0x75734f[_0xb17de8(_0x4e46f1._0x254a17,_0x4e46f1._0x5f02f7,0x446,0x472)](_0x10e646,_0x33c245);if(_0x2a88a0)_0x4a2f72[_0xb17de8(0x401,_0x4e46f1._0x248b81,_0x4e46f1._0x587972,0x41e)](_0x2a88a0[_0x4b828c(_0x4e46f1._0x12790b,_0x4e46f1._0x57f2c0,_0x4e46f1._0x15d2a6,_0x4e46f1._0x3d3cb4)]);}return _0x4a2f72;}export async function wouldRetainServerAdmin({excludeBindingId:_0x587d23,excludeTeamMember:_0x4ce329,excludeTeamId:_0x26a8c7,replaceTeamMembers:_0x34f9f7}={}){const _0x27385f={_0x5613e2:0x28b,_0x28cfbe:0x275,_0x2ed019:0x2af,_0x5b95eb:0x29a,_0x394c9c:0x295,_0x325435:0x2fc,_0x53f059:0x304,_0x1f3760:0x3ce,_0xa3b85:0x3db,_0x2cabe4:0x460,_0x45d272:0x414,_0x505912:0x42c,_0x4ad632:0x2f7,_0x48865b:0x2fd,_0x291540:0x438,_0xf8e76e:0x492,_0x2518ec:0x46c,_0x425dcb:0x2d4,_0x30d355:0x2ad,_0x2868cb:0x2bb,_0x1a6c1f:0x417,_0xc4993a:0x3e5,_0x210507:0x420,_0x1279c4:0x261,_0x54f86d:0x281,_0x3cd053:0x29c,_0x100589:0x45c,_0x3103a0:0x4a0,_0x5b8272:0x494,_0x3869a5:0x452,_0x1cf96f:0x472,_0x547f16:0x451,_0x288be7:0x48a,_0x477250:0x455,_0x320ce2:0x4b3,_0x3a3a7a:0x498,_0x41cf9f:0x325,_0x44c9f8:0x2dc,_0x5bc378:0x4b6,_0x51e2db:0x435,_0x341c02:0x245,_0x11cd53:0x289,_0x39f644:0x284,_0x506574:0x2aa,_0xeea3dd:0x285,_0xb568aa:0x2b0,_0x11caea:0x272,_0x561e68:0x27d,_0x2b2c35:0x425,_0x4640d8:0x42a,_0x186129:0x2b7,_0x53221d:0x24a,_0x2220b0:0x277,_0x15b25d:0x28e,_0x3915c1:0x2c2,_0x303b01:0x459,_0x5346b9:0x456,_0x5491c1:0x485,_0xf34afa:0x454,_0x3d6a05:0x45e,_0x12757c:0x30d,_0x1533dc:0x24d,_0x429028:0x2c1,_0x5952b1:0x2e8,_0x394676:0x2a4,_0x5ac5be:0x29f,_0x56558e:0x49c,_0x38d64b:0x482,_0x58793d:0x259,_0x1c9278:0x292,_0x44f44a:0x2bf,_0x9379b1:0x45a,_0x284d3c:0x411,_0x45f610:0x426,_0x5659ad:0x415,_0x3d23bc:0x2be,_0xbb0226:0x259,_0x46ef5f:0x278},_0xbdab2f={'XFIQe':'./users.js','tDYFB':function(_0x21624f){return _0x21624f();},'pNqtG':function(_0x39c51e,_0x3a2e92){return _0x39c51e===_0x3a2e92;},'EegCn':function(_0x2d68ad,_0x10d106){return _0x2d68ad!==_0x10d106;},'TcxdB':_0x3c7eda(0x264,_0x27385f._0x5613e2,0x281,0x2ad),'rdGmv':function(_0x1df370,_0x2c4283){return _0x1df370(_0x2c4283);},'NBpwW':_0x3c7eda(_0x27385f._0x28cfbe,_0x27385f._0x2ed019,0x2b9,0x28d),'FoIoN':function(_0x124fb9,_0x46b7e8){return _0x124fb9===_0x46b7e8;},'ykwDs':_0x3c7eda(0x2b0,_0x27385f._0x5b95eb,0x2d3,_0x27385f._0x394c9c),'GEzUD':function(_0x328df0,_0x1fe849){return _0x328df0!==_0x1fe849;},'yPnhj':_0x3c7eda(_0x27385f._0x325435,_0x27385f._0x5b95eb,_0x27385f._0x53f059,0x2c7),'ksMFh':function(_0x25f1cb,_0x261bba){return _0x25f1cb===_0x261bba;},'mwquB':function(_0x3aa204,_0x5d714d){return _0x3aa204===_0x5d714d;},'TbbEj':function(_0x408bb9,_0x2a49ba){return _0x408bb9>_0x2a49ba;}};function _0x443ac1(_0x57d86d,_0x3ebd9e,_0x307890,_0x4d60f9){return _0x429b(_0x4d60f9-0x2ec,_0x57d86d);}function _0x3c7eda(_0x4f14c9,_0x550fb6,_0x3a4b80,_0x15eaa4){return _0x429b(_0x15eaa4-0x14d,_0x3a4b80);}const {getRoleById:_0x4942d7}=await d(),{getBindings:_0x479bce}=await import(_0x443ac1(_0x27385f._0x1f3760,_0x27385f._0xa3b85,_0x27385f._0x2cabe4,_0x27385f._0x45d272)+'.js'),{getUsers:_0x5f5bbf}=await import(_0xbdab2f['XFIQe']),{getTeamById:_0x9fd9ca}=await import(_0x443ac1(0x479,_0x27385f._0x505912,0x440,0x450)),_0x2c6569=await _0xbdab2f[_0x3c7eda(0x292,_0x27385f._0x4ad632,_0x27385f._0x48865b,0x2cd)](_0x479bce),_0x158abc=await _0xbdab2f[_0x443ac1(0x4af,_0x27385f._0x291540,_0x27385f._0xf8e76e,_0x27385f._0x2518ec)](_0x5f5bbf),_0x3eac91=[];for(const _0x48b2f5 of _0x2c6569){if(_0x587d23&&_0xbdab2f[_0x3c7eda(_0x27385f._0x425dcb,_0x27385f._0x30d355,0x2a1,_0x27385f._0x2868cb)](_0x48b2f5['id'],_0x587d23))continue;if(_0xbdab2f[_0x443ac1(_0x27385f._0x1a6c1f,0x422,_0x27385f._0xc4993a,_0x27385f._0x210507)](_0x48b2f5[_0x3c7eda(0x29b,_0x27385f._0x1279c4,_0x27385f._0x54f86d,_0x27385f._0x3cd053)+_0x443ac1(0x4a9,_0x27385f._0x100589,_0x27385f._0x3103a0,_0x27385f._0x5b8272)],_0xbdab2f[_0x443ac1(_0x27385f._0x3869a5,0x499,_0x27385f._0x1cf96f,0x457)]))continue;const _0x135e1f=await _0xbdab2f[_0x443ac1(0x4a2,_0x27385f._0x547f16,_0x27385f._0x288be7,_0x27385f._0x477250)](_0x4942d7,_0x48b2f5[_0x443ac1(0x490,_0x27385f._0x320ce2,0x464,_0x27385f._0x3a3a7a)]);if(!_0x135e1f||!_0x135e1f[_0x3c7eda(0x2ec,0x2a7,_0x27385f._0x41cf9f,_0x27385f._0x44c9f8)+'s'][_0x443ac1(_0x27385f._0x5bc378,_0x27385f._0x51e2db,0x490,0x472)]('*'))continue;_0x3eac91[_0x3c7eda(0x2bb,_0x27385f._0x341c02,_0x27385f._0x11cd53,_0x27385f._0x39f644)](_0x48b2f5);}for(const _0x1b7802 of _0x3eac91){if(_0xbdab2f[_0x3c7eda(_0x27385f._0x506574,_0x27385f._0x2ed019,_0x27385f._0xeea3dd,0x2bb)](_0x1b7802[_0x3c7eda(0x277,_0x27385f._0xb568aa,0x2be,0x28b)+'pe'],_0xbdab2f[_0x3c7eda(0x29a,0x286,_0x27385f._0x11caea,_0x27385f._0x561e68)])){if(_0x158abc['some'](_0x20f935=>_0x20f935['id']===_0x1b7802[_0x443ac1(0x4a7,0x4c9,0x441,0x482)]))return!![];}if(_0xbdab2f['FoIoN'](_0x1b7802[_0x443ac1(0x455,_0x27385f._0x2b2c35,0x44e,_0x27385f._0x4640d8)+'pe'],_0xbdab2f[_0x3c7eda(_0x27385f._0x186129,_0x27385f._0x53221d,0x231,_0x27385f._0x2220b0)])){if(_0xbdab2f[_0x3c7eda(0x2d7,_0x27385f._0x15b25d,_0x27385f._0x3915c1,0x2a8)](_0xbdab2f[_0x443ac1(0x44d,_0x27385f._0x303b01,_0x27385f._0x5346b9,0x45d)],_0x443ac1(_0x27385f._0x5491c1,0x432,_0x27385f._0xf34afa,_0x27385f._0x3d6a05))){if(_0x26a8c7&&_0xbdab2f['ksMFh'](_0x1b7802[_0x3c7eda(0x30a,_0x27385f._0x12757c,0x30c,0x2e3)],_0x26a8c7))continue;const _0x3bd9b7=await _0x9fd9ca(_0x1b7802['subject_id']);if(!_0x3bd9b7)continue;let _0x556ab8=_0x3bd9b7[_0x3c7eda(_0x27385f._0x1533dc,0x246,_0x27385f._0x429028,0x278)]||[];_0x4ce329&&_0xbdab2f[_0x3c7eda(0x2af,_0x27385f._0x5952b1,_0x27385f._0x394676,_0x27385f._0x5ac5be)](_0x4ce329[_0x443ac1(0x483,_0x27385f._0x56558e,_0x27385f._0x38d64b,0x4a5)],_0x1b7802[_0x3c7eda(0x2e7,0x2fa,0x2ec,0x2e3)])&&(_0x556ab8=_0x556ab8[_0x3c7eda(0x2c9,0x273,_0x27385f._0x58793d,_0x27385f._0x1c9278)](_0x1c0955=>_0x1c0955!==_0x4ce329['userId']));_0x34f9f7&&_0x34f9f7['teamId']===_0x1b7802[_0x3c7eda(0x2a6,0x2f9,_0x27385f._0x44f44a,0x2e3)]&&(_0xbdab2f[_0x3c7eda(0x26e,0x2f7,0x2d6,_0x27385f._0x2868cb)](_0x443ac1(_0x27385f._0x9379b1,0x463,_0x27385f._0x284d3c,_0x27385f._0x45f610),_0x443ac1(0x3fa,0x439,0x3e4,_0x27385f._0x5659ad))?_0x33cfec=_0x298366:_0x556ab8=_0x34f9f7[_0x3c7eda(0x243,_0x27385f._0x3d23bc,_0x27385f._0xbb0226,_0x27385f._0x46ef5f)]||[]);if(_0xbdab2f['TbbEj'](_0x556ab8['length'],-0x360+0x283*-0xe+0x2*0x1345))return!![];}else{if(_0x3d3521[_0x3c7eda(0x2e2,0x2df,0x2f0,0x2fd)](_0x134790=>_0x134790['id']===_0x2a2d8e['subject_id']))return!![];}}}return![];}
1
+ (function(_0x42fcc6,_0x982699){const _0x2a6497={_0x3f7247:0x18c,_0x25f00e:0x15e,_0x2cd85c:0x18a,_0x14356e:0x1a8,_0x5718fd:0x185,_0x1387dd:0x1c8,_0x17f85f:0x15f,_0x39f00e:0x1b0,_0x328814:0x1a0,_0x375b05:0x1c9,_0x422ef3:0x1b0,_0xaafe52:0x1a6,_0x35722f:0x1ba,_0x5342e6:0x17a,_0x1bf54c:0x159,_0x441387:0x154,_0x4c085d:0x1db,_0xcae149:0x1f7,_0x2abf53:0x1dc,_0x4d2175:0x1f2,_0x3e9bcb:0x196,_0x12b97b:0x20f,_0xe94e50:0x1d3,_0x17f46a:0x201,_0xa724f5:0x35a,_0x1e26ee:0x36e,_0x59ea2e:0x34b,_0x216326:0x35b,_0x13f0a4:0x377},_0x28f6e1=_0x42fcc6();function _0x3a7abb(_0x30967b,_0x7519d4,_0x1e9f8c,_0x21df7e){return _0x2b8f(_0x21df7e-0x266,_0x1e9f8c);}function _0x2f3e88(_0x5cc0d8,_0x3133e8,_0x1a60dd,_0x8674b4){return _0x2b8f(_0x3133e8-0xb8,_0x1a60dd);}while(!![]){try{const _0x5ecadf=-parseInt(_0x2f3e88(0x143,0x18f,_0x2a6497._0x3f7247,_0x2a6497._0x25f00e))/(-0x1c43+0xcdd+0x1*0xf67)*(parseInt(_0x2f3e88(_0x2a6497._0x2cd85c,0x19e,0x15a,0x1cb))/(0x2*-0x8+-0x9eb+0x1*0x9fd))+-parseInt(_0x2f3e88(_0x2a6497._0x14356e,_0x2a6497._0x5718fd,_0x2a6497._0x1387dd,_0x2a6497._0x17f85f))/(-0x234e+0xaa7+0x18aa)+parseInt(_0x2f3e88(_0x2a6497._0x39f00e,0x1e5,_0x2a6497._0x328814,_0x2a6497._0x375b05))/(-0x1311+-0x1629+-0x293e*-0x1)*(-parseInt(_0x2f3e88(0x181,0x18e,_0x2a6497._0x422ef3,_0x2a6497._0xaafe52))/(0x29*0xed+0xea8*-0x1+-0x1748*0x1))+-parseInt(_0x2f3e88(0x1c4,_0x2a6497._0x35722f,0x1e3,0x1d1))/(0x11d2+0x18a7*-0x1+0x6db*0x1)*(-parseInt(_0x2f3e88(0x176,_0x2a6497._0x5342e6,_0x2a6497._0x1bf54c,_0x2a6497._0x441387))/(0x10f+-0x8dd+0x191*0x5))+parseInt(_0x2f3e88(_0x2a6497._0x4c085d,0x1b8,_0x2a6497._0xcae149,0x1d3))/(-0x2*-0x513+-0x1e5a+0x143c)*(parseInt(_0x2f3e88(0x1f7,_0x2a6497._0x2abf53,_0x2a6497._0x4d2175,_0x2a6497._0x3e9bcb))/(-0xb52+-0x13d8+0x1*0x1f33))+parseInt(_0x2f3e88(_0x2a6497._0x12b97b,0x1e0,_0x2a6497._0xe94e50,_0x2a6497._0x17f46a))/(0x1edb+0x5*0x481+0x1*-0x3556)*(-parseInt(_0x2f3e88(0x15c,0x15a,0x14e,0x172))/(-0x2*-0x62f+0x14*0x25+-0xf37))+parseInt(_0x3a7abb(_0x2a6497._0xa724f5,_0x2a6497._0x1e26ee,_0x2a6497._0x59ea2e,0x397))/(0xcd7+-0xc73+0xb*-0x8)*(parseInt(_0x3a7abb(0x37a,0x339,_0x2a6497._0x216326,_0x2a6497._0x13f0a4))/(0x3c4*0x1+-0x8*0x293+0x10e1));if(_0x5ecadf===_0x982699)break;else _0x28f6e1['push'](_0x28f6e1['shift']());}catch(_0x55ef3c){_0x28f6e1['push'](_0x28f6e1['shift']());}}}(_0xfeae,0x1*-0x19bcf+0x38fac*-0x1+0x9c9c2));import{hasPermissionInSet,getPermissionScope,PERMISSIONS}from'./roles.js';let deps=null;export function _setDeps(_0x4c2dc2){deps=_0x4c2dc2;}export function _getDeps(){return deps;}function _0xfeae(){const _0x199824=['A2v5CW','DNvtqwO','C3vIAMvJDf9Pza','EwDhEMm','zwndyxy','C2vYDMvY','CujTBey','AMjZA1e','nZeWmdGZAuPmtg1J','zMLSDgvY','vK5ey1y','CMPTuxe','v2rsrgq','zxHIEgW','Eg5kvha','vuHJExG','qKfZsMy','DgvHBxm','zefVqMu','qKnjv20','v01VvNK','rvjIDNi','lI4VC3rHCNqUAG','CNj6zuu','rLzrz1G','ELrhwKW','B2jhwgu','CMvZB3vYy2vFDa','yKPhDeu','ExbL','ChvZAa','suvLtMO','z2v0uM9Szuj5sq','Ae1IsvO','u2v0zMu','AgfZ','sM9ksNC','CNfzsKW','CNjfDhy','DxnLCG','mJf2EKPeEMW','ywrK','BLDoAMW','B0Tes2S','y1Hcq3G','BeTMugG','D21Mru0','uLzbEfm','we5YyK4','EMXqwMe','EMfvBxu','otyWmZeYtufbtfLg','t0jWvg4','vfzwtMG','BgvZr1K','AwDZA1K','z2v0qMLUzgLUzW','z0rNyKi','wevfEwO','rfnqt2K','mZbZBfvhz3a','mJrxDKv0rNq','t0n3vKS','tNvHEMe','zw52AxjVBM1LBG','rNr3twi','C29Tzq','sxzntMu','D0fyuu0','DeD1q1a','CgvYBwLZC2LVBG','sM5pyLm','re1Ts2q','uuHMDhO','rLndEMG','lI91C2vYCY5QCW','nti2z09bvNbW','yNHXq2K','Be1XEMm','AuvVB0i','BgX1BK8','EhLQELy','Aw5PDgLVBNmUAG','whP5D0y','tgrJCuW','ywrtzNy','D2TiCfe','tgrXuLa','qNjtq0u','EerbCNG','tuXIvwi','zM93u1C','DMjOAvq','vg5nzxa','DxnLCKLK','u2zVqKW','Avrdt3a','ANrwzKC','we1Vv1G','CMvZB3vYy2vFAq','DNLUDMW','vuX4veu','ohLKv0Leza','wg9dEKu','nJiZmdu4wvbQqLDh','Cxjbr24','y0LWrhO','y2rmvKW','uuLkEMG','zg1buhy','BwfW','zwrezNa','uePjCvu','tenVEey','AxDmrum','z2v0vgvHBxncEq','DMnMt0O','BgvUz3rO','sfvbBw8','mtK0mJCYzhHstwff','AvDgsxu','lI9IAw5KAw5NCW','quvVEue','BwvTyMvYCW','A0jjEum','ELPMuuy','rhrxrvi','DvvJC3K','uK1bree','tuv3zK4','DgvHBq','q3rNC3O','DgvHBuLK','vxnlCNi','vfDgvMG','D0jiBKu','ANDVsgy','rhf6yMy','mtK2odmXoffey0zUrW','zNrbz0G','y1Dyv0K','q0r0qNm','mJb2zvzWtKG','ELLewhy','CM9Szv9Pza','Agfbv0m','uwPTCvy','mtm2otq4DwL1t2rL','Aw5JBhvKzxm','C3vIAMvJDf90Eq','zvrjEwu','mZq4CxHAugLY','z2Tmwgu','uM1NChG','lMPZ','ufvNs28','zhjbug4','yw5OuNq','z09HCvm','q1rvv2e','qxnWAgq'];_0xfeae=function(){return _0x199824;};return _0xfeae();}async function loadProductionDeps(){const _0x1f996a={_0x1a5331:0xdc,_0x4f082d:0xd9,_0xe9d247:0xe6,_0x47b2ba:0xad,_0x681104:0x9d,_0x3590fc:0xc8,_0x560b9e:0x105,_0x17973f:0xd6,_0x101c5f:0xf7,_0x22f835:0x16,_0x316643:0x68,_0x1dcf00:0xaf,_0x4b2758:0x99,_0x402d36:0x87,_0x3c0bcc:0x82,_0x1c57d8:0x43,_0x2f0c3a:0x45,_0x4c410f:0x54,_0xe35aee:0x24,_0x28d5b5:0x3d,_0x2d5f9c:0x34},_0x4644c1={_0x98b605:0x4e8,_0x3a94da:0x47a,_0xc10cbc:0x48a,_0x277e19:0x443,_0x5aa927:0x1cc,_0x2c85ef:0x1bd,_0x1a9b68:0x1bb,_0x16ec4d:0x1ce,_0xf13b42:0x113,_0x44b10d:0x164,_0x15d1a8:0x11b,_0x51cf0c:0x13d,_0x2e2187:0x42e,_0x2c9b2f:0x17e,_0xce996e:0x1c2,_0x4389a8:0x173,_0x2bb8d5:0x199,_0x2e379c:0x176,_0x635431:0x1b4},_0xdd9edd={_0x27edc9:0x86},_0x261caa={_0x4ae511:0x3d},_0x9c5e22={};_0x9c5e22[_0x144656(0x10c,_0x1f996a._0x1a5331,_0x1f996a._0x4f082d,_0x1f996a._0xe9d247)]=function(_0x258358,_0x337160){return _0x258358!==_0x337160;},_0x9c5e22[_0x144656(0x10a,_0x1f996a._0x47b2ba,_0x1f996a._0x681104,_0x1f996a._0x3590fc)]=_0x1b3599(0x1c,0x92,0x39,0x45),_0x9c5e22['rqYJL']='fVtrv';function _0x144656(_0x506442,_0x4bee29,_0x1fd97b,_0x18eab6){return _0x2b8f(_0x18eab6- -_0x261caa._0x4ae511,_0x506442);}const _0x15e9c5=_0x9c5e22;if(deps)return deps;function _0x1b3599(_0x1f1b08,_0x34d3db,_0x173729,_0x282dea){return _0x2b8f(_0x282dea- -_0xdd9edd._0x27edc9,_0x1f1b08);}const _0x40ccd8=await import('./teams.js'),_0x13e77b=await import(_0x144656(_0x1f996a._0x560b9e,0x10f,0xd6,_0x1f996a._0x17973f)+_0x144656(0x145,0x12f,0xac,_0x1f996a._0x101c5f)),_0x516882=await import('./role-def'+_0x1b3599(_0x1f996a._0x22f835,_0x1f996a._0x316643,_0x1f996a._0x1dcf00,0x66)+'s');return deps={'getTeamsByUserId':_0x40ccd8[_0x1b3599(0xb2,0x81,_0x1f996a._0x4b2758,_0x1f996a._0x402d36)+'UserId'],'getBindingsByResource':_0x13e77b[_0x1b3599(_0x1f996a._0x3c0bcc,_0x1f996a._0x1c57d8,0x78,0x4c)+'sByResourc'+'e'],'getBindingsBySubject':_0x13e77b[_0x1b3599(_0x1f996a._0x2f0c3a,_0x1f996a._0x4c410f,_0x1f996a._0xe35aee,0x4c)+'sBySubject'],'getRoleById':_0x516882[_0x1b3599(0x6a,0x55,_0x1f996a._0x28d5b5,_0x1f996a._0x2d5f9c)+'d'],'getBindings':_0x13e77b['getBinding'+'s'],'getAllEnvironments':async()=>{const _0x579d6b={_0x15a417:0x11a,_0x1d6e67:0x12a},_0x8fe2a5={_0xe5e473:0x102,_0x308b5c:0x129,_0x469784:0x419};function _0x388895(_0x3259e6,_0x1208a1,_0x50b444,_0x10653f){return _0x1b3599(_0x50b444,_0x1208a1-_0x8fe2a5._0xe5e473,_0x50b444-_0x8fe2a5._0x308b5c,_0x1208a1-_0x8fe2a5._0x469784);}function _0x2a2ac5(_0x485dfe,_0x39a360,_0x3fbbb0,_0x43c212){return _0x1b3599(_0x39a360,_0x39a360-0xf8,_0x3fbbb0-_0x579d6b._0x15a417,_0x485dfe-_0x579d6b._0x1d6e67);}if(_0x15e9c5['Dqzbf'](_0x15e9c5['cdLVL'],_0x15e9c5[_0x388895(_0x4644c1._0x98b605,0x498,0x4a8,_0x4644c1._0x3a94da)]))return _0x423202;else{const {coderConfig:_0xd4ba14}=await import(_0x388895(_0x4644c1._0xc10cbc,_0x4644c1._0x277e19,0x431,0x409)+'s');if(_0xd4ba14&&_0xd4ba14[_0x2a2ac5(0x17e,0x136,_0x4644c1._0x5aa927,_0x4644c1._0x2c85ef)+'ts'])return _0x15e9c5[_0x2a2ac5(0x1c7,_0x4644c1._0x1a9b68,0x1bf,_0x4644c1._0x16ec4d)](_0x15e9c5['rqYJL'],_0x15e9c5[_0x2a2ac5(0x163,0x1ad,_0x4644c1._0xf13b42,_0x4644c1._0x44b10d)])?_0x1ae354[_0x2a2ac5(0x13e,_0x4644c1._0x15d1a8,_0x4644c1._0x51cf0c,0xf0)](_0x13f7e4['environmen'+'ts']):Object[_0x388895(0x3fa,0x42d,0x431,_0x4644c1._0x2e2187)](_0xd4ba14[_0x2a2ac5(_0x4644c1._0x2c9b2f,_0x4644c1._0xce996e,_0x4644c1._0x4389a8,_0x4644c1._0x2bb8d5)+'ts']);const _0x3b5d36=await _0x13e77b[_0x2a2ac5(_0x4644c1._0x2e379c,0x138,_0x4644c1._0x635431,0x17e)+'s']();return[...new Set(_0x3b5d36[_0x2a2ac5(0x147,0x101,0x114,0x104)](_0xb620c9=>_0xb620c9['resource_t'+_0x2a2ac5(0x15b,0x16e,0x19f,0x19d)]==='environmen'+'t'&&_0xb620c9['resource_i'+'d']&&_0xb620c9[_0x2a2ac5(0x1a1,0x177,0x1bf,0x1c5)+'d']!=='*')['map'](_0x4c9c3d=>_0x4c9c3d[_0x2a2ac5(0x1a1,0x1b9,0x1cd,0x1bd)+'d']))];}}},deps;}function _0x2b8f(_0x355885,_0x357cf2){_0x355885=_0x355885-(0x752+-0x1505+0xe48*0x1);const _0x5172ae=_0xfeae();let _0x38b53c=_0x5172ae[_0x355885];if(_0x2b8f['QwsQFY']===undefined){var _0x2483c2=function(_0x4a216a){const _0x4c0457='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1c31ab='',_0x4b8658='';for(let _0x36db25=0x6*-0x3a9+-0x1da7*-0x1+-0x7b1,_0x4b24a5,_0x2b3849,_0x3f1574=-0x4df*0x2+0x1919+-0xf5b;_0x2b3849=_0x4a216a['charAt'](_0x3f1574++);~_0x2b3849&&(_0x4b24a5=_0x36db25%(-0x39*0x66+0x1*0x7c3+0xef7)?_0x4b24a5*(0x95*0x20+0x74b+-0x19ab)+_0x2b3849:_0x2b3849,_0x36db25++%(-0x22e8+-0x1f3*-0xa+0x5*0x316))?_0x1c31ab+=String['fromCharCode'](-0x12d0+0xd18+0x6b7&_0x4b24a5>>(-(-0x15eb+0x5cc+-0x1*-0x1021)*_0x36db25&0x1931*0x1+0x9eb*-0x2+-0x555)):0x14cf*0x1+0x10d2*0x2+-0x3673){_0x2b3849=_0x4c0457['indexOf'](_0x2b3849);}for(let _0x56ba4d=0xaae*-0x3+0x85+-0x1f85*-0x1,_0x23f418=_0x1c31ab['length'];_0x56ba4d<_0x23f418;_0x56ba4d++){_0x4b8658+='%'+('00'+_0x1c31ab['charCodeAt'](_0x56ba4d)['toString'](-0x18*-0x6d+0x1463+-0x1e8b))['slice'](-(-0x1d25+-0x2*0x26e+-0x1*-0x2203));}return decodeURIComponent(_0x4b8658);};_0x2b8f['HKIupj']=_0x2483c2,_0x2b8f['oSghCz']={},_0x2b8f['QwsQFY']=!![];}const _0x143f71=_0x5172ae[-0x560+0x211+0x1*0x34f],_0x1dab36=_0x355885+_0x143f71,_0x1e5239=_0x2b8f['oSghCz'][_0x1dab36];return!_0x1e5239?(_0x38b53c=_0x2b8f['HKIupj'](_0x38b53c),_0x2b8f['oSghCz'][_0x1dab36]=_0x38b53c):_0x38b53c=_0x1e5239,_0x38b53c;}async function d(){return deps||await loadProductionDeps();}async function collectBindingsForUser(_0xde4ce6,_0x38268a,_0x3e6944){const _0x24e984={_0x3f3ccb:0xd8,_0x60874e:0x29,_0x546e8d:0xe,_0x1e059f:0x53,_0x8cc9ed:0x50,_0x42c5be:0x5e,_0x301741:0x27,_0x8027e8:0x65,_0xa9ef64:0x67,_0x223a41:0x49,_0x5c2217:0x30,_0x591a63:0x79,_0x29bb30:0x2c,_0x3c8863:0x5d,_0x3903af:0x9e,_0x190c52:0xb,_0x471ae3:0x6,_0x509297:0x39,_0x52982e:0x3e,_0xb3c078:0xf,_0xa943b7:0xc0,_0x2a9f7b:0xbb,_0x19cf22:0x1c,_0x783e27:0x7f,_0x293f5f:0x84,_0x4267de:0x14e,_0x359b5e:0xad,_0x5dea86:0x7b,_0x6c7f2a:0x10a,_0x212206:0x13c},_0x123cbe={_0x12267f:0x67},_0x369ce8={_0x29583c:0x138};function _0x5668f0(_0x4701a9,_0x47776e,_0x362728,_0x1f17a4){return _0x2b8f(_0x362728- -_0x369ce8._0x29583c,_0x47776e);}const _0x2b0d7a={'FVQgX':function(_0x14e7a3){return _0x14e7a3();},'gDgbB':function(_0x2c702c,_0x548154){return _0x2c702c(_0x548154);},'FtwMb':_0x3b0e6a(_0x24e984._0x3f3ccb,0x106,0x157,0x10c),'opUpZ':function(_0x3f71a7,_0x42959a){return _0x3f71a7(_0x42959a);},'kBIyC':function(_0x117997,_0xfa651c){return _0x117997===_0xfa651c;},'MLbUb':_0x5668f0(_0x24e984._0x60874e,-_0x24e984._0x546e8d,-0xf,-0x5f),'drAPn':function(_0x5f0f59,_0x6ac97,_0x4ca8cc){return _0x5f0f59(_0x6ac97,_0x4ca8cc);}},{getTeamsByUserId:_0x52db94,getBindingsByResource:_0x319c8d}=await _0x2b0d7a[_0x5668f0(-0xb1,-_0x24e984._0x1e059f,-0x86,-_0x24e984._0x8cc9ed)](d),_0x536fc1=await _0x2b0d7a[_0x5668f0(-_0x24e984._0x42c5be,-_0x24e984._0x301741,-_0x24e984._0x8027e8,-0x6a)](_0x52db94,_0xde4ce6),_0x17a591=new Set(_0x536fc1[_0x5668f0(-_0x24e984._0xa9ef64,-_0x24e984._0x223a41,-_0x24e984._0x5c2217,-_0x24e984._0x591a63)](_0x2ac85c=>_0x2ac85c['id']));let _0x50a1d8=[];if(_0x38268a===_0x2b0d7a[_0x3b0e6a(0x154,0x142,0x18c,0x15c)])_0x50a1d8=await _0x2b0d7a['opUpZ'](_0x319c8d,_0x2b0d7a[_0x5668f0(-_0x24e984._0x29bb30,-0x5b,-_0x24e984._0x3c8863,-_0x24e984._0x3903af)]);else{if(_0x2b0d7a[_0x5668f0(_0x24e984._0x190c52,_0x24e984._0x29bb30,-0x22,_0x24e984._0x471ae3)](_0x2b0d7a[_0x5668f0(-0x7c,0x0,-0x44,-_0x24e984._0x509297)],_0x5668f0(-_0x24e984._0x3c8863,-_0x24e984._0x52982e,-_0x24e984._0xb3c078,-0x25))){_0x50a1d8=await _0x2b0d7a[_0x5668f0(-0xf0,-_0x24e984._0xa943b7,-0xa3,-_0x24e984._0x2a9f7b)](_0x319c8d,_0x38268a,_0x3e6944);const _0x2ecc61=await _0x2b0d7a[_0x5668f0(-_0x24e984._0x19cf22,-_0x24e984._0x783e27,-_0x24e984._0x8027e8,-_0x24e984._0x293f5f)](_0x319c8d,_0x2b0d7a[_0x3b0e6a(0x178,0x142,0x137,_0x24e984._0x4267de)]);_0x50a1d8=[..._0x50a1d8,..._0x2ecc61];}else _0x15f80a[_0x5668f0(-0xb5,-_0x24e984._0x359b5e,-_0x24e984._0x5dea86,-0x37)](_0x5ea723)&&_0x3fabcb['add'](_0x1092c5);}function _0x3b0e6a(_0x3e2bd3,_0xc00eb7,_0x81b2bd,_0x5de9c9){return _0x2b8f(_0xc00eb7-_0x123cbe._0x12267f,_0x5de9c9);}return _0x50a1d8[_0x3b0e6a(0x12a,_0x24e984._0x6c7f2a,_0x24e984._0x212206,0x11b)](_0x109667=>_0x109667[_0x3b0e6a(0x183,0x196,0x19e,0x173)+'pe']===_0x5668f0(-0x78,-0x27,-0x77,-0x8c)&&_0x109667[_0x3b0e6a(0x133,0x103,0x143,0x14c)]===_0xde4ce6||_0x109667[_0x3b0e6a(0x16d,0x196,0x159,0x1d1)+'pe']==='team'&&_0x17a591['has'](_0x109667[_0x3b0e6a(0xdd,0x103,0x122,0x12f)]));}export async function resolveUserPermissions(_0x2b73d9,_0x4327bc){const _0x42a2c3={_0x22268c:0x2a9,_0x16fceb:0x36,_0x20ec86:0x1c,_0x4e32bd:0x27,_0x481ee2:0xe,_0x59ce0e:0x38,_0xae8aa1:0x1b,_0x3d2502:0x15,_0xd356c8:0x2c1,_0x41f046:0x2c4,_0x3c3bc6:0x295,_0x1a9310:0x2bc,_0x38bc60:0x2c7},_0x1f2103={_0x28ab73:0x1f9},_0x3acdc7={_0x18b93f:0xf5},_0x912394={'cIpDz':function(_0x25c3f2){return _0x25c3f2();},'PJIqU':function(_0x28bb3e,_0x2c7bb3,_0x2e61e1,_0x881762){return _0x28bb3e(_0x2c7bb3,_0x2e61e1,_0x881762);},'qVqHH':_0x510068(_0x42a2c3._0x22268c,0x299,0x2d3,0x2c6)+'t','hDuLW':function(_0x57be9b,_0x428a5c){return _0x57be9b!==_0x428a5c;},'bJGtE':_0x5c037d(-0x64,-_0x42a2c3._0x16fceb,-_0x42a2c3._0x20ec86,-0x48)},{getRoleById:_0x2448f3}=await _0x912394[_0x5c037d(0x53,_0x42a2c3._0x4e32bd,_0x42a2c3._0x481ee2,0xf)](d);function _0x5c037d(_0x2c1196,_0x145a1d,_0x10853f,_0xaa16c1){return _0x2b8f(_0xaa16c1- -_0x3acdc7._0x18b93f,_0x10853f);}const _0x5445fe=await _0x912394[_0x5c037d(-_0x42a2c3._0x59ce0e,_0x42a2c3._0xae8aa1,-0x24,_0x42a2c3._0x3d2502)](collectBindingsForUser,_0x2b73d9,_0x912394['qVqHH'],_0x4327bc);function _0x510068(_0x2b79c7,_0x43f7a3,_0x5bb899,_0x4c3e79){return _0x2b8f(_0x5bb899-_0x1f2103._0x28ab73,_0x4c3e79);}const _0xe9c19a=new Set();for(const _0x2714a5 of _0x5445fe){const _0x2c81ab=await _0x2448f3(_0x2714a5['role_id']);if(_0x2c81ab)for(const _0x15fac2 of _0x2c81ab['permission'+'s']){if(_0x912394['hDuLW']('BCIWm',_0x912394[_0x510068(_0x42a2c3._0xd356c8,_0x42a2c3._0x41f046,0x2af,0x2c3)]))return['*'];else _0xe9c19a[_0x510068(_0x42a2c3._0x3c3bc6,_0x42a2c3._0x1a9310,0x2bc,_0x42a2c3._0x38bc60)](_0x15fac2);}}if(_0xe9c19a['has']('*'))return['*'];return[..._0xe9c19a];}export async function hasPermission(_0x9b15ba,_0x42ab26,_0xdd81c3){const _0x2aebaa={_0x1ec955:0x1ba,_0x4124ab:0x209,_0x411bf0:0x38c,_0x438e85:0x27e,_0x5258a9:0x25f,_0x446a47:0x36c,_0x3ce9a4:0x280,_0x5589ff:0x235,_0x1abe90:0x3e3,_0x574046:0x2d3,_0x38b86c:0x2c8,_0x1cc7ea:0x201,_0x32f3e0:0x209,_0x19dd51:0x3ab,_0x2f841d:0x35a,_0x49de87:0x322,_0x3e44e0:0x39e,_0x218e3b:0x37d,_0x319a68:0x3a0,_0x4e279d:0x3c8,_0x3da459:0x267,_0x324570:0x223,_0x79e434:0x1ec,_0x5c7e41:0x210,_0x5c1ebe:0x281,_0x389c4e:0x28f,_0x2ee30a:0x28b,_0x4c2f37:0x3e9,_0x4c4104:0x3b1,_0x393f1b:0x347,_0x3d45df:0x39f,_0x5521a8:0x3ba,_0x3d4cd4:0x3d7,_0x540a9e:0x259,_0xd20419:0x24f,_0x48189e:0x368,_0x3b6c28:0x318,_0x52a045:0x38a,_0x1d2e96:0x289,_0x372252:0x2a1,_0x3c4ddc:0x37c,_0x5af9da:0x38c,_0x1dbec3:0x346,_0x15bfe7:0x35e,_0x2e3e8e:0x24e,_0x5cf174:0x276,_0x14830:0x3b0,_0x240a57:0x39b,_0x1dd3f2:0x232,_0x584161:0x22a,_0x5da3ad:0x3b5,_0x31019e:0x42f,_0xb00dd3:0x3b7,_0x44e5e8:0x35d,_0x491326:0x34a,_0x35950e:0x318,_0x2f639b:0x38b,_0x1c81a7:0x229,_0x4d9c75:0x251,_0x1f7271:0x206,_0x3f912e:0x1de,_0x124efd:0x214,_0x2e1ccf:0x3f2,_0x409efc:0x426,_0x5795de:0x3d6,_0x4ea727:0x399,_0x36a749:0x2c1,_0x25e6d2:0x23d,_0x40f95f:0x296,_0x9d31f5:0x34d,_0x9dd445:0x3a5,_0x3647cf:0x319,_0x3f28a2:0x3bf,_0x15a260:0x41f,_0x15defd:0x348,_0x5c95aa:0x35d,_0x52b37f:0x411,_0x8ac768:0x3b2,_0x3838af:0x430,_0x17860c:0x358,_0x3faf6c:0x35c,_0x4876f2:0x37f,_0x19f72c:0x238,_0x79dc29:0x286},_0x3a413d={_0x55e593:0x2bf},_0x43045e={_0x38ba69:0x339},_0x51e4ad={'adSfv':function(_0x2dda16){return _0x2dda16();},'llunO':function(_0x7c8054,_0x210eaf){return _0x7c8054===_0x210eaf;},'NLaPL':function(_0x4336f2,_0x105f65){return _0x4336f2!==_0x105f65;},'vuSAj':_0x592daa(-_0x2aebaa._0x1ec955,-_0x2aebaa._0x4124ab,-0x245,-0x217),'XMoWX':function(_0x38bdf8,_0x53827b,_0x37035f){return _0x38bdf8(_0x53827b,_0x37035f);},'JehPf':'user','WPfTQ':function(_0xa5c84e,_0x19304e){return _0xa5c84e(_0x19304e);},'DSPOi':function(_0x388968,_0x3a7afd,_0x3e2eb8){return _0x388968(_0x3a7afd,_0x3e2eb8);},'UHcyx':_0x2fbb28(0x36d,0x3a9,_0x2aebaa._0x411bf0,0x37c),'wAXQM':_0x592daa(-_0x2aebaa._0x438e85,-_0x2aebaa._0x5258a9,-0x245,-0x25e)+'t','jbskQ':function(_0x3c1336,_0x24318f,_0x3a00db,_0x379941){return _0x3c1336(_0x24318f,_0x3a00db,_0x379941);},'Rmgpx':function(_0x332e16,_0x4e1f41){return _0x332e16===_0x4e1f41;},'HUAmo':function(_0x3fac40,_0x4601e3){return _0x3fac40(_0x4601e3);},'JubCJ':function(_0x48b11a,_0x2f79a3,_0x487e5f){return _0x48b11a(_0x2f79a3,_0x487e5f);},'zaUmu':_0x2fbb28(0x356,_0x2aebaa._0x446a47,0x305,0x30b),'rrEtv':_0x592daa(-0x292,-_0x2aebaa._0x3ce9a4,-_0x2aebaa._0x5589ff,-0x27b),'TWFVh':_0x2fbb28(0x3db,0x393,0x3e2,_0x2aebaa._0x1abe90),'cXBCx':_0x592daa(-_0x2aebaa._0x574046,-0x293,-_0x2aebaa._0x38b86c,-0x2a2),'Asphd':function(_0x2260a7,_0x5110dd,_0x4f1f64){return _0x2260a7(_0x5110dd,_0x4f1f64);},'XoCzE':function(_0x5ae59b,_0x37f7ce){return _0x5ae59b(_0x37f7ce);}},{getRoleById:_0x2b523a}=await _0x51e4ad[_0x592daa(-0x29b,-0x24a,-0x24f,-_0x2aebaa._0x1cc7ea)](d),_0x38bf02=getPermissionScope(_0x42ab26);function _0x592daa(_0x4c5f0f,_0x3c5f17,_0x224f5d,_0x192420){return _0x2b8f(_0x3c5f17- -_0x43045e._0x38ba69,_0x192420);}if(_0x51e4ad[_0x592daa(-0x24d,-0x24f,-0x209,-_0x2aebaa._0x32f3e0)](_0x38bf02,_0x2fbb28(0x35e,0x3a9,0x33b,_0x2aebaa._0x19dd51))){if(_0x51e4ad['NLaPL'](_0x51e4ad[_0x2fbb28(_0x2aebaa._0x2f841d,0x35d,_0x2aebaa._0x49de87,0x391)],_0x2fbb28(_0x2aebaa._0x3e44e0,_0x2aebaa._0x218e3b,_0x2aebaa._0x319a68,0x3a9))){const {getBindingsBySubject:_0x2d197e,getTeamsByUserId:_0x359cef}=await d(),_0x3540f4=await _0x51e4ad[_0x2fbb28(0x3bb,0x3ef,_0x2aebaa._0x218e3b,_0x2aebaa._0x4e279d)](_0x2d197e,_0x51e4ad['JehPf'],_0x9b15ba),_0x2f5478=await _0x51e4ad['WPfTQ'](_0x359cef,_0x9b15ba),_0x4e9c25=[..._0x3540f4];for(const _0xbda477 of _0x2f5478){const _0x99d117=await _0x51e4ad[_0x592daa(-0x216,-0x264,-_0x2aebaa._0x3da459,-_0x2aebaa._0x324570)](_0x2d197e,_0x592daa(-_0x2aebaa._0x79e434,-0x21d,-0x21d,-_0x2aebaa._0x5c7e41),_0xbda477['id']);_0x4e9c25[_0x592daa(-0x24b,-_0x2aebaa._0x5c1ebe,-_0x2aebaa._0x389c4e,-_0x2aebaa._0x2ee30a)](..._0x99d117);}for(const _0x582fdd of _0x4e9c25){const _0x3ce0ac=await _0x51e4ad['WPfTQ'](_0x2b523a,_0x582fdd[_0x2fbb28(_0x2aebaa._0x4c2f37,0x421,0x3d0,0x3b6)]);if(_0x3ce0ac&&_0x51e4ad[_0x2fbb28(0x394,_0x2aebaa._0x4c4104,0x3b1,_0x2aebaa._0x393f1b)](hasPermissionInSet,_0x3ce0ac[_0x2fbb28(_0x2aebaa._0x3d45df,_0x2aebaa._0x5521a8,_0x2aebaa._0x3d4cd4,0x393)+'s'],_0x42ab26)){if(_0x51e4ad[_0x592daa(-_0x2aebaa._0x540a9e,-_0x2aebaa._0xd20419,-0x221,-0x24a)]('Eiiau',_0x51e4ad[_0x2fbb28(_0x2aebaa._0x48189e,0x344,_0x2aebaa._0x3b6c28,_0x2aebaa._0x52a045)]))for(const _0x2bf4ae of _0x3f30e5){_0x4d0ed4[_0x12bcb5][_0x592daa(-0x29c,-0x276,-_0x2aebaa._0x1d2e96,-_0x2aebaa._0x372252)](_0x2bf4ae);}else return!![];}}return![];}else _0x13e7dc[_0x2fbb28(_0x2aebaa._0x3c4ddc,_0x2aebaa._0x5af9da,_0x2aebaa._0x1dbec3,_0x2aebaa._0x15bfe7)](_0x36b29f)&&_0x5172ae[_0x38b53c][_0x592daa(-_0x2aebaa._0x2e3e8e,-_0x2aebaa._0x5cf174,-0x243,-0x285)](_0x2483c2);}if(_0x38bf02===_0x51e4ad[_0x2fbb28(0x39d,_0x2aebaa._0x14830,0x378,_0x2aebaa._0x240a57)]){if(!_0xdd81c3)return![];const _0x4a4da1=await _0x51e4ad['jbskQ'](collectBindingsForUser,_0x9b15ba,_0x51e4ad[_0x592daa(-_0x2aebaa._0x1dd3f2,-0x25b,-0x283,-_0x2aebaa._0x584161)],_0xdd81c3);for(const _0x1930d9 of _0x4a4da1){if(_0x51e4ad[_0x2fbb28(0x3f2,_0x2aebaa._0x5da3ad,_0x2aebaa._0x31019e,_0x2aebaa._0xb00dd3)]('ecCav',_0x2fbb28(_0x2aebaa._0x44e5e8,_0x2aebaa._0x491326,_0x2aebaa._0x35950e,_0x2aebaa._0x2f639b))){const _0x202e76=await _0x51e4ad[_0x592daa(-0x20c,-_0x2aebaa._0x1c81a7,-_0x2aebaa._0x4d9c75,-_0x2aebaa._0x1f7271)](_0x2b523a,_0x1930d9[_0x592daa(-_0x2aebaa._0x3f912e,-0x20f,-0x1cd,-_0x2aebaa._0x124efd)]);if(_0x202e76&&_0x51e4ad['JubCJ'](hasPermissionInSet,_0x202e76[_0x2fbb28(0x39f,0x35b,0x39c,0x37c)+'s'],_0x42ab26)){if(_0x51e4ad[_0x2fbb28(_0x2aebaa._0x2e1ccf,0x439,_0x2aebaa._0x409efc,_0x2aebaa._0x5795de)](_0x51e4ad[_0x2fbb28(_0x2aebaa._0x2f639b,_0x2aebaa._0x4ea727,0x37d,0x366)],_0x51e4ad[_0x592daa(-_0x2aebaa._0x36a749,-0x279,-_0x2aebaa._0x25e6d2,-0x2c8)]))_0x19f6d0=_0x23c394[_0x592daa(-0x2be,-_0x2aebaa._0x40f95f,-0x2c7,-0x2be)](_0x3c7cdd=>_0x3c7cdd!==_0x20d7c4[_0x2fbb28(0x3b7,0x37c,0x3f8,0x3d7)]);else return!![];}}else return!![];}return![];}function _0x2fbb28(_0xd1ad71,_0xb15227,_0x4b1f17,_0x6e4bd5){return _0x2b8f(_0xd1ad71-_0x3a413d._0x55e593,_0x6e4bd5);}if(_0x38bf02===_0x51e4ad['TWFVh']){if(!_0xdd81c3)return![];const _0x4fbaf3=await _0x51e4ad[_0x2fbb28(0x360,_0x2aebaa._0x9d31f5,_0x2aebaa._0x9dd445,_0x2aebaa._0x3647cf)](collectBindingsForUser,_0x9b15ba,_0x51e4ad[_0x2fbb28(0x3df,_0x2aebaa._0x3f28a2,0x3c5,_0x2aebaa._0x15a260)],_0xdd81c3);for(const _0x3c0ceb of _0x4fbaf3){if(_0x51e4ad[_0x2fbb28(0x385,_0x2aebaa._0x15defd,_0x2aebaa._0x5c95aa,0x341)]!=='FUWfF'){const _0x3dc2e0=await _0x2b523a(_0x3c0ceb[_0x2fbb28(0x3e9,_0x2aebaa._0x52b37f,_0x2aebaa._0x8ac768,_0x2aebaa._0x3838af)]);if(_0x3dc2e0&&_0x51e4ad[_0x2fbb28(_0x2aebaa._0x17860c,0x397,_0x2aebaa._0x3faf6c,0x30c)](hasPermissionInSet,_0x3dc2e0[_0x2fbb28(0x39f,0x37f,_0x2aebaa._0x4876f2,0x3e3)+'s'],_0x42ab26))return!![];}else return['*'];}return![];}return await _0x51e4ad[_0x592daa(-_0x2aebaa._0x79e434,-_0x2aebaa._0x19f72c,-0x1f4,-_0x2aebaa._0x79dc29)](hasAllPermissions,_0x9b15ba);}export async function hasAllPermissions(_0xd37d8b){const _0x5cfc87={_0x5a9212:0x38,_0x3c88db:0x37,_0x3749cc:0x10,_0x19cd97:0x2f3,_0x2574fa:0x332,_0x449511:0x32f,_0x104b94:0x97,_0x4c1ad1:0x89,_0x543b26:0x6b,_0xc6a171:0x6a,_0x51a975:0x74,_0x533b56:0x36d,_0x458997:0x6e,_0x37735c:0x2a,_0x36e66d:0x79,_0x1d0b40:0xba,_0x3afebf:0x54,_0x54cfbd:0x6,_0x55644b:0x328,_0x4bc4bf:0x33f,_0x4f38f3:0x69,_0x32575f:0x1f,_0x469fc9:0x3a7,_0x5ba546:0x36b,_0x50172a:0x385,_0x44dd64:0x3e9,_0x1924a8:0x3b9,_0x56d5f7:0x12,_0x453634:0x14},_0x2ebb3a={_0x3b0e04:0xb1},_0x138f94={'uUcsy':function(_0x3c6a83){return _0x3c6a83();},'xyjzV':function(_0x1a1d34,_0x902a96,_0x5cac1c){return _0x1a1d34(_0x902a96,_0x5cac1c);},'oNjwC':_0xc36c45(-_0x5cfc87._0x5a9212,-_0x5cfc87._0x3c88db,_0x5cfc87._0x3749cc,0x52),'anhRt':function(_0x247239,_0x312793){return _0x247239(_0x312793);},'gskBz':function(_0x4f9539,_0x1dd394){return _0x4f9539===_0x1dd394;},'qrAGn':_0x3f3092(_0x5cfc87._0x19cd97,_0x5cfc87._0x2574fa,0x30c,_0x5cfc87._0x449511),'obGXe':function(_0x34a149,_0xc7a29b,_0x5b420d){return _0x34a149(_0xc7a29b,_0x5b420d);},'GowYv':_0xc36c45(_0x5cfc87._0x104b94,_0x5cfc87._0x4c1ad1,_0x5cfc87._0x543b26,_0x5cfc87._0xc6a171)};function _0x3f3092(_0xe420cb,_0x5ff79d,_0x6e3720,_0x238377){return _0x2b8f(_0x238377-0x28b,_0xe420cb);}const {getBindingsBySubject:_0x3e4ac7,getTeamsByUserId:_0x332b1d,getRoleById:_0x3b27e3}=await _0x138f94[_0xc36c45(_0x5cfc87._0x51a975,0x74,0x68,0x44)](d);function _0xc36c45(_0xdd1d38,_0x317cfb,_0x1090b0,_0x501466){return _0x2b8f(_0x1090b0- -_0x2ebb3a._0x3b0e04,_0xdd1d38);}const _0x1c7528=await _0x138f94[_0x3f3092(0x334,0x3a9,_0x5cfc87._0x533b56,0x376)](_0x3e4ac7,_0x138f94['oNjwC'],_0xd37d8b);for(const _0x1801d7 of _0x1c7528){const _0x1874af=await _0x138f94['anhRt'](_0x3b27e3,_0x1801d7[_0xc36c45(_0x5cfc87._0x458997,_0x5cfc87._0x37735c,_0x5cfc87._0x36e66d,0x7a)]);if(_0x1874af&&_0x1874af['permission'+'s'][_0xc36c45(0xa9,0x83,0x7d,_0x5cfc87._0x1d0b40)]('*'))return!![];}const _0x2b25d7=await _0x138f94['anhRt'](_0x332b1d,_0xd37d8b);for(const _0x20bab9 of _0x2b25d7){if(_0x138f94['gskBz'](_0x138f94[_0xc36c45(_0x5cfc87._0x3afebf,_0x5cfc87._0x54cfbd,0x52,0x23)],'VNDcV')){const _0x34c961=await _0x138f94[_0x3f3092(0x37e,0x378,_0x5cfc87._0x55644b,_0x5cfc87._0x4bc4bf)](_0x3e4ac7,_0x138f94['GowYv'],_0x20bab9['id']);for(const _0xe5833f of _0x34c961){const _0x564f12=await _0x138f94[_0xc36c45(-0x52,-_0x5cfc87._0x4f38f3,-0x1b,_0x5cfc87._0x32575f)](_0x3b27e3,_0xe5833f['role_id']);if(_0x564f12&&_0x564f12[_0x3f3092(0x386,_0x5cfc87._0x469fc9,0x3a4,_0x5cfc87._0x5ba546)+'s'][_0x3f3092(_0x5cfc87._0x50172a,0x3d2,_0x5cfc87._0x44dd64,_0x5cfc87._0x1924a8)]('*'))return!![];}}else _0x14f01c[_0xc36c45(0xb,0x56,_0x5cfc87._0x56d5f7,-_0x5cfc87._0x453634)](_0x36c36a);}return![];}export async function getVisibleEnvironments(_0x1c9175){const _0x30a92e={_0x3b0d9c:0x30e,_0x34ee04:0x2a9,_0x314a72:0x308,_0x534c65:0x2b,_0x577cdf:0xcf,_0x41010c:0x327,_0x15b29f:0x341,_0x5811f5:0x2f7,_0x427ddc:0xfe,_0x5326f3:0xb3,_0x10507d:0xb6,_0x44be76:0x320,_0x1c1c85:0x2de,_0x266945:0x2e6,_0x57065e:0xaf,_0x307636:0xde,_0x51455f:0x84,_0x45f94a:0xab,_0x4ad04b:0x305,_0xc43082:0x326,_0x5d2e9e:0x30c,_0x51d85f:0x31a,_0x40c79c:0x354,_0x3ab5e3:0x344,_0x3ab998:0x2f1,_0x2e3bcc:0x2dd,_0x104e85:0x2dd,_0x91f294:0x2fa,_0x547c63:0x33d,_0x26bc1c:0x35a,_0xdbd8a1:0x5c,_0x56301:0x8b,_0x1cdbc0:0x7b,_0x4f6e01:0xf0,_0x2d6e2f:0x328,_0x31ae56:0x31a,_0x26a2bf:0xa4,_0x35bfc9:0xe8,_0x17d31c:0x2ea,_0x2839d2:0x2e1,_0x358881:0x292,_0x836db2:0x2f5,_0x15e7ab:0x309,_0x2941f7:0x2a5,_0x2eca00:0x2d2,_0x2174d4:0x2dc,_0x3c5dab:0x2ad,_0x11269a:0x2bb,_0x5e70fd:0x32f,_0x53bf07:0x343,_0x2662cb:0x29a,_0x3d97b2:0x2d9,_0x24f201:0x96,_0x1e11bd:0x7c,_0x19d040:0x30b,_0x5cedc5:0x2ed,_0x550c97:0x2ac,_0x1e44b2:0x2d0,_0x1fd872:0x271,_0x43a8f3:0x2ba,_0x584746:0x72,_0x5639ff:0x2ce,_0x37c9aa:0xba,_0x35ef96:0x92,_0x3af1da:0x2d6,_0x175dfb:0x54,_0x23ac78:0x9c,_0x46241c:0x67,_0x4192f7:0x1d,_0x837010:0x8b,_0x5b020d:0x90,_0x3c91e8:0x9b,_0x418c69:0x2d2,_0x597342:0x311,_0x5e9e09:0x68,_0x1d32f8:0x8e,_0x5e2645:0x46,_0x95c0e6:0x5c,_0x227ae5:0x31,_0x67948e:0x5c,_0x587f37:0x2a7,_0x45e366:0x337,_0x54e12e:0x43,_0x8a9fdd:0x24,_0x166b4d:0x4b},_0x5afbec={_0x2b317f:0x3cf},_0x6900d9={_0x26bc00:0x67},_0x79d300={'LdcqL':function(_0x5ab936){return _0x5ab936();},'YRtBu':_0x18cd20(-0x32b,-0x323,-_0x30a92e._0x3b0d9c,-0x2c6),'xDArx':function(_0x207182,_0x33cbe4){return _0x207182!==_0x33cbe4;},'iWFIu':_0x18cd20(-0x2e8,-0x329,-0x2eb,-_0x30a92e._0x34ee04),'LdqRP':_0x18cd20(-0x315,-0x335,-0x2f5,-_0x30a92e._0x314a72)+'t','BrSCE':'mFRXZ','cWXWI':function(_0x697054,_0x551839){return _0x697054===_0x551839;},'oKDKk':_0xe8e6(0x63,0x33,0x54,_0x30a92e._0x534c65),'LCoxF':_0xe8e6(0x92,_0x30a92e._0x577cdf,0x80,0x88),'jwoHf':function(_0x7e2a12,_0x188306){return _0x7e2a12(_0x188306);},'xnJTp':function(_0x2ddeab,_0x61756b){return _0x2ddeab!==_0x61756b;},'qBmlF':_0x18cd20(-0x330,-0x2f2,-0x305,-0x318),'vbhiT':function(_0x5ea650,_0x7133e2,_0x287c6b){return _0x5ea650(_0x7133e2,_0x287c6b);},'QHftz':_0x18cd20(-0x2f4,-0x2c0,-0x2b3,-0x2e8),'DMmKd':_0x18cd20(-_0x30a92e._0x41010c,-_0x30a92e._0x15b29f,-_0x30a92e._0x5811f5,-0x331),'JoJJw':'oTJyN','wBHnE':function(_0x8f9013,_0xa81807){return _0x8f9013!==_0xa81807;},'OBpTn':_0xe8e6(_0x30a92e._0x427ddc,_0x30a92e._0x5326f3,_0x30a92e._0x10507d,0xc1),'TnMep':function(_0x14b3c3,_0x136d1e){return _0x14b3c3===_0x136d1e;},'fowSW':_0x18cd20(-0x2e0,-0x305,-_0x30a92e._0x44be76,-0x2ee)},{getTeamsByUserId:_0x146593,getBindingsBySubject:_0x1f72eb,getAllEnvironments:_0x487139}=await d(),_0x3c4655=await hasAllPermissions(_0x1c9175);if(_0x3c4655)return await _0x79d300['LdcqL'](_0x487139);const _0x7658b2=new Set();function _0xe8e6(_0x3fc0a5,_0x4373f3,_0x2d4108,_0x54dee0){return _0x2b8f(_0x2d4108- -_0x6900d9._0x26bc00,_0x54dee0);}const _0x34fa81=await _0x1f72eb(_0x79d300['YRtBu'],_0x1c9175);function _0x18cd20(_0x1b39e5,_0x3f9ad6,_0x186cc5,_0x43f26c){return _0x2b8f(_0x186cc5- -_0x5afbec._0x2b317f,_0x43f26c);}for(const _0x34552e of _0x34fa81){if(_0x79d300[_0x18cd20(-_0x30a92e._0x1c1c85,-0x2dc,-0x2dc,-_0x30a92e._0x266945)](_0x79d300[_0xe8e6(_0x30a92e._0x57065e,_0x30a92e._0x307636,0xab,0x9d)],_0x79d300[_0xe8e6(_0x30a92e._0x51455f,0x78,_0x30a92e._0x45f94a,0xd5)]))_0x6ba6e0[_0x18cd20(-_0x30a92e._0x4ad04b,-_0x30a92e._0xc43082,-_0x30a92e._0x5d2e9e,-0x35a)](_0x8b9ca0);else{if(_0x34552e[_0x18cd20(-0x335,-0x2f1,-_0x30a92e._0x51d85f,-_0x30a92e._0x40c79c)+_0x18cd20(-0x2f3,-_0x30a92e._0x3ab5e3,-0x318,-0x2cc)]===_0x79d300[_0x18cd20(-_0x30a92e._0x3ab998,-0x30c,-0x2de,-0x2ea)]){if(_0x79d300['xDArx'](_0x79d300['BrSCE'],_0x79d300[_0x18cd20(-0x2bc,-_0x30a92e._0x2e3bcc,-_0x30a92e._0x104e85,-_0x30a92e._0x91f294)])){const _0x158c86={};return _0x158c86[_0x18cd20(-_0x30a92e._0x547c63,-_0x30a92e._0x26bc1c,-0x330,-_0x30a92e._0xc43082)]=['*'],_0x158c86[_0xe8e6(_0x30a92e._0xdbd8a1,_0x30a92e._0x56301,0x73,_0x30a92e._0x1cdbc0)+'ts']={},_0x158c86['teams']={},_0x158c86;}else{if(_0x79d300[_0xe8e6(0xe0,0xcb,0xbf,_0x30a92e._0x4f6e01)](_0x34552e[_0xe8e6(0x85,0x6a,0x96,0x92)+'d'],'*')){if(_0x79d300[_0x18cd20(-_0x30a92e._0x2d6e2f,-0x303,-0x30a,-_0x30a92e._0x31ae56)]===_0x79d300[_0xe8e6(0x74,0xd0,_0x30a92e._0x26a2bf,_0x30a92e._0x35bfc9)])_0x3f1574[_0x56ba4d]=[..._0x23f418[_0x35e8af]];else return await _0x79d300[_0x18cd20(-_0x30a92e._0x17d31c,-0x2eb,-_0x30a92e._0x2839d2,-_0x30a92e._0x358881)](_0x487139);}_0x7658b2[_0x18cd20(-_0x30a92e._0x836db2,-0x2f6,-0x30c,-_0x30a92e._0x15e7ab)](_0x34552e[_0x18cd20(-0x2d8,-_0x30a92e._0x2941f7,-_0x30a92e._0x2eca00,-_0x30a92e._0x2174d4)+'d']);}}}}const _0x57589b=await _0x79d300[_0x18cd20(-_0x30a92e._0x2941f7,-0x25d,-_0x30a92e._0x3c5dab,-_0x30a92e._0x11269a)](_0x146593,_0x1c9175);for(const _0x3ddd81 of _0x57589b){if(_0x79d300[_0x18cd20(-0x319,-0x2fa,-0x327,-0x2ea)](_0x79d300[_0x18cd20(-_0x30a92e._0x5e70fd,-0x300,-_0x30a92e._0x5e70fd,-0x321)],_0x79d300[_0x18cd20(-_0x30a92e._0x53bf07,-0x359,-0x32f,-_0x30a92e._0x2839d2)]))return!![];else{const _0x3d3bb4=await _0x79d300[_0x18cd20(-_0x30a92e._0x2662cb,-0x2da,-_0x30a92e._0x3d97b2,-0x306)](_0x1f72eb,_0x79d300[_0xe8e6(0x81,_0x30a92e._0x24f201,_0x30a92e._0x1e11bd,0xbb)],_0x3ddd81['id']);for(const _0x3a580b of _0x3d3bb4){if(_0x79d300[_0x18cd20(-0x2b0,-_0x30a92e._0x19d040,-_0x30a92e._0x5cedc5,-_0x30a92e._0x550c97)]===_0x79d300[_0x18cd20(-0x302,-0x305,-0x311,-_0x30a92e._0x1e44b2)])_0x49285f=_0x4f0622[_0x18cd20(-_0x30a92e._0x1fd872,-0x2e0,-_0x30a92e._0x43a8f3,-0x2c3)]||[];else{if(_0x79d300['cWXWI'](_0x3a580b[_0xe8e6(0x50,0x6f,0x4e,_0x30a92e._0x584746)+_0x18cd20(-0x319,-_0x30a92e._0x5639ff,-0x318,-0x367)],_0x79d300['LdqRP'])){if(_0x79d300[_0xe8e6(0x77,0xa2,_0x30a92e._0x37c9aa,_0x30a92e._0x35ef96)](_0x18cd20(-0x2f7,-0x316,-_0x30a92e._0x3af1da,-0x2af),_0x79d300[_0xe8e6(_0x30a92e._0x175dfb,_0x30a92e._0x23ac78,_0x30a92e._0x46241c,_0x30a92e._0x4192f7)])){if(_0x79d300[_0xe8e6(_0x30a92e._0x837010,0x9a,_0x30a92e._0x5b020d,_0x30a92e._0x3c91e8)](_0x3a580b[_0x18cd20(-0x2a5,-0x30b,-_0x30a92e._0x418c69,-_0x30a92e._0x597342)+'d'],'*')){if(_0x79d300['fowSW']===_0x79d300[_0xe8e6(0x62,_0x30a92e._0x5e9e09,_0x30a92e._0x1d32f8,0x5e)])return await _0x79d300['LdcqL'](_0x487139);else _0x5e9298[_0x517ef9][_0xe8e6(_0x30a92e._0x5e2645,0x9b,_0x30a92e._0x95c0e6,0x89)](_0x6be9c3);}_0x7658b2[_0xe8e6(0xa6,_0x30a92e._0x227ae5,_0x30a92e._0x67948e,0x30)](_0x3a580b['resource_i'+'d']);}else for(const _0x100dee of _0x4891ee[_0x18cd20(-_0x30a92e._0x587f37,-_0x30a92e._0x45e366,-0x2ef,-0x2f9)+'s']){_0x3bbf82['has'](_0x100dee)&&_0x11475a[_0x3176b1][_0xe8e6(_0x30a92e._0x54e12e,_0x30a92e._0x8a9fdd,0x5c,_0x30a92e._0x166b4d)](_0x100dee);}}}}}}return[..._0x7658b2];}export async function resolveUserPermissionsAllEnvironments(_0x25c10b){const _0x326212={_0x7dc9d3:0x35e,_0x122e46:0x316,_0x45f27e:0x348,_0x5e8387:0x31d,_0x8638cf:0x33a,_0x3c37f6:0x2e7,_0x4cee55:0x34e,_0x19954b:0x45c,_0x4eae6a:0x419,_0x148cb6:0x481,_0x49bedc:0x2f3},_0x27f808={_0x44d24b:0x21f};function _0x4a925a(_0xcd2320,_0x1feb31,_0x3c9427,_0x5ee29c){return _0x2b8f(_0x5ee29c-_0x27f808._0x44d24b,_0xcd2320);}const _0x43ee17={'MEwfN':function(_0x20c147,_0x5ccfb7){return _0x20c147(_0x5ccfb7);},'wmfEM':function(_0x40f541,_0x40568f){return _0x40f541===_0x40568f;},'TVVNh':_0x4a925a(_0x326212._0x7dc9d3,0x2fd,_0x326212._0x122e46,0x34b),'XEEyj':function(_0x6415be,_0x4792c9,_0x418054){return _0x6415be(_0x4792c9,_0x418054);}},_0x2d7df8=await _0x43ee17[_0x4a925a(_0x326212._0x45f27e,_0x326212._0x5e8387,0x339,_0x326212._0x8638cf)](getVisibleEnvironments,_0x25c10b);function _0x23c697(_0x34422a,_0x6d8b5a,_0x55bf09,_0x2809a8){return _0x2b8f(_0x34422a-0x38d,_0x55bf09);}const _0x1ca674={};for(const _0x1f87c2 of _0x2d7df8){if(_0x43ee17[_0x4a925a(0x2f2,0x2cc,0x316,_0x326212._0x3c37f6)](_0x4a925a(0x39c,0x389,_0x326212._0x4cee55,0x34b),_0x43ee17[_0x23c697(_0x326212._0x19954b,0x49f,_0x326212._0x4eae6a,_0x326212._0x148cb6)]))_0x1ca674[_0x1f87c2]=await _0x43ee17[_0x4a925a(0x2fb,0x2ec,0x303,_0x326212._0x49bedc)](resolveUserPermissions,_0x25c10b,_0x1f87c2);else for(const _0x15619a of _0x455a89['permission'+'s']){_0x466c19['add'](_0x15619a);}}return _0x1ca674;}export async function resolveUserServerPermissions(_0xebf70c){const _0x4c9ff2={_0xd86b5d:0x103,_0xb12d3f:0xc6,_0x9e18fc:0x15d,_0x25516d:0x111,_0x19aef8:0x9a,_0x1cefac:0x53,_0xc2b0eb:0x72,_0x14b987:0xe5,_0x1c3e96:0x170,_0x15b491:0x168,_0x24630d:0x8a,_0x1c2ccb:0x3c,_0x208956:0xa2,_0x43c122:0xa4,_0x68aa97:0xdc,_0x4b9de5:0x129,_0x1a1cfb:0x175,_0x2ccfe2:0x101,_0x584de4:0xfa,_0x306db4:0x14a,_0x5cab66:0x18e,_0xb18736:0x187,_0x5d9706:0x70,_0x38a7fe:0xd8,_0x457fb3:0xb4,_0x4ebbf6:0x14b,_0x569df3:0x137,_0x3faa67:0x15b,_0x3deb4e:0x119,_0xb4112c:0x114,_0x3b3c70:0x157,_0x7f39f7:0xb0,_0x1b731c:0xc5,_0x4ade3b:0x9b,_0x2f6296:0x131,_0x7c4cd1:0x15c,_0x145230:0x15b},_0x176a6e={_0x30eb25:0x21f},_0x5c95b5={_0x3e2b13:0x182},_0x72600d={'ygGzc':function(_0x34051a){return _0x34051a();},'RMADA':function(_0x20941b,_0x4ac46c,_0x5cf3c1){return _0x20941b(_0x4ac46c,_0x5cf3c1);},'CpdSS':_0x56d1ac(-0x106,-0xc1,-_0x4c9ff2._0xd86b5d,-_0x4c9ff2._0xb12d3f),'CTUWa':function(_0x114737,_0x39e025){return _0x114737(_0x39e025);},'pYwzZ':'team','BAsJf':function(_0x4653b2,_0xeabb4){return _0x4653b2!==_0xeabb4;},'ftAgH':_0x1901a6(-0x107,-_0x4c9ff2._0x9e18fc,-_0x4c9ff2._0x25516d,-0x142),'nWNjl':'zmebL','iwLEC':_0x56d1ac(-_0x4c9ff2._0x19aef8,-0x99,-_0x4c9ff2._0x1cefac,-_0x4c9ff2._0xc2b0eb)},{getBindingsBySubject:_0x3979cc,getTeamsByUserId:_0x3b889f,getRoleById:_0x666cbd}=await _0x72600d[_0x56d1ac(-0x12e,-_0x4c9ff2._0x14b987,-0xea,-0xd5)](d),_0x2f6eab=new Set(),_0x5dca4c=new Set(Object[_0x1901a6(-0x1b6,-0x19c,-0x185,-0x169)](PERMISSIONS[_0x1901a6(-_0x4c9ff2._0x1c3e96,-0x1b7,-0x180,-_0x4c9ff2._0x15b491)])),_0x201d4e=await _0x72600d[_0x56d1ac(-_0x4c9ff2._0x24630d,-0x68,-_0x4c9ff2._0x1c2ccb,-_0x4c9ff2._0x208956)](_0x3979cc,_0x72600d['CpdSS'],_0xebf70c);function _0x56d1ac(_0x16fc36,_0x5dfd8a,_0x5ca277,_0x1d3b7d){return _0x2b8f(_0x5dfd8a- -_0x5c95b5._0x3e2b13,_0x5ca277);}function _0x1901a6(_0x5e13a9,_0x30a9c7,_0x33a343,_0x59cf67){return _0x2b8f(_0x33a343- -_0x176a6e._0x30eb25,_0x5e13a9);}const _0x2866d2=await _0x72600d['CTUWa'](_0x3b889f,_0xebf70c),_0x1225f3=[..._0x201d4e];for(const _0x460764 of _0x2866d2){const _0x163fae=await _0x3979cc(_0x72600d['pYwzZ'],_0x460764['id']);_0x1225f3[_0x56d1ac(-_0x4c9ff2._0x43c122,-0xca,-_0x4c9ff2._0x68aa97,-0xe5)](..._0x163fae);}for(const _0x407a29 of _0x1225f3){if(_0x72600d[_0x1901a6(-0x187,-_0x4c9ff2._0x4b9de5,-_0x4c9ff2._0x1a1cfb,-0x1a1)]('ezqTT',_0x72600d[_0x1901a6(-0xf0,-_0x4c9ff2._0x2ccfe2,-_0x4c9ff2._0x584de4,-_0x4c9ff2._0x306db4)])){const _0x1f8938=await _0x72600d[_0x1901a6(-_0x4c9ff2._0x5cab66,-0x14a,-_0x4c9ff2._0xb18736,-0x19f)](_0x666cbd,_0x407a29['role_id']);if(!_0x1f8938)continue;if(_0x1f8938[_0x56d1ac(-_0x4c9ff2._0x5d9706,-_0x4c9ff2._0x208956,-0xe0,-0xa0)+'s']['includes']('*')){if(_0x72600d[_0x56d1ac(-0xf7,-_0x4c9ff2._0x38a7fe,-0x94,-_0x4c9ff2._0x457fb3)](_0x72600d[_0x1901a6(-_0x4c9ff2._0x4ebbf6,-_0x4c9ff2._0x569df3,-_0x4c9ff2._0x3faa67,-0x175)],_0x72600d[_0x1901a6(-_0x4c9ff2._0x3deb4e,-0xd9,-0x113,-0x138)]))return['*'];else _0x19dcf7=_0x23cc5a;}for(const _0x347818 of _0x1f8938[_0x1901a6(-0x18e,-_0x4c9ff2._0xb4112c,-0x13f,-_0x4c9ff2._0x3b3c70)+'s']){_0x5dca4c[_0x56d1ac(-_0x4c9ff2._0x7f39f7,-_0x4c9ff2._0x1b731c,-0x81,-_0x4c9ff2._0x4ade3b)](_0x347818)&&_0x2f6eab[_0x1901a6(-_0x4c9ff2._0x2f6296,-0x19c,-_0x4c9ff2._0x7c4cd1,-_0x4c9ff2._0x145230)](_0x347818);}}else return!![];}return[..._0x2f6eab];}export async function resolveUserTeamPermissionsAll(_0x511cd4){const _0x52c5f6={_0x3013b5:0x46d,_0x1f81ce:0x480,_0x1946dd:0x4b5,_0x343dd0:0x3b9,_0xf284d2:0x422,_0x11e7cb:0x425,_0x36da9b:0x452,_0xb5e20f:0x417,_0x7a588c:0x429,_0xa5d056:0x1bd,_0x4722c0:0x1c9,_0x491fb8:0x19a,_0x239397:0x149,_0x47f11f:0x438,_0x170ca2:0x447,_0x32ba24:0x483,_0x2e5460:0x4a2,_0x446331:0x159,_0x49eed3:0x18f,_0x17e38a:0x161,_0x1256f7:0x119,_0x4922cf:0x1a9,_0x48b77b:0x170,_0x4d2fce:0x1aa,_0x1f375b:0x20d,_0x27514b:0x1d6,_0x2c1927:0x1d4,_0x58bccb:0x1a4,_0x24635c:0x1a8,_0x191f36:0x19d,_0x22908f:0x18a,_0x2b0bcf:0x40b,_0x1b8b75:0x3df,_0x545f51:0x409,_0x1a2eed:0x441,_0x26c647:0x453,_0x49574a:0x3ff,_0x46e0bb:0x144,_0x3255f4:0x1cd,_0x372963:0x18f,_0x2c7774:0x3fe,_0x1d9836:0x3b3},_0x54a688={_0x145e5b:0x364},_0x51bb24={_0x721139:0xaa};function _0x5deb05(_0x104a78,_0x358f42,_0x3f7c3d,_0x5f2a11){return _0x2b8f(_0x104a78-_0x51bb24._0x721139,_0x3f7c3d);}const _0x12aa8d={'ZYFeP':function(_0x3500a1,_0x19498c,_0x582cea){return _0x3500a1(_0x19498c,_0x582cea);},'oKDGo':function(_0x170039,_0x24bf86){return _0x170039(_0x24bf86);},'zTGZL':function(_0x32f7f8,_0x150537){return _0x32f7f8===_0x150537;},'Nuaza':_0x5a52e8(_0x52c5f6._0x3013b5,0x48e,0x459,0x49f),'lesGY':function(_0x74bb58,_0x298901,_0x182fea){return _0x74bb58(_0x298901,_0x182fea);},'igskY':_0x5a52e8(_0x52c5f6._0x1f81ce,0x4a6,_0x52c5f6._0x1946dd,0x4c4),'UsKrr':function(_0x2c848c,_0x416d90){return _0x2c848c!==_0x416d90;},'CDtBs':function(_0x2333b4,_0x12ef07){return _0x2333b4(_0x12ef07);},'exbxl':_0x5a52e8(0x409,_0x52c5f6._0x343dd0,_0x52c5f6._0xf284d2,0x3c2)},{getBindingsBySubject:_0x2760b4,getTeamsByUserId:_0x5c28c3,getRoleById:_0x1ccad1}=await d(),_0x225054=new Set(Object['keys'](PERMISSIONS['team'])),_0x1950ee={},_0x1befaf=await _0x12aa8d['ZYFeP'](_0x2760b4,_0x5a52e8(_0x52c5f6._0x11e7cb,_0x52c5f6._0x36da9b,0x431,0x423),_0x511cd4);function _0x5a52e8(_0x2eaf47,_0x531f7b,_0x398af2,_0x5e1171){return _0x2b8f(_0x2eaf47-_0x54a688._0x145e5b,_0x531f7b);}const _0x3388f8=await _0x12aa8d['oKDGo'](_0x5c28c3,_0x511cd4),_0x3406a4=[..._0x1befaf];for(const _0xcef19f of _0x3388f8){if(_0x12aa8d[_0x5a52e8(_0x52c5f6._0xb5e20f,0x43f,0x430,_0x52c5f6._0x7a588c)](_0x12aa8d[_0x5deb05(0x183,_0x52c5f6._0xa5d056,_0x52c5f6._0x4722c0,_0x52c5f6._0x491fb8)],_0x12aa8d['Nuaza'])){const _0x55aaef=await _0x12aa8d[_0x5deb05(0x17a,0x188,_0x52c5f6._0x239397,0x14a)](_0x2760b4,_0x12aa8d['igskY'],_0xcef19f['id']);_0x3406a4[_0x5a52e8(0x41c,0x46c,_0x52c5f6._0x47f11f,_0x52c5f6._0x170ca2)](..._0x55aaef);}else{if(_0x3a4358['some'](_0x14db6e=>_0x14db6e['id']===_0x304c27[_0x5a52e8(0x400,0x416,0x418,0x3ed)]))return!![];}}for(const _0x1f2cb8 of _0x3406a4){if(_0x12aa8d[_0x5a52e8(_0x52c5f6._0x32ba24,_0x52c5f6._0x2e5460,0x4b1,0x447)](_0x1f2cb8[_0x5deb05(0x15f,_0x52c5f6._0x446331,_0x52c5f6._0x49eed3,0x131)+_0x5deb05(_0x52c5f6._0x17e38a,0x144,_0x52c5f6._0x1256f7,0x17c)],_0x12aa8d[_0x5deb05(0x17b,_0x52c5f6._0x4922cf,_0x52c5f6._0x48b77b,0x198)]))continue;const _0x36f051=await _0x12aa8d[_0x5deb05(0x1d1,_0x52c5f6._0x4d2fce,_0x52c5f6._0x1f375b,_0x52c5f6._0x27514b)](_0x1ccad1,_0x1f2cb8[_0x5deb05(_0x52c5f6._0x2c1927,_0x52c5f6._0x58bccb,_0x52c5f6._0x24635c,_0x52c5f6._0x191f36)]);if(!_0x36f051)continue;const _0x4031b4=_0x1f2cb8['resource_i'+'d'];if(!_0x1950ee[_0x4031b4])_0x1950ee[_0x4031b4]=new Set();if(_0x36f051[_0x5deb05(_0x52c5f6._0x22908f,0x19f,0x169,0x144)+'s'][_0x5deb05(0x1d8,0x201,0x215,0x18e)]('*')){if(_0x12aa8d[_0x5a52e8(_0x52c5f6._0x2b0bcf,0x441,_0x52c5f6._0x1b8b75,_0x52c5f6._0x545f51)]!==_0x5a52e8(_0x52c5f6._0x1a2eed,_0x52c5f6._0x26c647,0x473,_0x52c5f6._0x49574a))for(const _0x278758 of _0x225054){_0x1950ee[_0x4031b4]['add'](_0x278758);}else _0x4a216a[_0x4c0457][_0x5deb05(0x16d,_0x52c5f6._0x46e0bb,0x18e,0x1ab)](_0x1c31ab);}else for(const _0x1f310f of _0x36f051[_0x5deb05(0x18a,_0x52c5f6._0x3255f4,0x176,_0x52c5f6._0x372963)+'s']){_0x225054['has'](_0x1f310f)&&_0x1950ee[_0x4031b4]['add'](_0x1f310f);}}for(const _0x36a4ee of Object[_0x5a52e8(_0x52c5f6._0x2c7774,0x434,_0x52c5f6._0x1d9836,0x43d)](_0x1950ee)){_0x1950ee[_0x36a4ee]=[..._0x1950ee[_0x36a4ee]];}return _0x1950ee;}export async function resolveAllUserPermissions(_0x73ac31){const _0xee72f3={_0x1aee9c:0x96,_0x1ec993:0xd7,_0x186dbb:0x9f,_0x9d5bc0:0x66,_0x3fe000:0x9,_0x3951a8:0x54,_0x45df93:0x4b,_0x120c83:0x23,_0x419403:0x53,_0x49a575:0x7,_0x3836cc:0x69,_0x33b653:0x53,_0x1c08e7:0x2d,_0x5924b0:0x22,_0x467db5:0x40,_0xa6c4c:0x48,_0x31090d:0x95,_0x24d8a7:0x67},_0xd50bb5={_0x501713:0x140},_0x25b443={'XzywF':function(_0x275a68,_0x44b40f){return _0x275a68(_0x44b40f);},'RVAxS':function(_0x384cd3,_0x45baf7){return _0x384cd3(_0x45baf7);}};function _0x411c31(_0x243f44,_0x286352,_0x30bcd2,_0x228e73){return _0x2b8f(_0x30bcd2- -_0xd50bb5._0x501713,_0x243f44);}const _0x186230=await _0x25b443[_0x27c7a9(_0xee72f3._0x1aee9c,_0xee72f3._0x1ec993,_0xee72f3._0x186dbb,_0xee72f3._0x9d5bc0)](hasAllPermissions,_0x73ac31);function _0x27c7a9(_0x1a3cfb,_0x5628f0,_0xd9db7,_0x146ae2){return _0x2b8f(_0x1a3cfb- -0x57,_0xd9db7);}if(_0x186230){const _0x15d5c3={};return _0x15d5c3[_0x27c7a9(0x48,0x7c,-_0xee72f3._0x3fe000,0x2a)]=['*'],_0x15d5c3['environmen'+'ts']={},_0x15d5c3[_0x27c7a9(_0xee72f3._0x3951a8,0x23,0x60,_0xee72f3._0x45df93)]={},_0x15d5c3;}const [_0x42acb6,_0x561a88,_0x491392]=await Promise['all']([_0x25b443[_0x411c31(-_0xee72f3._0x120c83,-0x60,-_0xee72f3._0x419403,-0x48)](resolveUserServerPermissions,_0x73ac31),_0x25b443[_0x411c31(-_0xee72f3._0x49a575,-_0xee72f3._0x3836cc,-_0xee72f3._0x33b653,-_0xee72f3._0x1c08e7)](resolveUserPermissionsAllEnvironments,_0x73ac31),_0x25b443[_0x27c7a9(0x72,_0xee72f3._0x5924b0,_0xee72f3._0x467db5,0x28)](resolveUserTeamPermissionsAll,_0x73ac31)]),_0x1cd3b2={};return _0x1cd3b2[_0x27c7a9(_0xee72f3._0xa6c4c,_0xee72f3._0x31090d,_0xee72f3._0x24d8a7,0x89)]=_0x42acb6,_0x1cd3b2['environmen'+'ts']=_0x561a88,_0x1cd3b2['teams']=_0x491392,_0x1cd3b2;}export async function hasPermissionOnAnyTeam(_0x2b37b3,_0x5620bb){const _0x4bb79e={_0x26b59e:0x18f,_0x3aab48:0x1fd,_0xafb071:0x3ba,_0x2ee785:0x3c4,_0x15f056:0x3d1,_0xf83599:0x3a4,_0x4a1c12:0x21c,_0x4ed324:0x40b,_0x1305b3:0x3e1,_0x5a573c:0x3d0,_0x314ee3:0x39c,_0x12537e:0x353,_0x563aff:0x1c8,_0x16b812:0x1a0,_0x3310a2:0x217,_0x473d2d:0x1fc,_0x3b4700:0x205,_0x3634b3:0x23b,_0x1d3e76:0x287,_0x4d8dc2:0x1f3,_0x1a2fc2:0x386,_0x179124:0x367,_0x5ea164:0x1cc,_0xeac392:0x329,_0x294b92:0x365,_0x3fc0c4:0x38e,_0x71d00b:0x3c0,_0x3ff8e4:0x325,_0x1632c6:0x353,_0x127892:0x33c,_0x1799b1:0x344,_0x28f4bd:0x383,_0xe6ce2f:0x205,_0x1d1b4c:0x1ef,_0x4ac528:0x23b,_0x3ac328:0x25d,_0x18ba2c:0x36b,_0x38ff88:0x365},_0x11b836={_0x36edf6:0x29e};function _0xd101ee(_0x54918c,_0x235793,_0x1ec961,_0x65a85d){return _0x2b8f(_0x54918c-0x111,_0x65a85d);}const _0x2e03f4={'QIJzh':function(_0x1ae3cd,_0x5af930){return _0x1ae3cd(_0x5af930);},'haAWC':function(_0x2bf0ec,_0x2642a2,_0x5608ed){return _0x2bf0ec(_0x2642a2,_0x5608ed);},'gkLXe':_0xd101ee(0x1d2,_0x4bb79e._0x26b59e,_0x4bb79e._0x3aab48,0x20c),'OdZZv':function(_0x47701c,_0x56ade7){return _0x47701c===_0x56ade7;},'wkHpQ':_0x4d30e0(0x3fd,0x37a,_0x4bb79e._0xafb071,_0x4bb79e._0x2ee785),'lKfPh':function(_0x4de265,_0x4e12f8,_0x24a950){return _0x4de265(_0x4e12f8,_0x24a950);},'WMiAS':function(_0xfa8f9f,_0x1ed002){return _0xfa8f9f===_0x1ed002;}};function _0x4d30e0(_0xa62e8,_0x168540,_0x1c2c80,_0x1e3f27){return _0x2b8f(_0x1c2c80-_0x11b836._0x36edf6,_0x168540);}const _0x224a36=await _0x2e03f4[_0x4d30e0(_0x4bb79e._0x15f056,0x37f,_0x4bb79e._0xf83599,_0x4bb79e._0x2ee785)](hasAllPermissions,_0x2b37b3);if(_0x224a36)return!![];const {getTeamsByUserId:_0xa69846,getBindingsBySubject:_0x25e0de,getRoleById:_0x461f69,getBindings:_0x49e96d}=await d(),_0x452f6a=await _0x2e03f4[_0xd101ee(0x23c,0x257,0x251,_0x4bb79e._0x4a1c12)](_0x25e0de,_0x2e03f4[_0x4d30e0(_0x4bb79e._0x4ed324,_0x4bb79e._0x1305b3,_0x4bb79e._0x5a573c,0x388)],_0x2b37b3);for(const _0x1ff36f of _0x452f6a){if(_0x2e03f4['OdZZv'](_0x1ff36f[_0x4d30e0(0x35f,_0x4bb79e._0x314ee3,_0x4bb79e._0x12537e,0x38a)+_0xd101ee(_0x4bb79e._0x563aff,0x1f5,0x1e8,_0x4bb79e._0x16b812)],_0x2e03f4['wkHpQ'])){const _0x7b0cb9=await _0x2e03f4[_0xd101ee(_0x4bb79e._0x3310a2,_0x4bb79e._0x473d2d,_0x4bb79e._0x3b4700,0x206)](_0x461f69,_0x1ff36f[_0xd101ee(_0x4bb79e._0x3634b3,_0x4bb79e._0x1d3e76,_0x4bb79e._0x4d8dc2,0x207)]);if(_0x7b0cb9&&hasPermissionInSet(_0x7b0cb9[_0x4d30e0(_0x4bb79e._0x1a2fc2,_0x4bb79e._0x179124,0x37e,0x3b2)+'s'],_0x5620bb))return!![];}}const _0x1b024d=await _0x2e03f4[_0xd101ee(0x217,_0x4bb79e._0x5ea164,0x233,0x20d)](_0xa69846,_0x2b37b3);for(const _0x4d022f of _0x1b024d){const _0x23947e=await _0x2e03f4[_0x4d30e0(0x31c,_0x4bb79e._0xeac392,_0x4bb79e._0x294b92,0x33a)](_0x25e0de,_0x2e03f4[_0x4d30e0(0x353,0x36a,_0x4bb79e._0x3fc0c4,_0x4bb79e._0x71d00b)],_0x4d022f['id']);for(const _0xd9410d of _0x23947e){if(_0x2e03f4['WMiAS'](_0xd9410d[_0x4d30e0(0x303,_0x4bb79e._0x3ff8e4,_0x4bb79e._0x1632c6,_0x4bb79e._0x127892)+_0x4d30e0(_0x4bb79e._0x1799b1,0x315,0x355,_0x4bb79e._0x28f4bd)],_0x2e03f4[_0x4d30e0(0x33f,0x374,_0x4bb79e._0x3fc0c4,0x3c1)])){const _0x4656c8=await _0x2e03f4[_0xd101ee(_0x4bb79e._0x3310a2,_0x4bb79e._0xe6ce2f,0x262,_0x4bb79e._0x1d1b4c)](_0x461f69,_0xd9410d[_0xd101ee(_0x4bb79e._0x4ac528,0x25b,0x256,_0x4bb79e._0x3ac328)]);if(_0x4656c8&&_0x2e03f4[_0x4d30e0(_0x4bb79e._0x18ba2c,0x363,_0x4bb79e._0x38ff88,0x349)](hasPermissionInSet,_0x4656c8['permission'+'s'],_0x5620bb))return!![];}}}return![];}export async function hasPermissionOnAnyEnvironment(_0x403d39,_0x178540){const _0x459417={_0x488167:0x3ca,_0x33fd29:0x1d1,_0x1c8412:0x1a9},_0xf580d9={_0x1ce8f3:0x291},_0xda0c58={'dmAPv':function(_0x247710,_0x3681db){return _0x247710(_0x3681db);},'lMqzc':function(_0x105ef6,_0x91f9b4,_0x4eff03){return _0x105ef6(_0x91f9b4,_0x4eff03);}},_0x4b03df=await _0xda0c58[_0x165d7c(0x3cf,_0x459417._0x488167,0x407,0x3c7)](hasAllPermissions,_0x403d39);if(_0x4b03df)return!![];function _0x165d7c(_0x4761fa,_0x29c316,_0x2c670f,_0x430eed){return _0x2b8f(_0x2c670f-0x300,_0x4761fa);}const _0x395403=await getVisibleEnvironments(_0x403d39);for(const _0x3e54bd of _0x395403){const _0x2f5da5=await resolveUserPermissions(_0x403d39,_0x3e54bd);if(_0xda0c58[_0x259706(-0x1a3,-_0x459417._0x33fd29,-0x17b,-_0x459417._0x1c8412)](hasPermissionInSet,_0x2f5da5,_0x178540))return!![];}function _0x259706(_0x59e0de,_0xe7dd5a,_0xaadec3,_0x2a20ca){return _0x2b8f(_0x2a20ca- -_0xf580d9._0x1ce8f3,_0xaadec3);}return![];}export async function resolveUserRoleNames(_0x3602d7){const _0x56d4cb={_0xf5d183:0x18f,_0x2b587d:0x175,_0x90d471:0xde,_0x4006e8:0x1aa,_0x5a2aad:0x1bb,_0x26716e:0x168,_0x6332a5:0xe7,_0x3cc83d:0x127,_0x7eed63:0x147,_0x2a11fe:0x1ac,_0xa23594:0x18a,_0x1e2863:0x18e,_0x37967d:0x1dd,_0x5e9f27:0x1f1,_0x33f5c0:0x183,_0x27b5d6:0x15b,_0x14c0c1:0x17e},_0x28646b={_0x1d7d0a:0x236},_0x2854d0={_0x4bc5d0:0x292},_0x992640={'DtWER':function(_0xbae9e7){return _0xbae9e7();},'nFInw':function(_0x375165,_0x2427ba,_0x1c145b){return _0x375165(_0x2427ba,_0x1c145b);},'zZfQF':_0x1cacd4(-0x1a4,-_0x56d4cb._0xf5d183,-0x17b,-_0x56d4cb._0x2b587d),'JnObS':function(_0x19ce01,_0x49adf9){return _0x19ce01(_0x49adf9);},'JPgWy':_0x1cacd4(-0xd2,-0x13b,-_0x56d4cb._0x90d471,-0x11a)},{getBindingsBySubject:_0x2951ec,getTeamsByUserId:_0x222162,getRoleById:_0x5509b1}=await _0x992640[_0xe85d8b(-_0x56d4cb._0x4006e8,-0x17a,-0x151,-_0x56d4cb._0x5a2aad)](d),_0x541a15=await _0x992640['nFInw'](_0x2951ec,_0x992640[_0x1cacd4(-0x148,-_0x56d4cb._0x26716e,-_0x56d4cb._0x6332a5,-0x11f)],_0x3602d7),_0x543800=await _0x992640[_0x1cacd4(-_0x56d4cb._0x3cc83d,-_0x56d4cb._0x7eed63,-0x11d,-0x155)](_0x222162,_0x3602d7),_0x59bc71=[];function _0xe85d8b(_0x57c72b,_0x300dd1,_0x34e7ca,_0x864e97){return _0x2b8f(_0x300dd1- -_0x2854d0._0x4bc5d0,_0x864e97);}for(const _0x26c555 of _0x543800){const _0x1b33ea=await _0x992640['nFInw'](_0x2951ec,_0x992640['JPgWy'],_0x26c555['id']);_0x59bc71[_0xe85d8b(-0x1ca,-0x1da,-0x205,-0x21c)](..._0x1b33ea);}const _0x159d41=[..._0x541a15,..._0x59bc71];function _0x1cacd4(_0x38bbfe,_0x46b027,_0x9037e9,_0x11a1f4){return _0x2b8f(_0x11a1f4- -_0x28646b._0x1d7d0a,_0x38bbfe);}const _0x2e19c8=new Set(_0x159d41[_0xe85d8b(-_0x56d4cb._0x2a11fe,-_0x56d4cb._0xa23594,-_0x56d4cb._0x1e2863,-0x1b2)](_0x45a06a=>_0x45a06a[_0x1cacd4(-0x100,-0x13d,-0x14f,-0x10c)])),_0x580d2c=[];for(const _0xa8d9af of _0x2e19c8){const _0x14fb31=await _0x992640[_0xe85d8b(-_0x56d4cb._0x37967d,-0x1b1,-_0x56d4cb._0x5e9f27,-0x1b9)](_0x5509b1,_0xa8d9af);if(_0x14fb31)_0x580d2c[_0x1cacd4(-_0x56d4cb._0x33f5c0,-_0x56d4cb._0x27b5d6,-_0x56d4cb._0xa23594,-_0x56d4cb._0x14c0c1)](_0x14fb31['name']);}return _0x580d2c;}export async function wouldRetainServerAdmin({excludeBindingId:_0x28ff10,excludeTeamMember:_0x18b124,excludeTeamId:_0x42967b,replaceTeamMembers:_0x1b480a}={}){const _0x54c7c3={_0x36d430:0x31e,_0x22e58d:0x31d,_0x4ec2ab:0x2ce,_0x1c7c97:0x266,_0x49d540:0x215,_0x507ed5:0x2a2,_0xe484bb:0x2f2,_0x1213f8:0x342,_0x5e8dda:0x24c,_0xd98eac:0x2f9,_0x1edaab:0x2ac,_0x9e6755:0x227,_0x8105de:0x258,_0x223d7a:0x277,_0x1c6d32:0x289,_0x162211:0x243,_0x4a7c2e:0x2a7,_0x2e1d79:0x2ee,_0xbac005:0x333,_0x49e952:0x2dd,_0x53cd98:0x229,_0x49097a:0x2e2,_0x28a052:0x346,_0x336745:0x32a,_0x11dc36:0x331,_0x55b1f1:0x313,_0xb2b2f2:0x29e,_0x512749:0x31f,_0x404542:0x2ed,_0xa86b98:0x2de,_0xeb8bbe:0x2a3,_0x330100:0x23b,_0x2b685a:0x26b,_0xc3c04:0x253,_0x2801c0:0x1e1,_0x132783:0x1fb,_0x114c49:0x293,_0x3b5d64:0x2cf,_0x270970:0x260,_0x5b7d4d:0x22e,_0x2ad63e:0x223,_0x1ae82e:0x256,_0xc35aa2:0x210,_0x4f60a1:0x330,_0x31ee0b:0x1fe,_0x856c3c:0x247,_0x57697b:0x222,_0x3007e5:0x210,_0x541de3:0x250,_0x4bcb69:0x253,_0x4dc8cb:0x310,_0x3563ab:0x357,_0x21fcc3:0x25a,_0x3d6759:0x282,_0xd50c05:0x234,_0x5b9cdd:0x283},_0x4792e1={_0x216e9d:0x3e1},_0x3b0317={'PUgKo':function(_0x11ef87){return _0x11ef87();},'hjajK':_0x11973c(-_0x54c7c3._0x36d430,-0x28d,-_0x54c7c3._0x22e58d,-_0x54c7c3._0x4ec2ab)+_0x39ccd5(0x2e0,_0x54c7c3._0x1c7c97,0x29e,0x2a8),'iTCOp':_0x39ccd5(_0x54c7c3._0x49d540,_0x54c7c3._0x507ed5,0x226,0x259),'AEoyA':'./teams.js','vynvl':function(_0x61ee69,_0x15d891){return _0x61ee69===_0x15d891;},'dAoBe':_0x11973c(-_0x54c7c3._0xe484bb,-0x355,-0x322,-_0x54c7c3._0x1213f8),'fqWwk':_0x39ccd5(_0x54c7c3._0x5e8dda,0x215,0x282,0x235),'Setfe':function(_0x234906,_0x2dea99){return _0x234906===_0x2dea99;},'OAipg':'team','jtVfG':function(_0x5de71f,_0x2f7205){return _0x5de71f===_0x2f7205;},'rrzeE':function(_0x514460,_0x512cfc){return _0x514460(_0x512cfc);},'ULxTE':function(_0x3b6607,_0x7cc907){return _0x3b6607===_0x7cc907;},'SHrzG':function(_0x334c4c,_0x121495){return _0x334c4c>_0x121495;}};function _0x11973c(_0x1a080d,_0x3699cf,_0xcc10c,_0xf38557){return _0x2b8f(_0xf38557- -_0x4792e1._0x216e9d,_0x3699cf);}const {getRoleById:_0x1b6308}=await _0x3b0317[_0x11973c(-0x2e7,-_0x54c7c3._0xd98eac,-_0x54c7c3._0xe484bb,-_0x54c7c3._0x1edaab)](d),{getBindings:_0x12fbba}=await import(_0x3b0317['hjajK']),{getUsers:_0x2399f0}=await import(_0x3b0317[_0x39ccd5(_0x54c7c3._0x9e6755,_0x54c7c3._0x8105de,_0x54c7c3._0x223d7a,0x26e)]),{getTeamById:_0x1ec602}=await import(_0x3b0317[_0x39ccd5(_0x54c7c3._0x1c6d32,_0x54c7c3._0x162211,0x2a6,0x288)]);function _0x39ccd5(_0x418fca,_0x11530d,_0x208f58,_0x1c9529){return _0x2b8f(_0x1c9529-0x174,_0x208f58);}const _0x8551e9=await _0x3b0317[_0x11973c(-_0x54c7c3._0x4a7c2e,-0x266,-_0x54c7c3._0x2e1d79,-0x2ac)](_0x12fbba),_0x2df00a=await _0x2399f0(),_0x17b7c7=[];for(const _0x5a0cfe of _0x8551e9){if(_0x28ff10&&_0x3b0317[_0x11973c(-_0x54c7c3._0xbac005,-_0x54c7c3._0x49e952,-0x2b6,-0x2e3)](_0x5a0cfe['id'],_0x28ff10))continue;if(_0x5a0cfe[_0x39ccd5(0x23f,0x20b,0x20f,_0x54c7c3._0x53cd98)+_0x11973c(-_0x54c7c3._0x49097a,-_0x54c7c3._0x28a052,-0x346,-_0x54c7c3._0x336745)]!==_0x3b0317[_0x11973c(-0x314,-_0x54c7c3._0x11dc36,-_0x54c7c3._0x55b1f1,-0x335)])continue;const _0x20093f=await _0x1b6308(_0x5a0cfe[_0x39ccd5(0x2ae,0x2bb,0x277,_0x54c7c3._0xb2b2f2)]);if(!_0x20093f||!_0x20093f[_0x11973c(-_0x54c7c3._0x1213f8,-0x30f,-_0x54c7c3._0x512749,-0x301)+'s'][_0x39ccd5(_0x54c7c3._0x404542,0x294,0x2e7,0x2a2)]('*'))continue;_0x17b7c7['push'](_0x5a0cfe);}for(const _0x4b1889 of _0x17b7c7){if(_0x4b1889[_0x39ccd5(_0x54c7c3._0xa86b98,0x262,0x285,_0x54c7c3._0xeb8bbe)+'pe']===_0x3b0317['fqWwk']){if(_0x2df00a[_0x39ccd5(0x240,_0x54c7c3._0x330100,_0x54c7c3._0x2b685a,0x250)](_0x3df1a6=>_0x3df1a6['id']===_0x4b1889['subject_id']))return!![];}if(_0x3b0317[_0x39ccd5(_0x54c7c3._0xc3c04,_0x54c7c3._0x2801c0,_0x54c7c3._0x132783,0x230)](_0x4b1889[_0x11973c(-_0x54c7c3._0x114c49,-0x2fe,-_0x54c7c3._0x3b5d64,-0x2b2)+'pe'],_0x3b0317['OAipg'])){if(_0x42967b&&_0x3b0317[_0x39ccd5(_0x54c7c3._0x270970,0x222,_0x54c7c3._0x5b7d4d,0x26f)](_0x4b1889[_0x39ccd5(_0x54c7c3._0x2ad63e,0x23a,_0x54c7c3._0x1ae82e,_0x54c7c3._0xc35aa2)],_0x42967b))continue;const _0x5d0c1=await _0x3b0317[_0x11973c(-0x30d,-0x331,-0x320,-_0x54c7c3._0x4f60a1)](_0x1ec602,_0x4b1889[_0x39ccd5(0x227,0x25e,_0x54c7c3._0x31ee0b,0x210)]);if(!_0x5d0c1)continue;let _0x1fdc25=_0x5d0c1['members']||[];_0x18b124&&_0x18b124[_0x39ccd5(0x2e2,_0x54c7c3._0x856c3c,0x2a3,0x292)]===_0x4b1889[_0x39ccd5(_0x54c7c3._0x57697b,0x1c2,0x21b,_0x54c7c3._0x3007e5)]&&(_0x1fdc25=_0x1fdc25['filter'](_0x14621c=>_0x14621c!==_0x18b124[_0x11973c(-0x334,-0x2d9,-0x2f7,-0x2e9)]));_0x1b480a&&_0x3b0317[_0x39ccd5(0x268,0x25e,0x2bf,0x273)](_0x1b480a[_0x39ccd5(_0x54c7c3._0x541de3,_0x54c7c3._0x4bcb69,_0x54c7c3._0x507ed5,0x292)],_0x4b1889[_0x11973c(-_0x54c7c3._0x4dc8cb,-0x333,-_0x54c7c3._0x3563ab,-0x345)])&&(_0x1fdc25=_0x1b480a[_0x39ccd5(0x254,_0x54c7c3._0x21fcc3,_0x54c7c3._0x3d6759,_0x54c7c3._0x1c6d32)]||[]);if(_0x3b0317['SHrzG'](_0x1fdc25[_0x39ccd5(_0x54c7c3._0xd50c05,0x233,0x294,_0x54c7c3._0x5b9cdd)],0x3*-0x1b5+0xe3c*0x1+-0x91d*0x1))return!![];}}return![];}
@@ -1 +1 @@
1
- (function(_0x396150,_0x56bf0d){const _0x163ff2={_0x224beb:0x234,_0x556a60:0x208,_0x3dc4b9:0x215,_0xf1919a:0x98,_0xde41a3:0xd4,_0x188a8f:0xb5,_0x8d23e:0xc3,_0x581bb9:0x7f,_0x7acb59:0x7d,_0x1c7a53:0xa8,_0x4901d5:0x97,_0x5c87cb:0x93,_0x3a1ea7:0x7f,_0x5e6de1:0x9f,_0x4f0137:0xda,_0x577cf1:0x21a,_0x2f1ae1:0x221,_0x250119:0x22e,_0x36d325:0x71,_0x4458a8:0x20b,_0x4dbadd:0x237,_0x33b31e:0xb3,_0x415bd0:0xd9,_0x2456a9:0x231,_0x4d8ae6:0x222,_0x3d9626:0x240,_0x48f05c:0x257};function _0x1adad4(_0x2fd6a9,_0x3d6e1f,_0x8fe1ce,_0x5c889b){return _0x5309(_0x8fe1ce-0xaf,_0x5c889b);}function _0x162deb(_0x2de1bd,_0x2962be,_0x1b0622,_0x21e382){return _0x5309(_0x21e382- -0x225,_0x1b0622);}const _0x23a6a7=_0x396150();while(!![]){try{const _0x4707c1=-parseInt(_0x1adad4(_0x163ff2._0x224beb,_0x163ff2._0x556a60,_0x163ff2._0x3dc4b9,0x232))/(-0x16*-0x191+-0x12f8*0x2+0x37b)+parseInt(_0x162deb(-0x7d,-0x74,-_0x163ff2._0xf1919a,-0x8e))/(-0x1885+-0x1df*0x2+0x1c45*0x1)*(parseInt(_0x162deb(-_0x163ff2._0xde41a3,-_0x163ff2._0x188a8f,-_0x163ff2._0x8d23e,-0xc1))/(-0x784*0x1+-0x1b4e+0x22d5))+parseInt(_0x162deb(-_0x163ff2._0x581bb9,-_0x163ff2._0x7acb59,-_0x163ff2._0x1c7a53,-_0x163ff2._0x4901d5))/(-0x2*0x1c3+0x1193*0x1+-0xe09)+-parseInt(_0x162deb(-_0x163ff2._0x5c87cb,-_0x163ff2._0x3a1ea7,-0x99,-_0x163ff2._0x5e6de1))/(0x123*0xe+-0x85f+-0x786)*(parseInt(_0x162deb(-0xc6,-_0x163ff2._0x4f0137,-0xb3,-0xc9))/(0x20f3+0xf*0x15+0x1114*-0x2))+-parseInt(_0x1adad4(0x205,_0x163ff2._0x577cf1,_0x163ff2._0x2f1ae1,_0x163ff2._0x250119))/(0xeae+0xbf4+-0x1a9b)*(-parseInt(_0x162deb(-0x90,-_0x163ff2._0x36d325,-0x75,-0x8f))/(-0x145f+-0x23f7+-0xde*-0x41))+parseInt(_0x1adad4(_0x163ff2._0x4458a8,0x22e,0x21b,_0x163ff2._0x4dbadd))/(0x203*-0x6+0xea3+0xd8*-0x3)+parseInt(_0x162deb(-0xa9,-_0x163ff2._0x33b31e,-_0x163ff2._0x415bd0,-0xc5))/(-0x1b07+-0x170+0x1c81)*(parseInt(_0x1adad4(_0x163ff2._0x2456a9,_0x163ff2._0x4d8ae6,_0x163ff2._0x3d9626,_0x163ff2._0x48f05c))/(0x12f1*-0x1+0x1*-0xccb+-0x1fc7*-0x1));if(_0x4707c1===_0x56bf0d)break;else _0x23a6a7['push'](_0x23a6a7['shift']());}catch(_0x5d19c2){_0x23a6a7['push'](_0x23a6a7['shift']());}}}(_0x5444,-0xdf53e+-0x13*0x4169+0x19cef6));export function collectObjectiveCascadeUnpinTargets(_0x34670b,_0x5634ae){const _0x44bb38={_0x599b10:0x139,_0x2f9798:0x138,_0x326ad9:0x418,_0x1568f5:0x422,_0x11cc68:0x43d,_0x103d8a:0x453,_0x47931e:0x44c,_0x4a61f3:0x438,_0x33c806:0x423,_0x56967e:0x16f,_0x52b0c7:0x15f,_0x508299:0x114,_0x3cd40f:0x12a,_0x54b227:0x462,_0x4a2251:0x472,_0x9b4655:0x46c,_0x17a811:0x444,_0x46ee17:0x45b,_0x2427b5:0x44b,_0x4a6954:0x416,_0x416399:0x410,_0x22ab6a:0x428,_0x4b2066:0x42a,_0x56f44c:0x410,_0x207adb:0x424,_0x3f6062:0x431,_0x4caedd:0x149,_0x4f4335:0x144,_0x1e2218:0x140,_0x13cdfa:0x452,_0x1fabe6:0x446,_0x213470:0x150,_0x4b3164:0x154,_0x294482:0x14f,_0x5515ac:0x444,_0x41b707:0x13e,_0x197600:0x45f,_0x1cb03b:0x449,_0x3bd382:0x425,_0x5609d7:0x43f,_0x448e9a:0x447,_0x3653b:0x45e,_0x3beea1:0x140,_0x2e1aa3:0x13b,_0x47a701:0x430,_0x13f098:0x438,_0x383a47:0x435,_0x584f7c:0x11b,_0x44f523:0x13b,_0x13cbf5:0x440,_0x3ef643:0x43e,_0x539fc4:0x156,_0x5842a9:0x12f,_0x5dce24:0x16d,_0x5006ac:0x160,_0x40aec3:0x43a,_0x32c461:0x45c,_0x411231:0x43c,_0x35ea06:0x157,_0x52d56a:0x144,_0x466cb6:0x463,_0x1474ad:0x445},_0x573c7f={_0x2081af:0x32f,_0x4ec8e6:0x31c,_0x49606e:0x30f,_0x51bd1b:0x351,_0x4cc863:0x331,_0x3618d3:0x325,_0x1fcbb6:0x2f8,_0x444fc9:0x317,_0x35cc41:0x32a,_0x3688f8:0x4be,_0x38c09d:0x4d2,_0x3a5677:0x4d4,_0xf816b7:0x4e8,_0x3503a4:0x4bb,_0x21ac87:0x317,_0x2abc9c:0x4d0,_0x4a9964:0x4ca,_0x10a2e8:0x4d8,_0x4520d0:0x4df,_0x3e859e:0x4d4,_0x25a34f:0x4ea,_0x30dba9:0x32e,_0x22b337:0x4fa,_0x98bdfa:0x4c5,_0x777c7e:0x4cc,_0x4e454f:0x4d4,_0x8b7078:0x32e,_0x35fa2c:0x354,_0x379651:0x4c0,_0x2f42f3:0x4c9,_0x3e932b:0x4d3,_0x40247b:0x316,_0x1449c8:0x348,_0x4592ab:0x334,_0x204611:0x34f,_0x2d5503:0x328,_0x5ada35:0x2ff,_0x5eddff:0x334,_0x3072fc:0x33f,_0x1126df:0x32d,_0x5a37fa:0x4dd},_0x1b6b56={_0x545bfe:0x30,_0x37668d:0x9d,_0xda09b9:0x46f};function _0x465c6f(_0x2bb3ca,_0x3f5c76,_0xf72616,_0x5ae5d2){return _0x5309(_0xf72616-0x2c7,_0x3f5c76);}const _0x23d360={'CXLfK':function(_0xf6aa92,_0x39181d){return _0xf6aa92===_0x39181d;},'SZYfv':_0x465c6f(0x442,0x42a,0x448,0x468),'YYcVB':function(_0x7ea9e5,_0x3ca97a){return _0x7ea9e5===_0x3ca97a;},'zbNGZ':_0x1bf1c7(-0x11b,-0x149,-0x12f,-0x14e),'EcTHD':function(_0x252c0f,_0x996e00){return _0x252c0f(_0x996e00);},'EYUVe':function(_0x473689,_0x42cddc){return _0x473689===_0x42cddc;},'xsWMX':function(_0x486707,_0xbf9167){return _0x486707(_0xbf9167);},'ooToe':function(_0x3cb2d9,_0x3f4388){return _0x3cb2d9===_0x3f4388;},'eKOVF':function(_0x5743f0,_0x17e407){return _0x5743f0(_0x17e407);},'wemCT':function(_0x494bc2,_0x1439d9){return _0x494bc2===_0x1439d9;},'PXuzH':_0x1bf1c7(-0x122,-0x13c,-_0x44bb38._0x599b10,-_0x44bb38._0x2f9798),'JDdmk':function(_0x4da07f,_0x238eca){return _0x4da07f===_0x238eca;},'daUSM':_0x465c6f(0x431,_0x44bb38._0x326ad9,_0x44bb38._0x1568f5,_0x44bb38._0x11cc68),'zdunP':function(_0x47eccd,_0x56dfc6){return _0x47eccd!==_0x56dfc6;},'CGjEZ':_0x465c6f(0x458,0x459,_0x44bb38._0x103d8a,_0x44bb38._0x47931e),'OpiJI':'GhKAL'},_0xdbe61d=new Set(),_0x3057e0=new Set(),_0x205d8c=_0x5a68da=>{function _0x44aa9e(_0x35973f,_0x17a021,_0x52bc8d,_0x2d0e76){return _0x1bf1c7(_0x35973f-_0x1b6b56._0x545bfe,_0x17a021-_0x1b6b56._0x37668d,_0x52bc8d-_0x1b6b56._0xda09b9,_0x17a021);}function _0x2850fb(_0x1d86b9,_0x26b269,_0x19c94f,_0x5978ed){return _0x465c6f(_0x1d86b9-0x1b6,_0x26b269,_0x19c94f-0x8e,_0x5978ed-0x187);}if(_0x23d360[_0x44aa9e(_0x573c7f._0x2081af,_0x573c7f._0x4ec8e6,_0x573c7f._0x49606e,0x329)](_0x23d360[_0x44aa9e(_0x573c7f._0x51bd1b,0x352,0x33b,_0x573c7f._0x4cc863)],'FLCKJ'))for(const [_0x4a7b61,_0xcd5436]of _0x34670b['entries']()){_0x23d360[_0x44aa9e(0x2ff,_0x573c7f._0x3618d3,0x30f,_0x573c7f._0x1fcbb6)](_0xcd5436?.[_0x44aa9e(_0x573c7f._0x444fc9,0x33a,_0x573c7f._0x35cc41,0x32e)+_0x2850fb(_0x573c7f._0x3688f8,_0x573c7f._0x38c09d,_0x573c7f._0x3a5677,_0x573c7f._0xf816b7)],_0x5a68da)&&_0x23d360[_0x2850fb(_0x573c7f._0x3503a4,0x4c0,_0x573c7f._0x38c09d,0x4c3)](_0xcd5436?.['status'],_0x23d360[_0x44aa9e(0x33e,0x32d,0x321,_0x573c7f._0x21ac87)])&&(_0xdbe61d[_0x2850fb(_0x573c7f._0x2abc9c,_0x573c7f._0x4a9964,_0x573c7f._0x10a2e8,_0x573c7f._0x4520d0)](_0x4a7b61),_0x23d360[_0x2850fb(_0x573c7f._0x3e859e,_0x573c7f._0x25a34f,0x4dc,0x4eb)](_0x205d8c,_0x4a7b61));if(_0x23d360[_0x44aa9e(0x31b,0x31c,0x30e,_0x573c7f._0x30dba9)](_0xcd5436?.[_0x2850fb(0x4d3,_0x573c7f._0x22b337,0x4dd,_0x573c7f._0x98bdfa)+_0x2850fb(_0x573c7f._0x777c7e,0x4bd,_0x573c7f._0x4e454f,0x4d8)],_0x5a68da)){_0xdbe61d[_0x44aa9e(0x341,_0x573c7f._0x8b7078,0x334,_0x573c7f._0x35fa2c)](_0x4a7b61);if(_0xcd5436[_0x2850fb(_0x573c7f._0x379651,0x4d6,_0x573c7f._0x2f42f3,_0x573c7f._0x3e932b)])_0x3057e0[_0x44aa9e(_0x573c7f._0x40247b,_0x573c7f._0x1449c8,_0x573c7f._0x4592ab,_0x573c7f._0x204611)](_0xcd5436['groupId']);if(_0xcd5436[_0x44aa9e(_0x573c7f._0x2d5503,0x31a,0x31b,_0x573c7f._0x5ada35)+'oupId'])_0x3057e0[_0x44aa9e(0x337,0x315,_0x573c7f._0x5eddff,_0x573c7f._0x3072fc)](_0xcd5436[_0x44aa9e(0x326,_0x573c7f._0x1126df,0x31b,0x304)+_0x44aa9e(0x318,_0x573c7f._0x40247b,0x31a,0x302)]);}}else _0x449d90['add'](_0x4f73dc[_0x2850fb(0x4ef,0x4e8,_0x573c7f._0x5a37fa,0x4d0)+'ctiveId']);};_0x23d360[_0x465c6f(0x457,_0x44bb38._0x4a61f3,0x43e,_0x44bb38._0x33c806)](_0x205d8c,_0x5634ae);if(_0x3057e0['size']>0x1f83*0x1+0x871*0x1+-0x27f4){if(_0x23d360[_0x1bf1c7(-0x179,-_0x44bb38._0x56967e,-0x15b,-_0x44bb38._0x52b0c7)](_0x23d360[_0x1bf1c7(-0x12a,-_0x44bb38._0x508299,-0x12c,-_0x44bb38._0x3cd40f)],_0x23d360[_0x465c6f(_0x44bb38._0x54b227,_0x44bb38._0x4a2251,0x459,_0x44bb38._0x9b4655)]))for(const [_0x4fcea7,_0x3e706b]of _0x34670b[_0x465c6f(0x455,_0x44bb38._0x17a811,_0x44bb38._0x46ee17,_0x44bb38._0x2427b5)]()){if(!_0x3e706b)continue;const _0x27c302=_0x23d360['JDdmk'](_0x3e706b[_0x465c6f(0x413,_0x44bb38._0x4a6954,0x42f,0x43e)],_0x23d360[_0x465c6f(_0x44bb38._0x416399,_0x44bb38._0x11cc68,_0x44bb38._0x22ab6a,_0x44bb38._0x4b2066)])||_0x23d360[_0x465c6f(_0x44bb38._0x56f44c,_0x44bb38._0x207adb,0x425,_0x44bb38._0x3f6062)](_0x3e706b[_0x1bf1c7(-_0x44bb38._0x4caedd,-0x149,-_0x44bb38._0x4f4335,-_0x44bb38._0x1e2218)+'k'],!![]);if(!_0x27c302)continue;const _0x2a18d8=_0x3e706b[_0x465c6f(0x457,_0x44bb38._0x13cdfa,0x43b,_0x44bb38._0x1fabe6)]||_0x3e706b[_0x1bf1c7(-0x169,-_0x44bb38._0x213470,-_0x44bb38._0x4b3164,-_0x44bb38._0x294482)+_0x465c6f(0x42f,0x441,0x430,_0x44bb38._0x5515ac)];_0x2a18d8&&_0x3057e0[_0x1bf1c7(-_0x44bb38._0x41b707,-0x13a,-0x129,-0x126)](_0x2a18d8)&&(_0x23d360[_0x1bf1c7(-0x121,-0x115,-0x12e,-0x126)](_0x23d360[_0x1bf1c7(-0x13a,-0x141,-0x14f,-0x164)],_0x23d360[_0x465c6f(_0x44bb38._0x197600,0x443,_0x44bb38._0x1cb03b,0x456)])?_0xdbe61d['add'](_0x4fcea7):(_0x425736['add'](_0x42ab36),_0x23d360[_0x465c6f(_0x44bb38._0x3bd382,0x410,0x429,_0x44bb38._0x5609d7)](_0x4d23b2,_0xb1212c)));}else{_0x23d360[_0x465c6f(0x414,0x42b,0x425,0x415)](_0x228ad3?.[_0x465c6f(0x443,_0x44bb38._0x448e9a,0x440,_0x44bb38._0x3653b)+_0x1bf1c7(-_0x44bb38._0x599b10,-_0x44bb38._0x3beea1,-0x13f,-_0x44bb38._0x2e1aa3)],_0x1c6ea7)&&_0x23d360[_0x465c6f(_0x44bb38._0x47a701,0x454,_0x44bb38._0x13f098,0x44f)](_0xa79943?.[_0x465c6f(_0x44bb38._0x383a47,0x41b,0x426,0x412)],_0x23d360[_0x1bf1c7(-_0x44bb38._0x1e2218,-_0x44bb38._0x4b3164,-0x14e,-0x131)])&&(_0x3cef49[_0x1bf1c7(-_0x44bb38._0x584f7c,-0x12b,-_0x44bb38._0x44f523,-_0x44bb38._0x599b10)](_0x46e756),_0x11d05f(_0x1a8062));if(_0x23d360[_0x465c6f(_0x44bb38._0x13cbf5,_0x44bb38._0x3ef643,0x444,0x45b)](_0x18ea14?.[_0x1bf1c7(-0x144,-0x136,-0x136,-0x142)+_0x1bf1c7(-0x12c,-_0x44bb38._0x539fc4,-0x13f,-0x12f)],_0x321c09)){_0x4dc62f['add'](_0x5d8507);if(_0xffd756[_0x1bf1c7(-0x12d,-0x135,-0x14a,-0x13d)])_0x4c59d4[_0x1bf1c7(-_0x44bb38._0x5842a9,-0x154,-0x13b,-0x11d)](_0x417668['groupId']);if(_0x5cbe4f[_0x1bf1c7(-_0x44bb38._0x5dce24,-0x174,-0x154,-_0x44bb38._0x5006ac)+_0x465c6f(_0x44bb38._0x4a61f3,_0x44bb38._0x40aec3,0x430,0x41a)])_0x119aec[_0x465c6f(0x45e,_0x44bb38._0x32c461,0x44a,0x450)](_0x2fc6c6[_0x465c6f(0x416,0x442,0x431,_0x44bb38._0x411231)+'oupId']);}}}_0xdbe61d[_0x1bf1c7(-_0x44bb38._0x35ea06,-_0x44bb38._0x52d56a,-0x14b,-0x15f)](_0x5634ae);const _0x183d23={};function _0x1bf1c7(_0x10d2f1,_0x501142,_0x3a389d,_0x9504f4){return _0x5309(_0x3a389d- -0x2be,_0x9504f4);}return _0x183d23[_0x465c6f(0x410,0x430,0x420,0x413)+'onsider']=_0xdbe61d,_0x183d23['affectedGr'+_0x465c6f(_0x44bb38._0x466cb6,_0x44bb38._0x54b227,_0x44bb38._0x1474ad,0x45c)]=_0x3057e0,_0x183d23;}function _0x5444(){const _0x49d752=['otqZmti4quL2t3LA','B2jQzwn0AxzL','EMr1BLa','otLoAg1dAwe','ufH1EKG','wevhDxG','zw50CMLLCW','AgfZ','mZm4nJm2ogfgAxf0yq','nZC0BMnbEu9H','wgjwt08','DgfZA0LKC1rVqW','vwHxwMG','ANvKz2u','mJi2nZeWnNLLverLAa','rvLvvMu','q1HmzKS','C3rHDhvZ','ndK5mZKWvhvNy2vP','zgfvu00','EhnxtvG','D2vTq1q','mJC5m09Azw9ruG','CfHdwhm','ndaYntiWExr0vePT','B0nwCuS','DgfZA1r5Cgu','B3vWswq','B3jPz2LUywXhCG','vgD2Aw4','mtmZmdG1n1PRsuD6Ba','ChvZAa','yujZvuy','q0DQrvO','EMjor1O','B29uB2u','n2jmwvLfCq','zgvSzxrL','z3jVDxbjza','sKvYve0','z2zqrLq','zuTpvKy','z3zzy1u','CgfYzw50t2jQzq','AxnkDwrNzvrHCW','AxnqAw5Uzwq','yxb6Bha','wvLJvKi','B3vWswrZ','y3rPDMvjza','EhLtAvK','rKXds0O','t3bPsKK','ywrK','ufLyr20','t2z4CNe','mtbwrKLNrwq','rwnuseq','C291CMnLt2jQzq','BwDHtg8','u1PzzNy','z2v0','DeP4wg8','uMH6ywe'];_0x5444=function(){return _0x49d752;};return _0x5444();}export function findJudgeTasksForGroup(_0x3a9946,_0x146d31){const _0x251133={_0x3b1d34:0x228,_0x5d9878:0x232,_0x52e1f0:0x2b3,_0x40088b:0x2ab,_0x3d48ae:0x226,_0x5b9526:0x206,_0x1be568:0x251,_0x468312:0x23d,_0x470686:0x217,_0x10869b:0x2c4,_0x1be003:0x2db,_0x5b0f97:0x2d8,_0x5a381d:0x2d0,_0x33b138:0x2a7,_0x51c470:0x2da,_0x7f5416:0x2c4,_0x4078c3:0x21e,_0x32b696:0x22b,_0x5ddec6:0x204,_0x2948c3:0x206,_0x4b5f8c:0x221,_0x2c9e9b:0x20d,_0x4026ef:0x213,_0x1ca0ae:0x231,_0x1e0e21:0x21b},_0x4be563={_0xbc9623:0x39a};function _0x5513fa(_0x47cb18,_0x2cc43a,_0x1cc880,_0xed1bf6){return _0x5309(_0xed1bf6- -_0x4be563._0xbc9623,_0x47cb18);}const _0x417b59={'Rhzaa':function(_0x5ed054,_0x112bc8){return _0x5ed054(_0x112bc8);},'qbLEf':function(_0xe2b8d1,_0x26ed18){return _0xe2b8d1===_0x26ed18;},'JErTM':_0x5513fa(-_0x251133._0x3b1d34,-_0x251133._0x5d9878,-_0x251133._0x5d9878,-0x23f),'oCVqK':function(_0x4781e0,_0x46ed53){return _0x4781e0===_0x46ed53;},'xySiY':_0x5a6290(_0x251133._0x52e1f0,0x2bb,0x2b2,_0x251133._0x40088b)},_0x451add=new Set();if(!_0x146d31)return _0x451add;for(const [_0x10452e,_0x1f1875]of _0x3a9946[_0x5513fa(-0x1fa,-_0x251133._0x3d48ae,-0x210,-_0x251133._0x5b9526)]()){if(!_0x1f1875)continue;const _0x21cd06=_0x417b59['qbLEf'](_0x1f1875[_0x5513fa(-_0x251133._0x1be568,-_0x251133._0x468312,-_0x251133._0x470686,-_0x251133._0x5d9878)],_0x417b59[_0x5a6290(0x2c0,_0x251133._0x10869b,0x2cf,_0x251133._0x1be003)])||_0x417b59[_0x5a6290(_0x251133._0x5b0f97,_0x251133._0x5a381d,0x2c1,_0x251133._0x33b138)](_0x1f1875['isJudgeTas'+'k'],!![]);if(!_0x21cd06)continue;const _0x85bb1=_0x1f1875['groupId']||_0x1f1875[_0x5a6290(0x2bc,_0x251133._0x51c470,_0x251133._0x7f5416,0x2b7)+'oupId'];_0x417b59[_0x5513fa(-0x220,-_0x251133._0x4078c3,-0x219,-0x233)](_0x85bb1,_0x146d31)&&(_0x417b59[_0x5513fa(-_0x251133._0x32b696,-_0x251133._0x5ddec6,-0x203,-0x21a)]!==_0x417b59[_0x5513fa(-_0x251133._0x2948c3,-_0x251133._0x4b5f8c,-0x231,-0x21a)]?_0x417b59[_0x5513fa(-0x229,-0x228,-_0x251133._0x2c9e9b,-0x20d)](_0x10a819,_0x16963d[_0x5513fa(-0x204,-0x21b,-0x217,-0x221)+_0x5513fa(-_0x251133._0x4026ef,-0x22e,-_0x251133._0x1ca0ae,-_0x251133._0x1e0e21)]):_0x451add[_0x5513fa(-0x219,-0x213,-0x1ff,-_0x251133._0x470686)](_0x10452e));}function _0x5a6290(_0x3549e0,_0x581274,_0x507519,_0x1686ff){return _0x5309(_0x507519-0x15a,_0x1686ff);}return _0x451add;}function _0x5309(_0x2fc6c6,_0xe8becf){_0x2fc6c6=_0x2fc6c6-(-0xa8a*0x1+0xa5*-0x13+0x57*0x47);const _0x32ed03=_0x5444();let _0x19e139=_0x32ed03[_0x2fc6c6];if(_0x5309['HKuOmW']===undefined){var _0x295a64=function(_0xb1212c){const _0xe26b51='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x164cda='',_0x2d2b51='';for(let _0x407b19=0x1*-0x26cf+-0x3*0x1e8+-0x1*-0x2c87,_0x2c9e8d,_0x3102c0,_0x5c8c9f=-0x1bc8+-0x11*-0x47+0x1711;_0x3102c0=_0xb1212c['charAt'](_0x5c8c9f++);~_0x3102c0&&(_0x2c9e8d=_0x407b19%(0x1*0xa65+0x2290+-0x2cf1)?_0x2c9e8d*(0xd99+0x2*0x44+-0xde1)+_0x3102c0:_0x3102c0,_0x407b19++%(-0x4f8+-0x5e*-0x6a+-0x3*0xb50))?_0x164cda+=String['fromCharCode'](0x459*0x1+-0xe86+0xb2c&_0x2c9e8d>>(-(-0x9a*-0x3d+0x1*-0x20fe+0x1d9*-0x2)*_0x407b19&-0x1ba3+0x8*0x119+0x12e1)):0x11*-0x17e+0xe78+0xae6){_0x3102c0=_0xe26b51['indexOf'](_0x3102c0);}for(let _0x27e7ed=-0x1e7d+-0x1860+0x36dd,_0x4a47ce=_0x164cda['length'];_0x27e7ed<_0x4a47ce;_0x27e7ed++){_0x2d2b51+='%'+('00'+_0x164cda['charCodeAt'](_0x27e7ed)['toString'](0x11*-0x119+0x1fc+0x10bd))['slice'](-(-0xff9*0x2+0x1*0x151+0x1ea3));}return decodeURIComponent(_0x2d2b51);};_0x5309['VcCJnt']=_0x295a64,_0x5309['NTIViW']={},_0x5309['HKuOmW']=!![];}const _0x425736=_0x32ed03[-0xca*0x16+0x5*0x4ee+-0x74a*0x1],_0x42ab36=_0x2fc6c6+_0x425736,_0x4d23b2=_0x5309['NTIViW'][_0x42ab36];return!_0x4d23b2?(_0x19e139=_0x5309['VcCJnt'](_0x19e139),_0x5309['NTIViW'][_0x42ab36]=_0x19e139):_0x19e139=_0x4d23b2,_0x19e139;}export function findOrphanedAncestorObjectives(_0x118034,_0x52bdbf){const _0x383ca9={_0x25880a:0x354,_0x43e5e9:0x33b,_0x3d1c43:0x31c,_0x27a055:0x33b,_0xa543b6:0x326,_0xffcf12:0x1e3,_0xd8032:0x34e,_0xdb6867:0x330,_0x3e8723:0x31a,_0x31183a:0x32a,_0x23dc3d:0x1d1,_0x19a83e:0x1eb,_0x32650e:0x1cf,_0x53ca89:0x1cc,_0x16de57:0x1da,_0x4029f5:0x330,_0x476a63:0x311},_0x46ed44={_0xf0d3b5:0x246,_0x511fc7:0x23b,_0x13bf33:0x24b,_0x4dbfcd:0x266,_0x125901:0x250,_0x4eef26:0x22d,_0x5bb855:0x139,_0x11a990:0x116,_0x2de1db:0xee,_0x3ab4f3:0xdd,_0x222c35:0x10c,_0x529794:0x122,_0x1980f7:0x113,_0x5bf896:0x255,_0x31eb6c:0x264,_0x1c7c49:0xfc,_0x5a95ba:0x105,_0x2f8d39:0x117,_0x1b0d4f:0x25d,_0x12aaa3:0x145,_0x509b5f:0x12d,_0x17e75e:0x119,_0x1ffda0:0x11c,_0x1c81c5:0x111,_0x524ac9:0x251,_0x4fbe95:0x228,_0x3eda47:0x101,_0xa72be5:0x10d,_0x33a5af:0x127,_0x2a3b1c:0x10d,_0x1456d5:0x115,_0xc5a119:0x250,_0x3685fc:0x117,_0x5153d4:0xe7,_0x5b57ed:0x252,_0x35f362:0x262,_0x5dd9c4:0x20c,_0x18c885:0x212,_0xe5524c:0x21c,_0x194b41:0x23b,_0x5b7f3a:0x242,_0x3167f8:0x237,_0x23d946:0x20b,_0x1d7b80:0x137,_0x15a89e:0x10f,_0x1b156d:0x127,_0x2aea69:0x100,_0x59fb5e:0xf0,_0x209af6:0x219,_0x2dcb71:0x224,_0x1b3699:0x206,_0x162892:0x23c,_0x152e44:0x145,_0x3e4543:0x138,_0x8c97eb:0x127,_0x1e407a:0x131,_0x4e571b:0xed,_0x58cd00:0x11a,_0x2e4d21:0xfa,_0x26f451:0xf7,_0x527091:0x112,_0x73fd0b:0x24c,_0x20525b:0x247,_0x19eec5:0x231,_0x1d694b:0x219,_0x318b43:0x121,_0x817321:0x124},_0x540ea4={_0x1ab83d:0x1b1},_0x4c7836={_0x3f3683:0x36e},_0x14a8bb={'UhWZh':function(_0x5f1ec8,_0x5366c2){return _0x5f1ec8===_0x5366c2;},'apzlp':'objective','pXCXs':function(_0x36fb21,_0x39798e){return _0x36fb21(_0x39798e);},'XEGux':function(_0x3647ce,_0x36fe32){return _0x3647ce===_0x36fe32;},'mgaLo':function(_0x335776,_0x3ad5a5){return _0x335776===_0x3ad5a5;},'aBsUF':_0x50c286(0x335,0x351,_0x383ca9._0x25880a,_0x383ca9._0x43e5e9),'gvYcU':_0x50c286(_0x383ca9._0x3d1c43,_0x383ca9._0x27a055,0x316,_0x383ca9._0xa543b6),'gfPFT':function(_0x49cf64,_0x32c45a){return _0x49cf64&&_0x32c45a;}},_0x24d242=new Set(_0x52bdbf),_0x522ec6=[];function _0x7abc0f(_0x778972,_0x51e398,_0x102441,_0x3f4f9b){return _0x5309(_0x51e398- -_0x4c7836._0x3f3683,_0x3f4f9b);}const _0x15532c=new Set(),_0x3e504f=new Set();for(const _0x211ed3 of _0x52bdbf){const _0x235fe9=_0x118034[_0x7abc0f(-0x1cd,-_0x383ca9._0xffcf12,-0x1d8,-0x1da)](_0x211ed3);_0x235fe9?.[_0x50c286(0x339,_0x383ca9._0x3d1c43,_0x383ca9._0x43e5e9,_0x383ca9._0xd8032)+_0x50c286(_0x383ca9._0xdb6867,_0x383ca9._0x3e8723,_0x383ca9._0x31183a,0x326)]&&_0x3e504f[_0x7abc0f(-_0x383ca9._0x23dc3d,-_0x383ca9._0x19a83e,-_0x383ca9._0x32650e,-0x1e0)](_0x235fe9[_0x7abc0f(-0x1f2,-0x1e6,-_0x383ca9._0x53ca89,-_0x383ca9._0x16de57)+_0x50c286(_0x383ca9._0x4029f5,0x326,0x340,_0x383ca9._0x476a63)]);}function _0x50c286(_0x5504ea,_0x20b8f5,_0x291b1a,_0x534033){return _0x5309(_0x5504ea-_0x540ea4._0x1ab83d,_0x534033);}const _0x111197=_0x225d7a=>{const _0x3b3247={_0x16f00a:0x21d,_0x2a71e7:0x156,_0x38c107:0x1};function _0x187c27(_0x4f5c19,_0x328e28,_0x5b8bf5,_0x112f20){return _0x7abc0f(_0x4f5c19-0xde,_0x328e28- -0x4b,_0x5b8bf5-0x142,_0x5b8bf5);}function _0x14bd31(_0xd86b1b,_0x587e20,_0x475aa0,_0x542c70){return _0x50c286(_0x475aa0- -_0x3b3247._0x16f00a,_0x587e20-_0x3b3247._0x2a71e7,_0x475aa0-_0x3b3247._0x38c107,_0x542c70);}if(_0x14a8bb[_0x187c27(-_0x46ed44._0xf0d3b5,-0x230,-0x220,-0x218)](_0x14a8bb[_0x187c27(-_0x46ed44._0x511fc7,-_0x46ed44._0x13bf33,-_0x46ed44._0x4dbfcd,-0x23f)],_0x14a8bb[_0x187c27(-0x234,-0x241,-_0x46ed44._0x125901,-_0x46ed44._0x4eef26)]))for(const [_0x51abf9,_0x164a63]of _0x22d569[_0x14bd31(_0x46ed44._0x5bb855,0x114,0x128,_0x46ed44._0x11a990)]()){_0x14a8bb[_0x14bd31(0xf2,0x10c,_0x46ed44._0x2de1db,_0x46ed44._0x3ab4f3)](_0x164a63?.[_0x14bd31(_0x46ed44._0x222c35,_0x46ed44._0x529794,0x10d,0x107)+_0x14bd31(0x12e,0x11c,_0x46ed44._0x1980f7,0x108)],_0x299f8d)&&_0x14a8bb[_0x187c27(-0x27d,-0x25f,-_0x46ed44._0x5bf896,-_0x46ed44._0x31eb6c)](_0x164a63?.[_0x14bd31(0xd3,_0x46ed44._0x1c7c49,0xf3,0xfc)],_0x14a8bb['apzlp'])&&(_0x34ff3b[_0x14bd31(_0x46ed44._0x5a95ba,0x12e,_0x46ed44._0x2f8d39,0x12b)](_0x51abf9),_0x14a8bb[_0x187c27(-_0x46ed44._0x1b0d4f,-0x254,-0x262,-0x25a)](_0x1df604,_0x51abf9));if(_0x14a8bb[_0x14bd31(0x134,_0x46ed44._0x12aaa3,0x127,_0x46ed44._0x509b5f)](_0x164a63?.[_0x14bd31(_0x46ed44._0x17e75e,0x134,_0x46ed44._0x1ffda0,_0x46ed44._0x1c81c5)+_0x187c27(-0x228,-0x23a,-_0x46ed44._0x524ac9,-_0x46ed44._0x4fbe95)],_0x4b8185)){_0x33e320['add'](_0x51abf9);if(_0x164a63['groupId'])_0x5d99c8[_0x14bd31(0x119,_0x46ed44._0x3eda47,_0x46ed44._0x2f8d39,_0x46ed44._0xa72be5)](_0x164a63[_0x14bd31(_0x46ed44._0x33a5af,_0x46ed44._0x2a3b1c,0x108,_0x46ed44._0x1456d5)]);if(_0x164a63[_0x14bd31(0xf4,0xf3,0xfe,0xf5)+_0x187c27(-_0x46ed44._0xc5a119,-0x250,-0x23e,-0x240)])_0x26c93f[_0x14bd31(0x10d,0x103,_0x46ed44._0x3685fc,0x126)](_0x164a63[_0x14bd31(0xf5,_0x46ed44._0x5153d4,0xfe,0x119)+_0x187c27(-_0x46ed44._0x5b57ed,-0x250,-_0x46ed44._0x35f362,-_0x46ed44._0x1b0d4f)]);}}else{if(_0x15532c[_0x187c27(-_0x46ed44._0x5dd9c4,-0x224,-0x21b,-_0x46ed44._0x18c885)](_0x225d7a))return;_0x15532c['add'](_0x225d7a);const _0x29e92d=_0x118034[_0x187c27(-0x245,-0x22e,-_0x46ed44._0x4eef26,-_0x46ed44._0xe5524c)](_0x225d7a);if(!_0x29e92d||_0x29e92d[_0x187c27(-_0x46ed44._0x194b41,-0x25a,-_0x46ed44._0x5b7f3a,-_0x46ed44._0x4dbfcd)]!==_0x187c27(-_0x46ed44._0x3167f8,-0x22a,-_0x46ed44._0x23d946,-0x225)||!_0x29e92d['isPinned'])return;let _0x1db5d5=![];for(const [_0x349fb7,_0x319739]of _0x118034[_0x14bd31(0x130,0x142,0x128,0x121)]()){if(_0x14a8bb[_0x14bd31(0x144,0x111,_0x46ed44._0x33a5af,0x10b)](_0x319739?.[_0x14bd31(_0x46ed44._0x1d7b80,_0x46ed44._0x15a89e,0x11c,0x118)+_0x14bd31(0xfd,_0x46ed44._0x1b156d,0x113,0x10c)],_0x225d7a)&&_0x319739[_0x14bd31(0xfd,_0x46ed44._0x2aea69,0x10f,_0x46ed44._0x59fb5e)]&&!_0x24d242[_0x187c27(-_0x46ed44._0x209af6,-_0x46ed44._0x2dcb71,-_0x46ed44._0x1b3699,-_0x46ed44._0x162892)](_0x349fb7)){_0x1db5d5=!![];break;}}let _0x4bcc04=![];for(const [_0x20e684,_0x30d0e8]of _0x118034['entries']()){if(_0x14a8bb['UhWZh'](_0x30d0e8?.[_0x14bd31(0xfb,0xfa,_0x46ed44._0x2a3b1c,0xef)+'ctiveId'],_0x225d7a)&&_0x14a8bb[_0x14bd31(_0x46ed44._0x152e44,_0x46ed44._0x3e4543,_0x46ed44._0x8c97eb,_0x46ed44._0x1e407a)](_0x30d0e8[_0x14bd31(_0x46ed44._0x4e571b,0x103,0xf3,0xf8)],_0x14a8bb[_0x14bd31(0x130,_0x46ed44._0x58cd00,0x110,_0x46ed44._0x222c35)])&&_0x30d0e8[_0x14bd31(_0x46ed44._0x2e4d21,_0x46ed44._0x26f451,0x10f,_0x46ed44._0x527091)]&&!_0x24d242['has'](_0x20e684)){_0x4bcc04=!![];break;}}_0x14a8bb[_0x187c27(-0x225,-0x243,-0x261,-0x24b)](!_0x1db5d5,!_0x4bcc04)&&(_0x522ec6[_0x187c27(-0x235,-_0x46ed44._0x73fd0b,-_0x46ed44._0x3167f8,-_0x46ed44._0x20525b)](_0x225d7a),_0x24d242[_0x187c27(-_0x46ed44._0x19eec5,-0x236,-0x240,-_0x46ed44._0x1d694b)](_0x225d7a),_0x29e92d['parentObje'+'ctiveId']&&_0x111197(_0x29e92d[_0x14bd31(0x128,0x11a,_0x46ed44._0x2a3b1c,_0x46ed44._0x318b43)+_0x14bd31(_0x46ed44._0x817321,0x115,0x113,0x10f)]));}};for(const _0x246ff4 of _0x3e504f){_0x111197(_0x246ff4);}return _0x522ec6;}
1
+ (function(_0x832da7,_0x169aaa){const _0x189426={_0x337273:0x14,_0x3958ad:0x28,_0x5eadd6:0x1f,_0x42ee62:0x25,_0x26cd62:0x4,_0x135dcf:0x13,_0x298c65:0x17,_0x283b1f:0x16,_0x8e1fd1:0x60,_0x12559c:0x56,_0x55b931:0x6c,_0x4096e9:0x89,_0x505c92:0x6e,_0x21ab33:0x1c,_0x10a34b:0x2c,_0xa3af36:0x46},_0x23ca1a={_0xf8d472:0x14a},_0x40c62a={_0x1d8172:0x1f9};function _0x12d7b3(_0x58b7a6,_0x4ba987,_0x1d2442,_0x2c73ec){return _0x34fb(_0x2c73ec- -_0x40c62a._0x1d8172,_0x58b7a6);}const _0x116098=_0x832da7();function _0x258dce(_0x12ab11,_0xef63d6,_0x3cb10f,_0x12ff0a){return _0x34fb(_0xef63d6- -_0x23ca1a._0xf8d472,_0x12ff0a);}while(!![]){try{const _0x488fd5=-parseInt(_0x12d7b3(-_0x189426._0x337273,-_0x189426._0x3958ad,-_0x189426._0x5eadd6,-_0x189426._0x42ee62))/(-0x1*0x2575+0x10*0x105+0x2*0xa93)*(parseInt(_0x12d7b3(-_0x189426._0x26cd62,-_0x189426._0x135dcf,0x1,-0xa))/(-0x74b*-0x2+-0xe7a+-0x1a))+parseInt(_0x12d7b3(-_0x189426._0x298c65,-0x30,-_0x189426._0x283b1f,-0x32))/(-0xb5*0x2+0x3*0x539+-0xe3e)+-parseInt(_0x258dce(0x4e,0x6b,_0x189426._0x8e1fd1,_0x189426._0x12559c))/(-0x7b0+0x1387+-0xbd3)+-parseInt(_0x258dce(_0x189426._0x55b931,_0x189426._0x4096e9,0x9d,_0x189426._0x505c92))/(0x1*-0x2635+-0x3*0x751+0x3c2d)+parseInt(_0x12d7b3(-0x41,-_0x189426._0x21ab33,-0x2e,-0x2f))/(-0x845+-0x3*0x724+0x1db7)+parseInt(_0x12d7b3(-_0x189426._0x8e1fd1,-0x3b,-0x4b,-0x45))/(-0x3*-0x626+-0x605*-0x1+-0x1870)+parseInt(_0x12d7b3(-0x20,-_0x189426._0x10a34b,-_0x189426._0xa3af36,-0x39))/(0x2*-0x914+-0xf6d*-0x1+0x65*0x7);if(_0x488fd5===_0x169aaa)break;else _0x116098['push'](_0x116098['shift']());}catch(_0x5d3009){_0x116098['push'](_0x116098['shift']());}}}(_0x4ac4,-0x286b1+-0x376*-0x5b+0x42ca9*0x1));export function collectObjectiveCascadeUnpinTargets(_0xcad9f2,_0x2ae99e){const _0x1e2c46={_0x318b10:0x2c6,_0x2233b4:0x2c5,_0x3c3063:0x2db,_0x3941b2:0x2d9,_0x466869:0x2e5,_0x573a1d:0x1c4,_0x1f8ba8:0x1c3,_0x943831:0x1c8,_0x32ccc8:0x2db,_0x3d6b13:0x2d1,_0x69a42c:0x1ac,_0x4a9133:0x2ed,_0xad90d5:0x2d8,_0x56e071:0x2d2,_0x4b5922:0x2f5,_0x2159bf:0x1d5,_0x2b9970:0x1ab,_0x40b76d:0x2f1,_0x2c8c9f:0x309,_0x2b9337:0x2b8,_0x4c81bc:0x2ca,_0x21ec44:0x1bb,_0xbcc74a:0x1a2,_0x4eeebd:0x2d6,_0x46904d:0x2e6,_0x1349e9:0x190,_0x2bbf43:0x1c0,_0x48b7f9:0x18e,_0x461b3f:0x190,_0x425649:0x18d},_0x20f29c={_0x1305af:0x10b},_0x348599={_0x232f76:0x1c4,_0x9fae0c:0x1ca,_0x1ca722:0x1d5,_0x361b6b:0xe1,_0x289b8d:0xdf,_0x4e5f4f:0x1df,_0x446e1e:0x1eb,_0x1017f0:0x1db,_0x20f731:0x1f2,_0x511249:0x1c9,_0x221875:0xb3,_0x2c189a:0xc9,_0x5bbbf3:0xc3,_0x1e42eb:0xd1,_0x4c46f7:0x1eb,_0xed4f45:0x1f9,_0x54f823:0x1e9,_0x5e7518:0x1f4,_0x37a8f8:0x9c,_0x4e17be:0xaa,_0x3726dd:0x1d1,_0x2346cf:0x1c5,_0x256d78:0xdd,_0x338a77:0xbe,_0x2493db:0xcd,_0x391d39:0xd2,_0x1c4ce5:0xa6,_0x5088bf:0xc1,_0x4cee1e:0xb4},_0x2579fb={_0x5c5b8b:0x88},_0x305727={'JSiav':function(_0x7e7a5b,_0x2adf07){return _0x7e7a5b===_0x2adf07;},'qbNUp':'objective','oLadh':function(_0x510e44,_0x3a90fc){return _0x510e44(_0x3a90fc);},'tKNOU':function(_0x4d38cf,_0x1ffa93){return _0x4d38cf===_0x1ffa93;},'gcUQM':function(_0x8fd65c,_0x8777a0){return _0x8fd65c===_0x8777a0;},'xPLuK':_0x28034d(_0x1e2c46._0x318b10,_0x1e2c46._0x2233b4,0x2dd,_0x1e2c46._0x3c3063),'wFjih':function(_0x56b6cd,_0xc5dce5){return _0x56b6cd===_0xc5dce5;},'wOGkh':_0x3a3965(-0x1c3,-0x1ba,-0x1a6,-0x1ae)},_0x2fab30=new Set(),_0x59a866=new Set(),_0x4d3827=_0x51f49b=>{function _0x14105a(_0x2456f9,_0x6659fd,_0x4a489a,_0x377d83){return _0x3a3965(_0x2456f9,_0x377d83-0x26d,_0x4a489a-0x3a,_0x377d83-0xd0);}function _0x1f7c1a(_0x5a2efd,_0x2a7584,_0x331476,_0x4e1c08){return _0x3a3965(_0x2a7584,_0x5a2efd-0x388,_0x331476-0x9f,_0x4e1c08-_0x2579fb._0x5c5b8b);}for(const [_0x4e1376,_0x16627a]of _0xcad9f2[_0x1f7c1a(_0x348599._0x232f76,_0x348599._0x9fae0c,0x1b8,0x1bf)]()){_0x305727[_0x1f7c1a(0x1d2,0x1be,_0x348599._0x1ca722,0x1cf)](_0x16627a?.[_0x14105a(0xfc,_0x348599._0x361b6b,0xf6,_0x348599._0x289b8d)+'ctiveId'],_0x51f49b)&&_0x305727['JSiav'](_0x16627a?.[_0x1f7c1a(_0x348599._0x4e5f4f,0x1f2,_0x348599._0x446e1e,0x1f1)],_0x305727[_0x1f7c1a(0x1ed,0x1d3,_0x348599._0x1017f0,_0x348599._0x20f731)])&&(_0x2fab30['add'](_0x4e1376),_0x305727['oLadh'](_0x4d3827,_0x4e1376));if(_0x305727[_0x1f7c1a(0x1e7,0x1ca,0x1e8,_0x348599._0x511249)](_0x16627a?.[_0x14105a(_0x348599._0x221875,_0x348599._0x2c189a,_0x348599._0x5bbbf3,_0x348599._0x1e42eb)+_0x1f7c1a(_0x348599._0x4c46f7,_0x348599._0xed4f45,0x1d9,_0x348599._0x54f823)],_0x51f49b)){_0x2fab30[_0x1f7c1a(0x1d8,_0x348599._0x5e7518,0x1da,0x1d6)](_0x4e1376);if(_0x16627a[_0x14105a(_0x348599._0x37a8f8,_0x348599._0x4e17be,0x98,0xb0)])_0x59a866[_0x1f7c1a(0x1d8,0x1d3,0x1ca,_0x348599._0x3726dd)](_0x16627a[_0x1f7c1a(0x1cb,_0x348599._0x2346cf,0x1b4,0x1dc)]);if(_0x16627a[_0x14105a(_0x348599._0x256d78,0xe4,_0x348599._0x338a77,_0x348599._0x2493db)+_0x1f7c1a(0x1c5,0x1dd,0x1ba,0x1b5)])_0x59a866[_0x14105a(_0x348599._0x391d39,_0x348599._0x1c4ce5,_0x348599._0x5088bf,0xbd)](_0x16627a[_0x14105a(0xb9,0xb8,0xdf,_0x348599._0x2493db)+_0x14105a(0xb4,0xbb,_0x348599._0x4cee1e,0xaa)]);}}};_0x4d3827(_0x2ae99e);function _0x3a3965(_0x2c48dc,_0xcefbfd,_0x387f5f,_0x316906){return _0x34fb(_0xcefbfd- -0x37b,_0x2c48dc);}function _0x28034d(_0x66215f,_0x41308b,_0x4cee1b,_0x592333){return _0x34fb(_0x41308b-_0x20f29c._0x1305af,_0x592333);}if(_0x59a866[_0x28034d(_0x1e2c46._0x318b10,_0x1e2c46._0x3941b2,0x2e9,_0x1e2c46._0x466869)]>0x1da5*-0x1+0x21b6+-0x1*0x411)for(const [_0x6f4a74,_0x4d2be4]of _0xcad9f2[_0x3a3965(-0x1cf,-_0x1e2c46._0x573a1d,-_0x1e2c46._0x1f8ba8,-_0x1e2c46._0x943831)]()){if(_0x305727[_0x28034d(_0x1e2c46._0x32ccc8,0x2e7,0x300,_0x1e2c46._0x3d6b13)](_0x305727[_0x3a3965(-0x193,-0x1ae,-_0x1e2c46._0x69a42c,-0x1ae)],_0x305727[_0x28034d(_0x1e2c46._0x4a9133,_0x1e2c46._0xad90d5,_0x1e2c46._0x56e071,_0x1e2c46._0x4b5922)])){if(!_0x4d2be4)continue;const _0x318340=_0x305727[_0x3a3965(-0x1d3,-0x1c5,-_0x1e2c46._0x2159bf,-_0x1e2c46._0x2b9970)](_0x4d2be4[_0x28034d(0x2b4,0x2ce,0x2b9,0x2e0)],_0x305727[_0x28034d(0x2e7,_0x1e2c46._0x40b76d,_0x1e2c46._0x2c8c9f,0x2d6)])||_0x4d2be4['isJudgeTas'+'k']===!![];if(!_0x318340)continue;const _0x23a013=_0x4d2be4['groupId']||_0x4d2be4['originalGr'+_0x28034d(_0x1e2c46._0x2b9337,0x2c3,_0x1e2c46._0x4c81bc,0x2a5)];_0x23a013&&_0x59a866[_0x3a3965(-_0x1e2c46._0x21ec44,-_0x1e2c46._0xbcc74a,-0x19f,-0x18d)](_0x23a013)&&_0x2fab30[_0x28034d(0x2cd,_0x1e2c46._0x4eeebd,_0x1e2c46._0x46904d,0x2cc)](_0x6f4a74);}else _0x4050ab['add'](_0x407737);}_0x2fab30[_0x3a3965(-0x19b,-0x197,-_0x1e2c46._0x1349e9,-0x198)](_0x2ae99e);const _0x34097e={};return _0x34097e[_0x3a3965(-_0x1e2c46._0x2bbf43,-0x1aa,-0x195,-0x197)+_0x3a3965(-0x19f,-0x1a5,-_0x1e2c46._0x48b7f9,-0x19c)]=_0x2fab30,_0x34097e[_0x28034d(0x2e2,0x2c7,0x2d1,0x2ab)+_0x3a3965(-_0x1e2c46._0x461b3f,-0x198,-0x1a2,-_0x1e2c46._0x425649)]=_0x59a866,_0x34097e;}function _0x4ac4(){const _0x210f30=['AgfZ','DeTot1u','B3jPz2LUywXhCG','z2nvuu0','rhr1ELu','y3rPDMvjza','C291CMnLt2jQzq','Cwjovxa','AMLpCMu','re1KzxC','B3vWswrZ','zgvSzxrL','qKLxzxe','D09hA2G','AxnkDwrNzvrHCW','C0nZwuu','B2jQzwn0AxzL','AenAtuK','D1fHuNa','rLDlq2m','CgfYzw50t2jQzq','AKLwz28','mZyXmKvfCvL2Cq','odGYmJu5vNDbz0HV','nJG2nJm2v2fPvNzo','D0zQAwG','zw50CMLLCW','B3vWswq','uvrdswe','z09dt0W','C21btxy','ywzMzwn0zwrhCG','ChvZAa','z3jVDxbjza','t2DmtKK','mJKZmdmZnLvesuLeEa','ANvKz2u','teTzuhe','DgfZA1r5Cgu','ENrLy3K','sLnPyxy','yK9zwuO','nJq2oda5ALLmyxPz','twrJt0e','DfjAq0m','nta1ntaWwgfevfj1','ywrK','z2v0','EfbmDuS','C2L6zq','zNPVCfG','AgznC3G','DgfZA0LKC1rVqW','C3rHDhvZ','mtCXnJG5nxvhswTkBa','ndLzvMrRCKC','uNftEfi','B25ZAwrLCG','BMvSCuq','AxnqAw5Uzwq'];_0x4ac4=function(){return _0x210f30;};return _0x4ac4();}function _0x34fb(_0x407652,_0x244399){_0x407652=_0x407652-(0x2*0x7c4+0x19c6+-0x279a);const _0x21edbb=_0x4ac4();let _0x39eb97=_0x21edbb[_0x407652];if(_0x34fb['LeOFFJ']===undefined){var _0x3f0031=function(_0x40ada5){const _0x333a2f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x168f4a='',_0xe9e45c='';for(let _0x4eebdc=0x5*0x33b+0x2432*0x1+-0x3459,_0x2aed2d,_0x57f186,_0x5c01d3=0x1055*-0x1+-0x1*-0xa4b+0x60a;_0x57f186=_0x40ada5['charAt'](_0x5c01d3++);~_0x57f186&&(_0x2aed2d=_0x4eebdc%(0xbfa+-0x1db7*-0x1+0x2f*-0xe3)?_0x2aed2d*(-0x12b2*0x1+-0x1aa4+0x3*0xf32)+_0x57f186:_0x57f186,_0x4eebdc++%(0x212*-0x12+0xf*-0x139+0x379f))?_0x168f4a+=String['fromCharCode'](-0x1a*-0x19+-0x1d46+0x1f*0xe5&_0x2aed2d>>(-(-0x4e9+0x5e*0x5f+-0x9fd*0x3)*_0x4eebdc&-0x491+0x1*-0x1e52+0x22e9)):0x1*0x1542+0x69*-0x49+0x8af){_0x57f186=_0x333a2f['indexOf'](_0x57f186);}for(let _0x7b8871=-0x4*-0x3b3+0xc86+-0x1b52,_0x1f56ef=_0x168f4a['length'];_0x7b8871<_0x1f56ef;_0x7b8871++){_0xe9e45c+='%'+('00'+_0x168f4a['charCodeAt'](_0x7b8871)['toString'](0x4d*0x31+0xc5e*0x1+0x17*-0x12d))['slice'](-(0x20f*0x7+0x26c9+-0x17*0x250));}return decodeURIComponent(_0xe9e45c);};_0x34fb['fbSIxZ']=_0x3f0031,_0x34fb['RqTbyp']={},_0x34fb['LeOFFJ']=!![];}const _0x3cc7cb=_0x21edbb[-0x266f+-0x2b3*0x3+0x2e88],_0x551bb5=_0x407652+_0x3cc7cb,_0x21ba72=_0x34fb['RqTbyp'][_0x551bb5];return!_0x21ba72?(_0x39eb97=_0x34fb['fbSIxZ'](_0x39eb97),_0x34fb['RqTbyp'][_0x551bb5]=_0x39eb97):_0x39eb97=_0x21ba72,_0x39eb97;}export function findJudgeTasksForGroup(_0x253d54,_0x1c9a75){const _0x30867b={_0x4e654e:0x19e,_0x269f19:0x1c4,_0x5a6dd8:0x1aa,_0x417187:0x196,_0x5d6a0a:0x1c7,_0x564f39:0x1b4,_0x1f6db7:0x13d,_0x34ce43:0x11b,_0x29be56:0x161,_0x46d226:0x199,_0x2880a2:0x12c,_0x566c82:0x136,_0x18a6e4:0x130,_0x22ba74:0x138,_0xf9d009:0x137,_0x408ae6:0x173,_0x4adb8b:0x179,_0x4ba6c4:0x180,_0x5085ba:0x1a2,_0x816f5:0x1a7,_0x19f893:0x139,_0x53375e:0x152,_0x331ad0:0x11c,_0x2dd320:0x13c,_0x59e8c9:0x117,_0x4d7f01:0x150,_0x2a9588:0x180,_0x120a28:0x15b,_0x204529:0x146,_0x11b0ed:0x176,_0x35c905:0x177},_0x14afeb={_0x11116f:0x92},_0x53ae88={_0x1b8978:0x36b};function _0x4c9b7c(_0x113040,_0x4272d3,_0x248b8b,_0x21c265){return _0x34fb(_0x21c265- -_0x53ae88._0x1b8978,_0x4272d3);}function _0x6a33f2(_0x531eab,_0x54fd2a,_0x2f06a1,_0x2e1907){return _0x34fb(_0x531eab- -_0x14afeb._0x11116f,_0x54fd2a);}const _0x1a0d6d={'DMdew':function(_0x33d07a,_0x5c2336){return _0x33d07a(_0x5c2336);},'OgLNI':function(_0x411377,_0x59be07){return _0x411377===_0x59be07;},'BIWeq':_0x4c9b7c(-0x1c3,-_0x30867b._0x4e654e,-_0x30867b._0x269f19,-_0x30867b._0x5a6dd8),'LKYPq':function(_0x1fcd1c,_0x522ba7){return _0x1fcd1c===_0x522ba7;},'wQaRp':function(_0x67a47e,_0x58c2f8){return _0x67a47e===_0x58c2f8;},'ztecy':'LWqhH'},_0x45763b=new Set();if(!_0x1c9a75)return _0x45763b;for(const [_0x121ea5,_0x172d8e]of _0x253d54[_0x4c9b7c(-_0x30867b._0x417187,-0x1d1,-_0x30867b._0x5d6a0a,-_0x30867b._0x564f39)]()){if(!_0x172d8e)continue;const _0x3757c0=_0x1a0d6d[_0x6a33f2(0x12d,_0x30867b._0x1f6db7,_0x30867b._0x34ce43,0x11c)](_0x172d8e['taskType'],_0x1a0d6d[_0x6a33f2(0x153,_0x30867b._0x29be56,0x13a,0x152)])||_0x1a0d6d[_0x4c9b7c(-0x1a1,-0x1c0,-0x1bf,-0x1a9)](_0x172d8e[_0x4c9b7c(-0x16e,-0x194,-_0x30867b._0x46d226,-0x184)+'k'],!![]);if(!_0x3757c0)continue;const _0x2b8e0a=_0x172d8e[_0x6a33f2(_0x30867b._0x2880a2,0x136,0x110,0x11f)]||_0x172d8e[_0x6a33f2(0x149,0x160,_0x30867b._0x566c82,0x152)+'oupId'];_0x1a0d6d[_0x6a33f2(_0x30867b._0x18a6e4,_0x30867b._0x22ba74,0x138,_0x30867b._0xf9d009)](_0x2b8e0a,_0x1c9a75)&&(_0x1a0d6d[_0x4c9b7c(-0x16e,-_0x30867b._0x408ae6,-_0x30867b._0x4adb8b,-_0x30867b._0x4ba6c4)](_0x1a0d6d['ztecy'],_0x1a0d6d[_0x4c9b7c(-0x1be,-_0x30867b._0x5085ba,-0x1b2,-_0x30867b._0x816f5)])?_0x45763b[_0x6a33f2(_0x30867b._0x19f893,0x139,_0x30867b._0x53375e,_0x30867b._0x331ad0)](_0x121ea5):(_0x46f62e[_0x6a33f2(0x12b,0x134,_0x30867b._0x2dd320,_0x30867b._0x59e8c9)](_0x1e3546),_0x54981b[_0x6a33f2(0x139,_0x30867b._0x19f893,0x13c,_0x30867b._0x4d7f01)](_0x3e64fd),_0x160d03['parentObje'+_0x4c9b7c(-0x199,-0x1a5,-_0x30867b._0x2a9588,-0x18d)]&&_0x1a0d6d[_0x6a33f2(_0x30867b._0x4d7f01,0x14f,0x167,0x150)](_0x4a6710,_0x446f16[_0x6a33f2(_0x30867b._0x120a28,_0x30867b._0x204529,0x15d,_0x30867b._0x11b0ed)+_0x4c9b7c(-_0x30867b._0x35c905,-_0x30867b._0x417187,-0x186,-0x18d)])));}return _0x45763b;}export function findOrphanedAncestorObjectives(_0x59acaf,_0x29a28d){const _0x6f8b4e={_0x6457d:0x173,_0x23a245:0x188,_0x1e8b8b:0x178,_0x4039ec:0x1a3,_0x378297:0x1a1,_0x1f4455:0x1a4,_0xb0f902:0x435,_0x5605ef:0x177,_0x39ad35:0x188,_0xb99c4d:0x187,_0x5309f6:0x170,_0x235313:0x17f,_0x558e39:0x170,_0x2baa5e:0x189,_0x524b32:0x459,_0x390804:0x190,_0x3dd0df:0x466,_0x7a877c:0x462,_0x6cd255:0x41c,_0x1aaf39:0x436,_0x19a8a5:0x46a,_0x2ec730:0x44b,_0x3b5fdc:0x439,_0x2d5f89:0x199,_0x7eb6f6:0x194,_0x537fee:0x176,_0x18aee9:0x45e,_0x4201b6:0x196,_0x1c027b:0x43f,_0xae1639:0x426,_0x19b1d0:0x419,_0x39053d:0x433,_0x5dbb98:0x455,_0x45ae64:0x43d,_0x2e7157:0x19e,_0x4c3ee0:0x1b6,_0xf68a4a:0x1a7,_0x1facd2:0x17d,_0x118389:0x18a,_0xc4344:0x448,_0xd77073:0x462,_0x4247f1:0x425,_0x4129c9:0x168},_0x44464a={_0x3d04b0:0xef,_0x203ae4:0xd9,_0x2cc1a6:0x1,_0x58215f:0xd,_0x1b523d:0xc8,_0x4cc958:0x1c,_0x1dc427:0x10,_0x55b864:0xda,_0xd080a1:0xdc,_0x56322f:0xd7,_0x356339:0xf0,_0x4205e3:0xd4,_0x596e99:0xba,_0x26c1a0:0x23,_0x532183:0x31,_0x4106a9:0x2d,_0x2475a9:0x1c,_0x1241d1:0x1f,_0x586ad6:0x1c,_0x1dd6df:0x2a,_0x2211b4:0x10,_0x1537fd:0x20,_0x2bc32a:0xb5,_0xf4becd:0xc3,_0x5da99c:0x6,_0x37d0e6:0x16,_0x4d4f4f:0xe,_0x48a518:0x4,_0x5eed9f:0x2,_0x49775e:0xc1,_0xaa799c:0xb2,_0x238ec6:0xd0,_0x485254:0xe8,_0x3ca93f:0x14,_0x485f46:0x23,_0x2e0001:0x13,_0x3abfe4:0x2b,_0x14f94b:0x34,_0x3cd25b:0x12,_0x2a242f:0x5,_0x37d72d:0x7,_0x5bcfe7:0x13,_0x3c7df7:0x4,_0x4cb784:0xa4,_0x5cf3bb:0x98,_0x44c5ab:0xb2,_0x1c2dc7:0x20,_0x3a2341:0x9,_0x5a7192:0xdf,_0x10d5f8:0xd4,_0x569268:0xdc,_0x406473:0xaa,_0x1fd8b1:0xcf,_0x236d97:0xb,_0x3d48f1:0xa,_0x592af1:0x1d,_0x35a60e:0xeb,_0x52881d:0xcb,_0x29ddcd:0xd6,_0x50a975:0xd4,_0x55bd8d:0xc8,_0x110444:0xd8,_0x42a87d:0xb4,_0x4e1949:0x3d,_0x2f13a8:0x21,_0x281e6a:0x6,_0x53dde1:0xb5,_0x1c1b41:0xc6},_0x5c5971={_0x2f9164:0xf2},_0x308ea2={_0x5e3472:0x26d},_0x164e1b={'bOYYJ':function(_0x3d90e0,_0xca1ef9){return _0x3d90e0===_0xca1ef9;},'QTCIa':_0x1d2ecd(-_0x6f8b4e._0x6457d,-_0x6f8b4e._0x23a245,-0x173,-_0x6f8b4e._0x1e8b8b),'sCsYE':function(_0x37269f,_0x3e7173){return _0x37269f(_0x3e7173);},'nelqD':_0x1d2ecd(-_0x6f8b4e._0x4039ec,-0x1ad,-_0x6f8b4e._0x378297,-_0x6f8b4e._0x1f4455),'DtuzU':function(_0x54e121,_0x14fc44){return _0x54e121!==_0x14fc44;},'MdcOA':_0x5f5d20(0x44e,0x445,_0x6f8b4e._0xb0f902,0x456),'fzopX':function(_0x416737,_0x2a876a){return _0x416737===_0x2a876a;},'hfMsx':'UyNxV','jIVgo':_0x1d2ecd(-_0x6f8b4e._0x5605ef,-_0x6f8b4e._0x39ad35,-_0x6f8b4e._0xb99c4d,-0x1a5)},_0x4d7916=new Set(_0x29a28d),_0xed68bd=[],_0x28653e=new Set(),_0x272613=new Set();function _0x5f5d20(_0x1aeb79,_0x23b913,_0x4977e6,_0x43f754){return _0x34fb(_0x1aeb79-_0x308ea2._0x5e3472,_0x4977e6);}for(const _0x113307 of _0x29a28d){if(_0x164e1b[_0x1d2ecd(-_0x6f8b4e._0x5309f6,-0x165,-_0x6f8b4e._0x235313,-_0x6f8b4e._0x558e39)](_0x164e1b[_0x1d2ecd(-_0x6f8b4e._0x2baa5e,-0x15b,-0x16e,-0x189)],_0x5f5d20(_0x6f8b4e._0x524b32,0x454,0x45d,0x451))){const _0x5d2dbc=_0x59acaf[_0x1d2ecd(-0x1a6,-0x179,-_0x6f8b4e._0x390804,-0x19d)](_0x113307);_0x5d2dbc?.[_0x5f5d20(0x44c,0x451,_0x6f8b4e._0x524b32,_0x6f8b4e._0x3dd0df)+_0x5f5d20(0x44b,0x456,_0x6f8b4e._0x7a877c,0x45d)]&&_0x272613[_0x5f5d20(0x438,0x437,_0x6f8b4e._0x6cd255,_0x6f8b4e._0x1aaf39)](_0x5d2dbc[_0x5f5d20(0x44c,_0x6f8b4e._0x19a8a5,_0x6f8b4e._0x2ec730,_0x6f8b4e._0x3b5fdc)+_0x1d2ecd(-_0x6f8b4e._0x2d5f89,-_0x6f8b4e._0x7eb6f6,-0x17e,-_0x6f8b4e._0x537fee)]);}else for(const [_0x80fa69,_0x4e4a75]of _0x45ca77['entries']()){_0x4e4a75?.['parentObje'+_0x5f5d20(_0x6f8b4e._0x2ec730,_0x6f8b4e._0x18aee9,0x42e,0x45c)]===_0x234030&&_0x164e1b[_0x1d2ecd(-0x1a3,-0x1aa,-_0x6f8b4e._0x4201b6,-0x1b0)](_0x4e4a75?.[_0x5f5d20(_0x6f8b4e._0x1c027b,0x43e,0x441,0x442)],_0x164e1b[_0x5f5d20(_0x6f8b4e._0xae1639,_0x6f8b4e._0xae1639,_0x6f8b4e._0x19b1d0,_0x6f8b4e._0x39053d)])&&(_0x32c98f[_0x5f5d20(0x438,_0x6f8b4e._0x5dbb98,0x438,_0x6f8b4e._0x45ae64)](_0x80fa69),_0x164e1b['sCsYE'](_0xbf629f,_0x80fa69));if(_0x164e1b[_0x5f5d20(0x433,0x44b,_0x6f8b4e._0x6cd255,0x419)](_0x4e4a75?.['sourceObje'+_0x5f5d20(0x44b,0x45c,0x43e,0x42f)],_0x510395)){_0x3575b0['add'](_0x80fa69);if(_0x4e4a75[_0x1d2ecd(-0x19e,-0x18d,-_0x6f8b4e._0x2e7157,-_0x6f8b4e._0x4c3ee0)])_0x16597e[_0x5f5d20(0x438,0x430,0x439,0x41b)](_0x4e4a75[_0x1d2ecd(-0x1a4,-0x18d,-_0x6f8b4e._0x2e7157,-0x1b7)]);if(_0x4e4a75['originalGr'+_0x1d2ecd(-_0x6f8b4e._0xf68a4a,-0x18d,-0x1a4,-0x1a6)])_0x34bb86[_0x1d2ecd(-_0x6f8b4e._0x1facd2,-0x191,-0x191,-_0x6f8b4e._0x118389)](_0x4e4a75[_0x5f5d20(_0x6f8b4e._0xc4344,0x464,_0x6f8b4e._0xd77073,_0x6f8b4e._0xb0f902)+_0x5f5d20(_0x6f8b4e._0x4247f1,_0x6f8b4e._0x1c027b,0x426,0x408)]);}}}const _0x482875=_0x1084f3=>{const _0x594a73={_0x9fff01:0xef,_0x295e62:0x38},_0x343739={'hCZMI':function(_0x51719d,_0x39301f){return _0x51719d(_0x39301f);}};function _0x2d42cc(_0x53e06c,_0x42dec5,_0x261d1f,_0x2a5917){return _0x5f5d20(_0x261d1f- -0x429,_0x42dec5-_0x594a73._0x9fff01,_0x53e06c,_0x2a5917-_0x594a73._0x295e62);}function _0xb06a52(_0x28aef2,_0x5408b6,_0x543188,_0x3a7dea){return _0x5f5d20(_0x543188- -0x50c,_0x5408b6-0x83,_0x3a7dea,_0x3a7dea-_0x5c5971._0x2f9164);}if(_0x164e1b[_0xb06a52(-_0x44464a._0x3d04b0,-0xf4,-_0x44464a._0x203ae4,-0xd7)](_0x2d42cc(-_0x44464a._0x2cc1a6,0x1e,_0x44464a._0x58215f,0x1),_0x164e1b[_0xb06a52(-0xdc,-0xbc,-_0x44464a._0x1b523d,-0xe1)])){const _0x44cd81=_0x3fb613[_0x2d42cc(-0xc,_0x44464a._0x4cc958,_0x44464a._0x1dc427,0x2b)](_0xd43437);_0x44cd81?.[_0xb06a52(-_0x44464a._0x55b864,-_0x44464a._0xd080a1,-0xc0,-_0x44464a._0x56322f)+'ctiveId']&&_0x1a5b58[_0xb06a52(-0xe8,-_0x44464a._0x356339,-_0x44464a._0x4205e3,-_0x44464a._0x596e99)](_0x44cd81[_0x2d42cc(0xb,0xe,_0x44464a._0x26c1a0,_0x44464a._0x532183)+_0x2d42cc(0x1c,0x12,0x22,_0x44464a._0x4106a9)]);}else{if(_0x28653e[_0x2d42cc(_0x44464a._0x2475a9,_0x44464a._0x1241d1,0x1d,_0x44464a._0x586ad6)](_0x1084f3))return;_0x28653e['add'](_0x1084f3);const _0x99513b=_0x59acaf[_0x2d42cc(_0x44464a._0x1dd6df,0x26,_0x44464a._0x2211b4,_0x44464a._0x1537fd)](_0x1084f3);if(!_0x99513b||_0x164e1b[_0xb06a52(-0xbd,-_0x44464a._0x2bc32a,-0xc2,-_0x44464a._0xf4becd)](_0x99513b[_0x2d42cc(_0x44464a._0x5da99c,0x21,_0x44464a._0x37d0e6,0xe)],'objective')||!_0x99513b[_0x2d42cc(_0x44464a._0x4d4f4f,_0x44464a._0x48a518,_0x44464a._0x4cc958,_0x44464a._0x5eed9f)]){if(_0x164e1b['DtuzU']('aQNcg',_0x164e1b[_0xb06a52(-0xed,-0xe6,-0xd7,-0xca)]))return;else _0x43b635['add'](_0x56a201[_0xb06a52(-0xa9,-0xdc,-0xc0,-0xa7)+_0xb06a52(-_0x44464a._0x49775e,-_0x44464a._0xaa799c,-_0x44464a._0x49775e,-_0x44464a._0x2bc32a)]);}let _0x12350d=![];for(const [_0x477980,_0x584c5e]of _0x59acaf['entries']()){if(_0x164e1b[_0xb06a52(-_0x44464a._0x238ec6,-0xeb,-0xd0,-_0x44464a._0x485254)](_0x584c5e?.[_0x2d42cc(0x1c,_0x44464a._0x3ca93f,_0x44464a._0x485f46,_0x44464a._0x2e0001)+_0x2d42cc(0x25,_0x44464a._0x3abfe4,0x22,_0x44464a._0x14f94b)],_0x1084f3)&&_0x584c5e['isPinned']&&!_0x4d7916[_0xb06a52(-0xd7,-0xca,-0xc6,-0xb6)](_0x477980)){_0x12350d=!![];break;}}let _0x21029c=![];for(const [_0x48cb94,_0x35cd67]of _0x59acaf[_0x2d42cc(-0x1e,-_0x44464a._0x3cd25b,-_0x44464a._0x2a242f,-_0x44464a._0x37d72d)]()){if(_0x164e1b[_0x2d42cc(0x16,-0x5,_0x44464a._0x5bcfe7,_0x44464a._0x3c7df7)](_0x35cd67?.[_0xb06a52(-_0x44464a._0x4cb784,-_0x44464a._0x5cf3bb,-_0x44464a._0x44c5ab,-0xcb)+_0x2d42cc(_0x44464a._0x1c2dc7,0x31,0x22,0xe)],_0x1084f3)&&_0x164e1b[_0x2d42cc(0x13,_0x44464a._0x5da99c,_0x44464a._0x5bcfe7,0xc)](_0x35cd67[_0x2d42cc(0x2d,0x18,0x16,_0x44464a._0x3a2341)],_0x164e1b[_0xb06a52(-_0x44464a._0x5a7192,-0xe9,-0xe6,-_0x44464a._0x10d5f8)])&&_0x35cd67[_0xb06a52(-_0x44464a._0x569268,-_0x44464a._0x406473,-0xc7,-_0x44464a._0x1fd8b1)]&&!_0x4d7916[_0x2d42cc(_0x44464a._0x236d97,_0x44464a._0x3d48f1,_0x44464a._0x592af1,_0x44464a._0x58215f)](_0x48cb94)){_0x21029c=!![];break;}}!_0x12350d&&!_0x21029c&&(_0xed68bd[_0xb06a52(-0xff,-_0x44464a._0x35a60e,-0xe2,-_0x44464a._0x52881d)](_0x1084f3),_0x4d7916[_0xb06a52(-0xbd,-_0x44464a._0x29ddcd,-_0x44464a._0x50a975,-0xd6)](_0x1084f3),_0x99513b[_0xb06a52(-0xa2,-_0x44464a._0x55bd8d,-0xb2,-0xb0)+_0xb06a52(-_0x44464a._0x10d5f8,-0xdf,-0xc1,-0xdc)]&&(_0x164e1b['DtuzU'](_0x164e1b[_0xb06a52(-_0x44464a._0x110444,-0xe9,-0xcf,-_0x44464a._0x10d5f8)],'pQCtC')?_0x164e1b[_0x2d42cc(0x13,0x1e,0x2c,0x1c)](_0x482875,_0x99513b[_0xb06a52(-_0x44464a._0x42a87d,-0xa3,-0xb2,-0xcc)+_0x2d42cc(_0x44464a._0x4e1949,_0x44464a._0x2f13a8,0x22,_0x44464a._0x281e6a)]):_0x343739[_0xb06a52(-0xa2,-0xa3,-_0x44464a._0x53dde1,-_0x44464a._0x1c1b41)](_0x7936b4,_0x13b5e3)));}};for(const _0xc00e7a of _0x272613){_0x164e1b[_0x1d2ecd(-0x16b,-0x163,-0x174,-_0x6f8b4e._0x4129c9)](_0x482875,_0xc00e7a);}function _0x1d2ecd(_0x1d2518,_0x1e1f6e,_0x151ac0,_0x4369a9){return _0x34fb(_0x151ac0- -0x35c,_0x1e1f6e);}return _0xed68bd;}