browserstack-node-sdk 1.60.0 → 1.60.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 (216) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  56. package/src/bin/jasmine/command.js +1 -1
  57. package/src/bin/jasmine/test.setup.js +1 -1
  58. package/src/bin/jasmine/testRunMap.js +1 -1
  59. package/src/bin/jest/command.js +1 -1
  60. package/src/bin/jest/customImplements/customCircus.js +1 -1
  61. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  62. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  63. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  64. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  65. package/src/bin/jest/jest.setup.js +1 -1
  66. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  67. package/src/bin/jest/test-observability/helper.js +1 -1
  68. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  69. package/src/bin/jest/test-observability/test-details.js +1 -1
  70. package/src/bin/jest/test.setup.js +1 -1
  71. package/src/bin/jest/test_before.setup.js +1 -1
  72. package/src/bin/launcher/launcher.js +1 -1
  73. package/src/bin/load/index.js +1 -1
  74. package/src/bin/load/loadUtils.js +1 -1
  75. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  76. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  77. package/src/bin/mocha/command.js +1 -1
  78. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  79. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  80. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  81. package/src/bin/mocha/test.setup.js +1 -1
  82. package/src/bin/newman/command.js +1 -1
  83. package/src/bin/newman/helper.js +1 -1
  84. package/src/bin/newman/reporter/index.js +1 -1
  85. package/src/bin/newman/scriptRunner.js +1 -1
  86. package/src/bin/nightwatch/command.js +1 -1
  87. package/src/bin/playwright/accessibility-helper.js +1 -1
  88. package/src/bin/playwright/command.js +1 -1
  89. package/src/bin/playwright/globalSetup.js +1 -1
  90. package/src/bin/playwright/mock-process.js +1 -1
  91. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  92. package/src/bin/playwright/patches.js +1 -1
  93. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  94. package/src/bin/playwright/reporter/reporter.js +1 -1
  95. package/src/bin/playwright/reporter/test-details.js +1 -1
  96. package/src/bin/playwright/sessionDetails.js +1 -1
  97. package/src/bin/puppeteer/patches.js +1 -1
  98. package/src/bin/puppeteer/sessionDetails.js +1 -1
  99. package/src/bin/puppeteer/test.setup.js +1 -1
  100. package/src/bin/runner.js +1 -1
  101. package/src/bin/setup.js +1 -1
  102. package/src/bin/test-runner/index.js +1 -1
  103. package/src/bin/test-runner/runTest.js +1 -1
  104. package/src/bin/test-runner/testWorker.js +1 -1
  105. package/src/bin/testcafe/a11y-runner.js +1 -1
  106. package/src/bin/testcafe/command.js +1 -1
  107. package/src/bin/testcafe/reporter/index.js +1 -1
  108. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  109. package/src/bin/testcafe/session-registry.js +1 -1
  110. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  111. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  112. package/src/bin/testcafe/w3c-driver.js +1 -1
  113. package/src/bin/utils/apiUtilityMethods.js +1 -1
  114. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  115. package/src/bin/utils/constants.js +1 -1
  116. package/src/bin/utils/log4jsAppender.js +1 -1
  117. package/src/bin/utils/logPatcher.js +1 -1
  118. package/src/bin/utils/logReportingAPI.js +1 -1
  119. package/src/bin/utils/playwright-patcher.js +1 -1
  120. package/src/bin/utils/puppeteer-patcher.js +1 -1
  121. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  122. package/src/bin/utils/sharedUtils.js +1 -1
  123. package/src/bin/v2/TestInfo.js +1 -1
  124. package/src/bin/v2/browserstackCLI.js +1 -1
  125. package/src/bin/v2/cliUtils.js +1 -1
  126. package/src/bin/v2/customTagManager.js +1 -1
  127. package/src/bin/v2/eventDispatcher.js +1 -1
  128. package/src/bin/v2/framework/automationFramework.js +1 -1
  129. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  130. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  131. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  132. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  133. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  134. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  135. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  136. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  137. package/src/bin/v2/framework/testFramework.js +1 -1
  138. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  139. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  140. package/src/bin/v2/grpcClient.js +1 -1
  141. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  142. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  143. package/src/bin/v2/instances/trackedContext.js +1 -1
  144. package/src/bin/v2/instances/trackedInstance.js +1 -1
  145. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  146. package/src/bin/v2/modules/baseModule.js +1 -1
  147. package/src/bin/v2/modules/loadTestModule.js +1 -1
  148. package/src/bin/v2/modules/observabilityModule.js +1 -1
  149. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  150. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  151. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  152. package/src/bin/v2/modules/testhubModule.js +1 -1
  153. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  154. package/src/bin/v2/state/hookState.js +1 -1
  155. package/src/bin/v2/state/testFrameworkState.js +1 -1
  156. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  157. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  158. package/src/bin/v2/utils/jest-utils.js +1 -1
  159. package/src/bin/vanilla-js/command.js +1 -1
  160. package/src/browserStackSdk.js +1 -1
  161. package/src/helpers/BrowserStackSetup.js +1 -1
  162. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  163. package/src/helpers/accessibility-automation/constants.js +1 -1
  164. package/src/helpers/accessibility-automation/helper.js +1 -1
  165. package/src/helpers/accessibility-automation/scripts.js +1 -1
  166. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  167. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  168. package/src/helpers/ats/constants.js +1 -1
  169. package/src/helpers/ats/helper.js +1 -1
  170. package/src/helpers/caCertHelper.js +1 -1
  171. package/src/helpers/capsMapping.js +1 -1
  172. package/src/helpers/central-scanner/constants.js +1 -1
  173. package/src/helpers/central-scanner/helpers.js +1 -1
  174. package/src/helpers/classLogger.js +1 -1
  175. package/src/helpers/driverInitErrorReporter.js +1 -1
  176. package/src/helpers/globals.js +1 -1
  177. package/src/helpers/helper.js +1 -1
  178. package/src/helpers/logger.js +1 -1
  179. package/src/helpers/metadata.js +1 -1
  180. package/src/helpers/patchHelper.js +1 -1
  181. package/src/helpers/patchHelpers.js +1 -1
  182. package/src/helpers/percy/Percy.js +1 -1
  183. package/src/helpers/percy/PercyBinary.js +1 -1
  184. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  185. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  186. package/src/helpers/percy/PercySDK.js +1 -1
  187. package/src/helpers/percy/index.js +1 -1
  188. package/src/helpers/percy/utils.js +1 -1
  189. package/src/helpers/performance/constants.js +1 -1
  190. package/src/helpers/performance/performance-tester.js +1 -1
  191. package/src/helpers/playwright-helper.js +1 -1
  192. package/src/helpers/processHelper.js +1 -1
  193. package/src/helpers/puppeteer-helper.js +1 -1
  194. package/src/helpers/request-spy.js +1 -1
  195. package/src/helpers/setKeepAlive.js +1 -1
  196. package/src/helpers/stackFrameUtils.js +1 -1
  197. package/src/helpers/test-observability/constants.js +1 -1
  198. package/src/helpers/test-observability/error-handler.js +1 -1
  199. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  200. package/src/helpers/test-observability/sessionHandler.js +1 -1
  201. package/src/helpers/test-observability/utils.js +1 -1
  202. package/src/helpers/test-orchestration/constants.js +1 -1
  203. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  204. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  205. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  206. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  207. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  208. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  209. package/src/helpers/testhub/constants.js +1 -1
  210. package/src/helpers/testhub/testhubHandler.js +1 -1
  211. package/src/helpers/testhub/utils.js +1 -1
  212. package/src/helpers/timeoutPromise.js +1 -1
  213. package/src/helpers/utilities.js +1 -1
  214. package/src/helpers/w3cMapping.js +1 -1
  215. package/src/hubAllocationMethods.js +1 -1
  216. package/src/index.js +1 -1
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a18_0x3252ed=a18_0x5250;(function(_0x3f9965,_0x4ae26f){const _0x3c955f=a18_0x5250,_0x4afd69=_0x3f9965();while(!![]){try{const _0x1ee5b1=parseInt(_0x3c955f(0xc8))/0x1*(parseInt(_0x3c955f(0xcc))/0x2)+parseInt(_0x3c955f(0xed))/0x3*(parseInt(_0x3c955f(0xd3))/0x4)+parseInt(_0x3c955f(0x194))/0x5*(parseInt(_0x3c955f(0x108))/0x6)+-parseInt(_0x3c955f(0xd9))/0x7*(parseInt(_0x3c955f(0x145))/0x8)+-parseInt(_0x3c955f(0x18f))/0x9*(parseInt(_0x3c955f(0x1b6))/0xa)+parseInt(_0x3c955f(0x12e))/0xb+-parseInt(_0x3c955f(0xd0))/0xc;if(_0x1ee5b1===_0x4ae26f)break;else _0x4afd69['push'](_0x4afd69['shift']());}catch(_0x2d307f){_0x4afd69['push'](_0x4afd69['shift']());}}}(a18_0x41c5,0x68e4d));const fs=require('fs'),path=require(a18_0x3252ed(0xeb)),util=require(a18_0x3252ed(0xd1)),{spawn}=require(a18_0x3252ed(0x14c)),logger=require(a18_0x3252ed(0x15f))[a18_0x3252ed(0x1ab)],{default:BrowserStackSetup}=require(a18_0x3252ed(0x121)),helper=require('../../helpers/helper'),utilities=require(a18_0x3252ed(0x19f)),constants=require(a18_0x3252ed(0x1b8)),accessibilityHelper=require(a18_0x3252ed(0xf2)),{updateTestRerunConfig}=require(a18_0x3252ed(0x165)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a18_0x3252ed(0x104)),TestDetails=require('./test-observability/test-details'),{getPercyOptions}=require('../../helpers/percy/utils'),TestHubHandler=require(a18_0x3252ed(0x18d)),testhubUtils=require('../../helpers/testhub/utils'),{FRAMEWORKS}=require(a18_0x3252ed(0x1a3)),PerformanceTester=require(a18_0x3252ed(0xdb)),PerformanceEvents=require('../../helpers/performance/constants')[a18_0x3252ed(0x14f)],TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a18_0x3252ed(0x17e)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x3252ed(0x180)),ClientTroubleShootingService=require(a18_0x3252ed(0xf6)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),getUserJestConfigs=async(_0x45a8ca,_0x14d327)=>{const _0x32497e=a18_0x3252ed,_0x1b010c={'Reoeg':_0x32497e(0xe4),'fmCYG':_0x32497e(0xe2),'QXOFn':function(_0x6cd23c,_0x3a79c0){return _0x6cd23c||_0x3a79c0;},'vhKPv':function(_0x47eda7,_0x1c320d){return _0x47eda7(_0x1c320d);},'cDOBL':_0x32497e(0x15a),'VHpmo':_0x32497e(0xbd),'OYNDZ':'mjs','XbuKR':_0x32497e(0x172),'rZnRx':_0x32497e(0xdf)};let _0x200b19;try{_0x200b19=helper[_0x32497e(0x1a8)](_0x1b010c[_0x32497e(0x155)],_0x1b010c['fmCYG']);}catch{const _0x23b629=helper['requireModule'](_0x1b010c['fmCYG']);_0x200b19={'default':async _0x5d8d7a=>{const _0x274885=_0x32497e,_0x5201aa=await _0x23b629[_0x274885(0x18b)](_0x5d8d7a,{});return _0x5201aa[_0x274885(0x195)];}};}const _0x1d6cc4=_0x14d327[_0x32497e(0xe8)](_0xe70a47=>_0xe70a47===_0x32497e(0x15d));if(!helper[_0x32497e(0x168)](_0x45a8ca['config'])){logger[_0x32497e(0x156)](_0x32497e(0xee)+_0x45a8ca[_0x32497e(0x195)]),process['env'][_0x32497e(0x164)]=_0x45a8ca[_0x32497e(0x195)];const _0x48d8b0=await(0x0,_0x200b19['default'])(path[_0x32497e(0x118)](_0x45a8ca[_0x32497e(0x195)]));return _0x14d327[_0x32497e(0x11a)](_0x1d6cc4,0x2),_0x1b010c[_0x32497e(0xbf)](_0x48d8b0,{});}const _0x15ff3c=_0x1b010c[_0x32497e(0xea)](require,path[_0x32497e(0xbe)](process[_0x32497e(0xc3)](),_0x1b010c[_0x32497e(0x196)]));if(_0x15ff3c[_0x32497e(0xbc)])return logger[_0x32497e(0x156)](_0x1b010c[_0x32497e(0x1ba)]),_0x15ff3c[_0x32497e(0xbc)];const _0xc40042=['js',_0x1b010c['OYNDZ'],_0x1b010c[_0x32497e(0x14e)],_0x1b010c['rZnRx'],'ts'];for(const _0x1b5325 of _0xc40042){const _0x332b74=path[_0x32497e(0xbe)](process[_0x32497e(0xc3)](),_0x32497e(0x14b)+_0x1b5325);if(fs[_0x32497e(0x18e)](_0x332b74)){process[_0x32497e(0x139)][_0x32497e(0x164)]=_0x332b74;const _0x2c97bf=await(0x0,_0x200b19[_0x32497e(0x147)])(_0x332b74);return _0x2c97bf;}}return{};},getSerial=(_0x39dc54,_0x5251db)=>{const _0x50ce98=a18_0x3252ed,_0x5a7777={};_0x5a7777[_0x50ce98(0x192)]=_0x50ce98(0x173),_0x5a7777[_0x50ce98(0x188)]=function(_0x334d58,_0x5d17bb){return _0x334d58>_0x5d17bb;},_0x5a7777[_0x50ce98(0x183)]=_0x50ce98(0x12c);const _0x1f67fb=_0x5a7777;let _0x5206cf=_0x1f67fb['YZWNv'];return _0x1f67fb[_0x50ce98(0x188)](_0x39dc54['length'],0x1)&&(!_0x5251db[_0x50ce98(0x148)]&&(helper[_0x50ce98(0x168)](_0x5251db['maxWorkers'])||_0x1f67fb['SSOJl'](_0x5251db['maxWorkers'],0x1)))&&(_0x5206cf=_0x1f67fb[_0x50ce98(0x183)]),_0x5206cf;},getMaxWorkers=(_0x515fc5,_0x26491d,_0x114765)=>{const _0x2a70ed=a18_0x3252ed,_0x5a355e={'MAerU':function(_0x539aa4,_0x2c70a7){return _0x539aa4(_0x2c70a7);}};let _0xef2546=0x1;if(!helper['isUndefined'](_0x26491d[_0x2a70ed(0xc5)]))_0xef2546=_0x5a355e[_0x2a70ed(0x1b7)](parseInt,_0x26491d[_0x2a70ed(0xc5)]);else{if(!helper[_0x2a70ed(0x168)](_0x515fc5[_0x2a70ed(0x17f)]))_0xef2546=_0x515fc5[_0x2a70ed(0x17f)];else!helper[_0x2a70ed(0x168)](_0x114765[_0x2a70ed(0x17f)])&&(_0xef2546=_0x114765[_0x2a70ed(0x17f)]);}return _0xef2546;};async function run(_0x5dae9c,_0x69d017,_0x482297){const _0x51b7ad=a18_0x3252ed,_0x4e0e87={'OQaqA':'error\x20removing\x20tcg\x20config\x20file','kIDuv':_0x51b7ad(0xbc),'RGxXM':function(_0x434136,_0x4e7a41){return _0x434136(_0x4e7a41);},'emmgK':_0x51b7ad(0x15b),'CTMpk':function(_0xdfd94d){return _0xdfd94d();},'CNqcf':function(_0x5cbb1c,_0x2ecca2,_0x33bfa7,_0x3dbfe3){return _0x5cbb1c(_0x2ecca2,_0x33bfa7,_0x3dbfe3);},'KtuhD':function(_0x51faf4,_0x595450,_0x27171e,_0x5043e9){return _0x51faf4(_0x595450,_0x27171e,_0x5043e9);},'tUJaa':function(_0x4bd977,_0x3b8db5){return _0x4bd977!=_0x3b8db5;},'bEIts':_0x51b7ad(0x173),'oYMxE':function(_0x348748,_0x482620,_0x145bb9){return _0x348748(_0x482620,_0x145bb9);},'Aczkq':_0x51b7ad(0xef),'YQrRh':function(_0x550033,_0x207a27){return _0x550033(_0x207a27);},'bhklR':_0x51b7ad(0x12c),'MLiDd':function(_0x56641d,_0x554b3f){return _0x56641d*_0x554b3f;},'Uytoi':function(_0x38af64,_0x3f74d3){return _0x38af64===_0x3f74d3;},'QvbDi':_0x51b7ad(0x105),'BIKtF':_0x51b7ad(0x119),'PUpCy':'customImplements','EcntV':_0x51b7ad(0x17c),'DrNqF':_0x51b7ad(0x1b4),'LRnlD':_0x51b7ad(0x154),'TlrWH':'customEnvironment.js','bmVKS':function(_0x5d3a22,_0x46c216){return _0x5d3a22!==_0x46c216;},'YRNLD':_0x51b7ad(0x1aa),'AuzIq':_0x51b7ad(0x13a),'WXeLW':'jest.setup.js','AvGQm':_0x51b7ad(0x17b),'wxvaj':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','vKwGS':_0x51b7ad(0x152),'ypIBN':_0x51b7ad(0x1a0),'XTAWg':function(_0x680284,_0x25b159){return _0x680284(_0x25b159);},'Zuntn':_0x51b7ad(0xf0),'DrcbN':_0x51b7ad(0xd4),'oAhAK':_0x51b7ad(0x1a7),'bLeGR':_0x51b7ad(0x171),'GdcfV':_0x51b7ad(0x111),'EywjH':_0x51b7ad(0x19c),'qtLaz':_0x51b7ad(0x184),'yGbJM':_0x51b7ad(0x103),'HFgTK':_0x51b7ad(0x16e),'leUVQ':function(_0x168a4c,_0x2f6535){return _0x168a4c&&_0x2f6535;},'NYodz':_0x51b7ad(0x11b),'aFoOu':_0x51b7ad(0x19d),'ljfOG':'puppeteer-core/package.json','wSbtB':_0x51b7ad(0x147),'UUrCs':_0x51b7ad(0x123),'regen':'@jest/core','AmSRL':_0x51b7ad(0x131),'OzKqM':function(_0x4d6e1f,_0x1803dd){return _0x4d6e1f>_0x1803dd;},'pfNog':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','lSiTp':_0x51b7ad(0x15d),'OsuSO':function(_0x4b6bb1,_0x1a37fc,_0x5595bd,_0x1c8834){return _0x4b6bb1(_0x1a37fc,_0x5595bd,_0x1c8834);},'FuuBQ':_0x51b7ad(0x159),'NGOkg':function(_0x180304,_0x123e97){return _0x180304===_0x123e97;},'CSyZQ':_0x51b7ad(0x179),'ngUau':_0x51b7ad(0xf4),'EYCDI':'close'},_0x440d1d=helper['getPackageVersion'](_0x4e0e87[_0x51b7ad(0x10e)]);global[_0x51b7ad(0x13c)]=!!_0x440d1d;const _0x307715=_0x4e0e87[_0x51b7ad(0xc7)](getPuppeteerVersion);global[_0x51b7ad(0x187)]=!!_0x307715;helper[_0x51b7ad(0xf3)]()?(await _0x482297[_0x51b7ad(0x160)](_0x5dae9c),await helper[_0x51b7ad(0x19e)](_0x482297[_0x51b7ad(0x195)])):await _0x482297['setupTCGAuth']();if(_0x440d1d)await _0x4e0e87[_0x51b7ad(0xf5)](checkPwandBootstrapCli,_0x440d1d,constants[_0x51b7ad(0xb9)][_0x51b7ad(0x151)],_0x482297);else _0x307715&&await _0x4e0e87[_0x51b7ad(0x10c)](checkPuppeteerAndBootstrapCli,_0x307715,constants[_0x51b7ad(0xb9)][_0x51b7ad(0x151)],_0x482297);!BrowserstackCLI['getInstance']()['isRunning']()&&await _0x482297[_0x51b7ad(0x144)]();if(!_0x482297[_0x51b7ad(0x195)])return;_0x4e0e87[_0x51b7ad(0x18c)](_0x482297[_0x51b7ad(0x195)][_0x51b7ad(0xc0)],null)?process[_0x51b7ad(0x139)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x482297[_0x51b7ad(0x195)][_0x51b7ad(0xc0)]:process[_0x51b7ad(0x139)][_0x51b7ad(0xfc)]=_0x4e0e87[_0x51b7ad(0x10d)];const _0x130024=new TestOrchestrationHandler(_0x482297[_0x51b7ad(0x195)]),_0x3cb515=await _0x4e0e87[_0x51b7ad(0x174)](getUserJestConfigs,_0x5dae9c,_0x69d017);logger[_0x51b7ad(0x156)](_0x4e0e87[_0x51b7ad(0x13e)]);const _0x29cab3=Object['assign']({},_0x3cb515);_0x29cab3[_0x51b7ad(0x134)]=Object['assign']({},_0x29cab3[_0x51b7ad(0x134)],{'server':helper['getHubUrl'](_0x482297[_0x51b7ad(0x195)]),'environment':_0x3cb515['testEnvironment']}),_0x29cab3[_0x51b7ad(0x134)][_0x51b7ad(0x18a)]=_0x4e0e87[_0x51b7ad(0xde)](getPercyOptions,_0x482297[_0x51b7ad(0x195)]);const _0x37e18b=helper[_0x51b7ad(0x13d)](_0x482297[_0x51b7ad(0x195)]);!helper[_0x51b7ad(0x168)](_0x482297[_0x51b7ad(0x195)][_0x51b7ad(0xe9)])&&(process[_0x51b7ad(0x139)][_0x51b7ad(0xfa)]=JSON[_0x51b7ad(0x142)](_0x482297[_0x51b7ad(0x195)][_0x51b7ad(0xe9)]));if(!BrowserstackCLI[_0x51b7ad(0x12f)]()['isRunning']()){const _0x5eb062=await TestHubHandler[_0x51b7ad(0x11d)](FRAMEWORKS[_0x51b7ad(0x151)],_0x482297);}const _0x2d0593=helper[_0x51b7ad(0x100)](_0x482297[_0x51b7ad(0x195)],_0x37e18b,constants[_0x51b7ad(0xb9)][_0x51b7ad(0x151)]);process[_0x51b7ad(0x139)][_0x51b7ad(0xca)]=JSON[_0x51b7ad(0x142)](_0x2d0593);let _0x41cb8c=_0x482297['config'][_0x51b7ad(0x146)];_0x41cb8c=_0x41cb8c||accessibilityHelper[_0x51b7ad(0x19a)](_0x482297[_0x51b7ad(0x195)]),process[_0x51b7ad(0x139)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x41cb8c,logger['debug']('[Jest\x20Command]\x20Accessibility\x20enabled:\x20'+_0x41cb8c+_0x51b7ad(0xc6)+BrowserstackCLI[_0x51b7ad(0x12f)]()['isRunning']());if(_0x440d1d)try{const _0x4528e0=_0x4e0e87[_0x51b7ad(0xc1)](checkAccessibilityPlatformConfig,_0x482297[_0x51b7ad(0x195)]);process[_0x51b7ad(0x139)][_0x51b7ad(0x11f)]=_0x4528e0?_0x4e0e87[_0x51b7ad(0x10d)]:_0x4e0e87['bhklR'],logger[_0x51b7ad(0x129)](_0x51b7ad(0x110)+_0x4528e0+_0x51b7ad(0x122)+process[_0x51b7ad(0x139)][_0x51b7ad(0x11f)]);}catch(_0x19a7b2){logger[_0x51b7ad(0x129)](_0x51b7ad(0xdd)+util[_0x51b7ad(0xfd)](_0x19a7b2));}_0x29cab3[_0x51b7ad(0x134)][_0x51b7ad(0x1a4)]=_0x2d0593,_0x29cab3[_0x51b7ad(0x134)]['serial__']=_0x4e0e87[_0x51b7ad(0x174)](getSerial,_0x2d0593,_0x5dae9c),_0x29cab3[_0x51b7ad(0x134)]['parallels__']=_0x4e0e87[_0x51b7ad(0xf5)](getMaxWorkers,_0x5dae9c,_0x482297[_0x51b7ad(0x195)],_0x3cb515),_0x29cab3[_0x51b7ad(0x134)][_0x51b7ad(0x1b1)]=_0x482297[_0x51b7ad(0x195)]['proxySettings'],_0x29cab3['testEnvironmentOptions'][_0x51b7ad(0x11e)]=_0x4e0e87[_0x51b7ad(0x16d)](_0x5dae9c['testTimeout'],0x1)||0x1388,_0x29cab3[_0x51b7ad(0x134)][_0x51b7ad(0x102)]=_0x482297[_0x51b7ad(0x195)][_0x51b7ad(0xe0)][_0x51b7ad(0x102)],_0x29cab3[_0x51b7ad(0x134)][_0x51b7ad(0x170)]=_0x482297['config'][_0x51b7ad(0xe0)][_0x51b7ad(0x170)],_0x29cab3[_0x51b7ad(0x134)]['browserStackLogLevel']=_0x482297[_0x51b7ad(0x195)][_0x51b7ad(0x177)],_0x29cab3[_0x51b7ad(0x134)][_0x51b7ad(0x133)]=_0x482297[_0x51b7ad(0x195)]['turboScaleUrl'],_0x29cab3[_0x51b7ad(0x134)][_0x51b7ad(0x13f)]=_0x482297[_0x51b7ad(0x195)][_0x51b7ad(0x182)];const _0x430ab9=helper['parseTestOrchestrationOptions'](_0x482297[_0x51b7ad(0x195)]);if(!helper[_0x51b7ad(0x16f)](_0x430ab9)){helper[_0x51b7ad(0x132)](_0x430ab9['retryTestsOnFailure'])&&(_0x29cab3[_0x51b7ad(0x134)][_0x51b7ad(0x1af)]=_0x430ab9[_0x51b7ad(0x19b)][_0x51b7ad(0x176)]);if(helper[_0x51b7ad(0x132)](_0x430ab9[_0x51b7ad(0x120)])&&helper[_0x51b7ad(0x132)](_0x430ab9[_0x51b7ad(0x120)]['workingDir'])){const _0x25a034={};_0x25a034[_0x51b7ad(0x198)]=_0x430ab9[_0x51b7ad(0x120)][_0x51b7ad(0xff)],_0x25a034['workingDir']=_0x430ab9['abortBuildOnFailure']['workingDir'],_0x29cab3[_0x51b7ad(0x134)][_0x51b7ad(0xc4)]=_0x25a034;}}let _0x187611='';_0x4e0e87[_0x51b7ad(0x137)](helper[_0x51b7ad(0x1a2)](),constants['PACKAGE_TYPE'][_0x51b7ad(0x186)])?_0x187611=_0x4e0e87['QvbDi']:_0x187611=_0x4e0e87[_0x51b7ad(0x128)];const _0x377d86=_0x187611,_0x4e0107=path[_0x51b7ad(0xbe)](__dirname,_0x4e0e87[_0x51b7ad(0x135)],_0x4e0e87[_0x51b7ad(0x117)]),_0x39fdc6=path['join'](__dirname,_0x4e0e87[_0x51b7ad(0x135)],_0x4e0e87[_0x51b7ad(0xd8)]),_0x10f2af=path[_0x51b7ad(0xbe)](__dirname,_0x4e0e87[_0x51b7ad(0x135)],_0x4e0e87[_0x51b7ad(0x158)]);_0x29cab3[_0x51b7ad(0xdc)]&&(process['env'][_0x51b7ad(0xcd)]=_0x29cab3['testEnvironment']);_0x29cab3[_0x51b7ad(0xdc)]=path['join'](__dirname,_0x4e0e87[_0x51b7ad(0x135)],_0x4e0e87[_0x51b7ad(0xbb)]);const _0x4cdd00=_0x3cb515['runner'];if(_0x4cdd00&&_0x4e0e87['bmVKS'](_0x4cdd00,_0x4e0e87[_0x51b7ad(0xfb)])){const _0x3d719c=_0x4cdd00['startsWith'](_0x4e0e87[_0x51b7ad(0x1b2)])?_0x4cdd00:'jest-runner-'+_0x4cdd00;process[_0x51b7ad(0x139)][_0x51b7ad(0x1ac)]=_0x3d719c,logger[_0x51b7ad(0x156)](_0x51b7ad(0x11c)+_0x3d719c);}_0x29cab3[_0x51b7ad(0x189)]=_0x39fdc6,_0x29cab3[_0x51b7ad(0x197)]=_0x29cab3[_0x51b7ad(0x197)]||[],_0x29cab3[_0x51b7ad(0x197)]['push'](path[_0x51b7ad(0xbe)](__dirname,_0x4e0e87[_0x51b7ad(0x13b)]));_0x130024[_0x51b7ad(0xf9)]()&&(_0x29cab3[_0x51b7ad(0x1b5)]=path[_0x51b7ad(0xbe)](__dirname,_0x4e0e87[_0x51b7ad(0x135)],_0x4e0e87[_0x51b7ad(0x193)]));if(testhubUtils[_0x51b7ad(0x136)]()||BrowserstackCLI[_0x51b7ad(0x12f)]()[_0x51b7ad(0xe1)]()){let _0x370832=null;try{_0x370832=helper[_0x51b7ad(0x1a8)](_0x4e0e87['wxvaj'],_0x4e0e87[_0x51b7ad(0x14d)]);}catch(_0x110f06){try{_0x370832=helper[_0x51b7ad(0x1a8)](_0x4e0e87[_0x51b7ad(0x153)],_0x4e0e87['vKwGS']);}catch(_0xb75afe){_0x4e0e87[_0x51b7ad(0x17a)](debug,'Unable\x20to\x20find\x20jest-circus,\x20'+_0xb75afe);}}_0x370832&&(testhubUtils['shouldProcessEventForTesthub']()&&_0x29cab3[_0x51b7ad(0x197)]['push'](path[_0x51b7ad(0xbe)](__dirname,_0x4e0e87[_0x51b7ad(0x163)],_0x4e0e87[_0x51b7ad(0x112)])),_0x29cab3[_0x51b7ad(0x1b3)]=path['join'](__dirname,_0x4e0e87[_0x51b7ad(0x135)],_0x4e0e87[_0x51b7ad(0x15e)]));}_0x29cab3[_0x51b7ad(0x150)]=_0x29cab3[_0x51b7ad(0x150)]||[];try{helper[_0x51b7ad(0xce)](),_0x29cab3[_0x51b7ad(0x150)][_0x51b7ad(0x1ad)](path[_0x51b7ad(0xbe)](__dirname,_0x4e0e87[_0x51b7ad(0xcb)]));}catch{logger[_0x51b7ad(0x129)](_0x4e0e87[_0x51b7ad(0x175)]);}try{helper[_0x51b7ad(0x1b0)]['apply'](null,[_0x4e0e87['emmgK'],_0x4e0e87[_0x51b7ad(0xf1)]]),logger[_0x51b7ad(0x129)](_0x4e0e87[_0x51b7ad(0x130)]),_0x29cab3['setupFiles'][_0x51b7ad(0x1ad)](path[_0x51b7ad(0xbe)](__dirname,_0x4e0e87[_0x51b7ad(0x167)]));}catch(_0x4c9468){logger[_0x51b7ad(0x129)](_0x4e0e87['HFgTK'],_0x4c9468);}if(_0x4e0e87[_0x51b7ad(0x1a1)](!_0x440d1d,_0x307715)){try{logger[_0x51b7ad(0x129)](_0x4e0e87['NYodz']),_0x29cab3[_0x51b7ad(0x150)][_0x51b7ad(0x1ad)](path[_0x51b7ad(0xbe)](__dirname,'..',_0x4e0e87[_0x51b7ad(0xf8)],_0x4e0e87[_0x51b7ad(0x167)]));}catch(_0x2fcf0a){logger[_0x51b7ad(0x129)](_0x51b7ad(0x10b)+_0x2fcf0a[_0x51b7ad(0xe7)]);}try{const _0x735449=require[_0x51b7ad(0x118)](_0x4e0e87['ljfOG']),_0x4e4949=path[_0x51b7ad(0x162)](_0x735449)['replace'](/\\/g,'/'),_0x5ea926={};_0x5ea926[_0x51b7ad(0xda)]=_0x4e4949+_0x51b7ad(0xe3),_0x29cab3[_0x51b7ad(0x169)]=Object[_0x51b7ad(0xd7)]({},_0x29cab3[_0x51b7ad(0x169)]||{},_0x5ea926),logger[_0x51b7ad(0x129)](_0x51b7ad(0xf7)+_0x4e4949);}catch(_0x43aeaf){logger[_0x51b7ad(0x129)](_0x51b7ad(0x141)+_0x43aeaf['message']);}}_0x29cab3[_0x51b7ad(0x106)]=_0x29cab3[_0x51b7ad(0x106)]||[_0x4e0e87[_0x51b7ad(0xd5)]],_0x4e0e87[_0x51b7ad(0x174)](updateTestRerunConfig,_0x29cab3,_0x482297);const _0x5ab037=fs[_0x51b7ad(0x101)](_0x10f2af),_0x4fa351=helper['resolveModule'](_0x4e0e87[_0x51b7ad(0x161)],_0x4e0e87['regen']);!_0x4fa351['error']?fs[_0x51b7ad(0xcf)](_0x29cab3['runner'],_0x51b7ad(0xc2)+_0x5ab037+'\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'+_0x482297[_0x51b7ad(0x195)][_0x51b7ad(0x182)][_0x51b7ad(0x16a)]+_0x51b7ad(0x1a5)):fs[_0x51b7ad(0xcf)](_0x29cab3['runner'],_0x51b7ad(0xc2)+_0x5ab037+_0x51b7ad(0x12a)+_0x482297[_0x51b7ad(0x195)][_0x51b7ad(0x182)][_0x51b7ad(0x16a)]+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20');logger[_0x51b7ad(0x156)](_0x51b7ad(0x14a)+_0x377d86+_0x51b7ad(0xd2)),fs['writeFileSync'](_0x377d86,'const\x20config='+JSON[_0x51b7ad(0x142)](_0x29cab3)+_0x51b7ad(0x109));if(_0x130024[_0x51b7ad(0xf9)]()){logger[_0x51b7ad(0x129)](_0x4e0e87[_0x51b7ad(0xe6)]);const _0x20081a=await _0x130024[_0x51b7ad(0x185)](_0x29cab3,_0x69d017[_0x51b7ad(0x199)](0x1),_0x377d86);logger[_0x51b7ad(0x129)](_0x51b7ad(0x181)+JSON[_0x51b7ad(0x142)](_0x20081a)+'\x20test\x20files\x20to\x20run.');const _0x5d3c53=await _0x130024[_0x51b7ad(0x126)](_0x20081a);logger[_0x51b7ad(0x129)](_0x51b7ad(0x1a6)+JSON['stringify'](_0x5d3c53)),_0x5d3c53&&_0x4e0e87[_0x51b7ad(0x138)](_0x5d3c53['length'],0x0)&&(process[_0x51b7ad(0x139)]['JEST_TEST_ORDER']=_0x5d3c53?.[_0x51b7ad(0xbe)](','));}logger[_0x51b7ad(0x156)](_0x4e0e87[_0x51b7ad(0xc9)]);testhubUtils[_0x51b7ad(0x136)]()&&TestDetails['setup']();helper[_0x51b7ad(0xe5)]({},_0x69d017),PerformanceTester['end'](PerformanceEvents[_0x51b7ad(0x125)]);const _0x45410f=[_0x4e0e87[_0x51b7ad(0x12b)],_0x4e0e87['lSiTp'],_0x377d86,..._0x69d017[_0x51b7ad(0x199)](0x1)];process[_0x51b7ad(0x139)][_0x51b7ad(0xec)]=process[_0x51b7ad(0x139)][_0x51b7ad(0xec)]||_0x4e0e87['kIDuv'];const _0x588b62=_0x4e0e87['OsuSO'](spawn,_0x4e0e87[_0x51b7ad(0x10f)],_0x45410f,{'shell':_0x4e0e87[_0x51b7ad(0x157)](process[_0x51b7ad(0x16c)],_0x4e0e87[_0x51b7ad(0x149)]),'stdio':_0x4e0e87[_0x51b7ad(0x1ae)],'env':Object['assign']({},process[_0x51b7ad(0x139)])});_0x588b62['on'](_0x4e0e87['EYCDI'],async _0xa1607=>{const _0x5ebfc4=_0x51b7ad;PerformanceTester[_0x5ebfc4(0x143)](PerformanceEvents[_0x5ebfc4(0x15c)]);try{const {browserstackFolderPath:_0x302cb3,tcgConfigPath:_0x4ee024}=helper[_0x5ebfc4(0xfe)]();fs[_0x5ebfc4(0x191)](_0x4ee024),fs[_0x5ebfc4(0x166)](_0x302cb3);}catch(_0x18268f){logger[_0x5ebfc4(0x129)](_0x4e0e87[_0x5ebfc4(0x1b9)],_0x18268f);}process[_0x5ebfc4(0x113)]=_0xa1607,logger[_0x5ebfc4(0x129)]('child\x20process\x20exited\x20with\x20code\x20'+_0xa1607),logger[_0x5ebfc4(0x156)]('Deleting\x20'+_0x377d86);if(helper[_0x5ebfc4(0x132)](_0x430ab9)&&helper[_0x5ebfc4(0x132)](_0x430ab9[_0x5ebfc4(0x120)])&&fs[_0x5ebfc4(0x18e)](_0x430ab9['abortBuildOnFailure'][_0x5ebfc4(0x17d)]))try{const _0x47eb61={};_0x47eb61[_0x5ebfc4(0x1a9)]=!![],_0x47eb61['force']=!![],fs[_0x5ebfc4(0x115)](_0x430ab9[_0x5ebfc4(0x120)][_0x5ebfc4(0x17d)],_0x47eb61),logger[_0x5ebfc4(0x129)](_0x5ebfc4(0x127)+_0x430ab9[_0x5ebfc4(0x120)][_0x5ebfc4(0x17d)]);}catch(_0x91688){logger[_0x5ebfc4(0x124)](_0x5ebfc4(0x116)+_0x91688);}let _0x13b61d=null;if(fs[_0x5ebfc4(0x18e)](_0x4e0107)){_0x13b61d=fs[_0x5ebfc4(0x101)](_0x4e0107);try{_0x13b61d=JSON[_0x5ebfc4(0xd6)](_0x13b61d);}catch(_0x44640e){logger[_0x5ebfc4(0x129)](_0x5ebfc4(0xba)+_0x4e0107+',\x20'+_0x13b61d+'\x20:\x20'+_0x44640e);}fs[_0x5ebfc4(0x191)](_0x4e0107);}fs[_0x5ebfc4(0x191)](_0x377d86),fs[_0x5ebfc4(0x191)](_0x39fdc6),_0x13b61d&&(_0x482297[_0x5ebfc4(0x114)]=helper[_0x5ebfc4(0x107)](_0x13b61d,_0x4e0e87['kIDuv'],_0x482297));const _0x39722c=BrowserstackCLI[_0x5ebfc4(0x12d)]();try{await TestHubHandler[_0x5ebfc4(0x140)](),await BrowserstackCLI[_0x5ebfc4(0x12f)]()[_0x5ebfc4(0x140)]();}catch(_0x51942b){console['log'](_0x51942b),_0x4e0e87[_0x5ebfc4(0xde)](debug,_0x5ebfc4(0x10a)+util[_0x5ebfc4(0xfd)](_0x51942b));}testOpsHelper[_0x5ebfc4(0x16b)](),TestDetails[_0x5ebfc4(0x178)](),await utilities[_0x5ebfc4(0x190)](_0x482297,_0x39722c);});}function a18_0x5250(_0xd8896c,_0x5ca754){const _0x41c547=a18_0x41c5();return a18_0x5250=function(_0x52509a,_0x33e817){_0x52509a=_0x52509a-0xb9;let _0x4b9918=_0x41c547[_0x52509a];return _0x4b9918;},a18_0x5250(_0xd8896c,_0x5ca754);}module['exports']=run;function a18_0x41c5(){const _0xd99089=['getInstance','qtLaz','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','isNotUndefined','turboScaleUrl','testEnvironmentOptions','PUpCy','shouldProcessEventForTesthub','Uytoi','OzKqM','env','jest-runner-','WXeLW','__isPlaywrightInstalled','useW3C','Aczkq','platformCaps','stop','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','stringify','start','setupBrowserstackLocal','8UzIvHZ','accessibility','default','runInBand','CSyZQ','Creating\x20','jest.config.','child_process','vKwGS','XbuKR','EVENTS','setupFiles','JEST','jest-circus','ypIBN','customTestRunnerTemplate.js','Reoeg','info','NGOkg','LRnlD','npx','package.json','@playwright/test','SDK_CLEANUP','--config','oAhAK','../../helpers/logger','initialize','UUrCs','dirname','Zuntn','USER_CONFIG_DETAILS_PATH','./test-observability/helper','rmdirSync','yGbJM','isUndefined','moduleNameMapper','length','printBuildLink','platform','MLiDd','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','isEmpty','skipSessionStatus','test_before.setup.js','cjs','true','oYMxE','GdcfV','maxRetries','logLevel','shutdown','win32','XTAWg','customSequencer.js','jest_browserstack_results.json','workingDir','../../helpers/playwright-helper','maxWorkers','../../helpers/puppeteer-helper','Found:\x20','platforms','rXHOZ','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','findTestFiles','MODULE','__isPuppeteerInstalled','SSOJl','runner','browserStackPercyOptions','readInitialOptions','tUJaa','../../helpers/testhub/testhubHandler','existsSync','54FfIsZJ','finalExecution','unlinkSync','YZWNv','AvGQm','7745eVyEKR','config','cDOBL','setupFilesAfterEnv','failureThresholdCount','slice','checkAccessibilityPlatformConfig','retryTestsOnFailure','playwright','puppeteer','handleApp','../../helpers/utilities','jest-circus/build/runner.js','leUVQ','getPackageType','../../helpers/test-observability/constants','capabilities',';\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','Reodered\x20Test\x20Files:\x20','customCircus.js','requireModule','recursive','jest-runner','winstonLogger','BSTACK_USER_JEST_RUNNER','push','ngUau','retries__','requirePWModule','proxySettings','AuzIq','testRunner','customTestRunner.js','testSequencer','1094530qrIWwu','MAerU','../utils/constants','OQaqA','VHpmo','FRAMEWORKS','Error\x20while\x20parsing\x20','TlrWH','jest','Getting\x20your\x20jest\x20configs\x20from\x20package.json','join','QXOFn','testObservability','YQrRh','\x0a\x20\x20\x20\x20\x20\x20','cwd','failFast','parallelsPerPlatform',',\x20CLI\x20running:\x20','CTMpk','784353gmiAAp','pfNog','BROWSERSTACK_CAPABILITIES','bLeGR','2MvytYP','BSTACK_JEST_TEST_ENV','requireSeleniumWebdriver','writeFileSync','8344200cBTlOt','util','\x20with\x20browserstack\x20jest\x20configs','2060336Yqymxd','data-hooks.js','wSbtB','parse','assign','DrNqF','1582098rVjojt','^puppeteer-core/internal/(.*)','../../helpers/performance/performance-tester','testEnvironment','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','RGxXM','json','testContextOptions','isCliEnabled','jest-config','/internal/$1','jest-config/build/readConfigFileAndSetRootDir.js','filterBrowserstackArgs','AmSRL','message','findIndex','accessibilityOptions','vhKPv','path','BROWSERSTACK_FRAMEWORK','3OYdfwp','Getting\x20your\x20jest\x20configs\x20from\x20','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','test-observability','EywjH','../../helpers/accessibility-automation/helper','isBrowserstackInfra','inherit','CNqcf','../utils/clientTroubleshootingService','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','aFoOu','isTestOrchestrationEnabled','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','YRNLD','BROWSERSTACK_TEST_OBSERVABILITY_YML','format','getTCGConfigFilePaths','maxFailures','prepareCapabilities','readFileSync','skipSessionName','test.setup.js','../../helpers/test-observability/utils','jest_browserstack.config.cjs','reporters','getErrorMessageFromResults','30ALTeHC','\x0amodule.exports\x20=\x20config;','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','Puppeteer\x20setup\x20error:\x20','KtuhD','bEIts','emmgK','FuuBQ','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','DrcbN','exitCode','errorMessage','rmSync','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','EcntV','resolve','jest_browserstack.config.js','splice','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','Preserving\x20user\x27s\x20Jest\x20runner:\x20','launchBuild','timeout__','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','abortBuildOnFailure','../../helpers/BrowserStackSetup',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','@jest/core/build/ReporterDispatcher.js','error','SDK_SETUP','reorderTestFiles','Deleted\x20fail-fast\x20state\x20folder:\x20','BIKtF','debug','\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','kIDuv','false','isCLIEnabled','7705995VwndAT'];a18_0x41c5=function(){return _0xd99089;};return a18_0x41c5();}
2
+ 'use strict';const a18_0x5acaae=a18_0x3c46;(function(_0x554243,_0x26c0c6){const _0x2123fe=a18_0x3c46,_0x43f66d=_0x554243();while(!![]){try{const _0x17cd99=parseInt(_0x2123fe(0x2d3))/0x1*(-parseInt(_0x2123fe(0x2a4))/0x2)+-parseInt(_0x2123fe(0x214))/0x3*(parseInt(_0x2123fe(0x1e3))/0x4)+parseInt(_0x2123fe(0x2b5))/0x5+-parseInt(_0x2123fe(0x200))/0x6+-parseInt(_0x2123fe(0x1e4))/0x7*(-parseInt(_0x2123fe(0x202))/0x8)+-parseInt(_0x2123fe(0x258))/0x9*(parseInt(_0x2123fe(0x1e5))/0xa)+parseInt(_0x2123fe(0x2b7))/0xb*(parseInt(_0x2123fe(0x281))/0xc);if(_0x17cd99===_0x26c0c6)break;else _0x43f66d['push'](_0x43f66d['shift']());}catch(_0x1269ec){_0x43f66d['push'](_0x43f66d['shift']());}}}(a18_0x2145,0xe7974));function a18_0x3c46(_0x33f391,_0x38b569){const _0x21458b=a18_0x2145();return a18_0x3c46=function(_0x3c46f7,_0x207af0){_0x3c46f7=_0x3c46f7-0x1df;let _0x4777bb=_0x21458b[_0x3c46f7];return _0x4777bb;},a18_0x3c46(_0x33f391,_0x38b569);}function a18_0x2145(){const _0xff3d46=['aQZGG','getTCGConfigFilePaths','getPackageVersion','jest_browserstack_results.json','debug','USER_CONFIG_DETAILS_PATH','parallels__','../../helpers/logger','unlinkSync','dirname','13508LqqniY','bYESk','browserStackLogLevel','moduleNameMapper','aDKku','isCLIEnabled','tADtN','zeoPZ','cYpPb','checkAccessibilityPlatformConfig','findTestFiles','proxySettings','workingDir','serial__','JEST','initialize','XHCxz','2869620YYPnBU','FhOvB','20089124CVuazm','maxFailures','reorderTestFiles','Deleting\x20','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','../../helpers/helper','maxWorkers','isCliEnabled','Deleted\x20fail-fast\x20state\x20folder:\x20','--config','maxRetries','../../helpers/test-orchestration/testOrchestrationHandler','oVATT','launchBuild','setupBrowserstackLocal',',\x20CLI\x20running:\x20','customImplements','runInBand','printBuildLink','QgXAb','parallelsPerPlatform','BROWSERSTACK_TEST_OBSERVABILITY_YML','../../helpers/accessibility-automation/helper','../../helpers/performance/performance-tester','env','start','jest-config/build/readConfigFileAndSetRootDir.js','puppeteer-core/package.json','55ncBDUw','dLpzj','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','qZRzY','dTFec','capabilities','shouldProcessEventForTesthub','QOomA','filterBrowserstackArgs','qicwj','readInitialOptions','3168508VqHBZF','9168061qfUXhq','7940480zMdCxv','customCircus.js','/internal/$1','shutdown','jest-runner-','skipSessionStatus','log','testTimeout','MODULE','KQHzI','EdVFu','jest-circus/build/runner.js','testSequencer','useW3C','fCMZY','slice','vSzwK','length','../../helpers/testhub/utils','isEmpty','setupFilesAfterEnv','failureThresholdCount','util','info','default','end','test_before.setup.js','11027082wAniXp','LJEWt','8AlWVyd','const\x20config=','browserStackPercyOptions','SDK_CLEANUP','BSTACK_JEST_TEST_ENV','test.setup.js','requirePWModule','AWgLj','KEfFX','Lbidr','Error\x20while\x20parsing\x20','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','timeout__','retryTestsOnFailure','uBHJz','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','win32','6ijGxig','sUPtd','setup','mRAqc','recursive','ITwfx','getErrorMessageFromResults','message','HnHGU','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','exitCode','puppeteer','path','CKdvs','customSequencer.js','DlxwN','EVENTS','testEnvironment','error\x20removing\x20tcg\x20config\x20file','NgGvd','isRunning','apply','aPsvh','Creating\x20','jest','BROWSERSTACK_TEST_ACCESSIBILITY_YML','force','test-observability','UTYQk','wKsFa','retries__','jest_browserstack.config.js','isTestOrchestrationEnabled','dsqKB','stop','\x0amodule.exports\x20=\x20config;','push','false','\x20with\x20browserstack\x20jest\x20configs','__isPuppeteerInstalled','config','../../helpers/testhub/testhubHandler','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','getHubUrl','../../helpers/test-observability/constants',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','getInstance','abortBuildOnFailure','\x20test\x20files\x20to\x20run.','HJBFD','accessibility','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','ZzYzt','join','assign','cwd','inherit','@playwright/test','jest-circus','requireSeleniumWebdriver','../../helpers/test-observability/utils','../utils/constants','kaYYR','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','isNotUndefined','logLevel','lIzXt','9yOKNTr','../utils/clientTroubleshootingService','accessibilityOptions','Preserving\x20user\x27s\x20Jest\x20runner:\x20','Reodered\x20Test\x20Files:\x20','SDK_SETUP','skipSessionName',';\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','data-hooks.js','Getting\x20your\x20jest\x20configs\x20from\x20package.json','__isPlaywrightInstalled','json','startsWith','format','setupTCGAuth','resolve','oqTHU','turboScaleUrl','MxsFy','testContextOptions','lLFlg','isUndefined','findIndex','rmdirSync','PACKAGE_TYPE','xuuAM','close','mjs','finalExecution','readFileSync','testObservability','BROWSERSTACK_CAPABILITIES','NJSTi','replace','../../helpers/percy/utils','CQteF','xGLYa','giCbJ','requireModule','zWoux','isBrowserstackInfra','24LcJAgD','CbiZY','runner','sRLpX','platformCaps','writeFileSync','error','stringify','\x0a\x20\x20\x20\x20\x20\x20','setupFiles','^puppeteer-core/internal/(.*)','true','existsSync','Puppeteer\x20setup\x20error:\x20','jest-config','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','./test-observability/helper','jest.config.','testEnvironmentOptions','tgRCN','DSRlr','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','../../helpers/puppeteer-helper','platforms','Found:\x20'];a18_0x2145=function(){return _0xff3d46;};return a18_0x2145();}const fs=require('fs'),path=require(a18_0x5acaae(0x220)),util=require(a18_0x5acaae(0x1fb)),{spawn}=require('child_process'),logger=require(a18_0x5acaae(0x2a1))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a18_0x5acaae(0x2bc)),utilities=require('../../helpers/utilities'),constants=require(a18_0x5acaae(0x252)),accessibilityHelper=require(a18_0x5acaae(0x2cd)),{updateTestRerunConfig}=require(a18_0x5acaae(0x291)),testOpsHelper=require(a18_0x5acaae(0x251)),{debug}=require('../../helpers/test-observability/utils'),TestDetails=require('./test-observability/test-details'),{getPercyOptions}=require(a18_0x5acaae(0x27a)),TestHubHandler=require(a18_0x5acaae(0x23d)),testhubUtils=require(a18_0x5acaae(0x1f7)),{FRAMEWORKS}=require(a18_0x5acaae(0x240)),PerformanceTester=require(a18_0x5acaae(0x2ce)),PerformanceEvents=require('../../helpers/performance/constants')[a18_0x5acaae(0x224)],TestOrchestrationHandler=require(a18_0x5acaae(0x2c2)),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x5acaae(0x297)),ClientTroubleShootingService=require(a18_0x5acaae(0x259)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),getUserJestConfigs=async(_0x421651,_0x223998)=>{const _0x231022=a18_0x5acaae,_0x4b5d16={'giCbJ':_0x231022(0x2d1),'IDAHv':_0x231022(0x28f),'KQHzI':function(_0x4c2b05,_0x1707a0){return _0x4c2b05||_0x1707a0;},'kaYYR':function(_0x468183,_0x5af071){return _0x468183(_0x5af071);},'qZRzY':'package.json','dTFec':_0x231022(0x261),'fCMZY':_0x231022(0x273),'oVATT':'cjs','vNsGq':_0x231022(0x263)};let _0x50bfa0;try{_0x50bfa0=helper[_0x231022(0x27e)](_0x4b5d16[_0x231022(0x27d)],_0x4b5d16['IDAHv']);}catch{const _0x1480b9=helper[_0x231022(0x27e)](_0x4b5d16['IDAHv']);_0x50bfa0={'default':async _0x160bad=>{const _0x20ad2d=_0x231022,_0x4fc060=await _0x1480b9[_0x20ad2d(0x1e2)](_0x160bad,{});return _0x4fc060[_0x20ad2d(0x23c)];}};}const _0x5854e5=_0x223998[_0x231022(0x26e)](_0x24bc83=>_0x24bc83===_0x231022(0x2c0));if(!helper[_0x231022(0x26d)](_0x421651['config'])){logger[_0x231022(0x1fc)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x421651[_0x231022(0x23c)]),process[_0x231022(0x2cf)][_0x231022(0x29f)]=_0x421651['config'];const _0x5ad1d0=await(0x0,_0x50bfa0[_0x231022(0x1fd)])(path['resolve'](_0x421651[_0x231022(0x23c)]));return _0x223998['splice'](_0x5854e5,0x2),_0x4b5d16[_0x231022(0x1ee)](_0x5ad1d0,{});}const _0x57d1d5=_0x4b5d16[_0x231022(0x253)](require,path[_0x231022(0x24a)](process[_0x231022(0x24c)](),_0x4b5d16[_0x231022(0x2d7)]));if(_0x57d1d5[_0x231022(0x22c)])return logger['info'](_0x4b5d16[_0x231022(0x2d8)]),_0x57d1d5['jest'];const _0x1de8d1=['js',_0x4b5d16[_0x231022(0x1f3)],_0x4b5d16[_0x231022(0x2c3)],_0x4b5d16['vNsGq'],'ts'];for(const _0x3f0a91 of _0x1de8d1){const _0x219fb5=path[_0x231022(0x24a)](process[_0x231022(0x24c)](),_0x231022(0x292)+_0x3f0a91);if(fs['existsSync'](_0x219fb5)){process['env']['USER_CONFIG_DETAILS_PATH']=_0x219fb5;const _0x331885=await(0x0,_0x50bfa0[_0x231022(0x1fd)])(_0x219fb5);return _0x331885;}}return{};},getSerial=(_0x198d1b,_0x1e8028)=>{const _0x36092b=a18_0x5acaae,_0x5b635d={};_0x5b635d['wGpCV']=_0x36092b(0x28c),_0x5b635d['ITwfx']=function(_0x32bffc,_0x4d7f35){return _0x32bffc>_0x4d7f35;},_0x5b635d[_0x36092b(0x282)]=_0x36092b(0x239);const _0x88f175=_0x5b635d;let _0x13dfc5=_0x88f175['wGpCV'];return _0x88f175[_0x36092b(0x219)](_0x198d1b[_0x36092b(0x1f6)],0x1)&&(!_0x1e8028[_0x36092b(0x2c8)]&&(helper[_0x36092b(0x26d)](_0x1e8028[_0x36092b(0x2bd)])||_0x88f175[_0x36092b(0x219)](_0x1e8028[_0x36092b(0x2bd)],0x1)))&&(_0x13dfc5=_0x88f175[_0x36092b(0x282)]),_0x13dfc5;},getMaxWorkers=(_0xf350f5,_0x38e3b4,_0x4ffb48)=>{const _0x23459f=a18_0x5acaae,_0x439c97={'MxsFy':function(_0x3de08e,_0x2bd6ff){return _0x3de08e(_0x2bd6ff);}};let _0x503010=0x1;if(!helper[_0x23459f(0x26d)](_0x38e3b4[_0x23459f(0x2cb)]))_0x503010=_0x439c97[_0x23459f(0x26a)](parseInt,_0x38e3b4[_0x23459f(0x2cb)]);else{if(!helper[_0x23459f(0x26d)](_0xf350f5[_0x23459f(0x2bd)]))_0x503010=_0xf350f5[_0x23459f(0x2bd)];else!helper[_0x23459f(0x26d)](_0x4ffb48['maxWorkers'])&&(_0x503010=_0x4ffb48[_0x23459f(0x2bd)]);}return _0x503010;};async function run(_0x5351fe,_0x16fe16,_0x8ab65e){const _0x5150f1=a18_0x5acaae,_0x4283e1={'bYESk':_0x5150f1(0x226),'LJEWt':'jest','sUPtd':function(_0xf11c06,_0x30953c){return _0xf11c06(_0x30953c);},'CQteF':_0x5150f1(0x24e),'kJKNw':function(_0xc7d9f8){return _0xc7d9f8();},'cYpPb':function(_0x1f3fc7,_0xf6919d,_0x1a4b9e,_0x7a13a0){return _0x1f3fc7(_0xf6919d,_0x1a4b9e,_0x7a13a0);},'NgGvd':function(_0x3354b9,_0x48d7c3,_0x5230bd,_0x54eb2c){return _0x3354b9(_0x48d7c3,_0x5230bd,_0x54eb2c);},'hSecn':function(_0xbb2999,_0x4d6682){return _0xbb2999!=_0x4d6682;},'vSzwK':'true','tgRCN':function(_0x2f4746,_0x4a4167,_0x224469){return _0x2f4746(_0x4a4167,_0x224469);},'zAejo':'Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','KEfFX':'false','DlxwN':function(_0x199d3d,_0xecf543){return _0x199d3d*_0xecf543;},'mBnPd':function(_0x26917c,_0x544df1){return _0x26917c===_0x544df1;},'qicwj':'jest_browserstack.config.cjs','sRLpX':_0x5150f1(0x233),'zeoPZ':_0x5150f1(0x2c7),'lIzXt':_0x5150f1(0x29d),'tADtN':'customTestRunner.js','FhOvB':'customTestRunnerTemplate.js','TthrI':'customEnvironment.js','ZzYzt':function(_0x42dc27,_0x37ae61){return _0x42dc27!==_0x37ae61;},'dLpzj':'jest-runner','HJBFD':_0x5150f1(0x1e9),'aDKku':'jest.setup.js','wKsFa':_0x5150f1(0x222),'qhYXI':_0x5150f1(0x2d6),'Lbidr':_0x5150f1(0x24f),'NJSTi':_0x5150f1(0x1f0),'xGLYa':_0x5150f1(0x22f),'aQZGG':_0x5150f1(0x260),'mRAqc':_0x5150f1(0x1e6),'tkJib':_0x5150f1(0x1ff),'CKdvs':_0x5150f1(0x296),'AWgLj':'playwright','XHCxz':_0x5150f1(0x248),'xuuAM':_0x5150f1(0x207),'zYGah':_0x5150f1(0x254),'WUXin':function(_0x783ee4,_0x5bb991){return _0x783ee4&&_0x5bb991;},'aPsvh':_0x5150f1(0x2bb),'uBHJz':_0x5150f1(0x21f),'dsqKB':_0x5150f1(0x2d2),'EdVFu':_0x5150f1(0x1fd),'gglRj':'@jest/core/build/ReporterDispatcher.js','DSRlr':'@jest/core','QOomA':_0x5150f1(0x2d5),'UTYQk':function(_0x1a40f3,_0x5ed808){return _0x1a40f3>_0x5ed808;},'QgXAb':_0x5150f1(0x20d),'guoer':_0x5150f1(0x2c0),'oQFDu':'npx','lLFlg':function(_0x81d25f,_0x3e4bf1){return _0x81d25f===_0x3e4bf1;},'HnHGU':_0x5150f1(0x213),'oqTHU':_0x5150f1(0x24d),'zWoux':_0x5150f1(0x272)},_0x4bd492=helper[_0x5150f1(0x29c)](_0x4283e1[_0x5150f1(0x27b)]);global[_0x5150f1(0x262)]=!!_0x4bd492;const _0x39a3cc=_0x4283e1['kJKNw'](getPuppeteerVersion);global[_0x5150f1(0x23b)]=!!_0x39a3cc;helper[_0x5150f1(0x280)]()?(await _0x8ab65e[_0x5150f1(0x2b3)](_0x5351fe),await helper['handleApp'](_0x8ab65e[_0x5150f1(0x23c)])):await _0x8ab65e[_0x5150f1(0x266)]();if(_0x4bd492)await _0x4283e1[_0x5150f1(0x2ac)](checkPwandBootstrapCli,_0x4bd492,constants['FRAMEWORKS'][_0x5150f1(0x2b2)],_0x8ab65e);else _0x39a3cc&&await _0x4283e1[_0x5150f1(0x227)](checkPuppeteerAndBootstrapCli,_0x39a3cc,constants['FRAMEWORKS'][_0x5150f1(0x2b2)],_0x8ab65e);!BrowserstackCLI['getInstance']()[_0x5150f1(0x228)]()&&await _0x8ab65e[_0x5150f1(0x2c5)]();if(!_0x8ab65e[_0x5150f1(0x23c)])return;_0x4283e1['hSecn'](_0x8ab65e['config'][_0x5150f1(0x276)],null)?process['env'][_0x5150f1(0x2cc)]=_0x8ab65e['config'][_0x5150f1(0x276)]:process[_0x5150f1(0x2cf)][_0x5150f1(0x2cc)]=_0x4283e1[_0x5150f1(0x1f5)];const _0x55bebf=new TestOrchestrationHandler(_0x8ab65e['config']),_0x388d5d=await _0x4283e1['tgRCN'](getUserJestConfigs,_0x5351fe,_0x16fe16);logger['info'](_0x4283e1['zAejo']);const _0x14540d=Object[_0x5150f1(0x24b)]({},_0x388d5d);_0x14540d[_0x5150f1(0x293)]=Object[_0x5150f1(0x24b)]({},_0x14540d[_0x5150f1(0x293)],{'server':helper[_0x5150f1(0x23f)](_0x8ab65e['config']),'environment':_0x388d5d['testEnvironment']}),_0x14540d[_0x5150f1(0x293)][_0x5150f1(0x204)]=_0x4283e1[_0x5150f1(0x215)](getPercyOptions,_0x8ab65e[_0x5150f1(0x23c)]);const _0x258b2d=helper[_0x5150f1(0x1f2)](_0x8ab65e[_0x5150f1(0x23c)]);!helper[_0x5150f1(0x26d)](_0x8ab65e[_0x5150f1(0x23c)][_0x5150f1(0x25a)])&&(process[_0x5150f1(0x2cf)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x8ab65e['config'][_0x5150f1(0x25a)]));if(!BrowserstackCLI[_0x5150f1(0x243)]()[_0x5150f1(0x228)]()){const _0x4d98d1=await TestHubHandler[_0x5150f1(0x2c4)](FRAMEWORKS['JEST'],_0x8ab65e);}const _0x23f108=helper['prepareCapabilities'](_0x8ab65e['config'],_0x258b2d,constants['FRAMEWORKS'][_0x5150f1(0x2b2)]);process[_0x5150f1(0x2cf)][_0x5150f1(0x277)]=JSON[_0x5150f1(0x288)](_0x23f108);let _0x12b54f=_0x8ab65e[_0x5150f1(0x23c)][_0x5150f1(0x247)];_0x12b54f=_0x12b54f||accessibilityHelper[_0x5150f1(0x2ad)](_0x8ab65e[_0x5150f1(0x23c)]),process[_0x5150f1(0x2cf)][_0x5150f1(0x22d)]=_0x12b54f,logger[_0x5150f1(0x29e)]('[Jest\x20Command]\x20Accessibility\x20enabled:\x20'+_0x12b54f+_0x5150f1(0x2c6)+BrowserstackCLI[_0x5150f1(0x243)]()[_0x5150f1(0x228)]());if(_0x4bd492)try{const _0x15419a=_0x4283e1[_0x5150f1(0x215)](checkAccessibilityPlatformConfig,_0x8ab65e[_0x5150f1(0x23c)]);process[_0x5150f1(0x2cf)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x15419a?_0x4283e1[_0x5150f1(0x1f5)]:_0x4283e1[_0x5150f1(0x20a)],logger['debug'](_0x5150f1(0x242)+_0x15419a+_0x5150f1(0x241)+process[_0x5150f1(0x2cf)][_0x5150f1(0x21d)]);}catch(_0x1b421a){logger[_0x5150f1(0x29e)](_0x5150f1(0x23e)+util['format'](_0x1b421a));}_0x14540d[_0x5150f1(0x293)][_0x5150f1(0x2d9)]=_0x23f108,_0x14540d[_0x5150f1(0x293)][_0x5150f1(0x2b1)]=_0x4283e1['tgRCN'](getSerial,_0x23f108,_0x5351fe),_0x14540d[_0x5150f1(0x293)][_0x5150f1(0x2a0)]=_0x4283e1[_0x5150f1(0x227)](getMaxWorkers,_0x5351fe,_0x8ab65e['config'],_0x388d5d),_0x14540d[_0x5150f1(0x293)][_0x5150f1(0x2af)]=_0x8ab65e[_0x5150f1(0x23c)][_0x5150f1(0x2af)],_0x14540d[_0x5150f1(0x293)][_0x5150f1(0x20e)]=_0x4283e1[_0x5150f1(0x223)](_0x5351fe[_0x5150f1(0x1ec)],0x1)||0x1388,_0x14540d[_0x5150f1(0x293)][_0x5150f1(0x25e)]=_0x8ab65e[_0x5150f1(0x23c)][_0x5150f1(0x26b)][_0x5150f1(0x25e)],_0x14540d[_0x5150f1(0x293)]['skipSessionStatus']=_0x8ab65e[_0x5150f1(0x23c)][_0x5150f1(0x26b)][_0x5150f1(0x1ea)],_0x14540d['testEnvironmentOptions'][_0x5150f1(0x2a6)]=_0x8ab65e[_0x5150f1(0x23c)][_0x5150f1(0x256)],_0x14540d[_0x5150f1(0x293)]['turboScaleUrl']=_0x8ab65e[_0x5150f1(0x23c)][_0x5150f1(0x269)],_0x14540d[_0x5150f1(0x293)][_0x5150f1(0x285)]=_0x8ab65e['config'][_0x5150f1(0x298)];const _0x73fc8f=helper['parseTestOrchestrationOptions'](_0x8ab65e[_0x5150f1(0x23c)]);if(!helper[_0x5150f1(0x1f8)](_0x73fc8f)){helper[_0x5150f1(0x255)](_0x73fc8f[_0x5150f1(0x20f)])&&(_0x14540d[_0x5150f1(0x293)][_0x5150f1(0x232)]=_0x73fc8f[_0x5150f1(0x20f)][_0x5150f1(0x2c1)]);if(helper['isNotUndefined'](_0x73fc8f['abortBuildOnFailure'])&&helper[_0x5150f1(0x255)](_0x73fc8f[_0x5150f1(0x244)]['workingDir'])){const _0x306361={};_0x306361[_0x5150f1(0x1fa)]=_0x73fc8f[_0x5150f1(0x244)][_0x5150f1(0x2b8)],_0x306361[_0x5150f1(0x2b0)]=_0x73fc8f['abortBuildOnFailure'][_0x5150f1(0x2b0)],_0x14540d[_0x5150f1(0x293)]['failFast']=_0x306361;}}let _0x3f6d0b='';_0x4283e1['mBnPd'](helper['getPackageType'](),constants[_0x5150f1(0x270)][_0x5150f1(0x1ed)])?_0x3f6d0b=_0x4283e1[_0x5150f1(0x1e1)]:_0x3f6d0b=_0x4283e1[_0x5150f1(0x284)];const _0x2f0af7=_0x3f6d0b,_0x34bf6e=path[_0x5150f1(0x24a)](__dirname,_0x4283e1['zeoPZ'],_0x4283e1[_0x5150f1(0x257)]),_0x11c370=path[_0x5150f1(0x24a)](__dirname,_0x4283e1[_0x5150f1(0x2ab)],_0x4283e1[_0x5150f1(0x2aa)]),_0x54e631=path[_0x5150f1(0x24a)](__dirname,_0x4283e1[_0x5150f1(0x2ab)],_0x4283e1[_0x5150f1(0x2b6)]);_0x14540d[_0x5150f1(0x225)]&&(process['env'][_0x5150f1(0x206)]=_0x14540d[_0x5150f1(0x225)]);_0x14540d[_0x5150f1(0x225)]=path[_0x5150f1(0x24a)](__dirname,_0x4283e1[_0x5150f1(0x2ab)],_0x4283e1['TthrI']);const _0x2d5465=_0x388d5d[_0x5150f1(0x283)];if(_0x2d5465&&_0x4283e1[_0x5150f1(0x249)](_0x2d5465,_0x4283e1[_0x5150f1(0x2d4)])){const _0x54f97d=_0x2d5465[_0x5150f1(0x264)](_0x4283e1[_0x5150f1(0x246)])?_0x2d5465:_0x5150f1(0x1e9)+_0x2d5465;process['env']['BSTACK_USER_JEST_RUNNER']=_0x54f97d,logger['info'](_0x5150f1(0x25b)+_0x54f97d);}_0x14540d[_0x5150f1(0x283)]=_0x11c370,_0x14540d['setupFilesAfterEnv']=_0x14540d[_0x5150f1(0x1f9)]||[],_0x14540d['setupFilesAfterEnv'][_0x5150f1(0x238)](path[_0x5150f1(0x24a)](__dirname,_0x4283e1[_0x5150f1(0x2a8)]));_0x55bebf[_0x5150f1(0x234)]()&&(_0x14540d[_0x5150f1(0x1f1)]=path[_0x5150f1(0x24a)](__dirname,_0x4283e1[_0x5150f1(0x2ab)],_0x4283e1[_0x5150f1(0x231)]));if(testhubUtils[_0x5150f1(0x2da)]()||BrowserstackCLI[_0x5150f1(0x243)]()[_0x5150f1(0x2be)]()){let _0x323cbf=null;try{_0x323cbf=helper[_0x5150f1(0x27e)](_0x4283e1['qhYXI'],_0x4283e1[_0x5150f1(0x20b)]);}catch(_0x3ec457){try{_0x323cbf=helper[_0x5150f1(0x27e)](_0x4283e1[_0x5150f1(0x278)],_0x4283e1['Lbidr']);}catch(_0x31c108){_0x4283e1[_0x5150f1(0x215)](debug,'Unable\x20to\x20find\x20jest-circus,\x20'+_0x31c108);}}_0x323cbf&&(testhubUtils[_0x5150f1(0x2da)]()&&_0x14540d[_0x5150f1(0x1f9)][_0x5150f1(0x238)](path[_0x5150f1(0x24a)](__dirname,_0x4283e1[_0x5150f1(0x27c)],_0x4283e1[_0x5150f1(0x29a)])),_0x14540d['testRunner']=path[_0x5150f1(0x24a)](__dirname,_0x4283e1[_0x5150f1(0x2ab)],_0x4283e1[_0x5150f1(0x217)]));}_0x14540d[_0x5150f1(0x28a)]=_0x14540d[_0x5150f1(0x28a)]||[];try{helper[_0x5150f1(0x250)](),_0x14540d['setupFiles']['push'](path[_0x5150f1(0x24a)](__dirname,_0x4283e1['tkJib']));}catch{logger['debug'](_0x4283e1[_0x5150f1(0x221)]);}try{helper[_0x5150f1(0x208)][_0x5150f1(0x229)](null,[_0x4283e1[_0x5150f1(0x27b)],_0x4283e1[_0x5150f1(0x209)]]),logger[_0x5150f1(0x29e)](_0x4283e1[_0x5150f1(0x2b4)]),_0x14540d[_0x5150f1(0x28a)]['push'](path[_0x5150f1(0x24a)](__dirname,_0x4283e1['xuuAM']));}catch(_0x40ee7e){logger[_0x5150f1(0x29e)](_0x4283e1['zYGah'],_0x40ee7e);}if(_0x4283e1['WUXin'](!_0x4bd492,_0x39a3cc)){try{logger[_0x5150f1(0x29e)](_0x4283e1[_0x5150f1(0x22a)]),_0x14540d[_0x5150f1(0x28a)]['push'](path[_0x5150f1(0x24a)](__dirname,'..',_0x4283e1[_0x5150f1(0x210)],_0x4283e1[_0x5150f1(0x271)]));}catch(_0x5705e8){logger[_0x5150f1(0x29e)](_0x5150f1(0x28e)+_0x5705e8[_0x5150f1(0x21b)]);}try{const _0x155687=require[_0x5150f1(0x267)](_0x4283e1[_0x5150f1(0x235)]),_0xd611f2=path[_0x5150f1(0x2a3)](_0x155687)[_0x5150f1(0x279)](/\\/g,'/'),_0x3bbe71={};_0x3bbe71[_0x5150f1(0x28b)]=_0xd611f2+_0x5150f1(0x1e7),_0x14540d[_0x5150f1(0x2a7)]=Object['assign']({},_0x14540d[_0x5150f1(0x2a7)]||{},_0x3bbe71),logger['debug']('[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20'+_0xd611f2);}catch(_0x4ec844){logger[_0x5150f1(0x29e)](_0x5150f1(0x211)+_0x4ec844[_0x5150f1(0x21b)]);}}_0x14540d['reporters']=_0x14540d['reporters']||[_0x4283e1[_0x5150f1(0x1ef)]],_0x4283e1[_0x5150f1(0x294)](updateTestRerunConfig,_0x14540d,_0x8ab65e);const _0xf2a44d=fs[_0x5150f1(0x275)](_0x54e631),_0x5912c9=helper['resolveModule'](_0x4283e1['gglRj'],_0x4283e1[_0x5150f1(0x295)]);!_0x5912c9['error']?fs[_0x5150f1(0x286)](_0x14540d[_0x5150f1(0x283)],_0x5150f1(0x289)+_0xf2a44d+'\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'+_0x8ab65e[_0x5150f1(0x23c)][_0x5150f1(0x298)][_0x5150f1(0x1f6)]+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20'):fs['writeFileSync'](_0x14540d[_0x5150f1(0x283)],_0x5150f1(0x289)+_0xf2a44d+'\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'+_0x8ab65e[_0x5150f1(0x23c)][_0x5150f1(0x298)][_0x5150f1(0x1f6)]+_0x5150f1(0x25f));logger[_0x5150f1(0x1fc)](_0x5150f1(0x22b)+_0x2f0af7+_0x5150f1(0x23a)),fs[_0x5150f1(0x286)](_0x2f0af7,_0x5150f1(0x203)+JSON[_0x5150f1(0x288)](_0x14540d)+_0x5150f1(0x237));if(_0x55bebf[_0x5150f1(0x234)]()){logger['debug'](_0x4283e1[_0x5150f1(0x1df)]);const _0x408943=await _0x55bebf[_0x5150f1(0x2ae)](_0x14540d,_0x16fe16[_0x5150f1(0x1f4)](0x1),_0x2f0af7);logger[_0x5150f1(0x29e)](_0x5150f1(0x299)+JSON['stringify'](_0x408943)+_0x5150f1(0x245));const _0x5ac66a=await _0x55bebf[_0x5150f1(0x2b9)](_0x408943);logger[_0x5150f1(0x29e)](_0x5150f1(0x25c)+JSON[_0x5150f1(0x288)](_0x5ac66a)),_0x5ac66a&&_0x4283e1[_0x5150f1(0x230)](_0x5ac66a[_0x5150f1(0x1f6)],0x0)&&(process['env']['JEST_TEST_ORDER']=_0x5ac66a?.[_0x5150f1(0x24a)](','));}logger[_0x5150f1(0x1fc)](_0x4283e1[_0x5150f1(0x2ca)]);testhubUtils[_0x5150f1(0x2da)]()&&TestDetails[_0x5150f1(0x216)]();helper[_0x5150f1(0x1e0)]({},_0x16fe16),PerformanceTester[_0x5150f1(0x1fe)](PerformanceEvents[_0x5150f1(0x25d)]);const _0x2c8bf3=[_0x4283e1[_0x5150f1(0x201)],_0x4283e1['guoer'],_0x2f0af7,..._0x16fe16['slice'](0x1)];process[_0x5150f1(0x2cf)]['BROWSERSTACK_FRAMEWORK']=process[_0x5150f1(0x2cf)]['BROWSERSTACK_FRAMEWORK']||_0x4283e1['LJEWt'];const _0x277951=_0x4283e1[_0x5150f1(0x2ac)](spawn,_0x4283e1['oQFDu'],_0x2c8bf3,{'shell':_0x4283e1[_0x5150f1(0x26c)](process['platform'],_0x4283e1[_0x5150f1(0x21c)]),'stdio':_0x4283e1[_0x5150f1(0x268)],'env':Object[_0x5150f1(0x24b)]({},process[_0x5150f1(0x2cf)])});_0x277951['on'](_0x4283e1[_0x5150f1(0x27f)],async _0x2e7b0f=>{const _0x317605=_0x5150f1;PerformanceTester[_0x317605(0x2d0)](PerformanceEvents[_0x317605(0x205)]);try{const {browserstackFolderPath:_0x1972f7,tcgConfigPath:_0x1c6fd8}=helper[_0x317605(0x29b)]();fs[_0x317605(0x2a2)](_0x1c6fd8),fs[_0x317605(0x26f)](_0x1972f7);}catch(_0x3163f9){logger[_0x317605(0x29e)](_0x4283e1[_0x317605(0x2a5)],_0x3163f9);}process[_0x317605(0x21e)]=_0x2e7b0f,logger[_0x317605(0x29e)]('child\x20process\x20exited\x20with\x20code\x20'+_0x2e7b0f),logger[_0x317605(0x1fc)](_0x317605(0x2ba)+_0x2f0af7);if(helper[_0x317605(0x255)](_0x73fc8f)&&helper['isNotUndefined'](_0x73fc8f['abortBuildOnFailure'])&&fs[_0x317605(0x28d)](_0x73fc8f[_0x317605(0x244)]['workingDir']))try{const _0x20ef7a={};_0x20ef7a[_0x317605(0x218)]=!![],_0x20ef7a[_0x317605(0x22e)]=!![],fs['rmSync'](_0x73fc8f[_0x317605(0x244)][_0x317605(0x2b0)],_0x20ef7a),logger[_0x317605(0x29e)](_0x317605(0x2bf)+_0x73fc8f[_0x317605(0x244)][_0x317605(0x2b0)]);}catch(_0x3301c3){logger[_0x317605(0x287)](_0x317605(0x290)+_0x3301c3);}let _0x14e8a7=null;if(fs[_0x317605(0x28d)](_0x34bf6e)){_0x14e8a7=fs[_0x317605(0x275)](_0x34bf6e);try{_0x14e8a7=JSON['parse'](_0x14e8a7);}catch(_0x5917c3){logger['debug'](_0x317605(0x20c)+_0x34bf6e+',\x20'+_0x14e8a7+'\x20:\x20'+_0x5917c3);}fs['unlinkSync'](_0x34bf6e);}fs[_0x317605(0x2a2)](_0x2f0af7),fs[_0x317605(0x2a2)](_0x11c370),_0x14e8a7&&(_0x8ab65e['errorMessage']=helper[_0x317605(0x21a)](_0x14e8a7,_0x4283e1[_0x317605(0x201)],_0x8ab65e));const _0x1eca04=BrowserstackCLI[_0x317605(0x2a9)]();try{await TestHubHandler[_0x317605(0x236)](),await BrowserstackCLI['getInstance']()[_0x317605(0x236)]();}catch(_0x1cd353){console[_0x317605(0x1eb)](_0x1cd353),_0x4283e1['sUPtd'](debug,_0x317605(0x212)+util[_0x317605(0x265)](_0x1cd353));}testOpsHelper[_0x317605(0x2c9)](),TestDetails[_0x317605(0x1e8)](),await utilities[_0x317605(0x274)](_0x8ab65e,_0x1eca04);});}module['exports']=run;
@@ -1 +1 @@
1
- function a19_0x4837(){const _0x598f21=['requireInternalModule','3480QoNulm','30ZTmuKm','7406VIVejj','171330NTFFYk','640eoOoab','jestAdapterInit','join','exports','SuPEg','initRequireModule','Kiirz','function','8525rMsksE','../../../helpers/helper','2378088XUUsqB','jest-circus/build/runner.js','32290CfBRpx','path','232osgryt','includes','customJestAdapterInit.js','jest-circus','4542430bqardh','63351hBmzFO','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js'];a19_0x4837=function(){return _0x598f21;};return a19_0x4837();}const a19_0xbf0be1=a19_0x53b0;(function(_0x347235,_0x3df49b){const _0x5f57f1=a19_0x53b0,_0x54c74e=_0x347235();while(!![]){try{const _0x5afa9a=parseInt(_0x5f57f1(0x1fc))/0x1+-parseInt(_0x5f57f1(0x1f1))/0x2*(parseInt(_0x5f57f1(0x1f9))/0x3)+-parseInt(_0x5f57f1(0x1ed))/0x4+-parseInt(_0x5f57f1(0x1f5))/0x5+-parseInt(_0x5f57f1(0x1fa))/0x6*(parseInt(_0x5f57f1(0x1fb))/0x7)+parseInt(_0x5f57f1(0x1fd))/0x8*(-parseInt(_0x5f57f1(0x1f6))/0x9)+parseInt(_0x5f57f1(0x1ef))/0xa*(parseInt(_0x5f57f1(0x1eb))/0xb);if(_0x5afa9a===_0x3df49b)break;else _0x54c74e['push'](_0x54c74e['shift']());}catch(_0x36db58){_0x54c74e['push'](_0x54c74e['shift']());}}}(a19_0x4837,0x72373));const path=require(a19_0xbf0be1(0x1f0)),{requireModule}=require(a19_0xbf0be1(0x1ec));let initJestAdapter;function a19_0x53b0(_0x11cd44,_0x569d41){const _0x483722=a19_0x4837();return a19_0x53b0=function(_0x53b047,_0x4d3a3c){_0x53b047=_0x53b047-0x1e8;let _0x181ab8=_0x483722[_0x53b047];return _0x181ab8;},a19_0x53b0(_0x11cd44,_0x569d41);}try{initJestAdapter=requireModule(a19_0xbf0be1(0x1f7),a19_0xbf0be1(0x1f4));}catch{initJestAdapter=requireModule(a19_0xbf0be1(0x1ee),a19_0xbf0be1(0x1f4));}initJestAdapter=typeof initJestAdapter===a19_0xbf0be1(0x1ea)?initJestAdapter:initJestAdapter['default'];const FRAMEWORK_INITIALIZER=path[a19_0xbf0be1(0x1ff)](__dirname,a19_0xbf0be1(0x1f3));module[a19_0xbf0be1(0x200)]=(..._0x4ac8ff)=>{const _0x94688f=a19_0xbf0be1,_0x46a98b={'qZECX':_0x94688f(0x1fe),'Kiirz':function(_0x24ed4b,_0x35cf50){return _0x24ed4b===_0x35cf50;},'SuPEg':function(_0x549965,..._0x634395){return _0x549965(..._0x634395);}};return _0x4ac8ff[0x3]['initRequireModule']=_0x4ac8ff[0x3][_0x94688f(0x1f8)],_0x4ac8ff[0x3][_0x94688f(0x1f8)]=(..._0x19388b)=>{const _0x5be6ed=_0x94688f;if(_0x19388b[0x0]&&_0x19388b[0x0][_0x5be6ed(0x1f2)](_0x46a98b['qZECX'])&&_0x46a98b[_0x5be6ed(0x1e9)](_0x19388b[0x1],undefined))return _0x4ac8ff[0x3]['initRequireModule'](FRAMEWORK_INITIALIZER);return _0x4ac8ff[0x3][_0x5be6ed(0x1e8)](..._0x19388b);},_0x46a98b[_0x94688f(0x201)](initJestAdapter,..._0x4ac8ff);};
1
+ const a19_0x593e7a=a19_0x2fc6;(function(_0x45e8f0,_0x503e84){const _0x2afd1c=a19_0x2fc6,_0x2781af=_0x45e8f0();while(!![]){try{const _0x44b7fc=-parseInt(_0x2afd1c(0x1c8))/0x1*(-parseInt(_0x2afd1c(0x1ba))/0x2)+parseInt(_0x2afd1c(0x1bf))/0x3*(parseInt(_0x2afd1c(0x1b8))/0x4)+parseInt(_0x2afd1c(0x1c9))/0x5+parseInt(_0x2afd1c(0x1b7))/0x6*(parseInt(_0x2afd1c(0x1c5))/0x7)+-parseInt(_0x2afd1c(0x1c6))/0x8*(parseInt(_0x2afd1c(0x1cc))/0x9)+-parseInt(_0x2afd1c(0x1c0))/0xa+-parseInt(_0x2afd1c(0x1b4))/0xb*(parseInt(_0x2afd1c(0x1c2))/0xc);if(_0x44b7fc===_0x503e84)break;else _0x2781af['push'](_0x2781af['shift']());}catch(_0x16cbad){_0x2781af['push'](_0x2781af['shift']());}}}(a19_0x47aa,0xd4683));const path=require('path'),{requireModule}=require(a19_0x593e7a(0x1c3));function a19_0x2fc6(_0x2c129d,_0x5dd34e){const _0x47aadd=a19_0x47aa();return a19_0x2fc6=function(_0x2fc659,_0x82add4){_0x2fc659=_0x2fc659-0x1b3;let _0x365e63=_0x47aadd[_0x2fc659];return _0x365e63;},a19_0x2fc6(_0x2c129d,_0x5dd34e);}let initJestAdapter;try{initJestAdapter=requireModule(a19_0x593e7a(0x1bd),'jest-circus');}catch{initJestAdapter=requireModule('jest-circus/build/runner.js',a19_0x593e7a(0x1b6));}initJestAdapter=typeof initJestAdapter===a19_0x593e7a(0x1c4)?initJestAdapter:initJestAdapter[a19_0x593e7a(0x1ca)];function a19_0x47aa(){const _0x12490f=['includes','14010557PpZcfC','PEPOl','jest-circus','18jdMmLW','4977692WMODAv','QxPJe','2hPouVO','ZjJUV','initRequireModule','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','join','3pWQiGR','11551980oRbzIM','customJestAdapterInit.js','24aVZNea','../../../helpers/helper','function','4040897eefdmX','296OqtART','requireInternalModule','1511322hXTyHg','3689305TQGnYu','default','jestAdapterInit','158796NIigou'];a19_0x47aa=function(){return _0x12490f;};return a19_0x47aa();}const FRAMEWORK_INITIALIZER=path[a19_0x593e7a(0x1be)](__dirname,a19_0x593e7a(0x1c1));module['exports']=(..._0x4d7731)=>{const _0x336a48=a19_0x593e7a,_0x53810b={'ZjJUV':_0x336a48(0x1cb),'PEPOl':function(_0x5e987,_0x215d95){return _0x5e987===_0x215d95;},'QxPJe':function(_0x3a3798,..._0xdc2173){return _0x3a3798(..._0xdc2173);}};return _0x4d7731[0x3][_0x336a48(0x1bc)]=_0x4d7731[0x3][_0x336a48(0x1c7)],_0x4d7731[0x3][_0x336a48(0x1c7)]=(..._0x4fce0f)=>{const _0x429b5f=_0x336a48;if(_0x4fce0f[0x0]&&_0x4fce0f[0x0][_0x429b5f(0x1b3)](_0x53810b[_0x429b5f(0x1bb)])&&_0x53810b[_0x429b5f(0x1b5)](_0x4fce0f[0x1],undefined))return _0x4d7731[0x3][_0x429b5f(0x1bc)](FRAMEWORK_INITIALIZER);return _0x4d7731[0x3][_0x429b5f(0x1bc)](..._0x4fce0f);},_0x53810b[_0x336a48(0x1b9)](initJestAdapter,..._0x4d7731);};
@@ -1 +1 @@
1
- const a20_0x4a16c3=a20_0x17c6;(function(_0x10969c,_0x9ad31e){const _0x26a04d=a20_0x17c6,_0x91ea60=_0x10969c();while(!![]){try{const _0x338583=parseInt(_0x26a04d(0x1fe))/0x1*(parseInt(_0x26a04d(0x1c0))/0x2)+parseInt(_0x26a04d(0x1fd))/0x3*(-parseInt(_0x26a04d(0x20d))/0x4)+parseInt(_0x26a04d(0x1e5))/0x5+parseInt(_0x26a04d(0x208))/0x6+-parseInt(_0x26a04d(0x226))/0x7+parseInt(_0x26a04d(0x205))/0x8+-parseInt(_0x26a04d(0x1f4))/0x9*(parseInt(_0x26a04d(0x1bd))/0xa);if(_0x338583===_0x9ad31e)break;else _0x91ea60['push'](_0x91ea60['shift']());}catch(_0x4ddd47){_0x91ea60['push'](_0x91ea60['shift']());}}}(a20_0x921a,0x90206));function a20_0x921a(){const _0x339f9b=['AqEUN','__jestRetries','5284528NbojrD','../../../helpers/test-orchestration/failfastManager','failFastOptions','6037092xYzXda','requireSeleniumWebdriver','configuration','browserStackGlobals','../../utils/constants','325284DjtXyK','isTrue','test','shouldProcessEventForTesthub','browserstackPlatformIndex','iWvCG','node','test_done','split','shutdown','capability','TPQJP','__platformCaps','UWKeg','__webdriver','__drivers','failFastActive','cleanup','failFast','projectName','__timeout','OgyvZ','modifyCommand','testContext','browserStackPercyOptions','1421315FaUBPu','BSTACK_DELTA','builder','fGdMk','skipSessionName','teardown','JEST','browserstackPercyBestPlatform','Builder','jest-config','setup','capabilities','ViGhQ','sessionNameProvided','10ostgfC','default','jest-environment-node','190664uiKKdF','jestConfig','projectConfig','skipSessionStatus','5|3|2|6|4|0|7|1','message','Error\x20in\x20fail-fast\x20test_done\x20handler:','qqqVi','info','join','dppfm','../test-observability/obsReporter','buildName','yEsUR','FRAMEWORKS','BSTACK_JEST_TEST_ENV','__esModule','registerListeners','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','dqoJs','percyCaptureMode','quit','driver','retries__','isNotUndefined','resolveTestEnvironment','percy','cLWvP','exports','../../../helpers/test-observability/utils','sSCfI','ODOvC','JyHsQ','getInstance','testEnvironmentOptions','bstack:options','__skipSessionStatus','840805OyGEjC','shouldFailFast','handleTestEvent','isArray','requireModule','getTestEnvironment','isBrowserstackInfra','KiCmn','nestedKeyValue','../../../index','errors','../../../helpers/helper','platformCaps','tTZja','kOHcG','10760787mGJzkF','tKbOg','XHdwF','NEuho','kogAk','mode','../../../helpers/logger','cleanupDrivers','framework','33UWVqET','11oKyiGK','onTestDone','global','vlHLQ','jYpFl'];a20_0x921a=function(){return _0x339f9b;};return a20_0x921a();}const helper=require(a20_0x4a16c3(0x1f0)),constants=require(a20_0x4a16c3(0x20c)),{isTestObservabilitySession}=require(a20_0x4a16c3(0x1dd)),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),ObservabilityReporter=require(a20_0x4a16c3(0x1cb)),testhubUtils=require('../../../helpers/testhub/utils'),logger=require(a20_0x4a16c3(0x1fa))['winstonLogger'],getTestEnvironment=((()=>{const _0x5c5555=a20_0x4a16c3,_0xebf1d={};_0xebf1d[_0x5c5555(0x1b2)]='jest-resolve',_0xebf1d[_0x5c5555(0x1f7)]=_0x5c5555(0x1b8);const _0x222887=_0xebf1d;try{const _0x32aaf0=helper[_0x5c5555(0x1e9)](_0x222887[_0x5c5555(0x1b2)]);if(_0x32aaf0[_0x5c5555(0x1d9)])return _0x32aaf0[_0x5c5555(0x1d9)];const _0x2564c2=helper[_0x5c5555(0x1e9)](_0x222887[_0x5c5555(0x1f7)]);if(_0x2564c2[_0x5c5555(0x1ea)])return _0x2564c2[_0x5c5555(0x1ea)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x45aba3=a20_0x4a16c3,_0x2af0d6={'kogAk':function(_0x156329,_0x53b6c7){return _0x156329(_0x53b6c7);},'XTWPG':_0x45aba3(0x213),'UWKeg':function(_0x47cea3,_0x2bf843){return _0x47cea3(_0x2bf843);},'IbiVQ':_0x45aba3(0x1bf)},_0x8feb9c=_0x2af0d6['kogAk'](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process['env'][_0x45aba3(0x1cf)]||_0x2af0d6['XTWPG']});if(!_0x8feb9c)return _0x2af0d6[_0x45aba3(0x21a)](_interopRequireDefault,helper['requireModule'](_0x2af0d6['IbiVQ']));return _0x2af0d6[_0x45aba3(0x1f8)](_interopRequireDefault,helper[_0x45aba3(0x1e9)](_0x8feb9c));})()),_seleniumWebdriver2=((()=>{const _0xd92628=a20_0x4a16c3,_0x2ad8de={'jYpFl':function(_0x1e7db3,_0x19734b){return _0x1e7db3(_0x19734b);}};try{const _0x13ddba=helper[_0xd92628(0x209)]();return helper[_0xd92628(0x223)](),_0x2ad8de[_0xd92628(0x202)](_interopRequireDefault,_0x13ddba);}catch{return null;}})());function _interopRequireDefault(_0x5f28d4){const _0x5e39b7=a20_0x4a16c3;return _0x5f28d4&&_0x5f28d4[_0x5e39b7(0x1d0)]?_0x5f28d4:{'default':_0x5f28d4};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a20_0x4a16c3(0x1be)][a20_0x4a16c3(0x1b7)]:null;class CustomEnvironment extends _jestUserEnvironment[a20_0x4a16c3(0x1be)]{constructor(_0x3e5c86){const _0x58dc7e=a20_0x4a16c3,_0x1f8b5a={'XHdwF':_0x58dc7e(0x1d5),'ODOvC':function(_0x29ba81,_0x315299){return _0x29ba81+_0x315299;},'dqoJs':_0x58dc7e(0x1e3),'yEsUR':function(_0x5760c6,_0x226efa){return _0x5760c6(_0x226efa);},'ViGhQ':_0x58dc7e(0x206),'qqqVi':_0x58dc7e(0x1c4),'TPQJP':_0x58dc7e(0x1e2),'AqEUN':_0x58dc7e(0x225),'kOHcG':_0x58dc7e(0x1b6),'oFAIc':_0x58dc7e(0x1ee),'tTZja':_0x58dc7e(0x1d4),'JyHsQ':'percy'};super(_0x3e5c86),this[_0x58dc7e(0x200)][_0x58dc7e(0x221)]=0x0,this[_0x58dc7e(0x20a)]={};!_0x3e5c86[_0x58dc7e(0x1e2)]&&(_0x3e5c86[_0x58dc7e(0x1e2)]={});if(helper[_0x58dc7e(0x1eb)]()){_0x3e5c86[_0x58dc7e(0x1e2)]=_0x3e5c86[_0x58dc7e(0x1c2)]?_0x3e5c86[_0x58dc7e(0x1c2)][_0x58dc7e(0x1e2)]:_0x3e5c86[_0x58dc7e(0x1e2)];_seleniumWebdriver2&&(this[_0x58dc7e(0x1b1)]=new _seleniumWebdriver2[(_0x58dc7e(0x1be))][(_0x58dc7e(0x1b7))]());this[_0x58dc7e(0x217)]=_0x3e5c86[_0x58dc7e(0x1c2)]?_0x3e5c86[_0x58dc7e(0x1c2)][_0x58dc7e(0x217)]:_0x3e5c86['capability'],this[_0x58dc7e(0x200)]['__timeout']=_0x1f8b5a[_0x58dc7e(0x1df)](_0x3e5c86[_0x58dc7e(0x1e2)]['timeout__']||0x1388,constants[_0x58dc7e(0x227)]),this['failFastOptions']=_0x3e5c86['testEnvironmentOptions']['failFast'];if(this[_0x58dc7e(0x207)]){const _0x4333cc=this[_0x58dc7e(0x217)][_0x1f8b5a[_0x58dc7e(0x1d3)]]?.[_0x58dc7e(0x1cc)]||'',_0x3bc759=this[_0x58dc7e(0x217)][_0x1f8b5a[_0x58dc7e(0x1d3)]]?.[_0x58dc7e(0x220)]||'';this['failFast']=new(_0x1f8b5a[_0x58dc7e(0x1cd)](require,_0x1f8b5a[_0x58dc7e(0x1bb)]))(this[_0x58dc7e(0x207)],_0x4333cc,_0x3bc759),this[_0x58dc7e(0x200)][_0x58dc7e(0x21d)]=![];}helper[_0x58dc7e(0x1d8)](_0x3e5c86[_0x58dc7e(0x1e2)][_0x58dc7e(0x1d7)])&&(this[_0x58dc7e(0x200)][_0x58dc7e(0x204)]=_0x3e5c86[_0x58dc7e(0x1e2)]['retries__']);}if(testhubUtils[_0x58dc7e(0x210)]()){const _0x1e5ab2=new ObservabilityReporter();_0x1e5ab2[_0x58dc7e(0x1d1)]();}this['global'][_0x58dc7e(0x20b)]={},this[_0x58dc7e(0x20a)]=_0x3e5c86[_0x58dc7e(0x1e2)],this[_0x58dc7e(0x20a)][_0x58dc7e(0x1fc)]=constants[_0x58dc7e(0x1ce)][_0x58dc7e(0x1b5)],this[_0x58dc7e(0x200)][_0x58dc7e(0x211)]=(_0x3e5c86['projectConfig']?_0x3e5c86[_0x58dc7e(0x1c2)]['browserstackPlatformIndex']:_0x3e5c86[_0x58dc7e(0x211)])||0x0,this[_0x58dc7e(0x200)][_0x58dc7e(0x219)]=this['configuration']&&this['configuration'][_0x58dc7e(0x1f1)]&&Array[_0x58dc7e(0x1e8)](this['configuration'][_0x58dc7e(0x1f1)])&&this[_0x58dc7e(0x20a)][_0x58dc7e(0x1f1)][this[_0x58dc7e(0x200)]['browserstackPlatformIndex']]||{};const _0x30b1e3=this[_0x58dc7e(0x200)]['browserstackPlatformIndex'],_0x4cee76={...this['configuration'],'capability':this[_0x58dc7e(0x20a)][_0x58dc7e(0x1ba)]&&Array[_0x58dc7e(0x1e8)](this[_0x58dc7e(0x20a)][_0x58dc7e(0x1ba)])&&this[_0x58dc7e(0x20a)][_0x58dc7e(0x1ba)][_0x30b1e3]||{},'platformCaps':this[_0x58dc7e(0x20a)][_0x58dc7e(0x1f1)]&&Array[_0x58dc7e(0x1e8)](this[_0x58dc7e(0x20a)][_0x58dc7e(0x1f1)])&&this[_0x58dc7e(0x20a)][_0x58dc7e(0x1f1)][_0x30b1e3]||{}};delete _0x4cee76['capabilities'],this[_0x58dc7e(0x200)][_0x58dc7e(0x1c1)]=_0x4cee76;if(_seleniumWebdriver2){const _0x2dabb4=_0x1f8b5a[_0x58dc7e(0x1c7)][_0x58dc7e(0x215)]('|');let _0x65c898=0x0;while(!![]){switch(_0x2dabb4[_0x65c898++]){case'0':helper[_0x58dc7e(0x20e)](this[_0x58dc7e(0x20a)][_0x58dc7e(0x1b3)])?this[_0x58dc7e(0x200)][_0x58dc7e(0x1bc)]=!![]:this['global'][_0x58dc7e(0x1bc)]=![];continue;case'1':this['global'][_0x58dc7e(0x21e)]=async()=>{const _0x256ba0=_0x58dc7e;await this[_0x256ba0(0x200)][_0x256ba0(0x1d6)]['quit'](_0x1f8b5a[_0x256ba0(0x1f6)]);};continue;case'2':this[_0x58dc7e(0x200)]['browserstackPercyBestPlatform']=helper[_0x58dc7e(0x1ed)](_0x3e5c86,[_0x1f8b5a[_0x58dc7e(0x218)],_0x1f8b5a[_0x58dc7e(0x203)],_0x1f8b5a[_0x58dc7e(0x1f3)]]);continue;case'3':this[_0x58dc7e(0x200)][_0x58dc7e(0x21b)]=_0x1f8b5a[_0x58dc7e(0x1cd)](require,_0x1f8b5a['oFAIc'])['browserstackAgentV2']({...this[_0x58dc7e(0x20a)],'capability':this[_0x58dc7e(0x217)]||{}},this,testhubUtils[_0x58dc7e(0x210)]());continue;case'4':this['global'][_0x58dc7e(0x1d4)]=helper[_0x58dc7e(0x1ed)](_0x3e5c86,[_0x1f8b5a['TPQJP'],_0x1f8b5a[_0x58dc7e(0x203)],_0x1f8b5a[_0x58dc7e(0x1f2)]]);continue;case'5':this[_0x58dc7e(0x200)][_0x58dc7e(0x21c)]=[];continue;case'6':this[_0x58dc7e(0x200)][_0x58dc7e(0x1da)]=helper[_0x58dc7e(0x1ed)](_0x3e5c86,[_0x1f8b5a[_0x58dc7e(0x218)],_0x1f8b5a[_0x58dc7e(0x203)],_0x1f8b5a[_0x58dc7e(0x1e0)]]);continue;case'7':this['global'][_0x58dc7e(0x1e4)]=helper[_0x58dc7e(0x20e)](this[_0x58dc7e(0x20a)][_0x58dc7e(0x1c3)]);continue;}break;}}}async['teardown'](){const _0x134fb3=a20_0x4a16c3;_seleniumWebdriver2&&(await helper[_0x134fb3(0x1fb)](this[_0x134fb3(0x200)]['__driversArray']),this['global']['__webdriver'][_0x134fb3(0x1b7)]=originalBuilder),await RequestQueueHandler[_0x134fb3(0x1e1)]()[_0x134fb3(0x216)]();}async[a20_0x4a16c3(0x1b9)](){}async[a20_0x4a16c3(0x1e7)](_0x3599db,_0x188ede){const _0x4bca8d=a20_0x4a16c3,_0x5e9ea0={};_0x5e9ea0['DBVPQ']=function(_0x3e3acd,_0x232ba0){return _0x3e3acd===_0x232ba0;},_0x5e9ea0[_0x4bca8d(0x1f5)]='test_start',_0x5e9ea0['cLWvP']=function(_0x1b6b4a,_0x413a97){return _0x1b6b4a===_0x413a97;},_0x5e9ea0[_0x4bca8d(0x212)]='skip',_0x5e9ea0[_0x4bca8d(0x1ec)]=_0x4bca8d(0x214),_0x5e9ea0[_0x4bca8d(0x201)]='\x20>\x20',_0x5e9ea0[_0x4bca8d(0x1ca)]=function(_0x40286e,_0x29903c){return _0x40286e===_0x29903c;},_0x5e9ea0['sSCfI']=_0x4bca8d(0x1c6),_0x5e9ea0[_0x4bca8d(0x222)]=function(_0x745195,_0x3e243e){return _0x745195===_0x3e243e;},_0x5e9ea0['Zsezm']=_0x4bca8d(0x1b4);const _0x2747b8=_0x5e9ea0,{name:_0x4c5d8a}=_0x3599db;if(_0x2747b8['DBVPQ'](_0x4c5d8a,_0x2747b8[_0x4bca8d(0x1f5)])){this['global'][_0x4bca8d(0x224)]=_0x3599db[_0x4bca8d(0x20f)];if(_0x2747b8[_0x4bca8d(0x1db)](this[_0x4bca8d(0x200)]['failFastActive'],!![])){const _0x5af174=_0x3599db[_0x4bca8d(0x20f)]['name'];logger[_0x4bca8d(0x1c8)](_0x4bca8d(0x1d2)+_0x5af174),_0x3599db[_0x4bca8d(0x20f)][_0x4bca8d(0x1f9)]=_0x2747b8[_0x4bca8d(0x212)];}}if(this[_0x4bca8d(0x21f)]&&_0x2747b8[_0x4bca8d(0x1db)](_0x4c5d8a,_0x2747b8[_0x4bca8d(0x1ec)]))try{const _0x2fad96=_0x3599db[_0x4bca8d(0x20f)]['testPath'][_0x4bca8d(0x1c9)](_0x2747b8['vlHLQ']),_0x35bea3=_0x3599db[_0x4bca8d(0x20f)][_0x4bca8d(0x1ef)];await this[_0x4bca8d(0x21f)][_0x4bca8d(0x1ff)](_0x2fad96,_0x35bea3);const _0x121a7d=await this['failFast'][_0x4bca8d(0x1e6)]();_0x2747b8[_0x4bca8d(0x1ca)](this[_0x4bca8d(0x200)][_0x4bca8d(0x21d)],![])&&_0x2747b8[_0x4bca8d(0x1db)](_0x121a7d,!![])&&(this[_0x4bca8d(0x200)][_0x4bca8d(0x21d)]=!![]);}catch(_0x45c233){logger['debug'](_0x2747b8[_0x4bca8d(0x1de)],_0x45c233[_0x4bca8d(0x1c5)]);}_0x2747b8[_0x4bca8d(0x222)](_0x4c5d8a,_0x2747b8['Zsezm'])&&(this['failFast']&&this[_0x4bca8d(0x21f)]['cleanup']());}}function a20_0x17c6(_0x5c8bcc,_0x462d09){const _0x921ad5=a20_0x921a();return a20_0x17c6=function(_0x17c68d,_0x13917a){_0x17c68d=_0x17c68d-0x1b1;let _0x1bbabb=_0x921ad5[_0x17c68d];return _0x1bbabb;},a20_0x17c6(_0x5c8bcc,_0x462d09);}module[a20_0x4a16c3(0x1dc)]=CustomEnvironment;
1
+ const a20_0x4fcf7f=a20_0x1b63;(function(_0x210dbc,_0x3fd58b){const _0x300867=a20_0x1b63,_0x2287b2=_0x210dbc();while(!![]){try{const _0x2b590a=-parseInt(_0x300867(0x165))/0x1*(parseInt(_0x300867(0x17d))/0x2)+-parseInt(_0x300867(0x188))/0x3+-parseInt(_0x300867(0x18c))/0x4+parseInt(_0x300867(0x13d))/0x5*(parseInt(_0x300867(0x196))/0x6)+-parseInt(_0x300867(0x1a2))/0x7+-parseInt(_0x300867(0x198))/0x8*(-parseInt(_0x300867(0x175))/0x9)+-parseInt(_0x300867(0x16c))/0xa*(-parseInt(_0x300867(0x180))/0xb);if(_0x2b590a===_0x3fd58b)break;else _0x2287b2['push'](_0x2287b2['shift']());}catch(_0x3d9e56){_0x2287b2['push'](_0x2287b2['shift']());}}}(a20_0x2892,0x62c18));const helper=require(a20_0x4fcf7f(0x178)),constants=require(a20_0x4fcf7f(0x158)),{isTestObservabilitySession}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a20_0x4fcf7f(0x147)),ObservabilityReporter=require(a20_0x4fcf7f(0x149)),testhubUtils=require(a20_0x4fcf7f(0x17f)),logger=require('../../../helpers/logger')[a20_0x4fcf7f(0x19c)],getTestEnvironment=((()=>{const _0x2a0f3a=a20_0x4fcf7f,_0x462cae={};_0x462cae['EOcPR']=_0x2a0f3a(0x162),_0x462cae[_0x2a0f3a(0x197)]=_0x2a0f3a(0x142);const _0x48ae16=_0x462cae;try{const _0x124835=helper[_0x2a0f3a(0x18a)](_0x48ae16[_0x2a0f3a(0x148)]);if(_0x124835['resolveTestEnvironment'])return _0x124835[_0x2a0f3a(0x185)];const _0x1f4aa9=helper[_0x2a0f3a(0x18a)](_0x48ae16[_0x2a0f3a(0x197)]);if(_0x1f4aa9['getTestEnvironment'])return _0x1f4aa9[_0x2a0f3a(0x12e)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x876a09=a20_0x4fcf7f,_0x10298f={'izEjv':function(_0x25299f,_0x56674d){return _0x25299f(_0x56674d);},'rTMbG':'node','rPmNM':function(_0x138c97,_0x46ec26){return _0x138c97(_0x46ec26);},'wWoEM':_0x876a09(0x137),'mjHOC':function(_0x552293,_0x3332e4){return _0x552293(_0x3332e4);}},_0x31728b=_0x10298f[_0x876a09(0x19e)](getTestEnvironment,{'rootDir':process[_0x876a09(0x16b)](),'testEnvironment':process[_0x876a09(0x166)][_0x876a09(0x167)]||_0x10298f['rTMbG']});if(!_0x31728b)return _0x10298f['rPmNM'](_interopRequireDefault,helper[_0x876a09(0x18a)](_0x10298f[_0x876a09(0x130)]));return _0x10298f[_0x876a09(0x195)](_interopRequireDefault,helper['requireModule'](_0x31728b));})()),_seleniumWebdriver2=((()=>{const _0x1b6b6b=a20_0x4fcf7f,_0x3f2481={'oHfiS':function(_0xfd0411,_0x9ce28a){return _0xfd0411(_0x9ce28a);}};try{const _0x3314ff=helper[_0x1b6b6b(0x138)]();return helper[_0x1b6b6b(0x141)](),_0x3f2481[_0x1b6b6b(0x174)](_interopRequireDefault,_0x3314ff);}catch{return null;}})());function _interopRequireDefault(_0x47247){return _0x47247&&_0x47247['__esModule']?_0x47247:{'default':_0x47247};}function a20_0x2892(){const _0x59a0a2=['__timeout','DhleV','shutdown','15MQyDwj','MEQPn','ctPzw','default','modifyCommand','jest-config','testPath','PsTQI','CqIEH','buildName','../../../helpers/test-observability/requestQueueHandler','EOcPR','../test-observability/obsReporter','__skipSessionStatus','browserstackPlatformIndex','shouldProcessEventForTesthub','failFast','JEST','failFastActive','capabilities','TsDhR','RcZOm','MqbCL','xGEyg','dBciY','isArray','testContext','../../utils/constants','skip','nestedKeyValue','otNqM','cleanupDrivers','sTqqn','Builder','test_done','browserstackAgentV2','__drivers','jest-resolve','teardown','test_start','4qDCSOx','env','BSTACK_JEST_TEST_ENV','2|0|3|7|4|6|5|1','getInstance','retries__','cwd','10829090xRbNaJ','WAscN','../../../index','CgwDA','skipSessionStatus','browserStackPercyOptions','onTestDone','exports','oHfiS','9OfEMgh','shouldFailFast','jestConfig','../../../helpers/helper','builder','percy','failFastOptions','split','265178uYYbzX','\x20>\x20','../../../helpers/testhub/utils','11WWSGBU','Horfp','browserstackPercyBestPlatform','lbEuQ','cleanup','resolveTestEnvironment','isTrue','join','335532gucVMj','__jestRetries','requireModule','global','1568856HcAZKL','UuZkS','test','Error\x20in\x20fail-fast\x20test_done\x20handler:','__webdriver','../../../helpers/test-orchestration/failfastManager','testEnvironmentOptions','framework','platformCaps','mjHOC','282570SJpinN','SevAS','4387880FgfTlf','configuration','timeout__','debug','winstonLogger','projectConfig','izEjv','capability','mode','skipSessionName','2336327GHwCyW','quit','percyCaptureMode','PUMKe','getTestEnvironment','isNotUndefined','wWoEM','handleTestEvent','ZtQKU','driver','registerListeners','isBrowserstackInfra','TMpHt','jest-environment-node','requireSeleniumWebdriver','projectName'];a20_0x2892=function(){return _0x59a0a2;};return a20_0x2892();}function a20_0x1b63(_0x56c6f7,_0x2f1621){const _0x28924d=a20_0x2892();return a20_0x1b63=function(_0x1b630c,_0x134224){_0x1b630c=_0x1b630c-0x12d;let _0x52bd45=_0x28924d[_0x1b630c];return _0x52bd45;},a20_0x1b63(_0x56c6f7,_0x2f1621);}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a20_0x4fcf7f(0x140)][a20_0x4fcf7f(0x15e)]:null;class CustomEnvironment extends _jestUserEnvironment[a20_0x4fcf7f(0x140)]{constructor(_0x18dc9d){const _0x4d3c91=a20_0x4fcf7f,_0x290bab={'erPJI':_0x4d3c91(0x1a3),'DhleV':function(_0x3d00c0,_0x19cbfe){return _0x3d00c0+_0x19cbfe;},'xGEyg':'bstack:options','WAscN':function(_0x2fd66a,_0x14be2d){return _0x2fd66a(_0x14be2d);},'MEQPn':_0x4d3c91(0x191),'dBciY':_0x4d3c91(0x168),'PUMKe':_0x4d3c91(0x16e),'MqbCL':_0x4d3c91(0x192),'sTqqn':_0x4d3c91(0x171),'Horfp':_0x4d3c91(0x182),'TsDhR':_0x4d3c91(0x1a4),'rrvaV':_0x4d3c91(0x17a)};super(_0x18dc9d),this[_0x4d3c91(0x18b)][_0x4d3c91(0x13a)]=0x0,this[_0x4d3c91(0x199)]={};!_0x18dc9d[_0x4d3c91(0x192)]&&(_0x18dc9d['testEnvironmentOptions']={});if(helper[_0x4d3c91(0x135)]()){_0x18dc9d[_0x4d3c91(0x192)]=_0x18dc9d[_0x4d3c91(0x19d)]?_0x18dc9d[_0x4d3c91(0x19d)]['testEnvironmentOptions']:_0x18dc9d['testEnvironmentOptions'];_seleniumWebdriver2&&(this[_0x4d3c91(0x179)]=new _seleniumWebdriver2[(_0x4d3c91(0x140))][(_0x4d3c91(0x15e))]());this[_0x4d3c91(0x19f)]=_0x18dc9d[_0x4d3c91(0x19d)]?_0x18dc9d[_0x4d3c91(0x19d)][_0x4d3c91(0x19f)]:_0x18dc9d[_0x4d3c91(0x19f)],this['global'][_0x4d3c91(0x13a)]=_0x290bab[_0x4d3c91(0x13b)](_0x18dc9d[_0x4d3c91(0x192)][_0x4d3c91(0x19a)]||0x1388,constants['BSTACK_DELTA']),this[_0x4d3c91(0x17b)]=_0x18dc9d[_0x4d3c91(0x192)][_0x4d3c91(0x14d)];if(this[_0x4d3c91(0x17b)]){const _0x43cafd=this['capability'][_0x290bab[_0x4d3c91(0x154)]]?.[_0x4d3c91(0x146)]||'',_0x3a6f99=this[_0x4d3c91(0x19f)][_0x290bab[_0x4d3c91(0x154)]]?.[_0x4d3c91(0x139)]||'';this[_0x4d3c91(0x14d)]=new(_0x290bab['WAscN'](require,_0x290bab[_0x4d3c91(0x13e)]))(this[_0x4d3c91(0x17b)],_0x43cafd,_0x3a6f99),this['global'][_0x4d3c91(0x14f)]=![];}helper[_0x4d3c91(0x12f)](_0x18dc9d[_0x4d3c91(0x192)][_0x4d3c91(0x16a)])&&(this[_0x4d3c91(0x18b)][_0x4d3c91(0x189)]=_0x18dc9d['testEnvironmentOptions'][_0x4d3c91(0x16a)]);}if(testhubUtils[_0x4d3c91(0x14c)]()){const _0xedd3c0=new ObservabilityReporter();_0xedd3c0[_0x4d3c91(0x134)]();}this['global']['browserStackGlobals']={},this['configuration']=_0x18dc9d[_0x4d3c91(0x192)],this[_0x4d3c91(0x199)][_0x4d3c91(0x193)]=constants['FRAMEWORKS'][_0x4d3c91(0x14e)],this[_0x4d3c91(0x18b)]['browserstackPlatformIndex']=(_0x18dc9d[_0x4d3c91(0x19d)]?_0x18dc9d[_0x4d3c91(0x19d)]['browserstackPlatformIndex']:_0x18dc9d[_0x4d3c91(0x14b)])||0x0,this['global']['__platformCaps']=this['configuration']&&this['configuration'][_0x4d3c91(0x194)]&&Array[_0x4d3c91(0x156)](this[_0x4d3c91(0x199)][_0x4d3c91(0x194)])&&this[_0x4d3c91(0x199)][_0x4d3c91(0x194)][this[_0x4d3c91(0x18b)][_0x4d3c91(0x14b)]]||{};const _0x486cf0=this[_0x4d3c91(0x18b)]['browserstackPlatformIndex'],_0x517758={...this['configuration'],'capability':this['configuration'][_0x4d3c91(0x150)]&&Array[_0x4d3c91(0x156)](this[_0x4d3c91(0x199)][_0x4d3c91(0x150)])&&this[_0x4d3c91(0x199)]['capabilities'][_0x486cf0]||{},'platformCaps':this[_0x4d3c91(0x199)]['platformCaps']&&Array[_0x4d3c91(0x156)](this['configuration']['platformCaps'])&&this[_0x4d3c91(0x199)][_0x4d3c91(0x194)][_0x486cf0]||{}};delete _0x517758[_0x4d3c91(0x150)],this[_0x4d3c91(0x18b)][_0x4d3c91(0x177)]=_0x517758;if(_seleniumWebdriver2){const _0x394009=_0x290bab[_0x4d3c91(0x155)][_0x4d3c91(0x17c)]('|');let _0x47767f=0x0;while(!![]){switch(_0x394009[_0x47767f++]){case'0':this[_0x4d3c91(0x18b)]['__webdriver']=_0x290bab[_0x4d3c91(0x16d)](require,_0x290bab[_0x4d3c91(0x12d)])[_0x4d3c91(0x160)]({...this[_0x4d3c91(0x199)],'capability':this['capability']||{}},this,testhubUtils[_0x4d3c91(0x14c)]());continue;case'1':this[_0x4d3c91(0x18b)][_0x4d3c91(0x184)]=async()=>{const _0x5df5ec=_0x4d3c91;await this[_0x5df5ec(0x18b)][_0x5df5ec(0x133)][_0x5df5ec(0x1a3)](_0x290bab['erPJI']);};continue;case'2':this[_0x4d3c91(0x18b)][_0x4d3c91(0x161)]=[];continue;case'3':this['global'][_0x4d3c91(0x182)]=helper[_0x4d3c91(0x15a)](_0x18dc9d,[_0x290bab[_0x4d3c91(0x153)],_0x290bab[_0x4d3c91(0x15d)],_0x290bab[_0x4d3c91(0x181)]]);continue;case'4':this[_0x4d3c91(0x18b)][_0x4d3c91(0x1a4)]=helper[_0x4d3c91(0x15a)](_0x18dc9d,[_0x290bab[_0x4d3c91(0x153)],_0x290bab[_0x4d3c91(0x15d)],_0x290bab[_0x4d3c91(0x151)]]);continue;case'5':this[_0x4d3c91(0x18b)][_0x4d3c91(0x14a)]=helper[_0x4d3c91(0x186)](this[_0x4d3c91(0x199)][_0x4d3c91(0x170)]);continue;case'6':helper[_0x4d3c91(0x186)](this[_0x4d3c91(0x199)][_0x4d3c91(0x1a1)])?this[_0x4d3c91(0x18b)]['sessionNameProvided']=!![]:this[_0x4d3c91(0x18b)]['sessionNameProvided']=![];continue;case'7':this[_0x4d3c91(0x18b)][_0x4d3c91(0x17a)]=helper[_0x4d3c91(0x15a)](_0x18dc9d,[_0x290bab['MqbCL'],_0x290bab['sTqqn'],_0x290bab['rrvaV']]);continue;}break;}}}async[a20_0x4fcf7f(0x163)](){const _0x66a241=a20_0x4fcf7f;_seleniumWebdriver2&&(await helper[_0x66a241(0x15c)](this['global']['__driversArray']),this[_0x66a241(0x18b)][_0x66a241(0x190)][_0x66a241(0x15e)]=originalBuilder),await RequestQueueHandler[_0x66a241(0x169)]()[_0x66a241(0x13c)]();}async['setup'](){}async[a20_0x4fcf7f(0x131)](_0x5161c1,_0xe6ab42){const _0x5182f1=a20_0x4fcf7f,_0x3baa1d={};_0x3baa1d[_0x5182f1(0x183)]=function(_0x65e6a0,_0x15564c){return _0x65e6a0===_0x15564c;},_0x3baa1d[_0x5182f1(0x152)]=_0x5182f1(0x164),_0x3baa1d[_0x5182f1(0x132)]=_0x5182f1(0x159),_0x3baa1d[_0x5182f1(0x144)]=function(_0x15d7a5,_0x82cb73){return _0x15d7a5===_0x82cb73;},_0x3baa1d['TMpHt']=_0x5182f1(0x15f),_0x3baa1d[_0x5182f1(0x18d)]=_0x5182f1(0x17e),_0x3baa1d[_0x5182f1(0x15b)]=function(_0x27de91,_0x32ee4e){return _0x27de91===_0x32ee4e;},_0x3baa1d['CgwDA']=_0x5182f1(0x18f),_0x3baa1d[_0x5182f1(0x13f)]=function(_0x407102,_0x271c7a){return _0x407102===_0x271c7a;},_0x3baa1d[_0x5182f1(0x145)]=_0x5182f1(0x163);const _0x2faff2=_0x3baa1d,{name:_0xfdea7d}=_0x5161c1;if(_0x2faff2[_0x5182f1(0x183)](_0xfdea7d,_0x2faff2['RcZOm'])){this[_0x5182f1(0x18b)][_0x5182f1(0x157)]=_0x5161c1[_0x5182f1(0x18e)];if(_0x2faff2[_0x5182f1(0x183)](this['global']['failFastActive'],!![])){const _0x47bcb3=_0x5161c1['test']['name'];logger['info']('Fail-fast\x20is\x20active,\x20skipping\x20test::\x20'+_0x47bcb3),_0x5161c1[_0x5182f1(0x18e)][_0x5182f1(0x1a0)]=_0x2faff2[_0x5182f1(0x132)];}}if(this[_0x5182f1(0x14d)]&&_0x2faff2[_0x5182f1(0x144)](_0xfdea7d,_0x2faff2[_0x5182f1(0x136)]))try{const _0x59dac4=_0x5161c1['test'][_0x5182f1(0x143)][_0x5182f1(0x187)](_0x2faff2[_0x5182f1(0x18d)]),_0x2bd717=_0x5161c1[_0x5182f1(0x18e)]['errors'];await this[_0x5182f1(0x14d)][_0x5182f1(0x172)](_0x59dac4,_0x2bd717);const _0x6066d3=await this[_0x5182f1(0x14d)][_0x5182f1(0x176)]();_0x2faff2[_0x5182f1(0x183)](this['global'][_0x5182f1(0x14f)],![])&&_0x2faff2[_0x5182f1(0x15b)](_0x6066d3,!![])&&(this[_0x5182f1(0x18b)][_0x5182f1(0x14f)]=!![]);}catch(_0x54be07){logger[_0x5182f1(0x19b)](_0x2faff2[_0x5182f1(0x16f)],_0x54be07['message']);}_0x2faff2[_0x5182f1(0x13f)](_0xfdea7d,_0x2faff2[_0x5182f1(0x145)])&&(this[_0x5182f1(0x14d)]&&this[_0x5182f1(0x14d)][_0x5182f1(0x184)]());}}module[a20_0x4fcf7f(0x173)]=CustomEnvironment;
@@ -1 +1 @@
1
- const a21_0x4f04ed=a21_0x4055;(function(_0x29f635,_0x8bcf66){const _0x186d8b=a21_0x4055,_0x50bcf0=_0x29f635();while(!![]){try{const _0x1858d0=parseInt(_0x186d8b(0x2f0))/0x1+parseInt(_0x186d8b(0x287))/0x2+parseInt(_0x186d8b(0x290))/0x3*(parseInt(_0x186d8b(0x208))/0x4)+parseInt(_0x186d8b(0x2ce))/0x5*(-parseInt(_0x186d8b(0x272))/0x6)+-parseInt(_0x186d8b(0x2f9))/0x7*(-parseInt(_0x186d8b(0x2b9))/0x8)+-parseInt(_0x186d8b(0x2df))/0x9*(parseInt(_0x186d8b(0x29f))/0xa)+parseInt(_0x186d8b(0x2bb))/0xb*(-parseInt(_0x186d8b(0x24c))/0xc);if(_0x1858d0===_0x8bcf66)break;else _0x50bcf0['push'](_0x50bcf0['shift']());}catch(_0x1798cb){_0x50bcf0['push'](_0x50bcf0['shift']());}}}(a21_0x29d8,0xf254b));const {requireModule,isTrue}=require('../../../helpers/helper'),ObservabilityReporter=require(a21_0x4f04ed(0x281)),RequestQueueHandler=require(a21_0x4f04ed(0x2c8)),TestDetails=require(a21_0x4f04ed(0x209)),{patchConsoleLogger,debug}=require('../../../helpers/test-observability/utils'),{o11yErrorHandler}=require(a21_0x4f04ed(0x276)),{shouldProcessEventForTesthub}=require(a21_0x4f04ed(0x288)),testHubConstants=require(a21_0x4f04ed(0x2dd)),BrowserstackCLI=require(a21_0x4f04ed(0x2f2)),TestFrameworkState=require(a21_0x4f04ed(0x219)),HookState=require(a21_0x4f04ed(0x258)),JestUtils=require(a21_0x4f04ed(0x2a2)),{v4:uuidv4}=require(a21_0x4f04ed(0x2d3)),util=require('util'),logger=require(a21_0x4f04ed(0x2ed))[a21_0x4f04ed(0x2b1)],{FRAMEWORKS}=require(a21_0x4f04ed(0x2e4));let exportsI;try{exportsI=requireModule(a21_0x4f04ed(0x2c9),a21_0x4f04ed(0x2fe));}catch{exportsI=requireModule(a21_0x4f04ed(0x20f),a21_0x4f04ed(0x2fe));}const initInitialize=exportsI[a21_0x4f04ed(0x2a9)],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();function a21_0x4055(_0x5b39f9,_0x5c89eb){const _0x29d8e9=a21_0x29d8();return a21_0x4055=function(_0x405504,_0x5c4a28){_0x405504=_0x405504-0x1f0;let _0xf5a2ba=_0x29d8e9[_0x405504];return _0xf5a2ba;},a21_0x4055(_0x5b39f9,_0x5c89eb);}let _currentTestPath=null;function getFullJestTestName(_0x4c87ff){const _0x217ebf=a21_0x4f04ed,_0x3929da={};_0x3929da[_0x217ebf(0x29a)]=function(_0x324c90,_0x492fbe){return _0x324c90!==_0x492fbe;},_0x3929da[_0x217ebf(0x23e)]='ROOT_DESCRIBE_BLOCK';const _0xeb107f=_0x3929da;try{const _0x1e4cb1=[];let _0x128027=_0x4c87ff;while(_0x128027){_0x128027[_0x217ebf(0x2f6)]&&_0xeb107f[_0x217ebf(0x29a)](_0x128027[_0x217ebf(0x2f6)],_0xeb107f[_0x217ebf(0x23e)])&&_0x1e4cb1['unshift'](_0x128027[_0x217ebf(0x2f6)]),_0x128027=_0x128027[_0x217ebf(0x2b4)];}return _0x1e4cb1['join']('\x20');}catch(_0x1fd3c3){return _0x4c87ff&&_0x4c87ff[_0x217ebf(0x2f6)]||'';}}function getActiveTestNamePattern(){const _0x259138=a21_0x4f04ed,_0x4ad6d9={'ecciD':function(_0x465ece,_0x1f226c,_0x160b67){return _0x465ece(_0x1f226c,_0x160b67);},'OcbQM':_0x259138(0x282),'XcPvL':_0x259138(0x2fe),'xqfLm':function(_0x34c455,_0x5d1394){return _0x34c455(_0x5d1394);},'AzhlY':function(_0x3177d7,_0x654439){return _0x3177d7===_0x654439;},'JmqTc':'function','OlBLg':function(_0x378175,_0x45d5a4){return _0x378175 instanceof _0x45d5a4;},'OjBwn':function(_0x514e49,_0x17ff8f){return _0x514e49===_0x17ff8f;},'LLLVP':_0x259138(0x24a),'sXiYJ':function(_0x10f3b6,_0xb95b2f){return _0x10f3b6>_0xb95b2f;},'dWqWl':function(_0x47f6e1,_0x337271){return _0x47f6e1<_0x337271;},'FFBii':_0x259138(0x217),'sECvf':function(_0x596796,_0x15bc25){return _0x596796+_0x15bc25;},'ErBpq':_0x259138(0x2c2),'ZfuTj':_0x259138(0x2a5)};try{let _0x8c7d3c;try{_0x8c7d3c=_0x4ad6d9[_0x259138(0x2da)](requireModule,_0x4ad6d9[_0x259138(0x235)],_0x4ad6d9['XcPvL']);}catch{_0x8c7d3c=_0x4ad6d9[_0x259138(0x2fd)](requireModule,_0x4ad6d9['XcPvL']);}if(_0x8c7d3c&&_0x4ad6d9['AzhlY'](typeof _0x8c7d3c[_0x259138(0x263)],_0x4ad6d9['JmqTc'])){const _0x125ab3=_0x8c7d3c['getState']();if(_0x125ab3&&_0x125ab3[_0x259138(0x2c0)]){if(_0x4ad6d9[_0x259138(0x28e)](_0x125ab3[_0x259138(0x2c0)],RegExp))return _0x125ab3[_0x259138(0x2c0)];if(_0x4ad6d9[_0x259138(0x201)](typeof _0x125ab3[_0x259138(0x2c0)],_0x4ad6d9[_0x259138(0x303)])&&_0x4ad6d9['sXiYJ'](_0x125ab3[_0x259138(0x2c0)][_0x259138(0x284)],0x0))return new RegExp(_0x125ab3['testNamePattern'],'i');}}}catch(_0x1a38f7){}try{const _0x480df3=process[_0x259138(0x2c4)]||[];for(let _0x480df2=0x0;_0x4ad6d9[_0x259138(0x283)](_0x480df2,_0x480df3[_0x259138(0x284)]);_0x480df2++){const _0xd65cdd=_0x480df3[_0x480df2];if(_0x4ad6d9[_0x259138(0x201)](_0xd65cdd,'-t')||_0x4ad6d9['AzhlY'](_0xd65cdd,_0x4ad6d9['FFBii'])){const _0x36eca8=_0x480df3[_0x4ad6d9['sECvf'](_0x480df2,0x1)];if(_0x36eca8&&!_0x36eca8['startsWith']('-'))return new RegExp(_0x36eca8,'i');}else{if(_0xd65cdd&&(_0xd65cdd[_0x259138(0x26f)](_0x4ad6d9[_0x259138(0x2bc)])||_0xd65cdd['startsWith'](_0x4ad6d9[_0x259138(0x26b)]))){const _0x24b740=_0xd65cdd[_0x259138(0x251)]('=')[_0x259138(0x29d)](0x1)[_0x259138(0x20e)]('=');if(_0x24b740)return new RegExp(_0x24b740,'i');}}}}catch(_0x31cb28){}return null;}function isPhantomSkipFromNameFilter(_0x3300ba){const _0x5599a5=a21_0x4f04ed,_0x1e2e79={'urhLN':function(_0x4836e3){return _0x4836e3();},'JvnoW':function(_0x20c00b,_0x4e3399){return _0x20c00b(_0x4e3399);}},_0x325a5d=_0x1e2e79[_0x5599a5(0x2e7)](getActiveTestNamePattern);if(!_0x325a5d)return![];const _0x1406a3=_0x1e2e79[_0x5599a5(0x206)](getFullJestTestName,_0x3300ba);if(!_0x1406a3)return![];return!_0x325a5d['test'](_0x1406a3);}function a21_0x29d8(){const _0x81e2ab=['join','jest-circus/build/jestAdapterInit.js','WMnwW','Error\x20routing\x20to\x20JestTestFramework:\x20',',\x20BROWSERSTACK_PUPPETEER=','OhIrR','beforeAll','yBvYb','file','--testNamePattern','YWLyq','../../v2/state/testFrameworkState','_currentRetry','beforeEach','nkKsJ','type','error','asyncError',':hookAnalyticsId','vzFfS','afterAll','mZZep','OqzsJ','rncUs','hook_start','romat','OXATB','__rerunFilterHelpers','started_at','testInfo','HookRunStarted','Vvftq','registerListeners','cAqnS','gEFFR','unhandledErrors','failed','removeTestUUID','stack-trace','OcbQM','ThKMV','hook_success','wbsrf','MHozy','currentTest','trackEvent','ROOT_DESCRIBE_BLOCK','removeActiveHook','YhctU','_bstackTestStatus','test','test_start',',\x20re-registering\x20event\x20handler','addEventHandler','JEdfS','GZaxv','NjuEI','Vjsjx','ZmgrN','message','string','BROWSERSTACK_RERUN','312ojosqd','LOG_REPORT','getFileName','tVPQl','hookAnalyticsId','split','unshift','hook','WyhLL','debug','sendTestRunEvent','lAKHR','../../v2/state/hookState','VGnZn','YAhtO','mRHgl','config','teardown','Error\x20checking\x20CLI\x20readiness:\x20','makeSingleTestResult','EventHandler','__jestCurrentTestIdentifier','ptfMM','getState','jeufo','EYgJk','xrUVZ','BEFORE_ALL','UGevB','errorsDetailed','failureMessage','ZfuTj','alRUQ','testAnalyticsId','createIdentifierFromJestTest','startsWith','rWtll','isRunning','6474xozmpG','aNfuk','pid','EVENT','../../../helpers/test-observability/error-handler','TestRunFinished','ZAmVO','removeAllListeners','testPath','toISOString','NjEMu','XdnIN','format','Error\x20reading\x20platformIndex\x20from\x20args:\x20','getTestFramework','../test-observability/obsReporter','jest-circus/build/state.js','dWqWl','length','yKqlD','CLI\x20is\x20enabled\x20and\x20running.','2037716RmQVEi','../../../helpers/testhub/utils','setFrameworkDetail','BEFORE_EACH','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','znXLy','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','OlBLg','iNhqj','20835kiVLVb','title','PUPPETEER','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','iVeKx','qcQjw','keys','afterEach','RVUFm','BddqK','EBJSG','[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20','[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22','slice','FNSXU','10VAYnWy','browserstackPlatformIndex','pjGWO','../../v2/utils/jest-utils','ovNmw','HookRunFinished','-t=','wZGYK','toString','TestRunStarted','initialize','parse','aVlJI','has','bIyVd','PtpNk','uztaX','isCliEnabled','winstonLogger','WSazA','POST','parent','createHookData','czRuj','tWxbv','[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22','16472aZbGvD','qdeMM','848947Abekxc','ErBpq','cdpJI','adBNo','sYlNT','testNamePattern','errors','--testNamePattern=','setTestUUID','argv','TrXeI','SRepk','map','../../../helpers/test-observability/requestQueueHandler','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','PRE','BROWSERSTACK_PUPPETEER','isPhantomSkipFromNameFilter','lQHIj','2445LDrfpO','VMdCW','run_describe_finish','fIGAp','_bstackTestName','uuid','retryOf','kbyOs','add','__workerDetails','testIdentifier','getFullJestTestName','ecciD','current_test','number','../../../helpers/testhub/constants','env','1989531zKBxbT','HookFinished','JEST','PcCQR','createTestFrameworkData','../../utils/constants','TEST','jest-circus/build/utils.js','urhLN','Handling\x20test\x20event\x20for\x20CLI:\x20','VTMjb','HookStarted','markedStatus','iaZZx','../../../helpers/logger','Atdib','TestRunSkipped','1096748YwPDPk','BROWSERSTACK_PLATFORM_INDEX','../../v2/browserstackCLI','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','_bstackTestFailureReason','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','name','gXGVM','AFTER_ALL','1134tTxNVB','[Rerun]\x20Suppressed\x20phantom\x20TestRunStarted\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','bootstrap','hNKTs','xqfLm','jest-circus','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','test_skip','[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20','getInstance','LLLVP','hookData','BROWSERSTACK_CLI_BIN_SESSION_ID','currentHook','fail','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','__bstackPlatformIndex','configuration','call','test_done','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','hook_failure','testUUID','GSyYh','browserstackTestName','AcfJL','RVJId','jestConfig','OjBwn','[Rerun]\x20Suppressed\x20phantom\x20TestRunSkipped\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','match','DXdbo','originalTest','JvnoW','jrsTT','748XdGEEd','../test-observability/test-details','cwVKP','hookUUID','ZPWRD','WnNYV'];a21_0x29d8=function(){return _0x81e2ab;};return a21_0x29d8();}async function isCLIReady(){const _0x3f0f25=a21_0x4f04ed,_0x6b4aca={'aNfuk':_0x3f0f25(0x286),'wZGYK':function(_0x4e1b95,_0x3707d5){return _0x4e1b95(_0x3707d5);},'adBNo':'../../v2/cliUtils','vzFfS':function(_0x3c55ee,_0x2d18a1){return _0x3c55ee===_0x2d18a1;},'tdcaa':'true','ZmgrN':function(_0x24c994,_0x6eb04d){return _0x24c994(_0x6eb04d);},'rWtll':function(_0x3f57a3,_0x236865){return _0x3f57a3(_0x236865);}};try{const _0x1ddc55=BrowserstackCLI[_0x3f0f25(0x302)]();if(_0x1ddc55[_0x3f0f25(0x2b0)]()&&_0x1ddc55[_0x3f0f25(0x271)]())return logger[_0x3f0f25(0x255)](_0x6b4aca[_0x3f0f25(0x273)]),!![];const _0x1026c1=process[_0x3f0f25(0x2de)][_0x3f0f25(0x1f1)];if(_0x1026c1&&_0x1ddc55['isCliEnabled']()){if(!_0x1ddc55[_0x3f0f25(0x271)]())try{const _0x2a5eb2=_0x6b4aca[_0x3f0f25(0x2a6)](require,_0x6b4aca[_0x3f0f25(0x2be)]),_0xbae2ae=_0x2a5eb2['getAutomationFrameworkDetail']();(!_0xbae2ae||!_0xbae2ae[_0x3f0f25(0x2f6)])&&(_0x6b4aca[_0x3f0f25(0x221)](process[_0x3f0f25(0x2de)][_0x3f0f25(0x2cb)],_0x6b4aca['tdcaa'])?_0x2a5eb2[_0x3f0f25(0x289)](FRAMEWORKS[_0x3f0f25(0x2e1)],FRAMEWORKS[_0x3f0f25(0x292)]):_0x2a5eb2['setFrameworkDetail'](FRAMEWORKS[_0x3f0f25(0x2e1)],FRAMEWORKS['PLAYWRIGHT'])),await _0x1ddc55[_0x3f0f25(0x2fb)]();}catch(_0x392b64){return _0x6b4aca[_0x3f0f25(0x248)](debug,_0x3f0f25(0x28d)+util[_0x3f0f25(0x27e)](_0x392b64)),![];}return _0x1ddc55['isRunning']();}return![];}catch(_0x4c54af){return _0x6b4aca[_0x3f0f25(0x270)](debug,_0x3f0f25(0x25e)+util[_0x3f0f25(0x27e)](_0x4c54af)),![];}}function getTestIdentifierForHook(_0x21f09f){const _0x3e17c0=a21_0x4f04ed,_0x201129={};_0x201129[_0x3e17c0(0x2ba)]=function(_0x288bc4,_0x33cb48){return _0x288bc4===_0x33cb48;},_0x201129[_0x3e17c0(0x20c)]=_0x3e17c0(0x21b),_0x201129[_0x3e17c0(0x21c)]=function(_0x275ef5,_0xbc562b){return _0x275ef5===_0xbc562b;},_0x201129['wbsrf']='beforeAll',_0x201129[_0x3e17c0(0x225)]=function(_0x5bdcdf,_0x561705){return _0x5bdcdf===_0x561705;};const _0x1ed928=_0x201129;if(_0x1ed928[_0x3e17c0(0x2ba)](_0x21f09f[_0x3e17c0(0x21d)],_0x1ed928[_0x3e17c0(0x20c)])||_0x1ed928[_0x3e17c0(0x21c)](_0x21f09f['type'],_0x1ed928[_0x3e17c0(0x238)])){let _0x59c414=global[_0x3e17c0(0x261)];if(!_0x59c414&&_0x1ed928[_0x3e17c0(0x225)](_0x21f09f[_0x3e17c0(0x21d)],_0x1ed928['wbsrf'])&&_0x21f09f['parent']){const _0x54913d={};_0x54913d['name']=_0x21f09f[_0x3e17c0(0x2b4)][_0x3e17c0(0x2f6)],_0x54913d[_0x3e17c0(0x2b4)]=_0x21f09f['parent'][_0x3e17c0(0x2b4)],_0x54913d['asyncError']=_0x21f09f[_0x3e17c0(0x21f)],_0x54913d[_0x3e17c0(0x216)]=_0x21f09f['file'];const _0x3f47fc=_0x54913d;_0x59c414=jestUtils[_0x3e17c0(0x26e)](_0x3f47fc);}return _0x59c414;}return global[_0x3e17c0(0x261)];}function mapHookTypeToState(_0x7f2bba){const _0x4b968d=a21_0x4f04ed,_0x590e7a={};_0x590e7a[_0x4b968d(0x214)]=TestFrameworkState[_0x4b968d(0x267)],_0x590e7a[_0x4b968d(0x222)]=TestFrameworkState[_0x4b968d(0x2f8)],_0x590e7a[_0x4b968d(0x21b)]=TestFrameworkState['BEFORE_EACH'],_0x590e7a[_0x4b968d(0x297)]=TestFrameworkState['AFTER_EACH'];const _0x47c6c=_0x590e7a;return _0x47c6c[_0x7f2bba]||TestFrameworkState[_0x4b968d(0x28a)];}async function handleHookEventCLI(_0xfc0e84,_0x1fdb07,_0x40c2bd){const _0x6a5644=a21_0x4f04ed,_0x42d873={'WGEpW':function(_0x36abda,_0x1bf489){return _0x36abda(_0x1bf489);},'mZZep':_0x6a5644(0x234),'GSyYh':function(_0x29975a,_0x24c167){return _0x29975a===_0x24c167;},'yKqlD':'ROOT_DESCRIBE_BLOCK','RVJId':function(_0x3cee3a){return _0x3cee3a();},'HeYru':function(_0x141598){return _0x141598();},'NjuEI':'HookRunStarted','HrRNM':function(_0x6e6ac4,_0x399d78){return _0x6e6ac4===_0x399d78;},'EYgJk':function(_0x455148,_0x1e7c37){return _0x455148(_0x1e7c37);},'MHozy':function(_0x43bf5b,_0x149f8c){return _0x43bf5b===_0x149f8c;},'OhIrR':function(_0x4e4c89,_0x4c2cb7){return _0x4e4c89===_0x4c2cb7;},'lQHIj':_0x6a5644(0x2a4),'NjEMu':_0x6a5644(0x253)};logger['debug']('Handling\x20hook\x20event\x20for\x20CLI:\x20'+_0x1fdb07+'\x20for\x20hook\x20type:\x20'+_0xfc0e84[_0x6a5644(0x21d)]);try{if(_0xfc0e84['fn']&&_0xfc0e84['fn'][_0x6a5644(0x2a7)]()[_0x6a5644(0x203)](/browserstack internal helper hook/))return;if(_0xfc0e84['parent']&&_0x42d873[_0x6a5644(0x1fc)](_0xfc0e84[_0x6a5644(0x2b4)][_0x6a5644(0x2f6)],_0x42d873[_0x6a5644(0x285)])){const _0x905733=_0xfc0e84[_0x6a5644(0x21f)]&&((()=>{const _0x5b0cd6=_0x6a5644;try{const _0x438aea=_0x42d873['WGEpW'](require,_0x42d873[_0x5b0cd6(0x223)]),_0x3e0ea8=_0x438aea[_0x5b0cd6(0x2aa)][_0x5b0cd6(0x1f7)](_0x438aea,_0xfc0e84[_0x5b0cd6(0x21f)]);return _0x3e0ea8[0x0]&&_0x3e0ea8[0x0][_0x5b0cd6(0x24e)]?_0x3e0ea8[0x0][_0x5b0cd6(0x24e)]():null;}catch(_0x49006a){return logger[_0x5b0cd6(0x255)](_0x5b0cd6(0x2f5)+_0x49006a[_0x5b0cd6(0x249)]),null;}})())||_0xfc0e84[_0x6a5644(0x216)]||null;if(!_0x905733)return;}let _0x237897=_0xfc0e84['hookAnalyticsId'];if(!_0x237897)_0x237897=_0x42d873[_0x6a5644(0x1ff)](uuidv4),_0xfc0e84['hookAnalyticsId']=_0x237897;else _0xfc0e84[_0x6a5644(0x2eb)]&&(_0x237897=_0x42d873['HeYru'](uuidv4),_0xfc0e84[_0x6a5644(0x250)]=_0x237897,delete _0xfc0e84[_0x6a5644(0x2eb)]);_0x42d873[_0x6a5644(0x1fc)](_0x1fdb07,_0x42d873[_0x6a5644(0x246)])&&(_0xfc0e84['started_at']=new Date()[_0x6a5644(0x27b)]());const _0x454a4d=_0x42d873['WGEpW'](getTestIdentifierForHook,_0xfc0e84);!global[_0x6a5644(0x2d7)]&&(global[_0x6a5644(0x2d7)]={});if(_0x42d873['HrRNM'](_0x1fdb07,_0x42d873[_0x6a5644(0x246)])){global['__workerDetails']['currentHook']={'hookUUID':_0x237897,'testIdentifier':_0x454a4d,'hookType':_0xfc0e84[_0x6a5644(0x21d)],'startedAt':new Date()[_0x6a5644(0x27b)]()};const _0xa79aea=BrowserstackCLI[_0x6a5644(0x302)]()['getTestFramework']();_0xa79aea&&_0xa79aea['setActiveHook']&&_0xa79aea['setActiveHook'](_0x454a4d,_0x237897,_0xfc0e84[_0x6a5644(0x21d)]);}const _0x58ecfd=await jestUtils[_0x6a5644(0x2b5)](_0xfc0e84,_0x237897,_0x1fdb07,_0x454a4d);if(!_0x58ecfd)return;const _0x30ed87=_0x42d873[_0x6a5644(0x265)](mapHookTypeToState,_0xfc0e84[_0x6a5644(0x21d)]),_0x193646=_0x42d873[_0x6a5644(0x239)](_0x1fdb07,_0x42d873[_0x6a5644(0x246)])?HookState['PRE']:HookState['POST'],_0xd807f0=BrowserstackCLI[_0x6a5644(0x302)]()['getTestFramework']();if(_0xd807f0){const _0x235a1f={};_0x235a1f[_0x6a5644(0x1f0)]=_0x58ecfd,await _0xd807f0[_0x6a5644(0x23b)](_0x30ed87,_0x193646,_0x235a1f);if(_0x42d873[_0x6a5644(0x213)](_0x1fdb07,_0x42d873[_0x6a5644(0x2cd)])){const _0x4ce10c={};_0x4ce10c[_0x6a5644(0x1fb)]=_0x454a4d,_0x4ce10c[_0x6a5644(0x21d)]=_0x42d873[_0x6a5644(0x27c)],await _0xd807f0['trackEvent'](TestFrameworkState[_0x6a5644(0x24d)],HookState[_0x6a5644(0x2b3)],_0x4ce10c),global[_0x6a5644(0x2d7)]&&global[_0x6a5644(0x2d7)][_0x6a5644(0x1f2)]&&_0x42d873['MHozy'](global[_0x6a5644(0x2d7)][_0x6a5644(0x1f2)][_0x6a5644(0x20b)],_0x237897)&&delete global[_0x6a5644(0x2d7)][_0x6a5644(0x1f2)],_0xd807f0['removeActiveHook']&&_0xd807f0[_0x6a5644(0x23d)](_0x454a4d,_0x237897);}}}catch(_0x4b7005){logger[_0x6a5644(0x21e)](_0x6a5644(0x1f9)+util[_0x6a5644(0x27e)](_0x4b7005));throw _0x4b7005;}}async function handleTestEventCLI(_0x4fa101,_0x692907,_0x31cec4){const _0x12e2ba=a21_0x4f04ed,_0xb8d7d3={};_0xb8d7d3[_0x12e2ba(0x20d)]=function(_0x1921b8,_0x1cf2c6){return _0x1921b8===_0x1cf2c6;},_0xb8d7d3[_0x12e2ba(0x257)]=_0x12e2ba(0x2a8),_0xb8d7d3['iNhqj']=function(_0x36a95d,_0x31a98b){return _0x36a95d>_0x31a98b;},_0xb8d7d3['yBvYb']=function(_0x3d896a,_0x38f5ac){return _0x3d896a&&_0x38f5ac;},_0xb8d7d3[_0x12e2ba(0x28c)]=_0x12e2ba(0x232),_0xb8d7d3['jrsTT']=_0x12e2ba(0x277),_0xb8d7d3['VTMjb']=function(_0x82c3d3,_0x36b5f0){return _0x82c3d3&&_0x36b5f0;},_0xb8d7d3['rBtGP']=_0x12e2ba(0x240);const _0x279bc0=_0xb8d7d3;logger['debug'](_0x12e2ba(0x2e8)+_0x692907);try{let _0x1e31c0;if(_0x279bc0[_0x12e2ba(0x20d)](_0x692907,_0x279bc0['lAKHR'])){_0x1e31c0=jestUtils[_0x12e2ba(0x26e)](_0x4fa101),global[_0x12e2ba(0x261)]=_0x1e31c0,_0x4fa101[_0x12e2ba(0x26d)]=_0x1e31c0,_0x4fa101['id']=_0x1e31c0,_0x4fa101[_0x12e2ba(0x22a)]=new Date()[_0x12e2ba(0x27b)]();const _0x3e3dc3=_0x31cec4[_0x12e2ba(0x2db)];_0x31cec4[_0x12e2ba(0x2db)]=_0x4fa101,_0x4fa101[_0x12e2ba(0x2d4)]=null;if(_0x279bc0[_0x12e2ba(0x28f)](_0x4fa101[_0x12e2ba(0x21a)],0x0)&&_0x3e3dc3&&_0x279bc0[_0x12e2ba(0x20d)](_0x3e3dc3[_0x12e2ba(0x291)],_0x4fa101[_0x12e2ba(0x291)])){_0x4fa101[_0x12e2ba(0x2d4)]=_0x3e3dc3[_0x12e2ba(0x26d)];const _0x217e92=await jestUtils[_0x12e2ba(0x2e3)](_0x4fa101,_0x1e31c0,_0x279bc0[_0x12e2ba(0x257)]),_0x111c51=BrowserstackCLI['getInstance']()['getTestFramework']();if(_0x279bc0[_0x12e2ba(0x215)](_0x217e92,_0x111c51)){const _0x5d1bdf={};_0x5d1bdf[_0x12e2ba(0x240)]=_0x217e92,await _0x111c51['trackEvent'](TestFrameworkState[_0x12e2ba(0x2e5)],HookState[_0x12e2ba(0x2ca)],_0x5d1bdf);}_0x3e3dc3['state']=_0x279bc0['znXLy'];const _0xc0bb94=await jestUtils[_0x12e2ba(0x2e3)](_0x3e3dc3,_0x3e3dc3[_0x12e2ba(0x26d)],_0x279bc0[_0x12e2ba(0x207)]);if(_0x279bc0[_0x12e2ba(0x215)](_0xc0bb94,_0x111c51)){const _0x59d783={};_0x59d783[_0x12e2ba(0x240)]=_0xc0bb94,await _0x111c51['trackEvent'](TestFrameworkState[_0x12e2ba(0x2e5)],HookState[_0x12e2ba(0x2b3)],_0x59d783);}}else{const _0x402feb=await jestUtils[_0x12e2ba(0x2e3)](_0x4fa101,_0x1e31c0,_0x279bc0[_0x12e2ba(0x257)]),_0x1c6ed1=BrowserstackCLI[_0x12e2ba(0x302)]()[_0x12e2ba(0x280)]();if(_0x279bc0['VTMjb'](_0x402feb,_0x1c6ed1)){const _0x406b35={};_0x406b35[_0x12e2ba(0x240)]=_0x402feb,await _0x1c6ed1[_0x12e2ba(0x23b)](TestFrameworkState[_0x12e2ba(0x2e5)],HookState['PRE'],_0x406b35);}}}else{_0x1e31c0=_0x4fa101[_0x12e2ba(0x26d)]||_0x4fa101['id']||global[_0x12e2ba(0x261)];const _0x196686=await jestUtils[_0x12e2ba(0x2e3)](_0x4fa101,_0x1e31c0,_0x692907),_0x359ed0=BrowserstackCLI[_0x12e2ba(0x302)]()[_0x12e2ba(0x280)]();if(_0x279bc0[_0x12e2ba(0x2e9)](_0x196686,_0x359ed0)){const _0xe8ba46={};_0xe8ba46[_0x12e2ba(0x240)]=_0x196686,_0xe8ba46[_0x12e2ba(0x205)]=_0x4fa101,_0xe8ba46[_0x12e2ba(0x2d8)]=_0x1e31c0,await _0x359ed0[_0x12e2ba(0x23b)](TestFrameworkState[_0x12e2ba(0x2e5)],HookState[_0x12e2ba(0x2b3)],_0xe8ba46);const _0x4ba4ff={};_0x4ba4ff[_0x12e2ba(0x1fb)]=_0x1e31c0,_0x4ba4ff[_0x12e2ba(0x21d)]=_0x279bc0['rBtGP'],await _0x359ed0['trackEvent'](TestFrameworkState[_0x12e2ba(0x24d)],HookState['POST'],_0x4ba4ff);}}}catch(_0x22a616){logger['error'](_0x12e2ba(0x1f4)+util[_0x12e2ba(0x27e)](_0x22a616));throw _0x22a616;}}exportsI['initialize']=(..._0x48427e)=>{const _0x4465a1=a21_0x4f04ed,_0x3696aa={'WMnwW':function(_0x4a297b,_0x2dbc43){return _0x4a297b(_0x2dbc43);},'pjGWO':function(_0x2ab22b,_0x19f14e){return _0x2ab22b(_0x19f14e);},'gjUwD':_0x4465a1(0x234),'Vvftq':function(_0x18c275,_0x2961bb){return _0x18c275&&_0x2961bb;},'jeufo':_0x4465a1(0x226),'YAhtO':function(_0x15a4f1,_0x2b7215){return _0x15a4f1===_0x2b7215;},'alRUQ':_0x4465a1(0x23c),'mRHgl':function(_0x3aa1d4){return _0x3aa1d4();},'xOjSc':function(_0x5674a6,_0x53ab4c){return _0x5674a6(_0x53ab4c);},'ThKMV':function(_0x3f73cb,_0x498a74,_0x1edb99,_0x3670da){return _0x3f73cb(_0x498a74,_0x1edb99,_0x3670da);},'XdnIN':_0x4465a1(0x22c),'RVUFm':function(_0x31deed,_0x432fea){return _0x31deed(_0x432fea);},'czRuj':_0x4465a1(0x237),'GPUNj':function(_0x385569,_0x23f556,_0x1c329d,_0x1790d7){return _0x385569(_0x23f556,_0x1c329d,_0x1790d7);},'UGevB':_0x4465a1(0x2a4),'ovNmw':_0x4465a1(0x1fa),'gEFFR':_0x4465a1(0x214),'OqzsJ':_0x4465a1(0x21b),'BpgGj':'afterEach','xrUVZ':function(_0x4cc5b0,_0x46b9ee){return _0x4cc5b0>_0x46b9ee;},'VMdCW':function(_0x1097d3){return _0x1097d3();},'hNKTs':function(_0x12de73,_0x195fb7){return _0x12de73(_0x195fb7);},'PcCQR':function(_0x1408ff,_0x1d5fe2){return _0x1408ff(_0x1d5fe2);},'cAqnS':_0x4465a1(0x241),'cdpJI':function(_0x24d560,_0xfbeec7){return _0x24d560(_0xfbeec7);},'FNSXU':function(_0x2506f7,_0x41e8a4){return _0x2506f7(_0x41e8a4);},'SRepk':function(_0x203611,_0x25b1a9){return _0x203611!==_0x25b1a9;},'Vjsjx':'\x20>\x20','tWxbv':function(_0x3ed509,_0x360796,_0x47a046,_0x152177){return _0x3ed509(_0x360796,_0x47a046,_0x152177);},'VGnZn':'TestRunStarted','ZAmVO':function(_0x804720,_0x45e96b){return _0x804720(_0x45e96b);},'PtpNk':function(_0xb9cfc4){return _0xb9cfc4();},'WyhLL':_0x4465a1(0x1f8),'TrXeI':function(_0x4d4f7b,_0x5ba836){return _0x4d4f7b(_0x5ba836);},'BddqK':function(_0x3754bd,_0x402c8c){return _0x3754bd(_0x402c8c);},'WSazA':function(_0x4c16bb,_0x125929){return _0x4c16bb(_0x125929);},'ptfMM':function(_0x43bed9,_0x45f05d){return _0x43bed9===_0x45f05d;},'JEdfS':_0x4465a1(0x1f3),'UPPhV':_0x4465a1(0x232),'aVlJI':'passed','OXATB':function(_0x2913aa,_0x39b3e9){return _0x2913aa||_0x39b3e9;},'BvQnW':_0x4465a1(0x277),'qcQjw':function(_0x4489b8,_0x49cb36){return _0x4489b8(_0x49cb36);},'YWLyq':function(_0x1826ec){return _0x1826ec();},'tVPQl':_0x4465a1(0x300),'bIyVd':_0x4465a1(0x2ef),'jCMkx':_0x4465a1(0x2d0),'DXdbo':_0x4465a1(0x25d),'iaZZx':function(_0x53c28a){return _0x53c28a();},'dfchq':_0x4465a1(0x24a),'Atdib':_0x4465a1(0x2dc),'iVeKx':function(_0x3c4faf,_0x2321a3){return _0x3c4faf===_0x2321a3;},'sYlNT':function(_0x3a43d4,_0x42c673){return _0x3a43d4===_0x42c673;},'qqBOz':function(_0x103e5c,_0x16fabc){return _0x103e5c(_0x16fabc);},'AcfJL':function(_0x37cdef){return _0x37cdef();},'uztaX':function(_0x1e0156,_0x3409f8,_0x225827){return _0x1e0156(_0x3409f8,_0x225827);},'OciDp':_0x4465a1(0x282),'romat':_0x4465a1(0x2fe),'fIGAp':_0x4465a1(0x2e6),'kbyOs':function(_0x106876){return _0x106876();},'iwehA':function(_0x92b412,_0x496159,_0x5e5a37){return _0x92b412(_0x496159,_0x5e5a37);},'gXGVM':_0x4465a1(0x260)};try{logger[_0x4465a1(0x255)]('[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub='+_0x3696aa[_0x4465a1(0x2ec)](shouldProcessEventForTesthub)+_0x4465a1(0x212)+process[_0x4465a1(0x2de)]['BROWSERSTACK_PUPPETEER']);const _0x54bf4d=_0x48427e&&_0x48427e[0x0]?_0x48427e[0x0]:{};_0x54bf4d&&_0x3696aa[_0x4465a1(0x262)](typeof _0x54bf4d[_0x4465a1(0x27a)],_0x3696aa['dfchq'])&&_0x54bf4d[_0x4465a1(0x27a)]&&(_currentTestPath=_0x54bf4d[_0x4465a1(0x27a)]);let _0x214797=0x0;try{if(_0x54bf4d[_0x4465a1(0x25c)]&&_0x3696aa[_0x4465a1(0x25a)](typeof _0x54bf4d[_0x4465a1(0x25c)][_0x4465a1(0x2a0)],_0x3696aa[_0x4465a1(0x2ee)]))_0x214797=_0x54bf4d['config'][_0x4465a1(0x2a0)];else{if(_0x54bf4d[_0x4465a1(0x1f6)]&&_0x3696aa[_0x4465a1(0x294)](typeof _0x54bf4d[_0x4465a1(0x1f6)][_0x4465a1(0x2a0)],_0x3696aa['Atdib']))_0x214797=_0x54bf4d[_0x4465a1(0x1f6)][_0x4465a1(0x2a0)];else global['jestConfig']&&_0x3696aa[_0x4465a1(0x2bf)](typeof global['jestConfig'][_0x4465a1(0x2a0)],_0x3696aa[_0x4465a1(0x2ee)])&&(_0x214797=global[_0x4465a1(0x200)][_0x4465a1(0x2a0)]);}}catch(_0xda1315){logger[_0x4465a1(0x255)](_0x4465a1(0x27f)+util['format'](_0xda1315));}global[_0x4465a1(0x1f5)]=_0x214797,process[_0x4465a1(0x2de)][_0x4465a1(0x2f1)]=_0x3696aa['qqBOz'](String,_0x214797);const _0x399c31=new ObservabilityReporter();!_initializedPlatformIndices[_0x4465a1(0x2ac)](_0x214797)?(logger[_0x4465a1(0x255)](_0x4465a1(0x28b)+_0x214797),_initializedPlatformIndices[_0x4465a1(0x2d6)](_0x214797),_0x3696aa[_0x4465a1(0x2ae)](shouldProcessEventForTesthub)&&(_0x3696aa[_0x4465a1(0x1fe)](patchConsoleLogger),_0x399c31[_0x4465a1(0x22e)]())):logger['debug'](_0x4465a1(0x293)+_0x214797+_0x4465a1(0x242));let _0x4545c6;try{_0x4545c6=_0x3696aa[_0x4465a1(0x2af)](requireModule,_0x3696aa['OciDp'],_0x3696aa[_0x4465a1(0x227)]);}catch{_0x4545c6=_0x3696aa[_0x4465a1(0x2e2)](requireModule,_0x3696aa['romat']);}let _0x42767e;try{_0x42767e=_0x3696aa['uztaX'](requireModule,_0x3696aa[_0x4465a1(0x2d1)],_0x3696aa[_0x4465a1(0x227)])[_0x4465a1(0x25f)];}catch{_0x42767e=_0x3696aa[_0x4465a1(0x2a1)](requireModule,_0x3696aa[_0x4465a1(0x227)])[_0x4465a1(0x25f)]||(()=>({}));}const _0x35d575=BrowserstackCLI['getInstance']()[_0x4465a1(0x2b0)]();(_0x3696aa[_0x4465a1(0x2d5)](shouldProcessEventForTesthub)||_0x35d575)&&_0x4545c6[_0x4465a1(0x243)](_0x3696aa['iwehA'](o11yErrorHandler,async(_0x3b769f,_0x2a8f9e)=>{const _0x511629=_0x4465a1,_0x3170dc={'srPCY':function(_0x44b5b2,_0x423ee9){const _0x7dd1df=a21_0x4055;return _0x3696aa[_0x7dd1df(0x2a1)](_0x44b5b2,_0x423ee9);},'GZaxv':_0x3696aa['gjUwD']};_0x3696aa[_0x511629(0x22d)](_currentTestPath,_0x3b769f)&&_0x3b769f['test']&&!_0x3b769f[_0x511629(0x240)]['file']&&(_0x3b769f[_0x511629(0x240)]['file']=_currentTestPath);switch(_0x3b769f[_0x511629(0x2f6)]){case _0x3696aa[_0x511629(0x264)]:if(_0x3b769f[_0x511629(0x253)]['fn']&&_0x3b769f[_0x511629(0x253)]['fn']['toString']()[_0x511629(0x203)](/browserstack internal helper hook/))break;if(_0x3b769f[_0x511629(0x253)][_0x511629(0x2b4)]&&_0x3696aa[_0x511629(0x25a)](_0x3b769f['hook'][_0x511629(0x2b4)]['name'],_0x3696aa[_0x511629(0x26c)])){const _0x15a81a=_0x3b769f[_0x511629(0x253)][_0x511629(0x21f)]&&((()=>{const _0x415a79=_0x511629;try{const _0x85cdf2=_0x3170dc['srPCY'](require,_0x3170dc[_0x415a79(0x245)]),_0x52631c=_0x85cdf2[_0x415a79(0x2aa)][_0x415a79(0x1f7)](_0x85cdf2,_0x3b769f[_0x415a79(0x253)][_0x415a79(0x21f)]);return _0x52631c[0x0]&&_0x52631c[0x0][_0x415a79(0x24e)]?_0x52631c[0x0][_0x415a79(0x24e)]():null;}catch(_0x5154e6){return logger[_0x415a79(0x255)](_0x415a79(0x2f5)+_0x5154e6[_0x415a79(0x249)]),null;}})())||_0x3b769f[_0x511629(0x253)][_0x511629(0x216)]||null;if(!_0x15a81a)break;}if(BrowserstackCLI[_0x511629(0x302)]()[_0x511629(0x2b0)]()&&await _0x3696aa[_0x511629(0x25b)](isCLIReady)){if(_0x3696aa['xOjSc'](shouldProcessEventForTesthub,testHubConstants[_0x511629(0x275)]['HookStarted']))try{await _0x3696aa[_0x511629(0x236)](handleHookEventCLI,_0x3b769f[_0x511629(0x253)],_0x3696aa[_0x511629(0x27d)],_0x2a8f9e);break;}catch(_0x3abaee){_0x3696aa[_0x511629(0x2a1)](debug,_0x511629(0x211)+util[_0x511629(0x27e)](_0x3abaee));}}if(_0x3696aa['RVUFm'](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x511629(0x2ea)])){if(!_0x3b769f[_0x511629(0x253)]['hookAnalyticsId']){const _0x179c26=TestDetails[_0x511629(0x2c3)](process[_0x511629(0x274)]+_0x511629(0x220));_0x3b769f['hook'][_0x511629(0x250)]=_0x179c26;}else _0x3b769f['hook'][_0x511629(0x2eb)]&&(_0x3b769f[_0x511629(0x253)][_0x511629(0x250)]=TestDetails[_0x511629(0x2c3)](process[_0x511629(0x274)]+':hookAnalyticsId'),delete _0x3b769f[_0x511629(0x253)]['markedStatus']);_0x3b769f[_0x511629(0x253)][_0x511629(0x22a)]=new Date()['toISOString'](),await _0x399c31[_0x511629(0x256)](_0x3b769f[_0x511629(0x253)],undefined,![],_0x3696aa[_0x511629(0x27d)]);}break;case _0x3696aa[_0x511629(0x2b6)]:if(BrowserstackCLI['getInstance']()[_0x511629(0x2b0)]()&&await _0x3696aa[_0x511629(0x25b)](isCLIReady)){if(_0x3696aa[_0x511629(0x298)](shouldProcessEventForTesthub,testHubConstants[_0x511629(0x275)][_0x511629(0x2e0)]))try{await _0x3696aa['GPUNj'](handleHookEventCLI,_0x3b769f[_0x511629(0x253)],_0x3696aa[_0x511629(0x268)],_0x2a8f9e);break;}catch(_0x549077){_0x3696aa[_0x511629(0x210)](debug,_0x511629(0x211)+util['format'](_0x549077));}}_0x3696aa[_0x511629(0x298)](shouldProcessEventForTesthub,testHubConstants[_0x511629(0x275)][_0x511629(0x2e0)])&&(await _0x399c31['sendTestRunEvent'](_0x3b769f[_0x511629(0x253)],undefined,![],_0x3696aa['UGevB']),TestDetails[_0x511629(0x233)](process[_0x511629(0x274)]+_0x511629(0x220)));break;case _0x3696aa[_0x511629(0x2a3)]:[_0x3696aa[_0x511629(0x230)],_0x3696aa[_0x511629(0x224)],_0x3696aa['BpgGj']]['includes'](_0x3b769f['hook'][_0x511629(0x21d)])&&(_0x399c31[_0x511629(0x1fa)]=_0x3b769f[_0x511629(0x253)][_0x511629(0x21d)]),_0x2a8f9e[_0x511629(0x231)]&&_0x3696aa['xrUVZ'](_0x2a8f9e['unhandledErrors'][_0x511629(0x284)],0x0)&&(_0x3b769f[_0x511629(0x253)][_0x511629(0x269)]=[_0x2a8f9e[_0x511629(0x231)][0x0][0x0]]);if(BrowserstackCLI[_0x511629(0x302)]()[_0x511629(0x2b0)]()&&await _0x3696aa[_0x511629(0x2cf)](isCLIReady)){if(_0x3696aa[_0x511629(0x2fc)](shouldProcessEventForTesthub,testHubConstants[_0x511629(0x275)][_0x511629(0x2e0)]))try{await _0x3696aa[_0x511629(0x236)](handleHookEventCLI,_0x3b769f[_0x511629(0x253)],_0x3696aa[_0x511629(0x268)],_0x2a8f9e);break;}catch(_0x212ea1){_0x3696aa[_0x511629(0x210)](debug,_0x511629(0x211)+util[_0x511629(0x27e)](_0x212ea1));}}_0x3696aa[_0x511629(0x2e2)](shouldProcessEventForTesthub,testHubConstants[_0x511629(0x275)][_0x511629(0x2e0)])&&(await _0x399c31[_0x511629(0x256)](_0x3b769f[_0x511629(0x253)],undefined,![],_0x3696aa['UGevB']),TestDetails[_0x511629(0x233)](process['pid']+':hookAnalyticsId'));break;case _0x3696aa[_0x511629(0x22f)]:if(_0x3696aa['cdpJI'](isTrue,process['env'][_0x511629(0x24b)])&&_0x3696aa[_0x511629(0x29e)](isPhantomSkipFromNameFilter,_0x3b769f['test'])){const _0x29b1a4=_0x3696aa['xOjSc'](getFullJestTestName,_0x3b769f['test']);logger[_0x511629(0x255)](_0x511629(0x2fa)+_0x29b1a4+'\x22');break;}try{let _0x570351=_0x3b769f[_0x511629(0x240)][_0x511629(0x2f6)]||'';try{let _0x31df4f=_0x3b769f[_0x511629(0x240)][_0x511629(0x2b4)];const _0x3db7cb=[_0x570351];while(_0x31df4f&&_0x31df4f[_0x511629(0x2f6)]&&_0x3696aa[_0x511629(0x2c6)](_0x31df4f[_0x511629(0x2f6)],_0x3696aa[_0x511629(0x26c)])){_0x3db7cb[_0x511629(0x252)](_0x31df4f[_0x511629(0x2f6)]),_0x31df4f=_0x31df4f[_0x511629(0x2b4)];}_0x570351=_0x3db7cb['join'](_0x3696aa[_0x511629(0x247)]);}catch(_0x5aec2d){logger[_0x511629(0x255)]('[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20'+_0x5aec2d[_0x511629(0x249)]);}process[_0x511629(0x2d2)]=_0x570351,process[_0x511629(0x23f)]=null,process[_0x511629(0x2f4)]=null,logger['debug'](_0x511629(0x2b8)+_0x570351+'\x22');if(!global[_0x511629(0x2d7)]){const _0x2ac548={};_0x2ac548[_0x511629(0x23a)]={},global[_0x511629(0x2d7)]=_0x2ac548;}!global[_0x511629(0x2d7)][_0x511629(0x23a)]&&(global[_0x511629(0x2d7)]['currentTest']={});const _0x3de3a1={};_0x3de3a1[_0x511629(0x291)]=_0x570351,_0x3de3a1['name']=_0x570351,global[_0x511629(0x2d7)][_0x511629(0x23a)][_0x511629(0x22b)]=_0x3de3a1,global[_0x511629(0x1fd)]=_0x570351;}catch(_0x4ecc56){logger['debug'](_0x511629(0x29b)+_0x4ecc56[_0x511629(0x249)]);}if(BrowserstackCLI[_0x511629(0x302)]()['isCliEnabled']()&&await _0x3696aa['mRHgl'](isCLIReady))try{await _0x3696aa[_0x511629(0x2b7)](handleTestEventCLI,_0x3b769f['test'],_0x3696aa[_0x511629(0x259)],_0x399c31);break;}catch(_0xdd5724){_0x3696aa[_0x511629(0x278)](debug,_0x511629(0x211)+util[_0x511629(0x27e)](_0xdd5724));}_0x3696aa[_0x511629(0x2ae)](shouldProcessEventForTesthub)&&await _0x399c31['testStarted'](_0x3b769f['test']);break;case _0x3696aa[_0x511629(0x254)]:{const _0x13a135=_0x3b769f['test'];if(_0x3696aa[_0x511629(0x2fc)](isTrue,process[_0x511629(0x2de)][_0x511629(0x24b)])&&_0x3696aa[_0x511629(0x2c5)](isPhantomSkipFromNameFilter,_0x13a135)){const _0x207935=_0x3696aa[_0x511629(0x299)](getFullJestTestName,_0x13a135);logger['debug']('[Rerun]\x20Suppressed\x20phantom\x20TestRunFinished\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22'+_0x207935+'\x22'),_0x13a135[_0x511629(0x2eb)]=!![];break;}_0x3b769f[_0x511629(0x240)]={..._0x3696aa[_0x511629(0x2b2)](_0x42767e,_0x3b769f[_0x511629(0x240)]),..._0x3b769f[_0x511629(0x240)]};try{const _0x36c254=_0x3b769f['test'][_0x511629(0x2c1)]||[],_0x4dfec0=_0x3696aa[_0x511629(0x266)](_0x36c254['length'],0x0)||_0x3696aa[_0x511629(0x262)](_0x3b769f[_0x511629(0x240)]['status'],_0x3696aa[_0x511629(0x244)]),_0x57ed4a=_0x4dfec0?_0x3696aa['UPPhV']:_0x3696aa[_0x511629(0x2ab)];let _0x427b7b='';_0x4dfec0&&(_0x427b7b=_0x36c254[_0x511629(0x2c7)](_0x30db48=>{const _0x4ce036=_0x511629;if(Array['isArray'](_0x30db48))return _0x30db48[_0x4ce036(0x2c7)](_0x1908fd=>_0x1908fd&&_0x1908fd[_0x4ce036(0x249)]||String(_0x1908fd))[_0x4ce036(0x20e)](';\x20');return _0x30db48&&_0x30db48['message']||_0x3696aa[_0x4ce036(0x210)](String,_0x30db48);})['join'](';\x20')),process[_0x511629(0x23f)]=_0x57ed4a,process['_bstackTestFailureReason']=_0x3696aa[_0x511629(0x228)](_0x427b7b,''),logger[_0x511629(0x255)](_0x511629(0x29c)+_0x57ed4a+'\x22'),global[_0x511629(0x2d7)]&&global[_0x511629(0x2d7)][_0x511629(0x23a)]&&(!global[_0x511629(0x2d7)]['currentTest'][_0x511629(0x22b)]&&(global[_0x511629(0x2d7)][_0x511629(0x23a)]['testInfo']={}),global['__workerDetails'][_0x511629(0x23a)][_0x511629(0x22b)]['status']=_0x57ed4a,_0x4dfec0&&(global['__workerDetails'][_0x511629(0x23a)][_0x511629(0x22b)][_0x511629(0x26a)]=_0x427b7b));}catch(_0x2e5430){logger[_0x511629(0x255)](_0x511629(0x301)+_0x2e5430[_0x511629(0x249)]);}if(!_0x3b769f[_0x511629(0x240)][_0x511629(0x2eb)]){_0x3b769f['test'][_0x511629(0x2eb)]=!![];if(BrowserstackCLI[_0x511629(0x302)]()[_0x511629(0x2b0)]()&&await _0x3696aa[_0x511629(0x25b)](isCLIReady))try{await _0x3696aa[_0x511629(0x2b7)](handleTestEventCLI,_0x3b769f['test'],_0x3696aa['BvQnW'],_0x399c31);break;}catch(_0xdd4b7d){_0x3696aa[_0x511629(0x295)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x511629(0x27e)](_0xdd4b7d));}_0x3696aa[_0x511629(0x218)](shouldProcessEventForTesthub)&&await _0x399c31[_0x511629(0x256)](_0x3b769f[_0x511629(0x240)]);}break;}case _0x3696aa[_0x511629(0x24f)]:{const _0x3aa8c7=_0x3b769f[_0x511629(0x240)];if(_0x3696aa['WMnwW'](isTrue,process[_0x511629(0x2de)][_0x511629(0x24b)])&&_0x3696aa[_0x511629(0x2e2)](isPhantomSkipFromNameFilter,_0x3aa8c7)){const _0x967bc5=_0x3696aa[_0x511629(0x2bd)](getFullJestTestName,_0x3aa8c7);logger[_0x511629(0x255)](_0x511629(0x202)+_0x967bc5+'\x22'),_0x3aa8c7[_0x511629(0x2eb)]=!![];break;}_0x3b769f[_0x511629(0x240)]={..._0x3696aa[_0x511629(0x299)](_0x42767e,_0x3b769f[_0x511629(0x240)]),..._0x3b769f[_0x511629(0x240)]};if(!_0x3b769f[_0x511629(0x240)][_0x511629(0x2eb)]){_0x3b769f['test'][_0x511629(0x2eb)]=!![];if(BrowserstackCLI[_0x511629(0x302)]()[_0x511629(0x2b0)]()&&await _0x3696aa[_0x511629(0x218)](isCLIReady))try{await _0x3696aa['GPUNj'](handleTestEventCLI,_0x3b769f['test'],_0x3696aa['bIyVd'],_0x399c31);break;}catch(_0x15165b){_0x3696aa['TrXeI'](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x511629(0x27e)](_0x15165b));}_0x3696aa['YWLyq'](shouldProcessEventForTesthub)&&await _0x399c31['sendTestRunEvent'](_0x3b769f['test'],undefined,![],_0x3696aa[_0x511629(0x2ad)]);}break;}case _0x3696aa['jCMkx']:_0x399c31[_0x511629(0x1fa)]=null;break;case _0x3696aa[_0x511629(0x204)]:await RequestQueueHandler[_0x511629(0x302)]()['shutdown'](),process[_0x511629(0x279)]();break;default:}},_0x3696aa[_0x4465a1(0x2f7)]));}catch(_0x432451){_0x3696aa[_0x4465a1(0x2b2)](debug,_0x4465a1(0x2ff)+_0x432451);}return _0x3696aa[_0x4465a1(0x2bd)](initInitialize,..._0x48427e);};try{Object[a21_0x4f04ed(0x296)](exportsI)['forEach'](_0x11f602=>{const _0x1576bc=a21_0x4f04ed,_0x44edc6={'cwVKP':function(_0x4fd9f6,_0x587504){return _0x4fd9f6(_0x587504);}};try{exports&&(exports[_0x11f602]=exportsI[_0x11f602]);}catch(_0x21f7ee){_0x44edc6[_0x1576bc(0x20a)](debug,'Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20'+_0x21f7ee);}});}catch(a21_0x2ea598){debug(a21_0x4f04ed(0x2f3)+a21_0x2ea598);}const a21_0x27dd76={};a21_0x27dd76[a21_0x4f04ed(0x2d9)]=getFullJestTestName,a21_0x27dd76['getActiveTestNamePattern']=getActiveTestNamePattern,a21_0x27dd76[a21_0x4f04ed(0x2cc)]=isPhantomSkipFromNameFilter,exports[a21_0x4f04ed(0x229)]=a21_0x27dd76;
1
+ const a21_0x18e27e=a21_0x3293;(function(_0x4960c3,_0x4a5bda){const _0x4ca13b=a21_0x3293,_0x2bbe31=_0x4960c3();while(!![]){try{const _0x49d570=parseInt(_0x4ca13b(0x1cc))/0x1*(parseInt(_0x4ca13b(0x22f))/0x2)+parseInt(_0x4ca13b(0x217))/0x3+-parseInt(_0x4ca13b(0x26e))/0x4+-parseInt(_0x4ca13b(0x1b7))/0x5+parseInt(_0x4ca13b(0x29f))/0x6+-parseInt(_0x4ca13b(0x1b8))/0x7*(-parseInt(_0x4ca13b(0x1bd))/0x8)+parseInt(_0x4ca13b(0x1ce))/0x9*(parseInt(_0x4ca13b(0x1a2))/0xa);if(_0x49d570===_0x4a5bda)break;else _0x2bbe31['push'](_0x2bbe31['shift']());}catch(_0x3016c7){_0x2bbe31['push'](_0x2bbe31['shift']());}}}(a21_0x958e,0x1c444));const {requireModule,isTrue}=require(a21_0x18e27e(0x1e7)),ObservabilityReporter=require('../test-observability/obsReporter'),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),TestDetails=require(a21_0x18e27e(0x246)),{patchConsoleLogger,debug}=require(a21_0x18e27e(0x1be)),{o11yErrorHandler}=require(a21_0x18e27e(0x238)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),testHubConstants=require(a21_0x18e27e(0x29d)),BrowserstackCLI=require(a21_0x18e27e(0x288)),TestFrameworkState=require(a21_0x18e27e(0x233)),HookState=require(a21_0x18e27e(0x1d0)),JestUtils=require(a21_0x18e27e(0x1c1)),{v4:uuidv4}=require('uuid'),util=require('util'),logger=require('../../../helpers/logger')[a21_0x18e27e(0x208)],{FRAMEWORKS}=require(a21_0x18e27e(0x1a4));let exportsI;function a21_0x958e(){const _0x477a1f=['\x20for\x20hook\x20type:\x20','../../v2/cliUtils','1182iyTmAY','gRabn','state','HookStarted','../../v2/state/testFrameworkState','name','file','fRhdZ','forEach','../../../helpers/test-observability/error-handler','FYWdR','pid','pNsCD','getFullJestTestName','RafXJ','currentTest','_bstackTestStatus','TzCmP','createTestFrameworkData','test_skip','jest-circus/build/jestAdapterInit.js','env','TestRunStarted','../test-observability/test-details','\x20>\x20','config','setTestUUID','split','BEFORE_ALL','setActiveHook','gNBMB','markedStatus','PQSKG','afterEach','retryOf','jFDvi','call','createIdentifierFromJestTest','removeAllListeners','__workerDetails','URckm','rPeng','current_test','browserstackPlatformIndex','zgDiw','__jestCurrentTestIdentifier','hookUUID','sendTestRunEvent','QPiBJ','Handling\x20test\x20event\x20for\x20CLI:\x20','[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20','IBxhu','number','-t=','DlAGO','YvLef','eELmr','beforeAll','yOGSt','toISOString','errors','initialize','has','438308jdYAJc','bootstrap','[Rerun]\x20Suppressed\x20phantom\x20TestRunSkipped\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','ROOT_DESCRIBE_BLOCK','true','getActiveTestNamePattern','parent','beforeEach','BiERM','_bstackTestFailureReason','length','pnWhz','IqdPe','POST','currentHook','slice','JOqpa','WQsVt','TYPlG','hookData','TestRunFinished','SEgRb','run_describe_finish','kkywR','HookRunStarted','gddVL','../../v2/browserstackCLI','EVENT','ShnZe','test_start','parse','removeActiveHook','ujLel','testUUID','__rerunFilterHelpers','TyEKP','unhandledErrors','getFileName','PLAYWRIGHT','setFrameworkDetail','addEventHandler','EMNVK','testAnalyticsId','BEFORE_EACH','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','browserstackTestName','failed','../../../helpers/testhub/constants','AFTER_ALL','124200yQGrSO','pymEC','HcCNw','[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub=','type','KchCX','[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22','message',',\x20BROWSERSTACK_PUPPETEER=','FydRf','MXIwZ','testInfo','HhjkS','test_done','10PBsPnw','TEST','../../utils/constants','getState','CLI\x20is\x20enabled\x20and\x20running.','pLQeG','BhZld','debug','error','PRE','shutdown','SGlNV','function','isCliEnabled','title','qsxfr','BROWSERSTACK_RERUN','hook_failure','TAnMb','startsWith','removeTestUUID','153155xfDnNN','625772qMfqdr','errorsDetailed','LDzMT','eFioR',',\x20re-registering\x20event\x20handler','16QyPOeu','../../../helpers/test-observability/utils','xowtU','Error\x20reading\x20platformIndex\x20from\x20args:\x20','../../v2/utils/jest-utils','[Rerun]\x20Suppressed\x20phantom\x20TestRunFinished\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22','includes','teardown','makeSingleTestResult','started_at','jest-circus','_bstackTestName','Error\x20routing\x20to\x20JestTestFramework:\x20','vyumB','Error\x20checking\x20CLI\x20readiness:\x20','36PjKFNg','HookFinished','203031IZLuQL','__bstackPlatformIndex','../../v2/state/hookState','configuration','ihCOS','zCkjd','createHookData','testNamePattern','zOUkX','xgBWQ','jest-circus/build/state.js',':hookAnalyticsId','unshift','[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20','afterAll','getTestFramework','hook_success','jSHnU','originalTest','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','testIdentifier','hook_start','hDtMA','AFTER_EACH','qCoXP','../../../helpers/helper','join','Handling\x20hook\x20event\x20for\x20CLI:\x20','zErDR','PuDmJ','isRunning','NgLDF','--testNamePattern=','BdIJi','WQhdL','jyOKL','bxLhr','BuCHx','HookRunFinished','pMQuA','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','sZsUE','hiQtj','NutUb','string','sUlAc','TfutX','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','UShFz','AfThj','JpGDH','uXYHi','vVAEH','LOG_REPORT','passed','match','cmvGl','pDaBW','winstonLogger','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','BROWSERSTACK_CLI_BIN_SESSION_ID','EZCDu','registerListeners','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','zNdeP','getInstance','hook','format','IghMb','tpivh','map','toString','nYWRn','37983qwEVyg','PawdQ','testPath','YDqGf','nDbma','stack-trace','jestConfig','ygsrz','asyncError','TestRunSkipped','test','NzTzm','add','ldlml','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','hookAnalyticsId','TvGkl','PUPPETEER','trackEvent','qjsNH','Wzlds'];a21_0x958e=function(){return _0x477a1f;};return a21_0x958e();}try{exportsI=requireModule(a21_0x18e27e(0x209),a21_0x18e27e(0x1c7));}catch{exportsI=requireModule(a21_0x18e27e(0x243),a21_0x18e27e(0x1c7));}const initInitialize=exportsI[a21_0x18e27e(0x26c)],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();let _currentTestPath=null;function getFullJestTestName(_0x3f163a){const _0x510c49=a21_0x18e27e,_0x1adca3={};_0x1adca3[_0x510c49(0x267)]=function(_0x712fb1,_0x516fb0){return _0x712fb1!==_0x516fb0;},_0x1adca3[_0x510c49(0x1e6)]='ROOT_DESCRIBE_BLOCK';const _0xdaef58=_0x1adca3;try{const _0x379d05=[];let _0x2edd78=_0x3f163a;while(_0x2edd78){_0x2edd78[_0x510c49(0x234)]&&_0xdaef58[_0x510c49(0x267)](_0x2edd78[_0x510c49(0x234)],_0xdaef58[_0x510c49(0x1e6)])&&_0x379d05[_0x510c49(0x1da)](_0x2edd78['name']),_0x2edd78=_0x2edd78['parent'];}return _0x379d05['join']('\x20');}catch(_0x1c83be){return _0x3f163a&&_0x3f163a['name']||'';}}function a21_0x3293(_0x431426,_0x512b8d){const _0x958e3d=a21_0x958e();return a21_0x3293=function(_0x3293d9,_0x59a13d){_0x3293d9=_0x3293d9-0x19a;let _0x327316=_0x958e3d[_0x3293d9];return _0x327316;},a21_0x3293(_0x431426,_0x512b8d);}function getActiveTestNamePattern(){const _0xff4168=a21_0x18e27e,_0x5c1534={'SGlNV':function(_0xb8c608,_0x5627e2,_0x2d47e4){return _0xb8c608(_0x5627e2,_0x2d47e4);},'tpivh':_0xff4168(0x1d8),'gRabn':'jest-circus','CXURz':function(_0x360c2c,_0x134a8a){return _0x360c2c(_0x134a8a);},'FydRf':function(_0x2d9978,_0x1916b1){return _0x2d9978===_0x1916b1;},'IqdPe':_0xff4168(0x1ae),'BhZld':function(_0x3fdede,_0x359245){return _0x3fdede instanceof _0x359245;},'xNRWk':_0xff4168(0x1fa),'Hyyjf':function(_0x26ae86,_0xfbefe3){return _0x26ae86>_0xfbefe3;},'URckm':function(_0x1ab2e3,_0x410f6d){return _0x1ab2e3<_0x410f6d;},'ihCOS':'--testNamePattern','NxKtJ':function(_0x4be1c3,_0x3bb7e9){return _0x4be1c3+_0x3bb7e9;},'ujLel':_0xff4168(0x1ee),'TfutX':_0xff4168(0x264)};try{let _0x2bb1ab;try{_0x2bb1ab=_0x5c1534[_0xff4168(0x1ad)](requireModule,_0x5c1534[_0xff4168(0x213)],_0x5c1534[_0xff4168(0x230)]);}catch{_0x2bb1ab=_0x5c1534['CXURz'](requireModule,_0x5c1534[_0xff4168(0x230)]);}if(_0x2bb1ab&&_0x5c1534[_0xff4168(0x19d)](typeof _0x2bb1ab[_0xff4168(0x1a5)],_0x5c1534[_0xff4168(0x27a)])){const _0x2bd25f=_0x2bb1ab['getState']();if(_0x2bd25f&&_0x2bd25f[_0xff4168(0x1d5)]){if(_0x5c1534[_0xff4168(0x1a8)](_0x2bd25f[_0xff4168(0x1d5)],RegExp))return _0x2bd25f[_0xff4168(0x1d5)];if(_0x5c1534[_0xff4168(0x19d)](typeof _0x2bd25f[_0xff4168(0x1d5)],_0x5c1534['xNRWk'])&&_0x5c1534['Hyyjf'](_0x2bd25f[_0xff4168(0x1d5)][_0xff4168(0x278)],0x0))return new RegExp(_0x2bd25f[_0xff4168(0x1d5)],'i');}}}catch(_0x5181d5){}try{const _0x143586=process['argv']||[];for(let _0x10ef23=0x0;_0x5c1534[_0xff4168(0x257)](_0x10ef23,_0x143586[_0xff4168(0x278)]);_0x10ef23++){const _0x43a92a=_0x143586[_0x10ef23];if(_0x5c1534[_0xff4168(0x19d)](_0x43a92a,'-t')||_0x5c1534['FydRf'](_0x43a92a,_0x5c1534[_0xff4168(0x1d2)])){const _0x501ec2=_0x143586[_0x5c1534['NxKtJ'](_0x10ef23,0x1)];if(_0x501ec2&&!_0x501ec2['startsWith']('-'))return new RegExp(_0x501ec2,'i');}else{if(_0x43a92a&&(_0x43a92a[_0xff4168(0x1b5)](_0x5c1534[_0xff4168(0x28e)])||_0x43a92a[_0xff4168(0x1b5)](_0x5c1534[_0xff4168(0x1fc)]))){const _0x2eeb20=_0x43a92a[_0xff4168(0x24a)]('=')[_0xff4168(0x27d)](0x1)[_0xff4168(0x1e8)]('=');if(_0x2eeb20)return new RegExp(_0x2eeb20,'i');}}}}catch(_0x289f21){}return null;}function isPhantomSkipFromNameFilter(_0xa3b4fa){const _0x1780aa=a21_0x18e27e,_0x17a06f={'gNBMB':function(_0x4d36e0){return _0x4d36e0();},'PxSwy':function(_0x1a94cb,_0x4f523c){return _0x1a94cb(_0x4f523c);}},_0x493e52=_0x17a06f[_0x1780aa(0x24d)](getActiveTestNamePattern);if(!_0x493e52)return![];const _0x864659=_0x17a06f['PxSwy'](getFullJestTestName,_0xa3b4fa);if(!_0x864659)return![];return!_0x493e52[_0x1780aa(0x221)](_0x864659);}async function isCLIReady(){const _0x486614=a21_0x18e27e,_0x22a3ce={'LkCFm':_0x486614(0x1a6),'Wzlds':function(_0x27771d,_0x10996a){return _0x27771d(_0x10996a);},'PawdQ':_0x486614(0x22e),'pMQuA':function(_0x33f43d,_0x135a47){return _0x33f43d===_0x135a47;},'vVAEH':_0x486614(0x272),'uXYHi':function(_0x4033af,_0x3d5b82){return _0x4033af(_0x3d5b82);},'pNsCD':function(_0x3ed4f0,_0x333267){return _0x3ed4f0(_0x333267);}};try{const _0x562e0a=BrowserstackCLI[_0x486614(0x20f)]();if(_0x562e0a[_0x486614(0x1af)]()&&_0x562e0a[_0x486614(0x1ec)]())return logger['debug'](_0x22a3ce['LkCFm']),!![];const _0x462daf=process[_0x486614(0x244)][_0x486614(0x20a)];if(_0x462daf&&_0x562e0a[_0x486614(0x1af)]()){if(!_0x562e0a[_0x486614(0x1ec)]())try{const _0x16f9a8=_0x22a3ce[_0x486614(0x22c)](require,_0x22a3ce[_0x486614(0x218)]),_0x1a6d8f=_0x16f9a8['getAutomationFrameworkDetail']();(!_0x1a6d8f||!_0x1a6d8f[_0x486614(0x234)])&&(_0x22a3ce[_0x486614(0x1f5)](process[_0x486614(0x244)]['BROWSERSTACK_PUPPETEER'],_0x22a3ce[_0x486614(0x202)])?_0x16f9a8['setFrameworkDetail'](FRAMEWORKS['JEST'],FRAMEWORKS[_0x486614(0x229)]):_0x16f9a8[_0x486614(0x295)](FRAMEWORKS['JEST'],FRAMEWORKS[_0x486614(0x294)])),await _0x562e0a[_0x486614(0x26f)]();}catch(_0x36e105){return _0x22a3ce[_0x486614(0x201)](debug,_0x486614(0x226)+util[_0x486614(0x211)](_0x36e105)),![];}return _0x562e0a[_0x486614(0x1ec)]();}return![];}catch(_0x196de7){return _0x22a3ce[_0x486614(0x23b)](debug,_0x486614(0x1cb)+util[_0x486614(0x211)](_0x196de7)),![];}}function getTestIdentifierForHook(_0xf1e89c){const _0x4ea6b9=a21_0x18e27e,_0x51f8cd={};_0x51f8cd[_0x4ea6b9(0x19e)]=function(_0xff2e9c,_0xf566d4){return _0xff2e9c===_0xf566d4;},_0x51f8cd[_0x4ea6b9(0x1ff)]=_0x4ea6b9(0x275),_0x51f8cd[_0x4ea6b9(0x20b)]=function(_0x89248f,_0x55bfde){return _0x89248f===_0x55bfde;},_0x51f8cd['RafXJ']=_0x4ea6b9(0x268);const _0x4a997e=_0x51f8cd;if(_0x4a997e[_0x4ea6b9(0x19e)](_0xf1e89c[_0x4ea6b9(0x2a3)],_0x4a997e[_0x4ea6b9(0x1ff)])||_0x4a997e[_0x4ea6b9(0x20b)](_0xf1e89c[_0x4ea6b9(0x2a3)],_0x4a997e[_0x4ea6b9(0x23d)])){let _0x44a206=global['__jestCurrentTestIdentifier'];if(!_0x44a206&&_0x4a997e[_0x4ea6b9(0x20b)](_0xf1e89c[_0x4ea6b9(0x2a3)],_0x4a997e['RafXJ'])&&_0xf1e89c[_0x4ea6b9(0x274)]){const _0x1b52c8={};_0x1b52c8[_0x4ea6b9(0x234)]=_0xf1e89c[_0x4ea6b9(0x274)]['name'],_0x1b52c8['parent']=_0xf1e89c[_0x4ea6b9(0x274)]['parent'],_0x1b52c8[_0x4ea6b9(0x21f)]=_0xf1e89c[_0x4ea6b9(0x21f)],_0x1b52c8[_0x4ea6b9(0x235)]=_0xf1e89c['file'];const _0x4aa13a=_0x1b52c8;_0x44a206=jestUtils[_0x4ea6b9(0x254)](_0x4aa13a);}return _0x44a206;}return global[_0x4ea6b9(0x25c)];}function mapHookTypeToState(_0x5e299b){const _0x374c34=a21_0x18e27e,_0xf2895c={};_0xf2895c['beforeAll']=TestFrameworkState[_0x374c34(0x24b)],_0xf2895c[_0x374c34(0x1dc)]=TestFrameworkState[_0x374c34(0x29e)],_0xf2895c[_0x374c34(0x275)]=TestFrameworkState['BEFORE_EACH'],_0xf2895c[_0x374c34(0x250)]=TestFrameworkState[_0x374c34(0x1e5)];const _0x33dd9d=_0xf2895c;return _0x33dd9d[_0x5e299b]||TestFrameworkState[_0x374c34(0x299)];}async function handleHookEventCLI(_0x5444e8,_0x548628,_0x2c7b5d){const _0x4f8b97=a21_0x18e27e,_0xb821b7={'nDbma':function(_0x425ba3,_0x1a3cca){return _0x425ba3(_0x1a3cca);},'TYPlG':'stack-trace','zQUkr':function(_0x2f2e86,_0x4c2b12){return _0x2f2e86===_0x4c2b12;},'ygsrz':_0x4f8b97(0x271),'hiQtj':function(_0x937747){return _0x937747();},'aNiwc':function(_0x1b1fe8){return _0x1b1fe8();},'YvLef':function(_0x468a1b,_0x133dd2){return _0x468a1b===_0x133dd2;},'gddVL':_0x4f8b97(0x286),'zCkjd':function(_0x2c7368,_0x1a42ff){return _0x2c7368===_0x1a42ff;},'BiERM':function(_0x3fa5d9,_0x289693){return _0x3fa5d9===_0x289693;},'zNdeP':_0x4f8b97(0x1f4),'yOGSt':'hook','JOqpa':function(_0x3b702a,_0x526258){return _0x3b702a===_0x526258;}};logger[_0x4f8b97(0x1a9)](_0x4f8b97(0x1e9)+_0x548628+_0x4f8b97(0x22d)+_0x5444e8[_0x4f8b97(0x2a3)]);try{if(_0x5444e8['fn']&&_0x5444e8['fn'][_0x4f8b97(0x215)]()[_0x4f8b97(0x205)](/browserstack internal helper hook/))return;if(_0x5444e8[_0x4f8b97(0x274)]&&_0xb821b7['zQUkr'](_0x5444e8[_0x4f8b97(0x274)][_0x4f8b97(0x234)],_0xb821b7[_0x4f8b97(0x21e)])){const _0x3a7613=_0x5444e8[_0x4f8b97(0x21f)]&&((()=>{const _0x4cf71c=_0x4f8b97;try{const _0x1c5e6a=_0xb821b7[_0x4cf71c(0x21b)](require,_0xb821b7[_0x4cf71c(0x280)]),_0x4f4cee=_0x1c5e6a[_0x4cf71c(0x28c)]['call'](_0x1c5e6a,_0x5444e8[_0x4cf71c(0x21f)]);return _0x4f4cee[0x0]&&_0x4f4cee[0x0][_0x4cf71c(0x293)]?_0x4f4cee[0x0][_0x4cf71c(0x293)]():null;}catch(_0x29bc59){return logger[_0x4cf71c(0x1a9)]('Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20'+_0x29bc59[_0x4cf71c(0x19b)]),null;}})())||_0x5444e8['file']||null;if(!_0x3a7613)return;}let _0x1aa51a=_0x5444e8[_0x4f8b97(0x227)];if(!_0x1aa51a)_0x1aa51a=_0xb821b7[_0x4f8b97(0x1f8)](uuidv4),_0x5444e8[_0x4f8b97(0x227)]=_0x1aa51a;else _0x5444e8['markedStatus']&&(_0x1aa51a=_0xb821b7['aNiwc'](uuidv4),_0x5444e8[_0x4f8b97(0x227)]=_0x1aa51a,delete _0x5444e8[_0x4f8b97(0x24e)]);_0xb821b7[_0x4f8b97(0x266)](_0x548628,_0xb821b7[_0x4f8b97(0x287)])&&(_0x5444e8[_0x4f8b97(0x1c6)]=new Date()[_0x4f8b97(0x26a)]());const _0x5b9c0e=_0xb821b7[_0x4f8b97(0x21b)](getTestIdentifierForHook,_0x5444e8);!global['__workerDetails']&&(global['__workerDetails']={});if(_0xb821b7[_0x4f8b97(0x1d3)](_0x548628,_0xb821b7[_0x4f8b97(0x287)])){global[_0x4f8b97(0x256)]['currentHook']={'hookUUID':_0x1aa51a,'testIdentifier':_0x5b9c0e,'hookType':_0x5444e8[_0x4f8b97(0x2a3)],'startedAt':new Date()[_0x4f8b97(0x26a)]()};const _0x2232dd=BrowserstackCLI['getInstance']()[_0x4f8b97(0x1dd)]();_0x2232dd&&_0x2232dd['setActiveHook']&&_0x2232dd[_0x4f8b97(0x24c)](_0x5b9c0e,_0x1aa51a,_0x5444e8[_0x4f8b97(0x2a3)]);}const _0x529c94=await jestUtils[_0x4f8b97(0x1d4)](_0x5444e8,_0x1aa51a,_0x548628,_0x5b9c0e);if(!_0x529c94)return;const _0x5cde5f=_0xb821b7['nDbma'](mapHookTypeToState,_0x5444e8[_0x4f8b97(0x2a3)]),_0x4c0da6=_0xb821b7['zCkjd'](_0x548628,_0xb821b7['gddVL'])?HookState[_0x4f8b97(0x1ab)]:HookState[_0x4f8b97(0x27b)],_0x56cd6a=BrowserstackCLI[_0x4f8b97(0x20f)]()[_0x4f8b97(0x1dd)]();if(_0x56cd6a){const _0x14ffe2={};_0x14ffe2[_0x4f8b97(0x281)]=_0x529c94,await _0x56cd6a['trackEvent'](_0x5cde5f,_0x4c0da6,_0x14ffe2);if(_0xb821b7[_0x4f8b97(0x276)](_0x548628,_0xb821b7[_0x4f8b97(0x20e)])){const _0xe2e47f={};_0xe2e47f['testUUID']=_0x5b9c0e,_0xe2e47f[_0x4f8b97(0x2a3)]=_0xb821b7[_0x4f8b97(0x269)],await _0x56cd6a[_0x4f8b97(0x22a)](TestFrameworkState[_0x4f8b97(0x203)],HookState[_0x4f8b97(0x27b)],_0xe2e47f),global['__workerDetails']&&global[_0x4f8b97(0x256)][_0x4f8b97(0x27c)]&&_0xb821b7[_0x4f8b97(0x27e)](global['__workerDetails'][_0x4f8b97(0x27c)][_0x4f8b97(0x25d)],_0x1aa51a)&&delete global[_0x4f8b97(0x256)][_0x4f8b97(0x27c)],_0x56cd6a[_0x4f8b97(0x28d)]&&_0x56cd6a[_0x4f8b97(0x28d)](_0x5b9c0e,_0x1aa51a);}}}catch(_0x1fa54b){logger[_0x4f8b97(0x1aa)](_0x4f8b97(0x225)+util[_0x4f8b97(0x211)](_0x1fa54b));throw _0x1fa54b;}}async function handleTestEventCLI(_0x286cee,_0x59e8fd,_0xdf2c2c){const _0x179be6=a21_0x18e27e,_0x4241e7={};_0x4241e7[_0x179be6(0x224)]=function(_0x138d9e,_0x8ceaba){return _0x138d9e===_0x8ceaba;},_0x4241e7[_0x179be6(0x279)]=_0x179be6(0x245),_0x4241e7['KxjRd']=function(_0x1778b5,_0x59971a){return _0x1778b5>_0x59971a;},_0x4241e7[_0x179be6(0x1fb)]=function(_0x2b154f,_0x1655a1){return _0x2b154f&&_0x1655a1;},_0x4241e7[_0x179be6(0x2a4)]=_0x179be6(0x29c),_0x4241e7[_0x179be6(0x252)]='TestRunFinished',_0x4241e7[_0x179be6(0x222)]=function(_0x2f5df4,_0x3459e6){return _0x2f5df4&&_0x3459e6;},_0x4241e7[_0x179be6(0x2a1)]=_0x179be6(0x221);const _0x2bf58f=_0x4241e7;logger[_0x179be6(0x1a9)](_0x179be6(0x260)+_0x59e8fd);try{let _0x5bbef8;if(_0x2bf58f['ldlml'](_0x59e8fd,_0x2bf58f[_0x179be6(0x279)])){_0x5bbef8=jestUtils['createIdentifierFromJestTest'](_0x286cee),global[_0x179be6(0x25c)]=_0x5bbef8,_0x286cee[_0x179be6(0x298)]=_0x5bbef8,_0x286cee['id']=_0x5bbef8,_0x286cee[_0x179be6(0x1c6)]=new Date()[_0x179be6(0x26a)]();const _0x19e499=_0xdf2c2c[_0x179be6(0x259)];_0xdf2c2c[_0x179be6(0x259)]=_0x286cee,_0x286cee[_0x179be6(0x251)]=null;if(_0x2bf58f['KxjRd'](_0x286cee['_currentRetry'],0x0)&&_0x19e499&&_0x2bf58f[_0x179be6(0x224)](_0x19e499[_0x179be6(0x1b0)],_0x286cee[_0x179be6(0x1b0)])){_0x286cee['retryOf']=_0x19e499['testAnalyticsId'];const _0x4fb876=await jestUtils[_0x179be6(0x241)](_0x286cee,_0x5bbef8,_0x2bf58f[_0x179be6(0x279)]),_0x3a8739=BrowserstackCLI[_0x179be6(0x20f)]()[_0x179be6(0x1dd)]();if(_0x2bf58f[_0x179be6(0x1fb)](_0x4fb876,_0x3a8739)){const _0x55d59b={};_0x55d59b['test']=_0x4fb876,await _0x3a8739[_0x179be6(0x22a)](TestFrameworkState[_0x179be6(0x1a3)],HookState['PRE'],_0x55d59b);}_0x19e499[_0x179be6(0x231)]=_0x2bf58f[_0x179be6(0x2a4)];const _0x297d3c=await jestUtils['createTestFrameworkData'](_0x19e499,_0x19e499[_0x179be6(0x298)],_0x2bf58f[_0x179be6(0x252)]);if(_0x2bf58f[_0x179be6(0x1fb)](_0x297d3c,_0x3a8739)){const _0x235b0c={};_0x235b0c[_0x179be6(0x221)]=_0x297d3c,await _0x3a8739[_0x179be6(0x22a)](TestFrameworkState[_0x179be6(0x1a3)],HookState[_0x179be6(0x27b)],_0x235b0c);}}else{const _0x169451=await jestUtils[_0x179be6(0x241)](_0x286cee,_0x5bbef8,_0x2bf58f[_0x179be6(0x279)]),_0x27a769=BrowserstackCLI[_0x179be6(0x20f)]()[_0x179be6(0x1dd)]();if(_0x2bf58f[_0x179be6(0x222)](_0x169451,_0x27a769)){const _0x3704b8={};_0x3704b8[_0x179be6(0x221)]=_0x169451,await _0x27a769[_0x179be6(0x22a)](TestFrameworkState['TEST'],HookState[_0x179be6(0x1ab)],_0x3704b8);}}}else{_0x5bbef8=_0x286cee[_0x179be6(0x298)]||_0x286cee['id']||global[_0x179be6(0x25c)];const _0x406427=await jestUtils[_0x179be6(0x241)](_0x286cee,_0x5bbef8,_0x59e8fd),_0xca3444=BrowserstackCLI[_0x179be6(0x20f)]()['getTestFramework']();if(_0x2bf58f[_0x179be6(0x222)](_0x406427,_0xca3444)){const _0xf288f9={};_0xf288f9[_0x179be6(0x221)]=_0x406427,_0xf288f9[_0x179be6(0x1e0)]=_0x286cee,_0xf288f9[_0x179be6(0x1e2)]=_0x5bbef8,await _0xca3444[_0x179be6(0x22a)](TestFrameworkState[_0x179be6(0x1a3)],HookState['POST'],_0xf288f9);const _0x384e52={};_0x384e52[_0x179be6(0x28f)]=_0x5bbef8,_0x384e52[_0x179be6(0x2a3)]=_0x2bf58f[_0x179be6(0x2a1)],await _0xca3444[_0x179be6(0x22a)](TestFrameworkState[_0x179be6(0x203)],HookState['POST'],_0x384e52);}}}catch(_0x33d370){logger[_0x179be6(0x1aa)]('Error\x20handling\x20test\x20event\x20for\x20CLI:\x20'+util['format'](_0x33d370));throw _0x33d370;}}exportsI['initialize']=(..._0x5542f1)=>{const _0x2c754c=a21_0x18e27e,_0x4fdfa={'qjsNH':function(_0x37a37b,_0x1f68ae){return _0x37a37b(_0x1f68ae);},'SEgRb':_0x2c754c(0x21c),'pyQnk':function(_0x18a6d9,_0x945e45){return _0x18a6d9&&_0x945e45;},'SdKLO':_0x2c754c(0x1e3),'IghMb':function(_0x298aa2,_0x2959f4){return _0x298aa2===_0x2959f4;},'geTYv':'ROOT_DESCRIBE_BLOCK','UShFz':function(_0x47b597){return _0x47b597();},'bxLhr':function(_0x524e5a,_0x557b6e,_0x5269f3,_0x23ef2c){return _0x524e5a(_0x557b6e,_0x5269f3,_0x23ef2c);},'WQsVt':'HookRunStarted','DlAGO':function(_0x4bc2d7,_0x59078f){return _0x4bc2d7(_0x59078f);},'yCoVe':_0x2c754c(0x1de),'gSkIq':function(_0x2144a9,_0x42ad01){return _0x2144a9(_0x42ad01);},'hDtMA':function(_0x25f539,_0x5b059a,_0x3da953,_0x4a79bb){return _0x25f539(_0x5b059a,_0x3da953,_0x4a79bb);},'rPeng':_0x2c754c(0x1f4),'cmvGl':function(_0x1ef8a9,_0x33d201){return _0x1ef8a9(_0x33d201);},'jqYHW':_0x2c754c(0x1b3),'EKexY':_0x2c754c(0x268),'PQSKG':_0x2c754c(0x275),'sZsUE':_0x2c754c(0x250),'TvGkl':function(_0x20c44a,_0x2ac5dd){return _0x20c44a>_0x2ac5dd;},'jSHnU':function(_0x212dbe){return _0x212dbe();},'GBYjf':function(_0x1a4f59,_0x274e5d){return _0x1a4f59(_0x274e5d);},'IBxhu':function(_0xc4b94d,_0x1563c9,_0x2ea706,_0x386d55){return _0xc4b94d(_0x1563c9,_0x2ea706,_0x386d55);},'zErDR':_0x2c754c(0x28b),'TAnMb':function(_0x5d94b5,_0x5c1361){return _0x5d94b5(_0x5c1361);},'BuCHx':function(_0x28b474,_0x3a80b5){return _0x28b474(_0x3a80b5);},'aXTwh':function(_0x5ef457,_0x2a7b1d){return _0x5ef457!==_0x2a7b1d;},'EMNVK':_0x2c754c(0x247),'UpKVR':'TestRunStarted','xowtU':function(_0x1892d5){return _0x1892d5();},'LDzMT':_0x2c754c(0x1a1),'JpGDH':function(_0x3537f9,_0x2d7c6f){return _0x3537f9(_0x2d7c6f);},'QPiBJ':function(_0xe96fc9,_0x3c08d7){return _0xe96fc9(_0x3c08d7);},'pLQeG':function(_0x400049,_0x315197){return _0x400049(_0x315197);},'NutUb':function(_0x233958,_0x46df97){return _0x233958(_0x46df97);},'HhjkS':'fail','NgLDF':_0x2c754c(0x29c),'eFioR':_0x2c754c(0x204),'vyumB':function(_0x1e1271,_0x49bf98){return _0x1e1271||_0x49bf98;},'YDqGf':function(_0x59a8ed){return _0x59a8ed();},'nYWRn':_0x2c754c(0x282),'fRhdZ':function(_0x5f1ecc){return _0x5f1ecc();},'MDuPL':_0x2c754c(0x242),'csZTM':function(_0x2ad56f,_0x1f735b){return _0x2ad56f(_0x1f735b);},'TyEKP':function(_0x589dff){return _0x589dff();},'WQhdL':_0x2c754c(0x220),'mOHqO':function(_0xe6a833,_0x7c462c){return _0xe6a833(_0x7c462c);},'zOUkX':_0x2c754c(0x284),'pDaBW':_0x2c754c(0x1c4),'NqMeM':function(_0x5734ea){return _0x5734ea();},'TzCmP':_0x2c754c(0x1fa),'kkywR':_0x2c754c(0x263),'zgDiw':function(_0x141693,_0x57fa01){return _0x141693===_0x57fa01;},'qsxfr':function(_0x4bfbc3){return _0x4bfbc3();},'FYWdR':function(_0x2f9e58,_0x2a66d2,_0x121dc6){return _0x2f9e58(_0x2a66d2,_0x121dc6);},'BdIJi':'jest-circus/build/state.js','PuDmJ':_0x2c754c(0x1c7),'zAUZQ':'jest-circus/build/utils.js','ShnZe':'EventHandler','xgBWQ':function(_0x1e0834,_0x514290){return _0x1e0834(_0x514290);},'jyOKL':function(_0xf62f80,..._0x2f7fcf){return _0xf62f80(..._0x2f7fcf);}};try{logger[_0x2c754c(0x1a9)](_0x2c754c(0x2a2)+_0x4fdfa['NqMeM'](shouldProcessEventForTesthub)+_0x2c754c(0x19c)+process[_0x2c754c(0x244)]['BROWSERSTACK_PUPPETEER']);const _0x40074a=_0x5542f1&&_0x5542f1[0x0]?_0x5542f1[0x0]:{};_0x40074a&&_0x4fdfa[_0x2c754c(0x212)](typeof _0x40074a[_0x2c754c(0x219)],_0x4fdfa[_0x2c754c(0x240)])&&_0x40074a[_0x2c754c(0x219)]&&(_currentTestPath=_0x40074a['testPath']);let _0x58900b=0x0;try{if(_0x40074a[_0x2c754c(0x248)]&&_0x4fdfa[_0x2c754c(0x212)](typeof _0x40074a[_0x2c754c(0x248)][_0x2c754c(0x25a)],_0x4fdfa[_0x2c754c(0x285)]))_0x58900b=_0x40074a['config']['browserstackPlatformIndex'];else{if(_0x40074a[_0x2c754c(0x1d1)]&&_0x4fdfa['IghMb'](typeof _0x40074a[_0x2c754c(0x1d1)]['browserstackPlatformIndex'],_0x4fdfa[_0x2c754c(0x285)]))_0x58900b=_0x40074a['configuration']['browserstackPlatformIndex'];else global[_0x2c754c(0x21d)]&&_0x4fdfa[_0x2c754c(0x25b)](typeof global[_0x2c754c(0x21d)][_0x2c754c(0x25a)],_0x4fdfa[_0x2c754c(0x285)])&&(_0x58900b=global[_0x2c754c(0x21d)]['browserstackPlatformIndex']);}}catch(_0xe47baf){logger[_0x2c754c(0x1a9)](_0x2c754c(0x1c0)+util['format'](_0xe47baf));}global[_0x2c754c(0x1cf)]=_0x58900b,process['env']['BROWSERSTACK_PLATFORM_INDEX']=_0x4fdfa['gSkIq'](String,_0x58900b);const _0x4f33b2=new ObservabilityReporter();!_initializedPlatformIndices[_0x2c754c(0x26d)](_0x58900b)?(logger[_0x2c754c(0x1a9)](_0x2c754c(0x1e1)+_0x58900b),_initializedPlatformIndices[_0x2c754c(0x223)](_0x58900b),_0x4fdfa[_0x2c754c(0x1b1)](shouldProcessEventForTesthub)&&(_0x4fdfa['jSHnU'](patchConsoleLogger),_0x4f33b2[_0x2c754c(0x20c)]())):logger[_0x2c754c(0x1a9)](_0x2c754c(0x1f6)+_0x58900b+_0x2c754c(0x1bc));let _0x439a68;try{_0x439a68=_0x4fdfa['FYWdR'](requireModule,_0x4fdfa[_0x2c754c(0x1ef)],_0x4fdfa[_0x2c754c(0x1eb)]);}catch{_0x439a68=_0x4fdfa[_0x2c754c(0x206)](requireModule,_0x4fdfa['PuDmJ']);}let _0x3ff384;try{_0x3ff384=_0x4fdfa['FYWdR'](requireModule,_0x4fdfa['zAUZQ'],_0x4fdfa[_0x2c754c(0x1eb)])[_0x2c754c(0x1c5)];}catch{_0x3ff384=_0x4fdfa[_0x2c754c(0x1f3)](requireModule,_0x4fdfa[_0x2c754c(0x1eb)])[_0x2c754c(0x1c5)]||(()=>({}));}const _0x1a1968=BrowserstackCLI[_0x2c754c(0x20f)]()[_0x2c754c(0x1af)]();(_0x4fdfa['UShFz'](shouldProcessEventForTesthub)||_0x1a1968)&&_0x439a68[_0x2c754c(0x296)](_0x4fdfa[_0x2c754c(0x239)](o11yErrorHandler,async(_0x5b22c5,_0x14a151)=>{const _0x4f0831=_0x2c754c,_0xfd6ad5={'pymEC':function(_0x3830fa,_0x25edf5){const _0x46d2c7=a21_0x3293;return _0x4fdfa[_0x46d2c7(0x22b)](_0x3830fa,_0x25edf5);}};_0x4fdfa['pyQnk'](_currentTestPath,_0x5b22c5)&&_0x5b22c5[_0x4f0831(0x221)]&&!_0x5b22c5[_0x4f0831(0x221)][_0x4f0831(0x235)]&&(_0x5b22c5[_0x4f0831(0x221)][_0x4f0831(0x235)]=_currentTestPath);switch(_0x5b22c5['name']){case _0x4fdfa['SdKLO']:if(_0x5b22c5[_0x4f0831(0x210)]['fn']&&_0x5b22c5[_0x4f0831(0x210)]['fn'][_0x4f0831(0x215)]()[_0x4f0831(0x205)](/browserstack internal helper hook/))break;if(_0x5b22c5[_0x4f0831(0x210)][_0x4f0831(0x274)]&&_0x4fdfa[_0x4f0831(0x212)](_0x5b22c5[_0x4f0831(0x210)][_0x4f0831(0x274)][_0x4f0831(0x234)],_0x4fdfa['geTYv'])){const _0x4f63d2=_0x5b22c5[_0x4f0831(0x210)]['asyncError']&&((()=>{const _0x3b52a3=_0x4f0831;try{const _0x185e4f=_0x4fdfa[_0x3b52a3(0x22b)](require,_0x4fdfa[_0x3b52a3(0x283)]),_0xdcb08e=_0x185e4f['parse'][_0x3b52a3(0x253)](_0x185e4f,_0x5b22c5['hook'][_0x3b52a3(0x21f)]);return _0xdcb08e[0x0]&&_0xdcb08e[0x0]['getFileName']?_0xdcb08e[0x0][_0x3b52a3(0x293)]():null;}catch(_0x3c8408){return logger[_0x3b52a3(0x1a9)]('Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20'+_0x3c8408['message']),null;}})())||_0x5b22c5[_0x4f0831(0x210)]['file']||null;if(!_0x4f63d2)break;}if(BrowserstackCLI[_0x4f0831(0x20f)]()[_0x4f0831(0x1af)]()&&await _0x4fdfa[_0x4f0831(0x1fe)](isCLIReady)){if(_0x4fdfa[_0x4f0831(0x22b)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x4f0831(0x232)]))try{await _0x4fdfa[_0x4f0831(0x1f2)](handleHookEventCLI,_0x5b22c5['hook'],_0x4fdfa[_0x4f0831(0x27f)],_0x14a151);break;}catch(_0x2f7dfa){_0x4fdfa[_0x4f0831(0x265)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util['format'](_0x2f7dfa));}}if(_0x4fdfa[_0x4f0831(0x22b)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x4f0831(0x232)])){if(!_0x5b22c5[_0x4f0831(0x210)][_0x4f0831(0x227)]){const _0x5e853d=TestDetails[_0x4f0831(0x249)](process['pid']+_0x4f0831(0x1d9));_0x5b22c5[_0x4f0831(0x210)][_0x4f0831(0x227)]=_0x5e853d;}else _0x5b22c5['hook'][_0x4f0831(0x24e)]&&(_0x5b22c5[_0x4f0831(0x210)][_0x4f0831(0x227)]=TestDetails[_0x4f0831(0x249)](process[_0x4f0831(0x23a)]+_0x4f0831(0x1d9)),delete _0x5b22c5[_0x4f0831(0x210)][_0x4f0831(0x24e)]);_0x5b22c5['hook']['started_at']=new Date()['toISOString'](),await _0x4f33b2[_0x4f0831(0x25e)](_0x5b22c5[_0x4f0831(0x210)],undefined,![],_0x4fdfa['WQsVt']);}break;case _0x4fdfa['yCoVe']:if(BrowserstackCLI[_0x4f0831(0x20f)]()[_0x4f0831(0x1af)]()&&await _0x4fdfa[_0x4f0831(0x1fe)](isCLIReady)){if(_0x4fdfa['gSkIq'](shouldProcessEventForTesthub,testHubConstants[_0x4f0831(0x289)][_0x4f0831(0x1cd)]))try{await _0x4fdfa['hDtMA'](handleHookEventCLI,_0x5b22c5[_0x4f0831(0x210)],_0x4fdfa['rPeng'],_0x14a151);break;}catch(_0x10f06a){_0x4fdfa['gSkIq'](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x4f0831(0x211)](_0x10f06a));}}_0x4fdfa[_0x4f0831(0x206)](shouldProcessEventForTesthub,testHubConstants[_0x4f0831(0x289)][_0x4f0831(0x1cd)])&&(await _0x4f33b2[_0x4f0831(0x25e)](_0x5b22c5[_0x4f0831(0x210)],undefined,![],_0x4fdfa['rPeng']),TestDetails['removeTestUUID'](process[_0x4f0831(0x23a)]+_0x4f0831(0x1d9)));break;case _0x4fdfa['jqYHW']:[_0x4fdfa['EKexY'],_0x4fdfa[_0x4f0831(0x24f)],_0x4fdfa[_0x4f0831(0x1f7)]][_0x4f0831(0x1c3)](_0x5b22c5[_0x4f0831(0x210)][_0x4f0831(0x2a3)])&&(_0x4f33b2[_0x4f0831(0x1b3)]=_0x5b22c5['hook'][_0x4f0831(0x2a3)]),_0x14a151['unhandledErrors']&&_0x4fdfa['TvGkl'](_0x14a151['unhandledErrors'][_0x4f0831(0x278)],0x0)&&(_0x5b22c5[_0x4f0831(0x210)][_0x4f0831(0x1b9)]=[_0x14a151[_0x4f0831(0x292)][0x0][0x0]]);if(BrowserstackCLI[_0x4f0831(0x20f)]()['isCliEnabled']()&&await _0x4fdfa[_0x4f0831(0x1df)](isCLIReady)){if(_0x4fdfa['GBYjf'](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x4f0831(0x1cd)]))try{await _0x4fdfa['IBxhu'](handleHookEventCLI,_0x5b22c5['hook'],_0x4fdfa['rPeng'],_0x14a151);break;}catch(_0x4db138){_0x4fdfa['DlAGO'](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x4f0831(0x211)](_0x4db138));}}_0x4fdfa[_0x4f0831(0x22b)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x4f0831(0x1cd)])&&(await _0x4f33b2['sendTestRunEvent'](_0x5b22c5[_0x4f0831(0x210)],undefined,![],_0x4fdfa[_0x4f0831(0x258)]),TestDetails[_0x4f0831(0x1b6)](process[_0x4f0831(0x23a)]+_0x4f0831(0x1d9)));break;case _0x4fdfa[_0x4f0831(0x1ea)]:if(_0x4fdfa[_0x4f0831(0x1b4)](isTrue,process['env']['BROWSERSTACK_RERUN'])&&_0x4fdfa['GBYjf'](isPhantomSkipFromNameFilter,_0x5b22c5[_0x4f0831(0x221)])){const _0x4e9882=_0x4fdfa[_0x4f0831(0x1f3)](getFullJestTestName,_0x5b22c5[_0x4f0831(0x221)]);logger[_0x4f0831(0x1a9)]('[Rerun]\x20Suppressed\x20phantom\x20TestRunStarted\x20emit\x20—\x20rerun\x20+\x20name-filter\x20rejected\x20\x22'+_0x4e9882+'\x22');break;}try{let _0x27c780=_0x5b22c5['test']['name']||'';try{let _0x205825=_0x5b22c5[_0x4f0831(0x221)][_0x4f0831(0x274)];const _0x7e9dc1=[_0x27c780];while(_0x205825&&_0x205825[_0x4f0831(0x234)]&&_0x4fdfa['aXTwh'](_0x205825[_0x4f0831(0x234)],_0x4fdfa['geTYv'])){_0x7e9dc1[_0x4f0831(0x1da)](_0x205825[_0x4f0831(0x234)]),_0x205825=_0x205825[_0x4f0831(0x274)];}_0x27c780=_0x7e9dc1[_0x4f0831(0x1e8)](_0x4fdfa[_0x4f0831(0x297)]);}catch(_0x3e61ba){logger['debug'](_0x4f0831(0x20d)+_0x3e61ba[_0x4f0831(0x19b)]);}process[_0x4f0831(0x1c8)]=_0x27c780,process[_0x4f0831(0x23f)]=null,process[_0x4f0831(0x277)]=null,logger[_0x4f0831(0x1a9)]('[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22'+_0x27c780+'\x22');if(!global[_0x4f0831(0x256)]){const _0xbb4926={};_0xbb4926[_0x4f0831(0x23e)]={},global[_0x4f0831(0x256)]=_0xbb4926;}!global[_0x4f0831(0x256)][_0x4f0831(0x23e)]&&(global[_0x4f0831(0x256)][_0x4f0831(0x23e)]={});const _0x58107a={};_0x58107a[_0x4f0831(0x1b0)]=_0x27c780,_0x58107a['name']=_0x27c780,global['__workerDetails']['currentTest']['testInfo']=_0x58107a,global[_0x4f0831(0x29b)]=_0x27c780;}catch(_0x3d24e4){logger[_0x4f0831(0x1a9)](_0x4f0831(0x1db)+_0x3d24e4[_0x4f0831(0x19b)]);}if(BrowserstackCLI[_0x4f0831(0x20f)]()[_0x4f0831(0x1af)]()&&await _0x4fdfa['UShFz'](isCLIReady))try{await _0x4fdfa[_0x4f0831(0x262)](handleTestEventCLI,_0x5b22c5[_0x4f0831(0x221)],_0x4fdfa['UpKVR'],_0x4f33b2);break;}catch(_0x333e19){_0x4fdfa['GBYjf'](debug,_0x4f0831(0x1c9)+util[_0x4f0831(0x211)](_0x333e19));}_0x4fdfa[_0x4f0831(0x1bf)](shouldProcessEventForTesthub)&&await _0x4f33b2['testStarted'](_0x5b22c5[_0x4f0831(0x221)]);break;case _0x4fdfa[_0x4f0831(0x1ba)]:{const _0x4a7a21=_0x5b22c5[_0x4f0831(0x221)];if(_0x4fdfa[_0x4f0831(0x200)](isTrue,process[_0x4f0831(0x244)][_0x4f0831(0x1b2)])&&_0x4fdfa[_0x4f0831(0x25f)](isPhantomSkipFromNameFilter,_0x4a7a21)){const _0x5c324b=_0x4fdfa[_0x4f0831(0x1a7)](getFullJestTestName,_0x4a7a21);logger[_0x4f0831(0x1a9)](_0x4f0831(0x1c2)+_0x5c324b+'\x22'),_0x4a7a21['markedStatus']=!![];break;}_0x5b22c5[_0x4f0831(0x221)]={..._0x4fdfa[_0x4f0831(0x1f9)](_0x3ff384,_0x5b22c5[_0x4f0831(0x221)]),..._0x5b22c5[_0x4f0831(0x221)]};try{const _0x59dbc0=_0x5b22c5[_0x4f0831(0x221)][_0x4f0831(0x26b)]||[],_0x3ed83c=_0x4fdfa[_0x4f0831(0x228)](_0x59dbc0['length'],0x0)||_0x4fdfa[_0x4f0831(0x212)](_0x5b22c5[_0x4f0831(0x221)]['status'],_0x4fdfa[_0x4f0831(0x1a0)]),_0x505509=_0x3ed83c?_0x4fdfa[_0x4f0831(0x1ed)]:_0x4fdfa[_0x4f0831(0x1bb)];let _0x3c69e9='';_0x3ed83c&&(_0x3c69e9=_0x59dbc0[_0x4f0831(0x214)](_0x5fb5f3=>{const _0x459aae=_0x4f0831;if(Array['isArray'](_0x5fb5f3))return _0x5fb5f3[_0x459aae(0x214)](_0x2e3ca1=>_0x2e3ca1&&_0x2e3ca1['message']||String(_0x2e3ca1))[_0x459aae(0x1e8)](';\x20');return _0x5fb5f3&&_0x5fb5f3[_0x459aae(0x19b)]||_0xfd6ad5[_0x459aae(0x2a0)](String,_0x5fb5f3);})['join'](';\x20')),process[_0x4f0831(0x23f)]=_0x505509,process[_0x4f0831(0x277)]=_0x4fdfa[_0x4f0831(0x1ca)](_0x3c69e9,''),logger['debug'](_0x4f0831(0x19a)+_0x505509+'\x22'),global[_0x4f0831(0x256)]&&global['__workerDetails'][_0x4f0831(0x23e)]&&(!global[_0x4f0831(0x256)]['currentTest']['testInfo']&&(global[_0x4f0831(0x256)][_0x4f0831(0x23e)][_0x4f0831(0x19f)]={}),global[_0x4f0831(0x256)][_0x4f0831(0x23e)][_0x4f0831(0x19f)]['status']=_0x505509,_0x3ed83c&&(global[_0x4f0831(0x256)][_0x4f0831(0x23e)][_0x4f0831(0x19f)]['failureMessage']=_0x3c69e9));}catch(_0x1d2bc2){logger[_0x4f0831(0x1a9)](_0x4f0831(0x261)+_0x1d2bc2[_0x4f0831(0x19b)]);}if(!_0x5b22c5[_0x4f0831(0x221)][_0x4f0831(0x24e)]){_0x5b22c5[_0x4f0831(0x221)][_0x4f0831(0x24e)]=!![];if(BrowserstackCLI[_0x4f0831(0x20f)]()[_0x4f0831(0x1af)]()&&await _0x4fdfa[_0x4f0831(0x21a)](isCLIReady))try{await _0x4fdfa[_0x4f0831(0x1f2)](handleTestEventCLI,_0x5b22c5[_0x4f0831(0x221)],_0x4fdfa[_0x4f0831(0x216)],_0x4f33b2);break;}catch(_0x39ec18){_0x4fdfa[_0x4f0831(0x1f9)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x4f0831(0x211)](_0x39ec18));}_0x4fdfa[_0x4f0831(0x236)](shouldProcessEventForTesthub)&&await _0x4f33b2[_0x4f0831(0x25e)](_0x5b22c5[_0x4f0831(0x221)]);}break;}case _0x4fdfa['MDuPL']:{const _0xcfcee1=_0x5b22c5[_0x4f0831(0x221)];if(_0x4fdfa['BuCHx'](isTrue,process[_0x4f0831(0x244)][_0x4f0831(0x1b2)])&&_0x4fdfa['GBYjf'](isPhantomSkipFromNameFilter,_0xcfcee1)){const _0x293f43=_0x4fdfa['BuCHx'](getFullJestTestName,_0xcfcee1);logger[_0x4f0831(0x1a9)](_0x4f0831(0x270)+_0x293f43+'\x22'),_0xcfcee1['markedStatus']=!![];break;}_0x5b22c5[_0x4f0831(0x221)]={..._0x4fdfa['csZTM'](_0x3ff384,_0x5b22c5['test']),..._0x5b22c5['test']};if(!_0x5b22c5[_0x4f0831(0x221)][_0x4f0831(0x24e)]){_0x5b22c5['test']['markedStatus']=!![];if(BrowserstackCLI[_0x4f0831(0x20f)]()[_0x4f0831(0x1af)]()&&await _0x4fdfa[_0x4f0831(0x291)](isCLIReady))try{await _0x4fdfa[_0x4f0831(0x1e4)](handleTestEventCLI,_0x5b22c5[_0x4f0831(0x221)],_0x4fdfa[_0x4f0831(0x1f0)],_0x4f33b2);break;}catch(_0x29d7c2){_0x4fdfa['mOHqO'](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x4f0831(0x211)](_0x29d7c2));}_0x4fdfa[_0x4f0831(0x236)](shouldProcessEventForTesthub)&&await _0x4f33b2[_0x4f0831(0x25e)](_0x5b22c5[_0x4f0831(0x221)],undefined,![],_0x4fdfa[_0x4f0831(0x1f0)]);}break;}case _0x4fdfa[_0x4f0831(0x1d6)]:_0x4f33b2[_0x4f0831(0x1b3)]=null;break;case _0x4fdfa[_0x4f0831(0x207)]:await RequestQueueHandler[_0x4f0831(0x20f)]()[_0x4f0831(0x1ac)](),process[_0x4f0831(0x255)]();break;default:}},_0x4fdfa[_0x2c754c(0x28a)]));}catch(_0x287f84){_0x4fdfa[_0x2c754c(0x1d7)](debug,_0x2c754c(0x1fd)+_0x287f84);}return _0x4fdfa[_0x2c754c(0x1f1)](initInitialize,..._0x5542f1);};try{Object['keys'](exportsI)[a21_0x18e27e(0x237)](_0x2030cb=>{const _0x4f46db=a21_0x18e27e,_0x470b87={'RQabK':function(_0x365f40,_0x3d347f){return _0x365f40(_0x3d347f);}};try{exports&&(exports[_0x2030cb]=exportsI[_0x2030cb]);}catch(_0x43eeb5){_0x470b87['RQabK'](debug,_0x4f46db(0x29a)+_0x43eeb5);}});}catch(a21_0x3bcc2c){debug('Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20'+a21_0x3bcc2c);}const a21_0x49e5a2={};a21_0x49e5a2[a21_0x18e27e(0x23c)]=getFullJestTestName,a21_0x49e5a2[a21_0x18e27e(0x273)]=getActiveTestNamePattern,a21_0x49e5a2['isPhantomSkipFromNameFilter']=isPhantomSkipFromNameFilter,exports[a21_0x18e27e(0x290)]=a21_0x49e5a2;
@@ -1 +1 @@
1
- function a22_0xfe4f(_0x2a2bfc,_0x5e80f3){const _0x523a81=a22_0x523a();return a22_0xfe4f=function(_0xfe4f7d,_0x3251db){_0xfe4f7d=_0xfe4f7d-0x12f;let _0xb0a4c7=_0x523a81[_0xfe4f7d];return _0xb0a4c7;},a22_0xfe4f(_0x2a2bfc,_0x5e80f3);}const a22_0x2e5727=a22_0xfe4f;(function(_0x38f2db,_0x580559){const _0x29714a=a22_0xfe4f,_0x29adbb=_0x38f2db();while(!![]){try{const _0x18cce5=parseInt(_0x29714a(0x135))/0x1+-parseInt(_0x29714a(0x13a))/0x2*(-parseInt(_0x29714a(0x13f))/0x3)+-parseInt(_0x29714a(0x137))/0x4+parseInt(_0x29714a(0x132))/0x5+parseInt(_0x29714a(0x13b))/0x6+-parseInt(_0x29714a(0x134))/0x7*(-parseInt(_0x29714a(0x131))/0x8)+-parseInt(_0x29714a(0x139))/0x9;if(_0x18cce5===_0x580559)break;else _0x29adbb['push'](_0x29adbb['shift']());}catch(_0x2131c4){_0x29adbb['push'](_0x29adbb['shift']());}}}(a22_0x523a,0x25861));function a22_0x523a(){const _0x9702fb=['map','14VOOmht','14070crKjwS','get','970472gVYxob','exports','2420037GfKJDL','4WFrsGj','565500sptJpK','env','split','includes','283512cCUVDb','filter','sort','886168vdComj','731690HJbueu'];a22_0x523a=function(){return _0x9702fb;};return a22_0x523a();}const Sequencer=require('@jest/test-sequencer')['default'];class CustomSequencer extends Sequencer{[a22_0x2e5727(0x130)](_0x55594d){const _0x5c6201=a22_0x2e5727,_0x469b48=process[_0x5c6201(0x13c)]['JEST_TEST_ORDER'];if(!_0x469b48)return _0x55594d;const _0x4112f6=_0x469b48[_0x5c6201(0x13d)](','),_0xf88fdc=new Map(_0x55594d[_0x5c6201(0x12f)](_0x2922f7=>_0x4112f6[_0x5c6201(0x13e)](_0x2922f7['path']))[_0x5c6201(0x133)](_0x14f5a3=>[_0x14f5a3['path'],_0x14f5a3]));return _0x4112f6[_0x5c6201(0x133)](_0xde4a92=>_0xf88fdc[_0x5c6201(0x136)](_0xde4a92))[_0x5c6201(0x12f)](Boolean);}}module[a22_0x2e5727(0x138)]=CustomSequencer;
1
+ const a22_0x551739=a22_0x1fbd;(function(_0x589a5c,_0x4f1de4){const _0x5c4e62=a22_0x1fbd,_0x16683a=_0x589a5c();while(!![]){try{const _0x396fc3=parseInt(_0x5c4e62(0x18a))/0x1*(parseInt(_0x5c4e62(0x18b))/0x2)+parseInt(_0x5c4e62(0x191))/0x3+parseInt(_0x5c4e62(0x19a))/0x4*(-parseInt(_0x5c4e62(0x18f))/0x5)+parseInt(_0x5c4e62(0x18d))/0x6+parseInt(_0x5c4e62(0x199))/0x7+parseInt(_0x5c4e62(0x18c))/0x8*(-parseInt(_0x5c4e62(0x192))/0x9)+parseInt(_0x5c4e62(0x193))/0xa*(parseInt(_0x5c4e62(0x190))/0xb);if(_0x396fc3===_0x4f1de4)break;else _0x16683a['push'](_0x16683a['shift']());}catch(_0x4bb430){_0x16683a['push'](_0x16683a['shift']());}}}(a22_0x4617,0xcba26));function a22_0x1fbd(_0x1a66a0,_0x387391){const _0x46179c=a22_0x4617();return a22_0x1fbd=function(_0x1fbd42,_0x5b9130){_0x1fbd42=_0x1fbd42-0x18a;let _0xbf50a2=_0x46179c[_0x1fbd42];return _0xbf50a2;},a22_0x1fbd(_0x1a66a0,_0x387391);}const Sequencer=require(a22_0x551739(0x18e))['default'];class CustomSequencer extends Sequencer{[a22_0x551739(0x19b)](_0x14b778){const _0x5d2663=a22_0x551739,_0x50ac64=process[_0x5d2663(0x194)][_0x5d2663(0x197)];if(!_0x50ac64)return _0x14b778;const _0x4f280b=_0x50ac64[_0x5d2663(0x198)](','),_0x3d57e4=new Map(_0x14b778[_0x5d2663(0x196)](_0x17abd9=>_0x4f280b['includes'](_0x17abd9[_0x5d2663(0x19d)]))['map'](_0x3026b2=>[_0x3026b2[_0x5d2663(0x19d)],_0x3026b2]));return _0x4f280b['map'](_0x319265=>_0x3d57e4[_0x5d2663(0x195)](_0x319265))['filter'](Boolean);}}module[a22_0x551739(0x19c)]=CustomSequencer;function a22_0x4617(){const _0x116b55=['27VUSfsE','20ZGmNZq','env','get','filter','JEST_TEST_ORDER','split','1550794RtZUbV','44dfHWDr','sort','exports','path','341958oBvrJY','6piLSxz','3383192SmZEtQ','7203798WBzlpk','@jest/test-sequencer','286325HMQNzS','221111adqkgG','733341RejCBf'];a22_0x4617=function(){return _0x116b55;};return a22_0x4617();}
@@ -1 +1 @@
1
- 'use strict';const a23_0x61a880=a23_0x51b0;(function(_0x4f5dee,_0x5ae062){const _0x48c3a5=a23_0x51b0,_0x4255d2=_0x4f5dee();while(!![]){try{const _0x42541f=parseInt(_0x48c3a5(0x195))/0x1*(parseInt(_0x48c3a5(0x190))/0x2)+-parseInt(_0x48c3a5(0x19b))/0x3*(-parseInt(_0x48c3a5(0x181))/0x4)+parseInt(_0x48c3a5(0x180))/0x5*(-parseInt(_0x48c3a5(0x183))/0x6)+parseInt(_0x48c3a5(0x192))/0x7*(-parseInt(_0x48c3a5(0x191))/0x8)+parseInt(_0x48c3a5(0x18b))/0x9+parseInt(_0x48c3a5(0x19f))/0xa+parseInt(_0x48c3a5(0x18a))/0xb;if(_0x42541f===_0x5ae062)break;else _0x4255d2['push'](_0x4255d2['shift']());}catch(_0x16afdf){_0x4255d2['push'](_0x4255d2['shift']());}}}(a23_0x4ed8,0xecb0b));const {requireModule,isBrowserstackInfra}=require('../../../helpers/helper'),a23_0x3a11d4={};function a23_0x4ed8(){const _0x19ffb8=['7UspKMt','capabilities','BSTACK_USER_JEST_RUNNER','5234OSuXJi','exports','env','rsLAv','runTests','ZtYMX','789NlxIVV','push','XsXXr','siadZ','8739970fhZfrF','config','7975xtALZW','6788YRlVsT','default','5178javDzV','jest-runner','__esModule','_globalConfig','defineProperty','testEnvironmentOptions','context','5816327BHpGOn','6535260htGSff','value','length','forEach','freeze','392izCemm','10040808xnyaYs'];a23_0x4ed8=function(){return _0x19ffb8;};return a23_0x4ed8();}a23_0x3a11d4[a23_0x61a880(0x18c)]=!![],Object[a23_0x61a880(0x187)](exports,a23_0x61a880(0x185),a23_0x3a11d4),exports[a23_0x61a880(0x182)]=void 0x0;function _interopRequireDefault(_0x13112c){const _0x4710a4=a23_0x61a880;return _0x13112c&&_0x13112c[_0x4710a4(0x185)]?_0x13112c:{'default':_0x13112c};};const runnerModule=process[a23_0x61a880(0x197)][a23_0x61a880(0x194)]||a23_0x61a880(0x184),JestRunner=_interopRequireDefault(requireModule(runnerModule))['default'];class TestRunner extends JestRunner{constructor(..._0x5039ec){super(..._0x5039ec);}[a23_0x61a880(0x199)](..._0x28d78e){const _0x1ff57a=a23_0x61a880,_0xe7c6e1={'siadZ':function(_0x2d86fb){return _0x2d86fb();},'eokiq':function(_0x3f30c7,_0xc52184){return _0x3f30c7-_0xc52184;},'uAOrd':function(_0x41c8e2,_0x25f646){return _0x41c8e2*_0x25f646;},'XsXXr':function(_0x53a8e4,_0x172196){return _0x53a8e4===_0x172196;},'ZtYMX':'false','rsLAv':function(_0x39978f,_0x30e014){return _0x39978f<_0x30e014;}};if(!_0xe7c6e1[_0x1ff57a(0x19e)](isBrowserstackInfra))return super[_0x1ff57a(0x199)](..._0x28d78e);const _0x3c5db1=_0x28d78e[0x0],_0x1f40ab=_0x28d78e[_0xe7c6e1['eokiq'](_0x28d78e[_0x1ff57a(0x18d)],0x1)],_0x5e42dd=_0x3c5db1[0x0]['context'][_0x1ff57a(0x1a0)][_0x1ff57a(0x188)][_0x1ff57a(0x193)],_0x4502ea=_0x3c5db1[0x0]['context'][_0x1ff57a(0x1a0)][_0x1ff57a(0x188)]['parallels__'];_0x4502ea&&(this[_0x1ff57a(0x186)]=Object[_0x1ff57a(0x18f)]({...this[_0x1ff57a(0x186)],'maxWorkers':_0xe7c6e1['uAOrd'](_0x4502ea,_0x5e42dd[_0x1ff57a(0x18d)])}));_0xe7c6e1[_0x1ff57a(0x19d)](_0x3c5db1[0x0][_0x1ff57a(0x189)][_0x1ff57a(0x1a0)]['testEnvironmentOptions']['serial__'],_0xe7c6e1[_0x1ff57a(0x19a)])&&(_0x1f40ab&&(_0x1f40ab['serial']=![]));const _0x48ba26=[];for(let _0x5b28aa=0x0;_0xe7c6e1[_0x1ff57a(0x198)](_0x5b28aa,_0x3c5db1[_0x1ff57a(0x18d)]);_0x5b28aa++){const _0x4c3f03=[];_0x5e42dd[_0x1ff57a(0x18e)]((_0x193943,_0x5115c3)=>{const _0x14d9f8=_0x1ff57a,_0x560cba={..._0x3c5db1[_0x5b28aa]},_0x11c3c1=_0x560cba;_0x11c3c1[_0x14d9f8(0x189)]=Object['freeze']({..._0x11c3c1[_0x14d9f8(0x189)],'config':{..._0x11c3c1[_0x14d9f8(0x189)][_0x14d9f8(0x1a0)],'capability':_0x193943,'browserstackPlatformIndex':_0x5115c3}}),_0x4c3f03[_0x14d9f8(0x19c)](_0x11c3c1);}),_0x48ba26[_0x1ff57a(0x19c)](..._0x4c3f03);}return super[_0x1ff57a(0x199)](_0x48ba26,..._0x28d78e['slice'](0x1));}}function a23_0x51b0(_0x204a21,_0x50a0c2){const _0x4ed824=a23_0x4ed8();return a23_0x51b0=function(_0x51b04e,_0x4f6492){_0x51b04e=_0x51b04e-0x180;let _0x545e85=_0x4ed824[_0x51b04e];return _0x545e85;},a23_0x51b0(_0x204a21,_0x50a0c2);}module[a23_0x61a880(0x196)]=TestRunner;
1
+ 'use strict';const a23_0x1d1ccb=a23_0x71df;function a23_0x131a(){const _0x45db22=['freeze','80ZFooAi','exports','668992swyuVt','3770684YoZytI','OkXsq','testEnvironmentOptions','length','2958780DeOVBX','36NLmtLE','false','49LqjSxO','10176QBNlZv','capabilities','wkRpK','270IDOPET','204880EenCil','BSTACK_USER_JEST_RUNNER','default','value','jest-runner','__esModule','slice','../../../helpers/helper','777460ZABMUY','serial__','env','314740ifMkUB','_globalConfig','context','HMHsw','defineProperty','config','parallels__'];a23_0x131a=function(){return _0x45db22;};return a23_0x131a();}(function(_0x5b2411,_0x563282){const _0x5773a5=a23_0x71df,_0x170f2e=_0x5b2411();while(!![]){try{const _0x300f14=-parseInt(_0x5773a5(0xfe))/0x1+-parseInt(_0x5773a5(0xfc))/0x2*(-parseInt(_0x5773a5(0x107))/0x3)+-parseInt(_0x5773a5(0xff))/0x4+parseInt(_0x5773a5(0x113))/0x5*(parseInt(_0x5773a5(0x104))/0x6)+-parseInt(_0x5773a5(0x106))/0x7*(parseInt(_0x5773a5(0x10b))/0x8)+parseInt(_0x5773a5(0x10a))/0x9*(parseInt(_0x5773a5(0x116))/0xa)+parseInt(_0x5773a5(0x103))/0xb;if(_0x300f14===_0x563282)break;else _0x170f2e['push'](_0x170f2e['shift']());}catch(_0x1f642b){_0x170f2e['push'](_0x170f2e['shift']());}}}(a23_0x131a,0x77d93));const {requireModule,isBrowserstackInfra}=require(a23_0x1d1ccb(0x112)),a23_0x4b5794={};a23_0x4b5794[a23_0x1d1ccb(0x10e)]=!![],Object[a23_0x1d1ccb(0xf8)](exports,a23_0x1d1ccb(0x110),a23_0x4b5794),exports['default']=void 0x0;function _interopRequireDefault(_0x1246f6){const _0x26e1ce=a23_0x1d1ccb;return _0x1246f6&&_0x1246f6[_0x26e1ce(0x110)]?_0x1246f6:{'default':_0x1246f6};};const runnerModule=process[a23_0x1d1ccb(0x115)][a23_0x1d1ccb(0x10c)]||a23_0x1d1ccb(0x10f),JestRunner=_interopRequireDefault(requireModule(runnerModule))[a23_0x1d1ccb(0x10d)];function a23_0x71df(_0x23a8b8,_0x58e170){const _0x131a04=a23_0x131a();return a23_0x71df=function(_0x71df40,_0x3d2bee){_0x71df40=_0x71df40-0xf5;let _0x4004ec=_0x131a04[_0x71df40];return _0x4004ec;},a23_0x71df(_0x23a8b8,_0x58e170);}class TestRunner extends JestRunner{constructor(..._0x1a503){super(..._0x1a503);}['runTests'](..._0x4cd69b){const _0x455afa=a23_0x1d1ccb,_0x5108f5={'jariF':function(_0x525f6c){return _0x525f6c();},'MPZEm':function(_0x48d3e5,_0x54e05f){return _0x48d3e5-_0x54e05f;},'PFWcE':function(_0x4ffa6f,_0x2908db){return _0x4ffa6f*_0x2908db;},'wkRpK':function(_0x427307,_0x58a04e){return _0x427307===_0x58a04e;},'OkXsq':_0x455afa(0x105),'HMHsw':function(_0x299568,_0xc18b6d){return _0x299568<_0xc18b6d;}};if(!_0x5108f5['jariF'](isBrowserstackInfra))return super['runTests'](..._0x4cd69b);const _0x218210=_0x4cd69b[0x0],_0x23d13b=_0x4cd69b[_0x5108f5['MPZEm'](_0x4cd69b[_0x455afa(0x102)],0x1)],_0x291270=_0x218210[0x0][_0x455afa(0xf6)][_0x455afa(0xf9)][_0x455afa(0x101)][_0x455afa(0x108)],_0x592026=_0x218210[0x0][_0x455afa(0xf6)][_0x455afa(0xf9)]['testEnvironmentOptions'][_0x455afa(0xfa)];_0x592026&&(this[_0x455afa(0xf5)]=Object[_0x455afa(0xfb)]({...this[_0x455afa(0xf5)],'maxWorkers':_0x5108f5['PFWcE'](_0x592026,_0x291270['length'])}));_0x5108f5[_0x455afa(0x109)](_0x218210[0x0][_0x455afa(0xf6)][_0x455afa(0xf9)][_0x455afa(0x101)][_0x455afa(0x114)],_0x5108f5[_0x455afa(0x100)])&&(_0x23d13b&&(_0x23d13b['serial']=![]));const _0x2e59aa=[];for(let _0x17ca47=0x0;_0x5108f5[_0x455afa(0xf7)](_0x17ca47,_0x218210[_0x455afa(0x102)]);_0x17ca47++){const _0x130418=[];_0x291270['forEach']((_0x1cc6b1,_0x20fd31)=>{const _0x598577=_0x455afa,_0x2a64c9={..._0x218210[_0x17ca47]},_0xc94b8d=_0x2a64c9;_0xc94b8d[_0x598577(0xf6)]=Object[_0x598577(0xfb)]({..._0xc94b8d[_0x598577(0xf6)],'config':{..._0xc94b8d[_0x598577(0xf6)][_0x598577(0xf9)],'capability':_0x1cc6b1,'browserstackPlatformIndex':_0x20fd31}}),_0x130418['push'](_0xc94b8d);}),_0x2e59aa['push'](..._0x130418);}return super['runTests'](_0x2e59aa,..._0x4cd69b[_0x455afa(0x111)](0x1));}}module[a23_0x1d1ccb(0xfd)]=TestRunner;