browserstack-node-sdk 1.49.9 → 1.49.10

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 (186) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +5 -2
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a69_0x2e35(_0x5586c0,_0x558cff){const _0x3568cb=a69_0x3568();return a69_0x2e35=function(_0x2e35ef,_0x50524d){_0x2e35ef=_0x2e35ef-0xfb;let _0x300044=_0x3568cb[_0x2e35ef];return _0x300044;},a69_0x2e35(_0x5586c0,_0x558cff);}const a69_0x418a3e=a69_0x2e35;(function(_0x336ce0,_0x299715){const _0xb25f3=a69_0x2e35,_0x54d705=_0x336ce0();while(!![]){try{const _0x9bb51f=parseInt(_0xb25f3(0x110))/0x1+parseInt(_0xb25f3(0xfe))/0x2*(parseInt(_0xb25f3(0x14e))/0x3)+-parseInt(_0xb25f3(0x10e))/0x4+parseInt(_0xb25f3(0x144))/0x5*(-parseInt(_0xb25f3(0x11a))/0x6)+-parseInt(_0xb25f3(0x137))/0x7*(parseInt(_0xb25f3(0x108))/0x8)+parseInt(_0xb25f3(0x13c))/0x9+parseInt(_0xb25f3(0x145))/0xa*(parseInt(_0xb25f3(0x10f))/0xb);if(_0x9bb51f===_0x299715)break;else _0x54d705['push'](_0x54d705['shift']());}catch(_0x45d002){_0x54d705['push'](_0x54d705['shift']());}}}(a69_0x3568,0x309ac));const a69_0x508bca={};a69_0x508bca[a69_0x418a3e(0x124)]=a69_0x418a3e(0x138),a69_0x508bca[a69_0x418a3e(0x105)]='test_id',a69_0x508bca[a69_0x418a3e(0x155)]=a69_0x418a3e(0x152),a69_0x508bca['KEY_TEST_FILE_PATH']=a69_0x418a3e(0x13e),a69_0x508bca[a69_0x418a3e(0x129)]=a69_0x418a3e(0x13b),a69_0x508bca[a69_0x418a3e(0x11f)]='test_result',a69_0x508bca[a69_0x418a3e(0x109)]=a69_0x418a3e(0x139),a69_0x508bca[a69_0x418a3e(0x14c)]='test_started_at',a69_0x508bca['KEY_TEST_ENDED_AT']=a69_0x418a3e(0x120),a69_0x508bca[a69_0x418a3e(0x136)]=a69_0x418a3e(0x153),a69_0x508bca['KEY_TEST_SCOPE']='test_scope',a69_0x508bca[a69_0x418a3e(0x12b)]=a69_0x418a3e(0x11c),a69_0x508bca[a69_0x418a3e(0x102)]=a69_0x418a3e(0x118),a69_0x508bca[a69_0x418a3e(0x115)]=a69_0x418a3e(0x106),a69_0x508bca[a69_0x418a3e(0x148)]=a69_0x418a3e(0x112),a69_0x508bca[a69_0x418a3e(0x146)]=a69_0x418a3e(0x142),a69_0x508bca[a69_0x418a3e(0x14f)]=a69_0x418a3e(0x12a),a69_0x508bca['KEY_PLATFORM_INDEX']=a69_0x418a3e(0xfd),a69_0x508bca[a69_0x418a3e(0x140)]=a69_0x418a3e(0x151),a69_0x508bca['KEY_TEST_FAILURE_TYPE']=a69_0x418a3e(0x13f),a69_0x508bca[a69_0x418a3e(0x12f)]='test_failure_reason',a69_0x508bca[a69_0x418a3e(0x150)]=a69_0x418a3e(0x14d),a69_0x508bca[a69_0x418a3e(0x130)]=a69_0x418a3e(0x107),a69_0x508bca[a69_0x418a3e(0x13d)]=a69_0x418a3e(0x104),a69_0x508bca[a69_0x418a3e(0x10c)]='automate_session_name',a69_0x508bca[a69_0x418a3e(0x10d)]='automate_session_status',a69_0x508bca[a69_0x418a3e(0x11d)]='automate_session_reason',a69_0x508bca[a69_0x418a3e(0x113)]=a69_0x418a3e(0x14b),a69_0x508bca[a69_0x418a3e(0x128)]=a69_0x418a3e(0x111),a69_0x508bca[a69_0x418a3e(0x116)]=a69_0x418a3e(0x141),a69_0x508bca[a69_0x418a3e(0x11b)]=a69_0x418a3e(0x143),a69_0x508bca[a69_0x418a3e(0xfb)]=a69_0x418a3e(0x117),a69_0x508bca[a69_0x418a3e(0x126)]='hook_failure_reason',a69_0x508bca['KEY_HOOK_FAILURE']=a69_0x418a3e(0x135),a69_0x508bca[a69_0x418a3e(0x122)]='hook_logs',a69_0x508bca['KEY_HOOK_NAME']=a69_0x418a3e(0x12e),a69_0x508bca[a69_0x418a3e(0x13a)]=a69_0x418a3e(0xfc),a69_0x508bca[a69_0x418a3e(0x114)]='pending',a69_0x508bca['KIND_SCREENSHOT']=a69_0x418a3e(0xff),a69_0x508bca[a69_0x418a3e(0x10b)]=a69_0x418a3e(0x132),a69_0x508bca['HOOK_REGEX']=a69_0x418a3e(0x134),a69_0x508bca['KEY_HOOKS_STARTED']=a69_0x418a3e(0x149),a69_0x508bca['KEY_HOOKS_FINISHED']=a69_0x418a3e(0x10a),a69_0x508bca[a69_0x418a3e(0x119)]=a69_0x418a3e(0x101),a69_0x508bca[a69_0x418a3e(0x125)]=a69_0x418a3e(0x131),a69_0x508bca[a69_0x418a3e(0x121)]=a69_0x418a3e(0x154),a69_0x508bca[a69_0x418a3e(0x103)]=a69_0x418a3e(0x123),a69_0x508bca[a69_0x418a3e(0x100)]=a69_0x418a3e(0x127),a69_0x508bca[a69_0x418a3e(0x11e)]='file_size',a69_0x508bca[a69_0x418a3e(0x14a)]=a69_0x418a3e(0x133),a69_0x508bca[a69_0x418a3e(0x147)]='file_path',a69_0x508bca['KEY_FILE_LEVEL']=a69_0x418a3e(0x12c);const TestFrameworkConstants=a69_0x508bca;function a69_0x3568(){const _0x480026=['test_location','logs','KEY_TEST_NAME','KEY_HOOK_FAILURE_TYPE','pending','platform_index','2Etzkry','TEST_SCREENSHOT','KEY_TEST_ATTACHMENTS','test_hook_last_started','KEY_TEST_FRAMEWORK_NAME','KEY_CUSTOM_TAGS','test_session_name','KEY_TEST_ID','test_framework_version','test_meta','8kdwHsW','KEY_TEST_RESULT_AT','test_hooks_finished','KIND_LOG','KEY_AUTOMATE_SESSION_NAME','KEY_AUTOMATE_SESSION_STATUS','353572BCiXRW','5529612uhLqQB','214535uBltlv','event_ended_at','test_code','KEY_EVENT_STARTED_AT','DEFAULT_HOOK_RESULT','KEY_TEST_FRAMEWORK_VERSION','KEY_HOOK_ID','hook_failure_type','test_framework_name','KEY_HOOK_LAST_STARTED','759180xUVJvt','KEY_HOOK_RESULT','test_scopes','KEY_AUTOMATE_SESSION_REASON','KEY_FILE_SIZE','KEY_TEST_RESULT','test_ended_at','KEY_LOGS','KEY_HOOK_LOGS','custom_metadata','KEY_TEST_UUID','KEY_HOOK_LAST_FINISHED','KEY_HOOK_FAILURE_REASON','test_attachments','KEY_EVENT_ENDED_AT','KEY_TEST_TAGS','retry_of','KEY_TEST_SCOPES','file_level','exports','hook_name','KEY_TEST_FAILURE_REASON','KEY_TEST_META','test_hook_last_finished','TEST_LOG','file_name','^(BEFORE_|AFTER_)','hook_failure','KEY_TEST_LOCATION','2170567UBKJcr','test_uuid','test_result_at','DEFAULT_TEST_RESULT','test_tags','356454lifZlE','KEY_SESSION_NAME','test_file_path','test_failure_type','KEY_TEST_FAILURE','hook_id','test_rerun_name','hook_result','10KrvGQx','10jOFgmK','KEY_TEST_RERUN_NAME','KEY_FILE_PATH','KEY_TEST_CODE','test_hooks_started','KEY_FILE_NAME','event_started_at','KEY_TEST_STARTED_AT','test_logs','281355SEWbak','KEY_TEST_RETRY_OF','KEY_TEST_LOGS','test_failure','test_name'];a69_0x3568=function(){return _0x480026;};return a69_0x3568();}module[a69_0x418a3e(0x12d)]=TestFrameworkConstants;
1
+ const a69_0x546db6=a69_0x5508;(function(_0x3817d6,_0x46ec14){const _0x59a4fd=a69_0x5508,_0x54a154=_0x3817d6();while(!![]){try{const _0x24b8e0=parseInt(_0x59a4fd(0x1d2))/0x1+-parseInt(_0x59a4fd(0x1c5))/0x2*(parseInt(_0x59a4fd(0x1df))/0x3)+parseInt(_0x59a4fd(0x204))/0x4+-parseInt(_0x59a4fd(0x202))/0x5+parseInt(_0x59a4fd(0x1d3))/0x6*(parseInt(_0x59a4fd(0x1dd))/0x7)+-parseInt(_0x59a4fd(0x1d1))/0x8+parseInt(_0x59a4fd(0x1fd))/0x9;if(_0x24b8e0===_0x46ec14)break;else _0x54a154['push'](_0x54a154['shift']());}catch(_0x174c93){_0x54a154['push'](_0x54a154['shift']());}}}(a69_0x10d3,0x23172));const a69_0x3f2911={};function a69_0x5508(_0x11e531,_0x2f3be7){const _0x10d330=a69_0x10d3();return a69_0x5508=function(_0x550845,_0x344c77){_0x550845=_0x550845-0x1c0;let _0x36f2a2=_0x10d330[_0x550845];return _0x36f2a2;},a69_0x5508(_0x11e531,_0x2f3be7);}a69_0x3f2911['KEY_TEST_UUID']=a69_0x546db6(0x1d7),a69_0x3f2911['KEY_TEST_ID']=a69_0x546db6(0x1c1),a69_0x3f2911[a69_0x546db6(0x1c0)]=a69_0x546db6(0x1dc),a69_0x3f2911[a69_0x546db6(0x209)]=a69_0x546db6(0x1c8),a69_0x3f2911[a69_0x546db6(0x20d)]=a69_0x546db6(0x203),a69_0x3f2911['KEY_TEST_RESULT']=a69_0x546db6(0x1f9),a69_0x3f2911['KEY_TEST_RESULT_AT']='test_result_at',a69_0x3f2911['KEY_TEST_STARTED_AT']=a69_0x546db6(0x1e0),a69_0x3f2911['KEY_TEST_ENDED_AT']=a69_0x546db6(0x1fc),a69_0x3f2911[a69_0x546db6(0x1eb)]=a69_0x546db6(0x1cc),a69_0x3f2911['KEY_TEST_SCOPE']='test_scope',a69_0x3f2911[a69_0x546db6(0x1ea)]=a69_0x546db6(0x20b),a69_0x3f2911['KEY_TEST_FRAMEWORK_NAME']='test_framework_name',a69_0x3f2911[a69_0x546db6(0x1c9)]=a69_0x546db6(0x1c2),a69_0x3f2911[a69_0x546db6(0x20e)]=a69_0x546db6(0x1db),a69_0x3f2911[a69_0x546db6(0x1ca)]='test_rerun_name',a69_0x3f2911[a69_0x546db6(0x1cf)]=a69_0x546db6(0x1e5),a69_0x3f2911[a69_0x546db6(0x1f1)]=a69_0x546db6(0x1f3),a69_0x3f2911[a69_0x546db6(0x1fa)]=a69_0x546db6(0x1da),a69_0x3f2911[a69_0x546db6(0x200)]=a69_0x546db6(0x1e6),a69_0x3f2911[a69_0x546db6(0x1cb)]='test_failure_reason',a69_0x3f2911[a69_0x546db6(0x205)]='test_logs',a69_0x3f2911[a69_0x546db6(0x1ff)]='test_meta',a69_0x3f2911[a69_0x546db6(0x20c)]=a69_0x546db6(0x207),a69_0x3f2911['KEY_AUTOMATE_SESSION_NAME']='automate_session_name',a69_0x3f2911[a69_0x546db6(0x1d0)]=a69_0x546db6(0x1d6),a69_0x3f2911[a69_0x546db6(0x1f5)]='automate_session_reason',a69_0x3f2911['KEY_EVENT_STARTED_AT']=a69_0x546db6(0x20a),a69_0x3f2911[a69_0x546db6(0x201)]=a69_0x546db6(0x1e9),a69_0x3f2911['KEY_HOOK_ID']=a69_0x546db6(0x1de),a69_0x3f2911[a69_0x546db6(0x1ef)]=a69_0x546db6(0x1c6),a69_0x3f2911[a69_0x546db6(0x1f4)]=a69_0x546db6(0x1d8),a69_0x3f2911[a69_0x546db6(0x1e8)]='hook_failure_reason',a69_0x3f2911[a69_0x546db6(0x1c3)]=a69_0x546db6(0x1e1),a69_0x3f2911[a69_0x546db6(0x1f7)]=a69_0x546db6(0x208),a69_0x3f2911['KEY_HOOK_NAME']=a69_0x546db6(0x1e4),a69_0x3f2911['DEFAULT_TEST_RESULT']=a69_0x546db6(0x206),a69_0x3f2911['DEFAULT_HOOK_RESULT']=a69_0x546db6(0x206),a69_0x3f2911[a69_0x546db6(0x1c4)]=a69_0x546db6(0x1f6),a69_0x3f2911['KIND_LOG']='TEST_LOG',a69_0x3f2911[a69_0x546db6(0x1cd)]=a69_0x546db6(0x1d5),a69_0x3f2911[a69_0x546db6(0x1fe)]='test_hooks_started',a69_0x3f2911['KEY_HOOKS_FINISHED']=a69_0x546db6(0x1d9),a69_0x3f2911[a69_0x546db6(0x1e3)]=a69_0x546db6(0x1f0),a69_0x3f2911[a69_0x546db6(0x1ed)]=a69_0x546db6(0x1fb),a69_0x3f2911['KEY_LOGS']=a69_0x546db6(0x1ec),a69_0x3f2911[a69_0x546db6(0x1ce)]=a69_0x546db6(0x1f8),a69_0x3f2911['KEY_TEST_ATTACHMENTS']=a69_0x546db6(0x1c7),a69_0x3f2911[a69_0x546db6(0x1d4)]=a69_0x546db6(0x1ee),a69_0x3f2911['KEY_FILE_NAME']='file_name',a69_0x3f2911['KEY_FILE_PATH']=a69_0x546db6(0x1f2),a69_0x3f2911[a69_0x546db6(0x1e2)]=a69_0x546db6(0x1e7);const TestFrameworkConstants=a69_0x3f2911;function a69_0x10d3(){const _0x16f60e=['KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_RERUN_NAME','KEY_TEST_FAILURE_REASON','test_location','HOOK_REGEX','KEY_CUSTOM_TAGS','KEY_TEST_RETRY_OF','KEY_AUTOMATE_SESSION_STATUS','1196120odBwFx','287401AmGxAz','12oTuFEo','KEY_FILE_SIZE','^(BEFORE_|AFTER_)','automate_session_status','test_uuid','hook_failure_type','test_hooks_finished','test_failure','test_code','test_name','473494LdIMSA','hook_id','183UxkUTX','test_started_at','hook_failure','KEY_FILE_LEVEL','KEY_HOOK_LAST_STARTED','hook_name','retry_of','test_failure_type','file_level','KEY_HOOK_FAILURE_REASON','event_ended_at','KEY_TEST_SCOPES','KEY_TEST_LOCATION','logs','KEY_HOOK_LAST_FINISHED','file_size','KEY_HOOK_RESULT','test_hook_last_started','KEY_PLATFORM_INDEX','file_path','platform_index','KEY_HOOK_FAILURE_TYPE','KEY_AUTOMATE_SESSION_REASON','TEST_SCREENSHOT','KEY_HOOK_LOGS','custom_metadata','test_result','KEY_TEST_FAILURE','test_hook_last_finished','test_ended_at','185535hDWSWA','KEY_HOOKS_STARTED','KEY_TEST_META','KEY_TEST_FAILURE_TYPE','KEY_EVENT_ENDED_AT','1006730YbQNoN','test_tags','518216qxEhkd','KEY_TEST_LOGS','pending','test_session_name','hook_logs','KEY_TEST_FILE_PATH','event_started_at','test_scopes','KEY_SESSION_NAME','KEY_TEST_TAGS','KEY_TEST_CODE','KEY_TEST_NAME','test_id','test_framework_version','KEY_HOOK_FAILURE','KIND_SCREENSHOT','2566LGjvrf','hook_result','test_attachments','test_file_path'];a69_0x10d3=function(){return _0x16f60e;};return a69_0x10d3();}module['exports']=TestFrameworkConstants;
@@ -1 +1 @@
1
- const a70_0x42e6bd=a70_0x40a5;(function(_0x5e16cd,_0x486f93){const _0x48d9a5=a70_0x40a5,_0x2b401b=_0x5e16cd();while(!![]){try{const _0x1178bf=parseInt(_0x48d9a5(0x1b7))/0x1*(-parseInt(_0x48d9a5(0x1db))/0x2)+parseInt(_0x48d9a5(0x18f))/0x3+-parseInt(_0x48d9a5(0x17d))/0x4*(-parseInt(_0x48d9a5(0x145))/0x5)+-parseInt(_0x48d9a5(0x12f))/0x6+-parseInt(_0x48d9a5(0x132))/0x7+parseInt(_0x48d9a5(0x191))/0x8+-parseInt(_0x48d9a5(0x194))/0x9;if(_0x1178bf===_0x486f93)break;else _0x2b401b['push'](_0x2b401b['shift']());}catch(_0x3b4348){_0x2b401b['push'](_0x2b401b['shift']());}}}(a70_0x5561,0xcfb76));const TestFramework=require('./testFramework'),TestFrameworkState=require(a70_0x42e6bd(0x167)),HookState=require(a70_0x42e6bd(0x170)),{createClassLogger}=require(a70_0x42e6bd(0x1bc)),TestFrameworkInstance=require(a70_0x42e6bd(0x13a)),CLIUtils=require(a70_0x42e6bd(0x1d2)),TrackedInstance=require(a70_0x42e6bd(0x160)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),logger=createClassLogger(a70_0x42e6bd(0x12b)),{v4:uuidv4}=require('uuid'),util=require('util'),TestInfo=require('../TestInfo.js'),GrpcClient=require(a70_0x42e6bd(0x155));function a70_0x40a5(_0x1cbf22,_0x2f16a4){const _0x55617d=a70_0x5561();return a70_0x40a5=function(_0x40a5c6,_0x3d3ea8){_0x40a5c6=_0x40a5c6-0x122;let _0x5b4527=_0x55617d[_0x40a5c6];return _0x5b4527;},a70_0x40a5(_0x1cbf22,_0x2f16a4);}class CucumberTestFramework extends TestFramework{constructor(_0x105cb8,_0x27dcf3,_0x2d65d8){super(_0x105cb8,_0x27dcf3,_0x2d65d8);}async[a70_0x42e6bd(0x133)](_0x4a2886,_0x5a0f1c,_0x128186={}){const _0x2aab4a=a70_0x42e6bd,_0x373346={};_0x373346['wlypL']='trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x373346[_0x2aab4a(0x141)]=function(_0x2f70ac,_0x313af9){return _0x2f70ac===_0x313af9;},_0x373346[_0x2aab4a(0x152)]=function(_0x298d28,_0x26d175){return _0x298d28===_0x26d175;},_0x373346[_0x2aab4a(0x1b0)]='trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s';const _0x17850e=_0x373346;await super[_0x2aab4a(0x133)](_0x4a2886,_0x5a0f1c,_0x128186);const _0xd2a106=this[_0x2aab4a(0x175)](_0x4a2886,_0x5a0f1c,_0x128186);if(!_0xd2a106){logger[_0x2aab4a(0x17c)](_0x17850e[_0x2aab4a(0x19d)]);return;}try{let _0x323299,_0x1081bb;switch(_0x4a2886){case TestFrameworkState[_0x2aab4a(0x139)]:_0x323299=_0x128186[_0x2aab4a(0x149)],_0x1081bb=TestInfo[_0x2aab4a(0x1b8)](_0x323299['id']);if(_0x17850e[_0x2aab4a(0x141)](_0x5a0f1c,HookState[_0x2aab4a(0x14a)])){logger[_0x2aab4a(0x17c)](_0x2aab4a(0x1b1)+_0x323299['id']);const _0x469c78={};_0x469c78[_0x2aab4a(0x13d)]=_0x1081bb,_0x469c78[_0x2aab4a(0x164)]=_0x323299,_0xd2a106[_0x2aab4a(0x1b3)](this[_0x2aab4a(0x1c1)](_0x469c78)),logger['debug'](_0x2aab4a(0x177)+_0x323299['id']),await this[_0x2aab4a(0x1be)](_0xd2a106,_0x323299['id']);}else{if(_0x17850e[_0x2aab4a(0x141)](_0x5a0f1c,HookState['POST'])){const _0x4bc594={};_0x4bc594['testUUID']=_0x1081bb,_0x4bc594['testData']=_0x323299,_0xd2a106[_0x2aab4a(0x1b3)](this['parseCucumberTestResult'](_0x4bc594)),await this[_0x2aab4a(0x1be)](_0xd2a106,_0x323299['id']);}}break;case TestFrameworkState['LOG_REPORT']:_0x17850e[_0x2aab4a(0x152)](_0x5a0f1c,HookState[_0x2aab4a(0x180)])&&await this[_0x2aab4a(0x1c5)](_0xd2a106,_0x4a2886,_0x128186);break;default:if(CLIUtils[_0x2aab4a(0x1df)](_0x4a2886[_0x2aab4a(0x1de)]()[_0x2aab4a(0x1e5)]('.')[0x1])){const _0x3249a3=await this[_0x2aab4a(0x12a)](_0xd2a106,_0x4a2886,_0x5a0f1c,_0x128186);_0xd2a106['addMultipleEntries'](_0x3249a3);}else logger[_0x2aab4a(0x17c)](_0x2aab4a(0x198)+_0x4a2886+'\x20&\x20hookState='+_0x5a0f1c);break;}}catch(_0x78a529){logger[_0x2aab4a(0x1d6)](util[_0x2aab4a(0x168)](_0x17850e[_0x2aab4a(0x1b0)],_0x4a2886,_0x5a0f1c,_0x128186[_0x2aab4a(0x165)],_0x78a529));}_0x128186[_0x2aab4a(0x124)]=_0xd2a106,await this[_0x2aab4a(0x19b)](_0xd2a106,_0x4a2886,_0x5a0f1c,_0x128186);}['resolveInstance'](_0xbcaeee,_0x274129,_0x498664={}){const _0x348ab1=a70_0x42e6bd,_0x306601={};_0x306601[_0x348ab1(0x151)]=function(_0x442622,_0x559680){return _0x442622===_0x559680;},_0x306601[_0x348ab1(0x1c6)]=function(_0x8d25a5,_0x4e550f){return _0x8d25a5===_0x4e550f;};const _0x328928=_0x306601;let _0x4625ac=null;return(_0x328928[_0x348ab1(0x151)](_0xbcaeee,TestFrameworkState[_0x348ab1(0x1a0)])||_0x328928[_0x348ab1(0x1c6)](_0xbcaeee,TestFrameworkState[_0x348ab1(0x1cb)]))&&this['trackCucumberInstance'](_0xbcaeee,_0x498664),_0x4625ac=TestFramework['getTrackedInstance'](),_0x4625ac;}[a70_0x42e6bd(0x183)](_0x104b16,_0x491b08){const _0x17d567=a70_0x42e6bd,_0x16a7c9=CLIUtils['getCurrentInstanceName'](),_0x1b191a=TrackedInstance[_0x17d567(0x172)](_0x16a7c9);let _0x1c5309=null;logger[_0x17d567(0x17c)](_0x17d567(0x181)+_0x16a7c9+',\x20state='+_0x104b16),_0x1c5309=new TestFrameworkInstance(_0x1b191a,this[_0x17d567(0x1ae)](),this[_0x17d567(0x1b5)](),_0x104b16,HookState['NONE']),TestFramework['setTrackedInstance'](_0x1b191a,_0x1c5309),logger[_0x17d567(0x17c)]('trackCucumberInstance:\x20saved\x20instance\x20contextId='+_0x1b191a[_0x17d567(0x1a9)]()+_0x17d567(0x182)+_0x16a7c9);}[a70_0x42e6bd(0x1c1)](_0x1a0c84){const _0x6e2443=a70_0x42e6bd,_0x2cccfd={};_0x2cccfd[_0x6e2443(0x1a4)]=_0x6e2443(0x1d5);const _0x536c2c=_0x2cccfd,{testUUID:_0x1a3c37,testData:_0x4c6d33}=_0x1a0c84;if(!_0x4c6d33||!_0x4c6d33[_0x6e2443(0x1bb)])return logger['debug'](_0x536c2c[_0x6e2443(0x1a4)]),{};const _0x27c918=_0x1a3c37,_0x2254ff=_0x4c6d33[_0x6e2443(0x1bb)],_0x558ba8=this[_0x6e2443(0x1ae)]()[0x0],_0x40116c=this[_0x6e2443(0x1b5)](),_0x159d15={[TestFrameworkConstants[_0x6e2443(0x15c)]]:_0x558ba8,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x40116c[_0x558ba8],[TestFrameworkConstants[_0x6e2443(0x1c9)]]:[],[TestFrameworkConstants[_0x6e2443(0x1ca)]]:{},[TestFrameworkConstants[_0x6e2443(0x185)]]:{},[TestFrameworkConstants[_0x6e2443(0x1a3)]]:_0x27c918,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x6e2443(0x163)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x4c6d33[_0x6e2443(0x1e6)]||'',[TestFrameworkConstants[_0x6e2443(0x1e3)]]:_0x4c6d33[_0x6e2443(0x125)]||'',[TestFrameworkConstants[_0x6e2443(0x199)]]:_0x2254ff,[TestFrameworkConstants[_0x6e2443(0x13e)]]:_0x4c6d33['name']||'',[TestFrameworkConstants[_0x6e2443(0x179)]]:_0x4c6d33[_0x6e2443(0x1a5)]||'',[TestFrameworkConstants[_0x6e2443(0x138)]]:_0x4c6d33['body']?.[_0x6e2443(0x1a6)]||null,[TestFrameworkConstants[_0x6e2443(0x1bf)]]:_0x4c6d33['tags']||[],[TestFrameworkConstants[_0x6e2443(0x12c)]]:_0x4c6d33[_0x6e2443(0x1e2)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x6e2443(0x1c2)]]:_0x4c6d33['scopes']?.[0x0]||'',[TestFrameworkConstants[_0x6e2443(0x1cd)]]:_0x4c6d33['scopes']||[],[TestFrameworkConstants[_0x6e2443(0x173)]]:_0x4c6d33[_0x6e2443(0x15b)]?.[_0x6e2443(0x1da)]||_0x4c6d33[_0x6e2443(0x1e6)]||'',[TestFrameworkConstants[_0x6e2443(0x1e0)]]:{},[TestFrameworkConstants[_0x6e2443(0x15d)]]:_0x4c6d33['meta']||{}};TestInfo[_0x6e2443(0x17e)](_0x2254ff,_0x159d15),logger['debug'](_0x6e2443(0x169)+_0x4c6d33[_0x6e2443(0x1e6)]+_0x6e2443(0x184)+_0x27c918);const _0x7fce6a={};return _0x7fce6a[_0x2254ff]=_0x159d15,_0x7fce6a;}[a70_0x42e6bd(0x127)](_0x5a926c){const _0x4eace7=a70_0x42e6bd,_0x171e14={'KEotO':_0x4eace7(0x188),'aVJoX':'unknown','DrQNN':function(_0x5b6a2b,_0x5c5af9){return _0x5b6a2b===_0x5c5af9;},'MpbIh':_0x4eace7(0x15e),'bjhvg':_0x4eace7(0x12d),'VvTUl':function(_0x5b0824,_0x431d42,_0x5e1d9a){return _0x5b0824(_0x431d42,_0x5e1d9a);},'UmdVi':function(_0x253ce5,_0x37632d){return _0x253ce5>_0x37632d;},'qMpFW':function(_0x468578,_0xf76eb0){return _0x468578>_0xf76eb0;}},{testUUID:_0x2e633a,testData:_0xbe2924}=_0x5a926c;if(!_0xbe2924||!_0xbe2924['uuid'])return logger[_0x4eace7(0x17c)](_0x171e14[_0x4eace7(0x126)]),{};const _0x23fe97=this['resolveInstance'](TestFrameworkState[_0x4eace7(0x139)],HookState[_0x4eace7(0x180)]),_0xa92ebf=_0xbe2924['uuid'],_0x3ccc7e=TestInfo[_0x4eace7(0x186)](_0xa92ebf)||{},_0x79de5b=_0x3ccc7e?_0x3ccc7e[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x10255e={..._0x3ccc7e,[TestFrameworkConstants[_0x4eace7(0x19a)]]:_0xbe2924[_0x4eace7(0x154)]||_0x171e14['aVJoX'],[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0xbe2924['finishedAt']||new Date()[_0x4eace7(0x140)](),[TestFrameworkConstants[_0x4eace7(0x150)]]:new Date()[_0x4eace7(0x140)](),[TestFrameworkConstants[_0x4eace7(0x1e0)]]:_0x79de5b,[TestFrameworkConstants[_0x4eace7(0x148)]]:[],[TestFrameworkConstants[_0x4eace7(0x15d)]]:_0xbe2924[_0x4eace7(0x17b)]||{}};_0x171e14[_0x4eace7(0x193)](_0xbe2924[_0x4eace7(0x154)],_0x171e14[_0x4eace7(0x134)])&&_0xbe2924[_0x4eace7(0x187)]&&(_0x10255e[TestFrameworkConstants[_0x4eace7(0x1c7)]]=_0xbe2924[_0x4eace7(0x128)]||_0x171e14['bjhvg'],_0x10255e[TestFrameworkConstants[_0x4eace7(0x13b)]]=_0xbe2924[_0x4eace7(0x158)]||'',_0x10255e[TestFrameworkConstants[_0x4eace7(0x137)]]=_0xbe2924['failure']);const _0x5d6357=TestInfo['getTestDetails'](_0xa92ebf)[TestFrameworkConstants[_0x4eace7(0x16c)]]||{},_0x27901b=_0x171e14[_0x4eace7(0x1dd)](getManualUploadLogs,_0x5d6357,_0x23fe97['getAllData']()[_0x4eace7(0x144)](_0xa92ebf)[TestFrameworkConstants[_0x4eace7(0x1a3)]]);if(_0x171e14[_0x4eace7(0x14c)](_0x27901b[_0x4eace7(0x165)],0x0)){const _0x1fe3ee=_0x10255e[TestFrameworkConstants[_0x4eace7(0x148)]]||[];_0x10255e[TestFrameworkConstants['KEY_LOGS']]=[..._0x1fe3ee,..._0x27901b];}_0xbe2924[_0x4eace7(0x1e4)]&&_0x171e14[_0x4eace7(0x147)](_0xbe2924[_0x4eace7(0x1e4)][_0x4eace7(0x165)],0x0)&&(_0x10255e[TestFrameworkConstants[_0x4eace7(0x1ca)]]=_0xbe2924[_0x4eace7(0x1e4)]);TestInfo[_0x4eace7(0x17e)](_0xa92ebf,_0x10255e),logger[_0x4eace7(0x17c)](_0x4eace7(0x1bd)+_0xbe2924['name']+_0x4eace7(0x1aa)+_0xbe2924[_0x4eace7(0x154)]);const _0x52fa1b={};return _0x52fa1b[_0xa92ebf]=_0x10255e,_0x52fa1b;}async[a70_0x42e6bd(0x12a)](_0x203843,_0x960bc1,_0x24a8d1,_0xa58ac){const _0x48465e=a70_0x42e6bd,_0x165752={'Nrhnd':'No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','WAILc':function(_0x21537a){return _0x21537a();},'qaUHP':function(_0x33ebb6,_0x1acaa6){return _0x33ebb6 in _0x1acaa6;},'DtGxD':function(_0x2ea206,_0x43d23d){return _0x2ea206===_0x43d23d;},'KPZoF':function(_0x35ebf6,_0xaf0e5b){return _0x35ebf6===_0xaf0e5b;},'bZbCC':function(_0x18450a,_0x2a6792){return _0x18450a>_0x2a6792;},'xVkUc':function(_0x3c34f2,_0x6ae78e){return _0x3c34f2===_0x6ae78e;},'yNPkT':_0x48465e(0x15e),'NFKPm':_0x48465e(0x12d),'OQXug':'passed','aCtoQ':function(_0x5197ca,_0x11ca79){return _0x5197ca!==_0x11ca79;}},{hookData:_0xc05fe5}=_0xa58ac;if(!_0xc05fe5)return logger[_0x48465e(0x17c)](_0x165752['Nrhnd']),{};const _0x438dc0=_0xc05fe5[_0x48465e(0x1bb)]||_0x165752[_0x48465e(0x1b9)](uuidv4),_0xb0bb44=_0xc05fe5['test_run_id'],_0x5a135f=_0x960bc1[_0x48465e(0x1de)]()[_0x48465e(0x1e5)]('.')[0x1],_0x53578a=TestInfo['getTestDetails'](_0xb0bb44)[TestFrameworkConstants[_0x48465e(0x1e0)]]||{},_0x140171=_0x203843[_0x48465e(0x16b)]()['get'](_0xb0bb44);if(!_0x140171)return logger['debug'](_0x48465e(0x159)+_0xb0bb44+_0x48465e(0x1d7)),this['storePendingHook'](_0x203843,_0xb0bb44,_0x960bc1,_0x24a8d1,_0xa58ac),{};let _0x4c0745=_0x140171[TestFrameworkConstants[_0x48465e(0x185)]];!_0x4c0745&&(_0x4c0745={});!_0x165752['qaUHP'](_0x5a135f,_0x4c0745)&&(_0x4c0745[_0x5a135f]=[]);let _0x19be3d=_0x140171[TestFrameworkConstants[_0x48465e(0x1ca)]];!_0x19be3d&&(_0x19be3d={});!_0x165752[_0x48465e(0x135)](_0x5a135f,_0x19be3d)&&(_0x19be3d[_0x5a135f]=[]);const _0x3ebb93={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x4c0745,[TestFrameworkConstants[_0x48465e(0x1ca)]]:_0x19be3d},_0xa9c0f0={};_0xa9c0f0[_0xb0bb44]=_0x3ebb93;const _0x5de98f=_0xa9c0f0;if(_0x165752['DtGxD'](_0x24a8d1,HookState[_0x48465e(0x14a)])){const _0x3f50d6={[TestFrameworkConstants[_0x48465e(0x195)]]:_0x438dc0,[TestFrameworkConstants[_0x48465e(0x1d0)]]:TestFrameworkConstants[_0x48465e(0x1e7)],[TestFrameworkConstants[_0x48465e(0x19e)]]:_0xc05fe5['started_at'],[TestFrameworkConstants[_0x48465e(0x143)]]:[],[TestFrameworkConstants[_0x48465e(0x190)]]:_0xc05fe5[_0x48465e(0x18c)],[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x53578a};_0x3f50d6[_0x48465e(0x129)]=_0x5a135f;const _0x337057=_0x3f50d6;_0x4c0745[_0x5a135f][_0x48465e(0x16e)](_0x337057),_0x5de98f[_0xb0bb44][TestFrameworkConstants[_0x48465e(0x176)]]=_0x5a135f,logger[_0x48465e(0x17c)](_0x48465e(0x146)+_0x5a135f+_0x48465e(0x153)+_0x337057+'\x20\x20and\x20args\x20=\x20'+_0xa58ac);}else{if(_0x165752[_0x48465e(0x1ba)](_0x24a8d1,HookState[_0x48465e(0x180)])){const _0x509f62=_0xc05fe5[_0x48465e(0x154)],_0x4b3dd3=_0x4c0745[_0x5a135f]||[];logger[_0x48465e(0x17c)](_0x48465e(0x1d3)+_0x4b3dd3+_0x48465e(0x1a8)+_0xa58ac);if(_0x165752[_0x48465e(0x197)](_0x4b3dd3[_0x48465e(0x165)],0x0)){const _0x4ba371=_0x4b3dd3['pop']();_0x165752[_0x48465e(0x123)](_0xc05fe5['result'],_0x165752[_0x48465e(0x1a7)])&&_0xc05fe5[_0x48465e(0x1cf)]?(_0x4ba371[TestFrameworkConstants[_0x48465e(0x17a)]]=_0xc05fe5['failure_type']||_0x165752[_0x48465e(0x14b)],_0x4ba371[TestFrameworkConstants[_0x48465e(0x1ac)]]=_0xc05fe5[_0x48465e(0x158)]||'',_0x4ba371[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0xc05fe5[_0x48465e(0x1cf)]):_0x4ba371[TestFrameworkConstants[_0x48465e(0x1d0)]]=_0x165752[_0x48465e(0x1d9)];_0x165752['aCtoQ'](_0x509f62,TestFrameworkConstants[_0x48465e(0x1e7)])&&(_0x4ba371[TestFrameworkConstants[_0x48465e(0x1d0)]]=_0x509f62);_0x4ba371[TestFrameworkConstants[_0x48465e(0x13f)]]=_0xc05fe5[_0x48465e(0x18e)]||new Date()[_0x48465e(0x140)](),_0x4ba371[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x53578a;const _0x12e3d6=_0x4ba371[TestFrameworkConstants['KEY_HOOK_ID']];!_0x19be3d[_0x5a135f]&&(_0x19be3d[_0x5a135f]=[]),_0x19be3d[_0x5a135f][_0x48465e(0x16e)](_0x4ba371),_0x5de98f[_0xb0bb44][TestFrameworkConstants[_0x48465e(0x13c)]]=_0x5a135f;}}}return logger['debug']('Tracked\x20cucumber\x20hook\x20event:\x20'+_0xc05fe5[_0x48465e(0x18c)]+'\x20with\x20id\x20'+_0x438dc0+'\x20for\x20test:\x20'+_0xb0bb44),_0x5de98f;}[a70_0x42e6bd(0x178)](_0x3b5e73){const _0x70c097=a70_0x42e6bd,_0x32dee4={};_0x32dee4[_0x70c097(0x14d)]=_0x70c097(0x174);const _0x229acb=_0x32dee4;try{const _0x2eec88=_0x3b5e73[_0x70c097(0x149)]?_0x3b5e73[_0x70c097(0x149)]['id']:_0x3b5e73['hookData'][_0x70c097(0x1d4)],_0x5a3af4=_0x3b5e73[_0x70c097(0x124)],_0x2b9721=_0x5a3af4['getContext'](),_0xf73795=_0x5a3af4[_0x70c097(0x16b)]()[_0x70c097(0x144)](_0x2eec88);if(!_0xf73795)return logger[_0x70c097(0x17c)](_0x70c097(0x1e8)+_0x2eec88),{};logger['debug'](_0x70c097(0x1ce)+_0x2eec88);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x31670c='',[TestFrameworkConstants[_0x70c097(0x1cc)]]:_0x2e354b='',[TestFrameworkConstants[_0x70c097(0x12c)]]:_0x5d308d='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x3de3b8=''}=_0xf73795,_0x3c4e23=_0x5a3af4['getCurrentTestState']()[_0x70c097(0x1de)]()[_0x70c097(0x1e5)]('.')[0x1],_0x396a5d=_0x5a3af4[_0x70c097(0x1c0)]()[_0x70c097(0x1de)]()[_0x70c097(0x1e5)]('.')[0x1],_0x42634b=global?.['__workerDetails']?.[_0x70c097(0x16f)]?.[_0x70c097(0x130)],_0xc1ad65=_0x5a3af4[_0x70c097(0x161)](),_0x19803b=Buffer['from'](JSON[_0x70c097(0x18a)](_0xf73795))[_0x70c097(0x1de)](_0x229acb[_0x70c097(0x14d)]),_0x2496ff={'hash':_0x2b9721['getId'](),'threadId':_0x2b9721[_0x70c097(0x1ab)]()[_0x70c097(0x1de)](),'processId':_0x2b9721[_0x70c097(0x1d1)]()[_0x70c097(0x1de)]()},_0xb0bd40={};_0xb0bd40[_0x70c097(0x1af)]=_0x42634b,_0xb0bd40['testFrameworkName']=_0x31670c,_0xb0bd40[_0x70c097(0x192)]=_0x2e354b,_0xb0bd40[_0x70c097(0x16a)]=_0x3c4e23,_0xb0bd40[_0x70c097(0x1a1)]=_0x396a5d,_0xb0bd40[_0x70c097(0x1e2)]=_0x5d308d,_0xb0bd40[_0x70c097(0x166)]=_0x3de3b8,_0xb0bd40['uuid']=_0xc1ad65,_0xb0bd40['eventJson']=_0x19803b,_0xb0bd40['executionContext']=_0x2496ff;const _0x662803=_0xb0bd40;return logger[_0x70c097(0x17c)](_0x70c097(0x16d)+_0x2eec88+_0x70c097(0x1c3)+_0x3c4e23+_0x70c097(0x1b2)+_0x396a5d),_0x662803;}catch(_0x16fe6c){return logger[_0x70c097(0x1d6)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util['format'](_0x16fe6c)),{};}}async[a70_0x42e6bd(0x1c5)](_0x589a50,_0x2ec567,_0x121ec7){const _0x3d3bce=a70_0x42e6bd,_0x39da9a={'jdtgS':function(_0x47c462,_0x188f87,_0x4c866f){return _0x47c462(_0x188f87,_0x4c866f);},'aBeHV':function(_0x235d61,_0x40d794){return _0x235d61===_0x40d794;},'LkbNB':'sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','asWJp':function(_0x9a94f4,_0x2f58af){return _0x9a94f4/_0x2f58af;},'BTBxg':function(_0x27106f,_0x377289){return _0x27106f<_0x377289;},'KMqft':function(_0x36a354,_0x35b63d){return _0x36a354*_0x35b63d;},'QMhwb':function(_0x47e355,_0x32bc16){return _0x47e355+_0x32bc16;},'nRYnp':function(_0x25f785,_0x4b3378){return _0x25f785+_0x4b3378;},'nCjDt':'Cucumber\x20log\x20created\x20event'};try{const _0x3a054e=_0x121ec7[_0x3d3bce(0x13d)],_0x4cbd68=_0x589a50[_0x3d3bce(0x16b)]()[_0x3d3bce(0x144)](_0x3a054e),{[TestFrameworkConstants[_0x3d3bce(0x15c)]]:_0x244c9e='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x4242dc=''}=_0x4cbd68,_0x34a94e=TestInfo[_0x3d3bce(0x136)](_0x3a054e),_0x5c878b=TestInfo['getTestDetails'](_0x3a054e)[TestFrameworkConstants[_0x3d3bce(0x16c)]]||{},_0xd0a87f=_0x39da9a[_0x3d3bce(0x122)](getMediaArtifactsLogs,_0x5c878b,_0x589a50[_0x3d3bce(0x16b)]()[_0x3d3bce(0x144)](_0x3a054e)[TestFrameworkConstants[_0x3d3bce(0x1a3)]]),_0x456453=(_0x34a94e||[])[_0x3d3bce(0x196)](_0xd0a87f||[]);if(!_0x456453||_0x39da9a[_0x3d3bce(0x1c4)](_0x456453[_0x3d3bce(0x165)],0x0)){logger[_0x3d3bce(0x17c)](_0x39da9a['LkbNB']);return;}const _0x3b88d7=0x28,_0x5abb67=Math[_0x3d3bce(0x19f)](_0x39da9a[_0x3d3bce(0x14e)](_0x456453[_0x3d3bce(0x165)],_0x3b88d7));for(let _0x38bee1=0x0;_0x39da9a[_0x3d3bce(0x131)](_0x38bee1,_0x5abb67);_0x38bee1++){const _0x3e2474=_0x39da9a[_0x3d3bce(0x1a2)](_0x38bee1,_0x3b88d7),_0x21ac4a=_0x39da9a[_0x3d3bce(0x15f)](_0x3e2474,_0x3b88d7),_0xb48ac1=_0x456453[_0x3d3bce(0x19c)](_0x3e2474,_0x21ac4a),_0xdb7863={'platformIndex':'0','logs':_0xb48ac1,'testFrameworkName':_0x244c9e,'testFrameworkVersion':_0x4242dc,'testFrameworkState':_0x2ec567[_0x3d3bce(0x1de)]()['split']('.')[0x1]};logger[_0x3d3bce(0x17c)](_0x3d3bce(0x14f)+_0x3a054e+'\x20batch\x20'+_0x39da9a[_0x3d3bce(0x18b)](_0x38bee1,0x1)+'/'+_0x5abb67+'\x20payload='+util[_0x3d3bce(0x171)](_0xdb7863));const _0x13e0b3=await GrpcClient[_0x3d3bce(0x1ad)]()[_0x3d3bce(0x1e9)](_0xdb7863);logger[_0x3d3bce(0x17c)](_0x3d3bce(0x14f)+_0x3a054e+'\x20batch\x20'+_0x39da9a[_0x3d3bce(0x15f)](_0x38bee1,0x1)+'/'+_0x5abb67+_0x3d3bce(0x1b6)+util['inspect'](_0x13e0b3));}}catch(_0x4610ea){logger[_0x3d3bce(0x1d6)](_0x3d3bce(0x1d8)+util[_0x3d3bce(0x168)](_0x4610ea));}logger[_0x3d3bce(0x17c)](_0x39da9a[_0x3d3bce(0x1b4)]);}['storePendingHook'](_0xfa8da,_0x3210af,_0x4a12dd,_0x583a6e,_0x3a6b00){const _0x2d5e6a=a70_0x42e6bd,_0x2794a4={'testId':_0x3210af,'testFrameworkState':_0x4a12dd,'hookState':_0x583a6e,'args':_0x3a6b00,'timestamp':new Date()['toISOString']()};_0xfa8da['addPendingHook'](_0x3210af,_0x2794a4),logger[_0x2d5e6a(0x17c)](_0x2d5e6a(0x142)+_0x3210af+_0x2d5e6a(0x157)+_0x4a12dd+',\x20hookState:\x20'+_0x583a6e);}async[a70_0x42e6bd(0x1be)](_0x510c6a,_0xa8818){const _0x49bac0=a70_0x42e6bd,_0x1ae299={};_0x1ae299[_0x49bac0(0x1c8)]=function(_0x17a243,_0x4bd651){return _0x17a243>_0x4bd651;};const _0x51fbb4=_0x1ae299;if(!_0x510c6a[_0x49bac0(0x12e)](_0xa8818))return;const _0x1bc1ea=_0x510c6a['getPendingHooks'](_0xa8818);logger['debug'](_0x49bac0(0x156)+_0x1bc1ea[_0x49bac0(0x165)]+_0x49bac0(0x17f)+_0xa8818);for(const _0x355743 of _0x1bc1ea){try{const _0x4ad6ef=await this[_0x49bac0(0x12a)](_0x510c6a,_0x355743[_0x49bac0(0x16a)],_0x355743[_0x49bac0(0x1a1)],_0x355743[_0x49bac0(0x1e1)]);_0x4ad6ef&&_0x51fbb4[_0x49bac0(0x1c8)](Object[_0x49bac0(0x162)](_0x4ad6ef)[_0x49bac0(0x165)],0x0)&&_0x510c6a[_0x49bac0(0x1b3)](_0x4ad6ef),await this[_0x49bac0(0x19b)](_0x510c6a,_0x355743[_0x49bac0(0x16a)],_0x355743[_0x49bac0(0x1a1)],_0x355743[_0x49bac0(0x1e1)]);}catch(_0x564e06){logger[_0x49bac0(0x1d6)](_0x49bac0(0x189)+_0xa8818+',\x20error:\x20'+_0x564e06);}}_0x510c6a[_0x49bac0(0x1dc)](_0xa8818),logger[_0x49bac0(0x17c)](_0x49bac0(0x18d)+_0xa8818);}}function a70_0x5561(){const _0x3df474=['parseCucumberTestResult','failure_type','key','trackHookEvent','CucumberTestFramework','KEY_TEST_STARTED_AT','UnhandledError','hasPendingHooks','4141206xNehPq','parallelIndex','BTBxg','3496052WyIEtD','trackEvent','MpbIh','qaUHP','readLogObjects','KEY_TEST_FAILURE','KEY_TEST_CODE','TEST','../instances/testFrameworkInstance.js','KEY_TEST_FAILURE_REASON','KEY_HOOK_LAST_FINISHED','testUUID','KEY_TEST_NAME','KEY_EVENT_ENDED_AT','toISOString','aUexn','Stored\x20pending\x20hook\x20for\x20testId:\x20','KEY_HOOK_LOGS','get','18905GjpaIV','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','qMpFW','KEY_LOGS','test','PRE','NFKPm','UmdVi','NozUn','asWJp','sendLogCreatedEvent:\x20for\x20testId:\x20','KEY_TEST_RESULT_AT','edopY','FwJeI','\x20&\x20hook\x20=\x20','result','../grpcClient','Processing\x20',',\x20state:\x20','failure_reason','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','exports','customRerunParam','KEY_TEST_FRAMEWORK_NAME','KEY_TEST_META','failed','QMhwb','../instances/trackedInstance.js','getRef','keys','DEFAULT_TEST_RESULT','testData','length','endedAt','../state/testFrameworkState.js','format','Parsed\x20cucumber\x20test:\x20','testFrameworkState','getAllData','KEY_TEST_ATTACHMENTS','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','push','workerInfo','../state/hookState.js','inspect','createContext','KEY_TEST_RERUN_NAME','base64','resolveInstance','KEY_HOOK_LAST_STARTED','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','createTestFrameworkEventPayload','KEY_TEST_LOCATION','KEY_HOOK_FAILURE_TYPE','meta','debug','1768WoAwbi','setTestDetails','\x20pending\x20hooks\x20for\x20testId:\x20','POST','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','\x20target=','trackCucumberInstance','\x20with\x20UUID:\x20','KEY_HOOKS_STARTED','getTestDetails','failure','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','stringify','nRYnp','hook_type','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','finished_at','2319852nnZqos','KEY_HOOK_NAME','11903728XWMYAW','testFrameworkVersion','DrQNN','14170104DobWxy','KEY_HOOK_ID','concat','bZbCC','trackEvent:\x20unsupported\x20testFrameworkState=','KEY_TEST_ID','KEY_TEST_RESULT','runHooks','slice','wlypL','KEY_EVENT_STARTED_AT','ceil','INIT_TEST','hookState','KMqft','KEY_TEST_UUID','bCAqz','location','code','yNPkT','\x20and\x20args\x20=\x20','getId','\x20with\x20result:\x20','getThreadId','KEY_HOOK_FAILURE_REASON','getInstance','getTestFrameworks','platformIndex','Wgdec','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','\x20hookState:\x20','addMultipleEntries','nCjDt','getTestFrameworksVersions','\x20response=','105851FPykqP','getTestUUID','WAILc','KPZoF','uuid','../../../helpers/classLogger.js','Updated\x20cucumber\x20test\x20result:\x20','processPendingHooks','KEY_TEST_TAGS','getCurrentHookState','parseCucumberTest','KEY_TEST_SCOPE','\x20testState:\x20','aBeHV','sendLogCreatedEvent','ZMiOu','KEY_TEST_FAILURE_TYPE','pwPpI','KEY_TEST_LOGS','KEY_HOOKS_FINISHED','NONE','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_SCOPES','createTestFrameworkEventPayload\x20testId:\x20','failure_data','KEY_HOOK_RESULT','getProcessId','../cliUtils.js','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','test_run_id','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','error',',\x20storing\x20as\x20pending\x20hook','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','OQXug','rerun_name','6LQvKbI','removePendingHooks','VvTUl','toString','matchHookRegex','KEY_CUSTOM_TAGS','args','startedAt','KEY_TEST_FILE_PATH','hooks','split','name','DEFAULT_HOOK_RESULT','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','logCreatedEvent','jdtgS','xVkUc','instance','file_name','KEotO'];a70_0x5561=function(){return _0x3df474;};return a70_0x5561();}module[a70_0x42e6bd(0x15a)]=CucumberTestFramework;
1
+ const a70_0x52c991=a70_0x17c2;(function(_0x5587b2,_0x4059a7){const _0x542bd5=a70_0x17c2,_0x3e85b0=_0x5587b2();while(!![]){try{const _0xab5614=parseInt(_0x542bd5(0x141))/0x1*(parseInt(_0x542bd5(0xb6))/0x2)+-parseInt(_0x542bd5(0x165))/0x3+parseInt(_0x542bd5(0x117))/0x4*(-parseInt(_0x542bd5(0xc9))/0x5)+-parseInt(_0x542bd5(0x12c))/0x6+parseInt(_0x542bd5(0xce))/0x7+-parseInt(_0x542bd5(0x166))/0x8+parseInt(_0x542bd5(0xb4))/0x9;if(_0xab5614===_0x4059a7)break;else _0x3e85b0['push'](_0x3e85b0['shift']());}catch(_0x197d37){_0x3e85b0['push'](_0x3e85b0['shift']());}}}(a70_0x3db2,0x2dab3));const TestFramework=require('./testFramework'),TestFrameworkState=require(a70_0x52c991(0x159)),HookState=require(a70_0x52c991(0xe2)),{createClassLogger}=require(a70_0x52c991(0x11d)),TestFrameworkInstance=require(a70_0x52c991(0xad)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a70_0x52c991(0x158)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a70_0x52c991(0xbd)),logger=createClassLogger(a70_0x52c991(0x132)),{v4:uuidv4}=require(a70_0x52c991(0x16d)),util=require(a70_0x52c991(0x130)),TestInfo=require(a70_0x52c991(0x119)),GrpcClient=require(a70_0x52c991(0xd3));function a70_0x17c2(_0x41871f,_0x362202){const _0x3db2d2=a70_0x3db2();return a70_0x17c2=function(_0x17c229,_0x2131cc){_0x17c229=_0x17c229-0xa2;let _0x1e45cf=_0x3db2d2[_0x17c229];return _0x1e45cf;},a70_0x17c2(_0x41871f,_0x362202);}function a70_0x3db2(){const _0x4080d9=['getId','format','platformIndex','aatXA','KEY_CUSTOM_TAGS','gWqAv','gMbll','\x20for\x20test:\x20','name','createTestFrameworkEventPayload','5GpQcoO','QhkTJ','sendLogCreatedEvent','addPendingHook','getTestFrameworks','1622222LPtwTa','test_run_id','hook_type','inspect','toISOString','../grpcClient','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','boEwH','LewMN','kXNMz','from','fhTSD','rerun_name','LOG_REPORT','KEY_TEST_ATTACHMENTS','UnhandledError','parseCucumberTest','KEY_TEST_RESULT_AT','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','hooks','../state/hookState.js','KEY_TEST_FAILURE_TYPE','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_SCOPE','KEY_EVENT_STARTED_AT','failed','push','Updated\x20cucumber\x20test\x20result:\x20','logCreatedEvent','result','\x20payload=','getProcessId','failure_type','KEY_HOOK_FAILURE_TYPE','workerInfo','getAllData','key','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','testFrameworkName','KEY_LOGS','KEY_TEST_FAILURE','KEY_HOOK_ID','getTrackedInstance','YEHEw','instance','KEY_TEST_FAILURE_REASON','trackCucumberInstance','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','xdrcj','DEFAULT_TEST_RESULT','KEY_TEST_NAME','PRE','KEY_TEST_LOCATION','NONE','code','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','__workerDetails','\x20&\x20hookState=','toString','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','KEY_EVENT_ENDED_AT','error',',\x20storing\x20as\x20pending\x20hook','lOCLo','lvhNL','KEY_HOOK_LOGS','KEY_HOOKS_FINISHED','finishedAt','testUUID','endedAt','809364FsTKTs','processPendingHooks','../TestInfo.js','meta','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','setTrackedInstance','../../../helpers/classLogger.js','\x20&\x20hook\x20=\x20','testData','trackEvent:\x20unsupported\x20testFrameworkState=','Unldi','\x20and\x20args\x20=\x20','xsNZH','Vdull','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','base64','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','\x20with\x20result:\x20','location','keys','getTestUUID','1153866wUEHYt','zFBxE','KEY_HOOK_RESULT','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','util','getCurrentTestState','CucumberTestFramework','customRerunParam','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','concat','runHooks','getTestFrameworksVersions','KEY_TEST_RERUN_NAME','split','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','KEY_HOOK_FAILURE','parallelIndex','getTestDetails','MGEPI','KEY_HOOK_FAILURE_REASON','oYFzw','1PfZANj','trackHookEvent','KEY_TEST_ENDED_AT','\x20target=','DEFAULT_HOOK_RESULT','\x20hookState:\x20','KEY_TEST_STARTED_AT','\x20testState:\x20','MEQrt','KEY_TEST_UUID','Cucumber\x20log\x20created\x20event','getInstance','failure_data','Parsed\x20cucumber\x20test:\x20','KEY_TEST_META','hookState','KEY_TEST_ID','INIT_TEST',',\x20error:\x20','stringify','KEY_TEST_RESULT',',\x20state:\x20','GyKyp','./constants/testFrameworkConstants.js','../state/testFrameworkState.js','\x20with\x20id\x20','cjOUV','trackEvent','createContext','matchHookRegex','addMultipleEntries','KEY_TEST_FILE_PATH','body','KEY_TEST_FRAMEWORK_NAME','storePendingHook','get','108765bUJCRy','309200YjAmiA','getCurrentHookState','Processing\x20','hasPendingHooks','POST','\x20batch\x20','getPendingHooks','uuid','tags','createTestFrameworkEventPayload\x20testId:\x20','unknown','QNGZk','ixRuK','test','testFrameworkState','oICsS','parseCucumberTestResult','setTestDetails','sendLogCreatedEvent:\x20for\x20testId:\x20','TEST','args','idrrm','AEvZS','../instances/testFrameworkInstance.js','KEY_HOOKS_STARTED','KEY_TEST_CODE','removePendingHooks','wEymQ','hookData','\x20\x20and\x20args\x20=\x20','1634499JBldSZ','debug','486518iTCSjK','length','startedAt','ADuAA','PCakp','scopes','failure_reason','../../../helpers/helper.js','file_name'];a70_0x3db2=function(){return _0x4080d9;};return a70_0x3db2();}class CucumberTestFramework extends TestFramework{constructor(_0x3bb984,_0x57a203,_0x8601ef){super(_0x3bb984,_0x57a203,_0x8601ef);}async[a70_0x52c991(0x15c)](_0x3cbb1c,_0x522c7e,_0x46047c={}){const _0xd7c722=a70_0x52c991,_0x333a87={};_0x333a87[_0xd7c722(0xba)]=_0xd7c722(0xf5),_0x333a87[_0xd7c722(0x101)]=function(_0x544e9d,_0xedfac4){return _0x544e9d===_0xedfac4;},_0x333a87[_0xd7c722(0x123)]=function(_0x6cefca,_0x590b44){return _0x6cefca===_0x590b44;},_0x333a87[_0xd7c722(0x13e)]=_0xd7c722(0xf4);const _0x113e5a=_0x333a87;await super[_0xd7c722(0x15c)](_0x3cbb1c,_0x522c7e,_0x46047c);const _0x5f2036=this['resolveInstance'](_0x3cbb1c,_0x522c7e,_0x46047c);if(!_0x5f2036){logger[_0xd7c722(0xb5)](_0x113e5a['PCakp']);return;}try{let _0x75df23,_0x3271b9;switch(_0x3cbb1c){case TestFrameworkState[_0xd7c722(0xa9)]:_0x75df23=_0x46047c[_0xd7c722(0xa3)],_0x3271b9=TestInfo[_0xd7c722(0x12b)](_0x75df23['id']);if(_0x113e5a['xdrcj'](_0x522c7e,HookState[_0xd7c722(0x104)])){logger[_0xd7c722(0xb5)](_0xd7c722(0xd4)+_0x75df23['id']);const _0x5b4802={};_0x5b4802[_0xd7c722(0x115)]=_0x3271b9,_0x5b4802[_0xd7c722(0x11f)]=_0x75df23,_0x5f2036[_0xd7c722(0x15f)](this[_0xd7c722(0xde)](_0x5b4802)),logger[_0xd7c722(0xb5)]('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x75df23['id']),await this[_0xd7c722(0x118)](_0x5f2036,_0x75df23['id']);}else{if(_0x113e5a[_0xd7c722(0x123)](_0x522c7e,HookState[_0xd7c722(0x16a)])){const _0x2127d3={};_0x2127d3[_0xd7c722(0x115)]=_0x3271b9,_0x2127d3[_0xd7c722(0x11f)]=_0x75df23,_0x5f2036['addMultipleEntries'](this[_0xd7c722(0xa6)](_0x2127d3)),await this[_0xd7c722(0x118)](_0x5f2036,_0x75df23['id']);}}break;case TestFrameworkState[_0xd7c722(0xdb)]:_0x113e5a[_0xd7c722(0x101)](_0x522c7e,HookState[_0xd7c722(0x16a)])&&await this[_0xd7c722(0xcb)](_0x5f2036,_0x3cbb1c,_0x46047c);break;default:if(CLIUtils[_0xd7c722(0x15e)](_0x3cbb1c[_0xd7c722(0x10b)]()['split']('.')[0x1])){const _0x2f84a4=await this[_0xd7c722(0x142)](_0x5f2036,_0x3cbb1c,_0x522c7e,_0x46047c);_0x5f2036['addMultipleEntries'](_0x2f84a4);}else logger[_0xd7c722(0xb5)](_0xd7c722(0x120)+_0x3cbb1c+_0xd7c722(0x10a)+_0x522c7e);break;}}catch(_0x5b169f){logger[_0xd7c722(0x10e)](util[_0xd7c722(0xc0)](_0x113e5a[_0xd7c722(0x13e)],_0x3cbb1c,_0x522c7e,_0x46047c[_0xd7c722(0xb7)],_0x5b169f));}_0x46047c[_0xd7c722(0xfd)]=_0x5f2036,await this['runHooks'](_0x5f2036,_0x3cbb1c,_0x522c7e,_0x46047c);}['resolveInstance'](_0x4498b9,_0x591a1b,_0x1dce7c={}){const _0x3bd19a=a70_0x52c991,_0x3528ed={};_0x3528ed['MEQrt']=function(_0x22c3f6,_0x2f4590){return _0x22c3f6===_0x2f4590;};const _0x1b87c0=_0x3528ed;let _0x197764=null;return(_0x1b87c0[_0x3bd19a(0x149)](_0x4498b9,TestFrameworkState[_0x3bd19a(0x152)])||_0x1b87c0[_0x3bd19a(0x149)](_0x4498b9,TestFrameworkState[_0x3bd19a(0x106)]))&&this['trackCucumberInstance'](_0x4498b9,_0x1dce7c),_0x197764=TestFramework[_0x3bd19a(0xfb)](),_0x197764;}[a70_0x52c991(0xff)](_0x3494c8,_0x203f20){const _0x4c293c=a70_0x52c991,_0x1134dd=CLIUtils['getCurrentInstanceName'](),_0xabf730=TrackedInstance[_0x4c293c(0x15d)](_0x1134dd);let _0xbebe09=null;logger[_0x4c293c(0xb5)](_0x4c293c(0xf3)+_0x1134dd+',\x20state='+_0x3494c8),_0xbebe09=new TestFrameworkInstance(_0xabf730,this['getTestFrameworks'](),this[_0x4c293c(0x137)](),_0x3494c8,HookState[_0x4c293c(0x106)]),TestFramework[_0x4c293c(0x11c)](_0xabf730,_0xbebe09),logger[_0x4c293c(0xb5)]('trackCucumberInstance:\x20saved\x20instance\x20contextId='+_0xabf730[_0x4c293c(0xbf)]()+_0x4c293c(0x144)+_0x1134dd);}[a70_0x52c991(0xde)](_0x14f380){const _0xef964e=a70_0x52c991,_0x3dc60b={};_0x3dc60b[_0xef964e(0xd9)]=_0xef964e(0x11b);const _0x1f90f9=_0x3dc60b,{testUUID:_0x490421,testData:_0x4c466e}=_0x14f380;if(!_0x4c466e||!_0x4c466e[_0xef964e(0x16d)])return logger[_0xef964e(0xb5)](_0x1f90f9['fhTSD']),{};const _0xe3611b=_0x490421,_0x135da0=_0x4c466e['uuid'],_0x52c395=this[_0xef964e(0xcd)]()[0x0],_0x4ef069=this['getTestFrameworksVersions'](),_0x1f0f73={[TestFrameworkConstants[_0xef964e(0x162)]]:_0x52c395,[TestFrameworkConstants[_0xef964e(0xe4)]]:_0x4ef069[_0x52c395],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0xef964e(0x113)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants['KEY_TEST_UUID']]:_0xe3611b,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0xef964e(0x102)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x4c466e[_0xef964e(0xc7)]||'',[TestFrameworkConstants[_0xef964e(0x160)]]:_0x4c466e[_0xef964e(0xbe)]||'',[TestFrameworkConstants[_0xef964e(0x151)]]:_0x135da0,[TestFrameworkConstants[_0xef964e(0x103)]]:_0x4c466e[_0xef964e(0xc7)]||'',[TestFrameworkConstants[_0xef964e(0x105)]]:_0x4c466e[_0xef964e(0x129)]||'',[TestFrameworkConstants[_0xef964e(0xaf)]]:_0x4c466e[_0xef964e(0x161)]?.[_0xef964e(0x107)]||null,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x4c466e[_0xef964e(0x16e)]||[],[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x4c466e[_0xef964e(0xb8)]||new Date()[_0xef964e(0xd2)](),[TestFrameworkConstants[_0xef964e(0xe5)]]:_0x4c466e[_0xef964e(0xbb)]?.[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x4c466e['scopes']||[],[TestFrameworkConstants[_0xef964e(0x138)]]:_0x4c466e[_0xef964e(0x133)]?.[_0xef964e(0xda)]||_0x4c466e['name']||'',[TestFrameworkConstants[_0xef964e(0xc3)]]:{},[TestFrameworkConstants[_0xef964e(0x14f)]]:_0x4c466e[_0xef964e(0x11a)]||{}};TestInfo[_0xef964e(0xa7)](_0x135da0,_0x1f0f73),logger['debug'](_0xef964e(0x14e)+_0x4c466e[_0xef964e(0xc7)]+'\x20with\x20UUID:\x20'+_0xe3611b);const _0xc196e1={};return _0xc196e1[_0x135da0]=_0x1f0f73,_0xc196e1;}[a70_0x52c991(0xa6)](_0x101d67){const _0x23e821=a70_0x52c991,_0xdf0487={'ErJxR':_0x23e821(0xf6),'cjOUV':_0x23e821(0x170),'Unldi':function(_0xd73395,_0x2dc53b){return _0xd73395===_0x2dc53b;},'wEymQ':'failed','QNGZk':_0x23e821(0xdd),'gWqAv':function(_0x21706c,_0x233457,_0x1802a1){return _0x21706c(_0x233457,_0x1802a1);},'oYFzw':function(_0x2e7901,_0x58ea9f){return _0x2e7901>_0x58ea9f;}},{testUUID:_0x44ab0f,testData:_0x1548cd}=_0x101d67;if(!_0x1548cd||!_0x1548cd['uuid'])return logger['debug'](_0xdf0487['ErJxR']),{};const _0x28a316=this['resolveInstance'](TestFrameworkState[_0x23e821(0xa9)],HookState[_0x23e821(0x16a)]),_0x1a97b9=_0x1548cd[_0x23e821(0x16d)],_0x55affb=TestInfo['getTestDetails'](_0x1a97b9)||{},_0x2abb79=_0x55affb?_0x55affb[TestFrameworkConstants[_0x23e821(0xc3)]]||{}:{},_0x2d575d={..._0x55affb,[TestFrameworkConstants[_0x23e821(0x155)]]:_0x1548cd[_0x23e821(0xeb)]||_0xdf0487[_0x23e821(0x15b)],[TestFrameworkConstants[_0x23e821(0x143)]]:_0x1548cd[_0x23e821(0x114)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x23e821(0xdf)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x23e821(0xc3)]]:_0x2abb79,[TestFrameworkConstants[_0x23e821(0xf8)]]:[],[TestFrameworkConstants['KEY_TEST_META']]:_0x1548cd[_0x23e821(0x11a)]||{}};_0xdf0487[_0x23e821(0x121)](_0x1548cd[_0x23e821(0xeb)],_0xdf0487[_0x23e821(0xb1)])&&_0x1548cd['failure']&&(_0x2d575d[TestFrameworkConstants[_0x23e821(0xe3)]]=_0x1548cd[_0x23e821(0xee)]||_0xdf0487[_0x23e821(0x171)],_0x2d575d[TestFrameworkConstants[_0x23e821(0xfe)]]=_0x1548cd['failure_reason']||'',_0x2d575d[TestFrameworkConstants[_0x23e821(0xf9)]]=_0x1548cd['failure']);const _0x150752=TestInfo[_0x23e821(0x13d)](_0x1a97b9)[TestFrameworkConstants[_0x23e821(0xdc)]]||{},_0x4df76f=_0xdf0487[_0x23e821(0xc4)](getManualUploadLogs,_0x150752,_0x28a316[_0x23e821(0xf1)]()[_0x23e821(0x164)](_0x1a97b9)[TestFrameworkConstants[_0x23e821(0x14a)]]);if(_0xdf0487[_0x23e821(0x140)](_0x4df76f[_0x23e821(0xb7)],0x0)){const _0x3806f6=_0x2d575d[TestFrameworkConstants[_0x23e821(0xf8)]]||[];_0x2d575d[TestFrameworkConstants[_0x23e821(0xf8)]]=[..._0x3806f6,..._0x4df76f];}_0x1548cd[_0x23e821(0xe1)]&&_0xdf0487[_0x23e821(0x140)](_0x1548cd[_0x23e821(0xe1)][_0x23e821(0xb7)],0x0)&&(_0x2d575d[TestFrameworkConstants[_0x23e821(0x113)]]=_0x1548cd[_0x23e821(0xe1)]);TestInfo[_0x23e821(0xa7)](_0x1a97b9,_0x2d575d),logger['debug'](_0x23e821(0xe9)+_0x1548cd[_0x23e821(0xc7)]+_0x23e821(0x128)+_0x1548cd[_0x23e821(0xeb)]);const _0x1b51c3={};return _0x1b51c3[_0x1a97b9]=_0x2d575d,_0x1b51c3;}async['trackHookEvent'](_0x168efa,_0x1acf16,_0xf250a4,_0x9a8ebb){const _0x55abe3=a70_0x52c991,_0x50ce81={'GyKyp':_0x55abe3(0x10c),'gMbll':function(_0x554551){return _0x554551();},'lOCLo':function(_0x4fb42c,_0x30359e){return _0x4fb42c in _0x30359e;},'jITSj':function(_0x3d16c7,_0x3e4baf){return _0x3d16c7 in _0x3e4baf;},'AEvZS':function(_0x2b17ac,_0x409380){return _0x2b17ac===_0x409380;},'fEQsp':function(_0x1bad01,_0x1f5b6a){return _0x1bad01===_0x1f5b6a;},'ixRuK':function(_0x1e9e82,_0xad0c55){return _0x1e9e82>_0xad0c55;},'lvhNL':function(_0x9c9b32,_0x370097){return _0x9c9b32===_0x370097;},'LewMN':_0x55abe3(0xe7),'beTdL':_0x55abe3(0xdd),'qWaDu':'passed','Vdull':function(_0x25a9c8,_0x199a9b){return _0x25a9c8!==_0x199a9b;}},{hookData:_0x237500}=_0x9a8ebb;if(!_0x237500)return logger[_0x55abe3(0xb5)](_0x50ce81[_0x55abe3(0x157)]),{};const _0x12bb58=_0x237500[_0x55abe3(0x16d)]||_0x50ce81[_0x55abe3(0xc5)](uuidv4),_0x2c0e1a=_0x237500[_0x55abe3(0xcf)],_0x25cd25=_0x1acf16[_0x55abe3(0x10b)]()[_0x55abe3(0x139)]('.')[0x1],_0x4edd66=TestInfo[_0x55abe3(0x13d)](_0x2c0e1a)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{},_0x3335b3=_0x168efa['getAllData']()[_0x55abe3(0x164)](_0x2c0e1a);if(!_0x3335b3)return logger[_0x55abe3(0xb5)](_0x55abe3(0xe0)+_0x2c0e1a+_0x55abe3(0x10f)),this[_0x55abe3(0x163)](_0x168efa,_0x2c0e1a,_0x1acf16,_0xf250a4,_0x9a8ebb),{};let _0x5ed888=_0x3335b3[TestFrameworkConstants[_0x55abe3(0xae)]];!_0x5ed888&&(_0x5ed888={});!_0x50ce81[_0x55abe3(0x110)](_0x25cd25,_0x5ed888)&&(_0x5ed888[_0x25cd25]=[]);let _0x54339e=_0x3335b3[TestFrameworkConstants[_0x55abe3(0x113)]];!_0x54339e&&(_0x54339e={});!_0x50ce81['jITSj'](_0x25cd25,_0x54339e)&&(_0x54339e[_0x25cd25]=[]);const _0x578e6b={[TestFrameworkConstants[_0x55abe3(0xae)]]:_0x5ed888,[TestFrameworkConstants[_0x55abe3(0x113)]]:_0x54339e},_0x4d0c98={};_0x4d0c98[_0x2c0e1a]=_0x578e6b;const _0x2ad6f8=_0x4d0c98;if(_0x50ce81[_0x55abe3(0xac)](_0xf250a4,HookState[_0x55abe3(0x104)])){const _0x3fa12a={[TestFrameworkConstants[_0x55abe3(0xfa)]]:_0x12bb58,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x55abe3(0xe6)]]:_0x237500['started_at'],[TestFrameworkConstants[_0x55abe3(0x112)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x237500[_0x55abe3(0xd0)],[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x4edd66};_0x3fa12a[_0x55abe3(0xf2)]=_0x25cd25;const _0x3b6864=_0x3fa12a;_0x5ed888[_0x25cd25][_0x55abe3(0xe8)](_0x3b6864),_0x2ad6f8[_0x2c0e1a][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x25cd25,logger[_0x55abe3(0xb5)](_0x55abe3(0x100)+_0x25cd25+_0x55abe3(0x11e)+_0x3b6864+_0x55abe3(0xb3)+_0x9a8ebb);}else{if(_0x50ce81['fEQsp'](_0xf250a4,HookState[_0x55abe3(0x16a)])){const _0x1d0441=_0x237500[_0x55abe3(0xeb)],_0x18621d=_0x5ed888[_0x25cd25]||[];logger[_0x55abe3(0xb5)](_0x55abe3(0x108)+_0x18621d+_0x55abe3(0x122)+_0x9a8ebb);if(_0x50ce81[_0x55abe3(0xa2)](_0x18621d[_0x55abe3(0xb7)],0x0)){const _0xc88458=_0x18621d['pop']();_0x50ce81[_0x55abe3(0x111)](_0x237500[_0x55abe3(0xeb)],_0x50ce81[_0x55abe3(0xd6)])&&_0x237500['failure_data']?(_0xc88458[TestFrameworkConstants[_0x55abe3(0xef)]]=_0x237500[_0x55abe3(0xee)]||_0x50ce81['beTdL'],_0xc88458[TestFrameworkConstants[_0x55abe3(0x13f)]]=_0x237500[_0x55abe3(0xbc)]||'',_0xc88458[TestFrameworkConstants[_0x55abe3(0x13b)]]=_0x237500[_0x55abe3(0x14d)]):_0xc88458[TestFrameworkConstants[_0x55abe3(0x12e)]]=_0x50ce81['qWaDu'];_0x50ce81[_0x55abe3(0x124)](_0x1d0441,TestFrameworkConstants[_0x55abe3(0x145)])&&(_0xc88458[TestFrameworkConstants[_0x55abe3(0x12e)]]=_0x1d0441);_0xc88458[TestFrameworkConstants[_0x55abe3(0x10d)]]=_0x237500['finished_at']||new Date()[_0x55abe3(0xd2)](),_0xc88458[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x4edd66;const _0x419e92=_0xc88458[TestFrameworkConstants[_0x55abe3(0xfa)]];!_0x54339e[_0x25cd25]&&(_0x54339e[_0x25cd25]=[]),_0x54339e[_0x25cd25][_0x55abe3(0xe8)](_0xc88458),_0x2ad6f8[_0x2c0e1a][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x25cd25;}}}return logger[_0x55abe3(0xb5)]('Tracked\x20cucumber\x20hook\x20event:\x20'+_0x237500[_0x55abe3(0xd0)]+_0x55abe3(0x15a)+_0x12bb58+_0x55abe3(0xc6)+_0x2c0e1a),_0x2ad6f8;}[a70_0x52c991(0xc8)](_0xd6d728){const _0x3d581e=a70_0x52c991,_0x35c169={};_0x35c169['kXNMz']=_0x3d581e(0x126);const _0x1a3aba=_0x35c169;try{const _0x1b5564=_0xd6d728[_0x3d581e(0xa3)]?_0xd6d728[_0x3d581e(0xa3)]['id']:_0xd6d728[_0x3d581e(0xb2)]['test_run_id'],_0x446fab=_0xd6d728[_0x3d581e(0xfd)],_0x10cbfc=_0x446fab['getContext'](),_0x989ed2=_0x446fab[_0x3d581e(0xf1)]()[_0x3d581e(0x164)](_0x1b5564);if(!_0x989ed2)return logger[_0x3d581e(0xb5)](_0x3d581e(0x12f)+_0x1b5564),{};logger['debug'](_0x3d581e(0x16f)+_0x1b5564);const {[TestFrameworkConstants[_0x3d581e(0x162)]]:_0x55c958='',[TestFrameworkConstants[_0x3d581e(0xe4)]]:_0x307337='',[TestFrameworkConstants[_0x3d581e(0x147)]]:_0x24a9c4='',[TestFrameworkConstants[_0x3d581e(0x143)]]:_0x354184=''}=_0x989ed2,_0x2d7af7=_0x446fab[_0x3d581e(0x131)]()[_0x3d581e(0x10b)]()[_0x3d581e(0x139)]('.')[0x1],_0x7d2849=_0x446fab[_0x3d581e(0x167)]()[_0x3d581e(0x10b)]()[_0x3d581e(0x139)]('.')[0x1],_0x13cca5=global?.[_0x3d581e(0x109)]?.[_0x3d581e(0xf0)]?.[_0x3d581e(0x13c)],_0xc82664=_0x446fab['getRef'](),_0x5c1fe6=Buffer[_0x3d581e(0xd8)](JSON[_0x3d581e(0x154)](_0x989ed2))[_0x3d581e(0x10b)](_0x1a3aba[_0x3d581e(0xd7)]),_0x487a5b={'hash':_0x10cbfc[_0x3d581e(0xbf)](),'threadId':_0x10cbfc['getThreadId']()[_0x3d581e(0x10b)](),'processId':_0x10cbfc[_0x3d581e(0xed)]()['toString']()},_0x1fd788={};_0x1fd788[_0x3d581e(0xc1)]=_0x13cca5,_0x1fd788[_0x3d581e(0xf7)]=_0x55c958,_0x1fd788['testFrameworkVersion']=_0x307337,_0x1fd788[_0x3d581e(0xa4)]=_0x2d7af7,_0x1fd788[_0x3d581e(0x150)]=_0x7d2849,_0x1fd788[_0x3d581e(0xb8)]=_0x24a9c4,_0x1fd788[_0x3d581e(0x116)]=_0x354184,_0x1fd788[_0x3d581e(0x16d)]=_0xc82664,_0x1fd788['eventJson']=_0x5c1fe6,_0x1fd788['executionContext']=_0x487a5b;const _0x43afa1=_0x1fd788;return logger[_0x3d581e(0xb5)](_0x3d581e(0x125)+_0x1b5564+_0x3d581e(0x148)+_0x2d7af7+_0x3d581e(0x146)+_0x7d2849),_0x43afa1;}catch(_0x390ced){return logger[_0x3d581e(0x10e)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x3d581e(0xc0)](_0x390ced)),{};}}async[a70_0x52c991(0xcb)](_0x3e6272,_0x5f2b65,_0x1d01b7){const _0x304458=a70_0x52c991,_0x46d64e={'xfbhL':function(_0x4a9b5a,_0x1b391a,_0x34fa22){return _0x4a9b5a(_0x1b391a,_0x34fa22);},'oICsS':function(_0x308d01,_0x3d9dc5){return _0x308d01===_0x3d9dc5;},'QhkTJ':_0x304458(0x134),'boEwH':function(_0x40832d,_0x49dabd){return _0x40832d/_0x49dabd;},'EIidC':function(_0x5c64a8,_0x1f39a4){return _0x5c64a8<_0x1f39a4;},'aatXA':function(_0x55570a,_0x15bf93){return _0x55570a*_0x15bf93;},'zFBxE':function(_0x43262a,_0x296bfd){return _0x43262a+_0x296bfd;},'ADuAA':function(_0x25792b,_0x4422be){return _0x25792b+_0x4422be;},'XlGLv':function(_0x2d8c75,_0x52f671){return _0x2d8c75+_0x52f671;},'idrrm':_0x304458(0x14b)};try{const _0xd85b78=_0x1d01b7[_0x304458(0x115)],_0x5c01dc=_0x3e6272[_0x304458(0xf1)]()[_0x304458(0x164)](_0xd85b78),{[TestFrameworkConstants[_0x304458(0x162)]]:_0x43b5b4='',[TestFrameworkConstants[_0x304458(0xe4)]]:_0x3a272b=''}=_0x5c01dc,_0x960fe4=TestInfo['readLogObjects'](_0xd85b78),_0x1d3879=TestInfo[_0x304458(0x13d)](_0xd85b78)[TestFrameworkConstants[_0x304458(0xdc)]]||{},_0x5be53b=_0x46d64e['xfbhL'](getMediaArtifactsLogs,_0x1d3879,_0x3e6272[_0x304458(0xf1)]()[_0x304458(0x164)](_0xd85b78)[TestFrameworkConstants[_0x304458(0x14a)]]),_0x4d70ea=(_0x960fe4||[])[_0x304458(0x135)](_0x5be53b||[]);if(!_0x4d70ea||_0x46d64e[_0x304458(0xa5)](_0x4d70ea['length'],0x0)){logger[_0x304458(0xb5)](_0x46d64e[_0x304458(0xca)]);return;}const _0x31205a=0x28,_0x33f520=Math['ceil'](_0x46d64e[_0x304458(0xd5)](_0x4d70ea[_0x304458(0xb7)],_0x31205a));for(let _0x3e06d3=0x0;_0x46d64e['EIidC'](_0x3e06d3,_0x33f520);_0x3e06d3++){const _0xc151e3=_0x46d64e[_0x304458(0xc2)](_0x3e06d3,_0x31205a),_0x53da1e=_0x46d64e[_0x304458(0x12d)](_0xc151e3,_0x31205a),_0x35d946=_0x4d70ea['slice'](_0xc151e3,_0x53da1e),_0x1c4c0e={'platformIndex':'0','logs':_0x35d946,'testFrameworkName':_0x43b5b4,'testFrameworkVersion':_0x3a272b,'testFrameworkState':_0x5f2b65[_0x304458(0x10b)]()[_0x304458(0x139)]('.')[0x1]};logger[_0x304458(0xb5)](_0x304458(0xa8)+_0xd85b78+_0x304458(0x16b)+_0x46d64e[_0x304458(0xb9)](_0x3e06d3,0x1)+'/'+_0x33f520+_0x304458(0xec)+util['inspect'](_0x1c4c0e));const _0x5735a9=await GrpcClient[_0x304458(0x14c)]()[_0x304458(0xea)](_0x1c4c0e);logger[_0x304458(0xb5)]('sendLogCreatedEvent:\x20for\x20testId:\x20'+_0xd85b78+_0x304458(0x16b)+_0x46d64e['XlGLv'](_0x3e06d3,0x1)+'/'+_0x33f520+'\x20response='+util[_0x304458(0xd1)](_0x5735a9));}}catch(_0x1de248){logger[_0x304458(0x10e)](_0x304458(0x13a)+util['format'](_0x1de248));}logger[_0x304458(0xb5)](_0x46d64e[_0x304458(0xab)]);}['storePendingHook'](_0x509e2e,_0x3d5271,_0x28bee1,_0x332494,_0x538052){const _0x52cf16=a70_0x52c991,_0x2a9478={'testId':_0x3d5271,'testFrameworkState':_0x28bee1,'hookState':_0x332494,'args':_0x538052,'timestamp':new Date()[_0x52cf16(0xd2)]()};_0x509e2e[_0x52cf16(0xcc)](_0x3d5271,_0x2a9478),logger[_0x52cf16(0xb5)]('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x3d5271+_0x52cf16(0x156)+_0x28bee1+',\x20hookState:\x20'+_0x332494);}async[a70_0x52c991(0x118)](_0x38fc84,_0x5f1639){const _0x17e826=a70_0x52c991,_0x4046e7={};_0x4046e7[_0x17e826(0xfc)]=function(_0x501f51,_0x57b41a){return _0x501f51>_0x57b41a;};const _0x2b8d41=_0x4046e7;if(!_0x38fc84[_0x17e826(0x169)](_0x5f1639))return;const _0xbb2145=_0x38fc84[_0x17e826(0x16c)](_0x5f1639);logger[_0x17e826(0xb5)](_0x17e826(0x168)+_0xbb2145[_0x17e826(0xb7)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x5f1639);for(const _0x27bd01 of _0xbb2145){try{const _0x260bd1=await this[_0x17e826(0x142)](_0x38fc84,_0x27bd01[_0x17e826(0xa4)],_0x27bd01[_0x17e826(0x150)],_0x27bd01[_0x17e826(0xaa)]);_0x260bd1&&_0x2b8d41[_0x17e826(0xfc)](Object[_0x17e826(0x12a)](_0x260bd1)[_0x17e826(0xb7)],0x0)&&_0x38fc84[_0x17e826(0x15f)](_0x260bd1),await this[_0x17e826(0x136)](_0x38fc84,_0x27bd01[_0x17e826(0xa4)],_0x27bd01[_0x17e826(0x150)],_0x27bd01[_0x17e826(0xaa)]);}catch(_0x54bdb8){logger[_0x17e826(0x10e)](_0x17e826(0x127)+_0x5f1639+_0x17e826(0x153)+_0x54bdb8);}}_0x38fc84[_0x17e826(0xb0)](_0x5f1639),logger[_0x17e826(0xb5)]('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x5f1639);}}module['exports']=CucumberTestFramework;
@@ -1 +1 @@
1
- const a71_0x15b910=a71_0x2241;function a71_0x42ba(){const _0x53f106=['dBgpu','OZOfm','WJqWn','deVth','getJestFailureType','LfiZx','sqGqE','ALL','pdPgH','LjPuN',',\x20state=','KqSfo','VweYK','VKlaX','get','whams','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','testFrameworkState','KEY_TEST_FRAMEWORK_NAME','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=',',\x20hook=','KEY_TEST_FAILURE_REASON','isJestInternalHook','../grpcClient','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','QTgLl','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','maxArrayLength','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','78bOORud','getTestFrameworks',',\x20hooksListLength=','NwJDl',',\x20currentTestId:\x20','toString','\x20pending\x20hooks\x20for\x20testId:\x20',',\x20filePath=','getId','__workerDetails','unknown','KMJVz','uuid','map','ZDmbP','instance','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','AFIay','title','afterAll','originalTest','jxvMv','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','result','KYiHW','KEY_LOGS','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','push','Ywgtv',',\x20argsKeys=','retryOf','NIyct','cLmOV','parseJestTestResult','status','test_run_uuid','../../../helpers/helper.js','POST','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','Qyfgu','RqPNE','setActiveHook','hookData','endedAt',',\x20contextId=','VlilA','KEY_HOOK_RESULT','KEY_TEST_ENDED_AT','getRootParentFile','BEFORE_ALL','3116256WzQcki','pHbio','udWsw','testId',',\x20logsInBatch:\x20','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','from',',\x20filePath:\x20','KEY_TEST_NAME','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=','hookAnalyticsId','\x20hook','ceil',',\x20error:\x20','\x22\x20from\x20testData','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','AaZuF','format','getJestTestTags','find','Unknown\x20Test','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData',',\x20storing\x20as\x20pending\x20hook','file','Mfehu','hook_run_uuid','KEY_TEST_ATTACHMENTS','platformIndex','workerInfo','parse',',\x20response=','failure_reason','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','exports','asyncError','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','../instances/testFrameworkInstance.js','KEY_HOOK_FAILURE_REASON','KEY_TEST_ID','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','eventJson','type','352ehStMK','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','match','NPfvw',',\x20hookState:\x20','LOG_REPORT','runHooks','srGyE','trackJestInstance:\x20created\x20instance\x20for\x20target=','set','jest-circus','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','GZOoA','hooks',',\x20payload:\x20','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','debug','\x20(testIdentifier),\x20hookType=','vISOe','apply','getJestTestIdentifier','KEY_HOOKS_STARTED','trackHookEvent','dewZA','forEach','4543myYRiP','Unknown\x20error','depth','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','KEY_TEST_DURATION','scope','ZbgDW','util','executionContext','inspect','TSIJY','addPendingHook','SCMZZ',',\x20version=','89015OorNQm','hPXIy','oLpDT','hasPendingHooks','createContext','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','getJestTestName','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','KEY_TEST_RESULT','hook_id','stack-trace','../state/testFrameworkState.js','KEY_HOOK_LAST_STARTED','_ALL','getInstance','sNWgG','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','../../../helpers/test-observability/utils','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','delete','parseJestTest','event_ended_at','KEY_TEST_CODE','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','\x20-\x20testId:\x20','QwAkx','getPendingHooks','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','dwqqy',',\x20hookData=','../state/hookState.js','test_run_id','\x20to\x20','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=',',\x20totalBatches:\x20','failed',',\x20test_run_uuid=','\x20attachments','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=',',\x20scope:\x20','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','passed','PRE','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','KEY_TEST_FILE_PATH','KEY_TEST_RERUN_NAME','13899640eijbbO','startsWith','kind','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','filePath','KEY_HOOK_FAILURE_TYPE','HHPfw','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','started_at','NLtxW','Assert','substring','ROOT_DESCRIBE_BLOCK','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','SlslF','reverse','hookMetadata','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','./constants/testFrameworkConstants.js','BNgyZ',',\x20consoleLogs:\x20','getActiveHook','pNXIK','\x20screenshot\x20logs\x20for\x20testId:\x20','keys','hqVRh','sULKe','../instances/trackedInstance.js','lNvml','DEFAULT_HOOK_RESULT','getAllPendingHookTestIds','KEY_EVENT_ENDED_AT','buildHookMapFromTest','KNstR','getJestFailureReason','testFrameworkName','\x20(testIdentifier),\x20tags=','createTestFrameworkEventPayload','NONE','scopes','KEY_TEST_UUID','testUUID','resolveInstance','KEY_HOOK_ID','filter','plvKZ','mfIEd','KEY_TEST_FRAMEWORK_VERSION','error','KEY_TEST_STARTED_AT','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20',',\x20testId=','XtBLR','warn','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','mapTestHooks','qBBBQ','name','getCurrentHookState','GbaAu','getProcessId','XTQlh','KEY_TEST_LOCATION',',\x20hookState=','\x20&\x20hookState=','iebKd','26938VrBPZa','HKkrp','KZXUP','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','291864aIjXZg','XFALf','yKQsA','DEFAULT_TEST_RESULT','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','getCurrentTestState','replace','vCFoA','getHooksForTest','SrBxv','sendLogCreatedEvent',',\x20result=','getContext',',\x20failureType=','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','KEY_HOOKS_FINISHED','getTestFrameworksVersions','hookUUID','getFileName','skip',',\x20updates=','hook_result','getJestFailureData',',\x20hookId=','processPendingHooks','KEY_TEST_TAGS','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','KEY_TEST_RESULT_AT','trackEvent','split','slice','\x20logs\x20for\x20testId:\x20','WWpUy','Stored\x20pending\x20hook\x20for\x20testId:\x20','trackJestInstance','addMultipleEntries','TEST','kzwTo',',\x20hookType=','parallelIndex','findIndex','TjzvF','pYvdZ','KEY_TEST_FAILURE',',\x20screenshotLogs:\x20','matchHookRegex','KEY_HOOK_NAME','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','missing',',\x20target=','zFipG','KEY_CUSTOM_TAGS','wXiHc','storePendingHook','KEY_TEST_SCOPES','KEY_TEST_SCOPE','cfuEj',':testAnalyticsId','KEY_TEST_LOGS','\x20files','getAllData','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','duration','\x20for\x20testId:\x20','getJestTestFilePath','file_name','KEY_TEST_FAILURE_TYPE','hookState','tMuaI','length','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','test',',\x20state:\x20','setTrackedInstance','trackJestInstance:\x20instance\x20already\x20exists','getJestTestScopes','KEY_AUTOMATE_SESSION_NAME','tags','toUpperCase','activeHooks','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=',',\x20hookUUID=',',\x20scopes=',',\x20messageLength=','base64','KEY_TEST_META','beforeAll','errorsDetailed','MYYoZ','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','44sdTPZn','stringify','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','hookType','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','join','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','has',',\x20remainingHooks=','finished_at','pop','includes','KExuo','hook_type','skipped','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','\x20(testIdentifier),\x20result=','4289301FSSuGr','AssertionError','test_identifier','parent','splice','args','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','toISOString',',\x20totalLogs:\x20','testFrameworkVersion','pid','WvTSj','isArray','getTrackedInstance','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20'];a71_0x42ba=function(){return _0x53f106;};return a71_0x42ba();}(function(_0x3403ac,_0xb0cae7){const _0x3574eb=a71_0x2241,_0x419bdd=_0x3403ac();while(!![]){try{const _0x394c98=parseInt(_0x3574eb(0x294))/0x1+-parseInt(_0x3574eb(0x290))/0x2*(-parseInt(_0x3574eb(0x32d))/0x3)+-parseInt(_0x3574eb(0x2ef))/0x4*(-parseInt(_0x3574eb(0x21d))/0x5)+parseInt(_0x3574eb(0x35f))/0x6+parseInt(_0x3574eb(0x20f))/0x7*(-parseInt(_0x3574eb(0x1f6))/0x8)+parseInt(_0x3574eb(0x300))/0x9+-parseInt(_0x3574eb(0x24d))/0xa;if(_0x394c98===_0xb0cae7)break;else _0x419bdd['push'](_0x419bdd['shift']());}catch(_0x53e82a){_0x419bdd['push'](_0x419bdd['shift']());}}}(a71_0x42ba,0x65668));function a71_0x2241(_0x53c705,_0x459a8a){const _0x42ba01=a71_0x42ba();return a71_0x2241=function(_0x22413c,_0xbdafb5){_0x22413c=_0x22413c-0x1ed;let _0x200dfd=_0x42ba01[_0x22413c];return _0x200dfd;},a71_0x2241(_0x53c705,_0x459a8a);}const TestFramework=require('./testFramework'),TestFrameworkState=require(a71_0x15b910(0x228)),HookState=require(a71_0x15b910(0x23d)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a71_0x15b910(0x1f0)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a71_0x15b910(0x269)),TestFrameworkConstants=require(a71_0x15b910(0x260)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x15b910(0x351)),{isInternalHook}=require(a71_0x15b910(0x22e)),logger=createClassLogger('JestTestFramework'),{v4:uuidv4}=require('uuid'),util=require(a71_0x15b910(0x216)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a71_0x15b910(0x327)),stackTrace=require(a71_0x15b910(0x227));class JestTestFramework extends TestFramework{constructor(_0x23df31,_0x355621,_0x97b96f){const _0xd7458c=a71_0x15b910;super(_0x23df31,_0x355621,_0x97b96f),this[_0xd7458c(0x2e4)]=new Map();}[a71_0x15b910(0x356)](_0x2ac133,_0x3b7061,_0x1372ce){const _0x3a8a36=a71_0x15b910,_0x1cf441={};_0x1cf441['NwJDl']=function(_0x4a3f15,_0x3f50dd){return _0x4a3f15||_0x3f50dd;};const _0x1a4629=_0x1cf441;if(_0x1a4629[_0x3a8a36(0x330)](!_0x2ac133,!_0x3b7061)){logger[_0x3a8a36(0x283)](_0x3a8a36(0x2f5)+_0x2ac133+',\x20hookUUID='+_0x3b7061);return;}!this[_0x3a8a36(0x2e4)][_0x3a8a36(0x2f6)](_0x2ac133)&&this['activeHooks'][_0x3a8a36(0x1ff)](_0x2ac133,[]);const _0x295db2={'hookUUID':_0x3b7061,'hookType':_0x1372ce,'startedAt':new Date()[_0x3a8a36(0x308)]()};this[_0x3a8a36(0x2e4)][_0x3a8a36(0x31e)](_0x2ac133)['push'](_0x295db2),logger['debug'](_0x3a8a36(0x2d2)+_0x2ac133+_0x3a8a36(0x2e6)+_0x3b7061+',\x20hookType='+_0x1372ce+',\x20totalHooks='+this[_0x3a8a36(0x2e4)]['get'](_0x2ac133)[_0x3a8a36(0x2da)]);}['removeActiveHook'](_0x51c0f8,_0x4471f9){const _0x131cff=a71_0x15b910,_0x168daa={};_0x168daa['yKQsA']=function(_0x3603a7,_0xeb3651){return _0x3603a7||_0xeb3651;},_0x168daa['TxnAV']=function(_0x265e63,_0x38a2c1){return _0x265e63!==_0x38a2c1;},_0x168daa['SrBxv']=function(_0x338465,_0x215795){return _0x338465===_0x215795;};const _0xe977ed=_0x168daa;if(_0xe977ed[_0x131cff(0x296)](!_0x51c0f8,!_0x4471f9)){logger[_0x131cff(0x283)](_0x131cff(0x247)+_0x51c0f8+_0x131cff(0x2e6)+_0x4471f9);return;}if(this[_0x131cff(0x2e4)][_0x131cff(0x2f6)](_0x51c0f8)){const _0x555d53=this[_0x131cff(0x2e4)]['get'](_0x51c0f8),_0xf7bb2a=_0x555d53[_0x131cff(0x2bc)](_0x279fc4=>_0x279fc4[_0x131cff(0x2a5)]===_0x4471f9);_0xe977ed['TxnAV'](_0xf7bb2a,-0x1)?(_0x555d53[_0x131cff(0x304)](_0xf7bb2a,0x1),logger[_0x131cff(0x206)](_0x131cff(0x2e5)+_0x51c0f8+',\x20hookUUID='+_0x4471f9+_0x131cff(0x2f7)+_0x555d53[_0x131cff(0x2da)]),_0xe977ed[_0x131cff(0x29d)](_0x555d53[_0x131cff(0x2da)],0x0)&&this[_0x131cff(0x2e4)][_0x131cff(0x232)](_0x51c0f8)):logger['debug']('[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier='+_0x51c0f8+_0x131cff(0x2e6)+_0x4471f9);}}[a71_0x15b910(0x263)](_0x178170){const _0xd53aae=a71_0x15b910,_0x921a30={};_0x921a30[_0xd53aae(0x289)]=function(_0x1b13df,_0x61e4a){return _0x1b13df>_0x61e4a;},_0x921a30[_0xd53aae(0x36f)]=function(_0x1540ed,_0x53a92c){return _0x1540ed-_0x53a92c;};const _0x5e8e58=_0x921a30;if(!_0x178170)return null;if(this[_0xd53aae(0x2e4)]['has'](_0x178170)){const _0x4be289=this[_0xd53aae(0x2e4)]['get'](_0x178170);if(_0x5e8e58[_0xd53aae(0x289)](_0x4be289[_0xd53aae(0x2da)],0x0)){const _0x11da8f=_0x4be289[_0x5e8e58[_0xd53aae(0x36f)](_0x4be289[_0xd53aae(0x2da)],0x1)];return logger[_0xd53aae(0x206)](_0xd53aae(0x2f3)+_0x178170+_0xd53aae(0x2e6)+_0x11da8f[_0xd53aae(0x2a5)]+_0xd53aae(0x2ba)+_0x11da8f[_0xd53aae(0x2f2)]),_0x11da8f;}}return null;}async[a71_0x15b910(0x2b0)](_0x27afd1,_0x807464,_0x8929b={}){const _0x5595f9=a71_0x15b910,_0x5035cb={};_0x5035cb[_0x5595f9(0x26a)]='[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x5035cb[_0x5595f9(0x208)]=function(_0x4225aa,_0x3fe346){return _0x4225aa===_0x3fe346;},_0x5035cb['bPBce']=function(_0xa3c7eb,_0x5bdf59){return _0xa3c7eb===_0x5bdf59;},_0x5035cb[_0x5595f9(0x295)]=function(_0x207d3d,_0x2ba1b7){return _0x207d3d||_0x2ba1b7;},_0x5035cb['hPXIy']='[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND';const _0x59064a=_0x5035cb;logger['debug'](_0x5595f9(0x323)+_0x27afd1+_0x5595f9(0x28d)+_0x807464+_0x5595f9(0x34a)+Object[_0x5595f9(0x266)](_0x8929b)['join'](',')),await super['trackEvent'](_0x27afd1,_0x807464,_0x8929b);const _0x379223=this[_0x5595f9(0x278)](_0x27afd1,_0x807464,_0x8929b);if(!_0x379223){logger[_0x5595f9(0x206)](_0x59064a['lNvml']);return;}try{let _0x418669,_0x1cd641,_0x4afe41;switch(_0x27afd1){case TestFrameworkState['TEST']:_0x418669=_0x8929b[_0x5595f9(0x2dc)];const _0x155b13={};_0x155b13[_0x5595f9(0x211)]=0x2,_0x155b13[_0x5595f9(0x32b)]=0x3,logger['debug'](_0x5595f9(0x32a)+_0x807464+',\x20testData='+util[_0x5595f9(0x218)](_0x418669,_0x155b13)),_0x4afe41=this[_0x5595f9(0x20a)](_0x418669),_0x1cd641=null,logger['debug'](_0x5595f9(0x251)+_0x4afe41+'\x20(testIdentifier)');if(_0x59064a[_0x5595f9(0x208)](_0x807464,HookState[_0x5595f9(0x249)])){logger[_0x5595f9(0x206)](_0x5595f9(0x1f7)+_0x4afe41);const _0x442746={};_0x442746[_0x5595f9(0x277)]=_0x1cd641,_0x442746['testData']=_0x418669,_0x442746[_0x5595f9(0x362)]=_0x4afe41;const _0x1f6a58=this[_0x5595f9(0x233)](_0x442746),_0x2c3abb={};_0x2c3abb[_0x5595f9(0x211)]=0x2,_0x2c3abb[_0x5595f9(0x32b)]=0x3,logger[_0x5595f9(0x206)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20'+util['inspect'](_0x1f6a58,_0x2c3abb)),_0x379223['addMultipleEntries'](_0x1f6a58),logger[_0x5595f9(0x206)](_0x5595f9(0x230)+_0x4afe41),await this[_0x5595f9(0x2ac)](_0x379223,_0x4afe41);}else{if(_0x59064a['bPBce'](_0x807464,HookState['POST'])){logger[_0x5595f9(0x206)](_0x5595f9(0x2db)+_0x4afe41);const _0xb5e38f=_0x379223[_0x5595f9(0x2d1)]()['get'](_0x4afe41);logger[_0x5595f9(0x206)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20'+util[_0x5595f9(0x218)](Object['keys'](_0x59064a[_0x5595f9(0x295)](_0xb5e38f,{}))));_0xb5e38f&&_0xb5e38f[TestFrameworkConstants[_0x5595f9(0x379)]]?logger[_0x5595f9(0x206)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20'+Object[_0x5595f9(0x266)](_0xb5e38f[TestFrameworkConstants[_0x5595f9(0x379)]])[_0x5595f9(0x2da)]+_0x5595f9(0x2d0)):logger[_0x5595f9(0x206)](_0x59064a[_0x5595f9(0x21e)]);const _0x4d3711=_0x8929b[_0x5595f9(0x341)]||null,_0x35bcea={};_0x35bcea[_0x5595f9(0x277)]=_0x1cd641,_0x35bcea['testData']=_0x418669,_0x35bcea['testId']=_0x4afe41,_0x35bcea[_0x5595f9(0x341)]=_0x4d3711;const _0x3ec8a6=this[_0x5595f9(0x34e)](_0x35bcea),_0x54d228={};_0x54d228['depth']=0x2,_0x54d228['maxArrayLength']=0x3,logger[_0x5595f9(0x206)](_0x5595f9(0x212)+util[_0x5595f9(0x218)](_0x3ec8a6,_0x54d228)),_0x379223[_0x5595f9(0x2b7)](_0x3ec8a6),logger[_0x5595f9(0x206)](_0x5595f9(0x25f)+_0x4afe41),await this['processPendingHooks'](_0x379223,_0x4afe41);}}break;case TestFrameworkState[_0x5595f9(0x1fb)]:if(_0x59064a[_0x5595f9(0x208)](_0x807464,HookState[_0x5595f9(0x352)])){const _0x347c58={};_0x347c58[_0x5595f9(0x211)]=0x2,logger[_0x5595f9(0x206)](_0x5595f9(0x280)+util['inspect'](_0x8929b,_0x347c58)),await this[_0x5595f9(0x29e)](_0x379223,_0x27afd1,_0x8929b);}break;default:if(CLIUtils[_0x5595f9(0x2c1)](_0x27afd1[_0x5595f9(0x332)]()[_0x5595f9(0x2b1)]('.')[0x1])){const _0x1453ef={};_0x1453ef[_0x5595f9(0x211)]=0x2,_0x1453ef[_0x5595f9(0x32b)]=0x3,logger[_0x5595f9(0x206)](_0x5595f9(0x236)+_0x27afd1+_0x5595f9(0x28d)+_0x807464+',\x20hookData='+util[_0x5595f9(0x218)](_0x8929b[_0x5595f9(0x357)],_0x1453ef));const _0x26e17e=await this[_0x5595f9(0x20c)](_0x379223,_0x27afd1,_0x807464,_0x8929b),_0x4f1693={};_0x4f1693[_0x5595f9(0x211)]=0x2,_0x4f1693[_0x5595f9(0x32b)]=0x3,logger[_0x5595f9(0x206)](_0x5595f9(0x231)+util[_0x5595f9(0x218)](_0x26e17e,_0x4f1693)),_0x379223['addMultipleEntries'](_0x26e17e);}else logger[_0x5595f9(0x206)](_0x5595f9(0x22f)+_0x27afd1+_0x5595f9(0x28e)+_0x807464);break;}logger['debug']('[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState='+_0x27afd1+_0x5595f9(0x28d)+_0x807464);}catch(_0x4ceba3){logger[_0x5595f9(0x27e)](_0x5595f9(0x25b)+_0x27afd1+_0x5595f9(0x28d)+_0x807464+',\x20exception='+util[_0x5595f9(0x370)](_0x4ceba3));}_0x8929b[_0x5595f9(0x33c)]=_0x379223,await this[_0x5595f9(0x1fc)](_0x379223,_0x27afd1,_0x807464,_0x8929b);}['getJestTestIdentifier'](_0x217d4a){const _0x4e5cdd=a71_0x15b910,_0x2cd87b={};_0x2cd87b[_0x4e5cdd(0x2fb)]=_0x4e5cdd(0x2c4);const _0x353381=_0x2cd87b;if(_0x217d4a&&(_0x217d4a['id']||_0x217d4a[_0x4e5cdd(0x339)])){const _0x557585=_0x217d4a['id']||_0x217d4a['uuid'];return logger[_0x4e5cdd(0x206)](_0x4e5cdd(0x1ef)+_0x557585+_0x4e5cdd(0x36d)),_0x557585;}return logger[_0x4e5cdd(0x206)](_0x353381[_0x4e5cdd(0x2fb)]),process[_0x4e5cdd(0x30b)]+_0x4e5cdd(0x2ce);}[a71_0x15b910(0x278)](_0x547375,_0x516d49,_0x210e1b={}){const _0x3b0d50=a71_0x15b910;let _0x57e5ce=null;return _0x57e5ce=TestFramework[_0x3b0d50(0x30e)](),!_0x57e5ce?(logger[_0x3b0d50(0x206)](_0x3b0d50(0x240)+_0x547375),this[_0x3b0d50(0x2b6)](_0x547375,_0x210e1b),_0x57e5ce=TestFramework[_0x3b0d50(0x30e)](),logger[_0x3b0d50(0x206)](_0x3b0d50(0x245)+!!_0x57e5ce+_0x3b0d50(0x359)+_0x57e5ce?.[_0x3b0d50(0x2a0)]()?.[_0x3b0d50(0x335)]())):logger[_0x3b0d50(0x206)](_0x3b0d50(0x1f3)+_0x57e5ce['getContext']()?.[_0x3b0d50(0x335)]()),_0x57e5ce;}['trackJestInstance'](_0x49b46e,_0x80e9f3){const _0x37c8ab=a71_0x15b910,_0x594854={};_0x594854[_0x37c8ab(0x282)]=_0x37c8ab(0x2df);const _0x2aa603=_0x594854;if(TestFramework['getTrackedInstance']()){logger[_0x37c8ab(0x206)](_0x2aa603['XtBLR']);return;}const _0x1c9bb5=CLIUtils['getCurrentInstanceName'](),_0xe5639b=TrackedInstance[_0x37c8ab(0x221)](_0x1c9bb5);let _0x50cd28=null;logger[_0x37c8ab(0x206)](_0x37c8ab(0x1fe)+_0x1c9bb5+_0x37c8ab(0x31a)+_0x49b46e),_0x50cd28=new TestFrameworkInstance(_0xe5639b,this['getTestFrameworks'](),this[_0x37c8ab(0x2a4)](),_0x49b46e,HookState[_0x37c8ab(0x274)]),TestFramework[_0x37c8ab(0x2de)](_0xe5639b,_0x50cd28),logger['debug']('[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId='+_0xe5639b[_0x37c8ab(0x335)]()+_0x37c8ab(0x2c6)+_0x1c9bb5+',\x20testFramework='+this['getTestFrameworks']()[0x0]+_0x37c8ab(0x21c)+this[_0x37c8ab(0x2a4)]()[this[_0x37c8ab(0x32e)]()[0x0]]);}[a71_0x15b910(0x233)](_0xac40ad){const _0x47d02b=a71_0x15b910,_0x112ab9={};_0x112ab9['Mfehu']=function(_0x231a54,_0x4b00d9){return _0x231a54||_0x4b00d9;},_0x112ab9[_0x47d02b(0x318)]='No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test';const _0x455997=_0x112ab9,{testUUID:_0xa1912a,testData:_0x8a48f9,testId:_0x4341df}=_0xac40ad;if(_0x455997[_0x47d02b(0x377)](!_0x8a48f9,!_0x4341df))return logger[_0x47d02b(0x206)](_0x455997[_0x47d02b(0x318)]),{};const _0x48f95b=this['getTestFrameworks']()[0x0],_0x4b53f0=this[_0x47d02b(0x2a4)](),_0xbb5b99={};_0xbb5b99[_0x47d02b(0x211)]=0x2,_0xbb5b99[_0x47d02b(0x32b)]=0x3,logger[_0x47d02b(0x206)]('[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20'+util[_0x47d02b(0x218)](_0x8a48f9,_0xbb5b99));const _0x48a7a6=_0x8a48f9?.[_0x47d02b(0x275)]||[],_0x21fc67=this[_0x47d02b(0x223)](_0x8a48f9),_0x300852=this[_0x47d02b(0x2d5)](_0x8a48f9),_0x26a703=_0x8a48f9['fn']?_0x8a48f9['fn'][_0x47d02b(0x332)]():null,_0x2d671b=this[_0x47d02b(0x371)](_0x8a48f9),_0x33f843={[TestFrameworkConstants[_0x47d02b(0x322)]]:_0x48f95b,[TestFrameworkConstants[_0x47d02b(0x27d)]]:_0x4b53f0[_0x48f95b],[TestFrameworkConstants[_0x47d02b(0x2cf)]]:[],[TestFrameworkConstants[_0x47d02b(0x2a3)]]:{},[TestFrameworkConstants[_0x47d02b(0x20b)]]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x47d02b(0x297)],[TestFrameworkConstants[_0x47d02b(0x2e1)]]:_0x21fc67,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x300852,[TestFrameworkConstants[_0x47d02b(0x1f2)]]:_0x4341df,[TestFrameworkConstants[_0x47d02b(0x367)]]:_0x21fc67,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x300852,[TestFrameworkConstants[_0x47d02b(0x235)]]:_0x26a703,[TestFrameworkConstants[_0x47d02b(0x2ad)]]:_0x2d671b,[TestFrameworkConstants[_0x47d02b(0x27f)]]:_0x8a48f9[_0x47d02b(0x256)]||new Date()[_0x47d02b(0x308)](),[TestFrameworkConstants[_0x47d02b(0x2cc)]]:_0x48a7a6[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x48a7a6,[TestFrameworkConstants[_0x47d02b(0x24c)]]:_0x21fc67,[TestFrameworkConstants[_0x47d02b(0x2c8)]]:{},[TestFrameworkConstants[_0x47d02b(0x2ea)]]:{}};_0x8a48f9['retryOf']&&(_0x33f843[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x8a48f9[_0x47d02b(0x34b)]);logger['debug'](_0x47d02b(0x32c)+_0x21fc67+',\x20testId='+_0x4341df+_0x47d02b(0x272)+JSON[_0x47d02b(0x2f0)](_0x2d671b)+_0x47d02b(0x2e7)+util[_0x47d02b(0x218)](_0x48a7a6)+_0x47d02b(0x334)+_0x300852);const _0x133b10={};return _0x133b10[_0x4341df]=_0x33f843,_0x133b10;}['parseJestTestResult'](_0x9aa12c){const _0x483fcf=a71_0x15b910,_0x4d51e0={'deVth':function(_0x1e6d3c,_0x3d8351){return _0x1e6d3c===_0x3d8351;},'BNgyZ':_0x483fcf(0x340),'DGTfJ':_0x483fcf(0x2eb),'KNstR':_0x483fcf(0x317),'iebKd':_0x483fcf(0x22a),'jxvMv':function(_0x1fb5d7,_0x3274f6){return _0x1fb5d7||_0x3274f6;},'wXiHc':'No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','NjtnT':_0x483fcf(0x337),'mfIEd':function(_0x45f51e,_0x35b8a9){return _0x45f51e>_0x35b8a9;},'MYYoZ':_0x483fcf(0x242),'gamWd':_0x483fcf(0x2a7),'XTQlh':function(_0x52184e,_0x422574){return _0x52184e===_0x422574;},'ZDmbP':_0x483fcf(0x2fd),'VweYK':'passed','NIyct':function(_0x5791fc,_0x5a7686){return _0x5791fc===_0x5a7686;},'TjzvF':function(_0x114545,_0x292856){return _0x114545!==_0x292856;},'pHbio':function(_0x574d0a,_0x9a5dc8,_0x237f28,_0x21fa4a){return _0x574d0a(_0x9a5dc8,_0x237f28,_0x21fa4a);},'srGyE':_0x483fcf(0x374),'TSIJY':function(_0x3d8212,_0x199b06){return _0x3d8212>_0x199b06;}},{testUUID:_0x25e62f,testData:_0x477ff0,testId:_0x33ae88}=_0x9aa12c;if(_0x4d51e0['jxvMv'](!_0x477ff0,!_0x33ae88))return logger['debug'](_0x4d51e0[_0x483fcf(0x2c9)]),{};const _0x2313ca=this[_0x483fcf(0x278)](TestFrameworkState[_0x483fcf(0x2b8)],HookState[_0x483fcf(0x352)]),_0x246ad9=_0x2313ca[_0x483fcf(0x2d1)]()[_0x483fcf(0x31e)](_0x33ae88),_0x1d3726=_0x4d51e0[_0x483fcf(0x342)](_0x246ad9,{}),_0x24be8c=_0x1d3726?_0x1d3726[TestFrameworkConstants[_0x483fcf(0x2c8)]]||{}:{},_0x205c14=_0x1d3726[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']];logger[_0x483fcf(0x206)]('[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20'+(_0x205c14?Object[_0x483fcf(0x266)](_0x205c14)['length']:0x0)+_0x483fcf(0x244));let _0x50e821=_0x4d51e0['NjtnT'];if(_0x477ff0[_0x483fcf(0x344)])_0x50e821=_0x477ff0[_0x483fcf(0x344)];else{if(_0x477ff0[_0x483fcf(0x2ec)]&&_0x4d51e0[_0x483fcf(0x27c)](_0x477ff0['errorsDetailed']['length'],0x0))_0x50e821=_0x4d51e0[_0x483fcf(0x2ed)];else _0x4d51e0[_0x483fcf(0x313)](_0x477ff0['status'],_0x4d51e0['gamWd'])||_0x4d51e0['XTQlh'](_0x477ff0[_0x483fcf(0x34f)],_0x4d51e0['ZDmbP'])?_0x50e821=_0x4d51e0[_0x483fcf(0x33b)]:_0x50e821=_0x4d51e0[_0x483fcf(0x31c)];}const _0x504d60={..._0x1d3726,[TestFrameworkConstants[_0x483fcf(0x225)]]:_0x50e821,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x477ff0['finished_at']||new Date()[_0x483fcf(0x308)](),[TestFrameworkConstants[_0x483fcf(0x2af)]]:new Date()[_0x483fcf(0x308)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x24be8c,[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x483fcf(0x2ea)]]:{}};if(_0x4d51e0[_0x483fcf(0x34c)](_0x50e821,_0x4d51e0[_0x483fcf(0x2ed)])&&_0x477ff0[_0x483fcf(0x2ec)]){const _0x5a2b85=this[_0x483fcf(0x270)](_0x477ff0),_0x52df48=this[_0x483fcf(0x314)](_0x477ff0),_0x1ec44b=this[_0x483fcf(0x2aa)](_0x477ff0);_0x504d60[TestFrameworkConstants[_0x483fcf(0x2d7)]]=_0x52df48,_0x504d60[TestFrameworkConstants[_0x483fcf(0x325)]]=_0x5a2b85,_0x504d60[TestFrameworkConstants[_0x483fcf(0x2bf)]]=_0x1ec44b;}_0x4d51e0[_0x483fcf(0x2bd)](_0x477ff0[_0x483fcf(0x2d3)],undefined)&&(_0x504d60[TestFrameworkConstants[_0x483fcf(0x213)]]=_0x477ff0['duration']);_0x477ff0[_0x483fcf(0x34b)]&&(_0x504d60[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x477ff0['retryOf']);const _0x43988e=_0x246ad9?_0x246ad9[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{}:{},_0x40b72d=_0x246ad9?_0x246ad9[TestFrameworkConstants[_0x483fcf(0x276)]]:_0x25e62f,_0x4a8f45=_0x4d51e0[_0x483fcf(0x360)](getManualUploadLogs,_0x43988e,_0x40b72d,_0x33ae88);if(_0x4d51e0[_0x483fcf(0x27c)](_0x4a8f45[_0x483fcf(0x2da)],0x0)){const _0xaa07e2=_0x504d60[TestFrameworkConstants[_0x483fcf(0x346)]]||[];_0x504d60[TestFrameworkConstants['KEY_LOGS']]=[..._0xaa07e2,..._0x4a8f45];}const _0x3d8e17=_0x1d3726[TestFrameworkConstants[_0x483fcf(0x2a3)]]||{},_0x34c635=_0x1d3726[TestFrameworkConstants[_0x483fcf(0x20b)]]||{},_0x19198a={..._0x3d8e17},_0x564c34=_0x19198a;Object[_0x483fcf(0x266)](_0x34c635)[_0x483fcf(0x20e)](_0x472352=>{const _0x5545d9=_0x483fcf;!_0x564c34[_0x472352]&&(_0x564c34[_0x472352]=[]);const _0x13b945=new Set((_0x564c34[_0x472352]||[])[_0x5545d9(0x33a)](_0x3bfd21=>_0x3bfd21[TestFrameworkConstants[_0x5545d9(0x279)]]||_0x3bfd21[_0x5545d9(0x226)]));(_0x34c635[_0x472352]||[])[_0x5545d9(0x20e)](_0x59b490=>{const _0x278f4e=_0x5545d9,_0x28aa90=_0x59b490[TestFrameworkConstants['KEY_HOOK_ID']]||_0x59b490[_0x278f4e(0x226)];if(!_0x13b945[_0x278f4e(0x2f6)](_0x28aa90)){const _0x4abd07={..._0x59b490},_0xe5f6a9=_0x4abd07;!_0xe5f6a9[TestFrameworkConstants[_0x278f4e(0x26d)]]&&!_0xe5f6a9[_0x278f4e(0x234)]&&(_0xe5f6a9[TestFrameworkConstants[_0x278f4e(0x26d)]]=new Date()['toISOString']()),!_0xe5f6a9[TestFrameworkConstants[_0x278f4e(0x35b)]]&&!_0xe5f6a9[_0x278f4e(0x2a9)]&&(_0xe5f6a9[TestFrameworkConstants['KEY_HOOK_RESULT']]=TestFrameworkConstants[_0x278f4e(0x26b)]),_0x564c34[_0x472352]['push'](_0xe5f6a9);}});});if(_0x9aa12c['originalTest']){this[_0x483fcf(0x285)](_0x9aa12c[_0x483fcf(0x341)]);const _0x3047fa=this[_0x483fcf(0x26e)](_0x9aa12c[_0x483fcf(0x341)]),_0x2d20fa=this['getHooksForTest'](_0x9aa12c[_0x483fcf(0x341)]);_0x2d20fa[_0x483fcf(0x20e)](_0x3038e7=>{const _0x579af8=_0x483fcf,_0x578c10=_0x3047fa[_0x579af8(0x31e)](_0x3038e7);if(_0x578c10&&(_0x4d51e0[_0x579af8(0x313)](_0x578c10[_0x579af8(0x1f5)],_0x4d51e0[_0x579af8(0x261)])||_0x4d51e0[_0x579af8(0x313)](_0x578c10[_0x579af8(0x1f5)],_0x4d51e0['DGTfJ']))){const _0x318917=_0x578c10['type'][_0x579af8(0x2e3)]()[_0x579af8(0x29a)](_0x4d51e0[_0x579af8(0x26f)],_0x4d51e0[_0x579af8(0x28f)]),_0x2839f2=_0x318917;!_0x564c34[_0x2839f2]&&(_0x564c34[_0x2839f2]=[]);const _0x5d0025=_0x564c34[_0x2839f2][_0x579af8(0x372)](_0x456b3a=>(_0x456b3a[TestFrameworkConstants[_0x579af8(0x279)]]||_0x456b3a[_0x579af8(0x226)])===_0x3038e7);!_0x5d0025&&_0x564c34[_0x2839f2]['push']({'key':_0x2839f2,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x3038e7,[TestFrameworkConstants[_0x579af8(0x35b)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:new Date()['toISOString'](),[TestFrameworkConstants[_0x579af8(0x26d)]]:new Date()[_0x579af8(0x308)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x579af8(0x2c2)]]:_0x578c10['name']||_0x578c10[_0x579af8(0x1f5)]+_0x579af8(0x36a),[TestFrameworkConstants[_0x579af8(0x2c8)]]:_0x24be8c});}});}if(_0x477ff0[_0x483fcf(0x203)]&&_0x4d51e0['mfIEd'](_0x477ff0[_0x483fcf(0x203)][_0x483fcf(0x2da)],0x0))_0x504d60[TestFrameworkConstants[_0x483fcf(0x2a3)]]=_0x477ff0['hooks'],logger[_0x483fcf(0x206)](_0x4d51e0[_0x483fcf(0x1fd)]);else _0x4d51e0[_0x483fcf(0x219)](Object['keys'](_0x564c34)[_0x483fcf(0x2da)],0x0)&&(_0x504d60[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x564c34,logger[_0x483fcf(0x206)](_0x483fcf(0x364)+Object[_0x483fcf(0x266)](_0x564c34)[_0x483fcf(0x2f4)](',')));const _0x1da12e=this['getJestTestName'](_0x477ff0);logger[_0x483fcf(0x206)](_0x483fcf(0x23a)+_0x1da12e+',\x20testId='+_0x33ae88+_0x483fcf(0x2ff)+_0x50e821+',\x20duration='+_0x477ff0[_0x483fcf(0x2d3)]);_0x4d51e0[_0x483fcf(0x28b)](_0x50e821,_0x4d51e0[_0x483fcf(0x2ed)])&&logger[_0x483fcf(0x206)](_0x483fcf(0x347)+_0x33ae88+_0x483fcf(0x2a1)+_0x504d60[TestFrameworkConstants[_0x483fcf(0x2d7)]]+',\x20failureReason='+_0x504d60[TestFrameworkConstants[_0x483fcf(0x325)]]?.[_0x483fcf(0x259)](0x0,0xc8));const _0x528048={};return _0x528048[_0x33ae88]=_0x504d60,_0x528048;}[a71_0x15b910(0x2e0)](_0xf207f0){const _0x3137b0=a71_0x15b910,_0x322089={};_0x322089['cfuEj']=function(_0xb8e7fc,_0x321144){return _0xb8e7fc!==_0x321144;},_0x322089[_0x3137b0(0x2be)]=_0x3137b0(0x25a);const _0x557dcd=_0x322089,_0x4cc0e1={};_0x4cc0e1['depth']=0x2,_0x4cc0e1['maxArrayLength']=0x3,logger[_0x3137b0(0x206)](_0x3137b0(0x2a2)+util[_0x3137b0(0x218)](_0xf207f0,_0x4cc0e1));const _0x15eef6=[];if(_0xf207f0&&_0xf207f0[_0x3137b0(0x303)]){let _0x4b4a28=_0xf207f0[_0x3137b0(0x303)];while(_0x4b4a28&&_0x4b4a28[_0x3137b0(0x287)]&&_0x557dcd[_0x3137b0(0x2cd)](_0x4b4a28[_0x3137b0(0x287)],'')&&_0x557dcd[_0x3137b0(0x2cd)](_0x4b4a28[_0x3137b0(0x287)],_0x557dcd['pYvdZ'])){_0x15eef6[_0x3137b0(0x348)](_0x4b4a28[_0x3137b0(0x287)]),_0x4b4a28=_0x4b4a28[_0x3137b0(0x303)];}}return _0x15eef6[_0x3137b0(0x25d)]();}[a71_0x15b910(0x223)](_0x2c33cc){const _0x1f50ce=a71_0x15b910,_0x2f36b9={};_0x2f36b9[_0x1f50ce(0x361)]=_0x1f50ce(0x373);const _0x8fb19f=_0x2f36b9;if(_0x2c33cc[_0x1f50ce(0x287)])return _0x2c33cc[_0x1f50ce(0x287)];if(_0x2c33cc[_0x1f50ce(0x33f)])return _0x2c33cc['title'];return _0x8fb19f[_0x1f50ce(0x361)];}[a71_0x15b910(0x371)](_0x4273bc){const _0x5c7104=a71_0x15b910,_0xa2c85c=[];if(_0x4273bc['tags']&&Array[_0x5c7104(0x30d)](_0x4273bc['tags']))return _0x4273bc[_0x5c7104(0x2e2)][_0x5c7104(0x33a)](_0x52a1ac=>_0x52a1ac[_0x5c7104(0x24e)]('@')?_0x52a1ac['substr'](0x1):_0x52a1ac);const _0x59b8f9=this[_0x5c7104(0x223)](_0x4273bc),_0x42bdbf=_0x59b8f9[_0x5c7104(0x1f8)](/@(\w+)/g);if(_0x42bdbf)return _0x42bdbf['map'](_0x364262=>_0x364262[_0x5c7104(0x2b2)](0x1));return _0x4273bc[_0x5c7104(0x275)]&&Array[_0x5c7104(0x30d)](_0x4273bc[_0x5c7104(0x275)])&&_0x4273bc[_0x5c7104(0x275)]['forEach'](_0x29bb23=>{const _0x9447bd=_0x29bb23['match'](/@(\w+)/g);_0x9447bd&&_0x9447bd['forEach'](_0x195b94=>{const _0x47ac5e=a71_0x2241,_0x3a7eb5=_0x195b94[_0x47ac5e(0x2b2)](0x1);!_0xa2c85c[_0x47ac5e(0x2fa)](_0x3a7eb5)&&_0xa2c85c[_0x47ac5e(0x348)](_0x3a7eb5);});}),_0xa2c85c;}[a71_0x15b910(0x2d5)](_0xacc3da){const _0x236738=a71_0x15b910,_0x38dd89={'ZbgDW':function(_0x34c5b7,_0x16a72d){return _0x34c5b7(_0x16a72d);},'whams':'stack-trace'};if(_0xacc3da[_0x236738(0x2d6)])return _0xacc3da['file_name'];if(_0xacc3da['asyncError']){const _0x4f4312=_0x38dd89[_0x236738(0x215)](require,_0x38dd89[_0x236738(0x31f)]);try{const _0x242500=_0x4f4312['parse'](_0xacc3da[_0x236738(0x1ee)]);if(_0x242500[0x0]&&_0x242500[0x0][_0x236738(0x2a6)])return _0x242500[0x0][_0x236738(0x2a6)]();}catch(_0x97be29){logger[_0x236738(0x206)](_0x236738(0x30f)+util[_0x236738(0x370)](_0x97be29));}}return null;}['getJestFailureReason'](_0x353c40){const _0x1d7723=a71_0x15b910,_0x260e49={};_0x260e49[_0x1d7723(0x25c)]=function(_0x40c62d,_0x5cff7d){return _0x40c62d>_0x5cff7d;},_0x260e49[_0x1d7723(0x1f9)]=_0x1d7723(0x210);const _0x3cab6e=_0x260e49;if(_0x353c40[_0x1d7723(0x2ec)]&&_0x3cab6e[_0x1d7723(0x25c)](_0x353c40[_0x1d7723(0x2ec)][_0x1d7723(0x2da)],0x0))return util[_0x1d7723(0x218)](_0x353c40[_0x1d7723(0x2ec)][0x0]);if(_0x353c40[_0x1d7723(0x37e)])return _0x353c40[_0x1d7723(0x37e)];return _0x3cab6e[_0x1d7723(0x1f9)];}[a71_0x15b910(0x314)](_0x12d612){const _0x3ae8a=a71_0x15b910,_0x23fbad={};_0x23fbad[_0x3ae8a(0x23b)]=_0x3ae8a(0x258),_0x23fbad[_0x3ae8a(0x355)]=_0x3ae8a(0x301),_0x23fbad[_0x3ae8a(0x31d)]='UnhandledError';const _0x4d3143=_0x23fbad,_0x351e9f=this[_0x3ae8a(0x270)](_0x12d612);if(_0x351e9f&&_0x351e9f[_0x3ae8a(0x2fa)](_0x4d3143[_0x3ae8a(0x23b)]))return _0x4d3143['RqPNE'];return _0x4d3143[_0x3ae8a(0x31d)];}[a71_0x15b910(0x2aa)](_0x4be74f){const _0x7a49c=a71_0x15b910,_0x50d21a={'ixBCm':function(_0x5773e5,_0x2eec92){return _0x5773e5(_0x2eec92);},'oLpDT':_0x7a49c(0x22e),'QwAkx':function(_0x4521f6,_0x21a131){return _0x4521f6!==_0x21a131;},'plvKZ':'test'},{failureData:_0xeedb63}=_0x50d21a['ixBCm'](require,_0x50d21a[_0x7a49c(0x21f)]),_0x439525=[];return _0x50d21a[_0x7a49c(0x238)](_0x4be74f[_0x7a49c(0x2ec)],undefined)&&_0x439525['push'](_0x4be74f[_0x7a49c(0x2ec)],_0x50d21a[_0x7a49c(0x27b)]),_0xeedb63[_0x7a49c(0x209)](null,_0x439525);}async[a71_0x15b910(0x20c)](_0x505714,_0x1a95b8,_0x34505b,_0x5b8f99){const _0x3fbf26=a71_0x15b910,_0x468fb7={'zFipG':_0x3fbf26(0x306),'NLtxW':function(_0xb623a6){return _0xb623a6();},'vCFoA':function(_0x4a379f,_0x314c55){return _0x4a379f in _0x314c55;},'kzwTo':function(_0x3dfcfe,_0x34de21){return _0x3dfcfe in _0x34de21;},'HKkrp':function(_0x315898,_0x154081){return _0x315898===_0x154081;},'sNWgG':function(_0x50f726,_0x2c9df3){return _0x50f726>_0x2c9df3;},'LfiZx':'failed','KqSfo':_0x3fbf26(0x248),'OZOfm':function(_0x57b579,_0x1576fa){return _0x57b579>_0x1576fa;},'kQYHx':function(_0x266dda,_0x30d97e){return _0x266dda!==_0x30d97e;}},{hookData:_0x3b6ca9}=_0x5b8f99,_0x1e9ee3=_0x34505b[_0x3fbf26(0x332)](),_0x3ac47f=_0x1a95b8[_0x3fbf26(0x332)](),_0x1e2ab2={};_0x1e2ab2['depth']=0x2,_0x1e2ab2[_0x3fbf26(0x32b)]=0x3,logger[_0x3fbf26(0x206)]('[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState='+_0x3ac47f+_0x3fbf26(0x28d)+_0x1e9ee3+_0x3fbf26(0x23c)+util[_0x3fbf26(0x218)](_0x3b6ca9,_0x1e2ab2));if(!_0x3b6ca9)return logger[_0x3fbf26(0x206)](_0x468fb7[_0x3fbf26(0x2c7)]),{};const _0x350174=_0x3b6ca9['uuid']||_0x3b6ca9[_0x3fbf26(0x369)]||_0x468fb7[_0x3fbf26(0x257)](uuidv4),_0x4472af=_0x3b6ca9[_0x3fbf26(0x23e)]||this[_0x3fbf26(0x20a)](_0x3b6ca9),_0x57337e=_0x1a95b8[_0x3fbf26(0x332)]()['split']('.')[0x1],_0x5af7aa=_0x505714[_0x3fbf26(0x2d1)]()[_0x3fbf26(0x31e)](_0x4472af),_0x2c8934=_0x5af7aa?_0x5af7aa[TestFrameworkConstants[_0x3fbf26(0x2c8)]]||{}:{};logger['debug'](_0x3fbf26(0x33d)+_0x350174+_0x3fbf26(0x281)+_0x4472af+_0x3fbf26(0x207)+_0x57337e+_0x3fbf26(0x28d)+_0x1e9ee3);if(!_0x5af7aa)return logger[_0x3fbf26(0x206)](_0x3fbf26(0x284)+_0x4472af+_0x3fbf26(0x375)),this[_0x3fbf26(0x2ca)](_0x505714,_0x4472af,_0x1a95b8,_0x34505b,_0x5b8f99),{};let _0x5e6344=_0x5af7aa[TestFrameworkConstants[_0x3fbf26(0x20b)]];!_0x5e6344&&(_0x5e6344={});!_0x468fb7[_0x3fbf26(0x29b)](_0x57337e,_0x5e6344)&&(_0x5e6344[_0x57337e]=[]);let _0x3eba7a=_0x5af7aa[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x3eba7a&&(_0x3eba7a={});!_0x468fb7[_0x3fbf26(0x2b9)](_0x57337e,_0x3eba7a)&&(_0x3eba7a[_0x57337e]=[]);const _0x1d79d0={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x5e6344,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x3eba7a},_0xbf9238={};_0xbf9238[_0x4472af]=_0x1d79d0;const _0x19915c=_0xbf9238;if(_0x468fb7[_0x3fbf26(0x291)](_0x34505b,HookState[_0x3fbf26(0x249)])){const _0x1e0b7b={'key':_0x57337e,[TestFrameworkConstants[_0x3fbf26(0x279)]]:_0x350174,[TestFrameworkConstants[_0x3fbf26(0x35b)]]:TestFrameworkConstants[_0x3fbf26(0x26b)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x3b6ca9['started_at']||new Date()[_0x3fbf26(0x308)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x3b6ca9['name']||_0x3b6ca9['hook_type']||_0x57337e,[TestFrameworkConstants[_0x3fbf26(0x2c8)]]:_0x2c8934};_0x5e6344[_0x57337e]['push'](_0x1e0b7b),_0x19915c[_0x4472af][TestFrameworkConstants[_0x3fbf26(0x229)]]=_0x57337e;const _0x4ab58f={};_0x4ab58f[_0x3fbf26(0x211)]=0x2,logger[_0x3fbf26(0x206)](_0x3fbf26(0x2fe)+_0x57337e+_0x3fbf26(0x2ab)+_0x350174+_0x3fbf26(0x281)+_0x4472af+',\x20hook='+util[_0x3fbf26(0x218)](_0x1e0b7b,_0x4ab58f));}else{if(_0x468fb7['HKkrp'](_0x34505b,HookState[_0x3fbf26(0x352)])){const _0x2f4355=_0x3b6ca9[_0x3fbf26(0x344)]||(_0x3b6ca9[_0x3fbf26(0x2ec)]&&_0x468fb7[_0x3fbf26(0x22c)](_0x3b6ca9[_0x3fbf26(0x2ec)][_0x3fbf26(0x2da)],0x0)?_0x468fb7['LfiZx']:_0x468fb7[_0x3fbf26(0x31b)]),_0x7879ec=_0x5e6344[_0x57337e]||[];logger['debug'](_0x3fbf26(0x222)+_0x57337e+_0x3fbf26(0x281)+_0x4472af+_0x3fbf26(0x29f)+_0x2f4355+_0x3fbf26(0x32f)+_0x7879ec[_0x3fbf26(0x2da)]);if(_0x468fb7[_0x3fbf26(0x311)](_0x7879ec[_0x3fbf26(0x2da)],0x0)){const _0x4ab0b7=_0x7879ec[_0x3fbf26(0x2f9)]();_0x468fb7[_0x3fbf26(0x291)](_0x2f4355,_0x468fb7[_0x3fbf26(0x315)])&&_0x3b6ca9[_0x3fbf26(0x2ec)]?(_0x4ab0b7[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=this[_0x3fbf26(0x314)](_0x3b6ca9),_0x4ab0b7[TestFrameworkConstants[_0x3fbf26(0x1f1)]]=this['getJestFailureReason'](_0x3b6ca9),_0x4ab0b7[TestFrameworkConstants['KEY_HOOK_FAILURE']]=this[_0x3fbf26(0x2aa)](_0x3b6ca9),logger[_0x3fbf26(0x206)](_0x3fbf26(0x37f)+_0x57337e+_0x3fbf26(0x2a1)+_0x4ab0b7[TestFrameworkConstants[_0x3fbf26(0x253)]]+',\x20failureReason='+_0x4ab0b7[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]?.[_0x3fbf26(0x259)](0x0,0xc8))):_0x4ab0b7[TestFrameworkConstants[_0x3fbf26(0x35b)]]=_0x468fb7['KqSfo'];_0x468fb7['kQYHx'](_0x2f4355,TestFrameworkConstants[_0x3fbf26(0x26b)])&&(_0x4ab0b7[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x2f4355);_0x4ab0b7[TestFrameworkConstants[_0x3fbf26(0x26d)]]=_0x3b6ca9[_0x3fbf26(0x2f8)]||new Date()[_0x3fbf26(0x308)](),_0x4ab0b7[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x2c8934;const _0x3a5468=_0x4ab0b7[TestFrameworkConstants[_0x3fbf26(0x279)]];!_0x3eba7a[_0x57337e]&&(_0x3eba7a[_0x57337e]=[]);_0x3eba7a[_0x57337e][_0x3fbf26(0x348)](_0x4ab0b7),_0x19915c[_0x4472af][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x57337e;const _0x4da2f7={};_0x4da2f7['depth']=0x2,logger['debug'](_0x3fbf26(0x2ae)+_0x57337e+',\x20hookId='+_0x3a5468+',\x20result='+_0x2f4355+_0x3fbf26(0x324)+util[_0x3fbf26(0x218)](_0x4ab0b7,_0x4da2f7));}}}const _0x25ce44={};return _0x25ce44[_0x3fbf26(0x211)]=0x2,_0x25ce44[_0x3fbf26(0x32b)]=0x3,logger[_0x3fbf26(0x206)](_0x3fbf26(0x368)+(_0x3b6ca9[_0x3fbf26(0x2fc)]||_0x57337e)+_0x3fbf26(0x2ab)+_0x350174+',\x20testId='+_0x4472af+_0x3fbf26(0x2a8)+util[_0x3fbf26(0x218)](_0x19915c,_0x25ce44)),_0x19915c;}[a71_0x15b910(0x273)](_0x46b52){const _0x7efe81=a71_0x15b910,_0x58360e={};_0x58360e['GZOoA']=_0x7efe81(0x2e9);const _0x586153=_0x58360e;try{const _0x55dbaf=_0x46b52['test']?this['getJestTestIdentifier'](_0x46b52[_0x7efe81(0x2dc)]):_0x46b52['hookData'][_0x7efe81(0x23e)],_0x483b71=_0x46b52[_0x7efe81(0x33c)],_0x4ffbb6=_0x483b71['getContext'](),_0x392e5c=_0x483b71['getAllData']()[_0x7efe81(0x31e)](_0x55dbaf);if(!_0x392e5c)return logger[_0x7efe81(0x206)](_0x7efe81(0x307)+_0x55dbaf),{};const {[TestFrameworkConstants[_0x7efe81(0x322)]]:_0x5f5bc5='',[TestFrameworkConstants[_0x7efe81(0x27d)]]:_0xcdb15b='',[TestFrameworkConstants[_0x7efe81(0x27f)]]:_0x400f19='',[TestFrameworkConstants[_0x7efe81(0x35c)]]:_0x2c1976=''}=_0x392e5c,_0x3c040d=_0x483b71[_0x7efe81(0x299)]()['toString']()[_0x7efe81(0x2b1)]('.')[0x1],_0x2d98c9=_0x483b71[_0x7efe81(0x288)]()[_0x7efe81(0x332)]()[_0x7efe81(0x2b1)]('.')[0x1],_0x2ba94f=global?.[_0x7efe81(0x336)]?.[_0x7efe81(0x37b)]?.[_0x7efe81(0x2bb)],_0x2f410e=_0x483b71['getRef'](),_0x2526b7=Buffer[_0x7efe81(0x365)](JSON[_0x7efe81(0x2f0)](_0x392e5c))[_0x7efe81(0x332)](_0x586153[_0x7efe81(0x202)]),_0x1b5506={'hash':_0x4ffbb6[_0x7efe81(0x335)](),'threadId':_0x4ffbb6['getThreadId']()[_0x7efe81(0x332)](),'processId':_0x4ffbb6[_0x7efe81(0x28a)]()[_0x7efe81(0x332)]()},_0x20382c={};_0x20382c[_0x7efe81(0x37a)]=_0x2ba94f,_0x20382c[_0x7efe81(0x271)]=_0x5f5bc5,_0x20382c[_0x7efe81(0x30a)]=_0xcdb15b,_0x20382c[_0x7efe81(0x321)]=_0x3c040d,_0x20382c['hookState']=_0x2d98c9,_0x20382c['startedAt']=_0x400f19,_0x20382c[_0x7efe81(0x358)]=_0x2c1976,_0x20382c[_0x7efe81(0x339)]=_0x2f410e,_0x20382c[_0x7efe81(0x1f4)]=_0x2526b7,_0x20382c[_0x7efe81(0x217)]=_0x1b5506,_0x20382c['test_identifier']=_0x55dbaf;const _0x25c7b3=_0x20382c;return _0x25c7b3;}catch(_0x76bfca){return logger[_0x7efe81(0x27e)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util['format'](_0x76bfca)),{};}}async[a71_0x15b910(0x29e)](_0x460607,_0x2c9301,_0x2fdc10){const _0x2d9dbe=a71_0x15b910,_0x5eae7d={'tMuaI':function(_0x562aee,_0x2a942b){return _0x562aee+_0x2a942b;},'KYiHW':_0x2d9dbe(0x2c5),'zflCg':'none','pNXIK':function(_0x16329f,_0x497210){return _0x16329f>_0x497210;},'WJqWn':function(_0x49e9e5,_0x42d9de,_0x1c61a0,_0x3c106c){return _0x49e9e5(_0x42d9de,_0x1c61a0,_0x3c106c);},'aAOzY':function(_0x22ed10,_0x88c541){return _0x22ed10-_0x88c541;},'VlilA':function(_0x49b5fa,_0x21e278){return _0x49b5fa===_0x21e278;},'AFIay':function(_0x43e1d3,_0x5d993f){return _0x43e1d3/_0x5d993f;},'QTgLl':function(_0x450b6f,_0x151bb1){return _0x450b6f<_0x151bb1;},'qBBBQ':function(_0x5c151d,_0x3e7f01){return _0x5c151d*_0x3e7f01;},'FVTNM':function(_0x4aa12f,_0x2a0306){return _0x4aa12f+_0x2a0306;}};try{const _0xf90eb7=_0x2fdc10[_0x2d9dbe(0x277)]||_0x2fdc10[_0x2d9dbe(0x362)],_0x4670fd=Array['from'](_0x460607[_0x2d9dbe(0x2d1)]()[_0x2d9dbe(0x266)]()),_0x24d27c=_0x460607[_0x2d9dbe(0x2d1)]()[_0x2d9dbe(0x31e)](_0xf90eb7);if(!_0x24d27c){logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0xf90eb7);return;}const {[TestFrameworkConstants[_0x2d9dbe(0x322)]]:_0x335c76='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x3ab9e0=''}=_0x24d27c;let _0xfb01b3=[];if(_0x24d27c&&_0x24d27c[TestFrameworkConstants[_0x2d9dbe(0x346)]]&&Array[_0x2d9dbe(0x30d)](_0x24d27c[TestFrameworkConstants[_0x2d9dbe(0x346)]])){_0xfb01b3=_0x24d27c[TestFrameworkConstants[_0x2d9dbe(0x346)]]||[],logger['debug'](_0x2d9dbe(0x298)+_0xfb01b3[_0x2d9dbe(0x2da)]+_0x2d9dbe(0x2b3)+_0xf90eb7);const _0xd8d460={[TestFrameworkConstants[_0x2d9dbe(0x346)]]:[]},_0x2e0fb2={};_0x2e0fb2[_0xf90eb7]=_0xd8d460,_0x460607[_0x2d9dbe(0x2b7)](_0x2e0fb2),logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0xf90eb7);}else logger['debug'](_0x2d9dbe(0x2ee)+_0xf90eb7);logger[_0x2d9dbe(0x206)](_0x2d9dbe(0x24a)+_0xfb01b3[_0x2d9dbe(0x2da)]+_0x2d9dbe(0x2d4)+_0xf90eb7);const _0x4202c2=_0xfb01b3[_0x2d9dbe(0x27a)](_0x241c36=>_0x241c36[_0x2d9dbe(0x24f)]==='TEST_SCREENSHOT');_0x5eae7d[_0x2d9dbe(0x264)](_0x4202c2['length'],0x0)&&(logger['debug'](_0x2d9dbe(0x2f1)+_0x4202c2[_0x2d9dbe(0x2da)]+_0x2d9dbe(0x265)+_0xf90eb7),_0x4202c2[_0x2d9dbe(0x20e)]((_0x24ee93,_0x8d3389)=>{const _0x183a3c=_0x2d9dbe;logger[_0x183a3c(0x206)](_0x183a3c(0x255)+_0x5eae7d['tMuaI'](_0x8d3389,0x1)+'/'+_0x4202c2['length']+'\x20-\x20test_identifier='+(_0x24ee93[_0x183a3c(0x302)]||_0x5eae7d[_0x183a3c(0x345)])+_0x183a3c(0x243)+(_0x24ee93[_0x183a3c(0x350)]||_0x5eae7d['KYiHW'])+',\x20hook_run_uuid='+(_0x24ee93[_0x183a3c(0x378)]||_0x5eae7d['zflCg'])+_0x183a3c(0x2e8)+(_0x24ee93['message']?.['length']||0x0));}));const _0x34c1cf=_0x24d27c[TestFrameworkConstants[_0x2d9dbe(0x379)]]||{},_0x3ac534=_0x5eae7d[_0x2d9dbe(0x312)](getMediaArtifactsLogs,_0x34c1cf,null,_0xf90eb7),_0x2abd27=(_0xfb01b3||[])['concat'](_0x3ac534||[]),_0x300aea=_0x4202c2?.['length']||0x0,_0x19e422=_0x5eae7d['aAOzY'](_0xfb01b3?.[_0x2d9dbe(0x2da)]||0x0,_0x300aea);logger[_0x2d9dbe(0x206)](_0x2d9dbe(0x201)+_0xf90eb7+_0x2d9dbe(0x262)+_0x19e422+_0x2d9dbe(0x2c0)+_0x300aea+',\x20attachmentLogs:\x20'+(_0x3ac534?.[_0x2d9dbe(0x2da)]||0x0)+_0x2d9dbe(0x309)+_0x2abd27[_0x2d9dbe(0x2da)]);if(!_0x2abd27||_0x5eae7d[_0x2d9dbe(0x35a)](_0x2abd27[_0x2d9dbe(0x2da)],0x0)){logger[_0x2d9dbe(0x206)](_0x2d9dbe(0x36e)+_0xf90eb7);return;}const _0xd106f4=0x28,_0x4b1595=Math[_0x2d9dbe(0x36b)](_0x5eae7d[_0x2d9dbe(0x33e)](_0x2abd27['length'],_0xd106f4));for(let _0x4e753a=0x0;_0x5eae7d[_0x2d9dbe(0x329)](_0x4e753a,_0x4b1595);_0x4e753a++){const _0x347366=_0x5eae7d[_0x2d9dbe(0x286)](_0x4e753a,_0xd106f4),_0x1ed03e=_0x5eae7d[_0x2d9dbe(0x2d9)](_0x347366,_0xd106f4),_0x26f1b5=_0x2abd27[_0x2d9dbe(0x2b2)](_0x347366,_0x1ed03e),_0x1efce2=global?.[_0x2d9dbe(0x336)]?.[_0x2d9dbe(0x37b)]?.[_0x2d9dbe(0x2bb)]||0x0,_0x385731={'platformIndex':_0x1efce2,'logs':_0x26f1b5,'testFrameworkName':_0x335c76,'testFrameworkVersion':_0x3ab9e0,'testFrameworkState':_0x2c9301[_0x2d9dbe(0x332)]()[_0x2d9dbe(0x2b1)]('.')[0x1]},_0x5ab7c4={};_0x5ab7c4['depth']=0x3,_0x5ab7c4[_0x2d9dbe(0x32b)]=0x5,logger[_0x2d9dbe(0x206)](_0x2d9dbe(0x343)+_0x5eae7d['FVTNM'](_0x4e753a,0x1)+'/'+_0x4b1595+_0x2d9dbe(0x237)+_0xf90eb7+_0x2d9dbe(0x363)+_0x26f1b5['length']+',\x20platformIndex:\x20'+_0x1efce2+_0x2d9dbe(0x204)+util[_0x2d9dbe(0x218)](_0x385731,_0x5ab7c4));const _0x118bad=await GrpcClient[_0x2d9dbe(0x22b)]()['logCreatedEvent'](_0x385731);logger[_0x2d9dbe(0x206)](_0x2d9dbe(0x343)+_0x5eae7d['tMuaI'](_0x4e753a,0x1)+'/'+_0x4b1595+_0x2d9dbe(0x237)+_0xf90eb7+_0x2d9dbe(0x37d)+util[_0x2d9dbe(0x218)](_0x118bad));}if(_0x3ac534&&_0x5eae7d[_0x2d9dbe(0x264)](_0x3ac534[_0x2d9dbe(0x2da)],0x0)&&_0x24d27c[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]){const _0x581e26={[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:{}},_0x22841d={};_0x22841d[_0xf90eb7]=_0x581e26,_0x460607[_0x2d9dbe(0x2b7)](_0x22841d);}logger[_0x2d9dbe(0x206)](_0x2d9dbe(0x224)+_0xf90eb7+_0x2d9dbe(0x241)+_0x4b1595);}catch(_0x231369){logger[_0x2d9dbe(0x27e)](_0x2d9dbe(0x353)+(_0x2fdc10['testUUID']||_0x2fdc10['testId'])+_0x2d9dbe(0x36c)+util[_0x2d9dbe(0x370)](_0x231369));}}[a71_0x15b910(0x2ca)](_0x33dae7,_0x3dc833,_0x235d87,_0x3a0dc4,_0x1b0cf9){const _0x20ac18=a71_0x15b910,_0x18f30a={};_0x18f30a[_0x20ac18(0x292)]=function(_0x29e377,_0x343cb0){return _0x29e377===_0x343cb0;},_0x18f30a[_0x20ac18(0x310)]=_0x20ac18(0x2eb);const _0x1211ab=_0x18f30a,{hookData:_0x1ccef4}=_0x1b0cf9,_0x1d6a52={'testId':_0x3dc833,'testFrameworkState':_0x235d87,'hookState':_0x3a0dc4,'args':_0x1b0cf9,'timestamp':new Date()[_0x20ac18(0x308)]()};if(_0x1211ab[_0x20ac18(0x292)](_0x235d87,TestFrameworkState[_0x20ac18(0x35e)])&&_0x1ccef4){const _0x16eb36={};_0x16eb36[_0x20ac18(0x252)]=_0x1ccef4[_0x20ac18(0x2d6)]||_0x1ccef4['location'],_0x16eb36[_0x20ac18(0x214)]=_0x1ccef4['scope']||_0x1ccef4[_0x20ac18(0x275)]&&_0x1ccef4['scopes'][0x0]||'',_0x16eb36[_0x20ac18(0x2f2)]=_0x1211ab['dBgpu'],_0x1d6a52['hookMetadata']=_0x16eb36,logger[_0x20ac18(0x206)]('[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20'+_0x3dc833+_0x20ac18(0x366)+_0x1d6a52['hookMetadata']['filePath']+_0x20ac18(0x246)+_0x1d6a52['hookMetadata'][_0x20ac18(0x214)]);}_0x33dae7[_0x20ac18(0x21a)](_0x3dc833,_0x1d6a52),logger[_0x20ac18(0x206)](_0x20ac18(0x2b5)+_0x3dc833+_0x20ac18(0x2dd)+_0x235d87+_0x20ac18(0x1fa)+_0x3a0dc4);}async['processPendingHooks'](_0x739027,_0x26329b){const _0x418243=a71_0x15b910,_0xe3b61={};_0xe3b61[_0x418243(0x20d)]=function(_0x3b4f0e,_0x1e72b1){return _0x3b4f0e>_0x1e72b1;},_0xe3b61[_0x418243(0x34d)]=_0x418243(0x250),_0xe3b61[_0x418243(0x267)]=function(_0x35cf5f,_0x44d26a){return _0x35cf5f===_0x44d26a;},_0xe3b61['SCMZZ']=function(_0x112e14,_0xe3d26e){return _0x112e14===_0xe3d26e;},_0xe3b61[_0x418243(0x319)]=function(_0x70753d,_0x51130a){return _0x70753d>_0x51130a;},_0xe3b61[_0x418243(0x316)]='[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook',_0xe3b61[_0x418243(0x268)]='Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}';const _0x2f384f=_0xe3b61;if(_0x739027[_0x418243(0x220)](_0x26329b)){const _0xcff304=_0x739027[_0x418243(0x239)](_0x26329b);logger[_0x418243(0x206)]('Processing\x20'+_0xcff304[_0x418243(0x2da)]+_0x418243(0x333)+_0x26329b);for(const _0xcf77b5 of _0xcff304){try{const _0xf19a0c=await this[_0x418243(0x20c)](_0x739027,_0xcf77b5['testFrameworkState'],_0xcf77b5[_0x418243(0x2d8)],_0xcf77b5[_0x418243(0x305)]);_0xf19a0c&&_0x2f384f['dewZA'](Object[_0x418243(0x266)](_0xf19a0c)[_0x418243(0x2da)],0x0)&&_0x739027[_0x418243(0x2b7)](_0xf19a0c),await this[_0x418243(0x1fc)](_0x739027,_0xcf77b5[_0x418243(0x321)],_0xcf77b5['hookState'],_0xcf77b5['args']);}catch(_0x427f93){logger['error'](_0x418243(0x328)+_0x26329b+_0x418243(0x36c)+_0x427f93);}}_0x739027['removePendingHooks'](_0x26329b),logger[_0x418243(0x206)](_0x418243(0x293)+_0x26329b);}const _0x3b6445=_0x739027[_0x418243(0x2d1)]()['get'](_0x26329b);if(_0x3b6445){const _0x7aecb=_0x3b6445[TestFrameworkConstants[_0x418243(0x24b)]]||_0x3b6445[TestFrameworkConstants[_0x418243(0x28c)]],_0x415bcf=_0x3b6445[TestFrameworkConstants['KEY_TEST_SCOPE']]||_0x3b6445[TestFrameworkConstants[_0x418243(0x2cb)]]&&_0x3b6445[TestFrameworkConstants[_0x418243(0x2cb)]][0x0]||'';logger[_0x418243(0x206)](_0x2f384f[_0x418243(0x34d)]);const _0xe7bf91=_0x739027[_0x418243(0x26c)]();for(const _0x28c80e of _0xe7bf91){if(_0x2f384f[_0x418243(0x267)](_0x28c80e,_0x26329b))continue;if(_0x739027[_0x418243(0x220)](_0x28c80e)){const _0xb29d7=_0x739027['getPendingHooks'](_0x28c80e);for(const _0x471f18 of _0xb29d7){if(_0x2f384f['SCMZZ'](_0x471f18[_0x418243(0x321)],TestFrameworkState[_0x418243(0x35e)])&&_0x471f18[_0x418243(0x25e)]){const _0x2c9441=_0x471f18[_0x418243(0x25e)][_0x418243(0x252)],_0x460921=_0x471f18['hookMetadata'][_0x418243(0x214)];if(_0x2f384f[_0x418243(0x21b)](_0x2c9441,_0x7aecb)&&_0x2f384f[_0x418243(0x267)](_0x460921,_0x415bcf)){logger[_0x418243(0x206)](_0x418243(0x22d)+_0x28c80e+_0x418243(0x331)+_0x26329b+_0x418243(0x366)+_0x2c9441+_0x418243(0x246)+_0x460921);_0x471f18[_0x418243(0x305)]&&_0x471f18[_0x418243(0x305)][_0x418243(0x357)]&&(_0x471f18[_0x418243(0x305)][_0x418243(0x357)]['test_run_id']=_0x26329b,logger[_0x418243(0x206)](_0x418243(0x2c3)+_0x28c80e+_0x418243(0x23f)+_0x26329b));try{const _0x5de91d=await this[_0x418243(0x20c)](_0x739027,_0x471f18[_0x418243(0x321)],_0x471f18[_0x418243(0x2d8)],_0x471f18[_0x418243(0x305)]);_0x5de91d&&_0x2f384f[_0x418243(0x319)](Object[_0x418243(0x266)](_0x5de91d)[_0x418243(0x2da)],0x0)&&_0x739027[_0x418243(0x2b7)](_0x5de91d);await this[_0x418243(0x1fc)](_0x739027,_0x471f18[_0x418243(0x321)],_0x471f18[_0x418243(0x2d8)],_0x471f18[_0x418243(0x305)]);const _0x201700=_0x739027[_0x418243(0x239)](_0x28c80e)['filter'](_0x111fb1=>_0x111fb1!==_0x471f18);if(_0x2f384f['hqVRh'](_0x201700[_0x418243(0x2da)],0x0))_0x739027['removePendingHooks'](_0x28c80e);else{_0x739027['removePendingHooks'](_0x28c80e);for(const _0x23c12c of _0x201700){_0x739027[_0x418243(0x21a)](_0x28c80e,_0x23c12c);}}logger['debug'](_0x2f384f[_0x418243(0x316)]);}catch(_0x3075f6){logger['error'](_0x2f384f[_0x418243(0x268)]);}}}}}}}}[a71_0x15b910(0x285)](_0x57aeb5){const _0x451910=a71_0x15b910,_0x2abba9={'Qyfgu':function(_0x542700){return _0x542700();}};if(!_0x57aeb5||!_0x57aeb5[_0x451910(0x303)])return;_0x57aeb5[_0x451910(0x303)][_0x451910(0x203)]&&Array[_0x451910(0x30d)](_0x57aeb5[_0x451910(0x303)][_0x451910(0x203)])&&_0x57aeb5[_0x451910(0x303)]['hooks'][_0x451910(0x20e)](_0x1c2ac7=>{const _0x545e46=_0x451910;!_0x1c2ac7[_0x545e46(0x369)]&&!_0x1c2ac7[_0x545e46(0x2a5)]&&(_0x1c2ac7['hookAnalyticsId']=_0x2abba9[_0x545e46(0x354)](uuidv4),_0x1c2ac7[_0x545e46(0x2a5)]=_0x1c2ac7[_0x545e46(0x369)],logger[_0x545e46(0x206)](_0x545e46(0x320)+_0x1c2ac7[_0x545e46(0x1f5)]+_0x545e46(0x2e6)+_0x1c2ac7[_0x545e46(0x369)]));}),this[_0x451910(0x285)](_0x57aeb5[_0x451910(0x303)]);}['getHooksForTest'](_0x23fd7a){const _0x2f6ec3=a71_0x15b910,_0x3bab39={'WWpUy':function(_0x43ad2c,_0x4ab972){return _0x43ad2c(_0x4ab972);}};if(!_0x23fd7a||!_0x23fd7a[_0x2f6ec3(0x303)])return[];const _0x136895=[];return _0x23fd7a[_0x2f6ec3(0x303)][_0x2f6ec3(0x203)]&&Array[_0x2f6ec3(0x30d)](_0x23fd7a[_0x2f6ec3(0x303)][_0x2f6ec3(0x203)])&&_0x23fd7a[_0x2f6ec3(0x303)][_0x2f6ec3(0x203)][_0x2f6ec3(0x20e)](_0x578621=>{const _0x58b62e=_0x2f6ec3,_0x3b4419=_0x578621['hookAnalyticsId']||_0x578621[_0x58b62e(0x2a5)];_0x3b4419&&!this[_0x58b62e(0x326)](_0x578621)&&!_0x3bab39[_0x58b62e(0x2b4)](isInternalHook,_0x578621['fn'])&&_0x136895[_0x58b62e(0x348)](_0x3b4419);}),[..._0x136895,...this[_0x2f6ec3(0x29c)](_0x23fd7a[_0x2f6ec3(0x303)])];}['buildHookMapFromTest'](_0x42db44){const _0x4bff54=a71_0x15b910,_0x3c3556={'Ywgtv':function(_0x5a90d2,_0x1f3aa9){return _0x5a90d2(_0x1f3aa9);},'WvTSj':_0x4bff54(0x337)},_0x5b3955=new Map(),_0x525e97=_0x23d125=>{const _0x374466=_0x4bff54,_0x9610a5={'KMJVz':function(_0x50cc84,_0x52c653){return _0x3c3556['Ywgtv'](_0x50cc84,_0x52c653);},'HHPfw':_0x3c3556[_0x374466(0x30c)]};if(!_0x23d125||!_0x23d125[_0x374466(0x303)])return;_0x23d125[_0x374466(0x303)][_0x374466(0x203)]&&Array[_0x374466(0x30d)](_0x23d125['parent']['hooks'])&&_0x23d125[_0x374466(0x303)][_0x374466(0x203)][_0x374466(0x20e)](_0x3a8885=>{const _0x58c286=_0x374466,_0x2308c2=_0x3a8885[_0x58c286(0x369)]||_0x3a8885[_0x58c286(0x2a5)];if(_0x2308c2&&!this['isJestInternalHook'](_0x3a8885)&&!_0x9610a5[_0x58c286(0x338)](isInternalHook,_0x3a8885['fn'])){const _0x349368={};_0x349368['type']=_0x3a8885[_0x58c286(0x1f5)]||_0x9610a5[_0x58c286(0x254)],_0x349368[_0x58c286(0x287)]=_0x3a8885[_0x58c286(0x287)]||'\x22'+_0x3a8885[_0x58c286(0x1f5)]+'\x22\x20hook',_0x5b3955[_0x58c286(0x1ff)](_0x2308c2,_0x349368);}}),_0x3c3556[_0x374466(0x349)](_0x525e97,_0x23d125['parent']);};return _0x3c3556[_0x4bff54(0x349)](_0x525e97,_0x42db44),_0x5b3955;}[a71_0x15b910(0x326)](_0x5b2426){const _0x186464=a71_0x15b910,_0x2f3d60={};_0x2f3d60['eLlmr']=_0x186464(0x200),_0x2f3d60['YHzrc']=_0x186464(0x205);const _0x587201=_0x2f3d60;try{const _0x579255=this[_0x186464(0x35d)](_0x5b2426);return _0x579255&&_0x579255[_0x186464(0x2fa)](_0x587201['eLlmr']);}catch(_0x3ba5b9){logger[_0x186464(0x206)](_0x587201['YHzrc']);}return![];}[a71_0x15b910(0x35d)](_0x220b69){const _0x218a84=a71_0x15b910;if(_0x220b69[_0x218a84(0x1ee)])try{const _0x51b7a2=stackTrace[_0x218a84(0x37c)](_0x220b69[_0x218a84(0x1ee)]);return _0x51b7a2[0x0]?_0x51b7a2[0x0][_0x218a84(0x2a6)]():null;}catch(_0x335316){logger[_0x218a84(0x206)]('[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20'+util[_0x218a84(0x370)](_0x335316));}if(_0x220b69[_0x218a84(0x376)])return _0x220b69[_0x218a84(0x376)];return null;}}module[a71_0x15b910(0x1ed)]=JestTestFramework;
1
+ function a71_0x1a20(){const _0x18032e=['removeActiveHook','POST','hook_type','HsEDx',',\x20hookUUID=','../state/testFrameworkState.js','getTrackedInstance','getJestFailureType','RWAaD','705306zidFFd',',\x20hook=','WWhQJ','KEY_EVENT_STARTED_AT','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','KEY_HOOK_LAST_STARTED','sendLogCreatedEvent','aWAhp','../cliUtils.js','CrJFL','none','Uedvf','hookUUID','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20',',\x20result=','replace','yafHk','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','skip',',\x20error:\x20','wHrOj','2939618lIsLff',',\x20hook_run_uuid=','uggAu','KEY_TEST_RETRY_OF','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','kind','eventJson','trackJestInstance','./constants/testFrameworkConstants.js','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','KEY_TEST_TAGS','getProcessId',',\x20totalBatches:\x20','BYRmH','started_at','\x20screenshot\x20logs\x20for\x20testId:\x20','GxeBX','PRE',',\x20messageLength=','UskmJ','KEY_TEST_UUID','Stored\x20pending\x20hook\x20for\x20testId:\x20','file','processPendingHooks','getAllData','../state/hookState.js','hookState','UnhandledError','workerInfo','../../../helpers/helper.js','oYbzo','\x20(testIdentifier),\x20hookType=','getTestFrameworks','endedAt','failure_reason',',\x20attachmentLogs:\x20','toISOString','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','Rcfxj','trackHookEvent','KEY_TEST_ATTACHMENTS','QvIvb','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=',',\x20exception=','getJestTestName','reverse','createContext','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','\x20-\x20test_identifier=','getJestTestFilePath','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','getAllPendingHookTestIds','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','VrILx','Unknown\x20error',',\x20state:\x20','getJestTestScopes','testFrameworkState','../../../helpers/test-observability/utils','getFileName','dgQFD','AzFbf','scopes','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','KEY_HOOK_FAILURE_TYPE','yYkMk','KEY_HOOKS_STARTED','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','\x20files','Assert','KncOK','sFFwo','duration','\x20(testIdentifier),\x20result=','buildHookMapFromTest',',\x20scopes=','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','setActiveHook','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','hookMetadata','KEY_EVENT_ENDED_AT','KEY_TEST_NAME','location','getActiveHook','testData','../TestInfo.js','util','errorsDetailed','KEY_TEST_FAILURE_REASON','KEY_TEST_FRAMEWORK_VERSION','isArray','3192tgYSPX','KEY_AUTOMATE_SESSION_NAME','beforeAll','vlukR','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','WZUvn','trackJestInstance:\x20created\x20instance\x20for\x20target=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','removePendingHooks','hookData',',\x20platformIndex:\x20','getRef','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','hookType','pop','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','ceil','KEY_CUSTOM_TAGS','GuuhQ','testUUID','ytJON','apply','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','yobLm','tOPQO','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','trackEvent','asyncError','IMVox','KEY_TEST_DURATION','RcOii','activeHooks','DEFAULT_HOOK_RESULT','vLiWy','format','setTrackedInstance','\x20-\x20testId:\x20',',\x20duration=','map','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','grMlc','KEY_HOOK_FAILURE_REASON','uRyac','23954yLqvup','substr','hcgTo','filePath','KEY_TEST_ID','test',',\x20scope:\x20','Arkhe','KEY_TEST_FRAMEWORK_NAME','RLBEW','trackJestInstance:\x20instance\x20already\x20exists','KEY_TEST_CODE','splice','includes','roATH','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','name','toString','296060ObMdVq','BaIOK','PLuqz','getJestFailureReason','TEST','getTestFrameworksVersions',',\x20hookId=','unknown','pJpOJ','../grpcClient','push','WqOTV','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','KEY_TEST_FILE_PATH','KEY_TEST_SCOPES',',\x20failureType=','exports','hQLMM','parent','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','stringify','KEY_TEST_RERUN_NAME','getCurrentTestState','ALL','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','retryOf',',\x20version=','KEY_HOOK_ID','getJestTestTags','mapTestHooks','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','file_name','slice',',\x20argsKeys=','keys','uuid','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','getJestFailureData','inspect','_ALL','storePendingHook','hook_id','afterAll',',\x20screenshotLogs:\x20',',\x20payload:\x20',',\x20hookState:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','pZzNB','KEY_TEST_FAILURE_TYPE','jqVIm','forEach','test_run_uuid','85611GNvtTJ','startsWith','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20',',\x20totalLogs:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','LOG_REPORT',',\x20test_run_uuid=','PFrZe','getContext','originalTest','MUoQk','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','substring','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','__workerDetails','28WoHzwp','IWURu',',\x20storing\x20as\x20pending\x20hook','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','OUqEY','AssertionError','jAbUX','12879iJxgiE','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','EorGn','hasPendingHooks','matchHookRegex','\x20attachments','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','aauOX','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','error','NONE','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','KEY_TEST_RESULT',',\x20logsInBatch:\x20','match','569550tnQJWD','ezKPH','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','parseJestTest','maxArrayLength',',\x20testId=','pid','gyMLS','getRootParentFile','length','hook_result','isJestInternalHook','rjWXE','test_run_id','depth','KEY_TEST_LOCATION','Dlaqv','title','KEY_HOOKS_FINISHED','VDZSK','hooks','createTestFrameworkEventPayload','Error\x20in\x20createTestFrameworkEventPayload:\x20','MmNmN','hookAnalyticsId','iAtVd','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','OFSHA','parse','MgNXQ','BEFORE_ALL','sKPbF','delete','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','czEbs','tzFaE','type','../instances/trackedInstance.js','parseJestTestResult','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','set','parallelIndex','scope','kMfGH','tags','passed','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','KEY_HOOK_NAME','logCreatedEvent','getCurrentInstanceName',',\x20filePath=','OsUDH','nKXVs','rtjLF','ZJVbr','hjTtb','DEFAULT_TEST_RESULT','from','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','\x22\x20hook','UVRuM','platformIndex','result','wmiuS','warn','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','RuUZh','KEY_TEST_META','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=',',\x20hookType=','status','stack-trace',',\x20testData=','YegRV','\x20&\x20hookState=','Vdbrn',',\x20failureReason=','debug','findIndex','10WLoekP',',\x20filePath:\x20','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','base64','hook_run_uuid','\x20(testIdentifier),\x20tags=','test_identifier','KEY_HOOK_LAST_FINISHED','ROOT_DESCRIBE_BLOCK',',\x20consoleLogs:\x20','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','JestTestFramework','missing','34LEXwuv','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=',',\x20hookState=','testFrameworkVersion','KEY_TEST_ENDED_AT','testId','zbffi','getId','filter','KEY_LOGS','KNcJJ','VURMV','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','\x20(testIdentifier)','getPendingHooks',',\x20state=','get','LSIEw','ySTqD','resolveInstance','KEY_HOOK_RESULT','lxRCA','failed','runHooks','startedAt','../instances/testFrameworkInstance.js','getThreadId','rhpFk','KEY_HOOK_LOGS','has','args','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20',',\x20response=','\x20hook','getHooksForTest','instance','getJestTestIdentifier','split','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=',',\x20currentTestId:\x20','addMultipleEntries','event_ended_at',',\x20hookData=','message','addPendingHook'];a71_0x1a20=function(){return _0x18032e;};return a71_0x1a20();}function a71_0x2cb0(_0x22b85f,_0x534c89){const _0x1a209f=a71_0x1a20();return a71_0x2cb0=function(_0x2cb0be,_0x533342){_0x2cb0be=_0x2cb0be-0x17b;let _0x54da16=_0x1a209f[_0x2cb0be];return _0x54da16;},a71_0x2cb0(_0x22b85f,_0x534c89);}const a71_0x35fb0a=a71_0x2cb0;(function(_0xd7b06a,_0x209b0a){const _0x2e7521=a71_0x2cb0,_0x4b5409=_0xd7b06a();while(!![]){try{const _0x223390=parseInt(_0x2e7521(0x1f1))/0x1*(parseInt(_0x2e7521(0x2c4))/0x2)+parseInt(_0x2e7521(0x30a))/0x3+-parseInt(_0x2e7521(0x17b))/0x4*(parseInt(_0x2e7521(0x2d6))/0x5)+parseInt(_0x2e7521(0x192))/0x6+-parseInt(_0x2e7521(0x227))/0x7+-parseInt(_0x2e7521(0x298))/0x8*(-parseInt(_0x2e7521(0x182))/0x9)+parseInt(_0x2e7521(0x1e4))/0xa*(-parseInt(_0x2e7521(0x23c))/0xb);if(_0x223390===_0x209b0a)break;else _0x4b5409['push'](_0x4b5409['shift']());}catch(_0x4a9a7e){_0x4b5409['push'](_0x4b5409['shift']());}}}(a71_0x1a20,0x4dec1));const TestFramework=require('./testFramework'),TestFrameworkState=require(a71_0x35fb0a(0x223)),HookState=require(a71_0x35fb0a(0x255)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a71_0x35fb0a(0x20a)),CLIUtils=require(a71_0x35fb0a(0x22f)),TrackedInstance=require(a71_0x35fb0a(0x1b8)),TestFrameworkConstants=require(a71_0x35fb0a(0x244)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x35fb0a(0x259)),{isInternalHook}=require('../../../helpers/test-observability/utils'),logger=createClassLogger(a71_0x35fb0a(0x1ef)),{v4:uuidv4}=require(a71_0x35fb0a(0x2f9)),util=require(a71_0x35fb0a(0x293)),TestInfo=require(a71_0x35fb0a(0x292)),GrpcClient=require(a71_0x35fb0a(0x2df)),stackTrace=require(a71_0x35fb0a(0x1dc));class JestTestFramework extends TestFramework{constructor(_0x2a9993,_0x2f6a08,_0x43212e){const _0x49510b=a71_0x35fb0a;super(_0x2a9993,_0x2f6a08,_0x43212e),this[_0x49510b(0x2b8)]=new Map();}[a71_0x35fb0a(0x28a)](_0x1ad11e,_0x1fb7e2,_0x39df39){const _0xf4a4be=a71_0x35fb0a,_0x3d991f={};_0x3d991f['fxRUG']=function(_0x15b405,_0x478f29){return _0x15b405||_0x478f29;};const _0x1c4380=_0x3d991f;if(_0x1c4380['fxRUG'](!_0x1ad11e,!_0x1fb7e2)){logger['warn']('[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x1ad11e+',\x20hookUUID='+_0x1fb7e2);return;}!this[_0xf4a4be(0x2b8)][_0xf4a4be(0x20e)](_0x1ad11e)&&this[_0xf4a4be(0x2b8)][_0xf4a4be(0x1bb)](_0x1ad11e,[]);const _0x167cec={'hookUUID':_0x1fb7e2,'hookType':_0x39df39,'startedAt':new Date()[_0xf4a4be(0x260)]()};this['activeHooks'][_0xf4a4be(0x201)](_0x1ad11e)['push'](_0x167cec),logger['debug'](_0xf4a4be(0x2ee)+_0x1ad11e+_0xf4a4be(0x222)+_0x1fb7e2+_0xf4a4be(0x1da)+_0x39df39+',\x20totalHooks='+this[_0xf4a4be(0x2b8)]['get'](_0x1ad11e)[_0xf4a4be(0x19c)]);}[a71_0x35fb0a(0x21e)](_0x546241,_0x31dbb5){const _0x4262ff=a71_0x35fb0a,_0xcadd0d={};_0xcadd0d[_0x4262ff(0x1b2)]=function(_0x472124,_0x2beec8){return _0x472124||_0x2beec8;},_0xcadd0d['ytJON']=function(_0xa2f8fc,_0x2a1cdf){return _0xa2f8fc!==_0x2a1cdf;},_0xcadd0d['ySTqD']=function(_0x351247,_0x298a6f){return _0x351247===_0x298a6f;};const _0xb11fa7=_0xcadd0d;if(_0xb11fa7[_0x4262ff(0x1b2)](!_0x546241,!_0x31dbb5)){logger[_0x4262ff(0x1d4)](_0x4262ff(0x1d5)+_0x546241+_0x4262ff(0x222)+_0x31dbb5);return;}if(this[_0x4262ff(0x2b8)][_0x4262ff(0x20e)](_0x546241)){const _0x1c56ea=this[_0x4262ff(0x2b8)][_0x4262ff(0x201)](_0x546241),_0x151312=_0x1c56ea[_0x4262ff(0x1e3)](_0x5cee0b=>_0x5cee0b[_0x4262ff(0x233)]===_0x31dbb5);_0xb11fa7[_0x4262ff(0x2ad)](_0x151312,-0x1)?(_0x1c56ea[_0x4262ff(0x2d0)](_0x151312,0x1),logger['debug'](_0x4262ff(0x26f)+_0x546241+_0x4262ff(0x222)+_0x31dbb5+',\x20remainingHooks='+_0x1c56ea[_0x4262ff(0x19c)]),_0xb11fa7[_0x4262ff(0x203)](_0x1c56ea[_0x4262ff(0x19c)],0x0)&&this[_0x4262ff(0x2b8)][_0x4262ff(0x1b3)](_0x546241)):logger[_0x4262ff(0x1e2)](_0x4262ff(0x2a5)+_0x546241+_0x4262ff(0x222)+_0x31dbb5);}}[a71_0x35fb0a(0x290)](_0x1b5b5e){const _0x8a2d08=a71_0x35fb0a,_0x2649c3={};_0x2649c3[_0x8a2d08(0x1b6)]=function(_0x22b670,_0x2795ed){return _0x22b670>_0x2795ed;},_0x2649c3[_0x8a2d08(0x27a)]=function(_0x28b829,_0x5f36ba){return _0x28b829-_0x5f36ba;};const _0x52ae00=_0x2649c3;if(!_0x1b5b5e)return null;if(this[_0x8a2d08(0x2b8)][_0x8a2d08(0x20e)](_0x1b5b5e)){const _0x4875a1=this[_0x8a2d08(0x2b8)][_0x8a2d08(0x201)](_0x1b5b5e);if(_0x52ae00[_0x8a2d08(0x1b6)](_0x4875a1[_0x8a2d08(0x19c)],0x0)){const _0x4b11ce=_0x4875a1[_0x52ae00[_0x8a2d08(0x27a)](_0x4875a1['length'],0x1)];return logger['debug']('[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier='+_0x1b5b5e+_0x8a2d08(0x222)+_0x4b11ce[_0x8a2d08(0x233)]+',\x20hookType='+_0x4b11ce[_0x8a2d08(0x2a6)]),_0x4b11ce;}}return null;}async[a71_0x35fb0a(0x2b3)](_0x2f64bb,_0x58c162,_0x10ba3a={}){const _0x2b867f=a71_0x35fb0a,_0x19ed7b={};_0x19ed7b[_0x2b867f(0x1a3)]=_0x2b867f(0x2f4),_0x19ed7b[_0x2b867f(0x1c8)]=function(_0x502a1d,_0x86c6ac){return _0x502a1d===_0x86c6ac;},_0x19ed7b[_0x2b867f(0x17f)]=function(_0x4f0e0a,_0x13a553){return _0x4f0e0a||_0x13a553;},_0x19ed7b[_0x2b867f(0x184)]=_0x2b867f(0x1ba);const _0x34a7ee=_0x19ed7b;logger[_0x2b867f(0x1e2)](_0x2b867f(0x188)+_0x2f64bb+_0x2b867f(0x1f3)+_0x58c162+_0x2b867f(0x2f7)+Object[_0x2b867f(0x2f8)](_0x10ba3a)['join'](',')),await super[_0x2b867f(0x2b3)](_0x2f64bb,_0x58c162,_0x10ba3a);const _0x2b2871=this[_0x2b867f(0x204)](_0x2f64bb,_0x58c162,_0x10ba3a);if(!_0x2b2871){logger['debug'](_0x34a7ee[_0x2b867f(0x1a3)]);return;}try{let _0x120053,_0x240411,_0x3ad292;switch(_0x2f64bb){case TestFrameworkState[_0x2b867f(0x2da)]:_0x120053=_0x10ba3a['test'];const _0x5d6e13={};_0x5d6e13[_0x2b867f(0x1a1)]=0x2,_0x5d6e13[_0x2b867f(0x197)]=0x3,logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState='+_0x58c162+_0x2b867f(0x1dd)+util[_0x2b867f(0x2fc)](_0x120053,_0x5d6e13)),_0x3ad292=this[_0x2b867f(0x215)](_0x120053),_0x240411=null,logger[_0x2b867f(0x1e2)](_0x2b867f(0x1f2)+_0x3ad292+_0x2b867f(0x1fe));if(_0x34a7ee[_0x2b867f(0x1c8)](_0x58c162,HookState[_0x2b867f(0x24d)])){logger[_0x2b867f(0x1e2)](_0x2b867f(0x238)+_0x3ad292);const _0x17b977={};_0x17b977[_0x2b867f(0x2ac)]=_0x240411,_0x17b977[_0x2b867f(0x291)]=_0x120053,_0x17b977[_0x2b867f(0x1f6)]=_0x3ad292;const _0x1c0577=this[_0x2b867f(0x196)](_0x17b977),_0x28bc59={};_0x28bc59[_0x2b867f(0x1a1)]=0x2,_0x28bc59[_0x2b867f(0x197)]=0x3,logger[_0x2b867f(0x1e2)](_0x2b867f(0x234)+util['inspect'](_0x1c0577,_0x28bc59)),_0x2b2871[_0x2b867f(0x219)](_0x1c0577),logger[_0x2b867f(0x1e2)](_0x2b867f(0x316)+_0x3ad292),await this['processPendingHooks'](_0x2b2871,_0x3ad292);}else{if(_0x34a7ee['nKXVs'](_0x58c162,HookState['POST'])){logger[_0x2b867f(0x1e2)](_0x2b867f(0x1c1)+_0x3ad292);const _0x38af93=_0x2b2871['getAllData']()[_0x2b867f(0x201)](_0x3ad292);logger[_0x2b867f(0x1e2)](_0x2b867f(0x1fd)+util[_0x2b867f(0x2fc)](Object[_0x2b867f(0x2f8)](_0x34a7ee['OUqEY'](_0x38af93,{}))));_0x38af93&&_0x38af93[TestFrameworkConstants[_0x2b867f(0x264)]]?logger[_0x2b867f(0x1e2)](_0x2b867f(0x183)+Object[_0x2b867f(0x2f8)](_0x38af93[TestFrameworkConstants[_0x2b867f(0x264)]])['length']+_0x2b867f(0x281)):logger['debug'](_0x34a7ee[_0x2b867f(0x184)]);const _0x2d72e0=_0x10ba3a[_0x2b867f(0x314)]||null,_0x5561e8={};_0x5561e8['testUUID']=_0x240411,_0x5561e8[_0x2b867f(0x291)]=_0x120053,_0x5561e8[_0x2b867f(0x1f6)]=_0x3ad292,_0x5561e8[_0x2b867f(0x314)]=_0x2d72e0;const _0x4f0c18=this[_0x2b867f(0x1b9)](_0x5561e8),_0x523324={};_0x523324[_0x2b867f(0x1a1)]=0x2,_0x523324['maxArrayLength']=0x3,logger[_0x2b867f(0x1e2)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20'+util['inspect'](_0x4f0c18,_0x523324)),_0x2b2871['addMultipleEntries'](_0x4f0c18),logger[_0x2b867f(0x1e2)](_0x2b867f(0x304)+_0x3ad292),await this['processPendingHooks'](_0x2b2871,_0x3ad292);}}break;case TestFrameworkState[_0x2b867f(0x310)]:if(_0x34a7ee['nKXVs'](_0x58c162,HookState[_0x2b867f(0x21f)])){const _0x52cb8f={};_0x52cb8f[_0x2b867f(0x1a1)]=0x2,logger[_0x2b867f(0x1e2)](_0x2b867f(0x1b4)+util['inspect'](_0x10ba3a,_0x52cb8f)),await this['sendLogCreatedEvent'](_0x2b2871,_0x2f64bb,_0x10ba3a);}break;default:if(CLIUtils[_0x2b867f(0x186)](_0x2f64bb['toString']()[_0x2b867f(0x216)]('.')[0x1])){const _0x113a54={};_0x113a54[_0x2b867f(0x1a1)]=0x2,_0x113a54[_0x2b867f(0x197)]=0x3,logger[_0x2b867f(0x1e2)](_0x2b867f(0x26b)+_0x2f64bb+',\x20hookState='+_0x58c162+_0x2b867f(0x21b)+util[_0x2b867f(0x2fc)](_0x10ba3a[_0x2b867f(0x2a2)],_0x113a54));const _0x4a90e0=await this['trackHookEvent'](_0x2b2871,_0x2f64bb,_0x58c162,_0x10ba3a),_0x14856b={};_0x14856b['depth']=0x2,_0x14856b['maxArrayLength']=0x3,logger['debug'](_0x2b867f(0x210)+util[_0x2b867f(0x2fc)](_0x4a90e0,_0x14856b)),_0x2b2871[_0x2b867f(0x219)](_0x4a90e0);}else logger[_0x2b867f(0x1e2)](_0x2b867f(0x2af)+_0x2f64bb+_0x2b867f(0x1df)+_0x58c162);break;}logger['debug'](_0x2b867f(0x2d3)+_0x2f64bb+',\x20hookState='+_0x58c162);}catch(_0x2f44d7){logger[_0x2b867f(0x18c)](_0x2b867f(0x2a0)+_0x2f64bb+_0x2b867f(0x1f3)+_0x58c162+_0x2b867f(0x267)+util['format'](_0x2f44d7));}_0x10ba3a['instance']=_0x2b2871,await this[_0x2b867f(0x208)](_0x2b2871,_0x2f64bb,_0x58c162,_0x10ba3a);}[a71_0x35fb0a(0x215)](_0x373ba6){const _0x5eed82=a71_0x35fb0a,_0x53b584={};_0x53b584[_0x5eed82(0x22e)]=_0x5eed82(0x318);const _0x201ac3=_0x53b584;if(_0x373ba6&&(_0x373ba6['id']||_0x373ba6['uuid'])){const _0x1f4368=_0x373ba6['id']||_0x373ba6['uuid'];return logger[_0x5eed82(0x1e2)](_0x5eed82(0x2b2)+_0x1f4368+'\x22\x20from\x20testData'),_0x1f4368;}return logger[_0x5eed82(0x1e2)](_0x201ac3['aWAhp']),process[_0x5eed82(0x199)]+':testAnalyticsId';}[a71_0x35fb0a(0x204)](_0x37ddd4,_0x1222b8,_0x4a6be2={}){const _0x31e03e=a71_0x35fb0a;let _0x43e443=null;return _0x43e443=TestFramework[_0x31e03e(0x224)](),!_0x43e443?(logger[_0x31e03e(0x1e2)](_0x31e03e(0x18a)+_0x37ddd4),this[_0x31e03e(0x243)](_0x37ddd4,_0x4a6be2),_0x43e443=TestFramework[_0x31e03e(0x224)](),logger['debug']('[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists='+!!_0x43e443+',\x20contextId='+_0x43e443?.['getContext']()?.['getId']())):logger[_0x31e03e(0x1e2)](_0x31e03e(0x22b)+_0x43e443[_0x31e03e(0x313)]()?.[_0x31e03e(0x1f8)]()),_0x43e443;}[a71_0x35fb0a(0x243)](_0x4ef306,_0x386cbc){const _0x25e344=a71_0x35fb0a,_0x3b7340={};_0x3b7340[_0x25e344(0x230)]=_0x25e344(0x2ce);const _0x2fcf03=_0x3b7340;if(TestFramework[_0x25e344(0x224)]()){logger['debug'](_0x2fcf03[_0x25e344(0x230)]);return;}const _0x3d1e8d=CLIUtils[_0x25e344(0x1c5)](),_0x49644d=TrackedInstance[_0x25e344(0x26a)](_0x3d1e8d);let _0x24c1e6=null;logger[_0x25e344(0x1e2)](_0x25e344(0x29e)+_0x3d1e8d+_0x25e344(0x200)+_0x4ef306),_0x24c1e6=new TestFrameworkInstance(_0x49644d,this[_0x25e344(0x25c)](),this['getTestFrameworksVersions'](),_0x4ef306,HookState[_0x25e344(0x18d)]),TestFramework[_0x25e344(0x2bc)](_0x49644d,_0x24c1e6),logger[_0x25e344(0x1e2)](_0x25e344(0x271)+_0x49644d['getId']()+',\x20target='+_0x3d1e8d+',\x20testFramework='+this[_0x25e344(0x25c)]()[0x0]+_0x25e344(0x2f0)+this[_0x25e344(0x2db)]()[this[_0x25e344(0x25c)]()[0x0]]);}['parseJestTest'](_0x6854eb){const _0xaa491c=a71_0x35fb0a,_0x37d6a4={};_0x37d6a4[_0xaa491c(0x2e1)]=function(_0x4d26f3,_0x45137f){return _0x4d26f3||_0x45137f;},_0x37d6a4[_0xaa491c(0x24f)]=_0xaa491c(0x29c);const _0x3d36a4=_0x37d6a4,{testUUID:_0x5c1b7d,testData:_0x36ad91,testId:_0x1eaaa7}=_0x6854eb;if(_0x3d36a4[_0xaa491c(0x2e1)](!_0x36ad91,!_0x1eaaa7))return logger[_0xaa491c(0x1e2)](_0x3d36a4[_0xaa491c(0x24f)]),{};const _0x3363ab=this[_0xaa491c(0x25c)]()[0x0],_0x152982=this[_0xaa491c(0x2db)](),_0x485e6c={};_0x485e6c[_0xaa491c(0x1a1)]=0x2,_0x485e6c[_0xaa491c(0x197)]=0x3,logger[_0xaa491c(0x1e2)](_0xaa491c(0x17e)+util['inspect'](_0x36ad91,_0x485e6c));const _0x3aa6d3=_0x36ad91?.[_0xaa491c(0x27b)]||[],_0x1b067c=this[_0xaa491c(0x268)](_0x36ad91),_0x4853b8=this[_0xaa491c(0x26d)](_0x36ad91),_0x4206c3=_0x36ad91['fn']?_0x36ad91['fn'][_0xaa491c(0x2d5)]():null,_0x4993ef=this[_0xaa491c(0x2f2)](_0x36ad91),_0x464bb1={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x3363ab,[TestFrameworkConstants[_0xaa491c(0x296)]]:_0x152982[_0x3363ab],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0xaa491c(0x1a5)]]:{},[TestFrameworkConstants[_0xaa491c(0x27f)]]:{},[TestFrameworkConstants[_0xaa491c(0x18f)]]:TestFrameworkConstants[_0xaa491c(0x1cc)],[TestFrameworkConstants[_0xaa491c(0x299)]]:_0x1b067c,[TestFrameworkConstants[_0xaa491c(0x2e3)]]:_0x4853b8,[TestFrameworkConstants[_0xaa491c(0x2c8)]]:_0x1eaaa7,[TestFrameworkConstants[_0xaa491c(0x28e)]]:_0x1b067c,[TestFrameworkConstants[_0xaa491c(0x1a2)]]:_0x4853b8,[TestFrameworkConstants[_0xaa491c(0x2cf)]]:_0x4206c3,[TestFrameworkConstants[_0xaa491c(0x246)]]:_0x4993ef,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x36ad91['started_at']||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x3aa6d3[0x0]||'',[TestFrameworkConstants[_0xaa491c(0x2e4)]]:_0x3aa6d3,[TestFrameworkConstants[_0xaa491c(0x2eb)]]:_0x1b067c,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0xaa491c(0x1d7)]]:{}};_0x36ad91[_0xaa491c(0x2ef)]&&(_0x464bb1[TestFrameworkConstants[_0xaa491c(0x23f)]]=_0x36ad91['retryOf']);logger['debug']('[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName='+_0x1b067c+_0xaa491c(0x198)+_0x1eaaa7+_0xaa491c(0x1e9)+JSON[_0xaa491c(0x2ea)](_0x4993ef)+_0xaa491c(0x288)+util['inspect'](_0x3aa6d3)+_0xaa491c(0x1c6)+_0x4853b8);const _0x59388a={};return _0x59388a[_0x1eaaa7]=_0x464bb1,_0x59388a;}[a71_0x35fb0a(0x1b9)](_0x52d025){const _0x54ec32=a71_0x35fb0a,_0x6abd33={'MUoQk':function(_0x18cab0,_0x22e39e){return _0x18cab0===_0x22e39e;},'MgNXQ':_0x54ec32(0x300),'MmNmN':function(_0x22c72d,_0x562164){return _0x22c72d===_0x562164;},'Rcfxj':_0x54ec32(0x29a),'RuUZh':_0x54ec32(0x2ed),'hQLMM':_0x54ec32(0x2fd),'UbUjQ':function(_0x4667a7,_0x484b0a){return _0x4667a7||_0x484b0a;},'YsUuV':_0x54ec32(0x28b),'OsUDH':function(_0x785040,_0x19eaec){return _0x785040||_0x19eaec;},'tOPQO':_0x54ec32(0x2dd),'zbffi':function(_0xe03ed5,_0x9ac34d){return _0xe03ed5>_0x9ac34d;},'wHrOj':_0x54ec32(0x207),'vLiWy':function(_0x293e14,_0x3ecf06){return _0x293e14===_0x3ecf06;},'jqVIm':_0x54ec32(0x239),'BYRmH':'skipped','rjWXE':_0x54ec32(0x1c0),'aauOX':function(_0x2593ce,_0x23d889){return _0x2593ce!==_0x23d889;},'IWURu':function(_0x3b469e,_0x2337ad,_0x8b17e1,_0x817dd3){return _0x3b469e(_0x2337ad,_0x8b17e1,_0x817dd3);},'yafHk':function(_0x3e8015,_0x16e30c){return _0x3e8015>_0x16e30c;},'BoIEd':'[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','rtjLF':function(_0x15377d,_0x335987){return _0x15377d===_0x335987;}},{testUUID:_0x20370a,testData:_0x149f42,testId:_0x4f5c45}=_0x52d025;if(_0x6abd33['UbUjQ'](!_0x149f42,!_0x4f5c45))return logger[_0x54ec32(0x1e2)](_0x6abd33['YsUuV']),{};const _0x4882cb=this[_0x54ec32(0x204)](TestFrameworkState[_0x54ec32(0x2da)],HookState[_0x54ec32(0x21f)]),_0x9ef85f=_0x4882cb[_0x54ec32(0x254)]()[_0x54ec32(0x201)](_0x4f5c45),_0x311b95=_0x6abd33[_0x54ec32(0x1c7)](_0x9ef85f,{}),_0x56d9ee=_0x311b95?_0x311b95[TestFrameworkConstants[_0x54ec32(0x2aa)]]||{}:{},_0x518804=_0x311b95[TestFrameworkConstants[_0x54ec32(0x264)]];logger[_0x54ec32(0x1e2)]('[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20'+(_0x518804?Object[_0x54ec32(0x2f8)](_0x518804)[_0x54ec32(0x19c)]:0x0)+_0x54ec32(0x187));let _0x4927d1=_0x6abd33[_0x54ec32(0x2b1)];if(_0x149f42[_0x54ec32(0x1d2)])_0x4927d1=_0x149f42[_0x54ec32(0x1d2)];else{if(_0x149f42[_0x54ec32(0x294)]&&_0x6abd33[_0x54ec32(0x1f7)](_0x149f42[_0x54ec32(0x294)]['length'],0x0))_0x4927d1=_0x6abd33[_0x54ec32(0x23b)];else _0x6abd33[_0x54ec32(0x2ba)](_0x149f42[_0x54ec32(0x1db)],_0x6abd33[_0x54ec32(0x307)])||_0x6abd33[_0x54ec32(0x2ba)](_0x149f42[_0x54ec32(0x1db)],_0x6abd33[_0x54ec32(0x249)])?_0x4927d1=_0x6abd33[_0x54ec32(0x249)]:_0x4927d1=_0x6abd33[_0x54ec32(0x19f)];}const _0x1779c9={..._0x311b95,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x4927d1,[TestFrameworkConstants[_0x54ec32(0x1f5)]]:_0x149f42['finished_at']||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x56d9ee,[TestFrameworkConstants[_0x54ec32(0x1fa)]]:[],[TestFrameworkConstants[_0x54ec32(0x1d7)]]:{}};if(_0x6abd33[_0x54ec32(0x1aa)](_0x4927d1,_0x6abd33['wHrOj'])&&_0x149f42[_0x54ec32(0x294)]){const _0x185c1d=this[_0x54ec32(0x2d9)](_0x149f42),_0x129eeb=this[_0x54ec32(0x225)](_0x149f42),_0x58aaab=this[_0x54ec32(0x2fb)](_0x149f42);_0x1779c9[TestFrameworkConstants[_0x54ec32(0x306)]]=_0x129eeb,_0x1779c9[TestFrameworkConstants[_0x54ec32(0x295)]]=_0x185c1d,_0x1779c9[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x58aaab;}_0x6abd33[_0x54ec32(0x189)](_0x149f42[_0x54ec32(0x285)],undefined)&&(_0x1779c9[TestFrameworkConstants[_0x54ec32(0x2b6)]]=_0x149f42['duration']);_0x149f42[_0x54ec32(0x2ef)]&&(_0x1779c9[TestFrameworkConstants[_0x54ec32(0x23f)]]=_0x149f42[_0x54ec32(0x2ef)]);const _0x136e2b=_0x9ef85f?_0x9ef85f[TestFrameworkConstants[_0x54ec32(0x264)]]||{}:{},_0x55cb48=_0x9ef85f?_0x9ef85f[TestFrameworkConstants[_0x54ec32(0x250)]]:_0x20370a,_0x3c54c3=_0x6abd33[_0x54ec32(0x17c)](getManualUploadLogs,_0x136e2b,_0x55cb48,_0x4f5c45);if(_0x6abd33[_0x54ec32(0x237)](_0x3c54c3[_0x54ec32(0x19c)],0x0)){const _0x25d0aa=_0x1779c9[TestFrameworkConstants[_0x54ec32(0x1fa)]]||[];_0x1779c9[TestFrameworkConstants[_0x54ec32(0x1fa)]]=[..._0x25d0aa,..._0x3c54c3];}const _0x128cb2=_0x311b95[TestFrameworkConstants[_0x54ec32(0x1a5)]]||{},_0x188a86=_0x311b95[TestFrameworkConstants[_0x54ec32(0x27f)]]||{},_0x496eae={..._0x128cb2},_0x5b30b2=_0x496eae;Object[_0x54ec32(0x2f8)](_0x188a86)['forEach'](_0x4729ed=>{const _0x418b0c=_0x54ec32;!_0x5b30b2[_0x4729ed]&&(_0x5b30b2[_0x4729ed]=[]);const _0x2d6544=new Set((_0x5b30b2[_0x4729ed]||[])['map'](_0x1599f0=>_0x1599f0[TestFrameworkConstants[_0x418b0c(0x2f1)]]||_0x1599f0[_0x418b0c(0x2ff)]));(_0x188a86[_0x4729ed]||[])[_0x418b0c(0x308)](_0x3461f1=>{const _0x5d22d8=_0x418b0c,_0x4eb801=_0x3461f1[TestFrameworkConstants[_0x5d22d8(0x2f1)]]||_0x3461f1[_0x5d22d8(0x2ff)];if(!_0x2d6544[_0x5d22d8(0x20e)](_0x4eb801)){const _0xf0e635={..._0x3461f1},_0x157e1c=_0xf0e635;!_0x157e1c[TestFrameworkConstants[_0x5d22d8(0x28d)]]&&!_0x157e1c[_0x5d22d8(0x21a)]&&(_0x157e1c[TestFrameworkConstants[_0x5d22d8(0x28d)]]=new Date()[_0x5d22d8(0x260)]()),!_0x157e1c[TestFrameworkConstants[_0x5d22d8(0x205)]]&&!_0x157e1c[_0x5d22d8(0x19d)]&&(_0x157e1c[TestFrameworkConstants[_0x5d22d8(0x205)]]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x5b30b2[_0x4729ed]['push'](_0x157e1c);}});});if(_0x52d025[_0x54ec32(0x314)]){this[_0x54ec32(0x2f3)](_0x52d025['originalTest']);const _0x58b9d4=this[_0x54ec32(0x287)](_0x52d025['originalTest']),_0x2205f0=this[_0x54ec32(0x213)](_0x52d025[_0x54ec32(0x314)]);_0x2205f0['forEach'](_0x454bfe=>{const _0x2633ce=_0x54ec32,_0x7abcbb=_0x58b9d4[_0x2633ce(0x201)](_0x454bfe);if(_0x7abcbb&&(_0x6abd33[_0x2633ce(0x315)](_0x7abcbb[_0x2633ce(0x1b7)],_0x6abd33[_0x2633ce(0x1b0)])||_0x6abd33['MmNmN'](_0x7abcbb[_0x2633ce(0x1b7)],_0x6abd33[_0x2633ce(0x262)]))){const _0x79ddaa=_0x7abcbb['type']['toUpperCase']()[_0x2633ce(0x236)](_0x6abd33[_0x2633ce(0x1d6)],_0x6abd33[_0x2633ce(0x2e7)]),_0x40f143=_0x79ddaa;!_0x5b30b2[_0x40f143]&&(_0x5b30b2[_0x40f143]=[]);const _0x4877e6=_0x5b30b2[_0x40f143]['find'](_0x49226b=>(_0x49226b[TestFrameworkConstants['KEY_HOOK_ID']]||_0x49226b[_0x2633ce(0x2ff)])===_0x454bfe);!_0x4877e6&&_0x5b30b2[_0x40f143][_0x2633ce(0x2e0)]({'key':_0x40f143,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x454bfe,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x2633ce(0x2b9)],[TestFrameworkConstants[_0x2633ce(0x22a)]]:new Date()[_0x2633ce(0x260)](),[TestFrameworkConstants[_0x2633ce(0x28d)]]:new Date()[_0x2633ce(0x260)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x2633ce(0x1c3)]]:_0x7abcbb['name']||_0x7abcbb[_0x2633ce(0x1b7)]+_0x2633ce(0x212),[TestFrameworkConstants[_0x2633ce(0x2aa)]]:_0x56d9ee});}});}if(_0x149f42[_0x54ec32(0x1a7)]&&_0x6abd33['zbffi'](_0x149f42[_0x54ec32(0x1a7)][_0x54ec32(0x19c)],0x0))_0x1779c9[TestFrameworkConstants[_0x54ec32(0x1a5)]]=_0x149f42['hooks'],logger[_0x54ec32(0x1e2)](_0x6abd33['BoIEd']);else _0x6abd33[_0x54ec32(0x1f7)](Object[_0x54ec32(0x2f8)](_0x5b30b2)['length'],0x0)&&(_0x1779c9[TestFrameworkConstants[_0x54ec32(0x1a5)]]=_0x5b30b2,logger[_0x54ec32(0x1e2)]('[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes='+Object[_0x54ec32(0x2f8)](_0x5b30b2)['join'](',')));const _0x3e1060=this[_0x54ec32(0x268)](_0x149f42);logger[_0x54ec32(0x1e2)](_0x54ec32(0x195)+_0x3e1060+_0x54ec32(0x198)+_0x4f5c45+_0x54ec32(0x286)+_0x4927d1+_0x54ec32(0x2be)+_0x149f42[_0x54ec32(0x285)]);_0x6abd33[_0x54ec32(0x1c9)](_0x4927d1,_0x6abd33[_0x54ec32(0x23b)])&&logger[_0x54ec32(0x1e2)](_0x54ec32(0x266)+_0x4f5c45+_0x54ec32(0x2e5)+_0x1779c9[TestFrameworkConstants[_0x54ec32(0x306)]]+',\x20failureReason='+_0x1779c9[TestFrameworkConstants[_0x54ec32(0x295)]]?.['substring'](0x0,0xc8));const _0x3591e7={};return _0x3591e7[_0x4f5c45]=_0x1779c9,_0x3591e7;}[a71_0x35fb0a(0x275)](_0x4e3863){const _0x299bc7=a71_0x35fb0a,_0x2ecc51={};_0x2ecc51['gyMLS']=function(_0x1edc7a,_0x2c3ea0){return _0x1edc7a!==_0x2c3ea0;},_0x2ecc51[_0x299bc7(0x2ab)]=function(_0x26c063,_0x3b3c03){return _0x26c063!==_0x3b3c03;},_0x2ecc51[_0x299bc7(0x2b0)]=_0x299bc7(0x1ec);const _0x39e357=_0x2ecc51,_0x34f706={};_0x34f706[_0x299bc7(0x1a1)]=0x2,_0x34f706[_0x299bc7(0x197)]=0x3,logger[_0x299bc7(0x1e2)](_0x299bc7(0x2e9)+util['inspect'](_0x4e3863,_0x34f706));const _0x4c9870=[];if(_0x4e3863&&_0x4e3863[_0x299bc7(0x2e8)]){let _0x3854b7=_0x4e3863[_0x299bc7(0x2e8)];while(_0x3854b7&&_0x3854b7['name']&&_0x39e357[_0x299bc7(0x19a)](_0x3854b7[_0x299bc7(0x2d4)],'')&&_0x39e357[_0x299bc7(0x2ab)](_0x3854b7[_0x299bc7(0x2d4)],_0x39e357['yobLm'])){_0x4c9870[_0x299bc7(0x2e0)](_0x3854b7[_0x299bc7(0x2d4)]),_0x3854b7=_0x3854b7[_0x299bc7(0x2e8)];}}return _0x4c9870[_0x299bc7(0x269)]();}[a71_0x35fb0a(0x268)](_0x57da3b){const _0x11ffff=a71_0x35fb0a,_0x4faee6={};_0x4faee6['YegRV']='Unknown\x20Test';const _0x425ec9=_0x4faee6;if(_0x57da3b[_0x11ffff(0x2d4)])return _0x57da3b[_0x11ffff(0x2d4)];if(_0x57da3b[_0x11ffff(0x1a4)])return _0x57da3b[_0x11ffff(0x1a4)];return _0x425ec9[_0x11ffff(0x1de)];}[a71_0x35fb0a(0x2f2)](_0x5c2fd4){const _0x28f3f8=a71_0x35fb0a,_0x1dd43d=[];if(_0x5c2fd4[_0x28f3f8(0x1bf)]&&Array['isArray'](_0x5c2fd4[_0x28f3f8(0x1bf)]))return _0x5c2fd4[_0x28f3f8(0x1bf)][_0x28f3f8(0x2bf)](_0x330c82=>_0x330c82[_0x28f3f8(0x30b)]('@')?_0x330c82[_0x28f3f8(0x2c5)](0x1):_0x330c82);const _0x53be5d=this[_0x28f3f8(0x268)](_0x5c2fd4),_0x417f17=_0x53be5d[_0x28f3f8(0x191)](/@(\w+)/g);if(_0x417f17)return _0x417f17[_0x28f3f8(0x2bf)](_0x3b5ed1=>_0x3b5ed1[_0x28f3f8(0x2f6)](0x1));return _0x5c2fd4['scopes']&&Array[_0x28f3f8(0x297)](_0x5c2fd4['scopes'])&&_0x5c2fd4[_0x28f3f8(0x27b)]['forEach'](_0xa37abd=>{const _0x1f51be=_0x28f3f8,_0x48854e=_0xa37abd['match'](/@(\w+)/g);_0x48854e&&_0x48854e[_0x1f51be(0x308)](_0x30ac17=>{const _0x1a5de0=_0x1f51be,_0x57d91e=_0x30ac17[_0x1a5de0(0x2f6)](0x1);!_0x1dd43d[_0x1a5de0(0x2d1)](_0x57d91e)&&_0x1dd43d[_0x1a5de0(0x2e0)](_0x57d91e);});}),_0x1dd43d;}[a71_0x35fb0a(0x26d)](_0x3b1927){const _0x42c355=a71_0x35fb0a,_0x3fe898={'czEbs':function(_0x5c2ff9,_0x35c7b0){return _0x5c2ff9(_0x35c7b0);},'hjTtb':_0x42c355(0x1dc)};if(_0x3b1927[_0x42c355(0x2f5)])return _0x3b1927[_0x42c355(0x2f5)];if(_0x3b1927['asyncError']){const _0x30351c=_0x3fe898[_0x42c355(0x1b5)](require,_0x3fe898[_0x42c355(0x1cb)]);try{const _0x3e213e=_0x30351c[_0x42c355(0x1af)](_0x3b1927['asyncError']);if(_0x3e213e[0x0]&&_0x3e213e[0x0]['getFileName'])return _0x3e213e[0x0][_0x42c355(0x278)]();}catch(_0x25ebb4){logger[_0x42c355(0x1e2)]('Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20'+util[_0x42c355(0x2bb)](_0x25ebb4));}}return null;}[a71_0x35fb0a(0x2d9)](_0x1151cb){const _0x24f9e6=a71_0x35fb0a,_0x3293c1={};_0x3293c1[_0x24f9e6(0x29d)]=function(_0x6d3879,_0x2e888c){return _0x6d3879>_0x2e888c;},_0x3293c1[_0x24f9e6(0x265)]=_0x24f9e6(0x273);const _0x38b80b=_0x3293c1;if(_0x1151cb['errorsDetailed']&&_0x38b80b['WZUvn'](_0x1151cb[_0x24f9e6(0x294)][_0x24f9e6(0x19c)],0x0))return util['inspect'](_0x1151cb[_0x24f9e6(0x294)][0x0]);if(_0x1151cb[_0x24f9e6(0x25e)])return _0x1151cb[_0x24f9e6(0x25e)];return _0x38b80b['QvIvb'];}[a71_0x35fb0a(0x225)](_0x17c3b9){const _0x1d4a02=a71_0x35fb0a,_0x2d8398={};_0x2d8398[_0x1d4a02(0x1d3)]=_0x1d4a02(0x282),_0x2d8398[_0x1d4a02(0x279)]=_0x1d4a02(0x180),_0x2d8398[_0x1d4a02(0x24c)]=_0x1d4a02(0x257);const _0x539939=_0x2d8398,_0x345b75=this['getJestFailureReason'](_0x17c3b9);if(_0x345b75&&_0x345b75['includes'](_0x539939[_0x1d4a02(0x1d3)]))return _0x539939[_0x1d4a02(0x279)];return _0x539939[_0x1d4a02(0x24c)];}[a71_0x35fb0a(0x2fb)](_0x271eaa){const _0x536f66=a71_0x35fb0a,_0x5bb3cc={'oYbzo':function(_0x2c5235,_0x4497fe){return _0x2c5235(_0x4497fe);},'pJpOJ':_0x536f66(0x277),'mwaaX':function(_0x404b40,_0x12d886){return _0x404b40!==_0x12d886;},'hcgTo':_0x536f66(0x2c9)},{failureData:_0x866a2e}=_0x5bb3cc[_0x536f66(0x25a)](require,_0x5bb3cc[_0x536f66(0x2de)]),_0x43d7be=[];return _0x5bb3cc['mwaaX'](_0x271eaa[_0x536f66(0x294)],undefined)&&_0x43d7be[_0x536f66(0x2e0)](_0x271eaa[_0x536f66(0x294)],_0x5bb3cc[_0x536f66(0x2c6)]),_0x866a2e[_0x536f66(0x2ae)](null,_0x43d7be);}async[a71_0x35fb0a(0x263)](_0xae2aa5,_0x52b232,_0x37fee8,_0x143c4d){const _0x33eb2e=a71_0x35fb0a,_0x3bf248={'IMVox':_0x33eb2e(0x289),'VURMV':function(_0xdc0640){return _0xdc0640();},'OFSHA':function(_0x387b7a,_0x5b03f8){return _0x387b7a in _0x5b03f8;},'hANTY':function(_0x1401d6,_0x348a2e){return _0x1401d6 in _0x348a2e;},'WWhQJ':function(_0x4af02a,_0x2f0a4e){return _0x4af02a===_0x2f0a4e;},'Arkhe':function(_0x42ae4f,_0x148236){return _0x42ae4f>_0x148236;},'VDZSK':'failed','PFrZe':_0x33eb2e(0x1c0),'HxMTd':function(_0x34df85,_0x3bfb96){return _0x34df85>_0x3bfb96;},'LYsoU':function(_0x2d4675,_0xb4977f){return _0x2d4675===_0xb4977f;},'iAtVd':function(_0x421af5,_0x2ddf78){return _0x421af5!==_0x2ddf78;}},{hookData:_0x3a2eaa}=_0x143c4d,_0x522900=_0x37fee8[_0x33eb2e(0x2d5)](),_0x2fe9bf=_0x52b232[_0x33eb2e(0x2d5)](),_0x4fec4c={};_0x4fec4c[_0x33eb2e(0x1a1)]=0x2,_0x4fec4c[_0x33eb2e(0x197)]=0x3,logger[_0x33eb2e(0x1e2)]('[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState='+_0x2fe9bf+_0x33eb2e(0x1f3)+_0x522900+_0x33eb2e(0x21b)+util[_0x33eb2e(0x2fc)](_0x3a2eaa,_0x4fec4c));if(!_0x3a2eaa)return logger[_0x33eb2e(0x1e2)](_0x3bf248[_0x33eb2e(0x2b5)]),{};const _0xe9c227=_0x3a2eaa[_0x33eb2e(0x2f9)]||_0x3a2eaa[_0x33eb2e(0x1ab)]||_0x3bf248[_0x33eb2e(0x1fc)](uuidv4),_0x26ad25=_0x3a2eaa[_0x33eb2e(0x1a0)]||this['getJestTestIdentifier'](_0x3a2eaa),_0x164254=_0x52b232['toString']()[_0x33eb2e(0x216)]('.')[0x1],_0x122078=_0xae2aa5[_0x33eb2e(0x254)]()[_0x33eb2e(0x201)](_0x26ad25),_0x28bd4e=_0x122078?_0x122078[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{};logger[_0x33eb2e(0x1e2)](_0x33eb2e(0x217)+_0xe9c227+_0x33eb2e(0x198)+_0x26ad25+_0x33eb2e(0x25b)+_0x164254+_0x33eb2e(0x1f3)+_0x522900);if(!_0x122078)return logger[_0x33eb2e(0x1e2)](_0x33eb2e(0x280)+_0x26ad25+_0x33eb2e(0x17d)),this[_0x33eb2e(0x2fe)](_0xae2aa5,_0x26ad25,_0x52b232,_0x37fee8,_0x143c4d),{};let _0xd1e865=_0x122078[TestFrameworkConstants[_0x33eb2e(0x27f)]];!_0xd1e865&&(_0xd1e865={});!_0x3bf248[_0x33eb2e(0x1ae)](_0x164254,_0xd1e865)&&(_0xd1e865[_0x164254]=[]);let _0x2e08df=_0x122078[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x2e08df&&(_0x2e08df={});!_0x3bf248['hANTY'](_0x164254,_0x2e08df)&&(_0x2e08df[_0x164254]=[]);const _0x404d75={[TestFrameworkConstants[_0x33eb2e(0x27f)]]:_0xd1e865,[TestFrameworkConstants[_0x33eb2e(0x1a5)]]:_0x2e08df},_0x40efef={};_0x40efef[_0x26ad25]=_0x404d75;const _0x4afc18=_0x40efef;if(_0x3bf248[_0x33eb2e(0x229)](_0x37fee8,HookState[_0x33eb2e(0x24d)])){const _0x5c19d6={'key':_0x164254,[TestFrameworkConstants[_0x33eb2e(0x2f1)]]:_0xe9c227,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x33eb2e(0x2b9)],[TestFrameworkConstants[_0x33eb2e(0x22a)]]:_0x3a2eaa[_0x33eb2e(0x24a)]||new Date()['toISOString'](),[TestFrameworkConstants[_0x33eb2e(0x20d)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x3a2eaa['name']||_0x3a2eaa[_0x33eb2e(0x220)]||_0x164254,[TestFrameworkConstants[_0x33eb2e(0x2aa)]]:_0x28bd4e};_0xd1e865[_0x164254][_0x33eb2e(0x2e0)](_0x5c19d6),_0x4afc18[_0x26ad25][TestFrameworkConstants[_0x33eb2e(0x22c)]]=_0x164254;const _0x212a1e={};_0x212a1e[_0x33eb2e(0x1a1)]=0x2,logger['debug'](_0x33eb2e(0x194)+_0x164254+_0x33eb2e(0x2dc)+_0xe9c227+_0x33eb2e(0x198)+_0x26ad25+_0x33eb2e(0x228)+util[_0x33eb2e(0x2fc)](_0x5c19d6,_0x212a1e));}else{if(_0x3bf248['WWhQJ'](_0x37fee8,HookState['POST'])){const _0x28f6f6=_0x3a2eaa[_0x33eb2e(0x1d2)]||(_0x3a2eaa[_0x33eb2e(0x294)]&&_0x3bf248[_0x33eb2e(0x2cb)](_0x3a2eaa[_0x33eb2e(0x294)]['length'],0x0)?_0x3bf248[_0x33eb2e(0x1a6)]:_0x3bf248[_0x33eb2e(0x312)]),_0x2bb3ad=_0xd1e865[_0x164254]||[];logger[_0x33eb2e(0x1e2)](_0x33eb2e(0x18e)+_0x164254+_0x33eb2e(0x198)+_0x26ad25+_0x33eb2e(0x235)+_0x28f6f6+',\x20hooksListLength='+_0x2bb3ad['length']);if(_0x3bf248['HxMTd'](_0x2bb3ad[_0x33eb2e(0x19c)],0x0)){const _0x18782f=_0x2bb3ad[_0x33eb2e(0x2a7)]();_0x3bf248['LYsoU'](_0x28f6f6,_0x3bf248[_0x33eb2e(0x1a6)])&&_0x3a2eaa[_0x33eb2e(0x294)]?(_0x18782f[TestFrameworkConstants[_0x33eb2e(0x27d)]]=this[_0x33eb2e(0x225)](_0x3a2eaa),_0x18782f[TestFrameworkConstants[_0x33eb2e(0x2c2)]]=this[_0x33eb2e(0x2d9)](_0x3a2eaa),_0x18782f[TestFrameworkConstants['KEY_HOOK_FAILURE']]=this[_0x33eb2e(0x2fb)](_0x3a2eaa),logger[_0x33eb2e(0x1e2)](_0x33eb2e(0x1e6)+_0x164254+',\x20failureType='+_0x18782f[TestFrameworkConstants[_0x33eb2e(0x27d)]]+_0x33eb2e(0x1e1)+_0x18782f[TestFrameworkConstants[_0x33eb2e(0x2c2)]]?.[_0x33eb2e(0x317)](0x0,0xc8))):_0x18782f[TestFrameworkConstants[_0x33eb2e(0x205)]]=_0x3bf248[_0x33eb2e(0x312)];_0x3bf248[_0x33eb2e(0x1ac)](_0x28f6f6,TestFrameworkConstants[_0x33eb2e(0x2b9)])&&(_0x18782f[TestFrameworkConstants[_0x33eb2e(0x205)]]=_0x28f6f6);_0x18782f[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x3a2eaa['finished_at']||new Date()[_0x33eb2e(0x260)](),_0x18782f[TestFrameworkConstants[_0x33eb2e(0x2aa)]]=_0x28bd4e;const _0x433696=_0x18782f[TestFrameworkConstants[_0x33eb2e(0x2f1)]];!_0x2e08df[_0x164254]&&(_0x2e08df[_0x164254]=[]);_0x2e08df[_0x164254][_0x33eb2e(0x2e0)](_0x18782f),_0x4afc18[_0x26ad25][TestFrameworkConstants[_0x33eb2e(0x1eb)]]=_0x164254;const _0x4b8cf8={};_0x4b8cf8[_0x33eb2e(0x1a1)]=0x2,logger[_0x33eb2e(0x1e2)](_0x33eb2e(0x1d8)+_0x164254+_0x33eb2e(0x2dc)+_0x433696+_0x33eb2e(0x235)+_0x28f6f6+_0x33eb2e(0x228)+util[_0x33eb2e(0x2fc)](_0x18782f,_0x4b8cf8));}}}const _0x12f485={};return _0x12f485['depth']=0x2,_0x12f485[_0x33eb2e(0x197)]=0x3,logger[_0x33eb2e(0x1e2)](_0x33eb2e(0x1d9)+(_0x3a2eaa['hook_type']||_0x164254)+_0x33eb2e(0x2dc)+_0xe9c227+_0x33eb2e(0x198)+_0x26ad25+',\x20updates='+util[_0x33eb2e(0x2fc)](_0x4afc18,_0x12f485)),_0x4afc18;}[a71_0x35fb0a(0x1a8)](_0x1c3fb9){const _0x4cd03f=a71_0x35fb0a,_0x3b3b2f={};_0x3b3b2f[_0x4cd03f(0x181)]=_0x4cd03f(0x1e7);const _0x366cd8=_0x3b3b2f;try{const _0x30f78e=_0x1c3fb9[_0x4cd03f(0x2c9)]?this[_0x4cd03f(0x215)](_0x1c3fb9['test']):_0x1c3fb9['hookData'][_0x4cd03f(0x1a0)],_0x377117=_0x1c3fb9[_0x4cd03f(0x214)],_0x31d45a=_0x377117['getContext'](),_0x11cea6=_0x377117[_0x4cd03f(0x254)]()[_0x4cd03f(0x201)](_0x30f78e);if(!_0x11cea6)return logger[_0x4cd03f(0x1e2)](_0x4cd03f(0x2fa)+_0x30f78e),{};const {[TestFrameworkConstants[_0x4cd03f(0x2cc)]]:_0x30dcfe='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x5f2620='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x44e5c4='',[TestFrameworkConstants[_0x4cd03f(0x1f5)]]:_0x33417d=''}=_0x11cea6,_0x11d875=_0x377117[_0x4cd03f(0x2ec)]()[_0x4cd03f(0x2d5)]()[_0x4cd03f(0x216)]('.')[0x1],_0x82394b=_0x377117['getCurrentHookState']()[_0x4cd03f(0x2d5)]()[_0x4cd03f(0x216)]('.')[0x1],_0x43f8be=global?.[_0x4cd03f(0x319)]?.[_0x4cd03f(0x258)]?.[_0x4cd03f(0x1bc)],_0x58164a=_0x377117[_0x4cd03f(0x2a4)](),_0x19d46e=Buffer[_0x4cd03f(0x1cd)](JSON[_0x4cd03f(0x2ea)](_0x11cea6))[_0x4cd03f(0x2d5)](_0x366cd8[_0x4cd03f(0x181)]),_0x40f124={'hash':_0x31d45a[_0x4cd03f(0x1f8)](),'threadId':_0x31d45a[_0x4cd03f(0x20b)]()['toString'](),'processId':_0x31d45a[_0x4cd03f(0x247)]()[_0x4cd03f(0x2d5)]()},_0x5b3bd7={};_0x5b3bd7[_0x4cd03f(0x1d1)]=_0x43f8be,_0x5b3bd7['testFrameworkName']=_0x30dcfe,_0x5b3bd7[_0x4cd03f(0x1f4)]=_0x5f2620,_0x5b3bd7[_0x4cd03f(0x276)]=_0x11d875,_0x5b3bd7[_0x4cd03f(0x256)]=_0x82394b,_0x5b3bd7[_0x4cd03f(0x209)]=_0x44e5c4,_0x5b3bd7[_0x4cd03f(0x25d)]=_0x33417d,_0x5b3bd7[_0x4cd03f(0x2f9)]=_0x58164a,_0x5b3bd7[_0x4cd03f(0x242)]=_0x19d46e,_0x5b3bd7['executionContext']=_0x40f124,_0x5b3bd7['test_identifier']=_0x30f78e;const _0x48f8d2=_0x5b3bd7;return _0x48f8d2;}catch(_0x351c07){return logger['error'](_0x4cd03f(0x1a9)+util[_0x4cd03f(0x2bb)](_0x351c07)),{};}}async[a71_0x35fb0a(0x22d)](_0x11abf6,_0x320949,_0x1175bf){const _0x24f64b=a71_0x35fb0a,_0x3ac7a9={'vlukR':function(_0x122c60,_0x4ed834){return _0x122c60+_0x4ed834;},'RWAaD':_0x24f64b(0x1f0),'RLBEW':_0x24f64b(0x231),'HsEDx':function(_0xe57290,_0x304296){return _0xe57290>_0x304296;},'MEFoK':function(_0x212674,_0x8cf722,_0x4ea454,_0x449996){return _0x212674(_0x8cf722,_0x4ea454,_0x449996);},'kMfGH':function(_0x3a1825,_0x39c0a0){return _0x3a1825-_0x39c0a0;},'lxRCA':function(_0x10e3c9,_0x2a3c73){return _0x10e3c9===_0x2a3c73;},'uRyac':function(_0x301a0f,_0x2bc01b){return _0x301a0f/_0x2bc01b;},'EoWYh':function(_0x5aa585,_0x2fb8d2){return _0x5aa585<_0x2fb8d2;},'UVRuM':function(_0x2bbeb1,_0x5159c5){return _0x2bbeb1*_0x5159c5;},'roATH':function(_0x1b423d,_0x237688){return _0x1b423d+_0x237688;}};try{const _0x1159ab=_0x1175bf[_0x24f64b(0x2ac)]||_0x1175bf[_0x24f64b(0x1f6)],_0x15cd30=Array['from'](_0x11abf6[_0x24f64b(0x254)]()['keys']()),_0x17a490=_0x11abf6['getAllData']()[_0x24f64b(0x201)](_0x1159ab);if(!_0x17a490){logger[_0x24f64b(0x1e2)](_0x24f64b(0x240)+_0x1159ab);return;}const {[TestFrameworkConstants[_0x24f64b(0x2cc)]]:_0x32a4cb='',[TestFrameworkConstants[_0x24f64b(0x296)]]:_0x41b166=''}=_0x17a490;let _0x1a6fed=[];if(_0x17a490&&_0x17a490[TestFrameworkConstants['KEY_LOGS']]&&Array[_0x24f64b(0x297)](_0x17a490[TestFrameworkConstants[_0x24f64b(0x1fa)]])){_0x1a6fed=_0x17a490[TestFrameworkConstants[_0x24f64b(0x1fa)]]||[],logger['debug'](_0x24f64b(0x2a8)+_0x1a6fed[_0x24f64b(0x19c)]+'\x20logs\x20for\x20testId:\x20'+_0x1159ab);const _0x89d003={[TestFrameworkConstants[_0x24f64b(0x1fa)]]:[]},_0x2b8305={};_0x2b8305[_0x1159ab]=_0x89d003,_0x11abf6[_0x24f64b(0x219)](_0x2b8305),logger['debug'](_0x24f64b(0x29f)+_0x1159ab);}else logger[_0x24f64b(0x1e2)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x1159ab);logger[_0x24f64b(0x1e2)](_0x24f64b(0x2e2)+_0x1a6fed[_0x24f64b(0x19c)]+'\x20for\x20testId:\x20'+_0x1159ab);const _0x132550=_0x1a6fed['filter'](_0x6e2ffc=>_0x6e2ffc[_0x24f64b(0x241)]==='TEST_SCREENSHOT');_0x3ac7a9[_0x24f64b(0x221)](_0x132550['length'],0x0)&&(logger[_0x24f64b(0x1e2)](_0x24f64b(0x26e)+_0x132550['length']+_0x24f64b(0x24b)+_0x1159ab),_0x132550['forEach']((_0x3c13c8,_0x120c46)=>{const _0x16c5a8=_0x24f64b;logger[_0x16c5a8(0x1e2)](_0x16c5a8(0x1c2)+_0x3ac7a9[_0x16c5a8(0x29b)](_0x120c46,0x1)+'/'+_0x132550[_0x16c5a8(0x19c)]+_0x16c5a8(0x26c)+(_0x3c13c8[_0x16c5a8(0x1ea)]||_0x3ac7a9[_0x16c5a8(0x226)])+_0x16c5a8(0x311)+(_0x3c13c8[_0x16c5a8(0x309)]||_0x3ac7a9['RWAaD'])+_0x16c5a8(0x23d)+(_0x3c13c8[_0x16c5a8(0x1e8)]||_0x3ac7a9[_0x16c5a8(0x2cd)])+_0x16c5a8(0x24e)+(_0x3c13c8[_0x16c5a8(0x21c)]?.[_0x16c5a8(0x19c)]||0x0));}));const _0x26ce99=_0x17a490[TestFrameworkConstants[_0x24f64b(0x264)]]||{},_0x27cb0e=_0x3ac7a9['MEFoK'](getMediaArtifactsLogs,_0x26ce99,null,_0x1159ab),_0x3411e0=(_0x1a6fed||[])['concat'](_0x27cb0e||[]),_0x2081ca=_0x132550?.[_0x24f64b(0x19c)]||0x0,_0x3b4cee=_0x3ac7a9[_0x24f64b(0x1be)](_0x1a6fed?.[_0x24f64b(0x19c)]||0x0,_0x2081ca);logger['debug'](_0x24f64b(0x1ad)+_0x1159ab+_0x24f64b(0x1ed)+_0x3b4cee+_0x24f64b(0x301)+_0x2081ca+_0x24f64b(0x25f)+(_0x27cb0e?.['length']||0x0)+_0x24f64b(0x30e)+_0x3411e0[_0x24f64b(0x19c)]);if(!_0x3411e0||_0x3ac7a9[_0x24f64b(0x206)](_0x3411e0[_0x24f64b(0x19c)],0x0)){logger[_0x24f64b(0x1e2)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20'+_0x1159ab);return;}const _0xd9060e=0x28,_0x3f551b=Math[_0x24f64b(0x2a9)](_0x3ac7a9[_0x24f64b(0x2c3)](_0x3411e0[_0x24f64b(0x19c)],_0xd9060e));for(let _0x574eac=0x0;_0x3ac7a9['EoWYh'](_0x574eac,_0x3f551b);_0x574eac++){const _0xb53114=_0x3ac7a9[_0x24f64b(0x1d0)](_0x574eac,_0xd9060e),_0x69e9c8=_0x3ac7a9[_0x24f64b(0x2d2)](_0xb53114,_0xd9060e),_0x33758c=_0x3411e0[_0x24f64b(0x2f6)](_0xb53114,_0x69e9c8),_0x3c65cd=global?.[_0x24f64b(0x319)]?.[_0x24f64b(0x258)]?.[_0x24f64b(0x1bc)]||0x0,_0xa25ba={'platformIndex':_0x3c65cd,'logs':_0x33758c,'testFrameworkName':_0x32a4cb,'testFrameworkVersion':_0x41b166,'testFrameworkState':_0x320949['toString']()[_0x24f64b(0x216)]('.')[0x1]},_0x32d387={};_0x32d387['depth']=0x3,_0x32d387[_0x24f64b(0x197)]=0x5,logger[_0x24f64b(0x1e2)](_0x24f64b(0x30f)+_0x3ac7a9[_0x24f64b(0x29b)](_0x574eac,0x1)+'/'+_0x3f551b+'\x20-\x20testId:\x20'+_0x1159ab+_0x24f64b(0x190)+_0x33758c[_0x24f64b(0x19c)]+_0x24f64b(0x2a3)+_0x3c65cd+_0x24f64b(0x302)+util[_0x24f64b(0x2fc)](_0xa25ba,_0x32d387));const _0xdeaebf=await GrpcClient['getInstance']()[_0x24f64b(0x1c4)](_0xa25ba);logger['debug'](_0x24f64b(0x30f)+_0x3ac7a9['roATH'](_0x574eac,0x1)+'/'+_0x3f551b+_0x24f64b(0x2bd)+_0x1159ab+_0x24f64b(0x211)+util[_0x24f64b(0x2fc)](_0xdeaebf));}if(_0x27cb0e&&_0x3ac7a9['HsEDx'](_0x27cb0e[_0x24f64b(0x19c)],0x0)&&_0x17a490[TestFrameworkConstants[_0x24f64b(0x264)]]){const _0x544831={[TestFrameworkConstants[_0x24f64b(0x264)]]:{}},_0x296a75={};_0x296a75[_0x1159ab]=_0x544831,_0x11abf6[_0x24f64b(0x219)](_0x296a75);}logger[_0x24f64b(0x1e2)](_0x24f64b(0x261)+_0x1159ab+_0x24f64b(0x248)+_0x3f551b);}catch(_0x3dbd35){logger[_0x24f64b(0x18c)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20'+(_0x1175bf[_0x24f64b(0x2ac)]||_0x1175bf[_0x24f64b(0x1f6)])+_0x24f64b(0x23a)+util['format'](_0x3dbd35));}}['storePendingHook'](_0x4d0ded,_0x55e19e,_0x47d50,_0x23c26e,_0x24e873){const _0x4f854f=a71_0x35fb0a,_0x3fb84e={};_0x3fb84e['RcOii']=function(_0x14ab81,_0x499acb){return _0x14ab81===_0x499acb;},_0x3fb84e[_0x4f854f(0x2c1)]=_0x4f854f(0x29a);const _0x2a14b2=_0x3fb84e,{hookData:_0x3cc95c}=_0x24e873,_0x1b6eca={'testId':_0x55e19e,'testFrameworkState':_0x47d50,'hookState':_0x23c26e,'args':_0x24e873,'timestamp':new Date()[_0x4f854f(0x260)]()};if(_0x2a14b2[_0x4f854f(0x2b7)](_0x47d50,TestFrameworkState[_0x4f854f(0x1b1)])&&_0x3cc95c){const _0x174007={};_0x174007['filePath']=_0x3cc95c['file_name']||_0x3cc95c[_0x4f854f(0x28f)],_0x174007[_0x4f854f(0x1bd)]=_0x3cc95c[_0x4f854f(0x1bd)]||_0x3cc95c[_0x4f854f(0x27b)]&&_0x3cc95c['scopes'][0x0]||'',_0x174007[_0x4f854f(0x2a6)]=_0x2a14b2[_0x4f854f(0x2c1)],_0x1b6eca[_0x4f854f(0x28c)]=_0x174007,logger[_0x4f854f(0x1e2)]('[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20'+_0x55e19e+_0x4f854f(0x1e5)+_0x1b6eca['hookMetadata'][_0x4f854f(0x2c7)]+_0x4f854f(0x2ca)+_0x1b6eca[_0x4f854f(0x28c)]['scope']);}_0x4d0ded['addPendingHook'](_0x55e19e,_0x1b6eca),logger[_0x4f854f(0x1e2)](_0x4f854f(0x251)+_0x55e19e+_0x4f854f(0x274)+_0x47d50+_0x4f854f(0x303)+_0x23c26e);}async[a71_0x35fb0a(0x253)](_0x447271,_0x4cfb65){const _0x49f2e2=a71_0x35fb0a,_0xa2bf={};_0xa2bf[_0x49f2e2(0x2d8)]=function(_0x39b50c,_0x3dd465){return _0x39b50c>_0x3dd465;},_0xa2bf[_0x49f2e2(0x2d7)]='[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}',_0xa2bf['Vdbrn']=function(_0x5e3277,_0x43b46b){return _0x5e3277===_0x43b46b;},_0xa2bf['ezKPH']=function(_0xd91f7c,_0x4d9bb8){return _0xd91f7c===_0x4d9bb8;},_0xa2bf['pZzNB']=function(_0xcc13e7,_0x13b8cb){return _0xcc13e7===_0x13b8cb;},_0xa2bf[_0x49f2e2(0x27e)]=function(_0x56802e,_0x3e5d38){return _0x56802e>_0x3e5d38;},_0xa2bf[_0x49f2e2(0x284)]=function(_0x196213,_0x17cbb7){return _0x196213===_0x17cbb7;},_0xa2bf[_0x49f2e2(0x1ca)]=_0x49f2e2(0x30c),_0xa2bf[_0x49f2e2(0x23e)]='Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}';const _0x1e10e9=_0xa2bf;if(_0x447271[_0x49f2e2(0x185)](_0x4cfb65)){const _0x512da0=_0x447271[_0x49f2e2(0x1ff)](_0x4cfb65);logger[_0x49f2e2(0x1e2)]('Processing\x20'+_0x512da0[_0x49f2e2(0x19c)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x4cfb65);for(const _0x260401 of _0x512da0){try{const _0x42f31e=await this['trackHookEvent'](_0x447271,_0x260401['testFrameworkState'],_0x260401[_0x49f2e2(0x256)],_0x260401[_0x49f2e2(0x20f)]);_0x42f31e&&_0x1e10e9[_0x49f2e2(0x2d8)](Object[_0x49f2e2(0x2f8)](_0x42f31e)['length'],0x0)&&_0x447271['addMultipleEntries'](_0x42f31e),await this['runHooks'](_0x447271,_0x260401[_0x49f2e2(0x276)],_0x260401[_0x49f2e2(0x256)],_0x260401['args']);}catch(_0x3bc312){logger[_0x49f2e2(0x18c)](_0x49f2e2(0x2c0)+_0x4cfb65+_0x49f2e2(0x23a)+_0x3bc312);}}_0x447271[_0x49f2e2(0x2a1)](_0x4cfb65),logger['debug'](_0x49f2e2(0x30d)+_0x4cfb65);}const _0x442a89=_0x447271[_0x49f2e2(0x254)]()[_0x49f2e2(0x201)](_0x4cfb65);if(_0x442a89){const _0x4bf99c=_0x442a89[TestFrameworkConstants[_0x49f2e2(0x2e3)]]||_0x442a89[TestFrameworkConstants[_0x49f2e2(0x1a2)]],_0x1cb742=_0x442a89[TestFrameworkConstants['KEY_TEST_SCOPE']]||_0x442a89[TestFrameworkConstants[_0x49f2e2(0x2e4)]]&&_0x442a89[TestFrameworkConstants[_0x49f2e2(0x2e4)]][0x0]||'';logger[_0x49f2e2(0x1e2)](_0x1e10e9['BaIOK']);const _0x5c3624=_0x447271[_0x49f2e2(0x270)]();for(const _0x36c87d of _0x5c3624){if(_0x1e10e9['Vdbrn'](_0x36c87d,_0x4cfb65))continue;if(_0x447271[_0x49f2e2(0x185)](_0x36c87d)){const _0xe10440=_0x447271[_0x49f2e2(0x1ff)](_0x36c87d);for(const _0xefe8bb of _0xe10440){if(_0x1e10e9[_0x49f2e2(0x1e0)](_0xefe8bb['testFrameworkState'],TestFrameworkState[_0x49f2e2(0x1b1)])&&_0xefe8bb[_0x49f2e2(0x28c)]){const _0x492c94=_0xefe8bb['hookMetadata'][_0x49f2e2(0x2c7)],_0x1d8527=_0xefe8bb['hookMetadata'][_0x49f2e2(0x1bd)];if(_0x1e10e9[_0x49f2e2(0x193)](_0x492c94,_0x4bf99c)&&_0x1e10e9[_0x49f2e2(0x305)](_0x1d8527,_0x1cb742)){logger[_0x49f2e2(0x1e2)](_0x49f2e2(0x18b)+_0x36c87d+_0x49f2e2(0x218)+_0x4cfb65+_0x49f2e2(0x1e5)+_0x492c94+_0x49f2e2(0x2ca)+_0x1d8527);_0xefe8bb['args']&&_0xefe8bb['args'][_0x49f2e2(0x2a2)]&&(_0xefe8bb['args'][_0x49f2e2(0x2a2)]['test_run_id']=_0x4cfb65,logger[_0x49f2e2(0x1e2)](_0x49f2e2(0x27c)+_0x36c87d+'\x20to\x20'+_0x4cfb65));try{const _0x5b3a21=await this['trackHookEvent'](_0x447271,_0xefe8bb[_0x49f2e2(0x276)],_0xefe8bb[_0x49f2e2(0x256)],_0xefe8bb['args']);_0x5b3a21&&_0x1e10e9[_0x49f2e2(0x27e)](Object[_0x49f2e2(0x2f8)](_0x5b3a21)[_0x49f2e2(0x19c)],0x0)&&_0x447271[_0x49f2e2(0x219)](_0x5b3a21);await this[_0x49f2e2(0x208)](_0x447271,_0xefe8bb[_0x49f2e2(0x276)],_0xefe8bb[_0x49f2e2(0x256)],_0xefe8bb['args']);const _0x5343f7=_0x447271[_0x49f2e2(0x1ff)](_0x36c87d)[_0x49f2e2(0x1f9)](_0x400d75=>_0x400d75!==_0xefe8bb);if(_0x1e10e9[_0x49f2e2(0x284)](_0x5343f7[_0x49f2e2(0x19c)],0x0))_0x447271[_0x49f2e2(0x2a1)](_0x36c87d);else{_0x447271[_0x49f2e2(0x2a1)](_0x36c87d);for(const _0x334c32 of _0x5343f7){_0x447271[_0x49f2e2(0x21d)](_0x36c87d,_0x334c32);}}logger[_0x49f2e2(0x1e2)](_0x1e10e9['ZJVbr']);}catch(_0x2ac96d){logger[_0x49f2e2(0x18c)](_0x1e10e9['uggAu']);}}}}}}}}[a71_0x35fb0a(0x2f3)](_0x12f6c0){const _0x1010eb=a71_0x35fb0a,_0x180ba0={'LSIEw':function(_0x3adcd2){return _0x3adcd2();}};if(!_0x12f6c0||!_0x12f6c0['parent'])return;_0x12f6c0['parent'][_0x1010eb(0x1a7)]&&Array['isArray'](_0x12f6c0['parent'][_0x1010eb(0x1a7)])&&_0x12f6c0[_0x1010eb(0x2e8)][_0x1010eb(0x1a7)][_0x1010eb(0x308)](_0x346a53=>{const _0x2d04fd=_0x1010eb;!_0x346a53[_0x2d04fd(0x1ab)]&&!_0x346a53['hookUUID']&&(_0x346a53[_0x2d04fd(0x1ab)]=_0x180ba0[_0x2d04fd(0x202)](uuidv4),_0x346a53[_0x2d04fd(0x233)]=_0x346a53[_0x2d04fd(0x1ab)],logger[_0x2d04fd(0x1e2)](_0x2d04fd(0x1ee)+_0x346a53[_0x2d04fd(0x1b7)]+_0x2d04fd(0x222)+_0x346a53[_0x2d04fd(0x1ab)]));}),this[_0x1010eb(0x2f3)](_0x12f6c0[_0x1010eb(0x2e8)]);}[a71_0x35fb0a(0x213)](_0x4703ae){const _0x587f94=a71_0x35fb0a,_0xd01a3e={'KncOK':function(_0x3ff0d1,_0x556d8e){return _0x3ff0d1(_0x556d8e);}};if(!_0x4703ae||!_0x4703ae[_0x587f94(0x2e8)])return[];const _0x4cc45c=[];return _0x4703ae[_0x587f94(0x2e8)][_0x587f94(0x1a7)]&&Array[_0x587f94(0x297)](_0x4703ae['parent'][_0x587f94(0x1a7)])&&_0x4703ae['parent']['hooks'][_0x587f94(0x308)](_0x338588=>{const _0x42338c=_0x587f94,_0x1f18d5=_0x338588[_0x42338c(0x1ab)]||_0x338588[_0x42338c(0x233)];_0x1f18d5&&!this[_0x42338c(0x19e)](_0x338588)&&!_0xd01a3e[_0x42338c(0x283)](isInternalHook,_0x338588['fn'])&&_0x4cc45c[_0x42338c(0x2e0)](_0x1f18d5);}),[..._0x4cc45c,...this[_0x587f94(0x213)](_0x4703ae[_0x587f94(0x2e8)])];}[a71_0x35fb0a(0x287)](_0x4e34b6){const _0x3e222f=a71_0x35fb0a,_0x41f825={'KNcJJ':function(_0x59ca5d,_0x10d270){return _0x59ca5d(_0x10d270);},'rhpFk':_0x3e222f(0x2dd)},_0x359928=new Map(),_0x39b419=_0x401bf0=>{const _0x196416=_0x3e222f;if(!_0x401bf0||!_0x401bf0[_0x196416(0x2e8)])return;_0x401bf0['parent'][_0x196416(0x1a7)]&&Array[_0x196416(0x297)](_0x401bf0['parent'][_0x196416(0x1a7)])&&_0x401bf0[_0x196416(0x2e8)][_0x196416(0x1a7)][_0x196416(0x308)](_0x364505=>{const _0x324e08=_0x196416,_0x15c622=_0x364505[_0x324e08(0x1ab)]||_0x364505[_0x324e08(0x233)];if(_0x15c622&&!this[_0x324e08(0x19e)](_0x364505)&&!_0x41f825[_0x324e08(0x1fb)](isInternalHook,_0x364505['fn'])){const _0x3544c8={};_0x3544c8['type']=_0x364505['type']||_0x41f825[_0x324e08(0x20c)],_0x3544c8[_0x324e08(0x2d4)]=_0x364505['name']||'\x22'+_0x364505[_0x324e08(0x1b7)]+_0x324e08(0x1cf),_0x359928[_0x324e08(0x1bb)](_0x15c622,_0x3544c8);}}),_0x41f825[_0x196416(0x1fb)](_0x39b419,_0x401bf0['parent']);};return _0x41f825[_0x3e222f(0x1fb)](_0x39b419,_0x4e34b6),_0x359928;}[a71_0x35fb0a(0x19e)](_0x4f274d){const _0x4ad972=a71_0x35fb0a,_0x57fba9={};_0x57fba9[_0x4ad972(0x272)]='jest-circus',_0x57fba9[_0x4ad972(0x232)]=_0x4ad972(0x1ce);const _0x8be92d=_0x57fba9;try{const _0xe40fee=this[_0x4ad972(0x19b)](_0x4f274d);return _0xe40fee&&_0xe40fee[_0x4ad972(0x2d1)](_0x8be92d['VrILx']);}catch(_0x391369){logger[_0x4ad972(0x1e2)](_0x8be92d[_0x4ad972(0x232)]);}return![];}[a71_0x35fb0a(0x19b)](_0x418831){const _0x16fca1=a71_0x35fb0a;if(_0x418831[_0x16fca1(0x2b4)])try{const _0x2979c7=stackTrace[_0x16fca1(0x1af)](_0x418831['asyncError']);return _0x2979c7[0x0]?_0x2979c7[0x0][_0x16fca1(0x278)]():null;}catch(_0xa8c1d7){logger[_0x16fca1(0x1e2)](_0x16fca1(0x245)+util['format'](_0xa8c1d7));}if(_0x418831[_0x16fca1(0x252)])return _0x418831[_0x16fca1(0x252)];return null;}}module[a71_0x35fb0a(0x2e6)]=JestTestFramework;
@@ -1 +1 @@
1
- function a72_0x2d95(){const _0x4146ad=['uEVdd','logger','../instances/automationFrameworkInstance.js','message','trackEvent','5402593ipQBSj','367590nSrvmx','../cliUtils.js','createContext','getId','params','./automationFramework.js','19863ygqgMi','trackPlaywrightInstance:\x20instance\x20already\x20exists','getTrackedInstance','CREATE','PLAYWRIGHT_DISPATCH','315986wRrnVL','debug','565320apkJVT','trackEvent:\x20automationFrameworkState=','2480JoKjuR','10IqIdFK','\x20target=','getAutomationFrameworkVersion','bsParams','3fBNxQA','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','975184qYChty','../../../helpers/classLogger.js','../state/automationFrameworkState.js','resolveInstance','getAutomationFrameworkName','trackPlaywrightInstance','280tDhBqS','\x20hookState=','PlaywrightAutomationFramework','XmUfg','exports','585384MlMRDS','enrcx','instance','info'];a72_0x2d95=function(){return _0x4146ad;};return a72_0x2d95();}const a72_0x213ea8=a72_0xe769;(function(_0x46c4ee,_0x461ffd){const _0xfa7cff=a72_0xe769,_0xd96c4c=_0x46c4ee();while(!![]){try{const _0x17d792=-parseInt(_0xfa7cff(0x10f))/0x1+-parseInt(_0xfa7cff(0xf8))/0x2*(-parseInt(_0xfa7cff(0x116))/0x3)+parseInt(_0xfa7cff(0x118))/0x4+-parseInt(_0xfa7cff(0x112))/0x5*(parseInt(_0xfa7cff(0x102))/0x6)+parseInt(_0xfa7cff(0x101))/0x7+parseInt(_0xfa7cff(0x111))/0x8*(parseInt(_0xfa7cff(0x108))/0x9)+parseInt(_0xfa7cff(0xf3))/0xa*(-parseInt(_0xfa7cff(0x10d))/0xb);if(_0x17d792===_0x461ffd)break;else _0xd96c4c['push'](_0xd96c4c['shift']());}catch(_0x117b26){_0xd96c4c['push'](_0xd96c4c['shift']());}}}(a72_0x2d95,0x7a237));const AutomationFramework=require(a72_0x213ea8(0x107)),{createClassLogger}=require(a72_0x213ea8(0x119)),AutomationFrameworkState=require(a72_0x213ea8(0x11a)),CLIUtils=require(a72_0x213ea8(0x103)),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require(a72_0x213ea8(0xfe));function a72_0xe769(_0x52060c,_0x3e099d){const _0x2d954a=a72_0x2d95();return a72_0xe769=function(_0xe769b3,_0xafca7f){_0xe769b3=_0xe769b3-0xf2;let _0x17d236=_0x2d954a[_0xe769b3];return _0x17d236;},a72_0xe769(_0x52060c,_0x3e099d);}class PlaywrightAutomationFramework extends AutomationFramework{[a72_0x213ea8(0xfd)]=createClassLogger(a72_0x213ea8(0xf5));constructor(_0x3963dc,_0x3daa20){super(_0x3963dc,_0x3daa20);}async[a72_0x213ea8(0x100)](_0x348d85,_0x1be348,_0x308a52={}){const _0x48bcdc=a72_0x213ea8,_0x28ac3b={};_0x28ac3b[_0x48bcdc(0xfc)]=function(_0x218498,_0x9b65d4){return _0x218498===_0x9b65d4;};const _0x3e92fa=_0x28ac3b;this['logger'][_0x48bcdc(0x10e)](_0x48bcdc(0x110)+_0x348d85+_0x48bcdc(0xf4)+_0x1be348),await super[_0x48bcdc(0x100)](_0x348d85,_0x1be348,_0x308a52);const _0x26a81b=this[_0x48bcdc(0x11b)](_0x348d85,_0x1be348,_0x308a52);if(_0x3e92fa[_0x48bcdc(0xfc)](_0x26a81b,null))return;_0x308a52[_0x48bcdc(0xfa)]=_0x26a81b,await this['runHooks'](_0x26a81b,_0x348d85,_0x1be348,_0x308a52);}['resolveInstance'](_0x5caca8,_0x1a4d3a,_0x4f29c2={}){const _0x16ddf9=a72_0x213ea8,_0x586e26={};_0x586e26[_0x16ddf9(0xf9)]=function(_0x44ca32,_0x59285a){return _0x44ca32===_0x59285a;};const _0x4a4d27=_0x586e26;let _0x5d9f24=null;return(_0x4a4d27[_0x16ddf9(0xf9)](_0x5caca8,AutomationFrameworkState[_0x16ddf9(0x10b)])||_0x4a4d27[_0x16ddf9(0xf9)](_0x5caca8,AutomationFrameworkState[_0x16ddf9(0x10c)])&&(_0x4f29c2['message']&&_0x4f29c2['message'][_0x16ddf9(0x106)]&&_0x4f29c2[_0x16ddf9(0xff)]['params'][_0x16ddf9(0x115)])||_0x4a4d27[_0x16ddf9(0xf9)](_0x5caca8,AutomationFrameworkState['NONE']))&&this[_0x16ddf9(0xf2)](_0x5caca8,_0x4f29c2),_0x5d9f24=AutomationFramework['getTrackedInstance'](),_0x5d9f24;}[a72_0x213ea8(0xf2)](_0x1a4b21,_0xcd2ab){const _0x3d30d8=a72_0x213ea8,_0x4e851b={};_0x4e851b[_0x3d30d8(0xf6)]=_0x3d30d8(0x109);const _0x4fc4c3=_0x4e851b;if(AutomationFramework[_0x3d30d8(0x10a)]()){this[_0x3d30d8(0xfd)][_0x3d30d8(0xfb)](_0x4fc4c3[_0x3d30d8(0xf6)]);return;}const _0x182553=CLIUtils['getCurrentInstanceName'](),_0x27021b=TrackedInstance[_0x3d30d8(0x104)](_0x182553);let _0x2e0820=null;this[_0x3d30d8(0xfd)][_0x3d30d8(0xfb)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x182553+',\x20state='+_0x1a4b21),_0x2e0820=new AutomationFrameworkInstance(_0x27021b,this[_0x3d30d8(0x11c)](),this[_0x3d30d8(0x114)](),_0x1a4b21),AutomationFramework['setTrackedInstance'](_0x27021b,_0x2e0820),this[_0x3d30d8(0xfd)][_0x3d30d8(0xfb)](_0x3d30d8(0x117)+_0x27021b[_0x3d30d8(0x105)]()+_0x3d30d8(0x113)+_0x182553);}}module[a72_0x213ea8(0xf7)]=PlaywrightAutomationFramework;
1
+ const a72_0x21cfd4=a72_0x4518;(function(_0x4d2dfd,_0x250dbb){const _0x4a52fc=a72_0x4518,_0x1ab514=_0x4d2dfd();while(!![]){try{const _0x2d4113=-parseInt(_0x4a52fc(0xa9))/0x1+-parseInt(_0x4a52fc(0x8d))/0x2*(-parseInt(_0x4a52fc(0x91))/0x3)+-parseInt(_0x4a52fc(0x9c))/0x4+parseInt(_0x4a52fc(0x95))/0x5*(parseInt(_0x4a52fc(0x8f))/0x6)+-parseInt(_0x4a52fc(0xb3))/0x7*(-parseInt(_0x4a52fc(0x8e))/0x8)+parseInt(_0x4a52fc(0x96))/0x9*(parseInt(_0x4a52fc(0x99))/0xa)+parseInt(_0x4a52fc(0xa2))/0xb;if(_0x2d4113===_0x250dbb)break;else _0x1ab514['push'](_0x1ab514['shift']());}catch(_0x5607b9){_0x1ab514['push'](_0x1ab514['shift']());}}}(a72_0x460c,0x491af));function a72_0x460c(){const _0xf2eee5=['logger','trackEvent','trackPlaywrightInstance:\x20instance\x20already\x20exists','ESqax','920084yRtoRs','exports','setTrackedInstance','runHooks','HZWCm','message','createContext','244774akyLAM','../instances/automationFrameworkInstance.js','info','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','getTrackedInstance','bsParams','../state/automationFrameworkState.js','PlaywrightAutomationFramework','RCmfQ','bOUQB','161EWnryt','../cliUtils.js','../../../helpers/classLogger.js','getId','\x20hookState=','2LWMYPA','90632gNKsNk','12QQXjUD','resolveInstance','718986KikXxa','trackEvent:\x20automationFrameworkState=','trackPlaywrightInstance','../instances/trackedInstance.js','464230xhwjnf','9yDlsjE','instance','CREATE','3383580XaGoTc','getAutomationFrameworkVersion','params','2254840zFNadA','\x20target='];a72_0x460c=function(){return _0xf2eee5;};return a72_0x460c();}const AutomationFramework=require('./automationFramework.js'),{createClassLogger}=require(a72_0x21cfd4(0xb5)),AutomationFrameworkState=require(a72_0x21cfd4(0xaf)),CLIUtils=require(a72_0x21cfd4(0xb4)),TrackedInstance=require(a72_0x21cfd4(0x94)),AutomationFrameworkInstance=require(a72_0x21cfd4(0xaa));class PlaywrightAutomationFramework extends AutomationFramework{[a72_0x21cfd4(0x9e)]=createClassLogger(a72_0x21cfd4(0xb0));constructor(_0x1a55ee,_0x294f48){super(_0x1a55ee,_0x294f48);}async[a72_0x21cfd4(0x9f)](_0x12dff3,_0x686fd6,_0x1221e2={}){const _0x2c91dd=a72_0x21cfd4,_0x2b0ffe={};_0x2b0ffe[_0x2c91dd(0xa6)]=function(_0x396c97,_0x189038){return _0x396c97===_0x189038;};const _0x1916d2=_0x2b0ffe;this[_0x2c91dd(0x9e)]['debug'](_0x2c91dd(0x92)+_0x12dff3+_0x2c91dd(0x8c)+_0x686fd6),await super[_0x2c91dd(0x9f)](_0x12dff3,_0x686fd6,_0x1221e2);const _0x56e8b9=this[_0x2c91dd(0x90)](_0x12dff3,_0x686fd6,_0x1221e2);if(_0x1916d2[_0x2c91dd(0xa6)](_0x56e8b9,null))return;_0x1221e2[_0x2c91dd(0x97)]=_0x56e8b9,await this[_0x2c91dd(0xa5)](_0x56e8b9,_0x12dff3,_0x686fd6,_0x1221e2);}['resolveInstance'](_0x229d9b,_0xe51cb1,_0x1a3f1f={}){const _0x42d47c=a72_0x21cfd4,_0x4baae1={};_0x4baae1[_0x42d47c(0xb2)]=function(_0x5d38d2,_0x17b31d){return _0x5d38d2===_0x17b31d;},_0x4baae1[_0x42d47c(0xb1)]=function(_0xb739bc,_0x15f010){return _0xb739bc===_0x15f010;};const _0x3ff276=_0x4baae1;let _0x2cc5e7=null;return(_0x3ff276[_0x42d47c(0xb2)](_0x229d9b,AutomationFrameworkState[_0x42d47c(0x98)])||_0x3ff276[_0x42d47c(0xb1)](_0x229d9b,AutomationFrameworkState['PLAYWRIGHT_DISPATCH'])&&(_0x1a3f1f['message']&&_0x1a3f1f['message'][_0x42d47c(0x9b)]&&_0x1a3f1f[_0x42d47c(0xa7)]['params'][_0x42d47c(0xae)])||_0x3ff276[_0x42d47c(0xb2)](_0x229d9b,AutomationFrameworkState['NONE']))&&this['trackPlaywrightInstance'](_0x229d9b,_0x1a3f1f),_0x2cc5e7=AutomationFramework[_0x42d47c(0xad)](),_0x2cc5e7;}[a72_0x21cfd4(0x93)](_0x4e46fb,_0x4f0837){const _0x47686d=a72_0x21cfd4,_0x9957a2={};_0x9957a2[_0x47686d(0xa1)]=_0x47686d(0xa0);const _0x3cc727=_0x9957a2;if(AutomationFramework['getTrackedInstance']()){this[_0x47686d(0x9e)][_0x47686d(0xab)](_0x3cc727['ESqax']);return;}const _0xb0069=CLIUtils['getCurrentInstanceName'](),_0x48440d=TrackedInstance[_0x47686d(0xa8)](_0xb0069);let _0x3e8308=null;this[_0x47686d(0x9e)][_0x47686d(0xab)](_0x47686d(0xac)+_0xb0069+',\x20state='+_0x4e46fb),_0x3e8308=new AutomationFrameworkInstance(_0x48440d,this['getAutomationFrameworkName'](),this[_0x47686d(0x9a)](),_0x4e46fb),AutomationFramework[_0x47686d(0xa4)](_0x48440d,_0x3e8308),this[_0x47686d(0x9e)][_0x47686d(0xab)]('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x48440d[_0x47686d(0x8b)]()+_0x47686d(0x9d)+_0xb0069);}}function a72_0x4518(_0x57b1e8,_0x42c366){const _0x460cb9=a72_0x460c();return a72_0x4518=function(_0x451857,_0x51af65){_0x451857=_0x451857-0x8b;let _0x2e252f=_0x460cb9[_0x451857];return _0x2e252f;},a72_0x4518(_0x57b1e8,_0x42c366);}module[a72_0x21cfd4(0xa3)]=PlaywrightAutomationFramework;