browserstack-node-sdk 1.53.0 → 1.53.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/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_0x377063=a75_0x4695;function a75_0x5110(){const _0xea6433=['retryOf','../cliUtils.js','beforeAll','uuid','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','12452634AKctbB','[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20',',\x20hookState:\x20','resolveInstance','depth','push','scope','BuWxt','pop','name','KEY_HOOK_LAST_STARTED','testId','eventJson',',\x20duration=','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','KEY_TEST_ENDED_AT','format',',\x20hook=','removePendingHooks','args','getJestFailureType',',\x20scope:\x20','unknown','bSwXF','NsafV','KEY_HOOK_LOGS','hookAnalyticsId','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','hookMetadata','KEY_TEST_LOCATION','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','KEY_LOGS','util',',\x20version=','includes','TEST','kBtRO','DEFAULT_TEST_RESULT',',\x20attachmentLogs:\x20','getThreadId','DEFAULT_HOOK_RESULT','has','\x20(testIdentifier),\x20tags=',',\x20consoleLogs:\x20','addMultipleEntries','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','_ALL','concat','result','2770560tVvKdW','neqRR','dtydQ',',\x20contextId=',',\x20exception=','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','getHooksForTest','KEY_TEST_FAILURE_REASON','KEY_TEST_RETRY_OF','filter','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','code','removeActiveHook','KEY_HOOK_ID','\x20for\x20testId:\x20',',\x20hookData=','jXRTo','passed','startsWith','WnFEf','../instances/testFrameworkInstance.js','wGSkS','failed','setTrackedInstance','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','hookType',',\x20remainingHooks=',',\x20currentTestId:\x20','KEY_TEST_FILE_PATH','startedAt','Unknown\x20error','maxArrayLength','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','./constants/testFrameworkConstants.js','BaXUR','getJestTestScopes','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','tags',',\x20state:\x20','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','DVMaS',',\x20totalLogs:\x20','finished_at','mapTestHooks','filePath','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20',',\x20test_run_uuid=','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','FLXJq','1972136oUmvmc','vOIGm','KCxtK','goEaT','TTTOo','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=',',\x20target=','debug','\x20hook','type','stringify',',\x20filePath:\x20','trackEvent','\x20(testIdentifier)','started_at','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','getTrackedInstance','UCizv','ZUFtw','body','zdYxc','TEST_SCREENSHOT','KEY_AUTOMATE_SESSION_NAME','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','parseJestTest','\x20-\x20test_identifier=','set','test','inspect','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','KEY_TEST_RESULT_AT','fiOBO','asyncError','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','delete','bzQrw',',\x20totalBatches:\x20','jest-circus','TxaOp','ozBMR','getInstance','AhQsW','XgedY','NiXEq','2121777JxknFG','KEY_TEST_SCOPE','activeHooks','buildHookMapFromTest',',\x20scopes=','duration','warn','gpnpA','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','KEY_HOOK_FAILURE_TYPE','ALL','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=','title','storePendingHook','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','matchHookRegex','failure_reason','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','none','4032572SIUrRw','\x20screenshot\x20logs\x20for\x20testId:\x20','\x20attachments','ZsZLd','getFileName','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','\x22\x20hook','KEY_HOOK_NAME','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','getRef','\x20&\x20hookState=','../state/hookState.js','KEY_HOOKS_FINISHED','HXXun','sMuiR','KEY_TEST_RERUN_NAME','KEY_HOOK_LAST_FINISHED','kind','isJestInternalHook','POST','KEY_TEST_ATTACHMENTS','Assert','KEY_TEST_TAGS','getAllPendingHookTestIds','hook_type','hook_id','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','endedAt',',\x20hookState=','BCbar','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','DhBBH','KEY_EVENT_STARTED_AT','testFrameworkVersion','test_run_id','afterAll','KEY_TEST_FRAMEWORK_NAME','KEY_TEST_FAILURE_TYPE','toISOString','test_run_uuid',',\x20result=','map',':testAnalyticsId','parse','getPendingHooks','AssertionError','error','test_identifier','browserstackPlatformIndex',',\x20filePath=','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','hasPendingHooks',',\x20hook_run_uuid=','mkIeQ','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','FLFbB','addPendingHook','UnhandledError','241150GwoVMC','QMcmp','CIlZH','rELYt',',\x20testId=','psJOz','../../../helpers/test-observability/utils','\x20(testIdentifier),\x20result=','keys','logCreatedEvent','testUUID','../grpcClient','toString','RyYGi','exports','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending',',\x20error:\x20','toUpperCase','KEY_TEST_STARTED_AT','parent','KEY_TEST_SCOPES','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','ZFWnA','SVHmD','HZDEL','createContext',',\x20response=','KEY_EVENT_ENDED_AT','EwnxE','processPendingHooks',',\x20failureReason=','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','pid','KEY_TEST_UUID','file_name','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','BEFORE_ALL',',\x20failureType=','RMmEa','fmlih','1289708FVgWAB','workerInfo','\x20-\x20testId:\x20','LTouL','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','UmLtr','\x20(testIdentifier),\x20hookType=','findIndex','KEY_TEST_RESULT','mCDNq','sendLogCreatedEvent','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType=','\x20to\x20','getCurrentInstanceName','KEY_HOOKS_STARTED','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','getJestFailureReason','stack-trace','errorsDetailed','getTestFrameworksVersions','WhUuJ','message','trackHookEvent','testData',',\x20testFramework=','PRE','getJestTestName','join','split','KEY_TEST_NAME','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20',',\x20storing\x20as\x20pending\x20hook','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=','nkLEl','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','SKVOI',',\x20state=','missing','fVjdf','KEY_TEST_ID','length','Unknown\x20Test','hookUUID','getJestTestIdentifier','KEY_HOOK_RESULT','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','file','tKQPV',',\x20hookId=','YpFvP','getJestTestFilePath','hookData','replace','KEY_CUSTOM_TAGS','setActiveHook','runHooks','createTestFrameworkEventPayload',',\x20screenshotLogs:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','instance','trackJestInstance','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20','oWfcc','getId','hghFd','../TestInfo.js','scopes','forEach','substring','GTAPi','parseJestTestResult','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','KEY_TEST_LOGS','getCurrentHookState','hwxLj','KEY_TEST_FRAMEWORK_VERSION','KEY_HOOK_FAILURE_REASON',',\x20argsKeys=','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','XdpeJ','8TfQtDS','./testFramework','vvXma','hooks','nwfVM','hookState','apply','slice','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','isArray','getAllData','eeVjS','KEY_TEST_META','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','get',',\x20hookUUID=','skip','HyojC','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','5RxFXIf','getJestTestTags','getActiveHook','rSZEO','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','ptWbj','trackJestInstance:\x20instance\x20already\x20exists','kOqQE','StXID','getRootParentFile','getTestFrameworks','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','originalTest','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','JestTestFramework','__bstackPlatformIndex','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','dAYlw','zRYEZ','xaMfl','testFrameworkState','UZTUJ','../state/testFrameworkState.js','__workerDetails','nuYzV'];a75_0x5110=function(){return _0xea6433;};return a75_0x5110();}(function(_0x3aae6f,_0xa2a53a){const _0x2bf6dd=a75_0x4695,_0x538761=_0x3aae6f();while(!![]){try{const _0xf31bb9=parseInt(_0x2bf6dd(0x219))/0x1+-parseInt(_0x2bf6dd(0x19c))/0x2+-parseInt(_0x2bf6dd(0x1c9))/0x3+-parseInt(_0x2bf6dd(0x1dd))/0x4*(-parseInt(_0x2bf6dd(0x119))/0x5)+-parseInt(_0x2bf6dd(0x169))/0x6+-parseInt(_0x2bf6dd(0x242))/0x7*(-parseInt(_0x2bf6dd(0x105))/0x8)+parseInt(_0x2bf6dd(0x138))/0x9;if(_0xf31bb9===_0xa2a53a)break;else _0x538761['push'](_0x538761['shift']());}catch(_0x2ff6fc){_0x538761['push'](_0x538761['shift']());}}}(a75_0x5110,0xa1a3c));const TestFramework=require(a75_0x377063(0x106)),TestFrameworkState=require(a75_0x377063(0x130)),HookState=require(a75_0x377063(0x1e9)),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a75_0x377063(0x17e)),CLIUtils=require(a75_0x377063(0x134)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a75_0x377063(0x18c)),{getManualUploadLogs,getMediaArtifactsLogs}=require('../../../helpers/helper.js'),{isInternalHook}=require(a75_0x377063(0x21f)),logger=createClassLogger(a75_0x377063(0x128)),{v4:uuidv4}=require(a75_0x377063(0x136)),util=require(a75_0x377063(0x158)),TestInfo=require(a75_0x377063(0xf6)),GrpcClient=require(a75_0x377063(0x224)),stackTrace=require(a75_0x377063(0x255));class JestTestFramework extends TestFramework{constructor(_0xdeefcd,_0x108e0a,_0x558705){const _0x18b78a=a75_0x377063;super(_0xdeefcd,_0x108e0a,_0x558705),this[_0x18b78a(0x1cb)]=new Map();}[a75_0x377063(0xea)](_0x39098c,_0x15b8bc,_0x3b80f0){const _0x2c5b6c=a75_0x377063,_0x384658={};_0x384658[_0x2c5b6c(0x14f)]=function(_0x110257,_0x42f1b8){return _0x110257||_0x42f1b8;};const _0xfa2659=_0x384658;if(_0xfa2659[_0x2c5b6c(0x14f)](!_0x39098c,!_0x15b8bc)){logger[_0x2c5b6c(0x1cf)](_0x2c5b6c(0x1e2)+_0x39098c+_0x2c5b6c(0x115)+_0x15b8bc);return;}!this['activeHooks'][_0x2c5b6c(0x161)](_0x39098c)&&this[_0x2c5b6c(0x1cb)][_0x2c5b6c(0x1b7)](_0x39098c,[]);const _0x4ea22f={'hookUUID':_0x15b8bc,'hookType':_0x3b80f0,'startedAt':new Date()[_0x2c5b6c(0x204)]()};this[_0x2c5b6c(0x1cb)]['get'](_0x39098c)['push'](_0x4ea22f),logger[_0x2c5b6c(0x1a3)](_0x2c5b6c(0x153)+_0x39098c+',\x20hookUUID='+_0x15b8bc+',\x20hookType='+_0x3b80f0+',\x20totalHooks='+this[_0x2c5b6c(0x1cb)][_0x2c5b6c(0x114)](_0x39098c)[_0x2c5b6c(0xdc)]);}[a75_0x377063(0x176)](_0x2d4928,_0x37b6a4){const _0xe4b6d=a75_0x377063,_0x16f1d7={};_0x16f1d7['gRFYO']=function(_0x1ec566,_0x16da71){return _0x1ec566||_0x16da71;},_0x16f1d7[_0xe4b6d(0x17f)]=function(_0x48cc0d,_0x2c4a24){return _0x48cc0d!==_0x2c4a24;},_0x16f1d7[_0xe4b6d(0x12b)]=function(_0x26e188,_0x280520){return _0x26e188===_0x280520;};const _0x31b913=_0x16f1d7;if(_0x31b913['gRFYO'](!_0x2d4928,!_0x37b6a4)){logger[_0xe4b6d(0x1cf)](_0xe4b6d(0x137)+_0x2d4928+',\x20hookUUID='+_0x37b6a4);return;}if(this[_0xe4b6d(0x1cb)][_0xe4b6d(0x161)](_0x2d4928)){const _0x2b13c1=this[_0xe4b6d(0x1cb)][_0xe4b6d(0x114)](_0x2d4928),_0x425850=_0x2b13c1[_0xe4b6d(0x24a)](_0x5c4f33=>_0x5c4f33[_0xe4b6d(0xde)]===_0x37b6a4);_0x31b913[_0xe4b6d(0x17f)](_0x425850,-0x1)?(_0x2b13c1['splice'](_0x425850,0x1),logger[_0xe4b6d(0x1a3)](_0xe4b6d(0x183)+_0x2d4928+',\x20hookUUID='+_0x37b6a4+_0xe4b6d(0x185)+_0x2b13c1['length']),_0x31b913[_0xe4b6d(0x12b)](_0x2b13c1['length'],0x0)&&this['activeHooks'][_0xe4b6d(0x1bf)](_0x2d4928)):logger[_0xe4b6d(0x1a3)](_0xe4b6d(0xfc)+_0x2d4928+_0xe4b6d(0x115)+_0x37b6a4);}}[a75_0x377063(0x11b)](_0x4bb616){const _0x50ba9c=a75_0x377063,_0x54d103={};_0x54d103[_0x50ba9c(0x12f)]=function(_0x435878,_0x4e5e64){return _0x435878>_0x4e5e64;},_0x54d103['GTAPi']=function(_0xfbfd8c,_0x5f57d9){return _0xfbfd8c-_0x5f57d9;};const _0x129119=_0x54d103;if(!_0x4bb616)return null;if(this['activeHooks'][_0x50ba9c(0x161)](_0x4bb616)){const _0x288448=this[_0x50ba9c(0x1cb)][_0x50ba9c(0x114)](_0x4bb616);if(_0x129119[_0x50ba9c(0x12f)](_0x288448['length'],0x0)){const _0x4b3324=_0x288448[_0x129119[_0x50ba9c(0xfa)](_0x288448[_0x50ba9c(0xdc)],0x1)];return logger['debug']('[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier='+_0x4bb616+',\x20hookUUID='+_0x4b3324[_0x50ba9c(0xde)]+',\x20hookType='+_0x4b3324[_0x50ba9c(0x184)]),_0x4b3324;}}return null;}async['trackEvent'](_0xfd35e6,_0x5d160c,_0x40e2b2={}){const _0x29f984=a75_0x377063,_0x1359b2={};_0x1359b2[_0x29f984(0xda)]=_0x29f984(0x103),_0x1359b2[_0x29f984(0x104)]=function(_0x571227,_0x30525c){return _0x571227===_0x30525c;},_0x1359b2[_0x29f984(0x1c0)]=function(_0x9435b2,_0x176e51){return _0x9435b2||_0x176e51;},_0x1359b2[_0x29f984(0x230)]=_0x29f984(0x125),_0x1359b2['FLXJq']=function(_0x4803ad,_0x5b9d58){return _0x4803ad===_0x5b9d58;};const _0x41da3a=_0x1359b2;logger[_0x29f984(0x1a3)](_0x29f984(0x112)+_0xfd35e6+_0x29f984(0x1fa)+_0x5d160c+_0x29f984(0x102)+Object['keys'](_0x40e2b2)[_0x29f984(0x25f)](',')),await super[_0x29f984(0x1a8)](_0xfd35e6,_0x5d160c,_0x40e2b2);const _0x568c21=this[_0x29f984(0x13b)](_0xfd35e6,_0x5d160c,_0x40e2b2);if(!_0x568c21){logger[_0x29f984(0x1a3)](_0x41da3a[_0x29f984(0xda)]);return;}try{let _0xfbe482,_0x556d4b,_0x4fc728;switch(_0xfd35e6){case TestFrameworkState[_0x29f984(0x15b)]:_0xfbe482=_0x40e2b2[_0x29f984(0x1b8)];const _0x4c4cee={};_0x4c4cee['depth']=0x2,_0x4c4cee[_0x29f984(0x18a)]=0x3,logger['debug']('[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState='+_0x5d160c+',\x20testData='+util[_0x29f984(0x1b9)](_0xfbe482,_0x4c4cee)),_0x4fc728=this[_0x29f984(0xdf)](_0xfbe482),_0x556d4b=null,logger[_0x29f984(0x1a3)](_0x29f984(0xe1)+_0x4fc728+_0x29f984(0x1a9));if(_0x41da3a[_0x29f984(0x104)](_0x5d160c,HookState[_0x29f984(0x25d)])){logger[_0x29f984(0x1a3)](_0x29f984(0x10d)+_0x4fc728);const _0x4222db={};_0x4222db[_0x29f984(0x223)]=_0x556d4b,_0x4222db[_0x29f984(0x25b)]=_0xfbe482,_0x4222db[_0x29f984(0x143)]=_0x4fc728;const _0x4875f1=this[_0x29f984(0x1b5)](_0x4222db),_0x122b6e={};_0x122b6e['depth']=0x2,_0x122b6e[_0x29f984(0x18a)]=0x3,logger[_0x29f984(0x1a3)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20'+util['inspect'](_0x4875f1,_0x122b6e)),_0x568c21[_0x29f984(0x164)](_0x4875f1),logger['debug'](_0x29f984(0x146)+_0x4fc728),await this[_0x29f984(0x237)](_0x568c21,_0x4fc728);}else{if(_0x41da3a['XdpeJ'](_0x5d160c,HookState[_0x29f984(0x1f1)])){logger[_0x29f984(0x1a3)](_0x29f984(0x198)+_0x4fc728);const _0x4b6a17=_0x568c21['getAllData']()[_0x29f984(0x114)](_0x4fc728);logger[_0x29f984(0x1a3)](_0x29f984(0x1ab)+util[_0x29f984(0x1b9)](Object['keys'](_0x41da3a[_0x29f984(0x1c0)](_0x4b6a17,{}))));_0x4b6a17&&_0x4b6a17[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]?logger[_0x29f984(0x1a3)](_0x29f984(0x266)+Object['keys'](_0x4b6a17[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']])[_0x29f984(0xdc)]+'\x20files'):logger[_0x29f984(0x1a3)](_0x41da3a['ZFWnA']);const _0x23b860=_0x40e2b2[_0x29f984(0x126)]||null,_0xce48d8={};_0xce48d8['testUUID']=_0x556d4b,_0xce48d8[_0x29f984(0x25b)]=_0xfbe482,_0xce48d8[_0x29f984(0x143)]=_0x4fc728,_0xce48d8['originalTest']=_0x23b860;const _0x55e283=this[_0x29f984(0xfb)](_0xce48d8),_0x5cf863={};_0x5cf863['depth']=0x2,_0x5cf863[_0x29f984(0x18a)]=0x3,logger[_0x29f984(0x1a3)](_0x29f984(0x173)+util[_0x29f984(0x1b9)](_0x55e283,_0x5cf863)),_0x568c21[_0x29f984(0x164)](_0x55e283),logger[_0x29f984(0x1a3)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20'+_0x4fc728),await this[_0x29f984(0x237)](_0x568c21,_0x4fc728);}}break;case TestFrameworkState['LOG_REPORT']:if(_0x41da3a[_0x29f984(0x19b)](_0x5d160c,HookState[_0x29f984(0x1f1)])){const _0x33e574={};_0x33e574[_0x29f984(0x13c)]=0x2,logger['debug'](_0x29f984(0x1d1)+util[_0x29f984(0x1b9)](_0x40e2b2,_0x33e574)),await this[_0x29f984(0x24d)](_0x568c21,_0xfd35e6,_0x40e2b2);}break;default:if(CLIUtils[_0x29f984(0x1d9)](_0xfd35e6[_0x29f984(0x225)]()['split']('.')[0x1])){const _0x2d8a3f={};_0x2d8a3f[_0x29f984(0x13c)]=0x2,_0x2d8a3f['maxArrayLength']=0x3,logger[_0x29f984(0x1a3)](_0x29f984(0x264)+_0xfd35e6+_0x29f984(0x1fa)+_0x5d160c+_0x29f984(0x179)+util[_0x29f984(0x1b9)](_0x40e2b2[_0x29f984(0xe7)],_0x2d8a3f));const _0x19b03c=await this['trackHookEvent'](_0x568c21,_0xfd35e6,_0x5d160c,_0x40e2b2),_0x5e72b7={};_0x5e72b7[_0x29f984(0x13c)]=0x2,_0x5e72b7['maxArrayLength']=0x3,logger['debug'](_0x29f984(0x1db)+util[_0x29f984(0x1b9)](_0x19b03c,_0x5e72b7)),_0x568c21[_0x29f984(0x164)](_0x19b03c);}else logger[_0x29f984(0x1a3)](_0x29f984(0x113)+_0xfd35e6+_0x29f984(0x1e8)+_0x5d160c);break;}logger['debug'](_0x29f984(0x22f)+_0xfd35e6+_0x29f984(0x1fa)+_0x5d160c);}catch(_0x31f1c5){logger['error'](_0x29f984(0x253)+_0xfd35e6+_0x29f984(0x1fa)+_0x5d160c+_0x29f984(0x16d)+util[_0x29f984(0x148)](_0x31f1c5));}_0x40e2b2[_0x29f984(0xef)]=_0x568c21,await this['runHooks'](_0x568c21,_0xfd35e6,_0x5d160c,_0x40e2b2);}[a75_0x377063(0xdf)](_0x5261ee){const _0x1387b0=a75_0x377063,_0x5c21bc={};_0x5c21bc[_0x1387b0(0x258)]=_0x1387b0(0x1f8);const _0x8eed3e=_0x5c21bc;if(_0x5261ee&&(_0x5261ee['id']||_0x5261ee[_0x1387b0(0x136)])){const _0x432ada=_0x5261ee['id']||_0x5261ee[_0x1387b0(0x136)];return logger[_0x1387b0(0x1a3)](_0x1387b0(0x1d8)+_0x432ada+'\x22\x20from\x20testData'),_0x432ada;}return logger[_0x1387b0(0x1a3)](_0x8eed3e[_0x1387b0(0x258)]),process[_0x1387b0(0x23a)]+_0x1387b0(0x208);}['resolveInstance'](_0x3957fa,_0x2ae7f3,_0x3d8588={}){const _0x143bae=a75_0x377063;let _0x4e00bd=null;return _0x4e00bd=TestFramework[_0x143bae(0x1ad)](),!_0x4e00bd?(logger[_0x143bae(0x1a3)]('[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state='+_0x3957fa),this[_0x143bae(0xf0)](_0x3957fa,_0x3d8588),_0x4e00bd=TestFramework[_0x143bae(0x1ad)](),logger[_0x143bae(0x1a3)](_0x143bae(0x1e6)+!!_0x4e00bd+_0x143bae(0x16c)+_0x4e00bd?.['getContext']()?.['getId']())):logger[_0x143bae(0x1a3)](_0x143bae(0x19a)+_0x4e00bd['getContext']()?.[_0x143bae(0xf4)]()),_0x4e00bd;}[a75_0x377063(0xf0)](_0x250edf,_0x1f37f1){const _0x272cad=a75_0x377063,_0x4f5f1e={};_0x4f5f1e['BCbar']=_0x272cad(0x11f);const _0x26665e=_0x4f5f1e;if(TestFramework['getTrackedInstance']()){logger[_0x272cad(0x1a3)](_0x26665e[_0x272cad(0x1fb)]);return;}const _0x4fc15d=CLIUtils[_0x272cad(0x250)](),_0xe30e10=TrackedInstance[_0x272cad(0x233)](_0x4fc15d);let _0x313e7e=null;logger[_0x272cad(0x1a3)]('trackJestInstance:\x20created\x20instance\x20for\x20target='+_0x4fc15d+_0x272cad(0x268)+_0x250edf),_0x313e7e=new TestFrameworkInstance(_0xe30e10,this[_0x272cad(0x123)](),this[_0x272cad(0x257)](),_0x250edf,HookState['NONE']),TestFramework[_0x272cad(0x181)](_0xe30e10,_0x313e7e),logger[_0x272cad(0x1a3)](_0x272cad(0x11d)+_0xe30e10[_0x272cad(0xf4)]()+_0x272cad(0x1a2)+_0x4fc15d+_0x272cad(0x25c)+this[_0x272cad(0x123)]()[0x0]+_0x272cad(0x159)+this[_0x272cad(0x257)]()[this[_0x272cad(0x123)]()[0x0]]);}[a75_0x377063(0x1b5)](_0x643f6){const _0x3a2391=a75_0x377063,_0x149020={};_0x149020['wuJBV']=function(_0x5ea006,_0x397425){return _0x5ea006||_0x397425;},_0x149020['SKVOI']=_0x3a2391(0x1d7);const _0x1176a2=_0x149020,{testUUID:_0x35b2f5,testData:_0x2546d4,testId:_0x9e2fa7}=_0x643f6;if(_0x1176a2['wuJBV'](!_0x2546d4,!_0x9e2fa7))return logger['debug'](_0x1176a2[_0x3a2391(0x267)]),{};const _0x5395cb=this['getTestFrameworks']()[0x0],_0x37692a=this[_0x3a2391(0x257)](),_0x394174={};_0x394174[_0x3a2391(0x13c)]=0x2,_0x394174['maxArrayLength']=0x3,logger['debug'](_0x3a2391(0x239)+util[_0x3a2391(0x1b9)](_0x2546d4,_0x394174));const _0x10d92f=_0x2546d4?.[_0x3a2391(0xf7)]||[],_0x1b2282=this[_0x3a2391(0x25e)](_0x2546d4),_0x420fe1=this['getJestTestFilePath'](_0x2546d4),_0x2a7680=_0x2546d4['fn']?_0x2546d4['fn'][_0x3a2391(0x225)]():_0x2546d4?.[_0x3a2391(0x1b0)]?_0x2546d4[_0x3a2391(0x1b0)][_0x3a2391(0x175)]['toString']():null,_0x4d19e0=this[_0x3a2391(0x11a)](_0x2546d4),_0x35e4b8={[TestFrameworkConstants[_0x3a2391(0x202)]]:_0x5395cb,[TestFrameworkConstants[_0x3a2391(0x100)]]:_0x37692a[_0x5395cb],[TestFrameworkConstants[_0x3a2391(0xfd)]]:[],[TestFrameworkConstants[_0x3a2391(0x1ea)]]:{},[TestFrameworkConstants[_0x3a2391(0x251)]]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x3a2391(0x15d)],[TestFrameworkConstants[_0x3a2391(0x1b3)]]:_0x1b2282,[TestFrameworkConstants[_0x3a2391(0x187)]]:_0x420fe1,[TestFrameworkConstants[_0x3a2391(0xdb)]]:_0x9e2fa7,[TestFrameworkConstants[_0x3a2391(0x261)]]:_0x1b2282,[TestFrameworkConstants[_0x3a2391(0x155)]]:_0x420fe1,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x2a7680,[TestFrameworkConstants[_0x3a2391(0x1f4)]]:_0x4d19e0,[TestFrameworkConstants[_0x3a2391(0x22c)]]:_0x2546d4[_0x3a2391(0x1aa)]||new Date()[_0x3a2391(0x204)](),[TestFrameworkConstants[_0x3a2391(0x1ca)]]:_0x10d92f[0x0]||'',[TestFrameworkConstants[_0x3a2391(0x22e)]]:_0x10d92f,[TestFrameworkConstants[_0x3a2391(0x1ed)]]:_0x1b2282,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x3a2391(0x111)]]:{}};_0x2546d4[_0x3a2391(0x133)]&&(_0x35e4b8[TestFrameworkConstants[_0x3a2391(0x171)]]=_0x2546d4[_0x3a2391(0x133)]);logger[_0x3a2391(0x1a3)](_0x3a2391(0x1a1)+_0x1b2282+_0x3a2391(0x21d)+_0x9e2fa7+_0x3a2391(0x162)+JSON['stringify'](_0x4d19e0)+_0x3a2391(0x1cd)+util[_0x3a2391(0x1b9)](_0x10d92f)+_0x3a2391(0x20f)+_0x420fe1);const _0x27df2a={};return _0x27df2a[_0x9e2fa7]=_0x35e4b8,_0x27df2a;}[a75_0x377063(0xfb)](_0x12935f){const _0x529f33=a75_0x377063,_0x3c6f84={'jXRTo':function(_0x2fc9c7,_0x566c9b){return _0x2fc9c7===_0x566c9b;},'yVcsf':_0x529f33(0x201),'FUiHb':'beforeAll','rSZEO':_0x529f33(0x1d3),'nuYzV':_0x529f33(0x166),'RMmEa':function(_0x1d04e6,_0x4592fe){return _0x1d04e6||_0x4592fe;},'oWfcc':_0x529f33(0x18f),'SVHmD':_0x529f33(0x14e),'hghFd':function(_0x138b10,_0x2abc5f){return _0x138b10>_0x2abc5f;},'goEaT':_0x529f33(0x180),'QMjQD':_0x529f33(0x116),'eeVjS':'skipped','SnaFX':_0x529f33(0x17b),'NsafV':function(_0x2a4eec,_0x2df3c6){return _0x2a4eec!==_0x2df3c6;},'kBtRO':function(_0xd6e0e4,_0x5c4764,_0xc8da3a,_0x20959a){return _0xd6e0e4(_0x5c4764,_0xc8da3a,_0x20959a);},'PGGMs':function(_0x472eb0,_0x299d28){return _0x472eb0>_0x299d28;},'DVMaS':function(_0x18e2dc,_0x5c42e9){return _0x18e2dc>_0x5c42e9;},'kOqQE':_0x529f33(0x124),'xaMfl':function(_0x2c2ca5,_0x1bb948){return _0x2c2ca5>_0x1bb948;},'zdYxc':function(_0x3942b0,_0x703450){return _0x3942b0===_0x703450;}},{testUUID:_0x32727e,testData:_0x38f21d,testId:_0x25ff87}=_0x12935f;if(_0x3c6f84[_0x529f33(0x240)](!_0x38f21d,!_0x25ff87))return logger[_0x529f33(0x1a3)](_0x3c6f84[_0x529f33(0xf3)]),{};const _0x2b7843=this[_0x529f33(0x13b)](TestFrameworkState['TEST'],HookState[_0x529f33(0x1f1)]),_0xeeeab8=_0x2b7843[_0x529f33(0x10f)]()[_0x529f33(0x114)](_0x25ff87),_0x48a916=_0x3c6f84['RMmEa'](_0xeeeab8,{}),_0x5b202c=_0x48a916?_0x48a916[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{},_0x426034=_0x48a916[TestFrameworkConstants[_0x529f33(0x1f2)]];logger[_0x529f33(0x1a3)](_0x529f33(0x156)+(_0x426034?Object[_0x529f33(0x221)](_0x426034)[_0x529f33(0xdc)]:0x0)+_0x529f33(0x1df));let _0x321c10=_0x3c6f84[_0x529f33(0x231)];if(_0x38f21d['result'])_0x321c10=_0x38f21d[_0x529f33(0x168)];else{if(_0x38f21d['errorsDetailed']&&_0x3c6f84[_0x529f33(0xf5)](_0x38f21d['errorsDetailed'][_0x529f33(0xdc)],0x0))_0x321c10=_0x3c6f84[_0x529f33(0x19f)];else _0x3c6f84['jXRTo'](_0x38f21d['status'],_0x3c6f84['QMjQD'])||_0x3c6f84[_0x529f33(0x17a)](_0x38f21d['status'],_0x3c6f84[_0x529f33(0x110)])?_0x321c10=_0x3c6f84[_0x529f33(0x110)]:_0x321c10=_0x3c6f84['SnaFX'];}const _0x34132c={..._0x48a916,[TestFrameworkConstants[_0x529f33(0x24b)]]:_0x321c10,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x38f21d['finished_at']||new Date()[_0x529f33(0x204)](),[TestFrameworkConstants[_0x529f33(0x1bb)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x529f33(0xe9)]]:_0x5b202c,[TestFrameworkConstants['KEY_LOGS']]:_0x48a916[TestFrameworkConstants[_0x529f33(0x157)]]||[],[TestFrameworkConstants['KEY_TEST_META']]:{}};if(_0x3c6f84['jXRTo'](_0x321c10,_0x3c6f84[_0x529f33(0x19f)])&&_0x38f21d[_0x529f33(0x256)]){const _0x504cb0=this[_0x529f33(0x254)](_0x38f21d),_0x29e838=this['getJestFailureType'](_0x38f21d),_0x539dc7=this['getJestFailureData'](_0x38f21d);_0x34132c[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]=_0x29e838,_0x34132c[TestFrameworkConstants[_0x529f33(0x170)]]=_0x504cb0,_0x34132c[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x539dc7;}_0x3c6f84[_0x529f33(0x150)](_0x38f21d[_0x529f33(0x1ce)],undefined)&&(_0x34132c[TestFrameworkConstants['KEY_TEST_DURATION']]=_0x38f21d['duration']);_0x38f21d[_0x529f33(0x133)]&&(_0x34132c[TestFrameworkConstants[_0x529f33(0x171)]]=_0x38f21d[_0x529f33(0x133)]);const _0xf4d889=_0xeeeab8?_0xeeeab8[TestFrameworkConstants[_0x529f33(0x1f2)]]||{}:{},_0x11e33a=_0xeeeab8?_0xeeeab8[TestFrameworkConstants[_0x529f33(0x23b)]]:_0x32727e,_0xb4312e=_0x3c6f84[_0x529f33(0x15c)](getManualUploadLogs,_0xf4d889,_0x11e33a,_0x25ff87);if(_0x3c6f84['PGGMs'](_0xb4312e[_0x529f33(0xdc)],0x0)){const _0x551074=_0x34132c[TestFrameworkConstants[_0x529f33(0x157)]]||[];_0x34132c[TestFrameworkConstants[_0x529f33(0x157)]]=[..._0x551074,..._0xb4312e];}const _0x3271e5=_0x48a916[TestFrameworkConstants['KEY_HOOKS_FINISHED']]||{},_0x4971a9=_0x48a916[TestFrameworkConstants[_0x529f33(0x251)]]||{},_0x429865={..._0x3271e5},_0x160c2d=_0x429865;Object[_0x529f33(0x221)](_0x4971a9)['forEach'](_0x5b579a=>{const _0x1d8c66=_0x529f33;!_0x160c2d[_0x5b579a]&&(_0x160c2d[_0x5b579a]=[]);const _0x5baab4=new Set((_0x160c2d[_0x5b579a]||[])[_0x1d8c66(0x207)](_0x23ea3d=>_0x23ea3d[TestFrameworkConstants[_0x1d8c66(0x177)]]||_0x23ea3d[_0x1d8c66(0x1f7)]));(_0x4971a9[_0x5b579a]||[])['forEach'](_0x474ef3=>{const _0x3c62d7=_0x1d8c66,_0x1fb03c=_0x474ef3[TestFrameworkConstants[_0x3c62d7(0x177)]]||_0x474ef3['hook_id'];if(!_0x5baab4[_0x3c62d7(0x161)](_0x1fb03c)){const _0x51d602={..._0x474ef3},_0x2bda9=_0x51d602;!_0x2bda9[TestFrameworkConstants[_0x3c62d7(0x235)]]&&!_0x2bda9['event_ended_at']&&(_0x2bda9[TestFrameworkConstants[_0x3c62d7(0x235)]]=new Date()['toISOString']()),!_0x2bda9[TestFrameworkConstants[_0x3c62d7(0xe0)]]&&!_0x2bda9['hook_result']&&(_0x2bda9[TestFrameworkConstants[_0x3c62d7(0xe0)]]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x160c2d[_0x5b579a][_0x3c62d7(0x13d)](_0x2bda9);}});});if(_0x12935f['originalTest']){this['mapTestHooks'](_0x12935f[_0x529f33(0x126)]);const _0x561d9e=this[_0x529f33(0x1cc)](_0x12935f[_0x529f33(0x126)]),_0x504eb1=this['getHooksForTest'](_0x12935f[_0x529f33(0x126)]);_0x504eb1[_0x529f33(0xf8)](_0x147f02=>{const _0x5e10d9=_0x529f33,_0x2f2ad0=_0x561d9e['get'](_0x147f02);if(_0x2f2ad0&&(_0x3c6f84[_0x5e10d9(0x17a)](_0x2f2ad0[_0x5e10d9(0x1a5)],_0x3c6f84['yVcsf'])||_0x3c6f84[_0x5e10d9(0x17a)](_0x2f2ad0[_0x5e10d9(0x1a5)],_0x3c6f84['FUiHb']))){const _0x26f587=_0x2f2ad0['type'][_0x5e10d9(0x22b)]()[_0x5e10d9(0xe8)](_0x3c6f84[_0x5e10d9(0x11c)],_0x3c6f84[_0x5e10d9(0x132)]),_0x2a5139=_0x26f587;!_0x160c2d[_0x2a5139]&&(_0x160c2d[_0x2a5139]=[]);const _0x2d1e53=_0x160c2d[_0x2a5139]['find'](_0x18cc8e=>(_0x18cc8e[TestFrameworkConstants[_0x5e10d9(0x177)]]||_0x18cc8e[_0x5e10d9(0x1f7)])===_0x147f02);!_0x2d1e53&&_0x160c2d[_0x2a5139][_0x5e10d9(0x13d)]({'key':_0x2a5139,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x147f02,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x5e10d9(0x160)],[TestFrameworkConstants[_0x5e10d9(0x1fe)]]:new Date()[_0x5e10d9(0x204)](),[TestFrameworkConstants[_0x5e10d9(0x235)]]:new Date()[_0x5e10d9(0x204)](),[TestFrameworkConstants[_0x5e10d9(0x151)]]:[],[TestFrameworkConstants[_0x5e10d9(0x1e4)]]:_0x2f2ad0[_0x5e10d9(0x141)]||_0x2f2ad0['type']+_0x5e10d9(0x1a4),[TestFrameworkConstants[_0x5e10d9(0xe9)]]:_0x5b202c});}});}if(_0x38f21d[_0x529f33(0x108)]&&_0x3c6f84[_0x529f33(0x193)](_0x38f21d[_0x529f33(0x108)][_0x529f33(0xdc)],0x0))_0x34132c[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x38f21d['hooks'],logger[_0x529f33(0x1a3)](_0x3c6f84[_0x529f33(0x120)]);else _0x3c6f84[_0x529f33(0x12d)](Object['keys'](_0x160c2d)[_0x529f33(0xdc)],0x0)&&(_0x34132c[TestFrameworkConstants[_0x529f33(0x1ea)]]=_0x160c2d,logger[_0x529f33(0x1a3)]('[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes='+Object[_0x529f33(0x221)](_0x160c2d)[_0x529f33(0x25f)](',')));const _0x23f3c3=this[_0x529f33(0x25e)](_0x38f21d);logger[_0x529f33(0x1a3)](_0x529f33(0x16e)+_0x23f3c3+',\x20testId='+_0x25ff87+_0x529f33(0x220)+_0x321c10+_0x529f33(0x145)+_0x38f21d['duration']);_0x3c6f84[_0x529f33(0x1b1)](_0x321c10,_0x3c6f84[_0x529f33(0x19f)])&&logger['debug'](_0x529f33(0x12a)+_0x25ff87+_0x529f33(0x23f)+_0x34132c[TestFrameworkConstants[_0x529f33(0x203)]]+',\x20failureReason='+_0x34132c[TestFrameworkConstants[_0x529f33(0x170)]]?.[_0x529f33(0xf9)](0x0,0xc8));const _0x4d9036={};return _0x4d9036[_0x25ff87]=_0x34132c,_0x4d9036;}[a75_0x377063(0x18e)](_0x4a45d1){const _0x2e2775=a75_0x377063,_0x3fea9b={};_0x3fea9b[_0x2e2775(0x248)]=function(_0x163cbe,_0x1d6a50){return _0x163cbe!==_0x1d6a50;},_0x3fea9b[_0x2e2775(0x226)]=function(_0x4ffc29,_0x4d9e32){return _0x4ffc29!==_0x4d9e32;},_0x3fea9b[_0x2e2775(0x1c4)]='ROOT_DESCRIBE_BLOCK';const _0x5756bf=_0x3fea9b,_0x361d46={};_0x361d46[_0x2e2775(0x13c)]=0x2,_0x361d46[_0x2e2775(0x18a)]=0x3,logger[_0x2e2775(0x1a3)](_0x2e2775(0x139)+util[_0x2e2775(0x1b9)](_0x4a45d1,_0x361d46));const _0xc20cac=[];if(_0x4a45d1&&_0x4a45d1[_0x2e2775(0x22d)]){let _0x327ef2=_0x4a45d1[_0x2e2775(0x22d)];while(_0x327ef2&&_0x327ef2[_0x2e2775(0x141)]&&_0x5756bf['UmLtr'](_0x327ef2[_0x2e2775(0x141)],'')&&_0x5756bf[_0x2e2775(0x226)](_0x327ef2[_0x2e2775(0x141)],_0x5756bf[_0x2e2775(0x1c4)])){_0xc20cac['push'](_0x327ef2[_0x2e2775(0x141)]),_0x327ef2=_0x327ef2['parent'];}}return _0xc20cac['reverse']();}[a75_0x377063(0x25e)](_0x3392c3){const _0x50f631=a75_0x377063,_0x38eb4d={};_0x38eb4d['DhBBH']=_0x50f631(0xdd);const _0x4c99a5=_0x38eb4d;if(_0x3392c3[_0x50f631(0x141)])return _0x3392c3[_0x50f631(0x141)];if(_0x3392c3[_0x50f631(0x1d5)])return _0x3392c3['title'];return _0x4c99a5[_0x50f631(0x1fd)];}[a75_0x377063(0x11a)](_0x5452d1){const _0x1f7e2e=a75_0x377063,_0x4a0ec7=[];if(_0x5452d1[_0x1f7e2e(0x190)]&&Array[_0x1f7e2e(0x10e)](_0x5452d1[_0x1f7e2e(0x190)]))return _0x5452d1[_0x1f7e2e(0x190)]['map'](_0x418332=>_0x418332[_0x1f7e2e(0x17c)]('@')?_0x418332['substr'](0x1):_0x418332);const _0x3c02df=this[_0x1f7e2e(0x25e)](_0x5452d1),_0x22f6da=_0x3c02df['match'](/@(\w+)/g);if(_0x22f6da)return _0x22f6da[_0x1f7e2e(0x207)](_0x227027=>_0x227027['slice'](0x1));return _0x5452d1[_0x1f7e2e(0xf7)]&&Array['isArray'](_0x5452d1['scopes'])&&_0x5452d1[_0x1f7e2e(0xf7)][_0x1f7e2e(0xf8)](_0x4d9d09=>{const _0xcedb5c=_0x4d9d09['match'](/@(\w+)/g);_0xcedb5c&&_0xcedb5c['forEach'](_0x59b79c=>{const _0x399ecc=a75_0x4695,_0x5a88aa=_0x59b79c[_0x399ecc(0x10c)](0x1);!_0x4a0ec7[_0x399ecc(0x15a)](_0x5a88aa)&&_0x4a0ec7[_0x399ecc(0x13d)](_0x5a88aa);});}),_0x4a0ec7;}[a75_0x377063(0xe6)](_0x11e7a3){const _0x147798=a75_0x377063,_0x5afece={'fmlih':function(_0x17a3ef,_0x28fe5c){return _0x17a3ef(_0x28fe5c);},'ZNuzB':_0x147798(0x255)};if(_0x11e7a3[_0x147798(0x23c)])return _0x11e7a3[_0x147798(0x23c)];if(_0x11e7a3[_0x147798(0x1bd)]){const _0x41f760=_0x5afece[_0x147798(0x241)](require,_0x5afece['ZNuzB']);try{const _0x401040=_0x41f760[_0x147798(0x209)](_0x11e7a3['asyncError']);if(_0x401040[0x0]&&_0x401040[0x0][_0x147798(0x1e1)])return _0x401040[0x0][_0x147798(0x1e1)]();}catch(_0x29af80){logger[_0x147798(0x1a3)](_0x147798(0xf2)+util[_0x147798(0x148)](_0x29af80));}}return null;}[a75_0x377063(0x254)](_0x6e26dc){const _0x55529c=a75_0x377063,_0x12a3f7={};_0x12a3f7[_0x55529c(0x21b)]=function(_0x1c6b6e,_0x11235e){return _0x1c6b6e>_0x11235e;},_0x12a3f7['TxaOp']=_0x55529c(0x189);const _0x67fe78=_0x12a3f7;if(_0x6e26dc[_0x55529c(0x256)]&&_0x67fe78[_0x55529c(0x21b)](_0x6e26dc[_0x55529c(0x256)][_0x55529c(0xdc)],0x0))return util[_0x55529c(0x1b9)](_0x6e26dc['errorsDetailed'][0x0]);if(_0x6e26dc[_0x55529c(0x1da)])return _0x6e26dc['failure_reason'];return _0x67fe78[_0x55529c(0x1c3)];}[a75_0x377063(0x14c)](_0x2b6b92){const _0x3ffb02=a75_0x377063,_0x3be82e={};_0x3be82e[_0x3ffb02(0x1d0)]=_0x3ffb02(0x1f3),_0x3be82e['dqowW']=_0x3ffb02(0x20b),_0x3be82e[_0x3ffb02(0x24c)]=_0x3ffb02(0x218);const _0x7ebc84=_0x3be82e,_0x282e58=this[_0x3ffb02(0x254)](_0x2b6b92);if(_0x282e58&&_0x282e58[_0x3ffb02(0x15a)](_0x7ebc84[_0x3ffb02(0x1d0)]))return _0x7ebc84['dqowW'];return _0x7ebc84['mCDNq'];}['getJestFailureData'](_0x3b0f5c){const _0x4211a9=a75_0x377063,_0x1488e6={'rBMPs':function(_0x3958c,_0x3e4890){return _0x3958c(_0x3e4890);},'HXXun':'../../../helpers/test-observability/utils','UCizv':function(_0x3e45eb,_0x505f0f){return _0x3e45eb!==_0x505f0f;},'jNJJv':_0x4211a9(0x1b8)},{failureData:_0x36752f}=_0x1488e6['rBMPs'](require,_0x1488e6[_0x4211a9(0x1eb)]),_0x504900=[];return _0x1488e6[_0x4211a9(0x1ae)](_0x3b0f5c['errorsDetailed'],undefined)&&_0x504900[_0x4211a9(0x13d)](_0x3b0f5c[_0x4211a9(0x256)],_0x1488e6['jNJJv']),_0x36752f[_0x4211a9(0x10b)](null,_0x504900);}async[a75_0x377063(0x25a)](_0x53c65b,_0x282b0c,_0xc76525,_0x535a9d){const _0xd6f0de=a75_0x377063,_0x51437b={'lrauN':_0xd6f0de(0x1ac),'KCxtK':function(_0x4687f9){return _0x4687f9();},'WnFEf':function(_0x59276c,_0x8e4417){return _0x59276c in _0x8e4417;},'fiOBO':function(_0x539d2e,_0x2515b9){return _0x539d2e===_0x2515b9;},'nkLEl':function(_0x318d0f,_0x33859c){return _0x318d0f>_0x33859c;},'TTTOo':_0xd6f0de(0x180),'neqRR':_0xd6f0de(0x17b),'BuWxt':_0xd6f0de(0x229),'FLFbB':function(_0x480654,_0x22c82c){return _0x480654>_0x22c82c;},'BaXUR':function(_0x2669a6,_0x56ddea){return _0x2669a6===_0x56ddea;},'EwnxE':function(_0x8fc990,_0x55718e){return _0x8fc990!==_0x55718e;}},{hookData:_0x1c6f5b}=_0x535a9d,_0x23b816=_0xc76525[_0xd6f0de(0x225)](),_0x269318=_0x282b0c[_0xd6f0de(0x225)](),_0x5741cf={};_0x5741cf[_0xd6f0de(0x13c)]=0x2,_0x5741cf['maxArrayLength']=0x3,logger[_0xd6f0de(0x1a3)](_0xd6f0de(0x192)+_0x269318+_0xd6f0de(0x1fa)+_0x23b816+_0xd6f0de(0x179)+util[_0xd6f0de(0x1b9)](_0x1c6f5b,_0x5741cf));if(!_0x1c6f5b)return logger['debug'](_0x51437b['lrauN']),{};const _0x4b8f02=_0x1c6f5b[_0xd6f0de(0x136)]||_0x1c6f5b[_0xd6f0de(0x152)]||_0x51437b[_0xd6f0de(0x19e)](uuidv4),_0x5ae6=_0x1c6f5b[_0xd6f0de(0x200)]||this[_0xd6f0de(0xdf)](_0x1c6f5b),_0x2a7584=_0x282b0c['toString']()[_0xd6f0de(0x260)]('.')[0x1],_0x1ede8c=_0x53c65b[_0xd6f0de(0x10f)]()[_0xd6f0de(0x114)](_0x5ae6),_0x16c37d=_0x1ede8c?_0x1ede8c[TestFrameworkConstants[_0xd6f0de(0xe9)]]||{}:{};logger[_0xd6f0de(0x1a3)](_0xd6f0de(0x247)+_0x4b8f02+_0xd6f0de(0x21d)+_0x5ae6+_0xd6f0de(0x249)+_0x2a7584+_0xd6f0de(0x1fa)+_0x23b816);if(!_0x1ede8c)return logger[_0xd6f0de(0x1a3)](_0xd6f0de(0x174)+_0x5ae6+_0xd6f0de(0x263)),this[_0xd6f0de(0x1d6)](_0x53c65b,_0x5ae6,_0x282b0c,_0xc76525,_0x535a9d),{};let _0x1dae77=_0x1ede8c[TestFrameworkConstants[_0xd6f0de(0x251)]];!_0x1dae77&&(_0x1dae77={});!_0x51437b[_0xd6f0de(0x17d)](_0x2a7584,_0x1dae77)&&(_0x1dae77[_0x2a7584]=[]);let _0x33fcfe=_0x1ede8c[TestFrameworkConstants[_0xd6f0de(0x1ea)]];!_0x33fcfe&&(_0x33fcfe={});!_0x51437b['WnFEf'](_0x2a7584,_0x33fcfe)&&(_0x33fcfe[_0x2a7584]=[]);const _0x5177eb={[_0x5ae6]:{[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x1dae77,[TestFrameworkConstants[_0xd6f0de(0x1ea)]]:_0x33fcfe,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0xd6f0de(0x123)]()[0x0]||'',[TestFrameworkConstants[_0xd6f0de(0x100)]]:this['getTestFrameworksVersions']()[this[_0xd6f0de(0x123)]()[0x0]]||''}};if(_0x51437b['fiOBO'](_0xc76525,HookState[_0xd6f0de(0x25d)])){const _0x4129a9={'key':_0x2a7584,[TestFrameworkConstants[_0xd6f0de(0x177)]]:_0x4b8f02,[TestFrameworkConstants[_0xd6f0de(0xe0)]]:TestFrameworkConstants[_0xd6f0de(0x160)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x1c6f5b['started_at']||new Date()['toISOString'](),[TestFrameworkConstants[_0xd6f0de(0x151)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x1c6f5b[_0xd6f0de(0x141)]||_0x1c6f5b[_0xd6f0de(0x1f6)]||_0x2a7584,[TestFrameworkConstants[_0xd6f0de(0xe9)]]:_0x16c37d};_0x1dae77[_0x2a7584][_0xd6f0de(0x13d)](_0x4129a9),_0x5177eb[_0x5ae6][TestFrameworkConstants[_0xd6f0de(0x142)]]=_0x2a7584;const _0x5ca45e={};_0x5ca45e[_0xd6f0de(0x13c)]=0x2,logger[_0xd6f0de(0x1a3)](_0xd6f0de(0x165)+_0x2a7584+_0xd6f0de(0xe4)+_0x4b8f02+',\x20testId='+_0x5ae6+_0xd6f0de(0x149)+util[_0xd6f0de(0x1b9)](_0x4129a9,_0x5ca45e));}else{if(_0x51437b[_0xd6f0de(0x1bc)](_0xc76525,HookState[_0xd6f0de(0x1f1)])){const _0x1f9176=_0x1c6f5b[_0xd6f0de(0x168)]||(_0x1c6f5b['errorsDetailed']&&_0x51437b[_0xd6f0de(0x265)](_0x1c6f5b['errorsDetailed'][_0xd6f0de(0xdc)],0x0)?_0x51437b[_0xd6f0de(0x1a0)]:_0x51437b[_0xd6f0de(0x16a)]),_0x3f65e6=_0x1dae77[_0x2a7584]||[];logger[_0xd6f0de(0x1a3)](_0xd6f0de(0x1d4)+_0x2a7584+_0xd6f0de(0x21d)+_0x5ae6+_0xd6f0de(0x206)+_0x1f9176+',\x20hooksListLength='+_0x3f65e6[_0xd6f0de(0xdc)]);if(_0x51437b[_0xd6f0de(0x1bc)](_0x3f65e6[_0xd6f0de(0xdc)],0x0)&&_0x51437b[_0xd6f0de(0x1bc)](_0x282b0c,TestFrameworkState[_0xd6f0de(0x23e)]))return logger[_0xd6f0de(0x1a3)](_0x51437b[_0xd6f0de(0x13f)]),this[_0xd6f0de(0x1d6)](_0x53c65b,_0x5ae6,_0x282b0c,_0xc76525,_0x535a9d),{};if(_0x51437b[_0xd6f0de(0x216)](_0x3f65e6[_0xd6f0de(0xdc)],0x0)){const _0x3089b8=_0x3f65e6[_0xd6f0de(0x140)]();_0x51437b[_0xd6f0de(0x18d)](_0x1f9176,_0x51437b[_0xd6f0de(0x1a0)])&&_0x1c6f5b[_0xd6f0de(0x256)]?(_0x3089b8[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=this['getJestFailureType'](_0x1c6f5b),_0x3089b8[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=this[_0xd6f0de(0x254)](_0x1c6f5b),_0x3089b8[TestFrameworkConstants['KEY_HOOK_FAILURE']]=this['getJestFailureData'](_0x1c6f5b),logger[_0xd6f0de(0x1a3)](_0xd6f0de(0x1e5)+_0x2a7584+_0xd6f0de(0x23f)+_0x3089b8[TestFrameworkConstants[_0xd6f0de(0x1d2)]]+_0xd6f0de(0x238)+_0x3089b8[TestFrameworkConstants[_0xd6f0de(0x101)]]?.[_0xd6f0de(0xf9)](0x0,0xc8))):_0x3089b8[TestFrameworkConstants[_0xd6f0de(0xe0)]]=_0x51437b[_0xd6f0de(0x16a)];_0x51437b[_0xd6f0de(0x236)](_0x1f9176,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x3089b8[TestFrameworkConstants[_0xd6f0de(0xe0)]]=_0x1f9176);_0x3089b8[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x1c6f5b[_0xd6f0de(0x195)]||new Date()[_0xd6f0de(0x204)](),_0x3089b8[TestFrameworkConstants[_0xd6f0de(0xe9)]]=_0x16c37d;const _0x22cf43=_0x3089b8[TestFrameworkConstants[_0xd6f0de(0x177)]];!_0x33fcfe[_0x2a7584]&&(_0x33fcfe[_0x2a7584]=[]);_0x33fcfe[_0x2a7584][_0xd6f0de(0x13d)](_0x3089b8),_0x5177eb[_0x5ae6][TestFrameworkConstants[_0xd6f0de(0x1ee)]]=_0x2a7584;const _0x2c2e0e={};_0x2c2e0e[_0xd6f0de(0x13c)]=0x2,logger[_0xd6f0de(0x1a3)](_0xd6f0de(0x24e)+_0x2a7584+_0xd6f0de(0xe4)+_0x22cf43+_0xd6f0de(0x206)+_0x1f9176+_0xd6f0de(0x149)+util[_0xd6f0de(0x1b9)](_0x3089b8,_0x2c2e0e));}}}return _0x5177eb;}[a75_0x377063(0xec)](_0x3f4cc4){const _0x20d5a1=a75_0x377063,_0x23c6b6={};_0x23c6b6[_0x20d5a1(0xe3)]='base64';const _0x2be440=_0x23c6b6;try{const _0x186165=_0x3f4cc4[_0x20d5a1(0x1b8)]?this[_0x20d5a1(0xdf)](_0x3f4cc4[_0x20d5a1(0x1b8)]):_0x3f4cc4[_0x20d5a1(0xe7)][_0x20d5a1(0x200)],_0x5c4fff=_0x3f4cc4[_0x20d5a1(0xef)],_0x520bf8=_0x5c4fff['getContext'](),_0xbe984=_0x5c4fff[_0x20d5a1(0x10f)]()[_0x20d5a1(0x114)](_0x186165);if(!_0xbe984)return logger[_0x20d5a1(0x1a3)](_0x20d5a1(0x228)+_0x186165),{};const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x338506=this[_0x20d5a1(0x123)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x2a85fe=this[_0x20d5a1(0x257)]()[this[_0x20d5a1(0x123)]()[0x0]]||'',[TestFrameworkConstants[_0x20d5a1(0x22c)]]:_0x130577='',[TestFrameworkConstants[_0x20d5a1(0x147)]]:_0x29f6b7=''}=_0xbe984,_0x139267=_0x5c4fff['getCurrentTestState']()['toString']()[_0x20d5a1(0x260)]('.')[0x1],_0x8fb0a9=_0x5c4fff[_0x20d5a1(0xfe)]()['toString']()[_0x20d5a1(0x260)]('.')[0x1],_0x53b95e=global?.[_0x20d5a1(0x131)]?.[_0x20d5a1(0x243)]?.['parallelIndex']||global[_0x20d5a1(0x129)]||0x0,_0x5ce660=_0x5c4fff[_0x20d5a1(0x1e7)](),_0x5618f3=Buffer['from'](JSON[_0x20d5a1(0x1a6)](_0xbe984))[_0x20d5a1(0x225)](_0x2be440['tKQPV']),_0x18b834={'hash':_0x520bf8[_0x20d5a1(0xf4)](),'threadId':_0x520bf8[_0x20d5a1(0x15f)]()[_0x20d5a1(0x225)](),'processId':_0x520bf8['getProcessId']()['toString']()},_0x4772ac={};_0x4772ac['platformIndex']=_0x53b95e,_0x4772ac['testFrameworkName']=_0x338506,_0x4772ac[_0x20d5a1(0x1ff)]=_0x2a85fe,_0x4772ac[_0x20d5a1(0x12e)]=_0x139267,_0x4772ac[_0x20d5a1(0x10a)]=_0x8fb0a9,_0x4772ac[_0x20d5a1(0x188)]=_0x130577,_0x4772ac[_0x20d5a1(0x1f9)]=_0x29f6b7,_0x4772ac[_0x20d5a1(0x136)]=_0x5ce660,_0x4772ac[_0x20d5a1(0x144)]=_0x5618f3,_0x4772ac['executionContext']=_0x18b834,_0x4772ac[_0x20d5a1(0x20d)]=_0x186165;const _0x43a68e=_0x4772ac;return _0x43a68e;}catch(_0x550005){return logger[_0x20d5a1(0x20c)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util['format'](_0x550005)),{};}}async[a75_0x377063(0x24d)](_0x4e106f,_0x4ad5d0,_0x38f99f){const _0x1c9bfe=a75_0x377063,_0x5a1322={'LTouL':function(_0x1da8b1,_0x23347d){return _0x1da8b1+_0x23347d;},'nwfVM':_0x1c9bfe(0x269),'zRYEZ':_0x1c9bfe(0x1dc),'ufVJi':function(_0x10e48f,_0x2783bb){return _0x10e48f>_0x2783bb;},'YpFvP':function(_0xe7de27,_0x4207ba,_0x572271,_0x4bc2fa){return _0xe7de27(_0x4207ba,_0x572271,_0x4bc2fa);},'NiXEq':function(_0x5e7b46,_0x24222c){return _0x5e7b46-_0x24222c;},'dXAlF':function(_0x1fc124,_0x36ac5d){return _0x1fc124===_0x36ac5d;},'HyojC':function(_0xeb9aa8,_0xda0fd3){return _0xeb9aa8/_0xda0fd3;},'XtSJu':function(_0x12532d,_0x3d7b7e){return _0x12532d<_0x3d7b7e;},'dtydQ':function(_0x270da6,_0x5488ba){return _0x270da6*_0x5488ba;},'jAlgt':function(_0x345dc8,_0x3229e2){return _0x345dc8>_0x3229e2;}};try{const _0x489ac1=_0x38f99f['testUUID']||_0x38f99f[_0x1c9bfe(0x143)],_0x5e08a6=Array['from'](_0x4e106f[_0x1c9bfe(0x10f)]()[_0x1c9bfe(0x221)]()),_0x296e7f=_0x4e106f[_0x1c9bfe(0x10f)]()[_0x1c9bfe(0x114)](_0x489ac1);if(!_0x296e7f){logger[_0x1c9bfe(0x1a3)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20'+_0x489ac1);return;}const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0xf5a69f='',[TestFrameworkConstants[_0x1c9bfe(0x100)]]:_0x45fbf8=''}=_0x296e7f;let _0x1ad80b=[];_0x296e7f&&_0x296e7f[TestFrameworkConstants[_0x1c9bfe(0x157)]]&&Array[_0x1c9bfe(0x10e)](_0x296e7f[TestFrameworkConstants[_0x1c9bfe(0x157)]])?(_0x1ad80b=_0x296e7f[TestFrameworkConstants[_0x1c9bfe(0x157)]]||[],logger[_0x1c9bfe(0x1a3)](_0x1c9bfe(0x262)+_0x1ad80b[_0x1c9bfe(0xdc)]+'\x20logs\x20for\x20testId:\x20'+_0x489ac1),_0x4e106f['addMultipleEntries']({[_0x489ac1]:{[TestFrameworkConstants[_0x1c9bfe(0x157)]]:[],[TestFrameworkConstants[_0x1c9bfe(0x202)]]:this[_0x1c9bfe(0x123)]()[0x0]||'',[TestFrameworkConstants[_0x1c9bfe(0x100)]]:this['getTestFrameworksVersions']()[this[_0x1c9bfe(0x123)]()[0x0]]||''}}),logger[_0x1c9bfe(0x1a3)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20'+_0x489ac1)):logger['debug'](_0x1c9bfe(0x210)+_0x489ac1);logger[_0x1c9bfe(0x1a3)](_0x1c9bfe(0x18b)+_0x1ad80b[_0x1c9bfe(0xdc)]+_0x1c9bfe(0x178)+_0x489ac1);const _0xedaa2c=_0x1ad80b[_0x1c9bfe(0x172)](_0x511cef=>_0x511cef[_0x1c9bfe(0x1ef)]===_0x1c9bfe(0x1b2));_0x5a1322['ufVJi'](_0xedaa2c[_0x1c9bfe(0xdc)],0x0)&&(logger[_0x1c9bfe(0x1a3)](_0x1c9bfe(0x1be)+_0xedaa2c[_0x1c9bfe(0xdc)]+_0x1c9bfe(0x1de)+_0x489ac1),_0xedaa2c[_0x1c9bfe(0xf8)]((_0x587fa8,_0xc1206e)=>{const _0x296abe=_0x1c9bfe;logger['debug'](_0x296abe(0xee)+_0x5a1322[_0x296abe(0x245)](_0xc1206e,0x1)+'/'+_0xedaa2c[_0x296abe(0xdc)]+_0x296abe(0x1b6)+(_0x587fa8['test_identifier']||_0x5a1322[_0x296abe(0x109)])+_0x296abe(0x199)+(_0x587fa8[_0x296abe(0x205)]||_0x5a1322[_0x296abe(0x109)])+_0x296abe(0x213)+(_0x587fa8['hook_run_uuid']||_0x5a1322[_0x296abe(0x12c)])+',\x20messageLength='+(_0x587fa8[_0x296abe(0x259)]?.[_0x296abe(0xdc)]||0x0));}));const _0x5b5e5c=_0x296e7f[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x479019=_0x5a1322[_0x1c9bfe(0xe5)](getMediaArtifactsLogs,_0x5b5e5c,null,_0x489ac1),_0x5d629e=(_0x1ad80b||[])[_0x1c9bfe(0x167)](_0x479019||[]),_0x6bdcd0=_0xedaa2c?.[_0x1c9bfe(0xdc)]||0x0,_0xd0ddf0=_0x5a1322[_0x1c9bfe(0x1c8)](_0x1ad80b?.[_0x1c9bfe(0xdc)]||0x0,_0x6bdcd0);logger['debug'](_0x1c9bfe(0x182)+_0x489ac1+_0x1c9bfe(0x163)+_0xd0ddf0+_0x1c9bfe(0xed)+_0x6bdcd0+_0x1c9bfe(0x15e)+(_0x479019?.['length']||0x0)+_0x1c9bfe(0x194)+_0x5d629e[_0x1c9bfe(0xdc)]);if(!_0x5d629e||_0x5a1322['dXAlF'](_0x5d629e['length'],0x0)){logger[_0x1c9bfe(0x1a3)](_0x1c9bfe(0x215)+_0x489ac1);return;}const _0x1efff3=0x28,_0x30efaa=Math['ceil'](_0x5a1322[_0x1c9bfe(0x117)](_0x5d629e['length'],_0x1efff3));for(let _0xb68b59=0x0;_0x5a1322['XtSJu'](_0xb68b59,_0x30efaa);_0xb68b59++){const _0xfe3139=_0x5a1322[_0x1c9bfe(0x16b)](_0xb68b59,_0x1efff3),_0x1c4f45=_0x5a1322[_0x1c9bfe(0x245)](_0xfe3139,_0x1efff3),_0x57895e=_0x5d629e['slice'](_0xfe3139,_0x1c4f45),_0x1c9e28=global?.[_0x1c9bfe(0x20e)]??0x0,_0x39432f={'platformIndex':_0x1c9e28,'logs':_0x57895e,'testFrameworkName':_0xf5a69f,'testFrameworkVersion':_0x45fbf8,'testFrameworkState':_0x4ad5d0[_0x1c9bfe(0x225)]()[_0x1c9bfe(0x260)]('.')[0x1]},_0x2d2098={};_0x2d2098['depth']=0x3,_0x2d2098[_0x1c9bfe(0x18a)]=0x5,logger[_0x1c9bfe(0x1a3)](_0x1c9bfe(0x1ba)+_0x5a1322[_0x1c9bfe(0x245)](_0xb68b59,0x1)+'/'+_0x30efaa+'\x20-\x20testId:\x20'+_0x489ac1+',\x20logsInBatch:\x20'+_0x57895e[_0x1c9bfe(0xdc)]+',\x20platformIndex:\x20'+_0x1c9e28+',\x20payload:\x20'+util[_0x1c9bfe(0x1b9)](_0x39432f,_0x2d2098));const _0x243d31=await GrpcClient[_0x1c9bfe(0x1c5)]()[_0x1c9bfe(0x222)](_0x39432f);logger['debug']('[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20'+_0x5a1322['LTouL'](_0xb68b59,0x1)+'/'+_0x30efaa+_0x1c9bfe(0x244)+_0x489ac1+_0x1c9bfe(0x234)+util[_0x1c9bfe(0x1b9)](_0x243d31));}_0x479019&&_0x5a1322['jAlgt'](_0x479019[_0x1c9bfe(0xdc)],0x0)&&_0x296e7f[TestFrameworkConstants[_0x1c9bfe(0x1f2)]]&&_0x4e106f[_0x1c9bfe(0x164)]({[_0x489ac1]:{[TestFrameworkConstants[_0x1c9bfe(0x1f2)]]:{},[TestFrameworkConstants[_0x1c9bfe(0x202)]]:this[_0x1c9bfe(0x123)]()[0x0]||'',[TestFrameworkConstants[_0x1c9bfe(0x100)]]:this['getTestFrameworksVersions']()[this['getTestFrameworks']()[0x0]]||''}}),logger[_0x1c9bfe(0x1a3)](_0x1c9bfe(0x127)+_0x489ac1+_0x1c9bfe(0x1c1)+_0x30efaa);}catch(_0x949393){logger[_0x1c9bfe(0x20c)](_0x1c9bfe(0x23d)+(_0x38f99f[_0x1c9bfe(0x223)]||_0x38f99f[_0x1c9bfe(0x143)])+_0x1c9bfe(0x22a)+util[_0x1c9bfe(0x148)](_0x949393));}}[a75_0x377063(0x1d6)](_0x2ec105,_0x5460be,_0x184c2a,_0x409084,_0x23c768){const _0x5c6429=a75_0x377063,_0x3a57a0={};_0x3a57a0[_0x5c6429(0x214)]=function(_0x2df03b,_0x533c82){return _0x2df03b===_0x533c82;},_0x3a57a0[_0x5c6429(0x21c)]=_0x5c6429(0x135);const _0x3aa2f8=_0x3a57a0,{hookData:_0x3654ee}=_0x23c768,_0x264455={'testId':_0x5460be,'testFrameworkState':_0x184c2a,'hookState':_0x409084,'args':_0x23c768,'timestamp':new Date()['toISOString']()};if(_0x3aa2f8[_0x5c6429(0x214)](_0x184c2a,TestFrameworkState[_0x5c6429(0x23e)])&&_0x3654ee){const _0x168363={};_0x168363[_0x5c6429(0x197)]=_0x3654ee[_0x5c6429(0x23c)]||_0x3654ee['location'],_0x168363[_0x5c6429(0x13e)]=_0x3654ee['scope']||_0x3654ee[_0x5c6429(0xf7)]&&_0x3654ee[_0x5c6429(0xf7)][0x0]||'',_0x168363[_0x5c6429(0x184)]=_0x3aa2f8['rELYt'],_0x264455[_0x5c6429(0x154)]=_0x168363,logger[_0x5c6429(0x1a3)](_0x5c6429(0x252)+_0x5460be+_0x5c6429(0x1a7)+_0x264455[_0x5c6429(0x154)]['filePath']+_0x5c6429(0x14d)+_0x264455[_0x5c6429(0x154)][_0x5c6429(0x13e)]);}_0x2ec105[_0x5c6429(0x217)](_0x5460be,_0x264455),logger['debug']('Stored\x20pending\x20hook\x20for\x20testId:\x20'+_0x5460be+_0x5c6429(0x191)+_0x184c2a+_0x5c6429(0x13a)+_0x409084);}async[a75_0x377063(0x237)](_0x34fead,_0x31f18d){const _0x3f3345=a75_0x377063,_0x323823={};_0x323823[_0x3f3345(0x21e)]=function(_0x42e3a0,_0x52ccae){return _0x42e3a0>_0x52ccae;},_0x323823[_0x3f3345(0x121)]=function(_0x30d603,_0x21b70f){return _0x30d603===_0x21b70f;},_0x323823[_0x3f3345(0x107)]=function(_0x2a6eb5,_0x3b5bf2){return _0x2a6eb5===_0x3b5bf2;},_0x323823['hwxLj']=function(_0x3d2f59,_0x3b04c9){return _0x3d2f59===_0x3b04c9;},_0x323823[_0x3f3345(0x11e)]=function(_0x70d389,_0x5b3a6b){return _0x70d389===_0x5b3a6b;},_0x323823[_0x3f3345(0x1ec)]=function(_0x2758e6,_0x2f932d){return _0x2758e6>_0x2f932d;},_0x323823[_0x3f3345(0x1c6)]=function(_0x55c194,_0x4c0e23){return _0x55c194===_0x4c0e23;},_0x323823[_0x3f3345(0x1e0)]=_0x3f3345(0xf1);const _0x5e24bc=_0x323823;if(_0x34fead[_0x3f3345(0x212)](_0x31f18d)){const _0x31abd0=_0x34fead[_0x3f3345(0x20a)](_0x31f18d);logger[_0x3f3345(0x1a3)]('Processing\x20'+_0x31abd0[_0x3f3345(0xdc)]+'\x20pending\x20hooks\x20for\x20testId:\x20'+_0x31f18d);for(const _0x3d26b0 of _0x31abd0){try{const _0x578704=await this['trackHookEvent'](_0x34fead,_0x3d26b0[_0x3f3345(0x12e)],_0x3d26b0[_0x3f3345(0x10a)],_0x3d26b0[_0x3f3345(0x14b)]);_0x578704&&_0x5e24bc[_0x3f3345(0x21e)](Object[_0x3f3345(0x221)](_0x578704)[_0x3f3345(0xdc)],0x0)&&_0x34fead[_0x3f3345(0x164)](_0x578704),await this['runHooks'](_0x34fead,_0x3d26b0[_0x3f3345(0x12e)],_0x3d26b0[_0x3f3345(0x10a)],_0x3d26b0[_0x3f3345(0x14b)]);}catch(_0x267f76){logger[_0x3f3345(0x20c)]('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x31f18d+_0x3f3345(0x22a)+_0x267f76);}}_0x34fead[_0x3f3345(0x14a)](_0x31f18d),logger[_0x3f3345(0x1a3)](_0x3f3345(0x118)+_0x31f18d);}const _0x4b02c5=_0x34fead['getAllData']()[_0x3f3345(0x114)](_0x31f18d);if(_0x4b02c5){const _0x5bb975=_0x4b02c5[TestFrameworkConstants[_0x3f3345(0x187)]]||_0x4b02c5[TestFrameworkConstants[_0x3f3345(0x155)]],_0x3b5332=_0x4b02c5[TestFrameworkConstants['KEY_TEST_SCOPE']]||_0x4b02c5[TestFrameworkConstants[_0x3f3345(0x22e)]]&&_0x4b02c5[TestFrameworkConstants[_0x3f3345(0x22e)]][0x0]||'';logger[_0x3f3345(0x1a3)]('[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20'+_0x5bb975+_0x3f3345(0x14d)+_0x3b5332);const _0x2211ad=_0x34fead[_0x3f3345(0x1f5)]();for(const _0x4954ff of _0x2211ad){if(_0x5e24bc[_0x3f3345(0x121)](_0x4954ff,_0x31f18d))continue;if(_0x34fead[_0x3f3345(0x212)](_0x4954ff)){const _0xec5b60=_0x34fead['getPendingHooks'](_0x4954ff);for(const _0x55cf8f of _0xec5b60){if(_0x5e24bc[_0x3f3345(0x107)](_0x55cf8f[_0x3f3345(0x12e)],TestFrameworkState[_0x3f3345(0x23e)])&&_0x55cf8f[_0x3f3345(0x154)]){const _0x1f25db=_0x55cf8f[_0x3f3345(0x154)][_0x3f3345(0x197)],_0x2798ae=_0x55cf8f[_0x3f3345(0x154)]['scope'];if(_0x5e24bc[_0x3f3345(0xff)](_0x1f25db,_0x5bb975)&&_0x5e24bc['ptWbj'](_0x2798ae,_0x3b5332)){logger[_0x3f3345(0x1a3)]('[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20'+_0x4954ff+_0x3f3345(0x186)+_0x31f18d+',\x20filePath:\x20'+_0x1f25db+_0x3f3345(0x14d)+_0x2798ae);_0x55cf8f[_0x3f3345(0x14b)]&&_0x55cf8f[_0x3f3345(0x14b)][_0x3f3345(0xe7)]&&(_0x55cf8f[_0x3f3345(0x14b)][_0x3f3345(0xe7)][_0x3f3345(0x200)]=_0x31f18d,logger[_0x3f3345(0x1a3)](_0x3f3345(0x1b4)+_0x4954ff+_0x3f3345(0x24f)+_0x31f18d));try{const _0x2dccb0=await this[_0x3f3345(0x25a)](_0x34fead,_0x55cf8f[_0x3f3345(0x12e)],_0x55cf8f[_0x3f3345(0x10a)],_0x55cf8f[_0x3f3345(0x14b)]);_0x2dccb0&&_0x5e24bc[_0x3f3345(0x1ec)](Object['keys'](_0x2dccb0)['length'],0x0)&&_0x34fead[_0x3f3345(0x164)](_0x2dccb0);await this[_0x3f3345(0xeb)](_0x34fead,_0x55cf8f[_0x3f3345(0x12e)],_0x55cf8f[_0x3f3345(0x10a)],_0x55cf8f[_0x3f3345(0x14b)]);const _0x2d2e22=_0x34fead[_0x3f3345(0x20a)](_0x4954ff)[_0x3f3345(0x172)](_0x2c0325=>_0x2c0325!==_0x55cf8f);if(_0x5e24bc['AhQsW'](_0x2d2e22['length'],0x0))_0x34fead[_0x3f3345(0x14a)](_0x4954ff);else{_0x34fead[_0x3f3345(0x14a)](_0x4954ff);for(const _0x132c85 of _0x2d2e22){_0x34fead[_0x3f3345(0x217)](_0x4954ff,_0x132c85);}}logger[_0x3f3345(0x1a3)](_0x5e24bc[_0x3f3345(0x1e0)]);}catch(_0x3e7ef7){logger[_0x3f3345(0x20c)]('[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20'+_0x31f18d+',\x20error:\x20'+_0x3e7ef7);}}}}}}}}[a75_0x377063(0x196)](_0x812043){const _0x361ec0=a75_0x377063,_0x4a0ac0={'XgedY':function(_0x584666){return _0x584666();}};if(!_0x812043||!_0x812043[_0x361ec0(0x22d)])return;_0x812043[_0x361ec0(0x22d)][_0x361ec0(0x108)]&&Array[_0x361ec0(0x10e)](_0x812043['parent'][_0x361ec0(0x108)])&&_0x812043[_0x361ec0(0x22d)]['hooks'][_0x361ec0(0xf8)](_0x5dd8b4=>{const _0x187f17=_0x361ec0;!_0x5dd8b4[_0x187f17(0x152)]&&!_0x5dd8b4['hookUUID']&&(_0x5dd8b4[_0x187f17(0x152)]=_0x4a0ac0[_0x187f17(0x1c7)](uuidv4),_0x5dd8b4['hookUUID']=_0x5dd8b4['hookAnalyticsId'],logger[_0x187f17(0x1a3)](_0x187f17(0x1fc)+_0x5dd8b4[_0x187f17(0x1a5)]+_0x187f17(0x115)+_0x5dd8b4['hookAnalyticsId']));}),this[_0x361ec0(0x196)](_0x812043['parent']);}[a75_0x377063(0x16f)](_0x43da96){const _0x6b9aa4=a75_0x377063,_0x118bdd={'ZUFtw':function(_0x21cc00,_0x2b3e18){return _0x21cc00(_0x2b3e18);}};if(!_0x43da96||!_0x43da96[_0x6b9aa4(0x22d)])return[];const _0x56f807=[];return _0x43da96['parent'][_0x6b9aa4(0x108)]&&Array['isArray'](_0x43da96[_0x6b9aa4(0x22d)][_0x6b9aa4(0x108)])&&_0x43da96[_0x6b9aa4(0x22d)][_0x6b9aa4(0x108)][_0x6b9aa4(0xf8)](_0x29d0f4=>{const _0x5d3259=_0x6b9aa4,_0x574608=_0x29d0f4[_0x5d3259(0x152)]||_0x29d0f4['hookUUID'];_0x574608&&!this[_0x5d3259(0x1f0)](_0x29d0f4)&&!_0x118bdd[_0x5d3259(0x1af)](isInternalHook,_0x29d0f4['fn'])&&_0x56f807[_0x5d3259(0x13d)](_0x574608);}),[..._0x56f807,...this[_0x6b9aa4(0x16f)](_0x43da96[_0x6b9aa4(0x22d)])];}['buildHookMapFromTest'](_0x522f12){const _0x5d76f1=a75_0x377063,_0x30f7f8={'HZDEL':function(_0x637f93,_0x2268f9){return _0x637f93(_0x2268f9);},'pFfiQ':_0x5d76f1(0x14e)},_0x4e2c99=new Map(),_0x39b529=_0x3e44f7=>{const _0x2b01cf=_0x5d76f1;if(!_0x3e44f7||!_0x3e44f7[_0x2b01cf(0x22d)])return;_0x3e44f7['parent']['hooks']&&Array['isArray'](_0x3e44f7[_0x2b01cf(0x22d)][_0x2b01cf(0x108)])&&_0x3e44f7['parent'][_0x2b01cf(0x108)][_0x2b01cf(0xf8)](_0x91599e=>{const _0x218f2c=_0x2b01cf,_0x12d3bc=_0x91599e[_0x218f2c(0x152)]||_0x91599e[_0x218f2c(0xde)];if(_0x12d3bc&&!this[_0x218f2c(0x1f0)](_0x91599e)&&!_0x30f7f8[_0x218f2c(0x232)](isInternalHook,_0x91599e['fn'])){const _0x1629a6={};_0x1629a6[_0x218f2c(0x1a5)]=_0x91599e[_0x218f2c(0x1a5)]||_0x30f7f8['pFfiQ'],_0x1629a6[_0x218f2c(0x141)]=_0x91599e[_0x218f2c(0x141)]||'\x22'+_0x91599e[_0x218f2c(0x1a5)]+_0x218f2c(0x1e3),_0x4e2c99['set'](_0x12d3bc,_0x1629a6);}}),_0x30f7f8[_0x2b01cf(0x232)](_0x39b529,_0x3e44f7[_0x2b01cf(0x22d)]);};return _0x30f7f8[_0x5d76f1(0x232)](_0x39b529,_0x522f12),_0x4e2c99;}['isJestInternalHook'](_0x181077){const _0x424f84=a75_0x377063,_0x22e3ec={};_0x22e3ec[_0x424f84(0x19d)]=_0x424f84(0x1c2),_0x22e3ec[_0x424f84(0x21a)]=_0x424f84(0x246);const _0x3c788b=_0x22e3ec;try{const _0x28dfc9=this[_0x424f84(0x122)](_0x181077);return _0x28dfc9&&_0x28dfc9[_0x424f84(0x15a)](_0x3c788b[_0x424f84(0x19d)]);}catch(_0x58973a){logger['debug'](_0x3c788b[_0x424f84(0x21a)]);}return![];}['getRootParentFile'](_0x47be33){const _0x5a494a=a75_0x377063;if(_0x47be33[_0x5a494a(0x1bd)])try{const _0x552de3=stackTrace['parse'](_0x47be33[_0x5a494a(0x1bd)]);return _0x552de3[0x0]?_0x552de3[0x0]['getFileName']():null;}catch(_0x981782){logger[_0x5a494a(0x1a3)](_0x5a494a(0x211)+util[_0x5a494a(0x148)](_0x981782));}if(_0x47be33[_0x5a494a(0xe2)])return _0x47be33[_0x5a494a(0xe2)];return null;}}function a75_0x4695(_0x3c00b5,_0x401d06){const _0x51101d=a75_0x5110();return a75_0x4695=function(_0x469588,_0x2f1ab0){_0x469588=_0x469588-0xda;let _0x33b417=_0x51101d[_0x469588];return _0x33b417;},a75_0x4695(_0x3c00b5,_0x401d06);}module[a75_0x377063(0x227)]=JestTestFramework;
1
+ function a75_0xfb0b(_0x5bad2a,_0x1d9ed7){const _0x1f3bdf=a75_0x1f3b();return a75_0xfb0b=function(_0xfb0be0,_0x295fb5){_0xfb0be0=_0xfb0be0-0xf7;let _0x5719cb=_0x1f3bdf[_0xfb0be0];return _0x5719cb;},a75_0xfb0b(_0x5bad2a,_0x1d9ed7);}const a75_0x490452=a75_0xfb0b;(function(_0x595e9d,_0x3add77){const _0x2d98d4=a75_0xfb0b,_0x53096=_0x595e9d();while(!![]){try{const _0x14b2d3=parseInt(_0x2d98d4(0x231))/0x1+parseInt(_0x2d98d4(0x10e))/0x2+-parseInt(_0x2d98d4(0x14c))/0x3+-parseInt(_0x2d98d4(0x278))/0x4*(parseInt(_0x2d98d4(0x1ea))/0x5)+parseInt(_0x2d98d4(0x1d6))/0x6*(parseInt(_0x2d98d4(0x28c))/0x7)+parseInt(_0x2d98d4(0x16c))/0x8+parseInt(_0x2d98d4(0x247))/0x9;if(_0x14b2d3===_0x3add77)break;else _0x53096['push'](_0x53096['shift']());}catch(_0x55abf7){_0x53096['push'](_0x53096['shift']());}}}(a75_0x1f3b,0xda47c));const TestFramework=require(a75_0x490452(0x15c)),TestFrameworkState=require(a75_0x490452(0x1ca)),HookState=require(a75_0x490452(0x219)),{createClassLogger}=require(a75_0x490452(0x259)),TestFrameworkInstance=require(a75_0x490452(0x1bb)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a75_0x490452(0x169)),TestFrameworkConstants=require(a75_0x490452(0x126)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a75_0x490452(0x1cd)),{isInternalHook}=require(a75_0x490452(0x28b)),logger=createClassLogger('JestTestFramework'),{v4:uuidv4}=require(a75_0x490452(0x185)),util=require(a75_0x490452(0x1e7)),TestInfo=require(a75_0x490452(0x146)),GrpcClient=require(a75_0x490452(0x1f1)),stackTrace=require(a75_0x490452(0x27f));function a75_0x1f3b(){const _0x3a2e1e=['[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','toISOString',',\x20currentTestId:\x20',',\x20totalLogs:\x20','qKWZx',',\x20payload:\x20','Jypfu','forEach',',\x20hookState=','ROOT_DESCRIBE_BLOCK','IRtyn','filePath','../../../helpers/classLogger.js','HMIEH','AZRGS','args','tNCKa','KEY_TEST_FRAMEWORK_NAME','code','concat','KEY_HOOKS_STARTED','VEbCV','result','createContext','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','status','type','ENBgq',',\x20result=','Processing\x20','test_run_id','getHooksForTest','KEY_TEST_ATTACHMENTS','duration','Vosyb','KEY_TEST_FRAMEWORK_VERSION','testId','UoCqM','getFileName','test_identifier','\x20(testIdentifier)','getJestFailureReason','4VshtHy','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','getJestTestName','startsWith','KEY_EVENT_STARTED_AT','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','WlKve','stack-trace',',\x20hookData=','getTestFrameworksVersions','errorsDetailed','UfafW',',\x20testId=','hasPendingHooks','MERXT','testFrameworkState','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','ceil','Assert','../../../helpers/test-observability/utils','7PsYzWT','xhVGx',',\x20error:\x20','SxCUS','\x20&\x20hookState=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','fcoHu','KEY_TEST_RESULT','slice','trackJestInstance:\x20created\x20instance\x20for\x20target=','join','AGtLO','message','FMHon','sendLogCreatedEvent','KEY_TEST_RETRY_OF',',\x20scope:\x20','uREVL','RGdum','depth','AssertionError',',\x20exception=','retryOf','Mjdbm','KEY_CUSTOM_TAGS','CLIGX','KEY_HOOK_LAST_FINISHED','zgwwm','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending',',\x20logsInBatch:\x20','KEY_TEST_DURATION','275768wrPuRB','KEY_TEST_ENDED_AT','getContext','CfPXz','parse','stringify','getRootParentFile',',\x20messageLength=','aOBFI','base64','[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20','includes','\x20to\x20','VEONc','beforeAll','trackJestInstance','\x20-\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState=',',\x20consoleLogs:\x20','pop','location','BENNG','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','./constants/testFrameworkConstants.js','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=','from','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','getJestTestScopes',',\x20hookUUID=','test_run_uuid','hooks','KEY_TEST_LOCATION','\x20logs\x20for\x20testId:\x20','KEY_TEST_SCOPES','scopes','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','browserstackPlatformIndex','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','matchHookRegex',',\x20hookType=','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','ulukh','fhotd','KEY_LOGS','failure_reason','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','failed','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','\x20attachments','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','njBAr','find','map','BhJNK','../TestInfo.js','MOSZO','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20','UJLhK','has','3663768KxwfQc','\x20files','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','tags','length','Mdwcl','hook_id','unknown','Error\x20in\x20createTestFrameworkEventPayload:\x20','KEY_TEST_FILE_PATH','KEY_TEST_CODE','file','addPendingHook','instance','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20','./testFramework','UzcgL','LOG_REPORT','KEY_TEST_RESULT_AT','runHooks','KEY_EVENT_ENDED_AT','logCreatedEvent',',\x20testData=','SsHuK','FJkwI','endedAt','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType=','oRAhi','../instances/trackedInstance.js','trackHookEvent','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','14050008qmksPX','buildHookMapFromTest',',\x20attachmentLogs:\x20',',\x20scopes=','weuNm',',\x20failureReason=','workerInfo','POST','hookAnalyticsId','UnhandledError','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','setActiveHook','none','name','title','WwzJG','Unknown\x20Test','\x20hook','error','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20','Bbrcu','getJestTestTags',',\x20storing\x20as\x20pending\x20hook','KEY_TEST_FAILURE_REASON','uuid','FwOLu','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','event_ended_at','asyncError','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20','KEY_TEST_RERUN_NAME','eventJson','tDkJh','parent','hookMetadata','QWjTS','ATzYN','setTrackedInstance',',\x20failureType=','NONE','\x22\x20hook','addMultipleEntries','getJestTestIdentifier','[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier=','jKelw','cqapT','mapTestHooks','substring','match','get','KEY_HOOK_LAST_STARTED','split','splice','finished_at','file_name','test','HhjHG','KEY_TEST_META','tvSlz','toString','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','scope','KEY_TEST_FAILURE_TYPE','UijUq','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','maxArrayLength','KSixj','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','dTfne','hook_type','fUXHL','KEY_HOOK_RESULT','KEY_AUTOMATE_SESSION_NAME','trackJestInstance:\x20instance\x20already\x20exists','delete','keys','kind',',\x20hooksListLength=','../instances/testFrameworkInstance.js','cQoSy','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType=',',\x20response=','[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData',',\x20screenshotLogs:\x20','hookState','getCurrentTestState',',\x20contextId=','LZhzB','getInstance','_ALL','skip','findIndex','../state/testFrameworkState.js',',\x20state=','removePendingHooks','../../../helpers/helper.js','getJestFailureType','UqdVF','passed','isJestInternalHook','KEY_TEST_ID','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','KEY_TEST_UUID','push','4777854pciDDi','getTrackedInstance','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','msZYS','testUUID','uqtog','isArray','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','hookUUID',',\x20version=','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','KEY_TEST_SCOPE','CWTwF',',\x20hookId=','JscSD','testData','parseJestTestResult','util','getId','PRE','3926495mqnkMX',',\x20totalHooks=','TEST_SCREENSHOT','DEFAULT_HOOK_RESULT','activeHooks','KEY_HOOK_FAILURE_TYPE','JzQOq','../grpcClient',',\x20platformIndex:\x20','inspect','soKNc','tbXxk',',\x20argsKeys=','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','exports','startedAt','GPfIC','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','started_at','\x20-\x20test_identifier=','KEY_HOOK_LOGS','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20',',\x20filePath:\x20','jest-circus','gLSAl','Stored\x20pending\x20hook\x20for\x20testId:\x20','vpEKq','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','pid','__workerDetails','resolveInstance','\x20(testIdentifier),\x20tags=','KEY_TEST_STARTED_AT','getAllData','\x22\x20from\x20testData','getRef','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','getJestFailureData','uizRc','hUdmS','Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20','getPendingHooks','KEY_HOOK_FAILURE','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','etnpS','KEY_TEST_TAGS','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','../state/hookState.js','Unknown\x20error',':testAnalyticsId','[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20','format','PSQON','afterAll','pjSEh','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','getAllPendingHookTestIds','removeActiveHook','KEY_HOOK_FAILURE_REASON','parseJestTest','TEST','filter','\x20pending\x20hooks\x20for\x20testId:\x20','KEY_HOOK_ID','debug','FXSkL','hookData',',\x20hook=','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20',',\x20filePath=','[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','141444WGwnzm','KEY_HOOKS_FINISHED','originalTest','hook_run_uuid','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','parallelIndex','\x20for\x20testId:\x20','syDhl','kdzYM','[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState=','getTestFrameworks','body','storePendingHook','rjzpP','xFBwC','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','set','BuejL','BEFORE_ALL','HYpqC','mwWuZ','processPendingHooks','618687LgLjcl',',\x20state:\x20','substr','hookType','ALL','createTestFrameworkEventPayload'];a75_0x1f3b=function(){return _0x3a2e1e;};return a75_0x1f3b();}class JestTestFramework extends TestFramework{constructor(_0x3ead3a,_0x3c0f1d,_0x121e5f){const _0x6de577=a75_0x490452;super(_0x3ead3a,_0x3c0f1d,_0x121e5f),this[_0x6de577(0x1ee)]=new Map();}[a75_0x490452(0x177)](_0x53008c,_0x411a03,_0x5770b1){const _0x2e9e5c=a75_0x490452,_0x53d6d9={};_0x53d6d9[_0x2e9e5c(0x100)]=function(_0x2a5749,_0x5646e8){return _0x2a5749||_0x5646e8;};const _0x1291bd=_0x53d6d9;if(_0x1291bd[_0x2e9e5c(0x100)](!_0x53008c,!_0x411a03)){logger['warn'](_0x2e9e5c(0x148)+_0x53008c+_0x2e9e5c(0x12b)+_0x411a03);return;}!this[_0x2e9e5c(0x1ee)]['has'](_0x53008c)&&this[_0x2e9e5c(0x1ee)]['set'](_0x53008c,[]);const _0x2562da={'hookUUID':_0x411a03,'hookType':_0x5770b1,'startedAt':new Date()[_0x2e9e5c(0x24e)]()};this[_0x2e9e5c(0x1ee)]['get'](_0x53008c)[_0x2e9e5c(0x1d5)](_0x2562da),logger['debug'](_0x2e9e5c(0x24d)+_0x53008c+_0x2e9e5c(0x12b)+_0x411a03+',\x20hookType='+_0x5770b1+_0x2e9e5c(0x1eb)+this['activeHooks']['get'](_0x53008c)[_0x2e9e5c(0x150)]);}[a75_0x490452(0x223)](_0x46d182,_0x4d9ac2){const _0x424ab0=a75_0x490452,_0x38c75c={};_0x38c75c[_0x424ab0(0x1af)]=function(_0x412200,_0x214380){return _0x412200||_0x214380;},_0x38c75c[_0x424ab0(0x111)]=function(_0x4fcc01,_0x28422c){return _0x4fcc01!==_0x28422c;},_0x38c75c[_0x424ab0(0xfa)]=function(_0x5f4dee,_0x360168){return _0x5f4dee===_0x360168;};const _0x90bc72=_0x38c75c;if(_0x90bc72[_0x424ab0(0x1af)](!_0x46d182,!_0x4d9ac2)){logger['warn'](_0x424ab0(0x141)+_0x46d182+_0x424ab0(0x12b)+_0x4d9ac2);return;}if(this[_0x424ab0(0x1ee)][_0x424ab0(0x14b)](_0x46d182)){const _0x5c3d92=this[_0x424ab0(0x1ee)][_0x424ab0(0x19e)](_0x46d182),_0x267606=_0x5c3d92[_0x424ab0(0x1c9)](_0x5cbf21=>_0x5cbf21[_0x424ab0(0x1de)]===_0x4d9ac2);_0x90bc72[_0x424ab0(0x111)](_0x267606,-0x1)?(_0x5c3d92[_0x424ab0(0x1a1)](_0x267606,0x1),logger[_0x424ab0(0x22a)](_0x424ab0(0x20e)+_0x46d182+_0x424ab0(0x12b)+_0x4d9ac2+',\x20remainingHooks='+_0x5c3d92[_0x424ab0(0x150)]),_0x90bc72[_0x424ab0(0xfa)](_0x5c3d92[_0x424ab0(0x150)],0x0)&&this[_0x424ab0(0x1ee)][_0x424ab0(0x1b7)](_0x46d182)):logger['debug'](_0x424ab0(0x198)+_0x46d182+_0x424ab0(0x12b)+_0x4d9ac2);}}['getActiveHook'](_0x144f1e){const _0x4cfb79=a75_0x490452,_0x3c1b4f={};_0x3c1b4f[_0x4cfb79(0x124)]=function(_0x39a394,_0x304116){return _0x39a394>_0x304116;},_0x3c1b4f[_0x4cfb79(0x244)]=function(_0x30fcee,_0x315d6c){return _0x30fcee-_0x315d6c;};const _0x209832=_0x3c1b4f;if(!_0x144f1e)return null;if(this[_0x4cfb79(0x1ee)]['has'](_0x144f1e)){const _0x379c1e=this[_0x4cfb79(0x1ee)][_0x4cfb79(0x19e)](_0x144f1e);if(_0x209832[_0x4cfb79(0x124)](_0x379c1e[_0x4cfb79(0x150)],0x0)){const _0xf8de86=_0x379c1e[_0x209832[_0x4cfb79(0x244)](_0x379c1e[_0x4cfb79(0x150)],0x1)];return logger[_0x4cfb79(0x22a)](_0x4cfb79(0x1e0)+_0x144f1e+',\x20hookUUID='+_0xf8de86[_0x4cfb79(0x1de)]+_0x4cfb79(0x136)+_0xf8de86[_0x4cfb79(0x24a)]),_0xf8de86;}}return null;}async['trackEvent'](_0x311a51,_0x2f3bed,_0x332725={}){const _0x22824f=a75_0x490452,_0x4a9aed={};_0x4a9aed[_0x22824f(0x164)]=_0x22824f(0x240),_0x4a9aed[_0x22824f(0x211)]=function(_0x44e35f,_0x4e0159){return _0x44e35f===_0x4e0159;},_0x4a9aed['WlKve']=function(_0x3cc7c1,_0x2d5d57){return _0x3cc7c1||_0x2d5d57;},_0x4a9aed['CLIGX']='[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND',_0x4a9aed[_0x22824f(0x1f4)]=function(_0x9b0b8f,_0x4d63ef){return _0x9b0b8f===_0x4d63ef;};const _0x425b23=_0x4a9aed;logger[_0x22824f(0x22a)](_0x22824f(0x1b0)+_0x311a51+_0x22824f(0x255)+_0x2f3bed+_0x22824f(0x1f6)+Object[_0x22824f(0x1b8)](_0x332725)['join'](',')),await super['trackEvent'](_0x311a51,_0x2f3bed,_0x332725);const _0x10c045=this[_0x22824f(0x208)](_0x311a51,_0x2f3bed,_0x332725);if(!_0x10c045){logger[_0x22824f(0x22a)](_0x425b23[_0x22824f(0x164)]);return;}try{let _0x21818b,_0x153d30,_0xde9c38;switch(_0x311a51){case TestFrameworkState[_0x22824f(0x226)]:_0x21818b=_0x332725[_0x22824f(0x1a4)];const _0x7055f1={};_0x7055f1[_0x22824f(0x102)]=0x2,_0x7055f1[_0x22824f(0x1ae)]=0x3,logger[_0x22824f(0x22a)](_0x22824f(0x1dd)+_0x2f3bed+_0x22824f(0x163)+util['inspect'](_0x21818b,_0x7055f1)),_0xde9c38=this[_0x22824f(0x197)](_0x21818b),_0x153d30=null,logger[_0x22824f(0x22a)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId='+_0xde9c38+_0x22824f(0x276));if(_0x425b23[_0x22824f(0x211)](_0x2f3bed,HookState[_0x22824f(0x1e9)])){logger[_0x22824f(0x22a)](_0x22824f(0x134)+_0xde9c38);const _0x2e3a58={};_0x2e3a58[_0x22824f(0x1da)]=_0x153d30,_0x2e3a58[_0x22824f(0x1e5)]=_0x21818b,_0x2e3a58[_0x22824f(0x272)]=_0xde9c38;const _0x411e56=this[_0x22824f(0x225)](_0x2e3a58),_0x3cf3f5={};_0x3cf3f5['depth']=0x2,_0x3cf3f5[_0x22824f(0x1ae)]=0x3,logger[_0x22824f(0x22a)](_0x22824f(0x15a)+util[_0x22824f(0x1f3)](_0x411e56,_0x3cf3f5)),_0x10c045[_0x22824f(0x196)](_0x411e56),logger[_0x22824f(0x22a)](_0x22824f(0x137)+_0xde9c38),await this['processPendingHooks'](_0x10c045,_0xde9c38);}else{if(_0x425b23[_0x22824f(0x211)](_0x2f3bed,HookState['POST'])){logger[_0x22824f(0x22a)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20'+_0xde9c38);const _0x14abc0=_0x10c045[_0x22824f(0x20b)]()['get'](_0xde9c38);logger[_0x22824f(0x22a)](_0x22824f(0x279)+util[_0x22824f(0x1f3)](Object[_0x22824f(0x1b8)](_0x425b23[_0x22824f(0x27e)](_0x14abc0,{}))));_0x14abc0&&_0x14abc0[TestFrameworkConstants[_0x22824f(0x26e)]]?logger[_0x22824f(0x22a)](_0x22824f(0x291)+Object[_0x22824f(0x1b8)](_0x14abc0[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']])[_0x22824f(0x150)]+_0x22824f(0x14d)):logger['debug'](_0x425b23[_0x22824f(0x108)]);const _0x168507=_0x332725[_0x22824f(0x233)]||null,_0x1df3a2={};_0x1df3a2[_0x22824f(0x1da)]=_0x153d30,_0x1df3a2[_0x22824f(0x1e5)]=_0x21818b,_0x1df3a2[_0x22824f(0x272)]=_0xde9c38,_0x1df3a2[_0x22824f(0x233)]=_0x168507;const _0x29ee8c=this[_0x22824f(0x1e6)](_0x1df3a2),_0x44eb10={};_0x44eb10[_0x22824f(0x102)]=0x2,_0x44eb10['maxArrayLength']=0x3,logger[_0x22824f(0x22a)](_0x22824f(0x180)+util['inspect'](_0x29ee8c,_0x44eb10)),_0x10c045[_0x22824f(0x196)](_0x29ee8c),logger[_0x22824f(0x22a)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20'+_0xde9c38),await this[_0x22824f(0x246)](_0x10c045,_0xde9c38);}}break;case TestFrameworkState[_0x22824f(0x15e)]:if(_0x425b23[_0x22824f(0x1f4)](_0x2f3bed,HookState['POST'])){const _0x54d690={};_0x54d690[_0x22824f(0x102)]=0x2,logger[_0x22824f(0x22a)](_0x22824f(0x22e)+util[_0x22824f(0x1f3)](_0x332725,_0x54d690)),await this[_0x22824f(0xfd)](_0x10c045,_0x311a51,_0x332725);}break;default:if(CLIUtils[_0x22824f(0x135)](_0x311a51[_0x22824f(0x1a8)]()[_0x22824f(0x1a0)]('.')[0x1])){const _0x5e7f96={};_0x5e7f96[_0x22824f(0x102)]=0x2,_0x5e7f96['maxArrayLength']=0x3,logger[_0x22824f(0x22a)](_0x22824f(0x120)+_0x311a51+_0x22824f(0x255)+_0x2f3bed+',\x20hookData='+util[_0x22824f(0x1f3)](_0x332725[_0x22824f(0x22c)],_0x5e7f96));const _0x3bca71=await this[_0x22824f(0x16a)](_0x10c045,_0x311a51,_0x2f3bed,_0x332725),_0x533f6d={};_0x533f6d[_0x22824f(0x102)]=0x2,_0x533f6d[_0x22824f(0x1ae)]=0x3,logger[_0x22824f(0x22a)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20'+util[_0x22824f(0x1f3)](_0x3bca71,_0x533f6d)),_0x10c045['addMultipleEntries'](_0x3bca71);}else logger[_0x22824f(0x22a)]('[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState='+_0x311a51+_0x22824f(0x290)+_0x2f3bed);break;}logger[_0x22824f(0x22a)](_0x22824f(0x23a)+_0x311a51+_0x22824f(0x255)+_0x2f3bed);}catch(_0x125c99){logger[_0x22824f(0x17e)](_0x22824f(0x1f7)+_0x311a51+_0x22824f(0x255)+_0x2f3bed+_0x22824f(0x104)+util[_0x22824f(0x21d)](_0x125c99));}_0x332725[_0x22824f(0x159)]=_0x10c045,await this[_0x22824f(0x160)](_0x10c045,_0x311a51,_0x2f3bed,_0x332725);}[a75_0x490452(0x197)](_0x49caed){const _0x85477=a75_0x490452,_0x5a0c2f={};_0x5a0c2f['Jypfu']=_0x85477(0x16b);const _0x5ec366=_0x5a0c2f;if(_0x49caed&&(_0x49caed['id']||_0x49caed[_0x85477(0x185)])){const _0x12d286=_0x49caed['id']||_0x49caed[_0x85477(0x185)];return logger['debug'](_0x85477(0x118)+_0x12d286+_0x85477(0x20c)),_0x12d286;}return logger[_0x85477(0x22a)](_0x5ec366[_0x85477(0x253)]),process[_0x85477(0x206)]+_0x85477(0x21b);}[a75_0x490452(0x208)](_0x127c75,_0x5ae617,_0x54eabd={}){const _0x55a75f=a75_0x490452;let _0x3067c9=null;return _0x3067c9=TestFramework['getTrackedInstance'](),!_0x3067c9?(logger['debug'](_0x55a75f(0x125)+_0x127c75),this[_0x55a75f(0x11e)](_0x127c75,_0x54eabd),_0x3067c9=TestFramework[_0x55a75f(0x1d7)](),logger['debug'](_0x55a75f(0x127)+!!_0x3067c9+_0x55a75f(0x1c4)+_0x3067c9?.['getContext']()?.[_0x55a75f(0x1e8)]())):logger[_0x55a75f(0x22a)]('[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId='+_0x3067c9[_0x55a75f(0x110)]()?.[_0x55a75f(0x1e8)]()),_0x3067c9;}[a75_0x490452(0x11e)](_0x246190,_0x2a769e){const _0x51f8da=a75_0x490452,_0xb474c3={};_0xb474c3[_0x51f8da(0x1ac)]=_0x51f8da(0x1b6);const _0x56baeb=_0xb474c3;if(TestFramework[_0x51f8da(0x1d7)]()){logger['debug'](_0x56baeb['UijUq']);return;}const _0x34d701=CLIUtils['getCurrentInstanceName'](),_0x46e404=TrackedInstance[_0x51f8da(0x264)](_0x34d701);let _0x44b6ea=null;logger[_0x51f8da(0x22a)](_0x51f8da(0xf8)+_0x34d701+_0x51f8da(0x1cb)+_0x246190),_0x44b6ea=new TestFrameworkInstance(_0x46e404,this['getTestFrameworks'](),this[_0x51f8da(0x281)](),_0x246190,HookState[_0x51f8da(0x194)]),TestFramework[_0x51f8da(0x192)](_0x46e404,_0x44b6ea),logger[_0x51f8da(0x22a)](_0x51f8da(0x13c)+_0x46e404['getId']()+',\x20target='+_0x34d701+',\x20testFramework='+this['getTestFrameworks']()[0x0]+_0x51f8da(0x1df)+this[_0x51f8da(0x281)]()[this[_0x51f8da(0x23b)]()[0x0]]);}[a75_0x490452(0x225)](_0x2f99df){const _0x2135a0=a75_0x490452,_0xe0a215={};_0xe0a215[_0x2135a0(0x151)]=function(_0x4d5648,_0x9b52e5){return _0x4d5648||_0x9b52e5;},_0xe0a215[_0x2135a0(0x1cf)]=_0x2135a0(0x13e);const _0x3acdf3=_0xe0a215,{testUUID:_0x26a5da,testData:_0x49054a,testId:_0x139144}=_0x2f99df;if(_0x3acdf3[_0x2135a0(0x151)](!_0x49054a,!_0x139144))return logger[_0x2135a0(0x22a)](_0x3acdf3[_0x2135a0(0x1cf)]),{};const _0x167b7d=this[_0x2135a0(0x23b)]()[0x0],_0x21e489=this[_0x2135a0(0x281)](),_0x4b29cb={};_0x4b29cb[_0x2135a0(0x102)]=0x2,_0x4b29cb[_0x2135a0(0x1ae)]=0x3,logger[_0x2135a0(0x22a)]('[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20'+util[_0x2135a0(0x1f3)](_0x49054a,_0x4b29cb));const _0x520bdf=_0x49054a?.[_0x2135a0(0x131)]||[],_0x192429=this[_0x2135a0(0x27a)](_0x49054a),_0xc7545b=this['getJestTestFilePath'](_0x49054a),_0x1fed14=_0x49054a['fn']?_0x49054a['fn']['toString']():_0x49054a?.['body']?_0x49054a[_0x2135a0(0x23c)][_0x2135a0(0x25f)][_0x2135a0(0x1a8)]():null,_0x15162e=this[_0x2135a0(0x182)](_0x49054a),_0x589b55={[TestFrameworkConstants[_0x2135a0(0x25e)]]:_0x167b7d,[TestFrameworkConstants[_0x2135a0(0x271)]]:_0x21e489[_0x167b7d],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x2135a0(0x232)]]:{},[TestFrameworkConstants[_0x2135a0(0x261)]]:{},[TestFrameworkConstants[_0x2135a0(0x293)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x2135a0(0x1b5)]]:_0x192429,[TestFrameworkConstants[_0x2135a0(0x155)]]:_0xc7545b,[TestFrameworkConstants[_0x2135a0(0x1d2)]]:_0x139144,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x192429,[TestFrameworkConstants[_0x2135a0(0x12e)]]:_0xc7545b,[TestFrameworkConstants[_0x2135a0(0x156)]]:_0x1fed14,[TestFrameworkConstants[_0x2135a0(0x217)]]:_0x15162e,[TestFrameworkConstants[_0x2135a0(0x20a)]]:_0x49054a[_0x2135a0(0x1fc)]||new Date()[_0x2135a0(0x24e)](),[TestFrameworkConstants[_0x2135a0(0x1e1)]]:_0x520bdf[0x0]||'',[TestFrameworkConstants[_0x2135a0(0x130)]]:_0x520bdf,[TestFrameworkConstants[_0x2135a0(0x18b)]]:_0x192429,[TestFrameworkConstants[_0x2135a0(0x107)]]:{},[TestFrameworkConstants[_0x2135a0(0x1a6)]]:{}};_0x49054a['retryOf']&&(_0x589b55[TestFrameworkConstants[_0x2135a0(0xfe)]]=_0x49054a[_0x2135a0(0x105)]);logger['debug'](_0x2135a0(0x13f)+_0x192429+',\x20testId='+_0x139144+_0x2135a0(0x209)+JSON[_0x2135a0(0x113)](_0x15162e)+_0x2135a0(0x16f)+util[_0x2135a0(0x1f3)](_0x520bdf)+_0x2135a0(0x22f)+_0xc7545b);const _0x481d0c={};return _0x481d0c[_0x139144]=_0x589b55,_0x481d0c;}['parseJestTestResult'](_0x471f50){const _0x370db6=a75_0x490452,_0x349049={'FMnuv':function(_0x3758af,_0x1ed0c2){return _0x3758af===_0x1ed0c2;},'msZYS':_0x370db6(0x21f),'GPfIC':function(_0x5d12fe,_0x46577c){return _0x5d12fe===_0x46577c;},'KNhLu':_0x370db6(0x11d),'KVpnE':_0x370db6(0x24b),'WwzJG':_0x370db6(0x1c7),'PSQON':function(_0x3277db,_0xe7e16){return _0x3277db||_0xe7e16;},'cQoSy':_0x370db6(0x215),'pjSEh':function(_0x3dd61b,_0x1a2c81){return _0x3dd61b||_0x1a2c81;},'Vosyb':_0x370db6(0x153),'aOBFI':function(_0x2d0ce7,_0x7adff7){return _0x2d0ce7>_0x7adff7;},'qKWZx':'failed','etnpS':function(_0x5d17ff,_0x357baf){return _0x5d17ff===_0x357baf;},'HhjHG':_0x370db6(0x1c8),'MERXT':function(_0x3a45ed,_0x24d55e){return _0x3a45ed===_0x24d55e;},'UfafW':'skipped','FJkNt':'passed','FijAL':function(_0x43a30f,_0x94af53){return _0x43a30f===_0x94af53;},'JzQOq':function(_0xb5986,_0xc80b0b){return _0xb5986!==_0xc80b0b;},'FJkwI':function(_0x55cb3b,_0x4d355f,_0x4e6671,_0x1b98a0){return _0x55cb3b(_0x4d355f,_0x4e6671,_0x1b98a0);},'GHjgy':function(_0x1ff7c5,_0x531517){return _0x1ff7c5>_0x531517;},'ENBgq':function(_0xdf6458,_0x238ad6){return _0xdf6458>_0x238ad6;},'kdzYM':_0x370db6(0x1c0)},{testUUID:_0x2dbbb5,testData:_0x23b09e,testId:_0x32cce0}=_0x471f50;if(_0x349049[_0x370db6(0x21e)](!_0x23b09e,!_0x32cce0))return logger['debug'](_0x349049[_0x370db6(0x1bc)]),{};const _0x18dec8=this[_0x370db6(0x208)](TestFrameworkState[_0x370db6(0x226)],HookState['POST']),_0xab6ba4=_0x18dec8['getAllData']()['get'](_0x32cce0),_0x53d081=_0x349049[_0x370db6(0x220)](_0xab6ba4,{}),_0x22a2a8=_0x53d081?_0x53d081[TestFrameworkConstants[_0x370db6(0x107)]]||{}:{},_0x1019e4=_0x53d081[TestFrameworkConstants[_0x370db6(0x26e)]];logger[_0x370db6(0x22a)](_0x370db6(0x187)+(_0x1019e4?Object[_0x370db6(0x1b8)](_0x1019e4)['length']:0x0)+_0x370db6(0x140));let _0x324815=_0x349049[_0x370db6(0x270)];if(_0x23b09e[_0x370db6(0x263)])_0x324815=_0x23b09e[_0x370db6(0x263)];else{if(_0x23b09e[_0x370db6(0x282)]&&_0x349049[_0x370db6(0x116)](_0x23b09e['errorsDetailed'][_0x370db6(0x150)],0x0))_0x324815=_0x349049[_0x370db6(0x251)];else _0x349049[_0x370db6(0x216)](_0x23b09e[_0x370db6(0x267)],_0x349049[_0x370db6(0x1a5)])||_0x349049[_0x370db6(0x286)](_0x23b09e[_0x370db6(0x267)],_0x349049[_0x370db6(0x283)])?_0x324815=_0x349049['UfafW']:_0x324815=_0x349049['FJkNt'];}const _0x7afdea={..._0x53d081,[TestFrameworkConstants[_0x370db6(0x293)]]:_0x324815,[TestFrameworkConstants[_0x370db6(0x10f)]]:_0x23b09e['finished_at']||new Date()['toISOString'](),[TestFrameworkConstants[_0x370db6(0x15f)]]:new Date()[_0x370db6(0x24e)](),[TestFrameworkConstants[_0x370db6(0x107)]]:_0x22a2a8,[TestFrameworkConstants[_0x370db6(0x13a)]]:_0x53d081[TestFrameworkConstants[_0x370db6(0x13a)]]||[],[TestFrameworkConstants[_0x370db6(0x1a6)]]:{}};if(_0x349049['FijAL'](_0x324815,_0x349049[_0x370db6(0x251)])&&_0x23b09e[_0x370db6(0x282)]){const _0x4a2dcd=this['getJestFailureReason'](_0x23b09e),_0x365de5=this[_0x370db6(0x1ce)](_0x23b09e),_0x34b120=this[_0x370db6(0x20f)](_0x23b09e);_0x7afdea[TestFrameworkConstants[_0x370db6(0x1ab)]]=_0x365de5,_0x7afdea[TestFrameworkConstants[_0x370db6(0x184)]]=_0x4a2dcd,_0x7afdea[TestFrameworkConstants['KEY_TEST_FAILURE']]=_0x34b120;}_0x349049[_0x370db6(0x1f0)](_0x23b09e['duration'],undefined)&&(_0x7afdea[TestFrameworkConstants[_0x370db6(0x10d)]]=_0x23b09e[_0x370db6(0x26f)]);_0x23b09e[_0x370db6(0x105)]&&(_0x7afdea[TestFrameworkConstants[_0x370db6(0xfe)]]=_0x23b09e[_0x370db6(0x105)]);const _0x48f541=_0xab6ba4?_0xab6ba4[TestFrameworkConstants[_0x370db6(0x26e)]]||{}:{},_0x5595fa=_0xab6ba4?_0xab6ba4[TestFrameworkConstants[_0x370db6(0x1d4)]]:_0x2dbbb5,_0x2bcbe5=_0x349049[_0x370db6(0x165)](getManualUploadLogs,_0x48f541,_0x5595fa,_0x32cce0);if(_0x349049['GHjgy'](_0x2bcbe5[_0x370db6(0x150)],0x0)){const _0x416959=_0x7afdea[TestFrameworkConstants[_0x370db6(0x13a)]]||[];_0x7afdea[TestFrameworkConstants[_0x370db6(0x13a)]]=[..._0x416959,..._0x2bcbe5];}const _0xe2903=_0x53d081[TestFrameworkConstants[_0x370db6(0x232)]]||{},_0x251b05=_0x53d081[TestFrameworkConstants[_0x370db6(0x261)]]||{},_0x4f6c5={..._0xe2903},_0x2c2202=_0x4f6c5;Object['keys'](_0x251b05)[_0x370db6(0x254)](_0x273fe3=>{const _0x3e71bb=_0x370db6;!_0x2c2202[_0x273fe3]&&(_0x2c2202[_0x273fe3]=[]);const _0x14cc9b=new Set((_0x2c2202[_0x273fe3]||[])[_0x3e71bb(0x144)](_0x410f62=>_0x410f62[TestFrameworkConstants['KEY_HOOK_ID']]||_0x410f62['hook_id']));(_0x251b05[_0x273fe3]||[])[_0x3e71bb(0x254)](_0x3ffd94=>{const _0x266b44=_0x3e71bb,_0x5d3014=_0x3ffd94[TestFrameworkConstants[_0x266b44(0x229)]]||_0x3ffd94[_0x266b44(0x152)];if(!_0x14cc9b[_0x266b44(0x14b)](_0x5d3014)){const _0x509d9f={..._0x3ffd94},_0x5e15a7=_0x509d9f;!_0x5e15a7[TestFrameworkConstants[_0x266b44(0x161)]]&&!_0x5e15a7[_0x266b44(0x188)]&&(_0x5e15a7[TestFrameworkConstants[_0x266b44(0x161)]]=new Date()[_0x266b44(0x24e)]()),!_0x5e15a7[TestFrameworkConstants[_0x266b44(0x1b4)]]&&!_0x5e15a7['hook_result']&&(_0x5e15a7[TestFrameworkConstants[_0x266b44(0x1b4)]]=TestFrameworkConstants[_0x266b44(0x1ed)]),_0x2c2202[_0x273fe3][_0x266b44(0x1d5)](_0x5e15a7);}});});if(_0x471f50[_0x370db6(0x233)]){this[_0x370db6(0x19b)](_0x471f50[_0x370db6(0x233)]);const _0x340d2c=this[_0x370db6(0x16d)](_0x471f50[_0x370db6(0x233)]),_0x52b8f8=this[_0x370db6(0x26d)](_0x471f50[_0x370db6(0x233)]);_0x52b8f8[_0x370db6(0x254)](_0xd376b1=>{const _0x4645b0=_0x370db6,_0x8e4b51=_0x340d2c['get'](_0xd376b1);if(_0x8e4b51&&(_0x349049['FMnuv'](_0x8e4b51[_0x4645b0(0x268)],_0x349049[_0x4645b0(0x1d9)])||_0x349049[_0x4645b0(0x1fa)](_0x8e4b51['type'],_0x349049['KNhLu']))){const _0x1640b3=_0x8e4b51[_0x4645b0(0x268)]['toUpperCase']()['replace'](_0x349049['KVpnE'],_0x349049[_0x4645b0(0x17b)]),_0x513148=_0x1640b3;!_0x2c2202[_0x513148]&&(_0x2c2202[_0x513148]=[]);const _0x21229d=_0x2c2202[_0x513148][_0x4645b0(0x143)](_0x306408=>(_0x306408[TestFrameworkConstants[_0x4645b0(0x229)]]||_0x306408[_0x4645b0(0x152)])===_0xd376b1);!_0x21229d&&_0x2c2202[_0x513148][_0x4645b0(0x1d5)]({'key':_0x513148,[TestFrameworkConstants[_0x4645b0(0x229)]]:_0xd376b1,[TestFrameworkConstants[_0x4645b0(0x1b4)]]:TestFrameworkConstants[_0x4645b0(0x1ed)],[TestFrameworkConstants[_0x4645b0(0x27c)]]:new Date()[_0x4645b0(0x24e)](),[TestFrameworkConstants[_0x4645b0(0x161)]]:new Date()[_0x4645b0(0x24e)](),[TestFrameworkConstants[_0x4645b0(0x1fe)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x8e4b51[_0x4645b0(0x179)]||_0x8e4b51[_0x4645b0(0x268)]+_0x4645b0(0x17d),[TestFrameworkConstants[_0x4645b0(0x107)]]:_0x22a2a8});}});}if(_0x23b09e[_0x370db6(0x12d)]&&_0x349049[_0x370db6(0x269)](_0x23b09e['hooks'][_0x370db6(0x150)],0x0))_0x7afdea[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x23b09e[_0x370db6(0x12d)],logger[_0x370db6(0x22a)](_0x349049[_0x370db6(0x239)]);else _0x349049[_0x370db6(0x116)](Object[_0x370db6(0x1b8)](_0x2c2202)[_0x370db6(0x150)],0x0)&&(_0x7afdea[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0x2c2202,logger[_0x370db6(0x22a)]('[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes='+Object[_0x370db6(0x1b8)](_0x2c2202)[_0x370db6(0xf9)](',')));const _0x1b7c60=this[_0x370db6(0x27a)](_0x23b09e);logger[_0x370db6(0x22a)](_0x370db6(0x176)+_0x1b7c60+_0x370db6(0x284)+_0x32cce0+'\x20(testIdentifier),\x20result='+_0x324815+',\x20duration='+_0x23b09e[_0x370db6(0x26f)]);_0x349049['FijAL'](_0x324815,_0x349049[_0x370db6(0x251)])&&logger[_0x370db6(0x22a)]('[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId='+_0x32cce0+_0x370db6(0x193)+_0x7afdea[TestFrameworkConstants[_0x370db6(0x1ab)]]+',\x20failureReason='+_0x7afdea[TestFrameworkConstants[_0x370db6(0x184)]]?.[_0x370db6(0x19c)](0x0,0xc8));const _0x38549a={};return _0x38549a[_0x32cce0]=_0x7afdea,_0x38549a;}[a75_0x490452(0x12a)](_0x1cd909){const _0x1c0804=a75_0x490452,_0x292a02={};_0x292a02[_0x1c0804(0x25b)]=function(_0x4a18c3,_0x31e3ff){return _0x4a18c3!==_0x31e3ff;},_0x292a02[_0x1c0804(0x147)]=function(_0x136bf8,_0x21b787){return _0x136bf8!==_0x21b787;},_0x292a02[_0x1c0804(0x199)]=_0x1c0804(0x256);const _0x51e6f9=_0x292a02,_0x39baf0={};_0x39baf0[_0x1c0804(0x102)]=0x2,_0x39baf0['maxArrayLength']=0x3,logger['debug']('[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20'+util[_0x1c0804(0x1f3)](_0x1cd909,_0x39baf0));const _0x3ae3db=[];if(_0x1cd909&&_0x1cd909[_0x1c0804(0x18e)]){let _0x3970c5=_0x1cd909['parent'];while(_0x3970c5&&_0x3970c5['name']&&_0x51e6f9[_0x1c0804(0x25b)](_0x3970c5[_0x1c0804(0x179)],'')&&_0x51e6f9[_0x1c0804(0x147)](_0x3970c5[_0x1c0804(0x179)],_0x51e6f9[_0x1c0804(0x199)])){_0x3ae3db[_0x1c0804(0x1d5)](_0x3970c5[_0x1c0804(0x179)]),_0x3970c5=_0x3970c5[_0x1c0804(0x18e)];}}return _0x3ae3db['reverse']();}[a75_0x490452(0x27a)](_0x4cd9fc){const _0x35cf28=a75_0x490452,_0x373ea6={};_0x373ea6[_0x35cf28(0x23e)]=_0x35cf28(0x17c);const _0x26454c=_0x373ea6;if(_0x4cd9fc['name'])return _0x4cd9fc[_0x35cf28(0x179)];if(_0x4cd9fc['title'])return _0x4cd9fc[_0x35cf28(0x17a)];return _0x26454c[_0x35cf28(0x23e)];}[a75_0x490452(0x182)](_0x25c879){const _0x14c10e=a75_0x490452,_0x4f7b4d=[];if(_0x25c879[_0x14c10e(0x14f)]&&Array[_0x14c10e(0x1dc)](_0x25c879[_0x14c10e(0x14f)]))return _0x25c879['tags']['map'](_0x45b7b4=>_0x45b7b4[_0x14c10e(0x27b)]('@')?_0x45b7b4[_0x14c10e(0x249)](0x1):_0x45b7b4);const _0xc5248b=this[_0x14c10e(0x27a)](_0x25c879),_0x45ab48=_0xc5248b[_0x14c10e(0x19d)](/@(\w+)/g);if(_0x45ab48)return _0x45ab48[_0x14c10e(0x144)](_0x137fe1=>_0x137fe1['slice'](0x1));return _0x25c879['scopes']&&Array[_0x14c10e(0x1dc)](_0x25c879[_0x14c10e(0x131)])&&_0x25c879[_0x14c10e(0x131)][_0x14c10e(0x254)](_0x97342a=>{const _0x367222=_0x14c10e,_0x1c5432=_0x97342a[_0x367222(0x19d)](/@(\w+)/g);_0x1c5432&&_0x1c5432[_0x367222(0x254)](_0x3ce7c0=>{const _0x15f402=_0x367222,_0x3f401e=_0x3ce7c0['slice'](0x1);!_0x4f7b4d[_0x15f402(0x11a)](_0x3f401e)&&_0x4f7b4d['push'](_0x3f401e);});}),_0x4f7b4d;}['getJestTestFilePath'](_0xdff6c5){const _0x4d561d=a75_0x490452,_0x20854e={'zRPGq':function(_0x570c6a,_0x20ecab){return _0x570c6a(_0x20ecab);},'FXSkL':_0x4d561d(0x27f)};if(_0xdff6c5[_0x4d561d(0x1a3)])return _0xdff6c5[_0x4d561d(0x1a3)];if(_0xdff6c5[_0x4d561d(0x189)]){const _0x16cf31=_0x20854e['zRPGq'](require,_0x20854e[_0x4d561d(0x22b)]);try{const _0x874735=_0x16cf31['parse'](_0xdff6c5[_0x4d561d(0x189)]);if(_0x874735[0x0]&&_0x874735[0x0][_0x4d561d(0x274)])return _0x874735[0x0][_0x4d561d(0x274)]();}catch(_0x16e63b){logger[_0x4d561d(0x22a)]('Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20'+util[_0x4d561d(0x21d)](_0x16e63b));}}return null;}['getJestFailureReason'](_0x3bf4ea){const _0x5ad6e0=a75_0x490452,_0x306b6d={};_0x306b6d[_0x5ad6e0(0x292)]=function(_0x9e8242,_0x2e3158){return _0x9e8242>_0x2e3158;},_0x306b6d['tNCKa']=_0x5ad6e0(0x21a);const _0x5c35f2=_0x306b6d;if(_0x3bf4ea[_0x5ad6e0(0x282)]&&_0x5c35f2[_0x5ad6e0(0x292)](_0x3bf4ea[_0x5ad6e0(0x282)][_0x5ad6e0(0x150)],0x0))return util[_0x5ad6e0(0x1f3)](_0x3bf4ea[_0x5ad6e0(0x282)][0x0]);if(_0x3bf4ea[_0x5ad6e0(0x13b)])return _0x3bf4ea[_0x5ad6e0(0x13b)];return _0x5c35f2[_0x5ad6e0(0x25d)];}[a75_0x490452(0x1ce)](_0x5607cd){const _0x2cfa92=a75_0x490452,_0x55b805={};_0x55b805[_0x2cfa92(0x168)]=_0x2cfa92(0x28a),_0x55b805[_0x2cfa92(0x257)]=_0x2cfa92(0x103),_0x55b805['WKSzw']=_0x2cfa92(0x175);const _0x18caa6=_0x55b805,_0x1f9efd=this[_0x2cfa92(0x277)](_0x5607cd);if(_0x1f9efd&&_0x1f9efd['includes'](_0x18caa6[_0x2cfa92(0x168)]))return _0x18caa6[_0x2cfa92(0x257)];return _0x18caa6['WKSzw'];}[a75_0x490452(0x20f)](_0x526fc4){const _0x473f19=a75_0x490452,_0x46e4be={'tvSlz':function(_0x74ee80,_0x2d092f){return _0x74ee80(_0x2d092f);},'SxCUS':_0x473f19(0x28b),'ATzYN':function(_0x4e185e,_0x4ddfe3){return _0x4e185e!==_0x4ddfe3;},'uizRc':'test'},{failureData:_0x141599}=_0x46e4be[_0x473f19(0x1a7)](require,_0x46e4be[_0x473f19(0x28f)]),_0x2dc1f9=[];return _0x46e4be[_0x473f19(0x191)](_0x526fc4[_0x473f19(0x282)],undefined)&&_0x2dc1f9[_0x473f19(0x1d5)](_0x526fc4[_0x473f19(0x282)],_0x46e4be[_0x473f19(0x210)]),_0x141599['apply'](null,_0x2dc1f9);}async[a75_0x490452(0x16a)](_0x6a1192,_0x28489c,_0x57be10,_0xe0dbf7){const _0x13147e=a75_0x490452,_0xa4e06c={'EpCDJ':_0x13147e(0x230),'SwlfB':function(_0x29d68f){return _0x29d68f();},'tDkJh':function(_0x4ec218,_0x227f9f){return _0x4ec218 in _0x227f9f;},'Bbrcu':function(_0x51c381,_0x15fea1){return _0x51c381===_0x15fea1;},'njBAr':function(_0x4e93a3,_0x5020f1){return _0x4e93a3===_0x5020f1;},'fUXHL':function(_0x5ba354,_0x3ffc39){return _0x5ba354>_0x3ffc39;},'xhVGx':_0x13147e(0x13d),'ulukh':_0x13147e(0x1d0),'UJLhK':function(_0xa5dc1,_0x5db0bb){return _0xa5dc1===_0x5db0bb;},'BuejL':_0x13147e(0x10b),'syDhl':function(_0x340a18,_0x1ab209){return _0x340a18>_0x1ab209;},'mwWuZ':function(_0x46b05a,_0x27577d){return _0x46b05a===_0x27577d;},'VEONc':function(_0x71d76,_0x114182){return _0x71d76!==_0x114182;}},{hookData:_0x34693c}=_0xe0dbf7,_0x15cc37=_0x57be10[_0x13147e(0x1a8)](),_0x146da7=_0x28489c[_0x13147e(0x1a8)](),_0x502e84={};_0x502e84[_0x13147e(0x102)]=0x2,_0x502e84[_0x13147e(0x1ae)]=0x3,logger['debug'](_0x13147e(0x17f)+_0x146da7+_0x13147e(0x255)+_0x15cc37+_0x13147e(0x280)+util['inspect'](_0x34693c,_0x502e84));if(!_0x34693c)return logger[_0x13147e(0x22a)](_0xa4e06c['EpCDJ']),{};const _0x137712=_0x34693c[_0x13147e(0x185)]||_0x34693c[_0x13147e(0x174)]||_0xa4e06c['SwlfB'](uuidv4),_0x25c6be=_0x34693c[_0x13147e(0x26c)]||this['getJestTestIdentifier'](_0x34693c),_0x14be15=_0x28489c[_0x13147e(0x1a8)]()[_0x13147e(0x1a0)]('.')[0x1],_0x527e93=_0x6a1192['getAllData']()[_0x13147e(0x19e)](_0x25c6be),_0x19ee40=_0x527e93?_0x527e93[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{}:{};logger['debug'](_0x13147e(0x221)+_0x137712+_0x13147e(0x284)+_0x25c6be+'\x20(testIdentifier),\x20hookType='+_0x14be15+',\x20hookState='+_0x15cc37);if(!_0x527e93)return logger[_0x13147e(0x22a)](_0x13147e(0x1a9)+_0x25c6be+_0x13147e(0x183)),this[_0x13147e(0x23d)](_0x6a1192,_0x25c6be,_0x28489c,_0x57be10,_0xe0dbf7),{};let _0x1d0ba4=_0x527e93[TestFrameworkConstants[_0x13147e(0x261)]];!_0x1d0ba4&&(_0x1d0ba4={});!_0xa4e06c['tDkJh'](_0x14be15,_0x1d0ba4)&&(_0x1d0ba4[_0x14be15]=[]);let _0x5ec723=_0x527e93[TestFrameworkConstants[_0x13147e(0x232)]];!_0x5ec723&&(_0x5ec723={});!_0xa4e06c[_0x13147e(0x18d)](_0x14be15,_0x5ec723)&&(_0x5ec723[_0x14be15]=[]);const _0x3ac31f={[_0x25c6be]:{[TestFrameworkConstants[_0x13147e(0x261)]]:_0x1d0ba4,[TestFrameworkConstants[_0x13147e(0x232)]]:_0x5ec723,[TestFrameworkConstants[_0x13147e(0x25e)]]:this['getTestFrameworks']()[0x0]||'',[TestFrameworkConstants[_0x13147e(0x271)]]:this['getTestFrameworksVersions']()[this[_0x13147e(0x23b)]()[0x0]]||''}};if(_0xa4e06c[_0x13147e(0x181)](_0x57be10,HookState[_0x13147e(0x1e9)])){const _0x2d2cb7={'key':_0x14be15,[TestFrameworkConstants[_0x13147e(0x229)]]:_0x137712,[TestFrameworkConstants[_0x13147e(0x1b4)]]:TestFrameworkConstants[_0x13147e(0x1ed)],[TestFrameworkConstants[_0x13147e(0x27c)]]:_0x34693c[_0x13147e(0x1fc)]||new Date()[_0x13147e(0x24e)](),[TestFrameworkConstants[_0x13147e(0x1fe)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x34693c[_0x13147e(0x179)]||_0x34693c[_0x13147e(0x1b2)]||_0x14be15,[TestFrameworkConstants[_0x13147e(0x107)]]:_0x19ee40};_0x1d0ba4[_0x14be15]['push'](_0x2d2cb7),_0x3ac31f[_0x25c6be][TestFrameworkConstants[_0x13147e(0x19f)]]=_0x14be15;const _0x512d8b={};_0x512d8b['depth']=0x2,logger[_0x13147e(0x22a)](_0x13147e(0x132)+_0x14be15+',\x20hookId='+_0x137712+',\x20testId='+_0x25c6be+_0x13147e(0x22d)+util[_0x13147e(0x1f3)](_0x2d2cb7,_0x512d8b));}else{if(_0xa4e06c[_0x13147e(0x142)](_0x57be10,HookState[_0x13147e(0x173)])){const _0x255118=_0x34693c[_0x13147e(0x263)]||(_0x34693c['errorsDetailed']&&_0xa4e06c[_0x13147e(0x1b3)](_0x34693c['errorsDetailed'][_0x13147e(0x150)],0x0)?_0xa4e06c[_0x13147e(0x28d)]:_0xa4e06c[_0x13147e(0x138)]),_0xf57ce8=_0x1d0ba4[_0x14be15]||[];logger[_0x13147e(0x22a)](_0x13147e(0x1be)+_0x14be15+_0x13147e(0x284)+_0x25c6be+',\x20result='+_0x255118+_0x13147e(0x1ba)+_0xf57ce8['length']);if(_0xa4e06c[_0x13147e(0x181)](_0xf57ce8[_0x13147e(0x150)],0x0)&&_0xa4e06c[_0x13147e(0x14a)](_0x28489c,TestFrameworkState[_0x13147e(0x243)]))return logger['debug'](_0xa4e06c[_0x13147e(0x242)]),this[_0x13147e(0x23d)](_0x6a1192,_0x25c6be,_0x28489c,_0x57be10,_0xe0dbf7),{};if(_0xa4e06c[_0x13147e(0x238)](_0xf57ce8['length'],0x0)){const _0x3ff563=_0xf57ce8[_0x13147e(0x122)]();_0xa4e06c[_0x13147e(0x245)](_0x255118,_0xa4e06c['xhVGx'])&&_0x34693c['errorsDetailed']?(_0x3ff563[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=this[_0x13147e(0x1ce)](_0x34693c),_0x3ff563[TestFrameworkConstants[_0x13147e(0x224)]]=this['getJestFailureReason'](_0x34693c),_0x3ff563[TestFrameworkConstants[_0x13147e(0x214)]]=this[_0x13147e(0x20f)](_0x34693c),logger['debug'](_0x13147e(0x167)+_0x14be15+_0x13147e(0x193)+_0x3ff563[TestFrameworkConstants[_0x13147e(0x1ef)]]+_0x13147e(0x171)+_0x3ff563[TestFrameworkConstants[_0x13147e(0x224)]]?.[_0x13147e(0x19c)](0x0,0xc8))):_0x3ff563[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0xa4e06c['ulukh'];_0xa4e06c[_0x13147e(0x11c)](_0x255118,TestFrameworkConstants[_0x13147e(0x1ed)])&&(_0x3ff563[TestFrameworkConstants[_0x13147e(0x1b4)]]=_0x255118);_0x3ff563[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x34693c[_0x13147e(0x1a2)]||new Date()['toISOString'](),_0x3ff563[TestFrameworkConstants[_0x13147e(0x107)]]=_0x19ee40;const _0x47b7bd=_0x3ff563[TestFrameworkConstants[_0x13147e(0x229)]];!_0x5ec723[_0x14be15]&&(_0x5ec723[_0x14be15]=[]);_0x5ec723[_0x14be15]['push'](_0x3ff563),_0x3ac31f[_0x25c6be][TestFrameworkConstants[_0x13147e(0x109)]]=_0x14be15;const _0x68d907={};_0x68d907[_0x13147e(0x102)]=0x2,logger['debug']('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType='+_0x14be15+_0x13147e(0x1e3)+_0x47b7bd+_0x13147e(0x26a)+_0x255118+_0x13147e(0x22d)+util[_0x13147e(0x1f3)](_0x3ff563,_0x68d907));}}}return _0x3ac31f;}[a75_0x490452(0x24c)](_0x4d1d13){const _0x53783e=a75_0x490452,_0x114305={};_0x114305['uqtog']=_0x53783e(0x117);const _0x2eb6e6=_0x114305;try{const _0x2bee6c=_0x4d1d13[_0x53783e(0x1a4)]?this[_0x53783e(0x197)](_0x4d1d13[_0x53783e(0x1a4)]):_0x4d1d13[_0x53783e(0x22c)][_0x53783e(0x26c)],_0x4d9c38=_0x4d1d13[_0x53783e(0x159)],_0xce9c64=_0x4d9c38['getContext'](),_0x4c41bc=_0x4d9c38[_0x53783e(0x20b)]()[_0x53783e(0x19e)](_0x2bee6c);if(!_0x4c41bc)return logger[_0x53783e(0x22a)](_0x53783e(0x129)+_0x2bee6c),{};const {[TestFrameworkConstants[_0x53783e(0x25e)]]:_0x293cd0=this[_0x53783e(0x23b)]()[0x0]||'',[TestFrameworkConstants[_0x53783e(0x271)]]:_0x12cdd5=this[_0x53783e(0x281)]()[this[_0x53783e(0x23b)]()[0x0]]||'',[TestFrameworkConstants[_0x53783e(0x20a)]]:_0x1ba141='',[TestFrameworkConstants[_0x53783e(0x10f)]]:_0x35288f=''}=_0x4c41bc,_0x316c2d=_0x4d9c38[_0x53783e(0x1c3)]()[_0x53783e(0x1a8)]()[_0x53783e(0x1a0)]('.')[0x1],_0x5afbb8=_0x4d9c38['getCurrentHookState']()[_0x53783e(0x1a8)]()[_0x53783e(0x1a0)]('.')[0x1],_0x91fa06=global?.[_0x53783e(0x207)]?.[_0x53783e(0x172)]?.[_0x53783e(0x236)]||global['__bstackPlatformIndex']||0x0,_0x1f3fe7=_0x4d9c38[_0x53783e(0x20d)](),_0x3e53f5=Buffer['from'](JSON[_0x53783e(0x113)](_0x4c41bc))[_0x53783e(0x1a8)](_0x2eb6e6[_0x53783e(0x1db)]),_0x274a4f={'hash':_0xce9c64[_0x53783e(0x1e8)](),'threadId':_0xce9c64['getThreadId']()[_0x53783e(0x1a8)](),'processId':_0xce9c64['getProcessId']()['toString']()},_0x4871e9={};_0x4871e9['platformIndex']=_0x91fa06,_0x4871e9['testFrameworkName']=_0x293cd0,_0x4871e9['testFrameworkVersion']=_0x12cdd5,_0x4871e9[_0x53783e(0x287)]=_0x316c2d,_0x4871e9['hookState']=_0x5afbb8,_0x4871e9[_0x53783e(0x1f9)]=_0x1ba141,_0x4871e9[_0x53783e(0x166)]=_0x35288f,_0x4871e9[_0x53783e(0x185)]=_0x1f3fe7,_0x4871e9[_0x53783e(0x18c)]=_0x3e53f5,_0x4871e9['executionContext']=_0x274a4f,_0x4871e9[_0x53783e(0x275)]=_0x2bee6c;const _0x2927d8=_0x4871e9;return _0x2927d8;}catch(_0x394dd7){return logger['error'](_0x53783e(0x154)+util[_0x53783e(0x21d)](_0x394dd7)),{};}}async['sendLogCreatedEvent'](_0x3138bf,_0x421a8f,_0x3c5947){const _0x53c971=a75_0x490452,_0x1a70ad={'dTfne':function(_0x1e3920,_0x2e0d2a){return _0x1e3920+_0x2e0d2a;},'JscSD':'missing','THiRJ':_0x53c971(0x178),'FMHon':function(_0x31b66e,_0x31abf1){return _0x31b66e>_0x31abf1;},'tbXxk':function(_0x11ddc0,_0x301561,_0x48afd3,_0x9b1ae5){return _0x11ddc0(_0x301561,_0x48afd3,_0x9b1ae5);},'LZhzB':function(_0x5d4a94,_0x3fcc47){return _0x5d4a94-_0x3fcc47;},'pNbDM':function(_0x60225e,_0xd4576){return _0x60225e===_0xd4576;},'CWTwF':function(_0x561347,_0x3006d7){return _0x561347/_0x3006d7;},'FwOLu':function(_0x305a95,_0x164a40){return _0x305a95<_0x164a40;},'zgwwm':function(_0x38f967,_0x381253){return _0x38f967*_0x381253;}};try{const _0x234615=_0x3c5947[_0x53c971(0x1da)]||_0x3c5947[_0x53c971(0x272)],_0x56ef71=Array[_0x53c971(0x128)](_0x3138bf[_0x53c971(0x20b)]()['keys']()),_0x29296e=_0x3138bf[_0x53c971(0x20b)]()[_0x53c971(0x19e)](_0x234615);if(!_0x29296e){logger[_0x53c971(0x22a)](_0x53c971(0x1d3)+_0x234615);return;}const {[TestFrameworkConstants[_0x53c971(0x25e)]]:_0x23f1b8='',[TestFrameworkConstants[_0x53c971(0x271)]]:_0x558a68=''}=_0x29296e;let _0x374624=[];_0x29296e&&_0x29296e[TestFrameworkConstants['KEY_LOGS']]&&Array[_0x53c971(0x1dc)](_0x29296e[TestFrameworkConstants[_0x53c971(0x13a)]])?(_0x374624=_0x29296e[TestFrameworkConstants[_0x53c971(0x13a)]]||[],logger[_0x53c971(0x22a)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20'+_0x374624['length']+_0x53c971(0x12f)+_0x234615),_0x3138bf['addMultipleEntries']({[_0x234615]:{[TestFrameworkConstants[_0x53c971(0x13a)]]:[],[TestFrameworkConstants[_0x53c971(0x25e)]]:this['getTestFrameworks']()[0x0]||'',[TestFrameworkConstants[_0x53c971(0x271)]]:this['getTestFrameworksVersions']()[this[_0x53c971(0x23b)]()[0x0]]||''}}),logger[_0x53c971(0x22a)](_0x53c971(0x205)+_0x234615)):logger['debug'](_0x53c971(0x265)+_0x234615);logger[_0x53c971(0x22a)](_0x53c971(0x15b)+_0x374624[_0x53c971(0x150)]+_0x53c971(0x237)+_0x234615);const _0x59b5a3=_0x374624['filter'](_0x2bdc57=>_0x2bdc57[_0x53c971(0x1b9)]===_0x53c971(0x1ec));_0x1a70ad['FMHon'](_0x59b5a3[_0x53c971(0x150)],0x0)&&(logger[_0x53c971(0x22a)](_0x53c971(0x1bd)+_0x59b5a3[_0x53c971(0x150)]+'\x20screenshot\x20logs\x20for\x20testId:\x20'+_0x234615),_0x59b5a3['forEach']((_0x4cf779,_0x334a41)=>{const _0x2df83c=_0x53c971;logger[_0x2df83c(0x22a)](_0x2df83c(0x21c)+_0x1a70ad[_0x2df83c(0x1b1)](_0x334a41,0x1)+'/'+_0x59b5a3[_0x2df83c(0x150)]+_0x2df83c(0x1fd)+(_0x4cf779[_0x2df83c(0x275)]||_0x1a70ad[_0x2df83c(0x1e4)])+',\x20test_run_uuid='+(_0x4cf779[_0x2df83c(0x12c)]||_0x1a70ad['JscSD'])+',\x20hook_run_uuid='+(_0x4cf779[_0x2df83c(0x234)]||_0x1a70ad['THiRJ'])+_0x2df83c(0x115)+(_0x4cf779[_0x2df83c(0xfb)]?.['length']||0x0));}));const _0x334111=_0x29296e[TestFrameworkConstants[_0x53c971(0x26e)]]||{},_0x2230b7=_0x1a70ad[_0x53c971(0x1f5)](getMediaArtifactsLogs,_0x334111,null,_0x234615),_0x4097e0=(_0x374624||[])[_0x53c971(0x260)](_0x2230b7||[]),_0x27a0e0=_0x59b5a3?.[_0x53c971(0x150)]||0x0,_0x3a74ca=_0x1a70ad[_0x53c971(0x1c5)](_0x374624?.[_0x53c971(0x150)]||0x0,_0x27a0e0);logger[_0x53c971(0x22a)](_0x53c971(0x14e)+_0x234615+_0x53c971(0x121)+_0x3a74ca+_0x53c971(0x1c1)+_0x27a0e0+_0x53c971(0x16e)+(_0x2230b7?.[_0x53c971(0x150)]||0x0)+_0x53c971(0x250)+_0x4097e0[_0x53c971(0x150)]);if(!_0x4097e0||_0x1a70ad['pNbDM'](_0x4097e0[_0x53c971(0x150)],0x0)){logger[_0x53c971(0x22a)](_0x53c971(0x1ad)+_0x234615);return;}const _0x3d42c6=0x28,_0x2bb333=Math[_0x53c971(0x289)](_0x1a70ad[_0x53c971(0x1e2)](_0x4097e0[_0x53c971(0x150)],_0x3d42c6));for(let _0x56f44b=0x0;_0x1a70ad[_0x53c971(0x186)](_0x56f44b,_0x2bb333);_0x56f44b++){const _0x4e894e=_0x1a70ad[_0x53c971(0x10a)](_0x56f44b,_0x3d42c6),_0x1c3e12=_0x1a70ad['dTfne'](_0x4e894e,_0x3d42c6),_0x1eec1c=_0x4097e0[_0x53c971(0xf7)](_0x4e894e,_0x1c3e12),_0x2361a5=global?.[_0x53c971(0x133)]??0x0,_0x35590a={'platformIndex':_0x2361a5,'logs':_0x1eec1c,'testFrameworkName':_0x23f1b8,'testFrameworkVersion':_0x558a68,'testFrameworkState':_0x421a8f[_0x53c971(0x1a8)]()[_0x53c971(0x1a0)]('.')[0x1]},_0x5e49c6={};_0x5e49c6['depth']=0x3,_0x5e49c6[_0x53c971(0x1ae)]=0x5,logger[_0x53c971(0x22a)](_0x53c971(0x18a)+_0x1a70ad[_0x53c971(0x1b1)](_0x56f44b,0x1)+'/'+_0x2bb333+_0x53c971(0x11f)+_0x234615+_0x53c971(0x10c)+_0x1eec1c[_0x53c971(0x150)]+_0x53c971(0x1f2)+_0x2361a5+_0x53c971(0x252)+util[_0x53c971(0x1f3)](_0x35590a,_0x5e49c6));const _0x32ed71=await GrpcClient[_0x53c971(0x1c6)]()[_0x53c971(0x162)](_0x35590a);logger['debug'](_0x53c971(0x18a)+_0x1a70ad[_0x53c971(0x1b1)](_0x56f44b,0x1)+'/'+_0x2bb333+_0x53c971(0x11f)+_0x234615+_0x53c971(0x1bf)+util[_0x53c971(0x1f3)](_0x32ed71));}_0x2230b7&&_0x1a70ad[_0x53c971(0xfc)](_0x2230b7[_0x53c971(0x150)],0x0)&&_0x29296e[TestFrameworkConstants[_0x53c971(0x26e)]]&&_0x3138bf[_0x53c971(0x196)]({[_0x234615]:{[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]:{},[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x53c971(0x23b)]()[0x0]||'',[TestFrameworkConstants[_0x53c971(0x271)]]:this[_0x53c971(0x281)]()[this[_0x53c971(0x23b)]()[0x0]]||''}}),logger[_0x53c971(0x22a)](_0x53c971(0x119)+_0x234615+',\x20totalBatches:\x20'+_0x2bb333);}catch(_0x28a5cf){logger['error'](_0x53c971(0x235)+(_0x3c5947[_0x53c971(0x1da)]||_0x3c5947[_0x53c971(0x272)])+_0x53c971(0x28e)+util[_0x53c971(0x21d)](_0x28a5cf));}}['storePendingHook'](_0x31f7da,_0x5167d6,_0x415054,_0x37fec4,_0x18d916){const _0x1db199=a75_0x490452,_0x1e1152={};_0x1e1152[_0x1db199(0x262)]=function(_0xea0ff9,_0x151ec3){return _0xea0ff9===_0x151ec3;},_0x1e1152[_0x1db199(0x101)]=_0x1db199(0x11d);const _0x41ed3c=_0x1e1152,{hookData:_0x5e6b30}=_0x18d916,_0x54b2b7={'testId':_0x5167d6,'testFrameworkState':_0x415054,'hookState':_0x37fec4,'args':_0x18d916,'timestamp':new Date()[_0x1db199(0x24e)]()};if(_0x41ed3c[_0x1db199(0x262)](_0x415054,TestFrameworkState[_0x1db199(0x243)])&&_0x5e6b30){const _0x3ff783={};_0x3ff783[_0x1db199(0x258)]=_0x5e6b30[_0x1db199(0x1a3)]||_0x5e6b30[_0x1db199(0x123)],_0x3ff783[_0x1db199(0x1aa)]=_0x5e6b30[_0x1db199(0x1aa)]||_0x5e6b30[_0x1db199(0x131)]&&_0x5e6b30[_0x1db199(0x131)][0x0]||'',_0x3ff783[_0x1db199(0x24a)]=_0x41ed3c[_0x1db199(0x101)],_0x54b2b7[_0x1db199(0x18f)]=_0x3ff783,logger[_0x1db199(0x22a)](_0x1db199(0x27d)+_0x5167d6+',\x20filePath:\x20'+_0x54b2b7[_0x1db199(0x18f)][_0x1db199(0x258)]+',\x20scope:\x20'+_0x54b2b7[_0x1db199(0x18f)]['scope']);}_0x31f7da['addPendingHook'](_0x5167d6,_0x54b2b7),logger[_0x1db199(0x22a)](_0x1db199(0x203)+_0x5167d6+_0x1db199(0x248)+_0x415054+',\x20hookState:\x20'+_0x37fec4);}async[a75_0x490452(0x246)](_0x38a45e,_0xec7c8e){const _0x5cad6a=a75_0x490452,_0x36576b={};_0x36576b['UoCqM']=function(_0x15c1f2,_0xa093a3){return _0x15c1f2>_0xa093a3;},_0x36576b['xFBwC']=function(_0x9f062d,_0x233fb2){return _0x9f062d===_0x233fb2;},_0x36576b['QWjTS']=function(_0x5d8f2c,_0x18b5eb){return _0x5d8f2c===_0x18b5eb;},_0x36576b[_0x5cad6a(0x204)]=function(_0x209d1b,_0x46183a){return _0x209d1b===_0x46183a;},_0x36576b['weuNm']=_0x5cad6a(0x1fb);const _0x2d464d=_0x36576b;if(_0x38a45e[_0x5cad6a(0x285)](_0xec7c8e)){const _0x403244=_0x38a45e[_0x5cad6a(0x213)](_0xec7c8e);logger['debug'](_0x5cad6a(0x26b)+_0x403244[_0x5cad6a(0x150)]+_0x5cad6a(0x228)+_0xec7c8e);for(const _0x41de7e of _0x403244){try{const _0x587dc8=await this[_0x5cad6a(0x16a)](_0x38a45e,_0x41de7e[_0x5cad6a(0x287)],_0x41de7e[_0x5cad6a(0x1c2)],_0x41de7e[_0x5cad6a(0x25c)]);_0x587dc8&&_0x2d464d[_0x5cad6a(0x273)](Object[_0x5cad6a(0x1b8)](_0x587dc8)[_0x5cad6a(0x150)],0x0)&&_0x38a45e['addMultipleEntries'](_0x587dc8),await this[_0x5cad6a(0x160)](_0x38a45e,_0x41de7e[_0x5cad6a(0x287)],_0x41de7e['hookState'],_0x41de7e[_0x5cad6a(0x25c)]);}catch(_0x35cecf){logger[_0x5cad6a(0x17e)](_0x5cad6a(0x212)+_0xec7c8e+',\x20error:\x20'+_0x35cecf);}}_0x38a45e[_0x5cad6a(0x1cc)](_0xec7c8e),logger[_0x5cad6a(0x22a)](_0x5cad6a(0x266)+_0xec7c8e);}const _0x5931c5=_0x38a45e[_0x5cad6a(0x20b)]()[_0x5cad6a(0x19e)](_0xec7c8e);if(_0x5931c5){const _0x772461=_0x5931c5[TestFrameworkConstants['KEY_TEST_FILE_PATH']]||_0x5931c5[TestFrameworkConstants['KEY_TEST_LOCATION']],_0x636901=_0x5931c5[TestFrameworkConstants[_0x5cad6a(0x1e1)]]||_0x5931c5[TestFrameworkConstants[_0x5cad6a(0x130)]]&&_0x5931c5[TestFrameworkConstants['KEY_TEST_SCOPES']][0x0]||'';logger[_0x5cad6a(0x22a)]('[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20'+_0x772461+',\x20scope:\x20'+_0x636901);const _0x2fae7e=_0x38a45e[_0x5cad6a(0x222)]();for(const _0x50194e of _0x2fae7e){if(_0x2d464d[_0x5cad6a(0x23f)](_0x50194e,_0xec7c8e))continue;if(_0x38a45e['hasPendingHooks'](_0x50194e)){const _0x4ba74d=_0x38a45e['getPendingHooks'](_0x50194e);for(const _0x538064 of _0x4ba74d){if(_0x2d464d['QWjTS'](_0x538064[_0x5cad6a(0x287)],TestFrameworkState['BEFORE_ALL'])&&_0x538064[_0x5cad6a(0x18f)]){const _0x155531=_0x538064['hookMetadata'][_0x5cad6a(0x258)],_0x39a8f7=_0x538064[_0x5cad6a(0x18f)]['scope'];if(_0x2d464d[_0x5cad6a(0x204)](_0x155531,_0x772461)&&_0x2d464d[_0x5cad6a(0x190)](_0x39a8f7,_0x636901)){logger[_0x5cad6a(0x22a)](_0x5cad6a(0x288)+_0x50194e+_0x5cad6a(0x24f)+_0xec7c8e+_0x5cad6a(0x200)+_0x155531+_0x5cad6a(0xff)+_0x39a8f7);_0x538064[_0x5cad6a(0x25c)]&&_0x538064[_0x5cad6a(0x25c)]['hookData']&&(_0x538064[_0x5cad6a(0x25c)]['hookData'][_0x5cad6a(0x26c)]=_0xec7c8e,logger[_0x5cad6a(0x22a)](_0x5cad6a(0x1ff)+_0x50194e+_0x5cad6a(0x11b)+_0xec7c8e));try{const _0x169f47=await this[_0x5cad6a(0x16a)](_0x38a45e,_0x538064['testFrameworkState'],_0x538064[_0x5cad6a(0x1c2)],_0x538064[_0x5cad6a(0x25c)]);_0x169f47&&_0x2d464d[_0x5cad6a(0x273)](Object[_0x5cad6a(0x1b8)](_0x169f47)[_0x5cad6a(0x150)],0x0)&&_0x38a45e[_0x5cad6a(0x196)](_0x169f47);await this[_0x5cad6a(0x160)](_0x38a45e,_0x538064['testFrameworkState'],_0x538064[_0x5cad6a(0x1c2)],_0x538064[_0x5cad6a(0x25c)]);const _0x47c0df=_0x38a45e['getPendingHooks'](_0x50194e)[_0x5cad6a(0x227)](_0xc5d119=>_0xc5d119!==_0x538064);if(_0x2d464d[_0x5cad6a(0x190)](_0x47c0df[_0x5cad6a(0x150)],0x0))_0x38a45e[_0x5cad6a(0x1cc)](_0x50194e);else{_0x38a45e['removePendingHooks'](_0x50194e);for(const _0x3e7bac of _0x47c0df){_0x38a45e[_0x5cad6a(0x158)](_0x50194e,_0x3e7bac);}}logger[_0x5cad6a(0x22a)](_0x2d464d[_0x5cad6a(0x170)]);}catch(_0x57a638){logger[_0x5cad6a(0x17e)](_0x5cad6a(0x149)+_0xec7c8e+_0x5cad6a(0x28e)+_0x57a638);}}}}}}}}['mapTestHooks'](_0x53e89f){const _0x1f8b1c=a75_0x490452,_0xc0fc3c={'BhJNK':function(_0x356483){return _0x356483();}};if(!_0x53e89f||!_0x53e89f['parent'])return;_0x53e89f[_0x1f8b1c(0x18e)]['hooks']&&Array[_0x1f8b1c(0x1dc)](_0x53e89f[_0x1f8b1c(0x18e)][_0x1f8b1c(0x12d)])&&_0x53e89f[_0x1f8b1c(0x18e)][_0x1f8b1c(0x12d)]['forEach'](_0x39df13=>{const _0x5a9789=_0x1f8b1c;!_0x39df13['hookAnalyticsId']&&!_0x39df13['hookUUID']&&(_0x39df13['hookAnalyticsId']=_0xc0fc3c[_0x5a9789(0x145)](uuidv4),_0x39df13[_0x5a9789(0x1de)]=_0x39df13[_0x5a9789(0x174)],logger[_0x5a9789(0x22a)](_0x5a9789(0x218)+_0x39df13[_0x5a9789(0x268)]+_0x5a9789(0x12b)+_0x39df13['hookAnalyticsId']));}),this['mapTestHooks'](_0x53e89f[_0x1f8b1c(0x18e)]);}['getHooksForTest'](_0x42c278){const _0x28a764=a75_0x490452,_0x5484f9={'gLSAl':function(_0x201172,_0x50f1a3){return _0x201172(_0x50f1a3);}};if(!_0x42c278||!_0x42c278[_0x28a764(0x18e)])return[];const _0x3b20eb=[];return _0x42c278['parent'][_0x28a764(0x12d)]&&Array['isArray'](_0x42c278[_0x28a764(0x18e)][_0x28a764(0x12d)])&&_0x42c278[_0x28a764(0x18e)]['hooks'][_0x28a764(0x254)](_0x37134d=>{const _0x181ba5=_0x28a764,_0x5954f8=_0x37134d['hookAnalyticsId']||_0x37134d[_0x181ba5(0x1de)];_0x5954f8&&!this['isJestInternalHook'](_0x37134d)&&!_0x5484f9[_0x181ba5(0x202)](isInternalHook,_0x37134d['fn'])&&_0x3b20eb[_0x181ba5(0x1d5)](_0x5954f8);}),[..._0x3b20eb,...this[_0x28a764(0x26d)](_0x42c278[_0x28a764(0x18e)])];}[a75_0x490452(0x16d)](_0x18ad02){const _0x13fb2d=a75_0x490452,_0xb0e32e={'UzcgL':function(_0x42aee1,_0x9032aa){return _0x42aee1(_0x9032aa);},'Mjdbm':'unknown','cqapT':function(_0x3b0969,_0x184ee2){return _0x3b0969(_0x184ee2);}},_0x3838c3=new Map(),_0x1af81e=_0x728746=>{const _0x4241a7=a75_0xfb0b;if(!_0x728746||!_0x728746[_0x4241a7(0x18e)])return;_0x728746[_0x4241a7(0x18e)]['hooks']&&Array[_0x4241a7(0x1dc)](_0x728746['parent'][_0x4241a7(0x12d)])&&_0x728746[_0x4241a7(0x18e)][_0x4241a7(0x12d)][_0x4241a7(0x254)](_0x54a244=>{const _0x19b7ac=_0x4241a7,_0x551317=_0x54a244[_0x19b7ac(0x174)]||_0x54a244[_0x19b7ac(0x1de)];if(_0x551317&&!this[_0x19b7ac(0x1d1)](_0x54a244)&&!_0xb0e32e[_0x19b7ac(0x15d)](isInternalHook,_0x54a244['fn'])){const _0x307096={};_0x307096[_0x19b7ac(0x268)]=_0x54a244['type']||_0xb0e32e[_0x19b7ac(0x106)],_0x307096['name']=_0x54a244[_0x19b7ac(0x179)]||'\x22'+_0x54a244['type']+_0x19b7ac(0x195),_0x3838c3[_0x19b7ac(0x241)](_0x551317,_0x307096);}}),_0xb0e32e[_0x4241a7(0x19a)](_0x1af81e,_0x728746[_0x4241a7(0x18e)]);};return _0xb0e32e[_0x13fb2d(0x19a)](_0x1af81e,_0x18ad02),_0x3838c3;}[a75_0x490452(0x1d1)](_0x370534){const _0x37264a=a75_0x490452,_0x4c3d3e={};_0x4c3d3e['HMIEH']=_0x37264a(0x201),_0x4c3d3e[_0x37264a(0x139)]=_0x37264a(0x1d8);const _0x43925f=_0x4c3d3e;try{const _0x524fa0=this['getRootParentFile'](_0x370534);return _0x524fa0&&_0x524fa0[_0x37264a(0x11a)](_0x43925f[_0x37264a(0x25a)]);}catch(_0x15adb6){logger[_0x37264a(0x22a)](_0x43925f['fhotd']);}return![];}[a75_0x490452(0x114)](_0x4bc6cf){const _0x422bf3=a75_0x490452;if(_0x4bc6cf[_0x422bf3(0x189)])try{const _0x53205f=stackTrace[_0x422bf3(0x112)](_0x4bc6cf[_0x422bf3(0x189)]);return _0x53205f[0x0]?_0x53205f[0x0][_0x422bf3(0x274)]():null;}catch(_0x1b7275){logger[_0x422bf3(0x22a)]('[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20'+util[_0x422bf3(0x21d)](_0x1b7275));}if(_0x4bc6cf[_0x422bf3(0x157)])return _0x4bc6cf[_0x422bf3(0x157)];return null;}}module[a75_0x490452(0x1f8)]=JestTestFramework;
@@ -1 +1 @@
1
- function a76_0x2638(_0x1fa6ea,_0x455b31){const _0xfff5f8=a76_0xfff5();return a76_0x2638=function(_0x263872,_0x4c4df7){_0x263872=_0x263872-0x17b;let _0x48526d=_0xfff5f8[_0x263872];return _0x48526d;},a76_0x2638(_0x1fa6ea,_0x455b31);}const a76_0x551537=a76_0x2638;(function(_0x4cee5f,_0x2aeff6){const _0x5a5d26=a76_0x2638,_0x3b31f3=_0x4cee5f();while(!![]){try{const _0x4e9cdd=-parseInt(_0x5a5d26(0x19a))/0x1+-parseInt(_0x5a5d26(0x1a5))/0x2*(-parseInt(_0x5a5d26(0x1a4))/0x3)+parseInt(_0x5a5d26(0x192))/0x4*(parseInt(_0x5a5d26(0x18f))/0x5)+-parseInt(_0x5a5d26(0x17c))/0x6+parseInt(_0x5a5d26(0x197))/0x7*(parseInt(_0x5a5d26(0x19e))/0x8)+parseInt(_0x5a5d26(0x1a2))/0x9+parseInt(_0x5a5d26(0x18d))/0xa*(-parseInt(_0x5a5d26(0x180))/0xb);if(_0x4e9cdd===_0x2aeff6)break;else _0x3b31f3['push'](_0x3b31f3['shift']());}catch(_0x2193c6){_0x3b31f3['push'](_0x3b31f3['shift']());}}}(a76_0xfff5,0x54003));function a76_0xfff5(){const _0x3c337b=['CREATE','message','trackEvent:\x20automationFrameworkState=','logger','exports','\x20hookState=','getCurrentInstanceName','PlaywrightAutomationFramework','trackEvent','70aKlVaU','NhuII','40PTGfnV','IGQez','trackPlaywrightInstance','260868hISEZF','getId','getTrackedInstance','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','info','4162361SjUTYE','createContext','../instances/automationFrameworkInstance.js','592369pTzSXZ','../state/automationFrameworkState.js','params','getAutomationFrameworkVersion','8bDNSZL','../instances/trackedInstance.js','trackPlaywrightInstance:\x20instance\x20already\x20exists',',\x20state=','1419840pVvoDP','NcPvG','305301PleOQC','10jEkUam','instance','YADIG','2373342JuoaZe','../../../helpers/classLogger.js','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','bsParams','708653AUMxIQ','getAutomationFrameworkName','PLAYWRIGHT_DISPATCH','./automationFramework.js'];a76_0xfff5=function(){return _0x3c337b;};return a76_0xfff5();}const AutomationFramework=require(a76_0x551537(0x183)),{createClassLogger}=require(a76_0x551537(0x17d)),AutomationFrameworkState=require(a76_0x551537(0x19b)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a76_0x551537(0x19f)),AutomationFrameworkInstance=require(a76_0x551537(0x199));class PlaywrightAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a76_0x551537(0x18b));constructor(_0x365b8f,_0x1a6958){super(_0x365b8f,_0x1a6958);}async[a76_0x551537(0x18c)](_0x332357,_0x2cd4f5,_0x1b610b={}){const _0x238bfe=a76_0x551537,_0x5b481c={};_0x5b481c[_0x238bfe(0x190)]=function(_0xfcc38c,_0x1bd62c){return _0xfcc38c===_0x1bd62c;};const _0x1944a0=_0x5b481c;this['logger']['debug'](_0x238bfe(0x186)+_0x332357+_0x238bfe(0x189)+_0x2cd4f5),await super[_0x238bfe(0x18c)](_0x332357,_0x2cd4f5,_0x1b610b);const _0x5a2dac=this['resolveInstance'](_0x332357,_0x2cd4f5,_0x1b610b);if(_0x1944a0[_0x238bfe(0x190)](_0x5a2dac,null))return;_0x1b610b[_0x238bfe(0x1a6)]=_0x5a2dac,await this['runHooks'](_0x5a2dac,_0x332357,_0x2cd4f5,_0x1b610b);}['resolveInstance'](_0x443396,_0x654372,_0x3bee26={}){const _0x3c5a05=a76_0x551537,_0x2352f4={};_0x2352f4[_0x3c5a05(0x18e)]=function(_0x49f472,_0x1fa23c){return _0x49f472===_0x1fa23c;},_0x2352f4[_0x3c5a05(0x17b)]=function(_0x37c28d,_0x5cfd82){return _0x37c28d===_0x5cfd82;};const _0x5c62e4=_0x2352f4;let _0x4cfff6=null;return(_0x5c62e4[_0x3c5a05(0x18e)](_0x443396,AutomationFrameworkState[_0x3c5a05(0x184)])||_0x5c62e4[_0x3c5a05(0x18e)](_0x443396,AutomationFrameworkState[_0x3c5a05(0x182)])&&(_0x3bee26[_0x3c5a05(0x185)]&&_0x3bee26[_0x3c5a05(0x185)][_0x3c5a05(0x19c)]&&_0x3bee26[_0x3c5a05(0x185)]['params'][_0x3c5a05(0x17f)])||_0x5c62e4[_0x3c5a05(0x17b)](_0x443396,AutomationFrameworkState['NONE']))&&this['trackPlaywrightInstance'](_0x443396,_0x3bee26),_0x4cfff6=AutomationFramework['getTrackedInstance'](),_0x4cfff6;}[a76_0x551537(0x191)](_0x2c31ef,_0x576b5a){const _0x3e17d5=a76_0x551537,_0x13d650={};_0x13d650[_0x3e17d5(0x1a3)]=_0x3e17d5(0x1a0);const _0x1d8cdb=_0x13d650;if(AutomationFramework[_0x3e17d5(0x194)]()){this['logger'][_0x3e17d5(0x196)](_0x1d8cdb[_0x3e17d5(0x1a3)]);return;}const _0x3e0741=CLIUtils[_0x3e17d5(0x18a)](),_0x774b0e=TrackedInstance[_0x3e17d5(0x198)](_0x3e0741);let _0x30f834=null;this[_0x3e17d5(0x187)][_0x3e17d5(0x196)](_0x3e17d5(0x195)+_0x3e0741+_0x3e17d5(0x1a1)+_0x2c31ef),_0x30f834=new AutomationFrameworkInstance(_0x774b0e,this[_0x3e17d5(0x181)](),this[_0x3e17d5(0x19d)](),_0x2c31ef),AutomationFramework['setTrackedInstance'](_0x774b0e,_0x30f834),this[_0x3e17d5(0x187)][_0x3e17d5(0x196)](_0x3e17d5(0x17e)+_0x774b0e[_0x3e17d5(0x193)]()+'\x20target='+_0x3e0741);}}module[a76_0x551537(0x188)]=PlaywrightAutomationFramework;
1
+ function a76_0x18fc(){const _0x219677=['../instances/trackedInstance.js','instance','getTrackedInstance','386JrqNGL','../cliUtils.js','88ilJHUH','../../../helpers/classLogger.js','Xyqoa','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','info','5221179eMzbYB','getId','\x20target=','CREATE','../instances/automationFrameworkInstance.js','getCurrentInstanceName','1371bsXnIv','trackPlaywrightInstance:\x20instance\x20already\x20exists','bsParams','../state/automationFrameworkState.js','createContext','PLAYWRIGHT_DISPATCH','getAutomationFrameworkVersion','message','PlaywrightAutomationFramework','2200480EwWfPG','getAutomationFrameworkName','trackEvent:\x20automationFrameworkState=','runHooks','logger','6ILXsVe','exports','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','11526ZDfxip','1509350HNhKSq','JQMOz','trackPlaywrightInstance','nRryR','864305bKdqyg','2681994cDCAZS','resolveInstance'];a76_0x18fc=function(){return _0x219677;};return a76_0x18fc();}const a76_0x2160b4=a76_0x27f4;(function(_0x5ca216,_0x3a2fe5){const _0x71658d=a76_0x27f4,_0x16c46c=_0x5ca216();while(!![]){try{const _0x58c5f0=parseInt(_0x71658d(0x163))/0x1*(-parseInt(_0x71658d(0x156))/0x2)+-parseInt(_0x71658d(0x174))/0x3*(parseInt(_0x71658d(0x158))/0x4)+-parseInt(_0x71658d(0x150))/0x5+parseInt(_0x71658d(0x171))/0x6*(parseInt(_0x71658d(0x151))/0x7)+-parseInt(_0x71658d(0x16c))/0x8+parseInt(_0x71658d(0x15d))/0x9+parseInt(_0x71658d(0x175))/0xa;if(_0x58c5f0===_0x3a2fe5)break;else _0x16c46c['push'](_0x16c46c['shift']());}catch(_0x32a42b){_0x16c46c['push'](_0x16c46c['shift']());}}}(a76_0x18fc,0x4d6e8));const AutomationFramework=require('./automationFramework.js'),{createClassLogger}=require(a76_0x2160b4(0x159)),AutomationFrameworkState=require(a76_0x2160b4(0x166)),CLIUtils=require(a76_0x2160b4(0x157)),TrackedInstance=require(a76_0x2160b4(0x153)),AutomationFrameworkInstance=require(a76_0x2160b4(0x161));function a76_0x27f4(_0x494b67,_0x4501d0){const _0x18fc58=a76_0x18fc();return a76_0x27f4=function(_0x27f440,_0x13b77c){_0x27f440=_0x27f440-0x150;let _0x5304d6=_0x18fc58[_0x27f440];return _0x5304d6;},a76_0x27f4(_0x494b67,_0x4501d0);}class PlaywrightAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a76_0x2160b4(0x16b));constructor(_0x1605b0,_0x37e405){super(_0x1605b0,_0x37e405);}async['trackEvent'](_0x44bc37,_0x2eee04,_0x135c16={}){const _0x22e405=a76_0x2160b4,_0x99be69={};_0x99be69[_0x22e405(0x178)]=function(_0x5d857c,_0x1fd184){return _0x5d857c===_0x1fd184;};const _0x226931=_0x99be69;this['logger']['debug'](_0x22e405(0x16e)+_0x44bc37+'\x20hookState='+_0x2eee04),await super['trackEvent'](_0x44bc37,_0x2eee04,_0x135c16);const _0x47d651=this[_0x22e405(0x152)](_0x44bc37,_0x2eee04,_0x135c16);if(_0x226931[_0x22e405(0x178)](_0x47d651,null))return;_0x135c16[_0x22e405(0x154)]=_0x47d651,await this[_0x22e405(0x16f)](_0x47d651,_0x44bc37,_0x2eee04,_0x135c16);}['resolveInstance'](_0x5ee317,_0x2f40de,_0x24a823={}){const _0x3580d9=a76_0x2160b4,_0x53c6e9={};_0x53c6e9[_0x3580d9(0x15a)]=function(_0x45f0f9,_0xf7bd03){return _0x45f0f9===_0xf7bd03;};const _0x455b98=_0x53c6e9;let _0x5cb303=null;return(_0x455b98[_0x3580d9(0x15a)](_0x5ee317,AutomationFrameworkState[_0x3580d9(0x160)])||_0x455b98[_0x3580d9(0x15a)](_0x5ee317,AutomationFrameworkState[_0x3580d9(0x168)])&&(_0x24a823['message']&&_0x24a823['message']['params']&&_0x24a823[_0x3580d9(0x16a)]['params'][_0x3580d9(0x165)])||_0x455b98[_0x3580d9(0x15a)](_0x5ee317,AutomationFrameworkState['NONE']))&&this[_0x3580d9(0x177)](_0x5ee317,_0x24a823),_0x5cb303=AutomationFramework[_0x3580d9(0x155)](),_0x5cb303;}['trackPlaywrightInstance'](_0x4c2343,_0x363673){const _0x439029=a76_0x2160b4,_0x54b1b1={};_0x54b1b1[_0x439029(0x176)]=_0x439029(0x164);const _0x2f7b37=_0x54b1b1;if(AutomationFramework[_0x439029(0x155)]()){this[_0x439029(0x170)][_0x439029(0x15c)](_0x2f7b37['JQMOz']);return;}const _0x3f5448=CLIUtils[_0x439029(0x162)](),_0x5e2526=TrackedInstance[_0x439029(0x167)](_0x3f5448);let _0x1e852d=null;this[_0x439029(0x170)][_0x439029(0x15c)](_0x439029(0x15b)+_0x3f5448+',\x20state='+_0x4c2343),_0x1e852d=new AutomationFrameworkInstance(_0x5e2526,this[_0x439029(0x16d)](),this[_0x439029(0x169)](),_0x4c2343),AutomationFramework['setTrackedInstance'](_0x5e2526,_0x1e852d),this[_0x439029(0x170)]['info'](_0x439029(0x173)+_0x5e2526[_0x439029(0x15e)]()+_0x439029(0x15f)+_0x3f5448);}}module[a76_0x2160b4(0x172)]=PlaywrightAutomationFramework;
@@ -1 +1 @@
1
- const a77_0x4af21f=a77_0x18f0;function a77_0x304f(){const _0x2b799a=['ddBbv','PRE','nJaKx','lYEXA','../grpcClient','zDbFL','IxPVR','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','stack','errors','base64','mIWDo','KEY_TEST_SCOPE','KEY_HOOKS_STARTED','Error\x20processing\x20trace\x20file\x20','bjNrE','field_type','3472566vLmyVJ','xEcza','get','RFnln','INIT_TEST','KEY_AUTOMATE_SESSION_NAME','INaTW','sendLogCreatedEvent','1006151bqKPME','\x20response=','KEY_TEST_LOGS','slice','2TqddmU','matchHookRegex','MlHpy','parallelIndex','FcfBG','trackEvent','1583696RUGCRX','eventJson','../state/testFrameworkState.js','KEY_CUSTOM_TAGS','iIjQk','\x20payload=','split','sendLogCreatedEvent\x20for\x20testId:\x20','testUId','length','KEY_HOOK_LOGS','push','trackPlaywrightInstance','annotations','filePath','iQdVq','./testFramework','../instances/trackedInstance.js','KdQHX','instance','TEST_SCREENSHOT','createTestFrameworkEventPayload','size','../state/hookState.js','getInstance','260836MMpVRw','KEY_HOOK_FAILURE_REASON','DEFAULT_HOOK_RESULT','Bbwkp','file_name','IAyvA','trackHookEvent','NONE','KEY_TEST_ENDED_AT','NhuTH','../TestInfo.js','\x20batch\x20','OynKg','JIazk','KEY_TEST_RETRY_OF','endedAt','failed','parsePlaywrightTestResult','TEST','BsJOl',',\x20state=','GPaVs','No\x20reason\x20provided','message','iKzVT','getTraceFilePaths','\x20instanceId=','KEY_TEST_CODE','8627661CtozbT','KEY_TEST_ATTACHMENTS','result','addMultipleEntries','createContext','test','sBTiY','uuid','oFhxL','expectedStatus','JSXlE','../../../helpers/classLogger.js','zxyoD','KEY_TEST_RERUN_NAME','ciokl','path','KEY_TEST_FILE_PATH','../instances/testFrameworkInstance.js','KEY_EVENT_ENDED_AT','KEY_HOOK_ID','hook','RxCSH','trim','testFrameworkState','vuJgz','logCreatedEvent','resolveInstance','getRef','filter','KEY_TEST_STARTED_AT','format','getTestIdentifierFromTestInfo','passed','attachments','hookState','xZACZ','eOhIG','../../../helpers/test-observability/utils','KEY_TEST_FRAMEWORK_NAME','\x20from\x20TestDetails:\x20','TcKWm','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','platformIndex','ODSxr','KEY_LOGS','cfOwe','jfcwB','VLQeX','setTrackedInstance','\x20result=','getTestUUID','mnZQK','getCurrentHookState','7958300CZPBOI','duration','getThreadId','czhqp','browserstackPlatformIndex','exports','JkanX','KEY_HOOK_LAST_FINISHED','../../playwright/reporter/pwUtils','EpYOh','pop','EbzKn','statSync','KEY_TEST_UUID','kysWW','NpcLI','concat','values','\x20hookState:\x20','KEY_TEST_LOCATION','KEY_TEST_FRAMEWORK_VERSION','toISOString','KEY_HOOK_LAST_STARTED','rwsxz','KEY_TEST_RESULT','startTime','setTestDetails','err','wglwZ','toString','KEY_TEST_NAME','retry','../../../helpers/helper.js','createTestFrameworkEventPayload\x20testId:\x20','timedOut','./constants/testFrameworkConstants.js','getTestFrameworks','description','Eipjb','from','Kmsve','Hook\x20List\x20in\x20Post\x20','util','lophv','debug','\x20testHookState=','KEY_HOOK_FAILURE_TYPE','HlwLa','../../utils/constants','KEY_HOOK_RESULT','JHqwT','error','inspect','UjBjK','DEFAULT_TEST_RESULT','getCurrentTestState','trackEvent:\x20found\x20instance,\x20testFrameworkState=','uwBqP','FVvIV','PlaywrightTestFramework','ceil','testFrameworkVersion','TxaMO','parsePlaywrightTest','getCurrentInstanceName','getTestFrameworksVersions','getProcessId','info','yltyE','getAllData','boZOf','../cliUtils.js','MuDnQ','getTrackedInstance','KEY_TEST_TAGS','KEY_HOOK_NAME','steps','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','Error\x20in\x20createTestFrameworkEventPayload:\x20','KEY_HOOKS_FINISHED','qrbgS','getTestDetails','Error\x20processing\x20direct\x20trace\x20file\x20','basename','startedAt','status','step','xNUbc','uUHXt','IGlmq','3378546FtRFEb','getContext','results','KEY_TEST_FAILURE_REASON','wkdml','gbvGP','\x20&\x20hook\x20=\x20','\x20\x20and\x20args\x20=\x20','70oIemmO','Expected\x20to\x20fail,\x20but\x20passed.'];a77_0x304f=function(){return _0x2b799a;};return a77_0x304f();}(function(_0x368efa,_0x11d20a){const _0x3ae1ed=a77_0x18f0,_0x5e1779=_0x368efa();while(!![]){try{const _0x31ef1d=parseInt(_0x3ae1ed(0x19e))/0x1+parseInt(_0x3ae1ed(0x1a2))/0x2*(-parseInt(_0x3ae1ed(0x17b))/0x3)+-parseInt(_0x3ae1ed(0x1c1))/0x4*(parseInt(_0x3ae1ed(0x183))/0x5)+-parseInt(_0x3ae1ed(0x196))/0x6+parseInt(_0x3ae1ed(0x213))/0x7+parseInt(_0x3ae1ed(0x1a8))/0x8+parseInt(_0x3ae1ed(0x1dd))/0x9;if(_0x31ef1d===_0x11d20a)break;else _0x5e1779['push'](_0x5e1779['shift']());}catch(_0x29d717){_0x5e1779['push'](_0x5e1779['shift']());}}}(a77_0x304f,0xa672d));function a77_0x18f0(_0x4784be,_0x414acd){const _0x304fc3=a77_0x304f();return a77_0x18f0=function(_0x18f07d,_0x5817d5){_0x18f07d=_0x18f07d-0x13b;let _0x4ba642=_0x304fc3[_0x18f07d];return _0x4ba642;},a77_0x18f0(_0x4784be,_0x414acd);}const TestFramework=require(a77_0x4af21f(0x1b8)),TestFrameworkState=require(a77_0x4af21f(0x1aa)),HookState=require(a77_0x4af21f(0x1bf)),{createClassLogger}=require(a77_0x4af21f(0x1e8)),TestFrameworkInstance=require(a77_0x4af21f(0x1ee)),CLIUtils=require(a77_0x4af21f(0x168)),TrackedInstance=require(a77_0x4af21f(0x1b9)),TestFrameworkConstants=require(a77_0x4af21f(0x144)),logger=createClassLogger(a77_0x4af21f(0x15c)),{v4:uuidv4}=require(a77_0x4af21f(0x1e4)),util=require(a77_0x4af21f(0x14b)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a77_0x4af21f(0x141)),TestInfo=require(a77_0x4af21f(0x1cb)),GrpcClient=require(a77_0x4af21f(0x189)),{removeAnsiColors,getFailureType,failureData}=require(a77_0x4af21f(0x202)),{getFailureData,getTestTags,getTestRunIdentifier}=require('../../playwright/reporter/pwUtils'),{findNestedKey,sendTraceZip,validateFilePath}=require(a77_0x4af21f(0x21b)),path=require(a77_0x4af21f(0x1ec)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require(a77_0x4af21f(0x151));class PlaywrightTestFramework extends TestFramework{constructor(_0x4f4a65,_0x4bc608,_0x45cc6e){super(_0x4f4a65,_0x4bc608,_0x45cc6e);}async[a77_0x4af21f(0x1a7)](_0x3ce3c0,_0x225b28,_0x351676={}){const _0x553c33=a77_0x4af21f,_0x773ed8={'kysWW':function(_0x488126,_0x652719){return _0x488126===_0x652719;},'xZACZ':function(_0x1ccc67,_0x5b55d0){return _0x1ccc67===_0x5b55d0;},'IAyvA':function(_0x4917d6,_0x2436af,_0x467881){return _0x4917d6(_0x2436af,_0x467881);},'Eipjb':_0x553c33(0x1e2),'wNFkK':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super[_0x553c33(0x1a7)](_0x3ce3c0,_0x225b28,_0x351676);if(_0x773ed8[_0x553c33(0x221)](_0x3ce3c0,TestFrameworkState[_0x553c33(0x1bc)])){const _0x98ee0b=TestInfo[_0x553c33(0x1fc)](_0x351676['test'],_0x351676[_0x553c33(0x1e2)][_0x553c33(0x140)]);TestInfo[_0x553c33(0x13b)](_0x98ee0b,_0x351676['result'],!![]);}const _0x3e1131=this['resolveInstance'](_0x3ce3c0,_0x225b28,_0x351676);if(!_0x3e1131)return;logger[_0x553c33(0x14d)](_0x553c33(0x159)+_0x3ce3c0+'\x20hookState='+_0x225b28+_0x553c33(0x1db)+_0x3e1131['getRef']());try{if(_0x773ed8[_0x553c33(0x200)](_0x225b28,HookState['PRE'])&&_0x773ed8['kysWW'](_0x3ce3c0,TestFrameworkState['TEST'])){const _0x3b5216=_0x351676[_0x553c33(0x1e2)];logger[_0x553c33(0x14d)](_0x553c33(0x18c)+_0x3b5216['id']+'}');const _0x165c03=TestInfo[_0x553c33(0x210)](_0x773ed8[_0x553c33(0x1c6)](getTestRunIdentifier,_0x3b5216,_0x351676[_0x553c33(0x1df)][_0x553c33(0x140)]));_0x3e1131[_0x553c33(0x1e0)](this[_0x553c33(0x160)](_0x165c03,_0x3b5216,_0x351676[_0x553c33(0x1df)])),logger[_0x553c33(0x14d)](_0x553c33(0x16e)+_0x3b5216['id']+',\x20testFrameworkState='+_0x3ce3c0+_0x553c33(0x14e)+_0x225b28+'\x20instance='+_0x3e1131[_0x553c33(0x1f8)]());}if(_0x773ed8[_0x553c33(0x200)](_0x225b28,HookState['POST'])&&_0x773ed8[_0x553c33(0x221)](_0x3ce3c0,TestFrameworkState[_0x553c33(0x1d3)])){const _0x115060=_0x351676[_0x553c33(0x1e2)],_0x17484b=_0x351676[_0x553c33(0x1df)];logger[_0x553c33(0x14d)]('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x115060['id']),_0x3e1131['addMultipleEntries'](this[_0x553c33(0x1d2)](_0x115060['id'],_0x17484b,_0x115060)),await this[_0x553c33(0x19d)](_0x3e1131,_0x3ce3c0,_0x225b28,_0x773ed8[_0x553c33(0x147)],_0x351676);}if(CLIUtils[_0x553c33(0x1a3)](_0x3ce3c0[_0x553c33(0x13e)]()[_0x553c33(0x1ae)]('.')[0x1])){const _0xa08b3c=await this[_0x553c33(0x1c7)](_0x3e1131,_0x3ce3c0,_0x225b28,_0x351676);_0x3e1131[_0x553c33(0x1e0)](_0xa08b3c);}}catch(_0x6d46ab){logger[_0x553c33(0x154)](util[_0x553c33(0x1fb)](_0x773ed8['wNFkK'],_0x3ce3c0,_0x225b28,_0x351676[_0x553c33(0x1b1)],_0x6d46ab));}_0x351676[_0x553c33(0x1bb)]=_0x3e1131,await this['runHooks'](_0x3e1131,_0x3ce3c0,_0x225b28,_0x351676);}[a77_0x4af21f(0x1f7)](_0x4eca8b,_0xead7f7,_0x4d10a0={}){const _0x3b54d4=a77_0x4af21f,_0x45cc8b={};_0x45cc8b['JkanX']=function(_0x312e4b,_0x4ea6e6){return _0x312e4b===_0x4ea6e6;};const _0x214581=_0x45cc8b;let _0x3d5e59=null;return(_0x214581[_0x3b54d4(0x219)](_0x4eca8b,TestFrameworkState[_0x3b54d4(0x19a)])||_0x214581[_0x3b54d4(0x219)](_0x4eca8b,TestFrameworkState[_0x3b54d4(0x1c8)]))&&this[_0x3b54d4(0x1b4)](_0x4eca8b,_0x4d10a0),_0x3d5e59=TestFramework[_0x3b54d4(0x16a)](),_0x3d5e59;}[a77_0x4af21f(0x1b4)](_0x179922,_0x2e0aa8){const _0xdf7be5=a77_0x4af21f,_0x56b22d=CLIUtils[_0xdf7be5(0x161)](),_0x2ceed8=TrackedInstance[_0xdf7be5(0x1e1)](_0x56b22d);let _0x2fe5af=null;logger[_0xdf7be5(0x164)](_0xdf7be5(0x207)+_0x56b22d+_0xdf7be5(0x1d5)+_0x179922),_0x2fe5af=new TestFrameworkInstance(_0x2ceed8,this[_0xdf7be5(0x145)](),this[_0xdf7be5(0x162)](),_0x179922,HookState[_0xdf7be5(0x1c8)]),TestFramework[_0xdf7be5(0x20e)](_0x2ceed8,_0x2fe5af),logger[_0xdf7be5(0x164)]('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x2ceed8['getId']()+'\x20target='+_0x56b22d);}[a77_0x4af21f(0x160)](_0x5399ed,_0x478882,_0x40e980){const _0x313ad1=a77_0x4af21f,_0x1adb43={'iKzVT':function(_0x3a5405,_0x57c2ba){return _0x3a5405(_0x57c2ba);},'JSXlE':function(_0x464a04,_0x2a29a2){return _0x464a04(_0x2a29a2);},'xNUbc':function(_0x4fce51,_0x1329ea){return _0x4fce51(_0x1329ea);},'sBTiY':function(_0x1d413c,_0x134cc5){return _0x1d413c(_0x134cc5);},'EbzKn':function(_0x552cf5,_0x5289e1){return _0x552cf5(_0x5289e1);},'BsJOl':function(_0x454886,_0x3d49b1,_0x953fab){return _0x454886(_0x3d49b1,_0x953fab);}},_0x5dc516=_0x1adb43[_0x313ad1(0x1d9)](getPlaywrightTestId,_0x478882),_0x2abb81=_0x1adb43[_0x313ad1(0x1d9)](getPlaywrightTestTitle,_0x478882),_0x32e400=_0x1adb43[_0x313ad1(0x1d9)](getTestTags,_0x478882),_0x1f18e7=_0x1adb43[_0x313ad1(0x1d9)](getPlaywrightTestCode,_0x478882),_0x593cb3=_0x1adb43[_0x313ad1(0x1e7)](getPlaywrightTestFilePath,_0x478882),_0xc4ddad=_0x593cb3+':'+_0x1adb43[_0x313ad1(0x178)](getPlaywrightTestLocation,_0x478882),_0x573c05=_0x1adb43[_0x313ad1(0x1e7)](getPlaywrightTestScope,_0x478882),_0x8c15d2=_0x1adb43[_0x313ad1(0x1e3)](getPlaywrightTestScopes,_0x478882),_0x38cdcc=_0x1adb43['EbzKn'](getPlaywrightSessionName,_0x478882),_0x55143f=this[_0x313ad1(0x145)]()[0x0],_0x2be124=_0x1adb43[_0x313ad1(0x1d4)](getTestRunIdentifier,_0x478882,_0x40e980['retry']),_0x2a07ee={[TestFrameworkConstants[_0x313ad1(0x203)]]:_0x55143f,[TestFrameworkConstants[_0x313ad1(0x227)]]:this[_0x313ad1(0x162)]()[_0x55143f],[TestFrameworkConstants[_0x313ad1(0x1a0)]]:[],[TestFrameworkConstants[_0x313ad1(0x170)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x313ad1(0x220)]]:_0x5399ed,[TestFrameworkConstants[_0x313ad1(0x22b)]]:TestFrameworkConstants[_0x313ad1(0x157)],[TestFrameworkConstants[_0x313ad1(0x19b)]]:_0x38cdcc,[TestFrameworkConstants[_0x313ad1(0x1ed)]]:_0x593cb3,[TestFrameworkConstants['KEY_TEST_ID']]:_0x5dc516,[TestFrameworkConstants[_0x313ad1(0x13f)]]:_0x2abb81,[TestFrameworkConstants[_0x313ad1(0x226)]]:_0xc4ddad,[TestFrameworkConstants[_0x313ad1(0x1dc)]]:_0x1f18e7,[TestFrameworkConstants[_0x313ad1(0x16b)]]:_0x32e400,[TestFrameworkConstants[_0x313ad1(0x1fa)]]:_0x478882[_0x313ad1(0x17d)][0x0][_0x313ad1(0x22c)],[TestFrameworkConstants[_0x313ad1(0x191)]]:_0x573c05,[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x8c15d2,[TestFrameworkConstants[_0x313ad1(0x1ea)]]:_0x1adb43[_0x313ad1(0x21e)](getPlaywrightCustomRerunParam,_0x478882)};TestInfo[_0x313ad1(0x13b)](_0x2be124,_0x2a07ee);const _0x59abe2={};return _0x59abe2[_0x2be124]=_0x2a07ee,_0x59abe2;}[a77_0x4af21f(0x1d2)](_0x1f041f,_0x5746af,_0x109480){const _0x4e2376=a77_0x4af21f,_0x374b8a={'TxaMO':function(_0x4cd6bd,_0x23abe9){return _0x4cd6bd(_0x23abe9);},'IGlmq':'TEST_ATTACHMENT','mIWDo':function(_0x166f32,_0x321fa9){return _0x166f32===_0x321fa9;},'vuJgz':function(_0x4ad8f7,_0x4ca353){return _0x4ad8f7===_0x4ca353;},'LjMRm':_0x4e2376(0x1d7),'ddBbv':'multi_dropdown','mnZQK':function(_0x224fcd,_0x2b32a1){return _0x224fcd(_0x2b32a1);},'FVvIV':function(_0xa673a0,_0x226089,_0x237f30){return _0xa673a0(_0x226089,_0x237f30);},'boZOf':function(_0x2ffc41,_0x4efdfa){return _0x2ffc41+_0x4efdfa;},'lophv':function(_0x576553,_0x2702c1){return _0x576553===_0x2702c1;},'nJaKx':'skipped','RxCSH':_0x4e2376(0x1fd),'MuDnQ':_0x4e2376(0x1d1),'cfOwe':function(_0x5a4f15,_0x5438ab){return _0x5a4f15===_0x5438ab;},'qrbgS':_0x4e2376(0x143),'Bbwkp':_0x4e2376(0x184),'rwsxz':function(_0x141576,_0x5402d2,_0x155de3){return _0x141576(_0x5402d2,_0x155de3);},'KdQHX':function(_0x4798a4,_0x330e25){return _0x4798a4||_0x330e25;},'xEcza':function(_0x56b616,_0x2153b0){return _0x56b616(_0x2153b0);},'TcKWm':function(_0x4c8ff1,_0x4b1e82){return _0x4c8ff1(_0x4b1e82);},'eOhIG':function(_0x2d7177,_0x53b4ae){return _0x2d7177>_0x53b4ae;},'IxPVR':function(_0x5a1da4,_0x45de7f){return _0x5a1da4-_0x45de7f;},'uwBqP':'path','wkdml':function(_0x231274,_0x3bc049){return _0x231274(_0x3bc049);},'czhqp':function(_0x510be3,_0x237786,_0x1b3e9d){return _0x510be3(_0x237786,_0x1b3e9d);}};logger[_0x4e2376(0x14d)]('parsePlaywrightTestResult:\x20testId='+_0x1f041f);const _0x5903e1=_0x374b8a[_0x4e2376(0x15b)](getTestRunIdentifier,_0x109480,_0x5746af[_0x4e2376(0x140)]),_0x337357=new Date(_0x5746af[_0x4e2376(0x22c)]),_0x41e936=_0x5746af[_0x4e2376(0x214)],_0x46db07=new Date(_0x374b8a[_0x4e2376(0x167)](_0x337357['getTime'](),_0x41e936)),_0x56aaee=_0x5746af[_0x4e2376(0x176)],_0x4318fe=TestInfo[_0x4e2376(0x172)](_0x5903e1)[TestFrameworkConstants[_0x4e2376(0x1ab)]]||{};let _0x2e9a28=_0x56aaee;if(_0x374b8a[_0x4e2376(0x1f5)](_0x5746af['status'],_0x109480[_0x4e2376(0x1e6)]))_0x2e9a28=_0x374b8a[_0x4e2376(0x14c)](_0x5746af[_0x4e2376(0x176)],_0x374b8a[_0x4e2376(0x187)])?_0x374b8a[_0x4e2376(0x187)]:_0x374b8a['RxCSH'];else{(_0x374b8a[_0x4e2376(0x1f5)](_0x2e9a28,_0x374b8a['RxCSH'])||_0x374b8a[_0x4e2376(0x1f5)](_0x2e9a28,_0x374b8a[_0x4e2376(0x169)])||_0x374b8a[_0x4e2376(0x20b)](_0x2e9a28,_0x374b8a[_0x4e2376(0x171)]))&&(_0x2e9a28=_0x374b8a[_0x4e2376(0x169)]);if(_0x374b8a[_0x4e2376(0x20b)](_0x5746af[_0x4e2376(0x176)],_0x374b8a[_0x4e2376(0x1f2)])&&_0x374b8a[_0x4e2376(0x20b)](_0x109480[_0x4e2376(0x1e6)],_0x374b8a['MuDnQ'])){const _0x4e15d5={};_0x4e15d5[_0x4e2376(0x1d8)]=_0x374b8a['Bbwkp'],_0x4e15d5[_0x4e2376(0x18d)]=_0x374b8a[_0x4e2376(0x1c4)],_0x5746af['error']=_0x4e15d5,_0x5746af[_0x4e2376(0x18e)]=[_0x5746af[_0x4e2376(0x154)]];}}const {failureData:_0x153067,logs:_0x2f6d01}=_0x374b8a[_0x4e2376(0x22a)](getFailureData,_0x5746af?.[_0x4e2376(0x18e)],{}),_0x4bd6bc={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x374b8a[_0x4e2376(0x1ba)](_0x153067,null),[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x5746af?.['error']&&_0x374b8a[_0x4e2376(0x197)](getFailureType,_0x5746af['error']['message']),[TestFrameworkConstants[_0x4e2376(0x17e)]]:_0x5746af?.[_0x4e2376(0x154)]&&_0x374b8a[_0x4e2376(0x205)](removeAnsiColors,_0x5746af[_0x4e2376(0x154)]['message']),[TestFrameworkConstants[_0x4e2376(0x20a)]]:[],[TestFrameworkConstants[_0x4e2376(0x22b)]]:_0x2e9a28,[TestFrameworkConstants[_0x4e2376(0x1c9)]]:_0x46db07['toISOString'](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x4318fe};if(_0x5746af&&_0x374b8a[_0x4e2376(0x201)](_0x5746af[_0x4e2376(0x140)],0x0)){const _0x4fde60=TestInfo['getTestUUID'](_0x374b8a[_0x4e2376(0x22a)](getTestRunIdentifier,_0x109480,_0x374b8a[_0x4e2376(0x18b)](_0x5746af['retry'],0x1)));_0x4bd6bc[TestFrameworkConstants[_0x4e2376(0x1cf)]]=_0x4fde60;}const _0x13ac91={};_0x13ac91[_0x4e2376(0x1e2)]=_0x109480;const _0x52f232=this[_0x4e2376(0x1f7)](TestFrameworkState[_0x4e2376(0x1d3)],HookState['POST'],_0x13ac91),_0x52c1f7=_0x52f232[_0x4e2376(0x166)]()[_0x4e2376(0x198)](_0x5903e1)[TestFrameworkConstants[_0x4e2376(0x220)]],_0x21c3da=[],_0x14ffe3=_0x374b8a[_0x4e2376(0x22a)](findNestedKey,_0x5746af,_0x374b8a[_0x4e2376(0x15a)]);if(_0x14ffe3&&_0x374b8a[_0x4e2376(0x17f)](validateFilePath,_0x14ffe3))try{_0x21c3da['push']({'kind':_0x374b8a[_0x4e2376(0x17a)],'timestamp':new Date()[_0x4e2376(0x228)](),'test_run_uuid':_0x52c1f7,'file_name':path[_0x4e2376(0x174)](_0x14ffe3),'file_size':fs[_0x4e2376(0x21f)](_0x14ffe3)[_0x4e2376(0x1be)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x496383){logger[_0x4e2376(0x154)](_0x4e2376(0x173)+_0x14ffe3+':\x20'+_0x496383[_0x4e2376(0x1d8)]);}const _0xd1b845=TestInfo[_0x4e2376(0x1da)](),_0x2630a4=_0xd1b845[_0x4e2376(0x1f9)](_0x4d7f4c=>_0x4d7f4c[_0x4e2376(0x1b0)]===_0x52c1f7);_0x2630a4['forEach'](_0x36e6c2=>{const _0x37fabd=_0x4e2376;if(_0x36e6c2[_0x37fabd(0x1b6)]&&_0x374b8a[_0x37fabd(0x15f)](validateFilePath,_0x36e6c2['filePath'])&&!_0x21c3da['some'](_0x4db903=>_0x4db903[_0x37fabd(0x1c5)]===path[_0x37fabd(0x174)](_0x36e6c2[_0x37fabd(0x1b6)])))try{_0x21c3da['push']({'kind':_0x374b8a['IGlmq'],'timestamp':new Date()[_0x37fabd(0x228)](),'test_run_uuid':_0x52c1f7,'file_name':path[_0x37fabd(0x174)](_0x36e6c2['filePath']),'file_size':fs[_0x37fabd(0x21f)](_0x36e6c2[_0x37fabd(0x1b6)])[_0x37fabd(0x1be)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x3ec4a4){logger[_0x37fabd(0x154)](_0x37fabd(0x193)+_0x36e6c2[_0x37fabd(0x1b6)]+_0x37fabd(0x204)+_0x3ec4a4['message']);}});if(_0x374b8a[_0x4e2376(0x201)](_0x21c3da['length'],0x0)){const _0x45fbb8=_0x4bd6bc[TestFrameworkConstants['KEY_LOGS']]||[];_0x4bd6bc[TestFrameworkConstants[_0x4e2376(0x20a)]]=[..._0x45fbb8,..._0x21c3da];}const _0x42efd1=TestInfo[_0x4e2376(0x172)](_0x5903e1)[TestFrameworkConstants[_0x4e2376(0x1de)]]||{},_0x550d6a=_0x374b8a[_0x4e2376(0x216)](getManualUploadLogs,_0x42efd1,_0x52f232[_0x4e2376(0x166)]()['get'](_0x5903e1)[TestFrameworkConstants[_0x4e2376(0x220)]]);if(_0x374b8a[_0x4e2376(0x201)](_0x550d6a['length'],0x0)){const _0x12e637=_0x4bd6bc[TestFrameworkConstants[_0x4e2376(0x20a)]]||[];_0x4bd6bc[TestFrameworkConstants[_0x4e2376(0x20a)]]=[..._0x12e637,..._0x550d6a];}const _0x507efc=_0x109480[_0x4e2376(0x1b5)]||[],_0x3a7171=_0x4bd6bc[TestFrameworkConstants[_0x4e2376(0x1ab)]]||{};_0x507efc['forEach'](_0x1b01a9=>{const _0x7b6a06=_0x4e2376,{type:_0x2f8af4}=_0x1b01a9;let _0x45038a=_0x1b01a9[_0x7b6a06(0x146)];if(!_0x2f8af4)return;(_0x374b8a['mIWDo'](_0x45038a,undefined)||_0x374b8a[_0x7b6a06(0x1f5)](_0x45038a,null)||_0x374b8a[_0x7b6a06(0x190)](_0x374b8a[_0x7b6a06(0x15f)](String,_0x45038a)[_0x7b6a06(0x1f3)](),''))&&(_0x45038a=_0x374b8a['LjMRm']);if(!_0x3a7171[_0x2f8af4]){const _0x22e70b={};_0x22e70b[_0x7b6a06(0x195)]=_0x374b8a[_0x7b6a06(0x185)],_0x22e70b[_0x7b6a06(0x224)]=[],_0x3a7171[_0x2f8af4]=_0x22e70b;}else!_0x3a7171[_0x2f8af4]['field_type']&&(_0x3a7171[_0x2f8af4]['field_type']=_0x374b8a[_0x7b6a06(0x185)]),!Array['isArray'](_0x3a7171[_0x2f8af4][_0x7b6a06(0x224)])&&(_0x3a7171[_0x2f8af4][_0x7b6a06(0x224)]=[]);const _0x484ba3=_0x374b8a[_0x7b6a06(0x211)](String,_0x45038a)[_0x7b6a06(0x1ae)](',')['map'](_0x2a3843=>_0x2a3843['trim']());_0x3a7171[_0x2f8af4][_0x7b6a06(0x224)]=[...new Set([..._0x3a7171[_0x2f8af4][_0x7b6a06(0x224)],..._0x484ba3])];}),_0x4bd6bc[TestFrameworkConstants[_0x4e2376(0x1ab)]]=_0x3a7171,TestInfo[_0x4e2376(0x13b)](_0x5903e1,_0x4bd6bc);const _0x12bb03={};return _0x12bb03[_0x5903e1]=_0x4bd6bc,_0x12bb03;}async[a77_0x4af21f(0x1c7)](_0x355d0b,_0x5cc144,_0x4919e4,_0x12623f){const _0x23e48e=a77_0x4af21f,_0x1bec35={'uUHXt':function(_0x288cbe,_0x3f23a9,_0x16368d){return _0x288cbe(_0x3f23a9,_0x16368d);},'zDbFL':function(_0x86d687,_0x34fa14){return _0x86d687 in _0x34fa14;},'bjNrE':function(_0x3e4bde,_0x3f4b48){return _0x3e4bde(_0x3f4b48);},'GPaVs':function(_0x1a1053,_0x5406f2){return _0x1a1053(_0x5406f2);},'BVpmi':function(_0x39a0b7,_0x2138dd){return _0x39a0b7===_0x2138dd;},'OMNLp':function(_0x471f30){return _0x471f30();},'BtTrP':function(_0x236770,_0x1c2f8e){return _0x236770>_0x1c2f8e;},'Kmsve':function(_0x329181,_0x5aa154,_0x3bf4d3){return _0x329181(_0x5aa154,_0x3bf4d3);},'jOiZB':_0x23e48e(0x13c),'JHqwT':'failed','zxyoD':_0x23e48e(0x1fd),'HlwLa':function(_0x2737ae,_0x36a3d9){return _0x2737ae!==_0x36a3d9;},'lYEXA':function(_0x30a5af,_0x5b920b){return _0x30a5af+_0x5b920b;},'NIozb':_0x23e48e(0x1f1)},_0x22b187=_0x12623f[_0x23e48e(0x1e2)],_0x317e3a=_0x12623f['step'],_0x47cd13=_0x1bec35[_0x23e48e(0x179)](getTestRunIdentifier,_0x22b187,_0x12623f[_0x23e48e(0x1df)][_0x23e48e(0x140)]),_0x4615e7=_0x5cc144[_0x23e48e(0x13e)]()[_0x23e48e(0x1ae)]('.')[0x1];let _0x54a147=_0x355d0b['getAllData']()['get'](_0x47cd13)[TestFrameworkConstants[_0x23e48e(0x192)]];!_0x54a147&&(_0x54a147={});!_0x1bec35[_0x23e48e(0x18a)](_0x4615e7,_0x54a147)&&(_0x54a147[_0x4615e7]=[]);let _0x2bca6b=_0x355d0b[_0x23e48e(0x166)]()[_0x23e48e(0x198)](_0x47cd13)[TestFrameworkConstants[_0x23e48e(0x170)]];!_0x2bca6b&&(_0x2bca6b={});!_0x1bec35[_0x23e48e(0x18a)](_0x4615e7,_0x2bca6b)&&(_0x2bca6b[_0x4615e7]=[]);const _0x4415fe={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x54a147,[TestFrameworkConstants[_0x23e48e(0x170)]]:_0x2bca6b},_0x534574={};_0x534574[_0x47cd13]=_0x4415fe;const _0x48683c=_0x534574,_0x48eea7=_0x1bec35['bjNrE'](getPlaywrightTestFilePath,_0x22b187),_0xbd3187=_0x48eea7+':'+_0x1bec35['GPaVs'](getPlaywrightTestLocation,_0x22b187),_0x14a5e9=TestInfo[_0x23e48e(0x172)](_0x47cd13)[TestFrameworkConstants[_0x23e48e(0x1ab)]]||{};if(_0x1bec35['BVpmi'](_0x4919e4,HookState[_0x23e48e(0x186)])){const _0x32a584={'key':_0x4615e7,[TestFrameworkConstants[_0x23e48e(0x1f0)]]:_0x1bec35['OMNLp'](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x23e48e(0x1c3)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x317e3a[_0x23e48e(0x22c)],[TestFrameworkConstants[_0x23e48e(0x1b2)]]:[],[TestFrameworkConstants[_0x23e48e(0x16c)]]:_0x317e3a['title'],[TestFrameworkConstants[_0x23e48e(0x1ed)]]:_0x48eea7,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0xbd3187,[TestFrameworkConstants[_0x23e48e(0x1ab)]]:_0x14a5e9};_0x54a147[_0x4615e7][_0x23e48e(0x1b3)](_0x32a584),_0x48683c[_0x47cd13][TestFrameworkConstants[_0x23e48e(0x229)]]=_0x4615e7,logger[_0x23e48e(0x14d)]('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x4615e7+_0x23e48e(0x181)+_0x32a584+_0x23e48e(0x182)+_0x12623f);}else{if(_0x1bec35['BVpmi'](_0x4919e4,HookState['POST'])){const _0x36c64f=await _0x12623f['result'],_0x36d75f=_0x54a147[_0x4615e7]||[],_0x4f6c24=_0x12623f[_0x23e48e(0x177)];logger[_0x23e48e(0x14d)](_0x23e48e(0x14a)+_0x36d75f+'\x20and\x20args\x20=\x20'+_0x12623f);if(_0x1bec35['BtTrP'](_0x36d75f[_0x23e48e(0x1b1)],0x0)){const _0x5a12b5=_0x36d75f[_0x23e48e(0x21d)]();if(_0x4f6c24[_0x23e48e(0x154)]){const _0x112571=_0x1bec35[_0x23e48e(0x149)](failureData,_0x4f6c24[_0x23e48e(0x154)],_0x1bec35['jOiZB']);_0x5a12b5[TestFrameworkConstants[_0x23e48e(0x14f)]]=_0x1bec35[_0x23e48e(0x194)](getFailureType,_0x4f6c24?.[_0x23e48e(0x154)][_0x23e48e(0x1d8)]),_0x5a12b5[TestFrameworkConstants[_0x23e48e(0x1c2)]]=_0x1bec35[_0x23e48e(0x1d6)](removeAnsiColors,_0x4f6c24?.['error'][_0x23e48e(0x1d8)]),_0x5a12b5[TestFrameworkConstants[_0x23e48e(0x152)]]=_0x1bec35[_0x23e48e(0x153)],_0x5a12b5[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x112571;}else _0x5a12b5[TestFrameworkConstants[_0x23e48e(0x152)]]=_0x1bec35[_0x23e48e(0x1e9)];_0x1bec35[_0x23e48e(0x150)](_0x36c64f,TestFrameworkConstants[_0x23e48e(0x1c3)])&&(_0x5a12b5[TestFrameworkConstants[_0x23e48e(0x152)]]=!_0x4f6c24[_0x23e48e(0x154)]?_0x1bec35[_0x23e48e(0x1e9)]:_0x1bec35[_0x23e48e(0x153)]);const _0x107b23=new Date(_0x4f6c24[_0x23e48e(0x22c)]),_0x2fcf81=new Date(_0x1bec35[_0x23e48e(0x188)](_0x107b23['getTime'](),_0x4f6c24['duration']));_0x5a12b5[TestFrameworkConstants[_0x23e48e(0x1ef)]]=_0x2fcf81[_0x23e48e(0x228)](),_0x5a12b5[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x14a5e9;const _0x15b05a=_0x5a12b5[TestFrameworkConstants['KEY_HOOK_ID']];await this['sendLogCreatedEvent'](_0x355d0b,_0x5cc144,_0x15b05a,_0x1bec35['NIozb'],_0x12623f),!_0x2bca6b[_0x4615e7]&&(_0x2bca6b[_0x4615e7]=[]),_0x2bca6b[_0x4615e7]['push'](_0x5a12b5),_0x48683c[_0x47cd13][TestFrameworkConstants[_0x23e48e(0x21a)]]=_0x4615e7;}}}return _0x48683c;}async['sendLogCreatedEvent'](_0x34fe67,_0x37ecf8,_0x3f6895,_0x3e42e3,_0x3e0761){const _0x4a6304=a77_0x4af21f,_0x40368f={'wglwZ':function(_0x1c6b44,_0x26aa24){return _0x1c6b44===_0x26aa24;},'UjBjK':_0x4a6304(0x1e2),'NhuTH':function(_0x506c05,_0x25acfe,_0x4ada25){return _0x506c05(_0x25acfe,_0x4ada25);},'iIjQk':function(_0x47ca79,_0x49a3d7,_0x3d76b1){return _0x47ca79(_0x49a3d7,_0x3d76b1);},'NpcLI':_0x4a6304(0x1fe),'RFnln':function(_0x1cf216,_0x18617c,_0x31221b,_0x3b4d73){return _0x1cf216(_0x18617c,_0x31221b,_0x3b4d73);},'yltyE':function(_0x3a2471,_0x188c49,_0x5ab692){return _0x3a2471(_0x188c49,_0x5ab692);},'OynKg':function(_0x540170,_0x348dd9,_0x5dc257){return _0x540170(_0x348dd9,_0x5dc257);},'hBgSz':function(_0x42da8e,_0x194627,_0x480cf5){return _0x42da8e(_0x194627,_0x480cf5);},'INaTW':function(_0x36a00f,_0x459be3){return _0x36a00f/_0x459be3;},'EpYOh':function(_0x5778b3,_0x4118e8){return _0x5778b3<_0x4118e8;},'FcfBG':function(_0x298465,_0x29badb){return _0x298465*_0x29badb;},'jfcwB':function(_0x353327,_0x4d59d9){return _0x353327+_0x4d59d9;},'oFhxL':function(_0xa224a6,_0x2260fb,_0x1dee7f,_0x4491c7,_0xcae44e){return _0xa224a6(_0x2260fb,_0x1dee7f,_0x4491c7,_0xcae44e);},'MlHpy':function(_0x396998,_0x390aa8){return _0x396998+_0x390aa8;},'iQdVq':function(_0x4e95d4,_0x193e36,_0x583ce9,_0x24b399){return _0x4e95d4(_0x193e36,_0x583ce9,_0x24b399);},'gbvGP':'hook','ODSxr':function(_0x26d5f2,_0xc5c7b,_0x4f9bc3){return _0x26d5f2(_0xc5c7b,_0x4f9bc3);}};try{if(_0x40368f[_0x4a6304(0x13d)](_0x3e42e3,_0x40368f[_0x4a6304(0x156)])){const _0x2f7564=await _0x3e0761[_0x4a6304(0x1df)],_0x594ece=_0x40368f[_0x4a6304(0x1ca)](getTestRunIdentifier,_0x3e0761[_0x4a6304(0x1e2)],_0x3e0761[_0x4a6304(0x1df)][_0x4a6304(0x140)]),_0x2e7f6c=_0x3e0761[_0x4a6304(0x1e2)];logger[_0x4a6304(0x14d)]('sendLogCreatedEvent:\x20testId='+_0x594ece+_0x4a6304(0x20f)+util[_0x4a6304(0x155)](_0x2f7564));const _0x361cee=_0x34fe67[_0x4a6304(0x166)]()[_0x4a6304(0x198)](_0x594ece)[TestFrameworkConstants['KEY_TEST_UUID']];await _0x40368f[_0x4a6304(0x1ac)](sendTraceZip,_0x2f7564,_0x361cee);const _0x382ee6=TestInfo['getTestDetails'](_0x594ece)[_0x40368f['NpcLI']],_0x107707={};if(_0x382ee6){!_0x2f7564[_0x4a6304(0x1fe)]&&(_0x2f7564[_0x4a6304(0x1fe)]=[]);_0x107707[_0x4a6304(0x1fe)]=_0x2f7564[_0x4a6304(0x1fe)][_0x4a6304(0x223)](_0x382ee6||[]);const _0x20aaa=TestInfo['getTestDetails'](_0x594ece);delete _0x20aaa[_0x40368f[_0x4a6304(0x222)]],TestInfo[_0x4a6304(0x13b)](_0x594ece,_0x20aaa);}const {steps:_0x5d79f6,logs:_0x41700f}=_0x40368f[_0x4a6304(0x199)](getStepsAndLogs,_0x2f7564[_0x4a6304(0x16d)],_0x34fe67['getAllData']()['get'](_0x594ece)[TestFrameworkConstants['KEY_TEST_UUID']],_0x40368f[_0x4a6304(0x156)]),_0x577163=_0x40368f[_0x4a6304(0x165)](getScreenshots,_0x107707,_0x34fe67[_0x4a6304(0x166)]()[_0x4a6304(0x198)](_0x594ece)[TestFrameworkConstants[_0x4a6304(0x220)]]),_0x4b9751=_0x40368f[_0x4a6304(0x1ca)](getVideos,_0x2f7564,_0x34fe67[_0x4a6304(0x166)]()[_0x4a6304(0x198)](_0x594ece)[TestFrameworkConstants[_0x4a6304(0x220)]]),{_:_0x2adcb2,logs:_0x337036}=_0x40368f[_0x4a6304(0x1cd)](getFailureData,_0x2f7564[_0x4a6304(0x18e)],{'test_run_uuid':_0x34fe67[_0x4a6304(0x166)]()[_0x4a6304(0x198)](_0x594ece)[TestFrameworkConstants[_0x4a6304(0x220)]]}),_0x5f53ee=TestInfo[_0x4a6304(0x172)](_0x594ece)[TestFrameworkConstants[_0x4a6304(0x1de)]]||{},_0x916563=_0x40368f['hBgSz'](getMediaArtifactsLogs,_0x5f53ee,_0x34fe67[_0x4a6304(0x166)]()['get'](_0x594ece)[TestFrameworkConstants[_0x4a6304(0x220)]]),_0x231ed7=_0x34fe67[_0x4a6304(0x166)]()[_0x4a6304(0x198)](_0x594ece),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x202c54='',[TestFrameworkConstants[_0x4a6304(0x227)]]:_0xf5a26f=''}=_0x231ed7,_0x87929b=(_0x41700f||[])[_0x4a6304(0x223)](_0x577163||[])[_0x4a6304(0x223)](_0x337036||[])[_0x4a6304(0x223)](_0x4b9751||[])['concat'](_0x916563||[]),_0x4b7cc6=0x28,_0x34063f=Math[_0x4a6304(0x15d)](_0x40368f[_0x4a6304(0x19c)](_0x87929b[_0x4a6304(0x1b1)],_0x4b7cc6));for(let _0x3209dd=0x0;_0x40368f[_0x4a6304(0x21c)](_0x3209dd,_0x34063f);_0x3209dd++){const _0x13e41f=_0x40368f[_0x4a6304(0x1a6)](_0x3209dd,_0x4b7cc6),_0x34b5ae=_0x40368f[_0x4a6304(0x20c)](_0x13e41f,_0x4b7cc6),_0x4b2699=_0x87929b[_0x4a6304(0x1a1)](_0x13e41f,_0x34b5ae),_0x2ba61b={'platformIndex':global?.[_0x4a6304(0x217)]??0x0,'logs':_0x4b2699,'testFrameworkName':_0x202c54,'testFrameworkVersion':_0xf5a26f,'testFrameworkState':_0x37ecf8[_0x4a6304(0x13e)]()[_0x4a6304(0x1ae)]('.')[0x1]};_0x40368f[_0x4a6304(0x1e5)](updatePayloadForTraceLogs,_0x2ba61b,_0x3e0761,_0x594ece,_0x34fe67),logger[_0x4a6304(0x14d)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x594ece+_0x4a6304(0x1cc)+_0x40368f[_0x4a6304(0x1a4)](_0x3209dd,0x1)+'/'+_0x34063f+_0x4a6304(0x1ad)+util[_0x4a6304(0x155)](_0x2ba61b));const _0x27cd5d=await GrpcClient[_0x4a6304(0x1c0)]()['logCreatedEvent'](_0x2ba61b);logger[_0x4a6304(0x14d)](_0x4a6304(0x1af)+_0x594ece+_0x4a6304(0x1cc)+_0x40368f[_0x4a6304(0x1a4)](_0x3209dd,0x1)+'/'+_0x34063f+_0x4a6304(0x19f)+util[_0x4a6304(0x155)](_0x27cd5d));}}else{const {steps:_0x4adddb,logs:_0x2c4a18}=_0x40368f[_0x4a6304(0x1b7)](getStepsAndLogs,_0x3e0761[_0x4a6304(0x177)][_0x4a6304(0x16d)],_0x3f6895,_0x40368f[_0x4a6304(0x180)]),_0x1ad18e=_0x40368f[_0x4a6304(0x209)](getTestRunIdentifier,_0x3e0761[_0x4a6304(0x1e2)],_0x3e0761[_0x4a6304(0x1df)]['retry']);logger[_0x4a6304(0x14d)]('sendLogCreatedEvent:\x20testId='+_0x1ad18e);const _0x50f1e5=_0x34fe67[_0x4a6304(0x166)]()['get'](_0x1ad18e),{[TestFrameworkConstants[_0x4a6304(0x203)]]:_0x579689='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x37d0a=''}=_0x50f1e5,_0x59d57f={'platformIndex':'0','logs':_0x2c4a18,'testFrameworkName':_0x579689,'testFrameworkVersion':_0x37d0a,'testFrameworkState':_0x37ecf8[_0x4a6304(0x13e)]()[_0x4a6304(0x1ae)]('.')[0x1]};_0x40368f[_0x4a6304(0x1e5)](updatePayloadForTraceLogs,_0x59d57f,_0x3e0761,_0x1ad18e,_0x34fe67),logger[_0x4a6304(0x14d)](_0x4a6304(0x1af)+_0x1ad18e+_0x4a6304(0x1ad)+util['inspect'](_0x59d57f));const _0x214f85=await GrpcClient[_0x4a6304(0x1c0)]()[_0x4a6304(0x1f6)](_0x59d57f);}}catch(_0xc62d62){logger[_0x4a6304(0x154)]('Error\x20in\x20sendLogCreatedEvent:\x20'+util[_0x4a6304(0x1fb)](_0xc62d62));}}[a77_0x4af21f(0x1bd)](_0x12ee1b){const _0x281d85=a77_0x4af21f,_0x3d4774={'JIazk':function(_0x14c57a,_0x2d4e1e,_0x2d701b){return _0x14c57a(_0x2d4e1e,_0x2d701b);},'VLQeX':function(_0x2bc4a2,_0x42d838){return _0x2bc4a2<_0x42d838;},'ciokl':_0x281d85(0x18f)};try{const _0x35d0dc=_0x12ee1b[_0x281d85(0x1e2)]['id'],_0x31a13a=_0x3d4774[_0x281d85(0x1ce)](getTestRunIdentifier,_0x12ee1b[_0x281d85(0x1e2)],_0x12ee1b[_0x281d85(0x1df)][_0x281d85(0x140)]),_0x3acbf9=_0x12ee1b[_0x281d85(0x1bb)],_0x1848bb=_0x3acbf9[_0x281d85(0x17c)](),_0x332e26=_0x3acbf9[_0x281d85(0x166)]()[_0x281d85(0x198)](_0x31a13a);logger[_0x281d85(0x14d)](_0x281d85(0x142)+_0x35d0dc);const {[TestFrameworkConstants[_0x281d85(0x203)]]:_0x25b4f9='',[TestFrameworkConstants[_0x281d85(0x227)]]:_0xb44565='',[TestFrameworkConstants[_0x281d85(0x1fa)]]:_0x234120='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x550e23=''}=_0x332e26,_0x321bc7=_0x3acbf9[_0x281d85(0x158)]()[_0x281d85(0x13e)]()[_0x281d85(0x1ae)]('.')[0x1],_0xbee74d=_0x3acbf9[_0x281d85(0x212)]()[_0x281d85(0x13e)]()[_0x281d85(0x1ae)]('.')[0x1],_0x357516=_0x3d4774[_0x281d85(0x20d)](_0x12ee1b?.[_0x281d85(0x1df)]?.[_0x281d85(0x1a5)]??0x0,0x0)?0x0:_0x12ee1b?.['result']?.['parallelIndex']??0x0,_0x45aebe=_0x3acbf9[_0x281d85(0x1f8)](),_0x2c612b=Buffer[_0x281d85(0x148)](JSON['stringify'](_0x332e26))[_0x281d85(0x13e)](_0x3d4774[_0x281d85(0x1eb)]),_0x530ec1={'hash':_0x1848bb['getId'](),'threadId':_0x1848bb[_0x281d85(0x215)]()[_0x281d85(0x13e)](),'processId':_0x1848bb[_0x281d85(0x163)]()[_0x281d85(0x13e)]()},_0xf03a6d={};_0xf03a6d[_0x281d85(0x208)]=_0x357516,_0xf03a6d['testFrameworkName']=_0x25b4f9,_0xf03a6d[_0x281d85(0x15e)]=_0xb44565,_0xf03a6d[_0x281d85(0x1f4)]=_0x321bc7,_0xf03a6d[_0x281d85(0x1ff)]=_0xbee74d,_0xf03a6d[_0x281d85(0x175)]=_0x234120,_0xf03a6d[_0x281d85(0x1d0)]=_0x550e23,_0xf03a6d[_0x281d85(0x1e4)]=_0x45aebe,_0xf03a6d[_0x281d85(0x1a9)]=_0x2c612b,_0xf03a6d['executionContext']=_0x530ec1;const _0x2f99a7=_0xf03a6d;return logger[_0x281d85(0x14d)](_0x281d85(0x206)+_0x35d0dc+'\x20testState:\x20'+_0x321bc7+_0x281d85(0x225)+_0xbee74d),_0x2f99a7;}catch(_0x19c1e5){return logger[_0x281d85(0x154)](_0x281d85(0x16f)+util['format'](_0x19c1e5)),{};}}}module[a77_0x4af21f(0x218)]=PlaywrightTestFramework;
1
+ function a77_0x3d7e(_0x7367d0,_0x2d8204){const _0x558b99=a77_0x558b();return a77_0x3d7e=function(_0x3d7e97,_0x5acf0d){_0x3d7e97=_0x3d7e97-0x1e6;let _0x2321ce=_0x558b99[_0x3d7e97];return _0x2321ce;},a77_0x3d7e(_0x7367d0,_0x2d8204);}function a77_0x558b(){const _0x10d512=['size','testUId','nHFvQ','util','parsePlaywrightTestResult:\x20testId=','KEY_TEST_RESULT_AT','instance','rOHNV','Hook\x20List\x20in\x20Post\x20','result','LsBAD','getAllData','EDUsq','split','8EtKbSo','CMmtU','getTraceFilePaths','Error\x20processing\x20trace\x20file\x20','filter','vGaFX','../instances/trackedInstance.js','filePath','multi_dropdown','LvaQE','toString','attachments','KEY_TEST_RESULT','BqHBZ','\x20testState:\x20','sendLogCreatedEvent','push','testFrameworkVersion','forEach','wdarH','../cliUtils.js','failed','47500728VpdUac','KEY_EVENT_STARTED_AT','skipped','KEY_TEST_RETRY_OF','hook','inspect','wNpNE','trackHookEvent','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','expectedStatus','browserstackPlatformIndex','test','runHooks','KEY_TEST_FILE_PATH','sendLogCreatedEvent\x20for\x20testId:\x20','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','KEY_HOOKS_FINISHED','description','toISOString','ZmBeA','BLAmR','POST','getTrackedInstance','\x20&\x20hook\x20=\x20','gFDZk','exports','slice','testFrameworkState','../../utils/constants','hBXHA','getThreadId','ySbha','xIFWs','status','nhWOb','KEY_TEST_SCOPE','TEST_ATTACHMENT','Error\x20processing\x20direct\x20trace\x20file\x20','zjPNz','TEST_SCREENSHOT','\x20hookState=','KLzoQ','./constants/testFrameworkConstants.js','isArray','PGUhH','statSync','Expected\x20to\x20fail,\x20but\x20passed.','EuuNo','vunTX','EVBcu','10iFXdDE','NONE','bWTcB','\x20instance=','format','debug','basename','\x20hookState:\x20','setTestDetails','KEY_TEST_FAILURE_REASON','PRE','KEY_TEST_CODE','trackEvent','eventJson','map','KEY_HOOK_LAST_FINISHED','cToHT','KEY_TEST_NAME','WaVAT','logCreatedEvent','11156085xnDzel','bKwZs','KEY_TEST_SCOPES','Error\x20in\x20createTestFrameworkEventPayload:\x20','iTRDb','KEY_TEST_LOCATION','uuid','hSFML','getCurrentTestState','parsePlaywrightTestResult','nBxRH','KEY_HOOK_FAILURE_REASON','zEDHc','KEY_HOOK_NAME','UjoRv','../../../helpers/helper.js',',\x20state=','file_name','getCurrentInstanceName','KEY_HOOK_RESULT','errors','GmcmG','createContext','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','FAoHo','concat','trackEvent:\x20found\x20instance,\x20testFrameworkState=','KEY_HOOK_FAILURE','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','KEY_TEST_FRAMEWORK_NAME','getId','parsePlaywrightTest','KEY_HOOK_LOGS','KEY_CUSTOM_TAGS','YduxI','retry','16459590IGHcfi','../TestInfo.js','DEFAULT_HOOK_RESULT','KEY_TEST_FAILURE','KEY_TEST_ENDED_AT','../state/testFrameworkState.js','matchHookRegex','SOjcl','steps','step','KEY_LOGS','addMultipleEntries','values','../../../helpers/test-observability/utils','getProcessId','some','\x20batch\x20','gUhgj','timedOut','getTestFrameworksVersions','from','Error\x20in\x20sendLogCreatedEvent:\x20','CVaLf','stringify','rLxgg','stack','FUXAi','sendLogCreatedEvent:\x20testId=','parallelIndex','KEY_HOOK_ID','KEY_TEST_FRAMEWORK_VERSION','setTrackedInstance','getTestIdentifierFromTestInfo','FeSgZ','length','\x20\x20and\x20args\x20=\x20','getTestFrameworks','getTestUUID','getRef','path','\x20response=','lBhKL','oZflv','FGnSF','get','\x20testHookState=','\x20instanceId=','getTestDetails','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','KEY_TEST_UUID','NyyhV','field_type','jCUMx','3344403OrzZxZ','JlfbI','BpWsJ','DEFAULT_TEST_RESULT','pop','3381189XvjDYU','KEY_TEST_LOGS','OblpA','KEY_TEST_STARTED_AT','WWbEH','message','KEY_HOOKS_STARTED','results','getCurrentHookState','\x20payload=','24UimenW','resolveInstance','trim','VvgLR','TEST','WhOBH','base64','KEY_TEST_ATTACHMENTS','../instances/testFrameworkInstance.js','trackPlaywrightInstance','createTestFrameworkEventPayload\x20testId:\x20','\x20target=','startTime','../grpcClient','getInstance','qlPIi','VhBCc','platformIndex','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','fUiFq',',\x20testFrameworkState=','hookState','58361yiHZkj','No\x20reason\x20provided','error','jkwTf','KEY_HOOK_FAILURE_TYPE','KEY_HOOK_LAST_STARTED','14eSOuAx','../../playwright/reporter/pwUtils','2363116uFfUIe','executionContext'];a77_0x558b=function(){return _0x10d512;};return a77_0x558b();}const a77_0x5cdbc4=a77_0x3d7e;(function(_0x292e48,_0x2bb0ca){const _0x3d460f=a77_0x3d7e,_0x27e7ff=_0x292e48();while(!![]){try{const _0x19f7f3=parseInt(_0x3d460f(0x29b))/0x1*(parseInt(_0x3d460f(0x2a1))/0x2)+-parseInt(_0x3d460f(0x276))/0x3+parseInt(_0x3d460f(0x2a3))/0x4*(parseInt(_0x3d460f(0x209))/0x5)+parseInt(_0x3d460f(0x285))/0x6*(parseInt(_0x3d460f(0x27b))/0x7)+-parseInt(_0x3d460f(0x2b3))/0x8*(-parseInt(_0x3d460f(0x21d))/0x9)+parseInt(_0x3d460f(0x241))/0xa+-parseInt(_0x3d460f(0x2c9))/0xb;if(_0x19f7f3===_0x2bb0ca)break;else _0x27e7ff['push'](_0x27e7ff['shift']());}catch(_0x14823a){_0x27e7ff['push'](_0x27e7ff['shift']());}}}(a77_0x558b,0xedf4c));const TestFramework=require('./testFramework'),TestFrameworkState=require(a77_0x5cdbc4(0x246)),HookState=require('../state/hookState.js'),{createClassLogger}=require('../../../helpers/classLogger.js'),TestFrameworkInstance=require(a77_0x5cdbc4(0x28d)),CLIUtils=require(a77_0x5cdbc4(0x2c7)),TrackedInstance=require(a77_0x5cdbc4(0x2b9)),TestFrameworkConstants=require(a77_0x5cdbc4(0x201)),logger=createClassLogger('PlaywrightTestFramework'),{v4:uuidv4}=require(a77_0x5cdbc4(0x223)),util=require(a77_0x5cdbc4(0x2a8)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a77_0x5cdbc4(0x22c)),TestInfo=require(a77_0x5cdbc4(0x242)),GrpcClient=require(a77_0x5cdbc4(0x292)),{removeAnsiColors,getFailureType,failureData}=require(a77_0x5cdbc4(0x24e)),{getFailureData,getTestTags,getTestRunIdentifier}=require('../../playwright/reporter/pwUtils'),{findNestedKey,sendTraceZip,validateFilePath}=require(a77_0x5cdbc4(0x2a2)),path=require(a77_0x5cdbc4(0x268)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require(a77_0x5cdbc4(0x1f3));class PlaywrightTestFramework extends TestFramework{constructor(_0x3565e6,_0x2f2203,_0x54c30f){super(_0x3565e6,_0x2f2203,_0x54c30f);}async[a77_0x5cdbc4(0x215)](_0x42a55c,_0x351f96,_0x538f55={}){const _0x4cf189=a77_0x5cdbc4,_0x28f15b={'BLAmR':function(_0x55dfef,_0x125432){return _0x55dfef===_0x125432;},'RCTsg':function(_0x498195,_0x48311a){return _0x498195===_0x48311a;},'oXSVN':function(_0x5def48,_0x2d06bc){return _0x5def48===_0x2d06bc;},'FrfWG':function(_0x1f6973,_0x529645,_0x2acf52){return _0x1f6973(_0x529645,_0x2acf52);},'wNpNE':function(_0x3d304e,_0x47977a){return _0x3d304e===_0x47977a;},'qSACS':function(_0x275c8e,_0x2fe6d3){return _0x275c8e===_0x2fe6d3;},'YFmPT':_0x4cf189(0x2d4),'FGnSF':_0x4cf189(0x2d1)};super[_0x4cf189(0x215)](_0x42a55c,_0x351f96,_0x538f55);if(_0x28f15b[_0x4cf189(0x1eb)](_0x42a55c,TestFrameworkState[_0x4cf189(0x1fe)])){const _0x5f241c=TestInfo[_0x4cf189(0x261)](_0x538f55[_0x4cf189(0x2d4)],_0x538f55['test']['retry']);TestInfo['setTestDetails'](_0x5f241c,_0x538f55[_0x4cf189(0x2ae)],!![]);}const _0x95bbe3=this[_0x4cf189(0x286)](_0x42a55c,_0x351f96,_0x538f55);if(!_0x95bbe3)return;logger[_0x4cf189(0x20e)](_0x4cf189(0x237)+_0x42a55c+_0x4cf189(0x1ff)+_0x351f96+_0x4cf189(0x26f)+_0x95bbe3['getRef']());try{if(_0x28f15b['RCTsg'](_0x351f96,HookState['PRE'])&&_0x28f15b['oXSVN'](_0x42a55c,TestFrameworkState[_0x4cf189(0x289)])){const _0x4da61f=_0x538f55[_0x4cf189(0x2d4)];logger[_0x4cf189(0x20e)](_0x4cf189(0x297)+_0x4da61f['id']+'}');const _0x116b6d=TestInfo[_0x4cf189(0x266)](_0x28f15b['FrfWG'](getTestRunIdentifier,_0x4da61f,_0x538f55[_0x4cf189(0x2ae)][_0x4cf189(0x240)]));_0x95bbe3[_0x4cf189(0x24c)](this[_0x4cf189(0x23c)](_0x116b6d,_0x4da61f,_0x538f55[_0x4cf189(0x2ae)])),logger[_0x4cf189(0x20e)]('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x4da61f['id']+_0x4cf189(0x299)+_0x42a55c+_0x4cf189(0x26e)+_0x351f96+_0x4cf189(0x20c)+_0x95bbe3['getRef']());}if(_0x28f15b[_0x4cf189(0x2cf)](_0x351f96,HookState[_0x4cf189(0x1ec)])&&_0x28f15b['qSACS'](_0x42a55c,TestFrameworkState[_0x4cf189(0x289)])){const _0x162a64=_0x538f55[_0x4cf189(0x2d4)],_0x1634b1=_0x538f55[_0x4cf189(0x2ae)];logger[_0x4cf189(0x20e)](_0x4cf189(0x271)+_0x162a64['id']),_0x95bbe3[_0x4cf189(0x24c)](this[_0x4cf189(0x226)](_0x162a64['id'],_0x1634b1,_0x162a64)),await this['sendLogCreatedEvent'](_0x95bbe3,_0x42a55c,_0x351f96,_0x28f15b['YFmPT'],_0x538f55);}if(CLIUtils[_0x4cf189(0x247)](_0x42a55c[_0x4cf189(0x2bd)]()['split']('.')[0x1])){const _0x13f2e6=await this[_0x4cf189(0x2d0)](_0x95bbe3,_0x42a55c,_0x351f96,_0x538f55);_0x95bbe3['addMultipleEntries'](_0x13f2e6);}}catch(_0x28097e){logger[_0x4cf189(0x29d)](util[_0x4cf189(0x20d)](_0x28f15b[_0x4cf189(0x26c)],_0x42a55c,_0x351f96,_0x538f55[_0x4cf189(0x263)],_0x28097e));}_0x538f55['instance']=_0x95bbe3,await this[_0x4cf189(0x2d5)](_0x95bbe3,_0x42a55c,_0x351f96,_0x538f55);}[a77_0x5cdbc4(0x286)](_0x2d5a4c,_0x1e2752,_0xb39b43={}){const _0x350fb4=a77_0x5cdbc4,_0x49a37a={};_0x49a37a[_0x350fb4(0x203)]=function(_0x29c6c5,_0x3f9b37){return _0x29c6c5===_0x3f9b37;};const _0x1119be=_0x49a37a;let _0x59adb4=null;return(_0x1119be[_0x350fb4(0x203)](_0x2d5a4c,TestFrameworkState['INIT_TEST'])||_0x1119be[_0x350fb4(0x203)](_0x2d5a4c,TestFrameworkState[_0x350fb4(0x20a)]))&&this['trackPlaywrightInstance'](_0x2d5a4c,_0xb39b43),_0x59adb4=TestFramework[_0x350fb4(0x1ed)](),_0x59adb4;}[a77_0x5cdbc4(0x28e)](_0x1c9d6a,_0x3d7b38){const _0x5b90d3=a77_0x5cdbc4,_0x43dee1=CLIUtils[_0x5b90d3(0x22f)](),_0x5f4216=TrackedInstance[_0x5b90d3(0x233)](_0x43dee1);let _0x916b33=null;logger['info'](_0x5b90d3(0x239)+_0x43dee1+_0x5b90d3(0x22d)+_0x1c9d6a),_0x916b33=new TestFrameworkInstance(_0x5f4216,this[_0x5b90d3(0x265)](),this[_0x5b90d3(0x254)](),_0x1c9d6a,HookState['NONE']),TestFramework[_0x5b90d3(0x260)](_0x5f4216,_0x916b33),logger['info'](_0x5b90d3(0x1e6)+_0x5f4216[_0x5b90d3(0x23b)]()+_0x5b90d3(0x290)+_0x43dee1);}[a77_0x5cdbc4(0x23c)](_0x47f5d8,_0x4125f7,_0x2c8e0b){const _0x5d5fce=a77_0x5cdbc4,_0x25ac51={'iTRDb':function(_0x5a3a12,_0x5dfb4b){return _0x5a3a12(_0x5dfb4b);},'WaVAT':function(_0x543537,_0x5cc750){return _0x543537(_0x5cc750);},'fUiFq':function(_0x45550b,_0x4aa9dc){return _0x45550b(_0x4aa9dc);},'qlPIi':function(_0x5a845e,_0x5ea094){return _0x5a845e(_0x5ea094);},'VvgLR':function(_0x758f89,_0x3c19af,_0x439d1f){return _0x758f89(_0x3c19af,_0x439d1f);}},_0x5a6047=_0x25ac51[_0x5d5fce(0x221)](getPlaywrightTestId,_0x4125f7),_0x46f4ed=_0x25ac51[_0x5d5fce(0x21b)](getPlaywrightTestTitle,_0x4125f7),_0xa7ef0e=_0x25ac51[_0x5d5fce(0x298)](getTestTags,_0x4125f7),_0x2092ea=_0x25ac51[_0x5d5fce(0x221)](getPlaywrightTestCode,_0x4125f7),_0x22fe4e=_0x25ac51[_0x5d5fce(0x298)](getPlaywrightTestFilePath,_0x4125f7),_0x14484c=_0x22fe4e+':'+_0x25ac51['fUiFq'](getPlaywrightTestLocation,_0x4125f7),_0x28bd33=_0x25ac51[_0x5d5fce(0x298)](getPlaywrightTestScope,_0x4125f7),_0x33f56f=_0x25ac51[_0x5d5fce(0x294)](getPlaywrightTestScopes,_0x4125f7),_0x45dca9=_0x25ac51[_0x5d5fce(0x221)](getPlaywrightSessionName,_0x4125f7),_0x36ec80=this[_0x5d5fce(0x265)]()[0x0],_0x1f3de0=_0x25ac51[_0x5d5fce(0x288)](getTestRunIdentifier,_0x4125f7,_0x2c8e0b['retry']),_0x4f95ec={[TestFrameworkConstants[_0x5d5fce(0x23a)]]:_0x36ec80,[TestFrameworkConstants[_0x5d5fce(0x25f)]]:this['getTestFrameworksVersions']()[_0x36ec80],[TestFrameworkConstants[_0x5d5fce(0x27c)]]:[],[TestFrameworkConstants[_0x5d5fce(0x1e7)]]:{},[TestFrameworkConstants[_0x5d5fce(0x281)]]:{},[TestFrameworkConstants[_0x5d5fce(0x272)]]:_0x47f5d8,[TestFrameworkConstants[_0x5d5fce(0x2bf)]]:TestFrameworkConstants[_0x5d5fce(0x279)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x45dca9,[TestFrameworkConstants[_0x5d5fce(0x2d6)]]:_0x22fe4e,[TestFrameworkConstants['KEY_TEST_ID']]:_0x5a6047,[TestFrameworkConstants[_0x5d5fce(0x21a)]]:_0x46f4ed,[TestFrameworkConstants[_0x5d5fce(0x222)]]:_0x14484c,[TestFrameworkConstants[_0x5d5fce(0x214)]]:_0x2092ea,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0xa7ef0e,[TestFrameworkConstants[_0x5d5fce(0x27e)]]:_0x4125f7[_0x5d5fce(0x282)][0x0][_0x5d5fce(0x291)],[TestFrameworkConstants[_0x5d5fce(0x1fa)]]:_0x28bd33,[TestFrameworkConstants[_0x5d5fce(0x21f)]]:_0x33f56f,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x25ac51[_0x5d5fce(0x221)](getPlaywrightCustomRerunParam,_0x4125f7)};TestInfo[_0x5d5fce(0x211)](_0x1f3de0,_0x4f95ec);const _0x358aae={};return _0x358aae[_0x1f3de0]=_0x4f95ec,_0x358aae;}['parsePlaywrightTestResult'](_0x2ac20a,_0x1d96f5,_0x4545a5){const _0x1c53d7=a77_0x5cdbc4,_0xdeb1e8={'KLzoQ':function(_0x20c0cc,_0x271f88){return _0x20c0cc(_0x271f88);},'EVBcu':_0x1c53d7(0x1fb),'CVaLf':function(_0x2b4d80,_0x5e3eec){return _0x2b4d80===_0x5e3eec;},'hSFML':function(_0x2c392d,_0x42f460){return _0x2c392d===_0x42f460;},'nBxRH':_0x1c53d7(0x29c),'JlfbI':_0x1c53d7(0x2bb),'xIFWs':function(_0x3f654d,_0x5dada9){return _0x3f654d(_0x5dada9);},'EDUsq':function(_0x21d8c3,_0x558ccc,_0x2ae297){return _0x21d8c3(_0x558ccc,_0x2ae297);},'ySbha':function(_0x3d914b,_0x440eb6){return _0x3d914b+_0x440eb6;},'jkwTf':function(_0x2e59b0,_0x512c8a){return _0x2e59b0===_0x512c8a;},'rOHNV':_0x1c53d7(0x2cb),'bWTcB':'passed','SOjcl':_0x1c53d7(0x2c8),'hXnDU':_0x1c53d7(0x253),'UjoRv':_0x1c53d7(0x205),'gFDZk':function(_0x461a18,_0x4587cb,_0x3f468d){return _0x461a18(_0x4587cb,_0x3f468d);},'XTzrz':function(_0xe83ba0,_0x1a35c9){return _0xe83ba0||_0x1a35c9;},'ZmBeA':function(_0x49228b,_0x165aa7){return _0x49228b(_0x165aa7);},'jesfn':function(_0x40efac,_0x59a5ce){return _0x40efac>_0x59a5ce;},'VhBCc':function(_0x560f4f,_0x714162){return _0x560f4f-_0x714162;},'vGaFX':_0x1c53d7(0x268),'CMmtU':function(_0x46104c,_0x590847){return _0x46104c>_0x590847;},'bKwZs':function(_0x1c0164,_0x19a3e7){return _0x1c0164>_0x19a3e7;}};logger['debug'](_0x1c53d7(0x2a9)+_0x2ac20a);const _0x1d8195=_0xdeb1e8[_0x1c53d7(0x2b1)](getTestRunIdentifier,_0x4545a5,_0x1d96f5[_0x1c53d7(0x240)]),_0x46aa2f=new Date(_0x1d96f5['startTime']),_0x2be972=_0x1d96f5['duration'],_0x2a7a98=new Date(_0xdeb1e8[_0x1c53d7(0x1f6)](_0x46aa2f['getTime'](),_0x2be972)),_0x1423e2=_0x1d96f5[_0x1c53d7(0x1f8)],_0x614fcf=TestInfo[_0x1c53d7(0x270)](_0x1d8195)[TestFrameworkConstants[_0x1c53d7(0x23e)]]||{};let _0x1297a3=_0x1423e2;if(_0xdeb1e8[_0x1c53d7(0x257)](_0x1d96f5[_0x1c53d7(0x1f8)],_0x4545a5[_0x1c53d7(0x2d2)]))_0x1297a3=_0xdeb1e8[_0x1c53d7(0x29e)](_0x1d96f5['status'],_0xdeb1e8[_0x1c53d7(0x2ac)])?_0xdeb1e8['rOHNV']:_0xdeb1e8[_0x1c53d7(0x20b)];else{(_0xdeb1e8[_0x1c53d7(0x29e)](_0x1297a3,_0xdeb1e8[_0x1c53d7(0x20b)])||_0xdeb1e8[_0x1c53d7(0x224)](_0x1297a3,_0xdeb1e8[_0x1c53d7(0x248)])||_0xdeb1e8['hSFML'](_0x1297a3,_0xdeb1e8['hXnDU']))&&(_0x1297a3=_0xdeb1e8[_0x1c53d7(0x248)]);if(_0xdeb1e8[_0x1c53d7(0x224)](_0x1d96f5['status'],_0xdeb1e8[_0x1c53d7(0x20b)])&&_0xdeb1e8[_0x1c53d7(0x29e)](_0x4545a5[_0x1c53d7(0x2d2)],_0xdeb1e8[_0x1c53d7(0x248)])){const _0x55bd41={};_0x55bd41[_0x1c53d7(0x280)]=_0xdeb1e8[_0x1c53d7(0x22b)],_0x55bd41[_0x1c53d7(0x25a)]=_0xdeb1e8[_0x1c53d7(0x22b)],_0x1d96f5[_0x1c53d7(0x29d)]=_0x55bd41,_0x1d96f5['errors']=[_0x1d96f5[_0x1c53d7(0x29d)]];}}const {failureData:_0x13cd96,logs:_0x1ff329}=_0xdeb1e8[_0x1c53d7(0x1ef)](getFailureData,_0x1d96f5?.[_0x1c53d7(0x231)],{}),_0x25b7db={[TestFrameworkConstants[_0x1c53d7(0x244)]]:_0xdeb1e8['XTzrz'](_0x13cd96,null),[TestFrameworkConstants['KEY_TEST_FAILURE_TYPE']]:_0x1d96f5?.[_0x1c53d7(0x29d)]&&_0xdeb1e8[_0x1c53d7(0x200)](getFailureType,_0x1d96f5['error'][_0x1c53d7(0x280)]),[TestFrameworkConstants[_0x1c53d7(0x212)]]:_0x1d96f5?.[_0x1c53d7(0x29d)]&&_0xdeb1e8[_0x1c53d7(0x1ea)](removeAnsiColors,_0x1d96f5[_0x1c53d7(0x29d)][_0x1c53d7(0x280)]),[TestFrameworkConstants[_0x1c53d7(0x24b)]]:[],[TestFrameworkConstants[_0x1c53d7(0x2bf)]]:_0x1297a3,[TestFrameworkConstants[_0x1c53d7(0x245)]]:_0x2a7a98[_0x1c53d7(0x1e9)](),[TestFrameworkConstants[_0x1c53d7(0x2aa)]]:new Date()[_0x1c53d7(0x1e9)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x614fcf};if(_0x1d96f5&&_0xdeb1e8['jesfn'](_0x1d96f5[_0x1c53d7(0x240)],0x0)){const _0x120bc0=TestInfo['getTestUUID'](_0xdeb1e8[_0x1c53d7(0x2b1)](getTestRunIdentifier,_0x4545a5,_0xdeb1e8[_0x1c53d7(0x295)](_0x1d96f5[_0x1c53d7(0x240)],0x1)));_0x25b7db[TestFrameworkConstants[_0x1c53d7(0x2cc)]]=_0x120bc0;}const _0x46509c={};_0x46509c[_0x1c53d7(0x2d4)]=_0x4545a5;const _0x1e7fe0=this['resolveInstance'](TestFrameworkState[_0x1c53d7(0x289)],HookState[_0x1c53d7(0x1ec)],_0x46509c),_0xfacef=_0x1e7fe0[_0x1c53d7(0x2b0)]()['get'](_0x1d8195)[TestFrameworkConstants[_0x1c53d7(0x272)]],_0x480778=[],_0x138846=_0xdeb1e8['gFDZk'](findNestedKey,_0x1d96f5,_0xdeb1e8[_0x1c53d7(0x2b8)]);if(_0x138846&&_0xdeb1e8[_0x1c53d7(0x200)](validateFilePath,_0x138846))try{_0x480778['push']({'kind':_0xdeb1e8['EVBcu'],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0xfacef,'file_name':path[_0x1c53d7(0x20f)](_0x138846),'file_size':fs[_0x1c53d7(0x204)](_0x138846)[_0x1c53d7(0x2a5)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x24ebd2){logger[_0x1c53d7(0x29d)](_0x1c53d7(0x1fc)+_0x138846+':\x20'+_0x24ebd2[_0x1c53d7(0x280)]);}const _0x9f5272=TestInfo[_0x1c53d7(0x2b5)](),_0x277b1a=_0x9f5272[_0x1c53d7(0x2b7)](_0x2b32bf=>_0x2b32bf[_0x1c53d7(0x2a6)]===_0xfacef);_0x277b1a[_0x1c53d7(0x2c5)](_0x5859e2=>{const _0x1cd1cf=_0x1c53d7;if(_0x5859e2[_0x1cd1cf(0x2ba)]&&_0xdeb1e8['KLzoQ'](validateFilePath,_0x5859e2[_0x1cd1cf(0x2ba)])&&!_0x480778[_0x1cd1cf(0x250)](_0x4672d7=>_0x4672d7[_0x1cd1cf(0x22e)]===path['basename'](_0x5859e2[_0x1cd1cf(0x2ba)])))try{_0x480778['push']({'kind':_0xdeb1e8[_0x1cd1cf(0x208)],'timestamp':new Date()[_0x1cd1cf(0x1e9)](),'test_run_uuid':_0xfacef,'file_name':path[_0x1cd1cf(0x20f)](_0x5859e2[_0x1cd1cf(0x2ba)]),'file_size':fs[_0x1cd1cf(0x204)](_0x5859e2[_0x1cd1cf(0x2ba)])[_0x1cd1cf(0x2a5)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x4968ac){logger['error'](_0x1cd1cf(0x2b6)+_0x5859e2['filePath']+'\x20from\x20TestDetails:\x20'+_0x4968ac['message']);}});if(_0xdeb1e8[_0x1c53d7(0x2b4)](_0x480778['length'],0x0)){const _0x436764=_0x25b7db[TestFrameworkConstants[_0x1c53d7(0x24b)]]||[];_0x25b7db[TestFrameworkConstants['KEY_LOGS']]=[..._0x436764,..._0x480778];}const _0x406dab=TestInfo['getTestDetails'](_0x1d8195)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x519596=_0xdeb1e8[_0x1c53d7(0x1ef)](getManualUploadLogs,_0x406dab,_0x1e7fe0[_0x1c53d7(0x2b0)]()[_0x1c53d7(0x26d)](_0x1d8195)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0xdeb1e8[_0x1c53d7(0x21e)](_0x519596[_0x1c53d7(0x263)],0x0)){const _0x242961=_0x25b7db[TestFrameworkConstants['KEY_LOGS']]||[];_0x25b7db[TestFrameworkConstants['KEY_LOGS']]=[..._0x242961,..._0x519596];}const _0x1a2b37=_0x4545a5['annotations']||[],_0x266490=_0x25b7db[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};_0x1a2b37[_0x1c53d7(0x2c5)](_0x2f2fff=>{const _0x5937d0=_0x1c53d7,{type:_0x6690a5}=_0x2f2fff;let _0x402149=_0x2f2fff[_0x5937d0(0x1e8)];if(!_0x6690a5)return;(_0xdeb1e8[_0x5937d0(0x257)](_0x402149,undefined)||_0xdeb1e8['CVaLf'](_0x402149,null)||_0xdeb1e8[_0x5937d0(0x224)](_0xdeb1e8[_0x5937d0(0x200)](String,_0x402149)[_0x5937d0(0x287)](),''))&&(_0x402149=_0xdeb1e8[_0x5937d0(0x227)]);if(!_0x266490[_0x6690a5]){const _0x4fcfe2={};_0x4fcfe2[_0x5937d0(0x274)]=_0xdeb1e8[_0x5937d0(0x277)],_0x4fcfe2[_0x5937d0(0x24d)]=[],_0x266490[_0x6690a5]=_0x4fcfe2;}else!_0x266490[_0x6690a5][_0x5937d0(0x274)]&&(_0x266490[_0x6690a5][_0x5937d0(0x274)]=_0xdeb1e8[_0x5937d0(0x277)]),!Array[_0x5937d0(0x202)](_0x266490[_0x6690a5]['values'])&&(_0x266490[_0x6690a5][_0x5937d0(0x24d)]=[]);const _0x5a8aae=_0xdeb1e8[_0x5937d0(0x1f7)](String,_0x402149)['split'](',')[_0x5937d0(0x217)](_0x108bee=>_0x108bee[_0x5937d0(0x287)]());_0x266490[_0x6690a5]['values']=[...new Set([..._0x266490[_0x6690a5][_0x5937d0(0x24d)],..._0x5a8aae])];}),_0x25b7db[TestFrameworkConstants[_0x1c53d7(0x23e)]]=_0x266490,TestInfo[_0x1c53d7(0x211)](_0x1d8195,_0x25b7db);const _0x46e11a={};return _0x46e11a[_0x1d8195]=_0x25b7db,_0x46e11a;}async[a77_0x5cdbc4(0x2d0)](_0x1125fe,_0x257d40,_0x377651,_0x22b534){const _0xe14660=a77_0x5cdbc4,_0x382c4e={'oZflv':function(_0x3e104d,_0xa9719c,_0x36dcbc){return _0x3e104d(_0xa9719c,_0x36dcbc);},'EuuNo':function(_0x16e880,_0x2c7d3e){return _0x16e880 in _0x2c7d3e;},'zjPNz':function(_0x5647ec,_0x1c758b){return _0x5647ec in _0x1c758b;},'YduxI':function(_0x30d28f,_0x29602f){return _0x30d28f(_0x29602f);},'vunTX':function(_0x13a1b8,_0x29289d){return _0x13a1b8===_0x29289d;},'lBhKL':function(_0x3970a7){return _0x3970a7();},'LvaQE':function(_0x36d5e,_0x20beac){return _0x36d5e>_0x20beac;},'FDyOm':'err','FUXAi':_0xe14660(0x2c8),'BqHBZ':'passed','GmcmG':function(_0x269b25,_0x50c212){return _0x269b25!==_0x50c212;},'cToHT':function(_0x3c16b6,_0x186d28){return _0x3c16b6+_0x186d28;},'NyyhV':_0xe14660(0x2cd)},_0x5c507c=_0x22b534[_0xe14660(0x2d4)],_0x2f897b=_0x22b534['step'],_0x1aa22b=_0x382c4e[_0xe14660(0x26b)](getTestRunIdentifier,_0x5c507c,_0x22b534['result'][_0xe14660(0x240)]),_0x54c9c8=_0x257d40[_0xe14660(0x2bd)]()[_0xe14660(0x2b2)]('.')[0x1];let _0x145e0c=_0x1125fe[_0xe14660(0x2b0)]()[_0xe14660(0x26d)](_0x1aa22b)[TestFrameworkConstants[_0xe14660(0x281)]];!_0x145e0c&&(_0x145e0c={});!_0x382c4e[_0xe14660(0x206)](_0x54c9c8,_0x145e0c)&&(_0x145e0c[_0x54c9c8]=[]);let _0x5b1a6b=_0x1125fe[_0xe14660(0x2b0)]()['get'](_0x1aa22b)[TestFrameworkConstants[_0xe14660(0x1e7)]];!_0x5b1a6b&&(_0x5b1a6b={});!_0x382c4e[_0xe14660(0x1fd)](_0x54c9c8,_0x5b1a6b)&&(_0x5b1a6b[_0x54c9c8]=[]);const _0x58842e={[TestFrameworkConstants['KEY_HOOKS_STARTED']]:_0x145e0c,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x5b1a6b},_0x138506={};_0x138506[_0x1aa22b]=_0x58842e;const _0x3ee487=_0x138506,_0x4f6703=_0x382c4e[_0xe14660(0x23f)](getPlaywrightTestFilePath,_0x5c507c),_0x38be24=_0x4f6703+':'+_0x382c4e[_0xe14660(0x23f)](getPlaywrightTestLocation,_0x5c507c),_0x131dc3=TestInfo['getTestDetails'](_0x1aa22b)[TestFrameworkConstants[_0xe14660(0x23e)]]||{};if(_0x382c4e['vunTX'](_0x377651,HookState[_0xe14660(0x213)])){const _0x402ba3={'key':_0x54c9c8,[TestFrameworkConstants[_0xe14660(0x25e)]]:_0x382c4e[_0xe14660(0x26a)](uuidv4),[TestFrameworkConstants[_0xe14660(0x230)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0xe14660(0x2ca)]]:_0x2f897b[_0xe14660(0x291)],[TestFrameworkConstants[_0xe14660(0x23d)]]:[],[TestFrameworkConstants[_0xe14660(0x22a)]]:_0x2f897b['title'],[TestFrameworkConstants[_0xe14660(0x2d6)]]:_0x4f6703,[TestFrameworkConstants[_0xe14660(0x222)]]:_0x38be24,[TestFrameworkConstants[_0xe14660(0x23e)]]:_0x131dc3};_0x145e0c[_0x54c9c8][_0xe14660(0x2c3)](_0x402ba3),_0x3ee487[_0x1aa22b][TestFrameworkConstants[_0xe14660(0x2a0)]]=_0x54c9c8,logger[_0xe14660(0x20e)]('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x54c9c8+_0xe14660(0x1ee)+_0x402ba3+_0xe14660(0x264)+_0x22b534);}else{if(_0x382c4e[_0xe14660(0x207)](_0x377651,HookState[_0xe14660(0x1ec)])){const _0x50a81c=await _0x22b534[_0xe14660(0x2ae)],_0x1575eb=_0x145e0c[_0x54c9c8]||[],_0x1be1a3=_0x22b534[_0xe14660(0x24a)];logger['debug'](_0xe14660(0x2ad)+_0x1575eb+'\x20and\x20args\x20=\x20'+_0x22b534);if(_0x382c4e[_0xe14660(0x2bc)](_0x1575eb[_0xe14660(0x263)],0x0)){const _0x1ee21f=_0x1575eb[_0xe14660(0x27a)]();if(_0x1be1a3[_0xe14660(0x29d)]){const _0x2b43bd=_0x382c4e['oZflv'](failureData,_0x1be1a3[_0xe14660(0x29d)],_0x382c4e['FDyOm']);_0x1ee21f[TestFrameworkConstants[_0xe14660(0x29f)]]=_0x382c4e[_0xe14660(0x23f)](getFailureType,_0x1be1a3?.[_0xe14660(0x29d)][_0xe14660(0x280)]),_0x1ee21f[TestFrameworkConstants[_0xe14660(0x228)]]=_0x382c4e['YduxI'](removeAnsiColors,_0x1be1a3?.[_0xe14660(0x29d)][_0xe14660(0x280)]),_0x1ee21f[TestFrameworkConstants[_0xe14660(0x230)]]=_0x382c4e['FUXAi'],_0x1ee21f[TestFrameworkConstants[_0xe14660(0x238)]]=_0x2b43bd;}else _0x1ee21f[TestFrameworkConstants[_0xe14660(0x230)]]=_0x382c4e[_0xe14660(0x2c0)];_0x382c4e[_0xe14660(0x232)](_0x50a81c,TestFrameworkConstants[_0xe14660(0x243)])&&(_0x1ee21f[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0x1be1a3[_0xe14660(0x29d)]?_0x382c4e[_0xe14660(0x2c0)]:_0x382c4e[_0xe14660(0x25b)]);const _0x44f790=new Date(_0x1be1a3[_0xe14660(0x291)]),_0x113946=new Date(_0x382c4e[_0xe14660(0x219)](_0x44f790['getTime'](),_0x1be1a3['duration']));_0x1ee21f[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x113946[_0xe14660(0x1e9)](),_0x1ee21f[TestFrameworkConstants[_0xe14660(0x23e)]]=_0x131dc3;const _0x21a611=_0x1ee21f[TestFrameworkConstants[_0xe14660(0x25e)]];await this[_0xe14660(0x2c2)](_0x1125fe,_0x257d40,_0x21a611,_0x382c4e[_0xe14660(0x273)],_0x22b534),!_0x5b1a6b[_0x54c9c8]&&(_0x5b1a6b[_0x54c9c8]=[]),_0x5b1a6b[_0x54c9c8][_0xe14660(0x2c3)](_0x1ee21f),_0x3ee487[_0x1aa22b][TestFrameworkConstants[_0xe14660(0x218)]]=_0x54c9c8;}}}return _0x3ee487;}async[a77_0x5cdbc4(0x2c2)](_0x1377e7,_0x3119ee,_0x50207a,_0x956c75,_0xa85704){const _0x198231=a77_0x5cdbc4,_0x419f6e={'hBXHA':function(_0x47c8e7,_0x408fd9){return _0x47c8e7===_0x408fd9;},'gUhgj':_0x198231(0x2d4),'cZtpP':function(_0x172725,_0xf543be,_0x4b0a8b){return _0x172725(_0xf543be,_0x4b0a8b);},'jCUMx':function(_0x4dedf1,_0x44c139,_0x1e466b){return _0x4dedf1(_0x44c139,_0x1e466b);},'WWbEH':_0x198231(0x2be),'nHFvQ':function(_0x4d7e7a,_0x8ef4ca,_0x21e872,_0x5e2c28){return _0x4d7e7a(_0x8ef4ca,_0x21e872,_0x5e2c28);},'rLxgg':function(_0x2cdf82,_0x1f1655,_0x51643b){return _0x2cdf82(_0x1f1655,_0x51643b);},'LsBAD':function(_0x5d7729,_0x275449,_0x2b795a){return _0x5d7729(_0x275449,_0x2b795a);},'wdarH':function(_0x353886,_0x3c2631,_0xb694eb){return _0x353886(_0x3c2631,_0xb694eb);},'zEDHc':function(_0x530235,_0x2878aa){return _0x530235/_0x2878aa;},'sHYTn':function(_0x45c852,_0x97285a){return _0x45c852<_0x97285a;},'fhYdP':function(_0x1acd46,_0x35c6c6){return _0x1acd46*_0x35c6c6;},'WhOBH':function(_0x18d3f1,_0x339699){return _0x18d3f1+_0x339699;},'nhWOb':function(_0x1ea38c,_0x411df9,_0x47c343,_0x18c6c0,_0x23db58){return _0x1ea38c(_0x411df9,_0x47c343,_0x18c6c0,_0x23db58);},'hIBlp':function(_0x34b3c8,_0x13433a){return _0x34b3c8+_0x13433a;},'ewuqF':_0x198231(0x2cd),'FeSgZ':function(_0x3cba2a,_0x57d719,_0x30e214){return _0x3cba2a(_0x57d719,_0x30e214);},'OblpA':function(_0x5004e6,_0x2bdca4,_0x4be8ec,_0x3d7cbc,_0x2d85fd){return _0x5004e6(_0x2bdca4,_0x4be8ec,_0x3d7cbc,_0x2d85fd);}};try{if(_0x419f6e[_0x198231(0x1f4)](_0x956c75,_0x419f6e[_0x198231(0x252)])){const _0x431bec=await _0xa85704[_0x198231(0x2ae)],_0x473a79=_0x419f6e['cZtpP'](getTestRunIdentifier,_0xa85704[_0x198231(0x2d4)],_0xa85704['result']['retry']),_0x5edbc7=_0xa85704[_0x198231(0x2d4)];logger['debug'](_0x198231(0x25c)+_0x473a79+'\x20result='+util[_0x198231(0x2ce)](_0x431bec));const _0xac5da6=_0x1377e7[_0x198231(0x2b0)]()['get'](_0x473a79)[TestFrameworkConstants['KEY_TEST_UUID']];await _0x419f6e[_0x198231(0x275)](sendTraceZip,_0x431bec,_0xac5da6);const _0x31acfd=TestInfo[_0x198231(0x270)](_0x473a79)[_0x419f6e[_0x198231(0x27f)]],_0x44b8e6={};if(_0x31acfd){!_0x431bec['attachments']&&(_0x431bec[_0x198231(0x2be)]=[]);_0x44b8e6[_0x198231(0x2be)]=_0x431bec['attachments'][_0x198231(0x236)](_0x31acfd||[]);const _0x12949b=TestInfo[_0x198231(0x270)](_0x473a79);delete _0x12949b[_0x419f6e[_0x198231(0x27f)]],TestInfo[_0x198231(0x211)](_0x473a79,_0x12949b);}const {steps:_0x460b15,logs:_0x4aa54b}=_0x419f6e[_0x198231(0x2a7)](getStepsAndLogs,_0x431bec[_0x198231(0x249)],_0x1377e7[_0x198231(0x2b0)]()['get'](_0x473a79)[TestFrameworkConstants[_0x198231(0x272)]],_0x419f6e[_0x198231(0x252)]),_0x1a2966=_0x419f6e[_0x198231(0x259)](getScreenshots,_0x44b8e6,_0x1377e7[_0x198231(0x2b0)]()[_0x198231(0x26d)](_0x473a79)[TestFrameworkConstants[_0x198231(0x272)]]),_0x4ab626=_0x419f6e[_0x198231(0x2af)](getVideos,_0x431bec,_0x1377e7[_0x198231(0x2b0)]()[_0x198231(0x26d)](_0x473a79)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x4d218e,logs:_0x529cf5}=_0x419f6e[_0x198231(0x2c6)](getFailureData,_0x431bec[_0x198231(0x231)],{'test_run_uuid':_0x1377e7[_0x198231(0x2b0)]()[_0x198231(0x26d)](_0x473a79)[TestFrameworkConstants['KEY_TEST_UUID']]}),_0x27567=TestInfo[_0x198231(0x270)](_0x473a79)[TestFrameworkConstants[_0x198231(0x28c)]]||{},_0x36f20b=_0x419f6e[_0x198231(0x2af)](getMediaArtifactsLogs,_0x27567,_0x1377e7[_0x198231(0x2b0)]()[_0x198231(0x26d)](_0x473a79)[TestFrameworkConstants[_0x198231(0x272)]]),_0x2a4e5d=_0x1377e7[_0x198231(0x2b0)]()['get'](_0x473a79),{[TestFrameworkConstants[_0x198231(0x23a)]]:_0x4fc165='',[TestFrameworkConstants[_0x198231(0x25f)]]:_0x2829d5=''}=_0x2a4e5d,_0x25367a=(_0x4aa54b||[])['concat'](_0x1a2966||[])['concat'](_0x529cf5||[])[_0x198231(0x236)](_0x4ab626||[])[_0x198231(0x236)](_0x36f20b||[]),_0xa3c56=0x28,_0x5e1492=Math['ceil'](_0x419f6e[_0x198231(0x229)](_0x25367a[_0x198231(0x263)],_0xa3c56));for(let _0x1ead3c=0x0;_0x419f6e['sHYTn'](_0x1ead3c,_0x5e1492);_0x1ead3c++){const _0x21e7fa=_0x419f6e['fhYdP'](_0x1ead3c,_0xa3c56),_0x36e6dc=_0x419f6e[_0x198231(0x28a)](_0x21e7fa,_0xa3c56),_0x586129=_0x25367a[_0x198231(0x1f1)](_0x21e7fa,_0x36e6dc),_0x1ab402={'platformIndex':global?.[_0x198231(0x2d3)]??0x0,'logs':_0x586129,'testFrameworkName':_0x4fc165,'testFrameworkVersion':_0x2829d5,'testFrameworkState':_0x3119ee['toString']()[_0x198231(0x2b2)]('.')[0x1]};_0x419f6e[_0x198231(0x1f9)](updatePayloadForTraceLogs,_0x1ab402,_0xa85704,_0x473a79,_0x1377e7),logger[_0x198231(0x20e)](_0x198231(0x2d7)+_0x473a79+_0x198231(0x251)+_0x419f6e[_0x198231(0x28a)](_0x1ead3c,0x1)+'/'+_0x5e1492+_0x198231(0x284)+util[_0x198231(0x2ce)](_0x1ab402));const _0x4d21e7=await GrpcClient[_0x198231(0x293)]()[_0x198231(0x21c)](_0x1ab402);logger[_0x198231(0x20e)](_0x198231(0x2d7)+_0x473a79+_0x198231(0x251)+_0x419f6e['hIBlp'](_0x1ead3c,0x1)+'/'+_0x5e1492+_0x198231(0x269)+util['inspect'](_0x4d21e7));}}else{const {steps:_0x3305bf,logs:_0x289890}=_0x419f6e['nHFvQ'](getStepsAndLogs,_0xa85704['step'][_0x198231(0x249)],_0x50207a,_0x419f6e['ewuqF']),_0x3d6ce2=_0x419f6e[_0x198231(0x262)](getTestRunIdentifier,_0xa85704['test'],_0xa85704['result']['retry']);logger[_0x198231(0x20e)](_0x198231(0x25c)+_0x3d6ce2);const _0x238c26=_0x1377e7[_0x198231(0x2b0)]()[_0x198231(0x26d)](_0x3d6ce2),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x36713f='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x3dccef=''}=_0x238c26,_0xdc2019={'platformIndex':'0','logs':_0x289890,'testFrameworkName':_0x36713f,'testFrameworkVersion':_0x3dccef,'testFrameworkState':_0x3119ee[_0x198231(0x2bd)]()[_0x198231(0x2b2)]('.')[0x1]};_0x419f6e[_0x198231(0x27d)](updatePayloadForTraceLogs,_0xdc2019,_0xa85704,_0x3d6ce2,_0x1377e7),logger['debug'](_0x198231(0x2d7)+_0x3d6ce2+_0x198231(0x284)+util['inspect'](_0xdc2019));const _0x55db13=await GrpcClient[_0x198231(0x293)]()[_0x198231(0x21c)](_0xdc2019);}}catch(_0x528a83){logger[_0x198231(0x29d)](_0x198231(0x256)+util[_0x198231(0x20d)](_0x528a83));}}['createTestFrameworkEventPayload'](_0x4c07ba){const _0xbf3ece=a77_0x5cdbc4,_0x28a1b0={'BpWsJ':function(_0x1ab0ee,_0x43a337,_0x8755f1){return _0x1ab0ee(_0x43a337,_0x8755f1);},'pLQst':function(_0x4efd0f,_0x5ea486){return _0x4efd0f<_0x5ea486;},'FAoHo':_0xbf3ece(0x28b)};try{const _0x114359=_0x4c07ba['test']['id'],_0x3c64ed=_0x28a1b0[_0xbf3ece(0x278)](getTestRunIdentifier,_0x4c07ba['test'],_0x4c07ba['result'][_0xbf3ece(0x240)]),_0x350623=_0x4c07ba[_0xbf3ece(0x2ab)],_0x1b69ed=_0x350623['getContext'](),_0x5308af=_0x350623[_0xbf3ece(0x2b0)]()['get'](_0x3c64ed);logger[_0xbf3ece(0x20e)](_0xbf3ece(0x28f)+_0x114359);const {[TestFrameworkConstants[_0xbf3ece(0x23a)]]:_0x24f071='',[TestFrameworkConstants[_0xbf3ece(0x25f)]]:_0x46123d='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x56358f='',[TestFrameworkConstants[_0xbf3ece(0x245)]]:_0x47f8b3=''}=_0x5308af,_0x5c05ad=_0x350623[_0xbf3ece(0x225)]()[_0xbf3ece(0x2bd)]()[_0xbf3ece(0x2b2)]('.')[0x1],_0x5a0f48=_0x350623[_0xbf3ece(0x283)]()[_0xbf3ece(0x2bd)]()['split']('.')[0x1],_0x1ed232=_0x28a1b0['pLQst'](_0x4c07ba?.[_0xbf3ece(0x2ae)]?.[_0xbf3ece(0x25d)]??0x0,0x0)?0x0:_0x4c07ba?.['result']?.[_0xbf3ece(0x25d)]??0x0,_0x39246b=_0x350623[_0xbf3ece(0x267)](),_0x45412b=Buffer[_0xbf3ece(0x255)](JSON[_0xbf3ece(0x258)](_0x5308af))[_0xbf3ece(0x2bd)](_0x28a1b0[_0xbf3ece(0x235)]),_0x2ff412={'hash':_0x1b69ed[_0xbf3ece(0x23b)](),'threadId':_0x1b69ed[_0xbf3ece(0x1f5)]()[_0xbf3ece(0x2bd)](),'processId':_0x1b69ed[_0xbf3ece(0x24f)]()[_0xbf3ece(0x2bd)]()},_0x20b193={};_0x20b193[_0xbf3ece(0x296)]=_0x1ed232,_0x20b193['testFrameworkName']=_0x24f071,_0x20b193[_0xbf3ece(0x2c4)]=_0x46123d,_0x20b193[_0xbf3ece(0x1f2)]=_0x5c05ad,_0x20b193[_0xbf3ece(0x29a)]=_0x5a0f48,_0x20b193['startedAt']=_0x56358f,_0x20b193['endedAt']=_0x47f8b3,_0x20b193[_0xbf3ece(0x223)]=_0x39246b,_0x20b193[_0xbf3ece(0x216)]=_0x45412b,_0x20b193[_0xbf3ece(0x2a4)]=_0x2ff412;const _0x16f79e=_0x20b193;return logger['debug'](_0xbf3ece(0x234)+_0x114359+_0xbf3ece(0x2c1)+_0x5c05ad+_0xbf3ece(0x210)+_0x5a0f48),_0x16f79e;}catch(_0x5e037f){return logger['error'](_0xbf3ece(0x220)+util['format'](_0x5e037f)),{};}}}module[a77_0x5cdbc4(0x1f0)]=PlaywrightTestFramework;
@@ -1 +1 @@
1
- function a78_0x20de(_0x12b0d5,_0x3d504d){const _0x3d6c14=a78_0x3d6c();return a78_0x20de=function(_0x20deda,_0x3a70de){_0x20deda=_0x20deda-0x175;let _0x3d565d=_0x3d6c14[_0x20deda];return _0x3d565d;},a78_0x20de(_0x12b0d5,_0x3d504d);}const a78_0xe21e03=a78_0x20de;(function(_0x283265,_0x14570e){const _0x930157=a78_0x20de,_0x593d99=_0x283265();while(!![]){try{const _0x5e9ca7=parseInt(_0x930157(0x18f))/0x1*(-parseInt(_0x930157(0x17e))/0x2)+parseInt(_0x930157(0x193))/0x3*(-parseInt(_0x930157(0x196))/0x4)+-parseInt(_0x930157(0x192))/0x5+-parseInt(_0x930157(0x18a))/0x6+-parseInt(_0x930157(0x19d))/0x7*(parseInt(_0x930157(0x182))/0x8)+-parseInt(_0x930157(0x197))/0x9*(-parseInt(_0x930157(0x185))/0xa)+parseInt(_0x930157(0x178))/0xb;if(_0x5e9ca7===_0x14570e)break;else _0x593d99['push'](_0x593d99['shift']());}catch(_0x2d75cf){_0x593d99['push'](_0x593d99['shift']());}}}(a78_0x3d6c,0xc6f83));const AutomationFramework=require(a78_0xe21e03(0x187)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFrameworkState=require(a78_0xe21e03(0x19e)),HookState=require(a78_0xe21e03(0x188)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a78_0xe21e03(0x17d)),AutomationFrameworkInstance=require(a78_0xe21e03(0x195));class PuppeteerAutomationFramework extends AutomationFramework{['logger']=createClassLogger('PuppeteerAutomationFramework');constructor(_0x18416d,_0x3b0901){super(_0x18416d,_0x3b0901);}async[a78_0xe21e03(0x181)](_0x10395c,_0x4898f5,_0x1accbd={}){const _0x2c445c=a78_0xe21e03,_0x24910f={};_0x24910f[_0x2c445c(0x194)]=function(_0x484669,_0x63d9a6){return _0x484669===_0x63d9a6;},_0x24910f[_0x2c445c(0x18d)]='trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking';const _0xba5428=_0x24910f;this['logger'][_0x2c445c(0x179)](_0x2c445c(0x186)+_0x10395c+_0x2c445c(0x19a)+_0x4898f5),await super[_0x2c445c(0x181)](_0x10395c,_0x4898f5,_0x1accbd);const _0xc04a66=this['resolveInstance'](_0x10395c,_0x4898f5,_0x1accbd);if(_0xba5428[_0x2c445c(0x194)](_0xc04a66,null)){this[_0x2c445c(0x180)][_0x2c445c(0x179)](_0xba5428[_0x2c445c(0x18d)]);return;}_0x1accbd[_0x2c445c(0x18c)]=_0xc04a66,await this[_0x2c445c(0x190)](_0xc04a66,_0x10395c,_0x4898f5,_0x1accbd);}['resolveInstance'](_0x104339,_0x435ab3,_0x50a880={}){const _0x5993fb=a78_0xe21e03,_0x16d7ad={};_0x16d7ad['kPuAb']=function(_0x3ded3f,_0x1a3c3c){return _0x3ded3f===_0x1a3c3c;};const _0x4aef8a=_0x16d7ad;let _0x2dd47e=null;return(_0x4aef8a['kPuAb'](_0x104339,AutomationFrameworkState[_0x5993fb(0x184)])&&_0x4aef8a[_0x5993fb(0x17a)](_0x435ab3,HookState[_0x5993fb(0x18b)])||_0x4aef8a[_0x5993fb(0x17a)](_0x104339,AutomationFrameworkState[_0x5993fb(0x198)]))&&this[_0x5993fb(0x183)](_0x104339,_0x50a880),_0x2dd47e=AutomationFramework[_0x5993fb(0x176)](),_0x2dd47e;}[a78_0xe21e03(0x183)](_0x5ba1bf,_0x538c0a){const _0x2c7d8d=a78_0xe21e03,_0x4f23d5={};_0x4f23d5[_0x2c7d8d(0x19f)]=_0x2c7d8d(0x191);const _0x45c42b=_0x4f23d5;if(AutomationFramework[_0x2c7d8d(0x176)]()){this['logger'][_0x2c7d8d(0x17c)](_0x45c42b[_0x2c7d8d(0x19f)]);return;}const _0xd238d4=CLIUtils[_0x2c7d8d(0x175)](),_0x438fe6=TrackedInstance[_0x2c7d8d(0x19c)](_0xd238d4);let _0x76af00=null;this[_0x2c7d8d(0x180)]['info']('trackPuppeteerInstance:\x20created\x20instance\x20for\x20target='+_0xd238d4+_0x2c7d8d(0x18e)+_0x5ba1bf),_0x76af00=new AutomationFrameworkInstance(_0x438fe6,this['getAutomationFrameworkName'](),this[_0x2c7d8d(0x177)](),_0x5ba1bf),AutomationFramework[_0x2c7d8d(0x17f)](_0x438fe6,_0x76af00),this[_0x2c7d8d(0x180)][_0x2c7d8d(0x17c)](_0x2c7d8d(0x19b)+_0x438fe6[_0x2c7d8d(0x199)]()+_0x2c7d8d(0x189)+_0xd238d4);}}function a78_0x3d6c(){const _0xe7bdfd=['../instances/trackedInstance.js','1445660TtCPIU','setTrackedInstance','logger','trackEvent','8zsyYQZ','trackPuppeteerInstance','CREATE','7561670nylZfs','trackEvent:\x20automationFrameworkState=','./automationFramework.js','../state/hookState.js','\x20target=','9252198QhzYGN','PRE','instance','xmlcV',',\x20state=','2yUFjpL','runHooks','trackPuppeteerInstance:\x20instance\x20already\x20exists','7214685XZzPTM','6NTuLYK','DnKsQ','../instances/automationFrameworkInstance.js','1097612tYYQjq','9xSHuTj','NONE','getId','\x20hookState=','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','createContext','10605735vRaMfI','../state/automationFrameworkState.js','HNOXw','getCurrentInstanceName','getTrackedInstance','getAutomationFrameworkVersion','72086883byQXOL','debug','kPuAb','exports','info'];a78_0x3d6c=function(){return _0xe7bdfd;};return a78_0x3d6c();}module[a78_0xe21e03(0x17b)]=PuppeteerAutomationFramework;
1
+ const a78_0x5094ea=a78_0x7b06;(function(_0x5a4b2b,_0x4b5d8a){const _0x327ad0=a78_0x7b06,_0x32d459=_0x5a4b2b();while(!![]){try{const _0x38e135=parseInt(_0x327ad0(0x89))/0x1+-parseInt(_0x327ad0(0x85))/0x2+parseInt(_0x327ad0(0x8c))/0x3*(parseInt(_0x327ad0(0x9e))/0x4)+parseInt(_0x327ad0(0x81))/0x5+-parseInt(_0x327ad0(0xa4))/0x6+-parseInt(_0x327ad0(0x86))/0x7*(-parseInt(_0x327ad0(0xa2))/0x8)+parseInt(_0x327ad0(0x83))/0x9*(-parseInt(_0x327ad0(0x9f))/0xa);if(_0x38e135===_0x4b5d8a)break;else _0x32d459['push'](_0x32d459['shift']());}catch(_0x1ee27e){_0x32d459['push'](_0x32d459['shift']());}}}(a78_0x1f82,0x1e4c2));const AutomationFramework=require('./automationFramework.js'),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFrameworkState=require(a78_0x5094ea(0x90)),HookState=require(a78_0x5094ea(0xab)),CLIUtils=require(a78_0x5094ea(0x9d)),TrackedInstance=require(a78_0x5094ea(0x9a)),AutomationFrameworkInstance=require(a78_0x5094ea(0x8d));function a78_0x1f82(){const _0x535e37=['NONE','../state/hookState.js','OFZGU','createContext','getId','915235mYvCGf','trackPuppeteerInstance','46647irCdXy','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','409184ezxbrD','49YIJavL','trackPuppeteerInstance:\x20instance\x20already\x20exists','logger','96554IQjFas','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','UPohA','3tAghGj','../instances/automationFrameworkInstance.js','getAutomationFrameworkName','debug','../state/automationFrameworkState.js','getTrackedInstance','SXPOa','trackEvent','PRE','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','runHooks','getCurrentInstanceName','\x20target=','\x20hookState=','../instances/trackedInstance.js',',\x20state=','instance','../cliUtils.js','37688uDALGf','70bVmYLC','PuppeteerAutomationFramework','qsMej','253384DHRkwF','setTrackedInstance','874578tpypUH','trackEvent:\x20automationFrameworkState=','resolveInstance','rgobI','info','exports'];a78_0x1f82=function(){return _0x535e37;};return a78_0x1f82();}class PuppeteerAutomationFramework extends AutomationFramework{[a78_0x5094ea(0x88)]=createClassLogger(a78_0x5094ea(0xa0));constructor(_0x200103,_0x49fe00){super(_0x200103,_0x49fe00);}async[a78_0x5094ea(0x93)](_0x4e2337,_0x5f061a,_0x49c45d={}){const _0x3293e2=a78_0x5094ea,_0x4db850={};_0x4db850[_0x3293e2(0x8b)]=function(_0x3f2c84,_0x46df16){return _0x3f2c84===_0x46df16;},_0x4db850[_0x3293e2(0xa7)]=_0x3293e2(0x8a);const _0x2b3ff8=_0x4db850;this[_0x3293e2(0x88)][_0x3293e2(0x8f)](_0x3293e2(0xa5)+_0x4e2337+_0x3293e2(0x99)+_0x5f061a),await super['trackEvent'](_0x4e2337,_0x5f061a,_0x49c45d);const _0x57a346=this['resolveInstance'](_0x4e2337,_0x5f061a,_0x49c45d);if(_0x2b3ff8[_0x3293e2(0x8b)](_0x57a346,null)){this[_0x3293e2(0x88)]['debug'](_0x2b3ff8[_0x3293e2(0xa7)]);return;}_0x49c45d[_0x3293e2(0x9c)]=_0x57a346,await this[_0x3293e2(0x96)](_0x57a346,_0x4e2337,_0x5f061a,_0x49c45d);}[a78_0x5094ea(0xa6)](_0x28515c,_0x47da81,_0xa3c845={}){const _0x62c1fa=a78_0x5094ea,_0x1c0ca4={};_0x1c0ca4['SXPOa']=function(_0x3ee369,_0xaff673){return _0x3ee369===_0xaff673;},_0x1c0ca4['OFZGU']=function(_0x1f358d,_0x4149ae){return _0x1f358d===_0x4149ae;};const _0x11a4b4=_0x1c0ca4;let _0x599f35=null;return(_0x11a4b4[_0x62c1fa(0x92)](_0x28515c,AutomationFrameworkState['CREATE'])&&_0x11a4b4[_0x62c1fa(0x92)](_0x47da81,HookState[_0x62c1fa(0x94)])||_0x11a4b4[_0x62c1fa(0xac)](_0x28515c,AutomationFrameworkState[_0x62c1fa(0xaa)]))&&this[_0x62c1fa(0x82)](_0x28515c,_0xa3c845),_0x599f35=AutomationFramework[_0x62c1fa(0x91)](),_0x599f35;}[a78_0x5094ea(0x82)](_0x319dd8,_0x16f992){const _0x51cb01=a78_0x5094ea,_0x15c68b={};_0x15c68b['qsMej']=_0x51cb01(0x87);const _0x2b3565=_0x15c68b;if(AutomationFramework[_0x51cb01(0x91)]()){this[_0x51cb01(0x88)][_0x51cb01(0xa8)](_0x2b3565[_0x51cb01(0xa1)]);return;}const _0x3035ff=CLIUtils[_0x51cb01(0x97)](),_0x17f5fc=TrackedInstance[_0x51cb01(0xad)](_0x3035ff);let _0xa0a0a1=null;this[_0x51cb01(0x88)][_0x51cb01(0xa8)](_0x51cb01(0x95)+_0x3035ff+_0x51cb01(0x9b)+_0x319dd8),_0xa0a0a1=new AutomationFrameworkInstance(_0x17f5fc,this[_0x51cb01(0x8e)](),this['getAutomationFrameworkVersion'](),_0x319dd8),AutomationFramework[_0x51cb01(0xa3)](_0x17f5fc,_0xa0a0a1),this[_0x51cb01(0x88)]['info'](_0x51cb01(0x84)+_0x17f5fc[_0x51cb01(0xae)]()+_0x51cb01(0x98)+_0x3035ff);}}function a78_0x7b06(_0x445ad6,_0x1ce927){const _0x1f8249=a78_0x1f82();return a78_0x7b06=function(_0x7b0607,_0x477827){_0x7b0607=_0x7b0607-0x81;let _0xb1b3a=_0x1f8249[_0x7b0607];return _0xb1b3a;},a78_0x7b06(_0x445ad6,_0x1ce927);}module[a78_0x5094ea(0xa9)]=PuppeteerAutomationFramework;