@profoundlogic/coderflow-server 0.4.4 → 0.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) hide show
  1. package/dist/base-image/entrypoint.sh +2 -1
  2. package/dist/coder-server.js +1 -1
  3. package/dist/config.js +1 -1
  4. package/dist/lib/agent-keepalive.js +1 -1
  5. package/dist/lib/agent-models.js +1 -1
  6. package/dist/lib/api-keys.js +1 -1
  7. package/dist/lib/apiKeys.js +1 -1
  8. package/dist/lib/app-server-ports.js +1 -1
  9. package/dist/lib/auto-judge.js +1 -1
  10. package/dist/lib/automation-service.js +1 -0
  11. package/dist/lib/basic-auth.js +1 -1
  12. package/dist/lib/bindings.js +1 -0
  13. package/dist/lib/build-history.js +1 -1
  14. package/dist/lib/build-output-service.js +1 -1
  15. package/dist/lib/build-scheduler.js +1 -1
  16. package/dist/lib/build-service.js +1 -1
  17. package/dist/lib/ca-certificates.js +1 -1
  18. package/dist/lib/claude-oauth-refresh.js +1 -1
  19. package/dist/lib/cli/build.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/init.js +1 -1
  24. package/dist/lib/cli/jira.js +1 -1
  25. package/dist/lib/cli/license.js +1 -1
  26. package/dist/lib/cli/server-manager.js +1 -1
  27. package/dist/lib/config-migration.js +1 -1
  28. package/dist/lib/container-credential-sync.js +1 -1
  29. package/dist/lib/container-tokens.js +1 -1
  30. package/dist/lib/data-dir.js +1 -1
  31. package/dist/lib/deployment-history.js +1 -1
  32. package/dist/lib/deployment-service.js +1 -1
  33. package/dist/lib/docker-utils.js +1 -1
  34. package/dist/lib/email.js +1 -1
  35. package/dist/lib/emailTemplates.js +1 -1
  36. package/dist/lib/entitlement.js +1 -1
  37. package/dist/lib/fetch-utils.js +1 -1
  38. package/dist/lib/git-commit-details-route.js +1 -1
  39. package/dist/lib/git-history-diff-guardrails.js +1 -1
  40. package/dist/lib/git-provider-service.js +1 -1
  41. package/dist/lib/git-provider-setup/github-setup-handler.js +1 -1
  42. package/dist/lib/git-provider-setup/index.js +1 -1
  43. package/dist/lib/git-provider-setup/setup-factory.js +1 -1
  44. package/dist/lib/git-provider-setup/setup-interface.js +1 -1
  45. package/dist/lib/git-providers/azure-devops-provider.js +1 -1
  46. package/dist/lib/git-providers/github-app-provider.js +1 -1
  47. package/dist/lib/git-providers/index.js +1 -1
  48. package/dist/lib/git-providers/provider-factory.js +1 -1
  49. package/dist/lib/git-providers/provider-interface.js +1 -1
  50. package/dist/lib/github-urls.js +1 -1
  51. package/dist/lib/group-objective-linking.js +1 -1
  52. package/dist/lib/jira-client.js +1 -1
  53. package/dist/lib/judge-blinding.js +1 -1
  54. package/dist/lib/logger.js +1 -1
  55. package/dist/lib/migration-to-scoped-rbac.js +1 -0
  56. package/dist/lib/model-fetcher.js +1 -1
  57. package/dist/lib/notifications.js +1 -1
  58. package/dist/lib/objective-context.js +1 -1
  59. package/dist/lib/oidc-auth.js +1 -1
  60. package/dist/lib/oidc-device-flow.js +1 -1
  61. package/dist/lib/passwordTokens.js +1 -1
  62. package/dist/lib/permission-resolver.js +1 -0
  63. package/dist/lib/pin-cascade.js +1 -1
  64. package/dist/lib/provider-accounts.js +1 -1
  65. package/dist/lib/provider-oauth.js +1 -1
  66. package/dist/lib/provider-profile.js +1 -1
  67. package/dist/lib/provider-token-refresh.js +1 -1
  68. package/dist/lib/request-url.js +1 -1
  69. package/dist/lib/rewind.js +1 -1
  70. package/dist/lib/role-definitions.js +1 -0
  71. package/dist/lib/roles.js +1 -1
  72. package/dist/lib/secrets.js +1 -1
  73. package/dist/lib/setup-repo-git-auth.js +1 -1
  74. package/dist/lib/state-capture.js +1 -1
  75. package/dist/lib/static-files.js +1 -1
  76. package/dist/lib/task-name-format.js +1 -1
  77. package/dist/lib/task-name-generator.js +1 -1
  78. package/dist/lib/task-source-metadata.js +1 -0
  79. package/dist/lib/teams.js +1 -0
  80. package/dist/lib/user-git-oauth.js +1 -1
  81. package/dist/lib/user-git-tokens.js +1 -1
  82. package/dist/lib/users.js +1 -1
  83. package/dist/middleware/requireAuth.js +1 -1
  84. package/dist/middleware/requireInit.js +1 -1
  85. package/dist/middleware/requirePermission.js +1 -1
  86. package/dist/package-lock.json +211 -21
  87. package/dist/package.json +2 -1
  88. package/dist/playwright.config.js +1 -0
  89. package/dist/routes/apiKeys.js +1 -1
  90. package/dist/routes/auth-oidc.js +1 -1
  91. package/dist/routes/auth.js +1 -1
  92. package/dist/routes/automations.js +1 -0
  93. package/dist/routes/bindings.js +1 -0
  94. package/dist/routes/build.js +1 -1
  95. package/dist/routes/containers.js +1 -1
  96. package/dist/routes/deploy-task.js +1 -1
  97. package/dist/routes/environment-management.js +1 -1
  98. package/dist/routes/environments.js +1 -1
  99. package/dist/routes/external-skills.js +1 -1
  100. package/dist/routes/git-credentials.js +1 -1
  101. package/dist/routes/git-oauth.js +1 -1
  102. package/dist/routes/git-provider-setup.js +1 -1
  103. package/dist/routes/health.js +1 -1
  104. package/dist/routes/jira.js +1 -1
  105. package/dist/routes/objective-management.js +1 -1
  106. package/dist/routes/password.js +1 -1
  107. package/dist/routes/prompt.js +1 -1
  108. package/dist/routes/provider-auth.js +1 -1
  109. package/dist/routes/qa.js +1 -1
  110. package/dist/routes/roles.js +1 -0
  111. package/dist/routes/settings.js +1 -1
  112. package/dist/routes/skill-management.js +1 -1
  113. package/dist/routes/skills.js +1 -1
  114. package/dist/routes/tasks.js +1 -1
  115. package/dist/routes/teams.js +1 -0
  116. package/dist/routes/templates.js +1 -1
  117. package/dist/routes/test-task.js +1 -1
  118. package/dist/routes/test.js +1 -1
  119. package/dist/routes/users.js +1 -1
  120. package/dist/routes/visualizations.js +1 -1
  121. package/dist/scripts/create-user.js +1 -1
  122. package/dist/scripts/migrate-config-to-data-dir.js +1 -1
  123. package/dist/scripts/migrate-to-scoped-rbac.js +2 -0
  124. package/dist/start.js +1 -1
  125. package/dist/start.js.bak +1381 -0
  126. package/dist/web-ui/public/activity-detail-modal.js +1 -1
  127. package/dist/web-ui/public/activity-feed.js +1 -1
  128. package/dist/web-ui/public/activity-formatters.js +1 -1
  129. package/dist/web-ui/public/agent-event-parser.js +1 -1
  130. package/dist/web-ui/public/app.js +1 -1
  131. package/dist/web-ui/public/approve-dialog.js +1 -1
  132. package/dist/web-ui/public/automation-links.js +1 -0
  133. package/dist/web-ui/public/automation-schedule.js +1 -0
  134. package/dist/web-ui/public/comments-widget.js +1 -1
  135. package/dist/web-ui/public/diff-utils.js +1 -1
  136. package/dist/web-ui/public/docs/_sidebar.md +1 -0
  137. package/dist/web-ui/public/docs/admin/automations.md +75 -0
  138. package/dist/web-ui/public/docs/admin/users-and-roles.md +14 -4
  139. package/dist/web-ui/public/environments.css +247 -125
  140. package/dist/web-ui/public/environments.html +346 -2
  141. package/dist/web-ui/public/environments.js +1 -1
  142. package/dist/web-ui/public/feedback-widget.css +42 -0
  143. package/dist/web-ui/public/feedback-widget.js +1 -1
  144. package/dist/web-ui/public/git-history-lazy-utils.js +1 -1
  145. package/dist/web-ui/public/git-history.html +15 -0
  146. package/dist/web-ui/public/git-history.js +1 -1
  147. package/dist/web-ui/public/git-status.js +1 -1
  148. package/dist/web-ui/public/index.html +27 -0
  149. package/dist/web-ui/public/index.js +1 -1
  150. package/dist/web-ui/public/login.js +1 -1
  151. package/dist/web-ui/public/markdown-editor.js +1 -1
  152. package/dist/web-ui/public/markdown-file-editor.js +1 -1
  153. package/dist/web-ui/public/modal-maximize.js +1 -1
  154. package/dist/web-ui/public/notifications.js +1 -1
  155. package/dist/web-ui/public/pr-dialog.js +1 -1
  156. package/dist/web-ui/public/roles.html +247 -0
  157. package/dist/web-ui/public/roles.js +1 -0
  158. package/dist/web-ui/public/server-health.js +1 -1
  159. package/dist/web-ui/public/settings.html +62 -0
  160. package/dist/web-ui/public/settings.js +1 -1
  161. package/dist/web-ui/public/setup-password.js +1 -1
  162. package/dist/web-ui/public/skills.html +15 -0
  163. package/dist/web-ui/public/skills.js +1 -1
  164. package/dist/web-ui/public/sse-client.js +1 -1
  165. package/dist/web-ui/public/sse-shared-worker.js +1 -1
  166. package/dist/web-ui/public/styles.css +198 -161
  167. package/dist/web-ui/public/task.html +2 -2
  168. package/dist/web-ui/public/task.js +1 -1
  169. package/dist/web-ui/public/teams.html +285 -0
  170. package/dist/web-ui/public/teams.js +1 -0
  171. package/dist/web-ui/public/terminal.js +1 -1
  172. package/dist/web-ui/public/theme.js +1 -1
  173. package/dist/web-ui/public/users.html +87 -29
  174. package/dist/web-ui/public/users.js +1 -1
  175. package/dist/web-ui/public/variant-grouping.js +1 -1
  176. package/package.json +6 -3
@@ -1 +1 @@
1
- (function(_0x20f6e3,_0x5e6337){const _0xce466a={_0x249b67:0xea,_0x503b4d:0x3e6,_0x18a507:0x3ed,_0x245419:0x3f5,_0x598c32:0x3f8,_0x2c894f:0x3fd,_0x4aa0df:0x409,_0x2a4b4f:0x3e7,_0x197f0e:0x3fc,_0x36890c:0x3db,_0xd4d65d:0x3cf,_0x307c5c:0x3c6,_0x204315:0x404,_0x4506e0:0x41c,_0x146488:0x3fa,_0xa25491:0x3f1,_0x5eb86a:0x3ed,_0x5554da:0x3f2,_0x20c078:0x3ba},_0x96692e={_0x4ae675:0x1e3};function _0x46b1a7(_0xee4f52,_0x39a091,_0x5ae99c,_0x5dd000){return _0x3ff6(_0xee4f52-_0x96692e._0x4ae675,_0x5dd000);}function _0x204736(_0x3afd85,_0x2a06fb,_0x8a69c9,_0x271549){return _0x3ff6(_0x8a69c9- -0x116,_0x2a06fb);}const _0x42ab91=_0x20f6e3();while(!![]){try{const _0x5b353c=-parseInt(_0x204736(_0xce466a._0x249b67,0xd7,0xef,0xda))/(-0x281*-0x1+-0x59*0x3+-0x175)+parseInt(_0x46b1a7(0x403,0x40d,_0xce466a._0x503b4d,_0xce466a._0x18a507))/(-0x708+0x16b0+-0xfa6)+parseInt(_0x46b1a7(_0xce466a._0x245419,_0xce466a._0x598c32,0x3d3,_0xce466a._0x2c894f))/(-0x9cf+-0x713+0x10e5)+-parseInt(_0x46b1a7(_0xce466a._0x4aa0df,_0xce466a._0x2a4b4f,_0xce466a._0x197f0e,0x410))/(-0x10d5*0x1+0x3*-0xd05+0x37e8)*(-parseInt(_0x46b1a7(_0xce466a._0x36890c,_0xce466a._0xd4d65d,0x3d4,_0xce466a._0x307c5c))/(0x287*-0x1+-0x5d0+0x85c))+-parseInt(_0x46b1a7(_0xce466a._0x204315,_0xce466a._0x4aa0df,_0xce466a._0x4506e0,0x41c))/(-0x45d+0x12b5*-0x1+0x2*0xb8c)*(parseInt(_0x46b1a7(_0xce466a._0x146488,0x40f,_0xce466a._0xa25491,0x3da))/(0x1620+0x15d+-0x1776))+-parseInt(_0x46b1a7(_0xce466a._0x5eb86a,0x3f3,_0xce466a._0x5554da,0x3e6))/(-0x5c5+0x13a9*0x1+-0xddc)+parseInt(_0x46b1a7(0x3da,_0xce466a._0x20c078,_0xce466a._0xa25491,0x3ca))/(-0x14*-0xce+0xd24+-0x1d33);if(_0x5b353c===_0x5e6337)break;else _0x42ab91['push'](_0x42ab91['shift']());}catch(_0x4ce08b){_0x42ab91['push'](_0x42ab91['shift']());}}}(_0x3eb7,0x1*-0x65a55+0x11bc5a+0x64e5*0x7));import _0x230519 from'crypto';import{logger}from'./logger.js';const DEVICE_TTL_MS=(0x90a+0x1*-0x1337+0xa37*0x1)*(-0x1*-0x1a61+-0xed6+-0xb4f)*(0x19*0x81+-0xc13+0x362*0x1),POLL_INTERVAL_MS=(0x13*0x32+0x30*-0x1+-0x383)*(0xf99+0x1*0x45d+0x112*-0xf),CODE_CHARS=_0x4fa0da(0xa0,0x8d,0x99,0x91)+_0x4fa0da(0xac,0xab,0x9b,0x7b)+_0x4c71de(0x510,0x541,0x522,0x513)+'89',USER_CODE_LENGTH=-0x2677+-0x1*-0xc26+0x545*0x5,deviceStore=new Map(),userCodeToDevice=new Map(),stateToDevice=new Map();function randomUserCode(){const _0x100aae={_0x566f88:0x76,_0x3e07e8:0x10,_0x7b7166:0x5,_0x37296c:0x13,_0x598d44:0x2b,_0x510f01:0x37,_0x4e7714:0xad,_0x198110:0x9a},_0x3e57f6={_0x57ed91:0x79},_0x866426={};_0x866426[_0x1ae890(0x8c,0x84,0x83,_0x100aae._0x566f88)]=function(_0x33ab8d,_0x24c6d2){return _0x33ab8d<_0x24c6d2;};function _0x1e4512(_0x359bce,_0x2108dc,_0x4112ec,_0x5b8263){return _0x4c71de(_0x359bce-0x45,_0x4112ec,_0x359bce- -0x4dc,_0x5b8263-_0x3e57f6._0x57ed91);}const _0x1eed1d=_0x866426;let _0x1a0b1c='';function _0x1ae890(_0x2ca340,_0xb4162f,_0x1ffbc6,_0x2edb67){return _0x4c71de(_0x2ca340-0x86,_0x2edb67,_0x1ffbc6- -0x460,_0x2edb67-0x19f);}for(let _0x68fea3=0x1206+0x17f8*0x1+-0x32*0xd7;_0x1eed1d['mcxCf'](_0x68fea3,USER_CODE_LENGTH);_0x68fea3+=-0x248a+0x26cf+-0x244*0x1){const _0xfc3bb=_0x230519[_0x1e4512(_0x100aae._0x3e07e8,0x1d,_0x100aae._0x7b7166,0x27)](-0x1*-0xb3f+0x492+-0x1*0xfd1,CODE_CHARS[_0x1e4512(0x29,0x2d,_0x100aae._0x37296c,_0x100aae._0x598d44)]);_0x1a0b1c+=CODE_CHARS[_0xfc3bb];}return _0x1a0b1c[_0x1e4512(0x1e,0x18,0x15,_0x100aae._0x510f01)](-0x551+-0x1eff+-0x1c*-0x14c,-0x5*0x3a1+0x319+0xf10)+'-'+_0x1a0b1c[_0x1ae890(0xb3,_0x100aae._0x4e7714,_0x100aae._0x198110,0x9f)](0x1478+0x1*0x1ce9+-0x315d);}function _0x4fa0da(_0x3e7771,_0x480976,_0x9472b4,_0xf8e593){return _0x3ff6(_0x9472b4- -0x14e,_0x480976);}function isExpired(_0x442cec){const _0x1ccb70={_0xc5b123:0x3bb,_0x5e25bd:0x39c,_0x48e696:0x383,_0x36b6bc:0x38c,_0x474c7e:0x386},_0x1ac6bd={_0xbc277f:0x1e3},_0xfb3ff0={_0x34fd50:0x20,_0x75bba6:0x19d};function _0x5645b8(_0x330bb6,_0x19cf07,_0x2e20c7,_0x2641ff){return _0x4c71de(_0x330bb6-_0xfb3ff0._0x34fd50,_0x19cf07,_0x2e20c7- -_0xfb3ff0._0x75bba6,_0x2641ff-0x104);}function _0x1cbb31(_0x2b0ad6,_0x36c5b1,_0x86b33a,_0x50fe70){return _0x4fa0da(_0x2b0ad6-0x94,_0x2b0ad6,_0x50fe70-0x2d1,_0x50fe70-_0x1ac6bd._0xbc277f);}return Date[_0x1cbb31(0x3b8,_0x1ccb70._0xc5b123,0x3ae,_0x1ccb70._0x5e25bd)]()>_0x442cec[_0x5645b8(_0x1ccb70._0x48e696,_0x1ccb70._0x36b6bc,0x377,_0x1ccb70._0x474c7e)];}function cleanupExpired(){const _0x4468ef={_0x5ec796:0x1d7,_0x5473c6:0x1b4,_0x17250a:0x1d7,_0x18130a:0x194,_0x1c0ac3:0x1d4,_0x105bc4:0x1e7,_0x5937e0:0x106,_0x186fc7:0xf2,_0xcc0349:0x1a1,_0x4bee42:0x1af,_0x3a22bb:0x109,_0xad0f2d:0x105,_0x2aeeed:0x104,_0x348966:0x109,_0x483cb9:0x109,_0x2cec66:0x11c,_0x1aaa46:0x100,_0x1f7234:0x104,_0x451831:0x1e2,_0x1c6841:0x1d2,_0x3de78f:0x1ca,_0x568e0f:0x1b2,_0x1d76d1:0x125,_0x533f56:0xf1,_0x1e2596:0x11b},_0x2c9383={_0x30cc23:0x6c3},_0x37bbe0={_0x440e1e:0x1d4},_0x556815={};_0x556815[_0xda4ce6(-_0x4468ef._0x5ec796,-_0x4468ef._0x5473c6,-0x1ca,-_0x4468ef._0x17250a)]=function(_0x429f41,_0x267213){return _0x429f41>_0x267213;};function _0x17f30e(_0x434107,_0x358312,_0x50313b,_0x19df76){return _0x4c71de(_0x434107-_0x37bbe0._0x440e1e,_0x19df76,_0x434107- -0x40d,_0x19df76-0x1e8);}const _0x1f71a1=_0x556815;function _0xda4ce6(_0x1f80f6,_0x53907e,_0x32a1e0,_0xa8e2f3){return _0x4c71de(_0x1f80f6-0x22,_0x53907e,_0x32a1e0- -_0x2c9383._0x30cc23,_0xa8e2f3-0xec);}const _0x1ccdab=Date[_0xda4ce6(-_0x4468ef._0x18130a,-0x1b9,-0x1b1,-0x1b2)]();for(const [_0x554fb7,_0x494a4f]of deviceStore[_0xda4ce6(-_0x4468ef._0x1c0ac3,-0x1cb,-0x1d4,-_0x4468ef._0x105bc4)]()){_0x1f71a1[_0x17f30e(0xec,_0x4468ef._0x5937e0,0xdc,_0x4468ef._0x186fc7)](_0x1ccdab,_0x494a4f[_0xda4ce6(-_0x4468ef._0xcc0349,-0x1bb,-_0x4468ef._0x4bee42,-0x1a0)])&&(deviceStore[_0x17f30e(_0x4468ef._0x3a22bb,_0x4468ef._0xad0f2d,_0x4468ef._0x2aeeed,_0x4468ef._0x348966)](_0x554fb7),userCodeToDevice[_0x17f30e(_0x4468ef._0x483cb9,_0x4468ef._0x2cec66,_0x4468ef._0x1aaa46,_0x4468ef._0x1f7234)](_0x494a4f['userCode']));}for(const [_0x35dac7,_0x2fdef2]of stateToDevice[_0xda4ce6(-_0x4468ef._0x451831,-0x1b3,-0x1d4,-0x1f1)]()){const _0x888758=deviceStore['get'](_0x2fdef2);(!_0x888758||_0x1f71a1[_0xda4ce6(-_0x4468ef._0x1c6841,-0x1c6,-_0x4468ef._0x3de78f,-_0x4468ef._0x568e0f)](_0x1ccdab,_0x888758['expiresAt']))&&stateToDevice[_0x17f30e(0x109,_0x4468ef._0x1d76d1,_0x4468ef._0x533f56,_0x4468ef._0x1e2596)](_0x35dac7);}}const cleanupInterval=setInterval(cleanupExpired,(0x15a*-0x19+-0x253f+0x1bd*0x29)*(0x5ae+0x8e2*-0x3+0x18e0));cleanupInterval['unref']();function _0x3ff6(_0x134f6f,_0x332a07){_0x134f6f=_0x134f6f-(0x29*-0x94+0x178e+0x2*0x106);const _0x1ea599=_0x3eb7();let _0x58c52a=_0x1ea599[_0x134f6f];if(_0x3ff6['uJqQxl']===undefined){var _0x4df328=function(_0x27af29){const _0xd44a1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x53ce45='',_0x34d18a='';for(let _0x4f4c86=-0xc2b+-0x2513+0x313e,_0x92686a,_0x392d5c,_0x41995f=0x25b2+0x1b6d+0x411f*-0x1;_0x392d5c=_0x27af29['charAt'](_0x41995f++);~_0x392d5c&&(_0x92686a=_0x4f4c86%(0xf52+-0x25df+-0x6d*-0x35)?_0x92686a*(0x913*-0x1+-0x1056+0x19a9*0x1)+_0x392d5c:_0x392d5c,_0x4f4c86++%(-0x2d9*0xb+0x2560+-0x609))?_0x53ce45+=String['fromCharCode'](-0x1*-0x445+-0x48d+0x147&_0x92686a>>(-(-0x2*0xb2d+0x1*-0x825+0xa2b*0x3)*_0x4f4c86&-0x1dd+-0x7*0x19+0x292)):0x2691+0xd69*-0x1+-0xa1*0x28){_0x392d5c=_0xd44a1['indexOf'](_0x392d5c);}for(let _0x170de2=-0x3*-0x615+-0x19b4+-0x17*-0x53,_0x5da7ce=_0x53ce45['length'];_0x170de2<_0x5da7ce;_0x170de2++){_0x34d18a+='%'+('00'+_0x53ce45['charCodeAt'](_0x170de2)['toString'](-0x69b*-0x3+-0x222+-0x119f))['slice'](-(0x74*0x35+0x1ded+0x35ef*-0x1));}return decodeURIComponent(_0x34d18a);};_0x3ff6['NRctew']=_0x4df328,_0x3ff6['wqewBT']={},_0x3ff6['uJqQxl']=!![];}const _0x4f75c7=_0x1ea599[0x6*0xd9+0x24b0+-0x29c6],_0x9b100=_0x134f6f+_0x4f75c7,_0x6c3e55=_0x3ff6['wqewBT'][_0x9b100];return!_0x6c3e55?(_0x58c52a=_0x3ff6['NRctew'](_0x58c52a),_0x3ff6['wqewBT'][_0x9b100]=_0x58c52a):_0x58c52a=_0x6c3e55,_0x58c52a;}export function createDeviceFlow(){const _0x38a1cf={_0x18f301:0xac,_0x46e3c9:0x9b,_0x47ba0b:0x12c,_0xd7b496:0x117,_0x4ef54a:0x11a,_0x2ba197:0x12a,_0x28bea6:0x121,_0x141b51:0x138,_0x50a990:0x147,_0x44efc1:0x132,_0x552c87:0xd4,_0x4ad396:0xc2,_0x2be478:0xe0,_0x5d6468:0x138,_0x15704e:0x14e,_0x5df917:0x156,_0x77b6f8:0x134,_0x4bf8dc:0x15b,_0x3e26be:0x14b,_0x194d52:0xbf,_0x50fdae:0xbd,_0x1edb67:0xbe,_0xa3abbb:0xd4,_0x30cb69:0xc5,_0x2b76cf:0xda,_0x170802:0xc1,_0x300030:0xe7,_0x4de770:0x9f,_0x9f1a50:0xa2,_0x3f2829:0x9c,_0x2196bc:0x9a,_0x46b387:0xa9,_0x265481:0xb4},_0x2ffd22={_0x44efbb:0x9f},_0x4fc911={_0x2be3a6:0x2,_0x1986d6:0x4f},_0x177a02={'pRDyz':function(_0x3861cd){return _0x3861cd();},'LOpJq':function(_0x40ef18){return _0x40ef18();},'szTqi':'hex','umIeb':'pending','WHycf':function(_0x49fe70,_0xefbcd){return _0x49fe70/_0xefbcd;},'MRJZu':function(_0x3585c5,_0x1dad43){return _0x3585c5/_0x1dad43;}};let _0x1c84df=_0x177a02['pRDyz'](randomUserCode);while(userCodeToDevice[_0x4d5dec(_0x38a1cf._0x18f301,0xcb,_0x38a1cf._0x46e3c9,0xae)](_0x1c84df)){_0x1c84df=_0x177a02[_0x50d174(_0x38a1cf._0x47ba0b,0xfe,_0x38a1cf._0xd7b496,_0x38a1cf._0x4ef54a)](randomUserCode);}const _0x99429c=_0x230519['randomByte'+'s'](0x1eda+0x2604+-0x44be)['toString'](_0x177a02[_0x50d174(_0x38a1cf._0x2ba197,_0x38a1cf._0x28bea6,_0x38a1cf._0x141b51,_0x38a1cf._0x50a990)]),_0x46242a=Date[_0x50d174(0x12c,0x146,_0x38a1cf._0x44efc1,0x13e)](),_0x41546b={};_0x41546b['deviceCode']=_0x99429c,_0x41546b[_0x4d5dec(_0x38a1cf._0x552c87,_0x38a1cf._0x4ad396,_0x38a1cf._0x2be478,0xc7)]=_0x1c84df,_0x41546b[_0x50d174(_0x38a1cf._0x5d6468,0x13d,0x13b,_0x38a1cf._0x15704e)]=_0x46242a;function _0x4d5dec(_0x2953a2,_0x163023,_0x5d9acb,_0x4b34ad){return _0x4fa0da(_0x2953a2-0x1d3,_0x5d9acb,_0x2953a2- -_0x4fc911._0x2be3a6,_0x4b34ad-_0x4fc911._0x1986d6);}_0x41546b[_0x50d174(_0x38a1cf._0x5df917,0x119,_0x38a1cf._0x77b6f8,0x14b)]=_0x46242a+DEVICE_TTL_MS,_0x41546b[_0x50d174(0x14d,_0x38a1cf._0x4bf8dc,0x140,_0x38a1cf._0x3e26be)]=_0x177a02[_0x4d5dec(0xb8,0xce,0xd4,_0x38a1cf._0x4ad396)],_0x41546b[_0x4d5dec(_0x38a1cf._0x194d52,_0x38a1cf._0x50fdae,0xcc,0xa1)]=null,_0x41546b[_0x4d5dec(_0x38a1cf._0x1edb67,_0x38a1cf._0xa3abbb,_0x38a1cf._0x30cb69,0xab)]=null;function _0x50d174(_0x123a91,_0x2fd566,_0x1044d2,_0x21644a){return _0x4c71de(_0x123a91-_0x2ffd22._0x44efbb,_0x21644a,_0x1044d2- -0x3e0,_0x21644a-0x10e);}const _0x228d81=_0x41546b;return deviceStore[_0x4d5dec(0xc8,_0x38a1cf._0x2b76cf,_0x38a1cf._0x170802,_0x38a1cf._0x300030)](_0x99429c,_0x228d81),userCodeToDevice[_0x4d5dec(0xc8,0xc9,0xd0,_0x38a1cf._0x50fdae)](_0x1c84df,_0x99429c),{'deviceCode':_0x99429c,'userCode':_0x1c84df,'expiresIn':Math[_0x4d5dec(_0x38a1cf._0x4de770,_0x38a1cf._0x9f1a50,_0x38a1cf._0x3f2829,_0x38a1cf._0x2196bc)](_0x177a02[_0x4d5dec(_0x38a1cf._0x46b387,0xc4,0x9e,_0x38a1cf._0x265481)](DEVICE_TTL_MS,0x14c0+-0x1*-0x1a17+-0x2aef)),'interval':Math['floor'](_0x177a02[_0x50d174(0x11c,_0x38a1cf._0x2ba197,0x11d,0xfc)](POLL_INTERVAL_MS,-0x3bf*0x3+-0xacc+0x19f1))};}export function getDeviceFlow(_0x1bf5f8){const _0x4ff413={_0x22800a:0x13a,_0x1a0975:0x139,_0x446a7c:0x158,_0x3a55f8:0x1e2,_0x2ba3d1:0x1ca,_0x534126:0x108,_0x4e42df:0x129,_0x580d17:0x141,_0xb56383:0x1ac,_0xae02b:0x1c3,_0x54372c:0x1f2,_0x28c924:0x11f,_0x5af88c:0x11c,_0x5bf65e:0x11d},_0x2c74f2={_0x2f3f8e:0x1cb},_0x5d3811={_0x502dee:0x96,_0xdb30f3:0x1ec,_0x255204:0x24};function _0x4ab03d(_0x4b49cf,_0x5155d3,_0x222696,_0x20d343){return _0x4fa0da(_0x4b49cf-_0x5d3811._0x502dee,_0x4b49cf,_0x20d343- -_0x5d3811._0xdb30f3,_0x20d343-_0x5d3811._0x255204);}function _0x58c19c(_0x262699,_0x2241b4,_0x5005f3,_0x4ec4cf){return _0x4c71de(_0x262699-_0x2c74f2._0x2f3f8e,_0x262699,_0x5005f3- -0x6c5,_0x4ec4cf-0x12c);}const _0x46a1e6={'BlyyP':function(_0x33fff9,_0x48b2e1){return _0x33fff9(_0x48b2e1);},'ATvUq':_0x4ab03d(-0x14c,-_0x4ff413._0x22800a,-_0x4ff413._0x1a0975,-0x14a),'kNQAL':_0x4ab03d(-_0x4ff413._0x446a7c,-0x140,-0x148,-0x140)},_0x58f590=deviceStore[_0x58c19c(-_0x4ff413._0x3a55f8,-0x1bb,-0x1d1,-_0x4ff413._0x2ba3d1)](_0x1bf5f8);if(!_0x58f590||_0x46a1e6[_0x4ab03d(-_0x4ff413._0x534126,-0x12e,-0x135,-_0x4ff413._0x4e42df)](isExpired,_0x58f590)){if(_0x46a1e6[_0x4ab03d(-0x148,-0x14a,-_0x4ff413._0x580d17,-0x149)]===_0x46a1e6[_0x58c19c(-0x1c8,-_0x4ff413._0xb56383,-0x1bf,-_0x4ff413._0xae02b)]){const _0x2a67ab=_0x39ac0b[_0x58c19c(-0x1f2,-0x1eb,-0x1d1,-_0x4ff413._0x54372c)](_0x53ec2d);if(!_0x2a67ab)return null;return _0x9c6d15[_0x4ab03d(-_0x4ff413._0x28c924,-0x132,-_0x4ff413._0x5af88c,-_0x4ff413._0x5bf65e)](_0x2700ed),_0x46a1e6['BlyyP'](_0x53d149,_0x2a67ab);}else return null;}return _0x58f590;}export function getDeviceFlowByUserCode(_0x5b6697){const _0x203210={_0x1144ab:0x566,_0x1c8b75:0x527,_0x1d72ae:0x56e,_0x1939b2:0x564,_0x28f9cd:0x56b,_0x230ab5:0x55b,_0x381343:0x563,_0x40015c:0x589,_0x3cdee0:0x574},_0x17eef6={_0x3b7bf0:0x58,_0x247c42:0x43,_0x12a481:0xec},_0x17efd7={_0x1bdd29:0x9e},_0x4d1b44={};function _0x1b5d5c(_0x197b59,_0x3be4d8,_0x1ca9bb,_0x3ede91){return _0x4c71de(_0x197b59-_0x17efd7._0x1bdd29,_0x3ede91,_0x1ca9bb-0x73,_0x3ede91-0x1ba);}_0x4d1b44[_0x47acac(0x569,_0x203210._0x1144ab,_0x203210._0x1c8b75,0x547)]=_0x1b5d5c(_0x203210._0x1d72ae,_0x203210._0x1939b2,_0x203210._0x28f9cd,0x561);const _0x1e6320=_0x4d1b44;function _0x47acac(_0x5223e6,_0x4fe644,_0x4f3659,_0x1d2256){return _0x4c71de(_0x5223e6-_0x17eef6._0x3b7bf0,_0x4f3659,_0x1d2256-_0x17eef6._0x247c42,_0x1d2256-_0x17eef6._0x12a481);}const _0x3d9bb6=userCodeToDevice[_0x1b5d5c(0x54f,_0x203210._0x230ab5,0x567,0x56a)](_0x5b6697);if(!_0x3d9bb6)return _0x1b5d5c(_0x203210._0x381343,0x58b,0x56b,0x55e)===_0x1e6320[_0x1b5d5c(0x562,_0x203210._0x40015c,0x577,_0x203210._0x3cdee0)]?null:![];return getDeviceFlow(_0x3d9bb6);}export function linkOidcStateToDevice(_0x540363,_0x1ac426){const _0x221bcd={_0xdffb41:0xca,_0x334c25:0x105,_0x19a22a:0xd2,_0x1c396b:0x348},_0x1a74f2={_0xbfb020:0x17f,_0x1f6533:0xcf},_0x2abc8a={_0x570b46:0x5cb,_0x36c40a:0x61},_0x1d656f={'PvdUn':function(_0x491425,_0x38e5ad){return _0x491425(_0x38e5ad);},'POcjA':_0x396151(-_0x221bcd._0xdffb41,-0xaf,-0x99,-0xb4)},_0x2cd9ed=_0x1d656f[_0x396151(-_0x221bcd._0x334c25,-0xe7,-_0x221bcd._0x19a22a,-0xf7)](getDeviceFlow,_0x1ac426);if(!_0x2cd9ed)return _0x1d656f['POcjA']===_0x84a347(_0x221bcd._0x1c396b,0x332,0x33a,0x340)?null:![];function _0x396151(_0x441bdb,_0x1d8e16,_0x37f750,_0xd38df8){return _0x4c71de(_0x441bdb-0x57,_0x441bdb,_0x1d8e16- -_0x2abc8a._0x570b46,_0xd38df8-_0x2abc8a._0x36c40a);}stateToDevice['set'](_0x540363,_0x1ac426);function _0x84a347(_0x5ba5c2,_0xe408ec,_0x586cc4,_0x3a2f4b){return _0x4c71de(_0x5ba5c2-_0x1a74f2._0xbfb020,_0x5ba5c2,_0xe408ec- -0x1dc,_0x3a2f4b-_0x1a74f2._0x1f6533);}return!![];}export function consumeDeviceForState(_0xfd5d53){const _0x4afeff={_0x1d7934:0xff,_0x2999ff:0x189,_0x4b9b8f:0x185,_0x1fbea3:0x189,_0x40f607:0x175},_0x2b5fdd={_0x46d096:0x38d},_0x5f3133={_0x19064b:0x52,_0x2ed3ee:0x3d};function _0x5084d9(_0x457d21,_0x3d1458,_0x1c1942,_0x3231d6){return _0x4fa0da(_0x457d21-0x6a,_0x1c1942,_0x3231d6-_0x5f3133._0x19064b,_0x3231d6-_0x5f3133._0x2ed3ee);}const _0x11e702={'WsGQR':function(_0x23a335,_0x5e91e0){return _0x23a335(_0x5e91e0);}},_0x2ab72c=stateToDevice[_0x5084d9(0x108,0x113,0x103,_0x4afeff._0x1d7934)](_0xfd5d53);function _0x3a9ce6(_0xc50a60,_0x465d73,_0x29779c,_0x473714){return _0x4c71de(_0xc50a60-0x44,_0x465d73,_0xc50a60- -_0x2b5fdd._0x46d096,_0x473714-0x1ad);}if(!_0x2ab72c)return null;return stateToDevice[_0x3a9ce6(_0x4afeff._0x2999ff,_0x4afeff._0x4b9b8f,_0x4afeff._0x1fbea3,_0x4afeff._0x40f607)](_0xfd5d53),_0x11e702['WsGQR'](getDeviceFlow,_0x2ab72c);}export function approveDeviceFlow(_0x280ea3,_0x5209fb,_0x2ad22c){const _0x16e3e9={_0x10db99:0x4fb,_0x5a7445:0x269,_0x45f012:0x24c,_0x4e7485:0x258,_0x3c8aa9:0x508,_0x4007d8:0x4e0,_0x263857:0x525,_0x4af0c9:0x504,_0x1f3e08:0x4dc,_0x876fc2:0x505,_0x49c2e3:0x232,_0x2584fc:0x501,_0x10a04f:0x238,_0x58e419:0x254,_0x395750:0x275,_0x45f9c5:0x22d,_0x3a913a:0x246,_0x40299c:0x240,_0x4896bf:0x23e},_0x27b36d={_0x3fa607:0x2c9},_0x115584={_0x4f394e:0x15};function _0x205c28(_0x43f8d3,_0x8de03c,_0x526f7d,_0x1cd931){return _0x4c71de(_0x43f8d3-_0x115584._0x4f394e,_0x43f8d3,_0x526f7d- -0x11,_0x1cd931-0x51);}const _0x184683={'qTHfp':function(_0x1502e5,_0x2634b6){return _0x1502e5(_0x2634b6);},'DJwTY':function(_0x558a9a,_0x131307){return _0x558a9a!==_0x131307;},'ytefB':_0x205c28(0x4d0,_0x16e3e9._0x10db99,0x4ef,0x4f5),'InEZF':_0x540a9a(0x252,_0x16e3e9._0x5a7445,_0x16e3e9._0x45f012,_0x16e3e9._0x4e7485)},_0x25229f=_0x184683[_0x205c28(_0x16e3e9._0x3c8aa9,_0x16e3e9._0x4007d8,0x4ee,0x4cc)](getDeviceFlow,_0x280ea3);function _0x540a9a(_0x1f768b,_0x5644dc,_0x58cc84,_0x39ece2){return _0x4c71de(_0x1f768b-0x1ae,_0x5644dc,_0x39ece2- -_0x27b36d._0x3fa607,_0x39ece2-0x1d0);}if(!_0x25229f){if(_0x184683[_0x205c28(_0x16e3e9._0x263857,0x50c,_0x16e3e9._0x4af0c9,0x503)](_0x205c28(_0x16e3e9._0x1f3e08,0x4e9,0x4ef,_0x16e3e9._0x876fc2),_0x184683[_0x540a9a(0x243,0x242,0x238,_0x16e3e9._0x49c2e3)])){const _0x2e3797=_0x184683[_0x205c28(0x4f1,0x50e,0x4ee,_0x16e3e9._0x2584fc)](_0x122163,_0x2609f3);if(!_0x2e3797)return null;return _0x1c61fe['delete'](_0x190876),_0x65e075[_0x540a9a(0x25f,0x244,0x230,0x24d)](_0x2e3797[_0x540a9a(0x267,_0x16e3e9._0x10a04f,0x23d,_0x16e3e9._0x58e419)]),_0x2e3797;}else return![];}return _0x25229f[_0x540a9a(0x264,_0x16e3e9._0x395750,0x265,0x257)]=_0x184683[_0x540a9a(0x229,0x259,_0x16e3e9._0x45f9c5,_0x16e3e9._0x3a913a)],_0x25229f[_0x540a9a(0x236,0x23b,_0x16e3e9._0x40299c,0x23f)]=_0x5209fb,_0x25229f[_0x540a9a(0x222,0x242,0x250,_0x16e3e9._0x4896bf)]=_0x2ad22c,!![];}function _0x4c71de(_0x599a53,_0x39917f,_0x16a0e2,_0x355128){const _0x2eceab={_0x55ecdd:0x2f9};return _0x3ff6(_0x16a0e2-_0x2eceab._0x55ecdd,_0x39917f);}export function pollDeviceFlow(_0x1c9cc6){const _0x469b55={_0x36170a:0x24f,_0x1d77e7:0x1f8,_0x824003:0x239,_0x19a7c8:0x367,_0x571b9a:0x35e,_0x55c75c:0x214,_0x1e3f9e:0x20b,_0x53247e:0x357,_0xbef2f3:0x353,_0xfa8b24:0x359,_0x187a56:0x358,_0xb7880a:0x352,_0x3ef7e3:0x347,_0x54c90d:0x1e5,_0x3a85cc:0x221,_0xf3be23:0x370,_0x2e6fd1:0x350,_0x4786f5:0x373,_0x1885c1:0x23b,_0xb4ffd:0x20e,_0x236496:0x21c,_0x9de03f:0x253,_0x59e78a:0x340,_0x1f8e30:0x335,_0x32d0f1:0x343,_0x5ea732:0x355,_0xc98a9e:0x35c,_0x58121d:0x34c,_0x2f66fe:0x238,_0x3a5ad7:0x231,_0x5263c2:0x24f,_0x57b230:0x31b,_0x134fec:0x352,_0xe0ffda:0x370,_0x80e008:0x37c,_0x2c031b:0x367,_0x57ae7a:0x36b,_0x37e653:0x336,_0x576f5c:0x337,_0x4ba6f9:0x348,_0x277fea:0x358,_0x2fd09b:0x34f,_0x2c6528:0x226,_0x5d4873:0x340,_0x337585:0x35a,_0x168c1a:0x342,_0x4af7d9:0x35b,_0x277916:0x36b,_0x37e2a8:0x244,_0x530a1d:0x226,_0x5875bb:0x208,_0x18b82c:0x220,_0x6501ee:0x230},_0x35c6b4={_0x405799:0x1b0,_0x3500c7:0xfe},_0x34270c={_0x21d649:0x2e2,_0x487352:0x7e};function _0x12257d(_0x31e3e7,_0xfe80ea,_0x1dc083,_0x311566){return _0x4c71de(_0x31e3e7-0x1b9,_0x1dc083,_0xfe80ea- -_0x34270c._0x21d649,_0x311566-_0x34270c._0x487352);}const _0x37f7f0={};_0x37f7f0[_0x3981f8(0x336,0x33c,0x329,0x334)]=_0x12257d(0x22c,0x23f,0x220,_0x469b55._0x36170a),_0x37f7f0[_0x12257d(0x22f,0x21a,_0x469b55._0x1d77e7,_0x469b55._0x824003)]=_0x3981f8(_0x469b55._0x19a7c8,0x36c,_0x469b55._0x571b9a,0x359),_0x37f7f0[_0x12257d(0x214,_0x469b55._0x55c75c,0x207,0x222)]=function(_0x303b33,_0x41d7cb){return _0x303b33===_0x41d7cb;},_0x37f7f0[_0x12257d(0x24b,0x22a,0x217,_0x469b55._0x1e3f9e)]=function(_0x479d2d,_0x38bdff){return _0x479d2d!==_0x38bdff;},_0x37f7f0[_0x3981f8(0x363,_0x469b55._0x53247e,_0x469b55._0xbef2f3,_0x469b55._0x53247e)]=_0x3981f8(_0x469b55._0xfa8b24,0x35d,0x35e,_0x469b55._0x187a56),_0x37f7f0[_0x3981f8(_0x469b55._0xb7880a,0x35f,0x366,_0x469b55._0x3ef7e3)]=_0x12257d(_0x469b55._0x54c90d,0x203,_0x469b55._0x3a85cc,0x210);const _0xba252e=_0x37f7f0,_0xbbae40=getDeviceFlow(_0x1c9cc6);if(!_0xbbae40){const _0x38c253={};return _0x38c253[_0x3981f8(_0x469b55._0xf3be23,_0x469b55._0x2e6fd1,0x36f,_0x469b55._0x4786f5)]=_0xba252e[_0x12257d(_0x469b55._0x1885c1,0x21a,0x219,_0x469b55._0xb4ffd)],_0x38c253;}if(_0xba252e[_0x12257d(0x233,_0x469b55._0x55c75c,_0x469b55._0x236496,0x216)](_0xbbae40[_0x12257d(_0x469b55._0x9de03f,0x23e,0x247,0x23a)],_0xba252e[_0x3981f8(0x336,_0x469b55._0x59e78a,_0x469b55._0x1f8e30,_0x469b55._0x32d0f1)])&&_0xbbae40[_0x3981f8(0x358,_0x469b55._0x5ea732,0x358,0x353)]){if(_0xba252e[_0x3981f8(_0x469b55._0xc98a9e,_0x469b55._0x58121d,0x35b,0x356)](_0xba252e[_0x12257d(_0x469b55._0x2f66fe,0x231,_0x469b55._0x3a5ad7,_0x469b55._0x5263c2)],_0x3981f8(0x337,_0x469b55._0x57b230,0x350,_0x469b55._0x134fec))){const _0x49b3e7={};return _0x49b3e7[_0x3981f8(_0x469b55._0xe0ffda,_0x469b55._0x80e008,_0x469b55._0x2c031b,_0x469b55._0x57ae7a)]=_0xba252e[_0x3981f8(_0x469b55._0x37e653,_0x469b55._0x576f5c,0x32c,_0x469b55._0x4ba6f9)],_0x49b3e7[_0x12257d(0x231,0x226,0x234,0x231)]=_0xbbae40[_0x3981f8(_0x469b55._0x277fea,0x35e,_0x469b55._0x2fd09b,0x352)],_0x49b3e7[_0x12257d(_0x469b55._0x2c6528,0x225,0x234,0x23c)]=_0xbbae40[_0x3981f8(_0x469b55._0x53247e,_0x469b55._0x5d4873,0x347,_0x469b55._0x337585)],_0x49b3e7;}else{const _0x5b311f={};return _0x5b311f[_0x3981f8(_0x469b55._0xf3be23,_0x469b55._0x2e6fd1,0x375,0x382)]=_0xba252e['AoAKV'],_0x5b311f[_0x3981f8(0x358,_0x469b55._0x168c1a,_0x469b55._0x4af7d9,_0x469b55._0x277916)]=_0x1b0c57[_0x12257d(_0x469b55._0x37e2a8,_0x469b55._0x530a1d,0x20e,0x205)],_0x5b311f[_0x12257d(0x20f,0x225,0x22a,0x212)]=_0x1df726['user'],_0x5b311f;}}const _0x5ce1d2={};function _0x3981f8(_0x4bb98b,_0x58e97f,_0x2914f3,_0x5b4567){return _0x4c71de(_0x4bb98b-0x1c5,_0x5b4567,_0x4bb98b- -_0x35c6b4._0x405799,_0x5b4567-_0x35c6b4._0x3500c7);}return _0x5ce1d2[_0x3981f8(0x370,_0x469b55._0x80e008,0x37f,0x38d)]=_0xba252e[_0x12257d(_0x469b55._0x5875bb,_0x469b55._0x18b82c,_0x469b55._0x6501ee,_0x469b55._0x55c75c)],_0x5ce1d2;}export function consumeDeviceFlow(_0x1d917a){const _0x4c9074={_0x1eae6a:0x4be,_0x2fcf61:0x4d6,_0x33a406:0x4a3,_0x4fdc31:0x4a8,_0x13a1a1:0x28,_0x367f72:0xe,_0x2c68cc:0x2f,_0x47436b:0x36,_0x354631:0x1c,_0x3ca263:0x1,_0x519e76:0x20,_0x5c6e25:0xe,_0x22b327:0x4d7,_0x28971e:0x4bc,_0x5dcb5b:0x64,_0x42df0c:0x75,_0x2e1dac:0x57,_0x58b0c0:0x76},_0x4850ef={_0xa7a6c1:0x48},_0x477b99={_0x2922c2:0x65},_0x179bc5={'yqnkV':function(_0x14afe5,_0x161200){return _0x14afe5(_0x161200);},'sdodv':function(_0x5e5893,_0x519a32){return _0x5e5893!==_0x519a32;},'PtfQJ':_0x42c4f9(0x4f8,_0x4c9074._0x1eae6a,_0x4c9074._0x2fcf61,0x4c1)};function _0xb1dc53(_0x2d05c2,_0x4000a5,_0x1738fb,_0xe19542){return _0x4fa0da(_0x2d05c2-_0x477b99._0x2922c2,_0xe19542,_0x1738fb- -0x78,_0xe19542-0xb7);}const _0x13224a=_0x179bc5['yqnkV'](getDeviceFlow,_0x1d917a);if(!_0x13224a){if(_0x179bc5[_0x42c4f9(0x4b4,0x490,_0x4c9074._0x33a406,_0x4c9074._0x4fdc31)](_0xb1dc53(_0x4c9074._0x13a1a1,_0x4c9074._0x367f72,_0x4c9074._0x2c68cc,_0x4c9074._0x47436b),_0x179bc5[_0xb1dc53(_0x4c9074._0x354631,_0x4c9074._0x3ca263,_0x4c9074._0x519e76,_0x4c9074._0x5c6e25)]))return null;else{const _0x51741d={};return _0x51741d[_0x42c4f9(_0x4c9074._0x22b327,_0x4c9074._0x28971e,0x4d8,0x4e5)]=_0xb1dc53(0x7a,0x75,0x58,0x52),_0x51741d;}}deviceStore[_0xb1dc53(_0x4c9074._0x5dcb5b,_0x4c9074._0x42df0c,_0x4c9074._0x2e1dac,_0x4c9074._0x58b0c0)](_0x1d917a);function _0x42c4f9(_0x18b033,_0x43d240,_0xb91f7,_0x222b7f){return _0x4c71de(_0x18b033-0xb4,_0x222b7f,_0xb91f7- -_0x4850ef._0xa7a6c1,_0x222b7f-0xa9);}return userCodeToDevice['delete'](_0x13224a['userCode']),_0x13224a;}function _0x3eb7(){const _0x47cccd=['te1ouffsu1rvvG','Bwn4q2y','uhzKvw4','CgvUzgLUzW','qw9bs1y','D1D5rue','zMXVB3i','v2Htsgu','qvr2vxe','C2rVzhy','CMfUzg9Tsw50','Dur1rfq','vw9bDgi','zw50CMLLCW','mtG2mty2nJjxt3P0rgS','mtuYnJG5nwDyqxHUzG','v0H5y2y','uu15DfC','z2v0','AgfZ','EgnzwNq','te9WsNe','C1z5B1i','zgfvCem','C2XPy2u','ExrLzKi','ENb2uxy','tvjkwNu','mJG2nJmYCu1eD1HV','CvrizNa','Bg92ueq','Dw1jzwi','rwfJC3q','mtm2mZm4nZj2seXtvgm','vfbjyuW','BgvUz3rO','A05rquW','DxnLCG','yxbPs2v5','r3zeweS','qMX5Eva','mZa4ndG4ohfbChngtG','ANrWCgu','CMuGCMvZzxq','uKXyt2C','sw5fwKy','mJfeBfPOq0i','C2v0','BM93','BNDIDvq','zxHWAxjLC0f0','reP3vfK','zgvSzxrL','zxHWAxjLza','C3PuCwK','mtm2ntGYnejMDxbhAa','mJmZndG5ngr0B1v2DG','y3jLyxrLzef0','wevKAMS','DxnLCKnVzgu','uNvgzM4','nhbjtwnYqW','C3rHDhvZ','yxbWCM92zwq','v1HzwJiZndu2nW','uhrMuuO','qujdrevgr0HksW','y2XLyxi'];_0x3eb7=function(){return _0x47cccd;};return _0x3eb7();}export function getDeviceFlowConstants(){const _0x468fc9={_0x4b56d9:0x2de,_0xa2c4ef:0x2ca,_0x29a745:0x2bd,_0x46467a:0x29b,_0x59c6d7:0x48,_0x4301dd:0x40,_0x282e24:0x2a},_0x2c6c69={_0x2e93e3:0xd2},_0x137443={};_0x137443[_0x29cda1(_0x468fc9._0x4b56d9,0x2a4,0x2c2,0x2b3)]=function(_0x150374,_0x57de42){return _0x150374/_0x57de42;};function _0x1f42f1(_0x3a8112,_0x2019f1,_0x159621,_0x2777f8){return _0x4fa0da(_0x3a8112-0x1ad,_0x3a8112,_0x2777f8- -0x77,_0x2777f8-_0x2c6c69._0x2e93e3);}function _0x29cda1(_0x187286,_0x1f9629,_0x12c35b,_0x58b797){return _0x4c71de(_0x187286-0x140,_0x1f9629,_0x12c35b- -0x22b,_0x58b797-0x1a0);}const _0x11c490=_0x137443;return{'expiresIn':Math[_0x29cda1(0x29e,_0x468fc9._0xa2c4ef,_0x468fc9._0x29a745,_0x468fc9._0x46467a)](DEVICE_TTL_MS/(0x76a*-0x3+-0x1a05+0x342b)),'interval':Math[_0x1f42f1(_0x468fc9._0x59c6d7,0x32,_0x468fc9._0x4301dd,_0x468fc9._0x282e24)](_0x11c490['uDuDT'](POLL_INTERVAL_MS,-0x1335+-0x2*0x689+0x242f))};}export function resetDeviceFlowStore(){const _0x20d921={_0x1b8904:0x1d9,_0x258fc0:0x1eb,_0x1b3396:0x81,_0x4419f2:0x1be},_0x2ad5c0={_0x292e2c:0xe5,_0x4e898c:0x6cb,_0xf3838:0x118},_0x2eaf3e={_0x24fe3f:0x6d};deviceStore[_0x3fede5(-0x1ea,-0x1ef,-0x1f7,-_0x20d921._0x1b8904)]();function _0x328713(_0x5dc445,_0x297c73,_0x3c1fa6,_0x17028d){return _0x4fa0da(_0x5dc445-_0x2eaf3e._0x24fe3f,_0x3c1fa6,_0x297c73- -0x4,_0x17028d-0x12f);}userCodeToDevice[_0x3fede5(-0x1ea,-0x1e3,-0x1df,-_0x20d921._0x258fc0)](),stateToDevice[_0x328713(_0x20d921._0x1b3396,0x96,0x78,0x7a)]();function _0x3fede5(_0xab3f0e,_0x2e6dae,_0x1746ed,_0x5b9a49){return _0x4c71de(_0xab3f0e-_0x2ad5c0._0x292e2c,_0x1746ed,_0xab3f0e- -_0x2ad5c0._0x4e898c,_0x5b9a49-_0x2ad5c0._0xf3838);}logger['debug']('OIDC\x20devic'+'e\x20flow\x20sto'+_0x3fede5(-_0x20d921._0x4419f2,-0x1ba,-0x1a5,-0x1c8));}
1
+ (function(_0xa50ffb,_0x59d203){const _0x438640={_0x10993e:0x221,_0x52d7a8:0x21e,_0x2244e8:0x1fb,_0x40395d:0x23a,_0x3fb701:0x213,_0x146f84:0x239,_0x579028:0x294,_0x19d933:0x2a3,_0x40fa14:0x20b,_0x16be78:0x2c6,_0x470c81:0x2a8,_0x2b1a7f:0x2af,_0x3102c9:0x280,_0x176d72:0x229,_0x37e4f3:0x206,_0x45bdcc:0x252,_0x766ebf:0x1e6,_0x4cb3b6:0x21e,_0xe7e65e:0x200,_0x1bdbff:0x294,_0x41455f:0x288};function _0x567e64(_0x2311b4,_0xd1b670,_0x328f4b,_0x4de377){return _0x182d(_0x2311b4-0x145,_0x328f4b);}function _0x4a842b(_0x2f0eea,_0x2b81fe,_0x5caf09,_0x54494c){return _0x182d(_0x2b81fe-0x1cd,_0x5caf09);}const _0x5ec809=_0xa50ffb();while(!![]){try{const _0x34bd7c=parseInt(_0x567e64(_0x438640._0x10993e,0x215,0x23b,0x23e))/(-0xbd3+0x9fd+-0x3*-0x9d)+parseInt(_0x567e64(0x209,_0x438640._0x52d7a8,0x1e1,_0x438640._0x2244e8))/(-0x4*0x4cd+-0xe3*-0x3+0x108d)*(-parseInt(_0x567e64(_0x438640._0x40395d,_0x438640._0x3fb701,0x231,_0x438640._0x146f84))/(0x10fa+-0x443+-0xcb4))+parseInt(_0x4a842b(_0x438640._0x579028,_0x438640._0x19d933,0x27f,0x2ae))/(-0xa9a+0xb9*-0x2f+-0x65*-0x71)*(-parseInt(_0x567e64(_0x438640._0x40fa14,0x20c,0x1fd,0x22c))/(0x17e7+-0xf75*-0x1+-0x2757))+parseInt(_0x4a842b(_0x438640._0x16be78,_0x438640._0x470c81,_0x438640._0x2b1a7f,_0x438640._0x3102c9))/(0x1b0a*0x1+0x4*-0x69b+-0x1*0x98)+parseInt(_0x567e64(0x1ff,_0x438640._0x176d72,_0x438640._0x2244e8,_0x438640._0x37e4f3))/(0xaa7+-0x660+-0x440)*(parseInt(_0x567e64(0x239,0x228,0x22c,_0x438640._0x45bdcc))/(0x1238+0xeed*0x2+-0x300a))+parseInt(_0x567e64(0x204,0x225,_0x438640._0x37e4f3,_0x438640._0x766ebf))/(-0x35e+-0x26f5*0x1+0x2a5c)*(parseInt(_0x567e64(_0x438640._0x4cb3b6,0x230,0x21c,_0x438640._0xe7e65e))/(-0x1*0xa91+-0x2283+0x2d1e))+-parseInt(_0x4a842b(_0x438640._0x1bdbff,0x28e,0x269,_0x438640._0x41455f))/(0x158*0x16+0xcf7+-0x2a7c);if(_0x34bd7c===_0x59d203)break;else _0x5ec809['push'](_0x5ec809['shift']());}catch(_0x34410b){_0x5ec809['push'](_0x5ec809['shift']());}}}(_0x23c9,-0x3*-0x3c331+0x144af5+0x14e76b*-0x1));import _0x13f3ab from'crypto';import{logger}from'./logger.js';const DEVICE_TTL_MS=(-0xf*-0x25f+-0x140f+-0xf78)*(0x1372*-0x1+0x1*0x89+0x179*0xd)*(-0x15c4+0xe54+0xb58),POLL_INTERVAL_MS=(-0x1fdd*-0x1+0x19c9+-0x39a3)*(-0x26db*0x1+0x19*0x10f+0x104c),CODE_CHARS=_0x26a698(0x1eb,0x20c,0x1f8,0x1d1)+'LMNPQRSTUV'+_0x26a698(0x22d,0x252,0x208,0x231)+'89',USER_CODE_LENGTH=0xccc*0x1+0x26a9+-0x336d,deviceStore=new Map(),userCodeToDevice=new Map(),stateToDevice=new Map();function randomUserCode(){const _0x227ea5={_0x172618:0x27d,_0x522796:0x25e,_0x2ba0bd:0x283,_0x273fe9:0x4ce,_0x19e79d:0x285,_0x4f5459:0x262},_0x352be2={_0x360fa5:0x523,_0x4bd704:0x183},_0x48cd14={_0xfaa88d:0xd9,_0xd3665c:0xd8},_0x340ac9={};_0x340ac9[_0x381606(-_0x227ea5._0x172618,-_0x227ea5._0x522796,-0x284,-0x26f)]=function(_0x2fadb7,_0x158f4b){return _0x2fadb7<_0x158f4b;};function _0x5a3e19(_0x1e8d86,_0x5a4816,_0x15a33d,_0x5e9843){return _0x26a698(_0x1e8d86-0x2b0,_0x5a4816,_0x15a33d-_0x48cd14._0xfaa88d,_0x5e9843-_0x48cd14._0xd3665c);}const _0x1ae4a1=_0x340ac9;let _0x362944='';function _0x381606(_0x2058d6,_0x4b0bfd,_0x5c3e8d,_0x9ba20f){return _0x23c627(_0x2058d6-0x1a9,_0x5c3e8d- -_0x352be2._0x360fa5,_0x4b0bfd,_0x9ba20f-_0x352be2._0x4bd704);}for(let _0x5c8885=0x356*-0xb+0x2*-0x79f+0x33f0;_0x1ae4a1[_0x381606(-0x260,-0x267,-0x284,-_0x227ea5._0x2ba0bd)](_0x5c8885,USER_CODE_LENGTH);_0x5c8885+=-0x12e6+-0x2560+0x1*0x3847){const _0xdd82cc=_0x13f3ab[_0x5a3e19(0x4c3,0x4c4,0x4a7,0x4a9)](-0x1451+0x2d*0x19+-0xfec*-0x1,CODE_CHARS[_0x5a3e19(0x4d9,_0x227ea5._0x273fe9,0x4cb,0x4e4)]);_0x362944+=CODE_CHARS[_0xdd82cc];}return _0x362944[_0x381606(-_0x227ea5._0x19e79d,-0x261,-0x283,-_0x227ea5._0x4f5459)](-0xd*-0xc2+-0x182*-0xb+0xc*-0x234,-0x9*-0xbf+0xda*-0xa+0x5d*0x5)+'-'+_0x362944['slice'](-0x1ab7+-0x1ee1+0x399c);}function isExpired(_0x36e983){const _0x3f4322={_0x2117c9:0xff,_0x386970:0x126,_0x31821c:0xf4,_0x2af4ce:0x101,_0x37ad81:0x16,_0x308c4c:0x1d,_0xdd62d2:0x21,_0x1859d6:0x4a,_0x318f4e:0x121,_0x38bc95:0x106},_0x54420f={_0x5ae20e:0x154},_0x444504={_0x4df6b6:0x5c},_0x4ab2dd={};function _0x40e99c(_0x33a6b1,_0xff6d95,_0x486dff,_0x21b46c){return _0x26a698(_0xff6d95- -0x208,_0x33a6b1,_0x486dff-0xa2,_0x21b46c-_0x444504._0x4df6b6);}_0x4ab2dd[_0x2b6d81(-_0x3f4322._0x2117c9,-_0x3f4322._0x386970,-_0x3f4322._0x31821c,-_0x3f4322._0x2af4ce)]=function(_0x5425b8,_0x43ce58){return _0x5425b8>_0x43ce58;};const _0x58512d=_0x4ab2dd;function _0x2b6d81(_0x247870,_0x5bb084,_0x45bd1d,_0x4306dc){return _0x23c627(_0x247870-0x1e7,_0x4306dc- -0x3dc,_0x45bd1d,_0x4306dc-_0x54420f._0x5ae20e);}return _0x58512d[_0x40e99c(0x3,_0x3f4322._0x37ad81,_0x3f4322._0x308c4c,0x3b)](Date[_0x40e99c(-0x2,-_0x3f4322._0xdd62d2,0x2,-_0x3f4322._0x1859d6)](),_0x36e983[_0x2b6d81(-_0x3f4322._0x318f4e,-_0x3f4322._0x38bc95,-0x111,-0x123)]);}function cleanupExpired(){const _0x901e5={_0x50cc47:0x344,_0x57336e:0x401,_0x58c4d6:0x417,_0xc1fb16:0x43b,_0x2138e7:0x3dd,_0x37a35b:0x408,_0x5c2331:0x3ca,_0x716269:0x434,_0x3d8920:0x41a,_0x16ec33:0x3db,_0x153f3d:0x3d3,_0x277e24:0x35b,_0x1c48f2:0x33c,_0x2e183d:0x390,_0x23ec5b:0x38c,_0x5e2a0a:0x403,_0x4ed07e:0x3ed,_0x4ea5c4:0x3dc,_0x5e80de:0x412,_0x2d7fd9:0x42b,_0x1eafbf:0x33b,_0x3abdc3:0x35d,_0x2e569b:0x341,_0x45df9a:0x449,_0x15c4f6:0x43e,_0x110bf6:0x36a,_0x39cec5:0x347,_0x346c9f:0x359,_0x16e26b:0x356,_0x36ea9d:0x344,_0x4e8a6d:0x3a8,_0x5733d1:0x389,_0x519318:0x3da,_0xfcab44:0x3ec,_0x409431:0x40c,_0x3a074f:0x334,_0x40fc73:0x34f,_0x22b390:0x3f1,_0x1d86da:0x3e0,_0x52850d:0x384,_0x214fc9:0x35e,_0xe410a0:0x360,_0x472e96:0x450,_0x84d35:0x348,_0x4af5eb:0x373,_0x4ffd7d:0x359,_0x41234b:0x3fc,_0x478cbb:0x400,_0x51bdb3:0x3d0,_0x537720:0x3e5,_0x1f8217:0x3fa,_0x501255:0x320,_0x2d9f14:0x35c,_0xac280e:0x362,_0x12085f:0x394,_0x157602:0x383,_0x5638e8:0x3f9,_0x373751:0x3ef,_0x4d6a6d:0x40d,_0x4f1bb3:0x404,_0x5d9b60:0x422,_0x272f1f:0x3e3,_0xbca6e8:0x376,_0x10f8f9:0x37d,_0x370824:0x350,_0x4137dd:0x3a0,_0x5a1a02:0x38f,_0x24d36b:0x3f9,_0x142f85:0x380},_0x4a2828={_0x478245:0xbb},_0xad866e={'zLAeh':function(_0x4b524f,_0x192d52){return _0x4b524f(_0x192d52);},'ilZvn':_0x3ef935(0x37e,_0x901e5._0x50cc47,0x342,0x354),'DJrDe':'pending','HjwVD':function(_0x2eed28,_0x10c6dd){return _0x2eed28>_0x10c6dd;},'BiFkK':_0x196b59(0x3e2,0x3fd,_0x901e5._0x57336e,_0x901e5._0x58c4d6),'RDbYk':_0x196b59(0x42a,0x426,_0x901e5._0xc1fb16,0x42c),'OEqJp':function(_0x1e6da5,_0x431d6c){return _0x1e6da5!==_0x431d6c;},'Bepxz':_0x196b59(_0x901e5._0x2138e7,0x3e0,_0x901e5._0x37a35b,_0x901e5._0x5c2331),'BQAeI':function(_0x2778f5,_0x2a451c){return _0x2778f5===_0x2a451c;},'IVhnG':_0x3ef935(0x34a,0x328,0x313,0x33b),'bUtpE':_0x196b59(_0x901e5._0x716269,0x416,0x3fe,_0x901e5._0x3d8920)},_0x5c4b15=Date[_0x196b59(_0x901e5._0x16ec33,0x3e6,_0x901e5._0x153f3d,0x3d1)]();function _0x3ef935(_0x30f89c,_0x27c892,_0x2b748d,_0xff8982){return _0x23c627(_0x30f89c-0x1f2,_0xff8982-0xa0,_0x30f89c,_0xff8982-0xb2);}for(const [_0x540852,_0x95afa2]of deviceStore['entries']()){if(_0xad866e[_0x3ef935(0x342,_0x901e5._0x277e24,_0x901e5._0x1c48f2,0x367)]===_0xad866e[_0x3ef935(0x35b,_0x901e5._0x2e183d,_0x901e5._0x23ec5b,0x372)]){const _0x3f416f=_0xad866e[_0x196b59(_0x901e5._0x5e2a0a,_0x901e5._0x4ed07e,_0x901e5._0x4ea5c4,_0x901e5._0x5e80de)](_0x37f233,_0x509742);if(!_0x3f416f){const _0x4ef277={};return _0x4ef277[_0x196b59(0x43d,_0x901e5._0x2d7fd9,0x437,0x41e)]=_0x3ef935(_0x901e5._0x1eafbf,_0x901e5._0x3abdc3,0x35d,_0x901e5._0x2e569b),_0x4ef277;}if(_0x3f416f[_0x196b59(_0x901e5._0x45df9a,0x42b,_0x901e5._0x15c4f6,0x425)]===_0xad866e[_0x3ef935(_0x901e5._0x110bf6,_0x901e5._0x39cec5,_0x901e5._0x346c9f,0x34a)]&&_0x3f416f[_0x3ef935(_0x901e5._0x16e26b,_0x901e5._0x36ea9d,0x325,0x34f)]){const _0x129a40={};return _0x129a40[_0x3ef935(_0x901e5._0x4e8a6d,0x38d,0x3b0,_0x901e5._0x5733d1)]=_0xad866e[_0x196b59(_0x901e5._0x519318,_0x901e5._0xfcab44,0x3d2,_0x901e5._0x409431)],_0x129a40[_0x3ef935(_0x901e5._0x3a074f,0x353,0x341,_0x901e5._0x40fc73)]=_0x3f416f[_0x196b59(0x3e4,_0x901e5._0x22b390,0x3e1,_0x901e5._0x1d86da)],_0x129a40[_0x3ef935(0x374,_0x901e5._0x52850d,_0x901e5._0x214fc9,_0x901e5._0xe410a0)]=_0x3f416f[_0x196b59(0x428,0x402,0x41f,0x3f1)],_0x129a40;}const _0x35259b={};return _0x35259b[_0x196b59(0x455,0x42b,_0x901e5._0x472e96,0x446)]=_0xad866e[_0x196b59(0x404,0x413,0x418,0x3fe)],_0x35259b;}else{if(_0xad866e['HjwVD'](_0x5c4b15,_0x95afa2[_0x3ef935(_0x901e5._0x84d35,0x348,_0x901e5._0x4af5eb,_0x901e5._0x4ffd7d)])){if(_0xad866e[_0x196b59(_0x901e5._0x41234b,0x407,0x412,_0x901e5._0x478cbb)](_0x196b59(_0x901e5._0x51bdb3,_0x901e5._0x537720,_0x901e5._0x2138e7,_0x901e5._0x1f8217),_0xad866e[_0x3ef935(_0x901e5._0x501255,_0x901e5._0xe410a0,_0x901e5._0x2d9f14,0x33c)]))deviceStore[_0x3ef935(0x368,0x34f,_0x901e5._0xac280e,0x362)](_0x540852),userCodeToDevice[_0x3ef935(0x359,_0x901e5._0x4af5eb,0x35e,0x362)](_0x95afa2['userCode']);else{const _0x4198d2=_0x5411c1['get'](_0x4d6fe0);(!_0x4198d2||_0xad866e[_0x3ef935(0x36e,_0x901e5._0x12085f,0x392,_0x901e5._0x157602)](_0x5a5098,_0x4198d2[_0x196b59(_0x901e5._0x5638e8,0x3fb,_0x901e5._0x373751,_0x901e5._0x4d6a6d)]))&&_0x3d4dd1[_0x196b59(0x3fa,_0x901e5._0x4f1bb3,0x401,_0x901e5._0x5d9b60)](_0x3d5e48);}}}}function _0x196b59(_0x230981,_0x42a65d,_0x1d5416,_0x19a672){return _0x26a698(_0x42a65d-0x1ff,_0x19a672,_0x1d5416-0x142,_0x19a672-_0x4a2828._0x478245);}for(const [_0x1456fb,_0x5954f6]of stateToDevice['entries']()){if(_0xad866e[_0x196b59(0x3e8,_0x901e5._0x5638e8,_0x901e5._0x272f1f,0x3e8)](_0xad866e[_0x3ef935(0x353,_0x901e5._0xbca6e8,0x376,_0x901e5._0x10f8f9)],_0xad866e[_0x3ef935(0x360,0x36e,0x353,_0x901e5._0x370824)]))return![];else{const _0x250832=deviceStore[_0x3ef935(_0x901e5._0x4137dd,_0x901e5._0x4af5eb,0x377,0x385)](_0x5954f6);(!_0x250832||_0xad866e[_0x3ef935(0x371,0x37c,_0x901e5._0x5a1a02,0x383)](_0x5c4b15,_0x250832[_0x196b59(0x3ed,0x3fb,0x3ee,_0x901e5._0x24d36b)]))&&stateToDevice[_0x3ef935(_0x901e5._0x142f85,0x36f,_0x901e5._0x39cec5,0x362)](_0x1456fb);}}}function _0x182d(_0x1e417f,_0x29eaa5){_0x1e417f=_0x1e417f-(0x11df+0x1dfe+-0x2f*0x101);const _0xc92095=_0x23c9();let _0x19a0fb=_0xc92095[_0x1e417f];if(_0x182d['VVkVgZ']===undefined){var _0x436776=function(_0x2637ac){const _0x47dfd7='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5d6579='',_0x16308b='';for(let _0xf2a80=-0x2170+0x4*0x138+0xe48*0x2,_0x52db64,_0x2592b6,_0x4d9636=-0x15*-0xeb+-0x139f+-0x16*-0x4;_0x2592b6=_0x2637ac['charAt'](_0x4d9636++);~_0x2592b6&&(_0x52db64=_0xf2a80%(0x606*0x3+-0x1*0x1d11+0xb03)?_0x52db64*(0x181d+0x1fd2+0x1*-0x37af)+_0x2592b6:_0x2592b6,_0xf2a80++%(-0x59*-0x5+-0x71*0x1+-0x148))?_0x5d6579+=String['fromCharCode'](-0x28*-0xe9+0xf8b*-0x2+-0x453&_0x52db64>>(-(0x12ee*-0x1+-0x2278+0x1*0x3568)*_0xf2a80&-0x1*-0x904+0x153*-0x1a+0x94*0x2c)):-0x1e4+0x141d+-0x1239){_0x2592b6=_0x47dfd7['indexOf'](_0x2592b6);}for(let _0xe4b091=0x232f*-0x1+-0x2062*0x1+0x9a7*0x7,_0x297fcd=_0x5d6579['length'];_0xe4b091<_0x297fcd;_0xe4b091++){_0x16308b+='%'+('00'+_0x5d6579['charCodeAt'](_0xe4b091)['toString'](-0x22*-0x54+0xb35+-0xb*0x207))['slice'](-(-0x1*-0xc04+0x10*0x1fc+-0x2bc2));}return decodeURIComponent(_0x16308b);};_0x182d['uXgTqY']=_0x436776,_0x182d['puYJzb']={},_0x182d['VVkVgZ']=!![];}const _0x3d4c57=_0xc92095[0x25db+0x167f*0x1+-0x3c5a],_0x100d32=_0x1e417f+_0x3d4c57,_0x8a09b6=_0x182d['puYJzb'][_0x100d32];return!_0x8a09b6?(_0x19a0fb=_0x182d['uXgTqY'](_0x19a0fb),_0x182d['puYJzb'][_0x100d32]=_0x19a0fb):_0x19a0fb=_0x8a09b6,_0x19a0fb;}const cleanupInterval=setInterval(cleanupExpired,(-0x1*0x13c7+-0x1bb5+0x1fd*0x18)*(0x2*-0x136c+0x4c1*0x1+0x25ff*0x1));cleanupInterval[_0x26a698(0x232,0x253,0x24f,0x21c)]();export function createDeviceFlow(){const _0x51a1f3={_0x4c8650:0x45c,_0x3c1123:0x3e,_0x84c32e:0x3f,_0x53381e:0x61,_0x2f1565:0x39,_0x20b3e0:0x53,_0x54fd4c:0x6f,_0x82ee16:0x7c,_0x58052e:0x7c,_0x45b60f:0x4a8,_0x4dd67d:0x487,_0x21af05:0x436,_0x3f5f17:0x490,_0x1728e2:0x33,_0x38fb70:0x51,_0x300cc1:0x3a,_0x4496f5:0x448,_0x317a31:0x46,_0x5be72a:0x478,_0xa0c8a2:0x455,_0x357e6a:0x475,_0x50e268:0x473,_0x3275d4:0x486,_0x5dee4a:0x46b,_0x1b45bc:0x6b,_0x3a3d2f:0x66,_0x1afd07:0x2b,_0x3d77b9:0x50,_0x2c2e5e:0x45e,_0x13e03a:0x442,_0x5d9954:0x444,_0x265645:0x92,_0x26b6c6:0x7f,_0x4456ac:0x6a,_0xb156ef:0x60,_0x3309a6:0x47f,_0x32af6c:0x45e,_0x232ca3:0x4ae,_0x5849c8:0x47e,_0x26f0a1:0x492,_0x121974:0x48b},_0x4f99d3={_0x5ffa55:0xf7,_0x33687:0x26c},_0x11924f={_0x10618a:0x72},_0x31a44e={'LvbPq':_0x58f3df(0x47e,0x447,_0x51a1f3._0x4c8650,0x464)+_0x5897ba(0x44,_0x51a1f3._0x3c1123,0x5f,0x38)+'re\x20reset','QdiGY':function(_0x1c285e){return _0x1c285e();},'iKhGN':'aNUBy','yAbJh':function(_0x321f52){return _0x321f52();},'jTMSH':_0x5897ba(_0x51a1f3._0x84c32e,_0x51a1f3._0x53381e,_0x51a1f3._0x2f1565,0x5f),'RaQGX':function(_0x12279c,_0x11e363){return _0x12279c+_0x11e363;},'iJbQT':'pending','BmGUF':function(_0x1b072b,_0x5957bf){return _0x1b072b/_0x5957bf;}};function _0x58f3df(_0x26b0d6,_0x4a6e3b,_0x25ce32,_0x2ecbf8){return _0x23c627(_0x26b0d6-_0x11924f._0x10618a,_0x2ecbf8-0x1a0,_0x25ce32,_0x2ecbf8-0x91);}let _0x47e451=_0x31a44e[_0x5897ba(_0x51a1f3._0x20b3e0,_0x51a1f3._0x54fd4c,_0x51a1f3._0x82ee16,_0x51a1f3._0x58052e)](randomUserCode);while(userCodeToDevice[_0x58f3df(_0x51a1f3._0x45b60f,0x46a,0x475,_0x51a1f3._0x4dd67d)](_0x47e451)){_0x58f3df(0x443,0x46c,_0x51a1f3._0x21af05,0x458)!==_0x31a44e[_0x58f3df(0x48a,0x477,0x482,_0x51a1f3._0x3f5f17)]?(_0x3e42be['clear'](),_0xf3864b[_0x5897ba(_0x51a1f3._0x1728e2,_0x51a1f3._0x38fb70,_0x51a1f3._0x300cc1,0x32)](),_0xfdb226[_0x58f3df(0x46e,0x42d,_0x51a1f3._0x4496f5,0x446)](),_0x5d9683[_0x5897ba(0x3c,0x35,_0x51a1f3._0x317a31,0x5f)](_0x31a44e[_0x58f3df(_0x51a1f3._0x5be72a,_0x51a1f3._0xa0c8a2,_0x51a1f3._0x357e6a,_0x51a1f3._0x50e268)])):_0x47e451=_0x31a44e[_0x58f3df(0x486,_0x51a1f3._0x3275d4,_0x51a1f3._0x5dee4a,0x47e)](randomUserCode);}const _0x403183=_0x13f3ab[_0x5897ba(0x7b,0x49,_0x51a1f3._0x1b45bc,0x6f)+'s'](0x10ec+-0x5*0x269+-0x51*0xf)[_0x5897ba(_0x51a1f3._0x3a3d2f,_0x51a1f3._0x1afd07,_0x51a1f3._0x3d77b9,0x4a)](_0x31a44e[_0x58f3df(0x44e,0x496,_0x51a1f3._0x2c2e5e,0x46d)]),_0xc2deaf=Date[_0x58f3df(_0x51a1f3._0x13e03a,0x467,0x435,_0x51a1f3._0x5d9954)]();function _0x5897ba(_0x1ff0e1,_0x3c0dca,_0x15332f,_0xb84fef){return _0x23c627(_0x1ff0e1-_0x4f99d3._0x5ffa55,_0x15332f- -_0x4f99d3._0x33687,_0x3c0dca,_0xb84fef-0x1e2);}const _0x62cc6d={'deviceCode':_0x403183,'userCode':_0x47e451,'createdAt':_0xc2deaf,'expiresAt':_0x31a44e[_0x5897ba(0x9e,0xaa,0x80,_0x51a1f3._0x265645)](_0xc2deaf,DEVICE_TTL_MS),'status':_0x31a44e[_0x5897ba(0x57,0x52,0x6c,_0x51a1f3._0x26b6c6)],'apiKey':null,'user':null};return deviceStore[_0x5897ba(_0x51a1f3._0x4456ac,0x7b,_0x51a1f3._0xb156ef,0x45)](_0x403183,_0x62cc6d),userCodeToDevice['set'](_0x47e451,_0x403183),{'deviceCode':_0x403183,'userCode':_0x47e451,'expiresIn':Math[_0x58f3df(0x46d,_0x51a1f3._0x3309a6,0x43f,_0x51a1f3._0x32af6c)](_0x31a44e[_0x58f3df(_0x51a1f3._0x232ca3,_0x51a1f3._0x5849c8,_0x51a1f3._0x26f0a1,_0x51a1f3._0x121974)](DEVICE_TTL_MS,0x1fd*0xe+0xce*0x19+0x1606*-0x2)),'interval':Math['floor'](POLL_INTERVAL_MS/(0x204*0x3+-0x19*0xba+-0x1*-0x1006))};}function _0x26a698(_0x134705,_0x3be234,_0x311c95,_0x2e14bc){const _0x6843a8={_0x51490a:0x130};return _0x182d(_0x134705-_0x6843a8._0x51490a,_0x3be234);}export function getDeviceFlow(_0x2163c9){const _0x38c764={_0x2a05ce:0x17a,_0x5501a7:0x18f,_0x28b949:0x193},_0x3d9094={_0x3eb134:0x1d2,_0x1827d2:0x8f},_0x16618b={'jGMla':function(_0xdd7595,_0xb09b8d){return _0xdd7595(_0xb09b8d);}};function _0x39ecd3(_0x4ef9bc,_0x31171e,_0x5842b8,_0x3fefa9){return _0x23c627(_0x4ef9bc-0xbd,_0x5842b8-0x10a,_0x3fefa9,_0x3fefa9-0x15);}function _0xd46091(_0x28a616,_0x47afa7,_0x501cef,_0x21ffd4){return _0x23c627(_0x28a616-_0x3d9094._0x3eb134,_0x21ffd4- -0x438,_0x47afa7,_0x21ffd4-_0x3d9094._0x1827d2);}const _0x1bc206=deviceStore[_0xd46091(-0x160,-0x134,-0x160,-0x153)](_0x2163c9);if(!_0x1bc206||_0x16618b[_0xd46091(-_0x38c764._0x2a05ce,-_0x38c764._0x5501a7,-_0x38c764._0x28b949,-0x183)](isExpired,_0x1bc206))return null;return _0x1bc206;}export function getDeviceFlowByUserCode(_0x17b915){const _0x20e375={_0x27bc6a:0x14d,_0xc562f9:0x2cb,_0x334f8e:0x114,_0x5e44a2:0x117,_0x460ded:0x10c},_0x24314f={_0x47a55b:0x6},_0x567315={_0x1292bd:0x101,_0x5b4274:0xfe,_0x1fa510:0x1ea};function _0x33a80b(_0x1cbd75,_0x2da858,_0x4f94f3,_0x5b0a7b){return _0x26a698(_0x5b0a7b- -_0x567315._0x1292bd,_0x1cbd75,_0x4f94f3-_0x567315._0x5b4274,_0x5b0a7b-_0x567315._0x1fa510);}const _0x1c454c=userCodeToDevice[_0x33a80b(_0x20e375._0x27bc6a,0x10d,0x14f,0x127)](_0x17b915);if(!_0x1c454c){if(_0x54cafa(0x2c4,0x2cf,0x29d,_0x20e375._0xc562f9)!==_0x33a80b(_0x20e375._0x334f8e,_0x20e375._0x5e44a2,0xfa,_0x20e375._0x460ded))_0x112951=_0x3b7bdc();else return null;}function _0x54cafa(_0x39667a,_0x528388,_0x43a71f,_0x237a26){return _0x23c627(_0x39667a-0x64,_0x39667a- -_0x24314f._0x47a55b,_0x43a71f,_0x237a26-0x5c);}return getDeviceFlow(_0x1c454c);}export function linkOidcStateToDevice(_0x116f82,_0x5efd5d){const _0x588ae2={_0x2724a8:0xbb,_0x2081bf:0x80,_0x178b0d:0x3d9,_0x486d86:0x421,_0x5df075:0x41b,_0x4550be:0x401,_0x2f3724:0x6f,_0x4e205c:0x7c,_0x2c58db:0x4a,_0x204cc3:0x73,_0x532946:0x9e},_0x451d86={_0x189424:0x156},_0x15b053={_0x1c5446:0x13b,_0x30c712:0x169},_0x351ead={'csctr':function(_0x6f346b,_0x2e65cc){return _0x6f346b>_0x2e65cc;},'yFKMN':function(_0x187353,_0x52a716){return _0x187353(_0x52a716);},'Gtsqm':function(_0x4bd9bb,_0x3be319){return _0x4bd9bb!==_0x3be319;},'IRCIx':'XrfgA'},_0xb61248=_0x351ead[_0x300b72(_0x588ae2._0x2724a8,0xa1,_0x588ae2._0x2081bf,0xae)](getDeviceFlow,_0x5efd5d);if(!_0xb61248)return _0x351ead[_0x14b4ee(0x3ed,0x3c0,0x3e4,_0x588ae2._0x178b0d)](_0x351ead[_0x14b4ee(_0x588ae2._0x486d86,0x3ff,0x41b,0x444)],_0x351ead[_0x14b4ee(0x3f4,0x433,_0x588ae2._0x5df075,_0x588ae2._0x4550be)])?_0x351ead[_0x300b72(0xb1,0x9a,0xa3,0xb2)](_0x17298b[_0x300b72(0x48,_0x588ae2._0x2f3724,_0x588ae2._0x4e205c,_0x588ae2._0x2c58db)](),_0x5c1f4e[_0x300b72(_0x588ae2._0x204cc3,0x84,_0x588ae2._0x532946,0x7a)]):![];function _0x14b4ee(_0x165094,_0x2d49bb,_0x5d80f2,_0x10d02a){return _0x23c627(_0x165094-0x16a,_0x5d80f2-_0x15b053._0x1c5446,_0x10d02a,_0x10d02a-_0x15b053._0x30c712);}function _0x300b72(_0x165d3e,_0x3026af,_0x52dcda,_0x43f0af){return _0x23c627(_0x165d3e-0x60,_0x3026af- -0x235,_0x165d3e,_0x43f0af-_0x451d86._0x189424);}return stateToDevice['set'](_0x116f82,_0x5efd5d),!![];}export function consumeDeviceForState(_0x541948){const _0x55da2e={_0x486f46:0xb3,_0x36058c:0xcd,_0x166ae7:0x84,_0x3ce096:0x97,_0x52abd2:0xda,_0x43fe20:0xbc,_0x424b4d:0xcd,_0x577317:0xcb,_0x19b2e8:0xd0,_0x2428b5:0xab,_0x2fdb16:0x8b,_0x478632:0xa7},_0xac1f38={_0x1394bc:0x176,_0x335986:0xb},_0x37c95a={_0x241071:0x2ac,_0x220f6c:0x1b2};function _0xd0e6db(_0x25fd0f,_0x25609c,_0x1c6500,_0x4b6672){return _0x26a698(_0x1c6500- -_0x37c95a._0x241071,_0x25609c,_0x1c6500-_0x37c95a._0x220f6c,_0x4b6672-0x171);}const _0x184b8e={'ypvlm':function(_0x49ccf5,_0x241d12){return _0x49ccf5!==_0x241d12;},'hIpUW':_0xd0e6db(-_0x55da2e._0x486f46,-_0x55da2e._0x36058c,-_0x55da2e._0x486f46,-0x93),'pWyiB':function(_0x2094a1,_0x51a6ab){return _0x2094a1(_0x51a6ab);}};function _0x2e8424(_0x252f6e,_0x92ff95,_0x5a20bb,_0x493b1b){return _0x26a698(_0x252f6e- -_0xac1f38._0x1394bc,_0x92ff95,_0x5a20bb-0x119,_0x493b1b-_0xac1f38._0x335986);}const _0x411fd3=stateToDevice[_0xd0e6db(-0x9e,-0x6f,-_0x55da2e._0x166ae7,-0x67)](_0x541948);if(!_0x411fd3)return _0x184b8e[_0xd0e6db(-_0x55da2e._0x3ce096,-_0x55da2e._0x52abd2,-_0x55da2e._0x43fe20,-_0x55da2e._0x424b4d)](_0x184b8e['hIpUW'],_0xd0e6db(-_0x55da2e._0x577317,-_0x55da2e._0x19b2e8,-0xb3,-_0x55da2e._0x52abd2))?null:null;return stateToDevice[_0xd0e6db(-_0x55da2e._0x2428b5,-_0x55da2e._0x2fdb16,-_0x55da2e._0x478632,-0xc2)](_0x541948),_0x184b8e['pWyiB'](getDeviceFlow,_0x411fd3);}export function approveDeviceFlow(_0x4bf33b,_0x463c12,_0x161488){const _0x57b9e1={_0x3df38c:0x171,_0x2eb973:0x176,_0x32626b:0x182,_0x2bd758:0x170,_0x213252:0x153,_0x4488ea:0x1d5,_0x5aab9d:0x1ac,_0x224bbe:0x191,_0x264773:0x176,_0x51d7d1:0x174,_0x549bfd:0x155,_0x190093:0x16a,_0x14efc5:0x168},_0xb6cf13={_0x9bf65c:0x42a,_0x381806:0x1d6},_0x4b8bfa={_0x5e2143:0x6a},_0xaa2f25={'BMPlc':function(_0x3cf9e6,_0x5a717d){return _0x3cf9e6(_0x5a717d);},'Gkbxk':_0x349ac2(-_0x57b9e1._0x3df38c,-_0x57b9e1._0x2eb973,-0x153,-0x17e)},_0x22fe20=_0xaa2f25[_0x349ac2(-_0x57b9e1._0x32626b,-_0x57b9e1._0x2bd758,-_0x57b9e1._0x213252,-0x145)](getDeviceFlow,_0x4bf33b);if(!_0x22fe20)return![];function _0x37e5b3(_0x361e1a,_0x57f385,_0x247d44,_0xb0c2d5){return _0x26a698(_0xb0c2d5- -_0x4b8bfa._0x5e2143,_0x247d44,_0x247d44-0x18a,_0xb0c2d5-0xb5);}function _0x349ac2(_0x3ca1cc,_0x31818d,_0x55284e,_0x2cf5b8){return _0x23c627(_0x3ca1cc-0x2e,_0x31818d- -_0xb6cf13._0x9bf65c,_0x2cf5b8,_0x2cf5b8-_0xb6cf13._0x381806);}return _0x22fe20[_0x37e5b3(0x1ed,_0x57b9e1._0x4488ea,_0x57b9e1._0x5aab9d,0x1c2)]=_0xaa2f25[_0x37e5b3(0x15d,_0x57b9e1._0x224bbe,0x187,_0x57b9e1._0x264773)],_0x22fe20[_0x349ac2(-_0x57b9e1._0x32626b,-0x17b,-0x175,-_0x57b9e1._0x51d7d1)]=_0x463c12,_0x22fe20[_0x349ac2(-_0x57b9e1._0x549bfd,-_0x57b9e1._0x190093,-_0x57b9e1._0x14efc5,-0x17e)]=_0x161488,!![];}function _0x23c627(_0x24f63d,_0x1badd1,_0x440563,_0x19d914){return _0x182d(_0x1badd1-0x1ed,_0x440563);}export function pollDeviceFlow(_0xc07a6a){const _0xa94602={_0x3fd7a2:0x5f,_0x9968aa:0xe,_0x2709c7:0x9,_0x4ee0fd:0x6,_0x9f31cb:0x3,_0x2c6077:0x3b,_0x10277d:0x25,_0x316d33:0x24,_0x1dd9db:0x1b8,_0x1a0869:0x1c5,_0x27d8d2:0x17,_0x591924:0x1fa,_0x23aa6f:0x216,_0x21d618:0x1f8,_0xbb1432:0x1d0,_0x35f1e3:0x197,_0x298e84:0x1b2,_0x163980:0x1be,_0x34912b:0x48,_0x27e31e:0x33,_0x422122:0x2f,_0x4e7c21:0x8,_0x36554c:0x1b0,_0x19e507:0x1e4,_0x21ec02:0x1be,_0x56d224:0x34,_0x550677:0x12,_0x1917c6:0x16,_0x557270:0xb,_0x5f562e:0x9,_0x2e3c4e:0x1d3},_0x25c9ea={_0x77f9de:0x1ed,_0x22b0d2:0xae,_0x44ae91:0x8f},_0x23053={_0x4d11cf:0x14e,_0x149584:0x48},_0x624e24={'CshPS':function(_0x4600c5,_0xc74f74){return _0x4600c5(_0xc74f74);},'cEAzv':function(_0x1aa9cd,_0xfdf845){return _0x1aa9cd===_0xfdf845;},'fouob':_0x15ec46(0x45,0xa,_0xa94602._0x3fd7a2,0x35),'kHIqv':_0x15ec46(_0xa94602._0x9968aa,-0x27,-0xa,-_0xa94602._0x2709c7),'GqdPP':'approved','gXffJ':'pending'},_0x4ae61f=_0x624e24['CshPS'](getDeviceFlow,_0xc07a6a);if(!_0x4ae61f){if(_0x624e24[_0x1b00e9(0x1cf,0x1b7,0x1c9,0x1d0)](_0x624e24[_0x15ec46(_0xa94602._0x4ee0fd,_0xa94602._0x9f31cb,0x7,0x24)],_0x624e24[_0x15ec46(_0xa94602._0x2c6077,_0xa94602._0x10277d,0x39,_0xa94602._0x316d33)])){const _0x515186={};return _0x515186['status']=_0x624e24[_0x1b00e9(_0xa94602._0x1dd9db,0x1be,_0xa94602._0x1a0869,0x1cc)],_0x515186;}else return![];}if(_0x624e24[_0x15ec46(0x38,-0x14,0x2c,_0xa94602._0x27d8d2)](_0x4ae61f[_0x1b00e9(_0xa94602._0x591924,_0xa94602._0x23aa6f,0x1d8,_0xa94602._0x21d618)],_0x624e24['GqdPP'])&&_0x4ae61f[_0x1b00e9(_0xa94602._0xbb1432,_0xa94602._0x35f1e3,_0xa94602._0x298e84,_0xa94602._0x163980)]){const _0x5ae801={};return _0x5ae801[_0x15ec46(0x21,0x1c,_0xa94602._0x34912b,0x3f)]=_0x624e24[_0x15ec46(-_0xa94602._0x27e31e,-0x6,-_0xa94602._0x422122,-_0xa94602._0x4e7c21)],_0x5ae801[_0x1b00e9(0x1d4,0x1c1,_0xa94602._0x36554c,_0xa94602._0x163980)]=_0x4ae61f[_0x1b00e9(_0xa94602._0xbb1432,0x1aa,_0xa94602._0x19e507,_0xa94602._0x21ec02)],_0x5ae801[_0x15ec46(_0xa94602._0x56d224,_0xa94602._0x550677,-0x11,_0xa94602._0x1917c6)]=_0x4ae61f[_0x15ec46(-_0xa94602._0x557270,0xb,_0xa94602._0x5f562e,0x16)],_0x5ae801;}function _0x1b00e9(_0x5c3f64,_0x5ada85,_0x2f2abe,_0x238c0b){return _0x26a698(_0x238c0b- -0x34,_0x5ada85,_0x2f2abe-_0x23053._0x4d11cf,_0x238c0b-_0x23053._0x149584);}const _0x1ec594={};_0x1ec594[_0x1b00e9(_0xa94602._0x2e3c4e,0x1f8,0x212,_0xa94602._0x21d618)]=_0x624e24['gXffJ'];function _0x15ec46(_0x4d297b,_0xd507b5,_0x89aee,_0x17d757){return _0x26a698(_0x17d757- -_0x25c9ea._0x77f9de,_0x4d297b,_0x89aee-_0x25c9ea._0x22b0d2,_0x17d757-_0x25c9ea._0x44ae91);}return _0x1ec594;}export function consumeDeviceFlow(_0x2a730c){const _0x1d6ce4={_0x30712c:0x250,_0x4c3289:0x252,_0x1992f1:0x244,_0x5ebbe9:0x256,_0x5bfb65:0x269,_0x17d726:0x234,_0xf8cf23:0x21d,_0x33fdee:0x210,_0x5e89b6:0x21b,_0x3862b2:0x24e,_0x2891e6:0x261},_0x59c6a4={_0x2982d4:0x33},_0x5dba3e={_0x129e85:0x192,_0xcc9881:0x11},_0x59cf01={'utNIK':function(_0x2e44f2,_0xc8fa36){return _0x2e44f2(_0xc8fa36);},'zeOuR':function(_0x4e2a06,_0x57a971){return _0x4e2a06!==_0x57a971;},'OHStx':_0x43f483(0x226,_0x1d6ce4._0x30712c,_0x1d6ce4._0x4c3289,_0x1d6ce4._0x1992f1)},_0x5b42fd=_0x59cf01[_0x43d555(-_0x1d6ce4._0x5ebbe9,-0x251,-_0x1d6ce4._0x5bfb65,-0x230)](getDeviceFlow,_0x2a730c);function _0x43d555(_0x1907c0,_0x42fd05,_0xe0dcb0,_0x217041){return _0x26a698(_0x42fd05- -0x453,_0x217041,_0xe0dcb0-_0x5dba3e._0x129e85,_0x217041-_0x5dba3e._0xcc9881);}if(!_0x5b42fd){if(_0x59cf01[_0x43d555(-_0x1d6ce4._0x5ebbe9,-0x23b,-0x23c,-0x23a)](_0x59cf01[_0x43d555(-_0x1d6ce4._0x17d726,-0x222,-_0x1d6ce4._0xf8cf23,-_0x1d6ce4._0x33fdee)],_0x59cf01[_0x43d555(-_0x1d6ce4._0x33fdee,-0x222,-0x210,-_0x1d6ce4._0x17d726)])){const _0x188ba3=_0x556f72['get'](_0x31955e);if(!_0x188ba3||_0x2da703(_0x188ba3))return null;return _0x188ba3;}else return null;}deviceStore[_0x43f483(0x21e,0x238,_0x1d6ce4._0x5e89b6,0x218)](_0x2a730c);function _0x43f483(_0x51250f,_0x125bf4,_0x126117,_0x485411){return _0x26a698(_0x125bf4-_0x59c6a4._0x2982d4,_0x126117,_0x126117-0x115,_0x485411-0x20);}return userCodeToDevice[_0x43d555(-0x250,-_0x1d6ce4._0x3862b2,-_0x1d6ce4._0x2891e6,-0x24b)](_0x5b42fd['userCode']),_0x5b42fd;}export function getDeviceFlowConstants(){const _0x1d212e={_0x127d74:0x31,_0x106d7f:0x7,_0x475af1:0x10},_0x3d5cea={_0x3f1a8f:0x1ab};function _0x192a3a(_0x237938,_0x2a7d3e,_0x198b24,_0x21bf66){return _0x23c627(_0x237938-0x5b,_0x198b24- -0x2e0,_0x2a7d3e,_0x21bf66-_0x3d5cea._0x3f1a8f);}const _0x2432ef={};_0x2432ef[_0x192a3a(-_0x1d212e._0x127d74,-0x11,-_0x1d212e._0x106d7f,_0x1d212e._0x475af1)]=function(_0x5cf462,_0x34dea2){return _0x5cf462/_0x34dea2;};const _0x3feb99=_0x2432ef;return{'expiresIn':Math['floor'](DEVICE_TTL_MS/(0x15b7+-0x1de3+0xc14)),'interval':Math['floor'](_0x3feb99['qLbPZ'](POLL_INTERVAL_MS,-0x1c99+0x1*-0x236+0x1*0x22b7))};}function _0x23c9(){const _0x1afd01=['uKrIwwS','thzIuhe','B0zmzvC','EMvpDvi','Euzltu4','CMfUzg9TqNL0zq','AuPIuvq','CuXIufO','t0njENi','tujxsMe','sLD2Che','svzOBKC','EufIsMG','sMjSvuu','svjdsxG','nda4ruzHqMrk','ntiXnJKXv0X0BuD1','sgP3vKq','r2n1DMy','z2v0','BgvUz3rO','AgfZ','uwrPr1K','C3rHDhvZ','v1HzwJiZndu2nW','qM1hvuy','uMfrr1G','CMuGCMvZzxq','t0HtDhG','Dw5Yzwy','AuTOr04','z2veuei','qMvWEhO','r2TIEgS','ENLXzuO','uvLoBMS','C2XPy2u','zxHWAxjLza','r3fKufa','uKPsz2m','BM93','Agv4','y2XLyxi','mtu5mdyXDNfZAunH','qujdrevgr0HksW','r3rZCw0','AwXADM4','EKXbzwG','mJD3qLbIy2O','Exb2Bg0','mJC3mtaYmxLdyxD3DG','yxbPs2v5','yLv0Ceu','ofvIC2Tqsa','zgvIDwC','mZa3nZbVB056z1m','yxbWCM92zwq','AKDnBge','yxvQu20','qLfbzuK','yu5vqNK','zxHWAxjLC0f0','qK1qBgm','B3nQA0y','Dg9tDhjPBMC','A0HjCxy','zMXVB3i','DxrosuS','DxnLCG','y0vbENy','zgvSzxrL','nZG4v2rhAvvh','t0LeqYbKzxzPyW','t0vXsNa','mJG4mdiXmgPNCxLODa','qMLgA0S','nda1nte5nMP1D1HptW','mtyWnZeYsvPZy3rj','vMTTyLK','zsbMBg93ihn0BW','C2v0','ALrnu0G','zM91B2i','y3nJDhi','CMfUzg9Tsw50','rePYrgu'];_0x23c9=function(){return _0x1afd01;};return _0x23c9();}export function resetDeviceFlowStore(){const _0x4cfa0d={_0x3fb6c9:0x31a,_0x500c80:0x307,_0x21e55b:0x332,_0x2a99d0:0x335,_0x5223da:0x30a,_0x82f20e:0x333,_0xd8333:0x30f,_0x2864eb:0x32b,_0x297b47:0x321,_0x35a646:0x2fc,_0x507851:0x31f,_0x5cd948:0x31c,_0x53f673:0x2f6,_0x4830ad:0xd4,_0x2d5320:0xba,_0x14bccb:0xc7},_0x298f75={_0x406aff:0x56},_0x2cba3d={_0x5d1721:0x16e,_0x579bf3:0x3b0},_0x1c0038={};_0x1c0038[_0xf4394d(_0x4cfa0d._0x3fb6c9,_0x4cfa0d._0x500c80,0x30a,_0x4cfa0d._0x21e55b)]=_0xf4394d(_0x4cfa0d._0x2a99d0,_0x4cfa0d._0x5223da,0x342,0x31a)+_0xf4394d(_0x4cfa0d._0x82f20e,_0x4cfa0d._0xd8333,_0x4cfa0d._0x2864eb,_0x4cfa0d._0x297b47)+_0x52bf26(-0xc3,-0xb9,-0xc1,-0xd3);const _0x1c87e3=_0x1c0038;function _0x52bf26(_0x59dbfd,_0x135ed8,_0x2d3ddf,_0x1aea87){return _0x23c627(_0x59dbfd-_0x2cba3d._0x5d1721,_0x59dbfd- -_0x2cba3d._0x579bf3,_0x135ed8,_0x1aea87-0x92);}function _0xf4394d(_0x2c9b3e,_0x18c43b,_0x5d638b,_0x5c0497){return _0x23c627(_0x2c9b3e-0x53,_0x5c0497-_0x298f75._0x406aff,_0x2c9b3e,_0x5c0497-0xcd);}deviceStore[_0xf4394d(_0x4cfa0d._0x35a646,0x2ff,0x2e0,0x2fc)](),userCodeToDevice[_0xf4394d(_0x4cfa0d._0x507851,_0x4cfa0d._0x5cd948,0x2fd,0x2fc)](),stateToDevice[_0xf4394d(0x304,_0x4cfa0d._0x53f673,0x302,0x2fc)](),logger['debug'](_0x1c87e3[_0x52bf26(-_0x4cfa0d._0x4830ad,-0xeb,-_0x4cfa0d._0x2d5320,-_0x4cfa0d._0x14bccb)]);}
@@ -1 +1 @@
1
- (function(_0x40e1c8,_0x570b4c){const _0x46dd11={_0x30910c:0x423,_0x522179:0x3fd,_0x20b765:0x41a,_0x3d13c1:0x1f2,_0x5db4b3:0x440,_0x43db08:0x434,_0x1b30b5:0x428,_0x5f48ac:0x438,_0x3f4873:0x42f,_0x2178f8:0x415,_0x4d0b1d:0x40b,_0xc83bbb:0x409,_0x444225:0x448,_0x1134f2:0x407,_0x3db488:0x43c,_0xe5b997:0x421,_0x306493:0x446,_0x3534b2:0x416,_0x4bfcee:0x43e,_0x1c28f4:0x1f7},_0x488352={_0x3bb003:0x13};function _0x392df7(_0x3d1fd5,_0x930556,_0x3a7392,_0x4adc93){return _0x39c8(_0x3a7392-_0x488352._0x3bb003,_0x3d1fd5);}const _0x5d38c1=_0x40e1c8();function _0x46e8cb(_0x22f2bd,_0x2851a6,_0x33cebe,_0x4ebbd2){return _0x39c8(_0x2851a6-0x217,_0x22f2bd);}while(!![]){try{const _0x42d1ca=-parseInt(_0x46e8cb(_0x46dd11._0x30910c,_0x46dd11._0x522179,0x423,0x421))/(0x1997+0x2*0x1eb+-0x1d6c)+-parseInt(_0x46e8cb(0x42c,_0x46dd11._0x20b765,0x411,0x42e))/(-0x1e37+-0x254b+0x4384)*(-parseInt(_0x392df7(0x1f0,_0x46dd11._0x3d13c1,0x1ee,0x201))/(-0x2482+0x8*-0x1f1+0x340d))+-parseInt(_0x46e8cb(_0x46dd11._0x5db4b3,0x425,0x432,_0x46dd11._0x43db08))/(0x826+0x1*0x9d3+-0x11f5)*(-parseInt(_0x46e8cb(_0x46dd11._0x1b30b5,0x426,_0x46dd11._0x5f48ac,_0x46dd11._0x3f4873))/(-0x237b+-0x19fe*0x1+-0x11*-0x39e))+-parseInt(_0x46e8cb(_0x46dd11._0x2178f8,0x40a,_0x46dd11._0x4d0b1d,_0x46dd11._0xc83bbb))/(-0xc76*0x1+0x133c+0xc0*-0x9)+-parseInt(_0x46e8cb(_0x46dd11._0x444225,0x42c,0x450,_0x46dd11._0x1134f2))/(0x10b6+0x144*0x8+-0x1acf*0x1)*(-parseInt(_0x46e8cb(_0x46dd11._0x3db488,_0x46dd11._0xe5b997,_0x46dd11._0x306493,0x405))/(0x2277+0x1c0c+-0x3e7b))+parseInt(_0x46e8cb(_0x46dd11._0x3534b2,0x419,0x424,_0x46dd11._0x4bfcee))/(0x1*-0x13b7+-0x3*-0x943+0x79*-0x11)+-parseInt(_0x392df7(0x20a,0x21c,_0x46dd11._0x1c28f4,0x21b))/(-0x16bc+-0x17bd+0x2e83);if(_0x42d1ca===_0x570b4c)break;else _0x5d38c1['push'](_0x5d38c1['shift']());}catch(_0x5e3fbf){_0x5d38c1['push'](_0x5d38c1['shift']());}}}(_0x1305,-0xf3a62+0x97a*-0xa1+0x516e5*0x7));import{promises as _0x43c212}from'fs';import _0x34f737 from'path';import _0x4a91bb from'crypto';function _0x39c8(_0x4831e3,_0x3eadfc){_0x4831e3=_0x4831e3-(0xe2a+-0x5*0x32b+0x37c);const _0x110327=_0x1305();let _0xf6f406=_0x110327[_0x4831e3];if(_0x39c8['iKSDzt']===undefined){var _0x99103=function(_0x2985d3){const _0x54506e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4b15c1='',_0x20ab94='';for(let _0x5d0620=-0xa82+0x1c62*-0x1+0x26e4,_0x24210,_0x9b17f7,_0x594b64=0x1*-0x564+0xece+-0x5*0x1e2;_0x9b17f7=_0x2985d3['charAt'](_0x594b64++);~_0x9b17f7&&(_0x24210=_0x5d0620%(0x160a+0x2*0x810+-0x2626)?_0x24210*(-0x13e+-0x6c6*0x1+-0x844*-0x1)+_0x9b17f7:_0x9b17f7,_0x5d0620++%(-0x145*0xc+0x1*0x162d+0xc5*-0x9))?_0x4b15c1+=String['fromCharCode'](-0x223+-0x19*0x149+0x2343&_0x24210>>(-(-0x1602+-0x1*0x6bf+0x1cc3)*_0x5d0620&-0x3*0x62+-0xf1*-0x12+-0xfc6)):0x1bb5*-0x1+0x7*-0x44f+0x39de){_0x9b17f7=_0x54506e['indexOf'](_0x9b17f7);}for(let _0xa383c7=-0x16a1+0x20c9+-0x1*0xa28,_0x26a4f4=_0x4b15c1['length'];_0xa383c7<_0x26a4f4;_0xa383c7++){_0x20ab94+='%'+('00'+_0x4b15c1['charCodeAt'](_0xa383c7)['toString'](0x150b*0x1+-0xc95*-0x3+0x3aba*-0x1))['slice'](-(-0x64d+0xaad+-0x45e));}return decodeURIComponent(_0x20ab94);};_0x39c8['LMCrpL']=_0x99103,_0x39c8['iUmRoo']={},_0x39c8['iKSDzt']=!![];}const _0x37e2c3=_0x110327[-0x25d+-0xdc0+-0x3*-0x55f],_0x3e4591=_0x4831e3+_0x37e2c3,_0x1cad55=_0x39c8['iUmRoo'][_0x3e4591];return!_0x1cad55?(_0xf6f406=_0x39c8['LMCrpL'](_0xf6f406),_0x39c8['iUmRoo'][_0x3e4591]=_0xf6f406):_0xf6f406=_0x1cad55,_0xf6f406;}import{fileURLToPath}from'url';import{DATA_DIR}from'./data-dir.js';function _0x3824e8(_0x18bfa4,_0x39db25,_0xffc3dc,_0xa0ecc6){const _0x39fec2={_0x5e9463:0x321};return _0x39c8(_0xa0ecc6- -_0x39fec2._0x5e9463,_0xffc3dc);}const __filename=fileURLToPath(import.meta.url),__dirname=_0x34f737[_0x3824e8(-0x145,-0x146,-0x119,-0x127)](__filename),TOKENS_FILE=_0x34f737[_0x149061(-0x14e,-0x156,-0x139,-0x14a)](DATA_DIR,'password-t'+'okens.json'),TOKEN_EXPIRY_MS=(-0x52*-0x49+-0x1f3a+0x7df)*(0x1*-0x222b+0x9cd+0x1876)*(-0xe19+-0x1bf*0x11+0x3*0xeac)*(0x3*0x213+0x1*-0x1387+0xd8a)*(0x1*-0x26c3+0x1f56+-0x1*-0xb55);function _0x149061(_0xee8c86,_0x13760a,_0x228c8a,_0x4c8066){const _0x481c84={_0x17e83a:0x34a};return _0x39c8(_0xee8c86- -_0x481c84._0x17e83a,_0x228c8a);}let tokensCache=null,lastLoadTime=-0x10*0x1da+-0x3fb*0x6+0x1*0x3582;const CACHE_TTL=-0xb39+0x12a*-0x7+0x65*0x3b;async function loadTokens(){const _0x29ade4={_0x46c11b:0xc9,_0x2eddd8:0xbe,_0x59fbc4:0xc7,_0x402373:0xd4,_0x49512e:0x36,_0x37b75d:0x61,_0x2e70b5:0x3a,_0x291e8f:0x4a,_0x521f17:0xe4,_0x72a9bd:0x5d,_0x58fde4:0x53,_0x396e1b:0x4e,_0x214b31:0x22,_0x19894f:0x15,_0x46a06c:0x38,_0x46b68f:0x5a},_0x30adda={_0x1f83c4:0x11e,_0xcd8969:0x36,_0x1d8c53:0x1e5},_0x1ba6b4={_0x389898:0x135};function _0x1f26b8(_0x1a017d,_0x38b7a6,_0x5f2dd5,_0x46d7bb){return _0x149061(_0x38b7a6-0x226,_0x38b7a6-0x10d,_0x46d7bb,_0x46d7bb-_0x1ba6b4._0x389898);}function _0x4657ab(_0x177bf2,_0x45d012,_0x1c5be2,_0x137fcb){return _0x149061(_0x137fcb-_0x30adda._0x1f83c4,_0x45d012-_0x30adda._0xcd8969,_0x45d012,_0x137fcb-_0x30adda._0x1d8c53);}const _0x1235f8={'RoDmx':function(_0x32077b,_0x56be1e){return _0x32077b-_0x56be1e;},'IlKvp':'utf8','dDKgN':function(_0x494309,_0x1ed8ce){return _0x494309===_0x1ed8ce;},'hBvRC':_0x1f26b8(_0x29ade4._0x46c11b,0xcb,0xb1,0xcc),'Pwdez':function(_0x419196,_0x28a8a0){return _0x419196(_0x28a8a0);}},_0x19e4d1=Date[_0x1f26b8(0xc0,_0x29ade4._0x2eddd8,_0x29ade4._0x59fbc4,_0x29ade4._0x402373)]();if(tokensCache&&_0x1235f8['RoDmx'](_0x19e4d1,lastLoadTime)<CACHE_TTL)return tokensCache;try{const _0x1e941e=await _0x43c212[_0x4657ab(-_0x29ade4._0x49512e,-0x61,-_0x29ade4._0x37b75d,-_0x29ade4._0x2e70b5)](TOKENS_FILE,_0x1235f8[_0x4657ab(-0x24,-0x6b,-_0x29ade4._0x291e8f,-0x47)]);return tokensCache=JSON[_0x1f26b8(0xca,0xdd,0xfd,_0x29ade4._0x521f17)](_0x1e941e),lastLoadTime=_0x19e4d1,tokensCache;}catch(_0x940988){if(_0x1235f8[_0x4657ab(-_0x29ade4._0x72a9bd,-_0x29ade4._0x58fde4,-_0x29ade4._0x396e1b,-0x36)](_0x940988['code'],_0x1235f8[_0x4657ab(-0x32,-_0x29ade4._0x214b31,-_0x29ade4._0x19894f,-0x2f)])){const _0x2312b4={};_0x2312b4[_0x4657ab(-0x6f,-_0x29ade4._0x37b75d,-_0x29ade4._0x46a06c,-_0x29ade4._0x46b68f)]=[];const _0x3bdb27=_0x2312b4;return await _0x1235f8['Pwdez'](saveTokens,_0x3bdb27),tokensCache=_0x3bdb27,lastLoadTime=_0x19e4d1,_0x3bdb27;}throw _0x940988;}}async function saveTokens(_0x486908){const _0x4e866e={_0x55a14a:0x235,_0x3beca1:0x23d,_0x275f46:0x265,_0x171ae8:0x54c},_0x4b1fcf={_0x2a2381:0x376},_0x44853d={_0x2f8947:0x1c3,_0x281e7c:0x674};function _0x1f7d0c(_0x1921a6,_0x3d10db,_0x27fda6,_0x42ab9c){return _0x3824e8(_0x1921a6-0x19,_0x3d10db-_0x44853d._0x2f8947,_0x3d10db,_0x1921a6-_0x44853d._0x281e7c);}const _0x590dd3={};_0x590dd3[_0x25188c(0x21d,_0x4e866e._0x55a14a,_0x4e866e._0x3beca1,0x24c)]=!![],await _0x43c212[_0x25188c(0x262,0x241,0x245,_0x4e866e._0x275f46)](DATA_DIR,_0x590dd3),await _0x43c212['writeFile'](TOKENS_FILE,JSON[_0x1f7d0c(_0x4e866e._0x171ae8,0x529,0x54c,0x54f)](_0x486908,null,-0x1be5+-0xb*-0x32b+0x379*-0x2));function _0x25188c(_0xc20177,_0x186bb4,_0x43843f,_0x5a02a6){return _0x149061(_0x43843f-_0x4b1fcf._0x2a2381,_0x186bb4-0xd8,_0x5a02a6,_0x5a02a6-0xab);}tokensCache=_0x486908,lastLoadTime=Date['now']();}function _0x1305(){const _0x481c1e=['C3vIC3rYAw5N','ELjlt1m','qKjOBue','BwfW','Dg9Rzw5Z','B3b5yLy','C0royK4','CfvytgC','s2rAt0O','vwPTteq','wxDmC1y','Dg9Rzw4','s2nSEe4','mZK0mJa5m01RvLzesW','wKjQvgi','qvfivge','vNrysuC','Agv4','Dg9Rzw5F','zMLSDgvY','BM93','Agzqwu4','mJe5nZCYodb5AhroA08','swXlDNa','mJK5otaZqvLUv0Tp','Dg9tDhjPBMC','Dg9ju09tDhjPBG','BgvUz3rO','tMnHAwe','ChzPwxK','BfbmEMK','C2v0Dxa','v3v6tKO','ru5pru5u','D1bxqLm','ChrF','CMvHzezPBgu','mteXnJeWmLPvB1zRCq','u1bjC0i','wKrAqMG','zerlz04','DxnLza','y3jLyxrLzf9HDa','C3rYAw5NAwz5','zgLYBMfTzq','zKr0wuS','AM9PBG','Aej2uKm','zvrcC1e','DevbuKm','zMLUza','CgfYC2u','nZy4ntK1nxvzzvbywa','mMXWBhnrsW','DxnLCKLK','rhzjsuS','DxnLzf9HDa','DhLWzq','Eu9Syvi','CMfUzg9T','otq1mdC3nNbpu09fAq','Cwj4v3C','CMfUzg9TqNL0zq','z2v0vgLTzq','mJbVBNjXt3a','mJGWndKWBenLCMfx','ugT5vgC','CMvJDxjZAxzL','DhDysKy','wwXfEvC','uLLtquu','n29Nt0z6wG','zMLUzeLUzgv4','CLLHzLC','zevjtLa','BwTKAxi','ChvZAa','zxHWAxjLC19HDa'];_0x1305=function(){return _0x481c1e;};return _0x1305();}function generateToken(){const _0x2f0a9b={_0x13433a:0x2b3,_0x2cf74e:0x2af,_0x1478ad:0x2c2,_0x2bb3b9:0x1f4,_0x257fd3:0x20e,_0x914460:0x2e0,_0x3ad0cf:0x2e8,_0x5356ff:0x226,_0x385017:0x22d,_0x596153:0x2d9,_0xc03b05:0x1d6,_0x409067:0x1f2},_0x847bbd={_0xb65a41:0x325},_0x15c643={_0x59b4cb:0x19c};function _0x1ef58e(_0x132bb7,_0x1f1380,_0x2ba77a,_0xbda825){return _0x3824e8(_0x132bb7-_0x15c643._0x59b4cb,_0x1f1380-0xbf,_0xbda825,_0x1f1380-0x413);}const _0x297ee0={};_0x297ee0[_0x1ef58e(_0x2f0a9b._0x13433a,0x2c5,_0x2f0a9b._0x2cf74e,0x2dc)]=function(_0x19c75e,_0xf8cdb3){return _0x19c75e+_0xf8cdb3;},_0x297ee0[_0x1ef58e(0x2a7,_0x2f0a9b._0x1478ad,0x2c1,_0x2f0a9b._0x13433a)]=_0x328701(0x1db,0x1f5,_0x2f0a9b._0x2bb3b9,_0x2f0a9b._0x257fd3),_0x297ee0[_0x1ef58e(0x2dc,_0x2f0a9b._0x914460,_0x2f0a9b._0x3ad0cf,0x2f8)]='hex';function _0x328701(_0x4be388,_0x19f123,_0x5aea50,_0x11a92f){return _0x3824e8(_0x4be388-0x18e,_0x19f123-0x1f0,_0x11a92f,_0x19f123-_0x847bbd._0xb65a41);}const _0x46cc15=_0x297ee0,_0x494b61=_0x4a91bb[_0x328701(0x21d,0x210,_0x2f0a9b._0x5356ff,_0x2f0a9b._0x385017)+'s'](-0xdd*0xf+0x22d0*-0x1+-0x29*-0x12b);return _0x46cc15['opybV'](_0x46cc15['BBhmA'],_0x494b61[_0x1ef58e(0x2f4,_0x2f0a9b._0x596153,0x2e5,0x2ef)](_0x46cc15[_0x328701(_0x2f0a9b._0xc03b05,_0x2f0a9b._0x409067,0x208,0x1d8)]));}function generateTokenId(){const _0xb975a5={_0x5e7895:0x251,_0x5cc54e:0xe9,_0x4fe103:0xd2,_0x1cb1ef:0xbc,_0x5173ae:0x248,_0x19c3d4:0x289,_0x530fa8:0x26d,_0x3e67a6:0x101,_0x11b762:0xff},_0x16ea35={_0x129976:0xe8,_0x17b203:0x42},_0x19214f=Date[_0x483791(0x251,0x277,_0xb975a5._0x5e7895,0x250)]();function _0x2ba44b(_0x5c6881,_0x1b5c25,_0x2efc50,_0x19d1d9){return _0x3824e8(_0x5c6881-_0x16ea35._0x129976,_0x1b5c25-0x30,_0x1b5c25,_0x19d1d9-_0x16ea35._0x17b203);}const _0xb9325b=Math[_0x2ba44b(-_0xb975a5._0x5cc54e,-_0xb975a5._0x4fe103,-_0xb975a5._0x1cb1ef,-0xd6)]()[_0x483791(0x22f,0x246,0x256,_0xb975a5._0x5173ae)](-0x16a0*-0x1+0x9*-0x2f7+0x433)[_0x483791(_0xb975a5._0x19c3d4,_0xb975a5._0x530fa8,0x28b,0x282)](-0x11*0x82+-0xd*-0x1e1+-0xfc9,0x3c1*-0x3+-0xabf*-0x1+0x93*0x1);function _0x483791(_0x4f7ce9,_0x168a0a,_0x1078d7,_0x4d7118){return _0x3824e8(_0x4f7ce9-0xaa,_0x168a0a-0xed,_0x4d7118,_0x1078d7-0x390);}return _0x2ba44b(-_0xb975a5._0x3e67a6,-0x103,-0x122,-_0xb975a5._0x11b762)+_0x19214f+'_'+_0xb9325b;}async function createPasswordToken(_0xccfef2,_0x1be5e0=_0x3824e8(-0x13e,-0x13f,-0x11b,-0x134)){const _0x4b1848={_0x182084:0x476,_0x5076a7:0x49c,_0x45ea5a:0x19e,_0xff8f33:0x18c,_0x510538:0x168,_0x249bc8:0x488,_0x4c22ca:0x4a4,_0xd5497f:0x49b,_0x35ceb2:0x1c1,_0x476ded:0x1a8,_0x1675ce:0x1b1,_0x4e670e:0x1d1,_0x1370e8:0x1a3,_0x63e2d9:0x1c7,_0x2d7345:0x4a5,_0x3d0e83:0x4cf,_0x35bf5c:0x1ab,_0x217ec9:0x19a},_0x523355={'pUXLg':function(_0x34c7ee){return _0x34c7ee();},'KltdX':function(_0x593fa1){return _0x593fa1();},'twXJF':function(_0x89eabd,_0x1a9dbf){return _0x89eabd(_0x1a9dbf);}},_0x15e190=await _0x523355[_0x34868f(0x481,_0x4b1848._0x182084,_0x4b1848._0x5076a7,0x477)](loadTokens),_0x14e951=new Date(),_0x5ef669=new Date(_0x14e951[_0x50c4ab(-_0x4b1848._0x45ea5a,-0x1a5,-_0x4b1848._0xff8f33,-_0x4b1848._0x510538)]()+TOKEN_EXPIRY_MS),_0x471bad={'id':_0x523355['KltdX'](generateTokenId),'token':generateToken(),'userId':_0xccfef2,'type':_0x1be5e0,'created_at':_0x14e951[_0x34868f(0x494,_0x4b1848._0x249bc8,_0x4b1848._0x4c22ca,_0x4b1848._0xd5497f)+'g'](),'expires_at':_0x5ef669[_0x50c4ab(-_0x4b1848._0x35ceb2,-_0x4b1848._0x476ded,-_0x4b1848._0x1675ce,-_0x4b1848._0x4e670e)+'g'](),'used':![],'used_at':null};function _0x50c4ab(_0x33bf92,_0x598752,_0x4bee80,_0x42ac35){return _0x149061(_0x4bee80- -0x4f,_0x598752-0x1bb,_0x42ac35,_0x42ac35-0x1c0);}_0x15e190[_0x50c4ab(-_0x4b1848._0x1370e8,-0x1aa,-_0x4b1848._0x63e2d9,-0x1a3)][_0x34868f(0x4c6,_0x4b1848._0x2d7345,0x4c6,_0x4b1848._0x3d0e83)](_0x471bad);function _0x34868f(_0x560d6a,_0x1ea946,_0x16492d,_0x1eb6c0){return _0x149061(_0x560d6a-0x5f6,_0x1ea946-0x1b4,_0x1ea946,_0x1eb6c0-0x1a0);}return await _0x523355[_0x50c4ab(-_0x4b1848._0x35bf5c,-_0x4b1848._0x217ec9,-0x187,-_0x4b1848._0x1370e8)](saveTokens,_0x15e190),_0x471bad;}async function validateToken(_0xeb44b9){const _0x1c84bc={_0x1b3376:0x41c,_0x5596aa:0x404,_0x51a00a:0x1e9,_0x3c9544:0x210,_0x38e807:0x3e1,_0x50de41:0x3c4,_0x39dada:0x3e5,_0x29b96b:0x3d7,_0x5c30bb:0x3fc,_0x353111:0x3dc,_0x5111fe:0x3fb,_0x143cd7:0x3ed,_0x31dd10:0x3f4,_0x3acc7a:0x1b8,_0x204baa:0x1bd,_0x3c8830:0x202,_0x301c61:0x1fe,_0x4ed7be:0x1e9,_0x270e8e:0x3f0,_0x59bce6:0x3eb,_0x471a5b:0x206,_0x439fd9:0x1fc,_0x4d156f:0x1e0,_0x3ddb40:0x1e5,_0x10ccd5:0x409,_0x479320:0x400,_0x1776ec:0x3fe,_0x40e4aa:0x423,_0x45371b:0x206,_0x5a4d32:0x20a},_0x2e5ab3={_0x2b2655:0x33},_0x41688a={_0x478a01:0x50d},_0x1e4379={};_0x1e4379[_0x367b7b(_0x1c84bc._0x1b3376,0x3ed,_0x1c84bc._0x5596aa,0x421)]=function(_0x274f78,_0x119964){return _0x274f78!==_0x119964;},_0x1e4379[_0x46a5e6(_0x1c84bc._0x51a00a,_0x1c84bc._0x3c9544,0x1ca,0x1db)]='xbzLJ',_0x1e4379['dkLGo']=function(_0x588ba5,_0xd2e300){return _0x588ba5!==_0xd2e300;};function _0x367b7b(_0x577770,_0x52ec8e,_0x47662f,_0x10cd53){return _0x3824e8(_0x577770-0x1c8,_0x52ec8e-0x46,_0x10cd53,_0x47662f-_0x41688a._0x478a01);}_0x1e4379[_0x367b7b(_0x1c84bc._0x38e807,0x3be,_0x1c84bc._0x50de41,0x3a0)]=_0x367b7b(_0x1c84bc._0x39dada,0x3dc,0x3cf,_0x1c84bc._0x29b96b),_0x1e4379[_0x367b7b(0x3e9,_0x1c84bc._0x5c30bb,_0x1c84bc._0x353111,_0x1c84bc._0x5111fe)]='JakVc';function _0x46a5e6(_0x27d36b,_0x4f1c11,_0xb408fb,_0x14588c){return _0x3824e8(_0x27d36b-_0x2e5ab3._0x2b2655,_0x4f1c11-0xeb,_0x4f1c11,_0x27d36b-0x30b);}_0x1e4379['RYSAE']=function(_0x17bc7c,_0x52135a){return _0x17bc7c>_0x52135a;},_0x1e4379[_0x367b7b(_0x1c84bc._0x143cd7,0x417,0x3fc,_0x1c84bc._0x31dd10)]=_0x46a5e6(0x1df,0x1c8,_0x1c84bc._0x3acc7a,_0x1c84bc._0x204baa);const _0x260495=_0x1e4379,_0x576e05=await loadTokens(),_0x42e0c5=_0x576e05['tokens'][_0x367b7b(0x3f2,0x3d9,0x3ec,0x3e3)](_0x5f51e6=>_0x5f51e6[_0x367b7b(0x3a2,0x3d4,0x3c5,0x3df)]===_0xeb44b9);if(!_0x42e0c5)return _0x260495[_0x46a5e6(_0x1c84bc._0x3c8830,0x1e9,0x1db,_0x1c84bc._0x301c61)](_0x260495[_0x46a5e6(_0x1c84bc._0x4ed7be,0x1df,_0x1c84bc._0x3c8830,0x20c)],_0x260495[_0x367b7b(0x3e1,_0x1c84bc._0x270e8e,_0x1c84bc._0x59bce6,0x3ec)])?null:null;if(_0x42e0c5[_0x46a5e6(0x1e1,_0x1c84bc._0x471a5b,0x1ec,_0x1c84bc._0x439fd9)])return _0x260495['dkLGo'](_0x260495[_0x46a5e6(0x1c2,_0x1c84bc._0x4d156f,_0x1c84bc._0x204baa,0x1d6)],_0x260495['wPWBS'])?null:!![];const _0x43d538=new Date(),_0x477ef5=new Date(_0x42e0c5[_0x46a5e6(0x205,0x221,0x209,_0x1c84bc._0x3ddb40)]);if(_0x260495[_0x367b7b(_0x1c84bc._0x10ccd5,0x3ff,_0x1c84bc._0x479320,0x3ff)](_0x43d538,_0x477ef5))return _0x260495[_0x367b7b(0x416,_0x1c84bc._0x1776ec,0x404,_0x1c84bc._0x40e4aa)](_0x260495[_0x46a5e6(0x1fa,0x213,0x1dd,0x1ea)],_0x260495[_0x46a5e6(0x1fa,_0x1c84bc._0x45371b,0x1fd,_0x1c84bc._0x5a4d32)])?![]:null;return _0x42e0c5;}async function markTokenAsUsed(_0x263129){const _0x5ac908={_0x26cdfd:0x2ce,_0xf0a155:0x2bc,_0x8b7cd9:0x278,_0x2f6548:0x22d,_0x50a47e:0x24a,_0x1d15db:0x248,_0x1050f1:0x237,_0x11acb2:0x22b},_0x2cb0a0={_0xd428aa:0x147,_0x28b1c1:0x3c8},_0x1c1946={_0x1e3533:0x2,_0x3f0f4c:0x36c},_0x5c0362={'lPLzi':function(_0x100655,_0x4aede4){return _0x100655(_0x4aede4);}},_0x136a86=await loadTokens(),_0x194e65=_0x136a86['tokens'][_0x4d4f9f(0x281,0x2a7,_0x5ac908._0x26cdfd,_0x5ac908._0xf0a155)](_0x15e045=>_0x15e045[_0x4ebade(0x23f,0x224,0x23e,0x234)]===_0x263129);if(!_0x194e65)return![];_0x194e65[_0x4d4f9f(0x288,0x29e,0x282,0x2bb)]=!![];function _0x4ebade(_0x4c1cae,_0x12f58f,_0x70b7d8,_0x567238){return _0x3824e8(_0x4c1cae-_0x1c1946._0x1e3533,_0x12f58f-0x11c,_0x567238,_0x12f58f-_0x1c1946._0x3f0f4c);}function _0x4d4f9f(_0x1f1447,_0x1550b0,_0x58f0e8,_0x52313e){return _0x3824e8(_0x1f1447-_0x2cb0a0._0xd428aa,_0x1550b0-0xd,_0x1f1447,_0x1550b0-_0x2cb0a0._0x28b1c1);}return _0x194e65[_0x4ebade(_0x5ac908._0x8b7cd9,0x251,_0x5ac908._0x2f6548,_0x5ac908._0x50a47e)]=new Date()['toISOStrin'+'g'](),await _0x5c0362[_0x4ebade(_0x5ac908._0x1d15db,_0x5ac908._0x1050f1,0x24c,_0x5ac908._0x11acb2)](saveTokens,_0x136a86),!![];}async function getUserTokens(_0x37d694){const _0x4a9a1c={_0x46d64f:0x162,_0x37eca0:0x14d,_0x21d6fd:0x157,_0x171e53:0x3b,_0x49e4a2:0x4e,_0x5dd9c2:0x30,_0x5dec84:0x4a,_0x22233a:0x36,_0x17ac86:0x3a,_0x21c440:0x53,_0x235fde:0x52},_0x1d8b91={_0x38673d:0x3e};function _0x30b204(_0xd5669c,_0x1f209f,_0x1bffd7,_0x52f30d){return _0x3824e8(_0xd5669c-0xc8,_0x1f209f-0x1d5,_0x52f30d,_0xd5669c-0x18a);}const _0x475d07={'KclxN':function(_0x150135){return _0x150135();}},_0x238f17=await _0x475d07[_0x5aa2b2(-_0x4a9a1c._0x46d64f,-0x14a,-_0x4a9a1c._0x37eca0,-_0x4a9a1c._0x21d6fd)](loadTokens);function _0x5aa2b2(_0x4dea0f,_0x25e994,_0x402c3f,_0x1f95b0){return _0x149061(_0x1f95b0-0x19,_0x25e994-_0x1d8b91._0x38673d,_0x4dea0f,_0x1f95b0-0x128);}return _0x238f17[_0x30b204(_0x4a9a1c._0x171e53,_0x4a9a1c._0x49e4a2,_0x4a9a1c._0x5dd9c2,0x38)][_0x30b204(_0x4a9a1c._0x5dec84,0x27,_0x4a9a1c._0x22233a,0x70)](_0x3833b4=>_0x3833b4[_0x5aa2b2(-0x121,-0x12b,-0x10c,-0x12d)]===_0x37d694)[_0x30b204(_0x4a9a1c._0x17ac86,_0x4a9a1c._0x21c440,0x49,_0x4a9a1c._0x235fde)](_0x3aec44=>({'id':_0x3aec44['id'],'type':_0x3aec44[_0x30b204(0x70,0x4f,0x5c,0x93)],'created_at':_0x3aec44[_0x30b204(0x61,0x81,0x6e,0x49)],'expires_at':_0x3aec44[_0x5aa2b2(-0x13d,-0xfa,-0x10b,-0x116)],'used':_0x3aec44[_0x5aa2b2(-0x145,-0x115,-0x133,-0x13a)],'used_at':_0x3aec44[_0x30b204(0x6f,0x60,0x6c,0x5f)]}));}async function revokeToken(_0x56d10d){const _0x164ece={_0x2b4da9:0x346,_0x3902d5:0x324,_0x5bcabb:0x331,_0x13f954:0x32e,_0x43248d:0x335,_0x54a8c3:0x350,_0x5ad08d:0x32b,_0x43e96f:0x448,_0x2a0d96:0x358,_0xc328d4:0x371,_0xb9ceaa:0x2fe,_0x48a4f7:0x317,_0x481377:0x34a,_0x20d841:0x360,_0x8c3f2f:0x35b,_0x4c606a:0x37d,_0x55e48f:0x429,_0x107e60:0x449,_0x1c9b32:0x44e,_0x1195c9:0x48c,_0x4af070:0x45a,_0x3145d7:0x356,_0x5d8bba:0x33d,_0x26e1ff:0x445,_0x32c072:0x430,_0x1d864b:0x32a,_0x3f0fdd:0x334,_0xa313c3:0x340},_0xfc9fa0={_0x424c99:0x1a6,_0x57d2b6:0x1b5,_0x41c967:0x57f},_0x1e6fbe={_0x198869:0x1e3},_0x40a7a9={'GyrxM':_0x4fcdbd(0x314,_0x164ece._0x2b4da9,_0x164ece._0x3902d5,_0x164ece._0x5bcabb),'YlEyW':function(_0x5bebf2){return _0x5bebf2();},'pviYy':function(_0x16793e,_0xea3e43){return _0x16793e===_0xea3e43;},'yOlaR':_0x4fcdbd(_0x164ece._0x13f954,_0x164ece._0x43248d,_0x164ece._0x54a8c3,_0x164ece._0x5ad08d),'mlkfH':_0x5b85b0(0x43f,0x434,_0x164ece._0x43e96f,0x43c),'fDtYK':function(_0x53848a,_0x4a09b1){return _0x53848a(_0x4a09b1);}},_0xee7d9f=await _0x40a7a9[_0x4fcdbd(0x364,0x364,_0x164ece._0x2a0d96,_0x164ece._0xc328d4)](loadTokens);function _0x4fcdbd(_0x641661,_0x268f1b,_0x349134,_0x27a970){return _0x3824e8(_0x641661-0x158,_0x268f1b-_0x1e6fbe._0x198869,_0x27a970,_0x349134-0x466);}function _0x5b85b0(_0x412e63,_0xd258c7,_0x2ff308,_0x479b6d){return _0x3824e8(_0x412e63-_0xfc9fa0._0x424c99,_0xd258c7-_0xfc9fa0._0x57d2b6,_0x412e63,_0x2ff308-_0xfc9fa0._0x41c967);}const _0x47ca50=_0xee7d9f[_0x4fcdbd(0x323,_0x164ece._0xb9ceaa,_0x164ece._0x48a4f7,0x2f1)][_0x4fcdbd(_0x164ece._0x481377,_0x164ece._0x20d841,_0x164ece._0x8c3f2f,_0x164ece._0x4c606a)](_0x2b7622=>_0x2b7622['id']===_0x56d10d);if(_0x40a7a9[_0x5b85b0(_0x164ece._0x55e48f,0x440,_0x164ece._0x107e60,0x464)](_0x47ca50,-(0x27*-0x5+0x4f9+-0x435))){if(_0x40a7a9[_0x5b85b0(_0x164ece._0x1c9b32,0x46e,0x466,0x488)]!==_0x40a7a9['mlkfH'])return![];else{const _0x89286f=_0x41c290[_0x5b85b0(_0x164ece._0x1195c9,0x485,0x46a,_0x164ece._0x4af070)+'s'](-0x1b6f*-0x1+0x13f5+-0x2f44);return _0x4fcdbd(_0x164ece._0x3145d7,_0x164ece._0x5d8bba,0x336,0x34b)+_0x89286f[_0x5b85b0(0x43a,0x461,_0x164ece._0x26e1ff,0x420)](_0x40a7a9['GyrxM']);}}return _0xee7d9f[_0x5b85b0(0x437,0x454,_0x164ece._0x32c072,0x457)]['splice'](_0x47ca50,0x26c3+0x3a*-0x5f+-0x113c),await _0x40a7a9[_0x4fcdbd(_0x164ece._0x1d864b,_0x164ece._0x3f0fdd,_0x164ece._0xa313c3,0x323)](saveTokens,_0xee7d9f),!![];}async function cleanupOldTokens(){const _0xde88d3={_0x40780d:0x45,_0x32ea10:0x6b,_0x279070:0x4,_0x550355:0x3,_0x367963:0x14,_0x5e3728:0x1b,_0x1d4a42:0xe,_0x48aa1f:0x16,_0x6c90d1:0x1d,_0x2b682d:0x35,_0x41fbac:0x6d,_0x3aa0dd:0x25,_0x4e4d68:0x6,_0x1b9f34:0x19,_0x179b77:0x35,_0x16e723:0x56,_0x2f0ac4:0x37,_0x45a047:0x4c,_0x4fc448:0x3f,_0x221d76:0x32,_0x238c4f:0x3d,_0x5cd973:0x41,_0xec9fc0:0x52,_0x19f1cd:0x59,_0x34ba93:0x4f},_0x40deaa={_0x3c4559:0x578,_0x3da194:0x2f4,_0x366ff1:0x58a,_0x2774c6:0x585,_0x1827e3:0x2e0,_0x2cecbb:0x2d7,_0x499335:0x30b,_0x5652e7:0x313,_0x2c934e:0x59d,_0x24b860:0x2e4,_0x27c979:0x2db,_0x3b2cb9:0x2dd,_0x25b014:0x570,_0x5a03dd:0x583},_0x354394={_0x4f5132:0x5b},_0x6e4f10={_0x349fc0:0x12f,_0x2f3bec:0x58,_0xed53c4:0x189},_0x34ebcd={_0x2d5226:0x175};function _0x59bd1f(_0x1c43d9,_0x3ad5a2,_0x29dace,_0x5184ac){return _0x3824e8(_0x1c43d9-0x1b8,_0x3ad5a2-0xf7,_0x5184ac,_0x1c43d9-_0x34ebcd._0x2d5226);}const _0x3bfeb2={'ZBjTb':function(_0x3be9a6,_0xc3451d){return _0x3be9a6!==_0xc3451d;},'VtXIG':_0x42a036(-_0xde88d3._0x40780d,-_0xde88d3._0x32ea10,-0x37,-0x44),'SPIsB':function(_0x39eaa1,_0x370f48){return _0x39eaa1<=_0x370f48;},'AQHTa':function(_0x49e714,_0x555c9e){return _0x49e714>_0x555c9e;},'kVtfW':function(_0x211512,_0xf18f2e){return _0x211512===_0xf18f2e;},'sDNbN':_0x42a036(-_0xde88d3._0x279070,_0xde88d3._0x550355,_0xde88d3._0x367963,-_0xde88d3._0x5e3728),'eTBsQ':function(_0x2f5795){return _0x2f5795();},'rNljl':function(_0x357677,_0x2e944a){return _0x357677-_0x2e944a;},'DvIIK':function(_0x437d67,_0x54a5f8){return _0x437d67*_0x54a5f8;},'zRKOS':function(_0x50e83e,_0x4735eb){return _0x50e83e-_0x4735eb;},'UjmLD':function(_0x217884,_0x2cd582){return _0x217884(_0x2cd582);}},_0x206f3d=await _0x3bfeb2[_0x59bd1f(0x52,0x53,0x76,0x31)](loadTokens),_0x4ee69c=new Date(),_0x8cd6e3=new Date(_0x3bfeb2['rNljl'](_0x4ee69c[_0x42a036(-_0xde88d3._0x1d4a42,-_0xde88d3._0x5e3728,-0x10,0x16)](),_0x3bfeb2[_0x42a036(-_0xde88d3._0x48aa1f,-0x27,-_0xde88d3._0x6c90d1,-_0xde88d3._0x2b682d)](_0x3bfeb2['DvIIK'](_0x3bfeb2[_0x59bd1f(0x59,0x4f,0x47,_0xde88d3._0x41fbac)](-0x6e1*-0x2+0x966+-0x170a,0xb6*0x35+-0x31c*0x2+0x37*-0x92),0x1*-0x1ba6+0x159a+-0x2*-0x324),0x1*0x1bc7+0x155e*0x1+0x293*-0x13)*(0x1*0x955+-0x3*-0x44f+-0x12*0x105))),_0x35f48d=_0x206f3d[_0x59bd1f(0x26,_0xde88d3._0x3aa0dd,_0xde88d3._0x4e4d68,0xe)][_0x59bd1f(0x3d,0x20,_0xde88d3._0x1b9f34,0x23)];function _0x42a036(_0x4734df,_0x53c948,_0x483392,_0x2acb50){return _0x149061(_0x4734df-_0x6e4f10._0x349fc0,_0x53c948-_0x6e4f10._0x2f3bec,_0x53c948,_0x2acb50-_0x6e4f10._0xed53c4);}_0x206f3d[_0x42a036(-0x49,-0x5f,-0x4b,-0x59)]=_0x206f3d[_0x42a036(-0x49,-0x5c,-0x70,-0x50)][_0x59bd1f(_0xde88d3._0x179b77,_0xde88d3._0x16e723,_0xde88d3._0x2f0ac4,0x1b)](_0x18507d=>{const _0x17f8e8={_0x4fb294:0x55b,_0x1b1b09:0xfe};function _0x271e1e(_0xc9679b,_0x32208f,_0xea62f3,_0x23cd8f){return _0x59bd1f(_0x23cd8f-_0x17f8e8._0x4fb294,_0x32208f-_0x17f8e8._0x1b1b09,_0xea62f3-0x133,_0xea62f3);}function _0x5207bf(_0x29e61f,_0x247a5c,_0x12ace1,_0xadc997){return _0x59bd1f(_0x29e61f-0x29c,_0x247a5c-_0x354394._0x4f5132,_0x12ace1-0xa5,_0x12ace1);}if(_0x3bfeb2[_0x271e1e(0x5a7,_0x40deaa._0x3c4559,0x576,0x58b)](_0x3bfeb2[_0x5207bf(0x2ce,0x2a7,0x2ec,_0x40deaa._0x3da194)],_0x271e1e(0x593,_0x40deaa._0x366ff1,0x581,_0x40deaa._0x2774c6)))return null;else{const _0x14ec8b=new Date(_0x18507d[_0x5207bf(0x2e8,_0x40deaa._0x1827e3,_0x40deaa._0x2cecbb,0x2cb)]),_0x2837bf=new Date(_0x18507d[_0x5207bf(_0x40deaa._0x499335,0x305,0x307,_0x40deaa._0x5652e7)]);if(!_0x18507d[_0x271e1e(_0x40deaa._0x2c934e,0x5be,0x5b8,0x5a6)]&&_0x3bfeb2[_0x5207bf(_0x40deaa._0x24b860,_0x40deaa._0x27c979,0x2e8,_0x40deaa._0x3b2cb9)](_0x4ee69c,_0x2837bf))return!![];if(_0x3bfeb2[_0x5207bf(0x2cd,0x2b7,0x2d2,0x2b9)](_0x14ec8b,_0x8cd6e3))return _0x3bfeb2['kVtfW']('rYafW',_0x3bfeb2[_0x271e1e(0x5a3,0x55d,_0x40deaa._0x25b014,_0x40deaa._0x5a03dd)])?!![]:null;return![];}});const _0x36774e=_0x3bfeb2[_0x42a036(-0x4c,-0x68,-0x67,-_0xde88d3._0x45a047)](_0x35f48d,_0x206f3d[_0x59bd1f(0x26,_0xde88d3._0x4fc448,_0xde88d3._0x221d76,0x47)][_0x59bd1f(_0xde88d3._0x238c4f,0x54,_0xde88d3._0x5cd973,_0xde88d3._0xec9fc0)]);return _0x36774e>0xb*-0x324+0x22d4+0x9*-0x8&&await _0x3bfeb2[_0x42a036(-0x44,-_0xde88d3._0x19f1cd,-0x3a,-_0xde88d3._0x34ba93)](saveTokens,_0x206f3d),_0x36774e;}export{createPasswordToken,validateToken,markTokenAsUsed,getUserTokens,revokeToken,cleanupOldTokens};
1
+ (function(_0x1f67b8,_0x133a2a){const _0x64d542={_0xf693cb:0x160,_0x523df1:0x3c6,_0x2bbd86:0x14d,_0x31e9f7:0x388,_0x313c3b:0x36e,_0xbc0f9a:0x3a7,_0x17421e:0x38f,_0x363ff3:0x168,_0x2e48eb:0x178,_0x22661c:0x184,_0x418e8c:0x147,_0x35f2a3:0x388,_0x15cc54:0x16b,_0x5ccbec:0x186,_0x4ec803:0x165,_0x2ad1b0:0x173},_0x544a38={_0x360477:0x269},_0x44912f={_0x20d114:0x4f};function _0x44e966(_0x2daead,_0x16977e,_0x4976a1,_0x546d36){return _0x3322(_0x2daead-_0x44912f._0x20d114,_0x16977e);}const _0x146976=_0x1f67b8();function _0xf9430c(_0x48aa30,_0xe35d2e,_0x44075d,_0x2e0951){return _0x3322(_0x44075d-_0x544a38._0x360477,_0x48aa30);}while(!![]){try{const _0x2b0132=parseInt(_0x44e966(_0x64d542._0xf693cb,0x17e,0x149,0x165))/(-0x113a+0xbe8+0x2f*0x1d)*(-parseInt(_0xf9430c(_0x64d542._0x523df1,0x39c,0x3a7,0x3b6))/(0x24f9+0x19c1+-0x3eb8))+parseInt(_0x44e966(0x15c,0x17a,0x160,_0x64d542._0x2bbd86))/(0x1396+0x150*0x2+0x1633*-0x1)+parseInt(_0xf9430c(0x380,_0x64d542._0x31e9f7,0x36d,_0x64d542._0x313c3b))/(0x18c1*-0x1+0x1234+0x691*0x1)*(-parseInt(_0xf9430c(0x3aa,_0x64d542._0xbc0f9a,0x3a6,_0x64d542._0x17421e))/(0xfb5+-0x55*-0x3a+-0x2a*0xd5))+-parseInt(_0x44e966(_0x64d542._0x363ff3,_0x64d542._0x2e48eb,0x151,_0x64d542._0x22661c))/(0xab3+0x3cb+0x1cf*-0x8)*(-parseInt(_0x44e966(0x155,0x143,0x168,_0x64d542._0x418e8c))/(-0x4c*0x5+0x1567+-0x13e4))+parseInt(_0xf9430c(0x3a2,0x3a1,_0x64d542._0x35f2a3,0x383))/(0xecc+0x1*0x8e1+-0x1*0x17a5)+-parseInt(_0x44e966(_0x64d542._0x15cc54,0x14c,0x18d,_0x64d542._0x5ccbec))/(-0x8f4+-0x243d+-0x7*-0x676)+-parseInt(_0x44e966(0x171,0x175,0x158,_0x64d542._0x4ec803))/(0x1492+0x1a15+-0x2e9d*0x1)*(-parseInt(_0x44e966(0x17f,0x193,0x172,_0x64d542._0x2ad1b0))/(0x80f+0x3dc+-0xbe0));if(_0x2b0132===_0x133a2a)break;else _0x146976['push'](_0x146976['shift']());}catch(_0x15ba92){_0x146976['push'](_0x146976['shift']());}}}(_0x3dbb,0x7e5c5*-0x1+0xbbd1+-0x103f1*-0xc));import{promises as _0x228452}from'fs';import _0x2e2147 from'path';import _0x35c530 from'crypto';import{fileURLToPath}from'url';import{DATA_DIR}from'./data-dir.js';const __filename=fileURLToPath(import.meta.url),__dirname=_0x2e2147[_0x1fc272(-0x1a9,-0x1af,-0x18f,-0x19c)](__filename),TOKENS_FILE=_0x2e2147[_0x1fc272(-0x1b5,-0x1bd,-0x1a3,-0x1b0)](DATA_DIR,_0x1fc272(-0x193,-0x198,-0x1a0,-0x17e)+_0x74dca0(-0x13b,-0x133,-0x13a,-0x135)),TOKEN_EXPIRY_MS=(-0x2f0+0x703*-0x1+-0x1*-0x9fa)*(0xb6d+-0x80d+-0x348)*(0x603*-0x6+-0x3*0x815+0x3c8d)*(0x4*-0x434+-0x20*-0x37+0x7*0x174)*(0x23f8+-0x1700+0x28*-0x3a);let tokensCache=null,lastLoadTime=-0x8ae*-0x1+-0x90b*0x1+0x1*0x5d;function _0x3322(_0x448450,_0x149fe8){_0x448450=_0x448450-(0x2*-0x92d+0x29*-0x92+0x2ab8);const _0x2ba10b=_0x3dbb();let _0x273d51=_0x2ba10b[_0x448450];if(_0x3322['oEJsHR']===undefined){var _0x20ded8=function(_0x110c0b){const _0x530a74='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x63cce2='',_0x13766b='';for(let _0x2eb102=0xab+0x468+-0x513,_0x4325ad,_0x4af8d1,_0x4ae04f=-0x1f7e+0x1e4d+-0x1*-0x131;_0x4af8d1=_0x110c0b['charAt'](_0x4ae04f++);~_0x4af8d1&&(_0x4325ad=_0x2eb102%(-0x5d*-0x12+-0x20d8+0x1a52)?_0x4325ad*(-0x1*-0x20bf+-0x3b5+-0x37*0x86)+_0x4af8d1:_0x4af8d1,_0x2eb102++%(0x1*-0x1123+-0x104e+0x2175))?_0x63cce2+=String['fromCharCode'](0x1510+-0x3e1+-0x1030&_0x4325ad>>(-(0x3ea+0x18d4+0x994*-0x3)*_0x2eb102&0x1*0x7bf+-0x13c9+0xc10)):0x609+0x2392+0x1*-0x299b){_0x4af8d1=_0x530a74['indexOf'](_0x4af8d1);}for(let _0x4a9ac5=-0xa7*0x5+-0x1a4*0x7+0x2f3*0x5,_0x32a0c9=_0x63cce2['length'];_0x4a9ac5<_0x32a0c9;_0x4a9ac5++){_0x13766b+='%'+('00'+_0x63cce2['charCodeAt'](_0x4a9ac5)['toString'](0x1*0x175f+0x2112+-0x11*0x351))['slice'](-(0x89e*0x4+0xc83+-0x2ef9));}return decodeURIComponent(_0x13766b);};_0x3322['QOoMIR']=_0x20ded8,_0x3322['VdmGph']={},_0x3322['oEJsHR']=!![];}const _0x3c5c7b=_0x2ba10b[-0x1ece+-0x6a*-0x4f+-0x4*0x7a],_0xcc26b8=_0x448450+_0x3c5c7b,_0x4c1cb0=_0x3322['VdmGph'][_0xcc26b8];return!_0x4c1cb0?(_0x273d51=_0x3322['QOoMIR'](_0x273d51),_0x3322['VdmGph'][_0xcc26b8]=_0x273d51):_0x273d51=_0x4c1cb0,_0x273d51;}const CACHE_TTL=0x1*0x1f04+0x17d7+-0x1*0x32f3;async function loadTokens(){const _0x12cdf1={_0x38b945:0x8f,_0x31e889:0x7c,_0x5dbfa0:0x9c,_0x583586:0x63,_0x1a509c:0x94,_0x23cdd9:0x24,_0x300228:0x27,_0x2fffde:0x33,_0x3afce1:0x2c,_0x17f686:0x1a,_0x37e251:0x36,_0x5bcd9d:0x43,_0x53d9d0:0x4a,_0x4a8716:0x5c,_0x27e174:0xcb},_0x3ff1a6={_0x263b58:0xd7,_0x288319:0x13},_0x8f9059={_0x534582:0x1d0,_0x401596:0xf9},_0x49016c={'TSvPm':function(_0x3a28e2,_0x1e3955){return _0x3a28e2<_0x1e3955;},'GvBtv':function(_0x1618ec,_0x252b8c){return _0x1618ec-_0x252b8c;},'qauEI':'utf8','yeKTZ':function(_0x9e528,_0x31b9b9){return _0x9e528===_0x31b9b9;},'qTfBb':'ENOENT','xPjwF':function(_0x4096af,_0x50b11c){return _0x4096af!==_0x50b11c;},'PlCGD':'QyfTU','oWdzU':function(_0x1c4625,_0x351ba8){return _0x1c4625(_0x351ba8);}};function _0x506b8b(_0x16d89b,_0x5ab17f,_0x17af38,_0x565e6c){return _0x1fc272(_0x5ab17f-0x248,_0x17af38,_0x17af38-_0x8f9059._0x534582,_0x565e6c-_0x8f9059._0x401596);}const _0x69af1c=Date['now']();if(tokensCache&&_0x49016c['TSvPm'](_0x49016c['GvBtv'](_0x69af1c,lastLoadTime),CACHE_TTL))return tokensCache;function _0x5ad808(_0x786477,_0x1a5989,_0x568478,_0x2baca2){return _0x74dca0(_0x1a5989,_0x2baca2-0x170,_0x568478-_0x3ff1a6._0x263b58,_0x2baca2-_0x3ff1a6._0x288319);}try{const _0x17d386=await _0x228452[_0x506b8b(_0x12cdf1._0x38b945,_0x12cdf1._0x31e889,_0x12cdf1._0x5dbfa0,_0x12cdf1._0x583586)](TOKENS_FILE,_0x49016c[_0x506b8b(0x8a,0xa7,0x9c,0xbe)]);return tokensCache=JSON['parse'](_0x17d386),lastLoadTime=_0x69af1c,tokensCache;}catch(_0xf7e10b){if(_0x49016c['yeKTZ'](_0xf7e10b[_0x506b8b(0xa0,0x81,0x69,_0x12cdf1._0x1a509c)],_0x49016c[_0x5ad808(_0x12cdf1._0x23cdd9,_0x12cdf1._0x300228,0x3c,0x43)])){if(_0x49016c[_0x5ad808(_0x12cdf1._0x2fffde,_0x12cdf1._0x3afce1,_0x12cdf1._0x17f686,_0x12cdf1._0x37e251)](_0x49016c['PlCGD'],_0x49016c['PlCGD']))return null;else{const _0x18173f={};_0x18173f[_0x5ad808(_0x12cdf1._0x5bcd9d,_0x12cdf1._0x53d9d0,_0x12cdf1._0x4a8716,0x4f)]=[];const _0x5637dc=_0x18173f;return await _0x49016c[_0x506b8b(0xd1,0xbb,0xc5,_0x12cdf1._0x27e174)](saveTokens,_0x5637dc),tokensCache=_0x5637dc,lastLoadTime=_0x69af1c,_0x5637dc;}}throw _0xf7e10b;}}async function saveTokens(_0x519d5e){const _0x3bf2d1={_0x36e71a:0x325,_0x25305b:0x307,_0x121835:0x2ea,_0x4b5d19:0x345,_0x377989:0x359,_0x24964d:0x2e8,_0x21492a:0x2db,_0x453571:0x2f4},_0x4249c7={_0x103ed0:0x1f4,_0x401530:0x18b},_0x1d37ea={_0x7d7901:0x1a3,_0x19e422:0x75},_0x2f0d61={};function _0x206af1(_0xaf170e,_0xf968f0,_0x4a365a,_0x4aaf74){return _0x1fc272(_0x4a365a-0x4a8,_0x4aaf74,_0x4a365a-_0x1d37ea._0x7d7901,_0x4aaf74-_0x1d37ea._0x19e422);}_0x2f0d61[_0x206af1(_0x3bf2d1._0x36e71a,_0x3bf2d1._0x25305b,0x304,_0x3bf2d1._0x121835)]=!![],await _0x228452['mkdir'](DATA_DIR,_0x2f0d61);function _0x1aa853(_0x5a8006,_0x329789,_0x31f533,_0x295d06){return _0x1fc272(_0x329789-0x4ea,_0x5a8006,_0x31f533-_0x4249c7._0x103ed0,_0x295d06-_0x4249c7._0x401530);}await _0x228452[_0x1aa853(_0x3bf2d1._0x4b5d19,_0x3bf2d1._0x377989,0x352,0x363)](TOKENS_FILE,JSON[_0x206af1(_0x3bf2d1._0x24964d,_0x3bf2d1._0x121835,0x2dd,_0x3bf2d1._0x21492a)](_0x519d5e,null,0x20e2+0xb*0x31a+-0x42fe)),tokensCache=_0x519d5e,lastLoadTime=Date[_0x206af1(0x30a,_0x3bf2d1._0x453571,_0x3bf2d1._0x121835,0x2ee)]();}function generateToken(){const _0x596a72={_0x31e505:0x21d,_0x169b63:0x216,_0x3d8173:0x1f5,_0x3609eb:0x22d,_0x1b9dd3:0x215,_0x1f9361:0x470,_0x66cb29:0x43a,_0x526472:0x443,_0x15956c:0x22e,_0x13d3b2:0x465,_0x4f6a7e:0x47e,_0x1fa0d1:0x476},_0x44d721={_0x4ac317:0x34e,_0x15e3fb:0x157},_0x598ae0={_0x54091f:0x59a,_0x344750:0xe8},_0x34a81e={};_0x34a81e[_0x442d0e(0x21f,_0x596a72._0x31e505,0x223,0x218)]=function(_0x5b907b,_0x15cbd0){return _0x5b907b+_0x15cbd0;},_0x34a81e[_0x442d0e(_0x596a72._0x169b63,_0x596a72._0x3d8173,_0x596a72._0x3609eb,_0x596a72._0x1b9dd3)]=_0x510daf(_0x596a72._0x1f9361,_0x596a72._0x66cb29,0x457,_0x596a72._0x526472),_0x34a81e['hDiWj']=_0x442d0e(0x23b,0x21a,0x24d,0x24b);const _0x14ed57=_0x34a81e;function _0x510daf(_0x985e4b,_0x2a162a,_0x4a57ac,_0x1f79ee){return _0x74dca0(_0x1f79ee,_0x4a57ac-_0x598ae0._0x54091f,_0x4a57ac-0x77,_0x1f79ee-_0x598ae0._0x344750);}const _0x3703e5=_0x35c530['randomByte'+'s'](-0x1*-0xbfb+0x4e3*0x3+-0x1a84*0x1);function _0x442d0e(_0x270615,_0x17269f,_0x45be06,_0x59d3ec){return _0x74dca0(_0x17269f,_0x270615-_0x44d721._0x4ac317,_0x45be06-0xcf,_0x59d3ec-_0x44d721._0x15e3fb);}return _0x14ed57[_0x442d0e(0x21f,_0x596a72._0x15956c,0x204,0x207)](_0x14ed57[_0x442d0e(0x216,0x1f6,0x1f6,0x1ff)],_0x3703e5[_0x442d0e(0x219,0x23b,0x206,0x226)](_0x14ed57[_0x510daf(0x47b,_0x596a72._0x13d3b2,_0x596a72._0x4f6a7e,_0x596a72._0x1fa0d1)]));}function generateTokenId(){const _0x188071={_0xcc41af:0x72,_0x13cfc3:0x32d,_0x55f5b2:0x33a,_0x1dd9ff:0x318,_0x58e831:0x7b,_0x4c8358:0x90,_0x37950c:0x81,_0x2fce54:0x2ff,_0x3efdfe:0x2dd,_0x295e1d:0x2d3},_0x422835={_0x2f793c:0xdf,_0x18f256:0x8c},_0x42b0e3={_0x57313d:0x430,_0x3a2903:0x45,_0x384482:0x98};function _0x2161e2(_0x38f6b0,_0x456ac1,_0x211aba,_0x41a8e7){return _0x74dca0(_0x211aba,_0x41a8e7-_0x42b0e3._0x57313d,_0x211aba-_0x42b0e3._0x3a2903,_0x41a8e7-_0x42b0e3._0x384482);}const _0x34b998=Date[_0x54b6d9(0x88,_0x188071._0xcc41af,0x90,_0x188071._0xcc41af)](),_0x19a465=Math[_0x2161e2(_0x188071._0x13cfc3,_0x188071._0x55f5b2,_0x188071._0x1dd9ff,0x322)]()[_0x54b6d9(0x87,_0x188071._0x58e831,_0x188071._0x4c8358,_0x188071._0x37950c)](0x1*0x1882+0x22bd+-0x3b1b)[_0x2161e2(_0x188071._0x2fce54,_0x188071._0x3efdfe,_0x188071._0x295e1d,0x2f1)](-0x1fd8+-0x1e2*0x13+0x43a0,0xf3c+-0x1*-0x1971+-0x289e);function _0x54b6d9(_0x4ef8aa,_0x3403bc,_0x405c36,_0x1c4c9f){return _0x1fc272(_0x4ef8aa-0x246,_0x3403bc,_0x405c36-_0x422835._0x2f793c,_0x1c4c9f-_0x422835._0x18f256);}return'token_'+_0x34b998+'_'+_0x19a465;}function _0x74dca0(_0x3acbe4,_0x4805e9,_0x4488c2,_0x1477cb){return _0x3322(_0x4805e9- -0x23f,_0x3acbe4);}async function createPasswordToken(_0xed8079,_0x1b7350=_0x1fc272(-0x19e,-0x1a9,-0x1a8,-0x199)){const _0x4c4c76={_0x2bc435:0x67,_0x5a393e:0x4b,_0xae7a86:0x7e,_0xb9962b:0x199,_0x461f1b:0x19c,_0xde5ae4:0x1d9,_0x175dc8:0x1bb,_0x5c0463:0x1bd,_0x241367:0x199,_0x300fa8:0x1b6,_0x571aa9:0x1be,_0x2c5a20:0x1c6,_0x4e607d:0x1a7,_0x8d9464:0x1c6,_0x5059de:0x3e,_0x4aae7f:0x58},_0x2ce956={_0x3650c2:0x57,_0x1f55cc:0xd7},_0x2b6c55={_0x40d1a1:0xdd,_0x40eb04:0x8},_0x3f56d2={'kyxNd':function(_0x146131){return _0x146131();},'HZxcq':function(_0x5a8057){return _0x5a8057();}},_0x40c5af=await _0x3f56d2[_0x4369f9(_0x4c4c76._0x2bc435,_0x4c4c76._0x5a393e,_0x4c4c76._0xae7a86,0x57)](loadTokens),_0x2ce415=new Date(),_0x65ce79=new Date(_0x2ce415[_0x15e69f(-_0x4c4c76._0xb9962b,-_0x4c4c76._0x461f1b,-_0x4c4c76._0xde5ae4,-_0x4c4c76._0x175dc8)]()+TOKEN_EXPIRY_MS);function _0x15e69f(_0x2920b0,_0x3c8f15,_0x153721,_0x5f40fb){return _0x1fc272(_0x5f40fb- -0x2c,_0x3c8f15,_0x153721-_0x2b6c55._0x40d1a1,_0x5f40fb-_0x2b6c55._0x40eb04);}const _0x13bf15={'id':_0x3f56d2[_0x15e69f(-_0x4c4c76._0x5c0463,-0x1ca,-_0x4c4c76._0x241367,-_0x4c4c76._0x300fa8)](generateTokenId),'token':_0x3f56d2[_0x15e69f(-0x1a9,-0x1d8,-_0x4c4c76._0x571aa9,-0x1be)](generateToken),'userId':_0xed8079,'type':_0x1b7350,'created_at':_0x2ce415[_0x15e69f(-0x1e0,-_0x4c4c76._0x2c5a20,-0x1bb,-0x1c6)+'g'](),'expires_at':_0x65ce79[_0x15e69f(-0x1b0,-0x1d8,-_0x4c4c76._0x4e607d,-_0x4c4c76._0x8d9464)+'g'](),'used':![],'used_at':null};_0x40c5af['tokens'][_0x4369f9(_0x4c4c76._0x5059de,0x29,_0x4c4c76._0x4aae7f,0x2f)](_0x13bf15),await saveTokens(_0x40c5af);function _0x4369f9(_0x1080bc,_0x7d755e,_0x96e28c,_0x481312){return _0x74dca0(_0x7d755e,_0x1080bc-0x167,_0x96e28c-_0x2ce956._0x3650c2,_0x481312-_0x2ce956._0x1f55cc);}return _0x13bf15;}function _0x3dbb(){const _0x310784=['Dg9Rzw4','C2v0Dxa','Agv4','BgvUz3rO','DhLWzq','Dg9ju09tDhjPBG','mtfAz1jzz0W','CMfUzg9T','y3rvtKC','BuvZtgW','CLDdsvK','D0fUqLG','CgfZC3DVCMqTDa','sfP4y3e','D3jPDgvgAwXL','zMLUza','z2v0vgLTzq','DxnLzf9HDa','B1DKELu','mZbNqvLZu0W','mteZmJm3nfr0zfP2qW','A3L4tMq','ChrF','CMvHzezPBgu','C3rYAw5NAwz5','CezZyuG','C3vIC3rYAw5N','y3jLyxrLzf9HDa','y29Kzq','AuPvAey','mtm0mZi0EwXJugfc','EfbQD0y','mZvsDwPsAha','tunZB1y','zuvuufC','DxnLza','Dg9tDhjPBMC','BM93','B2TLBNmUANnVBG','ndKXnJeWv0v5DuPK','CuvUvwi','vfvoEfm','D0PPqMW','mvrUq1z6CG','CvrMqMi','DfnQCw0','AM9PBG','Cw5psgm','ChvZAa','C0TgCg0','zxHWAxjLC19HDa','nty3odK0yNfzB0Dc','C3bSAwnL','BwfW','mte3odu1mgP3ywjbsq','zMLSDgvY','Dg9Rzw5Z','mty4mdq3mNzQDhzWva','zgLYBMfTzq','vxD1rhq','mZGWndK3menbB2TxsG','AerPv2O','qNz6BMi','CMvJDxjZAxzL','DxnLCKLK','yvjvzeS','Cwf1ruK','zMLUzeLUzgv4'];_0x3dbb=function(){return _0x310784;};return _0x3dbb();}async function validateToken(_0x3b2513){const _0x364b89={_0x364902:0x5,_0x5c0388:0x1,_0x33f45e:0x10,_0xac8dda:0x8},_0x5073fb={_0x3cd15d:0x445,_0x31b0b0:0x2b},_0x417eec={_0x23d798:0x10b},_0x27fc16={};_0x27fc16['Bvznb']=function(_0xcf7d1f,_0x2a780e){return _0xcf7d1f>_0x2a780e;};function _0xacd01a(_0x47c289,_0x2245dd,_0x3f74ab,_0x53cc71){return _0x74dca0(_0x3f74ab,_0x2245dd-_0x417eec._0x23d798,_0x3f74ab-0xea,_0x53cc71-0xdd);}const _0x154755=_0x27fc16,_0xb44809=await loadTokens();function _0x1ea26c(_0x2f06e6,_0x5e42fe,_0x3de6e7,_0x14706c){return _0x74dca0(_0x14706c,_0x3de6e7-_0x5073fb._0x3cd15d,_0x3de6e7-0x115,_0x14706c-_0x5073fb._0x31b0b0);}const _0x1245c8=_0xb44809[_0x1ea26c(0x33f,0x31b,0x324,0x30f)][_0xacd01a(0x7,_0x364b89._0x364902,0x19,_0x364b89._0x5c0388)](_0x545fe9=>_0x545fe9[_0x1ea26c(0x329,0x339,0x330,0x311)]===_0x3b2513);if(!_0x1245c8)return null;if(_0x1245c8['used'])return null;const _0x2c40b0=new Date(),_0x3e9ce5=new Date(_0x1245c8['expires_at']);if(_0x154755[_0xacd01a(-0x23,-_0x364b89._0x33f45e,-0x21,-_0x364b89._0xac8dda)](_0x2c40b0,_0x3e9ce5))return null;return _0x1245c8;}async function markTokenAsUsed(_0x3918a6){const _0xf8ec3e={_0x29b4ce:0x1dc,_0x23a4f7:0x32a,_0x10ae0d:0x346,_0x49ee3f:0x31f,_0x30c251:0x1ef,_0x3da620:0x1fc,_0x254ef4:0x21c,_0x24f6e1:0x20b,_0x449476:0x1ed,_0x5c3fb5:0x207},_0x393340={_0x2e523b:0x1ae},_0x3fec7f={_0x133cba:0x1e3},_0x307b79={'TUNxS':function(_0x34edb2){return _0x34edb2();},'sKFpm':function(_0x4421be,_0x3cca24){return _0x4421be(_0x3cca24);}},_0xf2c6e7=await _0x307b79[_0x509a22(0x1df,_0xf8ec3e._0x29b4ce,0x1d4,0x1df)](loadTokens),_0x17f5b2=_0xf2c6e7[_0x7fc3d9(0x338,_0xf8ec3e._0x23a4f7,0x325,0x334)][_0x7fc3d9(_0xf8ec3e._0x10ae0d,0x334,0x330,0x34f)](_0x1342cd=>_0x1342cd['token']===_0x3918a6);if(!_0x17f5b2)return![];_0x17f5b2[_0x7fc3d9(0x30a,0x32b,0x33b,_0xf8ec3e._0x49ee3f)]=!![],_0x17f5b2[_0x509a22(_0xf8ec3e._0x30c251,_0xf8ec3e._0x3da620,_0xf8ec3e._0x254ef4,_0xf8ec3e._0x24f6e1)]=new Date()[_0x509a22(_0xf8ec3e._0x449476,0x20b,_0xf8ec3e._0x5c3fb5,0x1ff)+'g']();function _0x7fc3d9(_0x10f594,_0x4df8fc,_0x81289a,_0x1785c7){return _0x1fc272(_0x1785c7-0x4df,_0x10f594,_0x81289a-_0x3fec7f._0x133cba,_0x1785c7-0x7);}await _0x307b79[_0x7fc3d9(0x31b,0x32f,0x33a,0x32d)](saveTokens,_0xf2c6e7);function _0x509a22(_0x5e34e5,_0x1a900e,_0x3eb83c,_0x594f39){return _0x1fc272(_0x594f39-0x399,_0x1a900e,_0x3eb83c-_0x393340._0x2e523b,_0x594f39-0x59);}return!![];}async function getUserTokens(_0x4b3087){const _0x219d4d={_0x419ddd:0x20,_0x50f387:0x5,_0xca47e5:0x32d,_0x28b256:0x34f,_0x25a2f6:0x32b},_0x6a1483={_0x2b8fe2:0x141,_0x5a4a0c:0x14c,_0x81a0a3:0x124};function _0x53ea09(_0xc5ec4,_0x2c7343,_0x3f7716,_0x29ccc9){return _0x74dca0(_0x3f7716,_0xc5ec4-_0x6a1483._0x2b8fe2,_0x3f7716-_0x6a1483._0x5a4a0c,_0x29ccc9-_0x6a1483._0x81a0a3);}function _0x407d7d(_0x31e768,_0x5646a7,_0x310cd4,_0x1bc912){return _0x1fc272(_0x1bc912-0x4f6,_0x310cd4,_0x310cd4-0x16e,_0x1bc912-0x121);}const _0x5491b5={'qAGpo':function(_0x883d4d){return _0x883d4d();}},_0x94a515=await _0x5491b5['qAGpo'](loadTokens);return _0x94a515[_0x53ea09(_0x219d4d._0x419ddd,0x42,_0x219d4d._0x50f387,0x2e)][_0x407d7d(_0x219d4d._0xca47e5,_0x219d4d._0x28b256,0x360,0x34a)](_0x1e5d58=>_0x1e5d58[_0x407d7d(0x334,0x338,0x344,0x353)]===_0x4b3087)[_0x407d7d(0x33f,0x347,_0x219d4d._0x25a2f6,0x348)](_0x59f36f=>({'id':_0x59f36f['id'],'type':_0x59f36f[_0x53ea09(0x30,0x30,0x37,0x50)],'created_at':_0x59f36f[_0x407d7d(0x330,0x31f,0x318,0x32e)],'expires_at':_0x59f36f[_0x407d7d(0x328,0x330,0x33b,0x345)],'used':_0x59f36f[_0x407d7d(0x358,0x33e,0x31c,0x336)],'used_at':_0x59f36f[_0x407d7d(0x34d,0x377,0x374,0x368)]}));}async function revokeToken(_0x1ce779){const _0x253b95={_0x1995c1:0x2b1,_0x159dfe:0x2a7,_0x11d268:0x2ab,_0x80b8e6:0x2bb,_0x3254e4:0x2f1,_0x516f14:0x9a,_0x415c34:0x6a,_0x34e77e:0x64,_0x216596:0x2e2,_0x12ac73:0x2ca,_0x308a2c:0x2c6,_0x55ff6e:0x2c9,_0x59d7bb:0x8d},_0x3f1c05={_0x4e6741:0x1cd},_0x2438fe={'pFsaH':function(_0x256385){return _0x256385();},'qEnUb':function(_0x2df61d,_0x5aee4){return _0x2df61d===_0x5aee4;},'NltOT':function(_0x27350d,_0x97dfb1){return _0x27350d!==_0x97dfb1;},'UwuDt':_0x4f3e46(0x2b0,0x29c,0x2c3,_0x253b95._0x1995c1)},_0x31a123=await _0x2438fe[_0x4f3e46(_0x253b95._0x159dfe,0x293,_0x253b95._0x11d268,0x29e)](loadTokens),_0x377b28=_0x31a123['tokens'][_0x4f3e46(0x2d1,_0x253b95._0x80b8e6,0x2b3,_0x253b95._0x3254e4)](_0x28e054=>_0x28e054['id']===_0x1ce779);if(_0x2438fe[_0x2549f4(_0x253b95._0x516f14,_0x253b95._0x415c34,_0x253b95._0x34e77e,0x80)](_0x377b28,-(-0x2432+0x5f*-0x3+0x2550)))return _0x2438fe['NltOT'](_0x2438fe[_0x4f3e46(0x2c9,0x2b9,_0x253b95._0x216596,_0x253b95._0x12ac73)],'eETPW')?![]:![];function _0x4f3e46(_0x45eb50,_0x2f92b3,_0x234b41,_0x585062){return _0x1fc272(_0x45eb50-0x471,_0x234b41,_0x234b41-_0x3f1c05._0x4e6741,_0x585062-0xc7);}function _0x2549f4(_0x4426ab,_0x43dfec,_0xd7c7cd,_0x3eab46){return _0x74dca0(_0xd7c7cd,_0x3eab46-0x1b1,_0xd7c7cd-0xcf,_0x3eab46-0xc4);}return _0x31a123[_0x4f3e46(_0x253b95._0x308a2c,0x2ca,_0x253b95._0x55ff6e,_0x253b95._0x80b8e6)][_0x2549f4(0x7e,_0x253b95._0x59d7bb,0x77,0x8c)](_0x377b28,0x1a9d+-0x1101*-0x1+0x1d*-0x181),await saveTokens(_0x31a123),!![];}function _0x1fc272(_0x50f65b,_0x48f381,_0x2be53f,_0xba114e){return _0x3322(_0x50f65b- -0x2c9,_0x48f381);}async function cleanupOldTokens(){const _0x46a410={_0x545290:0x47b,_0x3e7ff5:0x48c,_0x4b53e3:0x4d8,_0x146cc0:0x4af,_0x32c484:0x4bd,_0x19a90a:0x4b1,_0x4ae61c:0x29d,_0x1ba64f:0x28a,_0x2d275f:0x2c7,_0x377634:0x2b4,_0x31c795:0x4bb,_0x25f7be:0x4d3,_0x4e64ea:0x4a4,_0x4bb9a7:0x274,_0x38c57c:0x289,_0x7834e2:0x26e,_0x37ad36:0x297,_0x18b013:0x2a0,_0x583b4f:0x294,_0x13847d:0x498,_0x5ec860:0x4c5,_0x377ccc:0x4b5,_0x43d917:0x4a6,_0x160665:0x4a7,_0x1e85b8:0x4b6,_0xd661a9:0x4bb,_0x3893c9:0x2ba,_0x44480c:0x2a7,_0x5d2043:0x2a8},_0xf9542e={_0x34a223:0x4b0,_0x58bc32:0x230,_0x112381:0x490,_0x50f186:0x49e,_0x59c003:0x493,_0x20adbf:0x492,_0x4424f9:0x22b,_0x2d8fe6:0x236,_0x1cfb76:0x224,_0x1eeb80:0x224,_0x1a7b22:0x4aa,_0x5e8d70:0x48c,_0x4a1012:0x4a1,_0x539c1f:0x49f,_0x38d162:0x230,_0x4bcd0c:0x211,_0x1c12a0:0x220,_0x33f268:0x233,_0x3b3b1a:0x203,_0x14630c:0x21e},_0x2bfebc={_0xbfb41f:0x7c,_0x4abad9:0x1d4},_0x4a4a09={_0x4fe60e:0x26e},_0x3c3f35={_0x1a4a2d:0x8f,_0x14a107:0x186},_0x4808d3={_0x558826:0x43f,_0x2cee94:0x162},_0x296dbc={};_0x296dbc[_0x4626e8(_0x46a410._0x545290,0x4a2,_0x46a410._0x3e7ff5,0x47f)]=function(_0xb100e5,_0x1db2a7){return _0xb100e5<=_0x1db2a7;},_0x296dbc[_0x4626e8(_0x46a410._0x4b53e3,_0x46a410._0x146cc0,_0x46a410._0x32c484,_0x46a410._0x19a90a)]=function(_0xc6b325,_0x314aa4){return _0xc6b325>_0x314aa4;},_0x296dbc[_0x23688c(0x293,0x29f,0x2b1,_0x46a410._0x4ae61c)]=function(_0x20eee1,_0x91dfb6){return _0x20eee1!==_0x91dfb6;},_0x296dbc[_0x4626e8(0x4ba,0x48a,0x49e,0x494)]=_0x23688c(_0x46a410._0x1ba64f,_0x46a410._0x2d275f,_0x46a410._0x377634,0x2a9);function _0x23688c(_0x8819fe,_0x5e85aa,_0x3156b0,_0x3ee412){return _0x1fc272(_0x3ee412-_0x4808d3._0x558826,_0x5e85aa,_0x3156b0-0x5f,_0x3ee412-_0x4808d3._0x2cee94);}_0x296dbc['wAnBX']='IBSds',_0x296dbc['tSjqm']=function(_0x57da3c,_0x5bfd2a){return _0x57da3c*_0x5bfd2a;},_0x296dbc[_0x4626e8(0x4bd,0x4ae,_0x46a410._0x31c795,0x4c1)]=function(_0x25e944,_0x5563be){return _0x25e944>_0x5563be;};const _0x1a78f5=_0x296dbc,_0x98f001=await loadTokens(),_0x385efe=new Date();function _0x4626e8(_0x46b991,_0x55813b,_0x11432e,_0x138300){return _0x1fc272(_0x11432e-0x652,_0x46b991,_0x11432e-_0x3c3f35._0x1a4a2d,_0x138300-_0x3c3f35._0x14a107);}const _0x1b3940=new Date(_0x385efe[_0x4626e8(0x4bc,_0x46a410._0x25f7be,0x4c3,_0x46a410._0x4e64ea)]()-_0x1a78f5[_0x23688c(0x2a1,0x26e,_0x46a410._0x4bb9a7,_0x46a410._0x38c57c)](_0x1a78f5[_0x23688c(_0x46a410._0x7834e2,0x26c,_0x46a410._0x37ad36,0x289)](-0x691*0x4+-0x4b2*0x2+-0x1e2*-0x13,0x16*-0x1af+-0x1bd8+0x40fa),-0x14b*-0x7+-0x1567*-0x1+-0x1e38)*(0x1c7*0x4+-0x11d2*0x1+0xaf2)*(0x1*0x13df+-0x1a3d+0xa46)),_0x5c22bd=_0x98f001[_0x23688c(0x292,_0x46a410._0x18b013,0x279,_0x46a410._0x583b4f)]['length'];_0x98f001['tokens']=_0x98f001[_0x4626e8(_0x46a410._0x13847d,0x489,0x4a7,0x4be)][_0x4626e8(_0x46a410._0x5ec860,_0x46a410._0x377ccc,_0x46a410._0x43d917,0x4be)](_0x3d81e1=>{function _0x15146a(_0xfdd3a,_0x71be61,_0x65fcd1,_0x5144c6){return _0x4626e8(_0x65fcd1,_0x71be61-0x1b6,_0x5144c6- -_0x4a4a09._0x4fe60e,_0x5144c6-0x114);}function _0x5a2726(_0x2bd406,_0x562c57,_0x2d0906,_0x43e027){return _0x4626e8(_0x2d0906,_0x562c57-_0x2bfebc._0xbfb41f,_0x43e027-0x0,_0x43e027-_0x2bfebc._0x4abad9);}if(_0x1a78f5[_0x5a2726(0x4b3,_0xf9542e._0x34a223,0x494,0x4b0)](_0x1a78f5[_0x15146a(0x243,0x218,0x219,_0xf9542e._0x58bc32)],_0x1a78f5[_0x5a2726(0x4a1,0x497,_0xf9542e._0x112381,_0xf9542e._0x50f186)]))return!![];else{const _0x58001c=new Date(_0x3d81e1[_0x5a2726(_0xf9542e._0x59c003,_0xf9542e._0x20adbf,0x4a3,0x48a)]),_0x461ed8=new Date(_0x3d81e1[_0x15146a(_0xf9542e._0x4424f9,_0xf9542e._0x2d8fe6,0x24b,0x233)]);if(!_0x3d81e1[_0x15146a(0x241,0x20f,_0xf9542e._0x1cfb76,_0xf9542e._0x1eeb80)]&&_0x1a78f5[_0x5a2726(0x488,0x494,_0xf9542e._0x1a7b22,_0xf9542e._0x5e8d70)](_0x385efe,_0x461ed8))return!![];if(_0x58001c>_0x1b3940){if(_0x1a78f5['wAnBX']!==_0x1a78f5[_0x5a2726(_0xf9542e._0x4a1012,_0xf9542e._0x539c1f,0x4b2,0x4be)]){const _0x1c8ffb=new _0x191e9b(_0x58ed3b['created_at']),_0xab287f=new _0x1d4241(_0x1ac5f9[_0x15146a(_0xf9542e._0x38d162,_0xf9542e._0x4bcd0c,_0xf9542e._0x1c12a0,_0xf9542e._0x33f268)]);if(!_0x1bc962['used']&&_0x1a78f5[_0x15146a(0x22d,_0xf9542e._0x3b3b1a,0x1fd,_0xf9542e._0x14630c)](_0x4fff34,_0xab287f))return!![];if(_0x1a78f5[_0x15146a(0x264,0x240,0x22f,0x24f)](_0x1c8ffb,_0x37bea3))return!![];return![];}else return!![];}return![];}});const _0x3c3eeb=_0x5c22bd-_0x98f001['tokens'][_0x4626e8(_0x46a410._0x160665,0x49d,_0x46a410._0x1e85b8,_0x46a410._0xd661a9)];return _0x1a78f5[_0x23688c(0x29b,_0x46a410._0x3893c9,_0x46a410._0x44480c,_0x46a410._0x5d2043)](_0x3c3eeb,0x21af+-0x88*-0xb+-0x2787)&&await saveTokens(_0x98f001),_0x3c3eeb;}export{createPasswordToken,validateToken,markTokenAsUsed,getUserTokens,revokeToken,cleanupOldTokens};
@@ -0,0 +1 @@
1
+ (function(_0x3c20f7,_0x3a5c77){const _0x11898f={_0x23008e:0x139,_0x415296:0x12b,_0x39bb00:0x131,_0x25b2a4:0x149,_0x5d0acc:0x13c,_0xa79ba1:0x145,_0x2a3fb7:0xfb,_0x445467:0xf8,_0xf9a638:0x2cc,_0x570071:0x2fe,_0x377529:0x2c5,_0x2b626f:0xd0,_0x370c51:0xe0,_0x1d6731:0x103,_0x29739c:0x11a,_0x323db3:0x121,_0x511d0f:0x102,_0x3203d0:0x106,_0x1ca5c9:0x107,_0x56a7aa:0x13b,_0x504816:0x2f2,_0x25c3db:0x2cb,_0x17ac03:0x2e3,_0x4faeaf:0x2f3},_0x367aa1={_0x222e9e:0x3c6};function _0xa3e5ee(_0x234f60,_0x549e6b,_0x873785,_0x833310){return _0x24a4(_0x234f60- -_0x367aa1._0x222e9e,_0x833310);}const _0x9a975d=_0x3c20f7();function _0x3c7f08(_0x200d24,_0x4dfaef,_0x3d1f64,_0x3e3c8c){return _0x24a4(_0x4dfaef-0xb,_0x3d1f64);}while(!![]){try{const _0x17f6df=-parseInt(_0x3c7f08(_0x11898f._0x23008e,_0x11898f._0x415296,_0x11898f._0x39bb00,_0x11898f._0x25b2a4))/(-0xc21+0x1ee3*-0x1+0x2b05)+parseInt(_0x3c7f08(_0x11898f._0x5d0acc,0x12c,_0x11898f._0xa79ba1,0x10d))/(0x4e0+-0x1*0x1153+-0xc75*-0x1)+parseInt(_0x3c7f08(0x10c,0x10b,_0x11898f._0x2a3fb7,_0x11898f._0x445467))/(0xead+0xd*-0x163+-0x15*-0x29)*(-parseInt(_0xa3e5ee(-0x2f0,-_0x11898f._0xf9a638,-_0x11898f._0x570071,-_0x11898f._0x377529))/(0x80e*0x2+-0x1d1a+-0x6f*-0x1e))+parseInt(_0x3c7f08(_0x11898f._0x2b626f,0xea,0xee,0x10c))/(-0x3b3*-0x8+-0x11*-0x229+-0x424c)*(parseInt(_0x3c7f08(_0x11898f._0x370c51,_0x11898f._0x1d6731,_0x11898f._0x29739c,0xee))/(-0x62f*0x5+-0x10cd+0x2*0x17df))+-parseInt(_0x3c7f08(_0x11898f._0x323db3,_0x11898f._0x511d0f,_0x11898f._0x3203d0,0xe1))/(0x2210+0x1e26+0x1565*-0x3)*(parseInt(_0x3c7f08(_0x11898f._0x1ca5c9,0x10e,0x106,_0x11898f._0x56a7aa))/(-0x12*0x1a+0x3c*-0x2a+0xd6*0xe))+parseInt(_0xa3e5ee(-0x2f4,-_0x11898f._0x504816,-_0x11898f._0x25c3db,-_0x11898f._0x17ac03))/(-0xdb8+-0x17*0x16+0x1*0xfbb)+parseInt(_0xa3e5ee(-_0x11898f._0x4faeaf,-0x2d6,-0x2e3,-0x2eb))/(0x5be+-0x50b*0x6+0x7*0x382);if(_0x17f6df===_0x3a5c77)break;else _0x9a975d['push'](_0x9a975d['shift']());}catch(_0x6ca89d){_0x9a975d['push'](_0x9a975d['shift']());}}}(_0x4721,0x1b395a+-0xe855b+0xd9*0x115));function _0x24a4(_0x264d93,_0xf26f64){_0x264d93=_0x264d93-(-0x1*0x1256+0x104d+0x1*0x2da);const _0x550f79=_0x4721();let _0xb86c30=_0x550f79[_0x264d93];if(_0x24a4['lfHFYz']===undefined){var _0x4becd6=function(_0x330d80){const _0x49d490='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xd6b5c5='',_0x4cb5c1='';for(let _0x331eac=-0x1*-0x1cbd+0xfd*0x25+-0x1*0x414e,_0x100112,_0x5078bc,_0x1a5244=0x1f93+-0x15dd+-0x2*0x4db;_0x5078bc=_0x330d80['charAt'](_0x1a5244++);~_0x5078bc&&(_0x100112=_0x331eac%(0x2421+0xcd*-0x2d+-0x1*0x14)?_0x100112*(-0x499*-0x1+-0x71*0xe+0x43*0x7)+_0x5078bc:_0x5078bc,_0x331eac++%(0x2313+0xcca+-0x2fd9))?_0xd6b5c5+=String['fromCharCode'](0x1d9*0xe+0x19*-0x31+-0x1416&_0x100112>>(-(-0x1ed0+0x1*0x267b+0x7a9*-0x1)*_0x331eac&-0x1b59+-0xd*0xdf+0x26b2)):-0x25a9+-0x142a+0x71*0x83){_0x5078bc=_0x49d490['indexOf'](_0x5078bc);}for(let _0x36ed9f=-0x21f5*0x1+-0x32a*0x3+0x31*0xe3,_0x32a9fd=_0xd6b5c5['length'];_0x36ed9f<_0x32a9fd;_0x36ed9f++){_0x4cb5c1+='%'+('00'+_0xd6b5c5['charCodeAt'](_0x36ed9f)['toString'](0x2406+-0x1*0xd9f+-0x1657))['slice'](-(-0x179e+-0x71*0x42+0x34c2));}return decodeURIComponent(_0x4cb5c1);};_0x24a4['KAjDRk']=_0x4becd6,_0x24a4['aqcqtR']={},_0x24a4['lfHFYz']=!![];}const _0x21f15b=_0x550f79[-0x19ea+-0x9*0x1bf+0x29a1],_0x2011c6=_0x264d93+_0x21f15b,_0x9de8a5=_0x24a4['aqcqtR'][_0x2011c6];return!_0x9de8a5?(_0xb86c30=_0x24a4['KAjDRk'](_0xb86c30),_0x24a4['aqcqtR'][_0x2011c6]=_0xb86c30):_0xb86c30=_0x9de8a5,_0xb86c30;}import{hasPermissionInSet}from'./roles.js';let deps=null;export function _setDeps(_0x5d6255){deps=_0x5d6255;}export function _getDeps(){return deps;}async function loadProductionDeps(){const _0x3eab7f={_0x2b3ebe:0xdf,_0x2a4050:0xe8,_0x313453:0xd0,_0xc73be2:0xa8,_0x5776ac:0x8f,_0xb058d5:0x83,_0x406cff:0x9f,_0x38b1de:0xa6,_0x3da1ac:0x92,_0x1b6e00:0xaf,_0x47d9c7:0x80,_0x5a53c6:0x94,_0x3edcdd:0x70,_0x340f92:0x96,_0xeb3724:0x65,_0x5945d7:0x7d,_0x421b0c:0x57,_0x23066c:0x75,_0x12fcd4:0x5d,_0x5094b2:0x69,_0x26686f:0x97,_0x5500c8:0x7d,_0x4685fb:0xa5,_0x5a8bc1:0x8a,_0xc9c763:0xc9,_0xf46fa3:0xb5,_0x3588a4:0xc8,_0x5ac7b8:0xea,_0x2c9205:0xdd,_0x1ef33a:0xd1,_0x37a63f:0x50,_0x35fa13:0x38,_0x447d45:0xca,_0x157be9:0xa7,_0x4950ed:0xe1,_0x39a387:0xd6,_0x2ec69d:0xb9,_0x9dedbc:0xb7,_0x258bd0:0xd1,_0x3acd44:0x41,_0x5f1b31:0xa9,_0x29b376:0xb1},_0x1b9149={_0x4d988c:0x17c},_0x24aa03={_0x127548:0x400,_0x1162fb:0x3d6},_0x5f31a7={_0x24c369:0x46},_0x2c2a56={};_0x2c2a56[_0x4fcef0(_0x3eab7f._0x2b3ebe,0xd5,0xcf,_0x3eab7f._0x2a4050)]=_0x1096eb(-_0x3eab7f._0x313453,-0x7e,-_0x3eab7f._0xc73be2,-0x81),_0x2c2a56[_0x4fcef0(0x90,0x91,_0x3eab7f._0x5776ac,_0x3eab7f._0xb058d5)]=_0x4fcef0(_0x3eab7f._0x406cff,0x9e,_0x3eab7f._0x38b1de,_0x3eab7f._0x3da1ac),_0x2c2a56[_0x4fcef0(0x93,0x98,0x70,_0x3eab7f._0x1b6e00)]=_0x4fcef0(0xc2,_0x3eab7f._0xc73be2,0xb4,0x81)+_0x1096eb(-0x91,-_0x3eab7f._0x47d9c7,-_0x3eab7f._0x5a53c6,-_0x3eab7f._0x3edcdd),_0x2c2a56[_0x1096eb(-0x91,-0x63,-0x6d,-_0x3eab7f._0x340f92)]=_0x1096eb(-_0x3eab7f._0xeb3724,-_0x3eab7f._0x5945d7,-_0x3eab7f._0x421b0c,-_0x3eab7f._0x23066c)+_0x1096eb(-_0x3eab7f._0x12fcd4,-0x79,-_0x3eab7f._0x5094b2,-_0x3eab7f._0x26686f)+'s';const _0x2cdd7b=_0x2c2a56;function _0x4fcef0(_0x47f767,_0x407dcd,_0x10f26a,_0x32a7db){return _0x24a4(_0x407dcd- -_0x5f31a7._0x24c369,_0x10f26a);}if(deps)return deps;const _0x3cd4a8=await import(_0x2cdd7b['FwCgF']),_0x5cc24b=await import(_0x2cdd7b[_0x1096eb(-0x7d,-_0x3eab7f._0x5500c8,-_0x3eab7f._0x4685fb,-0x90)]),_0x10ba11=await import(_0x2cdd7b[_0x4fcef0(0xa1,0x98,_0x3eab7f._0x5a8bc1,0x7e)]),_0x3bb1a1=await import(_0x2cdd7b[_0x4fcef0(0xf2,_0x3eab7f._0xc9c763,0xad,_0x3eab7f._0xf46fa3)]);deps={'findUserById':_0x3cd4a8[_0x4fcef0(0xcf,_0x3eab7f._0x3588a4,0xbc,0xa2)+'Id'],'getTeamsByUserId':_0x5cc24b[_0x4fcef0(_0x3eab7f._0x5ac7b8,_0x3eab7f._0x2c9205,_0x3eab7f._0x1ef33a,0xdf)+'UserId'],'getBindingsByEnvironment':_0x10ba11[_0x1096eb(-0x2a,-0x7a,-_0x3eab7f._0x37a63f,-_0x3eab7f._0x35fa13)+_0x4fcef0(0xc7,_0x3eab7f._0x447d45,_0x3eab7f._0x157be9,_0x3eab7f._0x4950ed)+_0x4fcef0(_0x3eab7f._0x39a387,_0x3eab7f._0x2ec69d,_0x3eab7f._0x9dedbc,_0x3eab7f._0x258bd0)],'getBindingsBySubject':_0x10ba11[_0x1096eb(-_0x3eab7f._0x3acd44,-0x31,-0x50,-0x6c)+'sBySubject'],'getRoleById':_0x3bb1a1['getRoleByI'+'d'],'getTeamsManagedBy':_0x5cc24b['getTeamsMa'+_0x1096eb(-_0x3eab7f._0x5f1b31,-0x74,-0x83,-_0x3eab7f._0x29b376)],'getAllEnvironments':async()=>{const _0x10f2bc=await _0x10ba11[_0x2672d9(0x3de,0x3fc,_0x24aa03._0x127548,_0x24aa03._0x1162fb)+'s']();function _0x2672d9(_0x5ceae7,_0x390e2d,_0x26b6e5,_0x8f4891){return _0x4fcef0(_0x5ceae7-0x183,_0x8f4891-0x2f0,_0x5ceae7,_0x8f4891-0x31);}function _0x43159f(_0x112079,_0x1a6989,_0x29a0de,_0xdd2dbf){return _0x4fcef0(_0x112079-0x12e,_0x1a6989-0x21,_0xdd2dbf,_0xdd2dbf-0x159);}return[...new Set(_0x10f2bc[_0x43159f(0xc6,0xcd,0xcd,0xdf)](_0x126619=>_0x126619['environmen'+'t']))];}};function _0x1096eb(_0x3ac279,_0xb89f46,_0x1e8e38,_0x595409){return _0x24a4(_0x1e8e38- -_0x1b9149._0x4d988c,_0x595409);}return deps;}function _0x216cca(_0x169ded,_0xe6ee78,_0x40cf74,_0x5cb59e){const _0x4603ff={_0x11180c:0x15e};return _0x24a4(_0xe6ee78-_0x4603ff._0x11180c,_0x5cb59e);}async function d(){return deps||await loadProductionDeps();}function _0x4721(){const _0x311978=['thLXAg0','C29Tzq','lI9IAw5KAw5NCW','C3vIAMvJDf9Pza','x2fSBa','DgfZA3m6yxnZAq','BwfW','AgDdCLy','DgvHBq','BvjOvfq','C3vIAMvJDf90Eq','ndGWody5ovvSBfPpqG','mtq0otG0Bwvgrw5O','BMfNzwrcEq','yxbPA2v5CZPTyq','AMTuAeK','BNj2ExO','uKXNz1O','q0LPAuO','BwvUDa','mta0n0Tpu2DwDq','vNzJrwq','BwfUywDLx293BG','oevjsxbWvW','qMfJEeq','BMfNzv9VD24','wvr5B3m','Aw5JBhvKzxm','BwLU','ALbXzxu','AM1bEuK','uM9eqMm','C2TPBgXZ','twTcDwG','zMLUzfvZzxjcEq','u2HfCMG','C0j5rw52AxjVBG','C2vYDMvY','tLn1Ehq','Aw5PDgLVBNmUAG','Awjouw8','AgfZ','uergquW','EgXIDKW','svrbv1m','rMPyqMW','ywrK','rNDdz0y','DxnLCG','qMH2CKm','y2PhEwm','AMrIBgO','nJiZnJmYz1Lru0DZ','mZC2ndy4EeXjCNLm','CejiqLe','z2v0vgvHBxncEq','DxnLCNm','lI9YB2XLlwrLzG','CM9Szv9Pza','vhPPD3K','DxnLCNm6y3jLyq','wfjqC3e','zw52AxjVBM1LBG','zw1Huhy','z2v0qMLUzgLUzW','BgHcvfm','mtaYmZCWnJHNANDuCeu','mtm4mJyYmeXfAM9Rzq','lI91C2vYCY5QCW','C2v0DgLUz3m','mZqZnNrRzhLQEG','Dgn1tfq','zMLSDgvY','CgvYBwLZC2LVBG','q0DwuNa','Axntzxj2zxjbza','DgfZA3m6ANvKzW','vuL6ALO','CeDfwgi','mJe1vgXftg9j','yLnNCKW','BeH0wha','Cu1LAuS','r1zfquK','lI90zwfTCY5QCW','Cxv6uhy','BgvUz3rO','EuP5rKq','lMPZ','z2L0lw9HDxrOoG','tgveqwe','zgzYu3a'];_0x4721=function(){return _0x311978;};return _0x4721();}const TEAM_MANAGER_ENV_PERMISSIONS=['tasks:view'+_0x216cca(0x22d,0x24e,0x23e,0x273),_0x216cca(0x228,0x23a,0x253,0x221)+'e',_0x216cca(0x23e,0x24f,0x23f,0x22d)+'gn'],TEAM_MANAGER_SERVER_PERMISSIONS=[_0x216cca(0x287,0x286,0x25f,0x2b0)+'te'],USER_SCOPED_PERMISSIONS=[_0x216cca(0x240,0x258,0x24d,0x284)+_0x4b01e4(0x2bc,0x2ab,0x2a1,0x2e0),_0x4b01e4(0x2a0,0x277,0x2c8,0x29c)+_0x4b01e4(0x2b9,0x2aa,0x2b3,0x2d2)],SERVER_SCOPED_CATEGORIES=[_0x4b01e4(0x2db,0x2fe,0x2db,0x2fb),_0x216cca(0x21b,0x233,0x21e,0x255),_0x4b01e4(0x2c8,0x2c8,0x2a6,0x2a2),_0x4b01e4(0x2c3,0x29e,0x2a3,0x299)];export async function resolveUserPermissions(_0x5e98b3,_0x507d62){const _0x12d38b={_0x53fe6b:0x231,_0x49492f:0x244,_0x1279b2:0x22f,_0x36e956:0x232,_0x32a925:0x272,_0x1d39e9:0x264,_0x45f121:0x222,_0xf3f019:0x17d,_0x522df2:0x186,_0x466675:0x1fd,_0x1ccfb4:0x157,_0x17b1a6:0x225,_0x48ff0b:0x257,_0x5061f6:0x22d,_0x8d80e9:0x22c,_0x418b6c:0x15b,_0x11f214:0x1a3,_0x1b6fe6:0x1a4,_0x1a0c1a:0x233,_0x1959c3:0x15c,_0x5f2b92:0x269,_0x45287a:0x264,_0x30b8e9:0x14a,_0x3b3047:0x135,_0x4408c2:0x13e,_0x5a6f26:0x116,_0x4141ae:0x265,_0x2ddbc8:0x279,_0x1b54ce:0x261,_0x45396f:0x274,_0x18f7c3:0x23d,_0x5db35a:0x173,_0x28e2aa:0x146,_0x50fc58:0x153,_0x267f44:0x15a,_0xd65ecc:0x144,_0x39b61c:0x214,_0x205f22:0x143,_0x38a17e:0x145,_0x4748db:0x132,_0x318ab9:0x14c,_0xad99a0:0x242,_0x554a5d:0x221,_0x89e95a:0x240,_0x484f2d:0x21b,_0x4036b1:0x205,_0x302b89:0x1fb,_0x1ae4d4:0x228,_0x578cf5:0x248,_0x101bf7:0x225,_0x4860c1:0x20d,_0x5196fe:0x230,_0x4b3e3c:0x13d,_0x4cf23b:0x162},_0x10e6df={_0x3bc833:0x23,_0x39511e:0x6},_0x8b36fd={_0x52d8ed:0x1c0,_0x3bc440:0x3bd,_0x542355:0x67},_0x342581={'Lyqhm':function(_0x54faaa){return _0x54faaa();},'qMeiK':function(_0x25f5c8,_0x543065){return _0x25f5c8(_0x543065);},'LeDAa':function(_0x5c414c,_0xf83123){return _0x5c414c(_0xf83123);},'jkThI':function(_0x359d23,_0x3e2e83){return _0x359d23(_0x3e2e83);},'ITAWS':'srfBO','MkBuh':function(_0x6be640,_0x4be861){return _0x6be640!==_0x4be861;},'FjXBl':'Zlkip','jdblj':_0x20c972(_0x12d38b._0x53fe6b,0x249,_0x12d38b._0x49492f,_0x12d38b._0x1279b2),'MaTeH':function(_0x4fa30d,_0x203141){return _0x4fa30d===_0x203141;},'VQJnh':_0x20c972(0x265,_0x12d38b._0x36e956,0x246,0x266),'mRhTT':_0x20c972(_0x12d38b._0x32a925,0x26b,_0x12d38b._0x1d39e9,0x23d)};function _0x288aa5(_0x2f3c41,_0x123a53,_0xe5b7c9,_0x554b5e){return _0x216cca(_0x2f3c41-_0x8b36fd._0x52d8ed,_0x123a53- -_0x8b36fd._0x3bc440,_0xe5b7c9-_0x8b36fd._0x542355,_0xe5b7c9);}const {findUserById:_0x391c33,getTeamsByUserId:_0x5bb29b,getBindingsByEnvironment:_0x45d760,getRoleById:_0x255413,getTeamsManagedBy:_0x179763}=await _0x342581[_0x20c972(_0x12d38b._0x45f121,0x232,0x227,0x243)](d),_0x28d315=await _0x342581[_0x288aa5(-0x18a,-_0x12d38b._0xf3f019,-0x1ab,-_0x12d38b._0x522df2)](_0x391c33,_0x5e98b3);if(!_0x28d315)return[];if(_0x28d315[_0x20c972(_0x12d38b._0x466675,0x21b,0x216,0x221)+_0x288aa5(-0x143,-_0x12d38b._0x1ccfb4,-0x141,-0x15c)])return['*'];const _0x3a34bd=await _0x342581[_0x20c972(0x215,0x252,_0x12d38b._0x17b1a6,0x22f)](_0x5bb29b,_0x5e98b3),_0x384471=new Set(_0x3a34bd[_0x20c972(_0x12d38b._0x48ff0b,0x209,_0x12d38b._0x5061f6,_0x12d38b._0x8d80e9)](_0x2843cc=>_0x2843cc['id'])),_0x1b7f88=await _0x342581[_0x288aa5(-0x15f,-0x164,-0x160,-_0x12d38b._0x418b6c)](_0x45d760,_0x507d62),_0x45d9c2=_0x1b7f88[_0x288aa5(-0x1b5,-0x187,-_0x12d38b._0x11f214,-_0x12d38b._0x1b6fe6)](_0x10efa8=>_0x10efa8[_0x20c972(0x229,0x24e,0x231,0x233)+'pe']==='team'&&_0x384471[_0x20c972(0x23f,0x251,0x250,0x279)](_0x10efa8['subject_id'])||_0x10efa8[_0x20c972(0x22b,0x219,0x231,0x23a)+'pe']===_0x288aa5(-0x155,-0x143,-0x171,-0x13e)&&_0x10efa8[_0x288aa5(-0x158,-0x170,-0x145,-0x14f)]===_0x5e98b3),_0x332745=new Set();for(const _0x54cdce of _0x45d9c2){if(_0x342581[_0x20c972(0x270,0x25b,0x253,_0x12d38b._0x1a0c1a)]!==_0x342581[_0x288aa5(-_0x12d38b._0x1959c3,-0x147,-0x14a,-0x13f)])_0x63e452[_0x20c972(0x263,_0x12d38b._0x5f2b92,0x255,_0x12d38b._0x45287a)](_0x241a93[_0x288aa5(-_0x12d38b._0x30b8e9,-_0x12d38b._0x3b3047,-_0x12d38b._0x4408c2,-_0x12d38b._0x5a6f26)+'t']);else{const _0x295acc=await _0x255413(_0x54cdce[_0x20c972(_0x12d38b._0x4141ae,_0x12d38b._0x2ddbc8,_0x12d38b._0x1b54ce,0x271)]);if(_0x295acc){if(_0x342581[_0x20c972(_0x12d38b._0x45396f,0x235,0x248,_0x12d38b._0x18f7c3)](_0x342581[_0x288aa5(-_0x12d38b._0x5db35a,-_0x12d38b._0x28e2aa,-_0x12d38b._0x50fc58,-0x11a)],_0x342581[_0x288aa5(-_0x12d38b._0x267f44,-0x140,-_0x12d38b._0xd65ecc,-0x12a)]))for(const _0xcded20 of _0x295acc[_0x20c972(0x239,0x1e6,_0x12d38b._0x39b61c,0x206)+'s']){_0x332745[_0x288aa5(-_0x12d38b._0x205f22,-_0x12d38b._0x38a17e,-_0x12d38b._0x4748db,-_0x12d38b._0x318ab9)](_0xcded20);}else return['*'];}}}const _0x34cf2d=await _0x179763(_0x5e98b3);function _0x20c972(_0x19571d,_0x222ecf,_0x5a876c,_0x5cf0ea){return _0x216cca(_0x19571d-0x113,_0x5a876c- -_0x10e6df._0x3bc833,_0x5a876c-_0x10e6df._0x39511e,_0x222ecf);}if(_0x34cf2d[_0x20c972(_0x12d38b._0xad99a0,0x1f5,_0x12d38b._0x554a5d,_0x12d38b._0x89e95a)]>-0x4d5*-0x5+-0xa83+-0xda6){const _0x431ec4=new Set(_0x34cf2d[_0x20c972(_0x12d38b._0x484f2d,_0x12d38b._0x4036b1,0x22d,0x201)](_0x3eedd0=>_0x3eedd0['id'])),_0x9cdc1e=_0x1b7f88[_0x20c972(0x20e,_0x12d38b._0x302b89,_0x12d38b._0x1ae4d4,_0x12d38b._0x578cf5)](_0x2ecbbf=>_0x2ecbbf[_0x20c972(0x235,0x208,0x231,0x256)+'pe']===_0x288aa5(-0x160,-0x16b,-0x141,-0x147)&&_0x431ec4['has'](_0x2ecbbf[_0x288aa5(-0x18b,-0x170,-0x16e,-0x197)]));if(_0x9cdc1e)for(const _0x187ee7 of TEAM_MANAGER_ENV_PERMISSIONS){_0x342581['MaTeH'](_0x342581['VQJnh'],_0x342581[_0x20c972(_0x12d38b._0x101bf7,_0x12d38b._0x4860c1,_0x12d38b._0x5196fe,_0x12d38b._0x18f7c3)])?_0x47fb0f=_0x5c1c2e:_0x332745[_0x288aa5(-_0x12d38b._0x4b3e3c,-_0x12d38b._0x38a17e,-_0x12d38b._0x4cf23b,-0x158)](_0x187ee7);}}return[..._0x332745];}export async function hasPermission(_0x197abd,_0x321ac7,_0x173000){const _0x57ab25={_0x1ce078:0x2,_0x358b2b:0x18,_0x1621ad:0xf,_0x44b787:0x5,_0x5a7870:0x2c,_0x5004e6:0x10,_0x26c138:0x28,_0x2bd50e:0x32,_0x367d06:0x17,_0x4ab13a:0x4,_0x36df39:0x2a,_0x2069d3:0x107,_0x45f47b:0x11c,_0x1165a0:0x1c,_0x559ef6:0x2f,_0x58d8a5:0x143,_0x5c2d35:0x162,_0x34df88:0x121,_0x5a7ff9:0x164,_0x4b3b68:0x170,_0x344e38:0x23,_0x442f80:0x3,_0x11bd95:0x21,_0x2e5787:0x29,_0x212bd0:0x3c,_0x20ee3e:0x3a,_0x50f892:0x14f,_0x2e96b3:0x129,_0x106292:0x16,_0x1b649d:0x13,_0x21a6c6:0x3d,_0xa1d3ba:0xc,_0x2bcb83:0x7,_0x35bb61:0x28,_0xf841fb:0xeb,_0x522f57:0x132,_0x4ad65f:0x13f,_0x3507f0:0x122,_0x22ba2a:0x11e,_0x4fa898:0x30,_0x4ef563:0x10b,_0x420a9a:0x125,_0x3c5013:0x122},_0x14c6be={_0x553b1c:0x3e0,_0x5cd7bc:0x102},_0x4ecbac={_0x395098:0x261},_0x1aae3e={'FPudN':function(_0x551a90){return _0x551a90();},'pBHBQ':function(_0x489866,_0x4c8326){return _0x489866!==_0x4c8326;},'UIzjZ':function(_0x3e0285,_0x529bac){return _0x3e0285(_0x529bac);},'bSgrL':function(_0x18940b,_0x36990c){return _0x18940b!==_0x36990c;},'qqTgn':_0xe2ec82(0x19,-_0x57ab25._0x1ce078,-_0x57ab25._0x358b2b,-_0x57ab25._0x1621ad),'VgfPR':_0xe2ec82(-0x2f,-_0x57ab25._0x44b787,-0xd,-_0x57ab25._0x5a7870),'lHtXp':function(_0x54fc0c,_0x4562ff){return _0x54fc0c(_0x4562ff);},'CGVRp':function(_0x5a8d9d,_0xa916ef){return _0x5a8d9d>_0xa916ef;},'PDFAL':function(_0x115b0e,_0x5ab775){return _0x115b0e===_0x5ab775;},'nrvyz':_0xe2ec82(0xe,-_0x57ab25._0x5004e6,-_0x57ab25._0x26c138,-_0x57ab25._0x2bd50e),'cjGyc':function(_0x5e5a47,_0x336238,_0x12df62){return _0x5e5a47(_0x336238,_0x12df62);}},{findUserById:_0x3264c9,getTeamsManagedBy:_0x278e4a}=await _0x1aae3e['FPudN'](d);if(USER_SCOPED_PERMISSIONS[_0xe2ec82(_0x57ab25._0x367d06,_0x57ab25._0x4ab13a,0x16,_0x57ab25._0x36df39)](_0x321ac7))return _0x1aae3e[_0x259e36(-_0x57ab25._0x2069d3,-0xfd,-_0x57ab25._0x45f47b,-0xf2)](_0xe2ec82(-0x41,-_0x57ab25._0x1165a0,-0x1c,-_0x57ab25._0x559ef6),_0x259e36(-0x13e,-0x164,-_0x57ab25._0x58d8a5,-_0x57ab25._0x5c2d35))?!![]:![];function _0xe2ec82(_0x21e8d9,_0x48c34c,_0x4b8df4,_0x12cca5){return _0x216cca(_0x21e8d9-0xe6,_0x48c34c- -_0x4ecbac._0x395098,_0x4b8df4-0xf3,_0x4b8df4);}const _0x4a2721=await _0x1aae3e[_0x259e36(-0x14c,-0x152,-0x137,-_0x57ab25._0x34df88)](_0x3264c9,_0x197abd);if(!_0x4a2721)return![];if(_0x4a2721[_0x259e36(-0x14e,-_0x57ab25._0x5a7ff9,-_0x57ab25._0x4b3b68,-0x16a)+_0xe2ec82(-0x16,_0x57ab25._0x44b787,-0x2,0x8)]){if(_0x1aae3e[_0xe2ec82(-0x40,-_0x57ab25._0x344e38,-0x3c,_0x57ab25._0x442f80)]('tnMmY',_0x1aae3e['qqTgn']))return!![];else for(const _0x55f589 of _0x284faf[_0xe2ec82(-_0x57ab25._0x11bd95,-_0x57ab25._0x36df39,-0xe,-0x4c)+'s']){_0x3b522b[_0xe2ec82(_0x57ab25._0x2e5787,_0x57ab25._0x367d06,_0x57ab25._0x212bd0,0x23)](_0x55f589);}}if(TEAM_MANAGER_SERVER_PERMISSIONS['includes'](_0x321ac7)){if(_0x1aae3e['VgfPR']===_0x1aae3e['VgfPR']){const _0x26efae=await _0x1aae3e[_0xe2ec82(-_0x57ab25._0x20ee3e,-0x22,0x4,-0x34)](_0x278e4a,_0x197abd);return _0x1aae3e[_0x259e36(-_0x57ab25._0x50f892,-_0x57ab25._0x2e96b3,-0x16a,-0x172)](_0x26efae['length'],0x7d4+-0x1989*-0x1+0x27*-0xdb);}else _0x56c84a['add'](_0x2c17d3);}function _0x259e36(_0x41b326,_0x5ca711,_0x31709e,_0x8a3faf){return _0x4b01e4(_0x41b326- -_0x14c6be._0x553b1c,_0x5ca711-_0x14c6be._0x5cd7bc,_0x31709e-0xa,_0x8a3faf);}if(!_0x173000){const [_0x256444]=_0x321ac7['split'](':');if(SERVER_SCOPED_CATEGORIES[_0xe2ec82(_0x57ab25._0x106292,0x4,0xf,0x25)](_0x256444)){if(_0x1aae3e[_0xe2ec82(-0x2,_0x57ab25._0x1b649d,_0x57ab25._0x21a6c6,-_0x57ab25._0xa1d3ba)](_0x1aae3e[_0xe2ec82(0x1a,-_0x57ab25._0x2bcb83,-_0x57ab25._0x35bb61,0xe)],_0x259e36(-0x117,-_0x57ab25._0xf841fb,-_0x57ab25._0x522f57,-_0x57ab25._0x4ad65f))){const [_0xe16929]=_0x171374['split'](':');if(_0x5d5c3f[_0x259e36(-_0x57ab25._0x3507f0,-0x139,-_0x57ab25._0x22ba2a,-0xfa)](_0xe16929))return![];return![];}else return![];}return![];}const _0x529aa2=await _0x1aae3e[_0xe2ec82(0x3e,0x1b,0x44,_0x57ab25._0x4fa898)](resolveUserPermissions,_0x197abd,_0x173000);return _0x1aae3e[_0x259e36(-_0x57ab25._0x4ef563,-0x109,-_0x57ab25._0x420a9a,-_0x57ab25._0x3c5013)](hasPermissionInSet,_0x529aa2,_0x321ac7);}export async function getVisibleEnvironments(_0x4ae3c8){const _0x273067={_0x40fb98:0x3cb,_0x3673ee:0x3a9,_0x5e6ed6:0x39d,_0x5b15e0:0x3d0,_0x5bb592:0x3d2,_0xa2eb4b:0x3d6,_0x49126c:0x3d2,_0x4bef4b:0x3e4,_0xb77b1a:0x3ba,_0x430b5f:0x3e5,_0x4c328d:0x36b,_0x20add0:0x391,_0x4a6b10:0x377,_0x595c3c:0x355,_0xe35daa:0x352,_0x5db135:0x384,_0x5936d9:0x3f8,_0x343ced:0x3a9,_0x31d411:0x3a3,_0x3ffb6e:0x3ad,_0x37da5b:0x3de,_0x553cdd:0x3be,_0xbd8d08:0x3b8,_0x480680:0x3e0},_0x3832d9={_0x114532:0xdd,_0x4255be:0x143},_0xce45e0={_0x1a1567:0xff,_0x38ca85:0x95};function _0x4a4126(_0x5f53fc,_0x559fa6,_0x92bd8b,_0x748da9){return _0x4b01e4(_0x559fa6-_0xce45e0._0x1a1567,_0x559fa6-_0xce45e0._0x38ca85,_0x92bd8b-0x19c,_0x5f53fc);}const _0x5e2edd={'tneer':function(_0xcbaf7f){return _0xcbaf7f();},'oGVhu':function(_0x45b8a4,_0x48db69){return _0x45b8a4(_0x48db69);},'xlbvL':function(_0x15a8c1){return _0x15a8c1();},'gvzAs':function(_0x4c2670,_0x54488a,_0x32a844){return _0x4c2670(_0x54488a,_0x32a844);},'BacxD':function(_0x31864d,_0x3b9450){return _0x31864d===_0x3b9450;},'GVEAI':_0x5b1ea7(_0x273067._0x40fb98,0x3c0,_0x273067._0x3673ee,0x3a8),'fSHwH':function(_0x40c3f6,_0x486657,_0x3fa981){return _0x40c3f6(_0x486657,_0x3fa981);}},{findUserById:_0x216cc2,getTeamsByUserId:_0x276f4b,getBindingsBySubject:_0x368483,getAllEnvironments:_0x1f39fb}=await _0x5e2edd['tneer'](d),_0x3adcfb=await _0x5e2edd['oGVhu'](_0x216cc2,_0x4ae3c8);if(!_0x3adcfb)return[];if(_0x3adcfb['isServerAd'+_0x5b1ea7(0x375,_0x273067._0x5e6ed6,0x3aa,0x39c)])return await _0x5e2edd[_0x5b1ea7(0x3c6,0x3ce,0x384,0x3ab)](_0x1f39fb);function _0x5b1ea7(_0x32967a,_0x40d6df,_0x1724d7,_0x2b0bd6){return _0x4b01e4(_0x2b0bd6-_0x3832d9._0x114532,_0x40d6df-_0x3832d9._0x4255be,_0x1724d7-0x169,_0x32967a);}const _0x4dc4d3=new Set(),_0x203153=await _0x5e2edd['gvzAs'](_0x368483,_0x4a4126(_0x273067._0x5b15e0,_0x273067._0x5bb592,_0x273067._0xa2eb4b,_0x273067._0x49126c),_0x4ae3c8);for(const _0x215ef2 of _0x203153){if(_0x5e2edd[_0x4a4126(_0x273067._0x4bef4b,_0x273067._0xb77b1a,_0x273067._0x430b5f,0x3ae)](_0x5e2edd[_0x5b1ea7(_0x273067._0x4c328d,_0x273067._0x20add0,0x34e,_0x273067._0x4a6b10)],_0x5e2edd[_0x5b1ea7(_0x273067._0x595c3c,_0x273067._0xe35daa,_0x273067._0x5db135,0x377)]))_0x4dc4d3[_0x4a4126(_0x273067._0x5936d9,0x3d0,_0x273067._0x343ced,_0x273067._0x31d411)](_0x215ef2[_0x5b1ea7(_0x273067._0x3ffb6e,_0x273067._0x37da5b,0x3c5,_0x273067._0x553cdd)+'t']);else return!![];}const _0x2011f9=await _0x276f4b(_0x4ae3c8);for(const _0x235c35 of _0x2011f9){const _0x4ef30d=await _0x5e2edd['fSHwH'](_0x368483,'team',_0x235c35['id']);for(const _0x2d44f of _0x4ef30d){_0x4dc4d3[_0x5b1ea7(0x39f,0x3cd,_0x273067._0xbd8d08,0x3ae)](_0x2d44f[_0x4a4126(0x3c5,_0x273067._0x480680,0x3e9,0x3f5)+'t']);}}return[..._0x4dc4d3];}export async function resolveUserPermissionsAllEnvironments(_0xb95e1a){const _0x72e69a={_0x2d43e9:0xfa,_0x22ce5e:0xf9,_0x3123c4:0xf2,_0x426602:0xaa,_0x505a1e:0xcf,_0x1a6a27:0xdd,_0x60b983:0x141,_0x22dc7c:0x120,_0x39c269:0x16f,_0x2f2b54:0xa8,_0x4d0076:0xd3},_0x4f09d3={_0x7ed759:0x321,_0x2399a:0x12d},_0x493968={_0x40dec8:0x26,_0x115882:0x1a7},_0x23124a={'lhBTS':function(_0x16737f,_0x22185f){return _0x16737f(_0x22185f);},'RLggZ':function(_0x46fdb7,_0x16ab6d){return _0x46fdb7===_0x16ab6d;},'jmAyI':'Bluwn'};function _0x439bce(_0x1e1880,_0x5982b6,_0xcd7380,_0x24e78c){return _0x4b01e4(_0x5982b6- -0x19d,_0x5982b6-_0x493968._0x40dec8,_0xcd7380-_0x493968._0x115882,_0x24e78c);}const _0x588f7f=await _0x23124a[_0x439614(-_0x72e69a._0x2d43e9,-0x120,-_0x72e69a._0x22ce5e,-_0x72e69a._0x3123c4)](getVisibleEnvironments,_0xb95e1a);function _0x439614(_0x519fe1,_0x40e7b4,_0x5ef401,_0xeab1c9){return _0x216cca(_0x519fe1-0x101,_0xeab1c9- -_0x4f09d3._0x7ed759,_0x5ef401-_0x4f09d3._0x2399a,_0x5ef401);}const _0x4eda3e={};for(const _0x2b8394 of _0x588f7f){if(_0x23124a[_0x439614(-_0x72e69a._0x426602,-_0x72e69a._0x505a1e,-_0x72e69a._0x1a6a27,-0xc6)](_0x439bce(0x15e,_0x72e69a._0x60b983,_0x72e69a._0x22dc7c,_0x72e69a._0x39c269),_0x23124a[_0x439614(-_0x72e69a._0x2f2b54,-_0x72e69a._0x4d0076,-0xa8,-0xb9)]))return _0x563a2e;else _0x4eda3e[_0x2b8394]=await resolveUserPermissions(_0xb95e1a,_0x2b8394);}return _0x4eda3e;}function _0x4b01e4(_0x333972,_0x9b0f7e,_0x28d5ea,_0x2e99c0){return _0x24a4(_0x333972-0x1b7,_0x2e99c0);}export async function hasPermissionOnAnyEnvironment(_0x2bad96,_0x49a859){const _0x1445ed={_0x1005e4:0x4,_0x338370:0x1f9,_0xe27e9f:0x21f,_0x5558c2:0x215,_0x4357b0:0x21c,_0x315043:0x223,_0x3d161d:0x69,_0x1a8164:0x28,_0x186f8b:0x41,_0x1bb739:0x4a,_0x2174be:0x65,_0x27ca00:0x30,_0x3f3760:0x2c},_0x503b2c={_0x19d6c3:0x1e6},_0x51e0f7={_0x3791af:0x156},_0x41c8b6={'emaPv':function(_0x242721){return _0x242721();},'quzPv':function(_0x2adbb9,_0x19c9b5){return _0x2adbb9(_0x19c9b5);},'YTyos':function(_0x1e22a3,_0x51c5ea){return _0x1e22a3(_0x51c5ea);},'BhvrC':function(_0x451a88,_0x48a86e,_0x70f143){return _0x451a88(_0x48a86e,_0x70f143);}};function _0x4ffd02(_0x357ee9,_0x34e322,_0x24b3d9,_0x1c2195){return _0x216cca(_0x357ee9-0x1cb,_0x24b3d9- -0x2a7,_0x24b3d9-_0x51e0f7._0x3791af,_0x357ee9);}const {findUserById:_0x392e5e}=await _0x41c8b6[_0x4ffd02(-_0x1445ed._0x1005e4,0xa,-0x1e,0x7)](d),_0x5e608e=await _0x41c8b6[_0x303738(_0x1445ed._0x338370,_0x1445ed._0xe27e9f,_0x1445ed._0x5558c2,_0x1445ed._0x4357b0)](_0x392e5e,_0x2bad96);function _0x303738(_0x2fa548,_0x3b22ec,_0x1eb483,_0x3830cd){return _0x216cca(_0x2fa548-0x1df,_0x3b22ec- -0x24,_0x1eb483-_0x503b2c._0x19d6c3,_0x1eb483);}if(!_0x5e608e)return![];if(_0x5e608e[_0x303738(0x223,0x215,0x217,_0x1445ed._0x315043)+_0x4ffd02(-_0x1445ed._0x3d161d,-_0x1445ed._0x1a8164,-_0x1445ed._0x186f8b,-_0x1445ed._0x1bb739)])return!![];const _0x446915=await _0x41c8b6[_0x4ffd02(-_0x1445ed._0x2174be,-0x4a,-0x43,-_0x1445ed._0x27ca00)](getVisibleEnvironments,_0x2bad96);for(const _0x15a72a of _0x446915){const _0x98f868=await _0x41c8b6[_0x303738(0x282,0x257,0x27f,0x27f)](resolveUserPermissions,_0x2bad96,_0x15a72a);if(_0x41c8b6[_0x4ffd02(-0x7,-0xc,-_0x1445ed._0x3f3760,-0x18)](hasPermissionInSet,_0x98f868,_0x49a859))return!![];}return![];}
@@ -1 +1 @@
1
- (function(_0x14923f,_0x2ab850){const _0x52e06f={_0x2a0461:0x390,_0x4099f0:0x36e,_0x900301:0x396,_0x3aaca5:0x386,_0x45d7cf:0x392,_0x1fa53c:0x379,_0x5b8928:0x382,_0x5291b9:0x387,_0x311359:0x38e,_0x5029cb:0x34f,_0x3cc8a0:0x35d,_0x20aabe:0x21c,_0x2dda62:0x22d,_0x400c9d:0x226,_0x2dd009:0x240,_0x236911:0x38b,_0x538669:0x368},_0x8bb402={_0x715597:0x210},_0x4284aa={_0x271df1:0xb3};function _0x40ce71(_0x40029f,_0x3047d0,_0x18b059,_0x1397d8){return _0x9129(_0x3047d0-_0x4284aa._0x271df1,_0x40029f);}const _0x49dc49=_0x14923f();function _0x37486b(_0x3efc30,_0x34eb14,_0x2e5b14,_0x5f0cc6){return _0x9129(_0x5f0cc6-_0x8bb402._0x715597,_0x34eb14);}while(!![]){try{const _0x23a43a=parseInt(_0x37486b(_0x52e06f._0x2a0461,_0x52e06f._0x4099f0,_0x52e06f._0x900301,0x389))/(-0x2a4+-0x14a9+-0x9d*-0x26)+parseInt(_0x37486b(_0x52e06f._0x3aaca5,0x3a5,0x3a8,_0x52e06f._0x45d7cf))/(0xc*-0x2d+-0x2546+-0x1*-0x2764)*(parseInt(_0x37486b(0x372,0x380,0x35f,0x36d))/(0x1d07+0xb*-0x15b+0x17*-0x9d))+-parseInt(_0x40ce71(0x235,0x214,0x222,0x226))/(-0x14*-0xe7+0x40*0xb+-0x14c8)*(-parseInt(_0x37486b(0x355,_0x52e06f._0x1fa53c,0x354,0x364))/(-0x1f04+-0x29a*-0x2+0x1*0x19d5))+parseInt(_0x37486b(0x395,_0x52e06f._0x5b8928,_0x52e06f._0x5291b9,_0x52e06f._0x311359))/(0x1*0x14cd+-0x11ab+-0x31c)+parseInt(_0x37486b(_0x52e06f._0x5029cb,0x343,_0x52e06f._0x1fa53c,_0x52e06f._0x3cc8a0))/(0xd61*0x1+0x1*-0x1c3+-0xb97)+parseInt(_0x40ce71(_0x52e06f._0x20aabe,_0x52e06f._0x2dda62,_0x52e06f._0x400c9d,_0x52e06f._0x2dd009))/(-0x2a3+0x76e*0x5+-0x227b)*(parseInt(_0x37486b(_0x52e06f._0x236911,0x366,0x397,0x377))/(0x27b+0x1dc4+-0x2036))+-parseInt(_0x37486b(_0x52e06f._0x538669,_0x52e06f._0x1fa53c,0x385,0x37d))/(0x1fb6+-0x1ecf*0x1+-0x11*0xd);if(_0x23a43a===_0x2ab850)break;else _0x49dc49['push'](_0x49dc49['shift']());}catch(_0x2b1516){_0x49dc49['push'](_0x49dc49['shift']());}}}(_0x13e7,-0x1*-0x2667e+-0x1*-0x3798f+-0x3fd91));function _0x9129(_0x16f52e,_0x468ae5){_0x16f52e=_0x16f52e-(-0xc0+-0xba2+0xda3);const _0xa18042=_0x13e7();let _0x502d01=_0xa18042[_0x16f52e];if(_0x9129['CpykOq']===undefined){var _0x48177f=function(_0x20fdfb){const _0x52458e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xd81aa4='',_0x18acd7='';for(let _0xcbb615=0x1*0x15b9+0x1154+-0x270d,_0xf1c7ba,_0x34cb13,_0x2dff4b=-0x30d*0x1+0x4cd+0xe*-0x20;_0x34cb13=_0x20fdfb['charAt'](_0x2dff4b++);~_0x34cb13&&(_0xf1c7ba=_0xcbb615%(-0x110d*-0x1+-0x17e1+0x6d8)?_0xf1c7ba*(0x1d12+0x30e+-0x1fe0)+_0x34cb13:_0x34cb13,_0xcbb615++%(0x1fc0+0x955*-0x3+-0x3bd))?_0xd81aa4+=String['fromCharCode'](0x2082+0x7*0x4ca+-0x4109&_0xf1c7ba>>(-(0x1*-0x1e44+0x2*-0xd06+0x3852)*_0xcbb615&-0x2*-0x55d+0x5a1+-0x1055)):-0x2*-0x3bf+0x14f*0xa+-0x1494){_0x34cb13=_0x52458e['indexOf'](_0x34cb13);}for(let _0x2c650c=0xca4+-0x7*-0x346+-0x3*0xbda,_0x31bcd4=_0xd81aa4['length'];_0x2c650c<_0x31bcd4;_0x2c650c++){_0x18acd7+='%'+('00'+_0xd81aa4['charCodeAt'](_0x2c650c)['toString'](0x2*-0x117b+0x25c*0xa+0x13*0x9a))['slice'](-(0x2*0x745+0x1fb5+-0x2e3d));}return decodeURIComponent(_0x18acd7);};_0x9129['TYZTtb']=_0x48177f,_0x9129['XOEsIN']={},_0x9129['CpykOq']=!![];}const _0x4fe868=_0xa18042[0x97+-0x1*-0x2009+-0x60*0x57],_0x2ed783=_0x16f52e+_0x4fe868,_0x18004b=_0x9129['XOEsIN'][_0x2ed783];return!_0x18004b?(_0x502d01=_0x9129['TYZTtb'](_0x502d01),_0x9129['XOEsIN'][_0x2ed783]=_0x502d01):_0x502d01=_0x18004b,_0x502d01;}export function collectObjectiveCascadeUnpinTargets(_0xb62a5a,_0x47695e){const _0x4f3e3f={_0x1e69d3:0x23e,_0x36e9db:0x256,_0x492a4e:0x25d,_0x54edf6:0x4d,_0x592d6c:0x43,_0x3657a0:0x8,_0x25b8ca:0xd,_0x27e858:0x21,_0x2211b2:0x22c,_0x2a5a76:0x22d,_0x219908:0x20d,_0x4e0e97:0x22a,_0x1981d3:0x2,_0x289b36:0x10,_0x298cab:0x34,_0xa81a4a:0x18,_0x1f00af:0x16,_0x34620f:0x23e,_0x2e73cb:0x22f,_0x2870a9:0x234,_0x487a39:0x23d,_0x3abd18:0x209,_0x2be987:0x40,_0x1987ca:0x228,_0x4a47d8:0x239,_0x35e645:0x21c,_0x52ded5:0x1d,_0x1d17e1:0x10,_0x50e6cf:0x3b,_0x479e6f:0x32,_0x25516a:0x5c,_0x43f18a:0x26,_0x8cdce1:0x22b,_0x37437b:0x23a,_0x1ed1f1:0x20f,_0x2de661:0x22d,_0x5d61a6:0x249,_0x202009:0x266,_0x23e77f:0x234,_0x273f07:0x25,_0xbc906f:0x244,_0x36470c:0x24e,_0x3209af:0x243,_0x32de8c:0x17,_0x456992:0x1e,_0x4a4e69:0x26,_0x451beb:0x13,_0x3caa78:0x20,_0x5be9fd:0x12},_0x5aaa52={_0x14d5c6:0xe0},_0x1694ea={_0xb1ae3d:0x17d},_0x3cbaaa={_0x3d7f56:0x43f,_0x4259da:0x42b,_0x344875:0x434,_0x35ebb2:0x381,_0x2c16ab:0x3a8,_0xe128d5:0x3ad,_0x13a72a:0x3a9,_0x14c412:0x398,_0x1cab25:0x399,_0x887119:0x3a8,_0x18d6e6:0x395,_0x5bbc36:0x3a5,_0x138db6:0x3ab,_0x4b9266:0x3b3,_0x4ef1:0x366,_0x31a75d:0x42d,_0x4545be:0x3a3,_0x2bd196:0x3a2,_0x554e24:0x40d,_0x239827:0x442,_0x119f90:0x42b,_0x253509:0x39a,_0x192104:0x390,_0x5f14ec:0x424,_0x4afc63:0x3ea,_0x58bf5f:0x411,_0x3c681d:0x44c,_0x2d49d1:0x393},_0x11f8b2={_0x5e3775:0x41},_0x5eacd6={'ULOTI':function(_0x375faf,_0x3a05b0){return _0x375faf===_0x3a05b0;},'SdSEA':_0x113e79(_0x4f3e3f._0x1e69d3,_0x4f3e3f._0x36e9db,_0x4f3e3f._0x492a4e,0x25b),'toXQp':function(_0xb10335,_0x234173){return _0xb10335(_0x234173);},'KEksf':function(_0x3b54af,_0x2ae568){return _0x3b54af(_0x2ae568);},'vEYfF':function(_0x23a7aa,_0x190f2b){return _0x23a7aa>_0x190f2b;},'hAUPF':function(_0x3226ad,_0x1a0fc2){return _0x3226ad!==_0x1a0fc2;},'FmweI':_0x30e749(-_0x4f3e3f._0x54edf6,-0x3c,-0x1c,-_0x4f3e3f._0x592d6c),'YpmDV':_0x30e749(0x12,-_0x4f3e3f._0x3657a0,-_0x4f3e3f._0x25b8ca,-_0x4f3e3f._0x27e858),'IEoLh':function(_0x519968,_0x1fbee3){return _0x519968===_0x1fbee3;},'xIdqu':_0x113e79(_0x4f3e3f._0x2211b2,_0x4f3e3f._0x2a5a76,_0x4f3e3f._0x219908,_0x4f3e3f._0x4e0e97)},_0x144d7e=new Set(),_0x5b329a=new Set(),_0x2c2c9b=_0x544865=>{const _0x30482e={_0x26fbe4:0x1cc,_0x35e68b:0x144};function _0x1032d3(_0x3442a,_0x3884c5,_0x47ae87,_0xdd7009){return _0x113e79(_0x3442a-0x1e4,_0x3884c5,_0x47ae87-_0x30482e._0x26fbe4,_0xdd7009-_0x30482e._0x35e68b);}function _0x3b4cbb(_0x28cb9c,_0x1b9263,_0x291d75,_0x45e61f){return _0x113e79(_0x28cb9c-0x14c,_0x1b9263,_0x291d75-_0x11f8b2._0x5e3775,_0x45e61f-0x150);}for(const [_0x5c325a,_0x412e93]of _0xb62a5a[_0x1032d3(_0x3cbaaa._0x3d7f56,_0x3cbaaa._0x4259da,_0x3cbaaa._0x344875,0x423)]()){_0x412e93?.[_0x3b4cbb(0x383,_0x3cbaaa._0x35ebb2,0x384,0x384)+'ctiveId']===_0x544865&&_0x5eacd6[_0x3b4cbb(_0x3cbaaa._0x2c16ab,0x3b0,_0x3cbaaa._0xe128d5,_0x3cbaaa._0x13a72a)](_0x412e93?.[_0x3b4cbb(_0x3cbaaa._0x14c412,0x39e,_0x3cbaaa._0x1cab25,_0x3cbaaa._0x887119)],_0x5eacd6[_0x3b4cbb(0x372,0x365,0x382,0x386)])&&(_0x144d7e[_0x3b4cbb(_0x3cbaaa._0x18d6e6,0x3a0,_0x3cbaaa._0x5bbc36,_0x3cbaaa._0x138db6)](_0x5c325a),_0x5eacd6['toXQp'](_0x2c2c9b,_0x5c325a));if(_0x5eacd6[_0x3b4cbb(0x3a8,_0x3cbaaa._0x14c412,_0x3cbaaa._0x4b9266,0x39b)](_0x412e93?.[_0x3b4cbb(0x386,0x37a,0x371,_0x3cbaaa._0x4ef1)+'ctiveId'],_0x544865)){_0x144d7e[_0x1032d3(_0x3cbaaa._0x31a75d,0x446,0x436,0x417)](_0x5c325a);if(_0x412e93[_0x3b4cbb(0x39a,_0x3cbaaa._0x4545be,_0x3cbaaa._0x2bd196,0x3b0)])_0x5b329a[_0x1032d3(_0x3cbaaa._0x31a75d,_0x3cbaaa._0x554e24,_0x3cbaaa._0x239827,_0x3cbaaa._0x119f90)](_0x412e93[_0x3b4cbb(0x39a,_0x3cbaaa._0x253509,0x3b4,_0x3cbaaa._0x192104)]);if(_0x412e93[_0x1032d3(0x406,_0x3cbaaa._0x5f14ec,_0x3cbaaa._0x4afc63,_0x3cbaaa._0x58bf5f)+_0x1032d3(0x445,0x45c,0x447,_0x3cbaaa._0x3c681d)])_0x5b329a['add'](_0x412e93['originalGr'+_0x3b4cbb(0x3ad,0x3ae,_0x3cbaaa._0x2d49d1,0x3c2)]);}}};_0x5eacd6[_0x30e749(-0x1f,-0x2c,-0x18,-0x18)](_0x2c2c9b,_0x47695e);function _0x30e749(_0x29fbff,_0xfde87e,_0x18aeaa,_0x4b0929){return _0x9129(_0xfde87e- -_0x1694ea._0xb1ae3d,_0x4b0929);}if(_0x5eacd6['vEYfF'](_0x5b329a['size'],-0x1f1a*-0x1+0x2b*-0xbd+0xb*0xf))for(const [_0x44bdff,_0x4da4c8]of _0xb62a5a[_0x30e749(-0xc,-_0x4f3e3f._0x1981d3,_0x4f3e3f._0x289b36,0x12)]()){if(_0x5eacd6['hAUPF'](_0x5eacd6[_0x30e749(-0x1e,-_0x4f3e3f._0x298cab,-_0x4f3e3f._0xa81a4a,-_0x4f3e3f._0x1f00af)],_0x5eacd6[_0x113e79(0x240,_0x4f3e3f._0x34620f,_0x4f3e3f._0x2e73cb,0x240)])){if(!_0x4da4c8)continue;const _0x4d3572=_0x5eacd6[_0x113e79(0x224,0x222,_0x4f3e3f._0x2870a9,0x218)](_0x4da4c8[_0x113e79(0x225,_0x4f3e3f._0x487a39,_0x4f3e3f._0x3abd18,0x22c)],_0x5eacd6['xIdqu'])||_0x5eacd6[_0x30e749(-_0x4f3e3f._0x2be987,-0x39,-0x2e,-0x4b)](_0x4da4c8[_0x113e79(_0x4f3e3f._0x1987ca,0x220,_0x4f3e3f._0x4a47d8,_0x4f3e3f._0x35e645)+'k'],!![]);if(!_0x4d3572)continue;const _0x279a66=_0x4da4c8[_0x30e749(-_0x4f3e3f._0x52ded5,-0xf,_0x4f3e3f._0x1d17e1,-0x18)]||_0x4da4c8[_0x30e749(-0x55,-_0x4f3e3f._0x50e6cf,-_0x4f3e3f._0x479e6f,-_0x4f3e3f._0x25516a)+_0x30e749(_0x4f3e3f._0x43f18a,0x4,0xe,_0x4f3e3f._0xa81a4a)];_0x279a66&&_0x5b329a[_0x113e79(_0x4f3e3f._0x8cdce1,_0x4f3e3f._0x37437b,_0x4f3e3f._0x1ed1f1,_0x4f3e3f._0x2de661)](_0x279a66)&&_0x144d7e[_0x113e79(_0x4f3e3f._0x5d61a6,0x236,_0x4f3e3f._0x202009,_0x4f3e3f._0x23e77f)](_0x44bdff);}else return;}_0x144d7e[_0x30e749(-0x39,-0x2e,-0x47,-_0x4f3e3f._0x273f07)](_0x47695e);const _0x11bea9={};function _0x113e79(_0x2686b4,_0x508bf7,_0x4303b2,_0x21c6f6){return _0x9129(_0x2686b4-_0x5aaa52._0x14d5c6,_0x508bf7);}return _0x11bea9[_0x113e79(_0x4f3e3f._0xbc906f,_0x4f3e3f._0x36470c,_0x4f3e3f._0x3209af,_0x4f3e3f._0x3209af)+_0x30e749(-0x12,-_0x4f3e3f._0x32de8c,-0xb,-_0x4f3e3f._0x456992)]=_0x144d7e,_0x11bea9['affectedGr'+_0x30e749(-_0x4f3e3f._0x4a4e69,-_0x4f3e3f._0x451beb,-_0x4f3e3f._0x3caa78,-_0x4f3e3f._0x5be9fd)]=_0x5b329a,_0x11bea9;}function _0x13e7(){const _0x186215=['nJe0nZC5mfH4BK90vG','z3jVDxbjza','ChvZAa','AxnqAw5Uzwq','r0jMzMi','tgjUu3G','CKXjzwO','rM9XvKi','tgPeuhG','DNDrCu4','rNzfuxO','seL4z1e','mtG2mdCXvhvOsLL0','mZG5nMrVBgXuvq','zw50CMLLCW','vuXpveK','BKPmue4','ody1mtq2s1bKyNDh','q1j6wgi','Bgj0D3y','B3vWswq','mtq1nZKWvNbQsfDt','vunjEu0','tfLTy2e','B3jPz2LUywXhCG','AK9wELa','suvVtgG','DgfZA1r5Cgu','u2rtrue','su5yB3G','AxnkDwrNzvrHCW','rM13zuK','yM94ALu','AgfZ','ANvKz2u','mte1nJiWneL1svjgAG','uMHRuwS','zgvSzxrL','DxDxqLq','s0vRC2y','B25eCNm','sgroz2W','mtbuse9lv24','yxf4Bgi','EfHWv28','CgfYzw50t2jQzq','u1nIv2i','z2v0','C291CMnLt2jQzq','zxPNqum','zeHeCfO','m2fmEu5XAa','B2jQzwn0AxzL','wvnbEgG','wxbTrfy','ndG3nLzovwHAzG','wNfMugC','svryB1i','DgfZA0LKC1rVqW','y3rPDMvjza','B25ZAwrLCG','mZa5nMzIyLvtyW','zgf0sNu','ywrK','B3vWswrZ','ueLdC1i','C3rHDhvZ'];_0x13e7=function(){return _0x186215;};return _0x13e7();}export function findJudgeTasksForGroup(_0x12619d,_0x3ab7dc){const _0x42c5a4={_0xd46b92:0x41c,_0x111b3c:0x45a,_0x6c6540:0x451,_0x3b612e:0x442,_0x28057c:0x46f,_0x46652e:0x24d,_0x77a9e:0x44a,_0x5175ea:0x463,_0x4d317a:0x265,_0x3dfd89:0x42b,_0x1f09a9:0x25b,_0x1a5b3d:0x25f,_0x513cbf:0x235,_0x253f8f:0x233,_0x3dfb38:0x42a,_0x452258:0x440,_0x55a6eb:0x432,_0xb928db:0x460,_0x5cc390:0x425,_0x174533:0x413,_0x2dff26:0x40f},_0x26da31={'RhkQk':function(_0x19eda9,_0x2cd523){return _0x19eda9(_0x2cd523);},'UCIyM':function(_0x1ed4d0,_0x128967){return _0x1ed4d0===_0x128967;},'rLIej':'judge','KUmXh':function(_0x37a0ad,_0x1f15c3){return _0x37a0ad===_0x1f15c3;},'uwWBT':function(_0x2afc99,_0x56c0c1){return _0x2afc99===_0x56c0c1;},'pNrPV':function(_0x466d61,_0x55a51e){return _0x466d61===_0x55a51e;},'HdNgl':_0x436d1c(0x42c,0x413,0x410,_0x42c5a4._0xd46b92)};function _0x436d1c(_0x3db910,_0x355cf0,_0x5e5fa5,_0x3e1d4b){return _0x9129(_0x3db910-0x2d7,_0x5e5fa5);}const _0xd47224=new Set();function _0x48a95d(_0x359958,_0x32eae4,_0x24e55a,_0x19dcab){return _0x9129(_0x19dcab- -0x3a1,_0x24e55a);}if(!_0x3ab7dc)return _0xd47224;for(const [_0x4a8d55,_0x521255]of _0x12619d['entries']()){if(!_0x521255)continue;const _0x44e745=_0x26da31[_0x436d1c(_0x42c5a4._0x111b3c,_0x42c5a4._0x6c6540,_0x42c5a4._0x3b612e,_0x42c5a4._0x28057c)](_0x521255[_0x48a95d(-0x258,-0x25b,-_0x42c5a4._0x46652e,-0x25c)],_0x26da31[_0x436d1c(_0x42c5a4._0x77a9e,0x44a,_0x42c5a4._0x5175ea,0x465)])||_0x26da31['KUmXh'](_0x521255[_0x48a95d(-0x248,-_0x42c5a4._0x4d317a,-0x23f,-0x259)+'k'],!![]);if(!_0x44e745)continue;const _0x551694=_0x521255[_0x436d1c(0x445,0x448,0x461,_0x42c5a4._0x3dfd89)]||_0x521255[_0x48a95d(-0x275,-0x244,-_0x42c5a4._0x1f09a9,-_0x42c5a4._0x1a5b3d)+_0x436d1c(0x458,0x46e,0x461,0x46c)];_0x26da31[_0x48a95d(-_0x42c5a4._0x513cbf,-0x250,-_0x42c5a4._0x253f8f,-0x251)](_0x551694,_0x3ab7dc)&&(_0x26da31['pNrPV'](_0x26da31['HdNgl'],_0x26da31[_0x436d1c(_0x42c5a4._0x3dfb38,0x40a,0x422,0x433)])?_0xd47224[_0x436d1c(_0x42c5a4._0x452258,_0x42c5a4._0x55a6eb,_0x42c5a4._0xb928db,_0x42c5a4._0x77a9e)](_0x4a8d55):_0x26da31[_0x436d1c(_0x42c5a4._0x5cc390,_0x42c5a4._0x174533,0x40b,_0x42c5a4._0x2dff26)](_0x283c5a,_0x3f8769));}return _0xd47224;}export function findOrphanedAncestorObjectives(_0x12a14f,_0x349015){const _0x14f861={_0x5081f8:0xbe,_0x270887:0x91,_0xedd78:0x26c,_0x481a75:0x26b,_0x1f7c3f:0x293,_0x79ce12:0x27f,_0x25897a:0x26d,_0x123277:0x24a,_0xadcada:0x24c,_0x319f1a:0xb8,_0x51df55:0x99,_0x1c7fd1:0xc4,_0x3a9704:0xa8,_0xd3b07a:0x264,_0x1e9fa7:0x277,_0x178235:0x286,_0x80d79a:0xae,_0x25b703:0xc3,_0x10aa02:0x7a,_0x58640b:0xaf,_0x31834e:0x8b,_0x55f0fa:0x79,_0x4558e0:0x276,_0x101f71:0x6e,_0x48eff3:0x90,_0x9414fa:0x28f,_0x591ed8:0x253,_0x4d4e23:0x25c,_0x5865bf:0x273,_0x1433bf:0x93,_0x2ff726:0x95,_0x5a4d73:0x29d,_0x486afa:0x2a5,_0x3a58b3:0xa2},_0x2d1715={_0x9cfa95:0x549,_0x3fe4eb:0x546,_0x32164a:0x53a,_0x387334:0x551,_0x4bd01b:0x54a,_0xb49c42:0x1e2,_0x29dca4:0x201,_0x4cf23a:0x1d1,_0x1e2e28:0x538,_0x37b929:0x51f,_0x1d6dd2:0x537,_0x330304:0x522,_0x47b4c2:0x556,_0x1a03b0:0x219,_0x495a8f:0x206,_0x423cc0:0x523,_0x5145ba:0x51b,_0x52d976:0x1f6,_0x224c33:0x1f2,_0x2730a8:0x53d,_0x1f11e2:0x542,_0x2f9dc3:0x52a,_0x4bf863:0x547,_0x385137:0x4f5,_0x43e4ab:0x515,_0xe0f05a:0x207,_0x5de8ad:0x202,_0x458848:0x1f7,_0x1e2359:0x1fc,_0x10b1ca:0x1f4,_0x1b7cb8:0x1ff,_0x4fa83f:0x53b,_0x5111fa:0x54d,_0x127843:0x554,_0x33622f:0x1e4,_0x3de424:0x1ef,_0x216358:0x1f0,_0x42208c:0x1e0,_0x48afe6:0x1de,_0x1e1de2:0x1e0,_0x4b6f42:0x541,_0x11e314:0x53e,_0xa779c:0x54e,_0x4b48e6:0x558,_0x5845f6:0x546,_0x1b892d:0x565,_0x36350b:0x1d4,_0x1ab881:0x209,_0x2f1a3d:0x208,_0x51ae7a:0x20a,_0x585755:0x221,_0x1a8f66:0x1eb,_0x320092:0x1cb,_0x24ce00:0x1ec,_0x5504c8:0x1f8,_0x3e6c49:0x215,_0x315c09:0x505,_0x80e344:0x52e,_0x190d4e:0x519,_0xfb3d83:0x537,_0x960844:0x540,_0x15736c:0x53b,_0x46cc25:0x1d0,_0x2943ed:0x1fc,_0x4d4d68:0x4fe,_0x2934bd:0x4f5,_0x2a5633:0x1c5,_0x5a5aec:0x1eb,_0x1de27c:0x1d2,_0x5465fa:0x553,_0x530dd5:0x1e6,_0xdbb9a6:0x553,_0x2240f8:0x52f,_0x429ad5:0x216,_0x290a9d:0x535,_0x10af04:0x53d,_0x239011:0x536,_0x258d50:0x51e,_0x2fb139:0x54c,_0x27f204:0x52f,_0x2324fb:0x1dd,_0x341757:0x20e,_0x103a51:0x528,_0x21264f:0x535,_0x433662:0x529,_0x5dd0d1:0x544,_0x356549:0x526},_0x5634c3={_0x3fe08e:0x2a,_0x558988:0x7b1,_0x2ceef3:0x1c},_0x287c23={_0x3854e9:0x3df},_0x21b5ef={_0x19ebc9:0x1fe},_0x1d3b09={'onDrs':function(_0x5c0b65,_0x54f379){return _0x5c0b65(_0x54f379);},'FoqVB':_0x42bee0(-0x7e,-_0x14f861._0x5081f8,-_0x14f861._0x270887,-0xa0),'ITXoR':function(_0x5658a5,_0x36f7db){return _0x5658a5===_0x36f7db;},'CRzXb':_0x287105(-_0x14f861._0xedd78,-_0x14f861._0x481a75,-0x26e,-0x25a),'LbnSx':_0x287105(-_0x14f861._0x481a75,-_0x14f861._0x1f7c3f,-0x274,-_0x14f861._0x79ce12),'YSAxh':function(_0xbcc8cb,_0x205fe7){return _0xbcc8cb!==_0x205fe7;},'jOVzP':function(_0x1e332e,_0x5edf48){return _0x1e332e===_0x5edf48;},'PkHzu':_0x287105(-_0x14f861._0x25897a,-_0x14f861._0x123277,-0x268,-_0x14f861._0xadcada),'HIxgQ':_0x42bee0(-0x82,-_0x14f861._0x319f1a,-0xa8,-0x9c),'immCN':function(_0xee43d7,_0x5d1833){return _0xee43d7===_0x5d1833;},'vwQqN':function(_0x40424a,_0x486174){return _0x40424a===_0x486174;},'lbtwv':function(_0x3980a3,_0x5dfed9){return _0x3980a3&&_0x5dfed9;},'ezgAC':'AsTav','xXpWo':function(_0x457cc1,_0x243886){return _0x457cc1===_0x243886;},'datJu':'RusnE','nJLPN':function(_0x4b996e,_0x180d0f){return _0x4b996e(_0x180d0f);}},_0x3c4063=new Set(_0x349015),_0x303d4a=[],_0xa1452b=new Set();function _0x42bee0(_0x248976,_0x2a0d54,_0x4fbcd7,_0xd1b8c3){return _0x9129(_0xd1b8c3- -_0x21b5ef._0x19ebc9,_0x248976);}const _0x54a8c2=new Set();for(const _0x2d4f9e of _0x349015){const _0x485e1a=_0x12a14f['get'](_0x2d4f9e);if(_0x485e1a?.[_0x42bee0(-0x88,-0xbd,-0x98,-0xa4)+_0x42bee0(-0xb7,-0x9e,-0x9b,-_0x14f861._0x51df55)]){if(_0x1d3b09[_0x42bee0(-_0x14f861._0x1c7fd1,-0xaf,-0xc2,-_0x14f861._0x3a9704)](_0x1d3b09[_0x287105(-_0x14f861._0xd3b07a,-0x260,-_0x14f861._0x1e9fa7,-_0x14f861._0x178235)],_0x1d3b09['datJu']))_0x54a8c2[_0x42bee0(-0xad,-_0x14f861._0x80d79a,-0x78,-0x95)](_0x485e1a[_0x42bee0(-0x8f,-0xb0,-_0x14f861._0x25b703,-0xa4)+'ctiveId']);else{_0x4c63a2[_0x42bee0(-0x91,-_0x14f861._0x10aa02,-_0x14f861._0x58640b,-0x95)](_0x481e47);if(_0x1ed2ff[_0x42bee0(-_0x14f861._0x31834e,-0x73,-_0x14f861._0x55f0fa,-0x90)])_0x295203[_0x287105(-0x27d,-0x27a,-_0x14f861._0x4558e0,-0x279)](_0x6776d1[_0x42bee0(-_0x14f861._0x101f71,-_0x14f861._0x270887,-0xa2,-_0x14f861._0x48eff3)]);if(_0x2f3e0c[_0x287105(-0x29c,-_0x14f861._0x1f7c3f,-0x29d,-_0x14f861._0x9414fa)+_0x287105(-_0x14f861._0x591ed8,-_0x14f861._0x4d4e23,-0x25e,-_0x14f861._0x5865bf)])_0x17a8cb[_0x42bee0(-_0x14f861._0x1433bf,-0x8e,-0xb4,-_0x14f861._0x2ff726)](_0x355120[_0x287105(-0x2aa,-0x2b0,-_0x14f861._0x5a4d73,-_0x14f861._0x486afa)+'oupId']);}}}function _0x287105(_0x1b7084,_0x451657,_0x475b7b,_0x19635b){return _0x9129(_0x475b7b- -_0x287c23._0x3854e9,_0x1b7084);}const _0x5ed976=_0x3b438e=>{const _0x58ccf9={_0x31f3e3:0x123,_0x26d67a:0x22b};function _0x1a73ee(_0x2acbfa,_0x55b723,_0x460919,_0x321f4a){return _0x287105(_0x460919,_0x55b723-_0x5634c3._0x3fe08e,_0x55b723-_0x5634c3._0x558988,_0x321f4a-_0x5634c3._0x2ceef3);}function _0x5c2f56(_0xf27f2e,_0x124173,_0x3fc013,_0x15270f){return _0x42bee0(_0x124173,_0x124173-0xab,_0x3fc013-0x71,_0xf27f2e- -0x156);}const _0x1cf567={'bIYyY':function(_0x5e46a6,_0x1d6c0){return _0x5e46a6===_0x1d6c0;},'boxjU':_0x1d3b09[_0x1a73ee(_0x2d1715._0x9cfa95,_0x2d1715._0x3fe4eb,0x531,0x560)],'dHDpZ':function(_0x2f5b6b,_0x7db69){return _0x2f5b6b(_0x7db69);},'INXox':function(_0x4c11bb,_0x549a25){function _0x2bd31a(_0x1e0b87,_0x545b07,_0x594095,_0x532298){return _0x1a73ee(_0x1e0b87-_0x58ccf9._0x31f3e3,_0x532298- -_0x58ccf9._0x26d67a,_0x545b07,_0x532298-0x108);}return _0x1d3b09[_0x2bd31a(0x2fe,0x2f1,0x2ea,0x30a)](_0x4c11bb,_0x549a25);}};if(_0x1d3b09[_0x1a73ee(_0x2d1715._0x32164a,0x535,0x54a,0x542)](_0x1d3b09[_0x1a73ee(0x56e,_0x2d1715._0x387334,0x53f,_0x2d1715._0x4bd01b)],_0x1d3b09[_0x5c2f56(-_0x2d1715._0xb49c42,-_0x2d1715._0x29dca4,-_0x2d1715._0x4cf23a,-0x1d1)]))_0x6f1924[_0x1a73ee(_0x2d1715._0x1e2e28,0x53b,0x52d,0x55d)](_0x3693e2[_0x1a73ee(0x51b,0x52c,_0x2d1715._0x37b929,0x514)+_0x1a73ee(0x530,_0x2d1715._0x1d6dd2,_0x2d1715._0x330304,0x52b)]);else{if(_0xa1452b['has'](_0x3b438e))return;_0xa1452b[_0x1a73ee(0x532,0x53b,_0x2d1715._0x3fe4eb,_0x2d1715._0x47b4c2)](_0x3b438e);const _0x508586=_0x12a14f[_0x5c2f56(-0x1fb,-_0x2d1715._0x1a03b0,-0x1f4,-_0x2d1715._0x495a8f)](_0x3b438e);if(!_0x508586||_0x1d3b09[_0x1a73ee(_0x2d1715._0x423cc0,0x531,_0x2d1715._0x5145ba,0x537)](_0x508586[_0x1a73ee(0x53e,0x53e,0x52b,0x523)],_0x5c2f56(-_0x2d1715._0x52d976,-0x1ef,-_0x2d1715._0x224c33,-0x1fb))||!_0x508586[_0x1a73ee(0x550,0x542,0x550,0x55c)])return;let _0x48bd64=![];for(const [_0xaf1d8f,_0x4d56ac]of _0x12a14f['entries']()){if(_0x4d56ac?.['sourceObje'+'ctiveId']===_0x3b438e&&_0x4d56ac[_0x1a73ee(_0x2d1715._0x2730a8,_0x2d1715._0x1f11e2,_0x2d1715._0x2f9dc3,_0x2d1715._0x4bf863)]&&!_0x3c4063['has'](_0xaf1d8f)){if(_0x1d3b09[_0x1a73ee(_0x2d1715._0x385137,_0x2d1715._0x43e4ab,0x4fe,0x522)](_0x1d3b09['PkHzu'],_0x5c2f56(-0x1fc,-0x1ee,-0x1e9,-_0x2d1715._0xe0f05a)))_0x1d3b09[_0x5c2f56(-_0x2d1715._0x5de8ad,-_0x2d1715._0x458848,-0x1fb,-_0x2d1715._0x1e2359)](_0x379fc2,_0x47ff7d[_0x5c2f56(-0x1fd,-0x20d,-_0x2d1715._0x10b1ca,-_0x2d1715._0x1b7cb8)+_0x1a73ee(0x51e,0x537,_0x2d1715._0x4fa83f,0x551)]);else{_0x48bd64=!![];break;}}}let _0x4fcce6=![];for(const [_0xe18e79,_0x268589]of _0x12a14f['entries']()){if(_0x1d3b09['HIxgQ']===_0x1d3b09[_0x1a73ee(0x545,0x54a,_0x2d1715._0x5111fa,_0x2d1715._0x127843)]){if(_0x1d3b09['immCN'](_0x268589?.[_0x5c2f56(-0x1fd,-0x206,-0x1fb,-_0x2d1715._0x33622f)+_0x5c2f56(-_0x2d1715._0x3de424,-_0x2d1715._0x216358,-0x1d7,-_0x2d1715._0x42208c)],_0x3b438e)&&_0x1d3b09[_0x5c2f56(-_0x2d1715._0x48afe6,-_0x2d1715._0x1e1de2,-0x1f2,-0x1c8)](_0x268589[_0x1a73ee(_0x2d1715._0x4b6f42,_0x2d1715._0x11e314,_0x2d1715._0xa779c,0x53e)],_0x1d3b09[_0x1a73ee(_0x2d1715._0x4b48e6,_0x2d1715._0x5845f6,0x53e,_0x2d1715._0x1e2e28)])&&_0x268589['isPinned']&&!_0x3c4063['has'](_0xe18e79)){_0x4fcce6=!![];break;}}else for(const [_0x4ffa33,_0x2f1d2b]of _0x177238[_0x1a73ee(_0x2d1715._0x1b892d,0x54d,0x565,0x538)]()){_0x1cf567['bIYyY'](_0x2f1d2b?.[_0x1a73ee(0x511,0x529,0x53e,0x53c)+'ctiveId'],_0x1c75ca)&&_0x1cf567['bIYyY'](_0x2f1d2b?.[_0x5c2f56(-0x1e8,-_0x2d1715._0x36350b,-_0x2d1715._0x1ab881,-_0x2d1715._0x2f1a3d)],_0x1cf567[_0x5c2f56(-_0x2d1715._0x51ae7a,-_0x2d1715._0x585755,-0x203,-0x204)])&&(_0xabfbbc[_0x5c2f56(-_0x2d1715._0x1a8f66,-_0x2d1715._0x320092,-_0x2d1715._0x24ce00,-0x206)](_0x4ffa33),_0x1cf567[_0x5c2f56(-_0x2d1715._0x5504c8,-0x211,-_0x2d1715._0x3e6c49,-0x1e6)](_0xfe57f8,_0x4ffa33));if(_0x1cf567[_0x1a73ee(_0x2d1715._0x315c09,0x519,_0x2d1715._0x5145ba,_0x2d1715._0x80e344)](_0x2f1d2b?.['sourceObje'+_0x1a73ee(_0x2d1715._0x190d4e,_0x2d1715._0xfb3d83,0x536,0x516)],_0x1dea43)){_0x45deb2['add'](_0x4ffa33);if(_0x2f1d2b[_0x1a73ee(0x559,_0x2d1715._0x960844,0x529,_0x2d1715._0x15736c)])_0x30aef8[_0x5c2f56(-0x1eb,-0x201,-_0x2d1715._0x46cc25,-_0x2d1715._0x2943ed)](_0x2f1d2b[_0x5c2f56(-0x1e6,-0x205,-0x1c8,-_0x2d1715._0x42208c)]);if(_0x2f1d2b[_0x1a73ee(0x525,0x514,_0x2d1715._0x4d4d68,_0x2d1715._0x2934bd)+_0x5c2f56(-0x1d3,-0x1f3,-0x1c2,-_0x2d1715._0x2a5633)])_0x496730[_0x5c2f56(-_0x2d1715._0x5a5aec,-_0x2d1715._0x1de27c,-0x1d7,-0x1cf)](_0x2f1d2b['originalGr'+_0x1a73ee(_0x2d1715._0x387334,_0x2d1715._0x5465fa,0x574,0x561)]);}}}if(_0x1d3b09[_0x5c2f56(-0x1d4,-0x1d1,-0x1bb,-_0x2d1715._0x530dd5)](!_0x48bd64,!_0x4fcce6)){_0x303d4a[_0x5c2f56(-0x1e5,-0x1fc,-0x1d8,-0x1ea)](_0x3b438e),_0x3c4063[_0x1a73ee(_0x2d1715._0xdbb9a6,0x53b,_0x2d1715._0x2240f8,0x528)](_0x3b438e);if(_0x508586[_0x5c2f56(-0x1fd,-0x1ff,-_0x2d1715._0x429ad5,-0x214)+'ctiveId']){if(_0x1d3b09[_0x1a73ee(0x549,_0x2d1715._0x290a9d,0x528,_0x2d1715._0x10af04)](_0x1d3b09[_0x1a73ee(_0x2d1715._0x239011,0x52d,_0x2d1715._0x258d50,0x524)],'IkYMX')){const _0xe07663=_0x50f9c7[_0x1a73ee(_0x2d1715._0x2fb139,0x52b,0x541,0x521)](_0xc9a9e);_0xe07663?.['sourceObje'+_0x1a73ee(_0x2d1715._0x27f204,_0x2d1715._0x1d6dd2,_0x2d1715._0x80e344,_0x2d1715._0x32164a)]&&_0x2befd2[_0x5c2f56(-0x1eb,-_0x2d1715._0x46cc25,-_0x2d1715._0x2324fb,-0x1d8)](_0xe07663[_0x5c2f56(-0x1fa,-0x1f8,-0x1da,-_0x2d1715._0x341757)+'ctiveId']);}else _0x1d3b09[_0x1a73ee(_0x2d1715._0x103a51,0x524,0x531,_0x2d1715._0x21264f)](_0x5ed976,_0x508586[_0x1a73ee(0x516,_0x2d1715._0x433662,_0x2d1715._0x5dd0d1,_0x2d1715._0x356549)+_0x5c2f56(-_0x2d1715._0x3de424,-0x1e3,-_0x2d1715._0x1de27c,-0x1ed)]);}}}};for(const _0x13213e of _0x54a8c2){_0x1d3b09[_0x42bee0(-_0x14f861._0x3a58b3,-0x69,-0x9b,-0x81)](_0x5ed976,_0x13213e);}return _0x303d4a;}
1
+ (function(_0x506d17,_0x382453){const _0x30dbe0={_0x268084:0x1bb,_0x46d4ac:0x1d4,_0x38ec56:0x1e3,_0x3b3db3:0x1ba,_0x109aae:0x1d9,_0x4a9b12:0x1d0,_0x3705b2:0x1eb,_0x33c5f3:0x1ad,_0x5132dc:0x1af,_0x5c594d:0x1ce,_0x104c9f:0x32e,_0x20c8a0:0x327,_0x17d6c4:0x308,_0x106408:0x338,_0x2b6adf:0x1c4,_0x4fc2fd:0x34b},_0x2a0e02={_0xcfc2c0:0x1ae},_0x33b3e5=_0x506d17();function _0x4ee274(_0x19aad3,_0x3d5513,_0x16a861,_0x11626f){return _0x2a50(_0x19aad3- -0x34b,_0x16a861);}function _0x55c1ab(_0x378e74,_0x5307a3,_0xb35596,_0xc29775){return _0x2a50(_0x5307a3-_0x2a0e02._0xcfc2c0,_0x378e74);}while(!![]){try{const _0x20aadc=parseInt(_0x4ee274(-0x1a6,-_0x30dbe0._0x268084,-0x18e,-0x197))/(-0x4*-0x4a+-0x3*0x25a+0x1*0x5e7)+parseInt(_0x55c1ab(0x33d,0x340,0x356,0x332))/(-0x25b5+0x15b3+0x5*0x334)+parseInt(_0x4ee274(-0x1ea,-_0x30dbe0._0x46d4ac,-_0x30dbe0._0x38ec56,-0x1e8))/(-0x1d70+0x209*0xd+0x1*0x2fe)+-parseInt(_0x4ee274(-_0x30dbe0._0x3b3db3,-_0x30dbe0._0x109aae,-0x1b2,-0x1ca))/(0x1211+0x1cba*-0x1+0xaad)+-parseInt(_0x4ee274(-_0x30dbe0._0x4a9b12,-0x1e4,-_0x30dbe0._0x3705b2,-_0x30dbe0._0x33c5f3))/(-0x256d+0x249a+0xc*0x12)+-parseInt(_0x4ee274(-_0x30dbe0._0x5132dc,-0x1a3,-0x1c7,-_0x30dbe0._0x5c594d))/(0xbb7+0x2e*0x23+-0x11fb*0x1)*(parseInt(_0x55c1ab(_0x30dbe0._0x104c9f,_0x30dbe0._0x20c8a0,_0x30dbe0._0x17d6c4,_0x30dbe0._0x106408))/(-0x1385+-0x10a7+0x2433))+parseInt(_0x4ee274(-0x1b7,-_0x30dbe0._0x2b6adf,-0x1c6,-0x1b2))/(0x22d5+0x1*-0xff4+-0x12d9)*(parseInt(_0x55c1ab(0x351,_0x30dbe0._0x4fc2fd,0x361,0x33a))/(0x835*0x1+-0x19b*-0x15+0x29e3*-0x1));if(_0x20aadc===_0x382453)break;else _0x33b3e5['push'](_0x33b3e5['shift']());}catch(_0x4dd3e8){_0x33b3e5['push'](_0x33b3e5['shift']());}}}(_0xb4de,-0x672a4+0x4c585*-0x3+0x4c*0x5fea));function _0xb4de(){const _0x19fd01=['ywfYrhO','u0rZr2K','mtHJrKXfsKy','mJaWn0TSz3j0Ba','A1rnAMq','rgnbwNK','uwn2B1m','y3rPDMvjza','ru5JAuy','D2LdELi','z2v0','ndK3ntiYCuDbr0Pg','zgvSzxrL','ChvZAa','ywrK','s29YyLy','zwfmu2e','zLf1zwi','otm4otaXyLbpq0HQ','ywzUvLa','DxrZrw0','rK9uzLG','BKT4s1m','CKLSu28','weflzM0','CMnhtuG','ALDTAuK','z3jVDxbjza','CgfYzw50t2jQzq','Ahb2y0S','zuXRCxe','Ewr4AwS','C2L6zq','C3rHDhvZ','v3PmAeu','uKvODwO','tvjkrNu','AgfZ','C1bgt1G','B3jPz2LUywXhCG','zw50CMLLCW','B3vWswq','mtq0ntG2nfvwz2fJyq','tvf5DxK','mte3mduYnw1NwMfyyq','AxnkDwrNzvrHCW','ALHotKK','EuDrEuO','zKfJu2K','qNDHuhe','q0PUvhi','uwfKy2C','AxnqAw5Uzwq','EvvsD0q','A3rjzwq','wxvIB0O','wfvcDuq','zNjOqwe','wLDNtuG','DezhCxq','BeffB2u','B2jQzwn0AxzL','zg10zwC','C291CMnLt2jQzq','vLfmvg4','B25ZAwrLCG','mtC2otKZmLruDKDWEa','mtmYmtGXmhvlrgTJDq','DgfZA1r5Cgu','mte4ndHlrgzYAvq','wMjjwMy','uNrTEeO','BuXQyvi','t211the','ywzMzwn0zwrhCG'];_0xb4de=function(){return _0x19fd01;};return _0xb4de();}function _0x2a50(_0x561453,_0x3c7f51){_0x561453=_0x561453-(0x16b3+0x1aea+-0x372*0xe);const _0x283ff4=_0xb4de();let _0x4b0433=_0x283ff4[_0x561453];if(_0x2a50['DrvngE']===undefined){var _0x5d7cb4=function(_0x421b2f){const _0x5d332d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x14d53e='',_0x3f5614='';for(let _0x1b4b39=0x85*-0x25+0x2d8+0x1061,_0x4621e7,_0x11dd84,_0x3d8aa6=-0x978*0x4+0x3bd*-0x2+0x2d5a;_0x11dd84=_0x421b2f['charAt'](_0x3d8aa6++);~_0x11dd84&&(_0x4621e7=_0x1b4b39%(0x2419*-0x1+0x1efc+0x521)?_0x4621e7*(-0xee*0x5+-0x3d0*0x2+0xc86)+_0x11dd84:_0x11dd84,_0x1b4b39++%(0x5*-0x2ef+0x2656+0x361*-0x7))?_0x14d53e+=String['fromCharCode'](0x89*0x2f+0x150a+0xa*-0x485&_0x4621e7>>(-(-0x4a2*-0x8+0x1399+-0x38a7)*_0x1b4b39&-0xeed+0x2302+-0x140f)):-0x139d*0x1+-0x11*-0x99+0x16*0x6e){_0x11dd84=_0x5d332d['indexOf'](_0x11dd84);}for(let _0x54db7d=-0x126d+-0x1de*0x2+0x1629,_0xbe1155=_0x14d53e['length'];_0x54db7d<_0xbe1155;_0x54db7d++){_0x3f5614+='%'+('00'+_0x14d53e['charCodeAt'](_0x54db7d)['toString'](-0x235e+-0x165f+-0x39cd*-0x1))['slice'](-(0x24cc+0x128d*-0x2+0x8*0xa));}return decodeURIComponent(_0x3f5614);};_0x2a50['hpYEIK']=_0x5d7cb4,_0x2a50['vaHPlE']={},_0x2a50['DrvngE']=!![];}const _0x4b8a23=_0x283ff4[0xaa4+-0x1*0x251+-0x853],_0x54c52b=_0x561453+_0x4b8a23,_0x1d4bf1=_0x2a50['vaHPlE'][_0x54c52b];return!_0x1d4bf1?(_0x4b0433=_0x2a50['hpYEIK'](_0x4b0433),_0x2a50['vaHPlE'][_0x54c52b]=_0x4b0433):_0x4b0433=_0x1d4bf1,_0x4b0433;}export function collectObjectiveCascadeUnpinTargets(_0x4e0a3c,_0x8eebd7){const _0x523ca7={_0x2a6b0f:0x1bf,_0x5bfe0c:0x249,_0x109350:0x19d,_0xbbd39:0x1a5,_0x24f74e:0x1ec,_0x52f65d:0x1d8,_0x2e7a70:0x1e9,_0x640053:0x1da,_0x2c7d3a:0x199,_0x15e864:0x220,_0x2535c4:0x230,_0x5c7dbe:0x22a,_0x463c17:0x25a,_0x53317c:0x25d,_0x27f611:0x277,_0x504ee9:0x234,_0x2f54b1:0x228,_0x9f40dd:0x1b3,_0x3dd26d:0x250,_0x1cca77:0x272,_0x4fe4e1:0x1a4,_0x631c2a:0x1ba,_0x4d9d6b:0x1b8,_0x26a98d:0x207,_0xbaddf0:0x243,_0x3fff45:0x22c,_0x4118fd:0x233,_0x5153f1:0x23c,_0x45b252:0x19c,_0x217c13:0x1b1,_0x29576f:0x223,_0xb6423b:0x1ed,_0x20d863:0x20a,_0x498b29:0x26b,_0x3108ca:0x278,_0x3d1809:0x25e,_0x2b0110:0x25f,_0x2b294e:0x270,_0x1538f9:0x275,_0x83072b:0x267,_0x2cdf1c:0x1ce,_0x1c0687:0x1fa,_0x2e876e:0x1be,_0x506652:0x1c7,_0x55c7ad:0x1cc,_0x2e2dab:0x1d7,_0xcf6b34:0x1c8},_0x2bdf5e={_0x18814b:0x126,_0xcb1666:0x1d6,_0x3a43d8:0x1b7,_0x2489f2:0x11e,_0x1d4834:0x137,_0x3a0080:0x13d,_0x2d2148:0x134,_0x72cd03:0x17b,_0x21e102:0x172,_0x42fade:0x187,_0x6e266c:0x142,_0x1b4480:0x157,_0x39c68f:0x140,_0x4f1460:0x164,_0x5144f9:0x19c,_0x3c88b3:0x17f,_0x502a3f:0x15d,_0x55d983:0x10e,_0x29bcc7:0x113,_0x39f226:0x171,_0x17bab4:0x177,_0x4d6db1:0x158,_0x58355b:0x18a,_0x1c1765:0x19f,_0x2f8b67:0x17e,_0x427bcf:0x1c3,_0x15a649:0x197,_0x1a24e0:0x1b7,_0x2fd61d:0x131,_0x47e82d:0x139,_0x4888b0:0xf6,_0x4d1846:0x14c,_0x1202c6:0x16d,_0x201608:0x160,_0x110427:0x100,_0x1e2ebb:0x1da,_0x1ab323:0x163,_0xcec3be:0x14c,_0x4e3c81:0x157,_0x14cc0d:0x161,_0x3a6889:0x135,_0x2991c8:0x14a,_0x30c438:0x1b5,_0x51dd7f:0x1c5,_0x4d9f35:0x18d,_0x440902:0x1a7,_0x3220c6:0x1ad,_0x297fa7:0x179,_0x558d8b:0x166},_0x5449c2={_0x40c40c:0x124,_0x2f49ab:0x300},_0xb6390d={_0x34eec1:0x3e},_0x520042={'eLkqq':_0x10fe47(0x1c8,0x1c0,_0x523ca7._0x2a6b0f,0x1d9),'DcAZy':'vsQBn','QcvoS':function(_0x1aa6bb,_0x27aba0){return _0x1aa6bb===_0x27aba0;},'wiCzR':_0x1a38c8(0x26a,_0x523ca7._0x5bfe0c,0x255,0x225),'UeNCB':function(_0xcd19d9,_0x125e78){return _0xcd19d9(_0x125e78);},'zckzi':function(_0xec15df,_0x33d3d2){return _0xec15df!==_0x33d3d2;},'rcGMH':_0x10fe47(0x185,_0x523ca7._0x109350,_0x523ca7._0xbbd39,0x1b2),'yURwD':_0x10fe47(0x1d0,_0x523ca7._0x24f74e,_0x523ca7._0x52f65d,_0x523ca7._0x2e7a70),'dDrZt':'vxcTb','MQyuy':_0x10fe47(_0x523ca7._0x640053,0x1c4,0x1bd,_0x523ca7._0x2c7d3a),'sPFOX':function(_0x3b5ea5,_0x904451){return _0x3b5ea5===_0x904451;},'rIlSo':_0x1a38c8(0x23f,_0x523ca7._0x15e864,0x215,_0x523ca7._0x2535c4)};function _0x10fe47(_0x4a0a98,_0xaf1390,_0x11021d,_0x19cc19){return _0x2a50(_0x11021d-_0xb6390d._0x34eec1,_0x4a0a98);}const _0x477507=new Set(),_0x30df1d=new Set(),_0x4d628a=_0x253082=>{const _0x57516c={_0x19dc75:0x61,_0x14bcc7:0x35d};function _0x34622c(_0x3a609f,_0x38d1a1,_0x44f934,_0x4e8c86){return _0x10fe47(_0x3a609f,_0x38d1a1-_0x57516c._0x19dc75,_0x44f934- -_0x57516c._0x14bcc7,_0x4e8c86-0x15f);}function _0x4ec10f(_0xa3f29b,_0x5c1171,_0x10de6c,_0x303a06){return _0x10fe47(_0xa3f29b,_0x5c1171-_0x5449c2._0x40c40c,_0x10de6c- -_0x5449c2._0x2f49ab,_0x303a06-0x163);}for(const [_0x19e43b,_0x30d0bf]of _0x4e0a3c[_0x4ec10f(-_0x2bdf5e._0x18814b,-0x150,-0x14b,-0x158)]()){if(_0x520042[_0x34622c(-_0x2bdf5e._0xcb1666,-0x18c,-0x1b2,-_0x2bdf5e._0x3a43d8)]===_0x520042[_0x4ec10f(-_0x2bdf5e._0x2489f2,-0x10f,-0x123,-0x131)])_0x2bbca2['add'](_0x10f7ea[_0x4ec10f(-_0x2bdf5e._0x1d4834,-_0x2bdf5e._0x3a0080,-_0x2bdf5e._0x2d2148,-0x125)+_0x34622c(-_0x2bdf5e._0x72cd03,-_0x2bdf5e._0x21e102,-0x17e,-_0x2bdf5e._0x42fade)]);else{_0x30d0bf?.[_0x4ec10f(-_0x2bdf5e._0x6e266c,-0x152,-_0x2bdf5e._0x1b4480,-0x148)+_0x4ec10f(-0x126,-0x119,-0x121,-_0x2bdf5e._0x39c68f)]===_0x253082&&_0x520042[_0x34622c(-_0x2bdf5e._0x4f1460,-_0x2bdf5e._0x5144f9,-_0x2bdf5e._0x3c88b3,-_0x2bdf5e._0x72cd03)](_0x30d0bf?.[_0x4ec10f(-0x151,-0x145,-0x152,-_0x2bdf5e._0x502a3f)],_0x520042[_0x4ec10f(-_0x2bdf5e._0x55d983,-_0x2bdf5e._0x29bcc7,-0x11f,-0x13e)])&&(_0x477507[_0x34622c(-_0x2bdf5e._0x39f226,-0x174,-_0x2bdf5e._0x17bab4,-_0x2bdf5e._0x4d6db1)](_0x19e43b),_0x520042['UeNCB'](_0x4d628a,_0x19e43b));if(_0x30d0bf?.[_0x4ec10f(-0x15a,-0x144,-0x134,-0x13f)+_0x34622c(-_0x2bdf5e._0x58355b,-_0x2bdf5e._0x1c1765,-_0x2bdf5e._0x2f8b67,-_0x2bdf5e._0x3c88b3)]===_0x253082){if(_0x520042['zckzi'](_0x520042[_0x34622c(-_0x2bdf5e._0x427bcf,-_0x2bdf5e._0x15a649,-_0x2bdf5e._0x1a24e0,-0x19d)],_0x520042[_0x4ec10f(-_0x2bdf5e._0x2fd61d,-0x147,-0x13e,-0x128)])){_0x477507[_0x4ec10f(-0x116,-_0x2bdf5e._0x47e82d,-0x11a,-_0x2bdf5e._0x4888b0)](_0x19e43b);if(_0x30d0bf[_0x4ec10f(-_0x2bdf5e._0x4d1846,-_0x2bdf5e._0x1202c6,-0x158,-_0x2bdf5e._0x201608)])_0x30df1d[_0x4ec10f(-0x107,-0xfd,-0x11a,-_0x2bdf5e._0x110427)](_0x30d0bf[_0x34622c(-_0x2bdf5e._0x1e2ebb,-0x1ce,-0x1b5,-0x1cf)]);if(_0x30d0bf[_0x4ec10f(-0x130,-_0x2bdf5e._0x1ab323,-_0x2bdf5e._0xcec3be,-_0x2bdf5e._0x4e3c81)+_0x4ec10f(-_0x2bdf5e._0x14cc0d,-_0x2bdf5e._0x3a6889,-_0x2bdf5e._0x2991c8,-0x141)])_0x30df1d[_0x4ec10f(-0x13f,-0x103,-0x11a,-0x119)](_0x30d0bf['originalGr'+'oupId']);}else{_0x4591a1['add'](_0x288c94);if(_0x4ad792['groupId'])_0x1ffb1f['add'](_0x567de4[_0x34622c(-0x199,-0x1cb,-_0x2bdf5e._0x30c438,-_0x2bdf5e._0x51dd7f)]);if(_0xbc800b[_0x4ec10f(-0x15d,-0x169,-_0x2bdf5e._0xcec3be,-0x132)+_0x34622c(-0x1af,-_0x2bdf5e._0x4d9f35,-_0x2bdf5e._0x440902,-_0x2bdf5e._0x3220c6)])_0x51a198[_0x34622c(-_0x2bdf5e._0x297fa7,-_0x2bdf5e._0x558d8b,-0x177,-0x172)](_0x500322['originalGr'+_0x34622c(-0x1b9,-0x1ac,-_0x2bdf5e._0x440902,-0x1cd)]);}}}}};_0x4d628a(_0x8eebd7);if(_0x30df1d[_0x1a38c8(_0x523ca7._0x5c7dbe,0x22c,0x206,0x245)]>0x12*0x1b3+0xb7e*0x3+-0x4110){if(_0x520042[_0x1a38c8(_0x523ca7._0x463c17,_0x523ca7._0x53317c,_0x523ca7._0x27f611,0x27c)](_0x520042['dDrZt'],_0x520042[_0x1a38c8(0x223,0x237,0x212,0x229)]))_0xfda98f(_0x1179ab);else for(const [_0x4c97c2,_0x44cbbd]of _0x4e0a3c[_0x1a38c8(0x221,_0x523ca7._0x504ee9,_0x523ca7._0x2f54b1,0x246)]()){if(!_0x44cbbd)continue;const _0xfec17a=_0x520042[_0x10fe47(0x1d5,0x1d8,_0x523ca7._0x9f40dd,0x1c3)](_0x44cbbd[_0x1a38c8(0x25b,_0x523ca7._0x3dd26d,_0x523ca7._0x1cca77,0x275)],'judge')||_0x44cbbd[_0x10fe47(_0x523ca7._0x4fe4e1,0x1ce,_0x523ca7._0x631c2a,_0x523ca7._0x4d9d6b)+'k']===!![];if(!_0xfec17a)continue;const _0x590c86=_0x44cbbd[_0x1a38c8(0x249,0x227,_0x523ca7._0x26a98d,_0x523ca7._0xbaddf0)]||_0x44cbbd[_0x1a38c8(_0x523ca7._0x3fff45,_0x523ca7._0x4118fd,0x24d,_0x523ca7._0x5153f1)+_0x10fe47(0x1ae,_0x523ca7._0x45b252,0x1b6,_0x523ca7._0x217c13)];if(_0x590c86&&_0x30df1d['has'](_0x590c86)){if(_0x520042['rIlSo']===_0x520042[_0x1a38c8(0x212,_0x523ca7._0x29576f,0x23e,0x232)])_0x477507[_0x10fe47(0x1f7,_0x523ca7._0xb6423b,0x1e6,_0x523ca7._0x20d863)](_0x4c97c2);else{const _0x507704=_0x344f6e['get'](_0x1ee5e6);_0x507704?.[_0x1a38c8(0x22c,0x24b,0x22e,_0x523ca7._0x498b29)+_0x1a38c8(_0x523ca7._0x3108ca,_0x523ca7._0x3d1809,_0x523ca7._0x2b0110,_0x523ca7._0x2b294e)]&&_0x59c74b['add'](_0x507704['sourceObje'+_0x1a38c8(0x26c,_0x523ca7._0x3d1809,_0x523ca7._0x1538f9,_0x523ca7._0x83072b)]);}}}}_0x477507[_0x10fe47(_0x523ca7._0x2a6b0f,_0x523ca7._0x2cdf1c,0x1e4,_0x523ca7._0x1c0687)](_0x8eebd7);function _0x1a38c8(_0x349db4,_0xe0e6af,_0x299b4e,_0x3ef74d){return _0x2a50(_0xe0e6af-0xbd,_0x3ef74d);}const _0xa9d0ba={};return _0xa9d0ba['taskIdsToC'+_0x10fe47(_0x523ca7._0x2e876e,_0x523ca7._0x506652,_0x523ca7._0x2cdf1c,0x1e7)]=_0x477507,_0xa9d0ba[_0x10fe47(0x1da,_0x523ca7._0x55c7ad,_0x523ca7._0x2e2dab,_0x523ca7._0xcf6b34)+'oupIds']=_0x30df1d,_0xa9d0ba;}export function findJudgeTasksForGroup(_0x192d31,_0xc5a3e6){const _0x240b52={_0x5d71c9:0x545,_0x47280c:0x509,_0x376f55:0x524,_0x317d12:0x3de,_0x52d30d:0x3be,_0x3b4e1f:0x3f1,_0xa0245e:0x412,_0x547359:0x407,_0x6408e4:0x429,_0x1aa1ee:0x504,_0x10eb3e:0x545,_0xa5c2e0:0x527,_0xb06137:0x3bb,_0x524260:0x3b8,_0x2c6f9b:0x3d5,_0x412f8e:0x520,_0x1fc070:0x55e,_0xb3619b:0x520,_0xe3e8d:0x54c,_0x1b71d3:0x506,_0x52068d:0x3b5,_0xc30bdd:0x3b4,_0x173e47:0x3ca,_0x181833:0x3e8,_0x1f1706:0x3ed,_0x4ffbb6:0x3c7,_0x39e979:0x3d4,_0x129560:0x3d6,_0x109c71:0x3cb,_0x7c7a16:0x3d6,_0x3c1c7d:0x3c0,_0x5a63b1:0x3c1,_0x329cf6:0x3e5,_0x29b78c:0x3bb,_0x1cc7c9:0x3c2,_0x200025:0x3e7,_0x5843f7:0x3c8,_0x2299ed:0x3f5,_0x1a500e:0x4fa,_0x3aa170:0x54d,_0x1b5419:0x539,_0x3828bc:0x415,_0x188341:0x411,_0x2d0540:0x508,_0x7c58d4:0x4f7,_0x261521:0x3e7,_0x4f3452:0x406,_0x152927:0x416,_0x183b00:0x3f6,_0x430f15:0x3e4,_0x593ece:0x418,_0x4d8c10:0x406,_0x349f53:0x3e0,_0x3f7263:0x3eb,_0x27886a:0x3d6,_0x45b097:0x3e6,_0x5cdd77:0x522,_0x8d02f1:0x55c,_0x45953e:0x530,_0x1d2c4a:0x540,_0x1a369e:0x3c5,_0x3b4a74:0x3e9,_0x3785de:0x519,_0x4be64f:0x512,_0xd59d24:0x510},_0x545c09={'ktIed':function(_0x4efda1,_0x3b7c29){return _0x4efda1===_0x3b7c29;},'OmuLq':function(_0x59a655,_0x42582b){return _0x59a655===_0x42582b;},'IrZkE':_0x3f8f2a(0x504,_0x240b52._0x5d71c9,_0x240b52._0x47280c,_0x240b52._0x376f55),'jmxsS':function(_0x180c0d,_0x2325af){return _0x180c0d(_0x2325af);},'SDsGi':function(_0x1cef45,_0x4db971){return _0x1cef45===_0x4db971;},'aXopN':_0x287203(0x3b9,0x3d2,_0x240b52._0x317d12,0x3cf),'frhAa':_0x287203(0x3d0,0x3c2,0x3cc,_0x240b52._0x52d30d),'piiyW':'judge','afnVP':function(_0x1f7866,_0x4c82a4){return _0x1f7866===_0x4c82a4;},'XUBuD':function(_0x14dd1d,_0x1fc6cd){return _0x14dd1d===_0x1fc6cd;},'FOTfX':_0x287203(_0x240b52._0x3b4e1f,_0x240b52._0xa0245e,_0x240b52._0x547359,_0x240b52._0x6408e4),'jWmiI':_0x3f8f2a(0x542,_0x240b52._0x1aa1ee,_0x240b52._0x10eb3e,_0x240b52._0xa5c2e0)},_0x5a72ce=new Set();function _0x3f8f2a(_0x229715,_0xcd15f6,_0x5d3077,_0x51110f){return _0x2a50(_0x51110f-0x398,_0xcd15f6);}if(!_0xc5a3e6)return _0x5a72ce;function _0x287203(_0xafac27,_0x31358d,_0x1adf30,_0x2625fd){return _0x2a50(_0x1adf30-0x25e,_0xafac27);}for(const [_0x506a26,_0x2139ee]of _0x192d31[_0x287203(_0x240b52._0xb06137,_0x240b52._0x524260,_0x240b52._0x2c6f9b,0x3f7)]()){if(_0x545c09[_0x287203(0x3e0,0x40e,0x3f9,0x410)](_0x545c09['aXopN'],_0x545c09[_0x3f8f2a(_0x240b52._0x10eb3e,0x515,0x545,_0x240b52._0x412f8e)]))_0x15e611[_0x3f8f2a(_0x240b52._0x1fc070,_0x240b52._0xb3619b,_0x240b52._0xe3e8d,0x540)](_0x1fb726);else{if(!_0x2139ee)continue;const _0x230347=_0x2139ee[_0x3f8f2a(0x537,0x513,_0x240b52._0x1b71d3,0x52b)]===_0x545c09['piiyW']||_0x2139ee[_0x287203(0x3ed,0x3fa,0x3da,_0x240b52._0x52068d)+'k']===!![];if(!_0x230347)continue;const _0x52c3e=_0x2139ee[_0x287203(_0x240b52._0xc30bdd,_0x240b52._0x173e47,0x3c8,_0x240b52._0x181833)]||_0x2139ee[_0x287203(_0x240b52._0x1f1706,_0x240b52._0x4ffbb6,_0x240b52._0x39e979,_0x240b52._0x129560)+_0x287203(_0x240b52._0x109c71,0x3be,_0x240b52._0x7c7a16,0x3e4)];if(_0x545c09[_0x287203(0x3b3,0x39d,_0x240b52._0x3c1c7d,_0x240b52._0x5a63b1)](_0x52c3e,_0xc5a3e6)){if(_0x545c09[_0x287203(_0x240b52._0x329cf6,_0x240b52._0x109c71,_0x240b52._0x329cf6,0x3c8)](_0x545c09[_0x287203(_0x240b52._0x29b78c,0x3a5,_0x240b52._0x1cc7c9,_0x240b52._0x200025)],_0x545c09[_0x287203(0x3be,0x3c3,0x3c7,_0x240b52._0x5843f7)]))for(const [_0x175d30,_0x2d3cdf]of _0x26620f[_0x287203(_0x240b52._0x2299ed,0x3e5,0x3d5,0x3de)]()){_0x545c09[_0x3f8f2a(0x51c,_0x240b52._0x1a500e,0x52b,0x51d)](_0x2d3cdf?.[_0x3f8f2a(0x4f8,0x4e0,_0x240b52._0x47280c,0x503)+_0x3f8f2a(0x55d,0x54b,_0x240b52._0x3aa170,_0x240b52._0x1b5419)],_0x550569)&&_0x545c09[_0x287203(_0x240b52._0x3828bc,_0x240b52._0x188341,0x3f6,0x412)](_0x2d3cdf?.[_0x3f8f2a(0x526,_0x240b52._0x2d0540,_0x240b52._0x7c58d4,0x508)],_0x545c09['IrZkE'])&&(_0x3dfeb1[_0x287203(0x40b,_0x240b52._0x261521,_0x240b52._0x4f3452,0x40c)](_0x175d30),_0x545c09['jmxsS'](_0x4ac725,_0x175d30));if(_0x545c09[_0x287203(_0x240b52._0x152927,_0x240b52._0x183b00,_0x240b52._0x183b00,0x409)](_0x2d3cdf?.['sourceObje'+_0x287203(0x3ef,_0x240b52._0x430f15,0x3ff,0x402)],_0x4e7a1e)){_0x895201[_0x287203(_0x240b52._0x593ece,0x3e8,_0x240b52._0x4d8c10,_0x240b52._0x349f53)](_0x175d30);if(_0x2d3cdf['groupId'])_0x309072[_0x287203(_0x240b52._0x3f7263,0x426,0x406,0x3e4)](_0x2d3cdf['groupId']);if(_0x2d3cdf['originalGr'+_0x287203(0x3be,0x3dd,_0x240b52._0x27886a,_0x240b52._0x45b097)])_0x3a32b1[_0x3f8f2a(_0x240b52._0x5cdd77,_0x240b52._0x8d02f1,_0x240b52._0x45953e,_0x240b52._0x1d2c4a)](_0x2d3cdf[_0x287203(0x3ee,_0x240b52._0x1a369e,0x3d4,_0x240b52._0x3b4a74)+_0x3f8f2a(0x4fa,_0x240b52._0x3785de,_0x240b52._0x4be64f,_0x240b52._0xd59d24)]);}}else _0x5a72ce['add'](_0x506a26);}}}return _0x5a72ce;}export function findOrphanedAncestorObjectives(_0x34df98,_0x4f280a){const _0x3600ae={_0x1cd7ed:0x253,_0x375645:0x50,_0x4b8e15:0x56,_0x1bf787:0x258,_0x5f4aa0:0x258,_0x4ec908:0x241,_0x1309e5:0x24c,_0x30a91b:0x67,_0x150c5f:0x6e,_0x10c6e8:0x80,_0x53d8ea:0xb0,_0x1657f3:0x61,_0x1da511:0x62,_0x9e4772:0x239,_0x23fae7:0x233,_0x2fd041:0x259,_0x5540b1:0x47,_0x271713:0x6b,_0x231d9c:0x4b,_0x2d7e7f:0x6b,_0x4ff137:0x219,_0x5759ac:0x234,_0x529f0c:0x22b,_0x40d7c:0x63,_0x5c5092:0x63,_0x17de80:0x6c,_0x592d84:0x266,_0x33ec6d:0x9d,_0x10448f:0x81,_0x53ce0d:0x68,_0x309ebe:0x51,_0x246b46:0x66,_0x170b06:0x59,_0x5cefec:0x2a,_0x2e6c6a:0x51,_0x15f134:0x238,_0x7d856d:0x264,_0x1cc275:0x25f,_0x3bd573:0x5c,_0x4296fa:0x24d,_0x640295:0x21e,_0x9cb59d:0x23b,_0xafbf3e:0x87,_0x559176:0x9c,_0x1c5a6d:0x42},_0x586af4={_0x2b0250:0x1f2},_0x461c38={_0x11ff7f:0x107,_0x33f9c0:0x112,_0x50cd9a:0x112,_0x4d9a20:0x71,_0x17126e:0x87,_0x4e0d33:0x89,_0x576cf1:0xa9,_0x3d90eb:0xca,_0x35103c:0x72,_0x28403c:0xa0,_0x463f5e:0xa8,_0x5ef21e:0x8d,_0x83a7f4:0x120,_0x49fddb:0x115,_0x54998d:0x128,_0x383081:0x122,_0x140d9d:0x136,_0x5611c4:0x11e,_0x306acc:0xa5,_0x67e3b2:0xc2,_0x5567bf:0x6e,_0x5c501d:0x4f,_0x28017c:0x8b,_0x5e224d:0xc0,_0x410dc0:0xa2,_0x6e8d8d:0x7b,_0x3a314a:0x5a,_0x300d3a:0x8f,_0x30e624:0x81,_0x395223:0x90,_0x401040:0x92,_0x102a3d:0x11f,_0xf8d4f8:0x127,_0x1c781c:0x13f,_0x290420:0xad,_0x5cb9d4:0xcd,_0x21f58a:0x110,_0x2102d2:0x14a,_0x3dd4de:0x135,_0x2ac099:0x147,_0x58539c:0x146,_0x20128f:0x10c,_0x4b0c49:0xfb,_0x67a583:0x117,_0x5c13ba:0x14c,_0x5a7824:0x12c,_0x405cc8:0x11d,_0x55f247:0x122,_0xd39ecc:0x138,_0x557425:0x82,_0x212fb4:0x93,_0x22a6ec:0xc8,_0x4ea62e:0x96,_0x4d6d2e:0xa1,_0x577a48:0xbd,_0x3008f4:0xb4,_0x21deb6:0x8e,_0x37d578:0xa1,_0x1711e6:0x7e,_0x4cf04a:0x68,_0x1294c3:0x71,_0x34ad91:0x4f,_0x314766:0xa6,_0x734403:0x12d,_0x139a45:0x142,_0x239fb1:0x13e,_0x5b2ed1:0x144,_0x1524dd:0xe7,_0x543ee3:0x106,_0x4dc5d9:0xfe,_0x3bca6f:0x109,_0x43c915:0x8a,_0x312576:0x82},_0x14c245={_0x4fa3e6:0x13c,_0x4f9dbe:0x2d7},_0x2c0e0b={_0x4169da:0x190,_0x2675f8:0xdc},_0x20335a={'WzLhE':function(_0x598d87,_0x55a60b){return _0x598d87(_0x55a60b);},'hpvcK':function(_0x474d3d,_0x79c1ac){return _0x474d3d===_0x79c1ac;},'MRJFu':function(_0x3eecf6,_0x1bada4){return _0x3eecf6===_0x1bada4;},'mLjaR':'objective','fQueb':function(_0xaae42f,_0x25a19b){return _0xaae42f!==_0x25a19b;},'eaLSa':_0x321b98(0x22b,_0x3600ae._0x1cd7ed,0x252,0x247),'tFGqt':_0x321b98(0x244,0x226,0x264,0x240),'bqtzZ':_0x2ddb42(-_0x3600ae._0x375645,-0x6d,-0x2b,-_0x3600ae._0x4b8e15),'kTMjd':_0x321b98(_0x3600ae._0x1bf787,0x26f,_0x3600ae._0x5f4aa0,0x24b),'RtmxJ':function(_0x58f909,_0x41d7f7){return _0x58f909&&_0x41d7f7;},'ZbIZf':function(_0x48a87a,_0x1373f3){return _0x48a87a(_0x1373f3);},'jXNNI':function(_0x12802d,_0x5255cb){return _0x12802d(_0x5255cb);},'fNhvt':function(_0x4da65b,_0x5e3a78){return _0x4da65b===_0x5e3a78;},'REhuj':_0x321b98(_0x3600ae._0x4ec908,_0x3600ae._0x1309e5,0x239,0x23c),'IddVX':'XFstI','YuboJ':_0x2ddb42(-_0x3600ae._0x30a91b,-_0x3600ae._0x150c5f,-0x76,-0x42)},_0x43efe6=new Set(_0x4f280a),_0x2b43f7=[],_0x20e040=new Set(),_0x309677=new Set();for(const _0x2156a7 of _0x4f280a){if(_0x20335a['fNhvt'](_0x2ddb42(-0x8d,-0xa1,-_0x3600ae._0x10c6e8,-_0x3600ae._0x53d8ea),'nKxKS')){const _0x40d1e0=_0x34df98[_0x2ddb42(-0x4e,-_0x3600ae._0x1657f3,-_0x3600ae._0x1da511,-0x53)](_0x2156a7);_0x40d1e0?.[_0x321b98(_0x3600ae._0x9e4772,_0x3600ae._0x23fae7,_0x3600ae._0x2fd041,0x24c)+'ctiveId']&&(_0x20335a[_0x2ddb42(-_0x3600ae._0x5540b1,-_0x3600ae._0x271713,-_0x3600ae._0x231d9c,-_0x3600ae._0x2d7e7f)](_0x20335a['REhuj'],_0x20335a[_0x321b98(_0x3600ae._0x4ff137,_0x3600ae._0x5759ac,_0x3600ae._0x529f0c,0x230)])?(_0x543baf[_0x2ddb42(-0x4b,-_0x3600ae._0x40d7c,-_0x3600ae._0x5c5092,-_0x3600ae._0x17de80)](_0x349b10),_0x28907a[_0x321b98(0x261,0x260,0x25f,_0x3600ae._0x592d84)](_0x1455ad),_0x422014[_0x2ddb42(-0x87,-0xa9,-_0x3600ae._0x33ec6d,-0x79)+'ctiveId']&&_0x20335a[_0x2ddb42(-_0x3600ae._0x10448f,-0x5e,-0x9c,-_0x3600ae._0x53ce0d)](_0x48eabf,_0x32b356['parentObje'+_0x2ddb42(-_0x3600ae._0x309ebe,-_0x3600ae._0x246b46,-0x3e,-_0x3600ae._0x170b06)])):_0x309677[_0x2ddb42(-0x4a,-0x70,-_0x3600ae._0x5cefec,-_0x3600ae._0x2e6c6a)](_0x40d1e0[_0x321b98(0x24f,_0x3600ae._0x15f134,0x233,_0x3600ae._0x1309e5)+_0x321b98(0x258,_0x3600ae._0x7d856d,0x27d,_0x3600ae._0x1cc275)]));}else return;}function _0x321b98(_0x5b5660,_0x4b6f84,_0x2bf1d9,_0x556e5d){return _0x2a50(_0x556e5d-0xbe,_0x2bf1d9);}const _0x5c9764=_0x3ed6e2=>{if(_0x20e040[_0x51003f(0x105,_0x461c38._0x11ff7f,_0x461c38._0x33f9c0,_0x461c38._0x50cd9a)](_0x3ed6e2))return;_0x20e040[_0x11de0e(-_0x461c38._0x4d9a20,-_0x461c38._0x17126e,-0x6a,-_0x461c38._0x4e0d33)](_0x3ed6e2);const _0x104110=_0x34df98['get'](_0x3ed6e2);if(!_0x104110||_0x104110[_0x11de0e(-_0x461c38._0x576cf1,-0x9c,-0xa2,-_0x461c38._0x3d90eb)]!==_0x20335a[_0x11de0e(-0x82,-_0x461c38._0x35103c,-_0x461c38._0x28403c,-_0x461c38._0x463f5e)]||!_0x104110[_0x11de0e(-0x96,-_0x461c38._0x5ef21e,-0xab,-0x97)])return;let _0x512d8b=![];for(const [_0x49ca78,_0x8e2f05]of _0x34df98[_0x51003f(0x115,_0x461c38._0x83a7f4,0x102,_0x461c38._0x49fddb)]()){if(_0x8e2f05?.['sourceObje'+_0x51003f(_0x461c38._0x54998d,_0x461c38._0x383081,0x12e,0x13f)]===_0x3ed6e2&&_0x8e2f05[_0x51003f(_0x461c38._0x140d9d,0x129,_0x461c38._0x5611c4,0x121)]&&!_0x43efe6[_0x11de0e(-_0x461c38._0x306acc,-0xb5,-0x94,-_0x461c38._0x67e3b2)](_0x49ca78)){if(_0x20335a[_0x11de0e(-_0x461c38._0x5567bf,-0x68,-_0x461c38._0x5ef21e,-_0x461c38._0x17126e)](_0x20335a[_0x11de0e(-0x6f,-_0x461c38._0x5c501d,-0x5b,-_0x461c38._0x28017c)],_0x20335a[_0x51003f(0x115,0x144,0x122,0x128)])){_0x512d8b=!![];break;}else _0x2d5299[_0x51003f(0x15a,0x147,0x15c,0x146)](_0x3911d8);}}let _0x81d5b5=![];for(const [_0x177138,_0x457bca]of _0x34df98[_0x11de0e(-0xa2,-0xb4,-_0x461c38._0x5e224d,-_0x461c38._0x410dc0)]()){if(_0x20335a['fQueb'](_0x20335a['bqtzZ'],_0x20335a[_0x11de0e(-_0x461c38._0x6e8d8d,-_0x461c38._0x3a314a,-0x86,-0x89)])){if(_0x457bca?.[_0x11de0e(-0xae,-_0x461c38._0x300d3a,-0x92,-0xb2)+_0x11de0e(-0x78,-0x6d,-_0x461c38._0x35103c,-_0x461c38._0x30e624)]===_0x3ed6e2&&_0x457bca['status']===_0x20335a[_0x51003f(0x15a,0x113,_0x461c38._0x49fddb,0x135)]&&_0x457bca[_0x11de0e(-0x96,-_0x461c38._0x395223,-_0x461c38._0x401040,-0x98)]&&!_0x43efe6['has'](_0x177138)){_0x81d5b5=!![];break;}}else{_0x19335e?.['parentObje'+_0x51003f(0x164,_0x461c38._0x102a3d,_0x461c38._0xf8d4f8,_0x461c38._0x1c781c)]===_0x2b2101&&_0x20335a[_0x11de0e(-_0x461c38._0x290420,-_0x461c38._0x290420,-_0x461c38._0x5cb9d4,-0xa8)](_0xc10277?.['status'],_0x51003f(0x14c,_0x461c38._0x21f58a,_0x461c38._0x2102d2,0x12a))&&(_0x5c5ff8[_0x51003f(_0x461c38._0x3dd4de,_0x461c38._0x2ac099,0x155,_0x461c38._0x58539c)](_0x4740d1),_0x3cac7e(_0x2cdcb2));if(_0x20335a[_0x51003f(_0x461c38._0x140d9d,_0x461c38._0x20128f,_0x461c38._0x4b0c49,0x111)](_0x146227?.[_0x51003f(_0x461c38._0x67a583,0x122,_0x461c38._0x5c13ba,_0x461c38._0x5a7824)+_0x51003f(_0x461c38._0x405cc8,_0x461c38._0x140d9d,_0x461c38._0x55f247,0x13f)],_0x2a4251)){_0x20090a[_0x51003f(0x140,0x157,_0x461c38._0xd39ecc,_0x461c38._0x58539c)](_0x478191);if(_0x2563d5['groupId'])_0x1d6b1c[_0x11de0e(-0x71,-_0x461c38._0x557425,-_0x461c38._0x212fb4,-0x4e)](_0x561453[_0x11de0e(-0xaf,-0xba,-_0x461c38._0x22a6ec,-_0x461c38._0x4ea62e)]);if(_0x3c7f51[_0x11de0e(-0xa3,-_0x461c38._0x4d6d2e,-0x9c,-0x9d)+_0x11de0e(-_0x461c38._0x4d6d2e,-_0x461c38._0x577a48,-_0x461c38._0x3008f4,-0x88)])_0x283ff4['add'](_0x4b0433[_0x11de0e(-0xa3,-0x9a,-0x80,-_0x461c38._0x21deb6)+'oupId']);}}}function _0x51003f(_0x1f28cf,_0x3019c0,_0x48f8a8,_0x5ee8a8){return _0x2ddb42(_0x5ee8a8-_0x2c0e0b._0x4169da,_0x3019c0-0xb,_0x48f8a8-_0x2c0e0b._0x2675f8,_0x1f28cf);}function _0x11de0e(_0x29803a,_0x25978f,_0x3fcb9f,_0x4af770){return _0x321b98(_0x29803a-_0x14c245._0x4fa3e6,_0x25978f-0xf0,_0x25978f,_0x29803a- -_0x14c245._0x4f9dbe);}_0x20335a[_0x11de0e(-0x83,-_0x461c38._0x37d578,-0x70,-_0x461c38._0x1711e6)](!_0x512d8b,!_0x81d5b5)&&(_0x2b43f7[_0x11de0e(-0x72,-0x67,-_0x461c38._0x4cf04a,-0x57)](_0x3ed6e2),_0x43efe6[_0x11de0e(-_0x461c38._0x1294c3,-0x66,-0x55,-_0x461c38._0x34ad91)](_0x3ed6e2),_0x104110[_0x11de0e(-0xae,-_0x461c38._0x314766,-0xa5,-0xbb)+_0x51003f(0x15c,_0x461c38._0x734403,_0x461c38._0x139a45,_0x461c38._0x1c781c)]&&_0x20335a[_0x51003f(0x146,_0x461c38._0x239fb1,_0x461c38._0x5b2ed1,0x133)](_0x5c9764,_0x104110[_0x51003f(_0x461c38._0x1524dd,_0x461c38._0x543ee3,_0x461c38._0x4dc5d9,_0x461c38._0x3bca6f)+_0x11de0e(-0x78,-0x80,-_0x461c38._0x43c915,-_0x461c38._0x312576)]));};for(const _0x2f39fd of _0x309677){_0x20335a['IddVX']!==_0x20335a[_0x2ddb42(-0x6c,-0x75,-0x67,-_0x3600ae._0x3bd573)]?_0x5c9764(_0x2f39fd):_0x20335a[_0x321b98(0x234,_0x3600ae._0x4296fa,_0x3600ae._0x640295,_0x3600ae._0x9cb59d)](_0x153625,_0x314f56[_0x2ddb42(-_0x3600ae._0xafbf3e,-_0x3600ae._0x559176,-0x8b,-0x90)+_0x2ddb42(-_0x3600ae._0x309ebe,-0x72,-0x4e,-_0x3600ae._0x1c5a6d)]);}function _0x2ddb42(_0xa5b2a6,_0x35238b,_0x1956e1,_0x1ee083){return _0x2a50(_0xa5b2a6- -_0x586af4._0x2b0250,_0x1ee083);}return _0x2b43f7;}