@profoundlogic/coderflow-server 0.8.4 → 0.8.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. package/dist/coder-server.js +1 -1
  2. package/dist/config.js +1 -1
  3. package/dist/lib/agent-keepalive.js +1 -1
  4. package/dist/lib/agent-models.js +1 -1
  5. package/dist/lib/api-keys.js +1 -1
  6. package/dist/lib/apiKeys.js +1 -1
  7. package/dist/lib/app-server-ports.js +1 -1
  8. package/dist/lib/auto-judge.js +1 -1
  9. package/dist/lib/automation-service.js +1 -1
  10. package/dist/lib/basic-auth.js +1 -1
  11. package/dist/lib/bindings.js +1 -1
  12. package/dist/lib/build-history.js +1 -1
  13. package/dist/lib/build-output-service.js +1 -1
  14. package/dist/lib/build-scheduler.js +1 -1
  15. package/dist/lib/build-service.js +1 -1
  16. package/dist/lib/ca-certificates.js +1 -1
  17. package/dist/lib/claude-oauth-refresh.js +1 -1
  18. package/dist/lib/cli/build.js +1 -1
  19. package/dist/lib/cli/cleanup-users.js +1 -1
  20. package/dist/lib/cli/config-command.js +1 -1
  21. package/dist/lib/cli/config.js +1 -1
  22. package/dist/lib/cli/create-user.js +1 -1
  23. package/dist/lib/cli/grant-admin.js +1 -1
  24. package/dist/lib/cli/init.js +1 -1
  25. package/dist/lib/cli/jira.js +1 -1
  26. package/dist/lib/cli/license.js +1 -1
  27. package/dist/lib/cli/list-roles.js +1 -1
  28. package/dist/lib/cli/list-users.js +1 -1
  29. package/dist/lib/cli/server-manager.js +1 -1
  30. package/dist/lib/cli/set-password.js +1 -1
  31. package/dist/lib/compression-filter.js +1 -1
  32. package/dist/lib/config-migration.js +1 -1
  33. package/dist/lib/container-credential-sync.js +1 -1
  34. package/dist/lib/container-tokens.js +1 -1
  35. package/dist/lib/data-dir.js +1 -1
  36. package/dist/lib/deployment-history.js +1 -1
  37. package/dist/lib/deployment-service.js +1 -1
  38. package/dist/lib/docker-utils.js +1 -1
  39. package/dist/lib/email.js +1 -1
  40. package/dist/lib/emailTemplates.js +1 -1
  41. package/dist/lib/entitlement.js +1 -1
  42. package/dist/lib/external-connections.js +1 -1
  43. package/dist/lib/fetch-utils.js +1 -1
  44. package/dist/lib/git-commit-details-route.js +1 -1
  45. package/dist/lib/git-history-diff-guardrails.js +1 -1
  46. package/dist/lib/git-provider-service.js +1 -1
  47. package/dist/lib/git-provider-setup/github-setup-handler.js +1 -1
  48. package/dist/lib/git-provider-setup/index.js +1 -1
  49. package/dist/lib/git-provider-setup/setup-factory.js +1 -1
  50. package/dist/lib/git-provider-setup/setup-interface.js +1 -1
  51. package/dist/lib/git-providers/azure-devops-provider.js +1 -1
  52. package/dist/lib/git-providers/github-app-provider.js +1 -1
  53. package/dist/lib/git-providers/index.js +1 -1
  54. package/dist/lib/git-providers/provider-factory.js +1 -1
  55. package/dist/lib/git-providers/provider-interface.js +1 -1
  56. package/dist/lib/github-urls.js +1 -1
  57. package/dist/lib/group-objective-linking.js +1 -1
  58. package/dist/lib/ibmi-sync.js +1 -1
  59. package/dist/lib/jira-client.js +1 -1
  60. package/dist/lib/judge-blinding.js +1 -1
  61. package/dist/lib/logger.js +1 -1
  62. package/dist/lib/memory-utils.js +1 -1
  63. package/dist/lib/migration-to-scoped-rbac.js +1 -1
  64. package/dist/lib/model-fetcher.js +1 -1
  65. package/dist/lib/notifications.js +1 -1
  66. package/dist/lib/objective-context.js +1 -1
  67. package/dist/lib/oidc-auth.js +1 -1
  68. package/dist/lib/oidc-device-flow.js +1 -1
  69. package/dist/lib/passwordTokens.js +1 -1
  70. package/dist/lib/permission-resolver.js +1 -1
  71. package/dist/lib/pin-cascade.js +1 -1
  72. package/dist/lib/provider-accounts.js +1 -1
  73. package/dist/lib/provider-oauth.js +1 -1
  74. package/dist/lib/provider-profile.js +1 -1
  75. package/dist/lib/provider-token-refresh.js +1 -1
  76. package/dist/lib/rbac-user-state.js +1 -1
  77. package/dist/lib/request-url.js +1 -1
  78. package/dist/lib/rewind.js +1 -1
  79. package/dist/lib/role-definitions.js +1 -1
  80. package/dist/lib/roles.js +1 -1
  81. package/dist/lib/secrets.js +1 -1
  82. package/dist/lib/setup-repo-git-auth.js +1 -1
  83. package/dist/lib/state-capture.js +1 -1
  84. package/dist/lib/static-files.js +1 -1
  85. package/dist/lib/task-aliases.js +1 -1
  86. package/dist/lib/task-container-init.js +1 -1
  87. package/dist/lib/task-context-usage.js +1 -1
  88. package/dist/lib/task-name-format.js +1 -1
  89. package/dist/lib/task-name-generator.js +1 -1
  90. package/dist/lib/task-source-metadata.js +1 -1
  91. package/dist/lib/teams.js +1 -1
  92. package/dist/lib/user-git-oauth.js +1 -1
  93. package/dist/lib/user-git-tokens.js +1 -1
  94. package/dist/lib/users.js +1 -1
  95. package/dist/middleware/requireAuth.js +1 -1
  96. package/dist/middleware/requireInit.js +1 -1
  97. package/dist/middleware/requirePermission.js +1 -1
  98. package/dist/package.json +1 -1
  99. package/dist/playwright.config.js +1 -1
  100. package/dist/playwright.task-terminal.config.js +1 -1
  101. package/dist/routes/apiKeys.js +1 -1
  102. package/dist/routes/auth-oidc.js +1 -1
  103. package/dist/routes/auth.js +1 -1
  104. package/dist/routes/automations.js +1 -1
  105. package/dist/routes/bindings.js +1 -1
  106. package/dist/routes/build.js +1 -1
  107. package/dist/routes/containers.js +1 -1
  108. package/dist/routes/deploy-task.js +1 -1
  109. package/dist/routes/environment-management.js +1 -1
  110. package/dist/routes/environments.js +1 -1
  111. package/dist/routes/external-skills.js +1 -1
  112. package/dist/routes/git-credentials.js +1 -1
  113. package/dist/routes/git-oauth.js +1 -1
  114. package/dist/routes/git-provider-setup.js +1 -1
  115. package/dist/routes/health.js +1 -1
  116. package/dist/routes/jira.js +1 -1
  117. package/dist/routes/logs.js +1 -1
  118. package/dist/routes/objective-management.js +1 -1
  119. package/dist/routes/password.js +1 -1
  120. package/dist/routes/prompt.js +1 -1
  121. package/dist/routes/provider-auth.js +1 -1
  122. package/dist/routes/qa.js +1 -1
  123. package/dist/routes/roles.js +1 -1
  124. package/dist/routes/settings.js +1 -1
  125. package/dist/routes/skill-management.js +1 -1
  126. package/dist/routes/skills.js +1 -1
  127. package/dist/routes/stats.js +1 -1
  128. package/dist/routes/tasks.js +1 -1
  129. package/dist/routes/teams.js +1 -1
  130. package/dist/routes/templates.js +1 -1
  131. package/dist/routes/test-task.js +1 -1
  132. package/dist/routes/test.js +1 -1
  133. package/dist/routes/users.js +1 -1
  134. package/dist/routes/visualizations.js +1 -1
  135. package/dist/scripts/create-user.js +1 -1
  136. package/dist/scripts/migrate-config-to-data-dir.js +1 -1
  137. package/dist/start.js +1 -1
  138. package/dist/web-ui/public/activity-detail-modal.js +1 -1
  139. package/dist/web-ui/public/activity-feed.js +1 -1
  140. package/dist/web-ui/public/activity-formatters.js +1 -1
  141. package/dist/web-ui/public/admin.css +60 -0
  142. package/dist/web-ui/public/admin.html +6 -0
  143. package/dist/web-ui/public/admin.js +1 -1
  144. package/dist/web-ui/public/agent-event-parser.js +1 -1
  145. package/dist/web-ui/public/app.js +1 -1
  146. package/dist/web-ui/public/approve-dialog.js +1 -1
  147. package/dist/web-ui/public/automation-links.js +1 -1
  148. package/dist/web-ui/public/automation-schedule.js +1 -1
  149. package/dist/web-ui/public/comments-widget.js +1 -1
  150. package/dist/web-ui/public/diff-utils.js +1 -1
  151. package/dist/web-ui/public/environments.js +1 -1
  152. package/dist/web-ui/public/feedback-widget.js +1 -1
  153. package/dist/web-ui/public/file-selection-tree.js +1 -1
  154. package/dist/web-ui/public/git-history-lazy-utils.js +1 -1
  155. package/dist/web-ui/public/git-history.js +1 -1
  156. package/dist/web-ui/public/git-status.js +1 -1
  157. package/dist/web-ui/public/ibmi-file-filter.js +1 -1
  158. package/dist/web-ui/public/index.js +1 -1
  159. package/dist/web-ui/public/login.js +1 -1
  160. package/dist/web-ui/public/markdown-editor.js +1 -1
  161. package/dist/web-ui/public/markdown-file-editor.js +1 -1
  162. package/dist/web-ui/public/modal-maximize.js +1 -1
  163. package/dist/web-ui/public/notifications.js +1 -1
  164. package/dist/web-ui/public/permissions.js +1 -1
  165. package/dist/web-ui/public/pr-dialog.js +1 -1
  166. package/dist/web-ui/public/roles.js +1 -1
  167. package/dist/web-ui/public/settings.js +1 -1
  168. package/dist/web-ui/public/setup-password.js +1 -1
  169. package/dist/web-ui/public/skills.js +1 -1
  170. package/dist/web-ui/public/sse-client.js +1 -1
  171. package/dist/web-ui/public/sse-shared-worker.js +1 -1
  172. package/dist/web-ui/public/task-judging-helpers.js +1 -1
  173. package/dist/web-ui/public/task.js +1 -1
  174. package/dist/web-ui/public/teams.js +1 -1
  175. package/dist/web-ui/public/terminal.js +1 -1
  176. package/dist/web-ui/public/theme.js +1 -1
  177. package/dist/web-ui/public/users.js +1 -1
  178. package/dist/web-ui/public/variant-grouping.js +1 -1
  179. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x571f18,_0x5e20d8){const _0x598a3f={_0x45a013:0x3ac,_0x3a2037:0x31e,_0x382537:0x360,_0x28eeaf:0x2d5,_0x15611e:0x1cc,_0x33afb9:0x319,_0x1cfa67:0x397,_0x20a8e8:0x2c8,_0x76b084:0x33a,_0x97ff40:0x3d0,_0x5ddab5:0x3bf,_0x2c9bd0:0x395,_0x1c99ee:0x369,_0x5ddf29:0x274,_0x255267:0x24d,_0x5e3dab:0x223,_0xc16cdb:0x2ca,_0x5f17ae:0x2f3,_0x38e24a:0x2f9,_0x4d793d:0x192};function _0xed9591(_0x109f86,_0x3642cf,_0x3954a3,_0x533ae5){return _0x274e(_0x533ae5- -0x2e8,_0x109f86);}function _0x232fb6(_0x409b2d,_0x48f0d3,_0x55d76d,_0x295f6b){return _0x274e(_0x295f6b-0x1dd,_0x55d76d);}const _0x494365=_0x571f18();while(!![]){try{const _0x362a99=parseInt(_0x232fb6(0x21c,0x264,0x2c5,0x275))/(0x1f89+0x8*0x3ec+-0x3ee8)+-parseInt(_0x232fb6(_0x598a3f._0x45a013,_0x598a3f._0x3a2037,0x32d,_0x598a3f._0x382537))/(-0x109d+0x1*0x305+0xd9a)*(parseInt(_0x232fb6(_0x598a3f._0x28eeaf,0x2ed,0x2cf,0x2a7))/(0x2*0x50f+-0x1*0x1a02+-0xfe7*-0x1))+-parseInt(_0xed9591(-_0x598a3f._0x15611e,-0x208,-0x15b,-0x1c1))/(0xb35+0x904*0x2+-0x1*0x1d39)+parseInt(_0x232fb6(_0x598a3f._0x33afb9,0x374,_0x598a3f._0x1cfa67,0x332))/(0xb86+0x2437+0xc*-0x3fa)+-parseInt(_0x232fb6(_0x598a3f._0x20a8e8,0x2d0,0x399,_0x598a3f._0x76b084))/(0x1cc5+-0x892+-0x142d)*(parseInt(_0x232fb6(_0x598a3f._0x97ff40,_0x598a3f._0x5ddab5,_0x598a3f._0x2c9bd0,_0x598a3f._0x1c99ee))/(0x6c5*-0x1+0x471+-0x1*-0x25b))+parseInt(_0xed9591(-_0x598a3f._0x5ddf29,-_0x598a3f._0x255267,-0x25d,-_0x598a3f._0x5e3dab))/(0xaba+-0x1fa5+0xad*0x1f)*(-parseInt(_0x232fb6(0x29e,_0x598a3f._0xc16cdb,_0x598a3f._0x5f17ae,_0x598a3f._0x38e24a))/(-0xf*0xc7+0xe69+-0x2b7))+parseInt(_0xed9591(-_0x598a3f._0x4d793d,-0x1f5,-0x129,-0x185))/(0x2707+-0x2*-0x24a+-0x24b*0x13)*(parseInt(_0x232fb6(0x39f,0x3b4,0x2fd,0x366))/(0x349*0x8+-0x226+-0x371*0x7));if(_0x362a99===_0x5e20d8)break;else _0x494365['push'](_0x494365['shift']());}catch(_0x1cf388){_0x494365['push'](_0x494365['shift']());}}}(_0x377f,-0x623ca+-0x3fbf4+0x1fc*0x832));import _0x8d017f from'express';import{logger}from'../lib/logger.js';import{getBindings,getBindingById,getBindingsBySubject,createBinding,updateBinding,deleteBinding}from'../lib/bindings.js';import{getRoleById,isPermissionSubsetOf,inferRoleResourceType}from'../lib/role-definitions.js';import{getTeamById,getTeamsByUserId}from'../lib/teams.js';import{findUserById}from'../lib/users.js';import{hasPermission,hasAllPermissions,resolveUserPermissions,wouldRetainServerAdmin}from'../lib/permission-resolver.js';const router=_0x8d017f[_0xa5eed2(0x380,0x317,0x3b9,0x35a)]();function _0x5df085(_0x32f46b,_0x34f018,_0xe62608,_0x2ee221){return _0x274e(_0xe62608- -0x2cd,_0x2ee221);}function _0xa5eed2(_0x38665e,_0x33fc7c,_0x2933c5,_0x2a1190){return _0x274e(_0x2a1190-0x2aa,_0x38665e);}let _environmentExists=null;export function setEnvironmentChecker(_0x197373){_environmentExists=_0x197373;}async function environmentExists(_0x3a968c){const _0x45be54={_0x3c7084:0x1b8,_0x551b2c:0x14d,_0x1b9d42:0x145,_0x5c1da3:0x124,_0x19bd37:0x119,_0x380d16:0x16d,_0xcd6a19:0xec,_0x5eea44:0x16a},_0x388bf8={_0x114f65:0x50},_0x64e9e7={_0xc84ea7:0x12a,_0x2fa1f0:0x258},_0x5dcb24={'Qdhlp':function(_0x28faf1,_0x457a7c){return _0x28faf1(_0x457a7c);},'QWuwA':_0x5a7eb9(0x1c6,_0x45be54._0x3c7084,_0x45be54._0x551b2c,0x1a2)+'s','Kwveg':function(_0x469db6,_0x4417c1){return _0x469db6!==_0x4417c1;}};if(_environmentExists)return _0x5dcb24['Qdhlp'](_environmentExists,_0x3a968c);function _0x5a7eb9(_0x2395f7,_0x30d20d,_0x33591e,_0x4772e6){return _0xa5eed2(_0x30d20d,_0x30d20d-0x150,_0x33591e-_0x64e9e7._0xc84ea7,_0x2395f7- -_0x64e9e7._0x2fa1f0);}function _0x3c57cb(_0x2d7659,_0x19b0ac,_0x53642c,_0x10b281){return _0xa5eed2(_0x2d7659,_0x19b0ac-_0x388bf8._0x114f65,_0x53642c-0x1c7,_0x10b281- -0x4e);}const {coderConfig:_0x2dfa07}=await import(_0x5dcb24[_0x5a7eb9(0x10d,_0x45be54._0x1b9d42,_0x45be54._0x5c1da3,0x11e)]);return _0x5dcb24[_0x5a7eb9(_0x45be54._0x19bd37,0x12f,_0x45be54._0x380d16,_0x45be54._0xcd6a19)](_0x2dfa07?.[_0x5a7eb9(_0x45be54._0x5eea44,0x151,0x1bf,0x1b0)+'ts']?.[_0x3a968c],undefined);}function _0x377f(){const _0x473732=['zxj2zxiI','vxnLCIaN','CNPgDLi','ywnJzxnZ','yM9KEq','jYbUB3qGzM91BG','CgLdv3q','DuLoz2O','icj1C2vYiG','ENnZs1C','nJe2mZjjuxryA3C','C2v0DgLUz3m6Bq','BgXlthi','vNfrAKC','CM9Szv9Pza','rwfbwMG','tePAA3q','r1v5sxa','Bgv0zwqGC3vJyW','uM9SzsaN','rfLtuem','zxnZzNvSBhK','BwfW','jYbJB250ywLUCW','DxnLCG','zfL6sgS','q3vszfO','CgfYyw1Z','BwLZC2LVBNm','ywXwtuC','yu5pre0','BMfTzq','ywXSB3DLza','vgHPCYbPCYb0Aa','vxzRrwO','jYbOyxmG','igjLigjVDw5Kia','ExbLig11C3qGyG','rxjYB3iGzgvSzq','v1jMwg8','rLbdzLG','zsbtzxj2zxiGqq','ExbL','rM9YyMLKzgvU','sw50zxjUywWGCW','uKXszuS','z05Hvfq','wfr6uLK','DcaN','A1Ddqvq','ue5Oyvq','Bgzxv1m','BMHgBNu','Chz1DNq','CNLgrLG','rxjYB3iGBgLZDa','mZeWnJeYnwf3rgfsuq','AgLW','B0TACeO','sfj4qNy','qwHgtuS','twD4ALy','BNmGEw91igrVia','DcbSzwfZDcbVBG','ndiXmJKZmg1OB09swG','z1blDuW','CM1PC3nPB25Zia','zxrLigjPBMrPBG','DwL1DfO','C3vIAMvJDf9Pza','oty0mJbfEg5cCum','rezYC2C','rxjYB3iGDxbKyq','vfnnwue','B0Xgu1i','BNbosw8','BfjQv00','AujoDu4','zxj2zxiGzxjYBW','Dg9ky0m','Df9PzcWGCM9Szq','DfDgu0e','BxPxwuO','CLrbB1i','ANnVBG','igHHDMuG','ywXS','lI4VC3rHCNqUAG','EuLmuvK','CfzLsvu','sxjbzMK','DgLUzYbIAw5KAq','yMLUzgLUzW','vNrHAxO','txL0twC','CxvLCNK','uxj4s0C','Aw5NigjPBMrPBG','q2fUBM90igfZCW','BwLZC2LUz1bLCG','BhjxDxK','ANjAAe4','nfv6y3rsta','AhPfyLO','BfDizK0','z2vFBwvTyMvYCW','DNHevMi','AM9PBG','mtmWouT2zLPNAa','te90z0m','sM90EK8','n1vvz0rtqq','zsbSyxn0ifnLCG','rLPRtLy','mtuXmJG5Cw9tC2fl','EuPHENe','CMvZB3vYy2vFDa','zwf0zwqGC3vJyW','zvPVBwi','zxjYB3i','CgLuv3q','Aw5otue','qMLUzgLUzYbUBW','z3nOtMG','suPuwKm','zMLSDgvY','wuntBeC','AMLhBfO','AgfZ','C2vYDMvY','z2v0','v1L5AgG','BgXiEge','v2rHrgm','D2TyvLO','tMDXCuK','sePtAgG','AePqsve','uM91DgvY','lZPPza','vgXbAgK','q29UzMXPy3q','BwHpEfi','vgHLihjVBguGjW','EhLsB1u','Dhm6BwfUywDLxW','zxb1rKC','DxnLCM5HBwu','u2T2CuK','uvD1D0e','we51tu8','CKLWBvi','zKXTzgq','DwLYzwq','icj0zwfTiIbVCG','DgvHBxm6BwfUyq','CguGBxvZDcbIzq','A3H1s0C','DMX2ANu','mte0ng5mENvdrq','Dfbkr2m','s3D2zwC','BxnQqve','EvjfCNG','nZm0mZK3t3n6shv1','CMvZB3vYy2vFAq','CMvZB3vYy2vFBG','tMLmEK8','BIbVBIb0AgLZia','BM90igHHDMu6ia','Aw5JBhvKzxm','svLIueu','BMHRCKu','BwvZC2fNzq','yw1L','Axn0CW','s0r1txq','sK90ENi','wvHzz1a','yw0IlcbVCIaICW','Cfjqq2W','BKfOu3i','tKP3tum','C3vIAMvJDf90Eq','ELzVqxe','qLPRzuG','shrRyxi','qMfKifjLCxvLCW','zv90ExbLicC','BLrqu00','B2D2Aei','CguGyxjLihjLCq','rxjYB3iGy3jLyq','lxnJB3bLzcbWzq','D0PoDgi','yMLUzgLUz3m','yw5KignHBM5VDa','sgX5twS','CKP3s0m','uwrnqKm','CwPMt1O','Dxb2tNG','AhDjCwO','zxnVDxjJzv90Eq','DM1cEwS','shHRrLq','EvrrEva','CMvZB3vYy2u','DgvHBq','qvvLqw4','vu1brLi','A0LjsfO','CgvYBwLZC2LVBG','ywXYzwfKEsbLEa','ChvZAa','tLf0uMC','rwLtvwW','zvLerMe','ww91igrVig5VDa','C3rHDhvZ','CguSihn1yMPLyW','DMvYiefKBwLUia','Eufpr0C','yxnsDeK','vgvHBsaN','EMrfCfu','BM5vweO','ihbLCM1PC3nPBW','ANvtDuK','t2rPC0S','EKT2zMu','z05IwgS','v1rsA1G','zfDXy1u','zvrHqK8','DcbMB3vUza','Dg8GCMvZB3vYyW','ihjLCxvPCMvK','CM9Szv9PzcbPCW','Awr3AuC','ugjXDvu','r25pEeG','zw52AxjVBM1LBG','Aurjy1i','Aurmuue','D01PA2m','mtK1mZLhwKPyAgK'];_0x377f=function(){return _0x473732;};return _0x377f();}function getManagePermission(_0x21ba16){const _0x5647f3={_0x260522:0x250,_0xcdecf6:0xa,_0x29953c:0x24,_0xc2a5b5:0x1a1,_0x40535e:0x206,_0x5d13c8:0x255,_0x1ba1c6:0x2c9,_0x4d9e7b:0x2d6,_0x2db06c:0x267,_0x19baf1:0x1c5,_0x311606:0x1d3,_0x189813:0x1fe,_0x512cf1:0x22b,_0x1d3fe5:0x228,_0x8a3eb2:0x8,_0x1ef5a3:0x16,_0x1fb934:0x85,_0x3c8ea4:0x2c,_0x5698e5:0xc2,_0x11a189:0x83,_0x9253be:0x42,_0x400d89:0x53,_0x3d74d7:0x2f,_0x5b7edd:0x27,_0x3c8a61:0x93,_0x3e08cc:0x277,_0x464ae5:0x52,_0x5a2fdc:0x56,_0x3655f6:0xa9,_0xd1ebfd:0x2d,_0x5764c5:0x36,_0x1ab896:0x12,_0x4e9d73:0x1f7,_0x56768f:0x196,_0x4b0d74:0x1f4,_0x374d95:0x6a},_0x7eb361={_0x4bdc81:0x1cd,_0x5f302f:0xd2,_0x50e7e2:0x5c8},_0x5c18d0={_0x14b153:0x8a,_0x502b19:0x3,_0x1c56b3:0x3ad},_0x4a6480={};_0x4a6480[_0x49a2bc(-0x1f1,-0x1ab,-0x1df,-0x194)]=_0x49a2bc(-0x1c3,-0x236,-_0x5647f3._0x260522,-0x206)+'t',_0x4a6480[_0x17ad92(0xb7,0x56,_0x5647f3._0xcdecf6,-_0x5647f3._0x29953c)]=_0x49a2bc(-_0x5647f3._0xc2a5b5,-0x25d,-0x263,-_0x5647f3._0x40535e)+_0x49a2bc(-_0x5647f3._0x5d13c8,-_0x5647f3._0x1ba1c6,-_0x5647f3._0x4d9e7b,-_0x5647f3._0x2db06c)+_0x49a2bc(-_0x5647f3._0x19baf1,-_0x5647f3._0x311606,-0x1ff,-_0x5647f3._0x189813),_0x4a6480['vunXb']=_0x49a2bc(-0x1b4,-0x254,-_0x5647f3._0x512cf1,-_0x5647f3._0x1d3fe5),_0x4a6480[_0x17ad92(-_0x5647f3._0x8a3eb2,-0x36,0x3a,-_0x5647f3._0x1ef5a3)]=_0x17ad92(-0x5c,-0x42,-_0x5647f3._0x1fb934,_0x5647f3._0x3c8ea4)+_0x17ad92(_0x5647f3._0x5698e5,_0x5647f3._0x11a189,0x73,_0x5647f3._0x9253be)+_0x17ad92(0xac,_0x5647f3._0x400d89,0x3f,-0xc);function _0x17ad92(_0xfc883d,_0x10351b,_0x437e5d,_0x5a0be6){return _0xa5eed2(_0x437e5d,_0x10351b-_0x5c18d0._0x14b153,_0x437e5d-_0x5c18d0._0x502b19,_0x10351b- -_0x5c18d0._0x1c56b3);}_0x4a6480[_0x17ad92(_0x5647f3._0x3d74d7,_0x5647f3._0x5b7edd,0x6f,_0x5647f3._0x3c8a61)]=_0x49a2bc(-0x260,-0x28d,-0x247,-_0x5647f3._0x3e08cc);const _0x4d6e80=_0x4a6480;function _0x49a2bc(_0x37a407,_0xdf334f,_0x622260,_0x4ff6dd){return _0xa5eed2(_0x622260,_0xdf334f-_0x7eb361._0x4bdc81,_0x622260-_0x7eb361._0x5f302f,_0x4ff6dd- -_0x7eb361._0x50e7e2);}switch(_0x21ba16){case _0x4d6e80['LOtgC']:return _0x4d6e80[_0x17ad92(_0x5647f3._0x464ae5,_0x5647f3._0x5a2fdc,_0x5647f3._0x3655f6,_0x5647f3._0xd1ebfd)];case _0x4d6e80['vunXb']:return _0x4d6e80[_0x17ad92(0xd,-_0x5647f3._0x5764c5,-_0x5647f3._0x1ab896,0x3c)];case _0x4d6e80[_0x49a2bc(-_0x5647f3._0x4e9d73,-0x1fd,-_0x5647f3._0x56768f,-_0x5647f3._0x4b0d74)]:return _0x17ad92(-0x53,0x25,_0x5647f3._0x374d95,0x64)+'anage';default:return null;}}function _0x274e(_0x1cdfc6,_0x4d3bff){_0x1cdfc6=_0x1cdfc6-(-0x4*-0x44b+0x5c*-0x69+-0x13*-0x11d);const _0x507b66=_0x377f();let _0x342dc9=_0x507b66[_0x1cdfc6];if(_0x274e['eGRbZL']===undefined){var _0x26c5a6=function(_0xc2a55b){const _0x314b9='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x43a7c7='',_0x58fffa='';for(let _0x39579f=-0x121*-0x1d+-0x18fe*0x1+0x1*-0x7bf,_0x2f9aaf,_0x38729a,_0x2c8fcf=-0x9*-0xe7+-0x23dc*-0x1+0x3*-0xea9;_0x38729a=_0xc2a55b['charAt'](_0x2c8fcf++);~_0x38729a&&(_0x2f9aaf=_0x39579f%(-0x161a+-0x2171*-0x1+-0xd*0xdf)?_0x2f9aaf*(-0x1681+-0x1622+0x2ce3)+_0x38729a:_0x38729a,_0x39579f++%(-0x2469+-0x2*0x94d+0x3707))?_0x43a7c7+=String['fromCharCode'](0x1f*0x103+-0x435*0x7+0x5*-0x2f&_0x2f9aaf>>(-(0x20fb*-0x1+-0xa9e*0x1+0x3*0xe89)*_0x39579f&0x1e00+0x858+-0x1329*0x2)):-0xf86*0x2+0x1a30+0x26e*0x2){_0x38729a=_0x314b9['indexOf'](_0x38729a);}for(let _0xb7de3f=-0x1a11+0x18c3+0x14e,_0x406a67=_0x43a7c7['length'];_0xb7de3f<_0x406a67;_0xb7de3f++){_0x58fffa+='%'+('00'+_0x43a7c7['charCodeAt'](_0xb7de3f)['toString'](-0x2526+0x1*0x1eb+0x8b*0x41))['slice'](-(-0x885+-0x1*0x16f1+0xd4*0x26));}return decodeURIComponent(_0x58fffa);};_0x274e['CxztXC']=_0x26c5a6,_0x274e['qYQOkL']={},_0x274e['eGRbZL']=!![];}const _0x2b7287=_0x507b66[-0x18f8+-0xa2*-0x3c+-0xd00],_0x54c579=_0x1cdfc6+_0x2b7287,_0x2a9dce=_0x274e['qYQOkL'][_0x54c579];return!_0x2a9dce?(_0x342dc9=_0x274e['CxztXC'](_0x342dc9),_0x274e['qYQOkL'][_0x54c579]=_0x342dc9):_0x342dc9=_0x2a9dce,_0x342dc9;}router[_0xa5eed2(0x3b1,0x338,0x382,0x352)]('/',async(_0x427d2a,_0x352bc4)=>{const _0x30c501={_0x439da0:0x415,_0x35a188:0x479,_0x4492d4:0x4d5,_0x1ec487:0x4ee,_0x128aba:0x421,_0x924c53:0x4f7,_0x221e1a:0x116,_0x30da49:0x164,_0x47ea66:0x18e,_0x3518dd:0x124,_0x26ec35:0x164,_0x2b9d25:0x16e,_0x4cf1bc:0x43c,_0x5c8ee7:0x429,_0x3298c1:0x4aa,_0x5ef7f8:0x48f,_0x5f0f15:0x88,_0x2fe16e:0x5c,_0x9e4dff:0x45b,_0x5b3131:0x471,_0x2612f3:0x107,_0x5463ee:0xc6,_0x3e6b60:0x123,_0x31df75:0x400,_0x44cbfd:0x3f7,_0x2d5d7e:0x13a,_0x3ce54f:0xdf,_0x25677b:0xe7,_0x382d13:0x196,_0x35ee1a:0x142,_0x418bba:0x115,_0x5344b0:0x464,_0x1550ac:0x9a,_0x5a95a7:0x13b,_0x5a219d:0xd4,_0x12a992:0x96,_0x17aede:0x4d,_0x4c8780:0x4ba,_0x270f47:0x436,_0x36938f:0x37a,_0x5a0805:0x3ea,_0x384239:0x452,_0x4ad168:0x3f8,_0x44347d:0x447,_0x2dabb9:0x432,_0x258383:0x503,_0x333188:0x490,_0x5e4fff:0x4a3,_0x8cf75d:0x3a2,_0x2a2246:0x413,_0x5d1467:0x42f,_0x5e773d:0x408,_0xef6681:0x3d0,_0x23dba7:0x3ba,_0xd17581:0x3d8,_0x3f9785:0x47c,_0x1283c3:0x441,_0x501cad:0x3f6,_0x19739c:0x45d,_0x1a1e45:0x52b,_0xa186ff:0x44a,_0x316564:0xd,_0x1ebc3b:0x6,_0x3cfe43:0x4f,_0x199717:0x92,_0x386673:0xb3,_0xa95c5c:0x458,_0x5de508:0x3e3,_0x1fbd66:0x381,_0x3136e9:0x17e,_0x122731:0x13b,_0x233055:0x469,_0x3951f5:0x40b,_0x3e77df:0x451,_0x5facc3:0x3f5,_0xd1d040:0x41d,_0x412c93:0x3bd,_0xcf371d:0xbe,_0x41fa10:0x121,_0x2f2ab8:0x42d,_0x4bb77c:0x475,_0x5971fb:0x53,_0x2b8595:0xab,_0x86cb6e:0x37,_0x50eb21:0x411,_0x2d3f67:0x473,_0x31b129:0x4e5,_0x445b76:0x8a,_0x15768f:0x103,_0x2694bc:0x446,_0x5cf5a8:0x136,_0xa20fa7:0x193,_0x45b7d2:0x474,_0x1de99c:0x41e,_0x556ae2:0x4dc,_0x52ee1b:0x491,_0x429172:0xc4,_0x2c05ca:0x83,_0x3e979e:0x43c,_0x2628b7:0x85,_0x3b4fe2:0x413,_0x4e0672:0x113,_0x595649:0xc2,_0x152eb0:0xef,_0x445a20:0x99,_0x4c9025:0x417,_0x100668:0x167,_0x4019bd:0x11e,_0x32dfc0:0x5c,_0x65a373:0xa9,_0x5913b9:0x129,_0x548df1:0x7c,_0x16e404:0x422,_0x357164:0x9f,_0x137895:0x79,_0xdf9214:0xc0,_0xca39bf:0xf9,_0x2501da:0x130,_0x3e0493:0x192,_0x546002:0x3f8,_0x2e115b:0x3cf,_0x131eb2:0xf6,_0x116665:0x12b,_0x523114:0x8b,_0x4de7b6:0x65,_0x7e462c:0x6,_0x547df2:0x157,_0x1dd25a:0x178,_0x1ba860:0x197,_0x5a551c:0x8b,_0x5e37a:0x72,_0x17b331:0x487,_0x1d6a2a:0x47b,_0x8456e2:0x40b,_0x509c8e:0x3f7,_0x4b87be:0x438,_0x22ba88:0x3cf,_0x243f9a:0x8a,_0x18b549:0x10f,_0x7b7ec2:0xbb,_0x24b682:0x79,_0x2608ec:0x10e,_0x44870f:0xda,_0xe8e254:0x14d,_0x2e4eee:0x4d,_0x268036:0x4e4,_0x4e2d4d:0x50e,_0x4a8b98:0xa8,_0xeba95f:0xb2,_0x31009f:0x410,_0x3b94c2:0x3f0,_0x51ceb5:0x429,_0x5588fd:0x444,_0xc356c7:0x4b1,_0x2643e9:0x4fa,_0x5ba82d:0x4a8,_0x51e445:0x456,_0x57431c:0x479,_0x34c9fe:0x424,_0x1bcc63:0x44d,_0x2376a5:0x92,_0x24480a:0x74,_0x9fd3e5:0xbc,_0x2ee891:0x1c,_0x4cb754:0x494,_0x529cff:0x44a,_0x15049f:0x454,_0x19d4b7:0x72,_0x1fefa6:0x5c,_0x2d161b:0xf5,_0x26d356:0x494,_0x1e53ef:0x3d4,_0x378bf4:0x457,_0x76e1e8:0x4b1,_0x5d6c7e:0x46e,_0x2b9902:0x1,_0x1ec292:0x463,_0x342981:0x429,_0xa380f8:0x3ef,_0x3c1d77:0x466,_0x28cee4:0x3fa,_0x558711:0x386,_0x29b467:0x144,_0x23805a:0x146,_0x27bfd4:0xd2,_0x3e6833:0xa2,_0x4cc888:0x5a,_0x154965:0x128},_0x4bef9f={_0x25058c:0x20,_0x48909f:0x16,_0x343731:0x3e,_0x4f20a9:0x22e,_0x2d0f8e:0x270,_0x1b6b05:0x22e,_0x1e4e2c:0x58,_0x5e1c66:0x2e,_0x5b025f:0x87,_0x2611fc:0x1b5,_0x2e5398:0x21c,_0x3a7167:0x7,_0x55cbe3:0x207,_0x14eb2c:0xdc,_0x26880f:0xa7,_0x265c04:0xa0,_0x487117:0x4c,_0x40df2e:0x227,_0x34b0fd:0x1b8,_0x51a1e5:0x9f,_0xf7e9bf:0xa0,_0x3f66b8:0x62,_0x31a1ec:0x8b,_0x35de9d:0x8f,_0xf5957:0xb,_0x17d917:0x7,_0x3f744d:0x256,_0x514997:0x1e7,_0x4472f7:0x5,_0x566a81:0x221,_0x1697ae:0x1f6,_0x21b13e:0x1ba,_0x246232:0x21d,_0x160c35:0xc7,_0x3d6b4d:0x82,_0x2a9e05:0x6b,_0x30abe5:0xa0,_0x40f7d3:0x48,_0x384071:0x6a,_0x57110d:0x99,_0x11a618:0x226,_0x287095:0x1fe,_0x5b26f6:0x6f,_0x1a1b9c:0x1e6,_0xccd1cc:0x19a,_0x52fad3:0x171,_0x32e3b7:0x34,_0x4537c0:0xab,_0x50a5e4:0x25,_0x46f72d:0x32,_0x334a08:0x11,_0x90d92a:0x6d,_0x24192c:0x7,_0x3a366c:0x184,_0x1045b3:0x17f,_0x55484c:0x1a8,_0x23f25b:0x158,_0x116b1e:0x255,_0x1aafa4:0x1db,_0x4ab5ae:0xb7,_0x5967b6:0x72,_0xf05857:0x68,_0x37dad6:0x9c,_0x99e771:0x72,_0x3fbf91:0x28d,_0x449442:0x2b,_0x4b1f13:0x71,_0x1d786c:0x4e,_0x218968:0x1b9,_0x4b4627:0x25b,_0x30ca33:0x221,_0x597f29:0x1e0,_0x5b57de:0x20e,_0x514c5f:0xa,_0x1db9fd:0x45,_0x4166cf:0x16,_0x4ea6bb:0x74,_0x542e95:0x46,_0x6c55b2:0x98},_0x4af126={_0x26d097:0xfc},_0x32dc1a={_0x529b6f:0xb,_0x5b4a80:0x3b,_0x559d51:0x60d};function _0x89d524(_0xec2974,_0x334f44,_0x4843b7,_0x5b1a8c){return _0x5df085(_0xec2974-0x23,_0x334f44-0x1a1,_0x4843b7-0x28c,_0x334f44);}function _0x18d027(_0x1605e2,_0x5ee453,_0x54cf5c,_0x55d7fb){return _0x5df085(_0x1605e2-_0x32dc1a._0x529b6f,_0x5ee453-_0x32dc1a._0x5b4a80,_0x54cf5c-_0x32dc1a._0x559d51,_0x5ee453);}const _0x4e3275={'SPNSb':'already\x20ex'+_0x18d027(0x3d1,0x430,_0x30c501._0x439da0,_0x30c501._0x35a188),'vxDVb':_0x18d027(_0x30c501._0x4492d4,_0x30c501._0x1ec487,0x489,0x4a5)+'erver\x20erro'+'r','nnUXJ':_0x18d027(0x472,0x453,_0x30c501._0x128aba,0x43f)+'t','npCGf':'Forbidden','HxkFT':_0x18d027(0x486,_0x30c501._0x924c53,0x483,0x483)+_0x18d027(0x52e,0x4d9,0x4b8,0x469)+'ng','rJwKC':function(_0x234e31,_0x2e1749){return _0x234e31(_0x2e1749);},'CuRdZ':'team','dYzHk':function(_0x16c5e1,_0x5e8b0c){return _0x16c5e1===_0x5e8b0c;},'npNIo':_0x18d027(0x36b,0x3fa,0x3de,0x36c),'BUUYH':function(_0x2cc5b3,_0x425f93){return _0x2cc5b3(_0x425f93);},'nhkrE':'xkAdy','ryFFX':_0x89d524(0xf4,0xed,_0x30c501._0x221e1a,0xe3),'rTAoR':function(_0x26d7ec,_0x18e61d){return _0x26d7ec!==_0x18e61d;},'AUeAn':function(_0x40122a,_0x4b299f){return _0x40122a!==_0x4b299f;},'iDIcR':_0x89d524(_0x30c501._0x30da49,_0x30c501._0x47ea66,_0x30c501._0x3518dd,_0x30c501._0x26ec35)+_0x89d524(_0x30c501._0x2b9d25,0x114,0x137,0xf5)+'ng','nAhSr':function(_0x4c23e6){return _0x4c23e6();},'llHxa':function(_0x391600,_0x43a624){return _0x391600===_0x43a624;},'zdEpU':_0x18d027(_0x30c501._0x4cf1bc,_0x30c501._0x5c8ee7,0x47a,_0x30c501._0x3298c1),'lfWWS':'fnGcN','ogvhB':_0x18d027(0x4b3,_0x30c501._0x5ef7f8,0x475,0x498),'zVoAq':function(_0x264072,_0x20564a){return _0x264072!==_0x20564a;},'nhFnu':_0x89d524(0xa5,0x69,_0x30c501._0x5f0f15,_0x30c501._0x2fe16e),'JOtzr':_0x18d027(0x464,_0x30c501._0x9e4dff,0x47f,_0x30c501._0x5b3131),'kWXpJ':function(_0x236c27,_0x5e8e1a){return _0x236c27===_0x5e8e1a;},'uINgj':function(_0x27a7b9,_0x1161ae){return _0x27a7b9===_0x1161ae;},'aPszm':_0x89d524(_0x30c501._0x2612f3,_0x30c501._0x5463ee,0xd7,0x6b)+'t','UMAFR':function(_0x4c0eaf,_0x10b277,_0x34a5f4,_0x5a82d0){return _0x4c0eaf(_0x10b277,_0x34a5f4,_0x5a82d0);},'ZzSZX':_0x89d524(0xa4,0x10f,0xd7,_0x30c501._0x3e6b60)+_0x18d027(_0x30c501._0x31df75,0x3f1,_0x30c501._0x44cbfd,0x44c)+_0x89d524(_0x30c501._0x2d5d7e,0x9a,_0x30c501._0x3ce54f,0x13f),'TSMYA':function(_0x2ae525,_0x53a831){return _0x2ae525===_0x53a831;},'vlvju':_0x89d524(_0x30c501._0x25677b,0xc5,0x80,0xcb)+_0x89d524(0x192,_0x30c501._0x382d13,0x145,_0x30c501._0x35ee1a)+_0x89d524(0x17c,0x110,_0x30c501._0x418bba,0x159),'pTiAC':function(_0x34b024,_0x42e8de){return _0x34b024===_0x42e8de;},'aNODM':_0x89d524(0x9f,0x7d,0xd5,0xc1),'juSuI':'Error\x20list'+_0x18d027(0x4f8,0x456,0x4be,_0x30c501._0x5344b0)+'gs'};try{let _0x2229ec=await _0x4e3275[_0x89d524(0xa2,0x77,_0x30c501._0x1550ac,0xe1)](getBindings);if(_0x427d2a[_0x89d524(0xe3,0x1ab,_0x30c501._0x5a95a7,0xef)][_0x89d524(_0x30c501._0x5a219d,_0x30c501._0x12a992,0x59,_0x30c501._0x17aede)+_0x18d027(0x4e1,0x44e,0x487,_0x30c501._0x4c8780)]){if(_0x4e3275[_0x18d027(_0x30c501._0x270f47,_0x30c501._0x36938f,_0x30c501._0x5a0805,_0x30c501._0x384239)](_0x4e3275[_0x18d027(_0x30c501._0x4ad168,0x3df,_0x30c501._0x44347d,0x3ea)],_0x4e3275[_0x18d027(_0x30c501._0x2dabb9,_0x30c501._0x258383,_0x30c501._0x333188,_0x30c501._0x5e4fff)])){if(_0x293661[_0x18d027(0x447,_0x30c501._0x8cf75d,_0x30c501._0x2a2246,0x435)]['includes'](_0x4e3275['SPNSb'])){const _0x55a289={};return _0x55a289[_0x18d027(0x3a0,_0x30c501._0x5d1467,0x3dd,_0x30c501._0x5e773d)]='Conflict',_0x55a289[_0x18d027(_0x30c501._0xef6681,0x455,0x413,_0x30c501._0x23dba7)]=_0x24dada[_0x18d027(_0x30c501._0xd17581,0x45c,_0x30c501._0x2a2246,0x3d0)],_0x3b503d[_0x18d027(0x473,_0x30c501._0x3f9785,_0x30c501._0x1283c3,_0x30c501._0x501cad)](-0x1bb7+0x1762+0x6*0xfd)[_0x18d027(_0x30c501._0x19739c,_0x30c501._0x1a1e45,0x4b1,_0x30c501._0xa186ff)](_0x55a289);}const _0x44d99a={};_0x44d99a[_0x89d524(0xa9,-_0x30c501._0x316564,_0x30c501._0x2fe16e,-_0x30c501._0x1ebc3b)]=_0x3fe8a0[_0x89d524(0xb3,_0x30c501._0x3cfe43,_0x30c501._0x199717,_0x30c501._0x386673)],_0x5e7391[_0x18d027(0x42d,0x443,0x3dd,0x3b2)](_0x18d027(0x494,0x46a,0x426,0x3d8)+'ting\x20bindi'+'ng',_0x44d99a);const _0x4f5f5f={};return _0x4f5f5f['error']=_0x4e3275['vxDVb'],_0x2abc53[_0x18d027(0x425,0x47c,0x441,_0x30c501._0xa95c5c)](-0x2292+0x5*-0x1c1+0xf19*0x3)['json'](_0x4f5f5f);}else _0x2229ec=_0x2229ec[_0x18d027(0x37c,0x3a5,_0x30c501._0x5de508,_0x30c501._0x1fbd66)](_0x328f62=>_0x328f62[_0x18d027(0x362,0x454,0x3da,0x3a3)+_0x18d027(0x4f0,0x44b,0x487,0x448)]===_0x427d2a['query'][_0x18d027(0x399,0x3b4,0x3da,0x43b)+'ype']);}_0x427d2a[_0x89d524(_0x30c501._0x3136e9,0x128,_0x30c501._0x122731,0x14a)][_0x18d027(_0x30c501._0x233055,0x3b8,_0x30c501._0x3951f5,0x3c8)+'d']&&(_0x2229ec=_0x2229ec[_0x18d027(0x419,0x36e,0x3e3,0x3f6)](_0x5b00b7=>_0x5b00b7[_0x89d524(0x23,0x52,0x8a,0x45)+'d']===_0x427d2a[_0x18d027(0x453,0x4aa,0x4bc,0x48e)][_0x18d027(0x3a8,0x3d2,0x40b,0x415)+'d']));_0x427d2a['query'][_0x18d027(_0x30c501._0x3e77df,_0x30c501._0x5facc3,_0x30c501._0xd1d040,_0x30c501._0x412c93)+'pe']&&(_0x2229ec=_0x2229ec['filter'](_0xfb698c=>_0xfb698c['subject_ty'+'pe']===_0x427d2a['query'][_0x89d524(0x5c,0x84,0x9c,0x2a)+'pe']));_0x427d2a['query'][_0x89d524(0xfa,_0x30c501._0xcf371d,_0x30c501._0x41fa10,0x12f)]&&(_0x2229ec=_0x2229ec[_0x18d027(_0x30c501._0x2f2ab8,0x42b,0x3e3,0x3bc)](_0x4d2e8a=>_0x4d2e8a[_0x18d027(0x4af,0x450,0x4a2,0x451)]===_0x427d2a[_0x18d027(0x4e1,0x48a,0x4bc,0x487)][_0x89d524(0x134,0xf6,0x121,0x11d)]));const _0x22fa6d=await hasAllPermissions(_0x427d2a[_0x18d027(0x425,0x4d0,_0x30c501._0x4bb77c,0x48c)]['id']);if(!_0x22fa6d){const _0x3b784f=_0x427d2a['user']['id'],_0xbda9e6=await _0x4e3275[_0x89d524(_0x30c501._0x5971fb,0x3f,_0x30c501._0x2b8595,_0x30c501._0x86cb6e)](getTeamsByUserId,_0x3b784f),_0x4289cb=new Set(_0xbda9e6[_0x18d027(0x4e4,_0x30c501._0x50eb21,_0x30c501._0x2d3f67,_0x30c501._0x31b129)](_0x4ec160=>_0x4ec160['id'])),_0x510792=[];for(const _0x3012f6 of _0x2229ec){if(_0x3012f6[_0x89d524(0x28,_0x30c501._0x445b76,0x9c,_0x30c501._0x15768f)+'pe']===_0x4e3275[_0x18d027(0x3be,_0x30c501._0x2694bc,0x424,0x3f9)]&&_0x3012f6[_0x89d524(0x11b,_0x30c501._0x5cf5a8,0x121,_0x30c501._0xa20fa7)]===_0x3b784f){if(_0x4e3275[_0x18d027(0x3ff,_0x30c501._0x45b7d2,_0x30c501._0x1de99c,_0x30c501._0x2d3f67)](_0x4e3275[_0x18d027(0x42c,_0x30c501._0x556ae2,_0x30c501._0x52ee1b,0x459)],_0x4e3275[_0x89d524(_0x30c501._0x429172,_0x30c501._0x2c05ca,_0x30c501._0x12a992,0xde)])){_0x510792[_0x18d027(0x3e5,0x48a,_0x30c501._0x3e979e,0x405)](_0x3012f6);continue;}else{const _0x1fdd44={};return _0x1fdd44[_0x89d524(0x7e,0x71,_0x30c501._0x2fe16e,0x7)]=_0x4e3275[_0x89d524(_0x30c501._0x2628b7,0x7f,0xc7,0x8a)],_0x1fdd44[_0x18d027(0x480,0x39a,_0x30c501._0x3b4fe2,0x453)]=_0x89d524(_0x30c501._0x4e0672,_0x30c501._0x595649,_0x30c501._0x152eb0,_0x30c501._0x445a20)+_0x8aac1b['name']+'\x27\x20has\x20'+_0x46a9e6+(_0x18d027(_0x30c501._0x4c9025,0x471,0x427,0x4a0)+_0x89d524(0x182,_0x30c501._0x100668,_0x30c501._0x4019bd,0x16a)+_0x89d524(_0x30c501._0x32dfc0,0x55,_0x30c501._0x65a373,0xb5)+'\x20be\x20bound\x20'+_0x89d524(0x116,_0x30c501._0x5913b9,0xd1,_0x30c501._0x548df1)+_0x18d027(0x483,0x41c,_0x30c501._0x16e404,0x462))+_0x2cdc5f+'\x27',_0x13af87[_0x89d524(_0x30c501._0x357164,_0x30c501._0x137895,_0x30c501._0xdf9214,_0x30c501._0xca39bf)](-0x1745+0x2185+0x10*-0x8b)[_0x89d524(0x173,0xd8,_0x30c501._0x2501da,_0x30c501._0x3e0493)](_0x1fdd44);}}if(_0x4e3275['kWXpJ'](_0x3012f6[_0x18d027(_0x30c501._0x546002,_0x30c501._0x2e115b,_0x30c501._0xd1d040,0x432)+'pe'],_0x4e3275[_0x89d524(0x144,0xd1,_0x30c501._0x131eb2,_0x30c501._0x116665)])&&_0x4289cb[_0x89d524(_0x30c501._0x429172,_0x30c501._0x523114,_0x30c501._0x4de7b6,_0x30c501._0x7e462c)](_0x3012f6[_0x89d524(_0x30c501._0x547df2,_0x30c501._0x1dd25a,0x121,_0x30c501._0x1ba860)])){_0x510792['push'](_0x3012f6);continue;}if(_0x4e3275[_0x89d524(_0x30c501._0x5a551c,_0x30c501._0x5e37a,0xe3,0x9c)](_0x3012f6['resource_t'+_0x18d027(0x46e,0x450,_0x30c501._0x17b331,0x48b)],_0x4e3275['aPszm'])&&_0x3012f6[_0x18d027(_0x30c501._0x1d6a2a,0x40a,_0x30c501._0x8456e2,_0x30c501._0x509c8e)+'d']){if(await _0x4e3275[_0x18d027(0x3ff,0x488,_0x30c501._0x4b87be,_0x30c501._0x22ba88)](hasPermission,_0x3b784f,_0x4e3275['ZzSZX'],_0x3012f6[_0x89d524(0x72,0x104,_0x30c501._0x243f9a,0xe3)+'d'])){_0x510792[_0x89d524(_0x30c501._0x18b549,0x55,_0x30c501._0x7b7ec2,_0x30c501._0x24b682)](_0x3012f6);continue;}}if(_0x4e3275[_0x89d524(_0x30c501._0x2608ec,_0x30c501._0x44870f,0x125,_0x30c501._0xe8e254)](_0x3012f6['resource_t'+'ype'],'team')&&_0x3012f6['resource_i'+'d']){if(await hasPermission(_0x3b784f,_0x4e3275[_0x89d524(_0x30c501._0x357164,0x57,_0x30c501._0x2c05ca,_0x30c501._0x2e4eee)],_0x3012f6[_0x18d027(0x3ac,0x3de,_0x30c501._0x8456e2,0x46b)+'d'])){_0x510792['push'](_0x3012f6);continue;}}}_0x2229ec=_0x510792;}const _0x1927f8=await Promise[_0x18d027(0x4ae,_0x30c501._0x268036,0x4b3,_0x30c501._0x4e2d4d)](_0x2229ec[_0x89d524(_0x30c501._0x4a8b98,_0x30c501._0xeba95f,0xf2,0x109)](async _0x1e1486=>{const _0x15a4cf={_0x2b65c8:0x1e9,_0xdd2bbc:0x25b},_0x4f829b={};function _0x57a97a(_0x303b46,_0xb970cb,_0x8ef66d,_0x3d5f3a){return _0x89d524(_0x303b46-0x1ea,_0x3d5f3a,_0x8ef66d- -_0x4af126._0x26d097,_0x3d5f3a-0x187);}_0x4f829b[_0x57a97a(_0x4bef9f._0x25058c,-_0x4bef9f._0x48909f,_0x4bef9f._0x343731,0xa5)]=_0x4e3275[_0xfe90f2(_0x4bef9f._0x4f20a9,0x1d8,0x233,0x22d)],_0x4f829b['WRfXo']=_0xfe90f2(_0x4bef9f._0x2d0f8e,_0x4bef9f._0x1b6b05,0x239,0x29a)+_0x57a97a(_0x4bef9f._0x48909f,_0x4bef9f._0x1e4e2c,_0x4bef9f._0x5e1c66,_0x4bef9f._0x5b025f)+'r';const _0x542e5b=_0x4f829b,_0xec999a=await _0x4e3275['rJwKC'](getRoleById,_0x1e1486[_0xfe90f2(_0x4bef9f._0x2611fc,0x210,0x1d1,0x1dd)]);let _0x54431e='';if(_0x1e1486['subject_ty'+'pe']===_0x4e3275[_0xfe90f2(0x1bb,_0x4bef9f._0x2e5398,0x27e,0x1c6)]){if(_0x4e3275[_0x57a97a(-0x6f,0x74,-_0x4bef9f._0x3a7167,-0x30)](_0xfe90f2(0x1d1,0x1a3,0x15f,_0x4bef9f._0x55cbe3),_0x4e3275[_0x57a97a(-0x1e,0x5b,0x2b,-0x1a)])){const _0x66a863={};_0x66a863[_0x57a97a(-_0x4bef9f._0x14eb2c,-_0x4bef9f._0x26880f,-_0x4bef9f._0x265c04,-_0x4bef9f._0x487117)]=_0x196961[_0xfe90f2(_0x4bef9f._0x40df2e,_0x4bef9f._0x34b0fd,0x214,0x178)],_0x51f5c4[_0x57a97a(-0x26,-_0x4bef9f._0x51a1e5,-_0x4bef9f._0xf7e9bf,-_0x4bef9f._0x3f66b8)](_0x542e5b[_0x57a97a(_0x4bef9f._0x31a1ec,-0x32,0x3e,0x98)],_0x66a863);const _0x4cf076={};return _0x4cf076[_0x57a97a(-_0x4bef9f._0x35de9d,-0xb9,-_0x4bef9f._0x265c04,-0x86)]=_0x542e5b[_0x57a97a(-_0x4bef9f._0xf5957,-0x3b,_0x4bef9f._0x17d917,0x41)],_0x5d7a2c['status'](0x13d6+-0xa7e+0xb*-0xac)[_0xfe90f2(0x287,_0x4bef9f._0x3f744d,0x247,_0x4bef9f._0x514997)](_0x4cf076);}else{const _0x5b0c73=await _0x4e3275['BUUYH'](getTeamById,_0x1e1486[_0x57a97a(-0x48,-_0x4bef9f._0x4472f7,0x25,0x6a)]);_0x54431e=_0x5b0c73?.[_0xfe90f2(0x1ad,_0x4bef9f._0x566a81,_0x4bef9f._0x1697ae,0x23d)]||'';}}else{if(_0x4e3275[_0xfe90f2(_0x4bef9f._0x21b13e,0x21b,_0x4bef9f._0x246232,0x237)](_0x4e3275[_0x57a97a(-_0x4bef9f._0x160c35,-_0x4bef9f._0x3d6b4d,-_0x4bef9f._0x2a9e05,-0xd9)],_0x4e3275[_0x57a97a(-0x3b,0x17,0x16,0x33)])){const _0x43d373={};return _0x43d373[_0x57a97a(-0x7f,-0x85,-_0x4bef9f._0x30abe5,-0x5d)]=_0x4e3275['npCGf'],_0x43d373[_0x57a97a(-0x91,-_0x4bef9f._0x40f7d3,-_0x4bef9f._0x384071,-_0x4bef9f._0x57110d)]='You\x20do\x20not'+_0xfe90f2(0x297,0x257,_0x4bef9f._0x11a618,0x27a)+_0x1593b4+(_0xfe90f2(_0x4bef9f._0x287095,0x1ee,0x241,0x268)+_0x57a97a(-0x9d,-0xe1,-_0x4bef9f._0x5b26f6,-0xa6)+'resource'),_0xe53e8[_0xfe90f2(0x22c,_0x4bef9f._0x1a1b9c,_0x4bef9f._0xccd1cc,_0x4bef9f._0x52fad3)](-0xfd4+-0x21f4+0x335b*0x1)[_0x57a97a(0x72,0x39,_0x4bef9f._0x32e3b7,_0x4bef9f._0x4537c0)](_0x43d373);}else{const _0x1453a2=await findUserById(_0x1e1486[_0x57a97a(0x53,0x24,_0x4bef9f._0x50a5e4,_0x4bef9f._0x46f72d)]);_0x54431e=_0x1453a2?.[_0x57a97a(-_0x4bef9f._0x334a08,-_0x4bef9f._0x90d92a,-0x84,-0xd2)]||'';}}function _0xfe90f2(_0x138d77,_0x4a15fc,_0x5b6728,_0x269fee){return _0x18d027(_0x138d77-_0x15a4cf._0x2b65c8,_0x5b6728,_0x4a15fc- -_0x15a4cf._0xdd2bbc,_0x269fee-0x8c);}let _0x58c313='';if(_0x4e3275[_0x57a97a(-0x31,0x25,-_0x4bef9f._0x24192c,0x60)](_0x1e1486[_0xfe90f2(_0x4bef9f._0x3a366c,_0x4bef9f._0x1045b3,_0x4bef9f._0x55484c,_0x4bef9f._0x23f25b)+'ype'],_0xfe90f2(_0x4bef9f._0x116b1e,_0x4bef9f._0x1aafa4,0x1b7,0x224))&&_0x1e1486[_0x57a97a(-0x9a,-_0x4bef9f._0x4ab5ae,-_0x4bef9f._0x5967b6,-0xde)+'d']&&_0x4e3275[_0x57a97a(0x7f,0x1f,0x33,0xac)](_0x1e1486[_0x57a97a(-0x54,-0x29,-0x72,-_0x4bef9f._0xf05857)+'d'],'*')){const _0x500fb3=await getTeamById(_0x1e1486[_0x57a97a(-0xc5,-_0x4bef9f._0x37dad6,-_0x4bef9f._0x99e771,-0xe1)+'d']);_0x58c313=_0x500fb3?.[_0xfe90f2(_0x4bef9f._0x3fbf91,0x221,0x266,0x24b)]||'';}const _0x4fe066={};return _0x4fe066[_0x57a97a(-_0x4bef9f._0x449442,-0xdf,-_0x4bef9f._0x4b1f13,-_0x4bef9f._0x1d786c)+_0xfe90f2(0x1e1,_0x4bef9f._0x218968,0x1a6,0x195)]=_0x58c313,{..._0x1e1486,'subject_name':_0x54431e,'role_name':_0xec999a?.[_0xfe90f2(_0x4bef9f._0x4b4627,_0x4bef9f._0x30ca33,_0x4bef9f._0x597f29,_0x4bef9f._0x5b57de)]||'',..._0x1e1486[_0xfe90f2(0x19f,0x17f,0x179,0x112)+_0x57a97a(0x6,0x33,_0x4bef9f._0x514c5f,_0x4bef9f._0x1db9fd)]===_0x4e3275['CuRdZ']&&_0x1e1486['resource_i'+'d']&&_0x4e3275[_0x57a97a(-_0x4bef9f._0x4166cf,-_0x4bef9f._0x4ea6bb,-_0x4bef9f._0x542e95,-_0x4bef9f._0x6c55b2)](_0x1e1486[_0x57a97a(-0xb7,-0xe3,-0x72,-0x91)+'d'],'*')?_0x4fe066:{}};})),_0x37e786={};return _0x37e786[_0x18d027(_0x30c501._0x31009f,_0x30c501._0x3b94c2,_0x30c501._0x51ceb5,_0x30c501._0x5588fd)]=_0x1927f8,_0x352bc4[_0x18d027(0x52a,0x4d4,_0x30c501._0xc356c7,_0x30c501._0x2643e9)](_0x37e786);}catch(_0x5ebcd7){if(_0x4e3275['pTiAC'](_0x18d027(_0x30c501._0x5ba82d,0x47e,_0x30c501._0x51e445,_0x30c501._0x57431c),_0x4e3275[_0x18d027(0x40c,0x425,_0x30c501._0x1d6a2a,_0x30c501._0x34c9fe)])){const _0x141cf6={};_0x141cf6[_0x18d027(_0x30c501._0x1bcc63,0x42d,0x3dd,0x3cc)]=_0x5ebcd7[_0x89d524(0x90,0xc0,_0x30c501._0x2376a5,_0x30c501._0x24480a)],logger[_0x89d524(_0x30c501._0x9fd3e5,0x74,0x5c,_0x30c501._0x2ee891)](_0x4e3275[_0x18d027(_0x30c501._0x4cb754,0x417,_0x30c501._0x529cff,_0x30c501._0x15049f)],_0x141cf6);const _0x2eebda={};return _0x2eebda[_0x89d524(_0x30c501._0x19d4b7,0x70,_0x30c501._0x1fefa6,0x93)]=_0x89d524(0x11c,0xf7,0x108,_0x30c501._0x2d161b)+'erver\x20erro'+'r',_0x352bc4[_0x18d027(_0x30c501._0x26d356,_0x30c501._0x1e53ef,_0x30c501._0x1283c3,_0x30c501._0xd1d040)](-0x756+0xb8f*0x1+-0x245)[_0x18d027(0x49c,_0x30c501._0x378bf4,_0x30c501._0x76e1e8,_0x30c501._0x5d6c7e)](_0x2eebda);}else{const _0x35b96b={};_0x35b96b[_0x89d524(_0x30c501._0x386673,0x23,0x5c,_0x30c501._0x2b9902)]=_0x5aee22[_0x18d027(0x40d,_0x30c501._0x1ec292,0x413,_0x30c501._0x342981)],_0x2373e2[_0x18d027(_0x30c501._0xa380f8,_0x30c501._0x5d1467,0x3dd,0x3eb)](_0x4e3275[_0x18d027(_0x30c501._0x3c1d77,0x418,0x459,_0x30c501._0x28cee4)],_0x35b96b);const _0x4cad11={};return _0x4cad11[_0x18d027(0x3d3,_0x30c501._0x558711,0x3dd,0x457)]=_0x4e3275[_0x89d524(0xee,_0x30c501._0x29b467,_0x30c501._0x23805a,_0x30c501._0x27bfd4)],_0x137f88[_0x89d524(_0x30c501._0x3e6833,_0x30c501._0x4cc888,0xc0,_0x30c501._0x154965)](0x1*-0x1ec1+-0x186c+-0x9*-0x659)['json'](_0x4cad11);}}}),router['post']('/',async(_0xa0be7,_0x2d40d3)=>{const _0x465900={_0x2f3fc7:0x301,_0x5b15c0:0x365,_0x695889:0x371,_0x58e018:0x337,_0x120bc6:0x2df,_0x51200a:0x33a,_0x55316f:0x32c,_0x3e45bb:0x357,_0x5336a5:0x2f6,_0x2c76d8:0x2be,_0x20d2f8:0x2c7,_0x13191f:0x2b2,_0x452849:0x2e3,_0xce5e22:0x280,_0x275e1e:0x2fb,_0x35b75c:0x13d,_0x294670:0x1c4,_0x569756:0x1ce,_0x1c105f:0x251,_0x3da49d:0x165,_0x510121:0x12d,_0x148ced:0x1b8,_0x504306:0x336,_0x3681cc:0x2d7,_0x1595a0:0x308,_0x6044b2:0x2c1,_0x42a6ff:0x2a5,_0x5a439c:0x309,_0x4160b0:0x23d,_0x567d2a:0x202,_0x320599:0x1dd,_0xbe18fe:0x25c,_0x2ceb7f:0x2e4,_0x32060e:0x294,_0x443568:0x2a6,_0x3557fb:0x289,_0x11a5e6:0x195,_0x24cd12:0x380,_0x6ac9d1:0x367,_0x538b10:0x334,_0x3c002b:0x30c,_0x2d9a22:0x32d,_0x3c9781:0x1a3,_0x4fadff:0xe1,_0x21148c:0x13b,_0x5a7361:0x153,_0x22682d:0xea,_0x56a498:0x22b,_0x4fa375:0x20c,_0x89e525:0x1e3,_0x2d4e9c:0x1d6,_0x57e313:0x304,_0x1c44fb:0x36a,_0x581503:0x383,_0x25ee33:0x375,_0xdae937:0x1b2,_0x491f6f:0x228,_0xa4953b:0x21f,_0x3bc0e7:0x1e5,_0x4a63f1:0x2c1,_0x3a3521:0x30f,_0x350dd1:0x3cb,_0x5454cf:0x307,_0x411bdb:0x3a1,_0x21f414:0x354,_0x585019:0x372,_0x202045:0x2f9,_0x5002eb:0x21d,_0x16fa6f:0x2d1,_0xe5a1a8:0x275,_0x2c8401:0x342,_0x25f183:0x2b3,_0x121c94:0x158,_0xfac68b:0x149,_0x37e311:0xe3,_0x5f25e5:0x23f,_0x3ed168:0x294,_0x2b34b5:0x33f,_0x50e1fc:0x2da,_0x5936e2:0x303,_0x1e36f3:0x1ad,_0x48ed26:0x1ea,_0xc220cc:0x1a7,_0x3e767d:0x1f2,_0x372c88:0x225,_0x227fd4:0x256,_0x4614c8:0x291,_0x545060:0x357,_0x465914:0x3a0,_0x1eb0d7:0x258,_0x48b5fe:0x23e,_0x5774e2:0x1cb,_0x526238:0x17e,_0x50b6d8:0x31a,_0x318e75:0x32f,_0x37cbe5:0x332,_0x23d366:0x2ef,_0x85d564:0x2d9,_0x2e1b5f:0x17b,_0x4b5626:0x181,_0x24495b:0x36e,_0x2d1d0c:0x31c,_0x5cdcf8:0x279,_0x45a76c:0x1c5,_0x2843df:0x1b9,_0x6cc31d:0x20a,_0x2215d5:0x233,_0x2f25b2:0x1e4,_0x5f230c:0x2eb,_0x48814b:0x2ce,_0x5945a7:0x150,_0x2f5869:0x1b3,_0x323216:0x355,_0x49941f:0x39d,_0x891c73:0x355,_0x17dc30:0x293,_0x2665bf:0x37d,_0x1b1a63:0x2e1,_0x400a2c:0x234,_0x1b11d2:0x235,_0x1d1db8:0x1ed,_0x57176d:0x330,_0xf29067:0x308,_0x5d993a:0x29e,_0x5f15cd:0x2b4,_0x591bdb:0x149,_0x5519b0:0x1ca,_0x300ba3:0x1e7,_0x5d7986:0x2ae,_0x4f9c97:0x316,_0x5f4892:0x1b9,_0x2c0155:0x12a,_0x4b583d:0xeb,_0x58d6cf:0x2d4,_0x48ffe8:0x265,_0x57eef9:0x29a,_0x3b2447:0x246,_0x5386bc:0x1e2,_0x3d04a8:0x33b,_0x4791db:0x2e3,_0x19e8ff:0x3c1,_0x233763:0x2ec,_0x4f902f:0x2a2,_0x483364:0x256,_0x221de0:0x2b9,_0x19a8d0:0x2f7,_0x259283:0x1ec,_0x212949:0x14f,_0x3090e4:0x36c,_0xe69ae2:0x358,_0x1aaa0a:0x38c,_0x3b2d5c:0x326,_0x395401:0x1e5,_0x4aaf38:0x1f7,_0xf7f33e:0x340,_0x48e446:0x267,_0x5f46d2:0x301,_0x428e07:0x2d6,_0x5ddd2b:0x2e7,_0x352992:0x212,_0x91986d:0x1a9,_0x3a37f5:0x1d9,_0x385410:0x252,_0x3478cb:0x207,_0x338766:0x1b3,_0x544e6f:0x18a,_0x1009ec:0x13a,_0xa97de5:0x1a5,_0x3729b9:0x190,_0x32325d:0x198,_0x5be1fc:0x247,_0x5a59e1:0x1d3,_0x3ab9d2:0x345,_0x53bd25:0x359,_0x2a8105:0x39c,_0x54601c:0x1da,_0x7a7754:0x1d0,_0x43871b:0x22d,_0x56f181:0x35f,_0x10662d:0xdf,_0x32a94e:0x231,_0x2b15e7:0x29c,_0x1bfb2d:0x2b9,_0x247406:0x324,_0x135b09:0x290,_0x55284b:0x2d3,_0xcf26a3:0x283,_0x55078c:0x19e,_0x4fce39:0x1bb,_0x858183:0x3b4,_0x2178df:0x357,_0x396b33:0x3b9,_0x577e9c:0x2c9,_0x2faee7:0x2fb,_0x5d5d13:0x282,_0x5bd2a9:0x216,_0x54d862:0x1eb,_0x35fca0:0x1d4,_0x6a6ff8:0x1a5,_0x2ac3a1:0x2d6,_0xbd9aed:0x297,_0x2a3a9b:0x1df,_0x46b60a:0x205,_0x5659c4:0x1f4,_0x5db96c:0x1b2,_0x160592:0x153,_0x4583c0:0x1aa,_0x1b3bb9:0x2e1,_0x2e3f5b:0x27e,_0x3ea375:0x2ec,_0x17d344:0x34a,_0xb2165f:0x2bc,_0x510a0c:0x271,_0x3f3c1b:0x1cb,_0x1e0029:0x215,_0x15300f:0x31f,_0x36bec2:0x28d,_0x5b6990:0x232,_0x260131:0x209,_0x2f90ab:0x1a8,_0x5f2302:0x1f9,_0x1610ce:0x1e7,_0x1a5b65:0x11e,_0x5c85dd:0x19e,_0x598c3b:0x18a,_0x5d7382:0x1cb,_0x3581d2:0x14c,_0x7632fa:0x17a,_0xd1d6cc:0x145,_0x4d4852:0x33e,_0xe6b71:0x276,_0x31e21c:0x1a4,_0x5f531d:0x1c0,_0x1e8c9f:0x2ff,_0x12da51:0x327,_0x204ba0:0x35b,_0x13de29:0x328,_0x67074b:0x2af,_0x3ff6d3:0x2ca,_0xce50bd:0x2e7,_0x473f72:0x360,_0x5091f:0x177,_0x2ef2d3:0x149,_0x34241c:0x240,_0xc70c4d:0x2e7,_0x32ad0d:0x13f,_0x128fe6:0x194,_0x4d3a3b:0x18d,_0x5bcccb:0x11b,_0x47220c:0x194,_0x1e439d:0x1f7,_0x2668ba:0x18f,_0x467921:0x2bd,_0x1bd86d:0x32c,_0x577047:0x382,_0x48e9fe:0x159,_0x4ad286:0x206,_0x4aa1b5:0x272,_0x3adff4:0x2c7,_0xc58f02:0x303,_0x1526c8:0x166,_0x3abdf2:0x207,_0x4b8dcd:0x19c,_0xdb0e17:0x153,_0x4e9da6:0x1a4,_0x57191b:0x292,_0x4eed3d:0x33f,_0x138075:0x36d,_0x4a3123:0x2e4,_0xb279a7:0x2ee,_0x24b090:0x2c0,_0x3683e2:0x255,_0x5656a1:0x363,_0x2e5771:0x3c4,_0x557776:0xda,_0xf01c5b:0x12f,_0x401ff8:0x2f1,_0x4cb254:0x2b7,_0x15a47d:0x2e2,_0x28afeb:0x296,_0x321da1:0x2c7,_0x3e7247:0xf6,_0x5fde84:0x123,_0x347b34:0x16d,_0x33e6f0:0x199,_0x58e500:0x31d,_0x53ae99:0x35c,_0x5a0710:0x357,_0x377cf0:0x220,_0x2abac3:0x1fd,_0xdb184f:0x1fd,_0x1cc794:0x1f6,_0x382c55:0x21e,_0x3a43a9:0x11f,_0xbef8be:0xd3,_0x4342eb:0x205,_0x40a88d:0x1cb,_0x1f4fcb:0x19b,_0x5c0d7b:0x1e7,_0x34be82:0x145,_0x559a6d:0x188,_0x54d638:0x3cf,_0x546d96:0x322,_0x1e9748:0x185,_0x4b80d8:0x1e9,_0x33df9f:0xd5,_0x340ce3:0x164,_0x1c54f1:0x140,_0x7dc101:0x188,_0x354ba1:0x31a,_0x161eb4:0x352,_0x4f5239:0x239,_0x480482:0x1bd,_0x53b82a:0x1c5,_0x58843d:0x318,_0x31bfc5:0x311,_0x4dfe31:0x192,_0x141ce1:0x1ee,_0x316de4:0x113,_0x4b1c2f:0x133,_0x32d678:0x250,_0x808c3a:0x2a0,_0x3bb758:0x185,_0x4f1579:0x1c8,_0x2c86bb:0x2d0,_0x4b96d9:0x34e,_0x314168:0x22a,_0x51ff1b:0xed,_0x377cbf:0x151,_0x1d482d:0x2a3,_0x13fa46:0x2a8,_0x4aab9b:0x162,_0x1c3a7f:0x155,_0x50d0f4:0xca,_0xf6dbc2:0x16d,_0x3800dd:0x29b,_0x528a95:0x285,_0x31cc43:0x312,_0x5bc668:0x322,_0xd69717:0x2bd,_0x30f9c3:0x16a,_0x13d2c3:0x1fb,_0x5c5e6a:0x194,_0x4a34df:0x172,_0x28ebee:0x185,_0x3f7659:0xce,_0x3fd823:0x28d,_0x51117:0x2fb,_0x3db209:0x333,_0x1e26da:0x282,_0x16c8f1:0x2d3,_0x23edda:0x25a,_0x3c1f5c:0x281,_0x1344c7:0x203,_0x5cdf1d:0x17c,_0x18e750:0xda,_0x3876e3:0x15b,_0x59c6e4:0x141,_0x47c7ba:0xf1,_0x430e2c:0x329,_0x233df3:0x24e,_0x3a3565:0x226,_0x1fa0e0:0x216,_0xe9b07:0x1c6,_0x1f026c:0x1d5,_0x3cdc8a:0x18a,_0x2c8d1e:0x299,_0x178d34:0x2fe,_0x22dbf4:0x22e,_0x27137a:0x1ea,_0x4a7f9f:0x251,_0x407e93:0x2e5,_0x121608:0x299,_0x3858d9:0x2f4,_0x2f23c0:0x2e7,_0x3f8bf3:0x2cd,_0x39934b:0x284,_0x49c748:0x262,_0x561e4a:0x2e6,_0x111206:0x229,_0x17c272:0x35a,_0x1514e0:0x335},_0x3bc6ed={_0x55fe10:0xbe,_0xfda508:0x14a};function _0x2256ca(_0x40a34a,_0x2d042c,_0x554de2,_0x47e8b8){return _0xa5eed2(_0x2d042c,_0x2d042c-_0x3bc6ed._0x55fe10,_0x554de2-_0x3bc6ed._0xfda508,_0x554de2- -0x564);}function _0x292832(_0x9b0e84,_0x6a608c,_0x23647e,_0x1e8ea2){return _0x5df085(_0x9b0e84-0xca,_0x6a608c-0x15b,_0x6a608c-0x4b3,_0x9b0e84);}const _0xc1f84f={'ydTIr':_0x292832(_0x465900._0x2f3fc7,_0x465900._0x5b15c0,_0x465900._0x695889,_0x465900._0x58e018)+'ign\x20role','BZkeH':'Forbidden','wJNtb':_0x292832(_0x465900._0x120bc6,_0x465900._0x51200a,_0x465900._0x55316f,0x3aa)+_0x292832(_0x465900._0x3e45bb,0x364,_0x465900._0x5336a5,0x30b)+'gs','idwiG':function(_0x374a4a,_0xd17ad5){return _0x374a4a===_0xd17ad5;},'iBNuN':'server','asRtI':_0x292832(_0x465900._0x2c76d8,_0x465900._0x20d2f8,_0x465900._0x13191f,_0x465900._0x452849)+'t','eZomb':_0x292832(0x27d,_0x465900._0xce5e22,0x20a,_0x465900._0x275e1e)+_0x2256ca(-_0x465900._0x35b75c,-_0x465900._0x294670,-0x178,-_0x465900._0x569756)+'e\x20\x22environ'+'ment\x22,\x20\x22te'+_0x2256ca(-0x17b,-0x1a8,-0x1e1,-_0x465900._0x1c105f)+_0x2256ca(-_0x465900._0x3da49d,-0x1c0,-0x19d,-_0x465900._0x510121),'rzFvR':'Conflict','tWFSA':function(_0x2702e2,_0x498347){return _0x2702e2||_0x498347;},'HlyMk':'subject_ty'+_0x2256ca(-0x14c,-0x14f,-_0x465900._0x148ced,-0x144)+_0x292832(0x375,0x353,0x315,0x344)+'_id,\x20and\x20r'+_0x292832(_0x465900._0x504306,_0x465900._0x3681cc,_0x465900._0x1595a0,_0x465900._0x6044b2)+'pe\x20are\x20req'+_0x292832(0x23b,_0x465900._0x42a6ff,_0x465900._0x5a439c,0x31a),'HJShh':_0x292832(0x2c6,0x2dc,0x2b2,0x312),'yTQyP':'user','mhOxR':function(_0x385772,_0x4514f3){return _0x385772!==_0x4514f3;},'jiGlZ':_0x2256ca(-_0x465900._0x4160b0,-0x22c,-_0x465900._0x567d2a,-0x246),'NKbDw':_0x2256ca(-0x167,-0x1ef,-_0x465900._0x320599,-0x1d8)+_0x292832(0x2e3,0x2a8,_0x465900._0xbe18fe,_0x465900._0x2ceb7f)+_0x292832(_0x465900._0x32060e,_0x465900._0x443568,_0x465900._0x3557fb,0x2bc)+_0x2256ca(-0x158,-0x1af,-_0x465900._0x11a5e6,-0x1e4),'KDuMt':'environmen'+'t','mzWYJ':_0x292832(_0x465900._0x24cd12,0x335,_0x465900._0x6ac9d1,_0x465900._0x538b10),'zKvfe':function(_0x176f50,_0x13da94){return _0x176f50(_0x13da94);},'NQtRg':_0x292832(_0x465900._0x3c002b,0x2be,_0x465900._0x2d9a22,0x2bf),'fNfCb':_0x2256ca(-0x22d,-_0x465900._0x3c9781,-0x1da,-0x16f),'qjfOZ':'DHuAT','hwIqj':'LvFfp','tPJGc':function(_0x5b5896,_0x2d98f4){return _0x5b5896===_0x2d98f4;},'cbOpJ':_0x2256ca(-_0x465900._0x4fadff,-_0x465900._0x21148c,-_0x465900._0x5a7361,-_0x465900._0x22682d),'RLReK':function(_0x3d5a84,_0x59115b){return _0x3d5a84(_0x59115b);},'EiSUl':function(_0x570564,_0x13072b){return _0x570564===_0x13072b;},'QrxKG':function(_0x55666f,_0x3d4faa){return _0x55666f!==_0x3d4faa;},'JotzO':function(_0xd62ceb,_0x454111){return _0xd62ceb===_0x454111;},'IYbPE':_0x2256ca(-0x25f,-_0x465900._0x56a498,-0x20e,-_0x465900._0x4fa375),'vZfux':function(_0x5a668c,_0x74c611){return _0x5a668c(_0x74c611);},'Vtaiz':_0x2256ca(-0x16a,-_0x465900._0x89e525,-0x1c1,-0x223),'zFJMp':_0x2256ca(-0x1bf,-_0x465900._0x2d4e9c,-0x1de,-0x16c),'pvuvt':function(_0x3437db,_0x96647){return _0x3437db(_0x96647);},'SkvqI':function(_0x22e574,_0x4fbf43,_0x158a15){return _0x22e574(_0x4fbf43,_0x158a15);},'FZkNV':'BbZGl','lRjWM':_0x292832(_0x465900._0x57e313,_0x465900._0x1c44fb,_0x465900._0x581503,_0x465900._0x25ee33),'dWqcU':function(_0x2b65d7,_0x981d82){return _0x2b65d7(_0x981d82);},'nTPSM':_0x2256ca(-0x1ee,-_0x465900._0xdae937,-0x211,-_0x465900._0x491f6f),'lvhmQ':_0x292832(0x282,0x2e1,0x2cb,0x346)+_0x2256ca(-_0x465900._0xa4953b,-0x19f,-_0x465900._0x3bc0e7,-0x17c),'bKsqA':_0x2256ca(-0x19f,-0x195,-0x1d4,-0x1aa)+'ting\x20bindi'+'ng','eTaBO':_0x292832(_0x465900._0x4a63f1,0x32f,0x323,0x35b)+_0x292832(_0x465900._0x3a3521,0x351,_0x465900._0x350dd1,0x3bf)+'r'};try{const {subject_type:_0x22abb6,subject_id:_0x15b863,role_id:_0x151c36,resource_type:_0x546da8,resource_id:_0x3058fa}=_0xa0be7[_0x292832(0x2b3,_0x465900._0x5454cf,0x331,0x364)];if(_0xc1f84f[_0x292832(_0x465900._0x411bdb,_0x465900._0x21f414,_0x465900._0x585019,_0x465900._0x202045)](!_0x22abb6,!_0x15b863)||!_0x151c36||!_0x546da8){const _0x26286b={};return _0x26286b[_0x2256ca(-0x1f2,-0x1e5,-_0x465900._0x5002eb,-0x202)]=_0xc1f84f['asRtI'],_0x26286b['message']=_0xc1f84f[_0x292832(0x2ff,_0x465900._0x16fa6f,_0x465900._0xe5a1a8,0x337)],_0x2d40d3[_0x292832(0x336,0x2e7,_0x465900._0x2c8401,_0x465900._0x25f183)](-0xb*0x83+-0x24aa+0x2bdb)[_0x2256ca(-0x160,-_0x465900._0x121c94,-_0x465900._0xfac68b,-_0x465900._0x37e311)](_0x26286b);}if(![_0xc1f84f[_0x292832(_0x465900._0x5f25e5,_0x465900._0x3ed168,0x245,0x2ca)],_0xc1f84f[_0x292832(_0x465900._0x2b34b5,_0x465900._0x50e1fc,_0x465900._0x5936e2,0x26e)]][_0x2256ca(-0x1a2,-_0x465900._0x1e36f3,-_0x465900._0x48ed26,-_0x465900._0xc220cc)](_0x22abb6)){if(_0xc1f84f['mhOxR'](_0xc1f84f[_0x2256ca(-_0x465900._0x3e767d,-_0x465900._0x372c88,-0x215,-_0x465900._0x227fd4)],_0x292832(_0x465900._0x4614c8,0x29e,0x24a,0x24a)))return _0x2c8fcf['status'](-0x82d+-0x1ee9+0x5cf*0x7)[_0x292832(0x398,_0x465900._0x545060,0x37c,_0x465900._0x465914)]({'error':_0xc1f84f['ydTIr'],'message':_0x2256ca(-0x190,-_0x465900._0x1eb0d7,-0x205,-_0x465900._0x48b5fe)+_0xb7de3f[_0x2256ca(-0x165,-_0x465900._0x5774e2,-_0x465900._0x526238,-0x1e0)]+(_0x292832(0x2f0,_0x465900._0x50b6d8,_0x465900._0x318e75,_0x465900._0x37cbe5)+_0x292832(0x301,_0x465900._0x23d366,_0x465900._0x58e018,_0x465900._0x85d564)+'ns\x20you\x20do\x20'+'not\x20have:\x20')+_0x406a67['missingPer'+_0x2256ca(-0x176,-_0x465900._0x2e1b5f,-_0x465900._0x4b5626,-0x123)][_0x292832(0x350,_0x465900._0x24495b,0x3c0,_0x465900._0x2d1d0c)](',\x20')});else{const _0x4e821c={};return _0x4e821c[_0x2256ca(-0x250,-_0x465900._0x5cdcf8,-0x21d,-0x248)]='Bad\x20Reques'+'t',_0x4e821c['message']=_0xc1f84f['NKbDw'],_0x2d40d3[_0x2256ca(-_0x465900._0x45a76c,-0x172,-_0x465900._0x2843df,-0x1af)](0x84d+-0x8*0x1d8+0x803)[_0x292832(0x38d,_0x465900._0x545060,0x353,0x309)](_0x4e821c);}}if(![_0xc1f84f[_0x2256ca(-_0x465900._0x6cc31d,-_0x465900._0x2215d5,-_0x465900._0x2f25b2,-0x228)],_0x292832(_0x465900._0x5f230c,0x2dc,_0x465900._0x48814b,0x325),_0xc1f84f[_0x2256ca(-0x1b3,-_0x465900._0x526238,-_0x465900._0x5945a7,-_0x465900._0x2f5869)]]['includes'](_0x546da8)){if(_0xc1f84f[_0x292832(0x2f1,_0x465900._0x323216,0x37b,_0x465900._0x49941f)]===_0xc1f84f[_0x292832(0x3ca,_0x465900._0x891c73,0x399,0x391)]){const _0x5e94b7={};return _0x5e94b7[_0x2256ca(-0x1e1,-0x251,-0x21d,-_0x465900._0x17dc30)]=_0x292832(0x26f,0x2c7,0x2d8,0x25e)+'t',_0x5e94b7[_0x292832(0x27b,0x2b9,0x275,0x2e7)]=_0xc1f84f['eZomb'],_0x2d40d3['status'](-0x1a03+0xa*0x359+-0x5e7)[_0x292832(_0x465900._0x2665bf,0x357,_0x465900._0x1b1a63,_0x465900._0x275e1e)](_0x5e94b7);}else{const _0x4f07cd={};return _0x4f07cd['error']=_0x2256ca(-0x1d8,-0x1b9,-0x1d9,-_0x465900._0x400a2c)+'t',_0x4f07cd[_0x2256ca(-0x246,-_0x465900._0x1b11d2,-0x1e7,-_0x465900._0x1d1db8)]='Team\x20\x27'+_0x2a9dce+(_0x292832(_0x465900._0x57176d,_0x465900._0xf29067,_0x465900._0x5d993a,_0x465900._0x5f15cd)+'d'),_0x54c579[_0x2256ca(-0x147,-0x1e0,-0x1b9,-0x205)](0x21ca+0xb*0x202+0x278*-0x16)[_0x2256ca(-0x186,-0x16d,-_0x465900._0x591bdb,-0xd8)](_0x4f07cd);}}const _0x594979=await getRoleById(_0x151c36);if(!_0x594979){const _0x2a8b2c={};return _0x2a8b2c['error']=_0xc1f84f[_0x292832(0x32c,0x2eb,0x2d0,0x279)],_0x2a8b2c[_0x2256ca(-_0x465900._0x5519b0,-0x1a2,-_0x465900._0x300ba3,-0x19b)]=_0x292832(_0x465900._0x5d7986,_0x465900._0x4f9c97,0x319,_0x465900._0x4f9c97)+_0x151c36+('\x27\x20not\x20foun'+'d'),_0x2d40d3[_0x2256ca(-0x1d9,-0x219,-_0x465900._0x5f4892,-0x226)](-0x3*0x241+0x1f86+-0x1733*0x1)[_0x2256ca(-_0x465900._0x2c0155,-_0x465900._0x4b583d,-0x149,-0x13b)](_0x2a8b2c);}const _0x5d3c9d=_0xc1f84f[_0x292832(0x2f6,0x2f2,0x2dd,_0x465900._0x58d6cf)](inferRoleResourceType,_0x594979['permission'+'s']);if(_0x5d3c9d&&_0xc1f84f[_0x292832(_0x465900._0x48ffe8,_0x465900._0x57eef9,0x287,0x29a)](_0x5d3c9d,_0x546da8)){if(_0x2256ca(-_0x465900._0x3b2447,-_0x465900._0x2d4e9c,-_0x465900._0x5386bc,-0x1ed)===_0xc1f84f[_0x292832(_0x465900._0x3d04a8,_0x465900._0x4791db,0x2b8,0x26c)]){if(!(_0x594979['permission'+'s']['includes']('*')&&_0x546da8===_0xc1f84f[_0x292832(0x3bd,0x350,_0x465900._0x19e8ff,_0x465900._0x19e8ff)])){if(_0xc1f84f['fNfCb']===_0xc1f84f[_0x2256ca(-0x22b,-0x22b,-0x1cc,-0x168)]){const _0x5dd38d={};return _0x5dd38d['error']=_0xc1f84f[_0x292832(_0x465900._0x233763,0x2c5,_0x465900._0x4f902f,_0x465900._0x483364)],_0x5dd38d[_0x292832(0x29f,_0x465900._0x221de0,_0x465900._0x19a8d0,0x2d2)]=_0x2256ca(-_0x465900._0x259283,-_0x465900._0x212949,-0x1ba,-_0x465900._0x1b11d2)+_0x292832(_0x465900._0x3090e4,_0x465900._0xe69ae2,0x324,_0x465900._0x1aaa0a)+_0x3a2b28+(_0x292832(0x2e0,_0x465900._0x23d366,_0x465900._0x2d9a22,_0x465900._0x3b2d5c)+_0x2256ca(-0x232,-_0x465900._0x395401,-_0x465900._0x259283,-_0x465900._0x4aaf38)+_0x292832(_0x465900._0xf7f33e,0x2db,_0x465900._0x48e446,_0x465900._0x5f46d2)),_0x354939[_0x292832(_0x465900._0x428e07,_0x465900._0x5ddd2b,0x358,0x2f4)](0x1b85+-0xb4*-0xe+-0x23ca)['json'](_0x5dd38d);}else{const _0x4f0a8e={};return _0x4f0a8e[_0x292832(0x297,0x283,0x2db,0x29d)]=_0x2256ca(-_0x465900._0x352992,-_0x465900._0x91986d,-_0x465900._0x3a37f5,-_0x465900._0x385410)+'t',_0x4f0a8e[_0x2256ca(-0x217,-_0x465900._0x3478cb,-0x1e7,-0x1cb)]=_0x2256ca(-_0x465900._0x338766,-0x11f,-_0x465900._0x544e6f,-_0x465900._0x1009ec)+_0x594979[_0x2256ca(-_0x465900._0xa97de5,-_0x465900._0x3729b9,-0x17e,-_0x465900._0x32325d)]+'\x27\x20has\x20'+_0x5d3c9d+(_0x2256ca(-_0x465900._0x5be1fc,-0x228,-_0x465900._0x5a59e1,-_0x465900._0x2f5869)+_0x292832(0x2dd,_0x465900._0x3ab9d2,_0x465900._0x53bd25,_0x465900._0x2a8105)+_0x2256ca(-0x1a5,-_0x465900._0x54601c,-_0x465900._0x7a7754,-0x248)+'\x20be\x20bound\x20'+_0x292832(_0x465900._0x58e018,0x2f8,0x2c6,0x2fa)+_0x2256ca(-_0x465900._0x43871b,-0x24b,-0x1d8,-0x24f))+_0x546da8+'\x27',_0x2d40d3[_0x292832(_0x465900._0x56f181,_0x465900._0x5ddd2b,0x29d,0x35b)](0x12ae+-0x12bf*-0x2+0x2bb*-0x14)[_0x2256ca(-0x12b,-0x104,-_0x465900._0x591bdb,-_0x465900._0x10662d)](_0x4f0a8e);}}}else{const _0x2bf92f={};_0x2bf92f[_0x292832(_0x465900._0x32a94e,0x283,_0x465900._0x2b15e7,0x2cf)]=_0x49ffc0[_0x292832(0x2c4,_0x465900._0x1bfb2d,_0x465900._0x247406,0x31a)],_0x22ba4f['error'](_0xc1f84f[_0x292832(0x31d,0x2ce,_0x465900._0x135b09,0x29b)],_0x2bf92f);const _0x5fc3c2={};return _0x5fc3c2[_0x292832(_0x465900._0x55284b,_0x465900._0xcf26a3,0x220,0x2f7)]='Internal\x20s'+_0x2256ca(-_0x465900._0x55078c,-_0x465900._0x4fce39,-_0x465900._0x212949,-0x182)+'r',_0x5bc586['status'](-0xcfc+0x226b+0x137b*-0x1)[_0x292832(_0x465900._0x858183,_0x465900._0x2178df,_0x465900._0x3e45bb,_0x465900._0x396b33)](_0x5fc3c2);}}if(_0xc1f84f[_0x292832(_0x465900._0x577e9c,_0x465900._0x2faee7,_0x465900._0x5d5d13,_0x465900._0x25ee33)](_0x22abb6,_0xc1f84f[_0x2256ca(-_0x465900._0x5bd2a9,-_0x465900._0x54d862,-0x20c,-0x1cf)])){if(_0xc1f84f[_0x2256ca(-_0x465900._0x35fca0,-0x1f4,-_0x465900._0x6a6ff8,-0x182)](_0xc1f84f[_0x292832(0x31b,_0x465900._0x2ac3a1,_0x465900._0xcf26a3,_0x465900._0xbd9aed)],_0xc1f84f[_0x2256ca(-_0x465900._0x2a3a9b,-0x1bd,-_0x465900._0x5519b0,-0x162)])){const _0x1dc842=await getTeamById(_0x15b863);if(!_0x1dc842){if(_0xc1f84f[_0x2256ca(-_0x465900._0x46b60a,-0x23a,-_0x465900._0x5659c4,-0x266)](_0x2256ca(-_0x465900._0x5db96c,-0x196,-_0x465900._0x160592,-_0x465900._0x4583c0),_0xc1f84f['cbOpJ'])){const _0x289048={};return _0x289048[_0x292832(0x2d5,_0x465900._0xcf26a3,_0x465900._0x1b3bb9,_0x465900._0x2e3f5b)]=_0xc1f84f['asRtI'],_0x289048['message']=_0x292832(0x315,_0x465900._0x3ea375,_0x465900._0x17d344,0x2bb)+_0x15b863+(_0x292832(0x30f,_0x465900._0xf29067,0x331,0x2b1)+'d'),_0x2d40d3[_0x292832(_0x465900._0xb2165f,_0x465900._0x5ddd2b,_0x465900._0x510a0c,_0x465900._0x2ac3a1)](-0x1*-0x797+-0x1*0x1d73+0x176c)['json'](_0x289048);}else{if(!(_0x5202c6[_0x2256ca(-0x14d,-_0x465900._0x3f3c1b,-0x1c0,-0x1be)+'s'][_0x2256ca(-0x193,-0x251,-0x1ea,-_0x465900._0x1e0029)]('*')&&_0xc1f84f[_0x292832(_0x465900._0x5ddd2b,0x2fb,_0x465900._0x15300f,_0x465900._0x36bec2)](_0xfe00a9,_0xc1f84f['iBNuN']))){const _0x48662d={};return _0x48662d[_0x2256ca(-0x1d8,-_0x465900._0x5b6990,-_0x465900._0x5002eb,-_0x465900._0x260131)]=_0x2256ca(-_0x465900._0x2f90ab,-_0x465900._0x491f6f,-0x1d9,-0x1a0)+'t',_0x48662d[_0x2256ca(-_0x465900._0x5f2302,-0x204,-_0x465900._0x1610ce,-_0x465900._0x6cc31d)]=_0x2256ca(-_0x465900._0x1a5b65,-_0x465900._0x5c85dd,-_0x465900._0x598c3b,-0x124)+_0x3206f6[_0x2256ca(-0x114,-0x178,-0x17e,-_0x465900._0x5d7382)]+_0x2256ca(-_0x465900._0x3581d2,-0x186,-_0x465900._0x7632fa,-_0x465900._0xd1d6cc)+_0xdbe90+(_0x292832(0x32e,0x2cd,_0x465900._0x4d4852,_0x465900._0xe6b71)+_0x2256ca(-0x1c3,-_0x465900._0x31e21c,-0x15b,-_0x465900._0x5f531d)+_0x292832(0x34b,0x2d0,_0x465900._0x1e8c9f,0x2d1)+_0x292832(0x344,_0x465900._0x12da51,_0x465900._0x204ba0,0x2b9)+_0x292832(0x2a6,0x2f8,_0x465900._0x13de29,_0x465900._0x67074b)+_0x292832(0x2e0,0x2c8,_0x465900._0x3ff6d3,0x279))+_0x46ec79+'\x27',_0x2596c6[_0x292832(0x2ab,_0x465900._0xce50bd,_0x465900._0x473f72,0x2ee)](0x3*0x804+-0x2355+0xcd9)[_0x2256ca(-0x19b,-_0x465900._0x5091f,-_0x465900._0x2ef2d3,-0x14a)](_0x48662d);}}}}else _0x5a076b=_0xf7faa;}else{if(_0xc1f84f[_0x292832(0x2b9,0x29a,_0x465900._0x34241c,_0x465900._0xc70c4d)](_0x2256ca(-0x1c7,-_0x465900._0x32ad0d,-_0x465900._0x128fe6,-_0x465900._0x4d3a3b),_0x2256ca(-0x14a,-_0x465900._0x5bcccb,-_0x465900._0x47220c,-0x191))){const _0x18adc8={};return _0x18adc8[_0x2256ca(-0x1c8,-_0x465900._0x1e439d,-0x21d,-0x206)]=_0xc1f84f[_0x2256ca(-_0x465900._0x2668ba,-0x184,-0x1b5,-0x17c)],_0x18adc8[_0x292832(_0x465900._0x467921,0x2b9,0x31b,0x2da)]=_0x292832(_0x465900._0x2178df,0x316,_0x465900._0x1bd86d,0x31e)+_0x2458bb+(_0x292832(0x2fa,_0x465900._0x1595a0,_0x465900._0x577047,_0x465900._0x36bec2)+'d'),_0x349ce8['status'](0x15ad+0x10d*0x23+-0x38e4)[_0x2256ca(-0x16b,-0x182,-0x149,-0x10d)](_0x18adc8);}else{const _0x21b930=await _0xc1f84f[_0x2256ca(-_0x465900._0x48e9fe,-0x175,-0x170,-_0x465900._0x35b75c)](findUserById,_0x15b863);if(!_0x21b930){const _0x252c4e={};return _0x252c4e[_0x2256ca(-_0x465900._0x4ad286,-0x1a4,-0x21d,-0x206)]=_0x292832(_0x465900._0x4aa1b5,_0x465900._0x3adff4,0x309,_0x465900._0xc58f02)+'t',_0x252c4e['message']=_0x2256ca(-_0x465900._0x1526c8,-_0x465900._0x3abdf2,-_0x465900._0x4b8dcd,-0x154)+_0x15b863+(_0x2256ca(-0x1bc,-_0x465900._0xdb0e17,-0x198,-_0x465900._0x4e9da6)+'d'),_0x2d40d3[_0x292832(_0x465900._0x57191b,0x2e7,0x2ac,0x34a)](-0x869+-0x920+0x1319)[_0x292832(_0x465900._0x4eed3d,0x357,0x371,_0x465900._0x138075)](_0x252c4e);}}}if(_0xc1f84f[_0x292832(0x26f,_0x465900._0x4a3123,0x35a,0x2c2)](_0x546da8,_0xc1f84f[_0x292832(_0x465900._0xb279a7,0x2bc,_0x465900._0x24b090,_0x465900._0x3683e2)])&&_0x3058fa&&_0xc1f84f[_0x292832(_0x465900._0x695889,_0x465900._0x5656a1,_0x465900._0x2e5771,0x395)](_0x3058fa,'*')){if(!await environmentExists(_0x3058fa)){if(_0xc1f84f[_0x2256ca(-_0x465900._0x557776,-_0x465900._0x3581d2,-_0x465900._0xf01c5b,-0xfb)](_0xc1f84f['IYbPE'],_0xc1f84f[_0x292832(_0x465900._0x401ff8,_0x465900._0x4cb254,_0x465900._0x15a47d,0x2ee)])){const _0x29d7b3={};return _0x29d7b3[_0x292832(0x2eb,0x283,0x217,_0x465900._0x28afeb)]=_0x292832(0x2d7,_0x465900._0x321da1,0x2cf,_0x465900._0x55284b)+'t',_0x29d7b3[_0x2256ca(-0x1ba,-0x207,-0x1e7,-0x19f)]='Environmen'+_0x2256ca(-_0x465900._0x3e7247,-_0x465900._0x5fde84,-_0x465900._0x347b34,-0x1de)+_0x3058fa+(_0x2256ca(-_0x465900._0x33e6f0,-0x154,-0x198,-0x188)+'d'),_0x2d40d3[_0x292832(0x26d,0x2e7,_0x465900._0x58e500,0x2f5)](-0x1e16+0x1e7e+0x128)[_0x292832(_0x465900._0x53ae99,_0x465900._0x5a0710,0x370,0x339)](_0x29d7b3);}else{const _0x192f09={};return _0x192f09[_0x2256ca(-_0x465900._0x377cf0,-0x1e4,-_0x465900._0x5002eb,-_0x465900._0x2abac3)]=_0xc1f84f['asRtI'],_0x192f09[_0x2256ca(-_0x465900._0xdb184f,-0x1b4,-0x1e7,-0x1bf)]=_0xc1f84f[_0x2256ca(-0x265,-_0x465900._0x1cc794,-_0x465900._0x382c55,-0x269)],_0x39dfe1[_0x292832(0x2fd,0x2e7,0x31b,_0x465900._0x57e313)](0xd11+0x496*-0x4+0x6d7)[_0x2256ca(-_0x465900._0x3a43a9,-0x152,-0x149,-_0x465900._0xbef8be)](_0x192f09);}}}if(_0xc1f84f['JotzO'](_0x546da8,_0xc1f84f[_0x2256ca(-0x24d,-_0x465900._0x4342eb,-0x20c,-_0x465900._0x40a88d)])&&_0x3058fa&&_0x3058fa!=='*'){const _0x32cd84=await getTeamById(_0x3058fa);if(!_0x32cd84){const _0x30da45={};return _0x30da45['error']=_0xc1f84f['asRtI'],_0x30da45[_0x2256ca(-_0x465900._0x1f4fcb,-_0x465900._0x4fa375,-_0x465900._0x5c0d7b,-_0x465900._0x1e36f3)]=_0x2256ca(-_0x465900._0x34be82,-0x150,-0x1b4,-_0x465900._0x559a6d)+_0x3058fa+(_0x292832(0x353,0x308,0x347,_0x465900._0x57eef9)+'d'),_0x2d40d3[_0x292832(0x324,_0x465900._0xc70c4d,0x30d,0x292)](0x263*0xb+-0x2*-0x62+0x13*-0x157)[_0x292832(0x2f2,_0x465900._0x3e45bb,_0x465900._0x54d638,_0x465900._0x546d96)](_0x30da45);}}const _0x8a4edd=await _0xc1f84f['vZfux'](hasAllPermissions,_0xa0be7[_0x2256ca(-0x1a8,-0x1d3,-_0x465900._0x1e9748,-_0x465900._0x4b80d8)]['id']);if(!_0x8a4edd){if(_0xc1f84f['mhOxR'](_0xc1f84f[_0x2256ca(-_0x465900._0x33df9f,-_0x465900._0x340ce3,-_0x465900._0x1c54f1,-_0x465900._0x7dc101)],_0xc1f84f['zFJMp'])){const _0x375b25=_0xc1f84f[_0x292832(_0x465900._0x354ba1,0x338,_0x465900._0x161eb4,0x371)](getManagePermission,_0x546da8);if(_0x375b25){const _0x538c6a=_0x546da8===_0xc1f84f['iBNuN']?null:_0x3058fa,_0x487354=await hasPermission(_0xa0be7['user']['id'],_0x375b25,_0x538c6a);if(!_0x487354){const _0x322412={};return _0x322412[_0x292832(0x20f,_0x465900._0xcf26a3,0x278,_0x465900._0x4f5239)]=_0xc1f84f['BZkeH'],_0x322412['message']=_0x2256ca(-_0x465900._0x480482,-0x186,-0x1ba,-_0x465900._0x53b82a)+'\x20have\x20'+_0x375b25+(_0x292832(_0x465900._0x58843d,_0x465900._0x23d366,0x307,0x31f)+_0x292832(0x31a,0x2b4,0x284,_0x465900._0x31bfc5)+_0x2256ca(-0x228,-_0x465900._0x4dfe31,-0x1c5,-_0x465900._0x141ce1)),_0x2d40d3['status'](-0x22a2+-0xf20+0x1*0x3355)[_0x2256ca(-_0x465900._0x316de4,-_0x465900._0x4b1c2f,-0x149,-0x17a)](_0x322412);}}const _0x176d59=_0x546da8===_0xc1f84f[_0x292832(_0x465900._0x32d678,0x2bc,0x317,0x246)]?await _0xc1f84f[_0x292832(0x25d,_0x465900._0x808c3a,0x30d,0x290)](resolveUserPermissions,_0xa0be7[_0x2256ca(-0x158,-0x15b,-_0x465900._0x3bb758,-0x15f)]['id'],_0x3058fa):['*'],_0x379991=_0xc1f84f[_0x2256ca(-_0x465900._0x4f1579,-0x215,-0x200,-_0x465900._0x4aa1b5)](isPermissionSubsetOf,_0x594979[_0x292832(0x2a8,0x2e0,_0x465900._0x2c86bb,_0x465900._0x4b96d9)+'s'],_0x176d59);if(!_0x379991['allowed']){if(_0xc1f84f[_0x2256ca(-0x25d,-_0x465900._0x314168,-0x223,-0x1ad)]!==_0xc1f84f[_0x2256ca(-0x1a5,-_0x465900._0x51ff1b,-_0x465900._0x377cbf,-0x135)])return _0x2d40d3[_0x292832(_0x465900._0x1d482d,0x2e7,0x33d,_0x465900._0x13fa46)](-0x24b9+-0xb*0x68+0x2ac4)[_0x2256ca(-0xfd,-0x13d,-0x149,-_0x465900._0x4aab9b)]({'error':_0x2256ca(-_0x465900._0x1c3a7f,-_0x465900._0x50d0f4,-_0x465900._0x21148c,-_0x465900._0xf6dbc2)+'ign\x20role','message':_0x292832(0x2e8,_0x465900._0x3800dd,_0x465900._0x528a95,0x295)+_0x594979[_0x292832(_0x465900._0x31cc43,_0x465900._0x5bc668,0x2cb,0x2d6)]+(_0x292832(_0x465900._0xd69717,0x31a,0x375,0x347)+_0x292832(0x338,0x2ef,0x330,0x296)+_0x2256ca(-_0x465900._0x21148c,-_0x465900._0x30f9c3,-0x15f,-0x1ae)+_0x2256ca(-_0x465900._0x13d2c3,-_0x465900._0x5c5e6a,-0x1eb,-0x260))+_0x379991[_0x2256ca(-0x1b3,-0x11b,-0x13a,-0x153)+'missions'][_0x2256ca(-_0x465900._0x4a34df,-_0x465900._0x28ebee,-0x132,-_0x465900._0x3f7659)](',\x20')});else _0x12b13c=_0x33fabd['filter'](_0x2b32d4=>_0x2b32d4[_0x2256ca(-0x1a7,-0x1e0,-0x1dd,-0x230)+'pe']===_0x241dd7[_0x2256ca(-0x188,-0x1b7,-0x13e,-0x164)][_0x2256ca(-0x177,-0x1fd,-0x1dd,-0x1bb)+'pe']);}}else _0xbbf4d6=_0x479ab4[_0x292832(0x2c2,_0x465900._0x3557fb,0x280,_0x465900._0x32a94e)](_0x2f238b=>_0x2f238b[_0x2256ca(-0x101,-0xdf,-0x158,-0x183)]===_0x5a9d26['query']['subject_id']);}const _0x50c235=await _0xc1f84f[_0x292832(0x2dc,0x2f5,_0x465900._0x3fd823,0x28a)](createBinding,{'subject_type':_0x22abb6,'subject_id':_0x15b863,'role_id':_0x151c36,'resource_type':_0x546da8,'resource_id':_0xc1f84f[_0x292832(0x312,_0x465900._0x51117,_0x465900._0x3db209,_0x465900._0x1e26da)](_0x546da8,_0xc1f84f['iBNuN'])?undefined:_0x3058fa,'created_by':_0xa0be7[_0x2256ca(-0x16d,-_0x465900._0x40a88d,-0x185,-0x1ba)]['id']}),_0x21c97e={};return _0x21c97e[_0x292832(_0x465900._0x16c8f1,_0x465900._0x221de0,0x322,0x288)]='Binding\x20cr'+_0x292832(_0x465900._0x23edda,_0x465900._0x3c1f5c,0x26e,0x23b)+_0x2256ca(-_0x465900._0x1344c7,-_0x465900._0x5cdf1d,-0x188,-0x143),_0x21c97e[_0x2256ca(-_0x465900._0x18e750,-_0x465900._0x3876e3,-_0x465900._0x59c6e4,-_0x465900._0x47c7ba)]=_0x50c235,_0x2d40d3['status'](-0xb*-0x1e0+-0x1565+0x18e)[_0x292832(0x333,0x357,0x2eb,0x31e)](_0x21c97e);}catch(_0x5ed482){if(_0xc1f84f[_0x292832(_0x465900._0x430e2c,_0x465900._0x577e9c,_0x465900._0x233df3,_0x465900._0x3683e2)]!==_0xc1f84f['nTPSM']){const _0x415303={};return _0x415303[_0x2256ca(-0x1d4,-0x285,-_0x465900._0x5002eb,-_0x465900._0x3a3565)]=_0xc1f84f[_0x2256ca(-_0x465900._0x1fa0e0,-_0x465900._0xe9b07,-_0x465900._0x1f4fcb,-_0x465900._0x1f026c)],_0x415303['message']=_0x359c07['message'],_0x4b729e[_0x2256ca(-_0x465900._0x314168,-_0x465900._0x480482,-0x1b9,-_0x465900._0x3cdc8a)](-0x1ce4+-0x1bfd*0x1+0x3a7a)[_0x292832(_0x465900._0x58843d,0x357,0x39f,_0x465900._0x5936e2)](_0x415303);}else{if(_0x5ed482[_0x292832(_0x465900._0x3681cc,0x2b9,_0x465900._0x2c8d1e,_0x465900._0x178d34)][_0x2256ca(-0x20b,-_0x465900._0x22dbf4,-_0x465900._0x27137a,-_0x465900._0x4a7f9f)](_0xc1f84f['lvhmQ'])){const _0x31f8e8={};return _0x31f8e8['error']=_0x292832(_0x465900._0x407e93,_0x465900._0x121608,0x2e8,0x238),_0x31f8e8[_0x292832(0x315,0x2b9,0x2cb,0x329)]=_0x5ed482['message'],_0x2d40d3[_0x292832(_0x465900._0x3858d9,_0x465900._0x2f23c0,0x30a,_0x465900._0x3f8bf3)](0x1*0xd81+-0x1*0x187d+0xc95)[_0x292832(0x33e,_0x465900._0x5a0710,0x3cf,0x2e3)](_0x31f8e8);}const _0x5894f6={};_0x5894f6[_0x2256ca(-_0x465900._0x39934b,-0x28c,-0x21d,-0x1e4)]=_0x5ed482['message'],logger['error'](_0xc1f84f['bKsqA'],_0x5894f6);const _0x330991={};return _0x330991[_0x292832(_0x465900._0x49c748,0x283,_0x465900._0x561e4a,_0x465900._0x111206)]=_0xc1f84f[_0x292832(_0x465900._0x53bd25,0x2f6,0x30a,_0x465900._0x17c272)],_0x2d40d3[_0x292832(0x2da,_0x465900._0xc70c4d,_0x465900._0x16c8f1,_0x465900._0x1514e0)](-0x6b9+-0x14d6+0x1d83)['json'](_0x330991);}}}),router['put'](_0xa5eed2(0x2e8,0x387,0x305,0x35b),async(_0x55fa28,_0x24c39e)=>{const _0x5a0dd6={_0x3d980b:0x3ad,_0x2d9034:0x342,_0x39184e:0x38c,_0x508a59:0xfc,_0x3c0add:0xbd,_0x29dee1:0x8e,_0x1c15c0:0xa2,_0x42410e:0x3c3,_0x306f42:0x3f9,_0x3fc25f:0x3d0,_0x43a072:0x105,_0x45f415:0xf8,_0x3325fb:0x3a8,_0x2056e1:0x3b7,_0x3a39bf:0x402,_0x23bfac:0x3cb,_0x5a5059:0x3a0,_0xfc4a15:0xa1,_0x22e316:0x50,_0x1f3109:0x3a1,_0x40163c:0x401,_0x1b448c:0x3e1,_0x367412:0x39a,_0x3cb02a:0x3d3,_0x544573:0x34b,_0xef8ac7:0x344,_0xb6a393:0x3b4,_0xf21c1e:0x40d,_0x537d03:0x368,_0x5dce07:0x3bf,_0x483003:0xc9,_0x1a2d51:0xaf,_0x3430f4:0xf3,_0x13b8cd:0x3c6,_0x47e753:0x3a5,_0x568d9:0x3c6,_0x8cdd49:0x18f,_0x1e1c65:0x144,_0x2252fc:0x18e,_0x1d9334:0x367,_0x3b9a2:0x400,_0x222c2f:0xcc,_0x4ae849:0x31,_0x1bb331:0x405,_0x4686ea:0x153,_0x5ba66c:0x169,_0x6689ff:0x3a2,_0x5f0aa5:0x34f,_0x44ded0:0x3bd,_0x5c3cdc:0x3eb,_0x203202:0x158,_0x5c293:0xe3,_0xab33d9:0x129,_0x35888f:0x16a,_0x1ed4d1:0x153,_0x1e7327:0x175,_0x412403:0x14b,_0x4b21b8:0xf0,_0x365a6a:0xe4,_0x124967:0x76,_0x3dd483:0x349,_0x5dec8c:0x3c0,_0x34a417:0x3d7,_0x270d87:0x3af,_0x66b902:0x462,_0x3ade73:0x410,_0x9a0c13:0x3e3,_0x4f76b4:0x9c,_0x5a1c6e:0x411,_0x4f2600:0x3d8,_0x34a950:0xf1,_0x193c8a:0xe1,_0x24f20e:0x337,_0x2081af:0x9a,_0xa837eb:0xeb,_0x1ebc91:0xee,_0x14e9ac:0x421,_0x59ea6a:0x46c,_0x5a4a2a:0x440,_0x5eff17:0x147,_0x129b25:0x111,_0x5cab26:0xa0,_0x160051:0x42e,_0x269d08:0x3e9,_0x264226:0x96,_0x5bfe9e:0x7d,_0x52a299:0xc5,_0xc6fff0:0x4a,_0x259489:0xe8,_0x31ea2b:0x1ca,_0xe155b:0x184,_0x252e11:0x32e,_0x345645:0x3e6,_0x51e149:0x3db,_0x190a63:0x156,_0x38d38b:0x102,_0x1aaed4:0xbc,_0x131e8b:0xc8,_0x562f3b:0xe8,_0x4852b9:0x42d,_0x4e04e1:0x48b,_0x2622aa:0x41c,_0x491e92:0x374,_0x4bdad8:0x409,_0x458c0c:0x366,_0x309b06:0x3e0,_0x53fc44:0x362,_0x5e5eea:0x3bb,_0x11b9bd:0xd0,_0x15547c:0x8f,_0xe46319:0x2a,_0x23b273:0xe6,_0x4c84da:0x14a,_0x27f467:0xc9,_0x2e3c76:0x10d,_0xa0add8:0xa9,_0x20d48b:0xd3,_0x424b18:0x69,_0x28e4db:0xe1,_0x5614e7:0xbf,_0x4bb950:0x145,_0x49f514:0x151,_0xdfd376:0x173,_0x575826:0x332,_0x38c4f4:0xcf,_0x9874f7:0x55,_0x2c63b9:0x3cd,_0x1637c1:0x1bb,_0x35eb37:0x15b,_0x16eafd:0xe2,_0x4f4a02:0x82,_0x392deb:0xde,_0x3d3344:0x13c,_0x442ab6:0xe1,_0x3d4f8a:0x12b,_0x20616e:0x177,_0x3a30c9:0x30d,_0x2c9168:0x330,_0x446116:0xe1,_0x18958e:0xfa,_0x239ff4:0x79,_0x3d75bc:0xc,_0x52e813:0x7d,_0x4eff9f:0xad,_0x2adecf:0xeb,_0x34d155:0xb3,_0x5eff62:0x497,_0x45d3ac:0x318,_0xf4bad0:0xd8,_0x48e08d:0x151,_0x3b5f36:0xe0,_0x392f97:0x93,_0x24eca6:0x152,_0x35f63f:0xe9,_0x5a201c:0xb6,_0x1c841e:0x137,_0x267992:0x40c,_0x3393ee:0x449,_0x24c207:0x38a,_0x59fda3:0x3a9,_0x3c76d4:0x34d,_0x237bca:0x2d4,_0x440dce:0x11d,_0x28df4f:0x178,_0x19ffcc:0x127,_0x45c015:0x17c,_0x4ac51b:0x376,_0x223423:0x37f,_0x4b9325:0xd9,_0x2adf6a:0x360,_0x15e0e2:0x3c5,_0x5e13a0:0xaf,_0xf828c7:0xc0,_0x3d656f:0x125,_0x5254be:0x36c,_0x5e85da:0x154,_0x33dd4f:0xe9,_0x28ce15:0x8a,_0x4e6450:0x14e,_0x39e70c:0x10b,_0x14dbcd:0x13b,_0x38013a:0x5d,_0x2f3a87:0x3ce,_0x236eb4:0x48f,_0x587c4e:0x433,_0x57d635:0x3f5,_0x1e5d85:0x452,_0x3fec73:0x3b5,_0x515bb8:0x9f,_0x29534e:0xed,_0x206e02:0xa3,_0x41146a:0x46,_0x1c5057:0x87,_0x1f1c5a:0x447,_0x32ad01:0x42c,_0x3a7d21:0x471,_0x1cc985:0x421,_0x7953a8:0xf7,_0x9d9536:0x325,_0xd298ab:0x37e,_0x40f39d:0xba,_0x40c190:0x2f0,_0x549906:0x361,_0x9dcc81:0x348,_0x58cf25:0x107,_0x56531f:0x18a,_0x25a1ba:0x152,_0x1563e7:0xf8,_0x1a8cf7:0xb1,_0x1fb8ea:0x98,_0x40e1a0:0x83},_0x4d01d7={_0x144b17:0x19e,_0xa8e9fa:0x20},_0x398258={_0x351a71:0x39,_0x35d2ab:0x1be,_0x3c65f5:0x2ad};function _0x482a87(_0x3a3070,_0x1fb032,_0x732aa0,_0x2668cd){return _0x5df085(_0x3a3070-_0x398258._0x351a71,_0x1fb032-_0x398258._0x35d2ab,_0x732aa0-_0x398258._0x3c65f5,_0x3a3070);}const _0x420600={'SOMsL':_0x482a87(0x8b,0xd4,0xbd,0xf8)+_0x59e60c(0x377,0x396,0x419,_0x5a0dd6._0x3d980b)+_0x59e60c(0x3ad,0x44d,0x465,0x418)+'_id,\x20and\x20r'+'esource_ty'+_0x482a87(0x6a,0x9a,0xc5,0x6f)+'uired','LJZkt':'Binding\x20no'+'t\x20found','OdisK':_0x59e60c(0x393,_0x5a0dd6._0x2d9034,0x346,_0x5a0dd6._0x39184e)+'t','inNMA':_0x482a87(_0x5a0dd6._0x508a59,0xdc,_0x5a0dd6._0x3c0add,0x44)+_0x482a87(0x82,_0x5a0dd6._0x29dee1,_0x5a0dd6._0x1c15c0,0xfa)+_0x59e60c(0x2f7,0x393,0x30b,0x36b)+_0x59e60c(_0x5a0dd6._0x42410e,0x402,_0x5a0dd6._0x306f42,_0x5a0dd6._0x3fc25f),'gNbXk':_0x482a87(0x114,_0x5a0dd6._0x43a072,_0x5a0dd6._0x45f415,0x120)+'t','BhApB':'environmen'+_0x59e60c(0x329,_0x5a0dd6._0x3325fb,_0x5a0dd6._0x2056e1,0x362)+_0x59e60c(_0x5a0dd6._0x3a39bf,0x3f7,0x360,_0x5a0dd6._0x23bfac),'BmMCh':_0x59e60c(0x398,_0x5a0dd6._0x5a5059,_0x5a0dd6._0x3fc25f,0x3a1),'IrAfi':_0x482a87(0x9e,0x38,_0x5a0dd6._0xfc4a15,_0x5a0dd6._0x22e316)+_0x482a87(0x173,0x1b5,0x166,0x1c7)+_0x59e60c(0x3a2,0x44a,_0x5a0dd6._0x1f3109,_0x5a0dd6._0x40163c),'pVeIU':_0x59e60c(_0x5a0dd6._0x1b448c,_0x5a0dd6._0x367412,0x3e4,_0x5a0dd6._0x3cb02a)+'anage','yAOGG':_0x59e60c(0x39c,_0x5a0dd6._0x544573,0x2e3,_0x5a0dd6._0xef8ac7),'jrZhN':function(_0x2302e3,_0x2166cf){return _0x2302e3(_0x2166cf);},'aMQAI':_0x59e60c(_0x5a0dd6._0xb6a393,_0x5a0dd6._0xf21c1e,_0x5a0dd6._0x537d03,_0x5a0dd6._0x5dce07)+_0x482a87(_0x5a0dd6._0x483003,_0x5a0dd6._0x1a2d51,_0x5a0dd6._0x3430f4,0xc3),'kWCAT':function(_0x1cb8e1,_0x37e298){return _0x1cb8e1(_0x37e298);},'DYSPC':'AnPJH','XTzRY':_0x59e60c(_0x5a0dd6._0x13b8cd,0x385,_0x5a0dd6._0x47e753,_0x5a0dd6._0x568d9),'gshNh':function(_0x461bd,_0x3457de){return _0x461bd!==_0x3457de;},'hJPIQ':_0x482a87(_0x5a0dd6._0x8cdd49,0x100,_0x5a0dd6._0x1e1c65,_0x5a0dd6._0x2252fc),'upvNx':_0x59e60c(_0x5a0dd6._0x1d9334,0x38f,_0x5a0dd6._0x3b9a2,0x3d4),'gNaTT':_0x482a87(_0x5a0dd6._0x222c2f,_0x5a0dd6._0x4ae849,0x87,0x35),'iDLQA':function(_0x27ded1,_0x181d5e){return _0x27ded1!==_0x181d5e;},'XNuMO':_0x59e60c(0x406,0x3c1,0x3bc,_0x5a0dd6._0x1bb331),'uSELC':'Forbidden','IJTZC':function(_0x284842,_0x38eb9d){return _0x284842===_0x38eb9d;},'WdaDc':function(_0xc29cee,_0x1cca56,_0x5ee213){return _0xc29cee(_0x1cca56,_0x5ee213);},'aKZUv':_0x482a87(_0x5a0dd6._0x4686ea,0x13a,0x15f,_0x5a0dd6._0x5ba66c)+'ign\x20role','uiutZ':function(_0x558197,_0x3d3690,_0x4b74ca){return _0x558197(_0x3d3690,_0x4b74ca);},'XVQnf':_0x59e60c(0x307,_0x5a0dd6._0x6689ff,0x34a,_0x5a0dd6._0x5f0aa5),'xyRoU':_0x59e60c(0x46a,_0x5a0dd6._0x44ded0,_0x5a0dd6._0x5c3cdc,0x410)+_0x482a87(_0x5a0dd6._0x43a072,0x15e,_0x5a0dd6._0x203202,_0x5a0dd6._0x5c293)+'ng','lrWuy':_0x482a87(0x168,0xd8,_0x5a0dd6._0xab33d9,_0x5a0dd6._0x35888f)+_0x482a87(_0x5a0dd6._0x1ed4d1,_0x5a0dd6._0x1e7327,_0x5a0dd6._0x412403,0x16b)+'r'};function _0x59e60c(_0x1e5ef2,_0x42fba2,_0x1896c5,_0x58ed95){return _0x5df085(_0x1e5ef2-_0x4d01d7._0x144b17,_0x42fba2-_0x4d01d7._0xa8e9fa,_0x58ed95-0x578,_0x1896c5);}try{if(_0x420600[_0x482a87(0xde,_0x5a0dd6._0x4b21b8,_0x5a0dd6._0x365a6a,_0x5a0dd6._0x124967)]===_0x420600[_0x59e60c(_0x5a0dd6._0x3dd483,_0x5a0dd6._0x5dec8c,_0x5a0dd6._0x34a417,_0x5a0dd6._0x270d87)]){const _0x31b236=await _0x420600[_0x59e60c(0x41d,0x490,_0x5a0dd6._0x66b902,0x42d)](getBindingById,_0x55fa28[_0x59e60c(0x3a5,0x3e2,_0x5a0dd6._0x3ade73,_0x5a0dd6._0x9a0c13)]['id']);if(!_0x31b236){const _0x2c2da2={};return _0x2c2da2[_0x482a87(0x8f,0x5a,0x7d,_0x5a0dd6._0x4f76b4)]=_0x420600[_0x59e60c(_0x5a0dd6._0x5a1c6e,0x388,_0x5a0dd6._0x306f42,_0x5a0dd6._0x4f2600)],_0x24c39e[_0x482a87(0x6b,_0x5a0dd6._0x34a950,_0x5a0dd6._0x193c8a,0x155)](0x202*-0x4+-0x3ec*-0x7+-0x11d8)['json'](_0x2c2da2);}const {role_id:_0x2fe44d}=_0x55fa28['body'];if(!_0x2fe44d){const _0x17589f={};return _0x17589f[_0x59e60c(_0x5a0dd6._0x24f20e,0x2e1,0x348,0x348)]=_0x420600[_0x482a87(0x12e,_0x5a0dd6._0x2081af,_0x5a0dd6._0xa837eb,_0x5a0dd6._0x1ebc91)],_0x17589f[_0x482a87(0x12d,0x5e,0xb3,0x102)]=_0x420600['aMQAI'],_0x24c39e[_0x59e60c(0x40c,_0x5a0dd6._0x14e9ac,0x3c0,0x3ac)](-0x15fc+0x1988+-0x1fc)['json'](_0x17589f);}const _0x3b846e=await _0x420600[_0x59e60c(_0x5a0dd6._0x59ea6a,0x3f8,_0x5a0dd6._0x5a4a2a,_0x5a0dd6._0x306f42)](getRoleById,_0x2fe44d);if(!_0x3b846e){if(_0x420600[_0x482a87(_0x5a0dd6._0x5eff17,0xcf,_0x5a0dd6._0x129b25,_0x5a0dd6._0x5cab26)]===_0x420600[_0x59e60c(_0x5a0dd6._0x160051,0x43b,_0x5a0dd6._0x269d08,0x3f7)]){const _0x3c1c7f={};return _0x3c1c7f[_0x482a87(0x62,_0x5a0dd6._0x264226,_0x5a0dd6._0x5bfe9e,_0x5a0dd6._0x52a299)]=_0x482a87(_0x5a0dd6._0xab33d9,_0x5a0dd6._0xc6fff0,0xc1,0x70)+'t',_0x3c1c7f[_0x482a87(0xa4,0xab,0xb3,_0x5a0dd6._0x259489)]=_0x420600['SOMsL'],_0x28cdd8[_0x482a87(_0x5a0dd6._0x4b21b8,0x140,0xe1,0xc3)](-0x17a2+0x2162+-0x418*0x2)[_0x482a87(0x198,_0x5a0dd6._0x31ea2b,0x151,_0x5a0dd6._0xe155b)](_0x3c1c7f);}else{const _0x1cc7f9={};return _0x1cc7f9['error']=_0x59e60c(_0x5a0dd6._0x252e11,0x31e,_0x5a0dd6._0x345645,0x38c)+'t',_0x1cc7f9['message']=_0x59e60c(0x408,0x3d2,_0x5a0dd6._0x6689ff,_0x5a0dd6._0x51e149)+_0x2fe44d+(_0x482a87(_0x5a0dd6._0x190a63,0x99,_0x5a0dd6._0x38d38b,_0x5a0dd6._0x1aaed4)+'d'),_0x24c39e[_0x482a87(_0x5a0dd6._0x131e8b,_0x5a0dd6._0x562f3b,_0x5a0dd6._0x193c8a,0x130)](0x1a5c+0xfb5*-0x1+-0x917)[_0x59e60c(0x3fa,_0x5a0dd6._0x4852b9,_0x5a0dd6._0x4e04e1,_0x5a0dd6._0x2622aa)](_0x1cc7f9);}}const _0x51f60e=await _0x420600[_0x482a87(0x17b,0x196,0x12e,0xc6)](hasAllPermissions,_0x55fa28[_0x59e60c(_0x5a0dd6._0x491e92,_0x5a0dd6._0x4bdad8,_0x5a0dd6._0x458c0c,_0x5a0dd6._0x309b06)]['id']);if(!_0x51f60e){if(_0x420600[_0x59e60c(_0x5a0dd6._0x53fc44,0x378,_0x5a0dd6._0x5e5eea,0x34c)](_0x420600[_0x482a87(0x1a,_0x5a0dd6._0x11b9bd,_0x5a0dd6._0x15547c,0xb6)],_0x420600[_0x482a87(0x40,_0x5a0dd6._0xe46319,0x8f,0xe7)])){const _0x1ab7c2={};return _0x1ab7c2[_0x482a87(0xcd,_0x5a0dd6._0x23b273,0x7d,_0x5a0dd6._0x4f76b4)]=_0x420600[_0x482a87(_0x5a0dd6._0x4c84da,_0x5a0dd6._0x27f467,_0x5a0dd6._0x2e3c76,_0x5a0dd6._0xa0add8)],_0x2f21ee[_0x482a87(_0x5a0dd6._0x20d48b,_0x5a0dd6._0x424b18,_0x5a0dd6._0x28e4db,_0x5a0dd6._0x5614e7)](0x21e5+-0x1405+-0xc4c)[_0x482a87(0x134,_0x5a0dd6._0x4bb950,_0x5a0dd6._0x49f514,_0x5a0dd6._0x1e7327)](_0x1ab7c2);}else{const _0xb1fec7=_0x420600[_0x482a87(_0x5a0dd6._0xdfd376,0x122,0x162,0x1d5)](getManagePermission,_0x31b236[_0x59e60c(_0x5a0dd6._0x575826,_0x5a0dd6._0x5f0aa5,0x337,0x345)+'ype']);if(_0xb1fec7){if(_0x420600[_0x482a87(0x120,0x67,_0x5a0dd6._0x38c4f4,_0x5a0dd6._0x9874f7)]==='KkBug'){const _0x36dd09={};return _0x36dd09[_0x59e60c(0x328,0x2e9,_0x5a0dd6._0x53fc44,0x348)]=_0x420600['OdisK'],_0x36dd09['message']=_0x59e60c(0x3d4,0x452,0x3b3,_0x5a0dd6._0x51e149)+_0x31f631+(_0x59e60c(0x3d4,0x405,_0x5a0dd6._0x1d9334,_0x5a0dd6._0x2c63b9)+'d'),_0x423724['status'](0x128f+-0x27*-0x19+-0x14ce)[_0x482a87(_0x5a0dd6._0x1637c1,_0x5a0dd6._0x35eb37,_0x5a0dd6._0x49f514,_0x5a0dd6._0x16eafd)](_0x36dd09);}else{const _0x515bf7=_0x31b236[_0x482a87(_0x5a0dd6._0x4f4a02,0xb6,0x7a,_0x5a0dd6._0x392deb)+'ype']===_0x420600[_0x482a87(_0x5a0dd6._0x3d3344,_0x5a0dd6._0x442ab6,_0x5a0dd6._0x3d4f8a,_0x5a0dd6._0x20616e)]?null:_0x31b236[_0x59e60c(_0x5a0dd6._0x3a30c9,0x3ee,_0x5a0dd6._0x2c9168,0x376)+'d'],_0x562fff=await hasPermission(_0x55fa28['user']['id'],_0xb1fec7,_0x515bf7);if(!_0x562fff){if(_0x420600[_0x482a87(0x143,_0x5a0dd6._0x446116,_0x5a0dd6._0x18958e,0x13a)](_0x420600['XNuMO'],_0x420600[_0x482a87(0x43,_0x5a0dd6._0x239ff4,0x9c,0xda)])){const _0x2c7377={};return _0x2c7377[_0x482a87(0xc9,_0x5a0dd6._0x3d75bc,_0x5a0dd6._0x52e813,0x85)]=_0x420600[_0x482a87(_0x5a0dd6._0x4eff9f,0x70,_0x5a0dd6._0x2adecf,_0x5a0dd6._0xab33d9)],_0x2c7377[_0x482a87(0xbc,0x123,_0x5a0dd6._0x34d155,0x4c)]=_0x420600[_0x482a87(0x79,0x50,0x7f,0xbe)],_0x3ce344[_0x59e60c(0x355,0x382,0x3e8,0x3ac)](0x1*0xe4b+-0x281*0x3+-0x538)[_0x59e60c(_0x5a0dd6._0x5eff62,0x468,0x47b,_0x5a0dd6._0x2622aa)](_0x2c7377);}else{const _0x307161={};return _0x307161['error']=_0x420600['uSELC'],_0x307161[_0x59e60c(0x3d5,_0x5a0dd6._0x45d3ac,0x38c,0x37e)]=_0x482a87(_0x5a0dd6._0xf4bad0,_0x5a0dd6._0x48e08d,_0x5a0dd6._0x3b5f36,_0x5a0dd6._0x392f97)+_0x482a87(0x1ae,0x16b,_0x5a0dd6._0x24eca6,0x137)+_0xb1fec7+(_0x482a87(0xb0,0x9d,_0x5a0dd6._0x35f63f,0x13e)+'n\x20on\x20this\x20'+'resource'),_0x24c39e[_0x482a87(_0x5a0dd6._0x5a201c,0xc3,_0x5a0dd6._0x442ab6,_0x5a0dd6._0x1c841e)](0x1e04+0x4*-0x99a+-0x1*-0x9f7)[_0x59e60c(_0x5a0dd6._0x267992,0x43c,_0x5a0dd6._0x3393ee,_0x5a0dd6._0x2622aa)](_0x307161);}}}}if(_0x420600[_0x59e60c(_0x5a0dd6._0x24c207,0x309,_0x5a0dd6._0x59fda3,_0x5a0dd6._0x3c76d4)](_0x31b236[_0x59e60c(_0x5a0dd6._0x237bca,0x30d,0x3a4,0x345)+_0x482a87(_0x5a0dd6._0x440dce,_0x5a0dd6._0x28df4f,_0x5a0dd6._0x19ffcc,_0x5a0dd6._0x45c015)],_0x420600['gNbXk'])){const _0x1fbcf2=await _0x420600[_0x482a87(0xfc,0xa6,0x8b,0x83)](resolveUserPermissions,_0x55fa28[_0x59e60c(_0x5a0dd6._0x367412,0x364,0x3fd,_0x5a0dd6._0x309b06)]['id'],_0x31b236[_0x59e60c(_0x5a0dd6._0x1d9334,0x3dd,0x3e7,_0x5a0dd6._0x4ac51b)+'d']),_0x22674f=isPermissionSubsetOf(_0x3b846e[_0x59e60c(0x405,_0x5a0dd6._0x223423,0x3cc,_0x5a0dd6._0x47e753)+'s'],_0x1fbcf2);if(!_0x22674f[_0x482a87(0xeb,0xe8,0x11d,_0x5a0dd6._0x4b9325)])return _0x24c39e[_0x59e60c(0x426,_0x5a0dd6._0x2adf6a,_0x5a0dd6._0x15e0e2,0x3ac)](-0xa*-0x15c+-0x4a8+-0xd*0x91)['json']({'error':_0x420600['aKZUv'],'message':_0x482a87(0x82,_0x5a0dd6._0x5e13a0,0x95,0x42)+_0x3b846e[_0x482a87(_0x5a0dd6._0xf828c7,0xd4,0x11c,_0x5a0dd6._0x3d656f)]+(_0x59e60c(0x3ec,0x3ca,_0x5a0dd6._0x5254be,0x3df)+_0x482a87(_0x5a0dd6._0x5e85da,0x121,_0x5a0dd6._0x33dd4f,_0x5a0dd6._0x28ce15)+_0x482a87(_0x5a0dd6._0x4e6450,_0x5a0dd6._0x39e70c,_0x5a0dd6._0x14dbcd,0x16e)+_0x482a87(_0x5a0dd6._0x38013a,0xca,0xaf,0xde))+_0x22674f[_0x59e60c(0x3d3,_0x5a0dd6._0x2f3a87,_0x5a0dd6._0x236eb4,0x42b)+_0x59e60c(0x374,_0x5a0dd6._0x587c4e,_0x5a0dd6._0x57d635,0x3e4)]['join'](',\x20')});}}}const _0x331c42={};_0x331c42['role_id']=_0x2fe44d;const _0x317d28=await _0x420600[_0x59e60c(0x3b0,0x3b9,0x3c1,0x40c)](updateBinding,_0x31b236['id'],_0x331c42),_0x2e0b4a={};return _0x2e0b4a['message']='Binding\x20up'+'dated\x20succ'+'essfully',_0x2e0b4a['binding']=_0x317d28,_0x24c39e[_0x59e60c(0x40f,_0x5a0dd6._0x1e5d85,_0x5a0dd6._0x3fec73,_0x5a0dd6._0x2622aa)](_0x2e0b4a);}else switch(_0x311ae4){case _0x420600[_0x482a87(0x13f,_0x5a0dd6._0x515bb8,_0x5a0dd6._0x29534e,_0x5a0dd6._0x206e02)]:return _0x420600['BhApB'];case _0x420600['BmMCh']:return _0x420600[_0x482a87(0x106,0xee,0x157,0x136)];case _0x482a87(0x55,_0x5a0dd6._0x41146a,_0x5a0dd6._0x1c5057,0xc0):return _0x420600[_0x59e60c(_0x5a0dd6._0x1f1c5a,_0x5a0dd6._0x32ad01,_0x5a0dd6._0x3a7d21,_0x5a0dd6._0x1cc985)];default:return null;}}catch(_0x11a6df){if(_0x420600['iDLQA'](_0x420600['XVQnf'],_0x482a87(0xfe,0xbf,_0x5a0dd6._0x7953a8,0x146))){const _0x3aabd9={};_0x3aabd9['error']=_0x11a6df[_0x59e60c(_0x5a0dd6._0x9d9536,0x399,0x38b,_0x5a0dd6._0xd298ab)],logger[_0x482a87(_0x5a0dd6._0x40f39d,0x9f,0x7d,0xd2)](_0x420600[_0x59e60c(_0x5a0dd6._0x3dd483,_0x5a0dd6._0x40c190,0x381,_0x5a0dd6._0x549906)],_0x3aabd9);const _0x5a3c9d={};return _0x5a3c9d[_0x59e60c(0x34d,0x379,0x3bd,_0x5a0dd6._0x9dcc81)]=_0x420600[_0x482a87(_0x5a0dd6._0x1637c1,_0x5a0dd6._0x58cf25,0x161,_0x5a0dd6._0x56531f)],_0x24c39e['status'](0x7b0+-0x3*-0xbd3+-0x3bf*0xb)[_0x482a87(_0x5a0dd6._0x25a1ba,0x147,0x151,_0x5a0dd6._0x1563e7)](_0x5a3c9d);}else _0x26044f=_0x447ef0[_0x482a87(_0x5a0dd6._0x1a8cf7,_0x5a0dd6._0x1fb8ea,_0x5a0dd6._0x40e1a0,0xd0)](_0x38b5aa=>_0x38b5aa['resource_t'+_0x482a87(0xbe,0xc7,0x127,0xb0)]===_0x4da1b4[_0x482a87(0x15a,0x1af,0x15c,0x10e)][_0x59e60c(0x2e7,0x34a,0x388,0x345)+_0x482a87(0xd8,0x19a,0x127,0xde)]);}}),router['delete'](_0x5df085(-0x1d2,-0x1f6,-0x21c,-0x206),async(_0xfb3928,_0x4cd6cc)=>{const _0x55d2ea={_0x5772ae:0x293,_0x1a3f4f:0x55,_0xe302eb:0xa1,_0x42662b:0x255,_0x43616c:0x1a1,_0x4786da:0x20d,_0x11d248:0x153,_0x352911:0x11e,_0x1d0901:0x199,_0x344a69:0x107,_0x4de0cb:0x16e,_0x4aebf6:0x1c1,_0x443d1f:0x211,_0x407a9b:0x21c,_0x2f7fc8:0x159,_0x5a3348:0x180,_0x262c42:0x1e1,_0xe5b9c4:0x27c,_0x35afd1:0x286,_0x136736:0x266,_0x373372:0x1b7,_0xf9229b:0xb2,_0x23f077:0xb1,_0x1b5c58:0x4f,_0x2b62c3:0x191,_0x2b40e3:0x19d,_0x5709ec:0x19a,_0x57967d:0x1ae,_0x113d68:0x1da,_0x3a28c0:0x16d,_0x3b2e69:0xf7,_0x340205:0xeb,_0x49e163:0x3a,_0x2e1e62:0x27e,_0x1dafa3:0x263,_0x2eb0fe:0x29b,_0x40ece0:0x2b0,_0x316ceb:0x289,_0x13f06f:0x1e1,_0x2ae622:0x1de,_0x4f21b3:0x24c,_0xdbba34:0x24b,_0x39c77f:0x23a,_0x16f7a6:0x27f,_0x341e1a:0x225,_0xe9754:0xc3,_0x157890:0x173,_0x168c2b:0x1c1,_0x3e11c3:0x147,_0x3cf73e:0x111,_0x5014fb:0xe7,_0x105016:0x21a,_0x2cd1ce:0x169,_0x3e228b:0xdb,_0x389870:0xb7,_0x54a712:0xde,_0x3a2f0c:0x1e7,_0x16b202:0x17a,_0x59b561:0x1aa,_0x51657c:0x178,_0x506da1:0x24d,_0x38aced:0x1df,_0x5bd52c:0x2a8,_0x352569:0x279,_0x2dc8cd:0x92,_0x11534b:0xbd,_0x3aa9e0:0xa4,_0x15bc35:0xc5,_0x17855f:0x98,_0x4847e7:0x274,_0xaf6277:0x90,_0x37f628:0x1eb,_0x30a9ad:0x1ee,_0x3f6fd1:0x11b,_0x1c0d43:0x12a,_0x2aa72f:0x10f,_0x4ee35c:0x12c,_0x3b8a78:0x177,_0x4d6141:0x9f,_0x21ec45:0xba,_0x38e6ba:0x5f,_0x34268b:0xd7,_0x69a544:0xc7,_0x20631d:0x1e5,_0x1ff079:0x208,_0x4ddd09:0x226,_0x24fd8f:0x202,_0x469d02:0x1de,_0x2a8c9c:0x271,_0x2acc09:0x22b,_0x4030ae:0x258,_0x1449b2:0xe5,_0x5e9afb:0x84,_0xc712a5:0x116,_0x249583:0xdf,_0xd62112:0x2cf,_0x493aee:0x16f,_0x5d49bc:0x2ab,_0x2cffa4:0xc9,_0x2dffa2:0xcf,_0x15b0dd:0x224,_0x4103e1:0x8b,_0x1f8093:0xb5,_0x3cc1f9:0xad,_0x2a0dac:0x11c,_0x4afe74:0x123,_0x58b640:0xac,_0x50598f:0x198,_0x34547e:0x95,_0x2b08da:0x1ab,_0x41b081:0x1b5,_0x34c1f5:0x17a,_0x8f9b6a:0x138,_0x1afe60:0xf6,_0x1fa8cc:0x182,_0xab3c86:0x1fd,_0x78daa6:0x1f7,_0x792405:0x63,_0x4e1245:0x11e,_0x30914f:0x188,_0x1f1ee2:0x151,_0x53487f:0x289,_0x307769:0x224,_0x202b73:0x253,_0x2ae7ef:0x1c5,_0x4f9ae2:0x11e,_0x4d6396:0x17e,_0xc82b8a:0xe4,_0x2250fa:0x125,_0x4fa3b7:0x99,_0x480a83:0x1e4,_0x3cb964:0x12b,_0x4ee88e:0x5c,_0x5a374b:0x256,_0x25cfa0:0xed,_0x119a60:0xee,_0x557ee1:0x2c6,_0x2da437:0x2cd,_0x23ac15:0x253,_0x480ee2:0x200,_0x1b9a6a:0x24e,_0x530a40:0x225,_0x1d81e1:0x171},_0x4f489b={_0x383434:0x9f,_0x3c5fa0:0x1b},_0x133996={_0x338e56:0x1a0};function _0x12f1e0(_0x346613,_0x1d9915,_0x174391,_0x5aaad8){return _0xa5eed2(_0x1d9915,_0x1d9915-0xcc,_0x174391-_0x133996._0x338e56,_0x346613- -0x4ba);}const _0x44b3ad={'pRPCl':_0x1fcbcb(-0x2a6,-0x285,-_0x55d2ea._0x5772ae,-0x245)+'t','GUyIp':_0x12f1e0(-0xc8,-0x50,-_0x55d2ea._0x1a3f4f,-_0x55d2ea._0xe302eb),'piCWt':'Cannot\x20del'+_0x12f1e0(-0xb0,-0xd9,-0xea,-0x5d)+'g','QdMBC':_0x1fcbcb(-_0x55d2ea._0x42662b,-0x1a1,-_0x55d2ea._0x43616c,-0x1e8)+_0x1fcbcb(-_0x55d2ea._0x4786da,-_0x55d2ea._0x11d248,-_0x55d2ea._0x352911,-_0x55d2ea._0x1d0901)+_0x12f1e0(-0x10d,-_0x55d2ea._0x344a69,-0xa9,-0x133)+'binding.\x20A'+_0x1fcbcb(-_0x55d2ea._0x4de0cb,-_0x55d2ea._0x4aebf6,-_0x55d2ea._0x443d1f,-0x1ca)+_0x1fcbcb(-0x19f,-0x25a,-_0x55d2ea._0x407a9b,-0x1e0)+'dmin\x20must\x20'+'remain.','toJcC':function(_0x2e8d9f,_0x2cb7e4){return _0x2e8d9f===_0x2cb7e4;},'HRxBv':_0x12f1e0(-0x102,-_0x55d2ea._0x2f7fc8,-0xeb,-0xa7),'kxuKG':_0x1fcbcb(-0x222,-0x16b,-_0x55d2ea._0x5a3348,-_0x55d2ea._0x262c42),'eYDFa':_0x1fcbcb(-_0x55d2ea._0xe5b9c4,-0x266,-0x20e,-_0x55d2ea._0x35afd1)+_0x1fcbcb(-_0x55d2ea._0x136736,-0x203,-_0x55d2ea._0x373372,-0x215),'lWHfM':function(_0x42d834,_0x2fa718){return _0x42d834(_0x2fa718);},'NgqqI':'server','rIpmR':_0x12f1e0(-_0x55d2ea._0xf9229b,-0x121,-_0x55d2ea._0x23f077,-_0x55d2ea._0x1b5c58),'vmByk':_0x12f1e0(-0x148,-_0x55d2ea._0x2b62c3,-0x1a8,-0xea),'QGMwZ':'ArljL','EaAZh':'Error\x20dele'+_0x1fcbcb(-_0x55d2ea._0x2b40e3,-_0x55d2ea._0x5709ec,-0x20b,-_0x55d2ea._0x57967d)+'ng','yILQY':_0x1fcbcb(-_0x55d2ea._0x113d68,-0x1e0,-_0x55d2ea._0x3a28c0,-0x1dd)+_0x12f1e0(-0xa5,-0x50,-0x34,-_0x55d2ea._0x3b2e69)+'r'};function _0x1fcbcb(_0x1a0877,_0x9d7b12,_0x5beeea,_0x197694){return _0x5df085(_0x1a0877-_0x4f489b._0x383434,_0x9d7b12-_0x4f489b._0x3c5fa0,_0x197694- -0x59,_0x5beeea);}try{const _0x23310b=await getBindingById(_0xfb3928['params']['id']);if(!_0x23310b){if(_0x44b3ad[_0x12f1e0(-0xa4,-0xed,-_0x55d2ea._0x340205,-_0x55d2ea._0x49e163)](_0x44b3ad[_0x1fcbcb(-0x17c,-0x169,-0x1a3,-0x1ce)],_0x44b3ad[_0x1fcbcb(-0x2d2,-0x2a1,-_0x55d2ea._0x2e1e62,-_0x55d2ea._0x1dafa3)])){const _0x3d9d2b={};return _0x3d9d2b[_0x1fcbcb(-_0x55d2ea._0x2eb0fe,-_0x55d2ea._0x40ece0,-0x266,-_0x55d2ea._0x316ceb)]=_0x44b3ad[_0x1fcbcb(-_0x55d2ea._0xe5b9c4,-_0x55d2ea._0x13f06f,-_0x55d2ea._0x2ae622,-_0x55d2ea._0x4f21b3)],_0x3d9d2b['message']=_0x1fcbcb(-0x1c0,-0x238,-0x1cc,-0x220)+_0x5e07d9+(_0x1fcbcb(-_0x55d2ea._0xdbba34,-_0x55d2ea._0x39c77f,-_0x55d2ea._0x16f7a6,-0x204)+'d'),_0x113694[_0x1fcbcb(-0x1b4,-_0x55d2ea._0x42662b,-0x22e,-_0x55d2ea._0x341e1a)](-0x1381+0x1*0x1227+0x2ea)[_0x12f1e0(-0x9f,-_0x55d2ea._0xe9754,-0x95,-0x63)](_0x3d9d2b);}else{const _0x4e1f01={};return _0x4e1f01[_0x12f1e0(-_0x55d2ea._0x157890,-_0x55d2ea._0x168c2b,-0x11a,-_0x55d2ea._0x3e11c3)]=_0x44b3ad[_0x12f1e0(-_0x55d2ea._0x3cf73e,-0x14c,-0x14f,-_0x55d2ea._0x5014fb)],_0x4cd6cc['status'](-0xadd+-0x1ce5*0x1+0x4a*0x8f)['json'](_0x4e1f01);}}const _0x1ec678=await _0x44b3ad[_0x1fcbcb(-_0x55d2ea._0x105016,-_0x55d2ea._0x2cd1ce,-0x195,-0x1a1)](hasAllPermissions,_0xfb3928[_0x12f1e0(-_0x55d2ea._0x3e228b,-0x10a,-0x122,-_0x55d2ea._0x389870)]['id']);if(!_0x1ec678){const _0x49b886=_0x44b3ad[_0x12f1e0(-0x8b,-_0x55d2ea._0x54a712,-0xa2,-0x32)](getManagePermission,_0x23310b[_0x12f1e0(-0x176,-0x18f,-0x19c,-0x1c4)+_0x1fcbcb(-_0x55d2ea._0x3a2f0c,-_0x55d2ea._0x16b202,-0x19f,-0x1df)]);if(_0x49b886){const _0x1984fc=_0x23310b['resource_t'+_0x1fcbcb(-_0x55d2ea._0x59b561,-_0x55d2ea._0x51657c,-_0x55d2ea._0x506da1,-_0x55d2ea._0x38aced)]===_0x44b3ad[_0x1fcbcb(-0x28b,-0x2b9,-_0x55d2ea._0x5bd52c,-_0x55d2ea._0x352569)]?null:_0x23310b['resource_i'+'d'],_0x5f1f7f=await hasPermission(_0xfb3928[_0x12f1e0(-0xdb,-_0x55d2ea._0x2dc8cd,-_0x55d2ea._0x11534b,-_0x55d2ea._0x5014fb)]['id'],_0x49b886,_0x1984fc);if(!_0x5f1f7f){if(_0x44b3ad[_0x12f1e0(-_0x55d2ea._0x3aa9e0,-_0x55d2ea._0x15bc35,-0x10d,-_0x55d2ea._0x17855f)](_0x44b3ad[_0x1fcbcb(-0x24f,-0x20b,-0x2c9,-0x269)],_0x1fcbcb(-_0x55d2ea._0x341e1a,-0x265,-0x2b8,-_0x55d2ea._0x4847e7))){const _0x32bd99={};return _0x32bd99['error']=_0x44b3ad[_0x12f1e0(-0xe2,-_0x55d2ea._0xaf6277,-0x9a,-0x15b)],_0x32bd99[_0x1fcbcb(-0x27b,-0x240,-0x1e6,-0x253)]='You\x20do\x20not'+'\x20have\x20'+_0x58fffa+(_0x1fcbcb(-0x1d8,-0x273,-_0x55d2ea._0x37f628,-0x21d)+_0x1fcbcb(-_0x55d2ea._0x30a9ad,-0x240,-0x26a,-0x258)+_0x12f1e0(-0x11b,-_0x55d2ea._0x3f6fd1,-_0x55d2ea._0x1c0d43,-_0x55d2ea._0xe9754)),_0x43a7c7[_0x12f1e0(-_0x55d2ea._0x2aa72f,-0x133,-_0x55d2ea._0x4ee35c,-_0x55d2ea._0x3b8a78)](-0xd*-0x201+-0x16b+-0x170f)[_0x12f1e0(-_0x55d2ea._0x4d6141,-0x61,-_0x55d2ea._0x21ec45,-_0x55d2ea._0x38e6ba)](_0x32bd99);}else{const _0x3ffaf8={};return _0x3ffaf8['error']=_0x44b3ad[_0x12f1e0(-0xe2,-_0x55d2ea._0x34268b,-0x141,-_0x55d2ea._0x5014fb)],_0x3ffaf8[_0x12f1e0(-0x13d,-0x180,-0x170,-_0x55d2ea._0x69a544)]=_0x1fcbcb(-_0x55d2ea._0x20631d,-0x27b,-_0x55d2ea._0x1ff079,-_0x55d2ea._0x4ddd09)+_0x1fcbcb(-_0x55d2ea._0x24fd8f,-_0x55d2ea._0x469d02,-0x162,-0x1b4)+_0x49b886+('\x20permissio'+_0x1fcbcb(-_0x55d2ea._0x2a8c9c,-_0x55d2ea._0x2acc09,-0x22a,-_0x55d2ea._0x4030ae)+'resource'),_0x4cd6cc[_0x12f1e0(-_0x55d2ea._0x2aa72f,-0x124,-0xa9,-0x114)](0x23cf+0x2b*0x32+-0x2aa2)['json'](_0x3ffaf8);}}}}const _0x1f3ee1=await getRoleById(_0x23310b[_0x12f1e0(-_0x55d2ea._0x1449b2,-_0x55d2ea._0x5e9afb,-0x154,-0xde)]);if(_0x1f3ee1&&_0x1f3ee1[_0x12f1e0(-_0x55d2ea._0xc712a5,-0x144,-0xf6,-_0x55d2ea._0x249583)+'s'][_0x1fcbcb(-0x22a,-_0x55d2ea._0xd62112,-0x207,-0x256)]('*')&&_0x44b3ad[_0x1fcbcb(-_0x55d2ea._0x5a3348,-_0x55d2ea._0x493aee,-0x146,-0x1ba)](_0x23310b[_0x1fcbcb(-0x278,-0x29d,-_0x55d2ea._0x5d49bc,-0x28c)+_0x12f1e0(-_0x55d2ea._0x2cffa4,-0x65,-0x77,-_0x55d2ea._0x2dffa2)],_0x44b3ad[_0x1fcbcb(-0x2a3,-_0x55d2ea._0x15b0dd,-0x27c,-_0x55d2ea._0x352569)])){const _0x1eb34b={};_0x1eb34b['excludeBin'+'dingId']=_0x23310b['id'];const _0x20bdec=await _0x44b3ad[_0x12f1e0(-_0x55d2ea._0x4103e1,-0x8f,-_0x55d2ea._0x1f8093,-0xf4)](wouldRetainServerAdmin,_0x1eb34b);if(!_0x20bdec){const _0x1a84bb={};return _0x1a84bb['error']=_0x44b3ad[_0x12f1e0(-0xed,-_0x55d2ea._0x3cc1f9,-0xea,-_0x55d2ea._0x2a0dac)],_0x1a84bb['message']=_0x44b3ad[_0x12f1e0(-_0x55d2ea._0x4afe74,-_0x55d2ea._0x58b640,-_0x55d2ea._0x50598f,-0xd2)],_0x4cd6cc[_0x12f1e0(-0x10f,-0x16c,-0xa0,-_0x55d2ea._0x34547e)](-0x148d+-0x2*0x853+0x26c3)[_0x1fcbcb(-0x148,-_0x55d2ea._0x2b08da,-0x14f,-_0x55d2ea._0x41b081)](_0x1a84bb);}}await _0x44b3ad[_0x1fcbcb(-_0x55d2ea._0x34c1f5,-0x1bf,-_0x55d2ea._0x8f9b6a,-0x1a1)](deleteBinding,_0x23310b['id']);const _0x3f1b65={};return _0x3f1b65[_0x12f1e0(-0x13d,-_0x55d2ea._0x1afe60,-0x129,-0x129)]='Binding\x20de'+_0x1fcbcb(-_0x55d2ea._0x1fa8cc,-0x1de,-_0x55d2ea._0xab3c86,-_0x55d2ea._0x78daa6)+_0x12f1e0(-_0x55d2ea._0x54a712,-_0x55d2ea._0x792405,-0x76,-0xeb),_0x4cd6cc['json'](_0x3f1b65);}catch(_0xbeaba2){if(_0x44b3ad[_0x12f1e0(-_0x55d2ea._0x4e1245,-0x113,-_0x55d2ea._0x30914f,-_0x55d2ea._0x1f1ee2)]!==_0x44b3ad['QGMwZ']){const _0x1590b2={};_0x1590b2[_0x1fcbcb(-0x23f,-0x2c0,-0x2d6,-_0x55d2ea._0x53487f)]=_0xbeaba2[_0x1fcbcb(-_0x55d2ea._0x307769,-0x1e9,-0x1d8,-_0x55d2ea._0x202b73)],logger[_0x12f1e0(-_0x55d2ea._0x157890,-_0x55d2ea._0x2ae7ef,-_0x55d2ea._0x4f9ae2,-_0x55d2ea._0x4d6396)](_0x44b3ad[_0x12f1e0(-_0x55d2ea._0xc82b8a,-_0x55d2ea._0x2250fa,-0xd1,-_0x55d2ea._0x4fa3b7)],_0x1590b2);const _0x18de26={};return _0x18de26[_0x12f1e0(-0x173,-_0x55d2ea._0x480a83,-0xfd,-_0x55d2ea._0x3cb964)]=_0x44b3ad[_0x12f1e0(-0x9b,-_0x55d2ea._0x4ee88e,-0xe1,-0x87)],_0x4cd6cc['status'](0x8*-0x16b+0x1569*0x1+-0x81d)[_0x1fcbcb(-0x1b7,-0x1b5,-0x13b,-_0x55d2ea._0x41b081)](_0x18de26);}else{const _0x153f66={};return _0x153f66[_0x1fcbcb(-_0x55d2ea._0x5a374b,-0x2d4,-0x21f,-0x289)]=_0x44b3ad[_0x12f1e0(-_0x55d2ea._0x25cfa0,-0x8c,-0x10f,-_0x55d2ea._0x119a60)],_0x153f66[_0x1fcbcb(-0x21e,-_0x55d2ea._0x557ee1,-_0x55d2ea._0x2da437,-_0x55d2ea._0x23ac15)]=_0x44b3ad[_0x1fcbcb(-0x1fb,-_0x55d2ea._0x480ee2,-0x28f,-0x239)],_0x1941fb[_0x1fcbcb(-0x293,-0x21f,-_0x55d2ea._0x1b9a6a,-_0x55d2ea._0x530a40)](0x135*0x4+0x263b+-0x1*0x297f)[_0x1fcbcb(-_0x55d2ea._0x50598f,-_0x55d2ea._0x1d81e1,-0x14f,-0x1b5)](_0x153f66);}}});export default router;
1
+ (function(_0x33380a,_0x5bbb06){const _0x159fbc={_0x4f45e0:0xb2,_0x3e2abb:0x105,_0x17f91f:0xb1,_0x4e3178:0xaf,_0x3a9d03:0x155,_0x9057c2:0x139,_0x4113a9:0xf0,_0x51254c:0x9d,_0x263241:0xd4,_0x4712bd:0xe5,_0x3287fa:0x78,_0x1c6f35:0x78,_0x117bcf:0x20,_0x148580:0x118,_0x540c28:0x53,_0x2e5f7b:0xa7,_0x3ac560:0xb,_0x257e0d:0x61},_0x2fa744={_0x2d51c6:0x10b},_0x5c112d={_0x361076:0x2a1};function _0x4199ec(_0x3c9794,_0x1757f8,_0x173c76,_0x3d3945){return _0x1d62(_0x3c9794- -_0x5c112d._0x361076,_0x1757f8);}const _0x6b570a=_0x33380a();function _0x366199(_0x1f132d,_0x3ae9ac,_0x564a4c,_0x5d8058){return _0x1d62(_0x5d8058- -_0x2fa744._0x2d51c6,_0x1f132d);}while(!![]){try{const _0x471511=-parseInt(_0x4199ec(-_0x159fbc._0x4f45e0,-0x76,-0xe5,-_0x159fbc._0x3e2abb))/(-0x2351*0x1+-0x19b5+0x3d07)*(parseInt(_0x366199(0x53,_0x159fbc._0x17f91f,_0x159fbc._0x4e3178,0x77))/(0x5bf+-0x495+-0x128))+-parseInt(_0x366199(_0x159fbc._0x3a9d03,0xe8,_0x159fbc._0x9057c2,_0x159fbc._0x4113a9))/(0x20a5*0x1+0x13ae+0x1170*-0x3)+parseInt(_0x4199ec(-_0x159fbc._0x51254c,-0x106,-0xde,-_0x159fbc._0x263241))/(-0x21b0+0x1713+-0x1*-0xaa1)*(-parseInt(_0x4199ec(-_0x159fbc._0x4712bd,-0x91,-0xbe,-_0x159fbc._0x3287fa))/(-0x1*0x1965+0x517*-0x7+0x1459*0x3))+-parseInt(_0x4199ec(-0x97,-_0x159fbc._0x1c6f35,-_0x159fbc._0x117bcf,-0x24))/(0xa*-0x18d+-0x23e4+0x336c)+parseInt(_0x4199ec(-0x142,-_0x159fbc._0x148580,-0x179,-0x152))/(-0x17*-0x37+-0x232*0x7+0xa74)+parseInt(_0x4199ec(-0xaf,-0x50,-_0x159fbc._0x540c28,-0x55))/(-0xdc6+-0x2200+-0x17e7*-0x2)+parseInt(_0x366199(-0x1,_0x159fbc._0x2e5f7b,_0x159fbc._0x3ac560,_0x159fbc._0x257e0d))/(0x43*-0x20+-0x16f7*-0x1+-0x2e*0x51);if(_0x471511===_0x5bbb06)break;else _0x6b570a['push'](_0x6b570a['shift']());}catch(_0x3fd468){_0x6b570a['push'](_0x6b570a['shift']());}}}(_0x16cd,0xa*0x1eee+0x2a01*0x17+-0x82a9));import _0x3fa439 from'express';function _0x1d62(_0x77690d,_0xd7abe5){_0x77690d=_0x77690d-(-0x1305+0x1edc+0x2*-0x544);const _0x16abd0=_0x16cd();let _0x5bbd5b=_0x16abd0[_0x77690d];if(_0x1d62['QzhwOT']===undefined){var _0x588d75=function(_0x20c2d3){const _0xa6dd2a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x22d456='',_0x32288d='';for(let _0xb1172c=0xd*-0x209+-0x1*-0xab5+0xfc0,_0x353cce,_0x1da2af,_0x11d889=0xab7*-0x3+-0x2*0x1085+0x412f;_0x1da2af=_0x20c2d3['charAt'](_0x11d889++);~_0x1da2af&&(_0x353cce=_0xb1172c%(0x714+0x95*-0x3b+0x1b47*0x1)?_0x353cce*(-0x15f6+0x1e55+0x2b5*-0x3)+_0x1da2af:_0x1da2af,_0xb1172c++%(-0x25d*0x1+0x1*0x185e+0xd*-0x1b1))?_0x22d456+=String['fromCharCode'](-0x1ff0+-0x14f7+0x35e6&_0x353cce>>(-(-0xd*-0x239+-0x1027+-0xcbc)*_0xb1172c&0x1f4b*0x1+0x382+0x22c7*-0x1)):0x1808+-0x18ed*0x1+0xe5){_0x1da2af=_0xa6dd2a['indexOf'](_0x1da2af);}for(let _0x344221=0x3af*-0x8+-0x1b73+0x38eb,_0x249be5=_0x22d456['length'];_0x344221<_0x249be5;_0x344221++){_0x32288d+='%'+('00'+_0x22d456['charCodeAt'](_0x344221)['toString'](-0x1ca0+0x799+-0x1517*-0x1))['slice'](-(-0x15e9+-0x407+0x19f2));}return decodeURIComponent(_0x32288d);};_0x1d62['Srtswa']=_0x588d75,_0x1d62['nGsuvh']={},_0x1d62['QzhwOT']=!![];}const _0xa6c3c9=_0x16abd0[0x94b+0x82+-0x9cd],_0xff4c86=_0x77690d+_0xa6c3c9,_0x96306b=_0x1d62['nGsuvh'][_0xff4c86];return!_0x96306b?(_0x5bbd5b=_0x1d62['Srtswa'](_0x5bbd5b),_0x1d62['nGsuvh'][_0xff4c86]=_0x5bbd5b):_0x5bbd5b=_0x96306b,_0x5bbd5b;}import{logger}from'../lib/logger.js';function _0x16cd(){const _0x163a0b=['uKf0ANG','zwnougC','qvfbzM0','q0D5t20','sw50zxjUywWGCW','re9tsK4','nvDZEfnysW','C2v0DgLUz3m6Bq','BwLZC2LVBNm','twLqrMi','CguGyxjLihjLCq','DwLYzwq','BM90igHHDMu6ia','s2rjCgm','lZPPza','we5vzLy','C3vIAMvJDf9Pza','AMXfs0i','yw0IlcbVCIaICW','BvDsywS','DcbSzwfZDcbVBG','tNvcrge','AM9PBG','BNH1Euq','yMLUzgLUzW','BuDpDvG','tfj1swO','ChvZAa','CMvZB3vYy2vFAq','ywnJzxnZ','zMLSDgvY','rfDwy0O','AKPmB0e','BwvUDciSicj0zq','igHHDMuG','zv90ExbLicC','EuPwwee','Aw5JBhvKzxm','zeTRr1q','Bgv0zwqGC3vJyW','DeXczgS','CgvYBwLZC2LVBG','icj1C2vYiG','zgXorNq','zsbtzxj2zxiGqq','vMLnvfu','CguGBxvZDcbIzq','CfLLwvC','Aw5NigjPBMrPBG','suPoC1q','rxzyAfG','uvHNru0','zsaIzw52AxjVBG','t2rjqMm','zsbSyxn0ifnLCG','rM9YyMLKzgvU','vurTAfa','mwv4D0fTDW','tgjNsNG','CMvZB3vYy2u','mZuWmJq0ogrpzLbwzq','zg5vtK8','rxrTtgi','wKzpwvG','Bfj4thG','CxvLCNK','CMvZB3vYy2vFDa','s1nvrey','C3vIAMvJDf90Eq','otqYnZeXreTyDu9i','zxjYB3i','yw5Hz2u','sw9hrK0','wxzIC0K','C2vYDMvY','zwf0zwqGC3vJyW','CM1PC3nPB25Zia','lxnJB3bLzcbWzq','mtiXnJKWnejtqK1XrG','CguSihn1yMPLyW','AgLW','se1qwgi','ywXS','ug1mAfK','mZy1odmYsuf4Ce5d','Dg8GCMvZB3vYyW','icj0zwfTiIbVCG','uM9SzsaN','BK9evxK','rvPsuMe','CMvTywLUlG','ww91igrVig5VDa','Df9PzcWGCM9Szq','BMzbwg4','yvb6qLa','vuLIvfm','BgrfswO','yM9KEq','Bun4Ehi','zw52AxjVBM1LBG','ufnjyNC','qMLUzgLUzYbUBW','zNn6vwy','vwzmugy','igjLigjVDw5Kia','q2fUBM90igfZCW','ywXSB3DLza','BMfTzq','qMLUzgLUzYb1Ca','yw1L','Axn0CW','t29tru8','D1HvsvC','DMvYiefKBwLUia','qLLeD1m','twvlqKu','Awj4CLa','zxj2zxiGzxjYBW','ELziyxe','z3vYzha','zgf0zwqGC3vJyW','BwfW','zxrLigjPBMrPBG','vgHPCYbPCYb0Aa','vgvHBsaN','AgPfqu8','zgvSzxrL','uKzZDwS','ywrYzxe','x2LKlcbHBMqGCG','D2XxtK0','vgHLihjVBguGjW','qw5cwNu','EurvEKG','zfDfExu','C1D3zM4','C0jZv1i','tKHXELa','DxnLCG','q1P4yve','z2v0','q2fUBM90igrLBa','lI4VC3rHCNqUAG','yNj3EMi','CMPrvhC','Dfj3ANK','ANnVBG','zvzVCwC','t3DbuNe','Cg9ZDa','DgvHBxm6BwfUyq','mty5ody2oxzvthnXrW','tNP1sgG','q050ufq','zfbpyxC','suniAeW','BwLZC2LUz1bLCG','zxnZzNvSBhK','BMjhrgm','DeTkyNG','twzLzfO','DgLUzYbIAw5KAq','DgvHBq','twjgB08','nJq1ndqYmNrurwruAG','yxbpqKi','AhP2qMe','z0fqCvG','D1DqEfK','Bu1tuM4','ihbLCM1PC3nPBW','Auvgr2y','s2fit0q','se9UyvG','r1v1rNq','zxHJBhvKzujPBG','rxjYB3iGDxbKyq','BvPTv1G','qNfTvg4','yw5KignHBM5VDa','BwvZC2fNzq','Dhm6BwfUywDLxW','rNDAv1y','yufoDMG','jYbJB250ywLUCW','AgfZ','oduWmJKYC3n4Dgz5','EeTsugS','ve9Qqwu','rwf2wvm','rNjTz0y','ExbL','AwzADei','DNDnBfe','rxjYB3iGy3jLyq','u2fcrey','zg5iCvu','rxjYB3iGzgvSzq','CgfYyw1Z','ugjVtvy','CNHftKO','qMfKifjLCxvLCW','rw52AxjVBM1LBG','vxnLCIaN','CM9Szv9Pza','v2vTwLa','DcaN','y1HZCg0','AxLtrgS','D3fTweO','yMLUzgLUz3m','vNjVBMO','tMHtC0y','Cu9tvKm','teHey28','BNmGEw91igrVia','zg1PBIbTDxn0ia','yvzlBva','D1P2tNu','z0fHD3O','zxfuvhO','q29UzMXPy3q','uM91DgvY','BgjkvwW','svHVCwS','CM9Szv9PzcbPCW','AwDUihjVBgu','jYbUB3qGzM91BG','wfHQAe0','rKXlsLm','z2vFBwvTyMvYCW','Ae51uhq','CMvZB3vYy2vFBG','Dw93wLe','DcbMB3vUza','C3rHDhvZ','qvzwquC','BIbVBIb0AgLZia'];_0x16cd=function(){return _0x163a0b;};return _0x16cd();}import{getBindings,getBindingById,getBindingsBySubject,createBinding,updateBinding,deleteBinding}from'../lib/bindings.js';import{getRoleById,isPermissionSubsetOf,inferRoleResourceType}from'../lib/role-definitions.js';import{getTeamById,getTeamsByUserId}from'../lib/teams.js';import{findUserById}from'../lib/users.js';import{hasPermission,hasAllPermissions,resolveUserPermissions,wouldRetainServerAdmin}from'../lib/permission-resolver.js';const router=_0x3fa439[_0x1f5df5(0x12a,0x11d,0x11d,0x192)]();let _environmentExists=null;function _0x1f5df5(_0x18c066,_0x299d6d,_0x4e1ec1,_0x39fd20){return _0x1d62(_0x299d6d- -0x89,_0x4e1ec1);}export function setEnvironmentChecker(_0x2460b3){_environmentExists=_0x2460b3;}async function environmentExists(_0x3903be){const _0x23db67={_0x2ff828:0x291},_0x21c49f={_0x404211:0x161};function _0x45c6d7(_0x41a097,_0x44cad7,_0xfeeb38,_0x35f2d6){return _0x1f5df5(_0x41a097-_0x21c49f._0x404211,_0x41a097-0x1f2,_0x35f2d6,_0x35f2d6-0xb8);}const _0x195d7f={'gMxFJ':function(_0xb124c7,_0x5561de){return _0xb124c7(_0x5561de);},'kLMAJ':_0x45c6d7(0x2bf,0x255,_0x23db67._0x2ff828,0x2de)+'s','JgRlT':function(_0x378296,_0xf86da8){return _0x378296!==_0xf86da8;}};if(_environmentExists)return _0x195d7f['gMxFJ'](_environmentExists,_0x3903be);const {coderConfig:_0x39e08c}=await import(_0x195d7f['kLMAJ']);return _0x195d7f['JgRlT'](_0x39e08c?.['environmen'+'ts']?.[_0x3903be],undefined);}function getManagePermission(_0xd87c96){const _0x2f8460={_0x50e110:0x40e,_0xfbe6d6:0x449,_0x4a5a05:0x4d4,_0x21ac8f:0x573,_0x1bb37e:0x516,_0x2fbe20:0x4dd,_0x53e034:0x4c4,_0x275859:0x4e8,_0x1c2a93:0x45e,_0x169cc7:0x506,_0x5acbc1:0x428,_0x2266a0:0x467,_0x53e587:0x541,_0x2800db:0x4ba,_0x46fb57:0x45b,_0x24f5a6:0x487,_0x2fcab8:0x524,_0x44968c:0x50b,_0x10da62:0x503,_0x30953c:0x4f7,_0x4eca17:0x50d,_0xbba21c:0x4f6,_0x2602ee:0x509,_0x572e41:0x491,_0x3db062:0x4ce,_0x45bc38:0x4b3,_0xd4f3b5:0x543,_0x7e8e05:0x562,_0x587e1e:0x534,_0x29bdf5:0x500,_0x37ad86:0x4f2},_0x8b5598={_0x153c3b:0xf8},_0x571912={_0x9618f0:0x1e8,_0xe890ca:0x3cf,_0x36f10c:0x98},_0x313f72={};_0x313f72[_0x5d2006(_0x2f8460._0x50e110,_0x2f8460._0xfbe6d6,0x464,_0x2f8460._0x4a5a05)]=_0x5d2006(_0x2f8460._0x21ac8f,0x51b,_0x2f8460._0x1bb37e,_0x2f8460._0x2fbe20)+'t',_0x313f72['VotOD']='environmen'+_0xe79002(_0x2f8460._0x53e034,_0x2f8460._0x275859,0x4c3,_0x2f8460._0x1c2a93)+_0x5d2006(_0x2f8460._0x2fbe20,_0x2f8460._0x275859,0x4d0,_0x2f8460._0x169cc7),_0x313f72['QYOmn']=_0x5d2006(0x40d,_0x2f8460._0x5acbc1,_0x2f8460._0x2266a0,0x3f7),_0x313f72[_0xe79002(_0x2f8460._0x53e587,0x534,0x562,0x582)]=_0x5d2006(_0x2f8460._0x2800db,0x3e6,_0x2f8460._0x46fb57,_0x2f8460._0x24f5a6)+'ge_members'+_0x5d2006(_0x2f8460._0x2fcab8,_0x2f8460._0x44968c,_0x2f8460._0x10da62,_0x2f8460._0x30953c),_0x313f72[_0xe79002(0x560,0x4df,_0x2f8460._0x4eca17,0x4ea)]=_0xe79002(_0x2f8460._0x44968c,_0x2f8460._0xbba21c,0x546,_0x2f8460._0x2602ee),_0x313f72[_0x5d2006(_0x2f8460._0x572e41,0x565,0x4f2,_0x2f8460._0x3db062)]=_0xe79002(0x4e4,0x4b7,0x503,_0x2f8460._0x45bc38)+_0xe79002(0x534,0x4d2,_0x2f8460._0xd4f3b5,0x4e6);const _0x19e6f2=_0x313f72;function _0xe79002(_0x54e00c,_0x1da427,_0x246b66,_0x10fbaa){return _0x1f5df5(_0x54e00c-_0x571912._0x9618f0,_0x246b66-_0x571912._0xe890ca,_0x1da427,_0x10fbaa-_0x571912._0x36f10c);}function _0x5d2006(_0x58d70f,_0x23a879,_0x33b3cd,_0x84314e){return _0x1f5df5(_0x58d70f-_0x8b5598._0x153c3b,_0x33b3cd-0x386,_0x23a879,_0x84314e-0xc7);}switch(_0xd87c96){case _0x19e6f2['tKJbx']:return _0x19e6f2['VotOD'];case _0x19e6f2['QYOmn']:return _0x19e6f2[_0xe79002(_0x2f8460._0x169cc7,0x52a,_0x2f8460._0x7e8e05,0x582)];case _0x19e6f2['jlEKB']:return _0x19e6f2[_0x5d2006(_0x2f8460._0x587e1e,_0x2f8460._0x29bdf5,_0x2f8460._0x37ad86,0x545)];default:return null;}}router[_0xc79654(0x371,0x3f7,0x3bb,0x374)]('/',async(_0x4a3401,_0x4072f6)=>{const _0x4a76b9={_0x46a166:0x3d5,_0x17086f:0x3e1,_0x7a0e84:0x406,_0x580f9a:0x46e,_0x14219d:0x4a9,_0xc4ccfe:0x63,_0x53bf34:0x84,_0x1fe975:0x4e9,_0x2f31f3:0x478,_0x401d4c:0x488,_0x1b97df:0x7e,_0xf50049:0x5d,_0x21d188:0x4de,_0x372ce3:0x46e,_0x4d14fe:0x483,_0x4d060d:0x502,_0x7897b2:0x14,_0x162236:0x40,_0x1cd3b1:0x31,_0x489602:0x47c,_0x2b60a1:0x44f,_0x222ed1:0x4d1,_0x23abb9:0x4e2,_0x7321bf:0x4b7,_0x1e2789:0x48e,_0x274570:0x4ed,_0x4d9acd:0xd,_0x4931b7:0x34,_0x2bf67e:0x41,_0x596a6a:0x3b,_0x1b897c:0x58,_0x2660f4:0x47f,_0x21c2ba:0x4ee,_0x10d78c:0xac,_0x2ba8a1:0x53,_0x2a7a29:0xc8,_0x42626c:0x5d,_0x18bb75:0x1b,_0x45234c:0x77,_0xb92e54:0xa9,_0x2b1b12:0xa,_0x207091:0x48,_0x16ce48:0x87,_0x2a6211:0x3a,_0x5d315b:0x484,_0x53c6f3:0x4ea,_0x229dd6:0x4a0,_0x4118ec:0x3e,_0x4101d0:0x74,_0x3c9e8f:0x6,_0x62db02:0x471,_0x59b2bf:0x4a7,_0xef809:0x50,_0x3eb150:0x4c,_0x2d5049:0x1e,_0x59c7ee:0x500,_0x575b01:0x36,_0x193485:0x27,_0x379e77:0x82,_0x3bc166:0xe1,_0x3ee4bf:0x502,_0x437f0f:0x44c,_0x255458:0x4,_0x2dda5d:0x1e,_0x1a4eee:0x5a,_0x58c379:0x43d,_0x41d829:0x22,_0x3351fe:0x69,_0x411b80:0x4a1,_0x4f35fb:0x4f1,_0x18a86a:0x4c2,_0x141d68:0x51,_0x43e75d:0x8,_0x31f8ef:0x68,_0x4d20c4:0x4bb,_0x3b7848:0x482,_0x16d922:0x88,_0x5b97c8:0x32,_0x2d4864:0x34,_0x51176d:0x6f,_0x364882:0xa0,_0x36870f:0x36,_0xac7002:0x2e,_0x38a4b2:0x7b,_0x11af64:0x9,_0x13ae2d:0x540,_0x14bca8:0x4cb,_0x5db194:0x45,_0x3b81ff:0x49c,_0x108f50:0x4dc,_0x4b2e57:0x4b0,_0x330a63:0x49f,_0x1bc886:0x4a7,_0x23ded5:0x83,_0x3e9731:0xf7,_0x17d823:0x52,_0x59873f:0x52,_0x1a6a6e:0x7a,_0x23121a:0x4c7,_0x820c4b:0x4bd,_0x17e8b0:0x40b,_0x564446:0x41d,_0x1835ed:0x64,_0x12baa2:0x1,_0x1aeec6:0xbf,_0x3eb667:0x51c,_0x248f4a:0x4dc,_0x3a9c26:0x50f,_0x1230bc:0x4f4,_0x5ac38e:0x4ce,_0x3006af:0x4b2,_0x2a2020:0x405,_0x2c81f6:0x495,_0x50ed1a:0x490,_0x4d1813:0x46b,_0xf944e2:0x461,_0x8dc2ca:0x536,_0x31d309:0x4ad,_0x27fee3:0x4c0,_0x3adbce:0x4c7,_0x296f08:0x40a,_0x4e7379:0x471,_0x50e637:0x9,_0x56c7db:0x49,_0x862f8b:0x22,_0x47d160:0x1d,_0x37a857:0x7,_0x5d72e3:0x38,_0x596113:0x11,_0x56592a:0x34,_0x4038ac:0xa5,_0x4ac671:0x4,_0x1a4d2b:0x4,_0x132a94:0x89,_0x4d9282:0xbc,_0x2f9e9a:0x469,_0x39208b:0x4f7,_0x2d63d8:0x473,_0x231aaa:0x4ec,_0x5e77e0:0x4a,_0x1a4411:0x8f,_0x57e0b4:0x49a,_0x39c22f:0x496,_0x5abe36:0x4d7,_0x5ab2ff:0x51c,_0x2ce955:0x506,_0x1d4435:0x44d,_0x4b33b5:0x446,_0x5d48f3:0x405,_0x4e824d:0x4c3,_0x287596:0x8e,_0x361b03:0x478,_0x3b1c4c:0x46e,_0xd30dd1:0x49d,_0x43dbd0:0x438,_0x194729:0x4c8,_0x3cd645:0x4c1,_0x328cf3:0x547,_0x25af31:0x48c,_0x31aa6a:0x47e,_0x2a615c:0x470,_0x536ec8:0x44b,_0x5e9c83:0x425,_0x3e206d:0x52c,_0x32e89:0x4b3,_0x2e0e26:0x4c3,_0x5ad4c7:0x452,_0x3feaa9:0x4a8,_0x57356d:0x435,_0x6b6474:0x25,_0x1df2c3:0x6c,_0x34faa1:0x43e,_0x46a7b4:0x49d,_0x122596:0x48f,_0x5c7b1c:0x484,_0x3b23ce:0x400,_0x4dd906:0x4b1,_0x228734:0x477,_0x5d0087:0x4d,_0x35739b:0x12,_0x456c36:0x479,_0xa1d953:0x47,_0xad2a8d:0x3d7,_0x2c8c2e:0x3d8,_0x16bf1e:0x43a,_0x458541:0x27,_0x5d94a3:0x93,_0xac271c:0x97,_0x135c6e:0x40,_0x48d756:0x8d,_0x53d792:0x29,_0xf87d7a:0x4f7,_0x4b477c:0x4d3,_0x561db3:0x50c,_0x3f1971:0x4a7,_0x38c1da:0x4d4,_0x42ca06:0x43e,_0x4f78b9:0x3f6,_0x53bb67:0x27,_0x4d61d8:0x66,_0x92ebe5:0x86,_0x529b16:0x60,_0x145fa8:0x72,_0x42049b:0x47e,_0x2ded89:0x6d,_0xe4616c:0x3,_0x41a96a:0xa7,_0x274440:0x27,_0x5eea2e:0x2c,_0x1a8d31:0x1b,_0x292460:0x4e8},_0x1341da={_0x54f2f4:0x4f,_0x1385dd:0x11,_0x4c1729:0x351,_0x353356:0x372,_0xffbdf9:0x2fe,_0x18e4bc:0x370,_0x3f40c2:0x394,_0x22791c:0x3d8,_0x32b79b:0x3f,_0x35ea86:0xd,_0x74bd33:0x31,_0x33741f:0x3cd,_0x6432a9:0x390,_0x4d2e10:0x3d6,_0x1b2370:0x3fe,_0x173e0b:0x4e,_0x8f2b98:0xa7,_0x25f6f1:0x76,_0x2a3ab0:0x3a5,_0x4ca7c1:0x34f,_0x3de3b2:0x3b0,_0x2afc84:0x39b,_0x1b76d9:0x43,_0x14ca79:0x452,_0x43ce4b:0x369,_0x3793c7:0x3b0,_0x3e0431:0x33f,_0x5bc2c1:0x420,_0x3a7d1e:0x3fb,_0x558d72:0x2a,_0x2582c2:0x46,_0x18eae9:0x8b,_0x52f57f:0x69,_0x5532e3:0x44,_0x3d36a8:0x3b9,_0x2df6fd:0x364,_0x1a9da8:0x3cc,_0x32a383:0x90,_0x238a98:0x56,_0x4f5d7a:0x10,_0x33e05d:0x55,_0x488fb3:0x5,_0x534442:0x376,_0x307329:0x383,_0x2dad04:0x3e0,_0x183ef4:0x20},_0x19110a={_0x26c379:0x11a},_0x527dcb={_0x55f9e2:0x14c};function _0x10ae4e(_0x516f3d,_0x4861c6,_0x7170b5,_0xb50835){return _0x1f5df5(_0x516f3d-0x56,_0x516f3d- -_0x527dcb._0x55f9e2,_0xb50835,_0xb50835-0x134);}function _0x1bbaad(_0x4a6faf,_0x5c145f,_0x430e22,_0x49eac4){return _0xc79654(_0x4a6faf-0x59,_0x5c145f-0x1cb,_0x49eac4-0x64,_0x430e22);}const _0x57b0bd={'BYDwS':_0x10ae4e(0x44,0x7e,0xa8,-0x2f)+_0x1bbaad(_0x4a76b9._0x46a166,_0x4a76b9._0x17086f,_0x4a76b9._0x7a0e84,0x448)+'access','PmLhY':'team','lbJUl':_0x1bbaad(_0x4a76b9._0x17086f,_0x4a76b9._0x580f9a,0x3ee,0x429)+_0x1bbaad(_0x4a76b9._0x14219d,0x4a3,0x4d1,0x479)+_0x10ae4e(0x31,-0x2c,_0x4a76b9._0xc4ccfe,_0x4a76b9._0x53bf34),'PSIbw':_0x1bbaad(_0x4a76b9._0x1fe975,_0x4a76b9._0x2f31f3,0x4f9,_0x4a76b9._0x401d4c)+_0x10ae4e(0x28,_0x4a76b9._0x1b97df,-0xd,_0x4a76b9._0xf50049),'tLBdk':'subject_ty'+_0x1bbaad(_0x4a76b9._0x21d188,_0x4a76b9._0x372ce3,0x4a0,0x4d0)+_0x1bbaad(0x47d,0x4bf,_0x4a76b9._0x4d14fe,0x4dd)+_0x1bbaad(0x4f9,0x4c7,0x4f2,_0x4a76b9._0x4d060d)+'esource_ty'+'pe\x20are\x20req'+_0x10ae4e(-_0x4a76b9._0x7897b2,_0x4a76b9._0x162236,0x7,-_0x4a76b9._0x1cd3b1),'yDUzH':_0x1bbaad(0x473,0x49a,_0x4a76b9._0x489602,0x474)+'\x20required','lRxLx':_0x1bbaad(0x449,0x481,_0x4a76b9._0x2b60a1,0x420)+_0x1bbaad(_0x4a76b9._0x222ed1,0x4a2,0x50c,0x4fb)+'g','ibxrP':'This\x20is\x20th'+_0x1bbaad(0x4b1,_0x4a76b9._0x23abb9,0x440,_0x4a76b9._0x7321bf)+_0x1bbaad(0x51b,_0x4a76b9._0x222ed1,0x4f1,0x4f2)+'binding.\x20A'+_0x1bbaad(0x4b0,_0x4a76b9._0x1e2789,_0x4a76b9._0x274570,0x495)+_0x10ae4e(_0x4a76b9._0x4d9acd,0x6a,-_0x4a76b9._0x4931b7,-_0x4a76b9._0x2bf67e)+'dmin\x20must\x20'+_0x10ae4e(_0x4a76b9._0x596a6a,0x9,-0x1d,_0x4a76b9._0x1b897c),'XXjhM':'Binding\x20no'+_0x1bbaad(0x437,_0x4a76b9._0x2660f4,_0x4a76b9._0x21c2ba,0x47d),'gAPqX':_0x10ae4e(-0x48,-0xb7,-_0x4a76b9._0x10d78c,-0x73)+_0x10ae4e(-0x6c,-0xd8,-_0x4a76b9._0x2ba8a1,-_0x4a76b9._0x2a7a29)+'ng','RFsuk':function(_0x6acc2f,_0x503255){return _0x6acc2f(_0x503255);},'FrmgF':function(_0x4e82eb,_0x48055d){return _0x4e82eb===_0x48055d;},'ViMTU':function(_0x2407d8,_0x511c34){return _0x2407d8!==_0x511c34;},'tslVr':_0x10ae4e(-_0x4a76b9._0x42626c,-0x15,-0xbf,-0x24)+'ting\x20bindi'+'ng','jJLoA':_0x10ae4e(-0x1b,0x1a,-_0x4a76b9._0x18bb75,0x46)+_0x10ae4e(0x56,_0x4a76b9._0x45234c,0xbf,_0x4a76b9._0xb92e54)+'r','LRuIj':function(_0x1352fb,_0x4c4080){return _0x1352fb!==_0x4c4080;},'CZxaQ':_0x10ae4e(-0x51,-0x7d,-_0x4a76b9._0x2b1b12,-0x33),'JloeG':_0x10ae4e(-0x37,-_0x4a76b9._0x207091,0x25,-_0x4a76b9._0x16ce48),'rjQTw':_0x10ae4e(-0x7a,-0x47,-_0x4a76b9._0x2a6211,-0xb9),'QXgEM':function(_0x517eff,_0x5e39c1){return _0x517eff!==_0x5e39c1;},'brwzb':_0x1bbaad(_0x4a76b9._0x5d315b,0x4a6,_0x4a76b9._0x53c6f3,0x482),'mMSRn':function(_0x213e24,_0x42c996){return _0x213e24(_0x42c996);},'xKRPk':function(_0xb52752,_0x14642f){return _0xb52752!==_0x14642f;},'HOnaX':_0x1bbaad(0x3f5,_0x4a76b9._0x229dd6,0x477,0x43e),'uowZQ':'kuqCk','MeKBE':function(_0x52f7fa,_0x598978){return _0x52f7fa===_0x598978;},'IJNsT':'user','XNUfV':_0x10ae4e(_0x4a76b9._0x4118ec,_0x4a76b9._0x4101d0,_0x4a76b9._0x3c9e8f,0xa6),'hNuPt':_0x1bbaad(_0x4a76b9._0x62db02,0x53c,_0x4a76b9._0x59b2bf,0x4e8),'wZvNu':_0x10ae4e(-0x6,-0x64,0x2,-_0x4a76b9._0xef809),'EaBGW':'pGZDW','FLKJS':'environmen'+'t','TwlOc':function(_0x7a5a96,_0x14718e,_0x2e9e2,_0x1eee30){return _0x7a5a96(_0x14718e,_0x2e9e2,_0x1eee30);},'NhSsF':function(_0x5291a8,_0x14194b){return _0x5291a8===_0x14194b;},'NuBDa':_0x10ae4e(-_0x4a76b9._0x3eb150,-0xf,-0x44,_0x4a76b9._0x2d5049),'iDlFh':function(_0x55d71f,_0x13597b){return _0x55d71f!==_0x13597b;},'FwZWV':_0x10ae4e(-0x4d,-0x52,-0x56,-_0x4a76b9._0xb92e54),'QrOmO':_0x1bbaad(_0x4a76b9._0x59c7ee,0x521,0x501,0x4f1),'adreq':'Error\x20list'+_0x10ae4e(0x11,0xc,0x6d,-_0x4a76b9._0x575b01)+'gs'};try{if(_0x57b0bd[_0x10ae4e(-0x5,-_0x4a76b9._0x193485,-0x5c,-0x2d)](_0x57b0bd[_0x10ae4e(-_0x4a76b9._0x379e77,-0xc3,-_0x4a76b9._0x3bc166,-0xf9)],_0x57b0bd['JloeG'])){let _0x5cd853=await getBindings();_0x4a3401[_0x1bbaad(0x4ad,_0x4a76b9._0x3ee4bf,_0x4a76b9._0x437f0f,0x4c2)][_0x10ae4e(0x23,0x3d,_0x4a76b9._0x255458,-0x3c)+_0x10ae4e(-0x4e,-0x8c,-0xc5,-0xae)]&&(_0x57b0bd[_0x10ae4e(0xe,_0x4a76b9._0x2dda5d,-_0x4a76b9._0x1a4eee,-_0x4a76b9._0x1cd3b1)](_0x57b0bd['rjQTw'],_0x57b0bd[_0x1bbaad(_0x4a76b9._0x58c379,0x3e9,0x3e7,0x423)])?_0xb1ee34=_0x874372:_0x5cd853=_0x5cd853['filter'](_0xe11a0=>_0xe11a0['resource_t'+'ype']===_0x4a3401[_0x1bbaad(0x50f,0x4c9,0x504,0x4c2)][_0x10ae4e(0x23,-0x45,0x32,-0x1b)+_0x1bbaad(0x3f7,0x498,0x3ed,0x452)]));_0x4a3401[_0x10ae4e(_0x4a76b9._0x41d829,_0x4a76b9._0x3351fe,-0x2,0x97)]['resource_i'+'d']&&(_0x5cd853=_0x5cd853['filter'](_0x4f61ad=>_0x4f61ad[_0x1bbaad(0x4f5,0x4d8,0x457,0x49d)+'d']===_0x4a3401[_0x10ae4e(0x22,0x8c,0x42,0x4c)][_0x10ae4e(-0x3,-0x2d,-0x65,-0x16)+'d']));if(_0x4a3401[_0x1bbaad(_0x4a76b9._0x411b80,0x468,_0x4a76b9._0x4f35fb,_0x4a76b9._0x18a86a)]['subject_ty'+'pe']){if(_0x57b0bd[_0x10ae4e(_0x4a76b9._0x7897b2,_0x4a76b9._0x141d68,-_0x4a76b9._0x43e75d,_0x4a76b9._0x31f8ef)](_0x1bbaad(_0x4a76b9._0x222ed1,_0x4a76b9._0x4d20c4,0x437,_0x4a76b9._0x3b7848),_0x57b0bd[_0x10ae4e(-0x7e,-_0x4a76b9._0x16d922,-0x1a,-0x35)]))switch(_0x3f402b){case _0x10ae4e(0x44,-0xb,-_0x4a76b9._0x2b1b12,-_0x4a76b9._0x5b97c8)+'t':return _0x57b0bd[_0x10ae4e(0x53,0x9f,0x9e,0x8a)];case _0x57b0bd[_0x10ae4e(_0x4a76b9._0x2d4864,_0x4a76b9._0x51176d,_0x4a76b9._0x364882,_0x4a76b9._0x36870f)]:return _0x57b0bd[_0x10ae4e(-_0x4a76b9._0xac7002,-_0x4a76b9._0x38a4b2,_0x4a76b9._0x11af64,0x20)];case _0x1bbaad(0x49e,_0x4a76b9._0x13ae2d,0x4e1,_0x4a76b9._0x14bca8):return _0x57b0bd[_0x10ae4e(_0x4a76b9._0x5db194,0x50,0x44,-_0x4a76b9._0x2b1b12)];default:return null;}else _0x5cd853=_0x5cd853[_0x1bbaad(_0x4a76b9._0x3b81ff,_0x4a76b9._0x108f50,_0x4a76b9._0x4b2e57,_0x4a76b9._0x330a63)](_0x1c9eb5=>_0x1c9eb5[_0x1bbaad(0x451,0x4d1,0x4b2,0x4c5)+'pe']===_0x4a3401[_0x1bbaad(0x52f,0x4cf,0x4b0,0x4c2)]['subject_ty'+'pe']);}_0x4a3401[_0x10ae4e(0x22,0x78,0x40,0x44)][_0x10ae4e(-0xf,-0x70,-0x5d,-0x7e)]&&(_0x5cd853=_0x5cd853[_0x1bbaad(0x44c,_0x4a76b9._0x1bc886,_0x4a76b9._0x5d315b,0x49f)](_0x2cc678=>_0x2cc678[_0x1bbaad(0x4ec,0x491,0x4b2,0x491)]===_0x4a3401[_0x10ae4e(0x22,-0x22,0x25,0x25)][_0x10ae4e(-0xf,-0x70,0x17,-0x20)]));const _0x410dae=await _0x57b0bd[_0x10ae4e(-0x64,-0xbf,-_0x4a76b9._0x38a4b2,-0x44)](hasAllPermissions,_0x4a3401[_0x10ae4e(-_0x4a76b9._0x23ded5,-_0x4a76b9._0x31f8ef,-_0x4a76b9._0x3e9731,-_0x4a76b9._0x17d823)]['id']);if(!_0x410dae){if(_0x57b0bd[_0x10ae4e(-_0x4a76b9._0x59873f,0x2,-0x25,-0x17)](_0x57b0bd[_0x10ae4e(-0x60,-0x58,0x12,-_0x4a76b9._0x1a6a6e)],_0x57b0bd[_0x1bbaad(_0x4a76b9._0x23121a,_0x4a76b9._0x820c4b,0x4ae,0x47c)])){const _0x13be7f=_0x4a3401[_0x1bbaad(0x3b0,_0x4a76b9._0x17e8b0,0x3f8,_0x4a76b9._0x564446)]['id'],_0x56cc21=await _0x57b0bd[_0x10ae4e(-_0x4a76b9._0x1835ed,-0x1f,_0x4a76b9._0x12baa2,-_0x4a76b9._0x1aeec6)](getTeamsByUserId,_0x13be7f),_0x20599e=new Set(_0x56cc21['map'](_0x40774c=>_0x40774c['id'])),_0x1f32ac=[];for(const _0x39dfbc of _0x5cd853){if(_0x57b0bd[_0x1bbaad(_0x4a76b9._0x3eb667,_0x4a76b9._0x248f4a,_0x4a76b9._0x3a9c26,_0x4a76b9._0x1230bc)](_0x39dfbc['subject_ty'+'pe'],_0x57b0bd[_0x1bbaad(_0x4a76b9._0x5ac38e,0x4fc,0x4ed,_0x4a76b9._0x3006af)])&&_0x57b0bd[_0x1bbaad(0x407,_0x4a76b9._0x2a2020,0x483,0x451)](_0x39dfbc[_0x1bbaad(0x45c,_0x4a76b9._0x2c81f6,0x44e,0x491)],_0x13be7f)){if(_0x57b0bd['MeKBE'](_0x57b0bd[_0x1bbaad(0x44a,0x4c6,0x471,_0x4a76b9._0x50ed1a)],_0x57b0bd[_0x1bbaad(_0x4a76b9._0x7321bf,_0x4a76b9._0x4d1813,_0x4a76b9._0xf944e2,0x47a)])){const _0x3e4d27={};return _0x3e4d27[_0x1bbaad(_0x4a76b9._0x8dc2ca,_0x4a76b9._0x31d309,_0x4a76b9._0x27fee3,_0x4a76b9._0x3adbce)]='Bad\x20Reques'+'t',_0x3e4d27[_0x1bbaad(_0x4a76b9._0x296f08,_0x4a76b9._0x4e7379,0x439,0x447)]=_0x57b0bd[_0x10ae4e(_0x4a76b9._0x50e637,-_0x4a76b9._0x56c7db,-0x4b,-0x4)],_0x4efb95[_0x10ae4e(-_0x4a76b9._0x862f8b,-0x8,-_0x4a76b9._0x47d160,-_0x4a76b9._0x37a857)](0x4f*0x30+0x17a2+-0x24e2)['json'](_0x3e4d27);}else{_0x1f32ac[_0x10ae4e(-0x4,-0x20,0x0,-_0x4a76b9._0x5d72e3)](_0x39dfbc);continue;}}if(_0x39dfbc[_0x10ae4e(0x25,_0x4a76b9._0x596113,0x6f,0x24)+'pe']===_0x57b0bd[_0x10ae4e(_0x4a76b9._0x56592a,_0x4a76b9._0x4038ac,-_0x4a76b9._0x4ac671,0x1b)]&&_0x20599e[_0x10ae4e(-0x54,-_0x4a76b9._0x1a4d2b,-_0x4a76b9._0x132a94,-_0x4a76b9._0x4d9282)](_0x39dfbc[_0x1bbaad(_0x4a76b9._0x2f9e9a,_0x4a76b9._0x39208b,0x47f,0x491)])){if(_0x57b0bd[_0x1bbaad(_0x4a76b9._0x2d63d8,0x509,_0x4a76b9._0x231aaa,0x49b)](_0x57b0bd[_0x10ae4e(-0x33,-0x92,-_0x4a76b9._0x5e77e0,-_0x4a76b9._0x1a4411)],_0x57b0bd['EaBGW'])){_0x1f32ac['push'](_0x39dfbc);continue;}else{const _0x3f7840={};return _0x3f7840['error']='Bad\x20Reques'+'t',_0x3f7840[_0x1bbaad(0x4b1,_0x4a76b9._0x489602,_0x4a76b9._0x57e0b4,0x447)]=_0x57b0bd[_0x1bbaad(_0x4a76b9._0x39c22f,_0x4a76b9._0x5abe36,_0x4a76b9._0x5ab2ff,_0x4a76b9._0x2ce955)],_0x51c472[_0x1bbaad(0x4f3,_0x4a76b9._0x1d4435,_0x4a76b9._0x4b2e57,0x47e)](0x26f6+0xcba+-0x1*0x3220)[_0x1bbaad(0x40f,0x459,0x46c,0x425)](_0x3f7840);}}if(_0x57b0bd[_0x1bbaad(_0x4a76b9._0x4b33b5,_0x4a76b9._0x5d48f3,_0x4a76b9._0x4e824d,0x451)](_0x39dfbc[_0x10ae4e(0x23,0x1f,_0x4a76b9._0x2dda5d,_0x4a76b9._0x287596)+'ype'],_0x57b0bd[_0x1bbaad(0x42c,0x4a2,0x453,_0x4a76b9._0x361b03)])&&_0x39dfbc[_0x10ae4e(-0x3,0x67,-0x2c,0x21)+'d']){if(await _0x57b0bd['TwlOc'](hasPermission,_0x13be7f,_0x57b0bd[_0x1bbaad(_0x4a76b9._0x18a86a,0x535,0x4ef,0x4f3)],_0x39dfbc[_0x1bbaad(0x48d,_0x4a76b9._0x3b1c4c,0x4a0,_0x4a76b9._0xd30dd1)+'d'])){if(_0x57b0bd[_0x10ae4e(-0x39,0xa,-0x74,-0x38)](_0x57b0bd['NuBDa'],_0x57b0bd[_0x1bbaad(0x453,_0x4a76b9._0x43dbd0,_0x4a76b9._0x194729,0x496)])){_0x1f32ac['push'](_0x39dfbc);continue;}else{const _0x3f6d3d={};return _0x3f6d3d[_0x10ae4e(_0x4a76b9._0x193485,0x1a,0x14,0x1b)]=_0x57b0bd[_0x1bbaad(_0x4a76b9._0x194729,0x4cf,_0x4a76b9._0x2c81f6,_0x4a76b9._0x3cd645)],_0x3f6d3d['message']=_0x57b0bd[_0x1bbaad(_0x4a76b9._0x328cf3,_0x4a76b9._0x4f35fb,0x52e,0x4f5)],_0x2bfc79[_0x1bbaad(0x4d9,_0x4a76b9._0x25af31,0x4d9,_0x4a76b9._0x31aa6a)](-0x15f0+0x13*0x4a+0x1202)[_0x1bbaad(_0x4a76b9._0x2a615c,_0x4a76b9._0x536ec8,0x3b6,_0x4a76b9._0x5e9c83)](_0x3f6d3d);}}}if(_0x57b0bd['MeKBE'](_0x39dfbc[_0x1bbaad(0x4d8,_0x4a76b9._0x3e206d,_0x4a76b9._0x32e89,_0x4a76b9._0x2e0e26)+'ype'],_0x1bbaad(_0x4a76b9._0x5ad4c7,_0x4a76b9._0x3feaa9,0x3f4,_0x4a76b9._0x57356d))&&_0x39dfbc['resource_i'+'d']){if(await hasPermission(_0x13be7f,_0x57b0bd[_0x10ae4e(-0x2e,_0x4a76b9._0x6b6474,_0x4a76b9._0x1cd3b1,-_0x4a76b9._0x1df2c3)],_0x39dfbc[_0x1bbaad(0x46f,_0x4a76b9._0x34faa1,0x4d1,_0x4a76b9._0x46a7b4)+'d'])){if(_0x57b0bd['iDlFh'](_0x57b0bd[_0x10ae4e(-0x57,-0x1d,-0x2e,-0x8a)],_0x57b0bd['QrOmO'])){_0x1f32ac[_0x1bbaad(_0x4a76b9._0x122596,0x4e8,_0x4a76b9._0x5c7b1c,0x49c)](_0x39dfbc);continue;}else{const _0x2fa0d1={};return _0x2fa0d1['error']=_0x57b0bd[_0x1bbaad(_0x4a76b9._0x3b23ce,_0x4a76b9._0x4dd906,0x46f,_0x4a76b9._0x228734)],_0x544c60[_0x10ae4e(-_0x4a76b9._0x41d829,0x54,-0x7e,-_0x4a76b9._0x1835ed)](0x1*0x1512+0x107b*0x1+0x23f9*-0x1)[_0x10ae4e(-_0x4a76b9._0x38a4b2,-_0x4a76b9._0x5d0087,-_0x4a76b9._0x35739b,-0xee)](_0x2fa0d1);}}}}_0x5cd853=_0x1f32ac;}else{const _0x4c06ad={};_0x4c06ad['error']=_0x572c80[_0x1bbaad(0x474,_0x4a76b9._0x456c36,0x418,0x447)],_0x337f13[_0x10ae4e(0x27,0x62,_0x4a76b9._0xa1d953,0x8d)](_0x57b0bd[_0x1bbaad(0x466,_0x4a76b9._0xad2a8d,_0x4a76b9._0x2c8c2e,_0x4a76b9._0x16bf1e)],_0x4c06ad);const _0x10064c={};return _0x10064c[_0x10ae4e(_0x4a76b9._0x458541,_0x4a76b9._0x5d94a3,_0x4a76b9._0xac271c,_0x4a76b9._0x596113)]=_0x10ae4e(-0x1b,-0x4b,-_0x4a76b9._0x135c6e,-0x72)+'erver\x20erro'+'r',_0x4dd84e[_0x1bbaad(0x4c2,_0x4a76b9._0x2f9e9a,0x47f,_0x4a76b9._0x31aa6a)](-0x1*0x2223+-0x9a3*-0x1+-0xd3a*-0x2)[_0x10ae4e(-_0x4a76b9._0x38a4b2,-_0x4a76b9._0x48d756,-_0x4a76b9._0x53d792,-0xd6)](_0x10064c);}}const _0x398bff=await Promise[_0x1bbaad(_0x4a76b9._0xf87d7a,0x496,0x4d2,_0x4a76b9._0x4b477c)](_0x5cd853[_0x1bbaad(_0x4a76b9._0x561db3,0x557,_0x4a76b9._0x59b2bf,0x4fa)](async _0x28fa9b=>{const _0x459b05={_0x271ef5:0x19c,_0x4e43cd:0xf7},_0x5aa44b=await _0x57b0bd[_0x58596b(0x58,-0x6,_0x1341da._0x54f2f4,-_0x1341da._0x1385dd)](getRoleById,_0x28fa9b[_0x466e7b(_0x1341da._0x4c1729,0x3de,_0x1341da._0x353356,_0x1341da._0xffbdf9)]);let _0x25002f='';if(_0x28fa9b[_0x466e7b(_0x1341da._0x18e4bc,_0x1341da._0x3f40c2,_0x1341da._0x22791c,0x3ee)+'pe']===_0x57b0bd[_0x58596b(0x2c,-_0x1341da._0x32b79b,-_0x1341da._0x35ea86,-_0x1341da._0x74bd33)]){const _0x1c9a6a=await _0x57b0bd[_0x58596b(0x58,0x8f,0x94,0x61)](getTeamById,_0x28fa9b[_0x58596b(-0x17,0x3f,-0x84,-0x62)]);_0x25002f=_0x1c9a6a?.['name']||'';}else{const _0x4fee19=await _0x57b0bd['RFsuk'](findUserById,_0x28fa9b['subject_id']);_0x25002f=_0x4fee19?.['username']||'';}let _0x8a87e0='';if(_0x57b0bd[_0x466e7b(_0x1341da._0x33741f,_0x1341da._0x6432a9,0x364,0x37c)](_0x28fa9b[_0x466e7b(0x3e1,0x40a,_0x1341da._0x4d2e10,_0x1341da._0x1b2370)+_0x58596b(-0x56,-0x76,-_0x1341da._0x173e0b,-_0x1341da._0x8f2b98)],_0x57b0bd[_0x58596b(0x2c,0x6d,_0x1341da._0x25f6f1,0x90)])&&_0x28fa9b[_0x466e7b(_0x1341da._0x2a3ab0,_0x1341da._0x4ca7c1,_0x1341da._0x3de3b2,_0x1341da._0x2afc84)+'d']&&_0x57b0bd[_0x58596b(0x6,0x2f,0x2e,_0x1341da._0x1b76d9)](_0x28fa9b['resource_i'+'d'],'*')){const _0x575eaa=await _0x57b0bd[_0x466e7b(0x3ed,_0x1341da._0x14ca79,0x413,0x3e2)](getTeamById,_0x28fa9b[_0x466e7b(_0x1341da._0x43ce4b,0x34a,_0x1341da._0x3793c7,_0x1341da._0x3e0431)+'d']);_0x8a87e0=_0x575eaa?.[_0x466e7b(_0x1341da._0x5bc2c1,_0x1341da._0x3a7d1e,0x3ff,0x3de)]||'';}function _0x466e7b(_0xdfad21,_0x5d6c74,_0x20552a,_0x58ea2c){return _0x1bbaad(_0xdfad21-_0x459b05._0x271ef5,_0x5d6c74-_0x459b05._0x4e43cd,_0x58ea2c,_0x20552a- -0xed);}const _0x111e6b={};_0x111e6b[_0x58596b(-0x2d,-0xa3,0xf,_0x1341da._0x558d72)+_0x58596b(_0x1341da._0x2582c2,0x19,_0x1341da._0x18eae9,_0x1341da._0x52f57f)]=_0x8a87e0;function _0x58596b(_0x346a32,_0x5ab635,_0x1394da,_0x108387){return _0x10ae4e(_0x346a32- -0x8,_0x5ab635-0x1ed,_0x1394da-_0x19110a._0x26c379,_0x1394da);}return{..._0x28fa9b,'subject_name':_0x25002f,'role_name':_0x5aa44b?.[_0x58596b(_0x1341da._0x5532e3,0xa8,0x41,0x9f)]||'',..._0x57b0bd[_0x466e7b(_0x1341da._0x3d36a8,0x323,_0x1341da._0x2df6fd,_0x1341da._0x1a9da8)](_0x28fa9b[_0x58596b(0x1b,0x3e,-0x37,_0x1341da._0x32a383)+_0x58596b(-_0x1341da._0x238a98,_0x1341da._0x4f5d7a,-_0x1341da._0x33e05d,_0x1341da._0x488fb3)],'team')&&_0x28fa9b[_0x466e7b(0x3c9,_0x1341da._0x534442,0x3b0,_0x1341da._0x307329)+'d']&&_0x57b0bd[_0x466e7b(_0x1341da._0x2dad04,0x3c3,0x3c1,0x420)](_0x28fa9b[_0x58596b(-0xb,0x2f,_0x1341da._0x183ef4,-0x15)+'d'],'*')?_0x111e6b:{}};})),_0x50434a={};return _0x50434a[_0x1bbaad(_0x4a76b9._0x3f1971,_0x4a76b9._0x38c1da,0x413,0x465)]=_0x398bff,_0x4072f6['json'](_0x50434a);}else{const _0x579e2d={};_0x579e2d[_0x10ae4e(0x27,-0x16,0x76,-0x3)]=_0x130fa2[_0x1bbaad(_0x4a76b9._0x42ca06,0x475,_0x4a76b9._0x4f78b9,0x447)],_0x16d427[_0x10ae4e(_0x4a76b9._0x53bb67,-_0x4a76b9._0x12baa2,0x9,_0x4a76b9._0x4d61d8)](_0x57b0bd['tslVr'],_0x579e2d);const _0x3ef195={};return _0x3ef195[_0x10ae4e(0x27,_0x4a76b9._0x92ebe5,0x72,_0x4a76b9._0x529b16)]=_0x57b0bd[_0x10ae4e(_0x4a76b9._0x12baa2,-_0x4a76b9._0x145fa8,-_0x4a76b9._0x2b1b12,-0x3f)],_0x57e282[_0x1bbaad(0x432,0x40b,_0x4a76b9._0x3b7848,_0x4a76b9._0x42049b)](-0xd5b+-0x1*-0x2258+-0x1309)['json'](_0x3ef195);}}catch(_0x1eaf0a){const _0x3b93a0={};_0x3b93a0[_0x10ae4e(0x27,0x95,_0x4a76b9._0x2ded89,-_0x4a76b9._0x3c9e8f)]=_0x1eaf0a[_0x10ae4e(-0x59,_0x4a76b9._0xe4616c,-_0x4a76b9._0x41a96a,-_0x4a76b9._0x36870f)],logger['error'](_0x57b0bd[_0x10ae4e(0x61,_0x4a76b9._0x2a6211,0x2b,0x66)],_0x3b93a0);const _0x3500d9={};return _0x3500d9[_0x10ae4e(_0x4a76b9._0x274440,-_0x4a76b9._0x5eea2e,0x66,-_0x4a76b9._0x2b1b12)]=_0x10ae4e(-_0x4a76b9._0x1a8d31,-0x42,0x4d,0x1f)+_0x1bbaad(_0x4a76b9._0x292460,0x526,0x4d8,0x4f6)+'r',_0x4072f6['status'](-0x5ac+0x13c3+0xd*-0xef)[_0x1bbaad(0x424,0x439,_0x4a76b9._0x58c379,0x425)](_0x3500d9);}}),router[_0x1f5df5(0xd0,0xd4,0x122,0xa9)]('/',async(_0x44f9b9,_0x2cd98b)=>{const _0x58e7d1={_0x4232fe:0x1b3,_0x43cbe6:0x1bf,_0x17660a:0x206,_0x105781:0x1d5,_0x3219c2:0x1a1,_0x36e169:0x19d,_0xace024:0x1ad,_0x51ec22:0x16b,_0x429759:0x1d9,_0x553290:0x189,_0x5d4e6e:0x17e,_0x15d749:0x260,_0x45a061:0x280,_0x493ec5:0x1ff,_0x43afdb:0x1cf,_0xef0697:0x1dc,_0x571e25:0x1c4,_0x2e070d:0x1b5,_0xf6f671:0x1b7,_0x2f4132:0x172,_0x10dace:0x177,_0x329587:0x19d,_0x58cf27:0x1cc,_0xe5b3f9:0x1bc,_0x1e1059:0x203,_0x5b1d9b:0x14d,_0xe669e0:0x16b,_0x487635:0x1fc,_0x216741:0x167,_0x329a80:0x1e8,_0x1acc01:0x1e2,_0x2d4e74:0x20c,_0x5b9293:0x19b,_0x2db02d:0x192,_0x563fe3:0x287,_0x515c26:0x1f2,_0x425d16:0x234,_0x173f6d:0x20e,_0x5388c0:0x23a,_0x3c329b:0x24f,_0x298958:0x259,_0x2befe8:0x16d,_0x16dc39:0x1f2,_0x6e3a3d:0x207,_0x612674:0x26f,_0x144309:0x20e,_0x2f8fe7:0x22d,_0x4069ad:0x205,_0x400c72:0x1f3,_0x2740ff:0x1fe,_0x391381:0x243,_0x368927:0x20e,_0x5723db:0x152,_0xcaf583:0xf8,_0x14e8a5:0x213,_0x5ae81f:0x1fc,_0x3968ce:0x18e,_0x5ea831:0x23b,_0x1fc0f2:0x227,_0x164dcb:0x21a,_0x144a84:0x209,_0x2b5e12:0x1e9,_0x10c236:0x1e5,_0x271a41:0x1f4,_0x520c3e:0x1f9,_0x26418b:0x1e3,_0x3d7e5b:0x217,_0x2fc41f:0x1e8,_0x27d53d:0x150,_0x407d73:0x1cf,_0x1af6c0:0x23d,_0x2b04c9:0x24e,_0x3b87f9:0x2a9,_0x2f52c2:0x265,_0x642f0f:0x1a0,_0x1ed209:0x203,_0x5ae82f:0x1aa,_0x1dfbf3:0x1c8,_0x2ef91f:0x1ad,_0x58e1da:0x17c,_0x217a0c:0x164,_0x9589ca:0x1ee,_0x58e1cd:0x146,_0x2a614d:0x269,_0x5d5f25:0x223,_0x3eba90:0x1e9,_0x10e9ec:0x20b,_0x45197e:0x224,_0x2bfeb7:0x1b6,_0x434498:0x1df,_0x35ead7:0x112,_0x1e69dd:0x169,_0x2a04c3:0x128,_0x32664e:0x1bc,_0x425d75:0x192,_0x317d97:0x1c2,_0x515ca9:0x233,_0x2c302e:0x1d1,_0x23062b:0x1f0,_0x199f08:0x218,_0x5cb65c:0x173,_0x1f5963:0x1b2,_0x25b33f:0x1ac,_0x2f76f7:0x1da,_0x459e3e:0x1e9,_0x2c15fb:0xf7,_0x5cbc2e:0x13e,_0x5d667e:0x17e,_0x199086:0x1b4,_0x3e0fb3:0x198,_0x5a099d:0x214,_0xc861f5:0x23f,_0x1dbc5c:0x147,_0x54ed31:0x155,_0xa3d390:0x1bd,_0xf75372:0x1a0,_0x4324b7:0x1c6,_0x3665c2:0x1fa,_0x36bf31:0x212,_0x53f650:0x238,_0x40cb34:0x1fd,_0x20445f:0x262,_0x3e295b:0x1e2,_0x482217:0x1f4,_0x20d321:0x1a4,_0x17b41d:0x1af,_0x33bc3f:0x186,_0x1cf17a:0x24d,_0x269b23:0x1da,_0x3f6868:0x1b6,_0x28c38f:0x176,_0x2639b1:0x2ba,_0x20fa79:0x2a5,_0x21e939:0x277,_0x16a48a:0x251,_0x14c174:0x23d,_0xc43e74:0x231,_0x32f8a8:0x1b8,_0x686f11:0x210,_0x79f262:0x1e7,_0x2ae0ba:0x201,_0x32f334:0x121,_0x3e96f2:0x12b,_0x5c33f6:0x130,_0x2f9dd5:0x1b1,_0x3058db:0x1e9,_0x392006:0x229,_0x20f52d:0x253,_0x1de72d:0x133,_0x5dc932:0x163,_0x27b215:0x16c,_0x1400e3:0x18f,_0x250be9:0x12a,_0x2e0fd4:0x1f4,_0x23cb32:0x134,_0x29f148:0x2a5,_0x494f95:0x25f,_0x46f09f:0x14c,_0x5b93d2:0x1bd,_0x3a2c8e:0x217,_0x14ef1d:0x216,_0x15ab13:0x1b6,_0x4d3041:0x239,_0x269876:0x1ef,_0x3b3fe9:0x185,_0x5b3fad:0x2a9,_0x5cdb69:0x27d,_0x46613a:0x205,_0x41b755:0x1ba,_0x1490f6:0x1ae,_0x561e95:0x114,_0x1b8269:0x1b9,_0x71dd72:0x1a8,_0x3c7de5:0x184,_0x40d216:0x1fb,_0x2ceb5f:0x1ad,_0x755d0a:0x247,_0x5ae6a8:0x27b,_0x1513df:0x1cb,_0x4c219b:0x23a,_0x5ade66:0x221,_0x4fc69c:0x1db,_0x24c9cf:0x1df,_0x4c68c2:0x29c,_0x340363:0x25a,_0x5aa40a:0x21f,_0x577750:0x25b,_0x2fe151:0x1a9,_0x5f4c82:0x1a0,_0x562448:0x180,_0x2d90e0:0x1dc,_0x5ef6c5:0x178,_0x59560e:0x182,_0x1c6928:0x1e6,_0x4b24d0:0x23d,_0x7593ff:0x1c3,_0x1d6c69:0x117,_0x53767d:0x110,_0x3bb6bf:0x115,_0x29979f:0x267,_0x18da85:0x16a,_0xc702b9:0x155,_0xa83dcf:0x2a4,_0x398367:0x292,_0x4be3c7:0x184,_0x54620a:0x196,_0x17d836:0x1df,_0x517d51:0x148,_0x5613ad:0x136,_0xc07665:0x17e,_0x54a25d:0x1cd,_0x3d2b71:0x1d1,_0x38a441:0x226,_0x493415:0xf3,_0x4dbde7:0x147,_0x53d88c:0x168,_0x34f291:0x166,_0x3a9f25:0x1e0,_0x584721:0x1a0,_0x28be32:0x223,_0x5ca05d:0x142,_0x11359b:0x278,_0x2cbc7a:0x22d,_0x451ac4:0x250,_0x31d48b:0x240,_0x1f61c5:0x1b9,_0x50cd51:0x1c7,_0x5ad4b5:0x21d,_0x5b42bb:0x293,_0x1d8cd5:0x223,_0x4106c0:0x172,_0x30a419:0x15d,_0xedf8e6:0x1a0,_0x33c98b:0x12c,_0x4dc16e:0x18c,_0x5b7072:0x137,_0x8038e5:0x1e9,_0x4cbb2a:0x1d6,_0x24103a:0x264,_0x1ad90c:0x299,_0x49abb0:0x26c,_0x3df8f8:0x204,_0x26c9cc:0x1f6,_0x502d75:0x14b,_0x26b930:0x2b2,_0x4e3ead:0x246,_0x209a6e:0x25d,_0x1253d8:0x2ab,_0x297725:0x269,_0x42626f:0x174,_0x37043f:0x1bd,_0x5ce5f5:0x1c7,_0xc96f7b:0x19c,_0x352e74:0x1f1,_0x5696eb:0x1e9,_0x57e011:0x276,_0xf26a36:0x25b,_0x2ce6f2:0x20e,_0x1e32c3:0x2c0,_0xcc76b:0x1ec,_0x2f179f:0x111,_0x3d9927:0x159,_0x2f99d4:0x17d,_0x3897f8:0x176,_0x30a6d6:0x203,_0x39090b:0x21b,_0x1d420e:0x1d0,_0x13eec2:0x1bd,_0x3f8305:0x1b8,_0x5e93e2:0x178,_0x30f689:0x140,_0xbdac1b:0x1f8,_0x22680d:0x249,_0x130161:0x109,_0x3de81f:0x1bd,_0x2049dd:0x1e8,_0x10623b:0x20d,_0x213214:0x2b7,_0x54c140:0x26a,_0xe50bf3:0x1f5,_0x5b92f8:0x1b6,_0x456721:0x206,_0x3a3d95:0x1c1,_0x5a341b:0x260,_0x5a53cf:0x1a0,_0xccd793:0x193,_0x2fe111:0x1d7,_0x1b3dc6:0x1bb,_0x4b63fa:0x195,_0x109e81:0x105,_0x29696f:0x24a,_0x56c0ff:0x1da,_0x5b7873:0x150,_0x4ce681:0x11d,_0x26a291:0x1ad,_0x5adfea:0x1ce,_0x30f5dc:0x19e,_0x3bcd9e:0x1d2,_0x426e01:0x135,_0xe0e283:0x1c1,_0x311c03:0xf9,_0x3ba796:0x144,_0x290f59:0x11e,_0x4e0025:0x1ab,_0x380f81:0x1ed,_0x25eb1d:0x1f2,_0x28926b:0x127,_0x1bcd09:0x194,_0x4a5e4a:0x168,_0x2dc1b2:0x1a3,_0x2d08fe:0x1e7,_0x4c306e:0x1eb,_0x41c4a3:0x150,_0x3b9111:0x20f,_0x3011e7:0x1ce,_0x114104:0x20d,_0x34f6ed:0x1f8,_0x429acc:0x1ae,_0x46546c:0x1ca,_0x3af43d:0x202,_0x1d622a:0x147,_0x528578:0x1bd,_0x47232d:0x286,_0x299dd3:0x13c,_0xa2c21d:0x1e9,_0x57f33c:0x152,_0xa6c442:0x1a0,_0x52596e:0x181},_0x396571={_0x1a2033:0x142,_0x5555b1:0x620},_0x2a14fc={_0x47a864:0x76};function _0x26a968(_0x264aea,_0x21f85d,_0x61137b,_0x58e884){return _0x1f5df5(_0x264aea-0x19c,_0x21f85d-_0x2a14fc._0x47a864,_0x264aea,_0x58e884-0xb4);}const _0x2cc499={'yJVXA':_0x26a968(_0x58e7d1._0x4232fe,0x17e,0x19a,0x18c)+'t','sBsWR':_0xcafa5(-0x178,-0x168,-0x1b0,-_0x58e7d1._0x43cbe6)+_0xcafa5(-_0x58e7d1._0x17660a,-0x1a3,-0x1b3,-_0x58e7d1._0x105781)+_0xcafa5(-_0x58e7d1._0x3219c2,-_0x58e7d1._0x36e169,-0x1d8,-_0x58e7d1._0xace024)+_0xcafa5(-_0x58e7d1._0x51ec22,-0x1e0,-0x1f9,-_0x58e7d1._0x429759),'dlNFt':'already\x20ex'+_0xcafa5(-_0x58e7d1._0x553290,-0x19a,-0x131,-0x195),'AQAfm':_0x26a968(_0x58e7d1._0x5d4e6e,0x192,0x1a4,0x142),'sWwfn':_0xcafa5(-_0x58e7d1._0x15d749,-_0x58e7d1._0x45a061,-0x1dd,-0x22f)+'ting\x20bindi'+'ng','CyrOH':'resource_t'+'ype\x20must\x20b'+_0xcafa5(-0x166,-0x213,-_0x58e7d1._0x493ec5,-_0x58e7d1._0x43afdb)+_0x26a968(_0x58e7d1._0xef0697,_0x58e7d1._0x571e25,_0x58e7d1._0x2e070d,0x15c)+_0x26a968(_0x58e7d1._0xf6f671,0x1b5,_0x58e7d1._0x2f4132,_0x58e7d1._0x10dace)+'erver\x22','hzvBa':_0xcafa5(-0x1f2,-_0x58e7d1._0x329587,-0x206,-_0x58e7d1._0x58cf27),'aJZSc':_0xcafa5(-_0x58e7d1._0xe5b3f9,-0x199,-_0x58e7d1._0x1e1059,-0x1f6),'Vronj':function(_0x188ae3,_0x443e2a){return _0x188ae3||_0x443e2a;},'apOBB':_0xcafa5(-0x1f8,-_0x58e7d1._0x5b1d9b,-_0x58e7d1._0xe669e0,-0x1bf)+'pe,\x20subjec'+_0xcafa5(-_0x58e7d1._0x487635,-0x17c,-_0x58e7d1._0x216741,-0x1a7)+_0x26a968(0x258,0x224,_0x58e7d1._0x329a80,0x1e8)+'esource_ty'+_0x26a968(0x217,0x1ad,0x19d,0x15d)+_0x26a968(0x218,0x1ae,_0x58e7d1._0x1acc01,_0x58e7d1._0x2d4e74),'ldEIj':'team','AVVAG':function(_0x28ffaf,_0x4a82c1){return _0x28ffaf!==_0x4a82c1;},'aPzBP':'TWGBm','tRwjy':'wSjpf','dKkGT':_0xcafa5(-0x15d,-_0x58e7d1._0x5b9293,-0x186,-0x1a0)+'t','wWPxY':_0xcafa5(-_0x58e7d1._0x2db02d,-0x225,-0x16d,-0x1b9),'HMPXb':function(_0x46d5a5,_0x390977){return _0x46d5a5(_0x390977);},'MiPFb':function(_0x5da39f,_0xae6566){return _0x5da39f===_0xae6566;},'kzjFF':'pumND','mWRak':_0xcafa5(-_0x58e7d1._0x563fe3,-_0x58e7d1._0x515c26,-0x278,-_0x58e7d1._0x425d16),'MbFoO':function(_0x5bec51,_0x4b5ca8){return _0x5bec51===_0x4b5ca8;},'ZfMPK':'KjiXJ','dPOaw':'IlMZh','cXspm':function(_0x50773a,_0x41378d){return _0x50773a===_0x41378d;},'DOSJN':function(_0x317209,_0x366a98){return _0x317209!==_0x366a98;},'vadif':_0x26a968(0x179,0x1e6,0x17f,_0x58e7d1._0x173f6d),'aANvh':_0xcafa5(-_0x58e7d1._0x5388c0,-0x23c,-_0x58e7d1._0x3c329b,-_0x58e7d1._0x298958),'vrwXV':function(_0x17dd98,_0x1d0685){return _0x17dd98(_0x1d0685);},'kwFQT':_0x26a968(_0x58e7d1._0x2befe8,0x1d2,_0x58e7d1._0x16dc39,_0x58e7d1._0x6e3a3d),'mZmWX':_0xcafa5(-_0x58e7d1._0x612674,-0x292,-_0x58e7d1._0x144309,-_0x58e7d1._0x2f8fe7),'OoSEO':function(_0x37deef,_0x31115b){return _0x37deef(_0x31115b);},'rxENJ':function(_0x29d59d,_0x3b4595){return _0x29d59d!==_0x3b4595;},'dnUNO':_0x26a968(0x195,_0x58e7d1._0x4069ad,0x1c2,0x23c),'SaBDF':function(_0x35dc31,_0x4e4d43){return _0x35dc31===_0x4e4d43;},'nbGDc':function(_0x374f49,_0xe42fe7,_0x17ad3c,_0x253bf9){return _0x374f49(_0xe42fe7,_0x17ad3c,_0x253bf9);},'OdIBc':'Cannot\x20ass'+_0xcafa5(-_0x58e7d1._0x400c72,-_0x58e7d1._0x2740ff,-_0x58e7d1._0x391381,-0x20f),'RAtjx':'Binding\x20cr'+_0xcafa5(-0x1eb,-_0x58e7d1._0x368927,-0x1d1,-0x1b8)+_0x26a968(0x19a,_0x58e7d1._0x5723db,_0x58e7d1._0xcaf583,0x1a9),'OqFYk':_0x26a968(_0x58e7d1._0x14e8a5,0x1a7,0x1f6,0x170)+_0xcafa5(-0x1e3,-0x176,-_0x58e7d1._0x5ae81f,-_0x58e7d1._0x3968ce)+'r'};function _0xcafa5(_0x4baa8f,_0xc2cdfa,_0x448092,_0x5b6ba4){return _0xc79654(_0x4baa8f-_0x396571._0x1a2033,_0xc2cdfa-0x59,_0x5b6ba4- -_0x396571._0x5555b1,_0x448092);}try{if(_0x26a968(_0x58e7d1._0x5ea831,_0x58e7d1._0x1fc0f2,_0x58e7d1._0x164dcb,0x1bc)===_0x2cc499['aJZSc'])_0x806dc=_0x720259[_0xcafa5(-_0x58e7d1._0x144a84,-_0x58e7d1._0x105781,-_0x58e7d1._0x2b5e12,-_0x58e7d1._0x10c236)](_0x1e5cf2=>_0x1e5cf2[_0x26a968(0x212,0x1b3,0x201,0x18c)]===_0x52f3d7['query'][_0xcafa5(-0x17d,-0x21e,-0x212,-0x1f3)]);else{const {subject_type:_0x4b2b31,subject_id:_0x493b05,role_id:_0x3bd729,resource_type:_0x1f979e,resource_id:_0xf597c}=_0x44f9b9[_0xcafa5(-0x130,-_0x58e7d1._0x271a41,-_0x58e7d1._0x520c3e,-0x1a2)];if(_0x2cc499[_0x26a968(_0x58e7d1._0x1acc01,0x188,_0x58e7d1._0x26418b,0x1eb)](!_0x4b2b31,!_0x493b05)||!_0x3bd729||!_0x1f979e){const _0x3b7da5={};return _0x3b7da5[_0x26a968(_0x58e7d1._0x3d7e5b,0x1e9,0x1b4,_0x58e7d1._0x2fc41f)]=_0x2cc499[_0x26a968(0x1c2,0x1c7,0x233,_0x58e7d1._0x27d53d)],_0x3b7da5[_0xcafa5(-0x1ff,-_0x58e7d1._0x407d73,-0x27c,-_0x58e7d1._0x1af6c0)]=_0x2cc499[_0xcafa5(-_0x58e7d1._0x2b04c9,-_0x58e7d1._0x3b87f9,-_0x58e7d1._0x2f52c2,-0x24c)],_0x2cd98b[_0x26a968(0x144,_0x58e7d1._0x642f0f,0x13c,0x201)](-0x1fcb+0x121c+0xf3f)[_0xcafa5(-0x23d,-0x1ee,-_0x58e7d1._0x1ed209,-0x25f)](_0x3b7da5);}if(![_0x2cc499[_0xcafa5(-0x13d,-0x1d0,-_0x58e7d1._0x5ae82f,-0x1a3)],'user'][_0x26a968(0x1ad,_0x58e7d1._0x1dfbf3,_0x58e7d1._0x2ef91f,_0x58e7d1._0x58e1da)](_0x4b2b31)){if(_0x2cc499[_0x26a968(_0x58e7d1._0x217a0c,0x1a1,0x1f0,_0x58e7d1._0x9589ca)](_0x2cc499[_0x26a968(0x1bf,0x201,0x1eb,0x225)],_0x2cc499[_0x26a968(0xef,_0x58e7d1._0x58e1cd,0x191,0x13a)])){const _0x23d24e={};return _0x23d24e['error']=_0x2cc499[_0x26a968(0x203,0x1c7,0x1b5,0x19a)],_0x23d24e['message']=_0x2cc499[_0xcafa5(-0x1f5,-0x257,-0x2c1,-_0x58e7d1._0x2a614d)],_0x2cd98b['status'](-0x6*-0x256+0x1*0xff1+0x977*-0x3)[_0xcafa5(-_0x58e7d1._0x5d5f25,-0x2d0,-0x268,-0x25f)](_0x23d24e);}else{const _0x56af77={};return _0x56af77[_0x26a968(0x1a3,_0x58e7d1._0x3eba90,_0x58e7d1._0x10e9ec,_0x58e7d1._0x45197e)]=_0x2cc499[_0xcafa5(-0x227,-0x1ab,-_0x58e7d1._0x2bfeb7,-_0x58e7d1._0x434498)],_0x56af77[_0x26a968(_0x58e7d1._0x35ead7,_0x58e7d1._0x1e69dd,_0x58e7d1._0x3968ce,_0x58e7d1._0x2a04c3)]=_0x2cc499['sBsWR'],_0x4f30f5['status'](-0xb1+0x24e8+-0x22a7)[_0x26a968(_0x58e7d1._0x32664e,0x147,0x193,0x128)](_0x56af77);}}if(![_0x2cc499[_0x26a968(_0x58e7d1._0x425d75,0x1c9,_0x58e7d1._0x317d97,0x1fa)],_0x2cc499[_0x26a968(_0x58e7d1._0x9589ca,0x203,_0x58e7d1._0x515ca9,0x1c7)],_0x2cc499['wWPxY']][_0x26a968(0x184,_0x58e7d1._0x1dfbf3,0x1c5,0x1e3)](_0x1f979e)){const _0x50015a={};return _0x50015a['error']='Bad\x20Reques'+'t',_0x50015a[_0xcafa5(-_0x58e7d1._0x2c302e,-0x299,-_0x58e7d1._0x23062b,-0x23d)]=_0x2cc499['CyrOH'],_0x2cd98b['status'](0x1b4b+0x264e+0x61*-0xa9)[_0xcafa5(-_0x58e7d1._0x199f08,-0x208,-0x22f,-0x25f)](_0x50015a);}const _0x3b3a59=await _0x2cc499[_0xcafa5(-_0x58e7d1._0x5cb65c,-0x207,-0x173,-_0x58e7d1._0x1f5963)](getRoleById,_0x3bd729);if(!_0x3b3a59){if(_0x2cc499[_0x26a968(0x14a,_0x58e7d1._0x25b33f,0x1fc,_0x58e7d1._0x2f76f7)](_0x2cc499['kzjFF'],_0x2cc499[_0xcafa5(-0x1ee,-0x1cd,-0x1b6,-0x1f0)])){const _0x54d6de={};return _0x54d6de[_0x26a968(0x1af,_0x58e7d1._0x459e3e,0x1fd,0x1fe)]=_0x2cc499[_0xcafa5(-_0x58e7d1._0x2b04c9,-0x185,-0x1fb,-0x1df)],_0x54d6de[_0x26a968(_0x58e7d1._0x2c15fb,0x169,_0x58e7d1._0x5cbc2e,_0x58e7d1._0x5d667e)]='Role\x20\x27'+_0x5346b0+(_0x26a968(_0x58e7d1._0x199086,_0x58e7d1._0x3e0fb3,0x183,0x159)+'d'),_0x33e425[_0xcafa5(-_0x58e7d1._0x5a099d,-0x1ea,-_0x58e7d1._0xc861f5,-0x206)](-0x1*0x403+0x1e9c+-0x1909)[_0x26a968(0xe5,_0x58e7d1._0x1dbc5c,_0x58e7d1._0x54ed31,0x121)](_0x54d6de);}else{const _0x10f18e={};return _0x10f18e[_0xcafa5(-0x161,-_0x58e7d1._0x1dfbf3,-0x15c,-_0x58e7d1._0xa3d390)]=_0x2cc499[_0x26a968(0x16d,0x1c7,0x231,_0x58e7d1._0xf75372)],_0x10f18e[_0xcafa5(-0x283,-0x201,-0x23b,-0x23d)]=_0x26a968(_0x58e7d1._0x4324b7,_0x58e7d1._0x3665c2,_0x58e7d1._0x5ae81f,_0x58e7d1._0x36bf31)+_0x3bd729+(_0xcafa5(-_0x58e7d1._0x53f650,-_0x58e7d1._0x40cb34,-0x1f3,-0x20e)+'d'),_0x2cd98b[_0xcafa5(-_0x58e7d1._0x20445f,-0x1dc,-_0x58e7d1._0x3e295b,-0x206)](0x2*-0xb50+-0x1*0x106e+0x144f*0x2)['json'](_0x10f18e);}}const _0x295b26=_0x2cc499[_0x26a968(0x22a,_0x58e7d1._0x482217,_0x58e7d1._0x20d321,0x25e)](inferRoleResourceType,_0x3b3a59[_0xcafa5(-_0x58e7d1._0x17b41d,-0x23f,-_0x58e7d1._0x33bc3f,-_0x58e7d1._0x2f76f7)+'s']);if(_0x295b26&&_0x2cc499[_0xcafa5(-_0x58e7d1._0x1cf17a,-0x1de,-0x25d,-0x205)](_0x295b26,_0x1f979e)){if(!(_0x3b3a59[_0xcafa5(-0x1bd,-0x1fa,-0x1f3,-_0x58e7d1._0x269b23)+'s']['includes']('*')&&_0x2cc499[_0x26a968(0x15e,0x158,0x117,0x10f)](_0x1f979e,_0x26a968(_0x58e7d1._0x3f6868,0x1ed,0x189,0x179)))){if(_0x2cc499[_0x26a968(0x194,_0x58e7d1._0x25b33f,_0x58e7d1._0x28c38f,0x1df)](_0x2cc499['ZfMPK'],_0x2cc499[_0xcafa5(-_0x58e7d1._0x2639b1,-_0x58e7d1._0x20fa79,-_0x58e7d1._0x21e939,-0x257)])){if(_0x4e1d7e[_0xcafa5(-0x20e,-_0x58e7d1._0x16a48a,-0x217,-_0x58e7d1._0x14c174)][_0x26a968(_0x58e7d1._0xc43e74,_0x58e7d1._0x1dfbf3,_0x58e7d1._0x32f8a8,0x1e3)](_0x2cc499[_0xcafa5(-0x19b,-0x236,-0x244,-0x1d8)])){const _0x4d6d6a={};return _0x4d6d6a[_0xcafa5(-0x224,-_0x58e7d1._0x686f11,-_0x58e7d1._0x3968ce,-0x1bd)]=_0x2cc499[_0xcafa5(-_0x58e7d1._0x79f262,-0x21f,-0x276,-_0x58e7d1._0x2ae0ba)],_0x4d6d6a[_0x26a968(_0x58e7d1._0x32f334,_0x58e7d1._0x1e69dd,0x183,_0x58e7d1._0x3e96f2)]=_0x33e32f[_0x26a968(_0x58e7d1._0x5c33f6,0x169,0x1b1,_0x58e7d1._0x2f9dd5)],_0x19ac0a['status'](0xf35*-0x2+-0x152b+0x352e)['json'](_0x4d6d6a);}const _0x268c7d={};_0x268c7d['error']=_0x1e6c02[_0x26a968(0xf3,0x169,0x19b,_0x58e7d1._0x216741)],_0x3d3cf0[_0x26a968(0x19b,_0x58e7d1._0x3058db,_0x58e7d1._0x392006,_0x58e7d1._0x20f52d)](_0x2cc499[_0x26a968(_0x58e7d1._0x1de72d,0x13c,0x133,_0x58e7d1._0x5dc932)],_0x268c7d);const _0x334d4c={};return _0x334d4c[_0xcafa5(-0x231,-0x15a,-_0x58e7d1._0x27b215,-0x1bd)]=_0xcafa5(-_0x58e7d1._0x1400e3,-0x1b2,-_0x58e7d1._0x1ed209,-0x1ff)+_0xcafa5(-0x204,-_0x58e7d1._0x250be9,-0x1ba,-0x18e)+'r',_0x435ba0[_0x26a968(_0x58e7d1._0x2e0fd4,_0x58e7d1._0xf75372,_0x58e7d1._0x79f262,_0x58e7d1._0x23cb32)](0x1c15+0xa84*-0x3+0x56b)[_0xcafa5(-_0x58e7d1._0x2740ff,-_0x58e7d1._0x29f148,-0x233,-_0x58e7d1._0x494f95)](_0x334d4c);}else{const _0x46154a={};return _0x46154a[_0xcafa5(-_0x58e7d1._0x46f09f,-0x1ba,-_0x58e7d1._0x58e1da,-_0x58e7d1._0x5b93d2)]='Bad\x20Reques'+'t',_0x46154a[_0xcafa5(-_0x58e7d1._0x3a2c8e,-0x20e,-0x203,-_0x58e7d1._0x1af6c0)]='Role\x20\x27'+_0x3b3a59['name']+'\x27\x20has\x20'+_0x295b26+(_0xcafa5(-_0x58e7d1._0x5b1d9b,-_0x58e7d1._0x14ef1d,-0x141,-_0x58e7d1._0x15ab13)+_0x26a968(_0x58e7d1._0x4d3041,_0x58e7d1._0x269876,_0x58e7d1._0x3b3fe9,0x227)+_0xcafa5(-0x1eb,-_0x58e7d1._0x5b3fad,-_0x58e7d1._0x5cdb69,-0x23e)+_0x26a968(_0x58e7d1._0x46613a,0x20b,0x1ed,0x209)+_0xcafa5(-0x19f,-0x1e3,-_0x58e7d1._0x41b755,-_0x58e7d1._0x1490f6)+_0x26a968(0x1e7,0x1c6,0x1b1,0x235))+_0x1f979e+'\x27',_0x2cd98b['status'](0x14*-0x16c+0xcb6*-0x1+0x2ab6)[_0x26a968(_0x58e7d1._0x561e95,0x147,_0x58e7d1._0x1b8269,0x13a)](_0x46154a);}}}if(_0x2cc499[_0x26a968(_0x58e7d1._0x71dd72,_0x58e7d1._0x3c7de5,0x181,_0x58e7d1._0x40d216)](_0x4b2b31,_0x2cc499['ldEIj'])){if(_0x2cc499[_0xcafa5(-_0x58e7d1._0x144a84,-_0x58e7d1._0x2ceb5f,-0x1e9,-_0x58e7d1._0x2740ff)](_0x2cc499['vadif'],_0x2cc499[_0xcafa5(-_0x58e7d1._0x755d0a,-_0x58e7d1._0x5ae6a8,-_0x58e7d1._0x1513df,-_0x58e7d1._0x4c219b)])){const _0x497e5c=await _0x2cc499['vrwXV'](getTeamById,_0x493b05);if(!_0x497e5c){const _0x42ffd0={};return _0x42ffd0['error']=_0x2cc499[_0xcafa5(-0x17f,-_0x58e7d1._0x5ade66,-_0x58e7d1._0x4fc69c,-_0x58e7d1._0x24c9cf)],_0x42ffd0[_0xcafa5(-0x25b,-_0x58e7d1._0x4c68c2,-0x2a1,-0x23d)]=_0x26a968(_0x58e7d1._0x340363,0x21f,_0x58e7d1._0x4324b7,0x245)+_0x493b05+(_0xcafa5(-0x1ca,-_0x58e7d1._0x20f52d,-_0x58e7d1._0x2fc41f,-0x20e)+'d'),_0x2cd98b['status'](0x408+-0x1d4e+0x1ad6)[_0xcafa5(-0x29f,-0x243,-0x252,-_0x58e7d1._0x494f95)](_0x42ffd0);}}else{const _0x1e3556={};return _0x1e3556['error']=_0x2cc499[_0xcafa5(-0x231,-0x198,-0x196,-0x1df)],_0x1e3556['message']=_0x26a968(_0x58e7d1._0x2b5e12,_0x58e7d1._0x5aa40a,_0x58e7d1._0x577750,0x26b)+_0x588d75+('\x27\x20not\x20foun'+'d'),_0x5bbd5b[_0x26a968(_0x58e7d1._0x2fe151,_0x58e7d1._0x5f4c82,_0x58e7d1._0x562448,_0x58e7d1._0x2d90e0)](-0xbd3+0x97c+0x3e7)[_0x26a968(_0x58e7d1._0x5ef6c5,_0x58e7d1._0x1dbc5c,_0x58e7d1._0x59560e,0xde)](_0x1e3556);}}else{if(_0xcafa5(-_0x58e7d1._0x1c6928,-_0x58e7d1._0x4b24d0,-_0x58e7d1._0x340363,-0x220)!=='wqmXJ'){const _0x3647b2={};return _0x3647b2[_0x26a968(0x1ab,0x1e9,_0x58e7d1._0x7593ff,0x22a)]=_0x26a968(0x1d6,0x17e,_0x58e7d1._0x1d6c69,_0x58e7d1._0x269b23)+'t',_0x3647b2[_0xcafa5(-0x26f,-0x28f,-0x288,-0x23d)]=_0x26a968(0x152,0x17f,_0x58e7d1._0x53767d,_0x58e7d1._0x3bb6bf)+_0xcafa5(-0x1c2,-0x237,-0x222,-0x223)+_0xb1172c+(_0xcafa5(-0x1ec,-0x26f,-_0x58e7d1._0x29979f,-_0x58e7d1._0x368927)+'d'),_0x32288d[_0x26a968(_0x58e7d1._0x18da85,_0x58e7d1._0x642f0f,_0x58e7d1._0x2c302e,_0x58e7d1._0xc702b9)](-0x23d5*-0x1+-0x1b4b*-0x1+0x1ec8*-0x2)[_0xcafa5(-_0x58e7d1._0xa83dcf,-_0x58e7d1._0x398367,-0x29e,-0x25f)](_0x3647b2);}else{const _0x5f16b8=await _0x2cc499[_0xcafa5(-0x208,-_0x58e7d1._0x4be3c7,-_0x58e7d1._0x54620a,-_0x58e7d1._0x1f5963)](findUserById,_0x493b05);if(!_0x5f16b8){const _0x10eaa5={};return _0x10eaa5[_0xcafa5(-0x192,-_0x58e7d1._0x17d836,-_0x58e7d1._0x517d51,-0x1bd)]=_0x26a968(_0x58e7d1._0x5613ad,_0x58e7d1._0xc07665,_0x58e7d1._0x54a25d,0x1db)+'t',_0x10eaa5[_0x26a968(0x1cc,_0x58e7d1._0x1e69dd,0x13f,0x163)]=_0xcafa5(-0x23b,-0x22a,-_0x58e7d1._0x3d2b71,-_0x58e7d1._0x38a441)+_0x493b05+(_0x26a968(_0x58e7d1._0x18da85,0x198,_0x58e7d1._0x3b3fe9,0x1e6)+'d'),_0x2cd98b['status'](0x6*-0x39+-0x1*0xfda+0x12c0)[_0x26a968(_0x58e7d1._0x493415,_0x58e7d1._0x4dbde7,_0x58e7d1._0x53d88c,_0x58e7d1._0x34f291)](_0x10eaa5);}}}if(_0x2cc499['cXspm'](_0x1f979e,_0xcafa5(-0x155,-0x13c,-_0x58e7d1._0x3a9f25,-_0x58e7d1._0x584721)+'t')&&_0xf597c&&_0x2cc499[_0x26a968(0x1fd,0x1a1,0x138,0x197)](_0xf597c,'*')){if(_0xcafa5(-0x220,-0x229,-_0x58e7d1._0x28be32,-0x216)!==_0x2cc499['kwFQT']){if(!await environmentExists(_0xf597c)){if(_0x2cc499[_0x26a968(0x127,0x184,_0x58e7d1._0x3e295b,_0x58e7d1._0x5ca05d)](_0xcafa5(-0x260,-0x205,-_0x58e7d1._0x11359b,-_0x58e7d1._0x2cbc7a),_0x2cc499[_0xcafa5(-0x28b,-0x1fd,-_0x58e7d1._0x451ac4,-_0x58e7d1._0x31d48b)])){const _0x3d437b={};return _0x3d437b[_0xcafa5(-_0x58e7d1._0x1f61c5,-0x1ec,-0x16c,-0x1bd)]=_0x2cc499[_0x26a968(0x15a,_0x58e7d1._0x50cd51,0x15b,0x1e2)],_0x3d437b['message']=_0xcafa5(-_0x58e7d1._0x5ad4b5,-0x1e7,-0x23c,-_0x58e7d1._0x1fc0f2)+_0xcafa5(-_0x58e7d1._0x29979f,-0x1ee,-_0x58e7d1._0x5b42bb,-_0x58e7d1._0x1d8cd5)+_0xf597c+(_0x26a968(_0x58e7d1._0x4106c0,_0x58e7d1._0x3e0fb3,0x1ec,0x189)+'d'),_0x2cd98b[_0x26a968(0x14e,0x1a0,0x207,_0x58e7d1._0x30a419)](0x378+0x165c+-0x1844)[_0x26a968(0x197,0x147,0xf6,0xf7)](_0x3d437b);}else{const _0x1eb80e={};return _0x1eb80e['error']=_0x2cc499['yJVXA'],_0x1eb80e['message']=_0x2cc499['CyrOH'],_0x4d052b[_0x26a968(0x18f,_0x58e7d1._0xedf8e6,_0x58e7d1._0x317d97,_0x58e7d1._0x33c98b)](-0x69+0x59*0x49+0x6b*-0x38)[_0x26a968(0x1aa,_0x58e7d1._0x1dbc5c,_0x58e7d1._0x4dc16e,_0x58e7d1._0x5b7072)](_0x1eb80e);}}}else{const _0x1f1805={};return _0x1f1805[_0x26a968(0x211,_0x58e7d1._0x8038e5,_0x58e7d1._0x4cbb2a,0x1d7)]=_0x2cc499[_0xcafa5(-0x2ad,-_0x58e7d1._0x31d48b,-0x2bf,-0x24b)],_0x1f1805['message']=_0xcafa5(-_0x58e7d1._0x105781,-_0x58e7d1._0x520c3e,-0x1d7,-0x1a8)+'\x20have\x20'+_0xe142cb+(_0xcafa5(-0x1f0,-_0x58e7d1._0x24103a,-_0x58e7d1._0x1ad90c,-0x247)+_0xcafa5(-0x1fc,-_0x58e7d1._0x49abb0,-0x261,-_0x58e7d1._0x3df8f8)+_0xcafa5(-_0x58e7d1._0x26c9cc,-_0x58e7d1._0x2fe151,-0x1c1,-_0x58e7d1._0x1dfbf3)),_0x528eba[_0x26a968(0x206,0x1a0,0x12f,_0x58e7d1._0x502d75)](-0x1541*0x1+-0x5*-0x84+-0x3*-0x6c0)[_0xcafa5(-0x241,-_0x58e7d1._0x26b930,-_0x58e7d1._0x4e3ead,-0x25f)](_0x1f1805);}}if(_0x2cc499[_0xcafa5(-0x1ee,-_0x58e7d1._0x209a6e,-0x1a8,-_0x58e7d1._0x3665c2)](_0x1f979e,_0xcafa5(-0x254,-_0x58e7d1._0x1253d8,-0x1fb,-0x24f))&&_0xf597c&&_0x2cc499[_0xcafa5(-_0x58e7d1._0x297725,-_0x58e7d1._0x26418b,-0x201,-0x205)](_0xf597c,'*')){const _0x1cc679=await getTeamById(_0xf597c);if(!_0x1cc679){const _0x4b64e1={};return _0x4b64e1[_0xcafa5(-0x170,-_0x58e7d1._0x42626f,-0x1a4,-_0x58e7d1._0x37043f)]=_0x2cc499[_0x26a968(_0x58e7d1._0x4324b7,_0x58e7d1._0x5ce5f5,_0x58e7d1._0xc96f7b,0x1a3)],_0x4b64e1['message']=_0xcafa5(-_0x58e7d1._0x352e74,-_0x58e7d1._0xef0697,-_0x58e7d1._0x5696eb,-0x187)+_0xf597c+(_0xcafa5(-0x241,-_0x58e7d1._0x57e011,-_0x58e7d1._0xf26a36,-_0x58e7d1._0x2ce6f2)+'d'),_0x2cd98b['status'](0x211c+-0x1*-0xe7b+-0x2e07)[_0xcafa5(-_0x58e7d1._0x1e32c3,-_0x58e7d1._0xcc76b,-0x267,-_0x58e7d1._0x494f95)](_0x4b64e1);}}const _0x1d951c=await _0x2cc499['OoSEO'](hasAllPermissions,_0x44f9b9[_0x26a968(_0x58e7d1._0x2f179f,0x13f,_0x58e7d1._0x3d9927,_0x58e7d1._0x17b41d)]['id']);if(!_0x1d951c){const _0x13831a=getManagePermission(_0x1f979e);if(_0x13831a){if(_0x2cc499[_0x26a968(0x1d4,_0x58e7d1._0x2f99d4,0x1f1,_0x58e7d1._0x3897f8)](_0x2cc499[_0x26a968(_0x58e7d1._0x2d90e0,0x1e0,0x1a4,_0x58e7d1._0x30a6d6)],_0x2cc499[_0xcafa5(-_0x58e7d1._0x39090b,-0x1ed,-0x1b1,-0x1c6)])){const _0x3433b4={};return _0x3433b4[_0xcafa5(-0x157,-_0x58e7d1._0x1d420e,-0x157,-_0x58e7d1._0x13eec2)]=_0x2cc499['yJVXA'],_0x3433b4[_0xcafa5(-0x1e7,-0x1f1,-_0x58e7d1._0xef0697,-_0x58e7d1._0x14c174)]='User\x20\x27'+_0x20c2d3+('\x27\x20not\x20foun'+'d'),_0x96306b[_0xcafa5(-0x1f4,-0x217,-_0x58e7d1._0x1d420e,-_0x58e7d1._0x17660a)](0x1ab1*0x1+-0x2*0x107f+-0x3*-0x29f)['json'](_0x3433b4);}else{const _0xfcc9c1=_0x2cc499[_0x26a968(_0x58e7d1._0x3f8305,_0x58e7d1._0x5e93e2,_0x58e7d1._0x30f689,0x121)](_0x1f979e,_0x2cc499[_0xcafa5(-0x24a,-0x248,-_0x58e7d1._0xbdac1b,-_0x58e7d1._0x22680d)])?null:_0xf597c,_0xcd9794=await _0x2cc499[_0x26a968(0x1c2,0x153,_0x58e7d1._0x30f689,_0x58e7d1._0x130161)](hasPermission,_0x44f9b9['user']['id'],_0x13831a,_0xfcc9c1);if(!_0xcd9794){const _0x583479={};return _0x583479[_0xcafa5(-_0x58e7d1._0x6e3a3d,-_0x58e7d1._0x1b8269,-0x208,-_0x58e7d1._0x3de81f)]=_0x2cc499[_0xcafa5(-_0x58e7d1._0x2049dd,-_0x58e7d1._0x10623b,-_0x58e7d1._0x213214,-0x24b)],_0x583479[_0xcafa5(-_0x58e7d1._0x5a099d,-_0x58e7d1._0x54c140,-_0x58e7d1._0xe50bf3,-0x23d)]=_0x26a968(0x1e6,_0x58e7d1._0x2740ff,0x1bd,_0x58e7d1._0x5b92f8)+_0xcafa5(-_0x58e7d1._0x456721,-_0x58e7d1._0x3a3d95,-_0x58e7d1._0x1400e3,-0x1e1)+_0x13831a+('\x20permissio'+_0xcafa5(-_0x58e7d1._0x4232fe,-_0x58e7d1._0x5a341b,-0x275,-_0x58e7d1._0x3df8f8)+_0xcafa5(-0x1e5,-_0x58e7d1._0x5a53cf,-_0x58e7d1._0xccd793,-0x1c8)),_0x2cd98b[_0x26a968(_0x58e7d1._0x30a419,_0x58e7d1._0xf75372,_0x58e7d1._0x2fe111,_0x58e7d1._0x1b3dc6)](-0x6f*-0x49+-0x21d1+-0x57*-0xb)['json'](_0x583479);}}}const _0x5f24cc=_0x1f979e===_0x2cc499['dKkGT']?await resolveUserPermissions(_0x44f9b9[_0x26a968(_0x58e7d1._0x4b63fa,0x13f,0x1ae,_0x58e7d1._0x109e81)]['id'],_0xf597c):['*'],_0x24bf77=isPermissionSubsetOf(_0x3b3a59[_0xcafa5(-_0x58e7d1._0x493ec5,-_0x58e7d1._0x29696f,-0x24c,-_0x58e7d1._0x56c0ff)+'s'],_0x5f24cc);if(!_0x24bf77[_0xcafa5(-0x147,-0x129,-_0x58e7d1._0x5b7873,-0x199)])return _0x2cd98b['status'](0x1119+-0x20df+0x1159)[_0x26a968(_0x58e7d1._0x4ce681,0x147,0x134,0xd2)]({'error':_0x2cc499[_0xcafa5(-_0x58e7d1._0x26a291,-_0x58e7d1._0x391381,-_0x58e7d1._0x199f08,-_0x58e7d1._0x5adfea)],'message':_0x26a968(0x211,_0x58e7d1._0x38a441,0x243,_0x58e7d1._0xcc76b)+_0x3b3a59[_0x26a968(_0x58e7d1._0x58cf27,0x20e,_0x58e7d1._0x30f5dc,0x227)]+(_0x26a968(_0x58e7d1._0x32f334,0x16d,0x169,0x1d1)+'\x20permissio'+_0x26a968(_0x58e7d1._0x3bcd9e,_0x58e7d1._0x4dc16e,_0x58e7d1._0x426e01,0x186)+_0xcafa5(-_0x58e7d1._0xe0e283,-0x1db,-0x199,-0x1f7))+_0x24bf77[_0x26a968(_0x58e7d1._0x311c03,0x151,_0x58e7d1._0x3ba796,_0x58e7d1._0x290f59)+_0x26a968(0x1f9,_0x58e7d1._0x4e0025,0x1ef,0x1c2)][_0xcafa5(-0x244,-0x193,-0x178,-_0x58e7d1._0x380f81)](',\x20')});}const _0x164547=await _0x2cc499[_0xcafa5(-_0x58e7d1._0x25eb1d,-_0x58e7d1._0x28926b,-0x11d,-_0x58e7d1._0x1bcd09)](createBinding,{'subject_type':_0x4b2b31,'subject_id':_0x493b05,'role_id':_0x3bd729,'resource_type':_0x1f979e,'resource_id':_0x2cc499[_0x26a968(0x13b,0x178,0x122,0x1aa)](_0x1f979e,'server')?undefined:_0xf597c,'created_by':_0x44f9b9[_0x26a968(0x118,0x13f,0x17c,0xc9)]['id']}),_0x1b057f={};return _0x1b057f['message']=_0x2cc499[_0x26a968(_0x58e7d1._0x4a5e4a,_0x58e7d1._0x2dc1b2,0x216,0x1f2)],_0x1b057f[_0xcafa5(-_0x58e7d1._0x71dd72,-_0x58e7d1._0x2d08fe,-0x1fb,-_0x58e7d1._0x4c306e)]=_0x164547,_0x2cd98b[_0xcafa5(-_0x58e7d1._0x1dfbf3,-0x218,-_0x58e7d1._0x54620a,-_0x58e7d1._0x17660a)](-0x23b4+-0x14*0x98+0x305d)[_0x26a968(0x1bc,0x147,_0x58e7d1._0x41c4a3,0x168)](_0x1b057f);}}catch(_0x5a18cc){if(_0x5a18cc['message'][_0x26a968(_0x58e7d1._0x3b9111,0x1c8,_0x58e7d1._0x26c9cc,0x1f0)](_0x2cc499[_0x26a968(0x187,_0x58e7d1._0x3011e7,_0x58e7d1._0x114104,_0x58e7d1._0x5ce5f5)])){const _0x10264c={};return _0x10264c[_0xcafa5(-_0x58e7d1._0x46613a,-_0x58e7d1._0x34f6ed,-0x167,-0x1bd)]=_0x2cc499[_0x26a968(0x202,0x1a5,_0x58e7d1._0x5ca05d,_0x58e7d1._0x429acc)],_0x10264c['message']=_0x5a18cc[_0xcafa5(-_0x58e7d1._0x46546c,-_0x58e7d1._0x22680d,-_0x58e7d1._0x3af43d,-0x23d)],_0x2cd98b[_0x26a968(0x16e,0x1a0,_0x58e7d1._0x1d622a,0x1bb)](0x377*-0xb+0x1*-0x443+0x2bf9)['json'](_0x10264c);}const _0x275e7f={};_0x275e7f[_0xcafa5(-0x148,-_0x58e7d1._0xe669e0,-0x165,-_0x58e7d1._0x528578)]=_0x5a18cc[_0xcafa5(-0x2a5,-_0x58e7d1._0x47232d,-0x259,-_0x58e7d1._0x1af6c0)],logger['error'](_0x2cc499[_0x26a968(0x11a,_0x58e7d1._0x299dd3,0xcc,0x1ac)],_0x275e7f);const _0x994630={};return _0x994630[_0x26a968(0x21b,_0x58e7d1._0xa2c21d,0x1e6,_0x58e7d1._0x2f99d4)]=_0x2cc499['OqFYk'],_0x2cd98b[_0x26a968(_0x58e7d1._0x57f33c,_0x58e7d1._0xa6c442,_0x58e7d1._0x52596e,_0x58e7d1._0x3b9111)](-0x3*-0x788+-0x2582+0x22*0x7f)['json'](_0x994630);}}),router['put']('/:id',async(_0x50a7a0,_0x277ef3)=>{const _0x52fa03={_0x462c46:0x39c,_0x401f48:0x33f,_0x36bd13:0x327,_0x447021:0x2a5,_0x18c13c:0x280,_0x4afb03:0x216,_0x5428f6:0x22f,_0x52bb2f:0x1c6,_0x3c55e6:0x285,_0x168f83:0x237,_0x4e8bfe:0x250,_0x47494f:0x162,_0x17fbb4:0x165,_0x1bf1b8:0x345,_0x2a5552:0x37d,_0xc887bc:0x207,_0xceb3c0:0x258,_0x4cc305:0x1f4,_0xb2fea9:0x365,_0x4ae670:0x22c,_0x1cf328:0x27a,_0x2cdee9:0x278,_0x56cc93:0x32d,_0x493a60:0x1a4,_0x1a7304:0x1ed,_0x27dd3b:0x1f1,_0x21f1d0:0x174,_0x5b3f58:0x28d,_0x39ebbf:0x253,_0x10ec57:0x2bc,_0x4696aa:0x31e,_0x136c4e:0x150,_0x1786a2:0x143,_0x4ec358:0x1b5,_0x71b1aa:0x2ae,_0x579084:0x2a3,_0x332321:0x234,_0x4766f1:0x27e,_0x38983a:0x255,_0x11f882:0x1e5,_0x47af97:0x1f6,_0x358180:0x265,_0x24bfb9:0x2a2,_0x17c0b1:0x2cf,_0x3ea124:0x3e8,_0x3b52b9:0x243,_0x4a3f6c:0x1db,_0x34ce77:0x1f3,_0x1241ac:0x3cb,_0x2656a9:0x394,_0x5ee1c3:0x21f,_0xae77a4:0x1c3,_0x35cb6b:0x202,_0x260274:0x1e5,_0x497401:0x1f3,_0x2bb834:0x1d4,_0x4550b3:0x238,_0x243351:0x267,_0x328eac:0x231,_0x2cccae:0x22e,_0x3ef67d:0x227,_0x136c5a:0x310,_0x2a8764:0x379,_0x14210e:0x16f,_0x5d3bc0:0x23e,_0x4d9343:0x1ea,_0x2ebdec:0x1d4,_0x1605be:0x2e9,_0x1c59ad:0x393,_0x26e3d4:0x2cc,_0x4d38e1:0x399,_0x45d34:0x34c,_0x7908c3:0x309,_0x31c4ec:0x2aa,_0x1dbe38:0x190,_0x383688:0x1f3,_0x171e0f:0x1d2,_0x153e78:0x275,_0x97153a:0x2a8,_0x480b4d:0x260,_0x1ce004:0x24c,_0x47b4c8:0x327,_0x45798a:0x31d,_0x1220db:0x2e1,_0x1fa0ca:0x2e5,_0x5a776d:0x156,_0x2c1df8:0x198,_0x230335:0x378,_0x1b4f49:0x222,_0x10715a:0x272,_0x53382e:0x23d,_0x3ee0e6:0x26f,_0x50bdaa:0x1dc,_0x55f1d2:0x308,_0x2af57d:0x34a,_0x2c3b30:0x375,_0x4b33e5:0x25a,_0x1fee67:0x21b,_0x3e758c:0x240,_0x1a9e84:0x17c,_0x3fc6e4:0x24b,_0x1c11d1:0x1e9,_0x40f971:0x340,_0x11dcf9:0x287,_0x431d8c:0x357,_0x2b6256:0x23c,_0x26833a:0x253,_0x5ef439:0x20f,_0x4f1733:0x28d,_0x5ad433:0x335,_0x3f2769:0x2aa,_0x11f9a9:0x2f3,_0x2185c5:0x1ff,_0x508091:0x215,_0x386c88:0x1de,_0x1d5cd4:0x1d0,_0x443415:0x359,_0x32a6b7:0x1f8,_0x5a3a0e:0x1ca,_0x384679:0x36e,_0x5ca095:0x241,_0x2b48b4:0x2a4,_0x4ae010:0x244,_0x4cf8cb:0x191,_0x445e6e:0x362,_0x3bb300:0x317,_0x4c42e6:0x301,_0x73c3f8:0x1c8,_0x2097c8:0x21e,_0xda2f46:0x161,_0x18b2b5:0x271,_0x9c07d6:0x24f,_0x229a8b:0x228,_0x106fec:0x252,_0x82def0:0x205,_0x3cd3aa:0x252,_0x3016f7:0x1da,_0x2656f0:0x265,_0x4b6ec4:0x35b,_0x294804:0x317,_0x22a886:0x38e,_0x10f69c:0x1f0,_0xd820f:0x330,_0x4f435f:0x263,_0x3900d4:0x28b,_0x25ce28:0x2c3,_0x27c6d9:0x2fb,_0x5a7c71:0x3b4,_0x19cf2b:0x34f,_0x2d87df:0x346,_0x35c8d1:0x3bc,_0x3d974a:0x34f,_0x32f2fd:0x39d,_0x47704b:0x25f,_0x488a41:0x259,_0x3285bf:0x32f,_0x3cfafa:0x2d7,_0x2b8a26:0x2e2,_0x51e24a:0x348,_0x247615:0x2e5,_0x5ecda4:0x362,_0x142f2c:0x409,_0x5df167:0x3ee,_0x2866ad:0x365,_0x3702cf:0x39e,_0x2e5300:0x32b,_0xd8133:0x358,_0x470316:0x2b4,_0x50b438:0x330,_0x40b9cb:0x1f2,_0x5ce897:0x231,_0x52f63c:0x27d,_0x29ad6c:0x379,_0x3752ee:0x28a,_0x9ae015:0x24d,_0x33dd57:0x265,_0x5217c0:0x226,_0x2ad655:0x1fc,_0x29f839:0x1bf,_0x28b6c2:0x27c,_0x300f32:0x1e2,_0x1c5f8c:0x2ff,_0xbc9809:0x31b,_0x5797f5:0x321,_0x433ece:0x2d4,_0x4aae48:0x312,_0x791abc:0x29f,_0x1f81b8:0x29e,_0x78d4e6:0x28c,_0x328789:0x2d7},_0x414e6a={_0x145a92:0x9b,_0x1947ed:0x358,_0x29e5f6:0x9b},_0x26ce22={_0x298f8b:0x18f,_0x3fd6a1:0xea};function _0xda69e6(_0x13b3dd,_0x13241e,_0x3f7daf,_0x219f80){return _0xc79654(_0x13b3dd-0x2e,_0x13241e-_0x26ce22._0x298f8b,_0x219f80- -_0x26ce22._0x3fd6a1,_0x3f7daf);}const _0x2c9f25={'MfedZ':_0xda69e6(0x389,0x391,0x3d2,_0x52fa03._0x462c46)+_0xda69e6(0x39e,_0x52fa03._0x401f48,0x30e,_0x52fa03._0x36bd13),'YvbsI':function(_0x30f626,_0x434765){return _0x30f626(_0x434765);},'aVKmP':function(_0x3a8879,_0x51a743){return _0x3a8879===_0x51a743;},'zVHaq':_0x1dc727(-0x2f0,-_0x52fa03._0x447021,-0x21d,-_0x52fa03._0x18c13c),'UDmhP':_0x1dc727(-_0x52fa03._0x4afb03,-_0x52fa03._0x5428f6,-0x211,-_0x52fa03._0x52bb2f)+_0x1dc727(-0x1f5,-_0x52fa03._0x3c55e6,-0x226,-0x22f),'rUkIs':_0x1dc727(-_0x52fa03._0x168f83,-0x245,-0x286,-_0x52fa03._0x4e8bfe)+'t','EZRRa':function(_0x2f261b,_0x249098){return _0x2f261b!==_0x249098;},'WemZP':_0x1dc727(-_0x52fa03._0x47494f,-_0x52fa03._0x17fbb4,-0x1d5,-0x1ae),'BqmTn':_0xda69e6(0x319,0x32b,_0x52fa03._0x1bf1b8,_0x52fa03._0x2a5552),'GUuFt':_0x1dc727(-_0x52fa03._0xc887bc,-0x1c3,-_0x52fa03._0xceb3c0,-_0x52fa03._0x4cc305),'gurdp':function(_0x3d4b65,_0x20c751){return _0x3d4b65!==_0x20c751;},'PboMV':_0xda69e6(0x375,0x32b,0x3c2,_0x52fa03._0xb2fea9),'DdrKa':function(_0x13ef64,_0x3c04f4,_0x14b851){return _0x13ef64(_0x3c04f4,_0x14b851);},'NHqzP':function(_0x5a414f,_0x55d525,_0x5ad8e6){return _0x5a414f(_0x55d525,_0x5ad8e6);},'eqTTz':_0x1dc727(-_0x52fa03._0x4ae670,-_0x52fa03._0x1cf328,-_0x52fa03._0x2cdee9,-0x269)+_0x1dc727(-0x2af,-0x209,-0x2eb,-0x278)+'ng','CgXce':_0xda69e6(_0x52fa03._0x56cc93,0x315,0x38a,0x337)+_0x1dc727(-0x158,-0x1c7,-_0x52fa03._0x493a60,-0x1b6)+'r'};function _0x1dc727(_0x446558,_0x16265c,_0x1f113b,_0x83da91){return _0x1f5df5(_0x446558-_0x414e6a._0x145a92,_0x83da91- -_0x414e6a._0x1947ed,_0x1f113b,_0x83da91-_0x414e6a._0x29e5f6);}try{const _0x564c73=await _0x2c9f25[_0x1dc727(-_0x52fa03._0x1a7304,-_0x52fa03._0x27dd3b,-_0x52fa03._0x21f1d0,-0x1e2)](getBindingById,_0x50a7a0[_0x1dc727(-_0x52fa03._0x5b3f58,-0x233,-0x214,-_0x52fa03._0x39ebbf)]['id']);if(!_0x564c73){if(_0x2c9f25[_0xda69e6(_0x52fa03._0x10ec57,0x386,0x32d,_0x52fa03._0x4696aa)](_0x2c9f25[_0x1dc727(-0x1b2,-_0x52fa03._0x136c4e,-_0x52fa03._0x1786a2,-_0x52fa03._0x4ec358)],_0x1dc727(-_0x52fa03._0x71b1aa,-_0x52fa03._0x579084,-_0x52fa03._0x332321,-_0x52fa03._0x4766f1))){const _0x2cc82c={};return _0x2cc82c[_0x1dc727(-_0x52fa03._0x38983a,-0x196,-0x1ec,-_0x52fa03._0x11f882)]=_0xda69e6(0x364,0x2b7,0x2e5,0x30e)+'t',_0x2cc82c[_0x1dc727(-0x281,-_0x52fa03._0x47af97,-0x2bf,-_0x52fa03._0x358180)]='Team\x20\x27'+_0x344221+('\x27\x20not\x20foun'+'d'),_0x11d889[_0x1dc727(-0x26d,-_0x52fa03._0x18c13c,-_0x52fa03._0x24bfb9,-0x22e)](-0xcf2*-0x2+-0xc2e+-0xc26*0x1)[_0x1dc727(-0x239,-_0x52fa03._0x17c0b1,-0x2fc,-0x287)](_0x2cc82c);}else{const _0x22fd84={};return _0x22fd84[_0xda69e6(_0x52fa03._0x3ea124,0x3e7,0x3e9,0x379)]=_0x2c9f25[_0x1dc727(-_0x52fa03._0x3b52b9,-0x185,-_0x52fa03._0x4a3f6c,-_0x52fa03._0x34ce77)],_0x277ef3['status'](-0x2607+0xd*0x35+0x3*0xc4e)['json'](_0x22fd84);}}const {role_id:_0x594251}=_0x50a7a0[_0xda69e6(0x408,_0x52fa03._0x1241ac,0x402,_0x52fa03._0x2656a9)];if(!_0x594251){const _0x42d02d={};return _0x42d02d[_0x1dc727(-_0x52fa03._0x5ee1c3,-_0x52fa03._0xae77a4,-_0x52fa03._0x35cb6b,-_0x52fa03._0x260274)]=_0x2c9f25['rUkIs'],_0x42d02d[_0x1dc727(-0x292,-_0x52fa03._0x497401,-0x201,-0x265)]=_0x1dc727(-_0x52fa03._0x2bb834,-0x24e,-0x23d,-_0x52fa03._0x4550b3)+'\x20required',_0x277ef3[_0x1dc727(-0x23b,-_0x52fa03._0x243351,-_0x52fa03._0x328eac,-_0x52fa03._0x2cccae)](-0xd7*-0xb+-0x14e*0x6+-0x1*-0x27)[_0x1dc727(-0x23d,-_0x52fa03._0x3ef67d,-0x2fc,-0x287)](_0x42d02d);}const _0x46c7fd=await getRoleById(_0x594251);if(!_0x46c7fd){const _0xbe109b={};return _0xbe109b[_0xda69e6(0x378,_0x52fa03._0x136c5a,_0x52fa03._0x401f48,_0x52fa03._0x2a8764)]=_0x2c9f25['rUkIs'],_0xbe109b['message']=_0x1dc727(-_0x52fa03._0x14210e,-_0x52fa03._0x5d3bc0,-_0x52fa03._0x4d9343,-_0x52fa03._0x2ebdec)+_0x594251+(_0xda69e6(_0x52fa03._0x1605be,_0x52fa03._0x1c59ad,_0x52fa03._0x26e3d4,0x328)+'d'),_0x277ef3[_0xda69e6(_0x52fa03._0x4d38e1,_0x52fa03._0x45d34,0x324,0x330)](0x252e*0x1+0x147c+0x2b*-0x14e)[_0xda69e6(0x2cb,0x327,_0x52fa03._0x7908c3,0x2d7)](_0xbe109b);}const _0x27f809=await hasAllPermissions(_0x50a7a0[_0x1dc727(-0x253,-_0x52fa03._0x31c4ec,-0x2cf,-0x28f)]['id']);if(!_0x27f809){if(_0x2c9f25[_0x1dc727(-_0x52fa03._0x5ee1c3,-_0x52fa03._0x1dbe38,-_0x52fa03._0x383688,-_0x52fa03._0x171e0f)]('hjEAO',_0x2c9f25[_0x1dc727(-_0x52fa03._0x153e78,-_0x52fa03._0x97153a,-_0x52fa03._0x480b4d,-_0x52fa03._0x1ce004)]))return _0x4b9e5b[_0xda69e6(_0x52fa03._0x47b4c8,0x360,_0x52fa03._0x45798a,0x330)](0x1*0x189a+-0x3b*-0x41+0x46*-0x8b)['json']({'error':_0x2c9f25[_0xda69e6(_0x52fa03._0x31c4ec,0x2b2,_0x52fa03._0x1220db,_0x52fa03._0x1fa0ca)],'message':_0x1dc727(-_0x52fa03._0x5a776d,-_0x52fa03._0x2c1df8,-0x15c,-0x1a8)+_0x125138[_0xda69e6(_0x52fa03._0x230335,0x336,0x364,0x39e)]+(_0x1dc727(-_0x52fa03._0x1b4f49,-_0x52fa03._0x10715a,-0x276,-0x261)+_0x1dc727(-0x296,-_0x52fa03._0x53382e,-0x25c,-_0x52fa03._0x3ee0e6)+'ns\x20you\x20do\x20'+_0x1dc727(-0x1d1,-_0x52fa03._0x50bdaa,-0x1f9,-_0x52fa03._0x5ee1c3))+_0x378f2c['missingPer'+_0x1dc727(-0x1b7,-0x28c,-0x286,-0x223)][_0xda69e6(0x362,0x2dd,_0x52fa03._0x55f1d2,0x349)](',\x20')});else{const _0x3b0c50=getManagePermission(_0x564c73[_0xda69e6(0x34c,0x36a,_0x52fa03._0x2af57d,_0x52fa03._0x2c3b30)+_0x1dc727(-0x29e,-_0x52fa03._0x3b52b9,-_0x52fa03._0x1ce004,-_0x52fa03._0x4b33e5)]);if(_0x3b0c50){const _0x36cdd8=_0x2c9f25[_0x1dc727(-0x207,-0x202,-_0x52fa03._0x1fee67,-_0x52fa03._0x3e758c)](_0x564c73[_0x1dc727(-_0x52fa03._0x1a9e84,-_0x52fa03._0x3b52b9,-_0x52fa03._0x3fc6e4,-_0x52fa03._0x1c11d1)+'ype'],_0x2c9f25[_0xda69e6(_0x52fa03._0x40f971,_0x52fa03._0x11dcf9,_0x52fa03._0x431d8c,0x2f7)])?null:_0x564c73[_0x1dc727(-_0x52fa03._0x2b6256,-_0x52fa03._0x26833a,-0x250,-_0x52fa03._0x5ef439)+'d'],_0x24f9d4=await hasPermission(_0x50a7a0[_0xda69e6(_0x52fa03._0x4f1733,0x318,0x30e,_0x52fa03._0x17c0b1)]['id'],_0x3b0c50,_0x36cdd8);if(!_0x24f9d4){const _0x483f81={};return _0x483f81['error']=_0x2c9f25[_0xda69e6(_0x52fa03._0x5ad433,0x29a,_0x52fa03._0x3f2769,_0x52fa03._0x11f9a9)],_0x483f81[_0x1dc727(-_0x52fa03._0x3b52b9,-0x267,-0x291,-0x265)]=_0x1dc727(-_0x52fa03._0x2185c5,-_0x52fa03._0x508091,-_0x52fa03._0x386c88,-_0x52fa03._0x1d5cd4)+_0xda69e6(0x3b6,_0x52fa03._0x443415,0x377,0x355)+_0x3b0c50+(_0x1dc727(-0x2ab,-_0x52fa03._0x17c0b1,-_0x52fa03._0x32a6b7,-_0x52fa03._0x3ee0e6)+_0x1dc727(-0x23d,-0x1e7,-_0x52fa03._0x5a3a0e,-0x22c)+_0xda69e6(0x308,_0x52fa03._0x384679,0x32e,_0x52fa03._0x384679)),_0x277ef3[_0x1dc727(-0x286,-_0x52fa03._0x5ca095,-0x1f0,-0x22e)](0x1ebf+-0x13cb+-0x961)[_0x1dc727(-0x285,-_0x52fa03._0x2b48b4,-0x217,-0x287)](_0x483f81);}}if(_0x2c9f25[_0x1dc727(-0x279,-0x212,-_0x52fa03._0x4ae010,-_0x52fa03._0x3e758c)](_0x564c73[_0x1dc727(-0x258,-0x196,-_0x52fa03._0x4cf8cb,-_0x52fa03._0x1c11d1)+_0xda69e6(_0x52fa03._0x445e6e,_0x52fa03._0x3bb300,_0x52fa03._0x4c42e6,0x304)],_0x1dc727(-0x1ff,-0x1c3,-0x1ab,-_0x52fa03._0x73c3f8)+'t')){if(_0x2c9f25[_0x1dc727(-_0x52fa03._0x2097c8,-0x148,-_0x52fa03._0xda2f46,-0x1b4)](_0x2c9f25[_0x1dc727(-_0x52fa03._0x18b2b5,-_0x52fa03._0x9c07d6,-_0x52fa03._0x229a8b,-_0x52fa03._0x106fec)],_0x2c9f25[_0x1dc727(-0x207,-_0x52fa03._0x82def0,-0x20d,-_0x52fa03._0x3cd3aa)])){const _0x28572c={};return _0x28572c[_0xda69e6(0x3a5,0x3dc,_0x52fa03._0x7908c3,0x379)]=_0x1dc727(-0x233,-_0x52fa03._0x3016f7,-0x1b6,-_0x52fa03._0x4cc305),_0x28572c[_0x1dc727(-0x281,-0x273,-_0x52fa03._0x82def0,-_0x52fa03._0x2656f0)]=_0xda69e6(_0x52fa03._0x4b6ec4,0x3a2,_0x52fa03._0x294804,_0x52fa03._0x22a886)+'\x20have\x20'+_0x32a470+('\x20permissio'+'n\x20on\x20this\x20'+_0x1dc727(-0x1e7,-0x1f0,-_0x52fa03._0x1dbe38,-_0x52fa03._0x10f69c)),_0x13a9ad[_0xda69e6(_0x52fa03._0x56cc93,0x2dc,_0x52fa03._0x1605be,_0x52fa03._0xd820f)](0x12c8+0xdf*-0x1+-0x1056)[_0x1dc727(-_0x52fa03._0x4f435f,-_0x52fa03._0x3900d4,-0x283,-0x287)](_0x28572c);}else{const _0xdd2088=await _0x2c9f25['DdrKa'](resolveUserPermissions,_0x50a7a0[_0x1dc727(-_0x52fa03._0x25ce28,-0x2f9,-_0x52fa03._0x27c6d9,-0x28f)]['id'],_0x564c73[_0xda69e6(0x31e,0x2f5,_0x52fa03._0x5a7c71,_0x52fa03._0x19cf2b)+'d']),_0x55328e=_0x2c9f25[_0xda69e6(0x2f1,0x344,0x2d1,0x2ce)](isPermissionSubsetOf,_0x46c7fd[_0xda69e6(_0x52fa03._0x2d87df,_0x52fa03._0x35c8d1,0x349,0x35c)+'s'],_0xdd2088);if(!_0x55328e[_0xda69e6(0x412,0x3bb,_0x52fa03._0x3d974a,_0x52fa03._0x32f2fd)])return _0x277ef3[_0x1dc727(-0x231,-_0x52fa03._0x47704b,-_0x52fa03._0x488a41,-_0x52fa03._0x2cccae)](0x9*-0xca+0xec5+-0x618)[_0xda69e6(_0x52fa03._0x3285bf,0x312,_0x52fa03._0x4f435f,_0x52fa03._0x3cfafa)]({'error':_0x2c9f25[_0xda69e6(_0x52fa03._0x2b8a26,0x2d1,_0x52fa03._0x51e24a,_0x52fa03._0x247615)],'message':_0xda69e6(_0x52fa03._0x5ecda4,0x3ca,_0x52fa03._0x142f2c,0x3b6)+_0x46c7fd[_0xda69e6(_0x52fa03._0x5df167,0x3ca,_0x52fa03._0x2866ad,_0x52fa03._0x3702cf)]+(_0xda69e6(0x339,_0x52fa03._0x2e5300,_0x52fa03._0xd8133,0x2fd)+'\x20permissio'+_0xda69e6(_0x52fa03._0x470316,_0x52fa03._0x50b438,0x2dc,0x31c)+_0x1dc727(-0x294,-0x211,-_0x52fa03._0x40b9cb,-0x21f))+_0x55328e[_0x1dc727(-0x20b,-0x2a3,-_0x52fa03._0x5ce897,-_0x52fa03._0x52f63c)+_0xda69e6(0x388,_0x52fa03._0x29ad6c,0x35d,0x33b)]['join'](',\x20')});}}}}const _0x27537f={};_0x27537f[_0x1dc727(-_0x52fa03._0x3752ee,-0x27c,-0x267,-_0x52fa03._0x9ae015)]=_0x594251;const _0x5f3283=await updateBinding(_0x564c73['id'],_0x27537f),_0x4da66b={};return _0x4da66b[_0x1dc727(-0x247,-0x2d2,-_0x52fa03._0x3900d4,-_0x52fa03._0x33dd57)]=_0x1dc727(-_0x52fa03._0x5217c0,-_0x52fa03._0x2ad655,-0x216,-_0x52fa03._0x29f839)+_0x1dc727(-0x20d,-0x14d,-0x19d,-0x1b3)+_0x1dc727(-0x2c8,-0x263,-0x214,-_0x52fa03._0x28b6c2),_0x4da66b[_0xda69e6(0x3b0,0x3b7,0x300,0x34b)]=_0x5f3283,_0x277ef3[_0x1dc727(-0x22d,-0x247,-0x245,-0x287)](_0x4da66b);}catch(_0x338566){const _0x245137={};_0x245137[_0xda69e6(0x3b7,0x33e,0x3d5,_0x52fa03._0x29ad6c)]=_0x338566['message'],logger[_0x1dc727(-0x1f9,-0x224,-_0x52fa03._0x300f32,-0x1e5)](_0x2c9f25[_0xda69e6(_0x52fa03._0x1c5f8c,_0x52fa03._0xbc9809,0x36a,_0x52fa03._0x5797f5)],_0x245137);const _0x650333={};return _0x650333[_0xda69e6(_0x52fa03._0x45798a,0x3ec,0x3a0,0x379)]=_0x2c9f25['CgXce'],_0x277ef3[_0xda69e6(0x37d,_0x52fa03._0x433ece,_0x52fa03._0x4aae48,0x330)](0x1984+-0xccd+-0xac3)[_0xda69e6(_0x52fa03._0x791abc,_0x52fa03._0x1f81b8,_0x52fa03._0x78d4e6,_0x52fa03._0x328789)](_0x650333);}});function _0xc79654(_0x371c45,_0x4e4334,_0xa96b6e,_0x15c0ee){return _0x1d62(_0xa96b6e-0x267,_0x15c0ee);}router[_0x1f5df5(0x217,0x1ab,0x16a,0x1b8)](_0xc79654(0x49b,0x49d,0x42b,0x409),async(_0x473f3a,_0x1d8f8d)=>{const _0x1c6d61={_0x1f7fdb:0x271,_0x16602e:0x264,_0x4dea45:0x1b0,_0x5c41d5:0x208,_0x450252:0x15f,_0x1985be:0x210,_0x1755aa:0x1cc,_0xd8154a:0x188,_0x253aef:0x1ef,_0x4384ea:0x238,_0x28e49d:0x1de,_0x3ecf29:0x1d1,_0x4c3853:0x1e9,_0x48f5f4:0x287,_0x452c00:0x27b,_0x4413e3:0x242,_0x2f9de9:0x2bf,_0x263c43:0x24b,_0x532fe2:0x1f2,_0x2f7f25:0x220,_0x501482:0x1db,_0x468ff2:0x23e,_0x103edd:0x235,_0x4f510f:0x1ec,_0x5267f4:0x2c3,_0x5dc0ff:0x2af,_0x248f48:0x247,_0x4dd94b:0x23f,_0x3252ab:0x204,_0x4d8282:0x267,_0x20c16e:0x292,_0x75b98f:0x1a7,_0x23be85:0x162,_0x130dd0:0x182,_0x3a8023:0x228,_0x555c4a:0x1e4,_0x5b5358:0x1f0,_0x1aec69:0x22c,_0x4fc3aa:0x219,_0x4ad469:0x2c0,_0x58accb:0x29b,_0x5deffe:0x2bd,_0x4f79e0:0x27a,_0xc1e05e:0x21a,_0x47333c:0x1fa,_0x126115:0x207,_0x25011d:0x1dd,_0x158e36:0x2a1,_0x569e48:0x22f,_0x407447:0x19c,_0x1ebb56:0x246,_0x196b0c:0x234,_0xcd4b19:0x1e5,_0x64a3a3:0x293,_0x4602ad:0x27a,_0x410ce9:0x2b1,_0xe88562:0x2a4,_0x5687ee:0x26b,_0x3f3697:0x252,_0x3a6806:0x1f3,_0x13499a:0x201,_0x18b41d:0x24a,_0x613d68:0x1ce,_0x30b078:0x1d2,_0x55436:0x184,_0x1952f8:0x25a,_0x33b656:0x20c,_0x546afd:0x245,_0x36da95:0x1c3,_0x174cd9:0x1c6,_0xb89eaa:0x1c4,_0x440fb4:0x1b0,_0x461270:0x1de,_0x1253da:0x202,_0x2bf12f:0x1f7,_0x33af02:0x1ae,_0x430b33:0x1ea,_0x4fdf37:0x206,_0x1ddd7e:0x264,_0x399d30:0x1fb,_0x46767e:0x1d4,_0xf00f9d:0x1ee,_0x4cbe24:0x22e,_0x7158f:0x2be,_0x1c6e2f:0x2a4,_0x3fe848:0x243,_0x361465:0x233,_0x18b521:0x17d,_0x4e5cbe:0x19e,_0x5c79ff:0x1c8,_0x3b4af1:0x1d0,_0x363a77:0x218,_0xa2eac5:0x168,_0x8a148c:0x1cd,_0x4e99e7:0x23a,_0x4b9a85:0x213,_0x26d7e1:0x262,_0x551e7e:0x1d6,_0x676a82:0x217,_0x3518a5:0x230,_0x453ad0:0x219,_0x1647f1:0x284,_0xb9c170:0x268,_0x3b335d:0x2c4,_0x385ca3:0x2c8,_0x1e799e:0x252,_0x14cf58:0x201,_0x22ac8f:0x1d2,_0x315014:0x228,_0x15c542:0x18b,_0x25b957:0x1b2,_0x417395:0x1ec,_0x5c79f1:0x1da,_0x176c83:0x29f,_0x47dc83:0x258,_0x13a76e:0x285,_0x2aec96:0x22d,_0x426179:0x219},_0x1720a9={_0x1d3a1d:0x2d,_0x3c04d4:0x1e6},_0x562119={'dWEyu':function(_0x3c74e4,_0x4a8078){return _0x3c74e4(_0x4a8078);},'QNJdF':_0x18aac6(0x28e,0x2d7,0x245,_0x1c6d61._0x1f7fdb)+_0x18aac6(0x20b,_0x1c6d61._0x16602e,_0x1c6d61._0x4dea45,_0x1c6d61._0x5c41d5),'nxuyD':function(_0x44e04e,_0x47fdf7){return _0x44e04e(_0x47fdf7);},'qOSVC':function(_0x2f8967,_0x5d1566){return _0x2f8967===_0x5d1566;},'LbgJx':_0x2efbf8(-_0x1c6d61._0x450252,-_0x1c6d61._0x1985be,-_0x1c6d61._0x1755aa,-_0x1c6d61._0xd8154a),'iySDk':function(_0x265410,_0x1e7833,_0x1a4f97,_0x196170){return _0x265410(_0x1e7833,_0x1a4f97,_0x196170);},'EtmLb':'Forbidden','DWVcJ':function(_0x1b5d5c,_0x199e19){return _0x1b5d5c(_0x199e19);},'MVEmo':_0x2efbf8(-0x1fd,-_0x1c6d61._0x253aef,-0x1ce,-_0x1c6d61._0x4384ea),'nODUy':_0x2efbf8(-0x276,-_0x1c6d61._0x28e49d,-0x224,-_0x1c6d61._0x3ecf29),'CGyOm':_0x18aac6(_0x1c6d61._0x4c3853,0x18a,0x1e8,0x1ab)+'ete\x20bindin'+'g','wlWNM':_0x18aac6(0x223,0x270,0x2ed,_0x1c6d61._0x48f5f4)+_0x18aac6(_0x1c6d61._0x452c00,0x29e,0x25f,_0x1c6d61._0x4413e3)+_0x18aac6(_0x1c6d61._0x2f9de9,0x22c,_0x1c6d61._0x263c43,0x27d)+'binding.\x20A'+_0x18aac6(0x256,_0x1c6d61._0x532fe2,0x224,_0x1c6d61._0x2f7f25)+'e\x20Server\x20A'+_0x2efbf8(-0x26f,-_0x1c6d61._0x501482,-0x22c,-0x213)+_0x18aac6(_0x1c6d61._0x468ff2,0x2b3,_0x1c6d61._0x103edd,0x266),'UIbTS':'Binding\x20de'+_0x2efbf8(-_0x1c6d61._0x1755aa,-_0x1c6d61._0x4f510f,-_0x1c6d61._0x253aef,-0x185)+_0x2efbf8(-_0x1c6d61._0x5267f4,-_0x1c6d61._0x5dc0ff,-0x267,-0x2a8),'OwARq':_0x2efbf8(-_0x1c6d61._0x248f48,-0x264,-_0x1c6d61._0x4dd94b,-_0x1c6d61._0x3252ab)+_0x2efbf8(-_0x1c6d61._0x4d8282,-0x207,-0x263,-_0x1c6d61._0x20c16e)+'ng','KaHOD':'Internal\x20s'+_0x2efbf8(-0x201,-0x195,-0x1a1,-0x20a)+'r'};function _0x2efbf8(_0x1ee983,_0x3b6896,_0x569921,_0x34a685){return _0xc79654(_0x1ee983-_0x1720a9._0x1d3a1d,_0x3b6896-_0x1720a9._0x3c04d4,_0x569921- -0x633,_0x1ee983);}function _0x18aac6(_0x23415a,_0x100072,_0x6d30e0,_0xee9c70){return _0x1f5df5(_0x23415a-0x109,_0xee9c70-0xdf,_0x100072,_0xee9c70-0x98);}try{const _0x27292b=await _0x562119[_0x2efbf8(-_0x1c6d61._0x75b98f,-_0x1c6d61._0x23be85,-0x190,-_0x1c6d61._0x130dd0)](getBindingById,_0x473f3a[_0x18aac6(0x19a,_0x1c6d61._0x3a8023,0x1aa,_0x1c6d61._0x555c4a)]['id']);if(!_0x27292b){const _0x902306={};return _0x902306[_0x2efbf8(-0x225,-0x1e3,-0x1d0,-_0x1c6d61._0x5b5358)]=_0x562119['QNJdF'],_0x1d8f8d[_0x2efbf8(-0x246,-_0x1c6d61._0x1aec69,-_0x1c6d61._0x4fc3aa,-0x242)](0x2091*-0x1+0x1*-0x1181+0x33a6)[_0x2efbf8(-_0x1c6d61._0x4ad469,-_0x1c6d61._0x58accb,-0x272,-_0x1c6d61._0x5deffe)](_0x902306);}const _0x1f1f4d=await hasAllPermissions(_0x473f3a[_0x2efbf8(-0x241,-0x251,-_0x1c6d61._0x4f79e0,-0x208)]['id']);if(!_0x1f1f4d){const _0x4ac8ae=_0x562119[_0x2efbf8(-_0x1c6d61._0xc1e05e,-_0x1c6d61._0x47333c,-0x1ff,-_0x1c6d61._0x126115)](getManagePermission,_0x27292b['resource_t'+_0x18aac6(0x166,0x16b,0x1ad,_0x1c6d61._0x25011d)]);if(_0x4ac8ae){const _0x2a9ecd=_0x562119[_0x2efbf8(-0x1ef,-_0x1c6d61._0x158e36,-_0x1c6d61._0x569e48,-0x2a6)](_0x27292b['resource_t'+_0x18aac6(0x22d,_0x1c6d61._0x407447,0x16f,0x1dd)],_0x562119[_0x18aac6(0x274,0x235,0x224,_0x1c6d61._0x1ebb56)])?null:_0x27292b['resource_i'+'d'],_0x30d2ce=await _0x562119[_0x2efbf8(-0x298,-0x22c,-_0x1c6d61._0x196b0c,-_0x1c6d61._0xcd4b19)](hasPermission,_0x473f3a[_0x2efbf8(-_0x1c6d61._0x64a3a3,-0x28e,-_0x1c6d61._0x4602ad,-0x266)]['id'],_0x4ac8ae,_0x2a9ecd);if(!_0x30d2ce){const _0x48ff6c={};return _0x48ff6c[_0x18aac6(_0x1c6d61._0x410ce9,_0x1c6d61._0xe88562,_0x1c6d61._0x5687ee,_0x1c6d61._0x3f3697)]=_0x562119[_0x18aac6(_0x1c6d61._0x3a6806,_0x1c6d61._0x13499a,0x200,_0x1c6d61._0x18b41d)],_0x48ff6c[_0x18aac6(0x1cb,_0x1c6d61._0x613d68,0x221,_0x1c6d61._0x30b078)]=_0x2efbf8(-0x20e,-0x203,-0x1bb,-0x14c)+_0x2efbf8(-0x263,-0x255,-0x1f4,-_0x1c6d61._0x55436)+_0x4ac8ae+(_0x2efbf8(-_0x1c6d61._0x48f5f4,-0x23b,-_0x1c6d61._0x1952f8,-0x243)+_0x2efbf8(-0x224,-0x24e,-0x217,-0x273)+_0x18aac6(0x1df,_0x1c6d61._0x33b656,0x2a3,0x247)),_0x1d8f8d[_0x18aac6(_0x1c6d61._0x546afd,_0x1c6d61._0x36da95,_0x1c6d61._0x174cd9,0x209)](-0x2*-0xacf+-0x5a1+-0xe6a)[_0x18aac6(_0x1c6d61._0xb89eaa,0x1c6,0x20f,_0x1c6d61._0x440fb4)](_0x48ff6c);}}}const _0x164f9e=await _0x562119[_0x2efbf8(-_0x1c6d61._0x461270,-_0x1c6d61._0x1253da,-_0x1c6d61._0x2bf12f,-_0x1c6d61._0x33af02)](getRoleById,_0x27292b[_0x18aac6(_0x1c6d61._0x28e49d,0x209,0x20d,_0x1c6d61._0x430b33)]);if(_0x164f9e&&_0x164f9e[_0x18aac6(0x1ed,_0x1c6d61._0x4fdf37,0x218,_0x1c6d61._0x103edd)+'s']['includes']('*')&&_0x562119[_0x18aac6(_0x1c6d61._0x1ddd7e,_0x1c6d61._0x4dd94b,0x1ff,0x1f3)](_0x27292b[_0x2efbf8(-0x201,-_0x1c6d61._0x399d30,-_0x1c6d61._0x46767e,-_0x1c6d61._0xf00f9d)+_0x2efbf8(-0x282,-_0x1c6d61._0x4cbe24,-_0x1c6d61._0x546afd,-0x2ba)],'server')){if(_0x562119['MVEmo']===_0x562119[_0x18aac6(_0x1c6d61._0x7158f,0x2b3,0x201,0x264)]){const _0x282233={};return _0x282233['error']=_0x18aac6(0x1ec,_0x1c6d61._0x1c6e2f,0x22f,_0x1c6d61._0x3fe848),_0x282233['message']='You\x20do\x20not'+_0x18aac6(_0x1c6d61._0x361465,0x21d,0x249,_0x1c6d61._0x4cbe24)+_0x4e8b2e+(_0x18aac6(0x162,_0x1c6d61._0x18b521,_0x1c6d61._0x4e5cbe,_0x1c6d61._0x5c79ff)+_0x2efbf8(-0x1c7,-_0x1c6d61._0x3b4af1,-0x217,-_0x1c6d61._0x363a77)+_0x18aac6(0x294,0x282,0x299,_0x1c6d61._0x248f48)),_0xa32c47['status'](0x1b32+-0x16d+-0x1832)['json'](_0x282233);}else{const _0x30a9b1={};_0x30a9b1[_0x18aac6(_0x1c6d61._0xa2eac5,_0x1c6d61._0x363a77,_0x1c6d61._0x33af02,_0x1c6d61._0x8a148c)+'dingId']=_0x27292b['id'];const _0x37fabf=await wouldRetainServerAdmin(_0x30a9b1);if(!_0x37fabf){const _0x5a8837={};return _0x5a8837['error']=_0x562119[_0x2efbf8(-_0x1c6d61._0x4e99e7,-0x1af,-_0x1c6d61._0x4b9a85,-_0x1c6d61._0x26d7e1)],_0x5a8837[_0x18aac6(0x23b,_0x1c6d61._0x551e7e,0x1bf,0x1d2)]=_0x562119[_0x18aac6(0x2ba,_0x1c6d61._0x676a82,0x27a,0x28e)],_0x1d8f8d['status'](0xc1f+-0x34d+-0x742)['json'](_0x5a8837);}}}await deleteBinding(_0x27292b['id']);const _0x5eadbe={};return _0x5eadbe[_0x2efbf8(-0x254,-0x297,-0x250,-_0x1c6d61._0x3518a5)]=_0x562119[_0x18aac6(_0x1c6d61._0x453ad0,_0x1c6d61._0x1647f1,_0x1c6d61._0xb9c170,0x26b)],_0x1d8f8d[_0x2efbf8(-0x28a,-0x2b8,-0x272,-0x2ad)](_0x5eadbe);}catch(_0x4ed5b7){const _0x35665c={};_0x35665c[_0x18aac6(_0x1c6d61._0x3b335d,_0x1c6d61._0x385ca3,0x1ee,_0x1c6d61._0x1e799e)]=_0x4ed5b7[_0x18aac6(_0x1c6d61._0x14cf58,0x231,0x1e0,_0x1c6d61._0x22ac8f)],logger['error'](_0x562119[_0x18aac6(0x13e,_0x1c6d61._0x315014,_0x1c6d61._0x15c542,_0x1c6d61._0x25b957)],_0x35665c);const _0x392d8a={};return _0x392d8a[_0x2efbf8(-_0x1c6d61._0x417395,-0x20b,-_0x1c6d61._0x3b4af1,-_0x1c6d61._0x5c79f1)]=_0x562119[_0x2efbf8(-0x27e,-_0x1c6d61._0x176c83,-_0x1c6d61._0x47dc83,-_0x1c6d61._0x13a76e)],_0x1d8f8d[_0x2efbf8(-0x259,-_0x1c6d61._0x2aec96,-_0x1c6d61._0x426179,-0x21e)](-0x23ca+0x1*-0x7f7+0x2db5*0x1)[_0x2efbf8(-0x22d,-0x262,-0x272,-0x22d)](_0x392d8a);}});export default router;