browserstack-node-sdk 1.64.3 → 1.65.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) 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/generated/sdk-messages-accessibility_pb.d.ts +70 -0
  41. package/generated/sdk-messages-accessibility_pb.js +545 -1
  42. package/generated/sdk_grpc_pb.d.ts +5 -0
  43. package/generated/sdk_grpc_pb.js +33 -0
  44. package/package.json +3 -3
  45. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  46. package/src/bin/codeceptjs/command.js +1 -1
  47. package/src/bin/codeceptjs/helper.js +1 -1
  48. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  49. package/src/bin/cucumber-js/command.js +1 -1
  50. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  51. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  52. package/src/bin/cucumber-js/test-observability.js +1 -1
  53. package/src/bin/cucumber-js/test.setup.js +1 -1
  54. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  55. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  56. package/src/bin/integrations/command.js +1 -1
  57. package/src/bin/integrations/constants.js +1 -1
  58. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  59. package/src/bin/jasmine/command.js +1 -1
  60. package/src/bin/jasmine/test.setup.js +1 -1
  61. package/src/bin/jasmine/testRunMap.js +1 -1
  62. package/src/bin/jest/command.js +1 -1
  63. package/src/bin/jest/customImplements/customCircus.js +1 -1
  64. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  65. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  66. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  67. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  68. package/src/bin/jest/jest.setup.js +1 -1
  69. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  70. package/src/bin/jest/test-observability/helper.js +1 -1
  71. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  72. package/src/bin/jest/test-observability/test-details.js +1 -1
  73. package/src/bin/jest/test.setup.js +1 -1
  74. package/src/bin/jest/test_before.setup.js +1 -1
  75. package/src/bin/launcher/launcher.js +1 -1
  76. package/src/bin/load/index.js +1 -1
  77. package/src/bin/load/loadErrors.js +1 -1
  78. package/src/bin/load/loadUtils.js +1 -1
  79. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  80. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  81. package/src/bin/mocha/command.js +1 -1
  82. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  83. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  84. package/src/bin/mocha/test.setup.js +1 -1
  85. package/src/bin/newman/command.js +1 -1
  86. package/src/bin/newman/helper.js +1 -1
  87. package/src/bin/newman/reporter/index.js +1 -1
  88. package/src/bin/newman/scriptRunner.js +1 -1
  89. package/src/bin/nightwatch/command.js +1 -1
  90. package/src/bin/node-generic/client.js +1 -0
  91. package/src/bin/playwright/accessibility-helper.js +1 -1
  92. package/src/bin/playwright/command.js +1 -1
  93. package/src/bin/playwright/globalSetup.js +1 -1
  94. package/src/bin/playwright/mock-process.js +1 -1
  95. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  96. package/src/bin/playwright/patches.js +1 -1
  97. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  98. package/src/bin/playwright/reporter/reporter.js +1 -1
  99. package/src/bin/playwright/reporter/test-details.js +1 -1
  100. package/src/bin/playwright/reporterArgs.js +1 -0
  101. package/src/bin/playwright/sessionDetails.js +1 -1
  102. package/src/bin/puppeteer/patches.js +1 -1
  103. package/src/bin/puppeteer/sessionDetails.js +1 -1
  104. package/src/bin/puppeteer/test.setup.js +1 -1
  105. package/src/bin/runner.js +1 -1
  106. package/src/bin/setup.js +1 -1
  107. package/src/bin/test-runner/index.js +1 -1
  108. package/src/bin/test-runner/runTest.js +1 -1
  109. package/src/bin/test-runner/testWorker.js +1 -1
  110. package/src/bin/testcafe/a11y-runner.js +1 -1
  111. package/src/bin/testcafe/command.js +1 -1
  112. package/src/bin/testcafe/reporter/index.js +1 -1
  113. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  114. package/src/bin/testcafe/session-registry.js +1 -1
  115. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  116. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  117. package/src/bin/testcafe/w3c-driver.js +1 -1
  118. package/src/bin/utils/apiUtilityMethods.js +1 -1
  119. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  120. package/src/bin/utils/constants.js +1 -1
  121. package/src/bin/utils/log4jsAppender.js +1 -1
  122. package/src/bin/utils/logPatcher.js +1 -1
  123. package/src/bin/utils/logReportingAPI.js +1 -1
  124. package/src/bin/utils/playwright-patcher.js +1 -1
  125. package/src/bin/utils/puppeteer-patcher.js +1 -1
  126. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  127. package/src/bin/utils/sharedUtils.js +1 -1
  128. package/src/bin/v2/TestInfo.js +1 -1
  129. package/src/bin/v2/browserstackCLI.js +1 -1
  130. package/src/bin/v2/cliUtils.js +1 -1
  131. package/src/bin/v2/customTagManager.js +1 -1
  132. package/src/bin/v2/eventDispatcher.js +1 -1
  133. package/src/bin/v2/framework/automationFramework.js +1 -1
  134. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  135. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  136. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  137. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  138. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  139. package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -0
  140. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  141. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  142. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  143. package/src/bin/v2/framework/testFramework.js +1 -1
  144. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  145. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  146. package/src/bin/v2/grpcClient.js +1 -1
  147. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  148. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  149. package/src/bin/v2/instances/trackedContext.js +1 -1
  150. package/src/bin/v2/instances/trackedInstance.js +1 -1
  151. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  152. package/src/bin/v2/modules/baseModule.js +1 -1
  153. package/src/bin/v2/modules/loadTestModule.js +1 -1
  154. package/src/bin/v2/modules/observabilityModule.js +1 -1
  155. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  156. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  157. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  158. package/src/bin/v2/modules/testhubModule.js +1 -1
  159. package/src/bin/v2/sdkErrorHandler.js +1 -1
  160. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  161. package/src/bin/v2/state/hookState.js +1 -1
  162. package/src/bin/v2/state/testFrameworkState.js +1 -1
  163. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  164. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  165. package/src/bin/v2/utils/jest-utils.js +1 -1
  166. package/src/bin/vanilla-js/command.js +1 -1
  167. package/src/browserStackSdk.js +1 -1
  168. package/src/helpers/BrowserStackSetup.js +1 -1
  169. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  170. package/src/helpers/accessibility-automation/constants.js +1 -1
  171. package/src/helpers/accessibility-automation/helper.js +1 -1
  172. package/src/helpers/accessibility-automation/scripts.js +1 -1
  173. package/src/helpers/ats/constants.js +1 -1
  174. package/src/helpers/ats/helper.js +1 -1
  175. package/src/helpers/caCertHelper.js +1 -1
  176. package/src/helpers/capsMapping.js +1 -1
  177. package/src/helpers/central-scanner/constants.js +1 -1
  178. package/src/helpers/central-scanner/helpers.js +1 -1
  179. package/src/helpers/classLogger.js +1 -1
  180. package/src/helpers/driverInitErrorReporter.js +1 -1
  181. package/src/helpers/globals.js +1 -1
  182. package/src/helpers/helper.js +1 -1
  183. package/src/helpers/logger.js +1 -1
  184. package/src/helpers/metadata.js +1 -1
  185. package/src/helpers/patchHelper.js +1 -1
  186. package/src/helpers/patchHelpers.js +1 -1
  187. package/src/helpers/percy/Percy.js +1 -1
  188. package/src/helpers/percy/PercyBinary.js +1 -1
  189. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  190. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  191. package/src/helpers/percy/PercySDK.js +1 -1
  192. package/src/helpers/percy/index.js +1 -1
  193. package/src/helpers/percy/utils.js +1 -1
  194. package/src/helpers/performance/constants.js +1 -1
  195. package/src/helpers/performance/performance-tester.js +1 -1
  196. package/src/helpers/playwright-helper.js +1 -1
  197. package/src/helpers/processHelper.js +1 -1
  198. package/src/helpers/puppeteer-helper.js +1 -1
  199. package/src/helpers/request-spy.js +1 -1
  200. package/src/helpers/setKeepAlive.js +1 -1
  201. package/src/helpers/stackFrameUtils.js +1 -1
  202. package/src/helpers/test-observability/constants.js +1 -1
  203. package/src/helpers/test-observability/error-handler.js +1 -1
  204. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  205. package/src/helpers/test-observability/sessionHandler.js +1 -1
  206. package/src/helpers/test-observability/utils.js +1 -1
  207. package/src/helpers/test-orchestration/constants.js +1 -1
  208. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  209. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  210. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  211. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  212. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  213. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  214. package/src/helpers/testhub/constants.js +1 -1
  215. package/src/helpers/testhub/testhubHandler.js +1 -1
  216. package/src/helpers/testhub/utils.js +1 -1
  217. package/src/helpers/utilities.js +1 -1
  218. package/src/helpers/w3cMapping.js +1 -1
  219. package/src/hubAllocationMethods.js +1 -1
  220. package/src/index.js +1 -1
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a17_0x5a139a=a17_0x4c81;(function(_0x40e627,_0x3dd465){const _0x34af5b=a17_0x4c81,_0x5c38fa=_0x40e627();while(!![]){try{const _0x44e062=-parseInt(_0x34af5b(0x239))/0x1+parseInt(_0x34af5b(0x221))/0x2*(-parseInt(_0x34af5b(0x1a3))/0x3)+-parseInt(_0x34af5b(0x1fe))/0x4*(parseInt(_0x34af5b(0x200))/0x5)+-parseInt(_0x34af5b(0x230))/0x6+-parseInt(_0x34af5b(0x26b))/0x7+-parseInt(_0x34af5b(0x204))/0x8*(parseInt(_0x34af5b(0x253))/0x9)+-parseInt(_0x34af5b(0x1e4))/0xa*(-parseInt(_0x34af5b(0x24d))/0xb);if(_0x44e062===_0x3dd465)break;else _0x5c38fa['push'](_0x5c38fa['shift']());}catch(_0x46a859){_0x5c38fa['push'](_0x5c38fa['shift']());}}}(a17_0x5a64,0xa140c));function a17_0x5a64(){const _0x2eefd9=['Deleting\x20','jest-config/build/readConfigFileAndSetRootDir.js','getInstance','../utils/clientTroubleshootingService','MODULE','OXalT','Found:\x20','isEmpty','isTestOrchestrationEnabled','RTEJb','../../helpers/performance/performance-tester','runner','bQcmQ','rlAre','setupFiles','qpmkl','readFileSync','\x20with\x20browserstack\x20jest\x20configs','accessibilityOptions','true','setupFilesAfterEnv','NyXrq','qLhRM','ykSfr','BSTACK_USER_JEST_RUNNER','assign','testEnvironmentOptions','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','148150bdgBDr','config','ucnnS','capabilities','Reodered\x20Test\x20Files:\x20','BROWSERSTACK_CAPABILITIES','runInBand','logLevel','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','../v2/browserstackCLI','../../helpers/test-observability/constants','launchBuild','setup','inherit',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','cwd','pYJxR','\x0a\x20\x20\x20\x20\x20\x20','parallels__','nGzXB','isUndefined','exitCode',';\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','moduleNameMapper','getErrorMessageFromResults','../../helpers/logger','564204NeRjbE','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','25SPOyUU','jest-runner-','format','../../helpers/accessibility-automation/helper','56jFdzaK','../../helpers/testhub/utils','QtUSM','win32','replace','const\x20config=','customImplements','isCliEnabled','cjs','jest.config.','SDK_SETUP','WLWaL','apply','abortBuildOnFailure','error','false','pPMGw','data-hooks.js','resolve','prepareCapabilities','mjs','Qsjem','Puppeteer\x20setup\x20error:\x20','tjWZC','uKTSM','isNotUndefined','cHiSt','RNjNG','test_before.setup.js','514874KWWeYt','useW3C','stop','BuJPl','shutdown','JEST','findTestFiles','/internal/$1','ajTEh','@playwright/test','arXQk','jest-circus','test.setup.js','failureThresholdCount','wDaDI','4516974qbChUf','setupBrowserstackLocal','env','info','hQJDu','proxySettings','RiVpY','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','testSequencer','1160302Jncvdo','ucALv','WrVFc','getPackageVersion','SDK_CLEANUP','package.json','length','shouldProcessEventForTesthub','hkQhY','browserStackLogLevel','HAvMF','Getting\x20your\x20jest\x20configs\x20from\x20package.json','ngnbp','join','xeqkG','USER_CONFIG_DETAILS_PATH','parse','message','recursive','isCLIEnabled','4213CnxLhF','Error\x20while\x20parsing\x20','filterBrowserstackArgs','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','errorMessage','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','1210563IxZYTw','jest_browserstack.config.js','jest.setup.js','platformCaps','IwMZg','getPackageType','kEEHW','BROWSERSTACK_TEST_OBSERVABILITY_YML','customCircus.js','../../helpers/percy/utils','retryTestsOnFailure','resolveModule','child_process','../../helpers/helper','testContextOptions','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','JrZGP','slice','maxWorkers','\x0amodule.exports\x20=\x20config;','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','kSvPr','./test-observability/helper','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','4769849cBqaXc','--config',';\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','^puppeteer-core/internal/(.*)','findIndex','child\x20process\x20exited\x20with\x20code\x20','debug','../utils/constants','skipSessionStatus','winstonLogger','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','uAigl','push','EsduU','workingDir','testObservability','finalExecution','platform','dirname','startsWith','testEnvironment','HPSLx','XbNfH','PyVgY','skipSessionName','isRunning','__isPuppeteerInstalled','splice','readInitialOptions','accessibility','../../helpers/BrowserStackSetup','../../helpers/playwright-helper','AJwVN','\x20:\x20','uFEzd','aMXOl','writeFileSync','XnkKp','JEST_TEST_ORDER','end','HvBhm','default','./test-observability/test-details','stringify','wgPjQ','Getting\x20your\x20jest\x20configs\x20from\x20','failFast','BROWSERSTACK_FRAMEWORK','playwright','close','xItRZ','BSTACK_JEST_TEST_ENV','PACKAGE_TYPE','@jest/core/build/ReporterDispatcher.js','requirePWModule','KvKfe','../../helpers/test-orchestration/testOrchestrationHandler','npx','FRAMEWORKS','9WBXaiM','unlinkSync','handleApp','parallelsPerPlatform','checkAccessibilityPlatformConfig','platforms','jest-config','Unable\x20to\x20find\x20jest-circus,\x20','kqjGJ','jest-runner','GzEIJ','isBrowserstackInfra','KWZMn','requireModule','../../helpers/test-observability/utils','printBuildLink',',\x20CLI\x20running:\x20','puppeteer','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','initialize','ROtjh','serial__','QAkzs','turboScaleUrl','exports','maxRetries','reporters','force','zarPq','bmgXJ','MSaZA','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','existsSync','VEPUl','test-observability','../../helpers/performance/constants','__isPlaywrightInstalled'];a17_0x5a64=function(){return _0x2eefd9;};return a17_0x5a64();}function a17_0x4c81(_0x3bf4bf,_0x2a2794){const _0x5a6493=a17_0x5a64();return a17_0x4c81=function(_0x4c8131,_0x4c8cf4){_0x4c8131=_0x4c8131-0x188;let _0x1e8a71=_0x5a6493[_0x4c8131];return _0x1e8a71;},a17_0x4c81(_0x3bf4bf,_0x2a2794);}const fs=require('fs'),path=require('path'),util=require('util'),{spawn}=require(a17_0x5a139a(0x25f)),logger=require(a17_0x5a139a(0x1fd))[a17_0x5a139a(0x274)],{default:BrowserStackSetup}=require(a17_0x5a139a(0x289)),helper=require(a17_0x5a139a(0x260)),utilities=require('../../helpers/utilities'),constants=require(a17_0x5a139a(0x272)),accessibilityHelper=require(a17_0x5a139a(0x203)),{updateTestRerunConfig}=require(a17_0x5a139a(0x269)),testOpsHelper=require(a17_0x5a139a(0x1b1)),{debug}=require(a17_0x5a139a(0x1b1)),TestDetails=require(a17_0x5a139a(0x192)),{getPercyOptions}=require(a17_0x5a139a(0x25c)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testhubUtils=require(a17_0x5a139a(0x205)),{FRAMEWORKS}=require(a17_0x5a139a(0x1ee)),PerformanceTester=require(a17_0x5a139a(0x1d2)),PerformanceEvents=require(a17_0x5a139a(0x1c6))['EVENTS'],TestOrchestrationHandler=require(a17_0x5a139a(0x1a0)),BrowserstackCLI=require(a17_0x5a139a(0x1ed)),{checkPwandBootstrapCli}=require(a17_0x5a139a(0x28a)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require('../../helpers/puppeteer-helper'),ClientTroubleShootingService=require(a17_0x5a139a(0x1cb)),{checkAccessibilityPlatformConfig}=require(a17_0x5a139a(0x203)),getUserJestConfigs=async(_0x34f5a6,_0x9432de)=>{const _0x4a83de=a17_0x5a139a,_0x80b5e6={'RTEJb':_0x4a83de(0x1c9),'uKTSM':_0x4a83de(0x1a9),'XnkKp':function(_0x4d5b73,_0x281d0f){return _0x4d5b73||_0x281d0f;},'WrVFc':function(_0xa5472a,_0x24ff59){return _0xa5472a(_0x24ff59);},'RiVpY':_0x4a83de(0x23e),'uFEzd':_0x4a83de(0x244),'qBaMi':_0x4a83de(0x218),'msEzt':_0x4a83de(0x20c),'XbNfH':'json'};let _0x13e2da;try{_0x13e2da=helper['requireModule'](_0x80b5e6[_0x4a83de(0x1d1)],_0x80b5e6[_0x4a83de(0x21c)]);}catch{const _0x3708a5=helper[_0x4a83de(0x1b0)](_0x80b5e6[_0x4a83de(0x21c)]);_0x13e2da={'default':async _0x583f94=>{const _0x19fa89=_0x4a83de,_0x4f6f9b=await _0x3708a5[_0x19fa89(0x287)](_0x583f94,{});return _0x4f6f9b[_0x19fa89(0x1e5)];}};}const _0x4f63ac=_0x9432de[_0x4a83de(0x26f)](_0x2302ab=>_0x2302ab===_0x4a83de(0x26c));if(!helper[_0x4a83de(0x1f8)](_0x34f5a6['config'])){logger[_0x4a83de(0x233)](_0x4a83de(0x195)+_0x34f5a6['config']),process['env'][_0x4a83de(0x248)]=_0x34f5a6[_0x4a83de(0x1e5)];const _0x51db74=await(0x0,_0x13e2da[_0x4a83de(0x191)])(path['resolve'](_0x34f5a6[_0x4a83de(0x1e5)]));return _0x9432de[_0x4a83de(0x286)](_0x4f63ac,0x2),_0x80b5e6[_0x4a83de(0x18d)](_0x51db74,{});}const _0x2eba16=_0x80b5e6[_0x4a83de(0x23b)](require,path[_0x4a83de(0x246)](process[_0x4a83de(0x1f3)](),_0x80b5e6[_0x4a83de(0x236)]));if(_0x2eba16['jest'])return logger['info'](_0x80b5e6[_0x4a83de(0x18a)]),_0x2eba16['jest'];const _0x58e55b=['js',_0x80b5e6['qBaMi'],_0x80b5e6['msEzt'],_0x80b5e6[_0x4a83de(0x281)],'ts'];for(const _0x26626a of _0x58e55b){const _0xb29d40=path[_0x4a83de(0x246)](process[_0x4a83de(0x1f3)](),_0x4a83de(0x20d)+_0x26626a);if(fs[_0x4a83de(0x1c3)](_0xb29d40)){process[_0x4a83de(0x232)][_0x4a83de(0x248)]=_0xb29d40;const _0x91ac1=await(0x0,_0x13e2da['default'])(_0xb29d40);return _0x91ac1;}}return{};},getSerial=(_0x250218,_0x1e6d90)=>{const _0xe28746=a17_0x5a139a,_0x52fc3c={};_0x52fc3c[_0xe28746(0x241)]=_0xe28746(0x1db),_0x52fc3c[_0xe28746(0x21b)]=function(_0x16eba0,_0x16023b){return _0x16eba0>_0x16023b;},_0x52fc3c[_0xe28746(0x247)]=_0xe28746(0x213);const _0x278406=_0x52fc3c;let _0x5f35f8=_0x278406[_0xe28746(0x241)];return _0x278406[_0xe28746(0x21b)](_0x250218['length'],0x1)&&(!_0x1e6d90[_0xe28746(0x1ea)]&&(helper[_0xe28746(0x1f8)](_0x1e6d90[_0xe28746(0x265)])||_0x278406[_0xe28746(0x21b)](_0x1e6d90[_0xe28746(0x265)],0x1)))&&(_0x5f35f8=_0x278406['xeqkG']),_0x5f35f8;},getMaxWorkers=(_0x17200c,_0x10e928,_0x4f5c76)=>{const _0x1004d1=a17_0x5a139a,_0x532fbd={'OXalT':function(_0x578dcf,_0x1d428b){return _0x578dcf(_0x1d428b);}};let _0x5cf725=0x1;if(!helper[_0x1004d1(0x1f8)](_0x10e928[_0x1004d1(0x1a6)]))_0x5cf725=_0x532fbd[_0x1004d1(0x1cd)](parseInt,_0x10e928['parallelsPerPlatform']);else{if(!helper[_0x1004d1(0x1f8)](_0x17200c[_0x1004d1(0x265)]))_0x5cf725=_0x17200c[_0x1004d1(0x265)];else!helper[_0x1004d1(0x1f8)](_0x4f5c76[_0x1004d1(0x265)])&&(_0x5cf725=_0x4f5c76[_0x1004d1(0x265)]);}return _0x5cf725;};async function run(_0x4a52fc,_0x132ab8,_0x3fd0fd){const _0x1ff25b=a17_0x5a139a,_0x23cbd9={'uAigl':'jest','EsduU':function(_0x178024,_0x42cd9f){return _0x178024(_0x42cd9f);},'HPSLx':_0x1ff25b(0x22a),'rlAre':function(_0x133bfb){return _0x133bfb();},'Qsjem':function(_0x46e529,_0x5e1634,_0x4e30af,_0x312934){return _0x46e529(_0x5e1634,_0x4e30af,_0x312934);},'xItRZ':function(_0x4ba82a,_0x5d8042,_0x5cb338,_0x175697){return _0x4ba82a(_0x5d8042,_0x5cb338,_0x175697);},'BuJPl':function(_0x2d58bc,_0x509357){return _0x2d58bc!=_0x509357;},'HvBhm':_0x1ff25b(0x1db),'MSaZA':function(_0x3b0ecb,_0x13a110,_0x526fe5){return _0x3b0ecb(_0x13a110,_0x526fe5);},'PyVgY':_0x1ff25b(0x262),'edWJG':function(_0xb47287,_0x506721){return _0xb47287(_0x506721);},'HAvMF':function(_0x476777,_0x3fb5cc){return _0x476777(_0x3fb5cc);},'KvKfe':_0x1ff25b(0x213),'zarPq':function(_0x247d60,_0x487c34,_0x542d7d){return _0x247d60(_0x487c34,_0x542d7d);},'aMXOl':function(_0x595058,_0x5cf872){return _0x595058*_0x5cf872;},'wDaDI':function(_0x5afc94,_0x348954){return _0x5afc94===_0x348954;},'pZFYH':'jest_browserstack.config.cjs','ngnbp':_0x1ff25b(0x254),'bmgXJ':_0x1ff25b(0x20a),'GzEIJ':'jest_browserstack_results.json','HVxdX':'customTestRunner.js','qpmkl':'customTestRunnerTemplate.js','buFlT':'customEnvironment.js','pPMGw':function(_0x1d9636,_0x22017e){return _0x1d9636!==_0x22017e;},'nGzXB':_0x1ff25b(0x1ac),'IwMZg':_0x1ff25b(0x201),'qLhRM':_0x1ff25b(0x255),'kSvPr':'customSequencer.js','QAkzs':_0x1ff25b(0x267),'ajTEh':_0x1ff25b(0x22c),'BPvuo':'jest-circus/build/runner.js','KWZMn':_0x1ff25b(0x1c5),'IKlWe':_0x1ff25b(0x215),'NyXrq':_0x1ff25b(0x25b),'wgPjQ':_0x1ff25b(0x220),'fnXGD':_0x1ff25b(0x1ec),'RNjNG':_0x1ff25b(0x198),'BhFLC':_0x1ff25b(0x1b5),'pYJxR':_0x1ff25b(0x22d),'JrZGP':_0x1ff25b(0x250),'VEPUl':function(_0x935fbd,_0x922710){return _0x935fbd&&_0x922710;},'AJwVN':'Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','ykSfr':_0x1ff25b(0x1b4),'ROtjh':'puppeteer-core/package.json','kEEHW':'default','MvERL':function(_0x107480,_0x55a318,_0x32f8e1){return _0x107480(_0x55a318,_0x32f8e1);},'QtUSM':_0x1ff25b(0x19d),'arXQk':'@jest/core','bQcmQ':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','hQJDu':function(_0x297f89,_0xfea062){return _0x297f89>_0xfea062;},'ucALv':_0x1ff25b(0x275),'cHiSt':'--config','qgxeA':_0x1ff25b(0x1a1),'ucnnS':function(_0x53dbb4,_0x5e8aa5){return _0x53dbb4===_0x5e8aa5;},'hGXQe':_0x1ff25b(0x207),'kqjGJ':_0x1ff25b(0x1f1),'WLWaL':_0x1ff25b(0x199)},_0x2119ad=helper[_0x1ff25b(0x23c)](_0x23cbd9[_0x1ff25b(0x280)]);global[_0x1ff25b(0x1c7)]=!!_0x2119ad;const _0x53f1d1=_0x23cbd9[_0x1ff25b(0x1d5)](getPuppeteerVersion);global[_0x1ff25b(0x285)]=!!_0x53f1d1;helper[_0x1ff25b(0x1ae)]()&&(await _0x3fd0fd[_0x1ff25b(0x1b6)](_0x4a52fc),await helper[_0x1ff25b(0x1a5)](_0x3fd0fd['config']));if(_0x2119ad)await _0x23cbd9[_0x1ff25b(0x219)](checkPwandBootstrapCli,_0x2119ad,constants[_0x1ff25b(0x1a2)][_0x1ff25b(0x226)],_0x3fd0fd);else _0x53f1d1&&await _0x23cbd9['xItRZ'](checkPuppeteerAndBootstrapCli,_0x53f1d1,constants['FRAMEWORKS']['JEST'],_0x3fd0fd);!BrowserstackCLI[_0x1ff25b(0x1ca)]()[_0x1ff25b(0x284)]()&&await _0x3fd0fd[_0x1ff25b(0x231)]();if(!_0x3fd0fd[_0x1ff25b(0x1e5)])return;_0x23cbd9[_0x1ff25b(0x224)](_0x3fd0fd[_0x1ff25b(0x1e5)]['testObservability'],null)?process[_0x1ff25b(0x232)][_0x1ff25b(0x25a)]=_0x3fd0fd[_0x1ff25b(0x1e5)][_0x1ff25b(0x27a)]:process['env'][_0x1ff25b(0x25a)]=_0x23cbd9[_0x1ff25b(0x190)];const _0x286ca3=new TestOrchestrationHandler(_0x3fd0fd[_0x1ff25b(0x1e5)]),_0x121b69=await _0x23cbd9[_0x1ff25b(0x1c1)](getUserJestConfigs,_0x4a52fc,_0x132ab8);logger['info'](_0x23cbd9[_0x1ff25b(0x282)]);const _0x2f4649=Object['assign']({},_0x121b69);_0x2f4649[_0x1ff25b(0x1e2)]=Object[_0x1ff25b(0x1e1)]({},_0x2f4649['testEnvironmentOptions'],{'server':helper['getHubUrl'](_0x3fd0fd[_0x1ff25b(0x1e5)]),'environment':_0x121b69[_0x1ff25b(0x27f)]}),_0x2f4649[_0x1ff25b(0x1e2)]['browserStackPercyOptions']=_0x23cbd9['edWJG'](getPercyOptions,_0x3fd0fd[_0x1ff25b(0x1e5)]);const _0x1661a2=helper[_0x1ff25b(0x222)](_0x3fd0fd[_0x1ff25b(0x1e5)]);!helper[_0x1ff25b(0x1f8)](_0x3fd0fd[_0x1ff25b(0x1e5)][_0x1ff25b(0x1da)])&&(process[_0x1ff25b(0x232)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x1ff25b(0x193)](_0x3fd0fd['config'][_0x1ff25b(0x1da)]));if(!BrowserstackCLI[_0x1ff25b(0x1ca)]()['isRunning']()){const _0x4db962=await TestHubHandler[_0x1ff25b(0x1ef)](FRAMEWORKS[_0x1ff25b(0x226)],_0x3fd0fd);}const _0x48b939=helper[_0x1ff25b(0x217)](_0x3fd0fd[_0x1ff25b(0x1e5)],_0x1661a2,constants[_0x1ff25b(0x1a2)][_0x1ff25b(0x226)]);process[_0x1ff25b(0x232)][_0x1ff25b(0x1e9)]=JSON[_0x1ff25b(0x193)](_0x48b939);let _0x164a4b=_0x3fd0fd[_0x1ff25b(0x1e5)][_0x1ff25b(0x288)];_0x164a4b=_0x164a4b||accessibilityHelper[_0x1ff25b(0x1a7)](_0x3fd0fd[_0x1ff25b(0x1e5)]),process[_0x1ff25b(0x232)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x164a4b,logger[_0x1ff25b(0x271)]('[Jest\x20Command]\x20Accessibility\x20enabled:\x20'+_0x164a4b+_0x1ff25b(0x1b3)+BrowserstackCLI[_0x1ff25b(0x1ca)]()[_0x1ff25b(0x284)]());if(_0x2119ad)try{const _0x186cfa=_0x23cbd9[_0x1ff25b(0x243)](checkAccessibilityPlatformConfig,_0x3fd0fd[_0x1ff25b(0x1e5)]);process[_0x1ff25b(0x232)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x186cfa?_0x23cbd9['HvBhm']:_0x23cbd9[_0x1ff25b(0x19f)],logger[_0x1ff25b(0x271)](_0x1ff25b(0x1ff)+_0x186cfa+_0x1ff25b(0x1f2)+process['env'][_0x1ff25b(0x237)]);}catch(_0x33a86a){logger[_0x1ff25b(0x271)](_0x1ff25b(0x26a)+util[_0x1ff25b(0x202)](_0x33a86a));}_0x2f4649[_0x1ff25b(0x1e2)][_0x1ff25b(0x1e7)]=_0x48b939,_0x2f4649[_0x1ff25b(0x1e2)][_0x1ff25b(0x1b8)]=_0x23cbd9[_0x1ff25b(0x1bf)](getSerial,_0x48b939,_0x4a52fc),_0x2f4649[_0x1ff25b(0x1e2)][_0x1ff25b(0x1f6)]=_0x23cbd9[_0x1ff25b(0x219)](getMaxWorkers,_0x4a52fc,_0x3fd0fd[_0x1ff25b(0x1e5)],_0x121b69),_0x2f4649[_0x1ff25b(0x1e2)]['proxySettings']=_0x3fd0fd[_0x1ff25b(0x1e5)][_0x1ff25b(0x235)],_0x2f4649['testEnvironmentOptions']['timeout__']=_0x23cbd9[_0x1ff25b(0x18b)](_0x4a52fc['testTimeout'],0x1)||0x1388,_0x2f4649['testEnvironmentOptions'][_0x1ff25b(0x283)]=_0x3fd0fd['config']['testContextOptions'][_0x1ff25b(0x283)],_0x2f4649['testEnvironmentOptions'][_0x1ff25b(0x273)]=_0x3fd0fd[_0x1ff25b(0x1e5)][_0x1ff25b(0x261)]['skipSessionStatus'],_0x2f4649[_0x1ff25b(0x1e2)][_0x1ff25b(0x242)]=_0x3fd0fd['config'][_0x1ff25b(0x1eb)],_0x2f4649['testEnvironmentOptions']['turboScaleUrl']=_0x3fd0fd[_0x1ff25b(0x1e5)][_0x1ff25b(0x1ba)],_0x2f4649[_0x1ff25b(0x1e2)][_0x1ff25b(0x256)]=_0x3fd0fd[_0x1ff25b(0x1e5)][_0x1ff25b(0x1a8)];const _0x4c0ff4=helper['parseTestOrchestrationOptions'](_0x3fd0fd[_0x1ff25b(0x1e5)]);if(!helper[_0x1ff25b(0x1cf)](_0x4c0ff4)){helper[_0x1ff25b(0x21d)](_0x4c0ff4[_0x1ff25b(0x25d)])&&(_0x2f4649['testEnvironmentOptions']['retries__']=_0x4c0ff4[_0x1ff25b(0x25d)][_0x1ff25b(0x1bc)]);if(helper[_0x1ff25b(0x21d)](_0x4c0ff4[_0x1ff25b(0x211)])&&helper[_0x1ff25b(0x21d)](_0x4c0ff4['abortBuildOnFailure'][_0x1ff25b(0x279)])){const _0x320868={};_0x320868[_0x1ff25b(0x22e)]=_0x4c0ff4['abortBuildOnFailure']['maxFailures'],_0x320868[_0x1ff25b(0x279)]=_0x4c0ff4['abortBuildOnFailure'][_0x1ff25b(0x279)],_0x2f4649[_0x1ff25b(0x1e2)][_0x1ff25b(0x196)]=_0x320868;}}let _0xe80c91='';_0x23cbd9[_0x1ff25b(0x22f)](helper[_0x1ff25b(0x258)](),constants[_0x1ff25b(0x19c)][_0x1ff25b(0x1cc)])?_0xe80c91=_0x23cbd9['pZFYH']:_0xe80c91=_0x23cbd9[_0x1ff25b(0x245)];const _0x3cae22=_0xe80c91,_0x2f9916=path[_0x1ff25b(0x246)](__dirname,_0x23cbd9['bmgXJ'],_0x23cbd9[_0x1ff25b(0x1ad)]),_0x45c44c=path[_0x1ff25b(0x246)](__dirname,_0x23cbd9['bmgXJ'],_0x23cbd9['HVxdX']),_0x5632f1=path[_0x1ff25b(0x246)](__dirname,_0x23cbd9['bmgXJ'],_0x23cbd9[_0x1ff25b(0x1d7)]);_0x2f4649[_0x1ff25b(0x27f)]&&(process[_0x1ff25b(0x232)][_0x1ff25b(0x19b)]=_0x2f4649[_0x1ff25b(0x27f)]);_0x2f4649[_0x1ff25b(0x27f)]=path['join'](__dirname,_0x23cbd9[_0x1ff25b(0x1c0)],_0x23cbd9['buFlT']);const _0x599d60=_0x121b69[_0x1ff25b(0x1d3)];if(_0x599d60&&_0x23cbd9[_0x1ff25b(0x214)](_0x599d60,_0x23cbd9[_0x1ff25b(0x1f7)])){const _0x1372f4=_0x599d60[_0x1ff25b(0x27e)](_0x23cbd9[_0x1ff25b(0x257)])?_0x599d60:_0x1ff25b(0x201)+_0x599d60;process['env'][_0x1ff25b(0x1e0)]=_0x1372f4,logger[_0x1ff25b(0x233)]('Preserving\x20user\x27s\x20Jest\x20runner:\x20'+_0x1372f4);}_0x2f4649['runner']=_0x45c44c,_0x2f4649[_0x1ff25b(0x1dc)]=_0x2f4649[_0x1ff25b(0x1dc)]||[],_0x2f4649[_0x1ff25b(0x1dc)][_0x1ff25b(0x277)](path['join'](__dirname,_0x23cbd9[_0x1ff25b(0x1de)]));_0x286ca3[_0x1ff25b(0x1d0)]()&&(_0x2f4649[_0x1ff25b(0x238)]=path[_0x1ff25b(0x246)](__dirname,_0x23cbd9[_0x1ff25b(0x1c0)],_0x23cbd9[_0x1ff25b(0x268)]));if(testhubUtils[_0x1ff25b(0x240)]()||BrowserstackCLI[_0x1ff25b(0x1ca)]()[_0x1ff25b(0x20b)]()){let _0x4bdab1=null;try{_0x4bdab1=helper[_0x1ff25b(0x1b0)](_0x23cbd9[_0x1ff25b(0x1b9)],_0x23cbd9[_0x1ff25b(0x229)]);}catch(_0x1a3bef){try{_0x4bdab1=helper[_0x1ff25b(0x1b0)](_0x23cbd9['BPvuo'],_0x23cbd9['ajTEh']);}catch(_0x17e9e5){_0x23cbd9[_0x1ff25b(0x278)](debug,_0x1ff25b(0x1aa)+_0x17e9e5);}}_0x4bdab1&&(testhubUtils[_0x1ff25b(0x240)]()&&_0x2f4649['setupFilesAfterEnv'][_0x1ff25b(0x277)](path['join'](__dirname,_0x23cbd9[_0x1ff25b(0x1af)],_0x23cbd9['IKlWe'])),_0x2f4649['testRunner']=path['join'](__dirname,_0x23cbd9['bmgXJ'],_0x23cbd9[_0x1ff25b(0x1dd)]));}_0x2f4649[_0x1ff25b(0x1d6)]=_0x2f4649[_0x1ff25b(0x1d6)]||[];try{helper['requireSeleniumWebdriver'](),_0x2f4649['setupFiles'][_0x1ff25b(0x277)](path[_0x1ff25b(0x246)](__dirname,_0x23cbd9[_0x1ff25b(0x194)]));}catch{logger[_0x1ff25b(0x271)](_0x23cbd9['fnXGD']);}try{helper[_0x1ff25b(0x19e)][_0x1ff25b(0x210)](null,[_0x23cbd9[_0x1ff25b(0x280)],_0x23cbd9[_0x1ff25b(0x21f)]]),logger[_0x1ff25b(0x271)](_0x23cbd9['BhFLC']),_0x2f4649[_0x1ff25b(0x1d6)][_0x1ff25b(0x277)](path[_0x1ff25b(0x246)](__dirname,_0x23cbd9[_0x1ff25b(0x1f4)]));}catch(_0x19b23d){logger[_0x1ff25b(0x271)](_0x23cbd9[_0x1ff25b(0x263)],_0x19b23d);}if(_0x23cbd9[_0x1ff25b(0x1c4)](!_0x2119ad,_0x53f1d1)){try{logger[_0x1ff25b(0x271)](_0x23cbd9[_0x1ff25b(0x188)]),_0x2f4649['setupFilesAfterEnv'][_0x1ff25b(0x277)](path[_0x1ff25b(0x246)](__dirname,'..',_0x23cbd9[_0x1ff25b(0x1df)],_0x23cbd9['pYJxR']));}catch(_0x47290a){logger[_0x1ff25b(0x271)](_0x1ff25b(0x21a)+_0x47290a[_0x1ff25b(0x24a)]);}try{const _0x179630=require[_0x1ff25b(0x216)](_0x23cbd9[_0x1ff25b(0x1b7)]),_0x514c1e=path[_0x1ff25b(0x27d)](_0x179630)[_0x1ff25b(0x208)](/\\/g,'/'),_0x282108={};_0x282108[_0x1ff25b(0x26e)]=_0x514c1e+_0x1ff25b(0x228),_0x2f4649[_0x1ff25b(0x1fb)]=Object[_0x1ff25b(0x1e1)]({},_0x2f4649['moduleNameMapper']||{},_0x282108),logger['debug'](_0x1ff25b(0x1e3)+_0x514c1e);}catch(_0x47f77c){logger['debug'](_0x1ff25b(0x1c2)+_0x47f77c[_0x1ff25b(0x24a)]);}}_0x2f4649['reporters']=_0x2f4649[_0x1ff25b(0x1bd)]||[_0x23cbd9[_0x1ff25b(0x259)]],_0x23cbd9['MvERL'](updateTestRerunConfig,_0x2f4649,_0x3fd0fd);const _0x28af24=fs[_0x1ff25b(0x1d8)](_0x5632f1),_0x18134b=helper[_0x1ff25b(0x25e)](_0x23cbd9[_0x1ff25b(0x206)],_0x23cbd9[_0x1ff25b(0x22b)]);!_0x18134b[_0x1ff25b(0x212)]?fs[_0x1ff25b(0x18c)](_0x2f4649['runner'],_0x1ff25b(0x1f5)+_0x28af24+'\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'+_0x3fd0fd[_0x1ff25b(0x1e5)][_0x1ff25b(0x1a8)][_0x1ff25b(0x23f)]+_0x1ff25b(0x26d)):fs[_0x1ff25b(0x18c)](_0x2f4649[_0x1ff25b(0x1d3)],_0x1ff25b(0x1f5)+_0x28af24+'\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'+_0x3fd0fd[_0x1ff25b(0x1e5)][_0x1ff25b(0x1a8)]['length']+_0x1ff25b(0x1fa));logger['info']('Creating\x20'+_0x3cae22+_0x1ff25b(0x1d9)),fs[_0x1ff25b(0x18c)](_0x3cae22,_0x1ff25b(0x209)+JSON[_0x1ff25b(0x193)](_0x2f4649)+_0x1ff25b(0x266));if(_0x286ca3[_0x1ff25b(0x1d0)]()){logger[_0x1ff25b(0x271)](_0x23cbd9[_0x1ff25b(0x1d4)]);const _0x361aaa=await _0x286ca3[_0x1ff25b(0x227)](_0x2f4649,_0x132ab8[_0x1ff25b(0x264)](0x1),_0x3cae22);logger['debug'](_0x1ff25b(0x1ce)+JSON[_0x1ff25b(0x193)](_0x361aaa)+'\x20test\x20files\x20to\x20run.');const _0x28fcb7=await _0x286ca3['reorderTestFiles'](_0x361aaa);logger[_0x1ff25b(0x271)](_0x1ff25b(0x1e8)+JSON[_0x1ff25b(0x193)](_0x28fcb7)),_0x28fcb7&&_0x23cbd9[_0x1ff25b(0x234)](_0x28fcb7[_0x1ff25b(0x23f)],0x0)&&(process[_0x1ff25b(0x232)][_0x1ff25b(0x18e)]=_0x28fcb7?.[_0x1ff25b(0x246)](','));}logger['info'](_0x23cbd9[_0x1ff25b(0x23a)]);testhubUtils[_0x1ff25b(0x240)]()&&TestDetails[_0x1ff25b(0x1f0)]();helper[_0x1ff25b(0x24f)]({},_0x132ab8),PerformanceTester[_0x1ff25b(0x18f)](PerformanceEvents[_0x1ff25b(0x20e)]);const _0x16ee7a=[_0x23cbd9[_0x1ff25b(0x276)],_0x23cbd9[_0x1ff25b(0x21e)],_0x3cae22,..._0x132ab8[_0x1ff25b(0x264)](0x1)];process[_0x1ff25b(0x232)]['BROWSERSTACK_FRAMEWORK']=process[_0x1ff25b(0x232)][_0x1ff25b(0x197)]||_0x23cbd9['uAigl'];const _0x7f2dc0=_0x23cbd9[_0x1ff25b(0x19a)](spawn,_0x23cbd9['qgxeA'],_0x16ee7a,{'shell':_0x23cbd9[_0x1ff25b(0x1e6)](process[_0x1ff25b(0x27c)],_0x23cbd9['hGXQe']),'stdio':_0x23cbd9[_0x1ff25b(0x1ab)],'env':Object[_0x1ff25b(0x1e1)]({},process['env'])});_0x7f2dc0['on'](_0x23cbd9[_0x1ff25b(0x20f)],async _0x595fc7=>{const _0x14ee42=_0x1ff25b;PerformanceTester['start'](PerformanceEvents[_0x14ee42(0x23d)]),process[_0x14ee42(0x1f9)]=_0x595fc7,logger['debug'](_0x14ee42(0x270)+_0x595fc7),logger['info'](_0x14ee42(0x1c8)+_0x3cae22);if(helper['isNotUndefined'](_0x4c0ff4)&&helper[_0x14ee42(0x21d)](_0x4c0ff4[_0x14ee42(0x211)])&&fs[_0x14ee42(0x1c3)](_0x4c0ff4[_0x14ee42(0x211)]['workingDir']))try{const _0x2ccad8={};_0x2ccad8[_0x14ee42(0x24b)]=!![],_0x2ccad8[_0x14ee42(0x1be)]=!![],fs['rmSync'](_0x4c0ff4['abortBuildOnFailure'][_0x14ee42(0x279)],_0x2ccad8),logger[_0x14ee42(0x271)]('Deleted\x20fail-fast\x20state\x20folder:\x20'+_0x4c0ff4[_0x14ee42(0x211)]['workingDir']);}catch(_0x13dc13){logger['error'](_0x14ee42(0x252)+_0x13dc13);}let _0x38ab4b=null;if(fs[_0x14ee42(0x1c3)](_0x2f9916)){_0x38ab4b=fs[_0x14ee42(0x1d8)](_0x2f9916);try{_0x38ab4b=JSON[_0x14ee42(0x249)](_0x38ab4b);}catch(_0x30d33f){logger['debug'](_0x14ee42(0x24e)+_0x2f9916+',\x20'+_0x38ab4b+_0x14ee42(0x189)+_0x30d33f);}fs[_0x14ee42(0x1a4)](_0x2f9916);}fs[_0x14ee42(0x1a4)](_0x3cae22),fs[_0x14ee42(0x1a4)](_0x45c44c),_0x38ab4b&&(_0x3fd0fd[_0x14ee42(0x251)]=helper[_0x14ee42(0x1fc)](_0x38ab4b,_0x23cbd9['uAigl'],_0x3fd0fd));const _0x41060d=BrowserstackCLI[_0x14ee42(0x24c)]();try{await TestHubHandler[_0x14ee42(0x223)](),await BrowserstackCLI['getInstance']()[_0x14ee42(0x223)]();}catch(_0xb0f37a){console['log'](_0xb0f37a),_0x23cbd9[_0x14ee42(0x278)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util['format'](_0xb0f37a));}testOpsHelper[_0x14ee42(0x1b2)](),TestDetails[_0x14ee42(0x225)](),await utilities[_0x14ee42(0x27b)](_0x3fd0fd,_0x41060d);});}module[a17_0x5a139a(0x1bb)]=run;
2
+ 'use strict';const a17_0x1396d1=a17_0x17f1;function a17_0x17f1(_0x2b2755,_0x3664a8){const _0x4d1d77=a17_0x4d1d();return a17_0x17f1=function(_0x17f105,_0x382bfb){_0x17f105=_0x17f105-0x15a;let _0xa0b607=_0x4d1d77[_0x17f105];return _0xa0b607;},a17_0x17f1(_0x2b2755,_0x3664a8);}(function(_0x18e926,_0xb97123){const _0x3ff6c4=a17_0x17f1,_0x1c3092=_0x18e926();while(!![]){try{const _0x1b6a70=parseInt(_0x3ff6c4(0x1cc))/0x1*(parseInt(_0x3ff6c4(0x17f))/0x2)+-parseInt(_0x3ff6c4(0x18b))/0x3*(-parseInt(_0x3ff6c4(0x1ab))/0x4)+parseInt(_0x3ff6c4(0x1d8))/0x5*(-parseInt(_0x3ff6c4(0x1d7))/0x6)+-parseInt(_0x3ff6c4(0x1a7))/0x7*(parseInt(_0x3ff6c4(0x1c3))/0x8)+parseInt(_0x3ff6c4(0x1b0))/0x9*(-parseInt(_0x3ff6c4(0x1d5))/0xa)+-parseInt(_0x3ff6c4(0x1cb))/0xb+parseInt(_0x3ff6c4(0x20e))/0xc*(parseInt(_0x3ff6c4(0x1f5))/0xd);if(_0x1b6a70===_0xb97123)break;else _0x1c3092['push'](_0x1c3092['shift']());}catch(_0x228b4a){_0x1c3092['push'](_0x1c3092['shift']());}}}(a17_0x4d1d,0x6f7e2));const fs=require('fs'),path=require('path'),util=require(a17_0x1396d1(0x244)),{spawn}=require(a17_0x1396d1(0x228)),logger=require(a17_0x1396d1(0x1ed))[a17_0x1396d1(0x1b4)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a17_0x1396d1(0x250)),utilities=require(a17_0x1396d1(0x1c4)),constants=require(a17_0x1396d1(0x22f)),accessibilityHelper=require(a17_0x1396d1(0x1a2)),{updateTestRerunConfig}=require(a17_0x1396d1(0x1e7)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a17_0x1396d1(0x214)),TestDetails=require(a17_0x1396d1(0x208)),{getPercyOptions}=require(a17_0x1396d1(0x165)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testhubUtils=require('../../helpers/testhub/utils'),{FRAMEWORKS}=require(a17_0x1396d1(0x22b)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a17_0x1396d1(0x246))[a17_0x1396d1(0x230)],TestOrchestrationHandler=require(a17_0x1396d1(0x21a)),BrowserstackCLI=require(a17_0x1396d1(0x21c)),{checkPwandBootstrapCli}=require(a17_0x1396d1(0x15d)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a17_0x1396d1(0x177)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),{checkAccessibilityPlatformConfig}=require(a17_0x1396d1(0x1a2)),getUserJestConfigs=async(_0x3492b1,_0x31340a)=>{const _0x316327=a17_0x1396d1,_0x5089af={'BYtGT':_0x316327(0x1a1),'xYDbE':_0x316327(0x219),'RrnMW':function(_0x377c2c,_0x21b967){return _0x377c2c||_0x21b967;},'AHGJu':function(_0x56116b,_0x199b27){return _0x56116b(_0x199b27);},'ZoMlO':_0x316327(0x1a5),'qMUik':'Getting\x20your\x20jest\x20configs\x20from\x20package.json','CvcGq':_0x316327(0x23a),'Qwiyt':_0x316327(0x173),'YlmRn':_0x316327(0x1a8)};let _0x2b694b;try{_0x2b694b=helper[_0x316327(0x1c9)](_0x5089af[_0x316327(0x20b)],_0x5089af['xYDbE']);}catch{const _0x267434=helper[_0x316327(0x1c9)](_0x5089af['xYDbE']);_0x2b694b={'default':async _0x48ca33=>{const _0xbdb8f=_0x316327,_0x47b7f5=await _0x267434[_0xbdb8f(0x1e1)](_0x48ca33,{});return _0x47b7f5[_0xbdb8f(0x1bd)];}};}const _0x32c2e3=_0x31340a[_0x316327(0x183)](_0x591b14=>_0x591b14===_0x316327(0x20f));if(!helper[_0x316327(0x237)](_0x3492b1['config'])){logger[_0x316327(0x180)](_0x316327(0x23d)+_0x3492b1[_0x316327(0x1bd)]),process['env'][_0x316327(0x248)]=_0x3492b1[_0x316327(0x1bd)];const _0x1946f4=await(0x0,_0x2b694b['default'])(path[_0x316327(0x247)](_0x3492b1[_0x316327(0x1bd)]));return _0x31340a['splice'](_0x32c2e3,0x2),_0x5089af['RrnMW'](_0x1946f4,{});}const _0x8fe3bb=_0x5089af[_0x316327(0x17a)](require,path[_0x316327(0x17d)](process[_0x316327(0x1c8)](),_0x5089af[_0x316327(0x1cd)]));if(_0x8fe3bb[_0x316327(0x18e)])return logger[_0x316327(0x180)](_0x5089af[_0x316327(0x17b)]),_0x8fe3bb['jest'];const _0x10d526=['js',_0x5089af[_0x316327(0x18a)],_0x5089af[_0x316327(0x19f)],_0x5089af[_0x316327(0x213)],'ts'];for(const _0x41a0e2 of _0x10d526){const _0x326a12=path[_0x316327(0x17d)](process['cwd'](),_0x316327(0x20a)+_0x41a0e2);if(fs[_0x316327(0x206)](_0x326a12)){process[_0x316327(0x201)][_0x316327(0x248)]=_0x326a12;const _0x58f2a8=await(0x0,_0x2b694b['default'])(_0x326a12);return _0x58f2a8;}}return{};},getSerial=(_0x1f9c46,_0x116903)=>{const _0x4ea2e3=a17_0x1396d1,_0x1e0537={};_0x1e0537[_0x4ea2e3(0x24b)]=_0x4ea2e3(0x1fa),_0x1e0537['dFFPr']=function(_0x55091a,_0x5163b3){return _0x55091a>_0x5163b3;},_0x1e0537['avIno']=_0x4ea2e3(0x216);const _0x4b242d=_0x1e0537;let _0x2cc387=_0x4b242d[_0x4ea2e3(0x24b)];return _0x4b242d[_0x4ea2e3(0x226)](_0x1f9c46[_0x4ea2e3(0x1e4)],0x1)&&(!_0x116903[_0x4ea2e3(0x1b1)]&&(helper[_0x4ea2e3(0x237)](_0x116903[_0x4ea2e3(0x195)])||_0x4b242d[_0x4ea2e3(0x226)](_0x116903[_0x4ea2e3(0x195)],0x1)))&&(_0x2cc387=_0x4b242d[_0x4ea2e3(0x160)]),_0x2cc387;},getMaxWorkers=(_0x5d85bd,_0x46adc5,_0x356383)=>{const _0x2d2a62=a17_0x1396d1,_0x4e5a27={'xkxgS':function(_0x3c8e22,_0x34b587){return _0x3c8e22(_0x34b587);}};let _0x308469=0x1;if(!helper[_0x2d2a62(0x237)](_0x46adc5[_0x2d2a62(0x1d0)]))_0x308469=_0x4e5a27[_0x2d2a62(0x223)](parseInt,_0x46adc5[_0x2d2a62(0x1d0)]);else{if(!helper[_0x2d2a62(0x237)](_0x5d85bd[_0x2d2a62(0x195)]))_0x308469=_0x5d85bd['maxWorkers'];else!helper[_0x2d2a62(0x237)](_0x356383[_0x2d2a62(0x195)])&&(_0x308469=_0x356383[_0x2d2a62(0x195)]);}return _0x308469;};async function run(_0x108473,_0xb5bcf4,_0x23afb0){const _0x22e3fa=a17_0x1396d1,_0x23f4b9={'OEWyl':_0x22e3fa(0x18e),'pOpAu':function(_0x16dd63,_0x135d07){return _0x16dd63(_0x135d07);},'nfDMH':'@playwright/test','ZVpyA':function(_0x24f5a8){return _0x24f5a8();},'xFnoY':function(_0x4a1d56,_0x536e43,_0x5e2a39,_0x374572){return _0x4a1d56(_0x536e43,_0x5e2a39,_0x374572);},'DklAs':function(_0x373538,_0x30f01c,_0x346a42,_0x2b5d13){return _0x373538(_0x30f01c,_0x346a42,_0x2b5d13);},'csVMX':function(_0x150c92,_0x5b0663){return _0x150c92!=_0x5b0663;},'TrCFg':'true','tNYNU':function(_0xdcd086,_0x420fc4,_0x215b2d){return _0xdcd086(_0x420fc4,_0x215b2d);},'XBmwl':_0x22e3fa(0x1ba),'lokPR':_0x22e3fa(0x216),'bLFDb':function(_0x488209,_0x3ff264,_0x27ed1a){return _0x488209(_0x3ff264,_0x27ed1a);},'yFVfv':function(_0x52b54b,_0x500eb3,_0x142781,_0x1eed5a){return _0x52b54b(_0x500eb3,_0x142781,_0x1eed5a);},'bnjdm':function(_0x333bab,_0x468ca9){return _0x333bab*_0x468ca9;},'lPWAw':function(_0x187ac7,_0x3bcc0d){return _0x187ac7===_0x3bcc0d;},'uAUkc':_0x22e3fa(0x19e),'finyI':_0x22e3fa(0x1c0),'LSXqY':_0x22e3fa(0x1cf),'XKuam':_0x22e3fa(0x22c),'IEXcH':'customTestRunner.js','MJnWr':'customTestRunnerTemplate.js','KWHrb':_0x22e3fa(0x220),'wwXsX':function(_0x37b003,_0x518311){return _0x37b003!==_0x518311;},'CLwtV':'jest-runner','bCJMA':_0x22e3fa(0x24a),'bHfxE':'jest.setup.js','nIBMd':_0x22e3fa(0x1c7),'DqKfP':_0x22e3fa(0x1fd),'euJQr':'jest-circus','OMaQl':_0x22e3fa(0x1f3),'sxuMe':function(_0x3607dc,_0x407f18){return _0x3607dc(_0x407f18);},'TCBNP':'test-observability','ECQps':'data-hooks.js','tTrED':_0x22e3fa(0x1df),'cxtzJ':_0x22e3fa(0x243),'lJVei':_0x22e3fa(0x16e),'nNbKE':_0x22e3fa(0x185),'TCiut':_0x22e3fa(0x1d4),'qMSxO':_0x22e3fa(0x161),'AjIEo':_0x22e3fa(0x20c),'jwCXB':function(_0x45c142,_0x28f9fe){return _0x45c142&&_0x28f9fe;},'xZMob':'Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','iGlEl':_0x22e3fa(0x1d6),'CMdUN':_0x22e3fa(0x1bc),'qvkyx':'default','npZQH':function(_0x3c4ab2,_0x2899b0,_0x53c4e5){return _0x3c4ab2(_0x2899b0,_0x53c4e5);},'okbzO':_0x22e3fa(0x164),'Vxjou':_0x22e3fa(0x191),'zrKeH':_0x22e3fa(0x1ca),'dbGew':function(_0x27bf55,_0x8aca3){return _0x27bf55>_0x8aca3;},'slxeM':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','wxspY':_0x22e3fa(0x20f),'xGaZB':function(_0x486996,_0x549cec,_0x22ff33,_0x399e89){return _0x486996(_0x549cec,_0x22ff33,_0x399e89);},'DjZzF':_0x22e3fa(0x16f),'WdlKm':function(_0x5849d9,_0x46fac6){return _0x5849d9===_0x46fac6;},'BfFaD':'win32','eUEaZ':_0x22e3fa(0x17e),'DCBQm':_0x22e3fa(0x200)},_0x488608=helper['getPackageVersion'](_0x23f4b9[_0x22e3fa(0x1fb)]);global['__isPlaywrightInstalled']=!!_0x488608;const _0x396f30=_0x23f4b9[_0x22e3fa(0x245)](getPuppeteerVersion);global[_0x22e3fa(0x253)]=!!_0x396f30;helper[_0x22e3fa(0x217)]()&&(await _0x23afb0[_0x22e3fa(0x231)](_0x108473),await helper[_0x22e3fa(0x1b6)](_0x23afb0[_0x22e3fa(0x1bd)]));if(_0x488608)await _0x23f4b9[_0x22e3fa(0x1a3)](checkPwandBootstrapCli,_0x488608,constants['FRAMEWORKS'][_0x22e3fa(0x15c)],_0x23afb0);else _0x396f30&&await _0x23f4b9[_0x22e3fa(0x1f4)](checkPuppeteerAndBootstrapCli,_0x396f30,constants[_0x22e3fa(0x179)][_0x22e3fa(0x15c)],_0x23afb0);!BrowserstackCLI[_0x22e3fa(0x178)]()['isRunning']()&&await _0x23afb0['setupBrowserstackLocal']();if(!_0x23afb0[_0x22e3fa(0x1bd)])return;_0x23f4b9[_0x22e3fa(0x1ff)](_0x23afb0[_0x22e3fa(0x1bd)][_0x22e3fa(0x16c)],null)?process[_0x22e3fa(0x201)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x23afb0[_0x22e3fa(0x1bd)]['testObservability']:process[_0x22e3fa(0x201)][_0x22e3fa(0x1c6)]=_0x23f4b9[_0x22e3fa(0x211)];const _0x21ce61=new TestOrchestrationHandler(_0x23afb0[_0x22e3fa(0x1bd)]),_0x3434=await _0x23f4b9[_0x22e3fa(0x1be)](getUserJestConfigs,_0x108473,_0xb5bcf4);logger[_0x22e3fa(0x180)](_0x23f4b9['XBmwl']);const _0x4644b2=Object[_0x22e3fa(0x166)]({},_0x3434);_0x4644b2[_0x22e3fa(0x1aa)]=Object['assign']({},_0x4644b2[_0x22e3fa(0x1aa)],{'server':helper[_0x22e3fa(0x218)](_0x23afb0[_0x22e3fa(0x1bd)]),'environment':_0x3434[_0x22e3fa(0x198)]}),_0x4644b2['testEnvironmentOptions'][_0x22e3fa(0x24f)]=_0x23f4b9[_0x22e3fa(0x233)](getPercyOptions,_0x23afb0[_0x22e3fa(0x1bd)]);const _0x514b99=helper['useW3C'](_0x23afb0[_0x22e3fa(0x1bd)]);!helper[_0x22e3fa(0x237)](_0x23afb0[_0x22e3fa(0x1bd)]['accessibilityOptions'])&&(process[_0x22e3fa(0x201)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x22e3fa(0x251)](_0x23afb0[_0x22e3fa(0x1bd)][_0x22e3fa(0x249)]));if(!BrowserstackCLI['getInstance']()[_0x22e3fa(0x252)]()){const _0x1f0516=await TestHubHandler['launchBuild'](FRAMEWORKS['JEST'],_0x23afb0);}const _0x45c298=helper[_0x22e3fa(0x203)](_0x23afb0['config'],_0x514b99,constants[_0x22e3fa(0x179)][_0x22e3fa(0x15c)]);process[_0x22e3fa(0x201)][_0x22e3fa(0x176)]=JSON[_0x22e3fa(0x251)](_0x45c298);let _0x1110a3=_0x23afb0['config'][_0x22e3fa(0x199)];_0x1110a3=_0x1110a3||accessibilityHelper[_0x22e3fa(0x1fe)](_0x23afb0[_0x22e3fa(0x1bd)]),process[_0x22e3fa(0x201)][_0x22e3fa(0x225)]=_0x1110a3,logger['debug'](_0x22e3fa(0x21b)+_0x1110a3+',\x20CLI\x20running:\x20'+BrowserstackCLI[_0x22e3fa(0x178)]()[_0x22e3fa(0x252)]());if(_0x488608)try{const _0x3f35cc=_0x23f4b9[_0x22e3fa(0x233)](checkAccessibilityPlatformConfig,_0x23afb0['config']);process[_0x22e3fa(0x201)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x3f35cc?_0x23f4b9[_0x22e3fa(0x211)]:_0x23f4b9[_0x22e3fa(0x1a6)],logger[_0x22e3fa(0x1d9)](_0x22e3fa(0x193)+_0x3f35cc+_0x22e3fa(0x1de)+process[_0x22e3fa(0x201)][_0x22e3fa(0x17c)]);}catch(_0x5a91c6){logger[_0x22e3fa(0x1d9)](_0x22e3fa(0x21e)+util[_0x22e3fa(0x1e9)](_0x5a91c6));}_0x4644b2['testEnvironmentOptions'][_0x22e3fa(0x1b2)]=_0x45c298,_0x4644b2[_0x22e3fa(0x1aa)][_0x22e3fa(0x1af)]=_0x23f4b9[_0x22e3fa(0x1ee)](getSerial,_0x45c298,_0x108473),_0x4644b2['testEnvironmentOptions'][_0x22e3fa(0x194)]=_0x23f4b9[_0x22e3fa(0x1b3)](getMaxWorkers,_0x108473,_0x23afb0[_0x22e3fa(0x1bd)],_0x3434),_0x4644b2[_0x22e3fa(0x1aa)][_0x22e3fa(0x15b)]=_0x23afb0[_0x22e3fa(0x1bd)][_0x22e3fa(0x15b)],_0x4644b2[_0x22e3fa(0x1aa)][_0x22e3fa(0x18d)]=_0x23f4b9[_0x22e3fa(0x1f6)](_0x108473[_0x22e3fa(0x182)],0x1)||0x1388,_0x4644b2[_0x22e3fa(0x1aa)][_0x22e3fa(0x1f7)]=_0x23afb0[_0x22e3fa(0x1bd)][_0x22e3fa(0x1d2)][_0x22e3fa(0x1f7)],_0x4644b2[_0x22e3fa(0x1aa)][_0x22e3fa(0x1a9)]=_0x23afb0[_0x22e3fa(0x1bd)][_0x22e3fa(0x1d2)][_0x22e3fa(0x1a9)],_0x4644b2['testEnvironmentOptions'][_0x22e3fa(0x19c)]=_0x23afb0[_0x22e3fa(0x1bd)][_0x22e3fa(0x23c)],_0x4644b2['testEnvironmentOptions'][_0x22e3fa(0x209)]=_0x23afb0[_0x22e3fa(0x1bd)][_0x22e3fa(0x209)],_0x4644b2['testEnvironmentOptions'][_0x22e3fa(0x1dd)]=_0x23afb0['config']['platforms'];const _0x3d485f=helper['parseTestOrchestrationOptions'](_0x23afb0[_0x22e3fa(0x1bd)]);if(!helper[_0x22e3fa(0x1bb)](_0x3d485f)){helper[_0x22e3fa(0x21f)](_0x3d485f[_0x22e3fa(0x21d)])&&(_0x4644b2[_0x22e3fa(0x1aa)][_0x22e3fa(0x1d3)]=_0x3d485f['retryTestsOnFailure']['maxRetries']);if(helper[_0x22e3fa(0x21f)](_0x3d485f[_0x22e3fa(0x1ad)])&&helper['isNotUndefined'](_0x3d485f[_0x22e3fa(0x1ad)][_0x22e3fa(0x1c1)])){const _0x4d9c98={};_0x4d9c98['failureThresholdCount']=_0x3d485f['abortBuildOnFailure'][_0x22e3fa(0x18c)],_0x4d9c98['workingDir']=_0x3d485f[_0x22e3fa(0x1ad)][_0x22e3fa(0x1c1)],_0x4644b2[_0x22e3fa(0x1aa)]['failFast']=_0x4d9c98;}}let _0x2c4c66='';_0x23f4b9[_0x22e3fa(0x1ce)](helper[_0x22e3fa(0x242)](),constants[_0x22e3fa(0x15e)]['MODULE'])?_0x2c4c66=_0x23f4b9[_0x22e3fa(0x236)]:_0x2c4c66=_0x23f4b9[_0x22e3fa(0x196)];const _0x3c43e9=_0x2c4c66,_0x2c86ae=path[_0x22e3fa(0x17d)](__dirname,_0x23f4b9[_0x22e3fa(0x186)],_0x23f4b9[_0x22e3fa(0x1f8)]),_0x27c3ee=path[_0x22e3fa(0x17d)](__dirname,_0x23f4b9[_0x22e3fa(0x186)],_0x23f4b9['IEXcH']),_0x4aba0b=path[_0x22e3fa(0x17d)](__dirname,_0x23f4b9[_0x22e3fa(0x186)],_0x23f4b9['MJnWr']);_0x4644b2[_0x22e3fa(0x198)]&&(process[_0x22e3fa(0x201)]['BSTACK_JEST_TEST_ENV']=_0x4644b2[_0x22e3fa(0x198)]);_0x4644b2[_0x22e3fa(0x198)]=path[_0x22e3fa(0x17d)](__dirname,_0x23f4b9['LSXqY'],_0x23f4b9[_0x22e3fa(0x15a)]);const _0x2414cf=_0x3434['runner'];if(_0x2414cf&&_0x23f4b9[_0x22e3fa(0x19d)](_0x2414cf,_0x23f4b9[_0x22e3fa(0x18f)])){const _0x44eef2=_0x2414cf[_0x22e3fa(0x184)](_0x23f4b9[_0x22e3fa(0x238)])?_0x2414cf:_0x22e3fa(0x24a)+_0x2414cf;process[_0x22e3fa(0x201)][_0x22e3fa(0x167)]=_0x44eef2,logger[_0x22e3fa(0x180)](_0x22e3fa(0x1b8)+_0x44eef2);}_0x4644b2['runner']=_0x27c3ee,_0x4644b2[_0x22e3fa(0x22a)]=_0x4644b2[_0x22e3fa(0x22a)]||[],_0x4644b2['setupFilesAfterEnv']['push'](path[_0x22e3fa(0x17d)](__dirname,_0x23f4b9[_0x22e3fa(0x1ea)]));_0x21ce61['isTestOrchestrationEnabled']()&&(_0x4644b2[_0x22e3fa(0x23f)]=path['join'](__dirname,_0x23f4b9[_0x22e3fa(0x186)],_0x23f4b9[_0x22e3fa(0x1ae)]));if(testhubUtils['shouldProcessEventForTesthub']()||BrowserstackCLI[_0x22e3fa(0x178)]()['isCliEnabled']()){let _0x53e324=null;try{_0x53e324=helper[_0x22e3fa(0x1c9)](_0x23f4b9['DqKfP'],_0x23f4b9['euJQr']);}catch(_0x21fcd7){try{_0x53e324=helper[_0x22e3fa(0x1c9)](_0x23f4b9[_0x22e3fa(0x1e2)],_0x23f4b9[_0x22e3fa(0x187)]);}catch(_0x21345e){_0x23f4b9['sxuMe'](debug,_0x22e3fa(0x16b)+_0x21345e);}}_0x53e324&&(testhubUtils[_0x22e3fa(0x22e)]()&&_0x4644b2[_0x22e3fa(0x22a)][_0x22e3fa(0x1f1)](path[_0x22e3fa(0x17d)](__dirname,_0x23f4b9[_0x22e3fa(0x16d)],_0x23f4b9[_0x22e3fa(0x1e3)])),_0x4644b2[_0x22e3fa(0x15f)]=path[_0x22e3fa(0x17d)](__dirname,_0x23f4b9['LSXqY'],_0x23f4b9[_0x22e3fa(0x1dc)]));}_0x4644b2['setupFiles']=_0x4644b2[_0x22e3fa(0x229)]||[];try{helper[_0x22e3fa(0x170)](),_0x4644b2['setupFiles']['push'](path[_0x22e3fa(0x17d)](__dirname,_0x23f4b9[_0x22e3fa(0x1c5)]));}catch{logger[_0x22e3fa(0x1d9)](_0x23f4b9[_0x22e3fa(0x190)]);}try{helper[_0x22e3fa(0x1bf)][_0x22e3fa(0x168)](null,[_0x23f4b9[_0x22e3fa(0x1fb)],_0x23f4b9[_0x22e3fa(0x234)]]),logger[_0x22e3fa(0x1d9)](_0x23f4b9[_0x22e3fa(0x227)]),_0x4644b2[_0x22e3fa(0x229)][_0x22e3fa(0x1f1)](path[_0x22e3fa(0x17d)](__dirname,_0x23f4b9['qMSxO']));}catch(_0x217761){logger[_0x22e3fa(0x1d9)](_0x23f4b9[_0x22e3fa(0x1c2)],_0x217761);}if(_0x23f4b9[_0x22e3fa(0x1f9)](!_0x488608,_0x396f30)){try{logger[_0x22e3fa(0x1d9)](_0x23f4b9['xZMob']),_0x4644b2[_0x22e3fa(0x22a)][_0x22e3fa(0x1f1)](path[_0x22e3fa(0x17d)](__dirname,'..',_0x23f4b9['iGlEl'],_0x23f4b9['qMSxO']));}catch(_0x1e9ad9){logger['debug'](_0x22e3fa(0x16a)+_0x1e9ad9[_0x22e3fa(0x24e)]);}try{const _0x41f2b5=require[_0x22e3fa(0x247)](_0x23f4b9[_0x22e3fa(0x23e)]),_0x1b5627=path[_0x22e3fa(0x1fc)](_0x41f2b5)['replace'](/\\/g,'/'),_0x17c558={};_0x17c558['^puppeteer-core/internal/(.*)']=_0x1b5627+_0x22e3fa(0x188),_0x4644b2[_0x22e3fa(0x197)]=Object[_0x22e3fa(0x166)]({},_0x4644b2['moduleNameMapper']||{},_0x17c558),logger[_0x22e3fa(0x1d9)]('[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20'+_0x1b5627);}catch(_0x486b7e){logger[_0x22e3fa(0x1d9)](_0x22e3fa(0x181)+_0x486b7e[_0x22e3fa(0x24e)]);}}_0x4644b2[_0x22e3fa(0x169)]=_0x4644b2[_0x22e3fa(0x169)]||[_0x23f4b9['qvkyx']],_0x23f4b9[_0x22e3fa(0x205)](updateTestRerunConfig,_0x4644b2,_0x23afb0);const _0x5f4877=fs[_0x22e3fa(0x222)](_0x4aba0b),_0x320445=helper[_0x22e3fa(0x1b7)](_0x23f4b9[_0x22e3fa(0x1ac)],_0x23f4b9[_0x22e3fa(0x23b)]);!_0x320445[_0x22e3fa(0x22d)]?fs[_0x22e3fa(0x172)](_0x4644b2['runner'],_0x22e3fa(0x19a)+_0x5f4877+_0x22e3fa(0x1a0)+_0x23afb0[_0x22e3fa(0x1bd)][_0x22e3fa(0x1e6)][_0x22e3fa(0x1e4)]+_0x22e3fa(0x1b5)):fs[_0x22e3fa(0x172)](_0x4644b2[_0x22e3fa(0x192)],_0x22e3fa(0x19a)+_0x5f4877+_0x22e3fa(0x1db)+_0x23afb0[_0x22e3fa(0x1bd)][_0x22e3fa(0x1e6)]['length']+_0x22e3fa(0x1e8));logger[_0x22e3fa(0x180)]('Creating\x20'+_0x3c43e9+_0x22e3fa(0x19b)),fs[_0x22e3fa(0x172)](_0x3c43e9,_0x22e3fa(0x204)+JSON['stringify'](_0x4644b2)+_0x22e3fa(0x1b9));if(_0x21ce61[_0x22e3fa(0x215)]()){logger[_0x22e3fa(0x1d9)](_0x23f4b9['zrKeH']);const _0x4e6f5e=await _0x21ce61[_0x22e3fa(0x232)](_0x4644b2,_0xb5bcf4['slice'](0x1),_0x3c43e9);logger['debug'](_0x22e3fa(0x239)+JSON[_0x22e3fa(0x251)](_0x4e6f5e)+'\x20test\x20files\x20to\x20run.');const _0x7f7ae1=await _0x21ce61[_0x22e3fa(0x24d)](_0x4e6f5e);logger['debug'](_0x22e3fa(0x1f2)+JSON['stringify'](_0x7f7ae1)),_0x7f7ae1&&_0x23f4b9[_0x22e3fa(0x24c)](_0x7f7ae1[_0x22e3fa(0x1e4)],0x0)&&(process[_0x22e3fa(0x201)][_0x22e3fa(0x189)]=_0x7f7ae1?.[_0x22e3fa(0x17d)](','));}logger[_0x22e3fa(0x180)](_0x23f4b9[_0x22e3fa(0x207)]);testhubUtils[_0x22e3fa(0x22e)]()&&TestDetails[_0x22e3fa(0x241)]();helper[_0x22e3fa(0x212)]({},_0xb5bcf4),PerformanceTester[_0x22e3fa(0x162)](PerformanceEvents['SDK_SETUP']);const _0x501586=[_0x23f4b9[_0x22e3fa(0x210)],_0x23f4b9['wxspY'],_0x3c43e9,..._0xb5bcf4[_0x22e3fa(0x1f0)](0x1)];process[_0x22e3fa(0x201)][_0x22e3fa(0x20d)]=process['env'][_0x22e3fa(0x20d)]||_0x23f4b9[_0x22e3fa(0x210)];const _0x1aacc3=_0x23f4b9['xGaZB'](spawn,_0x23f4b9['DjZzF'],_0x501586,{'shell':_0x23f4b9['WdlKm'](process[_0x22e3fa(0x171)],_0x23f4b9[_0x22e3fa(0x1e5)]),'stdio':_0x23f4b9['eUEaZ'],'env':Object[_0x22e3fa(0x166)]({},process['env'])});_0x1aacc3['on'](_0x23f4b9[_0x22e3fa(0x240)],async _0x136f8f=>{const _0x3e62a2=_0x22e3fa;PerformanceTester['start'](PerformanceEvents[_0x3e62a2(0x1e0)]),process[_0x3e62a2(0x1ef)]=_0x136f8f,logger[_0x3e62a2(0x1d9)](_0x3e62a2(0x1a4)+_0x136f8f),logger['info']('Deleting\x20'+_0x3c43e9);if(helper[_0x3e62a2(0x21f)](_0x3d485f)&&helper[_0x3e62a2(0x21f)](_0x3d485f[_0x3e62a2(0x1ad)])&&fs[_0x3e62a2(0x206)](_0x3d485f[_0x3e62a2(0x1ad)]['workingDir']))try{const _0x4fe8f3={};_0x4fe8f3[_0x3e62a2(0x202)]=!![],_0x4fe8f3['force']=!![],fs['rmSync'](_0x3d485f[_0x3e62a2(0x1ad)][_0x3e62a2(0x1c1)],_0x4fe8f3),logger[_0x3e62a2(0x1d9)](_0x3e62a2(0x163)+_0x3d485f[_0x3e62a2(0x1ad)][_0x3e62a2(0x1c1)]);}catch(_0x6e186f){logger[_0x3e62a2(0x22d)](_0x3e62a2(0x235)+_0x6e186f);}let _0x400ed3=null;if(fs['existsSync'](_0x2c86ae)){_0x400ed3=fs[_0x3e62a2(0x222)](_0x2c86ae);try{_0x400ed3=JSON[_0x3e62a2(0x1d1)](_0x400ed3);}catch(_0x50c17f){logger[_0x3e62a2(0x1d9)]('Error\x20while\x20parsing\x20'+_0x2c86ae+',\x20'+_0x400ed3+'\x20:\x20'+_0x50c17f);}fs[_0x3e62a2(0x174)](_0x2c86ae);}fs['unlinkSync'](_0x3c43e9),fs[_0x3e62a2(0x174)](_0x27c3ee),_0x400ed3&&(_0x23afb0['errorMessage']=helper[_0x3e62a2(0x1ec)](_0x400ed3,_0x23f4b9[_0x3e62a2(0x210)],_0x23afb0));const _0x5e5142=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler[_0x3e62a2(0x175)](),await BrowserstackCLI[_0x3e62a2(0x178)]()[_0x3e62a2(0x175)]();}catch(_0x1488f6){console[_0x3e62a2(0x1eb)](_0x1488f6),_0x23f4b9[_0x3e62a2(0x233)](debug,_0x3e62a2(0x1da)+util[_0x3e62a2(0x1e9)](_0x1488f6));}testOpsHelper[_0x3e62a2(0x224)](),TestDetails['shutdown'](),await utilities[_0x3e62a2(0x221)](_0x23afb0,_0x5e5142);});}function a17_0x4d1d(){const _0x9b2008=['join','inherit','894414dmkdZe','info','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','testTimeout','findIndex','startsWith','playwright','LSXqY','euJQr','/internal/$1','JEST_TEST_ORDER','CvcGq','99cFzHgU','maxFailures','timeout__','jest','CLwtV','lJVei','@jest/core','runner','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','parallels__','maxWorkers','finyI','moduleNameMapper','testEnvironment','accessibility','\x0a\x20\x20\x20\x20\x20\x20','\x20with\x20browserstack\x20jest\x20configs','browserStackLogLevel','wwXsX','jest_browserstack.config.cjs','Qwiyt','\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','jest-config/build/readConfigFileAndSetRootDir.js','../../helpers/accessibility-automation/helper','xFnoY','child\x20process\x20exited\x20with\x20code\x20','package.json','lokPR','251020BvVzQk','json','skipSessionStatus','testEnvironmentOptions','47148KyUWWn','okbzO','abortBuildOnFailure','nIBMd','serial__','396VKypMd','runInBand','capabilities','yFVfv','winstonLogger',';\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','handleApp','resolveModule','Preserving\x20user\x27s\x20Jest\x20runner:\x20','\x0amodule.exports\x20=\x20config;','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','isEmpty','puppeteer-core/package.json','config','tNYNU','requirePWModule','jest_browserstack.config.js','workingDir','AjIEo','88GkBXif','../../helpers/utilities','cxtzJ','BROWSERSTACK_TEST_OBSERVABILITY_YML','customSequencer.js','cwd','requireModule','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','6540633GBQaJb','1ZKLPAs','ZoMlO','lPWAw','customImplements','parallelsPerPlatform','parse','testContextOptions','retries__','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','114440TJHCsL','puppeteer','34842dYowRb','245mPmakd','debug','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','\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','tTrED','platformCaps',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','customCircus.js','SDK_CLEANUP','readInitialOptions','OMaQl','ECQps','length','BfFaD','platforms','./test-observability/helper',';\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','format','bHfxE','log','getErrorMessageFromResults','../../helpers/logger','bLFDb','exitCode','slice','push','Reodered\x20Test\x20Files:\x20','jest-circus/build/runner.js','DklAs','1651754MjcIXa','bnjdm','skipSessionName','XKuam','jwCXB','true','nfDMH','dirname','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','checkAccessibilityPlatformConfig','csVMX','close','env','recursive','prepareCapabilities','const\x20config=','npZQH','existsSync','slxeM','./test-observability/test-details','turboScaleUrl','jest.config.','BYtGT','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','BROWSERSTACK_FRAMEWORK','132hEXpAZ','--config','OEWyl','TrCFg','filterBrowserstackArgs','YlmRn','../../helpers/test-observability/utils','isTestOrchestrationEnabled','false','isBrowserstackInfra','getHubUrl','jest-config','../../helpers/test-orchestration/testOrchestrationHandler','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','../v2/browserstackCLI','retryTestsOnFailure','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','isNotUndefined','customEnvironment.js','finalExecution','readFileSync','xkxgS','printBuildLink','BROWSERSTACK_TEST_ACCESSIBILITY_YML','dFFPr','TCiut','child_process','setupFiles','setupFilesAfterEnv','../../helpers/test-observability/constants','jest_browserstack_results.json','error','shouldProcessEventForTesthub','../utils/constants','EVENTS','initialize','findTestFiles','pOpAu','nNbKE','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','uAUkc','isUndefined','bCJMA','Found:\x20','mjs','Vxjou','logLevel','Getting\x20your\x20jest\x20configs\x20from\x20','CMdUN','testSequencer','DCBQm','setup','getPackageType','test_before.setup.js','util','ZVpyA','../../helpers/performance/constants','resolve','USER_CONFIG_DETAILS_PATH','accessibilityOptions','jest-runner-','MxMfM','dbGew','reorderTestFiles','message','browserStackPercyOptions','../../helpers/helper','stringify','isRunning','__isPuppeteerInstalled','KWHrb','proxySettings','JEST','../../helpers/playwright-helper','PACKAGE_TYPE','testRunner','avIno','test.setup.js','end','Deleted\x20fail-fast\x20state\x20folder:\x20','@jest/core/build/ReporterDispatcher.js','../../helpers/percy/utils','assign','BSTACK_USER_JEST_RUNNER','apply','reporters','Puppeteer\x20setup\x20error:\x20','Unable\x20to\x20find\x20jest-circus,\x20','testObservability','TCBNP','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','npx','requireSeleniumWebdriver','platform','writeFileSync','cjs','unlinkSync','stop','BROWSERSTACK_CAPABILITIES','../../helpers/puppeteer-helper','getInstance','FRAMEWORKS','AHGJu','qMUik','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM'];a17_0x4d1d=function(){return _0x9b2008;};return a17_0x4d1d();}module['exports']=run;
@@ -1 +1 @@
1
- const a18_0x248cda=a18_0x464a;(function(_0x344b40,_0x3cc662){const _0x35becf=a18_0x464a,_0x280dbb=_0x344b40();while(!![]){try{const _0x5ea883=parseInt(_0x35becf(0x1a2))/0x1+parseInt(_0x35becf(0x1a6))/0x2*(parseInt(_0x35becf(0x19e))/0x3)+-parseInt(_0x35becf(0x197))/0x4+parseInt(_0x35becf(0x191))/0x5+-parseInt(_0x35becf(0x1a4))/0x6*(-parseInt(_0x35becf(0x19c))/0x7)+-parseInt(_0x35becf(0x194))/0x8*(parseInt(_0x35becf(0x193))/0x9)+parseInt(_0x35becf(0x1a0))/0xa;if(_0x5ea883===_0x3cc662)break;else _0x280dbb['push'](_0x280dbb['shift']());}catch(_0x157c79){_0x280dbb['push'](_0x280dbb['shift']());}}}(a18_0x3e66,0x3cc27));const path=require('path'),{requireModule}=require(a18_0x248cda(0x19d));function a18_0x464a(_0x4f22df,_0xca5d98){const _0x3e6697=a18_0x3e66();return a18_0x464a=function(_0x464a19,_0xdcfff8){_0x464a19=_0x464a19-0x190;let _0x29a377=_0x3e6697[_0x464a19];return _0x29a377;},a18_0x464a(_0x4f22df,_0xca5d98);}function a18_0x3e66(){const _0x16948b=['1140988JOLVSn','default','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','join','customJestAdapterInit.js','392VKdKEb','../../../helpers/helper','2229OjrGxM','tQtqK','988640FjSCQC','jestAdapterInit','188gkKdfu','requireInternalModule','22944cCuRah','jest-circus','730RwlFhL','initRequireModule','exports','495715rqDtkl','includes','168093aUALeY','64RSFUHe','HaVth','function'];a18_0x3e66=function(){return _0x16948b;};return a18_0x3e66();}let initJestAdapter;try{initJestAdapter=requireModule(a18_0x248cda(0x199),a18_0x248cda(0x1a5));}catch{initJestAdapter=requireModule('jest-circus/build/runner.js','jest-circus');}initJestAdapter=typeof initJestAdapter===a18_0x248cda(0x196)?initJestAdapter:initJestAdapter[a18_0x248cda(0x198)];const FRAMEWORK_INITIALIZER=path[a18_0x248cda(0x19a)](__dirname,a18_0x248cda(0x19b));module[a18_0x248cda(0x190)]=(..._0xac54e9)=>{const _0x1dd404=a18_0x248cda,_0x1e1efd={'PYrgt':_0x1dd404(0x1a1),'tQtqK':function(_0x4c73d4,_0x1b01c4){return _0x4c73d4===_0x1b01c4;},'HaVth':function(_0x5bb36c,..._0x387521){return _0x5bb36c(..._0x387521);}};return _0xac54e9[0x3]['initRequireModule']=_0xac54e9[0x3][_0x1dd404(0x1a3)],_0xac54e9[0x3][_0x1dd404(0x1a3)]=(..._0x21aca4)=>{const _0x7e1fa5=_0x1dd404;if(_0x21aca4[0x0]&&_0x21aca4[0x0][_0x7e1fa5(0x192)](_0x1e1efd['PYrgt'])&&_0x1e1efd[_0x7e1fa5(0x19f)](_0x21aca4[0x1],undefined))return _0xac54e9[0x3][_0x7e1fa5(0x1a7)](FRAMEWORK_INITIALIZER);return _0xac54e9[0x3][_0x7e1fa5(0x1a7)](..._0x21aca4);},_0x1e1efd[_0x1dd404(0x195)](initJestAdapter,..._0xac54e9);};
1
+ const a18_0xf7b141=a18_0x4ee8;function a18_0xce55(){const _0x2f2582=['5VkICYy','325455tXnCol','join','initRequireModule','20COIrop','exports','322076pAVOcv','6795NHQWbw','includes','default','321822ucxnNQ','2RAEdMN','jest-circus','../../../helpers/helper','921206BOfwyg','requireInternalModule','KUYVB','DypHb','jestAdapterInit','customJestAdapterInit.js','path','3848AGQLYE','1385307HAnMsj','jest-circus/build/runner.js','1796070lYXQdO'];a18_0xce55=function(){return _0x2f2582;};return a18_0xce55();}(function(_0x5757da,_0x14c35a){const _0x5cefa3=a18_0x4ee8,_0x32775e=_0x5757da();while(!![]){try{const _0x1a24d7=-parseInt(_0x5cefa3(0x92))/0x1*(-parseInt(_0x5cefa3(0x91))/0x2)+-parseInt(_0x5cefa3(0x88))/0x3+-parseInt(_0x5cefa3(0x8d))/0x4*(parseInt(_0x5cefa3(0x87))/0x5)+-parseInt(_0x5cefa3(0x86))/0x6+parseInt(_0x5cefa3(0x9d))/0x7+-parseInt(_0x5cefa3(0x9c))/0x8*(-parseInt(_0x5cefa3(0x8e))/0x9)+-parseInt(_0x5cefa3(0x8b))/0xa*(parseInt(_0x5cefa3(0x95))/0xb);if(_0x1a24d7===_0x14c35a)break;else _0x32775e['push'](_0x32775e['shift']());}catch(_0x1d452d){_0x32775e['push'](_0x32775e['shift']());}}}(a18_0xce55,0x376dd));const path=require(a18_0xf7b141(0x9b)),{requireModule}=require(a18_0xf7b141(0x94));let initJestAdapter;try{initJestAdapter=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js',a18_0xf7b141(0x93));}catch{initJestAdapter=requireModule(a18_0xf7b141(0x9e),a18_0xf7b141(0x93));}function a18_0x4ee8(_0x28ab43,_0x1fa054){const _0xce5572=a18_0xce55();return a18_0x4ee8=function(_0x4ee894,_0xb91fb3){_0x4ee894=_0x4ee894-0x86;let _0x2f5392=_0xce5572[_0x4ee894];return _0x2f5392;},a18_0x4ee8(_0x28ab43,_0x1fa054);}initJestAdapter=typeof initJestAdapter==='function'?initJestAdapter:initJestAdapter[a18_0xf7b141(0x90)];const FRAMEWORK_INITIALIZER=path[a18_0xf7b141(0x89)](__dirname,a18_0xf7b141(0x9a));module[a18_0xf7b141(0x8c)]=(..._0x307a12)=>{const _0x11558e=a18_0xf7b141,_0x1b628b={'DypHb':_0x11558e(0x99),'OHoRu':function(_0x18d3da,_0x2bf145){return _0x18d3da===_0x2bf145;},'KUYVB':function(_0xa86daa,..._0x1f0bb2){return _0xa86daa(..._0x1f0bb2);}};return _0x307a12[0x3][_0x11558e(0x8a)]=_0x307a12[0x3]['requireInternalModule'],_0x307a12[0x3][_0x11558e(0x96)]=(..._0x3e6924)=>{const _0xd0ba72=_0x11558e;if(_0x3e6924[0x0]&&_0x3e6924[0x0][_0xd0ba72(0x8f)](_0x1b628b[_0xd0ba72(0x98)])&&_0x1b628b['OHoRu'](_0x3e6924[0x1],undefined))return _0x307a12[0x3][_0xd0ba72(0x8a)](FRAMEWORK_INITIALIZER);return _0x307a12[0x3][_0xd0ba72(0x8a)](..._0x3e6924);},_0x1b628b[_0x11558e(0x97)](initJestAdapter,..._0x307a12);};
@@ -1 +1 @@
1
- const a19_0x5092b3=a19_0x55d3;function a19_0x55d3(_0x283bb4,_0x23fb00){const _0x4863e3=a19_0x4863();return a19_0x55d3=function(_0x55d319,_0x3d9f38){_0x55d319=_0x55d319-0x134;let _0x328540=_0x4863e3[_0x55d319];return _0x328540;},a19_0x55d3(_0x283bb4,_0x23fb00);}(function(_0x8a8188,_0x2ed8b5){const _0x31159c=a19_0x55d3,_0x20f622=_0x8a8188();while(!![]){try{const _0x3c8425=-parseInt(_0x31159c(0x17d))/0x1+-parseInt(_0x31159c(0x1a6))/0x2*(parseInt(_0x31159c(0x179))/0x3)+-parseInt(_0x31159c(0x177))/0x4*(parseInt(_0x31159c(0x17e))/0x5)+parseInt(_0x31159c(0x1a7))/0x6*(-parseInt(_0x31159c(0x158))/0x7)+parseInt(_0x31159c(0x151))/0x8*(-parseInt(_0x31159c(0x197))/0x9)+-parseInt(_0x31159c(0x18d))/0xa*(parseInt(_0x31159c(0x182))/0xb)+parseInt(_0x31159c(0x145))/0xc*(parseInt(_0x31159c(0x150))/0xd);if(_0x3c8425===_0x2ed8b5)break;else _0x20f622['push'](_0x20f622['shift']());}catch(_0x21f82c){_0x20f622['push'](_0x20f622['shift']());}}}(a19_0x4863,0xed9bc));const helper=require('../../../helpers/helper'),constants=require(a19_0x5092b3(0x1a2)),{isTestObservabilitySession}=require(a19_0x5092b3(0x14a)),RequestQueueHandler=require(a19_0x5092b3(0x15f)),ObservabilityReporter=require('../test-observability/obsReporter'),testhubUtils=require(a19_0x5092b3(0x137)),logger=require(a19_0x5092b3(0x144))[a19_0x5092b3(0x153)],getTestEnvironment=((()=>{const _0x2eeff9=a19_0x5092b3,_0x3dd654={};_0x3dd654[_0x2eeff9(0x1a5)]='jest-resolve',_0x3dd654[_0x2eeff9(0x194)]=_0x2eeff9(0x149);const _0x5ac21f=_0x3dd654;try{const _0x916674=helper[_0x2eeff9(0x167)](_0x5ac21f[_0x2eeff9(0x1a5)]);if(_0x916674[_0x2eeff9(0x143)])return _0x916674[_0x2eeff9(0x143)];const _0x41d258=helper[_0x2eeff9(0x167)](_0x5ac21f['FtdMX']);if(_0x41d258['getTestEnvironment'])return _0x41d258[_0x2eeff9(0x154)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x48ab05=a19_0x5092b3,_0x5a472a={'mtIzA':function(_0x3b0c95,_0x277d6e){return _0x3b0c95(_0x277d6e);},'oAVjJ':_0x48ab05(0x16d),'qXzjl':function(_0x13d0af,_0x15cef8){return _0x13d0af(_0x15cef8);},'QHmld':_0x48ab05(0x16f)},_0x368a0e=_0x5a472a[_0x48ab05(0x18c)](getTestEnvironment,{'rootDir':process[_0x48ab05(0x135)](),'testEnvironment':process[_0x48ab05(0x1ac)][_0x48ab05(0x18a)]||_0x5a472a[_0x48ab05(0x17b)]});if(!_0x368a0e)return _0x5a472a['qXzjl'](_interopRequireDefault,helper['requireModule'](_0x5a472a['QHmld']));return _0x5a472a[_0x48ab05(0x1a8)](_interopRequireDefault,helper[_0x48ab05(0x167)](_0x368a0e));})()),_seleniumWebdriver2=((()=>{const _0x51fa9a=a19_0x5092b3,_0x277aab={'RjGPw':function(_0x56b9b7,_0xa822cd){return _0x56b9b7(_0xa822cd);}};try{const _0x749320=helper[_0x51fa9a(0x16e)]();return helper[_0x51fa9a(0x195)](),_0x277aab['RjGPw'](_interopRequireDefault,_0x749320);}catch{return null;}})());function a19_0x4863(){const _0x36b84b=['sessionNameProvided','quit','11DewobH','YttsS','../../../helpers/test-orchestration/failfastManager','shouldProcessEventForTesthub','bJPtm','__timeout','testPath','test_start','BSTACK_JEST_TEST_ENV','setup','mtIzA','16189880MlMdBH','capability','__webdriver','../../../index','deHhc','exports','test','FtdMX','modifyCommand','Builder','13740255SDunOr','uHFyI','projectConfig','browserStackPercyOptions','testEnvironmentOptions','buildName','retries__','BHawx','qggPv','platformCaps','FRAMEWORKS','../../utils/constants','global','GPcFD','LeWQk','10OCuvEq','12mOfnmg','qXzjl','skipSessionName','join','jhuKI','env','JEST','cwd','capabilities','../../../helpers/testhub/utils','errors','testContext','failFastActive','percy','browserstackPlatformIndex','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','DnwwS','teardown','framework','1|5|3|0|2|7|6|4','hkRdu','resolveTestEnvironment','../../../helpers/logger','252FaMuxl','DxWuV','debug','WNsSs','jest-config','../../../helpers/test-observability/utils','handleTestEvent','failFast','onTestDone','skipSessionStatus','dUNxV','4993573FbQIGQ','8LuMJZa','isTrue','winstonLogger','getTestEnvironment','default','bstack:options','mode','5248964uirwiX','SVtmX','driver','CsoMl','rNVsY','isArray','percyCaptureMode','../../../helpers/test-observability/requestQueueHandler','bgZks','BSTACK_DELTA','VeLKB','failFastOptions','tQaaH','split','browserstackPercyBestPlatform','requireModule','registerListeners','JZLOP','nestedKeyValue','cleanup','timeout__','node','requireSeleniumWebdriver','jest-environment-node','\x20>\x20','skip','info','WKSbT','__jestRetries','__platformCaps','configuration','15832lwxFpx','cleanupDrivers','666291EXCRxy','message','oAVjJ','FzZFw','363757VzFPnd','1230FasGap','projectName'];a19_0x4863=function(){return _0x36b84b;};return a19_0x4863();}function _interopRequireDefault(_0x4a4e23){return _0x4a4e23&&_0x4a4e23['__esModule']?_0x4a4e23:{'default':_0x4a4e23};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a19_0x5092b3(0x155)][a19_0x5092b3(0x196)]:null;class CustomEnvironment extends _jestUserEnvironment[a19_0x5092b3(0x155)]{constructor(_0x38cfaa){const _0x1d9f6f=a19_0x5092b3,_0x8363c3={'hkRdu':_0x1d9f6f(0x181),'WYJEf':function(_0x7d2339,_0x586c76){return _0x7d2339+_0x586c76;},'bJPtm':_0x1d9f6f(0x156),'bgZks':function(_0x30c2ab,_0x47e9b9){return _0x30c2ab(_0x47e9b9);},'BHawx':_0x1d9f6f(0x184),'uHFyI':_0x1d9f6f(0x141),'jhuKI':_0x1d9f6f(0x19b),'WKSbT':_0x1d9f6f(0x19a),'JZLOP':_0x1d9f6f(0x13b),'DnwwS':_0x1d9f6f(0x15e),'YttsS':_0x1d9f6f(0x166),'tQaaH':function(_0x5a016f,_0xd7b22f){return _0x5a016f(_0xd7b22f);},'dUNxV':_0x1d9f6f(0x190)};super(_0x38cfaa),this[_0x1d9f6f(0x1a3)]['__timeout']=0x0,this[_0x1d9f6f(0x176)]={};!_0x38cfaa[_0x1d9f6f(0x19b)]&&(_0x38cfaa[_0x1d9f6f(0x19b)]={});if(helper['isBrowserstackInfra']()){_0x38cfaa[_0x1d9f6f(0x19b)]=_0x38cfaa[_0x1d9f6f(0x199)]?_0x38cfaa[_0x1d9f6f(0x199)][_0x1d9f6f(0x19b)]:_0x38cfaa['testEnvironmentOptions'];_seleniumWebdriver2&&(this['builder']=new _seleniumWebdriver2[(_0x1d9f6f(0x155))][(_0x1d9f6f(0x196))]());this[_0x1d9f6f(0x18e)]=_0x38cfaa['projectConfig']?_0x38cfaa['projectConfig'][_0x1d9f6f(0x18e)]:_0x38cfaa[_0x1d9f6f(0x18e)],this['global'][_0x1d9f6f(0x187)]=_0x8363c3['WYJEf'](_0x38cfaa['testEnvironmentOptions'][_0x1d9f6f(0x16c)]||0x1388,constants[_0x1d9f6f(0x161)]),this[_0x1d9f6f(0x163)]=_0x38cfaa[_0x1d9f6f(0x19b)]['failFast'];if(this[_0x1d9f6f(0x163)]){const _0x49ea8f=this['capability'][_0x8363c3[_0x1d9f6f(0x186)]]?.[_0x1d9f6f(0x19c)]||'',_0x2ee4b0=this[_0x1d9f6f(0x18e)][_0x8363c3[_0x1d9f6f(0x186)]]?.[_0x1d9f6f(0x17f)]||'';this['failFast']=new(_0x8363c3[_0x1d9f6f(0x160)](require,_0x8363c3[_0x1d9f6f(0x19e)]))(this[_0x1d9f6f(0x163)],_0x49ea8f,_0x2ee4b0),this[_0x1d9f6f(0x1a3)][_0x1d9f6f(0x13a)]=![];}helper['isNotUndefined'](_0x38cfaa[_0x1d9f6f(0x19b)][_0x1d9f6f(0x19d)])&&(this[_0x1d9f6f(0x1a3)][_0x1d9f6f(0x174)]=_0x38cfaa[_0x1d9f6f(0x19b)][_0x1d9f6f(0x19d)]);}if(testhubUtils[_0x1d9f6f(0x185)]()){const _0x152c18=new ObservabilityReporter();_0x152c18[_0x1d9f6f(0x168)]();}this[_0x1d9f6f(0x1a3)]['browserStackGlobals']={},this[_0x1d9f6f(0x176)]=_0x38cfaa[_0x1d9f6f(0x19b)],this[_0x1d9f6f(0x176)][_0x1d9f6f(0x140)]=constants[_0x1d9f6f(0x1a1)][_0x1d9f6f(0x134)],this[_0x1d9f6f(0x1a3)][_0x1d9f6f(0x13c)]=(_0x38cfaa['projectConfig']?_0x38cfaa[_0x1d9f6f(0x199)][_0x1d9f6f(0x13c)]:_0x38cfaa[_0x1d9f6f(0x13c)])||0x0,this[_0x1d9f6f(0x1a3)][_0x1d9f6f(0x175)]=this[_0x1d9f6f(0x176)]&&this[_0x1d9f6f(0x176)][_0x1d9f6f(0x1a0)]&&Array[_0x1d9f6f(0x15d)](this[_0x1d9f6f(0x176)][_0x1d9f6f(0x1a0)])&&this['configuration'][_0x1d9f6f(0x1a0)][this['global'][_0x1d9f6f(0x13c)]]||{};const _0x5e0074=this['global'][_0x1d9f6f(0x13c)],_0xf00c15={...this[_0x1d9f6f(0x176)],'capability':this['configuration'][_0x1d9f6f(0x136)]&&Array[_0x1d9f6f(0x15d)](this[_0x1d9f6f(0x176)]['capabilities'])&&this['configuration'][_0x1d9f6f(0x136)][_0x5e0074]||{},'platformCaps':this[_0x1d9f6f(0x176)]['platformCaps']&&Array[_0x1d9f6f(0x15d)](this[_0x1d9f6f(0x176)][_0x1d9f6f(0x1a0)])&&this[_0x1d9f6f(0x176)]['platformCaps'][_0x5e0074]||{}};delete _0xf00c15['capabilities'],this[_0x1d9f6f(0x1a3)]['jestConfig']=_0xf00c15;if(_seleniumWebdriver2){const _0x3c37f2=_0x8363c3[_0x1d9f6f(0x198)][_0x1d9f6f(0x165)]('|');let _0x301e7e=0x0;while(!![]){switch(_0x3c37f2[_0x301e7e++]){case'0':this[_0x1d9f6f(0x1a3)][_0x1d9f6f(0x13b)]=helper[_0x1d9f6f(0x16a)](_0x38cfaa,[_0x8363c3[_0x1d9f6f(0x1ab)],_0x8363c3['WKSbT'],_0x8363c3[_0x1d9f6f(0x169)]]);continue;case'1':this[_0x1d9f6f(0x1a3)]['__drivers']=[];continue;case'2':this['global'][_0x1d9f6f(0x15e)]=helper[_0x1d9f6f(0x16a)](_0x38cfaa,[_0x8363c3['jhuKI'],_0x8363c3[_0x1d9f6f(0x173)],_0x8363c3[_0x1d9f6f(0x13e)]]);continue;case'3':this[_0x1d9f6f(0x1a3)]['browserstackPercyBestPlatform']=helper['nestedKeyValue'](_0x38cfaa,[_0x8363c3[_0x1d9f6f(0x1ab)],_0x8363c3[_0x1d9f6f(0x173)],_0x8363c3[_0x1d9f6f(0x183)]]);continue;case'4':this[_0x1d9f6f(0x1a3)][_0x1d9f6f(0x16b)]=async()=>{const _0x5cc349=_0x1d9f6f;await this[_0x5cc349(0x1a3)][_0x5cc349(0x15a)][_0x5cc349(0x181)](_0x8363c3[_0x5cc349(0x142)]);};continue;case'5':this[_0x1d9f6f(0x1a3)][_0x1d9f6f(0x18f)]=_0x8363c3[_0x1d9f6f(0x164)](require,_0x8363c3[_0x1d9f6f(0x14f)])['browserstackAgentV2']({...this[_0x1d9f6f(0x176)],'capability':this[_0x1d9f6f(0x18e)]||{}},this,testhubUtils[_0x1d9f6f(0x185)]());continue;case'6':this[_0x1d9f6f(0x1a3)]['__skipSessionStatus']=helper['isTrue'](this['configuration'][_0x1d9f6f(0x14e)]);continue;case'7':helper[_0x1d9f6f(0x152)](this[_0x1d9f6f(0x176)][_0x1d9f6f(0x1a9)])?this[_0x1d9f6f(0x1a3)][_0x1d9f6f(0x180)]=!![]:this[_0x1d9f6f(0x1a3)]['sessionNameProvided']=![];continue;}break;}}}async[a19_0x5092b3(0x13f)](){const _0x327bc7=a19_0x5092b3;_seleniumWebdriver2&&(await helper[_0x327bc7(0x178)](this[_0x327bc7(0x1a3)]['__driversArray']),this['global'][_0x327bc7(0x18f)]['Builder']=originalBuilder),await RequestQueueHandler['getInstance']()['shutdown']();}async[a19_0x5092b3(0x18b)](){}async[a19_0x5092b3(0x14b)](_0x154b1b,_0x135833){const _0x150c98=a19_0x5092b3,_0x285896={};_0x285896[_0x150c98(0x15c)]=function(_0x14ab40,_0x106bf2){return _0x14ab40===_0x106bf2;},_0x285896['GPcFD']=_0x150c98(0x189),_0x285896[_0x150c98(0x162)]=function(_0x5253de,_0x35ca9e){return _0x5253de===_0x35ca9e;},_0x285896[_0x150c98(0x17c)]=_0x150c98(0x171),_0x285896[_0x150c98(0x159)]=function(_0x310811,_0xa9908b){return _0x310811===_0xa9908b;},_0x285896[_0x150c98(0x15b)]='test_done',_0x285896['qggPv']=_0x150c98(0x170),_0x285896['GEwGd']=function(_0x14ffee,_0x3272f2){return _0x14ffee===_0x3272f2;},_0x285896[_0x150c98(0x146)]=function(_0x559a2c,_0x2dcf37){return _0x559a2c===_0x2dcf37;},_0x285896['deHhc']='Error\x20in\x20fail-fast\x20test_done\x20handler:',_0x285896[_0x150c98(0x148)]='teardown';const _0x657383=_0x285896,{name:_0x1a8a1e}=_0x154b1b;if(_0x657383[_0x150c98(0x15c)](_0x1a8a1e,_0x657383[_0x150c98(0x1a4)])){this[_0x150c98(0x1a3)][_0x150c98(0x139)]=_0x154b1b[_0x150c98(0x193)];if(_0x657383[_0x150c98(0x162)](this[_0x150c98(0x1a3)][_0x150c98(0x13a)],!![])){const _0x4cabe0=_0x154b1b[_0x150c98(0x193)]['name'];logger[_0x150c98(0x172)](_0x150c98(0x13d)+_0x4cabe0),_0x154b1b[_0x150c98(0x193)][_0x150c98(0x157)]=_0x657383[_0x150c98(0x17c)];}}if(this[_0x150c98(0x14c)]&&_0x657383[_0x150c98(0x159)](_0x1a8a1e,_0x657383['CsoMl']))try{const _0x44c7bb=_0x154b1b[_0x150c98(0x193)][_0x150c98(0x188)][_0x150c98(0x1aa)](_0x657383[_0x150c98(0x19f)]),_0x38c48f=_0x154b1b[_0x150c98(0x193)][_0x150c98(0x138)];await this[_0x150c98(0x14c)][_0x150c98(0x14d)](_0x44c7bb,_0x38c48f);const _0x59c403=await this[_0x150c98(0x14c)]['shouldFailFast']();_0x657383['GEwGd'](this[_0x150c98(0x1a3)][_0x150c98(0x13a)],![])&&_0x657383[_0x150c98(0x146)](_0x59c403,!![])&&(this[_0x150c98(0x1a3)][_0x150c98(0x13a)]=!![]);}catch(_0xacd4fd){logger[_0x150c98(0x147)](_0x657383[_0x150c98(0x191)],_0xacd4fd[_0x150c98(0x17a)]);}_0x657383[_0x150c98(0x159)](_0x1a8a1e,_0x657383['WNsSs'])&&(this['failFast']&&this[_0x150c98(0x14c)][_0x150c98(0x16b)]());}}module[a19_0x5092b3(0x192)]=CustomEnvironment;
1
+ function a19_0x17e8(_0xd132e1,_0x1dea8e){const _0x217d5f=a19_0x217d();return a19_0x17e8=function(_0x17e85c,_0x5db621){_0x17e85c=_0x17e85c-0x1f2;let _0x222c32=_0x217d5f[_0x17e85c];return _0x222c32;},a19_0x17e8(_0xd132e1,_0x1dea8e);}function a19_0x217d(){const _0x2a25e1=['debug','exports','Error\x20in\x20fail-fast\x20test_done\x20handler:','eqGPz','testEnvironmentOptions','test_done','skipSessionStatus','hCffc','LBAxM','driver','2151PHpUtM','global','projectConfig','sessionNameProvided','errors','test','JEST','../../../helpers/test-observability/requestQueueHandler','2099286McNrFr','4582840VMDfPP','testPath','GAfbk','KdsBQ','4561YaaTOl','cleanup','quit','../../../helpers/test-orchestration/failfastManager','mcCRh','uAaJn','0|6|7|2|3|5|1|4','BSTACK_DELTA','1281954sPbMup','env','__timeout','__esModule','10MqdZAj','configuration','percy','__driversArray','onTestDone','__webdriver','__jestRetries','gxGgW','isArray','cOpuR','UdASg','capability','browserStackGlobals','skipSessionName','default','jest-config','modifyCommand','1288RwwOSp','2495101tzEedb','JoGsq','info','WgJxl','dGwgh','browserstackAgentV2','failFast','split','cwd','failFastActive','timeout__','nCLYT','browserstackPlatformIndex','shouldFailFast','node','../test-observability/obsReporter','__drivers','xJJfv','__platformCaps','capabilities','nestedKeyValue','getTestEnvironment','30rpprZr','XDudP','projectName','isTrue','10WIufxO','GXlGb','teardown','requireModule','retries__','WvPWP','DojKy','../../../helpers/testhub/utils','wlKlx','jest-resolve','failFastOptions','percyCaptureMode','cleanupDrivers','__skipSessionStatus','jestConfig','pccQT','shouldProcessEventForTesthub','FRAMEWORKS','resolveTestEnvironment','Builder','4763099QwyDgA','aBtsJ','requireSeleniumWebdriver','RmWXH','platformCaps','name','framework','VUcVg','test_start','../../../helpers/logger'];a19_0x217d=function(){return _0x2a25e1;};return a19_0x217d();}const a19_0x4bb925=a19_0x17e8;(function(_0x19a52e,_0x257bb3){const _0x3324de=a19_0x17e8,_0x3e75bd=_0x19a52e();while(!![]){try{const _0x1a92a1=parseInt(_0x3324de(0x210))/0x1*(parseInt(_0x3324de(0x244))/0x2)+-parseInt(_0x3324de(0x203))/0x3*(-parseInt(_0x3324de(0x22d))/0x4)+parseInt(_0x3324de(0x248))/0x5*(-parseInt(_0x3324de(0x218))/0x6)+-parseInt(_0x3324de(0x22e))/0x7+parseInt(_0x3324de(0x20c))/0x8+-parseInt(_0x3324de(0x20b))/0x9+-parseInt(_0x3324de(0x21c))/0xa*(-parseInt(_0x3324de(0x25c))/0xb);if(_0x1a92a1===_0x257bb3)break;else _0x3e75bd['push'](_0x3e75bd['shift']());}catch(_0x1606ec){_0x3e75bd['push'](_0x3e75bd['shift']());}}}(a19_0x217d,0x4658a));const helper=require('../../../helpers/helper'),constants=require('../../utils/constants'),{isTestObservabilitySession}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a19_0x4bb925(0x20a)),ObservabilityReporter=require(a19_0x4bb925(0x23d)),testhubUtils=require(a19_0x4bb925(0x24f)),logger=require(a19_0x4bb925(0x1f8))['winstonLogger'],getTestEnvironment=((()=>{const _0x266abc=a19_0x4bb925,_0x330c7a={};_0x330c7a[_0x266abc(0x226)]=_0x266abc(0x251),_0x330c7a['eqGPz']=_0x266abc(0x22b);const _0xcca844=_0x330c7a;try{const _0x5cfc66=helper[_0x266abc(0x24b)](_0xcca844[_0x266abc(0x226)]);if(_0x5cfc66[_0x266abc(0x25a)])return _0x5cfc66[_0x266abc(0x25a)];const _0x40a59d=helper[_0x266abc(0x24b)](_0xcca844[_0x266abc(0x1fc)]);if(_0x40a59d[_0x266abc(0x243)])return _0x40a59d[_0x266abc(0x243)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x27f64e=a19_0x4bb925,_0x38a434={'DojKy':function(_0x1f9a51,_0x53573e){return _0x1f9a51(_0x53573e);},'nCLYT':_0x27f64e(0x23c),'JPoTH':function(_0x284e91,_0x12a8b4){return _0x284e91(_0x12a8b4);},'iKyFX':'jest-environment-node'},_0x434a21=_0x38a434[_0x27f64e(0x24e)](getTestEnvironment,{'rootDir':process[_0x27f64e(0x236)](),'testEnvironment':process[_0x27f64e(0x219)]['BSTACK_JEST_TEST_ENV']||_0x38a434[_0x27f64e(0x239)]});if(!_0x434a21)return _0x38a434['JPoTH'](_interopRequireDefault,helper[_0x27f64e(0x24b)](_0x38a434['iKyFX']));return _0x38a434['JPoTH'](_interopRequireDefault,helper[_0x27f64e(0x24b)](_0x434a21));})()),_seleniumWebdriver2=((()=>{const _0x5a2d09=a19_0x4bb925,_0x487385={'JoGsq':function(_0x5b9c77,_0x5517ef){return _0x5b9c77(_0x5517ef);}};try{const _0xb75a27=helper[_0x5a2d09(0x25e)]();return helper[_0x5a2d09(0x22c)](),_0x487385[_0x5a2d09(0x22f)](_interopRequireDefault,_0xb75a27);}catch{return null;}})());function _interopRequireDefault(_0x5b1a0a){const _0x5da773=a19_0x4bb925;return _0x5b1a0a&&_0x5b1a0a[_0x5da773(0x21b)]?_0x5b1a0a:{'default':_0x5b1a0a};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a19_0x4bb925(0x22a)][a19_0x4bb925(0x25b)]:null;class CustomEnvironment extends _jestUserEnvironment[a19_0x4bb925(0x22a)]{constructor(_0x833f29){const _0x2b06da=a19_0x4bb925,_0x18351b={'kdWMy':_0x2b06da(0x212),'cOpuR':function(_0xee9211,_0x58cf13){return _0xee9211+_0x58cf13;},'dGwgh':'bstack:options','PjyBc':function(_0x35f568,_0x3169d4){return _0x35f568(_0x3169d4);},'LBAxM':_0x2b06da(0x213),'hCffc':_0x2b06da(0x216),'wlKlx':'testEnvironmentOptions','XDudP':'browserStackPercyOptions','xJJfv':'percy','mcCRh':_0x2b06da(0x253),'GAfbk':function(_0x44a0c0,_0xa0884){return _0x44a0c0(_0xa0884);},'gxGgW':'../../../index','VUcVg':'browserstackPercyBestPlatform'};super(_0x833f29),this['global'][_0x2b06da(0x21a)]=0x0,this['configuration']={};!_0x833f29[_0x2b06da(0x1fd)]&&(_0x833f29['testEnvironmentOptions']={});if(helper['isBrowserstackInfra']()){_0x833f29[_0x2b06da(0x1fd)]=_0x833f29[_0x2b06da(0x205)]?_0x833f29[_0x2b06da(0x205)][_0x2b06da(0x1fd)]:_0x833f29[_0x2b06da(0x1fd)];_seleniumWebdriver2&&(this['builder']=new _seleniumWebdriver2[(_0x2b06da(0x22a))][(_0x2b06da(0x25b))]());this[_0x2b06da(0x227)]=_0x833f29[_0x2b06da(0x205)]?_0x833f29[_0x2b06da(0x205)][_0x2b06da(0x227)]:_0x833f29[_0x2b06da(0x227)],this[_0x2b06da(0x204)][_0x2b06da(0x21a)]=_0x18351b[_0x2b06da(0x225)](_0x833f29[_0x2b06da(0x1fd)][_0x2b06da(0x238)]||0x1388,constants[_0x2b06da(0x217)]),this[_0x2b06da(0x252)]=_0x833f29[_0x2b06da(0x1fd)][_0x2b06da(0x234)];if(this['failFastOptions']){const _0xc5fb3=this[_0x2b06da(0x227)][_0x18351b[_0x2b06da(0x232)]]?.['buildName']||'',_0x2ac16f=this[_0x2b06da(0x227)][_0x18351b[_0x2b06da(0x232)]]?.[_0x2b06da(0x246)]||'';this[_0x2b06da(0x234)]=new(_0x18351b['PjyBc'](require,_0x18351b[_0x2b06da(0x201)]))(this[_0x2b06da(0x252)],_0xc5fb3,_0x2ac16f),this[_0x2b06da(0x204)][_0x2b06da(0x237)]=![];}helper['isNotUndefined'](_0x833f29[_0x2b06da(0x1fd)][_0x2b06da(0x24c)])&&(this[_0x2b06da(0x204)][_0x2b06da(0x222)]=_0x833f29[_0x2b06da(0x1fd)][_0x2b06da(0x24c)]);}if(testhubUtils[_0x2b06da(0x258)]()){const _0x4b0663=new ObservabilityReporter();_0x4b0663['registerListeners']();}this['global'][_0x2b06da(0x228)]={},this['configuration']=_0x833f29[_0x2b06da(0x1fd)],this[_0x2b06da(0x21d)][_0x2b06da(0x1f5)]=constants[_0x2b06da(0x259)][_0x2b06da(0x209)],this[_0x2b06da(0x204)][_0x2b06da(0x23a)]=(_0x833f29[_0x2b06da(0x205)]?_0x833f29[_0x2b06da(0x205)][_0x2b06da(0x23a)]:_0x833f29[_0x2b06da(0x23a)])||0x0,this[_0x2b06da(0x204)][_0x2b06da(0x240)]=this[_0x2b06da(0x21d)]&&this['configuration']['platformCaps']&&Array['isArray'](this['configuration'][_0x2b06da(0x1f3)])&&this['configuration'][_0x2b06da(0x1f3)][this[_0x2b06da(0x204)][_0x2b06da(0x23a)]]||{};const _0x232c1b=this[_0x2b06da(0x204)][_0x2b06da(0x23a)],_0x41b72e={...this[_0x2b06da(0x21d)],'capability':this[_0x2b06da(0x21d)][_0x2b06da(0x241)]&&Array[_0x2b06da(0x224)](this[_0x2b06da(0x21d)][_0x2b06da(0x241)])&&this[_0x2b06da(0x21d)]['capabilities'][_0x232c1b]||{},'platformCaps':this['configuration'][_0x2b06da(0x1f3)]&&Array[_0x2b06da(0x224)](this[_0x2b06da(0x21d)]['platformCaps'])&&this[_0x2b06da(0x21d)][_0x2b06da(0x1f3)][_0x232c1b]||{}};delete _0x41b72e[_0x2b06da(0x241)],this[_0x2b06da(0x204)][_0x2b06da(0x256)]=_0x41b72e;if(_seleniumWebdriver2){const _0xcb3993=_0x18351b[_0x2b06da(0x200)][_0x2b06da(0x235)]('|');let _0x215988=0x0;while(!![]){switch(_0xcb3993[_0x215988++]){case'0':this[_0x2b06da(0x204)][_0x2b06da(0x23e)]=[];continue;case'1':this[_0x2b06da(0x204)][_0x2b06da(0x255)]=helper[_0x2b06da(0x247)](this[_0x2b06da(0x21d)][_0x2b06da(0x1ff)]);continue;case'2':this[_0x2b06da(0x204)][_0x2b06da(0x21e)]=helper[_0x2b06da(0x242)](_0x833f29,[_0x18351b['wlKlx'],_0x18351b[_0x2b06da(0x245)],_0x18351b[_0x2b06da(0x23f)]]);continue;case'3':this[_0x2b06da(0x204)][_0x2b06da(0x253)]=helper['nestedKeyValue'](_0x833f29,[_0x18351b[_0x2b06da(0x250)],_0x18351b[_0x2b06da(0x245)],_0x18351b[_0x2b06da(0x214)]]);continue;case'4':this['global']['cleanup']=async()=>{const _0x3bff16=_0x2b06da;await this[_0x3bff16(0x204)][_0x3bff16(0x202)][_0x3bff16(0x212)](_0x18351b['kdWMy']);};continue;case'5':helper['isTrue'](this[_0x2b06da(0x21d)][_0x2b06da(0x229)])?this['global']['sessionNameProvided']=!![]:this['global'][_0x2b06da(0x206)]=![];continue;case'6':this[_0x2b06da(0x204)][_0x2b06da(0x221)]=_0x18351b[_0x2b06da(0x20e)](require,_0x18351b[_0x2b06da(0x223)])[_0x2b06da(0x233)]({...this[_0x2b06da(0x21d)],'capability':this[_0x2b06da(0x227)]||{}},this,testhubUtils[_0x2b06da(0x258)]());continue;case'7':this[_0x2b06da(0x204)]['browserstackPercyBestPlatform']=helper[_0x2b06da(0x242)](_0x833f29,[_0x18351b[_0x2b06da(0x250)],_0x18351b[_0x2b06da(0x245)],_0x18351b[_0x2b06da(0x1f6)]]);continue;}break;}}}async[a19_0x4bb925(0x24a)](){const _0x6ade28=a19_0x4bb925;_seleniumWebdriver2&&(await helper[_0x6ade28(0x254)](this['global'][_0x6ade28(0x21f)]),this[_0x6ade28(0x204)][_0x6ade28(0x221)]['Builder']=originalBuilder),await RequestQueueHandler['getInstance']()['shutdown']();}async['setup'](){}async['handleTestEvent'](_0x1126c8,_0x22f69c){const _0x253102=a19_0x4bb925,_0x914229={};_0x914229[_0x253102(0x24d)]=function(_0x92becf,_0x3335a4){return _0x92becf===_0x3335a4;},_0x914229[_0x253102(0x231)]=_0x253102(0x1f7),_0x914229['uAaJn']=function(_0x36fefb,_0x15fbe1){return _0x36fefb===_0x15fbe1;},_0x914229['tkufT']='skip',_0x914229['RmWXH']=function(_0x177416,_0x2c3179){return _0x177416===_0x2c3179;},_0x914229[_0x253102(0x257)]=_0x253102(0x1fe),_0x914229[_0x253102(0x25d)]='\x20>\x20',_0x914229[_0x253102(0x20f)]=function(_0x294626,_0x3c36dc){return _0x294626===_0x3c36dc;},_0x914229['jbyHH']=_0x253102(0x1fb),_0x914229[_0x253102(0x249)]=_0x253102(0x24a);const _0x461cfb=_0x914229,{name:_0xea1dfa}=_0x1126c8;if(_0x461cfb[_0x253102(0x24d)](_0xea1dfa,_0x461cfb[_0x253102(0x231)])){this[_0x253102(0x204)]['testContext']=_0x1126c8[_0x253102(0x208)];if(_0x461cfb[_0x253102(0x215)](this[_0x253102(0x204)]['failFastActive'],!![])){const _0x1e08e7=_0x1126c8[_0x253102(0x208)][_0x253102(0x1f4)];logger[_0x253102(0x230)]('Fail-fast\x20is\x20active,\x20skipping\x20test::\x20'+_0x1e08e7),_0x1126c8['test']['mode']=_0x461cfb['tkufT'];}}if(this['failFast']&&_0x461cfb[_0x253102(0x1f2)](_0xea1dfa,_0x461cfb[_0x253102(0x257)]))try{const _0x20e79f=_0x1126c8[_0x253102(0x208)][_0x253102(0x20d)]['join'](_0x461cfb[_0x253102(0x25d)]),_0x54aea4=_0x1126c8[_0x253102(0x208)][_0x253102(0x207)];await this[_0x253102(0x234)][_0x253102(0x220)](_0x20e79f,_0x54aea4);const _0x4d0922=await this[_0x253102(0x234)][_0x253102(0x23b)]();_0x461cfb['WvPWP'](this[_0x253102(0x204)][_0x253102(0x237)],![])&&_0x461cfb[_0x253102(0x20f)](_0x4d0922,!![])&&(this[_0x253102(0x204)][_0x253102(0x237)]=!![]);}catch(_0x4eb049){logger[_0x253102(0x1f9)](_0x461cfb['jbyHH'],_0x4eb049['message']);}_0x461cfb[_0x253102(0x1f2)](_0xea1dfa,_0x461cfb['GXlGb'])&&(this[_0x253102(0x234)]&&this[_0x253102(0x234)][_0x253102(0x211)]());}}module[a19_0x4bb925(0x1fa)]=CustomEnvironment;
@@ -1 +1 @@
1
- const a20_0x1b27b9=a20_0x1a4f;(function(_0x371a34,_0x5ed85d){const _0x45c396=a20_0x1a4f,_0x17dbec=_0x371a34();while(!![]){try{const _0x261ba7=-parseInt(_0x45c396(0x1a0))/0x1+parseInt(_0x45c396(0x14d))/0x2*(parseInt(_0x45c396(0x1f7))/0x3)+parseInt(_0x45c396(0x140))/0x4+parseInt(_0x45c396(0x228))/0x5+-parseInt(_0x45c396(0x185))/0x6*(parseInt(_0x45c396(0x1b1))/0x7)+-parseInt(_0x45c396(0x207))/0x8*(parseInt(_0x45c396(0x1cf))/0x9)+parseInt(_0x45c396(0x1d1))/0xa;if(_0x261ba7===_0x5ed85d)break;else _0x17dbec['push'](_0x17dbec['shift']());}catch(_0x32afb6){_0x17dbec['push'](_0x17dbec['shift']());}}}(a20_0x59b8,0x6fd48));const {requireModule,isTrue}=require(a20_0x1b27b9(0x1ee)),ObservabilityReporter=require(a20_0x1b27b9(0x199)),RequestQueueHandler=require(a20_0x1b27b9(0x1e4)),TestDetails=require('../test-observability/test-details'),{patchConsoleLogger,debug}=require(a20_0x1b27b9(0x15d)),{o11yErrorHandler}=require(a20_0x1b27b9(0x179)),{shouldProcessEventForTesthub}=require(a20_0x1b27b9(0x12b)),testHubConstants=require(a20_0x1b27b9(0x220)),BrowserstackCLI=require(a20_0x1b27b9(0x21d)),TestFrameworkState=require(a20_0x1b27b9(0x202)),HookState=require(a20_0x1b27b9(0x169)),JestUtils=require(a20_0x1b27b9(0x22b)),{v4:uuidv4}=require('uuid'),util=require(a20_0x1b27b9(0x14c)),logger=require('../../../helpers/logger')[a20_0x1b27b9(0x221)],{FRAMEWORKS}=require(a20_0x1b27b9(0x225));let exportsI;try{exportsI=requireModule(a20_0x1b27b9(0x208),a20_0x1b27b9(0x1dc));}catch{exportsI=requireModule('jest-circus/build/jestAdapterInit.js',a20_0x1b27b9(0x1dc));}const initInitialize=exportsI[a20_0x1b27b9(0x121)],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();let _currentTestPath=null;function getFullJestTestName(_0x55d4d0){const _0x368ca6=a20_0x1b27b9,_0x5813c8={};_0x5813c8[_0x368ca6(0x19c)]=function(_0x1c3b59,_0x1abd48){return _0x1c3b59!==_0x1abd48;},_0x5813c8[_0x368ca6(0x200)]=_0x368ca6(0x163);const _0x4ef44d=_0x5813c8;try{const _0x39c332=[];let _0x15513b=_0x55d4d0;while(_0x15513b){_0x15513b['name']&&_0x4ef44d['AjBKV'](_0x15513b['name'],_0x4ef44d[_0x368ca6(0x200)])&&_0x39c332[_0x368ca6(0x173)](_0x15513b[_0x368ca6(0x1c0)]),_0x15513b=_0x15513b['parent'];}return _0x39c332[_0x368ca6(0x187)]('\x20');}catch(_0x4a61ac){return _0x55d4d0&&_0x55d4d0[_0x368ca6(0x1c0)]||'';}}function a20_0x1a4f(_0x5a888f,_0x45a2af){const _0x59b8d1=a20_0x59b8();return a20_0x1a4f=function(_0x1a4f05,_0x15eea1){_0x1a4f05=_0x1a4f05-0x120;let _0x24bec0=_0x59b8d1[_0x1a4f05];return _0x24bec0;},a20_0x1a4f(_0x5a888f,_0x45a2af);}function getActiveTestNamePattern(){const _0x12f45f=a20_0x1b27b9,_0x3e78e5={'gaOUe':function(_0x34212a,_0xb45c5d,_0x28ba3c){return _0x34212a(_0xb45c5d,_0x28ba3c);},'dolpN':_0x12f45f(0x22e),'YfwEG':_0x12f45f(0x1dc),'qHHPO':function(_0x3b44f5,_0x1f17eb){return _0x3b44f5(_0x1f17eb);},'osxxy':function(_0x18ae77,_0xccccd8){return _0x18ae77===_0xccccd8;},'dyBqb':_0x12f45f(0x1a2),'KyNjd':function(_0x3273a8,_0x5b2d89){return _0x3273a8 instanceof _0x5b2d89;},'crIhB':_0x12f45f(0x137),'GudjF':function(_0x4cd5b6,_0x29a052){return _0x4cd5b6>_0x29a052;},'ebmup':function(_0x4db186,_0x32c902){return _0x4db186<_0x32c902;},'WWAei':function(_0x1fe6c6,_0x2f7749){return _0x1fe6c6===_0x2f7749;},'bAzPc':_0x12f45f(0x1a4),'UsIiK':function(_0x4e9a1f,_0x566f85){return _0x4e9a1f+_0x566f85;},'PQKSV':_0x12f45f(0x154),'TYKrx':_0x12f45f(0x135)};try{let _0x3e04d1;try{_0x3e04d1=_0x3e78e5[_0x12f45f(0x1f2)](requireModule,_0x3e78e5[_0x12f45f(0x189)],_0x3e78e5[_0x12f45f(0x222)]);}catch{_0x3e04d1=_0x3e78e5['qHHPO'](requireModule,_0x3e78e5[_0x12f45f(0x222)]);}if(_0x3e04d1&&_0x3e78e5['osxxy'](typeof _0x3e04d1[_0x12f45f(0x153)],_0x3e78e5[_0x12f45f(0x226)])){const _0x5bab11=_0x3e04d1[_0x12f45f(0x153)]();if(_0x5bab11&&_0x5bab11[_0x12f45f(0x223)]){if(_0x3e78e5['KyNjd'](_0x5bab11['testNamePattern'],RegExp))return _0x5bab11[_0x12f45f(0x223)];if(_0x3e78e5[_0x12f45f(0x201)](typeof _0x5bab11[_0x12f45f(0x223)],_0x3e78e5[_0x12f45f(0x148)])&&_0x3e78e5['GudjF'](_0x5bab11['testNamePattern'][_0x12f45f(0x1ab)],0x0))return new RegExp(_0x5bab11[_0x12f45f(0x223)],'i');}}}catch(_0x145965){}try{const _0x1b68b6=process[_0x12f45f(0x142)]||[];for(let _0x21319b=0x0;_0x3e78e5[_0x12f45f(0x1ba)](_0x21319b,_0x1b68b6['length']);_0x21319b++){const _0x43b8cc=_0x1b68b6[_0x21319b];if(_0x3e78e5['WWAei'](_0x43b8cc,'-t')||_0x3e78e5[_0x12f45f(0x177)](_0x43b8cc,_0x3e78e5[_0x12f45f(0x14e)])){const _0x9e8c3e=_0x1b68b6[_0x3e78e5[_0x12f45f(0x1fe)](_0x21319b,0x1)];if(_0x9e8c3e&&!_0x9e8c3e[_0x12f45f(0x128)]('-'))return new RegExp(_0x9e8c3e,'i');}else{if(_0x43b8cc&&(_0x43b8cc['startsWith'](_0x3e78e5[_0x12f45f(0x1fa)])||_0x43b8cc[_0x12f45f(0x128)](_0x3e78e5[_0x12f45f(0x197)]))){const _0x30fbba=_0x43b8cc['split']('=')[_0x12f45f(0x16d)](0x1)[_0x12f45f(0x187)]('=');if(_0x30fbba)return new RegExp(_0x30fbba,'i');}}}}catch(_0x25cd01){}return null;}function isPhantomSkipFromNameFilter(_0x394114){const _0xb533e5=a20_0x1b27b9,_0xb6cc31={'bEyzX':function(_0x2a5fa6){return _0x2a5fa6();},'mgKZF':function(_0x15fb12,_0x4d778a){return _0x15fb12(_0x4d778a);}},_0x31837c=_0xb6cc31[_0xb533e5(0x12d)](getActiveTestNamePattern);if(!_0x31837c)return![];const _0x18e1a6=_0xb6cc31['mgKZF'](getFullJestTestName,_0x394114);if(!_0x18e1a6)return![];return!_0x31837c[_0xb533e5(0x157)](_0x18e1a6);}function a20_0x59b8(){const _0x329d5a=['crIhB','testInfo','IcXFo','map','util','183158omigur','bAzPc','removeTestUUID','hookData','__rerunFilterHelpers','JEST','getState','--testNamePattern=','getFileName','nllBt','test','aRXai','Seacq','KNfpX','LOG_REPORT','getInstance','../../../helpers/test-observability/utils','[Rerun]\x20Suppressed\x20phantom\x20TestRunFinished\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','markedStatus','PmVYo','fcBRV','toISOString','ROOT_DESCRIBE_BLOCK','hook','message','includes','qNmJh','debug','../../v2/state/hookState','WQriz','match','beforeEach','slice','../../v2/cliUtils','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','test_skip','yqnWs','afterEach','unshift','HookRunStarted','BROWSERSTACK_PLATFORM_INDEX','TestRunStarted','WWAei','DNpPd','../../../helpers/test-observability/error-handler','FyfXr','[Rerun]\x20Suppressed\x20phantom\x20TestRunStarted\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','XoUbZ','CAIek','_bstackTestName','tZCwG','parse','cypON','getAutomationFrameworkDetail','JDeoI','scnLC','18HbigCl','[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22','join','hookUUID','dolpN','eUfpL','isRunning','wozkU','error','jYEuL','NYAVa','parent','createTestFrameworkData','PRE','Error\x20reading\x20platformIndex\x20from\x20args:\x20','setActiveHook','CLI\x20is\x20enabled\x20and\x20running.','createIdentifierFromJestTest','TYKrx','AgENJ','../test-observability/obsReporter','wLwJG','TEST','AjBKV','trackEvent','status','__bstackPlatformIndex','133433MFuUpK','afterAll','function','fFxAg','--testNamePattern','rKnMY','KzYGu','file','cxLfg','testIdentifier','env','length','test_done','hook_failure','setFrameworkDetail','EVENT','isCliEnabled','1902663gIxrBZ','sendTestRunEvent','jestConfig','EventHandler','pid','BROWSERSTACK_PUPPETEER','title','testStarted','beforeAll','ebmup','testAnalyticsId','PLAYWRIGHT','VpQJz','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','configuration','name','XZAnm','tEWIf','fail','hlzCI','bJlAv','type','__jestCurrentTestIdentifier','mdMbM','[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub=','slrDv','ajtqI','BROWSERSTACK_CLI_BIN_SESSION_ID','Vtacj','hzkeP','6615WvKqMj','uzpKI','2551060oSStaB','HookFinished','unhandledErrors','currentTest','testUUID','BEFORE_ALL','rLGQN','KoMaw','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','\x20>\x20','removeActiveHook','jest-circus','setTestUUID','xpwDH','format','has','fhJyp','getTestFramework','removeAllListeners','../../../helpers/test-observability/requestQueueHandler','dpJjn','failureMessage','config','ZUXdO','test_start','YfNoD','started_at','OwrYe','TestRunFinished','../../../helpers/helper','duTTz','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20',':hookAnalyticsId','gaOUe','browserstackTestName','uRvtQ','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','AFTER_ALL','6vPgjDL','jBPkF','state','PQKSV','failed','getFullJestTestName','hookAnalyticsId','UsIiK','AxXfr','mRLTL','osxxy','../../v2/state/testFrameworkState','run_describe_finish','jABly','etkVl','jKtBy','3688RAgmMH','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','RrBvr','true','VQGJC','Handling\x20test\x20event\x20for\x20CLI:\x20','_bstackTestFailureReason','JFxse','testPath','Error\x20routing\x20to\x20JestTestFramework:\x20','\x20for\x20hook\x20type:\x20','makeSingleTestResult','KoklM','pXADu','passed','tuYdz','PAFdE','KBJhi','tDtut','wEHqn','wQCpx','yzumi','../../v2/browserstackCLI','shutdown','DJOry','../../../helpers/testhub/constants','winstonLogger','YfwEG','testNamePattern','retryOf','../../utils/constants','dyBqb','hxbtJ','3800265CutFWo','ppgrE','BROWSERSTACK_RERUN','../../v2/utils/jest-utils','jest-circus/build/utils.js','ILPui','jest-circus/build/state.js','HookStarted','addEventHandler','initialize','add','stack-trace','browserstackPlatformIndex','XpQSv','tmFLS','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','startsWith','cmvtH','_bstackTestStatus','../../../helpers/testhub/utils','wRQfw','bEyzX','__workerDetails','jQkWA','errorsDetailed','qhpnz','jcZOk','hlMFh','iIsBI','-t=','registerListeners','string','originalTest','hook_success','MuUgN','TestRunSkipped','nXWUL','POST','Error\x20checking\x20CLI\x20readiness:\x20','lmfGy','2189736zVMNgC','getActiveTestNamePattern','argv','asyncError','currentHook','toString','UHdnY','call'];a20_0x59b8=function(){return _0x329d5a;};return a20_0x59b8();}async function isCLIReady(){const _0x2be7ef=a20_0x1b27b9,_0x1fe77d={'wEHqn':_0x2be7ef(0x195),'hVDkk':function(_0x8369dd,_0x1cef3f){return _0x8369dd(_0x1cef3f);},'HGxZm':_0x2be7ef(0x16e),'JFxse':function(_0x549cc5,_0x326f9e){return _0x549cc5===_0x326f9e;},'slrDv':_0x2be7ef(0x20a),'iQXuh':function(_0x17c39a,_0x14342c){return _0x17c39a(_0x14342c);}};try{const _0x596ed7=BrowserstackCLI[_0x2be7ef(0x15c)]();if(_0x596ed7[_0x2be7ef(0x1b0)]()&&_0x596ed7[_0x2be7ef(0x18b)]())return logger[_0x2be7ef(0x168)](_0x1fe77d[_0x2be7ef(0x21a)]),!![];const _0x487630=process[_0x2be7ef(0x1aa)][_0x2be7ef(0x1cc)];if(_0x487630&&_0x596ed7[_0x2be7ef(0x1b0)]()){if(!_0x596ed7[_0x2be7ef(0x18b)]())try{const _0x543ddd=_0x1fe77d['hVDkk'](require,_0x1fe77d['HGxZm']),_0x15e387=_0x543ddd[_0x2be7ef(0x182)]();(!_0x15e387||!_0x15e387[_0x2be7ef(0x1c0)])&&(_0x1fe77d[_0x2be7ef(0x20e)](process[_0x2be7ef(0x1aa)][_0x2be7ef(0x1b6)],_0x1fe77d[_0x2be7ef(0x1ca)])?_0x543ddd[_0x2be7ef(0x1ae)](FRAMEWORKS[_0x2be7ef(0x152)],FRAMEWORKS['PUPPETEER']):_0x543ddd[_0x2be7ef(0x1ae)](FRAMEWORKS[_0x2be7ef(0x152)],FRAMEWORKS[_0x2be7ef(0x1bc)])),await _0x596ed7['bootstrap']();}catch(_0x47a4ed){return _0x1fe77d['hVDkk'](debug,_0x2be7ef(0x16f)+util['format'](_0x47a4ed)),![];}return _0x596ed7[_0x2be7ef(0x18b)]();}return![];}catch(_0x2d5e50){return _0x1fe77d['iQXuh'](debug,_0x2be7ef(0x13e)+util[_0x2be7ef(0x1df)](_0x2d5e50)),![];}}function getTestIdentifierForHook(_0x207ee5){const _0x42f869=a20_0x1b27b9,_0x5e47ba={};_0x5e47ba['OwrYe']=function(_0x520da0,_0x26ed62){return _0x520da0===_0x26ed62;},_0x5e47ba[_0x42f869(0x1de)]=_0x42f869(0x16c),_0x5e47ba['aqgfe']=function(_0x2df925,_0x59b562){return _0x2df925===_0x59b562;},_0x5e47ba[_0x42f869(0x1c1)]=_0x42f869(0x1b9),_0x5e47ba[_0x42f869(0x1f8)]=function(_0x44d537,_0x51f495){return _0x44d537===_0x51f495;};const _0x419bda=_0x5e47ba;if(_0x419bda[_0x42f869(0x1ec)](_0x207ee5[_0x42f869(0x1c6)],_0x419bda['xpwDH'])||_0x419bda['aqgfe'](_0x207ee5[_0x42f869(0x1c6)],_0x419bda[_0x42f869(0x1c1)])){let _0x397fe2=global[_0x42f869(0x1c7)];if(!_0x397fe2&&_0x419bda[_0x42f869(0x1f8)](_0x207ee5[_0x42f869(0x1c6)],_0x419bda[_0x42f869(0x1c1)])&&_0x207ee5[_0x42f869(0x190)]){const _0x2010cf={};_0x2010cf[_0x42f869(0x1c0)]=_0x207ee5[_0x42f869(0x190)][_0x42f869(0x1c0)],_0x2010cf[_0x42f869(0x190)]=_0x207ee5[_0x42f869(0x190)][_0x42f869(0x190)],_0x2010cf[_0x42f869(0x143)]=_0x207ee5[_0x42f869(0x143)],_0x2010cf['file']=_0x207ee5[_0x42f869(0x1a7)];const _0x229ee5=_0x2010cf;_0x397fe2=jestUtils[_0x42f869(0x196)](_0x229ee5);}return _0x397fe2;}return global['__jestCurrentTestIdentifier'];}function mapHookTypeToState(_0x57b4f3){const _0x529776=a20_0x1b27b9,_0x5eaa8f={};_0x5eaa8f[_0x529776(0x1b9)]=TestFrameworkState[_0x529776(0x1d6)],_0x5eaa8f[_0x529776(0x1a1)]=TestFrameworkState[_0x529776(0x1f6)],_0x5eaa8f[_0x529776(0x16c)]=TestFrameworkState['BEFORE_EACH'],_0x5eaa8f[_0x529776(0x172)]=TestFrameworkState['AFTER_EACH'];const _0x12c232=_0x5eaa8f;return _0x12c232[_0x57b4f3]||TestFrameworkState['BEFORE_EACH'];}async function handleHookEventCLI(_0x34cdf4,_0x220b51,_0x527bb1){const _0x1b1f81=a20_0x1b27b9,_0x295fa2={'hxbtJ':function(_0x5b09a8,_0x56f46a){return _0x5b09a8(_0x56f46a);},'xdcHJ':'stack-trace','MuUgN':function(_0x24417c,_0x11049f){return _0x24417c===_0x11049f;},'yzumi':_0x1b1f81(0x163),'Vtacj':function(_0x33ff5d){return _0x33ff5d();},'wQCpx':_0x1b1f81(0x174),'RJVJP':function(_0x449db0,_0x5d2169){return _0x449db0===_0x5d2169;},'tZCwG':function(_0x3f9c42,_0x1ff09d){return _0x3f9c42===_0x1ff09d;},'Seacq':'HookRunFinished','jABly':'hook','dpJjn':function(_0x22492d,_0x38a3e1){return _0x22492d===_0x38a3e1;}};logger[_0x1b1f81(0x168)]('Handling\x20hook\x20event\x20for\x20CLI:\x20'+_0x220b51+_0x1b1f81(0x211)+_0x34cdf4[_0x1b1f81(0x1c6)]);try{if(_0x34cdf4['fn']&&_0x34cdf4['fn'][_0x1b1f81(0x145)]()[_0x1b1f81(0x16b)](/browserstack internal helper hook/))return;if(_0x34cdf4['parent']&&_0x295fa2['MuUgN'](_0x34cdf4[_0x1b1f81(0x190)]['name'],_0x295fa2[_0x1b1f81(0x21c)])){const _0x1cc9a5=_0x34cdf4[_0x1b1f81(0x143)]&&((()=>{const _0x4bbce2=_0x1b1f81;try{const _0x5ee981=_0x295fa2[_0x4bbce2(0x227)](require,_0x295fa2['xdcHJ']),_0xb9e96a=_0x5ee981[_0x4bbce2(0x180)][_0x4bbce2(0x147)](_0x5ee981,_0x34cdf4['asyncError']);return _0xb9e96a[0x0]&&_0xb9e96a[0x0][_0x4bbce2(0x155)]?_0xb9e96a[0x0][_0x4bbce2(0x155)]():null;}catch(_0x58a377){return logger[_0x4bbce2(0x168)]('Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20'+_0x58a377['message']),null;}})())||_0x34cdf4[_0x1b1f81(0x1a7)]||null;if(!_0x1cc9a5)return;}let _0xfb4fb9=_0x34cdf4[_0x1b1f81(0x1fd)];if(!_0xfb4fb9)_0xfb4fb9=_0x295fa2['Vtacj'](uuidv4),_0x34cdf4[_0x1b1f81(0x1fd)]=_0xfb4fb9;else _0x34cdf4[_0x1b1f81(0x15f)]&&(_0xfb4fb9=_0x295fa2[_0x1b1f81(0x1cd)](uuidv4),_0x34cdf4[_0x1b1f81(0x1fd)]=_0xfb4fb9,delete _0x34cdf4['markedStatus']);_0x295fa2[_0x1b1f81(0x13a)](_0x220b51,_0x295fa2[_0x1b1f81(0x21b)])&&(_0x34cdf4[_0x1b1f81(0x1eb)]=new Date()[_0x1b1f81(0x162)]());const _0x1ed2c4=_0x295fa2['hxbtJ'](getTestIdentifierForHook,_0x34cdf4);!global['__workerDetails']&&(global[_0x1b1f81(0x12e)]={});if(_0x295fa2['RJVJP'](_0x220b51,_0x295fa2[_0x1b1f81(0x21b)])){global[_0x1b1f81(0x12e)][_0x1b1f81(0x144)]={'hookUUID':_0xfb4fb9,'testIdentifier':_0x1ed2c4,'hookType':_0x34cdf4[_0x1b1f81(0x1c6)],'startedAt':new Date()[_0x1b1f81(0x162)]()};const _0x31ae8c=BrowserstackCLI[_0x1b1f81(0x15c)]()['getTestFramework']();_0x31ae8c&&_0x31ae8c['setActiveHook']&&_0x31ae8c[_0x1b1f81(0x194)](_0x1ed2c4,_0xfb4fb9,_0x34cdf4['type']);}const _0x3dcada=await jestUtils['createHookData'](_0x34cdf4,_0xfb4fb9,_0x220b51,_0x1ed2c4);if(!_0x3dcada)return;const _0x36e105=_0x295fa2['hxbtJ'](mapHookTypeToState,_0x34cdf4[_0x1b1f81(0x1c6)]),_0x1c6b67=_0x295fa2[_0x1b1f81(0x17f)](_0x220b51,_0x295fa2[_0x1b1f81(0x21b)])?HookState['PRE']:HookState[_0x1b1f81(0x13d)],_0x111b13=BrowserstackCLI[_0x1b1f81(0x15c)]()[_0x1b1f81(0x1e2)]();if(_0x111b13){const _0x2688fd={};_0x2688fd[_0x1b1f81(0x150)]=_0x3dcada,await _0x111b13[_0x1b1f81(0x19d)](_0x36e105,_0x1c6b67,_0x2688fd);if(_0x295fa2[_0x1b1f81(0x13a)](_0x220b51,_0x295fa2[_0x1b1f81(0x159)])){const _0x387cdb={};_0x387cdb['testUUID']=_0x1ed2c4,_0x387cdb[_0x1b1f81(0x1c6)]=_0x295fa2[_0x1b1f81(0x204)],await _0x111b13[_0x1b1f81(0x19d)](TestFrameworkState['LOG_REPORT'],HookState[_0x1b1f81(0x13d)],_0x387cdb),global[_0x1b1f81(0x12e)]&&global[_0x1b1f81(0x12e)]['currentHook']&&_0x295fa2[_0x1b1f81(0x1e5)](global[_0x1b1f81(0x12e)][_0x1b1f81(0x144)][_0x1b1f81(0x188)],_0xfb4fb9)&&delete global[_0x1b1f81(0x12e)][_0x1b1f81(0x144)],_0x111b13['removeActiveHook']&&_0x111b13[_0x1b1f81(0x1db)](_0x1ed2c4,_0xfb4fb9);}}}catch(_0x169bf5){logger[_0x1b1f81(0x18d)](_0x1b1f81(0x1d9)+util[_0x1b1f81(0x1df)](_0x169bf5));throw _0x169bf5;}}async function handleTestEventCLI(_0x13fe8b,_0x1f39ab,_0x1e6a53){const _0x49adc4=a20_0x1b27b9,_0x499a02={};_0x499a02['uRvtQ']=function(_0x47d9c4,_0x4a66ba){return _0x47d9c4===_0x4a66ba;},_0x499a02['IcXFo']=_0x49adc4(0x176),_0x499a02[_0x49adc4(0x216)]=function(_0x526d82,_0x1fae39){return _0x526d82>_0x1fae39;},_0x499a02[_0x49adc4(0x13f)]=function(_0x5c5e3c,_0x36ddb8){return _0x5c5e3c===_0x36ddb8;},_0x499a02['KNfpX']=function(_0x5b883e,_0x14b45e){return _0x5b883e&&_0x14b45e;},_0x499a02[_0x49adc4(0x125)]='failed',_0x499a02[_0x49adc4(0x1a5)]=_0x49adc4(0x1ed),_0x499a02[_0x49adc4(0x1ce)]=function(_0x3442eb,_0x42502d){return _0x3442eb&&_0x42502d;},_0x499a02[_0x49adc4(0x1a6)]=function(_0x77a805,_0xdba59e){return _0x77a805&&_0xdba59e;},_0x499a02[_0x49adc4(0x213)]=_0x49adc4(0x157);const _0x14a1d2=_0x499a02;logger[_0x49adc4(0x168)](_0x49adc4(0x20c)+_0x1f39ab);try{let _0x449238;if(_0x14a1d2[_0x49adc4(0x1f4)](_0x1f39ab,_0x14a1d2[_0x49adc4(0x14a)])){_0x449238=jestUtils['createIdentifierFromJestTest'](_0x13fe8b),global[_0x49adc4(0x1c7)]=_0x449238,_0x13fe8b['testAnalyticsId']=_0x449238,_0x13fe8b['id']=_0x449238,_0x13fe8b[_0x49adc4(0x1eb)]=new Date()[_0x49adc4(0x162)]();const _0x34d860=_0x1e6a53['current_test'];_0x1e6a53['current_test']=_0x13fe8b,_0x13fe8b['retryOf']=null;if(_0x14a1d2[_0x49adc4(0x216)](_0x13fe8b['_currentRetry'],0x0)&&_0x34d860&&_0x14a1d2[_0x49adc4(0x13f)](_0x34d860['title'],_0x13fe8b[_0x49adc4(0x1b7)])){_0x13fe8b[_0x49adc4(0x224)]=_0x34d860[_0x49adc4(0x1bb)];const _0x31be28=await jestUtils[_0x49adc4(0x191)](_0x13fe8b,_0x449238,_0x14a1d2['IcXFo']),_0xc59ea6=BrowserstackCLI['getInstance']()[_0x49adc4(0x1e2)]();if(_0x14a1d2[_0x49adc4(0x15a)](_0x31be28,_0xc59ea6)){const _0x23fb55={};_0x23fb55['test']=_0x31be28,await _0xc59ea6[_0x49adc4(0x19d)](TestFrameworkState[_0x49adc4(0x19b)],HookState[_0x49adc4(0x192)],_0x23fb55);}_0x34d860[_0x49adc4(0x1f9)]=_0x14a1d2[_0x49adc4(0x125)];const _0x15edb0=await jestUtils[_0x49adc4(0x191)](_0x34d860,_0x34d860[_0x49adc4(0x1bb)],_0x14a1d2[_0x49adc4(0x1a5)]);if(_0x14a1d2[_0x49adc4(0x1ce)](_0x15edb0,_0xc59ea6)){const _0x769f93={};_0x769f93[_0x49adc4(0x157)]=_0x15edb0,await _0xc59ea6[_0x49adc4(0x19d)](TestFrameworkState[_0x49adc4(0x19b)],HookState[_0x49adc4(0x13d)],_0x769f93);}}else{const _0x17481e=await jestUtils[_0x49adc4(0x191)](_0x13fe8b,_0x449238,_0x14a1d2[_0x49adc4(0x14a)]),_0x3bc128=BrowserstackCLI[_0x49adc4(0x15c)]()[_0x49adc4(0x1e2)]();if(_0x14a1d2[_0x49adc4(0x15a)](_0x17481e,_0x3bc128)){const _0x55c658={};_0x55c658[_0x49adc4(0x157)]=_0x17481e,await _0x3bc128['trackEvent'](TestFrameworkState[_0x49adc4(0x19b)],HookState[_0x49adc4(0x192)],_0x55c658);}}}else{_0x449238=_0x13fe8b[_0x49adc4(0x1bb)]||_0x13fe8b['id']||global[_0x49adc4(0x1c7)];const _0x12bfe9=await jestUtils['createTestFrameworkData'](_0x13fe8b,_0x449238,_0x1f39ab),_0x34168b=BrowserstackCLI['getInstance']()['getTestFramework']();if(_0x14a1d2['KzYGu'](_0x12bfe9,_0x34168b)){const _0x27fbb3={};_0x27fbb3[_0x49adc4(0x157)]=_0x12bfe9,_0x27fbb3[_0x49adc4(0x138)]=_0x13fe8b,_0x27fbb3[_0x49adc4(0x1a9)]=_0x449238,await _0x34168b[_0x49adc4(0x19d)](TestFrameworkState[_0x49adc4(0x19b)],HookState[_0x49adc4(0x13d)],_0x27fbb3);const _0x5158e8={};_0x5158e8[_0x49adc4(0x1d5)]=_0x449238,_0x5158e8[_0x49adc4(0x1c6)]=_0x14a1d2[_0x49adc4(0x213)],await _0x34168b[_0x49adc4(0x19d)](TestFrameworkState[_0x49adc4(0x15b)],HookState[_0x49adc4(0x13d)],_0x5158e8);}}}catch(_0x299810){logger[_0x49adc4(0x18d)]('Error\x20handling\x20test\x20event\x20for\x20CLI:\x20'+util[_0x49adc4(0x1df)](_0x299810));throw _0x299810;}}exportsI[a20_0x1b27b9(0x121)]=(..._0x5834ac)=>{const _0x10112d=a20_0x1b27b9,_0x6afb5c={'hlMFh':function(_0x35c4cd,_0x5768d9){return _0x35c4cd(_0x5768d9);},'ppgrE':_0x10112d(0x123),'ILPui':function(_0x3ec479,_0x2c65ca){return _0x3ec479(_0x2c65ca);},'cytxP':function(_0x3b8b05,_0x6f05c9){return _0x3b8b05&&_0x6f05c9;},'cypON':'hook_start','bJlAv':function(_0x5c45c2,_0x3290ee){return _0x5c45c2===_0x3290ee;},'YvjVT':_0x10112d(0x163),'pXADu':function(_0x2e6bc1){return _0x2e6bc1();},'wRQfw':function(_0x27e198,_0x500856,_0x2ba012,_0x294df0){return _0x27e198(_0x500856,_0x2ba012,_0x294df0);},'nllBt':_0x10112d(0x174),'cxLfg':_0x10112d(0x139),'jYEuL':function(_0x3b1a9b,_0x5603a1){return _0x3b1a9b(_0x5603a1);},'uzpKI':function(_0x2271f2,_0x12f743,_0x5bf548,_0x402ca6){return _0x2271f2(_0x12f743,_0x5bf548,_0x402ca6);},'jQkWA':'HookRunFinished','PmVYo':function(_0xd1e342,_0x54cabc){return _0xd1e342(_0x54cabc);},'rLGQN':function(_0x80f550,_0x9bf48){return _0x80f550(_0x9bf48);},'ajtqI':_0x10112d(0x1ad),'DJOry':_0x10112d(0x1b9),'NOuin':_0x10112d(0x16c),'DNpPd':_0x10112d(0x172),'KBJhi':function(_0x59ecf9,_0x3b24f9){return _0x59ecf9>_0x3b24f9;},'WQriz':function(_0x420187,_0x356720){return _0x420187(_0x356720);},'PAFdE':function(_0x3ab0ec,_0x40241c,_0x18add9,_0x93e3){return _0x3ab0ec(_0x40241c,_0x18add9,_0x93e3);},'TuZDE':function(_0x386523,_0x212921){return _0x386523(_0x212921);},'fcBRV':function(_0x48ed3b,_0x4c59d4){return _0x48ed3b(_0x4c59d4);},'yCTjC':_0x10112d(0x1e9),'AxXfr':function(_0x12bfcf,_0x4e7a4e){return _0x12bfcf(_0x4e7a4e);},'wedMW':function(_0x31a47f,_0x4216ee){return _0x31a47f!==_0x4216ee;},'duTTz':_0x10112d(0x1da),'mdMbM':_0x10112d(0x176),'FyfXr':function(_0x51ed92,_0xde68f9){return _0x51ed92(_0xde68f9);},'yhWMX':_0x10112d(0x1ac),'cmvtH':function(_0x12e291,_0x40d747){return _0x12e291(_0x40d747);},'wLwJG':function(_0x3464c7,_0x1e30e9){return _0x3464c7===_0x1e30e9;},'FLYbJ':_0x10112d(0x1c3),'JgWQC':_0x10112d(0x1fb),'tEWIf':_0x10112d(0x215),'jKtBy':function(_0x286677,_0x38cf1d){return _0x286677||_0x38cf1d;},'eUfpL':function(_0x664bd2){return _0x664bd2();},'hlzCI':_0x10112d(0x1ed),'CAIek':function(_0x87256e,_0x43db57){return _0x87256e(_0x43db57);},'tmFLS':_0x10112d(0x170),'aRXai':function(_0x235144,_0x10aa70){return _0x235144(_0x10aa70);},'VQGJC':function(_0x425385,_0x50c513){return _0x425385(_0x50c513);},'jcZOk':function(_0x11dfda,_0x1b65cc){return _0x11dfda(_0x1b65cc);},'qNmJh':function(_0x20325c){return _0x20325c();},'yqnWs':function(_0x2e725e,_0x1119e2,_0x2eccb0,_0x17b2fd){return _0x2e725e(_0x1119e2,_0x2eccb0,_0x17b2fd);},'KoMaw':_0x10112d(0x13b),'fFxAg':_0x10112d(0x203),'fhJyp':'teardown','ZUXdO':function(_0x40be12,_0x5cbbb9){return _0x40be12===_0x5cbbb9;},'pgqAb':'string','UHdnY':'number','RrBvr':function(_0x387682,_0x507f15){return _0x387682===_0x507f15;},'VpQJz':function(_0x890180,_0x1e4ea4){return _0x890180===_0x1e4ea4;},'scnLC':function(_0x33140a){return _0x33140a();},'nXWUL':function(_0x4bd15e,_0x5665b8,_0xe6c59e){return _0x4bd15e(_0x5665b8,_0xe6c59e);},'qhpnz':'jest-circus/build/state.js','YfNoD':'jest-circus','NYAVa':function(_0xab69f1,_0x427ceb,_0x3e2165){return _0xab69f1(_0x427ceb,_0x3e2165);},'wozkU':_0x10112d(0x22c),'AgENJ':function(_0x4f32f5,_0x231b19,_0x5e3457){return _0x4f32f5(_0x231b19,_0x5e3457);},'tDtut':_0x10112d(0x1b4),'iIsBI':function(_0x1235ef,..._0x1dee75){return _0x1235ef(..._0x1dee75);}};try{logger[_0x10112d(0x168)](_0x10112d(0x1c9)+_0x6afb5c[_0x10112d(0x167)](shouldProcessEventForTesthub)+',\x20BROWSERSTACK_PUPPETEER='+process['env'][_0x10112d(0x1b6)]);const _0x29c693=_0x5834ac&&_0x5834ac[0x0]?_0x5834ac[0x0]:{};_0x29c693&&_0x6afb5c[_0x10112d(0x1e8)](typeof _0x29c693[_0x10112d(0x20f)],_0x6afb5c['pgqAb'])&&_0x29c693[_0x10112d(0x20f)]&&(_currentTestPath=_0x29c693[_0x10112d(0x20f)]);let _0x123a7e=0x0;try{if(_0x29c693[_0x10112d(0x1e7)]&&_0x6afb5c['ZUXdO'](typeof _0x29c693[_0x10112d(0x1e7)][_0x10112d(0x124)],_0x6afb5c[_0x10112d(0x146)]))_0x123a7e=_0x29c693[_0x10112d(0x1e7)][_0x10112d(0x124)];else{if(_0x29c693[_0x10112d(0x1bf)]&&_0x6afb5c[_0x10112d(0x209)](typeof _0x29c693[_0x10112d(0x1bf)][_0x10112d(0x124)],_0x6afb5c['UHdnY']))_0x123a7e=_0x29c693[_0x10112d(0x1bf)]['browserstackPlatformIndex'];else global['jestConfig']&&_0x6afb5c[_0x10112d(0x1bd)](typeof global[_0x10112d(0x1b3)][_0x10112d(0x124)],_0x6afb5c['UHdnY'])&&(_0x123a7e=global[_0x10112d(0x1b3)][_0x10112d(0x124)]);}}catch(_0x3a169a){logger[_0x10112d(0x168)](_0x10112d(0x193)+util[_0x10112d(0x1df)](_0x3a169a));}global[_0x10112d(0x19f)]=_0x123a7e,process[_0x10112d(0x1aa)][_0x10112d(0x175)]=_0x6afb5c['jYEuL'](String,_0x123a7e);const _0x2613c9=new ObservabilityReporter();!_initializedPlatformIndices[_0x10112d(0x1e0)](_0x123a7e)?(logger['debug']('[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex='+_0x123a7e),_initializedPlatformIndices[_0x10112d(0x122)](_0x123a7e),_0x6afb5c[_0x10112d(0x18a)](shouldProcessEventForTesthub)&&(_0x6afb5c[_0x10112d(0x184)](patchConsoleLogger),_0x2613c9[_0x10112d(0x136)]())):logger['debug']('[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex='+_0x123a7e+',\x20re-registering\x20event\x20handler');let _0x1144de;try{_0x1144de=_0x6afb5c[_0x10112d(0x13c)](requireModule,_0x6afb5c[_0x10112d(0x131)],_0x6afb5c[_0x10112d(0x1ea)]);}catch{_0x1144de=_0x6afb5c[_0x10112d(0x16a)](requireModule,_0x6afb5c[_0x10112d(0x1ea)]);}let _0x9c06d5;try{_0x9c06d5=_0x6afb5c[_0x10112d(0x18f)](requireModule,_0x6afb5c[_0x10112d(0x18c)],_0x6afb5c[_0x10112d(0x1ea)])['makeSingleTestResult'];}catch{_0x9c06d5=_0x6afb5c[_0x10112d(0x20b)](requireModule,_0x6afb5c[_0x10112d(0x1ea)])[_0x10112d(0x212)]||(()=>({}));}const _0x57ad7b=BrowserstackCLI['getInstance']()[_0x10112d(0x1b0)]();(_0x6afb5c[_0x10112d(0x18a)](shouldProcessEventForTesthub)||_0x57ad7b)&&_0x1144de[_0x10112d(0x120)](_0x6afb5c[_0x10112d(0x198)](o11yErrorHandler,async(_0x2f61d1,_0x1ac56d)=>{const _0x59574d=_0x10112d,_0x4b8cd0={'PwwYb':function(_0x275fb6,_0x1a8f3b){return _0x6afb5c['hlMFh'](_0x275fb6,_0x1a8f3b);},'etkVl':_0x6afb5c[_0x59574d(0x229)],'JDeoI':function(_0x36d9f5,_0x3adcba){const _0x2b31ca=_0x59574d;return _0x6afb5c[_0x2b31ca(0x22d)](_0x36d9f5,_0x3adcba);}};_0x6afb5c['cytxP'](_currentTestPath,_0x2f61d1)&&_0x2f61d1[_0x59574d(0x157)]&&!_0x2f61d1[_0x59574d(0x157)][_0x59574d(0x1a7)]&&(_0x2f61d1['test'][_0x59574d(0x1a7)]=_currentTestPath);switch(_0x2f61d1[_0x59574d(0x1c0)]){case _0x6afb5c[_0x59574d(0x181)]:if(_0x2f61d1['hook']['fn']&&_0x2f61d1[_0x59574d(0x164)]['fn'][_0x59574d(0x145)]()[_0x59574d(0x16b)](/browserstack internal helper hook/))break;if(_0x2f61d1[_0x59574d(0x164)][_0x59574d(0x190)]&&_0x6afb5c[_0x59574d(0x1c5)](_0x2f61d1['hook'][_0x59574d(0x190)][_0x59574d(0x1c0)],_0x6afb5c['YvjVT'])){const _0x3a80bb=_0x2f61d1[_0x59574d(0x164)]['asyncError']&&((()=>{const _0x24527f=_0x59574d;try{const _0xabda78=_0x4b8cd0['PwwYb'](require,_0x4b8cd0[_0x24527f(0x205)]),_0x5cd504=_0xabda78[_0x24527f(0x180)][_0x24527f(0x147)](_0xabda78,_0x2f61d1[_0x24527f(0x164)]['asyncError']);return _0x5cd504[0x0]&&_0x5cd504[0x0][_0x24527f(0x155)]?_0x5cd504[0x0][_0x24527f(0x155)]():null;}catch(_0x479666){return logger[_0x24527f(0x168)](_0x24527f(0x1f0)+_0x479666[_0x24527f(0x165)]),null;}})())||_0x2f61d1[_0x59574d(0x164)][_0x59574d(0x1a7)]||null;if(!_0x3a80bb)break;}if(BrowserstackCLI[_0x59574d(0x15c)]()['isCliEnabled']()&&await _0x6afb5c[_0x59574d(0x214)](isCLIReady)){if(_0x6afb5c[_0x59574d(0x22d)](shouldProcessEventForTesthub,testHubConstants[_0x59574d(0x1af)]['HookStarted']))try{await _0x6afb5c[_0x59574d(0x12c)](handleHookEventCLI,_0x2f61d1[_0x59574d(0x164)],_0x6afb5c[_0x59574d(0x156)],_0x1ac56d);break;}catch(_0xcd4407){_0x6afb5c[_0x59574d(0x133)](debug,_0x59574d(0x210)+util[_0x59574d(0x1df)](_0xcd4407));}}if(_0x6afb5c['hlMFh'](shouldProcessEventForTesthub,testHubConstants[_0x59574d(0x1af)][_0x59574d(0x22f)])){if(!_0x2f61d1[_0x59574d(0x164)][_0x59574d(0x1fd)]){const _0x149838=TestDetails[_0x59574d(0x1dd)](process[_0x59574d(0x1b5)]+_0x59574d(0x1f1));_0x2f61d1[_0x59574d(0x164)][_0x59574d(0x1fd)]=_0x149838;}else _0x2f61d1['hook'][_0x59574d(0x15f)]&&(_0x2f61d1[_0x59574d(0x164)]['hookAnalyticsId']=TestDetails[_0x59574d(0x1dd)](process['pid']+_0x59574d(0x1f1)),delete _0x2f61d1['hook']['markedStatus']);_0x2f61d1[_0x59574d(0x164)]['started_at']=new Date()[_0x59574d(0x162)](),await _0x2613c9[_0x59574d(0x1b2)](_0x2f61d1['hook'],undefined,![],_0x6afb5c[_0x59574d(0x156)]);}break;case _0x6afb5c[_0x59574d(0x1a8)]:if(BrowserstackCLI[_0x59574d(0x15c)]()[_0x59574d(0x1b0)]()&&await _0x6afb5c[_0x59574d(0x214)](isCLIReady)){if(_0x6afb5c[_0x59574d(0x18e)](shouldProcessEventForTesthub,testHubConstants[_0x59574d(0x1af)][_0x59574d(0x1d2)]))try{await _0x6afb5c[_0x59574d(0x1d0)](handleHookEventCLI,_0x2f61d1['hook'],_0x6afb5c[_0x59574d(0x12f)],_0x1ac56d);break;}catch(_0x57375c){_0x6afb5c[_0x59574d(0x160)](debug,_0x59574d(0x210)+util[_0x59574d(0x1df)](_0x57375c));}}_0x6afb5c[_0x59574d(0x1d7)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x59574d(0x1d2)])&&(await _0x2613c9[_0x59574d(0x1b2)](_0x2f61d1['hook'],undefined,![],_0x6afb5c['jQkWA']),TestDetails[_0x59574d(0x14f)](process[_0x59574d(0x1b5)]+_0x59574d(0x1f1)));break;case _0x6afb5c[_0x59574d(0x1cb)]:[_0x6afb5c[_0x59574d(0x21f)],_0x6afb5c['NOuin'],_0x6afb5c[_0x59574d(0x178)]][_0x59574d(0x166)](_0x2f61d1[_0x59574d(0x164)][_0x59574d(0x1c6)])&&(_0x2613c9[_0x59574d(0x1ad)]=_0x2f61d1[_0x59574d(0x164)][_0x59574d(0x1c6)]),_0x1ac56d[_0x59574d(0x1d3)]&&_0x6afb5c[_0x59574d(0x218)](_0x1ac56d[_0x59574d(0x1d3)][_0x59574d(0x1ab)],0x0)&&(_0x2f61d1[_0x59574d(0x164)][_0x59574d(0x130)]=[_0x1ac56d[_0x59574d(0x1d3)][0x0][0x0]]);if(BrowserstackCLI[_0x59574d(0x15c)]()['isCliEnabled']()&&await _0x6afb5c['pXADu'](isCLIReady)){if(_0x6afb5c[_0x59574d(0x16a)](shouldProcessEventForTesthub,testHubConstants[_0x59574d(0x1af)][_0x59574d(0x1d2)]))try{await _0x6afb5c[_0x59574d(0x217)](handleHookEventCLI,_0x2f61d1[_0x59574d(0x164)],_0x6afb5c['jQkWA'],_0x1ac56d);break;}catch(_0x24fefe){_0x6afb5c['TuZDE'](debug,_0x59574d(0x210)+util[_0x59574d(0x1df)](_0x24fefe));}}_0x6afb5c[_0x59574d(0x161)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x59574d(0x1d2)])&&(await _0x2613c9[_0x59574d(0x1b2)](_0x2f61d1[_0x59574d(0x164)],undefined,![],_0x6afb5c[_0x59574d(0x12f)]),TestDetails[_0x59574d(0x14f)](process[_0x59574d(0x1b5)]+_0x59574d(0x1f1)));break;case _0x6afb5c['yCTjC']:if(_0x6afb5c[_0x59574d(0x22d)](isTrue,process[_0x59574d(0x1aa)]['BROWSERSTACK_RERUN'])&&_0x6afb5c[_0x59574d(0x1ff)](isPhantomSkipFromNameFilter,_0x2f61d1[_0x59574d(0x157)])){const _0x48d0a7=_0x6afb5c[_0x59574d(0x161)](getFullJestTestName,_0x2f61d1[_0x59574d(0x157)]);logger[_0x59574d(0x168)](_0x59574d(0x17b)+_0x48d0a7+'\x22');break;}try{let _0x2ee7a0=_0x2f61d1[_0x59574d(0x157)][_0x59574d(0x1c0)]||'';try{let _0xf0720e=_0x2f61d1[_0x59574d(0x157)][_0x59574d(0x190)];const _0x1d1b39=[_0x2ee7a0];while(_0xf0720e&&_0xf0720e[_0x59574d(0x1c0)]&&_0x6afb5c['wedMW'](_0xf0720e[_0x59574d(0x1c0)],_0x6afb5c['YvjVT'])){_0x1d1b39[_0x59574d(0x173)](_0xf0720e[_0x59574d(0x1c0)]),_0xf0720e=_0xf0720e['parent'];}_0x2ee7a0=_0x1d1b39['join'](_0x6afb5c[_0x59574d(0x1ef)]);}catch(_0x50c7ef){logger[_0x59574d(0x168)](_0x59574d(0x127)+_0x50c7ef['message']);}process[_0x59574d(0x17e)]=_0x2ee7a0,process[_0x59574d(0x12a)]=null,process['_bstackTestFailureReason']=null,logger['debug']('[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22'+_0x2ee7a0+'\x22');if(!global[_0x59574d(0x12e)]){const _0x310822={};_0x310822['currentTest']={},global[_0x59574d(0x12e)]=_0x310822;}!global[_0x59574d(0x12e)][_0x59574d(0x1d4)]&&(global[_0x59574d(0x12e)][_0x59574d(0x1d4)]={});const _0x2ca701={};_0x2ca701['title']=_0x2ee7a0,_0x2ca701[_0x59574d(0x1c0)]=_0x2ee7a0,global[_0x59574d(0x12e)][_0x59574d(0x1d4)][_0x59574d(0x149)]=_0x2ca701,global[_0x59574d(0x1f3)]=_0x2ee7a0;}catch(_0x44c262){logger['debug']('[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20'+_0x44c262[_0x59574d(0x165)]);}if(BrowserstackCLI[_0x59574d(0x15c)]()[_0x59574d(0x1b0)]()&&await _0x6afb5c[_0x59574d(0x214)](isCLIReady))try{await _0x6afb5c[_0x59574d(0x217)](handleTestEventCLI,_0x2f61d1[_0x59574d(0x157)],_0x6afb5c[_0x59574d(0x1c8)],_0x2613c9);break;}catch(_0x48aa85){_0x6afb5c[_0x59574d(0x17a)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x59574d(0x1df)](_0x48aa85));}_0x6afb5c[_0x59574d(0x214)](shouldProcessEventForTesthub)&&await _0x2613c9[_0x59574d(0x1b8)](_0x2f61d1[_0x59574d(0x157)]);break;case _0x6afb5c['yhWMX']:{const _0x21592c=_0x2f61d1[_0x59574d(0x157)];if(_0x6afb5c[_0x59574d(0x1d7)](isTrue,process['env'][_0x59574d(0x22a)])&&_0x6afb5c[_0x59574d(0x129)](isPhantomSkipFromNameFilter,_0x21592c)){const _0x316f9a=_0x6afb5c[_0x59574d(0x133)](getFullJestTestName,_0x21592c);logger[_0x59574d(0x168)](_0x59574d(0x15e)+_0x316f9a+'\x22'),_0x21592c[_0x59574d(0x15f)]=!![];break;}_0x2f61d1['test']={..._0x6afb5c[_0x59574d(0x1d7)](_0x9c06d5,_0x2f61d1[_0x59574d(0x157)]),..._0x2f61d1[_0x59574d(0x157)]};try{const _0x32bcd5=_0x2f61d1[_0x59574d(0x157)]['errors']||[],_0x1ffb27=_0x6afb5c['KBJhi'](_0x32bcd5[_0x59574d(0x1ab)],0x0)||_0x6afb5c[_0x59574d(0x19a)](_0x2f61d1[_0x59574d(0x157)]['status'],_0x6afb5c['FLYbJ']),_0xa15c86=_0x1ffb27?_0x6afb5c['JgWQC']:_0x6afb5c[_0x59574d(0x1c2)];let _0x1c7d97='';_0x1ffb27&&(_0x1c7d97=_0x32bcd5[_0x59574d(0x14b)](_0x406c39=>{const _0x596ae9=_0x59574d;if(Array['isArray'](_0x406c39))return _0x406c39['map'](_0x5f5c9d=>_0x5f5c9d&&_0x5f5c9d['message']||String(_0x5f5c9d))[_0x596ae9(0x187)](';\x20');return _0x406c39&&_0x406c39[_0x596ae9(0x165)]||_0x4b8cd0[_0x596ae9(0x183)](String,_0x406c39);})[_0x59574d(0x187)](';\x20')),process[_0x59574d(0x12a)]=_0xa15c86,process[_0x59574d(0x20d)]=_0x6afb5c[_0x59574d(0x206)](_0x1c7d97,''),logger[_0x59574d(0x168)](_0x59574d(0x186)+_0xa15c86+'\x22'),global[_0x59574d(0x12e)]&&global['__workerDetails'][_0x59574d(0x1d4)]&&(!global[_0x59574d(0x12e)][_0x59574d(0x1d4)]['testInfo']&&(global[_0x59574d(0x12e)][_0x59574d(0x1d4)][_0x59574d(0x149)]={}),global[_0x59574d(0x12e)]['currentTest'][_0x59574d(0x149)][_0x59574d(0x19e)]=_0xa15c86,_0x1ffb27&&(global['__workerDetails'][_0x59574d(0x1d4)]['testInfo'][_0x59574d(0x1e6)]=_0x1c7d97));}catch(_0x62196a){logger['debug']('[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20'+_0x62196a[_0x59574d(0x165)]);}if(!_0x2f61d1[_0x59574d(0x157)]['markedStatus']){_0x2f61d1[_0x59574d(0x157)]['markedStatus']=!![];if(BrowserstackCLI[_0x59574d(0x15c)]()[_0x59574d(0x1b0)]()&&await _0x6afb5c['eUfpL'](isCLIReady))try{await _0x6afb5c['uzpKI'](handleTestEventCLI,_0x2f61d1[_0x59574d(0x157)],_0x6afb5c[_0x59574d(0x1c4)],_0x2613c9);break;}catch(_0x70e92){_0x6afb5c[_0x59574d(0x17d)](debug,_0x59574d(0x210)+util['format'](_0x70e92));}_0x6afb5c[_0x59574d(0x214)](shouldProcessEventForTesthub)&&await _0x2613c9[_0x59574d(0x1b2)](_0x2f61d1['test']);}break;}case _0x6afb5c[_0x59574d(0x126)]:{const _0x43adb6=_0x2f61d1[_0x59574d(0x157)];if(_0x6afb5c[_0x59574d(0x158)](isTrue,process['env'][_0x59574d(0x22a)])&&_0x6afb5c[_0x59574d(0x17a)](isPhantomSkipFromNameFilter,_0x43adb6)){const _0x2031f2=_0x6afb5c[_0x59574d(0x20b)](getFullJestTestName,_0x43adb6);logger[_0x59574d(0x168)]('[Rerun]\x20Suppressed\x20phantom\x20TestRunSkipped\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22'+_0x2031f2+'\x22'),_0x43adb6['markedStatus']=!![];break;}_0x2f61d1['test']={..._0x6afb5c[_0x59574d(0x132)](_0x9c06d5,_0x2f61d1[_0x59574d(0x157)]),..._0x2f61d1['test']};if(!_0x2f61d1[_0x59574d(0x157)]['markedStatus']){_0x2f61d1[_0x59574d(0x157)][_0x59574d(0x15f)]=!![];if(BrowserstackCLI[_0x59574d(0x15c)]()[_0x59574d(0x1b0)]()&&await _0x6afb5c['qNmJh'](isCLIReady))try{await _0x6afb5c[_0x59574d(0x171)](handleTestEventCLI,_0x2f61d1[_0x59574d(0x157)],_0x6afb5c[_0x59574d(0x1d8)],_0x2613c9);break;}catch(_0x26c10c){_0x6afb5c[_0x59574d(0x160)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util['format'](_0x26c10c));}_0x6afb5c[_0x59574d(0x214)](shouldProcessEventForTesthub)&&await _0x2613c9[_0x59574d(0x1b2)](_0x2f61d1[_0x59574d(0x157)],undefined,![],_0x6afb5c[_0x59574d(0x1d8)]);}break;}case _0x6afb5c[_0x59574d(0x1a3)]:_0x2613c9[_0x59574d(0x1ad)]=null;break;case _0x6afb5c[_0x59574d(0x1e1)]:await RequestQueueHandler[_0x59574d(0x15c)]()[_0x59574d(0x21e)](),process[_0x59574d(0x1e3)]();break;default:}},_0x6afb5c[_0x10112d(0x219)]));}catch(_0x48e03f){_0x6afb5c[_0x10112d(0x20b)](debug,'Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20'+_0x48e03f);}return _0x6afb5c[_0x10112d(0x134)](initInitialize,..._0x5834ac);};try{Object['keys'](exportsI)['forEach'](_0x5912f6=>{const _0x2bfd51=a20_0x1b27b9,_0x596b1c={'XoUbZ':function(_0x25ed64,_0x1f0ab0){return _0x25ed64(_0x1f0ab0);}};try{exports&&(exports[_0x5912f6]=exportsI[_0x5912f6]);}catch(_0x395fd4){_0x596b1c[_0x2bfd51(0x17c)](debug,_0x2bfd51(0x1f5)+_0x395fd4);}});}catch(a20_0x27e9fa){debug(a20_0x1b27b9(0x1be)+a20_0x27e9fa);}const a20_0x152f52={};a20_0x152f52[a20_0x1b27b9(0x1fc)]=getFullJestTestName,a20_0x152f52[a20_0x1b27b9(0x141)]=getActiveTestNamePattern,a20_0x152f52['isPhantomSkipFromNameFilter']=isPhantomSkipFromNameFilter,exports[a20_0x1b27b9(0x151)]=a20_0x152f52;
1
+ function a20_0x584f(){const _0x49ecf3=['JyOYT','lxEvl','OnDpF','fYVLn','TjnoD','zyEDF','test_skip','getTestFramework','ZlruH','../../../helpers/testhub/utils','616fCouzY','HEhtz','lJxII','test_done','number','env',',\x20BROWSERSTACK_PUPPETEER=','szIGL','lmMjT','run_describe_finish','parse','MAlXb','aGeZs','configuration','includes','jest-circus','jIjBy','hook_start','testInfo','KTySs','Error\x20routing\x20to\x20JestTestFramework:\x20','debug','LscIb','CLI\x20is\x20enabled\x20and\x20running.','type','beforeEach','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','format','jest-circus/build/state.js','VISTU','DbRCr','HuIBT','call','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','\x20for\x20hook\x20type:\x20','../../v2/browserstackCLI','TPJrr','KgtXI','util','../../v2/cliUtils','qnzCO','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','KZWtZ','OPLIs','state','_currentRetry','rrNVV','VaZXA','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','Error\x20reading\x20platformIndex\x20from\x20args:\x20','jest-circus/build/jestAdapterInit.js','BROWSERSTACK_PUPPETEER','JEST','[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub=','winstonLogger','509292HGtnco','TestRunSkipped','PUPPETEER','string','FtumD','isArray','BROWSERSTACK_CLI_BIN_SESSION_ID','jestConfig','HookRunStarted','NctOw','sjgYx','IhvJd','../../../helpers/test-observability/utils','name','hDoqK',':hookAnalyticsId','setActiveHook','dWOAy','mWqSg','wkdzq','BROWSERSTACK_PLATFORM_INDEX','BXVnz','Qpgki','true','createHookData','getAutomationFrameworkDetail','aIXvv','hookData','[Rerun]\x20Suppressed\x20phantom\x20TestRunFinished\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','../test-observability/obsReporter',',\x20re-registering\x20event\x20handler','getFileName','_bstackTestStatus','testUUID','stack-trace','hook_failure','JIGNW','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','dqooS','Unnff','[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22','getFullJestTestName','\x20>\x20','12nUxjzt','KhOlR','getInstance','WdxCZ','pXNNU','current_test','ZwvtZ','TestRunFinished','LOG_REPORT','geWSi','isRunning','HookStarted','DcYKj','toString','startsWith','unhandledErrors','beforeAll','../../../helpers/test-observability/error-handler','hookAnalyticsId','POST','cIdbJ','keys','addEventHandler','browserstackPlatformIndex','PGTco','../../../helpers/testhub/constants','testPath','ixVRr','registerListeners','initialize','removeTestUUID','add','createTestFrameworkData','mCJSp','testAnalyticsId','setFrameworkDetail','../../v2/state/hookState','tPvMi','failed','pLLkS','removeAllListeners','__bstackPlatformIndex','lZAUK','teardown','markedStatus','GCpga','__workerDetails','1492790spoVzK','toISOString','testNamePattern','makeSingleTestResult','HookRunFinished','errorsDetailed','1202306jtMWhT','LHiAz','1856024uPSeXe','6tJehnA','message','BEFORE_EACH','Error\x20checking\x20CLI\x20readiness:\x20','etQRL','PbBKt','VuWzd','error','KVEhM','../../utils/constants','hook','EventHandler','AFTER_EACH','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','YyNeb','GWXfE','350305koudaR','started_at','LIrUh','TestRunStarted','RomPU','errors','TxCrz','DwOIa','failureMessage','17736eLrupY','length','has','sendTestRunEvent','_bstackTestFailureReason','currentTest','originalTest','hxvRd','QMSsA','aTRGJ','PRE','uuid','trackEvent','pid','fail','browserstackTestName','createIdentifierFromJestTest','PHGKE','hook_success','function','config','500827mMVpvW','WnNNp','MWecx','__rerunFilterHelpers','getActiveTestNamePattern','--testNamePattern','QPVnb','parent','__jestCurrentTestIdentifier','fSiYI','dBjSr','UKhbI','jfqjY','split','../../v2/utils/jest-utils','zdmIi','HAnSM','bcbGi','isCliEnabled','14QJBvEl','HookFinished','ehNQu','PLAYWRIGHT','bootstrap','setTestUUID','EBvro','forEach','../../v2/state/testFrameworkState','LojtG','-t=','jbpEg','HQRyK','_bstackTestName','BROWSERSTACK_RERUN','EOEnw','asyncError','BEFORE_ALL','status','TEST','file','jest-circus/build/utils.js','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','match','title','VQIFe','uXBqs','ulXPS','ROOT_DESCRIBE_BLOCK','test_start','TIicl','EVENT','27IoXqFG','map','unshift','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','ouulL','--testNamePattern=','join','[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20','vwfiJ','tiYxQ','test','qJNMP','retryOf','tuGLA','../../../helpers/logger','OJAut','../test-observability/test-details','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','xSbUg','vcsVb','eMTRD','pRHOG','cUjzu'];a20_0x584f=function(){return _0x49ecf3;};return a20_0x584f();}const a20_0xb23416=a20_0x372d;(function(_0x1e3a26,_0x1cefdf){const _0x22decb=a20_0x372d,_0xf1dcd1=_0x1e3a26();while(!![]){try{const _0x1704b2=parseInt(_0x22decb(0x156))/0x1+-parseInt(_0x22decb(0x125))/0x2+-parseInt(_0x22decb(0xf0))/0x3*(parseInt(_0x22decb(0x1e1))/0x4)+parseInt(_0x22decb(0x138))/0x5*(-parseInt(_0x22decb(0x128))/0x6)+-parseInt(_0x22decb(0x169))/0x7*(-parseInt(_0x22decb(0x127))/0x8)+-parseInt(_0x22decb(0x189))/0x9*(-parseInt(_0x22decb(0x11f))/0xa)+-parseInt(_0x22decb(0x1aa))/0xb*(-parseInt(_0x22decb(0x141))/0xc);if(_0x1704b2===_0x1cefdf)break;else _0xf1dcd1['push'](_0xf1dcd1['shift']());}catch(_0x73c176){_0xf1dcd1['push'](_0xf1dcd1['shift']());}}}(a20_0x584f,0x4ce34));const {requireModule,isTrue}=require('../../../helpers/helper'),ObservabilityReporter=require(a20_0xb23416(0x1fe)),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),TestDetails=require(a20_0xb23416(0x199)),{patchConsoleLogger,debug}=require(a20_0xb23416(0x1ed)),{o11yErrorHandler}=require(a20_0xb23416(0x101)),{shouldProcessEventForTesthub}=require(a20_0xb23416(0x1a9)),testHubConstants=require(a20_0xb23416(0x109)),BrowserstackCLI=require(a20_0xb23416(0x1cd)),TestFrameworkState=require(a20_0xb23416(0x171)),HookState=require(a20_0xb23416(0x114)),JestUtils=require(a20_0xb23416(0x164)),{v4:uuidv4}=require(a20_0xb23416(0x14c)),util=require(a20_0xb23416(0x1d0)),logger=require(a20_0xb23416(0x197))[a20_0xb23416(0x1e0)],{FRAMEWORKS}=require(a20_0xb23416(0x131));let exportsI;try{exportsI=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js',a20_0xb23416(0x1b9));}catch{exportsI=requireModule(a20_0xb23416(0x1dc),a20_0xb23416(0x1b9));}const initInitialize=exportsI[a20_0xb23416(0x10d)],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();let _currentTestPath=null;function getFullJestTestName(_0x3d9c58){const _0x489ec7=a20_0xb23416,_0x57f4d9={};_0x57f4d9[_0x489ec7(0x1c0)]=function(_0xc66449,_0x3a1c3e){return _0xc66449!==_0x3a1c3e;},_0x57f4d9[_0x489ec7(0x1fb)]=_0x489ec7(0x185);const _0x187b22=_0x57f4d9;try{const _0x5cd821=[];let _0x2b0831=_0x3d9c58;while(_0x2b0831){_0x2b0831['name']&&_0x187b22[_0x489ec7(0x1c0)](_0x2b0831[_0x489ec7(0x1ee)],_0x187b22[_0x489ec7(0x1fb)])&&_0x5cd821[_0x489ec7(0x18b)](_0x2b0831[_0x489ec7(0x1ee)]),_0x2b0831=_0x2b0831[_0x489ec7(0x15d)];}return _0x5cd821['join']('\x20');}catch(_0x44ecf1){return _0x3d9c58&&_0x3d9c58[_0x489ec7(0x1ee)]||'';}}function getActiveTestNamePattern(){const _0x5b3028=a20_0xb23416,_0x140b07={'cTvBa':function(_0xf5fc12,_0x4f76b7,_0xda8625){return _0xf5fc12(_0x4f76b7,_0xda8625);},'PGTco':_0x5b3028(0x1c6),'cUjzu':_0x5b3028(0x1b9),'GmCxk':function(_0x141d3d,_0x5cf5d1){return _0x141d3d(_0x5cf5d1);},'PbBKt':function(_0x53c682,_0x39ea84){return _0x53c682===_0x39ea84;},'EOEnw':_0x5b3028(0x154),'HuIBT':function(_0x56d56a,_0x3482be){return _0x56d56a instanceof _0x3482be;},'pLLkS':_0x5b3028(0x1e4),'GWXfE':function(_0x1dd39f,_0x144835){return _0x1dd39f>_0x144835;},'Pafmw':function(_0x1f3068,_0xed5ba2){return _0x1f3068<_0xed5ba2;},'lZAUK':_0x5b3028(0x15b),'cIdbJ':function(_0xaf43d0,_0x203763){return _0xaf43d0+_0x203763;},'tPvMi':_0x5b3028(0x18e),'KVEhM':_0x5b3028(0x173)};try{let _0xf8b764;try{_0xf8b764=_0x140b07['cTvBa'](requireModule,_0x140b07[_0x5b3028(0x108)],_0x140b07[_0x5b3028(0x19f)]);}catch{_0xf8b764=_0x140b07['GmCxk'](requireModule,_0x140b07[_0x5b3028(0x19f)]);}if(_0xf8b764&&_0x140b07['PbBKt'](typeof _0xf8b764['getState'],_0x140b07[_0x5b3028(0x178)])){const _0x3c31c0=_0xf8b764['getState']();if(_0x3c31c0&&_0x3c31c0[_0x5b3028(0x121)]){if(_0x140b07[_0x5b3028(0x1c9)](_0x3c31c0[_0x5b3028(0x121)],RegExp))return _0x3c31c0[_0x5b3028(0x121)];if(_0x140b07[_0x5b3028(0x12d)](typeof _0x3c31c0[_0x5b3028(0x121)],_0x140b07[_0x5b3028(0x117)])&&_0x140b07[_0x5b3028(0x137)](_0x3c31c0[_0x5b3028(0x121)][_0x5b3028(0x142)],0x0))return new RegExp(_0x3c31c0['testNamePattern'],'i');}}}catch(_0x10ca81){}try{const _0x8cc969=process['argv']||[];for(let _0x52a2de=0x0;_0x140b07['Pafmw'](_0x52a2de,_0x8cc969['length']);_0x52a2de++){const _0xfabf69=_0x8cc969[_0x52a2de];if(_0x140b07[_0x5b3028(0x12d)](_0xfabf69,'-t')||_0x140b07['PbBKt'](_0xfabf69,_0x140b07[_0x5b3028(0x11a)])){const _0x33094e=_0x8cc969[_0x140b07[_0x5b3028(0x104)](_0x52a2de,0x1)];if(_0x33094e&&!_0x33094e[_0x5b3028(0xfe)]('-'))return new RegExp(_0x33094e,'i');}else{if(_0xfabf69&&(_0xfabf69[_0x5b3028(0xfe)](_0x140b07[_0x5b3028(0x115)])||_0xfabf69[_0x5b3028(0xfe)](_0x140b07[_0x5b3028(0x130)]))){const _0x2ba3f6=_0xfabf69[_0x5b3028(0x163)]('=')['slice'](0x1)[_0x5b3028(0x18f)]('=');if(_0x2ba3f6)return new RegExp(_0x2ba3f6,'i');}}}}catch(_0x5cbf25){}return null;}function a20_0x372d(_0x4add67,_0x445795){const _0x584ff8=a20_0x584f();return a20_0x372d=function(_0x372d1a,_0x37c3af){_0x372d1a=_0x372d1a-0xe7;let _0x4233e0=_0x584ff8[_0x372d1a];return _0x4233e0;},a20_0x372d(_0x4add67,_0x445795);}function isPhantomSkipFromNameFilter(_0x590dcf){const _0x4e8ed2=a20_0xb23416,_0xff3635={'NPRks':function(_0x2d68ca){return _0x2d68ca();},'TIicl':function(_0x1533db,_0xbf9dd7){return _0x1533db(_0xbf9dd7);}},_0x2a56df=_0xff3635['NPRks'](getActiveTestNamePattern);if(!_0x2a56df)return![];const _0xd74d27=_0xff3635[_0x4e8ed2(0x187)](getFullJestTestName,_0x590dcf);if(!_0xd74d27)return![];return!_0x2a56df['test'](_0xd74d27);}async function isCLIReady(){const _0x4159fb=a20_0xb23416,_0x4b6a08={'jbpEg':_0x4159fb(0x1c1),'mWqSg':function(_0x53a0b5,_0x3cb6a7){return _0x53a0b5(_0x3cb6a7);},'NctOw':_0x4159fb(0x1d1),'PHGKE':function(_0x2b630a,_0x3aff2e){return _0x2b630a===_0x3aff2e;},'dqooS':_0x4159fb(0x1f8)};try{const _0x81f1f0=BrowserstackCLI[_0x4159fb(0xf2)]();if(_0x81f1f0['isCliEnabled']()&&_0x81f1f0['isRunning']())return logger[_0x4159fb(0x1bf)](_0x4b6a08[_0x4159fb(0x174)]),!![];const _0x1ae0d4=process['env'][_0x4159fb(0x1e7)];if(_0x1ae0d4&&_0x81f1f0[_0x4159fb(0x168)]()){if(!_0x81f1f0['isRunning']())try{const _0x4c26af=_0x4b6a08[_0x4159fb(0x1f3)](require,_0x4b6a08[_0x4159fb(0x1ea)]),_0x29f40f=_0x4c26af[_0x4159fb(0x1fa)]();(!_0x29f40f||!_0x29f40f[_0x4159fb(0x1ee)])&&(_0x4b6a08[_0x4159fb(0x152)](process[_0x4159fb(0x1af)]['BROWSERSTACK_PUPPETEER'],_0x4b6a08[_0x4159fb(0xeb)])?_0x4c26af[_0x4159fb(0x113)](FRAMEWORKS[_0x4159fb(0x1de)],FRAMEWORKS[_0x4159fb(0x1e3)]):_0x4c26af[_0x4159fb(0x113)](FRAMEWORKS[_0x4159fb(0x1de)],FRAMEWORKS[_0x4159fb(0x16c)])),await _0x81f1f0[_0x4159fb(0x16d)]();}catch(_0x5e5215){return _0x4b6a08[_0x4159fb(0x1f3)](debug,_0x4159fb(0x1cb)+util['format'](_0x5e5215)),![];}return _0x81f1f0[_0x4159fb(0xfa)]();}return![];}catch(_0x5a29ce){return _0x4b6a08[_0x4159fb(0x1f3)](debug,_0x4159fb(0x12b)+util[_0x4159fb(0x1c5)](_0x5a29ce)),![];}}function getTestIdentifierForHook(_0x50cf68){const _0x5d7554=a20_0xb23416,_0x462942={};_0x462942[_0x5d7554(0x13a)]=function(_0x51f709,_0x4bbb52){return _0x51f709===_0x4bbb52;},_0x462942[_0x5d7554(0x148)]='beforeEach',_0x462942[_0x5d7554(0x184)]='beforeAll',_0x462942['eVUgX']=function(_0x1863ad,_0x2f19a9){return _0x1863ad===_0x2f19a9;};const _0x57c9ff=_0x462942;if(_0x57c9ff['LIrUh'](_0x50cf68[_0x5d7554(0x1c2)],_0x57c9ff[_0x5d7554(0x148)])||_0x57c9ff['LIrUh'](_0x50cf68['type'],_0x57c9ff[_0x5d7554(0x184)])){let _0x9ce606=global[_0x5d7554(0x15e)];if(!_0x9ce606&&_0x57c9ff['eVUgX'](_0x50cf68[_0x5d7554(0x1c2)],_0x57c9ff['ulXPS'])&&_0x50cf68['parent']){const _0x12c4bf={};_0x12c4bf[_0x5d7554(0x1ee)]=_0x50cf68['parent'][_0x5d7554(0x1ee)],_0x12c4bf[_0x5d7554(0x15d)]=_0x50cf68[_0x5d7554(0x15d)][_0x5d7554(0x15d)],_0x12c4bf[_0x5d7554(0x179)]=_0x50cf68[_0x5d7554(0x179)],_0x12c4bf['file']=_0x50cf68['file'];const _0x5ee29c=_0x12c4bf;_0x9ce606=jestUtils[_0x5d7554(0x151)](_0x5ee29c);}return _0x9ce606;}return global['__jestCurrentTestIdentifier'];}function mapHookTypeToState(_0x284ff7){const _0x29a6bd=a20_0xb23416,_0x2f7fd9={};_0x2f7fd9[_0x29a6bd(0x100)]=TestFrameworkState[_0x29a6bd(0x17a)],_0x2f7fd9['afterAll']=TestFrameworkState['AFTER_ALL'],_0x2f7fd9[_0x29a6bd(0x1c3)]=TestFrameworkState[_0x29a6bd(0x12a)],_0x2f7fd9['afterEach']=TestFrameworkState[_0x29a6bd(0x134)];const _0x36c331=_0x2f7fd9;return _0x36c331[_0x284ff7]||TestFrameworkState[_0x29a6bd(0x12a)];}async function handleHookEventCLI(_0x3c1e5f,_0x4fad8a,_0x3330b9){const _0xf161e=a20_0xb23416,_0x3e3d7e={'HEhtz':function(_0x5de338,_0x5980e3){return _0x5de338(_0x5980e3);},'lJxII':_0xf161e(0xe7),'mCJSp':function(_0x3791f5,_0x534848){return _0x3791f5===_0x534848;},'BXVnz':_0xf161e(0x185),'DwOIa':function(_0x4b8017){return _0x4b8017();},'nMQVH':function(_0x344df1){return _0x344df1();},'ZlruH':function(_0x5d0976,_0x2391c1){return _0x5d0976===_0x2391c1;},'szIGL':_0xf161e(0x1e9),'KTySs':function(_0x296eb0,_0x158a94){return _0x296eb0(_0x158a94);},'tuGLA':function(_0x3b66be,_0x540740){return _0x3b66be===_0x540740;},'etQRL':_0xf161e(0x123),'pXNNU':_0xf161e(0x132)};logger[_0xf161e(0x1bf)]('Handling\x20hook\x20event\x20for\x20CLI:\x20'+_0x4fad8a+_0xf161e(0x1cc)+_0x3c1e5f[_0xf161e(0x1c2)]);try{if(_0x3c1e5f['fn']&&_0x3c1e5f['fn'][_0xf161e(0xfd)]()[_0xf161e(0x180)](/browserstack internal helper hook/))return;if(_0x3c1e5f[_0xf161e(0x15d)]&&_0x3e3d7e[_0xf161e(0x111)](_0x3c1e5f['parent'][_0xf161e(0x1ee)],_0x3e3d7e[_0xf161e(0x1f6)])){const _0x19c359=_0x3c1e5f[_0xf161e(0x179)]&&((()=>{const _0xf192a3=_0xf161e;try{const _0x1cfa12=_0x3e3d7e[_0xf192a3(0x1ab)](require,_0x3e3d7e[_0xf192a3(0x1ac)]),_0x109fe0=_0x1cfa12[_0xf192a3(0x1b4)]['call'](_0x1cfa12,_0x3c1e5f[_0xf192a3(0x179)]);return _0x109fe0[0x0]&&_0x109fe0[0x0][_0xf192a3(0x200)]?_0x109fe0[0x0][_0xf192a3(0x200)]():null;}catch(_0x3f68cc){return logger[_0xf192a3(0x1bf)](_0xf192a3(0x1da)+_0x3f68cc['message']),null;}})())||_0x3c1e5f[_0xf161e(0x17d)]||null;if(!_0x19c359)return;}let _0x541c61=_0x3c1e5f['hookAnalyticsId'];if(!_0x541c61)_0x541c61=_0x3e3d7e[_0xf161e(0x13f)](uuidv4),_0x3c1e5f['hookAnalyticsId']=_0x541c61;else _0x3c1e5f[_0xf161e(0x11c)]&&(_0x541c61=_0x3e3d7e['nMQVH'](uuidv4),_0x3c1e5f[_0xf161e(0x102)]=_0x541c61,delete _0x3c1e5f['markedStatus']);_0x3e3d7e[_0xf161e(0x1a8)](_0x4fad8a,_0x3e3d7e[_0xf161e(0x1b1)])&&(_0x3c1e5f[_0xf161e(0x139)]=new Date()['toISOString']());const _0x203f46=_0x3e3d7e[_0xf161e(0x1ab)](getTestIdentifierForHook,_0x3c1e5f);!global['__workerDetails']&&(global['__workerDetails']={});if(_0x3e3d7e[_0xf161e(0x111)](_0x4fad8a,_0x3e3d7e[_0xf161e(0x1b1)])){global[_0xf161e(0x11e)]['currentHook']={'hookUUID':_0x541c61,'testIdentifier':_0x203f46,'hookType':_0x3c1e5f[_0xf161e(0x1c2)],'startedAt':new Date()[_0xf161e(0x120)]()};const _0x22cb58=BrowserstackCLI[_0xf161e(0xf2)]()[_0xf161e(0x1a7)]();_0x22cb58&&_0x22cb58['setActiveHook']&&_0x22cb58[_0xf161e(0x1f1)](_0x203f46,_0x541c61,_0x3c1e5f[_0xf161e(0x1c2)]);}const _0x1d25f1=await jestUtils[_0xf161e(0x1f9)](_0x3c1e5f,_0x541c61,_0x4fad8a,_0x203f46);if(!_0x1d25f1)return;const _0x29705d=_0x3e3d7e[_0xf161e(0x1bd)](mapHookTypeToState,_0x3c1e5f[_0xf161e(0x1c2)]),_0xca8b0b=_0x3e3d7e[_0xf161e(0x196)](_0x4fad8a,_0x3e3d7e[_0xf161e(0x1b1)])?HookState[_0xf161e(0x14b)]:HookState[_0xf161e(0x103)],_0xbb9cc8=BrowserstackCLI[_0xf161e(0xf2)]()['getTestFramework']();if(_0xbb9cc8){const _0x128a7c={};_0x128a7c[_0xf161e(0x1fc)]=_0x1d25f1,await _0xbb9cc8[_0xf161e(0x14d)](_0x29705d,_0xca8b0b,_0x128a7c);if(_0x3e3d7e[_0xf161e(0x111)](_0x4fad8a,_0x3e3d7e[_0xf161e(0x12c)])){const _0x3011d4={};_0x3011d4[_0xf161e(0x202)]=_0x203f46,_0x3011d4[_0xf161e(0x1c2)]=_0x3e3d7e[_0xf161e(0xf4)],await _0xbb9cc8[_0xf161e(0x14d)](TestFrameworkState[_0xf161e(0xf8)],HookState[_0xf161e(0x103)],_0x3011d4),global[_0xf161e(0x11e)]&&global[_0xf161e(0x11e)]['currentHook']&&_0x3e3d7e['tuGLA'](global[_0xf161e(0x11e)]['currentHook']['hookUUID'],_0x541c61)&&delete global[_0xf161e(0x11e)]['currentHook'],_0xbb9cc8['removeActiveHook']&&_0xbb9cc8['removeActiveHook'](_0x203f46,_0x541c61);}}}catch(_0x417d20){logger[_0xf161e(0x12f)](_0xf161e(0x17f)+util[_0xf161e(0x1c5)](_0x417d20));throw _0x417d20;}}async function handleTestEventCLI(_0x459feb,_0x500b69,_0x4f9c49){const _0x3a0a75=a20_0xb23416,_0x30ff48={};_0x30ff48['fYVLn']=function(_0x3d3657,_0x1f3ab7){return _0x3d3657===_0x1f3ab7;},_0x30ff48[_0x3a0a75(0x1ba)]=_0x3a0a75(0x13b),_0x30ff48[_0x3a0a75(0xfc)]=function(_0x3ac067,_0xcf3790){return _0x3ac067>_0xcf3790;},_0x30ff48[_0x3a0a75(0x160)]=function(_0x3c648c,_0x1611c7){return _0x3c648c===_0x1611c7;},_0x30ff48[_0x3a0a75(0x19e)]=function(_0x3b312b,_0xe5a869){return _0x3b312b&&_0xe5a869;},_0x30ff48[_0x3a0a75(0xf3)]=_0x3a0a75(0x116),_0x30ff48['hDoqK']=_0x3a0a75(0xf7),_0x30ff48['KhOlR']=function(_0x24d335,_0x271347){return _0x24d335&&_0x271347;},_0x30ff48[_0x3a0a75(0x1d5)]=_0x3a0a75(0x193);const _0x259fbe=_0x30ff48;logger['debug']('Handling\x20test\x20event\x20for\x20CLI:\x20'+_0x500b69);try{let _0x38cfa2;if(_0x259fbe[_0x3a0a75(0x1a3)](_0x500b69,_0x259fbe[_0x3a0a75(0x1ba)])){_0x38cfa2=jestUtils[_0x3a0a75(0x151)](_0x459feb),global[_0x3a0a75(0x15e)]=_0x38cfa2,_0x459feb[_0x3a0a75(0x112)]=_0x38cfa2,_0x459feb['id']=_0x38cfa2,_0x459feb[_0x3a0a75(0x139)]=new Date()[_0x3a0a75(0x120)]();const _0x433970=_0x4f9c49['current_test'];_0x4f9c49[_0x3a0a75(0xf5)]=_0x459feb,_0x459feb[_0x3a0a75(0x195)]=null;if(_0x259fbe[_0x3a0a75(0xfc)](_0x459feb[_0x3a0a75(0x1d7)],0x0)&&_0x433970&&_0x259fbe[_0x3a0a75(0x160)](_0x433970[_0x3a0a75(0x181)],_0x459feb[_0x3a0a75(0x181)])){_0x459feb['retryOf']=_0x433970['testAnalyticsId'];const _0x23bd38=await jestUtils[_0x3a0a75(0x110)](_0x459feb,_0x38cfa2,_0x259fbe[_0x3a0a75(0x1ba)]),_0x5f5c18=BrowserstackCLI[_0x3a0a75(0xf2)]()[_0x3a0a75(0x1a7)]();if(_0x259fbe['pRHOG'](_0x23bd38,_0x5f5c18)){const _0x5db42b={};_0x5db42b['test']=_0x23bd38,await _0x5f5c18[_0x3a0a75(0x14d)](TestFrameworkState[_0x3a0a75(0x17c)],HookState[_0x3a0a75(0x14b)],_0x5db42b);}_0x433970[_0x3a0a75(0x1d6)]=_0x259fbe[_0x3a0a75(0xf3)];const _0x316b68=await jestUtils[_0x3a0a75(0x110)](_0x433970,_0x433970[_0x3a0a75(0x112)],_0x259fbe[_0x3a0a75(0x1ef)]);if(_0x259fbe[_0x3a0a75(0x19e)](_0x316b68,_0x5f5c18)){const _0x36c260={};_0x36c260['test']=_0x316b68,await _0x5f5c18[_0x3a0a75(0x14d)](TestFrameworkState[_0x3a0a75(0x17c)],HookState[_0x3a0a75(0x103)],_0x36c260);}}else{const _0x901498=await jestUtils[_0x3a0a75(0x110)](_0x459feb,_0x38cfa2,_0x259fbe['jIjBy']),_0xe5a60f=BrowserstackCLI[_0x3a0a75(0xf2)]()['getTestFramework']();if(_0x259fbe[_0x3a0a75(0xf1)](_0x901498,_0xe5a60f)){const _0x6d4a63={};_0x6d4a63['test']=_0x901498,await _0xe5a60f[_0x3a0a75(0x14d)](TestFrameworkState[_0x3a0a75(0x17c)],HookState[_0x3a0a75(0x14b)],_0x6d4a63);}}}else{_0x38cfa2=_0x459feb[_0x3a0a75(0x112)]||_0x459feb['id']||global[_0x3a0a75(0x15e)];const _0x2abb86=await jestUtils['createTestFrameworkData'](_0x459feb,_0x38cfa2,_0x500b69),_0x4d523f=BrowserstackCLI[_0x3a0a75(0xf2)]()[_0x3a0a75(0x1a7)]();if(_0x259fbe[_0x3a0a75(0xf1)](_0x2abb86,_0x4d523f)){const _0x40e7e0={};_0x40e7e0[_0x3a0a75(0x193)]=_0x2abb86,_0x40e7e0[_0x3a0a75(0x147)]=_0x459feb,_0x40e7e0['testIdentifier']=_0x38cfa2,await _0x4d523f[_0x3a0a75(0x14d)](TestFrameworkState[_0x3a0a75(0x17c)],HookState['POST'],_0x40e7e0);const _0x136f5e={};_0x136f5e[_0x3a0a75(0x202)]=_0x38cfa2,_0x136f5e[_0x3a0a75(0x1c2)]=_0x259fbe[_0x3a0a75(0x1d5)],await _0x4d523f[_0x3a0a75(0x14d)](TestFrameworkState['LOG_REPORT'],HookState[_0x3a0a75(0x103)],_0x136f5e);}}}catch(_0x514c45){logger[_0x3a0a75(0x12f)](_0x3a0a75(0x135)+util['format'](_0x514c45));throw _0x514c45;}}exportsI[a20_0xb23416(0x10d)]=(..._0x2146d7)=>{const _0xee8f77=a20_0xb23416,_0x4a7898={'VISTU':function(_0x274e87,_0x112f16){return _0x274e87(_0x112f16);},'NZJeh':_0xee8f77(0xe7),'GCpga':function(_0x42e3c8,_0xafe261){return _0x42e3c8(_0xafe261);},'VaZXA':function(_0x554435,_0x43d522){return _0x554435&&_0x43d522;},'QPVnb':_0xee8f77(0x1bb),'KZWtZ':function(_0x21180d,_0x50e300){return _0x21180d===_0x50e300;},'Unnff':_0xee8f77(0x185),'uXBqs':function(_0x5ad82d){return _0x5ad82d();},'sjgYx':function(_0x2116e0,_0x209b95){return _0x2116e0(_0x209b95);},'VuWzd':function(_0x1f3cdf,_0x4d5294,_0xdc396,_0x1f6398){return _0x1f3cdf(_0x4d5294,_0xdc396,_0x1f6398);},'TjnoD':_0xee8f77(0x1e9),'dWOAy':function(_0x308562,_0x1fccfd){return _0x308562(_0x1fccfd);},'ehNQu':function(_0x241202,_0x1b3346){return _0x241202(_0x1b3346);},'MAlXb':_0xee8f77(0x153),'ouulL':function(_0x252551){return _0x252551();},'DkOvt':function(_0x50b151,_0x543c84,_0x365dd9,_0x37f449){return _0x50b151(_0x543c84,_0x365dd9,_0x37f449);},'LHiAz':_0xee8f77(0x123),'JIGNW':function(_0x11f6ba,_0x21b389){return _0x11f6ba(_0x21b389);},'EBvro':_0xee8f77(0xe8),'tiYxQ':_0xee8f77(0x100),'geWSi':_0xee8f77(0x1c3),'KgtXI':'afterEach','zdmIi':function(_0x2d8c52,_0x5e1b12){return _0x2d8c52>_0x5e1b12;},'xSbUg':function(_0x338c4f,_0x1bc2c2){return _0x338c4f(_0x1bc2c2);},'Kntwj':function(_0x1ebeea,_0x9a340a,_0x5cb37f,_0x72eb90){return _0x1ebeea(_0x9a340a,_0x5cb37f,_0x72eb90);},'qnzCO':function(_0xc8cc16,_0x40eef7){return _0xc8cc16(_0x40eef7);},'OnDpF':_0xee8f77(0x186),'LojtG':function(_0x2eb22c,_0x5ed9a1){return _0x2eb22c(_0x5ed9a1);},'wkdzq':function(_0x27c78d,_0x3ee587){return _0x27c78d!==_0x3ee587;},'FtumD':_0xee8f77(0xef),'fSiYI':function(_0x390fd3,_0x2b34eb,_0xaec846,_0x1dc64a){return _0x390fd3(_0x2b34eb,_0xaec846,_0x1dc64a);},'rcFiQ':_0xee8f77(0x13b),'WnNNp':function(_0x48c483,_0x242ee){return _0x48c483(_0x242ee);},'UKhbI':function(_0x44f241){return _0x44f241();},'QMSsA':_0xee8f77(0x1ad),'aTRGJ':function(_0x433e35,_0x21c430){return _0x433e35(_0x21c430);},'aGeZs':function(_0x1b1d76,_0x12071e){return _0x1b1d76(_0x12071e);},'TxCrz':function(_0xa1c05,_0x90995f){return _0xa1c05>_0x90995f;},'augAr':function(_0x1f3cf5,_0xbd2776){return _0x1f3cf5===_0xbd2776;},'aSYjG':_0xee8f77(0x14f),'fiBhC':_0xee8f77(0x116),'ZwvtZ':'passed','jfqjY':function(_0x1010fa,_0x5e80a9){return _0x1010fa||_0x5e80a9;},'TPJrr':'TestRunFinished','VQIFe':function(_0x5ee857,_0x132f52){return _0x5ee857(_0x132f52);},'tMjQj':_0xee8f77(0x1a6),'qJNMP':function(_0x22f91b,_0x3fffe7){return _0x22f91b(_0x3fffe7);},'OQwOX':function(_0x1c71fc,_0x1f68cc){return _0x1c71fc(_0x1f68cc);},'vwfiJ':function(_0x1d5b3c){return _0x1d5b3c();},'HQRyK':function(_0x3732fa,_0x500333,_0x2da4d4,_0x197ed5){return _0x3732fa(_0x500333,_0x2da4d4,_0x197ed5);},'YyNeb':_0xee8f77(0x1e2),'eMTRD':_0xee8f77(0x1b3),'lmMjT':_0xee8f77(0x11b),'QvMMS':function(_0x5e6df4,_0xe06cf2){return _0x5e6df4===_0xe06cf2;},'lxEvl':_0xee8f77(0x1e4),'DbRCr':function(_0x4b4891,_0x262f63){return _0x4b4891===_0x262f63;},'ixVRr':_0xee8f77(0x1ae),'IhvJd':function(_0x3d900b){return _0x3d900b();},'rrNVV':function(_0x49b430){return _0x49b430();},'bcbGi':function(_0x7d1d5a,_0x3ac8a3,_0x38f8cd){return _0x7d1d5a(_0x3ac8a3,_0x38f8cd);},'Qpgki':_0xee8f77(0x1c6),'HAnSM':'jest-circus','OJAut':function(_0x5d100b,_0x573caf,_0x525841){return _0x5d100b(_0x573caf,_0x525841);},'ayqdC':_0xee8f77(0x17e),'MWecx':function(_0x90d3f,_0x46efd6,_0x5d7513){return _0x90d3f(_0x46efd6,_0x5d7513);},'zyEDF':_0xee8f77(0x133),'RomPU':function(_0x498db6,..._0x32683b){return _0x498db6(..._0x32683b);}};try{logger[_0xee8f77(0x1bf)](_0xee8f77(0x1df)+_0x4a7898[_0xee8f77(0x191)](shouldProcessEventForTesthub)+_0xee8f77(0x1b0)+process['env'][_0xee8f77(0x1dd)]);const _0x36e803=_0x2146d7&&_0x2146d7[0x0]?_0x2146d7[0x0]:{};_0x36e803&&_0x4a7898['QvMMS'](typeof _0x36e803[_0xee8f77(0x10a)],_0x4a7898[_0xee8f77(0x1a1)])&&_0x36e803[_0xee8f77(0x10a)]&&(_currentTestPath=_0x36e803['testPath']);let _0x32692c=0x0;try{if(_0x36e803[_0xee8f77(0x155)]&&_0x4a7898[_0xee8f77(0x1c8)](typeof _0x36e803[_0xee8f77(0x155)]['browserstackPlatformIndex'],_0x4a7898[_0xee8f77(0x10b)]))_0x32692c=_0x36e803['config'][_0xee8f77(0x107)];else{if(_0x36e803[_0xee8f77(0x1b7)]&&_0x4a7898[_0xee8f77(0x1c8)](typeof _0x36e803[_0xee8f77(0x1b7)][_0xee8f77(0x107)],_0x4a7898['ixVRr']))_0x32692c=_0x36e803[_0xee8f77(0x1b7)][_0xee8f77(0x107)];else global[_0xee8f77(0x1e8)]&&_0x4a7898[_0xee8f77(0x1c8)](typeof global['jestConfig'][_0xee8f77(0x107)],_0x4a7898[_0xee8f77(0x10b)])&&(_0x32692c=global['jestConfig'][_0xee8f77(0x107)]);}}catch(_0x52cff7){logger[_0xee8f77(0x1bf)](_0xee8f77(0x1db)+util['format'](_0x52cff7));}global[_0xee8f77(0x119)]=_0x32692c,process[_0xee8f77(0x1af)][_0xee8f77(0x1f5)]=_0x4a7898[_0xee8f77(0xe9)](String,_0x32692c);const _0x4a4d67=new ObservabilityReporter();!_initializedPlatformIndices[_0xee8f77(0x143)](_0x32692c)?(logger[_0xee8f77(0x1bf)](_0xee8f77(0xea)+_0x32692c),_initializedPlatformIndices[_0xee8f77(0x10f)](_0x32692c),_0x4a7898[_0xee8f77(0x1ec)](shouldProcessEventForTesthub)&&(_0x4a7898[_0xee8f77(0x1d8)](patchConsoleLogger),_0x4a4d67[_0xee8f77(0x10c)]())):logger['debug'](_0xee8f77(0x1d3)+_0x32692c+_0xee8f77(0x1ff));let _0x324ae3;try{_0x324ae3=_0x4a7898[_0xee8f77(0x167)](requireModule,_0x4a7898[_0xee8f77(0x1f7)],_0x4a7898[_0xee8f77(0x166)]);}catch{_0x324ae3=_0x4a7898['WnNNp'](requireModule,_0x4a7898[_0xee8f77(0x166)]);}let _0x1d4a3a;try{_0x1d4a3a=_0x4a7898[_0xee8f77(0x198)](requireModule,_0x4a7898['ayqdC'],_0x4a7898[_0xee8f77(0x166)])['makeSingleTestResult'];}catch{_0x1d4a3a=_0x4a7898[_0xee8f77(0x16b)](requireModule,_0x4a7898['HAnSM'])[_0xee8f77(0x122)]||(()=>({}));}const _0x23c0cd=BrowserstackCLI[_0xee8f77(0xf2)]()[_0xee8f77(0x168)]();(_0x4a7898[_0xee8f77(0x1ec)](shouldProcessEventForTesthub)||_0x23c0cd)&&_0x324ae3[_0xee8f77(0x106)](_0x4a7898[_0xee8f77(0x158)](o11yErrorHandler,async(_0x1f56dd,_0x3ba963)=>{const _0xeb0e4b=_0xee8f77,_0x5086b0={'vcsVb':function(_0x4195ff,_0x5ba6f0){const _0x103d7b=a20_0x372d;return _0x4a7898[_0x103d7b(0x11d)](_0x4195ff,_0x5ba6f0);}};_0x4a7898[_0xeb0e4b(0x1d9)](_currentTestPath,_0x1f56dd)&&_0x1f56dd['test']&&!_0x1f56dd[_0xeb0e4b(0x193)][_0xeb0e4b(0x17d)]&&(_0x1f56dd[_0xeb0e4b(0x193)][_0xeb0e4b(0x17d)]=_currentTestPath);switch(_0x1f56dd[_0xeb0e4b(0x1ee)]){case _0x4a7898[_0xeb0e4b(0x15c)]:if(_0x1f56dd[_0xeb0e4b(0x132)]['fn']&&_0x1f56dd[_0xeb0e4b(0x132)]['fn'][_0xeb0e4b(0xfd)]()[_0xeb0e4b(0x180)](/browserstack internal helper hook/))break;if(_0x1f56dd[_0xeb0e4b(0x132)][_0xeb0e4b(0x15d)]&&_0x4a7898[_0xeb0e4b(0x1d4)](_0x1f56dd[_0xeb0e4b(0x132)][_0xeb0e4b(0x15d)][_0xeb0e4b(0x1ee)],_0x4a7898[_0xeb0e4b(0xec)])){const _0x5bca6e=_0x1f56dd[_0xeb0e4b(0x132)][_0xeb0e4b(0x179)]&&((()=>{const _0x1e92a5=_0xeb0e4b;try{const _0x38172c=_0x4a7898[_0x1e92a5(0x1c7)](require,_0x4a7898['NZJeh']),_0x28be63=_0x38172c['parse'][_0x1e92a5(0x1ca)](_0x38172c,_0x1f56dd[_0x1e92a5(0x132)][_0x1e92a5(0x179)]);return _0x28be63[0x0]&&_0x28be63[0x0][_0x1e92a5(0x200)]?_0x28be63[0x0][_0x1e92a5(0x200)]():null;}catch(_0x4a172a){return logger[_0x1e92a5(0x1bf)](_0x1e92a5(0x1da)+_0x4a172a[_0x1e92a5(0x129)]),null;}})())||_0x1f56dd['hook'][_0xeb0e4b(0x17d)]||null;if(!_0x5bca6e)break;}if(BrowserstackCLI[_0xeb0e4b(0xf2)]()['isCliEnabled']()&&await _0x4a7898[_0xeb0e4b(0x183)](isCLIReady)){if(_0x4a7898[_0xeb0e4b(0x1eb)](shouldProcessEventForTesthub,testHubConstants[_0xeb0e4b(0x188)][_0xeb0e4b(0xfb)]))try{await _0x4a7898[_0xeb0e4b(0x12e)](handleHookEventCLI,_0x1f56dd[_0xeb0e4b(0x132)],_0x4a7898[_0xeb0e4b(0x1a4)],_0x3ba963);break;}catch(_0x193442){_0x4a7898[_0xeb0e4b(0x1f2)](debug,_0xeb0e4b(0x1be)+util['format'](_0x193442));}}if(_0x4a7898['ehNQu'](shouldProcessEventForTesthub,testHubConstants[_0xeb0e4b(0x188)][_0xeb0e4b(0xfb)])){if(!_0x1f56dd[_0xeb0e4b(0x132)]['hookAnalyticsId']){const _0x310288=TestDetails[_0xeb0e4b(0x16e)](process['pid']+':hookAnalyticsId');_0x1f56dd[_0xeb0e4b(0x132)][_0xeb0e4b(0x102)]=_0x310288;}else _0x1f56dd[_0xeb0e4b(0x132)][_0xeb0e4b(0x11c)]&&(_0x1f56dd[_0xeb0e4b(0x132)][_0xeb0e4b(0x102)]=TestDetails[_0xeb0e4b(0x16e)](process[_0xeb0e4b(0x14e)]+':hookAnalyticsId'),delete _0x1f56dd[_0xeb0e4b(0x132)][_0xeb0e4b(0x11c)]);_0x1f56dd['hook']['started_at']=new Date()[_0xeb0e4b(0x120)](),await _0x4a4d67[_0xeb0e4b(0x144)](_0x1f56dd[_0xeb0e4b(0x132)],undefined,![],_0x4a7898[_0xeb0e4b(0x1a4)]);}break;case _0x4a7898[_0xeb0e4b(0x1b5)]:if(BrowserstackCLI['getInstance']()[_0xeb0e4b(0x168)]()&&await _0x4a7898[_0xeb0e4b(0x18d)](isCLIReady)){if(_0x4a7898['ehNQu'](shouldProcessEventForTesthub,testHubConstants[_0xeb0e4b(0x188)][_0xeb0e4b(0x16a)]))try{await _0x4a7898['DkOvt'](handleHookEventCLI,_0x1f56dd[_0xeb0e4b(0x132)],_0x4a7898['LHiAz'],_0x3ba963);break;}catch(_0x28af99){_0x4a7898[_0xeb0e4b(0x11d)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0xeb0e4b(0x1c5)](_0x28af99));}}_0x4a7898[_0xeb0e4b(0xe9)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0xeb0e4b(0x16a)])&&(await _0x4a4d67[_0xeb0e4b(0x144)](_0x1f56dd[_0xeb0e4b(0x132)],undefined,![],_0x4a7898[_0xeb0e4b(0x126)]),TestDetails[_0xeb0e4b(0x10e)](process[_0xeb0e4b(0x14e)]+_0xeb0e4b(0x1f0)));break;case _0x4a7898[_0xeb0e4b(0x16f)]:[_0x4a7898[_0xeb0e4b(0x192)],_0x4a7898[_0xeb0e4b(0xf9)],_0x4a7898[_0xeb0e4b(0x1cf)]][_0xeb0e4b(0x1b8)](_0x1f56dd[_0xeb0e4b(0x132)][_0xeb0e4b(0x1c2)])&&(_0x4a4d67[_0xeb0e4b(0xe8)]=_0x1f56dd[_0xeb0e4b(0x132)][_0xeb0e4b(0x1c2)]),_0x3ba963[_0xeb0e4b(0xff)]&&_0x4a7898[_0xeb0e4b(0x165)](_0x3ba963['unhandledErrors'][_0xeb0e4b(0x142)],0x0)&&(_0x1f56dd['hook'][_0xeb0e4b(0x124)]=[_0x3ba963[_0xeb0e4b(0xff)][0x0][0x0]]);if(BrowserstackCLI['getInstance']()[_0xeb0e4b(0x168)]()&&await _0x4a7898[_0xeb0e4b(0x18d)](isCLIReady)){if(_0x4a7898[_0xeb0e4b(0x19b)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0xeb0e4b(0x16a)]))try{await _0x4a7898['Kntwj'](handleHookEventCLI,_0x1f56dd[_0xeb0e4b(0x132)],_0x4a7898[_0xeb0e4b(0x126)],_0x3ba963);break;}catch(_0x570e1f){_0x4a7898[_0xeb0e4b(0x1eb)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0xeb0e4b(0x1c5)](_0x570e1f));}}_0x4a7898[_0xeb0e4b(0x1d2)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0xeb0e4b(0x16a)])&&(await _0x4a4d67[_0xeb0e4b(0x144)](_0x1f56dd[_0xeb0e4b(0x132)],undefined,![],_0x4a7898[_0xeb0e4b(0x126)]),TestDetails['removeTestUUID'](process[_0xeb0e4b(0x14e)]+_0xeb0e4b(0x1f0)));break;case _0x4a7898[_0xeb0e4b(0x1a2)]:if(_0x4a7898[_0xeb0e4b(0x1eb)](isTrue,process[_0xeb0e4b(0x1af)][_0xeb0e4b(0x177)])&&_0x4a7898[_0xeb0e4b(0x16b)](isPhantomSkipFromNameFilter,_0x1f56dd[_0xeb0e4b(0x193)])){const _0x501bce=_0x4a7898[_0xeb0e4b(0x172)](getFullJestTestName,_0x1f56dd[_0xeb0e4b(0x193)]);logger[_0xeb0e4b(0x1bf)]('[Rerun]\x20Suppressed\x20phantom\x20TestRunStarted\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22'+_0x501bce+'\x22');break;}try{let _0x32de7a=_0x1f56dd[_0xeb0e4b(0x193)][_0xeb0e4b(0x1ee)]||'';try{let _0x90f6f6=_0x1f56dd[_0xeb0e4b(0x193)][_0xeb0e4b(0x15d)];const _0x1be70c=[_0x32de7a];while(_0x90f6f6&&_0x90f6f6['name']&&_0x4a7898[_0xeb0e4b(0x1f4)](_0x90f6f6[_0xeb0e4b(0x1ee)],_0x4a7898[_0xeb0e4b(0xec)])){_0x1be70c['unshift'](_0x90f6f6[_0xeb0e4b(0x1ee)]),_0x90f6f6=_0x90f6f6[_0xeb0e4b(0x15d)];}_0x32de7a=_0x1be70c[_0xeb0e4b(0x18f)](_0x4a7898[_0xeb0e4b(0x1e5)]);}catch(_0xc25fe4){logger[_0xeb0e4b(0x1bf)](_0xeb0e4b(0x18c)+_0xc25fe4['message']);}process[_0xeb0e4b(0x176)]=_0x32de7a,process[_0xeb0e4b(0x201)]=null,process[_0xeb0e4b(0x145)]=null,logger['debug'](_0xeb0e4b(0xed)+_0x32de7a+'\x22');if(!global['__workerDetails']){const _0x1ee798={};_0x1ee798[_0xeb0e4b(0x146)]={},global[_0xeb0e4b(0x11e)]=_0x1ee798;}!global['__workerDetails'][_0xeb0e4b(0x146)]&&(global[_0xeb0e4b(0x11e)][_0xeb0e4b(0x146)]={});const _0x4bf388={};_0x4bf388[_0xeb0e4b(0x181)]=_0x32de7a,_0x4bf388['name']=_0x32de7a,global[_0xeb0e4b(0x11e)][_0xeb0e4b(0x146)][_0xeb0e4b(0x1bc)]=_0x4bf388,global[_0xeb0e4b(0x150)]=_0x32de7a;}catch(_0x507e5c){logger[_0xeb0e4b(0x1bf)]('[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20'+_0x507e5c[_0xeb0e4b(0x129)]);}if(BrowserstackCLI[_0xeb0e4b(0xf2)]()[_0xeb0e4b(0x168)]()&&await _0x4a7898[_0xeb0e4b(0x183)](isCLIReady))try{await _0x4a7898[_0xeb0e4b(0x15f)](handleTestEventCLI,_0x1f56dd['test'],_0x4a7898['rcFiQ'],_0x4a4d67);break;}catch(_0x5963dd){_0x4a7898[_0xeb0e4b(0x157)](debug,_0xeb0e4b(0x1be)+util['format'](_0x5963dd));}_0x4a7898[_0xeb0e4b(0x161)](shouldProcessEventForTesthub)&&await _0x4a4d67['testStarted'](_0x1f56dd[_0xeb0e4b(0x193)]);break;case _0x4a7898[_0xeb0e4b(0x149)]:{const _0x16229d=_0x1f56dd['test'];if(_0x4a7898[_0xeb0e4b(0x14a)](isTrue,process[_0xeb0e4b(0x1af)][_0xeb0e4b(0x177)])&&_0x4a7898[_0xeb0e4b(0x1b6)](isPhantomSkipFromNameFilter,_0x16229d)){const _0x43f948=_0x4a7898[_0xeb0e4b(0x1d2)](getFullJestTestName,_0x16229d);logger[_0xeb0e4b(0x1bf)](_0xeb0e4b(0x1fd)+_0x43f948+'\x22'),_0x16229d[_0xeb0e4b(0x11c)]=!![];break;}_0x1f56dd['test']={..._0x4a7898[_0xeb0e4b(0x16b)](_0x1d4a3a,_0x1f56dd[_0xeb0e4b(0x193)]),..._0x1f56dd[_0xeb0e4b(0x193)]};try{const _0x4b0840=_0x1f56dd[_0xeb0e4b(0x193)][_0xeb0e4b(0x13d)]||[],_0x1e991d=_0x4a7898[_0xeb0e4b(0x13e)](_0x4b0840['length'],0x0)||_0x4a7898['augAr'](_0x1f56dd['test'][_0xeb0e4b(0x17b)],_0x4a7898['aSYjG']),_0xd371b4=_0x1e991d?_0x4a7898['fiBhC']:_0x4a7898[_0xeb0e4b(0xf6)];let _0x22cba1='';_0x1e991d&&(_0x22cba1=_0x4b0840[_0xeb0e4b(0x18a)](_0x2ecc2e=>{const _0x2bfd23=_0xeb0e4b;if(Array[_0x2bfd23(0x1e6)](_0x2ecc2e))return _0x2ecc2e[_0x2bfd23(0x18a)](_0x264824=>_0x264824&&_0x264824[_0x2bfd23(0x129)]||String(_0x264824))['join'](';\x20');return _0x2ecc2e&&_0x2ecc2e[_0x2bfd23(0x129)]||_0x5086b0[_0x2bfd23(0x19c)](String,_0x2ecc2e);})[_0xeb0e4b(0x18f)](';\x20')),process[_0xeb0e4b(0x201)]=_0xd371b4,process[_0xeb0e4b(0x145)]=_0x4a7898[_0xeb0e4b(0x162)](_0x22cba1,''),logger['debug']('[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22'+_0xd371b4+'\x22'),global[_0xeb0e4b(0x11e)]&&global[_0xeb0e4b(0x11e)][_0xeb0e4b(0x146)]&&(!global[_0xeb0e4b(0x11e)][_0xeb0e4b(0x146)][_0xeb0e4b(0x1bc)]&&(global[_0xeb0e4b(0x11e)][_0xeb0e4b(0x146)]['testInfo']={}),global[_0xeb0e4b(0x11e)][_0xeb0e4b(0x146)][_0xeb0e4b(0x1bc)][_0xeb0e4b(0x17b)]=_0xd371b4,_0x1e991d&&(global['__workerDetails'][_0xeb0e4b(0x146)][_0xeb0e4b(0x1bc)][_0xeb0e4b(0x140)]=_0x22cba1));}catch(_0x5ca4c0){logger[_0xeb0e4b(0x1bf)](_0xeb0e4b(0x190)+_0x5ca4c0[_0xeb0e4b(0x129)]);}if(!_0x1f56dd[_0xeb0e4b(0x193)]['markedStatus']){_0x1f56dd[_0xeb0e4b(0x193)][_0xeb0e4b(0x11c)]=!![];if(BrowserstackCLI[_0xeb0e4b(0xf2)]()[_0xeb0e4b(0x168)]()&&await _0x4a7898[_0xeb0e4b(0x18d)](isCLIReady))try{await _0x4a7898['VuWzd'](handleTestEventCLI,_0x1f56dd[_0xeb0e4b(0x193)],_0x4a7898[_0xeb0e4b(0x1ce)],_0x4a4d67);break;}catch(_0x2087a0){_0x4a7898[_0xeb0e4b(0x182)](debug,_0xeb0e4b(0x1be)+util[_0xeb0e4b(0x1c5)](_0x2087a0));}_0x4a7898[_0xeb0e4b(0x183)](shouldProcessEventForTesthub)&&await _0x4a4d67[_0xeb0e4b(0x144)](_0x1f56dd[_0xeb0e4b(0x193)]);}break;}case _0x4a7898['tMjQj']:{const _0xcec7ca=_0x1f56dd['test'];if(_0x4a7898['aTRGJ'](isTrue,process[_0xeb0e4b(0x1af)][_0xeb0e4b(0x177)])&&_0x4a7898[_0xeb0e4b(0x194)](isPhantomSkipFromNameFilter,_0xcec7ca)){const _0x4120af=_0x4a7898['OQwOX'](getFullJestTestName,_0xcec7ca);logger['debug']('[Rerun]\x20Suppressed\x20phantom\x20TestRunSkipped\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22'+_0x4120af+'\x22'),_0xcec7ca['markedStatus']=!![];break;}_0x1f56dd[_0xeb0e4b(0x193)]={..._0x4a7898[_0xeb0e4b(0x1c7)](_0x1d4a3a,_0x1f56dd[_0xeb0e4b(0x193)]),..._0x1f56dd[_0xeb0e4b(0x193)]};if(!_0x1f56dd[_0xeb0e4b(0x193)]['markedStatus']){_0x1f56dd[_0xeb0e4b(0x193)]['markedStatus']=!![];if(BrowserstackCLI['getInstance']()[_0xeb0e4b(0x168)]()&&await _0x4a7898[_0xeb0e4b(0x191)](isCLIReady))try{await _0x4a7898[_0xeb0e4b(0x175)](handleTestEventCLI,_0x1f56dd[_0xeb0e4b(0x193)],_0x4a7898['YyNeb'],_0x4a4d67);break;}catch(_0x16a7cd){_0x4a7898['aTRGJ'](debug,_0xeb0e4b(0x1be)+util[_0xeb0e4b(0x1c5)](_0x16a7cd));}_0x4a7898[_0xeb0e4b(0x191)](shouldProcessEventForTesthub)&&await _0x4a4d67['sendTestRunEvent'](_0x1f56dd['test'],undefined,![],_0x4a7898[_0xeb0e4b(0x136)]);}break;}case _0x4a7898[_0xeb0e4b(0x19d)]:_0x4a4d67[_0xeb0e4b(0xe8)]=null;break;case _0x4a7898[_0xeb0e4b(0x1b2)]:await RequestQueueHandler[_0xeb0e4b(0xf2)]()['shutdown'](),process[_0xeb0e4b(0x118)]();break;default:}},_0x4a7898[_0xee8f77(0x1a5)]));}catch(_0x577c62){_0x4a7898[_0xee8f77(0x1c7)](debug,'Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20'+_0x577c62);}return _0x4a7898[_0xee8f77(0x13c)](initInitialize,..._0x2146d7);};try{Object[a20_0xb23416(0x105)](exportsI)[a20_0xb23416(0x170)](_0x8c0e24=>{const _0x15f37e=a20_0xb23416,_0xc14e02={'JyOYT':function(_0x52285d,_0x1c0157){return _0x52285d(_0x1c0157);}};try{exports&&(exports[_0x8c0e24]=exportsI[_0x8c0e24]);}catch(_0x1cac27){_0xc14e02[_0x15f37e(0x1a0)](debug,_0x15f37e(0x19a)+_0x1cac27);}});}catch(a20_0x53e1e7){debug(a20_0xb23416(0x1c4)+a20_0x53e1e7);}const a20_0x28cfaf={};a20_0x28cfaf[a20_0xb23416(0xee)]=getFullJestTestName,a20_0x28cfaf[a20_0xb23416(0x15a)]=getActiveTestNamePattern,a20_0x28cfaf['isPhantomSkipFromNameFilter']=isPhantomSkipFromNameFilter,exports[a20_0xb23416(0x159)]=a20_0x28cfaf;
@@ -1 +1 @@
1
- const a21_0x214a56=a21_0x20f3;function a21_0x24b6(){const _0x5da731=['JEST_TEST_ORDER','1890942MrcTWX','1845886fRDKEO','228141ONYsDt','506748IIGxyN','5LhCgme','env','get','split','path','109242erDsxq','28WggFGa','sort','34689ulNylZ','map','360muacQl','exports','1595400JWyfiZ','filter','default'];a21_0x24b6=function(){return _0x5da731;};return a21_0x24b6();}(function(_0xd99300,_0x251473){const _0x458b64=a21_0x20f3,_0x293b5f=_0xd99300();while(!![]){try{const _0x2578d4=parseInt(_0x458b64(0x136))/0x1+parseInt(_0x458b64(0x137))/0x2+parseInt(_0x458b64(0x140))/0x3*(-parseInt(_0x458b64(0x13e))/0x4)+parseInt(_0x458b64(0x138))/0x5*(parseInt(_0x458b64(0x134))/0x6)+-parseInt(_0x458b64(0x135))/0x7+parseInt(_0x458b64(0x130))/0x8+parseInt(_0x458b64(0x13d))/0x9*(-parseInt(_0x458b64(0x12e))/0xa);if(_0x2578d4===_0x251473)break;else _0x293b5f['push'](_0x293b5f['shift']());}catch(_0x1e0e6e){_0x293b5f['push'](_0x293b5f['shift']());}}}(a21_0x24b6,0x345da));function a21_0x20f3(_0x277ee0,_0x3b3d60){const _0x24b674=a21_0x24b6();return a21_0x20f3=function(_0x20f347,_0x30c0ed){_0x20f347=_0x20f347-0x12d;let _0x452194=_0x24b674[_0x20f347];return _0x452194;},a21_0x20f3(_0x277ee0,_0x3b3d60);}const Sequencer=require('@jest/test-sequencer')[a21_0x214a56(0x132)];class CustomSequencer extends Sequencer{[a21_0x214a56(0x13f)](_0x5d06e0){const _0x533f8b=a21_0x214a56,_0x1bf3e6=process[_0x533f8b(0x139)][_0x533f8b(0x133)];if(!_0x1bf3e6)return _0x5d06e0;const _0x4ec23b=_0x1bf3e6[_0x533f8b(0x13b)](','),_0x50d3ff=new Map(_0x5d06e0[_0x533f8b(0x131)](_0x484cd2=>_0x4ec23b['includes'](_0x484cd2[_0x533f8b(0x13c)]))[_0x533f8b(0x12d)](_0x4b8bad=>[_0x4b8bad[_0x533f8b(0x13c)],_0x4b8bad]));return _0x4ec23b[_0x533f8b(0x12d)](_0x569630=>_0x50d3ff[_0x533f8b(0x13a)](_0x569630))[_0x533f8b(0x131)](Boolean);}}module[a21_0x214a56(0x12f)]=CustomSequencer;
1
+ const a21_0x401824=a21_0x5a7e;(function(_0x1325e5,_0x103e99){const _0x11d35e=a21_0x5a7e,_0x477914=_0x1325e5();while(!![]){try{const _0x66865d=parseInt(_0x11d35e(0x115))/0x1*(parseInt(_0x11d35e(0x108))/0x2)+-parseInt(_0x11d35e(0x116))/0x3*(parseInt(_0x11d35e(0x114))/0x4)+-parseInt(_0x11d35e(0x110))/0x5*(-parseInt(_0x11d35e(0x10d))/0x6)+-parseInt(_0x11d35e(0x10e))/0x7*(parseInt(_0x11d35e(0x10b))/0x8)+parseInt(_0x11d35e(0x102))/0x9+-parseInt(_0x11d35e(0x109))/0xa+-parseInt(_0x11d35e(0x10f))/0xb*(-parseInt(_0x11d35e(0x107))/0xc);if(_0x66865d===_0x103e99)break;else _0x477914['push'](_0x477914['shift']());}catch(_0x2049bc){_0x477914['push'](_0x477914['shift']());}}}(a21_0x1ce8,0xc102c));const Sequencer=require(a21_0x401824(0x112))[a21_0x401824(0x117)];function a21_0x5a7e(_0x448db3,_0x3a0f5b){const _0x1ce896=a21_0x1ce8();return a21_0x5a7e=function(_0x5a7e61,_0x323c5d){_0x5a7e61=_0x5a7e61-0x102;let _0x3ce8bf=_0x1ce896[_0x5a7e61];return _0x3ce8bf;},a21_0x5a7e(_0x448db3,_0x3a0f5b);}class CustomSequencer extends Sequencer{[a21_0x401824(0x104)](_0x4bf16b){const _0x47cd5a=a21_0x401824,_0x2970a7=process[_0x47cd5a(0x111)][_0x47cd5a(0x106)];if(!_0x2970a7)return _0x4bf16b;const _0x5521f1=_0x2970a7[_0x47cd5a(0x10a)](','),_0x36e6e7=new Map(_0x4bf16b[_0x47cd5a(0x118)](_0x204e97=>_0x5521f1[_0x47cd5a(0x113)](_0x204e97[_0x47cd5a(0x105)]))[_0x47cd5a(0x103)](_0x26f80d=>[_0x26f80d[_0x47cd5a(0x105)],_0x26f80d]));return _0x5521f1['map'](_0x53e2f7=>_0x36e6e7[_0x47cd5a(0x10c)](_0x53e2f7))[_0x47cd5a(0x118)](Boolean);}}module['exports']=CustomSequencer;function a21_0x1ce8(){const _0x6c9685=['44GfpEUS','243871ctbGIc','405336fVYzHh','default','filter','6881670KagLJy','map','sort','path','JEST_TEST_ORDER','24IBoEWL','10jSDwrg','14988600YBnPtG','split','32Fycyym','get','31830fkyrUj','1731849ECtcvu','13925846ghItJT','235NIzRjl','env','@jest/test-sequencer','includes'];a21_0x1ce8=function(){return _0x6c9685;};return a21_0x1ce8();}
@@ -1 +1 @@
1
- 'use strict';const a22_0x1ea20e=a22_0x33b0;(function(_0x359dd2,_0x48cf9d){const _0x3f5b2c=a22_0x33b0,_0x57a012=_0x359dd2();while(!![]){try{const _0x159b9f=-parseInt(_0x3f5b2c(0x81))/0x1*(parseInt(_0x3f5b2c(0x7c))/0x2)+-parseInt(_0x3f5b2c(0x8e))/0x3+parseInt(_0x3f5b2c(0x7b))/0x4+-parseInt(_0x3f5b2c(0x7e))/0x5*(parseInt(_0x3f5b2c(0x91))/0x6)+parseInt(_0x3f5b2c(0x8d))/0x7+-parseInt(_0x3f5b2c(0x78))/0x8*(parseInt(_0x3f5b2c(0x7a))/0x9)+parseInt(_0x3f5b2c(0x79))/0xa;if(_0x159b9f===_0x48cf9d)break;else _0x57a012['push'](_0x57a012['shift']());}catch(_0x8f2363){_0x57a012['push'](_0x57a012['shift']());}}}(a22_0x3390,0x3529d));const {requireModule,isBrowserstackInfra}=require('../../../helpers/helper'),a22_0x38856f={};a22_0x38856f[a22_0x1ea20e(0x8f)]=!![],Object[a22_0x1ea20e(0x7f)](exports,a22_0x1ea20e(0x90),a22_0x38856f),exports[a22_0x1ea20e(0x88)]=void 0x0;function a22_0x3390(){const _0x530ef1=['1848768emmzXd','1002660ncFxfn','9uGhWiu','1707428kAmtfH','2jRCTFC','runTests','60eFUByN','defineProperty','capabilities','329297QwRPUy','env','SbVqb','config','context','_globalConfig','testEnvironmentOptions','default','false','MUEYp','serial','length','2280481UCsKYu','180240dwRqQo','value','__esModule','7338WydpSL','jest-runner','yFppp','forEach','aTAZU','BSTACK_USER_JEST_RUNNER','freeze'];a22_0x3390=function(){return _0x530ef1;};return a22_0x3390();}function _interopRequireDefault(_0x23ad29){return _0x23ad29&&_0x23ad29['__esModule']?_0x23ad29:{'default':_0x23ad29};};function a22_0x33b0(_0x2b9bd8,_0x2ae6d9){const _0x33902b=a22_0x3390();return a22_0x33b0=function(_0x33b034,_0x5582d4){_0x33b034=_0x33b034-0x78;let _0x29d853=_0x33902b[_0x33b034];return _0x29d853;},a22_0x33b0(_0x2b9bd8,_0x2ae6d9);}const runnerModule=process[a22_0x1ea20e(0x82)][a22_0x1ea20e(0x96)]||a22_0x1ea20e(0x92),JestRunner=_interopRequireDefault(requireModule(runnerModule))[a22_0x1ea20e(0x88)];class TestRunner extends JestRunner{constructor(..._0x4a628f){super(..._0x4a628f);}[a22_0x1ea20e(0x7d)](..._0x3f33d2){const _0x24e02a=a22_0x1ea20e,_0x11d3c8={'aTAZU':function(_0x4ca47c){return _0x4ca47c();},'MUEYp':function(_0x32eb45,_0x2db702){return _0x32eb45-_0x2db702;},'SbVqb':function(_0x270c18,_0x217bf8){return _0x270c18*_0x217bf8;},'KiFub':function(_0x1a2194,_0x5bb146){return _0x1a2194===_0x5bb146;},'yFppp':_0x24e02a(0x89),'vxwmg':function(_0x55895c,_0x5b7844){return _0x55895c<_0x5b7844;}};if(!_0x11d3c8[_0x24e02a(0x95)](isBrowserstackInfra))return super[_0x24e02a(0x7d)](..._0x3f33d2);const _0x24b0f1=_0x3f33d2[0x0],_0x389484=_0x3f33d2[_0x11d3c8[_0x24e02a(0x8a)](_0x3f33d2[_0x24e02a(0x8c)],0x1)],_0x47bf90=_0x24b0f1[0x0][_0x24e02a(0x85)][_0x24e02a(0x84)][_0x24e02a(0x87)][_0x24e02a(0x80)],_0x5402a7=_0x24b0f1[0x0]['context'][_0x24e02a(0x84)][_0x24e02a(0x87)]['parallels__'];_0x5402a7&&(this[_0x24e02a(0x86)]=Object[_0x24e02a(0x97)]({...this['_globalConfig'],'maxWorkers':_0x11d3c8[_0x24e02a(0x83)](_0x5402a7,_0x47bf90['length'])}));_0x11d3c8['KiFub'](_0x24b0f1[0x0][_0x24e02a(0x85)][_0x24e02a(0x84)][_0x24e02a(0x87)]['serial__'],_0x11d3c8[_0x24e02a(0x93)])&&(_0x389484&&(_0x389484[_0x24e02a(0x8b)]=![]));const _0x34a92a=[];for(let _0x2f6d0a=0x0;_0x11d3c8['vxwmg'](_0x2f6d0a,_0x24b0f1[_0x24e02a(0x8c)]);_0x2f6d0a++){const _0x26292f=[];_0x47bf90[_0x24e02a(0x94)]((_0xa4b1a5,_0x261a5c)=>{const _0x92d04=_0x24e02a,_0x5686e3={..._0x24b0f1[_0x2f6d0a]},_0x35ccd6=_0x5686e3;_0x35ccd6[_0x92d04(0x85)]=Object[_0x92d04(0x97)]({..._0x35ccd6[_0x92d04(0x85)],'config':{..._0x35ccd6[_0x92d04(0x85)][_0x92d04(0x84)],'capability':_0xa4b1a5,'browserstackPlatformIndex':_0x261a5c}}),_0x26292f['push'](_0x35ccd6);}),_0x34a92a['push'](..._0x26292f);}return super[_0x24e02a(0x7d)](_0x34a92a,..._0x3f33d2['slice'](0x1));}}module['exports']=TestRunner;
1
+ 'use strict';function a22_0x3d02(){const _0x3fd355=['capabilities','7791yhdNON','testEnvironmentOptions','value','length','PPjIL','3016yYIgHI','default','../../../helpers/helper','freeze','parallels__','push','BSTACK_USER_JEST_RUNNER','2359179GEoowg','EroQV','jest-runner','serial__','1313379TmDUWp','env','284846LEtwNo','121286qiYoEn','1813836fggPqn','7638gEzGZR','forEach','OWrwk','__esModule','runTests','config','940IyhLmp','gfmDm','context'];a22_0x3d02=function(){return _0x3fd355;};return a22_0x3d02();}const a22_0x5db5a5=a22_0x5bf9;(function(_0x426292,_0x476be0){const _0x2fcbc6=a22_0x5bf9,_0x173811=_0x426292();while(!![]){try{const _0x1440d4=-parseInt(_0x2fcbc6(0x1f6))/0x1+parseInt(_0x2fcbc6(0x1f7))/0x2+-parseInt(_0x2fcbc6(0x1f4))/0x3+parseInt(_0x2fcbc6(0x1f8))/0x4+-parseInt(_0x2fcbc6(0x1ff))/0x5*(parseInt(_0x2fcbc6(0x1f9))/0x6)+parseInt(_0x2fcbc6(0x203))/0x7*(parseInt(_0x2fcbc6(0x208))/0x8)+parseInt(_0x2fcbc6(0x1f0))/0x9;if(_0x1440d4===_0x476be0)break;else _0x173811['push'](_0x173811['shift']());}catch(_0x54ebb6){_0x173811['push'](_0x173811['shift']());}}}(a22_0x3d02,0x3918f));function a22_0x5bf9(_0x5cae96,_0x1505d5){const _0x3d02c3=a22_0x3d02();return a22_0x5bf9=function(_0x5bf9b2,_0x311f65){_0x5bf9b2=_0x5bf9b2-0x1ee;let _0x4eaf00=_0x3d02c3[_0x5bf9b2];return _0x4eaf00;},a22_0x5bf9(_0x5cae96,_0x1505d5);}const {requireModule,isBrowserstackInfra}=require(a22_0x5db5a5(0x20a)),a22_0x176cb0={};a22_0x176cb0[a22_0x5db5a5(0x205)]=!![],Object['defineProperty'](exports,a22_0x5db5a5(0x1fc),a22_0x176cb0),exports[a22_0x5db5a5(0x209)]=void 0x0;function _interopRequireDefault(_0x1d3b72){const _0x4bc615=a22_0x5db5a5;return _0x1d3b72&&_0x1d3b72[_0x4bc615(0x1fc)]?_0x1d3b72:{'default':_0x1d3b72};};const runnerModule=process[a22_0x5db5a5(0x1f5)][a22_0x5db5a5(0x1ef)]||a22_0x5db5a5(0x1f2),JestRunner=_interopRequireDefault(requireModule(runnerModule))[a22_0x5db5a5(0x209)];class TestRunner extends JestRunner{constructor(..._0x9450df){super(..._0x9450df);}[a22_0x5db5a5(0x1fd)](..._0x419865){const _0x568c92=a22_0x5db5a5,_0x4ea448={'OWrwk':function(_0x5c0d39){return _0x5c0d39();},'EroQV':function(_0x53a808,_0x1fe136){return _0x53a808-_0x1fe136;},'axrpR':function(_0x1acac4,_0x3bdb12){return _0x1acac4*_0x3bdb12;},'PPjIL':function(_0x30d3e3,_0x1b93ac){return _0x30d3e3===_0x1b93ac;},'gfmDm':'false','WxYxI':function(_0x308598,_0x4c86e4){return _0x308598<_0x4c86e4;}};if(!_0x4ea448[_0x568c92(0x1fb)](isBrowserstackInfra))return super[_0x568c92(0x1fd)](..._0x419865);const _0x2f60aa=_0x419865[0x0],_0x3f6658=_0x419865[_0x4ea448[_0x568c92(0x1f1)](_0x419865['length'],0x1)],_0x1867ba=_0x2f60aa[0x0]['context']['config']['testEnvironmentOptions'][_0x568c92(0x202)],_0x311bf5=_0x2f60aa[0x0][_0x568c92(0x201)][_0x568c92(0x1fe)][_0x568c92(0x204)][_0x568c92(0x20c)];_0x311bf5&&(this['_globalConfig']=Object['freeze']({...this['_globalConfig'],'maxWorkers':_0x4ea448['axrpR'](_0x311bf5,_0x1867ba[_0x568c92(0x206)])}));_0x4ea448[_0x568c92(0x207)](_0x2f60aa[0x0][_0x568c92(0x201)][_0x568c92(0x1fe)]['testEnvironmentOptions'][_0x568c92(0x1f3)],_0x4ea448[_0x568c92(0x200)])&&(_0x3f6658&&(_0x3f6658['serial']=![]));const _0x420ba2=[];for(let _0x5c7359=0x0;_0x4ea448['WxYxI'](_0x5c7359,_0x2f60aa['length']);_0x5c7359++){const _0x4f0ad2=[];_0x1867ba[_0x568c92(0x1fa)]((_0x2992a0,_0x6de0f1)=>{const _0x506e32=_0x568c92,_0x41b79d={..._0x2f60aa[_0x5c7359]},_0x58303b=_0x41b79d;_0x58303b[_0x506e32(0x201)]=Object[_0x506e32(0x20b)]({..._0x58303b[_0x506e32(0x201)],'config':{..._0x58303b[_0x506e32(0x201)]['config'],'capability':_0x2992a0,'browserstackPlatformIndex':_0x6de0f1}}),_0x4f0ad2[_0x506e32(0x1ee)](_0x58303b);}),_0x420ba2[_0x568c92(0x1ee)](..._0x4f0ad2);}return super[_0x568c92(0x1fd)](_0x420ba2,..._0x419865['slice'](0x1));}}module['exports']=TestRunner;