browserstack-node-sdk 1.52.3 → 1.53.0

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
- function a75_0x51fb(){const _0x5e3c9e=['stringify','[JestTestFramework]\x20parseJestTest:\x20START\x20-\x20','[JestTestFramework]\x20processPendingHooks:\x20Found\x20matching\x20beforeAll\x20hook\x20-\x20storedTestId:\x20','KEY_TEST_ID','trackHookEvent','scopes','KEY_TEST_STARTED_AT','rVzzp','KEY_HOOK_LAST_STARTED','lnIRw','KEY_TEST_LOGS','yNMGc','KEY_HOOKS_STARTED','getAllPendingHookTestIds',',\x20hookState=','ppCrE','activeHooks','TEST','KEY_TEST_UUID','[JestTestFramework]\x20sendLogCreatedEvent:\x20SUCCESS\x20-\x20testId:\x20',',\x20consoleLogs:\x20','[JestTestFramework]\x20parseJestTestResult:\x20FAILURE\x20-\x20testId=','\x20pending\x20hooks\x20for\x20testId:\x20','has','bVopP','storePendingHook','sendLogCreatedEvent','getCurrentTestState','originalTest','pop','yQmAL','KEY_TEST_SCOPE','iKqcw','3438957JzsBcK','[JestTestFramework]\x20parseJestTestResult:\x20SUCCESS\x20-\x20testName=','[JestTestFramework]\x20trackEvent:\x20Test\x20Framework\x20instance\x20not\x20found','KEY_HOOK_FAILURE_TYPE','util','xsRSV','./constants/testFrameworkConstants.js','KEY_TEST_FRAMEWORK_VERSION','getTrackedInstance','[JestTestFramework]\x20parseJestTestResult:\x20Existing\x20attachments\x20in\x20instance\x20data:\x20','KEY_CUSTOM_TAGS','1757045dOByhM','parseJestTestResult','hookType','CugjQ','gycZr','4ZHYAJQ','[JestTestFramework]\x20setActiveHook:\x20testIdentifier=','result','findIndex','vmDzq','LOG_REPORT','mubUP','startedAt',',\x20messageLength=','type','uuid','name','2fCjgVO','hookAnalyticsId','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Data\x20BEFORE\x20parseJestTestResult:\x20','[JestTestFramework]\x20isJestInternalHook:\x20Exception\x20checking\x20hook\x20file:\x20${util.format(e)}','[JestTestFramework]\x20resolveInstance:\x20Instance\x20created\x20-\x20instanceExists=',',\x20response=','CJuqw','includes','[JestTestFramework]\x20setActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','TEST_SCREENSHOT','Error\x20in\x20createTestFrameworkEventPayload:\x20','Unknown\x20Test','getJestFailureData','KEY_TEST_FAILURE','[JestTestFramework]\x20trackHookEvent:\x20Hook\x20info\x20-\x20hookId=','[JestTestFramework]\x20trackEvent:\x20ERROR\x20-\x20testFrameworkState=','Cleared\x20processed\x20pending\x20hooks\x20for\x20testId:\x20','hook_result','setActiveHook',',\x20scope:\x20','JVlyp','KEY_EVENT_ENDED_AT','AHcYI','ROOT_DESCRIBE_BLOCK',',\x20attachmentLogs:\x20','buMQV','KEY_TEST_FRAMEWORK_NAME','[JestTestFramework]\x20sendLogCreatedEvent:\x20Cleared\x20logs\x20from\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20','[JestTestFramework]\x20processPendingHooks:\x20Processed\x20and\x20removed\x20matching\x20beforeAll\x20hook','processPendingHooks','code','qWmWE',',\x20hookType=','[JestTestFramework]\x20storePendingHook:\x20Stored\x20beforeAll\x20hook\x20with\x20metadata\x20-\x20testId:\x20','finished_at','startsWith','getJestTestName','file_name','getThreadId','KEY_TEST_RETRY_OF','../instances/trackedInstance.js','qIPZw','KEY_HOOK_FAILURE','getTestFrameworks','eventJson','nwyAc','parse','ChiJU','test_identifier','Error\x20parsing\x20asyncError\x20for\x20file\x20path:\x20',',\x20failureReason=','vFibH','\x20to\x20','AssertionError','ijwKU','sVPwL','Ufium','21907006cuStvF','trackJestInstance','getCurrentInstanceName','stack-trace','\x20screenshot\x20logs\x20for\x20testId:\x20','skip','12818840mGQsJE',',\x20exception=','asyncError',',\x20currentTestId:\x20','431669RQxNup','getPendingHooks','[JestTestFramework]\x20removeActiveHook:\x20Invalid\x20parameters\x20-\x20testIdentifier=','../cliUtils.js',',\x20totalLogs:\x20','[JestTestFramework]\x20trackHookEvent:\x20START\x20-\x20testFrameworkState=',',\x20totalHooks=','trackJestInstance:\x20instance\x20already\x20exists','PoAQz','message',',\x20logsInBatch:\x20','[JestTestFramework]\x20trackEvent:\x20HOOK\x20-\x20Hook\x20event\x20updates:\x20','BTKUe','UKJqm','No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found,\x20skipping\x20-\x20testId:\x20','1256000gQnwec','addMultipleEntries','[JestTestFramework]\x20sendLogCreatedEvent:\x20Total\x20logs\x20retrieved:\x20',',\x20scopes=','body','wcggb','REOHr','qeeVQ','orDRX','wWlwV','createTestFrameworkEventPayload','\x20-\x20test_identifier=','length','set','trackJestInstance:\x20created\x20instance\x20for\x20target=','hookUUID','[JestTestFramework]\x20resolveInstance:\x20No\x20instance\x20found,\x20creating\x20new\x20instance\x20for\x20state=','instance','getJestFailureReason','toISOString','KEY_TEST_RESULT','hasPendingHooks','KEY_TEST_FAILURE_REASON','[JestTestFramework]\x20sendLogCreatedEvent:\x20Batch\x20',',\x20state=','jvrfr','Zgagn','Processing\x20',',\x20contextId=','getRef','testUUID','hooks','KEY_TEST_DURATION',',\x20error:\x20','CUQFV','[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20PRE\x20-\x20hookType=','keys','parseJestTest','hook_run_uuid','format','testId','Assert','depth','vSiGD','reverse','POST','getJestTestIdentifier','pid','test_run_id','KEY_AUTOMATE_SESSION_NAME','KEY_EVENT_STARTED_AT',',\x20target=','BEFORE_ALL','[JestTestFramework]\x20trackEvent:\x20START\x20-\x20testFrameworkState=','hookMetadata','[JestTestFramework]\x20getRootParentFile:\x20Exception\x20parsing\x20stack\x20trace:\x20','filter','[JestTestFramework]\x20trackEvent:\x20unsupported\x20testFrameworkState=','KEY_TEST_META','createContext','base64','rKfYl','\x20(testIdentifier),\x20result=','passed','eotUP','Pypgn','KEY_HOOK_FAILURE_REASON','getInstance','[JestTestFramework]\x20processPendingHooks:\x20Checking\x20for\x20beforeAll\x20hooks\x20matching\x20filePath:\x20',',\x20screenshotLogs:\x20','getId','buildHookMapFromTest','[JestTestFramework]\x20sendLogCreatedEvent:\x20ERROR\x20-\x20testId:\x20','IpCRL','KEY_TEST_RERUN_NAME','ALL','concat','getContext','push','_ALL','YFFMC',',\x20duration=','matchHookRegex','KEY_TEST_TAGS','KEY_HOOK_ID','QOiXX','event_ended_at','afterAll','getJestFailureType',',\x20hookData=','\x22\x20hook','XVivO','failed','filePath','getJestTestTags','join','../../../helpers/helper.js','PmgQK','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20ATTACHMENTS\x20FOUND:\x20','workerInfo','parent','runHooks','started_at','../../../helpers/test-observability/utils','logCreatedEvent','removePendingHooks','toString','DEFAULT_TEST_RESULT',',\x20result=','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20NO\x20ATTACHMENTS\x20FOUND','[JestTestFramework]\x20getJestTestIdentifier:\x20No\x20identifier\x20in\x20testData,\x20using\x20fallback','KEY_TEST_ATTACHMENTS','[JestTestFramework]\x20getActiveHook:\x20Found\x20active\x20hook\x20-\x20testIdentifier=','[JestTestFramework]\x20removeActiveHook:\x20Removed\x20hook\x20-\x20testIdentifier=','ricOt','[JestTestFramework]\x20resolveInstance:\x20Using\x20existing\x20instance\x20-\x20contextId=','KQrzF','trackEvent','fWTBY','hook_type',',\x20hookId=',',\x20remainingHooks=',',\x20version=','getAllData','smVnw','getRootParentFile','status','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Test\x20result\x20processed\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20LOG_REPORT\x20POST\x20-\x20Sending\x20logs\x20for\x20args:\x20','mapTestHooks','[JestTestFramework]\x20processPendingHooks:\x20Updated\x20hook\x20test_run_id\x20from\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20-\x20testId=','getHooksForTest','split','testFrameworkState','KEY_LOGS','missing','KEY_HOOK_RESULT','kNltB',',\x20hooksListLength=','tErtn','error','\x20logs\x20for\x20testId:\x20','qBBNt','csYKI','[JestTestFramework]\x20trackJestInstance:\x20SUCCESS\x20-\x20saved\x20instance\x20contextId=','auoFu','../instances/testFrameworkInstance.js','splice','KEY_HOOK_LAST_FINISHED','KEY_HOOK_LOGS','Stored\x20pending\x20hook\x20for\x20testId:\x20','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Loading\x20testData\x20for\x20testId:\x20','retryOf','unknown','[JestTestFramework]\x20trackEvent:\x20TEST\x20event\x20-\x20hookState=','substring','../state/hookState.js','KEY_HOOK_NAME','duration','LoZHm','file',',\x20hookUUID=','testData','\x20(testIdentifier),\x20hookType=','KEY_HOOKS_FINISHED','[JestTestFramework]\x20sendLogCreatedEvent:\x20Logs\x20retrieved\x20from\x20instance.data[KEY_LOGS]:\x20','diJCk','\x20(testIdentifier)','KEY_TEST_SCOPES','warn','getJestTestScopes','DEFAULT_HOOK_RESULT','../../../helpers/classLogger.js','../state/testFrameworkState.js','KEY_TEST_ENDED_AT','[JestTestFramework]\x20sendLogCreatedEvent:\x20Found\x20','debug','isJestInternalHook','[JestTestFramework]\x20sendLogCreatedEvent:\x20Log\x20counts\x20-\x20testId:\x20','tags','KEY_TEST_LOCATION','hookState',',\x20hook=','dFNuX','errorsDetailed','10119159LnVJQv','PRE','NONE','test_run_uuid','failure_reason','maxArrayLength',',\x20testId=','executionContext','forEach','wUdoW','ceil','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','slice','platformIndex','[JestTestFramework]\x20trackHookEvent:\x20No\x20test\x20data\x20found\x20for\x20testId:\x20','inspect',',\x20storing\x20as\x20pending\x20hook','XlrUl','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Parsed\x20test\x20entries:\x20','KEY_TEST_FAILURE_TYPE','hookData','isArray','Vkhgv','UmvPe','[JestTestFramework]\x20mapTestHooks:\x20Assigned\x20UUID\x20to\x20hook\x20-\x20type=','kZbza','[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Processing\x20test\x20result\x20for\x20testId:\x20','resolveInstance','84kkkmLJ','RMYli','8amaBtX','title','PtxTQ','getProcessId','getJestTestFilePath','[JestTestFramework]\x20sendLogCreatedEvent:\x20No\x20logs\x20found\x20in\x20instance.data[KEY_LOGS]\x20for\x20testId:\x20',',\x20state:\x20','__workerDetails','JnAjT','test','AluYk','[JestTestFramework]\x20processPendingHooks:\x20Error\x20processing\x20matching\x20beforeAll\x20hook\x20for\x20testId:\x20','scope','find','hook_id',',\x20filePath:\x20','__bstackPlatformIndex','pjIpC','match','./testFramework','\x20&\x20hookState=','fpcnD','args','qotvc','MBgty','get','from','[JestTestFramework]\x20parseJestTest:\x20SUCCESS\x20-\x20testName=','[JestTestFramework]\x20trackEvent:\x20TEST\x20PRE\x20-\x20Test\x20data\x20loaded\x20for\x20testId:\x20','createTestFrameworkEventPayload:\x20No\x20test\x20data\x20found\x20for\x20test\x20ID:\x20','jltns','\x20-\x20testId:\x20','iEPpZ',',\x20hook_run_uuid=','getTestFrameworksVersions'];a75_0x51fb=function(){return _0x5e3c9e;};return a75_0x51fb();}const a75_0x197ab6=a75_0x24bb;(function(_0x17a66c,_0x1449fa){const _0x530042=a75_0x24bb,_0x49b9a1=_0x17a66c();while(!![]){try{const _0x2b6364=-parseInt(_0x530042(0x2a2))/0x1+parseInt(_0x530042(0x24f))/0x2*(-parseInt(_0x530042(0x233))/0x3)+-parseInt(_0x530042(0x243))/0x4*(-parseInt(_0x530042(0x23e))/0x5)+-parseInt(_0x530042(0x1ed))/0x6*(-parseInt(_0x530042(0x292))/0x7)+parseInt(_0x530042(0x1ef))/0x8*(parseInt(_0x530042(0x35c))/0x9)+-parseInt(_0x530042(0x28e))/0xa+parseInt(_0x530042(0x288))/0xb;if(_0x2b6364===_0x1449fa)break;else _0x49b9a1['push'](_0x49b9a1['shift']());}catch(_0x124424){_0x49b9a1['push'](_0x49b9a1['shift']());}}}(a75_0x51fb,0x9dd29));function a75_0x24bb(_0x525fe3,_0x3acf80){const _0x51fb5b=a75_0x51fb();return a75_0x24bb=function(_0x24bb8f,_0x28b131){_0x24bb8f=_0x24bb8f-0x1df;let _0x1edcae=_0x51fb5b[_0x24bb8f];return _0x1edcae;},a75_0x24bb(_0x525fe3,_0x3acf80);}const TestFramework=require(a75_0x197ab6(0x202)),TestFrameworkState=require(a75_0x197ab6(0x350)),HookState=require(a75_0x197ab6(0x33f)),{createClassLogger}=require(a75_0x197ab6(0x34f)),TestFrameworkInstance=require(a75_0x197ab6(0x335)),CLIUtils=require(a75_0x197ab6(0x295)),TrackedInstance=require(a75_0x197ab6(0x277)),TestFrameworkConstants=require(a75_0x197ab6(0x239)),{getManualUploadLogs,getMediaArtifactsLogs}=require(a75_0x197ab6(0x302)),{isInternalHook}=require(a75_0x197ab6(0x309)),logger=createClassLogger('JestTestFramework'),{v4:uuidv4}=require(a75_0x197ab6(0x24d)),util=require(a75_0x197ab6(0x237)),TestInfo=require('../TestInfo.js'),GrpcClient=require('../grpcClient'),stackTrace=require(a75_0x197ab6(0x28b));class JestTestFramework extends TestFramework{constructor(_0x2c4830,_0x225bb5,_0x4d2a84){const _0x30adb6=a75_0x197ab6;super(_0x2c4830,_0x225bb5,_0x4d2a84),this[_0x30adb6(0x222)]=new Map();}[a75_0x197ab6(0x261)](_0x1436a8,_0x2aad02,_0x471d70){const _0x382cc8=a75_0x197ab6,_0x14215f={};_0x14215f[_0x382cc8(0x314)]=function(_0x5862e9,_0xbdcc5d){return _0x5862e9||_0xbdcc5d;};const _0x4a4d8e=_0x14215f;if(_0x4a4d8e[_0x382cc8(0x314)](!_0x1436a8,!_0x2aad02)){logger[_0x382cc8(0x34c)](_0x382cc8(0x257)+_0x1436a8+_0x382cc8(0x344)+_0x2aad02);return;}!this[_0x382cc8(0x222)][_0x382cc8(0x229)](_0x1436a8)&&this['activeHooks']['set'](_0x1436a8,[]);const _0x3636e3={'hookUUID':_0x2aad02,'hookType':_0x471d70,'startedAt':new Date()[_0x382cc8(0x2b5)]()};this['activeHooks'][_0x382cc8(0x208)](_0x1436a8)['push'](_0x3636e3),logger[_0x382cc8(0x353)](_0x382cc8(0x244)+_0x1436a8+_0x382cc8(0x344)+_0x2aad02+_0x382cc8(0x26f)+_0x471d70+_0x382cc8(0x298)+this[_0x382cc8(0x222)][_0x382cc8(0x208)](_0x1436a8)[_0x382cc8(0x2ae)]);}['removeActiveHook'](_0x289a46,_0x203845){const _0x3881f6=a75_0x197ab6,_0x224d80={};_0x224d80[_0x3881f6(0x29e)]=function(_0x22adb2,_0x15cd8e){return _0x22adb2||_0x15cd8e;},_0x224d80[_0x3881f6(0x287)]=function(_0x45320b,_0x73a8e2){return _0x45320b!==_0x73a8e2;},_0x224d80['nwyAc']=function(_0x542bca,_0x22661){return _0x542bca===_0x22661;};const _0x2e4f80=_0x224d80;if(_0x2e4f80['BTKUe'](!_0x289a46,!_0x203845)){logger[_0x3881f6(0x34c)](_0x3881f6(0x294)+_0x289a46+_0x3881f6(0x344)+_0x203845);return;}if(this[_0x3881f6(0x222)]['has'](_0x289a46)){const _0x26c934=this[_0x3881f6(0x222)][_0x3881f6(0x208)](_0x289a46),_0x58e948=_0x26c934[_0x3881f6(0x246)](_0x6dd775=>_0x6dd775[_0x3881f6(0x2b1)]===_0x203845);_0x2e4f80[_0x3881f6(0x287)](_0x58e948,-0x1)?(_0x26c934[_0x3881f6(0x336)](_0x58e948,0x1),logger[_0x3881f6(0x353)](_0x3881f6(0x313)+_0x289a46+_0x3881f6(0x344)+_0x203845+_0x3881f6(0x31b)+_0x26c934[_0x3881f6(0x2ae)]),_0x2e4f80[_0x3881f6(0x27c)](_0x26c934[_0x3881f6(0x2ae)],0x0)&&this[_0x3881f6(0x222)]['delete'](_0x289a46)):logger['debug']('[JestTestFramework]\x20removeActiveHook:\x20Hook\x20not\x20found\x20-\x20testIdentifier='+_0x289a46+_0x3881f6(0x344)+_0x203845);}}['getActiveHook'](_0xdf84f9){const _0x318e99=a75_0x197ab6,_0x3ff475={};_0x3ff475[_0x318e99(0x249)]=function(_0x266330,_0x9be314){return _0x266330>_0x9be314;},_0x3ff475['LoZHm']=function(_0x4b57c7,_0x213174){return _0x4b57c7-_0x213174;};const _0x2aaebf=_0x3ff475;if(!_0xdf84f9)return null;if(this[_0x318e99(0x222)][_0x318e99(0x229)](_0xdf84f9)){const _0x3a1b31=this['activeHooks'][_0x318e99(0x208)](_0xdf84f9);if(_0x2aaebf[_0x318e99(0x249)](_0x3a1b31[_0x318e99(0x2ae)],0x0)){const _0x2b4025=_0x3a1b31[_0x2aaebf[_0x318e99(0x342)](_0x3a1b31[_0x318e99(0x2ae)],0x1)];return logger['debug'](_0x318e99(0x312)+_0xdf84f9+_0x318e99(0x344)+_0x2b4025[_0x318e99(0x2b1)]+_0x318e99(0x26f)+_0x2b4025[_0x318e99(0x240)]),_0x2b4025;}}return null;}async[a75_0x197ab6(0x317)](_0x924fe6,_0x5cd1a6,_0x80666={}){const _0x374dc6=a75_0x197ab6,_0x53e7db={};_0x53e7db[_0x374dc6(0x1f7)]=_0x374dc6(0x235),_0x53e7db[_0x374dc6(0x21d)]=function(_0x49bd2c,_0x1806be){return _0x49bd2c===_0x1806be;},_0x53e7db['mhnbX']=function(_0x5678ea,_0x1231dd){return _0x5678ea||_0x1231dd;},_0x53e7db[_0x374dc6(0x2df)]=_0x374dc6(0x30f),_0x53e7db[_0x374dc6(0x2aa)]=function(_0x3a0932,_0x575c1a){return _0x3a0932===_0x575c1a;};const _0x809972=_0x53e7db;logger[_0x374dc6(0x353)](_0x374dc6(0x2d7)+_0x924fe6+',\x20hookState='+_0x5cd1a6+',\x20argsKeys='+Object['keys'](_0x80666)[_0x374dc6(0x301)](',')),await super[_0x374dc6(0x317)](_0x924fe6,_0x5cd1a6,_0x80666);const _0xe50853=this[_0x374dc6(0x1ec)](_0x924fe6,_0x5cd1a6,_0x80666);if(!_0xe50853){logger['debug'](_0x809972[_0x374dc6(0x1f7)]);return;}try{let _0x43a9cb,_0x1ae91b,_0x576d7d;switch(_0x924fe6){case TestFrameworkState[_0x374dc6(0x223)]:_0x43a9cb=_0x80666['test'];const _0x3c3a42={};_0x3c3a42[_0x374dc6(0x2cc)]=0x2,_0x3c3a42[_0x374dc6(0x361)]=0x3,logger[_0x374dc6(0x353)](_0x374dc6(0x33d)+_0x5cd1a6+',\x20testData='+util['inspect'](_0x43a9cb,_0x3c3a42)),_0x576d7d=this['getJestTestIdentifier'](_0x43a9cb),_0x1ae91b=null,logger['debug'](_0x374dc6(0x325)+_0x576d7d+_0x374dc6(0x34a));if(_0x809972[_0x374dc6(0x21d)](_0x5cd1a6,HookState['PRE'])){logger['debug'](_0x374dc6(0x33a)+_0x576d7d);const _0x4f0fff={};_0x4f0fff[_0x374dc6(0x2c0)]=_0x1ae91b,_0x4f0fff['testData']=_0x43a9cb,_0x4f0fff[_0x374dc6(0x2ca)]=_0x576d7d;const _0x49743f=this[_0x374dc6(0x2c7)](_0x4f0fff),_0x3b12fc={};_0x3b12fc[_0x374dc6(0x2cc)]=0x2,_0x3b12fc['maxArrayLength']=0x3,logger[_0x374dc6(0x353)](_0x374dc6(0x1e3)+util[_0x374dc6(0x1e0)](_0x49743f,_0x3b12fc)),_0xe50853[_0x374dc6(0x2a3)](_0x49743f),logger['debug'](_0x374dc6(0x20b)+_0x576d7d),await this[_0x374dc6(0x26c)](_0xe50853,_0x576d7d);}else{if(_0x809972[_0x374dc6(0x21d)](_0x5cd1a6,HookState[_0x374dc6(0x2cf)])){logger[_0x374dc6(0x353)](_0x374dc6(0x1eb)+_0x576d7d);const _0x1bcd23=_0xe50853[_0x374dc6(0x31d)]()[_0x374dc6(0x208)](_0x576d7d);logger[_0x374dc6(0x353)](_0x374dc6(0x251)+util[_0x374dc6(0x1e0)](Object['keys'](_0x809972['mhnbX'](_0x1bcd23,{}))));_0x1bcd23&&_0x1bcd23[TestFrameworkConstants[_0x374dc6(0x311)]]?logger[_0x374dc6(0x353)](_0x374dc6(0x304)+Object['keys'](_0x1bcd23[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']])[_0x374dc6(0x2ae)]+'\x20files'):logger['debug'](_0x809972[_0x374dc6(0x2df)]);const _0x53c285=_0x80666[_0x374dc6(0x22e)]||null,_0x949212={};_0x949212[_0x374dc6(0x2c0)]=_0x1ae91b,_0x949212[_0x374dc6(0x345)]=_0x43a9cb,_0x949212[_0x374dc6(0x2ca)]=_0x576d7d,_0x949212[_0x374dc6(0x22e)]=_0x53c285;const _0x2607e0=this['parseJestTestResult'](_0x949212),_0x517df2={};_0x517df2['depth']=0x2,_0x517df2[_0x374dc6(0x361)]=0x3,logger[_0x374dc6(0x353)]('[JestTestFramework]\x20trackEvent:\x20TEST\x20POST\x20-\x20Parsed\x20test\x20result\x20entries:\x20'+util['inspect'](_0x2607e0,_0x517df2)),_0xe50853['addMultipleEntries'](_0x2607e0),logger[_0x374dc6(0x353)](_0x374dc6(0x321)+_0x576d7d),await this['processPendingHooks'](_0xe50853,_0x576d7d);}}break;case TestFrameworkState[_0x374dc6(0x248)]:if(_0x809972[_0x374dc6(0x2aa)](_0x5cd1a6,HookState['POST'])){const _0x5e4f7d={};_0x5e4f7d[_0x374dc6(0x2cc)]=0x2,logger['debug'](_0x374dc6(0x322)+util['inspect'](_0x80666,_0x5e4f7d)),await this[_0x374dc6(0x22c)](_0xe50853,_0x924fe6,_0x80666);}break;default:if(CLIUtils[_0x374dc6(0x2f4)](_0x924fe6[_0x374dc6(0x30c)]()[_0x374dc6(0x327)]('.')[0x1])){const _0x5c11cb={};_0x5c11cb['depth']=0x2,_0x5c11cb[_0x374dc6(0x361)]=0x3,logger[_0x374dc6(0x353)]('[JestTestFramework]\x20trackEvent:\x20HOOK\x20event\x20-\x20testFrameworkState='+_0x924fe6+_0x374dc6(0x220)+_0x5cd1a6+_0x374dc6(0x2fb)+util[_0x374dc6(0x1e0)](_0x80666['hookData'],_0x5c11cb));const _0x40e634=await this['trackHookEvent'](_0xe50853,_0x924fe6,_0x5cd1a6,_0x80666),_0x25a27a={};_0x25a27a[_0x374dc6(0x2cc)]=0x2,_0x25a27a[_0x374dc6(0x361)]=0x3,logger['debug'](_0x374dc6(0x29d)+util[_0x374dc6(0x1e0)](_0x40e634,_0x25a27a)),_0xe50853[_0x374dc6(0x2a3)](_0x40e634);}else logger[_0x374dc6(0x353)](_0x374dc6(0x2db)+_0x924fe6+_0x374dc6(0x203)+_0x5cd1a6);break;}logger[_0x374dc6(0x353)]('[JestTestFramework]\x20trackEvent:\x20SUCCESS\x20-\x20testFrameworkState='+_0x924fe6+',\x20hookState='+_0x5cd1a6);}catch(_0x5d1767){logger[_0x374dc6(0x32f)](_0x374dc6(0x25e)+_0x924fe6+_0x374dc6(0x220)+_0x5cd1a6+_0x374dc6(0x28f)+util[_0x374dc6(0x2c9)](_0x5d1767));}_0x80666[_0x374dc6(0x2b3)]=_0xe50853,await this[_0x374dc6(0x307)](_0xe50853,_0x924fe6,_0x5cd1a6,_0x80666);}[a75_0x197ab6(0x2d0)](_0x50c4c6){const _0x154b3c=a75_0x197ab6,_0x6b1632={};_0x6b1632[_0x154b3c(0x204)]=_0x154b3c(0x310);const _0x3f13f3=_0x6b1632;if(_0x50c4c6&&(_0x50c4c6['id']||_0x50c4c6[_0x154b3c(0x24d)])){const _0x11436c=_0x50c4c6['id']||_0x50c4c6[_0x154b3c(0x24d)];return logger['debug']('[JestTestFramework]\x20getJestTestIdentifier:\x20Extracted\x20identifier=\x22'+_0x11436c+'\x22\x20from\x20testData'),_0x11436c;}return logger[_0x154b3c(0x353)](_0x3f13f3[_0x154b3c(0x204)]),process[_0x154b3c(0x2d1)]+':testAnalyticsId';}[a75_0x197ab6(0x1ec)](_0x44aa5a,_0x715d4e,_0x461f62={}){const _0x1020f4=a75_0x197ab6;let _0x5b3ce0=null;return _0x5b3ce0=TestFramework[_0x1020f4(0x23b)](),!_0x5b3ce0?(logger[_0x1020f4(0x353)](_0x1020f4(0x2b2)+_0x44aa5a),this[_0x1020f4(0x289)](_0x44aa5a,_0x461f62),_0x5b3ce0=TestFramework[_0x1020f4(0x23b)](),logger[_0x1020f4(0x353)](_0x1020f4(0x253)+!!_0x5b3ce0+_0x1020f4(0x2be)+_0x5b3ce0?.[_0x1020f4(0x2ef)]()?.['getId']())):logger['debug'](_0x1020f4(0x315)+_0x5b3ce0[_0x1020f4(0x2ef)]()?.['getId']()),_0x5b3ce0;}[a75_0x197ab6(0x289)](_0x3dbc07,_0x3503bf){const _0x265488=a75_0x197ab6,_0x5ba10b={};_0x5ba10b[_0x265488(0x1e2)]=_0x265488(0x299);const _0x89b474=_0x5ba10b;if(TestFramework[_0x265488(0x23b)]()){logger['debug'](_0x89b474[_0x265488(0x1e2)]);return;}const _0x3c772a=CLIUtils[_0x265488(0x28a)](),_0x29077d=TrackedInstance[_0x265488(0x2dd)](_0x3c772a);let _0x13df31=null;logger['debug'](_0x265488(0x2b0)+_0x3c772a+_0x265488(0x2ba)+_0x3dbc07),_0x13df31=new TestFrameworkInstance(_0x29077d,this[_0x265488(0x27a)](),this[_0x265488(0x211)](),_0x3dbc07,HookState[_0x265488(0x35e)]),TestFramework['setTrackedInstance'](_0x29077d,_0x13df31),logger[_0x265488(0x353)](_0x265488(0x333)+_0x29077d[_0x265488(0x2e8)]()+_0x265488(0x2d5)+_0x3c772a+',\x20testFramework='+this[_0x265488(0x27a)]()[0x0]+_0x265488(0x31c)+this['getTestFrameworksVersions']()[this[_0x265488(0x27a)]()[0x0]]);}[a75_0x197ab6(0x2c7)](_0x2af6da){const _0x5956c8=a75_0x197ab6,_0x59964a={};_0x59964a[_0x5956c8(0x278)]=function(_0x30253e,_0x5c5f14){return _0x30253e||_0x5c5f14;},_0x59964a[_0x5956c8(0x26e)]=_0x5956c8(0x2a0);const _0x28e7ba=_0x59964a,{testUUID:_0x28846f,testData:_0x1ca97a,testId:_0x4840d5}=_0x2af6da;if(_0x28e7ba['qIPZw'](!_0x1ca97a,!_0x4840d5))return logger['debug'](_0x28e7ba[_0x5956c8(0x26e)]),{};const _0x49f59a=this[_0x5956c8(0x27a)]()[0x0],_0x214a71=this[_0x5956c8(0x211)](),_0x2c1e58={};_0x2c1e58[_0x5956c8(0x2cc)]=0x2,_0x2c1e58[_0x5956c8(0x361)]=0x3,logger[_0x5956c8(0x353)](_0x5956c8(0x213)+util['inspect'](_0x1ca97a,_0x2c1e58));const _0x1a10dd=_0x1ca97a?.['scopes']||[],_0x2ee8c2=this['getJestTestName'](_0x1ca97a),_0x4a9ea4=this['getJestTestFilePath'](_0x1ca97a),_0x11bcb5=_0x1ca97a['fn']?_0x1ca97a['fn'][_0x5956c8(0x30c)]():_0x1ca97a?.[_0x5956c8(0x2a6)]?_0x1ca97a[_0x5956c8(0x2a6)][_0x5956c8(0x26d)][_0x5956c8(0x30c)]():null,_0x42f692=this[_0x5956c8(0x300)](_0x1ca97a),_0x3968bc={[TestFrameworkConstants[_0x5956c8(0x269)]]:_0x49f59a,[TestFrameworkConstants[_0x5956c8(0x23a)]]:_0x214a71[_0x49f59a],[TestFrameworkConstants[_0x5956c8(0x21c)]]:[],[TestFrameworkConstants[_0x5956c8(0x347)]]:{},[TestFrameworkConstants[_0x5956c8(0x21e)]]:{},[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x5956c8(0x30d)],[TestFrameworkConstants[_0x5956c8(0x2d3)]]:_0x2ee8c2,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x4a9ea4,[TestFrameworkConstants[_0x5956c8(0x215)]]:_0x4840d5,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x2ee8c2,[TestFrameworkConstants[_0x5956c8(0x357)]]:_0x4a9ea4,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x11bcb5,[TestFrameworkConstants[_0x5956c8(0x2f5)]]:_0x42f692,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x1ca97a[_0x5956c8(0x308)]||new Date()[_0x5956c8(0x2b5)](),[TestFrameworkConstants[_0x5956c8(0x231)]]:_0x1a10dd[0x0]||'',[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0x1a10dd,[TestFrameworkConstants[_0x5956c8(0x2ec)]]:_0x2ee8c2,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:{},[TestFrameworkConstants[_0x5956c8(0x2dc)]]:{}};_0x1ca97a[_0x5956c8(0x33b)]&&(_0x3968bc[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x1ca97a[_0x5956c8(0x33b)]);logger[_0x5956c8(0x353)](_0x5956c8(0x20a)+_0x2ee8c2+_0x5956c8(0x362)+_0x4840d5+'\x20(testIdentifier),\x20tags='+JSON['stringify'](_0x42f692)+_0x5956c8(0x2a5)+util[_0x5956c8(0x1e0)](_0x1a10dd)+',\x20filePath='+_0x4a9ea4);const _0x4cd804={};return _0x4cd804[_0x4840d5]=_0x3968bc,_0x4cd804;}[a75_0x197ab6(0x23f)](_0x40fb71){const _0x44b8a7=a75_0x197ab6,_0x2168c3={'vmDzq':function(_0x4d74fe,_0x160214){return _0x4d74fe===_0x160214;},'vSiGD':_0x44b8a7(0x2f9),'eotUP':'beforeAll','iEPpZ':_0x44b8a7(0x2ed),'iKqcw':_0x44b8a7(0x2f1),'jvrfr':function(_0x33d5b8,_0x32c6d3){return _0x33d5b8||_0x32c6d3;},'iFeLf':'No\x20test\x20data\x20or\x20testId\x20found\x20for\x20jest\x20test\x20result','smVnw':_0x44b8a7(0x33c),'buMQV':function(_0x2eea93,_0x5d75f8){return _0x2eea93>_0x5d75f8;},'AluYk':_0x44b8a7(0x2fe),'HqGUC':_0x44b8a7(0x28d),'Zgagn':'skipped','csYKI':_0x44b8a7(0x2e1),'QOiXX':function(_0x5d930c,_0x3941e7){return _0x5d930c===_0x3941e7;},'JVlyp':function(_0x5c3264,_0x5ec2ff){return _0x5c3264!==_0x5ec2ff;},'QgaWJ':function(_0x1bfeb4,_0x11977a,_0x1c107,_0x1c8cb6){return _0x1bfeb4(_0x11977a,_0x1c107,_0x1c8cb6);},'tErtn':function(_0x4d670e,_0x45ae81){return _0x4d670e>_0x45ae81;},'YKEFK':function(_0x553528,_0x1b8a48){return _0x553528>_0x1b8a48;},'qotvc':'[JestTestFramework]\x20parseJestTestResult:\x20Using\x20hooks\x20from\x20testData','yQmAL':function(_0x155fb9,_0x232024){return _0x155fb9>_0x232024;}},{testUUID:_0xff7bac,testData:_0xbf6d1e,testId:_0x3ee19e}=_0x40fb71;if(_0x2168c3[_0x44b8a7(0x2bb)](!_0xbf6d1e,!_0x3ee19e))return logger[_0x44b8a7(0x353)](_0x2168c3['iFeLf']),{};const _0x3ae962=this['resolveInstance'](TestFrameworkState[_0x44b8a7(0x223)],HookState[_0x44b8a7(0x2cf)]),_0x3c7f6f=_0x3ae962['getAllData']()[_0x44b8a7(0x208)](_0x3ee19e),_0xab90ed=_0x2168c3[_0x44b8a7(0x2bb)](_0x3c7f6f,{}),_0x89d3da=_0xab90ed?_0xab90ed[TestFrameworkConstants[_0x44b8a7(0x23d)]]||{}:{},_0x235091=_0xab90ed[TestFrameworkConstants[_0x44b8a7(0x311)]];logger[_0x44b8a7(0x353)](_0x44b8a7(0x23c)+(_0x235091?Object[_0x44b8a7(0x2c6)](_0x235091)[_0x44b8a7(0x2ae)]:0x0)+'\x20attachments');let _0x2961e0=_0x2168c3[_0x44b8a7(0x31e)];if(_0xbf6d1e[_0x44b8a7(0x245)])_0x2961e0=_0xbf6d1e['result'];else{if(_0xbf6d1e[_0x44b8a7(0x35b)]&&_0x2168c3[_0x44b8a7(0x268)](_0xbf6d1e[_0x44b8a7(0x35b)]['length'],0x0))_0x2961e0=_0x2168c3[_0x44b8a7(0x1f9)];else _0x2168c3['vmDzq'](_0xbf6d1e[_0x44b8a7(0x320)],_0x2168c3['HqGUC'])||_0x2168c3[_0x44b8a7(0x247)](_0xbf6d1e[_0x44b8a7(0x320)],_0x2168c3[_0x44b8a7(0x2bc)])?_0x2961e0=_0x2168c3[_0x44b8a7(0x2bc)]:_0x2961e0=_0x2168c3[_0x44b8a7(0x332)];}const _0x3887af={..._0xab90ed,[TestFrameworkConstants[_0x44b8a7(0x2b6)]]:_0x2961e0,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0xbf6d1e[_0x44b8a7(0x271)]||new Date()[_0x44b8a7(0x2b5)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x44b8a7(0x2b5)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x89d3da,[TestFrameworkConstants[_0x44b8a7(0x329)]]:_0xab90ed[TestFrameworkConstants[_0x44b8a7(0x329)]]||[],[TestFrameworkConstants[_0x44b8a7(0x2dc)]]:{}};if(_0x2168c3[_0x44b8a7(0x2f7)](_0x2961e0,_0x2168c3[_0x44b8a7(0x1f9)])&&_0xbf6d1e[_0x44b8a7(0x35b)]){const _0x340374=this['getJestFailureReason'](_0xbf6d1e),_0x1a8d9c=this['getJestFailureType'](_0xbf6d1e),_0x1e426c=this['getJestFailureData'](_0xbf6d1e);_0x3887af[TestFrameworkConstants[_0x44b8a7(0x1e4)]]=_0x1a8d9c,_0x3887af[TestFrameworkConstants[_0x44b8a7(0x2b8)]]=_0x340374,_0x3887af[TestFrameworkConstants[_0x44b8a7(0x25c)]]=_0x1e426c;}_0x2168c3[_0x44b8a7(0x263)](_0xbf6d1e[_0x44b8a7(0x341)],undefined)&&(_0x3887af[TestFrameworkConstants[_0x44b8a7(0x2c2)]]=_0xbf6d1e['duration']);_0xbf6d1e['retryOf']&&(_0x3887af[TestFrameworkConstants[_0x44b8a7(0x276)]]=_0xbf6d1e[_0x44b8a7(0x33b)]);const _0x3c9615=_0x3c7f6f?_0x3c7f6f[TestFrameworkConstants[_0x44b8a7(0x311)]]||{}:{},_0x11963c=_0x3c7f6f?_0x3c7f6f[TestFrameworkConstants[_0x44b8a7(0x224)]]:_0xff7bac,_0x1794b4=_0x2168c3['QgaWJ'](getManualUploadLogs,_0x3c9615,_0x11963c,_0x3ee19e);if(_0x2168c3[_0x44b8a7(0x32e)](_0x1794b4['length'],0x0)){const _0x2222ad=_0x3887af[TestFrameworkConstants[_0x44b8a7(0x329)]]||[];_0x3887af[TestFrameworkConstants['KEY_LOGS']]=[..._0x2222ad,..._0x1794b4];}const _0x5d7bb1=_0xab90ed[TestFrameworkConstants['KEY_HOOKS_FINISHED']]||{},_0x122ed4=_0xab90ed[TestFrameworkConstants[_0x44b8a7(0x21e)]]||{},_0x2031e1={..._0x5d7bb1},_0x247669=_0x2031e1;Object['keys'](_0x122ed4)[_0x44b8a7(0x364)](_0x3e3f87=>{const _0xb2e9f1=_0x44b8a7;!_0x247669[_0x3e3f87]&&(_0x247669[_0x3e3f87]=[]);const _0x157e85=new Set((_0x247669[_0x3e3f87]||[])['map'](_0x12c55d=>_0x12c55d[TestFrameworkConstants['KEY_HOOK_ID']]||_0x12c55d[_0xb2e9f1(0x1fd)]));(_0x122ed4[_0x3e3f87]||[])[_0xb2e9f1(0x364)](_0x2c75e1=>{const _0x202e04=_0xb2e9f1,_0x1e6d22=_0x2c75e1[TestFrameworkConstants[_0x202e04(0x2f6)]]||_0x2c75e1[_0x202e04(0x1fd)];if(!_0x157e85[_0x202e04(0x229)](_0x1e6d22)){const _0x1c9b9a={..._0x2c75e1},_0x4fd915=_0x1c9b9a;!_0x4fd915[TestFrameworkConstants[_0x202e04(0x264)]]&&!_0x4fd915[_0x202e04(0x2f8)]&&(_0x4fd915[TestFrameworkConstants[_0x202e04(0x264)]]=new Date()[_0x202e04(0x2b5)]()),!_0x4fd915[TestFrameworkConstants['KEY_HOOK_RESULT']]&&!_0x4fd915[_0x202e04(0x260)]&&(_0x4fd915[TestFrameworkConstants[_0x202e04(0x32b)]]=TestFrameworkConstants['DEFAULT_HOOK_RESULT']),_0x247669[_0x3e3f87][_0x202e04(0x2f0)](_0x4fd915);}});});if(_0x40fb71[_0x44b8a7(0x22e)]){this[_0x44b8a7(0x323)](_0x40fb71[_0x44b8a7(0x22e)]);const _0x2681b3=this[_0x44b8a7(0x2e9)](_0x40fb71[_0x44b8a7(0x22e)]),_0x45bb40=this['getHooksForTest'](_0x40fb71[_0x44b8a7(0x22e)]);_0x45bb40['forEach'](_0x177bbd=>{const _0x4928f8=_0x44b8a7,_0xbc96b3=_0x2681b3['get'](_0x177bbd);if(_0xbc96b3&&(_0x2168c3[_0x4928f8(0x247)](_0xbc96b3[_0x4928f8(0x24c)],_0x2168c3[_0x4928f8(0x2cd)])||_0x2168c3[_0x4928f8(0x247)](_0xbc96b3[_0x4928f8(0x24c)],_0x2168c3[_0x4928f8(0x2e2)]))){const _0x2d8238=_0xbc96b3[_0x4928f8(0x24c)]['toUpperCase']()['replace'](_0x2168c3[_0x4928f8(0x20f)],_0x2168c3[_0x4928f8(0x232)]),_0x58bc61=_0x2d8238;!_0x247669[_0x58bc61]&&(_0x247669[_0x58bc61]=[]);const _0x24c3bc=_0x247669[_0x58bc61][_0x4928f8(0x1fc)](_0x41245e=>(_0x41245e[TestFrameworkConstants[_0x4928f8(0x2f6)]]||_0x41245e[_0x4928f8(0x1fd)])===_0x177bbd);!_0x24c3bc&&_0x247669[_0x58bc61][_0x4928f8(0x2f0)]({'key':_0x58bc61,[TestFrameworkConstants[_0x4928f8(0x2f6)]]:_0x177bbd,[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x4928f8(0x34e)],[TestFrameworkConstants[_0x4928f8(0x2d4)]]:new Date()[_0x4928f8(0x2b5)](),[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]:new Date()[_0x4928f8(0x2b5)](),[TestFrameworkConstants[_0x4928f8(0x338)]]:[],[TestFrameworkConstants[_0x4928f8(0x340)]]:_0xbc96b3[_0x4928f8(0x24e)]||_0xbc96b3[_0x4928f8(0x24c)]+'\x20hook',[TestFrameworkConstants[_0x4928f8(0x23d)]]:_0x89d3da});}});}if(_0xbf6d1e['hooks']&&_0x2168c3['YKEFK'](_0xbf6d1e[_0x44b8a7(0x2c1)][_0x44b8a7(0x2ae)],0x0))_0x3887af[TestFrameworkConstants['KEY_HOOKS_FINISHED']]=_0xbf6d1e[_0x44b8a7(0x2c1)],logger[_0x44b8a7(0x353)](_0x2168c3[_0x44b8a7(0x206)]);else _0x2168c3[_0x44b8a7(0x230)](Object[_0x44b8a7(0x2c6)](_0x247669)['length'],0x0)&&(_0x3887af[TestFrameworkConstants[_0x44b8a7(0x347)]]=_0x247669,logger[_0x44b8a7(0x353)]('[JestTestFramework]\x20parseJestTestResult:\x20Using\x20merged\x20hooksFinished/hooksStarted\x20-\x20hookTypes='+Object[_0x44b8a7(0x2c6)](_0x247669)[_0x44b8a7(0x301)](',')));const _0x2ad3f2=this[_0x44b8a7(0x273)](_0xbf6d1e);logger[_0x44b8a7(0x353)](_0x44b8a7(0x234)+_0x2ad3f2+',\x20testId='+_0x3ee19e+_0x44b8a7(0x2e0)+_0x2961e0+_0x44b8a7(0x2f3)+_0xbf6d1e[_0x44b8a7(0x341)]);_0x2168c3[_0x44b8a7(0x2f7)](_0x2961e0,_0x2168c3[_0x44b8a7(0x1f9)])&&logger[_0x44b8a7(0x353)](_0x44b8a7(0x227)+_0x3ee19e+',\x20failureType='+_0x3887af[TestFrameworkConstants[_0x44b8a7(0x1e4)]]+_0x44b8a7(0x281)+_0x3887af[TestFrameworkConstants[_0x44b8a7(0x2b8)]]?.[_0x44b8a7(0x33e)](0x0,0xc8));const _0x3afc14={};return _0x3afc14[_0x3ee19e]=_0x3887af,_0x3afc14;}[a75_0x197ab6(0x34d)](_0x323caf){const _0x579e49=a75_0x197ab6,_0x15d8ba={};_0x15d8ba['PmgQK']=function(_0x139f40,_0x122ca2){return _0x139f40!==_0x122ca2;},_0x15d8ba[_0x579e49(0x265)]=_0x579e49(0x266);const _0x4a9d12=_0x15d8ba,_0x4e7153={};_0x4e7153[_0x579e49(0x2cc)]=0x2,_0x4e7153[_0x579e49(0x361)]=0x3,logger[_0x579e49(0x353)]('[JestTestFramework]\x20getJestTestScopes:\x20Extracting\x20scopes\x20from\x20testData:\x20'+util[_0x579e49(0x1e0)](_0x323caf,_0x4e7153));const _0x78d480=[];if(_0x323caf&&_0x323caf[_0x579e49(0x306)]){let _0x18dcc5=_0x323caf[_0x579e49(0x306)];while(_0x18dcc5&&_0x18dcc5['name']&&_0x4a9d12[_0x579e49(0x303)](_0x18dcc5['name'],'')&&_0x4a9d12[_0x579e49(0x303)](_0x18dcc5[_0x579e49(0x24e)],_0x4a9d12[_0x579e49(0x265)])){_0x78d480['push'](_0x18dcc5[_0x579e49(0x24e)]),_0x18dcc5=_0x18dcc5[_0x579e49(0x306)];}}return _0x78d480[_0x579e49(0x2ce)]();}[a75_0x197ab6(0x273)](_0x3662ca){const _0x2cb3f6=a75_0x197ab6,_0x26265c={};_0x26265c[_0x2cb3f6(0x1e7)]=_0x2cb3f6(0x25a);const _0x226764=_0x26265c;if(_0x3662ca[_0x2cb3f6(0x24e)])return _0x3662ca[_0x2cb3f6(0x24e)];if(_0x3662ca[_0x2cb3f6(0x1f0)])return _0x3662ca['title'];return _0x226764['Vkhgv'];}[a75_0x197ab6(0x300)](_0x358265){const _0x244e0c=a75_0x197ab6,_0x125ab4=[];if(_0x358265['tags']&&Array['isArray'](_0x358265[_0x244e0c(0x356)]))return _0x358265[_0x244e0c(0x356)]['map'](_0x44645f=>_0x44645f[_0x244e0c(0x272)]('@')?_0x44645f['substr'](0x1):_0x44645f);const _0x2ec278=this['getJestTestName'](_0x358265),_0x3bf4f4=_0x2ec278[_0x244e0c(0x201)](/@(\w+)/g);if(_0x3bf4f4)return _0x3bf4f4['map'](_0x279d26=>_0x279d26[_0x244e0c(0x368)](0x1));return _0x358265[_0x244e0c(0x217)]&&Array[_0x244e0c(0x1e6)](_0x358265['scopes'])&&_0x358265['scopes'][_0x244e0c(0x364)](_0x301399=>{const _0x3c5104=_0x244e0c,_0x1d9669=_0x301399[_0x3c5104(0x201)](/@(\w+)/g);_0x1d9669&&_0x1d9669[_0x3c5104(0x364)](_0x12185d=>{const _0x2515f0=_0x3c5104,_0x25600f=_0x12185d[_0x2515f0(0x368)](0x1);!_0x125ab4[_0x2515f0(0x256)](_0x25600f)&&_0x125ab4[_0x2515f0(0x2f0)](_0x25600f);});}),_0x125ab4;}[a75_0x197ab6(0x1f3)](_0x453b54){const _0xafde25=a75_0x197ab6,_0x3d758c={'dFNuX':function(_0x4e1eba,_0x5c1576){return _0x4e1eba(_0x5c1576);},'KDSxc':_0xafde25(0x28b)};if(_0x453b54['file_name'])return _0x453b54[_0xafde25(0x274)];if(_0x453b54[_0xafde25(0x290)]){const _0x187679=_0x3d758c[_0xafde25(0x35a)](require,_0x3d758c['KDSxc']);try{const _0x5c1fea=_0x187679['parse'](_0x453b54[_0xafde25(0x290)]);if(_0x5c1fea[0x0]&&_0x5c1fea[0x0]['getFileName'])return _0x5c1fea[0x0]['getFileName']();}catch(_0x200aa6){logger[_0xafde25(0x353)](_0xafde25(0x280)+util[_0xafde25(0x2c9)](_0x200aa6));}}return null;}[a75_0x197ab6(0x2b4)](_0x2bd6b6){const _0xcbc398=a75_0x197ab6,_0x2def7f={};_0x2def7f[_0xcbc398(0x27e)]=function(_0x489ac4,_0x5003ac){return _0x489ac4>_0x5003ac;},_0x2def7f[_0xcbc398(0x221)]='Unknown\x20error';const _0xba2954=_0x2def7f;if(_0x2bd6b6[_0xcbc398(0x35b)]&&_0xba2954[_0xcbc398(0x27e)](_0x2bd6b6['errorsDetailed']['length'],0x0))return util['inspect'](_0x2bd6b6[_0xcbc398(0x35b)][0x0]);if(_0x2bd6b6[_0xcbc398(0x360)])return _0x2bd6b6[_0xcbc398(0x360)];return _0xba2954[_0xcbc398(0x221)];}['getJestFailureType'](_0x17d491){const _0x46f88d=a75_0x197ab6,_0x72a13d={};_0x72a13d['MEqCZ']=_0x46f88d(0x2cb),_0x72a13d['wWlwV']=_0x46f88d(0x284),_0x72a13d[_0x46f88d(0x207)]='UnhandledError';const _0xabe1a=_0x72a13d,_0x3f3059=this[_0x46f88d(0x2b4)](_0x17d491);if(_0x3f3059&&_0x3f3059[_0x46f88d(0x256)](_0xabe1a['MEqCZ']))return _0xabe1a[_0x46f88d(0x2ab)];return _0xabe1a['MBgty'];}[a75_0x197ab6(0x25b)](_0x14b848){const _0x5c0610=a75_0x197ab6,_0x18ba21={'lHEUE':function(_0x34a487,_0x1f8033){return _0x34a487(_0x1f8033);},'vFibH':_0x5c0610(0x309),'UmvPe':function(_0xf089fa,_0x57aff7){return _0xf089fa!==_0x57aff7;},'SzjaT':_0x5c0610(0x1f8)},{failureData:_0x60d9c}=_0x18ba21['lHEUE'](require,_0x18ba21[_0x5c0610(0x282)]),_0x1ef9da=[];return _0x18ba21[_0x5c0610(0x1e8)](_0x14b848[_0x5c0610(0x35b)],undefined)&&_0x1ef9da[_0x5c0610(0x2f0)](_0x14b848[_0x5c0610(0x35b)],_0x18ba21['SzjaT']),_0x60d9c['apply'](null,_0x1ef9da);}async[a75_0x197ab6(0x216)](_0x72c518,_0x288672,_0x5880db,_0x396e74){const _0x4054bc=a75_0x197ab6,_0x53f016={'PoAQz':'[JestTestFramework]\x20trackHookEvent:\x20No\x20hook\x20data\x20provided\x20for\x20jest\x20hook\x20event','jltns':function(_0x145f94){return _0x145f94();},'xsRSV':function(_0x10436a,_0x4fb64a){return _0x10436a in _0x4fb64a;},'lnIRw':function(_0x34a4e1,_0x40daec){return _0x34a4e1 in _0x40daec;},'fWTBY':function(_0x1ee589,_0x3b8d59){return _0x1ee589===_0x3b8d59;},'CUQFV':function(_0xa071cd,_0x3d5ecc){return _0xa071cd===_0x3d5ecc;},'Pypgn':function(_0x5aebe7,_0x3b3551){return _0x5aebe7>_0x3b3551;},'gycZr':'failed','diJCk':_0x4054bc(0x2e1),'ijwKU':function(_0x16685e,_0x59624e){return _0x16685e===_0x59624e;},'auoFu':'[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20BEFORE_ALL\x20with\x20no\x20matching\x20PRE,\x20storing\x20as\x20pending','fphKr':function(_0x3e10b1,_0x503052){return _0x3e10b1===_0x503052;},'kNltB':function(_0x331dac,_0x40c586){return _0x331dac!==_0x40c586;}},{hookData:_0x466097}=_0x396e74,_0x3fe327=_0x5880db[_0x4054bc(0x30c)](),_0x307a2d=_0x288672[_0x4054bc(0x30c)](),_0x5f1028={};_0x5f1028['depth']=0x2,_0x5f1028[_0x4054bc(0x361)]=0x3,logger[_0x4054bc(0x353)](_0x4054bc(0x297)+_0x307a2d+_0x4054bc(0x220)+_0x3fe327+_0x4054bc(0x2fb)+util[_0x4054bc(0x1e0)](_0x466097,_0x5f1028));if(!_0x466097)return logger[_0x4054bc(0x353)](_0x53f016[_0x4054bc(0x29a)]),{};const _0x3e5958=_0x466097[_0x4054bc(0x24d)]||_0x466097[_0x4054bc(0x250)]||_0x53f016[_0x4054bc(0x20d)](uuidv4),_0x15abac=_0x466097['test_run_id']||this['getJestTestIdentifier'](_0x466097),_0x415037=_0x288672[_0x4054bc(0x30c)]()[_0x4054bc(0x327)]('.')[0x1],_0x698b5b=_0x72c518[_0x4054bc(0x31d)]()[_0x4054bc(0x208)](_0x15abac),_0x56ae06=_0x698b5b?_0x698b5b[TestFrameworkConstants[_0x4054bc(0x23d)]]||{}:{};logger[_0x4054bc(0x353)](_0x4054bc(0x25d)+_0x3e5958+_0x4054bc(0x362)+_0x15abac+_0x4054bc(0x346)+_0x415037+_0x4054bc(0x220)+_0x3fe327);if(!_0x698b5b)return logger[_0x4054bc(0x353)](_0x4054bc(0x1df)+_0x15abac+_0x4054bc(0x1e1)),this[_0x4054bc(0x22b)](_0x72c518,_0x15abac,_0x288672,_0x5880db,_0x396e74),{};let _0x5e2cb7=_0x698b5b[TestFrameworkConstants[_0x4054bc(0x21e)]];!_0x5e2cb7&&(_0x5e2cb7={});!_0x53f016[_0x4054bc(0x238)](_0x415037,_0x5e2cb7)&&(_0x5e2cb7[_0x415037]=[]);let _0x67fd40=_0x698b5b[TestFrameworkConstants[_0x4054bc(0x347)]];!_0x67fd40&&(_0x67fd40={});!_0x53f016[_0x4054bc(0x21b)](_0x415037,_0x67fd40)&&(_0x67fd40[_0x415037]=[]);const _0x582aaf={[_0x15abac]:{[TestFrameworkConstants[_0x4054bc(0x21e)]]:_0x5e2cb7,[TestFrameworkConstants[_0x4054bc(0x347)]]:_0x67fd40,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x4054bc(0x27a)]()[0x0]||'',[TestFrameworkConstants[_0x4054bc(0x23a)]]:this[_0x4054bc(0x211)]()[this[_0x4054bc(0x27a)]()[0x0]]||''}};if(_0x53f016[_0x4054bc(0x318)](_0x5880db,HookState[_0x4054bc(0x35d)])){const _0x14cdfa={'key':_0x415037,[TestFrameworkConstants['KEY_HOOK_ID']]:_0x3e5958,[TestFrameworkConstants[_0x4054bc(0x32b)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x466097[_0x4054bc(0x308)]||new Date()[_0x4054bc(0x2b5)](),[TestFrameworkConstants[_0x4054bc(0x338)]]:[],[TestFrameworkConstants[_0x4054bc(0x340)]]:_0x466097[_0x4054bc(0x24e)]||_0x466097[_0x4054bc(0x319)]||_0x415037,[TestFrameworkConstants[_0x4054bc(0x23d)]]:_0x56ae06};_0x5e2cb7[_0x415037][_0x4054bc(0x2f0)](_0x14cdfa),_0x582aaf[_0x15abac][TestFrameworkConstants[_0x4054bc(0x21a)]]=_0x415037;const _0x4f430c={};_0x4f430c['depth']=0x2,logger[_0x4054bc(0x353)](_0x4054bc(0x2c5)+_0x415037+_0x4054bc(0x31a)+_0x3e5958+_0x4054bc(0x362)+_0x15abac+_0x4054bc(0x359)+util[_0x4054bc(0x1e0)](_0x14cdfa,_0x4f430c));}else{if(_0x53f016[_0x4054bc(0x2c4)](_0x5880db,HookState['POST'])){const _0xdeee66=_0x466097[_0x4054bc(0x245)]||(_0x466097[_0x4054bc(0x35b)]&&_0x53f016['Pypgn'](_0x466097[_0x4054bc(0x35b)][_0x4054bc(0x2ae)],0x0)?_0x53f016[_0x4054bc(0x242)]:_0x53f016[_0x4054bc(0x349)]),_0x5eb648=_0x5e2cb7[_0x415037]||[];logger[_0x4054bc(0x353)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20hookType='+_0x415037+',\x20testId='+_0x15abac+',\x20result='+_0xdeee66+_0x4054bc(0x32d)+_0x5eb648[_0x4054bc(0x2ae)]);if(_0x53f016[_0x4054bc(0x2c4)](_0x5eb648[_0x4054bc(0x2ae)],0x0)&&_0x53f016[_0x4054bc(0x285)](_0x288672,TestFrameworkState[_0x4054bc(0x2d6)]))return logger[_0x4054bc(0x353)](_0x53f016[_0x4054bc(0x334)]),this['storePendingHook'](_0x72c518,_0x15abac,_0x288672,_0x5880db,_0x396e74),{};if(_0x53f016[_0x4054bc(0x2e3)](_0x5eb648[_0x4054bc(0x2ae)],0x0)){const _0x34e41d=_0x5eb648[_0x4054bc(0x22f)]();_0x53f016['fphKr'](_0xdeee66,_0x53f016[_0x4054bc(0x242)])&&_0x466097[_0x4054bc(0x35b)]?(_0x34e41d[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=this[_0x4054bc(0x2fa)](_0x466097),_0x34e41d[TestFrameworkConstants[_0x4054bc(0x2e4)]]=this[_0x4054bc(0x2b4)](_0x466097),_0x34e41d[TestFrameworkConstants[_0x4054bc(0x279)]]=this[_0x4054bc(0x25b)](_0x466097),logger[_0x4054bc(0x353)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20FAILED\x20-\x20hookType='+_0x415037+',\x20failureType='+_0x34e41d[TestFrameworkConstants[_0x4054bc(0x236)]]+_0x4054bc(0x281)+_0x34e41d[TestFrameworkConstants[_0x4054bc(0x2e4)]]?.[_0x4054bc(0x33e)](0x0,0xc8))):_0x34e41d[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x53f016[_0x4054bc(0x349)];_0x53f016[_0x4054bc(0x32c)](_0xdeee66,TestFrameworkConstants[_0x4054bc(0x34e)])&&(_0x34e41d[TestFrameworkConstants[_0x4054bc(0x32b)]]=_0xdeee66);_0x34e41d[TestFrameworkConstants[_0x4054bc(0x264)]]=_0x466097[_0x4054bc(0x271)]||new Date()[_0x4054bc(0x2b5)](),_0x34e41d[TestFrameworkConstants[_0x4054bc(0x23d)]]=_0x56ae06;const _0x82446d=_0x34e41d[TestFrameworkConstants[_0x4054bc(0x2f6)]];!_0x67fd40[_0x415037]&&(_0x67fd40[_0x415037]=[]);_0x67fd40[_0x415037][_0x4054bc(0x2f0)](_0x34e41d),_0x582aaf[_0x15abac][TestFrameworkConstants[_0x4054bc(0x337)]]=_0x415037;const _0x980519={};_0x980519[_0x4054bc(0x2cc)]=0x2,logger[_0x4054bc(0x353)]('[JestTestFramework]\x20trackHookEvent:\x20HOOK\x20POST\x20-\x20Completed\x20hookType='+_0x415037+_0x4054bc(0x31a)+_0x82446d+_0x4054bc(0x30e)+_0xdeee66+_0x4054bc(0x359)+util[_0x4054bc(0x1e0)](_0x34e41d,_0x980519));}}}return _0x582aaf;}[a75_0x197ab6(0x2ac)](_0x224d89){const _0x10a6e6=a75_0x197ab6,_0x2a9d17={};_0x2a9d17[_0x10a6e6(0x2a8)]=_0x10a6e6(0x2de);const _0xb9742c=_0x2a9d17;try{const _0x1e4143=_0x224d89[_0x10a6e6(0x1f8)]?this[_0x10a6e6(0x2d0)](_0x224d89[_0x10a6e6(0x1f8)]):_0x224d89[_0x10a6e6(0x1e5)][_0x10a6e6(0x2d2)],_0xd2ba3c=_0x224d89[_0x10a6e6(0x2b3)],_0x21b9a8=_0xd2ba3c[_0x10a6e6(0x2ef)](),_0x97eaee=_0xd2ba3c[_0x10a6e6(0x31d)]()[_0x10a6e6(0x208)](_0x1e4143);if(!_0x97eaee)return logger[_0x10a6e6(0x353)](_0x10a6e6(0x20c)+_0x1e4143),{};const {[TestFrameworkConstants[_0x10a6e6(0x269)]]:_0x42dc21=this[_0x10a6e6(0x27a)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x15c883=this['getTestFrameworksVersions']()[this[_0x10a6e6(0x27a)]()[0x0]]||'',[TestFrameworkConstants[_0x10a6e6(0x218)]]:_0x3787fb='',[TestFrameworkConstants[_0x10a6e6(0x351)]]:_0x4321be=''}=_0x97eaee,_0x3ffb96=_0xd2ba3c[_0x10a6e6(0x22d)]()[_0x10a6e6(0x30c)]()[_0x10a6e6(0x327)]('.')[0x1],_0x2081d9=_0xd2ba3c['getCurrentHookState']()[_0x10a6e6(0x30c)]()[_0x10a6e6(0x327)]('.')[0x1],_0x4db29e=global?.[_0x10a6e6(0x1f6)]?.[_0x10a6e6(0x305)]?.['parallelIndex']||global[_0x10a6e6(0x1ff)]||0x0,_0x2d83f2=_0xd2ba3c[_0x10a6e6(0x2bf)](),_0x26c95c=Buffer[_0x10a6e6(0x209)](JSON[_0x10a6e6(0x212)](_0x97eaee))[_0x10a6e6(0x30c)](_0xb9742c[_0x10a6e6(0x2a8)]),_0x5885de={'hash':_0x21b9a8['getId'](),'threadId':_0x21b9a8[_0x10a6e6(0x275)]()[_0x10a6e6(0x30c)](),'processId':_0x21b9a8[_0x10a6e6(0x1f2)]()[_0x10a6e6(0x30c)]()},_0x5e6eff={};_0x5e6eff[_0x10a6e6(0x369)]=_0x4db29e,_0x5e6eff['testFrameworkName']=_0x42dc21,_0x5e6eff['testFrameworkVersion']=_0x15c883,_0x5e6eff[_0x10a6e6(0x328)]=_0x3ffb96,_0x5e6eff[_0x10a6e6(0x358)]=_0x2081d9,_0x5e6eff[_0x10a6e6(0x24a)]=_0x3787fb,_0x5e6eff['endedAt']=_0x4321be,_0x5e6eff[_0x10a6e6(0x24d)]=_0x2d83f2,_0x5e6eff[_0x10a6e6(0x27b)]=_0x26c95c,_0x5e6eff[_0x10a6e6(0x363)]=_0x5885de,_0x5e6eff[_0x10a6e6(0x27f)]=_0x1e4143;const _0x33f4f2=_0x5e6eff;return _0x33f4f2;}catch(_0x87478d){return logger[_0x10a6e6(0x32f)](_0x10a6e6(0x259)+util[_0x10a6e6(0x2c9)](_0x87478d)),{};}}async[a75_0x197ab6(0x22c)](_0x108cdf,_0x366796,_0x35dc97){const _0x180299=a75_0x197ab6,_0x3347fd={'rVzzp':function(_0x1e0d87,_0xe8fbe3){return _0x1e0d87+_0xe8fbe3;},'PZgLW':_0x180299(0x32a),'XVivO':'none','PtxTQ':function(_0x3d72df,_0x303ec1){return _0x3d72df>_0x303ec1;},'aKwPh':function(_0xb768c3,_0x1d783,_0x4b3b7f,_0x389f07){return _0xb768c3(_0x1d783,_0x4b3b7f,_0x389f07);},'YFFMC':function(_0x1a88a5,_0x14e6cb){return _0x1a88a5-_0x14e6cb;},'DHcyv':function(_0x35702c,_0x215e7b){return _0x35702c===_0x215e7b;},'lbsaq':function(_0x488dc1,_0x459ac8){return _0x488dc1/_0x459ac8;},'ROixQ':function(_0x33b511,_0x2b9844){return _0x33b511<_0x2b9844;},'KQrzF':function(_0x7b9808,_0x1c7dc0){return _0x7b9808*_0x1c7dc0;},'CJuqw':function(_0x277a00,_0x317fea){return _0x277a00+_0x317fea;},'RnlxM':function(_0x53665e,_0x44b159){return _0x53665e+_0x44b159;},'VIvII':function(_0x185ee5,_0x2b00bb){return _0x185ee5+_0x2b00bb;}};try{const _0x58f30f=_0x35dc97[_0x180299(0x2c0)]||_0x35dc97[_0x180299(0x2ca)],_0x39fde9=Array[_0x180299(0x209)](_0x108cdf[_0x180299(0x31d)]()[_0x180299(0x2c6)]()),_0x571616=_0x108cdf[_0x180299(0x31d)]()['get'](_0x58f30f);if(!_0x571616){logger[_0x180299(0x353)](_0x180299(0x367)+_0x58f30f);return;}const {[TestFrameworkConstants[_0x180299(0x269)]]:_0x29e6a5='',[TestFrameworkConstants[_0x180299(0x23a)]]:_0x1d7719=''}=_0x571616;let _0x506bdc=[];_0x571616&&_0x571616[TestFrameworkConstants[_0x180299(0x329)]]&&Array[_0x180299(0x1e6)](_0x571616[TestFrameworkConstants['KEY_LOGS']])?(_0x506bdc=_0x571616[TestFrameworkConstants[_0x180299(0x329)]]||[],logger[_0x180299(0x353)](_0x180299(0x348)+_0x506bdc[_0x180299(0x2ae)]+_0x180299(0x330)+_0x58f30f),_0x108cdf[_0x180299(0x2a3)]({[_0x58f30f]:{[TestFrameworkConstants[_0x180299(0x329)]]:[],[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:this[_0x180299(0x27a)]()[0x0]||'',[TestFrameworkConstants[_0x180299(0x23a)]]:this['getTestFrameworksVersions']()[this[_0x180299(0x27a)]()[0x0]]||''}}),logger['debug'](_0x180299(0x26a)+_0x58f30f)):logger[_0x180299(0x353)](_0x180299(0x1f4)+_0x58f30f);logger['debug'](_0x180299(0x2a4)+_0x506bdc[_0x180299(0x2ae)]+'\x20for\x20testId:\x20'+_0x58f30f);const _0xce38e3=_0x506bdc[_0x180299(0x2da)](_0x50b763=>_0x50b763['kind']===_0x180299(0x258));_0x3347fd[_0x180299(0x1f1)](_0xce38e3[_0x180299(0x2ae)],0x0)&&(logger[_0x180299(0x353)](_0x180299(0x352)+_0xce38e3['length']+_0x180299(0x28c)+_0x58f30f),_0xce38e3['forEach']((_0x1c43cd,_0xadb245)=>{const _0x2b5767=_0x180299;logger[_0x2b5767(0x353)]('[JestTestFramework]\x20sendLogCreatedEvent:\x20Screenshot\x20log\x20'+_0x3347fd[_0x2b5767(0x219)](_0xadb245,0x1)+'/'+_0xce38e3[_0x2b5767(0x2ae)]+_0x2b5767(0x2ad)+(_0x1c43cd[_0x2b5767(0x27f)]||_0x3347fd['PZgLW'])+',\x20test_run_uuid='+(_0x1c43cd[_0x2b5767(0x35f)]||_0x3347fd['PZgLW'])+_0x2b5767(0x210)+(_0x1c43cd[_0x2b5767(0x2c8)]||_0x3347fd[_0x2b5767(0x2fd)])+_0x2b5767(0x24b)+(_0x1c43cd[_0x2b5767(0x29b)]?.[_0x2b5767(0x2ae)]||0x0));}));const _0x466d0c=_0x571616[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x20ada5=_0x3347fd['aKwPh'](getMediaArtifactsLogs,_0x466d0c,null,_0x58f30f),_0x21ee41=(_0x506bdc||[])[_0x180299(0x2ee)](_0x20ada5||[]),_0x174abe=_0xce38e3?.[_0x180299(0x2ae)]||0x0,_0x397707=_0x3347fd[_0x180299(0x2f2)](_0x506bdc?.[_0x180299(0x2ae)]||0x0,_0x174abe);logger['debug'](_0x180299(0x355)+_0x58f30f+_0x180299(0x226)+_0x397707+_0x180299(0x2e7)+_0x174abe+_0x180299(0x267)+(_0x20ada5?.[_0x180299(0x2ae)]||0x0)+_0x180299(0x296)+_0x21ee41[_0x180299(0x2ae)]);if(!_0x21ee41||_0x3347fd['DHcyv'](_0x21ee41[_0x180299(0x2ae)],0x0)){logger[_0x180299(0x353)](_0x180299(0x2a1)+_0x58f30f);return;}const _0x3af3e4=0x28,_0x13cec2=Math[_0x180299(0x366)](_0x3347fd['lbsaq'](_0x21ee41[_0x180299(0x2ae)],_0x3af3e4));for(let _0x2058c2=0x0;_0x3347fd['ROixQ'](_0x2058c2,_0x13cec2);_0x2058c2++){const _0x46dc77=_0x3347fd[_0x180299(0x316)](_0x2058c2,_0x3af3e4),_0x1c0a85=_0x3347fd[_0x180299(0x255)](_0x46dc77,_0x3af3e4),_0x4dc525=_0x21ee41[_0x180299(0x368)](_0x46dc77,_0x1c0a85),_0x9af85f=global?.['browserstackPlatformIndex']??0x0,_0x301735={'platformIndex':_0x9af85f,'logs':_0x4dc525,'testFrameworkName':_0x29e6a5,'testFrameworkVersion':_0x1d7719,'testFrameworkState':_0x366796[_0x180299(0x30c)]()[_0x180299(0x327)]('.')[0x1]},_0x5ecb5e={};_0x5ecb5e[_0x180299(0x2cc)]=0x3,_0x5ecb5e[_0x180299(0x361)]=0x5,logger['debug'](_0x180299(0x2b9)+_0x3347fd['RnlxM'](_0x2058c2,0x1)+'/'+_0x13cec2+_0x180299(0x20e)+_0x58f30f+_0x180299(0x29c)+_0x4dc525['length']+',\x20platformIndex:\x20'+_0x9af85f+',\x20payload:\x20'+util[_0x180299(0x1e0)](_0x301735,_0x5ecb5e));const _0x1ed454=await GrpcClient[_0x180299(0x2e5)]()[_0x180299(0x30a)](_0x301735);logger[_0x180299(0x353)](_0x180299(0x2b9)+_0x3347fd['VIvII'](_0x2058c2,0x1)+'/'+_0x13cec2+_0x180299(0x20e)+_0x58f30f+_0x180299(0x254)+util[_0x180299(0x1e0)](_0x1ed454));}_0x20ada5&&_0x3347fd['PtxTQ'](_0x20ada5['length'],0x0)&&_0x571616[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]&&_0x108cdf[_0x180299(0x2a3)]({[_0x58f30f]:{[TestFrameworkConstants[_0x180299(0x311)]]:{},[TestFrameworkConstants[_0x180299(0x269)]]:this[_0x180299(0x27a)]()[0x0]||'',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x180299(0x211)]()[this['getTestFrameworks']()[0x0]]||''}}),logger[_0x180299(0x353)](_0x180299(0x225)+_0x58f30f+',\x20totalBatches:\x20'+_0x13cec2);}catch(_0x2cbdc5){logger[_0x180299(0x32f)](_0x180299(0x2ea)+(_0x35dc97[_0x180299(0x2c0)]||_0x35dc97[_0x180299(0x2ca)])+',\x20error:\x20'+util[_0x180299(0x2c9)](_0x2cbdc5));}}['storePendingHook'](_0x342671,_0xb43a0d,_0x58ad6e,_0x34caad,_0x2a5260){const _0x4274b6=a75_0x197ab6,_0x7ec715={};_0x7ec715[_0x4274b6(0x241)]=function(_0x58dc16,_0x19d870){return _0x58dc16===_0x19d870;},_0x7ec715[_0x4274b6(0x2a9)]='beforeAll';const _0x57367d=_0x7ec715,{hookData:_0x27fc6a}=_0x2a5260,_0x538398={'testId':_0xb43a0d,'testFrameworkState':_0x58ad6e,'hookState':_0x34caad,'args':_0x2a5260,'timestamp':new Date()[_0x4274b6(0x2b5)]()};if(_0x57367d['CugjQ'](_0x58ad6e,TestFrameworkState[_0x4274b6(0x2d6)])&&_0x27fc6a){const _0x2de8ea={};_0x2de8ea[_0x4274b6(0x2ff)]=_0x27fc6a[_0x4274b6(0x274)]||_0x27fc6a['location'],_0x2de8ea[_0x4274b6(0x1fb)]=_0x27fc6a['scope']||_0x27fc6a[_0x4274b6(0x217)]&&_0x27fc6a['scopes'][0x0]||'',_0x2de8ea[_0x4274b6(0x240)]=_0x57367d['qeeVQ'],_0x538398['hookMetadata']=_0x2de8ea,logger[_0x4274b6(0x353)](_0x4274b6(0x270)+_0xb43a0d+_0x4274b6(0x1fe)+_0x538398[_0x4274b6(0x2d8)][_0x4274b6(0x2ff)]+_0x4274b6(0x262)+_0x538398[_0x4274b6(0x2d8)][_0x4274b6(0x1fb)]);}_0x342671['addPendingHook'](_0xb43a0d,_0x538398),logger[_0x4274b6(0x353)](_0x4274b6(0x339)+_0xb43a0d+_0x4274b6(0x1f5)+_0x58ad6e+',\x20hookState:\x20'+_0x34caad);}async['processPendingHooks'](_0x113ce5,_0x4ae0be){const _0x590d65=a75_0x197ab6,_0x4e01a6={};_0x4e01a6[_0x590d65(0x1ea)]=function(_0x3bad95,_0x148191){return _0x3bad95>_0x148191;},_0x4e01a6['RMYli']=function(_0x248957,_0x16d21a){return _0x248957===_0x16d21a;},_0x4e01a6[_0x590d65(0x286)]=function(_0x27085a,_0x50ef73){return _0x27085a===_0x50ef73;},_0x4e01a6[_0x590d65(0x200)]=function(_0x17457e,_0x82880){return _0x17457e===_0x82880;},_0x4e01a6['UKJqm']=function(_0x4629fc,_0x1d129d){return _0x4629fc>_0x1d129d;},_0x4e01a6['qDaKO']=_0x590d65(0x26b);const _0x2eea75=_0x4e01a6;if(_0x113ce5[_0x590d65(0x2b7)](_0x4ae0be)){const _0x57af8c=_0x113ce5[_0x590d65(0x293)](_0x4ae0be);logger[_0x590d65(0x353)](_0x590d65(0x2bd)+_0x57af8c[_0x590d65(0x2ae)]+_0x590d65(0x228)+_0x4ae0be);for(const _0x51c667 of _0x57af8c){try{const _0x561554=await this[_0x590d65(0x216)](_0x113ce5,_0x51c667[_0x590d65(0x328)],_0x51c667[_0x590d65(0x358)],_0x51c667[_0x590d65(0x205)]);_0x561554&&_0x2eea75['kZbza'](Object[_0x590d65(0x2c6)](_0x561554)[_0x590d65(0x2ae)],0x0)&&_0x113ce5[_0x590d65(0x2a3)](_0x561554),await this[_0x590d65(0x307)](_0x113ce5,_0x51c667[_0x590d65(0x328)],_0x51c667[_0x590d65(0x358)],_0x51c667[_0x590d65(0x205)]);}catch(_0x1f9133){logger[_0x590d65(0x32f)]('Error\x20processing\x20pending\x20hook\x20for\x20testId:\x20'+_0x4ae0be+_0x590d65(0x2c3)+_0x1f9133);}}_0x113ce5[_0x590d65(0x30b)](_0x4ae0be),logger[_0x590d65(0x353)](_0x590d65(0x25f)+_0x4ae0be);}const _0x3c23cb=_0x113ce5[_0x590d65(0x31d)]()['get'](_0x4ae0be);if(_0x3c23cb){const _0x124588=_0x3c23cb[TestFrameworkConstants['KEY_TEST_FILE_PATH']]||_0x3c23cb[TestFrameworkConstants[_0x590d65(0x357)]],_0x1dd1a4=_0x3c23cb[TestFrameworkConstants[_0x590d65(0x231)]]||_0x3c23cb[TestFrameworkConstants[_0x590d65(0x34b)]]&&_0x3c23cb[TestFrameworkConstants[_0x590d65(0x34b)]][0x0]||'';logger[_0x590d65(0x353)](_0x590d65(0x2e6)+_0x124588+',\x20scope:\x20'+_0x1dd1a4);const _0x31325b=_0x113ce5[_0x590d65(0x21f)]();for(const _0x12a839 of _0x31325b){if(_0x2eea75['RMYli'](_0x12a839,_0x4ae0be))continue;if(_0x113ce5[_0x590d65(0x2b7)](_0x12a839)){const _0x2b71d4=_0x113ce5[_0x590d65(0x293)](_0x12a839);for(const _0x520e54 of _0x2b71d4){if(_0x2eea75[_0x590d65(0x1ee)](_0x520e54[_0x590d65(0x328)],TestFrameworkState['BEFORE_ALL'])&&_0x520e54['hookMetadata']){const _0x34f328=_0x520e54[_0x590d65(0x2d8)][_0x590d65(0x2ff)],_0x1f356f=_0x520e54[_0x590d65(0x2d8)][_0x590d65(0x1fb)];if(_0x2eea75[_0x590d65(0x286)](_0x34f328,_0x124588)&&_0x2eea75['pjIpC'](_0x1f356f,_0x1dd1a4)){logger['debug'](_0x590d65(0x214)+_0x12a839+_0x590d65(0x291)+_0x4ae0be+_0x590d65(0x1fe)+_0x34f328+_0x590d65(0x262)+_0x1f356f);_0x520e54[_0x590d65(0x205)]&&_0x520e54['args']['hookData']&&(_0x520e54[_0x590d65(0x205)][_0x590d65(0x1e5)][_0x590d65(0x2d2)]=_0x4ae0be,logger['debug'](_0x590d65(0x324)+_0x12a839+_0x590d65(0x283)+_0x4ae0be));try{const _0x2770b3=await this[_0x590d65(0x216)](_0x113ce5,_0x520e54[_0x590d65(0x328)],_0x520e54[_0x590d65(0x358)],_0x520e54[_0x590d65(0x205)]);_0x2770b3&&_0x2eea75[_0x590d65(0x29f)](Object[_0x590d65(0x2c6)](_0x2770b3)[_0x590d65(0x2ae)],0x0)&&_0x113ce5[_0x590d65(0x2a3)](_0x2770b3);await this[_0x590d65(0x307)](_0x113ce5,_0x520e54[_0x590d65(0x328)],_0x520e54['hookState'],_0x520e54['args']);const _0x4a545c=_0x113ce5[_0x590d65(0x293)](_0x12a839)[_0x590d65(0x2da)](_0x9f64b6=>_0x9f64b6!==_0x520e54);if(_0x2eea75[_0x590d65(0x286)](_0x4a545c[_0x590d65(0x2ae)],0x0))_0x113ce5[_0x590d65(0x30b)](_0x12a839);else{_0x113ce5['removePendingHooks'](_0x12a839);for(const _0x17d135 of _0x4a545c){_0x113ce5['addPendingHook'](_0x12a839,_0x17d135);}}logger[_0x590d65(0x353)](_0x2eea75['qDaKO']);}catch(_0x1c7599){logger[_0x590d65(0x32f)](_0x590d65(0x1fa)+_0x4ae0be+',\x20error:\x20'+_0x1c7599);}}}}}}}}[a75_0x197ab6(0x323)](_0x46691b){const _0x99b205=a75_0x197ab6,_0xc50919={'IpCRL':function(_0x4b7327){return _0x4b7327();}};if(!_0x46691b||!_0x46691b[_0x99b205(0x306)])return;_0x46691b['parent']['hooks']&&Array[_0x99b205(0x1e6)](_0x46691b[_0x99b205(0x306)][_0x99b205(0x2c1)])&&_0x46691b['parent'][_0x99b205(0x2c1)][_0x99b205(0x364)](_0x95b0a7=>{const _0x528649=_0x99b205;!_0x95b0a7[_0x528649(0x250)]&&!_0x95b0a7[_0x528649(0x2b1)]&&(_0x95b0a7[_0x528649(0x250)]=_0xc50919[_0x528649(0x2eb)](uuidv4),_0x95b0a7[_0x528649(0x2b1)]=_0x95b0a7[_0x528649(0x250)],logger['debug'](_0x528649(0x1e9)+_0x95b0a7[_0x528649(0x24c)]+_0x528649(0x344)+_0x95b0a7[_0x528649(0x250)]));}),this[_0x99b205(0x323)](_0x46691b['parent']);}[a75_0x197ab6(0x326)](_0x472402){const _0x5b0a51=a75_0x197ab6,_0x216580={'WLKhu':function(_0x4ea556,_0x33f587){return _0x4ea556(_0x33f587);}};if(!_0x472402||!_0x472402['parent'])return[];const _0x3fee5e=[];return _0x472402[_0x5b0a51(0x306)][_0x5b0a51(0x2c1)]&&Array['isArray'](_0x472402[_0x5b0a51(0x306)][_0x5b0a51(0x2c1)])&&_0x472402[_0x5b0a51(0x306)][_0x5b0a51(0x2c1)]['forEach'](_0x358844=>{const _0x117f12=_0x5b0a51,_0x442463=_0x358844[_0x117f12(0x250)]||_0x358844[_0x117f12(0x2b1)];_0x442463&&!this[_0x117f12(0x354)](_0x358844)&&!_0x216580['WLKhu'](isInternalHook,_0x358844['fn'])&&_0x3fee5e['push'](_0x442463);}),[..._0x3fee5e,...this[_0x5b0a51(0x326)](_0x472402['parent'])];}['buildHookMapFromTest'](_0xc3e705){const _0x2f2ba4={'bVopP':function(_0x2fe1a0,_0x887907){return _0x2fe1a0(_0x887907);},'wUdoW':'unknown','KcKyA':function(_0x265baa,_0x5ec377){return _0x265baa(_0x5ec377);}},_0x4189ab=new Map(),_0x2aaca8=_0x303716=>{const _0x3d216d=a75_0x24bb;if(!_0x303716||!_0x303716[_0x3d216d(0x306)])return;_0x303716[_0x3d216d(0x306)]['hooks']&&Array[_0x3d216d(0x1e6)](_0x303716[_0x3d216d(0x306)][_0x3d216d(0x2c1)])&&_0x303716[_0x3d216d(0x306)][_0x3d216d(0x2c1)][_0x3d216d(0x364)](_0x784a3=>{const _0x11c881=_0x3d216d,_0x5d2171=_0x784a3[_0x11c881(0x250)]||_0x784a3[_0x11c881(0x2b1)];if(_0x5d2171&&!this[_0x11c881(0x354)](_0x784a3)&&!_0x2f2ba4[_0x11c881(0x22a)](isInternalHook,_0x784a3['fn'])){const _0x414ec4={};_0x414ec4['type']=_0x784a3[_0x11c881(0x24c)]||_0x2f2ba4[_0x11c881(0x365)],_0x414ec4[_0x11c881(0x24e)]=_0x784a3[_0x11c881(0x24e)]||'\x22'+_0x784a3[_0x11c881(0x24c)]+_0x11c881(0x2fc),_0x4189ab[_0x11c881(0x2af)](_0x5d2171,_0x414ec4);}}),_0x2f2ba4[_0x3d216d(0x22a)](_0x2aaca8,_0x303716['parent']);};return _0x2f2ba4['KcKyA'](_0x2aaca8,_0xc3e705),_0x4189ab;}[a75_0x197ab6(0x354)](_0x13f67a){const _0x48c860=a75_0x197ab6,_0x4e498f={};_0x4e498f['wcggb']='jest-circus',_0x4e498f[_0x48c860(0x331)]=_0x48c860(0x252);const _0x507ff2=_0x4e498f;try{const _0xaa262c=this[_0x48c860(0x31f)](_0x13f67a);return _0xaa262c&&_0xaa262c[_0x48c860(0x256)](_0x507ff2[_0x48c860(0x2a7)]);}catch(_0x1d98a4){logger[_0x48c860(0x353)](_0x507ff2[_0x48c860(0x331)]);}return![];}[a75_0x197ab6(0x31f)](_0x2d8e1a){const _0x237321=a75_0x197ab6;if(_0x2d8e1a[_0x237321(0x290)])try{const _0x48c106=stackTrace[_0x237321(0x27d)](_0x2d8e1a[_0x237321(0x290)]);return _0x48c106[0x0]?_0x48c106[0x0]['getFileName']():null;}catch(_0x39d6b5){logger['debug'](_0x237321(0x2d9)+util[_0x237321(0x2c9)](_0x39d6b5));}if(_0x2d8e1a[_0x237321(0x343)])return _0x2d8e1a[_0x237321(0x343)];return null;}}module['exports']=JestTestFramework;
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 +1 @@
1
- const a76_0x5bd857=a76_0x4c3d;function a76_0x4c3d(_0x10fb77,_0x248327){const _0x2e8ade=a76_0x2e8a();return a76_0x4c3d=function(_0x4c3d6b,_0x26bfe3){_0x4c3d6b=_0x4c3d6b-0x8a;let _0x56f43d=_0x2e8ade[_0x4c3d6b];return _0x56f43d;},a76_0x4c3d(_0x10fb77,_0x248327);}(function(_0x344245,_0x30aede){const _0x5b69ed=a76_0x4c3d,_0x233581=_0x344245();while(!![]){try{const _0x222a2c=-parseInt(_0x5b69ed(0x91))/0x1+parseInt(_0x5b69ed(0x93))/0x2+-parseInt(_0x5b69ed(0xa6))/0x3+parseInt(_0x5b69ed(0x90))/0x4*(-parseInt(_0x5b69ed(0x94))/0x5)+-parseInt(_0x5b69ed(0xa8))/0x6+-parseInt(_0x5b69ed(0x98))/0x7*(parseInt(_0x5b69ed(0x97))/0x8)+parseInt(_0x5b69ed(0xad))/0x9;if(_0x222a2c===_0x30aede)break;else _0x233581['push'](_0x233581['shift']());}catch(_0x3b7641){_0x233581['push'](_0x233581['shift']());}}}(a76_0x2e8a,0x375ff));const AutomationFramework=require('./automationFramework.js'),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFrameworkState=require('../state/automationFrameworkState.js'),CLIUtils=require(a76_0x5bd857(0xa1)),TrackedInstance=require(a76_0x5bd857(0x8a)),AutomationFrameworkInstance=require(a76_0x5bd857(0x9d));function a76_0x2e8a(){const _0x2e73b3=['runHooks','getTrackedInstance','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','../instances/trackedInstance.js','NONE','trackEvent','info','logger','trackPlaywrightInstance','56OqPRVA','222619sLrXKW','getAutomationFrameworkVersion','591392ZEMKkJ','11440yqQaiz','gnTQE','params','40PKGVDy','75243TLdanZ','resolveInstance','trackEvent:\x20automationFrameworkState=','setTrackedInstance','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','../instances/automationFrameworkInstance.js','instance','EKtss','\x20target=','../cliUtils.js','message','getId','debug','trackPlaywrightInstance:\x20instance\x20already\x20exists','204585QEpXeg','bsParams','1740840KbhKPI','getCurrentInstanceName','iahNN','PlaywrightAutomationFramework','getAutomationFrameworkName','5380650dVtoEw','PLAYWRIGHT_DISPATCH'];a76_0x2e8a=function(){return _0x2e73b3;};return a76_0x2e8a();}class PlaywrightAutomationFramework extends AutomationFramework{[a76_0x5bd857(0x8e)]=createClassLogger(a76_0x5bd857(0xab));constructor(_0x5ba5a5,_0x3f2f5b){super(_0x5ba5a5,_0x3f2f5b);}async[a76_0x5bd857(0x8c)](_0x47c943,_0x2dcd28,_0x31f520={}){const _0x41d040=a76_0x5bd857,_0x328d2a={};_0x328d2a['WSCvX']=function(_0x1b18b7,_0x23b76){return _0x1b18b7===_0x23b76;};const _0x44ed6c=_0x328d2a;this[_0x41d040(0x8e)][_0x41d040(0xa4)](_0x41d040(0x9a)+_0x47c943+'\x20hookState='+_0x2dcd28),await super[_0x41d040(0x8c)](_0x47c943,_0x2dcd28,_0x31f520);const _0x31ed7d=this[_0x41d040(0x99)](_0x47c943,_0x2dcd28,_0x31f520);if(_0x44ed6c['WSCvX'](_0x31ed7d,null))return;_0x31f520[_0x41d040(0x9e)]=_0x31ed7d,await this[_0x41d040(0xaf)](_0x31ed7d,_0x47c943,_0x2dcd28,_0x31f520);}[a76_0x5bd857(0x99)](_0x207b28,_0x4c765d,_0x50e95a={}){const _0xe93f38=a76_0x5bd857,_0x534cfd={};_0x534cfd[_0xe93f38(0x95)]=function(_0xaf2582,_0x559270){return _0xaf2582===_0x559270;},_0x534cfd[_0xe93f38(0xaa)]=function(_0x28a454,_0x18b979){return _0x28a454===_0x18b979;};const _0x471e35=_0x534cfd;let _0x5592e5=null;return(_0x471e35[_0xe93f38(0x95)](_0x207b28,AutomationFrameworkState['CREATE'])||_0x471e35[_0xe93f38(0xaa)](_0x207b28,AutomationFrameworkState[_0xe93f38(0xae)])&&(_0x50e95a[_0xe93f38(0xa2)]&&_0x50e95a[_0xe93f38(0xa2)][_0xe93f38(0x96)]&&_0x50e95a[_0xe93f38(0xa2)][_0xe93f38(0x96)][_0xe93f38(0xa7)])||_0x471e35[_0xe93f38(0x95)](_0x207b28,AutomationFrameworkState[_0xe93f38(0x8b)]))&&this['trackPlaywrightInstance'](_0x207b28,_0x50e95a),_0x5592e5=AutomationFramework[_0xe93f38(0xb0)](),_0x5592e5;}[a76_0x5bd857(0x8f)](_0x105b1b,_0x2bb831){const _0x55f84d=a76_0x5bd857,_0x159f9d={};_0x159f9d['EKtss']=_0x55f84d(0xa5);const _0x1b1db5=_0x159f9d;if(AutomationFramework[_0x55f84d(0xb0)]()){this[_0x55f84d(0x8e)][_0x55f84d(0x8d)](_0x1b1db5[_0x55f84d(0x9f)]);return;}const _0x4e8432=CLIUtils[_0x55f84d(0xa9)](),_0x20e1d5=TrackedInstance['createContext'](_0x4e8432);let _0xc854a3=null;this[_0x55f84d(0x8e)][_0x55f84d(0x8d)](_0x55f84d(0x9c)+_0x4e8432+',\x20state='+_0x105b1b),_0xc854a3=new AutomationFrameworkInstance(_0x20e1d5,this[_0x55f84d(0xac)](),this[_0x55f84d(0x92)](),_0x105b1b),AutomationFramework[_0x55f84d(0x9b)](_0x20e1d5,_0xc854a3),this['logger']['info'](_0x55f84d(0xb1)+_0x20e1d5[_0x55f84d(0xa3)]()+_0x55f84d(0xa0)+_0x4e8432);}}module['exports']=PlaywrightAutomationFramework;
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 +1 @@
1
- function a77_0x5de7(_0x1ea219,_0x5bd2cf){const _0x5bba9b=a77_0x5bba();return a77_0x5de7=function(_0x5de7dc,_0x48f6e4){_0x5de7dc=_0x5de7dc-0x149;let _0x551a52=_0x5bba9b[_0x5de7dc];return _0x551a52;},a77_0x5de7(_0x1ea219,_0x5bd2cf);}function a77_0x5bba(){const _0x39fa3e=['instance','eLOiU','KEY_TEST_TAGS','4844tpSaOa','CgViE','\x20response=','\x20&\x20hook\x20=\x20','exports','KEY_TEST_RESULT','qThcr','getTestFrameworksVersions','annotations','KEY_HOOKS_STARTED','PlaywrightTestFramework','trackHookEvent','eventJson','KEY_TEST_STARTED_AT','getCurrentTestState','ycOBR','createContext','sUsPJ','TIhcm','oEsgl','KEY_HOOK_NAME','KnBkA','../instances/trackedInstance.js','browserstackPlatformIndex','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','sBaxw','size','2969634BJdBGM','DHgLI','llVeW','qMZEm','error','filePath','sendLogCreatedEvent\x20for\x20testId:\x20','stack','KEY_TEST_SCOPE','YBOpI','parsePlaywrightTestResult','result','from','EKtux','zUELW','KEY_HOOK_FAILURE','expectedStatus','errors','GFMPH','pVpVC','MpUeI','KEY_TEST_FAILURE_TYPE','getCurrentInstanceName','ggaCU','passed','toString','startTime','SOxFM','KEY_HOOK_RESULT','uyxpY','util','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','length','BUbEl','oDTZK','KEY_HOOK_FAILURE_REASON','getRef','getThreadId','getAllData','getId','KEY_TEST_ATTACHMENTS','basename','bTRIf','oGbWC','logCreatedEvent','push','getTestDetails','filter','file_name','YmNZz','fHQrV','Jahyt','failed','ONBNg','KEY_TEST_ENDED_AT','../../playwright/reporter/pwUtils','NnRRG','KEY_HOOKS_FINISHED','runHooks','KEY_TEST_RESULT_AT','split','message','Error\x20in\x20createTestFrameworkEventPayload:\x20','\x20and\x20args\x20=\x20','hdHGx','getTime','../../../helpers/test-observability/utils','qlMJw','TEST','hlSzc','RYQRH','inupF','509VieVxc','\x20batch\x20','KEY_TEST_LOCATION','trackEvent:\x20found\x20instance,\x20testFrameworkState=','trim','zkvNL','KEY_HOOK_FAILURE_TYPE','\x20payload=','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','sendLogCreatedEvent:\x20testId=','uuid','KEY_TEST_UUID','JJqAO','147YxCGDJ','KEY_TEST_FRAMEWORK_VERSION','trackPlaywrightInstance','../../../helpers/classLogger.js','KEY_HOOK_LOGS','QfDVn','getInstance','xaoUV','testFrameworkVersion','No\x20reason\x20provided','HgfIP','UxzNV','createTestFrameworkEventPayload','jphJR','hookState','cOBRp','../instances/testFrameworkInstance.js','hcoUx','skipped','parallelIndex','err','bgTyc','title','retry','Hook\x20List\x20in\x20Post\x20','DFhEf','264328ovHevr','UgVfs','whkkv','KEY_TEST_LOGS','KEY_TEST_CODE','info','270384vrXioI','../../../../src/helpers/helper',',\x20testFrameworkState=','lMiFV','Expected\x20to\x20fail,\x20but\x20passed.','testFrameworkState','hWlbV','FUMEg','DlVNK','step','resolveInstance','matchHookRegex','ceil','executionContext','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','JguEh','getProcessId','multi_dropdown','KEY_HOOK_ID','../grpcClient','getTraceFilePaths','stringify','2230362yXvLqN','debug','trackEvent','inspect',',\x20state=','steps','Error\x20in\x20sendLogCreatedEvent:\x20','feheQ','20Fbgcvl','dGMBL','values','attachments','test','testFrameworkName','\x20from\x20TestDetails:\x20','DdPAb','getTestUUID','KEY_TEST_SCOPES','concat','5duPtkI','testUId','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','hook','setTrackedInstance','oihjj','description','rHoVZ','KEY_LOGS','SWEig','addMultipleEntries','parsePlaywrightTest','KEY_TEST_FRAMEWORK_NAME','getTrackedInstance','POST','sOqRK','KEY_CUSTOM_TAGS','GVgjU','duration','KEY_TEST_FAILURE','timedOut','DEFAULT_HOOK_RESULT','DEFAULT_TEST_RESULT','slice','format','\x20hookState=','getTestFrameworks','sendLogCreatedEvent','14775398TPhMcg','path','some','base64','Gqabx','\x20instance=','NONE','TEST_ATTACHMENT','8xLwhJr','1797402oZheiD','statSync','KEY_TEST_ID','isArray','status','field_type','KEY_HOOK_LAST_STARTED','OLVhn','PRE','forEach','Kqggl','toISOString','Xgzhv','get','dCVDd','bZBhX','getCurrentHookState','Mkaho'];a77_0x5bba=function(){return _0x39fa3e;};return a77_0x5bba();}const a77_0x4327ed=a77_0x5de7;(function(_0x5e5696,_0xc11ede){const _0x18dad1=a77_0x5de7,_0x1f398f=_0x5e5696();while(!![]){try{const _0x509ffb=-parseInt(_0x18dad1(0x14e))/0x1*(-parseInt(_0x18dad1(0x1de))/0x2)+parseInt(_0x18dad1(0x1c9))/0x3*(-parseInt(_0x18dad1(0x1c8))/0x4)+parseInt(_0x18dad1(0x1a4))/0x5*(-parseInt(_0x18dad1(0x1f9))/0x6)+-parseInt(_0x18dad1(0x15b))/0x7*(parseInt(_0x18dad1(0x175))/0x8)+-parseInt(_0x18dad1(0x191))/0x9*(-parseInt(_0x18dad1(0x199))/0xa)+parseInt(_0x18dad1(0x1c0))/0xb+parseInt(_0x18dad1(0x17b))/0xc;if(_0x509ffb===_0xc11ede)break;else _0x1f398f['push'](_0x1f398f['shift']());}catch(_0x57dba4){_0x1f398f['push'](_0x1f398f['shift']());}}}(a77_0x5bba,0xaca2c));const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require('../state/hookState.js'),{createClassLogger}=require(a77_0x4327ed(0x15e)),TestFrameworkInstance=require(a77_0x4327ed(0x16b)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a77_0x4327ed(0x1f4)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger(a77_0x4327ed(0x1e8)),{v4:uuidv4}=require(a77_0x4327ed(0x158)),util=require(a77_0x4327ed(0x217)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestLocation,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require('../../../helpers/helper.js'),TestInfo=require('../TestInfo.js'),GrpcClient=require(a77_0x4327ed(0x18e)),{removeAnsiColors,getFailureType,failureData}=require(a77_0x4327ed(0x23b)),{getFailureData,getTestTags,getTestRunIdentifier}=require('../../playwright/reporter/pwUtils'),{findNestedKey,sendTraceZip,validateFilePath}=require(a77_0x4327ed(0x230)),path=require(a77_0x4327ed(0x1c1)),fs=require('fs'),helper=require(a77_0x4327ed(0x17c)),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants');class PlaywrightTestFramework extends TestFramework{constructor(_0x44784f,_0x3da2c6,_0x45f9dd){super(_0x44784f,_0x3da2c6,_0x45f9dd);}async[a77_0x4327ed(0x193)](_0x3e6422,_0x338eac,_0x734b92={}){const _0x58ba6f=a77_0x4327ed,_0x38242d={'bTRIf':function(_0x5d70c2,_0x2f8c78){return _0x5d70c2===_0x2f8c78;},'ZwifF':function(_0xb6caaf,_0x2bd622,_0x487a5e){return _0xb6caaf(_0x2bd622,_0x487a5e);},'ImUJA':'test','SOxFM':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super[_0x58ba6f(0x193)](_0x3e6422,_0x338eac,_0x734b92);if(_0x38242d['bTRIf'](_0x3e6422,TestFrameworkState['TEST_SCREENSHOT'])){const _0x385367=TestInfo['getTestIdentifierFromTestInfo'](_0x734b92['test'],_0x734b92[_0x58ba6f(0x19d)]['retry']);TestInfo['setTestDetails'](_0x385367,_0x734b92[_0x58ba6f(0x204)],!![]);}const _0x38f61a=this[_0x58ba6f(0x185)](_0x3e6422,_0x338eac,_0x734b92);if(!_0x38f61a)return;logger[_0x58ba6f(0x192)](_0x58ba6f(0x151)+_0x3e6422+_0x58ba6f(0x1bd)+_0x338eac+'\x20instanceId='+_0x38f61a[_0x58ba6f(0x21d)]());try{if(_0x38242d[_0x58ba6f(0x223)](_0x338eac,HookState[_0x58ba6f(0x1d1)])&&_0x38242d['bTRIf'](_0x3e6422,TestFrameworkState[_0x58ba6f(0x14a)])){const _0x3a614c=_0x734b92[_0x58ba6f(0x19d)];logger['debug'](_0x58ba6f(0x218)+_0x3a614c['id']+'}');const _0x57ac50=TestInfo[_0x58ba6f(0x1a1)](_0x38242d['ZwifF'](getTestRunIdentifier,_0x3a614c,_0x734b92[_0x58ba6f(0x204)][_0x58ba6f(0x172)]));_0x38f61a['addMultipleEntries'](this['parsePlaywrightTest'](_0x57ac50,_0x3a614c,_0x734b92[_0x58ba6f(0x204)])),logger['debug'](_0x58ba6f(0x156)+_0x3a614c['id']+_0x58ba6f(0x17d)+_0x3e6422+'\x20testHookState='+_0x338eac+_0x58ba6f(0x1c5)+_0x38f61a['getRef']());}if(_0x38242d[_0x58ba6f(0x223)](_0x338eac,HookState[_0x58ba6f(0x1b2)])&&_0x38242d[_0x58ba6f(0x223)](_0x3e6422,TestFrameworkState[_0x58ba6f(0x14a)])){const _0x34b757=_0x734b92[_0x58ba6f(0x19d)],_0x3136b4=_0x734b92['result'];logger[_0x58ba6f(0x192)](_0x58ba6f(0x189)+_0x34b757['id']),_0x38f61a[_0x58ba6f(0x1ae)](this['parsePlaywrightTestResult'](_0x34b757['id'],_0x3136b4,_0x34b757)),await this['sendLogCreatedEvent'](_0x38f61a,_0x3e6422,_0x338eac,_0x38242d['ImUJA'],_0x734b92);}if(CLIUtils[_0x58ba6f(0x186)](_0x3e6422['toString']()['split']('.')[0x1])){const _0x252ecd=await this['trackHookEvent'](_0x38f61a,_0x3e6422,_0x338eac,_0x734b92);_0x38f61a['addMultipleEntries'](_0x252ecd);}}catch(_0x3c6fd4){logger[_0x58ba6f(0x1fd)](util[_0x58ba6f(0x1bc)](_0x38242d[_0x58ba6f(0x214)],_0x3e6422,_0x338eac,_0x734b92['length'],_0x3c6fd4));}_0x734b92[_0x58ba6f(0x1db)]=_0x38f61a,await this[_0x58ba6f(0x233)](_0x38f61a,_0x3e6422,_0x338eac,_0x734b92);}[a77_0x4327ed(0x185)](_0x1067d5,_0x58ac4e,_0x34115a={}){const _0x495b40=a77_0x4327ed,_0x5eec33={};_0x5eec33['inupF']=function(_0x5b9309,_0x34d5f8){return _0x5b9309===_0x34d5f8;},_0x5eec33[_0x495b40(0x176)]=function(_0x2c62f6,_0x56875e){return _0x2c62f6===_0x56875e;};const _0x14ac01=_0x5eec33;let _0x1d0ece=null;return(_0x14ac01[_0x495b40(0x14d)](_0x1067d5,TestFrameworkState['INIT_TEST'])||_0x14ac01[_0x495b40(0x176)](_0x1067d5,TestFrameworkState[_0x495b40(0x1c6)]))&&this[_0x495b40(0x15d)](_0x1067d5,_0x34115a),_0x1d0ece=TestFramework[_0x495b40(0x1b1)](),_0x1d0ece;}['trackPlaywrightInstance'](_0x1226b7,_0xa6679e){const _0x394ad6=a77_0x4327ed,_0x53756d=CLIUtils[_0x394ad6(0x20f)](),_0x20f812=TrackedInstance[_0x394ad6(0x1ee)](_0x53756d);let _0x2a780f=null;logger[_0x394ad6(0x17a)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x53756d+_0x394ad6(0x195)+_0x1226b7),_0x2a780f=new TestFrameworkInstance(_0x20f812,this[_0x394ad6(0x1be)](),this['getTestFrameworksVersions'](),_0x1226b7,HookState[_0x394ad6(0x1c6)]),TestFramework[_0x394ad6(0x1a8)](_0x20f812,_0x2a780f),logger[_0x394ad6(0x17a)](_0x394ad6(0x1a6)+_0x20f812['getId']()+'\x20target='+_0x53756d);}[a77_0x4327ed(0x1af)](_0x513578,_0x41508f,_0x5803f0){const _0x48a5d1=a77_0x4327ed,_0x3d53b3={'bZBhX':function(_0x1187c2,_0x48251a){return _0x1187c2(_0x48251a);},'RYQRH':function(_0xd56942,_0x3fa728){return _0xd56942(_0x3fa728);},'whkkv':function(_0x4340a8,_0x122b96){return _0x4340a8(_0x122b96);},'hlSzc':function(_0x4285af,_0x3a597f){return _0x4285af(_0x3a597f);},'JJqAO':function(_0x4978b6,_0x2ad8f5){return _0x4978b6(_0x2ad8f5);},'xaoUV':function(_0xd373f5,_0x551b8c,_0x4f3f90){return _0xd373f5(_0x551b8c,_0x4f3f90);}},_0x565bfc=_0x3d53b3['bZBhX'](getPlaywrightTestId,_0x41508f),_0x4397f0=_0x3d53b3[_0x48a5d1(0x14c)](getPlaywrightTestTitle,_0x41508f),_0x40cea5=_0x3d53b3[_0x48a5d1(0x14c)](getTestTags,_0x41508f),_0xa8a2f=_0x3d53b3[_0x48a5d1(0x177)](getPlaywrightTestCode,_0x41508f),_0xd74819=_0x3d53b3[_0x48a5d1(0x1d8)](getPlaywrightTestFilePath,_0x41508f),_0x15a43a=_0xd74819+':'+_0x3d53b3[_0x48a5d1(0x14b)](getPlaywrightTestLocation,_0x41508f),_0x4ca186=_0x3d53b3[_0x48a5d1(0x1d8)](getPlaywrightTestScope,_0x41508f),_0x5b4856=_0x3d53b3[_0x48a5d1(0x177)](getPlaywrightTestScopes,_0x41508f),_0x15d685=_0x3d53b3[_0x48a5d1(0x15a)](getPlaywrightSessionName,_0x41508f),_0x44a25b=this[_0x48a5d1(0x1be)]()[0x0],_0x20c84b=_0x3d53b3[_0x48a5d1(0x162)](getTestRunIdentifier,_0x41508f,_0x5803f0[_0x48a5d1(0x172)]),_0x172008={[TestFrameworkConstants[_0x48a5d1(0x1b0)]]:_0x44a25b,[TestFrameworkConstants[_0x48a5d1(0x15c)]]:this[_0x48a5d1(0x1e5)]()[_0x44a25b],[TestFrameworkConstants[_0x48a5d1(0x178)]]:[],[TestFrameworkConstants[_0x48a5d1(0x232)]]:{},[TestFrameworkConstants[_0x48a5d1(0x1e7)]]:{},[TestFrameworkConstants[_0x48a5d1(0x159)]]:_0x513578,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x48a5d1(0x1ba)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x15d685,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0xd74819,[TestFrameworkConstants[_0x48a5d1(0x1cb)]]:_0x565bfc,[TestFrameworkConstants['KEY_TEST_NAME']]:_0x4397f0,[TestFrameworkConstants[_0x48a5d1(0x150)]]:_0x15a43a,[TestFrameworkConstants[_0x48a5d1(0x179)]]:_0xa8a2f,[TestFrameworkConstants[_0x48a5d1(0x1dd)]]:_0x40cea5,[TestFrameworkConstants[_0x48a5d1(0x1eb)]]:_0x41508f['results'][0x0][_0x48a5d1(0x213)],[TestFrameworkConstants[_0x48a5d1(0x201)]]:_0x4ca186,[TestFrameworkConstants[_0x48a5d1(0x1a2)]]:_0x5b4856,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x3d53b3[_0x48a5d1(0x14c)](getPlaywrightCustomRerunParam,_0x41508f)};TestInfo['setTestDetails'](_0x20c84b,_0x172008);const _0x860da4={};return _0x860da4[_0x20c84b]=_0x172008,_0x860da4;}[a77_0x4327ed(0x203)](_0x1d56cb,_0x15c634,_0x527602){const _0x256f68=a77_0x4327ed,_0x21cbee={'ONBNg':function(_0xd88123,_0x3c933e){return _0xd88123(_0x3c933e);},'ggaCU':_0x256f68(0x1c7),'dCVDd':function(_0x3e4d74,_0xd9f051){return _0x3e4d74===_0xd9f051;},'JguEh':function(_0x5d440c,_0x56dae5){return _0x5d440c(_0x56dae5);},'Kqggl':_0x256f68(0x164),'hWlbV':_0x256f68(0x18c),'feheQ':function(_0x235fe3,_0x582e44,_0x4a1c8f){return _0x235fe3(_0x582e44,_0x4a1c8f);},'KnBkA':function(_0x3b965f,_0x1e67e4){return _0x3b965f+_0x1e67e4;},'oDTZK':_0x256f68(0x16d),'hdHGx':_0x256f68(0x211),'qlMJw':function(_0x340db6,_0x935b2c){return _0x340db6===_0x935b2c;},'eLOiU':'failed','GFMPH':_0x256f68(0x1b8),'oihjj':function(_0x571f83,_0x311aa2){return _0x571f83===_0x311aa2;},'DFhEf':function(_0x3355c8,_0x49e87c){return _0x3355c8===_0x49e87c;},'DlVNK':_0x256f68(0x17f),'llVeW':function(_0x497004,_0x413db1,_0x639fcf){return _0x497004(_0x413db1,_0x639fcf);},'YBOpI':function(_0x14c58c,_0x5e755d){return _0x14c58c||_0x5e755d;},'sBaxw':function(_0x19f9e8,_0x71151c){return _0x19f9e8(_0x71151c);},'cOBRp':function(_0x1297c0,_0x7828c9){return _0x1297c0>_0x7828c9;},'GVgjU':function(_0x555948,_0x797d67,_0x1e2733){return _0x555948(_0x797d67,_0x1e2733);},'Xgzhv':function(_0x3a53d2,_0x2b809b){return _0x3a53d2-_0x2b809b;},'oGbWC':_0x256f68(0x1c1),'sUsPJ':function(_0x1421d0,_0x3e319c){return _0x1421d0(_0x3e319c);},'YmNZz':function(_0x4746e2,_0x4194e6,_0x18904c){return _0x4746e2(_0x4194e6,_0x18904c);},'FUMEg':function(_0x242d9a,_0x178589){return _0x242d9a>_0x178589;}};logger[_0x256f68(0x192)]('parsePlaywrightTestResult:\x20testId='+_0x1d56cb);const _0x172eb8=_0x21cbee[_0x256f68(0x198)](getTestRunIdentifier,_0x527602,_0x15c634[_0x256f68(0x172)]),_0x3204e5=new Date(_0x15c634[_0x256f68(0x213)]),_0x1f4fcd=_0x15c634['duration'],_0x31e391=new Date(_0x21cbee[_0x256f68(0x1f3)](_0x3204e5['getTime'](),_0x1f4fcd)),_0x21d020=_0x15c634[_0x256f68(0x1cd)],_0x14320e=TestInfo[_0x256f68(0x227)](_0x172eb8)[TestFrameworkConstants[_0x256f68(0x1b4)]]||{};let _0x5629bd=_0x21d020;if(_0x21cbee[_0x256f68(0x1d7)](_0x15c634[_0x256f68(0x1cd)],_0x527602[_0x256f68(0x209)]))_0x5629bd=_0x21cbee[_0x256f68(0x1d7)](_0x15c634[_0x256f68(0x1cd)],_0x21cbee['oDTZK'])?_0x21cbee[_0x256f68(0x21b)]:_0x21cbee[_0x256f68(0x239)];else{(_0x21cbee[_0x256f68(0x1d7)](_0x5629bd,_0x21cbee['hdHGx'])||_0x21cbee[_0x256f68(0x149)](_0x5629bd,_0x21cbee[_0x256f68(0x1dc)])||_0x21cbee[_0x256f68(0x149)](_0x5629bd,_0x21cbee[_0x256f68(0x20b)]))&&(_0x5629bd=_0x21cbee[_0x256f68(0x1dc)]);if(_0x21cbee[_0x256f68(0x1a9)](_0x15c634[_0x256f68(0x1cd)],_0x21cbee[_0x256f68(0x239)])&&_0x21cbee[_0x256f68(0x174)](_0x527602['expectedStatus'],_0x21cbee[_0x256f68(0x1dc)])){const _0x3aaecf={};_0x3aaecf['message']=_0x21cbee[_0x256f68(0x183)],_0x3aaecf[_0x256f68(0x200)]=_0x21cbee[_0x256f68(0x183)],_0x15c634[_0x256f68(0x1fd)]=_0x3aaecf,_0x15c634[_0x256f68(0x20a)]=[_0x15c634[_0x256f68(0x1fd)]];}}const {failureData:_0x1b96d6,logs:_0xc41eee}=_0x21cbee[_0x256f68(0x1fb)](getFailureData,_0x15c634?.[_0x256f68(0x20a)],{}),_0x49ece7={[TestFrameworkConstants[_0x256f68(0x1b7)]]:_0x21cbee[_0x256f68(0x202)](_0x1b96d6,null),[TestFrameworkConstants[_0x256f68(0x20e)]]:_0x15c634?.['error']&&_0x21cbee[_0x256f68(0x1f7)](getFailureType,_0x15c634[_0x256f68(0x1fd)][_0x256f68(0x236)]),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x15c634?.[_0x256f68(0x1fd)]&&_0x21cbee[_0x256f68(0x1f7)](removeAnsiColors,_0x15c634[_0x256f68(0x1fd)][_0x256f68(0x236)]),[TestFrameworkConstants[_0x256f68(0x1ac)]]:[],[TestFrameworkConstants[_0x256f68(0x1e3)]]:_0x5629bd,[TestFrameworkConstants[_0x256f68(0x22f)]]:_0x31e391['toISOString'](),[TestFrameworkConstants[_0x256f68(0x234)]]:new Date()[_0x256f68(0x1d4)](),[TestFrameworkConstants[_0x256f68(0x1b4)]]:_0x14320e};if(_0x15c634&&_0x21cbee[_0x256f68(0x16a)](_0x15c634[_0x256f68(0x172)],0x0)){const _0x242f1b=TestInfo['getTestUUID'](_0x21cbee[_0x256f68(0x1b5)](getTestRunIdentifier,_0x527602,_0x21cbee[_0x256f68(0x1d5)](_0x15c634[_0x256f68(0x172)],0x1)));_0x49ece7[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x242f1b;}const _0x37ea4c={};_0x37ea4c[_0x256f68(0x19d)]=_0x527602;const _0x3473ac=this[_0x256f68(0x185)](TestFrameworkState[_0x256f68(0x14a)],HookState['POST'],_0x37ea4c),_0x5493c3=_0x3473ac[_0x256f68(0x21f)]()[_0x256f68(0x1d6)](_0x172eb8)[TestFrameworkConstants[_0x256f68(0x159)]],_0x12f962=[],_0x2d232a=_0x21cbee[_0x256f68(0x198)](findNestedKey,_0x15c634,_0x21cbee[_0x256f68(0x224)]);if(_0x2d232a&&_0x21cbee[_0x256f68(0x1ef)](validateFilePath,_0x2d232a))try{_0x12f962[_0x256f68(0x226)]({'kind':_0x21cbee[_0x256f68(0x210)],'timestamp':new Date()[_0x256f68(0x1d4)](),'test_run_uuid':_0x5493c3,'file_name':path['basename'](_0x2d232a),'file_size':fs[_0x256f68(0x1ca)](_0x2d232a)[_0x256f68(0x1f8)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x3e1e1e){logger[_0x256f68(0x1fd)]('Error\x20processing\x20direct\x20trace\x20file\x20'+_0x2d232a+':\x20'+_0x3e1e1e['message']);}const _0x469af0=TestInfo[_0x256f68(0x18f)](),_0x3b56d0=_0x469af0[_0x256f68(0x228)](_0x1fdfcc=>_0x1fdfcc[_0x256f68(0x1a5)]===_0x5493c3);_0x3b56d0[_0x256f68(0x1d2)](_0x43add9=>{const _0x16cc69=_0x256f68;if(_0x43add9[_0x16cc69(0x1fe)]&&_0x21cbee[_0x16cc69(0x22e)](validateFilePath,_0x43add9[_0x16cc69(0x1fe)])&&!_0x12f962[_0x16cc69(0x1c2)](_0xdb6ad8=>_0xdb6ad8[_0x16cc69(0x229)]===path[_0x16cc69(0x222)](_0x43add9['filePath'])))try{_0x12f962[_0x16cc69(0x226)]({'kind':_0x21cbee['ggaCU'],'timestamp':new Date()[_0x16cc69(0x1d4)](),'test_run_uuid':_0x5493c3,'file_name':path[_0x16cc69(0x222)](_0x43add9[_0x16cc69(0x1fe)]),'file_size':fs[_0x16cc69(0x1ca)](_0x43add9['filePath'])[_0x16cc69(0x1f8)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x4c4e5a){logger[_0x16cc69(0x1fd)]('Error\x20processing\x20trace\x20file\x20'+_0x43add9['filePath']+_0x16cc69(0x19f)+_0x4c4e5a['message']);}});if(_0x21cbee[_0x256f68(0x16a)](_0x12f962[_0x256f68(0x219)],0x0)){const _0x220d90=_0x49ece7[TestFrameworkConstants[_0x256f68(0x1ac)]]||[];_0x49ece7[TestFrameworkConstants[_0x256f68(0x1ac)]]=[..._0x220d90,..._0x12f962];}const _0x13930a=TestInfo['getTestDetails'](_0x172eb8)[TestFrameworkConstants[_0x256f68(0x221)]]||{},_0x3a8ed3=_0x21cbee[_0x256f68(0x22a)](getManualUploadLogs,_0x13930a,_0x3473ac[_0x256f68(0x21f)]()['get'](_0x172eb8)[TestFrameworkConstants[_0x256f68(0x159)]]);if(_0x21cbee[_0x256f68(0x182)](_0x3a8ed3[_0x256f68(0x219)],0x0)){const _0x5b4bca=_0x49ece7[TestFrameworkConstants[_0x256f68(0x1ac)]]||[];_0x49ece7[TestFrameworkConstants[_0x256f68(0x1ac)]]=[..._0x5b4bca,..._0x3a8ed3];}const _0x5a7025=_0x527602[_0x256f68(0x1e6)]||[],_0x5e9c46=_0x49ece7[TestFrameworkConstants[_0x256f68(0x1b4)]]||{};_0x5a7025[_0x256f68(0x1d2)](_0x45bab9=>{const _0x13ce44=_0x256f68,{type:_0x182f02}=_0x45bab9;let _0x54d858=_0x45bab9[_0x13ce44(0x1aa)];if(!_0x182f02)return;(_0x21cbee[_0x13ce44(0x1d7)](_0x54d858,undefined)||_0x21cbee[_0x13ce44(0x1d7)](_0x54d858,null)||_0x21cbee['dCVDd'](_0x21cbee[_0x13ce44(0x18a)](String,_0x54d858)[_0x13ce44(0x152)](),''))&&(_0x54d858=_0x21cbee[_0x13ce44(0x1d3)]);if(!_0x5e9c46[_0x182f02]){const _0x2d0d4c={};_0x2d0d4c[_0x13ce44(0x1ce)]=_0x21cbee[_0x13ce44(0x181)],_0x2d0d4c[_0x13ce44(0x19b)]=[],_0x5e9c46[_0x182f02]=_0x2d0d4c;}else!_0x5e9c46[_0x182f02]['field_type']&&(_0x5e9c46[_0x182f02]['field_type']=_0x21cbee[_0x13ce44(0x181)]),!Array[_0x13ce44(0x1cc)](_0x5e9c46[_0x182f02]['values'])&&(_0x5e9c46[_0x182f02][_0x13ce44(0x19b)]=[]);const _0x4407e2=_0x21cbee[_0x13ce44(0x18a)](String,_0x54d858)['split'](',')['map'](_0x19c887=>_0x19c887[_0x13ce44(0x152)]());_0x5e9c46[_0x182f02][_0x13ce44(0x19b)]=[...new Set([..._0x5e9c46[_0x182f02][_0x13ce44(0x19b)],..._0x4407e2])];}),_0x49ece7[TestFrameworkConstants[_0x256f68(0x1b4)]]=_0x5e9c46,TestInfo['setTestDetails'](_0x172eb8,_0x49ece7);const _0x268737={};return _0x268737[_0x172eb8]=_0x49ece7,_0x268737;}async[a77_0x4327ed(0x1e9)](_0x7532b4,_0x38fbe7,_0x1ab766,_0x5c0b35){const _0x97f584=a77_0x4327ed,_0x3a1b22={'pVpVC':function(_0x4b296d,_0x2d0ccb,_0x539a5d){return _0x4b296d(_0x2d0ccb,_0x539a5d);},'zUELW':function(_0x3c3b1e,_0x4c0eb0){return _0x3c3b1e in _0x4c0eb0;},'TIhcm':function(_0x13d13a,_0x5e3bd4){return _0x13d13a(_0x5e3bd4);},'sOqRK':function(_0x39bd67,_0x5af102){return _0x39bd67(_0x5af102);},'Mkaho':function(_0xef94fb,_0x1abf6e){return _0xef94fb===_0x1abf6e;},'uyxpY':function(_0x5cd85f){return _0x5cd85f();},'dGMBL':function(_0x1286b6,_0x477cf7){return _0x1286b6===_0x477cf7;},'klOhD':function(_0xd22f39,_0x34df20){return _0xd22f39>_0x34df20;},'fHQrV':_0x97f584(0x16f),'qMZEm':function(_0x5e9192,_0x984edb){return _0x5e9192(_0x984edb);},'DdPAb':_0x97f584(0x22d),'EKtux':'passed','zkvNL':function(_0x27ef08,_0x5ec3e2){return _0x27ef08!==_0x5ec3e2;},'UxzNV':function(_0x3dacb5,_0x40ffe6){return _0x3dacb5+_0x40ffe6;},'DHgLI':_0x97f584(0x1a7)},_0x2bd2d8=_0x5c0b35[_0x97f584(0x19d)],_0x454d76=_0x5c0b35[_0x97f584(0x184)],_0x94db07=_0x3a1b22['pVpVC'](getTestRunIdentifier,_0x2bd2d8,_0x5c0b35['result'][_0x97f584(0x172)]),_0x11de2c=_0x38fbe7['toString']()['split']('.')[0x1];let _0x1ca58d=_0x7532b4[_0x97f584(0x21f)]()[_0x97f584(0x1d6)](_0x94db07)[TestFrameworkConstants['KEY_HOOKS_STARTED']];!_0x1ca58d&&(_0x1ca58d={});!_0x3a1b22[_0x97f584(0x207)](_0x11de2c,_0x1ca58d)&&(_0x1ca58d[_0x11de2c]=[]);let _0x4674a2=_0x7532b4[_0x97f584(0x21f)]()[_0x97f584(0x1d6)](_0x94db07)[TestFrameworkConstants[_0x97f584(0x232)]];!_0x4674a2&&(_0x4674a2={});!_0x3a1b22[_0x97f584(0x207)](_0x11de2c,_0x4674a2)&&(_0x4674a2[_0x11de2c]=[]);const _0x2bcdf5={[TestFrameworkConstants[_0x97f584(0x1e7)]]:_0x1ca58d,[TestFrameworkConstants[_0x97f584(0x232)]]:_0x4674a2},_0xd83707={};_0xd83707[_0x94db07]=_0x2bcdf5;const _0x205952=_0xd83707,_0x5a1943=_0x3a1b22[_0x97f584(0x1f0)](getPlaywrightTestFilePath,_0x2bd2d8),_0x4f82bd=_0x5a1943+':'+_0x3a1b22[_0x97f584(0x1b3)](getPlaywrightTestLocation,_0x2bd2d8),_0x11de36=TestInfo['getTestDetails'](_0x94db07)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x3a1b22[_0x97f584(0x1da)](_0x1ab766,HookState[_0x97f584(0x1d1)])){const _0x2101c2={'key':_0x11de2c,[TestFrameworkConstants[_0x97f584(0x18d)]]:_0x3a1b22[_0x97f584(0x216)](uuidv4),[TestFrameworkConstants[_0x97f584(0x215)]]:TestFrameworkConstants[_0x97f584(0x1b9)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x454d76[_0x97f584(0x213)],[TestFrameworkConstants[_0x97f584(0x15f)]]:[],[TestFrameworkConstants[_0x97f584(0x1f2)]]:_0x454d76[_0x97f584(0x171)],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x5a1943,[TestFrameworkConstants[_0x97f584(0x150)]]:_0x4f82bd,[TestFrameworkConstants[_0x97f584(0x1b4)]]:_0x11de36};_0x1ca58d[_0x11de2c][_0x97f584(0x226)](_0x2101c2),_0x205952[_0x94db07][TestFrameworkConstants[_0x97f584(0x1cf)]]=_0x11de2c,logger[_0x97f584(0x192)](_0x97f584(0x1f6)+_0x11de2c+_0x97f584(0x1e1)+_0x2101c2+'\x20\x20and\x20args\x20=\x20'+_0x5c0b35);}else{if(_0x3a1b22[_0x97f584(0x19a)](_0x1ab766,HookState[_0x97f584(0x1b2)])){const _0x70aa66=await _0x5c0b35[_0x97f584(0x204)],_0x466eaa=_0x1ca58d[_0x11de2c]||[],_0x4cdc27=_0x5c0b35[_0x97f584(0x184)];logger[_0x97f584(0x192)](_0x97f584(0x173)+_0x466eaa+_0x97f584(0x238)+_0x5c0b35);if(_0x3a1b22['klOhD'](_0x466eaa['length'],0x0)){const _0x54b35b=_0x466eaa['pop']();if(_0x4cdc27['error']){const _0x5615f2=_0x3a1b22[_0x97f584(0x20c)](failureData,_0x4cdc27[_0x97f584(0x1fd)],_0x3a1b22[_0x97f584(0x22b)]);_0x54b35b[TestFrameworkConstants[_0x97f584(0x154)]]=_0x3a1b22[_0x97f584(0x1f0)](getFailureType,_0x4cdc27?.[_0x97f584(0x1fd)]['message']),_0x54b35b[TestFrameworkConstants[_0x97f584(0x21c)]]=_0x3a1b22[_0x97f584(0x1fc)](removeAnsiColors,_0x4cdc27?.[_0x97f584(0x1fd)][_0x97f584(0x236)]),_0x54b35b[TestFrameworkConstants[_0x97f584(0x215)]]=_0x3a1b22[_0x97f584(0x1a0)],_0x54b35b[TestFrameworkConstants[_0x97f584(0x208)]]=_0x5615f2;}else _0x54b35b[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x3a1b22[_0x97f584(0x206)];_0x3a1b22[_0x97f584(0x153)](_0x70aa66,TestFrameworkConstants[_0x97f584(0x1b9)])&&(_0x54b35b[TestFrameworkConstants[_0x97f584(0x215)]]=!_0x4cdc27['error']?_0x3a1b22[_0x97f584(0x206)]:_0x3a1b22[_0x97f584(0x1a0)]);const _0x381270=new Date(_0x4cdc27['startTime']),_0x3a4bcc=new Date(_0x3a1b22[_0x97f584(0x166)](_0x381270[_0x97f584(0x23a)](),_0x4cdc27[_0x97f584(0x1b6)]));_0x54b35b[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x3a4bcc[_0x97f584(0x1d4)](),_0x54b35b[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x11de36;const _0x17d6af=_0x54b35b[TestFrameworkConstants[_0x97f584(0x18d)]];await this[_0x97f584(0x1bf)](_0x7532b4,_0x38fbe7,_0x17d6af,_0x3a1b22[_0x97f584(0x1fa)],_0x5c0b35),!_0x4674a2[_0x11de2c]&&(_0x4674a2[_0x11de2c]=[]),_0x4674a2[_0x11de2c][_0x97f584(0x226)](_0x54b35b),_0x205952[_0x94db07][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x11de2c;}}}return _0x205952;}async[a77_0x4327ed(0x1bf)](_0x4d006a,_0xd7fb2f,_0x29d701,_0x1f4d83,_0x582b8a){const _0x3af094=a77_0x4327ed,_0x35cb48={'DiuXA':function(_0x25a0ea,_0x144e23){return _0x25a0ea===_0x144e23;},'bgTyc':_0x3af094(0x19d),'jphJR':function(_0x194c87,_0x54d2a8,_0x42bdb7){return _0x194c87(_0x54d2a8,_0x42bdb7);},'RRBOw':_0x3af094(0x19c),'rHoVZ':function(_0xa5d4b0,_0x2104d3,_0x758880,_0x19d161){return _0xa5d4b0(_0x2104d3,_0x758880,_0x19d161);},'QfDVn':function(_0x3ce6d6,_0x5a47af,_0x1f5334){return _0x3ce6d6(_0x5a47af,_0x1f5334);},'NnRRG':function(_0x56d4dd,_0x225430,_0x411dcf){return _0x56d4dd(_0x225430,_0x411dcf);},'qThcr':function(_0x3a3dc4,_0x584b85){return _0x3a3dc4/_0x584b85;},'MpUeI':function(_0x11f37d,_0x444158){return _0x11f37d<_0x444158;},'lMiFV':function(_0x447d91,_0x356508){return _0x447d91*_0x356508;},'Gqabx':function(_0x2297e5,_0x557bbf){return _0x2297e5+_0x557bbf;},'hcoUx':function(_0x3f2caa,_0x1cb4ac,_0x13b201,_0x3d5946,_0x38bbf7){return _0x3f2caa(_0x1cb4ac,_0x13b201,_0x3d5946,_0x38bbf7);},'CgViE':function(_0x35f643,_0x5cecaa){return _0x35f643+_0x5cecaa;},'ycOBR':function(_0x1845c7,_0x3ad201){return _0x1845c7+_0x3ad201;},'oEsgl':_0x3af094(0x1a7),'HgfIP':function(_0xf13500,_0x33381d,_0xb83140){return _0xf13500(_0x33381d,_0xb83140);},'BUbEl':function(_0x521f01,_0x2d900a,_0x3bd6d9,_0x2ff4c5,_0x4176b4){return _0x521f01(_0x2d900a,_0x3bd6d9,_0x2ff4c5,_0x4176b4);}};try{if(_0x35cb48['DiuXA'](_0x1f4d83,_0x35cb48[_0x3af094(0x170)])){const _0x51dbcb=await _0x582b8a[_0x3af094(0x204)],_0x4bf5ef=_0x35cb48[_0x3af094(0x168)](getTestRunIdentifier,_0x582b8a[_0x3af094(0x19d)],_0x582b8a['result'][_0x3af094(0x172)]),_0x10e2ae=_0x582b8a[_0x3af094(0x19d)];logger[_0x3af094(0x192)](_0x3af094(0x157)+_0x4bf5ef+'\x20result='+util[_0x3af094(0x194)](_0x51dbcb));const _0x9abf68=_0x4d006a[_0x3af094(0x21f)]()[_0x3af094(0x1d6)](_0x4bf5ef)[TestFrameworkConstants[_0x3af094(0x159)]];await _0x35cb48[_0x3af094(0x168)](sendTraceZip,_0x51dbcb,_0x9abf68);const _0x148357=TestInfo[_0x3af094(0x227)](_0x4bf5ef)[_0x35cb48['RRBOw']],_0x218c0c={};if(_0x148357){!_0x51dbcb['attachments']&&(_0x51dbcb[_0x3af094(0x19c)]=[]);_0x218c0c[_0x3af094(0x19c)]=_0x51dbcb[_0x3af094(0x19c)][_0x3af094(0x1a3)](_0x148357||[]);const _0x4d0ba1=TestInfo['getTestDetails'](_0x4bf5ef);delete _0x4d0ba1[_0x35cb48['RRBOw']],TestInfo['setTestDetails'](_0x4bf5ef,_0x4d0ba1);}const {steps:_0x8f8e74,logs:_0x14bc77}=_0x35cb48['rHoVZ'](getStepsAndLogs,_0x51dbcb[_0x3af094(0x196)],_0x4d006a[_0x3af094(0x21f)]()[_0x3af094(0x1d6)](_0x4bf5ef)[TestFrameworkConstants['KEY_TEST_UUID']],_0x35cb48[_0x3af094(0x170)]),_0x3230b1=_0x35cb48[_0x3af094(0x168)](getScreenshots,_0x218c0c,_0x4d006a[_0x3af094(0x21f)]()[_0x3af094(0x1d6)](_0x4bf5ef)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x2ade9f=_0x35cb48[_0x3af094(0x160)](getVideos,_0x51dbcb,_0x4d006a[_0x3af094(0x21f)]()[_0x3af094(0x1d6)](_0x4bf5ef)[TestFrameworkConstants[_0x3af094(0x159)]]),{_:_0x46dea5,logs:_0x28b1a}=_0x35cb48[_0x3af094(0x231)](getFailureData,_0x51dbcb[_0x3af094(0x20a)],{'test_run_uuid':_0x4d006a[_0x3af094(0x21f)]()[_0x3af094(0x1d6)](_0x4bf5ef)[TestFrameworkConstants['KEY_TEST_UUID']]}),_0x3294de=TestInfo[_0x3af094(0x227)](_0x4bf5ef)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x34ecba=_0x35cb48[_0x3af094(0x168)](getMediaArtifactsLogs,_0x3294de,_0x4d006a['getAllData']()[_0x3af094(0x1d6)](_0x4bf5ef)[TestFrameworkConstants[_0x3af094(0x159)]]),_0x425122=_0x4d006a[_0x3af094(0x21f)]()[_0x3af094(0x1d6)](_0x4bf5ef),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x46205f='',[TestFrameworkConstants[_0x3af094(0x15c)]]:_0x589869=''}=_0x425122,_0x1669ef=(_0x14bc77||[])[_0x3af094(0x1a3)](_0x3230b1||[])[_0x3af094(0x1a3)](_0x28b1a||[])[_0x3af094(0x1a3)](_0x2ade9f||[])[_0x3af094(0x1a3)](_0x34ecba||[]),_0x18d8fd=0x28,_0x2dcf4c=Math[_0x3af094(0x187)](_0x35cb48[_0x3af094(0x1e4)](_0x1669ef[_0x3af094(0x219)],_0x18d8fd));for(let _0x2a72b7=0x0;_0x35cb48[_0x3af094(0x20d)](_0x2a72b7,_0x2dcf4c);_0x2a72b7++){const _0x19be4c=_0x35cb48[_0x3af094(0x17e)](_0x2a72b7,_0x18d8fd),_0x18c6ae=_0x35cb48[_0x3af094(0x1c4)](_0x19be4c,_0x18d8fd),_0x57eaad=_0x1669ef[_0x3af094(0x1bb)](_0x19be4c,_0x18c6ae),_0x1d23a8={'platformIndex':global?.[_0x3af094(0x1f5)]??0x0,'logs':_0x57eaad,'testFrameworkName':_0x46205f,'testFrameworkVersion':_0x589869,'testFrameworkState':_0xd7fb2f[_0x3af094(0x212)]()['split']('.')[0x1]};_0x35cb48[_0x3af094(0x16c)](updatePayloadForTraceLogs,_0x1d23a8,_0x582b8a,_0x4bf5ef,_0x4d006a),logger['debug']('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x4bf5ef+'\x20batch\x20'+_0x35cb48[_0x3af094(0x1df)](_0x2a72b7,0x1)+'/'+_0x2dcf4c+_0x3af094(0x155)+util['inspect'](_0x1d23a8));const _0x54dcf0=await GrpcClient['getInstance']()[_0x3af094(0x225)](_0x1d23a8);logger['debug'](_0x3af094(0x1ff)+_0x4bf5ef+_0x3af094(0x14f)+_0x35cb48[_0x3af094(0x1ed)](_0x2a72b7,0x1)+'/'+_0x2dcf4c+_0x3af094(0x1e0)+util[_0x3af094(0x194)](_0x54dcf0));}}else{const {steps:_0x29f118,logs:_0x9f8f91}=_0x35cb48[_0x3af094(0x1ab)](getStepsAndLogs,_0x582b8a[_0x3af094(0x184)][_0x3af094(0x196)],_0x29d701,_0x35cb48[_0x3af094(0x1f1)]),_0x46742e=_0x35cb48[_0x3af094(0x165)](getTestRunIdentifier,_0x582b8a[_0x3af094(0x19d)],_0x582b8a[_0x3af094(0x204)][_0x3af094(0x172)]);logger[_0x3af094(0x192)](_0x3af094(0x157)+_0x46742e);const _0x487646=_0x4d006a[_0x3af094(0x21f)]()[_0x3af094(0x1d6)](_0x46742e),{[TestFrameworkConstants[_0x3af094(0x1b0)]]:_0x2a3ae8='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x36c43e=''}=_0x487646,_0x4ab2c7={'platformIndex':'0','logs':_0x9f8f91,'testFrameworkName':_0x2a3ae8,'testFrameworkVersion':_0x36c43e,'testFrameworkState':_0xd7fb2f['toString']()['split']('.')[0x1]};_0x35cb48[_0x3af094(0x21a)](updatePayloadForTraceLogs,_0x4ab2c7,_0x582b8a,_0x46742e,_0x4d006a),logger[_0x3af094(0x192)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x46742e+'\x20payload='+util[_0x3af094(0x194)](_0x4ab2c7));const _0x3eb504=await GrpcClient[_0x3af094(0x161)]()['logCreatedEvent'](_0x4ab2c7);}}catch(_0x48eba7){logger['error'](_0x3af094(0x197)+util['format'](_0x48eba7));}}[a77_0x4327ed(0x167)](_0x559f98){const _0x44feed=a77_0x4327ed,_0x53067c={'Jahyt':function(_0x405ea1,_0x1b1ee1,_0x5b0f55){return _0x405ea1(_0x1b1ee1,_0x5b0f55);},'SWEig':function(_0x555149,_0x296531){return _0x555149<_0x296531;},'OLVhn':_0x44feed(0x1c3)};try{const _0x3826d4=_0x559f98[_0x44feed(0x19d)]['id'],_0x5db3dd=_0x53067c[_0x44feed(0x22c)](getTestRunIdentifier,_0x559f98['test'],_0x559f98['result']['retry']),_0x275354=_0x559f98[_0x44feed(0x1db)],_0x47cd8f=_0x275354['getContext'](),_0x4d938c=_0x275354[_0x44feed(0x21f)]()['get'](_0x5db3dd);logger[_0x44feed(0x192)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x3826d4);const {[TestFrameworkConstants[_0x44feed(0x1b0)]]:_0x6f6aa0='',[TestFrameworkConstants[_0x44feed(0x15c)]]:_0x583a97='',[TestFrameworkConstants[_0x44feed(0x1eb)]]:_0x1238c8='',[TestFrameworkConstants[_0x44feed(0x22f)]]:_0x2c1fce=''}=_0x4d938c,_0x3f99d4=_0x275354[_0x44feed(0x1ec)]()[_0x44feed(0x212)]()[_0x44feed(0x235)]('.')[0x1],_0x207b79=_0x275354[_0x44feed(0x1d9)]()[_0x44feed(0x212)]()[_0x44feed(0x235)]('.')[0x1],_0x39da16=_0x53067c[_0x44feed(0x1ad)](_0x559f98?.['result']?.[_0x44feed(0x16e)]??0x0,0x0)?0x0:_0x559f98?.[_0x44feed(0x204)]?.[_0x44feed(0x16e)]??0x0,_0x4df9ec=_0x275354[_0x44feed(0x21d)](),_0x95d169=Buffer[_0x44feed(0x205)](JSON[_0x44feed(0x190)](_0x4d938c))['toString'](_0x53067c[_0x44feed(0x1d0)]),_0x5674cd={'hash':_0x47cd8f[_0x44feed(0x220)](),'threadId':_0x47cd8f[_0x44feed(0x21e)]()['toString'](),'processId':_0x47cd8f[_0x44feed(0x18b)]()[_0x44feed(0x212)]()},_0x4c75ba={};_0x4c75ba['platformIndex']=_0x39da16,_0x4c75ba[_0x44feed(0x19e)]=_0x6f6aa0,_0x4c75ba[_0x44feed(0x163)]=_0x583a97,_0x4c75ba[_0x44feed(0x180)]=_0x3f99d4,_0x4c75ba[_0x44feed(0x169)]=_0x207b79,_0x4c75ba['startedAt']=_0x1238c8,_0x4c75ba['endedAt']=_0x2c1fce,_0x4c75ba['uuid']=_0x4df9ec,_0x4c75ba[_0x44feed(0x1ea)]=_0x95d169,_0x4c75ba[_0x44feed(0x188)]=_0x5674cd;const _0x2e1b65=_0x4c75ba;return logger[_0x44feed(0x192)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x3826d4+'\x20testState:\x20'+_0x3f99d4+'\x20hookState:\x20'+_0x207b79),_0x2e1b65;}catch(_0x472af6){return logger[_0x44feed(0x1fd)](_0x44feed(0x237)+util['format'](_0x472af6)),{};}}}module[a77_0x4327ed(0x1e2)]=PlaywrightTestFramework;
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 +1 @@
1
- function a78_0x15b8(){const _0x316dd7=['suuxo','debug','3072867PzxTZD','3832470CVVDap','trackPuppeteerInstance','getTrackedInstance','382819yWTNiQ','1646YpylVc','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','vEiYO','logger','../../../helpers/classLogger.js','../state/automationFrameworkState.js','PRE','../instances/trackedInstance.js','getCurrentInstanceName','208nskvup','1422pXlfin','instance',',\x20state=','YQvfY','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','trackEvent','info','../instances/automationFrameworkInstance.js','\x20hookState=','CREATE','9628uVAOQl','5ptfqkx','createContext','PuppeteerAutomationFramework','uAHEa','32607txxquq','\x20target=','13103000MUTAZh','getAutomationFrameworkName','trackEvent:\x20automationFrameworkState=','../cliUtils.js','BLgPy','resolveInstance'];a78_0x15b8=function(){return _0x316dd7;};return a78_0x15b8();}const a78_0x1a5d8b=a78_0x4680;(function(_0x5a4c54,_0x2d81fb){const _0x35c381=a78_0x4680,_0x5e56d8=_0x5a4c54();while(!![]){try{const _0x23bb59=-parseInt(_0x35c381(0x1fd))/0x1+parseInt(_0x35c381(0x1fe))/0x2*(-parseInt(_0x35c381(0x208))/0x3)+parseInt(_0x35c381(0x1ea))/0x4+-parseInt(_0x35c381(0x1eb))/0x5*(parseInt(_0x35c381(0x1fa))/0x6)+parseInt(_0x35c381(0x1f9))/0x7+parseInt(_0x35c381(0x207))/0x8*(parseInt(_0x35c381(0x1ef))/0x9)+parseInt(_0x35c381(0x1f1))/0xa;if(_0x23bb59===_0x2d81fb)break;else _0x5e56d8['push'](_0x5e56d8['shift']());}catch(_0x2fbe6b){_0x5e56d8['push'](_0x5e56d8['shift']());}}}(a78_0x15b8,0x6a02c));const AutomationFramework=require('./automationFramework.js'),{createClassLogger}=require(a78_0x1a5d8b(0x202)),AutomationFrameworkState=require(a78_0x1a5d8b(0x203)),HookState=require('../state/hookState.js'),CLIUtils=require(a78_0x1a5d8b(0x1f4)),TrackedInstance=require(a78_0x1a5d8b(0x205)),AutomationFrameworkInstance=require(a78_0x1a5d8b(0x1e7));class PuppeteerAutomationFramework extends AutomationFramework{[a78_0x1a5d8b(0x201)]=createClassLogger(a78_0x1a5d8b(0x1ed));constructor(_0x238a55,_0x3e67e6){super(_0x238a55,_0x3e67e6);}async[a78_0x1a5d8b(0x1e5)](_0xe4bb83,_0x64d181,_0x2d77e8={}){const _0x34d88b=a78_0x1a5d8b,_0x1d01db={};_0x1d01db['YQvfY']=function(_0x546321,_0x4b6361){return _0x546321===_0x4b6361;},_0x1d01db[_0x34d88b(0x1f7)]='trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking';const _0x59ff6f=_0x1d01db;this[_0x34d88b(0x201)]['debug'](_0x34d88b(0x1f3)+_0xe4bb83+_0x34d88b(0x1e8)+_0x64d181),await super[_0x34d88b(0x1e5)](_0xe4bb83,_0x64d181,_0x2d77e8);const _0xa0c6e8=this[_0x34d88b(0x1f6)](_0xe4bb83,_0x64d181,_0x2d77e8);if(_0x59ff6f[_0x34d88b(0x1e3)](_0xa0c6e8,null)){this['logger'][_0x34d88b(0x1f8)](_0x59ff6f[_0x34d88b(0x1f7)]);return;}_0x2d77e8[_0x34d88b(0x1e1)]=_0xa0c6e8,await this['runHooks'](_0xa0c6e8,_0xe4bb83,_0x64d181,_0x2d77e8);}[a78_0x1a5d8b(0x1f6)](_0x2bf90b,_0x551efd,_0x94748b={}){const _0x4f9569=a78_0x1a5d8b,_0x1044ef={};_0x1044ef[_0x4f9569(0x200)]=function(_0x51da9d,_0x4fb672){return _0x51da9d===_0x4fb672;},_0x1044ef[_0x4f9569(0x1f5)]=function(_0x2482ee,_0xe03dd5){return _0x2482ee===_0xe03dd5;};const _0x44b8ed=_0x1044ef;let _0x5620f6=null;return(_0x44b8ed[_0x4f9569(0x200)](_0x2bf90b,AutomationFrameworkState[_0x4f9569(0x1e9)])&&_0x44b8ed['BLgPy'](_0x551efd,HookState[_0x4f9569(0x204)])||_0x44b8ed[_0x4f9569(0x200)](_0x2bf90b,AutomationFrameworkState['NONE']))&&this[_0x4f9569(0x1fb)](_0x2bf90b,_0x94748b),_0x5620f6=AutomationFramework['getTrackedInstance'](),_0x5620f6;}[a78_0x1a5d8b(0x1fb)](_0x58e9e2,_0x5d95b8){const _0x40697c=a78_0x1a5d8b,_0x4997c2={};_0x4997c2['uAHEa']='trackPuppeteerInstance:\x20instance\x20already\x20exists';const _0x1a7613=_0x4997c2;if(AutomationFramework[_0x40697c(0x1fc)]()){this[_0x40697c(0x201)][_0x40697c(0x1e6)](_0x1a7613[_0x40697c(0x1ee)]);return;}const _0x5a3e2a=CLIUtils[_0x40697c(0x206)](),_0x5810f5=TrackedInstance[_0x40697c(0x1ec)](_0x5a3e2a);let _0x15b910=null;this['logger'][_0x40697c(0x1e6)](_0x40697c(0x1ff)+_0x5a3e2a+_0x40697c(0x1e2)+_0x58e9e2),_0x15b910=new AutomationFrameworkInstance(_0x5810f5,this[_0x40697c(0x1f2)](),this['getAutomationFrameworkVersion'](),_0x58e9e2),AutomationFramework['setTrackedInstance'](_0x5810f5,_0x15b910),this[_0x40697c(0x201)][_0x40697c(0x1e6)](_0x40697c(0x1e4)+_0x5810f5['getId']()+_0x40697c(0x1f0)+_0x5a3e2a);}}function a78_0x4680(_0x36a88b,_0x151af4){const _0x15b825=a78_0x15b8();return a78_0x4680=function(_0x46809a,_0x35d32d){_0x46809a=_0x46809a-0x1e1;let _0xabb380=_0x15b825[_0x46809a];return _0xabb380;},a78_0x4680(_0x36a88b,_0x151af4);}module['exports']=PuppeteerAutomationFramework;
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;