browserstack-node-sdk 1.54.0 → 1.54.2

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 (193) 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 +7 -7
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/puppeteer/patches.js +1 -1
  90. package/src/bin/puppeteer/sessionDetails.js +1 -1
  91. package/src/bin/puppeteer/test.setup.js +1 -1
  92. package/src/bin/runner.js +1 -1
  93. package/src/bin/setup.js +1 -1
  94. package/src/bin/test-runner/index.js +1 -1
  95. package/src/bin/test-runner/runTest.js +1 -1
  96. package/src/bin/test-runner/testWorker.js +1 -1
  97. package/src/bin/utils/apiUtilityMethods.js +1 -1
  98. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  99. package/src/bin/utils/constants.js +1 -1
  100. package/src/bin/utils/log4jsAppender.js +1 -1
  101. package/src/bin/utils/logPatcher.js +1 -1
  102. package/src/bin/utils/logReportingAPI.js +1 -1
  103. package/src/bin/utils/playwright-patcher.js +1 -1
  104. package/src/bin/utils/puppeteer-patcher.js +1 -1
  105. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  106. package/src/bin/utils/sharedUtils.js +1 -1
  107. package/src/bin/v2/TestInfo.js +1 -1
  108. package/src/bin/v2/browserstackCLI.js +1 -1
  109. package/src/bin/v2/cliUtils.js +1 -1
  110. package/src/bin/v2/customTagManager.js +1 -1
  111. package/src/bin/v2/eventDispatcher.js +1 -1
  112. package/src/bin/v2/framework/automationFramework.js +1 -1
  113. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  114. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  115. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  116. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  117. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  118. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  119. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  120. package/src/bin/v2/framework/testFramework.js +1 -1
  121. package/src/bin/v2/grpcClient.js +1 -1
  122. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  123. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  124. package/src/bin/v2/instances/trackedContext.js +1 -1
  125. package/src/bin/v2/instances/trackedInstance.js +1 -1
  126. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  127. package/src/bin/v2/modules/baseModule.js +1 -1
  128. package/src/bin/v2/modules/loadTestModule.js +1 -1
  129. package/src/bin/v2/modules/observabilityModule.js +1 -1
  130. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  131. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  132. package/src/bin/v2/modules/testhubModule.js +1 -1
  133. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  134. package/src/bin/v2/state/hookState.js +1 -1
  135. package/src/bin/v2/state/testFrameworkState.js +1 -1
  136. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  137. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  138. package/src/bin/v2/utils/jest-utils.js +1 -1
  139. package/src/bin/vanilla-js/command.js +1 -1
  140. package/src/browserStackSdk.js +1 -1
  141. package/src/helpers/BrowserStackSetup.js +1 -1
  142. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  143. package/src/helpers/accessibility-automation/constants.js +1 -1
  144. package/src/helpers/accessibility-automation/helper.js +1 -1
  145. package/src/helpers/accessibility-automation/scripts.js +1 -1
  146. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  147. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  148. package/src/helpers/ats/constants.js +1 -1
  149. package/src/helpers/ats/helper.js +1 -1
  150. package/src/helpers/capsMapping.js +1 -1
  151. package/src/helpers/central-scanner/constants.js +1 -1
  152. package/src/helpers/central-scanner/helpers.js +1 -1
  153. package/src/helpers/classLogger.js +1 -1
  154. package/src/helpers/globals.js +1 -1
  155. package/src/helpers/helper.js +1 -1
  156. package/src/helpers/logger.js +1 -1
  157. package/src/helpers/metadata.js +1 -1
  158. package/src/helpers/patchHelper.js +1 -1
  159. package/src/helpers/patchHelpers.js +1 -1
  160. package/src/helpers/percy/Percy.js +1 -1
  161. package/src/helpers/percy/PercyBinary.js +1 -1
  162. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  163. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  164. package/src/helpers/percy/PercySDK.js +1 -1
  165. package/src/helpers/percy/index.js +1 -1
  166. package/src/helpers/percy/utils.js +1 -1
  167. package/src/helpers/performance/constants.js +1 -1
  168. package/src/helpers/performance/performance-tester.js +1 -1
  169. package/src/helpers/playwright-helper.js +1 -1
  170. package/src/helpers/processHelper.js +1 -1
  171. package/src/helpers/puppeteer-helper.js +1 -1
  172. package/src/helpers/request-spy.js +1 -1
  173. package/src/helpers/setKeepAlive.js +1 -1
  174. package/src/helpers/test-observability/constants.js +1 -1
  175. package/src/helpers/test-observability/error-handler.js +1 -1
  176. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  177. package/src/helpers/test-observability/sessionHandler.js +1 -1
  178. package/src/helpers/test-observability/utils.js +1 -1
  179. package/src/helpers/test-orchestration/constants.js +1 -1
  180. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  181. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  182. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  183. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  184. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  185. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  186. package/src/helpers/testhub/constants.js +1 -1
  187. package/src/helpers/testhub/testhubHandler.js +1 -1
  188. package/src/helpers/testhub/utils.js +1 -1
  189. package/src/helpers/timeoutPromise.js +1 -1
  190. package/src/helpers/utilities.js +1 -1
  191. package/src/helpers/w3cMapping.js +1 -1
  192. package/src/hubAllocationMethods.js +1 -1
  193. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a75_0x3bf46d=a75_0x2c4a;function a75_0x567b(){const _0x50a0b0=['map','30uvMjgc','ntioY','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','Stored\x20pending\x20hook\x20for\x20testId:\x20','qlfLB','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','platformIndex','trackJestInstance:\x20instance\x20already\x20exists','getAllData','hookUUID','scopes','testUUID','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','getTrackedInstance','KEY_TEST_SCOPES','YvgoR','KEY_TEST_FRAMEWORK_NAME','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','ALL','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','8ubUPWV','KEY_TEST_SCOPE','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20',',\x20filePath=',',\x20target=',',\x20scopes=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','tags',',\x20hook_run_uuid=','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','startsWith','getTestFrameworks','ciMDE','getHooksForTest','wapAJ','trackJestInstance:\x20created\x20instance\x20for\x20target=','originalTest','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','findIndex','./testFramework','FJfUY','617676WUqBfU','scope','KEY_TEST_CODE',',\x20hookState=','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','substring','getId','from','OuLkW','removeActiveHook','ALrmo','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','dMKJW','tKHJo','TlFgP','keys','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event',',\x20failureType=','pFCww','_ALL','__workerDetails','\x20-\x20test_identifier=','getAllPendingHookTestIds','AyUon','warn','DdNnF','fkvzV','body','trackHookEvent','SocxV','toString','GSAZP','getPendingHooks',',\x20failureReason=','replace','hookData','KEY_HOOK_FAILURE_REASON','split','219855fzkxvE','rKVPH','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','unknown','aMrhf','afterAll','KEY_TEST_META','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','iYMkq','beforeAll','forEach','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','IuUCz','toUpperCase','MnqaN','getThreadId','GOBpD','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','liDTN','parseJestTest','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','xCuCj',',\x20duration=','KEY_TEST_NAME','UnhandledError','KEY_HOOK_NAME','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20',',\x20testFramework=','zPXwK','./constants/testFrameworkConstants.js',',\x20totalHooks=','started_at','status',',\x20platformIndex:\x20','iBqBy','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending',',\x20currentTestId:\x20',',\x20hook=',',\x20error:\x20','DEFAULT_HOOK_RESULT','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','removePendingHooks','KEY_TEST_UUID','skipped','Clmcp','test','matchHookRegex','jWHjY','KEY_HOOK_FAILURE','join','../TestInfo.js','hook_type','OQUUd','KEY_HOOKS_FINISHED','concat','length','smWbO','filePath','storePendingHook','match','getCurrentTestState',',\x20hookState:\x20','TEST_SCREENSHOT','substr','args','Ajoxl','9266892iWAUbg','test_identifier','KEY_HOOK_RESULT',',\x20result=','hzPOL','Assert','testFrameworkState',',\x20hooksListLength=','TEST','KEY_TEST_FAILURE','getJestTestName','UXeQH','zvslN',',\x20contextId=','getTestFrameworksVersions','AKMZx','KEY_TEST_FAILURE_TYPE','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','KEY_HOOK_LAST_FINISHED','\x20to\x20','KEY_TEST_ATTACHMENTS','parseJestTestResult','uZgcK','slice','getContext','\x20(testIdentifier)','Tsxqz',',\x20totalLogs:\x20','isArray','delete','ZQwLk','Error\x20in\x20createTestFrameworkEventPayload:\x20','hookState','message','includes','KEY_EVENT_STARTED_AT','KEY_TEST_ENDED_AT','\x20(testIdentifier),\x20tags=','KEY_HOOKS_STARTED','uhlvH',',\x20hookId=','KEY_HOOK_LOGS','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','processPendingHooks','[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20','getJestFailureData','tYGlt','exports','testId','zXQxj','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','uuid','148040vSjzis','AssertionError','qIaVY','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','resolveInstance','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','passed','trackEvent','format','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','testData','skip','asyncError','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','KEY_HOOK_ID','KEY_TEST_FRAMEWORK_VERSION','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','21sfjeiS',',\x20filePath:\x20','hookMetadata','hasPendingHooks','11RmhFjP','finished_at','JestTestFramework','toISOString','\x20-\x20testId:\x20','KEY_AUTOMATE_SESSION_NAME','getJestFailureReason','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','stack-trace','9988490CvNSky','error','../../../helpers/helper.js','9339309CCvjdW','set','inspect','errorsDetailed',',\x20exception=','event_ended_at',',\x20response=','fQFUh','iPIlr','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','BEZSY','fjhkO',',\x20scope:\x20','LOG_REPORT',',\x20testId=','KEY_TEST_STARTED_AT','file','imHfb','KEY_HOOK_FAILURE_TYPE','getRootParentFile','instance','jest-circus','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','../instances/testFrameworkInstance.js','../instances/trackedInstance.js','createContext','\x20hook','maxArrayLength','setTrackedInstance','__bstackPlatformIndex','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','PPnTh','endedAt','title','retryOf','KEY_HOOK_LAST_STARTED','parent','result','kkMwq','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','PRE','Unknown\x20error','KEY_LOGS','qcVBN','tsPAx','uCirX','VTMMq','getProcessId','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','KEY_TEST_RERUN_NAME','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','KEY_CUSTOM_TAGS','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20',',\x20version=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','ZHGVd','uJRQH','KEY_TEST_RESULT_AT','testFrameworkVersion','XnoFb',',\x20argsKeys=','lvTCz','AjzAi','OqLwZ',',\x20hookUUID=','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=',',\x20remainingHooks=','reverse','JYxDe','1565304YaPApN','trackJestInstance','skhem','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','mapTestHooks','util','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','duration','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=',',\x20totalBatches:\x20','addPendingHook','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','\x20for\x20testId:\x20','KEY_TEST_LOCATION',',\x20screenshotLogs:\x20','parse','getJestTestIdentifier','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20','depth','push','getJestFailureType','type','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','hook_id','test_run_uuid','KEY_TEST_FAILURE_REASON','addMultipleEntries','getJestTestFilePath','JCRHO','pop','gzGGa','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','browserstackPlatformIndex','\x20pending\x20hooks\x20for\x20testId:\x20','has','base64','ZVCIt','HMyyI','hookAnalyticsId','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','missing','hookType','getFileName','kind',',\x20hookData=','fgONc','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','name','MYETp','KEY_TEST_LOGS','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','oKcSm',',\x20state:\x20','KEY_EVENT_ENDED_AT','FWIxB','hooks','startedAt',':testAnalyticsId',',\x20hookType=','runHooks','sokXo','MSuog','KEY_TEST_RESULT','RuSmE','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','activeHooks','filter','parallelIndex','60AZEEko','isJestInternalHook','buildHookMapFromTest','ceil','getInstance','KEY_TEST_RETRY_OF','failed','pRBJD','workerInfo','Hmgwo','sendLogCreatedEvent','getJestTestTags','\x20(testIdentifier),\x20result=','POST','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','file_name','gaBLK','ffiPm','\x20screenshot\x20logs\x20for\x20testId:\x20','debug','failure_reason','GxNdg','\x20(testIdentifier),\x20hookType=','test_run_id','stringify','CzLet','\x22\x20from\x20testData','\x20&\x20hookState=','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','get','splice','\x20logs\x20for\x20testId:\x20'];a75_0x567b=function(){return _0x50a0b0;};return a75_0x567b();}(function(_0x28deac,_0xb1d74f){const _0x5aaed6=a75_0x2c4a,_0x469b05=_0x28deac();while(!![]){try{const _0x30b0b5=parseInt(_0x5aaed6(0x283))/0x1*(-parseInt(_0x5aaed6(0x1d1))/0x2)+-parseInt(_0x5aaed6(0x20c))/0x3*(-parseInt(_0x5aaed6(0x19c))/0x4)+-parseInt(_0x5aaed6(0x1bd))/0x5*(-parseInt(_0x5aaed6(0x1e6))/0x6)+parseInt(_0x5aaed6(0x295))/0x7*(parseInt(_0x5aaed6(0x154))/0x8)+-parseInt(_0x5aaed6(0x2a5))/0x9+parseInt(_0x5aaed6(0x2a2))/0xa+parseInt(_0x5aaed6(0x299))/0xb*(-parseInt(_0x5aaed6(0x24f))/0xc);if(_0x30b0b5===_0xb1d74f)break;else _0x469b05['push'](_0x469b05['shift']());}catch(_0x1bed4c){_0x469b05['push'](_0x469b05['shift']());}}}(a75_0x567b,0xdbe4f));function a75_0x2c4a(_0x5a5003,_0x14d69a){const _0x567bcd=a75_0x567b();return a75_0x2c4a=function(_0x2c4a8d,_0x258082){_0x2c4a8d=_0x2c4a8d-0x11e;let _0x13da97=_0x567bcd[_0x2c4a8d];return _0x13da97;},a75_0x2c4a(_0x5a5003,_0x14d69a);}const TestFramework=require(a75_0x3bf46d(0x1e4)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require('../state/hookState.js'),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a75_0x3bf46d(0x125)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a75_0x3bf46d(0x126)),TestFrameworkConstants=require(a75_0x3bf46d(0x22a)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a75_0x3bf46d(0x2a4)),{isInternalHook}=require('../../../helpers/test-observability/utils'),logger=createClassLogger(a75_0x3bf46d(0x29b)),{v4:uuidv4}=require(a75_0x3bf46d(0x282)),util=require(a75_0x3bf46d(0x159)),TestInfo=require(a75_0x3bf46d(0x23f)),GrpcClient=require('../grpcClient'),stackTrace=require('stack-trace');class JestTestFramework extends TestFramework{constructor(_0x2e8040,_0x219d77,_0x5589dc){super(_0x2e8040,_0x219d77,_0x5589dc),this['activeHooks']=new Map();}['setActiveHook'](_0x2bfe80,_0x3abe22,_0x174870){const _0x56dcd5=a75_0x3bf46d,_0x594811={};_0x594811[_0x56dcd5(0x18b)]=function(_0x3b715,_0x4507b3){return _0x3b715||_0x4507b3;};const _0x1548f0=_0x594811;if(_0x1548f0['oKcSm'](!_0x2bfe80,!_0x3abe22)){logger[_0x56dcd5(0x1fe)]('[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier='+_0x2bfe80+',\x20hookUUID='+_0x3abe22);return;}!this['activeHooks'][_0x56dcd5(0x178)](_0x2bfe80)&&this[_0x56dcd5(0x199)]['set'](_0x2bfe80,[]);const _0x10c341={'hookUUID':_0x3abe22,'hookType':_0x174870,'startedAt':new Date()[_0x56dcd5(0x29c)]()};this['activeHooks'][_0x56dcd5(0x1b9)](_0x2bfe80)[_0x56dcd5(0x169)](_0x10c341),logger['debug'](_0x56dcd5(0x1c2)+_0x2bfe80+_0x56dcd5(0x14f)+_0x3abe22+',\x20hookType='+_0x174870+_0x56dcd5(0x22b)+this['activeHooks'][_0x56dcd5(0x1b9)](_0x2bfe80)[_0x56dcd5(0x244)]);}[a75_0x3bf46d(0x1ef)](_0x1e024b,_0x2b700c){const _0x2297cf=a75_0x3bf46d,_0x4af41a={};_0x4af41a[_0x2297cf(0x241)]=function(_0x3170d0,_0x480e2a){return _0x3170d0||_0x480e2a;},_0x4af41a['Ajoxl']=function(_0x510b4b,_0x216c5){return _0x510b4b!==_0x216c5;},_0x4af41a[_0x2297cf(0x147)]=function(_0x457df3,_0x4ed50d){return _0x457df3===_0x4ed50d;};const _0x222c6d=_0x4af41a;if(_0x222c6d[_0x2297cf(0x241)](!_0x1e024b,!_0x2b700c)){logger[_0x2297cf(0x1fe)](_0x2297cf(0x260)+_0x1e024b+_0x2297cf(0x14f)+_0x2b700c);return;}if(this[_0x2297cf(0x199)][_0x2297cf(0x178)](_0x1e024b)){const _0x4d4073=this[_0x2297cf(0x199)][_0x2297cf(0x1b9)](_0x1e024b),_0x5183ae=_0x4d4073[_0x2297cf(0x1e3)](_0x10f3bf=>_0x10f3bf[_0x2297cf(0x1c6)]===_0x2b700c);_0x222c6d[_0x2297cf(0x24e)](_0x5183ae,-0x1)?(_0x4d4073[_0x2297cf(0x1ba)](_0x5183ae,0x1),logger[_0x2297cf(0x1af)](_0x2297cf(0x2ae)+_0x1e024b+',\x20hookUUID='+_0x2b700c+_0x2297cf(0x151)+_0x4d4073[_0x2297cf(0x244)]),_0x222c6d[_0x2297cf(0x147)](_0x4d4073['length'],0x0)&&this[_0x2297cf(0x199)][_0x2297cf(0x26c)](_0x1e024b)):logger['debug'](_0x2297cf(0x20e)+_0x1e024b+_0x2297cf(0x14f)+_0x2b700c);}}['getActiveHook'](_0x2057a0){const _0x3991b7=a75_0x3bf46d,_0xc67abe={};_0xc67abe[_0x3991b7(0x1e5)]=function(_0xac170c,_0x7f69bc){return _0xac170c>_0x7f69bc;},_0xc67abe[_0x3991b7(0x1df)]=function(_0x31177f,_0x4804b5){return _0x31177f-_0x4804b5;};const _0x40c0e4=_0xc67abe;if(!_0x2057a0)return null;if(this[_0x3991b7(0x199)][_0x3991b7(0x178)](_0x2057a0)){const _0x388323=this[_0x3991b7(0x199)][_0x3991b7(0x1b9)](_0x2057a0);if(_0x40c0e4[_0x3991b7(0x1e5)](_0x388323[_0x3991b7(0x244)],0x0)){const _0x5eb9b9=_0x388323[_0x40c0e4[_0x3991b7(0x1df)](_0x388323['length'],0x1)];return logger[_0x3991b7(0x1af)](_0x3991b7(0x124)+_0x2057a0+',\x20hookUUID='+_0x5eb9b9[_0x3991b7(0x1c6)]+_0x3991b7(0x192)+_0x5eb9b9[_0x3991b7(0x180)]),_0x5eb9b9;}}return null;}async[a75_0x3bf46d(0x28a)](_0x384779,_0x23d7d8,_0x5a72b7={}){const _0x31628c=a75_0x3bf46d,_0x4b1393={};_0x4b1393[_0x31628c(0x188)]='[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found',_0x4b1393[_0x31628c(0x1dd)]=function(_0x36bd5d,_0x44031b){return _0x36bd5d===_0x44031b;},_0x4b1393[_0x31628c(0x11e)]=function(_0x3bcc56,_0x1b0484){return _0x3bcc56||_0x1b0484;},_0x4b1393[_0x31628c(0x1cc)]=_0x31628c(0x235);const _0x5b52df=_0x4b1393;logger['debug'](_0x31628c(0x15d)+_0x384779+_0x31628c(0x1e9)+_0x23d7d8+_0x31628c(0x14b)+Object[_0x31628c(0x1f5)](_0x5a72b7)[_0x31628c(0x23e)](',')),await super[_0x31628c(0x28a)](_0x384779,_0x23d7d8,_0x5a72b7);const _0x13e92f=this['resolveInstance'](_0x384779,_0x23d7d8,_0x5a72b7);if(!_0x13e92f){logger[_0x31628c(0x1af)](_0x5b52df[_0x31628c(0x188)]);return;}try{let _0x1bf27d,_0x41b10e,_0x590490;switch(_0x384779){case TestFrameworkState[_0x31628c(0x257)]:_0x1bf27d=_0x5a72b7[_0x31628c(0x23a)];const _0x471e78={};_0x471e78['depth']=0x2,_0x471e78[_0x31628c(0x129)]=0x3,logger[_0x31628c(0x1af)](_0x31628c(0x12c)+_0x23d7d8+',\x20testData='+util[_0x31628c(0x2a7)](_0x1bf27d,_0x471e78)),_0x590490=this[_0x31628c(0x165)](_0x1bf27d),_0x41b10e=null,logger[_0x31628c(0x1af)](_0x31628c(0x1c9)+_0x590490+_0x31628c(0x268));if(_0x5b52df[_0x31628c(0x1dd)](_0x23d7d8,HookState[_0x31628c(0x136)])){logger[_0x31628c(0x1af)](_0x31628c(0x186)+_0x590490);const _0x2554c7={};_0x2554c7[_0x31628c(0x1c8)]=_0x41b10e,_0x2554c7[_0x31628c(0x28e)]=_0x1bf27d,_0x2554c7['testId']=_0x590490;const _0x280466=this[_0x31628c(0x21f)](_0x2554c7),_0x48699e={};_0x48699e['depth']=0x2,_0x48699e[_0x31628c(0x129)]=0x3,logger[_0x31628c(0x1af)](_0x31628c(0x227)+util[_0x31628c(0x2a7)](_0x280466,_0x48699e)),_0x13e92f[_0x31628c(0x170)](_0x280466),logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20'+_0x590490),await this['processPendingHooks'](_0x13e92f,_0x590490);}else{if(_0x5b52df[_0x31628c(0x1dd)](_0x23d7d8,HookState[_0x31628c(0x1a9)])){logger['debug'](_0x31628c(0x28d)+_0x590490);const _0xe762c3=_0x13e92f[_0x31628c(0x1c5)]()[_0x31628c(0x1b9)](_0x590490);logger['debug'](_0x31628c(0x15a)+util[_0x31628c(0x2a7)](Object[_0x31628c(0x1f5)](_0x5b52df[_0x31628c(0x11e)](_0xe762c3,{}))));_0xe762c3&&_0xe762c3[TestFrameworkConstants[_0x31628c(0x263)]]?logger[_0x31628c(0x1af)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20'+Object[_0x31628c(0x1f5)](_0xe762c3[TestFrameworkConstants[_0x31628c(0x263)]])[_0x31628c(0x244)]+'\x20files'):logger[_0x31628c(0x1af)](_0x5b52df[_0x31628c(0x1cc)]);const _0x4fd70f=_0x5a72b7[_0x31628c(0x1e1)]||null,_0x704d={};_0x704d[_0x31628c(0x1c8)]=_0x41b10e,_0x704d[_0x31628c(0x28e)]=_0x1bf27d,_0x704d[_0x31628c(0x27f)]=_0x590490,_0x704d[_0x31628c(0x1e1)]=_0x4fd70f;const _0x223e77=this[_0x31628c(0x264)](_0x704d),_0x558e16={};_0x558e16['depth']=0x2,_0x558e16[_0x31628c(0x129)]=0x3,logger[_0x31628c(0x1af)](_0x31628c(0x198)+util[_0x31628c(0x2a7)](_0x223e77,_0x558e16)),_0x13e92f[_0x31628c(0x170)](_0x223e77),logger[_0x31628c(0x1af)](_0x31628c(0x21d)+_0x590490),await this['processPendingHooks'](_0x13e92f,_0x590490);}}break;case TestFrameworkState[_0x31628c(0x2b2)]:if(_0x5b52df[_0x31628c(0x1dd)](_0x23d7d8,HookState[_0x31628c(0x1a9)])){const _0x4dbf17={};_0x4dbf17['depth']=0x2,logger[_0x31628c(0x1af)]('[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20'+util[_0x31628c(0x2a7)](_0x5a72b7,_0x4dbf17)),await this[_0x31628c(0x1a6)](_0x13e92f,_0x384779,_0x5a72b7);}break;default:if(CLIUtils[_0x31628c(0x23b)](_0x384779['toString']()[_0x31628c(0x20b)]('.')[0x1])){const _0x2bed81={};_0x2bed81[_0x31628c(0x168)]=0x2,_0x2bed81[_0x31628c(0x129)]=0x3,logger[_0x31628c(0x1af)](_0x31628c(0x175)+_0x384779+',\x20hookState='+_0x23d7d8+_0x31628c(0x183)+util[_0x31628c(0x2a7)](_0x5a72b7[_0x31628c(0x209)],_0x2bed81));const _0x3125ac=await this[_0x31628c(0x202)](_0x13e92f,_0x384779,_0x23d7d8,_0x5a72b7),_0x46496f={};_0x46496f[_0x31628c(0x168)]=0x2,_0x46496f[_0x31628c(0x129)]=0x3,logger['debug'](_0x31628c(0x213)+util['inspect'](_0x3125ac,_0x46496f)),_0x13e92f[_0x31628c(0x170)](_0x3125ac);}else logger[_0x31628c(0x1af)](_0x31628c(0x2a0)+_0x384779+_0x31628c(0x1b7)+_0x23d7d8);break;}logger[_0x31628c(0x1af)](_0x31628c(0x123)+_0x384779+_0x31628c(0x1e9)+_0x23d7d8);}catch(_0x514f11){logger['error'](_0x31628c(0x15c)+_0x384779+_0x31628c(0x1e9)+_0x23d7d8+_0x31628c(0x2a9)+util[_0x31628c(0x28b)](_0x514f11));}_0x5a72b7[_0x31628c(0x121)]=_0x13e92f,await this[_0x31628c(0x193)](_0x13e92f,_0x384779,_0x23d7d8,_0x5a72b7);}[a75_0x3bf46d(0x165)](_0x1131f3){const _0x339be2=a75_0x3bf46d,_0xf2f9d0={};_0xf2f9d0[_0x339be2(0x1c1)]=_0x339be2(0x1bf);const _0x4e550b=_0xf2f9d0;if(_0x1131f3&&(_0x1131f3['id']||_0x1131f3[_0x339be2(0x282)])){const _0x3bd8b1=_0x1131f3['id']||_0x1131f3['uuid'];return logger['debug']('[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22'+_0x3bd8b1+_0x339be2(0x1b6)),_0x3bd8b1;}return logger[_0x339be2(0x1af)](_0x4e550b[_0x339be2(0x1c1)]),process['pid']+_0x339be2(0x191);}[a75_0x3bf46d(0x287)](_0x59c592,_0x444a6a,_0x4a38b1={}){const _0x30ef4a=a75_0x3bf46d;let _0x26cca2=null;return _0x26cca2=TestFramework[_0x30ef4a(0x1ca)](),!_0x26cca2?(logger['debug'](_0x30ef4a(0x1d0)+_0x59c592),this[_0x30ef4a(0x155)](_0x59c592,_0x4a38b1),_0x26cca2=TestFramework[_0x30ef4a(0x1ca)](),logger[_0x30ef4a(0x1af)](_0x30ef4a(0x279)+!!_0x26cca2+_0x30ef4a(0x25c)+_0x26cca2?.['getContext']()?.[_0x30ef4a(0x1ec)]())):logger[_0x30ef4a(0x1af)](_0x30ef4a(0x150)+_0x26cca2[_0x30ef4a(0x267)]()?.[_0x30ef4a(0x1ec)]()),_0x26cca2;}[a75_0x3bf46d(0x155)](_0x2831a3,_0x1981a9){const _0x56ba43=a75_0x3bf46d,_0x886152={};_0x886152[_0x56ba43(0x1f2)]=_0x56ba43(0x1c4);const _0x51af44=_0x886152;if(TestFramework[_0x56ba43(0x1ca)]()){logger[_0x56ba43(0x1af)](_0x51af44[_0x56ba43(0x1f2)]);return;}const _0x545178=CLIUtils['getCurrentInstanceName'](),_0x38bdc0=TrackedInstance[_0x56ba43(0x127)](_0x545178);let _0x53187c=null;logger[_0x56ba43(0x1af)](_0x56ba43(0x1e0)+_0x545178+',\x20state='+_0x2831a3),_0x53187c=new TestFrameworkInstance(_0x38bdc0,this['getTestFrameworks'](),this[_0x56ba43(0x25d)](),_0x2831a3,HookState['NONE']),TestFramework[_0x56ba43(0x12a)](_0x38bdc0,_0x53187c),logger[_0x56ba43(0x1af)]('[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId='+_0x38bdc0[_0x56ba43(0x1ec)]()+_0x56ba43(0x1d5)+_0x545178+_0x56ba43(0x228)+this[_0x56ba43(0x1dc)]()[0x0]+_0x56ba43(0x144)+this[_0x56ba43(0x25d)]()[this['getTestFrameworks']()[0x0]]);}['parseJestTest'](_0x1fd6ef){const _0x2bc9ff=a75_0x3bf46d,_0x3fd663={};_0x3fd663[_0x2bc9ff(0x21c)]=function(_0xc9d798,_0x37cfa9){return _0xc9d798||_0x37cfa9;},_0x3fd663[_0x2bc9ff(0x21a)]=_0x2bc9ff(0x140);const _0x4223cb=_0x3fd663,{testUUID:_0x126776,testData:_0x3c2e23,testId:_0x4c12fe}=_0x1fd6ef;if(_0x4223cb[_0x2bc9ff(0x21c)](!_0x3c2e23,!_0x4c12fe))return logger[_0x2bc9ff(0x1af)](_0x4223cb[_0x2bc9ff(0x21a)]),{};const _0x53244b=this[_0x2bc9ff(0x1dc)]()[0x0],_0x526dd1=this[_0x2bc9ff(0x25d)](),_0x7546f0={};_0x7546f0[_0x2bc9ff(0x168)]=0x2,_0x7546f0['maxArrayLength']=0x3,logger[_0x2bc9ff(0x1af)](_0x2bc9ff(0x220)+util['inspect'](_0x3c2e23,_0x7546f0));const _0x172065=_0x3c2e23?.[_0x2bc9ff(0x1c7)]||[],_0x578f5f=this[_0x2bc9ff(0x259)](_0x3c2e23),_0x5ce2a9=this[_0x2bc9ff(0x171)](_0x3c2e23),_0x39964d=_0x3c2e23['fn']?_0x3c2e23['fn'][_0x2bc9ff(0x204)]():_0x3c2e23?.[_0x2bc9ff(0x201)]?_0x3c2e23[_0x2bc9ff(0x201)]['code'][_0x2bc9ff(0x204)]():null,_0xec0c74=this['getJestTestTags'](_0x3c2e23),_0x16c771={[TestFrameworkConstants[_0x2bc9ff(0x1cd)]]:_0x53244b,[TestFrameworkConstants[_0x2bc9ff(0x293)]]:_0x526dd1[_0x53244b],[TestFrameworkConstants[_0x2bc9ff(0x189)]]:[],[TestFrameworkConstants[_0x2bc9ff(0x242)]]:{},[TestFrameworkConstants[_0x2bc9ff(0x275)]]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x2bc9ff(0x29e)]]:_0x578f5f,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x5ce2a9,[TestFrameworkConstants['KEY_TEST_ID']]:_0x4c12fe,[TestFrameworkConstants[_0x2bc9ff(0x223)]]:_0x578f5f,[TestFrameworkConstants[_0x2bc9ff(0x162)]]:_0x5ce2a9,[TestFrameworkConstants[_0x2bc9ff(0x1e8)]]:_0x39964d,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0xec0c74,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x3c2e23[_0x2bc9ff(0x22c)]||new Date()[_0x2bc9ff(0x29c)](),[TestFrameworkConstants[_0x2bc9ff(0x1d2)]]:_0x172065[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x172065,[TestFrameworkConstants[_0x2bc9ff(0x13f)]]:_0x578f5f,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants['KEY_TEST_META']]:{}};_0x3c2e23[_0x2bc9ff(0x130)]&&(_0x16c771[TestFrameworkConstants[_0x2bc9ff(0x1a1)]]=_0x3c2e23[_0x2bc9ff(0x130)]);logger[_0x2bc9ff(0x1af)](_0x2bc9ff(0x288)+_0x578f5f+_0x2bc9ff(0x2b3)+_0x4c12fe+_0x2bc9ff(0x274)+JSON[_0x2bc9ff(0x1b4)](_0xec0c74)+_0x2bc9ff(0x1d6)+util[_0x2bc9ff(0x2a7)](_0x172065)+_0x2bc9ff(0x1d4)+_0x5ce2a9);const _0x5e4f5e={};return _0x5e4f5e[_0x4c12fe]=_0x16c771,_0x5e4f5e;}[a75_0x3bf46d(0x264)](_0x5284b6){const _0x54a41b=a75_0x3bf46d,_0x51546e={'tYGlt':function(_0x3f5d1d,_0x44d476){return _0x3f5d1d===_0x44d476;},'ffiPm':_0x54a41b(0x211),'AjzAi':_0x54a41b(0x215),'xCuCj':_0x54a41b(0x1cf),'TlFgP':_0x54a41b(0x1f9),'qIaVY':function(_0x16b653,_0x1daf5e){return _0x16b653||_0x1daf5e;},'GxNdg':_0x54a41b(0x160),'ZQwLk':'unknown','Hmgwo':function(_0x4287cf,_0x584779){return _0x4287cf>_0x584779;},'GSAZP':'failed','qcVBN':_0x54a41b(0x28f),'XnoFb':_0x54a41b(0x238),'ALrmo':_0x54a41b(0x289),'uCirX':function(_0x282430,_0x439b49){return _0x282430!==_0x439b49;},'JCRHO':function(_0x2c1fda,_0x486f12,_0x5b7c38,_0xfe279d){return _0x2c1fda(_0x486f12,_0x5b7c38,_0xfe279d);},'tsPAx':function(_0x116cf1,_0x54ae6f){return _0x116cf1>_0x54ae6f;},'skhem':_0x54a41b(0x1da),'DdNnF':function(_0x27b688,_0x56b98e){return _0x27b688>_0x56b98e;},'pFCww':function(_0x2665a2,_0x1d9757){return _0x2665a2===_0x1d9757;}},{testUUID:_0x482448,testData:_0x494942,testId:_0x352c14}=_0x5284b6;if(_0x51546e[_0x54a41b(0x285)](!_0x494942,!_0x352c14))return logger[_0x54a41b(0x1af)](_0x51546e[_0x54a41b(0x1b1)]),{};const _0x651885=this[_0x54a41b(0x287)](TestFrameworkState[_0x54a41b(0x257)],HookState[_0x54a41b(0x1a9)]),_0x5ef7dd=_0x651885[_0x54a41b(0x1c5)]()[_0x54a41b(0x1b9)](_0x352c14),_0x380e30=_0x51546e[_0x54a41b(0x285)](_0x5ef7dd,{}),_0x1c8b08=_0x380e30?_0x380e30[TestFrameworkConstants[_0x54a41b(0x142)]]||{}:{},_0x50c7d5=_0x380e30[TestFrameworkConstants[_0x54a41b(0x263)]];logger[_0x54a41b(0x1af)]('[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20'+(_0x50c7d5?Object[_0x54a41b(0x1f5)](_0x50c7d5)[_0x54a41b(0x244)]:0x0)+'\x20attachments');let _0x50d3a9=_0x51546e[_0x54a41b(0x26d)];if(_0x494942[_0x54a41b(0x133)])_0x50d3a9=_0x494942[_0x54a41b(0x133)];else{if(_0x494942[_0x54a41b(0x2a8)]&&_0x51546e[_0x54a41b(0x1a5)](_0x494942['errorsDetailed']['length'],0x0))_0x50d3a9=_0x51546e['GSAZP'];else _0x51546e[_0x54a41b(0x27d)](_0x494942['status'],_0x51546e[_0x54a41b(0x139)])||_0x51546e['tYGlt'](_0x494942[_0x54a41b(0x22d)],_0x51546e['XnoFb'])?_0x50d3a9=_0x51546e[_0x54a41b(0x14a)]:_0x50d3a9=_0x51546e[_0x54a41b(0x1f0)];}const _0x2cae54={..._0x380e30,[TestFrameworkConstants[_0x54a41b(0x196)]]:_0x50d3a9,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x494942[_0x54a41b(0x29a)]||new Date()[_0x54a41b(0x29c)](),[TestFrameworkConstants[_0x54a41b(0x148)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x54a41b(0x142)]]:_0x1c8b08,[TestFrameworkConstants[_0x54a41b(0x138)]]:_0x380e30[TestFrameworkConstants[_0x54a41b(0x138)]]||[],[TestFrameworkConstants[_0x54a41b(0x212)]]:{}};if(_0x51546e[_0x54a41b(0x27d)](_0x50d3a9,_0x51546e['GSAZP'])&&_0x494942['errorsDetailed']){const _0x52dd23=this[_0x54a41b(0x29f)](_0x494942),_0x4bf664=this[_0x54a41b(0x16a)](_0x494942),_0x91b692=this['getJestFailureData'](_0x494942);_0x2cae54[TestFrameworkConstants[_0x54a41b(0x25f)]]=_0x4bf664,_0x2cae54[TestFrameworkConstants[_0x54a41b(0x16f)]]=_0x52dd23,_0x2cae54[TestFrameworkConstants[_0x54a41b(0x258)]]=_0x91b692;}_0x51546e[_0x54a41b(0x13b)](_0x494942[_0x54a41b(0x15b)],undefined)&&(_0x2cae54[TestFrameworkConstants['KEY_TEST_DURATION']]=_0x494942[_0x54a41b(0x15b)]);_0x494942[_0x54a41b(0x130)]&&(_0x2cae54[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x494942[_0x54a41b(0x130)]);const _0x5c3098=_0x5ef7dd?_0x5ef7dd[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{}:{},_0x2e6407=_0x5ef7dd?_0x5ef7dd[TestFrameworkConstants[_0x54a41b(0x237)]]:_0x482448,_0xf4ed5e=_0x51546e[_0x54a41b(0x172)](getManualUploadLogs,_0x5c3098,_0x2e6407,_0x352c14);if(_0x51546e[_0x54a41b(0x13a)](_0xf4ed5e[_0x54a41b(0x244)],0x0)){const _0x50e8ed=_0x2cae54[TestFrameworkConstants[_0x54a41b(0x138)]]||[];_0x2cae54[TestFrameworkConstants['KEY_LOGS']]=[..._0x50e8ed,..._0xf4ed5e];}const _0x50e4d2=_0x380e30[TestFrameworkConstants[_0x54a41b(0x242)]]||{},_0x1cbeb8=_0x380e30[TestFrameworkConstants[_0x54a41b(0x275)]]||{},_0x48ad00={..._0x50e4d2},_0x3925e2=_0x48ad00;Object[_0x54a41b(0x1f5)](_0x1cbeb8)[_0x54a41b(0x216)](_0x9abc11=>{const _0x39d908=_0x54a41b;!_0x3925e2[_0x9abc11]&&(_0x3925e2[_0x9abc11]=[]);const _0x55031c=new Set((_0x3925e2[_0x9abc11]||[])[_0x39d908(0x1bc)](_0x3781e4=>_0x3781e4[TestFrameworkConstants[_0x39d908(0x292)]]||_0x3781e4['hook_id']));(_0x1cbeb8[_0x9abc11]||[])[_0x39d908(0x216)](_0x508e48=>{const _0x4e32a6=_0x39d908,_0x8aae5c=_0x508e48[TestFrameworkConstants[_0x4e32a6(0x292)]]||_0x508e48[_0x4e32a6(0x16d)];if(!_0x55031c[_0x4e32a6(0x178)](_0x8aae5c)){const _0x147ba4={..._0x508e48},_0x123a1d=_0x147ba4;!_0x123a1d[TestFrameworkConstants[_0x4e32a6(0x18d)]]&&!_0x123a1d[_0x4e32a6(0x2aa)]&&(_0x123a1d[TestFrameworkConstants[_0x4e32a6(0x18d)]]=new Date()[_0x4e32a6(0x29c)]()),!_0x123a1d[TestFrameworkConstants['KEY_HOOK_RESULT']]&&!_0x123a1d['hook_result']&&(_0x123a1d[TestFrameworkConstants[_0x4e32a6(0x251)]]=TestFrameworkConstants[_0x4e32a6(0x234)]),_0x3925e2[_0x9abc11][_0x4e32a6(0x169)](_0x123a1d);}});});if(_0x5284b6['originalTest']){this[_0x54a41b(0x158)](_0x5284b6[_0x54a41b(0x1e1)]);const _0x1b8b90=this[_0x54a41b(0x19e)](_0x5284b6[_0x54a41b(0x1e1)]),_0x14bda9=this[_0x54a41b(0x1de)](_0x5284b6['originalTest']);_0x14bda9[_0x54a41b(0x216)](_0x179e4e=>{const _0x338fcc=_0x54a41b,_0x29b36f=_0x1b8b90[_0x338fcc(0x1b9)](_0x179e4e);if(_0x29b36f&&(_0x51546e['tYGlt'](_0x29b36f[_0x338fcc(0x16b)],_0x51546e[_0x338fcc(0x1ad)])||_0x51546e['tYGlt'](_0x29b36f['type'],_0x51546e[_0x338fcc(0x14d)]))){const _0x48ce02=_0x29b36f[_0x338fcc(0x16b)][_0x338fcc(0x219)]()[_0x338fcc(0x208)](_0x51546e[_0x338fcc(0x221)],_0x51546e[_0x338fcc(0x1f4)]),_0x56547e=_0x48ce02;!_0x3925e2[_0x56547e]&&(_0x3925e2[_0x56547e]=[]);const _0x1acc6c=_0x3925e2[_0x56547e]['find'](_0x1559b1=>(_0x1559b1[TestFrameworkConstants['KEY_HOOK_ID']]||_0x1559b1['hook_id'])===_0x179e4e);!_0x1acc6c&&_0x3925e2[_0x56547e][_0x338fcc(0x169)]({'key':_0x56547e,[TestFrameworkConstants[_0x338fcc(0x292)]]:_0x179e4e,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x338fcc(0x234)],[TestFrameworkConstants[_0x338fcc(0x272)]]:new Date()[_0x338fcc(0x29c)](),[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]:new Date()[_0x338fcc(0x29c)](),[TestFrameworkConstants[_0x338fcc(0x278)]]:[],[TestFrameworkConstants[_0x338fcc(0x225)]]:_0x29b36f[_0x338fcc(0x187)]||_0x29b36f['type']+_0x338fcc(0x128),[TestFrameworkConstants[_0x338fcc(0x142)]]:_0x1c8b08});}});}if(_0x494942[_0x54a41b(0x18f)]&&_0x51546e['Hmgwo'](_0x494942[_0x54a41b(0x18f)][_0x54a41b(0x244)],0x0))_0x2cae54[TestFrameworkConstants[_0x54a41b(0x242)]]=_0x494942[_0x54a41b(0x18f)],logger[_0x54a41b(0x1af)](_0x51546e[_0x54a41b(0x156)]);else _0x51546e[_0x54a41b(0x1ff)](Object['keys'](_0x3925e2)[_0x54a41b(0x244)],0x0)&&(_0x2cae54[TestFrameworkConstants[_0x54a41b(0x242)]]=_0x3925e2,logger[_0x54a41b(0x1af)]('[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes='+Object[_0x54a41b(0x1f5)](_0x3925e2)[_0x54a41b(0x23e)](',')));const _0x3b9a0e=this[_0x54a41b(0x259)](_0x494942);logger[_0x54a41b(0x1af)]('[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName='+_0x3b9a0e+_0x54a41b(0x2b3)+_0x352c14+_0x54a41b(0x1a8)+_0x50d3a9+_0x54a41b(0x222)+_0x494942['duration']);_0x51546e[_0x54a41b(0x1f8)](_0x50d3a9,_0x51546e[_0x54a41b(0x205)])&&logger[_0x54a41b(0x1af)]('[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId='+_0x352c14+_0x54a41b(0x1f7)+_0x2cae54[TestFrameworkConstants[_0x54a41b(0x25f)]]+',\x20failureReason='+_0x2cae54[TestFrameworkConstants[_0x54a41b(0x16f)]]?.[_0x54a41b(0x1eb)](0x0,0xc8));const _0x510f16={};return _0x510f16[_0x352c14]=_0x2cae54,_0x510f16;}['getJestTestScopes'](_0x47c9bd){const _0x394896=a75_0x3bf46d,_0x751ee8={};_0x751ee8[_0x394896(0x1ac)]=function(_0x1308a3,_0x1a6e55){return _0x1308a3!==_0x1a6e55;},_0x751ee8[_0x394896(0x239)]=function(_0x1ea93b,_0x12f63f){return _0x1ea93b!==_0x12f63f;},_0x751ee8[_0x394896(0x153)]='ROOT_DESCRIBE_BLOCK';const _0x182cb8=_0x751ee8,_0x15faab={};_0x15faab[_0x394896(0x168)]=0x2,_0x15faab[_0x394896(0x129)]=0x3,logger[_0x394896(0x1af)](_0x394896(0x167)+util[_0x394896(0x2a7)](_0x47c9bd,_0x15faab));const _0x40f48f=[];if(_0x47c9bd&&_0x47c9bd['parent']){let _0x47060f=_0x47c9bd[_0x394896(0x132)];while(_0x47060f&&_0x47060f[_0x394896(0x187)]&&_0x182cb8[_0x394896(0x1ac)](_0x47060f[_0x394896(0x187)],'')&&_0x182cb8['Clmcp'](_0x47060f[_0x394896(0x187)],_0x182cb8[_0x394896(0x153)])){_0x40f48f[_0x394896(0x169)](_0x47060f[_0x394896(0x187)]),_0x47060f=_0x47060f[_0x394896(0x132)];}}return _0x40f48f[_0x394896(0x152)]();}[a75_0x3bf46d(0x259)](_0x1806bf){const _0x3baac2=a75_0x3bf46d,_0x1ada88={};_0x1ada88[_0x3baac2(0x1f3)]='Unknown\x20Test';const _0x1e0f9a=_0x1ada88;if(_0x1806bf[_0x3baac2(0x187)])return _0x1806bf['name'];if(_0x1806bf[_0x3baac2(0x12f)])return _0x1806bf[_0x3baac2(0x12f)];return _0x1e0f9a[_0x3baac2(0x1f3)];}[a75_0x3bf46d(0x1a7)](_0x12cfb4){const _0x5c2cea=a75_0x3bf46d,_0x433c89=[];if(_0x12cfb4[_0x5c2cea(0x1d8)]&&Array[_0x5c2cea(0x26b)](_0x12cfb4[_0x5c2cea(0x1d8)]))return _0x12cfb4[_0x5c2cea(0x1d8)][_0x5c2cea(0x1bc)](_0x456d83=>_0x456d83[_0x5c2cea(0x1db)]('@')?_0x456d83[_0x5c2cea(0x24c)](0x1):_0x456d83);const _0xa7e26b=this[_0x5c2cea(0x259)](_0x12cfb4),_0x5b9e88=_0xa7e26b[_0x5c2cea(0x248)](/@(\w+)/g);if(_0x5b9e88)return _0x5b9e88[_0x5c2cea(0x1bc)](_0x2b50cc=>_0x2b50cc[_0x5c2cea(0x266)](0x1));return _0x12cfb4['scopes']&&Array[_0x5c2cea(0x26b)](_0x12cfb4[_0x5c2cea(0x1c7)])&&_0x12cfb4[_0x5c2cea(0x1c7)]['forEach'](_0x39f288=>{const _0x19903d=_0x5c2cea,_0x24ab49=_0x39f288[_0x19903d(0x248)](/@(\w+)/g);_0x24ab49&&_0x24ab49[_0x19903d(0x216)](_0x11000a=>{const _0x4a5729=_0x19903d,_0x2c08a4=_0x11000a[_0x4a5729(0x266)](0x1);!_0x433c89[_0x4a5729(0x271)](_0x2c08a4)&&_0x433c89[_0x4a5729(0x169)](_0x2c08a4);});}),_0x433c89;}[a75_0x3bf46d(0x171)](_0x3ad2f9){const _0x6cbab=a75_0x3bf46d,_0x2e301b={'RuSmE':function(_0x5170c3,_0x2fe7fb){return _0x5170c3(_0x2fe7fb);},'sokXo':_0x6cbab(0x2a1)};if(_0x3ad2f9['file_name'])return _0x3ad2f9['file_name'];if(_0x3ad2f9[_0x6cbab(0x290)]){const _0x5617a2=_0x2e301b[_0x6cbab(0x197)](require,_0x2e301b[_0x6cbab(0x194)]);try{const _0x51a95a=_0x5617a2[_0x6cbab(0x164)](_0x3ad2f9[_0x6cbab(0x290)]);if(_0x51a95a[0x0]&&_0x51a95a[0x0][_0x6cbab(0x181)])return _0x51a95a[0x0][_0x6cbab(0x181)]();}catch(_0x1172ef){logger['debug'](_0x6cbab(0x166)+util[_0x6cbab(0x28b)](_0x1172ef));}}return null;}[a75_0x3bf46d(0x29f)](_0x43141a){const _0x74518b=a75_0x3bf46d,_0x15d452={};_0x15d452[_0x74518b(0x1b5)]=function(_0x506c0e,_0x19dd20){return _0x506c0e>_0x19dd20;},_0x15d452['HMyyI']=_0x74518b(0x137);const _0x4eef0a=_0x15d452;if(_0x43141a[_0x74518b(0x2a8)]&&_0x4eef0a['CzLet'](_0x43141a['errorsDetailed'][_0x74518b(0x244)],0x0))return util[_0x74518b(0x2a7)](_0x43141a[_0x74518b(0x2a8)][0x0]);if(_0x43141a[_0x74518b(0x1b0)])return _0x43141a[_0x74518b(0x1b0)];return _0x4eef0a[_0x74518b(0x17b)];}['getJestFailureType'](_0x2e87b5){const _0x50ca7e=a75_0x3bf46d,_0x106825={};_0x106825['zPaTY']=_0x50ca7e(0x254),_0x106825[_0x50ca7e(0x174)]=_0x50ca7e(0x284),_0x106825[_0x50ca7e(0x245)]=_0x50ca7e(0x224);const _0x583e7a=_0x106825,_0x31fd12=this[_0x50ca7e(0x29f)](_0x2e87b5);if(_0x31fd12&&_0x31fd12[_0x50ca7e(0x271)](_0x583e7a['zPaTY']))return _0x583e7a['gzGGa'];return _0x583e7a[_0x50ca7e(0x245)];}[a75_0x3bf46d(0x27c)](_0x4fb5d1){const _0x38bbde=a75_0x3bf46d,_0x11891c={'PPnTh':function(_0x261f46,_0x4b7a0a){return _0x261f46(_0x4b7a0a);},'YorEP':'../../../helpers/test-observability/utils','rKVPH':function(_0x51bb6b,_0x444fc5){return _0x51bb6b!==_0x444fc5;},'FWIxB':_0x38bbde(0x23a)},{failureData:_0x30a6fa}=_0x11891c[_0x38bbde(0x12d)](require,_0x11891c['YorEP']),_0x4788dc=[];return _0x11891c[_0x38bbde(0x20d)](_0x4fb5d1['errorsDetailed'],undefined)&&_0x4788dc['push'](_0x4fb5d1['errorsDetailed'],_0x11891c[_0x38bbde(0x18e)]),_0x30a6fa['apply'](null,_0x4788dc);}async[a75_0x3bf46d(0x202)](_0x39f202,_0xc50406,_0x3a8355,_0x228aa5){const _0x548be8=a75_0x3bf46d,_0x2c55ac={'kkMwq':_0x548be8(0x1f6),'zvslN':function(_0x471048){return _0x471048();},'OMVqE':function(_0x1fd845,_0xa7ca60){return _0x1fd845 in _0xa7ca60;},'MrlLy':function(_0x4ca209,_0x4a319f){return _0x4ca209 in _0x4a319f;},'aMrhf':function(_0x49efd1,_0x35b154){return _0x49efd1===_0x35b154;},'fgONc':function(_0x542153,_0xbea466){return _0x542153>_0xbea466;},'hzPOL':_0x548be8(0x1a2),'pRBJD':'passed','TRckS':_0x548be8(0x230),'AKMZx':function(_0x1d6360,_0x7337ba){return _0x1d6360!==_0x7337ba;}},{hookData:_0x565531}=_0x228aa5,_0x8a06c5=_0x3a8355[_0x548be8(0x204)](),_0x229bdd=_0xc50406[_0x548be8(0x204)](),_0x32eb1d={};_0x32eb1d[_0x548be8(0x168)]=0x2,_0x32eb1d[_0x548be8(0x129)]=0x3,logger[_0x548be8(0x1af)]('[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState='+_0x229bdd+_0x548be8(0x1e9)+_0x8a06c5+',\x20hookData='+util['inspect'](_0x565531,_0x32eb1d));if(!_0x565531)return logger[_0x548be8(0x1af)](_0x2c55ac[_0x548be8(0x134)]),{};const _0x42a4e7=_0x565531[_0x548be8(0x282)]||_0x565531[_0x548be8(0x17c)]||_0x2c55ac[_0x548be8(0x25b)](uuidv4),_0x253c99=_0x565531[_0x548be8(0x1b3)]||this[_0x548be8(0x165)](_0x565531),_0x37c458=_0xc50406['toString']()['split']('.')[0x1],_0x53d78f=_0x39f202[_0x548be8(0x1c5)]()[_0x548be8(0x1b9)](_0x253c99),_0x5ab0d4=_0x53d78f?_0x53d78f[TestFrameworkConstants[_0x548be8(0x142)]]||{}:{};logger['debug'](_0x548be8(0x1aa)+_0x42a4e7+_0x548be8(0x2b3)+_0x253c99+_0x548be8(0x1b2)+_0x37c458+_0x548be8(0x1e9)+_0x8a06c5);if(!_0x53d78f)return logger[_0x548be8(0x1af)](_0x548be8(0x281)+_0x253c99+',\x20storing\x20as\x20pending\x20hook'),this[_0x548be8(0x247)](_0x39f202,_0x253c99,_0xc50406,_0x3a8355,_0x228aa5),{};let _0x123d87=_0x53d78f[TestFrameworkConstants[_0x548be8(0x275)]];!_0x123d87&&(_0x123d87={});!_0x2c55ac['OMVqE'](_0x37c458,_0x123d87)&&(_0x123d87[_0x37c458]=[]);let _0x3a6caf=_0x53d78f[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x3a6caf&&(_0x3a6caf={});!_0x2c55ac['MrlLy'](_0x37c458,_0x3a6caf)&&(_0x3a6caf[_0x37c458]=[]);const _0xe77544={[_0x253c99]:{[TestFrameworkConstants[_0x548be8(0x275)]]:_0x123d87,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x3a6caf,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x548be8(0x1dc)]()[0x0]||'',[TestFrameworkConstants[_0x548be8(0x293)]]:this[_0x548be8(0x25d)]()[this['getTestFrameworks']()[0x0]]||''}};if(_0x2c55ac['aMrhf'](_0x3a8355,HookState[_0x548be8(0x136)])){const _0x5bce93={'key':_0x37c458,[TestFrameworkConstants[_0x548be8(0x292)]]:_0x42a4e7,[TestFrameworkConstants[_0x548be8(0x251)]]:TestFrameworkConstants[_0x548be8(0x234)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x565531['started_at']||new Date()[_0x548be8(0x29c)](),[TestFrameworkConstants[_0x548be8(0x278)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x565531[_0x548be8(0x187)]||_0x565531[_0x548be8(0x240)]||_0x37c458,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x5ab0d4};_0x123d87[_0x37c458]['push'](_0x5bce93),_0xe77544[_0x253c99][TestFrameworkConstants[_0x548be8(0x131)]]=_0x37c458;const _0x4003fa={};_0x4003fa[_0x548be8(0x168)]=0x2,logger['debug'](_0x548be8(0x294)+_0x37c458+',\x20hookId='+_0x42a4e7+_0x548be8(0x2b3)+_0x253c99+_0x548be8(0x232)+util[_0x548be8(0x2a7)](_0x5bce93,_0x4003fa));}else{if(_0x2c55ac[_0x548be8(0x210)](_0x3a8355,HookState[_0x548be8(0x1a9)])){const _0xa20269=_0x565531[_0x548be8(0x133)]||(_0x565531[_0x548be8(0x2a8)]&&_0x2c55ac['fgONc'](_0x565531['errorsDetailed'][_0x548be8(0x244)],0x0)?_0x2c55ac[_0x548be8(0x253)]:_0x2c55ac[_0x548be8(0x1a3)]),_0x5799a4=_0x123d87[_0x37c458]||[];logger['debug']('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType='+_0x37c458+',\x20testId='+_0x253c99+',\x20result='+_0xa20269+_0x548be8(0x256)+_0x5799a4['length']);if(_0x2c55ac[_0x548be8(0x210)](_0x5799a4['length'],0x0)&&_0x2c55ac[_0x548be8(0x210)](_0xc50406,TestFrameworkState['BEFORE_ALL']))return logger['debug'](_0x2c55ac['TRckS']),this[_0x548be8(0x247)](_0x39f202,_0x253c99,_0xc50406,_0x3a8355,_0x228aa5),{};if(_0x2c55ac[_0x548be8(0x184)](_0x5799a4[_0x548be8(0x244)],0x0)){const _0x28be25=_0x5799a4[_0x548be8(0x173)]();_0x2c55ac[_0x548be8(0x210)](_0xa20269,_0x2c55ac[_0x548be8(0x253)])&&_0x565531['errorsDetailed']?(_0x28be25[TestFrameworkConstants[_0x548be8(0x11f)]]=this['getJestFailureType'](_0x565531),_0x28be25[TestFrameworkConstants[_0x548be8(0x20a)]]=this[_0x548be8(0x29f)](_0x565531),_0x28be25[TestFrameworkConstants[_0x548be8(0x23d)]]=this[_0x548be8(0x27c)](_0x565531),logger[_0x548be8(0x1af)](_0x548be8(0x217)+_0x37c458+_0x548be8(0x1f7)+_0x28be25[TestFrameworkConstants[_0x548be8(0x11f)]]+_0x548be8(0x207)+_0x28be25[TestFrameworkConstants[_0x548be8(0x20a)]]?.['substring'](0x0,0xc8))):_0x28be25[TestFrameworkConstants[_0x548be8(0x251)]]=_0x2c55ac['pRBJD'];_0x2c55ac[_0x548be8(0x25e)](_0xa20269,TestFrameworkConstants[_0x548be8(0x234)])&&(_0x28be25[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0xa20269);_0x28be25[TestFrameworkConstants[_0x548be8(0x18d)]]=_0x565531[_0x548be8(0x29a)]||new Date()[_0x548be8(0x29c)](),_0x28be25[TestFrameworkConstants[_0x548be8(0x142)]]=_0x5ab0d4;const _0x314c2c=_0x28be25[TestFrameworkConstants[_0x548be8(0x292)]];!_0x3a6caf[_0x37c458]&&(_0x3a6caf[_0x37c458]=[]);_0x3a6caf[_0x37c458][_0x548be8(0x169)](_0x28be25),_0xe77544[_0x253c99][TestFrameworkConstants[_0x548be8(0x261)]]=_0x37c458;const _0x207328={};_0x207328[_0x548be8(0x168)]=0x2,logger[_0x548be8(0x1af)](_0x548be8(0x16c)+_0x37c458+_0x548be8(0x277)+_0x314c2c+_0x548be8(0x252)+_0xa20269+',\x20hook='+util[_0x548be8(0x2a7)](_0x28be25,_0x207328));}}}return _0xe77544;}['createTestFrameworkEventPayload'](_0x484118){const _0x17093e=a75_0x3bf46d,_0x54a6c8={};_0x54a6c8[_0x17093e(0x1ee)]=_0x17093e(0x179);const _0x2ecbe6=_0x54a6c8;try{const _0x496083=_0x484118[_0x17093e(0x23a)]?this[_0x17093e(0x165)](_0x484118[_0x17093e(0x23a)]):_0x484118[_0x17093e(0x209)][_0x17093e(0x1b3)],_0x5ad112=_0x484118['instance'],_0x196c74=_0x5ad112[_0x17093e(0x267)](),_0xed08c5=_0x5ad112[_0x17093e(0x1c5)]()[_0x17093e(0x1b9)](_0x496083);if(!_0xed08c5)return logger[_0x17093e(0x1af)](_0x17093e(0x18a)+_0x496083),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x23900d=this['getTestFrameworks']()[0x0]||'',[TestFrameworkConstants[_0x17093e(0x293)]]:_0x2715de=this['getTestFrameworksVersions']()[this[_0x17093e(0x1dc)]()[0x0]]||'',[TestFrameworkConstants[_0x17093e(0x2b4)]]:_0x16a8e8='',[TestFrameworkConstants[_0x17093e(0x273)]]:_0x277330=''}=_0xed08c5,_0x5bf450=_0x5ad112[_0x17093e(0x249)]()[_0x17093e(0x204)]()[_0x17093e(0x20b)]('.')[0x1],_0x59d29c=_0x5ad112['getCurrentHookState']()[_0x17093e(0x204)]()[_0x17093e(0x20b)]('.')[0x1],_0x311c57=global?.[_0x17093e(0x1fa)]?.[_0x17093e(0x1a4)]?.[_0x17093e(0x19b)]||global[_0x17093e(0x12b)]||0x0,_0xb00dbd=_0x5ad112['getRef'](),_0x2cee8c=Buffer[_0x17093e(0x1ed)](JSON[_0x17093e(0x1b4)](_0xed08c5))[_0x17093e(0x204)](_0x2ecbe6[_0x17093e(0x1ee)]),_0x465d03={'hash':_0x196c74[_0x17093e(0x1ec)](),'threadId':_0x196c74[_0x17093e(0x21b)]()['toString'](),'processId':_0x196c74[_0x17093e(0x13d)]()[_0x17093e(0x204)]()},_0x5a9a1a={};_0x5a9a1a[_0x17093e(0x1c3)]=_0x311c57,_0x5a9a1a['testFrameworkName']=_0x23900d,_0x5a9a1a[_0x17093e(0x149)]=_0x2715de,_0x5a9a1a[_0x17093e(0x255)]=_0x5bf450,_0x5a9a1a[_0x17093e(0x26f)]=_0x59d29c,_0x5a9a1a[_0x17093e(0x190)]=_0x16a8e8,_0x5a9a1a[_0x17093e(0x12e)]=_0x277330,_0x5a9a1a[_0x17093e(0x282)]=_0xb00dbd,_0x5a9a1a['eventJson']=_0x2cee8c,_0x5a9a1a['executionContext']=_0x465d03,_0x5a9a1a[_0x17093e(0x250)]=_0x496083;const _0x30ffab=_0x5a9a1a;return _0x30ffab;}catch(_0x4c2445){return logger['error'](_0x17093e(0x26e)+util[_0x17093e(0x28b)](_0x4c2445)),{};}}async['sendLogCreatedEvent'](_0x355ef1,_0x5e5142,_0x58d937){const _0x57800f=a75_0x3bf46d,_0xbe0d17={'ZHGVd':function(_0x30330f,_0x31dd3d){return _0x30330f+_0x31dd3d;},'OqLwZ':_0x57800f(0x17f),'XiWbP':'none','zPXwK':function(_0x34f881,_0x20edb3){return _0x34f881>_0x20edb3;},'fQFUh':function(_0x3fdea3,_0x59c9b3,_0x1b8012,_0x2f6649){return _0x3fdea3(_0x59c9b3,_0x1b8012,_0x2f6649);},'BEZSY':function(_0x7d2cf2,_0x46730){return _0x7d2cf2-_0x46730;},'iBqBy':function(_0x5d321d,_0x521206){return _0x5d321d===_0x521206;},'jWHjY':function(_0x48dffd,_0x5ab7b4){return _0x48dffd/_0x5ab7b4;},'SocxV':function(_0x1f0bc3,_0x55122c){return _0x1f0bc3<_0x55122c;},'AyUon':function(_0x598ec6,_0x180978){return _0x598ec6*_0x180978;}};try{const _0x1e09c1=_0x58d937[_0x57800f(0x1c8)]||_0x58d937[_0x57800f(0x27f)],_0xf47700=Array['from'](_0x355ef1[_0x57800f(0x1c5)]()[_0x57800f(0x1f5)]()),_0x5e2fba=_0x355ef1['getAllData']()[_0x57800f(0x1b9)](_0x1e09c1);if(!_0x5e2fba){logger[_0x57800f(0x1af)](_0x57800f(0x17d)+_0x1e09c1);return;}const {[TestFrameworkConstants[_0x57800f(0x1cd)]]:_0x12bb98='',[TestFrameworkConstants[_0x57800f(0x293)]]:_0x274ff7=''}=_0x5e2fba;let _0x60d12=[];_0x5e2fba&&_0x5e2fba[TestFrameworkConstants['KEY_LOGS']]&&Array[_0x57800f(0x26b)](_0x5e2fba[TestFrameworkConstants[_0x57800f(0x138)]])?(_0x60d12=_0x5e2fba[TestFrameworkConstants[_0x57800f(0x138)]]||[],logger[_0x57800f(0x1af)](_0x57800f(0x1d7)+_0x60d12['length']+_0x57800f(0x1bb)+_0x1e09c1),_0x355ef1['addMultipleEntries']({[_0x1e09c1]:{[TestFrameworkConstants[_0x57800f(0x138)]]:[],[TestFrameworkConstants[_0x57800f(0x1cd)]]:this[_0x57800f(0x1dc)]()[0x0]||'',[TestFrameworkConstants[_0x57800f(0x293)]]:this[_0x57800f(0x25d)]()[this[_0x57800f(0x1dc)]()[0x0]]||''}}),logger[_0x57800f(0x1af)](_0x57800f(0x1f1)+_0x1e09c1)):logger[_0x57800f(0x1af)](_0x57800f(0x141)+_0x1e09c1);logger[_0x57800f(0x1af)](_0x57800f(0x145)+_0x60d12[_0x57800f(0x244)]+_0x57800f(0x161)+_0x1e09c1);const _0x228b57=_0x60d12[_0x57800f(0x19a)](_0x3564a9=>_0x3564a9[_0x57800f(0x182)]===_0x57800f(0x24b));_0xbe0d17[_0x57800f(0x229)](_0x228b57[_0x57800f(0x244)],0x0)&&(logger[_0x57800f(0x1af)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20'+_0x228b57['length']+_0x57800f(0x1ae)+_0x1e09c1),_0x228b57[_0x57800f(0x216)]((_0xfe346d,_0x4992f6)=>{const _0x1a4385=_0x57800f;logger[_0x1a4385(0x1af)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20'+_0xbe0d17[_0x1a4385(0x146)](_0x4992f6,0x1)+'/'+_0x228b57[_0x1a4385(0x244)]+_0x1a4385(0x1fb)+(_0xfe346d['test_identifier']||_0xbe0d17[_0x1a4385(0x14e)])+',\x20test_run_uuid='+(_0xfe346d[_0x1a4385(0x16e)]||_0xbe0d17[_0x1a4385(0x14e)])+_0x1a4385(0x1d9)+(_0xfe346d['hook_run_uuid']||_0xbe0d17['XiWbP'])+',\x20messageLength='+(_0xfe346d[_0x1a4385(0x270)]?.[_0x1a4385(0x244)]||0x0));}));const _0x411dbb=_0x5e2fba[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0xbf79c2=_0xbe0d17[_0x57800f(0x2ac)](getMediaArtifactsLogs,_0x411dbb,null,_0x1e09c1),_0x3d9bac=(_0x60d12||[])[_0x57800f(0x243)](_0xbf79c2||[]),_0x59a4f6=_0x228b57?.[_0x57800f(0x244)]||0x0,_0x339212=_0xbe0d17[_0x57800f(0x2af)](_0x60d12?.['length']||0x0,_0x59a4f6);logger['debug'](_0x57800f(0x226)+_0x1e09c1+',\x20consoleLogs:\x20'+_0x339212+_0x57800f(0x163)+_0x59a4f6+',\x20attachmentLogs:\x20'+(_0xbf79c2?.[_0x57800f(0x244)]||0x0)+_0x57800f(0x26a)+_0x3d9bac[_0x57800f(0x244)]);if(!_0x3d9bac||_0xbe0d17[_0x57800f(0x22f)](_0x3d9bac['length'],0x0)){logger[_0x57800f(0x1af)](_0x57800f(0x1ce)+_0x1e09c1);return;}const _0x69871d=0x28,_0x43bbc9=Math[_0x57800f(0x19f)](_0xbe0d17[_0x57800f(0x23c)](_0x3d9bac['length'],_0x69871d));for(let _0x5e1990=0x0;_0xbe0d17[_0x57800f(0x203)](_0x5e1990,_0x43bbc9);_0x5e1990++){const _0x319d33=_0xbe0d17[_0x57800f(0x1fd)](_0x5e1990,_0x69871d),_0x53c193=_0xbe0d17[_0x57800f(0x146)](_0x319d33,_0x69871d),_0x58e4e1=_0x3d9bac['slice'](_0x319d33,_0x53c193),_0x413bc6=global?.[_0x57800f(0x176)]??0x0,_0x5d5adb={'platformIndex':_0x413bc6,'logs':_0x58e4e1,'testFrameworkName':_0x12bb98,'testFrameworkVersion':_0x274ff7,'testFrameworkState':_0x5e5142[_0x57800f(0x204)]()['split']('.')[0x1]},_0x265328={};_0x265328['depth']=0x3,_0x265328[_0x57800f(0x129)]=0x5,logger[_0x57800f(0x1af)](_0x57800f(0x1b8)+_0xbe0d17['ZHGVd'](_0x5e1990,0x1)+'/'+_0x43bbc9+_0x57800f(0x29d)+_0x1e09c1+',\x20logsInBatch:\x20'+_0x58e4e1[_0x57800f(0x244)]+_0x57800f(0x22e)+_0x413bc6+',\x20payload:\x20'+util[_0x57800f(0x2a7)](_0x5d5adb,_0x265328));const _0x2858be=await GrpcClient[_0x57800f(0x1a0)]()['logCreatedEvent'](_0x5d5adb);logger[_0x57800f(0x1af)](_0x57800f(0x1b8)+_0xbe0d17['ZHGVd'](_0x5e1990,0x1)+'/'+_0x43bbc9+_0x57800f(0x29d)+_0x1e09c1+_0x57800f(0x2ab)+util['inspect'](_0x2858be));}_0xbf79c2&&_0xbe0d17['zPXwK'](_0xbf79c2[_0x57800f(0x244)],0x0)&&_0x5e2fba[TestFrameworkConstants[_0x57800f(0x263)]]&&_0x355ef1[_0x57800f(0x170)]({[_0x1e09c1]:{[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:{},[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x57800f(0x1dc)]()[0x0]||'',[TestFrameworkConstants[_0x57800f(0x293)]]:this['getTestFrameworksVersions']()[this[_0x57800f(0x1dc)]()[0x0]]||''}}),logger[_0x57800f(0x1af)](_0x57800f(0x185)+_0x1e09c1+_0x57800f(0x15e)+_0x43bbc9);}catch(_0x1b6ece){logger[_0x57800f(0x2a3)](_0x57800f(0x1d3)+(_0x58d937[_0x57800f(0x1c8)]||_0x58d937['testId'])+_0x57800f(0x233)+util['format'](_0x1b6ece));}}[a75_0x3bf46d(0x247)](_0x15f73b,_0x26acbc,_0x2ad07f,_0x5260af,_0x133822){const _0x4c7f90=a75_0x3bf46d,_0x37c51={};_0x37c51[_0x4c7f90(0x14c)]=function(_0x4cf2ad,_0x4b9c91){return _0x4cf2ad===_0x4b9c91;},_0x37c51[_0x4c7f90(0x25a)]=_0x4c7f90(0x215);const _0x11ea9c=_0x37c51,{hookData:_0x438cd0}=_0x133822,_0x1aaf17={'testId':_0x26acbc,'testFrameworkState':_0x2ad07f,'hookState':_0x5260af,'args':_0x133822,'timestamp':new Date()[_0x4c7f90(0x29c)]()};if(_0x11ea9c[_0x4c7f90(0x14c)](_0x2ad07f,TestFrameworkState['BEFORE_ALL'])&&_0x438cd0){const _0x81913={};_0x81913[_0x4c7f90(0x246)]=_0x438cd0[_0x4c7f90(0x1ab)]||_0x438cd0['location'],_0x81913[_0x4c7f90(0x1e7)]=_0x438cd0[_0x4c7f90(0x1e7)]||_0x438cd0[_0x4c7f90(0x1c7)]&&_0x438cd0['scopes'][0x0]||'',_0x81913[_0x4c7f90(0x180)]=_0x11ea9c[_0x4c7f90(0x25a)],_0x1aaf17[_0x4c7f90(0x297)]=_0x81913,logger[_0x4c7f90(0x1af)](_0x4c7f90(0x28c)+_0x26acbc+_0x4c7f90(0x296)+_0x1aaf17[_0x4c7f90(0x297)][_0x4c7f90(0x246)]+_0x4c7f90(0x2b1)+_0x1aaf17[_0x4c7f90(0x297)][_0x4c7f90(0x1e7)]);}_0x15f73b[_0x4c7f90(0x15f)](_0x26acbc,_0x1aaf17),logger[_0x4c7f90(0x1af)](_0x4c7f90(0x1c0)+_0x26acbc+_0x4c7f90(0x18c)+_0x2ad07f+_0x4c7f90(0x24a)+_0x5260af);}async[a75_0x3bf46d(0x27a)](_0x4cdf6b,_0x49fc35){const _0x4789d3=a75_0x3bf46d,_0x306061={};_0x306061[_0x4789d3(0x21e)]=function(_0xe0752e,_0xd97ad3){return _0xe0752e>_0xd97ad3;},_0x306061[_0x4789d3(0x276)]=function(_0x380509,_0x2a4bdc){return _0x380509===_0x2a4bdc;},_0x306061['ntioY']=function(_0x3778a3,_0x7b5ab){return _0x3778a3===_0x7b5ab;},_0x306061['VTMMq']=function(_0x2665ec,_0x4d8744){return _0x2665ec===_0x4d8744;},_0x306061[_0x4789d3(0x269)]=function(_0x136827,_0x501896){return _0x136827>_0x501896;},_0x306061[_0x4789d3(0x2ad)]=function(_0x12fdb4,_0x9db932){return _0x12fdb4===_0x9db932;},_0x306061['kegHE']=_0x4789d3(0x13e);const _0x416e10=_0x306061;if(_0x4cdf6b[_0x4789d3(0x298)](_0x49fc35)){const _0x22acef=_0x4cdf6b[_0x4789d3(0x206)](_0x49fc35);logger[_0x4789d3(0x1af)]('Processing\x20'+_0x22acef['length']+_0x4789d3(0x177)+_0x49fc35);for(const _0x16c777 of _0x22acef){try{const _0x184282=await this[_0x4789d3(0x202)](_0x4cdf6b,_0x16c777[_0x4789d3(0x255)],_0x16c777['hookState'],_0x16c777[_0x4789d3(0x24d)]);_0x184282&&_0x416e10[_0x4789d3(0x21e)](Object[_0x4789d3(0x1f5)](_0x184282)[_0x4789d3(0x244)],0x0)&&_0x4cdf6b['addMultipleEntries'](_0x184282),await this[_0x4789d3(0x193)](_0x4cdf6b,_0x16c777[_0x4789d3(0x255)],_0x16c777['hookState'],_0x16c777['args']);}catch(_0x48ed43){logger[_0x4789d3(0x2a3)](_0x4789d3(0x1e2)+_0x49fc35+_0x4789d3(0x233)+_0x48ed43);}}_0x4cdf6b[_0x4789d3(0x236)](_0x49fc35),logger['debug'](_0x4789d3(0x157)+_0x49fc35);}const _0x384148=_0x4cdf6b[_0x4789d3(0x1c5)]()['get'](_0x49fc35);if(_0x384148){const _0x55a6ed=_0x384148[TestFrameworkConstants['KEY_TEST_FILE_PATH']]||_0x384148[TestFrameworkConstants[_0x4789d3(0x162)]],_0x4aa214=_0x384148[TestFrameworkConstants[_0x4789d3(0x1d2)]]||_0x384148[TestFrameworkConstants[_0x4789d3(0x1cb)]]&&_0x384148[TestFrameworkConstants['KEY_TEST_SCOPES']][0x0]||'';logger['debug'](_0x4789d3(0x143)+_0x55a6ed+_0x4789d3(0x2b1)+_0x4aa214);const _0x1e526c=_0x4cdf6b[_0x4789d3(0x1fc)]();for(const _0x566060 of _0x1e526c){if(_0x416e10['uhlvH'](_0x566060,_0x49fc35))continue;if(_0x4cdf6b['hasPendingHooks'](_0x566060)){const _0x1b9f78=_0x4cdf6b[_0x4789d3(0x206)](_0x566060);for(const _0x2dec27 of _0x1b9f78){if(_0x416e10[_0x4789d3(0x1be)](_0x2dec27[_0x4789d3(0x255)],TestFrameworkState['BEFORE_ALL'])&&_0x2dec27[_0x4789d3(0x297)]){const _0x196f97=_0x2dec27[_0x4789d3(0x297)][_0x4789d3(0x246)],_0x496175=_0x2dec27[_0x4789d3(0x297)][_0x4789d3(0x1e7)];if(_0x416e10[_0x4789d3(0x276)](_0x196f97,_0x55a6ed)&&_0x416e10[_0x4789d3(0x13c)](_0x496175,_0x4aa214)){logger[_0x4789d3(0x1af)](_0x4789d3(0x1ea)+_0x566060+_0x4789d3(0x231)+_0x49fc35+_0x4789d3(0x296)+_0x196f97+',\x20scope:\x20'+_0x496175);_0x2dec27[_0x4789d3(0x24d)]&&_0x2dec27[_0x4789d3(0x24d)][_0x4789d3(0x209)]&&(_0x2dec27[_0x4789d3(0x24d)][_0x4789d3(0x209)]['test_run_id']=_0x49fc35,logger[_0x4789d3(0x1af)](_0x4789d3(0x135)+_0x566060+_0x4789d3(0x262)+_0x49fc35));try{const _0x7437d2=await this[_0x4789d3(0x202)](_0x4cdf6b,_0x2dec27['testFrameworkState'],_0x2dec27[_0x4789d3(0x26f)],_0x2dec27[_0x4789d3(0x24d)]);_0x7437d2&&_0x416e10[_0x4789d3(0x269)](Object[_0x4789d3(0x1f5)](_0x7437d2)[_0x4789d3(0x244)],0x0)&&_0x4cdf6b['addMultipleEntries'](_0x7437d2);await this['runHooks'](_0x4cdf6b,_0x2dec27[_0x4789d3(0x255)],_0x2dec27['hookState'],_0x2dec27[_0x4789d3(0x24d)]);const _0x496ca4=_0x4cdf6b['getPendingHooks'](_0x566060)[_0x4789d3(0x19a)](_0x11f3ac=>_0x11f3ac!==_0x2dec27);if(_0x416e10[_0x4789d3(0x2ad)](_0x496ca4[_0x4789d3(0x244)],0x0))_0x4cdf6b[_0x4789d3(0x236)](_0x566060);else{_0x4cdf6b[_0x4789d3(0x236)](_0x566060);for(const _0x5078b0 of _0x496ca4){_0x4cdf6b[_0x4789d3(0x15f)](_0x566060,_0x5078b0);}}logger['debug'](_0x416e10['kegHE']);}catch(_0x1a41e4){logger['error'](_0x4789d3(0x27b)+_0x49fc35+_0x4789d3(0x233)+_0x1a41e4);}}}}}}}}['mapTestHooks'](_0x38e918){const _0x3a9711=a75_0x3bf46d,_0x153882={'uZgcK':function(_0x392c5a){return _0x392c5a();}};if(!_0x38e918||!_0x38e918[_0x3a9711(0x132)])return;_0x38e918[_0x3a9711(0x132)][_0x3a9711(0x18f)]&&Array[_0x3a9711(0x26b)](_0x38e918[_0x3a9711(0x132)][_0x3a9711(0x18f)])&&_0x38e918[_0x3a9711(0x132)][_0x3a9711(0x18f)][_0x3a9711(0x216)](_0x1a7154=>{const _0x2b30ec=_0x3a9711;!_0x1a7154[_0x2b30ec(0x17c)]&&!_0x1a7154[_0x2b30ec(0x1c6)]&&(_0x1a7154[_0x2b30ec(0x17c)]=_0x153882[_0x2b30ec(0x265)](uuidv4),_0x1a7154['hookUUID']=_0x1a7154[_0x2b30ec(0x17c)],logger[_0x2b30ec(0x1af)](_0x2b30ec(0x291)+_0x1a7154['type']+_0x2b30ec(0x14f)+_0x1a7154[_0x2b30ec(0x17c)]));}),this[_0x3a9711(0x158)](_0x38e918[_0x3a9711(0x132)]);}[a75_0x3bf46d(0x1de)](_0x16a9ce){const _0x42ed14=a75_0x3bf46d,_0x4d7af1={'ZVCIt':function(_0x4d35db,_0x85d16){return _0x4d35db(_0x85d16);}};if(!_0x16a9ce||!_0x16a9ce[_0x42ed14(0x132)])return[];const _0x1d42dd=[];return _0x16a9ce[_0x42ed14(0x132)][_0x42ed14(0x18f)]&&Array[_0x42ed14(0x26b)](_0x16a9ce[_0x42ed14(0x132)][_0x42ed14(0x18f)])&&_0x16a9ce[_0x42ed14(0x132)][_0x42ed14(0x18f)][_0x42ed14(0x216)](_0x8a1842=>{const _0x23b0af=_0x42ed14,_0x4c4f04=_0x8a1842[_0x23b0af(0x17c)]||_0x8a1842[_0x23b0af(0x1c6)];_0x4c4f04&&!this[_0x23b0af(0x19d)](_0x8a1842)&&!_0x4d7af1[_0x23b0af(0x17a)](isInternalHook,_0x8a1842['fn'])&&_0x1d42dd[_0x23b0af(0x169)](_0x4c4f04);}),[..._0x1d42dd,...this[_0x42ed14(0x1de)](_0x16a9ce['parent'])];}[a75_0x3bf46d(0x19e)](_0x34ec11){const _0x40e6a6=a75_0x3bf46d,_0x4db2a1={'zXQxj':function(_0x46558a,_0x4be666){return _0x46558a(_0x4be666);},'fkvzV':_0x40e6a6(0x20f)},_0x1e44a0=new Map(),_0x4f695d=_0xee82f8=>{const _0x25fefe=_0x40e6a6,_0x4c67bf={'MSuog':function(_0x335c3e,_0x13b49d){const _0xe95370=a75_0x2c4a;return _0x4db2a1[_0xe95370(0x280)](_0x335c3e,_0x13b49d);},'fjhkO':_0x4db2a1[_0x25fefe(0x200)]};if(!_0xee82f8||!_0xee82f8[_0x25fefe(0x132)])return;_0xee82f8['parent'][_0x25fefe(0x18f)]&&Array[_0x25fefe(0x26b)](_0xee82f8[_0x25fefe(0x132)][_0x25fefe(0x18f)])&&_0xee82f8[_0x25fefe(0x132)][_0x25fefe(0x18f)][_0x25fefe(0x216)](_0x32231d=>{const _0x1019f7=_0x25fefe,_0x2bc6c9=_0x32231d[_0x1019f7(0x17c)]||_0x32231d[_0x1019f7(0x1c6)];if(_0x2bc6c9&&!this['isJestInternalHook'](_0x32231d)&&!_0x4c67bf[_0x1019f7(0x195)](isInternalHook,_0x32231d['fn'])){const _0x5b92c5={};_0x5b92c5['type']=_0x32231d[_0x1019f7(0x16b)]||_0x4c67bf[_0x1019f7(0x2b0)],_0x5b92c5['name']=_0x32231d['name']||'\x22'+_0x32231d[_0x1019f7(0x16b)]+'\x22\x20hook',_0x1e44a0[_0x1019f7(0x2a6)](_0x2bc6c9,_0x5b92c5);}}),_0x4db2a1['zXQxj'](_0x4f695d,_0xee82f8[_0x25fefe(0x132)]);};return _0x4db2a1['zXQxj'](_0x4f695d,_0x34ec11),_0x1e44a0;}[a75_0x3bf46d(0x19d)](_0x48a5ff){const _0x35dd4d=a75_0x3bf46d,_0x57cf2f={};_0x57cf2f[_0x35dd4d(0x214)]=_0x35dd4d(0x122),_0x57cf2f[_0x35dd4d(0x218)]=_0x35dd4d(0x17e);const _0x10b2ab=_0x57cf2f;try{const _0x55cd51=this[_0x35dd4d(0x120)](_0x48a5ff);return _0x55cd51&&_0x55cd51[_0x35dd4d(0x271)](_0x10b2ab['iYMkq']);}catch(_0x217d7a){logger[_0x35dd4d(0x1af)](_0x10b2ab['IuUCz']);}return![];}['getRootParentFile'](_0x2262f3){const _0x579444=a75_0x3bf46d;if(_0x2262f3[_0x579444(0x290)])try{const _0x1f7589=stackTrace[_0x579444(0x164)](_0x2262f3[_0x579444(0x290)]);return _0x1f7589[0x0]?_0x1f7589[0x0][_0x579444(0x181)]():null;}catch(_0x956d91){logger[_0x579444(0x1af)](_0x579444(0x286)+util[_0x579444(0x28b)](_0x956d91));}if(_0x2262f3[_0x579444(0x2b5)])return _0x2262f3[_0x579444(0x2b5)];return null;}}module[a75_0x3bf46d(0x27e)]=JestTestFramework;
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 +1 @@
1
- function a76_0x19bb(_0x14e55e,_0x2e3785){const _0xf14db5=a76_0xf14d();return a76_0x19bb=function(_0x19bb08,_0x2d6189){_0x19bb08=_0x19bb08-0x17a;let _0x53f3b3=_0xf14db5[_0x19bb08];return _0x53f3b3;},a76_0x19bb(_0x14e55e,_0x2e3785);}const a76_0x2f3814=a76_0x19bb;(function(_0x32faa7,_0x135b71){const _0x331a04=a76_0x19bb,_0x48893b=_0x32faa7();while(!![]){try{const _0x2a7521=-parseInt(_0x331a04(0x17f))/0x1+-parseInt(_0x331a04(0x190))/0x2+-parseInt(_0x331a04(0x17a))/0x3+-parseInt(_0x331a04(0x191))/0x4+-parseInt(_0x331a04(0x186))/0x5*(-parseInt(_0x331a04(0x187))/0x6)+parseInt(_0x331a04(0x18e))/0x7+-parseInt(_0x331a04(0x19c))/0x8*(-parseInt(_0x331a04(0x19f))/0x9);if(_0x2a7521===_0x135b71)break;else _0x48893b['push'](_0x48893b['shift']());}catch(_0x5a0867){_0x48893b['push'](_0x48893b['shift']());}}}(a76_0xf14d,0x38e3e));const AutomationFramework=require(a76_0x2f3814(0x182)),{createClassLogger}=require(a76_0x2f3814(0x194)),AutomationFrameworkState=require(a76_0x2f3814(0x1a0)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a76_0x2f3814(0x180)),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js');function a76_0xf14d(){const _0xc638cb=['trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','CREATE','getId','UhXcM','134289whMlLy','../instances/trackedInstance.js','getAutomationFrameworkVersion','./automationFramework.js','WSJXI','debug','PLAYWRIGHT_DISPATCH','19160roJZFA','6FwFoIL','runHooks','getTrackedInstance','PlaywrightAutomationFramework','getAutomationFrameworkName','trackPlaywrightInstance:\x20instance\x20already\x20exists','logger','958916lGqKow','\x20hookState=','918632zQxtxR','1270336FkIpBx','resolveInstance','params','../../../helpers/classLogger.js','exports','trackPlaywrightInstance',',\x20state=','message','info','createContext','setTrackedInstance','7048csJSoF','NONE','CbBId','14409jwOvqz','../state/automationFrameworkState.js','trackEvent','\x20target=','1221270jXToZP'];a76_0xf14d=function(){return _0xc638cb;};return a76_0xf14d();}class PlaywrightAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a76_0x2f3814(0x18a));constructor(_0x52af03,_0x7aa78){super(_0x52af03,_0x7aa78);}async[a76_0x2f3814(0x1a1)](_0x54bdd4,_0x1a08ea,_0x34dbaa={}){const _0x154630=a76_0x2f3814,_0x76d613={};_0x76d613[_0x154630(0x19e)]=function(_0x8c24,_0x49397d){return _0x8c24===_0x49397d;};const _0x1b82f5=_0x76d613;this[_0x154630(0x18d)][_0x154630(0x184)]('trackEvent:\x20automationFrameworkState='+_0x54bdd4+_0x154630(0x18f)+_0x1a08ea),await super[_0x154630(0x1a1)](_0x54bdd4,_0x1a08ea,_0x34dbaa);const _0x863b96=this[_0x154630(0x192)](_0x54bdd4,_0x1a08ea,_0x34dbaa);if(_0x1b82f5['CbBId'](_0x863b96,null))return;_0x34dbaa['instance']=_0x863b96,await this[_0x154630(0x188)](_0x863b96,_0x54bdd4,_0x1a08ea,_0x34dbaa);}[a76_0x2f3814(0x192)](_0x116e8c,_0x49dbdf,_0x8d76fe={}){const _0x4bb3b6=a76_0x2f3814,_0x189710={};_0x189710['UhXcM']=function(_0x309434,_0x3aab55){return _0x309434===_0x3aab55;};const _0x39b76e=_0x189710;let _0x41a207=null;return(_0x39b76e[_0x4bb3b6(0x17e)](_0x116e8c,AutomationFrameworkState[_0x4bb3b6(0x17c)])||_0x39b76e[_0x4bb3b6(0x17e)](_0x116e8c,AutomationFrameworkState[_0x4bb3b6(0x185)])&&(_0x8d76fe['message']&&_0x8d76fe[_0x4bb3b6(0x198)]['params']&&_0x8d76fe['message'][_0x4bb3b6(0x193)]['bsParams'])||_0x39b76e['UhXcM'](_0x116e8c,AutomationFrameworkState[_0x4bb3b6(0x19d)]))&&this[_0x4bb3b6(0x196)](_0x116e8c,_0x8d76fe),_0x41a207=AutomationFramework['getTrackedInstance'](),_0x41a207;}[a76_0x2f3814(0x196)](_0x163371,_0x347bd2){const _0x2636b1=a76_0x2f3814,_0x424483={};_0x424483[_0x2636b1(0x183)]=_0x2636b1(0x18c);const _0x2a631d=_0x424483;if(AutomationFramework[_0x2636b1(0x189)]()){this['logger'][_0x2636b1(0x199)](_0x2a631d[_0x2636b1(0x183)]);return;}const _0x563ced=CLIUtils['getCurrentInstanceName'](),_0x2c78ae=TrackedInstance[_0x2636b1(0x19a)](_0x563ced);let _0x519f5e=null;this['logger'][_0x2636b1(0x199)](_0x2636b1(0x17b)+_0x563ced+_0x2636b1(0x197)+_0x163371),_0x519f5e=new AutomationFrameworkInstance(_0x2c78ae,this[_0x2636b1(0x18b)](),this[_0x2636b1(0x181)](),_0x163371),AutomationFramework[_0x2636b1(0x19b)](_0x2c78ae,_0x519f5e),this[_0x2636b1(0x18d)][_0x2636b1(0x199)]('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x2c78ae[_0x2636b1(0x17d)]()+_0x2636b1(0x1a2)+_0x563ced);}}module[a76_0x2f3814(0x195)]=PlaywrightAutomationFramework;
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 +1 @@
1
- const a77_0x2a3992=a77_0x1eb3;(function(_0x494568,_0x481d3e){const _0x35fa24=a77_0x1eb3,_0x1b0414=_0x494568();while(!![]){try{const _0x584c49=parseInt(_0x35fa24(0x123))/0x1+parseInt(_0x35fa24(0x180))/0x2+parseInt(_0x35fa24(0x127))/0x3+parseInt(_0x35fa24(0xec))/0x4*(-parseInt(_0x35fa24(0xfd))/0x5)+-parseInt(_0x35fa24(0xd9))/0x6*(-parseInt(_0x35fa24(0x187))/0x7)+-parseInt(_0x35fa24(0x15c))/0x8+parseInt(_0x35fa24(0xb3))/0x9;if(_0x584c49===_0x481d3e)break;else _0x1b0414['push'](_0x1b0414['shift']());}catch(_0x442c04){_0x1b0414['push'](_0x1b0414['shift']());}}}(a77_0x432c,0xad9be));const TestFramework=require('./testFramework'),TestFrameworkState=require(a77_0x2a3992(0xb0)),HookState=require(a77_0x2a3992(0x11e)),{createClassLogger}=require(a77_0x2a3992(0x13e)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a77_0x2a3992(0xe2)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a77_0x2a3992(0xb5)),logger=createClassLogger(a77_0x2a3992(0x13b)),{v4:uuidv4}=require(a77_0x2a3992(0x11f)),util=require(a77_0x2a3992(0x18d)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a77_0x2a3992(0x17f)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a77_0x2a3992(0xf9)),{removeAnsiColors,getFailureType,failureData}=require(a77_0x2a3992(0x10c)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a77_0x2a3992(0xce)),{findNestedKey,sendTraceZip,validateFilePath}=require(a77_0x2a3992(0xce)),path=require(a77_0x2a3992(0x16f)),fs=require('fs'),helper=require(a77_0x2a3992(0x95)),{PLAYWRIGHT_TRACE_LOGS}=require(a77_0x2a3992(0x18b));class PlaywrightTestFramework extends TestFramework{constructor(_0x3beca5,_0x34ff42,_0x86d566){super(_0x3beca5,_0x34ff42,_0x86d566);}async[a77_0x2a3992(0xfa)](_0x47bdd7,_0x3008d3,_0x15b1f9={}){const _0x326e9f=a77_0x2a3992,_0x198004={'XKohK':function(_0x2340f1,_0x444c29){return _0x2340f1===_0x444c29;},'xafNm':function(_0x50beaa,_0x4ff244){return _0x50beaa===_0x4ff244;},'rVMGF':function(_0x3fe6a1,_0x18db81){return _0x3fe6a1===_0x18db81;},'fyWJv':function(_0x522e06,_0x517854,_0x1c84a0){return _0x522e06(_0x517854,_0x1c84a0);},'ohtEJ':function(_0x5bc6f9,_0x2a78b4,_0x10e13e){return _0x5bc6f9(_0x2a78b4,_0x10e13e);},'dieMC':function(_0x5565ce,_0x3ad1d5,_0x261101,_0x9d9976){return _0x5565ce(_0x3ad1d5,_0x261101,_0x9d9976);},'ykKFt':_0x326e9f(0x146),'uzBDq':_0x326e9f(0x135)};super[_0x326e9f(0xfa)](_0x47bdd7,_0x3008d3,_0x15b1f9);if(_0x198004[_0x326e9f(0x147)](_0x47bdd7,TestFrameworkState['TEST_SCREENSHOT'])){const _0x519f74=TestInfo[_0x326e9f(0x181)](_0x15b1f9[_0x326e9f(0x146)],_0x15b1f9[_0x326e9f(0x146)][_0x326e9f(0xf5)]);TestInfo['setTestDetails'](_0x519f74,_0x15b1f9[_0x326e9f(0xa1)],!![]);}if(_0x198004['xafNm'](_0x47bdd7,TestFrameworkState[_0x326e9f(0x13a)])){this['trackStepEvent'](_0x47bdd7,_0x3008d3,_0x15b1f9);return;}const _0x398539=this[_0x326e9f(0xbb)](_0x47bdd7,_0x3008d3,_0x15b1f9);if(!_0x398539)return;logger[_0x326e9f(0xa3)]('trackEvent:\x20found\x20instance,\x20testFrameworkState='+_0x47bdd7+_0x326e9f(0x11c)+_0x3008d3+_0x326e9f(0x195)+_0x398539[_0x326e9f(0x190)]());try{if(_0x198004['XKohK'](_0x3008d3,HookState[_0x326e9f(0x14d)])&&_0x198004[_0x326e9f(0xed)](_0x47bdd7,TestFrameworkState[_0x326e9f(0xd7)])){const _0x419591=_0x15b1f9[_0x326e9f(0x146)];logger[_0x326e9f(0xa3)](_0x326e9f(0x10b)+_0x419591['id']+'}');const _0x3181fd=TestInfo['getTestUUID'](_0x198004['fyWJv'](getTestRunIdentifier,_0x419591,_0x15b1f9[_0x326e9f(0xa1)][_0x326e9f(0xf5)]));_0x398539[_0x326e9f(0x18e)](this[_0x326e9f(0xf2)](_0x3181fd,_0x419591,_0x15b1f9[_0x326e9f(0xa1)])),logger[_0x326e9f(0xa3)](_0x326e9f(0x107)+_0x419591['id']+',\x20testFrameworkState='+_0x47bdd7+_0x326e9f(0x192)+_0x3008d3+'\x20instance='+_0x398539[_0x326e9f(0x190)]());}if(_0x198004[_0x326e9f(0xed)](_0x3008d3,HookState[_0x326e9f(0xa8)])&&_0x198004[_0x326e9f(0x147)](_0x47bdd7,TestFrameworkState['TEST'])){const _0x37d30a=_0x15b1f9['test'],_0x496b75=_0x15b1f9[_0x326e9f(0xa1)];logger[_0x326e9f(0xa3)](_0x326e9f(0xeb)+_0x37d30a['id']);const _0x18e800=_0x198004[_0x326e9f(0xb7)](getTestRunIdentifier,_0x37d30a,_0x496b75[_0x326e9f(0xf5)]),_0x5768e1=_0x398539['getAllData']()[_0x326e9f(0x9e)](_0x18e800)[TestFrameworkConstants[_0x326e9f(0xf4)]],{steps:_0x49b07b,logs:_0x55838e}=_0x198004['dieMC'](getStepsAndLogs,_0x496b75['steps'],_0x5768e1,_0x198004[_0x326e9f(0x16d)]);_0x398539[_0x326e9f(0x18e)](this[_0x326e9f(0xb2)](_0x37d30a['id'],_0x496b75,_0x37d30a,_0x49b07b)),await this['sendLogCreatedEvent'](_0x398539,_0x47bdd7,_0x3008d3,_0x198004[_0x326e9f(0x16d)],_0x15b1f9,_0x55838e);}if(CLIUtils[_0x326e9f(0xfe)](_0x47bdd7[_0x326e9f(0x104)]()['split']('.')[0x1])){const _0x3b2067=await this[_0x326e9f(0xc3)](_0x398539,_0x47bdd7,_0x3008d3,_0x15b1f9);_0x398539[_0x326e9f(0x18e)](_0x3b2067);}}catch(_0x560569){logger[_0x326e9f(0xe9)](util['format'](_0x198004['uzBDq'],_0x47bdd7,_0x3008d3,_0x15b1f9['length'],_0x560569));}_0x15b1f9['instance']=_0x398539,await this[_0x326e9f(0xb8)](_0x398539,_0x47bdd7,_0x3008d3,_0x15b1f9);}['resolveInstance'](_0x493f37,_0x3d6ab8,_0x7034bf={}){const _0x29e898=a77_0x2a3992,_0x4e6dfd={};_0x4e6dfd['TrjWB']=function(_0x2190b1,_0x25fc53){return _0x2190b1===_0x25fc53;};const _0x5608f4=_0x4e6dfd;let _0x434ea4=null;return(_0x5608f4[_0x29e898(0x14f)](_0x493f37,TestFrameworkState[_0x29e898(0xdd)])||_0x5608f4['TrjWB'](_0x493f37,TestFrameworkState['NONE']))&&this[_0x29e898(0xe6)](_0x493f37,_0x7034bf),_0x434ea4=TestFramework[_0x29e898(0x99)](),_0x434ea4;}[a77_0x2a3992(0xe6)](_0xa3cc8,_0x499b77){const _0x458827=a77_0x2a3992,_0x51cce6=CLIUtils[_0x458827(0x17d)](),_0x558395=TrackedInstance[_0x458827(0x133)](_0x51cce6);let _0x39da4c=null;logger[_0x458827(0x167)](_0x458827(0x9c)+_0x51cce6+_0x458827(0xc5)+_0xa3cc8),_0x39da4c=new TestFrameworkInstance(_0x558395,this[_0x458827(0x156)](),this['getTestFrameworksVersions'](),_0xa3cc8,HookState[_0x458827(0xc4)]),TestFramework[_0x458827(0x11a)](_0x558395,_0x39da4c),logger['info']('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x558395[_0x458827(0x150)]()+_0x458827(0x183)+_0x51cce6);}[a77_0x2a3992(0xf2)](_0x272786,_0x5c84fa,_0x25c704){const _0x3c3b26=a77_0x2a3992,_0x54b00b={'xsCwO':function(_0x5663dd,_0xba2274){return _0x5663dd(_0xba2274);},'xPWqO':function(_0x3706e8,_0x54deae){return _0x3706e8(_0x54deae);},'zyOIj':function(_0x3b02ca,_0x1e8b49){return _0x3b02ca(_0x1e8b49);},'CIhjc':function(_0x305823,_0x52b848){return _0x305823(_0x52b848);},'cumZP':function(_0x4dbb5a,_0x235579){return _0x4dbb5a(_0x235579);},'cYXBJ':function(_0x4f4d43,_0x3c382f){return _0x4f4d43(_0x3c382f);},'YvtBd':function(_0x415e57,_0x11290c,_0x66374a){return _0x415e57(_0x11290c,_0x66374a);}},_0x2c5006=_0x54b00b['xsCwO'](getPlaywrightTestId,_0x5c84fa),_0x403047=_0x54b00b[_0x3c3b26(0x176)](getPlaywrightTestTitle,_0x5c84fa),_0x4fd81c=_0x54b00b['zyOIj'](getTestTags,_0x5c84fa),_0x22a55f=_0x54b00b['xsCwO'](getPlaywrightTestCode,_0x5c84fa),_0x5eeab1=_0x54b00b[_0x3c3b26(0x178)](getPlaywrightTestFilePath,_0x5c84fa),_0x11e40c=_0x5eeab1,_0x1ce274=_0x54b00b['zyOIj'](getPlaywrightTestScope,_0x5c84fa),_0x5abc39=_0x54b00b[_0x3c3b26(0x9a)](getPlaywrightTestScopes,_0x5c84fa),_0x4ca1a9=_0x54b00b[_0x3c3b26(0x10e)](getPlaywrightSessionName,_0x5c84fa),_0x52788c=this[_0x3c3b26(0x156)]()[0x0],_0x428f27=_0x54b00b['YvtBd'](getTestRunIdentifier,_0x5c84fa,_0x25c704[_0x3c3b26(0xf5)]),_0x438a82={[TestFrameworkConstants[_0x3c3b26(0x159)]]:_0x52788c,[TestFrameworkConstants[_0x3c3b26(0x152)]]:this[_0x3c3b26(0xef)]()[_0x52788c],[TestFrameworkConstants[_0x3c3b26(0x174)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants[_0x3c3b26(0xd3)]]:{},[TestFrameworkConstants[_0x3c3b26(0xf4)]]:_0x272786,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x3c3b26(0x11b)]]:_0x4ca1a9,[TestFrameworkConstants[_0x3c3b26(0xbf)]]:_0x5eeab1,[TestFrameworkConstants[_0x3c3b26(0x155)]]:_0x2c5006,[TestFrameworkConstants[_0x3c3b26(0xf8)]]:_0x403047,[TestFrameworkConstants[_0x3c3b26(0x188)]]:_0x11e40c,[TestFrameworkConstants[_0x3c3b26(0xda)]]:_0x22a55f,[TestFrameworkConstants[_0x3c3b26(0x139)]]:_0x4fd81c,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x5c84fa[_0x3c3b26(0x14c)][0x0][_0x3c3b26(0x148)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x1ce274,[TestFrameworkConstants[_0x3c3b26(0xa7)]]:_0x5abc39,[TestFrameworkConstants[_0x3c3b26(0x18c)]]:_0x54b00b[_0x3c3b26(0x10e)](getPlaywrightCustomRerunParam,_0x5c84fa)};TestInfo[_0x3c3b26(0x140)](_0x428f27,_0x438a82);const _0x2e1368={};return _0x2e1368[_0x428f27]=_0x438a82,_0x2e1368;}[a77_0x2a3992(0xb2)](_0x327cd3,_0x5ef0b6,_0x1d73ca,_0x2e072e){const _0xc6ce25=a77_0x2a3992,_0x2a431b={'mRjbm':function(_0x8c464,_0x2f93bf){return _0x8c464(_0x2f93bf);},'SoRXw':_0xc6ce25(0x115),'haEiQ':function(_0x2bc44b,_0x45f2a9){return _0x2bc44b===_0x45f2a9;},'LvEiW':function(_0x2924af,_0x2b3d08){return _0x2924af(_0x2b3d08);},'XJHRA':_0xc6ce25(0x163),'HYVJP':_0xc6ce25(0x9f),'SXyYX':function(_0x43a4e1,_0x2d3f09){return _0x43a4e1(_0x2d3f09);},'WXWYT':function(_0x1c9b1b,_0xa2b501,_0x437a84){return _0x1c9b1b(_0xa2b501,_0x437a84);},'GQgYQ':function(_0x4920de,_0x38aa51){return _0x4920de+_0x38aa51;},'rOYRw':function(_0x14ca3b,_0x1dfa6e){return _0x14ca3b===_0x1dfa6e;},'mfErp':function(_0x4a9d25,_0x801040){return _0x4a9d25===_0x801040;},'wsmBt':'skipped','EeYSj':_0xc6ce25(0x12e),'mvajB':_0xc6ce25(0xcd),'IBWMq':function(_0x52c1b1,_0x22d5ef){return _0x52c1b1===_0x22d5ef;},'VJuro':_0xc6ce25(0xe7),'ljKbI':function(_0x36059c,_0x5b73ed){return _0x36059c===_0x5b73ed;},'JbQxh':function(_0x2a225e,_0x5d6865){return _0x2a225e===_0x5d6865;},'AXxcL':_0xc6ce25(0x17b),'jaGtR':function(_0x1b34fd,_0x17ebeb){return _0x1b34fd||_0x17ebeb;},'UVDTk':function(_0x42ee67,_0x1c4ed7){return _0x42ee67>_0x1c4ed7;},'XhTUQ':function(_0x56bed8,_0x23f1cc,_0x23ed0d){return _0x56bed8(_0x23f1cc,_0x23ed0d);},'JuMYe':function(_0x12312a,_0x243a8f){return _0x12312a-_0x243a8f;},'lMTZG':function(_0x65d1c2,_0x22c8a1,_0x323bb9,_0x1d66a5){return _0x65d1c2(_0x22c8a1,_0x323bb9,_0x1d66a5);},'AdICg':'test','qfvRn':function(_0x2f399d,_0x548322){return _0x2f399d>=_0x548322;},'oLqBZ':function(_0x13a107,_0x39a694){return _0x13a107+_0x39a694;},'KuReu':function(_0x46825a,_0x409ec7,_0x22e41c){return _0x46825a(_0x409ec7,_0x22e41c);},'RePtq':_0xc6ce25(0x16f),'obVxD':function(_0x2459c2,_0x1dff7d){return _0x2459c2(_0x1dff7d);},'sjnLf':function(_0x2f99c1,_0x22ee66){return _0x2f99c1>_0x22ee66;},'UDAUc':function(_0x3f1192,_0x507e39){return _0x3f1192>_0x507e39;}};logger[_0xc6ce25(0xa3)](_0xc6ce25(0x168)+_0x327cd3);const _0x23f883=_0x2a431b[_0xc6ce25(0xff)](getTestRunIdentifier,_0x1d73ca,_0x5ef0b6['retry']),_0x1ef209=new Date(_0x5ef0b6['startTime']),_0x5df47e=_0x5ef0b6[_0xc6ce25(0x194)],_0x148526=new Date(_0x2a431b[_0xc6ce25(0x124)](_0x1ef209[_0xc6ce25(0xea)](),_0x5df47e)),_0x4c7cc4=_0x5ef0b6[_0xc6ce25(0xbe)],_0xc0af90=TestInfo[_0xc6ce25(0x122)](_0x23f883)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0x331ede=_0x4c7cc4;if(_0x2a431b[_0xc6ce25(0x12f)](_0x5ef0b6['status'],_0x1d73ca[_0xc6ce25(0x177)]))_0x331ede=_0x2a431b[_0xc6ce25(0xba)](_0x5ef0b6[_0xc6ce25(0xbe)],_0x2a431b[_0xc6ce25(0xcb)])?_0x2a431b['wsmBt']:_0x2a431b[_0xc6ce25(0x164)];else{(_0x2a431b[_0xc6ce25(0xba)](_0x331ede,_0x2a431b['EeYSj'])||_0x2a431b[_0xc6ce25(0xba)](_0x331ede,_0x2a431b[_0xc6ce25(0xd4)])||_0x2a431b[_0xc6ce25(0x102)](_0x331ede,_0x2a431b[_0xc6ce25(0x114)]))&&(_0x331ede=_0x2a431b['mvajB']);if(_0x2a431b[_0xc6ce25(0x110)](_0x5ef0b6['status'],_0x2a431b[_0xc6ce25(0x164)])&&_0x2a431b[_0xc6ce25(0x98)](_0x1d73ca[_0xc6ce25(0x177)],_0x2a431b['mvajB'])){const _0x2e3730={};_0x2e3730[_0xc6ce25(0xd6)]=_0x2a431b[_0xc6ce25(0x142)],_0x2e3730[_0xc6ce25(0x175)]=_0x2a431b[_0xc6ce25(0x142)],_0x5ef0b6['error']=_0x2e3730,_0x5ef0b6['errors']=[_0x5ef0b6['error']];}}const {failureData:_0xe5fc10,logs:_0x2bff83}=_0x2a431b[_0xc6ce25(0xff)](getFailureData,_0x5ef0b6?.[_0xc6ce25(0xa6)],{}),_0x249b16={[TestFrameworkConstants[_0xc6ce25(0x169)]]:_0x2a431b[_0xc6ce25(0x160)](_0xe5fc10,null),[TestFrameworkConstants[_0xc6ce25(0xdf)]]:_0x5ef0b6?.['error']&&_0x2a431b[_0xc6ce25(0x92)](getFailureType,_0x5ef0b6['error'][_0xc6ce25(0xd6)]),[TestFrameworkConstants[_0xc6ce25(0x90)]]:_0x5ef0b6?.[_0xc6ce25(0xe9)]&&_0x2a431b[_0xc6ce25(0x131)](removeAnsiColors,_0x5ef0b6[_0xc6ce25(0xe9)][_0xc6ce25(0xd6)]),[TestFrameworkConstants[_0xc6ce25(0x138)]]:[],[TestFrameworkConstants[_0xc6ce25(0x184)]]:_0x331ede,[TestFrameworkConstants[_0xc6ce25(0x17c)]]:_0x148526['toISOString'](),[TestFrameworkConstants[_0xc6ce25(0x120)]]:new Date()[_0xc6ce25(0x116)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0xc0af90};if(_0x5ef0b6&&_0x2a431b['UVDTk'](_0x5ef0b6[_0xc6ce25(0xf5)],0x0)){const _0xc68d8e=TestInfo['getTestUUID'](_0x2a431b[_0xc6ce25(0x128)](getTestRunIdentifier,_0x1d73ca,_0x2a431b[_0xc6ce25(0xf3)](_0x5ef0b6[_0xc6ce25(0xf5)],0x1)));_0x249b16[TestFrameworkConstants[_0xc6ce25(0x112)]]=_0xc68d8e;}const _0x521864={};_0x521864[_0xc6ce25(0x146)]=_0x1d73ca;const _0x196f21=this[_0xc6ce25(0xbb)](TestFrameworkState['TEST'],HookState[_0xc6ce25(0xa8)],_0x521864),_0x532e5d=_0x196f21[_0xc6ce25(0x96)]()[_0xc6ce25(0x9e)](_0x23f883)[TestFrameworkConstants[_0xc6ce25(0xf4)]],_0xd1c6=_0x2e072e||_0x2a431b[_0xc6ce25(0xca)](getStepsAndLogs,_0x5ef0b6[_0xc6ce25(0xe4)],_0x532e5d,_0x2a431b[_0xc6ce25(0x15e)])['steps'],_0x5a68d=new Map();let _0x2cd38b=0x0;const _0x406eff=[];for(const _0x23ef33 of _0xd1c6||[]){const _0x375816=_0x23ef33[_0xc6ce25(0xfb)]||null;let _0xb56ada;if(_0x2a431b[_0xc6ce25(0x102)](_0x375816,null)){if(_0x2a431b[_0xc6ce25(0xb6)](_0x2cd38b,TestFrameworkConstants['MAX_TOP_LEVEL_STEPS']))continue;_0xb56ada=0x0,_0x2cd38b++;}else{const _0x2ccc93=_0x5a68d[_0xc6ce25(0x9e)](_0x375816);if(_0x2a431b[_0xc6ce25(0x12f)](_0x2ccc93,undefined))continue;_0xb56ada=_0x2a431b['oLqBZ'](_0x2ccc93,0x1);if(_0x2a431b[_0xc6ce25(0x141)](_0xb56ada,TestFrameworkConstants[_0xc6ce25(0x91)]))continue;}_0x5a68d[_0xc6ce25(0x186)](_0x23ef33['id'],_0xb56ada);const _0x13cedc={};_0x13cedc['id']=_0x23ef33['id'],_0x13cedc['parent_id']=_0x375816,_0x13cedc[_0xc6ce25(0x12c)]=_0x23ef33[_0xc6ce25(0x12c)],_0x13cedc[_0xc6ce25(0x165)]=_0x23ef33['keyword']||null,_0x13cedc[_0xc6ce25(0x13c)]=_0x23ef33[_0xc6ce25(0x13c)],_0x13cedc['duration']=_0x23ef33[_0xc6ce25(0x194)]??null,_0x13cedc['result']=_0x23ef33[_0xc6ce25(0xa1)],_0x13cedc[_0xc6ce25(0x100)]=_0x23ef33['failure']||null,_0x13cedc[_0xc6ce25(0xe5)]=_0x23ef33['failure_type']||null,_0x406eff[_0xc6ce25(0x173)](_0x13cedc);}const _0x4f8744={};_0x4f8744[_0xc6ce25(0xe4)]=_0x406eff,_0x249b16[TestFrameworkConstants[_0xc6ce25(0xbc)]]=_0x4f8744,logger[_0xc6ce25(0xa3)](_0xc6ce25(0xcf)+_0x406eff[_0xc6ce25(0x151)]+_0xc6ce25(0xee)+_0x327cd3);const _0x31a859=[],_0xc49825=_0x2a431b[_0xc6ce25(0xcc)](findNestedKey,_0x5ef0b6,_0x2a431b['RePtq']);if(_0xc49825&&_0x2a431b[_0xc6ce25(0x11d)](validateFilePath,_0xc49825))try{_0x31a859[_0xc6ce25(0x173)]({'kind':_0x2a431b[_0xc6ce25(0xdc)],'timestamp':new Date()[_0xc6ce25(0x116)](),'test_run_uuid':_0x532e5d,'file_name':path[_0xc6ce25(0x101)](_0xc49825),'file_size':fs[_0xc6ce25(0xc6)](_0xc49825)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x45910f){logger[_0xc6ce25(0xe9)]('Error\x20processing\x20direct\x20trace\x20file\x20'+_0xc49825+':\x20'+_0x45910f[_0xc6ce25(0xd6)]);}const _0x4450c7=TestInfo[_0xc6ce25(0x14b)](),_0x5c9f42=_0x4450c7['filter'](_0x319496=>_0x319496[_0xc6ce25(0x137)]===_0x532e5d);_0x5c9f42[_0xc6ce25(0x16b)](_0xe2f29d=>{const _0x488b28=_0xc6ce25;if(_0xe2f29d[_0x488b28(0x10f)]&&_0x2a431b[_0x488b28(0x92)](validateFilePath,_0xe2f29d['filePath'])&&!_0x31a859[_0x488b28(0x9b)](_0x2139f2=>_0x2139f2[_0x488b28(0x12d)]===path[_0x488b28(0x101)](_0xe2f29d[_0x488b28(0x10f)])))try{_0x31a859[_0x488b28(0x173)]({'kind':_0x2a431b[_0x488b28(0xdc)],'timestamp':new Date()[_0x488b28(0x116)](),'test_run_uuid':_0x532e5d,'file_name':path[_0x488b28(0x101)](_0xe2f29d[_0x488b28(0x10f)]),'file_size':fs[_0x488b28(0xc6)](_0xe2f29d[_0x488b28(0x10f)])[_0x488b28(0xc8)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x2bf149){logger[_0x488b28(0xe9)](_0x488b28(0x166)+_0xe2f29d['filePath']+_0x488b28(0x179)+_0x2bf149[_0x488b28(0xd6)]);}});if(_0x2a431b['sjnLf'](_0x31a859[_0xc6ce25(0x151)],0x0)){const _0x3ea250=_0x249b16[TestFrameworkConstants['KEY_LOGS']]||[];_0x249b16[TestFrameworkConstants[_0xc6ce25(0x138)]]=[..._0x3ea250,..._0x31a859];}const _0x2c5501=TestInfo[_0xc6ce25(0x122)](_0x23f883)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x5d53e7=_0x2a431b[_0xc6ce25(0xff)](getManualUploadLogs,_0x2c5501,_0x196f21[_0xc6ce25(0x96)]()[_0xc6ce25(0x9e)](_0x23f883)[TestFrameworkConstants[_0xc6ce25(0xf4)]]);if(_0x2a431b[_0xc6ce25(0x161)](_0x5d53e7['length'],0x0)){const _0x4899c4=_0x249b16[TestFrameworkConstants[_0xc6ce25(0x138)]]||[];_0x249b16[TestFrameworkConstants['KEY_LOGS']]=[..._0x4899c4,..._0x5d53e7];}const _0x3c93bf=_0x1d73ca['annotations']||[],_0x240367=_0x249b16[TestFrameworkConstants[_0xc6ce25(0xb4)]]||{};_0x3c93bf['forEach'](_0x557d6d=>{const _0x3d715d=_0xc6ce25,{type:_0xd2ba3a}=_0x557d6d;let _0x354b7d=_0x557d6d['description'];if(!_0xd2ba3a)return;(_0x2a431b[_0x3d715d(0x162)](_0x354b7d,undefined)||_0x2a431b['haEiQ'](_0x354b7d,null)||_0x2a431b[_0x3d715d(0x162)](_0x2a431b[_0x3d715d(0xf7)](String,_0x354b7d)[_0x3d715d(0x93)](),''))&&(_0x354b7d=_0x2a431b[_0x3d715d(0xae)]);if(!_0x240367[_0xd2ba3a]){const _0x2211ac={};_0x2211ac[_0x3d715d(0x12b)]=_0x2a431b[_0x3d715d(0xa4)],_0x2211ac['values']=[],_0x240367[_0xd2ba3a]=_0x2211ac;}else!_0x240367[_0xd2ba3a][_0x3d715d(0x12b)]&&(_0x240367[_0xd2ba3a][_0x3d715d(0x12b)]=_0x2a431b[_0x3d715d(0xa4)]),!Array[_0x3d715d(0x196)](_0x240367[_0xd2ba3a][_0x3d715d(0x14a)])&&(_0x240367[_0xd2ba3a][_0x3d715d(0x14a)]=[]);const _0x405551=_0x2a431b[_0x3d715d(0x131)](String,_0x354b7d)[_0x3d715d(0xc1)](',')[_0x3d715d(0x97)](_0x22bbb8=>_0x22bbb8[_0x3d715d(0x93)]());_0x240367[_0xd2ba3a][_0x3d715d(0x14a)]=[...new Set([..._0x240367[_0xd2ba3a]['values'],..._0x405551])];}),_0x249b16[TestFrameworkConstants[_0xc6ce25(0xb4)]]=_0x240367,TestInfo[_0xc6ce25(0x140)](_0x23f883,_0x249b16);const _0x661d2={};return _0x661d2[_0x23f883]=_0x249b16,_0x661d2;}[a77_0x2a3992(0x170)](_0x337b2c,_0x4a2039,_0x4989b4){const _0x2f325e=a77_0x2a3992,_0x38f8c0={'xmKyz':function(_0x444ee2,_0x5556cf){return _0x444ee2||_0x5556cf;},'NJfnV':function(_0x56cb16,_0x130c3d,_0x285319){return _0x56cb16(_0x130c3d,_0x285319);}};try{const {test:_0x273286,result:_0x14180d,step:_0xe0ea03}=_0x4989b4;if(_0x38f8c0['xmKyz'](!_0x273286,!_0xe0ea03)||!_0x14180d)return;const _0x1588f9=_0x38f8c0[_0x2f325e(0xe0)](getTestRunIdentifier,_0x273286,_0x14180d['retry']);logger[_0x2f325e(0xa3)]('trackStepEvent:\x20testId='+_0x1588f9+_0x2f325e(0x11c)+_0x4a2039+_0x2f325e(0xb1)+_0xe0ea03['title']+'\x22');}catch(_0x5870d6){logger[_0x2f325e(0xe9)](_0x2f325e(0xa5)+util[_0x2f325e(0xbd)](_0x5870d6));}}async[a77_0x2a3992(0xc3)](_0x89209d,_0x163f33,_0x3e8e5b,_0x210a38){const _0x2bd8fa=a77_0x2a3992,_0x20bd12={'Iakju':function(_0x58af5d,_0x302d3e,_0x44d9f4){return _0x58af5d(_0x302d3e,_0x44d9f4);},'RkvAy':function(_0x176270,_0x21074f){return _0x176270 in _0x21074f;},'xYIei':function(_0x4c6877,_0x4dd4d3){return _0x4c6877 in _0x4dd4d3;},'gJzlJ':function(_0x3b2f0a,_0x44bb6f){return _0x3b2f0a(_0x44bb6f);},'HnIuY':function(_0x183b7c,_0x60667e){return _0x183b7c===_0x60667e;},'qTIMH':function(_0x488d2d){return _0x488d2d();},'APKyQ':function(_0x8648a7,_0x113340){return _0x8648a7>_0x113340;},'gtfvK':_0x2bd8fa(0x16a),'QbRXz':function(_0x5721de,_0xf0a2ed){return _0x5721de(_0xf0a2ed);},'dxBKm':function(_0x4be171,_0x4036d0){return _0x4be171(_0x4036d0);},'AdfFU':_0x2bd8fa(0xcd),'OWNMf':'passed','xDsHz':function(_0x80b9,_0x204e31){return _0x80b9!==_0x204e31;},'sUXTu':function(_0x51f45e,_0x7bb161){return _0x51f45e+_0x7bb161;},'DaQUB':_0x2bd8fa(0x15d)},_0x4500a0=_0x210a38['test'],_0x10a67e=_0x210a38[_0x2bd8fa(0xdb)],_0x136a76=_0x20bd12[_0x2bd8fa(0xaf)](getTestRunIdentifier,_0x4500a0,_0x210a38[_0x2bd8fa(0xa1)]['retry']),_0x290a4b=_0x163f33[_0x2bd8fa(0x104)]()[_0x2bd8fa(0xc1)]('.')[0x1];let _0x17998f=_0x89209d[_0x2bd8fa(0x96)]()['get'](_0x136a76)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x17998f&&(_0x17998f={});!_0x20bd12[_0x2bd8fa(0x154)](_0x290a4b,_0x17998f)&&(_0x17998f[_0x290a4b]=[]);let _0x5d5ad2=_0x89209d[_0x2bd8fa(0x96)]()[_0x2bd8fa(0x9e)](_0x136a76)[TestFrameworkConstants[_0x2bd8fa(0x125)]];!_0x5d5ad2&&(_0x5d5ad2={});!_0x20bd12[_0x2bd8fa(0xd8)](_0x290a4b,_0x5d5ad2)&&(_0x5d5ad2[_0x290a4b]=[]);const _0x442653={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x17998f,[TestFrameworkConstants[_0x2bd8fa(0x125)]]:_0x5d5ad2},_0x597194={};_0x597194[_0x136a76]=_0x442653;const _0x51c47d=_0x597194,_0x33ccbf=_0x20bd12[_0x2bd8fa(0x191)](getPlaywrightTestFilePath,_0x4500a0),_0x36cd0c=_0x33ccbf,_0x13874c=TestInfo[_0x2bd8fa(0x122)](_0x136a76)[TestFrameworkConstants[_0x2bd8fa(0xb4)]]||{};if(_0x20bd12[_0x2bd8fa(0xac)](_0x3e8e5b,HookState[_0x2bd8fa(0x14d)])){const _0x37f21c={'key':_0x290a4b,[TestFrameworkConstants[_0x2bd8fa(0x121)]]:_0x20bd12[_0x2bd8fa(0x105)](uuidv4),[TestFrameworkConstants[_0x2bd8fa(0x10a)]]:TestFrameworkConstants[_0x2bd8fa(0xb9)],[TestFrameworkConstants[_0x2bd8fa(0x9d)]]:_0x10a67e[_0x2bd8fa(0x148)],[TestFrameworkConstants[_0x2bd8fa(0xc9)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x10a67e[_0x2bd8fa(0x17e)],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x33ccbf,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x36cd0c,[TestFrameworkConstants[_0x2bd8fa(0xb4)]]:_0x13874c};_0x17998f[_0x290a4b][_0x2bd8fa(0x173)](_0x37f21c),_0x51c47d[_0x136a76][TestFrameworkConstants[_0x2bd8fa(0x149)]]=_0x290a4b,logger[_0x2bd8fa(0xa3)](_0x2bd8fa(0x15a)+_0x290a4b+_0x2bd8fa(0x143)+_0x37f21c+_0x2bd8fa(0xab)+_0x210a38);}else{if(_0x20bd12[_0x2bd8fa(0xac)](_0x3e8e5b,HookState[_0x2bd8fa(0xa8)])){const _0x4de68b=await _0x210a38['result'],_0x3bac24=_0x17998f[_0x290a4b]||[],_0x57a256=_0x210a38[_0x2bd8fa(0xdb)];logger[_0x2bd8fa(0xa3)]('Hook\x20List\x20in\x20Post\x20'+_0x3bac24+'\x20and\x20args\x20=\x20'+_0x210a38);if(_0x20bd12['APKyQ'](_0x3bac24[_0x2bd8fa(0x151)],0x0)){const _0x10a128=_0x3bac24[_0x2bd8fa(0x16c)]();if(_0x57a256[_0x2bd8fa(0xe9)]){const _0x4eafa2=_0x20bd12[_0x2bd8fa(0xaf)](failureData,_0x57a256[_0x2bd8fa(0xe9)],_0x20bd12[_0x2bd8fa(0xad)]);_0x10a128[TestFrameworkConstants[_0x2bd8fa(0x13d)]]=_0x20bd12[_0x2bd8fa(0xa2)](getFailureType,_0x57a256?.[_0x2bd8fa(0xe9)]['message']),_0x10a128[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x20bd12[_0x2bd8fa(0x182)](removeAnsiColors,_0x57a256?.[_0x2bd8fa(0xe9)][_0x2bd8fa(0xd6)]),_0x10a128[TestFrameworkConstants[_0x2bd8fa(0x10a)]]=_0x20bd12['AdfFU'],_0x10a128[TestFrameworkConstants[_0x2bd8fa(0xd1)]]=_0x4eafa2;}else _0x10a128[TestFrameworkConstants[_0x2bd8fa(0x10a)]]=_0x20bd12[_0x2bd8fa(0x18f)];_0x20bd12[_0x2bd8fa(0x193)](_0x4de68b,TestFrameworkConstants[_0x2bd8fa(0xb9)])&&(_0x10a128[TestFrameworkConstants[_0x2bd8fa(0x10a)]]=!_0x57a256[_0x2bd8fa(0xe9)]?_0x20bd12[_0x2bd8fa(0x18f)]:_0x20bd12[_0x2bd8fa(0xa9)]);const _0xc4133d=new Date(_0x57a256[_0x2bd8fa(0x148)]),_0x33f850=new Date(_0x20bd12[_0x2bd8fa(0x16e)](_0xc4133d[_0x2bd8fa(0xea)](),_0x57a256['duration']));_0x10a128[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x33f850[_0x2bd8fa(0x116)](),_0x10a128[TestFrameworkConstants[_0x2bd8fa(0xb4)]]=_0x13874c;const _0x3b5abd=_0x10a128[TestFrameworkConstants[_0x2bd8fa(0x121)]];await this[_0x2bd8fa(0x153)](_0x89209d,_0x163f33,_0x3b5abd,_0x20bd12[_0x2bd8fa(0xe3)],_0x210a38),!_0x5d5ad2[_0x290a4b]&&(_0x5d5ad2[_0x290a4b]=[]),_0x5d5ad2[_0x290a4b][_0x2bd8fa(0x173)](_0x10a128),_0x51c47d[_0x136a76][TestFrameworkConstants[_0x2bd8fa(0x10d)]]=_0x290a4b;}}}return _0x51c47d;}async['sendLogCreatedEvent'](_0x3e6e78,_0x3b17e5,_0x5207db,_0x31283b,_0x55249a,_0x5cf9e7){const _0x2c43e9=a77_0x2a3992,_0x5dc761={'zBmHM':function(_0xb2a33e,_0x77a930){return _0xb2a33e===_0x77a930;},'rGiUK':'test','kNxdF':function(_0x220e43,_0x5a4142,_0x986743){return _0x220e43(_0x5a4142,_0x986743);},'DHLZR':'attachments','RpPsQ':function(_0x4f475e,_0x335779,_0x4d5e86,_0x150742){return _0x4f475e(_0x335779,_0x4d5e86,_0x150742);},'wtbzS':function(_0x236958,_0x2c3575,_0x1ad2bf){return _0x236958(_0x2c3575,_0x1ad2bf);},'rybPl':function(_0x2ece7b,_0x20a962,_0x456beb){return _0x2ece7b(_0x20a962,_0x456beb);},'oCPfI':function(_0x2df238,_0x322893,_0x399948){return _0x2df238(_0x322893,_0x399948);},'IyiLP':function(_0xf90f1d,_0x369e25){return _0xf90f1d/_0x369e25;},'cLgHo':function(_0x47f10d,_0x5a5704){return _0x47f10d<_0x5a5704;},'jyxhx':function(_0x130c94,_0x589658){return _0x130c94*_0x589658;},'LGrRL':function(_0x442156,_0x4d45fa){return _0x442156+_0x4d45fa;},'XXnCp':function(_0x7bc46b,_0x1b9d8d,_0x15b02f,_0x31f859,_0x243f9c){return _0x7bc46b(_0x1b9d8d,_0x15b02f,_0x31f859,_0x243f9c);},'uucEG':function(_0x5a7a74,_0x3db7ed){return _0x5a7a74+_0x3db7ed;},'SnhwJ':_0x2c43e9(0x15d)};try{if(_0x5dc761[_0x2c43e9(0x172)](_0x31283b,_0x5dc761['rGiUK'])){const _0xcac420=await _0x55249a[_0x2c43e9(0xa1)],_0x509647=_0x5dc761[_0x2c43e9(0xde)](getTestRunIdentifier,_0x55249a[_0x2c43e9(0x146)],_0x55249a[_0x2c43e9(0xa1)][_0x2c43e9(0xf5)]),_0x942548=_0x55249a[_0x2c43e9(0x146)];logger[_0x2c43e9(0xa3)](_0x2c43e9(0x185)+_0x509647+'\x20result='+util['inspect'](_0xcac420));const _0x1a3872=_0x3e6e78[_0x2c43e9(0x96)]()[_0x2c43e9(0x9e)](_0x509647)[TestFrameworkConstants[_0x2c43e9(0xf4)]];await _0x5dc761[_0x2c43e9(0xde)](sendTraceZip,_0xcac420,_0x1a3872);const _0x104d5c=TestInfo[_0x2c43e9(0x122)](_0x509647)[_0x5dc761['DHLZR']],_0x39f1a2={};if(_0x104d5c){!_0xcac420[_0x2c43e9(0x111)]&&(_0xcac420[_0x2c43e9(0x111)]=[]);_0x39f1a2['attachments']=_0xcac420[_0x2c43e9(0x111)][_0x2c43e9(0x119)](_0x104d5c||[]);const _0x4068c7=TestInfo[_0x2c43e9(0x122)](_0x509647);delete _0x4068c7[_0x5dc761[_0x2c43e9(0x17a)]],TestInfo['setTestDetails'](_0x509647,_0x4068c7);}const _0x1e73ae=_0x5cf9e7||_0x5dc761[_0x2c43e9(0xe1)](getStepsAndLogs,_0xcac420[_0x2c43e9(0xe4)],_0x3e6e78['getAllData']()['get'](_0x509647)[TestFrameworkConstants['KEY_TEST_UUID']],_0x5dc761['rGiUK'])['logs'],_0x39b27f=_0x5dc761[_0x2c43e9(0xde)](getScreenshots,_0x39f1a2,_0x3e6e78[_0x2c43e9(0x96)]()[_0x2c43e9(0x9e)](_0x509647)[TestFrameworkConstants[_0x2c43e9(0xf4)]]),_0x468702=_0x5dc761[_0x2c43e9(0x171)](getVideos,_0xcac420,_0x3e6e78[_0x2c43e9(0x96)]()[_0x2c43e9(0x9e)](_0x509647)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x136ded,logs:_0x5e5bf9}=_0x5dc761['rybPl'](getFailureData,_0xcac420[_0x2c43e9(0xa6)],{'test_run_uuid':_0x3e6e78[_0x2c43e9(0x96)]()[_0x2c43e9(0x9e)](_0x509647)[TestFrameworkConstants[_0x2c43e9(0xf4)]]}),_0x11700b=TestInfo[_0x2c43e9(0x122)](_0x509647)[TestFrameworkConstants[_0x2c43e9(0x117)]]||{},_0x588ce0=_0x5dc761[_0x2c43e9(0x12a)](getMediaArtifactsLogs,_0x11700b,_0x3e6e78['getAllData']()['get'](_0x509647)[TestFrameworkConstants[_0x2c43e9(0xf4)]]),_0x3360b6=_0x3e6e78[_0x2c43e9(0x96)]()[_0x2c43e9(0x9e)](_0x509647),{[TestFrameworkConstants[_0x2c43e9(0x159)]]:_0x1541db='',[TestFrameworkConstants[_0x2c43e9(0x152)]]:_0x5323ba=''}=_0x3360b6,_0x8e5f2b=(_0x1e73ae||[])[_0x2c43e9(0x119)](_0x39b27f||[])[_0x2c43e9(0x119)](_0x5e5bf9||[])[_0x2c43e9(0x119)](_0x468702||[])[_0x2c43e9(0x119)](_0x588ce0||[]),_0x2e150a=0x28,_0x1c4a52=Math[_0x2c43e9(0x136)](_0x5dc761[_0x2c43e9(0x126)](_0x8e5f2b['length'],_0x2e150a));for(let _0x590403=0x0;_0x5dc761['cLgHo'](_0x590403,_0x1c4a52);_0x590403++){const _0x9bf8f1=_0x5dc761[_0x2c43e9(0xaa)](_0x590403,_0x2e150a),_0xac1776=_0x5dc761[_0x2c43e9(0xe8)](_0x9bf8f1,_0x2e150a),_0x4eb851=_0x8e5f2b['slice'](_0x9bf8f1,_0xac1776),_0x2b9dac={'platformIndex':global?.[_0x2c43e9(0xf6)]??0x0,'logs':_0x4eb851,'testFrameworkName':_0x1541db,'testFrameworkVersion':_0x5323ba,'testFrameworkState':_0x3b17e5[_0x2c43e9(0x104)]()[_0x2c43e9(0xc1)]('.')[0x1]};_0x5dc761[_0x2c43e9(0x118)](updatePayloadForTraceLogs,_0x2b9dac,_0x55249a,_0x509647,_0x3e6e78),logger[_0x2c43e9(0xa3)](_0x2c43e9(0x14e)+_0x509647+_0x2c43e9(0x108)+_0x5dc761['uucEG'](_0x590403,0x1)+'/'+_0x1c4a52+_0x2c43e9(0x15b)+util[_0x2c43e9(0x129)](_0x2b9dac));const _0x6f3107=await GrpcClient[_0x2c43e9(0xd5)]()['logCreatedEvent'](_0x2b9dac);logger['debug'](_0x2c43e9(0x14e)+_0x509647+'\x20batch\x20'+_0x5dc761[_0x2c43e9(0xe8)](_0x590403,0x1)+'/'+_0x1c4a52+_0x2c43e9(0xf0)+util[_0x2c43e9(0x129)](_0x6f3107));}}else{const {logs:_0x5ab8e7}=_0x5dc761['RpPsQ'](getStepsAndLogs,_0x55249a[_0x2c43e9(0xdb)][_0x2c43e9(0xe4)],_0x5207db,_0x5dc761[_0x2c43e9(0x103)]),_0x13bcaf=_0x5dc761[_0x2c43e9(0x171)](getTestRunIdentifier,_0x55249a['test'],_0x55249a[_0x2c43e9(0xa1)][_0x2c43e9(0xf5)]);logger[_0x2c43e9(0xa3)](_0x2c43e9(0x185)+_0x13bcaf);const _0x305ee7=_0x3e6e78[_0x2c43e9(0x96)]()[_0x2c43e9(0x9e)](_0x13bcaf),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x2924e3='',[TestFrameworkConstants[_0x2c43e9(0x152)]]:_0x1557fa=''}=_0x305ee7,_0x7b4f55={'platformIndex':'0','logs':_0x5ab8e7,'testFrameworkName':_0x2924e3,'testFrameworkVersion':_0x1557fa,'testFrameworkState':_0x3b17e5[_0x2c43e9(0x104)]()[_0x2c43e9(0xc1)]('.')[0x1]};_0x5dc761['XXnCp'](updatePayloadForTraceLogs,_0x7b4f55,_0x55249a,_0x13bcaf,_0x3e6e78),logger[_0x2c43e9(0xa3)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x13bcaf+_0x2c43e9(0x15b)+util[_0x2c43e9(0x129)](_0x7b4f55));const _0x1e1830=await GrpcClient[_0x2c43e9(0xd5)]()['logCreatedEvent'](_0x7b4f55);}}catch(_0x540973){logger[_0x2c43e9(0xe9)]('Error\x20in\x20sendLogCreatedEvent:\x20'+util[_0x2c43e9(0xbd)](_0x540973));}}[a77_0x2a3992(0x157)](_0x1cbce8){const _0x44cc76=a77_0x2a3992,_0xb583c3={'hLvYE':function(_0x29111e,_0x2463c6,_0x175a53){return _0x29111e(_0x2463c6,_0x175a53);},'BRsXx':function(_0x212bdc,_0x61f77b){return _0x212bdc<_0x61f77b;},'yvJZK':_0x44cc76(0xc7)};try{const _0x540238=_0x1cbce8['test']['id'],_0x4ecc80=_0xb583c3[_0x44cc76(0x144)](getTestRunIdentifier,_0x1cbce8[_0x44cc76(0x146)],_0x1cbce8[_0x44cc76(0xa1)]['retry']),_0x1800d8=_0x1cbce8[_0x44cc76(0xd2)],_0x5a7fd6=_0x1800d8[_0x44cc76(0x8f)](),_0x2fcc9c=_0x1800d8[_0x44cc76(0x96)]()[_0x44cc76(0x9e)](_0x4ecc80);logger[_0x44cc76(0xa3)](_0x44cc76(0xf1)+_0x540238);const {[TestFrameworkConstants[_0x44cc76(0x159)]]:_0x4a54a2='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x2446d1='',[TestFrameworkConstants[_0x44cc76(0x113)]]:_0x3db874='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x6be8bc=''}=_0x2fcc9c,_0x406767=_0x1800d8['getCurrentTestState']()[_0x44cc76(0x104)]()[_0x44cc76(0xc1)]('.')[0x1],_0xced026=_0x1800d8['getCurrentHookState']()['toString']()[_0x44cc76(0xc1)]('.')[0x1],_0x2857ad=_0xb583c3[_0x44cc76(0x94)](_0x1cbce8?.['result']?.[_0x44cc76(0x158)]??0x0,0x0)?0x0:_0x1cbce8?.['result']?.[_0x44cc76(0x158)]??0x0,_0x44bac5=_0x1800d8['getRef'](),_0x2bc3fa=Buffer[_0x44cc76(0x132)](JSON['stringify'](_0x2fcc9c))[_0x44cc76(0x104)](_0xb583c3[_0x44cc76(0x145)]),_0x4697fc={'hash':_0x5a7fd6[_0x44cc76(0x150)](),'threadId':_0x5a7fd6[_0x44cc76(0x109)]()[_0x44cc76(0x104)](),'processId':_0x5a7fd6[_0x44cc76(0x13f)]()[_0x44cc76(0x104)]()},_0xd03761={};_0xd03761[_0x44cc76(0xd0)]=_0x2857ad,_0xd03761[_0x44cc76(0xc2)]=_0x4a54a2,_0xd03761[_0x44cc76(0xa0)]=_0x2446d1,_0xd03761[_0x44cc76(0x18a)]=_0x406767,_0xd03761[_0x44cc76(0x189)]=_0xced026,_0xd03761[_0x44cc76(0x130)]=_0x3db874,_0xd03761[_0x44cc76(0x15f)]=_0x6be8bc,_0xd03761[_0x44cc76(0x11f)]=_0x44bac5,_0xd03761['eventJson']=_0x2bc3fa,_0xd03761['executionContext']=_0x4697fc;const _0xa9b129=_0xd03761;return logger['debug']('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x540238+_0x44cc76(0x106)+_0x406767+_0x44cc76(0xfc)+_0xced026),_0xa9b129;}catch(_0x1294a3){return logger['error'](_0x44cc76(0x134)+util[_0x44cc76(0xbd)](_0x1294a3)),{};}}}module[a77_0x2a3992(0xc0)]=PlaywrightTestFramework;function a77_0x1eb3(_0x44add3,_0x4fe249){const _0x432c69=a77_0x432c();return a77_0x1eb3=function(_0x1eb30e,_0x5206fd){_0x1eb30e=_0x1eb30e-0x8f;let _0x22920d=_0x432c69[_0x1eb30e];return _0x22920d;},a77_0x1eb3(_0x44add3,_0x4fe249);}function a77_0x432c(){const _0x3dbb80=['SnhwJ','toString','qTIMH','\x20testState:\x20','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','\x20batch\x20','getThreadId','KEY_HOOK_RESULT','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','../../../helpers/test-observability/utils','KEY_HOOK_LAST_FINISHED','cYXBJ','filePath','ljKbI','attachments','KEY_TEST_RETRY_OF','KEY_TEST_STARTED_AT','VJuro','TEST_ATTACHMENT','toISOString','KEY_TEST_ATTACHMENTS','XXnCp','concat','setTrackedInstance','KEY_AUTOMATE_SESSION_NAME','\x20hookState=','obVxD','../state/hookState.js','uuid','KEY_TEST_RESULT_AT','KEY_HOOK_ID','getTestDetails','689390VuLtVX','GQgYQ','KEY_HOOKS_FINISHED','IyiLP','118149uPxELB','XhTUQ','inspect','oCPfI','field_type','text','file_name','passed','rOYRw','startedAt','SXyYX','from','createContext','Error\x20in\x20createTestFrameworkEventPayload:\x20','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','ceil','testUId','KEY_LOGS','KEY_TEST_TAGS','TEST_STEP','PlaywrightTestFramework','started_at','KEY_HOOK_FAILURE_TYPE','../../../helpers/classLogger.js','getProcessId','setTestDetails','UVDTk','AXxcL','\x20&\x20hook\x20=\x20','hLvYE','yvJZK','test','XKohK','startTime','KEY_HOOK_LAST_STARTED','values','getTraceFilePaths','results','PRE','sendLogCreatedEvent\x20for\x20testId:\x20','TrjWB','getId','length','KEY_TEST_FRAMEWORK_VERSION','sendLogCreatedEvent','RkvAy','KEY_TEST_ID','getTestFrameworks','createTestFrameworkEventPayload','parallelIndex','KEY_TEST_FRAMEWORK_NAME','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','\x20payload=','10001512JOwTIs','hook','AdICg','endedAt','jaGtR','UDAUc','haEiQ','No\x20reason\x20provided','EeYSj','keyword','Error\x20processing\x20trace\x20file\x20','info','parsePlaywrightTestResult:\x20testId=','KEY_TEST_FAILURE','err','forEach','pop','ykKFt','sUXTu','path','trackStepEvent','wtbzS','zBmHM','push','KEY_TEST_LOGS','stack','xPWqO','expectedStatus','CIhjc','\x20from\x20TestDetails:\x20','DHLZR','Expected\x20to\x20fail,\x20but\x20passed.','KEY_TEST_ENDED_AT','getCurrentInstanceName','title','../../../helpers/helper.js','2126044WcjWXw','getTestIdentifierFromTestInfo','dxBKm','\x20target=','KEY_TEST_RESULT','sendLogCreatedEvent:\x20testId=','set','7aFfsFm','KEY_TEST_LOCATION','hookState','testFrameworkState','../../utils/constants','KEY_TEST_RERUN_NAME','util','addMultipleEntries','OWNMf','getRef','gJzlJ','\x20testHookState=','xDsHz','duration','\x20instanceId=','isArray','getContext','KEY_TEST_FAILURE_REASON','MAX_NESTED_STEP_DEPTH','mRjbm','trim','BRsXx','../../../../src/helpers/helper','getAllData','map','JbQxh','getTrackedInstance','cumZP','some','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','KEY_EVENT_STARTED_AT','get','multi_dropdown','testFrameworkVersion','result','QbRXz','debug','HYVJP','trackStepEvent:\x20exception=','errors','KEY_TEST_SCOPES','POST','AdfFU','jyxhx','\x20\x20and\x20args\x20=\x20','HnIuY','gtfvK','XJHRA','Iakju','../state/testFrameworkState.js','\x20step=\x22','parsePlaywrightTestResult','1497519CcJCbE','KEY_CUSTOM_TAGS','./constants/testFrameworkConstants.js','qfvRn','ohtEJ','runHooks','DEFAULT_HOOK_RESULT','mfErp','resolveInstance','KEY_TEST_META','format','status','KEY_TEST_FILE_PATH','exports','split','testFrameworkName','trackHookEvent','NONE',',\x20state=','statSync','base64','size','KEY_HOOK_LOGS','lMTZG','wsmBt','KuReu','failed','../../playwright/reporter/pwUtils','parsePlaywrightTestResult:\x20extracted\x20','platformIndex','KEY_HOOK_FAILURE','instance','KEY_HOOKS_STARTED','mvajB','getInstance','message','TEST','xYIei','5029692wXzRPx','KEY_TEST_CODE','step','SoRXw','INIT_TEST','kNxdF','KEY_TEST_FAILURE_TYPE','NJfnV','RpPsQ','../cliUtils.js','DaQUB','steps','failure_type','trackPlaywrightInstance','timedOut','LGrRL','error','getTime','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','4IIAsjf','rVMGF','\x20steps\x20for\x20testId=','getTestFrameworksVersions','\x20response=','createTestFrameworkEventPayload\x20testId:\x20','parsePlaywrightTest','JuMYe','KEY_TEST_UUID','retry','browserstackPlatformIndex','LvEiW','KEY_TEST_NAME','../grpcClient','trackEvent','parent_id','\x20hookState:\x20','4175885YzayeO','matchHookRegex','WXWYT','failure','basename','IBWMq'];a77_0x432c=function(){return _0x3dbb80;};return a77_0x432c();}
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 +1 @@
1
- const a78_0x3563d2=a78_0x528b;(function(_0x23ab94,_0xcf4d63){const _0x1c24d9=a78_0x528b,_0x1c139a=_0x23ab94();while(!![]){try{const _0x78a429=parseInt(_0x1c24d9(0x1e5))/0x1+-parseInt(_0x1c24d9(0x1ed))/0x2+parseInt(_0x1c24d9(0x1cf))/0x3+parseInt(_0x1c24d9(0x1d0))/0x4*(parseInt(_0x1c24d9(0x1db))/0x5)+parseInt(_0x1c24d9(0x1ef))/0x6+parseInt(_0x1c24d9(0x1dc))/0x7+parseInt(_0x1c24d9(0x1ce))/0x8*(-parseInt(_0x1c24d9(0x1df))/0x9);if(_0x78a429===_0xcf4d63)break;else _0x1c139a['push'](_0x1c139a['shift']());}catch(_0x5eb1ad){_0x1c139a['push'](_0x1c139a['shift']());}}}(a78_0x531d,0x752a0));const AutomationFramework=require('./automationFramework.js'),{createClassLogger}=require(a78_0x3563d2(0x1d3)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a78_0x3563d2(0x1e8)),CLIUtils=require(a78_0x3563d2(0x1dd)),TrackedInstance=require(a78_0x3563d2(0x1e7)),AutomationFrameworkInstance=require(a78_0x3563d2(0x1d8));class PuppeteerAutomationFramework extends AutomationFramework{[a78_0x3563d2(0x1d5)]=createClassLogger(a78_0x3563d2(0x1e0));constructor(_0x297946,_0x40a7f7){super(_0x297946,_0x40a7f7);}async[a78_0x3563d2(0x1e3)](_0x1e92a0,_0xc121f5,_0x16b1db={}){const _0x3a9133=a78_0x3563d2,_0x5a56e6={};_0x5a56e6['DErjZ']=function(_0x2e21b,_0x5bc7d9){return _0x2e21b===_0x5bc7d9;},_0x5a56e6[_0x3a9133(0x1f2)]='trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking';const _0x5be22a=_0x5a56e6;this[_0x3a9133(0x1d5)][_0x3a9133(0x1d4)](_0x3a9133(0x1f4)+_0x1e92a0+_0x3a9133(0x1d2)+_0xc121f5),await super[_0x3a9133(0x1e3)](_0x1e92a0,_0xc121f5,_0x16b1db);const _0x55a381=this[_0x3a9133(0x1e6)](_0x1e92a0,_0xc121f5,_0x16b1db);if(_0x5be22a[_0x3a9133(0x1d9)](_0x55a381,null)){this[_0x3a9133(0x1d5)][_0x3a9133(0x1d4)](_0x5be22a[_0x3a9133(0x1f2)]);return;}_0x16b1db[_0x3a9133(0x1f0)]=_0x55a381,await this[_0x3a9133(0x1ea)](_0x55a381,_0x1e92a0,_0xc121f5,_0x16b1db);}[a78_0x3563d2(0x1e6)](_0x4412eb,_0x3c147c,_0x30e4b6={}){const _0x36a256=a78_0x3563d2,_0x39823e={};_0x39823e[_0x36a256(0x1cc)]=function(_0x34a287,_0x1ba539){return _0x34a287===_0x1ba539;},_0x39823e[_0x36a256(0x1da)]=function(_0x333cdc,_0x1005e5){return _0x333cdc===_0x1005e5;};const _0x4a27b5=_0x39823e;let _0x3acb09=null;return(_0x4a27b5[_0x36a256(0x1cc)](_0x4412eb,AutomationFrameworkState[_0x36a256(0x1f1)])&&_0x4a27b5['VjJdS'](_0x3c147c,HookState['PRE'])||_0x4a27b5['StwXV'](_0x4412eb,AutomationFrameworkState[_0x36a256(0x1d7)]))&&this[_0x36a256(0x1e2)](_0x4412eb,_0x30e4b6),_0x3acb09=AutomationFramework[_0x36a256(0x1de)](),_0x3acb09;}[a78_0x3563d2(0x1e2)](_0x34374d,_0x3336b5){const _0xaf36a0=a78_0x3563d2,_0x1f374f={};_0x1f374f[_0xaf36a0(0x1d1)]=_0xaf36a0(0x1e1);const _0x254b99=_0x1f374f;if(AutomationFramework[_0xaf36a0(0x1de)]()){this['logger'][_0xaf36a0(0x1d6)](_0x254b99['Yorqa']);return;}const _0x5c5008=CLIUtils['getCurrentInstanceName'](),_0x285d25=TrackedInstance[_0xaf36a0(0x1ee)](_0x5c5008);let _0x46c0d5=null;this[_0xaf36a0(0x1d5)][_0xaf36a0(0x1d6)]('trackPuppeteerInstance:\x20created\x20instance\x20for\x20target='+_0x5c5008+_0xaf36a0(0x1e9)+_0x34374d),_0x46c0d5=new AutomationFrameworkInstance(_0x285d25,this[_0xaf36a0(0x1f3)](),this[_0xaf36a0(0x1eb)](),_0x34374d),AutomationFramework[_0xaf36a0(0x1e4)](_0x285d25,_0x46c0d5),this[_0xaf36a0(0x1d5)][_0xaf36a0(0x1d6)](_0xaf36a0(0x1cd)+_0x285d25[_0xaf36a0(0x1cb)]()+_0xaf36a0(0x1ec)+_0x5c5008);}}function a78_0x531d(){const _0x4e463d=['trackEvent','setTrackedInstance','426307Jzptzt','resolveInstance','../instances/trackedInstance.js','../state/hookState.js',',\x20state=','runHooks','getAutomationFrameworkVersion','\x20target=','31116diRxrO','createContext','2822580xJjXHB','instance','CREATE','ADXPB','getAutomationFrameworkName','trackEvent:\x20automationFrameworkState=','getId','VjJdS','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','53672FiYYPr','1749762qYKRdL','1721820tOOOYY','Yorqa','\x20hookState=','../../../helpers/classLogger.js','debug','logger','info','NONE','../instances/automationFrameworkInstance.js','DErjZ','StwXV','10IYcIiX','4974830EPBoDp','../cliUtils.js','getTrackedInstance','3429pPGnhP','PuppeteerAutomationFramework','trackPuppeteerInstance:\x20instance\x20already\x20exists','trackPuppeteerInstance'];a78_0x531d=function(){return _0x4e463d;};return a78_0x531d();}function a78_0x528b(_0x49d2fe,_0x2d6fd6){const _0x531d65=a78_0x531d();return a78_0x528b=function(_0x528b97,_0x1d2d2d){_0x528b97=_0x528b97-0x1cb;let _0x3a8128=_0x531d65[_0x528b97];return _0x3a8128;},a78_0x528b(_0x49d2fe,_0x2d6fd6);}module['exports']=PuppeteerAutomationFramework;
1
+ const a78_0x17f71b=a78_0x5462;function a78_0x5462(_0x10d91f,_0x513f94){const _0x5edbec=a78_0x5edb();return a78_0x5462=function(_0x546233,_0xc5a03f){_0x546233=_0x546233-0x84;let _0x268ff0=_0x5edbec[_0x546233];return _0x268ff0;},a78_0x5462(_0x10d91f,_0x513f94);}(function(_0x13670,_0x2c80cc){const _0x5c1a37=a78_0x5462,_0x57ddde=_0x13670();while(!![]){try{const _0x3b13fc=-parseInt(_0x5c1a37(0x8b))/0x1*(parseInt(_0x5c1a37(0xa9))/0x2)+-parseInt(_0x5c1a37(0xaa))/0x3+-parseInt(_0x5c1a37(0x9d))/0x4*(parseInt(_0x5c1a37(0x90))/0x5)+-parseInt(_0x5c1a37(0x8a))/0x6*(parseInt(_0x5c1a37(0xa1))/0x7)+-parseInt(_0x5c1a37(0x88))/0x8+parseInt(_0x5c1a37(0x9e))/0x9*(parseInt(_0x5c1a37(0x9c))/0xa)+-parseInt(_0x5c1a37(0x95))/0xb*(-parseInt(_0x5c1a37(0x86))/0xc);if(_0x3b13fc===_0x2c80cc)break;else _0x57ddde['push'](_0x57ddde['shift']());}catch(_0x173769){_0x57ddde['push'](_0x57ddde['shift']());}}}(a78_0x5edb,0x60942));function a78_0x5edb(){const _0x556ffa=['trackPuppeteerInstance','resolveInstance','../instances/automationFrameworkInstance.js','PuppeteerAutomationFramework','hhbwm','PRE','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','30fGkQdp','405852eogBhd','getId','getTrackedInstance','../state/hookState.js','ZpvTO','24RjpvtB','rZEpj','3307472SOVreu','setTrackedInstance','48WewWgE','35642wUtBkz','NONE','XOwpG','getAutomationFrameworkName','createContext','1253395NYpILh','debug','runHooks','getAutomationFrameworkVersion','../../../helpers/classLogger.js','9325481ZeQoNt','../instances/trackedInstance.js','exports','trackEvent:\x20automationFrameworkState=','info','trackEvent','hzadP','171170YhiuUf','4xNQzQH','315iTugBa','logger','./automationFramework.js','494396cReaTR'];a78_0x5edb=function(){return _0x556ffa;};return a78_0x5edb();}const AutomationFramework=require(a78_0x17f71b(0xa0)),{createClassLogger}=require(a78_0x17f71b(0x94)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a78_0x17f71b(0x84)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a78_0x17f71b(0x96)),AutomationFrameworkInstance=require(a78_0x17f71b(0xa4));class PuppeteerAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a78_0x17f71b(0xa5));constructor(_0x4ace19,_0x3778cd){super(_0x4ace19,_0x3778cd);}async[a78_0x17f71b(0x9a)](_0x23b1b0,_0x3d2d86,_0x5e0d5d={}){const _0x4bdf53=a78_0x17f71b,_0x4a4d04={};_0x4a4d04[_0x4bdf53(0x85)]=function(_0x391ce6,_0x48012a){return _0x391ce6===_0x48012a;},_0x4a4d04[_0x4bdf53(0x87)]=_0x4bdf53(0xa8);const _0x594a32=_0x4a4d04;this['logger'][_0x4bdf53(0x91)](_0x4bdf53(0x98)+_0x23b1b0+'\x20hookState='+_0x3d2d86),await super[_0x4bdf53(0x9a)](_0x23b1b0,_0x3d2d86,_0x5e0d5d);const _0x45d83d=this[_0x4bdf53(0xa3)](_0x23b1b0,_0x3d2d86,_0x5e0d5d);if(_0x594a32[_0x4bdf53(0x85)](_0x45d83d,null)){this[_0x4bdf53(0x9f)][_0x4bdf53(0x91)](_0x594a32[_0x4bdf53(0x87)]);return;}_0x5e0d5d['instance']=_0x45d83d,await this[_0x4bdf53(0x92)](_0x45d83d,_0x23b1b0,_0x3d2d86,_0x5e0d5d);}[a78_0x17f71b(0xa3)](_0x59e78e,_0x26c2a7,_0xecb0f6={}){const _0x471dc8=a78_0x17f71b,_0x15160a={};_0x15160a[_0x471dc8(0xa6)]=function(_0x5a6e4,_0x2a78c1){return _0x5a6e4===_0x2a78c1;},_0x15160a[_0x471dc8(0x8d)]=function(_0x43a7e7,_0x56cb17){return _0x43a7e7===_0x56cb17;};const _0x2c30ca=_0x15160a;let _0x58b8d2=null;return(_0x2c30ca[_0x471dc8(0xa6)](_0x59e78e,AutomationFrameworkState['CREATE'])&&_0x2c30ca[_0x471dc8(0xa6)](_0x26c2a7,HookState[_0x471dc8(0xa7)])||_0x2c30ca['XOwpG'](_0x59e78e,AutomationFrameworkState[_0x471dc8(0x8c)]))&&this['trackPuppeteerInstance'](_0x59e78e,_0xecb0f6),_0x58b8d2=AutomationFramework[_0x471dc8(0xac)](),_0x58b8d2;}[a78_0x17f71b(0xa2)](_0x9cb46d,_0x1b814c){const _0x5b41b6=a78_0x17f71b,_0x126194={};_0x126194[_0x5b41b6(0x9b)]='trackPuppeteerInstance:\x20instance\x20already\x20exists';const _0x32e592=_0x126194;if(AutomationFramework[_0x5b41b6(0xac)]()){this[_0x5b41b6(0x9f)][_0x5b41b6(0x99)](_0x32e592[_0x5b41b6(0x9b)]);return;}const _0x26a29e=CLIUtils['getCurrentInstanceName'](),_0x44e9c9=TrackedInstance[_0x5b41b6(0x8f)](_0x26a29e);let _0x7b4cc9=null;this[_0x5b41b6(0x9f)][_0x5b41b6(0x99)]('trackPuppeteerInstance:\x20created\x20instance\x20for\x20target='+_0x26a29e+',\x20state='+_0x9cb46d),_0x7b4cc9=new AutomationFrameworkInstance(_0x44e9c9,this[_0x5b41b6(0x8e)](),this[_0x5b41b6(0x93)](),_0x9cb46d),AutomationFramework[_0x5b41b6(0x89)](_0x44e9c9,_0x7b4cc9),this[_0x5b41b6(0x9f)][_0x5b41b6(0x99)]('trackPuppeteerInstance:\x20saved\x20instance\x20contextId='+_0x44e9c9[_0x5b41b6(0xab)]()+'\x20target='+_0x26a29e);}}module[a78_0x17f71b(0x97)]=PuppeteerAutomationFramework;