browserstack-node-sdk 1.63.2 → 1.63.4

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 (218) 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/jasmine/bstack-reporter/customReporter.js +1 -1
  56. package/src/bin/jasmine/command.js +1 -1
  57. package/src/bin/jasmine/test.setup.js +1 -1
  58. package/src/bin/jasmine/testRunMap.js +1 -1
  59. package/src/bin/jest/command.js +1 -1
  60. package/src/bin/jest/customImplements/customCircus.js +1 -1
  61. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  62. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  63. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  64. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  65. package/src/bin/jest/jest.setup.js +1 -1
  66. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  67. package/src/bin/jest/test-observability/helper.js +1 -1
  68. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  69. package/src/bin/jest/test-observability/test-details.js +1 -1
  70. package/src/bin/jest/test.setup.js +1 -1
  71. package/src/bin/jest/test_before.setup.js +1 -1
  72. package/src/bin/launcher/launcher.js +1 -1
  73. package/src/bin/load/index.js +1 -1
  74. package/src/bin/load/loadErrors.js +1 -1
  75. package/src/bin/load/loadUtils.js +1 -1
  76. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  77. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  78. package/src/bin/mocha/command.js +1 -1
  79. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  80. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  81. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  82. package/src/bin/mocha/test.setup.js +1 -1
  83. package/src/bin/newman/command.js +1 -1
  84. package/src/bin/newman/helper.js +1 -1
  85. package/src/bin/newman/reporter/index.js +1 -1
  86. package/src/bin/newman/scriptRunner.js +1 -1
  87. package/src/bin/nightwatch/command.js +1 -1
  88. package/src/bin/playwright/accessibility-helper.js +1 -1
  89. package/src/bin/playwright/command.js +1 -1
  90. package/src/bin/playwright/globalSetup.js +1 -1
  91. package/src/bin/playwright/mock-process.js +1 -1
  92. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  93. package/src/bin/playwright/patches.js +1 -1
  94. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  95. package/src/bin/playwright/reporter/reporter.js +1 -1
  96. package/src/bin/playwright/reporter/test-details.js +1 -1
  97. package/src/bin/playwright/sessionDetails.js +1 -1
  98. package/src/bin/puppeteer/patches.js +1 -1
  99. package/src/bin/puppeteer/sessionDetails.js +1 -1
  100. package/src/bin/puppeteer/test.setup.js +1 -1
  101. package/src/bin/runner.js +1 -1
  102. package/src/bin/setup.js +1 -1
  103. package/src/bin/test-runner/index.js +1 -1
  104. package/src/bin/test-runner/runTest.js +1 -1
  105. package/src/bin/test-runner/testWorker.js +1 -1
  106. package/src/bin/testcafe/a11y-runner.js +1 -1
  107. package/src/bin/testcafe/command.js +1 -1
  108. package/src/bin/testcafe/reporter/index.js +1 -1
  109. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  110. package/src/bin/testcafe/session-registry.js +1 -1
  111. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  112. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  113. package/src/bin/testcafe/w3c-driver.js +1 -1
  114. package/src/bin/utils/apiUtilityMethods.js +1 -1
  115. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  116. package/src/bin/utils/constants.js +1 -1
  117. package/src/bin/utils/log4jsAppender.js +1 -1
  118. package/src/bin/utils/logPatcher.js +1 -1
  119. package/src/bin/utils/logReportingAPI.js +1 -1
  120. package/src/bin/utils/playwright-patcher.js +1 -1
  121. package/src/bin/utils/puppeteer-patcher.js +1 -1
  122. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  123. package/src/bin/utils/sharedUtils.js +1 -1
  124. package/src/bin/v2/TestInfo.js +1 -1
  125. package/src/bin/v2/browserstackCLI.js +1 -1
  126. package/src/bin/v2/cliUtils.js +1 -1
  127. package/src/bin/v2/customTagManager.js +1 -1
  128. package/src/bin/v2/eventDispatcher.js +1 -1
  129. package/src/bin/v2/framework/automationFramework.js +1 -1
  130. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  131. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  132. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  133. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  134. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  135. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  136. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  137. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  138. package/src/bin/v2/framework/testFramework.js +1 -1
  139. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  140. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  141. package/src/bin/v2/grpcClient.js +1 -1
  142. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  143. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  144. package/src/bin/v2/instances/trackedContext.js +1 -1
  145. package/src/bin/v2/instances/trackedInstance.js +1 -1
  146. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  147. package/src/bin/v2/modules/baseModule.js +1 -1
  148. package/src/bin/v2/modules/loadTestModule.js +1 -1
  149. package/src/bin/v2/modules/observabilityModule.js +1 -1
  150. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  151. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  152. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  153. package/src/bin/v2/modules/testhubModule.js +1 -1
  154. package/src/bin/v2/sdkErrorHandler.js +1 -1
  155. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  156. package/src/bin/v2/state/hookState.js +1 -1
  157. package/src/bin/v2/state/testFrameworkState.js +1 -1
  158. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  159. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  160. package/src/bin/v2/utils/jest-utils.js +1 -1
  161. package/src/bin/vanilla-js/command.js +1 -1
  162. package/src/browserStackSdk.js +1 -1
  163. package/src/helpers/BrowserStackSetup.js +1 -1
  164. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  165. package/src/helpers/accessibility-automation/constants.js +1 -1
  166. package/src/helpers/accessibility-automation/helper.js +1 -1
  167. package/src/helpers/accessibility-automation/scripts.js +1 -1
  168. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  169. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  170. package/src/helpers/ats/constants.js +1 -1
  171. package/src/helpers/ats/helper.js +1 -1
  172. package/src/helpers/caCertHelper.js +1 -1
  173. package/src/helpers/capsMapping.js +1 -1
  174. package/src/helpers/central-scanner/constants.js +1 -1
  175. package/src/helpers/central-scanner/helpers.js +1 -1
  176. package/src/helpers/classLogger.js +1 -1
  177. package/src/helpers/driverInitErrorReporter.js +1 -1
  178. package/src/helpers/globals.js +1 -1
  179. package/src/helpers/helper.js +1 -1
  180. package/src/helpers/logger.js +1 -1
  181. package/src/helpers/metadata.js +1 -1
  182. package/src/helpers/patchHelper.js +1 -1
  183. package/src/helpers/patchHelpers.js +1 -1
  184. package/src/helpers/percy/Percy.js +1 -1
  185. package/src/helpers/percy/PercyBinary.js +1 -1
  186. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  187. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  188. package/src/helpers/percy/PercySDK.js +1 -1
  189. package/src/helpers/percy/index.js +1 -1
  190. package/src/helpers/percy/utils.js +1 -1
  191. package/src/helpers/performance/constants.js +1 -1
  192. package/src/helpers/performance/performance-tester.js +1 -1
  193. package/src/helpers/playwright-helper.js +1 -1
  194. package/src/helpers/processHelper.js +1 -1
  195. package/src/helpers/puppeteer-helper.js +1 -1
  196. package/src/helpers/request-spy.js +1 -1
  197. package/src/helpers/setKeepAlive.js +1 -1
  198. package/src/helpers/stackFrameUtils.js +1 -1
  199. package/src/helpers/test-observability/constants.js +1 -1
  200. package/src/helpers/test-observability/error-handler.js +1 -1
  201. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  202. package/src/helpers/test-observability/sessionHandler.js +1 -1
  203. package/src/helpers/test-observability/utils.js +1 -1
  204. package/src/helpers/test-orchestration/constants.js +1 -1
  205. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  206. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  207. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  208. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  209. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  210. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  211. package/src/helpers/testhub/constants.js +1 -1
  212. package/src/helpers/testhub/testhubHandler.js +1 -1
  213. package/src/helpers/testhub/utils.js +1 -1
  214. package/src/helpers/timeoutPromise.js +1 -1
  215. package/src/helpers/utilities.js +1 -1
  216. package/src/helpers/w3cMapping.js +1 -1
  217. package/src/hubAllocationMethods.js +1 -1
  218. package/src/index.js +1 -1
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a18_0x25c992=a18_0xa43c;(function(_0x59ca9c,_0xb2df0b){const _0x278dab=a18_0xa43c,_0x5dbf47=_0x59ca9c();while(!![]){try{const _0x5d7041=parseInt(_0x278dab(0x157))/0x1+-parseInt(_0x278dab(0xa8))/0x2+-parseInt(_0x278dab(0x11f))/0x3+-parseInt(_0x278dab(0xda))/0x4*(-parseInt(_0x278dab(0xec))/0x5)+parseInt(_0x278dab(0x9b))/0x6*(-parseInt(_0x278dab(0x12f))/0x7)+-parseInt(_0x278dab(0xcb))/0x8*(-parseInt(_0x278dab(0x131))/0x9)+-parseInt(_0x278dab(0x9e))/0xa;if(_0x5d7041===_0xb2df0b)break;else _0x5dbf47['push'](_0x5dbf47['shift']());}catch(_0x5a05b4){_0x5dbf47['push'](_0x5dbf47['shift']());}}}(a18_0x50a1,0xad4d2));function a18_0x50a1(){const _0x30ff16=['../../helpers/percy/utils','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','requireSeleniumWebdriver','BROWSERSTACK_TEST_ACCESSIBILITY_YML','./test-observability/test-details','getPackageType','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','isTestOrchestrationEnabled','setupFilesAfterEnv','recursive','reporters','finalExecution','8rlAuOV','XTLwW','Dydfk','platforms','info','slice','useW3C','isCLIEnabled','startsWith','USER_CONFIG_DETAILS_PATH','CjlUQ','adsph','false','isNotUndefined','retries__','66848XtCJYI','testRunner','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','setupFiles','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','getInstance','accessibility','jest.setup.js','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','close','@jest/core','accessibilityOptions','JEST_TEST_ORDER','RFWxa','join','BSTACK_USER_JEST_RUNNER','package.json','Sdhws','385MqtxFx','__isPlaywrightInstalled','skipSessionName','SNDMP','rmdirSync','retryTestsOnFailure','./test-observability/helper','fMQUK','length','moduleNameMapper','true','exports','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x0a\x20\x20\x20\x20\x20\x20(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{createTestScheduler}\x20=\x20requireModule(\x27@jest/core\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20tempScheduler\x20=\x20await\x20createTestScheduler({reporters:\x20[]},\x20{});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20tempScheduler._dispatcher.constructor;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','Getting\x20your\x20jest\x20configs\x20from\x20','testTimeout','env','MODULE','child_process','../../helpers/accessibility-automation/helper','kicgd','PACKAGE_TYPE','\x20:\x20','log','../../helpers/performance/performance-tester','testContextOptions','tFvNN','filterBrowserstackArgs','format','jest-runner-','jest.config.','UqHpd','../../helpers/testhub/testhubHandler','Creating\x20','resolve','push','../../helpers/BrowserStackSetup','HpvgS','../../helpers/test-orchestration/testOrchestrationHandler','fwaXv','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','Deleting\x20','customTestRunnerTemplate.js','platform','splice','Error\x20while\x20parsing\x20','OxQhq','rmSync','error','parallels__','launchBuild','frrXR','1833453pcZaYJ','BROWSERSTACK_TEST_OBSERVABILITY_YML','setupBrowserstackLocal','mnIpT','platformCaps','../../helpers/test-observability/utils','jest-circus','inherit','test.setup.js','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','../utils/constants','MKmYv','iPgtQ','jest_browserstack.config.cjs','customTestRunner.js','../../helpers/logger','4539269aEPnPM','setup','3834009diBCgK','customCircus.js','testObservability','mjs','MvngS','end','config','test_before.setup.js','../../helpers/utilities','parallelsPerPlatform','error\x20removing\x20tcg\x20config\x20file','XhtIQ','^puppeteer-core/internal/(.*)','json','YqScQ','jest','jest-config/build/readConfigFileAndSetRootDir.js','readFileSync','win32','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','requireModule','SDK_CLEANUP','FRAMEWORKS','getPackageVersion','WJaTO','ehVwB','YwWjv','workingDir','Puppeteer\x20setup\x20error:\x20','Deleted\x20fail-fast\x20state\x20folder:\x20','../../helpers/puppeteer-helper','assign','NOMZt','BROWSERSTACK_CAPABILITIES','jest-runner','parse','Unable\x20to\x20find\x20jest-circus,\x20','isEmpty','1065992oiGPiu','child\x20process\x20exited\x20with\x20code\x20','rdhZu','maxFailures','SCCXQ','exitCode','testEnvironment','stop','reorderTestFiles','cwd','testSequencer','\x0a\x20\x20\x20\x20\x20\x20','errorMessage','customSequencer.js','getHubUrl',',\x20CLI\x20running:\x20','BSTACK_JEST_TEST_ENV','Ifxcr','existsSync','runInBand','message','cjs','prepareCapabilities','testEnvironmentOptions','gVLGN','../../helpers/test-observability/constants','proxySettings','HhFev','DoAjq','readInitialOptions','skipSessionStatus','maxWorkers','HBbJe','\x20with\x20browserstack\x20jest\x20configs',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','parseTestOrchestrationOptions','VNBhc','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','debug','Oxgow','resolveModule','Found:\x20','customEnvironment.js','tAJGI','Getting\x20your\x20jest\x20configs\x20from\x20package.json','ScNHv','timeout__','default','isUndefined','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','unlinkSync','wSadZ','ENYRW','__isPuppeteerInstalled','setupTCGAuth','osIxQ','/internal/$1','GpSQP','@jest/core/build/ReporterDispatcher.js','customImplements','QWEfB','puppeteer','failureThresholdCount','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','Pujco','stringify','initialize','isBrowserstackInfra','replace','6mPfJJE','AEroS','Bkfsw','7450780EGvbia','browserStackPercyOptions','kUZxV','shouldProcessEventForTesthub','wiQys','turboScaleUrl','ukDjJ','BROWSERSTACK_FRAMEWORK','writeFileSync','--config','128558hETbmB','UjqkG','XIVWr','abortBuildOnFailure','path','Ytvdy','JEST','jest_browserstack.config.js','isRunning','../../helpers/playwright-helper','capabilities','printBuildLink','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','findTestFiles','bKfLj','runner','GtAMR','uRqcd','force','util',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','ddjJX','bVOzG'];a18_0x50a1=function(){return _0x30ff16;};return a18_0x50a1();}const fs=require('fs'),path=require(a18_0x25c992(0xac)),util=require(a18_0x25c992(0xbb)),{spawn}=require(a18_0x25c992(0xfd)),logger=require(a18_0x25c992(0x12e))['winstonLogger'],{default:BrowserStackSetup}=require(a18_0x25c992(0x10f)),helper=require('../../helpers/helper'),utilities=require(a18_0x25c992(0x139)),constants=require(a18_0x25c992(0x129)),accessibilityHelper=require(a18_0x25c992(0xfe)),{updateTestRerunConfig}=require(a18_0x25c992(0xf2)),testOpsHelper=require(a18_0x25c992(0x124)),{debug}=require(a18_0x25c992(0x124)),TestDetails=require(a18_0x25c992(0xc3)),{getPercyOptions}=require(a18_0x25c992(0xbf)),TestHubHandler=require(a18_0x25c992(0x10b)),testhubUtils=require('../../helpers/testhub/utils'),{FRAMEWORKS}=require(a18_0x25c992(0x170)),PerformanceTester=require(a18_0x25c992(0x103)),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],TestOrchestrationHandler=require(a18_0x25c992(0x111)),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a18_0x25c992(0xb1)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x25c992(0x14f)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),{checkAccessibilityPlatformConfig}=require(a18_0x25c992(0xfe)),getUserJestConfigs=async(_0x8ad994,_0x458af8)=>{const _0x348383=a18_0x25c992,_0x51d883={'OxQhq':_0x348383(0x141),'Ytvdy':'jest-config','ehVwB':function(_0x2a9cc9,_0x23f825){return _0x2a9cc9||_0x23f825;},'adsph':function(_0x4dfdc6,_0x2dbaa9){return _0x4dfdc6(_0x2dbaa9);},'MKmYv':_0x348383(0xea),'UdGZE':_0x348383(0x183),'VqUHw':_0x348383(0x134),'XIVWr':_0x348383(0x16c),'bVOzG':_0x348383(0x13e)};let _0x2a876d;try{_0x2a876d=helper[_0x348383(0x145)](_0x51d883[_0x348383(0x119)],_0x51d883[_0x348383(0xad)]);}catch{const _0x4a32ad=helper['requireModule'](_0x51d883[_0x348383(0xad)]);_0x2a876d={'default':async _0x59a8c5=>{const _0xb40c6d=_0x348383,_0x203606=await _0x4a32ad[_0xb40c6d(0x174)](_0x59a8c5,{});return _0x203606['config'];}};}const _0x1237a3=_0x458af8['findIndex'](_0x275ee3=>_0x275ee3===_0x348383(0xa7));if(!helper['isUndefined'](_0x8ad994[_0x348383(0x137)])){logger[_0x348383(0xcf)](_0x348383(0xf9)+_0x8ad994[_0x348383(0x137)]),process['env'][_0x348383(0xd4)]=_0x8ad994[_0x348383(0x137)];const _0x26069d=await(0x0,_0x2a876d[_0x348383(0x186)])(path[_0x348383(0x10d)](_0x8ad994['config']));return _0x458af8[_0x348383(0x117)](_0x1237a3,0x2),_0x51d883[_0x348383(0x14a)](_0x26069d,{});}const _0x57a2e0=_0x51d883[_0x348383(0xd6)](require,path['join'](process[_0x348383(0x160)](),_0x51d883[_0x348383(0x12a)]));if(_0x57a2e0[_0x348383(0x140)])return logger[_0x348383(0xcf)](_0x51d883['UdGZE']),_0x57a2e0[_0x348383(0x140)];const _0x2d2577=['js',_0x51d883['VqUHw'],_0x51d883[_0x348383(0xaa)],_0x51d883[_0x348383(0xbe)],'ts'];for(const _0x47655f of _0x2d2577){const _0x3e8347=path['join'](process[_0x348383(0x160)](),_0x348383(0x109)+_0x47655f);if(fs[_0x348383(0x169)](_0x3e8347)){process[_0x348383(0xfb)][_0x348383(0xd4)]=_0x3e8347;const _0x407629=await(0x0,_0x2a876d['default'])(_0x3e8347);return _0x407629;}}return{};},getSerial=(_0x39aefc,_0x16e67b)=>{const _0x5f5077=a18_0x25c992,_0x3995ea={};_0x3995ea[_0x5f5077(0xa4)]=_0x5f5077(0xf6),_0x3995ea[_0x5f5077(0x193)]=function(_0x254dcb,_0x197563){return _0x254dcb>_0x197563;},_0x3995ea['HhFev']=_0x5f5077(0xd7);const _0x57748c=_0x3995ea;let _0x3780e2=_0x57748c['ukDjJ'];return _0x57748c[_0x5f5077(0x193)](_0x39aefc[_0x5f5077(0xf4)],0x1)&&(!_0x16e67b[_0x5f5077(0x16a)]&&(helper['isUndefined'](_0x16e67b[_0x5f5077(0x176)])||_0x57748c[_0x5f5077(0x193)](_0x16e67b['maxWorkers'],0x1)))&&(_0x3780e2=_0x57748c[_0x5f5077(0x172)]),_0x3780e2;},getMaxWorkers=(_0x39a511,_0x25198a,_0x35e514)=>{const _0x2cbdfa=a18_0x25c992,_0x2509b6={'UjqkG':function(_0x2e5d65,_0x15d6b1){return _0x2e5d65(_0x15d6b1);}};let _0x5bd44f=0x1;if(!helper[_0x2cbdfa(0x187)](_0x25198a[_0x2cbdfa(0x13a)]))_0x5bd44f=_0x2509b6[_0x2cbdfa(0xa9)](parseInt,_0x25198a[_0x2cbdfa(0x13a)]);else{if(!helper[_0x2cbdfa(0x187)](_0x39a511['maxWorkers']))_0x5bd44f=_0x39a511[_0x2cbdfa(0x176)];else!helper['isUndefined'](_0x35e514[_0x2cbdfa(0x176)])&&(_0x5bd44f=_0x35e514[_0x2cbdfa(0x176)]);}return _0x5bd44f;};function a18_0xa43c(_0x297e32,_0xc813ce){const _0x50a1f7=a18_0x50a1();return a18_0xa43c=function(_0xa43cf4,_0x1a7751){_0xa43cf4=_0xa43cf4-0x96;let _0xfdc524=_0x50a1f7[_0xa43cf4];return _0xfdc524;},a18_0xa43c(_0x297e32,_0xc813ce);}async function run(_0x111998,_0x1b9dde,_0x15a92a){const _0x19c26d=a18_0x25c992,_0x439574={'mJSsW':_0x19c26d(0x13b),'Dydfk':'jest','NBRov':function(_0x30b119,_0x9a188c){return _0x30b119(_0x9a188c);},'IDUzG':'@playwright/test','Bkfsw':function(_0x180f17){return _0x180f17();},'ddjJX':function(_0x19f48f,_0x2e2490,_0x1a612d,_0x1fdf39){return _0x19f48f(_0x2e2490,_0x1a612d,_0x1fdf39);},'pOPGy':function(_0x2d8c3c,_0x55ba35,_0x3fa9f0,_0x3206ef){return _0x2d8c3c(_0x55ba35,_0x3fa9f0,_0x3206ef);},'UqHpd':function(_0x98375b,_0x13b1ad){return _0x98375b!=_0x13b1ad;},'XTLwW':_0x19c26d(0xf6),'YwWjv':function(_0x6d8b42,_0x133ae2,_0x49d5e7){return _0x6d8b42(_0x133ae2,_0x49d5e7);},'RFWxa':_0x19c26d(0xdc),'RjihO':function(_0x2b54b8,_0x21ab74){return _0x2b54b8(_0x21ab74);},'gmCBf':function(_0x4ce8b5,_0x487e1d){return _0x4ce8b5(_0x487e1d);},'guOdp':'false','SNDMP':function(_0x4c272e,_0x4cc6dc,_0x34ec6a){return _0x4c272e(_0x4cc6dc,_0x34ec6a);},'YqScQ':function(_0x4d9ccd,_0xb88752){return _0x4d9ccd*_0xb88752;},'GtAMR':function(_0x101cbd,_0x3d23af){return _0x101cbd===_0x3d23af;},'wSadZ':_0x19c26d(0x12c),'wiQys':_0x19c26d(0xaf),'tAJGI':_0x19c26d(0x192),'fwaXv':'jest_browserstack_results.json','fMQUK':_0x19c26d(0x12d),'gVLGN':_0x19c26d(0x115),'CjlUQ':_0x19c26d(0x181),'ODBpk':function(_0x3af8b4,_0x4dff16){return _0x3af8b4!==_0x4dff16;},'IdMDb':_0x19c26d(0x153),'WJaTO':'jest-runner-','NOMZt':_0x19c26d(0xe1),'osIxQ':_0x19c26d(0x164),'HpvgS':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','frrXR':_0x19c26d(0x125),'uRqcd':'jest-circus/build/runner.js','HBbJe':function(_0x44d624,_0x381276){return _0x44d624(_0x381276);},'kUZxV':'test-observability','qnDJO':'data-hooks.js','JKxWa':_0x19c26d(0x132),'dIMnu':_0x19c26d(0x138),'ENYRW':_0x19c26d(0x113),'feZVi':'playwright','zQDmH':'Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','Oxgow':_0x19c26d(0x127),'XhtIQ':'Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','Sdhws':function(_0xec051a,_0x43b476){return _0xec051a&&_0x43b476;},'mnIpT':_0x19c26d(0xc0),'DoAjq':_0x19c26d(0x194),'AEroS':'puppeteer-core/package.json','Pujco':_0x19c26d(0x186),'MvngS':_0x19c26d(0x191),'VNBhc':_0x19c26d(0xe4),'GpSQP':_0x19c26d(0x144),'rdhZu':function(_0x45466c,_0x3d5b45){return _0x45466c>_0x3d5b45;},'Ifxcr':_0x19c26d(0xde),'SCCXQ':_0x19c26d(0xa7),'tFvNN':function(_0x5ef93c,_0x4ea038,_0x49f9e5,_0x22ca2a){return _0x5ef93c(_0x4ea038,_0x49f9e5,_0x22ca2a);},'iPgtQ':'npx','bKfLj':function(_0x27fbcd,_0x470b71){return _0x27fbcd===_0x470b71;},'ScNHv':_0x19c26d(0x143),'MKwrR':_0x19c26d(0x126),'kicgd':_0x19c26d(0xe3)},_0x33f1f2=helper[_0x19c26d(0x148)](_0x439574['IDUzG']);global[_0x19c26d(0xed)]=!!_0x33f1f2;const _0x4d9398=_0x439574[_0x19c26d(0x9d)](getPuppeteerVersion);global[_0x19c26d(0x18c)]=!!_0x4d9398;helper[_0x19c26d(0x99)]()?(await _0x15a92a[_0x19c26d(0x98)](_0x111998),await helper['handleApp'](_0x15a92a[_0x19c26d(0x137)])):await _0x15a92a[_0x19c26d(0x18d)]();if(_0x33f1f2)await _0x439574[_0x19c26d(0xbd)](checkPwandBootstrapCli,_0x33f1f2,constants[_0x19c26d(0x147)][_0x19c26d(0xae)],_0x15a92a);else _0x4d9398&&await _0x439574['pOPGy'](checkPuppeteerAndBootstrapCli,_0x4d9398,constants[_0x19c26d(0x147)][_0x19c26d(0xae)],_0x15a92a);!BrowserstackCLI[_0x19c26d(0xdf)]()[_0x19c26d(0xb0)]()&&await _0x15a92a[_0x19c26d(0x121)]();if(!_0x15a92a[_0x19c26d(0x137)])return;_0x439574[_0x19c26d(0x10a)](_0x15a92a[_0x19c26d(0x137)][_0x19c26d(0x133)],null)?process['env'][_0x19c26d(0x120)]=_0x15a92a[_0x19c26d(0x137)][_0x19c26d(0x133)]:process[_0x19c26d(0xfb)][_0x19c26d(0x120)]=_0x439574['XTLwW'];const _0x5d4837=new TestOrchestrationHandler(_0x15a92a[_0x19c26d(0x137)]),_0x27fdf9=await _0x439574[_0x19c26d(0x14b)](getUserJestConfigs,_0x111998,_0x1b9dde);logger['info'](_0x439574[_0x19c26d(0xe7)]);const _0x60350e=Object['assign']({},_0x27fdf9);_0x60350e['testEnvironmentOptions']=Object[_0x19c26d(0x150)]({},_0x60350e[_0x19c26d(0x16e)],{'server':helper[_0x19c26d(0x165)](_0x15a92a[_0x19c26d(0x137)]),'environment':_0x27fdf9[_0x19c26d(0x15d)]}),_0x60350e[_0x19c26d(0x16e)][_0x19c26d(0x9f)]=_0x439574['RjihO'](getPercyOptions,_0x15a92a[_0x19c26d(0x137)]);const _0x1c058a=helper[_0x19c26d(0xd1)](_0x15a92a[_0x19c26d(0x137)]);!helper[_0x19c26d(0x187)](_0x15a92a['config'][_0x19c26d(0xe5)])&&(process[_0x19c26d(0xfb)][_0x19c26d(0xc5)]=JSON[_0x19c26d(0x97)](_0x15a92a[_0x19c26d(0x137)][_0x19c26d(0xe5)]));if(!BrowserstackCLI[_0x19c26d(0xdf)]()[_0x19c26d(0xb0)]()){const _0x1acdbd=await TestHubHandler[_0x19c26d(0x11d)](FRAMEWORKS[_0x19c26d(0xae)],_0x15a92a);}const _0x2e0c77=helper[_0x19c26d(0x16d)](_0x15a92a[_0x19c26d(0x137)],_0x1c058a,constants[_0x19c26d(0x147)][_0x19c26d(0xae)]);process[_0x19c26d(0xfb)][_0x19c26d(0x152)]=JSON['stringify'](_0x2e0c77);let _0x66b778=_0x15a92a[_0x19c26d(0x137)][_0x19c26d(0xe0)];_0x66b778=_0x66b778||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x15a92a[_0x19c26d(0x137)]),process[_0x19c26d(0xfb)][_0x19c26d(0xc2)]=_0x66b778,logger[_0x19c26d(0x17d)]('[Jest\x20Command]\x20Accessibility\x20enabled:\x20'+_0x66b778+_0x19c26d(0x166)+BrowserstackCLI[_0x19c26d(0xdf)]()['isRunning']());if(_0x33f1f2)try{const _0xea1674=_0x439574['gmCBf'](checkAccessibilityPlatformConfig,_0x15a92a[_0x19c26d(0x137)]);process[_0x19c26d(0xfb)][_0x19c26d(0x17c)]=_0xea1674?_0x439574[_0x19c26d(0xcc)]:_0x439574['guOdp'],logger[_0x19c26d(0x17d)](_0x19c26d(0x188)+_0xea1674+_0x19c26d(0xbc)+process[_0x19c26d(0xfb)][_0x19c26d(0x17c)]);}catch(_0x3edbf8){logger[_0x19c26d(0x17d)](_0x19c26d(0xb4)+util['format'](_0x3edbf8));}_0x60350e['testEnvironmentOptions'][_0x19c26d(0xb2)]=_0x2e0c77,_0x60350e[_0x19c26d(0x16e)]['serial__']=_0x439574[_0x19c26d(0xef)](getSerial,_0x2e0c77,_0x111998),_0x60350e[_0x19c26d(0x16e)][_0x19c26d(0x11c)]=_0x439574[_0x19c26d(0xbd)](getMaxWorkers,_0x111998,_0x15a92a['config'],_0x27fdf9),_0x60350e['testEnvironmentOptions'][_0x19c26d(0x171)]=_0x15a92a[_0x19c26d(0x137)][_0x19c26d(0x171)],_0x60350e[_0x19c26d(0x16e)][_0x19c26d(0x185)]=_0x439574[_0x19c26d(0x13f)](_0x111998[_0x19c26d(0xfa)],0x1)||0x1388,_0x60350e[_0x19c26d(0x16e)][_0x19c26d(0xee)]=_0x15a92a['config'][_0x19c26d(0x104)]['skipSessionName'],_0x60350e['testEnvironmentOptions'][_0x19c26d(0x175)]=_0x15a92a[_0x19c26d(0x137)][_0x19c26d(0x104)]['skipSessionStatus'],_0x60350e[_0x19c26d(0x16e)]['browserStackLogLevel']=_0x15a92a[_0x19c26d(0x137)]['logLevel'],_0x60350e['testEnvironmentOptions'][_0x19c26d(0xa3)]=_0x15a92a[_0x19c26d(0x137)][_0x19c26d(0xa3)],_0x60350e[_0x19c26d(0x16e)][_0x19c26d(0x123)]=_0x15a92a[_0x19c26d(0x137)][_0x19c26d(0xce)];const _0xfe8162=helper[_0x19c26d(0x17a)](_0x15a92a[_0x19c26d(0x137)]);if(!helper[_0x19c26d(0x156)](_0xfe8162)){helper[_0x19c26d(0xd8)](_0xfe8162[_0x19c26d(0xf1)])&&(_0x60350e[_0x19c26d(0x16e)][_0x19c26d(0xd9)]=_0xfe8162[_0x19c26d(0xf1)]['maxRetries']);if(helper[_0x19c26d(0xd8)](_0xfe8162[_0x19c26d(0xab)])&&helper['isNotUndefined'](_0xfe8162['abortBuildOnFailure'][_0x19c26d(0x14c)])){const _0x17924f={};_0x17924f[_0x19c26d(0x195)]=_0xfe8162['abortBuildOnFailure'][_0x19c26d(0x15a)],_0x17924f['workingDir']=_0xfe8162[_0x19c26d(0xab)][_0x19c26d(0x14c)],_0x60350e[_0x19c26d(0x16e)]['failFast']=_0x17924f;}}let _0x50608e='';_0x439574[_0x19c26d(0xb8)](helper[_0x19c26d(0xc4)](),constants[_0x19c26d(0x100)][_0x19c26d(0xfc)])?_0x50608e=_0x439574[_0x19c26d(0x18a)]:_0x50608e=_0x439574[_0x19c26d(0xa2)];const _0x5eef4c=_0x50608e,_0x536892=path['join'](__dirname,_0x439574[_0x19c26d(0x182)],_0x439574[_0x19c26d(0x112)]),_0x5d8365=path['join'](__dirname,_0x439574[_0x19c26d(0x182)],_0x439574[_0x19c26d(0xf3)]),_0x4f2498=path[_0x19c26d(0xe8)](__dirname,_0x439574[_0x19c26d(0x182)],_0x439574[_0x19c26d(0x16f)]);_0x60350e[_0x19c26d(0x15d)]&&(process[_0x19c26d(0xfb)][_0x19c26d(0x167)]=_0x60350e[_0x19c26d(0x15d)]);_0x60350e[_0x19c26d(0x15d)]=path['join'](__dirname,_0x439574[_0x19c26d(0x182)],_0x439574[_0x19c26d(0xd5)]);const _0x45c77d=_0x27fdf9['runner'];if(_0x45c77d&&_0x439574['ODBpk'](_0x45c77d,_0x439574['IdMDb'])){const _0x31891b=_0x45c77d[_0x19c26d(0xd3)](_0x439574[_0x19c26d(0x149)])?_0x45c77d:_0x19c26d(0x108)+_0x45c77d;process[_0x19c26d(0xfb)][_0x19c26d(0xe9)]=_0x31891b,logger['info']('Preserving\x20user\x27s\x20Jest\x20runner:\x20'+_0x31891b);}_0x60350e['runner']=_0x5d8365,_0x60350e[_0x19c26d(0xc7)]=_0x60350e[_0x19c26d(0xc7)]||[],_0x60350e['setupFilesAfterEnv'][_0x19c26d(0x10e)](path[_0x19c26d(0xe8)](__dirname,_0x439574[_0x19c26d(0x151)]));_0x5d4837[_0x19c26d(0xc6)]()&&(_0x60350e[_0x19c26d(0x161)]=path[_0x19c26d(0xe8)](__dirname,_0x439574[_0x19c26d(0x182)],_0x439574[_0x19c26d(0x18e)]));if(testhubUtils[_0x19c26d(0xa1)]()||BrowserstackCLI[_0x19c26d(0xdf)]()['isCliEnabled']()){let _0x35ab9c=null;try{_0x35ab9c=helper[_0x19c26d(0x145)](_0x439574[_0x19c26d(0x110)],_0x439574[_0x19c26d(0x11e)]);}catch(_0x5c629e){try{_0x35ab9c=helper['requireModule'](_0x439574[_0x19c26d(0xb9)],_0x439574['frrXR']);}catch(_0x53450a){_0x439574[_0x19c26d(0x177)](debug,_0x19c26d(0x155)+_0x53450a);}}_0x35ab9c&&(testhubUtils[_0x19c26d(0xa1)]()&&_0x60350e[_0x19c26d(0xc7)][_0x19c26d(0x10e)](path[_0x19c26d(0xe8)](__dirname,_0x439574[_0x19c26d(0xa0)],_0x439574['qnDJO'])),_0x60350e[_0x19c26d(0xdb)]=path[_0x19c26d(0xe8)](__dirname,_0x439574[_0x19c26d(0x182)],_0x439574['JKxWa']));}_0x60350e[_0x19c26d(0xdd)]=_0x60350e[_0x19c26d(0xdd)]||[];try{helper[_0x19c26d(0xc1)](),_0x60350e['setupFiles']['push'](path[_0x19c26d(0xe8)](__dirname,_0x439574['dIMnu']));}catch{logger[_0x19c26d(0x17d)](_0x439574[_0x19c26d(0x18b)]);}try{helper['requirePWModule']['apply'](null,[_0x439574['IDUzG'],_0x439574['feZVi']]),logger['debug'](_0x439574['zQDmH']),_0x60350e['setupFiles']['push'](path['join'](__dirname,_0x439574[_0x19c26d(0x17e)]));}catch(_0x4c3386){logger[_0x19c26d(0x17d)](_0x439574[_0x19c26d(0x13c)],_0x4c3386);}if(_0x439574[_0x19c26d(0xeb)](!_0x33f1f2,_0x4d9398)){try{logger[_0x19c26d(0x17d)](_0x439574[_0x19c26d(0x122)]),_0x60350e[_0x19c26d(0xdd)]['push'](path[_0x19c26d(0xe8)](__dirname,'..',_0x439574[_0x19c26d(0x173)],_0x439574[_0x19c26d(0x17e)]));}catch(_0x17c405){logger['debug'](_0x19c26d(0x14d)+_0x17c405[_0x19c26d(0x16b)]);}try{const _0x4c42f6=require[_0x19c26d(0x10d)](_0x439574[_0x19c26d(0x9c)]),_0x2bf385=path['dirname'](_0x4c42f6)[_0x19c26d(0x9a)](/\\/g,'/'),_0x39ea0a={};_0x39ea0a[_0x19c26d(0x13d)]=_0x2bf385+_0x19c26d(0x18f),_0x60350e[_0x19c26d(0xf5)]=Object[_0x19c26d(0x150)]({},_0x60350e[_0x19c26d(0xf5)]||{},_0x39ea0a),logger[_0x19c26d(0x17d)](_0x19c26d(0x128)+_0x2bf385);}catch(_0x3e2e2){logger[_0x19c26d(0x17d)]('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0x3e2e2['message']);}}_0x60350e[_0x19c26d(0xc9)]=_0x60350e[_0x19c26d(0xc9)]||[_0x439574[_0x19c26d(0x96)]],_0x439574[_0x19c26d(0xef)](updateTestRerunConfig,_0x60350e,_0x15a92a);const _0x266be3=fs[_0x19c26d(0x142)](_0x4f2498),_0x203c5b=helper[_0x19c26d(0x17f)](_0x439574[_0x19c26d(0x135)],_0x439574[_0x19c26d(0x17b)]);!_0x203c5b[_0x19c26d(0x11b)]?fs[_0x19c26d(0xa6)](_0x60350e['runner'],_0x19c26d(0x162)+_0x266be3+'\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20'+_0x15a92a['config']['platforms'][_0x19c26d(0xf4)]+_0x19c26d(0x179)):fs['writeFileSync'](_0x60350e[_0x19c26d(0xb7)],_0x19c26d(0x162)+_0x266be3+_0x19c26d(0xf8)+_0x15a92a[_0x19c26d(0x137)][_0x19c26d(0xce)][_0x19c26d(0xf4)]+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20');logger[_0x19c26d(0xcf)](_0x19c26d(0x10c)+_0x5eef4c+_0x19c26d(0x178)),fs['writeFileSync'](_0x5eef4c,'const\x20config='+JSON[_0x19c26d(0x97)](_0x60350e)+'\x0amodule.exports\x20=\x20config;');if(_0x5d4837[_0x19c26d(0xc6)]()){logger[_0x19c26d(0x17d)](_0x439574[_0x19c26d(0x190)]);const _0x2538ab=await _0x5d4837[_0x19c26d(0xb5)](_0x60350e,_0x1b9dde[_0x19c26d(0xd0)](0x1),_0x5eef4c);logger[_0x19c26d(0x17d)](_0x19c26d(0x180)+JSON[_0x19c26d(0x97)](_0x2538ab)+'\x20test\x20files\x20to\x20run.');const _0x4d5886=await _0x5d4837[_0x19c26d(0x15f)](_0x2538ab);logger[_0x19c26d(0x17d)]('Reodered\x20Test\x20Files:\x20'+JSON[_0x19c26d(0x97)](_0x4d5886)),_0x4d5886&&_0x439574[_0x19c26d(0x159)](_0x4d5886[_0x19c26d(0xf4)],0x0)&&(process[_0x19c26d(0xfb)][_0x19c26d(0xe6)]=_0x4d5886?.[_0x19c26d(0xe8)](','));}logger[_0x19c26d(0xcf)](_0x439574[_0x19c26d(0x168)]);testhubUtils[_0x19c26d(0xa1)]()&&TestDetails[_0x19c26d(0x130)]();helper[_0x19c26d(0x106)]({},_0x1b9dde),PerformanceTester[_0x19c26d(0x136)](PerformanceEvents['SDK_SETUP']);const _0xc424d9=[_0x439574[_0x19c26d(0xcd)],_0x439574[_0x19c26d(0x15b)],_0x5eef4c,..._0x1b9dde[_0x19c26d(0xd0)](0x1)];process[_0x19c26d(0xfb)]['BROWSERSTACK_FRAMEWORK']=process['env'][_0x19c26d(0xa5)]||_0x439574[_0x19c26d(0xcd)];const _0x5d5a5e=_0x439574[_0x19c26d(0x105)](spawn,_0x439574[_0x19c26d(0x12b)],_0xc424d9,{'shell':_0x439574[_0x19c26d(0xb6)](process[_0x19c26d(0x116)],_0x439574[_0x19c26d(0x184)]),'stdio':_0x439574['MKwrR'],'env':Object[_0x19c26d(0x150)]({},process[_0x19c26d(0xfb)])});_0x5d5a5e['on'](_0x439574[_0x19c26d(0xff)],async _0x1bfc47=>{const _0x16bfd5=_0x19c26d;PerformanceTester['start'](PerformanceEvents[_0x16bfd5(0x146)]);try{const {browserstackFolderPath:_0xd2dfa,tcgConfigPath:_0x4b7ffa}=helper['getTCGConfigFilePaths']();fs[_0x16bfd5(0x189)](_0x4b7ffa),fs[_0x16bfd5(0xf0)](_0xd2dfa);}catch(_0x539230){logger['debug'](_0x439574['mJSsW'],_0x539230);}process[_0x16bfd5(0x15c)]=_0x1bfc47,logger[_0x16bfd5(0x17d)](_0x16bfd5(0x158)+_0x1bfc47),logger[_0x16bfd5(0xcf)](_0x16bfd5(0x114)+_0x5eef4c);if(helper[_0x16bfd5(0xd8)](_0xfe8162)&&helper[_0x16bfd5(0xd8)](_0xfe8162[_0x16bfd5(0xab)])&&fs[_0x16bfd5(0x169)](_0xfe8162['abortBuildOnFailure'][_0x16bfd5(0x14c)]))try{const _0x2b964c={};_0x2b964c[_0x16bfd5(0xc8)]=!![],_0x2b964c[_0x16bfd5(0xba)]=!![],fs[_0x16bfd5(0x11a)](_0xfe8162[_0x16bfd5(0xab)]['workingDir'],_0x2b964c),logger[_0x16bfd5(0x17d)](_0x16bfd5(0x14e)+_0xfe8162[_0x16bfd5(0xab)][_0x16bfd5(0x14c)]);}catch(_0x273ac8){logger[_0x16bfd5(0x11b)](_0x16bfd5(0x196)+_0x273ac8);}let _0x2b07f5=null;if(fs['existsSync'](_0x536892)){_0x2b07f5=fs[_0x16bfd5(0x142)](_0x536892);try{_0x2b07f5=JSON[_0x16bfd5(0x154)](_0x2b07f5);}catch(_0x4aa753){logger[_0x16bfd5(0x17d)](_0x16bfd5(0x118)+_0x536892+',\x20'+_0x2b07f5+_0x16bfd5(0x101)+_0x4aa753);}fs[_0x16bfd5(0x189)](_0x536892);}fs['unlinkSync'](_0x5eef4c),fs[_0x16bfd5(0x189)](_0x5d8365),_0x2b07f5&&(_0x15a92a[_0x16bfd5(0x163)]=helper['getErrorMessageFromResults'](_0x2b07f5,_0x439574['Dydfk'],_0x15a92a));const _0x365e17=BrowserstackCLI[_0x16bfd5(0xd2)]();try{await TestHubHandler[_0x16bfd5(0x15e)](),await BrowserstackCLI['getInstance']()[_0x16bfd5(0x15e)]();}catch(_0x308afb){console[_0x16bfd5(0x102)](_0x308afb),_0x439574['NBRov'](debug,_0x16bfd5(0xe2)+util[_0x16bfd5(0x107)](_0x308afb));}testOpsHelper[_0x16bfd5(0xb3)](),TestDetails['shutdown'](),await utilities[_0x16bfd5(0xca)](_0x15a92a,_0x365e17);});}module[a18_0x25c992(0xf7)]=run;
2
+ 'use strict';const a18_0x3c5ac0=a18_0x2585;(function(_0x255e7f,_0x34d3fc){const _0x4f1468=a18_0x2585,_0x2ea690=_0x255e7f();while(!![]){try{const _0x14b3d7=-parseInt(_0x4f1468(0x129))/0x1+parseInt(_0x4f1468(0x1a0))/0x2+parseInt(_0x4f1468(0x19a))/0x3*(parseInt(_0x4f1468(0x141))/0x4)+-parseInt(_0x4f1468(0xd8))/0x5*(parseInt(_0x4f1468(0x1b9))/0x6)+parseInt(_0x4f1468(0x105))/0x7*(-parseInt(_0x4f1468(0x126))/0x8)+parseInt(_0x4f1468(0x119))/0x9*(parseInt(_0x4f1468(0x185))/0xa)+parseInt(_0x4f1468(0x17e))/0xb;if(_0x14b3d7===_0x34d3fc)break;else _0x2ea690['push'](_0x2ea690['shift']());}catch(_0x3344cd){_0x2ea690['push'](_0x2ea690['shift']());}}}(a18_0x3c9b,0x86fec));function a18_0x2585(_0x278ca4,_0xee9ae7){const _0x3c9be4=a18_0x3c9b();return a18_0x2585=function(_0x258574,_0x37328f){_0x258574=_0x258574-0xcc;let _0x46ad21=_0x3c9be4[_0x258574];return _0x46ad21;},a18_0x2585(_0x278ca4,_0xee9ae7);}const fs=require('fs'),path=require(a18_0x3c5ac0(0x135)),util=require(a18_0x3c5ac0(0x19f)),{spawn}=require(a18_0x3c5ac0(0x184)),logger=require(a18_0x3c5ac0(0xcf))[a18_0x3c5ac0(0xdb)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a18_0x3c5ac0(0x17c)),constants=require(a18_0x3c5ac0(0xe8)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require(a18_0x3c5ac0(0xf4)),testOpsHelper=require(a18_0x3c5ac0(0xd9)),{debug}=require(a18_0x3c5ac0(0xd9)),TestDetails=require('./test-observability/test-details'),{getPercyOptions}=require('../../helpers/percy/utils'),TestHubHandler=require(a18_0x3c5ac0(0x1b1)),testhubUtils=require(a18_0x3c5ac0(0x164)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceTester=require(a18_0x3c5ac0(0xf1)),PerformanceEvents=require(a18_0x3c5ac0(0x101))[a18_0x3c5ac0(0x13b)],TestOrchestrationHandler=require(a18_0x3c5ac0(0x186)),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x3c5ac0(0x138)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),getUserJestConfigs=async(_0xdd1108,_0x6e4f14)=>{const _0x1d7690=a18_0x3c5ac0,_0x4acfce={'Cxabs':'jest-config/build/readConfigFileAndSetRootDir.js','zvAKA':_0x1d7690(0x131),'KBzbv':function(_0x4eec58,_0x4b1fbd){return _0x4eec58||_0x4b1fbd;},'nXbaY':function(_0x1d2024,_0x395bfb){return _0x1d2024(_0x395bfb);},'ZLgwG':_0x1d7690(0xcc),'vLLgH':_0x1d7690(0x13a),'zPjoy':_0x1d7690(0x102),'Rmhpu':_0x1d7690(0x1a3),'npJTF':_0x1d7690(0xe1)};let _0xc13890;try{_0xc13890=helper[_0x1d7690(0x190)](_0x4acfce[_0x1d7690(0xde)],_0x4acfce[_0x1d7690(0x133)]);}catch{const _0x3dbee3=helper[_0x1d7690(0x190)](_0x4acfce[_0x1d7690(0x133)]);_0xc13890={'default':async _0x20bc23=>{const _0x3cf5d5=_0x1d7690,_0x5eae53=await _0x3dbee3[_0x3cf5d5(0x10e)](_0x20bc23,{});return _0x5eae53[_0x3cf5d5(0x14d)];}};}const _0x3183fd=_0x6e4f14[_0x1d7690(0x11b)](_0x377b37=>_0x377b37==='--config');if(!helper[_0x1d7690(0xe7)](_0xdd1108[_0x1d7690(0x14d)])){logger['info'](_0x1d7690(0xf6)+_0xdd1108[_0x1d7690(0x14d)]),process[_0x1d7690(0x1a7)][_0x1d7690(0x151)]=_0xdd1108['config'];const _0x1e0a1b=await(0x0,_0xc13890['default'])(path[_0x1d7690(0x165)](_0xdd1108[_0x1d7690(0x14d)]));return _0x6e4f14[_0x1d7690(0x1c5)](_0x3183fd,0x2),_0x4acfce[_0x1d7690(0xda)](_0x1e0a1b,{});}const _0x2f4e35=_0x4acfce[_0x1d7690(0x11c)](require,path['join'](process[_0x1d7690(0x11d)](),_0x4acfce['ZLgwG']));if(_0x2f4e35[_0x1d7690(0x161)])return logger[_0x1d7690(0x1bb)](_0x4acfce[_0x1d7690(0xfd)]),_0x2f4e35['jest'];const _0x5dbfed=['js',_0x4acfce[_0x1d7690(0x13d)],_0x4acfce[_0x1d7690(0x11f)],_0x4acfce['npJTF'],'ts'];for(const _0x5f120e of _0x5dbfed){const _0x593769=path[_0x1d7690(0xeb)](process[_0x1d7690(0x11d)](),_0x1d7690(0x168)+_0x5f120e);if(fs[_0x1d7690(0x110)](_0x593769)){process[_0x1d7690(0x1a7)]['USER_CONFIG_DETAILS_PATH']=_0x593769;const _0x30a43b=await(0x0,_0xc13890[_0x1d7690(0x143)])(_0x593769);return _0x30a43b;}}return{};},getSerial=(_0x4ea88e,_0x52575f)=>{const _0x115ed6=a18_0x3c5ac0,_0x13ab9f={};_0x13ab9f[_0x115ed6(0x103)]=_0x115ed6(0x19b),_0x13ab9f[_0x115ed6(0x154)]=function(_0x1f4f3e,_0x3e927b){return _0x1f4f3e>_0x3e927b;},_0x13ab9f['XeWek']=function(_0x25bfcc,_0x499e05){return _0x25bfcc>_0x499e05;},_0x13ab9f['ijMvR']=_0x115ed6(0x19c);const _0x24d8b5=_0x13ab9f;let _0xdfd103=_0x24d8b5['RaYbH'];return _0x24d8b5[_0x115ed6(0x154)](_0x4ea88e[_0x115ed6(0xd3)],0x1)&&(!_0x52575f[_0x115ed6(0x1c6)]&&(helper[_0x115ed6(0xe7)](_0x52575f[_0x115ed6(0x160)])||_0x24d8b5[_0x115ed6(0x14b)](_0x52575f[_0x115ed6(0x160)],0x1)))&&(_0xdfd103=_0x24d8b5[_0x115ed6(0x1a9)]),_0xdfd103;},getMaxWorkers=(_0x1114e8,_0x5a51ec,_0x19b125)=>{const _0x5e492a=a18_0x3c5ac0,_0x2b84da={'JxEUt':function(_0x519876,_0x5ced28){return _0x519876(_0x5ced28);}};let _0x395e9a=0x1;if(!helper[_0x5e492a(0xe7)](_0x5a51ec['parallelsPerPlatform']))_0x395e9a=_0x2b84da['JxEUt'](parseInt,_0x5a51ec[_0x5e492a(0x1c8)]);else{if(!helper[_0x5e492a(0xe7)](_0x1114e8['maxWorkers']))_0x395e9a=_0x1114e8[_0x5e492a(0x160)];else!helper[_0x5e492a(0xe7)](_0x19b125[_0x5e492a(0x160)])&&(_0x395e9a=_0x19b125[_0x5e492a(0x160)]);}return _0x395e9a;};async function run(_0x231e0b,_0xf17d9d,_0x2ce5ec){const _0x175b4c=a18_0x3c5ac0,_0x37b4c8={'KfhIq':'error\x20removing\x20tcg\x20config\x20file','Exwfm':_0x175b4c(0x161),'bAhmn':function(_0x1d0d30,_0x135cb8){return _0x1d0d30(_0x135cb8);},'eOSTd':'@playwright/test','DgTjc':function(_0x4d27ef){return _0x4d27ef();},'XatJN':function(_0x35553c,_0xf89e59,_0x4f731a,_0x9a0ce4){return _0x35553c(_0xf89e59,_0x4f731a,_0x9a0ce4);},'zzbtw':function(_0x5ca547,_0x420328){return _0x5ca547!=_0x420328;},'NAPva':'true','oeNrC':function(_0x5dd398,_0x28bd9e,_0x1a2f36){return _0x5dd398(_0x28bd9e,_0x1a2f36);},'eIOhv':_0x175b4c(0x155),'FvXkQ':'false','cnffQ':function(_0x416e46,_0x34aa96,_0x180f10){return _0x416e46(_0x34aa96,_0x180f10);},'WJhjW':function(_0x12e875,_0x104b3b){return _0x12e875*_0x104b3b;},'oKUmy':function(_0x3f795c,_0x41d725){return _0x3f795c===_0x41d725;},'yWIId':'jest_browserstack.config.cjs','IthDA':_0x175b4c(0x17a),'jLgcf':'customImplements','gdeTR':_0x175b4c(0xe4),'qWVAB':'customTestRunner.js','YcMog':'customTestRunnerTemplate.js','jtTBY':_0x175b4c(0x13c),'DOqNQ':function(_0x236ad6,_0x33d737){return _0x236ad6!==_0x33d737;},'PdcsE':_0x175b4c(0x1ae),'KtCuX':'jest-runner-','dujkT':_0x175b4c(0x134),'QOUCb':'customSequencer.js','knVoK':_0x175b4c(0x127),'QDWZl':'jest-circus','htxht':_0x175b4c(0x162),'iwKGT':function(_0x1435a3,_0x19a779){return _0x1435a3(_0x19a779);},'rPaYm':_0x175b4c(0x106),'egaOh':_0x175b4c(0x1c0),'kNSOx':_0x175b4c(0x15f),'AniAt':_0x175b4c(0xec),'oAUuU':_0x175b4c(0xee),'kgRhX':'playwright','uoKhs':_0x175b4c(0x1c1),'uezsS':_0x175b4c(0x1b6),'glLQS':_0x175b4c(0x1b7),'kOaOE':function(_0x5eb852,_0x4455c2){return _0x5eb852&&_0x4455c2;},'vYGHM':_0x175b4c(0x16e),'OVPBY':_0x175b4c(0x10f),'jBeSl':_0x175b4c(0x11e),'YBTJT':_0x175b4c(0x143),'MpQvp':function(_0x248bae,_0x3bd815,_0xc5acef){return _0x248bae(_0x3bd815,_0xc5acef);},'dnAwt':_0x175b4c(0x178),'AulrG':_0x175b4c(0x199),'HlKTj':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','TAyrn':function(_0x4fe5cc,_0x2e5254){return _0x4fe5cc>_0x2e5254;},'TBWVT':_0x175b4c(0x170),'qvVJr':_0x175b4c(0x183),'CSgaw':function(_0x237fb2,_0x52e443,_0x253fe6,_0x14fe58){return _0x237fb2(_0x52e443,_0x253fe6,_0x14fe58);},'QgCwa':'npx','HyJrk':function(_0x4f16b6,_0x314c27){return _0x4f16b6===_0x314c27;},'iiWRD':'win32','bFdTN':_0x175b4c(0x1a2),'tQEWY':_0x175b4c(0xff)},_0x2c5c4b=helper[_0x175b4c(0x146)](_0x37b4c8[_0x175b4c(0x130)]);global[_0x175b4c(0x181)]=!!_0x2c5c4b;const _0x1e9f60=_0x37b4c8[_0x175b4c(0x14a)](getPuppeteerVersion);global[_0x175b4c(0x19d)]=!!_0x1e9f60;helper[_0x175b4c(0x1c9)]()?(await _0x2ce5ec[_0x175b4c(0x172)](_0x231e0b),await helper[_0x175b4c(0x1b3)](_0x2ce5ec[_0x175b4c(0x14d)])):await _0x2ce5ec[_0x175b4c(0x166)]();if(_0x2c5c4b)await _0x37b4c8[_0x175b4c(0xdd)](checkPwandBootstrapCli,_0x2c5c4b,constants[_0x175b4c(0x111)]['JEST'],_0x2ce5ec);else _0x1e9f60&&await _0x37b4c8[_0x175b4c(0xdd)](checkPuppeteerAndBootstrapCli,_0x1e9f60,constants[_0x175b4c(0x111)][_0x175b4c(0x128)],_0x2ce5ec);!BrowserstackCLI['getInstance']()[_0x175b4c(0x1a8)]()&&await _0x2ce5ec['setupBrowserstackLocal']();if(!_0x2ce5ec[_0x175b4c(0x14d)])return;_0x37b4c8[_0x175b4c(0xcd)](_0x2ce5ec[_0x175b4c(0x14d)][_0x175b4c(0x13e)],null)?process[_0x175b4c(0x1a7)][_0x175b4c(0x16f)]=_0x2ce5ec[_0x175b4c(0x14d)]['testObservability']:process[_0x175b4c(0x1a7)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x37b4c8['NAPva'];const _0x427ae7=new TestOrchestrationHandler(_0x2ce5ec[_0x175b4c(0x14d)]),_0x418fc6=await _0x37b4c8['oeNrC'](getUserJestConfigs,_0x231e0b,_0xf17d9d);logger[_0x175b4c(0x1bb)](_0x37b4c8[_0x175b4c(0xe0)]);const _0xcaef3e=Object[_0x175b4c(0x191)]({},_0x418fc6);_0xcaef3e[_0x175b4c(0x18d)]=Object[_0x175b4c(0x191)]({},_0xcaef3e[_0x175b4c(0x18d)],{'server':helper[_0x175b4c(0x1ab)](_0x2ce5ec['config']),'environment':_0x418fc6[_0x175b4c(0x114)]}),_0xcaef3e[_0x175b4c(0x18d)][_0x175b4c(0x156)]=_0x37b4c8['bAhmn'](getPercyOptions,_0x2ce5ec[_0x175b4c(0x14d)]);const _0x5ee4f0=helper[_0x175b4c(0x12c)](_0x2ce5ec[_0x175b4c(0x14d)]);!helper[_0x175b4c(0xe7)](_0x2ce5ec[_0x175b4c(0x14d)][_0x175b4c(0xe5)])&&(process[_0x175b4c(0x1a7)][_0x175b4c(0xd1)]=JSON[_0x175b4c(0xe2)](_0x2ce5ec[_0x175b4c(0x14d)]['accessibilityOptions']));if(!BrowserstackCLI[_0x175b4c(0x120)]()[_0x175b4c(0x1a8)]()){const _0x3acc5e=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x175b4c(0x128)],_0x2ce5ec);}const _0x2601b1=helper[_0x175b4c(0xf5)](_0x2ce5ec[_0x175b4c(0x14d)],_0x5ee4f0,constants[_0x175b4c(0x111)][_0x175b4c(0x128)]);process[_0x175b4c(0x1a7)][_0x175b4c(0x10d)]=JSON['stringify'](_0x2601b1);let _0x1ce57b=_0x2ce5ec['config'][_0x175b4c(0x188)];_0x1ce57b=_0x1ce57b||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x2ce5ec['config']),process['env'][_0x175b4c(0x1bd)]=_0x1ce57b,logger['debug'](_0x175b4c(0x177)+_0x1ce57b+_0x175b4c(0xd5)+BrowserstackCLI[_0x175b4c(0x120)]()['isRunning']());if(_0x2c5c4b)try{const _0x54d7f2=_0x37b4c8[_0x175b4c(0xfb)](checkAccessibilityPlatformConfig,_0x2ce5ec[_0x175b4c(0x14d)]);process[_0x175b4c(0x1a7)][_0x175b4c(0x125)]=_0x54d7f2?_0x37b4c8[_0x175b4c(0x153)]:_0x37b4c8[_0x175b4c(0x176)],logger[_0x175b4c(0x1ad)](_0x175b4c(0x18a)+_0x54d7f2+_0x175b4c(0x1be)+process[_0x175b4c(0x1a7)][_0x175b4c(0x125)]);}catch(_0x100ab4){logger['debug'](_0x175b4c(0x15d)+util[_0x175b4c(0xd2)](_0x100ab4));}_0xcaef3e[_0x175b4c(0x18d)][_0x175b4c(0x18c)]=_0x2601b1,_0xcaef3e['testEnvironmentOptions']['serial__']=_0x37b4c8[_0x175b4c(0x180)](getSerial,_0x2601b1,_0x231e0b),_0xcaef3e[_0x175b4c(0x18d)][_0x175b4c(0x148)]=_0x37b4c8[_0x175b4c(0xdd)](getMaxWorkers,_0x231e0b,_0x2ce5ec[_0x175b4c(0x14d)],_0x418fc6),_0xcaef3e['testEnvironmentOptions'][_0x175b4c(0x14e)]=_0x2ce5ec[_0x175b4c(0x14d)][_0x175b4c(0x14e)],_0xcaef3e[_0x175b4c(0x18d)]['timeout__']=_0x37b4c8[_0x175b4c(0x1a6)](_0x231e0b['testTimeout'],0x1)||0x1388,_0xcaef3e[_0x175b4c(0x18d)][_0x175b4c(0xf0)]=_0x2ce5ec[_0x175b4c(0x14d)][_0x175b4c(0x157)][_0x175b4c(0xf0)],_0xcaef3e[_0x175b4c(0x18d)][_0x175b4c(0x17f)]=_0x2ce5ec['config'][_0x175b4c(0x157)][_0x175b4c(0x17f)],_0xcaef3e[_0x175b4c(0x18d)]['browserStackLogLevel']=_0x2ce5ec[_0x175b4c(0x14d)][_0x175b4c(0x104)],_0xcaef3e[_0x175b4c(0x18d)][_0x175b4c(0x1bc)]=_0x2ce5ec[_0x175b4c(0x14d)][_0x175b4c(0x1bc)],_0xcaef3e[_0x175b4c(0x18d)][_0x175b4c(0x10a)]=_0x2ce5ec[_0x175b4c(0x14d)][_0x175b4c(0x112)];const _0x286ad1=helper['parseTestOrchestrationOptions'](_0x2ce5ec['config']);if(!helper['isEmpty'](_0x286ad1)){helper['isNotUndefined'](_0x286ad1[_0x175b4c(0x182)])&&(_0xcaef3e[_0x175b4c(0x18d)][_0x175b4c(0xd4)]=_0x286ad1[_0x175b4c(0x182)][_0x175b4c(0x15b)]);if(helper[_0x175b4c(0xd7)](_0x286ad1[_0x175b4c(0x147)])&&helper['isNotUndefined'](_0x286ad1[_0x175b4c(0x147)][_0x175b4c(0x1a4)])){const _0x19b30e={};_0x19b30e[_0x175b4c(0x12a)]=_0x286ad1['abortBuildOnFailure']['maxFailures'],_0x19b30e[_0x175b4c(0x1a4)]=_0x286ad1[_0x175b4c(0x147)][_0x175b4c(0x1a4)],_0xcaef3e[_0x175b4c(0x18d)][_0x175b4c(0x121)]=_0x19b30e;}}let _0x59c30e='';_0x37b4c8[_0x175b4c(0x115)](helper['getPackageType'](),constants[_0x175b4c(0x1c4)][_0x175b4c(0x1ac)])?_0x59c30e=_0x37b4c8[_0x175b4c(0x122)]:_0x59c30e=_0x37b4c8[_0x175b4c(0xd0)];const _0x185eae=_0x59c30e,_0x3a9548=path['join'](__dirname,_0x37b4c8[_0x175b4c(0x1b0)],_0x37b4c8[_0x175b4c(0x189)]),_0x48f1ef=path[_0x175b4c(0xeb)](__dirname,_0x37b4c8[_0x175b4c(0x1b0)],_0x37b4c8['qWVAB']),_0x2ee751=path[_0x175b4c(0xeb)](__dirname,_0x37b4c8[_0x175b4c(0x1b0)],_0x37b4c8['YcMog']);_0xcaef3e['testEnvironment']&&(process['env']['BSTACK_JEST_TEST_ENV']=_0xcaef3e[_0x175b4c(0x114)]);_0xcaef3e[_0x175b4c(0x114)]=path[_0x175b4c(0xeb)](__dirname,_0x37b4c8[_0x175b4c(0x1b0)],_0x37b4c8[_0x175b4c(0x109)]);const _0x19c8c9=_0x418fc6[_0x175b4c(0x124)];if(_0x19c8c9&&_0x37b4c8['DOqNQ'](_0x19c8c9,_0x37b4c8[_0x175b4c(0x1c3)])){const _0x19dcb4=_0x19c8c9[_0x175b4c(0x12e)](_0x37b4c8[_0x175b4c(0xea)])?_0x19c8c9:'jest-runner-'+_0x19c8c9;process[_0x175b4c(0x1a7)][_0x175b4c(0x108)]=_0x19dcb4,logger[_0x175b4c(0x1bb)](_0x175b4c(0x17b)+_0x19dcb4);}_0xcaef3e[_0x175b4c(0x124)]=_0x48f1ef,_0xcaef3e[_0x175b4c(0x1b4)]=_0xcaef3e[_0x175b4c(0x1b4)]||[],_0xcaef3e['setupFilesAfterEnv'][_0x175b4c(0x139)](path['join'](__dirname,_0x37b4c8[_0x175b4c(0xe9)]));_0x427ae7[_0x175b4c(0x113)]()&&(_0xcaef3e['testSequencer']=path['join'](__dirname,_0x37b4c8[_0x175b4c(0x1b0)],_0x37b4c8[_0x175b4c(0x163)]));if(testhubUtils[_0x175b4c(0x132)]()||BrowserstackCLI[_0x175b4c(0x120)]()['isCliEnabled']()){let _0x201c6e=null;try{_0x201c6e=helper[_0x175b4c(0x190)](_0x37b4c8[_0x175b4c(0x19e)],_0x37b4c8[_0x175b4c(0x152)]);}catch(_0x4e20f4){try{_0x201c6e=helper['requireModule'](_0x37b4c8[_0x175b4c(0x16a)],_0x37b4c8[_0x175b4c(0x152)]);}catch(_0x3b79fb){_0x37b4c8[_0x175b4c(0x173)](debug,_0x175b4c(0xef)+_0x3b79fb);}}_0x201c6e&&(testhubUtils[_0x175b4c(0x132)]()&&_0xcaef3e[_0x175b4c(0x1b4)][_0x175b4c(0x139)](path[_0x175b4c(0xeb)](__dirname,_0x37b4c8[_0x175b4c(0xed)],_0x37b4c8['egaOh'])),_0xcaef3e[_0x175b4c(0x1bf)]=path[_0x175b4c(0xeb)](__dirname,_0x37b4c8[_0x175b4c(0x1b0)],_0x37b4c8[_0x175b4c(0x16b)]));}_0xcaef3e['setupFiles']=_0xcaef3e[_0x175b4c(0x137)]||[];try{helper[_0x175b4c(0x100)](),_0xcaef3e['setupFiles'][_0x175b4c(0x139)](path['join'](__dirname,_0x37b4c8[_0x175b4c(0x18f)]));}catch{logger[_0x175b4c(0x1ad)](_0x37b4c8['oAUuU']);}try{helper['requirePWModule'][_0x175b4c(0x150)](null,[_0x37b4c8['eOSTd'],_0x37b4c8[_0x175b4c(0x136)]]),logger['debug'](_0x37b4c8['uoKhs']),_0xcaef3e[_0x175b4c(0x137)][_0x175b4c(0x139)](path[_0x175b4c(0xeb)](__dirname,_0x37b4c8['uezsS']));}catch(_0x5ac62b){logger[_0x175b4c(0x1ad)](_0x37b4c8[_0x175b4c(0x149)],_0x5ac62b);}if(_0x37b4c8[_0x175b4c(0x1ba)](!_0x2c5c4b,_0x1e9f60)){try{logger['debug'](_0x37b4c8['vYGHM']),_0xcaef3e[_0x175b4c(0x137)][_0x175b4c(0x139)](path[_0x175b4c(0xeb)](__dirname,'..',_0x37b4c8[_0x175b4c(0xe6)],_0x37b4c8['uezsS']));}catch(_0x39d148){logger[_0x175b4c(0x1ad)]('Puppeteer\x20setup\x20error:\x20'+_0x39d148[_0x175b4c(0x18b)]);}try{const _0x4677cf=require[_0x175b4c(0x165)](_0x37b4c8[_0x175b4c(0xce)]),_0x1ad498=path['dirname'](_0x4677cf)[_0x175b4c(0xdc)](/\\/g,'/'),_0x283b87={};_0x283b87['^puppeteer-core/internal/(.*)']=_0x1ad498+_0x175b4c(0x174),_0xcaef3e['moduleNameMapper']=Object[_0x175b4c(0x191)]({},_0xcaef3e['moduleNameMapper']||{},_0x283b87),logger[_0x175b4c(0x1ad)](_0x175b4c(0x16c)+_0x1ad498);}catch(_0x2c948b){logger[_0x175b4c(0x1ad)]('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0x2c948b[_0x175b4c(0x18b)]);}}_0xcaef3e[_0x175b4c(0x18e)]=_0xcaef3e[_0x175b4c(0x18e)]||[_0x37b4c8[_0x175b4c(0x12b)]],_0x37b4c8[_0x175b4c(0x1a5)](updateTestRerunConfig,_0xcaef3e,_0x2ce5ec);const _0x1ad648=fs[_0x175b4c(0x192)](_0x2ee751),_0x7ed419=helper[_0x175b4c(0xfa)](_0x37b4c8[_0x175b4c(0x159)],_0x37b4c8[_0x175b4c(0x169)]);!_0x7ed419[_0x175b4c(0x12f)]?fs[_0x175b4c(0xd6)](_0xcaef3e[_0x175b4c(0x124)],_0x175b4c(0x15e)+_0x1ad648+'\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20'+_0x2ce5ec[_0x175b4c(0x14d)][_0x175b4c(0x112)][_0x175b4c(0xd3)]+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20'):fs['writeFileSync'](_0xcaef3e[_0x175b4c(0x124)],'\x0a\x20\x20\x20\x20\x20\x20'+_0x1ad648+_0x175b4c(0x145)+_0x2ce5ec[_0x175b4c(0x14d)]['platforms'][_0x175b4c(0xd3)]+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20');logger[_0x175b4c(0x1bb)](_0x175b4c(0x198)+_0x185eae+_0x175b4c(0x194)),fs['writeFileSync'](_0x185eae,_0x175b4c(0x158)+JSON['stringify'](_0xcaef3e)+_0x175b4c(0x193));if(_0x427ae7[_0x175b4c(0x113)]()){logger[_0x175b4c(0x1ad)](_0x37b4c8[_0x175b4c(0xf9)]);const _0x1b8e83=await _0x427ae7['findTestFiles'](_0xcaef3e,_0xf17d9d['slice'](0x1),_0x185eae);logger[_0x175b4c(0x1ad)](_0x175b4c(0x179)+JSON[_0x175b4c(0xe2)](_0x1b8e83)+_0x175b4c(0x123));const _0x3dcd15=await _0x427ae7[_0x175b4c(0x11a)](_0x1b8e83);logger['debug'](_0x175b4c(0x1aa)+JSON['stringify'](_0x3dcd15)),_0x3dcd15&&_0x37b4c8[_0x175b4c(0x1a1)](_0x3dcd15['length'],0x0)&&(process[_0x175b4c(0x1a7)][_0x175b4c(0xfe)]=_0x3dcd15?.['join'](','));}logger[_0x175b4c(0x1bb)](_0x37b4c8[_0x175b4c(0x1c2)]);testhubUtils[_0x175b4c(0x132)]()&&TestDetails[_0x175b4c(0x16d)]();helper[_0x175b4c(0x142)]({},_0xf17d9d),PerformanceTester['end'](PerformanceEvents['SDK_SETUP']);const _0x227f7b=[_0x37b4c8[_0x175b4c(0x187)],_0x37b4c8[_0x175b4c(0x140)],_0x185eae,..._0xf17d9d[_0x175b4c(0x12d)](0x1)];process['env'][_0x175b4c(0x107)]=process[_0x175b4c(0x1a7)]['BROWSERSTACK_FRAMEWORK']||_0x37b4c8[_0x175b4c(0x187)];const _0x45898b=_0x37b4c8[_0x175b4c(0x10b)](spawn,_0x37b4c8[_0x175b4c(0x1c7)],_0x227f7b,{'shell':_0x37b4c8[_0x175b4c(0x1b5)](process[_0x175b4c(0x15a)],_0x37b4c8[_0x175b4c(0x196)]),'stdio':_0x37b4c8[_0x175b4c(0x1af)],'env':Object[_0x175b4c(0x191)]({},process[_0x175b4c(0x1a7)])});_0x45898b['on'](_0x37b4c8[_0x175b4c(0x13f)],async _0x3adbac=>{const _0x45b87e=_0x175b4c;PerformanceTester[_0x45b87e(0x175)](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0xb2dd1b,tcgConfigPath:_0x3475eb}=helper[_0x45b87e(0x118)]();fs[_0x45b87e(0x10c)](_0x3475eb),fs[_0x45b87e(0x117)](_0xb2dd1b);}catch(_0x1eb1e4){logger[_0x45b87e(0x1ad)](_0x37b4c8[_0x45b87e(0x14f)],_0x1eb1e4);}process[_0x45b87e(0xf7)]=_0x3adbac,logger[_0x45b87e(0x1ad)](_0x45b87e(0xdf)+_0x3adbac),logger[_0x45b87e(0x1bb)]('Deleting\x20'+_0x185eae);if(helper['isNotUndefined'](_0x286ad1)&&helper[_0x45b87e(0xd7)](_0x286ad1[_0x45b87e(0x147)])&&fs[_0x45b87e(0x110)](_0x286ad1['abortBuildOnFailure'][_0x45b87e(0x1a4)]))try{const _0xc0ce27={};_0xc0ce27[_0x45b87e(0x195)]=!![],_0xc0ce27[_0x45b87e(0x14c)]=!![],fs[_0x45b87e(0x144)](_0x286ad1[_0x45b87e(0x147)][_0x45b87e(0x1a4)],_0xc0ce27),logger[_0x45b87e(0x1ad)](_0x45b87e(0x15c)+_0x286ad1[_0x45b87e(0x147)][_0x45b87e(0x1a4)]);}catch(_0x481360){logger[_0x45b87e(0x12f)](_0x45b87e(0xfc)+_0x481360);}let _0x129913=null;if(fs[_0x45b87e(0x110)](_0x3a9548)){_0x129913=fs[_0x45b87e(0x192)](_0x3a9548);try{_0x129913=JSON[_0x45b87e(0xf2)](_0x129913);}catch(_0x56a68a){logger[_0x45b87e(0x1ad)](_0x45b87e(0xf3)+_0x3a9548+',\x20'+_0x129913+_0x45b87e(0x1b8)+_0x56a68a);}fs[_0x45b87e(0x10c)](_0x3a9548);}fs['unlinkSync'](_0x185eae),fs[_0x45b87e(0x10c)](_0x48f1ef),_0x129913&&(_0x2ce5ec['errorMessage']=helper[_0x45b87e(0xf8)](_0x129913,_0x37b4c8[_0x45b87e(0x187)],_0x2ce5ec));const _0x2f4eb0=BrowserstackCLI[_0x45b87e(0xe3)]();try{await TestHubHandler[_0x45b87e(0x116)](),await BrowserstackCLI[_0x45b87e(0x120)]()[_0x45b87e(0x116)]();}catch(_0x4317d0){console[_0x45b87e(0x197)](_0x4317d0),_0x37b4c8['bAhmn'](debug,_0x45b87e(0x17d)+util['format'](_0x4317d0));}testOpsHelper['printBuildLink'](),TestDetails[_0x45b87e(0x167)](),await utilities[_0x45b87e(0x171)](_0x2ce5ec,_0x2f4eb0);});}module[a18_0x3c5ac0(0x1b2)]=run;function a18_0x3c9b(){const _0x572939=['BSTACK_USER_JEST_RUNNER','jtTBY','platformCaps','CSgaw','unlinkSync','BROWSERSTACK_CAPABILITIES','readInitialOptions','puppeteer','existsSync','FRAMEWORKS','platforms','isTestOrchestrationEnabled','testEnvironment','oKUmy','stop','rmdirSync','getTCGConfigFilePaths','2302533vYiyrh','reorderTestFiles','findIndex','nXbaY','cwd','puppeteer-core/package.json','Rmhpu','getInstance','failFast','yWIId','\x20test\x20files\x20to\x20run.','runner','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','2024YbCSDp','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','JEST','202059ShdoqN','failureThresholdCount','YBTJT','useW3C','slice','startsWith','error','eOSTd','jest-config','shouldProcessEventForTesthub','zvAKA','jest.setup.js','path','kgRhX','setupFiles','../../helpers/puppeteer-helper','push','Getting\x20your\x20jest\x20configs\x20from\x20package.json','EVENTS','customEnvironment.js','zPjoy','testObservability','tQEWY','qvVJr','360bKQzdg','filterBrowserstackArgs','default','rmSync','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x0a\x20\x20\x20\x20\x20\x20(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{createTestScheduler}\x20=\x20requireModule(\x27@jest/core\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20tempScheduler\x20=\x20await\x20createTestScheduler({reporters:\x20[]},\x20{});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20tempScheduler._dispatcher.constructor;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','getPackageVersion','abortBuildOnFailure','parallels__','glLQS','DgTjc','XeWek','force','config','proxySettings','KfhIq','apply','USER_CONFIG_DETAILS_PATH','QDWZl','NAPva','gwLbD','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','browserStackPercyOptions','testContextOptions','const\x20config=','dnAwt','platform','maxRetries','Deleted\x20fail-fast\x20state\x20folder:\x20','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','\x0a\x20\x20\x20\x20\x20\x20','customCircus.js','maxWorkers','jest','jest-circus/build/runner.js','QOUCb','../../helpers/testhub/utils','resolve','setupTCGAuth','shutdown','jest.config.','AulrG','htxht','kNSOx','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','setup','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','BROWSERSTACK_TEST_OBSERVABILITY_YML','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','finalExecution','initialize','iwKGT','/internal/$1','start','FvXkQ','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','@jest/core/build/ReporterDispatcher.js','Found:\x20','jest_browserstack.config.js','Preserving\x20user\x27s\x20Jest\x20runner:\x20','../../helpers/utilities','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','7084374DKTpUT','skipSessionStatus','cnffQ','__isPlaywrightInstalled','retryTestsOnFailure','--config','child_process','40cFyFfl','../../helpers/test-orchestration/testOrchestrationHandler','Exwfm','accessibility','gdeTR','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','message','capabilities','testEnvironmentOptions','reporters','AniAt','requireModule','assign','readFileSync','\x0amodule.exports\x20=\x20config;','\x20with\x20browserstack\x20jest\x20configs','recursive','iiWRD','log','Creating\x20','@jest/core','13887hpnZaA','true','false','__isPuppeteerInstalled','knVoK','util','788668dFiFJb','TAyrn','inherit','cjs','workingDir','MpQvp','WJhjW','env','isRunning','ijMvR','Reodered\x20Test\x20Files:\x20','getHubUrl','MODULE','debug','jest-runner','bFdTN','jLgcf','../../helpers/testhub/testhubHandler','exports','handleApp','setupFilesAfterEnv','HyJrk','test.setup.js','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','\x20:\x20','6456918PrrztU','kOaOE','info','turboScaleUrl','BROWSERSTACK_TEST_ACCESSIBILITY_YML',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','testRunner','data-hooks.js','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','TBWVT','PdcsE','PACKAGE_TYPE','splice','runInBand','QgCwa','parallelsPerPlatform','isBrowserstackInfra','package.json','zzbtw','jBeSl','../../helpers/logger','IthDA','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','format','length','retries__',',\x20CLI\x20running:\x20','writeFileSync','isNotUndefined','5rvgWMx','../../helpers/test-observability/utils','KBzbv','winstonLogger','replace','XatJN','Cxabs','child\x20process\x20exited\x20with\x20code\x20','eIOhv','json','stringify','isCLIEnabled','jest_browserstack_results.json','accessibilityOptions','OVPBY','isUndefined','../utils/constants','dujkT','KtCuX','join','test_before.setup.js','rPaYm','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','Unable\x20to\x20find\x20jest-circus,\x20','skipSessionName','../../helpers/performance/performance-tester','parse','Error\x20while\x20parsing\x20','./test-observability/helper','prepareCapabilities','Getting\x20your\x20jest\x20configs\x20from\x20','exitCode','getErrorMessageFromResults','HlKTj','resolveModule','bAhmn','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','vLLgH','JEST_TEST_ORDER','close','requireSeleniumWebdriver','../../helpers/performance/constants','mjs','RaYbH','logLevel','17906UmYuKl','test-observability','BROWSERSTACK_FRAMEWORK'];a18_0x3c9b=function(){return _0x572939;};return a18_0x3c9b();}
@@ -1 +1 @@
1
- function a19_0x34ad(){const _0x27e663=['initRequireModule','customJestAdapterInit.js','1679531HNOWvk','default','1485846XMhOTZ','KAspC','path','jest-circus','259031safppw','2775TLRxXJ','3345152OwkarI','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','38940fxAUmF','requireInternalModule','jestAdapterInit','107348JXTrKo','../../../helpers/helper','40pGOUVM','phKUE','function','jest-circus/build/runner.js'];a19_0x34ad=function(){return _0x27e663;};return a19_0x34ad();}const a19_0x552ec0=a19_0x24c9;(function(_0x1036f5,_0x2b02ae){const _0x53d8ef=a19_0x24c9,_0x4e996e=_0x1036f5();while(!![]){try{const _0x46a2c9=parseInt(_0x53d8ef(0x149))/0x1+parseInt(_0x53d8ef(0x150))/0x2+-parseInt(_0x53d8ef(0x14a))/0x3+parseInt(_0x53d8ef(0x152))/0x4*(-parseInt(_0x53d8ef(0x14d))/0x5)+-parseInt(_0x53d8ef(0x145))/0x6+-parseInt(_0x53d8ef(0x143))/0x7+parseInt(_0x53d8ef(0x14b))/0x8;if(_0x46a2c9===_0x2b02ae)break;else _0x4e996e['push'](_0x4e996e['shift']());}catch(_0x5efe8c){_0x4e996e['push'](_0x4e996e['shift']());}}}(a19_0x34ad,0x28276));const path=require(a19_0x552ec0(0x147)),{requireModule}=require(a19_0x552ec0(0x151));let initJestAdapter;try{initJestAdapter=requireModule(a19_0x552ec0(0x14c),a19_0x552ec0(0x148));}catch{initJestAdapter=requireModule(a19_0x552ec0(0x155),a19_0x552ec0(0x148));}function a19_0x24c9(_0x9653da,_0x1057cb){const _0x34ad96=a19_0x34ad();return a19_0x24c9=function(_0x24c95a,_0x1bf437){_0x24c95a=_0x24c95a-0x142;let _0x1f91ed=_0x34ad96[_0x24c95a];return _0x1f91ed;},a19_0x24c9(_0x9653da,_0x1057cb);}initJestAdapter=typeof initJestAdapter===a19_0x552ec0(0x154)?initJestAdapter:initJestAdapter[a19_0x552ec0(0x144)];const FRAMEWORK_INITIALIZER=path['join'](__dirname,a19_0x552ec0(0x142));module['exports']=(..._0x4a549e)=>{const _0x3366c1=a19_0x552ec0,_0xf1e45e={'KAspC':_0x3366c1(0x14f),'phKUE':function(_0x24846f,_0x4ba1b4){return _0x24846f===_0x4ba1b4;},'zYNgx':function(_0x2c75da,..._0x4966d7){return _0x2c75da(..._0x4966d7);}};return _0x4a549e[0x3][_0x3366c1(0x156)]=_0x4a549e[0x3][_0x3366c1(0x14e)],_0x4a549e[0x3][_0x3366c1(0x14e)]=(..._0x36758d)=>{const _0x536321=_0x3366c1;if(_0x36758d[0x0]&&_0x36758d[0x0]['includes'](_0xf1e45e[_0x536321(0x146)])&&_0xf1e45e[_0x536321(0x153)](_0x36758d[0x1],undefined))return _0x4a549e[0x3][_0x536321(0x156)](FRAMEWORK_INITIALIZER);return _0x4a549e[0x3][_0x536321(0x156)](..._0x36758d);},_0xf1e45e['zYNgx'](initJestAdapter,..._0x4a549e);};
1
+ function a19_0x5791(_0x4edad8,_0x4759d6){const _0x10e289=a19_0x10e2();return a19_0x5791=function(_0x5791a5,_0x44ddee){_0x5791a5=_0x5791a5-0x16a;let _0x19a46b=_0x10e289[_0x5791a5];return _0x19a46b;},a19_0x5791(_0x4edad8,_0x4759d6);}const a19_0x404bca=a19_0x5791;(function(_0x12c0e3,_0x392639){const _0x1f9146=a19_0x5791,_0x1ec8a2=_0x12c0e3();while(!![]){try{const _0xb59958=parseInt(_0x1f9146(0x17f))/0x1+parseInt(_0x1f9146(0x17b))/0x2+-parseInt(_0x1f9146(0x172))/0x3*(-parseInt(_0x1f9146(0x175))/0x4)+parseInt(_0x1f9146(0x176))/0x5*(parseInt(_0x1f9146(0x16c))/0x6)+parseInt(_0x1f9146(0x16f))/0x7*(-parseInt(_0x1f9146(0x183))/0x8)+parseInt(_0x1f9146(0x171))/0x9+-parseInt(_0x1f9146(0x179))/0xa*(parseInt(_0x1f9146(0x17a))/0xb);if(_0xb59958===_0x392639)break;else _0x1ec8a2['push'](_0x1ec8a2['shift']());}catch(_0xfe2d46){_0x1ec8a2['push'](_0x1ec8a2['shift']());}}}(a19_0x10e2,0xc4582));const path=require(a19_0x404bca(0x17e)),{requireModule}=require(a19_0x404bca(0x180));let initJestAdapter;try{initJestAdapter=requireModule(a19_0x404bca(0x177),a19_0x404bca(0x16d));}catch{initJestAdapter=requireModule(a19_0x404bca(0x178),a19_0x404bca(0x16d));}initJestAdapter=typeof initJestAdapter===a19_0x404bca(0x181)?initJestAdapter:initJestAdapter[a19_0x404bca(0x17c)];function a19_0x10e2(){const _0x4a1d7a=['customJestAdapterInit.js','initRequireModule','exports','30lCkJaw','jest-circus','join','469HjCfib','includes','11541465ShoGRm','168tkJVjc','requireInternalModule','jestAdapterInit','113512xkTMFa','685585pLDRNJ','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','jest-circus/build/runner.js','10pJmUeD','36664793PnrVts','65648Rmxypo','default','ZMGNh','path','921354LFhNFZ','../../../helpers/helper','function','hEnIe','44648tUXqAf'];a19_0x10e2=function(){return _0x4a1d7a;};return a19_0x10e2();}const FRAMEWORK_INITIALIZER=path[a19_0x404bca(0x16e)](__dirname,a19_0x404bca(0x184));module[a19_0x404bca(0x16b)]=(..._0x462a32)=>{const _0x18a5b1=a19_0x404bca,_0x12c7e5={'hEnIe':_0x18a5b1(0x174),'ZMGNh':function(_0x3c5ae6,_0x5272bb){return _0x3c5ae6===_0x5272bb;},'TdAEc':function(_0x43b65f,..._0x19afbb){return _0x43b65f(..._0x19afbb);}};return _0x462a32[0x3][_0x18a5b1(0x16a)]=_0x462a32[0x3][_0x18a5b1(0x173)],_0x462a32[0x3]['requireInternalModule']=(..._0x54f502)=>{const _0x265ace=_0x18a5b1;if(_0x54f502[0x0]&&_0x54f502[0x0][_0x265ace(0x170)](_0x12c7e5[_0x265ace(0x182)])&&_0x12c7e5[_0x265ace(0x17d)](_0x54f502[0x1],undefined))return _0x462a32[0x3][_0x265ace(0x16a)](FRAMEWORK_INITIALIZER);return _0x462a32[0x3][_0x265ace(0x16a)](..._0x54f502);},_0x12c7e5['TdAEc'](initJestAdapter,..._0x462a32);};
@@ -1 +1 @@
1
- const a20_0x39acb2=a20_0x279d;function a20_0x5f1f(){const _0x195700=['shouldFailFast','getInstance','projectConfig','default','FRAMEWORKS','retries__','requireModule','buildName','GrarG','LbPfx','tiRxO','voVdx','alVNT','framework','FMotE','__drivers','test','failFast','Error\x20in\x20fail-fast\x20test_done\x20handler:','Builder','BSTACK_DELTA','BSTACK_JEST_TEST_ENV','name','onTestDone','6nPzASf','hlIRU','sCyqG','testContext','bstack:options','Vzahk','jfFeF','isNotUndefined','bvEfx','916422jiCsel','isArray','configuration','MhqQC','WdMKJ','XVHEX','kjGWt','quit','LtuIE','hDIff','handleTestEvent','getTestEnvironment','test_start','resolveTestEnvironment','skipSessionName','TjXwb','capabilities','JEST','jest-environment-node','wfmjG','7SaQXTk','__webdriver','global','../test-observability/obsReporter','__jestRetries','5450285xJGCLF','winstonLogger','capability','crGpU','browserstackPercyBestPlatform','jest-config','__platformCaps','join','browserstackPlatformIndex','percy','timeout__','1348128khRiNg','jestConfig','rjCGx','__skipSessionStatus','11671024KqmfNc','browserstackAgentV2','__timeout','1078578IDTOPN','../../../helpers/helper','failFastOptions','\x20>\x20','projectName','../../../helpers/test-observability/utils','node','mode','percyCaptureMode','shouldProcessEventForTesthub','../../../helpers/testhub/utils','2410GKSfPW','teardown','driver','message','__esModule','platformCaps','testEnvironmentOptions','failFastActive','requireSeleniumWebdriver','browserStackPercyOptions','debug','wwYiN','registerListeners','isBrowserstackInfra','cleanup','env','2vxwbRG','setup','../../../index','nestedKeyValue','test_done','auNBW','__driversArray','31757sELMlQ','isTrue','NSSRh','13972185BfOlrQ','../../../helpers/test-observability/requestQueueHandler','skipSessionStatus','skip'];a20_0x5f1f=function(){return _0x195700;};return a20_0x5f1f();}(function(_0x9bad79,_0x390404){const _0xb1998b=a20_0x279d,_0x2b227e=_0x9bad79();while(!![]){try{const _0x12b628=parseInt(_0xb1998b(0x1af))/0x1*(-parseInt(_0xb1998b(0x1ca))/0x2)+-parseInt(_0xb1998b(0x184))/0x3+parseInt(_0xb1998b(0x1a8))/0x4+parseInt(_0xb1998b(0x19d))/0x5*(parseInt(_0xb1998b(0x17b))/0x6)+parseInt(_0xb1998b(0x198))/0x7*(-parseInt(_0xb1998b(0x1ac))/0x8)+parseInt(_0xb1998b(0x1d4))/0x9+parseInt(_0xb1998b(0x1ba))/0xa*(parseInt(_0xb1998b(0x1d1))/0xb);if(_0x12b628===_0x390404)break;else _0x2b227e['push'](_0x2b227e['shift']());}catch(_0x284ed8){_0x2b227e['push'](_0x2b227e['shift']());}}}(a20_0x5f1f,0xcb387));const helper=require(a20_0x39acb2(0x1b0)),constants=require('../../utils/constants'),{isTestObservabilitySession}=require(a20_0x39acb2(0x1b4)),RequestQueueHandler=require(a20_0x39acb2(0x1d5)),ObservabilityReporter=require(a20_0x39acb2(0x19b)),testhubUtils=require(a20_0x39acb2(0x1b9)),logger=require('../../../helpers/logger')[a20_0x39acb2(0x19e)],getTestEnvironment=((()=>{const _0x55209c=a20_0x39acb2,_0x5997da={};_0x5997da['jfFeF']='jest-resolve',_0x5997da[_0x55209c(0x1c5)]=_0x55209c(0x1a2);const _0x5d28f2=_0x5997da;try{const _0x4980f2=helper[_0x55209c(0x169)](_0x5d28f2[_0x55209c(0x181)]);if(_0x4980f2[_0x55209c(0x191)])return _0x4980f2[_0x55209c(0x191)];const _0x54745d=helper[_0x55209c(0x169)](_0x5d28f2[_0x55209c(0x1c5)]);if(_0x54745d[_0x55209c(0x18f)])return _0x54745d[_0x55209c(0x18f)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x2c4244=a20_0x39acb2,_0x5c6ca8={'QwnVV':function(_0x3ae4e0,_0x23d6e6){return _0x3ae4e0(_0x23d6e6);},'XVHEX':_0x2c4244(0x1b5),'qhZLR':function(_0x3f0044,_0x500446){return _0x3f0044(_0x500446);},'rjCGx':_0x2c4244(0x196)},_0x50cfdf=_0x5c6ca8['QwnVV'](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process[_0x2c4244(0x1c9)][_0x2c4244(0x178)]||_0x5c6ca8[_0x2c4244(0x189)]});if(!_0x50cfdf)return _0x5c6ca8['qhZLR'](_interopRequireDefault,helper[_0x2c4244(0x169)](_0x5c6ca8[_0x2c4244(0x1aa)]));return _0x5c6ca8['qhZLR'](_interopRequireDefault,helper[_0x2c4244(0x169)](_0x50cfdf));})()),_seleniumWebdriver2=((()=>{const _0x58dbaa=a20_0x39acb2,_0x3e5046={'vRFeJ':function(_0x15eb02,_0x570ed8){return _0x15eb02(_0x570ed8);}};try{const _0x22a0c1=helper[_0x58dbaa(0x1c2)]();return helper['modifyCommand'](),_0x3e5046['vRFeJ'](_interopRequireDefault,_0x22a0c1);}catch{return null;}})());function a20_0x279d(_0x123f6a,_0x50fa7f){const _0x5f1f0a=a20_0x5f1f();return a20_0x279d=function(_0x279dfc,_0x28077d){_0x279dfc=_0x279dfc-0x161;let _0x289e97=_0x5f1f0a[_0x279dfc];return _0x289e97;},a20_0x279d(_0x123f6a,_0x50fa7f);}function _interopRequireDefault(_0x20e21b){const _0x4b2896=a20_0x39acb2;return _0x20e21b&&_0x20e21b[_0x4b2896(0x1be)]?_0x20e21b:{'default':_0x20e21b};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2['default']['Builder']:null;class CustomEnvironment extends _jestUserEnvironment['default']{constructor(_0x555b7d){const _0x16d382=a20_0x39acb2,_0x4e2a52={'bvEfx':_0x16d382(0x18b),'kjGWt':function(_0x572bbd,_0x5be4e6){return _0x572bbd+_0x5be4e6;},'hlIRU':_0x16d382(0x17f),'LbPfx':function(_0x15acbc,_0x5e2314){return _0x15acbc(_0x5e2314);},'tiRxO':'../../../helpers/test-orchestration/failfastManager','NOghk':'7|6|3|5|4|1|2|0','sCyqG':'testEnvironmentOptions','alVNT':_0x16d382(0x1c3),'utSkk':_0x16d382(0x1a1),'MhqQC':'percyCaptureMode','GrarG':_0x16d382(0x1a6),'NSSRh':function(_0x35aa65,_0x45b7be){return _0x35aa65(_0x45b7be);},'TjXwb':_0x16d382(0x1cc)};super(_0x555b7d),this[_0x16d382(0x19a)][_0x16d382(0x1ae)]=0x0,this[_0x16d382(0x186)]={};!_0x555b7d[_0x16d382(0x1c0)]&&(_0x555b7d[_0x16d382(0x1c0)]={});if(helper[_0x16d382(0x1c7)]()){_0x555b7d['testEnvironmentOptions']=_0x555b7d[_0x16d382(0x165)]?_0x555b7d[_0x16d382(0x165)][_0x16d382(0x1c0)]:_0x555b7d[_0x16d382(0x1c0)];_seleniumWebdriver2&&(this['builder']=new _seleniumWebdriver2[(_0x16d382(0x166))][(_0x16d382(0x176))]());this[_0x16d382(0x19f)]=_0x555b7d[_0x16d382(0x165)]?_0x555b7d['projectConfig'][_0x16d382(0x19f)]:_0x555b7d[_0x16d382(0x19f)],this[_0x16d382(0x19a)][_0x16d382(0x1ae)]=_0x4e2a52[_0x16d382(0x18a)](_0x555b7d[_0x16d382(0x1c0)][_0x16d382(0x1a7)]||0x1388,constants[_0x16d382(0x177)]),this['failFastOptions']=_0x555b7d[_0x16d382(0x1c0)][_0x16d382(0x174)];if(this[_0x16d382(0x1b1)]){const _0x10fb67=this[_0x16d382(0x19f)][_0x4e2a52[_0x16d382(0x17c)]]?.[_0x16d382(0x16a)]||'',_0x5eb3d4=this[_0x16d382(0x19f)][_0x4e2a52[_0x16d382(0x17c)]]?.[_0x16d382(0x1b3)]||'';this[_0x16d382(0x174)]=new(_0x4e2a52[_0x16d382(0x16c)](require,_0x4e2a52[_0x16d382(0x16d)]))(this[_0x16d382(0x1b1)],_0x10fb67,_0x5eb3d4),this[_0x16d382(0x19a)][_0x16d382(0x1c1)]=![];}helper[_0x16d382(0x182)](_0x555b7d[_0x16d382(0x1c0)][_0x16d382(0x168)])&&(this[_0x16d382(0x19a)][_0x16d382(0x19c)]=_0x555b7d['testEnvironmentOptions'][_0x16d382(0x168)]);}if(testhubUtils[_0x16d382(0x1b8)]()){const _0x3e7928=new ObservabilityReporter();_0x3e7928[_0x16d382(0x1c6)]();}this[_0x16d382(0x19a)]['browserStackGlobals']={},this[_0x16d382(0x186)]=_0x555b7d[_0x16d382(0x1c0)],this[_0x16d382(0x186)][_0x16d382(0x170)]=constants[_0x16d382(0x167)][_0x16d382(0x195)],this['global'][_0x16d382(0x1a5)]=(_0x555b7d[_0x16d382(0x165)]?_0x555b7d['projectConfig'][_0x16d382(0x1a5)]:_0x555b7d[_0x16d382(0x1a5)])||0x0,this[_0x16d382(0x19a)][_0x16d382(0x1a3)]=this['configuration']&&this[_0x16d382(0x186)][_0x16d382(0x1bf)]&&Array['isArray'](this[_0x16d382(0x186)][_0x16d382(0x1bf)])&&this['configuration'][_0x16d382(0x1bf)][this[_0x16d382(0x19a)][_0x16d382(0x1a5)]]||{};const _0x2ce15d=this[_0x16d382(0x19a)]['browserstackPlatformIndex'],_0x1bdf0f={...this['configuration'],'capability':this[_0x16d382(0x186)][_0x16d382(0x194)]&&Array['isArray'](this['configuration'][_0x16d382(0x194)])&&this[_0x16d382(0x186)][_0x16d382(0x194)][_0x2ce15d]||{},'platformCaps':this[_0x16d382(0x186)][_0x16d382(0x1bf)]&&Array[_0x16d382(0x185)](this[_0x16d382(0x186)][_0x16d382(0x1bf)])&&this[_0x16d382(0x186)][_0x16d382(0x1bf)][_0x2ce15d]||{}};delete _0x1bdf0f[_0x16d382(0x194)],this[_0x16d382(0x19a)][_0x16d382(0x1a9)]=_0x1bdf0f;if(_seleniumWebdriver2){const _0x539861=_0x4e2a52['NOghk']['split']('|');let _0x4d2676=0x0;while(!![]){switch(_0x539861[_0x4d2676++]){case'0':this[_0x16d382(0x19a)][_0x16d382(0x1c8)]=async()=>{const _0x4f7018=_0x16d382;await this[_0x4f7018(0x19a)][_0x4f7018(0x1bc)]['quit'](_0x4e2a52[_0x4f7018(0x183)]);};continue;case'1':helper[_0x16d382(0x1d2)](this[_0x16d382(0x186)][_0x16d382(0x192)])?this[_0x16d382(0x19a)]['sessionNameProvided']=!![]:this[_0x16d382(0x19a)]['sessionNameProvided']=![];continue;case'2':this['global'][_0x16d382(0x1ab)]=helper[_0x16d382(0x1d2)](this[_0x16d382(0x186)][_0x16d382(0x161)]);continue;case'3':this[_0x16d382(0x19a)][_0x16d382(0x1a1)]=helper[_0x16d382(0x1cd)](_0x555b7d,[_0x4e2a52[_0x16d382(0x17d)],_0x4e2a52[_0x16d382(0x16f)],_0x4e2a52['utSkk']]);continue;case'4':this['global'][_0x16d382(0x1b7)]=helper[_0x16d382(0x1cd)](_0x555b7d,[_0x4e2a52[_0x16d382(0x17d)],_0x4e2a52['alVNT'],_0x4e2a52[_0x16d382(0x187)]]);continue;case'5':this[_0x16d382(0x19a)][_0x16d382(0x1a6)]=helper[_0x16d382(0x1cd)](_0x555b7d,[_0x4e2a52[_0x16d382(0x17d)],_0x4e2a52[_0x16d382(0x16f)],_0x4e2a52[_0x16d382(0x16b)]]);continue;case'6':this['global']['__webdriver']=_0x4e2a52[_0x16d382(0x1d3)](require,_0x4e2a52[_0x16d382(0x193)])[_0x16d382(0x1ad)]({...this['configuration'],'capability':this[_0x16d382(0x19f)]||{}},this,testhubUtils[_0x16d382(0x1b8)]());continue;case'7':this[_0x16d382(0x19a)][_0x16d382(0x172)]=[];continue;}break;}}}async['teardown'](){const _0x374cc4=a20_0x39acb2;_seleniumWebdriver2&&(await helper['cleanupDrivers'](this[_0x374cc4(0x19a)][_0x374cc4(0x1d0)]),this[_0x374cc4(0x19a)][_0x374cc4(0x199)][_0x374cc4(0x176)]=originalBuilder),await RequestQueueHandler[_0x374cc4(0x164)]()['shutdown']();}async[a20_0x39acb2(0x1cb)](){}async[a20_0x39acb2(0x18e)](_0x7c6ef0,_0x3ccd15){const _0x350707=a20_0x39acb2,_0x4fddd9={};_0x4fddd9[_0x350707(0x16e)]=function(_0x20c787,_0x4f2ba1){return _0x20c787===_0x4f2ba1;},_0x4fddd9[_0x350707(0x1cf)]=_0x350707(0x190),_0x4fddd9[_0x350707(0x171)]=_0x350707(0x162),_0x4fddd9[_0x350707(0x188)]=_0x350707(0x1ce),_0x4fddd9[_0x350707(0x18c)]=_0x350707(0x1b2),_0x4fddd9[_0x350707(0x197)]=function(_0x2ef653,_0x4cb6bc){return _0x2ef653===_0x4cb6bc;},_0x4fddd9['Vzahk']=function(_0xacfa1c,_0x29bc13){return _0xacfa1c===_0x29bc13;},_0x4fddd9['hDIff']=_0x350707(0x175),_0x4fddd9[_0x350707(0x1a0)]=_0x350707(0x1bb);const _0x55dedb=_0x4fddd9,{name:_0x18d7ce}=_0x7c6ef0;if(_0x55dedb[_0x350707(0x16e)](_0x18d7ce,_0x55dedb[_0x350707(0x1cf)])){this[_0x350707(0x19a)][_0x350707(0x17e)]=_0x7c6ef0[_0x350707(0x173)];if(_0x55dedb[_0x350707(0x16e)](this[_0x350707(0x19a)][_0x350707(0x1c1)],!![])){const _0x32bbbe=_0x7c6ef0[_0x350707(0x173)][_0x350707(0x179)];logger['info']('Fail-fast\x20is\x20active,\x20skipping\x20test::\x20'+_0x32bbbe),_0x7c6ef0[_0x350707(0x173)][_0x350707(0x1b6)]=_0x55dedb[_0x350707(0x171)];}}if(this[_0x350707(0x174)]&&_0x55dedb[_0x350707(0x16e)](_0x18d7ce,_0x55dedb['WdMKJ']))try{const _0x43603b=_0x7c6ef0[_0x350707(0x173)]['testPath'][_0x350707(0x1a4)](_0x55dedb[_0x350707(0x18c)]),_0x1dbfdf=_0x7c6ef0[_0x350707(0x173)]['errors'];await this[_0x350707(0x174)][_0x350707(0x17a)](_0x43603b,_0x1dbfdf);const _0x5deb7a=await this['failFast'][_0x350707(0x163)]();_0x55dedb[_0x350707(0x197)](this[_0x350707(0x19a)]['failFastActive'],![])&&_0x55dedb[_0x350707(0x180)](_0x5deb7a,!![])&&(this[_0x350707(0x19a)][_0x350707(0x1c1)]=!![]);}catch(_0x19d747){logger[_0x350707(0x1c4)](_0x55dedb[_0x350707(0x18d)],_0x19d747[_0x350707(0x1bd)]);}_0x55dedb[_0x350707(0x197)](_0x18d7ce,_0x55dedb['crGpU'])&&(this['failFast']&&this[_0x350707(0x174)][_0x350707(0x1c8)]());}}module['exports']=CustomEnvironment;
1
+ const a20_0x4d3d5a=a20_0x2e04;(function(_0x3ef1c5,_0x385f38){const _0xb7959a=a20_0x2e04,_0x3d6ada=_0x3ef1c5();while(!![]){try{const _0x3033c2=-parseInt(_0xb7959a(0x1dc))/0x1+-parseInt(_0xb7959a(0x21a))/0x2+parseInt(_0xb7959a(0x215))/0x3+parseInt(_0xb7959a(0x1f2))/0x4*(parseInt(_0xb7959a(0x232))/0x5)+-parseInt(_0xb7959a(0x1e9))/0x6*(parseInt(_0xb7959a(0x1f6))/0x7)+parseInt(_0xb7959a(0x210))/0x8+-parseInt(_0xb7959a(0x224))/0x9;if(_0x3033c2===_0x385f38)break;else _0x3d6ada['push'](_0x3d6ada['shift']());}catch(_0x2c8476){_0x3d6ada['push'](_0x3d6ada['shift']());}}}(a20_0x26f4,0x8105b));const helper=require(a20_0x4d3d5a(0x227)),constants=require('../../utils/constants'),{isTestObservabilitySession}=require(a20_0x4d3d5a(0x1fd)),RequestQueueHandler=require(a20_0x4d3d5a(0x20f)),ObservabilityReporter=require('../test-observability/obsReporter'),testhubUtils=require('../../../helpers/testhub/utils'),logger=require(a20_0x4d3d5a(0x20c))[a20_0x4d3d5a(0x1f9)],getTestEnvironment=((()=>{const _0x207a56=a20_0x4d3d5a,_0x122878={};_0x122878[_0x207a56(0x21e)]=_0x207a56(0x225),_0x122878['DQwxu']=_0x207a56(0x22c);const _0x3bb68a=_0x122878;try{const _0x3b3994=helper[_0x207a56(0x235)](_0x3bb68a['iogLi']);if(_0x3b3994[_0x207a56(0x1e3)])return _0x3b3994[_0x207a56(0x1e3)];const _0x51175f=helper['requireModule'](_0x3bb68a[_0x207a56(0x236)]);if(_0x51175f[_0x207a56(0x20d)])return _0x51175f[_0x207a56(0x20d)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x46b2b2=a20_0x4d3d5a,_0x3dd4f8={'kHuWP':function(_0x1d35ef,_0x2a03a8){return _0x1d35ef(_0x2a03a8);},'ALYfO':'node','PhyvD':_0x46b2b2(0x223)},_0xf343bd=_0x3dd4f8['kHuWP'](getTestEnvironment,{'rootDir':process[_0x46b2b2(0x1fa)](),'testEnvironment':process[_0x46b2b2(0x204)][_0x46b2b2(0x249)]||_0x3dd4f8[_0x46b2b2(0x23e)]});if(!_0xf343bd)return _0x3dd4f8['kHuWP'](_interopRequireDefault,helper[_0x46b2b2(0x235)](_0x3dd4f8['PhyvD']));return _0x3dd4f8['kHuWP'](_interopRequireDefault,helper['requireModule'](_0xf343bd));})()),_seleniumWebdriver2=((()=>{const _0x3ab2ba=a20_0x4d3d5a,_0x1d2d7c={'JRvZI':function(_0x3eb158,_0x149928){return _0x3eb158(_0x149928);}};try{const _0x58ffde=helper[_0x3ab2ba(0x1e6)]();return helper[_0x3ab2ba(0x226)](),_0x1d2d7c[_0x3ab2ba(0x1ed)](_interopRequireDefault,_0x58ffde);}catch{return null;}})());function _interopRequireDefault(_0x196b2c){const _0x375043=a20_0x4d3d5a;return _0x196b2c&&_0x196b2c[_0x375043(0x247)]?_0x196b2c:{'default':_0x196b2c};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a20_0x4d3d5a(0x206)][a20_0x4d3d5a(0x216)]:null;function a20_0x2e04(_0x59678c,_0x30475f){const _0x26f493=a20_0x26f4();return a20_0x2e04=function(_0x2e0458,_0x1bcd25){_0x2e0458=_0x2e0458-0x1dc;let _0x26441b=_0x26f493[_0x2e0458];return _0x26441b;},a20_0x2e04(_0x59678c,_0x30475f);}function a20_0x26f4(){const _0x1d46c5=['percy','registerListeners','test_start','handleTestEvent','failFastActive','env','errors','default','setup','browserstackPercyBestPlatform','global','TKQft','bstack:options','../../../helpers/logger','getTestEnvironment','message','../../../helpers/test-observability/requestQueueHandler','5796880shsCfi','JUEPN','qdEoF','test','percyCaptureMode','1583178IpbyNH','Builder','SdubB','shouldFailFast','cleanup','594944apmnQK','mode','cleanupDrivers','timeout__','iogLi','configuration','testEnvironmentOptions','aFzhg','browserStackPercyOptions','jest-environment-node','2357820XSpdWm','jest-resolve','modifyCommand','../../../helpers/helper','framework','quit','testPath','teardown','jest-config','join','skipSessionName','__jestRetries','nFSWJ','__webdriver','5036025uDzbuJ','FRAMEWORKS','failFast','requireModule','DQwxu','../../../index','isBrowserstackInfra','\x20>\x20','driver','kzsac','WIITl','sJZNl','ALYfO','YncYX','__timeout','gELUE','test_done','info','sessionNameProvided','projectConfig','browserStackGlobals','__esModule','isTrue','BSTACK_JEST_TEST_ENV','isNotUndefined','shutdown','ueLYY','failFastOptions','122993yafQHd','__platformCaps','shouldProcessEventForTesthub','XPmIo','browserstackPlatformIndex','JEST','builder','resolveTestEnvironment','testContext','exports','requireSeleniumWebdriver','capabilities','QoceV','6nlQgyk','retries__','__skipSessionStatus','buildName','JRvZI','nestedKeyValue','projectName','RbuDo','capability','4HiBBWy','isArray','wQWdF','debug','7340347zgWPke','split','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','winstonLogger','cwd','name','platformCaps','../../../helpers/test-observability/utils','getInstance'];a20_0x26f4=function(){return _0x1d46c5;};return a20_0x26f4();}class CustomEnvironment extends _jestUserEnvironment[a20_0x4d3d5a(0x206)]{constructor(_0x620cc0){const _0x52d6f3=a20_0x4d3d5a,_0x23e4cd={'kzsac':_0x52d6f3(0x229),'nFSWJ':function(_0x16888c,_0x5eaecf){return _0x16888c+_0x5eaecf;},'wQWdF':_0x52d6f3(0x20b),'SdubB':function(_0xb63460,_0x52002d){return _0xb63460(_0x52002d);},'yopxm':'../../../helpers/test-orchestration/failfastManager','XPmIo':'5|1|0|3|7|6|2|4','sJZNl':_0x52d6f3(0x220),'QoceV':_0x52d6f3(0x222),'aFzhg':'browserstackPercyBestPlatform','gELUE':function(_0x55aa61,_0x88e9eb){return _0x55aa61(_0x88e9eb);},'wGQgV':_0x52d6f3(0x237),'SRwrl':_0x52d6f3(0x1ff),'KKyNp':'percyCaptureMode'};super(_0x620cc0),this['global'][_0x52d6f3(0x240)]=0x0,this[_0x52d6f3(0x21f)]={};!_0x620cc0[_0x52d6f3(0x220)]&&(_0x620cc0[_0x52d6f3(0x220)]={});if(helper[_0x52d6f3(0x238)]()){_0x620cc0[_0x52d6f3(0x220)]=_0x620cc0[_0x52d6f3(0x245)]?_0x620cc0[_0x52d6f3(0x245)][_0x52d6f3(0x220)]:_0x620cc0[_0x52d6f3(0x220)];_seleniumWebdriver2&&(this[_0x52d6f3(0x1e2)]=new _seleniumWebdriver2[(_0x52d6f3(0x206))][(_0x52d6f3(0x216))]());this[_0x52d6f3(0x1f1)]=_0x620cc0[_0x52d6f3(0x245)]?_0x620cc0[_0x52d6f3(0x245)][_0x52d6f3(0x1f1)]:_0x620cc0[_0x52d6f3(0x1f1)],this[_0x52d6f3(0x209)][_0x52d6f3(0x240)]=_0x23e4cd[_0x52d6f3(0x230)](_0x620cc0['testEnvironmentOptions'][_0x52d6f3(0x21d)]||0x1388,constants['BSTACK_DELTA']),this[_0x52d6f3(0x24d)]=_0x620cc0['testEnvironmentOptions'][_0x52d6f3(0x234)];if(this['failFastOptions']){const _0x3f46e3=this[_0x52d6f3(0x1f1)][_0x23e4cd[_0x52d6f3(0x1f4)]]?.[_0x52d6f3(0x1ec)]||'',_0x50f313=this[_0x52d6f3(0x1f1)][_0x23e4cd[_0x52d6f3(0x1f4)]]?.[_0x52d6f3(0x1ef)]||'';this[_0x52d6f3(0x234)]=new(_0x23e4cd[_0x52d6f3(0x217)](require,_0x23e4cd['yopxm']))(this[_0x52d6f3(0x24d)],_0x3f46e3,_0x50f313),this[_0x52d6f3(0x209)][_0x52d6f3(0x203)]=![];}helper[_0x52d6f3(0x24a)](_0x620cc0['testEnvironmentOptions'][_0x52d6f3(0x1ea)])&&(this[_0x52d6f3(0x209)][_0x52d6f3(0x22f)]=_0x620cc0[_0x52d6f3(0x220)]['retries__']);}if(testhubUtils['shouldProcessEventForTesthub']()){const _0x4c5109=new ObservabilityReporter();_0x4c5109[_0x52d6f3(0x200)]();}this['global'][_0x52d6f3(0x246)]={},this[_0x52d6f3(0x21f)]=_0x620cc0[_0x52d6f3(0x220)],this[_0x52d6f3(0x21f)][_0x52d6f3(0x228)]=constants[_0x52d6f3(0x233)][_0x52d6f3(0x1e1)],this['global'][_0x52d6f3(0x1e0)]=(_0x620cc0['projectConfig']?_0x620cc0[_0x52d6f3(0x245)][_0x52d6f3(0x1e0)]:_0x620cc0[_0x52d6f3(0x1e0)])||0x0,this[_0x52d6f3(0x209)][_0x52d6f3(0x1dd)]=this[_0x52d6f3(0x21f)]&&this[_0x52d6f3(0x21f)][_0x52d6f3(0x1fc)]&&Array[_0x52d6f3(0x1f3)](this[_0x52d6f3(0x21f)][_0x52d6f3(0x1fc)])&&this[_0x52d6f3(0x21f)][_0x52d6f3(0x1fc)][this[_0x52d6f3(0x209)][_0x52d6f3(0x1e0)]]||{};const _0x119bc=this[_0x52d6f3(0x209)][_0x52d6f3(0x1e0)],_0x4a4a30={...this[_0x52d6f3(0x21f)],'capability':this[_0x52d6f3(0x21f)][_0x52d6f3(0x1e7)]&&Array['isArray'](this[_0x52d6f3(0x21f)][_0x52d6f3(0x1e7)])&&this[_0x52d6f3(0x21f)][_0x52d6f3(0x1e7)][_0x119bc]||{},'platformCaps':this[_0x52d6f3(0x21f)][_0x52d6f3(0x1fc)]&&Array[_0x52d6f3(0x1f3)](this[_0x52d6f3(0x21f)][_0x52d6f3(0x1fc)])&&this[_0x52d6f3(0x21f)][_0x52d6f3(0x1fc)][_0x119bc]||{}};delete _0x4a4a30['capabilities'],this[_0x52d6f3(0x209)]['jestConfig']=_0x4a4a30;if(_seleniumWebdriver2){const _0x4027b4=_0x23e4cd[_0x52d6f3(0x1df)][_0x52d6f3(0x1f7)]('|');let _0x5f5d65=0x0;while(!![]){switch(_0x4027b4[_0x5f5d65++]){case'0':this[_0x52d6f3(0x209)][_0x52d6f3(0x208)]=helper['nestedKeyValue'](_0x620cc0,[_0x23e4cd[_0x52d6f3(0x23d)],_0x23e4cd[_0x52d6f3(0x1e8)],_0x23e4cd[_0x52d6f3(0x221)]]);continue;case'1':this['global'][_0x52d6f3(0x231)]=_0x23e4cd[_0x52d6f3(0x241)](require,_0x23e4cd['wGQgV'])['browserstackAgentV2']({...this['configuration'],'capability':this[_0x52d6f3(0x1f1)]||{}},this,testhubUtils[_0x52d6f3(0x1de)]());continue;case'2':this[_0x52d6f3(0x209)][_0x52d6f3(0x1eb)]=helper[_0x52d6f3(0x248)](this[_0x52d6f3(0x21f)]['skipSessionStatus']);continue;case'3':this[_0x52d6f3(0x209)]['percy']=helper[_0x52d6f3(0x1ee)](_0x620cc0,[_0x23e4cd['sJZNl'],_0x23e4cd['QoceV'],_0x23e4cd['SRwrl']]);continue;case'4':this[_0x52d6f3(0x209)][_0x52d6f3(0x219)]=async()=>{const _0x43d31c=_0x52d6f3;await this[_0x43d31c(0x209)][_0x43d31c(0x23a)]['quit'](_0x23e4cd[_0x43d31c(0x23b)]);};continue;case'5':this[_0x52d6f3(0x209)]['__drivers']=[];continue;case'6':helper[_0x52d6f3(0x248)](this[_0x52d6f3(0x21f)][_0x52d6f3(0x22e)])?this[_0x52d6f3(0x209)][_0x52d6f3(0x244)]=!![]:this[_0x52d6f3(0x209)]['sessionNameProvided']=![];continue;case'7':this['global'][_0x52d6f3(0x214)]=helper[_0x52d6f3(0x1ee)](_0x620cc0,[_0x23e4cd['sJZNl'],_0x23e4cd[_0x52d6f3(0x1e8)],_0x23e4cd['KKyNp']]);continue;}break;}}}async[a20_0x4d3d5a(0x22b)](){const _0xfb82d5=a20_0x4d3d5a;_seleniumWebdriver2&&(await helper[_0xfb82d5(0x21c)](this[_0xfb82d5(0x209)]['__driversArray']),this[_0xfb82d5(0x209)][_0xfb82d5(0x231)]['Builder']=originalBuilder),await RequestQueueHandler[_0xfb82d5(0x1fe)]()[_0xfb82d5(0x24b)]();}async[a20_0x4d3d5a(0x207)](){}async[a20_0x4d3d5a(0x202)](_0x1d7ff6,_0x5f19ec){const _0x143d95=a20_0x4d3d5a,_0x32a548={};_0x32a548['rIYMC']=function(_0x4b954a,_0x125d40){return _0x4b954a===_0x125d40;},_0x32a548[_0x143d95(0x23f)]=_0x143d95(0x201),_0x32a548[_0x143d95(0x212)]=function(_0x3fce2b,_0xcfbc54){return _0x3fce2b===_0xcfbc54;},_0x32a548[_0x143d95(0x24c)]='skip',_0x32a548['TKQft']=_0x143d95(0x242),_0x32a548[_0x143d95(0x1f0)]=_0x143d95(0x239),_0x32a548[_0x143d95(0x23c)]='Error\x20in\x20fail-fast\x20test_done\x20handler:',_0x32a548['vWsyC']=function(_0x584875,_0x548123){return _0x584875===_0x548123;},_0x32a548['JUEPN']=_0x143d95(0x22b);const _0x10a216=_0x32a548,{name:_0x313ea5}=_0x1d7ff6;if(_0x10a216['rIYMC'](_0x313ea5,_0x10a216[_0x143d95(0x23f)])){this['global'][_0x143d95(0x1e4)]=_0x1d7ff6[_0x143d95(0x213)];if(_0x10a216['qdEoF'](this[_0x143d95(0x209)][_0x143d95(0x203)],!![])){const _0x2c4306=_0x1d7ff6[_0x143d95(0x213)][_0x143d95(0x1fb)];logger[_0x143d95(0x243)](_0x143d95(0x1f8)+_0x2c4306),_0x1d7ff6[_0x143d95(0x213)][_0x143d95(0x21b)]=_0x10a216[_0x143d95(0x24c)];}}if(this[_0x143d95(0x234)]&&_0x10a216['rIYMC'](_0x313ea5,_0x10a216[_0x143d95(0x20a)]))try{const _0x1860ea=_0x1d7ff6['test'][_0x143d95(0x22a)][_0x143d95(0x22d)](_0x10a216[_0x143d95(0x1f0)]),_0x45ffbf=_0x1d7ff6[_0x143d95(0x213)][_0x143d95(0x205)];await this['failFast']['onTestDone'](_0x1860ea,_0x45ffbf);const _0x439764=await this['failFast'][_0x143d95(0x218)]();_0x10a216[_0x143d95(0x212)](this['global'][_0x143d95(0x203)],![])&&_0x10a216[_0x143d95(0x212)](_0x439764,!![])&&(this[_0x143d95(0x209)][_0x143d95(0x203)]=!![]);}catch(_0x13bd08){logger[_0x143d95(0x1f5)](_0x10a216['WIITl'],_0x13bd08[_0x143d95(0x20e)]);}_0x10a216['vWsyC'](_0x313ea5,_0x10a216[_0x143d95(0x211)])&&(this[_0x143d95(0x234)]&&this[_0x143d95(0x234)][_0x143d95(0x219)]());}}module[a20_0x4d3d5a(0x1e5)]=CustomEnvironment;
@@ -1 +1 @@
1
- const a21_0x30652d=a21_0x3c36;(function(_0x52e000,_0x3cae28){const _0x138af1=a21_0x3c36,_0x3405e1=_0x52e000();while(!![]){try{const _0x4c5061=parseInt(_0x138af1(0xfe))/0x1+parseInt(_0x138af1(0x177))/0x2+-parseInt(_0x138af1(0xc1))/0x3+-parseInt(_0x138af1(0xea))/0x4+-parseInt(_0x138af1(0x139))/0x5+-parseInt(_0x138af1(0x105))/0x6+parseInt(_0x138af1(0x13b))/0x7;if(_0x4c5061===_0x3cae28)break;else _0x3405e1['push'](_0x3405e1['shift']());}catch(_0x5847a0){_0x3405e1['push'](_0x3405e1['shift']());}}}(a21_0x5da7,0x8d690));const {requireModule,isTrue}=require('../../../helpers/helper'),ObservabilityReporter=require(a21_0x30652d(0x128)),RequestQueueHandler=require(a21_0x30652d(0xdc)),TestDetails=require('../test-observability/test-details'),{patchConsoleLogger,debug}=require(a21_0x30652d(0xde)),{o11yErrorHandler}=require('../../../helpers/test-observability/error-handler'),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),testHubConstants=require(a21_0x30652d(0x182)),BrowserstackCLI=require(a21_0x30652d(0x17d)),TestFrameworkState=require(a21_0x30652d(0xd3)),HookState=require('../../v2/state/hookState'),JestUtils=require(a21_0x30652d(0x18b)),{v4:uuidv4}=require(a21_0x30652d(0x167)),util=require('util'),logger=require(a21_0x30652d(0x187))['winstonLogger'],{FRAMEWORKS}=require(a21_0x30652d(0x110));let exportsI;try{exportsI=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js',a21_0x30652d(0x127));}catch{exportsI=requireModule(a21_0x30652d(0x14e),a21_0x30652d(0x127));}const initInitialize=exportsI[a21_0x30652d(0x108)],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();let _currentTestPath=null;function getFullJestTestName(_0x24c0dd){const _0x410ba4=a21_0x30652d,_0x5e3e18={};_0x5e3e18['wglrD']=function(_0x22141,_0x1f3c33){return _0x22141!==_0x1f3c33;},_0x5e3e18[_0x410ba4(0xf4)]='ROOT_DESCRIBE_BLOCK';const _0x57a796=_0x5e3e18;try{const _0x304526=[];let _0x2a1d80=_0x24c0dd;while(_0x2a1d80){_0x2a1d80[_0x410ba4(0xb3)]&&_0x57a796[_0x410ba4(0x17f)](_0x2a1d80['name'],_0x57a796[_0x410ba4(0xf4)])&&_0x304526[_0x410ba4(0x140)](_0x2a1d80[_0x410ba4(0xb3)]),_0x2a1d80=_0x2a1d80[_0x410ba4(0xa9)];}return _0x304526['join']('\x20');}catch(_0x3fa2b1){return _0x24c0dd&&_0x24c0dd[_0x410ba4(0xb3)]||'';}}function getActiveTestNamePattern(){const _0xd3d28=a21_0x30652d,_0x251c97={'qnzuv':function(_0x1c5f6c,_0x39821f,_0x1e1d92){return _0x1c5f6c(_0x39821f,_0x1e1d92);},'BFhGN':_0xd3d28(0xad),'ddlNS':_0xd3d28(0x127),'hlkwT':function(_0x16b3a0,_0x590be8){return _0x16b3a0(_0x590be8);},'Fzynv':function(_0x251658,_0x3aaebc){return _0x251658===_0x3aaebc;},'ZcoIZ':_0xd3d28(0x126),'LlKoX':function(_0x268814,_0x29cd60){return _0x268814 instanceof _0x29cd60;},'MmHKb':_0xd3d28(0x129),'HEhMD':function(_0x187e73,_0x5aa8f5){return _0x187e73>_0x5aa8f5;},'nADVq':function(_0x30f0bf,_0x471552){return _0x30f0bf<_0x471552;},'SupZV':function(_0x2bb55b,_0x5a6fd1){return _0x2bb55b===_0x5a6fd1;},'JzsJO':'--testNamePattern','QUzOy':function(_0x2aff9f,_0x56270f){return _0x2aff9f+_0x56270f;},'MYJtZ':'--testNamePattern=','lhNPI':'-t='};try{let _0x16f737;try{_0x16f737=_0x251c97[_0xd3d28(0x13c)](requireModule,_0x251c97[_0xd3d28(0xb5)],_0x251c97[_0xd3d28(0x11d)]);}catch{_0x16f737=_0x251c97[_0xd3d28(0x156)](requireModule,_0x251c97[_0xd3d28(0x11d)]);}if(_0x16f737&&_0x251c97[_0xd3d28(0xd7)](typeof _0x16f737['getState'],_0x251c97[_0xd3d28(0x174)])){const _0x44cf76=_0x16f737[_0xd3d28(0xa6)]();if(_0x44cf76&&_0x44cf76['testNamePattern']){if(_0x251c97[_0xd3d28(0x10d)](_0x44cf76[_0xd3d28(0x10e)],RegExp))return _0x44cf76['testNamePattern'];if(_0x251c97['Fzynv'](typeof _0x44cf76[_0xd3d28(0x10e)],_0x251c97[_0xd3d28(0x90)])&&_0x251c97[_0xd3d28(0x158)](_0x44cf76['testNamePattern'][_0xd3d28(0x93)],0x0))return new RegExp(_0x44cf76[_0xd3d28(0x10e)],'i');}}}catch(_0x2697e0){}try{const _0x31b8bd=process['argv']||[];for(let _0x1931a9=0x0;_0x251c97[_0xd3d28(0x184)](_0x1931a9,_0x31b8bd[_0xd3d28(0x93)]);_0x1931a9++){const _0x24c469=_0x31b8bd[_0x1931a9];if(_0x251c97[_0xd3d28(0xd7)](_0x24c469,'-t')||_0x251c97[_0xd3d28(0x15c)](_0x24c469,_0x251c97[_0xd3d28(0x152)])){const _0x3ef90b=_0x31b8bd[_0x251c97[_0xd3d28(0x86)](_0x1931a9,0x1)];if(_0x3ef90b&&!_0x3ef90b[_0xd3d28(0x172)]('-'))return new RegExp(_0x3ef90b,'i');}else{if(_0x24c469&&(_0x24c469[_0xd3d28(0x172)](_0x251c97[_0xd3d28(0x117)])||_0x24c469['startsWith'](_0x251c97[_0xd3d28(0x179)]))){const _0x266174=_0x24c469[_0xd3d28(0xbd)]('=')[_0xd3d28(0x168)](0x1)[_0xd3d28(0x11e)]('=');if(_0x266174)return new RegExp(_0x266174,'i');}}}}catch(_0x386352){}return null;}function isPhantomSkipFromNameFilter(_0x5aacc6){const _0x5025d8=a21_0x30652d,_0x578630={'JsSdG':function(_0x3a37eb){return _0x3a37eb();},'XPbiz':function(_0xbbb7d8,_0x40f6a9){return _0xbbb7d8(_0x40f6a9);}},_0x5204e0=_0x578630[_0x5025d8(0x135)](getActiveTestNamePattern);if(!_0x5204e0)return![];const _0x20d386=_0x578630[_0x5025d8(0x8f)](getFullJestTestName,_0x5aacc6);if(!_0x20d386)return![];return!_0x5204e0[_0x5025d8(0x148)](_0x20d386);}async function isCLIReady(){const _0x41db08=a21_0x30652d,_0x286c34={'zZUFa':_0x41db08(0xda),'gqxEJ':function(_0x56139f,_0x1779b8){return _0x56139f(_0x1779b8);},'vkzeI':'../../v2/cliUtils','vlJQv':function(_0x5a4b28,_0x15f48f){return _0x5a4b28===_0x15f48f;},'WHfTf':_0x41db08(0xab),'HupGt':function(_0x30ba7f,_0x398cef){return _0x30ba7f(_0x398cef);},'fzeFV':function(_0xa284c7,_0x4a3373){return _0xa284c7(_0x4a3373);}};try{const _0x195586=BrowserstackCLI[_0x41db08(0x180)]();if(_0x195586['isCliEnabled']()&&_0x195586[_0x41db08(0xaa)]())return logger[_0x41db08(0x99)](_0x286c34[_0x41db08(0x16f)]),!![];const _0x5c9543=process[_0x41db08(0x185)][_0x41db08(0x162)];if(_0x5c9543&&_0x195586['isCliEnabled']()){if(!_0x195586[_0x41db08(0xaa)]())try{const _0x2881c0=_0x286c34[_0x41db08(0x143)](require,_0x286c34['vkzeI']),_0x4a4d52=_0x2881c0['getAutomationFrameworkDetail']();(!_0x4a4d52||!_0x4a4d52[_0x41db08(0xb3)])&&(_0x286c34[_0x41db08(0x9a)](process['env'][_0x41db08(0x9b)],_0x286c34[_0x41db08(0xc7)])?_0x2881c0[_0x41db08(0x83)](FRAMEWORKS[_0x41db08(0x9e)],FRAMEWORKS['PUPPETEER']):_0x2881c0[_0x41db08(0x83)](FRAMEWORKS[_0x41db08(0x9e)],FRAMEWORKS['PLAYWRIGHT'])),await _0x195586[_0x41db08(0xe6)]();}catch(_0x1f80a9){return _0x286c34[_0x41db08(0x101)](debug,_0x41db08(0x7f)+util[_0x41db08(0xfd)](_0x1f80a9)),![];}return _0x195586['isRunning']();}return![];}catch(_0x330c9f){return _0x286c34['fzeFV'](debug,_0x41db08(0xf0)+util[_0x41db08(0xfd)](_0x330c9f)),![];}}function getTestIdentifierForHook(_0x256966){const _0x448f81=a21_0x30652d,_0x10cf86={};_0x10cf86[_0x448f81(0x102)]=function(_0x47c8d5,_0x6f4196){return _0x47c8d5===_0x6f4196;},_0x10cf86[_0x448f81(0xc5)]=_0x448f81(0x163),_0x10cf86['eccWf']=_0x448f81(0x11f);const _0x1536b1=_0x10cf86;if(_0x1536b1['oEJdh'](_0x256966[_0x448f81(0x17a)],_0x1536b1['jSFyN'])||_0x1536b1[_0x448f81(0x102)](_0x256966['type'],_0x1536b1[_0x448f81(0x132)])){let _0x11a549=global['__jestCurrentTestIdentifier'];if(!_0x11a549&&_0x1536b1[_0x448f81(0x102)](_0x256966[_0x448f81(0x17a)],_0x1536b1['eccWf'])&&_0x256966['parent']){const _0x4ab0a4={};_0x4ab0a4['name']=_0x256966[_0x448f81(0xa9)][_0x448f81(0xb3)],_0x4ab0a4[_0x448f81(0xa9)]=_0x256966[_0x448f81(0xa9)]['parent'],_0x4ab0a4['asyncError']=_0x256966['asyncError'],_0x4ab0a4['file']=_0x256966[_0x448f81(0xe9)];const _0x239a94=_0x4ab0a4;_0x11a549=jestUtils[_0x448f81(0x14a)](_0x239a94);}return _0x11a549;}return global['__jestCurrentTestIdentifier'];}function a21_0x5da7(){const _0x3cecab=['HookStarted','passed','HSuet','XOTse','Error\x20reading\x20platformIndex\x20from\x20args:\x20','\x20for\x20hook\x20type:\x20','zZUFa','TestRunSkipped','shutdown','startsWith','fVyRk','ZcoIZ','hookUUID','__jestCurrentTestIdentifier','271514wgQkbt','currentHook','lhNPI','type','iyLwb','VKXLT','../../v2/browserstackCLI','RHIcj','wglrD','getInstance','isCliEnabled','../../../helpers/testhub/constants','Bmvwz','nADVq','env','afterAll','../../../helpers/logger','kAwdM','CKLBB','teardown','../../v2/utils/jest-utils','config','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','afterEach','setTestUUID','TEST','setFrameworkDetail','hook','vfBpF','QUzOy','testStarted','hook_start','map','failed','RTLNT','HAHHp','IvKKt','error','XPbiz','MmHKb','EVENT','stack-trace','length','SGAST','hookAnalyticsId','errorsDetailed','BvpLI','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','debug','vlJQv','BROWSERSTACK_PUPPETEER','testPath',',\x20BROWSERSTACK_PUPPETEER=','JEST','GCjEP','toISOString','message','tWrEl','has','egcDH','TestRunFinished','getState','bWbbn','asyncError','parent','isRunning','true','AKmRu','jest-circus/build/state.js','POST','PRE','markedStatus','started_at','xwOsd','name','HookRunStarted','BFhGN','ZkUBU','_bstackTestStatus','yBiCA','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','getFullJestTestName','toString','NenPN','split','fail','BROWSERSTACK_PLATFORM_INDEX','eOWzn','622416WpULDF','cUWYo','match','pid','jSFyN','jestConfig','WHfTf','add','slBnD','ilyTG','[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22','EventHandler','\x20>\x20','TestRunStarted','VAwjn','nNqSG','current_test','hookData','../../v2/state/testFrameworkState','hook_failure',':hookAnalyticsId','parse','Fzynv','HookFinished','OhMUd','CLI\x20is\x20enabled\x20and\x20running.','createTestFrameworkData','../../../helpers/test-observability/requestQueueHandler','testIdentifier','../../../helpers/test-observability/utils','sendTestRunEvent','qAWLa','__bstackPlatformIndex','[Rerun]\x20Suppressed\x20phantom\x20TestRunFinished\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','ezuDD','DrfgI','failureMessage','bootstrap','title','isPhantomSkipFromNameFilter','file','4115652XHSfAT','eBBGj','hook_success','vMSxu','HJgnu','LOG_REPORT','Error\x20checking\x20CLI\x20readiness:\x20','HdYXB','testInfo','AFTER_EACH','WKEfj','RuWve','QWBQe','ccwby','getFileName','trackEvent','createHookData','zSEfK','TzdyI','format','586752kbuwhu','Error\x20routing\x20to\x20JestTestFramework:\x20','BWCCj','HupGt','oEJdh','BEFORE_EACH','[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20','1335288HqygVr','currentTest','hhteJ','initialize','cVZqv','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','JXWDp','RCGaM','LlKoX','testNamePattern','HCleG','../../utils/constants','cLLyP','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','[Rerun]\x20Suppressed\x20phantom\x20TestRunStarted\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','WRhYM','includes','nGGft','MYJtZ','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','_bstackTestFailureReason','fIPut','isArray','eUxDM','ddlNS','join','beforeAll','nIjJh','__workerDetails','[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub=','retryOf','state','wVyQf','function','jest-circus','../test-observability/obsReporter','string','test_done','testUUID','status','getTestFramework','setActiveHook','unhandledErrors','kIlXH','lGdec','eccWf','BROWSERSTACK_RERUN','__rerunFilterHelpers','JsSdG','kFeJb','number','test_skip','5056835CqVcjK','ngQhM','16289049FwoyKI','qnzuv','pkdqU','mvxgn','Handling\x20test\x20event\x20for\x20CLI:\x20','unshift','ROOT_DESCRIBE_BLOCK','browserstackTestName','gqxEJ','cuKis','vnAau','testAnalyticsId','HhLQW','test','browserstackPlatformIndex','createIdentifierFromJestTest','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','[Rerun]\x20Suppressed\x20phantom\x20TestRunSkipped\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','registerListeners','jest-circus/build/jestAdapterInit.js','jest-circus/build/utils.js','configuration','makeSingleTestResult','JzsJO','BEFORE_ALL','aphdv','fdoqL','hlkwT','removeTestUUID','HEhMD','forEach','SWyQV','HookRunFinished','SupZV','PpMyC','Handling\x20hook\x20event\x20for\x20CLI:\x20','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','blxCk','MVXHn','BROWSERSTACK_CLI_BIN_SESSION_ID','beforeEach','JoBym','originalTest','call','uuid','slice'];a21_0x5da7=function(){return _0x3cecab;};return a21_0x5da7();}function mapHookTypeToState(_0x557d70){const _0x243274=a21_0x30652d,_0x28d63b={};_0x28d63b['beforeAll']=TestFrameworkState[_0x243274(0x153)],_0x28d63b[_0x243274(0x186)]=TestFrameworkState['AFTER_ALL'],_0x28d63b[_0x243274(0x163)]=TestFrameworkState[_0x243274(0x103)],_0x28d63b[_0x243274(0x80)]=TestFrameworkState[_0x243274(0xf3)];const _0x3045ce=_0x28d63b;return _0x3045ce[_0x557d70]||TestFrameworkState[_0x243274(0x103)];}async function handleHookEventCLI(_0x3ec650,_0x6e8b9c,_0x439114){const _0x28f4a0=a21_0x30652d,_0x3e22cd={'wVyQf':function(_0x3ea31d,_0x4c1a04){return _0x3ea31d(_0x4c1a04);},'cVZqv':_0x28f4a0(0x92),'mvxgn':function(_0x43eed9,_0x316716){return _0x43eed9===_0x316716;},'TzdyI':_0x28f4a0(0x141),'yBiCA':function(_0x488cf9){return _0x488cf9();},'eUxDM':function(_0x2d95ee){return _0x2d95ee();},'bWbbn':function(_0x2184d1,_0x2f6796){return _0x2184d1===_0x2f6796;},'VAwjn':_0x28f4a0(0xb4),'tWrEl':function(_0x2138ea,_0xd1161b){return _0x2138ea(_0xd1161b);},'hoDet':function(_0x14ef92,_0x110ad8){return _0x14ef92===_0x110ad8;},'NenPN':'HookRunFinished','RCGaM':'hook'};logger[_0x28f4a0(0x99)](_0x28f4a0(0x15e)+_0x6e8b9c+_0x28f4a0(0x16e)+_0x3ec650[_0x28f4a0(0x17a)]);try{if(_0x3ec650['fn']&&_0x3ec650['fn']['toString']()[_0x28f4a0(0xc3)](/browserstack internal helper hook/))return;if(_0x3ec650[_0x28f4a0(0xa9)]&&_0x3e22cd[_0x28f4a0(0x13e)](_0x3ec650[_0x28f4a0(0xa9)][_0x28f4a0(0xb3)],_0x3e22cd[_0x28f4a0(0xfc)])){const _0x486e5f=_0x3ec650['asyncError']&&((()=>{const _0x585d0d=_0x28f4a0;try{const _0x997daf=_0x3e22cd['wVyQf'](require,_0x3e22cd[_0x585d0d(0x109)]),_0x143ebf=_0x997daf[_0x585d0d(0xd6)][_0x585d0d(0x166)](_0x997daf,_0x3ec650[_0x585d0d(0xa8)]);return _0x143ebf[0x0]&&_0x143ebf[0x0][_0x585d0d(0xf8)]?_0x143ebf[0x0][_0x585d0d(0xf8)]():null;}catch(_0x226d03){return logger['debug'](_0x585d0d(0x118)+_0x226d03[_0x585d0d(0xa1)]),null;}})())||_0x3ec650['file']||null;if(!_0x486e5f)return;}let _0x219be6=_0x3ec650[_0x28f4a0(0x95)];if(!_0x219be6)_0x219be6=_0x3e22cd[_0x28f4a0(0xb8)](uuidv4),_0x3ec650[_0x28f4a0(0x95)]=_0x219be6;else _0x3ec650[_0x28f4a0(0xb0)]&&(_0x219be6=_0x3e22cd[_0x28f4a0(0x11c)](uuidv4),_0x3ec650[_0x28f4a0(0x95)]=_0x219be6,delete _0x3ec650[_0x28f4a0(0xb0)]);_0x3e22cd['bWbbn'](_0x6e8b9c,_0x3e22cd[_0x28f4a0(0xcf)])&&(_0x3ec650[_0x28f4a0(0xb1)]=new Date()[_0x28f4a0(0xa0)]());const _0x42b0c2=_0x3e22cd[_0x28f4a0(0x125)](getTestIdentifierForHook,_0x3ec650);!global[_0x28f4a0(0x121)]&&(global[_0x28f4a0(0x121)]={});if(_0x3e22cd[_0x28f4a0(0xa7)](_0x6e8b9c,_0x3e22cd[_0x28f4a0(0xcf)])){global[_0x28f4a0(0x121)][_0x28f4a0(0x178)]={'hookUUID':_0x219be6,'testIdentifier':_0x42b0c2,'hookType':_0x3ec650['type'],'startedAt':new Date()[_0x28f4a0(0xa0)]()};const _0x4a1f7f=BrowserstackCLI[_0x28f4a0(0x180)]()[_0x28f4a0(0x12d)]();_0x4a1f7f&&_0x4a1f7f[_0x28f4a0(0x12e)]&&_0x4a1f7f[_0x28f4a0(0x12e)](_0x42b0c2,_0x219be6,_0x3ec650[_0x28f4a0(0x17a)]);}const _0x4258be=await jestUtils[_0x28f4a0(0xfa)](_0x3ec650,_0x219be6,_0x6e8b9c,_0x42b0c2);if(!_0x4258be)return;const _0x136ce1=_0x3e22cd[_0x28f4a0(0xa2)](mapHookTypeToState,_0x3ec650[_0x28f4a0(0x17a)]),_0x15ef05=_0x3e22cd['hoDet'](_0x6e8b9c,_0x3e22cd[_0x28f4a0(0xcf)])?HookState[_0x28f4a0(0xaf)]:HookState[_0x28f4a0(0xae)],_0x70edfb=BrowserstackCLI[_0x28f4a0(0x180)]()[_0x28f4a0(0x12d)]();if(_0x70edfb){const _0xe0a860={};_0xe0a860[_0x28f4a0(0xd2)]=_0x4258be,await _0x70edfb[_0x28f4a0(0xf9)](_0x136ce1,_0x15ef05,_0xe0a860);if(_0x3e22cd['bWbbn'](_0x6e8b9c,_0x3e22cd[_0x28f4a0(0xbc)])){const _0x4e46e2={};_0x4e46e2[_0x28f4a0(0x12b)]=_0x42b0c2,_0x4e46e2['type']=_0x3e22cd[_0x28f4a0(0x10c)],await _0x70edfb[_0x28f4a0(0xf9)](TestFrameworkState[_0x28f4a0(0xef)],HookState[_0x28f4a0(0xae)],_0x4e46e2),global[_0x28f4a0(0x121)]&&global['__workerDetails'][_0x28f4a0(0x178)]&&_0x3e22cd[_0x28f4a0(0x13e)](global[_0x28f4a0(0x121)][_0x28f4a0(0x178)][_0x28f4a0(0x175)],_0x219be6)&&delete global[_0x28f4a0(0x121)][_0x28f4a0(0x178)],_0x70edfb['removeActiveHook']&&_0x70edfb['removeActiveHook'](_0x42b0c2,_0x219be6);}}}catch(_0x5d85f0){logger['error'](_0x28f4a0(0x98)+util[_0x28f4a0(0xfd)](_0x5d85f0));throw _0x5d85f0;}}async function handleTestEventCLI(_0x104aa7,_0x50947f,_0x1c80b5){const _0x45bd5f=a21_0x30652d,_0x119172={};_0x119172[_0x45bd5f(0x111)]=function(_0x4058f5,_0x32453a){return _0x4058f5===_0x32453a;},_0x119172[_0x45bd5f(0xed)]=_0x45bd5f(0xce),_0x119172['HCleG']=function(_0x148b19,_0x39c480){return _0x148b19>_0x39c480;},_0x119172['wPZdz']=function(_0x471cac,_0x5d1ec0){return _0x471cac===_0x5d1ec0;},_0x119172['aphdv']=function(_0x33477d,_0x4247e0){return _0x33477d&&_0x4247e0;},_0x119172['RuWve']=_0x45bd5f(0x8a),_0x119172['WoXVo']=_0x45bd5f(0xa5),_0x119172['BWCCj']=function(_0x315912,_0x115429){return _0x315912&&_0x115429;},_0x119172[_0x45bd5f(0xb2)]=function(_0x28be35,_0x379d83){return _0x28be35&&_0x379d83;},_0x119172[_0x45bd5f(0xe0)]=_0x45bd5f(0x148);const _0x742d45=_0x119172;logger['debug'](_0x45bd5f(0x13f)+_0x50947f);try{let _0x497976;if(_0x742d45[_0x45bd5f(0x111)](_0x50947f,_0x742d45[_0x45bd5f(0xed)])){_0x497976=jestUtils[_0x45bd5f(0x14a)](_0x104aa7),global[_0x45bd5f(0x176)]=_0x497976,_0x104aa7[_0x45bd5f(0x146)]=_0x497976,_0x104aa7['id']=_0x497976,_0x104aa7[_0x45bd5f(0xb1)]=new Date()[_0x45bd5f(0xa0)]();const _0x3b90d9=_0x1c80b5[_0x45bd5f(0xd1)];_0x1c80b5['current_test']=_0x104aa7,_0x104aa7[_0x45bd5f(0x123)]=null;if(_0x742d45[_0x45bd5f(0x10f)](_0x104aa7['_currentRetry'],0x0)&&_0x3b90d9&&_0x742d45['wPZdz'](_0x3b90d9[_0x45bd5f(0xe7)],_0x104aa7[_0x45bd5f(0xe7)])){_0x104aa7[_0x45bd5f(0x123)]=_0x3b90d9['testAnalyticsId'];const _0xe7a05=await jestUtils[_0x45bd5f(0xdb)](_0x104aa7,_0x497976,_0x742d45[_0x45bd5f(0xed)]),_0x5176b4=BrowserstackCLI[_0x45bd5f(0x180)]()[_0x45bd5f(0x12d)]();if(_0x742d45[_0x45bd5f(0x154)](_0xe7a05,_0x5176b4)){const _0x47ed81={};_0x47ed81[_0x45bd5f(0x148)]=_0xe7a05,await _0x5176b4[_0x45bd5f(0xf9)](TestFrameworkState[_0x45bd5f(0x82)],HookState[_0x45bd5f(0xaf)],_0x47ed81);}_0x3b90d9[_0x45bd5f(0x124)]=_0x742d45[_0x45bd5f(0xf5)];const _0x4f2d36=await jestUtils[_0x45bd5f(0xdb)](_0x3b90d9,_0x3b90d9[_0x45bd5f(0x146)],_0x742d45['WoXVo']);if(_0x742d45[_0x45bd5f(0x100)](_0x4f2d36,_0x5176b4)){const _0x11e32a={};_0x11e32a[_0x45bd5f(0x148)]=_0x4f2d36,await _0x5176b4[_0x45bd5f(0xf9)](TestFrameworkState[_0x45bd5f(0x82)],HookState[_0x45bd5f(0xae)],_0x11e32a);}}else{const _0x418005=await jestUtils['createTestFrameworkData'](_0x104aa7,_0x497976,_0x742d45[_0x45bd5f(0xed)]),_0x162362=BrowserstackCLI[_0x45bd5f(0x180)]()[_0x45bd5f(0x12d)]();if(_0x742d45[_0x45bd5f(0x154)](_0x418005,_0x162362)){const _0x32d390={};_0x32d390['test']=_0x418005,await _0x162362['trackEvent'](TestFrameworkState[_0x45bd5f(0x82)],HookState['PRE'],_0x32d390);}}}else{_0x497976=_0x104aa7['testAnalyticsId']||_0x104aa7['id']||global[_0x45bd5f(0x176)];const _0xd2bd55=await jestUtils['createTestFrameworkData'](_0x104aa7,_0x497976,_0x50947f),_0x57a8b2=BrowserstackCLI[_0x45bd5f(0x180)]()['getTestFramework']();if(_0x742d45[_0x45bd5f(0xb2)](_0xd2bd55,_0x57a8b2)){const _0x4128a1={};_0x4128a1[_0x45bd5f(0x148)]=_0xd2bd55,_0x4128a1[_0x45bd5f(0x165)]=_0x104aa7,_0x4128a1[_0x45bd5f(0xdd)]=_0x497976,await _0x57a8b2[_0x45bd5f(0xf9)](TestFrameworkState[_0x45bd5f(0x82)],HookState[_0x45bd5f(0xae)],_0x4128a1);const _0x29472c={};_0x29472c[_0x45bd5f(0x12b)]=_0x497976,_0x29472c[_0x45bd5f(0x17a)]=_0x742d45['qAWLa'],await _0x57a8b2[_0x45bd5f(0xf9)](TestFrameworkState['LOG_REPORT'],HookState[_0x45bd5f(0xae)],_0x29472c);}}}catch(_0x3d7407){logger[_0x45bd5f(0x8e)](_0x45bd5f(0x14b)+util[_0x45bd5f(0xfd)](_0x3d7407));throw _0x3d7407;}}exportsI[a21_0x30652d(0x108)]=(..._0x5e091c)=>{const _0x324ad4=a21_0x30652d,_0x236e2b={'pkdqU':function(_0x515812,_0x5d70aa){return _0x515812(_0x5d70aa);},'VKXLT':_0x324ad4(0x92),'HJgnu':function(_0x9002fb,_0x8ecd72){return _0x9002fb&&_0x8ecd72;},'ilyTG':_0x324ad4(0x88),'HdYXB':function(_0xe922c7,_0xeab26b){return _0xe922c7===_0xeab26b;},'OhMUd':'ROOT_DESCRIBE_BLOCK','eOWzn':function(_0x383905){return _0x383905();},'HSuet':function(_0x3cdef9,_0x548ecd){return _0x3cdef9(_0x548ecd);},'XOTse':function(_0x506867,_0x5346f4,_0x125f3c,_0x18716b){return _0x506867(_0x5346f4,_0x125f3c,_0x18716b);},'nNqSG':_0x324ad4(0xb4),'fVyRk':_0x324ad4(0xec),'SWyQV':function(_0x1adad4,_0x40cdc2){return _0x1adad4(_0x40cdc2);},'CKLBB':_0x324ad4(0x15b),'SGAST':function(_0x3b3f83,_0x516a8b){return _0x3b3f83(_0x516a8b);},'eBBGj':_0x324ad4(0xd4),'nGGft':_0x324ad4(0x11f),'JHnDE':_0x324ad4(0x163),'blxCk':_0x324ad4(0x80),'RHIcj':function(_0x362f81,_0x5e1aaa){return _0x362f81>_0x5e1aaa;},'IjzOH':function(_0x3c94cd,_0x272f20,_0x4f14df,_0x3a3c82){return _0x3c94cd(_0x272f20,_0x4f14df,_0x3a3c82);},'egcDH':'test_start','slBnD':function(_0x4c0239,_0xf10005){return _0x4c0239(_0xf10005);},'cuKis':function(_0x458770,_0x17ee7c){return _0x458770(_0x17ee7c);},'KDOsq':function(_0x12e68c,_0x3bdc3e){return _0x12e68c!==_0x3bdc3e;},'JXWDp':_0x324ad4(0xcd),'QWBQe':function(_0xe9b510){return _0xe9b510();},'IvKKt':function(_0x480200,_0x5bc9bd,_0xb2d51f,_0x42ec5f){return _0x480200(_0x5bc9bd,_0xb2d51f,_0x42ec5f);},'WRhYM':'TestRunStarted','Lysis':function(_0x4c5d72,_0x11d84d){return _0x4c5d72(_0x11d84d);},'fIPut':_0x324ad4(0x12a),'DrfgI':function(_0x4017c6,_0x444077){return _0x4017c6(_0x444077);},'ngQhM':_0x324ad4(0xbe),'QSrXI':_0x324ad4(0x8a),'PpMyC':_0x324ad4(0x16a),'kIlXH':function(_0x10429e,_0x338b09){return _0x10429e||_0x338b09;},'FaZdd':function(_0x5618cc){return _0x5618cc();},'vnAau':_0x324ad4(0xa5),'HAHHp':function(_0x52005f,_0x2f1cc1){return _0x52005f(_0x2f1cc1);},'mXnyJ':_0x324ad4(0x138),'hhteJ':function(_0x51529c,_0x4b1f8b){return _0x51529c(_0x4b1f8b);},'ezuDD':function(_0x135f5f,_0x18b04c){return _0x135f5f(_0x18b04c);},'asgLi':function(_0x16ddb8,_0x276a56,_0x2e6dd4,_0xb33f37){return _0x16ddb8(_0x276a56,_0x2e6dd4,_0xb33f37);},'AKmRu':_0x324ad4(0x170),'RTLNT':function(_0x5e6613){return _0x5e6613();},'MVXHn':'run_describe_finish','ZkUBU':_0x324ad4(0x18a),'cUWYo':function(_0x50aca2){return _0x50aca2();},'HhLQW':_0x324ad4(0x129),'iyLwb':_0x324ad4(0x137),'kFeJb':function(_0x50c326,_0x19c118){return _0x50c326===_0x19c118;},'GCjEP':function(_0x2b55c2,_0x1a498e){return _0x2b55c2(_0x1a498e);},'zSEfK':function(_0x2c27a0){return _0x2c27a0();},'fdoqL':function(_0x12ed6c,_0x38c896,_0x214bcf){return _0x12ed6c(_0x38c896,_0x214bcf);},'IkONo':_0x324ad4(0xad),'Bmvwz':_0x324ad4(0x127),'nIjJh':function(_0x47295a,_0x67e54e){return _0x47295a(_0x67e54e);},'TXDCn':_0x324ad4(0x14f),'kAwdM':function(_0x879e68,_0x4a5511){return _0x879e68(_0x4a5511);},'ccwby':function(_0x541155){return _0x541155();},'JoBym':_0x324ad4(0xcc),'vfBpF':function(_0x41fc50,..._0x3b2052){return _0x41fc50(..._0x3b2052);}};try{logger[_0x324ad4(0x99)](_0x324ad4(0x122)+_0x236e2b[_0x324ad4(0xc2)](shouldProcessEventForTesthub)+_0x324ad4(0x9d)+process['env'][_0x324ad4(0x9b)]);const _0x17be39=_0x5e091c&&_0x5e091c[0x0]?_0x5e091c[0x0]:{};_0x17be39&&_0x236e2b[_0x324ad4(0xf1)](typeof _0x17be39[_0x324ad4(0x9c)],_0x236e2b[_0x324ad4(0x147)])&&_0x17be39[_0x324ad4(0x9c)]&&(_currentTestPath=_0x17be39['testPath']);let _0x5c28bd=0x0;try{if(_0x17be39[_0x324ad4(0x7e)]&&_0x236e2b[_0x324ad4(0xf1)](typeof _0x17be39[_0x324ad4(0x7e)][_0x324ad4(0x149)],_0x236e2b[_0x324ad4(0x17b)]))_0x5c28bd=_0x17be39['config'][_0x324ad4(0x149)];else{if(_0x17be39[_0x324ad4(0x150)]&&_0x236e2b[_0x324ad4(0x136)](typeof _0x17be39[_0x324ad4(0x150)][_0x324ad4(0x149)],_0x236e2b[_0x324ad4(0x17b)]))_0x5c28bd=_0x17be39['configuration'][_0x324ad4(0x149)];else global[_0x324ad4(0xc6)]&&_0x236e2b['kFeJb'](typeof global[_0x324ad4(0xc6)][_0x324ad4(0x149)],_0x236e2b[_0x324ad4(0x17b)])&&(_0x5c28bd=global[_0x324ad4(0xc6)]['browserstackPlatformIndex']);}}catch(_0x917a4a){logger[_0x324ad4(0x99)](_0x324ad4(0x16d)+util[_0x324ad4(0xfd)](_0x917a4a));}global[_0x324ad4(0xe1)]=_0x5c28bd,process[_0x324ad4(0x185)][_0x324ad4(0xbf)]=_0x236e2b[_0x324ad4(0x9f)](String,_0x5c28bd);const _0x805a43=new ObservabilityReporter();!_initializedPlatformIndices[_0x324ad4(0xa3)](_0x5c28bd)?(logger[_0x324ad4(0x99)](_0x324ad4(0x10a)+_0x5c28bd),_initializedPlatformIndices[_0x324ad4(0xc8)](_0x5c28bd),_0x236e2b['eOWzn'](shouldProcessEventForTesthub)&&(_0x236e2b[_0x324ad4(0xfb)](patchConsoleLogger),_0x805a43[_0x324ad4(0x14d)]())):logger['debug']('[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex='+_0x5c28bd+',\x20re-registering\x20event\x20handler');let _0x5d4acb;try{_0x5d4acb=_0x236e2b[_0x324ad4(0x155)](requireModule,_0x236e2b['IkONo'],_0x236e2b[_0x324ad4(0x183)]);}catch{_0x5d4acb=_0x236e2b[_0x324ad4(0x120)](requireModule,_0x236e2b[_0x324ad4(0x183)]);}let _0x243ff7;try{_0x243ff7=_0x236e2b['fdoqL'](requireModule,_0x236e2b['TXDCn'],_0x236e2b['Bmvwz'])[_0x324ad4(0x151)];}catch{_0x243ff7=_0x236e2b[_0x324ad4(0x188)](requireModule,_0x236e2b['Bmvwz'])[_0x324ad4(0x151)]||(()=>({}));}const _0x57ca68=BrowserstackCLI[_0x324ad4(0x180)]()[_0x324ad4(0x181)]();(_0x236e2b[_0x324ad4(0xf7)](shouldProcessEventForTesthub)||_0x57ca68)&&_0x5d4acb['addEventHandler'](_0x236e2b[_0x324ad4(0x155)](o11yErrorHandler,async(_0x37576e,_0x58cdd6)=>{const _0x38f4be=_0x324ad4,_0x2683a6={'BvpLI':function(_0xa5172,_0x5c6f04){const _0x5c4f6e=a21_0x3c36;return _0x236e2b[_0x5c4f6e(0x13d)](_0xa5172,_0x5c6f04);},'lGdec':_0x236e2b[_0x38f4be(0x17c)]};_0x236e2b[_0x38f4be(0xee)](_currentTestPath,_0x37576e)&&_0x37576e[_0x38f4be(0x148)]&&!_0x37576e[_0x38f4be(0x148)][_0x38f4be(0xe9)]&&(_0x37576e[_0x38f4be(0x148)][_0x38f4be(0xe9)]=_currentTestPath);switch(_0x37576e[_0x38f4be(0xb3)]){case _0x236e2b[_0x38f4be(0xca)]:if(_0x37576e[_0x38f4be(0x84)]['fn']&&_0x37576e[_0x38f4be(0x84)]['fn'][_0x38f4be(0xbb)]()['match'](/browserstack internal helper hook/))break;if(_0x37576e[_0x38f4be(0x84)][_0x38f4be(0xa9)]&&_0x236e2b[_0x38f4be(0xf1)](_0x37576e[_0x38f4be(0x84)]['parent'][_0x38f4be(0xb3)],_0x236e2b[_0x38f4be(0xd9)])){const _0x249ffa=_0x37576e['hook'][_0x38f4be(0xa8)]&&((()=>{const _0x19d0c9=_0x38f4be;try{const _0xf46b80=_0x2683a6[_0x19d0c9(0x97)](require,_0x2683a6[_0x19d0c9(0x131)]),_0x5ba0b8=_0xf46b80[_0x19d0c9(0xd6)][_0x19d0c9(0x166)](_0xf46b80,_0x37576e[_0x19d0c9(0x84)][_0x19d0c9(0xa8)]);return _0x5ba0b8[0x0]&&_0x5ba0b8[0x0][_0x19d0c9(0xf8)]?_0x5ba0b8[0x0][_0x19d0c9(0xf8)]():null;}catch(_0x3bb62a){return logger[_0x19d0c9(0x99)]('Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20'+_0x3bb62a[_0x19d0c9(0xa1)]),null;}})())||_0x37576e[_0x38f4be(0x84)][_0x38f4be(0xe9)]||null;if(!_0x249ffa)break;}if(BrowserstackCLI['getInstance']()[_0x38f4be(0x181)]()&&await _0x236e2b['eOWzn'](isCLIReady)){if(_0x236e2b[_0x38f4be(0x16b)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x38f4be(0x169)]))try{await _0x236e2b['XOTse'](handleHookEventCLI,_0x37576e[_0x38f4be(0x84)],_0x236e2b[_0x38f4be(0xd0)],_0x58cdd6);break;}catch(_0x5711c9){_0x236e2b[_0x38f4be(0x16b)](debug,_0x38f4be(0xff)+util[_0x38f4be(0xfd)](_0x5711c9));}}if(_0x236e2b[_0x38f4be(0x16b)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x38f4be(0x169)])){if(!_0x37576e[_0x38f4be(0x84)]['hookAnalyticsId']){const _0x366706=TestDetails['setTestUUID'](process[_0x38f4be(0xc4)]+':hookAnalyticsId');_0x37576e[_0x38f4be(0x84)][_0x38f4be(0x95)]=_0x366706;}else _0x37576e[_0x38f4be(0x84)]['markedStatus']&&(_0x37576e[_0x38f4be(0x84)]['hookAnalyticsId']=TestDetails[_0x38f4be(0x81)](process[_0x38f4be(0xc4)]+':hookAnalyticsId'),delete _0x37576e[_0x38f4be(0x84)][_0x38f4be(0xb0)]);_0x37576e[_0x38f4be(0x84)][_0x38f4be(0xb1)]=new Date()['toISOString'](),await _0x805a43[_0x38f4be(0xdf)](_0x37576e[_0x38f4be(0x84)],undefined,![],_0x236e2b['nNqSG']);}break;case _0x236e2b[_0x38f4be(0x173)]:if(BrowserstackCLI[_0x38f4be(0x180)]()[_0x38f4be(0x181)]()&&await _0x236e2b[_0x38f4be(0xc0)](isCLIReady)){if(_0x236e2b[_0x38f4be(0x15a)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x38f4be(0xd8)]))try{await _0x236e2b[_0x38f4be(0x16c)](handleHookEventCLI,_0x37576e[_0x38f4be(0x84)],_0x236e2b[_0x38f4be(0x189)],_0x58cdd6);break;}catch(_0x20e10d){_0x236e2b['HSuet'](debug,_0x38f4be(0xff)+util[_0x38f4be(0xfd)](_0x20e10d));}}_0x236e2b[_0x38f4be(0x94)](shouldProcessEventForTesthub,testHubConstants[_0x38f4be(0x91)]['HookFinished'])&&(await _0x805a43[_0x38f4be(0xdf)](_0x37576e['hook'],undefined,![],_0x236e2b[_0x38f4be(0x189)]),TestDetails[_0x38f4be(0x157)](process[_0x38f4be(0xc4)]+':hookAnalyticsId'));break;case _0x236e2b[_0x38f4be(0xeb)]:[_0x236e2b[_0x38f4be(0x116)],_0x236e2b['JHnDE'],_0x236e2b[_0x38f4be(0x160)]][_0x38f4be(0x115)](_0x37576e['hook'][_0x38f4be(0x17a)])&&(_0x805a43[_0x38f4be(0xd4)]=_0x37576e[_0x38f4be(0x84)][_0x38f4be(0x17a)]),_0x58cdd6['unhandledErrors']&&_0x236e2b[_0x38f4be(0x17e)](_0x58cdd6[_0x38f4be(0x12f)]['length'],0x0)&&(_0x37576e[_0x38f4be(0x84)][_0x38f4be(0x96)]=[_0x58cdd6[_0x38f4be(0x12f)][0x0][0x0]]);if(BrowserstackCLI['getInstance']()[_0x38f4be(0x181)]()&&await _0x236e2b[_0x38f4be(0xc0)](isCLIReady)){if(_0x236e2b['SWyQV'](shouldProcessEventForTesthub,testHubConstants['EVENT']['HookFinished']))try{await _0x236e2b['IjzOH'](handleHookEventCLI,_0x37576e[_0x38f4be(0x84)],_0x236e2b['CKLBB'],_0x58cdd6);break;}catch(_0x52e8fe){_0x236e2b[_0x38f4be(0x13d)](debug,_0x38f4be(0xff)+util['format'](_0x52e8fe));}}_0x236e2b[_0x38f4be(0x94)](shouldProcessEventForTesthub,testHubConstants[_0x38f4be(0x91)][_0x38f4be(0xd8)])&&(await _0x805a43[_0x38f4be(0xdf)](_0x37576e['hook'],undefined,![],_0x236e2b[_0x38f4be(0x189)]),TestDetails[_0x38f4be(0x157)](process[_0x38f4be(0xc4)]+_0x38f4be(0xd5)));break;case _0x236e2b[_0x38f4be(0xa4)]:if(_0x236e2b[_0x38f4be(0xc9)](isTrue,process[_0x38f4be(0x185)][_0x38f4be(0x133)])&&_0x236e2b[_0x38f4be(0x144)](isPhantomSkipFromNameFilter,_0x37576e[_0x38f4be(0x148)])){const _0x21d40f=_0x236e2b[_0x38f4be(0x94)](getFullJestTestName,_0x37576e[_0x38f4be(0x148)]);logger['debug'](_0x38f4be(0x113)+_0x21d40f+'\x22');break;}try{let _0x3a4356=_0x37576e['test'][_0x38f4be(0xb3)]||'';try{let _0x748187=_0x37576e[_0x38f4be(0x148)][_0x38f4be(0xa9)];const _0x2028f4=[_0x3a4356];while(_0x748187&&_0x748187['name']&&_0x236e2b['KDOsq'](_0x748187[_0x38f4be(0xb3)],_0x236e2b['OhMUd'])){_0x2028f4[_0x38f4be(0x140)](_0x748187['name']),_0x748187=_0x748187[_0x38f4be(0xa9)];}_0x3a4356=_0x2028f4[_0x38f4be(0x11e)](_0x236e2b[_0x38f4be(0x10b)]);}catch(_0x4b7505){logger[_0x38f4be(0x99)](_0x38f4be(0xb9)+_0x4b7505[_0x38f4be(0xa1)]);}process['_bstackTestName']=_0x3a4356,process[_0x38f4be(0xb7)]=null,process[_0x38f4be(0x119)]=null,logger[_0x38f4be(0x99)]('[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22'+_0x3a4356+'\x22');if(!global[_0x38f4be(0x121)]){const _0x17484f={};_0x17484f[_0x38f4be(0x106)]={},global[_0x38f4be(0x121)]=_0x17484f;}!global[_0x38f4be(0x121)][_0x38f4be(0x106)]&&(global[_0x38f4be(0x121)]['currentTest']={});const _0x2362bf={};_0x2362bf[_0x38f4be(0xe7)]=_0x3a4356,_0x2362bf[_0x38f4be(0xb3)]=_0x3a4356,global[_0x38f4be(0x121)][_0x38f4be(0x106)][_0x38f4be(0xf2)]=_0x2362bf,global[_0x38f4be(0x142)]=_0x3a4356;}catch(_0x26d0ea){logger[_0x38f4be(0x99)](_0x38f4be(0x104)+_0x26d0ea[_0x38f4be(0xa1)]);}if(BrowserstackCLI[_0x38f4be(0x180)]()[_0x38f4be(0x181)]()&&await _0x236e2b[_0x38f4be(0xf6)](isCLIReady))try{await _0x236e2b[_0x38f4be(0x8d)](handleTestEventCLI,_0x37576e[_0x38f4be(0x148)],_0x236e2b[_0x38f4be(0x114)],_0x805a43);break;}catch(_0x4ad98f){_0x236e2b['Lysis'](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x38f4be(0xfd)](_0x4ad98f));}_0x236e2b[_0x38f4be(0xc0)](shouldProcessEventForTesthub)&&await _0x805a43[_0x38f4be(0x87)](_0x37576e[_0x38f4be(0x148)]);break;case _0x236e2b[_0x38f4be(0x11a)]:{const _0xca9f32=_0x37576e[_0x38f4be(0x148)];if(_0x236e2b[_0x38f4be(0x144)](isTrue,process[_0x38f4be(0x185)][_0x38f4be(0x133)])&&_0x236e2b['cuKis'](isPhantomSkipFromNameFilter,_0xca9f32)){const _0x27f43d=_0x236e2b[_0x38f4be(0x16b)](getFullJestTestName,_0xca9f32);logger[_0x38f4be(0x99)](_0x38f4be(0xe2)+_0x27f43d+'\x22'),_0xca9f32['markedStatus']=!![];break;}_0x37576e[_0x38f4be(0x148)]={..._0x236e2b[_0x38f4be(0xe4)](_0x243ff7,_0x37576e[_0x38f4be(0x148)]),..._0x37576e[_0x38f4be(0x148)]};try{const _0x132a41=_0x37576e[_0x38f4be(0x148)]['errors']||[],_0xf88794=_0x236e2b[_0x38f4be(0x17e)](_0x132a41['length'],0x0)||_0x236e2b[_0x38f4be(0xf1)](_0x37576e['test'][_0x38f4be(0x12c)],_0x236e2b[_0x38f4be(0x13a)]),_0x59d243=_0xf88794?_0x236e2b['QSrXI']:_0x236e2b[_0x38f4be(0x15d)];let _0x3253b4='';_0xf88794&&(_0x3253b4=_0x132a41[_0x38f4be(0x89)](_0x155d00=>{const _0x3f3d42=_0x38f4be;if(Array[_0x3f3d42(0x11b)](_0x155d00))return _0x155d00[_0x3f3d42(0x89)](_0x21864c=>_0x21864c&&_0x21864c[_0x3f3d42(0xa1)]||String(_0x21864c))[_0x3f3d42(0x11e)](';\x20');return _0x155d00&&_0x155d00[_0x3f3d42(0xa1)]||_0x236e2b['pkdqU'](String,_0x155d00);})[_0x38f4be(0x11e)](';\x20')),process['_bstackTestStatus']=_0x59d243,process[_0x38f4be(0x119)]=_0x236e2b[_0x38f4be(0x130)](_0x3253b4,''),logger['debug'](_0x38f4be(0xcb)+_0x59d243+'\x22'),global['__workerDetails']&&global[_0x38f4be(0x121)]['currentTest']&&(!global['__workerDetails'][_0x38f4be(0x106)][_0x38f4be(0xf2)]&&(global[_0x38f4be(0x121)][_0x38f4be(0x106)][_0x38f4be(0xf2)]={}),global['__workerDetails'][_0x38f4be(0x106)][_0x38f4be(0xf2)]['status']=_0x59d243,_0xf88794&&(global[_0x38f4be(0x121)][_0x38f4be(0x106)][_0x38f4be(0xf2)][_0x38f4be(0xe5)]=_0x3253b4));}catch(_0x4d8ba5){logger[_0x38f4be(0x99)]('[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20'+_0x4d8ba5[_0x38f4be(0xa1)]);}if(!_0x37576e[_0x38f4be(0x148)]['markedStatus']){_0x37576e[_0x38f4be(0x148)][_0x38f4be(0xb0)]=!![];if(BrowserstackCLI['getInstance']()[_0x38f4be(0x181)]()&&await _0x236e2b['FaZdd'](isCLIReady))try{await _0x236e2b[_0x38f4be(0x8d)](handleTestEventCLI,_0x37576e[_0x38f4be(0x148)],_0x236e2b[_0x38f4be(0x145)],_0x805a43);break;}catch(_0x29c169){_0x236e2b[_0x38f4be(0x8c)](debug,_0x38f4be(0xff)+util['format'](_0x29c169));}_0x236e2b[_0x38f4be(0xc0)](shouldProcessEventForTesthub)&&await _0x805a43[_0x38f4be(0xdf)](_0x37576e[_0x38f4be(0x148)]);}break;}case _0x236e2b['mXnyJ']:{const _0x4bb0e4=_0x37576e['test'];if(_0x236e2b[_0x38f4be(0x107)](isTrue,process['env'][_0x38f4be(0x133)])&&_0x236e2b['SGAST'](isPhantomSkipFromNameFilter,_0x4bb0e4)){const _0x117063=_0x236e2b[_0x38f4be(0x144)](getFullJestTestName,_0x4bb0e4);logger[_0x38f4be(0x99)](_0x38f4be(0x14c)+_0x117063+'\x22'),_0x4bb0e4[_0x38f4be(0xb0)]=!![];break;}_0x37576e['test']={..._0x236e2b['ezuDD'](_0x243ff7,_0x37576e[_0x38f4be(0x148)]),..._0x37576e[_0x38f4be(0x148)]};if(!_0x37576e[_0x38f4be(0x148)][_0x38f4be(0xb0)]){_0x37576e[_0x38f4be(0x148)][_0x38f4be(0xb0)]=!![];if(BrowserstackCLI[_0x38f4be(0x180)]()[_0x38f4be(0x181)]()&&await _0x236e2b[_0x38f4be(0xf6)](isCLIReady))try{await _0x236e2b['asgLi'](handleTestEventCLI,_0x37576e[_0x38f4be(0x148)],_0x236e2b['AKmRu'],_0x805a43);break;}catch(_0x17a5c4){_0x236e2b[_0x38f4be(0xe3)](debug,_0x38f4be(0xff)+util['format'](_0x17a5c4));}_0x236e2b[_0x38f4be(0x8b)](shouldProcessEventForTesthub)&&await _0x805a43[_0x38f4be(0xdf)](_0x37576e[_0x38f4be(0x148)],undefined,![],_0x236e2b[_0x38f4be(0xac)]);}break;}case _0x236e2b[_0x38f4be(0x161)]:_0x805a43[_0x38f4be(0xd4)]=null;break;case _0x236e2b[_0x38f4be(0xb6)]:await RequestQueueHandler[_0x38f4be(0x180)]()[_0x38f4be(0x171)](),process['removeAllListeners']();break;default:}},_0x236e2b[_0x324ad4(0x164)]));}catch(_0x138b56){_0x236e2b[_0x324ad4(0x15a)](debug,'Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20'+_0x138b56);}return _0x236e2b[_0x324ad4(0x85)](initInitialize,..._0x5e091c);};function a21_0x3c36(_0x4b3ff3,_0x476361){const _0x5da7eb=a21_0x5da7();return a21_0x3c36=function(_0x3c3697,_0x2b1926){_0x3c3697=_0x3c3697-0x7e;let _0x58eb2e=_0x5da7eb[_0x3c3697];return _0x58eb2e;},a21_0x3c36(_0x4b3ff3,_0x476361);}try{Object['keys'](exportsI)[a21_0x30652d(0x159)](_0x36a453=>{const _0x2d3691=a21_0x30652d,_0xca5ffb={'ByOnf':function(_0x330586,_0x267bf2){return _0x330586(_0x267bf2);}};try{exports&&(exports[_0x36a453]=exportsI[_0x36a453]);}catch(_0x3ade7a){_0xca5ffb['ByOnf'](debug,_0x2d3691(0x112)+_0x3ade7a);}});}catch(a21_0x177475){debug(a21_0x30652d(0x15f)+a21_0x177475);}const a21_0x1f6740={};a21_0x1f6740[a21_0x30652d(0xba)]=getFullJestTestName,a21_0x1f6740['getActiveTestNamePattern']=getActiveTestNamePattern,a21_0x1f6740[a21_0x30652d(0xe8)]=isPhantomSkipFromNameFilter,exports[a21_0x30652d(0x134)]=a21_0x1f6740;
1
+ const a21_0x4b1153=a21_0x28a5;(function(_0x5435e6,_0x404bfe){const _0x2a00a8=a21_0x28a5,_0x11f0e3=_0x5435e6();while(!![]){try{const _0x1ec2e9=-parseInt(_0x2a00a8(0x25e))/0x1*(-parseInt(_0x2a00a8(0x25f))/0x2)+parseInt(_0x2a00a8(0x1c9))/0x3*(-parseInt(_0x2a00a8(0x1d0))/0x4)+parseInt(_0x2a00a8(0x1e2))/0x5+parseInt(_0x2a00a8(0x1ba))/0x6+-parseInt(_0x2a00a8(0x233))/0x7+parseInt(_0x2a00a8(0x213))/0x8+-parseInt(_0x2a00a8(0x1cf))/0x9;if(_0x1ec2e9===_0x404bfe)break;else _0x11f0e3['push'](_0x11f0e3['shift']());}catch(_0x37a1e6){_0x11f0e3['push'](_0x11f0e3['shift']());}}}(a21_0x111d,0xb2640));const {requireModule,isTrue}=require(a21_0x4b1153(0x286)),ObservabilityReporter=require(a21_0x4b1153(0x283)),RequestQueueHandler=require(a21_0x4b1153(0x200)),TestDetails=require(a21_0x4b1153(0x248)),{patchConsoleLogger,debug}=require(a21_0x4b1153(0x2a9)),{o11yErrorHandler}=require(a21_0x4b1153(0x2b8)),{shouldProcessEventForTesthub}=require(a21_0x4b1153(0x25b)),testHubConstants=require(a21_0x4b1153(0x235)),BrowserstackCLI=require('../../v2/browserstackCLI'),TestFrameworkState=require(a21_0x4b1153(0x272)),HookState=require(a21_0x4b1153(0x1f6)),JestUtils=require(a21_0x4b1153(0x1b2)),{v4:uuidv4}=require(a21_0x4b1153(0x210)),util=require('util'),logger=require('../../../helpers/logger')['winstonLogger'],{FRAMEWORKS}=require(a21_0x4b1153(0x1ee));let exportsI;try{exportsI=requireModule(a21_0x4b1153(0x239),a21_0x4b1153(0x1f7));}catch{exportsI=requireModule('jest-circus/build/jestAdapterInit.js','jest-circus');}const initInitialize=exportsI[a21_0x4b1153(0x1ed)],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();let _currentTestPath=null;function a21_0x28a5(_0x591de4,_0x17a0ae){const _0x111d85=a21_0x111d();return a21_0x28a5=function(_0x28a532,_0x111d3a){_0x28a532=_0x28a532-0x1b0;let _0x3ae0e4=_0x111d85[_0x28a532];return _0x3ae0e4;},a21_0x28a5(_0x591de4,_0x17a0ae);}function getFullJestTestName(_0x2176cf){const _0x4e57ff=a21_0x4b1153,_0x36cd36={};_0x36cd36[_0x4e57ff(0x1b3)]=function(_0x2b9d94,_0x1884cb){return _0x2b9d94!==_0x1884cb;},_0x36cd36[_0x4e57ff(0x256)]='ROOT_DESCRIBE_BLOCK';const _0x6a2aa4=_0x36cd36;try{const _0x36aa30=[];let _0x5dfe6d=_0x2176cf;while(_0x5dfe6d){_0x5dfe6d[_0x4e57ff(0x1b8)]&&_0x6a2aa4[_0x4e57ff(0x1b3)](_0x5dfe6d[_0x4e57ff(0x1b8)],_0x6a2aa4['SJJXB'])&&_0x36aa30['unshift'](_0x5dfe6d[_0x4e57ff(0x1b8)]),_0x5dfe6d=_0x5dfe6d[_0x4e57ff(0x277)];}return _0x36aa30[_0x4e57ff(0x23b)]('\x20');}catch(_0x66b83d){return _0x2176cf&&_0x2176cf[_0x4e57ff(0x1b8)]||'';}}function getActiveTestNamePattern(){const _0x2a6070=a21_0x4b1153,_0x541e6d={'aJEKt':function(_0x134f64,_0x232842,_0x3c7259){return _0x134f64(_0x232842,_0x3c7259);},'JSMaY':'jest-circus/build/state.js','YSqBN':_0x2a6070(0x1f7),'oRpYl':function(_0x365a5a,_0x167744){return _0x365a5a(_0x167744);},'uSQtM':function(_0x4b3ec9,_0x23a245){return _0x4b3ec9===_0x23a245;},'CzBji':_0x2a6070(0x2a8),'TOgUz':function(_0x7ddfb3,_0x4116e1){return _0x7ddfb3 instanceof _0x4116e1;},'ENzOq':_0x2a6070(0x267),'GELwL':function(_0x318552,_0x13d4cc){return _0x318552>_0x13d4cc;},'JgYQU':function(_0x3b91c7,_0x2a1f55){return _0x3b91c7<_0x2a1f55;},'XqjgO':function(_0x398087,_0x749e51){return _0x398087===_0x749e51;},'QWibj':function(_0x290f7b,_0x41dd2d){return _0x290f7b===_0x41dd2d;},'vbLBN':_0x2a6070(0x1b7),'BFBbW':function(_0x466a83,_0x2dd815){return _0x466a83+_0x2dd815;},'dNDAD':'--testNamePattern=','YFSJx':_0x2a6070(0x29c)};try{let _0x5beaf3;try{_0x5beaf3=_0x541e6d['aJEKt'](requireModule,_0x541e6d['JSMaY'],_0x541e6d['YSqBN']);}catch{_0x5beaf3=_0x541e6d['oRpYl'](requireModule,_0x541e6d[_0x2a6070(0x2c2)]);}if(_0x5beaf3&&_0x541e6d['uSQtM'](typeof _0x5beaf3[_0x2a6070(0x1e3)],_0x541e6d[_0x2a6070(0x1bc)])){const _0x2bf623=_0x5beaf3[_0x2a6070(0x1e3)]();if(_0x2bf623&&_0x2bf623[_0x2a6070(0x20a)]){if(_0x541e6d[_0x2a6070(0x2bd)](_0x2bf623[_0x2a6070(0x20a)],RegExp))return _0x2bf623['testNamePattern'];if(_0x541e6d[_0x2a6070(0x1de)](typeof _0x2bf623['testNamePattern'],_0x541e6d[_0x2a6070(0x27b)])&&_0x541e6d[_0x2a6070(0x285)](_0x2bf623['testNamePattern'][_0x2a6070(0x24e)],0x0))return new RegExp(_0x2bf623[_0x2a6070(0x20a)],'i');}}}catch(_0x2a170f){}try{const _0x102727=process[_0x2a6070(0x1dd)]||[];for(let _0x5925e4=0x0;_0x541e6d[_0x2a6070(0x1b6)](_0x5925e4,_0x102727[_0x2a6070(0x24e)]);_0x5925e4++){const _0x384fdb=_0x102727[_0x5925e4];if(_0x541e6d['XqjgO'](_0x384fdb,'-t')||_0x541e6d[_0x2a6070(0x1fc)](_0x384fdb,_0x541e6d[_0x2a6070(0x2bc)])){const _0x8fad0f=_0x102727[_0x541e6d[_0x2a6070(0x236)](_0x5925e4,0x1)];if(_0x8fad0f&&!_0x8fad0f[_0x2a6070(0x1be)]('-'))return new RegExp(_0x8fad0f,'i');}else{if(_0x384fdb&&(_0x384fdb['startsWith'](_0x541e6d[_0x2a6070(0x2b2)])||_0x384fdb[_0x2a6070(0x1be)](_0x541e6d[_0x2a6070(0x1ef)]))){const _0x17a080=_0x384fdb['split']('=')[_0x2a6070(0x25a)](0x1)[_0x2a6070(0x23b)]('=');if(_0x17a080)return new RegExp(_0x17a080,'i');}}}}catch(_0x1e056c){}return null;}function isPhantomSkipFromNameFilter(_0x28ad6b){const _0x5c282f=a21_0x4b1153,_0x56cfb3={'SiiEx':function(_0x38cad7){return _0x38cad7();},'jnfgC':function(_0x181bc7,_0x31c93b){return _0x181bc7(_0x31c93b);}},_0x24a056=_0x56cfb3[_0x5c282f(0x20f)](getActiveTestNamePattern);if(!_0x24a056)return![];const _0x15f538=_0x56cfb3[_0x5c282f(0x293)](getFullJestTestName,_0x28ad6b);if(!_0x15f538)return![];return!_0x24a056[_0x5c282f(0x20b)](_0x15f538);}async function isCLIReady(){const _0x11e3c2=a21_0x4b1153,_0x578a71={'UMLXk':'CLI\x20is\x20enabled\x20and\x20running.','Hzxcq':function(_0x3ccdc5,_0x45513d){return _0x3ccdc5(_0x45513d);},'PYABC':_0x11e3c2(0x1d6),'vEccu':function(_0xc5fc26,_0x36d7e1){return _0xc5fc26===_0x36d7e1;},'kHdhu':_0x11e3c2(0x207),'KiCMf':function(_0x400638,_0x42bdec){return _0x400638(_0x42bdec);}};try{const _0x4b02be=BrowserstackCLI[_0x11e3c2(0x232)]();if(_0x4b02be[_0x11e3c2(0x1b1)]()&&_0x4b02be[_0x11e3c2(0x2a6)]())return logger[_0x11e3c2(0x1f1)](_0x578a71['UMLXk']),!![];const _0x37128b=process[_0x11e3c2(0x2c0)]['BROWSERSTACK_CLI_BIN_SESSION_ID'];if(_0x37128b&&_0x4b02be['isCliEnabled']()){if(!_0x4b02be[_0x11e3c2(0x2a6)]())try{const _0x4d162c=_0x578a71[_0x11e3c2(0x2aa)](require,_0x578a71[_0x11e3c2(0x274)]),_0x1d2afd=_0x4d162c['getAutomationFrameworkDetail']();(!_0x1d2afd||!_0x1d2afd[_0x11e3c2(0x1b8)])&&(_0x578a71['vEccu'](process[_0x11e3c2(0x2c0)][_0x11e3c2(0x223)],_0x578a71[_0x11e3c2(0x26f)])?_0x4d162c[_0x11e3c2(0x243)](FRAMEWORKS['JEST'],FRAMEWORKS['PUPPETEER']):_0x4d162c[_0x11e3c2(0x243)](FRAMEWORKS['JEST'],FRAMEWORKS[_0x11e3c2(0x242)])),await _0x4b02be[_0x11e3c2(0x21e)]();}catch(_0x502f4b){return _0x578a71[_0x11e3c2(0x231)](debug,_0x11e3c2(0x246)+util[_0x11e3c2(0x252)](_0x502f4b)),![];}return _0x4b02be[_0x11e3c2(0x2a6)]();}return![];}catch(_0x27f1ae){return _0x578a71[_0x11e3c2(0x2aa)](debug,_0x11e3c2(0x28a)+util[_0x11e3c2(0x252)](_0x27f1ae)),![];}}function getTestIdentifierForHook(_0x313dda){const _0x513248=a21_0x4b1153,_0x543407={};_0x543407['wLCzl']=function(_0x1b31a1,_0x3fea0a){return _0x1b31a1===_0x3fea0a;},_0x543407[_0x513248(0x1c8)]=_0x513248(0x24f),_0x543407['PYthO']=function(_0x5a6aba,_0x58bcd9){return _0x5a6aba===_0x58bcd9;},_0x543407[_0x513248(0x23a)]=_0x513248(0x292),_0x543407[_0x513248(0x250)]=function(_0x20bcd1,_0x966fcb){return _0x20bcd1===_0x966fcb;};const _0x3bbd7f=_0x543407;if(_0x3bbd7f['wLCzl'](_0x313dda[_0x513248(0x1cd)],_0x3bbd7f['Ejphk'])||_0x3bbd7f['PYthO'](_0x313dda[_0x513248(0x1cd)],_0x3bbd7f[_0x513248(0x23a)])){let _0x181ed3=global[_0x513248(0x287)];if(!_0x181ed3&&_0x3bbd7f['CVFUO'](_0x313dda['type'],_0x3bbd7f[_0x513248(0x23a)])&&_0x313dda[_0x513248(0x277)]){const _0xcfca8d={};_0xcfca8d[_0x513248(0x1b8)]=_0x313dda[_0x513248(0x277)][_0x513248(0x1b8)],_0xcfca8d[_0x513248(0x277)]=_0x313dda[_0x513248(0x277)][_0x513248(0x277)],_0xcfca8d[_0x513248(0x21d)]=_0x313dda[_0x513248(0x21d)],_0xcfca8d[_0x513248(0x24c)]=_0x313dda['file'];const _0x16f716=_0xcfca8d;_0x181ed3=jestUtils['createIdentifierFromJestTest'](_0x16f716);}return _0x181ed3;}return global['__jestCurrentTestIdentifier'];}function mapHookTypeToState(_0x3528c2){const _0x1419cd=a21_0x4b1153,_0x1179f2={};_0x1179f2[_0x1419cd(0x292)]=TestFrameworkState['BEFORE_ALL'],_0x1179f2[_0x1419cd(0x1c6)]=TestFrameworkState['AFTER_ALL'],_0x1179f2[_0x1419cd(0x24f)]=TestFrameworkState['BEFORE_EACH'],_0x1179f2[_0x1419cd(0x29e)]=TestFrameworkState['AFTER_EACH'];const _0x5aaa7a=_0x1179f2;return _0x5aaa7a[_0x3528c2]||TestFrameworkState['BEFORE_EACH'];}async function handleHookEventCLI(_0x423c7d,_0x2b1afd,_0x7cc3df){const _0xfa0c0a=a21_0x4b1153,_0x47ca6e={'lGZmk':function(_0x4f460c,_0x27264f){return _0x4f460c(_0x27264f);},'XitbG':_0xfa0c0a(0x1c4),'WnJWC':function(_0x510b02,_0x2555dc){return _0x510b02===_0x2555dc;},'tXzok':_0xfa0c0a(0x21a),'MWCgx':function(_0x19be4e){return _0x19be4e();},'xZoRQ':function(_0x236199){return _0x236199();},'vcqKX':function(_0x20b967,_0x178f45){return _0x20b967===_0x178f45;},'NvtVs':_0xfa0c0a(0x20d),'Ystld':function(_0x27d5e4,_0x145cf2){return _0x27d5e4(_0x145cf2);},'TEdTs':function(_0x469433,_0x248d09){return _0x469433===_0x248d09;},'pHpIh':function(_0x211930,_0x374ad1){return _0x211930===_0x374ad1;},'rTzXQ':_0xfa0c0a(0x255),'QUbSC':_0xfa0c0a(0x2a4)};logger['debug'](_0xfa0c0a(0x1d1)+_0x2b1afd+'\x20for\x20hook\x20type:\x20'+_0x423c7d['type']);try{if(_0x423c7d['fn']&&_0x423c7d['fn'][_0xfa0c0a(0x23c)]()[_0xfa0c0a(0x215)](/browserstack internal helper hook/))return;if(_0x423c7d[_0xfa0c0a(0x277)]&&_0x47ca6e[_0xfa0c0a(0x28e)](_0x423c7d[_0xfa0c0a(0x277)]['name'],_0x47ca6e[_0xfa0c0a(0x2a2)])){const _0x537bb5=_0x423c7d[_0xfa0c0a(0x21d)]&&((()=>{const _0x322646=_0xfa0c0a;try{const _0x53dcf1=_0x47ca6e[_0x322646(0x1fd)](require,_0x47ca6e[_0x322646(0x202)]),_0x15f2dd=_0x53dcf1['parse'][_0x322646(0x1fb)](_0x53dcf1,_0x423c7d[_0x322646(0x21d)]);return _0x15f2dd[0x0]&&_0x15f2dd[0x0][_0x322646(0x22f)]?_0x15f2dd[0x0]['getFileName']():null;}catch(_0x5c9d6d){return logger[_0x322646(0x1f1)](_0x322646(0x26c)+_0x5c9d6d[_0x322646(0x268)]),null;}})())||_0x423c7d[_0xfa0c0a(0x24c)]||null;if(!_0x537bb5)return;}let _0x40de1c=_0x423c7d[_0xfa0c0a(0x224)];if(!_0x40de1c)_0x40de1c=_0x47ca6e[_0xfa0c0a(0x203)](uuidv4),_0x423c7d['hookAnalyticsId']=_0x40de1c;else _0x423c7d[_0xfa0c0a(0x249)]&&(_0x40de1c=_0x47ca6e[_0xfa0c0a(0x1c3)](uuidv4),_0x423c7d[_0xfa0c0a(0x224)]=_0x40de1c,delete _0x423c7d['markedStatus']);_0x47ca6e[_0xfa0c0a(0x1d3)](_0x2b1afd,_0x47ca6e[_0xfa0c0a(0x2a1)])&&(_0x423c7d[_0xfa0c0a(0x1bf)]=new Date()['toISOString']());const _0x5d24b6=_0x47ca6e[_0xfa0c0a(0x257)](getTestIdentifierForHook,_0x423c7d);!global[_0xfa0c0a(0x220)]&&(global['__workerDetails']={});if(_0x47ca6e[_0xfa0c0a(0x1d3)](_0x2b1afd,_0x47ca6e[_0xfa0c0a(0x2a1)])){global[_0xfa0c0a(0x220)][_0xfa0c0a(0x264)]={'hookUUID':_0x40de1c,'testIdentifier':_0x5d24b6,'hookType':_0x423c7d['type'],'startedAt':new Date()[_0xfa0c0a(0x222)]()};const _0x37e9b7=BrowserstackCLI['getInstance']()[_0xfa0c0a(0x1d4)]();_0x37e9b7&&_0x37e9b7[_0xfa0c0a(0x2b4)]&&_0x37e9b7['setActiveHook'](_0x5d24b6,_0x40de1c,_0x423c7d[_0xfa0c0a(0x1cd)]);}const _0x15b1b5=await jestUtils[_0xfa0c0a(0x298)](_0x423c7d,_0x40de1c,_0x2b1afd,_0x5d24b6);if(!_0x15b1b5)return;const _0x2f38eb=_0x47ca6e[_0xfa0c0a(0x1fd)](mapHookTypeToState,_0x423c7d[_0xfa0c0a(0x1cd)]),_0x16618e=_0x47ca6e['TEdTs'](_0x2b1afd,_0x47ca6e['NvtVs'])?HookState['PRE']:HookState[_0xfa0c0a(0x261)],_0x4de8c3=BrowserstackCLI[_0xfa0c0a(0x232)]()[_0xfa0c0a(0x1d4)]();if(_0x4de8c3){const _0x2e6117={};_0x2e6117[_0xfa0c0a(0x280)]=_0x15b1b5,await _0x4de8c3[_0xfa0c0a(0x241)](_0x2f38eb,_0x16618e,_0x2e6117);if(_0x47ca6e[_0xfa0c0a(0x1e6)](_0x2b1afd,_0x47ca6e[_0xfa0c0a(0x2b3)])){const _0x383e4e={};_0x383e4e[_0xfa0c0a(0x238)]=_0x5d24b6,_0x383e4e['type']=_0x47ca6e[_0xfa0c0a(0x1f2)],await _0x4de8c3['trackEvent'](TestFrameworkState[_0xfa0c0a(0x234)],HookState[_0xfa0c0a(0x261)],_0x383e4e),global[_0xfa0c0a(0x220)]&&global['__workerDetails'][_0xfa0c0a(0x264)]&&_0x47ca6e[_0xfa0c0a(0x28e)](global[_0xfa0c0a(0x220)]['currentHook'][_0xfa0c0a(0x1da)],_0x40de1c)&&delete global[_0xfa0c0a(0x220)][_0xfa0c0a(0x264)],_0x4de8c3[_0xfa0c0a(0x201)]&&_0x4de8c3[_0xfa0c0a(0x201)](_0x5d24b6,_0x40de1c);}}}catch(_0x9cacc0){logger[_0xfa0c0a(0x21c)](_0xfa0c0a(0x1fe)+util[_0xfa0c0a(0x252)](_0x9cacc0));throw _0x9cacc0;}}function a21_0x111d(){const _0x741616=['hookAnalyticsId','fSlKd','includes','test_skip','MLutp','QnqNp','TestRunStarted','EmxiJ','map','originalTest','pid','getFileName','__bstackPlatformIndex','KiCMf','getInstance','5366445BnmqGn','LOG_REPORT','../../../helpers/testhub/constants','BFBbW','xzrxP','testUUID','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','NeMcC','join','toString','Rsesx','sFAcL','UrdBP','bWFtW','trackEvent','PLAYWRIGHT','setFrameworkDetail','YUkLp','TEST','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','eZAus','../test-observability/test-details','markedStatus','njOcy','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','file','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','length','beforeEach','CVFUO','IFmfY','format','run_describe_finish','Error\x20routing\x20to\x20JestTestFramework:\x20','HookRunFinished','SJJXB','Ystld','[Rerun]\x20Suppressed\x20phantom\x20TestRunStarted\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','[Rerun]\x20Suppressed\x20phantom\x20TestRunSkipped\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','slice','../../../helpers/testhub/utils','fail','JiZZH','2179RcYfoy','838eXmdRn','[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub=','POST','number','ArAai','currentHook','ThRwJ','Tqrhn','string','message','shutdown','RJsIQ','status','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','odNak','BROWSERSTACK_PLATFORM_INDEX','kHdhu','setTestUUID','NapPT','../../v2/state/testFrameworkState',':hookAnalyticsId','PYABC','state','test_done','parent','_bstackTestStatus','iQBBa','keys','ENzOq','failed','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','HvNFP','add','hookData','EbsGI',',\x20BROWSERSTACK_PUPPETEER=','../test-observability/obsReporter','DYqNy','GELwL','../../../helpers/helper','__jestCurrentTestIdentifier','addEventHandler','yPFxC','Error\x20checking\x20CLI\x20readiness:\x20','DbxqW','FDtCz','wfdKu','WnJWC','has','browserstackPlatformIndex','configuration','beforeAll','jnfgC','lMRec','vArAj','eZpoD','jstva','createHookData','jVAJJ','KlRTK','config','-t=','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','afterEach','HookStarted','TestRunFinished','NvtVs','tXzok','testAnalyticsId','hook','_currentRetry','isRunning','SYimm','function','../../../helpers/test-observability/utils','Hzxcq','gFKtR','testInfo','unhandledErrors','PCmfe','_bstackTestFailureReason','sendTestRunEvent','oONcG','dNDAD','rTzXQ','setActiveHook','[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20','jestConfig','createIdentifierFromJestTest','../../../helpers/test-observability/error-handler','UYPAo','retryOf','PRE','vbLBN','TOgUz','Error\x20reading\x20platformIndex\x20from\x20args:\x20','jgkVE','env','currentTest','YSqBN','rXqbD','qZKJN','isCliEnabled','../../v2/utils/jest-utils','onnyL','zxyXH','EventHandler','JgYQU','--testNamePattern','name','jest-circus/build/state.js','4942086AFjbHi','KTMOS','CzBji','passed','startsWith','started_at','createTestFrameworkData','removeAllListeners','hnnxB','xZoRQ','stack-trace','joAKl','afterAll','Handling\x20test\x20event\x20for\x20CLI:\x20','Ejphk','135003XOfbPu','wGMgl','[Rerun]\x20Suppressed\x20phantom\x20TestRunFinished\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','MgyJw','type','neTeO','13002498HmlOjs','20sjSpzi','Handling\x20hook\x20event\x20for\x20CLI:\x20','hgkoo','vcqKX','getTestFramework','testIdentifier','../../v2/cliUtils','isArray','jUOlG','registerListeners','hookUUID','WmMAy','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','argv','uSQtM','qYeEd','eUYpe','errors','1453985uFmuAl','getState','KEAAp','BROWSERSTACK_RERUN','pHpIh','forEach','hook_success','TestRunSkipped','HookFinished','isPhantomSkipFromNameFilter','testPath','initialize','../../utils/constants','YFSJx','VkDGd','debug','QUbSC','[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22','NgZEl','EVENT','../../v2/state/hookState','jest-circus','hook_failure','XlBLV','makeSingleTestResult','call','QWibj','lGZmk','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','test_start','../../../helpers/test-observability/requestQueueHandler','removeActiveHook','XitbG','MWCgx','lMkEY','getFullJestTestName','jUIkb','true','unshift','flSFS','testNamePattern','test','_bstackTestName','HookRunStarted','vUKCq','SiiEx','uuid','teardown','title','9116568yeZuDx','\x20>\x20','match','WoBLW','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','cIzLt','fCzGk','ROOT_DESCRIBE_BLOCK','__rerunFilterHelpers','error','asyncError','bootstrap','nuHOu','__workerDetails',',\x20re-registering\x20event\x20handler','toISOString','BROWSERSTACK_PUPPETEER'];a21_0x111d=function(){return _0x741616;};return a21_0x111d();}async function handleTestEventCLI(_0x29c3b2,_0x1a1499,_0x9579aa){const _0x1f6087=a21_0x4b1153,_0x2ffcfa={};_0x2ffcfa['fSlKd']=function(_0x520af5,_0x262252){return _0x520af5===_0x262252;},_0x2ffcfa[_0x1f6087(0x1b0)]='TestRunStarted',_0x2ffcfa[_0x1f6087(0x247)]=function(_0xcbebe3,_0x4a8170){return _0xcbebe3>_0x4a8170;},_0x2ffcfa['fCzGk']=function(_0x31fa48,_0x3759a5){return _0x31fa48&&_0x3759a5;},_0x2ffcfa[_0x1f6087(0x28c)]=_0x1f6087(0x27c),_0x2ffcfa[_0x1f6087(0x279)]=_0x1f6087(0x2a0),_0x2ffcfa[_0x1f6087(0x2ab)]=function(_0x3987c0,_0x5a0232){return _0x3987c0&&_0x5a0232;},_0x2ffcfa['ThRwJ']=_0x1f6087(0x20b);const _0x5e045b=_0x2ffcfa;logger[_0x1f6087(0x1f1)](_0x1f6087(0x1c7)+_0x1a1499);try{let _0x2570f6;if(_0x5e045b[_0x1f6087(0x225)](_0x1a1499,_0x5e045b['qZKJN'])){_0x2570f6=jestUtils[_0x1f6087(0x2b7)](_0x29c3b2),global[_0x1f6087(0x287)]=_0x2570f6,_0x29c3b2[_0x1f6087(0x2a3)]=_0x2570f6,_0x29c3b2['id']=_0x2570f6,_0x29c3b2[_0x1f6087(0x1bf)]=new Date()[_0x1f6087(0x222)]();const _0x279fff=_0x9579aa['current_test'];_0x9579aa['current_test']=_0x29c3b2,_0x29c3b2[_0x1f6087(0x2ba)]=null;if(_0x5e045b[_0x1f6087(0x247)](_0x29c3b2[_0x1f6087(0x2a5)],0x0)&&_0x279fff&&_0x5e045b[_0x1f6087(0x225)](_0x279fff[_0x1f6087(0x212)],_0x29c3b2[_0x1f6087(0x212)])){_0x29c3b2[_0x1f6087(0x2ba)]=_0x279fff[_0x1f6087(0x2a3)];const _0x32f3e3=await jestUtils[_0x1f6087(0x1c0)](_0x29c3b2,_0x2570f6,_0x5e045b[_0x1f6087(0x1b0)]),_0x1c188a=BrowserstackCLI[_0x1f6087(0x232)]()['getTestFramework']();if(_0x5e045b[_0x1f6087(0x219)](_0x32f3e3,_0x1c188a)){const _0x4af9d8={};_0x4af9d8[_0x1f6087(0x20b)]=_0x32f3e3,await _0x1c188a[_0x1f6087(0x241)](TestFrameworkState[_0x1f6087(0x245)],HookState[_0x1f6087(0x2bb)],_0x4af9d8);}_0x279fff[_0x1f6087(0x275)]=_0x5e045b[_0x1f6087(0x28c)];const _0x44deb0=await jestUtils[_0x1f6087(0x1c0)](_0x279fff,_0x279fff[_0x1f6087(0x2a3)],_0x5e045b[_0x1f6087(0x279)]);if(_0x5e045b[_0x1f6087(0x219)](_0x44deb0,_0x1c188a)){const _0x1d2956={};_0x1d2956[_0x1f6087(0x20b)]=_0x44deb0,await _0x1c188a[_0x1f6087(0x241)](TestFrameworkState[_0x1f6087(0x245)],HookState[_0x1f6087(0x261)],_0x1d2956);}}else{const _0x106744=await jestUtils[_0x1f6087(0x1c0)](_0x29c3b2,_0x2570f6,_0x5e045b['qZKJN']),_0x4dfb59=BrowserstackCLI[_0x1f6087(0x232)]()[_0x1f6087(0x1d4)]();if(_0x5e045b[_0x1f6087(0x2ab)](_0x106744,_0x4dfb59)){const _0x59fcae={};_0x59fcae[_0x1f6087(0x20b)]=_0x106744,await _0x4dfb59[_0x1f6087(0x241)](TestFrameworkState['TEST'],HookState[_0x1f6087(0x2bb)],_0x59fcae);}}}else{_0x2570f6=_0x29c3b2['testAnalyticsId']||_0x29c3b2['id']||global[_0x1f6087(0x287)];const _0x33f9c6=await jestUtils['createTestFrameworkData'](_0x29c3b2,_0x2570f6,_0x1a1499),_0x276615=BrowserstackCLI[_0x1f6087(0x232)]()[_0x1f6087(0x1d4)]();if(_0x5e045b[_0x1f6087(0x219)](_0x33f9c6,_0x276615)){const _0x463035={};_0x463035[_0x1f6087(0x20b)]=_0x33f9c6,_0x463035[_0x1f6087(0x22d)]=_0x29c3b2,_0x463035[_0x1f6087(0x1d5)]=_0x2570f6,await _0x276615[_0x1f6087(0x241)](TestFrameworkState['TEST'],HookState[_0x1f6087(0x261)],_0x463035);const _0x5eec5f={};_0x5eec5f[_0x1f6087(0x238)]=_0x2570f6,_0x5eec5f[_0x1f6087(0x1cd)]=_0x5e045b[_0x1f6087(0x265)],await _0x276615['trackEvent'](TestFrameworkState[_0x1f6087(0x234)],HookState[_0x1f6087(0x261)],_0x5eec5f);}}}catch(_0x1463e7){logger[_0x1f6087(0x21c)](_0x1f6087(0x27d)+util[_0x1f6087(0x252)](_0x1463e7));throw _0x1463e7;}}exportsI[a21_0x4b1153(0x1ed)]=(..._0x2d1612)=>{const _0x464ca0=a21_0x4b1153,_0x58367c={'NgZEl':function(_0x4d9924,_0x1f1d9f){return _0x4d9924(_0x1f1d9f);},'neTeO':_0x464ca0(0x1c4),'rXqbD':function(_0x371bfe,_0x37d65a){return _0x371bfe&&_0x37d65a;},'nuHOu':'hook_start','lMRec':function(_0x265994,_0x1134f3){return _0x265994===_0x1134f3;},'DYqNy':_0x464ca0(0x21a),'uaPlO':function(_0x4a84fc){return _0x4a84fc();},'UrdBP':function(_0x325937,_0x15aa7a){return _0x325937(_0x15aa7a);},'YUkLp':function(_0x269835,_0x11aa52,_0x43fc76,_0x5091a0){return _0x269835(_0x11aa52,_0x43fc76,_0x5091a0);},'Rsesx':_0x464ca0(0x20d),'UYPAo':function(_0x259577,_0xe1554){return _0x259577(_0xe1554);},'IFmfY':_0x464ca0(0x1e8),'jstva':function(_0x25e45b){return _0x25e45b();},'eUYpe':function(_0x3ae4cb,_0x2481e7){return _0x3ae4cb(_0x2481e7);},'oONcG':_0x464ca0(0x255),'cIRmu':'hook_failure','zxyXH':_0x464ca0(0x292),'RyMDx':_0x464ca0(0x24f),'JiZZH':_0x464ca0(0x29e),'eZpoD':function(_0x19dff1,_0x2482ad){return _0x19dff1>_0x2482ad;},'hgkoo':function(_0x59248c){return _0x59248c();},'HvNFP':function(_0x13e4c1,_0x4a192f){return _0x13e4c1(_0x4a192f);},'KTMOS':function(_0xb675b2,_0x2ef20c,_0x303e0f,_0x1e01d3){return _0xb675b2(_0x2ef20c,_0x303e0f,_0x1e01d3);},'sJEKn':function(_0x2649ae,_0x336f9e){return _0x2649ae(_0x336f9e);},'jVAJJ':_0x464ca0(0x1ff),'MLutp':function(_0x3879bd,_0xfe68ef){return _0x3879bd(_0xfe68ef);},'jgkVE':function(_0x46c14a,_0x5c4db1){return _0x46c14a(_0x5c4db1);},'KBtOH':function(_0xcaf24c,_0x505ffa){return _0xcaf24c!==_0x505ffa;},'ArAai':_0x464ca0(0x214),'EmxiJ':function(_0x379f2a){return _0x379f2a();},'RJsIQ':function(_0x3ba6fd,_0x4810db,_0x26ec97,_0x3b2c7a){return _0x3ba6fd(_0x4810db,_0x26ec97,_0x3b2c7a);},'joAKl':_0x464ca0(0x22a),'odNak':function(_0x3b56f4,_0x1f560b){return _0x3b56f4(_0x1f560b);},'DbxqW':_0x464ca0(0x276),'vUKCq':function(_0xbb0cd2,_0x152db6){return _0xbb0cd2(_0x152db6);},'bWFtW':function(_0x188a3d,_0x3eb59c){return _0x188a3d(_0x3eb59c);},'njOcy':function(_0x59b94a,_0x5a65ea){return _0x59b94a>_0x5a65ea;},'EbsGI':function(_0x33dfbf,_0x583276){return _0x33dfbf===_0x583276;},'wfdKu':_0x464ca0(0x25c),'NapPT':_0x464ca0(0x27c),'RZpVz':_0x464ca0(0x1bd),'uGyAS':function(_0x259c21,_0x3558df){return _0x259c21||_0x3558df;},'qYeEd':function(_0x589ab1){return _0x589ab1();},'flSFS':'TestRunFinished','yPFxC':function(_0xb9ae82,_0x4143d8){return _0xb9ae82(_0x4143d8);},'sFAcL':_0x464ca0(0x227),'WoBLW':function(_0xaa2ff,_0x189d0c){return _0xaa2ff(_0x189d0c);},'UsvQo':function(_0x2761e1,_0x28f25c){return _0x2761e1(_0x28f25c);},'GlKxb':function(_0x2bb64b,_0x24f324,_0x580530,_0x2a341){return _0x2bb64b(_0x24f324,_0x580530,_0x2a341);},'YdEnO':_0x464ca0(0x1e9),'fxLwU':_0x464ca0(0x253),'jUOlG':_0x464ca0(0x211),'XlBLV':function(_0x17a7c2){return _0x17a7c2();},'wGMgl':function(_0x470db2,_0x25a839){return _0x470db2===_0x25a839;},'SYimm':_0x464ca0(0x267),'KlRTK':_0x464ca0(0x262),'vArAj':function(_0xdb3753,_0x93ee5a){return _0xdb3753===_0x93ee5a;},'cIzLt':function(_0x940b57,_0x3c3085){return _0x940b57===_0x3c3085;},'MgyJw':function(_0x3e84b7){return _0x3e84b7();},'DaCcG':function(_0x55c328){return _0x55c328();},'xzrxP':function(_0x1f5480,_0xa0b623,_0xa84f79){return _0x1f5480(_0xa0b623,_0xa84f79);},'ALdAo':_0x464ca0(0x1b9),'Tqrhn':'jest-circus','WmMAy':function(_0x33454b,_0x401e0e){return _0x33454b(_0x401e0e);},'VkDGd':function(_0xd10c59,_0x2ff76b,_0x5de982){return _0xd10c59(_0x2ff76b,_0x5de982);},'QnqNp':'jest-circus/build/utils.js','PCmfe':function(_0x5143ff){return _0x5143ff();},'KEAAp':function(_0x23d0b9,_0x333ff4,_0x491cbd){return _0x23d0b9(_0x333ff4,_0x491cbd);},'hnnxB':_0x464ca0(0x1b5),'GesyE':function(_0x58e737,_0x2b0cb5){return _0x58e737(_0x2b0cb5);}};try{logger[_0x464ca0(0x1f1)](_0x464ca0(0x260)+_0x58367c[_0x464ca0(0x1f9)](shouldProcessEventForTesthub)+_0x464ca0(0x282)+process[_0x464ca0(0x2c0)][_0x464ca0(0x223)]);const _0x2f71fa=_0x2d1612&&_0x2d1612[0x0]?_0x2d1612[0x0]:{};_0x2f71fa&&_0x58367c[_0x464ca0(0x1ca)](typeof _0x2f71fa[_0x464ca0(0x1ec)],_0x58367c[_0x464ca0(0x2a7)])&&_0x2f71fa[_0x464ca0(0x1ec)]&&(_currentTestPath=_0x2f71fa['testPath']);let _0x3dfdd3=0x0;try{if(_0x2f71fa[_0x464ca0(0x29b)]&&_0x58367c[_0x464ca0(0x1ca)](typeof _0x2f71fa[_0x464ca0(0x29b)][_0x464ca0(0x290)],_0x58367c[_0x464ca0(0x29a)]))_0x3dfdd3=_0x2f71fa[_0x464ca0(0x29b)][_0x464ca0(0x290)];else{if(_0x2f71fa[_0x464ca0(0x291)]&&_0x58367c[_0x464ca0(0x295)](typeof _0x2f71fa[_0x464ca0(0x291)][_0x464ca0(0x290)],_0x58367c[_0x464ca0(0x29a)]))_0x3dfdd3=_0x2f71fa['configuration'][_0x464ca0(0x290)];else global[_0x464ca0(0x2b6)]&&_0x58367c[_0x464ca0(0x218)](typeof global[_0x464ca0(0x2b6)][_0x464ca0(0x290)],_0x58367c[_0x464ca0(0x29a)])&&(_0x3dfdd3=global[_0x464ca0(0x2b6)][_0x464ca0(0x290)]);}}catch(_0x5f1529){logger['debug'](_0x464ca0(0x2be)+util[_0x464ca0(0x252)](_0x5f1529));}global[_0x464ca0(0x230)]=_0x3dfdd3,process['env'][_0x464ca0(0x26e)]=_0x58367c[_0x464ca0(0x289)](String,_0x3dfdd3);const _0x5ec5e0=new ObservabilityReporter();!_initializedPlatformIndices[_0x464ca0(0x28f)](_0x3dfdd3)?(logger['debug'](_0x464ca0(0x24b)+_0x3dfdd3),_initializedPlatformIndices[_0x464ca0(0x27f)](_0x3dfdd3),_0x58367c[_0x464ca0(0x1cc)](shouldProcessEventForTesthub)&&(_0x58367c['DaCcG'](patchConsoleLogger),_0x5ec5e0[_0x464ca0(0x1d9)]())):logger['debug']('[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex='+_0x3dfdd3+_0x464ca0(0x221));let _0x2fbf4c;try{_0x2fbf4c=_0x58367c[_0x464ca0(0x237)](requireModule,_0x58367c['ALdAo'],_0x58367c[_0x464ca0(0x266)]);}catch{_0x2fbf4c=_0x58367c[_0x464ca0(0x1db)](requireModule,_0x58367c[_0x464ca0(0x266)]);}let _0x645f8b;try{_0x645f8b=_0x58367c[_0x464ca0(0x1f0)](requireModule,_0x58367c[_0x464ca0(0x229)],_0x58367c['Tqrhn'])['makeSingleTestResult'];}catch{_0x645f8b=_0x58367c['eUYpe'](requireModule,_0x58367c[_0x464ca0(0x266)])[_0x464ca0(0x1fa)]||(()=>({}));}const _0x5e590b=BrowserstackCLI[_0x464ca0(0x232)]()[_0x464ca0(0x1b1)]();(_0x58367c[_0x464ca0(0x2ae)](shouldProcessEventForTesthub)||_0x5e590b)&&_0x2fbf4c[_0x464ca0(0x288)](_0x58367c[_0x464ca0(0x1e4)](o11yErrorHandler,async(_0x24c2a3,_0x825110)=>{const _0x12df10=_0x464ca0,_0x5d8d54={'lMkEY':function(_0x34afe1,_0x1e2578){const _0x123535=a21_0x28a5;return _0x58367c[_0x123535(0x1f4)](_0x34afe1,_0x1e2578);}};_0x58367c[_0x12df10(0x2c3)](_currentTestPath,_0x24c2a3)&&_0x24c2a3[_0x12df10(0x20b)]&&!_0x24c2a3['test'][_0x12df10(0x24c)]&&(_0x24c2a3[_0x12df10(0x20b)][_0x12df10(0x24c)]=_currentTestPath);switch(_0x24c2a3['name']){case _0x58367c[_0x12df10(0x21f)]:if(_0x24c2a3['hook']['fn']&&_0x24c2a3[_0x12df10(0x2a4)]['fn'][_0x12df10(0x23c)]()[_0x12df10(0x215)](/browserstack internal helper hook/))break;if(_0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x277)]&&_0x58367c[_0x12df10(0x294)](_0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x277)][_0x12df10(0x1b8)],_0x58367c[_0x12df10(0x284)])){const _0x3075b5=_0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x21d)]&&((()=>{const _0x4059ea=_0x12df10;try{const _0xed12ae=_0x58367c[_0x4059ea(0x1f4)](require,_0x58367c[_0x4059ea(0x1ce)]),_0x1513f5=_0xed12ae['parse']['call'](_0xed12ae,_0x24c2a3[_0x4059ea(0x2a4)][_0x4059ea(0x21d)]);return _0x1513f5[0x0]&&_0x1513f5[0x0][_0x4059ea(0x22f)]?_0x1513f5[0x0]['getFileName']():null;}catch(_0xbc307c){return logger['debug'](_0x4059ea(0x26c)+_0xbc307c['message']),null;}})())||_0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x24c)]||null;if(!_0x3075b5)break;}if(BrowserstackCLI[_0x12df10(0x232)]()[_0x12df10(0x1b1)]()&&await _0x58367c['uaPlO'](isCLIReady)){if(_0x58367c[_0x12df10(0x23f)](shouldProcessEventForTesthub,testHubConstants['EVENT']['HookStarted']))try{await _0x58367c[_0x12df10(0x244)](handleHookEventCLI,_0x24c2a3[_0x12df10(0x2a4)],_0x58367c[_0x12df10(0x23d)],_0x825110);break;}catch(_0x333ec0){_0x58367c[_0x12df10(0x2b9)](debug,_0x12df10(0x254)+util['format'](_0x333ec0));}}if(_0x58367c[_0x12df10(0x23f)](shouldProcessEventForTesthub,testHubConstants[_0x12df10(0x1f5)][_0x12df10(0x29f)])){if(!_0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x224)]){const _0x41e345=TestDetails['setTestUUID'](process[_0x12df10(0x22e)]+_0x12df10(0x273));_0x24c2a3[_0x12df10(0x2a4)]['hookAnalyticsId']=_0x41e345;}else _0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x249)]&&(_0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x224)]=TestDetails[_0x12df10(0x270)](process['pid']+':hookAnalyticsId'),delete _0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x249)]);_0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x1bf)]=new Date()[_0x12df10(0x222)](),await _0x5ec5e0[_0x12df10(0x2b0)](_0x24c2a3['hook'],undefined,![],_0x58367c['Rsesx']);}break;case _0x58367c[_0x12df10(0x251)]:if(BrowserstackCLI[_0x12df10(0x232)]()[_0x12df10(0x1b1)]()&&await _0x58367c['jstva'](isCLIReady)){if(_0x58367c[_0x12df10(0x1e0)](shouldProcessEventForTesthub,testHubConstants[_0x12df10(0x1f5)][_0x12df10(0x1ea)]))try{await _0x58367c[_0x12df10(0x244)](handleHookEventCLI,_0x24c2a3[_0x12df10(0x2a4)],_0x58367c['oONcG'],_0x825110);break;}catch(_0x22adc0){_0x58367c[_0x12df10(0x23f)](debug,_0x12df10(0x254)+util[_0x12df10(0x252)](_0x22adc0));}}_0x58367c['NgZEl'](shouldProcessEventForTesthub,testHubConstants[_0x12df10(0x1f5)][_0x12df10(0x1ea)])&&(await _0x5ec5e0[_0x12df10(0x2b0)](_0x24c2a3['hook'],undefined,![],_0x58367c[_0x12df10(0x2b1)]),TestDetails['removeTestUUID'](process[_0x12df10(0x22e)]+_0x12df10(0x273)));break;case _0x58367c['cIRmu']:[_0x58367c[_0x12df10(0x1b4)],_0x58367c['RyMDx'],_0x58367c[_0x12df10(0x25d)]][_0x12df10(0x226)](_0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x1cd)])&&(_0x5ec5e0[_0x12df10(0x1f8)]=_0x24c2a3[_0x12df10(0x2a4)][_0x12df10(0x1cd)]),_0x825110[_0x12df10(0x2ad)]&&_0x58367c[_0x12df10(0x296)](_0x825110[_0x12df10(0x2ad)][_0x12df10(0x24e)],0x0)&&(_0x24c2a3[_0x12df10(0x2a4)]['errorsDetailed']=[_0x825110[_0x12df10(0x2ad)][0x0][0x0]]);if(BrowserstackCLI[_0x12df10(0x232)]()[_0x12df10(0x1b1)]()&&await _0x58367c[_0x12df10(0x1d2)](isCLIReady)){if(_0x58367c[_0x12df10(0x27e)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x12df10(0x1ea)]))try{await _0x58367c[_0x12df10(0x1bb)](handleHookEventCLI,_0x24c2a3[_0x12df10(0x2a4)],_0x58367c[_0x12df10(0x2b1)],_0x825110);break;}catch(_0x4142d8){_0x58367c[_0x12df10(0x1f4)](debug,_0x12df10(0x254)+util[_0x12df10(0x252)](_0x4142d8));}}_0x58367c['sJEKn'](shouldProcessEventForTesthub,testHubConstants[_0x12df10(0x1f5)][_0x12df10(0x1ea)])&&(await _0x5ec5e0[_0x12df10(0x2b0)](_0x24c2a3['hook'],undefined,![],_0x58367c[_0x12df10(0x2b1)]),TestDetails['removeTestUUID'](process[_0x12df10(0x22e)]+_0x12df10(0x273)));break;case _0x58367c[_0x12df10(0x299)]:if(_0x58367c[_0x12df10(0x228)](isTrue,process['env'][_0x12df10(0x1e5)])&&_0x58367c[_0x12df10(0x27e)](isPhantomSkipFromNameFilter,_0x24c2a3['test'])){const _0x59148a=_0x58367c[_0x12df10(0x2bf)](getFullJestTestName,_0x24c2a3[_0x12df10(0x20b)]);logger[_0x12df10(0x1f1)](_0x12df10(0x258)+_0x59148a+'\x22');break;}try{let _0x4818c2=_0x24c2a3[_0x12df10(0x20b)][_0x12df10(0x1b8)]||'';try{let _0x360063=_0x24c2a3[_0x12df10(0x20b)][_0x12df10(0x277)];const _0x740d83=[_0x4818c2];while(_0x360063&&_0x360063[_0x12df10(0x1b8)]&&_0x58367c['KBtOH'](_0x360063[_0x12df10(0x1b8)],_0x58367c[_0x12df10(0x284)])){_0x740d83[_0x12df10(0x208)](_0x360063[_0x12df10(0x1b8)]),_0x360063=_0x360063[_0x12df10(0x277)];}_0x4818c2=_0x740d83[_0x12df10(0x23b)](_0x58367c[_0x12df10(0x263)]);}catch(_0x363dc5){logger['debug'](_0x12df10(0x217)+_0x363dc5[_0x12df10(0x268)]);}process[_0x12df10(0x20c)]=_0x4818c2,process[_0x12df10(0x278)]=null,process[_0x12df10(0x2af)]=null,logger[_0x12df10(0x1f1)](_0x12df10(0x1f3)+_0x4818c2+'\x22');if(!global[_0x12df10(0x220)]){const _0x158b88={};_0x158b88[_0x12df10(0x2c1)]={},global[_0x12df10(0x220)]=_0x158b88;}!global[_0x12df10(0x220)][_0x12df10(0x2c1)]&&(global[_0x12df10(0x220)][_0x12df10(0x2c1)]={});const _0x55c1a7={};_0x55c1a7[_0x12df10(0x212)]=_0x4818c2,_0x55c1a7['name']=_0x4818c2,global[_0x12df10(0x220)]['currentTest'][_0x12df10(0x2ac)]=_0x55c1a7,global['browserstackTestName']=_0x4818c2;}catch(_0x496c2f){logger[_0x12df10(0x1f1)]('[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20'+_0x496c2f[_0x12df10(0x268)]);}if(BrowserstackCLI[_0x12df10(0x232)]()['isCliEnabled']()&&await _0x58367c[_0x12df10(0x22b)](isCLIReady))try{await _0x58367c[_0x12df10(0x26a)](handleTestEventCLI,_0x24c2a3['test'],_0x58367c[_0x12df10(0x1c5)],_0x5ec5e0);break;}catch(_0x298db6){_0x58367c[_0x12df10(0x26d)](debug,_0x12df10(0x254)+util[_0x12df10(0x252)](_0x298db6));}_0x58367c[_0x12df10(0x1d2)](shouldProcessEventForTesthub)&&await _0x5ec5e0['testStarted'](_0x24c2a3['test']);break;case _0x58367c[_0x12df10(0x28b)]:{const _0xbb10af=_0x24c2a3[_0x12df10(0x20b)];if(_0x58367c[_0x12df10(0x27e)](isTrue,process['env'][_0x12df10(0x1e5)])&&_0x58367c[_0x12df10(0x23f)](isPhantomSkipFromNameFilter,_0xbb10af)){const _0xfdf6c7=_0x58367c[_0x12df10(0x20e)](getFullJestTestName,_0xbb10af);logger[_0x12df10(0x1f1)](_0x12df10(0x1cb)+_0xfdf6c7+'\x22'),_0xbb10af[_0x12df10(0x249)]=!![];break;}_0x24c2a3[_0x12df10(0x20b)]={..._0x58367c[_0x12df10(0x240)](_0x645f8b,_0x24c2a3[_0x12df10(0x20b)]),..._0x24c2a3[_0x12df10(0x20b)]};try{const _0x51a539=_0x24c2a3['test'][_0x12df10(0x1e1)]||[],_0x2158b1=_0x58367c[_0x12df10(0x24a)](_0x51a539['length'],0x0)||_0x58367c[_0x12df10(0x281)](_0x24c2a3[_0x12df10(0x20b)]['status'],_0x58367c[_0x12df10(0x28d)]),_0x5ba71c=_0x2158b1?_0x58367c[_0x12df10(0x271)]:_0x58367c['RZpVz'];let _0x495ef0='';_0x2158b1&&(_0x495ef0=_0x51a539[_0x12df10(0x22c)](_0x4a4ce0=>{const _0x139c34=_0x12df10;if(Array[_0x139c34(0x1d7)](_0x4a4ce0))return _0x4a4ce0[_0x139c34(0x22c)](_0x1b3927=>_0x1b3927&&_0x1b3927[_0x139c34(0x268)]||String(_0x1b3927))['join'](';\x20');return _0x4a4ce0&&_0x4a4ce0[_0x139c34(0x268)]||_0x5d8d54[_0x139c34(0x204)](String,_0x4a4ce0);})[_0x12df10(0x23b)](';\x20')),process['_bstackTestStatus']=_0x5ba71c,process['_bstackTestFailureReason']=_0x58367c['uGyAS'](_0x495ef0,''),logger['debug']('[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22'+_0x5ba71c+'\x22'),global['__workerDetails']&&global['__workerDetails']['currentTest']&&(!global[_0x12df10(0x220)][_0x12df10(0x2c1)][_0x12df10(0x2ac)]&&(global[_0x12df10(0x220)][_0x12df10(0x2c1)][_0x12df10(0x2ac)]={}),global[_0x12df10(0x220)][_0x12df10(0x2c1)][_0x12df10(0x2ac)][_0x12df10(0x26b)]=_0x5ba71c,_0x2158b1&&(global[_0x12df10(0x220)][_0x12df10(0x2c1)][_0x12df10(0x2ac)]['failureMessage']=_0x495ef0));}catch(_0x32ca06){logger[_0x12df10(0x1f1)](_0x12df10(0x2b5)+_0x32ca06[_0x12df10(0x268)]);}if(!_0x24c2a3[_0x12df10(0x20b)][_0x12df10(0x249)]){_0x24c2a3[_0x12df10(0x20b)][_0x12df10(0x249)]=!![];if(BrowserstackCLI['getInstance']()[_0x12df10(0x1b1)]()&&await _0x58367c[_0x12df10(0x1df)](isCLIReady))try{await _0x58367c['RJsIQ'](handleTestEventCLI,_0x24c2a3[_0x12df10(0x20b)],_0x58367c[_0x12df10(0x209)],_0x5ec5e0);break;}catch(_0x7d4e41){_0x58367c[_0x12df10(0x289)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x12df10(0x252)](_0x7d4e41));}_0x58367c[_0x12df10(0x297)](shouldProcessEventForTesthub)&&await _0x5ec5e0[_0x12df10(0x2b0)](_0x24c2a3[_0x12df10(0x20b)]);}break;}case _0x58367c[_0x12df10(0x23e)]:{const _0x4ab02d=_0x24c2a3['test'];if(_0x58367c[_0x12df10(0x216)](isTrue,process['env'][_0x12df10(0x1e5)])&&_0x58367c['UrdBP'](isPhantomSkipFromNameFilter,_0x4ab02d)){const _0x5690e0=_0x58367c['UsvQo'](getFullJestTestName,_0x4ab02d);logger[_0x12df10(0x1f1)](_0x12df10(0x259)+_0x5690e0+'\x22'),_0x4ab02d[_0x12df10(0x249)]=!![];break;}_0x24c2a3['test']={..._0x58367c[_0x12df10(0x27e)](_0x645f8b,_0x24c2a3[_0x12df10(0x20b)]),..._0x24c2a3['test']};if(!_0x24c2a3[_0x12df10(0x20b)]['markedStatus']){_0x24c2a3[_0x12df10(0x20b)]['markedStatus']=!![];if(BrowserstackCLI['getInstance']()[_0x12df10(0x1b1)]()&&await _0x58367c[_0x12df10(0x1df)](isCLIReady))try{await _0x58367c['GlKxb'](handleTestEventCLI,_0x24c2a3['test'],_0x58367c['YdEnO'],_0x5ec5e0);break;}catch(_0x54ce1a){_0x58367c[_0x12df10(0x228)](debug,_0x12df10(0x254)+util[_0x12df10(0x252)](_0x54ce1a));}_0x58367c[_0x12df10(0x297)](shouldProcessEventForTesthub)&&await _0x5ec5e0[_0x12df10(0x2b0)](_0x24c2a3['test'],undefined,![],_0x58367c['YdEnO']);}break;}case _0x58367c['fxLwU']:_0x5ec5e0[_0x12df10(0x1f8)]=null;break;case _0x58367c[_0x12df10(0x1d8)]:await RequestQueueHandler[_0x12df10(0x232)]()[_0x12df10(0x269)](),process[_0x12df10(0x1c1)]();break;default:}},_0x58367c[_0x464ca0(0x1c2)]));}catch(_0x54529d){_0x58367c['GesyE'](debug,_0x464ca0(0x1dc)+_0x54529d);}return _0x58367c['NgZEl'](initInitialize,..._0x2d1612);};try{Object[a21_0x4b1153(0x27a)](exportsI)[a21_0x4b1153(0x1e7)](_0x3639e0=>{const _0x134ef0=a21_0x4b1153,_0x40ecfb={'jUIkb':function(_0x4551c9,_0x59ff34){return _0x4551c9(_0x59ff34);}};try{exports&&(exports[_0x3639e0]=exportsI[_0x3639e0]);}catch(_0x5a7ddc){_0x40ecfb[_0x134ef0(0x206)](debug,_0x134ef0(0x24d)+_0x5a7ddc);}});}catch(a21_0x5c8d9d){debug(a21_0x4b1153(0x29d)+a21_0x5c8d9d);}const a21_0x8232b0={};a21_0x8232b0[a21_0x4b1153(0x205)]=getFullJestTestName,a21_0x8232b0['getActiveTestNamePattern']=getActiveTestNamePattern,a21_0x8232b0[a21_0x4b1153(0x1eb)]=isPhantomSkipFromNameFilter,exports[a21_0x4b1153(0x21b)]=a21_0x8232b0;
@@ -1 +1 @@
1
- const a22_0x5541df=a22_0x2cbf;(function(_0x2624f5,_0x2047ea){const _0x145979=a22_0x2cbf,_0x2d3754=_0x2624f5();while(!![]){try{const _0x30b5e0=parseInt(_0x145979(0x129))/0x1*(parseInt(_0x145979(0x12f))/0x2)+parseInt(_0x145979(0x127))/0x3+parseInt(_0x145979(0x124))/0x4*(-parseInt(_0x145979(0x121))/0x5)+parseInt(_0x145979(0x128))/0x6+parseInt(_0x145979(0x122))/0x7+parseInt(_0x145979(0x12e))/0x8*(-parseInt(_0x145979(0x11f))/0x9)+parseInt(_0x145979(0x132))/0xa;if(_0x30b5e0===_0x2047ea)break;else _0x2d3754['push'](_0x2d3754['shift']());}catch(_0x296a9f){_0x2d3754['push'](_0x2d3754['shift']());}}}(a22_0x5532,0x2eda1));function a22_0x5532(){const _0x49160b=['path','env','exports','@jest/test-sequencer','133064RTBktm','12obRKZt','split','default','1576370fCMqin','filter','153bzCkIU','includes','1815UOsdFN','128996pSYkJZ','JEST_TEST_ORDER','3036igPocV','map','sort','429420tyoNYf','2137272CcMVlH','12461erfclG'];a22_0x5532=function(){return _0x49160b;};return a22_0x5532();}function a22_0x2cbf(_0x4c5200,_0x32ee2f){const _0x5532a6=a22_0x5532();return a22_0x2cbf=function(_0x2cbf57,_0x19c42a){_0x2cbf57=_0x2cbf57-0x11f;let _0x28904f=_0x5532a6[_0x2cbf57];return _0x28904f;},a22_0x2cbf(_0x4c5200,_0x32ee2f);}const Sequencer=require(a22_0x5541df(0x12d))[a22_0x5541df(0x131)];class CustomSequencer extends Sequencer{[a22_0x5541df(0x126)](_0x455571){const _0x2ff7a2=a22_0x5541df,_0x5ef9b9=process[_0x2ff7a2(0x12b)][_0x2ff7a2(0x123)];if(!_0x5ef9b9)return _0x455571;const _0x5969b2=_0x5ef9b9[_0x2ff7a2(0x130)](','),_0x362e2c=new Map(_0x455571[_0x2ff7a2(0x133)](_0x48d2eb=>_0x5969b2[_0x2ff7a2(0x120)](_0x48d2eb['path']))[_0x2ff7a2(0x125)](_0x1a847a=>[_0x1a847a[_0x2ff7a2(0x12a)],_0x1a847a]));return _0x5969b2['map'](_0x293e98=>_0x362e2c['get'](_0x293e98))[_0x2ff7a2(0x133)](Boolean);}}module[a22_0x5541df(0x12c)]=CustomSequencer;
1
+ const a22_0x491cb3=a22_0x182a;(function(_0xa13889,_0x56cdb0){const _0x244eb6=a22_0x182a,_0x384efe=_0xa13889();while(!![]){try{const _0x3937b6=parseInt(_0x244eb6(0x172))/0x1+-parseInt(_0x244eb6(0x16c))/0x2*(-parseInt(_0x244eb6(0x176))/0x3)+parseInt(_0x244eb6(0x168))/0x4+-parseInt(_0x244eb6(0x170))/0x5+-parseInt(_0x244eb6(0x164))/0x6+-parseInt(_0x244eb6(0x169))/0x7*(parseInt(_0x244eb6(0x166))/0x8)+parseInt(_0x244eb6(0x163))/0x9*(parseInt(_0x244eb6(0x173))/0xa);if(_0x3937b6===_0x56cdb0)break;else _0x384efe['push'](_0x384efe['shift']());}catch(_0x2ebb35){_0x384efe['push'](_0x384efe['shift']());}}}(a22_0xfb30,0x62f51));const Sequencer=require(a22_0x491cb3(0x177))[a22_0x491cb3(0x16d)];function a22_0xfb30(){const _0xbbb33b=['default','split','exports','741880bHRxlM','path','72079UfnEVC','110gVYhMi','JEST_TEST_ORDER','get','257208oWXcwA','@jest/test-sequencer','356931VwOhbn','4584342xrGMal','map','12392Nufrcz','sort','2582828LYimZB','35EGicEO','includes','filter','4vlpEmK'];a22_0xfb30=function(){return _0xbbb33b;};return a22_0xfb30();}function a22_0x182a(_0x56760e,_0x53d271){const _0xfb300=a22_0xfb30();return a22_0x182a=function(_0x182a9d,_0x547057){_0x182a9d=_0x182a9d-0x163;let _0x5a12c3=_0xfb300[_0x182a9d];return _0x5a12c3;},a22_0x182a(_0x56760e,_0x53d271);}class CustomSequencer extends Sequencer{[a22_0x491cb3(0x167)](_0x179d7e){const _0x8befe=a22_0x491cb3,_0x3c4823=process['env'][_0x8befe(0x174)];if(!_0x3c4823)return _0x179d7e;const _0x165038=_0x3c4823[_0x8befe(0x16e)](','),_0x2ff42d=new Map(_0x179d7e['filter'](_0x86de63=>_0x165038[_0x8befe(0x16a)](_0x86de63[_0x8befe(0x171)]))[_0x8befe(0x165)](_0x22cd30=>[_0x22cd30[_0x8befe(0x171)],_0x22cd30]));return _0x165038[_0x8befe(0x165)](_0x44133a=>_0x2ff42d[_0x8befe(0x175)](_0x44133a))[_0x8befe(0x16b)](Boolean);}}module[a22_0x491cb3(0x16f)]=CustomSequencer;
@@ -1 +1 @@
1
- 'use strict';const a23_0x5c6331=a23_0x2395;(function(_0x25d3a4,_0x478488){const _0x1a55c1=a23_0x2395,_0x269cea=_0x25d3a4();while(!![]){try{const _0x1aaba6=-parseInt(_0x1a55c1(0x190))/0x1*(-parseInt(_0x1a55c1(0x18a))/0x2)+parseInt(_0x1a55c1(0x189))/0x3+parseInt(_0x1a55c1(0x193))/0x4+-parseInt(_0x1a55c1(0x17d))/0x5+-parseInt(_0x1a55c1(0x18c))/0x6*(-parseInt(_0x1a55c1(0x196))/0x7)+-parseInt(_0x1a55c1(0x18f))/0x8+-parseInt(_0x1a55c1(0x185))/0x9;if(_0x1aaba6===_0x478488)break;else _0x269cea['push'](_0x269cea['shift']());}catch(_0x3e9f8e){_0x269cea['push'](_0x269cea['shift']());}}}(a23_0x345f,0xdb49e));const {requireModule,isBrowserstackInfra}=require(a23_0x5c6331(0x17f)),a23_0x4b22b8={};function a23_0x2395(_0x3fa864,_0x564776){const _0x345fed=a23_0x345f();return a23_0x2395=function(_0x23957f,_0x2394c6){_0x23957f=_0x23957f-0x177;let _0xf4e232=_0x345fed[_0x23957f];return _0xf4e232;},a23_0x2395(_0x3fa864,_0x564776);}a23_0x4b22b8[a23_0x5c6331(0x179)]=!![],Object[a23_0x5c6331(0x17c)](exports,a23_0x5c6331(0x188),a23_0x4b22b8),exports[a23_0x5c6331(0x18e)]=void 0x0;function _interopRequireDefault(_0x2e91b7){return _0x2e91b7&&_0x2e91b7['__esModule']?_0x2e91b7:{'default':_0x2e91b7};};const runnerModule=process[a23_0x5c6331(0x177)][a23_0x5c6331(0x182)]||a23_0x5c6331(0x180),JestRunner=_interopRequireDefault(requireModule(runnerModule))[a23_0x5c6331(0x18e)];class TestRunner extends JestRunner{constructor(..._0x51f41c){super(..._0x51f41c);}[a23_0x5c6331(0x191)](..._0x27627b){const _0x3499c4=a23_0x5c6331,_0x162910={'GUEiN':function(_0x343f5c){return _0x343f5c();},'CACnz':function(_0x485ec3,_0x466cd8){return _0x485ec3-_0x466cd8;},'gGmoL':function(_0x5b492c,_0x3e1396){return _0x5b492c*_0x3e1396;},'sGLfZ':function(_0x4e1b2c,_0x28ebfa){return _0x4e1b2c===_0x28ebfa;},'nHqGr':_0x3499c4(0x181),'htCLG':function(_0x1c66b9,_0x2140bb){return _0x1c66b9<_0x2140bb;}};if(!_0x162910[_0x3499c4(0x195)](isBrowserstackInfra))return super[_0x3499c4(0x191)](..._0x27627b);const _0x57853c=_0x27627b[0x0],_0x2f790c=_0x27627b[_0x162910[_0x3499c4(0x19c)](_0x27627b[_0x3499c4(0x186)],0x1)],_0x1d07b5=_0x57853c[0x0]['context']['config'][_0x3499c4(0x18b)][_0x3499c4(0x19b)],_0x3859e3=_0x57853c[0x0][_0x3499c4(0x17b)][_0x3499c4(0x18d)][_0x3499c4(0x18b)][_0x3499c4(0x17a)];_0x3859e3&&(this[_0x3499c4(0x17e)]=Object[_0x3499c4(0x19a)]({...this[_0x3499c4(0x17e)],'maxWorkers':_0x162910[_0x3499c4(0x199)](_0x3859e3,_0x1d07b5[_0x3499c4(0x186)])}));_0x162910['sGLfZ'](_0x57853c[0x0]['context'][_0x3499c4(0x18d)][_0x3499c4(0x18b)][_0x3499c4(0x184)],_0x162910[_0x3499c4(0x197)])&&(_0x2f790c&&(_0x2f790c[_0x3499c4(0x194)]=![]));const _0x501527=[];for(let _0x150e27=0x0;_0x162910[_0x3499c4(0x178)](_0x150e27,_0x57853c[_0x3499c4(0x186)]);_0x150e27++){const _0x256cca=[];_0x1d07b5[_0x3499c4(0x198)]((_0x5343ea,_0x475eee)=>{const _0x5961b4=_0x3499c4,_0x1a645d={..._0x57853c[_0x150e27]},_0x2e6d9d=_0x1a645d;_0x2e6d9d[_0x5961b4(0x17b)]=Object[_0x5961b4(0x19a)]({..._0x2e6d9d[_0x5961b4(0x17b)],'config':{..._0x2e6d9d[_0x5961b4(0x17b)][_0x5961b4(0x18d)],'capability':_0x5343ea,'browserstackPlatformIndex':_0x475eee}}),_0x256cca[_0x5961b4(0x183)](_0x2e6d9d);}),_0x501527[_0x3499c4(0x183)](..._0x256cca);}return super[_0x3499c4(0x191)](_0x501527,..._0x27627b[_0x3499c4(0x187)](0x1));}}module[a23_0x5c6331(0x192)]=TestRunner;function a23_0x345f(){const _0x31226a=['138288zifuoc','26hDMlSi','testEnvironmentOptions','44946GHorJH','config','default','11985640BAXWkR','122656qjUEqp','runTests','exports','5583400AKWVSy','serial','GUEiN','602TALxvT','nHqGr','forEach','gGmoL','freeze','capabilities','CACnz','env','htCLG','value','parallels__','context','defineProperty','1715740glbowJ','_globalConfig','../../../helpers/helper','jest-runner','false','BSTACK_USER_JEST_RUNNER','push','serial__','8470269EdYaTM','length','slice','__esModule'];a23_0x345f=function(){return _0x31226a;};return a23_0x345f();}
1
+ 'use strict';const a23_0x3e0da9=a23_0x5238;(function(_0x2e64e4,_0x1f91ff){const _0x5c8625=a23_0x5238,_0xbc9e0=_0x2e64e4();while(!![]){try{const _0x49465e=-parseInt(_0x5c8625(0x129))/0x1+-parseInt(_0x5c8625(0x127))/0x2+parseInt(_0x5c8625(0x114))/0x3*(-parseInt(_0x5c8625(0x115))/0x4)+-parseInt(_0x5c8625(0x11f))/0x5*(parseInt(_0x5c8625(0x10f))/0x6)+-parseInt(_0x5c8625(0x123))/0x7+parseInt(_0x5c8625(0x124))/0x8+parseInt(_0x5c8625(0x11a))/0x9*(parseInt(_0x5c8625(0x11b))/0xa);if(_0x49465e===_0x1f91ff)break;else _0xbc9e0['push'](_0xbc9e0['shift']());}catch(_0x32b796){_0xbc9e0['push'](_0xbc9e0['shift']());}}}(a23_0x5636,0x4bb0f));function a23_0x5238(_0xadb08f,_0x167901){const _0x5636f7=a23_0x5636();return a23_0x5238=function(_0x52387a,_0x5210ac){_0x52387a=_0x52387a-0x10b;let _0x597e4f=_0x5636f7[_0x52387a];return _0x597e4f;},a23_0x5238(_0xadb08f,_0x167901);}const {requireModule,isBrowserstackInfra}=require(a23_0x3e0da9(0x11c)),a23_0x1d5b5f={};function a23_0x5636(){const _0x6431a8=['testEnvironmentOptions','54JGVNfs','1319710ugliif','../../../helpers/helper','__esModule','config','1297090WRChHA','env','runTests','length','1385041qMTWeh','3297024GajIGX','fWJQu','BSTACK_USER_JEST_RUNNER','113514IkHBcv','exports','206685KCugsj','serial','jest-runner','_globalConfig','context','serial__','6ptCCaf','parallels__','freeze','HeLDF','push','103920bZHEnL','20bXfnHX','DhDpt','default','forEach'];a23_0x5636=function(){return _0x6431a8;};return a23_0x5636();}a23_0x1d5b5f['value']=!![],Object['defineProperty'](exports,'__esModule',a23_0x1d5b5f),exports[a23_0x3e0da9(0x117)]=void 0x0;function _interopRequireDefault(_0x4757b2){const _0x181526=a23_0x3e0da9;return _0x4757b2&&_0x4757b2[_0x181526(0x11d)]?_0x4757b2:{'default':_0x4757b2};};const runnerModule=process[a23_0x3e0da9(0x120)][a23_0x3e0da9(0x126)]||a23_0x3e0da9(0x10b),JestRunner=_interopRequireDefault(requireModule(runnerModule))['default'];class TestRunner extends JestRunner{constructor(..._0x466be7){super(..._0x466be7);}['runTests'](..._0x13b1d6){const _0x4b4765=a23_0x3e0da9,_0x237f28={'sBQQt':function(_0x322189){return _0x322189();},'fWJQu':function(_0x321944,_0x2dd708){return _0x321944-_0x2dd708;},'DhDpt':function(_0x57a7fc,_0x1dda63){return _0x57a7fc*_0x1dda63;},'HeLDF':function(_0x501e84,_0x318091){return _0x501e84===_0x318091;},'dXuBD':'false','shfNs':function(_0x381bba,_0x413682){return _0x381bba<_0x413682;}};if(!_0x237f28['sBQQt'](isBrowserstackInfra))return super[_0x4b4765(0x121)](..._0x13b1d6);const _0x48fa81=_0x13b1d6[0x0],_0x2d0ce7=_0x13b1d6[_0x237f28[_0x4b4765(0x125)](_0x13b1d6[_0x4b4765(0x122)],0x1)],_0x31144d=_0x48fa81[0x0][_0x4b4765(0x10d)][_0x4b4765(0x11e)]['testEnvironmentOptions']['capabilities'],_0x33ede6=_0x48fa81[0x0][_0x4b4765(0x10d)][_0x4b4765(0x11e)][_0x4b4765(0x119)][_0x4b4765(0x110)];_0x33ede6&&(this['_globalConfig']=Object[_0x4b4765(0x111)]({...this[_0x4b4765(0x10c)],'maxWorkers':_0x237f28[_0x4b4765(0x116)](_0x33ede6,_0x31144d[_0x4b4765(0x122)])}));_0x237f28[_0x4b4765(0x112)](_0x48fa81[0x0][_0x4b4765(0x10d)]['config']['testEnvironmentOptions'][_0x4b4765(0x10e)],_0x237f28['dXuBD'])&&(_0x2d0ce7&&(_0x2d0ce7[_0x4b4765(0x12a)]=![]));const _0x2f387e=[];for(let _0x2144c0=0x0;_0x237f28['shfNs'](_0x2144c0,_0x48fa81[_0x4b4765(0x122)]);_0x2144c0++){const _0x1628f8=[];_0x31144d[_0x4b4765(0x118)]((_0x465fe9,_0x51e061)=>{const _0x3e8391=_0x4b4765,_0x26018d={..._0x48fa81[_0x2144c0]},_0x34919f=_0x26018d;_0x34919f[_0x3e8391(0x10d)]=Object[_0x3e8391(0x111)]({..._0x34919f[_0x3e8391(0x10d)],'config':{..._0x34919f[_0x3e8391(0x10d)][_0x3e8391(0x11e)],'capability':_0x465fe9,'browserstackPlatformIndex':_0x51e061}}),_0x1628f8[_0x3e8391(0x113)](_0x34919f);}),_0x2f387e[_0x4b4765(0x113)](..._0x1628f8);}return super[_0x4b4765(0x121)](_0x2f387e,..._0x13b1d6['slice'](0x1));}}module[a23_0x3e0da9(0x128)]=TestRunner;