browserstack-node-sdk 1.49.5 → 1.49.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +1 -1
  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
- const a69_0xdd87dd=a69_0x4f69;(function(_0x1282ca,_0x5a5548){const _0xe93e59=a69_0x4f69,_0x2d00d0=_0x1282ca();while(!![]){try{const _0xc4772c=-parseInt(_0xe93e59(0xe8))/0x1*(parseInt(_0xe93e59(0xc1))/0x2)+parseInt(_0xe93e59(0xe1))/0x3+parseInt(_0xe93e59(0xc4))/0x4+parseInt(_0xe93e59(0x112))/0x5*(-parseInt(_0xe93e59(0xc5))/0x6)+parseInt(_0xe93e59(0xc2))/0x7*(-parseInt(_0xe93e59(0xd6))/0x8)+-parseInt(_0xe93e59(0xf2))/0x9+parseInt(_0xe93e59(0xef))/0xa*(parseInt(_0xe93e59(0xfa))/0xb);if(_0xc4772c===_0x5a5548)break;else _0x2d00d0['push'](_0x2d00d0['shift']());}catch(_0x521ba0){_0x2d00d0['push'](_0x2d00d0['shift']());}}}(a69_0x7a27,0x8f86e));function a69_0x7a27(){const _0x4d4c8a=['KEY_TEST_ATTACHMENTS','KEY_TEST_SCOPE','test_hook_last_started','file_level','KEY_CUSTOM_TAGS','KEY_TEST_FILE_PATH','20RZmiLK','test_name','KEY_EVENT_ENDED_AT','test_hooks_started','automate_session_status','test_scopes','KEY_TEST_FRAMEWORK_VERSION','KEY_FILE_PATH','file_name','test_scope','exports','hook_id','KEY_TEST_STARTED_AT','30RkQLpA','147TGxcXF','event_ended_at','3386552AgtIXH','449508NxAGKr','KIND_SCREENSHOT','pending','KEY_AUTOMATE_SESSION_NAME','KEY_TEST_FAILURE_TYPE','hook_logs','DEFAULT_TEST_RESULT','KEY_TEST_RESULT','test_ended_at','test_location','KEY_FILE_SIZE','KEY_TEST_RETRY_OF','KEY_TEST_FAILURE','test_logs','KEY_TEST_UUID','file_size','hook_result','199576jmifwl','test_hook_last_finished','test_rerun_name','HOOK_REGEX','test_framework_version','logs','test_tags','TEST_LOG','hook_failure_reason','file_path','DEFAULT_HOOK_RESULT','1388502KKhAds','KEY_HOOK_LAST_FINISHED','KEY_FILE_LEVEL','KEY_HOOK_FAILURE_TYPE','KEY_EVENT_STARTED_AT','KEY_HOOK_RESULT','KEY_HOOKS_STARTED','69535WgngSg','test_failure_reason','KEY_AUTOMATE_SESSION_REASON','retry_of','test_result','KEY_LOGS','KEY_TEST_ENDED_AT','1280RbHfcY','test_failure','test_code','1785258qIauoh','test_file_path','KEY_TEST_CODE','KEY_HOOK_LAST_STARTED','KEY_HOOK_NAME','test_id','KEY_TEST_META','TEST_SCREENSHOT','115445vamdef','test_meta','KEY_TEST_LOGS','KEY_SESSION_NAME','test_uuid','test_result_at','KIND_LOG','hook_failure','KEY_TEST_SCOPES','KEY_TEST_RERUN_NAME','test_started_at','KEY_HOOKS_FINISHED','KEY_AUTOMATE_SESSION_STATUS','hook_failure_type','test_failure_type','platform_index','KEY_TEST_LOCATION','automate_session_reason'];a69_0x7a27=function(){return _0x4d4c8a;};return a69_0x7a27();}const a69_0x2641cf={};a69_0x2641cf[a69_0xdd87dd(0xd3)]=a69_0xdd87dd(0xfe),a69_0x2641cf['KEY_TEST_ID']=a69_0xdd87dd(0xf7),a69_0x2641cf['KEY_TEST_NAME']=a69_0xdd87dd(0x113),a69_0x2641cf[a69_0xdd87dd(0x111)]=a69_0xdd87dd(0xf3),a69_0x2641cf['KEY_TEST_TAGS']=a69_0xdd87dd(0xdc),a69_0x2641cf[a69_0xdd87dd(0xcc)]=a69_0xdd87dd(0xec),a69_0x2641cf['KEY_TEST_RESULT_AT']=a69_0xdd87dd(0xff),a69_0x2641cf[a69_0xdd87dd(0xc0)]=a69_0xdd87dd(0x104),a69_0x2641cf[a69_0xdd87dd(0xee)]=a69_0xdd87dd(0xcd),a69_0x2641cf[a69_0xdd87dd(0x10a)]=a69_0xdd87dd(0xce),a69_0x2641cf[a69_0xdd87dd(0x10d)]=a69_0xdd87dd(0xbd),a69_0x2641cf[a69_0xdd87dd(0x102)]=a69_0xdd87dd(0x117),a69_0x2641cf['KEY_TEST_FRAMEWORK_NAME']='test_framework_name',a69_0x2641cf[a69_0xdd87dd(0x118)]=a69_0xdd87dd(0xda),a69_0x2641cf[a69_0xdd87dd(0xf4)]=a69_0xdd87dd(0xf1),a69_0x2641cf[a69_0xdd87dd(0x103)]=a69_0xdd87dd(0xd8),a69_0x2641cf[a69_0xdd87dd(0xd0)]=a69_0xdd87dd(0xeb),a69_0x2641cf['KEY_PLATFORM_INDEX']=a69_0xdd87dd(0x109),a69_0x2641cf[a69_0xdd87dd(0xd1)]=a69_0xdd87dd(0xf0),a69_0x2641cf[a69_0xdd87dd(0xc9)]=a69_0xdd87dd(0x108),a69_0x2641cf['KEY_TEST_FAILURE_REASON']=a69_0xdd87dd(0xe9),a69_0x2641cf[a69_0xdd87dd(0xfc)]=a69_0xdd87dd(0xd2),a69_0x2641cf[a69_0xdd87dd(0xf8)]=a69_0xdd87dd(0xfb),a69_0x2641cf[a69_0xdd87dd(0xfd)]='test_session_name',a69_0x2641cf[a69_0xdd87dd(0xc8)]='automate_session_name',a69_0x2641cf[a69_0xdd87dd(0x106)]=a69_0xdd87dd(0x116),a69_0x2641cf[a69_0xdd87dd(0xea)]=a69_0xdd87dd(0x10b),a69_0x2641cf[a69_0xdd87dd(0xe5)]='event_started_at',a69_0x2641cf[a69_0xdd87dd(0x114)]=a69_0xdd87dd(0xc3),a69_0x2641cf['KEY_HOOK_ID']=a69_0xdd87dd(0xbf),a69_0x2641cf[a69_0xdd87dd(0xe6)]=a69_0xdd87dd(0xd5),a69_0x2641cf[a69_0xdd87dd(0xe4)]=a69_0xdd87dd(0x107),a69_0x2641cf['KEY_HOOK_FAILURE_REASON']=a69_0xdd87dd(0xde),a69_0x2641cf['KEY_HOOK_FAILURE']=a69_0xdd87dd(0x101),a69_0x2641cf['KEY_HOOK_LOGS']=a69_0xdd87dd(0xca),a69_0x2641cf[a69_0xdd87dd(0xf6)]='hook_name',a69_0x2641cf[a69_0xdd87dd(0xcb)]='pending',a69_0x2641cf[a69_0xdd87dd(0xe0)]=a69_0xdd87dd(0xc7),a69_0x2641cf[a69_0xdd87dd(0xc6)]=a69_0xdd87dd(0xf9),a69_0x2641cf[a69_0xdd87dd(0x100)]=a69_0xdd87dd(0xdd),a69_0x2641cf[a69_0xdd87dd(0xd9)]='^(BEFORE_|AFTER_)',a69_0x2641cf[a69_0xdd87dd(0xe7)]=a69_0xdd87dd(0x115),a69_0x2641cf[a69_0xdd87dd(0x105)]='test_hooks_finished',a69_0x2641cf[a69_0xdd87dd(0xf5)]=a69_0xdd87dd(0x10e),a69_0x2641cf[a69_0xdd87dd(0xe2)]=a69_0xdd87dd(0xd7),a69_0x2641cf[a69_0xdd87dd(0xed)]=a69_0xdd87dd(0xdb),a69_0x2641cf[a69_0xdd87dd(0x110)]='custom_metadata',a69_0x2641cf[a69_0xdd87dd(0x10c)]='test_attachments',a69_0x2641cf[a69_0xdd87dd(0xcf)]=a69_0xdd87dd(0xd4),a69_0x2641cf['KEY_FILE_NAME']=a69_0xdd87dd(0xbc),a69_0x2641cf[a69_0xdd87dd(0x119)]=a69_0xdd87dd(0xdf),a69_0x2641cf[a69_0xdd87dd(0xe3)]=a69_0xdd87dd(0x10f);function a69_0x4f69(_0x350258,_0x5055fc){const _0x7a2746=a69_0x7a27();return a69_0x4f69=function(_0x4f69fa,_0x429598){_0x4f69fa=_0x4f69fa-0xbc;let _0xa2b799=_0x7a2746[_0x4f69fa];return _0xa2b799;},a69_0x4f69(_0x350258,_0x5055fc);}const TestFrameworkConstants=a69_0x2641cf;module[a69_0xdd87dd(0xbe)]=TestFrameworkConstants;
1
+ const a69_0x50b146=a69_0xbded;(function(_0x113393,_0xd52b81){const _0x4bb12b=a69_0xbded,_0x1843be=_0x113393();while(!![]){try{const _0x217cb2=parseInt(_0x4bb12b(0x183))/0x1*(parseInt(_0x4bb12b(0x155))/0x2)+-parseInt(_0x4bb12b(0x191))/0x3+-parseInt(_0x4bb12b(0x14c))/0x4+-parseInt(_0x4bb12b(0x16b))/0x5+parseInt(_0x4bb12b(0x16c))/0x6*(-parseInt(_0x4bb12b(0x198))/0x7)+-parseInt(_0x4bb12b(0x166))/0x8*(parseInt(_0x4bb12b(0x18c))/0x9)+parseInt(_0x4bb12b(0x154))/0xa;if(_0x217cb2===_0xd52b81)break;else _0x1843be['push'](_0x1843be['shift']());}catch(_0x22fcbe){_0x1843be['push'](_0x1843be['shift']());}}}(a69_0x18c6,0x56a99));const a69_0x4ea20e={};function a69_0xbded(_0x370cbd,_0x17722e){const _0x18c69c=a69_0x18c6();return a69_0xbded=function(_0xbded9e,_0x51eb17){_0xbded9e=_0xbded9e-0x14a;let _0x231efd=_0x18c69c[_0xbded9e];return _0x231efd;},a69_0xbded(_0x370cbd,_0x17722e);}a69_0x4ea20e[a69_0x50b146(0x179)]='test_uuid',a69_0x4ea20e['KEY_TEST_ID']=a69_0x50b146(0x197),a69_0x4ea20e['KEY_TEST_NAME']=a69_0x50b146(0x15a),a69_0x4ea20e[a69_0x50b146(0x164)]=a69_0x50b146(0x17f),a69_0x4ea20e[a69_0x50b146(0x18f)]='test_tags',a69_0x4ea20e[a69_0x50b146(0x152)]=a69_0x50b146(0x157),a69_0x4ea20e[a69_0x50b146(0x163)]=a69_0x50b146(0x151),a69_0x4ea20e['KEY_TEST_STARTED_AT']=a69_0x50b146(0x15d),a69_0x4ea20e[a69_0x50b146(0x189)]='test_ended_at',a69_0x4ea20e[a69_0x50b146(0x16a)]='test_location',a69_0x4ea20e['KEY_TEST_SCOPE']=a69_0x50b146(0x165),a69_0x4ea20e[a69_0x50b146(0x199)]=a69_0x50b146(0x188),a69_0x4ea20e[a69_0x50b146(0x19d)]=a69_0x50b146(0x14b),a69_0x4ea20e[a69_0x50b146(0x186)]='test_framework_version',a69_0x4ea20e[a69_0x50b146(0x17c)]=a69_0x50b146(0x167),a69_0x4ea20e[a69_0x50b146(0x18a)]=a69_0x50b146(0x161),a69_0x4ea20e['KEY_TEST_RETRY_OF']='retry_of',a69_0x4ea20e[a69_0x50b146(0x194)]=a69_0x50b146(0x14e),a69_0x4ea20e[a69_0x50b146(0x18d)]=a69_0x50b146(0x1a2),a69_0x4ea20e[a69_0x50b146(0x177)]='test_failure_type',a69_0x4ea20e[a69_0x50b146(0x171)]=a69_0x50b146(0x160),a69_0x4ea20e[a69_0x50b146(0x16e)]='test_logs',a69_0x4ea20e[a69_0x50b146(0x14f)]=a69_0x50b146(0x185),a69_0x4ea20e[a69_0x50b146(0x182)]=a69_0x50b146(0x172),a69_0x4ea20e[a69_0x50b146(0x17d)]='automate_session_name',a69_0x4ea20e[a69_0x50b146(0x150)]=a69_0x50b146(0x159),a69_0x4ea20e[a69_0x50b146(0x16f)]=a69_0x50b146(0x17a),a69_0x4ea20e[a69_0x50b146(0x174)]=a69_0x50b146(0x180),a69_0x4ea20e['KEY_EVENT_ENDED_AT']=a69_0x50b146(0x14d),a69_0x4ea20e[a69_0x50b146(0x15e)]=a69_0x50b146(0x19f),a69_0x4ea20e['KEY_HOOK_RESULT']=a69_0x50b146(0x181),a69_0x4ea20e[a69_0x50b146(0x168)]=a69_0x50b146(0x193),a69_0x4ea20e['KEY_HOOK_FAILURE_REASON']=a69_0x50b146(0x192),a69_0x4ea20e[a69_0x50b146(0x17b)]='hook_failure',a69_0x4ea20e['KEY_HOOK_LOGS']=a69_0x50b146(0x175),a69_0x4ea20e['KEY_HOOK_NAME']=a69_0x50b146(0x173),a69_0x4ea20e[a69_0x50b146(0x162)]='pending',a69_0x4ea20e[a69_0x50b146(0x19a)]=a69_0x50b146(0x195),a69_0x4ea20e['KIND_SCREENSHOT']=a69_0x50b146(0x1a1),a69_0x4ea20e[a69_0x50b146(0x190)]=a69_0x50b146(0x15f),a69_0x4ea20e[a69_0x50b146(0x187)]=a69_0x50b146(0x14a),a69_0x4ea20e['KEY_HOOKS_STARTED']=a69_0x50b146(0x170),a69_0x4ea20e[a69_0x50b146(0x169)]=a69_0x50b146(0x18b),a69_0x4ea20e[a69_0x50b146(0x196)]=a69_0x50b146(0x17e),a69_0x4ea20e[a69_0x50b146(0x16d)]=a69_0x50b146(0x156),a69_0x4ea20e['KEY_LOGS']=a69_0x50b146(0x1a0),a69_0x4ea20e[a69_0x50b146(0x15c)]=a69_0x50b146(0x158),a69_0x4ea20e[a69_0x50b146(0x19c)]=a69_0x50b146(0x19e),a69_0x4ea20e[a69_0x50b146(0x153)]=a69_0x50b146(0x19b),a69_0x4ea20e['KEY_FILE_NAME']='file_name',a69_0x4ea20e[a69_0x50b146(0x15b)]=a69_0x50b146(0x18e),a69_0x4ea20e[a69_0x50b146(0x176)]=a69_0x50b146(0x178);const TestFrameworkConstants=a69_0x4ea20e;module[a69_0x50b146(0x184)]=TestFrameworkConstants;function a69_0x18c6(){const _0x5b3beb=['KEY_PLATFORM_INDEX','pending','KEY_HOOK_LAST_STARTED','test_id','1001RhNyIK','KEY_TEST_SCOPES','DEFAULT_HOOK_RESULT','file_size','KEY_TEST_ATTACHMENTS','KEY_TEST_FRAMEWORK_NAME','test_attachments','hook_id','logs','TEST_SCREENSHOT','test_failure','^(BEFORE_|AFTER_)','test_framework_name','1102544RmLFfF','event_ended_at','platform_index','KEY_TEST_META','KEY_AUTOMATE_SESSION_STATUS','test_result_at','KEY_TEST_RESULT','KEY_FILE_SIZE','16630640iygdUF','2fUxPFj','test_hook_last_finished','test_result','custom_metadata','automate_session_status','test_name','KEY_FILE_PATH','KEY_CUSTOM_TAGS','test_started_at','KEY_HOOK_ID','TEST_LOG','test_failure_reason','test_rerun_name','DEFAULT_TEST_RESULT','KEY_TEST_RESULT_AT','KEY_TEST_FILE_PATH','test_scope','1894160idYeZT','test_code','KEY_HOOK_FAILURE_TYPE','KEY_HOOKS_FINISHED','KEY_TEST_LOCATION','3153385SqEKhc','1158cQbQiD','KEY_HOOK_LAST_FINISHED','KEY_TEST_LOGS','KEY_AUTOMATE_SESSION_REASON','test_hooks_started','KEY_TEST_FAILURE_REASON','test_session_name','hook_name','KEY_EVENT_STARTED_AT','hook_logs','KEY_FILE_LEVEL','KEY_TEST_FAILURE_TYPE','file_level','KEY_TEST_UUID','automate_session_reason','KEY_HOOK_FAILURE','KEY_TEST_CODE','KEY_AUTOMATE_SESSION_NAME','test_hook_last_started','test_file_path','event_started_at','hook_result','KEY_SESSION_NAME','409046enaqvY','exports','test_meta','KEY_TEST_FRAMEWORK_VERSION','HOOK_REGEX','test_scopes','KEY_TEST_ENDED_AT','KEY_TEST_RERUN_NAME','test_hooks_finished','18vCdjrv','KEY_TEST_FAILURE','file_path','KEY_TEST_TAGS','KIND_LOG','929067PDJpra','hook_failure_reason','hook_failure_type'];a69_0x18c6=function(){return _0x5b3beb;};return a69_0x18c6();}
@@ -1 +1 @@
1
- const a70_0x3a789f=a70_0x2be8;(function(_0x22518d,_0x26cc24){const _0x2a37e1=a70_0x2be8,_0x5af923=_0x22518d();while(!![]){try{const _0x4aae2a=parseInt(_0x2a37e1(0x1a1))/0x1+-parseInt(_0x2a37e1(0x17c))/0x2*(-parseInt(_0x2a37e1(0x164))/0x3)+-parseInt(_0x2a37e1(0x1be))/0x4*(parseInt(_0x2a37e1(0x1b5))/0x5)+parseInt(_0x2a37e1(0x1e1))/0x6*(parseInt(_0x2a37e1(0x175))/0x7)+-parseInt(_0x2a37e1(0x13b))/0x8+parseInt(_0x2a37e1(0x14f))/0x9+parseInt(_0x2a37e1(0x195))/0xa;if(_0x4aae2a===_0x26cc24)break;else _0x5af923['push'](_0x5af923['shift']());}catch(_0x3389df){_0x5af923['push'](_0x5af923['shift']());}}}(a70_0x33dd,0x4d098));function a70_0x2be8(_0x31a8dc,_0x1e5315){const _0x33dd4d=a70_0x33dd();return a70_0x2be8=function(_0x2be802,_0x38bda0){_0x2be802=_0x2be802-0x119;let _0x455ac3=_0x33dd4d[_0x2be802];return _0x455ac3;},a70_0x2be8(_0x31a8dc,_0x1e5315);}const TestFramework=require(a70_0x3a789f(0x1d7)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a70_0x3a789f(0x196)),{createClassLogger}=require(a70_0x3a789f(0x1d6)),TestFrameworkInstance=require(a70_0x3a789f(0x1ac)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a70_0x3a789f(0x1d5)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),logger=createClassLogger(a70_0x3a789f(0x1a7)),{v4:uuidv4}=require(a70_0x3a789f(0x144)),util=require(a70_0x3a789f(0x151)),TestInfo=require(a70_0x3a789f(0x1de)),GrpcClient=require(a70_0x3a789f(0x127));class CucumberTestFramework extends TestFramework{constructor(_0x1bb292,_0x542df2,_0x1b1617){super(_0x1bb292,_0x542df2,_0x1b1617);}async[a70_0x3a789f(0x1cf)](_0x145e68,_0x3a501c,_0x13dbfd={}){const _0x27a972=a70_0x3a789f,_0x12dead={};_0x12dead['almRc']=_0x27a972(0x163),_0x12dead[_0x27a972(0x1c3)]=function(_0x33ad35,_0x182a99){return _0x33ad35===_0x182a99;},_0x12dead[_0x27a972(0x1b1)]=_0x27a972(0x15b);const _0x5b0fac=_0x12dead;await super[_0x27a972(0x1cf)](_0x145e68,_0x3a501c,_0x13dbfd);const _0x429100=this[_0x27a972(0x154)](_0x145e68,_0x3a501c,_0x13dbfd);if(!_0x429100){logger[_0x27a972(0x1db)](_0x5b0fac['almRc']);return;}try{let _0x3cf385,_0x24070c;switch(_0x145e68){case TestFrameworkState[_0x27a972(0x1ce)]:_0x3cf385=_0x13dbfd[_0x27a972(0x123)],_0x24070c=TestInfo['getTestUUID'](_0x3cf385['id']);if(_0x5b0fac[_0x27a972(0x1c3)](_0x3a501c,HookState[_0x27a972(0x162)])){logger[_0x27a972(0x1db)](_0x27a972(0x133)+_0x3cf385['id']);const _0x52eb26={};_0x52eb26['testUUID']=_0x24070c,_0x52eb26[_0x27a972(0x12a)]=_0x3cf385,_0x429100[_0x27a972(0x1c1)](this['parseCucumberTest'](_0x52eb26)),logger[_0x27a972(0x1db)]('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x3cf385['id']),await this[_0x27a972(0x16c)](_0x429100,_0x3cf385['id']);}else{if(_0x5b0fac[_0x27a972(0x1c3)](_0x3a501c,HookState[_0x27a972(0x128)])){const _0x1ab6dd={};_0x1ab6dd['testUUID']=_0x24070c,_0x1ab6dd['testData']=_0x3cf385,_0x429100[_0x27a972(0x1c1)](this[_0x27a972(0x1ae)](_0x1ab6dd)),await this[_0x27a972(0x16c)](_0x429100,_0x3cf385['id']);}}break;case TestFrameworkState['LOG_REPORT']:_0x5b0fac[_0x27a972(0x1c3)](_0x3a501c,HookState[_0x27a972(0x128)])&&await this['sendLogCreatedEvent'](_0x429100,_0x145e68,_0x13dbfd);break;default:if(CLIUtils[_0x27a972(0x1dc)](_0x145e68[_0x27a972(0x1d4)]()[_0x27a972(0x173)]('.')[0x1])){const _0x2750d7=await this['trackHookEvent'](_0x429100,_0x145e68,_0x3a501c,_0x13dbfd);_0x429100['addMultipleEntries'](_0x2750d7);}else logger[_0x27a972(0x1db)]('trackEvent:\x20unsupported\x20testFrameworkState='+_0x145e68+_0x27a972(0x1e2)+_0x3a501c);break;}}catch(_0x30ca6f){logger['error'](util['format'](_0x5b0fac[_0x27a972(0x1b1)],_0x145e68,_0x3a501c,_0x13dbfd[_0x27a972(0x119)],_0x30ca6f));}_0x13dbfd['instance']=_0x429100,await this['runHooks'](_0x429100,_0x145e68,_0x3a501c,_0x13dbfd);}[a70_0x3a789f(0x154)](_0x4de4c2,_0x39539e,_0x48e39d={}){const _0x1f219f=a70_0x3a789f,_0x10b620={};_0x10b620[_0x1f219f(0x1ca)]=function(_0x56526f,_0x608c1c){return _0x56526f===_0x608c1c;};const _0x45161b=_0x10b620;let _0x2a5a1a=null;return(_0x45161b[_0x1f219f(0x1ca)](_0x4de4c2,TestFrameworkState[_0x1f219f(0x1bd)])||_0x45161b[_0x1f219f(0x1ca)](_0x4de4c2,TestFrameworkState['NONE']))&&this['trackCucumberInstance'](_0x4de4c2,_0x48e39d),_0x2a5a1a=TestFramework[_0x1f219f(0x11f)](),_0x2a5a1a;}[a70_0x3a789f(0x1c7)](_0x444140,_0x1feda5){const _0x1b72a2=a70_0x3a789f,_0x515c6e=CLIUtils[_0x1b72a2(0x126)](),_0x2cab72=TrackedInstance[_0x1b72a2(0x168)](_0x515c6e);let _0x2979b6=null;logger[_0x1b72a2(0x1db)](_0x1b72a2(0x183)+_0x515c6e+_0x1b72a2(0x1d3)+_0x444140),_0x2979b6=new TestFrameworkInstance(_0x2cab72,this[_0x1b72a2(0x177)](),this[_0x1b72a2(0x13e)](),_0x444140,HookState[_0x1b72a2(0x146)]),TestFramework['setTrackedInstance'](_0x2cab72,_0x2979b6),logger[_0x1b72a2(0x1db)](_0x1b72a2(0x15f)+_0x2cab72[_0x1b72a2(0x11c)]()+_0x1b72a2(0x140)+_0x515c6e);}['parseCucumberTest'](_0x767f25){const _0x50b9d6=a70_0x3a789f,_0x42986b={};_0x42986b[_0x50b9d6(0x19f)]=_0x50b9d6(0x1a4);const _0x527007=_0x42986b,{testUUID:_0x480a38,testData:_0x2bd4e9}=_0x767f25;if(!_0x2bd4e9||!_0x2bd4e9[_0x50b9d6(0x144)])return logger[_0x50b9d6(0x1db)](_0x527007['phqMz']),{};const _0x3905ad=_0x2bd4e9[_0x50b9d6(0x144)],_0x3f21cb=_0x2bd4e9[_0x50b9d6(0x144)],_0x3f89a3=this['getTestFrameworks']()[0x0],_0x1d24f0=this[_0x50b9d6(0x13e)](),_0x496a0d={[TestFrameworkConstants[_0x50b9d6(0x17d)]]:_0x3f89a3,[TestFrameworkConstants[_0x50b9d6(0x1c6)]]:_0x1d24f0[_0x3f89a3],[TestFrameworkConstants[_0x50b9d6(0x12e)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x50b9d6(0x131)]]:{},[TestFrameworkConstants[_0x50b9d6(0x1dd)]]:_0x3905ad,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x50b9d6(0x17b)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x2bd4e9[_0x50b9d6(0x12c)]||'',[TestFrameworkConstants[_0x50b9d6(0x11b)]]:_0x2bd4e9[_0x50b9d6(0x156)]||'',[TestFrameworkConstants['KEY_TEST_ID']]:_0x3f21cb,[TestFrameworkConstants[_0x50b9d6(0x150)]]:_0x2bd4e9['name']||'',[TestFrameworkConstants[_0x50b9d6(0x137)]]:_0x2bd4e9[_0x50b9d6(0x122)]||'',[TestFrameworkConstants[_0x50b9d6(0x19a)]]:_0x2bd4e9[_0x50b9d6(0x187)]?.['code']||null,[TestFrameworkConstants[_0x50b9d6(0x198)]]:_0x2bd4e9[_0x50b9d6(0x159)]||[],[TestFrameworkConstants[_0x50b9d6(0x167)]]:_0x2bd4e9[_0x50b9d6(0x14b)]||new Date()[_0x50b9d6(0x194)](),[TestFrameworkConstants[_0x50b9d6(0x1c4)]]:_0x2bd4e9[_0x50b9d6(0x11e)]?.[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x2bd4e9[_0x50b9d6(0x11e)]||[],[TestFrameworkConstants[_0x50b9d6(0x18d)]]:_0x2bd4e9[_0x50b9d6(0x1ad)]?.[_0x50b9d6(0x193)]||_0x2bd4e9[_0x50b9d6(0x12c)]||'',[TestFrameworkConstants[_0x50b9d6(0x142)]]:{},[TestFrameworkConstants[_0x50b9d6(0x1d9)]]:_0x2bd4e9[_0x50b9d6(0x152)]||{}};TestInfo[_0x50b9d6(0x1b7)](_0x3f21cb,_0x496a0d),logger[_0x50b9d6(0x1db)]('Parsed\x20cucumber\x20test:\x20'+_0x2bd4e9['name']+_0x50b9d6(0x17a)+_0x3905ad);const _0x11216d={};return _0x11216d[_0x3f21cb]=_0x496a0d,_0x11216d;}[a70_0x3a789f(0x1ae)](_0x40fb72){const _0x3c4e3e=a70_0x3a789f,_0x3abb10={'OTxQX':_0x3c4e3e(0x170),'HGmNA':_0x3c4e3e(0x147),'kxNZj':function(_0x14a62d,_0x43f1db){return _0x14a62d===_0x43f1db;},'YaFBm':_0x3c4e3e(0x14a),'kkQGo':_0x3c4e3e(0x1a6),'cLfyW':function(_0x59826f,_0x5e7064,_0x348749){return _0x59826f(_0x5e7064,_0x348749);},'ycYEl':function(_0x564938,_0x280b6d){return _0x564938>_0x280b6d;},'MRrrj':function(_0x40660a,_0x3c4164){return _0x40660a>_0x3c4164;}},{testUUID:_0x296f55,testData:_0x51938c}=_0x40fb72;if(!_0x51938c||!_0x51938c[_0x3c4e3e(0x144)])return logger[_0x3c4e3e(0x1db)](_0x3abb10[_0x3c4e3e(0x1a2)]),{};const _0x68c9f4=this[_0x3c4e3e(0x154)](TestFrameworkState[_0x3c4e3e(0x1ce)],HookState['POST']),_0x344b2e=_0x51938c[_0x3c4e3e(0x144)],_0x536c23=TestInfo['getTestDetails'](_0x344b2e)||{},_0x3d0e6a=_0x536c23?_0x536c23[TestFrameworkConstants[_0x3c4e3e(0x142)]]||{}:{},_0x2e0a6a={..._0x536c23,[TestFrameworkConstants[_0x3c4e3e(0x14c)]]:_0x51938c[_0x3c4e3e(0x143)]||_0x3abb10[_0x3c4e3e(0x14e)],[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x51938c[_0x3c4e3e(0x18c)]||new Date()[_0x3c4e3e(0x194)](),[TestFrameworkConstants[_0x3c4e3e(0x188)]]:new Date()[_0x3c4e3e(0x194)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x3d0e6a,[TestFrameworkConstants[_0x3c4e3e(0x166)]]:[],[TestFrameworkConstants[_0x3c4e3e(0x1d9)]]:_0x51938c['meta']||{}};_0x3abb10['kxNZj'](_0x51938c['result'],_0x3abb10['YaFBm'])&&_0x51938c[_0x3c4e3e(0x18b)]&&(_0x2e0a6a[TestFrameworkConstants[_0x3c4e3e(0x135)]]=_0x51938c[_0x3c4e3e(0x172)]||_0x3abb10[_0x3c4e3e(0x124)],_0x2e0a6a[TestFrameworkConstants[_0x3c4e3e(0x1b9)]]=_0x51938c['failure_reason']||'',_0x2e0a6a[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x51938c[_0x3c4e3e(0x18b)]);const _0x28d6ef=TestInfo[_0x3c4e3e(0x15c)](_0x344b2e)[TestFrameworkConstants[_0x3c4e3e(0x145)]]||{},_0x432c76=_0x3abb10['cLfyW'](getManualUploadLogs,_0x28d6ef,_0x68c9f4[_0x3c4e3e(0x1a8)]()['get'](_0x344b2e)[TestFrameworkConstants[_0x3c4e3e(0x1dd)]]);if(_0x3abb10[_0x3c4e3e(0x132)](_0x432c76[_0x3c4e3e(0x119)],0x0)){const _0x16b932=_0x2e0a6a[TestFrameworkConstants[_0x3c4e3e(0x166)]]||[];_0x2e0a6a[TestFrameworkConstants[_0x3c4e3e(0x166)]]=[..._0x16b932,..._0x432c76];}_0x51938c['hooks']&&_0x3abb10[_0x3c4e3e(0x1cd)](_0x51938c[_0x3c4e3e(0x185)][_0x3c4e3e(0x119)],0x0)&&(_0x2e0a6a[TestFrameworkConstants[_0x3c4e3e(0x192)]]=_0x51938c[_0x3c4e3e(0x185)]);TestInfo['setTestDetails'](_0x344b2e,_0x2e0a6a),logger[_0x3c4e3e(0x1db)]('Updated\x20cucumber\x20test\x20result:\x20'+_0x51938c[_0x3c4e3e(0x12c)]+_0x3c4e3e(0x1bc)+_0x51938c[_0x3c4e3e(0x143)]);const _0x305e9f={};return _0x305e9f[_0x344b2e]=_0x2e0a6a,_0x305e9f;}async[a70_0x3a789f(0x197)](_0x580391,_0x64bbb8,_0x2d50b8,_0x586351){const _0x2a190c=a70_0x3a789f,_0x49c514={'AypFY':_0x2a190c(0x16a),'KGjgB':function(_0x3fb037){return _0x3fb037();},'nrMro':function(_0x1e8536,_0x33ca02){return _0x1e8536 in _0x33ca02;},'TDYVC':function(_0x3dffdb,_0x40af86){return _0x3dffdb===_0x40af86;},'WIFft':function(_0x6e5664,_0x5bc8e4){return _0x6e5664>_0x5bc8e4;},'DCGMI':function(_0x2a4ff5,_0x97903b){return _0x2a4ff5===_0x97903b;},'syxFD':_0x2a190c(0x14a),'lkbtW':_0x2a190c(0x1a6),'izPeE':_0x2a190c(0x17f),'mGtkz':function(_0x119630,_0xec9fd7){return _0x119630!==_0xec9fd7;}},{hookData:_0x1fe5da}=_0x586351;if(!_0x1fe5da)return logger[_0x2a190c(0x1db)](_0x49c514['AypFY']),{};const _0x25f9fc=_0x1fe5da['uuid']||_0x49c514[_0x2a190c(0x160)](uuidv4),_0x4d7ab2=_0x1fe5da[_0x2a190c(0x125)],_0x1e1972=_0x64bbb8[_0x2a190c(0x1d4)]()[_0x2a190c(0x173)]('.')[0x1],_0x227b66=TestInfo['getTestDetails'](_0x4d7ab2)[TestFrameworkConstants[_0x2a190c(0x142)]]||{},_0x6b8270=_0x580391[_0x2a190c(0x1a8)]()[_0x2a190c(0x134)](_0x4d7ab2);if(!_0x6b8270)return logger['debug'](_0x2a190c(0x13f)+_0x4d7ab2+',\x20storing\x20as\x20pending\x20hook'),this['storePendingHook'](_0x580391,_0x4d7ab2,_0x64bbb8,_0x2d50b8,_0x586351),{};let _0x119213=_0x6b8270[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x119213&&(_0x119213={});!_0x49c514[_0x2a190c(0x169)](_0x1e1972,_0x119213)&&(_0x119213[_0x1e1972]=[]);let _0x34e6e3=_0x6b8270[TestFrameworkConstants[_0x2a190c(0x192)]];!_0x34e6e3&&(_0x34e6e3={});!_0x49c514[_0x2a190c(0x169)](_0x1e1972,_0x34e6e3)&&(_0x34e6e3[_0x1e1972]=[]);const _0x3f4be3={[TestFrameworkConstants[_0x2a190c(0x131)]]:_0x119213,[TestFrameworkConstants[_0x2a190c(0x192)]]:_0x34e6e3},_0x464a89={};_0x464a89[_0x4d7ab2]=_0x3f4be3;const _0x4d03a4=_0x464a89;if(_0x49c514[_0x2a190c(0x158)](_0x2d50b8,HookState[_0x2a190c(0x162)])){const _0x3ae3cc={[TestFrameworkConstants[_0x2a190c(0x1b4)]]:_0x25f9fc,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x2a190c(0x149)],[TestFrameworkConstants[_0x2a190c(0x1b3)]]:_0x1fe5da[_0x2a190c(0x148)],[TestFrameworkConstants[_0x2a190c(0x141)]]:[],[TestFrameworkConstants[_0x2a190c(0x179)]]:_0x1fe5da[_0x2a190c(0x12f)],[TestFrameworkConstants[_0x2a190c(0x142)]]:_0x227b66};_0x3ae3cc[_0x2a190c(0x1a9)]=_0x1e1972;const _0xf651cd=_0x3ae3cc;_0x119213[_0x1e1972][_0x2a190c(0x19d)](_0xf651cd),_0x4d03a4[_0x4d7ab2][TestFrameworkConstants[_0x2a190c(0x1b2)]]=_0x1e1972,logger['debug'](_0x2a190c(0x171)+_0x1e1972+_0x2a190c(0x19c)+_0xf651cd+_0x2a190c(0x1e0)+_0x586351);}else{if(_0x49c514['TDYVC'](_0x2d50b8,HookState[_0x2a190c(0x128)])){const _0xaa3a11=_0x1fe5da[_0x2a190c(0x143)],_0x32e292=_0x119213[_0x1e1972]||[];logger[_0x2a190c(0x1db)](_0x2a190c(0x1c2)+_0x32e292+_0x2a190c(0x176)+_0x586351);if(_0x49c514[_0x2a190c(0x1cc)](_0x32e292[_0x2a190c(0x119)],0x0)){const _0x39ff4d=_0x32e292[_0x2a190c(0x1a0)]();_0x49c514[_0x2a190c(0x1bf)](_0x1fe5da[_0x2a190c(0x143)],_0x49c514[_0x2a190c(0x1e5)])&&_0x1fe5da[_0x2a190c(0x18f)]?(_0x39ff4d[TestFrameworkConstants[_0x2a190c(0x191)]]=_0x1fe5da[_0x2a190c(0x172)]||_0x49c514[_0x2a190c(0x1d2)],_0x39ff4d[TestFrameworkConstants[_0x2a190c(0x1c0)]]=_0x1fe5da[_0x2a190c(0x1aa)]||'',_0x39ff4d[TestFrameworkConstants[_0x2a190c(0x1c5)]]=_0x1fe5da[_0x2a190c(0x18f)]):_0x39ff4d[TestFrameworkConstants[_0x2a190c(0x1a5)]]=_0x49c514[_0x2a190c(0x1da)];_0x49c514['mGtkz'](_0xaa3a11,TestFrameworkConstants[_0x2a190c(0x149)])&&(_0x39ff4d[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0xaa3a11);_0x39ff4d[TestFrameworkConstants[_0x2a190c(0x165)]]=_0x1fe5da[_0x2a190c(0x15a)]||new Date()[_0x2a190c(0x194)](),_0x39ff4d[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x227b66;const _0x2ba439=_0x39ff4d[TestFrameworkConstants[_0x2a190c(0x1b4)]];!_0x34e6e3[_0x1e1972]&&(_0x34e6e3[_0x1e1972]=[]),_0x34e6e3[_0x1e1972][_0x2a190c(0x19d)](_0x39ff4d),_0x4d03a4[_0x4d7ab2][TestFrameworkConstants[_0x2a190c(0x189)]]=_0x1e1972;}}}return logger[_0x2a190c(0x1db)](_0x2a190c(0x199)+_0x1fe5da[_0x2a190c(0x12f)]+_0x2a190c(0x1d8)+_0x25f9fc+'\x20for\x20test:\x20'+_0x4d7ab2),_0x4d03a4;}['createTestFrameworkEventPayload'](_0x580092){const _0x178e6b=a70_0x3a789f,_0x100c4e={};_0x100c4e[_0x178e6b(0x1a3)]=_0x178e6b(0x1ba);const _0x254fc1=_0x100c4e;try{const _0x395ad0=_0x580092[_0x178e6b(0x123)]?_0x580092[_0x178e6b(0x123)]['id']:_0x580092[_0x178e6b(0x1e4)][_0x178e6b(0x125)],_0x17ed5f=_0x580092[_0x178e6b(0x1b6)],_0x1b8938=_0x17ed5f['getContext'](),_0xd3cc2a=_0x17ed5f[_0x178e6b(0x1a8)]()['get'](_0x395ad0);if(!_0xd3cc2a)return logger[_0x178e6b(0x1db)](_0x178e6b(0x155)+_0x395ad0),{};logger['debug'](_0x178e6b(0x1d0)+_0x395ad0);const {[TestFrameworkConstants[_0x178e6b(0x17d)]]:_0x332efc='',[TestFrameworkConstants[_0x178e6b(0x1c6)]]:_0x41c478='',[TestFrameworkConstants[_0x178e6b(0x167)]]:_0x405a6d='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x54dd43=''}=_0xd3cc2a,_0x3ff64b=_0x17ed5f[_0x178e6b(0x14d)]()['toString']()[_0x178e6b(0x173)]('.')[0x1],_0x1a3291=_0x17ed5f[_0x178e6b(0x153)]()[_0x178e6b(0x1d4)]()['split']('.')[0x1],_0x3c3572=global?.['__workerDetails']?.[_0x178e6b(0x16f)]?.[_0x178e6b(0x178)],_0x4c5ce0=_0x17ed5f['getRef'](),_0x563637=Buffer[_0x178e6b(0x15e)](JSON[_0x178e6b(0x181)](_0xd3cc2a))['toString'](_0x254fc1[_0x178e6b(0x1a3)]),_0x8e22e2={'hash':_0x1b8938[_0x178e6b(0x11c)](),'threadId':_0x1b8938['getThreadId']()[_0x178e6b(0x1d4)](),'processId':_0x1b8938[_0x178e6b(0x139)]()[_0x178e6b(0x1d4)]()},_0x50521f={};_0x50521f['platformIndex']=_0x3c3572,_0x50521f[_0x178e6b(0x138)]=_0x332efc,_0x50521f['testFrameworkVersion']=_0x41c478,_0x50521f['testFrameworkState']=_0x3ff64b,_0x50521f[_0x178e6b(0x180)]=_0x1a3291,_0x50521f[_0x178e6b(0x14b)]=_0x405a6d,_0x50521f[_0x178e6b(0x1c8)]=_0x54dd43,_0x50521f[_0x178e6b(0x144)]=_0x4c5ce0,_0x50521f[_0x178e6b(0x1cb)]=_0x563637,_0x50521f['executionContext']=_0x8e22e2;const _0x2a9744=_0x50521f;return logger[_0x178e6b(0x1db)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x395ad0+'\x20testState:\x20'+_0x3ff64b+'\x20hookState:\x20'+_0x1a3291),_0x2a9744;}catch(_0x1d3c24){return logger[_0x178e6b(0x1bb)](_0x178e6b(0x1d1)+util[_0x178e6b(0x121)](_0x1d3c24)),{};}}async['sendLogCreatedEvent'](_0x2b5c8c,_0x532c6e,_0x4af063){const _0x122b6e=a70_0x3a789f,_0x3dc1d5={'rgaNO':function(_0x53200d,_0x56f326,_0x3b6e61){return _0x53200d(_0x56f326,_0x3b6e61);},'QFSJd':function(_0x213adc,_0x4fcba9){return _0x213adc===_0x4fcba9;},'jwbUz':_0x122b6e(0x130),'SlTWd':function(_0x18b220,_0x453912){return _0x18b220/_0x453912;},'ztTBA':function(_0x3a6429,_0xaa174a){return _0x3a6429<_0xaa174a;},'EtvCj':function(_0x184ea5,_0x2730eb){return _0x184ea5*_0x2730eb;},'yQWti':function(_0x437d94,_0x1215da){return _0x437d94+_0x1215da;},'GXJxC':_0x122b6e(0x174)};try{const _0x14751f=_0x4af063[_0x122b6e(0x182)],_0x2de7e5=_0x2b5c8c[_0x122b6e(0x1a8)]()[_0x122b6e(0x134)](_0x14751f),{[TestFrameworkConstants[_0x122b6e(0x17d)]]:_0x93e4ec='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x2ee929=''}=_0x2de7e5,_0x50eb5f=TestInfo[_0x122b6e(0x161)](_0x14751f),_0x3db93d=TestInfo[_0x122b6e(0x15c)](_0x14751f)[TestFrameworkConstants[_0x122b6e(0x145)]]||{},_0x3307a0=_0x3dc1d5[_0x122b6e(0x19b)](getMediaArtifactsLogs,_0x3db93d,_0x2b5c8c[_0x122b6e(0x1a8)]()[_0x122b6e(0x134)](_0x14751f)[TestFrameworkConstants[_0x122b6e(0x1dd)]]),_0x4ad89e=(_0x50eb5f||[])[_0x122b6e(0x19e)](_0x3307a0||[]);if(!_0x4ad89e||_0x3dc1d5[_0x122b6e(0x129)](_0x4ad89e[_0x122b6e(0x119)],0x0)){logger[_0x122b6e(0x1db)](_0x3dc1d5[_0x122b6e(0x190)]);return;}const _0x23bf33=0x28,_0x48d9a9=Math[_0x122b6e(0x11d)](_0x3dc1d5['SlTWd'](_0x4ad89e['length'],_0x23bf33));for(let _0x2ffd59=0x0;_0x3dc1d5['ztTBA'](_0x2ffd59,_0x48d9a9);_0x2ffd59++){const _0x3ec98d=_0x3dc1d5[_0x122b6e(0x157)](_0x2ffd59,_0x23bf33),_0x4548e9=_0x3dc1d5[_0x122b6e(0x18a)](_0x3ec98d,_0x23bf33),_0x1d0308=_0x4ad89e[_0x122b6e(0x120)](_0x3ec98d,_0x4548e9),_0x15a55c={'platformIndex':'0','logs':_0x1d0308,'testFrameworkName':_0x93e4ec,'testFrameworkVersion':_0x2ee929,'testFrameworkState':_0x532c6e[_0x122b6e(0x1d4)]()[_0x122b6e(0x173)]('.')[0x1]};logger[_0x122b6e(0x1db)](_0x122b6e(0x12b)+_0x14751f+_0x122b6e(0x12d)+_0x3dc1d5['yQWti'](_0x2ffd59,0x1)+'/'+_0x48d9a9+_0x122b6e(0x1df)+util[_0x122b6e(0x186)](_0x15a55c));const _0x2f311f=await GrpcClient[_0x122b6e(0x1e3)]()[_0x122b6e(0x15d)](_0x15a55c);logger['debug'](_0x122b6e(0x12b)+_0x14751f+'\x20batch\x20'+_0x3dc1d5[_0x122b6e(0x18a)](_0x2ffd59,0x1)+'/'+_0x48d9a9+_0x122b6e(0x13d)+util[_0x122b6e(0x186)](_0x2f311f));}}catch(_0x15d666){logger[_0x122b6e(0x1bb)](_0x122b6e(0x16e)+util[_0x122b6e(0x121)](_0x15d666));}logger[_0x122b6e(0x1db)](_0x3dc1d5[_0x122b6e(0x17e)]);}[a70_0x3a789f(0x16d)](_0x4c39a5,_0x5321f7,_0x20feb1,_0x113968,_0x254685){const _0x1dfd21=a70_0x3a789f,_0x501595={'testId':_0x5321f7,'testFrameworkState':_0x20feb1,'hookState':_0x113968,'args':_0x254685,'timestamp':new Date()[_0x1dfd21(0x194)]()};_0x4c39a5[_0x1dfd21(0x1b8)](_0x5321f7,_0x501595),logger[_0x1dfd21(0x1db)](_0x1dfd21(0x13c)+_0x5321f7+',\x20state:\x20'+_0x20feb1+_0x1dfd21(0x1b0)+_0x113968);}async[a70_0x3a789f(0x16c)](_0xbafb53,_0x3405a9){const _0x5a4266=a70_0x3a789f,_0x4fbfd0={};_0x4fbfd0[_0x5a4266(0x1ab)]=function(_0x18d78f,_0x4b50f4){return _0x18d78f>_0x4b50f4;};const _0x457c51=_0x4fbfd0;if(!_0xbafb53['hasPendingHooks'](_0x3405a9))return;const _0x164d73=_0xbafb53[_0x5a4266(0x1c9)](_0x3405a9);logger[_0x5a4266(0x1db)]('Processing\x20'+_0x164d73[_0x5a4266(0x119)]+_0x5a4266(0x16b)+_0x3405a9);for(const _0x30d713 of _0x164d73){try{const _0x51a845=await this[_0x5a4266(0x197)](_0xbafb53,_0x30d713[_0x5a4266(0x11a)],_0x30d713[_0x5a4266(0x180)],_0x30d713['args']);_0x51a845&&_0x457c51[_0x5a4266(0x1ab)](Object[_0x5a4266(0x184)](_0x51a845)['length'],0x0)&&_0xbafb53[_0x5a4266(0x1c1)](_0x51a845),await this[_0x5a4266(0x136)](_0xbafb53,_0x30d713[_0x5a4266(0x11a)],_0x30d713['hookState'],_0x30d713[_0x5a4266(0x18e)]);}catch(_0x2f5178){logger['error'](_0x5a4266(0x13a)+_0x3405a9+',\x20error:\x20'+_0x2f5178);}}_0xbafb53['removePendingHooks'](_0x3405a9),logger[_0x5a4266(0x1db)]('Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20'+_0x3405a9);}}module[a70_0x3a789f(0x1af)]=CucumberTestFramework;function a70_0x33dd(){const _0x1098f7=['endedAt','getPendingHooks','DiOoe','eventJson','WIFft','MRrrj','TEST','trackEvent','createTestFrameworkEventPayload\x20testId:\x20','Error\x20in\x20createTestFrameworkEventPayload:\x20','lkbtW',',\x20state=','toString','../instances/trackedInstance.js','../../../helpers/classLogger.js','./testFramework','\x20with\x20id\x20','KEY_TEST_META','izPeE','debug','matchHookRegex','KEY_TEST_UUID','../TestInfo.js','\x20payload=','\x20\x20and\x20args\x20=\x20','2410482kjmOVz','\x20&\x20hookState=','getInstance','hookData','syxFD','length','testFrameworkState','KEY_TEST_FILE_PATH','getId','ceil','scopes','getTrackedInstance','slice','format','location','test','kkQGo','test_run_id','getCurrentInstanceName','../grpcClient','POST','QFSJd','testData','sendLogCreatedEvent:\x20for\x20testId:\x20','name','\x20batch\x20','KEY_TEST_LOGS','hook_type','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','KEY_HOOKS_STARTED','ycYEl','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','get','KEY_TEST_FAILURE_TYPE','runHooks','KEY_TEST_LOCATION','testFrameworkName','getProcessId','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','5036760FzFMwg','Stored\x20pending\x20hook\x20for\x20testId:\x20','\x20response=','getTestFrameworksVersions','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','\x20target=','KEY_HOOK_LOGS','KEY_CUSTOM_TAGS','result','uuid','KEY_TEST_ATTACHMENTS','NONE','unknown','started_at','DEFAULT_HOOK_RESULT','failed','startedAt','KEY_TEST_RESULT','getCurrentTestState','HGmNA','4009041VRQfUx','KEY_TEST_NAME','util','meta','getCurrentHookState','resolveInstance','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','file_name','EtvCj','TDYVC','tags','finished_at','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','getTestDetails','logCreatedEvent','from','trackCucumberInstance:\x20saved\x20instance\x20contextId=','KGjgB','readLogObjects','PRE','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','563784IdMIYm','KEY_EVENT_ENDED_AT','KEY_LOGS','KEY_TEST_STARTED_AT','createContext','nrMro','No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','\x20pending\x20hooks\x20for\x20testId:\x20','processPendingHooks','storePendingHook','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','workerInfo','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','failure_type','split','Cucumber\x20log\x20created\x20event','7uEeyEY','\x20and\x20args\x20=\x20','getTestFrameworks','parallelIndex','KEY_HOOK_NAME','\x20with\x20UUID:\x20','DEFAULT_TEST_RESULT','4rcvMjb','KEY_TEST_FRAMEWORK_NAME','GXJxC','passed','hookState','stringify','testUUID','trackCucumberInstance:\x20created\x20instance\x20for\x20target=','keys','hooks','inspect','body','KEY_TEST_RESULT_AT','KEY_HOOK_LAST_FINISHED','yQWti','failure','finishedAt','KEY_TEST_RERUN_NAME','args','failure_data','jwbUz','KEY_HOOK_FAILURE_TYPE','KEY_HOOKS_FINISHED','rerun_name','toISOString','395620uTXSbC','../state/hookState.js','trackHookEvent','KEY_TEST_TAGS','Tracked\x20cucumber\x20hook\x20event:\x20','KEY_TEST_CODE','rgaNO','\x20&\x20hook\x20=\x20','push','concat','phqMz','pop','55150HVpzWB','OTxQX','LKcXM','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','KEY_HOOK_RESULT','UnhandledError','CucumberTestFramework','getAllData','key','failure_reason','FXopv','../instances/testFrameworkInstance.js','customRerunParam','parseCucumberTestResult','exports',',\x20hookState:\x20','ydNDo','KEY_HOOK_LAST_STARTED','KEY_EVENT_STARTED_AT','KEY_HOOK_ID','14905HlpRcM','instance','setTestDetails','addPendingHook','KEY_TEST_FAILURE_REASON','base64','error','\x20with\x20result:\x20','INIT_TEST','500wdeRuC','DCGMI','KEY_HOOK_FAILURE_REASON','addMultipleEntries','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','RRpWx','KEY_TEST_SCOPE','KEY_HOOK_FAILURE','KEY_TEST_FRAMEWORK_VERSION','trackCucumberInstance'];a70_0x33dd=function(){return _0x1098f7;};return a70_0x33dd();}
1
+ function a70_0x4f25(){const _0x1fce01=['tucIy','vFSdz','trackEvent:\x20unsupported\x20testFrameworkState=','resolveInstance','WOSMd','JVhUv','PCUTj','getTestFrameworks','../../../helpers/helper.js','pop','hfOZb','sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping','uuid','qFrdl','KEY_HOOK_LAST_STARTED','POST','parseCucumberTestResult','executionContext','3TSStEp','ANuvi','Updated\x20cucumber\x20test\x20result:\x20','DEFAULT_HOOK_RESULT','failure_reason','XbCyG','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test\x20result','KEY_TEST_RERUN_NAME','KEY_TEST_ID','get','finished_at','psZMA','KEY_HOOK_FAILURE','5REmePv','Processing\x20','KEY_TEST_FAILURE_REASON','Cucumber\x20log\x20created\x20event','KEY_TEST_ENDED_AT','testData','nTENw','result','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','ceil','../state/hookState.js','failure','from','LqROE','removePendingHooks','./constants/testFrameworkConstants.js','InQGu','KEY_HOOKS_FINISHED','sendLogCreatedEvent','MFfjV','processPendingHooks','name','\x20target=','platformIndex','split','\x20with\x20UUID:\x20','sendLogCreatedEvent:\x20Error\x20in\x20sending\x20log\x20events:\x20','startedAt','args','Tracked\x20cucumber\x20hook\x20event:\x20','No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','getTestDetails','KEY_TEST_NAME','156358rrnwAw','endedAt','hooks','DEFAULT_TEST_RESULT','getCurrentInstanceName','meta','XAyNJ','INIT_TEST','addPendingHook','saQrH','getId','KEY_HOOK_FAILURE_REASON','customRerunParam','../TestInfo.js','KEY_HOOKS_STARTED','KEY_HOOK_LAST_FINISHED','\x20testState:\x20','\x20with\x20result:\x20','hook_type','KEY_TEST_META','getRef','NONE','KEY_TEST_ATTACHMENTS','KEY_LOGS','location','getProcessId','base64','857318wHcfYf','createTestFrameworkEventPayload','../instances/trackedInstance.js','parallelIndex','No\x20test\x20data\x20or\x20UUID\x20found\x20for\x20cucumber\x20test','instance','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','KEY_CUSTOM_TAGS','passed','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','error','ZtXNM','../grpcClient','trackEvent','trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','KEY_TEST_SCOPES','scopes','exports','file_name','inspect','UnhandledError','\x20with\x20id\x20','test_run_id','failure_type','3882MiEmBI','\x20\x20and\x20args\x20=\x20','QDBwi','KEY_TEST_FILE_PATH','PRE','KEY_TEST_FRAMEWORK_VERSION','KEY_HOOK_LOGS','testFrameworkState','Stored\x20pending\x20hook\x20for\x20testId:\x20','jwTwB','\x20batch\x20','1591072wNUUVn','concat','__workerDetails','../cliUtils.js','body','xDimP','hookData','Parsed\x20cucumber\x20test:\x20','KEY_TEST_LOGS','trackHookEvent:\x20Hook\x20List\x20in\x20Post\x20','getThreadId','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','KEY_TEST_STARTED_AT','workerInfo','HiTOX','finishedAt','iqoYN','KEY_HOOK_FAILURE_TYPE','KEY_TEST_FRAMEWORK_NAME',',\x20hookState:\x20','caMxd','toISOString','\x20and\x20args\x20=\x20','test','tags','KEY_TEST_RESULT','toString','rerun_name','UlfAF','stringify','addMultipleEntries','testFrameworkVersion','\x20response=','LOG_REPORT','failure_data','bKuNp','\x20&\x20hook\x20=\x20','uaXhG','format','KEY_HOOK_NAME','1293516trcgDP','createContext','2355RWmNiL','started_at','wSQSt','push','\x20&\x20hookState=','trackHookEvent','EfESd','NSyeh','setTrackedInstance','getAllData','704152TPUipy','KEY_TEST_LOCATION','testUUID','sendLogCreatedEvent:\x20for\x20testId:\x20','\x20hookState:\x20','getInstance','\x20payload=','KEY_EVENT_STARTED_AT','\x20for\x20test:\x20','keys','trackHookEvent:\x20Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','runHooks','eventJson','cAryh','uBPWa','debug','storePendingHook','KEY_HOOK_RESULT','getCurrentTestState','KEY_TEST_UUID','getTestUUID','length','bEhbJ','failed','testFrameworkName','parseCucumberTest','trackCucumberInstance',',\x20storing\x20as\x20pending\x20hook','TEST','../state/testFrameworkState.js','setTestDetails','getTestFrameworksVersions','AsYdZ','DkLoW','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','createTestFrameworkEventPayload\x20testId:\x20','../../../helpers/classLogger.js'];a70_0x4f25=function(){return _0x1fce01;};return a70_0x4f25();}const a70_0x130d64=a70_0x1294;(function(_0x50671a,_0x2a9e13){const _0x23e3e2=a70_0x1294,_0x5850=_0x50671a();while(!![]){try{const _0x38f4b4=parseInt(_0x23e3e2(0x163))/0x1+-parseInt(_0x23e3e2(0x1d2))/0x2*(-parseInt(_0x23e3e2(0x1a4))/0x3)+-parseInt(_0x23e3e2(0x16d))/0x4*(parseInt(_0x23e3e2(0x1b1))/0x5)+-parseInt(_0x23e3e2(0x205))/0x6+-parseInt(_0x23e3e2(0x1ed))/0x7+parseInt(_0x23e3e2(0x210))/0x8+parseInt(_0x23e3e2(0x161))/0x9;if(_0x38f4b4===_0x2a9e13)break;else _0x5850['push'](_0x5850['shift']());}catch(_0x1b2fd7){_0x5850['push'](_0x5850['shift']());}}}(a70_0x4f25,0x1e44f));const TestFramework=require('./testFramework'),TestFrameworkState=require(a70_0x130d64(0x18a)),HookState=require(a70_0x130d64(0x1bb)),{createClassLogger}=require(a70_0x130d64(0x191)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a70_0x130d64(0x13c)),TrackedInstance=require(a70_0x130d64(0x1ef)),TestFrameworkConstants=require(a70_0x130d64(0x1c0)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a70_0x130d64(0x19a)),logger=createClassLogger('CucumberTestFramework'),{v4:uuidv4}=require(a70_0x130d64(0x19e)),util=require('util'),TestInfo=require(a70_0x130d64(0x1df)),GrpcClient=require(a70_0x130d64(0x1f9));function a70_0x1294(_0x18b4d4,_0x24f54b){const _0x4f2585=a70_0x4f25();return a70_0x1294=function(_0x129445,_0x269838){_0x129445=_0x129445-0x13c;let _0x32d01a=_0x4f2585[_0x129445];return _0x32d01a;},a70_0x1294(_0x18b4d4,_0x24f54b);}class CucumberTestFramework extends TestFramework{constructor(_0x3a6df1,_0x3bbfce,_0x48ccff){super(_0x3a6df1,_0x3bbfce,_0x48ccff);}async[a70_0x130d64(0x1fa)](_0x866f05,_0x320b3c,_0x553fc5={}){const _0x1deb76=a70_0x130d64,_0x2e5efc={};_0x2e5efc['ZtXNM']=_0x1deb76(0x1fb),_0x2e5efc[_0x1deb76(0x17b)]=function(_0x599c84,_0x19f9eb){return _0x599c84===_0x19f9eb;},_0x2e5efc['cMEST']=function(_0x1128d9,_0x2ea4e1){return _0x1128d9===_0x2ea4e1;},_0x2e5efc[_0x1deb76(0x1c1)]=function(_0x2a8d79,_0xf22bbd){return _0x2a8d79===_0xf22bbd;},_0x2e5efc[_0x1deb76(0x13e)]='trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s';const _0x1bcc17=_0x2e5efc;await super[_0x1deb76(0x1fa)](_0x866f05,_0x320b3c,_0x553fc5);const _0x1177e0=this[_0x1deb76(0x195)](_0x866f05,_0x320b3c,_0x553fc5);if(!_0x1177e0){logger[_0x1deb76(0x17c)](_0x1bcc17[_0x1deb76(0x1f8)]);return;}try{let _0x162fe2,_0x1d8551;switch(_0x866f05){case TestFrameworkState[_0x1deb76(0x189)]:_0x162fe2=_0x553fc5[_0x1deb76(0x150)],_0x1d8551=TestInfo[_0x1deb76(0x181)](_0x162fe2['id']);if(_0x1bcc17[_0x1deb76(0x17b)](_0x320b3c,HookState[_0x1deb76(0x209)])){logger['debug'](_0x1deb76(0x1b9)+_0x162fe2['id']);const _0x54c987={};_0x54c987['testUUID']=_0x1d8551,_0x54c987[_0x1deb76(0x1b6)]=_0x162fe2,_0x1177e0[_0x1deb76(0x157)](this[_0x1deb76(0x186)](_0x54c987)),logger['debug']('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x162fe2['id']),await this['processPendingHooks'](_0x1177e0,_0x162fe2['id']);}else{if(_0x1bcc17['cMEST'](_0x320b3c,HookState[_0x1deb76(0x1a1)])){const _0x249eab={};_0x249eab[_0x1deb76(0x16f)]=_0x1d8551,_0x249eab[_0x1deb76(0x1b6)]=_0x162fe2,_0x1177e0[_0x1deb76(0x157)](this[_0x1deb76(0x1a2)](_0x249eab)),await this[_0x1deb76(0x1c5)](_0x1177e0,_0x162fe2['id']);}}break;case TestFrameworkState[_0x1deb76(0x15a)]:_0x1bcc17[_0x1deb76(0x1c1)](_0x320b3c,HookState[_0x1deb76(0x1a1)])&&await this[_0x1deb76(0x1c3)](_0x1177e0,_0x866f05,_0x553fc5);break;default:if(CLIUtils['matchHookRegex'](_0x866f05[_0x1deb76(0x153)]()[_0x1deb76(0x1c9)]('.')[0x1])){const _0x35248c=await this[_0x1deb76(0x168)](_0x1177e0,_0x866f05,_0x320b3c,_0x553fc5);_0x1177e0[_0x1deb76(0x157)](_0x35248c);}else logger[_0x1deb76(0x17c)](_0x1deb76(0x194)+_0x866f05+_0x1deb76(0x167)+_0x320b3c);break;}}catch(_0x9d0745){logger['error'](util[_0x1deb76(0x15f)](_0x1bcc17[_0x1deb76(0x13e)],_0x866f05,_0x320b3c,_0x553fc5[_0x1deb76(0x182)],_0x9d0745));}_0x553fc5[_0x1deb76(0x1f2)]=_0x1177e0,await this[_0x1deb76(0x178)](_0x1177e0,_0x866f05,_0x320b3c,_0x553fc5);}[a70_0x130d64(0x195)](_0x58d262,_0x39e173,_0x36830f={}){const _0x39f117=a70_0x130d64,_0x3747a9={};_0x3747a9['HnUDZ']=function(_0x58c97e,_0x256d59){return _0x58c97e===_0x256d59;},_0x3747a9[_0x39f117(0x1d8)]=function(_0x1b3612,_0x1c9d12){return _0x1b3612===_0x1c9d12;};const _0xeef250=_0x3747a9;let _0xe20ec8=null;return(_0xeef250['HnUDZ'](_0x58d262,TestFrameworkState[_0x39f117(0x1d9)])||_0xeef250[_0x39f117(0x1d8)](_0x58d262,TestFrameworkState[_0x39f117(0x1e7)]))&&this[_0x39f117(0x187)](_0x58d262,_0x36830f),_0xe20ec8=TestFramework['getTrackedInstance'](),_0xe20ec8;}[a70_0x130d64(0x187)](_0x16233c,_0x4ec138){const _0x4d2a9b=a70_0x130d64,_0x3b85af=CLIUtils[_0x4d2a9b(0x1d6)](),_0x3d1667=TrackedInstance[_0x4d2a9b(0x162)](_0x3b85af);let _0x28c992=null;logger['debug']('trackCucumberInstance:\x20created\x20instance\x20for\x20target='+_0x3b85af+',\x20state='+_0x16233c),_0x28c992=new TestFrameworkInstance(_0x3d1667,this[_0x4d2a9b(0x199)](),this[_0x4d2a9b(0x18c)](),_0x16233c,HookState[_0x4d2a9b(0x1e7)]),TestFramework[_0x4d2a9b(0x16b)](_0x3d1667,_0x28c992),logger[_0x4d2a9b(0x17c)]('trackCucumberInstance:\x20saved\x20instance\x20contextId='+_0x3d1667[_0x4d2a9b(0x1dc)]()+_0x4d2a9b(0x1c7)+_0x3b85af);}[a70_0x130d64(0x186)](_0x47a856){const _0x4e90f6=a70_0x130d64,_0x32a401={};_0x32a401[_0x4e90f6(0x18d)]=_0x4e90f6(0x1f1);const _0xa49605=_0x32a401,{testUUID:_0x3c60b1,testData:_0x826117}=_0x47a856;if(!_0x826117||!_0x826117[_0x4e90f6(0x19e)])return logger[_0x4e90f6(0x17c)](_0xa49605[_0x4e90f6(0x18d)]),{};const _0x14b023=_0x3c60b1,_0x109dbd=_0x826117['uuid'],_0x1bc676=this['getTestFrameworks']()[0x0],_0x290940=this[_0x4e90f6(0x18c)](),_0x17295d={[TestFrameworkConstants[_0x4e90f6(0x14b)]]:_0x1bc676,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x290940[_0x1bc676],[TestFrameworkConstants[_0x4e90f6(0x141)]]:[],[TestFrameworkConstants[_0x4e90f6(0x1c2)]]:{},[TestFrameworkConstants[_0x4e90f6(0x1e0)]]:{},[TestFrameworkConstants[_0x4e90f6(0x180)]]:_0x14b023,[TestFrameworkConstants[_0x4e90f6(0x152)]]:TestFrameworkConstants[_0x4e90f6(0x1d5)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x826117[_0x4e90f6(0x1c6)]||'',[TestFrameworkConstants[_0x4e90f6(0x208)]]:_0x826117[_0x4e90f6(0x1ff)]||'',[TestFrameworkConstants[_0x4e90f6(0x1ac)]]:_0x109dbd,[TestFrameworkConstants[_0x4e90f6(0x1d1)]]:_0x826117['name']||'',[TestFrameworkConstants[_0x4e90f6(0x16e)]]:_0x826117[_0x4e90f6(0x1ea)]||'',[TestFrameworkConstants['KEY_TEST_CODE']]:_0x826117[_0x4e90f6(0x13d)]?.['code']||null,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x826117[_0x4e90f6(0x151)]||[],[TestFrameworkConstants[_0x4e90f6(0x145)]]:_0x826117[_0x4e90f6(0x1cc)]||new Date()[_0x4e90f6(0x14e)](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x826117[_0x4e90f6(0x1fd)]?.[0x0]||'',[TestFrameworkConstants[_0x4e90f6(0x1fc)]]:_0x826117[_0x4e90f6(0x1fd)]||[],[TestFrameworkConstants[_0x4e90f6(0x1ab)]]:_0x826117[_0x4e90f6(0x1de)]?.[_0x4e90f6(0x154)]||_0x826117['name']||'',[TestFrameworkConstants[_0x4e90f6(0x1f4)]]:{},[TestFrameworkConstants[_0x4e90f6(0x1e5)]]:_0x826117[_0x4e90f6(0x1d7)]||{}};TestInfo['setTestDetails'](_0x109dbd,_0x17295d),logger[_0x4e90f6(0x17c)](_0x4e90f6(0x140)+_0x826117[_0x4e90f6(0x1c6)]+_0x4e90f6(0x1ca)+_0x14b023);const _0x3e440c={};return _0x3e440c[_0x109dbd]=_0x17295d,_0x3e440c;}[a70_0x130d64(0x1a2)](_0x4efacb){const _0x39914f=a70_0x130d64,_0x3eef03={'NSyeh':_0x39914f(0x1aa),'vFSdz':'unknown','EfESd':function(_0x3d54c4,_0x1f0f4a){return _0x3d54c4===_0x1f0f4a;},'iqoYN':_0x39914f(0x184),'LqROE':'UnhandledError','jwTwB':function(_0x3cb921,_0x23c4b3,_0x2a1508){return _0x3cb921(_0x23c4b3,_0x2a1508);},'uaXhG':function(_0x579440,_0x19d3d8){return _0x579440>_0x19d3d8;}},{testUUID:_0x97e513,testData:_0x475c6d}=_0x4efacb;if(!_0x475c6d||!_0x475c6d['uuid'])return logger[_0x39914f(0x17c)](_0x3eef03[_0x39914f(0x16a)]),{};const _0x3f2ba1=this[_0x39914f(0x195)](TestFrameworkState[_0x39914f(0x189)],HookState[_0x39914f(0x1a1)]),_0x5e1c56=_0x475c6d[_0x39914f(0x19e)],_0x1b3021=TestInfo[_0x39914f(0x1d0)](_0x5e1c56)||{},_0x1b08d0=_0x1b3021?_0x1b3021[TestFrameworkConstants[_0x39914f(0x1f4)]]||{}:{},_0x15d3f8={..._0x1b3021,[TestFrameworkConstants[_0x39914f(0x152)]]:_0x475c6d[_0x39914f(0x1b8)]||_0x3eef03[_0x39914f(0x193)],[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x475c6d[_0x39914f(0x148)]||new Date()[_0x39914f(0x14e)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x39914f(0x14e)](),[TestFrameworkConstants[_0x39914f(0x1f4)]]:_0x1b08d0,[TestFrameworkConstants[_0x39914f(0x1e9)]]:[],[TestFrameworkConstants[_0x39914f(0x1e5)]]:_0x475c6d[_0x39914f(0x1d7)]||{}};_0x3eef03[_0x39914f(0x169)](_0x475c6d[_0x39914f(0x1b8)],_0x3eef03[_0x39914f(0x149)])&&_0x475c6d[_0x39914f(0x1bc)]&&(_0x15d3f8[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]=_0x475c6d['failure_type']||_0x3eef03[_0x39914f(0x1be)],_0x15d3f8[TestFrameworkConstants[_0x39914f(0x1b3)]]=_0x475c6d['failure_reason']||'',_0x15d3f8[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x475c6d[_0x39914f(0x1bc)]);const _0x14b477=TestInfo[_0x39914f(0x1d0)](_0x5e1c56)[TestFrameworkConstants[_0x39914f(0x1e8)]]||{},_0x3536ef=_0x3eef03[_0x39914f(0x20e)](getManualUploadLogs,_0x14b477,_0x3f2ba1['getAllData']()[_0x39914f(0x1ad)](_0x5e1c56)[TestFrameworkConstants[_0x39914f(0x180)]]);if(_0x3eef03[_0x39914f(0x15e)](_0x3536ef[_0x39914f(0x182)],0x0)){const _0x739732=_0x15d3f8[TestFrameworkConstants['KEY_LOGS']]||[];_0x15d3f8[TestFrameworkConstants[_0x39914f(0x1e9)]]=[..._0x739732,..._0x3536ef];}_0x475c6d[_0x39914f(0x1d4)]&&_0x3eef03[_0x39914f(0x15e)](_0x475c6d[_0x39914f(0x1d4)][_0x39914f(0x182)],0x0)&&(_0x15d3f8[TestFrameworkConstants[_0x39914f(0x1c2)]]=_0x475c6d[_0x39914f(0x1d4)]);TestInfo[_0x39914f(0x18b)](_0x5e1c56,_0x15d3f8),logger['debug'](_0x39914f(0x1a6)+_0x475c6d[_0x39914f(0x1c6)]+_0x39914f(0x1e3)+_0x475c6d[_0x39914f(0x1b8)]);const _0x461eec={};return _0x461eec[_0x5e1c56]=_0x15d3f8,_0x461eec;}async['trackHookEvent'](_0x50d9be,_0x385b63,_0x411390,_0x367b9c){const _0xcfa621=a70_0x130d64,_0x3606c1={'psZMA':'No\x20hook\x20data\x20provided\x20for\x20cucumber\x20hook\x20event','HiTOX':function(_0x7289ed){return _0x7289ed();},'QDBwi':function(_0xf6ffd4,_0x1dca34){return _0xf6ffd4 in _0x1dca34;},'hfOZb':function(_0x3fac97,_0x3ff4da){return _0x3fac97===_0x3ff4da;},'bEhbJ':function(_0x66fa1b,_0x3b525c){return _0x66fa1b===_0x3b525c;},'PCUTj':function(_0x1720b2,_0x2caa87){return _0x1720b2>_0x2caa87;},'nTENw':_0xcfa621(0x184),'JVhUv':_0xcfa621(0x201),'UlfAF':_0xcfa621(0x1f5),'bKuNp':function(_0x3102a6,_0x2585fe){return _0x3102a6!==_0x2585fe;}},{hookData:_0x32b82c}=_0x367b9c;if(!_0x32b82c)return logger[_0xcfa621(0x17c)](_0x3606c1[_0xcfa621(0x1af)]),{};const _0x141bd6=_0x32b82c[_0xcfa621(0x19e)]||_0x3606c1[_0xcfa621(0x147)](uuidv4),_0x580353=_0x32b82c[_0xcfa621(0x203)],_0xebd774=_0x385b63[_0xcfa621(0x153)]()['split']('.')[0x1],_0x5242f4=TestInfo[_0xcfa621(0x1d0)](_0x580353)[TestFrameworkConstants[_0xcfa621(0x1f4)]]||{},_0x10cbc1=_0x50d9be[_0xcfa621(0x16c)]()[_0xcfa621(0x1ad)](_0x580353);if(!_0x10cbc1)return logger[_0xcfa621(0x17c)](_0xcfa621(0x1cf)+_0x580353+_0xcfa621(0x188)),this[_0xcfa621(0x17d)](_0x50d9be,_0x580353,_0x385b63,_0x411390,_0x367b9c),{};let _0x578be9=_0x10cbc1[TestFrameworkConstants[_0xcfa621(0x1e0)]];!_0x578be9&&(_0x578be9={});!_0x3606c1[_0xcfa621(0x207)](_0xebd774,_0x578be9)&&(_0x578be9[_0xebd774]=[]);let _0x16577f=_0x10cbc1[TestFrameworkConstants[_0xcfa621(0x1c2)]];!_0x16577f&&(_0x16577f={});!_0x3606c1['QDBwi'](_0xebd774,_0x16577f)&&(_0x16577f[_0xebd774]=[]);const _0x125f15={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x578be9,[TestFrameworkConstants[_0xcfa621(0x1c2)]]:_0x16577f},_0xc76aaa={};_0xc76aaa[_0x580353]=_0x125f15;const _0x416df4=_0xc76aaa;if(_0x3606c1[_0xcfa621(0x19c)](_0x411390,HookState['PRE'])){const _0xaf4e19={[TestFrameworkConstants['KEY_HOOK_ID']]:_0x141bd6,[TestFrameworkConstants[_0xcfa621(0x17e)]]:TestFrameworkConstants[_0xcfa621(0x1a7)],[TestFrameworkConstants[_0xcfa621(0x174)]]:_0x32b82c[_0xcfa621(0x164)],[TestFrameworkConstants[_0xcfa621(0x20b)]]:[],[TestFrameworkConstants[_0xcfa621(0x160)]]:_0x32b82c[_0xcfa621(0x1e4)],[TestFrameworkConstants[_0xcfa621(0x1f4)]]:_0x5242f4};_0xaf4e19['key']=_0xebd774;const _0x233f7a=_0xaf4e19;_0x578be9[_0xebd774][_0xcfa621(0x166)](_0x233f7a),_0x416df4[_0x580353][TestFrameworkConstants[_0xcfa621(0x1a0)]]=_0xebd774,logger[_0xcfa621(0x17c)](_0xcfa621(0x177)+_0xebd774+_0xcfa621(0x15d)+_0x233f7a+_0xcfa621(0x206)+_0x367b9c);}else{if(_0x3606c1[_0xcfa621(0x183)](_0x411390,HookState[_0xcfa621(0x1a1)])){const _0x329f5e=_0x32b82c[_0xcfa621(0x1b8)],_0x402304=_0x578be9[_0xebd774]||[];logger[_0xcfa621(0x17c)](_0xcfa621(0x142)+_0x402304+_0xcfa621(0x14f)+_0x367b9c);if(_0x3606c1[_0xcfa621(0x198)](_0x402304[_0xcfa621(0x182)],0x0)){const _0x5c4526=_0x402304[_0xcfa621(0x19b)]();_0x3606c1[_0xcfa621(0x19c)](_0x32b82c[_0xcfa621(0x1b8)],_0x3606c1[_0xcfa621(0x1b7)])&&_0x32b82c[_0xcfa621(0x15b)]?(_0x5c4526[TestFrameworkConstants[_0xcfa621(0x14a)]]=_0x32b82c[_0xcfa621(0x204)]||_0x3606c1[_0xcfa621(0x197)],_0x5c4526[TestFrameworkConstants[_0xcfa621(0x1dd)]]=_0x32b82c[_0xcfa621(0x1a8)]||'',_0x5c4526[TestFrameworkConstants[_0xcfa621(0x1b0)]]=_0x32b82c[_0xcfa621(0x15b)]):_0x5c4526[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x3606c1[_0xcfa621(0x155)];_0x3606c1[_0xcfa621(0x15c)](_0x329f5e,TestFrameworkConstants[_0xcfa621(0x1a7)])&&(_0x5c4526[TestFrameworkConstants[_0xcfa621(0x17e)]]=_0x329f5e);_0x5c4526[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x32b82c[_0xcfa621(0x1ae)]||new Date()[_0xcfa621(0x14e)](),_0x5c4526[TestFrameworkConstants[_0xcfa621(0x1f4)]]=_0x5242f4;const _0x4dd0a4=_0x5c4526[TestFrameworkConstants['KEY_HOOK_ID']];!_0x16577f[_0xebd774]&&(_0x16577f[_0xebd774]=[]),_0x16577f[_0xebd774][_0xcfa621(0x166)](_0x5c4526),_0x416df4[_0x580353][TestFrameworkConstants[_0xcfa621(0x1e1)]]=_0xebd774;}}}return logger['debug'](_0xcfa621(0x1ce)+_0x32b82c[_0xcfa621(0x1e4)]+_0xcfa621(0x202)+_0x141bd6+_0xcfa621(0x175)+_0x580353),_0x416df4;}[a70_0x130d64(0x1ee)](_0x19d8d0){const _0x511450=a70_0x130d64,_0x120c12={};_0x120c12[_0x511450(0x196)]=_0x511450(0x1ec);const _0x44c418=_0x120c12;try{const _0xfc3283=_0x19d8d0[_0x511450(0x150)]?_0x19d8d0[_0x511450(0x150)]['id']:_0x19d8d0[_0x511450(0x13f)][_0x511450(0x203)],_0x5c1238=_0x19d8d0['instance'],_0x2c9553=_0x5c1238['getContext'](),_0x102cf1=_0x5c1238[_0x511450(0x16c)]()['get'](_0xfc3283);if(!_0x102cf1)return logger[_0x511450(0x17c)](_0x511450(0x1f6)+_0xfc3283),{};logger[_0x511450(0x17c)](_0x511450(0x190)+_0xfc3283);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x2b38f3='',[TestFrameworkConstants[_0x511450(0x20a)]]:_0x3e7745='',[TestFrameworkConstants[_0x511450(0x145)]]:_0x385ca0='',[TestFrameworkConstants[_0x511450(0x1b5)]]:_0xdb0304=''}=_0x102cf1,_0x3c2709=_0x5c1238[_0x511450(0x17f)]()[_0x511450(0x153)]()['split']('.')[0x1],_0x5eed1f=_0x5c1238['getCurrentHookState']()['toString']()[_0x511450(0x1c9)]('.')[0x1],_0x2f31bf=global?.[_0x511450(0x212)]?.[_0x511450(0x146)]?.[_0x511450(0x1f0)],_0x11c1c7=_0x5c1238[_0x511450(0x1e6)](),_0x1f0e6d=Buffer[_0x511450(0x1bd)](JSON[_0x511450(0x156)](_0x102cf1))[_0x511450(0x153)](_0x44c418[_0x511450(0x196)]),_0x232c0c={'hash':_0x2c9553[_0x511450(0x1dc)](),'threadId':_0x2c9553[_0x511450(0x143)]()['toString'](),'processId':_0x2c9553[_0x511450(0x1eb)]()[_0x511450(0x153)]()},_0x567ac7={};_0x567ac7[_0x511450(0x1c8)]=_0x2f31bf,_0x567ac7[_0x511450(0x185)]=_0x2b38f3,_0x567ac7[_0x511450(0x158)]=_0x3e7745,_0x567ac7[_0x511450(0x20c)]=_0x3c2709,_0x567ac7['hookState']=_0x5eed1f,_0x567ac7[_0x511450(0x1cc)]=_0x385ca0,_0x567ac7[_0x511450(0x1d3)]=_0xdb0304,_0x567ac7[_0x511450(0x19e)]=_0x11c1c7,_0x567ac7[_0x511450(0x179)]=_0x1f0e6d,_0x567ac7[_0x511450(0x1a3)]=_0x232c0c;const _0x1eb8d8=_0x567ac7;return logger['debug'](_0x511450(0x1f3)+_0xfc3283+_0x511450(0x1e2)+_0x3c2709+_0x511450(0x171)+_0x5eed1f),_0x1eb8d8;}catch(_0x561c59){return logger[_0x511450(0x1f7)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x511450(0x15f)](_0x561c59)),{};}}async[a70_0x130d64(0x1c3)](_0xbf553e,_0x4f6a18,_0x2af825){const _0x266153=a70_0x130d64,_0x218fc2={'wSQSt':function(_0x54104a,_0x5ddde5,_0x20d228){return _0x54104a(_0x5ddde5,_0x20d228);},'MFfjV':function(_0x4bf8f5,_0x464a49){return _0x4bf8f5===_0x464a49;},'cAryh':_0x266153(0x19d),'tucIy':function(_0x21a113,_0x4ee93d){return _0x21a113/_0x4ee93d;},'caMxd':function(_0x39b117,_0x458d0c){return _0x39b117<_0x458d0c;},'ANuvi':function(_0x169930,_0x39befd){return _0x169930*_0x39befd;},'qFrdl':function(_0x2c065e,_0xea7604){return _0x2c065e+_0xea7604;},'saQrH':function(_0x2404b9,_0x3fa487){return _0x2404b9+_0x3fa487;},'DkLoW':_0x266153(0x1b4)};try{const _0x11a84c=_0x2af825[_0x266153(0x16f)],_0x5f0a63=_0xbf553e['getAllData']()['get'](_0x11a84c),{[TestFrameworkConstants[_0x266153(0x14b)]]:_0x21c791='',[TestFrameworkConstants[_0x266153(0x20a)]]:_0x4f136a=''}=_0x5f0a63,_0x42a9d5=TestInfo['readLogObjects'](_0x11a84c),_0xc635ad=TestInfo[_0x266153(0x1d0)](_0x11a84c)[TestFrameworkConstants[_0x266153(0x1e8)]]||{},_0x4ce97b=_0x218fc2[_0x266153(0x165)](getMediaArtifactsLogs,_0xc635ad,_0xbf553e[_0x266153(0x16c)]()['get'](_0x11a84c)[TestFrameworkConstants[_0x266153(0x180)]]),_0x1e82f6=(_0x42a9d5||[])[_0x266153(0x211)](_0x4ce97b||[]);if(!_0x1e82f6||_0x218fc2[_0x266153(0x1c4)](_0x1e82f6[_0x266153(0x182)],0x0)){logger[_0x266153(0x17c)](_0x218fc2[_0x266153(0x17a)]);return;}const _0x45eee4=0x28,_0x2c8004=Math[_0x266153(0x1ba)](_0x218fc2[_0x266153(0x192)](_0x1e82f6[_0x266153(0x182)],_0x45eee4));for(let _0xf88036=0x0;_0x218fc2[_0x266153(0x14d)](_0xf88036,_0x2c8004);_0xf88036++){const _0x158cbb=_0x218fc2[_0x266153(0x1a5)](_0xf88036,_0x45eee4),_0x2c53e8=_0x218fc2[_0x266153(0x19f)](_0x158cbb,_0x45eee4),_0x2ea93e=_0x1e82f6['slice'](_0x158cbb,_0x2c53e8),_0xa34961={'platformIndex':'0','logs':_0x2ea93e,'testFrameworkName':_0x21c791,'testFrameworkVersion':_0x4f136a,'testFrameworkState':_0x4f6a18[_0x266153(0x153)]()[_0x266153(0x1c9)]('.')[0x1]};logger[_0x266153(0x17c)](_0x266153(0x170)+_0x11a84c+_0x266153(0x20f)+_0x218fc2['qFrdl'](_0xf88036,0x1)+'/'+_0x2c8004+_0x266153(0x173)+util[_0x266153(0x200)](_0xa34961));const _0x17e7cf=await GrpcClient[_0x266153(0x172)]()['logCreatedEvent'](_0xa34961);logger[_0x266153(0x17c)](_0x266153(0x170)+_0x11a84c+'\x20batch\x20'+_0x218fc2[_0x266153(0x1db)](_0xf88036,0x1)+'/'+_0x2c8004+_0x266153(0x159)+util[_0x266153(0x200)](_0x17e7cf));}}catch(_0x4cda1f){logger[_0x266153(0x1f7)](_0x266153(0x1cb)+util[_0x266153(0x15f)](_0x4cda1f));}logger['debug'](_0x218fc2[_0x266153(0x18e)]);}['storePendingHook'](_0x4f47b1,_0x56c3d2,_0x220cb8,_0x5d7c87,_0x217bc6){const _0x40d4be=a70_0x130d64,_0x31cdf6={'testId':_0x56c3d2,'testFrameworkState':_0x220cb8,'hookState':_0x5d7c87,'args':_0x217bc6,'timestamp':new Date()[_0x40d4be(0x14e)]()};_0x4f47b1[_0x40d4be(0x1da)](_0x56c3d2,_0x31cdf6),logger['debug'](_0x40d4be(0x20d)+_0x56c3d2+',\x20state:\x20'+_0x220cb8+_0x40d4be(0x14c)+_0x5d7c87);}async[a70_0x130d64(0x1c5)](_0x3de328,_0x5b8be1){const _0x7ce0e3=a70_0x130d64,_0x970cd2={};_0x970cd2[_0x7ce0e3(0x1a9)]=function(_0xda51ef,_0x594541){return _0xda51ef>_0x594541;};const _0x118946=_0x970cd2;if(!_0x3de328['hasPendingHooks'](_0x5b8be1))return;const _0x1dcf6f=_0x3de328['getPendingHooks'](_0x5b8be1);logger['debug'](_0x7ce0e3(0x1b2)+_0x1dcf6f['length']+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x5b8be1);for(const _0x22e1a7 of _0x1dcf6f){try{const _0x161e9b=await this[_0x7ce0e3(0x168)](_0x3de328,_0x22e1a7['testFrameworkState'],_0x22e1a7['hookState'],_0x22e1a7[_0x7ce0e3(0x1cd)]);_0x161e9b&&_0x118946[_0x7ce0e3(0x1a9)](Object[_0x7ce0e3(0x176)](_0x161e9b)['length'],0x0)&&_0x3de328['addMultipleEntries'](_0x161e9b),await this[_0x7ce0e3(0x178)](_0x3de328,_0x22e1a7[_0x7ce0e3(0x20c)],_0x22e1a7['hookState'],_0x22e1a7[_0x7ce0e3(0x1cd)]);}catch(_0x3f5508){logger[_0x7ce0e3(0x1f7)](_0x7ce0e3(0x18f)+_0x5b8be1+',\x20error:\x20'+_0x3f5508);}}_0x3de328[_0x7ce0e3(0x1bf)](_0x5b8be1),logger[_0x7ce0e3(0x17c)](_0x7ce0e3(0x144)+_0x5b8be1);}}module[a70_0x130d64(0x1fe)]=CucumberTestFramework;
@@ -1 +1 @@
1
- const a71_0x1b57ae=a71_0x3731;function a71_0x3731(_0x13bfb8,_0x707aee){const _0x53b1af=a71_0x53b1();return a71_0x3731=function(_0x3731f6,_0x1f80b5){_0x3731f6=_0x3731f6-0xee;let _0x102dca=_0x53b1af[_0x3731f6];return _0x102dca;},a71_0x3731(_0x13bfb8,_0x707aee);}(function(_0x15ffff,_0x2506e0){const _0x13c186=a71_0x3731,_0x21271d=_0x15ffff();while(!![]){try{const _0x2189c2=parseInt(_0x13c186(0xf2))/0x1+-parseInt(_0x13c186(0x1d8))/0x2*(-parseInt(_0x13c186(0x112))/0x3)+-parseInt(_0x13c186(0x1f2))/0x4+-parseInt(_0x13c186(0x20c))/0x5+-parseInt(_0x13c186(0x135))/0x6*(parseInt(_0x13c186(0x291))/0x7)+parseInt(_0x13c186(0x1bf))/0x8+-parseInt(_0x13c186(0x103))/0x9*(-parseInt(_0x13c186(0x105))/0xa);if(_0x2189c2===_0x2506e0)break;else _0x21271d['push'](_0x21271d['shift']());}catch(_0x109df2){_0x21271d['push'](_0x21271d['shift']());}}}(a71_0x53b1,0x24f91));const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a71_0x1b57ae(0x136)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a71_0x1b57ae(0x245)),TrackedInstance=require(a71_0x1b57ae(0x175)),TestFrameworkConstants=require(a71_0x1b57ae(0x22d)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x1b57ae(0x262)),{isInternalHook}=require(a71_0x1b57ae(0x282)),logger=createClassLogger(a71_0x1b57ae(0x238)),{v4:uuidv4}=require(a71_0x1b57ae(0x145)),util=require(a71_0x1b57ae(0x122)),TestInfo=require(a71_0x1b57ae(0x212)),GrpcClient=require(a71_0x1b57ae(0x113)),stackTrace=require('stack-trace');class JestTestFramework extends TestFramework{constructor(_0x599fe4,_0x4ec5f2,_0x266c4f){const _0x4400b5=a71_0x1b57ae;super(_0x599fe4,_0x4ec5f2,_0x266c4f),this[_0x4400b5(0x199)]=new Map();}[a71_0x1b57ae(0x196)](_0x560ba3,_0x5dc0d3,_0x238f7c){const _0x51ea85=a71_0x1b57ae,_0x2ec007={};_0x2ec007[_0x51ea85(0x287)]=function(_0x4cbefe,_0x4fce87){return _0x4cbefe||_0x4fce87;};const _0x1350b8=_0x2ec007;if(_0x1350b8[_0x51ea85(0x287)](!_0x560ba3,!_0x5dc0d3)){logger[_0x51ea85(0x285)]('[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x560ba3+_0x51ea85(0x1f0)+_0x5dc0d3);return;}!this['activeHooks']['has'](_0x560ba3)&&this[_0x51ea85(0x199)][_0x51ea85(0x25b)](_0x560ba3,[]);const _0x57cb60={'hookUUID':_0x5dc0d3,'hookType':_0x238f7c,'startedAt':new Date()[_0x51ea85(0x1fe)]()};this[_0x51ea85(0x199)][_0x51ea85(0x28c)](_0x560ba3)[_0x51ea85(0x120)](_0x57cb60),logger[_0x51ea85(0x1ab)](_0x51ea85(0x239)+_0x560ba3+',\x20hookUUID='+_0x5dc0d3+_0x51ea85(0x1cb)+_0x238f7c+_0x51ea85(0x125)+this[_0x51ea85(0x199)][_0x51ea85(0x28c)](_0x560ba3)['length']);}[a71_0x1b57ae(0x231)](_0x2c8f82,_0x1c37ff){const _0x4b4a2e=a71_0x1b57ae,_0x5545d1={};_0x5545d1[_0x4b4a2e(0x242)]=function(_0x432bd2,_0x5c875a){return _0x432bd2||_0x5c875a;},_0x5545d1['uMJde']=function(_0x4b4b0e,_0xf41097){return _0x4b4b0e!==_0xf41097;},_0x5545d1['QZzaf']=function(_0x38086a,_0x306f95){return _0x38086a===_0x306f95;};const _0x515e11=_0x5545d1;if(_0x515e11[_0x4b4a2e(0x242)](!_0x2c8f82,!_0x1c37ff)){logger[_0x4b4a2e(0x285)]('[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x2c8f82+',\x20hookUUID='+_0x1c37ff);return;}if(this['activeHooks'][_0x4b4a2e(0x158)](_0x2c8f82)){const _0x5048ba=this['activeHooks'][_0x4b4a2e(0x28c)](_0x2c8f82),_0x121473=_0x5048ba[_0x4b4a2e(0x149)](_0x249e37=>_0x249e37[_0x4b4a2e(0x1c2)]===_0x1c37ff);_0x515e11[_0x4b4a2e(0x118)](_0x121473,-0x1)?(_0x5048ba[_0x4b4a2e(0x20d)](_0x121473,0x1),logger[_0x4b4a2e(0x1ab)](_0x4b4a2e(0x22b)+_0x2c8f82+_0x4b4a2e(0x1f0)+_0x1c37ff+_0x4b4a2e(0x226)+_0x5048ba[_0x4b4a2e(0x1d3)]),_0x515e11[_0x4b4a2e(0x24e)](_0x5048ba[_0x4b4a2e(0x1d3)],0x0)&&this['activeHooks'][_0x4b4a2e(0x138)](_0x2c8f82)):logger[_0x4b4a2e(0x1ab)]('[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier='+_0x2c8f82+_0x4b4a2e(0x1f0)+_0x1c37ff);}}[a71_0x1b57ae(0x13b)](_0x899235){const _0x1e0db4=a71_0x1b57ae,_0x4dd638={};_0x4dd638[_0x1e0db4(0x224)]=function(_0x5386f9,_0x16e4db){return _0x5386f9>_0x16e4db;},_0x4dd638[_0x1e0db4(0x23a)]=function(_0x1a5ee3,_0x5d58e0){return _0x1a5ee3-_0x5d58e0;};const _0x420059=_0x4dd638;if(!_0x899235)return null;if(this[_0x1e0db4(0x199)][_0x1e0db4(0x158)](_0x899235)){const _0x4c1fbc=this[_0x1e0db4(0x199)][_0x1e0db4(0x28c)](_0x899235);if(_0x420059[_0x1e0db4(0x224)](_0x4c1fbc[_0x1e0db4(0x1d3)],0x0)){const _0x233d6f=_0x4c1fbc[_0x420059[_0x1e0db4(0x23a)](_0x4c1fbc['length'],0x1)];return logger['debug'](_0x1e0db4(0x278)+_0x899235+',\x20hookUUID='+_0x233d6f['hookUUID']+_0x1e0db4(0x1cb)+_0x233d6f[_0x1e0db4(0x192)]),_0x233d6f;}}return null;}async[a71_0x1b57ae(0x1b7)](_0x5ace6c,_0x121735,_0x518b75={}){const _0x1dd8ff=a71_0x1b57ae,_0x5e93a0={};_0x5e93a0[_0x1dd8ff(0x185)]=_0x1dd8ff(0x129),_0x5e93a0['ZzZpm']=function(_0x241ff3,_0xff0f88){return _0x241ff3===_0xff0f88;},_0x5e93a0[_0x1dd8ff(0x261)]=function(_0x40b4f2,_0x54709a){return _0x40b4f2===_0x54709a;},_0x5e93a0['BsWWT']=function(_0x24f2f9,_0x2bc652){return _0x24f2f9||_0x2bc652;},_0x5e93a0[_0x1dd8ff(0x264)]=_0x1dd8ff(0x25d);const _0xa80001=_0x5e93a0;logger[_0x1dd8ff(0x1ab)]('[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState='+_0x5ace6c+_0x1dd8ff(0x1de)+_0x121735+_0x1dd8ff(0x18a)+Object[_0x1dd8ff(0xfa)](_0x518b75)[_0x1dd8ff(0x235)](',')),await super[_0x1dd8ff(0x1b7)](_0x5ace6c,_0x121735,_0x518b75);const _0x5b47fc=this[_0x1dd8ff(0x205)](_0x5ace6c,_0x121735,_0x518b75);if(!_0x5b47fc){logger[_0x1dd8ff(0x1ab)](_0xa80001[_0x1dd8ff(0x185)]);return;}try{let _0x251705,_0x1ea270,_0x24b315;switch(_0x5ace6c){case TestFrameworkState[_0x1dd8ff(0x1b6)]:_0x251705=_0x518b75[_0x1dd8ff(0x17d)];const _0x18373c={};_0x18373c[_0x1dd8ff(0xfd)]=0x2,_0x18373c[_0x1dd8ff(0x1b0)]=0x3,logger[_0x1dd8ff(0x1ab)](_0x1dd8ff(0x23c)+_0x121735+_0x1dd8ff(0x25e)+util['inspect'](_0x251705,_0x18373c)),_0x24b315=this[_0x1dd8ff(0x216)](_0x251705),_0x1ea270=null,logger[_0x1dd8ff(0x1ab)](_0x1dd8ff(0x14c)+_0x24b315+'\x20(testIdentifier)');if(_0xa80001[_0x1dd8ff(0x190)](_0x121735,HookState[_0x1dd8ff(0x21a)])){logger[_0x1dd8ff(0x1ab)](_0x1dd8ff(0x19f)+_0x24b315);const _0x479759={};_0x479759[_0x1dd8ff(0x154)]=_0x1ea270,_0x479759['testData']=_0x251705,_0x479759[_0x1dd8ff(0x11f)]=_0x24b315;const _0x1048c3=this[_0x1dd8ff(0x10a)](_0x479759),_0x207d88={};_0x207d88['depth']=0x2,_0x207d88[_0x1dd8ff(0x1b0)]=0x3,logger['debug'](_0x1dd8ff(0x15c)+util[_0x1dd8ff(0x1b1)](_0x1048c3,_0x207d88)),_0x5b47fc['addMultipleEntries'](_0x1048c3),logger['debug'](_0x1dd8ff(0x246)+_0x24b315),await this[_0x1dd8ff(0x1bc)](_0x5b47fc,_0x24b315);}else{if(_0xa80001['lYLYr'](_0x121735,HookState[_0x1dd8ff(0x249)])){logger[_0x1dd8ff(0x1ab)](_0x1dd8ff(0xee)+_0x24b315);const _0x5e0cec=_0x5b47fc[_0x1dd8ff(0x1ee)]()[_0x1dd8ff(0x28c)](_0x24b315);logger[_0x1dd8ff(0x1ab)](_0x1dd8ff(0x23e)+util['inspect'](Object[_0x1dd8ff(0xfa)](_0xa80001[_0x1dd8ff(0x20b)](_0x5e0cec,{}))));_0x5e0cec&&_0x5e0cec[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]?logger[_0x1dd8ff(0x1ab)](_0x1dd8ff(0x1aa)+Object['keys'](_0x5e0cec[TestFrameworkConstants[_0x1dd8ff(0x1f7)]])[_0x1dd8ff(0x1d3)]+_0x1dd8ff(0x131)):logger[_0x1dd8ff(0x1ab)](_0xa80001[_0x1dd8ff(0x264)]);const _0x358cae=_0x518b75['originalTest']||null,_0x1b90cd={};_0x1b90cd[_0x1dd8ff(0x154)]=_0x1ea270,_0x1b90cd[_0x1dd8ff(0x25a)]=_0x251705,_0x1b90cd['testId']=_0x24b315,_0x1b90cd[_0x1dd8ff(0x1c0)]=_0x358cae;const _0x1904e8=this[_0x1dd8ff(0x157)](_0x1b90cd),_0x3078ff={};_0x3078ff[_0x1dd8ff(0xfd)]=0x2,_0x3078ff['maxArrayLength']=0x3,logger[_0x1dd8ff(0x1ab)](_0x1dd8ff(0x250)+util[_0x1dd8ff(0x1b1)](_0x1904e8,_0x3078ff)),_0x5b47fc[_0x1dd8ff(0x208)](_0x1904e8),logger['debug'](_0x1dd8ff(0x1a5)+_0x24b315),await this['processPendingHooks'](_0x5b47fc,_0x24b315);}}break;case TestFrameworkState[_0x1dd8ff(0x11e)]:if(_0xa80001[_0x1dd8ff(0x190)](_0x121735,HookState[_0x1dd8ff(0x249)])){const _0x409a85={};_0x409a85[_0x1dd8ff(0xfd)]=0x2,logger['debug'](_0x1dd8ff(0x1ff)+util[_0x1dd8ff(0x1b1)](_0x518b75,_0x409a85)),await this[_0x1dd8ff(0x200)](_0x5b47fc,_0x5ace6c,_0x518b75);}break;default:if(CLIUtils[_0x1dd8ff(0x134)](_0x5ace6c[_0x1dd8ff(0x144)]()[_0x1dd8ff(0x213)]('.')[0x1])){const _0x363824={};_0x363824[_0x1dd8ff(0xfd)]=0x2,_0x363824[_0x1dd8ff(0x1b0)]=0x3,logger[_0x1dd8ff(0x1ab)](_0x1dd8ff(0x1e3)+_0x5ace6c+_0x1dd8ff(0x1de)+_0x121735+',\x20hookData='+util[_0x1dd8ff(0x1b1)](_0x518b75[_0x1dd8ff(0x252)],_0x363824));const _0x12df68=await this['trackHookEvent'](_0x5b47fc,_0x5ace6c,_0x121735,_0x518b75),_0x3d3f4e={};_0x3d3f4e['depth']=0x2,_0x3d3f4e[_0x1dd8ff(0x1b0)]=0x3,logger[_0x1dd8ff(0x1ab)](_0x1dd8ff(0x133)+util[_0x1dd8ff(0x1b1)](_0x12df68,_0x3d3f4e)),_0x5b47fc[_0x1dd8ff(0x208)](_0x12df68);}else logger['debug'](_0x1dd8ff(0x172)+_0x5ace6c+_0x1dd8ff(0x273)+_0x121735);break;}logger['debug'](_0x1dd8ff(0x12f)+_0x5ace6c+_0x1dd8ff(0x1de)+_0x121735);}catch(_0x33ec9b){logger[_0x1dd8ff(0x14b)]('[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState='+_0x5ace6c+_0x1dd8ff(0x1de)+_0x121735+_0x1dd8ff(0x1af)+util[_0x1dd8ff(0x115)](_0x33ec9b));}_0x518b75[_0x1dd8ff(0x23b)]=_0x5b47fc,await this[_0x1dd8ff(0x1f6)](_0x5b47fc,_0x5ace6c,_0x121735,_0x518b75);}[a71_0x1b57ae(0x216)](_0x15ecaa){const _0x308da1=a71_0x1b57ae,_0x33760e={};_0x33760e[_0x308da1(0xf6)]='[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback';const _0x5b65b9=_0x33760e;if(_0x15ecaa&&(_0x15ecaa['id']||_0x15ecaa[_0x308da1(0x145)])){const _0x4002d9=_0x15ecaa['id']||_0x15ecaa[_0x308da1(0x145)];return logger[_0x308da1(0x1ab)](_0x308da1(0x166)+_0x4002d9+_0x308da1(0x1da)),_0x4002d9;}return logger[_0x308da1(0x1ab)](_0x5b65b9[_0x308da1(0xf6)]),process[_0x308da1(0x16a)]+':testAnalyticsId';}[a71_0x1b57ae(0x205)](_0x4244f5,_0x12019e,_0x42841b={}){const _0x5e05dc=a71_0x1b57ae;let _0x4d189f=null;return _0x4d189f=TestFramework[_0x5e05dc(0x1d0)](),!_0x4d189f?(logger[_0x5e05dc(0x1ab)](_0x5e05dc(0x230)+_0x4244f5),this[_0x5e05dc(0xf0)](_0x4244f5,_0x42841b),_0x4d189f=TestFramework[_0x5e05dc(0x1d0)](),logger[_0x5e05dc(0x1ab)](_0x5e05dc(0x188)+!!_0x4d189f+',\x20contextId='+_0x4d189f?.[_0x5e05dc(0x27b)]()?.[_0x5e05dc(0x1ba)]())):logger[_0x5e05dc(0x1ab)](_0x5e05dc(0x14e)+_0x4d189f[_0x5e05dc(0x27b)]()?.['getId']()),_0x4d189f;}[a71_0x1b57ae(0xf0)](_0x1a6553,_0x2bad20){const _0x3c562b=a71_0x1b57ae,_0x44f4d5={};_0x44f4d5[_0x3c562b(0x20a)]='trackJestInstance:\x20instance\x20already\x20exists';const _0x16678e=_0x44f4d5;if(TestFramework[_0x3c562b(0x1d0)]()){logger['debug'](_0x16678e[_0x3c562b(0x20a)]);return;}const _0x198bda=CLIUtils[_0x3c562b(0x248)](),_0x1c95c8=TrackedInstance[_0x3c562b(0x168)](_0x198bda);let _0x800309=null;logger[_0x3c562b(0x1ab)](_0x3c562b(0x12c)+_0x198bda+_0x3c562b(0x16b)+_0x1a6553),_0x800309=new TestFrameworkInstance(_0x1c95c8,this[_0x3c562b(0x275)](),this[_0x3c562b(0x1e6)](),_0x1a6553,HookState[_0x3c562b(0x16f)]),TestFramework[_0x3c562b(0x14d)](_0x1c95c8,_0x800309),logger[_0x3c562b(0x1ab)](_0x3c562b(0x147)+_0x1c95c8[_0x3c562b(0x1ba)]()+_0x3c562b(0x180)+_0x198bda+_0x3c562b(0x17a)+this[_0x3c562b(0x275)]()[0x0]+_0x3c562b(0x26c)+this[_0x3c562b(0x1e6)]()[this[_0x3c562b(0x275)]()[0x0]]);}['parseJestTest'](_0x3bc3a1){const _0x42edc0=a71_0x1b57ae,_0xa76191={};_0xa76191[_0x42edc0(0x1fd)]=function(_0x1c39fe,_0x5395af){return _0x1c39fe||_0x5395af;},_0xa76191[_0x42edc0(0x17e)]='No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test';const _0x3becfe=_0xa76191,{testUUID:_0x4129f9,testData:_0x30a300,testId:_0x58e516}=_0x3bc3a1;if(_0x3becfe[_0x42edc0(0x1fd)](!_0x30a300,!_0x58e516))return logger[_0x42edc0(0x1ab)](_0x3becfe[_0x42edc0(0x17e)]),{};const _0x795d24=this['getTestFrameworks']()[0x0],_0x5f3792=this[_0x42edc0(0x1e6)](),_0x4e9c8d={};_0x4e9c8d[_0x42edc0(0xfd)]=0x2,_0x4e9c8d[_0x42edc0(0x1b0)]=0x3,logger[_0x42edc0(0x1ab)](_0x42edc0(0x28f)+util[_0x42edc0(0x1b1)](_0x30a300,_0x4e9c8d));const _0x953231=_0x30a300?.[_0x42edc0(0x1b4)]||[],_0x5ce3a0=this['getJestTestName'](_0x30a300),_0x2a4aaa=this[_0x42edc0(0xff)](_0x30a300),_0x2e9656=_0x30a300['fn']?_0x30a300['fn']['toString']():null,_0x1c214b=this[_0x42edc0(0x15e)](_0x30a300),_0x293840={[TestFrameworkConstants[_0x42edc0(0x1f5)]]:_0x795d24,[TestFrameworkConstants[_0x42edc0(0x1f1)]]:_0x5f3792[_0x795d24],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x42edc0(0x1f9)]]:{},[TestFrameworkConstants[_0x42edc0(0x178)]]:{},[TestFrameworkConstants[_0x42edc0(0xf8)]]:TestFrameworkConstants[_0x42edc0(0x106)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x5ce3a0,[TestFrameworkConstants[_0x42edc0(0x11b)]]:_0x2a4aaa,[TestFrameworkConstants['KEY_TEST_ID']]:_0x58e516,[TestFrameworkConstants[_0x42edc0(0x16c)]]:_0x5ce3a0,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x2a4aaa,[TestFrameworkConstants[_0x42edc0(0x1c4)]]:_0x2e9656,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x1c214b,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x30a300['started_at']||new Date()[_0x42edc0(0x1fe)](),[TestFrameworkConstants[_0x42edc0(0x258)]]:_0x953231[0x0]||'',[TestFrameworkConstants[_0x42edc0(0x1ed)]]:_0x953231,[TestFrameworkConstants[_0x42edc0(0x15b)]]:_0x5ce3a0,[TestFrameworkConstants[_0x42edc0(0x193)]]:{},[TestFrameworkConstants[_0x42edc0(0x1b3)]]:{}};_0x30a300['retryOf']&&(_0x293840[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x30a300[_0x42edc0(0x217)]);logger[_0x42edc0(0x1ab)](_0x42edc0(0x11d)+_0x5ce3a0+',\x20testId='+_0x58e516+_0x42edc0(0x207)+JSON[_0x42edc0(0x170)](_0x1c214b)+_0x42edc0(0x26b)+util[_0x42edc0(0x1b1)](_0x953231)+_0x42edc0(0x1f8)+_0x2a4aaa);const _0x140d8d={};return _0x140d8d[_0x58e516]=_0x293840,_0x140d8d;}[a71_0x1b57ae(0x157)](_0x5442b4){const _0x272a60=a71_0x1b57ae,_0x7a46e5={'GRRaZ':function(_0x4d7c80,_0x1f0c21){return _0x4d7c80===_0x1f0c21;},'QhBZh':_0x272a60(0x18e),'Pgadl':function(_0x543c10,_0x1c24bb){return _0x543c10===_0x1c24bb;},'msERr':'beforeAll','fCbDE':_0x272a60(0x16d),'PKzZA':_0x272a60(0x202),'vSlZN':function(_0x446dbf,_0xc35d2c){return _0x446dbf||_0xc35d2c;},'Bxmao':_0x272a60(0x1ec),'bXKBI':_0x272a60(0x24d),'hqAcI':function(_0x574e2c,_0xeabcd9){return _0x574e2c>_0xeabcd9;},'LCoJA':_0x272a60(0x268),'KcRBb':'skip','fVDNU':_0x272a60(0x110),'IJzTr':_0x272a60(0x100),'XezZe':function(_0x5e8cf5,_0x299b7f){return _0x5e8cf5===_0x299b7f;},'CDmbq':function(_0x272de0,_0x58ff9f){return _0x272de0!==_0x58ff9f;},'ndmQy':function(_0x554e77,_0x2f5dc2,_0x2b7fed,_0x10c04a){return _0x554e77(_0x2f5dc2,_0x2b7fed,_0x10c04a);},'RjOye':function(_0x5a4360,_0x1a035c){return _0x5a4360>_0x1a035c;},'ThyBx':function(_0x1f4c39,_0x41da26){return _0x1f4c39>_0x41da26;},'NnXJI':_0x272a60(0x1eb),'Sqibq':function(_0x25f1cc,_0xac4bf6){return _0x25f1cc>_0xac4bf6;}},{testUUID:_0x5e20e1,testData:_0x4e695d,testId:_0x4ef2e0}=_0x5442b4;if(_0x7a46e5['vSlZN'](!_0x4e695d,!_0x4ef2e0))return logger['debug'](_0x7a46e5['Bxmao']),{};const _0x1ecaff=this[_0x272a60(0x205)](TestFrameworkState[_0x272a60(0x1b6)],HookState[_0x272a60(0x249)]),_0x31ea44=_0x1ecaff[_0x272a60(0x1ee)]()[_0x272a60(0x28c)](_0x4ef2e0),_0xb396be=_0x7a46e5['vSlZN'](_0x31ea44,{}),_0x5b28dc=_0xb396be?_0xb396be[TestFrameworkConstants[_0x272a60(0x193)]]||{}:{},_0x2ec131=_0xb396be[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']];logger[_0x272a60(0x1ab)]('[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20'+(_0x2ec131?Object[_0x272a60(0xfa)](_0x2ec131)['length']:0x0)+_0x272a60(0x1fb));let _0xfe2eaa=_0x7a46e5[_0x272a60(0xfe)];if(_0x4e695d[_0x272a60(0x1ae)])_0xfe2eaa=_0x4e695d[_0x272a60(0x1ae)];else{if(_0x4e695d[_0x272a60(0x195)]&&_0x7a46e5[_0x272a60(0x290)](_0x4e695d[_0x272a60(0x195)][_0x272a60(0x1d3)],0x0))_0xfe2eaa=_0x7a46e5[_0x272a60(0x1e9)];else _0x7a46e5[_0x272a60(0x1ac)](_0x4e695d[_0x272a60(0xf7)],_0x7a46e5['KcRBb'])||_0x7a46e5[_0x272a60(0x27c)](_0x4e695d[_0x272a60(0xf7)],_0x7a46e5['fVDNU'])?_0xfe2eaa=_0x7a46e5['fVDNU']:_0xfe2eaa=_0x7a46e5[_0x272a60(0x1c7)];}const _0x652457={..._0xb396be,[TestFrameworkConstants['KEY_TEST_RESULT']]:_0xfe2eaa,[TestFrameworkConstants[_0x272a60(0x253)]]:_0x4e695d[_0x272a60(0x203)]||new Date()[_0x272a60(0x1fe)](),[TestFrameworkConstants[_0x272a60(0x167)]]:new Date()[_0x272a60(0x1fe)](),[TestFrameworkConstants[_0x272a60(0x193)]]:_0x5b28dc,[TestFrameworkConstants[_0x272a60(0x251)]]:[],[TestFrameworkConstants[_0x272a60(0x1b3)]]:{}};if(_0x7a46e5[_0x272a60(0x171)](_0xfe2eaa,_0x7a46e5[_0x272a60(0x1e9)])&&_0x4e695d[_0x272a60(0x195)]){const _0x39f9fa=this['getJestFailureReason'](_0x4e695d),_0x44cdcb=this[_0x272a60(0x272)](_0x4e695d),_0x57ca54=this['getJestFailureData'](_0x4e695d);_0x652457[TestFrameworkConstants[_0x272a60(0x15a)]]=_0x44cdcb,_0x652457[TestFrameworkConstants[_0x272a60(0x15f)]]=_0x39f9fa,_0x652457[TestFrameworkConstants[_0x272a60(0x1c8)]]=_0x57ca54;}_0x7a46e5['CDmbq'](_0x4e695d['duration'],undefined)&&(_0x652457[TestFrameworkConstants['KEY_TEST_DURATION']]=_0x4e695d[_0x272a60(0x214)]);_0x4e695d[_0x272a60(0x217)]&&(_0x652457[TestFrameworkConstants[_0x272a60(0xf5)]]=_0x4e695d[_0x272a60(0x217)]);const _0x531e5e=_0x31ea44?_0x31ea44[TestFrameworkConstants[_0x272a60(0x1f7)]]||{}:{},_0x23dd5a=_0x31ea44?_0x31ea44[TestFrameworkConstants[_0x272a60(0x204)]]:_0x5e20e1,_0x1ee8b7=_0x7a46e5[_0x272a60(0x244)](getManualUploadLogs,_0x531e5e,_0x23dd5a,_0x4ef2e0);if(_0x7a46e5[_0x272a60(0x1df)](_0x1ee8b7[_0x272a60(0x1d3)],0x0)){const _0x48595f=_0x652457[TestFrameworkConstants[_0x272a60(0x251)]]||[];_0x652457[TestFrameworkConstants[_0x272a60(0x251)]]=[..._0x48595f,..._0x1ee8b7];}const _0x271539=_0xb396be[TestFrameworkConstants[_0x272a60(0x1f9)]]||{},_0x49c749=_0xb396be[TestFrameworkConstants['KEY_HOOKS_STARTED']]||{},_0x3aa39f={..._0x271539},_0x16ec77=_0x3aa39f;Object[_0x272a60(0xfa)](_0x49c749)[_0x272a60(0x255)](_0x28316a=>{const _0x54b38f=_0x272a60;!_0x16ec77[_0x28316a]&&(_0x16ec77[_0x28316a]=[]);const _0x5a88f9=new Set((_0x16ec77[_0x28316a]||[])[_0x54b38f(0x220)](_0x1db102=>_0x1db102[TestFrameworkConstants['KEY_HOOK_ID']]||_0x1db102[_0x54b38f(0x198)]));(_0x49c749[_0x28316a]||[])[_0x54b38f(0x255)](_0x240ecc=>{const _0x4d4004=_0x54b38f,_0x2da4f9=_0x240ecc[TestFrameworkConstants['KEY_HOOK_ID']]||_0x240ecc['hook_id'];if(!_0x5a88f9[_0x4d4004(0x158)](_0x2da4f9)){const _0x2e51b8={..._0x240ecc},_0x4fdc7b=_0x2e51b8;!_0x4fdc7b[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]&&!_0x4fdc7b[_0x4d4004(0x11c)]&&(_0x4fdc7b[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=new Date()['toISOString']()),!_0x4fdc7b[TestFrameworkConstants[_0x4d4004(0x22f)]]&&!_0x4fdc7b[_0x4d4004(0x128)]&&(_0x4fdc7b[TestFrameworkConstants[_0x4d4004(0x22f)]]=TestFrameworkConstants[_0x4d4004(0x179)]),_0x16ec77[_0x28316a][_0x4d4004(0x120)](_0x4fdc7b);}});});if(_0x5442b4[_0x272a60(0x1c0)]){this[_0x272a60(0x108)](_0x5442b4[_0x272a60(0x1c0)]);const _0x12ed75=this[_0x272a60(0x14a)](_0x5442b4[_0x272a60(0x1c0)]),_0x5cd5a0=this['getHooksForTest'](_0x5442b4[_0x272a60(0x1c0)]);_0x5cd5a0[_0x272a60(0x255)](_0x2e9533=>{const _0x4355b4=_0x272a60,_0x59ae15=_0x12ed75[_0x4355b4(0x28c)](_0x2e9533);if(_0x59ae15&&(_0x7a46e5[_0x4355b4(0x1ac)](_0x59ae15['type'],_0x7a46e5[_0x4355b4(0x260)])||_0x7a46e5[_0x4355b4(0x27c)](_0x59ae15['type'],_0x7a46e5[_0x4355b4(0x218)]))){const _0x34c7e1=_0x59ae15[_0x4355b4(0x241)]['toUpperCase']()['replace'](_0x7a46e5[_0x4355b4(0x101)],_0x7a46e5[_0x4355b4(0x1db)]),_0x271630=_0x34c7e1;!_0x16ec77[_0x271630]&&(_0x16ec77[_0x271630]=[]);const _0x339442=_0x16ec77[_0x271630][_0x4355b4(0x1e7)](_0x2248a1=>(_0x2248a1[TestFrameworkConstants[_0x4355b4(0x142)]]||_0x2248a1[_0x4355b4(0x198)])===_0x2e9533);!_0x339442&&_0x16ec77[_0x271630][_0x4355b4(0x120)]({'key':_0x271630,[TestFrameworkConstants[_0x4355b4(0x142)]]:_0x2e9533,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:new Date()['toISOString'](),[TestFrameworkConstants[_0x4355b4(0x19a)]]:new Date()[_0x4355b4(0x1fe)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x4355b4(0x140)]]:_0x59ae15['name']||_0x59ae15[_0x4355b4(0x241)]+_0x4355b4(0x1d2),[TestFrameworkConstants[_0x4355b4(0x193)]]:_0x5b28dc});}});}if(_0x4e695d['hooks']&&_0x7a46e5[_0x272a60(0x270)](_0x4e695d['hooks'][_0x272a60(0x1d3)],0x0))_0x652457[TestFrameworkConstants[_0x272a60(0x1f9)]]=_0x4e695d[_0x272a60(0x1b2)],logger[_0x272a60(0x1ab)](_0x7a46e5[_0x272a60(0x132)]);else _0x7a46e5[_0x272a60(0x210)](Object[_0x272a60(0xfa)](_0x16ec77)['length'],0x0)&&(_0x652457[TestFrameworkConstants[_0x272a60(0x1f9)]]=_0x16ec77,logger['debug'](_0x272a60(0x10b)+Object[_0x272a60(0xfa)](_0x16ec77)[_0x272a60(0x235)](',')));const _0x40496b=this[_0x272a60(0x1c1)](_0x4e695d);logger[_0x272a60(0x1ab)](_0x272a60(0x141)+_0x40496b+_0x272a60(0xf3)+_0x4ef2e0+_0x272a60(0x280)+_0xfe2eaa+',\x20duration='+_0x4e695d[_0x272a60(0x214)]);_0x7a46e5[_0x272a60(0x1ac)](_0xfe2eaa,_0x7a46e5[_0x272a60(0x1e9)])&&logger[_0x272a60(0x1ab)](_0x272a60(0x143)+_0x4ef2e0+_0x272a60(0x169)+_0x652457[TestFrameworkConstants[_0x272a60(0x15a)]]+_0x272a60(0x146)+_0x652457[TestFrameworkConstants[_0x272a60(0x15f)]]?.[_0x272a60(0x130)](0x0,0xc8));const _0x10edd7={};return _0x10edd7[_0x4ef2e0]=_0x652457,_0x10edd7;}[a71_0x1b57ae(0x173)](_0x5e291e){const _0x111e58=a71_0x1b57ae,_0x4a28e6={};_0x4a28e6[_0x111e58(0x1c6)]=function(_0x462beb,_0x55d6ab){return _0x462beb!==_0x55d6ab;},_0x4a28e6['KTwVu']=function(_0xfd42f4,_0x265119){return _0xfd42f4!==_0x265119;},_0x4a28e6['dxvWC']=_0x111e58(0x225);const _0x2e30de=_0x4a28e6,_0x345a67={};_0x345a67[_0x111e58(0xfd)]=0x2,_0x345a67['maxArrayLength']=0x3,logger['debug']('[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20'+util[_0x111e58(0x1b1)](_0x5e291e,_0x345a67));const _0x162613=[];if(_0x5e291e&&_0x5e291e[_0x111e58(0x1cc)]){let _0x44abbc=_0x5e291e[_0x111e58(0x1cc)];while(_0x44abbc&&_0x44abbc[_0x111e58(0x10f)]&&_0x2e30de[_0x111e58(0x1c6)](_0x44abbc[_0x111e58(0x10f)],'')&&_0x2e30de[_0x111e58(0x181)](_0x44abbc[_0x111e58(0x10f)],_0x2e30de[_0x111e58(0x24b)])){_0x162613['push'](_0x44abbc[_0x111e58(0x10f)]),_0x44abbc=_0x44abbc[_0x111e58(0x1cc)];}}return _0x162613[_0x111e58(0x15d)]();}[a71_0x1b57ae(0x1c1)](_0x2384dc){const _0x506245=a71_0x1b57ae,_0x7d46b5={};_0x7d46b5[_0x506245(0x165)]=_0x506245(0x1b9);const _0x17b1d9=_0x7d46b5;if(_0x2384dc[_0x506245(0x10f)])return _0x2384dc['name'];if(_0x2384dc[_0x506245(0xfb)])return _0x2384dc[_0x506245(0xfb)];return _0x17b1d9[_0x506245(0x165)];}['getJestTestTags'](_0x425d8f){const _0x3c9600=a71_0x1b57ae,_0x2e071a=[];if(_0x425d8f['tags']&&Array[_0x3c9600(0x28b)](_0x425d8f[_0x3c9600(0x215)]))return _0x425d8f[_0x3c9600(0x215)][_0x3c9600(0x220)](_0x190c87=>_0x190c87[_0x3c9600(0x1be)]('@')?_0x190c87[_0x3c9600(0x191)](0x1):_0x190c87);const _0x37537e=this[_0x3c9600(0x1c1)](_0x425d8f),_0x5dbdaa=_0x37537e[_0x3c9600(0x12d)](/@(\w+)/g);if(_0x5dbdaa)return _0x5dbdaa[_0x3c9600(0x220)](_0x538388=>_0x538388[_0x3c9600(0x284)](0x1));return _0x425d8f[_0x3c9600(0x1b4)]&&Array[_0x3c9600(0x28b)](_0x425d8f['scopes'])&&_0x425d8f['scopes'][_0x3c9600(0x255)](_0x285df7=>{const _0x15a477=_0x3c9600,_0x18f3df=_0x285df7[_0x15a477(0x12d)](/@(\w+)/g);_0x18f3df&&_0x18f3df[_0x15a477(0x255)](_0x3cc2fd=>{const _0x1111d8=_0x15a477,_0x4a04e9=_0x3cc2fd[_0x1111d8(0x284)](0x1);!_0x2e071a[_0x1111d8(0x159)](_0x4a04e9)&&_0x2e071a[_0x1111d8(0x120)](_0x4a04e9);});}),_0x2e071a;}[a71_0x1b57ae(0xff)](_0x137e31){const _0x5c269f=a71_0x1b57ae,_0x7e4dca={'nSFMi':function(_0x342915,_0x502e57){return _0x342915(_0x502e57);},'MwdRM':_0x5c269f(0x111)};if(_0x137e31[_0x5c269f(0x223)])return _0x137e31[_0x5c269f(0x223)];if(_0x137e31['asyncError']){const _0x3eda91=_0x7e4dca[_0x5c269f(0xef)](require,_0x7e4dca[_0x5c269f(0x25c)]);try{const _0x48655a=_0x3eda91['parse'](_0x137e31['asyncError']);if(_0x48655a[0x0]&&_0x48655a[0x0][_0x5c269f(0x206)])return _0x48655a[0x0][_0x5c269f(0x206)]();}catch(_0xcd9813){logger[_0x5c269f(0x1ab)](_0x5c269f(0x28d)+util[_0x5c269f(0x115)](_0xcd9813));}}return null;}[a71_0x1b57ae(0x22a)](_0x469ff3){const _0x1e8ec2=a71_0x1b57ae,_0x9307d1={};_0x9307d1[_0x1e8ec2(0x13c)]=function(_0xc2a8c5,_0x304356){return _0xc2a8c5>_0x304356;},_0x9307d1[_0x1e8ec2(0x1a1)]=_0x1e8ec2(0x17f);const _0x54d6e0=_0x9307d1;if(_0x469ff3[_0x1e8ec2(0x195)]&&_0x54d6e0['wJjCC'](_0x469ff3['errorsDetailed'][_0x1e8ec2(0x1d3)],0x0))return util[_0x1e8ec2(0x1b1)](_0x469ff3[_0x1e8ec2(0x195)][0x0]);if(_0x469ff3[_0x1e8ec2(0x228)])return _0x469ff3[_0x1e8ec2(0x228)];return _0x54d6e0[_0x1e8ec2(0x1a1)];}[a71_0x1b57ae(0x272)](_0x4c2120){const _0x6efd66=a71_0x1b57ae,_0x8b9a31={};_0x8b9a31[_0x6efd66(0x269)]=_0x6efd66(0x184),_0x8b9a31['gDOyv']=_0x6efd66(0x19c),_0x8b9a31[_0x6efd66(0x27f)]=_0x6efd66(0x271);const _0x4712a2=_0x8b9a31,_0x439276=this[_0x6efd66(0x22a)](_0x4c2120);if(_0x439276&&_0x439276[_0x6efd66(0x159)](_0x4712a2['wUFFQ']))return _0x4712a2['gDOyv'];return _0x4712a2[_0x6efd66(0x27f)];}[a71_0x1b57ae(0x209)](_0x53e096){const _0x3b7d8a=a71_0x1b57ae,_0x24b079={'gQcxY':function(_0x5e26a4,_0x39c34c){return _0x5e26a4(_0x39c34c);},'OJWJJ':'../../../helpers/test-observability/utils','kVnid':function(_0x1924cb,_0xadb12f){return _0x1924cb!==_0xadb12f;},'lGguB':_0x3b7d8a(0x17d)},{failureData:_0xf711eb}=_0x24b079[_0x3b7d8a(0x127)](require,_0x24b079[_0x3b7d8a(0x13a)]),_0x4b0c6e=[];return _0x24b079[_0x3b7d8a(0x24a)](_0x53e096[_0x3b7d8a(0x195)],undefined)&&_0x4b0c6e[_0x3b7d8a(0x120)](_0x53e096[_0x3b7d8a(0x195)],_0x24b079[_0x3b7d8a(0x1a8)]),_0xf711eb[_0x3b7d8a(0x17b)](null,_0x4b0c6e);}async[a71_0x1b57ae(0x139)](_0x336b36,_0x2b888c,_0x51b7db,_0x4f129b){const _0x3d9776=a71_0x1b57ae,_0x4cfbd3={'stWTH':_0x3d9776(0x1e0),'myNzV':function(_0x5a93e3){return _0x5a93e3();},'nVgkM':function(_0x2ab7b5,_0xb7e0c9){return _0x2ab7b5 in _0xb7e0c9;},'luQUM':function(_0x28c057,_0x25f5a7){return _0x28c057===_0x25f5a7;},'WlMmJ':function(_0x58f79a,_0x894dad){return _0x58f79a>_0x894dad;},'uMtmF':_0x3d9776(0x268),'dhsbA':_0x3d9776(0x100),'DZPrz':function(_0x5ab313,_0x3415ee){return _0x5ab313>_0x3415ee;},'AYbST':function(_0x4f78cb,_0x2af98a){return _0x4f78cb===_0x2af98a;},'MHRvx':function(_0x13d2bd,_0x54d694){return _0x13d2bd!==_0x54d694;}},{hookData:_0x40b0cf}=_0x4f129b,_0xe67125=_0x51b7db[_0x3d9776(0x144)](),_0x160ffe=_0x2b888c['toString'](),_0x521556={};_0x521556[_0x3d9776(0xfd)]=0x2,_0x521556[_0x3d9776(0x1b0)]=0x3,logger['debug'](_0x3d9776(0x160)+_0x160ffe+',\x20hookState='+_0xe67125+_0x3d9776(0x1d7)+util['inspect'](_0x40b0cf,_0x521556));if(!_0x40b0cf)return logger['debug'](_0x4cfbd3['stWTH']),{};const _0x5a87cc=_0x40b0cf[_0x3d9776(0x145)]||_0x40b0cf[_0x3d9776(0x201)]||_0x4cfbd3[_0x3d9776(0x164)](uuidv4),_0x4f787c=_0x40b0cf[_0x3d9776(0x240)]||this['getJestTestIdentifier'](_0x40b0cf),_0x29d6bb=_0x2b888c[_0x3d9776(0x144)]()['split']('.')[0x1],_0x2f933d=_0x336b36['getAllData']()[_0x3d9776(0x28c)](_0x4f787c),_0x4ff393=_0x2f933d?_0x2f933d[TestFrameworkConstants[_0x3d9776(0x193)]]||{}:{};logger[_0x3d9776(0x1ab)](_0x3d9776(0x1e5)+_0x5a87cc+_0x3d9776(0xf3)+_0x4f787c+_0x3d9776(0x1c5)+_0x29d6bb+_0x3d9776(0x1de)+_0xe67125);if(!_0x2f933d)return logger[_0x3d9776(0x1ab)](_0x3d9776(0x1b5)+_0x4f787c+',\x20storing\x20as\x20pending\x20hook'),this[_0x3d9776(0x254)](_0x336b36,_0x4f787c,_0x2b888c,_0x51b7db,_0x4f129b),{};let _0x1bb218=_0x2f933d[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x1bb218&&(_0x1bb218={});!_0x4cfbd3[_0x3d9776(0x292)](_0x29d6bb,_0x1bb218)&&(_0x1bb218[_0x29d6bb]=[]);let _0x59b306=_0x2f933d[TestFrameworkConstants[_0x3d9776(0x1f9)]];!_0x59b306&&(_0x59b306={});!_0x4cfbd3[_0x3d9776(0x292)](_0x29d6bb,_0x59b306)&&(_0x59b306[_0x29d6bb]=[]);const _0x16c498={[TestFrameworkConstants[_0x3d9776(0x178)]]:_0x1bb218,[TestFrameworkConstants[_0x3d9776(0x1f9)]]:_0x59b306},_0x4734fd={};_0x4734fd[_0x4f787c]=_0x16c498;const _0x88c683=_0x4734fd;if(_0x4cfbd3[_0x3d9776(0x232)](_0x51b7db,HookState[_0x3d9776(0x21a)])){const _0xaee424={'key':_0x29d6bb,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x5a87cc,[TestFrameworkConstants[_0x3d9776(0x22f)]]:TestFrameworkConstants[_0x3d9776(0x179)],[TestFrameworkConstants[_0x3d9776(0x189)]]:_0x40b0cf[_0x3d9776(0x286)]||new Date()[_0x3d9776(0x1fe)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x3d9776(0x140)]]:_0x40b0cf[_0x3d9776(0x10f)]||_0x40b0cf[_0x3d9776(0x182)]||_0x29d6bb,[TestFrameworkConstants[_0x3d9776(0x193)]]:_0x4ff393};_0x1bb218[_0x29d6bb][_0x3d9776(0x120)](_0xaee424),_0x88c683[_0x4f787c][TestFrameworkConstants[_0x3d9776(0x1ad)]]=_0x29d6bb;const _0x1236ec={};_0x1236ec[_0x3d9776(0xfd)]=0x2,logger[_0x3d9776(0x1ab)](_0x3d9776(0x237)+_0x29d6bb+_0x3d9776(0x1dc)+_0x5a87cc+_0x3d9776(0xf3)+_0x4f787c+_0x3d9776(0x289)+util[_0x3d9776(0x1b1)](_0xaee424,_0x1236ec));}else{if(_0x4cfbd3[_0x3d9776(0x232)](_0x51b7db,HookState[_0x3d9776(0x249)])){const _0x4d8018=_0x40b0cf[_0x3d9776(0x1ae)]||(_0x40b0cf[_0x3d9776(0x195)]&&_0x4cfbd3['WlMmJ'](_0x40b0cf[_0x3d9776(0x195)][_0x3d9776(0x1d3)],0x0)?_0x4cfbd3['uMtmF']:_0x4cfbd3[_0x3d9776(0x21f)]),_0x41c265=_0x1bb218[_0x29d6bb]||[];logger[_0x3d9776(0x1ab)](_0x3d9776(0x137)+_0x29d6bb+_0x3d9776(0xf3)+_0x4f787c+_0x3d9776(0x176)+_0x4d8018+_0x3d9776(0x1e8)+_0x41c265['length']);if(_0x4cfbd3[_0x3d9776(0x1a6)](_0x41c265[_0x3d9776(0x1d3)],0x0)){const _0x3108b5=_0x41c265[_0x3d9776(0x1ef)]();_0x4cfbd3[_0x3d9776(0x1a4)](_0x4d8018,_0x4cfbd3[_0x3d9776(0x221)])&&_0x40b0cf[_0x3d9776(0x195)]?(_0x3108b5[TestFrameworkConstants[_0x3d9776(0x1b8)]]=this[_0x3d9776(0x272)](_0x40b0cf),_0x3108b5[TestFrameworkConstants[_0x3d9776(0x11a)]]=this['getJestFailureReason'](_0x40b0cf),_0x3108b5[TestFrameworkConstants[_0x3d9776(0x259)]]=this[_0x3d9776(0x209)](_0x40b0cf),logger[_0x3d9776(0x1ab)](_0x3d9776(0x161)+_0x29d6bb+_0x3d9776(0x169)+_0x3108b5[TestFrameworkConstants[_0x3d9776(0x1b8)]]+_0x3d9776(0x146)+_0x3108b5[TestFrameworkConstants[_0x3d9776(0x11a)]]?.[_0x3d9776(0x130)](0x0,0xc8))):_0x3108b5[TestFrameworkConstants[_0x3d9776(0x22f)]]=_0x4cfbd3[_0x3d9776(0x21f)];_0x4cfbd3[_0x3d9776(0x288)](_0x4d8018,TestFrameworkConstants[_0x3d9776(0x179)])&&(_0x3108b5[TestFrameworkConstants[_0x3d9776(0x22f)]]=_0x4d8018);_0x3108b5[TestFrameworkConstants[_0x3d9776(0x19a)]]=_0x40b0cf['finished_at']||new Date()[_0x3d9776(0x1fe)](),_0x3108b5[TestFrameworkConstants[_0x3d9776(0x193)]]=_0x4ff393;const _0xd92cfc=_0x3108b5[TestFrameworkConstants[_0x3d9776(0x142)]];!_0x59b306[_0x29d6bb]&&(_0x59b306[_0x29d6bb]=[]);_0x59b306[_0x29d6bb][_0x3d9776(0x120)](_0x3108b5),_0x88c683[_0x4f787c][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x29d6bb;const _0x4358ac={};_0x4358ac[_0x3d9776(0xfd)]=0x2,logger[_0x3d9776(0x1ab)](_0x3d9776(0x1a9)+_0x29d6bb+_0x3d9776(0x1dc)+_0xd92cfc+_0x3d9776(0x176)+_0x4d8018+',\x20hook='+util[_0x3d9776(0x1b1)](_0x3108b5,_0x4358ac));}}}const _0x1aee07={};return _0x1aee07[_0x3d9776(0xfd)]=0x2,_0x1aee07[_0x3d9776(0x1b0)]=0x3,logger[_0x3d9776(0x1ab)](_0x3d9776(0x14f)+(_0x40b0cf[_0x3d9776(0x182)]||_0x29d6bb)+',\x20hookId='+_0x5a87cc+',\x20testId='+_0x4f787c+_0x3d9776(0x227)+util[_0x3d9776(0x1b1)](_0x88c683,_0x1aee07)),_0x88c683;}['createTestFrameworkEventPayload'](_0x5cb7da){const _0x4fe2bb=a71_0x1b57ae,_0x360156={};_0x360156[_0x4fe2bb(0x187)]=_0x4fe2bb(0x283);const _0x539358=_0x360156;try{const _0x3665e7=_0x5cb7da[_0x4fe2bb(0x17d)]?this[_0x4fe2bb(0x216)](_0x5cb7da['test']):_0x5cb7da['hookData'][_0x4fe2bb(0x240)],_0x150c75=_0x5cb7da[_0x4fe2bb(0x23b)],_0xe997e6=_0x150c75[_0x4fe2bb(0x27b)](),_0x345652=_0x150c75[_0x4fe2bb(0x1ee)]()[_0x4fe2bb(0x28c)](_0x3665e7);if(!_0x345652)return logger[_0x4fe2bb(0x1ab)](_0x4fe2bb(0x24f)+_0x3665e7),{};const {[TestFrameworkConstants[_0x4fe2bb(0x1f5)]]:_0x35ef86='',[TestFrameworkConstants[_0x4fe2bb(0x1f1)]]:_0x5a80c1='',[TestFrameworkConstants[_0x4fe2bb(0x102)]]:_0x53654b='',[TestFrameworkConstants[_0x4fe2bb(0x253)]]:_0x26a47f=''}=_0x345652,_0x36c95b=_0x150c75[_0x4fe2bb(0x20e)]()[_0x4fe2bb(0x144)]()[_0x4fe2bb(0x213)]('.')[0x1],_0x1d24c5=_0x150c75[_0x4fe2bb(0x109)]()['toString']()[_0x4fe2bb(0x213)]('.')[0x1],_0x320cbe=global?.[_0x4fe2bb(0x152)]?.['workerInfo']?.[_0x4fe2bb(0x257)],_0x28b328=_0x150c75['getRef'](),_0x3bc3a8=Buffer[_0x4fe2bb(0x234)](JSON[_0x4fe2bb(0x170)](_0x345652))[_0x4fe2bb(0x144)](_0x539358[_0x4fe2bb(0x187)]),_0x27035c={'hash':_0xe997e6[_0x4fe2bb(0x1ba)](),'threadId':_0xe997e6['getThreadId']()['toString'](),'processId':_0xe997e6[_0x4fe2bb(0x186)]()[_0x4fe2bb(0x144)]()},_0xa4ee38={};_0xa4ee38['platformIndex']=_0x320cbe,_0xa4ee38[_0x4fe2bb(0x197)]=_0x35ef86,_0xa4ee38['testFrameworkVersion']=_0x5a80c1,_0xa4ee38[_0x4fe2bb(0x13d)]=_0x36c95b,_0xa4ee38[_0x4fe2bb(0x279)]=_0x1d24c5,_0xa4ee38[_0x4fe2bb(0x124)]=_0x53654b,_0xa4ee38[_0x4fe2bb(0x28e)]=_0x26a47f,_0xa4ee38['uuid']=_0x28b328,_0xa4ee38[_0x4fe2bb(0x1a2)]=_0x3bc3a8,_0xa4ee38[_0x4fe2bb(0x26e)]=_0x27035c,_0xa4ee38[_0x4fe2bb(0x162)]=_0x3665e7;const _0x279033=_0xa4ee38;return _0x279033;}catch(_0x3fbafb){return logger[_0x4fe2bb(0x14b)](_0x4fe2bb(0x163)+util[_0x4fe2bb(0x115)](_0x3fbafb)),{};}}async[a71_0x1b57ae(0x200)](_0x4fa9e7,_0x2f88a2,_0x729666){const _0x4efdc3=a71_0x1b57ae,_0x283945={'HaQPQ':function(_0x5b06a8,_0x30bbed){return _0x5b06a8+_0x30bbed;},'AkCSb':_0x4efdc3(0x117),'ypvWI':_0x4efdc3(0x1d5),'lUwex':function(_0xeae13a,_0x20b32e){return _0xeae13a>_0x20b32e;},'GZJCK':function(_0x281979,_0x1d12ce,_0x2a1eae,_0x5f162f){return _0x281979(_0x1d12ce,_0x2a1eae,_0x5f162f);},'Rbefx':function(_0x56b4d4,_0xddfcd1){return _0x56b4d4-_0xddfcd1;},'DoNOv':function(_0x148809,_0x1f0358){return _0x148809===_0x1f0358;},'jcjdo':function(_0x53d34f,_0x2c131b){return _0x53d34f/_0x2c131b;},'UcnEJ':function(_0x196685,_0x1806af){return _0x196685<_0x1806af;},'gIanJ':function(_0x30e6d1,_0x439c8d){return _0x30e6d1*_0x439c8d;},'btzcq':function(_0x1ec6db,_0x43a0a1){return _0x1ec6db+_0x43a0a1;},'DlEtl':function(_0x160791,_0x544ab3){return _0x160791+_0x544ab3;},'eTefb':function(_0x211892,_0x5e62ca){return _0x211892>_0x5e62ca;}};try{const _0x1f68d9=_0x729666[_0x4efdc3(0x154)]||_0x729666[_0x4efdc3(0x11f)],_0x45516c=Array[_0x4efdc3(0x234)](_0x4fa9e7[_0x4efdc3(0x1ee)]()[_0x4efdc3(0xfa)]()),_0x4df8fe=_0x4fa9e7['getAllData']()[_0x4efdc3(0x28c)](_0x1f68d9);if(!_0x4df8fe){logger[_0x4efdc3(0x1ab)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x1f68d9);return;}const {[TestFrameworkConstants[_0x4efdc3(0x1f5)]]:_0x5c9698='',[TestFrameworkConstants[_0x4efdc3(0x1f1)]]:_0x349cfc=''}=_0x4df8fe;let _0x4755eb=[];if(_0x4df8fe&&_0x4df8fe[TestFrameworkConstants['KEY_LOGS']]&&Array[_0x4efdc3(0x28b)](_0x4df8fe[TestFrameworkConstants[_0x4efdc3(0x251)]])){_0x4755eb=_0x4df8fe[TestFrameworkConstants[_0x4efdc3(0x251)]]||[],logger[_0x4efdc3(0x1ab)](_0x4efdc3(0x1fc)+_0x4755eb[_0x4efdc3(0x1d3)]+_0x4efdc3(0x276)+_0x1f68d9);const _0xc26dba={[TestFrameworkConstants['KEY_LOGS']]:[]},_0x19e41b={};_0x19e41b[_0x1f68d9]=_0xc26dba,_0x4fa9e7[_0x4efdc3(0x208)](_0x19e41b),logger[_0x4efdc3(0x1ab)](_0x4efdc3(0x10d)+_0x1f68d9);}else logger[_0x4efdc3(0x1ab)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x1f68d9);logger[_0x4efdc3(0x1ab)](_0x4efdc3(0x1a0)+_0x4755eb['length']+_0x4efdc3(0x21d)+_0x1f68d9);const _0x209858=_0x4755eb[_0x4efdc3(0x243)](_0x2b0fb5=>_0x2b0fb5['kind']===_0x4efdc3(0x274));_0x283945[_0x4efdc3(0x27d)](_0x209858[_0x4efdc3(0x1d3)],0x0)&&(logger[_0x4efdc3(0x1ab)](_0x4efdc3(0x229)+_0x209858[_0x4efdc3(0x1d3)]+_0x4efdc3(0x155)+_0x1f68d9),_0x209858[_0x4efdc3(0x255)]((_0xf5f83,_0x1cc17f)=>{const _0xe6e04b=_0x4efdc3;logger['debug'](_0xe6e04b(0x1ca)+_0x283945['HaQPQ'](_0x1cc17f,0x1)+'/'+_0x209858[_0xe6e04b(0x1d3)]+_0xe6e04b(0x267)+(_0xf5f83[_0xe6e04b(0x162)]||_0x283945[_0xe6e04b(0x18d)])+_0xe6e04b(0x27a)+(_0xf5f83[_0xe6e04b(0xfc)]||_0x283945[_0xe6e04b(0x18d)])+_0xe6e04b(0x1bb)+(_0xf5f83[_0xe6e04b(0x233)]||_0x283945[_0xe6e04b(0x156)])+',\x20messageLength='+(_0xf5f83[_0xe6e04b(0x151)]?.[_0xe6e04b(0x1d3)]||0x0));}));const _0x10aee8=_0x4df8fe[TestFrameworkConstants[_0x4efdc3(0x1f7)]]||{},_0x372fac=_0x283945[_0x4efdc3(0x1fa)](getMediaArtifactsLogs,_0x10aee8,null,_0x1f68d9),_0xb092e5=(_0x4755eb||[])[_0x4efdc3(0x153)](_0x372fac||[]),_0x1b9545=_0x209858?.[_0x4efdc3(0x1d3)]||0x0,_0x1fddb7=_0x283945[_0x4efdc3(0x18b)](_0x4755eb?.[_0x4efdc3(0x1d3)]||0x0,_0x1b9545);logger['debug'](_0x4efdc3(0x12b)+_0x1f68d9+_0x4efdc3(0x116)+_0x1fddb7+_0x4efdc3(0x1c9)+_0x1b9545+_0x4efdc3(0x1d4)+(_0x372fac?.['length']||0x0)+_0x4efdc3(0x1e4)+_0xb092e5[_0x4efdc3(0x1d3)]);if(!_0xb092e5||_0x283945[_0x4efdc3(0x21e)](_0xb092e5[_0x4efdc3(0x1d3)],0x0)){logger[_0x4efdc3(0x1ab)](_0x4efdc3(0x1a3)+_0x1f68d9);return;}const _0x536b59=0x28,_0x5ea57a=Math[_0x4efdc3(0x10c)](_0x283945[_0x4efdc3(0x1e1)](_0xb092e5[_0x4efdc3(0x1d3)],_0x536b59));for(let _0x5a6ef8=0x0;_0x283945[_0x4efdc3(0x174)](_0x5a6ef8,_0x5ea57a);_0x5a6ef8++){const _0x12b5e8=_0x283945[_0x4efdc3(0x1c3)](_0x5a6ef8,_0x536b59),_0x5c63af=_0x283945[_0x4efdc3(0x114)](_0x12b5e8,_0x536b59),_0x2114ae=_0xb092e5['slice'](_0x12b5e8,_0x5c63af),_0x42f23c=global?.[_0x4efdc3(0x152)]?.['workerInfo']?.[_0x4efdc3(0x257)]||0x0,_0x5bfa2b={'platformIndex':_0x42f23c,'logs':_0x2114ae,'testFrameworkName':_0x5c9698,'testFrameworkVersion':_0x349cfc,'testFrameworkState':_0x2f88a2['toString']()[_0x4efdc3(0x213)]('.')[0x1]},_0x12f028={};_0x12f028[_0x4efdc3(0xfd)]=0x3,_0x12f028['maxArrayLength']=0x5,logger[_0x4efdc3(0x1ab)](_0x4efdc3(0x21c)+_0x283945['btzcq'](_0x5a6ef8,0x1)+'/'+_0x5ea57a+_0x4efdc3(0x1f3)+_0x1f68d9+',\x20logsInBatch:\x20'+_0x2114ae['length']+',\x20platformIndex:\x20'+_0x42f23c+_0x4efdc3(0x177)+util['inspect'](_0x5bfa2b,_0x12f028));const _0x552a21=await GrpcClient[_0x4efdc3(0x263)]()[_0x4efdc3(0x1a7)](_0x5bfa2b);logger['debug'](_0x4efdc3(0x21c)+_0x283945[_0x4efdc3(0x10e)](_0x5a6ef8,0x1)+'/'+_0x5ea57a+_0x4efdc3(0x1f3)+_0x1f68d9+_0x4efdc3(0xf9)+util[_0x4efdc3(0x1b1)](_0x552a21));}if(_0x372fac&&_0x283945[_0x4efdc3(0x26a)](_0x372fac['length'],0x0)&&_0x4df8fe[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]){const _0x1d987a={[TestFrameworkConstants[_0x4efdc3(0x1f7)]]:{}},_0x1037e7={};_0x1037e7[_0x1f68d9]=_0x1d987a,_0x4fa9e7['addMultipleEntries'](_0x1037e7);}logger[_0x4efdc3(0x1ab)](_0x4efdc3(0x222)+_0x1f68d9+_0x4efdc3(0x21b)+_0x5ea57a);}catch(_0x7458d2){logger[_0x4efdc3(0x14b)](_0x4efdc3(0x20f)+(_0x729666['testUUID']||_0x729666['testId'])+_0x4efdc3(0x12a)+util[_0x4efdc3(0x115)](_0x7458d2));}}['storePendingHook'](_0x169b8f,_0x41e2df,_0x3c2f43,_0xf9b163,_0x2490b7){const _0x3a3d39=a71_0x1b57ae,_0x57e3f3={};_0x57e3f3['naQhC']=function(_0x4b960c,_0x2420e4){return _0x4b960c===_0x2420e4;},_0x57e3f3[_0x3a3d39(0x107)]=_0x3a3d39(0x27e);const _0x45fd6b=_0x57e3f3,{hookData:_0xabded8}=_0x2490b7,_0x2ceb82={'testId':_0x41e2df,'testFrameworkState':_0x3c2f43,'hookState':_0xf9b163,'args':_0x2490b7,'timestamp':new Date()[_0x3a3d39(0x1fe)]()};if(_0x45fd6b[_0x3a3d39(0x183)](_0x3c2f43,TestFrameworkState[_0x3a3d39(0x23f)])&&_0xabded8){const _0x8d8167={};_0x8d8167['filePath']=_0xabded8[_0x3a3d39(0x223)]||_0xabded8[_0x3a3d39(0x24c)],_0x8d8167[_0x3a3d39(0x211)]=_0xabded8[_0x3a3d39(0x211)]||_0xabded8[_0x3a3d39(0x1b4)]&&_0xabded8[_0x3a3d39(0x1b4)][0x0]||'',_0x8d8167['hookType']=_0x45fd6b[_0x3a3d39(0x107)],_0x2ceb82['hookMetadata']=_0x8d8167,logger['debug'](_0x3a3d39(0xf1)+_0x41e2df+_0x3a3d39(0x13e)+_0x2ceb82[_0x3a3d39(0x119)][_0x3a3d39(0x16e)]+',\x20scope:\x20'+_0x2ceb82[_0x3a3d39(0x119)][_0x3a3d39(0x211)]);}_0x169b8f[_0x3a3d39(0x1ea)](_0x41e2df,_0x2ceb82),logger['debug'](_0x3a3d39(0x1e2)+_0x41e2df+_0x3a3d39(0x265)+_0x3c2f43+_0x3a3d39(0x121)+_0xf9b163);}async['processPendingHooks'](_0x12a8ca,_0x4c5373){const _0x5bd87c=a71_0x1b57ae,_0x25575e={};_0x25575e[_0x5bd87c(0x1dd)]=function(_0x236166,_0x6a4a75){return _0x236166>_0x6a4a75;},_0x25575e[_0x5bd87c(0x281)]=_0x5bd87c(0x19e),_0x25575e[_0x5bd87c(0x26d)]=function(_0x3f7af0,_0x51213e){return _0x3f7af0===_0x51213e;},_0x25575e[_0x5bd87c(0x18f)]=function(_0xb9955f,_0x2b5851){return _0xb9955f===_0x2b5851;},_0x25575e['PHtLi']=function(_0x336348,_0x3e02ae){return _0x336348===_0x3e02ae;},_0x25575e['IbXrr']=function(_0x277f39,_0x170b62){return _0x277f39>_0x170b62;},_0x25575e[_0x5bd87c(0xf4)]=function(_0x368d4f,_0x3f8f0c){return _0x368d4f===_0x3f8f0c;},_0x25575e[_0x5bd87c(0x22c)]='[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook',_0x25575e[_0x5bd87c(0x148)]='Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}';const _0x556d35=_0x25575e;if(_0x12a8ca[_0x5bd87c(0x219)](_0x4c5373)){const _0x13529e=_0x12a8ca[_0x5bd87c(0x22e)](_0x4c5373);logger[_0x5bd87c(0x1ab)]('Processing\x20'+_0x13529e[_0x5bd87c(0x1d3)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x4c5373);for(const _0x5f35d0 of _0x13529e){try{const _0x2f2fb2=await this[_0x5bd87c(0x139)](_0x12a8ca,_0x5f35d0[_0x5bd87c(0x13d)],_0x5f35d0[_0x5bd87c(0x279)],_0x5f35d0[_0x5bd87c(0x266)]);_0x2f2fb2&&_0x556d35['Qpcxw'](Object[_0x5bd87c(0xfa)](_0x2f2fb2)[_0x5bd87c(0x1d3)],0x0)&&_0x12a8ca['addMultipleEntries'](_0x2f2fb2),await this[_0x5bd87c(0x1f6)](_0x12a8ca,_0x5f35d0['testFrameworkState'],_0x5f35d0[_0x5bd87c(0x279)],_0x5f35d0['args']);}catch(_0x49dbcf){logger[_0x5bd87c(0x14b)](_0x5bd87c(0x1cd)+_0x4c5373+',\x20error:\x20'+_0x49dbcf);}}_0x12a8ca[_0x5bd87c(0x25f)](_0x4c5373),logger[_0x5bd87c(0x1ab)](_0x5bd87c(0x126)+_0x4c5373);}const _0x33ddd3=_0x12a8ca[_0x5bd87c(0x1ee)]()[_0x5bd87c(0x28c)](_0x4c5373);if(_0x33ddd3){const _0x2b0c98=_0x33ddd3[TestFrameworkConstants[_0x5bd87c(0x11b)]]||_0x33ddd3[TestFrameworkConstants[_0x5bd87c(0x123)]],_0x45c3b2=_0x33ddd3[TestFrameworkConstants[_0x5bd87c(0x258)]]||_0x33ddd3[TestFrameworkConstants[_0x5bd87c(0x1ed)]]&&_0x33ddd3[TestFrameworkConstants[_0x5bd87c(0x1ed)]][0x0]||'';logger[_0x5bd87c(0x1ab)](_0x556d35[_0x5bd87c(0x281)]);const _0x5ebdf7=_0x12a8ca[_0x5bd87c(0x247)]();for(const _0x4cb118 of _0x5ebdf7){if(_0x556d35[_0x5bd87c(0x26d)](_0x4cb118,_0x4c5373))continue;if(_0x12a8ca['hasPendingHooks'](_0x4cb118)){const _0xf523fa=_0x12a8ca['getPendingHooks'](_0x4cb118);for(const _0x49fdee of _0xf523fa){if(_0x556d35[_0x5bd87c(0x18f)](_0x49fdee['testFrameworkState'],TestFrameworkState['BEFORE_ALL'])&&_0x49fdee['hookMetadata']){const _0x4caf28=_0x49fdee[_0x5bd87c(0x119)][_0x5bd87c(0x16e)],_0x414547=_0x49fdee[_0x5bd87c(0x119)][_0x5bd87c(0x211)];if(_0x556d35['PHtLi'](_0x4caf28,_0x2b0c98)&&_0x556d35['gRPXx'](_0x414547,_0x45c3b2)){logger[_0x5bd87c(0x1ab)](_0x5bd87c(0x150)+_0x4cb118+_0x5bd87c(0x1d6)+_0x4c5373+_0x5bd87c(0x13e)+_0x4caf28+_0x5bd87c(0x12e)+_0x414547);_0x49fdee['args']&&_0x49fdee['args'][_0x5bd87c(0x252)]&&(_0x49fdee[_0x5bd87c(0x266)][_0x5bd87c(0x252)][_0x5bd87c(0x240)]=_0x4c5373,logger[_0x5bd87c(0x1ab)]('[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20'+_0x4cb118+'\x20to\x20'+_0x4c5373));try{const _0x5d689d=await this[_0x5bd87c(0x139)](_0x12a8ca,_0x49fdee[_0x5bd87c(0x13d)],_0x49fdee[_0x5bd87c(0x279)],_0x49fdee[_0x5bd87c(0x266)]);_0x5d689d&&_0x556d35[_0x5bd87c(0x236)](Object[_0x5bd87c(0xfa)](_0x5d689d)[_0x5bd87c(0x1d3)],0x0)&&_0x12a8ca[_0x5bd87c(0x208)](_0x5d689d);await this[_0x5bd87c(0x1f6)](_0x12a8ca,_0x49fdee['testFrameworkState'],_0x49fdee['hookState'],_0x49fdee[_0x5bd87c(0x266)]);const _0x2f8b18=_0x12a8ca[_0x5bd87c(0x22e)](_0x4cb118)[_0x5bd87c(0x243)](_0xb154f4=>_0xb154f4!==_0x49fdee);if(_0x556d35[_0x5bd87c(0xf4)](_0x2f8b18[_0x5bd87c(0x1d3)],0x0))_0x12a8ca[_0x5bd87c(0x25f)](_0x4cb118);else{_0x12a8ca[_0x5bd87c(0x25f)](_0x4cb118);for(const _0x451330 of _0x2f8b18){_0x12a8ca[_0x5bd87c(0x1ea)](_0x4cb118,_0x451330);}}logger[_0x5bd87c(0x1ab)](_0x556d35['LEPuF']);}catch(_0x402c9b){logger[_0x5bd87c(0x14b)](_0x556d35['jNYNU']);}}}}}}}}['mapTestHooks'](_0x2094d8){const _0x8e8430=a71_0x1b57ae,_0x581e56={'Dshit':function(_0x2c11fe){return _0x2c11fe();}};if(!_0x2094d8||!_0x2094d8[_0x8e8430(0x1cc)])return;_0x2094d8[_0x8e8430(0x1cc)]['hooks']&&Array[_0x8e8430(0x28b)](_0x2094d8['parent'][_0x8e8430(0x1b2)])&&_0x2094d8[_0x8e8430(0x1cc)][_0x8e8430(0x1b2)][_0x8e8430(0x255)](_0xb65db6=>{const _0x4ab09b=_0x8e8430;!_0xb65db6[_0x4ab09b(0x201)]&&!_0xb65db6['hookUUID']&&(_0xb65db6['hookAnalyticsId']=_0x581e56[_0x4ab09b(0x13f)](uuidv4),_0xb65db6[_0x4ab09b(0x1c2)]=_0xb65db6[_0x4ab09b(0x201)],logger['debug']('[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type='+_0xb65db6[_0x4ab09b(0x241)]+_0x4ab09b(0x1f0)+_0xb65db6[_0x4ab09b(0x201)]));}),this[_0x8e8430(0x108)](_0x2094d8[_0x8e8430(0x1cc)]);}[a71_0x1b57ae(0x1f4)](_0x3b3f84){const _0x32f1bf=a71_0x1b57ae,_0x192df0={'SHGAD':function(_0x299697,_0x5b4612){return _0x299697(_0x5b4612);}};if(!_0x3b3f84||!_0x3b3f84['parent'])return[];const _0x3a7086=[];return _0x3b3f84[_0x32f1bf(0x1cc)][_0x32f1bf(0x1b2)]&&Array[_0x32f1bf(0x28b)](_0x3b3f84['parent']['hooks'])&&_0x3b3f84[_0x32f1bf(0x1cc)]['hooks'][_0x32f1bf(0x255)](_0x5ee219=>{const _0x46becf=_0x32f1bf,_0x4026a8=_0x5ee219[_0x46becf(0x201)]||_0x5ee219['hookUUID'];_0x4026a8&&!this['isJestInternalHook'](_0x5ee219)&&!_0x192df0[_0x46becf(0x104)](isInternalHook,_0x5ee219['fn'])&&_0x3a7086[_0x46becf(0x120)](_0x4026a8);}),[..._0x3a7086,...this[_0x32f1bf(0x1f4)](_0x3b3f84[_0x32f1bf(0x1cc)])];}[a71_0x1b57ae(0x14a)](_0x1a8f2d){const _0xc12691=a71_0x1b57ae,_0xcc7866={'lXnOb':function(_0x354718,_0x36cdfe){return _0x354718(_0x36cdfe);},'iAvgA':_0xc12691(0x24d),'wkijw':function(_0x37fed6,_0x204003){return _0x37fed6(_0x204003);},'sWlIl':function(_0x577733,_0x5e1323){return _0x577733(_0x5e1323);}},_0x28abfb=new Map(),_0x5c33de=_0xc6ae84=>{const _0x15bdaf=_0xc12691,_0x24eec2={'Vrrzg':function(_0x8a1d14,_0x59ce64){const _0x551b64=a71_0x3731;return _0xcc7866[_0x551b64(0x18c)](_0x8a1d14,_0x59ce64);},'QeBLZ':_0xcc7866[_0x15bdaf(0x1d1)]};if(!_0xc6ae84||!_0xc6ae84[_0x15bdaf(0x1cc)])return;_0xc6ae84['parent'][_0x15bdaf(0x1b2)]&&Array[_0x15bdaf(0x28b)](_0xc6ae84[_0x15bdaf(0x1cc)][_0x15bdaf(0x1b2)])&&_0xc6ae84[_0x15bdaf(0x1cc)][_0x15bdaf(0x1b2)][_0x15bdaf(0x255)](_0x36b863=>{const _0x557a73=_0x15bdaf,_0x3386db=_0x36b863[_0x557a73(0x201)]||_0x36b863['hookUUID'];if(_0x3386db&&!this[_0x557a73(0x19b)](_0x36b863)&&!_0x24eec2[_0x557a73(0x1d9)](isInternalHook,_0x36b863['fn'])){const _0xa7bc19={};_0xa7bc19[_0x557a73(0x241)]=_0x36b863[_0x557a73(0x241)]||_0x24eec2[_0x557a73(0x256)],_0xa7bc19[_0x557a73(0x10f)]=_0x36b863[_0x557a73(0x10f)]||'\x22'+_0x36b863['type']+_0x557a73(0x26f),_0x28abfb[_0x557a73(0x25b)](_0x3386db,_0xa7bc19);}}),_0xcc7866[_0x15bdaf(0x277)](_0x5c33de,_0xc6ae84[_0x15bdaf(0x1cc)]);};return _0xcc7866['sWlIl'](_0x5c33de,_0x1a8f2d),_0x28abfb;}[a71_0x1b57ae(0x19b)](_0x24b158){const _0x21ac8f=a71_0x1b57ae,_0x1198f8={};_0x1198f8['AIcnt']=_0x21ac8f(0x17c),_0x1198f8['Kncmc']=_0x21ac8f(0x194);const _0x5aa645=_0x1198f8;try{const _0x7a78c=this[_0x21ac8f(0x1cf)](_0x24b158);return _0x7a78c&&_0x7a78c[_0x21ac8f(0x159)](_0x5aa645[_0x21ac8f(0x23d)]);}catch(_0x57ad15){logger[_0x21ac8f(0x1ab)](_0x5aa645[_0x21ac8f(0x19d)]);}return![];}[a71_0x1b57ae(0x1cf)](_0xba2480){const _0x4633c6=a71_0x1b57ae;if(_0xba2480[_0x4633c6(0x28a)])try{const _0x1def54=stackTrace['parse'](_0xba2480[_0x4633c6(0x28a)]);return _0x1def54[0x0]?_0x1def54[0x0][_0x4633c6(0x206)]():null;}catch(_0x2401a3){logger[_0x4633c6(0x1ab)]('[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20'+util['format'](_0x2401a3));}if(_0xba2480['file'])return _0xba2480[_0x4633c6(0x1bd)];return null;}}module[a71_0x1b57ae(0x1ce)]=JestTestFramework;function a71_0x53b1(){const _0x7c5018=['apply','jest-circus','test','CuqKS','Unknown\x20error',',\x20target=','KTwVu','hook_type','naQhC','Assert','fHBcs','getProcessId','emvbD','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','KEY_EVENT_STARTED_AT',',\x20argsKeys=','Rbefx','lXnOb','AkCSb','afterAll','gRPXx','ZzZpm','substr','hookType','KEY_CUSTOM_TAGS','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','errorsDetailed','setActiveHook','testFrameworkName','hook_id','activeHooks','KEY_EVENT_ENDED_AT','isJestInternalHook','AssertionError','Kncmc','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','dTime','eventJson','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','AYbST','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','DZPrz','logCreatedEvent','lGguB','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','debug','GRRaZ','KEY_HOOK_LAST_STARTED','result',',\x20exception=','maxArrayLength','inspect','hooks','KEY_TEST_META','scopes','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','TEST','trackEvent','KEY_HOOK_FAILURE_TYPE','Unknown\x20Test','getId',',\x20hook_run_uuid=','processPendingHooks','file','startsWith','442776jJonqX','originalTest','getJestTestName','hookUUID','gIanJ','KEY_TEST_CODE','\x20(testIdentifier),\x20hookType=','HneaP','IJzTr','KEY_TEST_FAILURE',',\x20screenshotLogs:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20',',\x20hookType=','parent','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','exports','getRootParentFile','getTrackedInstance','iAvgA','\x20hook','length',',\x20attachmentLogs:\x20','none',',\x20currentTestId:\x20',',\x20hookData=','2278WfrQuJ','Vrrzg','\x22\x20from\x20testData','PKzZA',',\x20hookId=','Qpcxw',',\x20hookState=','RjOye','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','jcjdo','Stored\x20pending\x20hook\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=',',\x20totalLogs:\x20','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','getTestFrameworksVersions','find',',\x20hooksListLength=','LCoJA','addPendingHook','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','KEY_TEST_SCOPES','getAllData','pop',',\x20hookUUID=','KEY_TEST_FRAMEWORK_VERSION','680320soalxp','\x20-\x20testId:\x20','getHooksForTest','KEY_TEST_FRAMEWORK_NAME','runHooks','KEY_TEST_ATTACHMENTS',',\x20filePath=','KEY_HOOKS_FINISHED','GZJCK','\x20attachments','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','ZdHAN','toISOString','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','sendLogCreatedEvent','hookAnalyticsId','_ALL','finished_at','KEY_TEST_UUID','resolveInstance','getFileName','\x20(testIdentifier),\x20tags=','addMultipleEntries','getJestFailureData','vdFTm','BsWWT','1489075oPirVv','splice','getCurrentTestState','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','Sqibq','scope','../TestInfo.js','split','duration','tags','getJestTestIdentifier','retryOf','msERr','hasPendingHooks','PRE',',\x20totalBatches:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','\x20for\x20testId:\x20','DoNOv','dhsbA','map','uMtmF','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','file_name','XdgIy','ROOT_DESCRIBE_BLOCK',',\x20remainingHooks=',',\x20updates=','failure_reason','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','getJestFailureReason','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','LEPuF','./constants/testFrameworkConstants.js','getPendingHooks','KEY_HOOK_RESULT','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','removeActiveHook','luQUM','hook_run_uuid','from','join','IbXrr','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','JestTestFramework','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','JqeIF','instance','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','AIcnt','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','BEFORE_ALL','test_run_id','type','dAEIx','filter','ndmQy','../cliUtils.js','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','getAllPendingHookTestIds','getCurrentInstanceName','POST','kVnid','dxvWC','location','unknown','QZzaf','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','KEY_LOGS','hookData','KEY_TEST_ENDED_AT','storePendingHook','forEach','QeBLZ','parallelIndex','KEY_TEST_SCOPE','KEY_HOOK_FAILURE','testData','set','MwdRM','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND',',\x20testData=','removePendingHooks','QhBZh','lYLYr','../../../helpers/helper.js','getInstance','bHOvP',',\x20state:\x20','args','\x20-\x20test_identifier=','failed','wUFFQ','eTefb',',\x20scopes=',',\x20version=','cMFux','executionContext','\x22\x20hook','ThyBx','UnhandledError','getJestFailureType','\x20&\x20hookState=','TEST_SCREENSHOT','getTestFrameworks','\x20logs\x20for\x20testId:\x20','wkijw','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','hookState',',\x20test_run_uuid=','getContext','Pgadl','lUwex','beforeAll','mJIUJ','\x20(testIdentifier),\x20result=','fXuHw','../../../helpers/test-observability/utils','base64','slice','warn','started_at','rttHQ','MHRvx',',\x20hook=','asyncError','isArray','get','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','endedAt','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','hqAcI','166327jbMVeI','nVgkM','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','nSFMi','trackJestInstance','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','203632QcmqVy',',\x20testId=','qrXzv','KEY_TEST_RETRY_OF','QBEWH','status','KEY_TEST_RESULT',',\x20response=','keys','title','test_run_uuid','depth','bXKBI','getJestTestFilePath','passed','fCbDE','KEY_TEST_STARTED_AT','9GprjgI','SHGAD','4539460nMljOS','DEFAULT_TEST_RESULT','mnEFo','mapTestHooks','getCurrentHookState','parseJestTest','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','ceil','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','DlEtl','name','skipped','stack-trace','129WVjGGV','../grpcClient','HaQPQ','format',',\x20consoleLogs:\x20','missing','uMJde','hookMetadata','KEY_HOOK_FAILURE_REASON','KEY_TEST_FILE_PATH','event_ended_at','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','LOG_REPORT','testId','push',',\x20hookState:\x20','util','KEY_TEST_LOCATION','startedAt',',\x20totalHooks=','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','gQcxY','hook_result','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',',\x20error:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','trackJestInstance:\x20created\x20instance\x20for\x20target=','match',',\x20scope:\x20','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','substring','\x20files','NnXJI','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','matchHookRegex','36rNGUWg','../state/hookState.js','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','delete','trackHookEvent','OJWJJ','getActiveHook','wJjCC','testFrameworkState',',\x20filePath:\x20','Dshit','KEY_HOOK_NAME','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','KEY_HOOK_ID','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','toString','uuid',',\x20failureReason=','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','jNYNU','findIndex','buildHookMapFromTest','error','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','setTrackedInstance','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType=','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','message','__workerDetails','concat','testUUID','\x20screenshot\x20logs\x20for\x20testId:\x20','ypvWI','parseJestTestResult','has','includes','KEY_TEST_FAILURE_TYPE','KEY_TEST_RERUN_NAME','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','reverse','getJestTestTags','KEY_TEST_FAILURE_REASON','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','test_identifier','Error\x20in\x20createTestFrameworkEventPayload:\x20','myNzV','LEgaN','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','KEY_TEST_RESULT_AT','createContext',',\x20failureType=','pid',',\x20state=','KEY_TEST_NAME','ALL','filePath','NONE','stringify','XezZe','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','getJestTestScopes','UcnEJ','../instances/trackedInstance.js',',\x20result=',',\x20payload:\x20','KEY_HOOKS_STARTED','DEFAULT_HOOK_RESULT',',\x20testFramework='];a71_0x53b1=function(){return _0x7c5018;};return a71_0x53b1();}
1
+ const a71_0x1a06ff=a71_0x2907;(function(_0x8eba77,_0x3f6793){const _0x5e3ef3=a71_0x2907,_0x3b74e8=_0x8eba77();while(!![]){try{const _0x3a3312=parseInt(_0x5e3ef3(0x27d))/0x1*(parseInt(_0x5e3ef3(0x2c0))/0x2)+parseInt(_0x5e3ef3(0x1b2))/0x3+parseInt(_0x5e3ef3(0x19b))/0x4+-parseInt(_0x5e3ef3(0x16e))/0x5*(-parseInt(_0x5e3ef3(0x192))/0x6)+parseInt(_0x5e3ef3(0x288))/0x7*(parseInt(_0x5e3ef3(0x23e))/0x8)+parseInt(_0x5e3ef3(0x2e3))/0x9+-parseInt(_0x5e3ef3(0x252))/0xa;if(_0x3a3312===_0x3f6793)break;else _0x3b74e8['push'](_0x3b74e8['shift']());}catch(_0x14c684){_0x3b74e8['push'](_0x3b74e8['shift']());}}}(a71_0x19e0,0xb32c4));const TestFramework=require('./testFramework'),TestFrameworkState=require(a71_0x1a06ff(0x268)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a71_0x1a06ff(0x1b1)),TestFrameworkInstance=require(a71_0x1a06ff(0x28d)),CLIUtils=require(a71_0x1a06ff(0x216)),TrackedInstance=require(a71_0x1a06ff(0x23c)),TestFrameworkConstants=require(a71_0x1a06ff(0x20d)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a71_0x1a06ff(0x1e9)),{isInternalHook}=require(a71_0x1a06ff(0x271)),logger=createClassLogger('JestTestFramework'),{v4:uuidv4}=require(a71_0x1a06ff(0x1e2)),util=require(a71_0x1a06ff(0x1f9)),TestInfo=require('../TestInfo.js'),GrpcClient=require('../grpcClient'),stackTrace=require(a71_0x1a06ff(0x2e4));function a71_0x19e0(){const _0x3a2994=['198518YKYeFI',',\x20response=','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','getHooksForTest','getJestTestIdentifier','POST','testFrameworkState','VGPyf','startsWith','getCurrentHookState','EWvCp','FVEoG','find','KEY_HOOK_NAME','GfCpp','error','started_at','match','FjNdB',',\x20testId=','trackJestInstance:\x20created\x20instance\x20for\x20target=','delete','uPmRt','XUivH','findIndex',',\x20filePath=','test','CRzEi','nLtSN','KEY_HOOKS_STARTED','sygaT','\x20(testIdentifier),\x20tags=','TEST_SCREENSHOT','656523YiPGyd','stack-trace','join','mYTHi','beforeAll','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','KEY_EVENT_STARTED_AT','suCWc','JzmrG','kHghl','removePendingHooks','status','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','map','uaGIk','substring','uuwAR','KEY_CUSTOM_TAGS','test_run_id',',\x20target=','nnAjP','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','errorsDetailed','Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20${testId},\x20error:\x20${error}','\x22\x20hook','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','isJestInternalHook','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','NRDJw','17360fFXwEG','hookAnalyticsId','Tyfdh','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','result','maxArrayLength','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','resolveInstance','HLmsT','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20${testFilePath},\x20scope:\x20${testScope}','tEtZx','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','kind','getFileName','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','KEY_EVENT_ENDED_AT','trackEvent','dWpBs','\x20(testIdentifier)','\x20&\x20hookState=','KEY_TEST_META','GDUYD','jest-circus','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','keys','ceil','KEY_TEST_RERUN_NAME','KEY_TEST_ID','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=',',\x20totalHooks=','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','toISOString','KEY_TEST_ENDED_AT','\x20-\x20testId:\x20','\x20(testIdentifier),\x20hookType=','stringify','2094EDTJGy','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20',',\x20failureReason=','\x20to\x20','push','KEY_TEST_FAILURE_REASON','hooks','KEY_TEST_FILE_PATH','ReGOf','1163560GpaEDd','addPendingHook','unknown','KEY_HOOK_LAST_FINISHED','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','instance','KEY_TEST_NAME','warn','vDecG','originalTest','KEY_TEST_STARTED_AT','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','KEY_TEST_SCOPE','KEY_TEST_LOGS','KEY_TEST_RESULT','DEFAULT_TEST_RESULT','WHFJL','includes','exports','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=',',\x20duration=','inspect','../../../helpers/classLogger.js','3462057HJwpji','reverse','storePendingHook','FLDUZ','hookUUID','Sjdjx','XHkSa','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','KEY_TEST_ATTACHMENTS','_ALL','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','testFrameworkName','Jzjqb','apply','getTestFrameworksVersions','toUpperCase','parse',',\x20hookType=',',\x20error:\x20','tags','logCreatedEvent','depth','UnhandledError','Vmhsp','set','KEY_TEST_DURATION','AtVqo','location','sendLogCreatedEvent','hookMetadata','skip','finished_at','KEY_HOOK_FAILURE','JqvFI','retryOf','file','Processing\x20','CbHjv','SZheA','from','\x20attachments','KEY_HOOK_ID','TEST','split','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','getRootParentFile','testData',',\x20hooksListLength=','uuid','KEY_HOOK_FAILURE_TYPE','getJestTestName','hookType','mapTestHooks','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','CNIDP','../../../helpers/helper.js','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','RioxH','failure_reason','processPendingHooks',',\x20testData=','parallelIndex','WUOcn','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','getAllData',',\x20storing\x20as\x20pending\x20hook','asyncError','nrzGM','testUUID','KEY_TEST_FAILURE','util','CSwRW',',\x20currentTestId:\x20','FHmrJ','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','PRE',':testAnalyticsId','getContext','getId','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','ZNUgM','BRRJY','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','file_name','\x20-\x20test_identifier=','format','oyQZm','base64','removeActiveHook','./constants/testFrameworkConstants.js','DEFAULT_HOOK_RESULT','__workerDetails','vHaVu','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','getJestFailureReason','type','createTestFrameworkEventPayload','getTestFrameworks','../cliUtils.js','filter','getRef',',\x20exception=','xtwKf','Stored\x20pending\x20hook\x20for\x20testId:\x20','test_identifier','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','INKtO',',\x20logsInBatch:\x20','getJestTestFilePath','title','skipped','jeUzM','duration','event_ended_at','forEach','XKcnP','afterAll','getCurrentTestState','Unknown\x20Test','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result',',\x20failureType=','KEY_TEST_RESULT_AT','HJyDs','getPendingHooks','KEY_LOGS',',\x20testFramework=','toString','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','sjfmw','buildHookMapFromTest','hookData','Unknown\x20error','DjfVP','fBbec','getCurrentInstanceName','passed','../instances/trackedInstance.js','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','1202528qzHfsE','startedAt','getJestFailureData',',\x20attachmentLogs:\x20','replace','debug',',\x20state=',',\x20totalLogs:\x20','has','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','\x20pending\x20hooks\x20for\x20testId:\x20','TFCKL','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','getJestTestScopes',',\x20hook_run_uuid=','FZMZM','KEY_TEST_RETRY_OF','pop','hook_run_uuid',',\x20result=','41368980nRJzfa',',\x20test_run_uuid=','getJestFailureType','BEFORE_ALL','scope','YmqJV','runHooks','\x20hook','KEY_TEST_TAGS','none','hZGjN','\x20for\x20testId:\x20','getTrackedInstance',',\x20remainingHooks=','hasPendingHooks','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','KEY_TEST_LOCATION',',\x20hook=','OvqJq',',\x20hookId=','platformIndex','MrJGq','../state/testFrameworkState.js','testFrameworkVersion','mNIom','get','dDOOj','neIYd','testId','message','getThreadId','../../../helpers/test-observability/utils','KEY_HOOK_RESULT','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','scopes','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','getProcessId','isArray','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','addMultipleEntries','ROOT_DESCRIBE_BLOCK','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','14IJTAOf','iwMdv','KEY_HOOK_LAST_STARTED','NONE','args','pid','WVJbt','QyZaG','KEY_HOOK_LOGS','parseJestTest','trackJestInstance','35Tlwzmw',',\x20hookData=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','KEY_TEST_SCOPES','sYHYv','../instances/testFrameworkInstance.js','endedAt','\x20logs\x20for\x20testId:\x20','WZibj','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','slice','setActiveHook','KEY_TEST_CODE','hook_id','trackHookEvent','splice','parent',',\x20hookUUID=','qJQQv','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback',',\x20filePath:\x20','setTrackedInstance',',\x20hookState=','YJyRJ','getAllPendingHookTestIds','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','getActiveHook','activeHooks','KEY_TEST_FAILURE_TYPE','hookState','concat','hook_type','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20',',\x20messageLength=','length','lvcKe',',\x20updates=','TMMhE','getJestTestTags','FHfeR','name','CCwMq','KEY_TEST_FRAMEWORK_VERSION','filePath','jyDSB','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test',',\x20contextId=','trackJestInstance:\x20instance\x20already\x20exists','HTdct','LOG_REPORT','KEY_HOOK_FAILURE_REASON','substr','KEY_HOOKS_FINISHED','failed','PzRCb','hook_result'];a71_0x19e0=function(){return _0x3a2994;};return a71_0x19e0();}function a71_0x2907(_0x1717a7,_0x5487ac){const _0x19e0cc=a71_0x19e0();return a71_0x2907=function(_0x2907da,_0x1d5b99){_0x2907da=_0x2907da-0x16e;let _0x385cae=_0x19e0cc[_0x2907da];return _0x385cae;},a71_0x2907(_0x1717a7,_0x5487ac);}class JestTestFramework extends TestFramework{constructor(_0x552b9b,_0x54362a,_0x2200ce){const _0x1c8388=a71_0x1a06ff;super(_0x552b9b,_0x54362a,_0x2200ce),this[_0x1c8388(0x2a3)]=new Map();}[a71_0x1a06ff(0x293)](_0x3d5df3,_0x5cca5a,_0x129bff){const _0x309499=a71_0x1a06ff,_0x2e03ca={};_0x2e03ca[_0x309499(0x1f6)]=function(_0x5df300,_0x5f4eb2){return _0x5df300||_0x5f4eb2;};const _0x3766cb=_0x2e03ca;if(_0x3766cb[_0x309499(0x1f6)](!_0x3d5df3,!_0x5cca5a)){logger['warn'](_0x309499(0x1e7)+_0x3d5df3+_0x309499(0x299)+_0x5cca5a);return;}!this[_0x309499(0x2a3)][_0x309499(0x246)](_0x3d5df3)&&this[_0x309499(0x2a3)][_0x309499(0x1ca)](_0x3d5df3,[]);const _0x5a3dfa={'hookUUID':_0x5cca5a,'hookType':_0x129bff,'startedAt':new Date()['toISOString']()};this[_0x309499(0x2a3)][_0x309499(0x26b)](_0x3d5df3)[_0x309499(0x196)](_0x5a3dfa),logger[_0x309499(0x243)]('[JestTestFramework]\x20setActiveHook:\x20testIdentifier='+_0x3d5df3+_0x309499(0x299)+_0x5cca5a+_0x309499(0x1c3)+_0x129bff+_0x309499(0x18b)+this[_0x309499(0x2a3)][_0x309499(0x26b)](_0x3d5df3)[_0x309499(0x2aa)]);}[a71_0x1a06ff(0x20c)](_0x1f3371,_0x29fbff){const _0x15e913=a71_0x1a06ff,_0xd81115={};_0xd81115[_0x15e913(0x290)]=function(_0x2430ab,_0x3a592b){return _0x2430ab||_0x3a592b;},_0xd81115['OpsVn']=function(_0x3fcb9d,_0x201d14){return _0x3fcb9d!==_0x201d14;},_0xd81115[_0x15e913(0x2eb)]=function(_0x3b8fee,_0x5cdbbf){return _0x3b8fee===_0x5cdbbf;};const _0x51cc77=_0xd81115;if(_0x51cc77[_0x15e913(0x290)](!_0x1f3371,!_0x29fbff)){logger[_0x15e913(0x1a2)](_0x15e913(0x2fe)+_0x1f3371+',\x20hookUUID='+_0x29fbff);return;}if(this['activeHooks'][_0x15e913(0x246)](_0x1f3371)){const _0x428e6d=this[_0x15e913(0x2a3)]['get'](_0x1f3371),_0x50bafa=_0x428e6d[_0x15e913(0x2da)](_0x57737a=>_0x57737a[_0x15e913(0x1b6)]===_0x29fbff);_0x51cc77['OpsVn'](_0x50bafa,-0x1)?(_0x428e6d[_0x15e913(0x297)](_0x50bafa,0x1),logger[_0x15e913(0x243)](_0x15e913(0x291)+_0x1f3371+_0x15e913(0x299)+_0x29fbff+_0x15e913(0x25f)+_0x428e6d['length']),_0x51cc77['JzmrG'](_0x428e6d[_0x15e913(0x2aa)],0x0)&&this[_0x15e913(0x2a3)][_0x15e913(0x2d7)](_0x1f3371)):logger['debug'](_0x15e913(0x21d)+_0x1f3371+_0x15e913(0x299)+_0x29fbff);}}[a71_0x1a06ff(0x2a2)](_0x5e46dd){const _0x5bc8a0=a71_0x1a06ff,_0x11584e={};_0x11584e['NRDJw']=function(_0x45ef79,_0x13939b){return _0x45ef79>_0x13939b;},_0x11584e[_0x5bc8a0(0x264)]=function(_0x5cf3e7,_0x43a4ee){return _0x5cf3e7-_0x43a4ee;};const _0x1d6139=_0x11584e;if(!_0x5e46dd)return null;if(this[_0x5bc8a0(0x2a3)][_0x5bc8a0(0x246)](_0x5e46dd)){const _0x4fb8ba=this[_0x5bc8a0(0x2a3)][_0x5bc8a0(0x26b)](_0x5e46dd);if(_0x1d6139[_0x5bc8a0(0x2ff)](_0x4fb8ba[_0x5bc8a0(0x2aa)],0x0)){const _0x1e853d=_0x4fb8ba[_0x1d6139['OvqJq'](_0x4fb8ba[_0x5bc8a0(0x2aa)],0x1)];return logger[_0x5bc8a0(0x243)](_0x5bc8a0(0x23d)+_0x5e46dd+_0x5bc8a0(0x299)+_0x1e853d[_0x5bc8a0(0x1b6)]+',\x20hookType='+_0x1e853d['hookType']),_0x1e853d;}}return null;}async['trackEvent'](_0x365234,_0x3b4a86,_0x34f1a4={}){const _0x2cc002=a71_0x1a06ff,_0x311d03={};_0x311d03[_0x2cc002(0x1e8)]=_0x2cc002(0x1bc),_0x311d03[_0x2cc002(0x21a)]=function(_0x31d4a9,_0x597bed){return _0x31d4a9===_0x597bed;},_0x311d03[_0x2cc002(0x1b5)]=function(_0x5a285b,_0x6633b6){return _0x5a285b||_0x6633b6;},_0x311d03['GDUYD']='[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND',_0x311d03[_0x2cc002(0x2de)]=function(_0x2b0618,_0x2d92c8){return _0x2b0618===_0x2d92c8;};const _0x5f2cad=_0x311d03;logger[_0x2cc002(0x243)](_0x2cc002(0x18c)+_0x365234+',\x20hookState='+_0x3b4a86+',\x20argsKeys='+Object[_0x2cc002(0x186)](_0x34f1a4)['join'](',')),await super[_0x2cc002(0x17e)](_0x365234,_0x3b4a86,_0x34f1a4);const _0x4628df=this[_0x2cc002(0x175)](_0x365234,_0x3b4a86,_0x34f1a4);if(!_0x4628df){logger[_0x2cc002(0x243)](_0x5f2cad[_0x2cc002(0x1e8)]);return;}try{let _0x22549c,_0xb8d224,_0x42c59f;switch(_0x365234){case TestFrameworkState[_0x2cc002(0x1dc)]:_0x22549c=_0x34f1a4[_0x2cc002(0x2dc)];const _0x25aaab={};_0x25aaab[_0x2cc002(0x1c7)]=0x2,_0x25aaab['maxArrayLength']=0x3,logger[_0x2cc002(0x243)](_0x2cc002(0x2ef)+_0x3b4a86+_0x2cc002(0x1ef)+util[_0x2cc002(0x1b0)](_0x22549c,_0x25aaab)),_0x42c59f=this[_0x2cc002(0x2c6)](_0x22549c),_0xb8d224=null,logger[_0x2cc002(0x243)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId='+_0x42c59f+_0x2cc002(0x180));if(_0x5f2cad[_0x2cc002(0x21a)](_0x3b4a86,HookState['PRE'])){logger[_0x2cc002(0x243)](_0x2cc002(0x2a8)+_0x42c59f);const _0x213045={};_0x213045['testUUID']=_0xb8d224,_0x213045[_0x2cc002(0x1e0)]=_0x22549c,_0x213045['testId']=_0x42c59f;const _0x18fb64=this[_0x2cc002(0x286)](_0x213045),_0x3bb76a={};_0x3bb76a[_0x2cc002(0x1c7)]=0x2,_0x3bb76a[_0x2cc002(0x173)]=0x3,logger[_0x2cc002(0x243)](_0x2cc002(0x19f)+util[_0x2cc002(0x1b0)](_0x18fb64,_0x3bb76a)),_0x4628df[_0x2cc002(0x27a)](_0x18fb64),logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20'+_0x42c59f),await this[_0x2cc002(0x1ee)](_0x4628df,_0x42c59f);}else{if(_0x5f2cad[_0x2cc002(0x21a)](_0x3b4a86,HookState['POST'])){logger[_0x2cc002(0x243)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20'+_0x42c59f);const _0x214138=_0x4628df[_0x2cc002(0x1f3)]()[_0x2cc002(0x26b)](_0x42c59f);logger[_0x2cc002(0x243)](_0x2cc002(0x2c3)+util['inspect'](Object[_0x2cc002(0x186)](_0x5f2cad[_0x2cc002(0x1b5)](_0x214138,{}))));_0x214138&&_0x214138[TestFrameworkConstants[_0x2cc002(0x1ba)]]?logger[_0x2cc002(0x243)](_0x2cc002(0x2e8)+Object[_0x2cc002(0x186)](_0x214138[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']])[_0x2cc002(0x2aa)]+'\x20files'):logger[_0x2cc002(0x243)](_0x5f2cad[_0x2cc002(0x183)]);const _0x2570b4=_0x34f1a4[_0x2cc002(0x1a4)]||null,_0x59e495={};_0x59e495[_0x2cc002(0x1f7)]=_0xb8d224,_0x59e495['testData']=_0x22549c,_0x59e495[_0x2cc002(0x26e)]=_0x42c59f,_0x59e495[_0x2cc002(0x1a4)]=_0x2570b4;const _0x1c8df4=this['parseJestTestResult'](_0x59e495),_0x2cb5ae={};_0x2cb5ae[_0x2cc002(0x1c7)]=0x2,_0x2cb5ae[_0x2cc002(0x173)]=0x3,logger[_0x2cc002(0x243)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20'+util[_0x2cc002(0x1b0)](_0x1c8df4,_0x2cb5ae)),_0x4628df['addMultipleEntries'](_0x1c8df4),logger[_0x2cc002(0x243)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20'+_0x42c59f),await this[_0x2cc002(0x1ee)](_0x4628df,_0x42c59f);}}break;case TestFrameworkState[_0x2cc002(0x2b9)]:if(_0x5f2cad[_0x2cc002(0x2de)](_0x3b4a86,HookState['POST'])){const _0x457642={};_0x457642[_0x2cc002(0x1c7)]=0x2,logger[_0x2cc002(0x243)]('[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20'+util[_0x2cc002(0x1b0)](_0x34f1a4,_0x457642)),await this[_0x2cc002(0x1ce)](_0x4628df,_0x365234,_0x34f1a4);}break;default:if(CLIUtils['matchHookRegex'](_0x365234[_0x2cc002(0x232)]()[_0x2cc002(0x1dd)]('.')[0x1])){const _0x50f61b={};_0x50f61b['depth']=0x2,_0x50f61b['maxArrayLength']=0x3,logger['debug'](_0x2cc002(0x2f8)+_0x365234+_0x2cc002(0x29e)+_0x3b4a86+_0x2cc002(0x289)+util[_0x2cc002(0x1b0)](_0x34f1a4[_0x2cc002(0x236)],_0x50f61b));const _0x3644d7=await this[_0x2cc002(0x296)](_0x4628df,_0x365234,_0x3b4a86,_0x34f1a4),_0x296304={};_0x296304[_0x2cc002(0x1c7)]=0x2,_0x296304[_0x2cc002(0x173)]=0x3,logger['debug'](_0x2cc002(0x233)+util[_0x2cc002(0x1b0)](_0x3644d7,_0x296304)),_0x4628df[_0x2cc002(0x27a)](_0x3644d7);}else logger[_0x2cc002(0x243)]('[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState='+_0x365234+_0x2cc002(0x181)+_0x3b4a86);break;}logger[_0x2cc002(0x243)](_0x2cc002(0x1ae)+_0x365234+_0x2cc002(0x29e)+_0x3b4a86);}catch(_0x51e71b){logger[_0x2cc002(0x2d1)]('[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState='+_0x365234+',\x20hookState='+_0x3b4a86+_0x2cc002(0x219)+util[_0x2cc002(0x209)](_0x51e71b));}_0x34f1a4['instance']=_0x4628df,await this[_0x2cc002(0x258)](_0x4628df,_0x365234,_0x3b4a86,_0x34f1a4);}[a71_0x1a06ff(0x2c6)](_0x42847b){const _0x36d0b7=a71_0x1a06ff,_0x398d0b={};_0x398d0b[_0x36d0b7(0x2d4)]=_0x36d0b7(0x29b);const _0x145682=_0x398d0b;if(_0x42847b&&(_0x42847b['id']||_0x42847b['uuid'])){const _0x150c50=_0x42847b['id']||_0x42847b[_0x36d0b7(0x1e2)];return logger[_0x36d0b7(0x243)](_0x36d0b7(0x1b9)+_0x150c50+'\x22\x20from\x20testData'),_0x150c50;}return logger[_0x36d0b7(0x243)](_0x145682[_0x36d0b7(0x2d4)]),process[_0x36d0b7(0x282)]+_0x36d0b7(0x1ff);}[a71_0x1a06ff(0x175)](_0x5313f7,_0x273aed,_0x347a00={}){const _0x241195=a71_0x1a06ff;let _0x5c0fce=null;return _0x5c0fce=TestFramework[_0x241195(0x25e)](),!_0x5c0fce?(logger['debug'](_0x241195(0x276)+_0x5313f7),this[_0x241195(0x287)](_0x5313f7,_0x347a00),_0x5c0fce=TestFramework[_0x241195(0x25e)](),logger[_0x241195(0x243)](_0x241195(0x1ea)+!!_0x5c0fce+_0x241195(0x2b6)+_0x5c0fce?.['getContext']()?.[_0x241195(0x201)]())):logger[_0x241195(0x243)](_0x241195(0x247)+_0x5c0fce[_0x241195(0x200)]()?.[_0x241195(0x201)]()),_0x5c0fce;}['trackJestInstance'](_0x2aedb8,_0x4a0c0f){const _0x54af49=a71_0x1a06ff,_0x52c0e4={};_0x52c0e4[_0x54af49(0x1cc)]=_0x54af49(0x2b7);const _0x1048c2=_0x52c0e4;if(TestFramework['getTrackedInstance']()){logger['debug'](_0x1048c2[_0x54af49(0x1cc)]);return;}const _0x174e3b=CLIUtils[_0x54af49(0x23a)](),_0x30ab67=TrackedInstance['createContext'](_0x174e3b);let _0x920303=null;logger[_0x54af49(0x243)](_0x54af49(0x2d6)+_0x174e3b+_0x54af49(0x244)+_0x2aedb8),_0x920303=new TestFrameworkInstance(_0x30ab67,this[_0x54af49(0x215)](),this[_0x54af49(0x1c0)](),_0x2aedb8,HookState[_0x54af49(0x280)]),TestFramework[_0x54af49(0x29d)](_0x30ab67,_0x920303),logger['debug'](_0x54af49(0x274)+_0x30ab67[_0x54af49(0x201)]()+_0x54af49(0x2f6)+_0x174e3b+_0x54af49(0x231)+this[_0x54af49(0x215)]()[0x0]+',\x20version='+this[_0x54af49(0x1c0)]()[this[_0x54af49(0x215)]()[0x0]]);}[a71_0x1a06ff(0x286)](_0x152efd){const _0x278964=a71_0x1a06ff,_0x4f11bc={};_0x4f11bc[_0x278964(0x2d0)]=function(_0x96b871,_0x258181){return _0x96b871||_0x258181;},_0x4f11bc['HTdct']=_0x278964(0x2b5);const _0x15636d=_0x4f11bc,{testUUID:_0x3f0fdb,testData:_0x44a69b,testId:_0x3c8c62}=_0x152efd;if(_0x15636d[_0x278964(0x2d0)](!_0x44a69b,!_0x3c8c62))return logger['debug'](_0x15636d[_0x278964(0x2b8)]),{};const _0x449501=this[_0x278964(0x215)]()[0x0],_0x5857d4=this[_0x278964(0x1c0)](),_0x37a8ab={};_0x37a8ab[_0x278964(0x1c7)]=0x2,_0x37a8ab[_0x278964(0x173)]=0x3,logger[_0x278964(0x243)](_0x278964(0x261)+util[_0x278964(0x1b0)](_0x44a69b,_0x37a8ab));const _0x3982e9=_0x44a69b?.[_0x278964(0x275)]||[],_0xd29269=this[_0x278964(0x1e4)](_0x44a69b),_0x440f73=this[_0x278964(0x220)](_0x44a69b),_0x5b830a=_0x44a69b['fn']?_0x44a69b['fn'][_0x278964(0x232)]():null,_0xba1b86=this[_0x278964(0x2ae)](_0x44a69b),_0x3d8307={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x449501,[TestFrameworkConstants[_0x278964(0x2b2)]]:_0x5857d4[_0x449501],[TestFrameworkConstants[_0x278964(0x1a8)]]:[],[TestFrameworkConstants[_0x278964(0x2bc)]]:{},[TestFrameworkConstants[_0x278964(0x2df)]]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x278964(0x1aa)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0xd29269,[TestFrameworkConstants[_0x278964(0x199)]]:_0x440f73,[TestFrameworkConstants[_0x278964(0x189)]]:_0x3c8c62,[TestFrameworkConstants[_0x278964(0x1a1)]]:_0xd29269,[TestFrameworkConstants[_0x278964(0x262)]]:_0x440f73,[TestFrameworkConstants[_0x278964(0x294)]]:_0x5b830a,[TestFrameworkConstants[_0x278964(0x25a)]]:_0xba1b86,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x44a69b[_0x278964(0x2d2)]||new Date()[_0x278964(0x18d)](),[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x3982e9[0x0]||'',[TestFrameworkConstants[_0x278964(0x28b)]]:_0x3982e9,[TestFrameworkConstants[_0x278964(0x188)]]:_0xd29269,[TestFrameworkConstants[_0x278964(0x2f4)]]:{},[TestFrameworkConstants[_0x278964(0x182)]]:{}};_0x44a69b[_0x278964(0x1d4)]&&(_0x3d8307[TestFrameworkConstants[_0x278964(0x24e)]]=_0x44a69b[_0x278964(0x1d4)]);logger[_0x278964(0x243)](_0x278964(0x18a)+_0xd29269+',\x20testId='+_0x3c8c62+_0x278964(0x2e1)+JSON[_0x278964(0x191)](_0xba1b86)+',\x20scopes='+util[_0x278964(0x1b0)](_0x3982e9)+_0x278964(0x2db)+_0x440f73);const _0x2ee5cb={};return _0x2ee5cb[_0x3c8c62]=_0x3d8307,_0x2ee5cb;}['parseJestTestResult'](_0x54bd2e){const _0x3c1b3e=a71_0x1a06ff,_0x1b3bca={'hZGjN':function(_0x35b0e0,_0x24d260){return _0x35b0e0===_0x24d260;},'XHkSa':_0x3c1b3e(0x228),'IrDZB':function(_0x3977ab,_0x15935c){return _0x3977ab===_0x15935c;},'FVEoG':_0x3c1b3e(0x2e7),'xNIqv':'ALL','RioxH':_0x3c1b3e(0x1bb),'XzyvT':function(_0x17b63f,_0x175d49){return _0x17b63f||_0x175d49;},'OMLcw':_0x3c1b3e(0x22b),'DjfVP':function(_0x26fc03,_0x30e05a){return _0x26fc03||_0x30e05a;},'fBbec':_0x3c1b3e(0x19d),'suCWc':function(_0x425ce4,_0x5b5aec){return _0x425ce4>_0x5b5aec;},'CbHjv':'failed','dDOOj':_0x3c1b3e(0x1d0),'sjfmw':function(_0x30d7e8,_0x3403fe){return _0x30d7e8===_0x3403fe;},'SZheA':_0x3c1b3e(0x222),'oEaDt':_0x3c1b3e(0x23b),'EWvCp':function(_0x4d6d1d,_0x450f4e){return _0x4d6d1d!==_0x450f4e;},'XKcnP':function(_0x52a9c6,_0x24f91c,_0x11b026,_0x4a1a95){return _0x52a9c6(_0x24f91c,_0x11b026,_0x4a1a95);},'IlgrB':_0x3c1b3e(0x174),'dPuSr':function(_0x38c810,_0x3db34e){return _0x38c810===_0x3db34e;}},{testUUID:_0x34504a,testData:_0x2692d3,testId:_0x9e8d8c}=_0x54bd2e;if(_0x1b3bca['XzyvT'](!_0x2692d3,!_0x9e8d8c))return logger[_0x3c1b3e(0x243)](_0x1b3bca['OMLcw']),{};const _0xcb475b=this['resolveInstance'](TestFrameworkState[_0x3c1b3e(0x1dc)],HookState['POST']),_0x50d14a=_0xcb475b[_0x3c1b3e(0x1f3)]()[_0x3c1b3e(0x26b)](_0x9e8d8c),_0x24f179=_0x1b3bca[_0x3c1b3e(0x238)](_0x50d14a,{}),_0x4f4336=_0x24f179?_0x24f179[TestFrameworkConstants[_0x3c1b3e(0x2f4)]]||{}:{},_0x801b26=_0x24f179[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']];logger[_0x3c1b3e(0x243)](_0x3c1b3e(0x1a6)+(_0x801b26?Object[_0x3c1b3e(0x186)](_0x801b26)[_0x3c1b3e(0x2aa)]:0x0)+_0x3c1b3e(0x1da));let _0x271d27=_0x1b3bca[_0x3c1b3e(0x239)];if(_0x2692d3[_0x3c1b3e(0x172)])_0x271d27=_0x2692d3['result'];else{if(_0x2692d3[_0x3c1b3e(0x2f9)]&&_0x1b3bca['suCWc'](_0x2692d3[_0x3c1b3e(0x2f9)]['length'],0x0))_0x271d27=_0x1b3bca[_0x3c1b3e(0x1d7)];else _0x1b3bca[_0x3c1b3e(0x25c)](_0x2692d3[_0x3c1b3e(0x2ee)],_0x1b3bca[_0x3c1b3e(0x26c)])||_0x1b3bca[_0x3c1b3e(0x234)](_0x2692d3[_0x3c1b3e(0x2ee)],_0x1b3bca[_0x3c1b3e(0x1d8)])?_0x271d27=_0x1b3bca[_0x3c1b3e(0x1d8)]:_0x271d27=_0x1b3bca['oEaDt'];}const _0x24e340={..._0x24f179,[TestFrameworkConstants[_0x3c1b3e(0x1a9)]]:_0x271d27,[TestFrameworkConstants[_0x3c1b3e(0x18e)]]:_0x2692d3[_0x3c1b3e(0x1d1)]||new Date()[_0x3c1b3e(0x18d)](),[TestFrameworkConstants[_0x3c1b3e(0x22d)]]:new Date()[_0x3c1b3e(0x18d)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x4f4336,[TestFrameworkConstants[_0x3c1b3e(0x230)]]:[],[TestFrameworkConstants['KEY_TEST_META']]:{}};if(_0x1b3bca['hZGjN'](_0x271d27,_0x1b3bca[_0x3c1b3e(0x1d7)])&&_0x2692d3[_0x3c1b3e(0x2f9)]){const _0x72d007=this[_0x3c1b3e(0x212)](_0x2692d3),_0x30535e=this['getJestFailureType'](_0x2692d3),_0xf6557d=this[_0x3c1b3e(0x240)](_0x2692d3);_0x24e340[TestFrameworkConstants[_0x3c1b3e(0x2a4)]]=_0x30535e,_0x24e340[TestFrameworkConstants[_0x3c1b3e(0x197)]]=_0x72d007,_0x24e340[TestFrameworkConstants[_0x3c1b3e(0x1f8)]]=_0xf6557d;}_0x1b3bca[_0x3c1b3e(0x2cc)](_0x2692d3['duration'],undefined)&&(_0x24e340[TestFrameworkConstants[_0x3c1b3e(0x1cb)]]=_0x2692d3[_0x3c1b3e(0x224)]);_0x2692d3[_0x3c1b3e(0x1d4)]&&(_0x24e340[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x2692d3[_0x3c1b3e(0x1d4)]);const _0x1bf374=_0x50d14a?_0x50d14a[TestFrameworkConstants[_0x3c1b3e(0x1ba)]]||{}:{},_0x40da5e=_0x50d14a?_0x50d14a[TestFrameworkConstants['KEY_TEST_UUID']]:_0x34504a,_0x2e0b5f=_0x1b3bca[_0x3c1b3e(0x227)](getManualUploadLogs,_0x1bf374,_0x40da5e,_0x9e8d8c);if(_0x1b3bca['suCWc'](_0x2e0b5f[_0x3c1b3e(0x2aa)],0x0)){const _0x4409b0=_0x24e340[TestFrameworkConstants[_0x3c1b3e(0x230)]]||[];_0x24e340[TestFrameworkConstants['KEY_LOGS']]=[..._0x4409b0,..._0x2e0b5f];}const _0xb2f630=_0x24f179[TestFrameworkConstants['KEY_HOOKS_FINISHED']]||{},_0x321ec2=_0x24f179[TestFrameworkConstants[_0x3c1b3e(0x2df)]]||{},_0x53c8af={..._0xb2f630},_0x4cf241=_0x53c8af;Object['keys'](_0x321ec2)[_0x3c1b3e(0x226)](_0xfdf05a=>{const _0x322f04=_0x3c1b3e;!_0x4cf241[_0xfdf05a]&&(_0x4cf241[_0xfdf05a]=[]);const _0xea55f7=new Set((_0x4cf241[_0xfdf05a]||[])[_0x322f04(0x2f0)](_0x82ee66=>_0x82ee66[TestFrameworkConstants[_0x322f04(0x1db)]]||_0x82ee66[_0x322f04(0x295)]));(_0x321ec2[_0xfdf05a]||[])[_0x322f04(0x226)](_0x5775ba=>{const _0x3efc9f=_0x322f04,_0x16cd6c=_0x5775ba[TestFrameworkConstants[_0x3efc9f(0x1db)]]||_0x5775ba[_0x3efc9f(0x295)];if(!_0xea55f7[_0x3efc9f(0x246)](_0x16cd6c)){const _0x2d32ea={..._0x5775ba},_0xeb5a91=_0x2d32ea;!_0xeb5a91[TestFrameworkConstants[_0x3efc9f(0x17d)]]&&!_0xeb5a91[_0x3efc9f(0x225)]&&(_0xeb5a91[TestFrameworkConstants[_0x3efc9f(0x17d)]]=new Date()['toISOString']()),!_0xeb5a91[TestFrameworkConstants[_0x3efc9f(0x272)]]&&!_0xeb5a91[_0x3efc9f(0x2bf)]&&(_0xeb5a91[TestFrameworkConstants[_0x3efc9f(0x272)]]=TestFrameworkConstants[_0x3efc9f(0x20e)]),_0x4cf241[_0xfdf05a][_0x3efc9f(0x196)](_0xeb5a91);}});});if(_0x54bd2e[_0x3c1b3e(0x1a4)]){this[_0x3c1b3e(0x1e6)](_0x54bd2e[_0x3c1b3e(0x1a4)]);const _0x16ff1e=this[_0x3c1b3e(0x235)](_0x54bd2e[_0x3c1b3e(0x1a4)]),_0x1c6a6a=this[_0x3c1b3e(0x2c5)](_0x54bd2e[_0x3c1b3e(0x1a4)]);_0x1c6a6a['forEach'](_0x2a6bee=>{const _0x4e9678=_0x3c1b3e,_0x12b895=_0x16ff1e[_0x4e9678(0x26b)](_0x2a6bee);if(_0x12b895&&(_0x1b3bca[_0x4e9678(0x25c)](_0x12b895[_0x4e9678(0x213)],_0x1b3bca[_0x4e9678(0x1b8)])||_0x1b3bca['IrDZB'](_0x12b895['type'],_0x1b3bca[_0x4e9678(0x2cd)]))){const _0x32e570=_0x12b895[_0x4e9678(0x213)][_0x4e9678(0x1c1)]()[_0x4e9678(0x242)](_0x1b3bca['xNIqv'],_0x1b3bca[_0x4e9678(0x1ec)]),_0x588806=_0x32e570;!_0x4cf241[_0x588806]&&(_0x4cf241[_0x588806]=[]);const _0x1c279b=_0x4cf241[_0x588806][_0x4e9678(0x2ce)](_0x58b14b=>(_0x58b14b[TestFrameworkConstants['KEY_HOOK_ID']]||_0x58b14b['hook_id'])===_0x2a6bee);!_0x1c279b&&_0x4cf241[_0x588806][_0x4e9678(0x196)]({'key':_0x588806,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x2a6bee,[TestFrameworkConstants[_0x4e9678(0x272)]]:TestFrameworkConstants[_0x4e9678(0x20e)],[TestFrameworkConstants[_0x4e9678(0x2e9)]]:new Date()[_0x4e9678(0x18d)](),[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]:new Date()[_0x4e9678(0x18d)](),[TestFrameworkConstants[_0x4e9678(0x285)]]:[],[TestFrameworkConstants[_0x4e9678(0x2cf)]]:_0x12b895[_0x4e9678(0x2b0)]||_0x12b895[_0x4e9678(0x213)]+_0x4e9678(0x259),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x4f4336});}});}if(_0x2692d3['hooks']&&_0x1b3bca['suCWc'](_0x2692d3[_0x3c1b3e(0x198)][_0x3c1b3e(0x2aa)],0x0))_0x24e340[TestFrameworkConstants[_0x3c1b3e(0x2bc)]]=_0x2692d3['hooks'],logger[_0x3c1b3e(0x243)](_0x1b3bca['IlgrB']);else _0x1b3bca[_0x3c1b3e(0x2ea)](Object[_0x3c1b3e(0x186)](_0x4cf241)[_0x3c1b3e(0x2aa)],0x0)&&(_0x24e340[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x4cf241,logger['debug'](_0x3c1b3e(0x17c)+Object[_0x3c1b3e(0x186)](_0x4cf241)[_0x3c1b3e(0x2e5)](',')));const _0x34d14=this[_0x3c1b3e(0x1e4)](_0x2692d3);logger[_0x3c1b3e(0x243)]('[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName='+_0x34d14+',\x20testId='+_0x9e8d8c+'\x20(testIdentifier),\x20result='+_0x271d27+_0x3c1b3e(0x1af)+_0x2692d3['duration']);_0x1b3bca['dPuSr'](_0x271d27,_0x1b3bca[_0x3c1b3e(0x1d7)])&&logger['debug'](_0x3c1b3e(0x211)+_0x9e8d8c+_0x3c1b3e(0x22c)+_0x24e340[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]+_0x3c1b3e(0x194)+_0x24e340[TestFrameworkConstants[_0x3c1b3e(0x197)]]?.[_0x3c1b3e(0x2f2)](0x0,0xc8));const _0x3890d0={};return _0x3890d0[_0x9e8d8c]=_0x24e340,_0x3890d0;}[a71_0x1a06ff(0x24b)](_0x4f3757){const _0x870817=a71_0x1a06ff,_0x4481ef={};_0x4481ef[_0x870817(0x26a)]=function(_0x56478c,_0x4e0b72){return _0x56478c!==_0x4e0b72;},_0x4481ef[_0x870817(0x257)]=_0x870817(0x27b);const _0x56956f=_0x4481ef,_0x2957eb={};_0x2957eb[_0x870817(0x1c7)]=0x2,_0x2957eb[_0x870817(0x173)]=0x3,logger[_0x870817(0x243)](_0x870817(0x2a1)+util[_0x870817(0x1b0)](_0x4f3757,_0x2957eb));const _0x4973d8=[];if(_0x4f3757&&_0x4f3757[_0x870817(0x298)]){let _0x26087d=_0x4f3757[_0x870817(0x298)];while(_0x26087d&&_0x26087d[_0x870817(0x2b0)]&&_0x56956f[_0x870817(0x26a)](_0x26087d[_0x870817(0x2b0)],'')&&_0x56956f['mNIom'](_0x26087d[_0x870817(0x2b0)],_0x56956f[_0x870817(0x257)])){_0x4973d8[_0x870817(0x196)](_0x26087d[_0x870817(0x2b0)]),_0x26087d=_0x26087d[_0x870817(0x298)];}}return _0x4973d8[_0x870817(0x1b3)]();}[a71_0x1a06ff(0x1e4)](_0x462e22){const _0x4739c4=a71_0x1a06ff,_0x14ed9e={};_0x14ed9e['qJQQv']=_0x4739c4(0x22a);const _0x47301a=_0x14ed9e;if(_0x462e22[_0x4739c4(0x2b0)])return _0x462e22['name'];if(_0x462e22[_0x4739c4(0x221)])return _0x462e22['title'];return _0x47301a[_0x4739c4(0x29a)];}[a71_0x1a06ff(0x2ae)](_0x6c2a51){const _0x52f318=a71_0x1a06ff,_0x33b83a=[];if(_0x6c2a51[_0x52f318(0x1c5)]&&Array[_0x52f318(0x278)](_0x6c2a51[_0x52f318(0x1c5)]))return _0x6c2a51[_0x52f318(0x1c5)][_0x52f318(0x2f0)](_0x3df5cc=>_0x3df5cc[_0x52f318(0x2ca)]('@')?_0x3df5cc[_0x52f318(0x2bb)](0x1):_0x3df5cc);const _0x8cc76d=this[_0x52f318(0x1e4)](_0x6c2a51),_0x595866=_0x8cc76d[_0x52f318(0x2d3)](/@(\w+)/g);if(_0x595866)return _0x595866[_0x52f318(0x2f0)](_0xf20fa4=>_0xf20fa4[_0x52f318(0x292)](0x1));return _0x6c2a51[_0x52f318(0x275)]&&Array[_0x52f318(0x278)](_0x6c2a51[_0x52f318(0x275)])&&_0x6c2a51[_0x52f318(0x275)][_0x52f318(0x226)](_0x465513=>{const _0x3a22de=_0x52f318,_0x11677f=_0x465513[_0x3a22de(0x2d3)](/@(\w+)/g);_0x11677f&&_0x11677f['forEach'](_0x4e9a20=>{const _0x2feb76=_0x3a22de,_0x5001b7=_0x4e9a20['slice'](0x1);!_0x33b83a[_0x2feb76(0x1ac)](_0x5001b7)&&_0x33b83a[_0x2feb76(0x196)](_0x5001b7);});}),_0x33b83a;}[a71_0x1a06ff(0x220)](_0x287914){const _0x5cae04=a71_0x1a06ff,_0x13965f={'jeUzM':function(_0x1a61dc,_0x3c0b9a){return _0x1a61dc(_0x3c0b9a);},'WVJbt':_0x5cae04(0x2e4)};if(_0x287914[_0x5cae04(0x207)])return _0x287914[_0x5cae04(0x207)];if(_0x287914[_0x5cae04(0x1f5)]){const _0x332fff=_0x13965f[_0x5cae04(0x223)](require,_0x13965f[_0x5cae04(0x283)]);try{const _0x1e2d0d=_0x332fff[_0x5cae04(0x1c2)](_0x287914['asyncError']);if(_0x1e2d0d[0x0]&&_0x1e2d0d[0x0]['getFileName'])return _0x1e2d0d[0x0][_0x5cae04(0x17b)]();}catch(_0x2c1503){logger[_0x5cae04(0x243)]('Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20'+util[_0x5cae04(0x209)](_0x2c1503));}}return null;}[a71_0x1a06ff(0x212)](_0x29e4eb){const _0x5db95a=a71_0x1a06ff,_0x2b7bd4={};_0x2b7bd4[_0x5db95a(0x22e)]=function(_0x505a1f,_0xb08447){return _0x505a1f>_0xb08447;},_0x2b7bd4[_0x5db95a(0x210)]=_0x5db95a(0x237);const _0x5dd180=_0x2b7bd4;if(_0x29e4eb[_0x5db95a(0x2f9)]&&_0x5dd180[_0x5db95a(0x22e)](_0x29e4eb[_0x5db95a(0x2f9)][_0x5db95a(0x2aa)],0x0))return util[_0x5db95a(0x1b0)](_0x29e4eb[_0x5db95a(0x2f9)][0x0]);if(_0x29e4eb['failure_reason'])return _0x29e4eb[_0x5db95a(0x1ed)];return _0x5dd180[_0x5db95a(0x210)];}[a71_0x1a06ff(0x254)](_0xa65d9e){const _0x3f3494=a71_0x1a06ff,_0x15bb5e={};_0x15bb5e['WUOcn']='Assert',_0x15bb5e[_0x3f3494(0x2ab)]='AssertionError',_0x15bb5e[_0x3f3494(0x19a)]=_0x3f3494(0x1c8);const _0x247e1b=_0x15bb5e,_0x5ec880=this[_0x3f3494(0x212)](_0xa65d9e);if(_0x5ec880&&_0x5ec880[_0x3f3494(0x1ac)](_0x247e1b[_0x3f3494(0x1f1)]))return _0x247e1b[_0x3f3494(0x2ab)];return _0x247e1b[_0x3f3494(0x19a)];}[a71_0x1a06ff(0x240)](_0x3e9aa1){const _0x50102d=a71_0x1a06ff,_0x10cbf7={'Vmhsp':function(_0x179afc,_0x496360){return _0x179afc(_0x496360);},'RRxdZ':'../../../helpers/test-observability/utils','CRzEi':function(_0x30df8a,_0x1d3033){return _0x30df8a!==_0x1d3033;},'XUivH':'test'},{failureData:_0x46a8d8}=_0x10cbf7[_0x50102d(0x1c9)](require,_0x10cbf7['RRxdZ']),_0x35e4db=[];return _0x10cbf7[_0x50102d(0x2dd)](_0x3e9aa1['errorsDetailed'],undefined)&&_0x35e4db['push'](_0x3e9aa1[_0x50102d(0x2f9)],_0x10cbf7[_0x50102d(0x2d9)]),_0x46a8d8[_0x50102d(0x1bf)](null,_0x35e4db);}async['trackHookEvent'](_0x330fb6,_0x97a4ce,_0x26c5f2,_0x378ad8){const _0x4a98a9=a71_0x1a06ff,_0x25ff9f={'YJyRJ':_0x4a98a9(0x202),'Jzjqb':function(_0x54e871){return _0x54e871();},'yszqJ':function(_0x47cce6,_0x15b613){return _0x47cce6 in _0x15b613;},'uPmRt':function(_0x34c1d4,_0x4e308d){return _0x34c1d4 in _0x4e308d;},'Sjdjx':function(_0x266865,_0x4a3158){return _0x266865===_0x4a3158;},'ESkPW':function(_0x2910a9,_0x5756a4){return _0x2910a9===_0x5756a4;},'CSwRW':function(_0x147196,_0x4b7ef9){return _0x147196>_0x4b7ef9;},'oyQZm':_0x4a98a9(0x2bd),'kHghl':_0x4a98a9(0x23b),'kHVWZ':function(_0x134151,_0x12c010){return _0x134151>_0x12c010;},'iwMdv':function(_0x478e12,_0x3c5f9c){return _0x478e12===_0x3c5f9c;},'rlUws':function(_0x4883b2,_0x16922f){return _0x4883b2!==_0x16922f;}},{hookData:_0x3a1b73}=_0x378ad8,_0x34f7de=_0x26c5f2[_0x4a98a9(0x232)](),_0x1be6c7=_0x97a4ce['toString'](),_0x28a3f2={};_0x28a3f2[_0x4a98a9(0x1c7)]=0x2,_0x28a3f2[_0x4a98a9(0x173)]=0x3,logger[_0x4a98a9(0x243)](_0x4a98a9(0x1f2)+_0x1be6c7+_0x4a98a9(0x29e)+_0x34f7de+_0x4a98a9(0x289)+util[_0x4a98a9(0x1b0)](_0x3a1b73,_0x28a3f2));if(!_0x3a1b73)return logger[_0x4a98a9(0x243)](_0x25ff9f[_0x4a98a9(0x29f)]),{};const _0x339b13=_0x3a1b73['uuid']||_0x3a1b73[_0x4a98a9(0x16f)]||_0x25ff9f[_0x4a98a9(0x1be)](uuidv4),_0x13cbc6=_0x3a1b73[_0x4a98a9(0x2f5)]||this['getJestTestIdentifier'](_0x3a1b73),_0x16a922=_0x97a4ce[_0x4a98a9(0x232)]()[_0x4a98a9(0x1dd)]('.')[0x1],_0x342b54=_0x330fb6['getAllData']()[_0x4a98a9(0x26b)](_0x13cbc6),_0x372db8=_0x342b54?_0x342b54[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{};logger[_0x4a98a9(0x243)]('[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId='+_0x339b13+_0x4a98a9(0x2d5)+_0x13cbc6+_0x4a98a9(0x190)+_0x16a922+',\x20hookState='+_0x34f7de);if(!_0x342b54)return logger[_0x4a98a9(0x243)]('[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20'+_0x13cbc6+_0x4a98a9(0x1f4)),this['storePendingHook'](_0x330fb6,_0x13cbc6,_0x97a4ce,_0x26c5f2,_0x378ad8),{};let _0x45ae92=_0x342b54[TestFrameworkConstants[_0x4a98a9(0x2df)]];!_0x45ae92&&(_0x45ae92={});!_0x25ff9f['yszqJ'](_0x16a922,_0x45ae92)&&(_0x45ae92[_0x16a922]=[]);let _0x4de6dd=_0x342b54[TestFrameworkConstants[_0x4a98a9(0x2bc)]];!_0x4de6dd&&(_0x4de6dd={});!_0x25ff9f[_0x4a98a9(0x2d8)](_0x16a922,_0x4de6dd)&&(_0x4de6dd[_0x16a922]=[]);const _0x3fa3f4={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x45ae92,[TestFrameworkConstants[_0x4a98a9(0x2bc)]]:_0x4de6dd},_0x50e533={};_0x50e533[_0x13cbc6]=_0x3fa3f4;const _0x2b4688=_0x50e533;if(_0x25ff9f[_0x4a98a9(0x1b7)](_0x26c5f2,HookState[_0x4a98a9(0x1fe)])){const _0x4af699={'key':_0x16a922,[TestFrameworkConstants[_0x4a98a9(0x1db)]]:_0x339b13,[TestFrameworkConstants[_0x4a98a9(0x272)]]:TestFrameworkConstants[_0x4a98a9(0x20e)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x3a1b73[_0x4a98a9(0x2d2)]||new Date()[_0x4a98a9(0x18d)](),[TestFrameworkConstants[_0x4a98a9(0x285)]]:[],[TestFrameworkConstants[_0x4a98a9(0x2cf)]]:_0x3a1b73['name']||_0x3a1b73[_0x4a98a9(0x2a7)]||_0x16a922,[TestFrameworkConstants[_0x4a98a9(0x2f4)]]:_0x372db8};_0x45ae92[_0x16a922][_0x4a98a9(0x196)](_0x4af699),_0x2b4688[_0x13cbc6][TestFrameworkConstants[_0x4a98a9(0x27f)]]=_0x16a922;const _0x148b1d={};_0x148b1d[_0x4a98a9(0x1c7)]=0x2,logger[_0x4a98a9(0x243)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType='+_0x16a922+',\x20hookId='+_0x339b13+_0x4a98a9(0x2d5)+_0x13cbc6+_0x4a98a9(0x263)+util[_0x4a98a9(0x1b0)](_0x4af699,_0x148b1d));}else{if(_0x25ff9f['ESkPW'](_0x26c5f2,HookState[_0x4a98a9(0x2c7)])){const _0x4b2df4=_0x3a1b73[_0x4a98a9(0x172)]||(_0x3a1b73[_0x4a98a9(0x2f9)]&&_0x25ff9f[_0x4a98a9(0x1fa)](_0x3a1b73['errorsDetailed'][_0x4a98a9(0x2aa)],0x0)?_0x25ff9f[_0x4a98a9(0x20a)]:_0x25ff9f[_0x4a98a9(0x2ec)]),_0xdb4615=_0x45ae92[_0x16a922]||[];logger['debug'](_0x4a98a9(0x2c4)+_0x16a922+_0x4a98a9(0x2d5)+_0x13cbc6+_0x4a98a9(0x251)+_0x4b2df4+_0x4a98a9(0x1e1)+_0xdb4615[_0x4a98a9(0x2aa)]);if(_0x25ff9f['kHVWZ'](_0xdb4615[_0x4a98a9(0x2aa)],0x0)){const _0x1fc579=_0xdb4615[_0x4a98a9(0x24f)]();_0x25ff9f[_0x4a98a9(0x27e)](_0x4b2df4,_0x25ff9f['oyQZm'])&&_0x3a1b73['errorsDetailed']?(_0x1fc579[TestFrameworkConstants[_0x4a98a9(0x1e3)]]=this[_0x4a98a9(0x254)](_0x3a1b73),_0x1fc579[TestFrameworkConstants[_0x4a98a9(0x2ba)]]=this[_0x4a98a9(0x212)](_0x3a1b73),_0x1fc579[TestFrameworkConstants[_0x4a98a9(0x1d2)]]=this[_0x4a98a9(0x240)](_0x3a1b73),logger[_0x4a98a9(0x243)](_0x4a98a9(0x24a)+_0x16a922+_0x4a98a9(0x22c)+_0x1fc579[TestFrameworkConstants[_0x4a98a9(0x1e3)]]+_0x4a98a9(0x194)+_0x1fc579[TestFrameworkConstants[_0x4a98a9(0x2ba)]]?.[_0x4a98a9(0x2f2)](0x0,0xc8))):_0x1fc579[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x25ff9f[_0x4a98a9(0x2ec)];_0x25ff9f['rlUws'](_0x4b2df4,TestFrameworkConstants[_0x4a98a9(0x20e)])&&(_0x1fc579[TestFrameworkConstants[_0x4a98a9(0x272)]]=_0x4b2df4);_0x1fc579[TestFrameworkConstants[_0x4a98a9(0x17d)]]=_0x3a1b73['finished_at']||new Date()[_0x4a98a9(0x18d)](),_0x1fc579[TestFrameworkConstants[_0x4a98a9(0x2f4)]]=_0x372db8;const _0x1cd047=_0x1fc579[TestFrameworkConstants[_0x4a98a9(0x1db)]];!_0x4de6dd[_0x16a922]&&(_0x4de6dd[_0x16a922]=[]);_0x4de6dd[_0x16a922][_0x4a98a9(0x196)](_0x1fc579),_0x2b4688[_0x13cbc6][TestFrameworkConstants[_0x4a98a9(0x19e)]]=_0x16a922;const _0xe41072={};_0xe41072['depth']=0x2,logger[_0x4a98a9(0x243)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType='+_0x16a922+_0x4a98a9(0x265)+_0x1cd047+_0x4a98a9(0x251)+_0x4b2df4+_0x4a98a9(0x263)+util['inspect'](_0x1fc579,_0xe41072));}}}const _0x471014={};return _0x471014['depth']=0x2,_0x471014['maxArrayLength']=0x3,logger[_0x4a98a9(0x243)]('[JestTestFramework]\x20trackHookEvent:\x20SUCCESS\x20-\x20hookType='+(_0x3a1b73[_0x4a98a9(0x2a7)]||_0x16a922)+_0x4a98a9(0x265)+_0x339b13+_0x4a98a9(0x2d5)+_0x13cbc6+_0x4a98a9(0x2ac)+util['inspect'](_0x2b4688,_0x471014)),_0x2b4688;}[a71_0x1a06ff(0x214)](_0x495972){const _0x2c7358=a71_0x1a06ff,_0x2dfac7={};_0x2dfac7[_0x2c7358(0x204)]=_0x2c7358(0x20b);const _0x285fe9=_0x2dfac7;try{const _0x46bbad=_0x495972[_0x2c7358(0x2dc)]?this[_0x2c7358(0x2c6)](_0x495972[_0x2c7358(0x2dc)]):_0x495972['hookData'][_0x2c7358(0x2f5)],_0x3177f5=_0x495972[_0x2c7358(0x1a0)],_0x803609=_0x3177f5[_0x2c7358(0x200)](),_0x17859c=_0x3177f5[_0x2c7358(0x1f3)]()[_0x2c7358(0x26b)](_0x46bbad);if(!_0x17859c)return logger['debug'](_0x2c7358(0x273)+_0x46bbad),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x3b0ce5='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x4aca44='',[TestFrameworkConstants[_0x2c7358(0x1a5)]]:_0x3bcdad='',[TestFrameworkConstants[_0x2c7358(0x18e)]]:_0x27fdb4=''}=_0x17859c,_0xd7d8b9=_0x3177f5[_0x2c7358(0x229)]()[_0x2c7358(0x232)]()[_0x2c7358(0x1dd)]('.')[0x1],_0x4001b5=_0x3177f5[_0x2c7358(0x2cb)]()['toString']()[_0x2c7358(0x1dd)]('.')[0x1],_0x433488=global?.[_0x2c7358(0x20f)]?.['workerInfo']?.[_0x2c7358(0x1f0)],_0x46f837=_0x3177f5[_0x2c7358(0x218)](),_0x5a441e=Buffer[_0x2c7358(0x1d9)](JSON[_0x2c7358(0x191)](_0x17859c))[_0x2c7358(0x232)](_0x285fe9[_0x2c7358(0x204)]),_0x2ef270={'hash':_0x803609['getId'](),'threadId':_0x803609[_0x2c7358(0x270)]()['toString'](),'processId':_0x803609[_0x2c7358(0x277)]()[_0x2c7358(0x232)]()},_0x4454aa={};_0x4454aa[_0x2c7358(0x266)]=_0x433488,_0x4454aa[_0x2c7358(0x1bd)]=_0x3b0ce5,_0x4454aa[_0x2c7358(0x269)]=_0x4aca44,_0x4454aa[_0x2c7358(0x2c8)]=_0xd7d8b9,_0x4454aa[_0x2c7358(0x2a5)]=_0x4001b5,_0x4454aa[_0x2c7358(0x23f)]=_0x3bcdad,_0x4454aa[_0x2c7358(0x28e)]=_0x27fdb4,_0x4454aa['uuid']=_0x46f837,_0x4454aa['eventJson']=_0x5a441e,_0x4454aa['executionContext']=_0x2ef270,_0x4454aa[_0x2c7358(0x21c)]=_0x46bbad;const _0x488249=_0x4454aa;return _0x488249;}catch(_0x5a9685){return logger[_0x2c7358(0x2d1)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x2c7358(0x209)](_0x5a9685)),{};}}async[a71_0x1a06ff(0x1ce)](_0x2157f1,_0x5c483e,_0x1152e1){const _0xcb1a02=a71_0x1a06ff,_0x54eb1f={'neIYd':function(_0x4be8be,_0x443745){return _0x4be8be+_0x443745;},'tEtZx':'missing','mYTHi':_0xcb1a02(0x25b),'nnAjP':function(_0x6421ed,_0x124ab0){return _0x6421ed>_0x124ab0;},'xJFiL':function(_0x113a54,_0x19c811,_0x169ddf,_0x37bec1){return _0x113a54(_0x19c811,_0x169ddf,_0x37bec1);},'uaGIk':function(_0x449541,_0x4e4ac9){return _0x449541-_0x4e4ac9;},'jyDSB':function(_0x1442bd,_0x1610cb){return _0x1442bd===_0x1610cb;},'ZNUgM':function(_0x474a9f,_0x22742f){return _0x474a9f/_0x22742f;},'EELmX':function(_0x504daa,_0x4736b1){return _0x504daa<_0x4736b1;},'sygaT':function(_0x738fd,_0x46a865){return _0x738fd*_0x46a865;},'QyZaG':function(_0xabab79,_0x32cb9c){return _0xabab79+_0x32cb9c;}};try{const _0xb9a3e5=_0x1152e1[_0xcb1a02(0x1f7)]||_0x1152e1['testId'],_0x3ed944=Array[_0xcb1a02(0x1d9)](_0x2157f1['getAllData']()[_0xcb1a02(0x186)]()),_0x341bcc=_0x2157f1[_0xcb1a02(0x1f3)]()[_0xcb1a02(0x26b)](_0xb9a3e5);if(!_0x341bcc){logger[_0xcb1a02(0x243)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0xb9a3e5);return;}const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x2ceaf3='',[TestFrameworkConstants[_0xcb1a02(0x2b2)]]:_0x39490f=''}=_0x341bcc;let _0x376fa2=[];if(_0x341bcc&&_0x341bcc[TestFrameworkConstants[_0xcb1a02(0x230)]]&&Array[_0xcb1a02(0x278)](_0x341bcc[TestFrameworkConstants[_0xcb1a02(0x230)]])){_0x376fa2=_0x341bcc[TestFrameworkConstants[_0xcb1a02(0x230)]]||[],logger[_0xcb1a02(0x243)](_0xcb1a02(0x279)+_0x376fa2[_0xcb1a02(0x2aa)]+_0xcb1a02(0x28f)+_0xb9a3e5);const _0x184a57={[TestFrameworkConstants[_0xcb1a02(0x230)]]:[]},_0x301dab={};_0x301dab[_0xb9a3e5]=_0x184a57,_0x2157f1[_0xcb1a02(0x27a)](_0x301dab),logger[_0xcb1a02(0x243)](_0xcb1a02(0x2fc)+_0xb9a3e5);}else logger[_0xcb1a02(0x243)](_0xcb1a02(0x206)+_0xb9a3e5);logger[_0xcb1a02(0x243)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20'+_0x376fa2['length']+_0xcb1a02(0x25d)+_0xb9a3e5);const _0xb8811a=_0x376fa2[_0xcb1a02(0x217)](_0x5a5879=>_0x5a5879[_0xcb1a02(0x17a)]===_0xcb1a02(0x2e2));_0x54eb1f[_0xcb1a02(0x2f7)](_0xb8811a[_0xcb1a02(0x2aa)],0x0)&&(logger[_0xcb1a02(0x243)](_0xcb1a02(0x1de)+_0xb8811a[_0xcb1a02(0x2aa)]+'\x20screenshot\x20logs\x20for\x20testId:\x20'+_0xb9a3e5),_0xb8811a['forEach']((_0x24742d,_0x13d15a)=>{const _0x34c197=_0xcb1a02;logger[_0x34c197(0x243)](_0x34c197(0x28a)+_0x54eb1f[_0x34c197(0x26d)](_0x13d15a,0x1)+'/'+_0xb8811a[_0x34c197(0x2aa)]+_0x34c197(0x208)+(_0x24742d[_0x34c197(0x21c)]||_0x54eb1f[_0x34c197(0x178)])+_0x34c197(0x253)+(_0x24742d['test_run_uuid']||_0x54eb1f[_0x34c197(0x178)])+_0x34c197(0x24c)+(_0x24742d[_0x34c197(0x250)]||_0x54eb1f[_0x34c197(0x2e6)])+_0x34c197(0x2a9)+(_0x24742d[_0x34c197(0x26f)]?.[_0x34c197(0x2aa)]||0x0));}));const _0x4eac47=_0x341bcc[TestFrameworkConstants[_0xcb1a02(0x1ba)]]||{},_0x16b430=_0x54eb1f['xJFiL'](getMediaArtifactsLogs,_0x4eac47,null,_0xb9a3e5),_0x32f938=(_0x376fa2||[])[_0xcb1a02(0x2a6)](_0x16b430||[]),_0x5416bf=_0xb8811a?.[_0xcb1a02(0x2aa)]||0x0,_0xdd4c77=_0x54eb1f[_0xcb1a02(0x2f1)](_0x376fa2?.['length']||0x0,_0x5416bf);logger[_0xcb1a02(0x243)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20'+_0xb9a3e5+',\x20consoleLogs:\x20'+_0xdd4c77+',\x20screenshotLogs:\x20'+_0x5416bf+_0xcb1a02(0x241)+(_0x16b430?.['length']||0x0)+_0xcb1a02(0x245)+_0x32f938[_0xcb1a02(0x2aa)]);if(!_0x32f938||_0x54eb1f[_0xcb1a02(0x2b4)](_0x32f938[_0xcb1a02(0x2aa)],0x0)){logger['debug'](_0xcb1a02(0x171)+_0xb9a3e5);return;}const _0x559d8f=0x28,_0xc39d20=Math[_0xcb1a02(0x187)](_0x54eb1f[_0xcb1a02(0x203)](_0x32f938[_0xcb1a02(0x2aa)],_0x559d8f));for(let _0x44a3be=0x0;_0x54eb1f['EELmX'](_0x44a3be,_0xc39d20);_0x44a3be++){const _0x23a867=_0x54eb1f[_0xcb1a02(0x2e0)](_0x44a3be,_0x559d8f),_0x2e51f3=_0x54eb1f[_0xcb1a02(0x284)](_0x23a867,_0x559d8f),_0x1002e5=_0x32f938[_0xcb1a02(0x292)](_0x23a867,_0x2e51f3),_0x5c1c14=global?.[_0xcb1a02(0x20f)]?.['workerInfo']?.[_0xcb1a02(0x1f0)]||0x0,_0x4b38bc={'platformIndex':_0x5c1c14,'logs':_0x1002e5,'testFrameworkName':_0x2ceaf3,'testFrameworkVersion':_0x39490f,'testFrameworkState':_0x5c483e[_0xcb1a02(0x232)]()[_0xcb1a02(0x1dd)]('.')[0x1]},_0x322213={};_0x322213[_0xcb1a02(0x1c7)]=0x3,_0x322213[_0xcb1a02(0x173)]=0x5,logger[_0xcb1a02(0x243)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x54eb1f[_0xcb1a02(0x284)](_0x44a3be,0x1)+'/'+_0xc39d20+_0xcb1a02(0x18f)+_0xb9a3e5+_0xcb1a02(0x21f)+_0x1002e5['length']+',\x20platformIndex:\x20'+_0x5c1c14+',\x20payload:\x20'+util[_0xcb1a02(0x1b0)](_0x4b38bc,_0x322213));const _0x1ecfde=await GrpcClient['getInstance']()[_0xcb1a02(0x1c6)](_0x4b38bc);logger[_0xcb1a02(0x243)](_0xcb1a02(0x185)+_0x54eb1f[_0xcb1a02(0x284)](_0x44a3be,0x1)+'/'+_0xc39d20+_0xcb1a02(0x18f)+_0xb9a3e5+_0xcb1a02(0x2c1)+util['inspect'](_0x1ecfde));}if(_0x16b430&&_0x54eb1f[_0xcb1a02(0x2f7)](_0x16b430['length'],0x0)&&_0x341bcc[TestFrameworkConstants[_0xcb1a02(0x1ba)]]){const _0x7a55fb={[TestFrameworkConstants[_0xcb1a02(0x1ba)]]:{}},_0x3108fd={};_0x3108fd[_0xb9a3e5]=_0x7a55fb,_0x2157f1['addMultipleEntries'](_0x3108fd);}logger[_0xcb1a02(0x243)](_0xcb1a02(0x2c2)+_0xb9a3e5+',\x20totalBatches:\x20'+_0xc39d20);}catch(_0x3ae20d){logger[_0xcb1a02(0x2d1)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20'+(_0x1152e1[_0xcb1a02(0x1f7)]||_0x1152e1['testId'])+_0xcb1a02(0x1c4)+util['format'](_0x3ae20d));}}[a71_0x1a06ff(0x1b4)](_0x38da5b,_0x127179,_0x1b8f67,_0x336a80,_0x4f7189){const _0x937038=a71_0x1a06ff,_0xfba698={};_0xfba698[_0x937038(0x2b1)]=function(_0x255e59,_0x3e02c2){return _0x255e59===_0x3e02c2;},_0xfba698[_0x937038(0x1fc)]='beforeAll';const _0x786e95=_0xfba698,{hookData:_0x2ba0f7}=_0x4f7189,_0x37f5ad={'testId':_0x127179,'testFrameworkState':_0x1b8f67,'hookState':_0x336a80,'args':_0x4f7189,'timestamp':new Date()[_0x937038(0x18d)]()};if(_0x786e95[_0x937038(0x2b1)](_0x1b8f67,TestFrameworkState[_0x937038(0x255)])&&_0x2ba0f7){const _0x4dd600={};_0x4dd600[_0x937038(0x2b3)]=_0x2ba0f7[_0x937038(0x207)]||_0x2ba0f7[_0x937038(0x1cd)],_0x4dd600[_0x937038(0x256)]=_0x2ba0f7[_0x937038(0x256)]||_0x2ba0f7[_0x937038(0x275)]&&_0x2ba0f7['scopes'][0x0]||'',_0x4dd600[_0x937038(0x1e5)]=_0x786e95['FHmrJ'],_0x37f5ad[_0x937038(0x1cf)]=_0x4dd600,logger[_0x937038(0x243)](_0x937038(0x193)+_0x127179+_0x937038(0x29c)+_0x37f5ad[_0x937038(0x1cf)][_0x937038(0x2b3)]+',\x20scope:\x20'+_0x37f5ad['hookMetadata'][_0x937038(0x256)]);}_0x38da5b['addPendingHook'](_0x127179,_0x37f5ad),logger[_0x937038(0x243)](_0x937038(0x21b)+_0x127179+',\x20state:\x20'+_0x1b8f67+',\x20hookState:\x20'+_0x336a80);}async[a71_0x1a06ff(0x1ee)](_0x5eacb9,_0x12bc81){const _0x416210=a71_0x1a06ff,_0xf7f3af={};_0xf7f3af['uuwAR']=function(_0x25ed1d,_0x27a400){return _0x25ed1d>_0x27a400;},_0xf7f3af['KHZdA']=_0x416210(0x177),_0xf7f3af[_0x416210(0x1ab)]=function(_0x1a381d,_0x1c5393){return _0x1a381d===_0x1c5393;},_0xf7f3af['TMMhE']=function(_0x4212ce,_0x27952e){return _0x4212ce===_0x27952e;},_0xf7f3af[_0x416210(0x170)]=function(_0x5d0d1d,_0x3f2294){return _0x5d0d1d===_0x3f2294;},_0xf7f3af[_0x416210(0x1a3)]=function(_0x4dedd1,_0x332c9f){return _0x4dedd1===_0x332c9f;},_0xf7f3af[_0x416210(0x21e)]=_0x416210(0x27c),_0xf7f3af[_0x416210(0x17f)]=_0x416210(0x2fa);const _0x1a4ea3=_0xf7f3af;if(_0x5eacb9['hasPendingHooks'](_0x12bc81)){const _0x410663=_0x5eacb9['getPendingHooks'](_0x12bc81);logger[_0x416210(0x243)](_0x416210(0x1d6)+_0x410663[_0x416210(0x2aa)]+_0x416210(0x248)+_0x12bc81);for(const _0x430dd6 of _0x410663){try{const _0x42f4a0=await this[_0x416210(0x296)](_0x5eacb9,_0x430dd6['testFrameworkState'],_0x430dd6[_0x416210(0x2a5)],_0x430dd6[_0x416210(0x281)]);_0x42f4a0&&_0x1a4ea3[_0x416210(0x2f3)](Object['keys'](_0x42f4a0)[_0x416210(0x2aa)],0x0)&&_0x5eacb9[_0x416210(0x27a)](_0x42f4a0),await this[_0x416210(0x258)](_0x5eacb9,_0x430dd6[_0x416210(0x2c8)],_0x430dd6[_0x416210(0x2a5)],_0x430dd6['args']);}catch(_0x169df0){logger[_0x416210(0x2d1)](_0x416210(0x179)+_0x12bc81+_0x416210(0x1c4)+_0x169df0);}}_0x5eacb9[_0x416210(0x2ed)](_0x12bc81),logger[_0x416210(0x243)](_0x416210(0x1eb)+_0x12bc81);}const _0x2c2f64=_0x5eacb9[_0x416210(0x1f3)]()[_0x416210(0x26b)](_0x12bc81);if(_0x2c2f64){const _0x36d2bd=_0x2c2f64[TestFrameworkConstants['KEY_TEST_FILE_PATH']]||_0x2c2f64[TestFrameworkConstants[_0x416210(0x262)]],_0x11a5b8=_0x2c2f64[TestFrameworkConstants[_0x416210(0x1a7)]]||_0x2c2f64[TestFrameworkConstants[_0x416210(0x28b)]]&&_0x2c2f64[TestFrameworkConstants[_0x416210(0x28b)]][0x0]||'';logger[_0x416210(0x243)](_0x1a4ea3['KHZdA']);const _0x52a83d=_0x5eacb9[_0x416210(0x2a0)]();for(const _0x147bc1 of _0x52a83d){if(_0x1a4ea3[_0x416210(0x1ab)](_0x147bc1,_0x12bc81))continue;if(_0x5eacb9[_0x416210(0x260)](_0x147bc1)){const _0x2cc9aa=_0x5eacb9[_0x416210(0x22f)](_0x147bc1);for(const _0x558065 of _0x2cc9aa){if(_0x1a4ea3[_0x416210(0x2ad)](_0x558065[_0x416210(0x2c8)],TestFrameworkState[_0x416210(0x255)])&&_0x558065[_0x416210(0x1cf)]){const _0x591438=_0x558065['hookMetadata'][_0x416210(0x2b3)],_0x5f5dad=_0x558065[_0x416210(0x1cf)][_0x416210(0x256)];if(_0x1a4ea3[_0x416210(0x1ab)](_0x591438,_0x36d2bd)&&_0x1a4ea3[_0x416210(0x170)](_0x5f5dad,_0x11a5b8)){logger[_0x416210(0x243)]('[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20'+_0x147bc1+_0x416210(0x1fb)+_0x12bc81+_0x416210(0x29c)+_0x591438+',\x20scope:\x20'+_0x5f5dad);_0x558065[_0x416210(0x281)]&&_0x558065[_0x416210(0x281)]['hookData']&&(_0x558065['args'][_0x416210(0x236)]['test_run_id']=_0x12bc81,logger[_0x416210(0x243)]('[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20'+_0x147bc1+_0x416210(0x195)+_0x12bc81));try{const _0x1a6461=await this[_0x416210(0x296)](_0x5eacb9,_0x558065[_0x416210(0x2c8)],_0x558065[_0x416210(0x2a5)],_0x558065[_0x416210(0x281)]);_0x1a6461&&_0x1a4ea3['uuwAR'](Object[_0x416210(0x186)](_0x1a6461)[_0x416210(0x2aa)],0x0)&&_0x5eacb9[_0x416210(0x27a)](_0x1a6461);await this[_0x416210(0x258)](_0x5eacb9,_0x558065[_0x416210(0x2c8)],_0x558065[_0x416210(0x2a5)],_0x558065['args']);const _0x515c1e=_0x5eacb9[_0x416210(0x22f)](_0x147bc1)[_0x416210(0x217)](_0x18b8f7=>_0x18b8f7!==_0x558065);if(_0x1a4ea3[_0x416210(0x1a3)](_0x515c1e['length'],0x0))_0x5eacb9[_0x416210(0x2ed)](_0x147bc1);else{_0x5eacb9[_0x416210(0x2ed)](_0x147bc1);for(const _0x499f71 of _0x515c1e){_0x5eacb9[_0x416210(0x19c)](_0x147bc1,_0x499f71);}}logger[_0x416210(0x243)](_0x1a4ea3[_0x416210(0x21e)]);}catch(_0x1866a8){logger[_0x416210(0x2d1)](_0x1a4ea3[_0x416210(0x17f)]);}}}}}}}}['mapTestHooks'](_0x4e188c){const _0x2a6c90=a71_0x1a06ff,_0x4f9405={'MrJGq':function(_0x932a71){return _0x932a71();}};if(!_0x4e188c||!_0x4e188c['parent'])return;_0x4e188c[_0x2a6c90(0x298)][_0x2a6c90(0x198)]&&Array[_0x2a6c90(0x278)](_0x4e188c[_0x2a6c90(0x298)][_0x2a6c90(0x198)])&&_0x4e188c['parent']['hooks'][_0x2a6c90(0x226)](_0x48d100=>{const _0x599326=_0x2a6c90;!_0x48d100['hookAnalyticsId']&&!_0x48d100[_0x599326(0x1b6)]&&(_0x48d100['hookAnalyticsId']=_0x4f9405[_0x599326(0x267)](uuidv4),_0x48d100[_0x599326(0x1b6)]=_0x48d100[_0x599326(0x16f)],logger[_0x599326(0x243)](_0x599326(0x205)+_0x48d100['type']+_0x599326(0x299)+_0x48d100[_0x599326(0x16f)]));}),this[_0x2a6c90(0x1e6)](_0x4e188c[_0x2a6c90(0x298)]);}[a71_0x1a06ff(0x2c5)](_0x2a5c13){const _0x4fc334=a71_0x1a06ff,_0x5acfaa={'FZMZM':function(_0x41d9de,_0x18b25c){return _0x41d9de(_0x18b25c);}};if(!_0x2a5c13||!_0x2a5c13[_0x4fc334(0x298)])return[];const _0x10a8e6=[];return _0x2a5c13[_0x4fc334(0x298)]['hooks']&&Array['isArray'](_0x2a5c13[_0x4fc334(0x298)][_0x4fc334(0x198)])&&_0x2a5c13['parent'][_0x4fc334(0x198)]['forEach'](_0xfc7da9=>{const _0x2480d8=_0x4fc334,_0x283ce4=_0xfc7da9[_0x2480d8(0x16f)]||_0xfc7da9[_0x2480d8(0x1b6)];_0x283ce4&&!this[_0x2480d8(0x2fd)](_0xfc7da9)&&!_0x5acfaa[_0x2480d8(0x24d)](isInternalHook,_0xfc7da9['fn'])&&_0x10a8e6[_0x2480d8(0x196)](_0x283ce4);}),[..._0x10a8e6,...this['getHooksForTest'](_0x2a5c13[_0x4fc334(0x298)])];}[a71_0x1a06ff(0x235)](_0x406240){const _0x2bc46d=a71_0x1a06ff,_0x592479={'JqvFI':function(_0x26a63a,_0x17c4d){return _0x26a63a(_0x17c4d);},'sYHYv':_0x2bc46d(0x19d),'VGPyf':function(_0x1e9436,_0x50ab1a){return _0x1e9436(_0x50ab1a);}},_0x39dd4e=new Map(),_0x47f934=_0xc3b446=>{const _0x33779c=_0x2bc46d,_0x4b2d36={'TFCKL':function(_0x3efd99,_0x1e56bb){const _0x588f78=a71_0x2907;return _0x592479[_0x588f78(0x1d3)](_0x3efd99,_0x1e56bb);},'FHfeR':_0x592479[_0x33779c(0x28c)]};if(!_0xc3b446||!_0xc3b446['parent'])return;_0xc3b446[_0x33779c(0x298)][_0x33779c(0x198)]&&Array['isArray'](_0xc3b446[_0x33779c(0x298)]['hooks'])&&_0xc3b446[_0x33779c(0x298)]['hooks']['forEach'](_0x2f45bf=>{const _0x487ad5=_0x33779c,_0x284792=_0x2f45bf['hookAnalyticsId']||_0x2f45bf['hookUUID'];if(_0x284792&&!this['isJestInternalHook'](_0x2f45bf)&&!_0x4b2d36[_0x487ad5(0x249)](isInternalHook,_0x2f45bf['fn'])){const _0x43c921={};_0x43c921[_0x487ad5(0x213)]=_0x2f45bf['type']||_0x4b2d36[_0x487ad5(0x2af)],_0x43c921['name']=_0x2f45bf[_0x487ad5(0x2b0)]||'\x22'+_0x2f45bf[_0x487ad5(0x213)]+_0x487ad5(0x2fb),_0x39dd4e['set'](_0x284792,_0x43c921);}}),_0x592479[_0x33779c(0x2c9)](_0x47f934,_0xc3b446[_0x33779c(0x298)]);};return _0x592479['VGPyf'](_0x47f934,_0x406240),_0x39dd4e;}[a71_0x1a06ff(0x2fd)](_0x5318c2){const _0xe6295d=a71_0x1a06ff,_0x1bce73={};_0x1bce73[_0xe6295d(0x176)]=_0xe6295d(0x184),_0x1bce73[_0xe6295d(0x2be)]='[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}';const _0x260920=_0x1bce73;try{const _0x5d8651=this[_0xe6295d(0x1df)](_0x5318c2);return _0x5d8651&&_0x5d8651['includes'](_0x260920[_0xe6295d(0x176)]);}catch(_0x81104a){logger[_0xe6295d(0x243)](_0x260920['PzRCb']);}return![];}[a71_0x1a06ff(0x1df)](_0x126fd3){const _0x16a4e4=a71_0x1a06ff;if(_0x126fd3['asyncError'])try{const _0x1469a6=stackTrace[_0x16a4e4(0x1c2)](_0x126fd3['asyncError']);return _0x1469a6[0x0]?_0x1469a6[0x0]['getFileName']():null;}catch(_0x512a4d){logger[_0x16a4e4(0x243)](_0x16a4e4(0x1fd)+util['format'](_0x512a4d));}if(_0x126fd3['file'])return _0x126fd3[_0x16a4e4(0x1d5)];return null;}}module[a71_0x1a06ff(0x1ad)]=JestTestFramework;
@@ -1 +1 @@
1
- const a72_0x1736d8=a72_0x4a1b;(function(_0x166b19,_0x33b9eb){const _0x4d7983=a72_0x4a1b,_0x3b5f59=_0x166b19();while(!![]){try{const _0x3326e6=parseInt(_0x4d7983(0xc5))/0x1*(parseInt(_0x4d7983(0xcd))/0x2)+-parseInt(_0x4d7983(0xb6))/0x3*(-parseInt(_0x4d7983(0xbc))/0x4)+-parseInt(_0x4d7983(0xd7))/0x5*(-parseInt(_0x4d7983(0xd9))/0x6)+parseInt(_0x4d7983(0xca))/0x7*(parseInt(_0x4d7983(0xce))/0x8)+parseInt(_0x4d7983(0xae))/0x9*(parseInt(_0x4d7983(0xcb))/0xa)+parseInt(_0x4d7983(0xb0))/0xb*(-parseInt(_0x4d7983(0xbd))/0xc)+-parseInt(_0x4d7983(0xc3))/0xd;if(_0x3326e6===_0x33b9eb)break;else _0x3b5f59['push'](_0x3b5f59['shift']());}catch(_0x3b837b){_0x3b5f59['push'](_0x3b5f59['shift']());}}}(a72_0x3945,0x8ddb9));const AutomationFramework=require(a72_0x1736d8(0xd1)),{createClassLogger}=require(a72_0x1736d8(0xcf)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a72_0x1736d8(0xb9)),AutomationFrameworkInstance=require(a72_0x1736d8(0xc1));function a72_0x4a1b(_0x1c4259,_0xc2fe83){const _0x3945fb=a72_0x3945();return a72_0x4a1b=function(_0x4a1bd4,_0x1b5ec6){_0x4a1bd4=_0x4a1bd4-0xae;let _0x3768eb=_0x3945fb[_0x4a1bd4];return _0x3768eb;},a72_0x4a1b(_0x1c4259,_0xc2fe83);}class PlaywrightAutomationFramework extends AutomationFramework{[a72_0x1736d8(0xbf)]=createClassLogger(a72_0x1736d8(0xc4));constructor(_0x51826c,_0x3153ed){super(_0x51826c,_0x3153ed);}async[a72_0x1736d8(0xb1)](_0x45eda8,_0x8349b5,_0x32d7d0={}){const _0x2bff47=a72_0x1736d8,_0xe91f2c={};_0xe91f2c[_0x2bff47(0xb7)]=function(_0x49b822,_0x149da2){return _0x49b822===_0x149da2;};const _0x8d8607=_0xe91f2c;this['logger']['debug'](_0x2bff47(0xc0)+_0x45eda8+_0x2bff47(0xd0)+_0x8349b5),await super['trackEvent'](_0x45eda8,_0x8349b5,_0x32d7d0);const _0x12f8d7=this[_0x2bff47(0xb8)](_0x45eda8,_0x8349b5,_0x32d7d0);if(_0x8d8607[_0x2bff47(0xb7)](_0x12f8d7,null))return;_0x32d7d0[_0x2bff47(0xd6)]=_0x12f8d7,await this[_0x2bff47(0xb3)](_0x12f8d7,_0x45eda8,_0x8349b5,_0x32d7d0);}['resolveInstance'](_0x244521,_0x2f583e,_0x413a66={}){const _0x4907c8=a72_0x1736d8,_0x46dffd={};_0x46dffd['HCYeh']=function(_0x4770cd,_0x6ecc91){return _0x4770cd===_0x6ecc91;},_0x46dffd['eBBBZ']=function(_0x95d4c9,_0x4363ce){return _0x95d4c9===_0x4363ce;},_0x46dffd[_0x4907c8(0xd5)]=function(_0x2c859e,_0x47f810){return _0x2c859e===_0x47f810;};const _0x23eea6=_0x46dffd;let _0xda284=null;return(_0x23eea6['HCYeh'](_0x244521,AutomationFrameworkState[_0x4907c8(0xb2)])||_0x23eea6[_0x4907c8(0xc9)](_0x244521,AutomationFrameworkState[_0x4907c8(0xc6)])&&(_0x413a66[_0x4907c8(0xc8)]&&_0x413a66[_0x4907c8(0xc8)][_0x4907c8(0xd3)]&&_0x413a66['message']['params']['bsParams'])||_0x23eea6[_0x4907c8(0xd5)](_0x244521,AutomationFrameworkState[_0x4907c8(0xbe)]))&&this[_0x4907c8(0xda)](_0x244521,_0x413a66),_0xda284=AutomationFramework['getTrackedInstance'](),_0xda284;}[a72_0x1736d8(0xda)](_0x2a810c,_0x4a0f63){const _0x2e60b6=a72_0x1736d8,_0x1d5f0c={};_0x1d5f0c[_0x2e60b6(0xd4)]='trackPlaywrightInstance:\x20instance\x20already\x20exists';const _0x2d5046=_0x1d5f0c;if(AutomationFramework[_0x2e60b6(0xc7)]()){this[_0x2e60b6(0xbf)]['info'](_0x2d5046[_0x2e60b6(0xd4)]);return;}const _0x281591=CLIUtils['getCurrentInstanceName'](),_0x275a48=TrackedInstance[_0x2e60b6(0xbb)](_0x281591);let _0x3e0ea7=null;this[_0x2e60b6(0xbf)][_0x2e60b6(0xb4)](_0x2e60b6(0xba)+_0x281591+_0x2e60b6(0xd2)+_0x2a810c),_0x3e0ea7=new AutomationFrameworkInstance(_0x275a48,this[_0x2e60b6(0xc2)](),this[_0x2e60b6(0xb5)](),_0x2a810c),AutomationFramework[_0x2e60b6(0xcc)](_0x275a48,_0x3e0ea7),this[_0x2e60b6(0xbf)][_0x2e60b6(0xb4)](_0x2e60b6(0xd8)+_0x275a48[_0x2e60b6(0xaf)]()+'\x20target='+_0x281591);}}function a72_0x3945(){const _0x4fa50d=['../instances/automationFrameworkInstance.js','getAutomationFrameworkName','16543943paMEhA','PlaywrightAutomationFramework','3747jtSJth','PLAYWRIGHT_DISPATCH','getTrackedInstance','message','eBBBZ','1632337mlvXnA','60YcJGCd','setTrackedInstance','24LYsMpa','16clRUyP','../../../helpers/classLogger.js','\x20hookState=','./automationFramework.js',',\x20state=','params','YRtmF','lhsOe','instance','5hhcwdT','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','4663590gjZZIX','trackPlaywrightInstance','1044837TVOkbn','getId','10115050uFDZBm','trackEvent','CREATE','runHooks','info','getAutomationFrameworkVersion','3HvsUyS','TVRke','resolveInstance','../instances/trackedInstance.js','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','createContext','3152164nDXkCh','12cgqmQY','NONE','logger','trackEvent:\x20automationFrameworkState='];a72_0x3945=function(){return _0x4fa50d;};return a72_0x3945();}module['exports']=PlaywrightAutomationFramework;
1
+ function a72_0x2df4(){const _0x184a0e=['dvUeq','debug','LdrJf','logger','getTrackedInstance','getId','info','43636ciwUPd','./automationFramework.js','trackPlaywrightInstance','trackEvent','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','trackPlaywrightInstance:\x20instance\x20already\x20exists','\x20hookState=','LfOoo','624ynKQSX','params','40WWkCxb','createContext','bsParams','1225854usxjvC','trackEvent:\x20automationFrameworkState=','resolveInstance','560070VzQJoe','getAutomationFrameworkName','203DpZdsN','getAutomationFrameworkVersion','runHooks','../../../helpers/classLogger.js','Zalgn','exports','XZIUI','2400rYWXFI','setTrackedInstance','../cliUtils.js','PlaywrightAutomationFramework','54328kjAOef','getCurrentInstanceName','342036mjIsKF','4gippNO','639232ZCbaeD','NONE','trackPlaywrightInstance:\x20saved\x20instance\x20contextId='];a72_0x2df4=function(){return _0x184a0e;};return a72_0x2df4();}const a72_0x40b25e=a72_0x47b2;(function(_0x1eb747,_0x1618f8){const _0x29094a=a72_0x47b2,_0x13fd6b=_0x1eb747();while(!![]){try{const _0x1c80ec=-parseInt(_0x29094a(0x150))/0x1*(parseInt(_0x29094a(0x145))/0x2)+parseInt(_0x29094a(0x144))/0x3+-parseInt(_0x29094a(0x158))/0x4*(-parseInt(_0x29094a(0x13e))/0x5)+-parseInt(_0x29094a(0x160))/0x6+-parseInt(_0x29094a(0x162))/0x7*(-parseInt(_0x29094a(0x142))/0x8)+parseInt(_0x29094a(0x15d))/0x9+parseInt(_0x29094a(0x15a))/0xa*(-parseInt(_0x29094a(0x146))/0xb);if(_0x1c80ec===_0x1618f8)break;else _0x13fd6b['push'](_0x13fd6b['shift']());}catch(_0x46017b){_0x13fd6b['push'](_0x13fd6b['shift']());}}}(a72_0x2df4,0x1a9ac));function a72_0x47b2(_0x476afe,_0x573b8c){const _0x2df44a=a72_0x2df4();return a72_0x47b2=function(_0x47b228,_0x4491f1){_0x47b228=_0x47b228-0x13c;let _0x36a595=_0x2df44a[_0x47b228];return _0x36a595;},a72_0x47b2(_0x476afe,_0x573b8c);}const AutomationFramework=require(a72_0x40b25e(0x151)),{createClassLogger}=require(a72_0x40b25e(0x165)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),CLIUtils=require(a72_0x40b25e(0x140)),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js');class PlaywrightAutomationFramework extends AutomationFramework{[a72_0x40b25e(0x14c)]=createClassLogger(a72_0x40b25e(0x141));constructor(_0x34ce60,_0x24860c){super(_0x34ce60,_0x24860c);}async[a72_0x40b25e(0x153)](_0x5bcbb5,_0x257007,_0x410863={}){const _0x3c6aef=a72_0x40b25e,_0x4f67b7={};_0x4f67b7[_0x3c6aef(0x157)]=function(_0x3f4725,_0x2fc075){return _0x3f4725===_0x2fc075;};const _0x1b6ce5=_0x4f67b7;this['logger'][_0x3c6aef(0x14a)](_0x3c6aef(0x15e)+_0x5bcbb5+_0x3c6aef(0x156)+_0x257007),await super[_0x3c6aef(0x153)](_0x5bcbb5,_0x257007,_0x410863);const _0x3f019c=this[_0x3c6aef(0x15f)](_0x5bcbb5,_0x257007,_0x410863);if(_0x1b6ce5[_0x3c6aef(0x157)](_0x3f019c,null))return;_0x410863['instance']=_0x3f019c,await this[_0x3c6aef(0x164)](_0x3f019c,_0x5bcbb5,_0x257007,_0x410863);}['resolveInstance'](_0x1e76eb,_0x4b268c,_0x2429c5={}){const _0x522ee8=a72_0x40b25e,_0x4ced55={};_0x4ced55[_0x522ee8(0x166)]=function(_0x49b0e6,_0x571453){return _0x49b0e6===_0x571453;},_0x4ced55['XZIUI']=function(_0x2e55f6,_0x179196){return _0x2e55f6===_0x179196;},_0x4ced55[_0x522ee8(0x14b)]=function(_0x1a1ba8,_0x24ab75){return _0x1a1ba8===_0x24ab75;};const _0x476f6f=_0x4ced55;let _0x484552=null;return(_0x476f6f[_0x522ee8(0x166)](_0x1e76eb,AutomationFrameworkState['CREATE'])||_0x476f6f[_0x522ee8(0x13d)](_0x1e76eb,AutomationFrameworkState['PLAYWRIGHT_DISPATCH'])&&(_0x2429c5['message']&&_0x2429c5['message'][_0x522ee8(0x159)]&&_0x2429c5['message'][_0x522ee8(0x159)][_0x522ee8(0x15c)])||_0x476f6f['LdrJf'](_0x1e76eb,AutomationFrameworkState[_0x522ee8(0x147)]))&&this[_0x522ee8(0x152)](_0x1e76eb,_0x2429c5),_0x484552=AutomationFramework[_0x522ee8(0x14d)](),_0x484552;}[a72_0x40b25e(0x152)](_0x44df55,_0x52c136){const _0xdaaea0=a72_0x40b25e,_0x4ca0d8={};_0x4ca0d8['dvUeq']=_0xdaaea0(0x155);const _0x3e3c69=_0x4ca0d8;if(AutomationFramework[_0xdaaea0(0x14d)]()){this[_0xdaaea0(0x14c)][_0xdaaea0(0x14f)](_0x3e3c69[_0xdaaea0(0x149)]);return;}const _0x44c68d=CLIUtils[_0xdaaea0(0x143)](),_0x12f554=TrackedInstance[_0xdaaea0(0x15b)](_0x44c68d);let _0x2ca32a=null;this[_0xdaaea0(0x14c)]['info'](_0xdaaea0(0x154)+_0x44c68d+',\x20state='+_0x44df55),_0x2ca32a=new AutomationFrameworkInstance(_0x12f554,this[_0xdaaea0(0x161)](),this[_0xdaaea0(0x163)](),_0x44df55),AutomationFramework[_0xdaaea0(0x13f)](_0x12f554,_0x2ca32a),this[_0xdaaea0(0x14c)][_0xdaaea0(0x14f)](_0xdaaea0(0x148)+_0x12f554[_0xdaaea0(0x14e)]()+'\x20target='+_0x44c68d);}}module[a72_0x40b25e(0x13c)]=PlaywrightAutomationFramework;