browserstack-node-sdk 1.51.0 → 1.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/puppeteer/patches.js +1 -1
  90. package/src/bin/puppeteer/sessionDetails.js +1 -1
  91. package/src/bin/puppeteer/test.setup.js +1 -1
  92. package/src/bin/runner.js +1 -1
  93. package/src/bin/setup.js +1 -1
  94. package/src/bin/test-runner/index.js +1 -1
  95. package/src/bin/test-runner/runTest.js +1 -1
  96. package/src/bin/test-runner/testWorker.js +1 -1
  97. package/src/bin/utils/apiUtilityMethods.js +1 -1
  98. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  99. package/src/bin/utils/constants.js +1 -1
  100. package/src/bin/utils/log4jsAppender.js +1 -1
  101. package/src/bin/utils/logPatcher.js +1 -1
  102. package/src/bin/utils/logReportingAPI.js +1 -1
  103. package/src/bin/utils/playwright-patcher.js +1 -1
  104. package/src/bin/utils/puppeteer-patcher.js +1 -1
  105. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  106. package/src/bin/utils/sharedUtils.js +1 -1
  107. package/src/bin/v2/TestInfo.js +1 -1
  108. package/src/bin/v2/browserstackCLI.js +1 -1
  109. package/src/bin/v2/cliUtils.js +1 -1
  110. package/src/bin/v2/customTagManager.js +1 -1
  111. package/src/bin/v2/eventDispatcher.js +1 -1
  112. package/src/bin/v2/framework/automationFramework.js +1 -1
  113. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  114. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  115. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  116. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  117. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  118. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  119. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  120. package/src/bin/v2/framework/testFramework.js +1 -1
  121. package/src/bin/v2/grpcClient.js +1 -1
  122. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  123. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  124. package/src/bin/v2/instances/trackedContext.js +1 -1
  125. package/src/bin/v2/instances/trackedInstance.js +1 -1
  126. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  127. package/src/bin/v2/modules/baseModule.js +1 -1
  128. package/src/bin/v2/modules/loadTestModule.js +1 -1
  129. package/src/bin/v2/modules/observabilityModule.js +1 -1
  130. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  131. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  132. package/src/bin/v2/modules/testhubModule.js +1 -1
  133. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  134. package/src/bin/v2/state/hookState.js +1 -1
  135. package/src/bin/v2/state/testFrameworkState.js +1 -1
  136. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  137. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  138. package/src/bin/v2/utils/jest-utils.js +1 -1
  139. package/src/bin/vanilla-js/command.js +1 -1
  140. package/src/browserStackSdk.js +1 -1
  141. package/src/helpers/BrowserStackSetup.js +1 -1
  142. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  143. package/src/helpers/accessibility-automation/constants.js +1 -1
  144. package/src/helpers/accessibility-automation/helper.js +1 -1
  145. package/src/helpers/accessibility-automation/scripts.js +1 -1
  146. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  147. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  148. package/src/helpers/ats/constants.js +1 -1
  149. package/src/helpers/ats/helper.js +1 -1
  150. package/src/helpers/capsMapping.js +1 -1
  151. package/src/helpers/central-scanner/constants.js +1 -1
  152. package/src/helpers/central-scanner/helpers.js +1 -1
  153. package/src/helpers/classLogger.js +1 -1
  154. package/src/helpers/globals.js +1 -1
  155. package/src/helpers/helper.js +1 -1
  156. package/src/helpers/logger.js +1 -1
  157. package/src/helpers/metadata.js +1 -1
  158. package/src/helpers/patchHelper.js +1 -1
  159. package/src/helpers/patchHelpers.js +1 -1
  160. package/src/helpers/percy/Percy.js +1 -1
  161. package/src/helpers/percy/PercyBinary.js +1 -1
  162. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  163. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  164. package/src/helpers/percy/PercySDK.js +1 -1
  165. package/src/helpers/percy/index.js +1 -1
  166. package/src/helpers/percy/utils.js +1 -1
  167. package/src/helpers/performance/constants.js +1 -1
  168. package/src/helpers/performance/performance-tester.js +1 -1
  169. package/src/helpers/playwright-helper.js +1 -1
  170. package/src/helpers/processHelper.js +1 -1
  171. package/src/helpers/puppeteer-helper.js +1 -1
  172. package/src/helpers/request-spy.js +1 -1
  173. package/src/helpers/setKeepAlive.js +1 -1
  174. package/src/helpers/test-observability/constants.js +1 -1
  175. package/src/helpers/test-observability/error-handler.js +1 -1
  176. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  177. package/src/helpers/test-observability/sessionHandler.js +1 -1
  178. package/src/helpers/test-observability/utils.js +1 -1
  179. package/src/helpers/test-orchestration/constants.js +1 -1
  180. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  181. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  182. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  183. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  184. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  185. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  186. package/src/helpers/testhub/constants.js +1 -1
  187. package/src/helpers/testhub/testhubHandler.js +1 -1
  188. package/src/helpers/testhub/utils.js +1 -1
  189. package/src/helpers/timeoutPromise.js +1 -1
  190. package/src/helpers/utilities.js +1 -1
  191. package/src/helpers/w3cMapping.js +1 -1
  192. package/src/hubAllocationMethods.js +1 -1
  193. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a10_0x1377(){const _0x4047ae=['cucumber','1166607rvSpVK','Before','__error_messages__','status','__timeout','skipSessionStatus','90QxjfVs','\x22}}','wvXqq','1uMJLZZ','__skipSessionStatus','platformCaps','../../helpers/setKeepAlive','63OhAizY','executeScript','tdlLP','../../helpers/logger','setDefaultTimeout','debug','nojTR','failed','winstonLogger','__skipSessionName','\x20|\x20','initQuit','bstack','fJBhO','env','1893844XKJCgq','878362ahGeHF','join','../../index','3188752TfntYJ','663470oHqRpY','Inside\x20browserstack\x20Before','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','skipSessionName','parse','DdJIK','153865vglHPj','BRrat','Error:\x20quiting\x20at\x20After:\x20','__driver','pickle','sRcOS','CONFIG','name','toLowerCase','ylfOe','1579739QSNLqS'];a10_0x1377=function(){return _0x4047ae;};return a10_0x1377();}const a10_0x526b40=a10_0x2500;(function(_0x23591c,_0xed9825){const _0x120e61=a10_0x2500,_0x51b452=_0x23591c();while(!![]){try{const _0x350336=-parseInt(_0x120e61(0xfd))/0x1*(parseInt(_0x120e61(0x111))/0x2)+-parseInt(_0x120e61(0x127))/0x3+-parseInt(_0x120e61(0x110))/0x4+-parseInt(_0x120e61(0x11b))/0x5*(-parseInt(_0x120e61(0xfa))/0x6)+parseInt(_0x120e61(0x125))/0x7+parseInt(_0x120e61(0x114))/0x8+parseInt(_0x120e61(0x101))/0x9*(parseInt(_0x120e61(0x115))/0xa);if(_0x350336===_0xed9825)break;else _0x51b452['push'](_0x51b452['shift']());}catch(_0x4ead50){_0x51b452['push'](_0x51b452['shift']());}}}(a10_0x1377,0x3cbd0));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require('../../helpers/helper'),setKeepAlive=require(a10_0x526b40(0x100)),cucumberModule=requireModule('cucumber/lib/index.js',a10_0x526b40(0x126)),logger=require(a10_0x526b40(0x104))[a10_0x526b40(0x109)];modifyCommand(),setKeepAlive();const Before=cucumberModule[a10_0x526b40(0xf5)],After=cucumberModule['After'],configuration=process[a10_0x526b40(0x10f)][a10_0x526b40(0x121)];function a10_0x2500(_0x482e20,_0x1dabc3){const _0x1377a7=a10_0x1377();return a10_0x2500=function(_0x250070,_0x3a82b5){_0x250070=_0x250070-0xf5;let _0x49e186=_0x1377a7[_0x250070];return _0x49e186;},a10_0x2500(_0x482e20,_0x1dabc3);}if(configuration!==undefined){const config=JSON[a10_0x526b40(0x119)](configuration);isTrue(config[a10_0x526b40(0x118)])&&(global[a10_0x526b40(0x10a)]=!![]),global[a10_0x526b40(0xfe)]=isTrue(config[a10_0x526b40(0xf9)]),require(a10_0x526b40(0x113))['browserstackAgentV2'](config),global['__platformCaps']=config[a10_0x526b40(0xff)]||{};}global[a10_0x526b40(0xf8)]=0x0;const __setDefaultTimeout=cucumberModule[a10_0x526b40(0x105)];cucumberModule[a10_0x526b40(0x105)]=_0x4c6d27=>{const _0x1e36e3=a10_0x526b40,_0x5bc4d6={'tdlLP':function(_0x1dbd7b,_0x49e9a0){return _0x1dbd7b(_0x49e9a0);}};global[_0x1e36e3(0xf8)]=_0x4c6d27,_0x5bc4d6[_0x1e36e3(0x103)](__setDefaultTimeout,_0x4c6d27);};const a10_0x205d38={};a10_0x205d38[a10_0x526b40(0x122)]=a10_0x526b40(0x10d),Before(a10_0x205d38,function(){const _0x1318e5=a10_0x526b40,_0x3157e6={};_0x3157e6[_0x1318e5(0x124)]=_0x1318e5(0x116);const _0x54d566=_0x3157e6;logger['debug'](_0x54d566['ylfOe']),global[_0x1318e5(0xf6)]=[];});const a10_0x35bd05={};a10_0x35bd05[a10_0x526b40(0x122)]=a10_0x526b40(0x10d),a10_0x35bd05['timeout']=0x2710,After(a10_0x35bd05,function(_0x1545bc,_0x4563eb){const _0x54c59d=a10_0x526b40,_0xe9625={'BRrat':function(_0x53d011,_0x579339){return _0x53d011===_0x579339;},'wvXqq':_0x54c59d(0x108),'nojTR':function(_0x17e820,_0x3e4b14,_0x242979,_0x6dc921){return _0x17e820(_0x3e4b14,_0x242979,_0x6dc921);},'AfmkJ':_0x54c59d(0x10b),'sRcOS':function(_0x4965eb,_0x1f2262,_0x1f70f3){return _0x4965eb(_0x1f2262,_0x1f70f3);},'Vmhsd':'passed','DdJIK':function(_0x2f000b){return _0x2f000b();},'fJBhO':function(_0x3be663,_0x11e324){return _0x3be663(_0x11e324);},'lvsbw':'Inside\x20browserstack\x20After'};logger[_0x54c59d(0x106)](_0xe9625['lvsbw']),new Promise(async(_0x674856,_0x5d36e0)=>{const _0x219453=_0x54c59d;let _0x26131c=![];try{await global[_0x219453(0x11e)]['session_'],_0x26131c=!![],!global['__skipSessionName']&&await global[_0x219453(0x11e)][_0x219453(0x102)](_0x219453(0x117)+_0x1545bc[_0x219453(0x11f)]['name']+_0x219453(0xfb)),_0xe9625[_0x219453(0x11c)](_0x1545bc['result'][_0x219453(0xf7)][_0x219453(0x123)](),_0xe9625[_0x219453(0xfc)])?await _0xe9625[_0x219453(0x107)](markSessionStatus,global['__driver'],_0xe9625[_0x219453(0xfc)],global[_0x219453(0xf6)][_0x219453(0x112)](_0xe9625['AfmkJ'])):await _0xe9625[_0x219453(0x120)](markSessionStatus,global[_0x219453(0x11e)],_0xe9625['Vmhsd']);}catch(_0x24b93e){logger[_0x219453(0x106)]('Error:\x20setting\x20status\x20at\x20After:\x20'+_0x24b93e);}if(_0x26131c)try{await global[_0x219453(0x11e)][_0x219453(0x10c)](),_0xe9625[_0x219453(0x11a)](_0x674856);}catch(_0x494bd4){logger[_0x219453(0x106)](_0x219453(0x11d)+_0x494bd4),_0xe9625[_0x219453(0x10e)](_0x5d36e0,_0x494bd4);}else _0xe9625[_0x219453(0x11a)](_0x5d36e0);})['then'](()=>_0x4563eb());});
1
+ const a10_0x1b4db0=a10_0x8a2e;(function(_0x33ee24,_0x3ecde7){const _0x5a03e1=a10_0x8a2e,_0x505c04=_0x33ee24();while(!![]){try{const _0x35eca1=parseInt(_0x5a03e1(0x152))/0x1+-parseInt(_0x5a03e1(0x180))/0x2*(-parseInt(_0x5a03e1(0x174))/0x3)+-parseInt(_0x5a03e1(0x186))/0x4*(parseInt(_0x5a03e1(0x16d))/0x5)+-parseInt(_0x5a03e1(0x171))/0x6*(-parseInt(_0x5a03e1(0x150))/0x7)+parseInt(_0x5a03e1(0x172))/0x8*(-parseInt(_0x5a03e1(0x15c))/0x9)+parseInt(_0x5a03e1(0x14f))/0xa+-parseInt(_0x5a03e1(0x15e))/0xb;if(_0x35eca1===_0x3ecde7)break;else _0x505c04['push'](_0x505c04['shift']());}catch(_0x1fb714){_0x505c04['push'](_0x505c04['shift']());}}}(a10_0x58f5,0x988df));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x1b4db0(0x163)),setKeepAlive=require(a10_0x1b4db0(0x17c)),cucumberModule=requireModule(a10_0x1b4db0(0x177),'cucumber'),logger=require('../../helpers/logger')[a10_0x1b4db0(0x162)];modifyCommand(),setKeepAlive();const Before=cucumberModule[a10_0x1b4db0(0x182)],After=cucumberModule[a10_0x1b4db0(0x167)],configuration=process[a10_0x1b4db0(0x164)][a10_0x1b4db0(0x15f)];if(configuration!==undefined){const config=JSON['parse'](configuration);isTrue(config[a10_0x1b4db0(0x165)])&&(global[a10_0x1b4db0(0x15a)]=!![]),global['__skipSessionStatus']=isTrue(config[a10_0x1b4db0(0x168)]),require(a10_0x1b4db0(0x16c))[a10_0x1b4db0(0x188)](config),global[a10_0x1b4db0(0x161)]=config['platformCaps']||{};}function a10_0x8a2e(_0x2763c3,_0x5eb706){const _0x58f575=a10_0x58f5();return a10_0x8a2e=function(_0x8a2e49,_0x1a59ed){_0x8a2e49=_0x8a2e49-0x14f;let _0x4ba64b=_0x58f575[_0x8a2e49];return _0x4ba64b;},a10_0x8a2e(_0x2763c3,_0x5eb706);}global[a10_0x1b4db0(0x15d)]=0x0;function a10_0x58f5(){const _0x1b683e=['930318OURdAk','8Yzgybd','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','16944QQAMwd','UiIdR','pHpIU','cucumber/lib/index.js','bstack','timeout','setDefaultTimeout','result','../../helpers/setKeepAlive','executeScript','initQuit','ujrVJ','160gqIskT','then','Before','pickle','\x22}}','status','499892CsSgwA','debug','browserstackAgentV2','12002420IRAjUH','7CECiML','join','863193BIsogX','bxnUz','bXxUc','failed','toLowerCase','LPvtm','MBNJQ','Inside\x20browserstack\x20Before','__skipSessionName','ctune','302184evDBGX','__timeout','16631967VqtHUW','CONFIG','zWYbR','__platformCaps','winstonLogger','../../helpers/helper','env','skipSessionName','__driver','After','skipSessionStatus','name','session_','Inside\x20browserstack\x20After','../../index','20nYzNsN','__error_messages__','\x20|\x20','Error:\x20quiting\x20at\x20After:\x20'];a10_0x58f5=function(){return _0x1b683e;};return a10_0x58f5();}const __setDefaultTimeout=cucumberModule[a10_0x1b4db0(0x17a)];cucumberModule['setDefaultTimeout']=_0xe14826=>{const _0xbaeb07=a10_0x1b4db0,_0x22d118={'MBNJQ':function(_0x60826e,_0x30da31){return _0x60826e(_0x30da31);}};global[_0xbaeb07(0x15d)]=_0xe14826,_0x22d118[_0xbaeb07(0x158)](__setDefaultTimeout,_0xe14826);};const a10_0x427998={};a10_0x427998[a10_0x1b4db0(0x169)]=a10_0x1b4db0(0x178),Before(a10_0x427998,function(){const _0x318d64=a10_0x1b4db0,_0xc34fb3={};_0xc34fb3[_0x318d64(0x15b)]=_0x318d64(0x159);const _0x53f554=_0xc34fb3;logger['debug'](_0x53f554[_0x318d64(0x15b)]),global[_0x318d64(0x16e)]=[];});const a10_0x5e6290={};a10_0x5e6290[a10_0x1b4db0(0x169)]=a10_0x1b4db0(0x178),a10_0x5e6290[a10_0x1b4db0(0x179)]=0x2710,After(a10_0x5e6290,function(_0x90d0e2,_0x4ad4d5){const _0x59b7da=a10_0x1b4db0,_0x58c454={'pHpIU':function(_0x29777b,_0x2f4249){return _0x29777b===_0x2f4249;},'LPvtm':_0x59b7da(0x155),'bXxUc':function(_0x54120d,_0x4ec3ca,_0x3e20bd,_0xfa8e40){return _0x54120d(_0x4ec3ca,_0x3e20bd,_0xfa8e40);},'UiIdR':_0x59b7da(0x16f),'bxnUz':function(_0x291d3c,_0x1eab4b,_0x36d2a5){return _0x291d3c(_0x1eab4b,_0x36d2a5);},'ujrVJ':'passed','zWYbR':function(_0xe32ac0){return _0xe32ac0();},'sJLHR':function(_0x5667d1,_0x2b1fcc){return _0x5667d1(_0x2b1fcc);},'KMQBB':_0x59b7da(0x16b)};logger[_0x59b7da(0x187)](_0x58c454['KMQBB']),new Promise(async(_0x4f7c19,_0x5a6dfb)=>{const _0x21f533=_0x59b7da;let _0x204c0a=![];try{await global['__driver'][_0x21f533(0x16a)],_0x204c0a=!![],!global[_0x21f533(0x15a)]&&await global[_0x21f533(0x166)][_0x21f533(0x17d)](_0x21f533(0x173)+_0x90d0e2[_0x21f533(0x183)][_0x21f533(0x169)]+_0x21f533(0x184)),_0x58c454[_0x21f533(0x176)](_0x90d0e2[_0x21f533(0x17b)][_0x21f533(0x185)][_0x21f533(0x156)](),_0x58c454[_0x21f533(0x157)])?await _0x58c454[_0x21f533(0x154)](markSessionStatus,global[_0x21f533(0x166)],_0x58c454[_0x21f533(0x157)],global[_0x21f533(0x16e)][_0x21f533(0x151)](_0x58c454[_0x21f533(0x175)])):await _0x58c454[_0x21f533(0x153)](markSessionStatus,global[_0x21f533(0x166)],_0x58c454[_0x21f533(0x17f)]);}catch(_0x38b67a){logger[_0x21f533(0x187)]('Error:\x20setting\x20status\x20at\x20After:\x20'+_0x38b67a);}if(_0x204c0a)try{await global['__driver'][_0x21f533(0x17e)](),_0x58c454[_0x21f533(0x160)](_0x4f7c19);}catch(_0x128620){logger[_0x21f533(0x187)](_0x21f533(0x170)+_0x128620),_0x58c454['sJLHR'](_0x5a6dfb,_0x128620);}else _0x58c454['zWYbR'](_0x5a6dfb);})[_0x59b7da(0x181)](()=>_0x4ad4d5());});
@@ -1 +1 @@
1
- const a11_0x4da9df=a11_0x50ae;(function(_0x15480f,_0x53e1e2){const _0xcc0216=a11_0x50ae,_0x341009=_0x15480f();while(!![]){try{const _0x1fb441=parseInt(_0xcc0216(0x98))/0x1*(parseInt(_0xcc0216(0x92))/0x2)+-parseInt(_0xcc0216(0x9a))/0x3+parseInt(_0xcc0216(0x97))/0x4+parseInt(_0xcc0216(0x9e))/0x5+parseInt(_0xcc0216(0x91))/0x6*(parseInt(_0xcc0216(0x9b))/0x7)+-parseInt(_0xcc0216(0x9d))/0x8*(-parseInt(_0xcc0216(0x93))/0x9)+-parseInt(_0xcc0216(0x99))/0xa;if(_0x1fb441===_0x53e1e2)break;else _0x341009['push'](_0x341009['shift']());}catch(_0x392e8a){_0x341009['push'](_0x341009['shift']());}}}(a11_0x5b8a,0x203f1));const {requireModule}=require('../../helpers/helper'),constants=require(a11_0x4da9df(0x95));function a11_0x5b8a(){const _0x338e9d=['cucumber/lib/index.js','589470cLgvUh','86ehfeRZ','126OPJtvA','@cucumber/cucumber/lib/index.js','../utils/constants','setDefaultTimeout','285352UHJXgY','1730ykuTZn','3329310dCttrj','368772cLpEJz','14aYEmYk','__timeout','34864JIeMkz','923530WaYqaq','BSTACK_DELTA'];a11_0x5b8a=function(){return _0x338e9d;};return a11_0x5b8a();};let cucumberModule=null;try{cucumberModule=requireModule(a11_0x4da9df(0x94),'@cucumber/cucumber');}catch(a11_0x164ae5){cucumberModule=requireModule(a11_0x4da9df(0x90),'cucumber');}function a11_0x50ae(_0x477c5c,_0x4e97f9){const _0x5b8aba=a11_0x5b8a();return a11_0x50ae=function(_0x50ae53,_0x20818b){_0x50ae53=_0x50ae53-0x8f;let _0x10e3af=_0x5b8aba[_0x50ae53];return _0x10e3af;},a11_0x50ae(_0x477c5c,_0x4e97f9);}cucumberModule[a11_0x4da9df(0x96)](constants[a11_0x4da9df(0x8f)]+global[a11_0x4da9df(0x9c)]*0x1);
1
+ const a11_0x2ce45e=a11_0x1ca4;(function(_0x23f08a,_0x457673){const _0x2f552b=a11_0x1ca4,_0x1c2c17=_0x23f08a();while(!![]){try{const _0x480d16=parseInt(_0x2f552b(0xce))/0x1*(-parseInt(_0x2f552b(0xc8))/0x2)+-parseInt(_0x2f552b(0xd4))/0x3+parseInt(_0x2f552b(0xd6))/0x4*(parseInt(_0x2f552b(0xd2))/0x5)+parseInt(_0x2f552b(0xd9))/0x6*(parseInt(_0x2f552b(0xcc))/0x7)+parseInt(_0x2f552b(0xd5))/0x8*(-parseInt(_0x2f552b(0xd7))/0x9)+parseInt(_0x2f552b(0xd1))/0xa+-parseInt(_0x2f552b(0xc9))/0xb*(-parseInt(_0x2f552b(0xca))/0xc);if(_0x480d16===_0x457673)break;else _0x1c2c17['push'](_0x1c2c17['shift']());}catch(_0x1d1958){_0x1c2c17['push'](_0x1c2c17['shift']());}}}(a11_0x552b,0xe7c51));const {requireModule}=require(a11_0x2ce45e(0xcd)),constants=require(a11_0x2ce45e(0xcf));;function a11_0x552b(){const _0x5cebf9=['7281glWYhL','cucumber','834imaqpC','32646JUbixy','7965089BoOsqb','12cbZmfp','__timeout','89334WprctW','../../helpers/helper','59DbUgDC','../utils/constants','@cucumber/cucumber/lib/index.js','6624260bJuIff','4405rWegzk','cucumber/lib/index.js','3218508YSIUJp','6080BYurHg','1996XkDBBJ'];a11_0x552b=function(){return _0x5cebf9;};return a11_0x552b();}let cucumberModule=null;try{cucumberModule=requireModule(a11_0x2ce45e(0xd0),'@cucumber/cucumber');}catch(a11_0x198169){cucumberModule=requireModule(a11_0x2ce45e(0xd3),a11_0x2ce45e(0xd8));}function a11_0x1ca4(_0x4f2c93,_0x50f1e8){const _0x552b7b=a11_0x552b();return a11_0x1ca4=function(_0x1ca4a1,_0xd214be){_0x1ca4a1=_0x1ca4a1-0xc8;let _0x1934a9=_0x552b7b[_0x1ca4a1];return _0x1934a9;},a11_0x1ca4(_0x4f2c93,_0x50f1e8);}cucumberModule['setDefaultTimeout'](constants['BSTACK_DELTA']+global[a11_0x2ce45e(0xcb)]*0x1);
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a12_0x365bce=a12_0x39af;(function(_0x558844,_0x2a7237){const _0x43b6d2=a12_0x39af,_0x358d96=_0x558844();while(!![]){try{const _0x2eaf88=parseInt(_0x43b6d2(0x20b))/0x1+parseInt(_0x43b6d2(0x210))/0x2+-parseInt(_0x43b6d2(0x209))/0x3*(-parseInt(_0x43b6d2(0x206))/0x4)+-parseInt(_0x43b6d2(0x1f3))/0x5*(-parseInt(_0x43b6d2(0x21f))/0x6)+parseInt(_0x43b6d2(0x1e6))/0x7+parseInt(_0x43b6d2(0x1fe))/0x8+-parseInt(_0x43b6d2(0x205))/0x9;if(_0x2eaf88===_0x2a7237)break;else _0x358d96['push'](_0x358d96['shift']());}catch(_0x4f9c09){_0x358d96['push'](_0x358d96['shift']());}}}(a12_0x4db9,0xb156a));const {default:BrowserStackSetup}=require(a12_0x365bce(0x21c)),logger=require(a12_0x365bce(0x21e))[a12_0x365bce(0x1de)],{URL}=require(a12_0x365bce(0x1f5)),helper=require('../../helpers/helper'),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x365bce(0x203)),validHosts=function(_0x1e46de){const _0x11f4a4=a12_0x365bce;return _0x1e46de['split'](',')[_0x11f4a4(0x1e7)](_0x5b4a05=>{const _0x1e3aa5=_0x11f4a4;try{new URL(_0x5b4a05[_0x1e3aa5(0x1ee)]());}catch(_0x582223){return![];}return!![];});},parseOnPremHosts=function(_0x840c80){const _0x2cfd50=a12_0x365bce,_0x43fafb={};_0x43fafb[_0x2cfd50(0x1e2)]=function(_0x264580,_0x2fa51b){return _0x264580===_0x2fa51b;},_0x43fafb[_0x2cfd50(0x219)]=_0x2cfd50(0x204),_0x43fafb['IaBZN']='443',_0x43fafb['YMFSj']=function(_0x2c9834,_0x4b2b43){return _0x2c9834===_0x4b2b43;},_0x43fafb['BLKOZ']=_0x2cfd50(0x20c);const _0x528f8b=_0x43fafb;return _0x840c80[_0x2cfd50(0x21b)](',')[_0x2cfd50(0x20f)](_0x6d02fa=>{const _0x5bea8e=_0x2cfd50,_0x46c429=new URL(_0x6d02fa['trim']()),_0x348cef=_0x46c429[_0x5bea8e(0x214)],_0x3a3048=_0x46c429[_0x5bea8e(0x211)]||(_0x528f8b['cjdVL'](_0x46c429[_0x5bea8e(0x1ec)],_0x528f8b['NBILq'])?_0x528f8b[_0x5bea8e(0x1f6)]:'80'),_0x24a280=_0x46c429['protocol']['replace'](':',''),_0x14c03e=_0x528f8b['YMFSj'](_0x24a280,_0x528f8b[_0x5bea8e(0x1ea)])?0x1:0x0;return _0x348cef+','+_0x3a3048+','+_0x14c03e;});},connectCommandBuilder=function(_0x12a996){const _0x3617c4=a12_0x365bce,_0x4e8901={};_0x4e8901[_0x3617c4(0x1ff)]=_0x3617c4(0x1e9);const _0x39e56c=_0x4e8901,_0x4ac716={};_0x4ac716['describe']=HELP_MESSAGES[_0x3617c4(0x208)][_0x3617c4(0x20a)],_0x4ac716[_0x3617c4(0x217)]=_0x39e56c['SKBnm'];const _0x3bbc42={};_0x3bbc42[_0x3617c4(0x220)]=HELP_MESSAGES[_0x3617c4(0x208)][_0x3617c4(0x215)],_0x3bbc42[_0x3617c4(0x217)]=_0x39e56c[_0x3617c4(0x1ff)],_0x3bbc42[_0x3617c4(0x1f0)]=!![];const _0x435b61={};return _0x435b61[_0x3617c4(0x1f4)]=_0x4ac716,_0x435b61['hosts']=_0x3bbc42,_0x12a996[_0x3617c4(0x208)](_0x435b61);},connectCommandHandler=async function(_0x14fe38){const _0x4118c1=a12_0x365bce,_0x14d9bc={'DoIAX':_0x4118c1(0x1fd),'EiZrh':function(_0x2d78e7,_0x4e5069){return _0x2d78e7===_0x4e5069;},'nhRvJ':_0x4118c1(0x1f2),'tVWMv':_0x4118c1(0x202),'eLbEq':_0x4118c1(0x1fa),'EIbiU':function(_0xac3b8b,_0x5f1bdf){return _0xac3b8b(_0x5f1bdf);},'uyGMz':_0x4118c1(0x201),'Kfiev':_0x4118c1(0x1ed),'tZTqc':'Connection\x20established\x20successfully.','taeZC':_0x4118c1(0x213)};try{const _0x3ceffc=new BrowserStackSetup(_0x14fe38,_0x14d9bc[_0x4118c1(0x20d)]);_0x14fe38[_0x4118c1(0x1e3)]&&(_0x3ceffc['config'][_0x4118c1(0x200)]=_0x14fe38[_0x4118c1(0x1e3)]);if(_0x14d9bc['EiZrh'](typeof _0x3ceffc[_0x4118c1(0x1fc)]['accessKey'],_0x14d9bc[_0x4118c1(0x1f9)])){logger['error'](_0x14d9bc[_0x4118c1(0x1e1)]);throw new Error(ERROR_MESSAGES[_0x4118c1(0x20a)]['missing']);}const _0x18a71f=_0x14fe38[_0x4118c1(0x215)];if(_0x14d9bc[_0x4118c1(0x1f1)](typeof _0x18a71f,_0x14d9bc['nhRvJ'])){logger[_0x4118c1(0x218)](_0x14d9bc[_0x4118c1(0x1ef)]);throw new Error(ERROR_MESSAGES['hosts'][_0x4118c1(0x20e)]);}if(!_0x14d9bc[_0x4118c1(0x21a)](validHosts,_0x18a71f)){logger[_0x4118c1(0x218)](_0x14d9bc['uyGMz']);throw new Error(ERROR_MESSAGES[_0x4118c1(0x215)][_0x4118c1(0x1e5)]);}const _0x754088=_0x14d9bc[_0x4118c1(0x21a)](parseOnPremHosts,_0x18a71f);_0x3ceffc['config'][_0x4118c1(0x1e8)]=!![],_0x3ceffc['config']['browserStackLocalOptions'][_0x4118c1(0x216)]=_0x14d9bc[_0x4118c1(0x221)],_0x3ceffc[_0x4118c1(0x1fc)][_0x4118c1(0x212)][_0x4118c1(0x21d)]=_0x754088['join'](','),helper['setProxySettings'](_0x3ceffc[_0x4118c1(0x1fc)]),await _0x3ceffc['setupBrowserstackLocal'](),logger['info'](_0x14d9bc[_0x4118c1(0x207)]);}catch(_0x4d5552){logger[_0x4118c1(0x218)](_0x14d9bc[_0x4118c1(0x1f8)]);throw new Error(_0x4d5552[_0x4118c1(0x1df)]());}};function a12_0x4db9(){const _0x580616=['demandOption','EiZrh','undefined','6521895lASJQC','bstack-accesskey','url','IaBZN','footer','taeZC','nhRvJ','Integration\x20hosts\x20missing.','HPhHK','config','integrations','7850160ecYPrN','SKBnm','accessKey','Hosts\x20not\x20valid','BrowserStack\x20access\x20key\x20missing.','./constants','https:','42917346AzDQpq','1896620tqIDXU','tZTqc','options','6yMEqeL','bstackAccessKey','315105jKsDVG','https','DoIAX','missing','map','1836210fGBQqa','port','browserStackLocalOptions','Failed\x20to\x20establish\x20connection.','hostname','hosts','localIdentifier','type','error','NBILq','EIbiU','split','../../helpers/BrowserStackSetup','only','../../helpers/logger','6BsPvqW','describe','Kfiev','root','help','winstonLogger','toString','oEnYP','tVWMv','cjdVL','bstackAccesskey','command','invalid','7194621TJWAGe','every','browserstackLocal','string','BLKOZ','connect','protocol','integrations-repeater','trim','eLbEq'];a12_0x4db9=function(){return _0x580616;};return a12_0x4db9();}function a12_0x39af(_0x2e0a43,_0x3f8c69){const _0x4db96d=a12_0x4db9();return a12_0x39af=function(_0x39af49,_0x2ebd3a){_0x39af49=_0x39af49-0x1dc;let _0x54faaa=_0x4db96d[_0x39af49];return _0x54faaa;},a12_0x39af(_0x2e0a43,_0x3f8c69);}function run(_0x4cbb1e){const _0x4e91cb=a12_0x365bce,_0x4df0eb={};_0x4df0eb[_0x4e91cb(0x1e0)]=_0x4e91cb(0x1eb),_0x4df0eb[_0x4e91cb(0x1fb)]=_0x4e91cb(0x1dd);const _0x4e7e42=_0x4df0eb;_0x4cbb1e['usage'](HELP_MESSAGES[_0x4e91cb(0x1e4)][_0x4e91cb(0x1dc)])[_0x4e91cb(0x1e4)](_0x4e7e42['oEnYP'],HELP_MESSAGES['command']['connect'],connectCommandBuilder,connectCommandHandler)['demandCommand']()[_0x4e91cb(0x1dd)](_0x4e7e42[_0x4e91cb(0x1fb)])['epilogue'](HELP_MESSAGES[_0x4e91cb(0x1e4)][_0x4e91cb(0x1f7)]);}module['exports']=run;
2
+ 'use strict';const a12_0x2874ec=a12_0x28e1;(function(_0xcb7b98,_0xc43dd3){const _0x5de640=a12_0x28e1,_0x32c81e=_0xcb7b98();while(!![]){try{const _0x267180=-parseInt(_0x5de640(0x196))/0x1+parseInt(_0x5de640(0x165))/0x2*(parseInt(_0x5de640(0x19d))/0x3)+-parseInt(_0x5de640(0x161))/0x4+-parseInt(_0x5de640(0x182))/0x5*(-parseInt(_0x5de640(0x16b))/0x6)+-parseInt(_0x5de640(0x15e))/0x7+parseInt(_0x5de640(0x162))/0x8*(parseInt(_0x5de640(0x15d))/0x9)+-parseInt(_0x5de640(0x180))/0xa;if(_0x267180===_0xc43dd3)break;else _0x32c81e['push'](_0x32c81e['shift']());}catch(_0x276bd9){_0x32c81e['push'](_0x32c81e['shift']());}}}(a12_0x2a7b,0x9dcd0));function a12_0x28e1(_0x171993,_0x4abb9c){const _0x2a7bc9=a12_0x2a7b();return a12_0x28e1=function(_0x28e15d,_0x42f684){_0x28e15d=_0x28e15d-0x159;let _0xbe3ebc=_0x2a7bc9[_0x28e15d];return _0xbe3ebc;},a12_0x28e1(_0x171993,_0x4abb9c);}const {default:BrowserStackSetup}=require(a12_0x2874ec(0x172)),logger=require(a12_0x2874ec(0x173))[a12_0x2874ec(0x170)],{URL}=require(a12_0x2874ec(0x167)),helper=require('../../helpers/helper'),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x2874ec(0x16d)),validHosts=function(_0x461608){return _0x461608['split'](',')['every'](_0x25de0e=>{const _0xee38c6=a12_0x28e1;try{new URL(_0x25de0e[_0xee38c6(0x17e)]());}catch(_0x1e1b53){return![];}return!![];});},parseOnPremHosts=function(_0x36de3a){const _0x1ec8aa=a12_0x2874ec,_0x3f90fa={};_0x3f90fa['Qzdye']=function(_0x4ea64d,_0x2d7444){return _0x4ea64d===_0x2d7444;},_0x3f90fa[_0x1ec8aa(0x187)]=_0x1ec8aa(0x19e),_0x3f90fa[_0x1ec8aa(0x159)]=_0x1ec8aa(0x192),_0x3f90fa[_0x1ec8aa(0x17f)]=function(_0x3af362,_0x25478e){return _0x3af362===_0x25478e;},_0x3f90fa[_0x1ec8aa(0x16a)]=_0x1ec8aa(0x177);const _0xedf131=_0x3f90fa;return _0x36de3a[_0x1ec8aa(0x15a)](',')[_0x1ec8aa(0x164)](_0x324751=>{const _0x329a6e=_0x1ec8aa,_0x30cf4b=new URL(_0x324751['trim']()),_0x394d52=_0x30cf4b[_0x329a6e(0x18e)],_0x376edf=_0x30cf4b[_0x329a6e(0x1a2)]||(_0xedf131[_0x329a6e(0x17d)](_0x30cf4b[_0x329a6e(0x16e)],_0xedf131['KeYBG'])?_0xedf131[_0x329a6e(0x159)]:'80'),_0x2a40d6=_0x30cf4b[_0x329a6e(0x16e)]['replace'](':',''),_0x2518cb=_0xedf131[_0x329a6e(0x17f)](_0x2a40d6,_0xedf131[_0x329a6e(0x16a)])?0x1:0x0;return _0x394d52+','+_0x376edf+','+_0x2518cb;});},connectCommandBuilder=function(_0x1c865b){const _0x3448d1=a12_0x2874ec,_0x36f805={};_0x36f805[_0x3448d1(0x179)]=_0x3448d1(0x178);const _0x44740c=_0x36f805,_0x204c55={};_0x204c55[_0x3448d1(0x193)]=HELP_MESSAGES['options'][_0x3448d1(0x17c)],_0x204c55['type']=_0x44740c[_0x3448d1(0x179)];const _0x54b623={};_0x54b623[_0x3448d1(0x193)]=HELP_MESSAGES[_0x3448d1(0x15b)][_0x3448d1(0x15c)],_0x54b623[_0x3448d1(0x197)]=_0x44740c['Slztc'],_0x54b623[_0x3448d1(0x195)]=!![];const _0x1c6fcb={};return _0x1c6fcb['bstack-accesskey']=_0x204c55,_0x1c6fcb[_0x3448d1(0x15c)]=_0x54b623,_0x1c865b[_0x3448d1(0x15b)](_0x1c6fcb);},connectCommandHandler=async function(_0x52a534){const _0x1af42d=a12_0x2874ec,_0x2c4570={'Qrerb':_0x1af42d(0x18a),'ibLIO':function(_0x5cae1b,_0x4556a7){return _0x5cae1b===_0x4556a7;},'srtyP':_0x1af42d(0x18b),'TwfRa':_0x1af42d(0x191),'wvBUw':function(_0x4b1ee4,_0x21e276){return _0x4b1ee4===_0x21e276;},'bkrof':_0x1af42d(0x166),'UzVtf':function(_0x1b5978,_0x1cb033){return _0x1b5978(_0x1cb033);},'GwhFX':'Hosts\x20not\x20valid','tTsLn':function(_0x12b787,_0x558f1f){return _0x12b787(_0x558f1f);},'rKtvZ':_0x1af42d(0x19a),'qemqK':_0x1af42d(0x160),'xpjpz':_0x1af42d(0x194)};try{const _0x3d0825=new BrowserStackSetup(_0x52a534,_0x2c4570[_0x1af42d(0x16c)]);_0x52a534['bstackAccesskey']&&(_0x3d0825[_0x1af42d(0x174)]['accessKey']=_0x52a534[_0x1af42d(0x183)]);if(_0x2c4570['ibLIO'](typeof _0x3d0825[_0x1af42d(0x174)][_0x1af42d(0x198)],_0x2c4570['srtyP'])){logger[_0x1af42d(0x18f)](_0x2c4570[_0x1af42d(0x168)]);throw new Error(ERROR_MESSAGES[_0x1af42d(0x17c)][_0x1af42d(0x188)]);}const _0x495c93=_0x52a534['hosts'];if(_0x2c4570[_0x1af42d(0x189)](typeof _0x495c93,_0x2c4570[_0x1af42d(0x163)])){logger['error'](_0x2c4570[_0x1af42d(0x1a0)]);throw new Error(ERROR_MESSAGES[_0x1af42d(0x15c)]['missing']);}if(!_0x2c4570[_0x1af42d(0x185)](validHosts,_0x495c93)){logger[_0x1af42d(0x18f)](_0x2c4570[_0x1af42d(0x1a3)]);throw new Error(ERROR_MESSAGES[_0x1af42d(0x15c)][_0x1af42d(0x19f)]);}const _0x4201fe=_0x2c4570['tTsLn'](parseOnPremHosts,_0x495c93);_0x3d0825[_0x1af42d(0x174)]['browserstackLocal']=!![],_0x3d0825['config'][_0x1af42d(0x171)][_0x1af42d(0x199)]=_0x2c4570['rKtvZ'],_0x3d0825[_0x1af42d(0x174)][_0x1af42d(0x171)][_0x1af42d(0x190)]=_0x4201fe[_0x1af42d(0x175)](','),helper['setProxySettings'](_0x3d0825['config']),await _0x3d0825['setupBrowserstackLocal'](),logger[_0x1af42d(0x17b)](_0x2c4570[_0x1af42d(0x19c)]);}catch(_0x559718){logger[_0x1af42d(0x18f)](_0x2c4570['xpjpz']);throw new Error(_0x559718[_0x1af42d(0x184)]());}};function a12_0x2a7b(){const _0x2f1c3d=['bkrof','wEPdY','port','GwhFX','VokAV','split','options','hosts','2325789WKUghS','189329GBHEFH','vGarR','Connection\x20established\x20successfully.','2630372XLWgAu','16KrIPzk','srtyP','map','1173778KolXaP','Integration\x20hosts\x20missing.','url','TwfRa','demandCommand','KmsVY','96QdVflC','Qrerb','./constants','protocol','exports','winstonLogger','browserStackLocalOptions','../../helpers/BrowserStackSetup','../../helpers/logger','config','join','command','https','string','Slztc','connect','info','bstackAccessKey','Qzdye','trim','xvJby','879830UtUzxM','root','266610vnLEro','bstackAccesskey','toString','UzVtf','usage','KeYBG','missing','wvBUw','integrations','undefined','epilogue','help','hostname','error','only','BrowserStack\x20access\x20key\x20missing.','443','describe','Failed\x20to\x20establish\x20connection.','demandOption','1124797PTZQEr','type','accessKey','localIdentifier','integrations-repeater','footer','qemqK','6ezosMM','https:','invalid'];a12_0x2a7b=function(){return _0x2f1c3d;};return a12_0x2a7b();}function run(_0x4f76c6){const _0x75765a=a12_0x2874ec,_0x253f52={};_0x253f52[_0x75765a(0x15f)]=_0x75765a(0x17a),_0x253f52[_0x75765a(0x1a1)]=_0x75765a(0x18d);const _0x16c1b9=_0x253f52;_0x4f76c6[_0x75765a(0x186)](HELP_MESSAGES[_0x75765a(0x176)][_0x75765a(0x181)])[_0x75765a(0x176)](_0x16c1b9[_0x75765a(0x15f)],HELP_MESSAGES[_0x75765a(0x176)][_0x75765a(0x17a)],connectCommandBuilder,connectCommandHandler)[_0x75765a(0x169)]()[_0x75765a(0x18d)](_0x16c1b9[_0x75765a(0x1a1)])[_0x75765a(0x18c)](HELP_MESSAGES[_0x75765a(0x176)][_0x75765a(0x19b)]);}module[a12_0x2874ec(0x16f)]=run;
@@ -1 +1 @@
1
- var a13_0x25032e=a13_0x1add;(function(_0x11be7d,_0x2b52c5){var _0x2cd7cc=a13_0x1add,_0x41ab33=_0x11be7d();while(!![]){try{var _0x1f6f85=parseInt(_0x2cd7cc(0xf3))/0x1+parseInt(_0x2cd7cc(0xe7))/0x2*(parseInt(_0x2cd7cc(0xf9))/0x3)+parseInt(_0x2cd7cc(0xf4))/0x4*(parseInt(_0x2cd7cc(0xe9))/0x5)+-parseInt(_0x2cd7cc(0xf5))/0x6*(parseInt(_0x2cd7cc(0xf8))/0x7)+-parseInt(_0x2cd7cc(0xed))/0x8*(parseInt(_0x2cd7cc(0xfb))/0x9)+parseInt(_0x2cd7cc(0xeb))/0xa+-parseInt(_0x2cd7cc(0xe8))/0xb;if(_0x1f6f85===_0x2b52c5)break;else _0x41ab33['push'](_0x41ab33['shift']());}catch(_0x450858){_0x41ab33['push'](_0x41ab33['shift']());}}}(a13_0x6071,0xb9fa8));var a13_0x51fbf={};a13_0x51fbf[a13_0x25032e(0xf2)]='Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.',a13_0x51fbf[a13_0x25032e(0xea)]=a13_0x25032e(0xf6);var a13_0x3d1a05={};a13_0x3d1a05[a13_0x25032e(0xfd)]=a13_0x25032e(0xf7),a13_0x3d1a05[a13_0x25032e(0xef)]='Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.',a13_0x3d1a05[a13_0x25032e(0xff)]=a13_0x25032e(0xf1);var a13_0x34e423={};a13_0x34e423[a13_0x25032e(0xfe)]=a13_0x51fbf,a13_0x34e423[a13_0x25032e(0x100)]=a13_0x3d1a05,exports['HELP_MESSAGES']=a13_0x34e423;function a13_0x1add(_0x4ba6e3,_0x525e9e){var _0x607142=a13_0x6071();return a13_0x1add=function(_0x1addae,_0x4d8361){_0x1addae=_0x1addae-0xe7;var _0x3236df=_0x607142[_0x1addae];return _0x3236df;},a13_0x1add(_0x4ba6e3,_0x525e9e);}var a13_0x13c095={};a13_0x13c095[a13_0x25032e(0xfc)]=a13_0x25032e(0xf0);var a13_0x279555={};a13_0x279555[a13_0x25032e(0xfc)]=a13_0x25032e(0xec),a13_0x279555['invalid']=a13_0x25032e(0xfa);var a13_0x5b66b3={};a13_0x5b66b3[a13_0x25032e(0xf2)]=a13_0x13c095,a13_0x5b66b3['hosts']=a13_0x279555,exports[a13_0x25032e(0xee)]=a13_0x5b66b3;function a13_0x6071(){var _0x3110bb=['Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','104FwckBu','ERROR_MESSAGES','connect','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','bstackAccessKey','1264929ZRxMvB','20VzdrBt','352266FpOiKh','This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','77soeqeW','9186VRWZTw','Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','645399bnyfQZ','missing','root','options','footer','command','182LgChTH','7172836MbfesE','1278625SdlOHK','hosts','1697120JsiDKC'];a13_0x6071=function(){return _0x3110bb;};return a13_0x6071();}
1
+ var a13_0x4540ac=a13_0x4fec;(function(_0xc3ad35,_0x2a0cf4){var _0x517de0=a13_0x4fec,_0x1d2b2e=_0xc3ad35();while(!![]){try{var _0xe3c34e=-parseInt(_0x517de0(0xdd))/0x1+-parseInt(_0x517de0(0xdb))/0x2*(parseInt(_0x517de0(0xe3))/0x3)+-parseInt(_0x517de0(0xe5))/0x4*(-parseInt(_0x517de0(0xe6))/0x5)+-parseInt(_0x517de0(0xf1))/0x6*(-parseInt(_0x517de0(0xf3))/0x7)+-parseInt(_0x517de0(0xe0))/0x8*(parseInt(_0x517de0(0xea))/0x9)+parseInt(_0x517de0(0xde))/0xa+parseInt(_0x517de0(0xeb))/0xb*(parseInt(_0x517de0(0xf2))/0xc);if(_0xe3c34e===_0x2a0cf4)break;else _0x1d2b2e['push'](_0x1d2b2e['shift']());}catch(_0xdea28b){_0x1d2b2e['push'](_0x1d2b2e['shift']());}}}(a13_0x1a10,0x6d82e));var a13_0x21ae5e={};a13_0x21ae5e['bstackAccessKey']='Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.',a13_0x21ae5e[a13_0x4540ac(0xdc)]=a13_0x4540ac(0xe7);var a13_0x39b053={};function a13_0x4fec(_0x543736,_0xadf9ee){var _0x1a1071=a13_0x1a10();return a13_0x4fec=function(_0x4feccb,_0x566e06){_0x4feccb=_0x4feccb-0xda;var _0x13013c=_0x1a1071[_0x4feccb];return _0x13013c;},a13_0x4fec(_0x543736,_0xadf9ee);}a13_0x39b053[a13_0x4540ac(0xee)]='Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.',a13_0x39b053[a13_0x4540ac(0xec)]=a13_0x4540ac(0xe4),a13_0x39b053[a13_0x4540ac(0xe8)]='Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.';var a13_0x22c40d={};a13_0x22c40d['options']=a13_0x21ae5e,a13_0x22c40d[a13_0x4540ac(0xda)]=a13_0x39b053,exports[a13_0x4540ac(0xdf)]=a13_0x22c40d;var a13_0x37a405={};a13_0x37a405[a13_0x4540ac(0xed)]=a13_0x4540ac(0xef);var a13_0x3f129b={};a13_0x3f129b[a13_0x4540ac(0xed)]='Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.',a13_0x3f129b[a13_0x4540ac(0xe1)]=a13_0x4540ac(0xf0);var a13_0x169861={};a13_0x169861[a13_0x4540ac(0xe9)]=a13_0x37a405,a13_0x169861[a13_0x4540ac(0xdc)]=a13_0x3f129b,exports[a13_0x4540ac(0xe2)]=a13_0x169861;function a13_0x1a10(){var _0x1be32e=['1925256XKZEMq','7QouMwm','command','1520ivwuAe','hosts','320569WYCgas','4581060hyKCik','HELP_MESSAGES','6824Vydifa','invalid','ERROR_MESSAGES','2712SAMkxj','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','321908YQReOU','5EtxqoJ','This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','footer','bstackAccessKey','27tsxNUP','33SXRmEe','connect','missing','root','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','2632974PBewxj'];a13_0x1a10=function(){return _0x1be32e;};return a13_0x1a10();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a14_0x1fc5(_0x19f3da,_0xf8ae44){const _0x26b28f=a14_0x26b2();return a14_0x1fc5=function(_0x1fc5a9,_0x48a289){_0x1fc5a9=_0x1fc5a9-0xd2;let _0x4c457d=_0x26b28f[_0x1fc5a9];return _0x4c457d;},a14_0x1fc5(_0x19f3da,_0xf8ae44);}const a14_0x4ae7e5=a14_0x1fc5;(function(_0x1d6fdc,_0x1dfafb){const _0x2e94f8=a14_0x1fc5,_0x4f4c95=_0x1d6fdc();while(!![]){try{const _0x27db42=-parseInt(_0x2e94f8(0x11a))/0x1*(-parseInt(_0x2e94f8(0x14e))/0x2)+parseInt(_0x2e94f8(0x1ae))/0x3+parseInt(_0x2e94f8(0xe8))/0x4*(parseInt(_0x2e94f8(0x15f))/0x5)+parseInt(_0x2e94f8(0xf9))/0x6*(parseInt(_0x2e94f8(0x128))/0x7)+parseInt(_0x2e94f8(0x12f))/0x8+parseInt(_0x2e94f8(0x181))/0x9*(parseInt(_0x2e94f8(0x1b9))/0xa)+-parseInt(_0x2e94f8(0x16b))/0xb;if(_0x27db42===_0x1dfafb)break;else _0x4f4c95['push'](_0x4f4c95['shift']());}catch(_0x201e8e){_0x4f4c95['push'](_0x4f4c95['shift']());}}}(a14_0x26b2,0x46f24));const fs=require('fs'),path=require(a14_0x4ae7e5(0x14a)),util=require(a14_0x4ae7e5(0xdb)),{spawn}=require(a14_0x4ae7e5(0x13f)),logger=require('../../helpers/logger')[a14_0x4ae7e5(0x100)],{default:BrowserStackSetup}=require(a14_0x4ae7e5(0x137)),helper=require(a14_0x4ae7e5(0x139)),utilities=require(a14_0x4ae7e5(0x10c)),constants=require(a14_0x4ae7e5(0x182)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require(a14_0x4ae7e5(0x1a3)),testOpsHelper=require(a14_0x4ae7e5(0x163)),{debug}=require(a14_0x4ae7e5(0x163)),TestDetails=require(a14_0x4ae7e5(0x1db)),{getPercyOptions}=require(a14_0x4ae7e5(0xee)),TestHubHandler=require(a14_0x4ae7e5(0x127)),testhubUtils=require(a14_0x4ae7e5(0x18f)),{FRAMEWORKS}=require(a14_0x4ae7e5(0xe7)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a14_0x4ae7e5(0x1cf))['EVENTS'],TestOrchestrationHandler=require(a14_0x4ae7e5(0x157)),BrowserstackCLI=require(a14_0x4ae7e5(0x154)),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a14_0x4ae7e5(0xd6)),ClientTroubleShootingService=require(a14_0x4ae7e5(0x103)),{checkAccessibilityPlatformConfig}=require(a14_0x4ae7e5(0x1a1)),getUserJestConfigs=async(_0x2f514e,_0x12ab0c)=>{const _0xaaf858=a14_0x4ae7e5,_0x19beb1={'JfzcS':_0xaaf858(0x1c7),'GLbuf':_0xaaf858(0x1a0),'BNVwd':function(_0x356387,_0x64afc3){return _0x356387||_0x64afc3;},'nOVXy':function(_0x1aa118,_0x293d50){return _0x1aa118(_0x293d50);},'QGjwT':_0xaaf858(0x114),'JDKYy':'Getting\x20your\x20jest\x20configs\x20from\x20package.json','hWtwz':_0xaaf858(0x1d5),'tZmWr':'cjs','djhLQ':_0xaaf858(0x1dc)};let _0x4e20b9;try{_0x4e20b9=helper[_0xaaf858(0x1af)](_0x19beb1[_0xaaf858(0x1ab)],_0x19beb1[_0xaaf858(0x174)]);}catch{const _0x3ed116=helper['requireModule'](_0x19beb1[_0xaaf858(0x174)]);_0x4e20b9={'default':async _0x6df31f=>{const _0x6a316f=_0xaaf858,_0x5c86f5=await _0x3ed116['readInitialOptions'](_0x6df31f,{});return _0x5c86f5[_0x6a316f(0x133)];}};}const _0x51a0ff=_0x12ab0c[_0xaaf858(0x1b1)](_0x3a89ef=>_0x3a89ef===_0xaaf858(0x1ac));if(!helper[_0xaaf858(0x185)](_0x2f514e[_0xaaf858(0x133)])){logger['info']('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x2f514e[_0xaaf858(0x133)]),process[_0xaaf858(0x175)][_0xaaf858(0x11f)]=_0x2f514e['config'];const _0x42431d=await(0x0,_0x4e20b9[_0xaaf858(0x156)])(path[_0xaaf858(0x147)](_0x2f514e['config']));return _0x12ab0c[_0xaaf858(0x151)](_0x51a0ff,0x2),_0x19beb1[_0xaaf858(0x169)](_0x42431d,{});}const _0x3483f0=_0x19beb1[_0xaaf858(0xf4)](require,path['join'](process[_0xaaf858(0x1b4)](),_0x19beb1[_0xaaf858(0x1b5)]));if(_0x3483f0[_0xaaf858(0xfc)])return logger[_0xaaf858(0x162)](_0x19beb1[_0xaaf858(0x173)]),_0x3483f0[_0xaaf858(0xfc)];const _0x2137fc=['js',_0x19beb1[_0xaaf858(0x1b6)],_0x19beb1[_0xaaf858(0x1be)],_0x19beb1[_0xaaf858(0x170)],'ts'];for(const _0x5881b6 of _0x2137fc){const _0x116423=path['join'](process[_0xaaf858(0x1b4)](),_0xaaf858(0x15e)+_0x5881b6);if(fs[_0xaaf858(0x10a)](_0x116423)){process[_0xaaf858(0x175)][_0xaaf858(0x11f)]=_0x116423;const _0xeac531=await(0x0,_0x4e20b9[_0xaaf858(0x156)])(_0x116423);return _0xeac531;}}return{};},getSerial=(_0x3317e5,_0x469aef)=>{const _0x59f38d=a14_0x4ae7e5,_0x13b0f1={};_0x13b0f1[_0x59f38d(0xf7)]=_0x59f38d(0x1c4),_0x13b0f1['sVLBt']=function(_0x293e6d,_0x271dfb){return _0x293e6d>_0x271dfb;},_0x13b0f1[_0x59f38d(0x1c8)]=_0x59f38d(0xf5);const _0x3cca05=_0x13b0f1;let _0x1c133c=_0x3cca05[_0x59f38d(0xf7)];return _0x3cca05[_0x59f38d(0x1d8)](_0x3317e5['length'],0x1)&&(!_0x469aef[_0x59f38d(0x1d4)]&&(helper[_0x59f38d(0x185)](_0x469aef[_0x59f38d(0xfd)])||_0x3cca05[_0x59f38d(0x1d8)](_0x469aef[_0x59f38d(0xfd)],0x1)))&&(_0x1c133c=_0x3cca05[_0x59f38d(0x1c8)]),_0x1c133c;},getMaxWorkers=(_0x2a29fc,_0x1f23fd,_0x422b66)=>{const _0xe38ee8=a14_0x4ae7e5,_0x3c0efb={'TGSbz':function(_0x5b5466,_0x590fd4){return _0x5b5466(_0x590fd4);}};let _0x5df8c1=0x1;if(!helper[_0xe38ee8(0x185)](_0x1f23fd[_0xe38ee8(0x14c)]))_0x5df8c1=_0x3c0efb['TGSbz'](parseInt,_0x1f23fd[_0xe38ee8(0x14c)]);else{if(!helper[_0xe38ee8(0x185)](_0x2a29fc[_0xe38ee8(0xfd)]))_0x5df8c1=_0x2a29fc[_0xe38ee8(0xfd)];else!helper['isUndefined'](_0x422b66[_0xe38ee8(0xfd)])&&(_0x5df8c1=_0x422b66['maxWorkers']);}return _0x5df8c1;};async function run(_0x22354b,_0x2f3ca1,_0x445ccb){const _0x4a520d=a14_0x4ae7e5,_0x457c0a={'SKfHm':'error\x20removing\x20tcg\x20config\x20file','PGDqw':_0x4a520d(0xfc),'vHMQe':function(_0x49d4ab,_0x52bb74){return _0x49d4ab(_0x52bb74);},'JWxdi':_0x4a520d(0x11d),'wIRHo':function(_0x417fbf){return _0x417fbf();},'lXPeg':function(_0x529dc8,_0x18a9cd,_0x24162a,_0x22d4a8){return _0x529dc8(_0x18a9cd,_0x24162a,_0x22d4a8);},'SdddB':function(_0x3cbab1,_0x31baf5){return _0x3cbab1!=_0x31baf5;},'MWdVd':'true','jlGzu':function(_0x485247,_0x4e7356,_0x199011){return _0x485247(_0x4e7356,_0x199011);},'eFpCL':'Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','vOxqz':_0x4a520d(0xf5),'noKBo':function(_0x240930,_0x5669f5){return _0x240930*_0x5669f5;},'MwUHY':function(_0x20fada,_0x5527e5){return _0x20fada===_0x5527e5;},'dzCGU':_0x4a520d(0x164),'jjeIo':_0x4a520d(0x17c),'ZPqQB':_0x4a520d(0x1a7),'hcssh':'jest_browserstack_results.json','fHCIY':_0x4a520d(0x149),'hRyAT':_0x4a520d(0x1c6),'UrwtX':_0x4a520d(0x116),'qpTxC':function(_0x3c19e5,_0x368574){return _0x3c19e5!==_0x368574;},'vlMkM':_0x4a520d(0x155),'lKoIh':_0x4a520d(0xe4),'obDsK':_0x4a520d(0x16d),'ZaHPa':'customSequencer.js','VQoYZ':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','UxnYB':_0x4a520d(0x18a),'tLibp':_0x4a520d(0x148),'sltAS':_0x4a520d(0x1e2),'QthDm':_0x4a520d(0x19d),'HNYgb':_0x4a520d(0x15c),'Sqrgg':_0x4a520d(0x177),'UWQGO':_0x4a520d(0x10b),'zYoVt':_0x4a520d(0x16e),'HKmCB':_0x4a520d(0x19f),'eultU':_0x4a520d(0x102),'vEpuv':_0x4a520d(0x18c),'ozStV':function(_0x6c9b31,_0x5bb8d6){return _0x6c9b31&&_0x5bb8d6;},'iBJmV':_0x4a520d(0xd3),'tGLJs':_0x4a520d(0xe2),'lVExn':'puppeteer-core/package.json','BXHKJ':_0x4a520d(0x156),'drnXe':_0x4a520d(0xe1),'nJBlz':_0x4a520d(0x126),'DCFyr':_0x4a520d(0x17e),'idLJa':function(_0x461fbd,_0x3a1b82){return _0x461fbd>_0x3a1b82;},'WllSJ':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','JVpNz':_0x4a520d(0x1ac),'HwaBB':_0x4a520d(0x14d),'UoGIh':function(_0x30d439,_0x5a7b42){return _0x30d439===_0x5a7b42;},'UxMhE':_0x4a520d(0x10f),'ApKEg':_0x4a520d(0x123),'JEHGk':_0x4a520d(0xe3)},_0x529f36=helper[_0x4a520d(0x1aa)](_0x457c0a[_0x4a520d(0x13b)]);global[_0x4a520d(0xd2)]=!!_0x529f36;const _0x3666db=_0x457c0a[_0x4a520d(0x115)](getPuppeteerVersion);global[_0x4a520d(0x193)]=!!_0x3666db;helper['isBrowserstackInfra']()?(await _0x445ccb[_0x4a520d(0x1de)](_0x22354b),await helper[_0x4a520d(0x130)](_0x445ccb[_0x4a520d(0x133)])):await _0x445ccb[_0x4a520d(0x1d6)]();if(_0x529f36)await _0x457c0a[_0x4a520d(0x1bb)](checkPwandBootstrapCli,_0x529f36,constants[_0x4a520d(0x1d2)][_0x4a520d(0x192)],_0x445ccb);else _0x3666db&&await _0x457c0a[_0x4a520d(0x1bb)](checkPuppeteerAndBootstrapCli,_0x3666db,constants[_0x4a520d(0x1d2)][_0x4a520d(0x192)],_0x445ccb);if(!_0x445ccb[_0x4a520d(0x133)])return;_0x457c0a[_0x4a520d(0x190)](_0x445ccb[_0x4a520d(0x133)][_0x4a520d(0xf3)],null)?process[_0x4a520d(0x175)][_0x4a520d(0xef)]=_0x445ccb['config'][_0x4a520d(0xf3)]:process[_0x4a520d(0x175)][_0x4a520d(0xef)]=_0x457c0a['MWdVd'];const _0x52375c=new TestOrchestrationHandler(_0x445ccb[_0x4a520d(0x133)]),_0x471f90=await _0x457c0a['jlGzu'](getUserJestConfigs,_0x22354b,_0x2f3ca1);logger[_0x4a520d(0x162)](_0x457c0a[_0x4a520d(0xf1)]);const _0x132108=Object['assign']({},_0x471f90);_0x132108['testEnvironmentOptions']=Object[_0x4a520d(0x1d3)]({},_0x132108[_0x4a520d(0x109)],{'server':helper['getHubUrl'](_0x445ccb[_0x4a520d(0x133)]),'environment':_0x471f90[_0x4a520d(0x1bd)]}),_0x132108[_0x4a520d(0x109)][_0x4a520d(0x198)]=_0x457c0a[_0x4a520d(0xde)](getPercyOptions,_0x445ccb[_0x4a520d(0x133)]);const _0x3113cb=helper[_0x4a520d(0x10d)](_0x445ccb['config']);!helper[_0x4a520d(0x185)](_0x445ccb[_0x4a520d(0x133)]['accessibilityOptions'])&&(process['env'][_0x4a520d(0x13e)]=JSON[_0x4a520d(0x1c3)](_0x445ccb[_0x4a520d(0x133)][_0x4a520d(0x159)]));if(!BrowserstackCLI[_0x4a520d(0x101)]()['isRunning']()){const _0x22f441=await TestHubHandler[_0x4a520d(0x178)](FRAMEWORKS[_0x4a520d(0x192)],_0x445ccb);}const _0x331dad=helper[_0x4a520d(0x1cc)](_0x445ccb[_0x4a520d(0x133)],_0x3113cb,constants[_0x4a520d(0x1d2)]['JEST']);process['env'][_0x4a520d(0xdd)]=JSON[_0x4a520d(0x1c3)](_0x331dad);let _0x2f23ff=_0x445ccb[_0x4a520d(0x133)][_0x4a520d(0x161)];_0x2f23ff=_0x2f23ff||accessibilityHelper[_0x4a520d(0x191)](_0x445ccb['config']),process[_0x4a520d(0x175)][_0x4a520d(0x121)]=_0x2f23ff,logger[_0x4a520d(0x1ce)](_0x4a520d(0x160)+_0x2f23ff+_0x4a520d(0x1a6)+BrowserstackCLI[_0x4a520d(0x101)]()[_0x4a520d(0xda)]());if(_0x529f36)try{const _0x3c4059=_0x457c0a[_0x4a520d(0xde)](checkAccessibilityPlatformConfig,_0x445ccb[_0x4a520d(0x133)]);process[_0x4a520d(0x175)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x3c4059?_0x457c0a[_0x4a520d(0x18d)]:_0x457c0a[_0x4a520d(0xdc)],logger[_0x4a520d(0x1ce)]('[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20'+_0x3c4059+_0x4a520d(0x118)+process[_0x4a520d(0x175)][_0x4a520d(0x15b)]);}catch(_0x200df5){logger[_0x4a520d(0x1ce)](_0x4a520d(0x129)+util[_0x4a520d(0x189)](_0x200df5));}_0x132108[_0x4a520d(0x109)]['capabilities']=_0x331dad,_0x132108[_0x4a520d(0x109)][_0x4a520d(0x12c)]=_0x457c0a['jlGzu'](getSerial,_0x331dad,_0x22354b),_0x132108[_0x4a520d(0x109)][_0x4a520d(0x106)]=_0x457c0a['lXPeg'](getMaxWorkers,_0x22354b,_0x445ccb['config'],_0x471f90),_0x132108[_0x4a520d(0x109)][_0x4a520d(0x110)]=_0x445ccb[_0x4a520d(0x133)]['proxySettings'],_0x132108[_0x4a520d(0x109)]['timeout__']=_0x457c0a[_0x4a520d(0x117)](_0x22354b[_0x4a520d(0x1d9)],0x1)||0x1388,_0x132108['testEnvironmentOptions'][_0x4a520d(0x150)]=_0x445ccb[_0x4a520d(0x133)][_0x4a520d(0xd9)]['skipSessionName'],_0x132108['testEnvironmentOptions'][_0x4a520d(0x1ca)]=_0x445ccb['config'][_0x4a520d(0xd9)]['skipSessionStatus'],_0x132108[_0x4a520d(0x109)][_0x4a520d(0x152)]=_0x445ccb[_0x4a520d(0x133)][_0x4a520d(0x104)],_0x132108[_0x4a520d(0x109)][_0x4a520d(0x111)]=_0x445ccb[_0x4a520d(0x133)][_0x4a520d(0x111)],_0x132108[_0x4a520d(0x109)][_0x4a520d(0x120)]=_0x445ccb[_0x4a520d(0x133)][_0x4a520d(0xd4)];const _0x55515e=helper[_0x4a520d(0x141)](_0x445ccb[_0x4a520d(0x133)]);if(!helper['isEmpty'](_0x55515e)){helper[_0x4a520d(0x1c2)](_0x55515e[_0x4a520d(0xfa)])&&(_0x132108[_0x4a520d(0x109)]['retries__']=_0x55515e[_0x4a520d(0xfa)][_0x4a520d(0x13d)]);if(helper[_0x4a520d(0x1c2)](_0x55515e['abortBuildOnFailure'])&&helper[_0x4a520d(0x1c2)](_0x55515e['abortBuildOnFailure'][_0x4a520d(0x11b)])){const _0x408602={};_0x408602['failureThresholdCount']=_0x55515e[_0x4a520d(0x132)][_0x4a520d(0x1d1)],_0x408602[_0x4a520d(0x11b)]=_0x55515e[_0x4a520d(0x132)]['workingDir'],_0x132108[_0x4a520d(0x109)][_0x4a520d(0x134)]=_0x408602;}}let _0xea35ec='';_0x457c0a[_0x4a520d(0x1a5)](helper[_0x4a520d(0x1b7)](),constants[_0x4a520d(0x15d)][_0x4a520d(0x1dd)])?_0xea35ec=_0x457c0a[_0x4a520d(0x1ad)]:_0xea35ec=_0x457c0a[_0x4a520d(0x143)];const _0x37d0ee=_0xea35ec,_0x14f7a9=path[_0x4a520d(0x167)](__dirname,_0x457c0a[_0x4a520d(0x131)],_0x457c0a[_0x4a520d(0x184)]),_0x278abb=path[_0x4a520d(0x167)](__dirname,_0x457c0a[_0x4a520d(0x131)],_0x457c0a[_0x4a520d(0xd7)]),_0x4277ea=path[_0x4a520d(0x167)](__dirname,_0x457c0a[_0x4a520d(0x131)],_0x457c0a[_0x4a520d(0xfe)]);_0x132108[_0x4a520d(0x1bd)]&&(process['env'][_0x4a520d(0x140)]=_0x132108[_0x4a520d(0x1bd)]);_0x132108[_0x4a520d(0x1bd)]=path['join'](__dirname,_0x457c0a[_0x4a520d(0x131)],_0x457c0a[_0x4a520d(0x145)]);const _0x809342=_0x471f90[_0x4a520d(0x12b)];if(_0x809342&&_0x457c0a[_0x4a520d(0x19b)](_0x809342,_0x457c0a[_0x4a520d(0x12e)])){const _0x4b24fb=_0x809342[_0x4a520d(0x1b0)](_0x457c0a[_0x4a520d(0xdf)])?_0x809342:'jest-runner-'+_0x809342;process['env'][_0x4a520d(0x166)]=_0x4b24fb,logger[_0x4a520d(0x162)](_0x4a520d(0xea)+_0x4b24fb);}_0x132108[_0x4a520d(0x12b)]=_0x278abb,_0x132108[_0x4a520d(0x1c9)]=_0x132108['setupFilesAfterEnv']||[],_0x132108['setupFilesAfterEnv']['push'](path[_0x4a520d(0x167)](__dirname,_0x457c0a['obDsK']));_0x52375c['isTestOrchestrationEnabled']()&&(_0x132108[_0x4a520d(0x16a)]=path[_0x4a520d(0x167)](__dirname,_0x457c0a['ZPqQB'],_0x457c0a[_0x4a520d(0x17f)]));if(testhubUtils[_0x4a520d(0x142)]()||BrowserstackCLI[_0x4a520d(0x101)]()[_0x4a520d(0x188)]()){let _0x4fed1c=null;try{_0x4fed1c=helper['requireModule'](_0x457c0a[_0x4a520d(0x17d)],_0x457c0a['UxnYB']);}catch(_0xca45d3){try{_0x4fed1c=helper[_0x4a520d(0x1af)](_0x457c0a[_0x4a520d(0x16c)],_0x457c0a['UxnYB']);}catch(_0x4779f1){_0x457c0a[_0x4a520d(0xde)](debug,_0x4a520d(0x1d0)+_0x4779f1);}}_0x4fed1c&&(testhubUtils[_0x4a520d(0x142)]()&&_0x132108['setupFilesAfterEnv'][_0x4a520d(0x108)](path[_0x4a520d(0x167)](__dirname,_0x457c0a[_0x4a520d(0x194)],_0x457c0a[_0x4a520d(0x1cd)])),_0x132108[_0x4a520d(0xed)]=path[_0x4a520d(0x167)](__dirname,_0x457c0a[_0x4a520d(0x131)],_0x457c0a[_0x4a520d(0x138)]));}_0x132108[_0x4a520d(0x11c)]=_0x132108['setupFiles']||[];try{helper[_0x4a520d(0x12d)](),_0x132108[_0x4a520d(0x11c)][_0x4a520d(0x108)](path[_0x4a520d(0x167)](__dirname,_0x457c0a[_0x4a520d(0x144)]));}catch{logger[_0x4a520d(0x1ce)](_0x457c0a[_0x4a520d(0x183)]);}try{helper['requirePWModule'][_0x4a520d(0x1a2)](null,[_0x457c0a['JWxdi'],_0x457c0a['zYoVt']]),logger[_0x4a520d(0x1ce)](_0x457c0a[_0x4a520d(0xec)]),_0x132108[_0x4a520d(0x11c)][_0x4a520d(0x108)](path[_0x4a520d(0x167)](__dirname,_0x457c0a[_0x4a520d(0xf6)]));}catch(_0x1564b3){logger['debug'](_0x457c0a[_0x4a520d(0x1ba)],_0x1564b3);}if(_0x457c0a[_0x4a520d(0x197)](!_0x529f36,_0x3666db)){try{logger[_0x4a520d(0x1ce)](_0x457c0a['iBJmV']),_0x132108[_0x4a520d(0x11c)]['push'](path[_0x4a520d(0x167)](__dirname,'..',_0x457c0a['tGLJs'],_0x457c0a[_0x4a520d(0xf6)]));}catch(_0x2f429d){logger['debug'](_0x4a520d(0x11e)+_0x2f429d['message']);}try{const _0x474460=require['resolve'](_0x457c0a[_0x4a520d(0xf2)]),_0x3c5ae8=path[_0x4a520d(0x12a)](_0x474460)[_0x4a520d(0x1e1)](/\\/g,'/'),_0x36a0e4={};_0x36a0e4[_0x4a520d(0x1bf)]=_0x3c5ae8+_0x4a520d(0x158),_0x132108['moduleNameMapper']=Object['assign']({},_0x132108[_0x4a520d(0x16f)]||{},_0x36a0e4),logger['debug'](_0x4a520d(0x146)+_0x3c5ae8);}catch(_0x2b2d39){logger['debug'](_0x4a520d(0x1b2)+_0x2b2d39[_0x4a520d(0x1c1)]);}}_0x132108['reporters']=_0x132108[_0x4a520d(0x176)]||[_0x457c0a[_0x4a520d(0x187)]],_0x457c0a[_0x4a520d(0x136)](updateTestRerunConfig,_0x132108,_0x445ccb);const _0x142a71=fs['readFileSync'](_0x4277ea),_0x5c810e=helper[_0x4a520d(0x19a)](_0x457c0a[_0x4a520d(0x1a8)],_0x457c0a[_0x4a520d(0x1d7)]);!_0x5c810e['error']?fs[_0x4a520d(0x107)](_0x132108[_0x4a520d(0x12b)],_0x4a520d(0x19c)+_0x142a71+_0x4a520d(0x112)+_0x445ccb['config']['platforms'][_0x4a520d(0x122)]+_0x4a520d(0x179)):fs[_0x4a520d(0x107)](_0x132108['runner'],_0x4a520d(0x19c)+_0x142a71+_0x4a520d(0x1df)+_0x445ccb[_0x4a520d(0x133)][_0x4a520d(0xd4)]['length']+';\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[_0x4a520d(0x162)]('Creating\x20'+_0x37d0ee+_0x4a520d(0x119)),fs[_0x4a520d(0x107)](_0x37d0ee,_0x4a520d(0x1c5)+JSON[_0x4a520d(0x1c3)](_0x132108)+_0x4a520d(0x1bc));if(_0x52375c[_0x4a520d(0x17b)]()){logger['debug'](_0x457c0a[_0x4a520d(0xe6)]);const _0x2b2509=await _0x52375c[_0x4a520d(0x171)](_0x132108,_0x2f3ca1[_0x4a520d(0xe5)](0x1),_0x37d0ee);logger[_0x4a520d(0x1ce)](_0x4a520d(0xd5)+JSON[_0x4a520d(0x1c3)](_0x2b2509)+_0x4a520d(0x14f));const _0x5bfbb0=await _0x52375c[_0x4a520d(0x199)](_0x2b2509);logger[_0x4a520d(0x1ce)](_0x4a520d(0xe0)+JSON[_0x4a520d(0x1c3)](_0x5bfbb0)),_0x5bfbb0&&_0x457c0a[_0x4a520d(0x1e0)](_0x5bfbb0['length'],0x0)&&(process[_0x4a520d(0x175)][_0x4a520d(0xf8)]=_0x5bfbb0?.[_0x4a520d(0x167)](','));}logger[_0x4a520d(0x162)](_0x457c0a[_0x4a520d(0x165)]);testhubUtils['shouldProcessEventForTesthub']()&&TestDetails[_0x4a520d(0x113)]();helper[_0x4a520d(0x13c)]({},_0x2f3ca1),PerformanceTester[_0x4a520d(0x15a)](PerformanceEvents[_0x4a520d(0x18e)]);const _0x35df51=[_0x457c0a[_0x4a520d(0x153)],_0x457c0a['JVpNz'],_0x37d0ee,..._0x2f3ca1[_0x4a520d(0xe5)](0x1)],_0x1d4ddc=_0x457c0a['lXPeg'](spawn,_0x457c0a[_0x4a520d(0x196)],_0x35df51,{'shell':_0x457c0a[_0x4a520d(0x105)](process[_0x4a520d(0xe9)],_0x457c0a[_0x4a520d(0x18b)]),'stdio':_0x457c0a[_0x4a520d(0x168)],'env':Object[_0x4a520d(0x1d3)]({},process[_0x4a520d(0x175)])});_0x1d4ddc['on'](_0x457c0a['JEHGk'],async _0x4ad0a0=>{const _0x44ecbe=_0x4a520d;PerformanceTester[_0x44ecbe(0x124)](PerformanceEvents[_0x44ecbe(0xeb)]);try{const {browserstackFolderPath:_0x248894,tcgConfigPath:_0x393360}=helper[_0x44ecbe(0x1cb)]();fs[_0x44ecbe(0x195)](_0x393360),fs['rmdirSync'](_0x248894);}catch(_0x3450f9){logger['debug'](_0x457c0a[_0x44ecbe(0xff)],_0x3450f9);}process[_0x44ecbe(0x1b3)]=_0x4ad0a0,logger[_0x44ecbe(0x1ce)](_0x44ecbe(0x19e)+_0x4ad0a0),logger[_0x44ecbe(0x162)](_0x44ecbe(0x14b)+_0x37d0ee);if(helper[_0x44ecbe(0x1c2)](_0x55515e)&&helper[_0x44ecbe(0x1c2)](_0x55515e['abortBuildOnFailure'])&&fs[_0x44ecbe(0x10a)](_0x55515e[_0x44ecbe(0x132)][_0x44ecbe(0x11b)]))try{const _0x7ca0a2={};_0x7ca0a2[_0x44ecbe(0x135)]=!![],_0x7ca0a2[_0x44ecbe(0xd8)]=!![],fs[_0x44ecbe(0xf0)](_0x55515e['abortBuildOnFailure'][_0x44ecbe(0x11b)],_0x7ca0a2),logger[_0x44ecbe(0x1ce)](_0x44ecbe(0x1da)+_0x55515e[_0x44ecbe(0x132)]['workingDir']);}catch(_0x2bda09){logger[_0x44ecbe(0x186)](_0x44ecbe(0x1a4)+_0x2bda09);}let _0x51baa4=null;if(fs[_0x44ecbe(0x10a)](_0x14f7a9)){_0x51baa4=fs[_0x44ecbe(0x13a)](_0x14f7a9);try{_0x51baa4=JSON['parse'](_0x51baa4);}catch(_0x26185d){logger['debug']('Error\x20while\x20parsing\x20'+_0x14f7a9+',\x20'+_0x51baa4+'\x20:\x20'+_0x26185d);}fs[_0x44ecbe(0x195)](_0x14f7a9);}fs[_0x44ecbe(0x195)](_0x37d0ee),fs[_0x44ecbe(0x195)](_0x278abb),_0x51baa4&&(_0x445ccb[_0x44ecbe(0x180)]=helper[_0x44ecbe(0x125)](_0x51baa4,_0x457c0a[_0x44ecbe(0x153)],_0x445ccb));const _0x424c22=BrowserstackCLI[_0x44ecbe(0xfb)]();try{await TestHubHandler[_0x44ecbe(0x17a)](),await BrowserstackCLI[_0x44ecbe(0x101)]()[_0x44ecbe(0x17a)]();}catch(_0x4cf456){console[_0x44ecbe(0x172)](_0x4cf456),_0x457c0a[_0x44ecbe(0xde)](debug,_0x44ecbe(0x1a9)+util[_0x44ecbe(0x189)](_0x4cf456));}testOpsHelper[_0x44ecbe(0x1c0)](),TestDetails[_0x44ecbe(0x10e)](),await utilities['finalExecution'](_0x445ccb,_0x424c22);});}function a14_0x26b2(){const _0x4c029a=['5kqNIOG','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','accessibility','info','../../helpers/test-observability/utils','jest_browserstack.config.cjs','WllSJ','BSTACK_USER_JEST_RUNNER','join','ApKEg','BNVwd','testSequencer','12093741ZThijS','tLibp','jest.setup.js','playwright','moduleNameMapper','djhLQ','findTestFiles','log','JDKYy','GLbuf','env','reporters','test_before.setup.js','launchBuild',';\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','stop','isTestOrchestrationEnabled','jest_browserstack.config.js','VQoYZ','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','ZaHPa','errorMessage','9LCknSb','../utils/constants','UWQGO','hcssh','isUndefined','error','BXHKJ','isCliEnabled','format','jest-circus','UxMhE','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','MWdVd','SDK_SETUP','../../helpers/testhub/utils','SdddB','checkAccessibilityPlatformConfig','JEST','__isPuppeteerInstalled','sltAS','unlinkSync','HwaBB','ozStV','browserStackPercyOptions','reorderTestFiles','resolveModule','qpTxC','\x0a\x20\x20\x20\x20\x20\x20','data-hooks.js','child\x20process\x20exited\x20with\x20code\x20','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','jest-config','../../helpers/accessibility-automation/helper','apply','./test-observability/helper','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','MwUHY',',\x20CLI\x20running:\x20','customImplements','drnXe','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','getPackageVersion','JfzcS','--config','dzCGU','803136cwTjkl','requireModule','startsWith','findIndex','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','exitCode','cwd','QGjwT','hWtwz','getPackageType','exports','2941410juXLbH','vEpuv','lXPeg','\x0amodule.exports\x20=\x20config;','testEnvironment','tZmWr','^puppeteer-core/internal/(.*)','printBuildLink','message','isNotUndefined','stringify','true','const\x20config=','customTestRunnerTemplate.js','jest-config/build/readConfigFileAndSetRootDir.js','iylPd','setupFilesAfterEnv','skipSessionStatus','getTCGConfigFilePaths','prepareCapabilities','QthDm','debug','../../helpers/performance/constants','Unable\x20to\x20find\x20jest-circus,\x20','maxFailures','FRAMEWORKS','assign','runInBand','mjs','setupTCGAuth','nJBlz','sVLBt','testTimeout','Deleted\x20fail-fast\x20state\x20folder:\x20','./test-observability/test-details','json','MODULE','initialize','\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','idLJa','replace','test-observability','__isPlaywrightInstalled','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','platforms','Found:\x20','../../helpers/puppeteer-helper','fHCIY','force','testContextOptions','isRunning','util','vOxqz','BROWSERSTACK_CAPABILITIES','vHMQe','lKoIh','Reodered\x20Test\x20Files:\x20','@jest/core/build/ReporterDispatcher.js','puppeteer','close','jest-runner-','slice','DCFyr','../../helpers/test-observability/constants','260024PHVMFT','platform','Preserving\x20user\x27s\x20Jest\x20runner:\x20','SDK_CLEANUP','HKmCB','testRunner','../../helpers/percy/utils','BROWSERSTACK_TEST_OBSERVABILITY_YML','rmSync','eFpCL','lVExn','testObservability','nOVXy','false','eultU','LbQjm','JEST_TEST_ORDER','3486hPoKLp','retryTestsOnFailure','isCLIEnabled','jest','maxWorkers','hRyAT','SKfHm','winstonLogger','getInstance','test.setup.js','../utils/clientTroubleshootingService','logLevel','UoGIh','parallels__','writeFileSync','push','testEnvironmentOptions','existsSync','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','../../helpers/utilities','useW3C','shutdown','win32','proxySettings','turboScaleUrl','\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','setup','package.json','wIRHo','customEnvironment.js','noKBo',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','\x20with\x20browserstack\x20jest\x20configs','546hGWcBk','workingDir','setupFiles','@playwright/test','Puppeteer\x20setup\x20error:\x20','USER_CONFIG_DETAILS_PATH','platformCaps','BROWSERSTACK_TEST_ACCESSIBILITY_YML','length','inherit','start','getErrorMessageFromResults','@jest/core','../../helpers/testhub/testhubHandler','4879bcSHLp','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','dirname','runner','serial__','requireSeleniumWebdriver','vlMkM','1328152QxohbK','handleApp','ZPqQB','abortBuildOnFailure','config','failFast','recursive','jlGzu','../../helpers/BrowserStackSetup','HNYgb','../../helpers/helper','readFileSync','JWxdi','filterBrowserstackArgs','maxRetries','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','child_process','BSTACK_JEST_TEST_ENV','parseTestOrchestrationOptions','shouldProcessEventForTesthub','jjeIo','Sqrgg','UrwtX','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','resolve','jest-circus/build/runner.js','customTestRunner.js','path','Deleting\x20','parallelsPerPlatform','npx','704jCLTIf','\x20test\x20files\x20to\x20run.','skipSessionName','splice','browserStackLogLevel','PGDqw','../v2/browserstackCLI','jest-runner','default','../../helpers/test-orchestration/testOrchestrationHandler','/internal/$1','accessibilityOptions','end','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','customCircus.js','PACKAGE_TYPE','jest.config.'];a14_0x26b2=function(){return _0x4c029a;};return a14_0x26b2();}module[a14_0x4ae7e5(0x1b8)]=run;
2
+ 'use strict';const a14_0x5c5bd7=a14_0x60a3;(function(_0x1958c3,_0x445ed3){const _0x142cd1=a14_0x60a3,_0x406ba7=_0x1958c3();while(!![]){try{const _0x415699=parseInt(_0x142cd1(0x20a))/0x1+parseInt(_0x142cd1(0x195))/0x2*(parseInt(_0x142cd1(0x1e1))/0x3)+-parseInt(_0x142cd1(0x1db))/0x4*(parseInt(_0x142cd1(0x237))/0x5)+parseInt(_0x142cd1(0x22b))/0x6*(parseInt(_0x142cd1(0x24b))/0x7)+parseInt(_0x142cd1(0x245))/0x8+parseInt(_0x142cd1(0x172))/0x9+-parseInt(_0x142cd1(0x1af))/0xa*(parseInt(_0x142cd1(0x1c8))/0xb);if(_0x415699===_0x445ed3)break;else _0x406ba7['push'](_0x406ba7['shift']());}catch(_0x16266c){_0x406ba7['push'](_0x406ba7['shift']());}}}(a14_0x468f,0x96d38));const fs=require('fs'),path=require(a14_0x5c5bd7(0x197)),util=require(a14_0x5c5bd7(0x260)),{spawn}=require('child_process'),logger=require(a14_0x5c5bd7(0x226))[a14_0x5c5bd7(0x1de)],{default:BrowserStackSetup}=require(a14_0x5c5bd7(0x240)),helper=require('../../helpers/helper'),utilities=require(a14_0x5c5bd7(0x209)),constants=require(a14_0x5c5bd7(0x187)),accessibilityHelper=require(a14_0x5c5bd7(0x1b7)),{updateTestRerunConfig}=require(a14_0x5c5bd7(0x227)),testOpsHelper=require(a14_0x5c5bd7(0x1fa)),{debug}=require(a14_0x5c5bd7(0x1fa)),TestDetails=require(a14_0x5c5bd7(0x241)),{getPercyOptions}=require(a14_0x5c5bd7(0x168)),TestHubHandler=require(a14_0x5c5bd7(0x1f4)),testhubUtils=require('../../helpers/testhub/utils'),{FRAMEWORKS}=require(a14_0x5c5bd7(0x1a9)),PerformanceTester=require(a14_0x5c5bd7(0x23c)),PerformanceEvents=require('../../helpers/performance/constants')[a14_0x5c5bd7(0x1c5)],TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a14_0x5c5bd7(0x182)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a14_0x5c5bd7(0x199)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),getUserJestConfigs=async(_0x1f62a5,_0x1bcfa9)=>{const _0x20e050=a14_0x5c5bd7,_0x48befb={'SsrAi':_0x20e050(0x1c4),'miOTe':'jest-config','rCJbX':function(_0x3ceea9,_0x4262a6){return _0x3ceea9||_0x4262a6;},'vEFDR':function(_0x7cdb0f,_0x28f4d5){return _0x7cdb0f(_0x28f4d5);},'gohTW':_0x20e050(0x259),'yLDVl':_0x20e050(0x1d2),'clRdU':_0x20e050(0x24e),'tVFHy':_0x20e050(0x1a4),'JKyUt':_0x20e050(0x1b9)};let _0x5bbc17;try{_0x5bbc17=helper['requireModule'](_0x48befb[_0x20e050(0x213)],_0x48befb[_0x20e050(0x18a)]);}catch{const _0x6a2c06=helper['requireModule'](_0x48befb[_0x20e050(0x18a)]);_0x5bbc17={'default':async _0xe7f024=>{const _0x488964=_0x20e050,_0x57458b=await _0x6a2c06[_0x488964(0x211)](_0xe7f024,{});return _0x57458b[_0x488964(0x1ed)];}};}const _0x15e9c9=_0x1bcfa9[_0x20e050(0x216)](_0x421563=>_0x421563===_0x20e050(0x21c));if(!helper[_0x20e050(0x1c6)](_0x1f62a5[_0x20e050(0x1ed)])){logger[_0x20e050(0x171)](_0x20e050(0x166)+_0x1f62a5['config']),process[_0x20e050(0x181)]['USER_CONFIG_DETAILS_PATH']=_0x1f62a5['config'];const _0x1ab354=await(0x0,_0x5bbc17['default'])(path[_0x20e050(0x194)](_0x1f62a5[_0x20e050(0x1ed)]));return _0x1bcfa9[_0x20e050(0x1ae)](_0x15e9c9,0x2),_0x48befb['rCJbX'](_0x1ab354,{});}const _0x66356e=_0x48befb[_0x20e050(0x203)](require,path[_0x20e050(0x22d)](process['cwd'](),_0x48befb[_0x20e050(0x21b)]));if(_0x66356e[_0x20e050(0x1bb)])return logger[_0x20e050(0x171)](_0x48befb[_0x20e050(0x238)]),_0x66356e['jest'];const _0x44706e=['js',_0x48befb[_0x20e050(0x1ff)],_0x48befb[_0x20e050(0x1a1)],_0x48befb[_0x20e050(0x18e)],'ts'];for(const _0x18331e of _0x44706e){const _0x5f386e=path[_0x20e050(0x22d)](process[_0x20e050(0x1dc)](),_0x20e050(0x17d)+_0x18331e);if(fs['existsSync'](_0x5f386e)){process[_0x20e050(0x181)]['USER_CONFIG_DETAILS_PATH']=_0x5f386e;const _0x2442b0=await(0x0,_0x5bbc17['default'])(_0x5f386e);return _0x2442b0;}}return{};},getSerial=(_0x4c83e1,_0x330076)=>{const _0x3b0867=a14_0x5c5bd7,_0x1a103b={};_0x1a103b[_0x3b0867(0x20c)]='true',_0x1a103b['ueXyb']=function(_0x57b9fa,_0x34f539){return _0x57b9fa>_0x34f539;},_0x1a103b[_0x3b0867(0x25e)]=function(_0x234d78,_0x3ccf24){return _0x234d78>_0x3ccf24;},_0x1a103b[_0x3b0867(0x1da)]=_0x3b0867(0x1c7);const _0x1bdb34=_0x1a103b;let _0x3b1168=_0x1bdb34[_0x3b0867(0x20c)];return _0x1bdb34[_0x3b0867(0x247)](_0x4c83e1[_0x3b0867(0x186)],0x1)&&(!_0x330076[_0x3b0867(0x206)]&&(helper[_0x3b0867(0x1c6)](_0x330076[_0x3b0867(0x1cf)])||_0x1bdb34['aaHzz'](_0x330076[_0x3b0867(0x1cf)],0x1)))&&(_0x3b1168=_0x1bdb34['cBPPo']),_0x3b1168;},getMaxWorkers=(_0x37d1d8,_0x23bf1e,_0x599a21)=>{const _0x52a678=a14_0x5c5bd7,_0x4bfb90={'flYay':function(_0x1f08b0,_0x2ec883){return _0x1f08b0(_0x2ec883);}};let _0x2db7b4=0x1;if(!helper[_0x52a678(0x1c6)](_0x23bf1e[_0x52a678(0x256)]))_0x2db7b4=_0x4bfb90[_0x52a678(0x176)](parseInt,_0x23bf1e[_0x52a678(0x256)]);else{if(!helper['isUndefined'](_0x37d1d8[_0x52a678(0x1cf)]))_0x2db7b4=_0x37d1d8[_0x52a678(0x1cf)];else!helper[_0x52a678(0x1c6)](_0x599a21[_0x52a678(0x1cf)])&&(_0x2db7b4=_0x599a21[_0x52a678(0x1cf)]);}return _0x2db7b4;};function a14_0x60a3(_0x46b354,_0x5f0a5){const _0x468f6a=a14_0x468f();return a14_0x60a3=function(_0x60a361,_0x1afbaf){_0x60a361=_0x60a361-0x166;let _0x4b1c99=_0x468f6a[_0x60a361];return _0x4b1c99;},a14_0x60a3(_0x46b354,_0x5f0a5);}async function run(_0x374f2c,_0x469677,_0x58c69e){const _0x278fba=a14_0x5c5bd7,_0x5d3860={'GpsBn':_0x278fba(0x208),'orJfs':'jest','JEpJG':function(_0x3d4b5e,_0x4b3880){return _0x3d4b5e(_0x4b3880);},'NRhkW':_0x278fba(0x266),'mSxVo':function(_0x4b4afa){return _0x4b4afa();},'Szwiw':function(_0x454d32,_0x527425,_0x1a0d76,_0x125813){return _0x454d32(_0x527425,_0x1a0d76,_0x125813);},'gKnQZ':function(_0xfd8c6b,_0x53768b,_0x318317,_0x58ada7){return _0xfd8c6b(_0x53768b,_0x318317,_0x58ada7);},'pNsvo':function(_0x106524,_0x6ff135){return _0x106524!=_0x6ff135;},'ukdfW':_0x278fba(0x248),'URxxI':function(_0x25623e,_0x5962c5,_0x31f24f){return _0x25623e(_0x5962c5,_0x31f24f);},'jDHQv':'Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','ykPAv':'false','Nmhjn':function(_0x8d9d55,_0x3ef187,_0x5c5a6c,_0x30bc8b){return _0x8d9d55(_0x3ef187,_0x5c5a6c,_0x30bc8b);},'sUOzB':function(_0x3133e9,_0xe51b6a){return _0x3133e9*_0xe51b6a;},'rgKnv':function(_0x23508d,_0x554e61){return _0x23508d===_0x554e61;},'QHGNU':_0x278fba(0x1bf),'ejbjd':_0x278fba(0x175),'MCCDr':_0x278fba(0x246),'LeAjM':_0x278fba(0x222),'fyvuA':_0x278fba(0x1a2),'TfoRq':_0x278fba(0x1e2),'iDToQ':_0x278fba(0x242),'UvLyt':function(_0x8ff572,_0x35deba){return _0x8ff572!==_0x35deba;},'LKUWl':_0x278fba(0x1d1),'vQrqR':_0x278fba(0x24c),'CMXHg':_0x278fba(0x255),'cMWgx':'customSequencer.js','sZPMa':_0x278fba(0x229),'FZbdT':_0x278fba(0x250),'fdNIi':_0x278fba(0x1fb),'ttzUE':_0x278fba(0x174),'ksgtD':'data-hooks.js','tewpu':_0x278fba(0x23f),'EQtsF':_0x278fba(0x17b),'IPZuu':_0x278fba(0x232),'LmnXD':_0x278fba(0x19d),'iZgmP':'Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','NOtez':_0x278fba(0x265),'xnzLo':_0x278fba(0x205),'RafkA':function(_0x43b3ef,_0x101e9f){return _0x43b3ef&&_0x101e9f;},'HGdOc':'Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','TBjuc':_0x278fba(0x1e0),'DrUnS':_0x278fba(0x1cb),'ISlJv':_0x278fba(0x239),'uYdLh':function(_0x4b3680,_0x18b901,_0x172dd2){return _0x4b3680(_0x18b901,_0x172dd2);},'lOTPp':_0x278fba(0x24a),'kpnNR':_0x278fba(0x1e4),'RyppX':_0x278fba(0x1f6),'fiwIe':function(_0x175d45,_0x296944){return _0x175d45>_0x296944;},'NiCRd':_0x278fba(0x25c),'beCff':'--config','cCJzl':_0x278fba(0x178),'nQjnc':'win32','IkBHL':_0x278fba(0x25b),'ZgSQZ':'close'},_0x3fce7e=helper[_0x278fba(0x198)](_0x5d3860['NRhkW']);global[_0x278fba(0x210)]=!!_0x3fce7e;const _0x5d9aa3=_0x5d3860[_0x278fba(0x1ab)](getPuppeteerVersion);global[_0x278fba(0x1e3)]=!!_0x5d9aa3;helper[_0x278fba(0x1e5)]()?(await _0x58c69e[_0x278fba(0x254)](_0x374f2c),await helper[_0x278fba(0x235)](_0x58c69e[_0x278fba(0x1ed)])):await _0x58c69e[_0x278fba(0x16a)]();if(_0x3fce7e)await _0x5d3860[_0x278fba(0x219)](checkPwandBootstrapCli,_0x3fce7e,constants[_0x278fba(0x264)]['JEST'],_0x58c69e);else _0x5d9aa3&&await _0x5d3860['gKnQZ'](checkPuppeteerAndBootstrapCli,_0x5d9aa3,constants[_0x278fba(0x264)][_0x278fba(0x1a8)],_0x58c69e);if(!_0x58c69e['config'])return;_0x5d3860['pNsvo'](_0x58c69e[_0x278fba(0x1ed)][_0x278fba(0x19c)],null)?process[_0x278fba(0x181)][_0x278fba(0x16b)]=_0x58c69e[_0x278fba(0x1ed)][_0x278fba(0x19c)]:process[_0x278fba(0x181)][_0x278fba(0x16b)]=_0x5d3860[_0x278fba(0x16f)];const _0x4df860=new TestOrchestrationHandler(_0x58c69e[_0x278fba(0x1ed)]),_0x50c552=await _0x5d3860[_0x278fba(0x170)](getUserJestConfigs,_0x374f2c,_0x469677);logger[_0x278fba(0x171)](_0x5d3860[_0x278fba(0x25d)]);const _0x3a65f0=Object[_0x278fba(0x223)]({},_0x50c552);_0x3a65f0[_0x278fba(0x1f8)]=Object[_0x278fba(0x223)]({},_0x3a65f0[_0x278fba(0x1f8)],{'server':helper[_0x278fba(0x217)](_0x58c69e['config']),'environment':_0x50c552[_0x278fba(0x1bd)]}),_0x3a65f0[_0x278fba(0x1f8)][_0x278fba(0x18c)]=_0x5d3860[_0x278fba(0x1e7)](getPercyOptions,_0x58c69e[_0x278fba(0x1ed)]);const _0x3c26e8=helper[_0x278fba(0x252)](_0x58c69e['config']);!helper['isUndefined'](_0x58c69e['config']['accessibilityOptions'])&&(process[_0x278fba(0x181)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x278fba(0x1a3)](_0x58c69e[_0x278fba(0x1ed)]['accessibilityOptions']));if(!BrowserstackCLI['getInstance']()[_0x278fba(0x1c3)]()){const _0x182ab6=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x278fba(0x1a8)],_0x58c69e);}const _0x1d728f=helper[_0x278fba(0x177)](_0x58c69e[_0x278fba(0x1ed)],_0x3c26e8,constants[_0x278fba(0x264)]['JEST']);process[_0x278fba(0x181)][_0x278fba(0x25f)]=JSON[_0x278fba(0x1a3)](_0x1d728f);let _0x123f29=_0x58c69e[_0x278fba(0x1ed)]['accessibility'];_0x123f29=_0x123f29||accessibilityHelper[_0x278fba(0x189)](_0x58c69e[_0x278fba(0x1ed)]),process[_0x278fba(0x181)][_0x278fba(0x21e)]=_0x123f29,logger[_0x278fba(0x257)]('[Jest\x20Command]\x20Accessibility\x20enabled:\x20'+_0x123f29+_0x278fba(0x1ca)+BrowserstackCLI[_0x278fba(0x1c2)]()[_0x278fba(0x1c3)]());if(_0x3fce7e)try{const _0x1b2968=_0x5d3860['JEpJG'](checkAccessibilityPlatformConfig,_0x58c69e[_0x278fba(0x1ed)]);process[_0x278fba(0x181)][_0x278fba(0x1ba)]=_0x1b2968?_0x5d3860[_0x278fba(0x16f)]:_0x5d3860['ykPAv'],logger['debug'](_0x278fba(0x16e)+_0x1b2968+_0x278fba(0x19e)+process[_0x278fba(0x181)][_0x278fba(0x1ba)]);}catch(_0x2562d7){logger[_0x278fba(0x257)](_0x278fba(0x23a)+util[_0x278fba(0x200)](_0x2562d7));}_0x3a65f0[_0x278fba(0x1f8)][_0x278fba(0x221)]=_0x1d728f,_0x3a65f0['testEnvironmentOptions'][_0x278fba(0x253)]=_0x5d3860['URxxI'](getSerial,_0x1d728f,_0x374f2c),_0x3a65f0['testEnvironmentOptions'][_0x278fba(0x17f)]=_0x5d3860[_0x278fba(0x1e8)](getMaxWorkers,_0x374f2c,_0x58c69e[_0x278fba(0x1ed)],_0x50c552),_0x3a65f0[_0x278fba(0x1f8)]['proxySettings']=_0x58c69e[_0x278fba(0x1ed)][_0x278fba(0x190)],_0x3a65f0['testEnvironmentOptions'][_0x278fba(0x1ee)]=_0x5d3860[_0x278fba(0x1ce)](_0x374f2c['testTimeout'],0x1)||0x1388,_0x3a65f0[_0x278fba(0x1f8)][_0x278fba(0x243)]=_0x58c69e[_0x278fba(0x1ed)][_0x278fba(0x1fc)]['skipSessionName'],_0x3a65f0[_0x278fba(0x1f8)][_0x278fba(0x24f)]=_0x58c69e[_0x278fba(0x1ed)][_0x278fba(0x1fc)][_0x278fba(0x24f)],_0x3a65f0[_0x278fba(0x1f8)]['browserStackLogLevel']=_0x58c69e[_0x278fba(0x1ed)]['logLevel'],_0x3a65f0[_0x278fba(0x1f8)][_0x278fba(0x1eb)]=_0x58c69e[_0x278fba(0x1ed)]['turboScaleUrl'],_0x3a65f0[_0x278fba(0x1f8)][_0x278fba(0x224)]=_0x58c69e['config']['platforms'];const _0x29e24d=helper[_0x278fba(0x193)](_0x58c69e[_0x278fba(0x1ed)]);if(!helper['isEmpty'](_0x29e24d)){helper[_0x278fba(0x1e9)](_0x29e24d['retryTestsOnFailure'])&&(_0x3a65f0[_0x278fba(0x1f8)][_0x278fba(0x1f9)]=_0x29e24d['retryTestsOnFailure'][_0x278fba(0x21d)]);if(helper['isNotUndefined'](_0x29e24d[_0x278fba(0x19f)])&&helper[_0x278fba(0x1e9)](_0x29e24d[_0x278fba(0x19f)][_0x278fba(0x261)])){const _0x290b5d={};_0x290b5d['failureThresholdCount']=_0x29e24d[_0x278fba(0x19f)]['maxFailures'],_0x290b5d[_0x278fba(0x261)]=_0x29e24d['abortBuildOnFailure'][_0x278fba(0x261)],_0x3a65f0[_0x278fba(0x1f8)]['failFast']=_0x290b5d;}}let _0x882027='';_0x5d3860[_0x278fba(0x183)](helper[_0x278fba(0x20e)](),constants[_0x278fba(0x1cc)][_0x278fba(0x22f)])?_0x882027=_0x5d3860[_0x278fba(0x230)]:_0x882027=_0x5d3860[_0x278fba(0x1a0)];const _0x16a955=_0x882027,_0x108634=path['join'](__dirname,_0x5d3860[_0x278fba(0x23b)],_0x5d3860[_0x278fba(0x249)]),_0x3c62c8=path['join'](__dirname,_0x5d3860[_0x278fba(0x23b)],_0x5d3860[_0x278fba(0x1d6)]),_0xd0a9e4=path[_0x278fba(0x22d)](__dirname,_0x5d3860['MCCDr'],_0x5d3860[_0x278fba(0x251)]);_0x3a65f0['testEnvironment']&&(process[_0x278fba(0x181)]['BSTACK_JEST_TEST_ENV']=_0x3a65f0['testEnvironment']);_0x3a65f0[_0x278fba(0x1bd)]=path[_0x278fba(0x22d)](__dirname,_0x5d3860[_0x278fba(0x23b)],_0x5d3860[_0x278fba(0x16d)]);const _0xf45fc5=_0x50c552[_0x278fba(0x204)];if(_0xf45fc5&&_0x5d3860[_0x278fba(0x218)](_0xf45fc5,_0x5d3860[_0x278fba(0x18d)])){const _0x2e78f1=_0xf45fc5[_0x278fba(0x188)](_0x5d3860[_0x278fba(0x215)])?_0xf45fc5:_0x278fba(0x24c)+_0xf45fc5;process['env']['BSTACK_USER_JEST_RUNNER']=_0x2e78f1,logger[_0x278fba(0x171)](_0x278fba(0x233)+_0x2e78f1);}_0x3a65f0[_0x278fba(0x204)]=_0x3c62c8,_0x3a65f0['setupFilesAfterEnv']=_0x3a65f0['setupFilesAfterEnv']||[],_0x3a65f0['setupFilesAfterEnv'][_0x278fba(0x1cd)](path[_0x278fba(0x22d)](__dirname,_0x5d3860[_0x278fba(0x1d0)]));_0x4df860[_0x278fba(0x20b)]()&&(_0x3a65f0['testSequencer']=path[_0x278fba(0x22d)](__dirname,_0x5d3860[_0x278fba(0x23b)],_0x5d3860['cMWgx']));if(testhubUtils[_0x278fba(0x1c9)]()||BrowserstackCLI[_0x278fba(0x1c2)]()[_0x278fba(0x1bc)]()){let _0x37049d=null;try{_0x37049d=helper[_0x278fba(0x1aa)](_0x5d3860[_0x278fba(0x22a)],_0x5d3860['FZbdT']);}catch(_0x2d6ebc){try{_0x37049d=helper['requireModule'](_0x5d3860['fdNIi'],_0x5d3860[_0x278fba(0x212)]);}catch(_0x589e86){_0x5d3860[_0x278fba(0x1e7)](debug,_0x278fba(0x1b1)+_0x589e86);}}_0x37049d&&(testhubUtils[_0x278fba(0x1c9)]()&&_0x3a65f0[_0x278fba(0x1f7)][_0x278fba(0x1cd)](path['join'](__dirname,_0x5d3860[_0x278fba(0x192)],_0x5d3860[_0x278fba(0x207)])),_0x3a65f0[_0x278fba(0x1ef)]=path[_0x278fba(0x22d)](__dirname,_0x5d3860[_0x278fba(0x23b)],_0x5d3860[_0x278fba(0x1f0)]));}_0x3a65f0[_0x278fba(0x1f3)]=_0x3a65f0['setupFiles']||[];try{helper['requireSeleniumWebdriver'](),_0x3a65f0['setupFiles'][_0x278fba(0x1cd)](path['join'](__dirname,_0x5d3860[_0x278fba(0x1b3)]));}catch{logger[_0x278fba(0x257)](_0x5d3860['IPZuu']);}try{helper[_0x278fba(0x185)][_0x278fba(0x1b5)](null,[_0x5d3860[_0x278fba(0x180)],_0x5d3860[_0x278fba(0x23e)]]),logger['debug'](_0x5d3860[_0x278fba(0x20d)]),_0x3a65f0[_0x278fba(0x1f3)][_0x278fba(0x1cd)](path['join'](__dirname,_0x5d3860[_0x278fba(0x236)]));}catch(_0xf32828){logger[_0x278fba(0x257)](_0x5d3860[_0x278fba(0x184)],_0xf32828);}if(_0x5d3860[_0x278fba(0x201)](!_0x3fce7e,_0x5d9aa3)){try{logger[_0x278fba(0x257)](_0x5d3860[_0x278fba(0x1fd)]),_0x3a65f0[_0x278fba(0x1f3)]['push'](path['join'](__dirname,'..',_0x5d3860[_0x278fba(0x173)],_0x5d3860[_0x278fba(0x236)]));}catch(_0x2a7f67){logger[_0x278fba(0x257)](_0x278fba(0x18b)+_0x2a7f67[_0x278fba(0x23d)]);}try{const _0x762207=require[_0x278fba(0x194)](_0x5d3860['DrUnS']),_0x8be798=path[_0x278fba(0x1d5)](_0x762207)[_0x278fba(0x1ea)](/\\/g,'/'),_0xa45d25={};_0xa45d25[_0x278fba(0x19a)]=_0x8be798+_0x278fba(0x1b6),_0x3a65f0['moduleNameMapper']=Object[_0x278fba(0x223)]({},_0x3a65f0[_0x278fba(0x1d3)]||{},_0xa45d25),logger[_0x278fba(0x257)](_0x278fba(0x196)+_0x8be798);}catch(_0x1eb333){logger[_0x278fba(0x257)](_0x278fba(0x21a)+_0x1eb333[_0x278fba(0x23d)]);}}_0x3a65f0[_0x278fba(0x1c1)]=_0x3a65f0[_0x278fba(0x1c1)]||[_0x5d3860['ISlJv']],_0x5d3860['uYdLh'](updateTestRerunConfig,_0x3a65f0,_0x58c69e);const _0x2062ce=fs['readFileSync'](_0xd0a9e4),_0x2793b1=helper['resolveModule'](_0x5d3860['lOTPp'],_0x5d3860['kpnNR']);!_0x2793b1[_0x278fba(0x1be)]?fs['writeFileSync'](_0x3a65f0[_0x278fba(0x204)],_0x278fba(0x1b2)+_0x2062ce+_0x278fba(0x25a)+_0x58c69e[_0x278fba(0x1ed)]['platforms'][_0x278fba(0x186)]+';\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[_0x278fba(0x1dd)](_0x3a65f0[_0x278fba(0x204)],_0x278fba(0x1b2)+_0x2062ce+_0x278fba(0x1f5)+_0x58c69e[_0x278fba(0x1ed)][_0x278fba(0x214)][_0x278fba(0x186)]+_0x278fba(0x225));logger[_0x278fba(0x171)](_0x278fba(0x1c0)+_0x16a955+_0x278fba(0x234)),fs[_0x278fba(0x1dd)](_0x16a955,_0x278fba(0x167)+JSON[_0x278fba(0x1a3)](_0x3a65f0)+_0x278fba(0x17e));if(_0x4df860[_0x278fba(0x20b)]()){logger[_0x278fba(0x257)](_0x5d3860[_0x278fba(0x1d8)]);const _0x2c0dbc=await _0x4df860['findTestFiles'](_0x3a65f0,_0x469677['slice'](0x1),_0x16a955);logger['debug'](_0x278fba(0x1ec)+JSON[_0x278fba(0x1a3)](_0x2c0dbc)+_0x278fba(0x1ac));const _0x875b02=await _0x4df860[_0x278fba(0x169)](_0x2c0dbc);logger[_0x278fba(0x257)](_0x278fba(0x17a)+JSON['stringify'](_0x875b02)),_0x875b02&&_0x5d3860[_0x278fba(0x1f1)](_0x875b02[_0x278fba(0x186)],0x0)&&(process['env'][_0x278fba(0x262)]=_0x875b02?.[_0x278fba(0x22d)](','));}logger['info'](_0x5d3860[_0x278fba(0x202)]);testhubUtils[_0x278fba(0x1c9)]()&&TestDetails[_0x278fba(0x244)]();helper[_0x278fba(0x24d)]({},_0x469677),PerformanceTester[_0x278fba(0x1a6)](PerformanceEvents[_0x278fba(0x1b4)]);const _0x113f60=[_0x5d3860[_0x278fba(0x179)],_0x5d3860[_0x278fba(0x220)],_0x16a955,..._0x469677[_0x278fba(0x191)](0x1)],_0x2ddbbb=_0x5d3860[_0x278fba(0x1e8)](spawn,_0x5d3860[_0x278fba(0x1fe)],_0x113f60,{'shell':_0x5d3860['rgKnv'](process[_0x278fba(0x263)],_0x5d3860['nQjnc']),'stdio':_0x5d3860[_0x278fba(0x16c)],'env':Object[_0x278fba(0x223)]({},process[_0x278fba(0x181)])});_0x2ddbbb['on'](_0x5d3860[_0x278fba(0x1d9)],async _0x5589ca=>{const _0x2a944b=_0x278fba;PerformanceTester[_0x2a944b(0x1df)](PerformanceEvents[_0x2a944b(0x258)]);try{const {browserstackFolderPath:_0x2d8593,tcgConfigPath:_0x83934b}=helper['getTCGConfigFilePaths']();fs[_0x2a944b(0x21f)](_0x83934b),fs['rmdirSync'](_0x2d8593);}catch(_0x579bdb){logger[_0x2a944b(0x257)](_0x5d3860[_0x2a944b(0x20f)],_0x579bdb);}process[_0x2a944b(0x22c)]=_0x5589ca,logger[_0x2a944b(0x257)]('child\x20process\x20exited\x20with\x20code\x20'+_0x5589ca),logger[_0x2a944b(0x171)](_0x2a944b(0x1d7)+_0x16a955);if(helper[_0x2a944b(0x1e9)](_0x29e24d)&&helper[_0x2a944b(0x1e9)](_0x29e24d[_0x2a944b(0x19f)])&&fs[_0x2a944b(0x1d4)](_0x29e24d[_0x2a944b(0x19f)][_0x2a944b(0x261)]))try{const _0x1dae2c={};_0x1dae2c[_0x2a944b(0x1ad)]=!![],_0x1dae2c['force']=!![],fs[_0x2a944b(0x1e6)](_0x29e24d['abortBuildOnFailure']['workingDir'],_0x1dae2c),logger[_0x2a944b(0x257)](_0x2a944b(0x17c)+_0x29e24d['abortBuildOnFailure'][_0x2a944b(0x261)]);}catch(_0x5938e9){logger[_0x2a944b(0x1be)](_0x2a944b(0x18f)+_0x5938e9);}let _0x42754b=null;if(fs['existsSync'](_0x108634)){_0x42754b=fs['readFileSync'](_0x108634);try{_0x42754b=JSON[_0x2a944b(0x231)](_0x42754b);}catch(_0x3aac03){logger['debug']('Error\x20while\x20parsing\x20'+_0x108634+',\x20'+_0x42754b+'\x20:\x20'+_0x3aac03);}fs[_0x2a944b(0x21f)](_0x108634);}fs[_0x2a944b(0x21f)](_0x16a955),fs[_0x2a944b(0x21f)](_0x3c62c8),_0x42754b&&(_0x58c69e[_0x2a944b(0x1b0)]=helper[_0x2a944b(0x1b8)](_0x42754b,_0x5d3860['orJfs'],_0x58c69e));const _0x2f0d66=BrowserstackCLI[_0x2a944b(0x228)]();try{await TestHubHandler[_0x2a944b(0x1a5)](),await BrowserstackCLI[_0x2a944b(0x1c2)]()['stop']();}catch(_0x20b88d){console[_0x2a944b(0x1f2)](_0x20b88d),_0x5d3860[_0x2a944b(0x1e7)](debug,_0x2a944b(0x1a7)+util['format'](_0x20b88d));}testOpsHelper[_0x2a944b(0x22e)](),TestDetails[_0x2a944b(0x19b)](),await utilities['finalExecution'](_0x58c69e,_0x2f0d66);});}function a14_0x468f(){const _0x170506=['puppeteer','342777JKMZTm','customTestRunnerTemplate.js','__isPuppeteerInstalled','@jest/core','isBrowserstackInfra','rmSync','JEpJG','Nmhjn','isNotUndefined','replace','turboScaleUrl','Found:\x20','config','timeout__','testRunner','tewpu','fiwIe','log','setupFiles','../../helpers/testhub/testhubHandler','\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','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','setupFilesAfterEnv','testEnvironmentOptions','retries__','../../helpers/test-observability/utils','jest-circus/build/runner.js','testContextOptions','HGdOc','cCJzl','clRdU','format','RafkA','NiCRd','vEFDR','runner','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','runInBand','ksgtD','error\x20removing\x20tcg\x20config\x20file','../../helpers/utilities','154840gUSFoq','isTestOrchestrationEnabled','NVKvR','iZgmP','getPackageType','GpsBn','__isPlaywrightInstalled','readInitialOptions','FZbdT','SsrAi','platforms','vQrqR','findIndex','getHubUrl','UvLyt','Szwiw','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','gohTW','--config','maxRetries','BROWSERSTACK_TEST_ACCESSIBILITY_YML','unlinkSync','beCff','capabilities','jest_browserstack_results.json','assign','platformCaps',';\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','../../helpers/logger','./test-observability/helper','isCLIEnabled','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','sZPMa','1056qlfxEb','exitCode','join','printBuildLink','MODULE','QHGNU','parse','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','Preserving\x20user\x27s\x20Jest\x20runner:\x20','\x20with\x20browserstack\x20jest\x20configs','handleApp','NOtez','323815qRfNhd','yLDVl','default','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','MCCDr','../../helpers/performance/performance-tester','message','LmnXD','customCircus.js','../../helpers/BrowserStackSetup','./test-observability/test-details','customEnvironment.js','skipSessionName','setup','7649440BVvAVY','customImplements','ueXyb','true','LeAjM','@jest/core/build/ReporterDispatcher.js','42196hZLYlq','jest-runner-','filterBrowserstackArgs','mjs','skipSessionStatus','jest-circus','TfoRq','useW3C','serial__','initialize','jest.setup.js','parallelsPerPlatform','debug','SDK_CLEANUP','package.json','\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','inherit','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','jDHQv','aaHzz','BROWSERSTACK_CAPABILITIES','util','workingDir','JEST_TEST_ORDER','platform','FRAMEWORKS','test.setup.js','@playwright/test','Getting\x20your\x20jest\x20configs\x20from\x20','const\x20config=','../../helpers/percy/utils','reorderTestFiles','setupTCGAuth','BROWSERSTACK_TEST_OBSERVABILITY_YML','IkBHL','iDToQ','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','ukdfW','URxxI','info','2634678UZyIwl','TBjuc','test-observability','jest_browserstack.config.js','flYay','prepareCapabilities','npx','orJfs','Reodered\x20Test\x20Files:\x20','test_before.setup.js','Deleted\x20fail-fast\x20state\x20folder:\x20','jest.config.','\x0amodule.exports\x20=\x20config;','parallels__','NRhkW','env','../../helpers/playwright-helper','rgKnv','xnzLo','requirePWModule','length','../utils/constants','startsWith','checkAccessibilityPlatformConfig','miOTe','Puppeteer\x20setup\x20error:\x20','browserStackPercyOptions','LKUWl','JKyUt','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','proxySettings','slice','ttzUE','parseTestOrchestrationOptions','resolve','2vWmTOH','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','path','getPackageVersion','../../helpers/puppeteer-helper','^puppeteer-core/internal/(.*)','shutdown','testObservability','playwright',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','abortBuildOnFailure','ejbjd','tVFHy','customTestRunner.js','stringify','cjs','stop','end','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','JEST','../../helpers/test-observability/constants','requireModule','mSxVo','\x20test\x20files\x20to\x20run.','recursive','splice','10qGZxop','errorMessage','Unable\x20to\x20find\x20jest-circus,\x20','\x0a\x20\x20\x20\x20\x20\x20','EQtsF','SDK_SETUP','apply','/internal/$1','../../helpers/accessibility-automation/helper','getErrorMessageFromResults','json','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','jest','isCliEnabled','testEnvironment','error','jest_browserstack.config.cjs','Creating\x20','reporters','getInstance','isRunning','jest-config/build/readConfigFileAndSetRootDir.js','EVENTS','isUndefined','false','9462134vQbsdo','shouldProcessEventForTesthub',',\x20CLI\x20running:\x20','puppeteer-core/package.json','PACKAGE_TYPE','push','sUOzB','maxWorkers','CMXHg','jest-runner','Getting\x20your\x20jest\x20configs\x20from\x20package.json','moduleNameMapper','existsSync','dirname','fyvuA','Deleting\x20','RyppX','ZgSQZ','cBPPo','68vblLLC','cwd','writeFileSync','winstonLogger','start'];a14_0x468f=function(){return _0x170506;};return a14_0x468f();}module['exports']=run;
@@ -1 +1 @@
1
- const a15_0x41cd33=a15_0x354c;function a15_0x354c(_0x217aea,_0x537f8a){const _0x389b36=a15_0x389b();return a15_0x354c=function(_0x354c18,_0x481400){_0x354c18=_0x354c18-0x126;let _0x4606fd=_0x389b36[_0x354c18];return _0x4606fd;},a15_0x354c(_0x217aea,_0x537f8a);}function a15_0x389b(){const _0x57eb4b=['8171184AHKiZQ','jest-circus','join','requireInternalModule','2AyBEti','includes','initRequireModule','customJestAdapterInit.js','3ETiULP','6057368iYnFbt','jestAdapterInit','VIRgd','8163150AZJyfs','default','20059470iHaVhP','2076780bhIPlf','1333247bCMhwM','../../../helpers/helper','2176492Ryjckc'];a15_0x389b=function(){return _0x57eb4b;};return a15_0x389b();}(function(_0x393a45,_0x2d5deb){const _0x13668d=a15_0x354c,_0x16c675=_0x393a45();while(!![]){try{const _0x31c405=-parseInt(_0x13668d(0x129))/0x1*(-parseInt(_0x13668d(0x130))/0x2)+parseInt(_0x13668d(0x134))/0x3*(-parseInt(_0x13668d(0x12b))/0x4)+-parseInt(_0x13668d(0x128))/0x5+-parseInt(_0x13668d(0x138))/0x6+-parseInt(_0x13668d(0x12c))/0x7+parseInt(_0x13668d(0x135))/0x8+parseInt(_0x13668d(0x127))/0x9;if(_0x31c405===_0x2d5deb)break;else _0x16c675['push'](_0x16c675['shift']());}catch(_0x551e56){_0x16c675['push'](_0x16c675['shift']());}}}(a15_0x389b,0xcb1bc));const path=require('path'),{requireModule}=require(a15_0x41cd33(0x12a));let initJestAdapter;try{initJestAdapter=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js',a15_0x41cd33(0x12d));}catch{initJestAdapter=requireModule('jest-circus/build/runner.js',a15_0x41cd33(0x12d));}initJestAdapter=typeof initJestAdapter==='function'?initJestAdapter:initJestAdapter[a15_0x41cd33(0x126)];const FRAMEWORK_INITIALIZER=path[a15_0x41cd33(0x12e)](__dirname,a15_0x41cd33(0x133));module['exports']=(..._0x3a1f18)=>{const _0x336e3c=a15_0x41cd33,_0x1a125c={'VIRgd':_0x336e3c(0x136),'evJfw':function(_0x2085f3,_0xf4ed4b){return _0x2085f3===_0xf4ed4b;},'jUyOG':function(_0x17ab25,..._0x241fc8){return _0x17ab25(..._0x241fc8);}};return _0x3a1f18[0x3][_0x336e3c(0x132)]=_0x3a1f18[0x3][_0x336e3c(0x12f)],_0x3a1f18[0x3][_0x336e3c(0x12f)]=(..._0x25d593)=>{const _0x32de16=_0x336e3c;if(_0x25d593[0x0]&&_0x25d593[0x0][_0x32de16(0x131)](_0x1a125c[_0x32de16(0x137)])&&_0x1a125c['evJfw'](_0x25d593[0x1],undefined))return _0x3a1f18[0x3]['initRequireModule'](FRAMEWORK_INITIALIZER);return _0x3a1f18[0x3][_0x32de16(0x132)](..._0x25d593);},_0x1a125c['jUyOG'](initJestAdapter,..._0x3a1f18);};
1
+ const a15_0x28fabf=a15_0x26ae;(function(_0x3366c3,_0x5516ec){const _0x2113fb=a15_0x26ae,_0x4bde9=_0x3366c3();while(!![]){try{const _0x43b74a=-parseInt(_0x2113fb(0x128))/0x1+parseInt(_0x2113fb(0x130))/0x2*(parseInt(_0x2113fb(0x138))/0x3)+-parseInt(_0x2113fb(0x133))/0x4*(-parseInt(_0x2113fb(0x12e))/0x5)+parseInt(_0x2113fb(0x12d))/0x6*(parseInt(_0x2113fb(0x131))/0x7)+parseInt(_0x2113fb(0x139))/0x8+parseInt(_0x2113fb(0x136))/0x9*(-parseInt(_0x2113fb(0x135))/0xa)+-parseInt(_0x2113fb(0x12f))/0xb*(-parseInt(_0x2113fb(0x12b))/0xc);if(_0x43b74a===_0x5516ec)break;else _0x4bde9['push'](_0x4bde9['shift']());}catch(_0x5e60ec){_0x4bde9['push'](_0x4bde9['shift']());}}}(a15_0x4d22,0xc506d));const path=require('path'),{requireModule}=require(a15_0x28fabf(0x13a));let initJestAdapter;function a15_0x26ae(_0x53f391,_0x3b652d){const _0x4d22fd=a15_0x4d22();return a15_0x26ae=function(_0x26ae38,_0x168b51){_0x26ae38=_0x26ae38-0x122;let _0x1e2a9b=_0x4d22fd[_0x26ae38];return _0x1e2a9b;},a15_0x26ae(_0x53f391,_0x3b652d);}try{initJestAdapter=requireModule(a15_0x28fabf(0x137),a15_0x28fabf(0x12a));}catch{initJestAdapter=requireModule(a15_0x28fabf(0x124),a15_0x28fabf(0x12a));}function a15_0x4d22(){const _0x297af3=['customJestAdapterInit.js','6nkTidZ','5EkVAqh','12353wfJTWO','597462WLCHju','3972031EqhLDd','PFKXx','1872820YBTiJr','join','15064970mgYzmo','9CEGHoN','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','15gMrrcG','299944nqZrsd','../../../helpers/helper','function','requireInternalModule','default','exports','jest-circus/build/runner.js','initRequireModule','includes','jestAdapterInit','982095VRDeYS','nyYsc','jest-circus','7788aglGfj'];a15_0x4d22=function(){return _0x297af3;};return a15_0x4d22();}initJestAdapter=typeof initJestAdapter===a15_0x28fabf(0x13b)?initJestAdapter:initJestAdapter[a15_0x28fabf(0x122)];const FRAMEWORK_INITIALIZER=path[a15_0x28fabf(0x134)](__dirname,a15_0x28fabf(0x12c));module[a15_0x28fabf(0x123)]=(..._0x317948)=>{const _0x2f6c7a=a15_0x28fabf,_0x21f514={'vOTMo':_0x2f6c7a(0x127),'PFKXx':function(_0x22325a,_0x2d2c04){return _0x22325a===_0x2d2c04;},'nyYsc':function(_0x1ec059,..._0x96ed0e){return _0x1ec059(..._0x96ed0e);}};return _0x317948[0x3]['initRequireModule']=_0x317948[0x3][_0x2f6c7a(0x13c)],_0x317948[0x3][_0x2f6c7a(0x13c)]=(..._0x19bfa3)=>{const _0x3d51df=_0x2f6c7a;if(_0x19bfa3[0x0]&&_0x19bfa3[0x0][_0x3d51df(0x126)](_0x21f514['vOTMo'])&&_0x21f514[_0x3d51df(0x132)](_0x19bfa3[0x1],undefined))return _0x317948[0x3]['initRequireModule'](FRAMEWORK_INITIALIZER);return _0x317948[0x3][_0x3d51df(0x125)](..._0x19bfa3);},_0x21f514[_0x2f6c7a(0x129)](initJestAdapter,..._0x317948);};
@@ -1 +1 @@
1
- const a16_0x25533e=a16_0x5b82;(function(_0x2429b1,_0x340fa3){const _0xcb145e=a16_0x5b82,_0x39ce3f=_0x2429b1();while(!![]){try{const _0x23c91a=parseInt(_0xcb145e(0x13c))/0x1*(parseInt(_0xcb145e(0x124))/0x2)+-parseInt(_0xcb145e(0x15f))/0x3*(-parseInt(_0xcb145e(0x155))/0x4)+-parseInt(_0xcb145e(0x147))/0x5*(-parseInt(_0xcb145e(0x178))/0x6)+-parseInt(_0xcb145e(0x176))/0x7*(-parseInt(_0xcb145e(0x154))/0x8)+parseInt(_0xcb145e(0x153))/0x9*(-parseInt(_0xcb145e(0x135))/0xa)+-parseInt(_0xcb145e(0x12a))/0xb*(parseInt(_0xcb145e(0x12d))/0xc)+-parseInt(_0xcb145e(0x12b))/0xd*(parseInt(_0xcb145e(0x159))/0xe);if(_0x23c91a===_0x340fa3)break;else _0x39ce3f['push'](_0x39ce3f['shift']());}catch(_0x5af750){_0x39ce3f['push'](_0x39ce3f['shift']());}}}(a16_0xa4e2,0x9c529));const helper=require('../../../helpers/helper'),constants=require(a16_0x25533e(0x11b)),{isTestObservabilitySession}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a16_0x25533e(0x122)),ObservabilityReporter=require(a16_0x25533e(0x134)),testhubUtils=require('../../../helpers/testhub/utils'),logger=require(a16_0x25533e(0x136))['winstonLogger'],getTestEnvironment=((()=>{const _0x1b04ad=a16_0x25533e,_0x12bbe3={};_0x12bbe3['ncULO']='jest-resolve',_0x12bbe3[_0x1b04ad(0x15e)]=_0x1b04ad(0x163);const _0x17624c=_0x12bbe3;try{const _0x54d8ee=helper[_0x1b04ad(0x127)](_0x17624c[_0x1b04ad(0x13a)]);if(_0x54d8ee[_0x1b04ad(0x110)])return _0x54d8ee['resolveTestEnvironment'];const _0x499fcd=helper['requireModule'](_0x17624c['CgUkz']);if(_0x499fcd['getTestEnvironment'])return _0x499fcd[_0x1b04ad(0x119)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x54a8bf=a16_0x25533e,_0x443a41={'FKtXC':function(_0x4449fc,_0x3b58d7){return _0x4449fc(_0x3b58d7);},'QxJXr':'node','VAMJZ':_0x54a8bf(0x113)},_0x3addf4=_0x443a41[_0x54a8bf(0x13f)](getTestEnvironment,{'rootDir':process[_0x54a8bf(0x121)](),'testEnvironment':process[_0x54a8bf(0x12c)]['BSTACK_JEST_TEST_ENV']||_0x443a41[_0x54a8bf(0x16f)]});if(!_0x3addf4)return _0x443a41[_0x54a8bf(0x13f)](_interopRequireDefault,helper['requireModule'](_0x443a41[_0x54a8bf(0x143)]));return _0x443a41[_0x54a8bf(0x13f)](_interopRequireDefault,helper[_0x54a8bf(0x127)](_0x3addf4));})()),_seleniumWebdriver2=((()=>{const _0x5c3bf8=a16_0x25533e,_0x409294={'iEcEA':function(_0x559b83,_0x3071df){return _0x559b83(_0x3071df);}};try{const _0x9d531=helper[_0x5c3bf8(0x173)]();return helper[_0x5c3bf8(0x168)](),_0x409294['iEcEA'](_interopRequireDefault,_0x9d531);}catch{return null;}})());function a16_0x5b82(_0x43efc8,_0x4cf246){const _0xa4e2d9=a16_0xa4e2();return a16_0x5b82=function(_0x5b8273,_0x79a785){_0x5b8273=_0x5b8273-0x10d;let _0x315fd6=_0xa4e2d9[_0x5b8273];return _0x315fd6;},a16_0x5b82(_0x43efc8,_0x4cf246);}function _interopRequireDefault(_0x495885){const _0x5892b7=a16_0x25533e;return _0x495885&&_0x495885[_0x5892b7(0x115)]?_0x495885:{'default':_0x495885};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0x25533e(0x14e)][a16_0x25533e(0x169)]:null;class CustomEnvironment extends _jestUserEnvironment[a16_0x25533e(0x14e)]{constructor(_0x39d266){const _0x31c672=a16_0x25533e,_0x4aad0e={'hhbME':_0x31c672(0x111),'hCZZT':function(_0x21f53c,_0x451178){return _0x21f53c+_0x451178;},'wJilu':_0x31c672(0x13e),'xehbk':function(_0x49db57,_0x326471){return _0x49db57(_0x326471);},'tUQXk':_0x31c672(0x156),'bnZPC':_0x31c672(0x170),'ZNMuS':function(_0x283ca0,_0x3f1f45){return _0x283ca0(_0x3f1f45);},'rzzOW':_0x31c672(0x149),'fYWQS':_0x31c672(0x11c),'KfEHN':_0x31c672(0x10e),'JFbaW':_0x31c672(0x128),'qzlzX':_0x31c672(0x12f),'IAtpw':'browserstackPercyBestPlatform'};super(_0x39d266),this['global'][_0x31c672(0x125)]=0x0,this[_0x31c672(0x13b)]={};!_0x39d266[_0x31c672(0x11c)]&&(_0x39d266[_0x31c672(0x11c)]={});if(helper[_0x31c672(0x112)]()){_0x39d266['testEnvironmentOptions']=_0x39d266['projectConfig']?_0x39d266[_0x31c672(0x148)][_0x31c672(0x11c)]:_0x39d266[_0x31c672(0x11c)];_seleniumWebdriver2&&(this[_0x31c672(0x158)]=new _seleniumWebdriver2['default']['Builder']());this[_0x31c672(0x177)]=_0x39d266[_0x31c672(0x148)]?_0x39d266[_0x31c672(0x148)][_0x31c672(0x177)]:_0x39d266['capability'],this[_0x31c672(0x146)]['__timeout']=_0x4aad0e['hCZZT'](_0x39d266[_0x31c672(0x11c)]['timeout__']||0x1388,constants['BSTACK_DELTA']),this[_0x31c672(0x17a)]=_0x39d266[_0x31c672(0x11c)][_0x31c672(0x14f)];if(this[_0x31c672(0x17a)]){const _0x486d16=this[_0x31c672(0x177)][_0x4aad0e[_0x31c672(0x130)]]?.['buildName']||'',_0x2db2ec=this[_0x31c672(0x177)][_0x4aad0e[_0x31c672(0x130)]]?.[_0x31c672(0x145)]||'';this[_0x31c672(0x14f)]=new(_0x4aad0e['xehbk'](require,_0x4aad0e['tUQXk']))(this[_0x31c672(0x17a)],_0x486d16,_0x2db2ec),this[_0x31c672(0x146)]['failFastActive']=![];}helper[_0x31c672(0x150)](_0x39d266['testEnvironmentOptions'][_0x31c672(0x16c)])&&(this[_0x31c672(0x146)]['__jestRetries']=_0x39d266[_0x31c672(0x11c)][_0x31c672(0x16c)]);}if(testhubUtils[_0x31c672(0x164)]()){const _0x129d25=new ObservabilityReporter();_0x129d25[_0x31c672(0x15d)]();}this[_0x31c672(0x146)][_0x31c672(0x138)]={},this[_0x31c672(0x13b)]=_0x39d266[_0x31c672(0x11c)],this['configuration'][_0x31c672(0x16b)]=constants[_0x31c672(0x141)]['JEST'],this['global'][_0x31c672(0x14a)]=(_0x39d266[_0x31c672(0x148)]?_0x39d266[_0x31c672(0x148)][_0x31c672(0x14a)]:_0x39d266['browserstackPlatformIndex'])||0x0,this[_0x31c672(0x146)][_0x31c672(0x114)]=this[_0x31c672(0x13b)]&&this[_0x31c672(0x13b)][_0x31c672(0x137)]&&Array[_0x31c672(0x11e)](this[_0x31c672(0x13b)][_0x31c672(0x137)])&&this[_0x31c672(0x13b)][_0x31c672(0x137)][this[_0x31c672(0x146)]['browserstackPlatformIndex']]||{};const _0x3225ea=this['global'][_0x31c672(0x14a)],_0x29c62b={...this[_0x31c672(0x13b)],'capability':this[_0x31c672(0x13b)][_0x31c672(0x16a)]&&Array[_0x31c672(0x11e)](this[_0x31c672(0x13b)][_0x31c672(0x16a)])&&this[_0x31c672(0x13b)]['capabilities'][_0x3225ea]||{},'platformCaps':this['configuration'][_0x31c672(0x137)]&&Array[_0x31c672(0x11e)](this[_0x31c672(0x13b)][_0x31c672(0x137)])&&this[_0x31c672(0x13b)][_0x31c672(0x137)][_0x3225ea]||{}};delete _0x29c62b[_0x31c672(0x16a)],this[_0x31c672(0x146)][_0x31c672(0x157)]=_0x29c62b;if(_seleniumWebdriver2){const _0x19f1c8=_0x4aad0e['bnZPC'][_0x31c672(0x160)]('|');let _0x1f0a88=0x0;while(!![]){switch(_0x19f1c8[_0x1f0a88++]){case'0':this[_0x31c672(0x146)][_0x31c672(0x151)]=_0x4aad0e[_0x31c672(0x162)](require,_0x4aad0e['rzzOW'])['browserstackAgentV2']({...this[_0x31c672(0x13b)],'capability':this['capability']||{}},this,testhubUtils['shouldProcessEventForTesthub']());continue;case'1':this[_0x31c672(0x146)][_0x31c672(0x139)]=helper[_0x31c672(0x165)](this[_0x31c672(0x13b)][_0x31c672(0x161)]);continue;case'2':this[_0x31c672(0x146)][_0x31c672(0x10f)]=async()=>{const _0x4b532f=_0x31c672;await this[_0x4b532f(0x146)][_0x4b532f(0x117)][_0x4b532f(0x111)](_0x4aad0e['hhbME']);};continue;case'3':this[_0x31c672(0x146)][_0x31c672(0x128)]=helper[_0x31c672(0x16d)](_0x39d266,[_0x4aad0e[_0x31c672(0x175)],_0x4aad0e[_0x31c672(0x171)],_0x4aad0e[_0x31c672(0x11d)]]);continue;case'4':this[_0x31c672(0x146)][_0x31c672(0x12f)]=helper[_0x31c672(0x16d)](_0x39d266,[_0x4aad0e['fYWQS'],_0x4aad0e[_0x31c672(0x171)],_0x4aad0e[_0x31c672(0x11a)]]);continue;case'5':this['global']['browserstackPercyBestPlatform']=helper[_0x31c672(0x16d)](_0x39d266,[_0x4aad0e[_0x31c672(0x175)],_0x4aad0e['KfEHN'],_0x4aad0e[_0x31c672(0x120)]]);continue;case'6':helper[_0x31c672(0x165)](this[_0x31c672(0x13b)]['skipSessionName'])?this[_0x31c672(0x146)]['sessionNameProvided']=!![]:this['global']['sessionNameProvided']=![];continue;case'7':this[_0x31c672(0x146)]['__drivers']=[];continue;}break;}}}async['teardown'](){const _0x1f0919=a16_0x25533e;_seleniumWebdriver2&&(await helper[_0x1f0919(0x118)](this[_0x1f0919(0x146)][_0x1f0919(0x17c)]),this[_0x1f0919(0x146)][_0x1f0919(0x151)]['Builder']=originalBuilder),await RequestQueueHandler[_0x1f0919(0x132)]()[_0x1f0919(0x13d)]();}async[a16_0x25533e(0x16e)](){}async[a16_0x25533e(0x152)](_0x24411e,_0x45ab2b){const _0x38b52e=a16_0x25533e,_0x5ae0e0={};_0x5ae0e0[_0x38b52e(0x131)]=function(_0x149379,_0xc7139f){return _0x149379===_0xc7139f;},_0x5ae0e0[_0x38b52e(0x14b)]=_0x38b52e(0x174),_0x5ae0e0[_0x38b52e(0x144)]=function(_0x48857b,_0x448a7f){return _0x48857b===_0x448a7f;},_0x5ae0e0[_0x38b52e(0x15a)]='skip',_0x5ae0e0[_0x38b52e(0x172)]=_0x38b52e(0x15c),_0x5ae0e0[_0x38b52e(0x167)]=_0x38b52e(0x142),_0x5ae0e0['SFVYJ']=_0x38b52e(0x10d),_0x5ae0e0[_0x38b52e(0x15b)]=function(_0x4c975f,_0x407623){return _0x4c975f===_0x407623;},_0x5ae0e0[_0x38b52e(0x129)]='teardown';const _0xa095f8=_0x5ae0e0,{name:_0x147fa3}=_0x24411e;if(_0xa095f8[_0x38b52e(0x131)](_0x147fa3,_0xa095f8[_0x38b52e(0x14b)])){this[_0x38b52e(0x146)][_0x38b52e(0x179)]=_0x24411e[_0x38b52e(0x11f)];if(_0xa095f8[_0x38b52e(0x144)](this[_0x38b52e(0x146)][_0x38b52e(0x126)],!![])){const _0x308802=_0x24411e[_0x38b52e(0x11f)]['name'];logger[_0x38b52e(0x116)](_0x38b52e(0x166)+_0x308802),_0x24411e[_0x38b52e(0x11f)][_0x38b52e(0x14c)]=_0xa095f8['SGDQJ'];}}if(this[_0x38b52e(0x14f)]&&_0xa095f8[_0x38b52e(0x144)](_0x147fa3,_0xa095f8[_0x38b52e(0x172)]))try{const _0x52a7c4=_0x24411e['test']['testPath'][_0x38b52e(0x133)](_0xa095f8[_0x38b52e(0x167)]),_0x2998ac=_0x24411e[_0x38b52e(0x11f)][_0x38b52e(0x123)];await this[_0x38b52e(0x14f)][_0x38b52e(0x12e)](_0x52a7c4,_0x2998ac);const _0x4789a4=await this[_0x38b52e(0x14f)]['shouldFailFast']();_0xa095f8[_0x38b52e(0x131)](this[_0x38b52e(0x146)]['failFastActive'],![])&&_0xa095f8[_0x38b52e(0x131)](_0x4789a4,!![])&&(this[_0x38b52e(0x146)][_0x38b52e(0x126)]=!![]);}catch(_0x4aa3f9){logger[_0x38b52e(0x14d)](_0xa095f8[_0x38b52e(0x140)],_0x4aa3f9[_0x38b52e(0x17b)]);}_0xa095f8[_0x38b52e(0x15b)](_0x147fa3,_0xa095f8[_0x38b52e(0x129)])&&(this['failFast']&&this['failFast'][_0x38b52e(0x10f)]());}}module['exports']=CustomEnvironment;function a16_0xa4e2(){const _0x26d535=['mode','debug','default','failFast','isNotUndefined','__webdriver','handleTestEvent','1056501nopZxf','8TfWtpa','391396fbvejF','../../../helpers/test-orchestration/failfastManager','jestConfig','builder','14cDfnWB','SGDQJ','cBgys','test_done','registerListeners','CgUkz','3pIQLiH','split','skipSessionStatus','ZNMuS','jest-config','shouldProcessEventForTesthub','isTrue','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','tbubD','modifyCommand','Builder','capabilities','framework','retries__','nestedKeyValue','setup','QxJXr','7|0|5|3|4|6|1|2','KfEHN','wLCxz','requireSeleniumWebdriver','test_start','fYWQS','6530104OHmNNc','capability','6SnlGAA','testContext','failFastOptions','message','__driversArray','Error\x20in\x20fail-fast\x20test_done\x20handler:','browserStackPercyOptions','cleanup','resolveTestEnvironment','quit','isBrowserstackInfra','jest-environment-node','__platformCaps','__esModule','info','driver','cleanupDrivers','getTestEnvironment','qzlzX','../../utils/constants','testEnvironmentOptions','JFbaW','isArray','test','IAtpw','cwd','../../../helpers/test-observability/requestQueueHandler','errors','156130kwPYBY','__timeout','failFastActive','requireModule','percy','hKDeW','11715JRhTVK','6134466aMeUeF','env','4176mhFksr','onTestDone','percyCaptureMode','wJilu','dxNaO','getInstance','join','../test-observability/obsReporter','100EnDesQ','../../../helpers/logger','platformCaps','browserStackGlobals','__skipSessionStatus','ncULO','configuration','7YIUfEQ','shutdown','bstack:options','FKtXC','SFVYJ','FRAMEWORKS','\x20>\x20','VAMJZ','fpbZK','projectName','global','5397565CHHxZA','projectConfig','../../../index','browserstackPlatformIndex','okNaS'];a16_0xa4e2=function(){return _0x26d535;};return a16_0xa4e2();}
1
+ const a16_0xdbb286=a16_0x53fb;(function(_0x2a8326,_0x2a7b55){const _0x174f3d=a16_0x53fb,_0x9c1a2=_0x2a8326();while(!![]){try{const _0x2ffaf2=-parseInt(_0x174f3d(0x94))/0x1*(parseInt(_0x174f3d(0xae))/0x2)+parseInt(_0x174f3d(0x99))/0x3*(parseInt(_0x174f3d(0xc8))/0x4)+parseInt(_0x174f3d(0xc0))/0x5*(parseInt(_0x174f3d(0xb4))/0x6)+parseInt(_0x174f3d(0xc5))/0x7+-parseInt(_0x174f3d(0xe8))/0x8+parseInt(_0x174f3d(0x9c))/0x9*(-parseInt(_0x174f3d(0xd1))/0xa)+parseInt(_0x174f3d(0xa0))/0xb;if(_0x2ffaf2===_0x2a7b55)break;else _0x9c1a2['push'](_0x9c1a2['shift']());}catch(_0x335e5c){_0x9c1a2['push'](_0x9c1a2['shift']());}}}(a16_0x5f5a,0xc6801));const helper=require(a16_0xdbb286(0x8f)),constants=require(a16_0xdbb286(0x9f)),{isTestObservabilitySession}=require(a16_0xdbb286(0x92)),RequestQueueHandler=require(a16_0xdbb286(0xf3)),ObservabilityReporter=require(a16_0xdbb286(0xf0)),testhubUtils=require(a16_0xdbb286(0xd7)),logger=require(a16_0xdbb286(0xb7))[a16_0xdbb286(0xdb)],getTestEnvironment=((()=>{const _0x2d3c5e=a16_0xdbb286,_0x196727={};_0x196727[_0x2d3c5e(0xb1)]=_0x2d3c5e(0xa2),_0x196727[_0x2d3c5e(0xd3)]=_0x2d3c5e(0xaa);const _0x5945d4=_0x196727;try{const _0x5c589f=helper['requireModule'](_0x5945d4['VhROd']);if(_0x5c589f['resolveTestEnvironment'])return _0x5c589f['resolveTestEnvironment'];const _0x2f81fb=helper[_0x2d3c5e(0xbf)](_0x5945d4['HZLMP']);if(_0x2f81fb['getTestEnvironment'])return _0x2f81fb[_0x2d3c5e(0x9e)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x2fd2fc=a16_0xdbb286,_0x1dd2cc={'mQbEo':function(_0x23a5e0,_0x20d2d1){return _0x23a5e0(_0x20d2d1);},'QmoSC':_0x2fd2fc(0x95),'qpjhM':_0x2fd2fc(0xe7)},_0x4c4d7c=_0x1dd2cc['mQbEo'](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process[_0x2fd2fc(0xdf)]['BSTACK_JEST_TEST_ENV']||_0x1dd2cc[_0x2fd2fc(0xe2)]});if(!_0x4c4d7c)return _0x1dd2cc['mQbEo'](_interopRequireDefault,helper[_0x2fd2fc(0xbf)](_0x1dd2cc[_0x2fd2fc(0x97)]));return _0x1dd2cc[_0x2fd2fc(0x8b)](_interopRequireDefault,helper[_0x2fd2fc(0xbf)](_0x4c4d7c));})()),_seleniumWebdriver2=((()=>{const _0x5bb62e=a16_0xdbb286,_0x236400={'YdiAG':function(_0x213dbc,_0x19ed69){return _0x213dbc(_0x19ed69);}};try{const _0x517e06=helper[_0x5bb62e(0xd6)]();return helper[_0x5bb62e(0xce)](),_0x236400[_0x5bb62e(0x93)](_interopRequireDefault,_0x517e06);}catch{return null;}})());function _interopRequireDefault(_0x565897){const _0x475d41=a16_0xdbb286;return _0x565897&&_0x565897[_0x475d41(0xfb)]?_0x565897:{'default':_0x565897};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2['default']['Builder']:null;class CustomEnvironment extends _jestUserEnvironment[a16_0xdbb286(0xc7)]{constructor(_0x2650a1){const _0x3fccac=a16_0xdbb286,_0x4e7b6a={'EFlYv':_0x3fccac(0xe5),'YtKDU':function(_0x4492e6,_0x562238){return _0x4492e6+_0x562238;},'YyRcQ':_0x3fccac(0xcb),'PuMAO':function(_0x237c8a,_0x1b9522){return _0x237c8a(_0x1b9522);},'LfjfD':'../../../helpers/test-orchestration/failfastManager','dJJUI':_0x3fccac(0xb3),'HvnrQ':'testEnvironmentOptions','BuRmB':_0x3fccac(0x88),'FgCkS':_0x3fccac(0x89),'UvmKu':_0x3fccac(0xcc),'TOvsb':'../../../index','wJRcS':'percy'};super(_0x2650a1),this[_0x3fccac(0xb8)][_0x3fccac(0xb5)]=0x0,this[_0x3fccac(0xe4)]={};!_0x2650a1[_0x3fccac(0xc6)]&&(_0x2650a1[_0x3fccac(0xc6)]={});if(helper[_0x3fccac(0xdd)]()){_0x2650a1[_0x3fccac(0xc6)]=_0x2650a1[_0x3fccac(0xe9)]?_0x2650a1['projectConfig']['testEnvironmentOptions']:_0x2650a1[_0x3fccac(0xc6)];_seleniumWebdriver2&&(this[_0x3fccac(0xcd)]=new _seleniumWebdriver2[(_0x3fccac(0xc7))][(_0x3fccac(0xc2))]());this[_0x3fccac(0xb0)]=_0x2650a1[_0x3fccac(0xe9)]?_0x2650a1['projectConfig'][_0x3fccac(0xb0)]:_0x2650a1[_0x3fccac(0xb0)],this[_0x3fccac(0xb8)]['__timeout']=_0x4e7b6a['YtKDU'](_0x2650a1[_0x3fccac(0xc6)][_0x3fccac(0xef)]||0x1388,constants['BSTACK_DELTA']),this[_0x3fccac(0xf8)]=_0x2650a1[_0x3fccac(0xc6)][_0x3fccac(0xa1)];if(this[_0x3fccac(0xf8)]){const _0x2a62df=this[_0x3fccac(0xb0)][_0x4e7b6a[_0x3fccac(0xbc)]]?.[_0x3fccac(0xde)]||'',_0x4f8036=this[_0x3fccac(0xb0)][_0x4e7b6a['YyRcQ']]?.[_0x3fccac(0xda)]||'';this[_0x3fccac(0xa1)]=new(_0x4e7b6a[_0x3fccac(0xe0)](require,_0x4e7b6a['LfjfD']))(this['failFastOptions'],_0x2a62df,_0x4f8036),this[_0x3fccac(0xb8)][_0x3fccac(0x8a)]=![];}helper['isNotUndefined'](_0x2650a1[_0x3fccac(0xc6)]['retries__'])&&(this[_0x3fccac(0xb8)]['__jestRetries']=_0x2650a1[_0x3fccac(0xc6)][_0x3fccac(0xbb)]);}if(testhubUtils[_0x3fccac(0xec)]()){const _0x5a70fa=new ObservabilityReporter();_0x5a70fa[_0x3fccac(0xf6)]();}this[_0x3fccac(0xb8)][_0x3fccac(0xee)]={},this['configuration']=_0x2650a1[_0x3fccac(0xc6)],this['configuration']['framework']=constants['FRAMEWORKS']['JEST'],this[_0x3fccac(0xb8)][_0x3fccac(0xca)]=(_0x2650a1['projectConfig']?_0x2650a1['projectConfig'][_0x3fccac(0xca)]:_0x2650a1[_0x3fccac(0xca)])||0x0,this[_0x3fccac(0xb8)]['__platformCaps']=this[_0x3fccac(0xe4)]&&this[_0x3fccac(0xe4)][_0x3fccac(0xf7)]&&Array[_0x3fccac(0x9d)](this[_0x3fccac(0xe4)]['platformCaps'])&&this['configuration']['platformCaps'][this['global']['browserstackPlatformIndex']]||{};const _0x3a8d12=this[_0x3fccac(0xb8)][_0x3fccac(0xca)],_0x29d180={...this['configuration'],'capability':this[_0x3fccac(0xe4)][_0x3fccac(0xba)]&&Array[_0x3fccac(0x9d)](this[_0x3fccac(0xe4)][_0x3fccac(0xba)])&&this[_0x3fccac(0xe4)][_0x3fccac(0xba)][_0x3a8d12]||{},'platformCaps':this[_0x3fccac(0xe4)][_0x3fccac(0xf7)]&&Array['isArray'](this[_0x3fccac(0xe4)][_0x3fccac(0xf7)])&&this[_0x3fccac(0xe4)][_0x3fccac(0xf7)][_0x3a8d12]||{}};delete _0x29d180[_0x3fccac(0xba)],this['global'][_0x3fccac(0xe1)]=_0x29d180;if(_seleniumWebdriver2){const _0x36200d=_0x4e7b6a[_0x3fccac(0xbe)][_0x3fccac(0xac)]('|');let _0x94437c=0x0;while(!![]){switch(_0x36200d[_0x94437c++]){case'0':this[_0x3fccac(0xb8)][_0x3fccac(0x9a)]=async()=>{const _0x4fe0cb=_0x3fccac;await this[_0x4fe0cb(0xb8)][_0x4fe0cb(0xc1)][_0x4fe0cb(0xe5)](_0x4e7b6a[_0x4fe0cb(0xf1)]);};continue;case'1':this[_0x3fccac(0xb8)][_0x3fccac(0xf5)]=[];continue;case'2':this[_0x3fccac(0xb8)][_0x3fccac(0x89)]=helper['nestedKeyValue'](_0x2650a1,[_0x4e7b6a[_0x3fccac(0x8e)],_0x4e7b6a[_0x3fccac(0xfa)],_0x4e7b6a[_0x3fccac(0xf4)]]);continue;case'3':this['global'][_0x3fccac(0xcc)]=helper[_0x3fccac(0x98)](_0x2650a1,[_0x4e7b6a[_0x3fccac(0x8e)],_0x4e7b6a[_0x3fccac(0xfa)],_0x4e7b6a[_0x3fccac(0xeb)]]);continue;case'4':helper['isTrue'](this[_0x3fccac(0xe4)]['skipSessionName'])?this[_0x3fccac(0xb8)][_0x3fccac(0xab)]=!![]:this[_0x3fccac(0xb8)]['sessionNameProvided']=![];continue;case'5':this[_0x3fccac(0xb8)]['__webdriver']=_0x4e7b6a[_0x3fccac(0xe0)](require,_0x4e7b6a[_0x3fccac(0xd0)])[_0x3fccac(0xb9)]({...this[_0x3fccac(0xe4)],'capability':this[_0x3fccac(0xb0)]||{}},this,testhubUtils[_0x3fccac(0xec)]());continue;case'6':this[_0x3fccac(0xb8)][_0x3fccac(0xdc)]=helper[_0x3fccac(0x98)](_0x2650a1,[_0x4e7b6a[_0x3fccac(0x8e)],_0x4e7b6a[_0x3fccac(0xfa)],_0x4e7b6a['wJRcS']]);continue;case'7':this[_0x3fccac(0xb8)][_0x3fccac(0xe3)]=helper[_0x3fccac(0xe6)](this['configuration'][_0x3fccac(0xfc)]);continue;}break;}}}async['teardown'](){const _0x3d2ceb=a16_0xdbb286;_seleniumWebdriver2&&(await helper[_0x3d2ceb(0xa9)](this[_0x3d2ceb(0xb8)][_0x3d2ceb(0xf2)]),this['global'][_0x3d2ceb(0xa6)]['Builder']=originalBuilder),await RequestQueueHandler[_0x3d2ceb(0x96)]()[_0x3d2ceb(0xd4)]();}async['setup'](){}async[a16_0xdbb286(0xa5)](_0x2ab6fe,_0x593ab9){const _0x2b6ab5=a16_0xdbb286,_0x43886c={};_0x43886c[_0x2b6ab5(0xa7)]=function(_0x163067,_0x5b5983){return _0x163067===_0x5b5983;},_0x43886c[_0x2b6ab5(0xc9)]=_0x2b6ab5(0x8c),_0x43886c[_0x2b6ab5(0xd9)]=_0x2b6ab5(0xcf),_0x43886c['rcRes']='test_done',_0x43886c['izdBQ']=_0x2b6ab5(0x90),_0x43886c[_0x2b6ab5(0xa4)]=function(_0xbeb948,_0x559ff8){return _0xbeb948===_0x559ff8;},_0x43886c[_0x2b6ab5(0xd8)]=_0x2b6ab5(0xf9),_0x43886c['LpRbo']=function(_0x599458,_0x5865a6){return _0x599458===_0x5865a6;},_0x43886c[_0x2b6ab5(0xa8)]=_0x2b6ab5(0x91);const _0x230a64=_0x43886c,{name:_0x572bd6}=_0x2ab6fe;if(_0x230a64[_0x2b6ab5(0xa7)](_0x572bd6,_0x230a64[_0x2b6ab5(0xc9)])){this[_0x2b6ab5(0xb8)][_0x2b6ab5(0xaf)]=_0x2ab6fe[_0x2b6ab5(0xad)];if(_0x230a64[_0x2b6ab5(0xa7)](this[_0x2b6ab5(0xb8)]['failFastActive'],!![])){const _0xdf6cca=_0x2ab6fe[_0x2b6ab5(0xad)][_0x2b6ab5(0xbd)];logger[_0x2b6ab5(0xc3)](_0x2b6ab5(0xd5)+_0xdf6cca),_0x2ab6fe[_0x2b6ab5(0xad)][_0x2b6ab5(0x8d)]=_0x230a64[_0x2b6ab5(0xd9)];}}if(this[_0x2b6ab5(0xa1)]&&_0x230a64['JnQuv'](_0x572bd6,_0x230a64['rcRes']))try{const _0x13df41=_0x2ab6fe['test'][_0x2b6ab5(0xc4)][_0x2b6ab5(0xfd)](_0x230a64[_0x2b6ab5(0xb6)]),_0x466d7d=_0x2ab6fe[_0x2b6ab5(0xad)][_0x2b6ab5(0xa3)];await this[_0x2b6ab5(0xa1)][_0x2b6ab5(0xed)](_0x13df41,_0x466d7d);const _0x30fac7=await this['failFast'][_0x2b6ab5(0xea)]();_0x230a64[_0x2b6ab5(0xa4)](this[_0x2b6ab5(0xb8)]['failFastActive'],![])&&_0x230a64['tIJzk'](_0x30fac7,!![])&&(this[_0x2b6ab5(0xb8)][_0x2b6ab5(0x8a)]=!![]);}catch(_0x109a2b){logger[_0x2b6ab5(0xd2)](_0x230a64[_0x2b6ab5(0xd8)],_0x109a2b['message']);}_0x230a64[_0x2b6ab5(0x9b)](_0x572bd6,_0x230a64[_0x2b6ab5(0xa8)])&&(this['failFast']&&this['failFast'][_0x2b6ab5(0x9a)]());}}function a16_0x53fb(_0x4b8aeb,_0xef1178){const _0x5f5ad0=a16_0x5f5a();return a16_0x53fb=function(_0x53fb7e,_0x448cab){_0x53fb7e=_0x53fb7e-0x88;let _0x1d29f1=_0x5f5ad0[_0x53fb7e];return _0x1d29f1;},a16_0x53fb(_0x4b8aeb,_0xef1178);}function a16_0x5f5a(){const _0x103aa6=['isTrue','jest-environment-node','9807576NOenhG','projectConfig','shouldFailFast','UvmKu','shouldProcessEventForTesthub','onTestDone','browserStackGlobals','timeout__','../test-observability/obsReporter','EFlYv','__driversArray','../../../helpers/test-observability/requestQueueHandler','FgCkS','__drivers','registerListeners','platformCaps','failFastOptions','Error\x20in\x20fail-fast\x20test_done\x20handler:','BuRmB','__esModule','skipSessionStatus','join','browserStackPercyOptions','percyCaptureMode','failFastActive','mQbEo','test_start','mode','HvnrQ','../../../helpers/helper','\x20>\x20','teardown','../../../helpers/test-observability/utils','YdiAG','13693WIEOEu','node','getInstance','qpjhM','nestedKeyValue','21usfDJO','cleanup','LpRbo','153WTkqqg','isArray','getTestEnvironment','../../utils/constants','6579551BzJXED','failFast','jest-resolve','errors','tIJzk','handleTestEvent','__webdriver','JnQuv','XGyVw','cleanupDrivers','jest-config','sessionNameProvided','split','test','230xaWSUy','testContext','capability','VhROd','exports','1|5|3|6|2|4|7|0','1933332rzAuij','__timeout','izdBQ','../../../helpers/logger','global','browserstackAgentV2','capabilities','retries__','YyRcQ','name','dJJUI','requireModule','10kekwcx','driver','Builder','info','testPath','9773925bHSCXP','testEnvironmentOptions','default','648812lhzjDI','WGadD','browserstackPlatformIndex','bstack:options','browserstackPercyBestPlatform','builder','modifyCommand','skip','TOvsb','94460lNRJCG','debug','HZLMP','shutdown','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','requireSeleniumWebdriver','../../../helpers/testhub/utils','cLYdN','zwiYd','projectName','winstonLogger','percy','isBrowserstackInfra','buildName','env','PuMAO','jestConfig','QmoSC','__skipSessionStatus','configuration','quit'];a16_0x5f5a=function(){return _0x103aa6;};return a16_0x5f5a();}module[a16_0xdbb286(0xb2)]=CustomEnvironment;
@@ -1 +1 @@
1
- const a17_0x1bbd03=a17_0x2553;(function(_0x193e5c,_0x3af7ba){const _0xebe5b2=a17_0x2553,_0x1cfc58=_0x193e5c();while(!![]){try{const _0x441bbb=-parseInt(_0xebe5b2(0x1e9))/0x1+parseInt(_0xebe5b2(0x1bb))/0x2*(parseInt(_0xebe5b2(0x214))/0x3)+parseInt(_0xebe5b2(0x1af))/0x4+parseInt(_0xebe5b2(0x257))/0x5*(-parseInt(_0xebe5b2(0x192))/0x6)+-parseInt(_0xebe5b2(0x21d))/0x7+-parseInt(_0xebe5b2(0x254))/0x8*(parseInt(_0xebe5b2(0x1a1))/0x9)+parseInt(_0xebe5b2(0x1b2))/0xa*(parseInt(_0xebe5b2(0x1ae))/0xb);if(_0x441bbb===_0x3af7ba)break;else _0x1cfc58['push'](_0x1cfc58['shift']());}catch(_0x4f84de){_0x1cfc58['push'](_0x1cfc58['shift']());}}}(a17_0x44f6,0x4c3ef));const {requireModule}=require('../../../helpers/helper'),ObservabilityReporter=require('../test-observability/obsReporter'),RequestQueueHandler=require(a17_0x1bbd03(0x1eb)),TestDetails=require(a17_0x1bbd03(0x18b)),{patchConsoleLogger,debug}=require(a17_0x1bbd03(0x19c)),{o11yErrorHandler}=require(a17_0x1bbd03(0x266)),{shouldProcessEventForTesthub}=require(a17_0x1bbd03(0x182)),testHubConstants=require('../../../helpers/testhub/constants'),BrowserstackCLI=require(a17_0x1bbd03(0x1d7)),TestFrameworkState=require(a17_0x1bbd03(0x268)),HookState=require('../../v2/state/hookState'),JestUtils=require(a17_0x1bbd03(0x200)),{v4:uuidv4}=require(a17_0x1bbd03(0x197)),util=require(a17_0x1bbd03(0x1fb)),logger=require(a17_0x1bbd03(0x1ac))[a17_0x1bbd03(0x23d)],{FRAMEWORKS}=require(a17_0x1bbd03(0x1de));let exportsI;function a17_0x2553(_0x3bff4e,_0x1e9572){const _0x44f6e2=a17_0x44f6();return a17_0x2553=function(_0x2553d0,_0x48eb92){_0x2553d0=_0x2553d0-0x17f;let _0x2bf1d6=_0x44f6e2[_0x2553d0];return _0x2bf1d6;},a17_0x2553(_0x3bff4e,_0x1e9572);}try{exportsI=requireModule(a17_0x1bbd03(0x21f),a17_0x1bbd03(0x1d9));}catch{exportsI=requireModule('jest-circus/build/jestAdapterInit.js',a17_0x1bbd03(0x1d9));}const initInitialize=exportsI[a17_0x1bbd03(0x1f0)],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();async function isCLIReady(){const _0x26906d=a17_0x1bbd03,_0x380b99={'SozIu':'CLI\x20is\x20enabled\x20and\x20running.','xpMyE':function(_0x42a466,_0x4346ce){return _0x42a466(_0x4346ce);},'EbYDt':'../../v2/cliUtils','BfHbb':function(_0xe762de,_0x600a8f){return _0xe762de===_0x600a8f;},'NMHPR':_0x26906d(0x1f3)};try{const _0x2173a1=BrowserstackCLI[_0x26906d(0x195)]();if(_0x2173a1[_0x26906d(0x1ab)]()&&_0x2173a1[_0x26906d(0x204)]())return logger['debug'](_0x380b99[_0x26906d(0x1d4)]),!![];const _0x1392ad=process[_0x26906d(0x196)][_0x26906d(0x1e3)];if(_0x1392ad&&_0x2173a1['isCliEnabled']()){if(!_0x2173a1['isRunning']())try{const _0x340b69=_0x380b99[_0x26906d(0x232)](require,_0x380b99[_0x26906d(0x1a7)]),_0x38f940=_0x340b69[_0x26906d(0x24e)]();(!_0x38f940||!_0x38f940[_0x26906d(0x1d1)])&&(_0x380b99[_0x26906d(0x1d0)](process[_0x26906d(0x196)][_0x26906d(0x1db)],_0x380b99[_0x26906d(0x203)])?_0x340b69['setFrameworkDetail'](FRAMEWORKS[_0x26906d(0x210)],FRAMEWORKS[_0x26906d(0x22a)]):_0x340b69[_0x26906d(0x1fc)](FRAMEWORKS['JEST'],FRAMEWORKS[_0x26906d(0x241)])),await _0x2173a1[_0x26906d(0x19d)]();}catch(_0x3d159d){return _0x380b99[_0x26906d(0x232)](debug,'Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20'+util[_0x26906d(0x262)](_0x3d159d)),![];}return _0x2173a1['isRunning']();}return![];}catch(_0x19ecc1){return _0x380b99[_0x26906d(0x232)](debug,'Error\x20checking\x20CLI\x20readiness:\x20'+util[_0x26906d(0x262)](_0x19ecc1)),![];}}function getTestIdentifierForHook(_0x4cc30b){const _0x53df0c=a17_0x1bbd03,_0x3f199a={};_0x3f199a[_0x53df0c(0x1be)]=function(_0x5de134,_0x14e170){return _0x5de134===_0x14e170;},_0x3f199a['XORQC']=_0x53df0c(0x250),_0x3f199a['WYptO']=_0x53df0c(0x1cc),_0x3f199a[_0x53df0c(0x18c)]=function(_0x3cf8aa,_0x3bd01d){return _0x3cf8aa===_0x3bd01d;};const _0x1473e9=_0x3f199a;if(_0x1473e9[_0x53df0c(0x1be)](_0x4cc30b[_0x53df0c(0x264)],_0x1473e9[_0x53df0c(0x19f)])||_0x1473e9[_0x53df0c(0x1be)](_0x4cc30b[_0x53df0c(0x264)],_0x1473e9[_0x53df0c(0x1f4)])){let _0x1e4ad7=global[_0x53df0c(0x1a8)];if(!_0x1e4ad7&&_0x1473e9[_0x53df0c(0x18c)](_0x4cc30b[_0x53df0c(0x264)],_0x1473e9['WYptO'])&&_0x4cc30b[_0x53df0c(0x1e4)]){const _0x142fdc={};_0x142fdc[_0x53df0c(0x1d1)]=_0x4cc30b['parent'][_0x53df0c(0x1d1)],_0x142fdc[_0x53df0c(0x1e4)]=_0x4cc30b[_0x53df0c(0x1e4)][_0x53df0c(0x1e4)],_0x142fdc[_0x53df0c(0x235)]=_0x4cc30b['asyncError'],_0x142fdc[_0x53df0c(0x238)]=_0x4cc30b['file'];const _0xa75f33=_0x142fdc;_0x1e4ad7=jestUtils[_0x53df0c(0x239)](_0xa75f33);}return _0x1e4ad7;}return global['__jestCurrentTestIdentifier'];}function mapHookTypeToState(_0x42839c){const _0x5e6132=a17_0x1bbd03,_0x380d86={};_0x380d86[_0x5e6132(0x1cc)]=TestFrameworkState[_0x5e6132(0x25b)],_0x380d86[_0x5e6132(0x1ba)]=TestFrameworkState[_0x5e6132(0x23f)],_0x380d86['beforeEach']=TestFrameworkState[_0x5e6132(0x207)],_0x380d86['afterEach']=TestFrameworkState[_0x5e6132(0x1e5)];const _0x53827c=_0x380d86;return _0x53827c[_0x42839c]||TestFrameworkState[_0x5e6132(0x207)];}async function handleHookEventCLI(_0x538c32,_0x9d9a5a,_0x545f0c){const _0x5a501c=a17_0x1bbd03,_0x5e34e3={'YaMmt':function(_0x277dec,_0x3bd510){return _0x277dec(_0x3bd510);},'jqgOH':_0x5a501c(0x183),'ZeKwm':function(_0x41a40f,_0x4a15cc){return _0x41a40f===_0x4a15cc;},'pMURC':_0x5a501c(0x1b1),'PIxUo':function(_0x3c7aa5){return _0x3c7aa5();},'WFGMl':function(_0xa17236){return _0xa17236();},'ZnnpL':function(_0x3af60a,_0x5a64ca){return _0x3af60a===_0x5a64ca;},'MgLZy':_0x5a501c(0x219),'ZIAOQ':function(_0xa22ed3,_0x44b2a0){return _0xa22ed3===_0x44b2a0;},'yDdNw':'HookRunFinished','MfOwY':'hook','KmgAt':function(_0x27a80e,_0x344da7){return _0x27a80e===_0x344da7;}};logger['debug'](_0x5a501c(0x205)+_0x9d9a5a+_0x5a501c(0x198)+_0x538c32['type']);try{if(_0x538c32['fn']&&_0x538c32['fn'][_0x5a501c(0x256)]()[_0x5a501c(0x1e7)](/browserstack internal helper hook/))return;if(_0x538c32[_0x5a501c(0x1e4)]&&_0x5e34e3[_0x5a501c(0x1bf)](_0x538c32[_0x5a501c(0x1e4)][_0x5a501c(0x1d1)],_0x5e34e3[_0x5a501c(0x260)])){const _0x236ebf=_0x538c32[_0x5a501c(0x235)]&&((()=>{const _0x359366=_0x5a501c;try{const _0x2af096=_0x5e34e3[_0x359366(0x1f7)](require,_0x5e34e3[_0x359366(0x1a5)]),_0x44f23e=_0x2af096[_0x359366(0x1a3)][_0x359366(0x187)](_0x2af096,_0x538c32['asyncError']);return _0x44f23e[0x0]&&_0x44f23e[0x0]['getFileName']?_0x44f23e[0x0][_0x359366(0x1fd)]():null;}catch(_0x132e17){return logger[_0x359366(0x1c4)]('Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20'+_0x132e17[_0x359366(0x225)]),null;}})())||_0x538c32[_0x5a501c(0x238)]||null;if(!_0x236ebf)return;}let _0x33b6d1=_0x538c32['hookAnalyticsId'];if(!_0x33b6d1)_0x33b6d1=_0x5e34e3[_0x5a501c(0x1c0)](uuidv4),_0x538c32[_0x5a501c(0x1b0)]=_0x33b6d1;else _0x538c32[_0x5a501c(0x251)]&&(_0x33b6d1=_0x5e34e3[_0x5a501c(0x211)](uuidv4),_0x538c32[_0x5a501c(0x1b0)]=_0x33b6d1,delete _0x538c32[_0x5a501c(0x251)]);_0x5e34e3[_0x5a501c(0x1b8)](_0x9d9a5a,_0x5e34e3[_0x5a501c(0x1e0)])&&(_0x538c32[_0x5a501c(0x1cb)]=new Date()['toISOString']());const _0x2891ce=_0x5e34e3[_0x5a501c(0x1f7)](getTestIdentifierForHook,_0x538c32);!global['__workerDetails']&&(global[_0x5a501c(0x1c5)]={});if(_0x5e34e3[_0x5a501c(0x20a)](_0x9d9a5a,_0x5e34e3[_0x5a501c(0x1e0)])){global['__workerDetails'][_0x5a501c(0x236)]={'hookUUID':_0x33b6d1,'testIdentifier':_0x2891ce,'hookType':_0x538c32[_0x5a501c(0x264)],'startedAt':new Date()['toISOString']()};const _0x53f416=BrowserstackCLI[_0x5a501c(0x195)]()[_0x5a501c(0x19a)]();_0x53f416&&_0x53f416[_0x5a501c(0x201)]&&_0x53f416['setActiveHook'](_0x2891ce,_0x33b6d1,_0x538c32[_0x5a501c(0x264)]);}const _0x275cf3=await jestUtils[_0x5a501c(0x1d5)](_0x538c32,_0x33b6d1,_0x9d9a5a,_0x2891ce);if(!_0x275cf3)return;const _0x15742d=_0x5e34e3['YaMmt'](mapHookTypeToState,_0x538c32[_0x5a501c(0x264)]),_0x365dcc=_0x5e34e3['ZIAOQ'](_0x9d9a5a,_0x5e34e3[_0x5a501c(0x1e0)])?HookState[_0x5a501c(0x245)]:HookState[_0x5a501c(0x230)],_0x38bc83=BrowserstackCLI[_0x5a501c(0x195)]()[_0x5a501c(0x19a)]();if(_0x38bc83){const _0x39c3a2={};_0x39c3a2['hookData']=_0x275cf3,await _0x38bc83[_0x5a501c(0x255)](_0x15742d,_0x365dcc,_0x39c3a2);if(_0x5e34e3[_0x5a501c(0x20a)](_0x9d9a5a,_0x5e34e3[_0x5a501c(0x1b4)])){const _0x189d4f={};_0x189d4f[_0x5a501c(0x220)]=_0x2891ce,_0x189d4f[_0x5a501c(0x264)]=_0x5e34e3[_0x5a501c(0x23a)],await _0x38bc83['trackEvent'](TestFrameworkState[_0x5a501c(0x1ad)],HookState[_0x5a501c(0x230)],_0x189d4f),global[_0x5a501c(0x1c5)]&&global[_0x5a501c(0x1c5)][_0x5a501c(0x236)]&&_0x5e34e3[_0x5a501c(0x1c9)](global[_0x5a501c(0x1c5)]['currentHook']['hookUUID'],_0x33b6d1)&&delete global[_0x5a501c(0x1c5)][_0x5a501c(0x236)],_0x38bc83[_0x5a501c(0x216)]&&_0x38bc83[_0x5a501c(0x216)](_0x2891ce,_0x33b6d1);}}}catch(_0x59aeee){logger[_0x5a501c(0x1e2)](_0x5a501c(0x202)+util[_0x5a501c(0x262)](_0x59aeee));throw _0x59aeee;}}async function handleTestEventCLI(_0x8667a0,_0x9585c7,_0x266811){const _0x51524f=a17_0x1bbd03,_0x5efa9b={};_0x5efa9b[_0x51524f(0x193)]=function(_0x495c81,_0x33d5d5){return _0x495c81===_0x33d5d5;},_0x5efa9b['NtNxi']=_0x51524f(0x1e8),_0x5efa9b[_0x51524f(0x1d6)]=function(_0x3d3e52,_0x2de428){return _0x3d3e52>_0x2de428;},_0x5efa9b[_0x51524f(0x21c)]=function(_0x324b0d,_0x4eb2da){return _0x324b0d&&_0x4eb2da;},_0x5efa9b[_0x51524f(0x1df)]=_0x51524f(0x1ff),_0x5efa9b[_0x51524f(0x20d)]=_0x51524f(0x18a),_0x5efa9b[_0x51524f(0x1ee)]=function(_0x50d69e,_0x105583){return _0x50d69e&&_0x105583;},_0x5efa9b['XnMtT']=_0x51524f(0x23e);const _0x6cef05=_0x5efa9b;logger[_0x51524f(0x1c4)]('Handling\x20test\x20event\x20for\x20CLI:\x20'+_0x9585c7);try{let _0x524764;if(_0x6cef05[_0x51524f(0x193)](_0x9585c7,_0x6cef05[_0x51524f(0x1fe)])){_0x524764=jestUtils['createIdentifierFromJestTest'](_0x8667a0),global[_0x51524f(0x1a8)]=_0x524764,_0x8667a0[_0x51524f(0x25e)]=_0x524764,_0x8667a0['id']=_0x524764,_0x8667a0[_0x51524f(0x1cb)]=new Date()['toISOString']();const _0x293df5=_0x266811[_0x51524f(0x1ef)];_0x266811[_0x51524f(0x1ef)]=_0x8667a0,_0x8667a0['retryOf']=null;if(_0x6cef05[_0x51524f(0x1d6)](_0x8667a0[_0x51524f(0x259)],0x0)&&_0x293df5&&_0x6cef05[_0x51524f(0x193)](_0x293df5[_0x51524f(0x226)],_0x8667a0[_0x51524f(0x226)])){_0x8667a0[_0x51524f(0x1cd)]=_0x293df5[_0x51524f(0x25e)];const _0x4e9040=await jestUtils[_0x51524f(0x208)](_0x8667a0,_0x524764,_0x6cef05['NtNxi']),_0x2af88b=BrowserstackCLI[_0x51524f(0x195)]()[_0x51524f(0x19a)]();if(_0x6cef05['NFYyn'](_0x4e9040,_0x2af88b)){const _0x884e77={};_0x884e77[_0x51524f(0x23e)]=_0x4e9040,await _0x2af88b[_0x51524f(0x255)](TestFrameworkState[_0x51524f(0x1ed)],HookState[_0x51524f(0x245)],_0x884e77);}_0x293df5[_0x51524f(0x261)]=_0x6cef05[_0x51524f(0x1df)];const _0xa9aecd=await jestUtils[_0x51524f(0x208)](_0x293df5,_0x293df5[_0x51524f(0x25e)],_0x6cef05[_0x51524f(0x20d)]);if(_0x6cef05['NFYyn'](_0xa9aecd,_0x2af88b)){const _0x4642dd={};_0x4642dd['test']=_0xa9aecd,await _0x2af88b['trackEvent'](TestFrameworkState[_0x51524f(0x1ed)],HookState['POST'],_0x4642dd);}}else{const _0x2a2002=await jestUtils[_0x51524f(0x208)](_0x8667a0,_0x524764,_0x6cef05[_0x51524f(0x1fe)]),_0x2f1dc9=BrowserstackCLI[_0x51524f(0x195)]()[_0x51524f(0x19a)]();if(_0x6cef05[_0x51524f(0x21c)](_0x2a2002,_0x2f1dc9)){const _0x13a4f6={};_0x13a4f6[_0x51524f(0x23e)]=_0x2a2002,await _0x2f1dc9[_0x51524f(0x255)](TestFrameworkState[_0x51524f(0x1ed)],HookState['PRE'],_0x13a4f6);}}}else{_0x524764=_0x8667a0[_0x51524f(0x25e)]||_0x8667a0['id']||global['__jestCurrentTestIdentifier'];const _0x5520a1=await jestUtils[_0x51524f(0x208)](_0x8667a0,_0x524764,_0x9585c7),_0x343fef=BrowserstackCLI[_0x51524f(0x195)]()['getTestFramework']();if(_0x6cef05[_0x51524f(0x1ee)](_0x5520a1,_0x343fef)){const _0x1107ac={};_0x1107ac[_0x51524f(0x23e)]=_0x5520a1,_0x1107ac['originalTest']=_0x8667a0,_0x1107ac[_0x51524f(0x1b3)]=_0x524764,await _0x343fef[_0x51524f(0x255)](TestFrameworkState['TEST'],HookState[_0x51524f(0x230)],_0x1107ac);const _0x1567f6={};_0x1567f6[_0x51524f(0x220)]=_0x524764,_0x1567f6['type']=_0x6cef05[_0x51524f(0x1ce)],await _0x343fef[_0x51524f(0x255)](TestFrameworkState['LOG_REPORT'],HookState[_0x51524f(0x230)],_0x1567f6);}}}catch(_0x2b946a){logger[_0x51524f(0x1e2)](_0x51524f(0x229)+util[_0x51524f(0x262)](_0x2b946a));throw _0x2b946a;}}exportsI[a17_0x1bbd03(0x1f0)]=(..._0x2f20f7)=>{const _0x55feb7=a17_0x1bbd03,_0x18c636={'CmkWO':function(_0x162cd7,_0x53efdd){return _0x162cd7(_0x53efdd);},'EiUcL':'stack-trace','rMQrp':_0x55feb7(0x244),'Lmyts':function(_0x5e5143,_0x593bec){return _0x5e5143===_0x593bec;},'gySei':_0x55feb7(0x1b1),'MkDhV':function(_0x4004f7){return _0x4004f7();},'YFCzG':function(_0x584bf2,_0x4b7987){return _0x584bf2(_0x4b7987);},'bWJxy':function(_0x211e90,_0xa77db6,_0x21364a,_0x466a25){return _0x211e90(_0xa77db6,_0x21364a,_0x466a25);},'PHgXE':_0x55feb7(0x219),'FlbBW':function(_0x243871,_0x337c43){return _0x243871(_0x337c43);},'qJcjC':function(_0x497674,_0x5416af){return _0x497674(_0x5416af);},'LFQES':'hook_success','BmYLV':_0x55feb7(0x20e),'tTkgT':function(_0x28a83c,_0x43d85c){return _0x28a83c(_0x43d85c);},'bIUsc':_0x55feb7(0x221),'ajLRR':_0x55feb7(0x1cc),'yWPRk':_0x55feb7(0x250),'InJyp':_0x55feb7(0x247),'PgdVK':function(_0x582c4,_0x1e6bcb){return _0x582c4>_0x1e6bcb;},'TMySl':function(_0x1b854f,_0x330ed2,_0x3db304,_0x13500f){return _0x1b854f(_0x330ed2,_0x3db304,_0x13500f);},'GttmK':function(_0x415cc4,_0x3a5256){return _0x415cc4(_0x3a5256);},'SlnEs':'test_start','HRCnC':function(_0x720e69,_0x355209){return _0x720e69!==_0x355209;},'wTvPc':_0x55feb7(0x1d2),'kwaNd':function(_0x5c955a,_0x3ffb9c,_0x5b9bc6,_0x2474bd){return _0x5c955a(_0x3ffb9c,_0x5b9bc6,_0x2474bd);},'FkOCN':_0x55feb7(0x1e8),'oFrCk':function(_0x57eb02,_0x9d9c18){return _0x57eb02(_0x9d9c18);},'EmeQj':function(_0x223197){return _0x223197();},'WOTcw':_0x55feb7(0x180),'urKwT':function(_0x59da0d,_0xbfe2cf){return _0x59da0d===_0xbfe2cf;},'KrPoN':'fail','LiFgu':_0x55feb7(0x1ff),'tNwtt':'passed','mqgtV':function(_0x538b34,_0xecaf57){return _0x538b34||_0xecaf57;},'NnCRh':function(_0x34a10a){return _0x34a10a();},'kiQko':'TestRunFinished','hMUlV':'test_skip','NSgLs':function(_0x5a3e33,_0x4bdc19){return _0x5a3e33(_0x4bdc19);},'wJCZl':function(_0x2af91e){return _0x2af91e();},'wzaHD':_0x55feb7(0x1ca),'EPKwO':function(_0x1f78a0){return _0x1f78a0();},'KIKRR':_0x55feb7(0x24d),'CHhcW':_0x55feb7(0x253),'YHpAk':function(_0x158716,_0xd0c3e8){return _0x158716===_0xd0c3e8;},'WNMfN':_0x55feb7(0x1d8),'qXMzJ':function(_0x462239,_0x17703c){return _0x462239===_0x17703c;},'GXELU':function(_0x39ae49,_0x1d1594){return _0x39ae49(_0x1d1594);},'mTSlR':function(_0x1f86f2){return _0x1f86f2();},'bpmAx':function(_0x49fa1e,_0x34211c,_0x1b0a81){return _0x49fa1e(_0x34211c,_0x1b0a81);},'StiUZ':'jest-circus/build/state.js','KIudH':_0x55feb7(0x1d9),'YHfkW':function(_0x4cede3,_0x728cee){return _0x4cede3(_0x728cee);},'cdGNF':function(_0x5383ab,_0x3b6fd8,_0x14d889){return _0x5383ab(_0x3b6fd8,_0x14d889);},'Hcahc':'jest-circus/build/utils.js','XHiUk':'EventHandler'};try{logger[_0x55feb7(0x1c4)](_0x55feb7(0x25d)+_0x18c636[_0x55feb7(0x1a4)](shouldProcessEventForTesthub)+_0x55feb7(0x18f)+process[_0x55feb7(0x196)][_0x55feb7(0x1db)]);const _0x38b569=_0x2f20f7&&_0x2f20f7[0x0]?_0x2f20f7[0x0]:{};let _0x2d0379=0x0;try{if(_0x38b569[_0x55feb7(0x25c)]&&_0x18c636[_0x55feb7(0x1a6)](typeof _0x38b569[_0x55feb7(0x25c)][_0x55feb7(0x1c3)],_0x18c636[_0x55feb7(0x1a0)]))_0x2d0379=_0x38b569[_0x55feb7(0x25c)][_0x55feb7(0x1c3)];else{if(_0x38b569[_0x55feb7(0x186)]&&_0x18c636[_0x55feb7(0x24b)](typeof _0x38b569[_0x55feb7(0x186)][_0x55feb7(0x1c3)],_0x18c636['WNMfN']))_0x2d0379=_0x38b569[_0x55feb7(0x186)]['browserstackPlatformIndex'];else global[_0x55feb7(0x194)]&&_0x18c636['qXMzJ'](typeof global[_0x55feb7(0x194)][_0x55feb7(0x1c3)],_0x18c636[_0x55feb7(0x1a0)])&&(_0x2d0379=global[_0x55feb7(0x194)][_0x55feb7(0x1c3)]);}}catch(_0x551e46){logger[_0x55feb7(0x1c4)]('Error\x20reading\x20platformIndex\x20from\x20args:\x20'+util['format'](_0x551e46));}global[_0x55feb7(0x1e6)]=_0x2d0379,process['env'][_0x55feb7(0x1bd)]=_0x18c636[_0x55feb7(0x18e)](String,_0x2d0379);const _0xffbad9=new ObservabilityReporter();!_initializedPlatformIndices[_0x55feb7(0x20f)](_0x2d0379)?(logger[_0x55feb7(0x1c4)](_0x55feb7(0x206)+_0x2d0379),_initializedPlatformIndices['add'](_0x2d0379),_0x18c636[_0x55feb7(0x267)](shouldProcessEventForTesthub)&&(_0x18c636[_0x55feb7(0x267)](patchConsoleLogger),_0xffbad9[_0x55feb7(0x1da)]())):logger[_0x55feb7(0x1c4)](_0x55feb7(0x217)+_0x2d0379+_0x55feb7(0x190));let _0x4f0ab3;try{_0x4f0ab3=_0x18c636['bpmAx'](requireModule,_0x18c636['StiUZ'],_0x18c636['KIudH']);}catch{_0x4f0ab3=_0x18c636[_0x55feb7(0x1c1)](requireModule,_0x18c636[_0x55feb7(0x1dc)]);}let _0x2cfab6;try{_0x2cfab6=_0x18c636[_0x55feb7(0x237)](requireModule,_0x18c636[_0x55feb7(0x1c2)],_0x18c636['KIudH'])[_0x55feb7(0x263)];}catch{_0x2cfab6=_0x18c636[_0x55feb7(0x1cf)](requireModule,_0x18c636[_0x55feb7(0x1dc)])['makeSingleTestResult']||(()=>({}));}const _0x2c2871=BrowserstackCLI[_0x55feb7(0x195)]()[_0x55feb7(0x1ab)]();(_0x18c636[_0x55feb7(0x1fa)](shouldProcessEventForTesthub)||_0x2c2871)&&_0x4f0ab3[_0x55feb7(0x1dd)](_0x18c636['bpmAx'](o11yErrorHandler,async(_0x19c032,_0x196397)=>{const _0x5d5ce9=_0x55feb7,_0x21a367={'TDPmC':function(_0x50584e,_0x232a3b){const _0x23a925=a17_0x2553;return _0x18c636[_0x23a925(0x1f8)](_0x50584e,_0x232a3b);},'fUSec':_0x18c636[_0x5d5ce9(0x1b9)],'bqquy':function(_0x18e085,_0x33a50f){return _0x18c636['CmkWO'](_0x18e085,_0x33a50f);}};switch(_0x19c032[_0x5d5ce9(0x1d1)]){case _0x18c636[_0x5d5ce9(0x1c6)]:if(_0x19c032[_0x5d5ce9(0x24c)]['fn']&&_0x19c032['hook']['fn']['toString']()[_0x5d5ce9(0x1e7)](/browserstack internal helper hook/))break;if(_0x19c032[_0x5d5ce9(0x24c)][_0x5d5ce9(0x1e4)]&&_0x18c636[_0x5d5ce9(0x1f6)](_0x19c032[_0x5d5ce9(0x24c)][_0x5d5ce9(0x1e4)]['name'],_0x18c636[_0x5d5ce9(0x243)])){const _0x2eba39=_0x19c032['hook'][_0x5d5ce9(0x235)]&&((()=>{const _0x3a4685=_0x5d5ce9;try{const _0x3d9c97=_0x21a367[_0x3a4685(0x1e1)](require,_0x21a367[_0x3a4685(0x209)]),_0x384cfe=_0x3d9c97[_0x3a4685(0x1a3)][_0x3a4685(0x187)](_0x3d9c97,_0x19c032[_0x3a4685(0x24c)][_0x3a4685(0x235)]);return _0x384cfe[0x0]&&_0x384cfe[0x0][_0x3a4685(0x1fd)]?_0x384cfe[0x0]['getFileName']():null;}catch(_0x4da3e4){return logger[_0x3a4685(0x1c4)](_0x3a4685(0x21b)+_0x4da3e4[_0x3a4685(0x225)]),null;}})())||_0x19c032[_0x5d5ce9(0x24c)][_0x5d5ce9(0x238)]||null;if(!_0x2eba39)break;}if(BrowserstackCLI['getInstance']()[_0x5d5ce9(0x1ab)]()&&await _0x18c636[_0x5d5ce9(0x1fa)](isCLIReady)){if(_0x18c636[_0x5d5ce9(0x231)](shouldProcessEventForTesthub,testHubConstants['EVENT']['HookStarted']))try{await _0x18c636[_0x5d5ce9(0x1b5)](handleHookEventCLI,_0x19c032[_0x5d5ce9(0x24c)],_0x18c636[_0x5d5ce9(0x1bc)],_0x196397);break;}catch(_0x17b757){_0x18c636['FlbBW'](debug,_0x5d5ce9(0x19e)+util[_0x5d5ce9(0x262)](_0x17b757));}}if(_0x18c636[_0x5d5ce9(0x18d)](shouldProcessEventForTesthub,testHubConstants[_0x5d5ce9(0x212)][_0x5d5ce9(0x242)])){if(!_0x19c032[_0x5d5ce9(0x24c)]['hookAnalyticsId']){const _0x5b03b8=TestDetails[_0x5d5ce9(0x19b)](process[_0x5d5ce9(0x227)]+_0x5d5ce9(0x246));_0x19c032[_0x5d5ce9(0x24c)][_0x5d5ce9(0x1b0)]=_0x5b03b8;}else _0x19c032['hook']['markedStatus']&&(_0x19c032[_0x5d5ce9(0x24c)][_0x5d5ce9(0x1b0)]=TestDetails[_0x5d5ce9(0x19b)](process[_0x5d5ce9(0x227)]+':hookAnalyticsId'),delete _0x19c032[_0x5d5ce9(0x24c)][_0x5d5ce9(0x251)]);_0x19c032[_0x5d5ce9(0x24c)][_0x5d5ce9(0x1cb)]=new Date()['toISOString'](),await _0xffbad9[_0x5d5ce9(0x1c8)](_0x19c032['hook'],undefined,![],_0x18c636[_0x5d5ce9(0x1bc)]);}break;case _0x18c636[_0x5d5ce9(0x191)]:if(BrowserstackCLI['getInstance']()['isCliEnabled']()&&await _0x18c636[_0x5d5ce9(0x1fa)](isCLIReady)){if(_0x18c636[_0x5d5ce9(0x1f8)](shouldProcessEventForTesthub,testHubConstants[_0x5d5ce9(0x212)][_0x5d5ce9(0x181)]))try{await _0x18c636[_0x5d5ce9(0x1b5)](handleHookEventCLI,_0x19c032[_0x5d5ce9(0x24c)],_0x18c636[_0x5d5ce9(0x199)],_0x196397);break;}catch(_0x1f9948){_0x18c636['tTkgT'](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x5d5ce9(0x262)](_0x1f9948));}}_0x18c636[_0x5d5ce9(0x1cf)](shouldProcessEventForTesthub,testHubConstants[_0x5d5ce9(0x212)]['HookFinished'])&&(await _0xffbad9['sendTestRunEvent'](_0x19c032['hook'],undefined,![],_0x18c636['BmYLV']),TestDetails['removeTestUUID'](process[_0x5d5ce9(0x227)]+_0x5d5ce9(0x246)));break;case _0x18c636['bIUsc']:[_0x18c636[_0x5d5ce9(0x24a)],_0x18c636[_0x5d5ce9(0x234)],_0x18c636[_0x5d5ce9(0x189)]][_0x5d5ce9(0x25a)](_0x19c032['hook'][_0x5d5ce9(0x264)])&&(_0xffbad9[_0x5d5ce9(0x221)]=_0x19c032['hook'][_0x5d5ce9(0x264)]),_0x196397['unhandledErrors']&&_0x18c636[_0x5d5ce9(0x248)](_0x196397[_0x5d5ce9(0x258)][_0x5d5ce9(0x233)],0x0)&&(_0x19c032[_0x5d5ce9(0x24c)][_0x5d5ce9(0x1ec)]=[_0x196397[_0x5d5ce9(0x258)][0x0][0x0]]);if(BrowserstackCLI['getInstance']()['isCliEnabled']()&&await _0x18c636[_0x5d5ce9(0x1fa)](isCLIReady)){if(_0x18c636[_0x5d5ce9(0x231)](shouldProcessEventForTesthub,testHubConstants[_0x5d5ce9(0x212)][_0x5d5ce9(0x181)]))try{await _0x18c636[_0x5d5ce9(0x1ea)](handleHookEventCLI,_0x19c032[_0x5d5ce9(0x24c)],_0x18c636[_0x5d5ce9(0x199)],_0x196397);break;}catch(_0x34e5c8){_0x18c636[_0x5d5ce9(0x1aa)](debug,_0x5d5ce9(0x19e)+util[_0x5d5ce9(0x262)](_0x34e5c8));}}_0x18c636['qJcjC'](shouldProcessEventForTesthub,testHubConstants[_0x5d5ce9(0x212)]['HookFinished'])&&(await _0xffbad9[_0x5d5ce9(0x1c8)](_0x19c032[_0x5d5ce9(0x24c)],undefined,![],_0x18c636[_0x5d5ce9(0x199)]),TestDetails[_0x5d5ce9(0x22d)](process[_0x5d5ce9(0x227)]+_0x5d5ce9(0x246)));break;case _0x18c636['SlnEs']:try{let _0x30eaf6=_0x19c032[_0x5d5ce9(0x23e)][_0x5d5ce9(0x1d1)]||'';try{let _0x2416ad=_0x19c032['test']['parent'];const _0x3504c6=[_0x30eaf6];while(_0x2416ad&&_0x2416ad[_0x5d5ce9(0x1d1)]&&_0x18c636[_0x5d5ce9(0x1a2)](_0x2416ad[_0x5d5ce9(0x1d1)],_0x18c636[_0x5d5ce9(0x243)])){_0x3504c6[_0x5d5ce9(0x224)](_0x2416ad['name']),_0x2416ad=_0x2416ad[_0x5d5ce9(0x1e4)];}_0x30eaf6=_0x3504c6['join'](_0x18c636['wTvPc']);}catch(_0x30f334){logger['debug'](_0x5d5ce9(0x1f5)+_0x30f334[_0x5d5ce9(0x225)]);}process[_0x5d5ce9(0x1c7)]=_0x30eaf6,process[_0x5d5ce9(0x1a9)]=null,process['_bstackTestFailureReason']=null,logger[_0x5d5ce9(0x1c4)](_0x5d5ce9(0x1d3)+_0x30eaf6+'\x22');if(!global['__workerDetails']){const _0x430904={};_0x430904[_0x5d5ce9(0x20c)]={},global[_0x5d5ce9(0x1c5)]=_0x430904;}!global[_0x5d5ce9(0x1c5)][_0x5d5ce9(0x20c)]&&(global[_0x5d5ce9(0x1c5)][_0x5d5ce9(0x20c)]={});const _0x44ce81={};_0x44ce81[_0x5d5ce9(0x226)]=_0x30eaf6,_0x44ce81['name']=_0x30eaf6,global['__workerDetails'][_0x5d5ce9(0x20c)]['testInfo']=_0x44ce81,global['browserstackTestName']=_0x30eaf6;}catch(_0x4d1a70){logger['debug']('[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20'+_0x4d1a70[_0x5d5ce9(0x225)]);}if(BrowserstackCLI['getInstance']()['isCliEnabled']()&&await _0x18c636[_0x5d5ce9(0x1fa)](isCLIReady))try{await _0x18c636['kwaNd'](handleTestEventCLI,_0x19c032[_0x5d5ce9(0x23e)],_0x18c636[_0x5d5ce9(0x249)],_0xffbad9);break;}catch(_0x3b848e){_0x18c636[_0x5d5ce9(0x1f2)](debug,_0x5d5ce9(0x19e)+util['format'](_0x3b848e));}_0x18c636[_0x5d5ce9(0x1a4)](shouldProcessEventForTesthub)&&await _0xffbad9[_0x5d5ce9(0x265)](_0x19c032[_0x5d5ce9(0x23e)]);break;case _0x18c636['WOTcw']:_0x19c032['test']={..._0x18c636[_0x5d5ce9(0x1f8)](_0x2cfab6,_0x19c032['test']),..._0x19c032[_0x5d5ce9(0x23e)]};try{const _0x51a2a3=_0x19c032[_0x5d5ce9(0x23e)][_0x5d5ce9(0x22b)]||[],_0x7493c6=_0x18c636[_0x5d5ce9(0x248)](_0x51a2a3[_0x5d5ce9(0x233)],0x0)||_0x18c636[_0x5d5ce9(0x17f)](_0x19c032['test'][_0x5d5ce9(0x23b)],_0x18c636[_0x5d5ce9(0x184)]),_0x26680b=_0x7493c6?_0x18c636['LiFgu']:_0x18c636[_0x5d5ce9(0x21a)];let _0x34a321='';_0x7493c6&&(_0x34a321=_0x51a2a3[_0x5d5ce9(0x1f9)](_0x285305=>{const _0x2b444a=_0x5d5ce9;if(Array['isArray'](_0x285305))return _0x285305[_0x2b444a(0x1f9)](_0x13bbb3=>_0x13bbb3&&_0x13bbb3[_0x2b444a(0x225)]||String(_0x13bbb3))[_0x2b444a(0x21e)](';\x20');return _0x285305&&_0x285305[_0x2b444a(0x225)]||_0x21a367[_0x2b444a(0x228)](String,_0x285305);})[_0x5d5ce9(0x21e)](';\x20')),process[_0x5d5ce9(0x1a9)]=_0x26680b,process['_bstackTestFailureReason']=_0x18c636[_0x5d5ce9(0x1b6)](_0x34a321,''),logger[_0x5d5ce9(0x1c4)](_0x5d5ce9(0x1b7)+_0x26680b+'\x22'),global[_0x5d5ce9(0x1c5)]&&global[_0x5d5ce9(0x1c5)][_0x5d5ce9(0x20c)]&&(!global[_0x5d5ce9(0x1c5)][_0x5d5ce9(0x20c)][_0x5d5ce9(0x188)]&&(global[_0x5d5ce9(0x1c5)][_0x5d5ce9(0x20c)][_0x5d5ce9(0x188)]={}),global[_0x5d5ce9(0x1c5)]['currentTest'][_0x5d5ce9(0x188)][_0x5d5ce9(0x23b)]=_0x26680b,_0x7493c6&&(global['__workerDetails'][_0x5d5ce9(0x20c)]['testInfo'][_0x5d5ce9(0x218)]=_0x34a321));}catch(_0x5d0bdd){logger[_0x5d5ce9(0x1c4)](_0x5d5ce9(0x22c)+_0x5d0bdd['message']);}if(!_0x19c032[_0x5d5ce9(0x23e)][_0x5d5ce9(0x251)]){_0x19c032[_0x5d5ce9(0x23e)][_0x5d5ce9(0x251)]=!![];if(BrowserstackCLI[_0x5d5ce9(0x195)]()['isCliEnabled']()&&await _0x18c636[_0x5d5ce9(0x215)](isCLIReady))try{await _0x18c636['kwaNd'](handleTestEventCLI,_0x19c032[_0x5d5ce9(0x23e)],_0x18c636['kiQko'],_0xffbad9);break;}catch(_0x343315){_0x18c636[_0x5d5ce9(0x1aa)](debug,_0x5d5ce9(0x19e)+util['format'](_0x343315));}_0x18c636[_0x5d5ce9(0x1fa)](shouldProcessEventForTesthub)&&await _0xffbad9[_0x5d5ce9(0x1c8)](_0x19c032[_0x5d5ce9(0x23e)]);}break;case _0x18c636['hMUlV']:_0x19c032['test']={..._0x18c636[_0x5d5ce9(0x213)](_0x2cfab6,_0x19c032[_0x5d5ce9(0x23e)]),..._0x19c032[_0x5d5ce9(0x23e)]};if(!_0x19c032[_0x5d5ce9(0x23e)]['markedStatus']){_0x19c032[_0x5d5ce9(0x23e)]['markedStatus']=!![];if(BrowserstackCLI[_0x5d5ce9(0x195)]()[_0x5d5ce9(0x1ab)]()&&await _0x18c636[_0x5d5ce9(0x22f)](isCLIReady))try{await _0x18c636[_0x5d5ce9(0x1b5)](handleTestEventCLI,_0x19c032[_0x5d5ce9(0x23e)],_0x18c636[_0x5d5ce9(0x222)],_0xffbad9);break;}catch(_0x4203f8){_0x18c636[_0x5d5ce9(0x18d)](debug,_0x5d5ce9(0x19e)+util['format'](_0x4203f8));}_0x18c636[_0x5d5ce9(0x22e)](shouldProcessEventForTesthub)&&await _0xffbad9['sendTestRunEvent'](_0x19c032[_0x5d5ce9(0x23e)],undefined,![],_0x18c636['wzaHD']);}break;case _0x18c636[_0x5d5ce9(0x240)]:_0xffbad9[_0x5d5ce9(0x221)]=null;break;case _0x18c636[_0x5d5ce9(0x25f)]:await RequestQueueHandler['getInstance']()[_0x5d5ce9(0x23c)](),process[_0x5d5ce9(0x252)]();break;default:}},_0x18c636[_0x55feb7(0x223)]));}catch(_0x58df85){_0x18c636[_0x55feb7(0x213)](debug,_0x55feb7(0x1f1)+_0x58df85);}return _0x18c636[_0x55feb7(0x18d)](initInitialize,..._0x2f20f7);};try{Object[a17_0x1bbd03(0x185)](exportsI)['forEach'](_0x26daa3=>{const _0x2f58b6=a17_0x1bbd03,_0x303ea8={'UYbhU':function(_0x2af27e,_0xafaf65){return _0x2af27e(_0xafaf65);}};try{exports&&(exports[_0x26daa3]=exportsI[_0x26daa3]);}catch(_0x1812cc){_0x303ea8[_0x2f58b6(0x24f)](debug,_0x2f58b6(0x20b)+_0x1812cc);}});}catch(a17_0x4ac18f){debug('Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20'+a17_0x4ac18f);}function a17_0x44f6(){const _0x1d5020=['urKwT','test_done','HookFinished','../../../helpers/testhub/utils','stack-trace','KrPoN','keys','configuration','call','testInfo','InJyp','TestRunFinished','../test-observability/test-details','tMZPF','qJcjC','GXELU',',\x20BROWSERSTACK_PUPPETEER=',',\x20re-registering\x20event\x20handler','LFQES','6qsRPRH','pjMLW','jestConfig','getInstance','env','uuid','\x20for\x20hook\x20type:\x20','BmYLV','getTestFramework','setTestUUID','../../../helpers/test-observability/utils','bootstrap','Error\x20routing\x20to\x20JestTestFramework:\x20','XORQC','WNMfN','9ZIGpeq','HRCnC','parse','EmeQj','jqgOH','YHpAk','EbYDt','__jestCurrentTestIdentifier','_bstackTestStatus','GttmK','isCliEnabled','../../../helpers/logger','LOG_REPORT','5462413FGWtei','1305292DEoxqP','hookAnalyticsId','ROOT_DESCRIBE_BLOCK','20yAmSRt','testIdentifier','yDdNw','bWJxy','mqgtV','[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22','ZnnpL','EiUcL','afterAll','38FnzUkL','PHgXE','BROWSERSTACK_PLATFORM_INDEX','HZHvm','ZeKwm','PIxUo','YHfkW','Hcahc','browserstackPlatformIndex','debug','__workerDetails','rMQrp','_bstackTestName','sendTestRunEvent','KmgAt','TestRunSkipped','started_at','beforeAll','retryOf','XnMtT','FlbBW','BfHbb','name','\x20>\x20','[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22','SozIu','createHookData','hgZbQ','../../v2/browserstackCLI','number','jest-circus','registerListeners','BROWSERSTACK_PUPPETEER','KIudH','addEventHandler','../../utils/constants','keSJn','MgLZy','TDPmC','error','BROWSERSTACK_CLI_BIN_SESSION_ID','parent','AFTER_EACH','__bstackPlatformIndex','match','TestRunStarted','111134oCiWfL','TMySl','../../../helpers/test-observability/requestQueueHandler','errorsDetailed','TEST','BsDVv','current_test','initialize','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','oFrCk','true','WYptO','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','Lmyts','YaMmt','CmkWO','map','MkDhV','util','setFrameworkDetail','getFileName','NtNxi','failed','../../v2/utils/jest-utils','setActiveHook','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','NMHPR','isRunning','Handling\x20hook\x20event\x20for\x20CLI:\x20','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','BEFORE_EACH','createTestFrameworkData','fUSec','ZIAOQ','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','currentTest','Tviky','HookRunFinished','has','JEST','WFGMl','EVENT','NSgLs','24903kvZINJ','NnCRh','removeActiveHook','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','failureMessage','HookRunStarted','tNwtt','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','NFYyn','939722OjPZbf','join','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','testUUID','hook_failure','wzaHD','XHiUk','unshift','message','title','pid','bqquy','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','PUPPETEER','errors','[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20','removeTestUUID','EPKwO','wJCZl','POST','YFCzG','xpMyE','length','yWPRk','asyncError','currentHook','cdGNF','file','createIdentifierFromJestTest','MfOwY','status','shutdown','winstonLogger','test','AFTER_ALL','KIKRR','PLAYWRIGHT','HookStarted','gySei','hook_start','PRE',':hookAnalyticsId','afterEach','PgdVK','FkOCN','ajLRR','qXMzJ','hook','run_describe_finish','getAutomationFrameworkDetail','UYbhU','beforeEach','markedStatus','removeAllListeners','teardown','2416968fjqZOF','trackEvent','toString','3087020GLgTPt','unhandledErrors','_currentRetry','includes','BEFORE_ALL','config','[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub=','testAnalyticsId','CHhcW','pMURC','state','format','makeSingleTestResult','type','testStarted','../../../helpers/test-observability/error-handler','mTSlR','../../v2/state/testFrameworkState'];a17_0x44f6=function(){return _0x1d5020;};return a17_0x44f6();}
1
+ const a17_0x5ed42d=a17_0x17a7;(function(_0x18a727,_0x47eff5){const _0x516b9f=a17_0x17a7,_0x5e26ac=_0x18a727();while(!![]){try{const _0x4b2c0d=-parseInt(_0x516b9f(0x138))/0x1+-parseInt(_0x516b9f(0xc5))/0x2*(-parseInt(_0x516b9f(0x178))/0x3)+parseInt(_0x516b9f(0x129))/0x4*(parseInt(_0x516b9f(0xe3))/0x5)+-parseInt(_0x516b9f(0x113))/0x6*(-parseInt(_0x516b9f(0x110))/0x7)+parseInt(_0x516b9f(0x19a))/0x8*(-parseInt(_0x516b9f(0x173))/0x9)+parseInt(_0x516b9f(0x105))/0xa*(-parseInt(_0x516b9f(0x19c))/0xb)+parseInt(_0x516b9f(0xfb))/0xc;if(_0x4b2c0d===_0x47eff5)break;else _0x5e26ac['push'](_0x5e26ac['shift']());}catch(_0x264a81){_0x5e26ac['push'](_0x5e26ac['shift']());}}}(a17_0x5552,0xa1986));const {requireModule}=require(a17_0x5ed42d(0xd3)),ObservabilityReporter=require(a17_0x5ed42d(0x136)),RequestQueueHandler=require(a17_0x5ed42d(0xd4)),TestDetails=require(a17_0x5ed42d(0x186)),{patchConsoleLogger,debug}=require(a17_0x5ed42d(0xd8)),{o11yErrorHandler}=require('../../../helpers/test-observability/error-handler'),{shouldProcessEventForTesthub}=require(a17_0x5ed42d(0xee)),testHubConstants=require(a17_0x5ed42d(0x155)),BrowserstackCLI=require(a17_0x5ed42d(0x1b3)),TestFrameworkState=require(a17_0x5ed42d(0x10a)),HookState=require(a17_0x5ed42d(0x144)),JestUtils=require(a17_0x5ed42d(0x12d)),{v4:uuidv4}=require('uuid'),util=require('util'),logger=require(a17_0x5ed42d(0x12b))[a17_0x5ed42d(0x109)],{FRAMEWORKS}=require(a17_0x5ed42d(0x172));let exportsI;try{exportsI=requireModule(a17_0x5ed42d(0xbf),'jest-circus');}catch{exportsI=requireModule(a17_0x5ed42d(0x16c),'jest-circus');}const initInitialize=exportsI['initialize'],jestUtils=new JestUtils(),_initializedPlatformIndices=new Set();async function isCLIReady(){const _0x2fe49f=a17_0x5ed42d,_0x5e497d={'GSReY':_0x2fe49f(0x102),'eMsoQ':function(_0x3e25a6,_0x8df765){return _0x3e25a6(_0x8df765);},'btRbe':_0x2fe49f(0x120),'kfzGM':function(_0x4c4c44,_0x56af4e){return _0x4c4c44===_0x56af4e;},'ajkjl':_0x2fe49f(0x17a),'tdpOo':function(_0x3f729b,_0x39901a){return _0x3f729b(_0x39901a);}};try{const _0x2de9e1=BrowserstackCLI['getInstance']();if(_0x2de9e1[_0x2fe49f(0x13b)]()&&_0x2de9e1[_0x2fe49f(0x16f)]())return logger['debug'](_0x5e497d[_0x2fe49f(0x163)]),!![];const _0x2b84b9=process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID'];if(_0x2b84b9&&_0x2de9e1['isCliEnabled']()){if(!_0x2de9e1[_0x2fe49f(0x16f)]())try{const _0x323fb0=_0x5e497d['eMsoQ'](require,_0x5e497d[_0x2fe49f(0x191)]),_0x11278c=_0x323fb0[_0x2fe49f(0x1ab)]();(!_0x11278c||!_0x11278c[_0x2fe49f(0x169)])&&(_0x5e497d[_0x2fe49f(0x11f)](process[_0x2fe49f(0x118)][_0x2fe49f(0xdc)],_0x5e497d[_0x2fe49f(0x11e)])?_0x323fb0['setFrameworkDetail'](FRAMEWORKS[_0x2fe49f(0x18a)],FRAMEWORKS['PUPPETEER']):_0x323fb0[_0x2fe49f(0xc4)](FRAMEWORKS[_0x2fe49f(0x18a)],FRAMEWORKS[_0x2fe49f(0xfd)])),await _0x2de9e1['bootstrap']();}catch(_0x27ca74){return _0x5e497d[_0x2fe49f(0x11b)](debug,'Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20'+util['format'](_0x27ca74)),![];}return _0x2de9e1[_0x2fe49f(0x16f)]();}return![];}catch(_0x587a83){return _0x5e497d[_0x2fe49f(0xff)](debug,'Error\x20checking\x20CLI\x20readiness:\x20'+util[_0x2fe49f(0x121)](_0x587a83)),![];}}function getTestIdentifierForHook(_0x285dc3){const _0x1d736b=a17_0x5ed42d,_0x11c0a4={};_0x11c0a4[_0x1d736b(0x131)]=function(_0xb91e2d,_0x11cafe){return _0xb91e2d===_0x11cafe;},_0x11c0a4['xDbdJ']=_0x1d736b(0xf8),_0x11c0a4[_0x1d736b(0x149)]=function(_0x8754d5,_0x1baf9a){return _0x8754d5===_0x1baf9a;},_0x11c0a4[_0x1d736b(0x183)]=_0x1d736b(0xde),_0x11c0a4[_0x1d736b(0xe7)]=function(_0x335217,_0x591107){return _0x335217===_0x591107;};const _0x451e39=_0x11c0a4;if(_0x451e39['OBDum'](_0x285dc3[_0x1d736b(0xdd)],_0x451e39[_0x1d736b(0xcd)])||_0x451e39[_0x1d736b(0x149)](_0x285dc3[_0x1d736b(0xdd)],_0x451e39[_0x1d736b(0x183)])){let _0x4e18cd=global['__jestCurrentTestIdentifier'];if(!_0x4e18cd&&_0x451e39[_0x1d736b(0xe7)](_0x285dc3[_0x1d736b(0xdd)],_0x451e39[_0x1d736b(0x183)])&&_0x285dc3['parent']){const _0x322f81={};_0x322f81[_0x1d736b(0x169)]=_0x285dc3['parent'][_0x1d736b(0x169)],_0x322f81[_0x1d736b(0x154)]=_0x285dc3[_0x1d736b(0x154)]['parent'],_0x322f81[_0x1d736b(0xef)]=_0x285dc3['asyncError'],_0x322f81[_0x1d736b(0x150)]=_0x285dc3[_0x1d736b(0x150)];const _0x22080f=_0x322f81;_0x4e18cd=jestUtils[_0x1d736b(0x17d)](_0x22080f);}return _0x4e18cd;}return global[_0x1d736b(0xba)];}function mapHookTypeToState(_0x24b774){const _0x2b84d7=a17_0x5ed42d,_0x26aa46={};_0x26aa46['beforeAll']=TestFrameworkState[_0x2b84d7(0xb9)],_0x26aa46[_0x2b84d7(0x14a)]=TestFrameworkState[_0x2b84d7(0xf7)],_0x26aa46['beforeEach']=TestFrameworkState['BEFORE_EACH'],_0x26aa46[_0x2b84d7(0x17c)]=TestFrameworkState[_0x2b84d7(0x170)];const _0x2b274b=_0x26aa46;return _0x2b274b[_0x24b774]||TestFrameworkState[_0x2b84d7(0xcb)];}async function handleHookEventCLI(_0x258786,_0x21669a,_0x3c39a6){const _0x595a15=a17_0x5ed42d,_0x210f8c={'cdySd':function(_0x190207,_0x486853){return _0x190207(_0x486853);},'ybZAA':_0x595a15(0xd7),'xYiuX':function(_0x370d9f,_0x4719bf){return _0x370d9f===_0x4719bf;},'OZuzd':_0x595a15(0x134),'HPmfK':function(_0x483349){return _0x483349();},'hCGeC':function(_0x181f62){return _0x181f62();},'MgGsP':function(_0x247c07,_0x1f8b78){return _0x247c07===_0x1f8b78;},'GKPPU':_0x595a15(0x15f),'zUOCH':function(_0x53b269,_0x23654c){return _0x53b269(_0x23654c);},'fodMD':function(_0x221f4b,_0x2fe0a1){return _0x221f4b===_0x2fe0a1;},'LGAsz':'HookRunFinished','qVTkn':'hook'};logger['debug'](_0x595a15(0x175)+_0x21669a+_0x595a15(0x10c)+_0x258786['type']);try{if(_0x258786['fn']&&_0x258786['fn'][_0x595a15(0x1ad)]()[_0x595a15(0xc9)](/browserstack internal helper hook/))return;if(_0x258786['parent']&&_0x210f8c[_0x595a15(0xca)](_0x258786[_0x595a15(0x154)][_0x595a15(0x169)],_0x210f8c['OZuzd'])){const _0x1d457e=_0x258786[_0x595a15(0xef)]&&((()=>{const _0x16d8fd=_0x595a15;try{const _0x4890d5=_0x210f8c[_0x16d8fd(0x10d)](require,_0x210f8c[_0x16d8fd(0x174)]),_0x219ca8=_0x4890d5[_0x16d8fd(0xed)][_0x16d8fd(0x19e)](_0x4890d5,_0x258786[_0x16d8fd(0xef)]);return _0x219ca8[0x0]&&_0x219ca8[0x0]['getFileName']?_0x219ca8[0x0][_0x16d8fd(0xbc)]():null;}catch(_0x46b4ac){return logger['debug'](_0x16d8fd(0x116)+_0x46b4ac[_0x16d8fd(0x15a)]),null;}})())||_0x258786[_0x595a15(0x150)]||null;if(!_0x1d457e)return;}let _0x25d086=_0x258786[_0x595a15(0xc2)];if(!_0x25d086)_0x25d086=_0x210f8c[_0x595a15(0xdb)](uuidv4),_0x258786[_0x595a15(0xc2)]=_0x25d086;else _0x258786[_0x595a15(0x119)]&&(_0x25d086=_0x210f8c['hCGeC'](uuidv4),_0x258786[_0x595a15(0xc2)]=_0x25d086,delete _0x258786[_0x595a15(0x119)]);_0x210f8c['MgGsP'](_0x21669a,_0x210f8c[_0x595a15(0x16b)])&&(_0x258786[_0x595a15(0x14f)]=new Date()['toISOString']());const _0x41fcdf=_0x210f8c[_0x595a15(0x117)](getTestIdentifierForHook,_0x258786);!global[_0x595a15(0x1aa)]&&(global['__workerDetails']={});if(_0x210f8c[_0x595a15(0x196)](_0x21669a,_0x210f8c[_0x595a15(0x16b)])){global['__workerDetails'][_0x595a15(0x130)]={'hookUUID':_0x25d086,'testIdentifier':_0x41fcdf,'hookType':_0x258786[_0x595a15(0xdd)],'startedAt':new Date()[_0x595a15(0x199)]()};const _0x359346=BrowserstackCLI['getInstance']()[_0x595a15(0x189)]();_0x359346&&_0x359346[_0x595a15(0x156)]&&_0x359346[_0x595a15(0x156)](_0x41fcdf,_0x25d086,_0x258786[_0x595a15(0xdd)]);}const _0x146c88=await jestUtils[_0x595a15(0x13a)](_0x258786,_0x25d086,_0x21669a,_0x41fcdf);if(!_0x146c88)return;const _0x443a46=_0x210f8c[_0x595a15(0x10d)](mapHookTypeToState,_0x258786[_0x595a15(0xdd)]),_0x402442=_0x210f8c[_0x595a15(0x177)](_0x21669a,_0x210f8c[_0x595a15(0x16b)])?HookState['PRE']:HookState[_0x595a15(0x158)],_0x32c34d=BrowserstackCLI[_0x595a15(0x194)]()[_0x595a15(0x189)]();if(_0x32c34d){const _0x2cf64a={};_0x2cf64a[_0x595a15(0x123)]=_0x146c88,await _0x32c34d['trackEvent'](_0x443a46,_0x402442,_0x2cf64a);if(_0x210f8c[_0x595a15(0xca)](_0x21669a,_0x210f8c['LGAsz'])){const _0x32e947={};_0x32e947['testUUID']=_0x41fcdf,_0x32e947['type']=_0x210f8c[_0x595a15(0x18c)],await _0x32c34d['trackEvent'](TestFrameworkState['LOG_REPORT'],HookState[_0x595a15(0x158)],_0x32e947),global['__workerDetails']&&global['__workerDetails'][_0x595a15(0x130)]&&_0x210f8c['MgGsP'](global['__workerDetails'][_0x595a15(0x130)][_0x595a15(0x114)],_0x25d086)&&delete global[_0x595a15(0x1aa)][_0x595a15(0x130)],_0x32c34d[_0x595a15(0x19b)]&&_0x32c34d[_0x595a15(0x19b)](_0x41fcdf,_0x25d086);}}}catch(_0x23f28a){logger[_0x595a15(0xfe)](_0x595a15(0x15d)+util[_0x595a15(0x121)](_0x23f28a));throw _0x23f28a;}}async function handleTestEventCLI(_0x367600,_0x471abf,_0x13d852){const _0x25bce4=a17_0x5ed42d,_0x2ea618={};_0x2ea618['brWOz']=function(_0x428e90,_0x2fca1b){return _0x428e90===_0x2fca1b;},_0x2ea618['qHPWE']=_0x25bce4(0x141),_0x2ea618[_0x25bce4(0x1b2)]=function(_0x53a207,_0x450b7c){return _0x53a207>_0x450b7c;},_0x2ea618[_0x25bce4(0xc8)]=function(_0x1d2f11,_0x201532){return _0x1d2f11&&_0x201532;},_0x2ea618[_0x25bce4(0x181)]=_0x25bce4(0x1af),_0x2ea618[_0x25bce4(0x17b)]=_0x25bce4(0x187),_0x2ea618[_0x25bce4(0x18e)]=function(_0x648e9f,_0x38c7e5){return _0x648e9f&&_0x38c7e5;},_0x2ea618[_0x25bce4(0xf1)]=function(_0x432a65,_0x15de1b){return _0x432a65&&_0x15de1b;},_0x2ea618[_0x25bce4(0x12a)]=function(_0x3fede0,_0x396c2f){return _0x3fede0&&_0x396c2f;},_0x2ea618[_0x25bce4(0xe0)]='test';const _0x28556b=_0x2ea618;logger[_0x25bce4(0x140)](_0x25bce4(0x101)+_0x471abf);try{let _0x498784;if(_0x28556b[_0x25bce4(0x1b0)](_0x471abf,_0x28556b[_0x25bce4(0x10f)])){_0x498784=jestUtils[_0x25bce4(0x17d)](_0x367600),global[_0x25bce4(0xba)]=_0x498784,_0x367600[_0x25bce4(0x10b)]=_0x498784,_0x367600['id']=_0x498784,_0x367600[_0x25bce4(0x14f)]=new Date()[_0x25bce4(0x199)]();const _0x395779=_0x13d852[_0x25bce4(0x166)];_0x13d852['current_test']=_0x367600,_0x367600[_0x25bce4(0x13e)]=null;if(_0x28556b[_0x25bce4(0x1b2)](_0x367600[_0x25bce4(0xea)],0x0)&&_0x395779&&_0x28556b[_0x25bce4(0x1b0)](_0x395779['title'],_0x367600['title'])){_0x367600[_0x25bce4(0x13e)]=_0x395779[_0x25bce4(0x10b)];const _0x369256=await jestUtils[_0x25bce4(0x157)](_0x367600,_0x498784,_0x28556b['qHPWE']),_0x3186fe=BrowserstackCLI[_0x25bce4(0x194)]()[_0x25bce4(0x189)]();if(_0x28556b[_0x25bce4(0xc8)](_0x369256,_0x3186fe)){const _0x46afca={};_0x46afca['test']=_0x369256,await _0x3186fe[_0x25bce4(0x12f)](TestFrameworkState[_0x25bce4(0x1a4)],HookState[_0x25bce4(0xbd)],_0x46afca);}_0x395779[_0x25bce4(0x11a)]=_0x28556b['NCOki'];const _0xc49fb0=await jestUtils['createTestFrameworkData'](_0x395779,_0x395779[_0x25bce4(0x10b)],_0x28556b[_0x25bce4(0x17b)]);if(_0x28556b[_0x25bce4(0x18e)](_0xc49fb0,_0x3186fe)){const _0x40c34c={};_0x40c34c['test']=_0xc49fb0,await _0x3186fe[_0x25bce4(0x12f)](TestFrameworkState[_0x25bce4(0x1a4)],HookState[_0x25bce4(0x158)],_0x40c34c);}}else{const _0x72e7af=await jestUtils[_0x25bce4(0x157)](_0x367600,_0x498784,_0x28556b[_0x25bce4(0x10f)]),_0x16c8f1=BrowserstackCLI['getInstance']()[_0x25bce4(0x189)]();if(_0x28556b[_0x25bce4(0xf1)](_0x72e7af,_0x16c8f1)){const _0x33a34a={};_0x33a34a[_0x25bce4(0x106)]=_0x72e7af,await _0x16c8f1['trackEvent'](TestFrameworkState[_0x25bce4(0x1a4)],HookState[_0x25bce4(0xbd)],_0x33a34a);}}}else{_0x498784=_0x367600['testAnalyticsId']||_0x367600['id']||global['__jestCurrentTestIdentifier'];const _0x2fcf4f=await jestUtils[_0x25bce4(0x157)](_0x367600,_0x498784,_0x471abf),_0x26cf99=BrowserstackCLI['getInstance']()[_0x25bce4(0x189)]();if(_0x28556b[_0x25bce4(0x12a)](_0x2fcf4f,_0x26cf99)){const _0x45dabc={};_0x45dabc['test']=_0x2fcf4f,_0x45dabc['originalTest']=_0x367600,_0x45dabc['testIdentifier']=_0x498784,await _0x26cf99['trackEvent'](TestFrameworkState['TEST'],HookState['POST'],_0x45dabc);const _0x12377c={};_0x12377c[_0x25bce4(0x18b)]=_0x498784,_0x12377c[_0x25bce4(0xdd)]=_0x28556b[_0x25bce4(0xe0)],await _0x26cf99['trackEvent'](TestFrameworkState['LOG_REPORT'],HookState[_0x25bce4(0x158)],_0x12377c);}}}catch(_0x287210){logger[_0x25bce4(0xfe)]('Error\x20handling\x20test\x20event\x20for\x20CLI:\x20'+util['format'](_0x287210));throw _0x287210;}}function a17_0x17a7(_0x4eb747,_0x178bf9){const _0x5552d2=a17_0x5552();return a17_0x17a7=function(_0x17a7d4,_0x22ddd2){_0x17a7d4=_0x17a7d4-0xb9;let _0xdb7a3e=_0x5552d2[_0x17a7d4];return _0xdb7a3e;},a17_0x17a7(_0x4eb747,_0x178bf9);}exportsI[a17_0x5ed42d(0xd1)]=(..._0x10c817)=>{const _0x5e5f6b=a17_0x5ed42d,_0x3b8b4e={'YwJXh':function(_0xee69f4,_0x4a42f0){return _0xee69f4(_0x4a42f0);},'nTPuO':_0x5e5f6b(0xd7),'tgfwt':'hook_start','MRBPL':function(_0x349245,_0x284fd9){return _0x349245===_0x284fd9;},'rRHhQ':_0x5e5f6b(0x134),'PaOBC':function(_0x49b334){return _0x49b334();},'WMuQU':function(_0x2d735d,_0x1ce2b4){return _0x2d735d(_0x1ce2b4);},'dcuQs':function(_0x2f4223,_0x3ab919,_0x367466,_0x848c04){return _0x2f4223(_0x3ab919,_0x367466,_0x848c04);},'PNGPv':_0x5e5f6b(0x15f),'cpzFD':function(_0x4e3060,_0x281729){return _0x4e3060(_0x281729);},'fDYUr':_0x5e5f6b(0xf0),'qoSoZ':function(_0x489092,_0x30ee69){return _0x489092(_0x30ee69);},'tTDZq':function(_0x8c4c23,_0x33ecb2,_0x15c021,_0x2f6060){return _0x8c4c23(_0x33ecb2,_0x15c021,_0x2f6060);},'eZlTL':_0x5e5f6b(0x1a1),'Wonrb':function(_0x17d7f4,_0x2ece4e){return _0x17d7f4(_0x2ece4e);},'LdsqA':_0x5e5f6b(0x1a0),'oXHoM':_0x5e5f6b(0xde),'JMIIu':_0x5e5f6b(0xf8),'lcRVX':_0x5e5f6b(0x17c),'SSHwY':function(_0x1c2bf6,_0x3c2fdb){return _0x1c2bf6>_0x3c2fdb;},'sCVne':function(_0x3bd955){return _0x3bd955();},'nqkaz':function(_0xa95619,_0x45c230){return _0xa95619(_0x45c230);},'ToyzX':_0x5e5f6b(0xc3),'ASEWX':function(_0x38830a,_0x58ad00){return _0x38830a!==_0x58ad00;},'croSJ':_0x5e5f6b(0x12e),'fWnLb':function(_0x40ddce){return _0x40ddce();},'NCGfS':_0x5e5f6b(0x141),'spkdQ':function(_0x207875){return _0x207875();},'ktIED':_0x5e5f6b(0x1a5),'RTHTM':function(_0x5b7ccc,_0x4085f6){return _0x5b7ccc(_0x4085f6);},'PJXop':_0x5e5f6b(0x160),'zjBPt':'failed','opBNH':_0x5e5f6b(0x10e),'WtQcy':function(_0x15c577,_0x32672f){return _0x15c577||_0x32672f;},'ZPeGt':function(_0x14b7db){return _0x14b7db();},'vgKnN':function(_0x2e3da3,_0x540e95,_0x53cb0b,_0x225fb2){return _0x2e3da3(_0x540e95,_0x53cb0b,_0x225fb2);},'BOKDG':'TestRunFinished','dqxXr':function(_0x35492c){return _0x35492c();},'HkUSu':_0x5e5f6b(0xec),'IHORo':function(_0x280c70,_0x51a950){return _0x280c70(_0x51a950);},'oXLKS':_0x5e5f6b(0x1a2),'qYpdg':function(_0x1cf4b8,_0x54ab5c){return _0x1cf4b8(_0x54ab5c);},'fIbLx':_0x5e5f6b(0x1a8),'ZyfBk':_0x5e5f6b(0x111),'hJjrS':function(_0x897e2e){return _0x897e2e();},'MJnHV':function(_0x4fd7de,_0x2c56b5){return _0x4fd7de===_0x2c56b5;},'GdcqB':_0x5e5f6b(0xd6),'PVZVj':function(_0x9027f1,_0x2bbbec){return _0x9027f1===_0x2bbbec;},'nlMkk':function(_0x4de884,_0xeedf52){return _0x4de884(_0xeedf52);},'roaqs':function(_0x5c0e01){return _0x5c0e01();},'FJFVd':function(_0x57a15b,_0x538b13,_0x5c4556){return _0x57a15b(_0x538b13,_0x5c4556);},'yXQQr':_0x5e5f6b(0x188),'jREnY':_0x5e5f6b(0xc1),'KDGjj':_0x5e5f6b(0x12c),'lMhXx':function(_0x1fd2d2,_0x1f8b62){return _0x1fd2d2(_0x1f8b62);},'ZOsQx':_0x5e5f6b(0x128)};try{logger[_0x5e5f6b(0x140)](_0x5e5f6b(0x11d)+_0x3b8b4e[_0x5e5f6b(0xe1)](shouldProcessEventForTesthub)+_0x5e5f6b(0x18d)+process[_0x5e5f6b(0x118)][_0x5e5f6b(0xdc)]);const _0x5c4406=_0x10c817&&_0x10c817[0x0]?_0x10c817[0x0]:{};let _0x5a051c=0x0;try{if(_0x5c4406['config']&&_0x3b8b4e[_0x5e5f6b(0x195)](typeof _0x5c4406[_0x5e5f6b(0xcf)][_0x5e5f6b(0x198)],_0x3b8b4e['GdcqB']))_0x5a051c=_0x5c4406[_0x5e5f6b(0xcf)]['browserstackPlatformIndex'];else{if(_0x5c4406[_0x5e5f6b(0x17e)]&&_0x3b8b4e[_0x5e5f6b(0x19f)](typeof _0x5c4406[_0x5e5f6b(0x17e)][_0x5e5f6b(0x198)],_0x3b8b4e[_0x5e5f6b(0xf3)]))_0x5a051c=_0x5c4406[_0x5e5f6b(0x17e)][_0x5e5f6b(0x198)];else global[_0x5e5f6b(0xe9)]&&_0x3b8b4e['MJnHV'](typeof global[_0x5e5f6b(0xe9)][_0x5e5f6b(0x198)],_0x3b8b4e[_0x5e5f6b(0xf3)])&&(_0x5a051c=global['jestConfig'][_0x5e5f6b(0x198)]);}}catch(_0x59b964){logger[_0x5e5f6b(0x140)](_0x5e5f6b(0x151)+util[_0x5e5f6b(0x121)](_0x59b964));}global[_0x5e5f6b(0x193)]=_0x5a051c,process[_0x5e5f6b(0x118)]['BROWSERSTACK_PLATFORM_INDEX']=_0x3b8b4e[_0x5e5f6b(0x1ac)](String,_0x5a051c);const _0x1cf531=new ObservabilityReporter();!_initializedPlatformIndices[_0x5e5f6b(0x162)](_0x5a051c)?(logger[_0x5e5f6b(0x140)](_0x5e5f6b(0x14d)+_0x5a051c),_initializedPlatformIndices[_0x5e5f6b(0xf2)](_0x5a051c),_0x3b8b4e[_0x5e5f6b(0x167)](shouldProcessEventForTesthub)&&(_0x3b8b4e['PaOBC'](patchConsoleLogger),_0x1cf531['registerListeners']())):logger['debug'](_0x5e5f6b(0xe6)+_0x5a051c+_0x5e5f6b(0x133));let _0x455f5b;try{_0x455f5b=_0x3b8b4e['FJFVd'](requireModule,_0x3b8b4e[_0x5e5f6b(0x135)],_0x3b8b4e[_0x5e5f6b(0xf9)]);}catch{_0x455f5b=_0x3b8b4e[_0x5e5f6b(0xe4)](requireModule,_0x3b8b4e[_0x5e5f6b(0xf9)]);}let _0x45d056;try{_0x45d056=_0x3b8b4e[_0x5e5f6b(0x190)](requireModule,_0x3b8b4e[_0x5e5f6b(0xc6)],_0x3b8b4e['jREnY'])[_0x5e5f6b(0xbe)];}catch{_0x45d056=_0x3b8b4e[_0x5e5f6b(0x15c)](requireModule,_0x3b8b4e[_0x5e5f6b(0xf9)])[_0x5e5f6b(0xbe)]||(()=>({}));}const _0x50a473=BrowserstackCLI['getInstance']()['isCliEnabled']();(_0x3b8b4e['PaOBC'](shouldProcessEventForTesthub)||_0x50a473)&&_0x455f5b[_0x5e5f6b(0x124)](_0x3b8b4e[_0x5e5f6b(0x190)](o11yErrorHandler,async(_0x3fe73c,_0x18f253)=>{const _0x53dc0f=_0x5e5f6b,_0x521fc7={'rQJMM':function(_0x2167d3,_0x3fb19b){const _0x454a2a=a17_0x17a7;return _0x3b8b4e[_0x454a2a(0x182)](_0x2167d3,_0x3fb19b);},'CxDGJ':_0x3b8b4e[_0x53dc0f(0xda)]};switch(_0x3fe73c[_0x53dc0f(0x169)]){case _0x3b8b4e[_0x53dc0f(0x103)]:if(_0x3fe73c['hook']['fn']&&_0x3fe73c[_0x53dc0f(0x145)]['fn'][_0x53dc0f(0x1ad)]()[_0x53dc0f(0xc9)](/browserstack internal helper hook/))break;if(_0x3fe73c[_0x53dc0f(0x145)][_0x53dc0f(0x154)]&&_0x3b8b4e[_0x53dc0f(0x159)](_0x3fe73c[_0x53dc0f(0x145)]['parent'][_0x53dc0f(0x169)],_0x3b8b4e['rRHhQ'])){const _0x3e5cf8=_0x3fe73c[_0x53dc0f(0x145)][_0x53dc0f(0xef)]&&((()=>{const _0x196a78=_0x53dc0f;try{const _0x54faf6=_0x521fc7[_0x196a78(0xdf)](require,_0x521fc7[_0x196a78(0xf6)]),_0x2df38a=_0x54faf6[_0x196a78(0xed)][_0x196a78(0x19e)](_0x54faf6,_0x3fe73c[_0x196a78(0x145)][_0x196a78(0xef)]);return _0x2df38a[0x0]&&_0x2df38a[0x0][_0x196a78(0xbc)]?_0x2df38a[0x0][_0x196a78(0xbc)]():null;}catch(_0xf5958a){return logger[_0x196a78(0x140)]('Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20'+_0xf5958a[_0x196a78(0x15a)]),null;}})())||_0x3fe73c['hook'][_0x53dc0f(0x150)]||null;if(!_0x3e5cf8)break;}if(BrowserstackCLI[_0x53dc0f(0x194)]()[_0x53dc0f(0x13b)]()&&await _0x3b8b4e[_0x53dc0f(0x164)](isCLIReady)){if(_0x3b8b4e[_0x53dc0f(0x148)](shouldProcessEventForTesthub,testHubConstants[_0x53dc0f(0xce)][_0x53dc0f(0xd5)]))try{await _0x3b8b4e[_0x53dc0f(0xe8)](handleHookEventCLI,_0x3fe73c['hook'],_0x3b8b4e[_0x53dc0f(0xd0)],_0x18f253);break;}catch(_0x42cd58){_0x3b8b4e[_0x53dc0f(0x148)](debug,_0x53dc0f(0x197)+util[_0x53dc0f(0x121)](_0x42cd58));}}if(_0x3b8b4e[_0x53dc0f(0xe4)](shouldProcessEventForTesthub,testHubConstants[_0x53dc0f(0xce)]['HookStarted'])){if(!_0x3fe73c[_0x53dc0f(0x145)][_0x53dc0f(0xc2)]){const _0xd5214=TestDetails['setTestUUID'](process[_0x53dc0f(0xe5)]+_0x53dc0f(0x185));_0x3fe73c[_0x53dc0f(0x145)][_0x53dc0f(0xc2)]=_0xd5214;}else _0x3fe73c[_0x53dc0f(0x145)][_0x53dc0f(0x119)]&&(_0x3fe73c[_0x53dc0f(0x145)][_0x53dc0f(0xc2)]=TestDetails['setTestUUID'](process['pid']+':hookAnalyticsId'),delete _0x3fe73c['hook'][_0x53dc0f(0x119)]);_0x3fe73c[_0x53dc0f(0x145)][_0x53dc0f(0x14f)]=new Date()[_0x53dc0f(0x199)](),await _0x1cf531[_0x53dc0f(0x139)](_0x3fe73c[_0x53dc0f(0x145)],undefined,![],_0x3b8b4e['PNGPv']);}break;case _0x3b8b4e[_0x53dc0f(0xc7)]:if(BrowserstackCLI[_0x53dc0f(0x194)]()[_0x53dc0f(0x13b)]()&&await _0x3b8b4e[_0x53dc0f(0x164)](isCLIReady)){if(_0x3b8b4e[_0x53dc0f(0x108)](shouldProcessEventForTesthub,testHubConstants['EVENT']['HookFinished']))try{await _0x3b8b4e[_0x53dc0f(0x13f)](handleHookEventCLI,_0x3fe73c['hook'],_0x3b8b4e[_0x53dc0f(0x132)],_0x18f253);break;}catch(_0x5677bf){_0x3b8b4e[_0x53dc0f(0xe4)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x53dc0f(0x121)](_0x5677bf));}}_0x3b8b4e[_0x53dc0f(0x19d)](shouldProcessEventForTesthub,testHubConstants[_0x53dc0f(0xce)][_0x53dc0f(0xfa)])&&(await _0x1cf531['sendTestRunEvent'](_0x3fe73c[_0x53dc0f(0x145)],undefined,![],_0x3b8b4e[_0x53dc0f(0x132)]),TestDetails[_0x53dc0f(0x147)](process[_0x53dc0f(0xe5)]+_0x53dc0f(0x185)));break;case _0x3b8b4e['LdsqA']:[_0x3b8b4e[_0x53dc0f(0x16d)],_0x3b8b4e[_0x53dc0f(0x14e)],_0x3b8b4e[_0x53dc0f(0x1ae)]][_0x53dc0f(0x122)](_0x3fe73c['hook'][_0x53dc0f(0xdd)])&&(_0x1cf531[_0x53dc0f(0x1a0)]=_0x3fe73c[_0x53dc0f(0x145)][_0x53dc0f(0xdd)]),_0x18f253[_0x53dc0f(0x179)]&&_0x3b8b4e[_0x53dc0f(0x100)](_0x18f253['unhandledErrors'][_0x53dc0f(0x171)],0x0)&&(_0x3fe73c[_0x53dc0f(0x145)][_0x53dc0f(0x15e)]=[_0x18f253[_0x53dc0f(0x179)][0x0][0x0]]);if(BrowserstackCLI[_0x53dc0f(0x194)]()[_0x53dc0f(0x13b)]()&&await _0x3b8b4e['sCVne'](isCLIReady)){if(_0x3b8b4e[_0x53dc0f(0x142)](shouldProcessEventForTesthub,testHubConstants[_0x53dc0f(0xce)][_0x53dc0f(0xfa)]))try{await _0x3b8b4e[_0x53dc0f(0x13f)](handleHookEventCLI,_0x3fe73c[_0x53dc0f(0x145)],_0x3b8b4e['eZlTL'],_0x18f253);break;}catch(_0x1a0040){_0x3b8b4e[_0x53dc0f(0x19d)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x53dc0f(0x121)](_0x1a0040));}}_0x3b8b4e[_0x53dc0f(0x108)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x53dc0f(0xfa)])&&(await _0x1cf531['sendTestRunEvent'](_0x3fe73c[_0x53dc0f(0x145)],undefined,![],_0x3b8b4e[_0x53dc0f(0x132)]),TestDetails[_0x53dc0f(0x147)](process[_0x53dc0f(0xe5)]+_0x53dc0f(0x185)));break;case _0x3b8b4e[_0x53dc0f(0x127)]:try{let _0xd6cb78=_0x3fe73c['test'][_0x53dc0f(0x169)]||'';try{let _0x499eb9=_0x3fe73c[_0x53dc0f(0x106)][_0x53dc0f(0x154)];const _0x5ce377=[_0xd6cb78];while(_0x499eb9&&_0x499eb9[_0x53dc0f(0x169)]&&_0x3b8b4e[_0x53dc0f(0xd2)](_0x499eb9[_0x53dc0f(0x169)],_0x3b8b4e['rRHhQ'])){_0x5ce377[_0x53dc0f(0x180)](_0x499eb9[_0x53dc0f(0x169)]),_0x499eb9=_0x499eb9[_0x53dc0f(0x154)];}_0xd6cb78=_0x5ce377[_0x53dc0f(0x11c)](_0x3b8b4e[_0x53dc0f(0x184)]);}catch(_0xd5ae92){logger['debug'](_0x53dc0f(0xf4)+_0xd5ae92['message']);}process['_bstackTestName']=_0xd6cb78,process[_0x53dc0f(0x16e)]=null,process[_0x53dc0f(0x1b1)]=null,logger[_0x53dc0f(0x140)]('[customJestAdapterInit]\x20Set\x20test\x20name:\x20\x22'+_0xd6cb78+'\x22');if(!global[_0x53dc0f(0x1aa)]){const _0x417bd6={};_0x417bd6[_0x53dc0f(0x146)]={},global['__workerDetails']=_0x417bd6;}!global[_0x53dc0f(0x1aa)][_0x53dc0f(0x146)]&&(global[_0x53dc0f(0x1aa)]['currentTest']={});const _0x282d6c={};_0x282d6c[_0x53dc0f(0xe2)]=_0xd6cb78,_0x282d6c['name']=_0xd6cb78,global[_0x53dc0f(0x1aa)]['currentTest'][_0x53dc0f(0x192)]=_0x282d6c,global[_0x53dc0f(0x1a9)]=_0xd6cb78;}catch(_0x2412a8){logger[_0x53dc0f(0x140)](_0x53dc0f(0x168)+_0x2412a8[_0x53dc0f(0x15a)]);}if(BrowserstackCLI[_0x53dc0f(0x194)]()[_0x53dc0f(0x13b)]()&&await _0x3b8b4e['fWnLb'](isCLIReady))try{await _0x3b8b4e[_0x53dc0f(0xe8)](handleTestEventCLI,_0x3fe73c[_0x53dc0f(0x106)],_0x3b8b4e[_0x53dc0f(0x17f)],_0x1cf531);break;}catch(_0x405bce){_0x3b8b4e[_0x53dc0f(0x19d)](debug,_0x53dc0f(0x197)+util[_0x53dc0f(0x121)](_0x405bce));}_0x3b8b4e[_0x53dc0f(0xc0)](shouldProcessEventForTesthub)&&await _0x1cf531[_0x53dc0f(0x125)](_0x3fe73c['test']);break;case _0x3b8b4e[_0x53dc0f(0x1a3)]:_0x3fe73c['test']={..._0x3b8b4e[_0x53dc0f(0x104)](_0x45d056,_0x3fe73c[_0x53dc0f(0x106)]),..._0x3fe73c[_0x53dc0f(0x106)]};try{const _0x420d26=_0x3fe73c[_0x53dc0f(0x106)][_0x53dc0f(0x143)]||[],_0x3f9f34=_0x3b8b4e['SSHwY'](_0x420d26[_0x53dc0f(0x171)],0x0)||_0x3b8b4e[_0x53dc0f(0x159)](_0x3fe73c[_0x53dc0f(0x106)][_0x53dc0f(0x15b)],_0x3b8b4e[_0x53dc0f(0x14b)]),_0x32fe6c=_0x3f9f34?_0x3b8b4e['zjBPt']:_0x3b8b4e['opBNH'];let _0x31f5c9='';_0x3f9f34&&(_0x31f5c9=_0x420d26[_0x53dc0f(0xf5)](_0x210f23=>{const _0x5cea91=_0x53dc0f;if(Array[_0x5cea91(0x126)](_0x210f23))return _0x210f23[_0x5cea91(0xf5)](_0xdd7990=>_0xdd7990&&_0xdd7990['message']||String(_0xdd7990))['join'](';\x20');return _0x210f23&&_0x210f23[_0x5cea91(0x15a)]||_0x521fc7[_0x5cea91(0xdf)](String,_0x210f23);})[_0x53dc0f(0x11c)](';\x20')),process[_0x53dc0f(0x16e)]=_0x32fe6c,process[_0x53dc0f(0x1b1)]=_0x3b8b4e[_0x53dc0f(0xeb)](_0x31f5c9,''),logger[_0x53dc0f(0x140)](_0x53dc0f(0x18f)+_0x32fe6c+'\x22'),global[_0x53dc0f(0x1aa)]&&global['__workerDetails'][_0x53dc0f(0x146)]&&(!global[_0x53dc0f(0x1aa)][_0x53dc0f(0x146)]['testInfo']&&(global['__workerDetails']['currentTest']['testInfo']={}),global[_0x53dc0f(0x1aa)][_0x53dc0f(0x146)][_0x53dc0f(0x192)][_0x53dc0f(0x15b)]=_0x32fe6c,_0x3f9f34&&(global['__workerDetails']['currentTest'][_0x53dc0f(0x192)][_0x53dc0f(0xfc)]=_0x31f5c9));}catch(_0x4cb938){logger[_0x53dc0f(0x140)](_0x53dc0f(0x176)+_0x4cb938[_0x53dc0f(0x15a)]);}if(!_0x3fe73c['test'][_0x53dc0f(0x119)]){_0x3fe73c['test']['markedStatus']=!![];if(BrowserstackCLI[_0x53dc0f(0x194)]()[_0x53dc0f(0x13b)]()&&await _0x3b8b4e[_0x53dc0f(0x137)](isCLIReady))try{await _0x3b8b4e[_0x53dc0f(0x112)](handleTestEventCLI,_0x3fe73c[_0x53dc0f(0x106)],_0x3b8b4e['BOKDG'],_0x1cf531);break;}catch(_0x2080d8){_0x3b8b4e['RTHTM'](debug,_0x53dc0f(0x197)+util[_0x53dc0f(0x121)](_0x2080d8));}_0x3b8b4e[_0x53dc0f(0x1a7)](shouldProcessEventForTesthub)&&await _0x1cf531[_0x53dc0f(0x139)](_0x3fe73c[_0x53dc0f(0x106)]);}break;case _0x3b8b4e['HkUSu']:_0x3fe73c[_0x53dc0f(0x106)]={..._0x3b8b4e['IHORo'](_0x45d056,_0x3fe73c[_0x53dc0f(0x106)]),..._0x3fe73c[_0x53dc0f(0x106)]};if(!_0x3fe73c[_0x53dc0f(0x106)][_0x53dc0f(0x119)]){_0x3fe73c[_0x53dc0f(0x106)][_0x53dc0f(0x119)]=!![];if(BrowserstackCLI[_0x53dc0f(0x194)]()['isCliEnabled']()&&await _0x3b8b4e[_0x53dc0f(0x115)](isCLIReady))try{await _0x3b8b4e[_0x53dc0f(0xe8)](handleTestEventCLI,_0x3fe73c[_0x53dc0f(0x106)],_0x3b8b4e['oXLKS'],_0x1cf531);break;}catch(_0x3b099a){_0x3b8b4e['qYpdg'](debug,_0x53dc0f(0x197)+util['format'](_0x3b099a));}_0x3b8b4e[_0x53dc0f(0x1a6)](shouldProcessEventForTesthub)&&await _0x1cf531[_0x53dc0f(0x139)](_0x3fe73c[_0x53dc0f(0x106)],undefined,![],_0x3b8b4e[_0x53dc0f(0x13c)]);}break;case _0x3b8b4e[_0x53dc0f(0x16a)]:_0x1cf531[_0x53dc0f(0x1a0)]=null;break;case _0x3b8b4e[_0x53dc0f(0x153)]:await RequestQueueHandler[_0x53dc0f(0x194)]()[_0x53dc0f(0x107)](),process[_0x53dc0f(0x161)]();break;default:}},_0x3b8b4e['ZOsQx']));}catch(_0x438d3c){_0x3b8b4e[_0x5e5f6b(0x104)](debug,_0x5e5f6b(0x152)+_0x438d3c);}return _0x3b8b4e[_0x5e5f6b(0x165)](initInitialize,..._0x10c817);};function a17_0x5552(){const _0x296652=['nqkaz','errors','../../v2/state/hookState','hook','currentTest','removeTestUUID','WMuQU','QjvjA','afterAll','PJXop','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','[customJestAdapterInit]\x20Initializing\x20for\x20platformIndex=','JMIIu','started_at','file','Error\x20reading\x20platformIndex\x20from\x20args:\x20','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','ZyfBk','parent','../../../helpers/testhub/constants','setActiveHook','createTestFrameworkData','POST','MRBPL','message','status','lMhXx','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','errorsDetailed','HookRunStarted','fail','removeAllListeners','has','GSReY','PaOBC','qYpdg','current_test','roaqs','[customJestAdapterInit]\x20Error\x20in\x20test_start\x20name\x20storage:\x20','name','fIbLx','GKPPU','jest-circus/build/jestAdapterInit.js','oXHoM','_bstackTestStatus','isRunning','AFTER_EACH','length','../../utils/constants','239697czFScr','ybZAA','Handling\x20hook\x20event\x20for\x20CLI:\x20','[customJestAdapterInit]\x20Error\x20in\x20test_done\x20status\x20storage:\x20','fodMD','6OPCTfV','unhandledErrors','true','hycwD','afterEach','createIdentifierFromJestTest','configuration','NCGfS','unshift','NCOki','YwJXh','RuxsK','croSJ',':hookAnalyticsId','../test-observability/test-details','TestRunFinished','jest-circus/build/state.js','getTestFramework','JEST','testUUID','qVTkn',',\x20BROWSERSTACK_PUPPETEER=','MMinO','[customJestAdapterInit]\x20Set\x20test\x20status:\x20\x22','FJFVd','btRbe','testInfo','__bstackPlatformIndex','getInstance','MJnHV','MgGsP','Error\x20routing\x20to\x20JestTestFramework:\x20','browserstackPlatformIndex','toISOString','40IHYIRB','removeActiveHook','2585jlhMoa','Wonrb','call','PVZVj','hook_failure','HookRunFinished','TestRunSkipped','ktIED','TEST','test_done','sCVne','dqxXr','run_describe_finish','browserstackTestName','__workerDetails','getAutomationFrameworkDetail','nlMkk','toString','lcRVX','failed','brWOz','_bstackTestFailureReason','kauDA','../../v2/browserstackCLI','BEFORE_ALL','__jestCurrentTestIdentifier','keys','getFileName','PRE','makeSingleTestResult','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','spkdQ','jest-circus','hookAnalyticsId','test_start','setFrameworkDetail','394292KsRgDc','KDGjj','fDYUr','hKyKU','match','xYiuX','BEFORE_EACH','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','xDbdJ','EVENT','config','PNGPv','initialize','ASEWX','../../../helpers/helper','../../../helpers/test-observability/requestQueueHandler','HookStarted','number','stack-trace','../../../helpers/test-observability/utils','dRcpV','nTPuO','HPmfK','BROWSERSTACK_PUPPETEER','type','beforeAll','rQJMM','odgQX','hJjrS','title','3353185GCvkTC','cpzFD','pid','[customJestAdapterInit]\x20Skipping\x20heavy\x20init\x20for\x20platformIndex=','jhsrp','dcuQs','jestConfig','_currentRetry','WtQcy','test_skip','parse','../../../helpers/testhub/utils','asyncError','hook_success','UmDDb','add','GdcqB','[customJestAdapterInit]\x20Error\x20building\x20test\x20name:\x20','map','CxDGJ','AFTER_ALL','beforeEach','jREnY','HookFinished','5841816ZVHhWn','failureMessage','PLAYWRIGHT','error','tdpOo','SSHwY','Handling\x20test\x20event\x20for\x20CLI:\x20','CLI\x20is\x20enabled\x20and\x20running.','tgfwt','RTHTM','8060nGaZLb','test','shutdown','qoSoZ','winstonLogger','../../v2/state/testFrameworkState','testAnalyticsId','\x20for\x20hook\x20type:\x20','cdySd','passed','qHPWE','248528TgqceG','teardown','vgKnN','78JcPyKq','hookUUID','fWnLb','Error\x20parsing\x20stack\x20trace\x20for\x20hook\x20asyncError:\x20','zUOCH','env','markedStatus','state','eMsoQ','join','[customJestAdapterInit]\x20initialize\x20called,\x20shouldProcessEventForTesthub=','ajkjl','kfzGM','../../v2/cliUtils','format','includes','hookData','addEventHandler','testStarted','isArray','ToyzX','EventHandler','4XLUkqN','loqrs','../../../helpers/logger','jest-circus/build/utils.js','../../v2/utils/jest-utils','\x20>\x20','trackEvent','currentHook','OBDum','eZlTL',',\x20re-registering\x20event\x20handler','ROOT_DESCRIBE_BLOCK','yXQQr','../test-observability/obsReporter','ZPeGt','1028830tbljIY','sendTestRunEvent','createHookData','isCliEnabled','oXLKS','forEach','retryOf','tTDZq','debug','TestRunStarted'];a17_0x5552=function(){return _0x296652;};return a17_0x5552();}try{Object[a17_0x5ed42d(0xbb)](exportsI)[a17_0x5ed42d(0x13d)](_0x1d2c0d=>{const _0x4b76ea=a17_0x5ed42d,_0x1e7611={'dRcpV':function(_0x46d6fc,_0x149e3b){return _0x46d6fc(_0x149e3b);}};try{exports&&(exports[_0x1d2c0d]=exportsI[_0x1d2c0d]);}catch(_0x18ab80){_0x1e7611[_0x4b76ea(0xd9)](debug,_0x4b76ea(0xcc)+_0x18ab80);}});}catch(a17_0x1eea6b){debug(a17_0x5ed42d(0x14c)+a17_0x1eea6b);}
@@ -1 +1 @@
1
- const a18_0x582600=a18_0x5e78;function a18_0x3253(){const _0x475ad5=['path','2392588pBabCf','10UFjwaf','JEST_TEST_ORDER','map','sort','1714575LBqNCn','@jest/test-sequencer','2031220deNgGc','3399564MOfTUg','1diaEat','exports','env','includes','9eHsYjG','425478NtyaVO','5655056DVgfkU','70ixWEEp','14990327opVSGh'];a18_0x3253=function(){return _0x475ad5;};return a18_0x3253();}(function(_0x1189f0,_0x1be012){const _0x5991e1=a18_0x5e78,_0x363f29=_0x1189f0();while(!![]){try{const _0x2dc9ce=-parseInt(_0x5991e1(0x195))/0x1*(parseInt(_0x5991e1(0x19f))/0x2)+parseInt(_0x5991e1(0x191))/0x3+parseInt(_0x5991e1(0x194))/0x4+parseInt(_0x5991e1(0x193))/0x5+-parseInt(_0x5991e1(0x19a))/0x6*(-parseInt(_0x5991e1(0x19c))/0x7)+parseInt(_0x5991e1(0x19b))/0x8*(parseInt(_0x5991e1(0x199))/0x9)+parseInt(_0x5991e1(0x1a0))/0xa*(-parseInt(_0x5991e1(0x19d))/0xb);if(_0x2dc9ce===_0x1be012)break;else _0x363f29['push'](_0x363f29['shift']());}catch(_0x137560){_0x363f29['push'](_0x363f29['shift']());}}}(a18_0x3253,0xa724d));const Sequencer=require(a18_0x582600(0x192))['default'];class CustomSequencer extends Sequencer{[a18_0x582600(0x1a3)](_0x298313){const _0x5010ea=a18_0x582600,_0x1b0671=process[_0x5010ea(0x197)][_0x5010ea(0x1a1)];if(!_0x1b0671)return _0x298313;const _0x3bdad5=_0x1b0671['split'](','),_0x574374=new Map(_0x298313['filter'](_0x3499c9=>_0x3bdad5[_0x5010ea(0x198)](_0x3499c9['path']))[_0x5010ea(0x1a2)](_0x3f8594=>[_0x3f8594[_0x5010ea(0x19e)],_0x3f8594]));return _0x3bdad5[_0x5010ea(0x1a2)](_0x56ba50=>_0x574374['get'](_0x56ba50))['filter'](Boolean);}}function a18_0x5e78(_0x296fca,_0x17685d){const _0x325313=a18_0x3253();return a18_0x5e78=function(_0x5e78fa,_0x5dcb13){_0x5e78fa=_0x5e78fa-0x191;let _0x15d4e0=_0x325313[_0x5e78fa];return _0x15d4e0;},a18_0x5e78(_0x296fca,_0x17685d);}module[a18_0x582600(0x196)]=CustomSequencer;
1
+ const a18_0x586c3d=a18_0x1549;(function(_0x507cad,_0x570fe4){const _0x2eab7e=a18_0x1549,_0x3171c5=_0x507cad();while(!![]){try{const _0x56139b=parseInt(_0x2eab7e(0xbe))/0x1+parseInt(_0x2eab7e(0xbc))/0x2+-parseInt(_0x2eab7e(0xbb))/0x3*(parseInt(_0x2eab7e(0xc7))/0x4)+-parseInt(_0x2eab7e(0xba))/0x5+parseInt(_0x2eab7e(0xc1))/0x6*(parseInt(_0x2eab7e(0xc4))/0x7)+-parseInt(_0x2eab7e(0xc8))/0x8*(-parseInt(_0x2eab7e(0xb6))/0x9)+-parseInt(_0x2eab7e(0xbf))/0xa*(-parseInt(_0x2eab7e(0xb9))/0xb);if(_0x56139b===_0x570fe4)break;else _0x3171c5['push'](_0x3171c5['shift']());}catch(_0x47a81d){_0x3171c5['push'](_0x3171c5['shift']());}}}(a18_0x4601,0xcffee));const Sequencer=require(a18_0x586c3d(0xb4))[a18_0x586c3d(0xc0)];function a18_0x4601(){const _0x3c1b20=['2277CnlFQC','filter','split','2371303zSgbED','8235585IskSSS','13989qlEMlU','957580jeNdtL','get','1280876FXyCyX','10TehlFC','default','192hOfMil','path','map','317086mSEhkG','env','exports','1132LSnqnM','12456KtYPOc','@jest/test-sequencer','JEST_TEST_ORDER'];a18_0x4601=function(){return _0x3c1b20;};return a18_0x4601();}function a18_0x1549(_0x4270ca,_0x4f55b1){const _0x460129=a18_0x4601();return a18_0x1549=function(_0x154955,_0x225fa2){_0x154955=_0x154955-0xb4;let _0x8cb954=_0x460129[_0x154955];return _0x8cb954;},a18_0x1549(_0x4270ca,_0x4f55b1);}class CustomSequencer extends Sequencer{['sort'](_0x165b9d){const _0x39a568=a18_0x586c3d,_0x1763f2=process[_0x39a568(0xc5)][_0x39a568(0xb5)];if(!_0x1763f2)return _0x165b9d;const _0x28afe9=_0x1763f2[_0x39a568(0xb8)](','),_0x451011=new Map(_0x165b9d['filter'](_0x118577=>_0x28afe9['includes'](_0x118577[_0x39a568(0xc2)]))[_0x39a568(0xc3)](_0x2f8a9c=>[_0x2f8a9c[_0x39a568(0xc2)],_0x2f8a9c]));return _0x28afe9[_0x39a568(0xc3)](_0x4a9416=>_0x451011[_0x39a568(0xbd)](_0x4a9416))[_0x39a568(0xb7)](Boolean);}}module[a18_0x586c3d(0xc6)]=CustomSequencer;