browserstack-node-sdk 1.54.2 → 1.55.1

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 (198) 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 +3 -3
  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/newman/command.js +2 -0
  79. package/src/bin/newman/helper.js +1 -0
  80. package/src/bin/newman/reporter/index.js +1 -0
  81. package/src/bin/newman/scriptRunner.js +2 -0
  82. package/src/bin/nightwatch/command.js +1 -1
  83. package/src/bin/playwright/accessibility-helper.js +1 -1
  84. package/src/bin/playwright/command.js +1 -1
  85. package/src/bin/playwright/globalSetup.js +1 -1
  86. package/src/bin/playwright/mock-process.js +1 -1
  87. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  88. package/src/bin/playwright/patches.js +1 -1
  89. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  90. package/src/bin/playwright/reporter/reporter.js +1 -1
  91. package/src/bin/playwright/reporter/test-details.js +1 -1
  92. package/src/bin/playwright/sessionDetails.js +1 -1
  93. package/src/bin/puppeteer/patches.js +1 -1
  94. package/src/bin/puppeteer/sessionDetails.js +1 -1
  95. package/src/bin/puppeteer/test.setup.js +1 -1
  96. package/src/bin/runner.js +1 -1
  97. package/src/bin/setup.js +1 -1
  98. package/src/bin/test-runner/index.js +1 -1
  99. package/src/bin/test-runner/runTest.js +1 -1
  100. package/src/bin/test-runner/testWorker.js +1 -1
  101. package/src/bin/utils/apiUtilityMethods.js +1 -1
  102. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  103. package/src/bin/utils/constants.js +1 -1
  104. package/src/bin/utils/log4jsAppender.js +1 -1
  105. package/src/bin/utils/logPatcher.js +1 -1
  106. package/src/bin/utils/logReportingAPI.js +1 -1
  107. package/src/bin/utils/playwright-patcher.js +1 -1
  108. package/src/bin/utils/puppeteer-patcher.js +1 -1
  109. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  110. package/src/bin/utils/sharedUtils.js +1 -1
  111. package/src/bin/v2/TestInfo.js +1 -1
  112. package/src/bin/v2/browserstackCLI.js +1 -1
  113. package/src/bin/v2/cliUtils.js +1 -1
  114. package/src/bin/v2/customTagManager.js +1 -1
  115. package/src/bin/v2/eventDispatcher.js +1 -1
  116. package/src/bin/v2/framework/automationFramework.js +1 -1
  117. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  118. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  119. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  120. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  121. package/src/bin/v2/framework/newmanTestFramework.js +1 -0
  122. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  123. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  124. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  125. package/src/bin/v2/framework/testFramework.js +1 -1
  126. package/src/bin/v2/grpcClient.js +1 -1
  127. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  128. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  129. package/src/bin/v2/instances/trackedContext.js +1 -1
  130. package/src/bin/v2/instances/trackedInstance.js +1 -1
  131. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  132. package/src/bin/v2/modules/baseModule.js +1 -1
  133. package/src/bin/v2/modules/loadTestModule.js +1 -1
  134. package/src/bin/v2/modules/observabilityModule.js +1 -1
  135. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  136. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  137. package/src/bin/v2/modules/testhubModule.js +1 -1
  138. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  139. package/src/bin/v2/state/hookState.js +1 -1
  140. package/src/bin/v2/state/testFrameworkState.js +1 -1
  141. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  142. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  143. package/src/bin/v2/utils/jest-utils.js +1 -1
  144. package/src/bin/vanilla-js/command.js +1 -1
  145. package/src/browserStackSdk.js +1 -1
  146. package/src/helpers/BrowserStackSetup.js +1 -1
  147. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  148. package/src/helpers/accessibility-automation/constants.js +1 -1
  149. package/src/helpers/accessibility-automation/helper.js +1 -1
  150. package/src/helpers/accessibility-automation/scripts.js +1 -1
  151. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  152. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  153. package/src/helpers/ats/constants.js +1 -1
  154. package/src/helpers/ats/helper.js +1 -1
  155. package/src/helpers/capsMapping.js +1 -1
  156. package/src/helpers/central-scanner/constants.js +1 -1
  157. package/src/helpers/central-scanner/helpers.js +1 -1
  158. package/src/helpers/classLogger.js +1 -1
  159. package/src/helpers/globals.js +1 -1
  160. package/src/helpers/helper.js +1 -1
  161. package/src/helpers/logger.js +1 -1
  162. package/src/helpers/metadata.js +1 -1
  163. package/src/helpers/patchHelper.js +1 -1
  164. package/src/helpers/patchHelpers.js +1 -1
  165. package/src/helpers/percy/Percy.js +1 -1
  166. package/src/helpers/percy/PercyBinary.js +1 -1
  167. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  168. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  169. package/src/helpers/percy/PercySDK.js +1 -1
  170. package/src/helpers/percy/index.js +1 -1
  171. package/src/helpers/percy/utils.js +1 -1
  172. package/src/helpers/performance/constants.js +1 -1
  173. package/src/helpers/performance/performance-tester.js +1 -1
  174. package/src/helpers/playwright-helper.js +1 -1
  175. package/src/helpers/processHelper.js +1 -1
  176. package/src/helpers/puppeteer-helper.js +1 -1
  177. package/src/helpers/request-spy.js +1 -1
  178. package/src/helpers/setKeepAlive.js +1 -1
  179. package/src/helpers/test-observability/constants.js +1 -1
  180. package/src/helpers/test-observability/error-handler.js +1 -1
  181. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  182. package/src/helpers/test-observability/sessionHandler.js +1 -1
  183. package/src/helpers/test-observability/utils.js +1 -1
  184. package/src/helpers/test-orchestration/constants.js +1 -1
  185. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  186. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  187. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  188. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  189. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  190. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  191. package/src/helpers/testhub/constants.js +1 -1
  192. package/src/helpers/testhub/testhubHandler.js +1 -1
  193. package/src/helpers/testhub/utils.js +1 -1
  194. package/src/helpers/timeoutPromise.js +1 -1
  195. package/src/helpers/utilities.js +1 -1
  196. package/src/helpers/w3cMapping.js +1 -1
  197. package/src/hubAllocationMethods.js +1 -1
  198. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a75_0x3418e6=a75_0x4458;function a75_0x4458(_0x1a6325,_0x141eb2){const _0x49363f=a75_0x4936();return a75_0x4458=function(_0x44584b,_0xe82a){_0x44584b=_0x44584b-0xdf;let _0x283186=_0x49363f[_0x44584b];return _0x283186;},a75_0x4458(_0x1a6325,_0x141eb2);}(function(_0x58f22b,_0x2060ac){const _0x332bf7=a75_0x4458,_0x527855=_0x58f22b();while(!![]){try{const _0x369751=parseInt(_0x332bf7(0x106))/0x1+parseInt(_0x332bf7(0x230))/0x2*(parseInt(_0x332bf7(0x12a))/0x3)+parseInt(_0x332bf7(0x16d))/0x4+parseInt(_0x332bf7(0xe3))/0x5*(parseInt(_0x332bf7(0x1b9))/0x6)+parseInt(_0x332bf7(0x169))/0x7*(-parseInt(_0x332bf7(0x163))/0x8)+parseInt(_0x332bf7(0x17c))/0x9+-parseInt(_0x332bf7(0x188))/0xa;if(_0x369751===_0x2060ac)break;else _0x527855['push'](_0x527855['shift']());}catch(_0x445d67){_0x527855['push'](_0x527855['shift']());}}}(a75_0x4936,0xae1df));function a75_0x4936(){const _0x2ee2b7=['event_ended_at',',\x20messageLength=','filter','hookType','KEY_TEST_FAILURE','\x20-\x20test_identifier=',',\x20response=','KEY_AUTOMATE_SESSION_NAME','hasPendingHooks','14310flRiic','DEFAULT_TEST_RESULT','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','POST','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','getPendingHooks','sHQon','uuid','push','\x20(testIdentifier),\x20tags=','asyncError',',\x20version=','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes=','KEY_HOOK_NAME','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','KEY_TEST_LOGS',':testAnalyticsId','KEY_TEST_DURATION','JestTestFramework','scope','kxKJd','getRootParentFile','hooks','eLLZU','KEY_HOOKS_STARTED','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','substring','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','getJestFailureData','Processing\x20','getCurrentHookState','DEFAULT_HOOK_RESULT','\x22\x20from\x20testData','buildHookMapFromTest','length','removePendingHooks','\x20files','\x20-\x20testId:\x20','hookUUID','ByIRh','test_identifier','CKexM','has','oPciD','toISOString','KEY_TEST_RERUN_NAME','../cliUtils.js','KEY_TEST_ENDED_AT','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','browserstackPlatformIndex','KEY_HOOK_RESULT',',\x20hookData=','PRE','started_at','dWGNM','getJestFailureType','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=',',\x20testData=','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','JXXvf','xkpMT','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','DwEoc','getContext','VhNxr','getJestFailureReason','\x20hook','exports','KEY_TEST_FAILURE_REASON','95EuWlxv','CCjSG','dcepm','obfpE','KEY_LOGS','KEY_TEST_FRAMEWORK_NAME','depth','xaSKg','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','../instances/testFrameworkInstance.js','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','sendLogCreatedEvent','MwKoE','ErMTH','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','inspect','getFileName','getAllPendingHookTestIds','ceil','pid','sxIdy',',\x20remainingHooks=','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20',',\x20hookId=','hHHYa','from','createTestFrameworkEventPayload','_ALL','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','KEY_HOOK_FAILURE_REASON','getJestTestName','hookMetadata',',\x20test_run_uuid=','1193912MVdeHJ','error',',\x20error:\x20','errorsDetailed','hook_id','jest-circus','KEY_HOOK_LOGS','get',',\x20consoleLogs:\x20','duration',',\x20totalLogs:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','concat','DDZii','rmRBP','trackJestInstance:\x20created\x20instance\x20for\x20target=',',\x20currentTestId:\x20','hTmow',',\x20target=','zUtpp','__workerDetails','isArray','./testFramework','passed','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','scopes','testFrameworkVersion','unknown','KEY_TEST_FAILURE_TYPE','cCHbn','args','UBAAW','getTestFrameworks','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','\x20logs\x20for\x20testId:\x20','map','9PBYhEr',',\x20contextId=','weloV','getProcessId','AZBVD','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','cZMzn','rXrhQ','replace','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','type','slice','KEY_TEST_SCOPE','parent','KEY_TEST_SCOPES',',\x20hookState=','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','GBJPI','tags','hookAnalyticsId','file_name','cVvvP','body','location','LOG_REPORT',',\x20filePath=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','failure_reason','parseJestTest','UOtqg','KEY_EVENT_STARTED_AT','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','test_run_id',',\x20filePath:\x20','KEY_TEST_FRAMEWORK_VERSION','util','KEY_HOOK_FAILURE_TYPE','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','KEY_HOOK_LAST_FINISHED','Stored\x20pending\x20hook\x20for\x20testId:\x20','UnhandledError','getTestFrameworksVersions','FTTEz','code','\x20(testIdentifier),\x20hookType=','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','testFrameworkName','HYShk','getJestTestScopes','getCurrentTestState',',\x20hookUUID=','parseJestTestResult','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','join','sAMyE','BEFORE_ALL','8EfcUhg','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','addPendingHook','activeHooks','\x20(testIdentifier),\x20result=','reverse','1177841XBXSkN','UtByy','kind','../grpcClient','5327020CJwkQI','KEY_TEST_NAME','isJestInternalHook','uKYzO','vAoaf','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','format','afterAll','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','getJestTestIdentifier','getInstance','KEY_TEST_ID','hookData',',\x20failureType=','ajoRg','2403108fHJUZx','\x20&\x20hookState=','WPsFM','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20',',\x20platformIndex:\x20',',\x20exception=','\x20pending\x20hooks\x20for\x20testId:\x20','TNJak','match','kiHOU','sKrFG','mapTestHooks','28338870jqthyU','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','OtlPY','KEY_TEST_RESULT','KEY_TEST_UUID','../../../helpers/classLogger.js','__bstackPlatformIndex',',\x20scope:\x20','executionContext','KEY_TEST_CODE','beforeAll',',\x20hookType=','RIuDK','gMnca','KEY_HOOK_ID','../state/hookState.js','EPftp','base64','ALL',',\x20hooksListLength=','storePendingHook','xMlDM','EnFIx','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','NONE','sEyid','KEY_TEST_LOCATION','dJMMB','Unknown\x20Test','set','getHooksForTest','KEY_CUSTOM_TAGS','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','getTrackedInstance','rtICa','toUpperCase','resolveInstance','testFrameworkState','parse','hookState','getAllData','KEY_HOOKS_FINISHED','TEST','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','vUzBo','includes','parallelIndex','284586ZfHhyU','KEY_TEST_STARTED_AT','trackHookEvent','tsaQn','failed','getCurrentInstanceName','\x20attachments',',\x20hook=','test','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','splice','../instances/trackedInstance.js','nFkOp','warn','file','myWIv','iJQRb','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','Assert',',\x20scopes=','findIndex',',\x20state:\x20','VSgAk','getThreadId','status','maxArrayLength','find','KEY_HOOK_FAILURE','title','NtSLF','WyDFJ','qTiPv','result','testUUID','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=',',\x20hookState:\x20','setActiveHook','SErno','testData','apply','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','CgAQT','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','matchHookRegex','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','toString','Unknown\x20error','pop','CTodj','originalTest','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','EFnfm','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20',',\x20failureReason=','getRef','../../../helpers/test-observability/utils','\x22\x20hook',',\x20screenshotLogs:\x20','ILCoQ','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','debug','\x20for\x20testId:\x20','forEach','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=',',\x20logsInBatch:\x20','name','runHooks','AsIog','KEY_TEST_RETRY_OF','testId','lFpEC','hILGf','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','KEY_TEST_FILE_PATH','trackEvent','KEY_TEST_META','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=',',\x20testId=','split','getJestTestFilePath','startsWith','jBXhw','startedAt','stringify','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','KEY_TEST_ATTACHMENTS','skipped','retryOf','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','YfXJd','EqpXU','processPendingHooks','endedAt',',\x20totalBatches:\x20','hook_result','getJestTestTags','trackJestInstance',',\x20testFramework=','filePath','getActiveHook',',\x20attachmentLogs:\x20','logCreatedEvent','UzVxj','keys','yLsCm','\x20screenshot\x20logs\x20for\x20testId:\x20','hook_run_uuid','addMultipleEntries','finished_at','HtFGp'];a75_0x4936=function(){return _0x2ee2b7;};return a75_0x4936();}const TestFramework=require(a75_0x3418e6(0x11c)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a75_0x3418e6(0x198)),{createClassLogger}=require(a75_0x3418e6(0x18e)),TestFrameworkInstance=require(a75_0x3418e6(0xec)),CLIUtils=require(a75_0x3418e6(0x25f)),TrackedInstance=require(a75_0x3418e6(0x1c4)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require(a75_0x3418e6(0x1f0)),logger=createClassLogger(a75_0x3418e6(0x242)),{v4:uuidv4}=require(a75_0x3418e6(0x237)),util=require(a75_0x3418e6(0x14e)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a75_0x3418e6(0x16c)),stackTrace=require('stack-trace');class JestTestFramework extends TestFramework{constructor(_0x497f01,_0x160544,_0x103b6a){const _0x17e331=a75_0x3418e6;super(_0x497f01,_0x160544,_0x103b6a),this[_0x17e331(0x166)]=new Map();}[a75_0x3418e6(0x1dd)](_0x2b8927,_0x2bc3a8,_0x279265){const _0x3a8e61=a75_0x3418e6,_0x576f95={};_0x576f95[_0x3a8e61(0x195)]=function(_0x46cb30,_0x200f6c){return _0x46cb30||_0x200f6c;};const _0x5a3ee0=_0x576f95;if(_0x5a3ee0[_0x3a8e61(0x195)](!_0x2b8927,!_0x2bc3a8)){logger[_0x3a8e61(0x1c6)](_0x3a8e61(0x1db)+_0x2b8927+_0x3a8e61(0x15d)+_0x2bc3a8);return;}!this[_0x3a8e61(0x166)][_0x3a8e61(0x25b)](_0x2b8927)&&this[_0x3a8e61(0x166)][_0x3a8e61(0x1a6)](_0x2b8927,[]);const _0x15e3d2={'hookUUID':_0x2bc3a8,'hookType':_0x279265,'startedAt':new Date()[_0x3a8e61(0x25d)]()};this[_0x3a8e61(0x166)][_0x3a8e61(0x10d)](_0x2b8927)['push'](_0x15e3d2),logger[_0x3a8e61(0x1f5)](_0x3a8e61(0x205)+_0x2b8927+_0x3a8e61(0x15d)+_0x2bc3a8+_0x3a8e61(0x194)+_0x279265+',\x20totalHooks='+this[_0x3a8e61(0x166)][_0x3a8e61(0x10d)](_0x2b8927)[_0x3a8e61(0x253)]);}['removeActiveHook'](_0x26bc92,_0x3dab76){const _0x8810cb=a75_0x3418e6,_0x3ef042={};_0x3ef042[_0x8810cb(0x200)]=function(_0x32b50f,_0x27b518){return _0x32b50f||_0x27b518;},_0x3ef042[_0x8810cb(0x1bc)]=function(_0x44b193,_0x11935c){return _0x44b193!==_0x11935c;},_0x3ef042['JXXvf']=function(_0x26aab2,_0x30b271){return _0x26aab2===_0x30b271;};const _0x4d8bac=_0x3ef042;if(_0x4d8bac[_0x8810cb(0x200)](!_0x26bc92,!_0x3dab76)){logger[_0x8810cb(0x1c6)](_0x8810cb(0x1e1)+_0x26bc92+_0x8810cb(0x15d)+_0x3dab76);return;}if(this[_0x8810cb(0x166)]['has'](_0x26bc92)){const _0x1e9360=this[_0x8810cb(0x166)][_0x8810cb(0x10d)](_0x26bc92),_0x2acaa3=_0x1e9360[_0x8810cb(0x1cd)](_0x2f99e9=>_0x2f99e9['hookUUID']===_0x3dab76);_0x4d8bac[_0x8810cb(0x1bc)](_0x2acaa3,-0x1)?(_0x1e9360[_0x8810cb(0x1c3)](_0x2acaa3,0x1),logger['debug']('[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier='+_0x26bc92+_0x8810cb(0x15d)+_0x3dab76+_0x8810cb(0xf9)+_0x1e9360[_0x8810cb(0x253)]),_0x4d8bac[_0x8810cb(0x26c)](_0x1e9360[_0x8810cb(0x253)],0x0)&&this['activeHooks']['delete'](_0x26bc92)):logger['debug'](_0x8810cb(0x14a)+_0x26bc92+_0x8810cb(0x15d)+_0x3dab76);}}[a75_0x3418e6(0x21c)](_0x2cb17e){const _0x104ee9=a75_0x3418e6,_0x3e2357={};_0x3e2357['WPsFM']=function(_0x380ac3,_0x3b2f19){return _0x380ac3>_0x3b2f19;},_0x3e2357[_0x104ee9(0x125)]=function(_0x89b60f,_0x3f23b5){return _0x89b60f-_0x3f23b5;};const _0x326439=_0x3e2357;if(!_0x2cb17e)return null;if(this['activeHooks'][_0x104ee9(0x25b)](_0x2cb17e)){const _0x41b0ed=this[_0x104ee9(0x166)]['get'](_0x2cb17e);if(_0x326439[_0x104ee9(0x17e)](_0x41b0ed[_0x104ee9(0x253)],0x0)){const _0x4985d4=_0x41b0ed[_0x326439[_0x104ee9(0x125)](_0x41b0ed[_0x104ee9(0x253)],0x1)];return logger[_0x104ee9(0x1f5)](_0x104ee9(0x1b4)+_0x2cb17e+_0x104ee9(0x15d)+_0x4985d4['hookUUID']+_0x104ee9(0x194)+_0x4985d4['hookType']),_0x4985d4;}}return null;}async[a75_0x3418e6(0x203)](_0x3f4b67,_0x4e8cb5,_0x2aab80={}){const _0x240f35=a75_0x3418e6,_0x208e4e={};_0x208e4e[_0x240f35(0x12e)]=_0x240f35(0x1c2),_0x208e4e[_0x240f35(0x16a)]=function(_0x22c8c7,_0x5aef89){return _0x22c8c7===_0x5aef89;},_0x208e4e[_0x240f35(0x1d8)]=function(_0x1a8aa3,_0x16bb4d){return _0x1a8aa3===_0x16bb4d;},_0x208e4e[_0x240f35(0x1b6)]=function(_0x2d13c3,_0x10af82){return _0x2d13c3||_0x10af82;},_0x208e4e[_0x240f35(0x1e2)]='[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND';const _0x12e45e=_0x208e4e;logger[_0x240f35(0x1f5)](_0x240f35(0x24a)+_0x3f4b67+_0x240f35(0x139)+_0x4e8cb5+',\x20argsKeys='+Object[_0x240f35(0x220)](_0x2aab80)[_0x240f35(0x160)](',')),await super[_0x240f35(0x203)](_0x3f4b67,_0x4e8cb5,_0x2aab80);const _0x54f8fd=this[_0x240f35(0x1ad)](_0x3f4b67,_0x4e8cb5,_0x2aab80);if(!_0x54f8fd){logger['debug'](_0x12e45e[_0x240f35(0x12e)]);return;}try{let _0x493716,_0x123a17,_0x467d91;switch(_0x3f4b67){case TestFrameworkState[_0x240f35(0x1b3)]:_0x493716=_0x2aab80['test'];const _0x2173dd={};_0x2173dd[_0x240f35(0xe9)]=0x2,_0x2173dd[_0x240f35(0x1d2)]=0x3,logger[_0x240f35(0x1f5)](_0x240f35(0x1ca)+_0x4e8cb5+_0x240f35(0x26a)+util[_0x240f35(0xf3)](_0x493716,_0x2173dd)),_0x467d91=this[_0x240f35(0x176)](_0x493716),_0x123a17=null,logger['debug'](_0x240f35(0xed)+_0x467d91+'\x20(testIdentifier)');if(_0x12e45e[_0x240f35(0x16a)](_0x4e8cb5,HookState['PRE'])){logger[_0x240f35(0x1f5)](_0x240f35(0x189)+_0x467d91);const _0x354f41={};_0x354f41['testUUID']=_0x123a17,_0x354f41[_0x240f35(0x1df)]=_0x493716,_0x354f41[_0x240f35(0x1fe)]=_0x467d91;const _0x41918b=this[_0x240f35(0x147)](_0x354f41),_0xde0fb8={};_0xde0fb8[_0x240f35(0xe9)]=0x2,_0xde0fb8[_0x240f35(0x1d2)]=0x3,logger[_0x240f35(0x1f5)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20'+util['inspect'](_0x41918b,_0xde0fb8)),_0x54f8fd[_0x240f35(0x224)](_0x41918b),logger[_0x240f35(0x1f5)](_0x240f35(0x17f)+_0x467d91),await this['processPendingHooks'](_0x54f8fd,_0x467d91);}else{if(_0x12e45e[_0x240f35(0x1d8)](_0x4e8cb5,HookState['POST'])){logger[_0x240f35(0x1f5)](_0x240f35(0x1f4)+_0x467d91);const _0x341282=_0x54f8fd[_0x240f35(0x1b1)]()[_0x240f35(0x10d)](_0x467d91);logger['debug'](_0x240f35(0xfb)+util[_0x240f35(0xf3)](Object[_0x240f35(0x220)](_0x12e45e[_0x240f35(0x1b6)](_0x341282,{}))));_0x341282&&_0x341282[TestFrameworkConstants[_0x240f35(0x20e)]]?logger[_0x240f35(0x1f5)](_0x240f35(0x111)+Object[_0x240f35(0x220)](_0x341282[TestFrameworkConstants[_0x240f35(0x20e)]])[_0x240f35(0x253)]+_0x240f35(0x255)):logger['debug'](_0x12e45e['CgAQT']);const _0x4cf146=_0x2aab80[_0x240f35(0x1ea)]||null,_0x555642={};_0x555642[_0x240f35(0x1da)]=_0x123a17,_0x555642[_0x240f35(0x1df)]=_0x493716,_0x555642['testId']=_0x467d91,_0x555642[_0x240f35(0x1ea)]=_0x4cf146;const _0x37d7ff=this['parseJestTestResult'](_0x555642),_0x4fddfb={};_0x4fddfb[_0x240f35(0xe9)]=0x2,_0x4fddfb[_0x240f35(0x1d2)]=0x3,logger[_0x240f35(0x1f5)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20'+util[_0x240f35(0xf3)](_0x37d7ff,_0x4fddfb)),_0x54f8fd['addMultipleEntries'](_0x37d7ff),logger[_0x240f35(0x1f5)](_0x240f35(0x18a)+_0x467d91),await this[_0x240f35(0x214)](_0x54f8fd,_0x467d91);}}break;case TestFrameworkState[_0x240f35(0x142)]:if(_0x12e45e[_0x240f35(0x16a)](_0x4e8cb5,HookState[_0x240f35(0x233)])){const _0x58bbad={};_0x58bbad['depth']=0x2,logger['debug']('[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20'+util[_0x240f35(0xf3)](_0x2aab80,_0x58bbad)),await this[_0x240f35(0xef)](_0x54f8fd,_0x3f4b67,_0x2aab80);}break;default:if(CLIUtils[_0x240f35(0x1e4)](_0x3f4b67[_0x240f35(0x1e6)]()[_0x240f35(0x207)]('.')[0x1])){const _0x206be={};_0x206be[_0x240f35(0xe9)]=0x2,_0x206be[_0x240f35(0x1d2)]=0x3,logger[_0x240f35(0x1f5)](_0x240f35(0x269)+_0x3f4b67+_0x240f35(0x139)+_0x4e8cb5+_0x240f35(0x264)+util[_0x240f35(0xf3)](_0x2aab80['hookData'],_0x206be));const _0x1aa086=await this[_0x240f35(0x1bb)](_0x54f8fd,_0x3f4b67,_0x4e8cb5,_0x2aab80),_0x351a38={};_0x351a38[_0x240f35(0xe9)]=0x2,_0x351a38[_0x240f35(0x1d2)]=0x3,logger[_0x240f35(0x1f5)](_0x240f35(0xfa)+util[_0x240f35(0xf3)](_0x1aa086,_0x351a38)),_0x54f8fd[_0x240f35(0x224)](_0x1aa086);}else logger[_0x240f35(0x1f5)](_0x240f35(0x249)+_0x3f4b67+_0x240f35(0x17d)+_0x4e8cb5);break;}logger['debug']('[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState='+_0x3f4b67+_0x240f35(0x139)+_0x4e8cb5);}catch(_0x2a750d){logger[_0x240f35(0x107)](_0x240f35(0x1a0)+_0x3f4b67+_0x240f35(0x139)+_0x4e8cb5+_0x240f35(0x181)+util[_0x240f35(0x173)](_0x2a750d));}_0x2aab80['instance']=_0x54f8fd,await this[_0x240f35(0x1fb)](_0x54f8fd,_0x3f4b67,_0x4e8cb5,_0x2aab80);}['getJestTestIdentifier'](_0xac5825){const _0x5ef1c9=a75_0x3418e6,_0x13aa27={};_0x13aa27[_0x5ef1c9(0xf8)]=_0x5ef1c9(0x164);const _0x34d8dd=_0x13aa27;if(_0xac5825&&(_0xac5825['id']||_0xac5825[_0x5ef1c9(0x237)])){const _0x4a2304=_0xac5825['id']||_0xac5825[_0x5ef1c9(0x237)];return logger[_0x5ef1c9(0x1f5)](_0x5ef1c9(0xee)+_0x4a2304+_0x5ef1c9(0x251)),_0x4a2304;}return logger[_0x5ef1c9(0x1f5)](_0x34d8dd[_0x5ef1c9(0xf8)]),process[_0x5ef1c9(0xf7)]+_0x5ef1c9(0x240);}[a75_0x3418e6(0x1ad)](_0x103da1,_0x51632a,_0x22ed83={}){const _0x4f4c43=a75_0x3418e6;let _0x1fabde=null;return _0x1fabde=TestFramework[_0x4f4c43(0x1aa)](),!_0x1fabde?(logger[_0x4f4c43(0x1f5)](_0x4f4c43(0x23e)+_0x103da1),this[_0x4f4c43(0x219)](_0x103da1,_0x22ed83),_0x1fabde=TestFramework[_0x4f4c43(0x1aa)](),logger[_0x4f4c43(0x1f5)](_0x4f4c43(0x12f)+!!_0x1fabde+_0x4f4c43(0x12b)+_0x1fabde?.[_0x4f4c43(0x270)]()?.['getId']())):logger[_0x4f4c43(0x1f5)](_0x4f4c43(0x1b5)+_0x1fabde['getContext']()?.['getId']()),_0x1fabde;}[a75_0x3418e6(0x219)](_0x5978f2,_0x4ded1d){const _0x5bf229=a75_0x3418e6,_0x3753d0={};_0x3753d0['hHHYa']='trackJestInstance:\x20instance\x20already\x20exists';const _0x155d16=_0x3753d0;if(TestFramework['getTrackedInstance']()){logger[_0x5bf229(0x1f5)](_0x155d16[_0x5bf229(0xfd)]);return;}const _0x5760aa=CLIUtils[_0x5bf229(0x1be)](),_0x207229=TrackedInstance['createContext'](_0x5760aa);let _0x5a562d=null;logger[_0x5bf229(0x1f5)](_0x5bf229(0x115)+_0x5760aa+',\x20state='+_0x5978f2),_0x5a562d=new TestFrameworkInstance(_0x207229,this[_0x5bf229(0x126)](),this['getTestFrameworksVersions'](),_0x5978f2,HookState[_0x5bf229(0x1a1)]),TestFramework['setTrackedInstance'](_0x207229,_0x5a562d),logger['debug'](_0x5bf229(0x232)+_0x207229['getId']()+_0x5bf229(0x118)+_0x5760aa+_0x5bf229(0x21a)+this[_0x5bf229(0x126)]()[0x0]+_0x5bf229(0x23b)+this[_0x5bf229(0x154)]()[this[_0x5bf229(0x126)]()[0x0]]);}[a75_0x3418e6(0x147)](_0x7d6576){const _0x54c9b1=a75_0x3418e6,_0x164ff2={};_0x164ff2[_0x54c9b1(0x170)]=function(_0x5683b9,_0x28f1e9){return _0x5683b9||_0x28f1e9;},_0x164ff2[_0x54c9b1(0xe5)]=_0x54c9b1(0xf2);const _0x16953c=_0x164ff2,{testUUID:_0x2b097d,testData:_0x289e64,testId:_0x58510e}=_0x7d6576;if(_0x16953c[_0x54c9b1(0x170)](!_0x289e64,!_0x58510e))return logger[_0x54c9b1(0x1f5)](_0x16953c[_0x54c9b1(0xe5)]),{};const _0x241194=this[_0x54c9b1(0x126)]()[0x0],_0x57ffb2=this[_0x54c9b1(0x154)](),_0x2affd7={};_0x2affd7[_0x54c9b1(0xe9)]=0x2,_0x2affd7[_0x54c9b1(0x1d2)]=0x3,logger[_0x54c9b1(0x1f5)]('[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20'+util[_0x54c9b1(0xf3)](_0x289e64,_0x2affd7));const _0x46129e=_0x289e64?.[_0x54c9b1(0x11f)]||[],_0x42282c=this[_0x54c9b1(0x103)](_0x289e64),_0x2dc416=this[_0x54c9b1(0x208)](_0x289e64),_0x252b10=_0x289e64['fn']?_0x289e64['fn'][_0x54c9b1(0x1e6)]():_0x289e64?.[_0x54c9b1(0x140)]?_0x289e64['body'][_0x54c9b1(0x156)][_0x54c9b1(0x1e6)]():null,_0xcb36f8=this['getJestTestTags'](_0x289e64),_0x454e88={[TestFrameworkConstants[_0x54c9b1(0xe8)]]:_0x241194,[TestFrameworkConstants[_0x54c9b1(0x14d)]]:_0x57ffb2[_0x241194],[TestFrameworkConstants[_0x54c9b1(0x23f)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x54c9b1(0x231)],[TestFrameworkConstants[_0x54c9b1(0x22e)]]:_0x42282c,[TestFrameworkConstants[_0x54c9b1(0x202)]]:_0x2dc416,[TestFrameworkConstants[_0x54c9b1(0x178)]]:_0x58510e,[TestFrameworkConstants[_0x54c9b1(0x16e)]]:_0x42282c,[TestFrameworkConstants[_0x54c9b1(0x1a3)]]:_0x2dc416,[TestFrameworkConstants[_0x54c9b1(0x192)]]:_0x252b10,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0xcb36f8,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x289e64[_0x54c9b1(0x266)]||new Date()[_0x54c9b1(0x25d)](),[TestFrameworkConstants[_0x54c9b1(0x136)]]:_0x46129e[0x0]||'',[TestFrameworkConstants[_0x54c9b1(0x138)]]:_0x46129e,[TestFrameworkConstants[_0x54c9b1(0x25e)]]:_0x42282c,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x54c9b1(0x204)]]:{}};_0x289e64[_0x54c9b1(0x210)]&&(_0x454e88[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x289e64[_0x54c9b1(0x210)]);logger[_0x54c9b1(0x1f5)]('[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName='+_0x42282c+_0x54c9b1(0x206)+_0x58510e+_0x54c9b1(0x239)+JSON[_0x54c9b1(0x20c)](_0xcb36f8)+_0x54c9b1(0x1cc)+util[_0x54c9b1(0xf3)](_0x46129e)+_0x54c9b1(0x143)+_0x2dc416);const _0x1d3f91={};return _0x1d3f91[_0x58510e]=_0x454e88,_0x1d3f91;}[a75_0x3418e6(0x15e)](_0x4170e4){const _0x3c1a97=a75_0x3418e6,_0x93d9b2={'UzVxj':function(_0x44d6ed,_0x486110){return _0x44d6ed===_0x486110;},'nFkOp':_0x3c1a97(0x174),'CTodj':function(_0x5e35bc,_0x5bccc8){return _0x5e35bc===_0x5bccc8;},'dJMMB':'beforeAll','rmRBP':_0x3c1a97(0x19b),'sKrFG':_0x3c1a97(0x100),'vAoaf':function(_0x2dc525,_0x75c05e){return _0x2dc525||_0x75c05e;},'xaSKg':'No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','DDZii':'unknown','YfXJd':function(_0x375060,_0x3ce636){return _0x375060>_0x3ce636;},'lFpEC':_0x3c1a97(0x1bd),'ByIRh':function(_0x3865c6,_0x1ec909){return _0x3865c6===_0x1ec909;},'oULNP':'skip','AsIog':_0x3c1a97(0x20f),'sEyid':'passed','HtFGp':function(_0x317228,_0x27ad22){return _0x317228!==_0x27ad22;},'ygfoW':function(_0x1250b3,_0x6335b1,_0x32fcd0,_0x51dc11){return _0x1250b3(_0x6335b1,_0x32fcd0,_0x51dc11);},'PbPLO':_0x3c1a97(0x1eb),'yLsCm':function(_0x547ada,_0x15d605){return _0x547ada>_0x15d605;}},{testUUID:_0x4c6de6,testData:_0x4fa6b6,testId:_0x2326e8}=_0x4170e4;if(_0x93d9b2['vAoaf'](!_0x4fa6b6,!_0x2326e8))return logger['debug'](_0x93d9b2[_0x3c1a97(0xea)]),{};const _0x23ff85=this[_0x3c1a97(0x1ad)](TestFrameworkState[_0x3c1a97(0x1b3)],HookState[_0x3c1a97(0x233)]),_0x3da028=_0x23ff85[_0x3c1a97(0x1b1)]()[_0x3c1a97(0x10d)](_0x2326e8),_0x2f9b91=_0x93d9b2[_0x3c1a97(0x171)](_0x3da028,{}),_0x34b98c=_0x2f9b91?_0x2f9b91[TestFrameworkConstants[_0x3c1a97(0x1a8)]]||{}:{},_0x2ee094=_0x2f9b91[TestFrameworkConstants[_0x3c1a97(0x20e)]];logger[_0x3c1a97(0x1f5)](_0x3c1a97(0x15f)+(_0x2ee094?Object[_0x3c1a97(0x220)](_0x2ee094)[_0x3c1a97(0x253)]:0x0)+_0x3c1a97(0x1bf));let _0x495631=_0x93d9b2[_0x3c1a97(0x113)];if(_0x4fa6b6[_0x3c1a97(0x1d9)])_0x495631=_0x4fa6b6[_0x3c1a97(0x1d9)];else{if(_0x4fa6b6['errorsDetailed']&&_0x93d9b2[_0x3c1a97(0x212)](_0x4fa6b6[_0x3c1a97(0x109)][_0x3c1a97(0x253)],0x0))_0x495631=_0x93d9b2[_0x3c1a97(0x1ff)];else _0x93d9b2[_0x3c1a97(0x258)](_0x4fa6b6[_0x3c1a97(0x1d1)],_0x93d9b2['oULNP'])||_0x93d9b2[_0x3c1a97(0x258)](_0x4fa6b6[_0x3c1a97(0x1d1)],_0x93d9b2['AsIog'])?_0x495631=_0x93d9b2[_0x3c1a97(0x1fc)]:_0x495631=_0x93d9b2[_0x3c1a97(0x1a2)];}const _0x4afab3={..._0x2f9b91,[TestFrameworkConstants[_0x3c1a97(0x18c)]]:_0x495631,[TestFrameworkConstants[_0x3c1a97(0x260)]]:_0x4fa6b6[_0x3c1a97(0x225)]||new Date()[_0x3c1a97(0x25d)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x3c1a97(0x25d)](),[TestFrameworkConstants[_0x3c1a97(0x1a8)]]:_0x34b98c,[TestFrameworkConstants[_0x3c1a97(0xe7)]]:_0x2f9b91[TestFrameworkConstants['KEY_LOGS']]||[],[TestFrameworkConstants[_0x3c1a97(0x204)]]:{}};if(_0x93d9b2[_0x3c1a97(0x21f)](_0x495631,_0x93d9b2[_0x3c1a97(0x1ff)])&&_0x4fa6b6['errorsDetailed']){const _0x2940a3=this['getJestFailureReason'](_0x4fa6b6),_0x1b988d=this[_0x3c1a97(0x268)](_0x4fa6b6),_0x2fd5c3=this['getJestFailureData'](_0x4fa6b6);_0x4afab3[TestFrameworkConstants[_0x3c1a97(0x122)]]=_0x1b988d,_0x4afab3[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]=_0x2940a3,_0x4afab3[TestFrameworkConstants[_0x3c1a97(0x22b)]]=_0x2fd5c3;}_0x93d9b2[_0x3c1a97(0x226)](_0x4fa6b6[_0x3c1a97(0x10f)],undefined)&&(_0x4afab3[TestFrameworkConstants[_0x3c1a97(0x241)]]=_0x4fa6b6[_0x3c1a97(0x10f)]);_0x4fa6b6[_0x3c1a97(0x210)]&&(_0x4afab3[TestFrameworkConstants[_0x3c1a97(0x1fd)]]=_0x4fa6b6[_0x3c1a97(0x210)]);const _0x1b56de=_0x3da028?_0x3da028[TestFrameworkConstants[_0x3c1a97(0x20e)]]||{}:{},_0x42b109=_0x3da028?_0x3da028[TestFrameworkConstants[_0x3c1a97(0x18d)]]:_0x4c6de6,_0x10870a=_0x93d9b2['ygfoW'](getManualUploadLogs,_0x1b56de,_0x42b109,_0x2326e8);if(_0x93d9b2['YfXJd'](_0x10870a[_0x3c1a97(0x253)],0x0)){const _0x4b3441=_0x4afab3[TestFrameworkConstants[_0x3c1a97(0xe7)]]||[];_0x4afab3[TestFrameworkConstants[_0x3c1a97(0xe7)]]=[..._0x4b3441,..._0x10870a];}const _0x4ab87c=_0x2f9b91[TestFrameworkConstants[_0x3c1a97(0x1b2)]]||{},_0x2da6cd=_0x2f9b91[TestFrameworkConstants['KEY_HOOKS_STARTED']]||{},_0x3d080d={..._0x4ab87c},_0x386a98=_0x3d080d;Object[_0x3c1a97(0x220)](_0x2da6cd)[_0x3c1a97(0x1f7)](_0x3e7258=>{const _0x56f696=_0x3c1a97;!_0x386a98[_0x3e7258]&&(_0x386a98[_0x3e7258]=[]);const _0xd265e1=new Set((_0x386a98[_0x3e7258]||[])['map'](_0x3bd836=>_0x3bd836[TestFrameworkConstants[_0x56f696(0x197)]]||_0x3bd836['hook_id']));(_0x2da6cd[_0x3e7258]||[])['forEach'](_0x18c031=>{const _0x55f0cb=_0x56f696,_0x4c1dab=_0x18c031[TestFrameworkConstants[_0x55f0cb(0x197)]]||_0x18c031[_0x55f0cb(0x10a)];if(!_0xd265e1[_0x55f0cb(0x25b)](_0x4c1dab)){const _0x45cbf9={..._0x18c031},_0x410582=_0x45cbf9;!_0x410582[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]&&!_0x410582[_0x55f0cb(0x227)]&&(_0x410582[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=new Date()[_0x55f0cb(0x25d)]()),!_0x410582[TestFrameworkConstants['KEY_HOOK_RESULT']]&&!_0x410582[_0x55f0cb(0x217)]&&(_0x410582[TestFrameworkConstants['KEY_HOOK_RESULT']]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x386a98[_0x3e7258]['push'](_0x410582);}});});if(_0x4170e4[_0x3c1a97(0x1ea)]){this['mapTestHooks'](_0x4170e4[_0x3c1a97(0x1ea)]);const _0x263bc6=this[_0x3c1a97(0x252)](_0x4170e4[_0x3c1a97(0x1ea)]),_0x1a8c04=this[_0x3c1a97(0x1a7)](_0x4170e4[_0x3c1a97(0x1ea)]);_0x1a8c04['forEach'](_0x5957ef=>{const _0x1c19e6=_0x3c1a97,_0x524a2c=_0x263bc6[_0x1c19e6(0x10d)](_0x5957ef);if(_0x524a2c&&(_0x93d9b2[_0x1c19e6(0x21f)](_0x524a2c[_0x1c19e6(0x134)],_0x93d9b2[_0x1c19e6(0x1c5)])||_0x93d9b2[_0x1c19e6(0x1e9)](_0x524a2c[_0x1c19e6(0x134)],_0x93d9b2[_0x1c19e6(0x1a4)]))){const _0x392f5d=_0x524a2c[_0x1c19e6(0x134)][_0x1c19e6(0x1ac)]()[_0x1c19e6(0x132)](_0x93d9b2[_0x1c19e6(0x114)],_0x93d9b2[_0x1c19e6(0x186)]),_0x16cba8=_0x392f5d;!_0x386a98[_0x16cba8]&&(_0x386a98[_0x16cba8]=[]);const _0x447310=_0x386a98[_0x16cba8][_0x1c19e6(0x1d3)](_0x947e15=>(_0x947e15[TestFrameworkConstants[_0x1c19e6(0x197)]]||_0x947e15[_0x1c19e6(0x10a)])===_0x5957ef);!_0x447310&&_0x386a98[_0x16cba8][_0x1c19e6(0x238)]({'key':_0x16cba8,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x5957ef,[TestFrameworkConstants[_0x1c19e6(0x263)]]:TestFrameworkConstants[_0x1c19e6(0x250)],[TestFrameworkConstants[_0x1c19e6(0x149)]]:new Date()[_0x1c19e6(0x25d)](),[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]:new Date()['toISOString'](),[TestFrameworkConstants[_0x1c19e6(0x10c)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x524a2c['name']||_0x524a2c[_0x1c19e6(0x134)]+_0x1c19e6(0xe0),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x34b98c});}});}if(_0x4fa6b6[_0x3c1a97(0x246)]&&_0x93d9b2[_0x3c1a97(0x212)](_0x4fa6b6[_0x3c1a97(0x246)][_0x3c1a97(0x253)],0x0))_0x4afab3[TestFrameworkConstants[_0x3c1a97(0x1b2)]]=_0x4fa6b6[_0x3c1a97(0x246)],logger[_0x3c1a97(0x1f5)](_0x93d9b2['PbPLO']);else _0x93d9b2[_0x3c1a97(0x221)](Object[_0x3c1a97(0x220)](_0x386a98)['length'],0x0)&&(_0x4afab3[TestFrameworkConstants[_0x3c1a97(0x1b2)]]=_0x386a98,logger[_0x3c1a97(0x1f5)](_0x3c1a97(0x23c)+Object[_0x3c1a97(0x220)](_0x386a98)[_0x3c1a97(0x160)](',')));const _0x12eb30=this[_0x3c1a97(0x103)](_0x4fa6b6);logger[_0x3c1a97(0x1f5)](_0x3c1a97(0x158)+_0x12eb30+_0x3c1a97(0x206)+_0x2326e8+_0x3c1a97(0x167)+_0x495631+',\x20duration='+_0x4fa6b6[_0x3c1a97(0x10f)]);_0x93d9b2[_0x3c1a97(0x258)](_0x495631,_0x93d9b2['lFpEC'])&&logger[_0x3c1a97(0x1f5)]('[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId='+_0x2326e8+_0x3c1a97(0x17a)+_0x4afab3[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]+',\x20failureReason='+_0x4afab3[TestFrameworkConstants[_0x3c1a97(0xe2)]]?.['substring'](0x0,0xc8));const _0x205842={};return _0x205842[_0x2326e8]=_0x4afab3,_0x205842;}[a75_0x3418e6(0x15b)](_0x72041c){const _0x5c2da2=a75_0x3418e6,_0x283cbe={};_0x283cbe['EqpXU']=function(_0x416122,_0x3c03c9){return _0x416122!==_0x3c03c9;},_0x283cbe[_0x5c2da2(0x1cf)]='ROOT_DESCRIBE_BLOCK';const _0x301a80=_0x283cbe,_0x455ee8={};_0x455ee8[_0x5c2da2(0xe9)]=0x2,_0x455ee8[_0x5c2da2(0x1d2)]=0x3,logger[_0x5c2da2(0x1f5)](_0x5c2da2(0x234)+util[_0x5c2da2(0xf3)](_0x72041c,_0x455ee8));const _0x469983=[];if(_0x72041c&&_0x72041c[_0x5c2da2(0x137)]){let _0xf64ee6=_0x72041c['parent'];while(_0xf64ee6&&_0xf64ee6[_0x5c2da2(0x1fa)]&&_0x301a80[_0x5c2da2(0x213)](_0xf64ee6[_0x5c2da2(0x1fa)],'')&&_0x301a80[_0x5c2da2(0x213)](_0xf64ee6[_0x5c2da2(0x1fa)],_0x301a80[_0x5c2da2(0x1cf)])){_0x469983[_0x5c2da2(0x238)](_0xf64ee6[_0x5c2da2(0x1fa)]),_0xf64ee6=_0xf64ee6[_0x5c2da2(0x137)];}}return _0x469983[_0x5c2da2(0x168)]();}['getJestTestName'](_0x5303c5){const _0x3e7d6b=a75_0x3418e6,_0x4596e8={};_0x4596e8[_0x3e7d6b(0x185)]=_0x3e7d6b(0x1a5);const _0x1ffee9=_0x4596e8;if(_0x5303c5[_0x3e7d6b(0x1fa)])return _0x5303c5[_0x3e7d6b(0x1fa)];if(_0x5303c5[_0x3e7d6b(0x1d5)])return _0x5303c5[_0x3e7d6b(0x1d5)];return _0x1ffee9[_0x3e7d6b(0x185)];}[a75_0x3418e6(0x218)](_0x522466){const _0xf6ad2=a75_0x3418e6,_0x20416c=[];if(_0x522466[_0xf6ad2(0x13c)]&&Array['isArray'](_0x522466[_0xf6ad2(0x13c)]))return _0x522466['tags'][_0xf6ad2(0x129)](_0x13b888=>_0x13b888[_0xf6ad2(0x209)]('@')?_0x13b888['substr'](0x1):_0x13b888);const _0x4e89f8=this[_0xf6ad2(0x103)](_0x522466),_0x4a7267=_0x4e89f8[_0xf6ad2(0x184)](/@(\w+)/g);if(_0x4a7267)return _0x4a7267[_0xf6ad2(0x129)](_0x440024=>_0x440024[_0xf6ad2(0x135)](0x1));return _0x522466[_0xf6ad2(0x11f)]&&Array[_0xf6ad2(0x11b)](_0x522466['scopes'])&&_0x522466[_0xf6ad2(0x11f)][_0xf6ad2(0x1f7)](_0x3f19fd=>{const _0x57cc7f=_0xf6ad2,_0x32f10b=_0x3f19fd['match'](/@(\w+)/g);_0x32f10b&&_0x32f10b[_0x57cc7f(0x1f7)](_0x9fb16f=>{const _0x4f5a2d=_0x57cc7f,_0x4a315a=_0x9fb16f[_0x4f5a2d(0x135)](0x1);!_0x20416c[_0x4f5a2d(0x1b7)](_0x4a315a)&&_0x20416c[_0x4f5a2d(0x238)](_0x4a315a);});}),_0x20416c;}['getJestTestFilePath'](_0x2e80d5){const _0x482fda=a75_0x3418e6,_0x42f410={'wawyH':function(_0x111ee8,_0x4b0990){return _0x111ee8(_0x4b0990);},'EtZxu':'stack-trace'};if(_0x2e80d5[_0x482fda(0x13e)])return _0x2e80d5[_0x482fda(0x13e)];if(_0x2e80d5[_0x482fda(0x23a)]){const _0x45b690=_0x42f410['wawyH'](require,_0x42f410['EtZxu']);try{const _0x2cf703=_0x45b690['parse'](_0x2e80d5[_0x482fda(0x23a)]);if(_0x2cf703[0x0]&&_0x2cf703[0x0][_0x482fda(0xf4)])return _0x2cf703[0x0][_0x482fda(0xf4)]();}catch(_0x4b1047){logger['debug'](_0x482fda(0xeb)+util['format'](_0x4b1047));}}return null;}['getJestFailureReason'](_0x399dd1){const _0x40ca04=a75_0x3418e6,_0x8a1707={};_0x8a1707[_0x40ca04(0x12c)]=function(_0x225d5e,_0x1d73f2){return _0x225d5e>_0x1d73f2;},_0x8a1707['TNJak']=_0x40ca04(0x1e7);const _0x5ac898=_0x8a1707;if(_0x399dd1[_0x40ca04(0x109)]&&_0x5ac898[_0x40ca04(0x12c)](_0x399dd1[_0x40ca04(0x109)][_0x40ca04(0x253)],0x0))return util[_0x40ca04(0xf3)](_0x399dd1[_0x40ca04(0x109)][0x0]);if(_0x399dd1[_0x40ca04(0x146)])return _0x399dd1[_0x40ca04(0x146)];return _0x5ac898[_0x40ca04(0x183)];}['getJestFailureType'](_0x51327f){const _0x1bb91e=a75_0x3418e6,_0x4d060f={};_0x4d060f[_0x1bb91e(0xf1)]=_0x1bb91e(0x1cb),_0x4d060f[_0x1bb91e(0x1c8)]='AssertionError',_0x4d060f['cZMzn']=_0x1bb91e(0x153);const _0xcef091=_0x4d060f,_0x59aeae=this[_0x1bb91e(0xdf)](_0x51327f);if(_0x59aeae&&_0x59aeae[_0x1bb91e(0x1b7)](_0xcef091[_0x1bb91e(0xf1)]))return _0xcef091[_0x1bb91e(0x1c8)];return _0xcef091[_0x1bb91e(0x130)];}['getJestFailureData'](_0x45bacc){const _0x3c309d=a75_0x3418e6,_0x707ff7={'iJQRb':function(_0x320a2d,_0x2bfb47){return _0x320a2d(_0x2bfb47);},'gMnca':'../../../helpers/test-observability/utils','CCjSG':function(_0x5f2acf,_0x4eaed4){return _0x5f2acf!==_0x4eaed4;},'rXrhQ':'test'},{failureData:_0x37bf9a}=_0x707ff7[_0x3c309d(0x1c9)](require,_0x707ff7[_0x3c309d(0x196)]),_0x380d5f=[];return _0x707ff7[_0x3c309d(0xe4)](_0x45bacc[_0x3c309d(0x109)],undefined)&&_0x380d5f['push'](_0x45bacc[_0x3c309d(0x109)],_0x707ff7[_0x3c309d(0x131)]),_0x37bf9a[_0x3c309d(0x1e0)](null,_0x380d5f);}async['trackHookEvent'](_0x4e40d8,_0x566823,_0x4933ee,_0x3f706c){const _0x256b8e=a75_0x3418e6,_0x55dae9={'cVvvP':_0x256b8e(0x26e),'FUjWb':function(_0x3d2144){return _0x3d2144();},'rtICa':function(_0xe71034,_0x55f3ca){return _0xe71034 in _0x55f3ca;},'EPftp':function(_0x41f12e,_0x5783b2){return _0x41f12e in _0x5783b2;},'OtlPY':function(_0x409dcf,_0x56e029){return _0x409dcf===_0x56e029;},'ajoRg':function(_0x482929,_0xfbe91e){return _0x482929>_0xfbe91e;},'sAMyE':_0x256b8e(0x1bd),'UOtqg':_0x256b8e(0x11d),'WqGgZ':_0x256b8e(0x145),'qrNkd':function(_0x89e4ce,_0x256e35){return _0x89e4ce===_0x256e35;},'EnFIx':function(_0x3bbe27,_0x2b1963){return _0x3bbe27!==_0x2b1963;}},{hookData:_0x158b47}=_0x3f706c,_0x1b4358=_0x4933ee[_0x256b8e(0x1e6)](),_0x37ed04=_0x566823[_0x256b8e(0x1e6)](),_0x40599c={};_0x40599c[_0x256b8e(0xe9)]=0x2,_0x40599c[_0x256b8e(0x1d2)]=0x3,logger[_0x256b8e(0x1f5)](_0x256b8e(0x26b)+_0x37ed04+_0x256b8e(0x139)+_0x1b4358+',\x20hookData='+util[_0x256b8e(0xf3)](_0x158b47,_0x40599c));if(!_0x158b47)return logger['debug'](_0x55dae9[_0x256b8e(0x13f)]),{};const _0x38eeb5=_0x158b47[_0x256b8e(0x237)]||_0x158b47[_0x256b8e(0x13d)]||_0x55dae9['FUjWb'](uuidv4),_0x236a60=_0x158b47[_0x256b8e(0x14b)]||this[_0x256b8e(0x176)](_0x158b47),_0x10987a=_0x566823[_0x256b8e(0x1e6)]()['split']('.')[0x1],_0x4f32e3=_0x4e40d8[_0x256b8e(0x1b1)]()[_0x256b8e(0x10d)](_0x236a60),_0x1a5ad5=_0x4f32e3?_0x4f32e3[TestFrameworkConstants[_0x256b8e(0x1a8)]]||{}:{};logger[_0x256b8e(0x1f5)]('[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId='+_0x38eeb5+_0x256b8e(0x206)+_0x236a60+_0x256b8e(0x157)+_0x10987a+_0x256b8e(0x139)+_0x1b4358);if(!_0x4f32e3)return logger[_0x256b8e(0x1f5)](_0x256b8e(0x133)+_0x236a60+',\x20storing\x20as\x20pending\x20hook'),this['storePendingHook'](_0x4e40d8,_0x236a60,_0x566823,_0x4933ee,_0x3f706c),{};let _0x23d1e9=_0x4f32e3[TestFrameworkConstants[_0x256b8e(0x248)]];!_0x23d1e9&&(_0x23d1e9={});!_0x55dae9[_0x256b8e(0x1ab)](_0x10987a,_0x23d1e9)&&(_0x23d1e9[_0x10987a]=[]);let _0x141e65=_0x4f32e3[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x141e65&&(_0x141e65={});!_0x55dae9[_0x256b8e(0x199)](_0x10987a,_0x141e65)&&(_0x141e65[_0x10987a]=[]);const _0x39ba6b={[_0x236a60]:{[TestFrameworkConstants[_0x256b8e(0x248)]]:_0x23d1e9,[TestFrameworkConstants[_0x256b8e(0x1b2)]]:_0x141e65,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x256b8e(0x126)]()[0x0]||'',[TestFrameworkConstants[_0x256b8e(0x14d)]]:this[_0x256b8e(0x154)]()[this[_0x256b8e(0x126)]()[0x0]]||''}};if(_0x55dae9[_0x256b8e(0x18b)](_0x4933ee,HookState[_0x256b8e(0x265)])){const _0x4fc127={'key':_0x10987a,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x38eeb5,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x256b8e(0x250)],[TestFrameworkConstants[_0x256b8e(0x149)]]:_0x158b47['started_at']||new Date()[_0x256b8e(0x25d)](),[TestFrameworkConstants[_0x256b8e(0x10c)]]:[],[TestFrameworkConstants[_0x256b8e(0x23d)]]:_0x158b47['name']||_0x158b47['hook_type']||_0x10987a,[TestFrameworkConstants[_0x256b8e(0x1a8)]]:_0x1a5ad5};_0x23d1e9[_0x10987a][_0x256b8e(0x238)](_0x4fc127),_0x39ba6b[_0x236a60][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x10987a;const _0x249bfd={};_0x249bfd['depth']=0x2,logger[_0x256b8e(0x1f5)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType='+_0x10987a+_0x256b8e(0xfc)+_0x38eeb5+_0x256b8e(0x206)+_0x236a60+_0x256b8e(0x1c0)+util[_0x256b8e(0xf3)](_0x4fc127,_0x249bfd));}else{if(_0x55dae9[_0x256b8e(0x18b)](_0x4933ee,HookState[_0x256b8e(0x233)])){const _0x380abe=_0x158b47[_0x256b8e(0x1d9)]||(_0x158b47[_0x256b8e(0x109)]&&_0x55dae9[_0x256b8e(0x17b)](_0x158b47[_0x256b8e(0x109)][_0x256b8e(0x253)],0x0)?_0x55dae9[_0x256b8e(0x161)]:_0x55dae9['UOtqg']),_0x2974f1=_0x23d1e9[_0x10987a]||[];logger[_0x256b8e(0x1f5)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType='+_0x10987a+_0x256b8e(0x206)+_0x236a60+',\x20result='+_0x380abe+_0x256b8e(0x19c)+_0x2974f1[_0x256b8e(0x253)]);if(_0x55dae9[_0x256b8e(0x18b)](_0x2974f1[_0x256b8e(0x253)],0x0)&&_0x55dae9['OtlPY'](_0x566823,TestFrameworkState[_0x256b8e(0x162)]))return logger[_0x256b8e(0x1f5)](_0x55dae9['WqGgZ']),this[_0x256b8e(0x19d)](_0x4e40d8,_0x236a60,_0x566823,_0x4933ee,_0x3f706c),{};if(_0x55dae9['ajoRg'](_0x2974f1[_0x256b8e(0x253)],0x0)){const _0x2a3159=_0x2974f1[_0x256b8e(0x1e8)]();_0x55dae9['qrNkd'](_0x380abe,_0x55dae9['sAMyE'])&&_0x158b47[_0x256b8e(0x109)]?(_0x2a3159[TestFrameworkConstants[_0x256b8e(0x14f)]]=this[_0x256b8e(0x268)](_0x158b47),_0x2a3159[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=this['getJestFailureReason'](_0x158b47),_0x2a3159[TestFrameworkConstants[_0x256b8e(0x1d4)]]=this[_0x256b8e(0x24d)](_0x158b47),logger[_0x256b8e(0x1f5)](_0x256b8e(0x144)+_0x10987a+',\x20failureType='+_0x2a3159[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]+_0x256b8e(0x1ee)+_0x2a3159[TestFrameworkConstants[_0x256b8e(0x102)]]?.[_0x256b8e(0x24b)](0x0,0xc8))):_0x2a3159[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x55dae9[_0x256b8e(0x148)];_0x55dae9[_0x256b8e(0x19f)](_0x380abe,TestFrameworkConstants[_0x256b8e(0x250)])&&(_0x2a3159[TestFrameworkConstants[_0x256b8e(0x263)]]=_0x380abe);_0x2a3159[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x158b47[_0x256b8e(0x225)]||new Date()['toISOString'](),_0x2a3159[TestFrameworkConstants[_0x256b8e(0x1a8)]]=_0x1a5ad5;const _0x3d7fb6=_0x2a3159[TestFrameworkConstants[_0x256b8e(0x197)]];!_0x141e65[_0x10987a]&&(_0x141e65[_0x10987a]=[]);_0x141e65[_0x10987a]['push'](_0x2a3159),_0x39ba6b[_0x236a60][TestFrameworkConstants[_0x256b8e(0x151)]]=_0x10987a;const _0x430572={};_0x430572[_0x256b8e(0xe9)]=0x2,logger[_0x256b8e(0x1f5)](_0x256b8e(0x1f8)+_0x10987a+_0x256b8e(0xfc)+_0x3d7fb6+',\x20result='+_0x380abe+',\x20hook='+util[_0x256b8e(0xf3)](_0x2a3159,_0x430572));}}}return _0x39ba6b;}[a75_0x3418e6(0xff)](_0x3d8da2){const _0x2fd6fc=a75_0x3418e6,_0x101d1f={};_0x101d1f['HYShk']=_0x2fd6fc(0x19a);const _0x233b3a=_0x101d1f;try{const _0x23f3ef=_0x3d8da2[_0x2fd6fc(0x1c1)]?this[_0x2fd6fc(0x176)](_0x3d8da2[_0x2fd6fc(0x1c1)]):_0x3d8da2[_0x2fd6fc(0x179)][_0x2fd6fc(0x14b)],_0x13b595=_0x3d8da2['instance'],_0x279768=_0x13b595['getContext'](),_0x453ae2=_0x13b595['getAllData']()[_0x2fd6fc(0x10d)](_0x23f3ef);if(!_0x453ae2)return logger['debug'](_0x2fd6fc(0x261)+_0x23f3ef),{};const {[TestFrameworkConstants[_0x2fd6fc(0xe8)]]:_0x3cfb70=this[_0x2fd6fc(0x126)]()[0x0]||'',[TestFrameworkConstants[_0x2fd6fc(0x14d)]]:_0x35fb02=this[_0x2fd6fc(0x154)]()[this[_0x2fd6fc(0x126)]()[0x0]]||'',[TestFrameworkConstants[_0x2fd6fc(0x1ba)]]:_0x44b4d4='',[TestFrameworkConstants[_0x2fd6fc(0x260)]]:_0x56cc0a=''}=_0x453ae2,_0x50ed89=_0x13b595[_0x2fd6fc(0x15c)]()[_0x2fd6fc(0x1e6)]()['split']('.')[0x1],_0x3d05cb=_0x13b595[_0x2fd6fc(0x24f)]()[_0x2fd6fc(0x1e6)]()[_0x2fd6fc(0x207)]('.')[0x1],_0x32a795=global?.[_0x2fd6fc(0x11a)]?.['workerInfo']?.[_0x2fd6fc(0x1b8)]||global[_0x2fd6fc(0x18f)]||0x0,_0x3f83bb=_0x13b595[_0x2fd6fc(0x1ef)](),_0x230425=Buffer[_0x2fd6fc(0xfe)](JSON[_0x2fd6fc(0x20c)](_0x453ae2))[_0x2fd6fc(0x1e6)](_0x233b3a[_0x2fd6fc(0x15a)]),_0x456a91={'hash':_0x279768['getId'](),'threadId':_0x279768[_0x2fd6fc(0x1d0)]()[_0x2fd6fc(0x1e6)](),'processId':_0x279768[_0x2fd6fc(0x12d)]()['toString']()},_0x219c07={};_0x219c07['platformIndex']=_0x32a795,_0x219c07[_0x2fd6fc(0x159)]=_0x3cfb70,_0x219c07[_0x2fd6fc(0x120)]=_0x35fb02,_0x219c07[_0x2fd6fc(0x1ae)]=_0x50ed89,_0x219c07[_0x2fd6fc(0x1b0)]=_0x3d05cb,_0x219c07[_0x2fd6fc(0x20b)]=_0x44b4d4,_0x219c07[_0x2fd6fc(0x215)]=_0x56cc0a,_0x219c07[_0x2fd6fc(0x237)]=_0x3f83bb,_0x219c07['eventJson']=_0x230425,_0x219c07[_0x2fd6fc(0x191)]=_0x456a91,_0x219c07[_0x2fd6fc(0x259)]=_0x23f3ef;const _0x5678f0=_0x219c07;return _0x5678f0;}catch(_0x462abc){return logger['error']('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x2fd6fc(0x173)](_0x462abc)),{};}}async['sendLogCreatedEvent'](_0x3559e2,_0xd1d98e,_0x1d0034){const _0x3d12bb=a75_0x3418e6,_0x171e41={'jBXhw':function(_0x28057c,_0x39056f){return _0x28057c+_0x39056f;},'DwEoc':'missing','VhNxr':'none','SErno':function(_0x4f9f2c,_0x4b4806){return _0x4f9f2c>_0x4b4806;},'ijFko':function(_0x62ad28,_0x494cb0,_0x1a1698,_0x515005){return _0x62ad28(_0x494cb0,_0x1a1698,_0x515005);},'GBJPI':function(_0x1883eb,_0x63e1b3){return _0x1883eb-_0x63e1b3;},'UiYSQ':function(_0x37269c,_0x27e2f3){return _0x37269c===_0x27e2f3;},'obfpE':function(_0x2ad287,_0x3fa86d){return _0x2ad287/_0x3fa86d;},'CKexM':function(_0x21e2f6,_0xea26dd){return _0x21e2f6<_0xea26dd;},'sHQon':function(_0x429ba1,_0x4ae44d){return _0x429ba1*_0x4ae44d;},'FTTEz':function(_0x41208f,_0x5e47c8){return _0x41208f+_0x5e47c8;},'yRuWB':function(_0x15bf3d,_0x3de498){return _0x15bf3d>_0x3de498;}};try{const _0x5e45c8=_0x1d0034[_0x3d12bb(0x1da)]||_0x1d0034[_0x3d12bb(0x1fe)],_0x297b08=Array['from'](_0x3559e2['getAllData']()[_0x3d12bb(0x220)]()),_0x17c99d=_0x3559e2[_0x3d12bb(0x1b1)]()[_0x3d12bb(0x10d)](_0x5e45c8);if(!_0x17c99d){logger[_0x3d12bb(0x1f5)](_0x3d12bb(0x1e3)+_0x5e45c8);return;}const {[TestFrameworkConstants[_0x3d12bb(0xe8)]]:_0x35689f='',[TestFrameworkConstants[_0x3d12bb(0x14d)]]:_0x501bc8=''}=_0x17c99d;let _0x51156d=[];_0x17c99d&&_0x17c99d[TestFrameworkConstants['KEY_LOGS']]&&Array[_0x3d12bb(0x11b)](_0x17c99d[TestFrameworkConstants[_0x3d12bb(0xe7)]])?(_0x51156d=_0x17c99d[TestFrameworkConstants[_0x3d12bb(0xe7)]]||[],logger[_0x3d12bb(0x1f5)](_0x3d12bb(0x20d)+_0x51156d['length']+_0x3d12bb(0x128)+_0x5e45c8),_0x3559e2[_0x3d12bb(0x224)]({[_0x5e45c8]:{[TestFrameworkConstants[_0x3d12bb(0xe7)]]:[],[TestFrameworkConstants[_0x3d12bb(0xe8)]]:this[_0x3d12bb(0x126)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x3d12bb(0x154)]()[this[_0x3d12bb(0x126)]()[0x0]]||''}}),logger[_0x3d12bb(0x1f5)](_0x3d12bb(0x101)+_0x5e45c8)):logger[_0x3d12bb(0x1f5)](_0x3d12bb(0x211)+_0x5e45c8);logger['debug'](_0x3d12bb(0x150)+_0x51156d['length']+_0x3d12bb(0x1f6)+_0x5e45c8);const _0x1b2a69=_0x51156d[_0x3d12bb(0x229)](_0x286408=>_0x286408[_0x3d12bb(0x16b)]==='TEST_SCREENSHOT');_0x171e41[_0x3d12bb(0x1de)](_0x1b2a69[_0x3d12bb(0x253)],0x0)&&(logger[_0x3d12bb(0x1f5)](_0x3d12bb(0x172)+_0x1b2a69[_0x3d12bb(0x253)]+_0x3d12bb(0x222)+_0x5e45c8),_0x1b2a69[_0x3d12bb(0x1f7)]((_0x2caf0a,_0x20652f)=>{const _0x45ff45=_0x3d12bb;logger['debug'](_0x45ff45(0x175)+_0x171e41[_0x45ff45(0x20a)](_0x20652f,0x1)+'/'+_0x1b2a69['length']+_0x45ff45(0x22c)+(_0x2caf0a[_0x45ff45(0x259)]||_0x171e41[_0x45ff45(0x26f)])+_0x45ff45(0x105)+(_0x2caf0a['test_run_uuid']||_0x171e41[_0x45ff45(0x26f)])+',\x20hook_run_uuid='+(_0x2caf0a[_0x45ff45(0x223)]||_0x171e41[_0x45ff45(0x271)])+_0x45ff45(0x228)+(_0x2caf0a['message']?.[_0x45ff45(0x253)]||0x0));}));const _0x383927=_0x17c99d[TestFrameworkConstants[_0x3d12bb(0x20e)]]||{},_0x55eea2=_0x171e41['ijFko'](getMediaArtifactsLogs,_0x383927,null,_0x5e45c8),_0x32f2df=(_0x51156d||[])[_0x3d12bb(0x112)](_0x55eea2||[]),_0x5360ba=_0x1b2a69?.[_0x3d12bb(0x253)]||0x0,_0x190853=_0x171e41[_0x3d12bb(0x13b)](_0x51156d?.[_0x3d12bb(0x253)]||0x0,_0x5360ba);logger[_0x3d12bb(0x1f5)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20'+_0x5e45c8+_0x3d12bb(0x10e)+_0x190853+_0x3d12bb(0x1f2)+_0x5360ba+_0x3d12bb(0x21d)+(_0x55eea2?.[_0x3d12bb(0x253)]||0x0)+_0x3d12bb(0x110)+_0x32f2df[_0x3d12bb(0x253)]);if(!_0x32f2df||_0x171e41['UiYSQ'](_0x32f2df['length'],0x0)){logger[_0x3d12bb(0x1f5)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20'+_0x5e45c8);return;}const _0x3d8a3c=0x28,_0x1c4d3b=Math[_0x3d12bb(0xf6)](_0x171e41[_0x3d12bb(0xe6)](_0x32f2df[_0x3d12bb(0x253)],_0x3d8a3c));for(let _0x55899f=0x0;_0x171e41[_0x3d12bb(0x25a)](_0x55899f,_0x1c4d3b);_0x55899f++){const _0x8d829d=_0x171e41[_0x3d12bb(0x236)](_0x55899f,_0x3d8a3c),_0x1627db=_0x171e41[_0x3d12bb(0x20a)](_0x8d829d,_0x3d8a3c),_0x4e68b6=_0x32f2df[_0x3d12bb(0x135)](_0x8d829d,_0x1627db),_0x40fc9=global?.[_0x3d12bb(0x262)]??0x0,_0x5cd5a3={'platformIndex':_0x40fc9,'logs':_0x4e68b6,'testFrameworkName':_0x35689f,'testFrameworkVersion':_0x501bc8,'testFrameworkState':_0xd1d98e['toString']()[_0x3d12bb(0x207)]('.')[0x1]},_0x4c05ca={};_0x4c05ca[_0x3d12bb(0xe9)]=0x3,_0x4c05ca['maxArrayLength']=0x5,logger[_0x3d12bb(0x1f5)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x171e41[_0x3d12bb(0x155)](_0x55899f,0x1)+'/'+_0x1c4d3b+_0x3d12bb(0x256)+_0x5e45c8+_0x3d12bb(0x1f9)+_0x4e68b6[_0x3d12bb(0x253)]+_0x3d12bb(0x180)+_0x40fc9+',\x20payload:\x20'+util[_0x3d12bb(0xf3)](_0x5cd5a3,_0x4c05ca));const _0x4b8cfb=await GrpcClient[_0x3d12bb(0x177)]()[_0x3d12bb(0x21e)](_0x5cd5a3);logger[_0x3d12bb(0x1f5)](_0x3d12bb(0x24c)+_0x171e41[_0x3d12bb(0x155)](_0x55899f,0x1)+'/'+_0x1c4d3b+_0x3d12bb(0x256)+_0x5e45c8+_0x3d12bb(0x22d)+util[_0x3d12bb(0xf3)](_0x4b8cfb));}_0x55eea2&&_0x171e41['yRuWB'](_0x55eea2[_0x3d12bb(0x253)],0x0)&&_0x17c99d[TestFrameworkConstants[_0x3d12bb(0x20e)]]&&_0x3559e2[_0x3d12bb(0x224)]({[_0x5e45c8]:{[TestFrameworkConstants[_0x3d12bb(0x20e)]]:{},[TestFrameworkConstants[_0x3d12bb(0xe8)]]:this['getTestFrameworks']()[0x0]||'',[TestFrameworkConstants[_0x3d12bb(0x14d)]]:this['getTestFrameworksVersions']()[this[_0x3d12bb(0x126)]()[0x0]]||''}}),logger[_0x3d12bb(0x1f5)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20'+_0x5e45c8+_0x3d12bb(0x216)+_0x1c4d3b);}catch(_0x197cbe){logger[_0x3d12bb(0x107)](_0x3d12bb(0x201)+(_0x1d0034[_0x3d12bb(0x1da)]||_0x1d0034[_0x3d12bb(0x1fe)])+',\x20error:\x20'+util[_0x3d12bb(0x173)](_0x197cbe));}}['storePendingHook'](_0x59c908,_0x10e0d4,_0x55b087,_0x431300,_0x55691a){const _0xaed767=a75_0x3418e6,_0x2c854b={};_0x2c854b[_0xaed767(0x119)]=function(_0x249efd,_0x1160d5){return _0x249efd===_0x1160d5;},_0x2c854b[_0xaed767(0x1f3)]=_0xaed767(0x193);const _0x126b93=_0x2c854b,{hookData:_0x1a45da}=_0x55691a,_0x552bb8={'testId':_0x10e0d4,'testFrameworkState':_0x55b087,'hookState':_0x431300,'args':_0x55691a,'timestamp':new Date()[_0xaed767(0x25d)]()};if(_0x126b93[_0xaed767(0x119)](_0x55b087,TestFrameworkState[_0xaed767(0x162)])&&_0x1a45da){const _0x166875={};_0x166875[_0xaed767(0x21b)]=_0x1a45da[_0xaed767(0x13e)]||_0x1a45da[_0xaed767(0x141)],_0x166875['scope']=_0x1a45da[_0xaed767(0x243)]||_0x1a45da[_0xaed767(0x11f)]&&_0x1a45da['scopes'][0x0]||'',_0x166875[_0xaed767(0x22a)]=_0x126b93[_0xaed767(0x1f3)],_0x552bb8['hookMetadata']=_0x166875,logger[_0xaed767(0x1f5)](_0xaed767(0x13a)+_0x10e0d4+_0xaed767(0x14c)+_0x552bb8[_0xaed767(0x104)][_0xaed767(0x21b)]+_0xaed767(0x190)+_0x552bb8[_0xaed767(0x104)][_0xaed767(0x243)]);}_0x59c908[_0xaed767(0x165)](_0x10e0d4,_0x552bb8),logger[_0xaed767(0x1f5)](_0xaed767(0x152)+_0x10e0d4+_0xaed767(0x1ce)+_0x55b087+_0xaed767(0x1dc)+_0x431300);}async[a75_0x3418e6(0x214)](_0x27961f,_0x99a754){const _0x191f23=a75_0x3418e6,_0x513ae0={};_0x513ae0[_0x191f23(0x244)]=function(_0x16cee2,_0x5529aa){return _0x16cee2>_0x5529aa;},_0x513ae0[_0x191f23(0x25c)]=function(_0x53bc81,_0x3781ae){return _0x53bc81===_0x3781ae;},_0x513ae0['eLLZU']=function(_0x2c56c4,_0x40fc7a){return _0x2c56c4===_0x40fc7a;},_0x513ae0['WyDFJ']=function(_0x57962b,_0x162def){return _0x57962b===_0x162def;},_0x513ae0[_0x191f23(0xf0)]='[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook';const _0x223384=_0x513ae0;if(_0x27961f[_0x191f23(0x22f)](_0x99a754)){const _0x36c2c6=_0x27961f['getPendingHooks'](_0x99a754);logger[_0x191f23(0x1f5)](_0x191f23(0x24e)+_0x36c2c6[_0x191f23(0x253)]+_0x191f23(0x182)+_0x99a754);for(const _0x8b8222 of _0x36c2c6){try{const _0x29da4f=await this[_0x191f23(0x1bb)](_0x27961f,_0x8b8222[_0x191f23(0x1ae)],_0x8b8222[_0x191f23(0x1b0)],_0x8b8222[_0x191f23(0x124)]);_0x29da4f&&_0x223384['kxKJd'](Object[_0x191f23(0x220)](_0x29da4f)[_0x191f23(0x253)],0x0)&&_0x27961f[_0x191f23(0x224)](_0x29da4f),await this[_0x191f23(0x1fb)](_0x27961f,_0x8b8222['testFrameworkState'],_0x8b8222['hookState'],_0x8b8222[_0x191f23(0x124)]);}catch(_0x3fa0ef){logger[_0x191f23(0x107)]('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x99a754+_0x191f23(0x108)+_0x3fa0ef);}}_0x27961f[_0x191f23(0x254)](_0x99a754),logger[_0x191f23(0x1f5)](_0x191f23(0x1e5)+_0x99a754);}const _0x2fadef=_0x27961f[_0x191f23(0x1b1)]()['get'](_0x99a754);if(_0x2fadef){const _0x4206d0=_0x2fadef[TestFrameworkConstants['KEY_TEST_FILE_PATH']]||_0x2fadef[TestFrameworkConstants[_0x191f23(0x1a3)]],_0x13c04e=_0x2fadef[TestFrameworkConstants[_0x191f23(0x136)]]||_0x2fadef[TestFrameworkConstants['KEY_TEST_SCOPES']]&&_0x2fadef[TestFrameworkConstants[_0x191f23(0x138)]][0x0]||'';logger['debug']('[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20'+_0x4206d0+_0x191f23(0x190)+_0x13c04e);const _0x288feb=_0x27961f[_0x191f23(0xf5)]();for(const _0x54bafd of _0x288feb){if(_0x223384[_0x191f23(0x25c)](_0x54bafd,_0x99a754))continue;if(_0x27961f[_0x191f23(0x22f)](_0x54bafd)){const _0x3ac1d2=_0x27961f[_0x191f23(0x235)](_0x54bafd);for(const _0x1e41f6 of _0x3ac1d2){if(_0x223384[_0x191f23(0x25c)](_0x1e41f6['testFrameworkState'],TestFrameworkState['BEFORE_ALL'])&&_0x1e41f6[_0x191f23(0x104)]){const _0x3443a2=_0x1e41f6[_0x191f23(0x104)][_0x191f23(0x21b)],_0x1c9618=_0x1e41f6['hookMetadata'][_0x191f23(0x243)];if(_0x223384[_0x191f23(0x247)](_0x3443a2,_0x4206d0)&&_0x223384[_0x191f23(0x1d7)](_0x1c9618,_0x13c04e)){logger['debug']('[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20'+_0x54bafd+_0x191f23(0x116)+_0x99a754+_0x191f23(0x14c)+_0x3443a2+_0x191f23(0x190)+_0x1c9618);_0x1e41f6[_0x191f23(0x124)]&&_0x1e41f6['args'][_0x191f23(0x179)]&&(_0x1e41f6['args'][_0x191f23(0x179)][_0x191f23(0x14b)]=_0x99a754,logger[_0x191f23(0x1f5)](_0x191f23(0x1ed)+_0x54bafd+'\x20to\x20'+_0x99a754));try{const _0x1f0d09=await this['trackHookEvent'](_0x27961f,_0x1e41f6[_0x191f23(0x1ae)],_0x1e41f6[_0x191f23(0x1b0)],_0x1e41f6[_0x191f23(0x124)]);_0x1f0d09&&_0x223384['kxKJd'](Object[_0x191f23(0x220)](_0x1f0d09)['length'],0x0)&&_0x27961f['addMultipleEntries'](_0x1f0d09);await this['runHooks'](_0x27961f,_0x1e41f6[_0x191f23(0x1ae)],_0x1e41f6[_0x191f23(0x1b0)],_0x1e41f6['args']);const _0x2f07eb=_0x27961f[_0x191f23(0x235)](_0x54bafd)[_0x191f23(0x229)](_0x4e8ea4=>_0x4e8ea4!==_0x1e41f6);if(_0x223384[_0x191f23(0x25c)](_0x2f07eb['length'],0x0))_0x27961f[_0x191f23(0x254)](_0x54bafd);else{_0x27961f[_0x191f23(0x254)](_0x54bafd);for(const _0x354a70 of _0x2f07eb){_0x27961f[_0x191f23(0x165)](_0x54bafd,_0x354a70);}}logger[_0x191f23(0x1f5)](_0x223384[_0x191f23(0xf0)]);}catch(_0x19591b){logger[_0x191f23(0x107)]('[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20'+_0x99a754+_0x191f23(0x108)+_0x19591b);}}}}}}}}['mapTestHooks'](_0x41df22){const _0x58a72c=a75_0x3418e6,_0x4e8fa7={'cCHbn':function(_0x39f8e1){return _0x39f8e1();}};if(!_0x41df22||!_0x41df22[_0x58a72c(0x137)])return;_0x41df22[_0x58a72c(0x137)][_0x58a72c(0x246)]&&Array['isArray'](_0x41df22[_0x58a72c(0x137)]['hooks'])&&_0x41df22[_0x58a72c(0x137)][_0x58a72c(0x246)][_0x58a72c(0x1f7)](_0x3476d4=>{const _0x2e7103=_0x58a72c;!_0x3476d4['hookAnalyticsId']&&!_0x3476d4[_0x2e7103(0x257)]&&(_0x3476d4['hookAnalyticsId']=_0x4e8fa7[_0x2e7103(0x123)](uuidv4),_0x3476d4[_0x2e7103(0x257)]=_0x3476d4['hookAnalyticsId'],logger[_0x2e7103(0x1f5)](_0x2e7103(0x11e)+_0x3476d4[_0x2e7103(0x134)]+_0x2e7103(0x15d)+_0x3476d4[_0x2e7103(0x13d)]));}),this[_0x58a72c(0x187)](_0x41df22[_0x58a72c(0x137)]);}[a75_0x3418e6(0x1a7)](_0xf6d406){const _0x2b2ea9=a75_0x3418e6,_0x4732e2={'dWGNM':function(_0x1f8f32,_0x4176fc){return _0x1f8f32(_0x4176fc);}};if(!_0xf6d406||!_0xf6d406['parent'])return[];const _0x3614be=[];return _0xf6d406[_0x2b2ea9(0x137)][_0x2b2ea9(0x246)]&&Array['isArray'](_0xf6d406['parent']['hooks'])&&_0xf6d406[_0x2b2ea9(0x137)][_0x2b2ea9(0x246)][_0x2b2ea9(0x1f7)](_0x521609=>{const _0x415bbb=_0x2b2ea9,_0x6aab28=_0x521609['hookAnalyticsId']||_0x521609['hookUUID'];_0x6aab28&&!this[_0x415bbb(0x16f)](_0x521609)&&!_0x4732e2[_0x415bbb(0x267)](isInternalHook,_0x521609['fn'])&&_0x3614be[_0x415bbb(0x238)](_0x6aab28);}),[..._0x3614be,...this['getHooksForTest'](_0xf6d406['parent'])];}[a75_0x3418e6(0x252)](_0x1b9c1b){const _0x4ceaf1=a75_0x3418e6,_0x3bfefd={'hTmow':function(_0x505f68,_0x16baaf){return _0x505f68(_0x16baaf);},'NtSLF':_0x4ceaf1(0x121),'EFnfm':function(_0x3a9ab4,_0x33bfce){return _0x3a9ab4(_0x33bfce);},'pxnjO':function(_0xd77da5,_0xd855d1){return _0xd77da5(_0xd855d1);}},_0x4639f4=new Map(),_0x54cb17=_0x277d39=>{const _0x415544=_0x4ceaf1;if(!_0x277d39||!_0x277d39[_0x415544(0x137)])return;_0x277d39[_0x415544(0x137)][_0x415544(0x246)]&&Array[_0x415544(0x11b)](_0x277d39[_0x415544(0x137)][_0x415544(0x246)])&&_0x277d39[_0x415544(0x137)][_0x415544(0x246)][_0x415544(0x1f7)](_0xd0a899=>{const _0x18cccf=_0x415544,_0x4a4fbc=_0xd0a899[_0x18cccf(0x13d)]||_0xd0a899[_0x18cccf(0x257)];if(_0x4a4fbc&&!this[_0x18cccf(0x16f)](_0xd0a899)&&!_0x3bfefd[_0x18cccf(0x117)](isInternalHook,_0xd0a899['fn'])){const _0x4e4b56={};_0x4e4b56[_0x18cccf(0x134)]=_0xd0a899[_0x18cccf(0x134)]||_0x3bfefd[_0x18cccf(0x1d6)],_0x4e4b56[_0x18cccf(0x1fa)]=_0xd0a899[_0x18cccf(0x1fa)]||'\x22'+_0xd0a899['type']+_0x18cccf(0x1f1),_0x4639f4[_0x18cccf(0x1a6)](_0x4a4fbc,_0x4e4b56);}}),_0x3bfefd[_0x415544(0x1ec)](_0x54cb17,_0x277d39['parent']);};return _0x3bfefd['pxnjO'](_0x54cb17,_0x1b9c1b),_0x4639f4;}[a75_0x3418e6(0x16f)](_0x22db81){const _0x241569=a75_0x3418e6,_0x3b5a98={};_0x3b5a98[_0x241569(0x19e)]=_0x241569(0x10b),_0x3b5a98['xkpMT']=_0x241569(0x127);const _0x2f0520=_0x3b5a98;try{const _0x9d8338=this[_0x241569(0x245)](_0x22db81);return _0x9d8338&&_0x9d8338[_0x241569(0x1b7)](_0x2f0520[_0x241569(0x19e)]);}catch(_0x5d58f8){logger[_0x241569(0x1f5)](_0x2f0520[_0x241569(0x26d)]);}return![];}[a75_0x3418e6(0x245)](_0x3cf159){const _0x187076=a75_0x3418e6;if(_0x3cf159[_0x187076(0x23a)])try{const _0x38c940=stackTrace[_0x187076(0x1af)](_0x3cf159[_0x187076(0x23a)]);return _0x38c940[0x0]?_0x38c940[0x0][_0x187076(0xf4)]():null;}catch(_0x5e9b87){logger[_0x187076(0x1f5)](_0x187076(0x1a9)+util[_0x187076(0x173)](_0x5e9b87));}if(_0x3cf159[_0x187076(0x1c7)])return _0x3cf159[_0x187076(0x1c7)];return null;}}module[a75_0x3418e6(0xe1)]=JestTestFramework;
1
+ const a79_0x5656a9=a79_0x3721;(function(_0x3f7f0c,_0x39a5a2){const _0x4bf6cb=a79_0x3721,_0x4f8cb0=_0x3f7f0c();while(!![]){try{const _0x136010=parseInt(_0x4bf6cb(0x201))/0x1+-parseInt(_0x4bf6cb(0x1f2))/0x2*(parseInt(_0x4bf6cb(0x1f3))/0x3)+parseInt(_0x4bf6cb(0x247))/0x4*(-parseInt(_0x4bf6cb(0x179))/0x5)+-parseInt(_0x4bf6cb(0x144))/0x6+parseInt(_0x4bf6cb(0x114))/0x7+-parseInt(_0x4bf6cb(0x23f))/0x8+parseInt(_0x4bf6cb(0x246))/0x9*(parseInt(_0x4bf6cb(0xdb))/0xa);if(_0x136010===_0x39a5a2)break;else _0x4f8cb0['push'](_0x4f8cb0['shift']());}catch(_0x1e636a){_0x4f8cb0['push'](_0x4f8cb0['shift']());}}}(a79_0xcb12,0x7f03d));function a79_0xcb12(){const _0x5d0def=['Unknown\x20error','TEST','body','\x20(testIdentifier),\x20result=','getCurrentInstanceName','hook_result','VtRTO','KEY_TEST_LOGS','getAllPendingHookTestIds',',\x20duration=','\x20&\x20hookState=','toUpperCase','NWuNJ','KEY_TEST_ENDED_AT','MooLo','test_run_uuid',',\x20consoleLogs:\x20','sendLogCreatedEvent','event_ended_at','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','KEY_TEST_CODE','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20',',\x20totalLogs:\x20','getPendingHooks',',\x20state:\x20','yHzbS','\x20for\x20testId:\x20','ROOT_DESCRIBE_BLOCK',',\x20hookUUID=','parseJestTestResult','\x20(testIdentifier)','\x20logs\x20for\x20testId:\x20','code','kind','WEQfh','KEY_TEST_STARTED_AT','gTqJv','getJestFailureReason',',\x20attachmentLogs:\x20','xCgKC','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','retryOf','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','ttUzA',',\x20test_run_uuid=','KEY_HOOKS_STARTED','exports','map','../TestInfo.js','pYFhc','join','getThreadId','mUybm',',\x20payload:\x20','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','endedAt','KEY_TEST_SCOPES',',\x20hookState=','ACGxr','KEY_TEST_ID',',\x20filePath=','errorsDetailed','test_identifier','10802BmEGSH','3YHIGeA','KEY_TEST_FRAMEWORK_VERSION','getJestTestName','has','getCurrentHookState','KEY_AUTOMATE_SESSION_NAME','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','AaOBJ','__workerDetails','ViXeg','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','startsWith','location','XBKCm','762088VDHHSd','getContext','DLCiY','PUewg',',\x20hook=','grjkR','zmOiU','storePendingHook','apply','keys',',\x20state=','iMrDb','wTgJY','eventJson','originalTest','finished_at','jQstB','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','base64','KEY_HOOK_NAME','KEY_TEST_RETRY_OF','title','slice',':testAnalyticsId','KEY_TEST_FILE_PATH','oagaz','args','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','delete','pJsKP','replace','../../../helpers/test-observability/utils','toString','mapTestHooks','parseJestTest','file','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','error','type','isJestInternalHook','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','uyrBx','KEY_TEST_FRAMEWORK_NAME','sQJXq','activeHooks','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','result','parent','eUQyY','gsSWm','scope','hooks','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','\x20files','GimoP','KEY_EVENT_ENDED_AT','TkeyZ','XQUMV','ceil',',\x20hookState:\x20','resolveInstance',',\x20error:\x20','4664576eeBnXF','KEY_LOGS','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','JwTDS','getJestFailureType','RzjHu','iBxCD','1521414ZdKQdx','8CBZJrT','inspect','parallelIndex','KEY_TEST_FAILURE_TYPE','fosqk','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','sbgtz','hookUUID',',\x20currentTestId:\x20','getTrackedInstance','stringify','getInstance','KDtnI','KEY_TEST_ATTACHMENTS','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','../grpcClient','MtlEa','addMultipleEntries','\x20attachments','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','KEY_HOOKS_FINISHED','jest-circus','hook_type','logCreatedEvent','find','tags','CFpBV','trackJestInstance:\x20instance\x20already\x20exists','DEFAULT_HOOK_RESULT','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','toISOString','KEY_TEST_META','failed','passed','failure_reason','getRootParentFile','afterAll','MErtv','trackJestInstance:\x20created\x20instance\x20for\x20target=','pid','asyncError','fCgxh','hookMetadata','20mpMmVN','\x20(testIdentifier),\x20hookType=','FfCDn','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','DEFAULT_TEST_RESULT','AssertionError','includes','Stored\x20pending\x20hook\x20for\x20testId:\x20','KEY_HOOK_FAILURE_REASON',',\x20exception=','__bstackPlatformIndex','get','hasPendingHooks','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','KEY_TEST_DURATION','\x22\x20from\x20testData','UWhAt','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','KEY_HOOK_LAST_FINISHED','testFrameworkState','KEY_HOOK_FAILURE_TYPE','../instances/testFrameworkInstance.js',',\x20scope:\x20','name','setActiveHook','createContext','platformIndex','unknown','nxzlC','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','\x20(testIdentifier),\x20tags=','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','PRE','\x22\x20hook','amTdV','length','setTrackedInstance','push','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20','mtLZo','\x20-\x20test_identifier=','concat',',\x20logsInBatch:\x20','KEY_HOOK_RESULT','qzEKB','_ALL','hookAnalyticsId',',\x20response=','\x20-\x20testId:\x20','removePendingHooks','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','kDxTE','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','match','Unknown\x20Test','6911086TWmoaR','SgzNK','test','split','testFrameworkName','FLUWG','[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20','getJestTestTags','substring','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','txIDb',',\x20totalBatches:\x20','qxiLz',',\x20hookData=','parse','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','createTestFrameworkEventPayload',',\x20hookId=','YEPed','tkSuP','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','ahMyl','stack-trace','getJestTestIdentifier','hlCEs','../state/testFrameworkState.js','zDZok',',\x20hookType=','\x20hook','depth','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','filePath','qutmj','getProcessId','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','EEFLg','KEY_TEST_LOCATION','KEY_EVENT_STARTED_AT','UnhandledError','KEY_TEST_SCOPE','status','browserstackPlatformIndex','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','KEY_HOOK_ID','4803660OxVgaJ',',\x20failureType=','YIpFJ','QGzYn','testFrameworkVersion',',\x20target=','ztQOf','../../../helpers/helper.js','hookState','ioyvl','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','testData','uuid','pwupB','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','qvlmm','runHooks','KEY_CUSTOM_TAGS','skipped','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','POST','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','KEY_TEST_FAILURE_REASON','addPendingHook',',\x20hooksListLength=','./testFramework','hook_id','instance','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','ZjwgZ','./constants/testFrameworkConstants.js','duration','getId','testUUID','getAllData',',\x20hook_run_uuid=','format','BEFORE_ALL','AUnVH','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','maxArrayLength','reverse','NONE',',\x20totalHooks=','KEY_HOOK_FAILURE','filter','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','ATuVS','getCurrentTestState','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','testId','getFileName','KEY_TEST_FAILURE','445355utxYyQ','hookData','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','processPendingHooks','warn','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','started_at','RjrrT','trackHookEvent','getActiveHook','vPNpI','getTestFrameworksVersions','file_name','ssHBz',',\x20screenshotLogs:\x20','getHooksForTest','hook_run_uuid','aRkXe','ALL','buildHookMapFromTest','beforeAll','gXvDa','\x20to\x20','YMDRo','tJNkZ','skip','scopes','set',',\x20testId=','PFRxp','forEach','trackJestInstance','debug','pop','from','startedAt','KEY_TEST_RESULT','getTestFrameworks','EPFlb','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','getRef','getJestTestScopes',',\x20failureReason=','LOG_REPORT','test_run_id','\x20screenshot\x20logs\x20for\x20testId:\x20','butsg',',\x20filePath:\x20','getJestFailureData','Gjciv','splice','isArray','cahUi','rtodc','util','liXSh'];a79_0xcb12=function(){return _0x5d0def;};return a79_0xcb12();}function a79_0x3721(_0x1f8dae,_0x29490e){const _0xcb12fb=a79_0xcb12();return a79_0x3721=function(_0x372135,_0x22ec38){_0x372135=_0x372135-0xbd;let _0x783b76=_0xcb12fb[_0x372135];return _0x783b76;},a79_0x3721(_0x1f8dae,_0x29490e);}const TestFramework=require(a79_0x5656a9(0x15d)),TestFrameworkState=require(a79_0x5656a9(0x12d)),HookState=require('../state/hookState.js'),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a79_0x5656a9(0xf0)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a79_0x5656a9(0x162)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a79_0x5656a9(0x14b)),{isInternalHook}=require(a79_0x5656a9(0x220)),logger=createClassLogger('JestTestFramework'),{v4:uuidv4}=require(a79_0x5656a9(0x150)),util=require(a79_0x5656a9(0x1af)),TestInfo=require(a79_0x5656a9(0x1e3)),GrpcClient=require(a79_0x5656a9(0xbd)),stackTrace=require(a79_0x5656a9(0x12a));class JestTestFramework extends TestFramework{constructor(_0x5deb1e,_0x53e2ae,_0x1398c5){const _0x494805=a79_0x5656a9;super(_0x5deb1e,_0x53e2ae,_0x1398c5),this[_0x494805(0x22d)]=new Map();}[a79_0x5656a9(0xf3)](_0x2c1a46,_0x5022be,_0x55c690){const _0x3f720a=a79_0x5656a9,_0xb5cf07={};_0xb5cf07[_0x3f720a(0x16a)]=function(_0x206e16,_0xca27c7){return _0x206e16||_0xca27c7;};const _0x234024=_0xb5cf07;if(_0x234024[_0x3f720a(0x16a)](!_0x2c1a46,!_0x5022be)){logger[_0x3f720a(0x17d)](_0x3f720a(0xcd)+_0x2c1a46+_0x3f720a(0x1cf)+_0x5022be);return;}!this[_0x3f720a(0x22d)][_0x3f720a(0x1f6)](_0x2c1a46)&&this['activeHooks']['set'](_0x2c1a46,[]);const _0xd7acc5={'hookUUID':_0x5022be,'hookType':_0x55c690,'startedAt':new Date()[_0x3f720a(0xce)]()};this['activeHooks'][_0x3f720a(0xe6)](_0x2c1a46)[_0x3f720a(0x100)](_0xd7acc5),logger['debug']('[JestTestFramework]\x20setActiveHook:\x20testIdentifier='+_0x2c1a46+_0x3f720a(0x1cf)+_0x5022be+',\x20hookType='+_0x55c690+_0x3f720a(0x16f)+this[_0x3f720a(0x22d)][_0x3f720a(0xe6)](_0x2c1a46)[_0x3f720a(0xfe)]);}['removeActiveHook'](_0x1f4d77,_0x533fe3){const _0x4e6ea3=a79_0x5656a9,_0x2b2ad4={};_0x2b2ad4['qvlmm']=function(_0x24a940,_0x568e4b){return _0x24a940||_0x568e4b;},_0x2b2ad4[_0x4e6ea3(0x129)]=function(_0x173e35,_0x526194){return _0x173e35!==_0x526194;},_0x2b2ad4[_0x4e6ea3(0x203)]=function(_0x33e2d7,_0x33f612){return _0x33e2d7===_0x33f612;};const _0x92a7d1=_0x2b2ad4;if(_0x92a7d1[_0x4e6ea3(0x153)](!_0x1f4d77,!_0x533fe3)){logger[_0x4e6ea3(0x17d)](_0x4e6ea3(0x225)+_0x1f4d77+',\x20hookUUID='+_0x533fe3);return;}if(this['activeHooks'][_0x4e6ea3(0x1f6)](_0x1f4d77)){const _0x5e2ba5=this['activeHooks'][_0x4e6ea3(0xe6)](_0x1f4d77),_0x25d658=_0x5e2ba5['findIndex'](_0x356572=>_0x356572[_0x4e6ea3(0x24e)]===_0x533fe3);_0x92a7d1['ahMyl'](_0x25d658,-0x1)?(_0x5e2ba5[_0x4e6ea3(0x1ab)](_0x25d658,0x1),logger[_0x4e6ea3(0x199)](_0x4e6ea3(0x152)+_0x1f4d77+_0x4e6ea3(0x1cf)+_0x533fe3+',\x20remainingHooks='+_0x5e2ba5[_0x4e6ea3(0xfe)]),_0x92a7d1[_0x4e6ea3(0x203)](_0x5e2ba5[_0x4e6ea3(0xfe)],0x0)&&this[_0x4e6ea3(0x22d)][_0x4e6ea3(0x21d)](_0x1f4d77)):logger['debug'](_0x4e6ea3(0x16b)+_0x1f4d77+',\x20hookUUID='+_0x533fe3);}}[a79_0x5656a9(0x182)](_0x5b2c9d){const _0x436163=a79_0x5656a9,_0x360617={};_0x360617[_0x436163(0x1aa)]=function(_0x125c19,_0x311527){return _0x125c19>_0x311527;},_0x360617[_0x436163(0x12c)]=function(_0x4008ba,_0x40c9d3){return _0x4008ba-_0x40c9d3;};const _0x167cef=_0x360617;if(!_0x5b2c9d)return null;if(this[_0x436163(0x22d)]['has'](_0x5b2c9d)){const _0x364685=this[_0x436163(0x22d)][_0x436163(0xe6)](_0x5b2c9d);if(_0x167cef[_0x436163(0x1aa)](_0x364685[_0x436163(0xfe)],0x0)){const _0x49540e=_0x364685[_0x167cef['hlCEs'](_0x364685[_0x436163(0xfe)],0x1)];return logger[_0x436163(0x199)](_0x436163(0x1f9)+_0x5b2c9d+_0x436163(0x1cf)+_0x49540e[_0x436163(0x24e)]+_0x436163(0x12f)+_0x49540e['hookType']),_0x49540e;}}return null;}async['trackEvent'](_0xcbc3af,_0x2b1836,_0x196837={}){const _0x7e0cbc=a79_0x5656a9,_0x57d993={};_0x57d993[_0x7e0cbc(0xbe)]=_0x7e0cbc(0x1e9),_0x57d993['ZjwgZ']=function(_0xeaa19d,_0x472d01){return _0xeaa19d===_0x472d01;},_0x57d993[_0x7e0cbc(0x196)]=function(_0x574178,_0x98ec8c){return _0x574178||_0x98ec8c;},_0x57d993[_0x7e0cbc(0x120)]=_0x7e0cbc(0x241),_0x57d993[_0x7e0cbc(0x1ae)]=function(_0x13bc8d,_0x3b7425){return _0x13bc8d===_0x3b7425;};const _0x2e238e=_0x57d993;logger['debug']('[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState='+_0xcbc3af+',\x20hookState='+_0x2b1836+',\x20argsKeys='+Object[_0x7e0cbc(0x20a)](_0x196837)[_0x7e0cbc(0x1e5)](',')),await super['trackEvent'](_0xcbc3af,_0x2b1836,_0x196837);const _0xf0dc20=this['resolveInstance'](_0xcbc3af,_0x2b1836,_0x196837);if(!_0xf0dc20){logger[_0x7e0cbc(0x199)](_0x2e238e[_0x7e0cbc(0xbe)]);return;}try{let _0x584071,_0x4b4a4d,_0x3fa95c;switch(_0xcbc3af){case TestFrameworkState['TEST']:_0x584071=_0x196837[_0x7e0cbc(0x116)];const _0x5dbb42={};_0x5dbb42[_0x7e0cbc(0x131)]=0x2,_0x5dbb42[_0x7e0cbc(0x16c)]=0x3,logger[_0x7e0cbc(0x199)](_0x7e0cbc(0x157)+_0x2b1836+',\x20testData='+util[_0x7e0cbc(0x248)](_0x584071,_0x5dbb42)),_0x3fa95c=this[_0x7e0cbc(0x12b)](_0x584071),_0x4b4a4d=null,logger['debug'](_0x7e0cbc(0x1a0)+_0x3fa95c+_0x7e0cbc(0x1d1));if(_0x2e238e[_0x7e0cbc(0x161)](_0x2b1836,HookState[_0x7e0cbc(0xfb)])){logger[_0x7e0cbc(0x199)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20'+_0x3fa95c);const _0x5cd135={};_0x5cd135[_0x7e0cbc(0x165)]=_0x4b4a4d,_0x5cd135[_0x7e0cbc(0x14f)]=_0x584071,_0x5cd135['testId']=_0x3fa95c;const _0x2c5600=this[_0x7e0cbc(0x223)](_0x5cd135),_0x5ca516={};_0x5ca516[_0x7e0cbc(0x131)]=0x2,_0x5ca516[_0x7e0cbc(0x16c)]=0x3,logger[_0x7e0cbc(0x199)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20'+util[_0x7e0cbc(0x248)](_0x2c5600,_0x5ca516)),_0xf0dc20[_0x7e0cbc(0xbf)](_0x2c5600),logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20'+_0x3fa95c),await this['processPendingHooks'](_0xf0dc20,_0x3fa95c);}else{if(_0x2e238e[_0x7e0cbc(0x161)](_0x2b1836,HookState[_0x7e0cbc(0x158)])){logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20'+_0x3fa95c);const _0x1ea561=_0xf0dc20['getAllData']()['get'](_0x3fa95c);logger['debug'](_0x7e0cbc(0x17e)+util[_0x7e0cbc(0x248)](Object[_0x7e0cbc(0x20a)](_0x2e238e['PFRxp'](_0x1ea561,{}))));_0x1ea561&&_0x1ea561[TestFrameworkConstants[_0x7e0cbc(0x254)]]?logger[_0x7e0cbc(0x199)](_0x7e0cbc(0xec)+Object[_0x7e0cbc(0x20a)](_0x1ea561[TestFrameworkConstants[_0x7e0cbc(0x254)]])[_0x7e0cbc(0xfe)]+_0x7e0cbc(0x236)):logger[_0x7e0cbc(0x199)](_0x2e238e[_0x7e0cbc(0x120)]);const _0xd7e712=_0x196837[_0x7e0cbc(0x20f)]||null,_0x2c1851={};_0x2c1851[_0x7e0cbc(0x165)]=_0x4b4a4d,_0x2c1851[_0x7e0cbc(0x14f)]=_0x584071,_0x2c1851[_0x7e0cbc(0x176)]=_0x3fa95c,_0x2c1851['originalTest']=_0xd7e712;const _0x5df398=this[_0x7e0cbc(0x1d0)](_0x2c1851),_0x1acfc4={};_0x1acfc4[_0x7e0cbc(0x131)]=0x2,_0x1acfc4[_0x7e0cbc(0x16c)]=0x3,logger['debug'](_0x7e0cbc(0x1c5)+util[_0x7e0cbc(0x248)](_0x5df398,_0x1acfc4)),_0xf0dc20[_0x7e0cbc(0xbf)](_0x5df398),logger[_0x7e0cbc(0x199)](_0x7e0cbc(0x128)+_0x3fa95c),await this[_0x7e0cbc(0x17c)](_0xf0dc20,_0x3fa95c);}}break;case TestFrameworkState[_0x7e0cbc(0x1a4)]:if(_0x2e238e[_0x7e0cbc(0x1ae)](_0x2b1836,HookState[_0x7e0cbc(0x158)])){const _0x20579b={};_0x20579b[_0x7e0cbc(0x131)]=0x2,logger[_0x7e0cbc(0x199)](_0x7e0cbc(0xde)+util[_0x7e0cbc(0x248)](_0x196837,_0x20579b)),await this[_0x7e0cbc(0x1c2)](_0xf0dc20,_0xcbc3af,_0x196837);}break;default:if(CLIUtils['matchHookRegex'](_0xcbc3af[_0x7e0cbc(0x221)]()['split']('.')[0x1])){const _0x2a4e49={};_0x2a4e49['depth']=0x2,_0x2a4e49[_0x7e0cbc(0x16c)]=0x3,logger[_0x7e0cbc(0x199)](_0x7e0cbc(0x133)+_0xcbc3af+_0x7e0cbc(0x1ec)+_0x2b1836+_0x7e0cbc(0x121)+util[_0x7e0cbc(0x248)](_0x196837[_0x7e0cbc(0x17a)],_0x2a4e49));const _0x4e9c78=await this['trackHookEvent'](_0xf0dc20,_0xcbc3af,_0x2b1836,_0x196837),_0x2ff955={};_0x2ff955['depth']=0x2,_0x2ff955['maxArrayLength']=0x3,logger['debug'](_0x7e0cbc(0x139)+util[_0x7e0cbc(0x248)](_0x4e9c78,_0x2ff955)),_0xf0dc20[_0x7e0cbc(0xbf)](_0x4e9c78);}else logger[_0x7e0cbc(0x199)](_0x7e0cbc(0x138)+_0xcbc3af+_0x7e0cbc(0x1bb)+_0x2b1836);break;}logger[_0x7e0cbc(0x199)]('[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState='+_0xcbc3af+_0x7e0cbc(0x1ec)+_0x2b1836);}catch(_0x5133e9){logger['error']('[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState='+_0xcbc3af+',\x20hookState='+_0x2b1836+_0x7e0cbc(0xe4)+util[_0x7e0cbc(0x168)](_0x5133e9));}_0x196837[_0x7e0cbc(0x15f)]=_0xf0dc20,await this[_0x7e0cbc(0x154)](_0xf0dc20,_0xcbc3af,_0x2b1836,_0x196837);}[a79_0x5656a9(0x12b)](_0x47fe32){const _0x1f228e=a79_0x5656a9,_0x512792={};_0x512792[_0x1f228e(0x1d5)]='[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback';const _0x3614d7=_0x512792;if(_0x47fe32&&(_0x47fe32['id']||_0x47fe32[_0x1f228e(0x150)])){const _0x5db414=_0x47fe32['id']||_0x47fe32[_0x1f228e(0x150)];return logger[_0x1f228e(0x199)](_0x1f228e(0x10d)+_0x5db414+_0x1f228e(0xea)),_0x5db414;}return logger[_0x1f228e(0x199)](_0x3614d7['WEQfh']),process[_0x1f228e(0xd7)]+_0x1f228e(0x218);}[a79_0x5656a9(0x23d)](_0x36041f,_0x40c1f4,_0x24f80e={}){const _0xe313e8=a79_0x5656a9;let _0x251579=null;return _0x251579=TestFramework[_0xe313e8(0x250)](),!_0x251579?(logger[_0xe313e8(0x199)](_0xe313e8(0x10e)+_0x36041f),this[_0xe313e8(0x198)](_0x36041f,_0x24f80e),_0x251579=TestFramework['getTrackedInstance'](),logger['debug']('[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists='+!!_0x251579+',\x20contextId='+_0x251579?.[_0xe313e8(0x202)]()?.[_0xe313e8(0x164)]())):logger[_0xe313e8(0x199)](_0xe313e8(0x160)+_0x251579[_0xe313e8(0x202)]()?.['getId']()),_0x251579;}[a79_0x5656a9(0x198)](_0x17a28a,_0x15d19c){const _0x878226=a79_0x5656a9,_0x4de4e3={};_0x4de4e3[_0x878226(0x19f)]=_0x878226(0xca);const _0x7e72f9=_0x4de4e3;if(TestFramework[_0x878226(0x250)]()){logger['debug'](_0x7e72f9['EPFlb']);return;}const _0x12e631=CLIUtils[_0x878226(0x1b5)](),_0x4ddae9=TrackedInstance[_0x878226(0xf4)](_0x12e631);let _0xe6e9c5=null;logger[_0x878226(0x199)](_0x878226(0xd6)+_0x12e631+_0x878226(0x20b)+_0x17a28a),_0xe6e9c5=new TestFrameworkInstance(_0x4ddae9,this[_0x878226(0x19e)](),this[_0x878226(0x184)](),_0x17a28a,HookState[_0x878226(0x16e)]),TestFramework[_0x878226(0xff)](_0x4ddae9,_0xe6e9c5),logger['debug'](_0x878226(0xe8)+_0x4ddae9[_0x878226(0x164)]()+_0x878226(0x149)+_0x12e631+',\x20testFramework='+this[_0x878226(0x19e)]()[0x0]+',\x20version='+this[_0x878226(0x184)]()[this[_0x878226(0x19e)]()[0x0]]);}['parseJestTest'](_0x44afb9){const _0x262720=a79_0x5656a9,_0x200346={};_0x200346[_0x262720(0x110)]=function(_0x41b2d5,_0x52953c){return _0x41b2d5||_0x52953c;},_0x200346[_0x262720(0x1b7)]='No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test';const _0x56ce8f=_0x200346,{testUUID:_0x5d973d,testData:_0x271ce7,testId:_0x5a6e2d}=_0x44afb9;if(_0x56ce8f[_0x262720(0x110)](!_0x271ce7,!_0x5a6e2d))return logger[_0x262720(0x199)](_0x56ce8f['VtRTO']),{};const _0x3eb517=this[_0x262720(0x19e)]()[0x0],_0x50f943=this[_0x262720(0x184)](),_0x5acb6f={};_0x5acb6f['depth']=0x2,_0x5acb6f[_0x262720(0x16c)]=0x3,logger[_0x262720(0x199)]('[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20'+util[_0x262720(0x248)](_0x271ce7,_0x5acb6f));const _0xa3e4ff=_0x271ce7?.[_0x262720(0x193)]||[],_0x113b4f=this[_0x262720(0x1f5)](_0x271ce7),_0x51d6d4=this['getJestTestFilePath'](_0x271ce7),_0xb6e201=_0x271ce7['fn']?_0x271ce7['fn'][_0x262720(0x221)]():_0x271ce7?.['body']?_0x271ce7[_0x262720(0x1b3)][_0x262720(0x1d3)]['toString']():null,_0x405b8b=this[_0x262720(0x11b)](_0x271ce7),_0x477fb6={[TestFrameworkConstants[_0x262720(0x22b)]]:_0x3eb517,[TestFrameworkConstants[_0x262720(0x1f4)]]:_0x50f943[_0x3eb517],[TestFrameworkConstants[_0x262720(0x1b8)]]:[],[TestFrameworkConstants[_0x262720(0xc3)]]:{},[TestFrameworkConstants[_0x262720(0x1e0)]]:{},[TestFrameworkConstants[_0x262720(0x19d)]]:TestFrameworkConstants[_0x262720(0xdf)],[TestFrameworkConstants[_0x262720(0x1f8)]]:_0x113b4f,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x51d6d4,[TestFrameworkConstants[_0x262720(0x1ee)]]:_0x5a6e2d,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x113b4f,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x51d6d4,[TestFrameworkConstants[_0x262720(0x1c6)]]:_0xb6e201,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x405b8b,[TestFrameworkConstants[_0x262720(0x1d6)]]:_0x271ce7[_0x262720(0x17f)]||new Date()[_0x262720(0xce)](),[TestFrameworkConstants[_0x262720(0x13f)]]:_0xa3e4ff[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0xa3e4ff,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x113b4f,[TestFrameworkConstants[_0x262720(0x155)]]:{},[TestFrameworkConstants[_0x262720(0xcf)]]:{}};_0x271ce7[_0x262720(0x1dc)]&&(_0x477fb6[TestFrameworkConstants[_0x262720(0x215)]]=_0x271ce7[_0x262720(0x1dc)]);logger['debug'](_0x262720(0x10f)+_0x113b4f+_0x262720(0x195)+_0x5a6e2d+_0x262720(0xf9)+JSON[_0x262720(0x251)](_0x405b8b)+',\x20scopes='+util[_0x262720(0x248)](_0xa3e4ff)+_0x262720(0x1ef)+_0x51d6d4);const _0x3e0b7a={};return _0x3e0b7a[_0x5a6e2d]=_0x477fb6,_0x3e0b7a;}['parseJestTestResult'](_0x19e770){const _0x2b78bf=a79_0x5656a9,_0x54a245={'oagaz':function(_0x190c92,_0x217603){return _0x190c92===_0x217603;},'ztQOf':_0x2b78bf(0xd4),'sQJXq':_0x2b78bf(0x18d),'VhlEx':_0x2b78bf(0x18b),'UWhAt':_0x2b78bf(0x108),'TkeyZ':function(_0x28d3df,_0x5f4677){return _0x28d3df||_0x5f4677;},'NWuNJ':_0x2b78bf(0x21c),'qzEKB':_0x2b78bf(0xf6),'wZjrC':function(_0x56ba48,_0x25b335){return _0x56ba48>_0x25b335;},'ioyvl':_0x2b78bf(0xd0),'XBKCm':function(_0x33fb9d,_0x5f0406){return _0x33fb9d===_0x5f0406;},'butsg':_0x2b78bf(0x192),'FfCDn':_0x2b78bf(0x156),'yHzbS':_0x2b78bf(0xd1),'tkSuP':function(_0x2f8639,_0x5e5070){return _0x2f8639===_0x5e5070;},'vrcze':function(_0x1adfdb,_0x4c43a6){return _0x1adfdb!==_0x4c43a6;},'vPNpI':function(_0x13e02c,_0x4f8ccc,_0x55fc48,_0x37dc6a){return _0x13e02c(_0x4f8ccc,_0x55fc48,_0x37dc6a);},'cahUi':function(_0x1e9629,_0x1f275b){return _0x1e9629>_0x1f275b;},'MooLo':function(_0x225ae5,_0xdb835a){return _0x225ae5>_0xdb835a;},'YIpFJ':_0x2b78bf(0x255),'yReNN':function(_0x547701,_0x1cfa84){return _0x547701===_0x1cfa84;}},{testUUID:_0x1bb813,testData:_0x2c5f5d,testId:_0x413ee1}=_0x19e770;if(_0x54a245[_0x2b78bf(0x239)](!_0x2c5f5d,!_0x413ee1))return logger[_0x2b78bf(0x199)](_0x54a245[_0x2b78bf(0x1bd)]),{};const _0x5aae87=this[_0x2b78bf(0x23d)](TestFrameworkState[_0x2b78bf(0x1b2)],HookState['POST']),_0x19f443=_0x5aae87[_0x2b78bf(0x166)]()[_0x2b78bf(0xe6)](_0x413ee1),_0x2965c2=_0x54a245[_0x2b78bf(0x239)](_0x19f443,{}),_0x31f09e=_0x2965c2?_0x2965c2[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x13f5ec=_0x2965c2[TestFrameworkConstants[_0x2b78bf(0x254)]];logger['debug']('[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20'+(_0x13f5ec?Object[_0x2b78bf(0x20a)](_0x13f5ec)[_0x2b78bf(0xfe)]:0x0)+_0x2b78bf(0xc0));let _0x33e1e2=_0x54a245[_0x2b78bf(0x107)];if(_0x2c5f5d['result'])_0x33e1e2=_0x2c5f5d[_0x2b78bf(0x22f)];else{if(_0x2c5f5d[_0x2b78bf(0x1f0)]&&_0x54a245['wZjrC'](_0x2c5f5d[_0x2b78bf(0x1f0)][_0x2b78bf(0xfe)],0x0))_0x33e1e2=_0x54a245[_0x2b78bf(0x14d)];else _0x54a245[_0x2b78bf(0x200)](_0x2c5f5d[_0x2b78bf(0x140)],_0x54a245[_0x2b78bf(0x1a7)])||_0x54a245[_0x2b78bf(0x200)](_0x2c5f5d[_0x2b78bf(0x140)],_0x54a245[_0x2b78bf(0xdd)])?_0x33e1e2=_0x54a245['FfCDn']:_0x33e1e2=_0x54a245[_0x2b78bf(0x1cc)];}const _0x5d9251={..._0x2965c2,[TestFrameworkConstants[_0x2b78bf(0x19d)]]:_0x33e1e2,[TestFrameworkConstants[_0x2b78bf(0x1be)]]:_0x2c5f5d[_0x2b78bf(0x210)]||new Date()['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x2b78bf(0xce)](),[TestFrameworkConstants[_0x2b78bf(0x155)]]:_0x31f09e,[TestFrameworkConstants[_0x2b78bf(0x240)]]:_0x2965c2[TestFrameworkConstants[_0x2b78bf(0x240)]]||[],[TestFrameworkConstants[_0x2b78bf(0xcf)]]:{}};if(_0x54a245[_0x2b78bf(0x127)](_0x33e1e2,_0x54a245[_0x2b78bf(0x14d)])&&_0x2c5f5d[_0x2b78bf(0x1f0)]){const _0x25091f=this[_0x2b78bf(0x1d8)](_0x2c5f5d),_0x431cd4=this['getJestFailureType'](_0x2c5f5d),_0x2d6f36=this['getJestFailureData'](_0x2c5f5d);_0x5d9251[TestFrameworkConstants[_0x2b78bf(0x24a)]]=_0x431cd4,_0x5d9251[TestFrameworkConstants[_0x2b78bf(0x15a)]]=_0x25091f,_0x5d9251[TestFrameworkConstants[_0x2b78bf(0x178)]]=_0x2d6f36;}_0x54a245['vrcze'](_0x2c5f5d[_0x2b78bf(0x163)],undefined)&&(_0x5d9251[TestFrameworkConstants[_0x2b78bf(0xe9)]]=_0x2c5f5d[_0x2b78bf(0x163)]);_0x2c5f5d[_0x2b78bf(0x1dc)]&&(_0x5d9251[TestFrameworkConstants[_0x2b78bf(0x215)]]=_0x2c5f5d['retryOf']);const _0x1235d6=_0x19f443?_0x19f443[TestFrameworkConstants[_0x2b78bf(0x254)]]||{}:{},_0x45e940=_0x19f443?_0x19f443[TestFrameworkConstants['KEY_TEST_UUID']]:_0x1bb813,_0x2f1747=_0x54a245[_0x2b78bf(0x183)](getManualUploadLogs,_0x1235d6,_0x45e940,_0x413ee1);if(_0x54a245[_0x2b78bf(0x1ad)](_0x2f1747[_0x2b78bf(0xfe)],0x0)){const _0x11c50b=_0x5d9251[TestFrameworkConstants[_0x2b78bf(0x240)]]||[];_0x5d9251[TestFrameworkConstants[_0x2b78bf(0x240)]]=[..._0x11c50b,..._0x2f1747];}const _0x3917cf=_0x2965c2[TestFrameworkConstants[_0x2b78bf(0xc3)]]||{},_0x423cbb=_0x2965c2[TestFrameworkConstants['KEY_HOOKS_STARTED']]||{},_0x17bd41={..._0x3917cf},_0x384da8=_0x17bd41;Object['keys'](_0x423cbb)['forEach'](_0x2ff6f5=>{const _0x2578f4=_0x2b78bf;!_0x384da8[_0x2ff6f5]&&(_0x384da8[_0x2ff6f5]=[]);const _0x333ecf=new Set((_0x384da8[_0x2ff6f5]||[])[_0x2578f4(0x1e2)](_0x41755c=>_0x41755c[TestFrameworkConstants[_0x2578f4(0x143)]]||_0x41755c[_0x2578f4(0x15e)]));(_0x423cbb[_0x2ff6f5]||[])[_0x2578f4(0x197)](_0x2cd36a=>{const _0x3214f8=_0x2578f4,_0x5aa3c5=_0x2cd36a[TestFrameworkConstants[_0x3214f8(0x143)]]||_0x2cd36a[_0x3214f8(0x15e)];if(!_0x333ecf[_0x3214f8(0x1f6)](_0x5aa3c5)){const _0x3e0a15={..._0x2cd36a},_0x206a8c=_0x3e0a15;!_0x206a8c[TestFrameworkConstants[_0x3214f8(0x238)]]&&!_0x206a8c[_0x3214f8(0x1c3)]&&(_0x206a8c[TestFrameworkConstants[_0x3214f8(0x238)]]=new Date()['toISOString']()),!_0x206a8c[TestFrameworkConstants[_0x3214f8(0x106)]]&&!_0x206a8c[_0x3214f8(0x1b6)]&&(_0x206a8c[TestFrameworkConstants[_0x3214f8(0x106)]]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x384da8[_0x2ff6f5]['push'](_0x206a8c);}});});if(_0x19e770[_0x2b78bf(0x20f)]){this[_0x2b78bf(0x222)](_0x19e770[_0x2b78bf(0x20f)]);const _0x10721f=this['buildHookMapFromTest'](_0x19e770['originalTest']),_0x2e7587=this[_0x2b78bf(0x188)](_0x19e770[_0x2b78bf(0x20f)]);_0x2e7587[_0x2b78bf(0x197)](_0x458d69=>{const _0x1cf818=_0x2b78bf,_0x32ba68=_0x10721f[_0x1cf818(0xe6)](_0x458d69);if(_0x32ba68&&(_0x54a245[_0x1cf818(0x21a)](_0x32ba68[_0x1cf818(0x227)],_0x54a245[_0x1cf818(0x14a)])||_0x54a245[_0x1cf818(0x21a)](_0x32ba68[_0x1cf818(0x227)],_0x54a245[_0x1cf818(0x22c)]))){const _0x417307=_0x32ba68[_0x1cf818(0x227)][_0x1cf818(0x1bc)]()[_0x1cf818(0x21f)](_0x54a245['VhlEx'],_0x54a245[_0x1cf818(0xeb)]),_0x4c66c3=_0x417307;!_0x384da8[_0x4c66c3]&&(_0x384da8[_0x4c66c3]=[]);const _0x223326=_0x384da8[_0x4c66c3][_0x1cf818(0xc7)](_0x59f418=>(_0x59f418[TestFrameworkConstants['KEY_HOOK_ID']]||_0x59f418[_0x1cf818(0x15e)])===_0x458d69);!_0x223326&&_0x384da8[_0x4c66c3][_0x1cf818(0x100)]({'key':_0x4c66c3,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x458d69,[TestFrameworkConstants[_0x1cf818(0x106)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x1cf818(0x13d)]]:new Date()[_0x1cf818(0xce)](),[TestFrameworkConstants[_0x1cf818(0x238)]]:new Date()[_0x1cf818(0xce)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x1cf818(0x214)]]:_0x32ba68['name']||_0x32ba68['type']+_0x1cf818(0x130),[TestFrameworkConstants[_0x1cf818(0x155)]]:_0x31f09e});}});}if(_0x2c5f5d[_0x2b78bf(0x234)]&&_0x54a245[_0x2b78bf(0x1bf)](_0x2c5f5d[_0x2b78bf(0x234)][_0x2b78bf(0xfe)],0x0))_0x5d9251[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x2c5f5d[_0x2b78bf(0x234)],logger[_0x2b78bf(0x199)](_0x54a245[_0x2b78bf(0x146)]);else _0x54a245['MooLo'](Object[_0x2b78bf(0x20a)](_0x384da8)[_0x2b78bf(0xfe)],0x0)&&(_0x5d9251[TestFrameworkConstants[_0x2b78bf(0xc3)]]=_0x384da8,logger[_0x2b78bf(0x199)]('[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes='+Object['keys'](_0x384da8)[_0x2b78bf(0x1e5)](',')));const _0x5bba74=this['getJestTestName'](_0x2c5f5d);logger[_0x2b78bf(0x199)]('[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName='+_0x5bba74+_0x2b78bf(0x195)+_0x413ee1+_0x2b78bf(0x1b4)+_0x33e1e2+_0x2b78bf(0x1ba)+_0x2c5f5d[_0x2b78bf(0x163)]);_0x54a245['yReNN'](_0x33e1e2,_0x54a245[_0x2b78bf(0x14d)])&&logger['debug']('[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId='+_0x413ee1+_0x2b78bf(0x145)+_0x5d9251[TestFrameworkConstants[_0x2b78bf(0x24a)]]+_0x2b78bf(0x1a3)+_0x5d9251[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]?.['substring'](0x0,0xc8));const _0x82a942={};return _0x82a942[_0x413ee1]=_0x5d9251,_0x82a942;}[a79_0x5656a9(0x1a2)](_0x268134){const _0x54d43b=a79_0x5656a9,_0x4fda5b={};_0x4fda5b[_0x54d43b(0x232)]=function(_0xdf0c8d,_0x21b75b){return _0xdf0c8d!==_0x21b75b;},_0x4fda5b[_0x54d43b(0x1ed)]=_0x54d43b(0x1ce);const _0x429b9d=_0x4fda5b,_0x320223={};_0x320223['depth']=0x2,_0x320223[_0x54d43b(0x16c)]=0x3,logger[_0x54d43b(0x199)](_0x54d43b(0xcc)+util[_0x54d43b(0x248)](_0x268134,_0x320223));const _0x1c979d=[];if(_0x268134&&_0x268134[_0x54d43b(0x230)]){let _0x1fa8ee=_0x268134['parent'];while(_0x1fa8ee&&_0x1fa8ee[_0x54d43b(0xf2)]&&_0x429b9d[_0x54d43b(0x232)](_0x1fa8ee[_0x54d43b(0xf2)],'')&&_0x429b9d[_0x54d43b(0x232)](_0x1fa8ee[_0x54d43b(0xf2)],_0x429b9d[_0x54d43b(0x1ed)])){_0x1c979d['push'](_0x1fa8ee[_0x54d43b(0xf2)]),_0x1fa8ee=_0x1fa8ee[_0x54d43b(0x230)];}}return _0x1c979d[_0x54d43b(0x16d)]();}[a79_0x5656a9(0x1f5)](_0x197148){const _0x345eb7=a79_0x5656a9,_0x2d4c5e={};_0x2d4c5e['MErtv']=_0x345eb7(0x113);const _0x1781f8=_0x2d4c5e;if(_0x197148['name'])return _0x197148['name'];if(_0x197148[_0x345eb7(0x216)])return _0x197148['title'];return _0x1781f8[_0x345eb7(0xd5)];}[a79_0x5656a9(0x11b)](_0x587f83){const _0x1d7aa2=a79_0x5656a9,_0x10c05d=[];if(_0x587f83[_0x1d7aa2(0xc8)]&&Array[_0x1d7aa2(0x1ac)](_0x587f83[_0x1d7aa2(0xc8)]))return _0x587f83['tags'][_0x1d7aa2(0x1e2)](_0x2e82d8=>_0x2e82d8[_0x1d7aa2(0x1fe)]('@')?_0x2e82d8['substr'](0x1):_0x2e82d8);const _0x306f71=this[_0x1d7aa2(0x1f5)](_0x587f83),_0x307af1=_0x306f71[_0x1d7aa2(0x112)](/@(\w+)/g);if(_0x307af1)return _0x307af1[_0x1d7aa2(0x1e2)](_0x38b206=>_0x38b206[_0x1d7aa2(0x217)](0x1));return _0x587f83['scopes']&&Array[_0x1d7aa2(0x1ac)](_0x587f83[_0x1d7aa2(0x193)])&&_0x587f83[_0x1d7aa2(0x193)][_0x1d7aa2(0x197)](_0xa5d4be=>{const _0x3d1223=_0x1d7aa2,_0x205d25=_0xa5d4be[_0x3d1223(0x112)](/@(\w+)/g);_0x205d25&&_0x205d25[_0x3d1223(0x197)](_0x7511a9=>{const _0x2f2f4d=_0x3d1223,_0x1b4d03=_0x7511a9[_0x2f2f4d(0x217)](0x1);!_0x10c05d[_0x2f2f4d(0xe1)](_0x1b4d03)&&_0x10c05d['push'](_0x1b4d03);});}),_0x10c05d;}['getJestTestFilePath'](_0x1a8055){const _0x2f8ca=a79_0x5656a9,_0x30e00e={'iBxCD':function(_0x54ad24,_0x139b98){return _0x54ad24(_0x139b98);},'fosqk':_0x2f8ca(0x12a)};if(_0x1a8055[_0x2f8ca(0x185)])return _0x1a8055[_0x2f8ca(0x185)];if(_0x1a8055[_0x2f8ca(0xd8)]){const _0x466021=_0x30e00e[_0x2f8ca(0x245)](require,_0x30e00e[_0x2f8ca(0x24b)]);try{const _0x1a262e=_0x466021[_0x2f8ca(0x122)](_0x1a8055['asyncError']);if(_0x1a262e[0x0]&&_0x1a262e[0x0][_0x2f8ca(0x177)])return _0x1a262e[0x0][_0x2f8ca(0x177)]();}catch(_0x172828){logger[_0x2f8ca(0x199)](_0x2f8ca(0x1fd)+util['format'](_0x172828));}}return null;}[a79_0x5656a9(0x1d8)](_0x5899c8){const _0x36a4a4=a79_0x5656a9,_0x18b946={};_0x18b946[_0x36a4a4(0x253)]=function(_0x319986,_0x1adb6e){return _0x319986>_0x1adb6e;},_0x18b946[_0x36a4a4(0x20c)]=_0x36a4a4(0x1b1);const _0x49ab78=_0x18b946;if(_0x5899c8[_0x36a4a4(0x1f0)]&&_0x49ab78[_0x36a4a4(0x253)](_0x5899c8[_0x36a4a4(0x1f0)][_0x36a4a4(0xfe)],0x0))return util['inspect'](_0x5899c8[_0x36a4a4(0x1f0)][0x0]);if(_0x5899c8[_0x36a4a4(0xd2)])return _0x5899c8[_0x36a4a4(0xd2)];return _0x49ab78[_0x36a4a4(0x20c)];}[a79_0x5656a9(0x243)](_0x2055a9){const _0x4118a9=a79_0x5656a9,_0x4f3548={};_0x4f3548[_0x4118a9(0x1e4)]='Assert',_0x4f3548['SgzNK']=_0x4118a9(0xe0),_0x4f3548['mUybm']=_0x4118a9(0x13e);const _0x14e278=_0x4f3548,_0x23b77e=this[_0x4118a9(0x1d8)](_0x2055a9);if(_0x23b77e&&_0x23b77e[_0x4118a9(0xe1)](_0x14e278[_0x4118a9(0x1e4)]))return _0x14e278[_0x4118a9(0x115)];return _0x14e278[_0x4118a9(0x1e7)];}['getJestFailureData'](_0x41adfc){const _0x3759ba=a79_0x5656a9,_0x5b5441={'hsCIf':function(_0x2b048e,_0x5481e8){return _0x2b048e(_0x5481e8);},'XQUMV':'../../../helpers/test-observability/utils','wTgJY':function(_0x1b4b0a,_0x26bc0f){return _0x1b4b0a!==_0x26bc0f;},'pwupB':_0x3759ba(0x116)},{failureData:_0x47c8ef}=_0x5b5441['hsCIf'](require,_0x5b5441[_0x3759ba(0x23a)]),_0x9c1b3b=[];return _0x5b5441[_0x3759ba(0x20d)](_0x41adfc[_0x3759ba(0x1f0)],undefined)&&_0x9c1b3b['push'](_0x41adfc[_0x3759ba(0x1f0)],_0x5b5441[_0x3759ba(0x151)]),_0x47c8ef[_0x3759ba(0x209)](null,_0x9c1b3b);}async[a79_0x5656a9(0x181)](_0x47d84b,_0x52c273,_0x5a427a,_0x538190){const _0x17040f=a79_0x5656a9,_0x2e64d9={'ATuVS':_0x17040f(0x22e),'zmOiU':function(_0x47861e){return _0x47861e();},'bcauG':function(_0x29f630,_0x12cc29){return _0x29f630 in _0x12cc29;},'PUewg':function(_0x52cba7,_0x128a7b){return _0x52cba7 in _0x128a7b;},'zDZok':function(_0x4c6288,_0x2c97da){return _0x4c6288===_0x2c97da;},'jQstB':function(_0x1c0b84,_0x278c6b){return _0x1c0b84>_0x278c6b;},'EPRnW':_0x17040f(0xd0),'QGzYn':_0x17040f(0xd1),'FLUWG':function(_0x9acbef,_0x5e2125){return _0x9acbef===_0x5e2125;},'AKwVu':_0x17040f(0x111),'mtLZo':function(_0x20a205,_0x16f26c){return _0x20a205!==_0x16f26c;}},{hookData:_0x626304}=_0x538190,_0x1537f9=_0x5a427a[_0x17040f(0x221)](),_0x5a8479=_0x52c273[_0x17040f(0x221)](),_0x473647={};_0x473647[_0x17040f(0x131)]=0x2,_0x473647[_0x17040f(0x16c)]=0x3,logger['debug'](_0x17040f(0x14e)+_0x5a8479+_0x17040f(0x1ec)+_0x1537f9+',\x20hookData='+util[_0x17040f(0x248)](_0x626304,_0x473647));if(!_0x626304)return logger['debug'](_0x2e64d9[_0x17040f(0x173)]),{};const _0x180b24=_0x626304[_0x17040f(0x150)]||_0x626304[_0x17040f(0x109)]||_0x2e64d9[_0x17040f(0x207)](uuidv4),_0xea1000=_0x626304[_0x17040f(0x1a5)]||this[_0x17040f(0x12b)](_0x626304),_0x18d3ea=_0x52c273[_0x17040f(0x221)]()['split']('.')[0x1],_0x1f1063=_0x47d84b['getAllData']()[_0x17040f(0xe6)](_0xea1000),_0x180370=_0x1f1063?_0x1f1063[TestFrameworkConstants[_0x17040f(0x155)]]||{}:{};logger[_0x17040f(0x199)](_0x17040f(0xfa)+_0x180b24+_0x17040f(0x195)+_0xea1000+_0x17040f(0xdc)+_0x18d3ea+_0x17040f(0x1ec)+_0x1537f9);if(!_0x1f1063)return logger[_0x17040f(0x199)](_0x17040f(0x13a)+_0xea1000+',\x20storing\x20as\x20pending\x20hook'),this[_0x17040f(0x208)](_0x47d84b,_0xea1000,_0x52c273,_0x5a427a,_0x538190),{};let _0x2078d8=_0x1f1063[TestFrameworkConstants[_0x17040f(0x1e0)]];!_0x2078d8&&(_0x2078d8={});!_0x2e64d9['bcauG'](_0x18d3ea,_0x2078d8)&&(_0x2078d8[_0x18d3ea]=[]);let _0x417d2b=_0x1f1063[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x417d2b&&(_0x417d2b={});!_0x2e64d9[_0x17040f(0x204)](_0x18d3ea,_0x417d2b)&&(_0x417d2b[_0x18d3ea]=[]);const _0x5c0726={[_0xea1000]:{[TestFrameworkConstants[_0x17040f(0x1e0)]]:_0x2078d8,[TestFrameworkConstants[_0x17040f(0xc3)]]:_0x417d2b,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x17040f(0x19e)]()[0x0]||'',[TestFrameworkConstants[_0x17040f(0x1f4)]]:this[_0x17040f(0x184)]()[this[_0x17040f(0x19e)]()[0x0]]||''}};if(_0x2e64d9[_0x17040f(0x12e)](_0x5a427a,HookState[_0x17040f(0xfb)])){const _0x2fbd6b={'key':_0x18d3ea,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x180b24,[TestFrameworkConstants[_0x17040f(0x106)]]:TestFrameworkConstants[_0x17040f(0xcb)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x626304[_0x17040f(0x17f)]||new Date()[_0x17040f(0xce)](),[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x17040f(0x214)]]:_0x626304[_0x17040f(0xf2)]||_0x626304[_0x17040f(0xc5)]||_0x18d3ea,[TestFrameworkConstants[_0x17040f(0x155)]]:_0x180370};_0x2078d8[_0x18d3ea][_0x17040f(0x100)](_0x2fbd6b),_0x5c0726[_0xea1000][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x18d3ea;const _0x145596={};_0x145596[_0x17040f(0x131)]=0x2,logger[_0x17040f(0x199)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType='+_0x18d3ea+_0x17040f(0x125)+_0x180b24+_0x17040f(0x195)+_0xea1000+_0x17040f(0x205)+util[_0x17040f(0x248)](_0x2fbd6b,_0x145596));}else{if(_0x2e64d9[_0x17040f(0x12e)](_0x5a427a,HookState['POST'])){const _0x402b0a=_0x626304[_0x17040f(0x22f)]||(_0x626304[_0x17040f(0x1f0)]&&_0x2e64d9[_0x17040f(0x211)](_0x626304[_0x17040f(0x1f0)]['length'],0x0)?_0x2e64d9['EPRnW']:_0x2e64d9[_0x17040f(0x147)]),_0x590bb5=_0x2078d8[_0x18d3ea]||[];logger[_0x17040f(0x199)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType='+_0x18d3ea+_0x17040f(0x195)+_0xea1000+',\x20result='+_0x402b0a+_0x17040f(0x15c)+_0x590bb5['length']);if(_0x2e64d9[_0x17040f(0x12e)](_0x590bb5[_0x17040f(0xfe)],0x0)&&_0x2e64d9[_0x17040f(0x119)](_0x52c273,TestFrameworkState[_0x17040f(0x169)]))return logger[_0x17040f(0x199)](_0x2e64d9['AKwVu']),this['storePendingHook'](_0x47d84b,_0xea1000,_0x52c273,_0x5a427a,_0x538190),{};if(_0x2e64d9[_0x17040f(0x211)](_0x590bb5[_0x17040f(0xfe)],0x0)){const _0x4f2af5=_0x590bb5[_0x17040f(0x19a)]();_0x2e64d9[_0x17040f(0x119)](_0x402b0a,_0x2e64d9['EPRnW'])&&_0x626304['errorsDetailed']?(_0x4f2af5[TestFrameworkConstants[_0x17040f(0xef)]]=this[_0x17040f(0x243)](_0x626304),_0x4f2af5[TestFrameworkConstants[_0x17040f(0xe3)]]=this[_0x17040f(0x1d8)](_0x626304),_0x4f2af5[TestFrameworkConstants[_0x17040f(0x170)]]=this[_0x17040f(0x1a9)](_0x626304),logger[_0x17040f(0x199)](_0x17040f(0x175)+_0x18d3ea+_0x17040f(0x145)+_0x4f2af5[TestFrameworkConstants[_0x17040f(0xef)]]+_0x17040f(0x1a3)+_0x4f2af5[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]?.[_0x17040f(0x11c)](0x0,0xc8))):_0x4f2af5[TestFrameworkConstants[_0x17040f(0x106)]]=_0x2e64d9['QGzYn'];_0x2e64d9[_0x17040f(0x102)](_0x402b0a,TestFrameworkConstants[_0x17040f(0xcb)])&&(_0x4f2af5[TestFrameworkConstants[_0x17040f(0x106)]]=_0x402b0a);_0x4f2af5[TestFrameworkConstants[_0x17040f(0x238)]]=_0x626304[_0x17040f(0x210)]||new Date()['toISOString'](),_0x4f2af5[TestFrameworkConstants[_0x17040f(0x155)]]=_0x180370;const _0x12eb1e=_0x4f2af5[TestFrameworkConstants[_0x17040f(0x143)]];!_0x417d2b[_0x18d3ea]&&(_0x417d2b[_0x18d3ea]=[]);_0x417d2b[_0x18d3ea][_0x17040f(0x100)](_0x4f2af5),_0x5c0726[_0xea1000][TestFrameworkConstants[_0x17040f(0xed)]]=_0x18d3ea;const _0x1352f7={};_0x1352f7[_0x17040f(0x131)]=0x2,logger[_0x17040f(0x199)](_0x17040f(0x1dd)+_0x18d3ea+',\x20hookId='+_0x12eb1e+',\x20result='+_0x402b0a+',\x20hook='+util[_0x17040f(0x248)](_0x4f2af5,_0x1352f7));}}}return _0x5c0726;}[a79_0x5656a9(0x124)](_0x74b11e){const _0x43c2d2=a79_0x5656a9,_0x155faf={};_0x155faf[_0x43c2d2(0x24d)]=_0x43c2d2(0x213);const _0x14ed68=_0x155faf;try{const _0x5ebeb7=_0x74b11e[_0x43c2d2(0x116)]?this['getJestTestIdentifier'](_0x74b11e['test']):_0x74b11e[_0x43c2d2(0x17a)][_0x43c2d2(0x1a5)],_0x51b465=_0x74b11e[_0x43c2d2(0x15f)],_0x41096d=_0x51b465[_0x43c2d2(0x202)](),_0x4456b1=_0x51b465[_0x43c2d2(0x166)]()[_0x43c2d2(0xe6)](_0x5ebeb7);if(!_0x4456b1)return logger['debug'](_0x43c2d2(0x24c)+_0x5ebeb7),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x1112ab=this[_0x43c2d2(0x19e)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x53d228=this[_0x43c2d2(0x184)]()[this[_0x43c2d2(0x19e)]()[0x0]]||'',[TestFrameworkConstants[_0x43c2d2(0x1d6)]]:_0x2f12b9='',[TestFrameworkConstants[_0x43c2d2(0x1be)]]:_0x12a9a0=''}=_0x4456b1,_0x35d62d=_0x51b465[_0x43c2d2(0x174)]()[_0x43c2d2(0x221)]()[_0x43c2d2(0x117)]('.')[0x1],_0x443597=_0x51b465[_0x43c2d2(0x1f7)]()[_0x43c2d2(0x221)]()['split']('.')[0x1],_0x48c88c=global?.[_0x43c2d2(0x1fb)]?.['workerInfo']?.[_0x43c2d2(0x249)]||global[_0x43c2d2(0xe5)]||0x0,_0x3e80a4=_0x51b465[_0x43c2d2(0x1a1)](),_0xb45f15=Buffer[_0x43c2d2(0x19b)](JSON[_0x43c2d2(0x251)](_0x4456b1))[_0x43c2d2(0x221)](_0x14ed68['sbgtz']),_0x199a85={'hash':_0x41096d['getId'](),'threadId':_0x41096d[_0x43c2d2(0x1e6)]()['toString'](),'processId':_0x41096d[_0x43c2d2(0x137)]()[_0x43c2d2(0x221)]()},_0x2cb3cc={};_0x2cb3cc[_0x43c2d2(0xf5)]=_0x48c88c,_0x2cb3cc[_0x43c2d2(0x118)]=_0x1112ab,_0x2cb3cc[_0x43c2d2(0x148)]=_0x53d228,_0x2cb3cc[_0x43c2d2(0xee)]=_0x35d62d,_0x2cb3cc[_0x43c2d2(0x14c)]=_0x443597,_0x2cb3cc[_0x43c2d2(0x19c)]=_0x2f12b9,_0x2cb3cc[_0x43c2d2(0x1ea)]=_0x12a9a0,_0x2cb3cc[_0x43c2d2(0x150)]=_0x3e80a4,_0x2cb3cc[_0x43c2d2(0x20e)]=_0xb45f15,_0x2cb3cc['executionContext']=_0x199a85,_0x2cb3cc[_0x43c2d2(0x1f1)]=_0x5ebeb7;const _0x404ece=_0x2cb3cc;return _0x404ece;}catch(_0x369984){return logger['error']('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x43c2d2(0x168)](_0x369984)),{};}}async['sendLogCreatedEvent'](_0x2d0459,_0x283a5a,_0x57e294){const _0x34e500=a79_0x5656a9,_0x2d3c89={'aRkXe':function(_0x3d6b1d,_0x32d7c0){return _0x3d6b1d+_0x32d7c0;},'liXSh':'missing','eUQyY':'none','amTdV':function(_0xa7306,_0x58955a){return _0xa7306>_0x58955a;},'qutmj':function(_0x180685,_0x11c2c9,_0x3da64a,_0x5b93a9){return _0x180685(_0x11c2c9,_0x3da64a,_0x5b93a9);},'GimoP':function(_0x509252,_0x528664){return _0x509252-_0x528664;},'EEFLg':function(_0x17fa61,_0x46d4f1){return _0x17fa61===_0x46d4f1;},'YMDRo':function(_0x3c6be0,_0x581f0a){return _0x3c6be0/_0x581f0a;},'RjrrT':function(_0x3a83b2,_0x4dbe16){return _0x3a83b2<_0x4dbe16;},'ttUzA':function(_0x3287fa,_0x220e3c){return _0x3287fa*_0x220e3c;},'gTqJv':function(_0x4240b9,_0x25cf03){return _0x4240b9+_0x25cf03;},'gekpw':function(_0x3c1fad,_0x3b71bb){return _0x3c1fad+_0x3b71bb;}};try{const _0x67dce5=_0x57e294[_0x34e500(0x165)]||_0x57e294['testId'],_0x57b8ac=Array['from'](_0x2d0459['getAllData']()[_0x34e500(0x20a)]()),_0x425524=_0x2d0459[_0x34e500(0x166)]()['get'](_0x67dce5);if(!_0x425524){logger['debug'](_0x34e500(0x132)+_0x67dce5);return;}const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x346cbc='',[TestFrameworkConstants[_0x34e500(0x1f4)]]:_0x4ce9c8=''}=_0x425524;let _0x1a6b34=[];_0x425524&&_0x425524[TestFrameworkConstants[_0x34e500(0x240)]]&&Array[_0x34e500(0x1ac)](_0x425524[TestFrameworkConstants[_0x34e500(0x240)]])?(_0x1a6b34=_0x425524[TestFrameworkConstants[_0x34e500(0x240)]]||[],logger[_0x34e500(0x199)](_0x34e500(0x11d)+_0x1a6b34[_0x34e500(0xfe)]+_0x34e500(0x1d2)+_0x67dce5),_0x2d0459[_0x34e500(0xbf)]({[_0x67dce5]:{[TestFrameworkConstants[_0x34e500(0x240)]]:[],[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x34e500(0x19e)]()[0x0]||'',[TestFrameworkConstants[_0x34e500(0x1f4)]]:this[_0x34e500(0x184)]()[this[_0x34e500(0x19e)]()[0x0]]||''}}),logger[_0x34e500(0x199)](_0x34e500(0x1c8)+_0x67dce5)):logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x67dce5);logger[_0x34e500(0x199)](_0x34e500(0x1c7)+_0x1a6b34[_0x34e500(0xfe)]+_0x34e500(0x1cd)+_0x67dce5);const _0xb18b6e=_0x1a6b34[_0x34e500(0x171)](_0x518f08=>_0x518f08[_0x34e500(0x1d4)]==='TEST_SCREENSHOT');_0x2d3c89[_0x34e500(0xfd)](_0xb18b6e[_0x34e500(0xfe)],0x0)&&(logger[_0x34e500(0x199)](_0x34e500(0x1db)+_0xb18b6e[_0x34e500(0xfe)]+_0x34e500(0x1a6)+_0x67dce5),_0xb18b6e[_0x34e500(0x197)]((_0x1f79c1,_0x660c82)=>{const _0x204f24=_0x34e500;logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20'+_0x2d3c89[_0x204f24(0x18a)](_0x660c82,0x1)+'/'+_0xb18b6e['length']+_0x204f24(0x103)+(_0x1f79c1['test_identifier']||_0x2d3c89[_0x204f24(0x1b0)])+_0x204f24(0x1df)+(_0x1f79c1[_0x204f24(0x1c0)]||_0x2d3c89[_0x204f24(0x1b0)])+_0x204f24(0x167)+(_0x1f79c1[_0x204f24(0x189)]||_0x2d3c89[_0x204f24(0x231)])+',\x20messageLength='+(_0x1f79c1['message']?.[_0x204f24(0xfe)]||0x0));}));const _0x1686bf=_0x425524[TestFrameworkConstants[_0x34e500(0x254)]]||{},_0x4c6642=_0x2d3c89[_0x34e500(0x136)](getMediaArtifactsLogs,_0x1686bf,null,_0x67dce5),_0xd2b21=(_0x1a6b34||[])[_0x34e500(0x104)](_0x4c6642||[]),_0x1ab9b8=_0xb18b6e?.[_0x34e500(0xfe)]||0x0,_0x421f48=_0x2d3c89[_0x34e500(0x237)](_0x1a6b34?.[_0x34e500(0xfe)]||0x0,_0x1ab9b8);logger[_0x34e500(0x199)](_0x34e500(0xf8)+_0x67dce5+_0x34e500(0x1c1)+_0x421f48+_0x34e500(0x187)+_0x1ab9b8+_0x34e500(0x1d9)+(_0x4c6642?.[_0x34e500(0xfe)]||0x0)+_0x34e500(0x1c9)+_0xd2b21[_0x34e500(0xfe)]);if(!_0xd2b21||_0x2d3c89[_0x34e500(0x13b)](_0xd2b21[_0x34e500(0xfe)],0x0)){logger[_0x34e500(0x199)](_0x34e500(0x134)+_0x67dce5);return;}const _0x7cb1cb=0x28,_0x59277b=Math[_0x34e500(0x23b)](_0x2d3c89[_0x34e500(0x190)](_0xd2b21['length'],_0x7cb1cb));for(let _0x279b71=0x0;_0x2d3c89[_0x34e500(0x180)](_0x279b71,_0x59277b);_0x279b71++){const _0x533985=_0x2d3c89[_0x34e500(0x1de)](_0x279b71,_0x7cb1cb),_0x1a5572=_0x2d3c89[_0x34e500(0x18a)](_0x533985,_0x7cb1cb),_0x74a75a=_0xd2b21['slice'](_0x533985,_0x1a5572),_0x128687=global?.[_0x34e500(0x141)]??0x0,_0x3cb03b={'platformIndex':_0x128687,'logs':_0x74a75a,'testFrameworkName':_0x346cbc,'testFrameworkVersion':_0x4ce9c8,'testFrameworkState':_0x283a5a['toString']()[_0x34e500(0x117)]('.')[0x1]},_0x2af98e={};_0x2af98e[_0x34e500(0x131)]=0x3,_0x2af98e['maxArrayLength']=0x5,logger[_0x34e500(0x199)](_0x34e500(0x17b)+_0x2d3c89[_0x34e500(0x1d7)](_0x279b71,0x1)+'/'+_0x59277b+_0x34e500(0x10b)+_0x67dce5+_0x34e500(0x105)+_0x74a75a[_0x34e500(0xfe)]+',\x20platformIndex:\x20'+_0x128687+_0x34e500(0x1e8)+util[_0x34e500(0x248)](_0x3cb03b,_0x2af98e));const _0x57cac9=await GrpcClient[_0x34e500(0x252)]()[_0x34e500(0xc6)](_0x3cb03b);logger[_0x34e500(0x199)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x2d3c89['gekpw'](_0x279b71,0x1)+'/'+_0x59277b+'\x20-\x20testId:\x20'+_0x67dce5+_0x34e500(0x10a)+util['inspect'](_0x57cac9));}_0x4c6642&&_0x2d3c89[_0x34e500(0xfd)](_0x4c6642[_0x34e500(0xfe)],0x0)&&_0x425524[TestFrameworkConstants[_0x34e500(0x254)]]&&_0x2d0459[_0x34e500(0xbf)]({[_0x67dce5]:{[TestFrameworkConstants[_0x34e500(0x254)]]:{},[TestFrameworkConstants[_0x34e500(0x22b)]]:this['getTestFrameworks']()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x34e500(0x184)]()[this[_0x34e500(0x19e)]()[0x0]]||''}}),logger[_0x34e500(0x199)](_0x34e500(0x235)+_0x67dce5+_0x34e500(0x11f)+_0x59277b);}catch(_0x31d4f0){logger[_0x34e500(0x226)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20'+(_0x57e294[_0x34e500(0x165)]||_0x57e294[_0x34e500(0x176)])+_0x34e500(0x23e)+util['format'](_0x31d4f0));}}[a79_0x5656a9(0x208)](_0x5d6196,_0x4caff6,_0x562a41,_0x5f25ca,_0x63c609){const _0x39daa1=a79_0x5656a9,_0x4f66da={};_0x4f66da[_0x39daa1(0x1da)]=function(_0x1ae20c,_0x496dd3){return _0x1ae20c===_0x496dd3;},_0x4f66da[_0x39daa1(0x1fa)]=_0x39daa1(0x18d);const _0x54788e=_0x4f66da,{hookData:_0x361460}=_0x63c609,_0x1ad8b8={'testId':_0x4caff6,'testFrameworkState':_0x562a41,'hookState':_0x5f25ca,'args':_0x63c609,'timestamp':new Date()[_0x39daa1(0xce)]()};if(_0x54788e[_0x39daa1(0x1da)](_0x562a41,TestFrameworkState['BEFORE_ALL'])&&_0x361460){const _0x4e57f6={};_0x4e57f6[_0x39daa1(0x135)]=_0x361460[_0x39daa1(0x185)]||_0x361460[_0x39daa1(0x1ff)],_0x4e57f6[_0x39daa1(0x233)]=_0x361460['scope']||_0x361460[_0x39daa1(0x193)]&&_0x361460[_0x39daa1(0x193)][0x0]||'',_0x4e57f6['hookType']=_0x54788e[_0x39daa1(0x1fa)],_0x1ad8b8[_0x39daa1(0xda)]=_0x4e57f6,logger[_0x39daa1(0x199)](_0x39daa1(0xc1)+_0x4caff6+_0x39daa1(0x1a8)+_0x1ad8b8[_0x39daa1(0xda)][_0x39daa1(0x135)]+_0x39daa1(0xf1)+_0x1ad8b8['hookMetadata'][_0x39daa1(0x233)]);}_0x5d6196[_0x39daa1(0x15b)](_0x4caff6,_0x1ad8b8),logger['debug'](_0x39daa1(0xe2)+_0x4caff6+_0x39daa1(0x1cb)+_0x562a41+_0x39daa1(0x23c)+_0x5f25ca);}async[a79_0x5656a9(0x17c)](_0x4785c5,_0x4a78a1){const _0x258597=a79_0x5656a9,_0x14b809={};_0x14b809[_0x258597(0x1fc)]=function(_0x350e07,_0x132ced){return _0x350e07>_0x132ced;},_0x14b809[_0x258597(0x21e)]=function(_0x3bb3f2,_0x46fd13){return _0x3bb3f2===_0x46fd13;},_0x14b809[_0x258597(0xf7)]=function(_0x188a32,_0x254e84){return _0x188a32===_0x254e84;},_0x14b809[_0x258597(0x126)]=function(_0xd7d169,_0x50345c){return _0xd7d169>_0x50345c;},_0x14b809[_0x258597(0xd9)]=function(_0x4b7044,_0x3070f1){return _0x4b7044===_0x3070f1;},_0x14b809[_0x258597(0x206)]=_0x258597(0xc2);const _0xb032f3=_0x14b809;if(_0x4785c5[_0x258597(0xe7)](_0x4a78a1)){const _0x446fd6=_0x4785c5[_0x258597(0x1ca)](_0x4a78a1);logger['debug']('Processing\x20'+_0x446fd6[_0x258597(0xfe)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x4a78a1);for(const _0x5823cb of _0x446fd6){try{const _0x4aabb6=await this[_0x258597(0x181)](_0x4785c5,_0x5823cb['testFrameworkState'],_0x5823cb[_0x258597(0x14c)],_0x5823cb[_0x258597(0x21b)]);_0x4aabb6&&_0xb032f3['ViXeg'](Object['keys'](_0x4aabb6)[_0x258597(0xfe)],0x0)&&_0x4785c5['addMultipleEntries'](_0x4aabb6),await this['runHooks'](_0x4785c5,_0x5823cb['testFrameworkState'],_0x5823cb[_0x258597(0x14c)],_0x5823cb['args']);}catch(_0x116b38){logger[_0x258597(0x226)](_0x258597(0x229)+_0x4a78a1+_0x258597(0x23e)+_0x116b38);}}_0x4785c5['removePendingHooks'](_0x4a78a1),logger['debug'](_0x258597(0x212)+_0x4a78a1);}const _0x291593=_0x4785c5[_0x258597(0x166)]()['get'](_0x4a78a1);if(_0x291593){const _0x34bd9c=_0x291593[TestFrameworkConstants[_0x258597(0x219)]]||_0x291593[TestFrameworkConstants[_0x258597(0x13c)]],_0xe39c5a=_0x291593[TestFrameworkConstants[_0x258597(0x13f)]]||_0x291593[TestFrameworkConstants['KEY_TEST_SCOPES']]&&_0x291593[TestFrameworkConstants[_0x258597(0x1eb)]][0x0]||'';logger[_0x258597(0x199)](_0x258597(0x101)+_0x34bd9c+_0x258597(0xf1)+_0xe39c5a);const _0xa4e56=_0x4785c5[_0x258597(0x1b9)]();for(const _0x47a79d of _0xa4e56){if(_0xb032f3['pJsKP'](_0x47a79d,_0x4a78a1))continue;if(_0x4785c5[_0x258597(0xe7)](_0x47a79d)){const _0x523242=_0x4785c5[_0x258597(0x1ca)](_0x47a79d);for(const _0x51280d of _0x523242){if(_0xb032f3[_0x258597(0x21e)](_0x51280d[_0x258597(0xee)],TestFrameworkState[_0x258597(0x169)])&&_0x51280d[_0x258597(0xda)]){const _0x2b5c00=_0x51280d[_0x258597(0xda)]['filePath'],_0x1f686a=_0x51280d[_0x258597(0xda)][_0x258597(0x233)];if(_0xb032f3[_0x258597(0x21e)](_0x2b5c00,_0x34bd9c)&&_0xb032f3['nxzlC'](_0x1f686a,_0xe39c5a)){logger[_0x258597(0x199)](_0x258597(0x172)+_0x47a79d+_0x258597(0x24f)+_0x4a78a1+_0x258597(0x1a8)+_0x2b5c00+',\x20scope:\x20'+_0x1f686a);_0x51280d['args']&&_0x51280d[_0x258597(0x21b)][_0x258597(0x17a)]&&(_0x51280d[_0x258597(0x21b)][_0x258597(0x17a)][_0x258597(0x1a5)]=_0x4a78a1,logger[_0x258597(0x199)](_0x258597(0x1c4)+_0x47a79d+_0x258597(0x18f)+_0x4a78a1));try{const _0x168022=await this[_0x258597(0x181)](_0x4785c5,_0x51280d[_0x258597(0xee)],_0x51280d[_0x258597(0x14c)],_0x51280d[_0x258597(0x21b)]);_0x168022&&_0xb032f3[_0x258597(0x126)](Object[_0x258597(0x20a)](_0x168022)[_0x258597(0xfe)],0x0)&&_0x4785c5['addMultipleEntries'](_0x168022);await this[_0x258597(0x154)](_0x4785c5,_0x51280d[_0x258597(0xee)],_0x51280d[_0x258597(0x14c)],_0x51280d[_0x258597(0x21b)]);const _0x1b43ba=_0x4785c5[_0x258597(0x1ca)](_0x47a79d)[_0x258597(0x171)](_0x25f7fa=>_0x25f7fa!==_0x51280d);if(_0xb032f3[_0x258597(0xd9)](_0x1b43ba[_0x258597(0xfe)],0x0))_0x4785c5['removePendingHooks'](_0x47a79d);else{_0x4785c5[_0x258597(0x10c)](_0x47a79d);for(const _0x2a84a2 of _0x1b43ba){_0x4785c5['addPendingHook'](_0x47a79d,_0x2a84a2);}}logger[_0x258597(0x199)](_0xb032f3[_0x258597(0x206)]);}catch(_0x278807){logger[_0x258597(0x226)](_0x258597(0x11a)+_0x4a78a1+_0x258597(0x23e)+_0x278807);}}}}}}}}[a79_0x5656a9(0x222)](_0x4cdc73){const _0x404765=a79_0x5656a9,_0x1b3b9d={'gXvDa':function(_0x21d4dd){return _0x21d4dd();}};if(!_0x4cdc73||!_0x4cdc73[_0x404765(0x230)])return;_0x4cdc73[_0x404765(0x230)][_0x404765(0x234)]&&Array[_0x404765(0x1ac)](_0x4cdc73['parent'][_0x404765(0x234)])&&_0x4cdc73[_0x404765(0x230)][_0x404765(0x234)]['forEach'](_0x2d8fa1=>{const _0x34446a=_0x404765;!_0x2d8fa1['hookAnalyticsId']&&!_0x2d8fa1[_0x34446a(0x24e)]&&(_0x2d8fa1[_0x34446a(0x109)]=_0x1b3b9d[_0x34446a(0x18e)](uuidv4),_0x2d8fa1[_0x34446a(0x24e)]=_0x2d8fa1[_0x34446a(0x109)],logger[_0x34446a(0x199)](_0x34446a(0x142)+_0x2d8fa1[_0x34446a(0x227)]+',\x20hookUUID='+_0x2d8fa1[_0x34446a(0x109)]));}),this[_0x404765(0x222)](_0x4cdc73[_0x404765(0x230)]);}[a79_0x5656a9(0x188)](_0x5305ee){const _0x37a069=a79_0x5656a9,_0x8711f1={'JwTDS':function(_0x28e42f,_0x164bb2){return _0x28e42f(_0x164bb2);}};if(!_0x5305ee||!_0x5305ee[_0x37a069(0x230)])return[];const _0x2694eb=[];return _0x5305ee[_0x37a069(0x230)]['hooks']&&Array[_0x37a069(0x1ac)](_0x5305ee[_0x37a069(0x230)][_0x37a069(0x234)])&&_0x5305ee['parent']['hooks']['forEach'](_0x404c15=>{const _0x511165=_0x37a069,_0x9864b8=_0x404c15[_0x511165(0x109)]||_0x404c15[_0x511165(0x24e)];_0x9864b8&&!this[_0x511165(0x228)](_0x404c15)&&!_0x8711f1[_0x511165(0x242)](isInternalHook,_0x404c15['fn'])&&_0x2694eb[_0x511165(0x100)](_0x9864b8);}),[..._0x2694eb,...this[_0x37a069(0x188)](_0x5305ee[_0x37a069(0x230)])];}[a79_0x5656a9(0x18c)](_0x9ea7b){const _0x5ac6a1=a79_0x5656a9,_0x1fab35={'ssHBz':function(_0x496043,_0x1ed2bb){return _0x496043(_0x1ed2bb);},'tJNkZ':_0x5ac6a1(0xf6),'ivVwE':function(_0x3abf94,_0x48648f){return _0x3abf94(_0x48648f);}},_0x1a9594=new Map(),_0xc31e2e=_0x227122=>{const _0x45bf27=_0x5ac6a1,_0xd8ac19={'uyrBx':function(_0x475fa9,_0x335ce6){const _0x382b75=a79_0x3721;return _0x1fab35[_0x382b75(0x186)](_0x475fa9,_0x335ce6);},'RzjHu':_0x1fab35[_0x45bf27(0x191)]};if(!_0x227122||!_0x227122[_0x45bf27(0x230)])return;_0x227122['parent'][_0x45bf27(0x234)]&&Array[_0x45bf27(0x1ac)](_0x227122[_0x45bf27(0x230)][_0x45bf27(0x234)])&&_0x227122['parent'][_0x45bf27(0x234)][_0x45bf27(0x197)](_0xfe966=>{const _0x20e5f8=_0x45bf27,_0x2ccf3a=_0xfe966[_0x20e5f8(0x109)]||_0xfe966[_0x20e5f8(0x24e)];if(_0x2ccf3a&&!this[_0x20e5f8(0x228)](_0xfe966)&&!_0xd8ac19[_0x20e5f8(0x22a)](isInternalHook,_0xfe966['fn'])){const _0x5b1346={};_0x5b1346[_0x20e5f8(0x227)]=_0xfe966[_0x20e5f8(0x227)]||_0xd8ac19[_0x20e5f8(0x244)],_0x5b1346['name']=_0xfe966[_0x20e5f8(0xf2)]||'\x22'+_0xfe966[_0x20e5f8(0x227)]+_0x20e5f8(0xfc),_0x1a9594[_0x20e5f8(0x194)](_0x2ccf3a,_0x5b1346);}}),_0x1fab35['ivVwE'](_0xc31e2e,_0x227122['parent']);};return _0x1fab35['ivVwE'](_0xc31e2e,_0x9ea7b),_0x1a9594;}['isJestInternalHook'](_0x25744a){const _0xb92cd6=a79_0x5656a9,_0x46d785={};_0x46d785[_0xb92cd6(0x11e)]=_0xb92cd6(0xc4),_0x46d785['CFpBV']=_0xb92cd6(0x123);const _0x5b56c5=_0x46d785;try{const _0x1b1cad=this[_0xb92cd6(0xd3)](_0x25744a);return _0x1b1cad&&_0x1b1cad['includes'](_0x5b56c5[_0xb92cd6(0x11e)]);}catch(_0x37a92a){logger['debug'](_0x5b56c5[_0xb92cd6(0xc9)]);}return![];}['getRootParentFile'](_0x555596){const _0x2fdf5b=a79_0x5656a9;if(_0x555596[_0x2fdf5b(0xd8)])try{const _0x30b49a=stackTrace[_0x2fdf5b(0x122)](_0x555596[_0x2fdf5b(0xd8)]);return _0x30b49a[0x0]?_0x30b49a[0x0][_0x2fdf5b(0x177)]():null;}catch(_0x50c5ec){logger[_0x2fdf5b(0x199)](_0x2fdf5b(0x159)+util[_0x2fdf5b(0x168)](_0x50c5ec));}if(_0x555596[_0x2fdf5b(0x224)])return _0x555596[_0x2fdf5b(0x224)];return null;}}module[a79_0x5656a9(0x1e1)]=JestTestFramework;
@@ -0,0 +1 @@
1
+ const a80_0x1a1c04=a80_0x287d;(function(_0x3aae6a,_0x563759){const _0x1511b1=a80_0x287d,_0x299af9=_0x3aae6a();while(!![]){try{const _0x35b055=-parseInt(_0x1511b1(0x1eb))/0x1+parseInt(_0x1511b1(0x219))/0x2*(-parseInt(_0x1511b1(0x222))/0x3)+-parseInt(_0x1511b1(0x234))/0x4*(-parseInt(_0x1511b1(0x213))/0x5)+-parseInt(_0x1511b1(0x1f8))/0x6*(-parseInt(_0x1511b1(0x1fc))/0x7)+parseInt(_0x1511b1(0x203))/0x8*(parseInt(_0x1511b1(0x1fe))/0x9)+parseInt(_0x1511b1(0x220))/0xa+-parseInt(_0x1511b1(0x1e5))/0xb*(parseInt(_0x1511b1(0x1ea))/0xc);if(_0x35b055===_0x563759)break;else _0x299af9['push'](_0x299af9['shift']());}catch(_0x4e8171){_0x299af9['push'](_0x299af9['shift']());}}}(a80_0x1b79,0xb1675));const path=require('path'),TestFramework=require(a80_0x1a1c04(0x238)),TestFrameworkState=require(a80_0x1a1c04(0x235)),HookState=require(a80_0x1a1c04(0x207)),{createClassLogger}=require(a80_0x1a1c04(0x1fd)),TestFrameworkInstance=require(a80_0x1a1c04(0x22d)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a80_0x1a1c04(0x211)),TestFrameworkConstants=require(a80_0x1a1c04(0x216)),util=require('util'),logger=createClassLogger('NewmanTestFramework');function a80_0x1b79(){const _0x55f61f=['../state/testFrameworkState.js','KEY_TEST_LOCATION','KEY_TEST_SCOPES','./testFramework','meta','11vNFuWc','createContext','resolveInstance','KEY_CUSTOM_TAGS','createTestFrameworkEventPayload:\x20error=','12101832fGrHil','2368KlEgse','split','KEY_TEST_CODE','PRE','tags','KEY_TEST_RESULT','getThreadId','from','WNCfW','name','failure_type','KEY_TEST_STARTED_AT','scope','3963420PJwQwh','debug','stringify','getAllData','7ehxjLL','../../../helpers/classLogger.js','3555KtvuAI','KEY_TEST_FRAMEWORK_NAME','toString','SpnFw','KEY_TEST_ENDED_AT','5672blBouF','toISOString','DEFAULT_TEST_RESULT','KEY_TEST_FRAMEWORK_VERSION','../state/hookState.js','liWFX','result','getTestFrameworks','parseNewmanTest','started_at','format','trackEvent:\x20state=','KEY_TEST_META','test','../instances/trackedInstance.js','addMultipleEntries','5QxIEef','trackEvent','KEY_TEST_SCOPE','./constants/testFrameworkConstants.js','KEY_TEST_ID','custom_metadata','244704qPzXYr','get','createTestFrameworkEventPayload','finished_at','KEY_TEST_RERUN_NAME','KEY_TEST_FAILURE','getCurrentInstanceName','9194710FihIEc','parseNewmanTestResult','9iAAChE','scopes','getId','exports','KEY_TEST_LOGS','KEY_TEST_FILE_PATH','file_path','error','KEY_TEST_NAME','failure_reason','uuid','../instances/testFrameworkInstance.js','location','instance','getTestFrameworksVersions','qMdnu','NONE','KEY_TEST_FAILURE_TYPE','977836BjqOWv'];a80_0x1b79=function(){return _0x55f61f;};return a80_0x1b79();}function a80_0x287d(_0x32e0e4,_0x55d6d3){const _0x1b7912=a80_0x1b79();return a80_0x287d=function(_0x287de4,_0x823369){_0x287de4=_0x287de4-0x1e5;let _0x311a80=_0x1b7912[_0x287de4];return _0x311a80;},a80_0x287d(_0x32e0e4,_0x55d6d3);}class NewmanTestFramework extends TestFramework{constructor(_0x3e0f1c,_0x36c0f3,_0x2a47de){super(_0x3e0f1c,_0x36c0f3,_0x2a47de);}async[a80_0x1a1c04(0x214)](_0x55f3fe,_0x7deb8f,_0x46f6a7={}){const _0x471664=a80_0x1a1c04,_0x279316={};_0x279316['liWFX']=function(_0x4b3bdf,_0x31e175){return _0x4b3bdf===_0x31e175;},_0x279316[_0x471664(0x1f3)]=function(_0x1a0abe,_0x2b3f2d){return _0x1a0abe===_0x2b3f2d;};const _0x4bf5d5=_0x279316;logger[_0x471664(0x1f9)](_0x471664(0x20e)+_0x55f3fe+'\x20hook='+_0x7deb8f),await super[_0x471664(0x214)](_0x55f3fe,_0x7deb8f,_0x46f6a7);const _0xc247ee=this['resolveInstance'](_0x55f3fe,_0x7deb8f,_0x46f6a7);if(!_0xc247ee)return;try{if(_0x4bf5d5[_0x471664(0x208)](_0x55f3fe,TestFrameworkState['TEST'])&&_0x46f6a7[_0x471664(0x210)]){const _0x2975db=_0x4bf5d5[_0x471664(0x1f3)](_0x7deb8f,HookState[_0x471664(0x1ee)])?this[_0x471664(0x20b)](_0x46f6a7[_0x471664(0x210)]):this[_0x471664(0x221)](_0x46f6a7['test']);_0xc247ee[_0x471664(0x212)](_0x2975db);}}catch(_0xea6751){logger['error']('trackEvent:\x20error='+util[_0x471664(0x20d)](_0xea6751));}_0x46f6a7[_0x471664(0x22f)]=_0xc247ee,await this['runHooks'](_0xc247ee,_0x55f3fe,_0x7deb8f,_0x46f6a7);}[a80_0x1a1c04(0x20b)](_0x957397){const _0x20af0f=a80_0x1a1c04,_0x19a6c6=this[_0x20af0f(0x20a)]()[0x0],_0x551cae={};return _0x551cae[_0x957397['uuid']]={[TestFrameworkConstants[_0x20af0f(0x1ff)]]:_0x19a6c6,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x20af0f(0x230)]()[_0x19a6c6],[TestFrameworkConstants[_0x20af0f(0x226)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x20af0f(0x205)],[TestFrameworkConstants[_0x20af0f(0x217)]]:_0x957397[_0x20af0f(0x22c)],[TestFrameworkConstants['KEY_TEST_UUID']]:_0x957397[_0x20af0f(0x22c)],[TestFrameworkConstants[_0x20af0f(0x22a)]]:_0x957397[_0x20af0f(0x1f4)],[TestFrameworkConstants[_0x20af0f(0x227)]]:_0x957397[_0x20af0f(0x228)]||'',[TestFrameworkConstants[_0x20af0f(0x236)]]:_0x957397[_0x20af0f(0x22e)]||'',[TestFrameworkConstants[_0x20af0f(0x1ed)]]:null,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x957397[_0x20af0f(0x1ef)]||[],[TestFrameworkConstants[_0x20af0f(0x1f6)]]:_0x957397[_0x20af0f(0x20c)]||new Date()[_0x20af0f(0x204)](),[TestFrameworkConstants[_0x20af0f(0x215)]]:_0x957397[_0x20af0f(0x1f7)]||'',[TestFrameworkConstants[_0x20af0f(0x237)]]:_0x957397[_0x20af0f(0x223)]||[],[TestFrameworkConstants[_0x20af0f(0x21d)]]:null,[TestFrameworkConstants[_0x20af0f(0x1e8)]]:_0x957397[_0x20af0f(0x218)]||{},[TestFrameworkConstants[_0x20af0f(0x20f)]]:_0x957397[_0x20af0f(0x239)]||{}},_0x551cae;}[a80_0x1a1c04(0x221)](_0x5be6a0){const _0x1702e8=a80_0x1a1c04,_0x2ed4cb={};_0x2ed4cb[_0x1702e8(0x231)]='pending';const _0x3203e1=_0x2ed4cb,_0x3f75b9={};return _0x3f75b9[_0x5be6a0[_0x1702e8(0x22c)]]={[TestFrameworkConstants[_0x1702e8(0x1f0)]]:_0x5be6a0[_0x1702e8(0x209)]||_0x3203e1[_0x1702e8(0x231)],[TestFrameworkConstants[_0x1702e8(0x202)]]:_0x5be6a0[_0x1702e8(0x21c)]||new Date()[_0x1702e8(0x204)](),[TestFrameworkConstants[_0x1702e8(0x21e)]]:_0x5be6a0['failure']||[],[TestFrameworkConstants[_0x1702e8(0x233)]]:_0x5be6a0[_0x1702e8(0x1f5)]||null,[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x5be6a0[_0x1702e8(0x22b)]||null},_0x3f75b9;}[a80_0x1a1c04(0x1e7)](_0x50ac78){const _0x489d9c=a80_0x1a1c04;let _0x447896=TestFramework['getTrackedInstance']();if(!_0x447896){const _0x7c8031=TrackedInstance[_0x489d9c(0x1e6)](CLIUtils[_0x489d9c(0x21f)]());_0x447896=new TestFrameworkInstance(_0x7c8031,this['getTestFrameworks'](),this['getTestFrameworksVersions'](),_0x50ac78,HookState[_0x489d9c(0x232)]),TestFramework['setTrackedInstance'](_0x7c8031,_0x447896);}return _0x447896;}[a80_0x1a1c04(0x21b)](_0x317447){const _0x52165e=a80_0x1a1c04,_0x4feecc={};_0x4feecc[_0x52165e(0x201)]='base64';const _0xa1cade=_0x4feecc;try{const _0x5d61cc=_0x317447['test']?_0x317447[_0x52165e(0x210)][_0x52165e(0x22c)]:null,_0x54c99e=_0x317447[_0x52165e(0x22f)],_0xe2b662=_0x54c99e['getContext'](),_0x1e4a0d=_0x54c99e[_0x52165e(0x1fb)]()[_0x52165e(0x21a)](_0x5d61cc);if(!_0x1e4a0d)return{};const {[TestFrameworkConstants[_0x52165e(0x1ff)]]:_0x3be91d='',[TestFrameworkConstants[_0x52165e(0x206)]]:_0x1ce9b4='',[TestFrameworkConstants[_0x52165e(0x1f6)]]:_0x302bbb='',[TestFrameworkConstants[_0x52165e(0x202)]]:_0x2aab06=''}=_0x1e4a0d;return{'platformIndex':0x0,'testFrameworkName':_0x3be91d,'testFrameworkVersion':_0x1ce9b4,'testFrameworkState':_0x54c99e['getCurrentTestState']()[_0x52165e(0x200)]()['split']('.')[0x1],'hookState':_0x54c99e['getCurrentHookState']()['toString']()[_0x52165e(0x1ec)]('.')[0x1],'startedAt':_0x302bbb,'endedAt':_0x2aab06,'uuid':_0x5d61cc,'eventJson':Buffer[_0x52165e(0x1f2)](JSON[_0x52165e(0x1fa)](_0x1e4a0d))[_0x52165e(0x200)](_0xa1cade['SpnFw']),'executionContext':{'hash':_0xe2b662[_0x52165e(0x224)](),'threadId':_0xe2b662[_0x52165e(0x1f1)]()[_0x52165e(0x200)](),'processId':_0xe2b662['getProcessId']()[_0x52165e(0x200)]()}};}catch(_0x12e368){return logger[_0x52165e(0x229)](_0x52165e(0x1e9)+util[_0x52165e(0x20d)](_0x12e368)),{};}}}module[a80_0x1a1c04(0x225)]=NewmanTestFramework;
@@ -1 +1 @@
1
- const a76_0x6b23c0=a76_0x2657;function a76_0xee7b(){const _0x1c9daa=['1403455keyWtg','PLAYWRIGHT_DISPATCH','../instances/automationFrameworkInstance.js','params','fGbmt','69718RZkdIg','615544tNFwbk','2666IrWoxb','getAutomationFrameworkVersion','9VbxYVT','MFGpa','12qHJgCy','trackEvent','../cliUtils.js','bsParams','633xTQlSx','message',',\x20state=','instance','qvHNb','6DZScKO','14fthlQA','RoXfp','NONE','getAutomationFrameworkName','exports','SPZGg','resolveInstance','1619864JthrHI','getId','debug','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','logger','getCurrentInstanceName','trackPlaywrightInstance','info','getTrackedInstance','trackPlaywrightInstance:\x20instance\x20already\x20exists','./automationFramework.js','createContext','\x20target=','1472110mSkumN','../instances/trackedInstance.js','setTrackedInstance','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','1003314ohhabf','PlaywrightAutomationFramework'];a76_0xee7b=function(){return _0x1c9daa;};return a76_0xee7b();}(function(_0xab307c,_0x3df8a5){const _0x5bbd8c=a76_0x2657,_0xe3e827=_0xab307c();while(!![]){try{const _0x299739=parseInt(_0x5bbd8c(0x1d1))/0x1*(parseInt(_0x5bbd8c(0x1c9))/0x2)+-parseInt(_0x5bbd8c(0x1d6))/0x3*(parseInt(_0x5bbd8c(0x1de))/0x4)+parseInt(_0x5bbd8c(0x1c2))/0x5+parseInt(_0x5bbd8c(0x1c0))/0x6+parseInt(_0x5bbd8c(0x1d7))/0x7*(parseInt(_0x5bbd8c(0x1c8))/0x8)+-parseInt(_0x5bbd8c(0x1cb))/0x9*(parseInt(_0x5bbd8c(0x1bc))/0xa)+-parseInt(_0x5bbd8c(0x1c7))/0xb*(-parseInt(_0x5bbd8c(0x1cd))/0xc);if(_0x299739===_0x3df8a5)break;else _0xe3e827['push'](_0xe3e827['shift']());}catch(_0x44f4e9){_0xe3e827['push'](_0xe3e827['shift']());}}}(a76_0xee7b,0x78cbc));function a76_0x2657(_0x3364d4,_0x164d77){const _0xee7bf1=a76_0xee7b();return a76_0x2657=function(_0x2657fd,_0x3bdece){_0x2657fd=_0x2657fd-0x1b4;let _0x42b9e2=_0xee7bf1[_0x2657fd];return _0x42b9e2;},a76_0x2657(_0x3364d4,_0x164d77);}const AutomationFramework=require(a76_0x6b23c0(0x1b9)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFrameworkState=require('../state/automationFrameworkState.js'),CLIUtils=require(a76_0x6b23c0(0x1cf)),TrackedInstance=require(a76_0x6b23c0(0x1bd)),AutomationFrameworkInstance=require(a76_0x6b23c0(0x1c4));class PlaywrightAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a76_0x6b23c0(0x1c1));constructor(_0x222a9e,_0x1042a4){super(_0x222a9e,_0x1042a4);}async[a76_0x6b23c0(0x1ce)](_0x4c1960,_0xd46475,_0x2468d3={}){const _0xf95acc=a76_0x6b23c0,_0x36801e={};_0x36801e[_0xf95acc(0x1d8)]=function(_0x21ff9b,_0x409ceb){return _0x21ff9b===_0x409ceb;};const _0x205fe9=_0x36801e;this[_0xf95acc(0x1e2)][_0xf95acc(0x1e0)]('trackEvent:\x20automationFrameworkState='+_0x4c1960+'\x20hookState='+_0xd46475),await super[_0xf95acc(0x1ce)](_0x4c1960,_0xd46475,_0x2468d3);const _0x108b03=this[_0xf95acc(0x1dd)](_0x4c1960,_0xd46475,_0x2468d3);if(_0x205fe9['RoXfp'](_0x108b03,null))return;_0x2468d3[_0xf95acc(0x1d4)]=_0x108b03,await this['runHooks'](_0x108b03,_0x4c1960,_0xd46475,_0x2468d3);}[a76_0x6b23c0(0x1dd)](_0xedfdd4,_0x12153d,_0x135643={}){const _0x4fca5d=a76_0x6b23c0,_0x254f68={};_0x254f68['qvHNb']=function(_0xfa88e7,_0x1d10b7){return _0xfa88e7===_0x1d10b7;},_0x254f68[_0x4fca5d(0x1cc)]=function(_0x5ed6be,_0x45c4f0){return _0x5ed6be===_0x45c4f0;},_0x254f68[_0x4fca5d(0x1c6)]=function(_0x2cd4ed,_0x254d40){return _0x2cd4ed===_0x254d40;};const _0x311dd7=_0x254f68;let _0x307e7c=null;return(_0x311dd7[_0x4fca5d(0x1d5)](_0xedfdd4,AutomationFrameworkState['CREATE'])||_0x311dd7[_0x4fca5d(0x1cc)](_0xedfdd4,AutomationFrameworkState[_0x4fca5d(0x1c3)])&&(_0x135643['message']&&_0x135643[_0x4fca5d(0x1d2)][_0x4fca5d(0x1c5)]&&_0x135643['message'][_0x4fca5d(0x1c5)][_0x4fca5d(0x1d0)])||_0x311dd7[_0x4fca5d(0x1c6)](_0xedfdd4,AutomationFrameworkState[_0x4fca5d(0x1d9)]))&&this[_0x4fca5d(0x1b5)](_0xedfdd4,_0x135643),_0x307e7c=AutomationFramework[_0x4fca5d(0x1b7)](),_0x307e7c;}['trackPlaywrightInstance'](_0x28549e,_0x44d9ba){const _0x15894f=a76_0x6b23c0,_0x353447={};_0x353447[_0x15894f(0x1dc)]=_0x15894f(0x1b8);const _0x54a361=_0x353447;if(AutomationFramework[_0x15894f(0x1b7)]()){this['logger'][_0x15894f(0x1b6)](_0x54a361[_0x15894f(0x1dc)]);return;}const _0x283de5=CLIUtils[_0x15894f(0x1b4)](),_0x5998ab=TrackedInstance[_0x15894f(0x1ba)](_0x283de5);let _0x336235=null;this[_0x15894f(0x1e2)][_0x15894f(0x1b6)](_0x15894f(0x1e1)+_0x283de5+_0x15894f(0x1d3)+_0x28549e),_0x336235=new AutomationFrameworkInstance(_0x5998ab,this[_0x15894f(0x1da)](),this[_0x15894f(0x1ca)](),_0x28549e),AutomationFramework[_0x15894f(0x1be)](_0x5998ab,_0x336235),this[_0x15894f(0x1e2)][_0x15894f(0x1b6)](_0x15894f(0x1bf)+_0x5998ab[_0x15894f(0x1df)]()+_0x15894f(0x1bb)+_0x283de5);}}module[a76_0x6b23c0(0x1db)]=PlaywrightAutomationFramework;
1
+ function a81_0x590e(){const _0x4bcbf6=['trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','\x20target=','exports','instance',',\x20state=','111850Uvykaf','LjHAl','bsParams','\x20hookState=','CREATE','1067jOAUzZ','../cliUtils.js','413hFTHsw','PlaywrightAutomationFramework','getCurrentInstanceName','2367WgGHKS','1834038DTyNDI','trackEvent','debug','trackPlaywrightInstance:\x20instance\x20already\x20exists','PLAYWRIGHT_DISPATCH','372660vrgcUn','4dCJHCl','info','2858NFXNdd','fQfTo','getAutomationFrameworkVersion','../instances/trackedInstance.js','getAutomationFrameworkName','trackPlaywrightInstance','setTrackedInstance','5347730fHseUC','LQKwx','getTrackedInstance','logger','981GutyFY','message','../instances/automationFrameworkInstance.js','1301594CjzWqA','FkHdj','runHooks','NONE','139696HDCFRV','params'];a81_0x590e=function(){return _0x4bcbf6;};return a81_0x590e();}const a81_0x40fd9f=a81_0x293d;function a81_0x293d(_0x41cff1,_0x33acde){const _0x590e74=a81_0x590e();return a81_0x293d=function(_0x293d23,_0x54568f){_0x293d23=_0x293d23-0x1af;let _0x50e24e=_0x590e74[_0x293d23];return _0x50e24e;},a81_0x293d(_0x41cff1,_0x33acde);}(function(_0x26fffa,_0x312934){const _0x404c68=a81_0x293d,_0x4b5bb2=_0x26fffa();while(!![]){try{const _0x1b0322=parseInt(_0x404c68(0x1b5))/0x1+parseInt(_0x404c68(0x1d3))/0x2*(-parseInt(_0x404c68(0x1ca))/0x3)+parseInt(_0x404c68(0x1d1))/0x4*(parseInt(_0x404c68(0x1da))/0x5)+parseInt(_0x404c68(0x1cb))/0x6+-parseInt(_0x404c68(0x1c7))/0x7*(-parseInt(_0x404c68(0x1b9))/0x8)+-parseInt(_0x404c68(0x1b2))/0x9*(-parseInt(_0x404c68(0x1c0))/0xa)+-parseInt(_0x404c68(0x1c5))/0xb*(parseInt(_0x404c68(0x1d0))/0xc);if(_0x1b0322===_0x312934)break;else _0x4b5bb2['push'](_0x4b5bb2['shift']());}catch(_0x512946){_0x4b5bb2['push'](_0x4b5bb2['shift']());}}}(a81_0x590e,0xbfff4));const AutomationFramework=require('./automationFramework.js'),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFrameworkState=require('../state/automationFrameworkState.js'),CLIUtils=require(a81_0x40fd9f(0x1c6)),TrackedInstance=require(a81_0x40fd9f(0x1d6)),AutomationFrameworkInstance=require(a81_0x40fd9f(0x1b4));class PlaywrightAutomationFramework extends AutomationFramework{[a81_0x40fd9f(0x1b1)]=createClassLogger(a81_0x40fd9f(0x1c8));constructor(_0x5e2983,_0x18df8d){super(_0x5e2983,_0x18df8d);}async[a81_0x40fd9f(0x1cc)](_0x6e3350,_0x4bc0ef,_0x2991f6={}){const _0x17b81e=a81_0x40fd9f,_0x2404a8={};_0x2404a8[_0x17b81e(0x1af)]=function(_0x1816ae,_0x3070df){return _0x1816ae===_0x3070df;};const _0x154d70=_0x2404a8;this[_0x17b81e(0x1b1)][_0x17b81e(0x1cd)]('trackEvent:\x20automationFrameworkState='+_0x6e3350+_0x17b81e(0x1c3)+_0x4bc0ef),await super[_0x17b81e(0x1cc)](_0x6e3350,_0x4bc0ef,_0x2991f6);const _0x598c51=this['resolveInstance'](_0x6e3350,_0x4bc0ef,_0x2991f6);if(_0x154d70[_0x17b81e(0x1af)](_0x598c51,null))return;_0x2991f6[_0x17b81e(0x1be)]=_0x598c51,await this[_0x17b81e(0x1b7)](_0x598c51,_0x6e3350,_0x4bc0ef,_0x2991f6);}['resolveInstance'](_0x307e6e,_0x464216,_0x6008ea={}){const _0x352726=a81_0x40fd9f,_0x5d4667={};_0x5d4667[_0x352726(0x1d4)]=function(_0x4af9fe,_0x23ddab){return _0x4af9fe===_0x23ddab;},_0x5d4667[_0x352726(0x1b6)]=function(_0x64c3a4,_0x91a4fa){return _0x64c3a4===_0x91a4fa;};const _0x56b2c7=_0x5d4667;let _0x445d78=null;return(_0x56b2c7['fQfTo'](_0x307e6e,AutomationFrameworkState[_0x352726(0x1c4)])||_0x56b2c7['FkHdj'](_0x307e6e,AutomationFrameworkState[_0x352726(0x1cf)])&&(_0x6008ea[_0x352726(0x1b3)]&&_0x6008ea[_0x352726(0x1b3)][_0x352726(0x1ba)]&&_0x6008ea['message']['params'][_0x352726(0x1c2)])||_0x56b2c7[_0x352726(0x1b6)](_0x307e6e,AutomationFrameworkState[_0x352726(0x1b8)]))&&this['trackPlaywrightInstance'](_0x307e6e,_0x6008ea),_0x445d78=AutomationFramework[_0x352726(0x1b0)](),_0x445d78;}[a81_0x40fd9f(0x1d8)](_0x39c12d,_0x243d1b){const _0x112a79=a81_0x40fd9f,_0x5c7f6f={};_0x5c7f6f['LjHAl']=_0x112a79(0x1ce);const _0x22962b=_0x5c7f6f;if(AutomationFramework[_0x112a79(0x1b0)]()){this[_0x112a79(0x1b1)][_0x112a79(0x1d2)](_0x22962b[_0x112a79(0x1c1)]);return;}const _0x32fc5d=CLIUtils[_0x112a79(0x1c9)](),_0x2e2824=TrackedInstance['createContext'](_0x32fc5d);let _0x2ab3c1=null;this[_0x112a79(0x1b1)][_0x112a79(0x1d2)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x32fc5d+_0x112a79(0x1bf)+_0x39c12d),_0x2ab3c1=new AutomationFrameworkInstance(_0x2e2824,this[_0x112a79(0x1d7)](),this[_0x112a79(0x1d5)](),_0x39c12d),AutomationFramework[_0x112a79(0x1d9)](_0x2e2824,_0x2ab3c1),this[_0x112a79(0x1b1)][_0x112a79(0x1d2)](_0x112a79(0x1bb)+_0x2e2824['getId']()+_0x112a79(0x1bc)+_0x32fc5d);}}module[a81_0x40fd9f(0x1bd)]=PlaywrightAutomationFramework;
@@ -1 +1 @@
1
- const a77_0x4350ba=a77_0x171c;(function(_0x227695,_0x4ec4e5){const _0x3bac00=a77_0x171c,_0x41ecfa=_0x227695();while(!![]){try{const _0x1dddaa=parseInt(_0x3bac00(0x1d7))/0x1+-parseInt(_0x3bac00(0x2ca))/0x2+-parseInt(_0x3bac00(0x245))/0x3+parseInt(_0x3bac00(0x215))/0x4*(parseInt(_0x3bac00(0x29e))/0x5)+parseInt(_0x3bac00(0x1dd))/0x6+parseInt(_0x3bac00(0x22c))/0x7+-parseInt(_0x3bac00(0x2cf))/0x8*(parseInt(_0x3bac00(0x208))/0x9);if(_0x1dddaa===_0x4ec4e5)break;else _0x41ecfa['push'](_0x41ecfa['shift']());}catch(_0x2aa60b){_0x41ecfa['push'](_0x41ecfa['shift']());}}}(a77_0x19ea,0x6e04c));function a77_0x19ea(){const _0x1e4f2b=['logs','JvKIh','DEFAULT_TEST_RESULT','THlop','\x20hookState:\x20','KEY_EVENT_STARTED_AT','1428363LUruhm','nKLUu','JRyZo','trackStepEvent:\x20testId=','Expected\x20to\x20fail,\x20but\x20passed.','map','trackEvent','wsDbR','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','\x20and\x20args\x20=\x20','failure_type','\x20\x20and\x20args\x20=\x20','resolveInstance','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','eventJson','mWCwp','upplN','getTestUUID','../../playwright/reporter/pwUtils','debug','../../utils/constants','jrhcW','createTestFrameworkEventPayload\x20testId:\x20','cbJHi','BvAfT','KEY_TEST_LOCATION','TMvaT','message','UIyEm','uuid','set','\x20hookState=','description','setTestDetails','parsePlaywrightTestResult:\x20testId=','./constants/testFrameworkConstants.js','ywxwi','../../../helpers/classLogger.js','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','PGWHa','VdvbB','LGXng','\x20testHookState=','sendLogCreatedEvent:\x20testId=','logCreatedEvent','INIT_TEST','yvhga','duration','result','title','concat','err','getRef','getId','KEY_TEST_RESULT_AT','\x20target=','KEY_HOOK_LAST_STARTED','OmklA','\x20steps\x20for\x20testId=','error','base64','\x20step=\x22','KEY_TEST_FILE_PATH','dTUYn','skipped','toString','values','tQbdp','trackStepEvent',',\x20state=','\x20&\x20hook\x20=\x20','kPZRe','TGqEb','KEY_TEST_ENDED_AT','errors','KEY_HOOKS_FINISHED','sendLogCreatedEvent','Error\x20processing\x20direct\x20trace\x20file\x20','parsePlaywrightTestResult','trackPlaywrightInstance','parallelIndex','BloRH','ObrqP','../instances/testFrameworkInstance.js','statSync','../instances/trackedInstance.js','PthEj','hXwid','heZwi','2615RKOaYw',',\x20testFrameworkState=','KEY_TEST_ATTACHMENTS','path','failed','getThreadId','JhzBN','buetS','oIxVo','../grpcClient','../../../helpers/test-observability/utils','KEY_TEST_ID','zUkby','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','MAX_TOP_LEVEL_STEPS','pOkDG','annotations','iEaqh','DEFAULT_HOOK_RESULT','CdoJi','\x20payload=','KEY_CUSTOM_TAGS','RQqpQ','split','KEY_TEST_STARTED_AT','basename','createContext','GFPeU','NwtRQ','IRjRc','get','DnDWJ','bptSf','ceil','failure','field_type','\x20instanceId=','meeXJ','FQEEw','KEY_TEST_FAILURE','sendLogCreatedEvent\x20for\x20testId:\x20','startTime','\x20response=','PRE','496268NLfIlQ','fAQPZ','retry','getProcessId','getTraceFilePaths','1160KlzxgU','KEY_TEST_UUID','KEY_TEST_SCOPES','KEY_LOGS','text','file_name','getTestDetails','some','HwrBZ','trackHookEvent','getInstance','../TestInfo.js','expectedStatus','No\x20reason\x20provided','Error\x20in\x20createTestFrameworkEventPayload:\x20','trim','492934hEeDbv','Error\x20processing\x20trace\x20file\x20','stack','sSWDz','pop','getAllData','1592394DfItWl','KEY_EVENT_ENDED_AT','inspect','yWgFa','format','Kflrp','steps','executionContext','../cliUtils.js','UlTXx','Lppek','KEY_HOOK_NAME','createTestFrameworkEventPayload','VeoiA','getContext','toISOString','TEST','vCvJm','FTwuw','exports','OfQbW','KEY_TEST_CODE','zFeLm','KEY_TEST_FAILURE_TYPE','KEY_TEST_NAME','../state/hookState.js','stringify','addMultipleEntries','util','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','step','status','KEY_TEST_FRAMEWORK_VERSION','fbjWd','../../../../src/helpers/helper','parent_id','POST','\x20result=','KEY_TEST_RESULT','KEY_TEST_TAGS','browserstackPlatformIndex','qWtQr','uPYeR','24336aSvoal','TEST_ATTACHMENT','KEY_HOOK_FAILURE','trackEvent:\x20found\x20instance,\x20testFrameworkState=','from','started_at','JgSRm','NONE','size','IuSZA','\x20batch\x20','lJCuo','aLokJ','4632KHODRp','filePath','testFrameworkState','fEENd','KEY_HOOK_RESULT','push','attachments','xrIyJ','YvdDj','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','kFkQv','passed','parsePlaywrightTest','instance','kjlBE','isArray','fRuLP','KEY_HOOKS_STARTED','testFrameworkName','keyword','ggwbh','timedOut','startedAt','1421028HHNVzt','info','setTrackedInstance','filter','Hook\x20List\x20in\x20Post\x20','PlaywrightTestFramework','zyFSz','KEY_TEST_SCOPE','test','forEach','KEY_TEST_FRAMEWORK_NAME','MAX_NESTED_STEP_DEPTH','hookState','getTestFrameworks','length','testUId','KEY_HOOK_ID','parsePlaywrightTestResult:\x20extracted\x20','KEY_HOOK_FAILURE_TYPE'];a77_0x19ea=function(){return _0x1e4f2b;};return a77_0x19ea();}function a77_0x171c(_0x2edfb4,_0x347df8){const _0x19eae1=a77_0x19ea();return a77_0x171c=function(_0x171c55,_0x17f0d5){_0x171c55=_0x171c55-0x1d7;let _0x4d7539=_0x19eae1[_0x171c55];return _0x4d7539;},a77_0x171c(_0x2edfb4,_0x347df8);}const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a77_0x4350ba(0x1f6)),{createClassLogger}=require(a77_0x4350ba(0x26a)),TestFrameworkInstance=require(a77_0x4350ba(0x298)),CLIUtils=require(a77_0x4350ba(0x1e5)),TrackedInstance=require(a77_0x4350ba(0x29a)),TestFrameworkConstants=require(a77_0x4350ba(0x268)),logger=createClassLogger(a77_0x4350ba(0x231)),{v4:uuidv4}=require(a77_0x4350ba(0x262)),util=require(a77_0x4350ba(0x1f9)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require('../../../helpers/helper.js'),TestInfo=require(a77_0x4350ba(0x2da)),GrpcClient=require(a77_0x4350ba(0x2a7)),{removeAnsiColors,getFailureType,failureData}=require(a77_0x4350ba(0x2a8)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a77_0x4350ba(0x257)),{findNestedKey,sendTraceZip,validateFilePath}=require(a77_0x4350ba(0x257)),path=require(a77_0x4350ba(0x2a1)),fs=require('fs'),helper=require(a77_0x4350ba(0x1ff)),{PLAYWRIGHT_TRACE_LOGS}=require(a77_0x4350ba(0x259));class PlaywrightTestFramework extends TestFramework{constructor(_0x513750,_0x6c17bd,_0x3b6e81){super(_0x513750,_0x6c17bd,_0x3b6e81);}async[a77_0x4350ba(0x24b)](_0x1e6ee1,_0x2f5bc6,_0x594a48={}){const _0x511b5e=a77_0x4350ba,_0x4f3b75={'VdvbB':function(_0x29df31,_0x4406b8){return _0x29df31===_0x4406b8;},'PGWHa':function(_0x438a3c,_0x14a638){return _0x438a3c===_0x14a638;},'upplN':function(_0x429b40,_0x5e9347){return _0x429b40===_0x5e9347;},'lJCuo':function(_0x37c0e9,_0x47ed1b,_0x132850){return _0x37c0e9(_0x47ed1b,_0x132850);},'cbJHi':function(_0x447505,_0x1927e3){return _0x447505===_0x1927e3;},'qWtQr':function(_0x2decc0,_0x2484c5,_0x5bbc15){return _0x2decc0(_0x2484c5,_0x5bbc15);},'FvuOh':function(_0x37ce20,_0x95d228,_0x2ed012,_0x32e5a6){return _0x37ce20(_0x95d228,_0x2ed012,_0x32e5a6);},'ZszCR':_0x511b5e(0x234),'FTwuw':_0x511b5e(0x24d)};super[_0x511b5e(0x24b)](_0x1e6ee1,_0x2f5bc6,_0x594a48);if(_0x4f3b75[_0x511b5e(0x26d)](_0x1e6ee1,TestFrameworkState['TEST_SCREENSHOT'])){const _0x151bda=TestInfo['getTestIdentifierFromTestInfo'](_0x594a48[_0x511b5e(0x234)],_0x594a48[_0x511b5e(0x234)][_0x511b5e(0x2cc)]);TestInfo[_0x511b5e(0x266)](_0x151bda,_0x594a48['result'],!![]);}if(_0x4f3b75['VdvbB'](_0x1e6ee1,TestFrameworkState['TEST_STEP'])){this[_0x511b5e(0x289)](_0x1e6ee1,_0x2f5bc6,_0x594a48);return;}const _0x3d3ac6=this[_0x511b5e(0x251)](_0x1e6ee1,_0x2f5bc6,_0x594a48);if(!_0x3d3ac6)return;logger[_0x511b5e(0x258)](_0x511b5e(0x20b)+_0x1e6ee1+_0x511b5e(0x264)+_0x2f5bc6+_0x511b5e(0x2c2)+_0x3d3ac6[_0x511b5e(0x279)]());try{if(_0x4f3b75[_0x511b5e(0x26c)](_0x2f5bc6,HookState[_0x511b5e(0x2c9)])&&_0x4f3b75[_0x511b5e(0x255)](_0x1e6ee1,TestFrameworkState[_0x511b5e(0x1ed)])){const _0x525a4a=_0x594a48[_0x511b5e(0x234)];logger[_0x511b5e(0x258)]('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x525a4a['id']+'}');const _0x486e68=TestInfo[_0x511b5e(0x256)](_0x4f3b75[_0x511b5e(0x213)](getTestRunIdentifier,_0x525a4a,_0x594a48['result']['retry']));_0x3d3ac6['addMultipleEntries'](this[_0x511b5e(0x221)](_0x486e68,_0x525a4a,_0x594a48[_0x511b5e(0x275)])),logger['debug'](_0x511b5e(0x26b)+_0x525a4a['id']+_0x511b5e(0x29f)+_0x1e6ee1+_0x511b5e(0x26f)+_0x2f5bc6+'\x20instance='+_0x3d3ac6[_0x511b5e(0x279)]());}if(_0x4f3b75[_0x511b5e(0x25c)](_0x2f5bc6,HookState[_0x511b5e(0x201)])&&_0x4f3b75[_0x511b5e(0x255)](_0x1e6ee1,TestFrameworkState[_0x511b5e(0x1ed)])){const _0x5dbf59=_0x594a48[_0x511b5e(0x234)],_0x2627ec=_0x594a48[_0x511b5e(0x275)];logger['debug'](_0x511b5e(0x252)+_0x5dbf59['id']);const _0x25313f=_0x4f3b75[_0x511b5e(0x206)](getTestRunIdentifier,_0x5dbf59,_0x2627ec[_0x511b5e(0x2cc)]),_0x145045=_0x3d3ac6[_0x511b5e(0x1dc)]()[_0x511b5e(0x2bc)](_0x25313f)[TestFrameworkConstants['KEY_TEST_UUID']],{steps:_0x3324b0,logs:_0xcc87ae}=_0x4f3b75['FvuOh'](getStepsAndLogs,_0x2627ec['steps'],_0x145045,_0x4f3b75['ZszCR']);_0x3d3ac6['addMultipleEntries'](this[_0x511b5e(0x293)](_0x5dbf59['id'],_0x2627ec,_0x5dbf59,_0x3324b0)),await this[_0x511b5e(0x291)](_0x3d3ac6,_0x1e6ee1,_0x2f5bc6,_0x4f3b75['ZszCR'],_0x594a48,_0xcc87ae);}if(CLIUtils['matchHookRegex'](_0x1e6ee1[_0x511b5e(0x286)]()[_0x511b5e(0x2b5)]('.')[0x1])){const _0x4c362d=await this[_0x511b5e(0x2d8)](_0x3d3ac6,_0x1e6ee1,_0x2f5bc6,_0x594a48);_0x3d3ac6[_0x511b5e(0x1f8)](_0x4c362d);}}catch(_0x171506){logger[_0x511b5e(0x280)](util['format'](_0x4f3b75[_0x511b5e(0x1ef)],_0x1e6ee1,_0x2f5bc6,_0x594a48[_0x511b5e(0x23a)],_0x171506));}_0x594a48[_0x511b5e(0x222)]=_0x3d3ac6,await this['runHooks'](_0x3d3ac6,_0x1e6ee1,_0x2f5bc6,_0x594a48);}[a77_0x4350ba(0x251)](_0x31fc2d,_0x1f22d7,_0x2c28bd={}){const _0x38934b=a77_0x4350ba,_0x5e3aba={};_0x5e3aba[_0x38934b(0x242)]=function(_0x15fe28,_0x58770c){return _0x15fe28===_0x58770c;},_0x5e3aba[_0x38934b(0x2a6)]=function(_0x26fc06,_0xcde958){return _0x26fc06===_0xcde958;};const _0x14e040=_0x5e3aba;let _0x232430=null;return(_0x14e040[_0x38934b(0x242)](_0x31fc2d,TestFrameworkState[_0x38934b(0x272)])||_0x14e040[_0x38934b(0x2a6)](_0x31fc2d,TestFrameworkState[_0x38934b(0x20f)]))&&this[_0x38934b(0x294)](_0x31fc2d,_0x2c28bd),_0x232430=TestFramework['getTrackedInstance'](),_0x232430;}['trackPlaywrightInstance'](_0x40df1d,_0x4f08de){const _0x191ff4=a77_0x4350ba,_0x1f0ce7=CLIUtils['getCurrentInstanceName'](),_0x58e718=TrackedInstance[_0x191ff4(0x2b8)](_0x1f0ce7);let _0x148953=null;logger['info']('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x1f0ce7+_0x191ff4(0x28a)+_0x40df1d),_0x148953=new TestFrameworkInstance(_0x58e718,this[_0x191ff4(0x239)](),this['getTestFrameworksVersions'](),_0x40df1d,HookState[_0x191ff4(0x20f)]),TestFramework[_0x191ff4(0x22e)](_0x58e718,_0x148953),logger[_0x191ff4(0x22d)](_0x191ff4(0x1fa)+_0x58e718[_0x191ff4(0x27a)]()+_0x191ff4(0x27c)+_0x1f0ce7);}[a77_0x4350ba(0x221)](_0x2a0945,_0x5e0e5f,_0x38a1e6){const _0x30c360=a77_0x4350ba,_0x27933b={'JvKIh':function(_0x57259d,_0x37c500){return _0x57259d(_0x37c500);},'GFPeU':function(_0xb767bf,_0x3c046f){return _0xb767bf(_0x3c046f);},'fbjWd':function(_0x11e135,_0x42e638){return _0x11e135(_0x42e638);},'dTUYn':function(_0x30162c,_0x47dd11){return _0x30162c(_0x47dd11);},'aLokJ':function(_0x1eb6d4,_0x17504d,_0x4bc9d2){return _0x1eb6d4(_0x17504d,_0x4bc9d2);},'TGqEb':function(_0x958dcd,_0x4f86b8){return _0x958dcd(_0x4f86b8);}},_0x880160=_0x27933b[_0x30c360(0x240)](getPlaywrightTestId,_0x5e0e5f),_0x5b41af=_0x27933b[_0x30c360(0x2b9)](getPlaywrightTestTitle,_0x5e0e5f),_0x2d3053=_0x27933b[_0x30c360(0x1fe)](getTestTags,_0x5e0e5f),_0x21566e=_0x27933b[_0x30c360(0x2b9)](getPlaywrightTestCode,_0x5e0e5f),_0x25ceb6=_0x27933b[_0x30c360(0x2b9)](getPlaywrightTestFilePath,_0x5e0e5f),_0x114503=_0x25ceb6,_0x2d8d08=_0x27933b['JvKIh'](getPlaywrightTestScope,_0x5e0e5f),_0x55771a=_0x27933b[_0x30c360(0x284)](getPlaywrightTestScopes,_0x5e0e5f),_0x30f491=_0x27933b[_0x30c360(0x1fe)](getPlaywrightSessionName,_0x5e0e5f),_0xbcaae3=this[_0x30c360(0x239)]()[0x0],_0x320154=_0x27933b[_0x30c360(0x214)](getTestRunIdentifier,_0x5e0e5f,_0x38a1e6['retry']),_0x3c5588={[TestFrameworkConstants[_0x30c360(0x236)]]:_0xbcaae3,[TestFrameworkConstants[_0x30c360(0x1fd)]]:this['getTestFrameworksVersions']()[_0xbcaae3],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x30c360(0x226)]]:{},[TestFrameworkConstants[_0x30c360(0x2d0)]]:_0x2a0945,[TestFrameworkConstants[_0x30c360(0x203)]]:TestFrameworkConstants[_0x30c360(0x241)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x30f491,[TestFrameworkConstants[_0x30c360(0x283)]]:_0x25ceb6,[TestFrameworkConstants[_0x30c360(0x2a9)]]:_0x880160,[TestFrameworkConstants[_0x30c360(0x1f5)]]:_0x5b41af,[TestFrameworkConstants[_0x30c360(0x25e)]]:_0x114503,[TestFrameworkConstants[_0x30c360(0x1f2)]]:_0x21566e,[TestFrameworkConstants[_0x30c360(0x204)]]:_0x2d3053,[TestFrameworkConstants[_0x30c360(0x2b6)]]:_0x5e0e5f['results'][0x0]['startTime'],[TestFrameworkConstants[_0x30c360(0x233)]]:_0x2d8d08,[TestFrameworkConstants[_0x30c360(0x2d1)]]:_0x55771a,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x27933b[_0x30c360(0x28d)](getPlaywrightCustomRerunParam,_0x5e0e5f)};TestInfo[_0x30c360(0x266)](_0x320154,_0x3c5588);const _0x486db1={};return _0x486db1[_0x320154]=_0x3c5588,_0x486db1;}[a77_0x4350ba(0x293)](_0x133c25,_0x40cfd0,_0x3b3cad,_0x456ac6){const _0x4b09eb=a77_0x4350ba,_0x99f1ea={'meeXJ':function(_0xc36fd4,_0x3f6733){return _0xc36fd4(_0x3f6733);},'zUkby':_0x4b09eb(0x209),'YvdDj':function(_0x59f1a1,_0x1309c9){return _0x59f1a1===_0x1309c9;},'iEaqh':function(_0x53fb06,_0x5aa9ea){return _0x53fb06===_0x5aa9ea;},'mWCwp':function(_0x1c9cb4,_0x6fbae){return _0x1c9cb4(_0x6fbae);},'xrIyJ':_0x4b09eb(0x2dc),'IuSZA':'multi_dropdown','Kflrp':function(_0x4ab6ab,_0xa63e52){return _0x4ab6ab(_0xa63e52);},'heZwi':function(_0x55f2bb,_0x492ac8,_0x2bd947){return _0x55f2bb(_0x492ac8,_0x2bd947);},'aUwWs':function(_0x2de404,_0x27836b){return _0x2de404+_0x27836b;},'UIyEm':_0x4b09eb(0x285),'uPYeR':'passed','LGXng':_0x4b09eb(0x2a2),'wsDbR':_0x4b09eb(0x22a),'UlTXx':function(_0x29f396,_0x3490da){return _0x29f396===_0x3490da;},'Lppek':_0x4b09eb(0x249),'NwtRQ':function(_0x5516af,_0xc21d1f,_0x13dcab){return _0x5516af(_0xc21d1f,_0x13dcab);},'NmLgk':function(_0x2b0e0f,_0x90dab8){return _0x2b0e0f||_0x90dab8;},'yvhga':function(_0x4c1935,_0x406b7a){return _0x4c1935(_0x406b7a);},'ywxwi':function(_0x47657f,_0x2d8e86){return _0x47657f>_0x2d8e86;},'sSWDz':function(_0x52baa3,_0x1561f1){return _0x52baa3-_0x1561f1;},'TDCMv':function(_0x286ab3,_0x26f33e,_0x2e52ac,_0x3626b5){return _0x286ab3(_0x26f33e,_0x2e52ac,_0x3626b5);},'vCvJm':_0x4b09eb(0x234),'hXwid':function(_0x2325c6,_0x39ac4a){return _0x2325c6===_0x39ac4a;},'VeoiA':function(_0x25b9bc,_0xdfba7c){return _0x25b9bc>=_0xdfba7c;},'HwrBZ':function(_0x2b489d,_0x2e3a2c){return _0x2b489d===_0x2e3a2c;},'kFkQv':function(_0x4911d8,_0x1b49aa){return _0x4911d8>_0x1b49aa;},'TMvaT':'path','JhzBN':function(_0xd7f89b,_0x4304b1){return _0xd7f89b>_0x4304b1;}};logger[_0x4b09eb(0x258)](_0x4b09eb(0x267)+_0x133c25);const _0x564570=_0x99f1ea[_0x4b09eb(0x29d)](getTestRunIdentifier,_0x3b3cad,_0x40cfd0[_0x4b09eb(0x2cc)]),_0x531690=new Date(_0x40cfd0['startTime']),_0x12739f=_0x40cfd0[_0x4b09eb(0x274)],_0x10b79a=new Date(_0x99f1ea['aUwWs'](_0x531690['getTime'](),_0x12739f)),_0xfccccf=_0x40cfd0['status'],_0x44dc42=TestInfo[_0x4b09eb(0x2d5)](_0x564570)[TestFrameworkConstants[_0x4b09eb(0x2b3)]]||{};let _0x41677c=_0xfccccf;if(_0x99f1ea[_0x4b09eb(0x21d)](_0x40cfd0[_0x4b09eb(0x1fc)],_0x3b3cad[_0x4b09eb(0x2db)]))_0x41677c=_0x99f1ea[_0x4b09eb(0x21d)](_0x40cfd0[_0x4b09eb(0x1fc)],_0x99f1ea[_0x4b09eb(0x261)])?_0x99f1ea[_0x4b09eb(0x261)]:_0x99f1ea[_0x4b09eb(0x207)];else{(_0x99f1ea[_0x4b09eb(0x21d)](_0x41677c,_0x99f1ea[_0x4b09eb(0x207)])||_0x99f1ea['iEaqh'](_0x41677c,_0x99f1ea['LGXng'])||_0x99f1ea[_0x4b09eb(0x2af)](_0x41677c,_0x99f1ea[_0x4b09eb(0x24c)]))&&(_0x41677c=_0x99f1ea['LGXng']);if(_0x99f1ea['YvdDj'](_0x40cfd0[_0x4b09eb(0x1fc)],_0x99f1ea[_0x4b09eb(0x207)])&&_0x99f1ea[_0x4b09eb(0x1e6)](_0x3b3cad[_0x4b09eb(0x2db)],_0x99f1ea[_0x4b09eb(0x26e)])){const _0x189844={};_0x189844[_0x4b09eb(0x260)]=_0x99f1ea[_0x4b09eb(0x1e7)],_0x189844[_0x4b09eb(0x1d9)]=_0x99f1ea['Lppek'],_0x40cfd0[_0x4b09eb(0x280)]=_0x189844,_0x40cfd0[_0x4b09eb(0x28f)]=[_0x40cfd0[_0x4b09eb(0x280)]];}}const {failureData:_0x340091,logs:_0x4d51a3}=_0x99f1ea['NwtRQ'](getFailureData,_0x40cfd0?.[_0x4b09eb(0x28f)],{}),_0x5228af={[TestFrameworkConstants[_0x4b09eb(0x2c5)]]:_0x99f1ea['NmLgk'](_0x340091,null),[TestFrameworkConstants[_0x4b09eb(0x1f4)]]:_0x40cfd0?.[_0x4b09eb(0x280)]&&_0x99f1ea[_0x4b09eb(0x273)](getFailureType,_0x40cfd0[_0x4b09eb(0x280)]['message']),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x40cfd0?.[_0x4b09eb(0x280)]&&_0x99f1ea[_0x4b09eb(0x254)](removeAnsiColors,_0x40cfd0[_0x4b09eb(0x280)][_0x4b09eb(0x260)]),[TestFrameworkConstants[_0x4b09eb(0x2d2)]]:[],[TestFrameworkConstants[_0x4b09eb(0x203)]]:_0x41677c,[TestFrameworkConstants[_0x4b09eb(0x28e)]]:_0x10b79a[_0x4b09eb(0x1ec)](),[TestFrameworkConstants[_0x4b09eb(0x27b)]]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x44dc42};if(_0x40cfd0&&_0x99f1ea[_0x4b09eb(0x269)](_0x40cfd0[_0x4b09eb(0x2cc)],0x0)){const _0x1524c4=TestInfo[_0x4b09eb(0x256)](_0x99f1ea['heZwi'](getTestRunIdentifier,_0x3b3cad,_0x99f1ea[_0x4b09eb(0x1da)](_0x40cfd0['retry'],0x1)));_0x5228af[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x1524c4;}const _0x2eb50b={};_0x2eb50b[_0x4b09eb(0x234)]=_0x3b3cad;const _0x1d2629=this['resolveInstance'](TestFrameworkState[_0x4b09eb(0x1ed)],HookState[_0x4b09eb(0x201)],_0x2eb50b),_0x1fd56e=_0x1d2629[_0x4b09eb(0x1dc)]()[_0x4b09eb(0x2bc)](_0x564570)[TestFrameworkConstants['KEY_TEST_UUID']],_0x49b6f6=_0x456ac6||_0x99f1ea['TDCMv'](getStepsAndLogs,_0x40cfd0[_0x4b09eb(0x1e3)],_0x1fd56e,_0x99f1ea[_0x4b09eb(0x1ee)])[_0x4b09eb(0x1e3)],_0x3dfe13=new Map();let _0x1a7ad5=0x0;const _0x4cf285=[];for(const _0x3b7eeb of _0x49b6f6||[]){const _0x5b43b8=_0x3b7eeb[_0x4b09eb(0x200)]||null;let _0x1fba09;if(_0x99f1ea[_0x4b09eb(0x29c)](_0x5b43b8,null)){if(_0x99f1ea[_0x4b09eb(0x1ea)](_0x1a7ad5,TestFrameworkConstants[_0x4b09eb(0x2ac)]))continue;_0x1fba09=0x0,_0x1a7ad5++;}else{const _0x4d7f10=_0x3dfe13['get'](_0x5b43b8);if(_0x99f1ea[_0x4b09eb(0x2d7)](_0x4d7f10,undefined))continue;_0x1fba09=_0x99f1ea['aUwWs'](_0x4d7f10,0x1);if(_0x99f1ea[_0x4b09eb(0x21f)](_0x1fba09,TestFrameworkConstants[_0x4b09eb(0x237)]))continue;}_0x3dfe13[_0x4b09eb(0x263)](_0x3b7eeb['id'],_0x1fba09);const _0x1cf1aa={};_0x1cf1aa['id']=_0x3b7eeb['id'],_0x1cf1aa[_0x4b09eb(0x200)]=_0x5b43b8,_0x1cf1aa['text']=_0x3b7eeb[_0x4b09eb(0x2d3)],_0x1cf1aa['keyword']=_0x3b7eeb[_0x4b09eb(0x228)]||null,_0x1cf1aa[_0x4b09eb(0x20d)]=_0x3b7eeb[_0x4b09eb(0x20d)],_0x1cf1aa[_0x4b09eb(0x274)]=_0x3b7eeb[_0x4b09eb(0x274)]??null,_0x1cf1aa[_0x4b09eb(0x275)]=_0x3b7eeb['result'],_0x1cf1aa[_0x4b09eb(0x2c0)]=_0x3b7eeb[_0x4b09eb(0x2c0)]||null,_0x1cf1aa['failure_type']=_0x3b7eeb[_0x4b09eb(0x24f)]||null,_0x4cf285[_0x4b09eb(0x21a)](_0x1cf1aa);}const _0x139042={};_0x139042['steps']=_0x4cf285,_0x5228af[TestFrameworkConstants['KEY_TEST_META']]=_0x139042,logger[_0x4b09eb(0x258)](_0x4b09eb(0x23d)+_0x4cf285['length']+_0x4b09eb(0x27f)+_0x133c25);const _0x296d80=[],_0x27e67a=_0x99f1ea[_0x4b09eb(0x2ba)](findNestedKey,_0x40cfd0,_0x99f1ea[_0x4b09eb(0x25f)]);if(_0x27e67a&&_0x99f1ea[_0x4b09eb(0x1e2)](validateFilePath,_0x27e67a))try{_0x296d80[_0x4b09eb(0x21a)]({'kind':_0x99f1ea[_0x4b09eb(0x2aa)],'timestamp':new Date()[_0x4b09eb(0x1ec)](),'test_run_uuid':_0x1fd56e,'file_name':path[_0x4b09eb(0x2b7)](_0x27e67a),'file_size':fs[_0x4b09eb(0x299)](_0x27e67a)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x410b89){logger[_0x4b09eb(0x280)](_0x4b09eb(0x292)+_0x27e67a+':\x20'+_0x410b89[_0x4b09eb(0x260)]);}const _0x4a149a=TestInfo[_0x4b09eb(0x2ce)](),_0x4527da=_0x4a149a[_0x4b09eb(0x22f)](_0xe847cc=>_0xe847cc[_0x4b09eb(0x23b)]===_0x1fd56e);_0x4527da[_0x4b09eb(0x235)](_0x52d413=>{const _0x21b0a4=_0x4b09eb;if(_0x52d413[_0x21b0a4(0x216)]&&_0x99f1ea[_0x21b0a4(0x2c3)](validateFilePath,_0x52d413[_0x21b0a4(0x216)])&&!_0x296d80[_0x21b0a4(0x2d6)](_0x16a1be=>_0x16a1be[_0x21b0a4(0x2d4)]===path['basename'](_0x52d413[_0x21b0a4(0x216)])))try{_0x296d80['push']({'kind':_0x99f1ea['zUkby'],'timestamp':new Date()[_0x21b0a4(0x1ec)](),'test_run_uuid':_0x1fd56e,'file_name':path[_0x21b0a4(0x2b7)](_0x52d413['filePath']),'file_size':fs[_0x21b0a4(0x299)](_0x52d413[_0x21b0a4(0x216)])[_0x21b0a4(0x210)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x5b73df){logger[_0x21b0a4(0x280)](_0x21b0a4(0x1d8)+_0x52d413['filePath']+'\x20from\x20TestDetails:\x20'+_0x5b73df['message']);}});if(_0x99f1ea[_0x4b09eb(0x2a4)](_0x296d80[_0x4b09eb(0x23a)],0x0)){const _0x41f57a=_0x5228af[TestFrameworkConstants[_0x4b09eb(0x2d2)]]||[];_0x5228af[TestFrameworkConstants[_0x4b09eb(0x2d2)]]=[..._0x41f57a,..._0x296d80];}const _0x5b0cda=TestInfo['getTestDetails'](_0x564570)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x2a655f=_0x99f1ea['heZwi'](getManualUploadLogs,_0x5b0cda,_0x1d2629[_0x4b09eb(0x1dc)]()[_0x4b09eb(0x2bc)](_0x564570)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x99f1ea[_0x4b09eb(0x2a4)](_0x2a655f[_0x4b09eb(0x23a)],0x0)){const _0x391e79=_0x5228af[TestFrameworkConstants[_0x4b09eb(0x2d2)]]||[];_0x5228af[TestFrameworkConstants[_0x4b09eb(0x2d2)]]=[..._0x391e79,..._0x2a655f];}const _0x507955=_0x3b3cad[_0x4b09eb(0x2ae)]||[],_0x4911a8=_0x5228af[TestFrameworkConstants[_0x4b09eb(0x2b3)]]||{};_0x507955[_0x4b09eb(0x235)](_0x148a20=>{const _0x51f634=_0x4b09eb,{type:_0x27909d}=_0x148a20;let _0x51c9e9=_0x148a20[_0x51f634(0x265)];if(!_0x27909d)return;(_0x99f1ea[_0x51f634(0x21d)](_0x51c9e9,undefined)||_0x99f1ea[_0x51f634(0x21d)](_0x51c9e9,null)||_0x99f1ea[_0x51f634(0x2af)](_0x99f1ea['mWCwp'](String,_0x51c9e9)['trim'](),''))&&(_0x51c9e9=_0x99f1ea[_0x51f634(0x21c)]);if(!_0x4911a8[_0x27909d]){const _0x42d11f={};_0x42d11f[_0x51f634(0x2c1)]=_0x99f1ea[_0x51f634(0x211)],_0x42d11f[_0x51f634(0x287)]=[],_0x4911a8[_0x27909d]=_0x42d11f;}else!_0x4911a8[_0x27909d][_0x51f634(0x2c1)]&&(_0x4911a8[_0x27909d]['field_type']=_0x99f1ea[_0x51f634(0x211)]),!Array[_0x51f634(0x224)](_0x4911a8[_0x27909d]['values'])&&(_0x4911a8[_0x27909d][_0x51f634(0x287)]=[]);const _0x3222c5=_0x99f1ea[_0x51f634(0x1e2)](String,_0x51c9e9)[_0x51f634(0x2b5)](',')[_0x51f634(0x24a)](_0x349c8c=>_0x349c8c[_0x51f634(0x2de)]());_0x4911a8[_0x27909d][_0x51f634(0x287)]=[...new Set([..._0x4911a8[_0x27909d]['values'],..._0x3222c5])];}),_0x5228af[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x4911a8,TestInfo[_0x4b09eb(0x266)](_0x564570,_0x5228af);const _0x533693={};return _0x533693[_0x564570]=_0x5228af,_0x533693;}[a77_0x4350ba(0x289)](_0x145513,_0x26ddf2,_0x265a51){const _0x329ac5=a77_0x4350ba,_0x2bd962={'QqxHm':function(_0x554097,_0x210e48){return _0x554097||_0x210e48;},'CdoJi':function(_0x4de2ea,_0x346856,_0x52c2fd){return _0x4de2ea(_0x346856,_0x52c2fd);}};try{const {test:_0x8e1380,result:_0x52410c,step:_0x3b63c2}=_0x265a51;if(_0x2bd962['QqxHm'](!_0x8e1380,!_0x3b63c2)||!_0x52410c)return;const _0x51d828=_0x2bd962[_0x329ac5(0x2b1)](getTestRunIdentifier,_0x8e1380,_0x52410c[_0x329ac5(0x2cc)]);logger[_0x329ac5(0x258)](_0x329ac5(0x248)+_0x51d828+_0x329ac5(0x264)+_0x26ddf2+_0x329ac5(0x282)+_0x3b63c2[_0x329ac5(0x276)]+'\x22');}catch(_0x17c4e1){logger[_0x329ac5(0x280)]('trackStepEvent:\x20exception='+util[_0x329ac5(0x1e1)](_0x17c4e1));}}async[a77_0x4350ba(0x2d8)](_0x326352,_0x180b0a,_0x31c0ed,_0x47c42c){const _0x4fb3bd=a77_0x4350ba,_0x37c28d={'RQqpQ':function(_0x16b2f8,_0x323917,_0x2392bf){return _0x16b2f8(_0x323917,_0x2392bf);},'FQEEw':function(_0x1cecd9,_0x2982f0){return _0x1cecd9 in _0x2982f0;},'OfQbW':function(_0x4b7851,_0x240bae){return _0x4b7851(_0x240bae);},'tQbdp':function(_0x2ff321,_0x1c12dc){return _0x2ff321===_0x1c12dc;},'zFeLm':function(_0x168fd9){return _0x168fd9();},'BloRH':function(_0x1b127b,_0x41db5c){return _0x1b127b>_0x41db5c;},'DnDWJ':_0x4fb3bd(0x278),'zyFSz':_0x4fb3bd(0x2a2),'eblJc':_0x4fb3bd(0x220),'fEENd':function(_0x52c19d,_0x39be08){return _0x52c19d!==_0x39be08;},'jrhcW':function(_0x88854d,_0x44fb03){return _0x88854d+_0x44fb03;},'kjlBE':'hook'},_0x3b7cd0=_0x47c42c[_0x4fb3bd(0x234)],_0x52c405=_0x47c42c['step'],_0x452112=_0x37c28d[_0x4fb3bd(0x2b4)](getTestRunIdentifier,_0x3b7cd0,_0x47c42c[_0x4fb3bd(0x275)]['retry']),_0xf5d8c6=_0x180b0a[_0x4fb3bd(0x286)]()['split']('.')[0x1];let _0x439385=_0x326352['getAllData']()[_0x4fb3bd(0x2bc)](_0x452112)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x439385&&(_0x439385={});!_0x37c28d[_0x4fb3bd(0x2c4)](_0xf5d8c6,_0x439385)&&(_0x439385[_0xf5d8c6]=[]);let _0x1ea3f8=_0x326352[_0x4fb3bd(0x1dc)]()['get'](_0x452112)[TestFrameworkConstants[_0x4fb3bd(0x290)]];!_0x1ea3f8&&(_0x1ea3f8={});!_0x37c28d[_0x4fb3bd(0x2c4)](_0xf5d8c6,_0x1ea3f8)&&(_0x1ea3f8[_0xf5d8c6]=[]);const _0x114383={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x439385,[TestFrameworkConstants[_0x4fb3bd(0x290)]]:_0x1ea3f8},_0x316e86={};_0x316e86[_0x452112]=_0x114383;const _0x14f6ab=_0x316e86,_0x5ce1fd=_0x37c28d[_0x4fb3bd(0x1f1)](getPlaywrightTestFilePath,_0x3b7cd0),_0x14f872=_0x5ce1fd,_0x496586=TestInfo[_0x4fb3bd(0x2d5)](_0x452112)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x37c28d['tQbdp'](_0x31c0ed,HookState[_0x4fb3bd(0x2c9)])){const _0x1142b6={'key':_0xf5d8c6,[TestFrameworkConstants[_0x4fb3bd(0x23c)]]:_0x37c28d[_0x4fb3bd(0x1f3)](uuidv4),[TestFrameworkConstants[_0x4fb3bd(0x219)]]:TestFrameworkConstants[_0x4fb3bd(0x2b0)],[TestFrameworkConstants[_0x4fb3bd(0x244)]]:_0x52c405[_0x4fb3bd(0x2c7)],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x4fb3bd(0x1e8)]]:_0x52c405[_0x4fb3bd(0x276)],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x5ce1fd,[TestFrameworkConstants[_0x4fb3bd(0x25e)]]:_0x14f872,[TestFrameworkConstants[_0x4fb3bd(0x2b3)]]:_0x496586};_0x439385[_0xf5d8c6][_0x4fb3bd(0x21a)](_0x1142b6),_0x14f6ab[_0x452112][TestFrameworkConstants[_0x4fb3bd(0x27d)]]=_0xf5d8c6,logger[_0x4fb3bd(0x258)](_0x4fb3bd(0x2ab)+_0xf5d8c6+_0x4fb3bd(0x28b)+_0x1142b6+_0x4fb3bd(0x250)+_0x47c42c);}else{if(_0x37c28d[_0x4fb3bd(0x288)](_0x31c0ed,HookState[_0x4fb3bd(0x201)])){const _0x3c7319=await _0x47c42c[_0x4fb3bd(0x275)],_0x1cfa94=_0x439385[_0xf5d8c6]||[],_0x532525=_0x47c42c[_0x4fb3bd(0x1fb)];logger[_0x4fb3bd(0x258)](_0x4fb3bd(0x230)+_0x1cfa94+_0x4fb3bd(0x24e)+_0x47c42c);if(_0x37c28d[_0x4fb3bd(0x296)](_0x1cfa94[_0x4fb3bd(0x23a)],0x0)){const _0x29aaac=_0x1cfa94[_0x4fb3bd(0x1db)]();if(_0x532525[_0x4fb3bd(0x280)]){const _0xf9aa71=_0x37c28d[_0x4fb3bd(0x2b4)](failureData,_0x532525[_0x4fb3bd(0x280)],_0x37c28d[_0x4fb3bd(0x2bd)]);_0x29aaac[TestFrameworkConstants[_0x4fb3bd(0x23e)]]=_0x37c28d[_0x4fb3bd(0x1f1)](getFailureType,_0x532525?.['error'][_0x4fb3bd(0x260)]),_0x29aaac[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x37c28d[_0x4fb3bd(0x1f1)](removeAnsiColors,_0x532525?.[_0x4fb3bd(0x280)][_0x4fb3bd(0x260)]),_0x29aaac[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x37c28d[_0x4fb3bd(0x232)],_0x29aaac[TestFrameworkConstants[_0x4fb3bd(0x20a)]]=_0xf9aa71;}else _0x29aaac[TestFrameworkConstants[_0x4fb3bd(0x219)]]=_0x37c28d['eblJc'];_0x37c28d[_0x4fb3bd(0x218)](_0x3c7319,TestFrameworkConstants[_0x4fb3bd(0x2b0)])&&(_0x29aaac[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0x532525[_0x4fb3bd(0x280)]?_0x37c28d['eblJc']:_0x37c28d[_0x4fb3bd(0x232)]);const _0x21760f=new Date(_0x532525['startTime']),_0x4b57cc=new Date(_0x37c28d[_0x4fb3bd(0x25a)](_0x21760f['getTime'](),_0x532525[_0x4fb3bd(0x274)]));_0x29aaac[TestFrameworkConstants[_0x4fb3bd(0x1de)]]=_0x4b57cc[_0x4fb3bd(0x1ec)](),_0x29aaac[TestFrameworkConstants[_0x4fb3bd(0x2b3)]]=_0x496586;const _0x3b5035=_0x29aaac[TestFrameworkConstants[_0x4fb3bd(0x23c)]];await this[_0x4fb3bd(0x291)](_0x326352,_0x180b0a,_0x3b5035,_0x37c28d[_0x4fb3bd(0x223)],_0x47c42c),!_0x1ea3f8[_0xf5d8c6]&&(_0x1ea3f8[_0xf5d8c6]=[]),_0x1ea3f8[_0xf5d8c6][_0x4fb3bd(0x21a)](_0x29aaac),_0x14f6ab[_0x452112][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0xf5d8c6;}}}return _0x14f6ab;}async['sendLogCreatedEvent'](_0x30300b,_0x51ab60,_0x44b8ad,_0xb74d3c,_0x42dda7,_0x30816c){const _0x388d1d=a77_0x4350ba,_0x479fec={'shIKh':function(_0x60ae96,_0x1978e8){return _0x60ae96===_0x1978e8;},'JgSRm':_0x388d1d(0x234),'nKLUu':function(_0x1083ec,_0x3f2552,_0x39a5bf){return _0x1083ec(_0x3f2552,_0x39a5bf);},'fAQPZ':_0x388d1d(0x21b),'IRjRc':function(_0x4105e5,_0x96f84a,_0x5753ad,_0x191b91){return _0x4105e5(_0x96f84a,_0x5753ad,_0x191b91);},'ObrqP':function(_0x5d0cdc,_0x22eef2,_0x2188f6){return _0x5d0cdc(_0x22eef2,_0x2188f6);},'yWgFa':function(_0x1394cf,_0x2efba4,_0x3a3799){return _0x1394cf(_0x2efba4,_0x3a3799);},'buetS':function(_0x292f2d,_0x2143c2,_0x180e06){return _0x292f2d(_0x2143c2,_0x180e06);},'ggwbh':function(_0x1b338b,_0x413052){return _0x1b338b/_0x413052;},'YlMjO':function(_0x19f8be,_0x573107){return _0x19f8be<_0x573107;},'opkFN':function(_0x55e104,_0x3cf502){return _0x55e104*_0x3cf502;},'kPZRe':function(_0x181f25,_0x18371e){return _0x181f25+_0x18371e;},'BvAfT':function(_0x34d040,_0x54a7d3,_0x4c5d34,_0x4becfb,_0x205d5b){return _0x34d040(_0x54a7d3,_0x4c5d34,_0x4becfb,_0x205d5b);},'pOkDG':function(_0x2dd166,_0x450226,_0x5321a2,_0x50e1b7){return _0x2dd166(_0x450226,_0x5321a2,_0x50e1b7);},'fRuLP':'hook','OmklA':function(_0x5179dc,_0x2f2731,_0x2193d5){return _0x5179dc(_0x2f2731,_0x2193d5);}};try{if(_0x479fec['shIKh'](_0xb74d3c,_0x479fec[_0x388d1d(0x20e)])){const _0x153c66=await _0x42dda7[_0x388d1d(0x275)],_0xabccde=_0x479fec[_0x388d1d(0x246)](getTestRunIdentifier,_0x42dda7[_0x388d1d(0x234)],_0x42dda7[_0x388d1d(0x275)][_0x388d1d(0x2cc)]),_0x6d6cf5=_0x42dda7[_0x388d1d(0x234)];logger[_0x388d1d(0x258)](_0x388d1d(0x270)+_0xabccde+_0x388d1d(0x202)+util[_0x388d1d(0x1df)](_0x153c66));const _0x4a8992=_0x30300b[_0x388d1d(0x1dc)]()['get'](_0xabccde)[TestFrameworkConstants[_0x388d1d(0x2d0)]];await _0x479fec[_0x388d1d(0x246)](sendTraceZip,_0x153c66,_0x4a8992);const _0x56b119=TestInfo['getTestDetails'](_0xabccde)[_0x479fec[_0x388d1d(0x2cb)]],_0x233b15={};if(_0x56b119){!_0x153c66[_0x388d1d(0x21b)]&&(_0x153c66[_0x388d1d(0x21b)]=[]);_0x233b15[_0x388d1d(0x21b)]=_0x153c66[_0x388d1d(0x21b)][_0x388d1d(0x277)](_0x56b119||[]);const _0x328b81=TestInfo[_0x388d1d(0x2d5)](_0xabccde);delete _0x328b81[_0x479fec['fAQPZ']],TestInfo[_0x388d1d(0x266)](_0xabccde,_0x328b81);}const _0x5c9cdd=_0x30816c||_0x479fec[_0x388d1d(0x2bb)](getStepsAndLogs,_0x153c66[_0x388d1d(0x1e3)],_0x30300b[_0x388d1d(0x1dc)]()['get'](_0xabccde)[TestFrameworkConstants[_0x388d1d(0x2d0)]],_0x479fec[_0x388d1d(0x20e)])[_0x388d1d(0x23f)],_0x398ab6=_0x479fec[_0x388d1d(0x297)](getScreenshots,_0x233b15,_0x30300b[_0x388d1d(0x1dc)]()['get'](_0xabccde)[TestFrameworkConstants[_0x388d1d(0x2d0)]]),_0xbe7db3=_0x479fec[_0x388d1d(0x1e0)](getVideos,_0x153c66,_0x30300b[_0x388d1d(0x1dc)]()['get'](_0xabccde)[TestFrameworkConstants[_0x388d1d(0x2d0)]]),{_:_0x12b4bb,logs:_0x4d044a}=_0x479fec['nKLUu'](getFailureData,_0x153c66['errors'],{'test_run_uuid':_0x30300b[_0x388d1d(0x1dc)]()[_0x388d1d(0x2bc)](_0xabccde)[TestFrameworkConstants[_0x388d1d(0x2d0)]]}),_0xf574b6=TestInfo[_0x388d1d(0x2d5)](_0xabccde)[TestFrameworkConstants[_0x388d1d(0x2a0)]]||{},_0x507ee2=_0x479fec[_0x388d1d(0x2a5)](getMediaArtifactsLogs,_0xf574b6,_0x30300b['getAllData']()[_0x388d1d(0x2bc)](_0xabccde)[TestFrameworkConstants[_0x388d1d(0x2d0)]]),_0x43121a=_0x30300b[_0x388d1d(0x1dc)]()[_0x388d1d(0x2bc)](_0xabccde),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x47be0d='',[TestFrameworkConstants[_0x388d1d(0x1fd)]]:_0x151082=''}=_0x43121a,_0x3f737e=(_0x5c9cdd||[])[_0x388d1d(0x277)](_0x398ab6||[])[_0x388d1d(0x277)](_0x4d044a||[])[_0x388d1d(0x277)](_0xbe7db3||[])['concat'](_0x507ee2||[]),_0x296515=0x28,_0x21729d=Math[_0x388d1d(0x2bf)](_0x479fec[_0x388d1d(0x229)](_0x3f737e[_0x388d1d(0x23a)],_0x296515));for(let _0x99f8e=0x0;_0x479fec['YlMjO'](_0x99f8e,_0x21729d);_0x99f8e++){const _0xe83706=_0x479fec['opkFN'](_0x99f8e,_0x296515),_0x3e07b9=_0x479fec['kPZRe'](_0xe83706,_0x296515),_0x1a6c51=_0x3f737e['slice'](_0xe83706,_0x3e07b9),_0x27e63f={'platformIndex':global?.[_0x388d1d(0x205)]??0x0,'logs':_0x1a6c51,'testFrameworkName':_0x47be0d,'testFrameworkVersion':_0x151082,'testFrameworkState':_0x51ab60['toString']()[_0x388d1d(0x2b5)]('.')[0x1]};_0x479fec[_0x388d1d(0x25d)](updatePayloadForTraceLogs,_0x27e63f,_0x42dda7,_0xabccde,_0x30300b),logger[_0x388d1d(0x258)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0xabccde+_0x388d1d(0x212)+_0x479fec[_0x388d1d(0x28c)](_0x99f8e,0x1)+'/'+_0x21729d+'\x20payload='+util[_0x388d1d(0x1df)](_0x27e63f));const _0x4375a8=await GrpcClient[_0x388d1d(0x2d9)]()['logCreatedEvent'](_0x27e63f);logger[_0x388d1d(0x258)](_0x388d1d(0x2c6)+_0xabccde+_0x388d1d(0x212)+_0x479fec[_0x388d1d(0x28c)](_0x99f8e,0x1)+'/'+_0x21729d+_0x388d1d(0x2c8)+util[_0x388d1d(0x1df)](_0x4375a8));}}else{const {logs:_0x506ce5}=_0x479fec[_0x388d1d(0x2ad)](getStepsAndLogs,_0x42dda7[_0x388d1d(0x1fb)]['steps'],_0x44b8ad,_0x479fec[_0x388d1d(0x225)]),_0x1a94da=_0x479fec[_0x388d1d(0x27e)](getTestRunIdentifier,_0x42dda7[_0x388d1d(0x234)],_0x42dda7[_0x388d1d(0x275)][_0x388d1d(0x2cc)]);logger[_0x388d1d(0x258)]('sendLogCreatedEvent:\x20testId='+_0x1a94da);const _0x37e5a8=_0x30300b[_0x388d1d(0x1dc)]()[_0x388d1d(0x2bc)](_0x1a94da),{[TestFrameworkConstants[_0x388d1d(0x236)]]:_0x3ef19c='',[TestFrameworkConstants[_0x388d1d(0x1fd)]]:_0x1cc17f=''}=_0x37e5a8,_0x2dc488={'platformIndex':'0','logs':_0x506ce5,'testFrameworkName':_0x3ef19c,'testFrameworkVersion':_0x1cc17f,'testFrameworkState':_0x51ab60[_0x388d1d(0x286)]()[_0x388d1d(0x2b5)]('.')[0x1]};_0x479fec[_0x388d1d(0x25d)](updatePayloadForTraceLogs,_0x2dc488,_0x42dda7,_0x1a94da,_0x30300b),logger[_0x388d1d(0x258)](_0x388d1d(0x2c6)+_0x1a94da+_0x388d1d(0x2b2)+util['inspect'](_0x2dc488));const _0x5ed0e0=await GrpcClient['getInstance']()[_0x388d1d(0x271)](_0x2dc488);}}catch(_0x48e05b){logger[_0x388d1d(0x280)]('Error\x20in\x20sendLogCreatedEvent:\x20'+util[_0x388d1d(0x1e1)](_0x48e05b));}}[a77_0x4350ba(0x1e9)](_0x704796){const _0x33ee47=a77_0x4350ba,_0x4b2b74={'PthEj':function(_0xa93842,_0x4e483a,_0x14e130){return _0xa93842(_0x4e483a,_0x14e130);},'JRyZo':function(_0x2ac346,_0x52a77a){return _0x2ac346<_0x52a77a;},'bptSf':_0x33ee47(0x281)};try{const _0x409d7f=_0x704796['test']['id'],_0x4dc335=_0x4b2b74[_0x33ee47(0x29b)](getTestRunIdentifier,_0x704796['test'],_0x704796[_0x33ee47(0x275)]['retry']),_0x367b73=_0x704796[_0x33ee47(0x222)],_0x109e66=_0x367b73[_0x33ee47(0x1eb)](),_0x28d8f9=_0x367b73['getAllData']()[_0x33ee47(0x2bc)](_0x4dc335);logger['debug'](_0x33ee47(0x25b)+_0x409d7f);const {[TestFrameworkConstants[_0x33ee47(0x236)]]:_0x21c1ea='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x5c112f='',[TestFrameworkConstants[_0x33ee47(0x2b6)]]:_0x3c7f4f='',[TestFrameworkConstants[_0x33ee47(0x28e)]]:_0x5534d0=''}=_0x28d8f9,_0x16cba6=_0x367b73['getCurrentTestState']()[_0x33ee47(0x286)]()['split']('.')[0x1],_0x1dee71=_0x367b73['getCurrentHookState']()['toString']()[_0x33ee47(0x2b5)]('.')[0x1],_0x2001f5=_0x4b2b74[_0x33ee47(0x247)](_0x704796?.[_0x33ee47(0x275)]?.['parallelIndex']??0x0,0x0)?0x0:_0x704796?.[_0x33ee47(0x275)]?.[_0x33ee47(0x295)]??0x0,_0x3d65ce=_0x367b73[_0x33ee47(0x279)](),_0x33ab41=Buffer[_0x33ee47(0x20c)](JSON[_0x33ee47(0x1f7)](_0x28d8f9))[_0x33ee47(0x286)](_0x4b2b74[_0x33ee47(0x2be)]),_0x4f8004={'hash':_0x109e66[_0x33ee47(0x27a)](),'threadId':_0x109e66[_0x33ee47(0x2a3)]()[_0x33ee47(0x286)](),'processId':_0x109e66[_0x33ee47(0x2cd)]()[_0x33ee47(0x286)]()},_0x2e35b5={};_0x2e35b5['platformIndex']=_0x2001f5,_0x2e35b5[_0x33ee47(0x227)]=_0x21c1ea,_0x2e35b5['testFrameworkVersion']=_0x5c112f,_0x2e35b5[_0x33ee47(0x217)]=_0x16cba6,_0x2e35b5[_0x33ee47(0x238)]=_0x1dee71,_0x2e35b5[_0x33ee47(0x22b)]=_0x3c7f4f,_0x2e35b5['endedAt']=_0x5534d0,_0x2e35b5[_0x33ee47(0x262)]=_0x3d65ce,_0x2e35b5[_0x33ee47(0x253)]=_0x33ab41,_0x2e35b5[_0x33ee47(0x1e4)]=_0x4f8004;const _0x523a00=_0x2e35b5;return logger['debug'](_0x33ee47(0x21e)+_0x409d7f+'\x20testState:\x20'+_0x16cba6+_0x33ee47(0x243)+_0x1dee71),_0x523a00;}catch(_0xd8031b){return logger[_0x33ee47(0x280)](_0x33ee47(0x2dd)+util[_0x33ee47(0x1e1)](_0xd8031b)),{};}}}module[a77_0x4350ba(0x1f0)]=PlaywrightTestFramework;
1
+ const a82_0xe34574=a82_0xa22f;(function(_0x3e9b10,_0x56d64c){const _0x5bd320=a82_0xa22f,_0x3d4fb9=_0x3e9b10();while(!![]){try{const _0x304804=parseInt(_0x5bd320(0x13a))/0x1+-parseInt(_0x5bd320(0x15d))/0x2*(-parseInt(_0x5bd320(0xf8))/0x3)+-parseInt(_0x5bd320(0x1b4))/0x4*(-parseInt(_0x5bd320(0x180))/0x5)+parseInt(_0x5bd320(0x1c5))/0x6+-parseInt(_0x5bd320(0x11b))/0x7*(-parseInt(_0x5bd320(0x12a))/0x8)+-parseInt(_0x5bd320(0xbf))/0x9+-parseInt(_0x5bd320(0xe8))/0xa;if(_0x304804===_0x56d64c)break;else _0x3d4fb9['push'](_0x3d4fb9['shift']());}catch(_0x218061){_0x3d4fb9['push'](_0x3d4fb9['shift']());}}}(a82_0x481c,0xe91a9));const TestFramework=require('./testFramework'),TestFrameworkState=require(a82_0xe34574(0x1a9)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a82_0xe34574(0xc0)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a82_0xe34574(0xd9)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a82_0xe34574(0x1bf)),logger=createClassLogger(a82_0xe34574(0xfa)),{v4:uuidv4}=require('uuid'),util=require(a82_0xe34574(0x154)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require('../../../helpers/helper.js'),TestInfo=require('../TestInfo.js'),GrpcClient=require(a82_0xe34574(0x172)),{removeAnsiColors,getFailureType,failureData}=require(a82_0xe34574(0x11f)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a82_0xe34574(0xc4)),{findNestedKey,sendTraceZip,validateFilePath}=require('../../playwright/reporter/pwUtils'),path=require(a82_0xe34574(0x16a)),fs=require('fs'),helper=require(a82_0xe34574(0xbb)),{PLAYWRIGHT_TRACE_LOGS}=require(a82_0xe34574(0x1b1));function a82_0xa22f(_0x429808,_0x3d35c1){const _0x481cd4=a82_0x481c();return a82_0xa22f=function(_0xa22f7d,_0x30fb78){_0xa22f7d=_0xa22f7d-0xb8;let _0x795883=_0x481cd4[_0xa22f7d];return _0x795883;},a82_0xa22f(_0x429808,_0x3d35c1);}function a82_0x481c(){const _0x98c4b=['beEoR','getCurrentInstanceName','parsePlaywrightTestResult','createTestFrameworkEventPayload\x20testId:\x20','../cliUtils.js','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','KEY_HOOKS_STARTED','ivdsK','WtnOW','getInstance','keyword','nhEsY','get','TEST_ATTACHMENT','debug','KEY_TEST_RETRY_OF','IfqlU','field_type','Error\x20processing\x20trace\x20file\x20','41629970XDUOuz','KEY_TEST_RERUN_NAME','setTrackedInstance','KEY_TEST_FRAMEWORK_NAME','info','failure_type','KEY_HOOK_FAILURE','PrBZp','getTime','stringify','MIWjA','VVDNW','TEST_STEP','KEY_TEST_LOGS','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','KEY_TEST_ENDED_AT','3KIEkBy','timedOut','PlaywrightTestFramework','wMxqx','testUId','\x20response=',',\x20state=','UTNsF','KEY_TEST_FAILURE_TYPE','kbbAU','runHooks','No\x20reason\x20provided','startTime','MAX_NESTED_STEP_DEPTH','CSoij','uvmUC','basename','suide','filter','title','\x20\x20and\x20args\x20=\x20','statSync','testFrameworkName','DEFAULT_HOOK_RESULT','parsePlaywrightTestResult:\x20extracted\x20','slice','push','KmtQr','some','yByIz','values','TEST_SCREENSHOT','ngIbY','parsePlaywrightTest','ZBsmS','707GwiowI','KEY_TEST_FRAMEWORK_VERSION','step','KEY_LOGS','../../../helpers/test-observability/utils','KEY_TEST_FILE_PATH','toString','getAllData','KEY_HOOK_LAST_STARTED','mbSiY','oLhnj','concat','xiHjP','\x20step=\x22','getContext','1784QqxfKo','parent_id','wYlzA','KEY_EVENT_STARTED_AT','stack','mipYq','KEY_TEST_ATTACHMENTS','forEach','file_name','KEY_EVENT_ENDED_AT','exports','failed','\x20instanceId=','HbHWa','Error\x20in\x20sendLogCreatedEvent:\x20','Nozao','1357315Ltkjae','instance','setTestDetails','hook','RDpEW','ATVan','\x20batch\x20','KEY_TEST_RESULT','yNLrb','duration','text','KEY_CUSTOM_TAGS','KHDjr','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','executionContext','split','KEY_HOOK_FAILURE_REASON','prRgp','KEY_HOOK_RESULT','KEY_TEST_ID','KEY_AUTOMATE_SESSION_NAME','DiYNT','KktDH','sendLogCreatedEvent:\x20testId=','parsePlaywrightTestResult:\x20testId=','mTYRw','util','SGvkB','trim','ceil','hitlu',',\x20testFrameworkState=','CThxd','description','status','3375506BwrxXe','logCreatedEvent','oVCBv','KEY_TEST_CODE','getTestIdentifierFromTestInfo','expectedStatus','oqubf','getCurrentTestState','trackPlaywrightInstance','CacQX','hvCqm','attachments','retry','path','KEY_HOOK_LOGS','PGVBO','dgkME','MvULf','toISOString','BGnIG','osUcE','../grpcClient','filePath','getProcessId','errors','eventJson','trackEvent','createTestFrameworkEventPayload','Error\x20processing\x20direct\x20trace\x20file\x20','NONE','inspect','TePfi','HuVSs','multi_dropdown','RIsgy','5IraTQu','POST','trackStepEvent:\x20testId=','\x20steps\x20for\x20testId=','testFrameworkVersion','started_at','KEY_HOOK_LAST_FINISHED','resolveInstance','fwzqV','nXXvC','getTestUUID','PRE','result','results','DEFAULT_TEST_RESULT','KNkDk','getRef','length','test','SElAX','hookState','format','createContext','steps','KEY_TEST_FAILURE_REASON','trackHookEvent','oFClx','gvMYg','ABogw','trackStepEvent:\x20exception=','pop','endedAt','error','message','addMultipleEntries','KEY_HOOK_FAILURE_TYPE','getTestFrameworks','set','wCXMW','\x20result=','failure','../state/testFrameworkState.js','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','fEBTY','logs','KEY_TEST_STARTED_AT','getTestFrameworksVersions','KEY_TEST_UUID','Hook\x20List\x20in\x20Post\x20','../../utils/constants','base64','hHeCC','2938568biqgbe','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','qjYNC','KEY_TEST_RESULT_AT','KEY_HOOKS_FINISHED','getCurrentHookState','INIT_TEST','getThreadId','browserstackPlatformIndex','WndRF','map','./constants/testFrameworkConstants.js','size','Ftjjs','\x20hookState=','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','UBiGe','8490564ldJQeg','getTestDetails','KEY_TEST_LOCATION','KEY_TEST_SCOPE','../../../../src/helpers/helper','isArray','platformIndex','startedAt','895833VjnwqW','../../../helpers/classLogger.js','IrYbQ','Expected\x20to\x20fail,\x20but\x20passed.','\x20and\x20args\x20=\x20','../../playwright/reporter/pwUtils','sendLogCreatedEvent\x20for\x20testId:\x20','Tmils','KEY_HOOK_ID','from','tDDaM','passed','voDWI','KEY_TEST_NAME','getTraceFilePaths','getId','getTrackedInstance','\x20hookState:\x20','QCbtc','TEST','cBAlI','sendLogCreatedEvent'];a82_0x481c=function(){return _0x98c4b;};return a82_0x481c();}class PlaywrightTestFramework extends TestFramework{constructor(_0x51a98f,_0x4ea842,_0x552711){super(_0x51a98f,_0x4ea842,_0x552711);}async[a82_0xe34574(0x177)](_0x3cee7d,_0x2921e2,_0x26e660={}){const _0x4f418e=a82_0xe34574,_0x4690fd={'hvCqm':function(_0x5da4df,_0x5e0a84){return _0x5da4df===_0x5e0a84;},'Nozao':function(_0x2bb5fa,_0x58d6f){return _0x2bb5fa===_0x58d6f;},'AaeAq':function(_0x5d44e7,_0x45089d){return _0x5d44e7===_0x45089d;},'WtnOW':function(_0x37fbde,_0x4f9a41,_0x45de2b){return _0x37fbde(_0x4f9a41,_0x45de2b);},'cBAlI':function(_0x48381c,_0x5896aa){return _0x48381c===_0x5896aa;},'oVCBv':function(_0x5a8b3c,_0xd7e29e){return _0x5a8b3c===_0xd7e29e;},'IrYbQ':function(_0x3d808d,_0x4227dd,_0x1c3740,_0xf0c7c1){return _0x3d808d(_0x4227dd,_0x1c3740,_0xf0c7c1);},'KHDjr':_0x4f418e(0x192),'osUcE':_0x4f418e(0x1b5)};super[_0x4f418e(0x177)](_0x3cee7d,_0x2921e2,_0x26e660);if(_0x4690fd[_0x4f418e(0x167)](_0x3cee7d,TestFrameworkState[_0x4f418e(0x117)])){const _0x474b63=TestInfo[_0x4f418e(0x161)](_0x26e660[_0x4f418e(0x192)],_0x26e660[_0x4f418e(0x192)][_0x4f418e(0x169)]);TestInfo[_0x4f418e(0x13c)](_0x474b63,_0x26e660['result'],!![]);}if(_0x4690fd['hvCqm'](_0x3cee7d,TestFrameworkState[_0x4f418e(0xf4)])){this['trackStepEvent'](_0x3cee7d,_0x2921e2,_0x26e660);return;}const _0x42867d=this[_0x4f418e(0x187)](_0x3cee7d,_0x2921e2,_0x26e660);if(!_0x42867d)return;logger[_0x4f418e(0xe3)]('trackEvent:\x20found\x20instance,\x20testFrameworkState='+_0x3cee7d+_0x4f418e(0x1c2)+_0x2921e2+_0x4f418e(0x136)+_0x42867d['getRef']());try{if(_0x4690fd[_0x4f418e(0x139)](_0x2921e2,HookState[_0x4f418e(0x18b)])&&_0x4690fd['AaeAq'](_0x3cee7d,TestFrameworkState['TEST'])){const _0x521162=_0x26e660['test'];logger['debug']('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x521162['id']+'}');const _0x245c73=TestInfo[_0x4f418e(0x18a)](_0x4690fd[_0x4f418e(0xdd)](getTestRunIdentifier,_0x521162,_0x26e660['result'][_0x4f418e(0x169)]));_0x42867d['addMultipleEntries'](this[_0x4f418e(0x119)](_0x245c73,_0x521162,_0x26e660[_0x4f418e(0x18c)])),logger[_0x4f418e(0xe3)]('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x521162['id']+_0x4f418e(0x159)+_0x3cee7d+'\x20testHookState='+_0x2921e2+'\x20instance='+_0x42867d[_0x4f418e(0x190)]());}if(_0x4690fd[_0x4f418e(0xd3)](_0x2921e2,HookState['POST'])&&_0x4690fd[_0x4f418e(0x15f)](_0x3cee7d,TestFrameworkState[_0x4f418e(0xd2)])){const _0x1124d7=_0x26e660['test'],_0xba8f46=_0x26e660[_0x4f418e(0x18c)];logger[_0x4f418e(0xe3)](_0x4f418e(0xda)+_0x1124d7['id']);const _0x2e3f9b=_0x4690fd[_0x4f418e(0xdd)](getTestRunIdentifier,_0x1124d7,_0xba8f46[_0x4f418e(0x169)]),_0x2b7f23=_0x42867d[_0x4f418e(0x122)]()[_0x4f418e(0xe1)](_0x2e3f9b)[TestFrameworkConstants['KEY_TEST_UUID']],{steps:_0x11fcac,logs:_0x12c35d}=_0x4690fd[_0x4f418e(0xc1)](getStepsAndLogs,_0xba8f46[_0x4f418e(0x197)],_0x2b7f23,_0x4690fd[_0x4f418e(0x146)]);_0x42867d[_0x4f418e(0x1a2)](this[_0x4f418e(0xd7)](_0x1124d7['id'],_0xba8f46,_0x1124d7,_0x11fcac)),await this[_0x4f418e(0xd4)](_0x42867d,_0x3cee7d,_0x2921e2,_0x4690fd['KHDjr'],_0x26e660,_0x12c35d);}if(CLIUtils['matchHookRegex'](_0x3cee7d[_0x4f418e(0x121)]()[_0x4f418e(0x149)]('.')[0x1])){const _0x5e03b5=await this[_0x4f418e(0x199)](_0x42867d,_0x3cee7d,_0x2921e2,_0x26e660);_0x42867d[_0x4f418e(0x1a2)](_0x5e03b5);}}catch(_0x4fd7da){logger[_0x4f418e(0x1a0)](util[_0x4f418e(0x195)](_0x4690fd[_0x4f418e(0x171)],_0x3cee7d,_0x2921e2,_0x26e660[_0x4f418e(0x191)],_0x4fd7da));}_0x26e660[_0x4f418e(0x13b)]=_0x42867d,await this[_0x4f418e(0x102)](_0x42867d,_0x3cee7d,_0x2921e2,_0x26e660);}[a82_0xe34574(0x187)](_0x1c3937,_0x3b7493,_0x57d61f={}){const _0x391cd6=a82_0xe34574,_0x1710da={};_0x1710da[_0x391cd6(0x1b6)]=function(_0xeb9c43,_0x94fdac){return _0xeb9c43===_0x94fdac;},_0x1710da[_0x391cd6(0x125)]=function(_0x2bc369,_0x2ee1b9){return _0x2bc369===_0x2ee1b9;};const _0x11c567=_0x1710da;let _0x3b95bc=null;return(_0x11c567[_0x391cd6(0x1b6)](_0x1c3937,TestFrameworkState[_0x391cd6(0x1ba)])||_0x11c567[_0x391cd6(0x125)](_0x1c3937,TestFrameworkState[_0x391cd6(0x17a)]))&&this['trackPlaywrightInstance'](_0x1c3937,_0x57d61f),_0x3b95bc=TestFramework[_0x391cd6(0xcf)](),_0x3b95bc;}[a82_0xe34574(0x165)](_0x135c36,_0x3d78b9){const _0x2cac13=a82_0xe34574,_0x2aa4f4=CLIUtils[_0x2cac13(0xd6)](),_0xc55c3f=TrackedInstance[_0x2cac13(0x196)](_0x2aa4f4);let _0x305367=null;logger['info'](_0x2cac13(0x147)+_0x2aa4f4+_0x2cac13(0xfe)+_0x135c36),_0x305367=new TestFrameworkInstance(_0xc55c3f,this[_0x2cac13(0x1a4)](),this['getTestFrameworksVersions'](),_0x135c36,HookState[_0x2cac13(0x17a)]),TestFramework[_0x2cac13(0xea)](_0xc55c3f,_0x305367),logger[_0x2cac13(0xec)](_0x2cac13(0x1aa)+_0xc55c3f['getId']()+'\x20target='+_0x2aa4f4);}[a82_0xe34574(0x119)](_0x1c4715,_0x223cf1,_0x3dd5f2){const _0xb5533=a82_0xe34574,_0x586403={'oFClx':function(_0xbd0880,_0x452194){return _0xbd0880(_0x452194);},'PGVBO':function(_0x2e35a0,_0x278fac){return _0x2e35a0(_0x278fac);},'CThxd':function(_0x368112,_0x466bf5){return _0x368112(_0x466bf5);},'eaREb':function(_0x240dab,_0x3229f8){return _0x240dab(_0x3229f8);},'njntv':function(_0x5f026c,_0x49fa7b,_0x2db2eb){return _0x5f026c(_0x49fa7b,_0x2db2eb);}},_0x55d577=_0x586403[_0xb5533(0x19a)](getPlaywrightTestId,_0x223cf1),_0xf02421=_0x586403['PGVBO'](getPlaywrightTestTitle,_0x223cf1),_0x455a80=_0x586403['CThxd'](getTestTags,_0x223cf1),_0x3bb965=_0x586403[_0xb5533(0x19a)](getPlaywrightTestCode,_0x223cf1),_0x927f84=_0x586403['eaREb'](getPlaywrightTestFilePath,_0x223cf1),_0x169119=_0x927f84,_0x36cd88=_0x586403[_0xb5533(0x16c)](getPlaywrightTestScope,_0x223cf1),_0x24cbaf=_0x586403[_0xb5533(0x16c)](getPlaywrightTestScopes,_0x223cf1),_0x33da8e=_0x586403[_0xb5533(0x15a)](getPlaywrightSessionName,_0x223cf1),_0x53cd01=this[_0xb5533(0x1a4)]()[0x0],_0x56bf15=_0x586403['njntv'](getTestRunIdentifier,_0x223cf1,_0x3dd5f2[_0xb5533(0x169)]),_0x2fb917={[TestFrameworkConstants[_0xb5533(0xeb)]]:_0x53cd01,[TestFrameworkConstants[_0xb5533(0x11c)]]:this[_0xb5533(0x1ae)]()[_0x53cd01],[TestFrameworkConstants[_0xb5533(0xf5)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0xb5533(0xdb)]]:{},[TestFrameworkConstants[_0xb5533(0x1af)]]:_0x1c4715,[TestFrameworkConstants[_0xb5533(0x141)]]:TestFrameworkConstants[_0xb5533(0x18e)],[TestFrameworkConstants[_0xb5533(0x14e)]]:_0x33da8e,[TestFrameworkConstants[_0xb5533(0x120)]]:_0x927f84,[TestFrameworkConstants[_0xb5533(0x14d)]]:_0x55d577,[TestFrameworkConstants[_0xb5533(0xcc)]]:_0xf02421,[TestFrameworkConstants[_0xb5533(0xb9)]]:_0x169119,[TestFrameworkConstants[_0xb5533(0x160)]]:_0x3bb965,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x455a80,[TestFrameworkConstants[_0xb5533(0x1ad)]]:_0x223cf1[_0xb5533(0x18d)][0x0]['startTime'],[TestFrameworkConstants[_0xb5533(0xba)]]:_0x36cd88,[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x24cbaf,[TestFrameworkConstants[_0xb5533(0xe9)]]:_0x586403[_0xb5533(0x19a)](getPlaywrightCustomRerunParam,_0x223cf1)};TestInfo[_0xb5533(0x13c)](_0x56bf15,_0x2fb917);const _0x5b4446={};return _0x5b4446[_0x56bf15]=_0x2fb917,_0x5b4446;}[a82_0xe34574(0xd7)](_0x39e0e6,_0x468a8d,_0x2fb7ca,_0x339a9e){const _0x39aec3=a82_0xe34574,_0x2a55bc={'RDpEW':function(_0x355115,_0x4f858a){return _0x355115(_0x4f858a);},'nXXvC':_0x39aec3(0xe2),'voDWI':function(_0x4170d9,_0x1aed84){return _0x4170d9===_0x1aed84;},'PrBZp':function(_0x83fded,_0xaca5bd){return _0x83fded===_0xaca5bd;},'hitlu':_0x39aec3(0x103),'beEoR':_0x39aec3(0x17e),'wxrWx':function(_0x4de434,_0x3354eb){return _0x4de434(_0x3354eb);},'fwzqV':function(_0x4516f1,_0x162eb7,_0xa7440f){return _0x4516f1(_0x162eb7,_0xa7440f);},'dgkME':function(_0x3ea8e3,_0x213b13){return _0x3ea8e3+_0x213b13;},'nhEsY':'skipped','HbHWa':'passed','IfqlU':function(_0x2858b2,_0x1cdae9){return _0x2858b2===_0x1cdae9;},'apKQZ':function(_0x13f108,_0x2a82b4){return _0x13f108===_0x2a82b4;},'ngIbY':'failed','UTNsF':_0x39aec3(0xf9),'QCbtc':function(_0x586de2,_0xc2f47e){return _0x586de2===_0xc2f47e;},'SGvkB':_0x39aec3(0xc2),'mbSiY':function(_0x5b9dea,_0x53b52d,_0x1d306b){return _0x5b9dea(_0x53b52d,_0x1d306b);},'KESOD':function(_0x110afd,_0x2f94c5){return _0x110afd||_0x2f94c5;},'kQxHG':function(_0x192963,_0x147c89){return _0x192963(_0x147c89);},'fEBTY':function(_0x2aa3f9,_0x4e1af5){return _0x2aa3f9>_0x4e1af5;},'suide':function(_0x1f08ac,_0x54cf57){return _0x1f08ac-_0x54cf57;},'QGbSD':function(_0x14cca0,_0x16b082,_0x323a7d,_0x371c45){return _0x14cca0(_0x16b082,_0x323a7d,_0x371c45);},'UBiGe':'test','SElAX':function(_0x4732b0,_0x46eb4c){return _0x4732b0===_0x46eb4c;},'ABogw':function(_0x419923,_0x2e92b7){return _0x419923>=_0x2e92b7;},'KNkDk':function(_0x460137,_0x25bd45){return _0x460137>_0x25bd45;},'prRgp':_0x39aec3(0x16a),'YFGXq':function(_0x5a8f17,_0x20439f){return _0x5a8f17(_0x20439f);},'KktDH':function(_0x2c9f30,_0xc2a174){return _0x2c9f30>_0xc2a174;},'tDDaM':function(_0x3f4921,_0x6404bc){return _0x3f4921>_0x6404bc;}};logger[_0x39aec3(0xe3)](_0x39aec3(0x152)+_0x39e0e6);const _0x2edaa7=_0x2a55bc[_0x39aec3(0x188)](getTestRunIdentifier,_0x2fb7ca,_0x468a8d['retry']),_0x511910=new Date(_0x468a8d['startTime']),_0x145470=_0x468a8d['duration'],_0x446f21=new Date(_0x2a55bc[_0x39aec3(0x16d)](_0x511910[_0x39aec3(0xf0)](),_0x145470)),_0x53847a=_0x468a8d[_0x39aec3(0x15c)],_0x582880=TestInfo['getTestDetails'](_0x2edaa7)[TestFrameworkConstants[_0x39aec3(0x145)]]||{};let _0x3c2085=_0x53847a;if(_0x2a55bc[_0x39aec3(0xcb)](_0x468a8d[_0x39aec3(0x15c)],_0x2fb7ca[_0x39aec3(0x162)]))_0x3c2085=_0x2a55bc[_0x39aec3(0xef)](_0x468a8d['status'],_0x2a55bc[_0x39aec3(0xe0)])?_0x2a55bc[_0x39aec3(0xe0)]:_0x2a55bc[_0x39aec3(0x137)];else{(_0x2a55bc[_0x39aec3(0xe5)](_0x3c2085,_0x2a55bc[_0x39aec3(0x137)])||_0x2a55bc['apKQZ'](_0x3c2085,_0x2a55bc[_0x39aec3(0x118)])||_0x2a55bc[_0x39aec3(0xcb)](_0x3c2085,_0x2a55bc[_0x39aec3(0xff)]))&&(_0x3c2085=_0x2a55bc[_0x39aec3(0x118)]);if(_0x2a55bc[_0x39aec3(0xd1)](_0x468a8d[_0x39aec3(0x15c)],_0x2a55bc[_0x39aec3(0x137)])&&_0x2a55bc[_0x39aec3(0xef)](_0x2fb7ca[_0x39aec3(0x162)],_0x2a55bc[_0x39aec3(0x118)])){const _0x56356d={};_0x56356d[_0x39aec3(0x1a1)]=_0x2a55bc[_0x39aec3(0x155)],_0x56356d[_0x39aec3(0x12e)]=_0x2a55bc['SGvkB'],_0x468a8d[_0x39aec3(0x1a0)]=_0x56356d,_0x468a8d['errors']=[_0x468a8d['error']];}}const {failureData:_0x3b75ef,logs:_0x44d387}=_0x2a55bc[_0x39aec3(0x124)](getFailureData,_0x468a8d?.[_0x39aec3(0x175)],{}),_0x22fe9={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x2a55bc['KESOD'](_0x3b75ef,null),[TestFrameworkConstants[_0x39aec3(0x100)]]:_0x468a8d?.[_0x39aec3(0x1a0)]&&_0x2a55bc['RDpEW'](getFailureType,_0x468a8d[_0x39aec3(0x1a0)][_0x39aec3(0x1a1)]),[TestFrameworkConstants[_0x39aec3(0x198)]]:_0x468a8d?.['error']&&_0x2a55bc['kQxHG'](removeAnsiColors,_0x468a8d[_0x39aec3(0x1a0)]['message']),[TestFrameworkConstants[_0x39aec3(0x11e)]]:[],[TestFrameworkConstants[_0x39aec3(0x141)]]:_0x3c2085,[TestFrameworkConstants[_0x39aec3(0xf7)]]:_0x446f21[_0x39aec3(0x16f)](),[TestFrameworkConstants[_0x39aec3(0x1b7)]]:new Date()[_0x39aec3(0x16f)](),[TestFrameworkConstants[_0x39aec3(0x145)]]:_0x582880};if(_0x468a8d&&_0x2a55bc[_0x39aec3(0x1ab)](_0x468a8d['retry'],0x0)){const _0x2c4cdd=TestInfo[_0x39aec3(0x18a)](_0x2a55bc[_0x39aec3(0x124)](getTestRunIdentifier,_0x2fb7ca,_0x2a55bc[_0x39aec3(0x109)](_0x468a8d['retry'],0x1)));_0x22fe9[TestFrameworkConstants[_0x39aec3(0xe4)]]=_0x2c4cdd;}const _0x49af22={};_0x49af22[_0x39aec3(0x192)]=_0x2fb7ca;const _0x188625=this[_0x39aec3(0x187)](TestFrameworkState[_0x39aec3(0xd2)],HookState[_0x39aec3(0x181)],_0x49af22),_0x37f237=_0x188625[_0x39aec3(0x122)]()[_0x39aec3(0xe1)](_0x2edaa7)[TestFrameworkConstants[_0x39aec3(0x1af)]],_0x5dcb9a=_0x339a9e||_0x2a55bc['QGbSD'](getStepsAndLogs,_0x468a8d[_0x39aec3(0x197)],_0x37f237,_0x2a55bc[_0x39aec3(0x1c4)])[_0x39aec3(0x197)],_0x13daf7=new Map();let _0x3e30b8=0x0;const _0x589128=[];for(const _0x45d4db of _0x5dcb9a||[]){const _0x499ef2=_0x45d4db['parent_id']||null;let _0x10d89f;if(_0x2a55bc[_0x39aec3(0x193)](_0x499ef2,null)){if(_0x2a55bc[_0x39aec3(0x19c)](_0x3e30b8,TestFrameworkConstants['MAX_TOP_LEVEL_STEPS']))continue;_0x10d89f=0x0,_0x3e30b8++;}else{const _0x3324e6=_0x13daf7[_0x39aec3(0xe1)](_0x499ef2);if(_0x2a55bc[_0x39aec3(0xcb)](_0x3324e6,undefined))continue;_0x10d89f=_0x2a55bc['dgkME'](_0x3324e6,0x1);if(_0x2a55bc[_0x39aec3(0x18f)](_0x10d89f,TestFrameworkConstants[_0x39aec3(0x105)]))continue;}_0x13daf7[_0x39aec3(0x1a5)](_0x45d4db['id'],_0x10d89f);const _0x44cd0d={};_0x44cd0d['id']=_0x45d4db['id'],_0x44cd0d[_0x39aec3(0x12b)]=_0x499ef2,_0x44cd0d[_0x39aec3(0x144)]=_0x45d4db['text'],_0x44cd0d[_0x39aec3(0xdf)]=_0x45d4db[_0x39aec3(0xdf)]||null,_0x44cd0d[_0x39aec3(0x185)]=_0x45d4db['started_at'],_0x44cd0d[_0x39aec3(0x143)]=_0x45d4db['duration']??null,_0x44cd0d['result']=_0x45d4db[_0x39aec3(0x18c)],_0x44cd0d[_0x39aec3(0x1a8)]=_0x45d4db[_0x39aec3(0x1a8)]||null,_0x44cd0d[_0x39aec3(0xed)]=_0x45d4db[_0x39aec3(0xed)]||null,_0x589128['push'](_0x44cd0d);}const _0x4645e7={};_0x4645e7[_0x39aec3(0x197)]=_0x589128,_0x22fe9[TestFrameworkConstants['KEY_TEST_META']]=_0x4645e7,logger['debug'](_0x39aec3(0x110)+_0x589128[_0x39aec3(0x191)]+_0x39aec3(0x183)+_0x39e0e6);const _0x5dbaaa=[],_0x23cfa2=_0x2a55bc[_0x39aec3(0x188)](findNestedKey,_0x468a8d,_0x2a55bc[_0x39aec3(0x14b)]);if(_0x23cfa2&&_0x2a55bc['YFGXq'](validateFilePath,_0x23cfa2))try{_0x5dbaaa[_0x39aec3(0x112)]({'kind':_0x2a55bc[_0x39aec3(0x189)],'timestamp':new Date()[_0x39aec3(0x16f)](),'test_run_uuid':_0x37f237,'file_name':path[_0x39aec3(0x108)](_0x23cfa2),'file_size':fs[_0x39aec3(0x10d)](_0x23cfa2)[_0x39aec3(0x1c0)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x4ad0fa){logger['error'](_0x39aec3(0x179)+_0x23cfa2+':\x20'+_0x4ad0fa[_0x39aec3(0x1a1)]);}const _0x537dfc=TestInfo[_0x39aec3(0xcd)](),_0x1e5548=_0x537dfc[_0x39aec3(0x10a)](_0x3cf146=>_0x3cf146[_0x39aec3(0xfc)]===_0x37f237);_0x1e5548[_0x39aec3(0x131)](_0x1bded3=>{const _0x9252cd=_0x39aec3;if(_0x1bded3[_0x9252cd(0x173)]&&_0x2a55bc['RDpEW'](validateFilePath,_0x1bded3[_0x9252cd(0x173)])&&!_0x5dbaaa[_0x9252cd(0x114)](_0x1150a3=>_0x1150a3[_0x9252cd(0x132)]===path[_0x9252cd(0x108)](_0x1bded3[_0x9252cd(0x173)])))try{_0x5dbaaa['push']({'kind':_0x2a55bc[_0x9252cd(0x189)],'timestamp':new Date()[_0x9252cd(0x16f)](),'test_run_uuid':_0x37f237,'file_name':path[_0x9252cd(0x108)](_0x1bded3[_0x9252cd(0x173)]),'file_size':fs[_0x9252cd(0x10d)](_0x1bded3[_0x9252cd(0x173)])[_0x9252cd(0x1c0)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x4c0fef){logger[_0x9252cd(0x1a0)](_0x9252cd(0xe7)+_0x1bded3[_0x9252cd(0x173)]+'\x20from\x20TestDetails:\x20'+_0x4c0fef[_0x9252cd(0x1a1)]);}});if(_0x2a55bc[_0x39aec3(0x150)](_0x5dbaaa[_0x39aec3(0x191)],0x0)){const _0x45ae84=_0x22fe9[TestFrameworkConstants[_0x39aec3(0x11e)]]||[];_0x22fe9[TestFrameworkConstants[_0x39aec3(0x11e)]]=[..._0x45ae84,..._0x5dbaaa];}const _0x49eeb8=TestInfo[_0x39aec3(0xb8)](_0x2edaa7)[TestFrameworkConstants[_0x39aec3(0x130)]]||{},_0x147b26=_0x2a55bc[_0x39aec3(0x188)](getManualUploadLogs,_0x49eeb8,_0x188625[_0x39aec3(0x122)]()[_0x39aec3(0xe1)](_0x2edaa7)[TestFrameworkConstants[_0x39aec3(0x1af)]]);if(_0x2a55bc[_0x39aec3(0xc9)](_0x147b26[_0x39aec3(0x191)],0x0)){const _0x403004=_0x22fe9[TestFrameworkConstants[_0x39aec3(0x11e)]]||[];_0x22fe9[TestFrameworkConstants[_0x39aec3(0x11e)]]=[..._0x403004,..._0x147b26];}const _0x9603a3=_0x2fb7ca['annotations']||[],_0x44aebe=_0x22fe9[TestFrameworkConstants[_0x39aec3(0x145)]]||{};_0x9603a3['forEach'](_0x4b9372=>{const _0x11f9b2=_0x39aec3,{type:_0x2e8e81}=_0x4b9372;let _0x2e1671=_0x4b9372[_0x11f9b2(0x15b)];if(!_0x2e8e81)return;(_0x2a55bc['voDWI'](_0x2e1671,undefined)||_0x2a55bc[_0x11f9b2(0xef)](_0x2e1671,null)||_0x2a55bc[_0x11f9b2(0xcb)](_0x2a55bc[_0x11f9b2(0x13e)](String,_0x2e1671)[_0x11f9b2(0x156)](),''))&&(_0x2e1671=_0x2a55bc[_0x11f9b2(0x158)]);if(!_0x44aebe[_0x2e8e81]){const _0x17712a={};_0x17712a[_0x11f9b2(0xe6)]=_0x2a55bc[_0x11f9b2(0xd5)],_0x17712a[_0x11f9b2(0x116)]=[],_0x44aebe[_0x2e8e81]=_0x17712a;}else!_0x44aebe[_0x2e8e81]['field_type']&&(_0x44aebe[_0x2e8e81]['field_type']=_0x2a55bc[_0x11f9b2(0xd5)]),!Array[_0x11f9b2(0xbc)](_0x44aebe[_0x2e8e81][_0x11f9b2(0x116)])&&(_0x44aebe[_0x2e8e81][_0x11f9b2(0x116)]=[]);const _0x5d6b2d=_0x2a55bc['wxrWx'](String,_0x2e1671)[_0x11f9b2(0x149)](',')[_0x11f9b2(0x1be)](_0x4aaef1=>_0x4aaef1[_0x11f9b2(0x156)]());_0x44aebe[_0x2e8e81]['values']=[...new Set([..._0x44aebe[_0x2e8e81][_0x11f9b2(0x116)],..._0x5d6b2d])];}),_0x22fe9[TestFrameworkConstants[_0x39aec3(0x145)]]=_0x44aebe,TestInfo[_0x39aec3(0x13c)](_0x2edaa7,_0x22fe9);const _0x4cbc27={};return _0x4cbc27[_0x2edaa7]=_0x22fe9,_0x4cbc27;}['trackStepEvent'](_0x4434f4,_0x46d22a,_0x31a4b1){const _0x44e363=a82_0xe34574,_0x1b2889={'wYlzA':function(_0x322786,_0x2e7932){return _0x322786||_0x2e7932;},'MIWjA':function(_0x5fa0a3,_0xf602bc,_0x58f4b0){return _0x5fa0a3(_0xf602bc,_0x58f4b0);}};try{const {test:_0x45790b,result:_0x1dc94f,step:_0x3c5dc9}=_0x31a4b1;if(_0x1b2889[_0x44e363(0x12c)](!_0x45790b,!_0x3c5dc9)||!_0x1dc94f)return;const _0xd57123=_0x1b2889[_0x44e363(0xf2)](getTestRunIdentifier,_0x45790b,_0x1dc94f[_0x44e363(0x169)]);logger[_0x44e363(0xe3)](_0x44e363(0x182)+_0xd57123+_0x44e363(0x1c2)+_0x46d22a+_0x44e363(0x128)+_0x3c5dc9['title']+'\x22');}catch(_0x33169b){logger[_0x44e363(0x1a0)](_0x44e363(0x19d)+util[_0x44e363(0x195)](_0x33169b));}}async[a82_0xe34574(0x199)](_0x9f696,_0x42bf6d,_0x3ccdca,_0x1e9acf){const _0x18560d=a82_0xe34574,_0x1cc629={'hHeCC':function(_0x4efe9f,_0x3b7418,_0x4c9ea3){return _0x4efe9f(_0x3b7418,_0x4c9ea3);},'ATVan':function(_0x1f00f3,_0x51138e){return _0x1f00f3 in _0x51138e;},'CacQX':function(_0x5ce971,_0x1af19a){return _0x5ce971(_0x1af19a);},'ToLor':function(_0x2b0f41,_0x1b4a4f){return _0x2b0f41===_0x1b4a4f;},'MpYwQ':function(_0x327ba7){return _0x327ba7();},'WndRF':function(_0x1879fd,_0x52869c){return _0x1879fd>_0x52869c;},'ivdsK':function(_0x822130,_0x59bb23,_0x490511){return _0x822130(_0x59bb23,_0x490511);},'mbfxS':'err','deVeg':function(_0x4b4b35,_0x417ceb){return _0x4b4b35(_0x417ceb);},'RIsgy':function(_0x26e955,_0x49a6a1){return _0x26e955(_0x49a6a1);},'oqubf':_0x18560d(0x135),'gvMYg':_0x18560d(0xca),'GXcgn':function(_0x5f4087,_0x1c8e3a){return _0x5f4087!==_0x1c8e3a;},'UcsPJ':function(_0x30323a,_0x365b07){return _0x30323a+_0x365b07;},'wCXMW':_0x18560d(0x13d)},_0x15ceec=_0x1e9acf[_0x18560d(0x192)],_0x12e34b=_0x1e9acf['step'],_0x14b708=_0x1cc629[_0x18560d(0x1b3)](getTestRunIdentifier,_0x15ceec,_0x1e9acf[_0x18560d(0x18c)]['retry']),_0x47231c=_0x42bf6d[_0x18560d(0x121)]()[_0x18560d(0x149)]('.')[0x1];let _0x23f395=_0x9f696[_0x18560d(0x122)]()[_0x18560d(0xe1)](_0x14b708)[TestFrameworkConstants[_0x18560d(0xdb)]];!_0x23f395&&(_0x23f395={});!_0x1cc629[_0x18560d(0x13f)](_0x47231c,_0x23f395)&&(_0x23f395[_0x47231c]=[]);let _0x4d5c1d=_0x9f696[_0x18560d(0x122)]()[_0x18560d(0xe1)](_0x14b708)[TestFrameworkConstants[_0x18560d(0x1b8)]];!_0x4d5c1d&&(_0x4d5c1d={});!_0x1cc629[_0x18560d(0x13f)](_0x47231c,_0x4d5c1d)&&(_0x4d5c1d[_0x47231c]=[]);const _0x4d9547={[TestFrameworkConstants[_0x18560d(0xdb)]]:_0x23f395,[TestFrameworkConstants[_0x18560d(0x1b8)]]:_0x4d5c1d},_0x29ed6a={};_0x29ed6a[_0x14b708]=_0x4d9547;const _0x2b2b11=_0x29ed6a,_0x3183f0=_0x1cc629[_0x18560d(0x166)](getPlaywrightTestFilePath,_0x15ceec),_0x427ccb=_0x3183f0,_0x250282=TestInfo[_0x18560d(0xb8)](_0x14b708)[TestFrameworkConstants[_0x18560d(0x145)]]||{};if(_0x1cc629['ToLor'](_0x3ccdca,HookState['PRE'])){const _0x46e1a6={'key':_0x47231c,[TestFrameworkConstants[_0x18560d(0xc7)]]:_0x1cc629['MpYwQ'](uuidv4),[TestFrameworkConstants[_0x18560d(0x14c)]]:TestFrameworkConstants[_0x18560d(0x10f)],[TestFrameworkConstants[_0x18560d(0x12d)]]:_0x12e34b[_0x18560d(0x104)],[TestFrameworkConstants[_0x18560d(0x16b)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x12e34b[_0x18560d(0x10b)],[TestFrameworkConstants[_0x18560d(0x120)]]:_0x3183f0,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x427ccb,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x250282};_0x23f395[_0x47231c][_0x18560d(0x112)](_0x46e1a6),_0x2b2b11[_0x14b708][TestFrameworkConstants[_0x18560d(0x123)]]=_0x47231c,logger[_0x18560d(0xe3)](_0x18560d(0x1c3)+_0x47231c+'\x20&\x20hook\x20=\x20'+_0x46e1a6+_0x18560d(0x10c)+_0x1e9acf);}else{if(_0x1cc629['ToLor'](_0x3ccdca,HookState['POST'])){const _0x3aba79=await _0x1e9acf[_0x18560d(0x18c)],_0x3f43d7=_0x23f395[_0x47231c]||[],_0x57e73c=_0x1e9acf[_0x18560d(0x11d)];logger[_0x18560d(0xe3)](_0x18560d(0x1b0)+_0x3f43d7+_0x18560d(0xc3)+_0x1e9acf);if(_0x1cc629[_0x18560d(0x1bd)](_0x3f43d7[_0x18560d(0x191)],0x0)){const _0x432460=_0x3f43d7[_0x18560d(0x19e)]();if(_0x57e73c[_0x18560d(0x1a0)]){const _0x4b5730=_0x1cc629[_0x18560d(0xdc)](failureData,_0x57e73c[_0x18560d(0x1a0)],_0x1cc629['mbfxS']);_0x432460[TestFrameworkConstants[_0x18560d(0x1a3)]]=_0x1cc629['deVeg'](getFailureType,_0x57e73c?.[_0x18560d(0x1a0)]['message']),_0x432460[TestFrameworkConstants[_0x18560d(0x14a)]]=_0x1cc629[_0x18560d(0x17f)](removeAnsiColors,_0x57e73c?.[_0x18560d(0x1a0)][_0x18560d(0x1a1)]),_0x432460[TestFrameworkConstants[_0x18560d(0x14c)]]=_0x1cc629[_0x18560d(0x163)],_0x432460[TestFrameworkConstants[_0x18560d(0xee)]]=_0x4b5730;}else _0x432460[TestFrameworkConstants[_0x18560d(0x14c)]]=_0x1cc629[_0x18560d(0x19b)];_0x1cc629['GXcgn'](_0x3aba79,TestFrameworkConstants[_0x18560d(0x10f)])&&(_0x432460[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0x57e73c['error']?_0x1cc629[_0x18560d(0x19b)]:_0x1cc629[_0x18560d(0x163)]);const _0x3a9a20=new Date(_0x57e73c[_0x18560d(0x104)]),_0x5be7fe=new Date(_0x1cc629['UcsPJ'](_0x3a9a20[_0x18560d(0xf0)](),_0x57e73c['duration']));_0x432460[TestFrameworkConstants[_0x18560d(0x133)]]=_0x5be7fe[_0x18560d(0x16f)](),_0x432460[TestFrameworkConstants[_0x18560d(0x145)]]=_0x250282;const _0x153f35=_0x432460[TestFrameworkConstants['KEY_HOOK_ID']];await this['sendLogCreatedEvent'](_0x9f696,_0x42bf6d,_0x153f35,_0x1cc629[_0x18560d(0x1a6)],_0x1e9acf),!_0x4d5c1d[_0x47231c]&&(_0x4d5c1d[_0x47231c]=[]),_0x4d5c1d[_0x47231c]['push'](_0x432460),_0x2b2b11[_0x14b708][TestFrameworkConstants[_0x18560d(0x186)]]=_0x47231c;}}}return _0x2b2b11;}async[a82_0xe34574(0xd4)](_0x5cb3f4,_0xb899e,_0x3acb77,_0x2a0d6d,_0x27e43d,_0x515e28){const _0x25c1d5=a82_0xe34574,_0x41d493={'yByIz':function(_0x6325f,_0x30087d){return _0x6325f===_0x30087d;},'mTYRw':_0x25c1d5(0x192),'kbbAU':function(_0x2afa7a,_0x4b7846,_0xab4d00){return _0x2afa7a(_0x4b7846,_0xab4d00);},'DiYNT':function(_0x53d943,_0x5bb9be,_0x1b6304){return _0x53d943(_0x5bb9be,_0x1b6304);},'Ftjjs':_0x25c1d5(0x168),'dgeqm':function(_0x275f62,_0x33cb78,_0xa62f47,_0x187041){return _0x275f62(_0x33cb78,_0xa62f47,_0x187041);},'TePfi':function(_0x19fd6d,_0x450e8a,_0x2dc42b){return _0x19fd6d(_0x450e8a,_0x2dc42b);},'wMxqx':function(_0xe8c73,_0x5709c9,_0x18ff4e){return _0xe8c73(_0x5709c9,_0x18ff4e);},'HuVSs':function(_0x6ff6cd,_0x4f2674,_0x2a4ded){return _0x6ff6cd(_0x4f2674,_0x2a4ded);},'cxtCM':function(_0x6cc2f7,_0x2d2d98){return _0x6cc2f7/_0x2d2d98;},'ZBsmS':function(_0x5f22a1,_0x2134d6){return _0x5f22a1<_0x2134d6;},'MvULf':function(_0x2f87ae,_0x1d1561){return _0x2f87ae*_0x1d1561;},'uvmUC':function(_0x15999d,_0x11087b){return _0x15999d+_0x11087b;},'Tmils':function(_0x3ed1a7,_0x2cdf3c,_0x5a7492,_0x42ffdc,_0x174fa8){return _0x3ed1a7(_0x2cdf3c,_0x5a7492,_0x42ffdc,_0x174fa8);},'VVDNW':function(_0x5e5d1b,_0x51b554){return _0x5e5d1b+_0x51b554;},'xiHjP':function(_0x1a2c71,_0x33e95f){return _0x1a2c71+_0x33e95f;},'yNLrb':function(_0x54dba,_0x249f19,_0x1f06ea,_0x2c9d38){return _0x54dba(_0x249f19,_0x1f06ea,_0x2c9d38);},'mipYq':'hook','KmtQr':function(_0xc080c,_0x39ba9a,_0x47b74f){return _0xc080c(_0x39ba9a,_0x47b74f);}};try{if(_0x41d493[_0x25c1d5(0x115)](_0x2a0d6d,_0x41d493[_0x25c1d5(0x153)])){const _0xf2c33c=await _0x27e43d[_0x25c1d5(0x18c)],_0x2dd06c=_0x41d493[_0x25c1d5(0x101)](getTestRunIdentifier,_0x27e43d[_0x25c1d5(0x192)],_0x27e43d[_0x25c1d5(0x18c)][_0x25c1d5(0x169)]),_0x373481=_0x27e43d['test'];logger['debug']('sendLogCreatedEvent:\x20testId='+_0x2dd06c+_0x25c1d5(0x1a7)+util['inspect'](_0xf2c33c));const _0x3542eb=_0x5cb3f4['getAllData']()[_0x25c1d5(0xe1)](_0x2dd06c)[TestFrameworkConstants[_0x25c1d5(0x1af)]];await _0x41d493[_0x25c1d5(0x14f)](sendTraceZip,_0xf2c33c,_0x3542eb);const _0x4a6c80=TestInfo[_0x25c1d5(0xb8)](_0x2dd06c)[_0x41d493[_0x25c1d5(0x1c1)]],_0x2d6103={};if(_0x4a6c80){!_0xf2c33c[_0x25c1d5(0x168)]&&(_0xf2c33c[_0x25c1d5(0x168)]=[]);_0x2d6103[_0x25c1d5(0x168)]=_0xf2c33c[_0x25c1d5(0x168)][_0x25c1d5(0x126)](_0x4a6c80||[]);const _0x36ca2a=TestInfo[_0x25c1d5(0xb8)](_0x2dd06c);delete _0x36ca2a[_0x41d493[_0x25c1d5(0x1c1)]],TestInfo[_0x25c1d5(0x13c)](_0x2dd06c,_0x36ca2a);}const _0x59b11f=_0x515e28||_0x41d493['dgeqm'](getStepsAndLogs,_0xf2c33c['steps'],_0x5cb3f4[_0x25c1d5(0x122)]()[_0x25c1d5(0xe1)](_0x2dd06c)[TestFrameworkConstants['KEY_TEST_UUID']],_0x41d493[_0x25c1d5(0x153)])[_0x25c1d5(0x1ac)],_0x25fc75=_0x41d493[_0x25c1d5(0x14f)](getScreenshots,_0x2d6103,_0x5cb3f4[_0x25c1d5(0x122)]()[_0x25c1d5(0xe1)](_0x2dd06c)[TestFrameworkConstants[_0x25c1d5(0x1af)]]),_0x19ce9e=_0x41d493[_0x25c1d5(0x17c)](getVideos,_0xf2c33c,_0x5cb3f4['getAllData']()[_0x25c1d5(0xe1)](_0x2dd06c)[TestFrameworkConstants[_0x25c1d5(0x1af)]]),{_:_0x4e3789,logs:_0x5b258d}=_0x41d493[_0x25c1d5(0xfb)](getFailureData,_0xf2c33c['errors'],{'test_run_uuid':_0x5cb3f4[_0x25c1d5(0x122)]()[_0x25c1d5(0xe1)](_0x2dd06c)[TestFrameworkConstants['KEY_TEST_UUID']]}),_0x523af4=TestInfo[_0x25c1d5(0xb8)](_0x2dd06c)[TestFrameworkConstants[_0x25c1d5(0x130)]]||{},_0x11fb00=_0x41d493[_0x25c1d5(0x17d)](getMediaArtifactsLogs,_0x523af4,_0x5cb3f4['getAllData']()[_0x25c1d5(0xe1)](_0x2dd06c)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x23b9ba=_0x5cb3f4[_0x25c1d5(0x122)]()[_0x25c1d5(0xe1)](_0x2dd06c),{[TestFrameworkConstants[_0x25c1d5(0xeb)]]:_0x401aa5='',[TestFrameworkConstants[_0x25c1d5(0x11c)]]:_0x4c8633=''}=_0x23b9ba,_0x567aad=(_0x59b11f||[])[_0x25c1d5(0x126)](_0x25fc75||[])['concat'](_0x5b258d||[])[_0x25c1d5(0x126)](_0x19ce9e||[])[_0x25c1d5(0x126)](_0x11fb00||[]),_0x479c8d=0x28,_0x51853a=Math[_0x25c1d5(0x157)](_0x41d493['cxtCM'](_0x567aad['length'],_0x479c8d));for(let _0x55b0c3=0x0;_0x41d493[_0x25c1d5(0x11a)](_0x55b0c3,_0x51853a);_0x55b0c3++){const _0x1e2de6=_0x41d493[_0x25c1d5(0x16e)](_0x55b0c3,_0x479c8d),_0x13b28e=_0x41d493[_0x25c1d5(0x107)](_0x1e2de6,_0x479c8d),_0x6be531=_0x567aad[_0x25c1d5(0x111)](_0x1e2de6,_0x13b28e),_0x2280d6={'platformIndex':global?.[_0x25c1d5(0x1bc)]??0x0,'logs':_0x6be531,'testFrameworkName':_0x401aa5,'testFrameworkVersion':_0x4c8633,'testFrameworkState':_0xb899e[_0x25c1d5(0x121)]()[_0x25c1d5(0x149)]('.')[0x1]};_0x41d493[_0x25c1d5(0xc6)](updatePayloadForTraceLogs,_0x2280d6,_0x27e43d,_0x2dd06c,_0x5cb3f4),logger[_0x25c1d5(0xe3)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x2dd06c+_0x25c1d5(0x140)+_0x41d493[_0x25c1d5(0xf3)](_0x55b0c3,0x1)+'/'+_0x51853a+'\x20payload='+util['inspect'](_0x2280d6));const _0x40ec8e=await GrpcClient[_0x25c1d5(0xde)]()['logCreatedEvent'](_0x2280d6);logger[_0x25c1d5(0xe3)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x2dd06c+_0x25c1d5(0x140)+_0x41d493[_0x25c1d5(0x127)](_0x55b0c3,0x1)+'/'+_0x51853a+_0x25c1d5(0xfd)+util[_0x25c1d5(0x17b)](_0x40ec8e));}}else{const {logs:_0x55f2bc}=_0x41d493[_0x25c1d5(0x142)](getStepsAndLogs,_0x27e43d[_0x25c1d5(0x11d)][_0x25c1d5(0x197)],_0x3acb77,_0x41d493[_0x25c1d5(0x12f)]),_0x5f33dc=_0x41d493[_0x25c1d5(0x113)](getTestRunIdentifier,_0x27e43d[_0x25c1d5(0x192)],_0x27e43d['result'][_0x25c1d5(0x169)]);logger[_0x25c1d5(0xe3)](_0x25c1d5(0x151)+_0x5f33dc);const _0x204a19=_0x5cb3f4['getAllData']()[_0x25c1d5(0xe1)](_0x5f33dc),{[TestFrameworkConstants[_0x25c1d5(0xeb)]]:_0x3e1f48='',[TestFrameworkConstants[_0x25c1d5(0x11c)]]:_0x432ab1=''}=_0x204a19,_0x2d7993={'platformIndex':'0','logs':_0x55f2bc,'testFrameworkName':_0x3e1f48,'testFrameworkVersion':_0x432ab1,'testFrameworkState':_0xb899e[_0x25c1d5(0x121)]()['split']('.')[0x1]};_0x41d493['Tmils'](updatePayloadForTraceLogs,_0x2d7993,_0x27e43d,_0x5f33dc,_0x5cb3f4),logger[_0x25c1d5(0xe3)](_0x25c1d5(0xc5)+_0x5f33dc+'\x20payload='+util['inspect'](_0x2d7993));const _0x3b783a=await GrpcClient[_0x25c1d5(0xde)]()[_0x25c1d5(0x15e)](_0x2d7993);}}catch(_0x540079){logger[_0x25c1d5(0x1a0)](_0x25c1d5(0x138)+util[_0x25c1d5(0x195)](_0x540079));}}[a82_0xe34574(0x178)](_0x2bdace){const _0x354ede=a82_0xe34574,_0x117c8c={'CSoij':function(_0x3690a1,_0x4b0f6d,_0x3178e0){return _0x3690a1(_0x4b0f6d,_0x3178e0);},'BGnIG':function(_0x531da0,_0x27d6d3){return _0x531da0<_0x27d6d3;},'BVMKR':_0x354ede(0x1b2)};try{const _0x132e07=_0x2bdace[_0x354ede(0x192)]['id'],_0x4b4394=_0x117c8c[_0x354ede(0x106)](getTestRunIdentifier,_0x2bdace[_0x354ede(0x192)],_0x2bdace[_0x354ede(0x18c)][_0x354ede(0x169)]),_0x11c826=_0x2bdace[_0x354ede(0x13b)],_0x30383d=_0x11c826[_0x354ede(0x129)](),_0x4fd29c=_0x11c826[_0x354ede(0x122)]()[_0x354ede(0xe1)](_0x4b4394);logger[_0x354ede(0xe3)](_0x354ede(0xd8)+_0x132e07);const {[TestFrameworkConstants[_0x354ede(0xeb)]]:_0x970da='',[TestFrameworkConstants[_0x354ede(0x11c)]]:_0x154cf2='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x57e271='',[TestFrameworkConstants[_0x354ede(0xf7)]]:_0x4846a7=''}=_0x4fd29c,_0xe6bc9=_0x11c826[_0x354ede(0x164)]()['toString']()[_0x354ede(0x149)]('.')[0x1],_0xfea40e=_0x11c826[_0x354ede(0x1b9)]()[_0x354ede(0x121)]()[_0x354ede(0x149)]('.')[0x1],_0x8d3349=_0x117c8c[_0x354ede(0x170)](_0x2bdace?.[_0x354ede(0x18c)]?.['parallelIndex']??0x0,0x0)?0x0:_0x2bdace?.['result']?.['parallelIndex']??0x0,_0xa8a54f=_0x11c826[_0x354ede(0x190)](),_0x5d4a11=Buffer[_0x354ede(0xc8)](JSON[_0x354ede(0xf1)](_0x4fd29c))[_0x354ede(0x121)](_0x117c8c['BVMKR']),_0x168ee4={'hash':_0x30383d[_0x354ede(0xce)](),'threadId':_0x30383d[_0x354ede(0x1bb)]()[_0x354ede(0x121)](),'processId':_0x30383d[_0x354ede(0x174)]()[_0x354ede(0x121)]()},_0x293cba={};_0x293cba[_0x354ede(0xbd)]=_0x8d3349,_0x293cba[_0x354ede(0x10e)]=_0x970da,_0x293cba[_0x354ede(0x184)]=_0x154cf2,_0x293cba['testFrameworkState']=_0xe6bc9,_0x293cba[_0x354ede(0x194)]=_0xfea40e,_0x293cba[_0x354ede(0xbe)]=_0x57e271,_0x293cba[_0x354ede(0x19f)]=_0x4846a7,_0x293cba['uuid']=_0xa8a54f,_0x293cba[_0x354ede(0x176)]=_0x5d4a11,_0x293cba[_0x354ede(0x148)]=_0x168ee4;const _0x42ec7a=_0x293cba;return logger[_0x354ede(0xe3)](_0x354ede(0xf6)+_0x132e07+'\x20testState:\x20'+_0xe6bc9+_0x354ede(0xd0)+_0xfea40e),_0x42ec7a;}catch(_0x102065){return logger[_0x354ede(0x1a0)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util['format'](_0x102065)),{};}}}module[a82_0xe34574(0x134)]=PlaywrightTestFramework;